- Replaced multiple global exception filters with a unified exception filter to streamline error handling across the application. - Removed deprecated AuthErrorFilter and GlobalExceptionFilter to reduce redundancy. - Enhanced SupportController to include new endpoints for listing, retrieving, and creating support cases, improving the support case management functionality. - Integrated SalesforceCaseService for better interaction with Salesforce data in support case operations. - Updated support case schemas to align with new requirements and ensure data consistency.
26 lines
600 B
TypeScript
26 lines
600 B
TypeScript
/**
|
|
* Support Domain
|
|
*
|
|
* Exports all support-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Business types and constants
|
|
export {
|
|
SUPPORT_CASE_STATUS,
|
|
SUPPORT_CASE_PRIORITY,
|
|
SUPPORT_CASE_CATEGORY,
|
|
PORTAL_CASE_ORIGIN,
|
|
} from "./contract";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema";
|
|
|
|
// Provider adapters
|
|
export * as Providers from "./providers/index";
|
|
|
|
// Re-export provider types for convenience
|
|
export * from "./providers/salesforce/raw.types";
|
|
export * from "./providers/salesforce/mapper";
|