diff --git a/src/models/response/emergencyAccessResponse.ts b/src/models/response/emergencyAccessResponse.ts index fbd6084938..400f16f755 100644 --- a/src/models/response/emergencyAccessResponse.ts +++ b/src/models/response/emergencyAccessResponse.ts @@ -1,8 +1,10 @@ import { EmergencyAccessStatusType } from '../../enums/emergencyAccessStatusType'; import { EmergencyAccessType } from '../../enums/emergencyAccessType'; import { KdfType } from '../../enums/kdfType'; + import { BaseResponse } from './baseResponse'; import { CipherResponse } from './cipherResponse'; +import { PolicyResponse } from './policyResponse'; export class EmergencyAccessGranteeDetailsResponse extends BaseResponse { id: string; @@ -54,6 +56,7 @@ export class EmergencyAccessTakeoverResponse extends BaseResponse { keyEncrypted: string; kdf: KdfType; kdfIterations: number; + policy: PolicyResponse[]; constructor(response: any) { super(response); @@ -61,6 +64,7 @@ export class EmergencyAccessTakeoverResponse extends BaseResponse { this.keyEncrypted = this.getResponseProperty('KeyEncrypted'); this.kdf = this.getResponseProperty('Kdf'); this.kdfIterations = this.getResponseProperty('KdfIterations'); + this.policy = this.getResponseProperty('policy'); } }