mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
* Added organizationId to EventData and EventRequest * Added EventType Organization_ClientExportedVault * Sending organizationId on Organization Export event * Checking that the user belongs to the organization * Added organizationExportResponse model * Added API method to get Organization vault export data * Updated getOrganizationDecryptedExport to use new API method
13 lines
333 B
TypeScript
13 lines
333 B
TypeScript
import { EventType } from "../enums/eventType";
|
|
|
|
export abstract class EventService {
|
|
collect: (
|
|
eventType: EventType,
|
|
cipherId?: string,
|
|
uploadImmediately?: boolean,
|
|
organizationId?: string
|
|
) => Promise<any>;
|
|
uploadEvents: (userId?: string) => Promise<any>;
|
|
clearEvents: (userId?: string) => Promise<any>;
|
|
}
|