2022-05-19 14:06:18 +02:00
|
|
|
export interface IInstanceStatus {
|
2022-05-25 23:26:05 +02:00
|
|
|
plan: InstancePlan;
|
2022-05-19 14:06:18 +02:00
|
|
|
trialExpiry?: string;
|
|
|
|
trialStart?: string;
|
|
|
|
trialExtended?: number;
|
|
|
|
billingCenter?: string;
|
|
|
|
state?: InstanceState;
|
2022-05-25 23:26:05 +02:00
|
|
|
seats?: number;
|
2022-05-19 14:06:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export enum InstanceState {
|
|
|
|
UNASSIGNED = 'UNASSIGNED',
|
|
|
|
TRIAL = 'TRIAL',
|
|
|
|
ACTIVE = 'ACTIVE',
|
|
|
|
EXPIRED = 'EXPIRED',
|
|
|
|
CHURNED = 'CHURNED',
|
|
|
|
}
|
2022-05-25 23:26:05 +02:00
|
|
|
|
|
|
|
export enum InstancePlan {
|
|
|
|
PRO = 'Pro',
|
|
|
|
COMPANY = 'Company',
|
|
|
|
TEAM = 'Team',
|
2023-06-16 13:35:24 +02:00
|
|
|
ENTERPRISE = 'Enterprise',
|
2022-05-25 23:26:05 +02:00
|
|
|
UNKNOWN = 'Unknown',
|
|
|
|
}
|