pipedrive 22.3.1-rc.1 → 22.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1258 -414
- package/dist/api/DealsApi.js +8 -8
- package/dist/api/FiltersApi.js +1 -1
- package/dist/api/ItemSearchApi.js +2 -2
- package/dist/api/LeadsApi.js +1 -1
- package/dist/api/MailboxApi.js +2 -2
- package/dist/api/MeetingsApi.js +154 -0
- package/dist/api/OrganizationsApi.js +4 -4
- package/dist/api/PersonsApi.js +5 -5
- package/dist/api/ProductsApi.js +2 -2
- package/dist/api/RecentsApi.js +2 -2
- package/dist/api/UsersApi.js +2 -2
- package/dist/index.js +49 -0
- package/dist/model/CallLogObject.js +11 -1
- package/dist/model/GetDeal.js +3 -3
- package/dist/model/GetDealRelatedObjects.js +98 -0
- package/dist/model/GetDealsRelatedObjects.js +9 -9
- package/dist/model/PostDealParticipants.js +3 -3
- package/dist/model/PostDealParticipantsRelatedObjects.js +88 -0
- package/dist/model/ResponseCallLogObject.js +17 -2
- package/dist/model/UserProviderLinkCreateRequest.js +117 -0
- package/dist/model/UserProviderLinkErrorResponse.js +88 -0
- package/dist/model/UserProviderLinkSuccessResponse.js +88 -0
- package/dist/model/UserProviderLinkSuccessResponseData.js +78 -0
- package/package.json +2 -1
package/dist/api/DealsApi.js
CHANGED
@@ -1166,7 +1166,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1166
1166
|
* @param {Number} opts.start Pagination start (default to 0)
|
1167
1167
|
* @param {Number} opts.limit Items shown per page
|
1168
1168
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
1169
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change)
|
1169
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
|
1170
1170
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DealFlowResponse} and HTTP response
|
1171
1171
|
*/
|
1172
1172
|
}, {
|
@@ -1217,7 +1217,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1217
1217
|
* @param {Number} opts.start Pagination start (default to 0)
|
1218
1218
|
* @param {Number} opts.limit Items shown per page
|
1219
1219
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
1220
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change)
|
1220
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
|
1221
1221
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DealFlowResponse}
|
1222
1222
|
*/
|
1223
1223
|
}, {
|
@@ -1263,7 +1263,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1263
1263
|
}
|
1264
1264
|
}
|
1265
1265
|
}
|
1266
|
-
var authNames = ['api_key'];
|
1266
|
+
var authNames = ['api_key', 'oauth2'];
|
1267
1267
|
var accepts = ['application/json'];
|
1268
1268
|
var returnType = _ListPermittedUsersResponse["default"];
|
1269
1269
|
return this.apiClient.callApi('/deals/{id}/permittedUsers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
@@ -1430,7 +1430,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1430
1430
|
* Get deals summary
|
1431
1431
|
* Returns a summary of all the deals.
|
1432
1432
|
* @param {Object} opts Optional parameters
|
1433
|
-
* @param {module:model/String} opts.status Only fetch deals with a specific status. open = Open, won = Won, lost = Lost
|
1433
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1434
1434
|
* @param {Number} opts.filterId <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1435
1435
|
* @param {Number} opts.userId Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1436
1436
|
* @param {Number} opts.stageId Only deals within the given stage will be returned
|
@@ -1473,7 +1473,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1473
1473
|
* Get deals summary
|
1474
1474
|
* Returns a summary of all the deals.
|
1475
1475
|
* @param {Object} opts Optional parameters
|
1476
|
-
* @param {module:model/String} opts.status Only fetch deals with a specific status. open = Open, won = Won, lost = Lost
|
1476
|
+
* @param {module:model/String} opts.status Only fetch deals with a specific status. open = Open, won = Won, lost = Lost.
|
1477
1477
|
* @param {Number} opts.filterId <code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
|
1478
1478
|
* @param {Number} opts.userId Only deals matching the given user will be returned. `user_id` will not be considered if you use `filter_id`.
|
1479
1479
|
* @param {Number} opts.stageId Only deals within the given stage will be returned
|
@@ -1490,7 +1490,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1490
1490
|
/**
|
1491
1491
|
* Get deals timeline
|
1492
1492
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
1493
|
-
* @param {Date} startDate The date when the first interval starts. Format: YYYY-MM-DD
|
1493
|
+
* @param {Date} startDate The date when the first interval starts. Format: YYYY-MM-DD.
|
1494
1494
|
* @param {module:model/String} interval The type of the interval<table><tr><th>Value</th><th>Description</th></tr><tr><td>`day`</td><td>Day</td></tr><tr><td>`week`</td><td>A full week (7 days) starting from `start_date`</td></tr><tr><td>`month`</td><td>A full month (depending on the number of days in given month) starting from `start_date`</td></tr><tr><td>`quarter`</td><td>A full quarter (3 months) starting from `start_date`</td></tr></table>
|
1495
1495
|
* @param {Number} amount The number of given intervals, starting from `start_date`, to fetch. E.g. 3 (months).
|
1496
1496
|
* @param {String} fieldKey The date field key which deals will be retrieved from
|
@@ -1563,7 +1563,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1563
1563
|
/**
|
1564
1564
|
* Get deals timeline
|
1565
1565
|
* Returns open and won deals, grouped by a defined interval of time set in a date-type dealField (`field_key`) — e.g. when month is the chosen interval, and 3 months are asked starting from January 1st, 2012, deals are returned grouped into 3 groups — January, February and March — based on the value of the given `field_key`.
|
1566
|
-
* @param {Date} startDate The date when the first interval starts. Format: YYYY-MM-DD
|
1566
|
+
* @param {Date} startDate The date when the first interval starts. Format: YYYY-MM-DD.
|
1567
1567
|
* @param {module:model/String} interval The type of the interval<table><tr><th>Value</th><th>Description</th></tr><tr><td>`day`</td><td>Day</td></tr><tr><td>`week`</td><td>A full week (7 days) starting from `start_date`</td></tr><tr><td>`month`</td><td>A full month (depending on the number of days in given month) starting from `start_date`</td></tr><tr><td>`quarter`</td><td>A full quarter (3 months) starting from `start_date`</td></tr></table>
|
1568
1568
|
* @param {Number} amount The number of given intervals, starting from `start_date`, to fetch. E.g. 3 (months).
|
1569
1569
|
* @param {String} fieldKey The date field key which deals will be retrieved from
|
@@ -1829,7 +1829,7 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1829
1829
|
}
|
1830
1830
|
}
|
1831
1831
|
}
|
1832
|
-
var authNames = ['api_key'];
|
1832
|
+
var authNames = ['api_key', 'oauth2'];
|
1833
1833
|
var accepts = ['application/json'];
|
1834
1834
|
var returnType = _GetProductAttachementDetails["default"];
|
1835
1835
|
return this.apiClient.callApi('/deals/{id}/products/{product_attachment_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
package/dist/api/FiltersApi.js
CHANGED
@@ -288,7 +288,7 @@ var FiltersApi = /*#__PURE__*/function () {
|
|
288
288
|
}
|
289
289
|
}
|
290
290
|
}
|
291
|
-
var authNames = ['api_key'];
|
291
|
+
var authNames = ['api_key', 'oauth2'];
|
292
292
|
var accepts = ['application/json'];
|
293
293
|
var returnType = Object;
|
294
294
|
return this.apiClient.callApi('/filters/helpers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
@@ -38,7 +38,7 @@ var ItemSearchApi = /*#__PURE__*/function () {
|
|
38
38
|
* @param {Object} opts Optional parameters
|
39
39
|
* @param {module:model/String} opts.itemTypes A comma-separated string array. The type of items to perform the search from. Defaults to all.
|
40
40
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all. Relevant for each item type are:<br> <table> <tr><th><b>Item type</b></th><th><b>Field</b></th></tr> <tr><td>Deal</td><td>`custom_fields`, `notes`, `title`</td></tr> <tr><td>Person</td><td>`custom_fields`, `email`, `name`, `notes`, `phone`</td></tr> <tr><td>Organization</td><td>`address`, `custom_fields`, `name`, `notes`</td></tr> <tr><td>Product</td><td>`code`, `custom_fields`, `name`</td></tr> <tr><td>Lead</td><td>`custom_fields`, `notes`, `email`, `organization_name`, `person_name`, `phone`, `title`</td></tr> <tr><td>File</td><td>`name`</td></tr> <tr><td>Mail attachment</td><td>`name`</td></tr> <tr><td>Project</td><td> `custom_fields`, `notes`, `title`, `description` </td></tr> </table> <br> Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<br/> When searching for leads, the email, organization_name, person_name, and phone fields will return results only for leads not linked to contacts. For searching leads by person or organization values, please use `search_for_related_items`.
|
41
|
-
* @param {Boolean} opts.searchForRelatedItems When enabled, the response will include up to 100 newest related leads and 100 newest related deals for each found person and organization and up to 100 newest related persons for each found organization
|
41
|
+
* @param {Boolean} opts.searchForRelatedItems When enabled, the response will include up to 100 newest related leads and 100 newest related deals for each found person and organization and up to 100 newest related persons for each found organization
|
42
42
|
* @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
43
43
|
* @param {module:model/String} opts.includeFields A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
44
44
|
* @param {Number} opts.start Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter. (default to 0)
|
@@ -94,7 +94,7 @@ var ItemSearchApi = /*#__PURE__*/function () {
|
|
94
94
|
* @param {Object} opts Optional parameters
|
95
95
|
* @param {module:model/String} opts.itemTypes A comma-separated string array. The type of items to perform the search from. Defaults to all.
|
96
96
|
* @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all. Relevant for each item type are:<br> <table> <tr><th><b>Item type</b></th><th><b>Field</b></th></tr> <tr><td>Deal</td><td>`custom_fields`, `notes`, `title`</td></tr> <tr><td>Person</td><td>`custom_fields`, `email`, `name`, `notes`, `phone`</td></tr> <tr><td>Organization</td><td>`address`, `custom_fields`, `name`, `notes`</td></tr> <tr><td>Product</td><td>`code`, `custom_fields`, `name`</td></tr> <tr><td>Lead</td><td>`custom_fields`, `notes`, `email`, `organization_name`, `person_name`, `phone`, `title`</td></tr> <tr><td>File</td><td>`name`</td></tr> <tr><td>Mail attachment</td><td>`name`</td></tr> <tr><td>Project</td><td> `custom_fields`, `notes`, `title`, `description` </td></tr> </table> <br> Only the following custom field types are searchable: `address`, `varchar`, `text`, `varchar_auto`, `double`, `monetary` and `phone`. Read more about searching by custom fields <a href=\"https://support.pipedrive.com/en/article/search-finding-what-you-need#searching-by-custom-fields\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<br/> When searching for leads, the email, organization_name, person_name, and phone fields will return results only for leads not linked to contacts. For searching leads by person or organization values, please use `search_for_related_items`.
|
97
|
-
* @param {Boolean} opts.searchForRelatedItems When enabled, the response will include up to 100 newest related leads and 100 newest related deals for each found person and organization and up to 100 newest related persons for each found organization
|
97
|
+
* @param {Boolean} opts.searchForRelatedItems When enabled, the response will include up to 100 newest related leads and 100 newest related deals for each found person and organization and up to 100 newest related persons for each found organization
|
98
98
|
* @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
|
99
99
|
* @param {module:model/String} opts.includeFields A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
100
100
|
* @param {Number} opts.start Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter. (default to 0)
|
package/dist/api/LeadsApi.js
CHANGED
@@ -235,7 +235,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
235
235
|
}
|
236
236
|
}
|
237
237
|
}
|
238
|
-
var authNames = ['api_key'];
|
238
|
+
var authNames = ['api_key', 'oauth2'];
|
239
239
|
var accepts = ['application/json'];
|
240
240
|
var returnType = _UserIDs["default"];
|
241
241
|
return this.apiClient.callApi('/leads/{id}/permittedUsers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
package/dist/api/MailboxApi.js
CHANGED
@@ -97,7 +97,7 @@ var MailboxApi = /*#__PURE__*/function () {
|
|
97
97
|
* Returns data about a specific mail message.
|
98
98
|
* @param {Number} id The ID of the mail message to fetch
|
99
99
|
* @param {Object} opts Optional parameters
|
100
|
-
* @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include
|
100
|
+
* @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include.
|
101
101
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/MailMessage} and HTTP response
|
102
102
|
*/
|
103
103
|
}, {
|
@@ -142,7 +142,7 @@ var MailboxApi = /*#__PURE__*/function () {
|
|
142
142
|
* Returns data about a specific mail message.
|
143
143
|
* @param {Number} id The ID of the mail message to fetch
|
144
144
|
* @param {Object} opts Optional parameters
|
145
|
-
* @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include
|
145
|
+
* @param {module:model/NumberBooleanDefault0} opts.includeBody Whether to include the full message body or not. `0` = Don't include, `1` = Include.
|
146
146
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/MailMessage}
|
147
147
|
*/
|
148
148
|
}, {
|
@@ -0,0 +1,154 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
9
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
10
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
11
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
|
+
var _UserProviderLinkCreateRequest = _interopRequireDefault(require("../model/UserProviderLinkCreateRequest"));
|
13
|
+
var _UserProviderLinkErrorResponse = _interopRequireDefault(require("../model/UserProviderLinkErrorResponse"));
|
14
|
+
var _UserProviderLinkSuccessResponse = _interopRequireDefault(require("../model/UserProviderLinkSuccessResponse"));
|
15
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
16
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
17
|
+
/**
|
18
|
+
* Meetings service.
|
19
|
+
* @module api/MeetingsApi
|
20
|
+
* @version 1.0.0
|
21
|
+
*/
|
22
|
+
var MeetingsApi = /*#__PURE__*/function () {
|
23
|
+
/**
|
24
|
+
* Constructs a new MeetingsApi.
|
25
|
+
* @alias module:api/MeetingsApi
|
26
|
+
* @class
|
27
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
28
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
29
|
+
*/
|
30
|
+
function MeetingsApi(apiClient) {
|
31
|
+
(0, _classCallCheck2["default"])(this, MeetingsApi);
|
32
|
+
this.apiClient = apiClient;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Delete the link between a user and the installed video call integration
|
37
|
+
* A video calling provider must call this endpoint to remove the link between a user and the installed video calling app.
|
38
|
+
* @param {String} id Unique identifier linking a user to the installed integration
|
39
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserProviderLinkSuccessResponse} and HTTP response
|
40
|
+
*/
|
41
|
+
(0, _createClass2["default"])(MeetingsApi, [{
|
42
|
+
key: "deleteUserProviderLinkWithHttpInfo",
|
43
|
+
value: function deleteUserProviderLinkWithHttpInfo(id) {
|
44
|
+
var opts = {};
|
45
|
+
var postBody = null;
|
46
|
+
|
47
|
+
// verify the required parameter 'id' is set
|
48
|
+
if (id === undefined || id === null) {
|
49
|
+
throw new Error("Missing the required parameter 'id' when calling deleteUserProviderLink");
|
50
|
+
}
|
51
|
+
var pathParams = {
|
52
|
+
'id': id
|
53
|
+
};
|
54
|
+
var queryParams = {};
|
55
|
+
var headerParams = {};
|
56
|
+
var formParams = {};
|
57
|
+
var formParamArray = [];
|
58
|
+
var contentTypes = [];
|
59
|
+
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
60
|
+
var isJSON = contentTypes.includes('application/json');
|
61
|
+
if (isJSON) {
|
62
|
+
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
63
|
+
} else if (isURLEncoded) {
|
64
|
+
for (var key in opts) {
|
65
|
+
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
66
|
+
formParams[key] = opts[key];
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
var authNames = ['api_key', 'oauth2'];
|
71
|
+
var accepts = ['application/json'];
|
72
|
+
var returnType = _UserProviderLinkSuccessResponse["default"];
|
73
|
+
return this.apiClient.callApi('/meetings/userProviderLinks/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
74
|
+
}
|
75
|
+
|
76
|
+
/**
|
77
|
+
* Delete the link between a user and the installed video call integration
|
78
|
+
* A video calling provider must call this endpoint to remove the link between a user and the installed video calling app.
|
79
|
+
* @param {String} id Unique identifier linking a user to the installed integration
|
80
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserProviderLinkSuccessResponse}
|
81
|
+
*/
|
82
|
+
}, {
|
83
|
+
key: "deleteUserProviderLink",
|
84
|
+
value: function deleteUserProviderLink(id) {
|
85
|
+
return this.deleteUserProviderLinkWithHttpInfo(id).then(function (response_and_data) {
|
86
|
+
return response_and_data;
|
87
|
+
});
|
88
|
+
}
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Link a user with the installed video call integration
|
92
|
+
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user's information is sent.
|
93
|
+
* @param {Object} opts Optional parameters
|
94
|
+
* @param {module:model/UserProviderLinkCreateRequest} opts.userProviderLinkCreateRequest
|
95
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UserProviderLinkSuccessResponse} and HTTP response
|
96
|
+
*/
|
97
|
+
}, {
|
98
|
+
key: "saveUserProviderLinkWithHttpInfo",
|
99
|
+
value: function saveUserProviderLinkWithHttpInfo(opts) {
|
100
|
+
opts = opts || {};
|
101
|
+
var postBody = opts['userProviderLinkCreateRequest'];
|
102
|
+
if (opts['user_provider_id'] === undefined || opts['user_provider_id'] === null) {
|
103
|
+
throw new Error("Missing the required parameter 'user_provider_id' when calling saveUserProviderLink");
|
104
|
+
}
|
105
|
+
if (opts['user_id'] === undefined || opts['user_id'] === null) {
|
106
|
+
throw new Error("Missing the required parameter 'user_id' when calling saveUserProviderLink");
|
107
|
+
}
|
108
|
+
if (opts['company_id'] === undefined || opts['company_id'] === null) {
|
109
|
+
throw new Error("Missing the required parameter 'company_id' when calling saveUserProviderLink");
|
110
|
+
}
|
111
|
+
if (opts['marketplace_client_id'] === undefined || opts['marketplace_client_id'] === null) {
|
112
|
+
throw new Error("Missing the required parameter 'marketplace_client_id' when calling saveUserProviderLink");
|
113
|
+
}
|
114
|
+
var pathParams = {};
|
115
|
+
var queryParams = {};
|
116
|
+
var headerParams = {};
|
117
|
+
var formParams = {};
|
118
|
+
var formParamArray = [];
|
119
|
+
var contentTypes = ['application/json'];
|
120
|
+
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
121
|
+
var isJSON = contentTypes.includes('application/json');
|
122
|
+
if (isJSON) {
|
123
|
+
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
124
|
+
} else if (isURLEncoded) {
|
125
|
+
for (var key in opts) {
|
126
|
+
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
127
|
+
formParams[key] = opts[key];
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
var authNames = ['api_key', 'oauth2'];
|
132
|
+
var accepts = ['application/json'];
|
133
|
+
var returnType = _UserProviderLinkSuccessResponse["default"];
|
134
|
+
return this.apiClient.callApi('/meetings/userProviderLinks', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
135
|
+
}
|
136
|
+
|
137
|
+
/**
|
138
|
+
* Link a user with the installed video call integration
|
139
|
+
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user's information is sent.
|
140
|
+
* @param {Object} opts Optional parameters
|
141
|
+
* @param {module:model/UserProviderLinkCreateRequest} opts.userProviderLinkCreateRequest
|
142
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UserProviderLinkSuccessResponse}
|
143
|
+
*/
|
144
|
+
}, {
|
145
|
+
key: "saveUserProviderLink",
|
146
|
+
value: function saveUserProviderLink(opts) {
|
147
|
+
return this.saveUserProviderLinkWithHttpInfo(opts).then(function (response_and_data) {
|
148
|
+
return response_and_data;
|
149
|
+
});
|
150
|
+
}
|
151
|
+
}]);
|
152
|
+
return MeetingsApi;
|
153
|
+
}();
|
154
|
+
exports["default"] = MeetingsApi;
|
@@ -263,7 +263,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
263
263
|
}
|
264
264
|
}
|
265
265
|
}
|
266
|
-
var authNames = ['api_key'];
|
266
|
+
var authNames = ['api_key', 'oauth2'];
|
267
267
|
var accepts = ['application/json'];
|
268
268
|
var returnType = _OrganizationFollowerDeleteResponse["default"];
|
269
269
|
return this.apiClient.callApi('/organizations/{id}/followers/{follower_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
@@ -795,7 +795,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
795
795
|
* @param {Number} opts.start Pagination start (default to 0)
|
796
796
|
* @param {Number} opts.limit Items shown per page
|
797
797
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates.
|
798
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document)
|
798
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
|
799
799
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationFlowResponse} and HTTP response
|
800
800
|
*/
|
801
801
|
}, {
|
@@ -846,7 +846,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
846
846
|
* @param {Number} opts.start Pagination start (default to 0)
|
847
847
|
* @param {Number} opts.limit Items shown per page
|
848
848
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted, returns changes without custom field updates.
|
849
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document)
|
849
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - activity, plannedActivity, note, file, change, deal, follower, participant, mailMessage, mailMessageWithAttachment, invoice, activityFile, document).
|
850
850
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationFlowResponse}
|
851
851
|
*/
|
852
852
|
}, {
|
@@ -892,7 +892,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
892
892
|
}
|
893
893
|
}
|
894
894
|
}
|
895
|
-
var authNames = ['api_key'];
|
895
|
+
var authNames = ['api_key', 'oauth2'];
|
896
896
|
var accepts = ['application/json'];
|
897
897
|
var returnType = _ListPermittedUsersResponse["default"];
|
898
898
|
return this.apiClient.callApi('/organizations/{id}/permittedUsers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
package/dist/api/PersonsApi.js
CHANGED
@@ -341,7 +341,7 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
341
341
|
}
|
342
342
|
}
|
343
343
|
}
|
344
|
-
var authNames = ['api_key'];
|
344
|
+
var authNames = ['api_key', 'oauth2'];
|
345
345
|
var accepts = ['application/json'];
|
346
346
|
var returnType = _DeletePersonResponse["default"];
|
347
347
|
return this.apiClient.callApi('/persons/{id}/followers/{follower_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
@@ -894,7 +894,7 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
894
894
|
}
|
895
895
|
}
|
896
896
|
}
|
897
|
-
var authNames = ['api_key'];
|
897
|
+
var authNames = ['api_key', 'oauth2'];
|
898
898
|
var accepts = ['application/json'];
|
899
899
|
var returnType = _ListPersonProductsResponse["default"];
|
900
900
|
return this.apiClient.callApi('/persons/{id}/products', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
@@ -925,7 +925,7 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
925
925
|
* @param {Number} opts.start Pagination start (default to 0)
|
926
926
|
* @param {Number} opts.limit Items shown per page
|
927
927
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
928
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change)
|
928
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
|
929
929
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PersonFlowResponse} and HTTP response
|
930
930
|
*/
|
931
931
|
}, {
|
@@ -976,7 +976,7 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
976
976
|
* @param {Number} opts.start Pagination start (default to 0)
|
977
977
|
* @param {Number} opts.limit Items shown per page
|
978
978
|
* @param {String} opts.allChanges Whether to show custom field updates or not. 1 = Include custom field changes. If omitted returns changes without custom field updates.
|
979
|
-
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change)
|
979
|
+
* @param {String} opts.items A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
|
980
980
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PersonFlowResponse}
|
981
981
|
*/
|
982
982
|
}, {
|
@@ -1022,7 +1022,7 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
1022
1022
|
}
|
1023
1023
|
}
|
1024
1024
|
}
|
1025
|
-
var authNames = ['api_key'];
|
1025
|
+
var authNames = ['api_key', 'oauth2'];
|
1026
1026
|
var accepts = ['application/json'];
|
1027
1027
|
var returnType = _ListPermittedUsersResponse["default"];
|
1028
1028
|
return this.apiClient.callApi('/persons/{id}/permittedUsers', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
package/dist/api/ProductsApi.js
CHANGED
@@ -402,7 +402,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
402
402
|
* @param {Object} opts Optional parameters
|
403
403
|
* @param {Number} opts.start Pagination start (default to 0)
|
404
404
|
* @param {Number} opts.limit Items shown per page
|
405
|
-
* @param {String} opts.sort The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id
|
405
|
+
* @param {String} opts.sort The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id`.
|
406
406
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListProductFilesResponse} and HTTP response
|
407
407
|
*/
|
408
408
|
}, {
|
@@ -451,7 +451,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
451
451
|
* @param {Object} opts Optional parameters
|
452
452
|
* @param {Number} opts.start Pagination start (default to 0)
|
453
453
|
* @param {Number} opts.limit Items shown per page
|
454
|
-
* @param {String} opts.sort The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id
|
454
|
+
* @param {String} opts.sort The field name and sorting mode (`field_name_1 ASC` or `field_name_1 DESC`). Supported fields: `update_time`, `id`.
|
455
455
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListProductFilesResponse}
|
456
456
|
*/
|
457
457
|
}, {
|
package/dist/api/RecentsApi.js
CHANGED
@@ -33,7 +33,7 @@ var RecentsApi = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
34
34
|
* Get recents
|
35
35
|
* Returns data about all recent changes occurred after the given timestamp.
|
36
|
-
* @param {String} sinceTimestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS
|
36
|
+
* @param {String} sinceTimestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS.
|
37
37
|
* @param {Object} opts Optional parameters
|
38
38
|
* @param {module:model/String} opts.items Multiple selection of item types to include in the query (optional)
|
39
39
|
* @param {Number} opts.start Pagination start (default to 0)
|
@@ -81,7 +81,7 @@ var RecentsApi = /*#__PURE__*/function () {
|
|
81
81
|
/**
|
82
82
|
* Get recents
|
83
83
|
* Returns data about all recent changes occurred after the given timestamp.
|
84
|
-
* @param {String} sinceTimestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS
|
84
|
+
* @param {String} sinceTimestamp The timestamp in UTC. Format: YYYY-MM-DD HH:MM:SS.
|
85
85
|
* @param {Object} opts Optional parameters
|
86
86
|
* @param {module:model/String} opts.items Multiple selection of item types to include in the query (optional)
|
87
87
|
* @param {Number} opts.start Pagination start (default to 0)
|
package/dist/api/UsersApi.js
CHANGED
@@ -99,7 +99,7 @@ var UsersApi = /*#__PURE__*/function () {
|
|
99
99
|
* Finds users by their name.
|
100
100
|
* @param {String} term The search term to look for
|
101
101
|
* @param {Object} opts Optional parameters
|
102
|
-
* @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false
|
102
|
+
* @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false`.
|
103
103
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Users} and HTTP response
|
104
104
|
*/
|
105
105
|
}, {
|
@@ -143,7 +143,7 @@ var UsersApi = /*#__PURE__*/function () {
|
|
143
143
|
* Finds users by their name.
|
144
144
|
* @param {String} term The search term to look for
|
145
145
|
* @param {Object} opts Optional parameters
|
146
|
-
* @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false
|
146
|
+
* @param {module:model/NumberBooleanDefault0} opts.searchByEmail When enabled, the term will only be matched against email addresses of users. Default: `false`.
|
147
147
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Users}
|
148
148
|
*/
|
149
149
|
}, {
|
package/dist/index.js
CHANGED
@@ -1972,6 +1972,12 @@ Object.defineProperty(exports, "GetDealAdditionalData", {
|
|
1972
1972
|
return _GetDealAdditionalData["default"];
|
1973
1973
|
}
|
1974
1974
|
});
|
1975
|
+
Object.defineProperty(exports, "GetDealRelatedObjects", {
|
1976
|
+
enumerable: true,
|
1977
|
+
get: function get() {
|
1978
|
+
return _GetDealRelatedObjects["default"];
|
1979
|
+
}
|
1980
|
+
});
|
1975
1981
|
Object.defineProperty(exports, "GetDeals", {
|
1976
1982
|
enumerable: true,
|
1977
1983
|
get: function get() {
|
@@ -2986,6 +2992,12 @@ Object.defineProperty(exports, "MarketingStatus", {
|
|
2986
2992
|
return _MarketingStatus["default"];
|
2987
2993
|
}
|
2988
2994
|
});
|
2995
|
+
Object.defineProperty(exports, "MeetingsApi", {
|
2996
|
+
enumerable: true,
|
2997
|
+
get: function get() {
|
2998
|
+
return _MeetingsApi["default"];
|
2999
|
+
}
|
3000
|
+
});
|
2989
3001
|
Object.defineProperty(exports, "MergeDealsRequest", {
|
2990
3002
|
enumerable: true,
|
2991
3003
|
get: function get() {
|
@@ -3850,6 +3862,12 @@ Object.defineProperty(exports, "PostDealParticipants", {
|
|
3850
3862
|
return _PostDealParticipants["default"];
|
3851
3863
|
}
|
3852
3864
|
});
|
3865
|
+
Object.defineProperty(exports, "PostDealParticipantsRelatedObjects", {
|
3866
|
+
enumerable: true,
|
3867
|
+
get: function get() {
|
3868
|
+
return _PostDealParticipantsRelatedObjects["default"];
|
3869
|
+
}
|
3870
|
+
});
|
3853
3871
|
Object.defineProperty(exports, "PostGoalResponse", {
|
3854
3872
|
enumerable: true,
|
3855
3873
|
get: function get() {
|
@@ -4876,6 +4894,30 @@ Object.defineProperty(exports, "UserPermissionsItem", {
|
|
4876
4894
|
return _UserPermissionsItem["default"];
|
4877
4895
|
}
|
4878
4896
|
});
|
4897
|
+
Object.defineProperty(exports, "UserProviderLinkCreateRequest", {
|
4898
|
+
enumerable: true,
|
4899
|
+
get: function get() {
|
4900
|
+
return _UserProviderLinkCreateRequest["default"];
|
4901
|
+
}
|
4902
|
+
});
|
4903
|
+
Object.defineProperty(exports, "UserProviderLinkErrorResponse", {
|
4904
|
+
enumerable: true,
|
4905
|
+
get: function get() {
|
4906
|
+
return _UserProviderLinkErrorResponse["default"];
|
4907
|
+
}
|
4908
|
+
});
|
4909
|
+
Object.defineProperty(exports, "UserProviderLinkSuccessResponse", {
|
4910
|
+
enumerable: true,
|
4911
|
+
get: function get() {
|
4912
|
+
return _UserProviderLinkSuccessResponse["default"];
|
4913
|
+
}
|
4914
|
+
});
|
4915
|
+
Object.defineProperty(exports, "UserProviderLinkSuccessResponseData", {
|
4916
|
+
enumerable: true,
|
4917
|
+
get: function get() {
|
4918
|
+
return _UserProviderLinkSuccessResponseData["default"];
|
4919
|
+
}
|
4920
|
+
});
|
4879
4921
|
Object.defineProperty(exports, "UserSettings", {
|
4880
4922
|
enumerable: true,
|
4881
4923
|
get: function get() {
|
@@ -5295,6 +5337,7 @@ var _GetAllProductFieldsResponse = _interopRequireDefault(require("./model/GetAl
|
|
5295
5337
|
var _GetComments = _interopRequireDefault(require("./model/GetComments"));
|
5296
5338
|
var _GetDeal = _interopRequireDefault(require("./model/GetDeal"));
|
5297
5339
|
var _GetDealAdditionalData = _interopRequireDefault(require("./model/GetDealAdditionalData"));
|
5340
|
+
var _GetDealRelatedObjects = _interopRequireDefault(require("./model/GetDealRelatedObjects"));
|
5298
5341
|
var _GetDeals = _interopRequireDefault(require("./model/GetDeals"));
|
5299
5342
|
var _GetDealsCollection = _interopRequireDefault(require("./model/GetDealsCollection"));
|
5300
5343
|
var _GetDealsConversionRatesInPipeline = _interopRequireDefault(require("./model/GetDealsConversionRatesInPipeline"));
|
@@ -5592,6 +5635,7 @@ var _PipelineDetails = _interopRequireDefault(require("./model/PipelineDetails")
|
|
5592
5635
|
var _PipelineDetailsAllOf = _interopRequireDefault(require("./model/PipelineDetailsAllOf"));
|
5593
5636
|
var _PostComment = _interopRequireDefault(require("./model/PostComment"));
|
5594
5637
|
var _PostDealParticipants = _interopRequireDefault(require("./model/PostDealParticipants"));
|
5638
|
+
var _PostDealParticipantsRelatedObjects = _interopRequireDefault(require("./model/PostDealParticipantsRelatedObjects"));
|
5595
5639
|
var _PostGoalResponse = _interopRequireDefault(require("./model/PostGoalResponse"));
|
5596
5640
|
var _PostNote = _interopRequireDefault(require("./model/PostNote"));
|
5597
5641
|
var _PostRoleAssignment = _interopRequireDefault(require("./model/PostRoleAssignment"));
|
@@ -5753,6 +5797,10 @@ var _UserMeAllOf = _interopRequireDefault(require("./model/UserMeAllOf"));
|
|
5753
5797
|
var _UserPermissions = _interopRequireDefault(require("./model/UserPermissions"));
|
5754
5798
|
var _UserPermissionsAllOf = _interopRequireDefault(require("./model/UserPermissionsAllOf"));
|
5755
5799
|
var _UserPermissionsItem = _interopRequireDefault(require("./model/UserPermissionsItem"));
|
5800
|
+
var _UserProviderLinkCreateRequest = _interopRequireDefault(require("./model/UserProviderLinkCreateRequest"));
|
5801
|
+
var _UserProviderLinkErrorResponse = _interopRequireDefault(require("./model/UserProviderLinkErrorResponse"));
|
5802
|
+
var _UserProviderLinkSuccessResponse = _interopRequireDefault(require("./model/UserProviderLinkSuccessResponse"));
|
5803
|
+
var _UserProviderLinkSuccessResponseData = _interopRequireDefault(require("./model/UserProviderLinkSuccessResponseData"));
|
5756
5804
|
var _UserSettings = _interopRequireDefault(require("./model/UserSettings"));
|
5757
5805
|
var _UserSettingsAllOf = _interopRequireDefault(require("./model/UserSettingsAllOf"));
|
5758
5806
|
var _UserSettingsItem = _interopRequireDefault(require("./model/UserSettingsItem"));
|
@@ -5785,6 +5833,7 @@ var _LeadSourcesApi = _interopRequireDefault(require("./api/LeadSourcesApi"));
|
|
5785
5833
|
var _LeadsApi = _interopRequireDefault(require("./api/LeadsApi"));
|
5786
5834
|
var _LegacyTeamsApi = _interopRequireDefault(require("./api/LegacyTeamsApi"));
|
5787
5835
|
var _MailboxApi = _interopRequireDefault(require("./api/MailboxApi"));
|
5836
|
+
var _MeetingsApi = _interopRequireDefault(require("./api/MeetingsApi"));
|
5788
5837
|
var _NoteFieldsApi = _interopRequireDefault(require("./api/NoteFieldsApi"));
|
5789
5838
|
var _NotesApi = _interopRequireDefault(require("./api/NotesApi"));
|
5790
5839
|
var _OrganizationFieldsApi = _interopRequireDefault(require("./api/OrganizationFieldsApi"));
|
@@ -113,6 +113,10 @@ var CallLogObject = /*#__PURE__*/function () {
|
|
113
113
|
obj['deal_id'] = _ApiClient["default"].convertToType(data['deal_id'], 'Number');
|
114
114
|
delete data['deal_id'];
|
115
115
|
}
|
116
|
+
if (data.hasOwnProperty('lead_id')) {
|
117
|
+
obj['lead_id'] = _ApiClient["default"].convertToType(data['lead_id'], 'String');
|
118
|
+
delete data['lead_id'];
|
119
|
+
}
|
116
120
|
if (data.hasOwnProperty('note')) {
|
117
121
|
obj['note'] = _ApiClient["default"].convertToType(data['note'], 'String');
|
118
122
|
delete data['note'];
|
@@ -193,11 +197,17 @@ CallLogObject.prototype['person_id'] = undefined;
|
|
193
197
|
CallLogObject.prototype['org_id'] = undefined;
|
194
198
|
|
195
199
|
/**
|
196
|
-
* The ID of the deal this call is associated with
|
200
|
+
* The ID of the deal this call is associated with. A call log can be associated with either a deal or a lead, but not both at once.
|
197
201
|
* @member {Number} deal_id
|
198
202
|
*/
|
199
203
|
CallLogObject.prototype['deal_id'] = undefined;
|
200
204
|
|
205
|
+
/**
|
206
|
+
* The ID of the lead in the UUID format this call is associated with. A call log can be associated with either a deal or a lead, but not both at once.
|
207
|
+
* @member {String} lead_id
|
208
|
+
*/
|
209
|
+
CallLogObject.prototype['lead_id'] = undefined;
|
210
|
+
|
201
211
|
/**
|
202
212
|
* The note for the call log in HTML format
|
203
213
|
* @member {String} note
|
package/dist/model/GetDeal.js
CHANGED
@@ -10,7 +10,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
10
10
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
11
|
var _DealNonStrictWithDetails = _interopRequireDefault(require("./DealNonStrictWithDetails"));
|
12
12
|
var _GetDealAdditionalData = _interopRequireDefault(require("./GetDealAdditionalData"));
|
13
|
-
var
|
13
|
+
var _GetDealRelatedObjects = _interopRequireDefault(require("./GetDealRelatedObjects"));
|
14
14
|
/**
|
15
15
|
* Pipedrive API v1
|
16
16
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
@@ -72,7 +72,7 @@ var GetDeal = /*#__PURE__*/function () {
|
|
72
72
|
delete data['additional_data'];
|
73
73
|
}
|
74
74
|
if (data.hasOwnProperty('related_objects')) {
|
75
|
-
obj['related_objects'] =
|
75
|
+
obj['related_objects'] = _GetDealRelatedObjects["default"].constructFromObject(data['related_objects']);
|
76
76
|
delete data['related_objects'];
|
77
77
|
}
|
78
78
|
if (Object.keys(data).length > 0) {
|
@@ -101,7 +101,7 @@ GetDeal.prototype['data'] = undefined;
|
|
101
101
|
GetDeal.prototype['additional_data'] = undefined;
|
102
102
|
|
103
103
|
/**
|
104
|
-
* @member {module:model/
|
104
|
+
* @member {module:model/GetDealRelatedObjects} related_objects
|
105
105
|
*/
|
106
106
|
GetDeal.prototype['related_objects'] = undefined;
|
107
107
|
var _default = GetDeal;
|