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;
|
||||
hasAdditionalServiceAccountOption: boolean;
|
||||
maxProjects: number;
|
||||
maxAdditionalServiceAccounts: number;
|
||||
stripeServiceAccountPlanId: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
@@ -109,5 +111,7 @@ export class PlanResponse extends BaseResponse {
|
||||
"HasAdditionalServiceAccountOption"
|
||||
);
|
||||
this.maxProjects = this.getResponseProperty("MaxProjects");
|
||||
this.maxAdditionalServiceAccounts = this.getResponseProperty("MaxAdditionalServiceAccounts");
|
||||
this.stripeServiceAccountPlanId = this.getResponseProperty("StripeServiceAccountPlanId");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user