Skip to content

Commit beec53c

Browse files
Release v27.1.1 from PR #636
2 parents 10c2e13 + 6f3a343 commit beec53c

File tree

6 files changed

+26
-18
lines changed

6 files changed

+26
-18
lines changed

CHANGELOG.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11+
## [27.1.1] - 2025-05-23
12+
### Fixed
13+
- Fixed the OAuth scopes of Deal to Lead conversion and Lead to Deal conversion endpoints
14+
1115
## [27.1.0] - 2025-05-23
1216
### Added
1317
- Added `smart_bcc_email` to optional `include_fields` in Deals API v2
@@ -396,7 +400,7 @@ Based on this [Changelog post](https://developers.pipedrive.com/changelog/post/r
396400
## [19.0.1] - 2023-04-27
397401
### Changed
398402
- Updated `label` field data type in response examples from number -> string for Deals related endpoints
399-
Changed `active_flag`, `enabled_flag`, and `selectable` body parameters and response examples data type from number -> boolean for all Products related endpoints
403+
- Changed `active_flag`, `enabled_flag`, and `selectable` body parameters and response examples data type from number -> boolean for all Products related endpoints
400404

401405
## [19.0.0] - 2023-04-04
402406
### Removed
@@ -485,7 +489,7 @@ Based on this [Changelog post](https://developers.pipedrive.com/changelog/post/b
485489

486490
## 18.0.0
487491
### Security
488-
- Removed `.instance` static property from sdk client to prevent race conditions when using it as a singleton
492+
- Removed `.instance` static property from sdk client to prevent race conditions when using it as a singleton.
489493
See the updated examples in the readme to get an overview of the necessary code changes.
490494

491495
## 17.5.2
@@ -635,9 +639,12 @@ See the updated examples in the readme to get an overview of the necessary code
635639
- Renamed file with long name and it's class.
636640

637641
Old name:
638-
AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser
642+
643+
AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser
644+
639645
New name:
640-
AnyOfRecents
646+
647+
AnyOfRecents
641648

642649
## 14.0.1
643650
### Fixed
@@ -812,7 +819,7 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
812819
## 12.2.0
813820
### Changed
814821
- Changed notes and comments endpoints additional_data to match the correct pagination response
815-
structure
822+
structure
816823
* GET /notes
817824
* GET /notes/:id/comments
818825

@@ -882,7 +889,8 @@ structure
882889
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
883890
* Fixed typo in lead example response (`crrency` to `currency`)
884891

885-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.1.0...HEAD
892+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.1.1...HEAD
893+
[27.1.1]: https://github.com/pipedrive/api-docs/compare/v27.1.0...v27.1.1
886894
[27.1.0]: https://github.com/pipedrive/api-docs/compare/v27.0.1...v27.1.0
887895
[27.0.1]: https://github.com/pipedrive/api-docs/compare/v27.0.0...v27.0.1
888896
[27.0.0]: https://github.com/pipedrive/api-docs/compare/v26.0.0...v27.0.0
@@ -946,4 +954,4 @@ structure
946954
[18.1.0]: https://github.com/pipedrive/api-docs/compare/v18.0.3...v18.1.0
947955
[18.0.3]: https://github.com/pipedrive/api-docs/compare/v18.0.2...v18.0.3
948956
[18.0.2]: https://github.com/pipedrive/api-docs/compare/v18.0.1...v18.0.2
949-
[18.0.1]: https://github.com/pipedrive/api-docs/compare/v1.0.0...v18.0.1
957+
[18.0.1]: https://github.com/pipedrive/api-docs/compare/v1.0.0...v18.0.1

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "27.1.0",
3+
"version": "27.1.1",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v2/api/beta-api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)
7777

7878
// authentication oauth2 required
7979
// oauth required
80-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)
80+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration)
8181

8282

8383

@@ -119,7 +119,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)
119119

120120
// authentication oauth2 required
121121
// oauth required
122-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)
122+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration)
123123

124124

125125

@@ -212,7 +212,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)
212212

213213
// authentication oauth2 required
214214
// oauth required
215-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read"], configuration)
215+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "deals:read"], configuration)
216216

217217

218218

@@ -321,7 +321,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration)
321321

322322
// authentication oauth2 required
323323
// oauth required
324-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration)
324+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration)
325325

326326

327327

src/versions/v2/api/deals-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
248248

249249
// authentication oauth2 required
250250
// oauth required
251-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)
251+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration)
252252

253253

254254

@@ -723,7 +723,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
723723

724724
// authentication oauth2 required
725725
// oauth required
726-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read"], configuration)
726+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "deals:read"], configuration)
727727

728728

729729

src/versions/v2/api/leads-api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
6666

6767
// authentication oauth2 required
6868
// oauth required
69-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration)
69+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration)
7070

7171

7272

@@ -114,7 +114,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
114114

115115
// authentication oauth2 required
116116
// oauth required
117-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration)
117+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration)
118118

119119

120120

0 commit comments

Comments
 (0)