- Updated SalesforceAccountService to map gender values to Salesforce picklist values and added date of birth handling for contact creation. - Modified SignupWorkflowService to require gender and date of birth during account creation, ensuring complete data submission. - Adjusted SignupAccountResolverService to include gender and date of birth in account creation logic, improving data integrity. - Introduced SalesforceContactRecord interface in domain to standardize contact data structure, enhancing type safety and validation.
27 lines
683 B
TypeScript
27 lines
683 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,
|
|
SalesforceContactRecord,
|
|
} from "../contract.js";
|
|
export type {
|
|
WhmcsAddClientParams,
|
|
WhmcsValidateLoginParams,
|
|
WhmcsCreateSsoTokenParams,
|
|
WhmcsClientResponse,
|
|
WhmcsAddClientResponse,
|
|
WhmcsValidateLoginResponse,
|
|
WhmcsSsoResponse,
|
|
} from "./whmcs/raw.types.js";
|