mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 10:33:57 +00:00
org import and collection encrypt function
This commit is contained in:
@@ -97,7 +97,7 @@ export abstract class ApiService {
|
||||
putCipherCollectionsAdmin: (id: string, request: CipherCollectionsRequest) => Promise<any>;
|
||||
postPurgeCiphers: (request: PasswordVerificationRequest) => Promise<any>;
|
||||
postImportCiphers: (request: ImportCiphersRequest) => Promise<any>;
|
||||
postImportOrganizationCiphers: (request: ImportOrganizationCiphersRequest) => Promise<any>;
|
||||
postImportOrganizationCiphers: (organizationId: string, request: ImportOrganizationCiphersRequest) => Promise<any>;
|
||||
postCipherAttachment: (id: string, data: FormData) => Promise<CipherResponse>;
|
||||
postCipherAttachmentAdmin: (id: string, data: FormData) => Promise<CipherResponse>;
|
||||
deleteCipherAttachment: (id: string, attachmentId: string) => Promise<any>;
|
||||
|
||||
@@ -8,6 +8,7 @@ export abstract class CollectionService {
|
||||
decryptedCollectionCache: CollectionView[];
|
||||
|
||||
clearCache: () => void;
|
||||
encrypt: (model: CollectionView) => Promise<Collection>;
|
||||
get: (id: string) => Promise<Collection>;
|
||||
getAll: () => Promise<Collection[]>;
|
||||
getAllDecrypted: () => Promise<CollectionView[]>;
|
||||
|
||||
Reference in New Issue
Block a user