barsa b19c213931 Implement Unified Cancellation Features for SIM and Internet Services
- Added new methods in SalesforceOpportunityService to retrieve cancellation statuses for both Internet and SIM services by Opportunity ID, enhancing cancellation handling.
- Updated BFF module to include a new CancellationModule, improving service organization and modularity.
- Refactored portal routes and components to unify cancellation navigation, streamlining user experience.
- Introduced new domain schemas for unified cancellation previews, ensuring consistent data structure and validation across services.
- Removed deprecated cancellation components from the portal, promoting cleaner code and improved maintainability.
2026-01-05 17:09:10 +09:00

28 lines
700 B
TypeScript

/**
* Subscriptions Domain
*
* Exports subscriptions contracts + schemas.
*
* Provider adapters (BFF-only) live under: `@customer-portal/domain/subscriptions/providers`.
*
* Types are derived from Zod schemas (Schema-First Approach)
*/
// Constants
export { SUBSCRIPTION_STATUS, SUBSCRIPTION_CYCLE } from "./contract.js";
// Schemas (includes derived types)
export * from "./schema.js";
// Re-export schemas for validation
export {
internetCancellationMonthSchema,
internetCancellationPreviewSchema,
internetCancelRequestSchema,
// Unified cancellation
serviceTypeSchema,
cancellationNoticeSchema,
cancellationStatusSchema,
cancellationPreviewSchema,
} from "./schema.js";