1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

[Provider] ProviderOrganization events (#432)

This commit is contained in:
Oscar Hinton
2021-07-21 19:40:52 +02:00
committed by GitHub
parent 1006f50ef3
commit 8bf0f75d9e
2 changed files with 6 additions and 0 deletions

View File

@@ -55,4 +55,8 @@ export enum EventType {
ProviderUser_Confirmed = 1801,
ProviderUser_Updated = 1802,
ProviderUser_Removed = 1803,
ProviderOrganization_Created = 1900,
ProviderOrganization_Added = 1901,
ProviderOrganization_Removed = 1902,
}

View File

@@ -14,6 +14,7 @@ export class EventResponse extends BaseResponse {
policyId: string;
organizationUserId: string;
providerUserId: string;
providerOrganizationId: string;
actingUserId: string;
date: string;
deviceType: DeviceType;
@@ -31,6 +32,7 @@ export class EventResponse extends BaseResponse {
this.policyId = this.getResponseProperty('PolicyId');
this.organizationUserId = this.getResponseProperty('OrganizationUserId');
this.providerUserId = this.getResponseProperty('ProviderUserId');
this.providerOrganizationId = this.getResponseProperty('ProviderOrganizationId');
this.actingUserId = this.getResponseProperty('ActingUserId');
this.date = this.getResponseProperty('Date');
this.deviceType = this.getResponseProperty('DeviceType');