pipedrive 36.0.1 → 36.1.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/activity-fields-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/activity-fields-api.js +25 -0
- package/dist/esm/versions/v1/api/activity-types-api.d.ts +72 -1
- package/dist/esm/versions/v1/api/activity-types-api.js +107 -0
- package/dist/esm/versions/v1/api/billing-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/billing-api.js +25 -0
- package/dist/esm/versions/v1/api/call-logs-api.d.ts +93 -1
- package/dist/esm/versions/v1/api/call-logs-api.js +137 -0
- package/dist/esm/versions/v1/api/channels-api.d.ts +74 -1
- package/dist/esm/versions/v1/api/channels-api.js +109 -0
- package/dist/esm/versions/v1/api/currencies-api.d.ts +19 -1
- package/dist/esm/versions/v1/api/currencies-api.js +27 -0
- package/dist/esm/versions/v1/api/deal-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/deal-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/deals-api.d.ts +399 -1
- package/dist/esm/versions/v1/api/deals-api.js +569 -0
- package/dist/esm/versions/v1/api/files-api.d.ts +163 -1
- package/dist/esm/versions/v1/api/files-api.js +234 -0
- package/dist/esm/versions/v1/api/filters-api.d.ts +129 -1
- package/dist/esm/versions/v1/api/filters-api.js +191 -0
- package/dist/esm/versions/v1/api/goals-api.d.ts +106 -1
- package/dist/esm/versions/v1/api/goals-api.js +150 -0
- package/dist/esm/versions/v1/api/lead-fields-api.d.ts +20 -1
- package/dist/esm/versions/v1/api/lead-fields-api.js +28 -0
- package/dist/esm/versions/v1/api/lead-labels-api.d.ts +72 -1
- package/dist/esm/versions/v1/api/lead-labels-api.js +107 -0
- package/dist/esm/versions/v1/api/lead-sources-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/lead-sources-api.js +25 -0
- package/dist/esm/versions/v1/api/leads-api.d.ts +166 -1
- package/dist/esm/versions/v1/api/leads-api.js +237 -0
- package/dist/esm/versions/v1/api/legacy-teams-api.d.ts +152 -1
- package/dist/esm/versions/v1/api/legacy-teams-api.js +223 -0
- package/dist/esm/versions/v1/api/mailbox-api.d.ts +117 -1
- package/dist/esm/versions/v1/api/mailbox-api.js +170 -0
- package/dist/esm/versions/v1/api/meetings-api.d.ts +37 -1
- package/dist/esm/versions/v1/api/meetings-api.js +54 -0
- package/dist/esm/versions/v1/api/note-fields-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/note-fields-api.js +25 -0
- package/dist/esm/versions/v1/api/notes-api.d.ts +207 -1
- package/dist/esm/versions/v1/api/notes-api.js +296 -0
- package/dist/esm/versions/v1/api/organization-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/organization-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/organization-relationships-api.d.ts +93 -1
- package/dist/esm/versions/v1/api/organization-relationships-api.js +137 -0
- package/dist/esm/versions/v1/api/organizations-api.d.ts +178 -1
- package/dist/esm/versions/v1/api/organizations-api.js +258 -0
- package/dist/esm/versions/v1/api/permission-sets-api.d.ts +57 -1
- package/dist/esm/versions/v1/api/permission-sets-api.js +83 -0
- package/dist/esm/versions/v1/api/person-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/person-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/persons-api.d.ts +275 -37
- package/dist/esm/versions/v1/api/persons-api.js +370 -24
- package/dist/esm/versions/v1/api/pipelines-api.d.ts +69 -1
- package/dist/esm/versions/v1/api/pipelines-api.js +95 -0
- package/dist/esm/versions/v1/api/product-fields-api.d.ts +111 -1
- package/dist/esm/versions/v1/api/product-fields-api.js +164 -0
- package/dist/esm/versions/v1/api/products-api.d.ts +119 -1
- package/dist/esm/versions/v1/api/products-api.js +172 -0
- package/dist/esm/versions/v1/api/project-boards-api.d.ts +35 -1
- package/dist/esm/versions/v1/api/project-boards-api.js +52 -0
- package/dist/esm/versions/v1/api/project-phases-api.d.ts +37 -1
- package/dist/esm/versions/v1/api/project-phases-api.js +54 -0
- package/dist/esm/versions/v1/api/project-templates-api.d.ts +38 -1
- package/dist/esm/versions/v1/api/project-templates-api.js +55 -0
- package/dist/esm/versions/v1/api/projects-api.d.ts +227 -1
- package/dist/esm/versions/v1/api/projects-api.js +334 -0
- package/dist/esm/versions/v1/api/recents-api.d.ts +22 -1
- package/dist/esm/versions/v1/api/recents-api.js +30 -0
- package/dist/esm/versions/v1/api/roles-api.d.ts +226 -1
- package/dist/esm/versions/v1/api/roles-api.js +333 -0
- package/dist/esm/versions/v1/api/stages-api.d.ts +24 -1
- package/dist/esm/versions/v1/api/stages-api.js +32 -0
- package/dist/esm/versions/v1/api/tasks-api.d.ts +97 -1
- package/dist/esm/versions/v1/api/tasks-api.js +141 -0
- package/dist/esm/versions/v1/api/user-connections-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/user-connections-api.js +25 -0
- package/dist/esm/versions/v1/api/user-settings-api.d.ts +17 -1
- package/dist/esm/versions/v1/api/user-settings-api.js +25 -0
- package/dist/esm/versions/v1/api/users-api.d.ts +181 -1
- package/dist/esm/versions/v1/api/users-api.js +270 -0
- package/dist/esm/versions/v1/api/webhooks-api.d.ts +53 -1
- package/dist/esm/versions/v1/api/webhooks-api.js +79 -0
- package/dist/esm/versions/v1/base.d.ts +17 -0
- package/dist/esm/versions/v1/base.js +22 -0
- package/dist/esm/versions/v1/common.d.ts +1 -1
- package/dist/esm/versions/v1/common.js +7 -4
- package/dist/esm/versions/v2/api/activities-api.d.ts +107 -1
- package/dist/esm/versions/v2/api/activities-api.js +151 -0
- package/dist/esm/versions/v2/api/activity-fields-api.d.ts +40 -1
- package/dist/esm/versions/v2/api/activity-fields-api.js +57 -0
- package/dist/esm/versions/v2/api/beta-api.d.ts +451 -1
- package/dist/esm/versions/v2/api/beta-api.js +666 -0
- package/dist/esm/versions/v2/api/deal-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/deal-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/deal-installments-api.d.ts +81 -1
- package/dist/esm/versions/v2/api/deal-installments-api.js +116 -0
- package/dist/esm/versions/v2/api/deal-products-api.d.ts +141 -1
- package/dist/esm/versions/v2/api/deal-products-api.js +203 -0
- package/dist/esm/versions/v2/api/deals-api.d.ts +363 -1
- package/dist/esm/versions/v2/api/deals-api.js +516 -1
- package/dist/esm/versions/v2/api/item-search-api.d.ts +49 -1
- package/dist/esm/versions/v2/api/item-search-api.js +66 -0
- package/dist/esm/versions/v2/api/leads-api.d.ts +64 -1
- package/dist/esm/versions/v2/api/leads-api.js +90 -0
- package/dist/esm/versions/v2/api/organization-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/organization-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/organizations-api.d.ts +208 -1
- package/dist/esm/versions/v2/api/organizations-api.js +297 -0
- package/dist/esm/versions/v2/api/person-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/person-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/persons-api.d.ts +230 -1
- package/dist/esm/versions/v2/api/persons-api.js +328 -0
- package/dist/esm/versions/v2/api/pipelines-api.d.ts +95 -1
- package/dist/esm/versions/v2/api/pipelines-api.js +139 -0
- package/dist/esm/versions/v2/api/product-fields-api.d.ts +152 -1
- package/dist/esm/versions/v2/api/product-fields-api.js +223 -0
- package/dist/esm/versions/v2/api/products-api.d.ts +371 -1
- package/dist/esm/versions/v2/api/products-api.js +541 -0
- package/dist/esm/versions/v2/api/project-boards-api.d.ts +90 -1
- package/dist/esm/versions/v2/api/project-boards-api.js +134 -0
- package/dist/esm/versions/v2/api/project-fields-api.d.ts +150 -1
- package/dist/esm/versions/v2/api/project-fields-api.js +221 -0
- package/dist/esm/versions/v2/api/project-phases-api.d.ts +92 -1
- package/dist/esm/versions/v2/api/project-phases-api.js +136 -0
- package/dist/esm/versions/v2/api/project-templates-api.d.ts +38 -1
- package/dist/esm/versions/v2/api/project-templates-api.js +55 -0
- package/dist/esm/versions/v2/api/projects-api.d.ts +201 -1
- package/dist/esm/versions/v2/api/projects-api.js +290 -0
- package/dist/esm/versions/v2/api/stages-api.d.ts +96 -1
- package/dist/esm/versions/v2/api/stages-api.js +140 -0
- package/dist/esm/versions/v2/api/tasks-api.d.ts +98 -1
- package/dist/esm/versions/v2/api/tasks-api.js +142 -0
- package/dist/esm/versions/v2/api/users-api.d.ts +21 -1
- package/dist/esm/versions/v2/api/users-api.js +29 -0
- package/dist/esm/versions/v2/base.d.ts +17 -0
- package/dist/esm/versions/v2/base.js +22 -0
- package/dist/esm/versions/v2/common.d.ts +1 -1
- package/dist/esm/versions/v2/common.js +7 -4
- package/dist/versions/v1/api/activity-fields-api.d.ts +17 -1
- package/dist/versions/v1/api/activity-fields-api.js +25 -0
- package/dist/versions/v1/api/activity-types-api.d.ts +72 -1
- package/dist/versions/v1/api/activity-types-api.js +107 -0
- package/dist/versions/v1/api/billing-api.d.ts +17 -1
- package/dist/versions/v1/api/billing-api.js +25 -0
- package/dist/versions/v1/api/call-logs-api.d.ts +93 -1
- package/dist/versions/v1/api/call-logs-api.js +137 -0
- package/dist/versions/v1/api/channels-api.d.ts +74 -1
- package/dist/versions/v1/api/channels-api.js +109 -0
- package/dist/versions/v1/api/currencies-api.d.ts +19 -1
- package/dist/versions/v1/api/currencies-api.js +27 -0
- package/dist/versions/v1/api/deal-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/deal-fields-api.js +164 -0
- package/dist/versions/v1/api/deals-api.d.ts +399 -1
- package/dist/versions/v1/api/deals-api.js +569 -0
- package/dist/versions/v1/api/files-api.d.ts +163 -1
- package/dist/versions/v1/api/files-api.js +234 -0
- package/dist/versions/v1/api/filters-api.d.ts +129 -1
- package/dist/versions/v1/api/filters-api.js +191 -0
- package/dist/versions/v1/api/goals-api.d.ts +106 -1
- package/dist/versions/v1/api/goals-api.js +150 -0
- package/dist/versions/v1/api/lead-fields-api.d.ts +20 -1
- package/dist/versions/v1/api/lead-fields-api.js +28 -0
- package/dist/versions/v1/api/lead-labels-api.d.ts +72 -1
- package/dist/versions/v1/api/lead-labels-api.js +107 -0
- package/dist/versions/v1/api/lead-sources-api.d.ts +17 -1
- package/dist/versions/v1/api/lead-sources-api.js +25 -0
- package/dist/versions/v1/api/leads-api.d.ts +166 -1
- package/dist/versions/v1/api/leads-api.js +237 -0
- package/dist/versions/v1/api/legacy-teams-api.d.ts +152 -1
- package/dist/versions/v1/api/legacy-teams-api.js +223 -0
- package/dist/versions/v1/api/mailbox-api.d.ts +117 -1
- package/dist/versions/v1/api/mailbox-api.js +170 -0
- package/dist/versions/v1/api/meetings-api.d.ts +37 -1
- package/dist/versions/v1/api/meetings-api.js +54 -0
- package/dist/versions/v1/api/note-fields-api.d.ts +17 -1
- package/dist/versions/v1/api/note-fields-api.js +25 -0
- package/dist/versions/v1/api/notes-api.d.ts +207 -1
- package/dist/versions/v1/api/notes-api.js +296 -0
- package/dist/versions/v1/api/organization-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/organization-fields-api.js +164 -0
- package/dist/versions/v1/api/organization-relationships-api.d.ts +93 -1
- package/dist/versions/v1/api/organization-relationships-api.js +137 -0
- package/dist/versions/v1/api/organizations-api.d.ts +178 -1
- package/dist/versions/v1/api/organizations-api.js +258 -0
- package/dist/versions/v1/api/permission-sets-api.d.ts +57 -1
- package/dist/versions/v1/api/permission-sets-api.js +83 -0
- package/dist/versions/v1/api/person-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/person-fields-api.js +164 -0
- package/dist/versions/v1/api/persons-api.d.ts +275 -37
- package/dist/versions/v1/api/persons-api.js +370 -24
- package/dist/versions/v1/api/pipelines-api.d.ts +69 -1
- package/dist/versions/v1/api/pipelines-api.js +95 -0
- package/dist/versions/v1/api/product-fields-api.d.ts +111 -1
- package/dist/versions/v1/api/product-fields-api.js +164 -0
- package/dist/versions/v1/api/products-api.d.ts +119 -1
- package/dist/versions/v1/api/products-api.js +172 -0
- package/dist/versions/v1/api/project-boards-api.d.ts +35 -1
- package/dist/versions/v1/api/project-boards-api.js +52 -0
- package/dist/versions/v1/api/project-phases-api.d.ts +37 -1
- package/dist/versions/v1/api/project-phases-api.js +54 -0
- package/dist/versions/v1/api/project-templates-api.d.ts +38 -1
- package/dist/versions/v1/api/project-templates-api.js +55 -0
- package/dist/versions/v1/api/projects-api.d.ts +227 -1
- package/dist/versions/v1/api/projects-api.js +334 -0
- package/dist/versions/v1/api/recents-api.d.ts +22 -1
- package/dist/versions/v1/api/recents-api.js +30 -0
- package/dist/versions/v1/api/roles-api.d.ts +226 -1
- package/dist/versions/v1/api/roles-api.js +333 -0
- package/dist/versions/v1/api/stages-api.d.ts +24 -1
- package/dist/versions/v1/api/stages-api.js +32 -0
- package/dist/versions/v1/api/tasks-api.d.ts +97 -1
- package/dist/versions/v1/api/tasks-api.js +141 -0
- package/dist/versions/v1/api/user-connections-api.d.ts +17 -1
- package/dist/versions/v1/api/user-connections-api.js +25 -0
- package/dist/versions/v1/api/user-settings-api.d.ts +17 -1
- package/dist/versions/v1/api/user-settings-api.js +25 -0
- package/dist/versions/v1/api/users-api.d.ts +181 -1
- package/dist/versions/v1/api/users-api.js +270 -0
- package/dist/versions/v1/api/webhooks-api.d.ts +53 -1
- package/dist/versions/v1/api/webhooks-api.js +79 -0
- package/dist/versions/v1/base.d.ts +17 -0
- package/dist/versions/v1/base.js +24 -1
- package/dist/versions/v1/common.d.ts +1 -1
- package/dist/versions/v1/common.js +6 -3
- package/dist/versions/v2/api/activities-api.d.ts +107 -1
- package/dist/versions/v2/api/activities-api.js +151 -0
- package/dist/versions/v2/api/activity-fields-api.d.ts +40 -1
- package/dist/versions/v2/api/activity-fields-api.js +57 -0
- package/dist/versions/v2/api/beta-api.d.ts +451 -1
- package/dist/versions/v2/api/beta-api.js +666 -0
- package/dist/versions/v2/api/deal-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/deal-fields-api.js +223 -0
- package/dist/versions/v2/api/deal-installments-api.d.ts +81 -1
- package/dist/versions/v2/api/deal-installments-api.js +116 -0
- package/dist/versions/v2/api/deal-products-api.d.ts +141 -1
- package/dist/versions/v2/api/deal-products-api.js +203 -0
- package/dist/versions/v2/api/deals-api.d.ts +363 -1
- package/dist/versions/v2/api/deals-api.js +516 -1
- package/dist/versions/v2/api/item-search-api.d.ts +49 -1
- package/dist/versions/v2/api/item-search-api.js +66 -0
- package/dist/versions/v2/api/leads-api.d.ts +64 -1
- package/dist/versions/v2/api/leads-api.js +90 -0
- package/dist/versions/v2/api/organization-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/organization-fields-api.js +223 -0
- package/dist/versions/v2/api/organizations-api.d.ts +208 -1
- package/dist/versions/v2/api/organizations-api.js +297 -0
- package/dist/versions/v2/api/person-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/person-fields-api.js +223 -0
- package/dist/versions/v2/api/persons-api.d.ts +230 -1
- package/dist/versions/v2/api/persons-api.js +328 -0
- package/dist/versions/v2/api/pipelines-api.d.ts +95 -1
- package/dist/versions/v2/api/pipelines-api.js +139 -0
- package/dist/versions/v2/api/product-fields-api.d.ts +152 -1
- package/dist/versions/v2/api/product-fields-api.js +223 -0
- package/dist/versions/v2/api/products-api.d.ts +371 -1
- package/dist/versions/v2/api/products-api.js +541 -0
- package/dist/versions/v2/api/project-boards-api.d.ts +90 -1
- package/dist/versions/v2/api/project-boards-api.js +134 -0
- package/dist/versions/v2/api/project-fields-api.d.ts +150 -1
- package/dist/versions/v2/api/project-fields-api.js +221 -0
- package/dist/versions/v2/api/project-phases-api.d.ts +92 -1
- package/dist/versions/v2/api/project-phases-api.js +136 -0
- package/dist/versions/v2/api/project-templates-api.d.ts +38 -1
- package/dist/versions/v2/api/project-templates-api.js +55 -0
- package/dist/versions/v2/api/projects-api.d.ts +201 -1
- package/dist/versions/v2/api/projects-api.js +290 -0
- package/dist/versions/v2/api/stages-api.d.ts +96 -1
- package/dist/versions/v2/api/stages-api.js +140 -0
- package/dist/versions/v2/api/tasks-api.d.ts +98 -1
- package/dist/versions/v2/api/tasks-api.js +142 -0
- package/dist/versions/v2/api/users-api.d.ts +21 -1
- package/dist/versions/v2/api/users-api.js +29 -0
- package/dist/versions/v2/base.d.ts +17 -0
- package/dist/versions/v2/base.js +24 -1
- package/dist/versions/v2/common.d.ts +1 -1
- package/dist/versions/v2/common.js +6 -3
- package/package.json +1 -1
|
@@ -243,6 +243,19 @@ const CallLogsApiFp = function (configuration) {
|
|
|
243
243
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
244
244
|
});
|
|
245
245
|
},
|
|
246
|
+
/**
|
|
247
|
+
* Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
248
|
+
* @summary Add a call log
|
|
249
|
+
* @param {AddCallLogRequest} [AddCallLogRequest]
|
|
250
|
+
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
addCallLogWithHttpInfo(AddCallLogRequest) {
|
|
254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addCallLog(AddCallLogRequest);
|
|
256
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
257
|
+
});
|
|
258
|
+
},
|
|
246
259
|
/**
|
|
247
260
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
248
261
|
* @summary Attach an audio file to the call log
|
|
@@ -257,6 +270,20 @@ const CallLogsApiFp = function (configuration) {
|
|
|
257
270
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
258
271
|
});
|
|
259
272
|
},
|
|
273
|
+
/**
|
|
274
|
+
* Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
|
|
275
|
+
* @summary Attach an audio file to the call log
|
|
276
|
+
* @param {string} id The ID received when you create the call log
|
|
277
|
+
* @param {File} file Audio file supported by the HTML5 specification
|
|
278
|
+
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
addCallLogAudioFileWithHttpInfo(id, file) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addCallLogAudioFile(id, file);
|
|
284
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
285
|
+
});
|
|
286
|
+
},
|
|
260
287
|
/**
|
|
261
288
|
* Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
|
|
262
289
|
* @summary Delete a call log
|
|
@@ -270,6 +297,19 @@ const CallLogsApiFp = function (configuration) {
|
|
|
270
297
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
271
298
|
});
|
|
272
299
|
},
|
|
300
|
+
/**
|
|
301
|
+
* Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
302
|
+
* @summary Delete a call log
|
|
303
|
+
* @param {string} id The ID received when you create the call log
|
|
304
|
+
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
deleteCallLogWithHttpInfo(id) {
|
|
308
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCallLog(id);
|
|
310
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
311
|
+
});
|
|
312
|
+
},
|
|
273
313
|
/**
|
|
274
314
|
* Returns details of a specific call log.
|
|
275
315
|
* @summary Get details of a call log
|
|
@@ -283,6 +323,19 @@ const CallLogsApiFp = function (configuration) {
|
|
|
283
323
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
284
324
|
});
|
|
285
325
|
},
|
|
326
|
+
/**
|
|
327
|
+
* Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
328
|
+
* @summary Get details of a call log
|
|
329
|
+
* @param {string} id The ID received when you create the call log
|
|
330
|
+
|
|
331
|
+
* @throws {RequiredError}
|
|
332
|
+
*/
|
|
333
|
+
getCallLogWithHttpInfo(id) {
|
|
334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCallLog(id);
|
|
336
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
337
|
+
});
|
|
338
|
+
},
|
|
286
339
|
/**
|
|
287
340
|
* Returns all call logs assigned to a particular user.
|
|
288
341
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -297,6 +350,20 @@ const CallLogsApiFp = function (configuration) {
|
|
|
297
350
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
298
351
|
});
|
|
299
352
|
},
|
|
353
|
+
/**
|
|
354
|
+
* Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
|
|
355
|
+
* @summary Get all call logs assigned to a particular user
|
|
356
|
+
* @param {number} [start] Pagination start
|
|
357
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. The upper limit is 50.
|
|
358
|
+
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
getUserCallLogsWithHttpInfo(start, limit) {
|
|
362
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getUserCallLogs(start, limit);
|
|
364
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
365
|
+
});
|
|
366
|
+
},
|
|
300
367
|
};
|
|
301
368
|
};
|
|
302
369
|
exports.CallLogsApiFp = CallLogsApiFp;
|
|
@@ -317,6 +384,9 @@ const CallLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
317
384
|
addCallLog(requestParameters = {}) {
|
|
318
385
|
return localVarFp.addCallLog(requestParameters.AddCallLogRequest).then((request) => request(axios, basePath));
|
|
319
386
|
},
|
|
387
|
+
addCallLogWithHttpInfo(requestParameters = {}) {
|
|
388
|
+
return localVarFp.addCallLogWithHttpInfo(requestParameters.AddCallLogRequest).then((request) => request(axios, basePath));
|
|
389
|
+
},
|
|
320
390
|
/**
|
|
321
391
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
322
392
|
* @summary Attach an audio file to the call log
|
|
@@ -327,6 +397,9 @@ const CallLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
327
397
|
addCallLogAudioFile(requestParameters) {
|
|
328
398
|
return localVarFp.addCallLogAudioFile(requestParameters.id, requestParameters.file).then((request) => request(axios, basePath));
|
|
329
399
|
},
|
|
400
|
+
addCallLogAudioFileWithHttpInfo(requestParameters) {
|
|
401
|
+
return localVarFp.addCallLogAudioFileWithHttpInfo(requestParameters.id, requestParameters.file).then((request) => request(axios, basePath));
|
|
402
|
+
},
|
|
330
403
|
/**
|
|
331
404
|
* Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
|
|
332
405
|
* @summary Delete a call log
|
|
@@ -337,6 +410,9 @@ const CallLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
337
410
|
deleteCallLog(requestParameters) {
|
|
338
411
|
return localVarFp.deleteCallLog(requestParameters.id).then((request) => request(axios, basePath));
|
|
339
412
|
},
|
|
413
|
+
deleteCallLogWithHttpInfo(requestParameters) {
|
|
414
|
+
return localVarFp.deleteCallLogWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
415
|
+
},
|
|
340
416
|
/**
|
|
341
417
|
* Returns details of a specific call log.
|
|
342
418
|
* @summary Get details of a call log
|
|
@@ -347,6 +423,9 @@ const CallLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
347
423
|
getCallLog(requestParameters) {
|
|
348
424
|
return localVarFp.getCallLog(requestParameters.id).then((request) => request(axios, basePath));
|
|
349
425
|
},
|
|
426
|
+
getCallLogWithHttpInfo(requestParameters) {
|
|
427
|
+
return localVarFp.getCallLogWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
428
|
+
},
|
|
350
429
|
/**
|
|
351
430
|
* Returns all call logs assigned to a particular user.
|
|
352
431
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -357,6 +436,9 @@ const CallLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
357
436
|
getUserCallLogs(requestParameters = {}) {
|
|
358
437
|
return localVarFp.getUserCallLogs(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
359
438
|
},
|
|
439
|
+
getUserCallLogsWithHttpInfo(requestParameters = {}) {
|
|
440
|
+
return localVarFp.getUserCallLogsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
441
|
+
},
|
|
360
442
|
};
|
|
361
443
|
};
|
|
362
444
|
exports.CallLogsApiFactory = CallLogsApiFactory;
|
|
@@ -378,6 +460,17 @@ class CallLogsApi extends base_1.BaseAPI {
|
|
|
378
460
|
addCallLog(requestParameters = {}) {
|
|
379
461
|
return (0, exports.CallLogsApiFp)(this.configuration).addCallLog(requestParameters.AddCallLogRequest).then((request) => request(this.axios, this.basePath));
|
|
380
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
465
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
466
|
+
* @param {CallLogsApiAddCallLogRequest} requestParameters Request parameters.
|
|
467
|
+
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
* @memberof CallLogsApi
|
|
470
|
+
*/
|
|
471
|
+
addCallLogWithHttpInfo(requestParameters = {}) {
|
|
472
|
+
return (0, exports.CallLogsApiFp)(this.configuration).addCallLogWithHttpInfo(requestParameters.AddCallLogRequest).then((request) => request(this.axios, this.basePath));
|
|
473
|
+
}
|
|
381
474
|
/**
|
|
382
475
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
383
476
|
* @summary Attach an audio file to the call log
|
|
@@ -389,6 +482,17 @@ class CallLogsApi extends base_1.BaseAPI {
|
|
|
389
482
|
addCallLogAudioFile(requestParameters) {
|
|
390
483
|
return (0, exports.CallLogsApiFp)(this.configuration).addCallLogAudioFile(requestParameters.id, requestParameters.file).then((request) => request(this.axios, this.basePath));
|
|
391
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
|
|
487
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
488
|
+
* @param {CallLogsApiAddCallLogAudioFileRequest} requestParameters Request parameters.
|
|
489
|
+
|
|
490
|
+
* @throws {RequiredError}
|
|
491
|
+
* @memberof CallLogsApi
|
|
492
|
+
*/
|
|
493
|
+
addCallLogAudioFileWithHttpInfo(requestParameters) {
|
|
494
|
+
return (0, exports.CallLogsApiFp)(this.configuration).addCallLogAudioFileWithHttpInfo(requestParameters.id, requestParameters.file).then((request) => request(this.axios, this.basePath));
|
|
495
|
+
}
|
|
392
496
|
/**
|
|
393
497
|
* Deletes a call log. If there is an audio recording attached to it, it will also be deleted. The related activity will not be removed by this request. If you want to remove the related activities, please use the endpoint which is specific for activities.
|
|
394
498
|
* @summary Delete a call log
|
|
@@ -400,6 +504,17 @@ class CallLogsApi extends base_1.BaseAPI {
|
|
|
400
504
|
deleteCallLog(requestParameters) {
|
|
401
505
|
return (0, exports.CallLogsApiFp)(this.configuration).deleteCallLog(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
402
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
509
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
510
|
+
* @param {CallLogsApiDeleteCallLogRequest} requestParameters Request parameters.
|
|
511
|
+
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
* @memberof CallLogsApi
|
|
514
|
+
*/
|
|
515
|
+
deleteCallLogWithHttpInfo(requestParameters) {
|
|
516
|
+
return (0, exports.CallLogsApiFp)(this.configuration).deleteCallLogWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
517
|
+
}
|
|
403
518
|
/**
|
|
404
519
|
* Returns details of a specific call log.
|
|
405
520
|
* @summary Get details of a call log
|
|
@@ -411,6 +526,17 @@ class CallLogsApi extends base_1.BaseAPI {
|
|
|
411
526
|
getCallLog(requestParameters) {
|
|
412
527
|
return (0, exports.CallLogsApiFp)(this.configuration).getCallLog(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
413
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
531
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
532
|
+
* @param {CallLogsApiGetCallLogRequest} requestParameters Request parameters.
|
|
533
|
+
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
* @memberof CallLogsApi
|
|
536
|
+
*/
|
|
537
|
+
getCallLogWithHttpInfo(requestParameters) {
|
|
538
|
+
return (0, exports.CallLogsApiFp)(this.configuration).getCallLogWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
539
|
+
}
|
|
414
540
|
/**
|
|
415
541
|
* Returns all call logs assigned to a particular user.
|
|
416
542
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -422,5 +548,16 @@ class CallLogsApi extends base_1.BaseAPI {
|
|
|
422
548
|
getUserCallLogs(requestParameters = {}) {
|
|
423
549
|
return (0, exports.CallLogsApiFp)(this.configuration).getUserCallLogs(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
424
550
|
}
|
|
551
|
+
/**
|
|
552
|
+
* Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
|
|
553
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
554
|
+
* @param {CallLogsApiGetUserCallLogsRequest} requestParameters Request parameters.
|
|
555
|
+
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
* @memberof CallLogsApi
|
|
558
|
+
*/
|
|
559
|
+
getUserCallLogsWithHttpInfo(requestParameters = {}) {
|
|
560
|
+
return (0, exports.CallLogsApiFp)(this.configuration).getUserCallLogsWithHttpInfo(requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
561
|
+
}
|
|
425
562
|
}
|
|
426
563
|
exports.CallLogsApi = CallLogsApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { AddChannelRequest } from '../models';
|
|
16
16
|
import { AddChannelResponse } from '../models';
|
|
17
17
|
import { DeleteChannel200Response } from '../models';
|
|
@@ -69,6 +69,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
71
|
addChannel(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AddChannelResponse>>;
|
|
72
|
+
/**
|
|
73
|
+
* Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
74
|
+
* @summary Add a channel
|
|
75
|
+
* @param {AddChannelRequest} [AddChannelRequest]
|
|
76
|
+
* @deprecated
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
addChannelWithHttpInfo(AddChannelRequest?: AddChannelRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<AddChannelResponse>>>;
|
|
72
80
|
/**
|
|
73
81
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
74
82
|
* @summary Delete a channel
|
|
@@ -77,6 +85,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
77
85
|
* @throws {RequiredError}
|
|
78
86
|
*/
|
|
79
87
|
deleteChannel(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
|
|
88
|
+
/**
|
|
89
|
+
* Same as `deleteChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
90
|
+
* @summary Delete a channel
|
|
91
|
+
* @param {string} id The ID of the channel provided by the integration
|
|
92
|
+
* @deprecated
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
deleteChannelWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteChannel200Response>>>;
|
|
80
96
|
/**
|
|
81
97
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
82
98
|
* @summary Delete a conversation
|
|
@@ -86,6 +102,15 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
86
102
|
* @throws {RequiredError}
|
|
87
103
|
*/
|
|
88
104
|
deleteConversation(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<DeleteChannel200Response>>;
|
|
105
|
+
/**
|
|
106
|
+
* Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
|
|
107
|
+
* @summary Delete a conversation
|
|
108
|
+
* @param {string} channel_id The ID of the channel provided by the integration
|
|
109
|
+
* @param {string} conversation_id The ID of the conversation provided by the integration
|
|
110
|
+
* @deprecated
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
*/
|
|
113
|
+
deleteConversationWithHttpInfo(channel_id: string, conversation_id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<DeleteChannel200Response>>>;
|
|
89
114
|
/**
|
|
90
115
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
91
116
|
* @summary Receives an incoming message
|
|
@@ -94,6 +119,14 @@ export declare const ChannelsApiFp: (configuration?: Configuration) => {
|
|
|
94
119
|
* @throws {RequiredError}
|
|
95
120
|
*/
|
|
96
121
|
receiveMessage(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetReceiveMessageSuccessResponse>>;
|
|
122
|
+
/**
|
|
123
|
+
* Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
124
|
+
* @summary Receives an incoming message
|
|
125
|
+
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]
|
|
126
|
+
* @deprecated
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
receiveMessageWithHttpInfo(ReceiveMessageRequest?: ReceiveMessageRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetReceiveMessageSuccessResponse>>>;
|
|
97
130
|
};
|
|
98
131
|
/**
|
|
99
132
|
* ChannelsApi - factory interface
|
|
@@ -108,6 +141,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
|
|
|
108
141
|
* @throws {RequiredError}
|
|
109
142
|
*/
|
|
110
143
|
addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
|
|
144
|
+
addChannelWithHttpInfo(requestParameters?: ChannelsApiAddChannelRequest): Promise<ApiResponse<AddChannelResponse>>;
|
|
111
145
|
/**
|
|
112
146
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
113
147
|
* @summary Delete a channel
|
|
@@ -116,6 +150,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
|
|
|
116
150
|
* @throws {RequiredError}
|
|
117
151
|
*/
|
|
118
152
|
deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
|
|
153
|
+
deleteChannelWithHttpInfo(requestParameters: ChannelsApiDeleteChannelRequest): Promise<ApiResponse<DeleteChannel200Response>>;
|
|
119
154
|
/**
|
|
120
155
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
121
156
|
* @summary Delete a conversation
|
|
@@ -124,6 +159,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
|
|
|
124
159
|
* @throws {RequiredError}
|
|
125
160
|
*/
|
|
126
161
|
deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
|
|
162
|
+
deleteConversationWithHttpInfo(requestParameters: ChannelsApiDeleteConversationRequest): Promise<ApiResponse<DeleteChannel200Response>>;
|
|
127
163
|
/**
|
|
128
164
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
129
165
|
* @summary Receives an incoming message
|
|
@@ -132,6 +168,7 @@ export declare const ChannelsApiFactory: (configuration?: Configuration, basePat
|
|
|
132
168
|
* @throws {RequiredError}
|
|
133
169
|
*/
|
|
134
170
|
receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
|
|
171
|
+
receiveMessageWithHttpInfo(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<ApiResponse<GetReceiveMessageSuccessResponse>>;
|
|
135
172
|
};
|
|
136
173
|
/**
|
|
137
174
|
* Request parameters for addChannel operation in ChannelsApi.
|
|
@@ -207,6 +244,15 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
207
244
|
* @memberof ChannelsApi
|
|
208
245
|
*/
|
|
209
246
|
addChannel(requestParameters?: ChannelsApiAddChannelRequest): Promise<AddChannelResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
249
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
250
|
+
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
|
|
251
|
+
* @deprecated
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
* @memberof ChannelsApi
|
|
254
|
+
*/
|
|
255
|
+
addChannelWithHttpInfo(requestParameters?: ChannelsApiAddChannelRequest): Promise<ApiResponse<AddChannelResponse>>;
|
|
210
256
|
/**
|
|
211
257
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
212
258
|
* @summary Delete a channel
|
|
@@ -216,6 +262,15 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
216
262
|
* @memberof ChannelsApi
|
|
217
263
|
*/
|
|
218
264
|
deleteChannel(requestParameters: ChannelsApiDeleteChannelRequest): Promise<DeleteChannel200Response>;
|
|
265
|
+
/**
|
|
266
|
+
* Same as `deleteChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
267
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
268
|
+
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
|
|
269
|
+
* @deprecated
|
|
270
|
+
* @throws {RequiredError}
|
|
271
|
+
* @memberof ChannelsApi
|
|
272
|
+
*/
|
|
273
|
+
deleteChannelWithHttpInfo(requestParameters: ChannelsApiDeleteChannelRequest): Promise<ApiResponse<DeleteChannel200Response>>;
|
|
219
274
|
/**
|
|
220
275
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
221
276
|
* @summary Delete a conversation
|
|
@@ -225,6 +280,15 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
225
280
|
* @memberof ChannelsApi
|
|
226
281
|
*/
|
|
227
282
|
deleteConversation(requestParameters: ChannelsApiDeleteConversationRequest): Promise<DeleteChannel200Response>;
|
|
283
|
+
/**
|
|
284
|
+
* Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
|
|
285
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
286
|
+
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
|
|
287
|
+
* @deprecated
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
* @memberof ChannelsApi
|
|
290
|
+
*/
|
|
291
|
+
deleteConversationWithHttpInfo(requestParameters: ChannelsApiDeleteConversationRequest): Promise<ApiResponse<DeleteChannel200Response>>;
|
|
228
292
|
/**
|
|
229
293
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
230
294
|
* @summary Receives an incoming message
|
|
@@ -234,4 +298,13 @@ export declare class ChannelsApi extends BaseAPI {
|
|
|
234
298
|
* @memberof ChannelsApi
|
|
235
299
|
*/
|
|
236
300
|
receiveMessage(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<GetReceiveMessageSuccessResponse>;
|
|
301
|
+
/**
|
|
302
|
+
* Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
303
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
304
|
+
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
|
|
305
|
+
* @deprecated
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
* @memberof ChannelsApi
|
|
308
|
+
*/
|
|
309
|
+
receiveMessageWithHttpInfo(requestParameters?: ChannelsApiReceiveMessageRequest): Promise<ApiResponse<GetReceiveMessageSuccessResponse>>;
|
|
237
310
|
}
|
|
@@ -199,6 +199,19 @@ const ChannelsApiFp = function (configuration) {
|
|
|
199
199
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
200
200
|
});
|
|
201
201
|
},
|
|
202
|
+
/**
|
|
203
|
+
* Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
204
|
+
* @summary Add a channel
|
|
205
|
+
* @param {AddChannelRequest} [AddChannelRequest]
|
|
206
|
+
* @deprecated
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
addChannelWithHttpInfo(AddChannelRequest) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannel(AddChannelRequest);
|
|
212
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
213
|
+
});
|
|
214
|
+
},
|
|
202
215
|
/**
|
|
203
216
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
204
217
|
* @summary Delete a channel
|
|
@@ -212,6 +225,19 @@ const ChannelsApiFp = function (configuration) {
|
|
|
212
225
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
213
226
|
});
|
|
214
227
|
},
|
|
228
|
+
/**
|
|
229
|
+
* Same as `deleteChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
230
|
+
* @summary Delete a channel
|
|
231
|
+
* @param {string} id The ID of the channel provided by the integration
|
|
232
|
+
* @deprecated
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
deleteChannelWithHttpInfo(id) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteChannel(id);
|
|
238
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
239
|
+
});
|
|
240
|
+
},
|
|
215
241
|
/**
|
|
216
242
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
217
243
|
* @summary Delete a conversation
|
|
@@ -226,6 +252,20 @@ const ChannelsApiFp = function (configuration) {
|
|
|
226
252
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
227
253
|
});
|
|
228
254
|
},
|
|
255
|
+
/**
|
|
256
|
+
* Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
|
|
257
|
+
* @summary Delete a conversation
|
|
258
|
+
* @param {string} channel_id The ID of the channel provided by the integration
|
|
259
|
+
* @param {string} conversation_id The ID of the conversation provided by the integration
|
|
260
|
+
* @deprecated
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
deleteConversationWithHttpInfo(channel_id, conversation_id) {
|
|
264
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
265
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteConversation(channel_id, conversation_id);
|
|
266
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
267
|
+
});
|
|
268
|
+
},
|
|
229
269
|
/**
|
|
230
270
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
231
271
|
* @summary Receives an incoming message
|
|
@@ -239,6 +279,19 @@ const ChannelsApiFp = function (configuration) {
|
|
|
239
279
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
240
280
|
});
|
|
241
281
|
},
|
|
282
|
+
/**
|
|
283
|
+
* Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
284
|
+
* @summary Receives an incoming message
|
|
285
|
+
* @param {ReceiveMessageRequest} [ReceiveMessageRequest]
|
|
286
|
+
* @deprecated
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
receiveMessageWithHttpInfo(ReceiveMessageRequest) {
|
|
290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
291
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.receiveMessage(ReceiveMessageRequest);
|
|
292
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
293
|
+
});
|
|
294
|
+
},
|
|
242
295
|
};
|
|
243
296
|
};
|
|
244
297
|
exports.ChannelsApiFp = ChannelsApiFp;
|
|
@@ -259,6 +312,9 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
259
312
|
addChannel(requestParameters = {}) {
|
|
260
313
|
return localVarFp.addChannel(requestParameters.AddChannelRequest).then((request) => request(axios, basePath));
|
|
261
314
|
},
|
|
315
|
+
addChannelWithHttpInfo(requestParameters = {}) {
|
|
316
|
+
return localVarFp.addChannelWithHttpInfo(requestParameters.AddChannelRequest).then((request) => request(axios, basePath));
|
|
317
|
+
},
|
|
262
318
|
/**
|
|
263
319
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
264
320
|
* @summary Delete a channel
|
|
@@ -269,6 +325,9 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
269
325
|
deleteChannel(requestParameters) {
|
|
270
326
|
return localVarFp.deleteChannel(requestParameters.id).then((request) => request(axios, basePath));
|
|
271
327
|
},
|
|
328
|
+
deleteChannelWithHttpInfo(requestParameters) {
|
|
329
|
+
return localVarFp.deleteChannelWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
330
|
+
},
|
|
272
331
|
/**
|
|
273
332
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
274
333
|
* @summary Delete a conversation
|
|
@@ -279,6 +338,9 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
279
338
|
deleteConversation(requestParameters) {
|
|
280
339
|
return localVarFp.deleteConversation(requestParameters.channel_id, requestParameters.conversation_id).then((request) => request(axios, basePath));
|
|
281
340
|
},
|
|
341
|
+
deleteConversationWithHttpInfo(requestParameters) {
|
|
342
|
+
return localVarFp.deleteConversationWithHttpInfo(requestParameters.channel_id, requestParameters.conversation_id).then((request) => request(axios, basePath));
|
|
343
|
+
},
|
|
282
344
|
/**
|
|
283
345
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
284
346
|
* @summary Receives an incoming message
|
|
@@ -289,6 +351,9 @@ const ChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
289
351
|
receiveMessage(requestParameters = {}) {
|
|
290
352
|
return localVarFp.receiveMessage(requestParameters.ReceiveMessageRequest).then((request) => request(axios, basePath));
|
|
291
353
|
},
|
|
354
|
+
receiveMessageWithHttpInfo(requestParameters = {}) {
|
|
355
|
+
return localVarFp.receiveMessageWithHttpInfo(requestParameters.ReceiveMessageRequest).then((request) => request(axios, basePath));
|
|
356
|
+
},
|
|
292
357
|
};
|
|
293
358
|
};
|
|
294
359
|
exports.ChannelsApiFactory = ChannelsApiFactory;
|
|
@@ -310,6 +375,17 @@ class ChannelsApi extends base_1.BaseAPI {
|
|
|
310
375
|
addChannel(requestParameters = {}) {
|
|
311
376
|
return (0, exports.ChannelsApiFp)(this.configuration).addChannel(requestParameters.AddChannelRequest).then((request) => request(this.axios, this.basePath));
|
|
312
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Same as `addChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
380
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
381
|
+
* @param {ChannelsApiAddChannelRequest} requestParameters Request parameters.
|
|
382
|
+
* @deprecated
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
* @memberof ChannelsApi
|
|
385
|
+
*/
|
|
386
|
+
addChannelWithHttpInfo(requestParameters = {}) {
|
|
387
|
+
return (0, exports.ChannelsApiFp)(this.configuration).addChannelWithHttpInfo(requestParameters.AddChannelRequest).then((request) => request(this.axios, this.basePath));
|
|
388
|
+
}
|
|
313
389
|
/**
|
|
314
390
|
* Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
315
391
|
* @summary Delete a channel
|
|
@@ -321,6 +397,17 @@ class ChannelsApi extends base_1.BaseAPI {
|
|
|
321
397
|
deleteChannel(requestParameters) {
|
|
322
398
|
return (0, exports.ChannelsApiFp)(this.configuration).deleteChannel(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
323
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* Same as `deleteChannel`, but resolves with the response body together with the HTTP status and headers.
|
|
402
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
403
|
+
* @param {ChannelsApiDeleteChannelRequest} requestParameters Request parameters.
|
|
404
|
+
* @deprecated
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
* @memberof ChannelsApi
|
|
407
|
+
*/
|
|
408
|
+
deleteChannelWithHttpInfo(requestParameters) {
|
|
409
|
+
return (0, exports.ChannelsApiFp)(this.configuration).deleteChannelWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
410
|
+
}
|
|
324
411
|
/**
|
|
325
412
|
* Deletes an existing conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
326
413
|
* @summary Delete a conversation
|
|
@@ -332,6 +419,17 @@ class ChannelsApi extends base_1.BaseAPI {
|
|
|
332
419
|
deleteConversation(requestParameters) {
|
|
333
420
|
return (0, exports.ChannelsApiFp)(this.configuration).deleteConversation(requestParameters.channel_id, requestParameters.conversation_id).then((request) => request(this.axios, this.basePath));
|
|
334
421
|
}
|
|
422
|
+
/**
|
|
423
|
+
* Same as `deleteConversation`, but resolves with the response body together with the HTTP status and headers.
|
|
424
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
425
|
+
* @param {ChannelsApiDeleteConversationRequest} requestParameters Request parameters.
|
|
426
|
+
* @deprecated
|
|
427
|
+
* @throws {RequiredError}
|
|
428
|
+
* @memberof ChannelsApi
|
|
429
|
+
*/
|
|
430
|
+
deleteConversationWithHttpInfo(requestParameters) {
|
|
431
|
+
return (0, exports.ChannelsApiFp)(this.configuration).deleteConversationWithHttpInfo(requestParameters.channel_id, requestParameters.conversation_id).then((request) => request(this.axios, this.basePath));
|
|
432
|
+
}
|
|
335
433
|
/**
|
|
336
434
|
* Adds a message to a conversation. To use the endpoint, you need to have **Messengers integration** OAuth scope enabled and the Messaging manifest ready for the [Messaging app extension](https://pipedrive.readme.io/docs/messaging-app-extension).
|
|
337
435
|
* @summary Receives an incoming message
|
|
@@ -343,5 +441,16 @@ class ChannelsApi extends base_1.BaseAPI {
|
|
|
343
441
|
receiveMessage(requestParameters = {}) {
|
|
344
442
|
return (0, exports.ChannelsApiFp)(this.configuration).receiveMessage(requestParameters.ReceiveMessageRequest).then((request) => request(this.axios, this.basePath));
|
|
345
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* Same as `receiveMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
446
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
447
|
+
* @param {ChannelsApiReceiveMessageRequest} requestParameters Request parameters.
|
|
448
|
+
* @deprecated
|
|
449
|
+
* @throws {RequiredError}
|
|
450
|
+
* @memberof ChannelsApi
|
|
451
|
+
*/
|
|
452
|
+
receiveMessageWithHttpInfo(requestParameters = {}) {
|
|
453
|
+
return (0, exports.ChannelsApiFp)(this.configuration).receiveMessageWithHttpInfo(requestParameters.ReceiveMessageRequest).then((request) => request(this.axios, this.basePath));
|
|
454
|
+
}
|
|
346
455
|
}
|
|
347
456
|
exports.ChannelsApi = ChannelsApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
14
|
+
import { RequestArgs, BaseAPI, ApiResponse } from '../base';
|
|
15
15
|
import { GetCurrenciesResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* CurrenciesApi - axios parameter creator
|
|
@@ -40,6 +40,14 @@ export declare const CurrenciesApiFp: (configuration?: Configuration) => {
|
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
42
|
getCurrencies(term?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCurrenciesResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Same as `getCurrencies`, but resolves with the response body together with the HTTP status and headers.
|
|
45
|
+
* @summary Get all supported currencies
|
|
46
|
+
* @param {string} [term] Optional search term that is searched for from currency\'s name and/or code
|
|
47
|
+
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getCurrenciesWithHttpInfo(term?: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCurrenciesResponse>>>;
|
|
43
51
|
};
|
|
44
52
|
/**
|
|
45
53
|
* CurrenciesApi - factory interface
|
|
@@ -54,6 +62,7 @@ export declare const CurrenciesApiFactory: (configuration?: Configuration, baseP
|
|
|
54
62
|
* @throws {RequiredError}
|
|
55
63
|
*/
|
|
56
64
|
getCurrencies(requestParameters?: CurrenciesApiGetCurrenciesRequest): Promise<GetCurrenciesResponse>;
|
|
65
|
+
getCurrenciesWithHttpInfo(requestParameters?: CurrenciesApiGetCurrenciesRequest): Promise<ApiResponse<GetCurrenciesResponse>>;
|
|
57
66
|
};
|
|
58
67
|
/**
|
|
59
68
|
* Request parameters for getCurrencies operation in CurrenciesApi.
|
|
@@ -84,4 +93,13 @@ export declare class CurrenciesApi extends BaseAPI {
|
|
|
84
93
|
* @memberof CurrenciesApi
|
|
85
94
|
*/
|
|
86
95
|
getCurrencies(requestParameters?: CurrenciesApiGetCurrenciesRequest): Promise<GetCurrenciesResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Same as `getCurrencies`, but resolves with the response body together with the HTTP status and headers.
|
|
98
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
99
|
+
* @param {CurrenciesApiGetCurrenciesRequest} requestParameters Request parameters.
|
|
100
|
+
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
* @memberof CurrenciesApi
|
|
103
|
+
*/
|
|
104
|
+
getCurrenciesWithHttpInfo(requestParameters?: CurrenciesApiGetCurrenciesRequest): Promise<ApiResponse<GetCurrenciesResponse>>;
|
|
87
105
|
}
|