/** * 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. */ /** * * @export * @interface BaseProductAllOf */ export interface BaseProductAllOf { /** * The ID of the product * @type {number} */ 'id'?: number; /** * The name of the product * @type {string} */ 'name'?: string; /** * The product code * @type {string} */ 'code'?: string; /** * The unit in which this product is sold * @type {string} */ 'unit'?: string; /** * The tax percentage * @type {number} */ 'tax'?: number; /** * Whether this product will be marked as deleted or not * @type {boolean} */ 'is_deleted'?: boolean; /** * Whether this product can be added to a deal or not * @type {boolean} */ 'is_linkable'?: boolean; /** * * @type {number} */ 'visible_to'?: BaseProductAllOfVisibleToConst; /** * The ID of the Pipedrive user who owns the product * @type {number} */ 'owner_id'?: number; /** * The date and time when the product was added * @type {string} */ 'add_time'?: string; /** * The date and time when the product was last updated * @type {string} */ 'update_time'?: string; /** * The description of the product * @type {string} */ 'description'?: string; /** * The category of the product * @type {string} */ 'category'?: string | null; /** * 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; }; } export declare const BaseProductAllOfVisibleToConst: { readonly NUMBER_1: 1; readonly NUMBER_3: 3; readonly NUMBER_5: 5; readonly NUMBER_7: 7; }; export type BaseProductAllOfVisibleToConst = typeof BaseProductAllOfVisibleToConst[keyof typeof BaseProductAllOfVisibleToConst];