Skip to content

Commit 511b278

Browse files
Release v27.0.1 from PR #629
2 parents f0db137 + 45d4c5c commit 511b278

10 files changed

+58
-12
lines changed

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+
## [27.0.1] - 2025-05-23
12+
### Added
13+
- Added `is_archived` to request bodies of POST `deals` endpoints and PUT/PATCH `/deals/:id` endpoints
14+
- Added `archive_time` to request bodies of POST `deals` endpoints
15+
1116
## [27.0.0] - 2025-05-09
1217
### Changed
1318
- Send token in the `x-api-token` header instead of `api_token` query parameter
@@ -873,7 +878,8 @@ structure
873878
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
874879
* Fixed typo in lead example response (`crrency` to `currency`)
875880

876-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.0.0...HEAD
881+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v27.0.1...HEAD
882+
[27.0.1]: https://github.com/pipedrive/api-docs/compare/v27.0.0...v27.0.1
877883
[27.0.0]: https://github.com/pipedrive/api-docs/compare/v26.0.0...v27.0.0
878884
[26.0.0]: https://github.com/pipedrive/api-docs/compare/v25.0.0...v26.0.0
879885
[25.0.0]: https://github.com/pipedrive/api-docs/compare/v24.2.0...v25.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": "27.0.0",
3+
"version": "27.0.1",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/models/base-deal.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ export interface BaseDeal {
6666
*/
6767
'deleted'?: boolean;
6868
/**
69+
* Whether the deal is archived or not
70+
* @type {boolean}
71+
*/
72+
'is_archived'?: boolean;
73+
/**
6974
* The status of the deal
7075
* @type {string}
7176
*/

src/versions/v1/models/new-deal-parameters.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ export interface NewDealParameters {
6161
*/
6262
'stage_id'?: number;
6363
/**
64+
* Whether the deal is archived or not. If omitted, is_archived will be set to false.
65+
* @type {boolean}
66+
*/
67+
'is_archived'?: boolean;
68+
/**
69+
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
70+
* @type {string}
71+
*/
72+
'archive_time'?: string;
73+
/**
6474
* open = Open, won = Won, lost = Lost, deleted = Deleted. If omitted, status will be set to open.
6575
* @type {string}
6676
*/

src/versions/v1/models/update-deal-parameters.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ export interface UpdateDealParameters {
6161
*/
6262
'stage_id'?: number;
6363
/**
64+
* Whether the deal is archived or not
65+
* @type {boolean}
66+
*/
67+
'is_archived'?: boolean;
68+
/**
6469
* open = Open, won = Won, lost = Lost, deleted = Deleted.
6570
* @type {string}
6671
*/

src/versions/v2/models/add-deal-request.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ export interface AddDealRequest {
8181
*/
8282
'is_deleted'?: boolean;
8383
/**
84+
* Whether the deal is archived or not
85+
* @type {boolean}
86+
*/
87+
'is_archived'?: boolean;
88+
/**
89+
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
90+
* @type {string}
91+
*/
92+
'archive_time'?: string;
93+
/**
8494
* The status of the deal
8595
* @type {string}
8696
*/

src/versions/v2/models/deal-item.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ export interface DealItem {
8181
*/
8282
'stage_change_time'?: string;
8383
/**
84-
* Whether the deal is archived or not
84+
* Whether the deal is deleted or not
8585
* @type {boolean}
8686
*/
87-
'is_archived'?: boolean;
87+
'is_deleted'?: boolean;
8888
/**
89-
* Whether the deal is deleted or not
89+
* Whether the deal is archived or not
9090
* @type {boolean}
9191
*/
92-
'is_deleted'?: boolean;
92+
'is_archived'?: boolean;
9393
/**
9494
* The status of the deal
9595
* @type {string}

src/versions/v2/models/deal-item1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ export interface DealItem1 {
8181
*/
8282
'stage_change_time'?: string;
8383
/**
84-
* Whether the deal is archived or not
84+
* Whether the deal is deleted or not
8585
* @type {boolean}
8686
*/
87-
'is_archived'?: boolean;
87+
'is_deleted'?: boolean;
8888
/**
89-
* Whether the deal is deleted or not
89+
* Whether the deal is archived or not
9090
* @type {boolean}
9191
*/
92-
'is_deleted'?: boolean;
92+
'is_archived'?: boolean;
9393
/**
9494
* The status of the deal
9595
* @type {string}

src/versions/v2/models/update-deal-request.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ export interface UpdateDealRequest {
8181
*/
8282
'is_deleted'?: boolean;
8383
/**
84+
* Whether the deal is archived or not
85+
* @type {boolean}
86+
*/
87+
'is_archived'?: boolean;
88+
/**
89+
* The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time.
90+
* @type {string}
91+
*/
92+
'archive_time'?: string;
93+
/**
8494
* The status of the deal
8595
* @type {string}
8696
*/

0 commit comments

Comments
 (0)