Skip to content

Commit 3672875

Browse files
Release v30.2.1 from PR #677
2 parents b658e1e + 262f2bc commit 3672875

File tree

11 files changed

+95
-18
lines changed

11 files changed

+95
-18
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
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+
## [30.2.1] - 2025-10-06
12+
### Fixed
13+
- Fixed PHP SDK v2 Configuration to use correct `/v2` API endpoints after OAuth token refresh instead of defaulting to `/v1`
14+
1115
## [30.2.0] - 2025-10-06
1216
### Added
1317
- Added `POST /deals/{id}/products/bulk` endpoint for creating multiple deal products at once (max 100 per request)
@@ -977,7 +981,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
977981
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
978982
* Fixed typo in lead example response (`crrency` to `currency`)
979983

980-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.2.0...HEAD
984+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v30.2.1...HEAD
985+
[30.2.1]: https://github.com/pipedrive/api-docs/compare/v30.2.0...v30.2.1
981986
[30.2.0]: https://github.com/pipedrive/api-docs/compare/v30.1.0...v30.2.0
982987
[30.1.0]: https://github.com/pipedrive/api-docs/compare/v30.0.0...v30.1.0
983988
[30.0.0]: https://github.com/pipedrive/api-docs/compare/v29.2.5...v30.0.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": "30.2.0",
3+
"version": "30.2.1",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/models/add-team-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface AddTeamRequest {
3636
*/
3737
'manager_id'?: number;
3838
/**
39-
* The IDs of the users that belong to the team
39+
* The list of user IDs
4040
* @type {Array<number>}
4141
*/
4242
'users'?: Array<number>;

src/versions/v1/models/add-team-request1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface AddTeamRequest1 {
3636
*/
3737
'description'?: string;
3838
/**
39-
* The IDs of the users that belong to the team
39+
* The list of user IDs
4040
* @type {Array<number>}
4141
*/
4242
'users'?: Array<number>;

src/versions/v1/models/get-permitted-users-response.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515

1616
// May contain unused imports in some cases
1717
// @ts-ignore
18-
import { BaseResponse1 } from './base-response1';
18+
import { BaseResponse } from './base-response';
1919

2020
/**
2121
* @type GetPermittedUsersResponse
2222
* @export
2323
*/
24-
export type GetPermittedUsersResponse = BaseResponse1;
24+
export type GetPermittedUsersResponse = BaseResponse;
2525

2626

src/versions/v1/models/get-products-response1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
import { GetActivitiesResponseRelatedObjects } from './get-activities-response-related-objects';
1919
// May contain unused imports in some cases
2020
// @ts-ignore
21-
import { GetProductResponse } from './get-product-response';
21+
import { GetFieldsResponseAllOfAdditionalData } from './get-fields-response-all-of-additional-data';
2222
// May contain unused imports in some cases
2323
// @ts-ignore
24-
import { GetProductsResponse1AdditionalData } from './get-products-response1-additional-data';
24+
import { GetProductResponse } from './get-product-response';
2525

2626
/**
2727
*
@@ -41,9 +41,9 @@ export interface GetProductsResponse1 {
4141
'data': Array<GetProductResponse>;
4242
/**
4343
*
44-
* @type {GetProductsResponse1AdditionalData}
44+
* @type {GetFieldsResponseAllOfAdditionalData}
4545
*/
46-
'additional_data': GetProductsResponse1AdditionalData;
46+
'additional_data': GetFieldsResponseAllOfAdditionalData;
4747
/**
4848
*
4949
* @type {GetActivitiesResponseRelatedObjects}

src/versions/v1/models/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export * from './base-pipeline-with-selected-flag';
112112
export * from './base-pipeline-with-selected-flag-all-of';
113113
export * from './base-product';
114114
export * from './base-response';
115-
export * from './base-response1';
116115
export * from './base-response-all-of';
117116
export * from './base-role-request';
118117
export * from './base-stage';
@@ -497,7 +496,6 @@ export * from './get-product-search-response-all-of-data-items-inner-item';
497496
export * from './get-product-search-response-all-of-data-items-inner-item-owner';
498497
export * from './get-products-response';
499498
export * from './get-products-response1';
500-
export * from './get-products-response1-additional-data';
501499
export * from './get-products-response-all-of';
502500
export * from './get-products-response-all-of-additional-data';
503501
export * from './get-products-response-all-of-additional-data-all-of';

src/versions/v2/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ export * from './organization-item1';
160160
export * from './organization-item-address';
161161
export * from './prices-array';
162162
export * from './product-request';
163-
export * from './stage';
164163
export * from './stage-item';
164+
export * from './stage-item1';
165165
export * from './update-additional-discount-request-body';
166166
export * from './update-additional-discount-response';
167167
export * from './update-deal-product-request';
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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+
* The stage object
19+
* @export
20+
* @interface StageItem1
21+
*/
22+
export interface StageItem1 {
23+
/**
24+
* The ID of the stage
25+
* @type {number}
26+
*/
27+
'id'?: number;
28+
/**
29+
* Defines the order of the stage
30+
* @type {number}
31+
*/
32+
'order_nr'?: number;
33+
/**
34+
* The name of the stage
35+
* @type {string}
36+
*/
37+
'name'?: string;
38+
/**
39+
* Whether the stage is marked as deleted or not
40+
* @type {boolean}
41+
*/
42+
'is_deleted'?: boolean;
43+
/**
44+
* The success probability percentage of the deal. Used/shown when the deal weighted values are used.
45+
* @type {number}
46+
*/
47+
'deal_probability'?: number;
48+
/**
49+
* The ID of the pipeline to add the stage to
50+
* @type {number}
51+
*/
52+
'pipeline_id'?: number;
53+
/**
54+
* Whether deals in this stage can become rotten
55+
* @type {boolean}
56+
*/
57+
'is_deal_rot_enabled'?: boolean;
58+
/**
59+
* The number of days the deals not updated in this stage would become rotten. Applies only if the `is_deal_rot_enabled` is set.
60+
* @type {number}
61+
*/
62+
'days_to_rotten'?: number | null;
63+
/**
64+
* The stage creation time
65+
* @type {string}
66+
*/
67+
'add_time'?: string;
68+
/**
69+
* The stage update time
70+
* @type {string}
71+
*/
72+
'update_time'?: string;
73+
}
74+

0 commit comments

Comments
 (0)