1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 03:33:54 +00:00

Merge remote-tracking branch 'origin/feature/sm-billing' into ac/AC-1473-badge-for-SM-beta-ending

This commit is contained in:
Thomas Rittson
2023-07-06 14:23:55 +10:00
3 changed files with 9 additions and 4 deletions

View File

@@ -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");
}
}