44 lines
923 B
TypeScript

/**
* Customer Domain
*
* Exports all customer-related contracts, schemas, and provider mappers.
*
* Types are derived from Zod schemas (Schema-First Approach)
*/
// Business types
export { type CustomerProfile } from "./contract";
// Provider-specific types
export type {
SalesforceAccountFieldMap,
SalesforceAccountRecord,
} from "./contract";
// Schemas (includes derived types)
export * from "./schema";
// Re-export types for convenience
export type {
CustomerAddress,
Address,
CustomerEmailPreferences,
CustomerUser,
CustomerStats,
Customer,
AddressFormData,
} from './schema';
// Re-export helper function
export { addressFormToRequest } from './schema';
// Provider adapters
export * as Providers from "./providers";
// Re-export provider response types
export type {
WhmcsAddClientResponse,
WhmcsValidateLoginResponse,
WhmcsSsoResponse,
} from "./providers/whmcs/raw.types";