1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/frontend/src/interfaces/instance.ts
Ivar Conradi Østhus dcac61e4d9
fix: add trial expired warning for enterprise (#3997)
Adds the trial expired warning for enterprise as well.
2023-06-16 13:35:24 +02:00

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',
}