Skip to content

Commit be1a4a2

Browse files
author
pipedrive-bot
committed
Build 206 - version-minor
1 parent f0db137 commit be1a4a2

9 files changed

Lines changed: 68 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
77
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).
88

99
## [Unreleased]
10+
### Added
11+
- Added `smart_bcc_email` to optional `include_fields` in Deals API v2
1012

1113
## [27.0.0] - 2025-05-09
1214
### Changed

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/api/deals-api.ts

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.

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)