/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { ApiInputUserProfile } from './apiInputUserProfile'; import type { ApiLicenseUser } from './apiLicenseUser'; import type { ApiObjectId } from './apiObjectId'; import type { ApiPermission } from './apiPermission'; import type { ApiUserPresence } from './apiUserPresence'; /** * Input of the User profile for Create/Update operations. * Mirrors `User` field numbers 1:1 (wire-compatible), but excludes * system-managed read-only fields (id, audit metadata). */ export interface ApiInputUser { /** * The "chat_name" field is used to store the name displayed externally on the platform. * For example, "chat_name" is shown when an agent connects to chats with clients. */ chatName?: string; contact?: ApiObjectId; device?: ApiObjectId; devices?: ApiObjectId[]; email?: string; extension?: string; /** When set to true, the user will be required to change their password on next login. */ forcePasswordChange?: boolean; hotdesks?: ApiObjectId[]; license?: ApiLicenseUser[]; name?: string; password?: string; permissions?: ApiPermission[]; presence?: ApiUserPresence; profile?: ApiInputUserProfile; roles?: ApiObjectId[]; totpUrl?: string; username?: string; }