Skip to content

Commit 9376277

Browse files
author
pipedrive-bot
committed
Build 296 - version-minor
1 parent 28abc88 commit 9376277

File tree

11 files changed

+67
-56
lines changed

11 files changed

+67
-56
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
77
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).
88

99
## [Unreleased]
10+
### Added
11+
- Added three new OAuth2 scopes for field management:
12+
- `deal-fields:full` - Allows applications to create, read, update and delete deal fields (applied to 6 endpoints: GET/POST/DELETE /dealFields and GET/PUT/DELETE /dealFields/{id})
13+
- `product-fields:full` - Allows applications to create, read, update and delete product fields (applied to 6 endpoints: GET/POST/DELETE /productFields and GET/PUT/DELETE /productFields/{id})
14+
- `contact-fields:full` - Allows applications to create, read, update and delete person and organization fields (applied to 12 endpoints: GET/POST/DELETE /personFields, GET/PUT/DELETE /personFields/{id}, GET/POST/DELETE /organizationFields, and GET/PUT/DELETE /organizationFields/{id})
1015

1116
## [30.7.0] - 2025-12-03
1217
### Added

docs/v1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ WebhooksApi | getWebhooks | **GET** /webhooks | Get all Webhooks
314314
- contacts:full: Create, read, update and delete persons and organizations and their followers; all notes, files, filters. Also grants read access to contacts-related fields
315315
- products:read: Read products, its fields, files, followers and products connected to a deal
316316
- products:full: Create, read, update and delete products and its fields; add products to deals
317+
- deal-fields:full: Create, read, update and delete deal fields
318+
- product-fields:full: Create, read, update and delete product fields
319+
- contact-fields:full: Create, read, update and delete person and organization fields
317320
- projects:read: Read projects and its fields, tasks and project templates
318321
- projects:full: Create, read, update and delete projects and its fields; add projects templates and project related tasks
319322
- users:read: Read data about users (people with access to a Pipedrive account), their permissions, roles and followers

docs/v2.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,7 @@ UsersApi | getUserFollowers | **GET** /users/{id}/followers | List followers of
189189
- goals:full: Create, read, update and delete goals
190190
- video-calls: Allows application to register as a video call integration provider and create conference links
191191
- messengers-integration: Allows application to register as a messengers integration provider and allows them to deliver incoming messages and their statuses
192+
- deal-fields:full: Create, read, update and delete deal fields
193+
- product-fields:full: Create, read, update and delete product fields
194+
- contact-fields:full: Create, read, update and delete person and organization fields
192195

src/versions/v1/api/deal-fields-api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
6464

6565
// authentication oauth2 required
6666
// oauth required
67-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
67+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deal-fields:full", "admin"], configuration)
6868

6969

7070

@@ -108,7 +108,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
108108

109109
// authentication oauth2 required
110110
// oauth required
111-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
111+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deal-fields:full", "admin"], configuration)
112112

113113

114114

@@ -148,7 +148,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
148148

149149
// authentication oauth2 required
150150
// oauth required
151-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
151+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deal-fields:full", "admin"], configuration)
152152

153153
if (ids !== undefined) {
154154
localVarQueryParameter['ids'] = ids;
@@ -193,7 +193,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
193193

194194
// authentication oauth2 required
195195
// oauth required
196-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
196+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "deal-fields:full", "admin"], configuration)
197197

198198

199199

@@ -232,7 +232,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
232232

233233
// authentication oauth2 required
234234
// oauth required
235-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
235+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "deal-fields:full", "admin"], configuration)
236236

237237
if (start !== undefined) {
238238
localVarQueryParameter['start'] = start;
@@ -282,7 +282,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
282282

283283
// authentication oauth2 required
284284
// oauth required
285-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
285+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deal-fields:full", "admin"], configuration)
286286

287287

288288

src/versions/v1/api/organization-fields-api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
6464

6565
// authentication oauth2 required
6666
// oauth required
67-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
67+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
6868

6969

7070

@@ -108,7 +108,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
108108

109109
// authentication oauth2 required
110110
// oauth required
111-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
111+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
112112

113113

114114

@@ -148,7 +148,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
148148

149149
// authentication oauth2 required
150150
// oauth required
151-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
151+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
152152

153153
if (ids !== undefined) {
154154
localVarQueryParameter['ids'] = ids;
@@ -193,7 +193,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
193193

194194
// authentication oauth2 required
195195
// oauth required
196-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration)
196+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "contact-fields:full", "admin"], configuration)
197197

198198

199199

@@ -232,7 +232,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
232232

233233
// authentication oauth2 required
234234
// oauth required
235-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration)
235+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "contact-fields:full", "admin"], configuration)
236236

237237
if (start !== undefined) {
238238
localVarQueryParameter['start'] = start;
@@ -282,7 +282,7 @@ export const OrganizationFieldsApiAxiosParamCreator = function (configuration?:
282282

283283
// authentication oauth2 required
284284
// oauth required
285-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
285+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
286286

287287

288288

src/versions/v1/api/person-fields-api.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
6464

6565
// authentication oauth2 required
6666
// oauth required
67-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
67+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
6868

6969

7070

@@ -108,7 +108,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
108108

109109
// authentication oauth2 required
110110
// oauth required
111-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
111+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
112112

113113

114114

@@ -148,7 +148,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
148148

149149
// authentication oauth2 required
150150
// oauth required
151-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
151+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
152152

153153
if (ids !== undefined) {
154154
localVarQueryParameter['ids'] = ids;
@@ -193,7 +193,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
193193

194194
// authentication oauth2 required
195195
// oauth required
196-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration)
196+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "contact-fields:full", "admin"], configuration)
197197

198198

199199

@@ -232,7 +232,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
232232

233233
// authentication oauth2 required
234234
// oauth required
235-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "admin"], configuration)
235+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "contact-fields:full", "admin"], configuration)
236236

237237
if (start !== undefined) {
238238
localVarQueryParameter['start'] = start;
@@ -282,7 +282,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration?: Config
282282

283283
// authentication oauth2 required
284284
// oauth required
285-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
285+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["contact-fields:full", "admin"], configuration)
286286

287287

288288

src/versions/v1/api/product-fields-api.ts

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

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

7171

7272

@@ -110,7 +110,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
110110

111111
// authentication oauth2 required
112112
// oauth required
113-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration)
113+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["product-fields:full", "products:full"], configuration)
114114

115115

116116

@@ -150,7 +150,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
150150

151151
// authentication oauth2 required
152152
// oauth required
153-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration)
153+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["product-fields:full", "products:full"], configuration)
154154

155155
if (ids !== undefined) {
156156
localVarQueryParameter['ids'] = ids;
@@ -195,7 +195,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
195195

196196
// authentication oauth2 required
197197
// oauth required
198-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration)
198+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "product-fields:full", "products:full"], configuration)
199199

200200

201201

@@ -234,7 +234,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
234234

235235
// authentication oauth2 required
236236
// oauth required
237-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration)
237+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "product-fields:full", "products:full"], configuration)
238238

239239
if (start !== undefined) {
240240
localVarQueryParameter['start'] = start;
@@ -284,7 +284,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
284284

285285
// authentication oauth2 required
286286
// oauth required
287-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration)
287+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["product-fields:full", "products:full"], configuration)
288288

289289

290290

src/versions/v2/api/deal-fields-api.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
7272

7373
// authentication oauth2 required
7474
// oauth required
75-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
75+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin", "deal-fields:full"], configuration)
7676

7777

7878

@@ -119,7 +119,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
119119

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

124124

125125

@@ -163,7 +163,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
163163

164164
// authentication oauth2 required
165165
// oauth required
166-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration)
166+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin", "deal-fields:full"], configuration)
167167

168168

169169

@@ -207,7 +207,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
207207

208208
// authentication oauth2 required
209209
// oauth required
210-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin"], configuration)
210+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin", "deal-fields:full"], configuration)
211211

212212

213213

@@ -252,7 +252,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
252252

253253
// authentication oauth2 required
254254
// oauth required
255-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
255+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin", "deal-fields:full"], configuration)
256256

257257
if (include_fields !== undefined) {
258258
localVarQueryParameter['include_fields'] = include_fields;
@@ -296,7 +296,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
296296

297297
// authentication oauth2 required
298298
// oauth required
299-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
299+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin", "deal-fields:full"], configuration)
300300

301301
if (include_fields !== undefined) {
302302
localVarQueryParameter['include_fields'] = include_fields;
@@ -352,7 +352,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
352352

353353
// authentication oauth2 required
354354
// oauth required
355-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin"], configuration)
355+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin", "deal-fields:full"], configuration)
356356

357357

358358

@@ -399,7 +399,7 @@ export const DealFieldsApiAxiosParamCreator = function (configuration?: Configur
399399

400400
// authentication oauth2 required
401401
// oauth required
402-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin"], configuration)
402+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:full", "admin", "deal-fields:full"], configuration)
403403

404404

405405

0 commit comments

Comments
 (0)