pipedrive 23.2.0 → 23.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,6 +82,10 @@ var AddProductRequestBody = /*#__PURE__*/function () {
82
82
  obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
83
83
  delete data['code'];
84
84
  }
85
+ if (data.hasOwnProperty('description')) {
86
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
87
+ delete data['description'];
88
+ }
85
89
  if (data.hasOwnProperty('unit')) {
86
90
  obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
87
91
  delete data['unit'];
@@ -139,6 +143,12 @@ AddProductRequestBody.prototype['name'] = undefined;
139
143
  */
140
144
  AddProductRequestBody.prototype['code'] = undefined;
141
145
 
146
+ /**
147
+ * The product description
148
+ * @member {String} description
149
+ */
150
+ AddProductRequestBody.prototype['description'] = undefined;
151
+
142
152
  /**
143
153
  * The unit in which this product is sold
144
154
  * @member {String} unit
@@ -207,6 +217,11 @@ _NameObject["default"].prototype['name'] = undefined;
207
217
  * @member {String} code
208
218
  */
209
219
  _ProductRequest["default"].prototype['code'] = undefined;
220
+ /**
221
+ * The product description
222
+ * @member {String} description
223
+ */
224
+ _ProductRequest["default"].prototype['description'] = undefined;
210
225
  /**
211
226
  * The unit in which this product is sold
212
227
  * @member {String} unit
@@ -61,6 +61,10 @@ var ProductRequest = /*#__PURE__*/function () {
61
61
  obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
62
62
  delete data['code'];
63
63
  }
64
+ if (data.hasOwnProperty('description')) {
65
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
66
+ delete data['description'];
67
+ }
64
68
  if (data.hasOwnProperty('unit')) {
65
69
  obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
66
70
  delete data['unit'];
@@ -104,6 +108,12 @@ var ProductRequest = /*#__PURE__*/function () {
104
108
  */
105
109
  ProductRequest.prototype['code'] = undefined;
106
110
 
111
+ /**
112
+ * The product description
113
+ * @member {String} description
114
+ */
115
+ ProductRequest.prototype['description'] = undefined;
116
+
107
117
  /**
108
118
  * The unit in which this product is sold
109
119
  * @member {String} unit
@@ -82,6 +82,10 @@ var UpdateProductRequestBody = /*#__PURE__*/function () {
82
82
  obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
83
83
  delete data['code'];
84
84
  }
85
+ if (data.hasOwnProperty('description')) {
86
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
87
+ delete data['description'];
88
+ }
85
89
  if (data.hasOwnProperty('unit')) {
86
90
  obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
87
91
  delete data['unit'];
@@ -139,6 +143,12 @@ UpdateProductRequestBody.prototype['name'] = undefined;
139
143
  */
140
144
  UpdateProductRequestBody.prototype['code'] = undefined;
141
145
 
146
+ /**
147
+ * The product description
148
+ * @member {String} description
149
+ */
150
+ UpdateProductRequestBody.prototype['description'] = undefined;
151
+
142
152
  /**
143
153
  * The unit in which this product is sold
144
154
  * @member {String} unit
@@ -207,6 +217,11 @@ _NameObject["default"].prototype['name'] = undefined;
207
217
  * @member {String} code
208
218
  */
209
219
  _ProductRequest["default"].prototype['code'] = undefined;
220
+ /**
221
+ * The product description
222
+ * @member {String} description
223
+ */
224
+ _ProductRequest["default"].prototype['description'] = undefined;
210
225
  /**
211
226
  * The unit in which this product is sold
212
227
  * @member {String} unit
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "23.2.0",
3
+ "version": "23.2.1",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",