mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
dcac61e4d9
Adds the trial expired warning for enterprise as well.
26 lines
518 B
TypeScript
26 lines
518 B
TypeScript
export interface IInstanceStatus {
|
|
plan: InstancePlan;
|
|
trialExpiry?: string;
|
|
trialStart?: string;
|
|
trialExtended?: number;
|
|
billingCenter?: string;
|
|
state?: InstanceState;
|
|
seats?: number;
|
|
}
|
|
|
|
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',
|
|
}
|