Skip to content

Commit 19b174d

Browse files
Release v31.2.0 from PR #701
2 parents f4e216c + 22c45bf commit 19b174d

7 files changed

Lines changed: 43 additions & 37 deletions

File tree

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [31.2.0] - 2026-01-30
12+
### Changed
13+
- Removed beta labels from v2 lead/deal conversion endpoints:
14+
- `GET /api/v2/leads/{id}/convert/status/{conversion_id}`
15+
- `POST /api/v2/leads/{id}/convert`
16+
- `GET /api/v2/deals/{id}/convert/status/{conversion_id}`
17+
- `POST /api/v2/deals/{id}/convert`
18+
- Removed beta labels from v2 deal installments endpoints:
19+
- `GET /api/v2/deals/installments`
20+
- `POST /api/v2/deals/{id}/installments`
21+
- `PATCH /api/v2/deals/{id}/installments/{installment_id}`
22+
- `DELETE /api/v2/deals/{id}/installments/{installment_id}`
23+
- Removed beta labels from v2 product images endpoints:
24+
- `GET /api/v2/products/{id}/images`
25+
- `POST /api/v2/products/{id}/images`
26+
- `PUT /api/v2/products/{id}/images`
27+
- `DELETE /api/v2/products/{id}/images`
28+
1129
## [31.1.0] - 2026-01-30
1230
### Added
1331
- Added `updated_since` query parameter to `GET /v1/leads` endpoint to filter leads by their `update_time`
@@ -1086,7 +1104,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
10861104
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
10871105
* Fixed typo in lead example response (`crrency` to `currency`)
10881106

1089-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v31.1.0...HEAD
1107+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v31.2.0...HEAD
1108+
[31.2.0]: https://github.com/pipedrive/api-docs/compare/v31.1.0...v31.2.0
10901109
[31.1.0]: https://github.com/pipedrive/api-docs/compare/v31.0.0...v31.1.0
10911110
[31.0.0]: https://github.com/pipedrive/api-docs/compare/v30.11.0...v31.0.0
10921111
[30.11.0]: https://github.com/pipedrive/api-docs/compare/v30.10.0...v30.11.0

docs/v2.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,6 @@ ActivitiesApi | getActivity | **GET** /activities/{id} | Get details of an activ
1111
ActivitiesApi | updateActivity | **PATCH** /activities/{id} | Update an activity
1212
ActivityFieldsApi | getActivityField | **GET** /activityFields/{field_code} | Get one activity field
1313
ActivityFieldsApi | getActivityFields | **GET** /activityFields | Get all activity fields
14-
BetaApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead (BETA)
15-
BetaApi | convertLeadToDeal | **POST** /leads/{id}/convert/deal | Convert a lead to a deal (BETA)
16-
BetaApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
17-
BetaApi | deleteProductImage | **DELETE** /products/{id}/images | Delete an image of a product
18-
BetaApi | getDealConversionStatus | **GET** /deals/{id}/convert/status/{conversion_id} | Get Deal conversion status (BETA)
19-
BetaApi | getInstallments | **GET** /deals/installments | List installments added to a list of deals
20-
BetaApi | getLeadConversionStatus | **GET** /leads/{id}/convert/status/{conversion_id} | Get Lead conversion status (BETA)
21-
BetaApi | getProductImage | **GET** /products/{id}/images | Get image of a product
22-
BetaApi | postInstallment | **POST** /deals/{id}/installments | Add an installment to a deal
23-
BetaApi | updateInstallment | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
24-
BetaApi | updateProductImage | **PUT** /products/{id}/images | Update an image for a product
25-
BetaApi | uploadProductImage | **POST** /products/{id}/images | Upload an image for a product
2614
DealFieldsApi | addDealField | **POST** /dealFields | Create one deal field
2715
DealFieldsApi | addDealFieldOptions | **POST** /dealFields/{field_code}/options | Add deal field options in bulk
2816
DealFieldsApi | deleteDealField | **DELETE** /dealFields/{field_code} | Delete one deal field
@@ -35,7 +23,7 @@ DealsApi | addDeal | **POST** /deals | Add a new deal
3523
DealsApi | addDealFollower | **POST** /deals/{id}/followers | Add a follower to a deal
3624
DealsApi | addDealProduct | **POST** /deals/{id}/products | Add a product to a deal
3725
DealsApi | addManyDealProducts | **POST** /deals/{id}/products/bulk | Add multiple products to a deal
38-
DealsApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead (BETA)
26+
DealsApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead
3927
DealsApi | deleteAdditionalDiscount | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
4028
DealsApi | deleteDeal | **DELETE** /deals/{id} | Delete a deal
4129
DealsApi | deleteDealFollower | **DELETE** /deals/{id}/followers/{follower_id} | Delete a follower from a deal
@@ -45,7 +33,7 @@ DealsApi | deleteManyDealProducts | **DELETE** /deals/{id}/products | Delete man
4533
DealsApi | getAdditionalDiscounts | **GET** /deals/{id}/discounts | List discounts added to a deal
4634
DealsApi | getArchivedDeals | **GET** /deals/archived | Get all archived deals
4735
DealsApi | getDeal | **GET** /deals/{id} | Get details of a deal
48-
DealsApi | getDealConversionStatus | **GET** /deals/{id}/convert/status/{conversion_id} | Get Deal conversion status (BETA)
36+
DealsApi | getDealConversionStatus | **GET** /deals/{id}/convert/status/{conversion_id} | Get Deal conversion status
4937
DealsApi | getDealFollowers | **GET** /deals/{id}/followers | List followers of a deal
5038
DealsApi | getDealFollowersChangelog | **GET** /deals/{id}/followers/changelog | List followers changelog of a deal
5139
DealsApi | getDealProducts | **GET** /deals/{id}/products | List products attached to a deal
@@ -61,8 +49,8 @@ DealsApi | updateDealProduct | **PATCH** /deals/{id}/products/{product_attachmen
6149
DealsApi | updateInstallment | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
6250
ItemSearchApi | searchItem | **GET** /itemSearch | Perform a search from multiple item types
6351
ItemSearchApi | searchItemByField | **GET** /itemSearch/field | Perform a search using a specific field from an item type
64-
LeadsApi | convertLeadToDeal | **POST** /leads/{id}/convert/deal | Convert a lead to a deal (BETA)
65-
LeadsApi | getLeadConversionStatus | **GET** /leads/{id}/convert/status/{conversion_id} | Get Lead conversion status (BETA)
52+
LeadsApi | convertLeadToDeal | **POST** /leads/{id}/convert/deal | Convert a lead to a deal
53+
LeadsApi | getLeadConversionStatus | **GET** /leads/{id}/convert/status/{conversion_id} | Get Lead conversion status
6654
LeadsApi | searchLeads | **GET** /leads/search | Search leads
6755
OrganizationFieldsApi | addOrganizationField | **POST** /organizationFields | Create one organization field
6856
OrganizationFieldsApi | addOrganizationFieldOptions | **POST** /organizationFields/{field_code}/options | Add organization field options in bulk

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.1.0",
3+
"version": "31.2.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v2/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
export * from './api/activities-api';
1818
export * from './api/activity-fields-api';
19-
export * from './api/beta-api';
2019
export * from './api/deal-fields-api';
2120
export * from './api/deals-api';
2221
export * from './api/item-search-api';

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
273273
},
274274
/**
275275
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
276-
* @summary Convert a deal to a lead (BETA)
276+
* @summary Convert a deal to a lead
277277
* @param {number} id The ID of the deal to convert
278278
279279
* @throws {RequiredError}
@@ -790,7 +790,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
790790
},
791791
/**
792792
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
793-
* @summary Get Deal conversion status (BETA)
793+
* @summary Get Deal conversion status
794794
* @param {number} id The ID of a deal
795795
* @param {string} conversion_id The ID of the conversion
796796
@@ -1667,7 +1667,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
16671667
},
16681668
/**
16691669
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
1670-
* @summary Convert a deal to a lead (BETA)
1670+
* @summary Convert a deal to a lead
16711671
* @param {number} id The ID of the deal to convert
16721672
16731673
* @throws {RequiredError}
@@ -1799,7 +1799,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
17991799
},
18001800
/**
18011801
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
1802-
* @summary Get Deal conversion status (BETA)
1802+
* @summary Get Deal conversion status
18031803
* @param {number} id The ID of a deal
18041804
* @param {string} conversion_id The ID of the conversion
18051805
@@ -2052,7 +2052,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
20522052
},
20532053
/**
20542054
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
2055-
* @summary Convert a deal to a lead (BETA)
2055+
* @summary Convert a deal to a lead
20562056
* @param {DealsApiConvertDealToLeadRequest} requestParameters Request parameters.
20572057
20582058
* @throws {RequiredError}
@@ -2152,7 +2152,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
21522152
},
21532153
/**
21542154
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
2155-
* @summary Get Deal conversion status (BETA)
2155+
* @summary Get Deal conversion status
21562156
* @param {DealsApiGetDealConversionStatusRequest} requestParameters Request parameters.
21572157
21582158
* @throws {RequiredError}
@@ -3260,7 +3260,7 @@ export class DealsApi extends BaseAPI {
32603260

32613261
/**
32623262
* Initiates a conversion of a deal to a lead. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. There are exceptions for entities like invoices or history that are not transferred and remain linked to the original deal. If the conversion is successful, the deal is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDealConversionStatus\">/api/v2/deals/{deal_id}/convert/status/{conversion_id}</a> endpoint.
3263-
* @summary Convert a deal to a lead (BETA)
3263+
* @summary Convert a deal to a lead
32643264
* @param {DealsApiConvertDealToLeadRequest} requestParameters Request parameters.
32653265
32663266
* @throws {RequiredError}
@@ -3380,7 +3380,7 @@ export class DealsApi extends BaseAPI {
33803380

33813381
/**
33823382
* Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
3383-
* @summary Get Deal conversion status (BETA)
3383+
* @summary Get Deal conversion status
33843384
* @param {DealsApiGetDealConversionStatusRequest} requestParameters Request parameters.
33853385
33863386
* @throws {RequiredError}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
3939
return {
4040
/**
4141
* Initiates a conversion of a lead to a deal. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. If the conversion is successful, the lead is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Leads#getLeadConversionStatus\">/api/v2/leads/{lead_id}/convert/status/{conversion_id}</a> endpoint.
42-
* @summary Convert a lead to a deal (BETA)
42+
* @summary Convert a lead to a deal
4343
* @param {string} id The ID of the lead to convert
4444
* @param {ConvertLeadToDealRequest} [ConvertLeadToDealRequest]
4545
@@ -84,7 +84,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
8484
},
8585
/**
8686
* Returns data about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Deal ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
87-
* @summary Get Lead conversion status (BETA)
87+
* @summary Get Lead conversion status
8888
* @param {string} id The ID of a lead
8989
* @param {string} conversion_id The ID of the conversion
9090
@@ -219,7 +219,7 @@ export const LeadsApiFp = function(configuration?: Configuration) {
219219
return {
220220
/**
221221
* Initiates a conversion of a lead to a deal. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. If the conversion is successful, the lead is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Leads#getLeadConversionStatus\">/api/v2/leads/{lead_id}/convert/status/{conversion_id}</a> endpoint.
222-
* @summary Convert a lead to a deal (BETA)
222+
* @summary Convert a lead to a deal
223223
* @param {string} id The ID of the lead to convert
224224
* @param {ConvertLeadToDealRequest} [ConvertLeadToDealRequest]
225225
@@ -231,7 +231,7 @@ export const LeadsApiFp = function(configuration?: Configuration) {
231231
},
232232
/**
233233
* Returns data about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Deal ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
234-
* @summary Get Lead conversion status (BETA)
234+
* @summary Get Lead conversion status
235235
* @param {string} id The ID of a lead
236236
* @param {string} conversion_id The ID of the conversion
237237
@@ -271,7 +271,7 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
271271
return {
272272
/**
273273
* Initiates a conversion of a lead to a deal. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. If the conversion is successful, the lead is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Leads#getLeadConversionStatus\">/api/v2/leads/{lead_id}/convert/status/{conversion_id}</a> endpoint.
274-
* @summary Convert a lead to a deal (BETA)
274+
* @summary Convert a lead to a deal
275275
* @param {LeadsApiConvertLeadToDealRequest} requestParameters Request parameters.
276276
277277
* @throws {RequiredError}
@@ -281,7 +281,7 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
281281
},
282282
/**
283283
* Returns data about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Deal ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
284-
* @summary Get Lead conversion status (BETA)
284+
* @summary Get Lead conversion status
285285
* @param {LeadsApiGetLeadConversionStatusRequest} requestParameters Request parameters.
286286
287287
* @throws {RequiredError}
@@ -416,7 +416,7 @@ export interface LeadsApiSearchLeadsRequest {
416416
export class LeadsApi extends BaseAPI {
417417
/**
418418
* Initiates a conversion of a lead to a deal. The return value is an ID of a job that was assigned to perform the conversion. Related entities (notes, files, emails, activities, ...) are transferred during the process to the target entity. If the conversion is successful, the lead is marked as deleted. To retrieve the created entity ID and the result of the conversion, call the <a href=\"https://developers.pipedrive.com/docs/api/v1/Leads#getLeadConversionStatus\">/api/v2/leads/{lead_id}/convert/status/{conversion_id}</a> endpoint.
419-
* @summary Convert a lead to a deal (BETA)
419+
* @summary Convert a lead to a deal
420420
* @param {LeadsApiConvertLeadToDealRequest} requestParameters Request parameters.
421421
422422
* @throws {RequiredError}
@@ -428,7 +428,7 @@ export class LeadsApi extends BaseAPI {
428428

429429
/**
430430
* Returns data about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Deal ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.
431-
* @summary Get Lead conversion status (BETA)
431+
* @summary Get Lead conversion status
432432
* @param {LeadsApiGetLeadConversionStatusRequest} requestParameters Request parameters.
433433
434434
* @throws {RequiredError}

0 commit comments

Comments
 (0)