import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Address, Address$Outbound } from "./address.js"; import { Email, Email$Outbound } from "./email.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; import { PhoneNumber, PhoneNumber$Outbound } from "./phonenumber.js"; export type UserInput = { /** * The parent user id */ parentId?: string | null | undefined; /** * The username of the user */ username?: string | null | undefined; /** * The first name of the person. */ firstName?: string | null | undefined; /** * The last name of the person. */ lastName?: string | null | undefined; /** * The job title of the person. */ title?: string | null | undefined; /** * The division the person is currently in. Usually a collection of departments or teams or regions. */ division?: string | null | undefined; /** * The department the person is currently in. [Deprecated](https://developers.apideck.com/changelog) in favor of the dedicated department_id and department_name field. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ department?: string | null | undefined; /** * The name of the company. */ companyName?: string | null | undefined; /** * An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company. */ employeeNumber?: string | null | undefined; /** * A description of the object. */ description?: string | null | undefined; /** * The URL of the user's avatar */ image?: string | null | undefined; /** * language code according to ISO 639-1. For the United States - EN */ language?: string | null | undefined; /** * The status of the user */ status?: string | null | undefined; /** * The password of the user */ password?: string | null | undefined; addresses?: Array
| undefined; phoneNumbers?: Array