Skip to content

Commit

Permalink
Release v23.2.1 from PR #542
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins User committed Aug 1, 2024
2 parents f14c853 + 8c70162 commit eb9b92f
Show file tree
Hide file tree
Showing 9 changed files with 55 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an

## [Unreleased]

## [23.2.1] - 2024-08-01
### Fixed
- Added missing "description" parameter to "Add a product" and "Update a product" endpoints

## [23.2.0] - 2024-07-25
### Added
- Notice informing the users of the upcoming Activity Invites feature deprecation:
Expand Down Expand Up @@ -657,7 +661,8 @@ structure
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
* Fixed typo in lead example response (`crrency` to `currency`)

[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.0...HEAD
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v23.2.1...HEAD
[23.2.1]: https://github.com/pipedrive/api-docs/compare/v23.2.0...v23.2.1
[23.2.0]: https://github.com/pipedrive/api-docs/compare/v23.1.0...v23.2.0
[23.1.0]: https://github.com/pipedrive/api-docs/compare/v23.0.0...v23.1.0
[23.0.0]: https://github.com/pipedrive/api-docs/compare/v22.10.1...v23.0.0
Expand Down
1 change: 1 addition & 0 deletions docs/AddProductRequestBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name of the product | [optional]
**code** | **String** | The product code | [optional]
**description** | **String** | The product description | [optional]
**unit** | **String** | The unit in which this product is sold | [optional]
**tax** | **Number** | The tax percentage | [optional] [default to 0]
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]
Expand Down
1 change: 1 addition & 0 deletions docs/ProductRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**code** | **String** | The product code | [optional]
**description** | **String** | The product description | [optional]
**unit** | **String** | The unit in which this product is sold | [optional]
**tax** | **Number** | The tax percentage | [optional] [default to 0]
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]
Expand Down
1 change: 1 addition & 0 deletions docs/UpdateProductRequestBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name of the product | [optional]
**code** | **String** | The product code | [optional]
**description** | **String** | The product description | [optional]
**unit** | **String** | The unit in which this product is sold | [optional]
**tax** | **Number** | The tax percentage | [optional] [default to 0]
**active_flag** | **Boolean** | Whether this product will be made active or not | [optional] [default to true]
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pipedrive",
"version": "23.2.0",
"version": "23.2.1",
"description": "Pipedrive REST client for NodeJS",
"license": "MIT",
"main": "dist/index.js",
Expand Down
16 changes: 16 additions & 0 deletions src/model/AddProductRequestBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class AddProductRequestBody {

delete data['code'];
}
if (data.hasOwnProperty('description')) {
obj['description'] = ApiClient.convertToType(data['description'], 'String');

delete data['description'];
}
if (data.hasOwnProperty('unit')) {
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');

Expand Down Expand Up @@ -140,6 +145,12 @@ AddProductRequestBody.prototype['name'] = undefined;
*/
AddProductRequestBody.prototype['code'] = undefined;

/**
* The product description
* @member {String} description
*/
AddProductRequestBody.prototype['description'] = undefined;

/**
* The unit in which this product is sold
* @member {String} unit
Expand Down Expand Up @@ -209,6 +220,11 @@ NameObject.prototype['name'] = undefined;
* @member {String} code
*/
ProductRequest.prototype['code'] = undefined;
/**
* The product description
* @member {String} description
*/
ProductRequest.prototype['description'] = undefined;
/**
* The unit in which this product is sold
* @member {String} unit
Expand Down
11 changes: 11 additions & 0 deletions src/model/ProductRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ class ProductRequest {

delete data['code'];
}
if (data.hasOwnProperty('description')) {
obj['description'] = ApiClient.convertToType(data['description'], 'String');

delete data['description'];
}
if (data.hasOwnProperty('unit')) {
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');

Expand Down Expand Up @@ -106,6 +111,12 @@ class ProductRequest {
*/
ProductRequest.prototype['code'] = undefined;

/**
* The product description
* @member {String} description
*/
ProductRequest.prototype['description'] = undefined;

/**
* The unit in which this product is sold
* @member {String} unit
Expand Down
16 changes: 16 additions & 0 deletions src/model/UpdateProductRequestBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ class UpdateProductRequestBody {

delete data['code'];
}
if (data.hasOwnProperty('description')) {
obj['description'] = ApiClient.convertToType(data['description'], 'String');

delete data['description'];
}
if (data.hasOwnProperty('unit')) {
obj['unit'] = ApiClient.convertToType(data['unit'], 'String');

Expand Down Expand Up @@ -140,6 +145,12 @@ UpdateProductRequestBody.prototype['name'] = undefined;
*/
UpdateProductRequestBody.prototype['code'] = undefined;

/**
* The product description
* @member {String} description
*/
UpdateProductRequestBody.prototype['description'] = undefined;

/**
* The unit in which this product is sold
* @member {String} unit
Expand Down Expand Up @@ -209,6 +220,11 @@ NameObject.prototype['name'] = undefined;
* @member {String} code
*/
ProductRequest.prototype['code'] = undefined;
/**
* The product description
* @member {String} description
*/
ProductRequest.prototype['description'] = undefined;
/**
* The unit in which this product is sold
* @member {String} unit
Expand Down

0 comments on commit eb9b92f

Please sign in to comment.