pipedrive 13.0.7 → 13.0.8

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## 13.0.8
12
+ ### Changed
13
+ - Improve Products `price` description
14
+
11
15
  ## 13.0.7
12
16
  ### Changed
13
17
  - Changed/improve Products `visible_to` type, and differentiate options by plans
@@ -180,7 +180,7 @@ AddProductRequestBody.prototype['visible_to'] = undefined;
180
180
 
181
181
  AddProductRequestBody.prototype['owner_id'] = undefined;
182
182
  /**
183
- * Array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product
183
+ * Object containing price objects, where each key is the price currency code, and each value is the price object. Each price object contains: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product.
184
184
  * @member {Array.<Object>} prices
185
185
  */
186
186
 
@@ -234,7 +234,7 @@ _ProductRequest["default"].prototype['visible_to'] = undefined;
234
234
 
235
235
  _ProductRequest["default"].prototype['owner_id'] = undefined;
236
236
  /**
237
- * Array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product
237
+ * Object containing price objects, where each key is the price currency code, and each value is the price object. Each price object contains: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product.
238
238
  * @member {Array.<Object>} prices
239
239
  */
240
240
 
@@ -172,7 +172,7 @@ ProductRequest.prototype['visible_to'] = undefined;
172
172
 
173
173
  ProductRequest.prototype['owner_id'] = undefined;
174
174
  /**
175
- * Array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product
175
+ * Object containing price objects, where each key is the price currency code, and each value is the price object. Each price object contains: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, no prices will be set up for the product.
176
176
  * @member {Array.<Object>} prices
177
177
  */
178
178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "13.0.7",
3
+ "version": "13.0.8",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",