- 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.
14 lines
446 B
TypeScript
14 lines
446 B
TypeScript
/**
|
|
* WHMCS Provider
|
|
*
|
|
* Handles mapping from WHMCS API to domain types.
|
|
* Exports transformation functions and raw API types (request/response).
|
|
*/
|
|
|
|
export * from "./mapper";
|
|
export * from "./raw.types";
|
|
export { getCustomFieldValue, getCustomFieldsMap } from "../../../providers/whmcs/utils";
|
|
|
|
// Re-export domain types for provider namespace convenience
|
|
export type { WhmcsClient, EmailPreferences, SubUser, Stats } from "../../schema";
|