@emilgroup/tenant-sdk 1.0.0 → 1.0.1
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/.openapi-generator/FILES +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +31 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +1 -2
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
package/api/data-report-api.ts
CHANGED
|
@@ -45,12 +45,14 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
45
45
|
/**
|
|
46
46
|
* This will create a data report for tenant in the database
|
|
47
47
|
* @summary Create the data-report
|
|
48
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
49
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
49
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
createCustomSchema: async (
|
|
53
|
+
createCustomSchema: async (authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
55
|
+
assertParamExists('createCustomSchema', 'authorization', authorization)
|
|
54
56
|
// verify required parameter 'createDataReportRequestDto' is not null or undefined
|
|
55
57
|
assertParamExists('createCustomSchema', 'createDataReportRequestDto', createDataReportRequestDto)
|
|
56
58
|
const localVarPath = `/tenantservice/v1/data-reports`;
|
|
@@ -91,12 +93,14 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
91
93
|
},
|
|
92
94
|
/**
|
|
93
95
|
*
|
|
96
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
97
|
* @param {string} id
|
|
95
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
98
|
* @param {*} [options] Override http request option.
|
|
97
99
|
* @throws {RequiredError}
|
|
98
100
|
*/
|
|
99
|
-
deleteAlert: async (
|
|
101
|
+
deleteAlert: async (authorization: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
103
|
+
assertParamExists('deleteAlert', 'authorization', authorization)
|
|
100
104
|
// verify required parameter 'id' is not null or undefined
|
|
101
105
|
assertParamExists('deleteAlert', 'id', id)
|
|
102
106
|
const localVarPath = `/tenantservice/v1/data-reports/{id}`
|
|
@@ -136,13 +140,15 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
136
140
|
/**
|
|
137
141
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
138
142
|
* @summary Retrieve the data-report
|
|
143
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
139
144
|
* @param {string} code Unique identifier for the object.
|
|
140
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
145
|
* @param {string} [expand] Fields to expand response by
|
|
142
146
|
* @param {*} [options] Override http request option.
|
|
143
147
|
* @throws {RequiredError}
|
|
144
148
|
*/
|
|
145
|
-
getDataReport: async (
|
|
149
|
+
getDataReport: async (authorization: string, code: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
151
|
+
assertParamExists('getDataReport', 'authorization', authorization)
|
|
146
152
|
// verify required parameter 'code' is not null or undefined
|
|
147
153
|
assertParamExists('getDataReport', 'code', code)
|
|
148
154
|
const localVarPath = `/tenantservice/v1/data-reports/{code}`
|
|
@@ -186,7 +192,7 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
186
192
|
/**
|
|
187
193
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
188
194
|
* @summary List data-reports
|
|
189
|
-
* @param {string}
|
|
195
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
196
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
191
197
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
192
198
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -196,7 +202,9 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
196
202
|
* @param {*} [options] Override http request option.
|
|
197
203
|
* @throws {RequiredError}
|
|
198
204
|
*/
|
|
199
|
-
listDataReports: async (authorization
|
|
205
|
+
listDataReports: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
206
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
207
|
+
assertParamExists('listDataReports', 'authorization', authorization)
|
|
200
208
|
const localVarPath = `/tenantservice/v1/data-reports`;
|
|
201
209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -257,13 +265,15 @@ export const DataReportApiAxiosParamCreator = function (configuration?: Configur
|
|
|
257
265
|
/**
|
|
258
266
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
259
267
|
* @summary Update the data-report
|
|
268
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
269
|
* @param {string} code
|
|
261
270
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
262
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
263
271
|
* @param {*} [options] Override http request option.
|
|
264
272
|
* @throws {RequiredError}
|
|
265
273
|
*/
|
|
266
|
-
updateDataReport: async (code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
274
|
+
updateDataReport: async (authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
275
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
276
|
+
assertParamExists('updateDataReport', 'authorization', authorization)
|
|
267
277
|
// verify required parameter 'code' is not null or undefined
|
|
268
278
|
assertParamExists('updateDataReport', 'code', code)
|
|
269
279
|
// verify required parameter 'updateDataReportRequestDto' is not null or undefined
|
|
@@ -318,43 +328,43 @@ export const DataReportApiFp = function(configuration?: Configuration) {
|
|
|
318
328
|
/**
|
|
319
329
|
* This will create a data report for tenant in the database
|
|
320
330
|
* @summary Create the data-report
|
|
331
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
332
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
322
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
323
333
|
* @param {*} [options] Override http request option.
|
|
324
334
|
* @throws {RequiredError}
|
|
325
335
|
*/
|
|
326
|
-
async createCustomSchema(
|
|
327
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(
|
|
336
|
+
async createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>> {
|
|
337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(authorization, createDataReportRequestDto, options);
|
|
328
338
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
329
339
|
},
|
|
330
340
|
/**
|
|
331
341
|
*
|
|
342
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
343
|
* @param {string} id
|
|
333
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
334
344
|
* @param {*} [options] Override http request option.
|
|
335
345
|
* @throws {RequiredError}
|
|
336
346
|
*/
|
|
337
|
-
async deleteAlert(
|
|
338
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlert(
|
|
347
|
+
async deleteAlert(authorization: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlert(authorization, id, options);
|
|
339
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
340
350
|
},
|
|
341
351
|
/**
|
|
342
352
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
343
353
|
* @summary Retrieve the data-report
|
|
354
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
355
|
* @param {string} code Unique identifier for the object.
|
|
345
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
356
|
* @param {string} [expand] Fields to expand response by
|
|
347
357
|
* @param {*} [options] Override http request option.
|
|
348
358
|
* @throws {RequiredError}
|
|
349
359
|
*/
|
|
350
|
-
async getDataReport(
|
|
351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataReport(
|
|
360
|
+
async getDataReport(authorization: string, code: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDataReportResponseClass>> {
|
|
361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDataReport(authorization, code, expand, options);
|
|
352
362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
353
363
|
},
|
|
354
364
|
/**
|
|
355
365
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
356
366
|
* @summary List data-reports
|
|
357
|
-
* @param {string}
|
|
367
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
358
368
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
359
369
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
360
370
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -364,21 +374,21 @@ export const DataReportApiFp = function(configuration?: Configuration) {
|
|
|
364
374
|
* @param {*} [options] Override http request option.
|
|
365
375
|
* @throws {RequiredError}
|
|
366
376
|
*/
|
|
367
|
-
async listDataReports(authorization
|
|
377
|
+
async listDataReports(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>> {
|
|
368
378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
369
379
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
380
|
},
|
|
371
381
|
/**
|
|
372
382
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
373
383
|
* @summary Update the data-report
|
|
384
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
385
|
* @param {string} code
|
|
375
386
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
376
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
387
|
* @param {*} [options] Override http request option.
|
|
378
388
|
* @throws {RequiredError}
|
|
379
389
|
*/
|
|
380
|
-
async updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
381
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataReport(code, updateDataReportRequestDto,
|
|
390
|
+
async updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDataReportResponseClass>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataReport(authorization, code, updateDataReportRequestDto, options);
|
|
382
392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
383
393
|
},
|
|
384
394
|
}
|
|
@@ -394,40 +404,40 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
394
404
|
/**
|
|
395
405
|
* This will create a data report for tenant in the database
|
|
396
406
|
* @summary Create the data-report
|
|
407
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
397
408
|
* @param {CreateDataReportRequestDto} createDataReportRequestDto
|
|
398
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
399
409
|
* @param {*} [options] Override http request option.
|
|
400
410
|
* @throws {RequiredError}
|
|
401
411
|
*/
|
|
402
|
-
createCustomSchema(
|
|
403
|
-
return localVarFp.createCustomSchema(
|
|
412
|
+
createCustomSchema(authorization: string, createDataReportRequestDto: CreateDataReportRequestDto, options?: any): AxiosPromise<CreateDataReportResponseClass> {
|
|
413
|
+
return localVarFp.createCustomSchema(authorization, createDataReportRequestDto, options).then((request) => request(axios, basePath));
|
|
404
414
|
},
|
|
405
415
|
/**
|
|
406
416
|
*
|
|
417
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
407
418
|
* @param {string} id
|
|
408
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
409
419
|
* @param {*} [options] Override http request option.
|
|
410
420
|
* @throws {RequiredError}
|
|
411
421
|
*/
|
|
412
|
-
deleteAlert(
|
|
413
|
-
return localVarFp.deleteAlert(
|
|
422
|
+
deleteAlert(authorization: string, id: string, options?: any): AxiosPromise<void> {
|
|
423
|
+
return localVarFp.deleteAlert(authorization, id, options).then((request) => request(axios, basePath));
|
|
414
424
|
},
|
|
415
425
|
/**
|
|
416
426
|
* Retrieves the details of the data-report that was previously created. Supply the unique data-report code that was returned when you created it and Emil Api will return the corresponding data-report information.
|
|
417
427
|
* @summary Retrieve the data-report
|
|
428
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
418
429
|
* @param {string} code Unique identifier for the object.
|
|
419
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
420
430
|
* @param {string} [expand] Fields to expand response by
|
|
421
431
|
* @param {*} [options] Override http request option.
|
|
422
432
|
* @throws {RequiredError}
|
|
423
433
|
*/
|
|
424
|
-
getDataReport(
|
|
425
|
-
return localVarFp.getDataReport(
|
|
434
|
+
getDataReport(authorization: string, code: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass> {
|
|
435
|
+
return localVarFp.getDataReport(authorization, code, expand, options).then((request) => request(axios, basePath));
|
|
426
436
|
},
|
|
427
437
|
/**
|
|
428
438
|
* Returns a list of data-reports you have previously created. The data-reports are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
429
439
|
* @summary List data-reports
|
|
430
|
-
* @param {string}
|
|
440
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
431
441
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
432
442
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
433
443
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -437,20 +447,20 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
437
447
|
* @param {*} [options] Override http request option.
|
|
438
448
|
* @throws {RequiredError}
|
|
439
449
|
*/
|
|
440
|
-
listDataReports(authorization
|
|
450
|
+
listDataReports(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass> {
|
|
441
451
|
return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
442
452
|
},
|
|
443
453
|
/**
|
|
444
454
|
* Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
445
455
|
* @summary Update the data-report
|
|
456
|
+
* @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
|
|
446
457
|
* @param {string} code
|
|
447
458
|
* @param {UpdateDataReportRequestDto} updateDataReportRequestDto
|
|
448
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
459
|
* @param {*} [options] Override http request option.
|
|
450
460
|
* @throws {RequiredError}
|
|
451
461
|
*/
|
|
452
|
-
updateDataReport(code: string, updateDataReportRequestDto: UpdateDataReportRequestDto,
|
|
453
|
-
return localVarFp.updateDataReport(code, updateDataReportRequestDto,
|
|
462
|
+
updateDataReport(authorization: string, code: string, updateDataReportRequestDto: UpdateDataReportRequestDto, options?: any): AxiosPromise<UpdateDataReportResponseClass> {
|
|
463
|
+
return localVarFp.updateDataReport(authorization, code, updateDataReportRequestDto, options).then((request) => request(axios, basePath));
|
|
454
464
|
},
|
|
455
465
|
};
|
|
456
466
|
};
|
|
@@ -462,18 +472,18 @@ export const DataReportApiFactory = function (configuration?: Configuration, bas
|
|
|
462
472
|
*/
|
|
463
473
|
export interface DataReportApiCreateCustomSchemaRequest {
|
|
464
474
|
/**
|
|
465
|
-
*
|
|
466
|
-
* @type {
|
|
475
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
476
|
+
* @type {string}
|
|
467
477
|
* @memberof DataReportApiCreateCustomSchema
|
|
468
478
|
*/
|
|
469
|
-
readonly
|
|
479
|
+
readonly authorization: string
|
|
470
480
|
|
|
471
481
|
/**
|
|
472
|
-
*
|
|
473
|
-
* @type {
|
|
482
|
+
*
|
|
483
|
+
* @type {CreateDataReportRequestDto}
|
|
474
484
|
* @memberof DataReportApiCreateCustomSchema
|
|
475
485
|
*/
|
|
476
|
-
readonly
|
|
486
|
+
readonly createDataReportRequestDto: CreateDataReportRequestDto
|
|
477
487
|
}
|
|
478
488
|
|
|
479
489
|
/**
|
|
@@ -483,18 +493,18 @@ export interface DataReportApiCreateCustomSchemaRequest {
|
|
|
483
493
|
*/
|
|
484
494
|
export interface DataReportApiDeleteAlertRequest {
|
|
485
495
|
/**
|
|
486
|
-
*
|
|
496
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
487
497
|
* @type {string}
|
|
488
498
|
* @memberof DataReportApiDeleteAlert
|
|
489
499
|
*/
|
|
490
|
-
readonly
|
|
500
|
+
readonly authorization: string
|
|
491
501
|
|
|
492
502
|
/**
|
|
493
|
-
*
|
|
503
|
+
*
|
|
494
504
|
* @type {string}
|
|
495
505
|
* @memberof DataReportApiDeleteAlert
|
|
496
506
|
*/
|
|
497
|
-
readonly
|
|
507
|
+
readonly id: string
|
|
498
508
|
}
|
|
499
509
|
|
|
500
510
|
/**
|
|
@@ -504,18 +514,18 @@ export interface DataReportApiDeleteAlertRequest {
|
|
|
504
514
|
*/
|
|
505
515
|
export interface DataReportApiGetDataReportRequest {
|
|
506
516
|
/**
|
|
507
|
-
*
|
|
517
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
508
518
|
* @type {string}
|
|
509
519
|
* @memberof DataReportApiGetDataReport
|
|
510
520
|
*/
|
|
511
|
-
readonly
|
|
521
|
+
readonly authorization: string
|
|
512
522
|
|
|
513
523
|
/**
|
|
514
|
-
*
|
|
524
|
+
* Unique identifier for the object.
|
|
515
525
|
* @type {string}
|
|
516
526
|
* @memberof DataReportApiGetDataReport
|
|
517
527
|
*/
|
|
518
|
-
readonly
|
|
528
|
+
readonly code: string
|
|
519
529
|
|
|
520
530
|
/**
|
|
521
531
|
* Fields to expand response by
|
|
@@ -536,7 +546,7 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
536
546
|
* @type {string}
|
|
537
547
|
* @memberof DataReportApiListDataReports
|
|
538
548
|
*/
|
|
539
|
-
readonly authorization
|
|
549
|
+
readonly authorization: string
|
|
540
550
|
|
|
541
551
|
/**
|
|
542
552
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -588,25 +598,25 @@ export interface DataReportApiListDataReportsRequest {
|
|
|
588
598
|
*/
|
|
589
599
|
export interface DataReportApiUpdateDataReportRequest {
|
|
590
600
|
/**
|
|
591
|
-
*
|
|
601
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
592
602
|
* @type {string}
|
|
593
603
|
* @memberof DataReportApiUpdateDataReport
|
|
594
604
|
*/
|
|
595
|
-
readonly
|
|
605
|
+
readonly authorization: string
|
|
596
606
|
|
|
597
607
|
/**
|
|
598
608
|
*
|
|
599
|
-
* @type {
|
|
609
|
+
* @type {string}
|
|
600
610
|
* @memberof DataReportApiUpdateDataReport
|
|
601
611
|
*/
|
|
602
|
-
readonly
|
|
612
|
+
readonly code: string
|
|
603
613
|
|
|
604
614
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @type {
|
|
615
|
+
*
|
|
616
|
+
* @type {UpdateDataReportRequestDto}
|
|
607
617
|
* @memberof DataReportApiUpdateDataReport
|
|
608
618
|
*/
|
|
609
|
-
readonly
|
|
619
|
+
readonly updateDataReportRequestDto: UpdateDataReportRequestDto
|
|
610
620
|
}
|
|
611
621
|
|
|
612
622
|
/**
|
|
@@ -625,7 +635,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
625
635
|
* @memberof DataReportApi
|
|
626
636
|
*/
|
|
627
637
|
public createCustomSchema(requestParameters: DataReportApiCreateCustomSchemaRequest, options?: AxiosRequestConfig) {
|
|
628
|
-
return DataReportApiFp(this.configuration).createCustomSchema(requestParameters.
|
|
638
|
+
return DataReportApiFp(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createDataReportRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
629
639
|
}
|
|
630
640
|
|
|
631
641
|
/**
|
|
@@ -636,7 +646,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
636
646
|
* @memberof DataReportApi
|
|
637
647
|
*/
|
|
638
648
|
public deleteAlert(requestParameters: DataReportApiDeleteAlertRequest, options?: AxiosRequestConfig) {
|
|
639
|
-
return DataReportApiFp(this.configuration).deleteAlert(requestParameters.
|
|
649
|
+
return DataReportApiFp(this.configuration).deleteAlert(requestParameters.authorization, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
640
650
|
}
|
|
641
651
|
|
|
642
652
|
/**
|
|
@@ -648,7 +658,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
648
658
|
* @memberof DataReportApi
|
|
649
659
|
*/
|
|
650
660
|
public getDataReport(requestParameters: DataReportApiGetDataReportRequest, options?: AxiosRequestConfig) {
|
|
651
|
-
return DataReportApiFp(this.configuration).getDataReport(requestParameters.
|
|
661
|
+
return DataReportApiFp(this.configuration).getDataReport(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
652
662
|
}
|
|
653
663
|
|
|
654
664
|
/**
|
|
@@ -659,7 +669,7 @@ export class DataReportApi extends BaseAPI {
|
|
|
659
669
|
* @throws {RequiredError}
|
|
660
670
|
* @memberof DataReportApi
|
|
661
671
|
*/
|
|
662
|
-
public listDataReports(requestParameters: DataReportApiListDataReportsRequest
|
|
672
|
+
public listDataReports(requestParameters: DataReportApiListDataReportsRequest, options?: AxiosRequestConfig) {
|
|
663
673
|
return DataReportApiFp(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
664
674
|
}
|
|
665
675
|
|
|
@@ -672,6 +682,6 @@ export class DataReportApi extends BaseAPI {
|
|
|
672
682
|
* @memberof DataReportApi
|
|
673
683
|
*/
|
|
674
684
|
public updateDataReport(requestParameters: DataReportApiUpdateDataReportRequest, options?: AxiosRequestConfig) {
|
|
675
|
-
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.
|
|
685
|
+
return DataReportApiFp(this.configuration).updateDataReport(requestParameters.authorization, requestParameters.code, requestParameters.updateDataReportRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
676
686
|
}
|
|
677
687
|
}
|
|
@@ -36,12 +36,15 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
39
40
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
40
|
-
* @param {string} [authorization] Bearer Token
|
|
41
|
+
* @param {string} [authorization] Bearer Token
|
|
41
42
|
* @param {*} [options] Override http request option.
|
|
42
43
|
* @throws {RequiredError}
|
|
43
44
|
*/
|
|
44
|
-
runDataReport: async (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
runDataReport: async (authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46
|
+
// verify required parameter 'authorization2' is not null or undefined
|
|
47
|
+
assertParamExists('runDataReport', 'authorization2', authorization2)
|
|
45
48
|
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
46
49
|
assertParamExists('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto)
|
|
47
50
|
const localVarPath = `/tenantservice/v1/data-report-executor`;
|
|
@@ -66,6 +69,10 @@ export const DataReportExecutorApiAxiosParamCreator = function (configuration?:
|
|
|
66
69
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
67
70
|
}
|
|
68
71
|
|
|
72
|
+
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
73
|
+
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
74
|
+
}
|
|
75
|
+
|
|
69
76
|
|
|
70
77
|
|
|
71
78
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -92,13 +99,14 @@ export const DataReportExecutorApiFp = function(configuration?: Configuration) {
|
|
|
92
99
|
return {
|
|
93
100
|
/**
|
|
94
101
|
*
|
|
102
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
103
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
96
|
-
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {string} [authorization] Bearer Token
|
|
97
105
|
* @param {*} [options] Override http request option.
|
|
98
106
|
* @throws {RequiredError}
|
|
99
107
|
*/
|
|
100
|
-
async runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
|
|
101
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options);
|
|
108
|
+
async runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>> {
|
|
109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.runDataReport(authorization2, runDataReportRequestDto, authorization, options);
|
|
102
110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
103
111
|
},
|
|
104
112
|
}
|
|
@@ -113,13 +121,14 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
|
|
|
113
121
|
return {
|
|
114
122
|
/**
|
|
115
123
|
*
|
|
124
|
+
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
125
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
117
|
-
* @param {string} [authorization] Bearer Token
|
|
126
|
+
* @param {string} [authorization] Bearer Token
|
|
118
127
|
* @param {*} [options] Override http request option.
|
|
119
128
|
* @throws {RequiredError}
|
|
120
129
|
*/
|
|
121
|
-
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
|
|
122
|
-
return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
130
|
+
runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass> {
|
|
131
|
+
return localVarFp.runDataReport(authorization2, runDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
123
132
|
},
|
|
124
133
|
};
|
|
125
134
|
};
|
|
@@ -130,6 +139,13 @@ export const DataReportExecutorApiFactory = function (configuration?: Configurat
|
|
|
130
139
|
* @interface DataReportExecutorApiRunDataReportRequest
|
|
131
140
|
*/
|
|
132
141
|
export interface DataReportExecutorApiRunDataReportRequest {
|
|
142
|
+
/**
|
|
143
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof DataReportExecutorApiRunDataReport
|
|
146
|
+
*/
|
|
147
|
+
readonly authorization2: string
|
|
148
|
+
|
|
133
149
|
/**
|
|
134
150
|
*
|
|
135
151
|
* @type {RunDataReportRequestDto}
|
|
@@ -138,7 +154,7 @@ export interface DataReportExecutorApiRunDataReportRequest {
|
|
|
138
154
|
readonly runDataReportRequestDto: RunDataReportRequestDto
|
|
139
155
|
|
|
140
156
|
/**
|
|
141
|
-
* Bearer Token
|
|
157
|
+
* Bearer Token
|
|
142
158
|
* @type {string}
|
|
143
159
|
* @memberof DataReportExecutorApiRunDataReport
|
|
144
160
|
*/
|
|
@@ -160,6 +176,6 @@ export class DataReportExecutorApi extends BaseAPI {
|
|
|
160
176
|
* @memberof DataReportExecutorApi
|
|
161
177
|
*/
|
|
162
178
|
public runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig) {
|
|
163
|
-
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
179
|
+
return DataReportExecutorApiFp(this.configuration).runDataReport(requestParameters.authorization2, requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
164
180
|
}
|
|
165
181
|
}
|