2025-10-03 14:26:55 +09:00
|
|
|
/**
|
2025-12-25 13:59:28 +09:00
|
|
|
* Services Domain
|
2025-12-23 17:53:08 +09:00
|
|
|
*
|
2025-12-25 13:59:28 +09:00
|
|
|
* Exports all services-related contracts, schemas, and provider mappers.
|
2025-12-23 17:53:08 +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
|
|
|
// Provider-specific types
|
2025-12-23 17:53:08 +09:00
|
|
|
export {
|
2025-10-22 11:33:23 +09:00
|
|
|
type SalesforceProductFieldMap,
|
|
|
|
|
type PricingTier,
|
|
|
|
|
type CatalogFilter,
|
2025-12-01 10:07:58 +09:00
|
|
|
type CatalogPriceInfo,
|
2025-12-10 15:22:10 +09:00
|
|
|
} 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-10-08 10:33:33 +09:00
|
|
|
// Re-export types for convenience
|
|
|
|
|
export type {
|
|
|
|
|
CatalogProductBase,
|
|
|
|
|
CatalogPricebookEntry,
|
|
|
|
|
// Internet products
|
|
|
|
|
InternetCatalogProduct,
|
|
|
|
|
InternetPlanTemplate,
|
|
|
|
|
InternetPlanCatalogItem,
|
|
|
|
|
InternetInstallationCatalogItem,
|
|
|
|
|
InternetAddonCatalogItem,
|
2025-12-23 17:53:08 +09:00
|
|
|
InternetEligibilityStatus,
|
|
|
|
|
InternetEligibilityDetails,
|
2025-12-26 13:40:10 +09:00
|
|
|
InternetEligibilityRequest,
|
|
|
|
|
InternetEligibilityRequestResponse,
|
2025-10-08 10:33:33 +09:00
|
|
|
// SIM products
|
|
|
|
|
SimCatalogProduct,
|
|
|
|
|
SimActivationFeeCatalogItem,
|
|
|
|
|
// VPN products
|
|
|
|
|
VpnCatalogProduct,
|
|
|
|
|
// Union type
|
|
|
|
|
CatalogProduct,
|
2025-12-23 17:53:08 +09:00
|
|
|
} from "./schema.js";
|
2025-10-08 10:33:33 +09:00
|
|
|
|
|
|
|
|
// Provider adapters
|
2025-12-10 15:22:10 +09:00
|
|
|
export * as Providers from "./providers/index.js";
|
2025-10-08 11:11:05 +09:00
|
|
|
|
|
|
|
|
// Re-export provider raw types for convenience
|
2025-12-10 15:22:10 +09:00
|
|
|
export * from "./providers/salesforce/raw.types.js";
|
2025-10-08 13:46:23 +09:00
|
|
|
|
|
|
|
|
// Re-export WHMCS provider types
|
|
|
|
|
export type {
|
|
|
|
|
WhmcsCatalogProduct,
|
|
|
|
|
WhmcsCatalogProductListResponse,
|
2025-12-10 15:22:10 +09:00
|
|
|
} from "./providers/whmcs/raw.types.js";
|
2025-10-29 18:59:17 +09:00
|
|
|
export type {
|
|
|
|
|
WhmcsCatalogProductNormalized,
|
|
|
|
|
WhmcsCatalogPricing,
|
2025-12-10 15:22:10 +09:00
|
|
|
} from "./providers/whmcs/mapper.js";
|
2025-10-20 13:53:35 +09:00
|
|
|
|
|
|
|
|
// Utilities
|
2025-12-10 15:22:10 +09:00
|
|
|
export * from "./utils.js";
|