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
@@ -66,7 +66,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
66
66
|
const localVarQueryParameter = {};
|
67
67
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
68
68
|
// authentication api_key required
|
69
|
-
yield (0, common_1.setApiKeyToObject)(
|
69
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
70
70
|
// authentication oauth2 required
|
71
71
|
// oauth required
|
72
72
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -135,7 +135,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
135
135
|
const localVarQueryParameter = {};
|
136
136
|
const localVarFormParams = new URLSearchParams();
|
137
137
|
// authentication api_key required
|
138
|
-
yield (0, common_1.setApiKeyToObject)(
|
138
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
139
139
|
// authentication oauth2 required
|
140
140
|
// oauth required
|
141
141
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -186,7 +186,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
186
186
|
const localVarHeaderParameter = {};
|
187
187
|
const localVarQueryParameter = {};
|
188
188
|
// authentication api_key required
|
189
|
-
yield (0, common_1.setApiKeyToObject)(
|
189
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
190
190
|
// authentication oauth2 required
|
191
191
|
// oauth required
|
192
192
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -220,7 +220,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
220
220
|
const localVarHeaderParameter = {};
|
221
221
|
const localVarQueryParameter = {};
|
222
222
|
// authentication api_key required
|
223
|
-
yield (0, common_1.setApiKeyToObject)(
|
223
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
224
224
|
// authentication oauth2 required
|
225
225
|
// oauth required
|
226
226
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -254,7 +254,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
254
254
|
const localVarHeaderParameter = {};
|
255
255
|
const localVarQueryParameter = {};
|
256
256
|
// authentication api_key required
|
257
|
-
yield (0, common_1.setApiKeyToObject)(
|
257
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
258
258
|
// authentication oauth2 required
|
259
259
|
// oauth required
|
260
260
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -287,7 +287,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
287
287
|
const localVarHeaderParameter = {};
|
288
288
|
const localVarQueryParameter = {};
|
289
289
|
// authentication api_key required
|
290
|
-
yield (0, common_1.setApiKeyToObject)(
|
290
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
291
291
|
// authentication oauth2 required
|
292
292
|
// oauth required
|
293
293
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -339,7 +339,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
339
339
|
const localVarQueryParameter = {};
|
340
340
|
const localVarFormParams = new URLSearchParams();
|
341
341
|
// authentication api_key required
|
342
|
-
yield (0, common_1.setApiKeyToObject)(
|
342
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
343
343
|
// authentication oauth2 required
|
344
344
|
// oauth required
|
345
345
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -390,7 +390,7 @@ const FilesApiAxiosParamCreator = function (configuration) {
|
|
390
390
|
const localVarQueryParameter = {};
|
391
391
|
const localVarFormParams = new URLSearchParams();
|
392
392
|
// authentication api_key required
|
393
|
-
yield (0, common_1.setApiKeyToObject)(
|
393
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
394
394
|
// authentication oauth2 required
|
395
395
|
// oauth required
|
396
396
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -57,7 +57,7 @@ const FiltersApiAxiosParamCreator = 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", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -93,7 +93,7 @@ const FiltersApiAxiosParamCreator = 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", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -126,7 +126,7 @@ const FiltersApiAxiosParamCreator = function (configuration) {
|
|
126
126
|
const localVarHeaderParameter = {};
|
127
127
|
const localVarQueryParameter = {};
|
128
128
|
// authentication api_key required
|
129
|
-
yield (0, common_1.setApiKeyToObject)(
|
129
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
130
130
|
// authentication oauth2 required
|
131
131
|
// oauth required
|
132
132
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -163,7 +163,7 @@ const FiltersApiAxiosParamCreator = function (configuration) {
|
|
163
163
|
const localVarHeaderParameter = {};
|
164
164
|
const localVarQueryParameter = {};
|
165
165
|
// authentication api_key required
|
166
|
-
yield (0, common_1.setApiKeyToObject)(
|
166
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
167
167
|
// authentication oauth2 required
|
168
168
|
// oauth required
|
169
169
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -193,7 +193,7 @@ const FiltersApiAxiosParamCreator = function (configuration) {
|
|
193
193
|
const localVarHeaderParameter = {};
|
194
194
|
const localVarQueryParameter = {};
|
195
195
|
// authentication api_key required
|
196
|
-
yield (0, common_1.setApiKeyToObject)(
|
196
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
197
197
|
// authentication oauth2 required
|
198
198
|
// oauth required
|
199
199
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -224,7 +224,7 @@ const FiltersApiAxiosParamCreator = function (configuration) {
|
|
224
224
|
const localVarHeaderParameter = {};
|
225
225
|
const localVarQueryParameter = {};
|
226
226
|
// authentication api_key required
|
227
|
-
yield (0, common_1.setApiKeyToObject)(
|
227
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
228
228
|
// authentication oauth2 required
|
229
229
|
// oauth required
|
230
230
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:read", "deals:full", "activities:read", "activities:full", "contacts:read", "contacts:full"], configuration);
|
@@ -262,7 +262,7 @@ const FiltersApiAxiosParamCreator = function (configuration) {
|
|
262
262
|
const localVarHeaderParameter = {};
|
263
263
|
const localVarQueryParameter = {};
|
264
264
|
// authentication api_key required
|
265
|
-
yield (0, common_1.setApiKeyToObject)(
|
265
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
266
266
|
// authentication oauth2 required
|
267
267
|
// oauth required
|
268
268
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["deals:full", "activities:full", "contacts:full"], configuration);
|
@@ -57,7 +57,7 @@ const GoalsApiAxiosParamCreator = 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", ["goals:full"], configuration);
|
@@ -93,7 +93,7 @@ const GoalsApiAxiosParamCreator = 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", ["goals:full"], configuration);
|
@@ -133,7 +133,7 @@ const GoalsApiAxiosParamCreator = function (configuration) {
|
|
133
133
|
const localVarHeaderParameter = {};
|
134
134
|
const localVarQueryParameter = {};
|
135
135
|
// authentication api_key required
|
136
|
-
yield (0, common_1.setApiKeyToObject)(
|
136
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
137
137
|
// authentication oauth2 required
|
138
138
|
// oauth required
|
139
139
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["goals:read", "goals:full"], configuration);
|
@@ -186,7 +186,7 @@ const GoalsApiAxiosParamCreator = function (configuration) {
|
|
186
186
|
const localVarHeaderParameter = {};
|
187
187
|
const localVarQueryParameter = {};
|
188
188
|
// authentication api_key required
|
189
|
-
yield (0, common_1.setApiKeyToObject)(
|
189
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
190
190
|
// authentication oauth2 required
|
191
191
|
// oauth required
|
192
192
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["goals:read", "goals:full"], configuration);
|
@@ -264,7 +264,7 @@ const GoalsApiAxiosParamCreator = function (configuration) {
|
|
264
264
|
const localVarHeaderParameter = {};
|
265
265
|
const localVarQueryParameter = {};
|
266
266
|
// authentication api_key required
|
267
|
-
yield (0, common_1.setApiKeyToObject)(
|
267
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
268
268
|
// authentication oauth2 required
|
269
269
|
// oauth required
|
270
270
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["goals:full"], configuration);
|
@@ -30,7 +30,7 @@ export declare const ItemSearchApiAxiosParamCreator: (configuration?: Configurat
|
|
30
30
|
* @param {'deal.cc_email' | 'person.picture' | 'product.price'} [include_fields] A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
31
31
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
32
32
|
* @param {number} [limit] Items shown per page
|
33
|
-
|
33
|
+
* @deprecated
|
34
34
|
* @throws {RequiredError}
|
35
35
|
*/
|
36
36
|
searchItem: (term: string, item_types?: 'deal' | 'person' | 'organization' | 'product' | 'lead' | 'file' | 'mail_attachment' | 'project', fields?: 'address' | 'code' | 'custom_fields' | 'email' | 'name' | 'notes' | 'organization_name' | 'person_name' | 'phone' | 'title' | 'description', search_for_related_items?: boolean, exact_match?: boolean, include_fields?: 'deal.cc_email' | 'person.picture' | 'product.price', start?: number, limit?: number) => Promise<RequestArgs>;
|
@@ -44,7 +44,7 @@ export declare const ItemSearchApiAxiosParamCreator: (configuration?: Configurat
|
|
44
44
|
* @param {boolean} [return_item_ids] Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
|
45
45
|
* @param {number} [start] Pagination start
|
46
46
|
* @param {number} [limit] Items shown per page
|
47
|
-
|
47
|
+
* @deprecated
|
48
48
|
* @throws {RequiredError}
|
49
49
|
*/
|
50
50
|
searchItemByField: (term: string, field_type: 'dealField' | 'leadField' | 'personField' | 'organizationField' | 'productField' | 'projectField', field_key: string, exact_match?: boolean, return_item_ids?: boolean, start?: number, limit?: number) => Promise<RequestArgs>;
|
@@ -65,7 +65,7 @@ export declare const ItemSearchApiFp: (configuration?: Configuration) => {
|
|
65
65
|
* @param {'deal.cc_email' | 'person.picture' | 'product.price'} [include_fields] A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
66
66
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
67
67
|
* @param {number} [limit] Items shown per page
|
68
|
-
|
68
|
+
* @deprecated
|
69
69
|
* @throws {RequiredError}
|
70
70
|
*/
|
71
71
|
searchItem(term: string, item_types?: 'deal' | 'person' | 'organization' | 'product' | 'lead' | 'file' | 'mail_attachment' | 'project', fields?: 'address' | 'code' | 'custom_fields' | 'email' | 'name' | 'notes' | 'organization_name' | 'person_name' | 'phone' | 'title' | 'description', search_for_related_items?: boolean, exact_match?: boolean, include_fields?: 'deal.cc_email' | 'person.picture' | 'product.price', start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetItemSearchResponse>>;
|
@@ -79,7 +79,7 @@ export declare const ItemSearchApiFp: (configuration?: Configuration) => {
|
|
79
79
|
* @param {boolean} [return_item_ids] Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
|
80
80
|
* @param {number} [start] Pagination start
|
81
81
|
* @param {number} [limit] Items shown per page
|
82
|
-
|
82
|
+
* @deprecated
|
83
83
|
* @throws {RequiredError}
|
84
84
|
*/
|
85
85
|
searchItemByField(term: string, field_type: 'dealField' | 'leadField' | 'personField' | 'organizationField' | 'productField' | 'projectField', field_key: string, exact_match?: boolean, return_item_ids?: boolean, start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetItemSearchFieldResponse>>;
|
@@ -93,7 +93,7 @@ export declare const ItemSearchApiFactory: (configuration?: Configuration, baseP
|
|
93
93
|
* Performs a search from your choice of item types and fields.
|
94
94
|
* @summary Perform a search from multiple item types
|
95
95
|
* @param {ItemSearchApiSearchItemRequest} requestParameters Request parameters.
|
96
|
-
|
96
|
+
* @deprecated
|
97
97
|
* @throws {RequiredError}
|
98
98
|
*/
|
99
99
|
searchItem(requestParameters: ItemSearchApiSearchItemRequest): Promise<GetItemSearchResponse>;
|
@@ -101,7 +101,7 @@ export declare const ItemSearchApiFactory: (configuration?: Configuration, baseP
|
|
101
101
|
* Performs a search from the values of a specific field. Results can either be the distinct values of the field (useful for searching autocomplete field values), or the IDs of actual items (deals, leads, persons, organizations or products).
|
102
102
|
* @summary Perform a search using a specific field from an item type
|
103
103
|
* @param {ItemSearchApiSearchItemByFieldRequest} requestParameters Request parameters.
|
104
|
-
|
104
|
+
* @deprecated
|
105
105
|
* @throws {RequiredError}
|
106
106
|
*/
|
107
107
|
searchItemByField(requestParameters: ItemSearchApiSearchItemByFieldRequest): Promise<GetItemSearchFieldResponse>;
|
@@ -221,7 +221,7 @@ export declare class ItemSearchApi extends BaseAPI {
|
|
221
221
|
* Performs a search from your choice of item types and fields.
|
222
222
|
* @summary Perform a search from multiple item types
|
223
223
|
* @param {ItemSearchApiSearchItemRequest} requestParameters Request parameters.
|
224
|
-
|
224
|
+
* @deprecated
|
225
225
|
* @throws {RequiredError}
|
226
226
|
* @memberof ItemSearchApi
|
227
227
|
*/
|
@@ -230,7 +230,7 @@ export declare class ItemSearchApi extends BaseAPI {
|
|
230
230
|
* Performs a search from the values of a specific field. Results can either be the distinct values of the field (useful for searching autocomplete field values), or the IDs of actual items (deals, leads, persons, organizations or products).
|
231
231
|
* @summary Perform a search using a specific field from an item type
|
232
232
|
* @param {ItemSearchApiSearchItemByFieldRequest} requestParameters Request parameters.
|
233
|
-
|
233
|
+
* @deprecated
|
234
234
|
* @throws {RequiredError}
|
235
235
|
* @memberof ItemSearchApi
|
236
236
|
*/
|
@@ -49,7 +49,7 @@ const ItemSearchApiAxiosParamCreator = function (configuration) {
|
|
49
49
|
* @param {'deal.cc_email' | 'person.picture' | 'product.price'} [include_fields] A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
50
50
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
51
51
|
* @param {number} [limit] Items shown per page
|
52
|
-
|
52
|
+
* @deprecated
|
53
53
|
* @throws {RequiredError}
|
54
54
|
*/
|
55
55
|
searchItem: (term, item_types, fields, search_for_related_items, exact_match, include_fields, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -66,7 +66,7 @@ const ItemSearchApiAxiosParamCreator = function (configuration) {
|
|
66
66
|
const localVarHeaderParameter = {};
|
67
67
|
const localVarQueryParameter = {};
|
68
68
|
// authentication api_key required
|
69
|
-
yield (0, common_1.setApiKeyToObject)(
|
69
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
70
70
|
// authentication oauth2 required
|
71
71
|
// oauth required
|
72
72
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["search:read"], configuration);
|
@@ -112,7 +112,7 @@ const ItemSearchApiAxiosParamCreator = function (configuration) {
|
|
112
112
|
* @param {boolean} [return_item_ids] Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
|
113
113
|
* @param {number} [start] Pagination start
|
114
114
|
* @param {number} [limit] Items shown per page
|
115
|
-
|
115
|
+
* @deprecated
|
116
116
|
* @throws {RequiredError}
|
117
117
|
*/
|
118
118
|
searchItemByField: (term, field_type, field_key, exact_match, return_item_ids, start, limit) => __awaiter(this, void 0, void 0, function* () {
|
@@ -133,7 +133,7 @@ const ItemSearchApiAxiosParamCreator = function (configuration) {
|
|
133
133
|
const localVarHeaderParameter = {};
|
134
134
|
const localVarQueryParameter = {};
|
135
135
|
// authentication api_key required
|
136
|
-
yield (0, common_1.setApiKeyToObject)(
|
136
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
137
137
|
// authentication oauth2 required
|
138
138
|
// oauth required
|
139
139
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["search:read"], configuration);
|
@@ -187,7 +187,7 @@ const ItemSearchApiFp = function (configuration) {
|
|
187
187
|
* @param {'deal.cc_email' | 'person.picture' | 'product.price'} [include_fields] A comma-separated string array. Supports including optional fields in the results which are not provided by default.
|
188
188
|
* @param {number} [start] Pagination start. Note that the pagination is based on main results and does not include related items when using `search_for_related_items` parameter.
|
189
189
|
* @param {number} [limit] Items shown per page
|
190
|
-
|
190
|
+
* @deprecated
|
191
191
|
* @throws {RequiredError}
|
192
192
|
*/
|
193
193
|
searchItem(term, item_types, fields, search_for_related_items, exact_match, include_fields, start, limit) {
|
@@ -206,7 +206,7 @@ const ItemSearchApiFp = function (configuration) {
|
|
206
206
|
* @param {boolean} [return_item_ids] Whether to return the IDs of the matching items or not. When not set or set to `0` or `false`, only distinct values of the searched field are returned. When set to `1` or `true`, the ID of each found item is returned.
|
207
207
|
* @param {number} [start] Pagination start
|
208
208
|
* @param {number} [limit] Items shown per page
|
209
|
-
|
209
|
+
* @deprecated
|
210
210
|
* @throws {RequiredError}
|
211
211
|
*/
|
212
212
|
searchItemByField(term, field_type, field_key, exact_match, return_item_ids, start, limit) {
|
@@ -229,7 +229,7 @@ const ItemSearchApiFactory = function (configuration, basePath, axios) {
|
|
229
229
|
* Performs a search from your choice of item types and fields.
|
230
230
|
* @summary Perform a search from multiple item types
|
231
231
|
* @param {ItemSearchApiSearchItemRequest} requestParameters Request parameters.
|
232
|
-
|
232
|
+
* @deprecated
|
233
233
|
* @throws {RequiredError}
|
234
234
|
*/
|
235
235
|
searchItem(requestParameters) {
|
@@ -239,7 +239,7 @@ const ItemSearchApiFactory = function (configuration, basePath, axios) {
|
|
239
239
|
* Performs a search from the values of a specific field. Results can either be the distinct values of the field (useful for searching autocomplete field values), or the IDs of actual items (deals, leads, persons, organizations or products).
|
240
240
|
* @summary Perform a search using a specific field from an item type
|
241
241
|
* @param {ItemSearchApiSearchItemByFieldRequest} requestParameters Request parameters.
|
242
|
-
|
242
|
+
* @deprecated
|
243
243
|
* @throws {RequiredError}
|
244
244
|
*/
|
245
245
|
searchItemByField(requestParameters) {
|
@@ -259,7 +259,7 @@ class ItemSearchApi extends base_1.BaseAPI {
|
|
259
259
|
* Performs a search from your choice of item types and fields.
|
260
260
|
* @summary Perform a search from multiple item types
|
261
261
|
* @param {ItemSearchApiSearchItemRequest} requestParameters Request parameters.
|
262
|
-
|
262
|
+
* @deprecated
|
263
263
|
* @throws {RequiredError}
|
264
264
|
* @memberof ItemSearchApi
|
265
265
|
*/
|
@@ -270,7 +270,7 @@ class ItemSearchApi extends base_1.BaseAPI {
|
|
270
270
|
* Performs a search from the values of a specific field. Results can either be the distinct values of the field (useful for searching autocomplete field values), or the IDs of actual items (deals, leads, persons, organizations or products).
|
271
271
|
* @summary Perform a search using a specific field from an item type
|
272
272
|
* @param {ItemSearchApiSearchItemByFieldRequest} requestParameters Request parameters.
|
273
|
-
|
273
|
+
* @deprecated
|
274
274
|
* @throws {RequiredError}
|
275
275
|
* @memberof ItemSearchApi
|
276
276
|
*/
|
@@ -57,7 +57,7 @@ const LeadLabelsApiAxiosParamCreator = 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", ["leads:full"], configuration);
|
@@ -93,7 +93,7 @@ const LeadLabelsApiAxiosParamCreator = 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", ["leads:full"], configuration);
|
@@ -123,7 +123,7 @@ const LeadLabelsApiAxiosParamCreator = function (configuration) {
|
|
123
123
|
const localVarHeaderParameter = {};
|
124
124
|
const localVarQueryParameter = {};
|
125
125
|
// authentication api_key required
|
126
|
-
yield (0, common_1.setApiKeyToObject)(
|
126
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
127
127
|
// authentication oauth2 required
|
128
128
|
// oauth required
|
129
129
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["leads:read", "leads:full"], configuration);
|
@@ -158,7 +158,7 @@ const LeadLabelsApiAxiosParamCreator = function (configuration) {
|
|
158
158
|
const localVarHeaderParameter = {};
|
159
159
|
const localVarQueryParameter = {};
|
160
160
|
// authentication api_key required
|
161
|
-
yield (0, common_1.setApiKeyToObject)(
|
161
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
162
162
|
// authentication oauth2 required
|
163
163
|
// oauth required
|
164
164
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["leads:full"], configuration);
|
@@ -56,7 +56,7 @@ const LeadSourcesApiAxiosParamCreator = function (configuration) {
|
|
56
56
|
const localVarHeaderParameter = {};
|
57
57
|
const localVarQueryParameter = {};
|
58
58
|
// authentication api_key required
|
59
|
-
yield (0, common_1.setApiKeyToObject)(
|
59
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-api-token", configuration);
|
60
60
|
// authentication oauth2 required
|
61
61
|
// oauth required
|
62
62
|
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["leads:read", "leads:full"], configuration);
|
@@ -40,6 +40,20 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
40
40
|
* @throws {RequiredError}
|
41
41
|
*/
|
42
42
|
deleteLead: (id: string) => Promise<RequestArgs>;
|
43
|
+
/**
|
44
|
+
* Returns multiple archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
45
|
+
* @summary Get all archived leads
|
46
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
|
47
|
+
* @param {number} [start] For pagination, the position that represents the first result for the page
|
48
|
+
* @param {number} [owner_id] If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
49
|
+
* @param {number} [person_id] If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
50
|
+
* @param {number} [organization_id] If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
51
|
+
* @param {number} [filter_id] The ID of the filter to use
|
52
|
+
* @param {'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time'} [sort] The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
53
|
+
|
54
|
+
* @throws {RequiredError}
|
55
|
+
*/
|
56
|
+
getArchivedLeads: (limit?: number, start?: number, owner_id?: number, person_id?: number, organization_id?: number, filter_id?: number, sort?: 'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time') => Promise<RequestArgs>;
|
43
57
|
/**
|
44
58
|
* Returns details of a specific lead. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
45
59
|
* @summary Get one lead
|
@@ -57,11 +71,10 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
57
71
|
*/
|
58
72
|
getLeadUsers: (id: string) => Promise<RequestArgs>;
|
59
73
|
/**
|
60
|
-
* Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
74
|
+
* Returns multiple not archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
61
75
|
* @summary Get all leads
|
62
76
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
|
63
77
|
* @param {number} [start] For pagination, the position that represents the first result for the page
|
64
|
-
* @param {'archived' | 'not_archived' | 'all'} [archived_status] Filtering based on the archived status of a lead. If not provided, `All` is used.
|
65
78
|
* @param {number} [owner_id] If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
66
79
|
* @param {number} [person_id] If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
67
80
|
* @param {number} [organization_id] If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
@@ -70,7 +83,7 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
70
83
|
|
71
84
|
* @throws {RequiredError}
|
72
85
|
*/
|
73
|
-
getLeads: (limit?: number, start?: number,
|
86
|
+
getLeads: (limit?: number, start?: number, owner_id?: number, person_id?: number, organization_id?: number, filter_id?: number, sort?: 'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time') => Promise<RequestArgs>;
|
74
87
|
/**
|
75
88
|
* Searches all leads by title, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found leads can be filtered by the person ID and the organization ID.
|
76
89
|
* @summary Search leads
|
@@ -117,6 +130,20 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
117
130
|
* @throws {RequiredError}
|
118
131
|
*/
|
119
132
|
deleteLead(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadIdResponse>>;
|
133
|
+
/**
|
134
|
+
* Returns multiple archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
135
|
+
* @summary Get all archived leads
|
136
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
|
137
|
+
* @param {number} [start] For pagination, the position that represents the first result for the page
|
138
|
+
* @param {number} [owner_id] If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
139
|
+
* @param {number} [person_id] If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
140
|
+
* @param {number} [organization_id] If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
141
|
+
* @param {number} [filter_id] The ID of the filter to use
|
142
|
+
* @param {'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time'} [sort] The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
143
|
+
|
144
|
+
* @throws {RequiredError}
|
145
|
+
*/
|
146
|
+
getArchivedLeads(limit?: number, start?: number, owner_id?: number, person_id?: number, organization_id?: number, filter_id?: number, sort?: 'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadsResponse>>;
|
120
147
|
/**
|
121
148
|
* Returns details of a specific lead. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
122
149
|
* @summary Get one lead
|
@@ -134,11 +161,10 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
134
161
|
*/
|
135
162
|
getLeadUsers(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UserIds>>;
|
136
163
|
/**
|
137
|
-
* Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
164
|
+
* Returns multiple not archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
138
165
|
* @summary Get all leads
|
139
166
|
* @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
|
140
167
|
* @param {number} [start] For pagination, the position that represents the first result for the page
|
141
|
-
* @param {'archived' | 'not_archived' | 'all'} [archived_status] Filtering based on the archived status of a lead. If not provided, `All` is used.
|
142
168
|
* @param {number} [owner_id] If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
143
169
|
* @param {number} [person_id] If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
144
170
|
* @param {number} [organization_id] If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
@@ -147,7 +173,7 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
147
173
|
|
148
174
|
* @throws {RequiredError}
|
149
175
|
*/
|
150
|
-
getLeads(limit?: number, start?: number,
|
176
|
+
getLeads(limit?: number, start?: number, owner_id?: number, person_id?: number, organization_id?: number, filter_id?: number, sort?: 'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time'): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetLeadsResponse>>;
|
151
177
|
/**
|
152
178
|
* Searches all leads by title, notes and/or custom fields. This endpoint is a wrapper of <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> with a narrower OAuth scope. Found leads can be filtered by the person ID and the organization ID.
|
153
179
|
* @summary Search leads
|
@@ -194,6 +220,14 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
194
220
|
* @throws {RequiredError}
|
195
221
|
*/
|
196
222
|
deleteLead(requestParameters: LeadsApiDeleteLeadRequest): Promise<GetLeadIdResponse>;
|
223
|
+
/**
|
224
|
+
* Returns multiple archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
225
|
+
* @summary Get all archived leads
|
226
|
+
* @param {LeadsApiGetArchivedLeadsRequest} requestParameters Request parameters.
|
227
|
+
|
228
|
+
* @throws {RequiredError}
|
229
|
+
*/
|
230
|
+
getArchivedLeads(requestParameters?: LeadsApiGetArchivedLeadsRequest): Promise<GetLeadsResponse>;
|
197
231
|
/**
|
198
232
|
* Returns details of a specific lead. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
199
233
|
* @summary Get one lead
|
@@ -211,7 +245,7 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
211
245
|
*/
|
212
246
|
getLeadUsers(requestParameters: LeadsApiGetLeadUsersRequest): Promise<UserIds>;
|
213
247
|
/**
|
214
|
-
* Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
248
|
+
* Returns multiple not archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
215
249
|
* @summary Get all leads
|
216
250
|
* @param {LeadsApiGetLeadsRequest} requestParameters Request parameters.
|
217
251
|
|
@@ -261,6 +295,55 @@ export interface LeadsApiDeleteLeadRequest {
|
|
261
295
|
*/
|
262
296
|
readonly id: string;
|
263
297
|
}
|
298
|
+
/**
|
299
|
+
* Request parameters for getArchivedLeads operation in LeadsApi.
|
300
|
+
* @export
|
301
|
+
* @interface LeadsApiGetArchivedLeadsRequest
|
302
|
+
*/
|
303
|
+
export interface LeadsApiGetArchivedLeadsRequest {
|
304
|
+
/**
|
305
|
+
* For pagination, the limit of entries to be returned. If not provided, 100 items will be returned.
|
306
|
+
* @type {number}
|
307
|
+
* @memberof LeadsApiGetArchivedLeads
|
308
|
+
*/
|
309
|
+
readonly limit?: number;
|
310
|
+
/**
|
311
|
+
* For pagination, the position that represents the first result for the page
|
312
|
+
* @type {number}
|
313
|
+
* @memberof LeadsApiGetArchivedLeads
|
314
|
+
*/
|
315
|
+
readonly start?: number;
|
316
|
+
/**
|
317
|
+
* If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
318
|
+
* @type {number}
|
319
|
+
* @memberof LeadsApiGetArchivedLeads
|
320
|
+
*/
|
321
|
+
readonly owner_id?: number;
|
322
|
+
/**
|
323
|
+
* If supplied, only leads matching the given person will be returned. However, `filter_id` takes precedence over `person_id` when supplied.
|
324
|
+
* @type {number}
|
325
|
+
* @memberof LeadsApiGetArchivedLeads
|
326
|
+
*/
|
327
|
+
readonly person_id?: number;
|
328
|
+
/**
|
329
|
+
* If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
330
|
+
* @type {number}
|
331
|
+
* @memberof LeadsApiGetArchivedLeads
|
332
|
+
*/
|
333
|
+
readonly organization_id?: number;
|
334
|
+
/**
|
335
|
+
* The ID of the filter to use
|
336
|
+
* @type {number}
|
337
|
+
* @memberof LeadsApiGetArchivedLeads
|
338
|
+
*/
|
339
|
+
readonly filter_id?: number;
|
340
|
+
/**
|
341
|
+
* The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
342
|
+
* @type {'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time'}
|
343
|
+
* @memberof LeadsApiGetArchivedLeads
|
344
|
+
*/
|
345
|
+
readonly sort?: 'id' | 'title' | 'owner_id' | 'creator_id' | 'was_seen' | 'expected_close_date' | 'next_activity_id' | 'add_time' | 'update_time';
|
346
|
+
}
|
264
347
|
/**
|
265
348
|
* Request parameters for getLead operation in LeadsApi.
|
266
349
|
* @export
|
@@ -305,12 +388,6 @@ export interface LeadsApiGetLeadsRequest {
|
|
305
388
|
* @memberof LeadsApiGetLeads
|
306
389
|
*/
|
307
390
|
readonly start?: number;
|
308
|
-
/**
|
309
|
-
* Filtering based on the archived status of a lead. If not provided, `All` is used.
|
310
|
-
* @type {'archived' | 'not_archived' | 'all'}
|
311
|
-
* @memberof LeadsApiGetLeads
|
312
|
-
*/
|
313
|
-
readonly archived_status?: 'archived' | 'not_archived' | 'all';
|
314
391
|
/**
|
315
392
|
* If supplied, only leads matching the given user will be returned. However, `filter_id` takes precedence over `owner_id` when supplied.
|
316
393
|
* @type {number}
|
@@ -441,6 +518,15 @@ export declare class LeadsApi extends BaseAPI {
|
|
441
518
|
* @memberof LeadsApi
|
442
519
|
*/
|
443
520
|
deleteLead(requestParameters: LeadsApiDeleteLeadRequest): Promise<GetLeadIdResponse>;
|
521
|
+
/**
|
522
|
+
* Returns multiple archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
523
|
+
* @summary Get all archived leads
|
524
|
+
* @param {LeadsApiGetArchivedLeadsRequest} requestParameters Request parameters.
|
525
|
+
|
526
|
+
* @throws {RequiredError}
|
527
|
+
* @memberof LeadsApi
|
528
|
+
*/
|
529
|
+
getArchivedLeads(requestParameters?: LeadsApiGetArchivedLeadsRequest): Promise<GetLeadsResponse>;
|
444
530
|
/**
|
445
531
|
* Returns details of a specific lead. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
446
532
|
* @summary Get one lead
|
@@ -460,7 +546,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
460
546
|
*/
|
461
547
|
getLeadUsers(requestParameters: LeadsApiGetLeadUsersRequest): Promise<UserIds>;
|
462
548
|
/**
|
463
|
-
* Returns multiple leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
549
|
+
* Returns multiple not archived leads. Leads are sorted by the time they were created, from oldest to newest. Pagination can be controlled using `limit` and `start` query parameters. If a lead contains custom fields, the fields\' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field\'s value hasn\'t been set for the lead, it won\'t appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields\' structure from deals.
|
464
550
|
* @summary Get all leads
|
465
551
|
* @param {LeadsApiGetLeadsRequest} requestParameters Request parameters.
|
466
552
|
|