barsa fd5336f499 Implement Case Messaging and Commenting Features in Salesforce Integration
- Added methods in `SalesforceCaseService` to fetch and add case messages, unifying email messages and case comments into a chronological conversation thread.
- Enhanced `SupportService` and `SupportController` to handle case message retrieval and comment addition, integrating new DTOs for request and response validation.
- Updated `SupportCaseDetailView` in the Portal to display conversation messages and allow users to add comments, improving user interaction with support cases.
- Introduced new schemas in the domain for case messages and comments, ensuring robust validation and type safety.
- Refactored Salesforce mappers to transform email messages and case comments into a unified format for display in the portal.
2025-12-29 18:39:13 +09:00

23 lines
489 B
TypeScript

/**
* Support Domain
*
* Exports support contracts + schemas.
*
* Provider adapters (BFF-only) live under: `@customer-portal/domain/support/providers`.
*
* 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,
CLOSED_STATUSES,
OPEN_STATUSES,
} from "./contract.js";
// Schemas (includes derived types)
export * from "./schema.js";