1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-21 03:43:55 +00:00

Revert "Add Organization_SponsorshipsSynced event type (#809)"

This reverts commit 3882aaf819.
This commit is contained in:
Matt Gibson
2022-05-19 11:50:31 -04:00
parent 3882aaf819
commit 8846dc7df5
4 changed files with 0 additions and 7 deletions

View File

@@ -57,7 +57,6 @@ export enum EventType {
Organization_DisabledSso = 1605,
Organization_EnabledKeyConnector = 1606,
Organization_DisabledKeyConnector = 1607,
Organization_SponsorshipsSynced = 1608,
Policy_Updated = 1700,

View File

@@ -11,7 +11,6 @@ export class EventExport {
date: string;
ip: string;
type: string;
installationId: string;
constructor(event: EventView) {
this.message = event.humanReadableMessage;
@@ -23,6 +22,5 @@ export class EventExport {
this.date = event.date;
this.ip = event.ip;
this.type = EventType[event.type];
this.installationId = event.installationId;
}
}

View File

@@ -19,7 +19,6 @@ export class EventResponse extends BaseResponse {
date: string;
deviceType: DeviceType;
ipAddress: string;
installationId: string;
constructor(response: any) {
super(response);
@@ -38,6 +37,5 @@ export class EventResponse extends BaseResponse {
this.date = this.getResponseProperty("Date");
this.deviceType = this.getResponseProperty("DeviceType");
this.ipAddress = this.getResponseProperty("IpAddress");
this.installationId = this.getResponseProperty("InstallationId");
}
}

View File

@@ -11,7 +11,6 @@ export class EventView {
date: string;
ip: string;
type: EventType;
installationId: string;
constructor(data: Required<EventView>) {
this.message = data.message;
@@ -24,6 +23,5 @@ export class EventView {
this.date = data.date;
this.ip = data.ip;
this.type = data.type;
this.installationId = data.installationId;
}
}