2025-10-03 14:26:55 +09:00
|
|
|
/**
|
|
|
|
|
* Subscriptions Domain
|
2025-12-23 15:19:20 +09:00
|
|
|
*
|
2025-12-26 17:27:22 +09:00
|
|
|
* Exports subscriptions contracts + schemas.
|
|
|
|
|
*
|
|
|
|
|
* Provider adapters (BFF-only) live under: `@customer-portal/domain/subscriptions/providers`.
|
2025-12-23 15:19:20 +09:00
|
|
|
*
|
2025-10-08 10:33:33 +09:00
|
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
2025-10-03 14:26:55 +09:00
|
|
|
*/
|
|
|
|
|
|
2025-10-08 10:33:33 +09:00
|
|
|
// Constants
|
2025-12-10 15:22:10 +09:00
|
|
|
export { SUBSCRIPTION_STATUS, SUBSCRIPTION_CYCLE } from "./contract.js";
|
2025-10-03 14:26:55 +09:00
|
|
|
|
2025-10-08 10:33:33 +09:00
|
|
|
// Schemas (includes derived types)
|
2025-12-10 15:22:10 +09:00
|
|
|
export * from "./schema.js";
|
2025-10-03 14:26:55 +09:00
|
|
|
|
2025-12-23 15:19:20 +09:00
|
|
|
// Re-export schemas for validation
|
|
|
|
|
export {
|
|
|
|
|
internetCancellationMonthSchema,
|
|
|
|
|
internetCancellationPreviewSchema,
|
|
|
|
|
internetCancelRequestSchema,
|
|
|
|
|
} from "./schema.js";
|