mirror of
https://github.com/bitwarden/browser
synced 2025-12-30 15:13:32 +00:00
* Resolve the vault items fail to load * Remove the hasSubscription * Replace with hasSubscription from metadata * Resolve the failing popup
19 lines
757 B
TypeScript
19 lines
757 B
TypeScript
import { BaseResponse } from "../../../models/response/base.response";
|
|
|
|
export class OrganizationBillingMetadataResponse extends BaseResponse {
|
|
isEligibleForSelfHost: boolean;
|
|
isManaged: boolean;
|
|
isOnSecretsManagerStandalone: boolean;
|
|
isSubscriptionUnpaid: boolean;
|
|
hasSubscription: boolean;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.isEligibleForSelfHost = this.getResponseProperty("IsEligibleForSelfHost");
|
|
this.isManaged = this.getResponseProperty("IsManaged");
|
|
this.isOnSecretsManagerStandalone = this.getResponseProperty("IsOnSecretsManagerStandalone");
|
|
this.isSubscriptionUnpaid = this.getResponseProperty("IsSubscriptionUnpaid");
|
|
this.hasSubscription = this.getResponseProperty("HasSubscription");
|
|
}
|
|
}
|