pipedrive 18.1.1 → 18.1.2

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
@@ -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
+ ## [18.1.2] - 2023-02-02
12
+ ### Fixed
13
+ - Added missing OAuth scopes for PermissionSets, Roles, and Users API endpoints
14
+
11
15
  ## [18.1.1] - 2023-01-25
12
16
  ### Fixed
13
17
  - Updated `user_id` description for `POST /webhooks/`
@@ -456,7 +460,8 @@ structure
456
460
  * Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
457
461
  * Fixed typo in lead example response (`crrency` to `currency`)
458
462
 
459
- [Unreleased]: https://github.com/pipedrive/api-docs/compare/v18.1.1...HEAD
463
+ [Unreleased]: https://github.com/pipedrive/api-docs/compare/v18.1.2...HEAD
464
+ [18.1.2]: https://github.com/pipedrive/api-docs/compare/v18.1.1...v18.1.2
460
465
  [18.1.1]: https://github.com/pipedrive/api-docs/compare/v18.1.0...v18.1.1
461
466
  [18.1.0]: https://github.com/pipedrive/api-docs/compare/v18.0.3...v18.1.0
462
467
  [18.0.3]: https://github.com/pipedrive/api-docs/compare/v18.0.2...v18.0.3
@@ -67,7 +67,7 @@ var PermissionSetsApi = /*#__PURE__*/function () {
67
67
  }
68
68
  }
69
69
  }
70
- var authNames = ['api_key'];
70
+ var authNames = ['api_key', 'oauth2'];
71
71
  var accepts = ['application/json'];
72
72
  var returnType = _SinglePermissionSetsItem["default"];
73
73
  return this.apiClient.callApi('/permissionSets/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -128,7 +128,7 @@ var PermissionSetsApi = /*#__PURE__*/function () {
128
128
  }
129
129
  }
130
130
  }
131
- var authNames = ['api_key'];
131
+ var authNames = ['api_key', 'oauth2'];
132
132
  var accepts = ['application/json'];
133
133
  var returnType = _UserAssignmentsToPermissionSet["default"];
134
134
  return this.apiClient.callApi('/permissionSets/{id}/assignments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -182,7 +182,7 @@ var PermissionSetsApi = /*#__PURE__*/function () {
182
182
  }
183
183
  }
184
184
  }
185
- var authNames = ['api_key'];
185
+ var authNames = ['api_key', 'oauth2'];
186
186
  var accepts = ['application/json'];
187
187
  var returnType = _PermissionSets["default"];
188
188
  return this.apiClient.callApi('/permissionSets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -87,7 +87,7 @@ var RolesApi = /*#__PURE__*/function () {
87
87
  }
88
88
  }
89
89
  }
90
- var authNames = ['api_key'];
90
+ var authNames = ['api_key', 'oauth2'];
91
91
  var accepts = ['application/json'];
92
92
  var returnType = _PostRoleSettings["default"];
93
93
  return this.apiClient.callApi('/roles/{id}/settings', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -141,7 +141,7 @@ var RolesApi = /*#__PURE__*/function () {
141
141
  }
142
142
  }
143
143
  }
144
- var authNames = ['api_key'];
144
+ var authNames = ['api_key', 'oauth2'];
145
145
  var accepts = ['application/json'];
146
146
  var returnType = _PostRoles["default"];
147
147
  return this.apiClient.callApi('/roles', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -202,7 +202,7 @@ var RolesApi = /*#__PURE__*/function () {
202
202
  }
203
203
  }
204
204
  }
205
- var authNames = ['api_key'];
205
+ var authNames = ['api_key', 'oauth2'];
206
206
  var accepts = ['application/json'];
207
207
  var returnType = _PostRoleAssignment["default"];
208
208
  return this.apiClient.callApi('/roles/{id}/assignments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -259,7 +259,7 @@ var RolesApi = /*#__PURE__*/function () {
259
259
  }
260
260
  }
261
261
  }
262
- var authNames = ['api_key'];
262
+ var authNames = ['api_key', 'oauth2'];
263
263
  var accepts = ['application/json'];
264
264
  var returnType = _DeleteRole["default"];
265
265
  return this.apiClient.callApi('/roles/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -319,7 +319,7 @@ var RolesApi = /*#__PURE__*/function () {
319
319
  }
320
320
  }
321
321
  }
322
- var authNames = ['api_key'];
322
+ var authNames = ['api_key', 'oauth2'];
323
323
  var accepts = ['application/json'];
324
324
  var returnType = _DeleteRoleAssignment["default"];
325
325
  return this.apiClient.callApi('/roles/{id}/assignments', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -376,7 +376,7 @@ var RolesApi = /*#__PURE__*/function () {
376
376
  }
377
377
  }
378
378
  }
379
- var authNames = ['api_key'];
379
+ var authNames = ['api_key', 'oauth2'];
380
380
  var accepts = ['application/json'];
381
381
  var returnType = _GetRole["default"];
382
382
  return this.apiClient.callApi('/roles/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -437,7 +437,7 @@ var RolesApi = /*#__PURE__*/function () {
437
437
  }
438
438
  }
439
439
  }
440
- var authNames = ['api_key'];
440
+ var authNames = ['api_key', 'oauth2'];
441
441
  var accepts = ['application/json'];
442
442
  var returnType = _GetRoleAssignments["default"];
443
443
  return this.apiClient.callApi('/roles/{id}/assignments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -495,7 +495,7 @@ var RolesApi = /*#__PURE__*/function () {
495
495
  }
496
496
  }
497
497
  }
498
- var authNames = ['api_key'];
498
+ var authNames = ['api_key', 'oauth2'];
499
499
  var accepts = ['application/json'];
500
500
  var returnType = _GetRoleSettings["default"];
501
501
  return this.apiClient.callApi('/roles/{id}/settings', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -548,7 +548,7 @@ var RolesApi = /*#__PURE__*/function () {
548
548
  }
549
549
  }
550
550
  }
551
- var authNames = ['api_key'];
551
+ var authNames = ['api_key', 'oauth2'];
552
552
  var accepts = ['application/json'];
553
553
  var returnType = _GetRoles["default"];
554
554
  return this.apiClient.callApi('/roles', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
@@ -607,7 +607,7 @@ var RolesApi = /*#__PURE__*/function () {
607
607
  }
608
608
  }
609
609
  }
610
- var authNames = ['api_key'];
610
+ var authNames = ['api_key', 'oauth2'];
611
611
  var accepts = ['application/json'];
612
612
  var returnType = _PutRole["default"];
613
613
  return this.apiClient.callApi('/roles/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "18.1.1",
3
+ "version": "18.1.2",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",