mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
[Provider] ProviderOrganization events (#432)
This commit is contained in:
@@ -55,4 +55,8 @@ export enum EventType {
|
|||||||
ProviderUser_Confirmed = 1801,
|
ProviderUser_Confirmed = 1801,
|
||||||
ProviderUser_Updated = 1802,
|
ProviderUser_Updated = 1802,
|
||||||
ProviderUser_Removed = 1803,
|
ProviderUser_Removed = 1803,
|
||||||
|
|
||||||
|
ProviderOrganization_Created = 1900,
|
||||||
|
ProviderOrganization_Added = 1901,
|
||||||
|
ProviderOrganization_Removed = 1902,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export class EventResponse extends BaseResponse {
|
|||||||
policyId: string;
|
policyId: string;
|
||||||
organizationUserId: string;
|
organizationUserId: string;
|
||||||
providerUserId: string;
|
providerUserId: string;
|
||||||
|
providerOrganizationId: string;
|
||||||
actingUserId: string;
|
actingUserId: string;
|
||||||
date: string;
|
date: string;
|
||||||
deviceType: DeviceType;
|
deviceType: DeviceType;
|
||||||
@@ -31,6 +32,7 @@ export class EventResponse extends BaseResponse {
|
|||||||
this.policyId = this.getResponseProperty('PolicyId');
|
this.policyId = this.getResponseProperty('PolicyId');
|
||||||
this.organizationUserId = this.getResponseProperty('OrganizationUserId');
|
this.organizationUserId = this.getResponseProperty('OrganizationUserId');
|
||||||
this.providerUserId = this.getResponseProperty('ProviderUserId');
|
this.providerUserId = this.getResponseProperty('ProviderUserId');
|
||||||
|
this.providerOrganizationId = this.getResponseProperty('ProviderOrganizationId');
|
||||||
this.actingUserId = this.getResponseProperty('ActingUserId');
|
this.actingUserId = this.getResponseProperty('ActingUserId');
|
||||||
this.date = this.getResponseProperty('Date');
|
this.date = this.getResponseProperty('Date');
|
||||||
this.deviceType = this.getResponseProperty('DeviceType');
|
this.deviceType = this.getResponseProperty('DeviceType');
|
||||||
|
|||||||
Reference in New Issue
Block a user