tema 675f7d5cfd Remove cached profile fields migration and update CSRF middleware for new public auth endpoints
- 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.
2025-11-21 17:12:34 +09:00

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