Skip to content

Commit 833cb7e

Browse files
Release v30.1.0 from PR #674
2 parents 367b7d0 + fb55575 commit 833cb7e

11 files changed

Lines changed: 408 additions & 16 deletions

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+
## [30.1.0] - 2025-10-06
12+
### Added
13+
- Added `POST /deals/{id}/products/bulk` endpoint for creating multiple deal products at once (max 100 per request)
14+
- Added `DELETE /deals/{id}/products` endpoint for deleting multiple deal products at once (max 100 per request)
15+
1116
## [30.0.0] - 2025-10-06
1217
### Changed
1318
- Removed deprecated `person_name`, `organization_name`, and `email` lead fields from itemSearch endpoints
@@ -967,7 +972,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
967972
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
968973
* Fixed typo in lead example response (`crrency` to `currency`)
969974

970-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.0.0...HEAD
975+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.1.0...HEAD
976+
[30.1.0]: https://github.com/pipedrive/api-docs/compare/v30.0.0...v30.1.0
971977
[30.0.0]: https://github.com/pipedrive/api-docs/compare/v29.2.5...v30.0.0
972978
[29.2.5]: https://github.com/pipedrive/api-docs/compare/v29.2.4...v29.2.5
973979
[29.2.4]: https://github.com/pipedrive/api-docs/compare/v29.2.3...v29.2.4

docs/v2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ BetaApi | uploadProductImage | **POST** /products/{id}/images | Upload an image
2424
DealsApi | addDeal | **POST** /deals | Add a new deal
2525
DealsApi | addDealFollower | **POST** /deals/{id}/followers | Add a follower to a deal
2626
DealsApi | addDealProduct | **POST** /deals/{id}/products | Add a product to a deal
27+
DealsApi | addManyDealProducts | **POST** /deals/{id}/products/bulk | Add multiple products to a deal
2728
DealsApi | convertDealToLead | **POST** /deals/{id}/convert/lead | Convert a deal to a lead (BETA)
2829
DealsApi | deleteAdditionalDiscount | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
2930
DealsApi | deleteDeal | **DELETE** /deals/{id} | Delete a deal
3031
DealsApi | deleteDealFollower | **DELETE** /deals/{id}/followers/{follower_id} | Delete a follower from a deal
3132
DealsApi | deleteDealProduct | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
3233
DealsApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
34+
DealsApi | deleteManyDealProducts | **DELETE** /deals/{id}/products | Delete many products from a deal
3335
DealsApi | getAdditionalDiscounts | **GET** /deals/{id}/discounts | List discounts added to a deal
3436
DealsApi | getArchivedDeals | **GET** /deals/archived | Get all archived deals
3537
DealsApi | getDeal | **GET** /deals/{id} | Get details of a deal

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

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

Lines changed: 219 additions & 12 deletions
Large diffs are not rendered by default.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { GetDealsProductsResponseDataInner } from './get-deals-products-response-data-inner';
19+
20+
/**
21+
*
22+
* @export
23+
* @interface AddManyDealProductResponse
24+
*/
25+
export interface AddManyDealProductResponse {
26+
/**
27+
* If the response is successful or not
28+
* @type {boolean}
29+
*/
30+
'success'?: boolean;
31+
/**
32+
* Array of created deal products
33+
* @type {Array<GetDealsProductsResponseDataInner>}
34+
*/
35+
'data'?: Array<GetDealsProductsResponseDataInner>;
36+
}
37+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { AddDealProductRequest } from './add-deal-product-request';
19+
20+
/**
21+
*
22+
* @export
23+
* @interface CreateManyDealProductRequest
24+
*/
25+
export interface CreateManyDealProductRequest {
26+
/**
27+
* Array of products to attach to the deal. See the single product endpoint (https://developers.pipedrive.com/docs/api/v1/Deals#addDealProduct) for the expected format of array items.
28+
* @type {Array<AddDealProductRequest>}
29+
*/
30+
'data': Array<AddDealProductRequest>;
31+
}
32+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
*
19+
* @export
20+
* @interface DeleteManyDealProductResponseAdditionalData
21+
*/
22+
export interface DeleteManyDealProductResponseAdditionalData {
23+
/**
24+
* Whether there are more products to delete (when the deal has more than 100 products)
25+
* @type {boolean}
26+
*/
27+
'more_items_in_collection'?: boolean;
28+
}
29+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
*
19+
* @export
20+
* @interface DeleteManyDealProductResponseData
21+
*/
22+
export interface DeleteManyDealProductResponseData {
23+
/**
24+
* Array of IDs of products that were deleted from the deal
25+
* @type {Array<number>}
26+
*/
27+
'ids'?: Array<number>;
28+
}
29+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DeleteManyDealProductResponseAdditionalData } from './delete-many-deal-product-response-additional-data';
19+
// May contain unused imports in some cases
20+
// @ts-ignore
21+
import { DeleteManyDealProductResponseData } from './delete-many-deal-product-response-data';
22+
23+
/**
24+
*
25+
* @export
26+
* @interface DeleteManyDealProductResponse
27+
*/
28+
export interface DeleteManyDealProductResponse {
29+
/**
30+
* If the response is successful or not
31+
* @type {boolean}
32+
*/
33+
'success'?: boolean;
34+
/**
35+
*
36+
* @type {DeleteManyDealProductResponseData}
37+
*/
38+
'data'?: DeleteManyDealProductResponseData;
39+
/**
40+
*
41+
* @type {DeleteManyDealProductResponseAdditionalData}
42+
*/
43+
'additional_data'?: DeleteManyDealProductResponseAdditionalData | null;
44+
}
45+

0 commit comments

Comments
 (0)