pipedrive 20.3.0 → 20.4.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api/DealsApi.js
CHANGED
@@ -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(
|
34
|
+
function UpdateDealProduct() {
|
36
35
|
(0, _classCallCheck2["default"])(this, UpdateDealProduct);
|
37
|
-
UpdateDealProduct.initialize(this
|
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
|
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.
|