@emilgroup/tenant-sdk-node 1.0.0-beta.1 → 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 (356) hide show
  1. package/.openapi-generator/FILES +30 -56
  2. package/api/custom-schema-api.ts +77 -69
  3. package/api/data-report-api.ts +687 -0
  4. package/api/data-report-executor-api.ts +19 -17
  5. package/api/invite-organizations-api.ts +379 -0
  6. package/api/invite-users-api.ts +670 -0
  7. package/api/organizations-api.ts +343 -0
  8. package/api/users-api.ts +181 -721
  9. package/api.ts +9 -20
  10. package/base.ts +2 -1
  11. package/common.ts +2 -2
  12. package/configuration.ts +1 -1
  13. package/dist/api/custom-schema-api.d.ts +59 -59
  14. package/dist/api/custom-schema-api.js +51 -44
  15. package/dist/api/data-report-api.d.ts +380 -0
  16. package/dist/api/{dashboard-api.js → data-report-api.js} +162 -241
  17. package/dist/api/data-report-executor-api.d.ts +13 -13
  18. package/dist/api/data-report-executor-api.js +12 -10
  19. package/dist/api/invite-organizations-api.d.ts +216 -0
  20. package/dist/api/invite-organizations-api.js +370 -0
  21. package/dist/api/invite-users-api.d.ts +368 -0
  22. package/dist/api/{reports-api.js → invite-users-api.js} +178 -292
  23. package/dist/api/organizations-api.d.ts +197 -0
  24. package/dist/api/{tariff-comparisons-api.js → organizations-api.js} +104 -160
  25. package/dist/api/users-api.d.ts +136 -432
  26. package/dist/api/users-api.js +114 -567
  27. package/dist/api.d.ts +5 -12
  28. package/dist/api.js +5 -14
  29. package/dist/base.d.ts +3 -2
  30. package/dist/base.js +2 -1
  31. package/dist/common.d.ts +2 -2
  32. package/dist/common.js +1 -1
  33. package/dist/configuration.d.ts +1 -1
  34. package/dist/configuration.js +1 -1
  35. package/dist/index.d.ts +2 -2
  36. package/dist/index.js +3 -2
  37. package/dist/models/assign-user-roles-request-dto.d.ts +1 -1
  38. package/dist/models/assign-user-roles-request-dto.js +1 -1
  39. package/dist/models/assign-user-roles-response-class.d.ts +1 -1
  40. package/dist/models/assign-user-roles-response-class.js +1 -1
  41. package/dist/models/batch-delete-request-dto.d.ts +2 -2
  42. package/dist/models/batch-delete-request-dto.js +1 -1
  43. package/dist/models/{get-embedded-url-response-class.d.ts → batch-delete-response-class.d.ts} +7 -7
  44. package/dist/models/{alert-class.js → batch-delete-response-class.js} +1 -1
  45. package/dist/models/create-custom-schema-request-dto.d.ts +1 -1
  46. package/dist/models/create-custom-schema-request-dto.js +1 -1
  47. package/dist/models/create-custom-schema-response-class.d.ts +1 -1
  48. package/dist/models/create-custom-schema-response-class.js +1 -1
  49. package/dist/models/create-data-report-request-dto.d.ts +61 -0
  50. package/dist/models/{alert-history-class.js → create-data-report-request-dto.js} +1 -1
  51. package/dist/models/{channel-response-class.d.ts → create-data-report-response-class.d.ts} +8 -13
  52. package/dist/models/{compare-tariffs-response-class.js → create-data-report-response-class.js} +1 -1
  53. package/dist/models/create-permission-request-dto.d.ts +1 -7
  54. package/dist/models/create-permission-request-dto.js +1 -1
  55. package/dist/models/create-role-request-dto.d.ts +2 -2
  56. package/dist/models/create-role-request-dto.js +1 -1
  57. package/dist/models/create-tenant-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-request-dto.js +1 -1
  59. package/dist/models/custom-field-dto.d.ts +1 -1
  60. package/dist/models/custom-field-dto.js +1 -1
  61. package/dist/models/custom-schema-class.d.ts +1 -1
  62. package/dist/models/custom-schema-class.js +1 -1
  63. package/dist/models/data-report-class.d.ts +79 -0
  64. package/dist/models/{channel-response-class.js → data-report-class.js} +1 -1
  65. package/dist/models/data-report-filter-class.d.ts +72 -0
  66. package/dist/models/data-report-filter-class.js +15 -0
  67. package/dist/models/data-report-filter-dto.d.ts +48 -0
  68. package/dist/models/data-report-filter-dto.js +15 -0
  69. package/dist/models/data-report-filter-single-value-dto.d.ts +5 -5
  70. package/dist/models/data-report-filter-single-value-dto.js +1 -1
  71. package/dist/models/data-report-filter-value-dto.d.ts +2 -2
  72. package/dist/models/data-report-filter-value-dto.js +1 -1
  73. package/dist/models/dbconfig-dto.d.ts +1 -1
  74. package/dist/models/dbconfig-dto.js +1 -1
  75. package/dist/models/{manage-subscription-request-dto.d.ts → delete-response-class.d.ts} +6 -6
  76. package/dist/models/delete-response-class.js +15 -0
  77. package/dist/models/disable-user-response-class.d.ts +1 -1
  78. package/dist/models/disable-user-response-class.js +1 -1
  79. package/dist/models/disable-users-request-dto.d.ts +1 -1
  80. package/dist/models/disable-users-request-dto.js +1 -1
  81. package/dist/models/{insurance-company-response-class.d.ts → disable-users-response-class.d.ts} +7 -7
  82. package/dist/models/disable-users-response-class.js +15 -0
  83. package/dist/models/enable-user-response-class.d.ts +1 -1
  84. package/dist/models/enable-user-response-class.js +1 -1
  85. package/dist/models/enable-users-request-dto.d.ts +1 -1
  86. package/dist/models/enable-users-request-dto.js +1 -1
  87. package/dist/models/{insurance-response-class.d.ts → enable-users-response-class.d.ts} +7 -7
  88. package/dist/models/enable-users-response-class.js +15 -0
  89. package/dist/models/get-custom-schema-response-class.d.ts +1 -1
  90. package/dist/models/get-custom-schema-response-class.js +1 -1
  91. package/dist/models/{create-alert-response-class.d.ts → get-data-report-response-class.d.ts} +8 -8
  92. package/dist/models/get-data-report-response-class.js +15 -0
  93. package/dist/models/{create-dashboard-response-class.d.ts → get-organization-response-class.d.ts} +8 -8
  94. package/dist/models/get-organization-response-class.js +15 -0
  95. package/dist/models/{get-alert-response-class.d.ts → get-settings-response-class.d.ts} +7 -8
  96. package/dist/models/get-settings-response-class.js +15 -0
  97. package/dist/models/get-user-response-class.d.ts +1 -1
  98. package/dist/models/get-user-response-class.js +1 -1
  99. package/dist/models/index.d.ts +26 -49
  100. package/dist/models/index.js +26 -49
  101. package/dist/models/invite-class.d.ts +10 -9
  102. package/dist/models/invite-class.js +1 -1
  103. package/dist/models/invite-org-request-dto.d.ts +90 -0
  104. package/dist/models/invite-org-request-dto.js +21 -0
  105. package/dist/models/invite-user-request-dto.d.ts +9 -3
  106. package/dist/models/invite-user-request-dto.js +1 -1
  107. package/dist/models/invite-user-response-class.d.ts +2 -2
  108. package/dist/models/invite-user-response-class.js +1 -1
  109. package/dist/models/invite-users-request-dto.d.ts +3 -3
  110. package/dist/models/invite-users-request-dto.js +1 -1
  111. package/dist/models/invite-users-response-class.d.ts +24 -0
  112. package/dist/models/invite-users-response-class.js +15 -0
  113. package/dist/models/list-custom-schemas-response-class.d.ts +1 -1
  114. package/dist/models/list-custom-schemas-response-class.js +1 -1
  115. package/dist/models/list-data-reports-response-class.d.ts +31 -0
  116. package/dist/models/list-data-reports-response-class.js +15 -0
  117. package/dist/models/list-invites-response-class.d.ts +3 -3
  118. package/dist/models/list-invites-response-class.js +1 -1
  119. package/dist/models/list-org-invitations-response-class.d.ts +31 -0
  120. package/dist/models/list-org-invitations-response-class.js +15 -0
  121. package/dist/models/list-organizations-response-class.d.ts +31 -0
  122. package/dist/models/list-organizations-response-class.js +15 -0
  123. package/dist/models/list-users-response-class.d.ts +1 -1
  124. package/dist/models/list-users-response-class.js +1 -1
  125. package/dist/models/org-invitation-class.d.ts +115 -0
  126. package/dist/models/{update-alert-request-dto.js → org-invitation-class.js} +6 -6
  127. package/dist/models/org-invitation-response-class.d.ts +25 -0
  128. package/dist/models/org-invitation-response-class.js +15 -0
  129. package/dist/models/organization-class.d.ts +90 -0
  130. package/dist/models/{condition-dto.js → organization-class.js} +6 -7
  131. package/dist/models/permission-class.d.ts +60 -0
  132. package/dist/models/permission-class.js +15 -0
  133. package/dist/models/role-class.d.ts +61 -0
  134. package/dist/models/role-class.js +15 -0
  135. package/dist/models/run-data-report-request-dto.d.ts +2 -2
  136. package/dist/models/run-data-report-request-dto.js +1 -1
  137. package/dist/models/run-data-report-response-class.d.ts +2 -2
  138. package/dist/models/run-data-report-response-class.js +1 -1
  139. package/dist/models/{set-user-setting-request-dto.d.ts → set-setting-request-dto.d.ts} +15 -9
  140. package/dist/models/set-setting-request-dto.js +15 -0
  141. package/dist/models/set-user-setting-response-class.d.ts +36 -0
  142. package/dist/models/set-user-setting-response-class.js +15 -0
  143. package/dist/models/subscription-class.d.ts +12 -5
  144. package/dist/models/subscription-class.js +1 -1
  145. package/dist/models/tenant-admin-user-dto.d.ts +1 -1
  146. package/dist/models/tenant-admin-user-dto.js +1 -1
  147. package/dist/models/update-custom-schema-request-dto.d.ts +1 -1
  148. package/dist/models/update-custom-schema-request-dto.js +1 -1
  149. package/dist/models/update-custom-schema-response-class.d.ts +1 -1
  150. package/dist/models/update-custom-schema-response-class.js +1 -1
  151. package/dist/models/update-data-report-request-dto.d.ts +61 -0
  152. package/dist/models/update-data-report-request-dto.js +15 -0
  153. package/dist/models/{create-report-response-class.d.ts → update-data-report-response-class.d.ts} +8 -8
  154. package/dist/models/update-data-report-response-class.js +15 -0
  155. package/dist/models/update-role-request-dto.d.ts +4 -4
  156. package/dist/models/update-role-request-dto.js +1 -1
  157. package/dist/models/user-class.d.ts +14 -6
  158. package/dist/models/user-class.js +1 -1
  159. package/index.ts +2 -2
  160. package/models/assign-user-roles-request-dto.ts +1 -1
  161. package/models/assign-user-roles-response-class.ts +1 -1
  162. package/models/batch-delete-request-dto.ts +2 -2
  163. package/models/{get-embedded-url-response-class.ts → batch-delete-response-class.ts} +7 -7
  164. package/models/create-custom-schema-request-dto.ts +1 -1
  165. package/models/create-custom-schema-response-class.ts +1 -1
  166. package/models/create-data-report-request-dto.ts +67 -0
  167. package/models/{create-dashboard-response-class.ts → create-data-report-response-class.ts} +8 -8
  168. package/models/create-permission-request-dto.ts +1 -7
  169. package/models/create-role-request-dto.ts +2 -2
  170. package/models/create-tenant-request-dto.ts +1 -1
  171. package/models/custom-field-dto.ts +1 -1
  172. package/models/custom-schema-class.ts +1 -1
  173. package/models/data-report-class.ts +85 -0
  174. package/models/data-report-filter-class.ts +78 -0
  175. package/models/data-report-filter-dto.ts +54 -0
  176. package/models/data-report-filter-single-value-dto.ts +5 -5
  177. package/models/data-report-filter-value-dto.ts +2 -2
  178. package/models/dbconfig-dto.ts +1 -1
  179. package/models/{manage-subscription-request-dto.ts → delete-response-class.ts} +6 -6
  180. package/models/disable-user-response-class.ts +1 -1
  181. package/models/disable-users-request-dto.ts +1 -1
  182. package/models/{insurance-company-response-class.ts → disable-users-response-class.ts} +7 -7
  183. package/models/enable-user-response-class.ts +1 -1
  184. package/models/enable-users-request-dto.ts +1 -1
  185. package/models/{insurance-response-class.ts → enable-users-response-class.ts} +7 -7
  186. package/models/get-custom-schema-response-class.ts +1 -1
  187. package/models/{channel-response-class.ts → get-data-report-response-class.ts} +8 -13
  188. package/models/{create-alert-response-class.ts → get-organization-response-class.ts} +8 -8
  189. package/models/{get-alert-response-class.ts → get-settings-response-class.ts} +7 -8
  190. package/models/get-user-response-class.ts +1 -1
  191. package/models/index.ts +26 -49
  192. package/models/invite-class.ts +10 -9
  193. package/models/invite-org-request-dto.ts +99 -0
  194. package/models/invite-user-request-dto.ts +9 -3
  195. package/models/invite-user-response-class.ts +2 -2
  196. package/models/invite-users-request-dto.ts +3 -3
  197. package/models/invite-users-response-class.ts +30 -0
  198. package/models/list-custom-schemas-response-class.ts +1 -1
  199. package/models/{list-dashboards-response-class.ts → list-data-reports-response-class.ts} +10 -10
  200. package/models/list-invites-response-class.ts +3 -3
  201. package/models/{list-alert-history-response-class.ts → list-org-invitations-response-class.ts} +10 -10
  202. package/models/{list-alerts-response-class.ts → list-organizations-response-class.ts} +10 -10
  203. package/models/list-users-response-class.ts +1 -1
  204. package/models/org-invitation-class.ts +124 -0
  205. package/models/org-invitation-response-class.ts +31 -0
  206. package/models/organization-class.ts +99 -0
  207. package/models/{report-class.ts → permission-class.ts} +20 -26
  208. package/models/role-class.ts +67 -0
  209. package/models/run-data-report-request-dto.ts +2 -2
  210. package/models/run-data-report-response-class.ts +3 -2
  211. package/models/{set-user-setting-request-dto.ts → set-setting-request-dto.ts} +15 -9
  212. package/models/set-user-setting-response-class.ts +42 -0
  213. package/models/subscription-class.ts +12 -5
  214. package/models/tenant-admin-user-dto.ts +1 -1
  215. package/models/update-custom-schema-request-dto.ts +1 -1
  216. package/models/update-custom-schema-response-class.ts +1 -1
  217. package/models/update-data-report-request-dto.ts +67 -0
  218. package/models/{create-report-response-class.ts → update-data-report-response-class.ts} +8 -8
  219. package/models/update-role-request-dto.ts +4 -4
  220. package/models/user-class.ts +14 -6
  221. package/package.json +2 -2
  222. package/api/alerts-api.ts +0 -860
  223. package/api/dashboard-api.ts +0 -792
  224. package/api/reports-api.ts +0 -860
  225. package/api/scenario-analysis-api.ts +0 -977
  226. package/api/settings-api.ts +0 -478
  227. package/api/tariff-comparisons-api.ts +0 -381
  228. package/api/user-subscription-api.ts +0 -191
  229. package/dist/api/alerts-api.d.ts +0 -479
  230. package/dist/api/alerts-api.js +0 -752
  231. package/dist/api/dashboard-api.d.ts +0 -434
  232. package/dist/api/reports-api.d.ts +0 -479
  233. package/dist/api/scenario-analysis-api.d.ts +0 -529
  234. package/dist/api/scenario-analysis-api.js +0 -895
  235. package/dist/api/settings-api.d.ts +0 -261
  236. package/dist/api/settings-api.js +0 -509
  237. package/dist/api/tariff-comparisons-api.d.ts +0 -206
  238. package/dist/api/user-subscription-api.d.ts +0 -111
  239. package/dist/api/user-subscription-api.js +0 -236
  240. package/dist/models/alert-class.d.ts +0 -90
  241. package/dist/models/alert-history-class.d.ts +0 -108
  242. package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
  243. package/dist/models/compare-tariffs-request-dto.js +0 -22
  244. package/dist/models/compare-tariffs-response-class.d.ts +0 -31
  245. package/dist/models/condition-dto.d.ts +0 -43
  246. package/dist/models/create-alert-request-dto.d.ts +0 -79
  247. package/dist/models/create-alert-request-dto.js +0 -27
  248. package/dist/models/create-alert-response-class.js +0 -15
  249. package/dist/models/create-dashboard-request-dto.d.ts +0 -70
  250. package/dist/models/create-dashboard-request-dto.js +0 -29
  251. package/dist/models/create-dashboard-response-class.js +0 -15
  252. package/dist/models/create-report-request-dto.d.ts +0 -49
  253. package/dist/models/create-report-request-dto.js +0 -22
  254. package/dist/models/create-report-response-class.js +0 -15
  255. package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
  256. package/dist/models/create-scenario-analysis-request-dto.js +0 -22
  257. package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
  258. package/dist/models/create-scenario-analysis-response-class.js +0 -15
  259. package/dist/models/dashboard-class.d.ts +0 -78
  260. package/dist/models/dashboard-class.js +0 -15
  261. package/dist/models/get-alert-response-class.js +0 -15
  262. package/dist/models/get-dashboard-response-class.d.ts +0 -25
  263. package/dist/models/get-dashboard-response-class.js +0 -15
  264. package/dist/models/get-embedded-url-response-class.js +0 -15
  265. package/dist/models/get-report-response-class.d.ts +0 -25
  266. package/dist/models/get-report-response-class.js +0 -15
  267. package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
  268. package/dist/models/get-scenario-analysis-response-class.js +0 -15
  269. package/dist/models/grouped-tariff-class.d.ts +0 -30
  270. package/dist/models/grouped-tariff-class.js +0 -15
  271. package/dist/models/insurance-company-response-class.js +0 -15
  272. package/dist/models/insurance-response-class.js +0 -15
  273. package/dist/models/list-alert-history-response-class.d.ts +0 -31
  274. package/dist/models/list-alert-history-response-class.js +0 -15
  275. package/dist/models/list-alerts-response-class.d.ts +0 -31
  276. package/dist/models/list-alerts-response-class.js +0 -15
  277. package/dist/models/list-channels-response-class.d.ts +0 -25
  278. package/dist/models/list-channels-response-class.js +0 -15
  279. package/dist/models/list-dashboards-response-class.d.ts +0 -31
  280. package/dist/models/list-dashboards-response-class.js +0 -15
  281. package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
  282. package/dist/models/list-insurance-companies-response-class.js +0 -15
  283. package/dist/models/list-report-history-response-class.d.ts +0 -31
  284. package/dist/models/list-report-history-response-class.js +0 -15
  285. package/dist/models/list-reports-response-class.d.ts +0 -31
  286. package/dist/models/list-reports-response-class.js +0 -15
  287. package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
  288. package/dist/models/list-scenario-analyses-response-class.js +0 -15
  289. package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
  290. package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
  291. package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
  292. package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
  293. package/dist/models/list-tariffs-response-class.d.ts +0 -25
  294. package/dist/models/list-tariffs-response-class.js +0 -15
  295. package/dist/models/manage-subscription-request-dto.js +0 -15
  296. package/dist/models/manage-subscription-response-class.d.ts +0 -25
  297. package/dist/models/manage-subscription-response-class.js +0 -15
  298. package/dist/models/report-class.d.ts +0 -66
  299. package/dist/models/report-class.js +0 -15
  300. package/dist/models/report-history-class.d.ts +0 -48
  301. package/dist/models/report-history-class.js +0 -15
  302. package/dist/models/scenario-analysis-class.d.ts +0 -108
  303. package/dist/models/scenario-analysis-class.js +0 -15
  304. package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
  305. package/dist/models/scenario-analysis-date-response-class.js +0 -15
  306. package/dist/models/set-user-setting-request-dto.js +0 -15
  307. package/dist/models/update-alert-request-dto.d.ts +0 -72
  308. package/dist/models/update-alert-response-class.d.ts +0 -25
  309. package/dist/models/update-alert-response-class.js +0 -15
  310. package/dist/models/update-dashboard-request-dto.d.ts +0 -76
  311. package/dist/models/update-dashboard-request-dto.js +0 -29
  312. package/dist/models/update-dashboard-response-class.d.ts +0 -25
  313. package/dist/models/update-dashboard-response-class.js +0 -15
  314. package/dist/models/update-report-request-dto.d.ts +0 -55
  315. package/dist/models/update-report-request-dto.js +0 -22
  316. package/dist/models/update-report-response-class.d.ts +0 -25
  317. package/dist/models/update-report-response-class.js +0 -15
  318. package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
  319. package/dist/models/update-scenario-analysis-request-dto.js +0 -22
  320. package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
  321. package/dist/models/update-scenario-analysis-response-class.js +0 -15
  322. package/models/alert-class.ts +0 -96
  323. package/models/alert-history-class.ts +0 -114
  324. package/models/compare-tariffs-request-dto.ts +0 -46
  325. package/models/compare-tariffs-response-class.ts +0 -37
  326. package/models/condition-dto.ts +0 -52
  327. package/models/create-alert-request-dto.ts +0 -89
  328. package/models/create-dashboard-request-dto.ts +0 -81
  329. package/models/create-report-request-dto.ts +0 -58
  330. package/models/create-scenario-analysis-request-dto.ts +0 -83
  331. package/models/create-scenario-analysis-response-class.ts +0 -31
  332. package/models/dashboard-class.ts +0 -84
  333. package/models/get-dashboard-response-class.ts +0 -31
  334. package/models/get-report-response-class.ts +0 -31
  335. package/models/get-scenario-analysis-response-class.ts +0 -31
  336. package/models/grouped-tariff-class.ts +0 -36
  337. package/models/list-channels-response-class.ts +0 -31
  338. package/models/list-insurance-companies-response-class.ts +0 -31
  339. package/models/list-report-history-response-class.ts +0 -37
  340. package/models/list-reports-response-class.ts +0 -37
  341. package/models/list-scenario-analyses-response-class.ts +0 -37
  342. package/models/list-scenario-analysis-dates-response-class.ts +0 -31
  343. package/models/list-tariff-insurance-companies-response-class.ts +0 -31
  344. package/models/list-tariffs-response-class.ts +0 -31
  345. package/models/manage-subscription-response-class.ts +0 -31
  346. package/models/report-history-class.ts +0 -54
  347. package/models/scenario-analysis-class.ts +0 -114
  348. package/models/scenario-analysis-date-response-class.ts +0 -42
  349. package/models/update-alert-request-dto.ts +0 -81
  350. package/models/update-alert-response-class.ts +0 -31
  351. package/models/update-dashboard-request-dto.ts +0 -87
  352. package/models/update-dashboard-response-class.ts +0 -31
  353. package/models/update-report-request-dto.ts +0 -64
  354. package/models/update-report-response-class.ts +0 -31
  355. package/models/update-scenario-analysis-request-dto.ts +0 -83
  356. package/models/update-scenario-analysis-response-class.ts +0 -31
@@ -3,104 +3,78 @@
3
3
  .openapi-generator-ignore
4
4
  README.md
5
5
  api.ts
6
- api/alerts-api.ts
7
6
  api/custom-schema-api.ts
8
- api/dashboard-api.ts
7
+ api/data-report-api.ts
9
8
  api/data-report-executor-api.ts
10
- api/reports-api.ts
11
- api/scenario-analysis-api.ts
12
- api/settings-api.ts
13
- api/tariff-comparisons-api.ts
14
- api/user-subscription-api.ts
9
+ api/invite-organizations-api.ts
10
+ api/invite-users-api.ts
11
+ api/organizations-api.ts
15
12
  api/users-api.ts
16
13
  base.ts
17
14
  common.ts
18
15
  configuration.ts
19
16
  git_push.sh
20
17
  index.ts
21
- models/alert-class.ts
22
- models/alert-history-class.ts
23
18
  models/assign-user-roles-request-dto.ts
24
19
  models/assign-user-roles-response-class.ts
25
20
  models/batch-delete-request-dto.ts
26
- models/channel-response-class.ts
27
- models/compare-tariffs-request-dto.ts
28
- models/compare-tariffs-response-class.ts
29
- models/condition-dto.ts
30
- models/create-alert-request-dto.ts
31
- models/create-alert-response-class.ts
21
+ models/batch-delete-response-class.ts
32
22
  models/create-custom-schema-request-dto.ts
33
23
  models/create-custom-schema-response-class.ts
34
- models/create-dashboard-request-dto.ts
35
- models/create-dashboard-response-class.ts
24
+ models/create-data-report-request-dto.ts
25
+ models/create-data-report-response-class.ts
36
26
  models/create-permission-request-dto.ts
37
- models/create-report-request-dto.ts
38
- models/create-report-response-class.ts
39
27
  models/create-role-request-dto.ts
40
- models/create-scenario-analysis-request-dto.ts
41
- models/create-scenario-analysis-response-class.ts
42
28
  models/create-tenant-request-dto.ts
43
29
  models/custom-field-dto.ts
44
30
  models/custom-schema-class.ts
45
- models/dashboard-class.ts
31
+ models/data-report-class.ts
32
+ models/data-report-filter-class.ts
33
+ models/data-report-filter-dto.ts
46
34
  models/data-report-filter-single-value-dto.ts
47
35
  models/data-report-filter-value-dto.ts
48
36
  models/dbconfig-dto.ts
37
+ models/delete-response-class.ts
49
38
  models/disable-user-response-class.ts
50
39
  models/disable-users-request-dto.ts
40
+ models/disable-users-response-class.ts
51
41
  models/enable-user-response-class.ts
52
42
  models/enable-users-request-dto.ts
53
- models/get-alert-response-class.ts
43
+ models/enable-users-response-class.ts
54
44
  models/get-custom-schema-response-class.ts
55
- models/get-dashboard-response-class.ts
56
- models/get-embedded-url-response-class.ts
57
- models/get-report-response-class.ts
58
- models/get-scenario-analysis-response-class.ts
45
+ models/get-data-report-response-class.ts
46
+ models/get-organization-response-class.ts
47
+ models/get-settings-response-class.ts
59
48
  models/get-user-response-class.ts
60
- models/grouped-tariff-class.ts
61
49
  models/index.ts
62
- models/insurance-company-response-class.ts
63
- models/insurance-response-class.ts
64
50
  models/invite-class.ts
51
+ models/invite-org-request-dto.ts
65
52
  models/invite-user-request-dto.ts
66
53
  models/invite-user-response-class.ts
67
54
  models/invite-users-request-dto.ts
68
- models/list-alert-history-response-class.ts
69
- models/list-alerts-response-class.ts
70
- models/list-channels-response-class.ts
55
+ models/invite-users-response-class.ts
71
56
  models/list-custom-schemas-response-class.ts
72
- models/list-dashboards-response-class.ts
73
- models/list-insurance-companies-response-class.ts
57
+ models/list-data-reports-response-class.ts
74
58
  models/list-invites-response-class.ts
75
- models/list-report-history-response-class.ts
76
- models/list-reports-response-class.ts
77
- models/list-scenario-analyses-response-class.ts
78
- models/list-scenario-analysis-dates-response-class.ts
79
- models/list-tariff-insurance-companies-response-class.ts
80
- models/list-tariffs-response-class.ts
59
+ models/list-org-invitations-response-class.ts
60
+ models/list-organizations-response-class.ts
81
61
  models/list-users-response-class.ts
82
- models/manage-subscription-request-dto.ts
83
- models/manage-subscription-response-class.ts
84
- models/report-class.ts
85
- models/report-history-class.ts
62
+ models/org-invitation-class.ts
63
+ models/org-invitation-response-class.ts
64
+ models/organization-class.ts
65
+ models/permission-class.ts
66
+ models/role-class.ts
86
67
  models/run-data-report-request-dto.ts
87
68
  models/run-data-report-response-class.ts
88
- models/scenario-analysis-class.ts
89
- models/scenario-analysis-date-response-class.ts
90
- models/set-user-setting-request-dto.ts
69
+ models/set-setting-request-dto.ts
70
+ models/set-user-setting-response-class.ts
91
71
  models/subscription-class.ts
92
72
  models/tenant-admin-user-dto.ts
93
- models/update-alert-request-dto.ts
94
- models/update-alert-response-class.ts
95
73
  models/update-custom-schema-request-dto.ts
96
74
  models/update-custom-schema-response-class.ts
97
- models/update-dashboard-request-dto.ts
98
- models/update-dashboard-response-class.ts
99
- models/update-report-request-dto.ts
100
- models/update-report-response-class.ts
75
+ models/update-data-report-request-dto.ts
76
+ models/update-data-report-response-class.ts
101
77
  models/update-role-request-dto.ts
102
- models/update-scenario-analysis-request-dto.ts
103
- models/update-scenario-analysis-response-class.ts
104
78
  models/user-class.ts
105
79
  package.json
106
80
  tsconfig.json
@@ -5,7 +5,7 @@
5
5
  * The EMIL TenantService API description
6
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
- *
8
+ * Contact: kontakt@emil.de
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -45,12 +45,14 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
45
45
  /**
46
46
  * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
47
47
  * @summary Create the custom-schema
48
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
48
49
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
49
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
50
  * @param {*} [options] Override http request option.
51
51
  * @throws {RequiredError}
52
52
  */
53
- createCustomSchema: async (createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
53
+ createCustomSchema: async (authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ // verify required parameter 'authorization' is not null or undefined
55
+ assertParamExists('createCustomSchema', 'authorization', authorization)
54
56
  // verify required parameter 'createCustomSchemaRequestDto' is not null or undefined
55
57
  assertParamExists('createCustomSchema', 'createCustomSchemaRequestDto', createCustomSchemaRequestDto)
56
58
  const localVarPath = `/tenantservice/v1/custom-schemas`;
@@ -92,13 +94,15 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
92
94
  /**
93
95
  * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
94
96
  * @summary Retrieve the custom-schema
97
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
95
98
  * @param {string} code Unique identifier for the object.
96
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
99
  * @param {string} [expand] Fields to expand response by
98
100
  * @param {*} [options] Override http request option.
99
101
  * @throws {RequiredError}
100
102
  */
101
- getCustomSchema: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
+ getCustomSchema: async (authorization: string, code: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
104
+ // verify required parameter 'authorization' is not null or undefined
105
+ assertParamExists('getCustomSchema', 'authorization', authorization)
102
106
  // verify required parameter 'code' is not null or undefined
103
107
  assertParamExists('getCustomSchema', 'code', code)
104
108
  const localVarPath = `/tenantservice/v1/custom-schemas/{code}`
@@ -142,17 +146,19 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
142
146
  /**
143
147
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
144
148
  * @summary List custom-schemas
145
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
147
- * @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.
149
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
150
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
151
+ * @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.
148
152
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
149
153
  * @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.
150
- * @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.
151
- * @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.
154
+ * @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.
155
+ * @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.
152
156
  * @param {*} [options] Override http request option.
153
157
  * @throws {RequiredError}
154
158
  */
155
- listCustomSchemas: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
159
+ listCustomSchemas: async (authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
160
+ // verify required parameter 'authorization' is not null or undefined
161
+ assertParamExists('listCustomSchemas', 'authorization', authorization)
156
162
  const localVarPath = `/tenantservice/v1/custom-schemas`;
157
163
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
158
164
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -213,13 +219,15 @@ export const CustomSchemaApiAxiosParamCreator = function (configuration?: Config
213
219
  /**
214
220
  * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
215
221
  * @summary Update the custom-schema
222
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
216
223
  * @param {string} code
217
224
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
218
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
219
225
  * @param {*} [options] Override http request option.
220
226
  * @throws {RequiredError}
221
227
  */
222
- updateCustomSchema: async (code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
228
+ updateCustomSchema: async (authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
229
+ // verify required parameter 'authorization' is not null or undefined
230
+ assertParamExists('updateCustomSchema', 'authorization', authorization)
223
231
  // verify required parameter 'code' is not null or undefined
224
232
  assertParamExists('updateCustomSchema', 'code', code)
225
233
  // verify required parameter 'updateCustomSchemaRequestDto' is not null or undefined
@@ -274,56 +282,56 @@ export const CustomSchemaApiFp = function(configuration?: Configuration) {
274
282
  /**
275
283
  * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
276
284
  * @summary Create the custom-schema
285
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
277
286
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
278
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
279
287
  * @param {*} [options] Override http request option.
280
288
  * @throws {RequiredError}
281
289
  */
282
- async createCustomSchema(createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomSchemaResponseClass>> {
283
- const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(createCustomSchemaRequestDto, authorization, options);
290
+ async createCustomSchema(authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomSchemaResponseClass>> {
291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomSchema(authorization, createCustomSchemaRequestDto, options);
284
292
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
285
293
  },
286
294
  /**
287
295
  * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
288
296
  * @summary Retrieve the custom-schema
297
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
289
298
  * @param {string} code Unique identifier for the object.
290
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
291
299
  * @param {string} [expand] Fields to expand response by
292
300
  * @param {*} [options] Override http request option.
293
301
  * @throws {RequiredError}
294
302
  */
295
- async getCustomSchema(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomSchemaResponseClass>> {
296
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomSchema(code, authorization, expand, options);
303
+ async getCustomSchema(authorization: string, code: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomSchemaResponseClass>> {
304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomSchema(authorization, code, expand, options);
297
305
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
298
306
  },
299
307
  /**
300
308
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
301
309
  * @summary List custom-schemas
302
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
304
- * @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.
310
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
311
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
312
+ * @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.
305
313
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
306
314
  * @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.
307
- * @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.
308
- * @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.
315
+ * @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.
316
+ * @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.
309
317
  * @param {*} [options] Override http request option.
310
318
  * @throws {RequiredError}
311
319
  */
312
- async listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
320
+ async listCustomSchemas(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomSchemasResponseClass>> {
313
321
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options);
314
322
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
315
323
  },
316
324
  /**
317
325
  * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
318
326
  * @summary Update the custom-schema
327
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
319
328
  * @param {string} code
320
329
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
321
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
322
330
  * @param {*} [options] Override http request option.
323
331
  * @throws {RequiredError}
324
332
  */
325
- async updateCustomSchema(code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomSchemaResponseClass>> {
326
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateCustomSchema(code, updateCustomSchemaRequestDto, authorization, options);
333
+ async updateCustomSchema(authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomSchemaResponseClass>> {
334
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCustomSchema(authorization, code, updateCustomSchemaRequestDto, options);
327
335
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
328
336
  },
329
337
  }
@@ -339,53 +347,53 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
339
347
  /**
340
348
  * This will create an custom schema for tenant in the database. Custom schema are extra fields that tenant added to his entity and we need to validate this fields using the created schema.
341
349
  * @summary Create the custom-schema
350
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
342
351
  * @param {CreateCustomSchemaRequestDto} createCustomSchemaRequestDto
343
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
352
  * @param {*} [options] Override http request option.
345
353
  * @throws {RequiredError}
346
354
  */
347
- createCustomSchema(createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomSchemaResponseClass> {
348
- return localVarFp.createCustomSchema(createCustomSchemaRequestDto, authorization, options).then((request) => request(axios, basePath));
355
+ createCustomSchema(authorization: string, createCustomSchemaRequestDto: CreateCustomSchemaRequestDto, options?: any): AxiosPromise<CreateCustomSchemaResponseClass> {
356
+ return localVarFp.createCustomSchema(authorization, createCustomSchemaRequestDto, options).then((request) => request(axios, basePath));
349
357
  },
350
358
  /**
351
359
  * Retrieves the details of the custom-schema that was previously created. Supply the unique custom-schema code that was returned when you created it and Emil Api will return the corresponding custom-schema information.
352
360
  * @summary Retrieve the custom-schema
361
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
353
362
  * @param {string} code Unique identifier for the object.
354
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
355
363
  * @param {string} [expand] Fields to expand response by
356
364
  * @param {*} [options] Override http request option.
357
365
  * @throws {RequiredError}
358
366
  */
359
- getCustomSchema(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetCustomSchemaResponseClass> {
360
- return localVarFp.getCustomSchema(code, authorization, expand, options).then((request) => request(axios, basePath));
367
+ getCustomSchema(authorization: string, code: string, expand?: string, options?: any): AxiosPromise<GetCustomSchemaResponseClass> {
368
+ return localVarFp.getCustomSchema(authorization, code, expand, options).then((request) => request(axios, basePath));
361
369
  },
362
370
  /**
363
371
  * Returns a list of custom-schemas you have previously created. The custom-schemas are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
364
372
  * @summary List custom-schemas
365
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
366
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
367
- * @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.
373
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
374
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
375
+ * @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.
368
376
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
369
377
  * @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.
370
- * @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.
371
- * @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.
378
+ * @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.
379
+ * @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.
372
380
  * @param {*} [options] Override http request option.
373
381
  * @throws {RequiredError}
374
382
  */
375
- listCustomSchemas(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
383
+ listCustomSchemas(authorization: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomSchemasResponseClass> {
376
384
  return localVarFp.listCustomSchemas(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
377
385
  },
378
386
  /**
379
387
  * Updates the specified custom-schema by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
380
388
  * @summary Update the custom-schema
389
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
381
390
  * @param {string} code
382
391
  * @param {UpdateCustomSchemaRequestDto} updateCustomSchemaRequestDto
383
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
384
392
  * @param {*} [options] Override http request option.
385
393
  * @throws {RequiredError}
386
394
  */
387
- updateCustomSchema(code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCustomSchemaResponseClass> {
388
- return localVarFp.updateCustomSchema(code, updateCustomSchemaRequestDto, authorization, options).then((request) => request(axios, basePath));
395
+ updateCustomSchema(authorization: string, code: string, updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto, options?: any): AxiosPromise<UpdateCustomSchemaResponseClass> {
396
+ return localVarFp.updateCustomSchema(authorization, code, updateCustomSchemaRequestDto, options).then((request) => request(axios, basePath));
389
397
  },
390
398
  };
391
399
  };
@@ -397,18 +405,18 @@ export const CustomSchemaApiFactory = function (configuration?: Configuration, b
397
405
  */
398
406
  export interface CustomSchemaApiCreateCustomSchemaRequest {
399
407
  /**
400
- *
401
- * @type {CreateCustomSchemaRequestDto}
408
+ * Bearer Token: provided by the login endpoint under the name accessToken.
409
+ * @type {string}
402
410
  * @memberof CustomSchemaApiCreateCustomSchema
403
411
  */
404
- readonly createCustomSchemaRequestDto: CreateCustomSchemaRequestDto
412
+ readonly authorization: string
405
413
 
406
414
  /**
407
- * Bearer Token: provided by the login endpoint under the name accessToken.
408
- * @type {string}
415
+ *
416
+ * @type {CreateCustomSchemaRequestDto}
409
417
  * @memberof CustomSchemaApiCreateCustomSchema
410
418
  */
411
- readonly authorization?: string
419
+ readonly createCustomSchemaRequestDto: CreateCustomSchemaRequestDto
412
420
  }
413
421
 
414
422
  /**
@@ -418,18 +426,18 @@ export interface CustomSchemaApiCreateCustomSchemaRequest {
418
426
  */
419
427
  export interface CustomSchemaApiGetCustomSchemaRequest {
420
428
  /**
421
- * Unique identifier for the object.
429
+ * Bearer Token: provided by the login endpoint under the name accessToken.
422
430
  * @type {string}
423
431
  * @memberof CustomSchemaApiGetCustomSchema
424
432
  */
425
- readonly code: string
433
+ readonly authorization: string
426
434
 
427
435
  /**
428
- * Bearer Token: provided by the login endpoint under the name accessToken.
436
+ * Unique identifier for the object.
429
437
  * @type {string}
430
438
  * @memberof CustomSchemaApiGetCustomSchema
431
439
  */
432
- readonly authorization?: string
440
+ readonly code: string
433
441
 
434
442
  /**
435
443
  * Fields to expand response by
@@ -450,17 +458,17 @@ export interface CustomSchemaApiListCustomSchemasRequest {
450
458
  * @type {string}
451
459
  * @memberof CustomSchemaApiListCustomSchemas
452
460
  */
453
- readonly authorization?: string
461
+ readonly authorization: string
454
462
 
455
463
  /**
456
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
464
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
457
465
  * @type {any}
458
466
  * @memberof CustomSchemaApiListCustomSchemas
459
467
  */
460
468
  readonly pageSize?: any
461
469
 
462
470
  /**
463
- * 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.
471
+ * 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.
464
472
  * @type {any}
465
473
  * @memberof CustomSchemaApiListCustomSchemas
466
474
  */
@@ -481,14 +489,14 @@ export interface CustomSchemaApiListCustomSchemasRequest {
481
489
  readonly search?: any
482
490
 
483
491
  /**
484
- * 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.
492
+ * 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.
485
493
  * @type {any}
486
494
  * @memberof CustomSchemaApiListCustomSchemas
487
495
  */
488
496
  readonly order?: any
489
497
 
490
498
  /**
491
- * 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.
499
+ * 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.
492
500
  * @type {any}
493
501
  * @memberof CustomSchemaApiListCustomSchemas
494
502
  */
@@ -502,25 +510,25 @@ export interface CustomSchemaApiListCustomSchemasRequest {
502
510
  */
503
511
  export interface CustomSchemaApiUpdateCustomSchemaRequest {
504
512
  /**
505
- *
513
+ * Bearer Token: provided by the login endpoint under the name accessToken.
506
514
  * @type {string}
507
515
  * @memberof CustomSchemaApiUpdateCustomSchema
508
516
  */
509
- readonly code: string
517
+ readonly authorization: string
510
518
 
511
519
  /**
512
520
  *
513
- * @type {UpdateCustomSchemaRequestDto}
521
+ * @type {string}
514
522
  * @memberof CustomSchemaApiUpdateCustomSchema
515
523
  */
516
- readonly updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto
524
+ readonly code: string
517
525
 
518
526
  /**
519
- * Bearer Token: provided by the login endpoint under the name accessToken.
520
- * @type {string}
527
+ *
528
+ * @type {UpdateCustomSchemaRequestDto}
521
529
  * @memberof CustomSchemaApiUpdateCustomSchema
522
530
  */
523
- readonly authorization?: string
531
+ readonly updateCustomSchemaRequestDto: UpdateCustomSchemaRequestDto
524
532
  }
525
533
 
526
534
  /**
@@ -539,7 +547,7 @@ export class CustomSchemaApi extends BaseAPI {
539
547
  * @memberof CustomSchemaApi
540
548
  */
541
549
  public createCustomSchema(requestParameters: CustomSchemaApiCreateCustomSchemaRequest, options?: AxiosRequestConfig) {
542
- return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.createCustomSchemaRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
550
+ return CustomSchemaApiFp(this.configuration).createCustomSchema(requestParameters.authorization, requestParameters.createCustomSchemaRequestDto, options).then((request) => request(this.axios, this.basePath));
543
551
  }
544
552
 
545
553
  /**
@@ -551,7 +559,7 @@ export class CustomSchemaApi extends BaseAPI {
551
559
  * @memberof CustomSchemaApi
552
560
  */
553
561
  public getCustomSchema(requestParameters: CustomSchemaApiGetCustomSchemaRequest, options?: AxiosRequestConfig) {
554
- return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
562
+ return CustomSchemaApiFp(this.configuration).getCustomSchema(requestParameters.authorization, requestParameters.code, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
555
563
  }
556
564
 
557
565
  /**
@@ -562,7 +570,7 @@ export class CustomSchemaApi extends BaseAPI {
562
570
  * @throws {RequiredError}
563
571
  * @memberof CustomSchemaApi
564
572
  */
565
- public listCustomSchemas(requestParameters: CustomSchemaApiListCustomSchemasRequest = {}, options?: AxiosRequestConfig) {
573
+ public listCustomSchemas(requestParameters: CustomSchemaApiListCustomSchemasRequest, options?: AxiosRequestConfig) {
566
574
  return CustomSchemaApiFp(this.configuration).listCustomSchemas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
567
575
  }
568
576
 
@@ -575,6 +583,6 @@ export class CustomSchemaApi extends BaseAPI {
575
583
  * @memberof CustomSchemaApi
576
584
  */
577
585
  public updateCustomSchema(requestParameters: CustomSchemaApiUpdateCustomSchemaRequest, options?: AxiosRequestConfig) {
578
- return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.code, requestParameters.updateCustomSchemaRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
586
+ return CustomSchemaApiFp(this.configuration).updateCustomSchema(requestParameters.authorization, requestParameters.code, requestParameters.updateCustomSchemaRequestDto, options).then((request) => request(this.axios, this.basePath));
579
587
  }
580
588
  }