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
@@ -33,7 +33,7 @@ import { BASE_PATH, BaseAPI } from '../base';
|
|
33
33
|
export const PersonsApiAxiosParamCreator = function (configuration) {
|
34
34
|
return {
|
35
35
|
/**
|
36
|
-
* Adds a new person.
|
36
|
+
* 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.
|
37
37
|
* @summary Add a new person
|
38
38
|
* @param {AddPersonRequest} [AddPersonRequest]
|
39
39
|
|
@@ -51,7 +51,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -88,7 +88,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
88
88
|
const localVarHeaderParameter = {};
|
89
89
|
const localVarQueryParameter = {};
|
90
90
|
// authentication api_key required
|
91
|
-
yield setApiKeyToObject(
|
91
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
92
92
|
// authentication oauth2 required
|
93
93
|
// oauth required
|
94
94
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -124,7 +124,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
124
124
|
const localVarHeaderParameter = {};
|
125
125
|
const localVarQueryParameter = {};
|
126
126
|
// authentication api_key required
|
127
|
-
yield setApiKeyToObject(
|
127
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
128
128
|
// authentication oauth2 required
|
129
129
|
// oauth required
|
130
130
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -162,7 +162,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
162
162
|
const localVarHeaderParameter = {};
|
163
163
|
const localVarQueryParameter = {};
|
164
164
|
// authentication api_key required
|
165
|
-
yield setApiKeyToObject(
|
165
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
166
166
|
// authentication oauth2 required
|
167
167
|
// oauth required
|
168
168
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -198,7 +198,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
198
198
|
const localVarHeaderParameter = {};
|
199
199
|
const localVarQueryParameter = {};
|
200
200
|
// authentication api_key required
|
201
|
-
yield setApiKeyToObject(
|
201
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
202
202
|
// authentication oauth2 required
|
203
203
|
// oauth required
|
204
204
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -240,7 +240,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
240
240
|
const localVarHeaderParameter = {};
|
241
241
|
const localVarQueryParameter = {};
|
242
242
|
// authentication api_key required
|
243
|
-
yield setApiKeyToObject(
|
243
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
244
244
|
// authentication oauth2 required
|
245
245
|
// oauth required
|
246
246
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -282,7 +282,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
282
282
|
const localVarHeaderParameter = {};
|
283
283
|
const localVarQueryParameter = {};
|
284
284
|
// authentication api_key required
|
285
|
-
yield setApiKeyToObject(
|
285
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
286
286
|
// authentication oauth2 required
|
287
287
|
// oauth required
|
288
288
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -330,7 +330,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
330
330
|
const localVarHeaderParameter = {};
|
331
331
|
const localVarQueryParameter = {};
|
332
332
|
// authentication api_key required
|
333
|
-
yield setApiKeyToObject(
|
333
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
334
334
|
// authentication oauth2 required
|
335
335
|
// oauth required
|
336
336
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full"], configuration);
|
@@ -405,7 +405,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
405
405
|
const localVarHeaderParameter = {};
|
406
406
|
const localVarQueryParameter = {};
|
407
407
|
// authentication api_key required
|
408
|
-
yield setApiKeyToObject(
|
408
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
409
409
|
// authentication oauth2 required
|
410
410
|
// oauth required
|
411
411
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:read", "contacts:full", "search:read"], configuration);
|
@@ -439,7 +439,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
439
439
|
};
|
440
440
|
}),
|
441
441
|
/**
|
442
|
-
* Updates the properties of a person.
|
442
|
+
* 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.
|
443
443
|
* @summary Update a person
|
444
444
|
* @param {number} id The ID of the person
|
445
445
|
* @param {UpdatePersonRequest} [UpdatePersonRequest]
|
@@ -461,7 +461,7 @@ export const PersonsApiAxiosParamCreator = function (configuration) {
|
|
461
461
|
const localVarHeaderParameter = {};
|
462
462
|
const localVarQueryParameter = {};
|
463
463
|
// authentication api_key required
|
464
|
-
yield setApiKeyToObject(
|
464
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
465
465
|
// authentication oauth2 required
|
466
466
|
// oauth required
|
467
467
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["contacts:full"], configuration);
|
@@ -485,7 +485,7 @@ export const PersonsApiFp = function (configuration) {
|
|
485
485
|
const localVarAxiosParamCreator = PersonsApiAxiosParamCreator(configuration);
|
486
486
|
return {
|
487
487
|
/**
|
488
|
-
* Adds a new person.
|
488
|
+
* 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.
|
489
489
|
* @summary Add a new person
|
490
490
|
* @param {AddPersonRequest} [AddPersonRequest]
|
491
491
|
|
@@ -627,7 +627,7 @@ export const PersonsApiFp = function (configuration) {
|
|
627
627
|
});
|
628
628
|
},
|
629
629
|
/**
|
630
|
-
* Updates the properties of a person.
|
630
|
+
* 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.
|
631
631
|
* @summary Update a person
|
632
632
|
* @param {number} id The ID of the person
|
633
633
|
* @param {UpdatePersonRequest} [UpdatePersonRequest]
|
@@ -650,7 +650,7 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
|
|
650
650
|
const localVarFp = PersonsApiFp(configuration);
|
651
651
|
return {
|
652
652
|
/**
|
653
|
-
* Adds a new person.
|
653
|
+
* 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.
|
654
654
|
* @summary Add a new person
|
655
655
|
* @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
|
656
656
|
|
@@ -740,7 +740,7 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
|
|
740
740
|
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));
|
741
741
|
},
|
742
742
|
/**
|
743
|
-
* Updates the properties of a person.
|
743
|
+
* 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.
|
744
744
|
* @summary Update a person
|
745
745
|
* @param {PersonsApiUpdatePersonRequest} requestParameters Request parameters.
|
746
746
|
|
@@ -759,7 +759,7 @@ export const PersonsApiFactory = function (configuration, basePath, axios) {
|
|
759
759
|
*/
|
760
760
|
export class PersonsApi extends BaseAPI {
|
761
761
|
/**
|
762
|
-
* Adds a new person.
|
762
|
+
* 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.
|
763
763
|
* @summary Add a new person
|
764
764
|
* @param {PersonsApiAddPersonRequest} requestParameters Request parameters.
|
765
765
|
|
@@ -858,7 +858,7 @@ export class PersonsApi extends BaseAPI {
|
|
858
858
|
return 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));
|
859
859
|
}
|
860
860
|
/**
|
861
|
-
* Updates the properties of a person.
|
861
|
+
* 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.
|
862
862
|
* @summary Update a person
|
863
863
|
* @param {PersonsApiUpdatePersonRequest} requestParameters Request parameters.
|
864
864
|
|
@@ -51,7 +51,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -87,7 +87,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -121,7 +121,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
121
121
|
const localVarHeaderParameter = {};
|
122
122
|
const localVarQueryParameter = {};
|
123
123
|
// authentication api_key required
|
124
|
-
yield setApiKeyToObject(
|
124
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
125
125
|
// authentication oauth2 required
|
126
126
|
// oauth required
|
127
127
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -155,7 +155,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
155
155
|
const localVarHeaderParameter = {};
|
156
156
|
const localVarQueryParameter = {};
|
157
157
|
// authentication api_key required
|
158
|
-
yield setApiKeyToObject(
|
158
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
159
159
|
// authentication oauth2 required
|
160
160
|
// oauth required
|
161
161
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -202,7 +202,7 @@ export const PipelinesApiAxiosParamCreator = function (configuration) {
|
|
202
202
|
const localVarHeaderParameter = {};
|
203
203
|
const localVarQueryParameter = {};
|
204
204
|
// authentication api_key required
|
205
|
-
yield setApiKeyToObject(
|
205
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
206
206
|
// authentication oauth2 required
|
207
207
|
// oauth required
|
208
208
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -51,7 +51,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -88,10 +88,10 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
88
88
|
const localVarHeaderParameter = {};
|
89
89
|
const localVarQueryParameter = {};
|
90
90
|
// authentication api_key required
|
91
|
-
yield setApiKeyToObject(
|
91
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
92
92
|
// authentication oauth2 required
|
93
93
|
// oauth required
|
94
|
-
yield setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration);
|
94
|
+
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
95
95
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
96
96
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
97
97
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
@@ -125,7 +125,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
125
125
|
const localVarHeaderParameter = {};
|
126
126
|
const localVarQueryParameter = {};
|
127
127
|
// authentication api_key required
|
128
|
-
yield setApiKeyToObject(
|
128
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
129
129
|
// authentication oauth2 required
|
130
130
|
// oauth required
|
131
131
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -161,7 +161,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
161
161
|
const localVarHeaderParameter = {};
|
162
162
|
const localVarQueryParameter = {};
|
163
163
|
// authentication api_key required
|
164
|
-
yield setApiKeyToObject(
|
164
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
165
165
|
// authentication oauth2 required
|
166
166
|
// oauth required
|
167
167
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -199,7 +199,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
199
199
|
const localVarHeaderParameter = {};
|
200
200
|
const localVarQueryParameter = {};
|
201
201
|
// authentication api_key required
|
202
|
-
yield setApiKeyToObject(
|
202
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
203
203
|
// authentication oauth2 required
|
204
204
|
// oauth required
|
205
205
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -237,7 +237,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
237
237
|
const localVarHeaderParameter = {};
|
238
238
|
const localVarQueryParameter = {};
|
239
239
|
// authentication api_key required
|
240
|
-
yield setApiKeyToObject(
|
240
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
241
241
|
// authentication oauth2 required
|
242
242
|
// oauth required
|
243
243
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -271,7 +271,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
271
271
|
const localVarHeaderParameter = {};
|
272
272
|
const localVarQueryParameter = {};
|
273
273
|
// authentication api_key required
|
274
|
-
yield setApiKeyToObject(
|
274
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
275
275
|
// authentication oauth2 required
|
276
276
|
// oauth required
|
277
277
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -307,7 +307,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
307
307
|
const localVarHeaderParameter = {};
|
308
308
|
const localVarQueryParameter = {};
|
309
309
|
// authentication api_key required
|
310
|
-
yield setApiKeyToObject(
|
310
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
311
311
|
// authentication oauth2 required
|
312
312
|
// oauth required
|
313
313
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -349,7 +349,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
349
349
|
const localVarHeaderParameter = {};
|
350
350
|
const localVarQueryParameter = {};
|
351
351
|
// authentication api_key required
|
352
|
-
yield setApiKeyToObject(
|
352
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
353
353
|
// authentication oauth2 required
|
354
354
|
// oauth required
|
355
355
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -391,7 +391,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
391
391
|
const localVarHeaderParameter = {};
|
392
392
|
const localVarQueryParameter = {};
|
393
393
|
// authentication api_key required
|
394
|
-
yield setApiKeyToObject(
|
394
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
395
395
|
// authentication oauth2 required
|
396
396
|
// oauth required
|
397
397
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -435,7 +435,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
435
435
|
const localVarHeaderParameter = {};
|
436
436
|
const localVarQueryParameter = {};
|
437
437
|
// authentication api_key required
|
438
|
-
yield setApiKeyToObject(
|
438
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
439
439
|
// authentication oauth2 required
|
440
440
|
// oauth required
|
441
441
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full"], configuration);
|
@@ -497,7 +497,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
497
497
|
const localVarHeaderParameter = {};
|
498
498
|
const localVarQueryParameter = {};
|
499
499
|
// authentication api_key required
|
500
|
-
yield setApiKeyToObject(
|
500
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
501
501
|
// authentication oauth2 required
|
502
502
|
// oauth required
|
503
503
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:read", "products:full", "search:read"], configuration);
|
@@ -550,7 +550,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
550
550
|
const localVarHeaderParameter = {};
|
551
551
|
const localVarQueryParameter = {};
|
552
552
|
// authentication api_key required
|
553
|
-
yield setApiKeyToObject(
|
553
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
554
554
|
// authentication oauth2 required
|
555
555
|
// oauth required
|
556
556
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -591,7 +591,7 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
591
591
|
const localVarHeaderParameter = {};
|
592
592
|
const localVarQueryParameter = {};
|
593
593
|
// authentication api_key required
|
594
|
-
yield setApiKeyToObject(
|
594
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
595
595
|
// authentication oauth2 required
|
596
596
|
// oauth required
|
597
597
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["products:full"], configuration);
|
@@ -51,7 +51,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
51
51
|
const localVarHeaderParameter = {};
|
52
52
|
const localVarQueryParameter = {};
|
53
53
|
// authentication api_key required
|
54
|
-
yield setApiKeyToObject(
|
54
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
55
55
|
// authentication oauth2 required
|
56
56
|
// oauth required
|
57
57
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -87,7 +87,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
87
87
|
const localVarHeaderParameter = {};
|
88
88
|
const localVarQueryParameter = {};
|
89
89
|
// authentication api_key required
|
90
|
-
yield setApiKeyToObject(
|
90
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
91
91
|
// authentication oauth2 required
|
92
92
|
// oauth required
|
93
93
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -121,7 +121,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
121
121
|
const localVarHeaderParameter = {};
|
122
122
|
const localVarQueryParameter = {};
|
123
123
|
// authentication api_key required
|
124
|
-
yield setApiKeyToObject(
|
124
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
125
125
|
// authentication oauth2 required
|
126
126
|
// oauth required
|
127
127
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -156,7 +156,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
156
156
|
const localVarHeaderParameter = {};
|
157
157
|
const localVarQueryParameter = {};
|
158
158
|
// authentication api_key required
|
159
|
-
yield setApiKeyToObject(
|
159
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
160
160
|
// authentication oauth2 required
|
161
161
|
// oauth required
|
162
162
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "admin"], configuration);
|
@@ -206,7 +206,7 @@ export const StagesApiAxiosParamCreator = function (configuration) {
|
|
206
206
|
const localVarHeaderParameter = {};
|
207
207
|
const localVarQueryParameter = {};
|
208
208
|
// authentication api_key required
|
209
|
-
yield setApiKeyToObject(
|
209
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
210
210
|
// authentication oauth2 required
|
211
211
|
// oauth required
|
212
212
|
yield setOAuthToObject(localVarHeaderParameter, "oauth2", ["admin"], configuration);
|
@@ -56,7 +56,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
56
56
|
const localVarHeaderParameter = {};
|
57
57
|
const localVarQueryParameter = {};
|
58
58
|
// authentication api_key required
|
59
|
-
yield setApiKeyToObject(
|
59
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-api-token", configuration);
|
60
60
|
// authentication oauth2 required
|
61
61
|
// oauth required
|
62
62
|
yield 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,14 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* Pipedrive API v2
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
8
|
+
*
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
export {};
|
@@ -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,14 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* Pipedrive API v2
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
8
|
+
*
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
export {};
|
@@ -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,14 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* Pipedrive API v2
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2.0.0
|
8
|
+
*
|
9
|
+
*
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
11
|
+
* https://openapi-generator.tech
|
12
|
+
* Do not edit the class manually.
|
13
|
+
*/
|
14
|
+
export {};
|
@@ -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];
|
@@ -11,4 +11,9 @@
|
|
11
11
|
* https://openapi-generator.tech
|
12
12
|
* Do not edit the class manually.
|
13
13
|
*/
|
14
|
-
export {
|
14
|
+
export const AddPersonRequestMarketingStatusConst = {
|
15
|
+
no_consent: 'no_consent',
|
16
|
+
unsubscribed: 'unsubscribed',
|
17
|
+
subscribed: 'subscribed',
|
18
|
+
archived: 'archived'
|
19
|
+
};
|