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