use crate::client::{AccountClient, Client};
use crate::generated::services;
impl Client {
pub fn access_tokens(&self) -> services::access_tokens::AccessTokensService<'_> {
services::access_tokens::AccessTokensService::new(self.scope())
}
pub fn identity(&self) -> services::identity::IdentityService<'_> {
services::identity::IdentityService::new(self.scope())
}
pub fn sessions(&self) -> services::sessions::SessionsService<'_> {
services::sessions::SessionsService::new(self.scope())
}
}
impl AccountClient {
pub fn account(&self) -> services::account::AccountService<'_> {
services::account::AccountService::new(self.scope())
}
pub fn boards(&self) -> services::boards::BoardsService<'_> {
services::boards::BoardsService::new(self.scope())
}
pub fn cards(&self) -> services::cards::CardsService<'_> {
services::cards::CardsService::new(self.scope())
}
pub fn columns(&self) -> services::columns::ColumnsService<'_> {
services::columns::ColumnsService::new(self.scope())
}
pub fn comments(&self) -> services::comments::CommentsService<'_> {
services::comments::CommentsService::new(self.scope())
}
pub fn devices(&self) -> services::devices::DevicesService<'_> {
services::devices::DevicesService::new(self.scope())
}
pub fn identity(&self) -> services::identity::IdentityService<'_> {
services::identity::IdentityService::new(self.scope())
}
pub fn notifications(&self) -> services::notifications::NotificationsService<'_> {
services::notifications::NotificationsService::new(self.scope())
}
pub fn pins(&self) -> services::pins::PinsService<'_> {
services::pins::PinsService::new(self.scope())
}
pub fn reactions(&self) -> services::reactions::ReactionsService<'_> {
services::reactions::ReactionsService::new(self.scope())
}
pub fn search(&self) -> services::search::SearchService<'_> {
services::search::SearchService::new(self.scope())
}
pub fn steps(&self) -> services::steps::StepsService<'_> {
services::steps::StepsService::new(self.scope())
}
pub fn tags(&self) -> services::tags::TagsService<'_> {
services::tags::TagsService::new(self.scope())
}
pub fn uploads(&self) -> services::uploads::UploadsService<'_> {
services::uploads::UploadsService::new(self.scope())
}
pub fn users(&self) -> services::users::UsersService<'_> {
services::users::UsersService::new(self.scope())
}
pub fn webhooks(&self) -> services::webhooks::WebhooksService<'_> {
services::webhooks::WebhooksService::new(self.scope())
}
}