Skip to content

Commit 6587f8e

Browse files
author
pipedrive-bot
committed
Build 341 - version-minor
1 parent 5a2831e commit 6587f8e

31 files changed

Lines changed: 362 additions & 124 deletions

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 `outcome` field to v1 activity schema (`ActivityObjectFragment`) and v2 activity schemas (`ActivityItem`, `ActivityRequestBody`) — documents the Activity Outcome value, enabling partner integrations to read and write Outcomes on Activities via the public API
1012

1113
## [33.6.1] - 2026-08-13
1214
### Fixed

src/versions/v1/models/activity-collection-response-object-all-of.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,10 @@ export interface ActivityCollectionResponseObjectAllOf {
7070
* @type {string}
7171
*/
7272
'public_description'?: string;
73+
/**
74+
* The ID of the Outcome for the activity. The available Outcome values depend on the activity type and can be retrieved using the Activity Fields API. Set to `null` to clear the Outcome.
75+
* @type {number}
76+
*/
77+
'outcome'?: number | null;
7378
}
7479

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ export interface BaseDeal {
4949
* The last updated date and time of the deal
5050
* @type {string}
5151
*/
52-
'update_time'?: string;
52+
'update_time'?: string | null;
5353
/**
5454
* The last updated date and time of the deal stage
5555
* @type {string}
5656
*/
57-
'stage_change_time'?: string;
57+
'stage_change_time'?: string | null;
5858
/**
5959
* Whether the deal is active or not
6060
* @type {boolean}
@@ -84,12 +84,12 @@ export interface BaseDeal {
8484
* The date of the next activity associated with the deal
8585
* @type {string}
8686
*/
87-
'next_activity_date'?: string;
87+
'next_activity_date'?: string | null;
8888
/**
8989
* The time of the next activity associated with the deal
9090
* @type {string}
9191
*/
92-
'next_activity_time'?: string;
92+
'next_activity_time'?: string | null;
9393
/**
9494
* The ID of the next activity associated with the deal
9595
* @type {number}
@@ -129,17 +129,17 @@ export interface BaseDeal {
129129
* The date and time of changing the deal status as won
130130
* @type {string}
131131
*/
132-
'won_time'?: string;
132+
'won_time'?: string | null;
133133
/**
134134
* The date and time of the first time changing the deal status as won
135135
* @type {string}
136136
*/
137-
'first_won_time'?: string;
137+
'first_won_time'?: string | null;
138138
/**
139139
* The date and time of changing the deal status as lost
140140
* @type {string}
141141
*/
142-
'lost_time'?: string;
142+
'lost_time'?: string | null;
143143
/**
144144
* The number of products associated with the deal
145145
* @type {number}
@@ -189,22 +189,22 @@ export interface BaseDeal {
189189
* The expected close date of the deal
190190
* @type {string}
191191
*/
192-
'expected_close_date'?: string;
192+
'expected_close_date'?: string | null;
193193
/**
194194
* The date and time of the last incoming email associated with the deal
195195
* @type {string}
196196
*/
197-
'last_incoming_mail_time'?: string;
197+
'last_incoming_mail_time'?: string | null;
198198
/**
199199
* The date and time of the last outgoing email associated with the deal
200200
* @type {string}
201201
*/
202-
'last_outgoing_mail_time'?: string;
202+
'last_outgoing_mail_time'?: string | null;
203203
/**
204204
* The label or multiple labels assigned to the deal
205205
* @type {string}
206206
*/
207-
'label'?: string;
207+
'label'?: string | null;
208208
/**
209209
* The order number of the deal stage associated with the deal
210210
* @type {number}
@@ -214,32 +214,32 @@ export interface BaseDeal {
214214
* The name of the person associated with the deal
215215
* @type {string}
216216
*/
217-
'person_name'?: string;
217+
'person_name'?: string | null;
218218
/**
219219
* The name of the organization associated with the deal
220220
* @type {string}
221221
*/
222-
'org_name'?: string;
222+
'org_name'?: string | null;
223223
/**
224224
* The subject of the next activity associated with the deal
225225
* @type {string}
226226
*/
227-
'next_activity_subject'?: string;
227+
'next_activity_subject'?: string | null;
228228
/**
229229
* The type of the next activity associated with the deal
230230
* @type {string}
231231
*/
232-
'next_activity_type'?: string;
232+
'next_activity_type'?: string | null;
233233
/**
234234
* The duration of the next activity associated with the deal
235235
* @type {string}
236236
*/
237-
'next_activity_duration'?: string;
237+
'next_activity_duration'?: string | null;
238238
/**
239239
* The note of the next activity associated with the deal
240240
* @type {string}
241241
*/
242-
'next_activity_note'?: string;
242+
'next_activity_note'?: string | null;
243243
/**
244244
* The deal value formatted with selected currency. E.g. US$500
245245
* @type {string}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface BaseStage {
5959
* The number of days the deals not updated in this stage would become rotten. Applies only if the `rotten_flag` is set.
6060
* @type {number}
6161
*/
62-
'rotten_days'?: number;
62+
'rotten_days'?: number | null;
6363
/**
6464
* The stage creation time. Format: YYYY-MM-DD HH:MM:SS.
6565
* @type {string}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Pipedrive API v1
5+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6+
*
7+
* The version of the OpenAPI document: 1.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+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
19+
20+
/**
21+
* @type DealAllOfOrgId
22+
* @export
23+
*/
24+
export type DealAllOfOrgId = DealOrganizationDataWithId;
25+
26+
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Pipedrive API v1
5+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6+
*
7+
* The version of the OpenAPI document: 1.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+
// May contain unused imports in some cases
17+
// @ts-ignore
18+
import { DealPersonDataWithId } from './deal-person-data-with-id';
19+
// May contain unused imports in some cases
20+
// @ts-ignore
21+
import { DealPersonDataWithIdAllOfEmailInner } from './deal-person-data-with-id-all-of-email-inner';
22+
// May contain unused imports in some cases
23+
// @ts-ignore
24+
import { DealPersonDataWithIdAllOfPhoneInner } from './deal-person-data-with-id-all-of-phone-inner';
25+
26+
/**
27+
* @type DealAllOfPersonId
28+
* @export
29+
*/
30+
export type DealAllOfPersonId = DealPersonDataWithId;
31+
32+

src/versions/v1/models/deal-all-of.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
import { DealAllOfCreatorUserId } from './deal-all-of-creator-user-id';
1919
// May contain unused imports in some cases
2020
// @ts-ignore
21-
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
21+
import { DealAllOfOrgId } from './deal-all-of-org-id';
2222
// May contain unused imports in some cases
2323
// @ts-ignore
24-
import { DealPersonDataWithId } from './deal-person-data-with-id';
24+
import { DealAllOfPersonId } from './deal-all-of-person-id';
2525
// May contain unused imports in some cases
2626
// @ts-ignore
2727
import { DealUserDataWithId } from './deal-user-data-with-id';
@@ -49,13 +49,13 @@ export interface DealAllOf {
4949
'user_id'?: DealUserDataWithId;
5050
/**
5151
*
52-
* @type {DealPersonDataWithId}
52+
* @type {DealAllOfPersonId}
5353
*/
54-
'person_id'?: DealPersonDataWithId;
54+
'person_id'?: DealAllOfPersonId | null;
5555
/**
5656
*
57-
* @type {DealOrganizationDataWithId}
57+
* @type {DealAllOfOrgId}
5858
*/
59-
'org_id'?: DealOrganizationDataWithId;
59+
'org_id'?: DealAllOfOrgId | null;
6060
}
6161

src/versions/v1/models/deal-strict-all-of.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export interface DealStrictAllOf {
3939
* The ID of the person associated with the deal
4040
* @type {number}
4141
*/
42-
'person_id'?: number;
42+
'person_id'?: number | null;
4343
/**
4444
* The ID of the organization associated with the deal
4545
* @type {number}
4646
*/
47-
'org_id'?: number;
47+
'org_id'?: number | null;
4848
}
4949

src/versions/v1/models/deal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import { DealAllOf } from './deal-all-of';
2424
import { DealAllOfCreatorUserId } from './deal-all-of-creator-user-id';
2525
// May contain unused imports in some cases
2626
// @ts-ignore
27-
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
27+
import { DealAllOfOrgId } from './deal-all-of-org-id';
2828
// May contain unused imports in some cases
2929
// @ts-ignore
30-
import { DealPersonDataWithId } from './deal-person-data-with-id';
30+
import { DealAllOfPersonId } from './deal-all-of-person-id';
3131
// May contain unused imports in some cases
3232
// @ts-ignore
3333
import { DealUserDataWithId } from './deal-user-data-with-id';

src/versions/v1/models/get-person-products-response-all-of-data-inner-dealiddeal.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
4444
* The ID of the person associated with the deal
4545
* @type {number}
4646
*/
47-
'person_id'?: number;
47+
'person_id'?: number | null;
4848
/**
4949
* The ID of the organization associated with the deal
5050
* @type {number}
5151
*/
52-
'org_id'?: number;
52+
'org_id'?: number | null;
5353
/**
5454
* The ID of the deal stage
5555
* @type {number}
@@ -84,12 +84,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
8484
* The last updated date and time of the deal
8585
* @type {string}
8686
*/
87-
'update_time'?: string;
87+
'update_time'?: string | null;
8888
/**
8989
* The last updated date and time of the deal stage
9090
* @type {string}
9191
*/
92-
'stage_change_time'?: string;
92+
'stage_change_time'?: string | null;
9393
/**
9494
* Whether the deal is active or not
9595
* @type {boolean}
@@ -114,12 +114,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
114114
* The date of the next activity associated with the deal
115115
* @type {string}
116116
*/
117-
'next_activity_date'?: string;
117+
'next_activity_date'?: string | null;
118118
/**
119119
* The time of the next activity associated with the deal
120120
* @type {string}
121121
*/
122-
'next_activity_time'?: string;
122+
'next_activity_time'?: string | null;
123123
/**
124124
* The ID of the next activity associated with the deal
125125
* @type {number}
@@ -159,17 +159,17 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
159159
* The date and time of changing the deal status as won
160160
* @type {string}
161161
*/
162-
'won_time'?: string;
162+
'won_time'?: string | null;
163163
/**
164164
* The date and time of the first time changing the deal status as won
165165
* @type {string}
166166
*/
167-
'first_won_time'?: string;
167+
'first_won_time'?: string | null;
168168
/**
169169
* The date and time of changing the deal status as lost
170170
* @type {string}
171171
*/
172-
'lost_time'?: string;
172+
'lost_time'?: string | null;
173173
/**
174174
* The number of products associated with the deal
175175
* @type {number}
@@ -219,21 +219,21 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
219219
* The expected close date of the deal
220220
* @type {string}
221221
*/
222-
'expected_close_date'?: string;
222+
'expected_close_date'?: string | null;
223223
/**
224224
* The date and time of the last incoming email associated with the deal
225225
* @type {string}
226226
*/
227-
'last_incoming_mail_time'?: string;
227+
'last_incoming_mail_time'?: string | null;
228228
/**
229229
* The date and time of the last outgoing email associated with the deal
230230
* @type {string}
231231
*/
232-
'last_outgoing_mail_time'?: string;
232+
'last_outgoing_mail_time'?: string | null;
233233
/**
234234
* The label or multiple labels assigned to the deal
235235
* @type {string}
236236
*/
237-
'label'?: string;
237+
'label'?: string | null;
238238
}
239239

0 commit comments

Comments
 (0)