- Updated WHMCS service methods to return normalized product types, enhancing type consistency across services. - Refactored product retrieval logic in WhmcsPaymentService and WhmcsService to streamline data handling. - Removed deprecated utility functions and optimized custom field handling in WHMCS-related services. - Enhanced error handling in subscription processing to improve reliability and clarity. - Cleaned up imports and improved overall code organization for better maintainability.
26 lines
626 B
TypeScript
26 lines
626 B
TypeScript
/**
|
|
* Catalog Domain - Providers
|
|
*/
|
|
|
|
import * as SalesforceMapper from "./salesforce/mapper";
|
|
import * as SalesforceRaw from "./salesforce/raw.types";
|
|
import * as WhmcsMapper from "./whmcs/mapper";
|
|
import * as WhmcsRaw from "./whmcs/raw.types";
|
|
|
|
export const Salesforce = {
|
|
...SalesforceMapper,
|
|
mapper: SalesforceMapper,
|
|
raw: SalesforceRaw,
|
|
};
|
|
|
|
export const Whmcs = {
|
|
...WhmcsMapper,
|
|
raw: WhmcsRaw,
|
|
};
|
|
|
|
export { SalesforceMapper, SalesforceRaw, WhmcsMapper, WhmcsRaw };
|
|
export * from "./salesforce/mapper";
|
|
export * from "./salesforce/raw.types";
|
|
export * from "./whmcs/mapper";
|
|
export * from "./whmcs/raw.types";
|