@squonk/account-server-client 4.4.0 → 4.6.0-trunk.2355119483

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 (383) hide show
  1. package/dist/api/actions/actions.cjs +1 -1
  2. package/dist/api/actions/actions.cjs.map +1 -1
  3. package/dist/api/actions/actions.fetch.cjs +1 -1
  4. package/dist/api/actions/actions.fetch.cjs.map +1 -1
  5. package/dist/api/actions/actions.fetch.js +1 -1
  6. package/dist/api/actions/actions.fetch.js.map +1 -1
  7. package/dist/api/actions/actions.js +1 -1
  8. package/dist/api/actions/actions.js.map +1 -1
  9. package/dist/api/api-schemas/asError.d.cts +1 -1
  10. package/dist/api/api-schemas/asError.d.ts +1 -1
  11. package/dist/api/api-schemas/assetDetailScope.cjs.map +1 -1
  12. package/dist/api/api-schemas/assetDetailScope.d.cts +1 -1
  13. package/dist/api/api-schemas/assetDetailScope.d.ts +1 -1
  14. package/dist/api/api-schemas/assetDetailScope.js.map +1 -1
  15. package/dist/api/api-schemas/assetPatchBodyBody.d.cts +1 -1
  16. package/dist/api/api-schemas/assetPatchBodyBody.d.ts +1 -1
  17. package/dist/api/api-schemas/assetPostBodyBodyScope.cjs.map +1 -1
  18. package/dist/api/api-schemas/assetPostBodyBodyScope.d.cts +1 -1
  19. package/dist/api/api-schemas/assetPostBodyBodyScope.d.ts +1 -1
  20. package/dist/api/api-schemas/assetPostBodyBodyScope.js.map +1 -1
  21. package/dist/api/api-schemas/assetPostResponse.d.cts +1 -1
  22. package/dist/api/api-schemas/assetPostResponse.d.ts +1 -1
  23. package/dist/api/api-schemas/chargeAdditionalData.d.cts +1 -1
  24. package/dist/api/api-schemas/chargeAdditionalData.d.ts +1 -1
  25. package/dist/api/api-schemas/chargeSummaryType.cjs.map +1 -1
  26. package/dist/api/api-schemas/chargeSummaryType.d.cts +1 -1
  27. package/dist/api/api-schemas/chargeSummaryType.d.ts +1 -1
  28. package/dist/api/api-schemas/chargeSummaryType.js.map +1 -1
  29. package/dist/api/api-schemas/eventStreamGetPostResponse.d.cts +1 -1
  30. package/dist/api/api-schemas/eventStreamGetPostResponse.d.ts +1 -1
  31. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.cjs.map +1 -1
  32. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.cts +1 -1
  33. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.ts +1 -1
  34. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.js.map +1 -1
  35. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.cjs.map +1 -1
  36. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.cts +1 -1
  37. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.ts +1 -1
  38. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.js.map +1 -1
  39. package/dist/api/api-schemas/merchantDetailKind.cjs.map +1 -1
  40. package/dist/api/api-schemas/merchantDetailKind.d.cts +1 -1
  41. package/dist/api/api-schemas/merchantDetailKind.d.ts +1 -1
  42. package/dist/api/api-schemas/merchantDetailKind.js.map +1 -1
  43. package/dist/api/api-schemas/merchantSummaryKind.cjs.map +1 -1
  44. package/dist/api/api-schemas/merchantSummaryKind.d.cts +1 -1
  45. package/dist/api/api-schemas/merchantSummaryKind.d.ts +1 -1
  46. package/dist/api/api-schemas/merchantSummaryKind.js.map +1 -1
  47. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.cjs.map +1 -1
  48. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.cts +1 -1
  49. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.ts +1 -1
  50. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.js.map +1 -1
  51. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.cjs.map +1 -1
  52. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.cts +1 -1
  53. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.ts +1 -1
  54. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.js.map +1 -1
  55. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.cjs.map +1 -1
  56. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.cts +1 -1
  57. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.ts +1 -1
  58. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.js.map +1 -1
  59. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  60. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
  61. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
  62. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
  63. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  64. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
  65. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
  66. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.js.map +1 -1
  67. package/dist/api/api-schemas/organisationPostResponse.d.cts +1 -1
  68. package/dist/api/api-schemas/organisationPostResponse.d.ts +1 -1
  69. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  70. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
  71. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
  72. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.js.map +1 -1
  73. package/dist/api/api-schemas/organisationUnitPostResponse.d.cts +1 -1
  74. package/dist/api/api-schemas/organisationUnitPostResponse.d.ts +1 -1
  75. package/dist/api/api-schemas/personalUnitPutBodyBody.d.cts +1 -1
  76. package/dist/api/api-schemas/personalUnitPutBodyBody.d.ts +1 -1
  77. package/dist/api/api-schemas/personalUnitPutResponse.d.cts +1 -1
  78. package/dist/api/api-schemas/personalUnitPutResponse.d.ts +1 -1
  79. package/dist/api/api-schemas/processingChargesMerchantKind.cjs.map +1 -1
  80. package/dist/api/api-schemas/processingChargesMerchantKind.d.cts +1 -1
  81. package/dist/api/api-schemas/processingChargesMerchantKind.d.ts +1 -1
  82. package/dist/api/api-schemas/processingChargesMerchantKind.js.map +1 -1
  83. package/dist/api/api-schemas/productChargesGetResponseProductType.cjs.map +1 -1
  84. package/dist/api/api-schemas/productChargesGetResponseProductType.d.cts +1 -1
  85. package/dist/api/api-schemas/productChargesGetResponseProductType.d.ts +1 -1
  86. package/dist/api/api-schemas/productChargesGetResponseProductType.js.map +1 -1
  87. package/dist/api/api-schemas/productClaimDetail.d.cts +1 -1
  88. package/dist/api/api-schemas/productClaimDetail.d.ts +1 -1
  89. package/dist/api/api-schemas/productCoinsDetail.d.cts +1 -1
  90. package/dist/api/api-schemas/productCoinsDetail.d.ts +1 -1
  91. package/dist/api/api-schemas/productDetailFlavour.cjs.map +1 -1
  92. package/dist/api/api-schemas/productDetailFlavour.d.cts +1 -1
  93. package/dist/api/api-schemas/productDetailFlavour.d.ts +1 -1
  94. package/dist/api/api-schemas/productDetailFlavour.js.map +1 -1
  95. package/dist/api/api-schemas/productDetailType.cjs.map +1 -1
  96. package/dist/api/api-schemas/productDetailType.d.cts +1 -1
  97. package/dist/api/api-schemas/productDetailType.d.ts +1 -1
  98. package/dist/api/api-schemas/productDetailType.js.map +1 -1
  99. package/dist/api/api-schemas/productDmStorageDetailCoins.d.cts +1 -1
  100. package/dist/api/api-schemas/productDmStorageDetailCoins.d.ts +1 -1
  101. package/dist/api/api-schemas/productDmStorageDetailSize.d.cts +1 -1
  102. package/dist/api/api-schemas/productDmStorageDetailSize.d.ts +1 -1
  103. package/dist/api/api-schemas/productInstanceDetailCoins.d.cts +1 -1
  104. package/dist/api/api-schemas/productInstanceDetailCoins.d.ts +1 -1
  105. package/dist/api/api-schemas/productPatchBodyBody.d.cts +1 -1
  106. package/dist/api/api-schemas/productPatchBodyBody.d.ts +1 -1
  107. package/dist/api/api-schemas/productTypeServiceKind.cjs.map +1 -1
  108. package/dist/api/api-schemas/productTypeServiceKind.d.cts +1 -1
  109. package/dist/api/api-schemas/productTypeServiceKind.d.ts +1 -1
  110. package/dist/api/api-schemas/productTypeServiceKind.js.map +1 -1
  111. package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.cts +1 -1
  112. package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.ts +1 -1
  113. package/dist/api/api-schemas/qFormatParameter.cjs.map +1 -1
  114. package/dist/api/api-schemas/qFormatParameter.d.cts +1 -1
  115. package/dist/api/api-schemas/qFormatParameter.d.ts +1 -1
  116. package/dist/api/api-schemas/qFormatParameter.js.map +1 -1
  117. package/dist/api/api-schemas/qFromParameter.d.cts +1 -1
  118. package/dist/api/api-schemas/qFromParameter.d.ts +1 -1
  119. package/dist/api/api-schemas/qMIdParameter.d.cts +1 -1
  120. package/dist/api/api-schemas/qMIdParameter.d.ts +1 -1
  121. package/dist/api/api-schemas/qNameParameter.d.cts +1 -1
  122. package/dist/api/api-schemas/qNameParameter.d.ts +1 -1
  123. package/dist/api/api-schemas/qOrgIdParameter.d.cts +1 -1
  124. package/dist/api/api-schemas/qOrgIdParameter.d.ts +1 -1
  125. package/dist/api/api-schemas/qPbpParameter.d.cts +1 -1
  126. package/dist/api/api-schemas/qPbpParameter.d.ts +1 -1
  127. package/dist/api/api-schemas/qProductIdParameter.d.cts +1 -1
  128. package/dist/api/api-schemas/qProductIdParameter.d.ts +1 -1
  129. package/dist/api/api-schemas/qUnitIdParameter.d.cts +1 -1
  130. package/dist/api/api-schemas/qUnitIdParameter.d.ts +1 -1
  131. package/dist/api/api-schemas/qUntilParameter.d.cts +1 -1
  132. package/dist/api/api-schemas/qUntilParameter.d.ts +1 -1
  133. package/dist/api/api-schemas/qUserIdParameter.d.cts +1 -1
  134. package/dist/api/api-schemas/qUserIdParameter.d.ts +1 -1
  135. package/dist/api/api-schemas/stateGetVersionResponse.d.cts +1 -1
  136. package/dist/api/api-schemas/stateGetVersionResponse.d.ts +1 -1
  137. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.cjs.map +1 -1
  138. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.cts +1 -1
  139. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.ts +1 -1
  140. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.js.map +1 -1
  141. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.cjs.map +1 -1
  142. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.cts +1 -1
  143. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.ts +1 -1
  144. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.js.map +1 -1
  145. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  146. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
  147. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
  148. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
  149. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.cjs.map +1 -1
  150. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.cts +1 -1
  151. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.ts +1 -1
  152. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.js.map +1 -1
  153. package/dist/api/api-schemas/unitProductPostBodyBodyType.cjs.map +1 -1
  154. package/dist/api/api-schemas/unitProductPostBodyBodyType.d.cts +1 -1
  155. package/dist/api/api-schemas/unitProductPostBodyBodyType.d.ts +1 -1
  156. package/dist/api/api-schemas/unitProductPostBodyBodyType.js.map +1 -1
  157. package/dist/api/api-schemas/unitProductPostResponse.d.cts +1 -1
  158. package/dist/api/api-schemas/unitProductPostResponse.d.ts +1 -1
  159. package/dist/api/api-schemas/userDetail.d.cts +1 -1
  160. package/dist/api/api-schemas/userDetail.d.ts +1 -1
  161. package/dist/api/asset/asset.cjs +1 -1
  162. package/dist/api/asset/asset.cjs.map +1 -1
  163. package/dist/api/asset/asset.d.cts.map +1 -1
  164. package/dist/api/asset/asset.fetch.cjs +1 -1
  165. package/dist/api/asset/asset.fetch.cjs.map +1 -1
  166. package/dist/api/asset/asset.fetch.d.cts.map +1 -1
  167. package/dist/api/asset/asset.fetch.d.ts.map +1 -1
  168. package/dist/api/asset/asset.fetch.js +1 -1
  169. package/dist/api/asset/asset.fetch.js.map +1 -1
  170. package/dist/api/asset/asset.js +1 -1
  171. package/dist/api/asset/asset.js.map +1 -1
  172. package/dist/api/charges/charges.cjs +1 -1
  173. package/dist/api/charges/charges.cjs.map +1 -1
  174. package/dist/api/charges/charges.d.cts.map +1 -1
  175. package/dist/api/charges/charges.fetch.cjs +1 -1
  176. package/dist/api/charges/charges.fetch.cjs.map +1 -1
  177. package/dist/api/charges/charges.fetch.js +1 -1
  178. package/dist/api/charges/charges.fetch.js.map +1 -1
  179. package/dist/api/charges/charges.js +1 -1
  180. package/dist/api/charges/charges.js.map +1 -1
  181. package/dist/api/event-stream/event-stream.cjs +1 -1
  182. package/dist/api/event-stream/event-stream.cjs.map +1 -1
  183. package/dist/api/event-stream/event-stream.d.ts.map +1 -1
  184. package/dist/api/event-stream/event-stream.fetch.cjs +1 -1
  185. package/dist/api/event-stream/event-stream.fetch.cjs.map +1 -1
  186. package/dist/api/event-stream/event-stream.fetch.js +1 -1
  187. package/dist/api/event-stream/event-stream.fetch.js.map +1 -1
  188. package/dist/api/event-stream/event-stream.js +1 -1
  189. package/dist/api/event-stream/event-stream.js.map +1 -1
  190. package/dist/api/merchant/merchant.cjs +1 -1
  191. package/dist/api/merchant/merchant.cjs.map +1 -1
  192. package/dist/api/merchant/merchant.fetch.cjs +1 -1
  193. package/dist/api/merchant/merchant.fetch.cjs.map +1 -1
  194. package/dist/api/merchant/merchant.fetch.js +1 -1
  195. package/dist/api/merchant/merchant.fetch.js.map +1 -1
  196. package/dist/api/merchant/merchant.js +1 -1
  197. package/dist/api/merchant/merchant.js.map +1 -1
  198. package/dist/api/organisation/organisation.cjs +1 -1
  199. package/dist/api/organisation/organisation.cjs.map +1 -1
  200. package/dist/api/organisation/organisation.fetch.cjs +1 -1
  201. package/dist/api/organisation/organisation.fetch.cjs.map +1 -1
  202. package/dist/api/organisation/organisation.fetch.d.ts.map +1 -1
  203. package/dist/api/organisation/organisation.fetch.js +1 -1
  204. package/dist/api/organisation/organisation.fetch.js.map +1 -1
  205. package/dist/api/organisation/organisation.js +1 -1
  206. package/dist/api/organisation/organisation.js.map +1 -1
  207. package/dist/api/product/product.cjs +1 -1
  208. package/dist/api/product/product.cjs.map +1 -1
  209. package/dist/api/product/product.d.ts.map +1 -1
  210. package/dist/api/product/product.fetch.cjs +1 -1
  211. package/dist/api/product/product.fetch.cjs.map +1 -1
  212. package/dist/api/product/product.fetch.d.cts.map +1 -1
  213. package/dist/api/product/product.fetch.d.ts.map +1 -1
  214. package/dist/api/product/product.fetch.js +1 -1
  215. package/dist/api/product/product.fetch.js.map +1 -1
  216. package/dist/api/product/product.js +1 -1
  217. package/dist/api/product/product.js.map +1 -1
  218. package/dist/api/state/state.cjs +1 -1
  219. package/dist/api/state/state.cjs.map +1 -1
  220. package/dist/api/state/state.fetch.cjs +1 -1
  221. package/dist/api/state/state.fetch.cjs.map +1 -1
  222. package/dist/api/state/state.fetch.d.ts.map +1 -1
  223. package/dist/api/state/state.fetch.js +1 -1
  224. package/dist/api/state/state.fetch.js.map +1 -1
  225. package/dist/api/state/state.js +1 -1
  226. package/dist/api/state/state.js.map +1 -1
  227. package/dist/api/unit/unit.cjs +1 -1
  228. package/dist/api/unit/unit.cjs.map +1 -1
  229. package/dist/api/unit/unit.fetch.cjs +1 -1
  230. package/dist/api/unit/unit.fetch.cjs.map +1 -1
  231. package/dist/api/unit/unit.fetch.d.cts.map +1 -1
  232. package/dist/api/unit/unit.fetch.d.ts.map +1 -1
  233. package/dist/api/unit/unit.fetch.js +1 -1
  234. package/dist/api/unit/unit.fetch.js.map +1 -1
  235. package/dist/api/unit/unit.js +1 -1
  236. package/dist/api/unit/unit.js.map +1 -1
  237. package/dist/api/user/user.cjs +1 -1
  238. package/dist/api/user/user.cjs.map +1 -1
  239. package/dist/api/user/user.fetch.cjs +1 -1
  240. package/dist/api/user/user.fetch.cjs.map +1 -1
  241. package/dist/api/user/user.fetch.js +1 -1
  242. package/dist/api/user/user.fetch.js.map +1 -1
  243. package/dist/api/user/user.js +1 -1
  244. package/dist/api/user/user.js.map +1 -1
  245. package/package.json +1 -1
  246. package/src/api/actions/actions.fetch.ts +1 -1
  247. package/src/api/actions/actions.ts +1 -1
  248. package/src/api/api-schemas/actionDetail.ts +1 -1
  249. package/src/api/api-schemas/actionGetResponse.ts +1 -1
  250. package/src/api/api-schemas/asError.ts +1 -1
  251. package/src/api/api-schemas/assetDetail.ts +1 -1
  252. package/src/api/api-schemas/assetDetailScope.ts +1 -1
  253. package/src/api/api-schemas/assetGetByIdResponse.ts +1 -1
  254. package/src/api/api-schemas/assetGetResponse.ts +1 -1
  255. package/src/api/api-schemas/assetPatchBodyBody.ts +1 -1
  256. package/src/api/api-schemas/assetPostBodyBody.ts +1 -1
  257. package/src/api/api-schemas/assetPostBodyBodyScope.ts +1 -1
  258. package/src/api/api-schemas/assetPostResponse.ts +1 -1
  259. package/src/api/api-schemas/attachAssetParams.ts +1 -1
  260. package/src/api/api-schemas/chargeAdditionalData.ts +1 -1
  261. package/src/api/api-schemas/chargeSummary.ts +1 -1
  262. package/src/api/api-schemas/chargeSummaryType.ts +1 -1
  263. package/src/api/api-schemas/chargesGetResponse.ts +1 -1
  264. package/src/api/api-schemas/detachAssetParams.ts +1 -1
  265. package/src/api/api-schemas/eventStreamGetPostResponse.ts +1 -1
  266. package/src/api/api-schemas/eventStreamPostBodyBody.ts +1 -1
  267. package/src/api/api-schemas/eventStreamPostBodyBodyFormat.ts +1 -1
  268. package/src/api/api-schemas/eventStreamVersionGetResponse.ts +1 -1
  269. package/src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts +1 -1
  270. package/src/api/api-schemas/getActionsParams.ts +1 -1
  271. package/src/api/api-schemas/getAssetParams.ts +1 -1
  272. package/src/api/api-schemas/getChargesParams.ts +1 -1
  273. package/src/api/api-schemas/getOrganisationChargesParams.ts +1 -1
  274. package/src/api/api-schemas/getOrganisationsParams.ts +1 -1
  275. package/src/api/api-schemas/getProductChargesParams.ts +1 -1
  276. package/src/api/api-schemas/getUnitChargesParams.ts +1 -1
  277. package/src/api/api-schemas/getUnitsParams.ts +1 -1
  278. package/src/api/api-schemas/index.ts +1 -1
  279. package/src/api/api-schemas/merchantDetail.ts +1 -1
  280. package/src/api/api-schemas/merchantDetailKind.ts +1 -1
  281. package/src/api/api-schemas/merchantGetResponse.ts +1 -1
  282. package/src/api/api-schemas/merchantSummary.ts +1 -1
  283. package/src/api/api-schemas/merchantSummaryKind.ts +1 -1
  284. package/src/api/api-schemas/merchantsGetResponse.ts +1 -1
  285. package/src/api/api-schemas/organisationAllDetail.ts +1 -1
  286. package/src/api/api-schemas/organisationAllDetailDefaultProductPrivacy.ts +1 -1
  287. package/src/api/api-schemas/organisationChargeSummary.ts +1 -1
  288. package/src/api/api-schemas/organisationChargesGetResponse.ts +1 -1
  289. package/src/api/api-schemas/organisationDetail.ts +1 -1
  290. package/src/api/api-schemas/organisationDetailDefaultProductPrivacy.ts +1 -1
  291. package/src/api/api-schemas/organisationGetDefaultResponse.ts +1 -1
  292. package/src/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.ts +1 -1
  293. package/src/api/api-schemas/organisationGetResponse.ts +1 -1
  294. package/src/api/api-schemas/organisationPatchBodyBody.ts +1 -1
  295. package/src/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.ts +1 -1
  296. package/src/api/api-schemas/organisationPostBodyBody.ts +1 -1
  297. package/src/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.ts +1 -1
  298. package/src/api/api-schemas/organisationPostResponse.ts +1 -1
  299. package/src/api/api-schemas/organisationUnitChargeSummary.ts +1 -1
  300. package/src/api/api-schemas/organisationUnitPostBodyBody.ts +1 -1
  301. package/src/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.ts +1 -1
  302. package/src/api/api-schemas/organisationUnitPostResponse.ts +1 -1
  303. package/src/api/api-schemas/organisationUnitsGetResponse.ts +1 -1
  304. package/src/api/api-schemas/organisationsGetResponse.ts +1 -1
  305. package/src/api/api-schemas/personalUnitPutBodyBody.ts +1 -1
  306. package/src/api/api-schemas/personalUnitPutResponse.ts +1 -1
  307. package/src/api/api-schemas/processingChargeItem.ts +1 -1
  308. package/src/api/api-schemas/processingCharges.ts +1 -1
  309. package/src/api/api-schemas/processingChargesMerchantKind.ts +1 -1
  310. package/src/api/api-schemas/productChargesGetResponse.ts +1 -1
  311. package/src/api/api-schemas/productChargesGetResponseProductType.ts +1 -1
  312. package/src/api/api-schemas/productClaimDetail.ts +1 -1
  313. package/src/api/api-schemas/productCoinsDetail.ts +1 -1
  314. package/src/api/api-schemas/productDetail.ts +1 -1
  315. package/src/api/api-schemas/productDetailFlavour.ts +1 -1
  316. package/src/api/api-schemas/productDetailType.ts +1 -1
  317. package/src/api/api-schemas/productDmProjectTier.ts +1 -1
  318. package/src/api/api-schemas/productDmStorage.ts +1 -1
  319. package/src/api/api-schemas/productDmStorageDetail.ts +1 -1
  320. package/src/api/api-schemas/productDmStorageDetailCoins.ts +1 -1
  321. package/src/api/api-schemas/productDmStorageDetailSize.ts +1 -1
  322. package/src/api/api-schemas/productInstanceDetail.ts +1 -1
  323. package/src/api/api-schemas/productInstanceDetailCoins.ts +1 -1
  324. package/src/api/api-schemas/productPatchBodyBody.ts +1 -1
  325. package/src/api/api-schemas/productType.ts +1 -1
  326. package/src/api/api-schemas/productTypeServiceKind.ts +1 -1
  327. package/src/api/api-schemas/productUnitGetResponse.ts +1 -1
  328. package/src/api/api-schemas/productUnitGetResponseProduct.ts +1 -1
  329. package/src/api/api-schemas/productsGetDefaultStorageCost.ts +1 -1
  330. package/src/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.ts +1 -1
  331. package/src/api/api-schemas/productsGetResponse.ts +1 -1
  332. package/src/api/api-schemas/productsGetResponseProductsItem.ts +1 -1
  333. package/src/api/api-schemas/productsGetTypesResponse.ts +1 -1
  334. package/src/api/api-schemas/qFormatParameter.ts +1 -1
  335. package/src/api/api-schemas/qFromParameter.ts +1 -1
  336. package/src/api/api-schemas/qMIdParameter.ts +1 -1
  337. package/src/api/api-schemas/qNameParameter.ts +1 -1
  338. package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
  339. package/src/api/api-schemas/qPbpParameter.ts +1 -1
  340. package/src/api/api-schemas/qProductIdParameter.ts +1 -1
  341. package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
  342. package/src/api/api-schemas/qUntilParameter.ts +1 -1
  343. package/src/api/api-schemas/qUserIdParameter.ts +1 -1
  344. package/src/api/api-schemas/stateGetVersionResponse.ts +1 -1
  345. package/src/api/api-schemas/storageChargeItem.ts +1 -1
  346. package/src/api/api-schemas/storageCharges.ts +1 -1
  347. package/src/api/api-schemas/unitAllDetail.ts +1 -1
  348. package/src/api/api-schemas/unitAllDetailDefaultProductPrivacy.ts +1 -1
  349. package/src/api/api-schemas/unitChargeSummary.ts +1 -1
  350. package/src/api/api-schemas/unitChargesGetResponse.ts +1 -1
  351. package/src/api/api-schemas/unitDetail.ts +1 -1
  352. package/src/api/api-schemas/unitDetailDefaultProductPrivacy.ts +1 -1
  353. package/src/api/api-schemas/unitGetResponse.ts +1 -1
  354. package/src/api/api-schemas/unitPatchBodyBody.ts +1 -1
  355. package/src/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.ts +1 -1
  356. package/src/api/api-schemas/unitProductChargeSummary.ts +1 -1
  357. package/src/api/api-schemas/unitProductPostBodyBody.ts +1 -1
  358. package/src/api/api-schemas/unitProductPostBodyBodyFlavour.ts +1 -1
  359. package/src/api/api-schemas/unitProductPostBodyBodyType.ts +1 -1
  360. package/src/api/api-schemas/unitProductPostResponse.ts +1 -1
  361. package/src/api/api-schemas/unitsGetResponse.ts +1 -1
  362. package/src/api/api-schemas/userAccountDetail.ts +1 -1
  363. package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
  364. package/src/api/api-schemas/userDetail.ts +1 -1
  365. package/src/api/api-schemas/usersGetResponse.ts +1 -1
  366. package/src/api/asset/asset.fetch.ts +1 -1
  367. package/src/api/asset/asset.ts +1 -1
  368. package/src/api/charges/charges.fetch.ts +1 -1
  369. package/src/api/charges/charges.ts +1 -1
  370. package/src/api/event-stream/event-stream.fetch.ts +1 -1
  371. package/src/api/event-stream/event-stream.ts +1 -1
  372. package/src/api/merchant/merchant.fetch.ts +1 -1
  373. package/src/api/merchant/merchant.ts +1 -1
  374. package/src/api/organisation/organisation.fetch.ts +1 -1
  375. package/src/api/organisation/organisation.ts +1 -1
  376. package/src/api/product/product.fetch.ts +1 -1
  377. package/src/api/product/product.ts +1 -1
  378. package/src/api/state/state.fetch.ts +1 -1
  379. package/src/api/state/state.ts +1 -1
  380. package/src/api/unit/unit.fetch.ts +1 -1
  381. package/src/api/unit/unit.ts +1 -1
  382. package/src/api/user/user.fetch.ts +1 -1
  383. package/src/api/user/user.ts +1 -1
@@ -11,7 +11,7 @@ let __tanstack_react_query = require("@tanstack/react-query");
11
11
 
12
12
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
13
13
 
14
- * OpenAPI spec version: 4.4
14
+ * OpenAPI spec version: 4.6
15
15
  */
16
16
  /**
17
17
  * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.
@@ -1 +1 @@
1
- {"version":3,"file":"actions.cjs","names":["customInstance","queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,cACX,QACA,SACA,WACG;AACH,QAAOA,oCACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;EAAQ,EACjD,QACD;;AAGH,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMC,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,6CAAiB,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,qDAAyB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
1
+ {"version":3,"file":"actions.cjs","names":["customInstance","queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,cACX,QACA,SACA,WACG;AACH,QAAOA,oCACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;EAAQ,EACjD,QACD;;AAGH,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMC,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,6CAAiB,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,qDAAyB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
@@ -11,7 +11,7 @@ let __tanstack_react_query = require("@tanstack/react-query");
11
11
 
12
12
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
13
13
 
14
- * OpenAPI spec version: 4.4
14
+ * OpenAPI spec version: 4.6
15
15
  */
16
16
  const getGetActionsUrl = (params) => {
17
17
  const normalizedParams = new URLSearchParams();
@@ -1 +1 @@
1
- {"version":3,"file":"actions.fetch.cjs","names":["customFetch","queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqDA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;;AAGzE,MAAa,aAAa,OACxB,QACA,YACgC;AAChC,QAAOA,iCAAgC,iBAAiB,OAAO,EAAE;EAAE,GAAG;EAAS,QAAQ;EAAO,CAAC;;AAGjG,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMC,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,6CAAiB,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,qDAAyB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
1
+ {"version":3,"file":"actions.fetch.cjs","names":["customFetch","queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqDA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;;AAGzE,MAAa,aAAa,OACxB,QACA,YACgC;AAChC,QAAOA,iCAAgC,iBAAiB,OAAO,EAAE;EAAE,GAAG;EAAS,QAAQ;EAAO,CAAC;;AAGjG,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMC,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,6CAAiB,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,qDAAyB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
@@ -10,7 +10,7 @@ import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
10
10
 
11
11
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
12
12
 
13
- * OpenAPI spec version: 4.4
13
+ * OpenAPI spec version: 4.6
14
14
  */
15
15
  const getGetActionsUrl = (params) => {
16
16
  const normalizedParams = new URLSearchParams();
@@ -1 +1 @@
1
- {"version":3,"file":"actions.fetch.js","names":["queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;AAqDA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;;AAGzE,MAAa,aAAa,OACxB,QACA,YACgC;AAChC,QAAO,YAAgC,iBAAiB,OAAO,EAAE;EAAE,GAAG;EAAS,QAAQ;EAAO,CAAC;;AAGjG,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,QAAQ,SAAS,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
1
+ {"version":3,"file":"actions.fetch.js","names":["queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : value.toString());\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;AAqDA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,iBAAiB;AAE9C,QAAO,QAAQ,UAAU,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;AACrD,MAAI,UAAU,OACZ,kBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,MAAM,UAAU,CAAC;GAE1E;CAEF,MAAM,oBAAoB,iBAAiB,UAAU;AAErD,QAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;;AAGzE,MAAa,aAAa,OACxB,QACA,YACgC;AAChC,QAAO,YAAgC,iBAAiB,OAAO,EAAE;EAAE,GAAG;EAAS,QAAQ;EAAO,CAAC;;AAGjG,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,QAAQ,SAAS,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;EAAgB,CAAC;AAEnD,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
@@ -10,7 +10,7 @@ import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
10
10
 
11
11
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
12
12
 
13
- * OpenAPI spec version: 4.4
13
+ * OpenAPI spec version: 4.6
14
14
  */
15
15
  /**
16
16
  * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","names":["queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,cACX,QACA,SACA,WACG;AACH,QAAO,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;EAAQ,EACjD,QACD;;AAGH,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,QAAQ,SAAS,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
1
+ {"version":3,"file":"actions.js","names":["queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>>"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \".././api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n\nYou can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n\nYou can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n\nYou need admin privilege to use this endpoint.\n\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData>;\n };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData> };\n\n query.queryKey = queryOptions.queryKey;\n\n return query;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,MAAa,cACX,QACA,SACA,WACG;AACH,QAAO,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;EAAQ,EACjD,QACD;;AAGH,MAAa,yBAAyB,WAA8B;AAClE,QAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,OAAO,GAAG,EAAE;EAAE;;AAGlE,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+D/C,SAAgB,cAId,QACA,SAIA,aACwE;CACxE,MAAM,eAAe,0BAA0B,QAAQ,QAAQ;CAE/D,MAAM,QAAQ,SAAS,cAAc,YAAY;AAIjD,OAAM,WAAW,aAAa;AAE9B,QAAO;;;;;AAMT,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;AACzB,OAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,OAAO,EAAE,EAAE,QAAQ;AAEzF,QAAO;;AAGT,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,EAAE;CAEtE,MAAM,WAAW,cAAc,YAAY,sBAAsB,OAAO;CAExE,MAAMA,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,OAAO;AAE5C,QAAO;EAAE;EAAU;EAAS,GAAG;EAAc;;;;;AA+C/C,SAAgB,sBAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,kCAAkC,QAAQ,QAAQ;CAEvE,MAAM,QAAQ,iBAAiB,cAAc,YAAY;AAKzD,OAAM,WAAW,aAAa;AAE9B,QAAO"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface AsError {
13
13
  /** Brief error text that can be presented to the user */
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface AsError {
13
13
  /** Brief error text that can be presented to the user */
@@ -1 +1 @@
1
- {"version":3,"file":"assetDetailScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";;AAcA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
1
+ {"version":3,"file":"assetDetailScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";;AAcA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];
13
13
  declare const AssetDetailScope: {
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];
13
13
  declare const AssetDetailScope: {
@@ -1 +1 @@
1
- {"version":3,"file":"assetDetailScope.js","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";AAcA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
1
+ {"version":3,"file":"assetDetailScope.js","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";AAcA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type AssetPatchBodyBody = {
13
13
  /** A file containing the content for the asset. You must provide a value here or in content_string */
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type AssetPatchBodyBody = {
13
13
  /** A file containing the content for the asset. You must provide a value here or in content_string */
@@ -1 +1 @@
1
- {"version":3,"file":"assetPostBodyBodyScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";;AAkBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
1
+ {"version":3,"file":"assetPostBodyBodyScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";;AAkBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.
@@ -1 +1 @@
1
- {"version":3,"file":"assetPostBodyBodyScope.js","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";AAkBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
1
+ {"version":3,"file":"assetPostBodyBodyScope.js","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, or `GLOBAL`. Assets that are not `GLOBAL` need a scope ID.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n} as const;\n"],"mappings":";AAkBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACT"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface AssetPostResponse {
13
13
  /** The Asset ID
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface AssetPostResponse {
13
13
  /** The Asset ID
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface ChargeAdditionalData {
13
13
  [key: string]: unknown;
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface ChargeAdditionalData {
13
13
  [key: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"chargeSummaryType.cjs","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";;AAiBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;CAAW"}
1
+ {"version":3,"file":"chargeSummaryType.cjs","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";;AAiBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;CAAW"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * The type of charge
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * The type of charge
@@ -1 +1 @@
1
- {"version":3,"file":"chargeSummaryType.js","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";AAiBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;CAAW"}
1
+ {"version":3,"file":"chargeSummaryType.js","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";AAiBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;CAAW"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface EventStreamGetPostResponse {
13
13
  /** The EventStream ID */
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  interface EventStreamGetPostResponse {
13
13
  /** The EventStream ID */
@@ -1 +1 @@
1
- {"version":3,"file":"eventStreamPostBodyBodyFormat.cjs","names":[],"sources":["../../../src/api/api-schemas/eventStreamPostBodyBodyFormat.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\nexport type EventStreamPostBodyBodyFormat =\n (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamPostBodyBodyFormat = {\n PROTOCOL_STRING: \"PROTOCOL_STRING\",\n JSON_STRING: \"JSON_STRING\",\n} as const;\n"],"mappings":";;AAeA,MAAa,gCAAgC;CAC3C,iBAAiB;CACjB,aAAa;CACd"}
1
+ {"version":3,"file":"eventStreamPostBodyBodyFormat.cjs","names":[],"sources":["../../../src/api/api-schemas/eventStreamPostBodyBodyFormat.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\nexport type EventStreamPostBodyBodyFormat =\n (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamPostBodyBodyFormat = {\n PROTOCOL_STRING: \"PROTOCOL_STRING\",\n JSON_STRING: \"JSON_STRING\",\n} as const;\n"],"mappings":";;AAeA,MAAa,gCAAgC;CAC3C,iBAAiB;CACjB,aAAa;CACd"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type EventStreamPostBodyBodyFormat = (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];
13
13
  declare const EventStreamPostBodyBodyFormat: {
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  type EventStreamPostBodyBodyFormat = (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];
13
13
  declare const EventStreamPostBodyBodyFormat: {
@@ -1 +1 @@
1
- {"version":3,"file":"eventStreamPostBodyBodyFormat.js","names":[],"sources":["../../../src/api/api-schemas/eventStreamPostBodyBodyFormat.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\nexport type EventStreamPostBodyBodyFormat =\n (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamPostBodyBodyFormat = {\n PROTOCOL_STRING: \"PROTOCOL_STRING\",\n JSON_STRING: \"JSON_STRING\",\n} as const;\n"],"mappings":";AAeA,MAAa,gCAAgC;CAC3C,iBAAiB;CACjB,aAAa;CACd"}
1
+ {"version":3,"file":"eventStreamPostBodyBodyFormat.js","names":[],"sources":["../../../src/api/api-schemas/eventStreamPostBodyBodyFormat.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\nexport type EventStreamPostBodyBodyFormat =\n (typeof EventStreamPostBodyBodyFormat)[keyof typeof EventStreamPostBodyBodyFormat];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamPostBodyBodyFormat = {\n PROTOCOL_STRING: \"PROTOCOL_STRING\",\n JSON_STRING: \"JSON_STRING\",\n} as const;\n"],"mappings":";AAeA,MAAa,gCAAgC;CAC3C,iBAAiB;CACjB,aAAa;CACd"}
@@ -1 +1 @@
1
- {"version":3,"file":"eventStreamVersionGetResponseProtocol.cjs","names":[],"sources":["../../../src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.\n */\nexport type EventStreamVersionGetResponseProtocol =\n (typeof EventStreamVersionGetResponseProtocol)[keyof typeof EventStreamVersionGetResponseProtocol];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamVersionGetResponseProtocol = {\n ERROR_INTERNAL: \"ERROR_INTERNAL\",\n SERVICE_NOT_PRESENT: \"SERVICE_NOT_PRESENT\",\n WEBSOCKET: \"WEBSOCKET\",\n} as const;\n"],"mappings":";;AAkBA,MAAa,wCAAwC;CACnD,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACZ"}
1
+ {"version":3,"file":"eventStreamVersionGetResponseProtocol.cjs","names":[],"sources":["../../../src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.\n */\nexport type EventStreamVersionGetResponseProtocol =\n (typeof EventStreamVersionGetResponseProtocol)[keyof typeof EventStreamVersionGetResponseProtocol];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamVersionGetResponseProtocol = {\n ERROR_INTERNAL: \"ERROR_INTERNAL\",\n SERVICE_NOT_PRESENT: \"SERVICE_NOT_PRESENT\",\n WEBSOCKET: \"WEBSOCKET\",\n} as const;\n"],"mappings":";;AAkBA,MAAa,wCAAwC;CACnD,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACZ"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.
@@ -1 +1 @@
1
- {"version":3,"file":"eventStreamVersionGetResponseProtocol.js","names":[],"sources":["../../../src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.\n */\nexport type EventStreamVersionGetResponseProtocol =\n (typeof EventStreamVersionGetResponseProtocol)[keyof typeof EventStreamVersionGetResponseProtocol];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamVersionGetResponseProtocol = {\n ERROR_INTERNAL: \"ERROR_INTERNAL\",\n SERVICE_NOT_PRESENT: \"SERVICE_NOT_PRESENT\",\n WEBSOCKET: \"WEBSOCKET\",\n} as const;\n"],"mappings":";AAkBA,MAAa,wCAAwC;CACnD,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACZ"}
1
+ {"version":3,"file":"eventStreamVersionGetResponseProtocol.js","names":[],"sources":["../../../src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * The Event Stream protocol, used to inform the client how to connect to given locations and handle events. At the moment the AS only supports web-sockets.\n */\nexport type EventStreamVersionGetResponseProtocol =\n (typeof EventStreamVersionGetResponseProtocol)[keyof typeof EventStreamVersionGetResponseProtocol];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const EventStreamVersionGetResponseProtocol = {\n ERROR_INTERNAL: \"ERROR_INTERNAL\",\n SERVICE_NOT_PRESENT: \"SERVICE_NOT_PRESENT\",\n WEBSOCKET: \"WEBSOCKET\",\n} as const;\n"],"mappings":";AAkBA,MAAa,wCAAwC;CACnD,gBAAgB;CAChB,qBAAqB;CACrB,WAAW;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"merchantDetailKind.cjs","names":[],"sources":["../../../src/api/api-schemas/merchantDetailKind.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.4\n */\n\n/**\n * The kind of Service\n */\nexport type MerchantDetailKind = (typeof MerchantDetailKind)[keyof typeof MerchantDetailKind];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const MerchantDetailKind = { DATA_MANAGER: \"DATA_MANAGER\" } as const;\n"],"mappings":";;AAiBA,MAAa,qBAAqB,EAAE,cAAc,gBAAgB"}
1
+ {"version":3,"file":"merchantDetailKind.cjs","names":[],"sources":["../../../src/api/api-schemas/merchantDetailKind.ts"],"sourcesContent":["/**\n * Generated by orval v7.17.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n\nA service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n\n * OpenAPI spec version: 4.6\n */\n\n/**\n * The kind of Service\n */\nexport type MerchantDetailKind = (typeof MerchantDetailKind)[keyof typeof MerchantDetailKind];\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport const MerchantDetailKind = { DATA_MANAGER: \"DATA_MANAGER\" } as const;\n"],"mappings":";;AAiBA,MAAa,qBAAqB,EAAE,cAAc,gBAAgB"}
@@ -7,7 +7,7 @@
7
7
 
8
8
  A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
9
9
 
10
- * OpenAPI spec version: 4.4
10
+ * OpenAPI spec version: 4.6
11
11
  */
12
12
  /**
13
13
  * The kind of Service