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