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
@@ -11,4 +11,13 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- export {};
14
+ export const PersonTrackOpenConst = {
15
+ no_preference_set: 'no_preference_set',
16
+ consent_given: 'consent_given',
17
+ consent_declined: 'consent_declined'
18
+ };
19
+ export const PersonTrackClickConst = {
20
+ no_preference_set: 'no_preference_set',
21
+ consent_given: 'consent_given',
22
+ consent_declined: 'consent_declined'
23
+ };
@@ -85,6 +85,16 @@ export interface UpdatePersonRequest {
85
85
  */
86
86
  'marketing_status'?: UpdatePersonRequestMarketingStatusConst;
87
87
  /**
88
+ * The email open tracking consent of the person. Only accepted if the company has the Email tracking consent setting enabled.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_preference_set`</td><td>The person has not set a preference</td></tr><tr><td>`consent_given`</td><td>The person has given consent</td></tr><tr><td>`consent_declined`</td><td>The person has declined consent</td></tr></table>
89
+ * @type {string}
90
+ */
91
+ 'track_open'?: UpdatePersonRequestTrackOpenConst;
92
+ /**
93
+ * The email link click tracking consent of the person. Only accepted if the company has the Email tracking consent setting enabled.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_preference_set`</td><td>The person has not set a preference</td></tr><tr><td>`consent_given`</td><td>The person has given consent</td></tr><tr><td>`consent_declined`</td><td>The person has declined consent</td></tr></table>
94
+ * @type {string}
95
+ */
96
+ 'track_click'?: UpdatePersonRequestTrackClickConst;
97
+ /**
88
98
  * An object where each key represents a custom field. All custom fields are referenced as randomly generated 40-character hashes. To clear a custom field value, set it to `null`. For multi-option fields (field type `set`), use `null` to clear the selection — sending an empty array `[]` is not supported and will result in a validation error.
89
99
  * @type {{ [key: string]: any | undefined; }}
90
100
  */
@@ -99,3 +109,15 @@ export declare const UpdatePersonRequestMarketingStatusConst: {
99
109
  readonly archived: "archived";
100
110
  };
101
111
  export type UpdatePersonRequestMarketingStatusConst = typeof UpdatePersonRequestMarketingStatusConst[keyof typeof UpdatePersonRequestMarketingStatusConst];
112
+ export declare const UpdatePersonRequestTrackOpenConst: {
113
+ readonly no_preference_set: "no_preference_set";
114
+ readonly consent_given: "consent_given";
115
+ readonly consent_declined: "consent_declined";
116
+ };
117
+ export type UpdatePersonRequestTrackOpenConst = typeof UpdatePersonRequestTrackOpenConst[keyof typeof UpdatePersonRequestTrackOpenConst];
118
+ export declare const UpdatePersonRequestTrackClickConst: {
119
+ readonly no_preference_set: "no_preference_set";
120
+ readonly consent_given: "consent_given";
121
+ readonly consent_declined: "consent_declined";
122
+ };
123
+ export type UpdatePersonRequestTrackClickConst = typeof UpdatePersonRequestTrackClickConst[keyof typeof UpdatePersonRequestTrackClickConst];
@@ -17,3 +17,13 @@ export const UpdatePersonRequestMarketingStatusConst = {
17
17
  subscribed: 'subscribed',
18
18
  archived: 'archived'
19
19
  };
20
+ export const UpdatePersonRequestTrackOpenConst = {
21
+ no_preference_set: 'no_preference_set',
22
+ consent_given: 'consent_given',
23
+ consent_declined: 'consent_declined'
24
+ };
25
+ export const UpdatePersonRequestTrackClickConst = {
26
+ no_preference_set: 'no_preference_set',
27
+ consent_given: 'consent_given',
28
+ consent_declined: 'consent_declined'
29
+ };
@@ -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
 
@@ -595,7 +595,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
595
595
  };
596
596
  }),
597
597
  /**
598
- * 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.
598
+ * 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.
599
599
  * @summary List participants of a deal
600
600
  * @param {number} id The ID of the deal
601
601
  * @param {number} [start] Pagination start
@@ -685,7 +685,7 @@ const DealsApiAxiosParamCreator = function (configuration) {
685
685
  * @param {number} [start] Pagination start
686
686
  * @param {number} [limit] Items shown per page
687
687
  * @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.
688
- * @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).
688
+ * @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).
689
689
 
690
690
  * @throws {RequiredError}
691
691
  */
@@ -1318,7 +1318,7 @@ const DealsApiFp = function (configuration) {
1318
1318
  });
1319
1319
  },
1320
1320
  /**
1321
- * 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.
1321
+ * 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.
1322
1322
  * @summary List participants of a deal
1323
1323
  * @param {number} id The ID of the deal
1324
1324
  * @param {number} [start] Pagination start
@@ -1384,7 +1384,7 @@ const DealsApiFp = function (configuration) {
1384
1384
  * @param {number} [start] Pagination start
1385
1385
  * @param {number} [limit] Items shown per page
1386
1386
  * @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.
1387
- * @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).
1387
+ * @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).
1388
1388
 
1389
1389
  * @throws {RequiredError}
1390
1390
  */
@@ -1401,7 +1401,7 @@ const DealsApiFp = function (configuration) {
1401
1401
  * @param {number} [start] Pagination start
1402
1402
  * @param {number} [limit] Items shown per page
1403
1403
  * @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.
1404
- * @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).
1404
+ * @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).
1405
1405
 
1406
1406
  * @throws {RequiredError}
1407
1407
  */
@@ -1708,7 +1708,7 @@ const DealsApiFactory = function (configuration, basePath, axios) {
1708
1708
  return localVarFp.getDealMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(axios, basePath));
1709
1709
  },
1710
1710
  /**
1711
- * 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.
1711
+ * 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.
1712
1712
  * @summary List participants of a deal
1713
1713
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
1714
1714
 
@@ -2073,7 +2073,7 @@ class DealsApi extends base_1.BaseAPI {
2073
2073
  return (0, exports.DealsApiFp)(this.configuration).getDealMailMessagesWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
2074
2074
  }
2075
2075
  /**
2076
- * 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.
2076
+ * 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.
2077
2077
  * @summary List participants of a deal
2078
2078
  * @param {DealsApiGetDealParticipantsRequest} requestParameters Request parameters.
2079
2079
 
@@ -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
 
@@ -176,7 +176,7 @@ const PersonFieldsApiAxiosParamCreator = function (configuration) {
176
176
  };
177
177
  }),
178
178
  /**
179
- * 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.
179
+ * 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.
180
180
  * @summary Get all person fields
181
181
  * @param {number} [start] Pagination start
182
182
  * @param {number} [limit] Items shown per page
@@ -365,7 +365,7 @@ const PersonFieldsApiFp = function (configuration) {
365
365
  });
366
366
  },
367
367
  /**
368
- * 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.
368
+ * 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.
369
369
  * @summary Get all person fields
370
370
  * @param {number} [start] Pagination start
371
371
  * @param {number} [limit] Items shown per page
@@ -483,7 +483,7 @@ const PersonFieldsApiFactory = function (configuration, basePath, axios) {
483
483
  return localVarFp.getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
484
484
  },
485
485
  /**
486
- * 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.
486
+ * 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.
487
487
  * @summary Get all person fields
488
488
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
489
489
 
@@ -607,7 +607,7 @@ class PersonFieldsApi extends base_1.BaseAPI {
607
607
  return (0, exports.PersonFieldsApiFp)(this.configuration).getPersonFieldWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
608
608
  }
609
609
  /**
610
- * 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.
610
+ * 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.
611
611
  * @summary Get all person fields
612
612
  * @param {PersonFieldsApiGetPersonFieldsRequest} requestParameters Request parameters.
613
613
 
@@ -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
 
@@ -417,13 +417,13 @@ const PersonsApiAxiosParamCreator = function (configuration) {
417
417
  };
418
418
  }),
419
419
  /**
420
- * 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.
420
+ * 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.
421
421
  * @summary List updates about a person
422
422
  * @param {number} id The unique ID of the person
423
423
  * @param {number} [start] Pagination start
424
424
  * @param {number} [limit] Items shown per page
425
425
  * @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.
426
- * @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).
426
+ * @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).
427
427
 
428
428
  * @throws {RequiredError}
429
429
  */
@@ -816,13 +816,13 @@ const PersonsApiFp = function (configuration) {
816
816
  });
817
817
  },
818
818
  /**
819
- * 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.
819
+ * 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.
820
820
  * @summary List updates about a person
821
821
  * @param {number} id The unique ID of the person
822
822
  * @param {number} [start] Pagination start
823
823
  * @param {number} [limit] Items shown per page
824
824
  * @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.
825
- * @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).
825
+ * @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).
826
826
 
827
827
  * @throws {RequiredError}
828
828
  */
@@ -839,7 +839,7 @@ const PersonsApiFp = function (configuration) {
839
839
  * @param {number} [start] Pagination start
840
840
  * @param {number} [limit] Items shown per page
841
841
  * @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.
842
- * @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).
842
+ * @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).
843
843
 
844
844
  * @throws {RequiredError}
845
845
  */
@@ -1031,7 +1031,7 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
1031
1031
  return localVarFp.getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
1032
1032
  },
1033
1033
  /**
1034
- * 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.
1034
+ * 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.
1035
1035
  * @summary List updates about a person
1036
1036
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1037
1037
 
@@ -1278,7 +1278,7 @@ class PersonsApi extends base_1.BaseAPI {
1278
1278
  return (0, exports.PersonsApiFp)(this.configuration).getPersonProductsWithHttpInfo(requestParameters.id, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
1279
1279
  }
1280
1280
  /**
1281
- * 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.
1281
+ * 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.
1282
1282
  * @summary List updates about a person
1283
1283
  * @param {PersonsApiGetPersonUpdatesRequest} requestParameters Request parameters.
1284
1284
 
@@ -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}