Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
### Changed
- Updated Deals, Notes and Stages endpoints to document nullable fields.

## [33.6.1] - 2026-08-13
### Fixed
Expand Down
34 changes: 17 additions & 17 deletions src/versions/v1/models/base-deal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ export interface BaseDeal {
* The last updated date and time of the deal
* @type {string}
*/
'update_time'?: string;
'update_time'?: string | null;
/**
* The last updated date and time of the deal stage
* @type {string}
*/
'stage_change_time'?: string;
'stage_change_time'?: string | null;
/**
* Whether the deal is active or not
* @type {boolean}
Expand Down Expand Up @@ -84,12 +84,12 @@ export interface BaseDeal {
* The date of the next activity associated with the deal
* @type {string}
*/
'next_activity_date'?: string;
'next_activity_date'?: string | null;
/**
* The time of the next activity associated with the deal
* @type {string}
*/
'next_activity_time'?: string;
'next_activity_time'?: string | null;
/**
* The ID of the next activity associated with the deal
* @type {number}
Expand Down Expand Up @@ -129,17 +129,17 @@ export interface BaseDeal {
* The date and time of changing the deal status as won
* @type {string}
*/
'won_time'?: string;
'won_time'?: string | null;
/**
* The date and time of the first time changing the deal status as won
* @type {string}
*/
'first_won_time'?: string;
'first_won_time'?: string | null;
/**
* The date and time of changing the deal status as lost
* @type {string}
*/
'lost_time'?: string;
'lost_time'?: string | null;
/**
* The number of products associated with the deal
* @type {number}
Expand Down Expand Up @@ -189,22 +189,22 @@ export interface BaseDeal {
* The expected close date of the deal
* @type {string}
*/
'expected_close_date'?: string;
'expected_close_date'?: string | null;
/**
* The date and time of the last incoming email associated with the deal
* @type {string}
*/
'last_incoming_mail_time'?: string;
'last_incoming_mail_time'?: string | null;
/**
* The date and time of the last outgoing email associated with the deal
* @type {string}
*/
'last_outgoing_mail_time'?: string;
'last_outgoing_mail_time'?: string | null;
/**
* The label or multiple labels assigned to the deal
* @type {string}
*/
'label'?: string;
'label'?: string | null;
/**
* The order number of the deal stage associated with the deal
* @type {number}
Expand All @@ -214,32 +214,32 @@ export interface BaseDeal {
* The name of the person associated with the deal
* @type {string}
*/
'person_name'?: string;
'person_name'?: string | null;
/**
* The name of the organization associated with the deal
* @type {string}
*/
'org_name'?: string;
'org_name'?: string | null;
/**
* The subject of the next activity associated with the deal
* @type {string}
*/
'next_activity_subject'?: string;
'next_activity_subject'?: string | null;
/**
* The type of the next activity associated with the deal
* @type {string}
*/
'next_activity_type'?: string;
'next_activity_type'?: string | null;
/**
* The duration of the next activity associated with the deal
* @type {string}
*/
'next_activity_duration'?: string;
'next_activity_duration'?: string | null;
/**
* The note of the next activity associated with the deal
* @type {string}
*/
'next_activity_note'?: string;
'next_activity_note'?: string | null;
/**
* The deal value formatted with selected currency. E.g. US$500
* @type {string}
Expand Down
2 changes: 1 addition & 1 deletion src/versions/v1/models/base-stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface BaseStage {
* The number of days the deals not updated in this stage would become rotten. Applies only if the `rotten_flag` is set.
* @type {number}
*/
'rotten_days'?: number;
'rotten_days'?: number | null;
/**
* The stage creation time. Format: YYYY-MM-DD HH:MM:SS.
* @type {string}
Expand Down
26 changes: 26 additions & 0 deletions src/versions/v1/models/deal-all-of-org-id.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';

/**
* @type DealAllOfOrgId
* @export
*/
export type DealAllOfOrgId = DealOrganizationDataWithId;


32 changes: 32 additions & 0 deletions src/versions/v1/models/deal-all-of-person-id.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { DealPersonDataWithId } from './deal-person-data-with-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealPersonDataWithIdAllOfEmailInner } from './deal-person-data-with-id-all-of-email-inner';
// May contain unused imports in some cases
// @ts-ignore
import { DealPersonDataWithIdAllOfPhoneInner } from './deal-person-data-with-id-all-of-phone-inner';

/**
* @type DealAllOfPersonId
* @export
*/
export type DealAllOfPersonId = DealPersonDataWithId;


12 changes: 6 additions & 6 deletions src/versions/v1/models/deal-all-of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
import { DealAllOfCreatorUserId } from './deal-all-of-creator-user-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
import { DealAllOfOrgId } from './deal-all-of-org-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealPersonDataWithId } from './deal-person-data-with-id';
import { DealAllOfPersonId } from './deal-all-of-person-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealUserDataWithId } from './deal-user-data-with-id';
Expand Down Expand Up @@ -49,13 +49,13 @@ export interface DealAllOf {
'user_id'?: DealUserDataWithId;
/**
*
* @type {DealPersonDataWithId}
* @type {DealAllOfPersonId}
*/
'person_id'?: DealPersonDataWithId;
'person_id'?: DealAllOfPersonId | null;
/**
*
* @type {DealOrganizationDataWithId}
* @type {DealAllOfOrgId}
*/
'org_id'?: DealOrganizationDataWithId;
'org_id'?: DealAllOfOrgId | null;
}

4 changes: 2 additions & 2 deletions src/versions/v1/models/deal-strict-all-of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export interface DealStrictAllOf {
* The ID of the person associated with the deal
* @type {number}
*/
'person_id'?: number;
'person_id'?: number | null;
/**
* The ID of the organization associated with the deal
* @type {number}
*/
'org_id'?: number;
'org_id'?: number | null;
}

4 changes: 2 additions & 2 deletions src/versions/v1/models/deal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import { DealAllOf } from './deal-all-of';
import { DealAllOfCreatorUserId } from './deal-all-of-creator-user-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealOrganizationDataWithId } from './deal-organization-data-with-id';
import { DealAllOfOrgId } from './deal-all-of-org-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealPersonDataWithId } from './deal-person-data-with-id';
import { DealAllOfPersonId } from './deal-all-of-person-id';
// May contain unused imports in some cases
// @ts-ignore
import { DealUserDataWithId } from './deal-user-data-with-id';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
* The ID of the person associated with the deal
* @type {number}
*/
'person_id'?: number;
'person_id'?: number | null;
/**
* The ID of the organization associated with the deal
* @type {number}
*/
'org_id'?: number;
'org_id'?: number | null;
/**
* The ID of the deal stage
* @type {number}
Expand Down Expand Up @@ -84,12 +84,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
* The last updated date and time of the deal
* @type {string}
*/
'update_time'?: string;
'update_time'?: string | null;
/**
* The last updated date and time of the deal stage
* @type {string}
*/
'stage_change_time'?: string;
'stage_change_time'?: string | null;
/**
* Whether the deal is active or not
* @type {boolean}
Expand All @@ -114,12 +114,12 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
* The date of the next activity associated with the deal
* @type {string}
*/
'next_activity_date'?: string;
'next_activity_date'?: string | null;
/**
* The time of the next activity associated with the deal
* @type {string}
*/
'next_activity_time'?: string;
'next_activity_time'?: string | null;
/**
* The ID of the next activity associated with the deal
* @type {number}
Expand Down Expand Up @@ -159,17 +159,17 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
* The date and time of changing the deal status as won
* @type {string}
*/
'won_time'?: string;
'won_time'?: string | null;
/**
* The date and time of the first time changing the deal status as won
* @type {string}
*/
'first_won_time'?: string;
'first_won_time'?: string | null;
/**
* The date and time of changing the deal status as lost
* @type {string}
*/
'lost_time'?: string;
'lost_time'?: string | null;
/**
* The number of products associated with the deal
* @type {number}
Expand Down Expand Up @@ -219,21 +219,21 @@ export interface GetPersonProductsResponseAllOfDataInnerDEALIDDeal {
* The expected close date of the deal
* @type {string}
*/
'expected_close_date'?: string;
'expected_close_date'?: string | null;
/**
* The date and time of the last incoming email associated with the deal
* @type {string}
*/
'last_incoming_mail_time'?: string;
'last_incoming_mail_time'?: string | null;
/**
* The date and time of the last outgoing email associated with the deal
* @type {string}
*/
'last_outgoing_mail_time'?: string;
'last_outgoing_mail_time'?: string | null;
/**
* The label or multiple labels assigned to the deal
* @type {string}
*/
'label'?: string;
'label'?: string | null;
}

3 changes: 3 additions & 0 deletions src/versions/v1/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ export * from './create-field-request-all-of1';
export * from './deal';
export * from './deal-all-of';
export * from './deal-all-of-creator-user-id';
export * from './deal-all-of-org-id';
export * from './deal-all-of-person-id';
export * from './deal-count-and-activity-info';
export * from './deal-count-and-activity-info-all-of';
export * from './deal-count-and-activity-info-all-of1';
Expand Down Expand Up @@ -438,6 +440,7 @@ export * from './merge-persons-response';
export * from './merge-persons-response-all-of';
export * from './note';
export * from './note-deal';
export * from './note-deal-all-of';
export * from './note-organization';
export * from './note-person';
export * from './note-project';
Expand Down
29 changes: 29 additions & 0 deletions src/versions/v1/models/note-deal-all-of.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* The deal this note is attached to
* @export
* @interface NoteDealAllOf
*/
export interface NoteDealAllOf {
/**
* The title of the deal this note is attached to
* @type {string}
*/
'title'?: string;
}

Loading
Loading