Trait OrganizationUsersApi

Source
pub trait OrganizationUsersApi: Send + Sync {
Show 25 methods // Required methods fn accept<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_id: Uuid, organization_user_accept_request_model: Option<OrganizationUserAcceptRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<AcceptError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn accept_init<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_id: Uuid, organization_user_accept_init_request_model: Option<OrganizationUserAcceptInitRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<AcceptInitError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_confirm<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkConfirmError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_delete_account<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkDeleteAccountError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_enable_secrets_manager<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<BulkEnableSecretsManagerError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_reinvite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkReinviteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_remove<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRemoveError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_restore<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRestoreError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn bulk_revoke<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRevokeError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn confirm<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<ConfirmError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_account<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteAccountError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, include_groups: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserDetailsResponseModel, Error<GetError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_account_recovery_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModelListResponseModel, Error<GetAccountRecoveryDetailsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_all<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, include_groups: Option<bool>, include_collections: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserDetailsResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_mini_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserMiniDetailsResponseModelListResponseModel, Error<GetMiniDetailsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_reset_password_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModel, Error<GetResetPasswordDetailsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn invite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_invite_request_model: Option<OrganizationUserInviteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<InviteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_update_request_model: Option<OrganizationUserUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_reset_password<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutResetPasswordError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_reset_password_enrollment<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, user_id: Uuid, organization_user_reset_password_enrollment_request_model: Option<OrganizationUserResetPasswordEnrollmentRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutResetPasswordEnrollmentError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn reinvite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<ReinviteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn remove<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn restore<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RestoreError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn revoke<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RevokeError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn user_public_keys<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPublicKeyResponseModelListResponseModel, Error<UserPublicKeysError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

fn accept<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_id: Uuid, organization_user_accept_request_model: Option<OrganizationUserAcceptRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<AcceptError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/{organizationUserId}/accept

Source

fn accept_init<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_id: Uuid, organization_user_accept_init_request_model: Option<OrganizationUserAcceptInitRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<AcceptInitError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/{organizationUserId}/accept-init

Source

fn bulk_confirm<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkConfirmError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/confirm

Source

fn bulk_delete_account<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkDeleteAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/users/delete-account

Source

fn bulk_enable_secrets_manager<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<BulkEnableSecretsManagerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/enable-secrets-manager

Source

fn bulk_reinvite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkReinviteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/reinvite

Source

fn bulk_remove<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRemoveError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/users

Source

fn bulk_restore<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRestoreError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/restore

Source

fn bulk_revoke<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error<BulkRevokeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/revoke

Source

fn confirm<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<ConfirmError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/{id}/confirm

Source

fn delete_account<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteAccountError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/users/{id}/delete-account

Source

fn get<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, include_groups: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserDetailsResponseModel, Error<GetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/users/{id}

Source

fn get_account_recovery_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModelListResponseModel, Error<GetAccountRecoveryDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/account-recovery-details

Source

fn get_all<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, include_groups: Option<bool>, include_collections: Option<bool>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserDetailsResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/users

Source

fn get_mini_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserMiniDetailsResponseModelListResponseModel, Error<GetMiniDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/users/mini-details

Source

fn get_reset_password_details<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModel, Error<GetResetPasswordDetailsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{orgId}/users/{id}/reset-password-details

Source

fn invite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_invite_request_model: Option<OrganizationUserInviteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<InviteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/invite

Source

fn put<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_update_request_model: Option<OrganizationUserUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/{id}

Source

fn put_reset_password<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutResetPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/{id}/reset-password

Source

fn put_reset_password_enrollment<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, user_id: Uuid, organization_user_reset_password_enrollment_request_model: Option<OrganizationUserResetPasswordEnrollmentRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutResetPasswordEnrollmentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/{userId}/reset-password-enrollment

Source

fn reinvite<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<ReinviteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/{id}/reinvite

Source

fn remove<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RemoveError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{orgId}/users/{id}

Source

fn restore<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RestoreError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/{id}/restore

Source

fn revoke<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<RevokeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{orgId}/users/{id}/revoke

Source

fn user_public_keys<'a, 'life0, 'async_trait>( &'life0 self, org_id: Uuid, organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPublicKeyResponseModelListResponseModel, Error<UserPublicKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{orgId}/users/public-keys

Implementors§