Skip to content

Commit 66bd0d3

Browse files
author
pipedrive-bot
committed
Build 275 - version-patch
1 parent 9fcb488 commit 66bd0d3

12 files changed

+32
-61
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
77
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).
88

99
## [Unreleased]
10+
### Fixed
11+
- Fixed incorrect `custom_fields` schema implementations by using the proper shared definition from `custom-fields.yaml`
1012

1113
## [29.2.1] - 2025-09-03
1214
### Added

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

src/versions/v2/models/organization-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
// May contain unused imports in some cases
2017
// @ts-ignore
2118
import { OrganizationItemAddress } from './organization-item-address';
@@ -72,9 +69,9 @@ export interface OrganizationItem1 {
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

src/versions/v2/models/update-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 UpdateDealRequest {
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

0 commit comments

Comments
 (0)