Trait OrganizationsApi

Source
pub trait OrganizationsApi: Send + Sync {
Show 31 methods // Required methods fn api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<ApiKeyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn api_key_information<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, type: OrganizationApiKeyType, ) -> Pin<Box<dyn Future<Output = Result<OrganizationApiKeyInformationListResponseModel, Error<ApiKeyInformationError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn create_without_payment<'a, 'life0, 'async_trait>( &'life0 self, organization_no_payment_create_request: Option<OrganizationNoPaymentCreateRequest>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<CreateWithoutPaymentError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<GetError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_auto_enroll_status<'a, 'life0, 'async_trait>( &'life0 self, identifier: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationAutoEnrollStatusResponseModel, Error<GetAutoEnrollStatusError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_license<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, installation_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error<GetLicenseError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_plan_type<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PlanType, Error<GetPlanTypeError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_public_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationPublicKeyResponseModel, Error<GetPublicKeyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_sso<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error<GetSsoError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<OrganizationSubscriptionResponseModel, Error<GetSubscriptionError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_tax_info<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<TaxInfoResponseModel, Error<GetTaxInfoError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_user<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error<GetUserError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn leave<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<LeaveError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post<'a, 'life0, 'async_trait>( &'life0 self, organization_create_request_model: Option<OrganizationCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PostError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_cancel<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostCancelError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_delete_recover_token<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_delete_recover_request_model: Option<OrganizationVerifyDeleteRecoverRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_keys<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_keys_request_model: Option<OrganizationKeysRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationKeysResponseModel, Error<PostKeysError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_reinstate<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostReinstateError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_seat<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_seat_request_model: Option<OrganizationSeatRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostSeatError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_sm_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscription_update_request_model: Option<SecretsManagerSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSmSubscriptionError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_sso<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_sso_request_model: Option<OrganizationSsoRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error<PostSsoError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_storage<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, storage_request_model: Option<StorageRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostStorageError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_subscribe_secrets_manager<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscribe_request_model: Option<SecretsManagerSubscribeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscribeSecretsManagerError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_subscription_update_request_model: Option<OrganizationSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscriptionError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_upgrade<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_upgrade_request_model: Option<OrganizationUpgradeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostUpgradeError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_verify_bank<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_bank_request_model: Option<OrganizationVerifyBankRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostVerifyBankError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_update_request_model: Option<OrganizationUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_collection_management<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_collection_management_update_request_model: Option<OrganizationCollectionManagementUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutCollectionManagementError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_tax_info<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, expanded_tax_info_update_request_model: Option<ExpandedTaxInfoUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTaxInfoError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn rotate_api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<RotateApiKeyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

fn api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<ApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/api-key

Source

fn api_key_information<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, type: OrganizationApiKeyType, ) -> Pin<Box<dyn Future<Output = Result<OrganizationApiKeyInformationListResponseModel, Error<ApiKeyInformationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/api-key-information/{type}

Source

fn create_without_payment<'a, 'life0, 'async_trait>( &'life0 self, organization_no_payment_create_request: Option<OrganizationNoPaymentCreateRequest>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<CreateWithoutPaymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/create-without-payment

Source

fn delete<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /organizations/{id}

Source

fn get<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<GetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}

Source

fn get_auto_enroll_status<'a, 'life0, 'async_trait>( &'life0 self, identifier: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationAutoEnrollStatusResponseModel, Error<GetAutoEnrollStatusError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{identifier}/auto-enroll-status

Source

fn get_license<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, installation_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error<GetLicenseError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/license

Source

fn get_plan_type<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<PlanType, Error<GetPlanTypeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/plan-type

Source

fn get_public_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<OrganizationPublicKeyResponseModel, Error<GetPublicKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /organizations/{id}/public-key

Source

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

GET /organizations/{id}/sso

Source

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

GET /organizations/{id}/subscription

Source

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

GET /organizations/{id}/tax

Source

fn get_user<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error<GetUserError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /organizations

Source

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

POST /organizations/{id}/leave

Source

fn post<'a, 'life0, 'async_trait>( &'life0 self, organization_create_request_model: Option<OrganizationCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PostError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations

Source

fn post_cancel<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostCancelError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/cancel

Source

fn post_delete_recover_token<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_delete_recover_request_model: Option<OrganizationVerifyDeleteRecoverRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/delete-recover-token

Source

fn post_keys<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_keys_request_model: Option<OrganizationKeysRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationKeysResponseModel, Error<PostKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/keys

Source

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

POST /organizations/{id}/reinstate

Source

fn post_seat<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_seat_request_model: Option<OrganizationSeatRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostSeatError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/seat

Source

fn post_sm_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscription_update_request_model: Option<SecretsManagerSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSmSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/sm-subscription

Source

fn post_sso<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_sso_request_model: Option<OrganizationSsoRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error<PostSsoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/sso

Source

fn post_storage<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, storage_request_model: Option<StorageRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostStorageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/storage

Source

fn post_subscribe_secrets_manager<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, secrets_manager_subscribe_request_model: Option<SecretsManagerSubscribeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscribeSecretsManagerError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/subscribe-secrets-manager

Source

fn post_subscription<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_subscription_update_request_model: Option<OrganizationSubscriptionUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error<PostSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/subscription

Source

fn post_upgrade<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_upgrade_request_model: Option<OrganizationUpgradeRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostUpgradeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/upgrade

Source

fn post_verify_bank<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_verify_bank_request_model: Option<OrganizationVerifyBankRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostVerifyBankError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/verify-bank

Source

fn put<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_update_request_model: Option<OrganizationUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}

Source

fn put_collection_management<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, organization_collection_management_update_request_model: Option<OrganizationCollectionManagementUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<PutCollectionManagementError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}/collection-management

Source

fn put_tax_info<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, expanded_tax_info_update_request_model: Option<ExpandedTaxInfoUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTaxInfoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /organizations/{id}/tax

Source

fn rotate_api_key<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<RotateApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /organizations/{id}/rotate-api-key

Implementors§