Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ 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]
### Added
- Added `custom_fields` property to the Person entity request schema in v2 endpoints that will fix types in endpoints:
- `POST /api/v2/persons`
- `PATCH /api/v2/persons/{id}`
- Added `custom_fields` property to the Product entity request schema in v2 endpoints that will fix types in endpoints:
- `POST /api/v2/products`
- `PATCH /api/v2/products/{id}`

## [31.2.1] - 2026-01-30
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/api/call-logs-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const CallLogsApiAxiosParamCreator = function (configuration?: Configurat


if (file !== undefined) {
localVarFormParams.append('file', file as any);
localVarFormParams.append('file', file);
}


Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/api/files-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const FilesApiAxiosParamCreator = function (configuration?: Configuration


if (file !== undefined) {
localVarFormParams.append('file', file as any);
localVarFormParams.append('file', file);
}

if (deal_id !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/api/persons-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const PersonsApiAxiosParamCreator = function (configuration?: Configurati


if (file !== undefined) {
localVarFormParams.append('file', file as any);
localVarFormParams.append('file', file);
}

if (crop_x !== undefined) {
Expand Down
4 changes: 2 additions & 2 deletions src/versions/v2/api/products-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat


if (data !== undefined) {
localVarFormParams.append('data', data as any);
localVarFormParams.append('data', data);
}


Expand Down Expand Up @@ -976,7 +976,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat


if (data !== undefined) {
localVarFormParams.append('data', data as any);
localVarFormParams.append('data', data);
}


Expand Down
5 changes: 5 additions & 0 deletions src/versions/v2/models/add-person-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ export interface AddPersonRequest {
* @type {string}
*/
'marketing_status'?: AddPersonRequestMarketingStatusConst;
/**
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: any | undefined; };
}

export const AddPersonRequestMarketingStatusConst = {
Expand Down
5 changes: 5 additions & 0 deletions src/versions/v2/models/product-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export interface ProductRequest {
* @type {Array<object>}
*/
'prices'?: Array<object>;
/**
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: any | undefined; };
}

export const ProductRequestVisibleToConst = {
Expand Down
5 changes: 5 additions & 0 deletions src/versions/v2/models/update-person-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ export interface UpdatePersonRequest {
* @type {string}
*/
'marketing_status'?: UpdatePersonRequestMarketingStatusConst;
/**
* An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes
* @type {{ [key: string]: any | undefined; }}
*/
'custom_fields'?: { [key: string]: any | undefined; };
}

export const UpdatePersonRequestMarketingStatusConst = {
Expand Down
Loading