Skip to content

Commit 6a02c95

Browse files
Release v31.5.0 from PR #707
2 parents 19ca025 + 45bd8c4 commit 6a02c95

7 files changed

Lines changed: 43 additions & 22 deletions

File tree

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [31.5.0] - 2026-03-04
12+
### Added
13+
- Added `source_deal_id` field to Lead schema to track the deal ID when a lead is converted from a deal
14+
- Added `source_lead_id` field to v2 Deal schema to track the lead ID when a deal is converted from a lead
15+
1116
## [31.4.0] - 2026-02-16
1217
### Fixed
1318
- Fixed `GET /v1/deals/{id}/participants` and `POST /v1/deals/{id}/participants` response schemas to accurately represent the API response structure. Added `DealParticipantItem` schema with proper nesting of `email` and `phone` fields within `person_id` object, replacing incorrect `PersonItem` reference.
@@ -1121,7 +1126,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
11211126
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
11221127
* Fixed typo in lead example response (`crrency` to `currency`)
11231128

1124-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v31.4.0...HEAD
1129+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v31.5.0...HEAD
1130+
[31.5.0]: https://github.com/pipedrive/api-docs/compare/v31.4.0...v31.5.0
11251131
[31.4.0]: https://github.com/pipedrive/api-docs/compare/v31.3.0...v31.4.0
11261132
[31.3.0]: https://github.com/pipedrive/api-docs/compare/v31.2.1...v31.3.0
11271133
[31.2.1]: https://github.com/pipedrive/api-docs/compare/v31.2.0...v31.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": "31.4.0",
3+
"version": "31.5.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/models/lead.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ export interface Lead {
8484
*/
8585
'channel_id': string | null;
8686
/**
87+
* The ID of the deal if the lead was converted from a deal.
88+
* @type {number}
89+
*/
90+
'source_deal_id': number | null;
91+
/**
8792
* A flag indicating whether the lead is archived or not
8893
* @type {boolean}
8994
*/

src/versions/v2/api/deals-api.ts

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ export interface DealItem {
156156
*/
157157
'channel_id'?: string | null;
158158
/**
159+
* The ID of the lead if the deal was converted from a lead. Only included when requested via include_fields parameter.
160+
* @type {string}
161+
*/
162+
'source_lead_id'?: string | null;
163+
/**
159164
* Only available in Growth and above plans The Annual Recurring Revenue of the deal Null if there are no products attached to the deal
160165
* @type {number}
161166
*/

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ export interface DealItem1 {
156156
*/
157157
'channel_id'?: string | null;
158158
/**
159+
* The ID of the lead if the deal was converted from a lead. Only included when requested via include_fields parameter.
160+
* @type {string}
161+
*/
162+
'source_lead_id'?: string | null;
163+
/**
159164
* Only available in Growth and above plans The Annual Recurring Revenue of the deal Null if there are no products attached to the deal
160165
* @type {number}
161166
*/

0 commit comments

Comments
 (0)