1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[AC-1890] Update the collection PUT/POST response models to include collection permission details (#7512)

This commit is contained in:
Shane Melton
2024-01-24 08:26:43 -08:00
committed by GitHub
parent 8d177040ed
commit 622791307a
3 changed files with 11 additions and 8 deletions

View File

@@ -122,6 +122,7 @@ import { AttachmentResponse } from "../vault/models/response/attachment.response
import { CipherResponse } from "../vault/models/response/cipher.response";
import {
CollectionAccessDetailsResponse,
CollectionDetailsResponse,
CollectionResponse,
} from "../vault/models/response/collection.response";
import { SyncResponse } from "../vault/models/response/sync.response";
@@ -277,7 +278,7 @@ export abstract class ApiService {
postCollection: (
organizationId: string,
request: CollectionRequest,
) => Promise<CollectionResponse>;
) => Promise<CollectionDetailsResponse>;
putCollectionUsers: (
organizationId: string,
id: string,
@@ -287,7 +288,7 @@ export abstract class ApiService {
organizationId: string,
id: string,
request: CollectionRequest,
) => Promise<CollectionResponse>;
) => Promise<CollectionDetailsResponse>;
deleteCollection: (organizationId: string, id: string) => Promise<any>;
deleteManyCollections: (organizationId: string, collectionIds: string[]) => Promise<any>;
deleteCollectionUser: (