pipedrive 20.1.0 → 20.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -715,12 +715,15 @@ Class | Method | HTTP request | Description
715
715
  - [Pipedrive.BulkDeleteResponseAllOfData](https://github.com/pipedrive/client-nodejs/blob/master/docs/BulkDeleteResponseAllOfData.md)
716
716
  - [Pipedrive.CalculatedFields](https://github.com/pipedrive/client-nodejs/blob/master/docs/CalculatedFields.md)
717
717
  - [Pipedrive.CallLogObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogObject.md)
718
+ - [Pipedrive.CallLogResponse200](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse200.md)
718
719
  - [Pipedrive.CallLogResponse400](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse400.md)
719
720
  - [Pipedrive.CallLogResponse403](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse403.md)
720
721
  - [Pipedrive.CallLogResponse404](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse404.md)
721
722
  - [Pipedrive.CallLogResponse409](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse409.md)
722
723
  - [Pipedrive.CallLogResponse410](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse410.md)
723
724
  - [Pipedrive.CallLogResponse500](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogResponse500.md)
725
+ - [Pipedrive.CallLogsResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogsResponse.md)
726
+ - [Pipedrive.CallLogsResponseAdditionalData](https://github.com/pipedrive/client-nodejs/blob/master/docs/CallLogsResponseAdditionalData.md)
724
727
  - [Pipedrive.ChannelObject](https://github.com/pipedrive/client-nodejs/blob/master/docs/ChannelObject.md)
725
728
  - [Pipedrive.ChannelObjectResponse](https://github.com/pipedrive/client-nodejs/blob/master/docs/ChannelObjectResponse.md)
726
729
  - [Pipedrive.ChannelObjectResponseData](https://github.com/pipedrive/client-nodejs/blob/master/docs/ChannelObjectResponseData.md)
@@ -11,12 +11,14 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
11
11
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
12
12
  var _BaseResponse = _interopRequireDefault(require("../model/BaseResponse"));
13
13
  var _CallLogObject = _interopRequireDefault(require("../model/CallLogObject"));
14
- var _CallLogResponse = _interopRequireDefault(require("../model/CallLogResponse400"));
15
- var _CallLogResponse2 = _interopRequireDefault(require("../model/CallLogResponse403"));
16
- var _CallLogResponse3 = _interopRequireDefault(require("../model/CallLogResponse404"));
17
- var _CallLogResponse4 = _interopRequireDefault(require("../model/CallLogResponse409"));
18
- var _CallLogResponse5 = _interopRequireDefault(require("../model/CallLogResponse410"));
19
- var _CallLogResponse6 = _interopRequireDefault(require("../model/CallLogResponse500"));
14
+ var _CallLogResponse = _interopRequireDefault(require("../model/CallLogResponse200"));
15
+ var _CallLogResponse2 = _interopRequireDefault(require("../model/CallLogResponse400"));
16
+ var _CallLogResponse3 = _interopRequireDefault(require("../model/CallLogResponse403"));
17
+ var _CallLogResponse4 = _interopRequireDefault(require("../model/CallLogResponse404"));
18
+ var _CallLogResponse5 = _interopRequireDefault(require("../model/CallLogResponse409"));
19
+ var _CallLogResponse6 = _interopRequireDefault(require("../model/CallLogResponse410"));
20
+ var _CallLogResponse7 = _interopRequireDefault(require("../model/CallLogResponse500"));
21
+ var _CallLogsResponse = _interopRequireDefault(require("../model/CallLogsResponse"));
20
22
  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; }
21
23
  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; }
22
24
  /**
@@ -42,7 +44,7 @@ var CallLogsApi = /*#__PURE__*/function () {
42
44
  * Adds a new call log.
43
45
  * @param {Object} opts Optional parameters
44
46
  * @param {module:model/CallLogObject} opts.callLogObject
45
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponse} and HTTP response
47
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CallLogResponse200} and HTTP response
46
48
  */
47
49
  (0, _createClass2["default"])(CallLogsApi, [{
48
50
  key: "addCallLogWithHttpInfo",
@@ -80,7 +82,7 @@ var CallLogsApi = /*#__PURE__*/function () {
80
82
  }
81
83
  var authNames = ['api_key', 'oauth2'];
82
84
  var accepts = ['application/json'];
83
- var returnType = _BaseResponse["default"];
85
+ var returnType = _CallLogResponse["default"];
84
86
  return this.apiClient.callApi('/callLogs', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
85
87
  }
86
88
 
@@ -89,7 +91,7 @@ var CallLogsApi = /*#__PURE__*/function () {
89
91
  * Adds a new call log.
90
92
  * @param {Object} opts Optional parameters
91
93
  * @param {module:model/CallLogObject} opts.callLogObject
92
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponse}
94
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CallLogResponse200}
93
95
  */
94
96
  }, {
95
97
  key: "addCallLog",
@@ -222,7 +224,7 @@ var CallLogsApi = /*#__PURE__*/function () {
222
224
  * Get details of a call log
223
225
  * Returns details of a specific call log.
224
226
  * @param {String} id The ID received when you create the call log
225
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponse} and HTTP response
227
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CallLogResponse200} and HTTP response
226
228
  */
227
229
  }, {
228
230
  key: "getCallLogWithHttpInfo",
@@ -255,7 +257,7 @@ var CallLogsApi = /*#__PURE__*/function () {
255
257
  }
256
258
  var authNames = ['api_key', 'oauth2'];
257
259
  var accepts = ['application/json'];
258
- var returnType = _BaseResponse["default"];
260
+ var returnType = _CallLogResponse["default"];
259
261
  return this.apiClient.callApi('/callLogs/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
260
262
  }
261
263
 
@@ -263,7 +265,7 @@ var CallLogsApi = /*#__PURE__*/function () {
263
265
  * Get details of a call log
264
266
  * Returns details of a specific call log.
265
267
  * @param {String} id The ID received when you create the call log
266
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponse}
268
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CallLogResponse200}
267
269
  */
268
270
  }, {
269
271
  key: "getCallLog",
@@ -279,7 +281,7 @@ var CallLogsApi = /*#__PURE__*/function () {
279
281
  * @param {Object} opts Optional parameters
280
282
  * @param {Number} opts.start Pagination start (default to 0)
281
283
  * @param {Number} opts.limit For pagination, the limit of entries to be returned. The upper limit is 50.
282
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/BaseResponse} and HTTP response
284
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CallLogsResponse} and HTTP response
283
285
  */
284
286
  }, {
285
287
  key: "getUserCallLogsWithHttpInfo",
@@ -308,7 +310,7 @@ var CallLogsApi = /*#__PURE__*/function () {
308
310
  }
309
311
  var authNames = ['api_key', 'oauth2'];
310
312
  var accepts = ['application/json'];
311
- var returnType = _BaseResponse["default"];
313
+ var returnType = _CallLogsResponse["default"];
312
314
  return this.apiClient.callApi('/callLogs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
313
315
  }
314
316
 
@@ -318,7 +320,7 @@ var CallLogsApi = /*#__PURE__*/function () {
318
320
  * @param {Object} opts Optional parameters
319
321
  * @param {Number} opts.start Pagination start (default to 0)
320
322
  * @param {Number} opts.limit For pagination, the limit of entries to be returned. The upper limit is 50.
321
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/BaseResponse}
323
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CallLogsResponse}
322
324
  */
323
325
  }, {
324
326
  key: "getUserCallLogs",
@@ -1651,7 +1651,7 @@ var DealsApi = /*#__PURE__*/function () {
1651
1651
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1652
1652
  * @param {Object} opts Optional parameters
1653
1653
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1654
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1654
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1655
1655
  * @param {Number} opts.personId Will filter deals by the provided person ID. The upper limit of found deals associated with the person is 2000.
1656
1656
  * @param {Number} opts.organizationId Will filter deals by the provided organization ID. The upper limit of found deals associated with the organization is 2000.
1657
1657
  * @param {module:model/String} opts.status Will filter deals by the provided specific status. open = Open, won = Won, lost = Lost. The upper limit of found deals associated with the status is 2000.
@@ -1709,7 +1709,7 @@ var DealsApi = /*#__PURE__*/function () {
1709
1709
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1710
1710
  * @param {Object} opts Optional parameters
1711
1711
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1712
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1712
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1713
1713
  * @param {Number} opts.personId Will filter deals by the provided person ID. The upper limit of found deals associated with the person is 2000.
1714
1714
  * @param {Number} opts.organizationId Will filter deals by the provided organization ID. The upper limit of found deals associated with the organization is 2000.
1715
1715
  * @param {module:model/String} opts.status Will filter deals by the provided specific status. open = Open, won = Won, lost = Lost. The upper limit of found deals associated with the status is 2000.
@@ -233,7 +233,7 @@ var GoalsApi = /*#__PURE__*/function () {
233
233
  * @param {Object} opts Optional parameters
234
234
  * @param {module:model/String} opts.typeName The type of the goal. If provided, everyone's goals will be returned.
235
235
  * @param {String} opts.title The title of the goal
236
- * @param {module:model/Boolean} opts.isActive Whether the goal is active or not (default to true)
236
+ * @param {Boolean} opts.isActive Whether the goal is active or not (default to true)
237
237
  * @param {Number} opts.assigneeId The ID of the user who's goal to fetch. When omitted, only your goals will be returned.
238
238
  * @param {module:model/String} opts.assigneeType The type of the goal's assignee. If provided, everyone's goals will be returned.
239
239
  * @param {Number} opts.expectedOutcomeTarget The numeric value of the outcome. If provided, everyone's goals will be returned.
@@ -294,7 +294,7 @@ var GoalsApi = /*#__PURE__*/function () {
294
294
  * @param {Object} opts Optional parameters
295
295
  * @param {module:model/String} opts.typeName The type of the goal. If provided, everyone's goals will be returned.
296
296
  * @param {String} opts.title The title of the goal
297
- * @param {module:model/Boolean} opts.isActive Whether the goal is active or not (default to true)
297
+ * @param {Boolean} opts.isActive Whether the goal is active or not (default to true)
298
298
  * @param {Number} opts.assigneeId The ID of the user who's goal to fetch. When omitted, only your goals will be returned.
299
299
  * @param {module:model/String} opts.assigneeType The type of the goal's assignee. If provided, everyone's goals will be returned.
300
300
  * @param {Number} opts.expectedOutcomeTarget The numeric value of the outcome. If provided, everyone's goals will be returned.
@@ -38,8 +38,8 @@ 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> 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 {module:model/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
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
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
+ * @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)
45
45
  * @param {Number} opts.limit Items shown per page
@@ -94,8 +94,8 @@ 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> 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 {module:model/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
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
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
+ * @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)
101
101
  * @param {Number} opts.limit Items shown per page
@@ -116,8 +116,8 @@ var ItemSearchApi = /*#__PURE__*/function () {
116
116
  * @param {module:model/String} fieldType The type of the field to perform the search from
117
117
  * @param {String} fieldKey The key of the field to search from. The field key can be obtained by fetching the list of the fields using any of the fields' API GET methods (dealFields, personFields, etc.).
118
118
  * @param {Object} opts Optional parameters
119
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. The search <b>is</b> case sensitive. (default to false)
120
- * @param {module:model/Boolean} opts.returnItemIds Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
119
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. The search <b>is</b> case sensitive. (default to false)
120
+ * @param {Boolean} opts.returnItemIds Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
121
121
  * @param {Number} opts.start Pagination start
122
122
  * @param {Number} opts.limit Items shown per page
123
123
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ItemSearchFieldResponse} and HTTP response
@@ -180,8 +180,8 @@ var ItemSearchApi = /*#__PURE__*/function () {
180
180
  * @param {module:model/String} fieldType The type of the field to perform the search from
181
181
  * @param {String} fieldKey The key of the field to search from. The field key can be obtained by fetching the list of the fields using any of the fields' API GET methods (dealFields, personFields, etc.).
182
182
  * @param {Object} opts Optional parameters
183
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. The search <b>is</b> case sensitive. (default to false)
184
- * @param {module:model/Boolean} opts.returnItemIds Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
183
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. The search <b>is</b> case sensitive. (default to false)
184
+ * @param {Boolean} opts.returnItemIds Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
185
185
  * @param {Number} opts.start Pagination start
186
186
  * @param {Number} opts.limit Items shown per page
187
187
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ItemSearchFieldResponse}
@@ -334,7 +334,7 @@ var LeadsApi = /*#__PURE__*/function () {
334
334
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
335
335
  * @param {Object} opts Optional parameters
336
336
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
337
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
337
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
338
338
  * @param {Number} opts.personId Will filter leads by the provided person ID. The upper limit of found leads associated with the person is 2000.
339
339
  * @param {Number} opts.organizationId Will filter leads by the provided organization ID. The upper limit of found leads associated with the organization is 2000.
340
340
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
@@ -390,7 +390,7 @@ var LeadsApi = /*#__PURE__*/function () {
390
390
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
391
391
  * @param {Object} opts Optional parameters
392
392
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
393
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
393
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
394
394
  * @param {Number} opts.personId Will filter leads by the provided person ID. The upper limit of found leads associated with the person is 2000.
395
395
  * @param {Number} opts.organizationId Will filter leads by the provided organization ID. The upper limit of found leads associated with the organization is 2000.
396
396
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
@@ -1045,7 +1045,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1045
1045
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1046
1046
  * @param {Object} opts Optional parameters
1047
1047
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1048
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1048
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1049
1049
  * @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)
1050
1050
  * @param {Number} opts.limit Items shown per page
1051
1051
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OrganizationSearchResponse} and HTTP response
@@ -1095,7 +1095,7 @@ var OrganizationsApi = /*#__PURE__*/function () {
1095
1095
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1096
1096
  * @param {Object} opts Optional parameters
1097
1097
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1098
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1098
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1099
1099
  * @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)
1100
1100
  * @param {Number} opts.limit Items shown per page
1101
1101
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/OrganizationSearchResponse}
@@ -1175,7 +1175,7 @@ var PersonsApi = /*#__PURE__*/function () {
1175
1175
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1176
1176
  * @param {Object} opts Optional parameters
1177
1177
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1178
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1178
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1179
1179
  * @param {Number} opts.organizationId Will filter persons by the provided organization ID. The upper limit of found persons associated with the organization is 2000.
1180
1180
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
1181
1181
  * @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)
@@ -1229,7 +1229,7 @@ var PersonsApi = /*#__PURE__*/function () {
1229
1229
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
1230
1230
  * @param {Object} opts Optional parameters
1231
1231
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
1232
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1232
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
1233
1233
  * @param {Number} opts.organizationId Will filter persons by the provided organization ID. The upper limit of found persons associated with the organization is 2000.
1234
1234
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
1235
1235
  * @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)
@@ -657,7 +657,7 @@ var ProductsApi = /*#__PURE__*/function () {
657
657
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
658
658
  * @param {Object} opts Optional parameters
659
659
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
660
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
660
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
661
661
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
662
662
  * @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)
663
663
  * @param {Number} opts.limit Items shown per page
@@ -709,7 +709,7 @@ var ProductsApi = /*#__PURE__*/function () {
709
709
  * @param {String} term The search term to look for. Minimum 2 characters (or 1 if using `exact_match`). Please note that the search term has to be URL encoded.
710
710
  * @param {Object} opts Optional parameters
711
711
  * @param {module:model/String} opts.fields A comma-separated string array. The fields to perform the search from. Defaults to all of them.
712
- * @param {module:model/Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
712
+ * @param {Boolean} opts.exactMatch When enabled, only full exact matches against the given term are returned. It is <b>not</b> case sensitive.
713
713
  * @param {module:model/String} opts.includeFields Supports including optional fields in the results which are not provided by default
714
714
  * @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)
715
715
  * @param {Number} opts.limit Items shown per page
@@ -467,7 +467,7 @@ var RolesApi = /*#__PURE__*/function () {
467
467
  * Returns the list of either visible or hidden pipeline IDs for a specific role. For more information on pipeline visibility, please refer to the <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">Visibility groups article</a>.
468
468
  * @param {Number} id The ID of the role
469
469
  * @param {Object} opts Optional parameters
470
- * @param {module:model/Boolean} opts.visible Whether to return the visible or hidden pipelines for the role (default to true)
470
+ * @param {Boolean} opts.visible Whether to return the visible or hidden pipelines for the role (default to true)
471
471
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetRolePipelines} and HTTP response
472
472
  */
473
473
  }, {
@@ -512,7 +512,7 @@ var RolesApi = /*#__PURE__*/function () {
512
512
  * Returns the list of either visible or hidden pipeline IDs for a specific role. For more information on pipeline visibility, please refer to the <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">Visibility groups article</a>.
513
513
  * @param {Number} id The ID of the role
514
514
  * @param {Object} opts Optional parameters
515
- * @param {module:model/Boolean} opts.visible Whether to return the visible or hidden pipelines for the role (default to true)
515
+ * @param {Boolean} opts.visible Whether to return the visible or hidden pipelines for the role (default to true)
516
516
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetRolePipelines}
517
517
  */
518
518
  }, {
package/dist/index.js CHANGED
@@ -784,48 +784,66 @@ Object.defineProperty(exports, "CallLogObject", {
784
784
  return _CallLogObject["default"];
785
785
  }
786
786
  });
787
- Object.defineProperty(exports, "CallLogResponse400", {
787
+ Object.defineProperty(exports, "CallLogResponse200", {
788
788
  enumerable: true,
789
789
  get: function get() {
790
790
  return _CallLogResponse["default"];
791
791
  }
792
792
  });
793
- Object.defineProperty(exports, "CallLogResponse403", {
793
+ Object.defineProperty(exports, "CallLogResponse400", {
794
794
  enumerable: true,
795
795
  get: function get() {
796
796
  return _CallLogResponse2["default"];
797
797
  }
798
798
  });
799
- Object.defineProperty(exports, "CallLogResponse404", {
799
+ Object.defineProperty(exports, "CallLogResponse403", {
800
800
  enumerable: true,
801
801
  get: function get() {
802
802
  return _CallLogResponse3["default"];
803
803
  }
804
804
  });
805
- Object.defineProperty(exports, "CallLogResponse409", {
805
+ Object.defineProperty(exports, "CallLogResponse404", {
806
806
  enumerable: true,
807
807
  get: function get() {
808
808
  return _CallLogResponse4["default"];
809
809
  }
810
810
  });
811
- Object.defineProperty(exports, "CallLogResponse410", {
811
+ Object.defineProperty(exports, "CallLogResponse409", {
812
812
  enumerable: true,
813
813
  get: function get() {
814
814
  return _CallLogResponse5["default"];
815
815
  }
816
816
  });
817
- Object.defineProperty(exports, "CallLogResponse500", {
817
+ Object.defineProperty(exports, "CallLogResponse410", {
818
818
  enumerable: true,
819
819
  get: function get() {
820
820
  return _CallLogResponse6["default"];
821
821
  }
822
822
  });
823
+ Object.defineProperty(exports, "CallLogResponse500", {
824
+ enumerable: true,
825
+ get: function get() {
826
+ return _CallLogResponse7["default"];
827
+ }
828
+ });
823
829
  Object.defineProperty(exports, "CallLogsApi", {
824
830
  enumerable: true,
825
831
  get: function get() {
826
832
  return _CallLogsApi["default"];
827
833
  }
828
834
  });
835
+ Object.defineProperty(exports, "CallLogsResponse", {
836
+ enumerable: true,
837
+ get: function get() {
838
+ return _CallLogsResponse["default"];
839
+ }
840
+ });
841
+ Object.defineProperty(exports, "CallLogsResponseAdditionalData", {
842
+ enumerable: true,
843
+ get: function get() {
844
+ return _CallLogsResponseAdditionalData["default"];
845
+ }
846
+ });
829
847
  Object.defineProperty(exports, "ChannelObject", {
830
848
  enumerable: true,
831
849
  get: function get() {
@@ -4738,12 +4756,15 @@ var _BulkDeleteResponseAllOf = _interopRequireDefault(require("./model/BulkDelet
4738
4756
  var _BulkDeleteResponseAllOfData = _interopRequireDefault(require("./model/BulkDeleteResponseAllOfData"));
4739
4757
  var _CalculatedFields = _interopRequireDefault(require("./model/CalculatedFields"));
4740
4758
  var _CallLogObject = _interopRequireDefault(require("./model/CallLogObject"));
4741
- var _CallLogResponse = _interopRequireDefault(require("./model/CallLogResponse400"));
4742
- var _CallLogResponse2 = _interopRequireDefault(require("./model/CallLogResponse403"));
4743
- var _CallLogResponse3 = _interopRequireDefault(require("./model/CallLogResponse404"));
4744
- var _CallLogResponse4 = _interopRequireDefault(require("./model/CallLogResponse409"));
4745
- var _CallLogResponse5 = _interopRequireDefault(require("./model/CallLogResponse410"));
4746
- var _CallLogResponse6 = _interopRequireDefault(require("./model/CallLogResponse500"));
4759
+ var _CallLogResponse = _interopRequireDefault(require("./model/CallLogResponse200"));
4760
+ var _CallLogResponse2 = _interopRequireDefault(require("./model/CallLogResponse400"));
4761
+ var _CallLogResponse3 = _interopRequireDefault(require("./model/CallLogResponse403"));
4762
+ var _CallLogResponse4 = _interopRequireDefault(require("./model/CallLogResponse404"));
4763
+ var _CallLogResponse5 = _interopRequireDefault(require("./model/CallLogResponse409"));
4764
+ var _CallLogResponse6 = _interopRequireDefault(require("./model/CallLogResponse410"));
4765
+ var _CallLogResponse7 = _interopRequireDefault(require("./model/CallLogResponse500"));
4766
+ var _CallLogsResponse = _interopRequireDefault(require("./model/CallLogsResponse"));
4767
+ var _CallLogsResponseAdditionalData = _interopRequireDefault(require("./model/CallLogsResponseAdditionalData"));
4747
4768
  var _ChannelObject = _interopRequireDefault(require("./model/ChannelObject"));
4748
4769
  var _ChannelObjectResponse = _interopRequireDefault(require("./model/ChannelObjectResponse"));
4749
4770
  var _ChannelObjectResponseData = _interopRequireDefault(require("./model/ChannelObjectResponseData"));
@@ -309,7 +309,7 @@ ActivityCollectionResponseObject.prototype['user_id'] = undefined;
309
309
 
310
310
  /**
311
311
  * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
312
- * @member {module:model/ActivityCollectionResponseObject.BusyFlagEnum} busy_flag
312
+ * @member {Boolean} busy_flag
313
313
  */
314
314
  ActivityCollectionResponseObject.prototype['busy_flag'] = undefined;
315
315
 
@@ -512,7 +512,7 @@ _ActivityCollectionResponseObjectAllOf["default"].prototype['type'] = undefined;
512
512
  _ActivityCollectionResponseObjectAllOf["default"].prototype['user_id'] = undefined;
513
513
  /**
514
514
  * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
515
- * @member {module:model/ActivityCollectionResponseObjectAllOf.BusyFlagEnum} busy_flag
515
+ * @member {Boolean} busy_flag
516
516
  */
517
517
  _ActivityCollectionResponseObjectAllOf["default"].prototype['busy_flag'] = undefined;
518
518
  /**
@@ -615,23 +615,5 @@ _ActivityCollectionResponseObjectAllOf["default"].prototype['location_postal_cod
615
615
  * @member {String} location_formatted_address
616
616
  */
617
617
  _ActivityCollectionResponseObjectAllOf["default"].prototype['location_formatted_address'] = undefined;
618
-
619
- /**
620
- * Allowed values for the <code>busy_flag</code> property.
621
- * @enum {Boolean}
622
- * @readonly
623
- */
624
- ActivityCollectionResponseObject['BusyFlagEnum'] = {
625
- /**
626
- * value: "true"
627
- * @const
628
- */
629
- "true": "true",
630
- /**
631
- * value: "false"
632
- * @const
633
- */
634
- "false": "false"
635
- };
636
618
  var _default = ActivityCollectionResponseObject;
637
619
  exports["default"] = _default;
@@ -201,7 +201,7 @@ ActivityCollectionResponseObjectAllOf.prototype['user_id'] = undefined;
201
201
 
202
202
  /**
203
203
  * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
204
- * @member {module:model/ActivityCollectionResponseObjectAllOf.BusyFlagEnum} busy_flag
204
+ * @member {Boolean} busy_flag
205
205
  */
206
206
  ActivityCollectionResponseObjectAllOf.prototype['busy_flag'] = undefined;
207
207
 
@@ -324,23 +324,5 @@ ActivityCollectionResponseObjectAllOf.prototype['location_postal_code'] = undefi
324
324
  * @member {String} location_formatted_address
325
325
  */
326
326
  ActivityCollectionResponseObjectAllOf.prototype['location_formatted_address'] = undefined;
327
-
328
- /**
329
- * Allowed values for the <code>busy_flag</code> property.
330
- * @enum {Boolean}
331
- * @readonly
332
- */
333
- ActivityCollectionResponseObjectAllOf['BusyFlagEnum'] = {
334
- /**
335
- * value: "true"
336
- * @const
337
- */
338
- "true": "true",
339
- /**
340
- * value: "false"
341
- * @const
342
- */
343
- "false": "false"
344
- };
345
327
  var _default = ActivityCollectionResponseObjectAllOf;
346
328
  exports["default"] = _default;
@@ -238,7 +238,7 @@ ActivityPostObject.prototype['participants'] = undefined;
238
238
 
239
239
  /**
240
240
  * Set the activity as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with `null`. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
241
- * @member {module:model/ActivityPostObject.BusyFlagEnum} busy_flag
241
+ * @member {Boolean} busy_flag
242
242
  */
243
243
  ActivityPostObject.prototype['busy_flag'] = undefined;
244
244
 
@@ -333,7 +333,7 @@ _ActivityPostObjectAllOf["default"].prototype['user_id'] = undefined;
333
333
  _ActivityPostObjectAllOf["default"].prototype['participants'] = undefined;
334
334
  /**
335
335
  * Set the activity as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with `null`. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
336
- * @member {module:model/ActivityPostObjectAllOf.BusyFlagEnum} busy_flag
336
+ * @member {Boolean} busy_flag
337
337
  */
338
338
  _ActivityPostObjectAllOf["default"].prototype['busy_flag'] = undefined;
339
339
  /**
@@ -346,23 +346,5 @@ _ActivityPostObjectAllOf["default"].prototype['attendees'] = undefined;
346
346
  * @member {module:model/NumberBoolean} done
347
347
  */
348
348
  _ActivityPostObjectAllOf["default"].prototype['done'] = undefined;
349
-
350
- /**
351
- * Allowed values for the <code>busy_flag</code> property.
352
- * @enum {Boolean}
353
- * @readonly
354
- */
355
- ActivityPostObject['BusyFlagEnum'] = {
356
- /**
357
- * value: "true"
358
- * @const
359
- */
360
- "true": "true",
361
- /**
362
- * value: "false"
363
- * @const
364
- */
365
- "false": "false"
366
- };
367
349
  var _default = ActivityPostObject;
368
350
  exports["default"] = _default;
@@ -130,7 +130,7 @@ ActivityPostObjectAllOf.prototype['participants'] = undefined;
130
130
 
131
131
  /**
132
132
  * Set the activity as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with `null`. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
133
- * @member {module:model/ActivityPostObjectAllOf.BusyFlagEnum} busy_flag
133
+ * @member {Boolean} busy_flag
134
134
  */
135
135
  ActivityPostObjectAllOf.prototype['busy_flag'] = undefined;
136
136
 
@@ -145,23 +145,5 @@ ActivityPostObjectAllOf.prototype['attendees'] = undefined;
145
145
  * @member {module:model/NumberBoolean} done
146
146
  */
147
147
  ActivityPostObjectAllOf.prototype['done'] = undefined;
148
-
149
- /**
150
- * Allowed values for the <code>busy_flag</code> property.
151
- * @enum {Boolean}
152
- * @readonly
153
- */
154
- ActivityPostObjectAllOf['BusyFlagEnum'] = {
155
- /**
156
- * value: "true"
157
- * @const
158
- */
159
- "true": "true",
160
- /**
161
- * value: "false"
162
- * @const
163
- */
164
- "false": "false"
165
- };
166
148
  var _default = ActivityPostObjectAllOf;
167
149
  exports["default"] = _default;
@@ -238,7 +238,7 @@ ActivityPutObject.prototype['participants'] = undefined;
238
238
 
239
239
  /**
240
240
  * Set the activity as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with `null`. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
241
- * @member {module:model/ActivityPutObject.BusyFlagEnum} busy_flag
241
+ * @member {Boolean} busy_flag
242
242
  */
243
243
  ActivityPutObject.prototype['busy_flag'] = undefined;
244
244
 
@@ -333,7 +333,7 @@ _ActivityPutObjectAllOf["default"].prototype['user_id'] = undefined;
333
333
  _ActivityPutObjectAllOf["default"].prototype['participants'] = undefined;
334
334
  /**
335
335
  * Set the activity as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with `null`. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
336
- * @member {module:model/ActivityPutObjectAllOf.BusyFlagEnum} busy_flag
336
+ * @member {Boolean} busy_flag
337
337
  */
338
338
  _ActivityPutObjectAllOf["default"].prototype['busy_flag'] = undefined;
339
339
  /**
@@ -346,23 +346,5 @@ _ActivityPutObjectAllOf["default"].prototype['attendees'] = undefined;
346
346
  * @member {module:model/NumberBoolean} done
347
347
  */
348
348
  _ActivityPutObjectAllOf["default"].prototype['done'] = undefined;
349
-
350
- /**
351
- * Allowed values for the <code>busy_flag</code> property.
352
- * @enum {Boolean}
353
- * @readonly
354
- */
355
- ActivityPutObject['BusyFlagEnum'] = {
356
- /**
357
- * value: "true"
358
- * @const
359
- */
360
- "true": "true",
361
- /**
362
- * value: "false"
363
- * @const
364
- */
365
- "false": "false"
366
- };
367
349
  var _default = ActivityPutObject;
368
350
  exports["default"] = _default;