/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { ApiLicenseUser } from './apiLicenseUser.zod'; import type { ApiObjectId } from './apiObjectId.zod'; import type { ApiPermission } from './apiPermission.zod'; import type { ApiUserId } from './apiUserId.zod'; import type { ApiUserPresence } from './apiUserPresence.zod'; import type { ApiUserProfile } from './apiUserProfile.zod'; /** * User profile. */ export interface ApiUser { /** * 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; /** [optional] contact connected to this user */ contact?: ApiObjectId; createdAt?: string; createdBy?: ApiUserId; deletedAt?: string; deletedBy?: ApiUserId; device?: ApiObjectId; /** [editable] list of unique `regular` devices, attached to this user */ 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[]; id?: string; license?: ApiLicenseUser[]; name?: string; password?: string; permissions?: ApiPermission[]; /** * string presence = 7; // unique set of presentity tuples open[ed] * string status = 8; // short display status (short description) */ presence?: ApiUserPresence; profile?: ApiUserProfile; roles?: ApiObjectId[]; totpUrl?: string; updatedAt?: string; updatedBy?: ApiUserId; username?: string; }