diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ebf8b6e..db4ef597 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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] +### Added +- 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 ## [33.6.2] - 2026-09-08 ### Changed diff --git a/src/versions/v1/models/activity-collection-response-object-all-of.ts b/src/versions/v1/models/activity-collection-response-object-all-of.ts index 198ad083..6582106a 100644 --- a/src/versions/v1/models/activity-collection-response-object-all-of.ts +++ b/src/versions/v1/models/activity-collection-response-object-all-of.ts @@ -70,5 +70,10 @@ export interface ActivityCollectionResponseObjectAllOf { * @type {string} */ 'public_description'?: string; + /** + * 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. + * @type {number} + */ + 'outcome'?: number | null; } diff --git a/src/versions/v2/models/activity-item.ts b/src/versions/v2/models/activity-item.ts index d847e1a1..1cfea13b 100644 --- a/src/versions/v2/models/activity-item.ts +++ b/src/versions/v2/models/activity-item.ts @@ -165,6 +165,11 @@ export interface ActivityItem { */ 'priority'?: number; /** + * 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. + * @type {number} + */ + 'outcome'?: number | null; + /** * The note of the activity * @type {string} */ diff --git a/src/versions/v2/models/add-activity-request.ts b/src/versions/v2/models/add-activity-request.ts index 46d879df..80a74bf1 100644 --- a/src/versions/v2/models/add-activity-request.ts +++ b/src/versions/v2/models/add-activity-request.ts @@ -120,6 +120,11 @@ export interface AddActivityRequest { */ 'priority'?: number; /** + * 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. + * @type {number} + */ + 'outcome'?: number | null; + /** * The note of the activity * @type {string} */