Skip to content

Commit c108594

Browse files
Release v28.0.0 from PR #649
2 parents 1334a08 + 235f548 commit c108594

File tree

8 files changed

+27
-67
lines changed

8 files changed

+27
-67
lines changed

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [28.0.0] - 2025-06-16
12+
### Removed
13+
- Removed `deals_summary` from `GET /v1/stages/:id` and `GET /v1/pipelines/:id`
14+
- Removed `totals_convert_currency` query parameter from `GET /v1/pipelines/:id`
15+
- Removed `everyone` query parameter from `GET /v1/stages/:id`
16+
1117
## [27.2.1] - 2025-06-09
1218
### Added
1319
- Documented `address` property in the Organization v2 API for add and update endpoints:
@@ -900,7 +906,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
900906
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
901907
* Fixed typo in lead example response (`crrency` to `currency`)
902908

903-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.2.1...HEAD
909+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v28.0.0...HEAD
910+
[28.0.0]: https://github.com/pipedrive/api-docs/compare/v27.2.1...v28.0.0
904911
[27.2.1]: https://github.com/pipedrive/api-docs/compare/v27.2.0...v27.2.1
905912
[27.2.0]: https://github.com/pipedrive/api-docs/compare/v27.1.1...v27.2.0
906913
[27.1.1]: https://github.com/pipedrive/api-docs/compare/v27.1.0...v27.1.1

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

src/versions/v1/api/pipelines-api.ts

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,13 @@ export const PipelinesApiAxiosParamCreator = function (configuration?: Configura
130130
};
131131
},
132132
/**
133-
* Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
133+
* Returns data about a specific pipeline.
134134
* @summary Get one pipeline
135135
* @param {number} id The ID of the pipeline
136-
* @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, `per_stages_converted` is returned in `deals_summary` which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to `default_currency` in which case users default currency is used.
137136
* @deprecated
138137
* @throws {RequiredError}
139138
*/
140-
getPipeline: async (id: number, totals_convert_currency?: string, ): Promise<RequestArgs> => {
139+
getPipeline: async (id: number, ): Promise<RequestArgs> => {
141140
// verify required parameter 'id' is not null or undefined
142141
assertParamExists('getPipeline', 'id', id)
143142
const localVarPath = `/pipelines/{id}`
@@ -160,10 +159,6 @@ export const PipelinesApiAxiosParamCreator = function (configuration?: Configura
160159
// oauth required
161160
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
162161

163-
if (totals_convert_currency !== undefined) {
164-
localVarQueryParameter['totals_convert_currency'] = totals_convert_currency;
165-
}
166-
167162

168163

169164
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -500,15 +495,14 @@ export const PipelinesApiFp = function(configuration?: Configuration) {
500495
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
501496
},
502497
/**
503-
* Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
498+
* Returns data about a specific pipeline.
504499
* @summary Get one pipeline
505500
* @param {number} id The ID of the pipeline
506-
* @param {string} [totals_convert_currency] The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
507501
* @deprecated
508502
* @throws {RequiredError}
509503
*/
510-
async getPipeline(id: number, totals_convert_currency?: string, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineResponse>> {
511-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPipeline(id, totals_convert_currency, );
504+
async getPipeline(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetPipelineResponse>> {
505+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPipeline(id, );
512506
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
513507
},
514508
/**
@@ -611,14 +605,14 @@ export const PipelinesApiFactory = function (configuration?: Configuration, base
611605
return localVarFp.deletePipeline(requestParameters.id, ).then((request) => request(axios, basePath));
612606
},
613607
/**
614-
* Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
608+
* Returns data about a specific pipeline.
615609
* @summary Get one pipeline
616610
* @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
617611
* @deprecated
618612
* @throws {RequiredError}
619613
*/
620614
getPipeline(requestParameters: PipelinesApiGetPipelineRequest, ): Promise<GetPipelineResponse> {
621-
return localVarFp.getPipeline(requestParameters.id, requestParameters.totals_convert_currency, ).then((request) => request(axios, basePath));
615+
return localVarFp.getPipeline(requestParameters.id, ).then((request) => request(axios, basePath));
622616
},
623617
/**
624618
* Returns all stage-to-stage conversion and pipeline-to-close rates for the given time period.
@@ -712,13 +706,6 @@ export interface PipelinesApiGetPipelineRequest {
712706
* @memberof PipelinesApiGetPipeline
713707
*/
714708
readonly id: number
715-
716-
/**
717-
* The 3-letter currency code of any of the supported currencies. When supplied, &#x60;per_stages_converted&#x60; is returned in &#x60;deals_summary&#x60; which contains the currency-converted total amounts in the given currency per each stage. You may also set this parameter to &#x60;default_currency&#x60; in which case users default currency is used.
718-
* @type {string}
719-
* @memberof PipelinesApiGetPipeline
720-
*/
721-
readonly totals_convert_currency?: string
722709
}
723710

724711
/**
@@ -914,15 +901,15 @@ export class PipelinesApi extends BaseAPI {
914901
}
915902

916903
/**
917-
* Returns data about a specific pipeline. Also returns the summary of the deals in this pipeline across its stages.
904+
* Returns data about a specific pipeline.
918905
* @summary Get one pipeline
919906
* @param {PipelinesApiGetPipelineRequest} requestParameters Request parameters.
920907
* @deprecated
921908
* @throws {RequiredError}
922909
* @memberof PipelinesApi
923910
*/
924911
public getPipeline(requestParameters: PipelinesApiGetPipelineRequest, ) {
925-
return PipelinesApiFp(this.configuration).getPipeline(requestParameters.id, requestParameters.totals_convert_currency, ).then((request) => request(this.axios, this.basePath));
912+
return PipelinesApiFp(this.configuration).getPipeline(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
926913
}
927914

928915
/**

src/versions/v1/api/stages-api.ts

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,10 @@ export const StagesApiAxiosParamCreator = function (configuration?: Configuratio
173173
* Returns data about a specific stage.
174174
* @summary Get one stage
175175
* @param {number} id The ID of the stage
176-
* @param {0 | 1} [everyone] If &#x60;everyone&#x3D;1&#x60; is provided, deals summary will return deals owned by every user
177176
* @deprecated
178177
* @throws {RequiredError}
179178
*/
180-
getStage: async (id: number, everyone?: 0 | 1, ): Promise<RequestArgs> => {
179+
getStage: async (id: number, ): Promise<RequestArgs> => {
181180
// verify required parameter 'id' is not null or undefined
182181
assertParamExists('getStage', 'id', id)
183182
const localVarPath = `/stages/{id}`
@@ -200,10 +199,6 @@ export const StagesApiAxiosParamCreator = function (configuration?: Configuratio
200199
// oauth required
201200
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration)
202201

203-
if (everyone !== undefined) {
204-
localVarQueryParameter['everyone'] = everyone;
205-
}
206-
207202

208203

209204
setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -426,12 +421,11 @@ export const StagesApiFp = function(configuration?: Configuration) {
426421
* Returns data about a specific stage.
427422
* @summary Get one stage
428423
* @param {number} id The ID of the stage
429-
* @param {0 | 1} [everyone] If &#x60;everyone&#x3D;1&#x60; is provided, deals summary will return deals owned by every user
430424
* @deprecated
431425
* @throws {RequiredError}
432426
*/
433-
async getStage(id: number, everyone?: 0 | 1, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStageResponse>> {
434-
const localVarAxiosArgs = await localVarAxiosParamCreator.getStage(id, everyone, );
427+
async getStage(id: number, ): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetStageResponse>> {
428+
const localVarAxiosArgs = await localVarAxiosParamCreator.getStage(id, );
435429
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
436430
},
437431
/**
@@ -523,7 +517,7 @@ export const StagesApiFactory = function (configuration?: Configuration, basePat
523517
* @throws {RequiredError}
524518
*/
525519
getStage(requestParameters: StagesApiGetStageRequest, ): Promise<GetStageResponse> {
526-
return localVarFp.getStage(requestParameters.id, requestParameters.everyone, ).then((request) => request(axios, basePath));
520+
return localVarFp.getStage(requestParameters.id, ).then((request) => request(axios, basePath));
527521
},
528522
/**
529523
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned. <br>This endpoint has been deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Deals#getDeals\" target=\"_blank\" rel=\"noopener noreferrer\">GET /api/v2/deals?stage_id={id}</a> instead.
@@ -612,13 +606,6 @@ export interface StagesApiGetStageRequest {
612606
* @memberof StagesApiGetStage
613607
*/
614608
readonly id: number
615-
616-
/**
617-
* If &#x60;everyone&#x3D;1&#x60; is provided, deals summary will return deals owned by every user
618-
* @type {0 | 1}
619-
* @memberof StagesApiGetStage
620-
*/
621-
readonly everyone?: 0 | 1
622609
}
623610

624611
/**
@@ -771,7 +758,7 @@ export class StagesApi extends BaseAPI {
771758
* @memberof StagesApi
772759
*/
773760
public getStage(requestParameters: StagesApiGetStageRequest, ) {
774-
return StagesApiFp(this.configuration).getStage(requestParameters.id, requestParameters.everyone, ).then((request) => request(this.axios, this.basePath));
761+
return StagesApiFp(this.configuration).getStage(requestParameters.id, ).then((request) => request(this.axios, this.basePath));
775762
}
776763

777764
/**

src/versions/v1/models/get-stage-response-data.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,12 @@
1616
// May contain unused imports in some cases
1717
// @ts-ignore
1818
import { BaseStage } from './base-stage';
19-
// May contain unused imports in some cases
20-
// @ts-ignore
21-
import { PipelineDetailsAllOfDealsSummary } from './pipeline-details-all-of-deals-summary';
22-
// May contain unused imports in some cases
23-
// @ts-ignore
24-
import { StageDetailsData } from './stage-details-data';
2519

2620
/**
2721
* @type GetStageResponseData
2822
* The stage object
2923
* @export
3024
*/
31-
export type GetStageResponseData = BaseStage & StageDetailsData;
25+
export type GetStageResponseData = BaseStage;
3226

3327

src/versions/v1/models/index.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -672,14 +672,6 @@ export * from './picture-data-pictures';
672672
export * from './picture-data-with-id';
673673
export * from './picture-data-with-value';
674674
export * from './pipeline-details';
675-
export * from './pipeline-details-all-of';
676-
export * from './pipeline-details-all-of-deals-summary';
677-
export * from './pipeline-details-all-of-deals-summary-per-currency';
678-
export * from './pipeline-details-all-of-deals-summary-per-currency-full';
679-
export * from './pipeline-details-all-of-deals-summary-per-currency-full-currencyid';
680-
export * from './pipeline-details-all-of-deals-summary-per-stages';
681-
export * from './pipeline-details-all-of-deals-summary-per-stages-stageid';
682-
export * from './pipeline-details-all-of-deals-summary-per-stages-stageidcurrencyid';
683675
export * from './pipeline-request';
684676
export * from './pipeline-request1';
685677
export * from './product-field';
@@ -737,7 +729,6 @@ export * from './role-assignment-data';
737729
export * from './role-settings';
738730
export * from './search-item';
739731
export * from './stage';
740-
export * from './stage-details-data';
741732
export * from './stage-with-pipeline-info';
742733
export * from './sub-role';
743734
export * from './sub-role-all-of';

src/versions/v1/models/pipeline-details.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,12 @@
1616
// May contain unused imports in some cases
1717
// @ts-ignore
1818
import { BasePipelineWithSelectedFlag } from './base-pipeline-with-selected-flag';
19-
// May contain unused imports in some cases
20-
// @ts-ignore
21-
import { PipelineDetailsAllOf } from './pipeline-details-all-of';
22-
// May contain unused imports in some cases
23-
// @ts-ignore
24-
import { PipelineDetailsAllOfDealsSummary } from './pipeline-details-all-of-deals-summary';
2519

2620
/**
2721
* @type PipelineDetails
2822
* The pipeline object
2923
* @export
3024
*/
31-
export type PipelineDetails = BasePipelineWithSelectedFlag & PipelineDetailsAllOf;
25+
export type PipelineDetails = BasePipelineWithSelectedFlag;
3226

3327

0 commit comments

Comments
 (0)