Skip to content

Commit eb9b92f

Browse files
author
jenkins User
committed
Release v23.2.1 from PR #542
2 parents f14c853 + 8c70162 commit eb9b92f

9 files changed

+55
-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+
## [23.2.1] - 2024-08-01
12+
### Fixed
13+
- Added missing "description" parameter to "Add a product" and "Update a product" endpoints
14+
1115
## [23.2.0] - 2024-07-25
1216
### Added
1317
- Notice informing the users of the upcoming Activity Invites feature deprecation:
@@ -657,7 +661,8 @@ structure
657661
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
658662
* Fixed typo in lead example response (`crrency` to `currency`)
659663

660-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.0...HEAD
664+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.1...HEAD
665+
[23.2.1]: https://github.com/pipedrive/api-docs/compare/v23.2.0...v23.2.1
661666
[23.2.0]: https://github.com/pipedrive/api-docs/compare/v23.1.0...v23.2.0
662667
[23.1.0]: https://github.com/pipedrive/api-docs/compare/v23.0.0...v23.1.0
663668
[23.0.0]: https://github.com/pipedrive/api-docs/compare/v22.10.1...v23.0.0

docs/AddProductRequestBody.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | The name of the product | [optional]
88
**code** | **String** | The product code | [optional]
9+
**description** | **String** | The product description | [optional]
910
**unit** | **String** | The unit in which this product is sold | [optional]
1011
**tax** | **Number** | The tax percentage | [optional] [default to 0]
1112
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]

docs/ProductRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**code** | **String** | The product code | [optional]
8+
**description** | **String** | The product description | [optional]
89
**unit** | **String** | The unit in which this product is sold | [optional]
910
**tax** | **Number** | The tax percentage | [optional] [default to 0]
1011
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]

docs/UpdateProductRequestBody.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | The name of the product | [optional]
88
**code** | **String** | The product code | [optional]
9+
**description** | **String** | The product description | [optional]
910
**unit** | **String** | The unit in which this product is sold | [optional]
1011
**tax** | **Number** | The tax percentage | [optional] [default to 0]
1112
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]

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": "23.2.0",
3+
"version": "23.2.1",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"main": "dist/index.js",

src/model/AddProductRequestBody.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ class AddProductRequestBody {
7171

7272
delete data['code'];
7373
}
74+
if (data.hasOwnProperty('description')) {
75+
obj['description'] = ApiClient.convertToType(data['description'], 'String');
76+
77+
delete data['description'];
78+
}
7479
if (data.hasOwnProperty('unit')) {
7580
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');
7681

@@ -140,6 +145,12 @@ AddProductRequestBody.prototype['name'] = undefined;
140145
*/
141146
AddProductRequestBody.prototype['code'] = undefined;
142147

148+
/**
149+
* The product description
150+
* @member {String} description
151+
*/
152+
AddProductRequestBody.prototype['description'] = undefined;
153+
143154
/**
144155
* The unit in which this product is sold
145156
* @member {String} unit
@@ -209,6 +220,11 @@ NameObject.prototype['name'] = undefined;
209220
* @member {String} code
210221
*/
211222
ProductRequest.prototype['code'] = undefined;
223+
/**
224+
* The product description
225+
* @member {String} description
226+
*/
227+
ProductRequest.prototype['description'] = undefined;
212228
/**
213229
* The unit in which this product is sold
214230
* @member {String} unit

src/model/ProductRequest.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ class ProductRequest {
5353

5454
delete data['code'];
5555
}
56+
if (data.hasOwnProperty('description')) {
57+
obj['description'] = ApiClient.convertToType(data['description'], 'String');
58+
59+
delete data['description'];
60+
}
5661
if (data.hasOwnProperty('unit')) {
5762
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');
5863

@@ -106,6 +111,12 @@ class ProductRequest {
106111
*/
107112
ProductRequest.prototype['code'] = undefined;
108113

114+
/**
115+
* The product description
116+
* @member {String} description
117+
*/
118+
ProductRequest.prototype['description'] = undefined;
119+
109120
/**
110121
* The unit in which this product is sold
111122
* @member {String} unit

src/model/UpdateProductRequestBody.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ class UpdateProductRequestBody {
7171

7272
delete data['code'];
7373
}
74+
if (data.hasOwnProperty('description')) {
75+
obj['description'] = ApiClient.convertToType(data['description'], 'String');
76+
77+
delete data['description'];
78+
}
7479
if (data.hasOwnProperty('unit')) {
7580
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');
7681

@@ -140,6 +145,12 @@ UpdateProductRequestBody.prototype['name'] = undefined;
140145
*/
141146
UpdateProductRequestBody.prototype['code'] = undefined;
142147

148+
/**
149+
* The product description
150+
* @member {String} description
151+
*/
152+
UpdateProductRequestBody.prototype['description'] = undefined;
153+
143154
/**
144155
* The unit in which this product is sold
145156
* @member {String} unit
@@ -209,6 +220,11 @@ NameObject.prototype['name'] = undefined;
209220
* @member {String} code
210221
*/
211222
ProductRequest.prototype['code'] = undefined;
223+
/**
224+
* The product description
225+
* @member {String} description
226+
*/
227+
ProductRequest.prototype['description'] = undefined;
212228
/**
213229
* The unit in which this product is sold
214230
* @member {String} unit

0 commit comments

Comments
 (0)