Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).

## [Unreleased]
### Added
- Added `custom_fields` type to `deal`, `person`, `organization`, `product` schemas

## [28.0.1] - 2025-06-25
### Fixed
Expand Down
23 changes: 23 additions & 0 deletions src/versions/v2/models/deal-item-custom-fields-value.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/



/**
* @type DealItemCustomFieldsValue
* @export
*/
export type DealItemCustomFieldsValue = number | string | { [key: string]: any | undefined; };


8 changes: 8 additions & 0 deletions src/versions/v2/models/deal-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';

/**
*
Expand Down Expand Up @@ -170,5 +173,10 @@ export interface DealItem {
* @type {number}
*/
'acv'?: number | null;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

8 changes: 8 additions & 0 deletions src/versions/v2/models/deal-item1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';

/**
* The deal object
Expand Down Expand Up @@ -170,5 +173,10 @@ export interface DealItem1 {
* @type {number}
*/
'acv'?: number | null;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
// May contain unused imports in some cases
// @ts-ignore
import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
Expand Down Expand Up @@ -127,5 +130,10 @@ export interface GetPersonsResponseAllOfDataInner {
* @type {string}
*/
'job_title'?: string;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

1 change: 1 addition & 0 deletions src/versions/v2/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export * from './base-response';
export * from './convert-lead-to-deal-request';
export * from './deal-item';
export * from './deal-item1';
export * from './deal-item-custom-fields-value';
export * from './deal-product-request-body';
export * from './deal-product-request-body1';
export * from './delete-activity-response';
Expand Down
8 changes: 8 additions & 0 deletions src/versions/v2/models/organization-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
// May contain unused imports in some cases
// @ts-ignore
import { OrganizationItemAddress } from './organization-item-address';
Expand Down Expand Up @@ -68,5 +71,10 @@ export interface OrganizationItem {
* @type {Array<number>}
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

8 changes: 8 additions & 0 deletions src/versions/v2/models/organization-item1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
// May contain unused imports in some cases
// @ts-ignore
import { OrganizationItemAddress } from './organization-item-address';
Expand Down Expand Up @@ -68,5 +71,10 @@ export interface OrganizationItem1 {
* @type {Array<number>}
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

8 changes: 8 additions & 0 deletions src/versions/v2/models/upsert-person-response-data-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
// May contain unused imports in some cases
// @ts-ignore
import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
Expand Down Expand Up @@ -127,5 +130,10 @@ export interface UpsertPersonResponseDataData {
* @type {string}
*/
'job_title'?: string;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
}

Loading