Skip to content

Commit 82180ba

Browse files
Release v33.4.3 from PR #738
2 parents 645f360 + 1e077c4 commit 82180ba

9 files changed

Lines changed: 52 additions & 18 deletions

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [33.4.3] - 2026-06-09
12+
### Fixed
13+
- Fixed `option_id` field type in v2 field schemas (`ActivityField`, `DealField`, `OrganizationField`, `PersonField`, `ProductField`, `ProjectField`) — changed from `integer` to `integer | string` to reflect that built-in fields use string IDs
14+
- Removed `description` from the required fields list in `DealField` and `DealFieldItem` schemas, aligning with the rest of the v2 field schemas
15+
1116
## [33.4.2] - 2026-06-04
1217
### Fixed
1318
- Replaced dynamic imports, so now SSR is supported (ie.: NextJS with Turbopack)
@@ -1290,7 +1295,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
12901295
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
12911296
* Fixed typo in lead example response (`crrency` to `currency`)
12921297

1293-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v33.4.2...HEAD
1298+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v33.4.3...HEAD
1299+
[33.4.3]: https://github.com/pipedrive/api-docs/compare/v33.4.2...v33.4.3
12941300
[33.4.2]: https://github.com/pipedrive/api-docs/compare/v33.4.1...v33.4.2
12951301
[33.4.1]: https://github.com/pipedrive/api-docs/compare/v33.4.0...v33.4.1
12961302
[33.4.0]: https://github.com/pipedrive/api-docs/compare/v33.3.0...v33.4.0

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": "33.4.2",
3+
"version": "33.4.3",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v2/models/add-deal-field-request-required-fields.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface AddDealFieldRequestRequiredFields {
3333
*/
3434
'stage_ids'?: Array<number>;
3535
/**
36-
* Pipeline-specific status requirements for when deals are won or lost. Keys are pipeline IDs (as strings), values are arrays of status strings (\'won\', \'lost\'). Example - {\"1\":[\"won\",\"lost\"],\"2\":[\"won\"]} means the field is required when marking deals as won or lost in pipeline 1, and only when won in pipeline 2. Must reference valid, active pipelines.
36+
* Pipeline-specific status requirements for when deals are won or lost. Keys are pipeline IDs (as strings), values are arrays of status strings (\'won\', \'lost\'). Example - `{\"1\":[\"won\",\"lost\"],\"2\":[\"won\"]}` means the field is required when marking deals as won or lost in pipeline 1, and only when won in pipeline 2. Must reference valid, active pipelines.
3737
* @type {{ [key: string]: Array<string> | undefined; }}
3838
*/
3939
'statuses'?: { [key: string]: Array<string> | undefined; };

src/versions/v2/models/delete-deal-field200-response-data.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ export interface DeleteDealField200ResponseData {
3131
*/
3232
'field_code': string;
3333
/**
34-
* The description of the field
35-
* @type {string}
36-
*/
37-
'description': string;
38-
/**
3934
* The type of the field
4035
* @type {string}
4136
*/
@@ -51,6 +46,11 @@ export interface DeleteDealField200ResponseData {
5146
*/
5247
'is_optional_response_field': boolean;
5348
/**
49+
* The description of the field
50+
* @type {string}
51+
*/
52+
'description'?: string;
53+
/**
5454
* Array of available options for enum/set fields, null for other field types
5555
* @type {Array<object>}
5656
*/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Pipedrive API v2
5+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6+
*
7+
* The version of the OpenAPI document: 2.0.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
17+
/**
18+
* @type GetActivityFields200ResponseDataInnerOptionsInnerId
19+
* The option ID (integer for custom fields, string for built-in fields)
20+
* @export
21+
*/
22+
export type GetActivityFields200ResponseDataInnerOptionsInnerId = number | string;
23+
24+

src/versions/v2/models/get-activity-fields200-response-data-inner-options-inner.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
*/
1414

1515

16+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { GetActivityFields200ResponseDataInnerOptionsInnerId } from './get-activity-fields200-response-data-inner-options-inner-id';
1619

1720
/**
1821
*
@@ -21,10 +24,10 @@
2124
*/
2225
export interface GetActivityFields200ResponseDataInnerOptionsInner {
2326
/**
24-
* The option ID
25-
* @type {number}
27+
*
28+
* @type {GetActivityFields200ResponseDataInnerOptionsInnerId}
2629
*/
27-
'id'?: number;
30+
'id'?: GetActivityFields200ResponseDataInnerOptionsInnerId;
2831
/**
2932
* The option display label
3033
* @type {string}

src/versions/v2/models/get-deal-fields200-response-data-inner.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ export interface GetDealFields200ResponseDataInner {
4646
*/
4747
'field_code': string;
4848
/**
49-
* The description of the field
50-
* @type {string}
51-
*/
52-
'description': string;
53-
/**
5449
* The type of the field
5550
* @type {string}
5651
*/
@@ -66,6 +61,11 @@ export interface GetDealFields200ResponseDataInner {
6661
*/
6762
'is_optional_response_field': boolean;
6863
/**
64+
* The description of the field
65+
* @type {string}
66+
*/
67+
'description'?: string;
68+
/**
6969
* Array of available options for enum/set fields, null for other field types
7070
* @type {Array<GetActivityFields200ResponseDataInnerOptionsInner>}
7171
*/

src/versions/v2/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export * from './get-activity-fields200-response';
125125
export * from './get-activity-fields200-response-additional-data';
126126
export * from './get-activity-fields200-response-data-inner';
127127
export * from './get-activity-fields200-response-data-inner-options-inner';
128+
export * from './get-activity-fields200-response-data-inner-options-inner-id';
128129
export * from './get-activity-fields200-response-data-inner-subfields-inner';
129130
export * from './get-activity-fields200-response-data-inner-ui-visibility';
130131
export * from './get-additional-discounts-response';

0 commit comments

Comments
 (0)