export enum BillingPlan {
  TRIAL = 'TRIAL',
  /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
  FREE = 'FREE',
  /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
  STARTER = 'STARTER',
  /** @deprecated Legacy v1 plan — no longer issued to new organizations. */
  PRO = 'PRO',
  ENTERPRISE = 'ENTERPRISE',
  TEAMS = 'TEAMS',
  POC = 'POC'
}

export type Billing = {
  plan: BillingPlan;
  isExpired: boolean;
  expiryDate: Date;
  daysLeft: number;
  billingInterval?: 'annual' | 'monthly' | null;
  interval?: 'annual' | 'monthly' | null;
  cancelAt?: Date | null;
  stripeSubStatus?: string | null;
  showCcGateIfTrial?: boolean;
};
