- Added support for custom fields in WHMCS, including customer number, gender, and date of birth, to the environment validation schema. - Updated the signup workflow to handle new fields for date of birth and gender, ensuring they are included in the client creation process. - Implemented email update functionality in the user profile service, allowing users to change their email while ensuring uniqueness across the portal. - Enhanced the profile edit form to include fields for date of birth and gender, with appropriate validation. - Updated the UI to reflect changes in profile management, ensuring users can view and edit their information seamlessly. - Improved error handling and validation for user profile updates, ensuring a smoother user experience.
18 lines
491 B
TypeScript
18 lines
491 B
TypeScript
/**
|
|
* WHMCS Provider
|
|
*
|
|
* Handles mapping from WHMCS API to domain types.
|
|
* Exports transformation functions and raw API types (request/response).
|
|
*/
|
|
|
|
export * from "./mapper.js";
|
|
export * from "./raw.types.js";
|
|
export {
|
|
getCustomFieldValue,
|
|
getCustomFieldsMap,
|
|
serializeWhmcsKeyValueMap,
|
|
} from "../../../providers/whmcs/utils.js";
|
|
|
|
// Re-export domain types for provider namespace convenience
|
|
export type { WhmcsClient, EmailPreferences, SubUser, Stats } from "../../schema.js";
|