mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-08 09:43:42 +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;
|
useEvents: boolean;
|
||||||
useTotp: boolean;
|
useTotp: boolean;
|
||||||
use2fa: boolean;
|
use2fa: boolean;
|
||||||
|
useApi: boolean;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
@ -44,5 +45,6 @@ export class OrganizationResponse extends BaseResponse {
|
|||||||
this.useEvents = this.getResponseProperty('UseEvents');
|
this.useEvents = this.getResponseProperty('UseEvents');
|
||||||
this.useTotp = this.getResponseProperty('UseTotp');
|
this.useTotp = this.getResponseProperty('UseTotp');
|
||||||
this.use2fa = this.getResponseProperty('Use2fa');
|
this.use2fa = this.getResponseProperty('Use2fa');
|
||||||
|
this.useApi = this.getResponseProperty('UseApi');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
|||||||
useEvents: boolean;
|
useEvents: boolean;
|
||||||
useTotp: boolean;
|
useTotp: boolean;
|
||||||
use2fa: boolean;
|
use2fa: boolean;
|
||||||
|
useApi: boolean;
|
||||||
selfHost: boolean;
|
selfHost: boolean;
|
||||||
usersGetPremium: boolean;
|
usersGetPremium: boolean;
|
||||||
seats: number;
|
seats: number;
|
||||||
@ -30,6 +31,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
|||||||
this.useEvents = this.getResponseProperty('UseEvents');
|
this.useEvents = this.getResponseProperty('UseEvents');
|
||||||
this.useTotp = this.getResponseProperty('UseTotp');
|
this.useTotp = this.getResponseProperty('UseTotp');
|
||||||
this.use2fa = this.getResponseProperty('Use2fa');
|
this.use2fa = this.getResponseProperty('Use2fa');
|
||||||
|
this.useApi = this.getResponseProperty('UseApi');
|
||||||
this.selfHost = this.getResponseProperty('SelfHost');
|
this.selfHost = this.getResponseProperty('SelfHost');
|
||||||
this.usersGetPremium = this.getResponseProperty('UsersGetPremium');
|
this.usersGetPremium = this.getResponseProperty('UsersGetPremium');
|
||||||
this.seats = this.getResponseProperty('Seats');
|
this.seats = this.getResponseProperty('Seats');
|
||||||
|
Loading…
Reference in New Issue
Block a user