@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.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = void 0;
81
+ exports.InviteUsersApi = exports.InviteUsersApiFactory = exports.InviteUsersApiFp = exports.InviteUsersApiAxiosParamCreator = 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,35 +90,39 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * ReportsApi - axios parameter creator
93
+ * InviteUsersApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var ReportsApiAxiosParamCreator = function (configuration) {
96
+ var InviteUsersApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- *
101
- * @param {CreateReportRequestDto} createReportRequestDto
102
- * @param {string} [authorization] Bearer Token
100
+ * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
101
+ * @summary Delete the invited user
102
+ * @param {string} authorization Bearer Token
103
+ * @param {number} id
103
104
  * @param {*} [options] Override http request option.
104
105
  * @throws {RequiredError}
105
106
  */
106
- createReport: function (createReportRequestDto, authorization, options) {
107
+ deleteInvite: function (authorization, id, 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 'createReportRequestDto' is not null or undefined
114
- (0, common_1.assertParamExists)('createReport', 'createReportRequestDto', createReportRequestDto);
115
- localVarPath = "/tenantservice/v1/reports";
114
+ // verify required parameter 'authorization' is not null or undefined
115
+ (0, common_1.assertParamExists)('deleteInvite', 'authorization', authorization);
116
+ // verify required parameter 'id' is not null or undefined
117
+ (0, common_1.assertParamExists)('deleteInvite', 'id', id);
118
+ localVarPath = "/tenantservice/v1/users/invites/{id}"
119
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
116
120
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
117
121
  if (configuration) {
118
122
  baseOptions = configuration.baseOptions;
119
123
  baseAccessToken = configuration.accessToken;
120
124
  }
121
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
125
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
122
126
  localVarHeaderParameter = {};
123
127
  localVarQueryParameter = {};
124
128
  // authentication bearer required
@@ -131,11 +135,9 @@ var ReportsApiAxiosParamCreator = function (configuration) {
131
135
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
136
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
133
137
  }
134
- localVarHeaderParameter['Content-Type'] = 'application/json';
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)(createReportRequestDto, localVarRequestOptions, configuration);
139
141
  return [2 /*return*/, {
140
142
  url: (0, common_1.toPathString)(localVarUrlObj),
141
143
  options: localVarRequestOptions,
@@ -145,29 +147,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
145
147
  });
146
148
  },
147
149
  /**
148
- *
149
- * @param {number} id
150
- * @param {string} [authorization] Bearer Token
150
+ * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
151
+ * @summary Delete invited users.
152
+ * @param {string} authorization Bearer Token
153
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
151
154
  * @param {*} [options] Override http request option.
152
155
  * @throws {RequiredError}
153
156
  */
154
- deleteReport: function (id, authorization, options) {
157
+ deleteInvites: function (authorization, batchDeleteRequestDto, 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:
161
- // verify required parameter 'id' is not null or undefined
162
- (0, common_1.assertParamExists)('deleteReport', 'id', id);
163
- localVarPath = "/tenantservice/v1/reports/{id}"
164
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
164
+ // verify required parameter 'authorization' is not null or undefined
165
+ (0, common_1.assertParamExists)('deleteInvites', 'authorization', authorization);
166
+ // verify required parameter 'batchDeleteRequestDto' is not null or undefined
167
+ (0, common_1.assertParamExists)('deleteInvites', 'batchDeleteRequestDto', batchDeleteRequestDto);
168
+ localVarPath = "/tenantservice/v1/users/invites/delete-batch";
165
169
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
166
170
  if (configuration) {
167
171
  baseOptions = configuration.baseOptions;
168
172
  baseAccessToken = configuration.accessToken;
169
173
  }
170
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
174
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
171
175
  localVarHeaderParameter = {};
172
176
  localVarQueryParameter = {};
173
177
  // authentication bearer required
@@ -180,9 +184,11 @@ var ReportsApiAxiosParamCreator = function (configuration) {
180
184
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
181
185
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
182
186
  }
187
+ localVarHeaderParameter['Content-Type'] = 'application/json';
183
188
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
184
189
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
185
190
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
191
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchDeleteRequestDto, localVarRequestOptions, configuration);
186
192
  return [2 /*return*/, {
187
193
  url: (0, common_1.toPathString)(localVarUrlObj),
188
194
  options: localVarRequestOptions,
@@ -192,33 +198,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
192
198
  });
193
199
  },
194
200
  /**
195
- *
196
- * @param {string} code
197
- * @param {string} code2 code
198
- * @param {string} [authorization] Bearer Token
199
- * @param {string} [expand] Fields to expand response by
201
+ * This send an email to invite a user with the specific role/roles.
202
+ * @summary Invite a user
203
+ * @param {string} authorization Bearer Token
204
+ * @param {InviteUserRequestDto} inviteUserRequestDto
200
205
  * @param {*} [options] Override http request option.
201
206
  * @throws {RequiredError}
202
207
  */
203
- getReport: function (code, code2, authorization, expand, options) {
208
+ inviteUser: function (authorization, inviteUserRequestDto, 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:
210
- // verify required parameter 'code' is not null or undefined
211
- (0, common_1.assertParamExists)('getReport', 'code', code);
212
- // verify required parameter 'code2' is not null or undefined
213
- (0, common_1.assertParamExists)('getReport', 'code2', code2);
214
- localVarPath = "/tenantservice/v1/reports/{code}"
215
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
215
+ // verify required parameter 'authorization' is not null or undefined
216
+ (0, common_1.assertParamExists)('inviteUser', 'authorization', authorization);
217
+ // verify required parameter 'inviteUserRequestDto' is not null or undefined
218
+ (0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
219
+ localVarPath = "/tenantservice/v1/users/invites";
216
220
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
217
221
  if (configuration) {
218
222
  baseOptions = configuration.baseOptions;
219
223
  baseAccessToken = configuration.accessToken;
220
224
  }
221
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
225
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
222
226
  localVarHeaderParameter = {};
223
227
  localVarQueryParameter = {};
224
228
  // authentication bearer required
@@ -228,18 +232,14 @@ var ReportsApiAxiosParamCreator = function (configuration) {
228
232
  // authentication bearer required
229
233
  // http bearer authentication required
230
234
  _a.sent();
231
- if (code2 !== undefined) {
232
- localVarQueryParameter['code'] = code2;
233
- }
234
- if (expand !== undefined) {
235
- localVarQueryParameter['expand'] = expand;
236
- }
237
235
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
238
236
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
239
237
  }
238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
240
239
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
241
240
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
242
241
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUserRequestDto, localVarRequestOptions, configuration);
243
243
  return [2 /*return*/, {
244
244
  url: (0, common_1.toPathString)(localVarUrlObj),
245
245
  options: localVarRequestOptions,
@@ -249,35 +249,31 @@ var ReportsApiAxiosParamCreator = function (configuration) {
249
249
  });
250
250
  },
251
251
  /**
252
- *
253
- * @param {string} code
254
- * @param {string} [authorization] Bearer Token
255
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
256
- * @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.
257
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
258
- * @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.
259
- * @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.
260
- * @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.
252
+ * This send bulk emails to invite users with the specific role/roles.
253
+ * @summary Invite batch of users
254
+ * @param {string} authorization Bearer Token
255
+ * @param {InviteUsersRequestDto} inviteUsersRequestDto
261
256
  * @param {*} [options] Override http request option.
262
257
  * @throws {RequiredError}
263
258
  */
264
- listReportHistory: function (code, authorization, pageSize, pageToken, filter, search, order, expand, options) {
259
+ inviteUsers: function (authorization, inviteUsersRequestDto, options) {
265
260
  if (options === void 0) { options = {}; }
266
261
  return __awaiter(_this, void 0, void 0, function () {
267
262
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
268
263
  return __generator(this, function (_a) {
269
264
  switch (_a.label) {
270
265
  case 0:
271
- // verify required parameter 'code' is not null or undefined
272
- (0, common_1.assertParamExists)('listReportHistory', 'code', code);
273
- localVarPath = "/tenantservice/v1/reports/{code}/history"
274
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
266
+ // verify required parameter 'authorization' is not null or undefined
267
+ (0, common_1.assertParamExists)('inviteUsers', 'authorization', authorization);
268
+ // verify required parameter 'inviteUsersRequestDto' is not null or undefined
269
+ (0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
270
+ localVarPath = "/tenantservice/v1/users/invites/batch";
275
271
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
276
272
  if (configuration) {
277
273
  baseOptions = configuration.baseOptions;
278
274
  baseAccessToken = configuration.accessToken;
279
275
  }
280
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
276
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
281
277
  localVarHeaderParameter = {};
282
278
  localVarQueryParameter = {};
283
279
  // authentication bearer required
@@ -287,30 +283,14 @@ var ReportsApiAxiosParamCreator = function (configuration) {
287
283
  // authentication bearer required
288
284
  // http bearer authentication required
289
285
  _a.sent();
290
- if (pageSize !== undefined) {
291
- localVarQueryParameter['pageSize'] = pageSize;
292
- }
293
- if (pageToken !== undefined) {
294
- localVarQueryParameter['pageToken'] = pageToken;
295
- }
296
- if (filter !== undefined) {
297
- localVarQueryParameter['filter'] = filter;
298
- }
299
- if (search !== undefined) {
300
- localVarQueryParameter['search'] = search;
301
- }
302
- if (order !== undefined) {
303
- localVarQueryParameter['order'] = order;
304
- }
305
- if (expand !== undefined) {
306
- localVarQueryParameter['expand'] = expand;
307
- }
308
286
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
309
287
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
310
288
  }
289
+ localVarHeaderParameter['Content-Type'] = 'application/json';
311
290
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
312
291
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
313
292
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
293
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteUsersRequestDto, localVarRequestOptions, configuration);
314
294
  return [2 /*return*/, {
315
295
  url: (0, common_1.toPathString)(localVarUrlObj),
316
296
  options: localVarRequestOptions,
@@ -320,25 +300,28 @@ var ReportsApiAxiosParamCreator = function (configuration) {
320
300
  });
321
301
  },
322
302
  /**
323
- *
324
- * @param {string} [authorization] Bearer Token
325
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
326
- * @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.
303
+ * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
304
+ * @summary List invited users
305
+ * @param {string} authorization Bearer Token
306
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
307
+ * @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.
327
308
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
328
309
  * @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.
329
- * @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.
330
- * @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.
310
+ * @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.
311
+ * @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.
331
312
  * @param {*} [options] Override http request option.
332
313
  * @throws {RequiredError}
333
314
  */
334
- listReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
315
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
335
316
  if (options === void 0) { options = {}; }
336
317
  return __awaiter(_this, void 0, void 0, function () {
337
318
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
338
319
  return __generator(this, function (_a) {
339
320
  switch (_a.label) {
340
321
  case 0:
341
- localVarPath = "/tenantservice/v1/reports";
322
+ // verify required parameter 'authorization' is not null or undefined
323
+ (0, common_1.assertParamExists)('listInvites', 'authorization', authorization);
324
+ localVarPath = "/tenantservice/v1/users/invites";
342
325
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
343
326
  if (configuration) {
344
327
  baseOptions = configuration.baseOptions;
@@ -386,81 +369,30 @@ var ReportsApiAxiosParamCreator = function (configuration) {
386
369
  });
387
370
  });
388
371
  },
389
- /**
390
- *
391
- * @param {number} id
392
- * @param {UpdateReportRequestDto} updateReportRequestDto
393
- * @param {string} [authorization] Bearer Token
394
- * @param {*} [options] Override http request option.
395
- * @throws {RequiredError}
396
- */
397
- updateReport: function (id, updateReportRequestDto, authorization, options) {
398
- if (options === void 0) { options = {}; }
399
- return __awaiter(_this, void 0, void 0, function () {
400
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
401
- return __generator(this, function (_a) {
402
- switch (_a.label) {
403
- case 0:
404
- // verify required parameter 'id' is not null or undefined
405
- (0, common_1.assertParamExists)('updateReport', 'id', id);
406
- // verify required parameter 'updateReportRequestDto' is not null or undefined
407
- (0, common_1.assertParamExists)('updateReport', 'updateReportRequestDto', updateReportRequestDto);
408
- localVarPath = "/tenantservice/v1/reports/{id}"
409
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
410
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
411
- if (configuration) {
412
- baseOptions = configuration.baseOptions;
413
- baseAccessToken = configuration.accessToken;
414
- }
415
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
416
- localVarHeaderParameter = {};
417
- localVarQueryParameter = {};
418
- // authentication bearer required
419
- // http bearer authentication required
420
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
421
- case 1:
422
- // authentication bearer required
423
- // http bearer authentication required
424
- _a.sent();
425
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
426
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
427
- }
428
- localVarHeaderParameter['Content-Type'] = 'application/json';
429
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
430
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateReportRequestDto, localVarRequestOptions, configuration);
433
- return [2 /*return*/, {
434
- url: (0, common_1.toPathString)(localVarUrlObj),
435
- options: localVarRequestOptions,
436
- }];
437
- }
438
- });
439
- });
440
- },
441
372
  };
442
373
  };
443
- exports.ReportsApiAxiosParamCreator = ReportsApiAxiosParamCreator;
374
+ exports.InviteUsersApiAxiosParamCreator = InviteUsersApiAxiosParamCreator;
444
375
  /**
445
- * ReportsApi - functional programming interface
376
+ * InviteUsersApi - functional programming interface
446
377
  * @export
447
378
  */
448
- var ReportsApiFp = function (configuration) {
449
- var localVarAxiosParamCreator = (0, exports.ReportsApiAxiosParamCreator)(configuration);
379
+ var InviteUsersApiFp = function (configuration) {
380
+ var localVarAxiosParamCreator = (0, exports.InviteUsersApiAxiosParamCreator)(configuration);
450
381
  return {
451
382
  /**
452
- *
453
- * @param {CreateReportRequestDto} createReportRequestDto
454
- * @param {string} [authorization] Bearer Token
383
+ * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
384
+ * @summary Delete the invited user
385
+ * @param {string} authorization Bearer Token
386
+ * @param {number} id
455
387
  * @param {*} [options] Override http request option.
456
388
  * @throws {RequiredError}
457
389
  */
458
- createReport: function (createReportRequestDto, authorization, options) {
390
+ deleteInvite: function (authorization, id, options) {
459
391
  return __awaiter(this, void 0, void 0, function () {
460
392
  var localVarAxiosArgs;
461
393
  return __generator(this, function (_a) {
462
394
  switch (_a.label) {
463
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createReport(createReportRequestDto, authorization, options)];
395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(authorization, id, options)];
464
396
  case 1:
465
397
  localVarAxiosArgs = _a.sent();
466
398
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -469,18 +401,19 @@ var ReportsApiFp = function (configuration) {
469
401
  });
470
402
  },
471
403
  /**
472
- *
473
- * @param {number} id
474
- * @param {string} [authorization] Bearer Token
404
+ * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
405
+ * @summary Delete invited users.
406
+ * @param {string} authorization Bearer Token
407
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
475
408
  * @param {*} [options] Override http request option.
476
409
  * @throws {RequiredError}
477
410
  */
478
- deleteReport: function (id, authorization, options) {
411
+ deleteInvites: function (authorization, batchDeleteRequestDto, options) {
479
412
  return __awaiter(this, void 0, void 0, function () {
480
413
  var localVarAxiosArgs;
481
414
  return __generator(this, function (_a) {
482
415
  switch (_a.label) {
483
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteReport(id, authorization, options)];
416
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvites(authorization, batchDeleteRequestDto, options)];
484
417
  case 1:
485
418
  localVarAxiosArgs = _a.sent();
486
419
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -489,20 +422,19 @@ var ReportsApiFp = function (configuration) {
489
422
  });
490
423
  },
491
424
  /**
492
- *
493
- * @param {string} code
494
- * @param {string} code2 code
495
- * @param {string} [authorization] Bearer Token
496
- * @param {string} [expand] Fields to expand response by
425
+ * This send an email to invite a user with the specific role/roles.
426
+ * @summary Invite a user
427
+ * @param {string} authorization Bearer Token
428
+ * @param {InviteUserRequestDto} inviteUserRequestDto
497
429
  * @param {*} [options] Override http request option.
498
430
  * @throws {RequiredError}
499
431
  */
500
- getReport: function (code, code2, authorization, expand, options) {
432
+ inviteUser: function (authorization, inviteUserRequestDto, options) {
501
433
  return __awaiter(this, void 0, void 0, function () {
502
434
  var localVarAxiosArgs;
503
435
  return __generator(this, function (_a) {
504
436
  switch (_a.label) {
505
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getReport(code, code2, authorization, expand, options)];
437
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(authorization, inviteUserRequestDto, options)];
506
438
  case 1:
507
439
  localVarAxiosArgs = _a.sent();
508
440
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -511,24 +443,19 @@ var ReportsApiFp = function (configuration) {
511
443
  });
512
444
  },
513
445
  /**
514
- *
515
- * @param {string} code
516
- * @param {string} [authorization] Bearer Token
517
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
518
- * @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.
519
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
520
- * @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.
521
- * @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.
522
- * @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.
446
+ * This send bulk emails to invite users with the specific role/roles.
447
+ * @summary Invite batch of users
448
+ * @param {string} authorization Bearer Token
449
+ * @param {InviteUsersRequestDto} inviteUsersRequestDto
523
450
  * @param {*} [options] Override http request option.
524
451
  * @throws {RequiredError}
525
452
  */
526
- listReportHistory: function (code, authorization, pageSize, pageToken, filter, search, order, expand, options) {
453
+ inviteUsers: function (authorization, inviteUsersRequestDto, options) {
527
454
  return __awaiter(this, void 0, void 0, function () {
528
455
  var localVarAxiosArgs;
529
456
  return __generator(this, function (_a) {
530
457
  switch (_a.label) {
531
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReportHistory(code, authorization, pageSize, pageToken, filter, search, order, expand, options)];
458
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(authorization, inviteUsersRequestDto, options)];
532
459
  case 1:
533
460
  localVarAxiosArgs = _a.sent();
534
461
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -537,44 +464,24 @@ var ReportsApiFp = function (configuration) {
537
464
  });
538
465
  },
539
466
  /**
540
- *
541
- * @param {string} [authorization] Bearer Token
542
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
543
- * @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.
467
+ * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
468
+ * @summary List invited users
469
+ * @param {string} authorization Bearer Token
470
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
471
+ * @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.
544
472
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
545
473
  * @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.
546
- * @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.
547
- * @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.
548
- * @param {*} [options] Override http request option.
549
- * @throws {RequiredError}
550
- */
551
- listReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
552
- return __awaiter(this, void 0, void 0, function () {
553
- var localVarAxiosArgs;
554
- return __generator(this, function (_a) {
555
- switch (_a.label) {
556
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listReports(authorization, pageSize, pageToken, filter, search, order, expand, options)];
557
- case 1:
558
- localVarAxiosArgs = _a.sent();
559
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
560
- }
561
- });
562
- });
563
- },
564
- /**
565
- *
566
- * @param {number} id
567
- * @param {UpdateReportRequestDto} updateReportRequestDto
568
- * @param {string} [authorization] Bearer Token
474
+ * @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.
475
+ * @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.
569
476
  * @param {*} [options] Override http request option.
570
477
  * @throws {RequiredError}
571
478
  */
572
- updateReport: function (id, updateReportRequestDto, authorization, options) {
479
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
573
480
  return __awaiter(this, void 0, void 0, function () {
574
481
  var localVarAxiosArgs;
575
482
  return __generator(this, function (_a) {
576
483
  switch (_a.label) {
577
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateReport(id, updateReportRequestDto, authorization, options)];
484
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options)];
578
485
  case 1:
579
486
  localVarAxiosArgs = _a.sent();
580
487
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -584,169 +491,148 @@ var ReportsApiFp = function (configuration) {
584
491
  },
585
492
  };
586
493
  };
587
- exports.ReportsApiFp = ReportsApiFp;
494
+ exports.InviteUsersApiFp = InviteUsersApiFp;
588
495
  /**
589
- * ReportsApi - factory interface
496
+ * InviteUsersApi - factory interface
590
497
  * @export
591
498
  */
592
- var ReportsApiFactory = function (configuration, basePath, axios) {
593
- var localVarFp = (0, exports.ReportsApiFp)(configuration);
499
+ var InviteUsersApiFactory = function (configuration, basePath, axios) {
500
+ var localVarFp = (0, exports.InviteUsersApiFp)(configuration);
594
501
  return {
595
502
  /**
596
- *
597
- * @param {CreateReportRequestDto} createReportRequestDto
598
- * @param {string} [authorization] Bearer Token
503
+ * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
504
+ * @summary Delete the invited user
505
+ * @param {string} authorization Bearer Token
506
+ * @param {number} id
599
507
  * @param {*} [options] Override http request option.
600
508
  * @throws {RequiredError}
601
509
  */
602
- createReport: function (createReportRequestDto, authorization, options) {
603
- return localVarFp.createReport(createReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
510
+ deleteInvite: function (authorization, id, options) {
511
+ return localVarFp.deleteInvite(authorization, id, options).then(function (request) { return request(axios, basePath); });
604
512
  },
605
513
  /**
606
- *
607
- * @param {number} id
608
- * @param {string} [authorization] Bearer Token
514
+ * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
515
+ * @summary Delete invited users.
516
+ * @param {string} authorization Bearer Token
517
+ * @param {BatchDeleteRequestDto} batchDeleteRequestDto
609
518
  * @param {*} [options] Override http request option.
610
519
  * @throws {RequiredError}
611
520
  */
612
- deleteReport: function (id, authorization, options) {
613
- return localVarFp.deleteReport(id, authorization, options).then(function (request) { return request(axios, basePath); });
521
+ deleteInvites: function (authorization, batchDeleteRequestDto, options) {
522
+ return localVarFp.deleteInvites(authorization, batchDeleteRequestDto, options).then(function (request) { return request(axios, basePath); });
614
523
  },
615
524
  /**
616
- *
617
- * @param {string} code
618
- * @param {string} code2 code
619
- * @param {string} [authorization] Bearer Token
620
- * @param {string} [expand] Fields to expand response by
525
+ * This send an email to invite a user with the specific role/roles.
526
+ * @summary Invite a user
527
+ * @param {string} authorization Bearer Token
528
+ * @param {InviteUserRequestDto} inviteUserRequestDto
621
529
  * @param {*} [options] Override http request option.
622
530
  * @throws {RequiredError}
623
531
  */
624
- getReport: function (code, code2, authorization, expand, options) {
625
- return localVarFp.getReport(code, code2, authorization, expand, options).then(function (request) { return request(axios, basePath); });
532
+ inviteUser: function (authorization, inviteUserRequestDto, options) {
533
+ return localVarFp.inviteUser(authorization, inviteUserRequestDto, options).then(function (request) { return request(axios, basePath); });
626
534
  },
627
535
  /**
628
- *
629
- * @param {string} code
630
- * @param {string} [authorization] Bearer Token
631
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
632
- * @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.
633
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
634
- * @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.
635
- * @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.
636
- * @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.
536
+ * This send bulk emails to invite users with the specific role/roles.
537
+ * @summary Invite batch of users
538
+ * @param {string} authorization Bearer Token
539
+ * @param {InviteUsersRequestDto} inviteUsersRequestDto
637
540
  * @param {*} [options] Override http request option.
638
541
  * @throws {RequiredError}
639
542
  */
640
- listReportHistory: function (code, authorization, pageSize, pageToken, filter, search, order, expand, options) {
641
- return localVarFp.listReportHistory(code, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
543
+ inviteUsers: function (authorization, inviteUsersRequestDto, options) {
544
+ return localVarFp.inviteUsers(authorization, inviteUsersRequestDto, options).then(function (request) { return request(axios, basePath); });
642
545
  },
643
546
  /**
644
- *
645
- * @param {string} [authorization] Bearer Token
646
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
647
- * @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.
547
+ * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
548
+ * @summary List invited users
549
+ * @param {string} authorization Bearer Token
550
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
551
+ * @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.
648
552
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
649
553
  * @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.
650
- * @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.
651
- * @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.
554
+ * @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.
555
+ * @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.
652
556
  * @param {*} [options] Override http request option.
653
557
  * @throws {RequiredError}
654
558
  */
655
- listReports: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
656
- return localVarFp.listReports(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
657
- },
658
- /**
659
- *
660
- * @param {number} id
661
- * @param {UpdateReportRequestDto} updateReportRequestDto
662
- * @param {string} [authorization] Bearer Token
663
- * @param {*} [options] Override http request option.
664
- * @throws {RequiredError}
665
- */
666
- updateReport: function (id, updateReportRequestDto, authorization, options) {
667
- return localVarFp.updateReport(id, updateReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
559
+ listInvites: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
560
+ return localVarFp.listInvites(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
668
561
  },
669
562
  };
670
563
  };
671
- exports.ReportsApiFactory = ReportsApiFactory;
564
+ exports.InviteUsersApiFactory = InviteUsersApiFactory;
672
565
  /**
673
- * ReportsApi - object-oriented interface
566
+ * InviteUsersApi - object-oriented interface
674
567
  * @export
675
- * @class ReportsApi
568
+ * @class InviteUsersApi
676
569
  * @extends {BaseAPI}
677
570
  */
678
- var ReportsApi = /** @class */ (function (_super) {
679
- __extends(ReportsApi, _super);
680
- function ReportsApi() {
571
+ var InviteUsersApi = /** @class */ (function (_super) {
572
+ __extends(InviteUsersApi, _super);
573
+ function InviteUsersApi() {
681
574
  return _super !== null && _super.apply(this, arguments) || this;
682
575
  }
683
576
  /**
684
- *
685
- * @param {ReportsApiCreateReportRequest} requestParameters Request parameters.
686
- * @param {*} [options] Override http request option.
687
- * @throws {RequiredError}
688
- * @memberof ReportsApi
689
- */
690
- ReportsApi.prototype.createReport = function (requestParameters, options) {
691
- var _this = this;
692
- return (0, exports.ReportsApiFp)(this.configuration).createReport(requestParameters.createReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
693
- };
694
- /**
695
- *
696
- * @param {ReportsApiDeleteReportRequest} requestParameters Request parameters.
577
+ * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
578
+ * @summary Delete the invited user
579
+ * @param {InviteUsersApiDeleteInviteRequest} requestParameters Request parameters.
697
580
  * @param {*} [options] Override http request option.
698
581
  * @throws {RequiredError}
699
- * @memberof ReportsApi
582
+ * @memberof InviteUsersApi
700
583
  */
701
- ReportsApi.prototype.deleteReport = function (requestParameters, options) {
584
+ InviteUsersApi.prototype.deleteInvite = function (requestParameters, options) {
702
585
  var _this = this;
703
- return (0, exports.ReportsApiFp)(this.configuration).deleteReport(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
586
+ return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
704
587
  };
705
588
  /**
706
- *
707
- * @param {ReportsApiGetReportRequest} requestParameters Request parameters.
589
+ * This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
590
+ * @summary Delete invited users.
591
+ * @param {InviteUsersApiDeleteInvitesRequest} requestParameters Request parameters.
708
592
  * @param {*} [options] Override http request option.
709
593
  * @throws {RequiredError}
710
- * @memberof ReportsApi
594
+ * @memberof InviteUsersApi
711
595
  */
712
- ReportsApi.prototype.getReport = function (requestParameters, options) {
596
+ InviteUsersApi.prototype.deleteInvites = function (requestParameters, options) {
713
597
  var _this = this;
714
- return (0, exports.ReportsApiFp)(this.configuration).getReport(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
598
+ return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvites(requestParameters.authorization, requestParameters.batchDeleteRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
715
599
  };
716
600
  /**
717
- *
718
- * @param {ReportsApiListReportHistoryRequest} requestParameters Request parameters.
601
+ * This send an email to invite a user with the specific role/roles.
602
+ * @summary Invite a user
603
+ * @param {InviteUsersApiInviteUserRequest} requestParameters Request parameters.
719
604
  * @param {*} [options] Override http request option.
720
605
  * @throws {RequiredError}
721
- * @memberof ReportsApi
606
+ * @memberof InviteUsersApi
722
607
  */
723
- ReportsApi.prototype.listReportHistory = function (requestParameters, options) {
608
+ InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
724
609
  var _this = this;
725
- return (0, exports.ReportsApiFp)(this.configuration).listReportHistory(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
610
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.authorization, requestParameters.inviteUserRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
726
611
  };
727
612
  /**
728
- *
729
- * @param {ReportsApiListReportsRequest} requestParameters Request parameters.
613
+ * This send bulk emails to invite users with the specific role/roles.
614
+ * @summary Invite batch of users
615
+ * @param {InviteUsersApiInviteUsersRequest} requestParameters Request parameters.
730
616
  * @param {*} [options] Override http request option.
731
617
  * @throws {RequiredError}
732
- * @memberof ReportsApi
618
+ * @memberof InviteUsersApi
733
619
  */
734
- ReportsApi.prototype.listReports = function (requestParameters, options) {
620
+ InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
735
621
  var _this = this;
736
- if (requestParameters === void 0) { requestParameters = {}; }
737
- return (0, exports.ReportsApiFp)(this.configuration).listReports(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
622
+ return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.authorization, requestParameters.inviteUsersRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
738
623
  };
739
624
  /**
740
- *
741
- * @param {ReportsApiUpdateReportRequest} requestParameters Request parameters.
625
+ * Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
626
+ * @summary List invited users
627
+ * @param {InviteUsersApiListInvitesRequest} requestParameters Request parameters.
742
628
  * @param {*} [options] Override http request option.
743
629
  * @throws {RequiredError}
744
- * @memberof ReportsApi
630
+ * @memberof InviteUsersApi
745
631
  */
746
- ReportsApi.prototype.updateReport = function (requestParameters, options) {
632
+ InviteUsersApi.prototype.listInvites = function (requestParameters, options) {
747
633
  var _this = this;
748
- return (0, exports.ReportsApiFp)(this.configuration).updateReport(requestParameters.id, requestParameters.updateReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
634
+ return (0, exports.InviteUsersApiFp)(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
749
635
  };
750
- return ReportsApi;
636
+ return InviteUsersApi;
751
637
  }(base_1.BaseAPI));
752
- exports.ReportsApi = ReportsApi;
638
+ exports.InviteUsersApi = InviteUsersApi;