barsa 0a3d5b1e3c Refactor WHMCS service methods and improve type handling
- 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.
2025-10-29 18:59:17 +09:00

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";