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
|
@@ -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 { AddActivityTypeRequest } from '../models';
|
|
16
16
|
import { GetActivityTypesResponse } from '../models';
|
|
17
17
|
import { UpdateActivityTypeRequest } from '../models';
|
|
@@ -67,6 +67,14 @@ export declare const ActivityTypesApiFp: (configuration?: Configuration) => {
|
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
69
|
addActivityType(AddActivityTypeRequest?: AddActivityTypeRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertActivityTypeResponse>>;
|
|
70
|
+
/**
|
|
71
|
+
* Same as `addActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
72
|
+
* @summary Add new activity type
|
|
73
|
+
* @param {AddActivityTypeRequest} [AddActivityTypeRequest]
|
|
74
|
+
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
addActivityTypeWithHttpInfo(AddActivityTypeRequest?: AddActivityTypeRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertActivityTypeResponse>>>;
|
|
70
78
|
/**
|
|
71
79
|
* Marks an activity type as deleted.
|
|
72
80
|
* @summary Delete an activity type
|
|
@@ -75,6 +83,14 @@ export declare const ActivityTypesApiFp: (configuration?: Configuration) => {
|
|
|
75
83
|
* @throws {RequiredError}
|
|
76
84
|
*/
|
|
77
85
|
deleteActivityType(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertActivityTypeResponse>>;
|
|
86
|
+
/**
|
|
87
|
+
* Same as `deleteActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
88
|
+
* @summary Delete an activity type
|
|
89
|
+
* @param {number} id The ID of the activity type
|
|
90
|
+
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
deleteActivityTypeWithHttpInfo(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertActivityTypeResponse>>>;
|
|
78
94
|
/**
|
|
79
95
|
* Returns all activity types.
|
|
80
96
|
* @summary Get all activity types
|
|
@@ -82,6 +98,13 @@ export declare const ActivityTypesApiFp: (configuration?: Configuration) => {
|
|
|
82
98
|
* @throws {RequiredError}
|
|
83
99
|
*/
|
|
84
100
|
getActivityTypes(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetActivityTypesResponse>>;
|
|
101
|
+
/**
|
|
102
|
+
* Same as `getActivityTypes`, but resolves with the response body together with the HTTP status and headers.
|
|
103
|
+
* @summary Get all activity types
|
|
104
|
+
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getActivityTypesWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetActivityTypesResponse>>>;
|
|
85
108
|
/**
|
|
86
109
|
* Updates an activity type.
|
|
87
110
|
* @summary Update an activity type
|
|
@@ -91,6 +114,15 @@ export declare const ActivityTypesApiFp: (configuration?: Configuration) => {
|
|
|
91
114
|
* @throws {RequiredError}
|
|
92
115
|
*/
|
|
93
116
|
updateActivityType(id: number, UpdateActivityTypeRequest?: UpdateActivityTypeRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<UpsertActivityTypeResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* Same as `updateActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
119
|
+
* @summary Update an activity type
|
|
120
|
+
* @param {number} id The ID of the activity type
|
|
121
|
+
* @param {UpdateActivityTypeRequest} [UpdateActivityTypeRequest]
|
|
122
|
+
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
updateActivityTypeWithHttpInfo(id: number, UpdateActivityTypeRequest?: UpdateActivityTypeRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<UpsertActivityTypeResponse>>>;
|
|
94
126
|
};
|
|
95
127
|
/**
|
|
96
128
|
* ActivityTypesApi - factory interface
|
|
@@ -105,6 +137,7 @@ export declare const ActivityTypesApiFactory: (configuration?: Configuration, ba
|
|
|
105
137
|
* @throws {RequiredError}
|
|
106
138
|
*/
|
|
107
139
|
addActivityType(requestParameters?: ActivityTypesApiAddActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
140
|
+
addActivityTypeWithHttpInfo(requestParameters?: ActivityTypesApiAddActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
108
141
|
/**
|
|
109
142
|
* Marks an activity type as deleted.
|
|
110
143
|
* @summary Delete an activity type
|
|
@@ -113,6 +146,7 @@ export declare const ActivityTypesApiFactory: (configuration?: Configuration, ba
|
|
|
113
146
|
* @throws {RequiredError}
|
|
114
147
|
*/
|
|
115
148
|
deleteActivityType(requestParameters: ActivityTypesApiDeleteActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
149
|
+
deleteActivityTypeWithHttpInfo(requestParameters: ActivityTypesApiDeleteActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
116
150
|
/**
|
|
117
151
|
* Returns all activity types.
|
|
118
152
|
* @summary Get all activity types
|
|
@@ -120,6 +154,7 @@ export declare const ActivityTypesApiFactory: (configuration?: Configuration, ba
|
|
|
120
154
|
* @throws {RequiredError}
|
|
121
155
|
*/
|
|
122
156
|
getActivityTypes(): Promise<GetActivityTypesResponse>;
|
|
157
|
+
getActivityTypesWithHttpInfo(): Promise<ApiResponse<GetActivityTypesResponse>>;
|
|
123
158
|
/**
|
|
124
159
|
* Updates an activity type.
|
|
125
160
|
* @summary Update an activity type
|
|
@@ -128,6 +163,7 @@ export declare const ActivityTypesApiFactory: (configuration?: Configuration, ba
|
|
|
128
163
|
* @throws {RequiredError}
|
|
129
164
|
*/
|
|
130
165
|
updateActivityType(requestParameters: ActivityTypesApiUpdateActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
166
|
+
updateActivityTypeWithHttpInfo(requestParameters: ActivityTypesApiUpdateActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
131
167
|
};
|
|
132
168
|
/**
|
|
133
169
|
* Request parameters for addActivityType operation in ActivityTypesApi.
|
|
@@ -190,6 +226,15 @@ export declare class ActivityTypesApi extends BaseAPI {
|
|
|
190
226
|
* @memberof ActivityTypesApi
|
|
191
227
|
*/
|
|
192
228
|
addActivityType(requestParameters?: ActivityTypesApiAddActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Same as `addActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
231
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
232
|
+
* @param {ActivityTypesApiAddActivityTypeRequest} requestParameters Request parameters.
|
|
233
|
+
|
|
234
|
+
* @throws {RequiredError}
|
|
235
|
+
* @memberof ActivityTypesApi
|
|
236
|
+
*/
|
|
237
|
+
addActivityTypeWithHttpInfo(requestParameters?: ActivityTypesApiAddActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
193
238
|
/**
|
|
194
239
|
* Marks an activity type as deleted.
|
|
195
240
|
* @summary Delete an activity type
|
|
@@ -199,6 +244,15 @@ export declare class ActivityTypesApi extends BaseAPI {
|
|
|
199
244
|
* @memberof ActivityTypesApi
|
|
200
245
|
*/
|
|
201
246
|
deleteActivityType(requestParameters: ActivityTypesApiDeleteActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* Same as `deleteActivityType`, 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 {ActivityTypesApiDeleteActivityTypeRequest} requestParameters Request parameters.
|
|
251
|
+
|
|
252
|
+
* @throws {RequiredError}
|
|
253
|
+
* @memberof ActivityTypesApi
|
|
254
|
+
*/
|
|
255
|
+
deleteActivityTypeWithHttpInfo(requestParameters: ActivityTypesApiDeleteActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
202
256
|
/**
|
|
203
257
|
* Returns all activity types.
|
|
204
258
|
* @summary Get all activity types
|
|
@@ -207,6 +261,14 @@ export declare class ActivityTypesApi extends BaseAPI {
|
|
|
207
261
|
* @memberof ActivityTypesApi
|
|
208
262
|
*/
|
|
209
263
|
getActivityTypes(): Promise<GetActivityTypesResponse>;
|
|
264
|
+
/**
|
|
265
|
+
* Same as `getActivityTypes`, but resolves with the response body together with the HTTP status and headers.
|
|
266
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
267
|
+
|
|
268
|
+
* @throws {RequiredError}
|
|
269
|
+
* @memberof ActivityTypesApi
|
|
270
|
+
*/
|
|
271
|
+
getActivityTypesWithHttpInfo(): Promise<ApiResponse<GetActivityTypesResponse>>;
|
|
210
272
|
/**
|
|
211
273
|
* Updates an activity type.
|
|
212
274
|
* @summary Update an activity type
|
|
@@ -216,4 +278,13 @@ export declare class ActivityTypesApi extends BaseAPI {
|
|
|
216
278
|
* @memberof ActivityTypesApi
|
|
217
279
|
*/
|
|
218
280
|
updateActivityType(requestParameters: ActivityTypesApiUpdateActivityTypeRequest): Promise<UpsertActivityTypeResponse>;
|
|
281
|
+
/**
|
|
282
|
+
* Same as `updateActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
283
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
284
|
+
* @param {ActivityTypesApiUpdateActivityTypeRequest} requestParameters Request parameters.
|
|
285
|
+
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
* @memberof ActivityTypesApi
|
|
288
|
+
*/
|
|
289
|
+
updateActivityTypeWithHttpInfo(requestParameters: ActivityTypesApiUpdateActivityTypeRequest): Promise<ApiResponse<UpsertActivityTypeResponse>>;
|
|
219
290
|
}
|
|
@@ -195,6 +195,19 @@ const ActivityTypesApiFp = function (configuration) {
|
|
|
195
195
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
196
196
|
});
|
|
197
197
|
},
|
|
198
|
+
/**
|
|
199
|
+
* Same as `addActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
200
|
+
* @summary Add new activity type
|
|
201
|
+
* @param {AddActivityTypeRequest} [AddActivityTypeRequest]
|
|
202
|
+
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
addActivityTypeWithHttpInfo(AddActivityTypeRequest) {
|
|
206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addActivityType(AddActivityTypeRequest);
|
|
208
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
209
|
+
});
|
|
210
|
+
},
|
|
198
211
|
/**
|
|
199
212
|
* Marks an activity type as deleted.
|
|
200
213
|
* @summary Delete an activity type
|
|
@@ -208,6 +221,19 @@ const ActivityTypesApiFp = function (configuration) {
|
|
|
208
221
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
209
222
|
});
|
|
210
223
|
},
|
|
224
|
+
/**
|
|
225
|
+
* Same as `deleteActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
226
|
+
* @summary Delete an activity type
|
|
227
|
+
* @param {number} id The ID of the activity type
|
|
228
|
+
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
deleteActivityTypeWithHttpInfo(id) {
|
|
232
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
233
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteActivityType(id);
|
|
234
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
235
|
+
});
|
|
236
|
+
},
|
|
211
237
|
/**
|
|
212
238
|
* Returns all activity types.
|
|
213
239
|
* @summary Get all activity types
|
|
@@ -220,6 +246,18 @@ const ActivityTypesApiFp = function (configuration) {
|
|
|
220
246
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
221
247
|
});
|
|
222
248
|
},
|
|
249
|
+
/**
|
|
250
|
+
* Same as `getActivityTypes`, but resolves with the response body together with the HTTP status and headers.
|
|
251
|
+
* @summary Get all activity types
|
|
252
|
+
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
getActivityTypesWithHttpInfo() {
|
|
256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getActivityTypes();
|
|
258
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
259
|
+
});
|
|
260
|
+
},
|
|
223
261
|
/**
|
|
224
262
|
* Updates an activity type.
|
|
225
263
|
* @summary Update an activity type
|
|
@@ -234,6 +272,20 @@ const ActivityTypesApiFp = function (configuration) {
|
|
|
234
272
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
235
273
|
});
|
|
236
274
|
},
|
|
275
|
+
/**
|
|
276
|
+
* Same as `updateActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
277
|
+
* @summary Update an activity type
|
|
278
|
+
* @param {number} id The ID of the activity type
|
|
279
|
+
* @param {UpdateActivityTypeRequest} [UpdateActivityTypeRequest]
|
|
280
|
+
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
updateActivityTypeWithHttpInfo(id, UpdateActivityTypeRequest) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateActivityType(id, UpdateActivityTypeRequest);
|
|
286
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration, true);
|
|
287
|
+
});
|
|
288
|
+
},
|
|
237
289
|
};
|
|
238
290
|
};
|
|
239
291
|
exports.ActivityTypesApiFp = ActivityTypesApiFp;
|
|
@@ -254,6 +306,9 @@ const ActivityTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
254
306
|
addActivityType(requestParameters = {}) {
|
|
255
307
|
return localVarFp.addActivityType(requestParameters.AddActivityTypeRequest).then((request) => request(axios, basePath));
|
|
256
308
|
},
|
|
309
|
+
addActivityTypeWithHttpInfo(requestParameters = {}) {
|
|
310
|
+
return localVarFp.addActivityTypeWithHttpInfo(requestParameters.AddActivityTypeRequest).then((request) => request(axios, basePath));
|
|
311
|
+
},
|
|
257
312
|
/**
|
|
258
313
|
* Marks an activity type as deleted.
|
|
259
314
|
* @summary Delete an activity type
|
|
@@ -264,6 +319,9 @@ const ActivityTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
264
319
|
deleteActivityType(requestParameters) {
|
|
265
320
|
return localVarFp.deleteActivityType(requestParameters.id).then((request) => request(axios, basePath));
|
|
266
321
|
},
|
|
322
|
+
deleteActivityTypeWithHttpInfo(requestParameters) {
|
|
323
|
+
return localVarFp.deleteActivityTypeWithHttpInfo(requestParameters.id).then((request) => request(axios, basePath));
|
|
324
|
+
},
|
|
267
325
|
/**
|
|
268
326
|
* Returns all activity types.
|
|
269
327
|
* @summary Get all activity types
|
|
@@ -273,6 +331,9 @@ const ActivityTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
273
331
|
getActivityTypes() {
|
|
274
332
|
return localVarFp.getActivityTypes().then((request) => request(axios, basePath));
|
|
275
333
|
},
|
|
334
|
+
getActivityTypesWithHttpInfo() {
|
|
335
|
+
return localVarFp.getActivityTypesWithHttpInfo().then((request) => request(axios, basePath));
|
|
336
|
+
},
|
|
276
337
|
/**
|
|
277
338
|
* Updates an activity type.
|
|
278
339
|
* @summary Update an activity type
|
|
@@ -283,6 +344,9 @@ const ActivityTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
283
344
|
updateActivityType(requestParameters) {
|
|
284
345
|
return localVarFp.updateActivityType(requestParameters.id, requestParameters.UpdateActivityTypeRequest).then((request) => request(axios, basePath));
|
|
285
346
|
},
|
|
347
|
+
updateActivityTypeWithHttpInfo(requestParameters) {
|
|
348
|
+
return localVarFp.updateActivityTypeWithHttpInfo(requestParameters.id, requestParameters.UpdateActivityTypeRequest).then((request) => request(axios, basePath));
|
|
349
|
+
},
|
|
286
350
|
};
|
|
287
351
|
};
|
|
288
352
|
exports.ActivityTypesApiFactory = ActivityTypesApiFactory;
|
|
@@ -304,6 +368,17 @@ class ActivityTypesApi extends base_1.BaseAPI {
|
|
|
304
368
|
addActivityType(requestParameters = {}) {
|
|
305
369
|
return (0, exports.ActivityTypesApiFp)(this.configuration).addActivityType(requestParameters.AddActivityTypeRequest).then((request) => request(this.axios, this.basePath));
|
|
306
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* Same as `addActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
373
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
374
|
+
* @param {ActivityTypesApiAddActivityTypeRequest} requestParameters Request parameters.
|
|
375
|
+
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
* @memberof ActivityTypesApi
|
|
378
|
+
*/
|
|
379
|
+
addActivityTypeWithHttpInfo(requestParameters = {}) {
|
|
380
|
+
return (0, exports.ActivityTypesApiFp)(this.configuration).addActivityTypeWithHttpInfo(requestParameters.AddActivityTypeRequest).then((request) => request(this.axios, this.basePath));
|
|
381
|
+
}
|
|
307
382
|
/**
|
|
308
383
|
* Marks an activity type as deleted.
|
|
309
384
|
* @summary Delete an activity type
|
|
@@ -315,6 +390,17 @@ class ActivityTypesApi extends base_1.BaseAPI {
|
|
|
315
390
|
deleteActivityType(requestParameters) {
|
|
316
391
|
return (0, exports.ActivityTypesApiFp)(this.configuration).deleteActivityType(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
317
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* Same as `deleteActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
395
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
396
|
+
* @param {ActivityTypesApiDeleteActivityTypeRequest} requestParameters Request parameters.
|
|
397
|
+
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
* @memberof ActivityTypesApi
|
|
400
|
+
*/
|
|
401
|
+
deleteActivityTypeWithHttpInfo(requestParameters) {
|
|
402
|
+
return (0, exports.ActivityTypesApiFp)(this.configuration).deleteActivityTypeWithHttpInfo(requestParameters.id).then((request) => request(this.axios, this.basePath));
|
|
403
|
+
}
|
|
318
404
|
/**
|
|
319
405
|
* Returns all activity types.
|
|
320
406
|
* @summary Get all activity types
|
|
@@ -325,6 +411,16 @@ class ActivityTypesApi extends base_1.BaseAPI {
|
|
|
325
411
|
getActivityTypes() {
|
|
326
412
|
return (0, exports.ActivityTypesApiFp)(this.configuration).getActivityTypes().then((request) => request(this.axios, this.basePath));
|
|
327
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
* Same as `getActivityTypes`, but resolves with the response body together with the HTTP status and headers.
|
|
416
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
417
|
+
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
* @memberof ActivityTypesApi
|
|
420
|
+
*/
|
|
421
|
+
getActivityTypesWithHttpInfo() {
|
|
422
|
+
return (0, exports.ActivityTypesApiFp)(this.configuration).getActivityTypesWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
423
|
+
}
|
|
328
424
|
/**
|
|
329
425
|
* Updates an activity type.
|
|
330
426
|
* @summary Update an activity type
|
|
@@ -336,5 +432,16 @@ class ActivityTypesApi extends base_1.BaseAPI {
|
|
|
336
432
|
updateActivityType(requestParameters) {
|
|
337
433
|
return (0, exports.ActivityTypesApiFp)(this.configuration).updateActivityType(requestParameters.id, requestParameters.UpdateActivityTypeRequest).then((request) => request(this.axios, this.basePath));
|
|
338
434
|
}
|
|
435
|
+
/**
|
|
436
|
+
* Same as `updateActivityType`, but resolves with the response body together with the HTTP status and headers.
|
|
437
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
438
|
+
* @param {ActivityTypesApiUpdateActivityTypeRequest} requestParameters Request parameters.
|
|
439
|
+
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
* @memberof ActivityTypesApi
|
|
442
|
+
*/
|
|
443
|
+
updateActivityTypeWithHttpInfo(requestParameters) {
|
|
444
|
+
return (0, exports.ActivityTypesApiFp)(this.configuration).updateActivityTypeWithHttpInfo(requestParameters.id, requestParameters.UpdateActivityTypeRequest).then((request) => request(this.axios, this.basePath));
|
|
445
|
+
}
|
|
339
446
|
}
|
|
340
447
|
exports.ActivityTypesApi = ActivityTypesApi;
|
|
@@ -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 { GetSubscriptionAddonsResponse } from '../models';
|
|
16
16
|
/**
|
|
17
17
|
* BillingApi - axios parameter creator
|
|
@@ -38,6 +38,13 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
40
40
|
getCompanyAddons(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetSubscriptionAddonsResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Same as `getCompanyAddons`, but resolves with the response body together with the HTTP status and headers.
|
|
43
|
+
* @summary Get all add-ons for a single company
|
|
44
|
+
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
getCompanyAddonsWithHttpInfo(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetSubscriptionAddonsResponse>>>;
|
|
41
48
|
};
|
|
42
49
|
/**
|
|
43
50
|
* BillingApi - factory interface
|
|
@@ -51,6 +58,7 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
|
|
|
51
58
|
* @throws {RequiredError}
|
|
52
59
|
*/
|
|
53
60
|
getCompanyAddons(): Promise<GetSubscriptionAddonsResponse>;
|
|
61
|
+
getCompanyAddonsWithHttpInfo(): Promise<ApiResponse<GetSubscriptionAddonsResponse>>;
|
|
54
62
|
};
|
|
55
63
|
/**
|
|
56
64
|
* BillingApi - object-oriented interface
|
|
@@ -67,4 +75,12 @@ export declare class BillingApi extends BaseAPI {
|
|
|
67
75
|
* @memberof BillingApi
|
|
68
76
|
*/
|
|
69
77
|
getCompanyAddons(): Promise<GetSubscriptionAddonsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Same as `getCompanyAddons`, 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 BillingApi
|
|
84
|
+
*/
|
|
85
|
+
getCompanyAddonsWithHttpInfo(): Promise<ApiResponse<GetSubscriptionAddonsResponse>>;
|
|
70
86
|
}
|
|
@@ -90,6 +90,18 @@ const BillingApiFp = 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 `getCompanyAddons`, but resolves with the response body together with the HTTP status and headers.
|
|
95
|
+
* @summary Get all add-ons for a single company
|
|
96
|
+
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
getCompanyAddonsWithHttpInfo() {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompanyAddons();
|
|
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.BillingApiFp = BillingApiFp;
|
|
@@ -109,6 +121,9 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
109
121
|
getCompanyAddons() {
|
|
110
122
|
return localVarFp.getCompanyAddons().then((request) => request(axios, basePath));
|
|
111
123
|
},
|
|
124
|
+
getCompanyAddonsWithHttpInfo() {
|
|
125
|
+
return localVarFp.getCompanyAddonsWithHttpInfo().then((request) => request(axios, basePath));
|
|
126
|
+
},
|
|
112
127
|
};
|
|
113
128
|
};
|
|
114
129
|
exports.BillingApiFactory = BillingApiFactory;
|
|
@@ -129,5 +144,15 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
129
144
|
getCompanyAddons() {
|
|
130
145
|
return (0, exports.BillingApiFp)(this.configuration).getCompanyAddons().then((request) => request(this.axios, this.basePath));
|
|
131
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Same as `getCompanyAddons`, 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 BillingApi
|
|
153
|
+
*/
|
|
154
|
+
getCompanyAddonsWithHttpInfo() {
|
|
155
|
+
return (0, exports.BillingApiFp)(this.configuration).getCompanyAddonsWithHttpInfo().then((request) => request(this.axios, this.basePath));
|
|
156
|
+
}
|
|
132
157
|
}
|
|
133
158
|
exports.BillingApi = BillingApi;
|
|
@@ -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 { AddCallLogRequest } from '../models';
|
|
16
16
|
import { BaseResponse } from '../models';
|
|
17
17
|
import { GetCallLogResponse } from '../models';
|
|
@@ -77,6 +77,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
|
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
79
79
|
addCallLog(AddCallLogRequest?: AddCallLogRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogResponse>>;
|
|
80
|
+
/**
|
|
81
|
+
* Same as `addCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
82
|
+
* @summary Add a call log
|
|
83
|
+
* @param {AddCallLogRequest} [AddCallLogRequest]
|
|
84
|
+
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
addCallLogWithHttpInfo(AddCallLogRequest?: AddCallLogRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogResponse>>>;
|
|
80
88
|
/**
|
|
81
89
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
82
90
|
* @summary Attach an audio file to the call log
|
|
@@ -86,6 +94,15 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
|
|
|
86
94
|
* @throws {RequiredError}
|
|
87
95
|
*/
|
|
88
96
|
addCallLogAudioFile(id: string, file: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
|
|
97
|
+
/**
|
|
98
|
+
* Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
|
|
99
|
+
* @summary Attach an audio file to the call log
|
|
100
|
+
* @param {string} id The ID received when you create the call log
|
|
101
|
+
* @param {File} file Audio file supported by the HTML5 specification
|
|
102
|
+
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
addCallLogAudioFileWithHttpInfo(id: string, file: File): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
|
|
89
106
|
/**
|
|
90
107
|
* 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.
|
|
91
108
|
* @summary Delete a call log
|
|
@@ -94,6 +111,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
|
|
|
94
111
|
* @throws {RequiredError}
|
|
95
112
|
*/
|
|
96
113
|
deleteCallLog(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<BaseResponse>>;
|
|
114
|
+
/**
|
|
115
|
+
* Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
116
|
+
* @summary Delete a call log
|
|
117
|
+
* @param {string} id The ID received when you create the call log
|
|
118
|
+
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
deleteCallLogWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<BaseResponse>>>;
|
|
97
122
|
/**
|
|
98
123
|
* Returns details of a specific call log.
|
|
99
124
|
* @summary Get details of a call log
|
|
@@ -102,6 +127,14 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
|
|
|
102
127
|
* @throws {RequiredError}
|
|
103
128
|
*/
|
|
104
129
|
getCallLog(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogResponse>>;
|
|
130
|
+
/**
|
|
131
|
+
* Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
132
|
+
* @summary Get details of a call log
|
|
133
|
+
* @param {string} id The ID received when you create the call log
|
|
134
|
+
|
|
135
|
+
* @throws {RequiredError}
|
|
136
|
+
*/
|
|
137
|
+
getCallLogWithHttpInfo(id: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogResponse>>>;
|
|
105
138
|
/**
|
|
106
139
|
* Returns all call logs assigned to a particular user.
|
|
107
140
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -111,6 +144,15 @@ export declare const CallLogsApiFp: (configuration?: Configuration) => {
|
|
|
111
144
|
* @throws {RequiredError}
|
|
112
145
|
*/
|
|
113
146
|
getUserCallLogs(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<GetCallLogsResponse>>;
|
|
147
|
+
/**
|
|
148
|
+
* Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
|
|
149
|
+
* @summary Get all call logs assigned to a particular user
|
|
150
|
+
* @param {number} [start] Pagination start
|
|
151
|
+
* @param {number} [limit] For pagination, the limit of entries to be returned. The upper limit is 50.
|
|
152
|
+
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
getUserCallLogsWithHttpInfo(start?: number, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<ApiResponse<GetCallLogsResponse>>>;
|
|
114
156
|
};
|
|
115
157
|
/**
|
|
116
158
|
* CallLogsApi - factory interface
|
|
@@ -125,6 +167,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
|
|
|
125
167
|
* @throws {RequiredError}
|
|
126
168
|
*/
|
|
127
169
|
addCallLog(requestParameters?: CallLogsApiAddCallLogRequest): Promise<GetCallLogResponse>;
|
|
170
|
+
addCallLogWithHttpInfo(requestParameters?: CallLogsApiAddCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
|
|
128
171
|
/**
|
|
129
172
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
130
173
|
* @summary Attach an audio file to the call log
|
|
@@ -133,6 +176,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
|
|
|
133
176
|
* @throws {RequiredError}
|
|
134
177
|
*/
|
|
135
178
|
addCallLogAudioFile(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<BaseResponse>;
|
|
179
|
+
addCallLogAudioFileWithHttpInfo(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<ApiResponse<BaseResponse>>;
|
|
136
180
|
/**
|
|
137
181
|
* 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.
|
|
138
182
|
* @summary Delete a call log
|
|
@@ -141,6 +185,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
|
|
|
141
185
|
* @throws {RequiredError}
|
|
142
186
|
*/
|
|
143
187
|
deleteCallLog(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<BaseResponse>;
|
|
188
|
+
deleteCallLogWithHttpInfo(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<ApiResponse<BaseResponse>>;
|
|
144
189
|
/**
|
|
145
190
|
* Returns details of a specific call log.
|
|
146
191
|
* @summary Get details of a call log
|
|
@@ -149,6 +194,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
|
|
|
149
194
|
* @throws {RequiredError}
|
|
150
195
|
*/
|
|
151
196
|
getCallLog(requestParameters: CallLogsApiGetCallLogRequest): Promise<GetCallLogResponse>;
|
|
197
|
+
getCallLogWithHttpInfo(requestParameters: CallLogsApiGetCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
|
|
152
198
|
/**
|
|
153
199
|
* Returns all call logs assigned to a particular user.
|
|
154
200
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -157,6 +203,7 @@ export declare const CallLogsApiFactory: (configuration?: Configuration, basePat
|
|
|
157
203
|
* @throws {RequiredError}
|
|
158
204
|
*/
|
|
159
205
|
getUserCallLogs(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<GetCallLogsResponse>;
|
|
206
|
+
getUserCallLogsWithHttpInfo(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<ApiResponse<GetCallLogsResponse>>;
|
|
160
207
|
};
|
|
161
208
|
/**
|
|
162
209
|
* Request parameters for addCallLog operation in CallLogsApi.
|
|
@@ -251,6 +298,15 @@ export declare class CallLogsApi extends BaseAPI {
|
|
|
251
298
|
* @memberof CallLogsApi
|
|
252
299
|
*/
|
|
253
300
|
addCallLog(requestParameters?: CallLogsApiAddCallLogRequest): Promise<GetCallLogResponse>;
|
|
301
|
+
/**
|
|
302
|
+
* Same as `addCallLog`, 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 {CallLogsApiAddCallLogRequest} requestParameters Request parameters.
|
|
305
|
+
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
* @memberof CallLogsApi
|
|
308
|
+
*/
|
|
309
|
+
addCallLogWithHttpInfo(requestParameters?: CallLogsApiAddCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
|
|
254
310
|
/**
|
|
255
311
|
* Adds an audio recording to the call log. That audio can be played by those who have access to the call log object.
|
|
256
312
|
* @summary Attach an audio file to the call log
|
|
@@ -260,6 +316,15 @@ export declare class CallLogsApi extends BaseAPI {
|
|
|
260
316
|
* @memberof CallLogsApi
|
|
261
317
|
*/
|
|
262
318
|
addCallLogAudioFile(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<BaseResponse>;
|
|
319
|
+
/**
|
|
320
|
+
* Same as `addCallLogAudioFile`, but resolves with the response body together with the HTTP status and headers.
|
|
321
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
322
|
+
* @param {CallLogsApiAddCallLogAudioFileRequest} requestParameters Request parameters.
|
|
323
|
+
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
* @memberof CallLogsApi
|
|
326
|
+
*/
|
|
327
|
+
addCallLogAudioFileWithHttpInfo(requestParameters: CallLogsApiAddCallLogAudioFileRequest): Promise<ApiResponse<BaseResponse>>;
|
|
263
328
|
/**
|
|
264
329
|
* 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.
|
|
265
330
|
* @summary Delete a call log
|
|
@@ -269,6 +334,15 @@ export declare class CallLogsApi extends BaseAPI {
|
|
|
269
334
|
* @memberof CallLogsApi
|
|
270
335
|
*/
|
|
271
336
|
deleteCallLog(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<BaseResponse>;
|
|
337
|
+
/**
|
|
338
|
+
* Same as `deleteCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
339
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
340
|
+
* @param {CallLogsApiDeleteCallLogRequest} requestParameters Request parameters.
|
|
341
|
+
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
* @memberof CallLogsApi
|
|
344
|
+
*/
|
|
345
|
+
deleteCallLogWithHttpInfo(requestParameters: CallLogsApiDeleteCallLogRequest): Promise<ApiResponse<BaseResponse>>;
|
|
272
346
|
/**
|
|
273
347
|
* Returns details of a specific call log.
|
|
274
348
|
* @summary Get details of a call log
|
|
@@ -278,6 +352,15 @@ export declare class CallLogsApi extends BaseAPI {
|
|
|
278
352
|
* @memberof CallLogsApi
|
|
279
353
|
*/
|
|
280
354
|
getCallLog(requestParameters: CallLogsApiGetCallLogRequest): Promise<GetCallLogResponse>;
|
|
355
|
+
/**
|
|
356
|
+
* Same as `getCallLog`, but resolves with the response body together with the HTTP status and headers.
|
|
357
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
358
|
+
* @param {CallLogsApiGetCallLogRequest} requestParameters Request parameters.
|
|
359
|
+
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
* @memberof CallLogsApi
|
|
362
|
+
*/
|
|
363
|
+
getCallLogWithHttpInfo(requestParameters: CallLogsApiGetCallLogRequest): Promise<ApiResponse<GetCallLogResponse>>;
|
|
281
364
|
/**
|
|
282
365
|
* Returns all call logs assigned to a particular user.
|
|
283
366
|
* @summary Get all call logs assigned to a particular user
|
|
@@ -287,4 +370,13 @@ export declare class CallLogsApi extends BaseAPI {
|
|
|
287
370
|
* @memberof CallLogsApi
|
|
288
371
|
*/
|
|
289
372
|
getUserCallLogs(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<GetCallLogsResponse>;
|
|
373
|
+
/**
|
|
374
|
+
* Same as `getUserCallLogs`, but resolves with the response body together with the HTTP status and headers.
|
|
375
|
+
* Error rejections keep their usual shape and additionally carry `$response: { status, headers }`.
|
|
376
|
+
* @param {CallLogsApiGetUserCallLogsRequest} requestParameters Request parameters.
|
|
377
|
+
|
|
378
|
+
* @throws {RequiredError}
|
|
379
|
+
* @memberof CallLogsApi
|
|
380
|
+
*/
|
|
381
|
+
getUserCallLogsWithHttpInfo(requestParameters?: CallLogsApiGetUserCallLogsRequest): Promise<ApiResponse<GetCallLogsResponse>>;
|
|
290
382
|
}
|