/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AddPersonRequestEmailsInner } from './add-person-request-emails-inner'; import { AddPersonRequestPhonesInner } from './add-person-request-phones-inner'; import { PersonImInner } from './person-im-inner'; import { PersonPostalAddress } from './person-postal-address'; /** * * @export * @interface Person */ export interface Person { /** * The ID of the person * @type {number} */ 'id'?: number; /** * The name of the person * @type {string} */ 'name'?: string; /** * The first name of the person * @type {string} */ 'first_name'?: string; /** * The last name of the person * @type {string} */ 'last_name'?: string; /** * The ID of the user who owns the person * @type {number} */ 'owner_id'?: number; /** * The ID of the organization linked to the person * @type {number} */ 'org_id'?: number; /** * The creation date and time of the person * @type {string} */ 'add_time'?: string; /** * The last updated date and time of the person * @type {string} */ 'update_time'?: string; /** * The emails of the person * @type {Array} */ 'emails'?: Array; /** * The phones of the person * @type {Array} */ 'phones'?: Array; /** * Whether the person is deleted or not * @type {boolean} */ 'is_deleted'?: boolean; /** * The visibility of the person * @type {number} */ 'visible_to'?: number; /** * The IDs of labels assigned to the person * @type {Array} */ 'label_ids'?: Array; /** * The ID of the picture associated with the person * @type {number} */ 'picture_id'?: number; /** * * @type {PersonPostalAddress} */ 'postal_address'?: PersonPostalAddress; /** * Contact sync notes of the person, maximum 10 000 characters, included if contact sync is enabled for the company * @type {string} */ 'notes'?: string; /** * The instant messaging accounts of the person, included if contact sync is enabled for the company * @type {Array} */ 'im'?: Array; /** * The birthday of the person, included if contact sync is enabled for the company * @type {string} */ 'birthday'?: string; /** * The job title of the person, included if contact sync is enabled for the company * @type {string} */ 'job_title'?: string; /** * An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error. * @type {{ [key: string]: any | undefined; }} */ 'custom_fields'?: { [key: string]: any | undefined; }; }