mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
29c0a3a557
https://linear.app/unleash/issue/2-3030/improve-the-billing-page-behavior-for-instances-with-custom-billing Adapts the billing page to support custom billing scenarios. Here’s how it will appear in such cases (notice a new "Your billing is managed by Unleash" text, with no visible button to update billing information): ![image](https://github.com/user-attachments/assets/39d7418a-1f22-41b3-9360-ca7c40a2ce7d)
28 lines
572 B
TypeScript
28 lines
572 B
TypeScript
export interface IInstanceStatus {
|
|
plan: InstancePlan;
|
|
trialExpiry?: string;
|
|
trialStart?: string;
|
|
trialExtended?: number;
|
|
billingCenter?: string;
|
|
state?: InstanceState;
|
|
seats?: number;
|
|
minSeats?: number;
|
|
isCustomBilling?: boolean;
|
|
}
|
|
|
|
export enum InstanceState {
|
|
UNASSIGNED = 'UNASSIGNED',
|
|
TRIAL = 'TRIAL',
|
|
ACTIVE = 'ACTIVE',
|
|
EXPIRED = 'EXPIRED',
|
|
CHURNED = 'CHURNED',
|
|
}
|
|
|
|
export enum InstancePlan {
|
|
PRO = 'Pro',
|
|
COMPANY = 'Company',
|
|
TEAM = 'Team',
|
|
ENTERPRISE = 'Enterprise',
|
|
UNKNOWN = 'Unknown',
|
|
}
|