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
|
@@ -302,6 +302,19 @@ const MailboxApiFp = function (configuration) {
|
|
|
302
302
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
303
303
|
});
|
|
304
304
|
},
|
|
305
|
+
/**
|
|
306
|
+
* Same as `deleteMailThread`, but resolves with the response body together with the HTTP status and headers.
|
|
307
|
+
* @summary Delete mail thread
|
|
308
|
+
* @param {number} id The ID of the mail thread
|
|
309
|
+
|
|
310
|
+
* @throws {RequiredError}
|
|
311
|
+
*/
|
|
312
|
+
deleteMailThreadWithHttpInfo(id) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMailThread(id);
|
|
315
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
316
|
+
});
|
|
317
|
+
},
|
|
305
318
|
/**
|
|
306
319
|
* Returns data about a specific mail message.
|
|
307
320
|
* @summary Get one mail message
|
|
@@ -316,6 +329,20 @@ const MailboxApiFp = function (configuration) {
|
|
|
316
329
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
317
330
|
});
|
|
318
331
|
},
|
|
332
|
+
/**
|
|
333
|
+
* Same as `getMailMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
334
|
+
* @summary Get one mail message
|
|
335
|
+
* @param {number} id The ID of the mail message to fetch
|
|
336
|
+
* @param {0 | 1} [include_body] Whether to include the full message body or not. `0` = Don\'t include, `1` = Include.
|
|
337
|
+
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
getMailMessageWithHttpInfo(id, include_body) {
|
|
341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMailMessage(id, include_body);
|
|
343
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
344
|
+
});
|
|
345
|
+
},
|
|
319
346
|
/**
|
|
320
347
|
* Returns a specific mail thread.
|
|
321
348
|
* @summary Get one mail thread
|
|
@@ -329,6 +356,19 @@ const MailboxApiFp = function (configuration) {
|
|
|
329
356
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
330
357
|
});
|
|
331
358
|
},
|
|
359
|
+
/**
|
|
360
|
+
* Same as `getMailThread`, but resolves with the response body together with the HTTP status and headers.
|
|
361
|
+
* @summary Get one mail thread
|
|
362
|
+
* @param {number} id The ID of the mail thread
|
|
363
|
+
|
|
364
|
+
* @throws {RequiredError}
|
|
365
|
+
*/
|
|
366
|
+
getMailThreadWithHttpInfo(id) {
|
|
367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMailThread(id);
|
|
369
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
370
|
+
});
|
|
371
|
+
},
|
|
332
372
|
/**
|
|
333
373
|
* Returns all the mail messages inside a specified mail thread.
|
|
334
374
|
* @summary Get all mail messages of mail thread
|
|
@@ -342,6 +382,19 @@ const MailboxApiFp = function (configuration) {
|
|
|
342
382
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
343
383
|
});
|
|
344
384
|
},
|
|
385
|
+
/**
|
|
386
|
+
* Same as `getMailThreadMessages`, but resolves with the response body together with the HTTP status and headers.
|
|
387
|
+
* @summary Get all mail messages of mail thread
|
|
388
|
+
* @param {number} id The ID of the mail thread
|
|
389
|
+
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
getMailThreadMessagesWithHttpInfo(id) {
|
|
393
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
394
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMailThreadMessages(id);
|
|
395
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
396
|
+
});
|
|
397
|
+
},
|
|
345
398
|
/**
|
|
346
399
|
* Returns mail threads in a specified folder ordered by the most recent message within.
|
|
347
400
|
* @summary Get mail threads
|
|
@@ -357,6 +410,21 @@ const MailboxApiFp = function (configuration) {
|
|
|
357
410
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
358
411
|
});
|
|
359
412
|
},
|
|
413
|
+
/**
|
|
414
|
+
* Same as `getMailThreads`, but resolves with the response body together with the HTTP status and headers.
|
|
415
|
+
* @summary Get mail threads
|
|
416
|
+
* @param {'inbox' | 'drafts' | 'sent' | 'archive'} folder The type of folder to fetch
|
|
417
|
+
* @param {number} [start] Pagination start
|
|
418
|
+
* @param {number} [limit] Items shown per page
|
|
419
|
+
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
*/
|
|
422
|
+
getMailThreadsWithHttpInfo(folder, start, limit) {
|
|
423
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMailThreads(folder, start, limit);
|
|
425
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
426
|
+
});
|
|
427
|
+
},
|
|
360
428
|
/**
|
|
361
429
|
* Updates the properties of a mail thread.
|
|
362
430
|
* @summary Update mail thread details
|
|
@@ -375,6 +443,24 @@ const MailboxApiFp = function (configuration) {
|
|
|
375
443
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
376
444
|
});
|
|
377
445
|
},
|
|
446
|
+
/**
|
|
447
|
+
* Same as `updateMailThreadDetails`, but resolves with the response body together with the HTTP status and headers.
|
|
448
|
+
* @summary Update mail thread details
|
|
449
|
+
* @param {number} id The ID of the mail thread
|
|
450
|
+
* @param {number} [deal_id] The ID of the deal this thread is associated with
|
|
451
|
+
* @param {string} [lead_id] The ID of the lead this thread is associated with
|
|
452
|
+
* @param {number} [shared_flag]
|
|
453
|
+
* @param {number} [read_flag]
|
|
454
|
+
* @param {number} [archived_flag]
|
|
455
|
+
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
*/
|
|
458
|
+
updateMailThreadDetailsWithHttpInfo(id, deal_id, lead_id, shared_flag, read_flag, archived_flag) {
|
|
459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
460
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMailThreadDetails(id, deal_id, lead_id, shared_flag, read_flag, archived_flag);
|
|
461
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
462
|
+
});
|
|
463
|
+
},
|
|
378
464
|
};
|
|
379
465
|
};
|
|
380
466
|
exports.MailboxApiFp = MailboxApiFp;
|
|
@@ -395,6 +481,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
395
481
|
deleteMailThread(requestParameters) {
|
|
396
482
|
return localVarFp.deleteMailThread(requestParameters.id).then((request) => request(axios, basePath));
|
|
397
483
|
},
|
|
484
|
+
deleteMailThreadWithHttpInfo(requestParameters) {
|
|
485
|
+
return localVarFp.deleteMailThreadWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
398
487
|
/**
|
|
399
488
|
* Returns data about a specific mail message.
|
|
400
489
|
* @summary Get one mail message
|
|
@@ -405,6 +494,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
405
494
|
getMailMessage(requestParameters) {
|
|
406
495
|
return localVarFp.getMailMessage(requestParameters.id, requestParameters.include_body).then((request) => request(axios, basePath));
|
|
407
496
|
},
|
|
497
|
+
getMailMessageWithHttpInfo(requestParameters) {
|
|
498
|
+
return localVarFp.getMailMessageWithHttpInfo(requestParameters.id, requestParameters.include_body).then((request) => request(axios, basePath));
|
|
499
|
+
},
|
|
408
500
|
/**
|
|
409
501
|
* Returns a specific mail thread.
|
|
410
502
|
* @summary Get one mail thread
|
|
@@ -415,6 +507,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
415
507
|
getMailThread(requestParameters) {
|
|
416
508
|
return localVarFp.getMailThread(requestParameters.id).then((request) => request(axios, basePath));
|
|
417
509
|
},
|
|
510
|
+
getMailThreadWithHttpInfo(requestParameters) {
|
|
511
|
+
return localVarFp.getMailThreadWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
512
|
+
},
|
|
418
513
|
/**
|
|
419
514
|
* Returns all the mail messages inside a specified mail thread.
|
|
420
515
|
* @summary Get all mail messages of mail thread
|
|
@@ -425,6 +520,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
425
520
|
getMailThreadMessages(requestParameters) {
|
|
426
521
|
return localVarFp.getMailThreadMessages(requestParameters.id).then((request) => request(axios, basePath));
|
|
427
522
|
},
|
|
523
|
+
getMailThreadMessagesWithHttpInfo(requestParameters) {
|
|
524
|
+
return localVarFp.getMailThreadMessagesWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
525
|
+
},
|
|
428
526
|
/**
|
|
429
527
|
* Returns mail threads in a specified folder ordered by the most recent message within.
|
|
430
528
|
* @summary Get mail threads
|
|
@@ -435,6 +533,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
435
533
|
getMailThreads(requestParameters) {
|
|
436
534
|
return localVarFp.getMailThreads(requestParameters.folder, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
437
535
|
},
|
|
536
|
+
getMailThreadsWithHttpInfo(requestParameters) {
|
|
537
|
+
return localVarFp.getMailThreadsWithHttpInfo(requestParameters.folder, requestParameters.start, requestParameters.limit).then((request) => request(axios, basePath));
|
|
538
|
+
},
|
|
438
539
|
/**
|
|
439
540
|
* Updates the properties of a mail thread.
|
|
440
541
|
* @summary Update mail thread details
|
|
@@ -445,6 +546,9 @@ const MailboxApiFactory = function (configuration, basePath, axios) {
|
|
|
445
546
|
updateMailThreadDetails(requestParameters) {
|
|
446
547
|
return localVarFp.updateMailThreadDetails(requestParameters.id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.shared_flag, requestParameters.read_flag, requestParameters.archived_flag).then((request) => request(axios, basePath));
|
|
447
548
|
},
|
|
549
|
+
updateMailThreadDetailsWithHttpInfo(requestParameters) {
|
|
550
|
+
return localVarFp.updateMailThreadDetailsWithHttpInfo(requestParameters.id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.shared_flag, requestParameters.read_flag, requestParameters.archived_flag).then((request) => request(axios, basePath));
|
|
551
|
+
},
|
|
448
552
|
};
|
|
449
553
|
};
|
|
450
554
|
exports.MailboxApiFactory = MailboxApiFactory;
|
|
@@ -466,6 +570,17 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
466
570
|
deleteMailThread(requestParameters) {
|
|
467
571
|
return (0, exports.MailboxApiFp)(this.configuration).deleteMailThread(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
468
572
|
}
|
|
573
|
+
/**
|
|
574
|
+
* Same as `deleteMailThread`, but resolves with the response body together with the HTTP status and headers.
|
|
575
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
576
|
+
* @param {MailboxApiDeleteMailThreadRequest} requestParameters Request parameters.
|
|
577
|
+
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
* @memberof MailboxApi
|
|
580
|
+
*/
|
|
581
|
+
deleteMailThreadWithHttpInfo(requestParameters) {
|
|
582
|
+
return (0, exports.MailboxApiFp)(this.configuration).deleteMailThreadWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
583
|
+
}
|
|
469
584
|
/**
|
|
470
585
|
* Returns data about a specific mail message.
|
|
471
586
|
* @summary Get one mail message
|
|
@@ -477,6 +592,17 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
477
592
|
getMailMessage(requestParameters) {
|
|
478
593
|
return (0, exports.MailboxApiFp)(this.configuration).getMailMessage(requestParameters.id, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
|
|
479
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* Same as `getMailMessage`, but resolves with the response body together with the HTTP status and headers.
|
|
597
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
598
|
+
* @param {MailboxApiGetMailMessageRequest} requestParameters Request parameters.
|
|
599
|
+
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
* @memberof MailboxApi
|
|
602
|
+
*/
|
|
603
|
+
getMailMessageWithHttpInfo(requestParameters) {
|
|
604
|
+
return (0, exports.MailboxApiFp)(this.configuration).getMailMessageWithHttpInfo(requestParameters.id, requestParameters.include_body).then((request) => request(this.axios, this.basePath));
|
|
605
|
+
}
|
|
480
606
|
/**
|
|
481
607
|
* Returns a specific mail thread.
|
|
482
608
|
* @summary Get one mail thread
|
|
@@ -488,6 +614,17 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
488
614
|
getMailThread(requestParameters) {
|
|
489
615
|
return (0, exports.MailboxApiFp)(this.configuration).getMailThread(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
490
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* Same as `getMailThread`, but resolves with the response body together with the HTTP status and headers.
|
|
619
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
620
|
+
* @param {MailboxApiGetMailThreadRequest} requestParameters Request parameters.
|
|
621
|
+
|
|
622
|
+
* @throws {RequiredError}
|
|
623
|
+
* @memberof MailboxApi
|
|
624
|
+
*/
|
|
625
|
+
getMailThreadWithHttpInfo(requestParameters) {
|
|
626
|
+
return (0, exports.MailboxApiFp)(this.configuration).getMailThreadWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
627
|
+
}
|
|
491
628
|
/**
|
|
492
629
|
* Returns all the mail messages inside a specified mail thread.
|
|
493
630
|
* @summary Get all mail messages of mail thread
|
|
@@ -499,6 +636,17 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
499
636
|
getMailThreadMessages(requestParameters) {
|
|
500
637
|
return (0, exports.MailboxApiFp)(this.configuration).getMailThreadMessages(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
501
638
|
}
|
|
639
|
+
/**
|
|
640
|
+
* Same as `getMailThreadMessages`, but resolves with the response body together with the HTTP status and headers.
|
|
641
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
642
|
+
* @param {MailboxApiGetMailThreadMessagesRequest} requestParameters Request parameters.
|
|
643
|
+
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof MailboxApi
|
|
646
|
+
*/
|
|
647
|
+
getMailThreadMessagesWithHttpInfo(requestParameters) {
|
|
648
|
+
return (0, exports.MailboxApiFp)(this.configuration).getMailThreadMessagesWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
649
|
+
}
|
|
502
650
|
/**
|
|
503
651
|
* Returns mail threads in a specified folder ordered by the most recent message within.
|
|
504
652
|
* @summary Get mail threads
|
|
@@ -510,6 +658,17 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
510
658
|
getMailThreads(requestParameters) {
|
|
511
659
|
return (0, exports.MailboxApiFp)(this.configuration).getMailThreads(requestParameters.folder, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
512
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* Same as `getMailThreads`, but resolves with the response body together with the HTTP status and headers.
|
|
663
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
664
|
+
* @param {MailboxApiGetMailThreadsRequest} requestParameters Request parameters.
|
|
665
|
+
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
* @memberof MailboxApi
|
|
668
|
+
*/
|
|
669
|
+
getMailThreadsWithHttpInfo(requestParameters) {
|
|
670
|
+
return (0, exports.MailboxApiFp)(this.configuration).getMailThreadsWithHttpInfo(requestParameters.folder, requestParameters.start, requestParameters.limit).then((request) => request(this.axios, this.basePath));
|
|
671
|
+
}
|
|
513
672
|
/**
|
|
514
673
|
* Updates the properties of a mail thread.
|
|
515
674
|
* @summary Update mail thread details
|
|
@@ -521,5 +680,16 @@ class MailboxApi extends base_1.BaseAPI {
|
|
|
521
680
|
updateMailThreadDetails(requestParameters) {
|
|
522
681
|
return (0, exports.MailboxApiFp)(this.configuration).updateMailThreadDetails(requestParameters.id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.shared_flag, requestParameters.read_flag, requestParameters.archived_flag).then((request) => request(this.axios, this.basePath));
|
|
523
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* Same as `updateMailThreadDetails`, but resolves with the response body together with the HTTP status and headers.
|
|
685
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
686
|
+
* @param {MailboxApiUpdateMailThreadDetailsRequest} requestParameters Request parameters.
|
|
687
|
+
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
* @memberof MailboxApi
|
|
690
|
+
*/
|
|
691
|
+
updateMailThreadDetailsWithHttpInfo(requestParameters) {
|
|
692
|
+
return (0, exports.MailboxApiFp)(this.configuration).updateMailThreadDetailsWithHttpInfo(requestParameters.id, requestParameters.deal_id, requestParameters.lead_id, requestParameters.shared_flag, requestParameters.read_flag, requestParameters.archived_flag).then((request) => request(this.axios, this.basePath));
|
|
693
|
+
}
|
|
524
694
|
}
|
|
525
695
|
exports.MailboxApi = MailboxApi;
|
|
@@ -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 { AddUserProviderLinkRequest } from '../models';
|
|
16
16
|
import { GetUserProviderLinkSuccessResponse } from '../models';
|
|
17
17
|
/**
|
|
@@ -49,6 +49,14 @@ export declare const MeetingsApiFp: (configuration?: Configuration) => {
|
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
51
|
deleteUserProviderLink(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetUserProviderLinkSuccessResponse>>;
|
|
52
|
+
/**
|
|
53
|
+
* Same as `deleteUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
54
|
+
* @summary Delete the link between a user and the installed video call integration
|
|
55
|
+
* @param {string} id Unique identifier linking a user to the installed integration
|
|
56
|
+
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
deleteUserProviderLinkWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>>;
|
|
52
60
|
/**
|
|
53
61
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
54
62
|
* @summary Link a user with the installed video call integration
|
|
@@ -57,6 +65,14 @@ export declare const MeetingsApiFp: (configuration?: Configuration) => {
|
|
|
57
65
|
* @throws {RequiredError}
|
|
58
66
|
*/
|
|
59
67
|
saveUserProviderLink(AddUserProviderLinkRequest?: AddUserProviderLinkRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetUserProviderLinkSuccessResponse>>;
|
|
68
|
+
/**
|
|
69
|
+
* Same as `saveUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
70
|
+
* @summary Link a user with the installed video call integration
|
|
71
|
+
* @param {AddUserProviderLinkRequest} [AddUserProviderLinkRequest]
|
|
72
|
+
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
saveUserProviderLinkWithHttpInfo(AddUserProviderLinkRequest?: AddUserProviderLinkRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>>;
|
|
60
76
|
};
|
|
61
77
|
/**
|
|
62
78
|
* MeetingsApi - factory interface
|
|
@@ -71,6 +87,7 @@ export declare const MeetingsApiFactory: (configuration?: Configuration, basePat
|
|
|
71
87
|
* @throws {RequiredError}
|
|
72
88
|
*/
|
|
73
89
|
deleteUserProviderLink(requestParameters: MeetingsApiDeleteUserProviderLinkRequest): Promise<GetUserProviderLinkSuccessResponse>;
|
|
90
|
+
deleteUserProviderLinkWithHttpInfo(requestParameters: MeetingsApiDeleteUserProviderLinkRequest): Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>;
|
|
74
91
|
/**
|
|
75
92
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
76
93
|
* @summary Link a user with the installed video call integration
|
|
@@ -79,6 +96,7 @@ export declare const MeetingsApiFactory: (configuration?: Configuration, basePat
|
|
|
79
96
|
* @throws {RequiredError}
|
|
80
97
|
*/
|
|
81
98
|
saveUserProviderLink(requestParameters?: MeetingsApiSaveUserProviderLinkRequest): Promise<GetUserProviderLinkSuccessResponse>;
|
|
99
|
+
saveUserProviderLinkWithHttpInfo(requestParameters?: MeetingsApiSaveUserProviderLinkRequest): Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>;
|
|
82
100
|
};
|
|
83
101
|
/**
|
|
84
102
|
* Request parameters for deleteUserProviderLink operation in MeetingsApi.
|
|
@@ -122,6 +140,15 @@ export declare class MeetingsApi extends BaseAPI {
|
|
|
122
140
|
* @memberof MeetingsApi
|
|
123
141
|
*/
|
|
124
142
|
deleteUserProviderLink(requestParameters: MeetingsApiDeleteUserProviderLinkRequest): Promise<GetUserProviderLinkSuccessResponse>;
|
|
143
|
+
/**
|
|
144
|
+
* Same as `deleteUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
145
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
146
|
+
* @param {MeetingsApiDeleteUserProviderLinkRequest} requestParameters Request parameters.
|
|
147
|
+
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
* @memberof MeetingsApi
|
|
150
|
+
*/
|
|
151
|
+
deleteUserProviderLinkWithHttpInfo(requestParameters: MeetingsApiDeleteUserProviderLinkRequest): Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>;
|
|
125
152
|
/**
|
|
126
153
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
127
154
|
* @summary Link a user with the installed video call integration
|
|
@@ -131,4 +158,13 @@ export declare class MeetingsApi extends BaseAPI {
|
|
|
131
158
|
* @memberof MeetingsApi
|
|
132
159
|
*/
|
|
133
160
|
saveUserProviderLink(requestParameters?: MeetingsApiSaveUserProviderLinkRequest): Promise<GetUserProviderLinkSuccessResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Same as `saveUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
163
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
164
|
+
* @param {MeetingsApiSaveUserProviderLinkRequest} requestParameters Request parameters.
|
|
165
|
+
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
* @memberof MeetingsApi
|
|
168
|
+
*/
|
|
169
|
+
saveUserProviderLinkWithHttpInfo(requestParameters?: MeetingsApiSaveUserProviderLinkRequest): Promise<ApiResponse<GetUserProviderLinkSuccessResponse>>;
|
|
134
170
|
}
|
|
@@ -128,6 +128,19 @@ const MeetingsApiFp = function (configuration) {
|
|
|
128
128
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
129
129
|
});
|
|
130
130
|
},
|
|
131
|
+
/**
|
|
132
|
+
* Same as `deleteUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
133
|
+
* @summary Delete the link between a user and the installed video call integration
|
|
134
|
+
* @param {string} id Unique identifier linking a user to the installed integration
|
|
135
|
+
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
deleteUserProviderLinkWithHttpInfo(id) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteUserProviderLink(id);
|
|
141
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
142
|
+
});
|
|
143
|
+
},
|
|
131
144
|
/**
|
|
132
145
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
133
146
|
* @summary Link a user with the installed video call integration
|
|
@@ -141,6 +154,19 @@ const MeetingsApiFp = function (configuration) {
|
|
|
141
154
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
142
155
|
});
|
|
143
156
|
},
|
|
157
|
+
/**
|
|
158
|
+
* Same as `saveUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
159
|
+
* @summary Link a user with the installed video call integration
|
|
160
|
+
* @param {AddUserProviderLinkRequest} [AddUserProviderLinkRequest]
|
|
161
|
+
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
saveUserProviderLinkWithHttpInfo(AddUserProviderLinkRequest) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveUserProviderLink(AddUserProviderLinkRequest);
|
|
167
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
168
|
+
});
|
|
169
|
+
},
|
|
144
170
|
};
|
|
145
171
|
};
|
|
146
172
|
exports.MeetingsApiFp = MeetingsApiFp;
|
|
@@ -161,6 +187,9 @@ const MeetingsApiFactory = function (configuration, basePath, axios) {
|
|
|
161
187
|
deleteUserProviderLink(requestParameters) {
|
|
162
188
|
return localVarFp.deleteUserProviderLink(requestParameters.id).then((request) => request(axios, basePath));
|
|
163
189
|
},
|
|
190
|
+
deleteUserProviderLinkWithHttpInfo(requestParameters) {
|
|
191
|
+
return localVarFp.deleteUserProviderLinkWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
192
|
+
},
|
|
164
193
|
/**
|
|
165
194
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
166
195
|
* @summary Link a user with the installed video call integration
|
|
@@ -171,6 +200,9 @@ const MeetingsApiFactory = function (configuration, basePath, axios) {
|
|
|
171
200
|
saveUserProviderLink(requestParameters = {}) {
|
|
172
201
|
return localVarFp.saveUserProviderLink(requestParameters.AddUserProviderLinkRequest).then((request) => request(axios, basePath));
|
|
173
202
|
},
|
|
203
|
+
saveUserProviderLinkWithHttpInfo(requestParameters = {}) {
|
|
204
|
+
return localVarFp.saveUserProviderLinkWithHttpInfo(requestParameters.AddUserProviderLinkRequest).then((request) => request(axios, basePath));
|
|
205
|
+
},
|
|
174
206
|
};
|
|
175
207
|
};
|
|
176
208
|
exports.MeetingsApiFactory = MeetingsApiFactory;
|
|
@@ -192,6 +224,17 @@ class MeetingsApi extends base_1.BaseAPI {
|
|
|
192
224
|
deleteUserProviderLink(requestParameters) {
|
|
193
225
|
return (0, exports.MeetingsApiFp)(this.configuration).deleteUserProviderLink(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
194
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* Same as `deleteUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
229
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
230
|
+
* @param {MeetingsApiDeleteUserProviderLinkRequest} requestParameters Request parameters.
|
|
231
|
+
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
* @memberof MeetingsApi
|
|
234
|
+
*/
|
|
235
|
+
deleteUserProviderLinkWithHttpInfo(requestParameters) {
|
|
236
|
+
return (0, exports.MeetingsApiFp)(this.configuration).deleteUserProviderLinkWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
237
|
+
}
|
|
195
238
|
/**
|
|
196
239
|
* A video calling provider must call this endpoint after a user has installed the video calling app so that the new user\'s information is sent.
|
|
197
240
|
* @summary Link a user with the installed video call integration
|
|
@@ -203,5 +246,16 @@ class MeetingsApi extends base_1.BaseAPI {
|
|
|
203
246
|
saveUserProviderLink(requestParameters = {}) {
|
|
204
247
|
return (0, exports.MeetingsApiFp)(this.configuration).saveUserProviderLink(requestParameters.AddUserProviderLinkRequest).then((request) => request(this.axios, this.basePath));
|
|
205
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* Same as `saveUserProviderLink`, but resolves with the response body together with the HTTP status and headers.
|
|
251
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
252
|
+
* @param {MeetingsApiSaveUserProviderLinkRequest} requestParameters Request parameters.
|
|
253
|
+
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
* @memberof MeetingsApi
|
|
256
|
+
*/
|
|
257
|
+
saveUserProviderLinkWithHttpInfo(requestParameters = {}) {
|
|
258
|
+
return (0, exports.MeetingsApiFp)(this.configuration).saveUserProviderLinkWithHttpInfo(requestParameters.AddUserProviderLinkRequest).then((request) => request(this.axios, this.basePath));
|
|
259
|
+
}
|
|
206
260
|
}
|
|
207
261
|
exports.MeetingsApi = MeetingsApi;
|
|
@@ -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 { GetNoteFieldsResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* NoteFieldsApi - axios parameter creator
|
|
@@ -38,6 +38,13 @@ export declare const NoteFieldsApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
getNoteFields(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetNoteFieldsResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Same as `getNoteFields`, but resolves with the response body together with the HTTP status and headers.
|
|
43
|
+
* @summary Get all note fields
|
|
44
|
+
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getNoteFieldsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetNoteFieldsResponse>>>;
|
|
41
48
|
};
|
|
42
49
|
/**
|
|
43
50
|
* NoteFieldsApi - factory interface
|
|
@@ -51,6 +58,7 @@ export declare const NoteFieldsApiFactory: (configuration?: Configuration, baseP
|
|
|
51
58
|
* @throws {RequiredError}
|
|
52
59
|
*/
|
|
53
60
|
getNoteFields(): Promise<GetNoteFieldsResponse>;
|
|
61
|
+
getNoteFieldsWithHttpInfo(): Promise<ApiResponse<GetNoteFieldsResponse>>;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* NoteFieldsApi - object-oriented interface
|
|
@@ -67,4 +75,12 @@ export declare class NoteFieldsApi extends BaseAPI {
|
|
|
67
75
|
* @memberof NoteFieldsApi
|
|
68
76
|
*/
|
|
69
77
|
getNoteFields(): Promise<GetNoteFieldsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getNoteFields`, but resolves with the response body together with the HTTP status and headers.
|
|
80
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
81
|
+
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof NoteFieldsApi
|
|
84
|
+
*/
|
|
85
|
+
getNoteFieldsWithHttpInfo(): Promise<ApiResponse<GetNoteFieldsResponse>>;
|
|
70
86
|
}
|
|
@@ -90,6 +90,18 @@ const NoteFieldsApiFp = function (configuration) {
|
|
|
90
90
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
91
91
|
});
|
|
92
92
|
},
|
|
93
|
+
/**
|
|
94
|
+
* Same as `getNoteFields`, but resolves with the response body together with the HTTP status and headers.
|
|
95
|
+
* @summary Get all note fields
|
|
96
|
+
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getNoteFieldsWithHttpInfo() {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNoteFields();
|
|
102
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
103
|
+
});
|
|
104
|
+
},
|
|
93
105
|
};
|
|
94
106
|
};
|
|
95
107
|
exports.NoteFieldsApiFp = NoteFieldsApiFp;
|
|
@@ -109,6 +121,9 @@ const NoteFieldsApiFactory = function (configuration, basePath, axios) {
|
|
|
109
121
|
getNoteFields() {
|
|
110
122
|
return localVarFp.getNoteFields().then((request) => request(axios, basePath));
|
|
111
123
|
},
|
|
124
|
+
getNoteFieldsWithHttpInfo() {
|
|
125
|
+
return localVarFp.getNoteFieldsWithHttpInfo().then((request) => request(axios, basePath));
|
|
126
|
+
},
|
|
112
127
|
};
|
|
113
128
|
};
|
|
114
129
|
exports.NoteFieldsApiFactory = NoteFieldsApiFactory;
|
|
@@ -129,5 +144,15 @@ class NoteFieldsApi extends base_1.BaseAPI {
|
|
|
129
144
|
getNoteFields() {
|
|
130
145
|
return (0, exports.NoteFieldsApiFp)(this.configuration).getNoteFields().then((request) => request(this.axios, this.basePath));
|
|
131
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Same as `getNoteFields`, but resolves with the response body together with the HTTP status and headers.
|
|
149
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
150
|
+
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
* @memberof NoteFieldsApi
|
|
153
|
+
*/
|
|
154
|
+
getNoteFieldsWithHttpInfo() {
|
|
155
|
+
return (0, exports.NoteFieldsApiFp)(this.configuration).getNoteFieldsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
156
|
+
}
|
|
132
157
|
}
|
|
133
158
|
exports.NoteFieldsApi = NoteFieldsApi;
|