1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

add useApi flags

This commit is contained in:
Kyle Spearrin
2019-03-02 12:22:51 -05:00
parent 5535eb1002
commit 9cc84f76d7
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ export class OrganizationData {
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;
@@ -31,6 +32,7 @@ export class OrganizationData {
this.useEvents = response.useEvents; this.useEvents = response.useEvents;
this.useTotp = response.useTotp; this.useTotp = response.useTotp;
this.use2fa = response.use2fa; this.use2fa = response.use2fa;
this.useApi = response.useApi;
this.selfHost = response.selfHost; this.selfHost = response.selfHost;
this.usersGetPremium = response.usersGetPremium; this.usersGetPremium = response.usersGetPremium;
this.seats = response.seats; this.seats = response.seats;

View File

@@ -14,6 +14,7 @@ export class Organization {
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;
@@ -35,6 +36,7 @@ export class Organization {
this.useEvents = obj.useEvents; this.useEvents = obj.useEvents;
this.useTotp = obj.useTotp; this.useTotp = obj.useTotp;
this.use2fa = obj.use2fa; this.use2fa = obj.use2fa;
this.useApi = obj.useApi;
this.selfHost = obj.selfHost; this.selfHost = obj.selfHost;
this.usersGetPremium = obj.usersGetPremium; this.usersGetPremium = obj.usersGetPremium;
this.seats = obj.seats; this.seats = obj.seats;