pipedrive 25.0.0 → 27.0.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/activities-api.d.ts +40 -40
- package/dist/esm/versions/v1/api/activities-api.js +47 -47
- package/dist/esm/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +5 -5
- package/dist/esm/versions/v1/api/billing-api.js +1 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +5 -5
- package/dist/esm/versions/v1/api/channels-api.js +4 -4
- package/dist/esm/versions/v1/api/currencies-api.js +1 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/esm/versions/v1/api/deals-api.js +447 -118
- package/dist/esm/versions/v1/api/files-api.js +8 -8
- package/dist/esm/versions/v1/api/filters-api.js +7 -7
- package/dist/esm/versions/v1/api/goals-api.js +5 -5
- package/dist/esm/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/esm/versions/v1/api/item-search-api.js +10 -10
- package/dist/esm/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/esm/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/esm/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/esm/versions/v1/api/leads-api.js +114 -21
- package/dist/esm/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/esm/versions/v1/api/mailbox-api.js +6 -6
- package/dist/esm/versions/v1/api/meetings-api.js +2 -2
- package/dist/esm/versions/v1/api/note-fields-api.js +1 -1
- package/dist/esm/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/esm/versions/v1/api/notes-api.js +25 -15
- package/dist/esm/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/esm/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/esm/versions/v1/api/organizations-api.js +88 -88
- package/dist/esm/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/esm/versions/v1/api/person-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/esm/versions/v1/api/persons-api.js +78 -78
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/esm/versions/v1/api/pipelines-api.js +36 -36
- package/dist/esm/versions/v1/api/product-fields-api.js +6 -6
- package/dist/esm/versions/v1/api/products-api.d.ts +24 -24
- package/dist/esm/versions/v1/api/products-api.js +36 -36
- package/dist/esm/versions/v1/api/project-templates-api.js +4 -4
- package/dist/esm/versions/v1/api/projects-api.js +14 -14
- package/dist/esm/versions/v1/api/recents-api.js +1 -1
- package/dist/esm/versions/v1/api/roles-api.js +12 -12
- package/dist/esm/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/esm/versions/v1/api/stages-api.js +43 -43
- package/dist/esm/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/esm/versions/v1/api/tasks-api.js +5 -5
- package/dist/esm/versions/v1/api/user-connections-api.js +1 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +1 -1
- package/dist/esm/versions/v1/api/users-api.js +10 -10
- package/dist/esm/versions/v1/api/webhooks-api.js +3 -3
- package/dist/esm/versions/v1/base.d.ts +2 -3
- package/dist/esm/versions/v1/configuration.d.ts +2 -2
- package/dist/esm/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/esm/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/esm/versions/v1/models/add-note-request-all-of1.js +4 -0
- package/dist/esm/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v1/models/index.d.ts +1 -0
- package/dist/esm/versions/v1/models/index.js +1 -0
- package/dist/esm/versions/v1/models/note-project.d.ts +23 -0
- package/dist/esm/versions/v1/models/note-project.js +14 -0
- package/dist/esm/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/esm/versions/v1/models/note.d.ts +16 -0
- package/dist/esm/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/esm/versions/v2/api/activities-api.js +17 -12
- package/dist/esm/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/esm/versions/v2/api/beta-api.js +290 -4
- package/dist/esm/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/esm/versions/v2/api/deals-api.js +311 -27
- package/dist/esm/versions/v2/api/item-search-api.js +2 -2
- package/dist/esm/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/esm/versions/v2/api/leads-api.js +147 -2
- package/dist/esm/versions/v2/api/organizations-api.js +10 -10
- package/dist/esm/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/esm/versions/v2/api/persons-api.js +18 -18
- package/dist/esm/versions/v2/api/pipelines-api.js +5 -5
- package/dist/esm/versions/v2/api/products-api.js +15 -15
- package/dist/esm/versions/v2/api/stages-api.js +5 -5
- package/dist/esm/versions/v2/api/users-api.js +1 -1
- package/dist/esm/versions/v2/base.d.ts +2 -3
- package/dist/esm/versions/v2/configuration.d.ts +2 -2
- package/dist/esm/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response-data.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-deal-to-lead-response.js +14 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/esm/versions/v2/models/add-convert-lead-to-deal-response.js +14 -0
- package/dist/esm/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/add-person-request.js +6 -1
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/esm/versions/v2/models/convert-lead-to-deal-request.js +14 -0
- package/dist/esm/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/esm/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/esm/versions/v2/models/get-convert-response.js +14 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/esm/versions/v2/models/get-convert-response1-data.js +20 -0
- package/dist/esm/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/esm/versions/v2/models/get-convert-response1.js +14 -0
- package/dist/esm/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/esm/versions/v2/models/index.d.ts +7 -0
- package/dist/esm/versions/v2/models/index.js +7 -0
- package/dist/esm/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/esm/versions/v2/models/update-person-request.js +6 -1
- package/dist/versions/v1/api/activities-api.d.ts +40 -40
- package/dist/versions/v1/api/activities-api.js +47 -47
- package/dist/versions/v1/api/activity-fields-api.js +1 -1
- package/dist/versions/v1/api/activity-types-api.js +5 -5
- package/dist/versions/v1/api/billing-api.js +1 -1
- package/dist/versions/v1/api/call-logs-api.js +5 -5
- package/dist/versions/v1/api/channels-api.js +4 -4
- package/dist/versions/v1/api/currencies-api.js +1 -1
- package/dist/versions/v1/api/deal-fields-api.js +6 -6
- package/dist/versions/v1/api/deals-api.d.ts +410 -88
- package/dist/versions/v1/api/deals-api.js +447 -118
- package/dist/versions/v1/api/files-api.js +8 -8
- package/dist/versions/v1/api/filters-api.js +7 -7
- package/dist/versions/v1/api/goals-api.js +5 -5
- package/dist/versions/v1/api/item-search-api.d.ts +8 -8
- package/dist/versions/v1/api/item-search-api.js +10 -10
- package/dist/versions/v1/api/lead-labels-api.js +4 -4
- package/dist/versions/v1/api/lead-sources-api.js +1 -1
- package/dist/versions/v1/api/leads-api.d.ts +100 -14
- package/dist/versions/v1/api/leads-api.js +114 -21
- package/dist/versions/v1/api/legacy-teams-api.js +8 -8
- package/dist/versions/v1/api/mailbox-api.js +6 -6
- package/dist/versions/v1/api/meetings-api.js +2 -2
- package/dist/versions/v1/api/note-fields-api.js +1 -1
- package/dist/versions/v1/api/notes-api.d.ts +18 -2
- package/dist/versions/v1/api/notes-api.js +25 -15
- package/dist/versions/v1/api/organization-fields-api.js +6 -6
- package/dist/versions/v1/api/organization-relationships-api.js +5 -5
- package/dist/versions/v1/api/organizations-api.d.ts +68 -68
- package/dist/versions/v1/api/organizations-api.js +88 -88
- package/dist/versions/v1/api/permission-sets-api.js +3 -3
- package/dist/versions/v1/api/person-fields-api.js +6 -6
- package/dist/versions/v1/api/persons-api.d.ts +56 -56
- package/dist/versions/v1/api/persons-api.js +78 -78
- package/dist/versions/v1/api/pipelines-api.d.ts +28 -28
- package/dist/versions/v1/api/pipelines-api.js +36 -36
- package/dist/versions/v1/api/product-fields-api.js +6 -6
- package/dist/versions/v1/api/products-api.d.ts +24 -24
- package/dist/versions/v1/api/products-api.js +36 -36
- package/dist/versions/v1/api/project-templates-api.js +4 -4
- package/dist/versions/v1/api/projects-api.js +14 -14
- package/dist/versions/v1/api/recents-api.js +1 -1
- package/dist/versions/v1/api/roles-api.js +12 -12
- package/dist/versions/v1/api/stages-api.d.ts +36 -36
- package/dist/versions/v1/api/stages-api.js +43 -43
- package/dist/versions/v1/api/subscriptions-api.js +9 -9
- package/dist/versions/v1/api/tasks-api.js +5 -5
- package/dist/versions/v1/api/user-connections-api.js +1 -1
- package/dist/versions/v1/api/user-settings-api.js +1 -1
- package/dist/versions/v1/api/users-api.js +10 -10
- package/dist/versions/v1/api/webhooks-api.js +3 -3
- package/dist/versions/v1/base.d.ts +2 -3
- package/dist/versions/v1/configuration.d.ts +2 -2
- package/dist/versions/v1/models/add-note-request-all-of.d.ts +9 -4
- package/dist/versions/v1/models/add-note-request-all-of1.d.ts +10 -0
- package/dist/versions/v1/models/add-note-request-all-of1.js +5 -1
- package/dist/versions/v1/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v1/models/index.d.ts +1 -0
- package/dist/versions/v1/models/index.js +1 -0
- package/dist/versions/v1/models/note-project.d.ts +23 -0
- package/dist/versions/v1/models/note-project.js +15 -0
- package/dist/versions/v1/models/note-request-all-of1.d.ts +5 -0
- package/dist/versions/v1/models/note.d.ts +16 -0
- package/dist/versions/v2/api/activities-api.d.ts +15 -7
- package/dist/versions/v2/api/activities-api.js +17 -12
- package/dist/versions/v2/api/beta-api.d.ts +212 -0
- package/dist/versions/v2/api/beta-api.js +290 -4
- package/dist/versions/v2/api/deals-api.d.ts +272 -4
- package/dist/versions/v2/api/deals-api.js +311 -27
- package/dist/versions/v2/api/item-search-api.js +2 -2
- package/dist/versions/v2/api/leads-api.d.ts +111 -0
- package/dist/versions/v2/api/leads-api.js +146 -1
- package/dist/versions/v2/api/organizations-api.js +10 -10
- package/dist/versions/v2/api/persons-api.d.ts +8 -8
- package/dist/versions/v2/api/persons-api.js +18 -18
- package/dist/versions/v2/api/pipelines-api.js +5 -5
- package/dist/versions/v2/api/products-api.js +15 -15
- package/dist/versions/v2/api/stages-api.js +5 -5
- package/dist/versions/v2/api/users-api.js +1 -1
- package/dist/versions/v2/base.d.ts +2 -3
- package/dist/versions/v2/configuration.d.ts +2 -2
- package/dist/versions/v2/models/activity-item.d.ts +5 -0
- package/dist/versions/v2/models/activity-item1.d.ts +5 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.d.ts +23 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response-data.js +15 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-deal-to-lead-response.js +15 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.d.ts +34 -0
- package/dist/versions/v2/models/add-convert-lead-to-deal-response.js +15 -0
- package/dist/versions/v2/models/add-person-request.d.ts +12 -0
- package/dist/versions/v2/models/add-person-request.js +7 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.d.ts +28 -0
- package/dist/versions/v2/models/convert-lead-to-deal-request.js +15 -0
- package/dist/versions/v2/models/deal-item.d.ts +5 -0
- package/dist/versions/v2/models/deal-item1.d.ts +5 -0
- package/dist/versions/v2/models/get-convert-response.d.ts +43 -0
- package/dist/versions/v2/models/get-convert-response.js +15 -0
- package/dist/versions/v2/models/get-convert-response1-data.d.ts +46 -0
- package/dist/versions/v2/models/get-convert-response1-data.js +23 -0
- package/dist/versions/v2/models/get-convert-response1.d.ts +34 -0
- package/dist/versions/v2/models/get-convert-response1.js +15 -0
- package/dist/versions/v2/models/get-deal-search-response-all-of-data-items-inner-item.d.ts +5 -0
- package/dist/versions/v2/models/index.d.ts +7 -0
- package/dist/versions/v2/models/index.js +7 -0
- package/dist/versions/v2/models/update-person-request.d.ts +12 -0
- package/dist/versions/v2/models/update-person-request.js +7 -0
- package/package.json +1 -1
@@ -39,7 +39,7 @@ const base_1 = require("../base");
|
|
39
39
|
const PersonsApiAxiosParamCreator = function (configuration) {
|
40
40
|
return {
|
41
41
|
/**
|
42
|
-
* Adds a new person.
|
42
|
+
* Adds a new person. If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
43
43
|
* @summary Add a new person
|
44
44
|
* @param {AddPersonRequest} [AddPersonRequest]
|
45
45
|
|
@@ -57,7 +57,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -94,7 +94,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
94
94
|
const localVarHeaderParameter = {};
|
95
95
|
const localVarQueryParameter = {};
|
96
96
|
// authentication api_key required
|
97
|
-
yield (0, common_1.setApiKeyToObject)(
|
97
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
98
98
|
// authentication oauth2 required
|
99
99
|
// oauth required
|
100
100
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -130,7 +130,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
130
130
|
const localVarHeaderParameter = {};
|
131
131
|
const localVarQueryParameter = {};
|
132
132
|
// authentication api_key required
|
133
|
-
yield (0, common_1.setApiKeyToObject)(
|
133
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
134
134
|
// authentication oauth2 required
|
135
135
|
// oauth required
|
136
136
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -168,7 +168,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
168
168
|
const localVarHeaderParameter = {};
|
169
169
|
const localVarQueryParameter = {};
|
170
170
|
// authentication api_key required
|
171
|
-
yield (0, common_1.setApiKeyToObject)(
|
171
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
172
172
|
// authentication oauth2 required
|
173
173
|
// oauth required
|
174
174
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -204,7 +204,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
204
204
|
const localVarHeaderParameter = {};
|
205
205
|
const localVarQueryParameter = {};
|
206
206
|
// authentication api_key required
|
207
|
-
yield (0, common_1.setApiKeyToObject)(
|
207
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
208
208
|
// authentication oauth2 required
|
209
209
|
// oauth required
|
210
210
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -246,7 +246,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
246
246
|
const localVarHeaderParameter = {};
|
247
247
|
const localVarQueryParameter = {};
|
248
248
|
// authentication api_key required
|
249
|
-
yield (0, common_1.setApiKeyToObject)(
|
249
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
250
250
|
// authentication oauth2 required
|
251
251
|
// oauth required
|
252
252
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -288,7 +288,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
288
288
|
const localVarHeaderParameter = {};
|
289
289
|
const localVarQueryParameter = {};
|
290
290
|
// authentication api_key required
|
291
|
-
yield (0, common_1.setApiKeyToObject)(
|
291
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
292
292
|
// authentication oauth2 required
|
293
293
|
// oauth required
|
294
294
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -336,7 +336,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
336
336
|
const localVarHeaderParameter = {};
|
337
337
|
const localVarQueryParameter = {};
|
338
338
|
// authentication api_key required
|
339
|
-
yield (0, common_1.setApiKeyToObject)(
|
339
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
340
340
|
// authentication oauth2 required
|
341
341
|
// oauth required
|
342
342
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -411,7 +411,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
411
411
|
const localVarHeaderParameter = {};
|
412
412
|
const localVarQueryParameter = {};
|
413
413
|
// authentication api_key required
|
414
|
-
yield (0, common_1.setApiKeyToObject)(
|
414
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
415
415
|
// authentication oauth2 required
|
416
416
|
// oauth required
|
417
417
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "search:read"], configuration);
|
@@ -445,7 +445,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
445
445
|
};
|
446
446
|
}),
|
447
447
|
/**
|
448
|
-
* Updates the properties of a person.
|
448
|
+
* Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
449
449
|
* @summary Update a person
|
450
450
|
* @param {number} id The ID of the person
|
451
451
|
* @param {UpdatePersonRequest} [UpdatePersonRequest]
|
@@ -467,7 +467,7 @@ const PersonsApiAxiosParamCreator = function (configuration) {
|
|
467
467
|
const localVarHeaderParameter = {};
|
468
468
|
const localVarQueryParameter = {};
|
469
469
|
// authentication api_key required
|
470
|
-
yield (0, common_1.setApiKeyToObject)(
|
470
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
471
471
|
// authentication oauth2 required
|
472
472
|
// oauth required
|
473
473
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -492,7 +492,7 @@ const PersonsApiFp = function (configuration) {
|
|
492
492
|
const localVarAxiosParamCreator = (0, exports.PersonsApiAxiosParamCreator)(configuration);
|
493
493
|
return {
|
494
494
|
/**
|
495
|
-
* Adds a new person.
|
495
|
+
* Adds a new person. If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
496
496
|
* @summary Add a new person
|
497
497
|
* @param {AddPersonRequest} [AddPersonRequest]
|
498
498
|
|
@@ -634,7 +634,7 @@ const PersonsApiFp = function (configuration) {
|
|
634
634
|
});
|
635
635
|
},
|
636
636
|
/**
|
637
|
-
* Updates the properties of a person.
|
637
|
+
* Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
638
638
|
* @summary Update a person
|
639
639
|
* @param {number} id The ID of the person
|
640
640
|
* @param {UpdatePersonRequest} [UpdatePersonRequest]
|
@@ -658,7 +658,7 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
|
|
658
658
|
const localVarFp = (0, exports.PersonsApiFp)(configuration);
|
659
659
|
return {
|
660
660
|
/**
|
661
|
-
* Adds a new person.
|
661
|
+
* Adds a new person. If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
662
662
|
* @summary Add a new person
|
663
663
|
* @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
|
664
664
|
|
@@ -748,7 +748,7 @@ const PersonsApiFactory = function (configuration, basePath, axios) {
|
|
748
748
|
return localVarFp.searchPersons(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(axios, basePath));
|
749
749
|
},
|
750
750
|
/**
|
751
|
-
* Updates the properties of a person.
|
751
|
+
* Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
752
752
|
* @summary Update a person
|
753
753
|
* @param {PersonsApiUpdatePersonRequest} requestParameters Request parameters.
|
754
754
|
|
@@ -768,7 +768,7 @@ exports.PersonsApiFactory = PersonsApiFactory;
|
|
768
768
|
*/
|
769
769
|
class PersonsApi extends base_1.BaseAPI {
|
770
770
|
/**
|
771
|
-
* Adds a new person.
|
771
|
+
* Adds a new person. If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
772
772
|
* @summary Add a new person
|
773
773
|
* @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
|
774
774
|
|
@@ -867,7 +867,7 @@ class PersonsApi extends base_1.BaseAPI {
|
|
867
867
|
return (0, exports.PersonsApiFp)(this.configuration).searchPersons(requestParameters.term, requestParameters.fields, requestParameters.exact_match, requestParameters.organization_id, requestParameters.include_fields, requestParameters.limit, requestParameters.cursor).then((request) => request(this.axios, this.basePath));
|
868
868
|
}
|
869
869
|
/**
|
870
|
-
* Updates the properties of a person.
|
870
|
+
* Updates the properties of a person. <br>If the company uses the [Campaigns product](https://pipedrive.readme.io/docs/campaigns-in-pipedrive-api), then this endpoint will also accept and return the `marketing_status` field.
|
871
871
|
* @summary Update a person
|
872
872
|
* @param {PersonsApiUpdatePersonRequest} requestParameters Request parameters.
|
873
873
|
|
@@ -57,7 +57,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -93,7 +93,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -127,7 +127,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
127
127
|
const localVarHeaderParameter = {};
|
128
128
|
const localVarQueryParameter = {};
|
129
129
|
// authentication api_key required
|
130
|
-
yield (0, common_1.setApiKeyToObject)(
|
130
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
131
131
|
// authentication oauth2 required
|
132
132
|
// oauth required
|
133
133
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -161,7 +161,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
161
161
|
const localVarHeaderParameter = {};
|
162
162
|
const localVarQueryParameter = {};
|
163
163
|
// authentication api_key required
|
164
|
-
yield (0, common_1.setApiKeyToObject)(
|
164
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
165
165
|
// authentication oauth2 required
|
166
166
|
// oauth required
|
167
167
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -208,7 +208,7 @@ const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
208
208
|
const localVarHeaderParameter = {};
|
209
209
|
const localVarQueryParameter = {};
|
210
210
|
// authentication api_key required
|
211
|
-
yield (0, common_1.setApiKeyToObject)(
|
211
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
212
212
|
// authentication oauth2 required
|
213
213
|
// oauth required
|
214
214
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -57,7 +57,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -94,10 +94,10 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
94
94
|
const localVarHeaderParameter = {};
|
95
95
|
const localVarQueryParameter = {};
|
96
96
|
// authentication api_key required
|
97
|
-
yield (0, common_1.setApiKeyToObject)(
|
97
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
98
98
|
// authentication oauth2 required
|
99
99
|
// oauth required
|
100
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", [], configuration);
|
100
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
101
101
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
102
102
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
103
103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
@@ -131,7 +131,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
131
131
|
const localVarHeaderParameter = {};
|
132
132
|
const localVarQueryParameter = {};
|
133
133
|
// authentication api_key required
|
134
|
-
yield (0, common_1.setApiKeyToObject)(
|
134
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
135
135
|
// authentication oauth2 required
|
136
136
|
// oauth required
|
137
137
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -167,7 +167,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
167
167
|
const localVarHeaderParameter = {};
|
168
168
|
const localVarQueryParameter = {};
|
169
169
|
// authentication api_key required
|
170
|
-
yield (0, common_1.setApiKeyToObject)(
|
170
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
171
171
|
// authentication oauth2 required
|
172
172
|
// oauth required
|
173
173
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -205,7 +205,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
205
205
|
const localVarHeaderParameter = {};
|
206
206
|
const localVarQueryParameter = {};
|
207
207
|
// authentication api_key required
|
208
|
-
yield (0, common_1.setApiKeyToObject)(
|
208
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
209
209
|
// authentication oauth2 required
|
210
210
|
// oauth required
|
211
211
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -243,7 +243,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
243
243
|
const localVarHeaderParameter = {};
|
244
244
|
const localVarQueryParameter = {};
|
245
245
|
// authentication api_key required
|
246
|
-
yield (0, common_1.setApiKeyToObject)(
|
246
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
247
247
|
// authentication oauth2 required
|
248
248
|
// oauth required
|
249
249
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -277,7 +277,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
277
277
|
const localVarHeaderParameter = {};
|
278
278
|
const localVarQueryParameter = {};
|
279
279
|
// authentication api_key required
|
280
|
-
yield (0, common_1.setApiKeyToObject)(
|
280
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
281
281
|
// authentication oauth2 required
|
282
282
|
// oauth required
|
283
283
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -313,7 +313,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
313
313
|
const localVarHeaderParameter = {};
|
314
314
|
const localVarQueryParameter = {};
|
315
315
|
// authentication api_key required
|
316
|
-
yield (0, common_1.setApiKeyToObject)(
|
316
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
317
317
|
// authentication oauth2 required
|
318
318
|
// oauth required
|
319
319
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -355,7 +355,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
355
355
|
const localVarHeaderParameter = {};
|
356
356
|
const localVarQueryParameter = {};
|
357
357
|
// authentication api_key required
|
358
|
-
yield (0, common_1.setApiKeyToObject)(
|
358
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
359
359
|
// authentication oauth2 required
|
360
360
|
// oauth required
|
361
361
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -397,7 +397,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
397
397
|
const localVarHeaderParameter = {};
|
398
398
|
const localVarQueryParameter = {};
|
399
399
|
// authentication api_key required
|
400
|
-
yield (0, common_1.setApiKeyToObject)(
|
400
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
401
401
|
// authentication oauth2 required
|
402
402
|
// oauth required
|
403
403
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -441,7 +441,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
441
441
|
const localVarHeaderParameter = {};
|
442
442
|
const localVarQueryParameter = {};
|
443
443
|
// authentication api_key required
|
444
|
-
yield (0, common_1.setApiKeyToObject)(
|
444
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
445
445
|
// authentication oauth2 required
|
446
446
|
// oauth required
|
447
447
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -503,7 +503,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
503
503
|
const localVarHeaderParameter = {};
|
504
504
|
const localVarQueryParameter = {};
|
505
505
|
// authentication api_key required
|
506
|
-
yield (0, common_1.setApiKeyToObject)(
|
506
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
507
507
|
// authentication oauth2 required
|
508
508
|
// oauth required
|
509
509
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:read", "products:full", "search:read"], configuration);
|
@@ -556,7 +556,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
556
556
|
const localVarHeaderParameter = {};
|
557
557
|
const localVarQueryParameter = {};
|
558
558
|
// authentication api_key required
|
559
|
-
yield (0, common_1.setApiKeyToObject)(
|
559
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
560
560
|
// authentication oauth2 required
|
561
561
|
// oauth required
|
562
562
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -597,7 +597,7 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
597
597
|
const localVarHeaderParameter = {};
|
598
598
|
const localVarQueryParameter = {};
|
599
599
|
// authentication api_key required
|
600
|
-
yield (0, common_1.setApiKeyToObject)(
|
600
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
601
601
|
// authentication oauth2 required
|
602
602
|
// oauth required
|
603
603
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -57,7 +57,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
57
57
|
const localVarHeaderParameter = {};
|
58
58
|
const localVarQueryParameter = {};
|
59
59
|
// authentication api_key required
|
60
|
-
yield (0, common_1.setApiKeyToObject)(
|
60
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
61
61
|
// authentication oauth2 required
|
62
62
|
// oauth required
|
63
63
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -93,7 +93,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
const localVarHeaderParameter = {};
|
94
94
|
const localVarQueryParameter = {};
|
95
95
|
// authentication api_key required
|
96
|
-
yield (0, common_1.setApiKeyToObject)(
|
96
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
97
97
|
// authentication oauth2 required
|
98
98
|
// oauth required
|
99
99
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -127,7 +127,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
127
127
|
const localVarHeaderParameter = {};
|
128
128
|
const localVarQueryParameter = {};
|
129
129
|
// authentication api_key required
|
130
|
-
yield (0, common_1.setApiKeyToObject)(
|
130
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
131
131
|
// authentication oauth2 required
|
132
132
|
// oauth required
|
133
133
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -162,7 +162,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
162
162
|
const localVarHeaderParameter = {};
|
163
163
|
const localVarQueryParameter = {};
|
164
164
|
// authentication api_key required
|
165
|
-
yield (0, common_1.setApiKeyToObject)(
|
165
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
166
166
|
// authentication oauth2 required
|
167
167
|
// oauth required
|
168
168
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -212,7 +212,7 @@ const StagesApiAxiosParamCreator = function (configuration) {
|
|
212
212
|
const localVarHeaderParameter = {};
|
213
213
|
const localVarQueryParameter = {};
|
214
214
|
// authentication api_key required
|
215
|
-
yield (0, common_1.setApiKeyToObject)(
|
215
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
216
216
|
// authentication oauth2 required
|
217
217
|
// oauth required
|
218
218
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -62,7 +62,7 @@ const UsersApiAxiosParamCreator = function (configuration) {
|
|
62
62
|
const localVarHeaderParameter = {};
|
63
63
|
const localVarQueryParameter = {};
|
64
64
|
// authentication api_key required
|
65
|
-
yield (0, common_1.setApiKeyToObject)(
|
65
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
66
66
|
// authentication oauth2 required
|
67
67
|
// oauth required
|
68
68
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["users:read"], configuration);
|
@@ -10,8 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import type { Configuration } from './configuration';
|
13
|
-
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig } from 'axios';
|
14
|
-
import axios from 'axios';
|
13
|
+
import type { AxiosError, AxiosResponse, AxiosRequestConfig, InternalAxiosRequestConfig, AxiosInstance } from 'axios';
|
15
14
|
export declare const BASE_PATH: string;
|
16
15
|
/**
|
17
16
|
*
|
@@ -43,7 +42,7 @@ export declare const errorInterceptor: (error: AxiosError) => Promise<never>;
|
|
43
42
|
export declare class BaseAPI {
|
44
43
|
protected configuration: Configuration | undefined;
|
45
44
|
protected basePath: string;
|
46
|
-
protected axios:
|
45
|
+
protected axios: AxiosInstance;
|
47
46
|
constructor(configuration: Configuration);
|
48
47
|
}
|
49
48
|
/**
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import
|
12
|
+
import { AxiosResponse } from "axios";
|
13
13
|
export type TokenResponse = {
|
14
14
|
access_token: string;
|
15
15
|
refresh_token: string;
|
@@ -54,7 +54,7 @@ export declare class OAuth2Configuration {
|
|
54
54
|
* Revoke Refresh Token aka marking an app uninstalled or revoke the Access Token.
|
55
55
|
* @param {String} tokenTypeHint values can be: 'access_token' or 'refresh_token'.
|
56
56
|
*/
|
57
|
-
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<
|
57
|
+
revokeToken(tokenTypeHint?: 'access_token' | 'refresh_token'): Promise<AxiosResponse<any, any>>;
|
58
58
|
private validateParam;
|
59
59
|
}
|
60
60
|
export interface ConfigurationParameters {
|
@@ -39,6 +39,11 @@ export interface ActivityItem1 {
|
|
39
39
|
*/
|
40
40
|
'owner_id'?: number;
|
41
41
|
/**
|
42
|
+
* The ID of the user who created the activity
|
43
|
+
* @type {number}
|
44
|
+
*/
|
45
|
+
'creator_user_id'?: number;
|
46
|
+
/**
|
42
47
|
* Whether the activity is deleted or not
|
43
48
|
* @type {boolean}
|
44
49
|
*/
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Pipedrive API v2
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* An object containing conversion job id that performs the conversion
|
14
|
+
* @export
|
15
|
+
* @interface AddConvertDealToLeadResponseData
|
16
|
+
*/
|
17
|
+
export interface AddConvertDealToLeadResponseData {
|
18
|
+
/**
|
19
|
+
* The ID of the conversion job that can be used to retrieve conversion status and details. The ID has UUID format.
|
20
|
+
* @type {string}
|
21
|
+
*/
|
22
|
+
'conversion_id': string;
|
23
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* Pipedrive API v2
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
9
|
+
*
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* Pipedrive API v2
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import { AddConvertDealToLeadResponseData } from './add-convert-deal-to-lead-response-data';
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @export
|
16
|
+
* @interface AddConvertDealToLeadResponse
|
17
|
+
*/
|
18
|
+
export interface AddConvertDealToLeadResponse {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {boolean}
|
22
|
+
*/
|
23
|
+
'success'?: boolean;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {AddConvertDealToLeadResponseData}
|
27
|
+
*/
|
28
|
+
'data'?: AddConvertDealToLeadResponseData;
|
29
|
+
/**
|
30
|
+
*
|
31
|
+
* @type {object}
|
32
|
+
*/
|
33
|
+
'additional_data'?: object | null;
|
34
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* Pipedrive API v2
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
9
|
+
*
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/**
|
2
|
+
* Pipedrive API v2
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2.0.0
|
6
|
+
*
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import { AddConvertDealToLeadResponseData } from './add-convert-deal-to-lead-response-data';
|
13
|
+
/**
|
14
|
+
*
|
15
|
+
* @export
|
16
|
+
* @interface AddConvertLeadToDealResponse
|
17
|
+
*/
|
18
|
+
export interface AddConvertLeadToDealResponse {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {boolean}
|
22
|
+
*/
|
23
|
+
'success'?: boolean;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {AddConvertDealToLeadResponseData}
|
27
|
+
*/
|
28
|
+
'data'?: AddConvertDealToLeadResponseData;
|
29
|
+
/**
|
30
|
+
*
|
31
|
+
* @type {object}
|
32
|
+
*/
|
33
|
+
'additional_data'?: object | null;
|
34
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* Pipedrive API v2
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2.0.0
|
9
|
+
*
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -62,4 +62,16 @@ export interface AddPersonRequest {
|
|
62
62
|
* @type {Array<number>}
|
63
63
|
*/
|
64
64
|
'label_ids'?: Array<number>;
|
65
|
+
/**
|
66
|
+
* If the person does not have a valid email address, then the marketing status is **not set** and `no_consent` is returned for the `marketing_status` value when the new person is created. If the change is forbidden, the status will remain unchanged for every call that tries to modify the marketing status. Please be aware that it is only allowed **once** to change the marketing status from an old status to a new one.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`no_consent`</td><td>The customer has not given consent to receive any marketing communications</td></tr><tr><td>`unsubscribed`</td><td>The customers have unsubscribed from ALL marketing communications</td></tr><tr><td>`subscribed`</td><td>The customers are subscribed and are counted towards marketing caps</td></tr><tr><td>`archived`</td><td>The customers with `subscribed` status can be moved to `archived` to save consent, but they are not paid for</td></tr></table>
|
67
|
+
* @type {string}
|
68
|
+
*/
|
69
|
+
'marketing_status'?: AddPersonRequestMarketingStatusConst;
|
65
70
|
}
|
71
|
+
export declare const AddPersonRequestMarketingStatusConst: {
|
72
|
+
readonly no_consent: "no_consent";
|
73
|
+
readonly unsubscribed: "unsubscribed";
|
74
|
+
readonly subscribed: "subscribed";
|
75
|
+
readonly archived: "archived";
|
76
|
+
};
|
77
|
+
export type AddPersonRequestMarketingStatusConst = typeof AddPersonRequestMarketingStatusConst[keyof typeof AddPersonRequestMarketingStatusConst];
|
@@ -13,3 +13,10 @@
|
|
13
13
|
* Do not edit the class manually.
|
14
14
|
*/
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.AddPersonRequestMarketingStatusConst = void 0;
|
17
|
+
exports.AddPersonRequestMarketingStatusConst = {
|
18
|
+
no_consent: 'no_consent',
|
19
|
+
unsubscribed: 'unsubscribed',
|
20
|
+
subscribed: 'subscribed',
|
21
|
+
archived: 'archived'
|
22
|
+
};
|