- Changed worktree setup command from npm to pnpm for improved package management. - Added SupportModule to app.module.ts and router.config.ts for better support case handling. - Refactored OrderEventsService to utilize OrderUpdateEventPayload for improved type safety. - Updated InvoicesList component to use INVOICE_STATUS for status filtering and improved type definitions. - Enhanced SimActions and SimDetailsCard components to utilize SimStatus for better state management. - Refactored Subscription components to leverage new utility functions for status handling and billing cycle labels. - Improved SupportCasesView with better state management and error handling. - Updated API query keys to include support cases for better data retrieval.
28 lines
580 B
TypeScript
28 lines
580 B
TypeScript
/**
|
|
* Support Domain - Contract
|
|
*
|
|
* Constants for support case statuses, priorities, and categories.
|
|
*/
|
|
|
|
export const SUPPORT_CASE_STATUS = {
|
|
OPEN: "Open",
|
|
IN_PROGRESS: "In Progress",
|
|
WAITING_ON_CUSTOMER: "Waiting on Customer",
|
|
RESOLVED: "Resolved",
|
|
CLOSED: "Closed",
|
|
} as const;
|
|
|
|
export const SUPPORT_CASE_PRIORITY = {
|
|
LOW: "Low",
|
|
MEDIUM: "Medium",
|
|
HIGH: "High",
|
|
CRITICAL: "Critical",
|
|
} as const;
|
|
|
|
export const SUPPORT_CASE_CATEGORY = {
|
|
TECHNICAL: "Technical",
|
|
BILLING: "Billing",
|
|
GENERAL: "General",
|
|
FEATURE_REQUEST: "Feature Request",
|
|
} as const;
|