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]
### Fixed
- Fixed incorrect `custom_fields` schema implementations by using the proper shared definition from `custom-fields.yaml`

## [29.2.1] - 2025-09-03
### Added
Expand Down
9 changes: 3 additions & 6 deletions src/versions/v2/models/add-deal-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
*/


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

/**
*
Expand Down Expand Up @@ -124,9 +121,9 @@ export interface AddDealRequest {
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


// 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 @@ -62,9 +59,9 @@ export interface AddOrganizationRequest {
*/
'address'?: OrganizationItemAddress;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


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

/**
*
Expand Down Expand Up @@ -174,9 +171,9 @@ export interface DealItem {
*/
'acv'?: number | null;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


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

/**
* The deal object
Expand Down Expand Up @@ -174,9 +171,9 @@ export interface DealItem1 {
*/
'acv'?: number | null;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


// 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 @@ -131,9 +128,9 @@ export interface GetPersonsResponseAllOfDataInner {
*/
'job_title'?: string;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

1 change: 0 additions & 1 deletion src/versions/v2/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ 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
9 changes: 3 additions & 6 deletions src/versions/v2/models/organization-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
*/


// 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 @@ -72,9 +69,9 @@ export interface OrganizationItem {
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


// 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 @@ -72,9 +69,9 @@ export interface OrganizationItem1 {
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


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

/**
*
Expand Down Expand Up @@ -124,9 +121,9 @@ export interface UpdateDealRequest {
*/
'label_ids'?: Array<number>;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


// 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 @@ -62,9 +59,9 @@ export interface UpdateOrganizationRequest {
*/
'address'?: OrganizationItemAddress;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

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


// 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 @@ -131,9 +128,9 @@ export interface UpsertPersonResponseDataData {
*/
'job_title'?: string;
/**
* A map of custom fields with hash-based keys
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
'custom_fields'?: { [key: string]: any | undefined; };
}

Loading