- Deleted migration file that removed cached profile fields from the users table, centralizing profile data retrieval from WHMCS. - Updated CsrfMiddleware to include new public authentication endpoints for password reset, setting password, and WHMCS account linking. - Enhanced error handling in password and WHMCS linking workflows to provide clearer feedback on missing mappings and improve user experience. - Adjusted user creation and update methods in UsersFacade to handle cases where WHMCS mappings are not yet available, ensuring smoother account setup.
17 lines
323 B
TypeScript
17 lines
323 B
TypeScript
export interface SimValidationResult {
|
|
account: string;
|
|
}
|
|
|
|
export interface SimNotificationContext {
|
|
userId: string;
|
|
subscriptionId: number;
|
|
account?: string;
|
|
[key: string]: unknown;
|
|
}
|
|
|
|
export interface SimActionNotification {
|
|
action: string;
|
|
status: "SUCCESS" | "ERROR";
|
|
context: SimNotificationContext;
|
|
}
|