- Removed the domain mappings module, consolidating related types and schemas into the id-mappings feature. - Updated import paths across the BFF to reflect the new structure, ensuring compliance with import hygiene rules. - Cleaned up unused files and optimized the codebase for better maintainability and clarity.
23 lines
651 B
TypeScript
23 lines
651 B
TypeScript
/**
|
|
* Customer Domain - Providers
|
|
*
|
|
* Providers handle mapping from external systems to domain types:
|
|
* - Portal: Prisma (portal DB) → UserAuth
|
|
* - Whmcs: WHMCS API → WhmcsClient
|
|
*/
|
|
|
|
export * from "./portal/index.js";
|
|
export * from "./whmcs/index.js";
|
|
|
|
// Provider-specific integration types (BFF-only convenience re-exports)
|
|
export type { SalesforceAccountFieldMap, SalesforceAccountRecord } from "../contract.js";
|
|
export type {
|
|
WhmcsAddClientParams,
|
|
WhmcsValidateLoginParams,
|
|
WhmcsCreateSsoTokenParams,
|
|
WhmcsClientResponse,
|
|
WhmcsAddClientResponse,
|
|
WhmcsValidateLoginResponse,
|
|
WhmcsSsoResponse,
|
|
} from "./whmcs/raw.types.js";
|