diff --git a/CHANGELOG.md b/CHANGELOG.md index 33b9eb56..9124ea20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e 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). ## [Unreleased] +### Fixed +- Fixed the OAuth scopes of Deal to Lead conversion and Lead to Deal conversion endpoints ## [27.1.0] - 2025-05-23 ### Added @@ -396,7 +398,7 @@ Based on this [Changelog post](https://developers.pipedrive.com/changelog/post/r ## [19.0.1] - 2023-04-27 ### Changed - Updated `label` field data type in response examples from number -> string for Deals related endpoints -Changed `active_flag`, `enabled_flag`, and `selectable` body parameters and response examples data type from number -> boolean for all Products related endpoints +- Changed `active_flag`, `enabled_flag`, and `selectable` body parameters and response examples data type from number -> boolean for all Products related endpoints ## [19.0.0] - 2023-04-04 ### Removed @@ -485,7 +487,7 @@ Based on this [Changelog post](https://developers.pipedrive.com/changelog/post/b ## 18.0.0 ### Security -- Removed `.instance` static property from sdk client to prevent race conditions when using it as a singleton +- Removed `.instance` static property from sdk client to prevent race conditions when using it as a singleton. See the updated examples in the readme to get an overview of the necessary code changes. ## 17.5.2 @@ -635,9 +637,12 @@ See the updated examples in the readme to get an overview of the necessary code - Renamed file with long name and it's class. Old name: - AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser + +AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser + New name: - AnyOfRecents + +AnyOfRecents ## 14.0.1 ### Fixed @@ -812,7 +817,7 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0 ## 12.2.0 ### Changed - Changed notes and comments endpoints additional_data to match the correct pagination response -structure + structure * GET /notes * GET /notes/:id/comments @@ -946,4 +951,4 @@ structure [18.1.0]: https://github.com/pipedrive/api-docs/compare/v18.0.3...v18.1.0 [18.0.3]: https://github.com/pipedrive/api-docs/compare/v18.0.2...v18.0.3 [18.0.2]: https://github.com/pipedrive/api-docs/compare/v18.0.1...v18.0.2 -[18.0.1]: https://github.com/pipedrive/api-docs/compare/v1.0.0...v18.0.1 +[18.0.1]: https://github.com/pipedrive/api-docs/compare/v1.0.0...v18.0.1 \ No newline at end of file diff --git a/src/versions/v2/api/beta-api.ts b/src/versions/v2/api/beta-api.ts index b15870df..c358ad38 100644 --- a/src/versions/v2/api/beta-api.ts +++ b/src/versions/v2/api/beta-api.ts @@ -77,7 +77,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration) // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration) @@ -119,7 +119,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration) // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration) @@ -212,7 +212,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration) // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "deals:read"], configuration) @@ -321,7 +321,7 @@ export const BetaApiAxiosParamCreator = function (configuration?: Configuration) // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration) diff --git a/src/versions/v2/api/deals-api.ts b/src/versions/v2/api/deals-api.ts index 7ac050f6..864bea29 100644 --- a/src/versions/v2/api/deals-api.ts +++ b/src/versions/v2/api/deals-api.ts @@ -248,7 +248,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full"], configuration) @@ -723,7 +723,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "deals:read"], configuration) diff --git a/src/versions/v2/api/leads-api.ts b/src/versions/v2/api/leads-api.ts index 43fe2c25..f7bdc131 100644 --- a/src/versions/v2/api/leads-api.ts +++ b/src/versions/v2/api/leads-api.ts @@ -66,7 +66,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "leads:full"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full"], configuration) @@ -114,7 +114,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration // authentication oauth2 required // oauth required - await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:read"], configuration) + await setOAuthToObject(localVarHeaderParameter, "oauth2", ["leads:full", "leads:read"], configuration)