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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 PHP SDK v2 Configuration to use correct `/v2` API endpoints after OAuth token refresh instead of defaulting to `/v1`

## [30.2.0] - 2025-10-06
### Added
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/models/add-team-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface AddTeamRequest {
*/
'manager_id'?: number;
/**
* The IDs of the users that belong to the team
* The list of user IDs
* @type {Array<number>}
*/
'users'?: Array<number>;
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/models/add-team-request1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface AddTeamRequest1 {
*/
'description'?: string;
/**
* The IDs of the users that belong to the team
* The list of user IDs
* @type {Array<number>}
*/
'users'?: Array<number>;
Expand Down
4 changes: 2 additions & 2 deletions src/versions/v1/models/get-permitted-users-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

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

/**
* @type GetPermittedUsersResponse
* @export
*/
export type GetPermittedUsersResponse = BaseResponse1;
export type GetPermittedUsersResponse = BaseResponse;


8 changes: 4 additions & 4 deletions src/versions/v1/models/get-products-response1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
import { GetActivitiesResponseRelatedObjects } from './get-activities-response-related-objects';
// May contain unused imports in some cases
// @ts-ignore
import { GetProductResponse } from './get-product-response';
import { GetFieldsResponseAllOfAdditionalData } from './get-fields-response-all-of-additional-data';
// May contain unused imports in some cases
// @ts-ignore
import { GetProductsResponse1AdditionalData } from './get-products-response1-additional-data';
import { GetProductResponse } from './get-product-response';

/**
*
Expand All @@ -41,9 +41,9 @@ export interface GetProductsResponse1 {
'data': Array<GetProductResponse>;
/**
*
* @type {GetProductsResponse1AdditionalData}
* @type {GetFieldsResponseAllOfAdditionalData}
*/
'additional_data': GetProductsResponse1AdditionalData;
'additional_data': GetFieldsResponseAllOfAdditionalData;
/**
*
* @type {GetActivitiesResponseRelatedObjects}
Expand Down
2 changes: 0 additions & 2 deletions src/versions/v1/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export * from './base-pipeline-with-selected-flag';
export * from './base-pipeline-with-selected-flag-all-of';
export * from './base-product';
export * from './base-response';
export * from './base-response1';
export * from './base-response-all-of';
export * from './base-role-request';
export * from './base-stage';
Expand Down Expand Up @@ -497,7 +496,6 @@ export * from './get-product-search-response-all-of-data-items-inner-item';
export * from './get-product-search-response-all-of-data-items-inner-item-owner';
export * from './get-products-response';
export * from './get-products-response1';
export * from './get-products-response1-additional-data';
export * from './get-products-response-all-of';
export * from './get-products-response-all-of-additional-data';
export * from './get-products-response-all-of-additional-data-all-of';
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v2/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export * from './organization-item1';
export * from './organization-item-address';
export * from './prices-array';
export * from './product-request';
export * from './stage';
export * from './stage-item';
export * from './stage-item1';
export * from './update-additional-discount-request-body';
export * from './update-additional-discount-response';
export * from './update-deal-product-request';
Expand Down
74 changes: 74 additions & 0 deletions src/versions/v2/models/stage-item1.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* The stage object
* @export
* @interface StageItem1
*/
export interface StageItem1 {
/**
* The ID of the stage
* @type {number}
*/
'id'?: number;
/**
* Defines the order of the stage
* @type {number}
*/
'order_nr'?: number;
/**
* The name of the stage
* @type {string}
*/
'name'?: string;
/**
* Whether the stage is marked as deleted or not
* @type {boolean}
*/
'is_deleted'?: boolean;
/**
* The success probability percentage of the deal. Used/shown when the deal weighted values are used.
* @type {number}
*/
'deal_probability'?: number;
/**
* The ID of the pipeline to add the stage to
* @type {number}
*/
'pipeline_id'?: number;
/**
* Whether deals in this stage can become rotten
* @type {boolean}
*/
'is_deal_rot_enabled'?: boolean;
/**
* The number of days the deals not updated in this stage would become rotten. Applies only if the `is_deal_rot_enabled` is set.
* @type {number}
*/
'days_to_rotten'?: number | null;
/**
* The stage creation time
* @type {string}
*/
'add_time'?: string;
/**
* The stage update time
* @type {string}
*/
'update_time'?: string;
}

6 changes: 3 additions & 3 deletions src/versions/v2/models/upsert-stage-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// May contain unused imports in some cases
// @ts-ignore
import { Stage } from './stage';
import { StageItem1 } from './stage-item1';

/**
*
Expand All @@ -30,8 +30,8 @@ export interface UpsertStageResponse {
'success'?: boolean;
/**
*
* @type {Stage}
* @type {StageItem1}
*/
'data'?: Stage;
'data'?: StageItem1;
}