interface IUserCreate {
email: string;
name: string;
password: string;
username: string;
active?: boolean;
roles?: Array<string>;
joinDefaultChannels?: boolean;
requirePasswordChange?: boolean;
sendWelcomeEmail?: boolean;
verified?: boolean;
customFields?: any;
}
interface IUserUpdate {
userId: string;
data: {
email?: string;
name?: string;
password?: string;
username?: string;
};
interface IUserDelete {
confirmRelinquish?: boolean;
interface IUser {
_id: string;
emails: Array<{ address: string; verified: boolean }>;
createdAt: string;