pipedrive 36.3.1 → 36.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/esm/versions/v1/api/deals-api.d.ts +8 -8
  2. package/dist/esm/versions/v1/api/deals-api.js +7 -7
  3. package/dist/esm/versions/v1/api/person-fields-api.d.ts +4 -4
  4. package/dist/esm/versions/v1/api/person-fields-api.js +4 -4
  5. package/dist/esm/versions/v1/api/persons-api.d.ts +8 -8
  6. package/dist/esm/versions/v1/api/persons-api.js +7 -7
  7. package/dist/esm/versions/v1/models/base-organization-item-all-of.d.ts +1 -1
  8. package/dist/esm/versions/v1/models/organization-count-and-address-info-all-of1.d.ts +11 -11
  9. package/dist/esm/versions/v1/models/organization-relationship-with-calculated-fields-all-of.d.ts +1 -1
  10. package/dist/esm/versions/v1/models/recents-data-inner-any-of9-data.d.ts +4 -4
  11. package/dist/esm/versions/v2/api/persons-api.d.ts +30 -30
  12. package/dist/esm/versions/v2/api/persons-api.js +18 -18
  13. package/dist/esm/versions/v2/models/add-person-request.d.ts +22 -0
  14. package/dist/esm/versions/v2/models/add-person-request.js +10 -0
  15. package/dist/esm/versions/v2/models/person.d.ts +22 -0
  16. package/dist/esm/versions/v2/models/person.js +10 -1
  17. package/dist/esm/versions/v2/models/update-person-request.d.ts +22 -0
  18. package/dist/esm/versions/v2/models/update-person-request.js +10 -0
  19. package/dist/versions/v1/api/deals-api.d.ts +8 -8
  20. package/dist/versions/v1/api/deals-api.js +7 -7
  21. package/dist/versions/v1/api/person-fields-api.d.ts +4 -4
  22. package/dist/versions/v1/api/person-fields-api.js +4 -4
  23. package/dist/versions/v1/api/persons-api.d.ts +8 -8
  24. package/dist/versions/v1/api/persons-api.js +7 -7
  25. package/dist/versions/v1/models/base-organization-item-all-of.d.ts +1 -1
  26. package/dist/versions/v1/models/organization-count-and-address-info-all-of1.d.ts +11 -11
  27. package/dist/versions/v1/models/organization-relationship-with-calculated-fields-all-of.d.ts +1 -1
  28. package/dist/versions/v1/models/recents-data-inner-any-of9-data.d.ts +4 -4
  29. package/dist/versions/v2/api/persons-api.d.ts +30 -30
  30. package/dist/versions/v2/api/persons-api.js +18 -18
  31. package/dist/versions/v2/models/add-person-request.d.ts +22 -0
  32. package/dist/versions/v2/models/add-person-request.js +11 -1
  33. package/dist/versions/v2/models/person.d.ts +22 -0
  34. package/dist/versions/v2/models/person.js +11 -0
  35. package/dist/versions/v2/models/update-person-request.d.ts +22 -0
  36. package/dist/versions/v2/models/update-person-request.js +11 -1
  37. package/package.json +1 -1
@@ -169,7 +169,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
169
169
  */
170
170
  getDealMailMessages: (id: number, start?: number, limit?: number, include_body?: 0 | 1) => Promise<RequestArgs>;
171
171
  /**
172
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
172
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
173
173
  * @summary List participants of a deal
174
174
  * @param {number} id The ID of the deal
175
175
  * @param {number} [start] Pagination start
@@ -195,7 +195,7 @@ export declare const DealsApiAxiosParamCreator: (configuration?: Configuration)
195
195
  * @param {number} [start] Pagination start
196
196
  * @param {number} [limit] Items shown per page
197
197
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
198
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
198
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
199
199
 
200
200
  * @throws {RequiredError}
201
201
  */
@@ -514,7 +514,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
514
514
  */
515
515
  getDealMailMessagesWithHttpInfo(id: number, start?: number, limit?: number, include_body?: 0 | 1): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetAssociatedMailMessagesResponse>>>;
516
516
  /**
517
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
517
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
518
518
  * @summary List participants of a deal
519
519
  * @param {number} id The ID of the deal
520
520
  * @param {number} [start] Pagination start
@@ -560,7 +560,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
560
560
  * @param {number} [start] Pagination start
561
561
  * @param {number} [limit] Items shown per page
562
562
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
563
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
563
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
564
564
 
565
565
  * @throws {RequiredError}
566
566
  */
@@ -572,7 +572,7 @@ export declare const DealsApiFp: (configuration?: Configuration) => {
572
572
  * @param {number} [start] Pagination start
573
573
  * @param {number} [limit] Items shown per page
574
574
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
575
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
575
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
576
576
 
577
577
  * @throws {RequiredError}
578
578
  */
@@ -782,7 +782,7 @@ export declare const DealsApiFactory: (configuration?: Configuration, basePath?:
782
782
  getDealMailMessages(requestParameters: DealsApiGetDealMailMessagesRequest): Promise<GetAssociatedMailMessagesResponse>;
783
783
  getDealMailMessagesWithHttpInfo(requestParameters: DealsApiGetDealMailMessagesRequest): Promise<ApiResponse<GetAssociatedMailMessagesResponse>>;
784
784
  /**
785
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
785
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
786
786
  * @summary List participants of a deal
787
787
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
788
788
 
@@ -1292,7 +1292,7 @@ export interface DealsApiGetDealUpdatesRequest {
1292
1292
  */
1293
1293
  readonly all_changes?: string;
1294
1294
  /**
1295
- * A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
1295
+ * A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
1296
1296
  * @type {Set<string>}
1297
1297
  * @memberof DealsApiGetDealUpdates
1298
1298
  */
@@ -1652,7 +1652,7 @@ export declare class DealsApi extends BaseAPI {
1652
1652
  */
1653
1653
  getDealMailMessagesWithHttpInfo(requestParameters: DealsApiGetDealMailMessagesRequest): Promise<ApiResponse<GetAssociatedMailMessagesResponse>>;
1654
1654
  /**
1655
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1655
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
1656
1656
  * @summary List participants of a deal
1657
1657
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
1658
1658
 
@@ -589,7 +589,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
589
589
  };
590
590
  }),
591
591
  /**
592
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
592
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
593
593
  * @summary List participants of a deal
594
594
  * @param {number} id The ID of the deal
595
595
  * @param {number} [start] Pagination start
@@ -679,7 +679,7 @@ export const DealsApiAxiosParamCreator = function (configuration) {
679
679
  * @param {number} [start] Pagination start
680
680
  * @param {number} [limit] Items shown per page
681
681
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
682
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
682
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
683
683
 
684
684
  * @throws {RequiredError}
685
685
  */
@@ -1311,7 +1311,7 @@ export const DealsApiFp = function (configuration) {
1311
1311
  });
1312
1312
  },
1313
1313
  /**
1314
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1314
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
1315
1315
  * @summary List participants of a deal
1316
1316
  * @param {number} id The ID of the deal
1317
1317
  * @param {number} [start] Pagination start
@@ -1377,7 +1377,7 @@ export const DealsApiFp = function (configuration) {
1377
1377
  * @param {number} [start] Pagination start
1378
1378
  * @param {number} [limit] Items shown per page
1379
1379
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
1380
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
1380
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
1381
1381
 
1382
1382
  * @throws {RequiredError}
1383
1383
  */
@@ -1394,7 +1394,7 @@ export const DealsApiFp = function (configuration) {
1394
1394
  * @param {number} [start] Pagination start
1395
1395
  * @param {number} [limit] Items shown per page
1396
1396
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
1397
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
1397
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
1398
1398
 
1399
1399
  * @throws {RequiredError}
1400
1400
  */
@@ -1700,7 +1700,7 @@ export const DealsApiFactory = function (configuration, basePath, axios) {
1700
1700
  return localVarFp.getDealMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
1701
1701
  },
1702
1702
  /**
1703
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
1703
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
1704
1704
  * @summary List participants of a deal
1705
1705
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
1706
1706
 
@@ -2064,7 +2064,7 @@ export class DealsApi extends BaseAPI {
2064
2064
  return DealsApiFp(this.configuration).getDealMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
2065
2065
  }
2066
2066
  /**
2067
- * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
2067
+ * Lists the participants associated with a deal.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.
2068
2068
  * @summary List participants of a deal
2069
2069
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
2070
2070
 
@@ -56,7 +56,7 @@ export declare const PersonFieldsApiAxiosParamCreator: (configuration?: Configur
56
56
  */
57
57
  getPersonField: (id: number) => Promise<RequestArgs>;
58
58
  /**
59
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
59
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
60
60
  * @summary Get all person fields
61
61
  * @param {number} [start] Pagination start
62
62
  * @param {number} [limit] Items shown per page
@@ -144,7 +144,7 @@ export declare const PersonFieldsApiFp: (configuration?: Configuration) => {
144
144
  */
145
145
  getPersonFieldWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetFieldResponse>>>;
146
146
  /**
147
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
147
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
148
148
  * @summary Get all person fields
149
149
  * @param {number} [start] Pagination start
150
150
  * @param {number} [limit] Items shown per page
@@ -222,7 +222,7 @@ export declare const PersonFieldsApiFactory: (configuration?: Configuration, bas
222
222
  getPersonField(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<GetFieldResponse>;
223
223
  getPersonFieldWithHttpInfo(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
224
224
  /**
225
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
225
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
226
226
  * @summary Get all person fields
227
227
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
228
228
 
@@ -410,7 +410,7 @@ export declare class PersonFieldsApi extends BaseAPI {
410
410
  */
411
411
  getPersonFieldWithHttpInfo(requestParameters: PersonFieldsApiGetPersonFieldRequest): Promise<ApiResponse<GetFieldResponse>>;
412
412
  /**
413
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
413
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
414
414
  * @summary Get all person fields
415
415
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
416
416
 
@@ -170,7 +170,7 @@ export const PersonFieldsApiAxiosParamCreator = function (configuration) {
170
170
  };
171
171
  }),
172
172
  /**
173
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
173
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
174
174
  * @summary Get all person fields
175
175
  * @param {number} [start] Pagination start
176
176
  * @param {number} [limit] Items shown per page
@@ -358,7 +358,7 @@ export const PersonFieldsApiFp = function (configuration) {
358
358
  });
359
359
  },
360
360
  /**
361
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
361
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
362
362
  * @summary Get all person fields
363
363
  * @param {number} [start] Pagination start
364
364
  * @param {number} [limit] Items shown per page
@@ -475,7 +475,7 @@ export const PersonFieldsApiFactory = function (configuration, basePath, axios)
475
475
  return localVarFp.getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
476
476
  },
477
477
  /**
478
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
478
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
479
479
  * @summary Get all person fields
480
480
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
481
481
 
@@ -598,7 +598,7 @@ export class PersonFieldsApi extends BaseAPI {
598
598
  return PersonFieldsApiFp(this.configuration).getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
599
599
  }
600
600
  /**
601
- * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `data.marketing_status` field.
601
+ * Returns data about all person fields.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also return the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, then this endpoint will also return the `track_open` and `track_click` fields.
602
602
  * @summary Get all person fields
603
603
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
604
604
 
@@ -120,13 +120,13 @@ export declare const PersonsApiAxiosParamCreator: (configuration?: Configuration
120
120
  */
121
121
  getPersonProducts: (id: number, start?: number, limit?: number) => Promise<RequestArgs>;
122
122
  /**
123
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
123
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
124
124
  * @summary List updates about a person
125
125
  * @param {number} id The unique ID of the person
126
126
  * @param {number} [start] Pagination start
127
127
  * @param {number} [limit] Items shown per page
128
128
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
129
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
129
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
130
130
 
131
131
  * @throws {RequiredError}
132
132
  */
@@ -333,13 +333,13 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
333
333
  */
334
334
  getPersonProductsWithHttpInfo(id: number, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetPersonProductsResponse>>>;
335
335
  /**
336
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
336
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
337
337
  * @summary List updates about a person
338
338
  * @param {number} id The unique ID of the person
339
339
  * @param {number} [start] Pagination start
340
340
  * @param {number} [limit] Items shown per page
341
341
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
342
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
342
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
343
343
 
344
344
  * @throws {RequiredError}
345
345
  */
@@ -351,7 +351,7 @@ export declare const PersonsApiFp: (configuration?: Configuration) => {
351
351
  * @param {number} [start] Pagination start
352
352
  * @param {number} [limit] Items shown per page
353
353
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
354
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
354
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
355
355
 
356
356
  * @throws {RequiredError}
357
357
  */
@@ -478,7 +478,7 @@ export declare const PersonsApiFactory: (configuration?: Configuration, basePath
478
478
  getPersonProducts(requestParameters: PersonsApiGetPersonProductsRequest): Promise<GetPersonProductsResponse>;
479
479
  getPersonProductsWithHttpInfo(requestParameters: PersonsApiGetPersonProductsRequest): Promise<ApiResponse<GetPersonProductsResponse>>;
480
480
  /**
481
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
481
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
482
482
  * @summary List updates about a person
483
483
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
484
484
 
@@ -755,7 +755,7 @@ export interface PersonsApiGetPersonUpdatesRequest {
755
755
  */
756
756
  readonly all_changes?: string;
757
757
  /**
758
- * A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
758
+ * A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
759
759
  * @type {Set<string>}
760
760
  * @memberof PersonsApiGetPersonUpdates
761
761
  */
@@ -963,7 +963,7 @@ export declare class PersonsApi extends BaseAPI {
963
963
  */
964
964
  getPersonProductsWithHttpInfo(requestParameters: PersonsApiGetPersonProductsRequest): Promise<ApiResponse<GetPersonProductsResponse>>;
965
965
  /**
966
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
966
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
967
967
  * @summary List updates about a person
968
968
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
969
969
 
@@ -411,13 +411,13 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
411
411
  };
412
412
  }),
413
413
  /**
414
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
414
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
415
415
  * @summary List updates about a person
416
416
  * @param {number} id The unique ID of the person
417
417
  * @param {number} [start] Pagination start
418
418
  * @param {number} [limit] Items shown per page
419
419
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
420
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
420
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
421
421
 
422
422
  * @throws {RequiredError}
423
423
  */
@@ -809,13 +809,13 @@ export const PersonsApiFp = function (configuration) {
809
809
  });
810
810
  },
811
811
  /**
812
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
812
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
813
813
  * @summary List updates about a person
814
814
  * @param {number} id The unique ID of the person
815
815
  * @param {number} [start] Pagination start
816
816
  * @param {number} [limit] Items shown per page
817
817
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
818
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
818
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
819
819
 
820
820
  * @throws {RequiredError}
821
821
  */
@@ -832,7 +832,7 @@ export const PersonsApiFp = function (configuration) {
832
832
  * @param {number} [start] Pagination start
833
833
  * @param {number} [limit] Items shown per page
834
834
  * @param {string} [all_changes] Whether to show custom field updates or not. 1 &#x3D; Include custom field changes. If omitted returns changes without custom field updates.
835
- * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change).
835
+ * @param {Set<string>} [items] A comma-separated string for filtering out item specific updates. (Possible values - call, activity, plannedActivity, change, note, deal, file, dealChange, personChange, organizationChange, follower, dealFollower, personFollower, organizationFollower, participant, comment, mailMessage, mailMessageWithAttachment, invoice, document, marketing_campaign_stat, marketing_status_change, email_tracking_preference_change).
836
836
 
837
837
  * @throws {RequiredError}
838
838
  */
@@ -1023,7 +1023,7 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
1023
1023
  return localVarFp.getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
1024
1024
  },
1025
1025
  /**
1026
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
1026
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
1027
1027
  * @summary List updates about a person
1028
1028
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1029
1029
 
@@ -1269,7 +1269,7 @@ export class PersonsApi extends BaseAPI {
1269
1269
  return PersonsApiFp(this.configuration).getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1270
1270
  }
1271
1271
  /**
1272
- * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.
1272
+ * Lists updates about a person.<br>If a company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint\'s response will also include updates for the `marketing_status` field.<br>If the company has the Email tracking consent setting enabled, the response can also include updates to `track_open` and `track_click` fields.
1273
1273
  * @summary List updates about a person
1274
1274
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1275
1275
 
@@ -76,7 +76,7 @@ export interface BaseOrganizationItemAllOf {
76
76
  * The label assigned to the organization. When the `label` field is updated, the `label_ids` field value will be overwritten by the `label` field value.
77
77
  * @type {number}
78
78
  */
79
- 'label'?: number;
79
+ 'label'?: number | null;
80
80
  /**
81
81
  * The IDs of labels assigned to the organization. When the `label_ids` field is updated, the `label` field value will be set to the first value of the `label_ids` field.
82
82
  * @type {Array<number>}
@@ -19,55 +19,55 @@ export interface OrganizationCountAndAddressInfoAllOf1 {
19
19
  * The full address of the organization
20
20
  * @type {string}
21
21
  */
22
- 'address'?: string;
22
+ 'address'?: string | null;
23
23
  /**
24
24
  * The sub-premise of the organization location
25
25
  * @type {string}
26
26
  */
27
- 'address_subpremise'?: string;
27
+ 'address_subpremise'?: string | null;
28
28
  /**
29
29
  * The street number of the organization location
30
30
  * @type {string}
31
31
  */
32
- 'address_street_number'?: string;
32
+ 'address_street_number'?: string | null;
33
33
  /**
34
34
  * The route of the organization location
35
35
  * @type {string}
36
36
  */
37
- 'address_route'?: string;
37
+ 'address_route'?: string | null;
38
38
  /**
39
39
  * The sub-locality of the organization location
40
40
  * @type {string}
41
41
  */
42
- 'address_sublocality'?: string;
42
+ 'address_sublocality'?: string | null;
43
43
  /**
44
44
  * The locality of the organization location
45
45
  * @type {string}
46
46
  */
47
- 'address_locality'?: string;
47
+ 'address_locality'?: string | null;
48
48
  /**
49
49
  * The level 1 admin area of the organization location
50
50
  * @type {string}
51
51
  */
52
- 'address_admin_area_level_1'?: string;
52
+ 'address_admin_area_level_1'?: string | null;
53
53
  /**
54
54
  * The level 2 admin area of the organization location
55
55
  * @type {string}
56
56
  */
57
- 'address_admin_area_level_2'?: string;
57
+ 'address_admin_area_level_2'?: string | null;
58
58
  /**
59
59
  * The country of the organization location
60
60
  * @type {string}
61
61
  */
62
- 'address_country'?: string;
62
+ 'address_country'?: string | null;
63
63
  /**
64
64
  * The postal code of the organization location
65
65
  * @type {string}
66
66
  */
67
- 'address_postal_code'?: string;
67
+ 'address_postal_code'?: string | null;
68
68
  /**
69
69
  * The formatted organization location
70
70
  * @type {string}
71
71
  */
72
- 'address_formatted_address'?: string;
72
+ 'address_formatted_address'?: string | null;
73
73
  }
@@ -45,7 +45,7 @@ export interface OrganizationRelationshipWithCalculatedFieldsAllOf {
45
45
  * The last updated date and time of the relationship
46
46
  * @type {string}
47
47
  */
48
- 'update_time'?: string;
48
+ 'update_time'?: string | null;
49
49
  /**
50
50
  * Whether the relationship is active or not
51
51
  * @type {string}
@@ -29,17 +29,17 @@ export interface RecentsDataInnerAnyOf9Data {
29
29
  * The product code
30
30
  * @type {string}
31
31
  */
32
- 'code'?: string;
32
+ 'code'?: string | null;
33
33
  /**
34
34
  * The description of the product
35
35
  * @type {string}
36
36
  */
37
- 'description'?: string;
37
+ 'description'?: string | null;
38
38
  /**
39
39
  * The unit in which this product is sold
40
40
  * @type {string}
41
41
  */
42
- 'unit'?: string;
42
+ 'unit'?: string | null;
43
43
  /**
44
44
  * The tax percentage
45
45
  * @type {number}
@@ -49,7 +49,7 @@ export interface RecentsDataInnerAnyOf9Data {
49
49
  * The category of the product
50
50
  * @type {string}
51
51
  */
52
- 'category'?: string;
52
+ 'category'?: string | null;
53
53
  /**
54
54
  * Whether this product will be made active or not
55
55
  * @type {boolean}