import type { AccountSettings } from '../accounts/types' import type { UserPreferences } from '../users/types' import type { UserStatus } from '../users/types' export type UpdateMePayload = { name?: string password?: string language?: string preferences?: UserPreferences otpAuthActive?: boolean logoutFromApp?: boolean data?: Record } export type UpdateMeStatusPayload = { status: UserStatus client?: string } export type UpdateMeAccountPayload = { name?: string settings?: Partial wizardProgress?: string defaultDepartmentId?: string } export type TakeoverPayload = { client?: string } export type SetOtpSecretKeyPayload = { secretKey: string } export type RegisterTokenPayload = Record