diff --git a/src/models/response/organizationResponse.ts b/src/models/response/organizationResponse.ts index 51009533c4..436e09e3fa 100644 --- a/src/models/response/organizationResponse.ts +++ b/src/models/response/organizationResponse.ts @@ -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'); } } diff --git a/src/models/response/profileOrganizationResponse.ts b/src/models/response/profileOrganizationResponse.ts index 3a7beac530..55eb3a6890 100644 --- a/src/models/response/profileOrganizationResponse.ts +++ b/src/models/response/profileOrganizationResponse.ts @@ -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');