mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
add the additional properties (#5743)
This commit is contained in:
@@ -55,6 +55,8 @@ export class PlanResponse extends BaseResponse {
|
|||||||
maxServiceAccount: number;
|
maxServiceAccount: number;
|
||||||
hasAdditionalServiceAccountOption: boolean;
|
hasAdditionalServiceAccountOption: boolean;
|
||||||
maxProjects: number;
|
maxProjects: number;
|
||||||
|
maxAdditionalServiceAccounts: number;
|
||||||
|
stripeServiceAccountPlanId: string;
|
||||||
|
|
||||||
constructor(response: any) {
|
constructor(response: any) {
|
||||||
super(response);
|
super(response);
|
||||||
@@ -109,5 +111,7 @@ export class PlanResponse extends BaseResponse {
|
|||||||
"HasAdditionalServiceAccountOption"
|
"HasAdditionalServiceAccountOption"
|
||||||
);
|
);
|
||||||
this.maxProjects = this.getResponseProperty("MaxProjects");
|
this.maxProjects = this.getResponseProperty("MaxProjects");
|
||||||
|
this.maxAdditionalServiceAccounts = this.getResponseProperty("MaxAdditionalServiceAccounts");
|
||||||
|
this.stripeServiceAccountPlanId = this.getResponseProperty("StripeServiceAccountPlanId");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user