pipedrive 20.3.0 → 20.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1809,9 +1809,6 @@ var DealsApi = /*#__PURE__*/function () {
1809
1809
  if (productAttachmentId === undefined || productAttachmentId === null) {
1810
1810
  throw new Error("Missing the required parameter 'productAttachmentId' when calling updateDealProduct");
1811
1811
  }
1812
- if (opts['product_id'] === undefined || opts['product_id'] === null) {
1813
- throw new Error("Missing the required parameter 'product_id' when calling updateDealProduct");
1814
- }
1815
1812
  var pathParams = {
1816
1813
  'id': id,
1817
1814
  'product_attachment_id': productAttachmentId
@@ -30,11 +30,10 @@ var UpdateDealProduct = /*#__PURE__*/function () {
30
30
  /**
31
31
  * Constructs a new <code>UpdateDealProduct</code>.
32
32
  * @alias module:model/UpdateDealProduct
33
- * @param productId {Number} The ID of the product to use
34
33
  */
35
- function UpdateDealProduct(productId) {
34
+ function UpdateDealProduct() {
36
35
  (0, _classCallCheck2["default"])(this, UpdateDealProduct);
37
- UpdateDealProduct.initialize(this, productId);
36
+ UpdateDealProduct.initialize(this);
38
37
  }
39
38
 
40
39
  /**
@@ -44,9 +43,7 @@ var UpdateDealProduct = /*#__PURE__*/function () {
44
43
  */
45
44
  (0, _createClass2["default"])(UpdateDealProduct, null, [{
46
45
  key: "initialize",
47
- value: function initialize(obj, productId) {
48
- obj['product_id'] = productId;
49
- }
46
+ value: function initialize(obj) {}
50
47
 
51
48
  /**
52
49
  * Constructs a <code>UpdateDealProduct</code> from a plain JavaScript object, optionally creating a new instance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "20.3.0",
3
+ "version": "20.4.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",