mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
21 lines
620 B
TypeScript
21 lines
620 B
TypeScript
|
|
// Status
|
||
|
|
export const TENANT_BILLING_STATUS_TRIAL = 'trial';
|
||
|
|
export const TENANT_BILLING_STATUS_ACTIVE = 'active';
|
||
|
|
export const TENANT_BILLING_STATUS_CANCELED = 'canceled';
|
||
|
|
export const TENANT_BILLING_STATUS_PERPETUAL = 'perpetual';
|
||
|
|
|
||
|
|
export type TenantBillingStatus =
|
||
|
|
typeof TENANT_BILLING_STATUS_TRIAL |
|
||
|
|
typeof TENANT_BILLING_STATUS_ACTIVE |
|
||
|
|
typeof TENANT_BILLING_STATUS_CANCELED |
|
||
|
|
typeof TENANT_BILLING_STATUS_PERPETUAL;
|
||
|
|
|
||
|
|
interface ITenantBilling {
|
||
|
|
trial_ends_at: string;
|
||
|
|
subscription_ends_at: string;
|
||
|
|
status: TenantBillingStatus;
|
||
|
|
customer_id: string;
|
||
|
|
slug: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export default ITenantBilling;
|