pipedrive 17.2.0 → 17.3.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,15 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## 17.3.0
12
+ ### Changed
13
+ - Removed query `include_deleted_files` parameter for these endpoints based on this [post](https://developers.pipedrive.com/changelog/post/permanent-deletion-logic-for-6-core-entities)
14
+ - `GET /files`
15
+ - `GET /deals/{id}/files`
16
+ - `GET /organizations/{id}/files`
17
+ - `GET /persons/{id}/files`
18
+ - `GET /products/{id}/files`
19
+
11
20
  ## 17.2.0
12
21
  ### Removed
13
22
  - Removed deprecated endpoints that will be deleted:
@@ -850,7 +850,6 @@ var DealsApi = /*#__PURE__*/function () {
850
850
  * @param {Object} opts Optional parameters
851
851
  * @param {Number} opts.start Pagination start (default to 0)
852
852
  * @param {Number} opts.limit Items shown per page
853
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
854
853
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
855
854
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
856
855
  */
@@ -871,7 +870,6 @@ var DealsApi = /*#__PURE__*/function () {
871
870
  var queryParams = {
872
871
  'start': opts['start'],
873
872
  'limit': opts['limit'],
874
- 'include_deleted_files': opts['includeDeletedFiles'],
875
873
  'sort': opts['sort']
876
874
  };
877
875
  var headerParams = {};
@@ -903,7 +901,6 @@ var DealsApi = /*#__PURE__*/function () {
903
901
  * @param {Object} opts Optional parameters
904
902
  * @param {Number} opts.start Pagination start (default to 0)
905
903
  * @param {Number} opts.limit Items shown per page
906
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
907
904
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
908
905
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
909
906
  */
@@ -27,8 +27,6 @@ var _GetOneFile = _interopRequireDefault(require("../model/GetOneFile"));
27
27
 
28
28
  var _LinkRemoteFileToItem = _interopRequireDefault(require("../model/LinkRemoteFileToItem"));
29
29
 
30
- var _NumberBoolean = _interopRequireDefault(require("../model/NumberBoolean"));
31
-
32
30
  var _UpdateFile = _interopRequireDefault(require("../model/UpdateFile"));
33
31
 
34
32
  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; }
@@ -393,7 +391,6 @@ var FilesApi = /*#__PURE__*/function () {
393
391
  * @param {Object} opts Optional parameters
394
392
  * @param {Number} opts.start Pagination start (default to 0)
395
393
  * @param {Number} opts.limit Items shown per page
396
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
397
394
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
398
395
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAllFiles} and HTTP response
399
396
  */
@@ -407,7 +404,6 @@ var FilesApi = /*#__PURE__*/function () {
407
404
  var queryParams = {
408
405
  'start': opts['start'],
409
406
  'limit': opts['limit'],
410
- 'include_deleted_files': opts['includeDeletedFiles'],
411
407
  'sort': opts['sort']
412
408
  };
413
409
  var headerParams = {};
@@ -438,7 +434,6 @@ var FilesApi = /*#__PURE__*/function () {
438
434
  * @param {Object} opts Optional parameters
439
435
  * @param {Number} opts.start Pagination start (default to 0)
440
436
  * @param {Number} opts.limit Items shown per page
441
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
442
437
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
443
438
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAllFiles}
444
439
  */
@@ -590,7 +590,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
590
590
  * @param {Object} opts Optional parameters
591
591
  * @param {Number} opts.start Pagination start (default to 0)
592
592
  * @param {Number} opts.limit Items shown per page
593
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
594
593
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
595
594
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
596
595
  */
@@ -611,7 +610,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
611
610
  var queryParams = {
612
611
  'start': opts['start'],
613
612
  'limit': opts['limit'],
614
- 'include_deleted_files': opts['includeDeletedFiles'],
615
613
  'sort': opts['sort']
616
614
  };
617
615
  var headerParams = {};
@@ -643,7 +641,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
643
641
  * @param {Object} opts Optional parameters
644
642
  * @param {Number} opts.start Pagination start (default to 0)
645
643
  * @param {Number} opts.limit Items shown per page
646
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
647
644
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
648
645
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
649
646
  */
@@ -724,7 +724,6 @@ var PersonsApi = /*#__PURE__*/function () {
724
724
  * @param {Object} opts Optional parameters
725
725
  * @param {Number} opts.start Pagination start (default to 0)
726
726
  * @param {Number} opts.limit Items shown per page
727
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
728
727
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
729
728
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
730
729
  */
@@ -745,7 +744,6 @@ var PersonsApi = /*#__PURE__*/function () {
745
744
  var queryParams = {
746
745
  'start': opts['start'],
747
746
  'limit': opts['limit'],
748
- 'include_deleted_files': opts['includeDeletedFiles'],
749
747
  'sort': opts['sort']
750
748
  };
751
749
  var headerParams = {};
@@ -777,7 +775,6 @@ var PersonsApi = /*#__PURE__*/function () {
777
775
  * @param {Object} opts Optional parameters
778
776
  * @param {Number} opts.start Pagination start (default to 0)
779
777
  * @param {Number} opts.limit Items shown per page
780
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
781
778
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
782
779
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
783
780
  */
@@ -29,8 +29,6 @@ var _ListProductFollowersResponse = _interopRequireDefault(require("../model/Lis
29
29
 
30
30
  var _NewFollowerResponse = _interopRequireDefault(require("../model/NewFollowerResponse"));
31
31
 
32
- var _NumberBoolean = _interopRequireDefault(require("../model/NumberBoolean"));
33
-
34
32
  var _ProductResponse = _interopRequireDefault(require("../model/ProductResponse"));
35
33
 
36
34
  var _ProductSearchResponse = _interopRequireDefault(require("../model/ProductSearchResponse"));
@@ -439,7 +437,6 @@ var ProductsApi = /*#__PURE__*/function () {
439
437
  * @param {Object} opts Optional parameters
440
438
  * @param {Number} opts.start Pagination start (default to 0)
441
439
  * @param {Number} opts.limit Items shown per page
442
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
443
440
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
444
441
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ListFilesResponse} and HTTP response
445
442
  */
@@ -460,7 +457,6 @@ var ProductsApi = /*#__PURE__*/function () {
460
457
  var queryParams = {
461
458
  'start': opts['start'],
462
459
  'limit': opts['limit'],
463
- 'include_deleted_files': opts['includeDeletedFiles'],
464
460
  'sort': opts['sort']
465
461
  };
466
462
  var headerParams = {};
@@ -492,7 +488,6 @@ var ProductsApi = /*#__PURE__*/function () {
492
488
  * @param {Object} opts Optional parameters
493
489
  * @param {Number} opts.start Pagination start (default to 0)
494
490
  * @param {Number} opts.limit Items shown per page
495
- * @param {module:model/NumberBoolean} opts.includeDeletedFiles When enabled, the list of files will also include deleted files. Please note that trying to download these files will not work.
496
491
  * @param {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). Supported fields: `id`, `user_id`, `deal_id`, `person_id`, `org_id`, `product_id`, `add_time`, `update_time`, `file_name`, `file_type`, `file_size`, `comment`.
497
492
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ListFilesResponse}
498
493
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "17.2.0",
3
+ "version": "17.3.0",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",