@emilgroup/tenant-sdk-node 1.0.0-beta.0 → 1.0.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 (369) hide show
  1. package/.openapi-generator/FILES +30 -59
  2. package/README.md +6 -6
  3. package/api/custom-schema-api.ts +93 -85
  4. package/api/data-report-api.ts +687 -0
  5. package/api/data-report-executor-api.ts +23 -25
  6. package/api/invite-organizations-api.ts +379 -0
  7. package/api/invite-users-api.ts +670 -0
  8. package/api/organizations-api.ts +343 -0
  9. package/api/users-api.ts +181 -721
  10. package/api.ts +9 -26
  11. package/base.ts +3 -2
  12. package/common.ts +2 -2
  13. package/configuration.ts +1 -1
  14. package/dist/api/custom-schema-api.d.ts +75 -75
  15. package/dist/api/custom-schema-api.js +67 -60
  16. package/dist/api/data-report-api.d.ts +380 -0
  17. package/dist/api/{dashboard-api.js → data-report-api.js} +162 -241
  18. package/dist/api/data-report-executor-api.d.ts +17 -21
  19. package/dist/api/data-report-executor-api.js +16 -18
  20. package/dist/api/invite-organizations-api.d.ts +216 -0
  21. package/dist/api/invite-organizations-api.js +370 -0
  22. package/dist/api/invite-users-api.d.ts +368 -0
  23. package/dist/api/{reports-api.js → invite-users-api.js} +178 -292
  24. package/dist/api/organizations-api.d.ts +197 -0
  25. package/dist/api/{permissions-api.js → organizations-api.js} +97 -75
  26. package/dist/api/users-api.d.ts +136 -432
  27. package/dist/api/users-api.js +114 -567
  28. package/dist/api.d.ts +5 -15
  29. package/dist/api.js +5 -17
  30. package/dist/base.d.ts +3 -2
  31. package/dist/base.js +3 -2
  32. package/dist/common.d.ts +2 -2
  33. package/dist/common.js +1 -1
  34. package/dist/configuration.d.ts +1 -1
  35. package/dist/configuration.js +1 -1
  36. package/dist/index.d.ts +2 -2
  37. package/dist/index.js +3 -2
  38. package/dist/models/assign-user-roles-request-dto.d.ts +1 -1
  39. package/dist/models/assign-user-roles-request-dto.js +1 -1
  40. package/dist/models/assign-user-roles-response-class.d.ts +1 -1
  41. package/dist/models/assign-user-roles-response-class.js +1 -1
  42. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  43. package/dist/models/batch-delete-request-dto.js +1 -1
  44. package/dist/models/{get-embedded-url-response-class.d.ts → batch-delete-response-class.d.ts} +7 -7
  45. package/dist/models/{alert-class.js → batch-delete-response-class.js} +1 -1
  46. package/dist/models/create-custom-schema-request-dto.d.ts +1 -1
  47. package/dist/models/create-custom-schema-request-dto.js +1 -1
  48. package/dist/models/create-custom-schema-response-class.d.ts +1 -1
  49. package/dist/models/create-custom-schema-response-class.js +1 -1
  50. package/dist/models/create-data-report-request-dto.d.ts +61 -0
  51. package/dist/models/{create-alert-response-class.js → create-data-report-request-dto.js} +1 -1
  52. package/dist/models/{create-permission-response-class.d.ts → create-data-report-response-class.d.ts} +8 -8
  53. package/dist/models/{create-dashboard-response-class.js → create-data-report-response-class.js} +1 -1
  54. package/dist/models/create-permission-request-dto.d.ts +1 -7
  55. package/dist/models/create-permission-request-dto.js +1 -1
  56. package/dist/models/create-role-request-dto.d.ts +2 -2
  57. package/dist/models/create-role-request-dto.js +1 -1
  58. package/dist/models/create-tenant-request-dto.d.ts +1 -1
  59. package/dist/models/create-tenant-request-dto.js +1 -1
  60. package/dist/models/custom-field-dto.d.ts +1 -1
  61. package/dist/models/custom-field-dto.js +1 -1
  62. package/dist/models/custom-schema-class.d.ts +1 -1
  63. package/dist/models/custom-schema-class.js +1 -1
  64. package/dist/models/data-report-class.d.ts +79 -0
  65. package/dist/models/{compare-tariffs-response-class.js → data-report-class.js} +1 -1
  66. package/dist/models/data-report-filter-class.d.ts +72 -0
  67. package/dist/models/data-report-filter-class.js +15 -0
  68. package/dist/models/data-report-filter-dto.d.ts +48 -0
  69. package/dist/models/data-report-filter-dto.js +15 -0
  70. package/dist/models/data-report-filter-single-value-dto.d.ts +42 -0
  71. package/dist/models/data-report-filter-single-value-dto.js +15 -0
  72. package/dist/models/data-report-filter-value-dto.d.ts +31 -0
  73. package/dist/models/data-report-filter-value-dto.js +15 -0
  74. package/dist/models/dbconfig-dto.d.ts +1 -1
  75. package/dist/models/dbconfig-dto.js +1 -1
  76. package/dist/models/{manage-subscription-request-dto.d.ts → delete-response-class.d.ts} +6 -6
  77. package/dist/models/delete-response-class.js +15 -0
  78. package/dist/models/disable-user-response-class.d.ts +1 -1
  79. package/dist/models/disable-user-response-class.js +1 -1
  80. package/dist/models/disable-users-request-dto.d.ts +1 -1
  81. package/dist/models/disable-users-request-dto.js +1 -1
  82. package/dist/models/disable-users-response-class.d.ts +24 -0
  83. package/dist/models/disable-users-response-class.js +15 -0
  84. package/dist/models/enable-user-response-class.d.ts +1 -1
  85. package/dist/models/enable-user-response-class.js +1 -1
  86. package/dist/models/enable-users-request-dto.d.ts +1 -1
  87. package/dist/models/enable-users-request-dto.js +1 -1
  88. package/dist/models/{list-tariffs-response-class.d.ts → enable-users-response-class.d.ts} +7 -7
  89. package/dist/models/enable-users-response-class.js +15 -0
  90. package/dist/models/get-custom-schema-response-class.d.ts +1 -1
  91. package/dist/models/get-custom-schema-response-class.js +1 -1
  92. package/dist/models/{create-alert-response-class.d.ts → get-data-report-response-class.d.ts} +8 -8
  93. package/dist/models/get-data-report-response-class.js +15 -0
  94. package/dist/models/{create-dashboard-response-class.d.ts → get-organization-response-class.d.ts} +8 -8
  95. package/dist/models/get-organization-response-class.js +15 -0
  96. package/dist/models/{list-channels-response-class.d.ts → get-settings-response-class.d.ts} +6 -6
  97. package/dist/models/get-settings-response-class.js +15 -0
  98. package/dist/models/get-user-response-class.d.ts +1 -1
  99. package/dist/models/get-user-response-class.js +1 -1
  100. package/dist/models/index.d.ts +26 -49
  101. package/dist/models/index.js +26 -49
  102. package/dist/models/invite-class.d.ts +10 -9
  103. package/dist/models/invite-class.js +1 -1
  104. package/dist/models/invite-org-request-dto.d.ts +90 -0
  105. package/dist/models/invite-org-request-dto.js +21 -0
  106. package/dist/models/invite-user-request-dto.d.ts +9 -3
  107. package/dist/models/invite-user-request-dto.js +1 -1
  108. package/dist/models/invite-user-response-class.d.ts +2 -2
  109. package/dist/models/invite-user-response-class.js +1 -1
  110. package/dist/models/invite-users-request-dto.d.ts +3 -3
  111. package/dist/models/invite-users-request-dto.js +1 -1
  112. package/dist/models/invite-users-response-class.d.ts +24 -0
  113. package/dist/models/invite-users-response-class.js +15 -0
  114. package/dist/models/list-custom-schemas-response-class.d.ts +2 -2
  115. package/dist/models/list-custom-schemas-response-class.js +1 -1
  116. package/dist/models/list-data-reports-response-class.d.ts +31 -0
  117. package/dist/models/list-data-reports-response-class.js +15 -0
  118. package/dist/models/list-invites-response-class.d.ts +6 -5
  119. package/dist/models/list-invites-response-class.js +1 -1
  120. package/dist/models/list-org-invitations-response-class.d.ts +31 -0
  121. package/dist/models/list-org-invitations-response-class.js +15 -0
  122. package/dist/models/list-organizations-response-class.d.ts +31 -0
  123. package/dist/models/list-organizations-response-class.js +15 -0
  124. package/dist/models/list-users-response-class.d.ts +4 -3
  125. package/dist/models/list-users-response-class.js +1 -1
  126. package/dist/models/org-invitation-class.d.ts +115 -0
  127. package/dist/models/{condition-dto.js → org-invitation-class.js} +6 -7
  128. package/dist/models/org-invitation-response-class.d.ts +25 -0
  129. package/dist/models/org-invitation-response-class.js +15 -0
  130. package/dist/models/organization-class.d.ts +90 -0
  131. package/dist/models/{update-alert-request-dto.js → organization-class.js} +6 -6
  132. package/dist/models/permission-class.d.ts +8 -14
  133. package/dist/models/permission-class.js +1 -1
  134. package/dist/models/role-class.d.ts +11 -10
  135. package/dist/models/role-class.js +1 -1
  136. package/dist/models/run-data-report-request-dto.d.ts +5 -4
  137. package/dist/models/run-data-report-request-dto.js +1 -1
  138. package/dist/models/run-data-report-response-class.d.ts +4 -4
  139. package/dist/models/run-data-report-response-class.js +1 -1
  140. package/dist/models/{set-user-setting-request-dto.d.ts → set-setting-request-dto.d.ts} +15 -9
  141. package/dist/models/set-setting-request-dto.js +15 -0
  142. package/dist/models/set-user-setting-response-class.d.ts +36 -0
  143. package/dist/models/set-user-setting-response-class.js +15 -0
  144. package/dist/models/subscription-class.d.ts +12 -5
  145. package/dist/models/subscription-class.js +1 -1
  146. package/dist/models/tenant-admin-user-dto.d.ts +1 -1
  147. package/dist/models/tenant-admin-user-dto.js +1 -1
  148. package/dist/models/update-custom-schema-request-dto.d.ts +1 -1
  149. package/dist/models/update-custom-schema-request-dto.js +1 -1
  150. package/dist/models/update-custom-schema-response-class.d.ts +1 -1
  151. package/dist/models/update-custom-schema-response-class.js +1 -1
  152. package/dist/models/update-data-report-request-dto.d.ts +61 -0
  153. package/dist/models/update-data-report-request-dto.js +15 -0
  154. package/dist/models/{create-report-response-class.d.ts → update-data-report-response-class.d.ts} +8 -8
  155. package/dist/models/update-data-report-response-class.js +15 -0
  156. package/dist/models/update-role-request-dto.d.ts +4 -4
  157. package/dist/models/update-role-request-dto.js +1 -1
  158. package/dist/models/user-class.d.ts +14 -6
  159. package/dist/models/user-class.js +1 -1
  160. package/index.ts +2 -2
  161. package/models/assign-user-roles-request-dto.ts +1 -1
  162. package/models/assign-user-roles-response-class.ts +1 -1
  163. package/models/batch-delete-request-dto.ts +2 -2
  164. package/models/{get-embedded-url-response-class.ts → batch-delete-response-class.ts} +7 -7
  165. package/models/create-custom-schema-request-dto.ts +1 -1
  166. package/models/create-custom-schema-response-class.ts +1 -1
  167. package/models/create-data-report-request-dto.ts +67 -0
  168. package/models/{create-dashboard-response-class.ts → create-data-report-response-class.ts} +8 -8
  169. package/models/create-permission-request-dto.ts +1 -7
  170. package/models/create-role-request-dto.ts +2 -2
  171. package/models/create-tenant-request-dto.ts +1 -1
  172. package/models/custom-field-dto.ts +1 -1
  173. package/models/custom-schema-class.ts +1 -1
  174. package/models/data-report-class.ts +85 -0
  175. package/models/data-report-filter-class.ts +78 -0
  176. package/models/data-report-filter-dto.ts +54 -0
  177. package/models/data-report-filter-single-value-dto.ts +48 -0
  178. package/models/data-report-filter-value-dto.ts +37 -0
  179. package/models/dbconfig-dto.ts +1 -1
  180. package/models/{manage-subscription-request-dto.ts → delete-response-class.ts} +6 -6
  181. package/models/disable-user-response-class.ts +1 -1
  182. package/models/disable-users-request-dto.ts +1 -1
  183. package/models/disable-users-response-class.ts +30 -0
  184. package/models/enable-user-response-class.ts +1 -1
  185. package/models/enable-users-request-dto.ts +1 -1
  186. package/models/{list-tariffs-response-class.ts → enable-users-response-class.ts} +7 -7
  187. package/models/get-custom-schema-response-class.ts +1 -1
  188. package/models/{create-report-response-class.ts → get-data-report-response-class.ts} +8 -8
  189. package/models/{create-alert-response-class.ts → get-organization-response-class.ts} +8 -8
  190. package/models/{list-channels-response-class.ts → get-settings-response-class.ts} +6 -6
  191. package/models/get-user-response-class.ts +1 -1
  192. package/models/index.ts +26 -49
  193. package/models/invite-class.ts +10 -9
  194. package/models/invite-org-request-dto.ts +99 -0
  195. package/models/invite-user-request-dto.ts +9 -3
  196. package/models/invite-user-response-class.ts +2 -2
  197. package/models/invite-users-request-dto.ts +3 -3
  198. package/models/invite-users-response-class.ts +30 -0
  199. package/models/list-custom-schemas-response-class.ts +2 -2
  200. package/models/{list-permissions-response-class.ts → list-data-reports-response-class.ts} +10 -9
  201. package/models/list-invites-response-class.ts +6 -5
  202. package/models/{list-alert-history-response-class.ts → list-org-invitations-response-class.ts} +10 -9
  203. package/models/{list-dashboards-response-class.ts → list-organizations-response-class.ts} +10 -9
  204. package/models/list-users-response-class.ts +4 -3
  205. package/models/org-invitation-class.ts +124 -0
  206. package/models/org-invitation-response-class.ts +31 -0
  207. package/models/organization-class.ts +99 -0
  208. package/models/permission-class.ts +8 -14
  209. package/models/role-class.ts +11 -10
  210. package/models/run-data-report-request-dto.ts +5 -4
  211. package/models/run-data-report-response-class.ts +4 -4
  212. package/models/{set-user-setting-request-dto.ts → set-setting-request-dto.ts} +15 -9
  213. package/models/set-user-setting-response-class.ts +42 -0
  214. package/models/subscription-class.ts +12 -5
  215. package/models/tenant-admin-user-dto.ts +1 -1
  216. package/models/update-custom-schema-request-dto.ts +1 -1
  217. package/models/update-custom-schema-response-class.ts +1 -1
  218. package/models/update-data-report-request-dto.ts +67 -0
  219. package/models/{create-permission-response-class.ts → update-data-report-response-class.ts} +8 -8
  220. package/models/update-role-request-dto.ts +4 -4
  221. package/models/user-class.ts +14 -6
  222. package/package.json +2 -2
  223. package/api/alerts-api.ts +0 -860
  224. package/api/dashboard-api.ts +0 -792
  225. package/api/permissions-api.ts +0 -307
  226. package/api/reports-api.ts +0 -860
  227. package/api/roles-api.ts +0 -564
  228. package/api/scenario-analysis-api.ts +0 -977
  229. package/api/settings-api.ts +0 -478
  230. package/api/tariff-comparisons-api.ts +0 -381
  231. package/api/tenants-api.ts +0 -514
  232. package/api/user-subscription-api.ts +0 -191
  233. package/dist/api/alerts-api.d.ts +0 -479
  234. package/dist/api/alerts-api.js +0 -752
  235. package/dist/api/dashboard-api.d.ts +0 -434
  236. package/dist/api/permissions-api.d.ts +0 -172
  237. package/dist/api/reports-api.d.ts +0 -479
  238. package/dist/api/roles-api.d.ts +0 -301
  239. package/dist/api/roles-api.js +0 -578
  240. package/dist/api/scenario-analysis-api.d.ts +0 -529
  241. package/dist/api/scenario-analysis-api.js +0 -895
  242. package/dist/api/settings-api.d.ts +0 -261
  243. package/dist/api/settings-api.js +0 -509
  244. package/dist/api/tariff-comparisons-api.d.ts +0 -206
  245. package/dist/api/tariff-comparisons-api.js +0 -409
  246. package/dist/api/tenants-api.d.ts +0 -282
  247. package/dist/api/tenants-api.js +0 -514
  248. package/dist/api/user-subscription-api.d.ts +0 -111
  249. package/dist/api/user-subscription-api.js +0 -236
  250. package/dist/models/alert-class.d.ts +0 -90
  251. package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
  252. package/dist/models/compare-tariffs-request-dto.js +0 -22
  253. package/dist/models/compare-tariffs-response-class.d.ts +0 -30
  254. package/dist/models/condition-dto.d.ts +0 -43
  255. package/dist/models/create-alert-request-dto.d.ts +0 -79
  256. package/dist/models/create-alert-request-dto.js +0 -27
  257. package/dist/models/create-dashboard-request-dto.d.ts +0 -70
  258. package/dist/models/create-dashboard-request-dto.js +0 -29
  259. package/dist/models/create-permission-response-class.js +0 -15
  260. package/dist/models/create-report-request-dto.d.ts +0 -49
  261. package/dist/models/create-report-request-dto.js +0 -22
  262. package/dist/models/create-report-response-class.js +0 -15
  263. package/dist/models/create-role-response-class.d.ts +0 -25
  264. package/dist/models/create-role-response-class.js +0 -15
  265. package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
  266. package/dist/models/create-scenario-analysis-request-dto.js +0 -22
  267. package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
  268. package/dist/models/create-scenario-analysis-response-class.js +0 -15
  269. package/dist/models/create-tenant-response-class.d.ts +0 -42
  270. package/dist/models/create-tenant-response-class.js +0 -15
  271. package/dist/models/dashboard-class.d.ts +0 -78
  272. package/dist/models/dashboard-class.js +0 -15
  273. package/dist/models/get-alert-response-class.d.ts +0 -25
  274. package/dist/models/get-alert-response-class.js +0 -15
  275. package/dist/models/get-dashboard-response-class.d.ts +0 -25
  276. package/dist/models/get-dashboard-response-class.js +0 -15
  277. package/dist/models/get-embedded-url-response-class.js +0 -15
  278. package/dist/models/get-report-response-class.d.ts +0 -25
  279. package/dist/models/get-report-response-class.js +0 -15
  280. package/dist/models/get-role-response-class.d.ts +0 -25
  281. package/dist/models/get-role-response-class.js +0 -15
  282. package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
  283. package/dist/models/get-scenario-analysis-response-class.js +0 -15
  284. package/dist/models/list-alert-history-response-class.d.ts +0 -30
  285. package/dist/models/list-alert-history-response-class.js +0 -15
  286. package/dist/models/list-alerts-response-class.d.ts +0 -30
  287. package/dist/models/list-alerts-response-class.js +0 -15
  288. package/dist/models/list-channels-response-class.js +0 -15
  289. package/dist/models/list-dashboards-response-class.d.ts +0 -30
  290. package/dist/models/list-dashboards-response-class.js +0 -15
  291. package/dist/models/list-insurance-companies-response-class.d.ts +0 -24
  292. package/dist/models/list-insurance-companies-response-class.js +0 -15
  293. package/dist/models/list-permissions-response-class.d.ts +0 -30
  294. package/dist/models/list-permissions-response-class.js +0 -15
  295. package/dist/models/list-report-history-response-class.d.ts +0 -30
  296. package/dist/models/list-report-history-response-class.js +0 -15
  297. package/dist/models/list-reports-response-class.d.ts +0 -30
  298. package/dist/models/list-reports-response-class.js +0 -15
  299. package/dist/models/list-roles-response-class.d.ts +0 -30
  300. package/dist/models/list-roles-response-class.js +0 -15
  301. package/dist/models/list-scenario-analyses-response-class.d.ts +0 -30
  302. package/dist/models/list-scenario-analyses-response-class.js +0 -15
  303. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -24
  304. package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
  305. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -24
  306. package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
  307. package/dist/models/list-tariffs-response-class.js +0 -15
  308. package/dist/models/manage-subscription-request-dto.js +0 -15
  309. package/dist/models/manage-subscription-response-class.d.ts +0 -25
  310. package/dist/models/manage-subscription-response-class.js +0 -15
  311. package/dist/models/report-class.d.ts +0 -66
  312. package/dist/models/report-class.js +0 -15
  313. package/dist/models/scenario-analysis-class.d.ts +0 -108
  314. package/dist/models/scenario-analysis-class.js +0 -15
  315. package/dist/models/set-user-setting-request-dto.js +0 -15
  316. package/dist/models/update-alert-request-dto.d.ts +0 -72
  317. package/dist/models/update-alert-response-class.d.ts +0 -25
  318. package/dist/models/update-alert-response-class.js +0 -15
  319. package/dist/models/update-dashboard-request-dto.d.ts +0 -76
  320. package/dist/models/update-dashboard-request-dto.js +0 -29
  321. package/dist/models/update-dashboard-response-class.d.ts +0 -25
  322. package/dist/models/update-dashboard-response-class.js +0 -15
  323. package/dist/models/update-report-request-dto.d.ts +0 -55
  324. package/dist/models/update-report-request-dto.js +0 -22
  325. package/dist/models/update-report-response-class.d.ts +0 -25
  326. package/dist/models/update-report-response-class.js +0 -15
  327. package/dist/models/update-role-response-class.d.ts +0 -25
  328. package/dist/models/update-role-response-class.js +0 -15
  329. package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
  330. package/dist/models/update-scenario-analysis-request-dto.js +0 -22
  331. package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
  332. package/dist/models/update-scenario-analysis-response-class.js +0 -15
  333. package/models/alert-class.ts +0 -96
  334. package/models/compare-tariffs-request-dto.ts +0 -46
  335. package/models/compare-tariffs-response-class.ts +0 -36
  336. package/models/condition-dto.ts +0 -52
  337. package/models/create-alert-request-dto.ts +0 -89
  338. package/models/create-dashboard-request-dto.ts +0 -81
  339. package/models/create-report-request-dto.ts +0 -58
  340. package/models/create-role-response-class.ts +0 -31
  341. package/models/create-scenario-analysis-request-dto.ts +0 -83
  342. package/models/create-scenario-analysis-response-class.ts +0 -31
  343. package/models/create-tenant-response-class.ts +0 -48
  344. package/models/dashboard-class.ts +0 -84
  345. package/models/get-alert-response-class.ts +0 -31
  346. package/models/get-dashboard-response-class.ts +0 -31
  347. package/models/get-report-response-class.ts +0 -31
  348. package/models/get-role-response-class.ts +0 -31
  349. package/models/get-scenario-analysis-response-class.ts +0 -31
  350. package/models/list-alerts-response-class.ts +0 -36
  351. package/models/list-insurance-companies-response-class.ts +0 -30
  352. package/models/list-report-history-response-class.ts +0 -36
  353. package/models/list-reports-response-class.ts +0 -36
  354. package/models/list-roles-response-class.ts +0 -36
  355. package/models/list-scenario-analyses-response-class.ts +0 -36
  356. package/models/list-scenario-analysis-dates-response-class.ts +0 -30
  357. package/models/list-tariff-insurance-companies-response-class.ts +0 -30
  358. package/models/manage-subscription-response-class.ts +0 -31
  359. package/models/report-class.ts +0 -72
  360. package/models/scenario-analysis-class.ts +0 -114
  361. package/models/update-alert-request-dto.ts +0 -81
  362. package/models/update-alert-response-class.ts +0 -31
  363. package/models/update-dashboard-request-dto.ts +0 -87
  364. package/models/update-dashboard-response-class.ts +0 -31
  365. package/models/update-report-request-dto.ts +0 -64
  366. package/models/update-report-response-class.ts +0 -31
  367. package/models/update-role-response-class.ts +0 -31
  368. package/models/update-scenario-analysis-request-dto.ts +0 -83
  369. package/models/update-scenario-analysis-response-class.ts +0 -31
@@ -6,7 +6,7 @@
6
6
  * The EMIL TenantService API description
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
- *
9
+ * Contact: kontakt@emil.de
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = void 0;
81
+ exports.DataReportApi = exports.DataReportApiFactory = exports.DataReportApiFp = exports.DataReportApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,29 +90,32 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * DashboardApi - axios parameter creator
93
+ * DataReportApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var DashboardApiAxiosParamCreator = function (configuration) {
96
+ var DataReportApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- *
101
- * @param {CreateDashboardRequestDto} createDashboardRequestDto
102
- * @param {string} [authorization] Bearer Token
100
+ * This will create a data report for tenant in the database
101
+ * @summary Create the data-report
102
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {CreateDataReportRequestDto} createDataReportRequestDto
103
104
  * @param {*} [options] Override http request option.
104
105
  * @throws {RequiredError}
105
106
  */
106
- createDashboard: function (createDashboardRequestDto, authorization, options) {
107
+ createCustomSchema: function (authorization, createDataReportRequestDto, options) {
107
108
  if (options === void 0) { options = {}; }
108
109
  return __awaiter(_this, void 0, void 0, function () {
109
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
110
111
  return __generator(this, function (_a) {
111
112
  switch (_a.label) {
112
113
  case 0:
113
- // verify required parameter 'createDashboardRequestDto' is not null or undefined
114
- (0, common_1.assertParamExists)('createDashboard', 'createDashboardRequestDto', createDashboardRequestDto);
115
- localVarPath = "/tenantservice/v1/dashboards";
114
+ // verify required parameter 'authorization' is not null or undefined
115
+ (0, common_1.assertParamExists)('createCustomSchema', 'authorization', authorization);
116
+ // verify required parameter 'createDataReportRequestDto' is not null or undefined
117
+ (0, common_1.assertParamExists)('createCustomSchema', 'createDataReportRequestDto', createDataReportRequestDto);
118
+ localVarPath = "/tenantservice/v1/data-reports";
116
119
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
117
120
  if (configuration) {
118
121
  baseOptions = configuration.baseOptions;
@@ -135,7 +138,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
135
138
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
139
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
140
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDashboardRequestDto, localVarRequestOptions, configuration);
141
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createDataReportRequestDto, localVarRequestOptions, configuration);
139
142
  return [2 /*return*/, {
140
143
  url: (0, common_1.toPathString)(localVarUrlObj),
141
144
  options: localVarRequestOptions,
@@ -146,21 +149,23 @@ var DashboardApiAxiosParamCreator = function (configuration) {
146
149
  },
147
150
  /**
148
151
  *
152
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
149
153
  * @param {string} id
150
- * @param {string} [authorization] Bearer Token
151
154
  * @param {*} [options] Override http request option.
152
155
  * @throws {RequiredError}
153
156
  */
154
- deleteDashboard: function (id, authorization, options) {
157
+ deleteAlert: function (authorization, id, options) {
155
158
  if (options === void 0) { options = {}; }
156
159
  return __awaiter(_this, void 0, void 0, function () {
157
160
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
158
161
  return __generator(this, function (_a) {
159
162
  switch (_a.label) {
160
163
  case 0:
164
+ // verify required parameter 'authorization' is not null or undefined
165
+ (0, common_1.assertParamExists)('deleteAlert', 'authorization', authorization);
161
166
  // verify required parameter 'id' is not null or undefined
162
- (0, common_1.assertParamExists)('deleteDashboard', 'id', id);
163
- localVarPath = "/tenantservice/v1/dashboards/{id}"
167
+ (0, common_1.assertParamExists)('deleteAlert', 'id', id);
168
+ localVarPath = "/tenantservice/v1/data-reports/{id}"
164
169
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
165
170
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
166
171
  if (configuration) {
@@ -192,26 +197,26 @@ var DashboardApiAxiosParamCreator = function (configuration) {
192
197
  });
193
198
  },
194
199
  /**
195
- *
196
- * @param {string} code
197
- * @param {string} code2 Dashboard code
198
- * @param {string} [authorization] Bearer Token
200
+ * 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.
201
+ * @summary Retrieve the data-report
202
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
203
+ * @param {string} code Unique identifier for the object.
199
204
  * @param {string} [expand] Fields to expand response by
200
205
  * @param {*} [options] Override http request option.
201
206
  * @throws {RequiredError}
202
207
  */
203
- getDashboard: function (code, code2, authorization, expand, options) {
208
+ getDataReport: function (authorization, code, expand, options) {
204
209
  if (options === void 0) { options = {}; }
205
210
  return __awaiter(_this, void 0, void 0, function () {
206
211
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
207
212
  return __generator(this, function (_a) {
208
213
  switch (_a.label) {
209
214
  case 0:
215
+ // verify required parameter 'authorization' is not null or undefined
216
+ (0, common_1.assertParamExists)('getDataReport', 'authorization', authorization);
210
217
  // verify required parameter 'code' is not null or undefined
211
- (0, common_1.assertParamExists)('getDashboard', 'code', code);
212
- // verify required parameter 'code2' is not null or undefined
213
- (0, common_1.assertParamExists)('getDashboard', 'code2', code2);
214
- localVarPath = "/tenantservice/v1/dashboards/{code}"
218
+ (0, common_1.assertParamExists)('getDataReport', 'code', code);
219
+ localVarPath = "/tenantservice/v1/data-reports/{code}"
215
220
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
216
221
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
217
222
  if (configuration) {
@@ -228,9 +233,6 @@ var DashboardApiAxiosParamCreator = function (configuration) {
228
233
  // authentication bearer required
229
234
  // http bearer authentication required
230
235
  _a.sent();
231
- if (code2 !== undefined) {
232
- localVarQueryParameter['code'] = code2;
233
- }
234
236
  if (expand !== undefined) {
235
237
  localVarQueryParameter['expand'] = expand;
236
238
  }
@@ -249,78 +251,28 @@ var DashboardApiAxiosParamCreator = function (configuration) {
249
251
  });
250
252
  },
251
253
  /**
252
- *
253
- * @param {string} providerDashboardId
254
- * @param {string} providerName
255
- * @param {string} [authorization] Bearer Token
256
- * @param {*} [options] Override http request option.
257
- * @throws {RequiredError}
258
- */
259
- getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
260
- if (options === void 0) { options = {}; }
261
- return __awaiter(_this, void 0, void 0, function () {
262
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
263
- return __generator(this, function (_a) {
264
- switch (_a.label) {
265
- case 0:
266
- // verify required parameter 'providerDashboardId' is not null or undefined
267
- (0, common_1.assertParamExists)('getEmbeddedUrl', 'providerDashboardId', providerDashboardId);
268
- // verify required parameter 'providerName' is not null or undefined
269
- (0, common_1.assertParamExists)('getEmbeddedUrl', 'providerName', providerName);
270
- localVarPath = "/tenantservice/v1/dashboards/{provider_dashboard_id}/embedded-url"
271
- .replace("{".concat("provider_dashboard_id", "}"), encodeURIComponent(String(providerDashboardId)));
272
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
273
- if (configuration) {
274
- baseOptions = configuration.baseOptions;
275
- baseAccessToken = configuration.accessToken;
276
- }
277
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
278
- localVarHeaderParameter = {};
279
- localVarQueryParameter = {};
280
- // authentication bearer required
281
- // http bearer authentication required
282
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
283
- case 1:
284
- // authentication bearer required
285
- // http bearer authentication required
286
- _a.sent();
287
- if (providerName !== undefined) {
288
- localVarQueryParameter['provider_name'] = providerName;
289
- }
290
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
291
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
292
- }
293
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
294
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
295
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
296
- return [2 /*return*/, {
297
- url: (0, common_1.toPathString)(localVarUrlObj),
298
- options: localVarRequestOptions,
299
- }];
300
- }
301
- });
302
- });
303
- },
304
- /**
305
- *
306
- * @param {string} [authorization] Bearer Token
307
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
308
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
254
+ * 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.
255
+ * @summary List data-reports
256
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
258
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
309
259
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
310
260
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
311
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
312
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
261
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
262
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
313
263
  * @param {*} [options] Override http request option.
314
264
  * @throws {RequiredError}
315
265
  */
316
- listDashboards: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
266
+ listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
317
267
  if (options === void 0) { options = {}; }
318
268
  return __awaiter(_this, void 0, void 0, function () {
319
269
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
320
270
  return __generator(this, function (_a) {
321
271
  switch (_a.label) {
322
272
  case 0:
323
- localVarPath = "/tenantservice/v1/dashboards";
273
+ // verify required parameter 'authorization' is not null or undefined
274
+ (0, common_1.assertParamExists)('listDataReports', 'authorization', authorization);
275
+ localVarPath = "/tenantservice/v1/data-reports";
324
276
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
325
277
  if (configuration) {
326
278
  baseOptions = configuration.baseOptions;
@@ -369,26 +321,29 @@ var DashboardApiAxiosParamCreator = function (configuration) {
369
321
  });
370
322
  },
371
323
  /**
372
- *
373
- * @param {number} id
374
- * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
375
- * @param {string} [authorization] Bearer Token
324
+ * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
325
+ * @summary Update the data-report
326
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
327
+ * @param {string} code
328
+ * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
376
329
  * @param {*} [options] Override http request option.
377
330
  * @throws {RequiredError}
378
331
  */
379
- updateDashboard: function (id, updateDashboardRequestDto, authorization, options) {
332
+ updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
380
333
  if (options === void 0) { options = {}; }
381
334
  return __awaiter(_this, void 0, void 0, function () {
382
335
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
383
336
  return __generator(this, function (_a) {
384
337
  switch (_a.label) {
385
338
  case 0:
386
- // verify required parameter 'id' is not null or undefined
387
- (0, common_1.assertParamExists)('updateDashboard', 'id', id);
388
- // verify required parameter 'updateDashboardRequestDto' is not null or undefined
389
- (0, common_1.assertParamExists)('updateDashboard', 'updateDashboardRequestDto', updateDashboardRequestDto);
390
- localVarPath = "/tenantservice/v1/dashboards/{id}"
391
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
339
+ // verify required parameter 'authorization' is not null or undefined
340
+ (0, common_1.assertParamExists)('updateDataReport', 'authorization', authorization);
341
+ // verify required parameter 'code' is not null or undefined
342
+ (0, common_1.assertParamExists)('updateDataReport', 'code', code);
343
+ // verify required parameter 'updateDataReportRequestDto' is not null or undefined
344
+ (0, common_1.assertParamExists)('updateDataReport', 'updateDataReportRequestDto', updateDataReportRequestDto);
345
+ localVarPath = "/tenantservice/v1/data-reports/{code}"
346
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
392
347
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
393
348
  if (configuration) {
394
349
  baseOptions = configuration.baseOptions;
@@ -411,7 +366,7 @@ var DashboardApiAxiosParamCreator = function (configuration) {
411
366
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
412
367
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
413
368
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
414
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDashboardRequestDto, localVarRequestOptions, configuration);
369
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateDataReportRequestDto, localVarRequestOptions, configuration);
415
370
  return [2 /*return*/, {
416
371
  url: (0, common_1.toPathString)(localVarUrlObj),
417
372
  options: localVarRequestOptions,
@@ -422,27 +377,28 @@ var DashboardApiAxiosParamCreator = function (configuration) {
422
377
  },
423
378
  };
424
379
  };
425
- exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
380
+ exports.DataReportApiAxiosParamCreator = DataReportApiAxiosParamCreator;
426
381
  /**
427
- * DashboardApi - functional programming interface
382
+ * DataReportApi - functional programming interface
428
383
  * @export
429
384
  */
430
- var DashboardApiFp = function (configuration) {
431
- var localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
385
+ var DataReportApiFp = function (configuration) {
386
+ var localVarAxiosParamCreator = (0, exports.DataReportApiAxiosParamCreator)(configuration);
432
387
  return {
433
388
  /**
434
- *
435
- * @param {CreateDashboardRequestDto} createDashboardRequestDto
436
- * @param {string} [authorization] Bearer Token
389
+ * This will create a data report for tenant in the database
390
+ * @summary Create the data-report
391
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
392
+ * @param {CreateDataReportRequestDto} createDataReportRequestDto
437
393
  * @param {*} [options] Override http request option.
438
394
  * @throws {RequiredError}
439
395
  */
440
- createDashboard: function (createDashboardRequestDto, authorization, options) {
396
+ createCustomSchema: function (authorization, createDataReportRequestDto, options) {
441
397
  return __awaiter(this, void 0, void 0, function () {
442
398
  var localVarAxiosArgs;
443
399
  return __generator(this, function (_a) {
444
400
  switch (_a.label) {
445
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createDashboard(createDashboardRequestDto, authorization, options)];
401
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createCustomSchema(authorization, createDataReportRequestDto, options)];
446
402
  case 1:
447
403
  localVarAxiosArgs = _a.sent();
448
404
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -452,17 +408,17 @@ var DashboardApiFp = function (configuration) {
452
408
  },
453
409
  /**
454
410
  *
411
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
455
412
  * @param {string} id
456
- * @param {string} [authorization] Bearer Token
457
413
  * @param {*} [options] Override http request option.
458
414
  * @throws {RequiredError}
459
415
  */
460
- deleteDashboard: function (id, authorization, options) {
416
+ deleteAlert: function (authorization, id, options) {
461
417
  return __awaiter(this, void 0, void 0, function () {
462
418
  var localVarAxiosArgs;
463
419
  return __generator(this, function (_a) {
464
420
  switch (_a.label) {
465
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDashboard(id, authorization, options)];
421
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAlert(authorization, id, options)];
466
422
  case 1:
467
423
  localVarAxiosArgs = _a.sent();
468
424
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -471,20 +427,20 @@ var DashboardApiFp = function (configuration) {
471
427
  });
472
428
  },
473
429
  /**
474
- *
475
- * @param {string} code
476
- * @param {string} code2 Dashboard code
477
- * @param {string} [authorization] Bearer Token
430
+ * 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.
431
+ * @summary Retrieve the data-report
432
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
433
+ * @param {string} code Unique identifier for the object.
478
434
  * @param {string} [expand] Fields to expand response by
479
435
  * @param {*} [options] Override http request option.
480
436
  * @throws {RequiredError}
481
437
  */
482
- getDashboard: function (code, code2, authorization, expand, options) {
438
+ getDataReport: function (authorization, code, expand, options) {
483
439
  return __awaiter(this, void 0, void 0, function () {
484
440
  var localVarAxiosArgs;
485
441
  return __generator(this, function (_a) {
486
442
  switch (_a.label) {
487
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDashboard(code, code2, authorization, expand, options)];
443
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getDataReport(authorization, code, expand, options)];
488
444
  case 1:
489
445
  localVarAxiosArgs = _a.sent();
490
446
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -493,44 +449,24 @@ var DashboardApiFp = function (configuration) {
493
449
  });
494
450
  },
495
451
  /**
496
- *
497
- * @param {string} providerDashboardId
498
- * @param {string} providerName
499
- * @param {string} [authorization] Bearer Token
500
- * @param {*} [options] Override http request option.
501
- * @throws {RequiredError}
502
- */
503
- getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
504
- return __awaiter(this, void 0, void 0, function () {
505
- var localVarAxiosArgs;
506
- return __generator(this, function (_a) {
507
- switch (_a.label) {
508
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getEmbeddedUrl(providerDashboardId, providerName, authorization, options)];
509
- case 1:
510
- localVarAxiosArgs = _a.sent();
511
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
512
- }
513
- });
514
- });
515
- },
516
- /**
517
- *
518
- * @param {string} [authorization] Bearer Token
519
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
520
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
452
+ * 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.
453
+ * @summary List data-reports
454
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
455
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
456
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
521
457
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
522
458
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
523
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
524
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
459
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
460
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
525
461
  * @param {*} [options] Override http request option.
526
462
  * @throws {RequiredError}
527
463
  */
528
- listDashboards: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
464
+ listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
529
465
  return __awaiter(this, void 0, void 0, function () {
530
466
  var localVarAxiosArgs;
531
467
  return __generator(this, function (_a) {
532
468
  switch (_a.label) {
533
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, options)];
469
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options)];
534
470
  case 1:
535
471
  localVarAxiosArgs = _a.sent();
536
472
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -539,19 +475,20 @@ var DashboardApiFp = function (configuration) {
539
475
  });
540
476
  },
541
477
  /**
542
- *
543
- * @param {number} id
544
- * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
545
- * @param {string} [authorization] Bearer Token
478
+ * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
479
+ * @summary Update the data-report
480
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
481
+ * @param {string} code
482
+ * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
546
483
  * @param {*} [options] Override http request option.
547
484
  * @throws {RequiredError}
548
485
  */
549
- updateDashboard: function (id, updateDashboardRequestDto, authorization, options) {
486
+ updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
550
487
  return __awaiter(this, void 0, void 0, function () {
551
488
  var localVarAxiosArgs;
552
489
  return __generator(this, function (_a) {
553
490
  switch (_a.label) {
554
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDashboard(id, updateDashboardRequestDto, authorization, options)];
491
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateDataReport(authorization, code, updateDataReportRequestDto, options)];
555
492
  case 1:
556
493
  localVarAxiosArgs = _a.sent();
557
494
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -561,164 +498,148 @@ var DashboardApiFp = function (configuration) {
561
498
  },
562
499
  };
563
500
  };
564
- exports.DashboardApiFp = DashboardApiFp;
501
+ exports.DataReportApiFp = DataReportApiFp;
565
502
  /**
566
- * DashboardApi - factory interface
503
+ * DataReportApi - factory interface
567
504
  * @export
568
505
  */
569
- var DashboardApiFactory = function (configuration, basePath, axios) {
570
- var localVarFp = (0, exports.DashboardApiFp)(configuration);
506
+ var DataReportApiFactory = function (configuration, basePath, axios) {
507
+ var localVarFp = (0, exports.DataReportApiFp)(configuration);
571
508
  return {
572
509
  /**
573
- *
574
- * @param {CreateDashboardRequestDto} createDashboardRequestDto
575
- * @param {string} [authorization] Bearer Token
510
+ * This will create a data report for tenant in the database
511
+ * @summary Create the data-report
512
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
513
+ * @param {CreateDataReportRequestDto} createDataReportRequestDto
576
514
  * @param {*} [options] Override http request option.
577
515
  * @throws {RequiredError}
578
516
  */
579
- createDashboard: function (createDashboardRequestDto, authorization, options) {
580
- return localVarFp.createDashboard(createDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
517
+ createCustomSchema: function (authorization, createDataReportRequestDto, options) {
518
+ return localVarFp.createCustomSchema(authorization, createDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
581
519
  },
582
520
  /**
583
521
  *
522
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
584
523
  * @param {string} id
585
- * @param {string} [authorization] Bearer Token
586
524
  * @param {*} [options] Override http request option.
587
525
  * @throws {RequiredError}
588
526
  */
589
- deleteDashboard: function (id, authorization, options) {
590
- return localVarFp.deleteDashboard(id, authorization, options).then(function (request) { return request(axios, basePath); });
527
+ deleteAlert: function (authorization, id, options) {
528
+ return localVarFp.deleteAlert(authorization, id, options).then(function (request) { return request(axios, basePath); });
591
529
  },
592
530
  /**
593
- *
594
- * @param {string} code
595
- * @param {string} code2 Dashboard code
596
- * @param {string} [authorization] Bearer Token
531
+ * 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.
532
+ * @summary Retrieve the data-report
533
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
534
+ * @param {string} code Unique identifier for the object.
597
535
  * @param {string} [expand] Fields to expand response by
598
536
  * @param {*} [options] Override http request option.
599
537
  * @throws {RequiredError}
600
538
  */
601
- getDashboard: function (code, code2, authorization, expand, options) {
602
- return localVarFp.getDashboard(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
603
- },
604
- /**
605
- *
606
- * @param {string} providerDashboardId
607
- * @param {string} providerName
608
- * @param {string} [authorization] Bearer Token
609
- * @param {*} [options] Override http request option.
610
- * @throws {RequiredError}
611
- */
612
- getEmbeddedUrl: function (providerDashboardId, providerName, authorization, options) {
613
- return localVarFp.getEmbeddedUrl(providerDashboardId, providerName, authorization, options).then(function (request) { return request(axios, basePath); });
539
+ getDataReport: function (authorization, code, expand, options) {
540
+ return localVarFp.getDataReport(authorization, code, expand, options).then(function (request) { return request(axios, basePath); });
614
541
  },
615
542
  /**
616
- *
617
- * @param {string} [authorization] Bearer Token
618
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
619
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
543
+ * 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.
544
+ * @summary List data-reports
545
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
546
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
547
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
620
548
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
621
549
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
622
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
623
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
550
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
551
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
624
552
  * @param {*} [options] Override http request option.
625
553
  * @throws {RequiredError}
626
554
  */
627
- listDashboards: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
628
- return localVarFp.listDashboards(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
555
+ listDataReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
556
+ return localVarFp.listDataReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
629
557
  },
630
558
  /**
631
- *
632
- * @param {number} id
633
- * @param {UpdateDashboardRequestDto} updateDashboardRequestDto
634
- * @param {string} [authorization] Bearer Token
559
+ * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
560
+ * @summary Update the data-report
561
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
562
+ * @param {string} code
563
+ * @param {UpdateDataReportRequestDto} updateDataReportRequestDto
635
564
  * @param {*} [options] Override http request option.
636
565
  * @throws {RequiredError}
637
566
  */
638
- updateDashboard: function (id, updateDashboardRequestDto, authorization, options) {
639
- return localVarFp.updateDashboard(id, updateDashboardRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
567
+ updateDataReport: function (authorization, code, updateDataReportRequestDto, options) {
568
+ return localVarFp.updateDataReport(authorization, code, updateDataReportRequestDto, options).then(function (request) { return request(axios, basePath); });
640
569
  },
641
570
  };
642
571
  };
643
- exports.DashboardApiFactory = DashboardApiFactory;
572
+ exports.DataReportApiFactory = DataReportApiFactory;
644
573
  /**
645
- * DashboardApi - object-oriented interface
574
+ * DataReportApi - object-oriented interface
646
575
  * @export
647
- * @class DashboardApi
576
+ * @class DataReportApi
648
577
  * @extends {BaseAPI}
649
578
  */
650
- var DashboardApi = /** @class */ (function (_super) {
651
- __extends(DashboardApi, _super);
652
- function DashboardApi() {
579
+ var DataReportApi = /** @class */ (function (_super) {
580
+ __extends(DataReportApi, _super);
581
+ function DataReportApi() {
653
582
  return _super !== null && _super.apply(this, arguments) || this;
654
583
  }
655
584
  /**
656
- *
657
- * @param {DashboardApiCreateDashboardRequest} requestParameters Request parameters.
658
- * @param {*} [options] Override http request option.
659
- * @throws {RequiredError}
660
- * @memberof DashboardApi
661
- */
662
- DashboardApi.prototype.createDashboard = function (requestParameters, options) {
663
- var _this = this;
664
- return (0, exports.DashboardApiFp)(this.configuration).createDashboard(requestParameters.createDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
665
- };
666
- /**
667
- *
668
- * @param {DashboardApiDeleteDashboardRequest} requestParameters Request parameters.
585
+ * This will create a data report for tenant in the database
586
+ * @summary Create the data-report
587
+ * @param {DataReportApiCreateCustomSchemaRequest} requestParameters Request parameters.
669
588
  * @param {*} [options] Override http request option.
670
589
  * @throws {RequiredError}
671
- * @memberof DashboardApi
590
+ * @memberof DataReportApi
672
591
  */
673
- DashboardApi.prototype.deleteDashboard = function (requestParameters, options) {
592
+ DataReportApi.prototype.createCustomSchema = function (requestParameters, options) {
674
593
  var _this = this;
675
- return (0, exports.DashboardApiFp)(this.configuration).deleteDashboard(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
594
+ return (0, exports.DataReportApiFp)(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
676
595
  };
677
596
  /**
678
597
  *
679
- * @param {DashboardApiGetDashboardRequest} requestParameters Request parameters.
598
+ * @param {DataReportApiDeleteAlertRequest} requestParameters Request parameters.
680
599
  * @param {*} [options] Override http request option.
681
600
  * @throws {RequiredError}
682
- * @memberof DashboardApi
601
+ * @memberof DataReportApi
683
602
  */
684
- DashboardApi.prototype.getDashboard = function (requestParameters, options) {
603
+ DataReportApi.prototype.deleteAlert = function (requestParameters, options) {
685
604
  var _this = this;
686
- return (0, exports.DashboardApiFp)(this.configuration).getDashboard(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
605
+ return (0, exports.DataReportApiFp)(this.configuration).deleteAlert(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
687
606
  };
688
607
  /**
689
- *
690
- * @param {DashboardApiGetEmbeddedUrlRequest} requestParameters Request parameters.
608
+ * 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.
609
+ * @summary Retrieve the data-report
610
+ * @param {DataReportApiGetDataReportRequest} requestParameters Request parameters.
691
611
  * @param {*} [options] Override http request option.
692
612
  * @throws {RequiredError}
693
- * @memberof DashboardApi
613
+ * @memberof DataReportApi
694
614
  */
695
- DashboardApi.prototype.getEmbeddedUrl = function (requestParameters, options) {
615
+ DataReportApi.prototype.getDataReport = function (requestParameters, options) {
696
616
  var _this = this;
697
- return (0, exports.DashboardApiFp)(this.configuration).getEmbeddedUrl(requestParameters.providerDashboardId, requestParameters.providerName, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
617
+ return (0, exports.DataReportApiFp)(this.configuration).getDataReport(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
698
618
  };
699
619
  /**
700
- *
701
- * @param {DashboardApiListDashboardsRequest} requestParameters Request parameters.
620
+ * 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.
621
+ * @summary List data-reports
622
+ * @param {DataReportApiListDataReportsRequest} requestParameters Request parameters.
702
623
  * @param {*} [options] Override http request option.
703
624
  * @throws {RequiredError}
704
- * @memberof DashboardApi
625
+ * @memberof DataReportApi
705
626
  */
706
- DashboardApi.prototype.listDashboards = function (requestParameters, options) {
627
+ DataReportApi.prototype.listDataReports = function (requestParameters, options) {
707
628
  var _this = this;
708
- if (requestParameters === void 0) { requestParameters = {}; }
709
- return (0, exports.DashboardApiFp)(this.configuration).listDashboards(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
629
+ return (0, exports.DataReportApiFp)(this.configuration).listDataReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
710
630
  };
711
631
  /**
712
- *
713
- * @param {DashboardApiUpdateDashboardRequest} requestParameters Request parameters.
632
+ * Updates the specified data-report by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
633
+ * @summary Update the data-report
634
+ * @param {DataReportApiUpdateDataReportRequest} requestParameters Request parameters.
714
635
  * @param {*} [options] Override http request option.
715
636
  * @throws {RequiredError}
716
- * @memberof DashboardApi
637
+ * @memberof DataReportApi
717
638
  */
718
- DashboardApi.prototype.updateDashboard = function (requestParameters, options) {
639
+ DataReportApi.prototype.updateDataReport = function (requestParameters, options) {
719
640
  var _this = this;
720
- return (0, exports.DashboardApiFp)(this.configuration).updateDashboard(requestParameters.id, requestParameters.updateDashboardRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
641
+ return (0, exports.DataReportApiFp)(this.configuration).updateDataReport(requestParameters.authorization, requestParameters.code, requestParameters.updateDataReportRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
721
642
  };
722
- return DashboardApi;
643
+ return DataReportApi;
723
644
  }(base_1.BaseAPI));
724
- exports.DashboardApi = DashboardApi;
645
+ exports.DataReportApi = DataReportApi;