pipedrive 20.0.1 → 20.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,7 +63,7 @@ var GetAddedDeal = /*#__PURE__*/function () {
63
63
  delete data['success'];
64
64
  }
65
65
  if (data.hasOwnProperty('data')) {
66
- obj['data'] = _ApiClient["default"].convertToType(data['data'], _DealNonStrict["default"]);
66
+ obj['data'] = _DealNonStrict["default"].constructFromObject(data['data']);
67
67
  delete data['data'];
68
68
  }
69
69
  if (data.hasOwnProperty('related_objects')) {
@@ -86,7 +86,6 @@ var GetAddedDeal = /*#__PURE__*/function () {
86
86
  GetAddedDeal.prototype['success'] = undefined;
87
87
 
88
88
  /**
89
- * The deal object
90
89
  * @member {module:model/DealNonStrict} data
91
90
  */
92
91
  GetAddedDeal.prototype['data'] = undefined;
@@ -62,7 +62,7 @@ var GetDuplicatedDeal = /*#__PURE__*/function () {
62
62
  delete data['success'];
63
63
  }
64
64
  if (data.hasOwnProperty('data')) {
65
- obj['data'] = _ApiClient["default"].convertToType(data['data'], _DealStrict["default"]);
65
+ obj['data'] = _DealStrict["default"].constructFromObject(data['data']);
66
66
  delete data['data'];
67
67
  }
68
68
  if (Object.keys(data).length > 0) {
@@ -81,7 +81,6 @@ var GetDuplicatedDeal = /*#__PURE__*/function () {
81
81
  GetDuplicatedDeal.prototype['success'] = undefined;
82
82
 
83
83
  /**
84
- * The deal object
85
84
  * @member {module:model/DealStrict} data
86
85
  */
87
86
  GetDuplicatedDeal.prototype['data'] = undefined;
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "20.0.1",
3
+ "version": "20.1.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
+ "homepage": "https://developers.pipedrive.com",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/pipedrive/client-nodejs"
11
+ },
7
12
  "scripts": {
8
13
  "build": "babel src -d dist",
9
14
  "prepack": "npm run build",