pipedrive 16.0.4 → 16.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/dist/api/LeadsApi.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
|
|
8
8
|
|
9
9
|
## [Unreleased]
|
10
10
|
|
11
|
+
## 16.1.0
|
12
|
+
### Added
|
13
|
+
- Added `person_id` and `organization_id` query parameters to GET `/v1/leads`
|
14
|
+
|
11
15
|
## 16.0.4
|
12
16
|
### Changed
|
13
17
|
- Description for api/v1/channels endpoints
|
package/dist/api/LeadsApi.js
CHANGED
@@ -230,6 +230,8 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
230
230
|
* @param {Number} opts.start For pagination, the position that represents the first result for the page
|
231
231
|
* @param {module:model/String} opts.archivedStatus Filtering based on the archived status of a lead. If not provided, `All` is used.
|
232
232
|
* @param {Number} opts.ownerId If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
233
|
+
* @param {Number} opts.personId If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
234
|
+
* @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
233
235
|
* @param {Number} opts.filterId The ID of the filter to use
|
234
236
|
* @param {module:model/String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
235
237
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsResponse200} and HTTP response
|
@@ -246,6 +248,8 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
246
248
|
'start': opts['start'],
|
247
249
|
'archived_status': opts['archivedStatus'],
|
248
250
|
'owner_id': opts['ownerId'],
|
251
|
+
'person_id': opts['personId'],
|
252
|
+
'organization_id': opts['organizationId'],
|
249
253
|
'filter_id': opts['filterId'],
|
250
254
|
'sort': opts['sort']
|
251
255
|
};
|
@@ -279,6 +283,8 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
279
283
|
* @param {Number} opts.start For pagination, the position that represents the first result for the page
|
280
284
|
* @param {module:model/String} opts.archivedStatus Filtering based on the archived status of a lead. If not provided, `All` is used.
|
281
285
|
* @param {Number} opts.ownerId If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
286
|
+
* @param {Number} opts.personId If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
287
|
+
* @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
282
288
|
* @param {Number} opts.filterId The ID of the filter to use
|
283
289
|
* @param {module:model/String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
284
290
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsResponse200}
|