mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
useApi added to models
This commit is contained in:
parent
48164a31d9
commit
5535eb1002
@ -22,6 +22,7 @@ export class OrganizationResponse extends BaseResponse {
|
||||
useEvents: boolean;
|
||||
useTotp: boolean;
|
||||
use2fa: boolean;
|
||||
useApi: boolean;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
@ -44,5 +45,6 @@ export class OrganizationResponse extends BaseResponse {
|
||||
this.useEvents = this.getResponseProperty('UseEvents');
|
||||
this.useTotp = this.getResponseProperty('UseTotp');
|
||||
this.use2fa = this.getResponseProperty('Use2fa');
|
||||
this.useApi = this.getResponseProperty('UseApi');
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
||||
useEvents: boolean;
|
||||
useTotp: boolean;
|
||||
use2fa: boolean;
|
||||
useApi: boolean;
|
||||
selfHost: boolean;
|
||||
usersGetPremium: boolean;
|
||||
seats: number;
|
||||
@ -30,6 +31,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
||||
this.useEvents = this.getResponseProperty('UseEvents');
|
||||
this.useTotp = this.getResponseProperty('UseTotp');
|
||||
this.use2fa = this.getResponseProperty('Use2fa');
|
||||
this.useApi = this.getResponseProperty('UseApi');
|
||||
this.selfHost = this.getResponseProperty('SelfHost');
|
||||
this.usersGetPremium = this.getResponseProperty('UsersGetPremium');
|
||||
this.seats = this.getResponseProperty('Seats');
|
||||
|
Loading…
Reference in New Issue
Block a user