pipedrive 13.0.0 → 13.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,9 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
7
7
  For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).
8
8
 
9
9
  ## [Unreleased]
10
+ ## 13.0.1
11
+ ### Added
12
+ - Added `filter_id` to `GET /products` query parameters that was wrongfully removed in 0.1.18
10
13
 
11
14
  ## 13.0.0
12
15
  ### Removed
@@ -628,6 +628,7 @@ var ProductsApi = /*#__PURE__*/function () {
628
628
  * Returns data about all Products
629
629
  * @param {Object} opts Optional parameters
630
630
  * @param {Number} opts.userId If supplied, only Products owned by the given user will be returned
631
+ * @param {Number} opts.filterId ID of the filter to use
631
632
  * @param {Array.<Number>} opts.ids An array of integers with the IDs of the Products that sould be returned in the response
632
633
  * @param {String} opts.firstChar If supplied, only Products whose name starts with the specified letter will be returned (case insensitive)
633
634
  * @param {Boolean} opts.getSummary If supplied, response will return the total numbers of Products in the `additional_data.summary.total_count` property
@@ -644,6 +645,7 @@ var ProductsApi = /*#__PURE__*/function () {
644
645
  var pathParams = {};
645
646
  var queryParams = {
646
647
  'user_id': opts['userId'],
648
+ 'filter_id': opts['filterId'],
647
649
  'ids': this.apiClient.buildCollectionParam(opts['ids'], 'csv'),
648
650
  'first_char': opts['firstChar'],
649
651
  'get_summary': opts['getSummary'],
@@ -677,6 +679,7 @@ var ProductsApi = /*#__PURE__*/function () {
677
679
  * Returns data about all Products
678
680
  * @param {Object} opts Optional parameters
679
681
  * @param {Number} opts.userId If supplied, only Products owned by the given user will be returned
682
+ * @param {Number} opts.filterId ID of the filter to use
680
683
  * @param {Array.<Number>} opts.ids An array of integers with the IDs of the Products that sould be returned in the response
681
684
  * @param {String} opts.firstChar If supplied, only Products whose name starts with the specified letter will be returned (case insensitive)
682
685
  * @param {Boolean} opts.getSummary If supplied, response will return the total numbers of Products in the `additional_data.summary.total_count` property
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",