Skip to content

Commit 88c83c9

Browse files
Release v28.0.2 from PR #653
2 parents 4e47b0f + 0fc4f23 commit 88c83c9

11 files changed

+81
-4
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+
## [28.0.2] - 2025-07-07
12+
### Added
13+
- Added `custom_fields` type to `deal`, `person`, `organization`, `product` schemas
14+
1115
## [28.0.1] - 2025-06-25
1216
### Fixed
1317
- Removed not supported `add_time`, `update_time` and `stage_change_time` from `PATCH /v2/deals/:id` request body
@@ -910,7 +914,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
910914
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
911915
* Fixed typo in lead example response (`crrency` to `currency`)
912916

913-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v28.0.1...HEAD
917+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v28.0.2...HEAD
918+
[28.0.2]: https://github.com/pipedrive/api-docs/compare/v28.0.1...v28.0.2
914919
[28.0.1]: https://github.com/pipedrive/api-docs/compare/v28.0.0...v28.0.1
915920
[28.0.0]: https://github.com/pipedrive/api-docs/compare/v27.2.1...v28.0.0
916921
[27.2.1]: https://github.com/pipedrive/api-docs/compare/v27.2.0...v27.2.1

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": "28.0.1",
3+
"version": "28.0.2",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Pipedrive API v2
5+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6+
*
7+
* The version of the OpenAPI document: 2.0.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
17+
/**
18+
* @type DealItemCustomFieldsValue
19+
* @export
20+
*/
21+
export type DealItemCustomFieldsValue = number | string | { [key: string]: any | undefined; };
22+
23+

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

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

1515

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

1720
/**
1821
*
@@ -170,5 +173,10 @@ export interface DealItem {
170173
* @type {number}
171174
*/
172175
'acv'?: number | null;
176+
/**
177+
* A map of custom fields with hash-based keys
178+
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
179+
*/
180+
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
173181
}
174182

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

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

1515

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

1720
/**
1821
* The deal object
@@ -170,5 +173,10 @@ export interface DealItem1 {
170173
* @type {number}
171174
*/
172175
'acv'?: number | null;
176+
/**
177+
* A map of custom fields with hash-based keys
178+
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
179+
*/
180+
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
173181
}
174182

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

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

1515

16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1619
// May contain unused imports in some cases
1720
// @ts-ignore
1821
import { GetPersonsResponseAllOfDataInnerEmailsInner } from './get-persons-response-all-of-data-inner-emails-inner';
@@ -127,5 +130,10 @@ export interface GetPersonsResponseAllOfDataInner {
127130
* @type {string}
128131
*/
129132
'job_title'?: string;
133+
/**
134+
* A map of custom fields with hash-based keys
135+
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
136+
*/
137+
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
130138
}
131139

src/versions/v2/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export * from './base-response';
3333
export * from './convert-lead-to-deal-request';
3434
export * from './deal-item';
3535
export * from './deal-item1';
36+
export * from './deal-item-custom-fields-value';
3637
export * from './deal-product-request-body';
3738
export * from './deal-product-request-body1';
3839
export * from './delete-activity-response';

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

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

1515

16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1619
// May contain unused imports in some cases
1720
// @ts-ignore
1821
import { OrganizationItemAddress } from './organization-item-address';
@@ -68,5 +71,10 @@ export interface OrganizationItem {
6871
* @type {Array<number>}
6972
*/
7073
'label_ids'?: Array<number>;
74+
/**
75+
* A map of custom fields with hash-based keys
76+
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
77+
*/
78+
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
7179
}
7280

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

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

1515

16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DealItemCustomFieldsValue } from './deal-item-custom-fields-value';
1619
// May contain unused imports in some cases
1720
// @ts-ignore
1821
import { OrganizationItemAddress } from './organization-item-address';
@@ -68,5 +71,10 @@ export interface OrganizationItem1 {
6871
* @type {Array<number>}
6972
*/
7073
'label_ids'?: Array<number>;
74+
/**
75+
* A map of custom fields with hash-based keys
76+
* @type {{ [key: string]: DealItemCustomFieldsValue | undefined; }}
77+
*/
78+
'custom_fields'?: { [key: string]: DealItemCustomFieldsValue | undefined; };
7179
}
7280

0 commit comments

Comments
 (0)