- Updated Prisma client generation command in Dockerfile to use version 6.14.0 for consistency. - Refactored SimDetailsCard component to improve type handling and UI elements, including re-exporting SimDetails for backwards compatibility. - Adjusted display logic for SIM details, including changes to how plan types and service dates are presented. - Enhanced button states in SimManagementSection for better clarity on invoice payment status. - Added reissueEsim method in sim-actions.service for handling eSIM reissue requests. - Introduced CatalogPriceInfo type in domain catalog for improved type definitions.
57 lines
1.2 KiB
TypeScript
57 lines
1.2 KiB
TypeScript
/**
|
|
* Catalog Domain
|
|
*
|
|
* Exports all catalog-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Provider-specific types
|
|
export {
|
|
type SalesforceProductFieldMap,
|
|
type PricingTier,
|
|
type CatalogFilter,
|
|
type CatalogPriceInfo,
|
|
} from "./contract";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema";
|
|
|
|
// Re-export types for convenience
|
|
export type {
|
|
CatalogProductBase,
|
|
CatalogPricebookEntry,
|
|
// Internet products
|
|
InternetCatalogProduct,
|
|
InternetPlanTemplate,
|
|
InternetPlanCatalogItem,
|
|
InternetInstallationCatalogItem,
|
|
InternetAddonCatalogItem,
|
|
// SIM products
|
|
SimCatalogProduct,
|
|
SimActivationFeeCatalogItem,
|
|
// VPN products
|
|
VpnCatalogProduct,
|
|
// Union type
|
|
CatalogProduct,
|
|
} from './schema';
|
|
|
|
// Provider adapters
|
|
export * as Providers from "./providers/index";
|
|
|
|
// Re-export provider raw types for convenience
|
|
export * from "./providers/salesforce/raw.types";
|
|
|
|
// Re-export WHMCS provider types
|
|
export type {
|
|
WhmcsCatalogProduct,
|
|
WhmcsCatalogProductListResponse,
|
|
} from "./providers/whmcs/raw.types";
|
|
export type {
|
|
WhmcsCatalogProductNormalized,
|
|
WhmcsCatalogPricing,
|
|
} from "./providers/whmcs/mapper";
|
|
|
|
// Utilities
|
|
export * from "./utils";
|