@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.
Files changed (227) hide show
  1. package/.openapi-generator/FILES +57 -14
  2. package/README.md +2 -2
  3. package/api/alerts-api.ts +860 -0
  4. package/api/custom-schema-api.ts +60 -52
  5. package/api/dashboard-api.ts +792 -0
  6. package/api/data-report-api.ts +75 -65
  7. package/api/data-report-executor-api.ts +26 -10
  8. package/api/invite-users-api.ts +79 -75
  9. package/api/reports-api.ts +860 -0
  10. package/api/scenario-analysis-api.ts +977 -0
  11. package/api/settings-api.ts +484 -0
  12. package/api/tariff-comparisons-api.ts +381 -0
  13. package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
  14. package/api/users-api.ts +148 -138
  15. package/api.ts +14 -4
  16. package/dist/api/alerts-api.d.ts +479 -0
  17. package/dist/api/alerts-api.js +752 -0
  18. package/dist/api/custom-schema-api.d.ts +42 -42
  19. package/dist/api/custom-schema-api.js +38 -31
  20. package/dist/api/dashboard-api.d.ts +434 -0
  21. package/dist/api/dashboard-api.js +724 -0
  22. package/dist/api/data-report-api.d.ts +52 -52
  23. package/dist/api/data-report-api.js +49 -40
  24. package/dist/api/data-report-executor-api.d.ts +16 -7
  25. package/dist/api/data-report-executor-api.js +17 -9
  26. package/dist/api/invite-users-api.d.ts +60 -63
  27. package/dist/api/invite-users-api.js +49 -40
  28. package/dist/api/reports-api.d.ts +479 -0
  29. package/dist/api/reports-api.js +752 -0
  30. package/dist/api/scenario-analysis-api.d.ts +529 -0
  31. package/dist/api/scenario-analysis-api.js +895 -0
  32. package/dist/api/settings-api.d.ts +264 -0
  33. package/dist/api/settings-api.js +509 -0
  34. package/dist/api/tariff-comparisons-api.d.ts +206 -0
  35. package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
  36. package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
  37. package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
  38. package/dist/api/users-api.d.ts +109 -113
  39. package/dist/api/users-api.js +93 -76
  40. package/dist/api.d.ts +7 -2
  41. package/dist/api.js +7 -2
  42. package/dist/models/alert-class.d.ts +90 -0
  43. package/dist/models/alert-history-class.d.ts +108 -0
  44. package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
  45. package/dist/models/channel-response-class.d.ts +30 -0
  46. package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
  47. package/dist/models/compare-tariffs-request-dto.js +22 -0
  48. package/dist/models/compare-tariffs-response-class.d.ts +31 -0
  49. package/dist/models/condition-dto.d.ts +43 -0
  50. package/dist/models/condition-dto.js +22 -0
  51. package/dist/models/create-alert-request-dto.d.ts +79 -0
  52. package/dist/models/create-alert-request-dto.js +27 -0
  53. package/dist/models/create-alert-response-class.d.ts +25 -0
  54. package/dist/models/create-custom-schema-request-dto.d.ts +0 -1
  55. package/dist/models/create-custom-schema-request-dto.js +1 -2
  56. package/dist/models/create-dashboard-request-dto.d.ts +70 -0
  57. package/dist/models/create-dashboard-request-dto.js +29 -0
  58. package/dist/models/create-dashboard-response-class.d.ts +25 -0
  59. package/dist/models/create-report-request-dto.d.ts +49 -0
  60. package/dist/models/create-report-request-dto.js +22 -0
  61. package/dist/models/create-report-response-class.d.ts +25 -0
  62. package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
  63. package/dist/models/create-scenario-analysis-request-dto.js +22 -0
  64. package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
  65. package/dist/models/dashboard-class.d.ts +78 -0
  66. package/dist/models/get-alert-response-class.d.ts +25 -0
  67. package/dist/models/get-dashboard-response-class.d.ts +25 -0
  68. package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
  69. package/dist/models/get-report-response-class.d.ts +25 -0
  70. package/dist/models/get-report-response-class.js +15 -0
  71. package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
  72. package/dist/models/get-scenario-analysis-response-class.js +15 -0
  73. package/dist/models/grouped-tariff-class.d.ts +30 -0
  74. package/dist/models/grouped-tariff-class.js +15 -0
  75. package/dist/models/index.d.ts +50 -12
  76. package/dist/models/index.js +50 -12
  77. package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
  78. package/dist/models/insurance-company-response-class.js +15 -0
  79. package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
  80. package/dist/models/insurance-response-class.js +15 -0
  81. package/dist/models/invite-user-request-dto.d.ts +2 -8
  82. package/dist/models/invite-users-request-dto.d.ts +2 -2
  83. package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
  84. package/dist/models/list-alert-history-response-class.js +15 -0
  85. package/dist/models/list-alerts-response-class.d.ts +31 -0
  86. package/dist/models/list-alerts-response-class.js +15 -0
  87. package/dist/models/list-channels-response-class.d.ts +25 -0
  88. package/dist/models/list-channels-response-class.js +15 -0
  89. package/dist/models/list-dashboards-response-class.d.ts +31 -0
  90. package/dist/models/list-dashboards-response-class.js +15 -0
  91. package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
  92. package/dist/models/list-insurance-companies-response-class.js +15 -0
  93. package/dist/models/list-report-history-response-class.d.ts +31 -0
  94. package/dist/models/list-report-history-response-class.js +15 -0
  95. package/dist/models/list-reports-response-class.d.ts +31 -0
  96. package/dist/models/list-reports-response-class.js +15 -0
  97. package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
  98. package/dist/models/list-scenario-analyses-response-class.js +15 -0
  99. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
  100. package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
  101. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
  102. package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
  103. package/dist/models/list-tariffs-response-class.d.ts +25 -0
  104. package/dist/models/list-tariffs-response-class.js +15 -0
  105. package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
  106. package/dist/models/list-user-subscriptions-response-class.js +15 -0
  107. package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
  108. package/dist/models/manage-subscription-request-dto.js +15 -0
  109. package/dist/models/manage-subscription-response-class.d.ts +25 -0
  110. package/dist/models/manage-subscription-response-class.js +15 -0
  111. package/dist/models/report-class.d.ts +66 -0
  112. package/dist/models/report-class.js +15 -0
  113. package/dist/models/report-history-class.d.ts +48 -0
  114. package/dist/models/report-history-class.js +15 -0
  115. package/dist/models/scenario-analysis-class.d.ts +108 -0
  116. package/dist/models/scenario-analysis-class.js +15 -0
  117. package/dist/models/scenario-analysis-date-response-class.d.ts +36 -0
  118. package/dist/models/scenario-analysis-date-response-class.js +15 -0
  119. package/dist/models/set-setting-request-dto.d.ts +4 -10
  120. package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
  121. package/dist/models/set-tenant-setting-response-class.js +15 -0
  122. package/dist/models/subscription-class.d.ts +2 -9
  123. package/dist/models/update-alert-request-dto.d.ts +72 -0
  124. package/dist/models/update-alert-request-dto.js +21 -0
  125. package/dist/models/update-alert-response-class.d.ts +25 -0
  126. package/dist/models/update-alert-response-class.js +15 -0
  127. package/dist/models/update-custom-schema-request-dto.d.ts +0 -1
  128. package/dist/models/update-custom-schema-request-dto.js +1 -2
  129. package/dist/models/update-dashboard-request-dto.d.ts +76 -0
  130. package/dist/models/update-dashboard-request-dto.js +29 -0
  131. package/dist/models/update-dashboard-response-class.d.ts +25 -0
  132. package/dist/models/update-dashboard-response-class.js +15 -0
  133. package/dist/models/update-report-request-dto.d.ts +55 -0
  134. package/dist/models/update-report-request-dto.js +22 -0
  135. package/dist/models/update-report-response-class.d.ts +25 -0
  136. package/dist/models/update-report-response-class.js +15 -0
  137. package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
  138. package/dist/models/update-scenario-analysis-request-dto.js +22 -0
  139. package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
  140. package/dist/models/update-scenario-analysis-response-class.js +15 -0
  141. package/dist/models/user-class.d.ts +5 -13
  142. package/models/alert-class.ts +96 -0
  143. package/models/alert-history-class.ts +114 -0
  144. package/models/assign-user-roles-request-dto.ts +2 -2
  145. package/models/channel-response-class.ts +36 -0
  146. package/models/compare-tariffs-request-dto.ts +46 -0
  147. package/models/compare-tariffs-response-class.ts +37 -0
  148. package/models/condition-dto.ts +52 -0
  149. package/models/create-alert-request-dto.ts +89 -0
  150. package/models/create-alert-response-class.ts +31 -0
  151. package/models/create-custom-schema-request-dto.ts +1 -2
  152. package/models/create-dashboard-request-dto.ts +81 -0
  153. package/models/create-dashboard-response-class.ts +31 -0
  154. package/models/create-report-request-dto.ts +58 -0
  155. package/models/create-report-response-class.ts +31 -0
  156. package/models/create-scenario-analysis-request-dto.ts +83 -0
  157. package/models/create-scenario-analysis-response-class.ts +31 -0
  158. package/models/dashboard-class.ts +84 -0
  159. package/models/get-alert-response-class.ts +31 -0
  160. package/models/get-dashboard-response-class.ts +31 -0
  161. package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
  162. package/models/get-report-response-class.ts +31 -0
  163. package/models/get-scenario-analysis-response-class.ts +31 -0
  164. package/models/grouped-tariff-class.ts +36 -0
  165. package/models/index.ts +50 -12
  166. package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
  167. package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
  168. package/models/invite-user-request-dto.ts +2 -8
  169. package/models/invite-users-request-dto.ts +2 -2
  170. package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
  171. package/models/list-alerts-response-class.ts +37 -0
  172. package/models/list-channels-response-class.ts +31 -0
  173. package/models/list-dashboards-response-class.ts +37 -0
  174. package/models/list-insurance-companies-response-class.ts +31 -0
  175. package/models/list-report-history-response-class.ts +37 -0
  176. package/models/list-reports-response-class.ts +37 -0
  177. package/models/list-scenario-analyses-response-class.ts +37 -0
  178. package/models/list-scenario-analysis-dates-response-class.ts +31 -0
  179. package/models/list-tariff-insurance-companies-response-class.ts +31 -0
  180. package/models/list-tariffs-response-class.ts +31 -0
  181. package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
  182. package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
  183. package/models/manage-subscription-response-class.ts +31 -0
  184. package/models/report-class.ts +72 -0
  185. package/models/report-history-class.ts +54 -0
  186. package/models/scenario-analysis-class.ts +114 -0
  187. package/models/scenario-analysis-date-response-class.ts +42 -0
  188. package/models/set-setting-request-dto.ts +4 -10
  189. package/models/set-tenant-setting-response-class.ts +42 -0
  190. package/models/subscription-class.ts +2 -9
  191. package/models/update-alert-request-dto.ts +81 -0
  192. package/models/update-alert-response-class.ts +31 -0
  193. package/models/update-custom-schema-request-dto.ts +1 -2
  194. package/models/update-dashboard-request-dto.ts +87 -0
  195. package/models/update-dashboard-response-class.ts +31 -0
  196. package/models/update-report-request-dto.ts +64 -0
  197. package/models/update-report-response-class.ts +31 -0
  198. package/models/update-scenario-analysis-request-dto.ts +83 -0
  199. package/models/update-scenario-analysis-response-class.ts +31 -0
  200. package/models/user-class.ts +5 -13
  201. package/package.json +1 -1
  202. package/api/organizations-api.ts +0 -339
  203. package/dist/api/invite-organizations-api.d.ts +0 -198
  204. package/dist/models/get-organization-response-class.d.ts +0 -25
  205. package/dist/models/invite-org-request-dto.d.ts +0 -78
  206. package/dist/models/invite-users-response-class.d.ts +0 -24
  207. package/dist/models/org-invitation-class.d.ts +0 -103
  208. package/dist/models/org-invitation-response-class.d.ts +0 -25
  209. package/dist/models/organization-class.d.ts +0 -84
  210. package/models/get-organization-response-class.ts +0 -31
  211. package/models/invite-org-request-dto.ts +0 -84
  212. package/models/invite-users-response-class.ts +0 -30
  213. package/models/org-invitation-class.ts +0 -109
  214. package/models/org-invitation-response-class.ts +0 -31
  215. package/models/organization-class.ts +0 -90
  216. /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
  217. /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
  218. /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
  219. /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
  220. /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
  221. /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
  222. /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
  223. /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
  224. /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
  225. /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
  226. /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
  227. /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
@@ -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 (createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 (id: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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 (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateDataReportResponseClass>> {
327
- const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(createDataReportRequestDto, authorization, options);
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(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
338
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAlert(id, authorization, options);
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(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);
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} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDataReportsResponseClass>> {
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, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateDataReportResponseClass>> {
381
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateDataReport(code, updateDataReportRequestDto, authorization, options);
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(createDataReportRequestDto: CreateDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<CreateDataReportResponseClass> {
403
- return localVarFp.createCustomSchema(createDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
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(id: string, authorization?: string, options?: any): AxiosPromise<void> {
413
- return localVarFp.deleteAlert(id, authorization, options).then((request) => request(axios, basePath));
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(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetDataReportResponseClass> {
425
- return localVarFp.getDataReport(code, authorization, expand, options).then((request) => request(axios, basePath));
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} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
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&#x3D;1, your subsequent call can include pageToken&#x3D;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?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListDataReportsResponseClass> {
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, authorization?: string, options?: any): AxiosPromise<UpdateDataReportResponseClass> {
453
- return localVarFp.updateDataReport(code, updateDataReportRequestDto, authorization, options).then((request) => request(axios, basePath));
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 {CreateDataReportRequestDto}
475
+ * Bearer Token: provided by the login endpoint under the name accessToken.
476
+ * @type {string}
467
477
  * @memberof DataReportApiCreateCustomSchema
468
478
  */
469
- readonly createDataReportRequestDto: CreateDataReportRequestDto
479
+ readonly authorization: string
470
480
 
471
481
  /**
472
- * Bearer Token: provided by the login endpoint under the name accessToken.
473
- * @type {string}
482
+ *
483
+ * @type {CreateDataReportRequestDto}
474
484
  * @memberof DataReportApiCreateCustomSchema
475
485
  */
476
- readonly authorization?: string
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 id: string
500
+ readonly authorization: string
491
501
 
492
502
  /**
493
- * Bearer Token: provided by the login endpoint under the name accessToken.
503
+ *
494
504
  * @type {string}
495
505
  * @memberof DataReportApiDeleteAlert
496
506
  */
497
- readonly authorization?: string
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
- * Unique identifier for the object.
517
+ * Bearer Token: provided by the login endpoint under the name accessToken.
508
518
  * @type {string}
509
519
  * @memberof DataReportApiGetDataReport
510
520
  */
511
- readonly code: string
521
+ readonly authorization: string
512
522
 
513
523
  /**
514
- * Bearer Token: provided by the login endpoint under the name accessToken.
524
+ * Unique identifier for the object.
515
525
  * @type {string}
516
526
  * @memberof DataReportApiGetDataReport
517
527
  */
518
- readonly authorization?: string
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?: string
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 code: string
605
+ readonly authorization: string
596
606
 
597
607
  /**
598
608
  *
599
- * @type {UpdateDataReportRequestDto}
609
+ * @type {string}
600
610
  * @memberof DataReportApiUpdateDataReport
601
611
  */
602
- readonly updateDataReportRequestDto: UpdateDataReportRequestDto
612
+ readonly code: string
603
613
 
604
614
  /**
605
- * Bearer Token: provided by the login endpoint under the name accessToken.
606
- * @type {string}
615
+ *
616
+ * @type {UpdateDataReportRequestDto}
607
617
  * @memberof DataReportApiUpdateDataReport
608
618
  */
609
- readonly authorization?: string
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.createDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
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 = {}, options?: AxiosRequestConfig) {
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.code, requestParameters.updateDataReportRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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: provided by the login endpoint under the name accessToken.
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: provided by the login endpoint under the name accessToken.
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: provided by the login endpoint under the name accessToken.
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: provided by the login endpoint under the name accessToken.
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
  }