pipedrive 17.1.0 → 17.1.1

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
+ ## 17.1.1
12
+ ### Changed
13
+ - Description for product requests
14
+
11
15
  ## 17.1.0
12
16
  ### Removed
13
17
  - Removed deprecated endpoints that were deleted:
@@ -190,7 +190,7 @@ AddProductRequestBody.prototype['visible_to'] = undefined;
190
190
 
191
191
  AddProductRequestBody.prototype['owner_id'] = undefined;
192
192
  /**
193
- * An 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.
193
+ * An 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, a default price of 0 and a default currency based on the company's currency will be assigned.
194
194
  * @member {Array.<Object>} prices
195
195
  */
196
196
 
@@ -245,7 +245,7 @@ _ProductRequest["default"].prototype['visible_to'] = undefined;
245
245
 
246
246
  _ProductRequest["default"].prototype['owner_id'] = undefined;
247
247
  /**
248
- * An 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.
248
+ * An 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, a default price of 0 and a default currency based on the company's currency will be assigned.
249
249
  * @member {Array.<Object>} prices
250
250
  */
251
251
 
@@ -161,7 +161,7 @@ ProductRequest.prototype['visible_to'] = undefined;
161
161
 
162
162
  ProductRequest.prototype['owner_id'] = undefined;
163
163
  /**
164
- * An 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.
164
+ * An 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, a default price of 0 and a default currency based on the company's currency will be assigned.
165
165
  * @member {Array.<Object>} prices
166
166
  */
167
167
 
@@ -258,7 +258,7 @@ RecentDataProduct.prototype['add_time'] = undefined;
258
258
 
259
259
  RecentDataProduct.prototype['update_time'] = undefined;
260
260
  /**
261
- * 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.
261
+ * 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, a default price of 0 and a default currency based on the company's currency will be assigned.
262
262
  * @member {Array.<Object>} prices
263
263
  */
264
264
 
@@ -190,7 +190,7 @@ UpdateProductRequestBody.prototype['visible_to'] = undefined;
190
190
 
191
191
  UpdateProductRequestBody.prototype['owner_id'] = undefined;
192
192
  /**
193
- * An 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.
193
+ * An 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, a default price of 0 and a default currency based on the company's currency will be assigned.
194
194
  * @member {Array.<Object>} prices
195
195
  */
196
196
 
@@ -245,7 +245,7 @@ _ProductRequest["default"].prototype['visible_to'] = undefined;
245
245
 
246
246
  _ProductRequest["default"].prototype['owner_id'] = undefined;
247
247
  /**
248
- * An 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.
248
+ * An 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, a default price of 0 and a default currency based on the company's currency will be assigned.
249
249
  * @member {Array.<Object>} prices
250
250
  */
251
251
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "17.1.0",
3
+ "version": "17.1.1",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",