Skip to content

Commit 40521f4

Browse files
Release v29.2.2 from PR #667
2 parents 9fcb488 + 99a3108 commit 40521f4

14 files changed

+39
-65
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11+
## [29.2.2] - 2025-09-08
12+
### Fixed
13+
- Fixed incorrect `custom_fields` schema implementations by using the proper shared definition from `custom-fields.yaml`
14+
1115
## [29.2.1] - 2025-09-03
1216
### Added
1317
- Documented the `custom_fields` in /v2 api for create organization and update deal
@@ -949,7 +953,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
949953
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
950954
* Fixed typo in lead example response (`crrency` to `currency`)
951955

952-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v29.2.1...HEAD
956+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v29.2.2...HEAD
957+
[29.2.2]: https://github.com/pipedrive/api-docs/compare/v29.2.1...v29.2.2
953958
[29.2.1]: https://github.com/pipedrive/api-docs/compare/v29.2.0...v29.2.1
954959
[29.2.0]: https://github.com/pipedrive/api-docs/compare/v29.1.0...v29.2.0
955960
[29.1.0]: https://github.com/pipedrive/api-docs/compare/v29.0.0...v29.1.0

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "29.2.1",
3+
"version": "29.2.2",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v2/models/add-deal-request.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

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

2017
/**
2118
*
@@ -124,9 +121,9 @@ export interface AddDealRequest {
124121
*/
125122
'label_ids'?: Array<number>;
126123
/**
127-
* A map of custom fields with hash-based keys
128-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
124+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
125+
* @type {{ [key: string]: any | undefined; }}
129126
*/
130-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
127+
'custom_fields'?: { [key: string]: any | undefined; };
131128
}
132129

src/versions/v2/models/add-organization-request.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

16-
// May contain unused imports in some cases
17-
// @ts-ignore
18-
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1916
// May contain unused imports in some cases
2017
// @ts-ignore
2118
import { OrganizationItemAddress } from './organization-item-address';
@@ -62,9 +59,9 @@ export interface AddOrganizationRequest {
6259
*/
6360
'address'?: OrganizationItemAddress;
6461
/**
65-
* A map of custom fields with hash-based keys
66-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
62+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
63+
* @type {{ [key: string]: any | undefined; }}
6764
*/
68-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
65+
'custom_fields'?: { [key: string]: any | undefined; };
6966
}
7067

src/versions/v2/models/deal-item.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

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

2017
/**
2118
*
@@ -174,9 +171,9 @@ export interface DealItem {
174171
*/
175172
'acv'?: number | null;
176173
/**
177-
* A map of custom fields with hash-based keys
178-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
174+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
175+
* @type {{ [key: string]: any | undefined; }}
179176
*/
180-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
177+
'custom_fields'?: { [key: string]: any | undefined; };
181178
}
182179

src/versions/v2/models/deal-item1.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

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

2017
/**
2118
* The deal object
@@ -174,9 +171,9 @@ export interface DealItem1 {
174171
*/
175172
'acv'?: number | null;
176173
/**
177-
* A map of custom fields with hash-based keys
178-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
174+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
175+
* @type {{ [key: string]: any | undefined; }}
179176
*/
180-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
177+
'custom_fields'?: { [key: string]: any | undefined; };
181178
}
182179

src/versions/v2/models/get-persons-response-all-of-data-inner.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

16-
// May contain unused imports in some cases
17-
// @ts-ignore
18-
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1916
// May contain unused imports in some cases
2017
// @ts-ignore
2118
import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
@@ -131,9 +128,9 @@ export interface GetPersonsResponseAllOfDataInner {
131128
*/
132129
'job_title'?: string;
133130
/**
134-
* A map of custom fields with hash-based keys
135-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
131+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
132+
* @type {{ [key: string]: any | undefined; }}
136133
*/
137-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
134+
'custom_fields'?: { [key: string]: any | undefined; };
138135
}
139136

src/versions/v2/models/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export * from './base-response';
3434
export * from './convert-lead-to-deal-request';
3535
export * from './deal-item';
3636
export * from './deal-item1';
37-
export * from './deal-item-custom-fields-value';
3837
export * from './deal-product-request-body';
3938
export * from './deal-product-request-body1';
4039
export * from './delete-activity-response';

src/versions/v2/models/organization-item.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
*/
1414

1515

16-
// May contain unused imports in some cases
17-
// @ts-ignore
18-
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1916
// May contain unused imports in some cases
2017
// @ts-ignore
2118
import { OrganizationItemAddress } from './organization-item-address';
@@ -72,9 +69,9 @@ export interface OrganizationItem {
7269
*/
7370
'label_ids'?: Array<number>;
7471
/**
75-
* A map of custom fields with hash-based keys
76-
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
72+
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
73+
* @type {{ [key: string]: any | undefined; }}
7774
*/
78-
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
75+
'custom_fields'?: { [key: string]: any | undefined; };
7976
}
8077

0 commit comments

Comments
 (0)