2025-10-03 14:26:55 +09:00
|
|
|
/**
|
|
|
|
|
* SIM Domain
|
2025-12-25 17:30:02 +09:00
|
|
|
*
|
2025-12-26 17:27:22 +09:00
|
|
|
* Exports SIM contracts + schemas.
|
|
|
|
|
*
|
|
|
|
|
* Provider adapters (BFF-only) live under: `@customer-portal/domain/sim/providers`.
|
2025-12-25 17:30:02 +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 { SIM_STATUS, SIM_TYPE, SIM_PLAN_CODES, SIM_PLAN_LABELS } from "./contract.js";
|
2025-10-08 10:33:33 +09:00
|
|
|
|
|
|
|
|
// Schemas (includes derived types)
|
2025-12-10 15:22:10 +09:00
|
|
|
export * from "./schema.js";
|
|
|
|
|
export * from "./lifecycle.js";
|
2025-10-08 18:14:12 +09:00
|
|
|
|
|
|
|
|
// Validation functions
|
2025-12-10 15:22:10 +09:00
|
|
|
export * from "./validation.js";
|
2025-11-18 18:18:25 +09:00
|
|
|
export {
|
|
|
|
|
canManageActiveSim,
|
|
|
|
|
canReissueEsim,
|
|
|
|
|
canCancelSim,
|
|
|
|
|
canTopUpSim,
|
|
|
|
|
formatSimPlanShort,
|
|
|
|
|
SIM_PLAN_OPTIONS,
|
|
|
|
|
getSimPlanLabel,
|
|
|
|
|
buildSimFeaturesUpdatePayload,
|
2025-12-10 15:22:10 +09:00
|
|
|
} from "./helpers.js";
|
|
|
|
|
export type { SimPlanCode } from "./contract.js";
|
|
|
|
|
export type { SimPlanOption, SimFeatureToggleSnapshot } from "./helpers.js";
|