barsa c741ece844 Add SIM management features and enhance checkout process
- Introduced new SIM management queue and processor to handle SIM-related tasks efficiently.
- Added SIM activation fee handling in the checkout service, ensuring proper validation and inclusion in cart calculations.
- Enhanced the SimCatalogService to retrieve and filter activation fees based on SKU, improving order validation.
- Updated the checkout process to automatically add default activation fees when none are specified, improving user experience.
- Refactored the ActivationForm component to display activation fees clearly during the SIM configuration process.
- Improved error handling and logging across various services to provide better insights during operations.
- Updated tests to cover new features and ensure reliability in the checkout and SIM management workflows.
2025-11-18 10:57:36 +09:00

48 lines
963 B
TypeScript

/**
* SIM Domain
*
* Exports all SIM-related contracts, schemas, and provider mappers.
*
* Types are derived from Zod schemas (Schema-First Approach)
*/
// Constants
export { SIM_STATUS, SIM_TYPE } from "./contract";
// Schemas (includes derived types)
export * from "./schema";
export * from "./lifecycle";
// Validation functions
export * from "./validation";
// Re-export types for convenience
export type {
SimStatus,
SimType,
SimDetails,
RecentDayUsage,
SimUsage,
SimTopUpHistoryEntry,
SimTopUpHistory,
SimInfo,
// Request types
SimTopUpRequest,
SimPlanChangeRequest,
SimCancelRequest,
SimTopUpHistoryRequest,
SimFeaturesUpdateRequest,
SimReissueRequest,
SimConfigureFormData,
SimCardType,
ActivationType,
MnpData,
// Activation types
SimOrderActivationRequest,
SimOrderActivationMnp,
SimOrderActivationAddons,
} from './schema';
// Provider adapters
export * as Providers from "./providers/index";