/** * 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 { OrganizationItemAddress } from './organization-item-address'; /** * * @export * @interface AddOrganizationRequest */ export interface AddOrganizationRequest { /** * The name of the organization * @type {string} */ 'name'?: string; /** * The ID of the user who owns the organization * @type {number} */ 'owner_id'?: number; /** * The creation date and time of the organization * @type {string} */ 'add_time'?: string; /** * The last updated date and time of the organization * @type {string} */ 'update_time'?: string; /** * The visibility of the organization * @type {number} */ 'visible_to'?: number; /** * The IDs of labels assigned to the organization * @type {Array} */ 'label_ids'?: Array; /** * * @type {OrganizationItemAddress} */ 'address'?: OrganizationItemAddress; /** * 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; }; }