@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
@@ -1,191 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL Tenant Service
5
- * The EMIL TenantService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { ManageSubscriptionRequestDto } from '../models';
25
- // @ts-ignore
26
- import { ManageSubscriptionResponseClass } from '../models';
27
- // URLSearchParams not necessarily used
28
- // @ts-ignore
29
- import { URL, URLSearchParams } from 'url';
30
- const FormData = require('form-data');
31
- /**
32
- * UserSubscriptionApi - axios parameter creator
33
- * @export
34
- */
35
- export const UserSubscriptionApiAxiosParamCreator = function (configuration?: Configuration) {
36
- return {
37
- /**
38
- *
39
- * @param {string} entity
40
- * @param {number} entityId
41
- * @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
42
- * @param {string} [authorization] Bearer Token
43
- * @param {*} [options] Override http request option.
44
- * @throws {RequiredError}
45
- */
46
- manageSubscription: async (entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
- // verify required parameter 'entity' is not null or undefined
48
- assertParamExists('manageSubscription', 'entity', entity)
49
- // verify required parameter 'entityId' is not null or undefined
50
- assertParamExists('manageSubscription', 'entityId', entityId)
51
- // verify required parameter 'manageSubscriptionRequestDto' is not null or undefined
52
- assertParamExists('manageSubscription', 'manageSubscriptionRequestDto', manageSubscriptionRequestDto)
53
- const localVarPath = `/tenantservice/v1/subscriptions/{entity}/{entityId}`
54
- .replace(`{${"entity"}}`, encodeURIComponent(String(entity)))
55
- .replace(`{${"entityId"}}`, encodeURIComponent(String(entityId)));
56
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58
- let baseOptions;
59
- let baseAccessToken;
60
- if (configuration) {
61
- baseOptions = configuration.baseOptions;
62
- baseAccessToken = configuration.accessToken;
63
- }
64
-
65
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66
- const localVarHeaderParameter = {} as any;
67
- const localVarQueryParameter = {} as any;
68
-
69
- // authentication bearer required
70
- // http bearer authentication required
71
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
72
-
73
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
74
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
75
- }
76
-
77
-
78
-
79
- localVarHeaderParameter['Content-Type'] = 'application/json';
80
-
81
- setSearchParams(localVarUrlObj, localVarQueryParameter);
82
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84
- localVarRequestOptions.data = serializeDataIfNeeded(manageSubscriptionRequestDto, localVarRequestOptions, configuration)
85
-
86
- return {
87
- url: toPathString(localVarUrlObj),
88
- options: localVarRequestOptions,
89
- };
90
- },
91
- }
92
- };
93
-
94
- /**
95
- * UserSubscriptionApi - functional programming interface
96
- * @export
97
- */
98
- export const UserSubscriptionApiFp = function(configuration?: Configuration) {
99
- const localVarAxiosParamCreator = UserSubscriptionApiAxiosParamCreator(configuration)
100
- return {
101
- /**
102
- *
103
- * @param {string} entity
104
- * @param {number} entityId
105
- * @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
106
- * @param {string} [authorization] Bearer Token
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- async manageSubscription(entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManageSubscriptionResponseClass>> {
111
- const localVarAxiosArgs = await localVarAxiosParamCreator.manageSubscription(entity, entityId, manageSubscriptionRequestDto, authorization, options);
112
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
113
- },
114
- }
115
- };
116
-
117
- /**
118
- * UserSubscriptionApi - factory interface
119
- * @export
120
- */
121
- export const UserSubscriptionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
122
- const localVarFp = UserSubscriptionApiFp(configuration)
123
- return {
124
- /**
125
- *
126
- * @param {string} entity
127
- * @param {number} entityId
128
- * @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
129
- * @param {string} [authorization] Bearer Token
130
- * @param {*} [options] Override http request option.
131
- * @throws {RequiredError}
132
- */
133
- manageSubscription(entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: any): AxiosPromise<ManageSubscriptionResponseClass> {
134
- return localVarFp.manageSubscription(entity, entityId, manageSubscriptionRequestDto, authorization, options).then((request) => request(axios, basePath));
135
- },
136
- };
137
- };
138
-
139
- /**
140
- * Request parameters for manageSubscription operation in UserSubscriptionApi.
141
- * @export
142
- * @interface UserSubscriptionApiManageSubscriptionRequest
143
- */
144
- export interface UserSubscriptionApiManageSubscriptionRequest {
145
- /**
146
- *
147
- * @type {string}
148
- * @memberof UserSubscriptionApiManageSubscription
149
- */
150
- readonly entity: string
151
-
152
- /**
153
- *
154
- * @type {number}
155
- * @memberof UserSubscriptionApiManageSubscription
156
- */
157
- readonly entityId: number
158
-
159
- /**
160
- *
161
- * @type {ManageSubscriptionRequestDto}
162
- * @memberof UserSubscriptionApiManageSubscription
163
- */
164
- readonly manageSubscriptionRequestDto: ManageSubscriptionRequestDto
165
-
166
- /**
167
- * Bearer Token
168
- * @type {string}
169
- * @memberof UserSubscriptionApiManageSubscription
170
- */
171
- readonly authorization?: string
172
- }
173
-
174
- /**
175
- * UserSubscriptionApi - object-oriented interface
176
- * @export
177
- * @class UserSubscriptionApi
178
- * @extends {BaseAPI}
179
- */
180
- export class UserSubscriptionApi extends BaseAPI {
181
- /**
182
- *
183
- * @param {UserSubscriptionApiManageSubscriptionRequest} requestParameters Request parameters.
184
- * @param {*} [options] Override http request option.
185
- * @throws {RequiredError}
186
- * @memberof UserSubscriptionApi
187
- */
188
- public manageSubscription(requestParameters: UserSubscriptionApiManageSubscriptionRequest, options?: AxiosRequestConfig) {
189
- return UserSubscriptionApiFp(this.configuration).manageSubscription(requestParameters.entity, requestParameters.entityId, requestParameters.manageSubscriptionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
190
- }
191
- }
@@ -1,479 +0,0 @@
1
- /**
2
- * EMIL Tenant Service
3
- * The EMIL TenantService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateAlertRequestDto } from '../models';
16
- import { CreateAlertResponseClass } from '../models';
17
- import { GetAlertResponseClass } from '../models';
18
- import { ListAlertHistoryResponseClass } from '../models';
19
- import { ListAlertsResponseClass } from '../models';
20
- import { UpdateAlertRequestDto } from '../models';
21
- import { UpdateAlertResponseClass } from '../models';
22
- /**
23
- * AlertsApi - axios parameter creator
24
- * @export
25
- */
26
- export declare const AlertsApiAxiosParamCreator: (configuration?: Configuration) => {
27
- /**
28
- *
29
- * @param {CreateAlertRequestDto} createAlertRequestDto
30
- * @param {string} [authorization] Bearer Token
31
- * @param {*} [options] Override http request option.
32
- * @throws {RequiredError}
33
- */
34
- createAlert: (createAlertRequestDto: CreateAlertRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
- /**
36
- *
37
- * @param {number} id
38
- * @param {string} [authorization] Bearer Token
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- deleteAlert: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
- /**
44
- *
45
- * @param {string} code
46
- * @param {string} code2 code
47
- * @param {string} [authorization] Bearer Token
48
- * @param {string} [expand] Fields to expand response by
49
- * @param {*} [options] Override http request option.
50
- * @throws {RequiredError}
51
- */
52
- getAlert: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
- /**
54
- *
55
- * @param {string} code
56
- * @param {string} [authorization] Bearer Token
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
58
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
60
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
61
- * @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.
62
- * @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.
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- listAlertHistory: (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
- /**
68
- *
69
- * @param {string} [authorization] Bearer Token
70
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
71
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
72
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
73
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
74
- * @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.
75
- * @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.
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- listAlerts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
80
- /**
81
- *
82
- * @param {number} id
83
- * @param {UpdateAlertRequestDto} updateAlertRequestDto
84
- * @param {string} [authorization] Bearer Token
85
- * @param {*} [options] Override http request option.
86
- * @throws {RequiredError}
87
- */
88
- updateAlert: (id: number, updateAlertRequestDto: UpdateAlertRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
- };
90
- /**
91
- * AlertsApi - functional programming interface
92
- * @export
93
- */
94
- export declare const AlertsApiFp: (configuration?: Configuration) => {
95
- /**
96
- *
97
- * @param {CreateAlertRequestDto} createAlertRequestDto
98
- * @param {string} [authorization] Bearer Token
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- createAlert(createAlertRequestDto: CreateAlertRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAlertResponseClass>>;
103
- /**
104
- *
105
- * @param {number} id
106
- * @param {string} [authorization] Bearer Token
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- deleteAlert(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
111
- /**
112
- *
113
- * @param {string} code
114
- * @param {string} code2 code
115
- * @param {string} [authorization] Bearer Token
116
- * @param {string} [expand] Fields to expand response by
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- getAlert(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAlertResponseClass>>;
121
- /**
122
- *
123
- * @param {string} code
124
- * @param {string} [authorization] Bearer Token
125
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
126
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
127
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
128
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
129
- * @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.
130
- * @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.
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- */
134
- listAlertHistory(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAlertHistoryResponseClass>>;
135
- /**
136
- *
137
- * @param {string} [authorization] Bearer Token
138
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
139
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
140
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
141
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
142
- * @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.
143
- * @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.
144
- * @param {*} [options] Override http request option.
145
- * @throws {RequiredError}
146
- */
147
- listAlerts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAlertsResponseClass>>;
148
- /**
149
- *
150
- * @param {number} id
151
- * @param {UpdateAlertRequestDto} updateAlertRequestDto
152
- * @param {string} [authorization] Bearer Token
153
- * @param {*} [options] Override http request option.
154
- * @throws {RequiredError}
155
- */
156
- updateAlert(id: number, updateAlertRequestDto: UpdateAlertRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAlertResponseClass>>;
157
- };
158
- /**
159
- * AlertsApi - factory interface
160
- * @export
161
- */
162
- export declare const AlertsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
163
- /**
164
- *
165
- * @param {CreateAlertRequestDto} createAlertRequestDto
166
- * @param {string} [authorization] Bearer Token
167
- * @param {*} [options] Override http request option.
168
- * @throws {RequiredError}
169
- */
170
- createAlert(createAlertRequestDto: CreateAlertRequestDto, authorization?: string, options?: any): AxiosPromise<CreateAlertResponseClass>;
171
- /**
172
- *
173
- * @param {number} id
174
- * @param {string} [authorization] Bearer Token
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- deleteAlert(id: number, authorization?: string, options?: any): AxiosPromise<void>;
179
- /**
180
- *
181
- * @param {string} code
182
- * @param {string} code2 code
183
- * @param {string} [authorization] Bearer Token
184
- * @param {string} [expand] Fields to expand response by
185
- * @param {*} [options] Override http request option.
186
- * @throws {RequiredError}
187
- */
188
- getAlert(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetAlertResponseClass>;
189
- /**
190
- *
191
- * @param {string} code
192
- * @param {string} [authorization] Bearer Token
193
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
194
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
195
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
196
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
197
- * @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.
198
- * @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.
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- listAlertHistory(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListAlertHistoryResponseClass>;
203
- /**
204
- *
205
- * @param {string} [authorization] Bearer Token
206
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
207
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
208
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
209
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
210
- * @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.
211
- * @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.
212
- * @param {*} [options] Override http request option.
213
- * @throws {RequiredError}
214
- */
215
- listAlerts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListAlertsResponseClass>;
216
- /**
217
- *
218
- * @param {number} id
219
- * @param {UpdateAlertRequestDto} updateAlertRequestDto
220
- * @param {string} [authorization] Bearer Token
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- */
224
- updateAlert(id: number, updateAlertRequestDto: UpdateAlertRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateAlertResponseClass>;
225
- };
226
- /**
227
- * Request parameters for createAlert operation in AlertsApi.
228
- * @export
229
- * @interface AlertsApiCreateAlertRequest
230
- */
231
- export interface AlertsApiCreateAlertRequest {
232
- /**
233
- *
234
- * @type {CreateAlertRequestDto}
235
- * @memberof AlertsApiCreateAlert
236
- */
237
- readonly createAlertRequestDto: CreateAlertRequestDto;
238
- /**
239
- * Bearer Token
240
- * @type {string}
241
- * @memberof AlertsApiCreateAlert
242
- */
243
- readonly authorization?: string;
244
- }
245
- /**
246
- * Request parameters for deleteAlert operation in AlertsApi.
247
- * @export
248
- * @interface AlertsApiDeleteAlertRequest
249
- */
250
- export interface AlertsApiDeleteAlertRequest {
251
- /**
252
- *
253
- * @type {number}
254
- * @memberof AlertsApiDeleteAlert
255
- */
256
- readonly id: number;
257
- /**
258
- * Bearer Token
259
- * @type {string}
260
- * @memberof AlertsApiDeleteAlert
261
- */
262
- readonly authorization?: string;
263
- }
264
- /**
265
- * Request parameters for getAlert operation in AlertsApi.
266
- * @export
267
- * @interface AlertsApiGetAlertRequest
268
- */
269
- export interface AlertsApiGetAlertRequest {
270
- /**
271
- *
272
- * @type {string}
273
- * @memberof AlertsApiGetAlert
274
- */
275
- readonly code: string;
276
- /**
277
- * code
278
- * @type {string}
279
- * @memberof AlertsApiGetAlert
280
- */
281
- readonly code2: string;
282
- /**
283
- * Bearer Token
284
- * @type {string}
285
- * @memberof AlertsApiGetAlert
286
- */
287
- readonly authorization?: string;
288
- /**
289
- * Fields to expand response by
290
- * @type {string}
291
- * @memberof AlertsApiGetAlert
292
- */
293
- readonly expand?: string;
294
- }
295
- /**
296
- * Request parameters for listAlertHistory operation in AlertsApi.
297
- * @export
298
- * @interface AlertsApiListAlertHistoryRequest
299
- */
300
- export interface AlertsApiListAlertHistoryRequest {
301
- /**
302
- *
303
- * @type {string}
304
- * @memberof AlertsApiListAlertHistory
305
- */
306
- readonly code: string;
307
- /**
308
- * Bearer Token
309
- * @type {string}
310
- * @memberof AlertsApiListAlertHistory
311
- */
312
- readonly authorization?: string;
313
- /**
314
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
315
- * @type {any}
316
- * @memberof AlertsApiListAlertHistory
317
- */
318
- readonly pageSize?: any;
319
- /**
320
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
321
- * @type {any}
322
- * @memberof AlertsApiListAlertHistory
323
- */
324
- readonly pageToken?: any;
325
- /**
326
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
327
- * @type {any}
328
- * @memberof AlertsApiListAlertHistory
329
- */
330
- readonly filter?: any;
331
- /**
332
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
333
- * @type {any}
334
- * @memberof AlertsApiListAlertHistory
335
- */
336
- readonly search?: any;
337
- /**
338
- * 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.
339
- * @type {any}
340
- * @memberof AlertsApiListAlertHistory
341
- */
342
- readonly order?: any;
343
- /**
344
- * 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.
345
- * @type {any}
346
- * @memberof AlertsApiListAlertHistory
347
- */
348
- readonly expand?: any;
349
- }
350
- /**
351
- * Request parameters for listAlerts operation in AlertsApi.
352
- * @export
353
- * @interface AlertsApiListAlertsRequest
354
- */
355
- export interface AlertsApiListAlertsRequest {
356
- /**
357
- * Bearer Token
358
- * @type {string}
359
- * @memberof AlertsApiListAlerts
360
- */
361
- readonly authorization?: string;
362
- /**
363
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
364
- * @type {any}
365
- * @memberof AlertsApiListAlerts
366
- */
367
- readonly pageSize?: any;
368
- /**
369
- * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
370
- * @type {any}
371
- * @memberof AlertsApiListAlerts
372
- */
373
- readonly pageToken?: any;
374
- /**
375
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
376
- * @type {any}
377
- * @memberof AlertsApiListAlerts
378
- */
379
- readonly filter?: any;
380
- /**
381
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
382
- * @type {any}
383
- * @memberof AlertsApiListAlerts
384
- */
385
- readonly search?: any;
386
- /**
387
- * 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.
388
- * @type {any}
389
- * @memberof AlertsApiListAlerts
390
- */
391
- readonly order?: any;
392
- /**
393
- * 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.
394
- * @type {any}
395
- * @memberof AlertsApiListAlerts
396
- */
397
- readonly expand?: any;
398
- }
399
- /**
400
- * Request parameters for updateAlert operation in AlertsApi.
401
- * @export
402
- * @interface AlertsApiUpdateAlertRequest
403
- */
404
- export interface AlertsApiUpdateAlertRequest {
405
- /**
406
- *
407
- * @type {number}
408
- * @memberof AlertsApiUpdateAlert
409
- */
410
- readonly id: number;
411
- /**
412
- *
413
- * @type {UpdateAlertRequestDto}
414
- * @memberof AlertsApiUpdateAlert
415
- */
416
- readonly updateAlertRequestDto: UpdateAlertRequestDto;
417
- /**
418
- * Bearer Token
419
- * @type {string}
420
- * @memberof AlertsApiUpdateAlert
421
- */
422
- readonly authorization?: string;
423
- }
424
- /**
425
- * AlertsApi - object-oriented interface
426
- * @export
427
- * @class AlertsApi
428
- * @extends {BaseAPI}
429
- */
430
- export declare class AlertsApi extends BaseAPI {
431
- /**
432
- *
433
- * @param {AlertsApiCreateAlertRequest} requestParameters Request parameters.
434
- * @param {*} [options] Override http request option.
435
- * @throws {RequiredError}
436
- * @memberof AlertsApi
437
- */
438
- createAlert(requestParameters: AlertsApiCreateAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAlertResponseClass, any>>;
439
- /**
440
- *
441
- * @param {AlertsApiDeleteAlertRequest} requestParameters Request parameters.
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- * @memberof AlertsApi
445
- */
446
- deleteAlert(requestParameters: AlertsApiDeleteAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
447
- /**
448
- *
449
- * @param {AlertsApiGetAlertRequest} requestParameters Request parameters.
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- * @memberof AlertsApi
453
- */
454
- getAlert(requestParameters: AlertsApiGetAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAlertResponseClass, any>>;
455
- /**
456
- *
457
- * @param {AlertsApiListAlertHistoryRequest} requestParameters Request parameters.
458
- * @param {*} [options] Override http request option.
459
- * @throws {RequiredError}
460
- * @memberof AlertsApi
461
- */
462
- listAlertHistory(requestParameters: AlertsApiListAlertHistoryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAlertHistoryResponseClass, any>>;
463
- /**
464
- *
465
- * @param {AlertsApiListAlertsRequest} requestParameters Request parameters.
466
- * @param {*} [options] Override http request option.
467
- * @throws {RequiredError}
468
- * @memberof AlertsApi
469
- */
470
- listAlerts(requestParameters?: AlertsApiListAlertsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAlertsResponseClass, any>>;
471
- /**
472
- *
473
- * @param {AlertsApiUpdateAlertRequest} requestParameters Request parameters.
474
- * @param {*} [options] Override http request option.
475
- * @throws {RequiredError}
476
- * @memberof AlertsApi
477
- */
478
- updateAlert(requestParameters: AlertsApiUpdateAlertRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAlertResponseClass, any>>;
479
- }