68 lines
1.5 KiB
TypeScript
68 lines
1.5 KiB
TypeScript
export const SubscriptionStatus = {
|
|
PENDING: 'pending',
|
|
ACTIVE: 'active',
|
|
SUSPENDED: 'suspended',
|
|
CANCELLED: 'cancelled',
|
|
EXPIRED: 'expired',
|
|
} as const;
|
|
|
|
export type SubscriptionStatus =
|
|
(typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
|
|
|
|
export const SubscriptionType = {
|
|
PREPAID: 'prepaid',
|
|
POSTPAID: 'postpaid',
|
|
} as const;
|
|
|
|
export type SubscriptionType =
|
|
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
|
|
export const InvoiceStatus = {
|
|
DRAFT: 'draft',
|
|
SENT: 'sent',
|
|
PARTIAL: 'partial',
|
|
PAID: 'paid',
|
|
OVERDUE: 'overdue',
|
|
VOID: 'void',
|
|
} as const;
|
|
|
|
export type InvoiceStatus =
|
|
(typeof InvoiceStatus)[keyof typeof InvoiceStatus];
|
|
|
|
export const TicketType = {
|
|
INSTALLATION: 'installation',
|
|
ACTIVATION: 'activation',
|
|
SUPPORT: 'support',
|
|
MAINTENANCE: 'maintenance',
|
|
} as const;
|
|
|
|
export type TicketType = (typeof TicketType)[keyof typeof TicketType];
|
|
|
|
export const TicketStatus = {
|
|
OPEN: 'open',
|
|
IN_PROGRESS: 'in_progress',
|
|
RESOLVED: 'resolved',
|
|
CANCELLED: 'cancelled',
|
|
} as const;
|
|
|
|
export type TicketStatus = (typeof TicketStatus)[keyof typeof TicketStatus];
|
|
|
|
export const PaymentMethod = {
|
|
GCASH: 'gcash',
|
|
MAYA: 'maya',
|
|
CASH: 'cash',
|
|
BANK_TRANSFER: 'bank_transfer',
|
|
} as const;
|
|
|
|
export type PaymentMethod =
|
|
(typeof PaymentMethod)[keyof typeof PaymentMethod];
|
|
|
|
export const AccountStatus = {
|
|
ACTIVE: 'active',
|
|
INACTIVE: 'inactive',
|
|
SUSPENDED: 'suspended',
|
|
} as const;
|
|
|
|
export type AccountStatus =
|
|
(typeof AccountStatus)[keyof typeof AccountStatus];
|