pipedrive 36.3.0 → 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.
- package/dist/esm/versions/v1/api/deals-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/deals-api.js +7 -7
- package/dist/esm/versions/v1/api/person-fields-api.d.ts +4 -4
- package/dist/esm/versions/v1/api/person-fields-api.js +4 -4
- package/dist/esm/versions/v1/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/persons-api.js +7 -7
- package/dist/esm/versions/v1/models/base-organization-item-all-of.d.ts +1 -1
- package/dist/esm/versions/v1/models/organization-count-and-address-info-all-of1.d.ts +11 -11
- package/dist/esm/versions/v1/models/organization-relationship-with-calculated-fields-all-of.d.ts +1 -1
- package/dist/esm/versions/v1/models/recents-data-inner-any-of9-data.d.ts +4 -4
- package/dist/esm/versions/v2/api/persons-api.d.ts +30 -30
- package/dist/esm/versions/v2/api/persons-api.js +18 -18
- package/dist/esm/versions/v2/models/add-deal-request.d.ts +0 -5
- package/dist/esm/versions/v2/models/add-person-request.d.ts +22 -0
- package/dist/esm/versions/v2/models/add-person-request.js +10 -0
- package/dist/esm/versions/v2/models/person.d.ts +22 -0
- package/dist/esm/versions/v2/models/person.js +10 -1
- package/dist/esm/versions/v2/models/update-deal-request.d.ts +1 -1
- package/dist/esm/versions/v2/models/update-person-request.d.ts +22 -0
- package/dist/esm/versions/v2/models/update-person-request.js +10 -0
- package/dist/versions/v1/api/deals-api.d.ts +8 -8
- package/dist/versions/v1/api/deals-api.js +7 -7
- package/dist/versions/v1/api/person-fields-api.d.ts +4 -4
- package/dist/versions/v1/api/person-fields-api.js +4 -4
- package/dist/versions/v1/api/persons-api.d.ts +8 -8
- package/dist/versions/v1/api/persons-api.js +7 -7
- package/dist/versions/v1/models/base-organization-item-all-of.d.ts +1 -1
- package/dist/versions/v1/models/organization-count-and-address-info-all-of1.d.ts +11 -11
- package/dist/versions/v1/models/organization-relationship-with-calculated-fields-all-of.d.ts +1 -1
- package/dist/versions/v1/models/recents-data-inner-any-of9-data.d.ts +4 -4
- package/dist/versions/v2/api/persons-api.d.ts +30 -30
- package/dist/versions/v2/api/persons-api.js +18 -18
- package/dist/versions/v2/models/add-deal-request.d.ts +0 -5
- package/dist/versions/v2/models/add-person-request.d.ts +22 -0
- package/dist/versions/v2/models/add-person-request.js +11 -1
- package/dist/versions/v2/models/person.d.ts +22 -0
- package/dist/versions/v2/models/person.js +11 -0
- package/dist/versions/v2/models/update-deal-request.d.ts +1 -1
- package/dist/versions/v2/models/update-person-request.d.ts +22 -0
- package/dist/versions/v2/models/update-person-request.js +11 -1
- package/package.json +1 -1
|
@@ -115,6 +115,16 @@ export interface Person {
|
|
|
115
115
|
*/
|
|
116
116
|
'job_title'?: string;
|
|
117
117
|
/**
|
|
118
|
+
* The email open tracking consent of the person, included if the company has the Email tracking consent setting enabled
|
|
119
|
+
* @type {string}
|
|
120
|
+
*/
|
|
121
|
+
'track_open'?: PersonTrackOpenConst;
|
|
122
|
+
/**
|
|
123
|
+
* The email link click tracking consent of the person, included if the company has the Email tracking consent setting enabled
|
|
124
|
+
* @type {string}
|
|
125
|
+
*/
|
|
126
|
+
'track_click'?: PersonTrackClickConst;
|
|
127
|
+
/**
|
|
118
128
|
* 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.
|
|
119
129
|
* @type {{ [key: string]: any | undefined; }}
|
|
120
130
|
*/
|
|
@@ -122,3 +132,15 @@ export interface Person {
|
|
|
122
132
|
[key: string]: any | undefined;
|
|
123
133
|
};
|
|
124
134
|
}
|
|
135
|
+
export declare const PersonTrackOpenConst: {
|
|
136
|
+
readonly no_preference_set: "no_preference_set";
|
|
137
|
+
readonly consent_given: "consent_given";
|
|
138
|
+
readonly consent_declined: "consent_declined";
|
|
139
|
+
};
|
|
140
|
+
export type PersonTrackOpenConst = typeof PersonTrackOpenConst[keyof typeof PersonTrackOpenConst];
|
|
141
|
+
export declare const PersonTrackClickConst: {
|
|
142
|
+
readonly no_preference_set: "no_preference_set";
|
|
143
|
+
readonly consent_given: "consent_given";
|
|
144
|
+
readonly consent_declined: "consent_declined";
|
|
145
|
+
};
|
|
146
|
+
export type PersonTrackClickConst = typeof PersonTrackClickConst[keyof typeof PersonTrackClickConst];
|
|
@@ -13,3 +13,14 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PersonTrackClickConst = exports.PersonTrackOpenConst = void 0;
|
|
17
|
+
exports.PersonTrackOpenConst = {
|
|
18
|
+
no_preference_set: 'no_preference_set',
|
|
19
|
+
consent_given: 'consent_given',
|
|
20
|
+
consent_declined: 'consent_declined'
|
|
21
|
+
};
|
|
22
|
+
exports.PersonTrackClickConst = {
|
|
23
|
+
no_preference_set: 'no_preference_set',
|
|
24
|
+
consent_given: 'consent_given',
|
|
25
|
+
consent_declined: 'consent_declined'
|
|
26
|
+
};
|
|
@@ -56,7 +56,7 @@ export interface UpdateDealRequest {
|
|
|
56
56
|
*/
|
|
57
57
|
'currency'?: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Only used to restore a previously deleted deal. The only accepted value is `false`; omit the field otherwise.
|
|
60
60
|
* @type {boolean}
|
|
61
61
|
*/
|
|
62
62
|
'is_deleted'?: boolean;
|
|
@@ -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];
|
|
@@ -13,10 +13,20 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdatePersonRequestMarketingStatusConst = void 0;
|
|
16
|
+
exports.UpdatePersonRequestTrackClickConst = exports.UpdatePersonRequestTrackOpenConst = exports.UpdatePersonRequestMarketingStatusConst = void 0;
|
|
17
17
|
exports.UpdatePersonRequestMarketingStatusConst = {
|
|
18
18
|
no_consent: 'no_consent',
|
|
19
19
|
unsubscribed: 'unsubscribed',
|
|
20
20
|
subscribed: 'subscribed',
|
|
21
21
|
archived: 'archived'
|
|
22
22
|
};
|
|
23
|
+
exports.UpdatePersonRequestTrackOpenConst = {
|
|
24
|
+
no_preference_set: 'no_preference_set',
|
|
25
|
+
consent_given: 'consent_given',
|
|
26
|
+
consent_declined: 'consent_declined'
|
|
27
|
+
};
|
|
28
|
+
exports.UpdatePersonRequestTrackClickConst = {
|
|
29
|
+
no_preference_set: 'no_preference_set',
|
|
30
|
+
consent_given: 'consent_given',
|
|
31
|
+
consent_declined: 'consent_declined'
|
|
32
|
+
};
|