/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.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 { DealParticipantItemPersonIdPhoneInner } from './deal-participant-item-person-id-phone-inner'; import { PersonAllOfEmailInner } from './person-all-of-email-inner'; import { PictureDataWithID } from './picture-data-with-id'; /** * * @export * @interface PersonAllOf */ export interface PersonAllOf { /** * The ID of the person * @type {number} */ 'id'?: number; /** * The ID of the company related to the person * @type {number} */ 'company_id'?: number; /** * Whether the person is active or not * @type {boolean} */ 'active_flag'?: boolean; /** * A phone number supplied as a string or an array of phone objects related to the person. The structure of the array is as follows: `[{ \"value\": \"12345\", \"primary\": \"true\", \"label\": \"mobile\" }]`. Please note that only `value` is required. * @type {Array} */ 'phone'?: Array; /** * An email address as a string or an array of email objects related to the person. The structure of the array is as follows: `[{ \"value\": \"mail@example.com\", \"primary\": \"true\", \"label\": \"main\" } ]`. Please note that only `value` is required. * @type {Array} */ 'email'?: Array; /** * The first letter of the name of the person * @type {string} */ 'first_char'?: string; /** * The date and time when the person was added/created. Format: YYYY-MM-DD HH:MM:SS * @type {string} */ 'add_time'?: string; /** * The last updated date and time of the person. Format: YYYY-MM-DD HH:MM:SS * @type {string} */ 'update_time'?: string; /** * The visibility group ID of who can see the person * @type {string} */ 'visible_to'?: string; /** * * @type {PictureDataWithID} */ 'picture_id'?: PictureDataWithID | null; /** * The label assigned to the person. When the `label` field is updated, the `label_ids` field value will be overwritten by the `label` field value. * @type {number} */ 'label'?: number | null; /** * The IDs of labels assigned to the person. When the `label_ids` field is updated, the `label` field value will be set to the first value of the `label_ids` field. * @type {Array} */ 'label_ids'?: Array; /** * The name of the organization associated with the person * @type {string} */ 'org_name'?: string | null; /** * The name of the owner associated with the person * @type {string} */ 'owner_name'?: string; /** * The BCC email associated with the person * @type {string} */ 'cc_email'?: string | null; }