Trait CiphersApi

Source
pub trait CiphersApi: Send + Sync {
Show 46 methods // Required methods fn azure_validate_file<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error<AzureValidateFileError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_attachment<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_attachment_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn delete_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<GetError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_admin<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<GetAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_all<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_assigned_organization_ciphers<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAssignedOrganizationCiphersError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_attachment_data<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_attachment_data_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_details<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<GetDetailsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn get_organization_ciphers<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModelListResponseModel, Error<GetOrganizationCiphersError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn move_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_move_request_model: Option<CipherBulkMoveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<MoveManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post<'a, 'life0, 'async_trait>( &'life0 self, cipher_request_model: Option<CipherRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_create_request_model: Option<CipherCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_attachment<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_request_model: Option<AttachmentRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<PostAttachmentError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_attachment_admin<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAttachmentAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_attachment_share<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, attachment_id: &'a str, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostAttachmentShareError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_bulk_collections<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_update_collections_request_model: Option<CipherBulkUpdateCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_create<'a, 'life0, 'async_trait>( &'life0 self, cipher_create_request_model: Option<CipherCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostCreateError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_file_for_existing_attachment<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostFileForExistingAttachmentError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn post_purge<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPurgeError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_request_model: Option<CipherRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_request_model: Option<CipherRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_archive<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutArchiveError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_archive_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_archive_request_model: Option<CipherBulkArchiveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutArchiveManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_collections<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<PutCollectionsError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_collections_admin<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModel, Error<PutCollectionsAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_collections_v_next<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OptionalCipherDetailsResponseModel, Error<PutCollections_vNextError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_delete<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_delete_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_delete_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_delete_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_partial<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_partial_request_model: Option<CipherPartialRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutPartialError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_restore<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutRestoreError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_restore_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutRestoreAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_restore_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_restore_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyAdminError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_share<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_share_request_model: Option<CipherShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutShareError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_share_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_share_request_model: Option<CipherBulkShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutShareManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_unarchive<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutUnarchiveError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn put_unarchive_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_unarchive_request_model: Option<CipherBulkUnarchiveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutUnarchiveManyError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait; fn renew_file_upload_url<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<RenewFileUploadUrlError>>> + Send + 'async_trait>> where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait;
}

Required Methods§

Source

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

POST /ciphers/attachment/validate/azure

Source

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

DELETE /ciphers/{id}

Source

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

DELETE /ciphers/{id}/admin

Source

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

DELETE /ciphers/{id}/attachment/{attachmentId}

Source

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

DELETE /ciphers/{id}/attachment/{attachmentId}/admin

Source

fn delete_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /ciphers

Source

fn delete_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /ciphers/admin

Source

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

GET /ciphers/{id}

Source

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

GET /ciphers/{id}/admin

Source

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

GET /ciphers

Source

fn get_assigned_organization_ciphers<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAssignedOrganizationCiphersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /ciphers/organization-details/assigned

Source

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

GET /ciphers/{id}/attachment/{attachmentId}

Source

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

GET /ciphers/{id}/attachment/{attachmentId}/admin

Source

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

GET /ciphers/{id}/details

Source

fn get_organization_ciphers<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModelListResponseModel, Error<GetOrganizationCiphersError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

GET /ciphers/organization-details

Source

fn move_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_move_request_model: Option<CipherBulkMoveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<MoveManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/move

Source

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

POST /ciphers

Source

fn post_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_create_request_model: Option<CipherCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/admin

Source

fn post_attachment<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, attachment_request_model: Option<AttachmentRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<PostAttachmentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/{id}/attachment/v2

Source

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

POST /ciphers/{id}/attachment-admin

Source

fn post_attachment_share<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, attachment_id: &'a str, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostAttachmentShareError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/{id}/attachment/{attachmentId}/share

Source

fn post_bulk_collections<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_update_collections_request_model: Option<CipherBulkUpdateCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/bulk-collections

Source

fn post_create<'a, 'life0, 'async_trait>( &'life0 self, cipher_create_request_model: Option<CipherCreateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostCreateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/create

Source

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

POST /ciphers/{id}/attachment/{attachmentId}

Source

fn post_purge<'a, 'life0, 'async_trait>( &'life0 self, organization_id: Option<Uuid>, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPurgeError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /ciphers/purge

Source

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

PUT /ciphers/{id}

Source

fn put_admin<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_request_model: Option<CipherRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/admin

Source

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

PUT /ciphers/{id}/archive

Source

fn put_archive_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_archive_request_model: Option<CipherBulkArchiveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutArchiveManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/archive

Source

fn put_collections<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<PutCollectionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/collections

Source

fn put_collections_admin<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModel, Error<PutCollectionsAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/collections-admin

Source

fn put_collections_v_next<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_collections_request_model: Option<CipherCollectionsRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<OptionalCipherDetailsResponseModel, Error<PutCollections_vNextError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/collections_v2

Source

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

PUT /ciphers/{id}/delete

Source

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

PUT /ciphers/{id}/delete-admin

Source

fn put_delete_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/delete

Source

fn put_delete_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/delete-admin

Source

fn put_partial<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_partial_request_model: Option<CipherPartialRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutPartialError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/partial

Source

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

PUT /ciphers/{id}/restore

Source

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

PUT /ciphers/{id}/restore-admin

Source

fn put_restore_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/restore

Source

fn put_restore_many_admin<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyAdminError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/restore-admin

Source

fn put_share<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_share_request_model: Option<CipherShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutShareError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/share

Source

fn put_share_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_share_request_model: Option<CipherBulkShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutShareManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/share

Source

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

PUT /ciphers/{id}/unarchive

Source

fn put_unarchive_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_unarchive_request_model: Option<CipherBulkUnarchiveRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutUnarchiveManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/unarchive

Source

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

GET /ciphers/{id}/attachment/{attachmentId}/renew

Implementors§