pipedrive 19.0.0 → 19.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/ApiClient.js +68 -0
- package/dist/api/ActivitiesApi.js +6 -5
- package/dist/api/DealsApi.js +15 -15
- package/dist/model/AddProductAttachmentDetails.js +1 -1
- package/dist/model/BaseDeal.js +3 -3
- package/dist/model/BasicDealProduct.js +1 -1
- package/dist/model/DealCollectionResponseObject.js +4 -4
- package/dist/model/DealNonStrict.js +5 -5
- package/dist/model/DealNonStrictWithDetails.js +5 -5
- package/dist/model/DealStrict.js +5 -5
- package/dist/model/DealStrictWithMergeId.js +5 -5
- package/dist/model/NewDealProduct.js +1 -1
- package/dist/model/ProductAttachmentDetails.js +1 -1
- package/dist/model/ProductBaseDeal.js +1 -1
- package/dist/model/UpdateDealProduct.js +1 -1
- package/package.json +1 -1
package/dist/ApiClient.js
CHANGED
@@ -822,6 +822,74 @@ var ApiClient = /*#__PURE__*/function () {
|
|
822
822
|
}
|
823
823
|
}
|
824
824
|
|
825
|
+
/**
|
826
|
+
* Revoke Refresh Token aka marking an app uninstalled or revoke the Access Token.
|
827
|
+
* @param {Object} optional opts object with tokenTypeHint param, values can be: 'access_token' or 'refresh_token'.
|
828
|
+
*/
|
829
|
+
}, {
|
830
|
+
key: "revokeToken",
|
831
|
+
value: function () {
|
832
|
+
var _revokeToken = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee4() {
|
833
|
+
var opts,
|
834
|
+
tokenTypeHint,
|
835
|
+
token,
|
836
|
+
clientId,
|
837
|
+
clientSecret,
|
838
|
+
host,
|
839
|
+
revokeUrl,
|
840
|
+
clientIdAndSecretInBase64,
|
841
|
+
request,
|
842
|
+
response,
|
843
|
+
exception,
|
844
|
+
_args4 = arguments;
|
845
|
+
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
846
|
+
while (1) {
|
847
|
+
switch (_context4.prev = _context4.next) {
|
848
|
+
case 0:
|
849
|
+
opts = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
850
|
+
tokenTypeHint = opts.tokenTypeHint;
|
851
|
+
if (this.isOauth2Supported()) {
|
852
|
+
_context4.next = 4;
|
853
|
+
break;
|
854
|
+
}
|
855
|
+
throw new Error('Could not revoke the token. OAuth 2 is not supported.');
|
856
|
+
case 4:
|
857
|
+
token = tokenTypeHint === 'refresh_token' ? this.getOAuth2Property('refreshToken') : encodeURIComponent(this.getOAuth2Property('accessToken'));
|
858
|
+
clientId = this.getOAuth2Property('clientId');
|
859
|
+
clientSecret = this.getOAuth2Property('clientSecret');
|
860
|
+
host = this.getOAuth2Property('host');
|
861
|
+
revokeUrl = "".concat(host, "/oauth/revoke");
|
862
|
+
clientIdAndSecretInBase64 = Buffer.from("".concat(clientId, ":").concat(clientSecret)).toString('base64');
|
863
|
+
_context4.prev = 10;
|
864
|
+
request = _superagent["default"].post(revokeUrl).set('User-Agent', this.getUserAgent()).set('Authorization', "Basic ".concat(clientIdAndSecretInBase64)).send("token=".concat(token));
|
865
|
+
if (tokenTypeHint) {
|
866
|
+
request = request.send("token_type_hint=".concat(tokenTypeHint));
|
867
|
+
}
|
868
|
+
_context4.next = 15;
|
869
|
+
return request;
|
870
|
+
case 15:
|
871
|
+
response = _context4.sent;
|
872
|
+
return _context4.abrupt("return", response.body);
|
873
|
+
case 19:
|
874
|
+
_context4.prev = 19;
|
875
|
+
_context4.t0 = _context4["catch"](10);
|
876
|
+
exception = new _OAuthProviderException["default"]();
|
877
|
+
exception.message = _context4.t0.response.res.statusMessage;
|
878
|
+
exception.errorCode = _context4.t0.status;
|
879
|
+
exception.context = _context4.t0.response;
|
880
|
+
throw exception;
|
881
|
+
case 26:
|
882
|
+
case "end":
|
883
|
+
return _context4.stop();
|
884
|
+
}
|
885
|
+
}
|
886
|
+
}, _callee4, this, [[10, 19]]);
|
887
|
+
}));
|
888
|
+
function revokeToken() {
|
889
|
+
return _revokeToken.apply(this, arguments);
|
890
|
+
}
|
891
|
+
return revokeToken;
|
892
|
+
}()
|
825
893
|
/**
|
826
894
|
* Parses an ISO-8601 string representation or epoch representation of a date value.
|
827
895
|
* @param {String} str The date value as a string.
|
@@ -14,6 +14,7 @@ var _ActivityPutObject = _interopRequireDefault(require("../model/ActivityPutObj
|
|
14
14
|
var _AddActivityResponse = _interopRequireDefault(require("../model/AddActivityResponse200"));
|
15
15
|
var _DeleteActivitiesResponse = _interopRequireDefault(require("../model/DeleteActivitiesResponse200"));
|
16
16
|
var _DeleteActivityResponse = _interopRequireDefault(require("../model/DeleteActivityResponse200"));
|
17
|
+
var _FailResponse = _interopRequireDefault(require("../model/FailResponse"));
|
17
18
|
var _GetActivitiesCollectionResponse = _interopRequireDefault(require("../model/GetActivitiesCollectionResponse200"));
|
18
19
|
var _GetActivitiesResponse = _interopRequireDefault(require("../model/GetActivitiesResponse200"));
|
19
20
|
var _GetActivityResponse = _interopRequireDefault(require("../model/GetActivityResponse200"));
|
@@ -28,7 +29,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
28
29
|
*/
|
29
30
|
var ActivitiesApi = /*#__PURE__*/function () {
|
30
31
|
/**
|
31
|
-
* Constructs a new ActivitiesApi.
|
32
|
+
* Constructs a new ActivitiesApi.
|
32
33
|
* @alias module:api/ActivitiesApi
|
33
34
|
* @class
|
34
35
|
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
@@ -43,7 +44,7 @@ var ActivitiesApi = /*#__PURE__*/function () {
|
|
43
44
|
* Add an activity
|
44
45
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>.
|
45
46
|
* @param {Object} opts Optional parameters
|
46
|
-
* @param {module:model/ActivityPostObject} opts.activityPostObject
|
47
|
+
* @param {module:model/ActivityPostObject} opts.activityPostObject
|
47
48
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddActivityResponse200} and HTTP response
|
48
49
|
*/
|
49
50
|
(0, _createClass2["default"])(ActivitiesApi, [{
|
@@ -78,7 +79,7 @@ var ActivitiesApi = /*#__PURE__*/function () {
|
|
78
79
|
* Add an activity
|
79
80
|
* Adds a new activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-an-activity\" target=\"_blank\" rel=\"noopener noreferrer\">adding an activity</a>.
|
80
81
|
* @param {Object} opts Optional parameters
|
81
|
-
* @param {module:model/ActivityPostObject} opts.activityPostObject
|
82
|
+
* @param {module:model/ActivityPostObject} opts.activityPostObject
|
82
83
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddActivityResponse200}
|
83
84
|
*/
|
84
85
|
}, {
|
@@ -402,7 +403,7 @@ var ActivitiesApi = /*#__PURE__*/function () {
|
|
402
403
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data).
|
403
404
|
* @param {Number} id The ID of the activity
|
404
405
|
* @param {Object} opts Optional parameters
|
405
|
-
* @param {module:model/ActivityPutObject} opts.activityPutObject
|
406
|
+
* @param {module:model/ActivityPutObject} opts.activityPutObject
|
406
407
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateActivityResponse200} and HTTP response
|
407
408
|
*/
|
408
409
|
}, {
|
@@ -445,7 +446,7 @@ var ActivitiesApi = /*#__PURE__*/function () {
|
|
445
446
|
* Updates an activity. Includes `more_activities_scheduled_in_context` property in response's `additional_data` which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data).
|
446
447
|
* @param {Number} id The ID of the activity
|
447
448
|
* @param {Object} opts Optional parameters
|
448
|
-
* @param {module:model/ActivityPutObject} opts.activityPutObject
|
449
|
+
* @param {module:model/ActivityPutObject} opts.activityPutObject
|
449
450
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateActivityResponse200}
|
450
451
|
*/
|
451
452
|
}, {
|
package/dist/api/DealsApi.js
CHANGED
@@ -54,7 +54,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
54
54
|
*/
|
55
55
|
var DealsApi = /*#__PURE__*/function () {
|
56
56
|
/**
|
57
|
-
* Constructs a new DealsApi.
|
57
|
+
* Constructs a new DealsApi.
|
58
58
|
* @alias module:api/DealsApi
|
59
59
|
* @class
|
60
60
|
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
@@ -69,7 +69,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
69
69
|
* Add a deal
|
70
70
|
* Adds a new deal. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the dealFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/creating-a-deal\" target=\"_blank\" rel=\"noopener noreferrer\">adding a deal</a>.
|
71
71
|
* @param {Object} opts Optional parameters
|
72
|
-
* @param {module:model/NewDeal} opts.newDeal
|
72
|
+
* @param {module:model/NewDeal} opts.newDeal
|
73
73
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAddedDeal} and HTTP response
|
74
74
|
*/
|
75
75
|
(0, _createClass2["default"])(DealsApi, [{
|
@@ -104,7 +104,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
104
104
|
* Add a deal
|
105
105
|
* Adds a new deal. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys. To determine which custom fields exists, fetch the dealFields and look for `key` values. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/creating-a-deal\" target=\"_blank\" rel=\"noopener noreferrer\">adding a deal</a>.
|
106
106
|
* @param {Object} opts Optional parameters
|
107
|
-
* @param {module:model/NewDeal} opts.newDeal
|
107
|
+
* @param {module:model/NewDeal} opts.newDeal
|
108
108
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAddedDeal}
|
109
109
|
*/
|
110
110
|
}, {
|
@@ -120,7 +120,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
120
120
|
* Adds a follower to a deal.
|
121
121
|
* @param {Number} id The ID of the deal
|
122
122
|
* @param {Object} opts Optional parameters
|
123
|
-
* @param {module:model/AddDealFollowerRequest} opts.addDealFollowerRequest
|
123
|
+
* @param {module:model/AddDealFollowerRequest} opts.addDealFollowerRequest
|
124
124
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddedDealFollower} and HTTP response
|
125
125
|
*/
|
126
126
|
}, {
|
@@ -166,7 +166,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
166
166
|
* Adds a follower to a deal.
|
167
167
|
* @param {Number} id The ID of the deal
|
168
168
|
* @param {Object} opts Optional parameters
|
169
|
-
* @param {module:model/AddDealFollowerRequest} opts.addDealFollowerRequest
|
169
|
+
* @param {module:model/AddDealFollowerRequest} opts.addDealFollowerRequest
|
170
170
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddedDealFollower}
|
171
171
|
*/
|
172
172
|
}, {
|
@@ -182,7 +182,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
182
182
|
* Adds a participant to a deal.
|
183
183
|
* @param {Number} id The ID of the deal
|
184
184
|
* @param {Object} opts Optional parameters
|
185
|
-
* @param {module:model/AddDealParticipantRequest} opts.addDealParticipantRequest
|
185
|
+
* @param {module:model/AddDealParticipantRequest} opts.addDealParticipantRequest
|
186
186
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostDealParticipants} and HTTP response
|
187
187
|
*/
|
188
188
|
}, {
|
@@ -228,7 +228,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
228
228
|
* Adds a participant to a deal.
|
229
229
|
* @param {Number} id The ID of the deal
|
230
230
|
* @param {Object} opts Optional parameters
|
231
|
-
* @param {module:model/AddDealParticipantRequest} opts.addDealParticipantRequest
|
231
|
+
* @param {module:model/AddDealParticipantRequest} opts.addDealParticipantRequest
|
232
232
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostDealParticipants}
|
233
233
|
*/
|
234
234
|
}, {
|
@@ -244,7 +244,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
244
244
|
* Adds a product to a deal, creating a new item called a deal-product.
|
245
245
|
* @param {Number} id The ID of the deal
|
246
246
|
* @param {Object} opts Optional parameters
|
247
|
-
* @param {module:model/NewDealProduct} opts.newDealProduct
|
247
|
+
* @param {module:model/NewDealProduct} opts.newDealProduct
|
248
248
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAddProductAttachementDetails} and HTTP response
|
249
249
|
*/
|
250
250
|
}, {
|
@@ -287,7 +287,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
287
287
|
* Adds a product to a deal, creating a new item called a deal-product.
|
288
288
|
* @param {Number} id The ID of the deal
|
289
289
|
* @param {Object} opts Optional parameters
|
290
|
-
* @param {module:model/NewDealProduct} opts.newDealProduct
|
290
|
+
* @param {module:model/NewDealProduct} opts.newDealProduct
|
291
291
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAddProductAttachementDetails}
|
292
292
|
*/
|
293
293
|
}, {
|
@@ -1588,7 +1588,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1588
1588
|
* Merges a deal with another deal. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-deals\" target=\"_blank\" rel=\"noopener noreferrer\">merging two deals</a>.
|
1589
1589
|
* @param {Number} id The ID of the deal
|
1590
1590
|
* @param {Object} opts Optional parameters
|
1591
|
-
* @param {module:model/MergeDealsRequest} opts.mergeDealsRequest
|
1591
|
+
* @param {module:model/MergeDealsRequest} opts.mergeDealsRequest
|
1592
1592
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetMergedDeal} and HTTP response
|
1593
1593
|
*/
|
1594
1594
|
}, {
|
@@ -1634,7 +1634,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1634
1634
|
* Merges a deal with another deal. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/merging-two-deals\" target=\"_blank\" rel=\"noopener noreferrer\">merging two deals</a>.
|
1635
1635
|
* @param {Number} id The ID of the deal
|
1636
1636
|
* @param {Object} opts Optional parameters
|
1637
|
-
* @param {module:model/MergeDealsRequest} opts.mergeDealsRequest
|
1637
|
+
* @param {module:model/MergeDealsRequest} opts.mergeDealsRequest
|
1638
1638
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetMergedDeal}
|
1639
1639
|
*/
|
1640
1640
|
}, {
|
@@ -1731,7 +1731,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1731
1731
|
* Updates the properties of a deal. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/updating-a-deal\" target=\"_blank\" rel=\"noopener noreferrer\">updating a deal</a>.
|
1732
1732
|
* @param {Number} id The ID of the deal
|
1733
1733
|
* @param {Object} opts Optional parameters
|
1734
|
-
* @param {module:model/UpdateDealRequest} opts.updateDealRequest
|
1734
|
+
* @param {module:model/UpdateDealRequest} opts.updateDealRequest
|
1735
1735
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAddedDeal} and HTTP response
|
1736
1736
|
*/
|
1737
1737
|
}, {
|
@@ -1774,7 +1774,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1774
1774
|
* Updates the properties of a deal. For more information, see the tutorial for <a href=\"https://pipedrive.readme.io/docs/updating-a-deal\" target=\"_blank\" rel=\"noopener noreferrer\">updating a deal</a>.
|
1775
1775
|
* @param {Number} id The ID of the deal
|
1776
1776
|
* @param {Object} opts Optional parameters
|
1777
|
-
* @param {module:model/UpdateDealRequest} opts.updateDealRequest
|
1777
|
+
* @param {module:model/UpdateDealRequest} opts.updateDealRequest
|
1778
1778
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAddedDeal}
|
1779
1779
|
*/
|
1780
1780
|
}, {
|
@@ -1791,7 +1791,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1791
1791
|
* @param {Number} id The ID of the deal
|
1792
1792
|
* @param {Number} productAttachmentId The ID of the deal-product (the ID of the product attached to the deal)
|
1793
1793
|
* @param {Object} opts Optional parameters
|
1794
|
-
* @param {module:model/UpdateDealProduct} opts.updateDealProduct
|
1794
|
+
* @param {module:model/UpdateDealProduct} opts.updateDealProduct
|
1795
1795
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProductAttachementDetails} and HTTP response
|
1796
1796
|
*/
|
1797
1797
|
}, {
|
@@ -1844,7 +1844,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1844
1844
|
* @param {Number} id The ID of the deal
|
1845
1845
|
* @param {Number} productAttachmentId The ID of the deal-product (the ID of the product attached to the deal)
|
1846
1846
|
* @param {Object} opts Optional parameters
|
1847
|
-
* @param {module:model/UpdateDealProduct} opts.updateDealProduct
|
1847
|
+
* @param {module:model/UpdateDealProduct} opts.updateDealProduct
|
1848
1848
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProductAttachementDetails}
|
1849
1849
|
*/
|
1850
1850
|
}, {
|
@@ -15,7 +15,7 @@ var _ProductAttachmentDetails = _interopRequireDefault(require("./ProductAttachm
|
|
15
15
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
16
|
*
|
17
17
|
* The version of the OpenAPI document: 1.0.0
|
18
|
-
*
|
18
|
+
*
|
19
19
|
*
|
20
20
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
21
|
* https://openapi-generator.tech
|
package/dist/model/BaseDeal.js
CHANGED
@@ -197,7 +197,7 @@ var BaseDeal = /*#__PURE__*/function () {
|
|
197
197
|
delete data['last_outgoing_mail_time'];
|
198
198
|
}
|
199
199
|
if (data.hasOwnProperty('label')) {
|
200
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
200
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
201
201
|
delete data['label'];
|
202
202
|
}
|
203
203
|
if (data.hasOwnProperty('stage_order_nr')) {
|
@@ -484,8 +484,8 @@ BaseDeal.prototype['last_incoming_mail_time'] = undefined;
|
|
484
484
|
BaseDeal.prototype['last_outgoing_mail_time'] = undefined;
|
485
485
|
|
486
486
|
/**
|
487
|
-
* The label assigned to the deal
|
488
|
-
* @member {
|
487
|
+
* The label or multiple labels assigned to the deal
|
488
|
+
* @member {String} label
|
489
489
|
*/
|
490
490
|
BaseDeal.prototype['label'] = undefined;
|
491
491
|
|
@@ -14,7 +14,7 @@ var _DealProductUnitDuration = _interopRequireDefault(require("./DealProductUnit
|
|
14
14
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
15
|
*
|
16
16
|
* The version of the OpenAPI document: 1.0.0
|
17
|
-
*
|
17
|
+
*
|
18
18
|
*
|
19
19
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
20
|
* https://openapi-generator.tech
|
@@ -13,7 +13,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
13
13
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
14
14
|
*
|
15
15
|
* The version of the OpenAPI document: 1.0.0
|
16
|
-
*
|
16
|
+
*
|
17
17
|
*
|
18
18
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
19
19
|
* https://openapi-generator.tech
|
@@ -137,7 +137,7 @@ var DealCollectionResponseObject = /*#__PURE__*/function () {
|
|
137
137
|
delete data['expected_close_date'];
|
138
138
|
}
|
139
139
|
if (data.hasOwnProperty('label')) {
|
140
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
140
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
141
141
|
delete data['label'];
|
142
142
|
}
|
143
143
|
if (Object.keys(data).length > 0) {
|
@@ -270,8 +270,8 @@ DealCollectionResponseObject.prototype['lost_time'] = undefined;
|
|
270
270
|
DealCollectionResponseObject.prototype['expected_close_date'] = undefined;
|
271
271
|
|
272
272
|
/**
|
273
|
-
* The label assigned to the
|
274
|
-
* @member {
|
273
|
+
* The label or multiple labels assigned to the dea
|
274
|
+
* @member {String} label
|
275
275
|
*/
|
276
276
|
DealCollectionResponseObject.prototype['label'] = undefined;
|
277
277
|
var _default = DealCollectionResponseObject;
|
@@ -229,7 +229,7 @@ var DealNonStrict = /*#__PURE__*/function () {
|
|
229
229
|
delete data['last_outgoing_mail_time'];
|
230
230
|
}
|
231
231
|
if (data.hasOwnProperty('label')) {
|
232
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
232
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
233
233
|
delete data['label'];
|
234
234
|
}
|
235
235
|
if (data.hasOwnProperty('stage_order_nr')) {
|
@@ -542,8 +542,8 @@ DealNonStrict.prototype['last_incoming_mail_time'] = undefined;
|
|
542
542
|
DealNonStrict.prototype['last_outgoing_mail_time'] = undefined;
|
543
543
|
|
544
544
|
/**
|
545
|
-
* The label assigned to the deal
|
546
|
-
* @member {
|
545
|
+
* The label or multiple labels assigned to the deal
|
546
|
+
* @member {String} label
|
547
547
|
*/
|
548
548
|
DealNonStrict.prototype['label'] = undefined;
|
549
549
|
|
@@ -842,8 +842,8 @@ _BaseDeal["default"].prototype['last_incoming_mail_time'] = undefined;
|
|
842
842
|
*/
|
843
843
|
_BaseDeal["default"].prototype['last_outgoing_mail_time'] = undefined;
|
844
844
|
/**
|
845
|
-
* The label assigned to the deal
|
846
|
-
* @member {
|
845
|
+
* The label or multiple labels assigned to the deal
|
846
|
+
* @member {String} label
|
847
847
|
*/
|
848
848
|
_BaseDeal["default"].prototype['label'] = undefined;
|
849
849
|
/**
|
@@ -232,7 +232,7 @@ var DealNonStrictWithDetails = /*#__PURE__*/function () {
|
|
232
232
|
delete data['last_outgoing_mail_time'];
|
233
233
|
}
|
234
234
|
if (data.hasOwnProperty('label')) {
|
235
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
235
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
236
236
|
delete data['label'];
|
237
237
|
}
|
238
238
|
if (data.hasOwnProperty('stage_order_nr')) {
|
@@ -569,8 +569,8 @@ DealNonStrictWithDetails.prototype['last_incoming_mail_time'] = undefined;
|
|
569
569
|
DealNonStrictWithDetails.prototype['last_outgoing_mail_time'] = undefined;
|
570
570
|
|
571
571
|
/**
|
572
|
-
* The label assigned to the deal
|
573
|
-
* @member {
|
572
|
+
* The label or multiple labels assigned to the deal
|
573
|
+
* @member {String} label
|
574
574
|
*/
|
575
575
|
DealNonStrictWithDetails.prototype['label'] = undefined;
|
576
576
|
|
@@ -901,8 +901,8 @@ _DealNonStrict["default"].prototype['last_incoming_mail_time'] = undefined;
|
|
901
901
|
*/
|
902
902
|
_DealNonStrict["default"].prototype['last_outgoing_mail_time'] = undefined;
|
903
903
|
/**
|
904
|
-
* The label assigned to the deal
|
905
|
-
* @member {
|
904
|
+
* The label or multiple labels assigned to the deal
|
905
|
+
* @member {String} label
|
906
906
|
*/
|
907
907
|
_DealNonStrict["default"].prototype['label'] = undefined;
|
908
908
|
/**
|
package/dist/model/DealStrict.js
CHANGED
@@ -225,7 +225,7 @@ var DealStrict = /*#__PURE__*/function () {
|
|
225
225
|
delete data['last_outgoing_mail_time'];
|
226
226
|
}
|
227
227
|
if (data.hasOwnProperty('label')) {
|
228
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
228
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
229
229
|
delete data['label'];
|
230
230
|
}
|
231
231
|
if (data.hasOwnProperty('stage_order_nr')) {
|
@@ -542,8 +542,8 @@ DealStrict.prototype['last_incoming_mail_time'] = undefined;
|
|
542
542
|
DealStrict.prototype['last_outgoing_mail_time'] = undefined;
|
543
543
|
|
544
544
|
/**
|
545
|
-
* The label assigned to the deal
|
546
|
-
* @member {
|
545
|
+
* The label or multiple labels assigned to the deal
|
546
|
+
* @member {String} label
|
547
547
|
*/
|
548
548
|
DealStrict.prototype['label'] = undefined;
|
549
549
|
|
@@ -846,8 +846,8 @@ _BaseDeal["default"].prototype['last_incoming_mail_time'] = undefined;
|
|
846
846
|
*/
|
847
847
|
_BaseDeal["default"].prototype['last_outgoing_mail_time'] = undefined;
|
848
848
|
/**
|
849
|
-
* The label assigned to the deal
|
850
|
-
* @member {
|
849
|
+
* The label or multiple labels assigned to the deal
|
850
|
+
* @member {String} label
|
851
851
|
*/
|
852
852
|
_BaseDeal["default"].prototype['label'] = undefined;
|
853
853
|
/**
|
@@ -225,7 +225,7 @@ var DealStrictWithMergeId = /*#__PURE__*/function () {
|
|
225
225
|
delete data['last_outgoing_mail_time'];
|
226
226
|
}
|
227
227
|
if (data.hasOwnProperty('label')) {
|
228
|
-
obj['label'] = _ApiClient["default"].convertToType(data['label'], '
|
228
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'String');
|
229
229
|
delete data['label'];
|
230
230
|
}
|
231
231
|
if (data.hasOwnProperty('stage_order_nr')) {
|
@@ -546,8 +546,8 @@ DealStrictWithMergeId.prototype['last_incoming_mail_time'] = undefined;
|
|
546
546
|
DealStrictWithMergeId.prototype['last_outgoing_mail_time'] = undefined;
|
547
547
|
|
548
548
|
/**
|
549
|
-
* The label assigned to the deal
|
550
|
-
* @member {
|
549
|
+
* The label or multiple labels assigned to the deal
|
550
|
+
* @member {String} label
|
551
551
|
*/
|
552
552
|
DealStrictWithMergeId.prototype['label'] = undefined;
|
553
553
|
|
@@ -855,8 +855,8 @@ _DealStrict["default"].prototype['last_incoming_mail_time'] = undefined;
|
|
855
855
|
*/
|
856
856
|
_DealStrict["default"].prototype['last_outgoing_mail_time'] = undefined;
|
857
857
|
/**
|
858
|
-
* The label assigned to the deal
|
859
|
-
* @member {
|
858
|
+
* The label or multiple labels assigned to the deal
|
859
|
+
* @member {String} label
|
860
860
|
*/
|
861
861
|
_DealStrict["default"].prototype['label'] = undefined;
|
862
862
|
/**
|
@@ -15,7 +15,7 @@ var _DealProductUnitDuration = _interopRequireDefault(require("./DealProductUnit
|
|
15
15
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
16
|
*
|
17
17
|
* The version of the OpenAPI document: 1.0.0
|
18
|
-
*
|
18
|
+
*
|
19
19
|
*
|
20
20
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
21
|
* https://openapi-generator.tech
|
@@ -15,7 +15,7 @@ var _ProductAttachementFields = _interopRequireDefault(require("./ProductAttache
|
|
15
15
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
16
|
*
|
17
17
|
* The version of the OpenAPI document: 1.0.0
|
18
|
-
*
|
18
|
+
*
|
19
19
|
*
|
20
20
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
21
|
* https://openapi-generator.tech
|
@@ -490,7 +490,7 @@ ProductBaseDeal.prototype['last_incoming_mail_time'] = undefined;
|
|
490
490
|
ProductBaseDeal.prototype['last_outgoing_mail_time'] = undefined;
|
491
491
|
|
492
492
|
/**
|
493
|
-
* The label assigned to the deal
|
493
|
+
* The label or multiple labels assigned to the deal
|
494
494
|
* @member {String} label
|
495
495
|
*/
|
496
496
|
ProductBaseDeal.prototype['label'] = undefined;
|
@@ -14,7 +14,7 @@ var _DealProductUnitDuration = _interopRequireDefault(require("./DealProductUnit
|
|
14
14
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
15
|
*
|
16
16
|
* The version of the OpenAPI document: 1.0.0
|
17
|
-
*
|
17
|
+
*
|
18
18
|
*
|
19
19
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
20
|
* https://openapi-generator.tech
|