@squonk/account-server-client 4.14.0 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) 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/capabilityDetailMerchantKind.cjs.map +1 -1
  24. package/dist/api/api-schemas/capabilityDetailMerchantKind.d.cts +1 -1
  25. package/dist/api/api-schemas/capabilityDetailMerchantKind.d.ts +1 -1
  26. package/dist/api/api-schemas/capabilityDetailMerchantKind.js.map +1 -1
  27. package/dist/api/api-schemas/capabilityDetailSpec.d.cts +1 -1
  28. package/dist/api/api-schemas/capabilityDetailSpec.d.ts +1 -1
  29. package/dist/api/api-schemas/capabilityPostBodyBody.d.cts +1 -1
  30. package/dist/api/api-schemas/capabilityPostBodyBody.d.ts +1 -1
  31. package/dist/api/api-schemas/capabilityPostResponse.d.cts +1 -1
  32. package/dist/api/api-schemas/capabilityPostResponse.d.ts +1 -1
  33. package/dist/api/api-schemas/capabilityUpdateBodyBody.d.cts +1 -1
  34. package/dist/api/api-schemas/capabilityUpdateBodyBody.d.ts +1 -1
  35. package/dist/api/api-schemas/chargeAdditionalData.d.cts +1 -1
  36. package/dist/api/api-schemas/chargeAdditionalData.d.ts +1 -1
  37. package/dist/api/api-schemas/chargeSummaryType.cjs.map +1 -1
  38. package/dist/api/api-schemas/chargeSummaryType.d.cts +1 -1
  39. package/dist/api/api-schemas/chargeSummaryType.d.ts +1 -1
  40. package/dist/api/api-schemas/chargeSummaryType.js.map +1 -1
  41. package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.cjs.map +1 -1
  42. package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.cts +1 -1
  43. package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.ts +1 -1
  44. package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.js.map +1 -1
  45. package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.cts +1 -1
  46. package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.ts +1 -1
  47. package/dist/api/api-schemas/eventStreamDetail.d.cts +28 -0
  48. package/dist/api/api-schemas/eventStreamDetail.d.cts.map +1 -0
  49. package/dist/api/api-schemas/eventStreamDetail.d.ts +28 -0
  50. package/dist/api/api-schemas/eventStreamDetail.d.ts.map +1 -0
  51. package/dist/api/api-schemas/eventStreamGetPostResponse.d.cts +1 -1
  52. package/dist/api/api-schemas/eventStreamGetPostResponse.d.ts +1 -1
  53. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.cjs.map +1 -1
  54. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.cts +1 -1
  55. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.ts +1 -1
  56. package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.js.map +1 -1
  57. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.cjs.map +1 -1
  58. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.cts +1 -1
  59. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.ts +1 -1
  60. package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.js.map +1 -1
  61. package/dist/api/api-schemas/eventStreamsGetResponse.d.cts +10 -0
  62. package/dist/api/api-schemas/eventStreamsGetResponse.d.cts.map +1 -0
  63. package/dist/api/api-schemas/eventStreamsGetResponse.d.ts +10 -0
  64. package/dist/api/api-schemas/eventStreamsGetResponse.d.ts.map +1 -0
  65. package/dist/api/api-schemas/incidentDetailScope.cjs.map +1 -1
  66. package/dist/api/api-schemas/incidentDetailScope.d.cts +1 -1
  67. package/dist/api/api-schemas/incidentDetailScope.d.ts +1 -1
  68. package/dist/api/api-schemas/incidentDetailScope.js.map +1 -1
  69. package/dist/api/api-schemas/incidentKindDetail.d.cts +1 -1
  70. package/dist/api/api-schemas/incidentKindDetail.d.ts +1 -1
  71. package/dist/api/api-schemas/merchantDetailKind.cjs.map +1 -1
  72. package/dist/api/api-schemas/merchantDetailKind.d.cts +1 -1
  73. package/dist/api/api-schemas/merchantDetailKind.d.ts +1 -1
  74. package/dist/api/api-schemas/merchantDetailKind.js.map +1 -1
  75. package/dist/api/api-schemas/merchantSummaryKind.cjs.map +1 -1
  76. package/dist/api/api-schemas/merchantSummaryKind.d.cts +1 -1
  77. package/dist/api/api-schemas/merchantSummaryKind.d.ts +1 -1
  78. package/dist/api/api-schemas/merchantSummaryKind.js.map +1 -1
  79. package/dist/api/api-schemas/notificationDetailState.cjs.map +1 -1
  80. package/dist/api/api-schemas/notificationDetailState.d.cts +1 -1
  81. package/dist/api/api-schemas/notificationDetailState.d.ts +1 -1
  82. package/dist/api/api-schemas/notificationDetailState.js.map +1 -1
  83. package/dist/api/api-schemas/notificationPreferenceDetail.d.cts +1 -1
  84. package/dist/api/api-schemas/notificationPreferenceDetail.d.ts +1 -1
  85. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.cjs.map +1 -1
  86. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.cts +1 -1
  87. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.ts +1 -1
  88. package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.js.map +1 -1
  89. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.cjs.map +1 -1
  90. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.cts +1 -1
  91. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.ts +1 -1
  92. package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.js.map +1 -1
  93. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.cjs.map +1 -1
  94. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.cts +1 -1
  95. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.ts +1 -1
  96. package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.js.map +1 -1
  97. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  98. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
  99. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
  100. package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
  101. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  102. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
  103. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
  104. package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.js.map +1 -1
  105. package/dist/api/api-schemas/organisationPostResponse.d.cts +1 -1
  106. package/dist/api/api-schemas/organisationPostResponse.d.ts +1 -1
  107. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  108. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
  109. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
  110. package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.js.map +1 -1
  111. package/dist/api/api-schemas/organisationUnitPostResponse.d.cts +1 -1
  112. package/dist/api/api-schemas/organisationUnitPostResponse.d.ts +1 -1
  113. package/dist/api/api-schemas/personalUnitPutBodyBody.d.cts +1 -1
  114. package/dist/api/api-schemas/personalUnitPutBodyBody.d.ts +1 -1
  115. package/dist/api/api-schemas/personalUnitPutResponse.d.cts +1 -1
  116. package/dist/api/api-schemas/personalUnitPutResponse.d.ts +1 -1
  117. package/dist/api/api-schemas/processingChargesMerchantKind.cjs.map +1 -1
  118. package/dist/api/api-schemas/processingChargesMerchantKind.d.cts +1 -1
  119. package/dist/api/api-schemas/processingChargesMerchantKind.d.ts +1 -1
  120. package/dist/api/api-schemas/processingChargesMerchantKind.js.map +1 -1
  121. package/dist/api/api-schemas/productChargesGetResponseProductType.cjs.map +1 -1
  122. package/dist/api/api-schemas/productChargesGetResponseProductType.d.cts +1 -1
  123. package/dist/api/api-schemas/productChargesGetResponseProductType.d.ts +1 -1
  124. package/dist/api/api-schemas/productChargesGetResponseProductType.js.map +1 -1
  125. package/dist/api/api-schemas/productClaimDetail.d.cts +1 -1
  126. package/dist/api/api-schemas/productClaimDetail.d.ts +1 -1
  127. package/dist/api/api-schemas/productCoinsDetail.d.cts +1 -1
  128. package/dist/api/api-schemas/productCoinsDetail.d.ts +1 -1
  129. package/dist/api/api-schemas/productDetailFlavour.cjs.map +1 -1
  130. package/dist/api/api-schemas/productDetailFlavour.d.cts +1 -1
  131. package/dist/api/api-schemas/productDetailFlavour.d.ts +1 -1
  132. package/dist/api/api-schemas/productDetailFlavour.js.map +1 -1
  133. package/dist/api/api-schemas/productDetailType.cjs.map +1 -1
  134. package/dist/api/api-schemas/productDetailType.d.cts +1 -1
  135. package/dist/api/api-schemas/productDetailType.d.ts +1 -1
  136. package/dist/api/api-schemas/productDetailType.js.map +1 -1
  137. package/dist/api/api-schemas/productDmStorageDetailCoins.d.cts +1 -1
  138. package/dist/api/api-schemas/productDmStorageDetailCoins.d.ts +1 -1
  139. package/dist/api/api-schemas/productDmStorageDetailSize.d.cts +1 -1
  140. package/dist/api/api-schemas/productDmStorageDetailSize.d.ts +1 -1
  141. package/dist/api/api-schemas/productInstanceDetailCoins.d.cts +1 -1
  142. package/dist/api/api-schemas/productInstanceDetailCoins.d.ts +1 -1
  143. package/dist/api/api-schemas/productPatchBodyBody.d.cts +1 -1
  144. package/dist/api/api-schemas/productPatchBodyBody.d.ts +1 -1
  145. package/dist/api/api-schemas/productTypeServiceKind.cjs.map +1 -1
  146. package/dist/api/api-schemas/productTypeServiceKind.d.cts +1 -1
  147. package/dist/api/api-schemas/productTypeServiceKind.d.ts +1 -1
  148. package/dist/api/api-schemas/productTypeServiceKind.js.map +1 -1
  149. package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.cts +1 -1
  150. package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.ts +1 -1
  151. package/dist/api/api-schemas/qAssetScopeParameter.cjs.map +1 -1
  152. package/dist/api/api-schemas/qAssetScopeParameter.d.cts +1 -1
  153. package/dist/api/api-schemas/qAssetScopeParameter.d.ts +1 -1
  154. package/dist/api/api-schemas/qAssetScopeParameter.js.map +1 -1
  155. package/dist/api/api-schemas/qCapabilityParameter.d.cts +1 -1
  156. package/dist/api/api-schemas/qCapabilityParameter.d.ts +1 -1
  157. package/dist/api/api-schemas/qCreatedFromParameter.d.cts +1 -1
  158. package/dist/api/api-schemas/qCreatedFromParameter.d.ts +1 -1
  159. package/dist/api/api-schemas/qCreatedUntilParameter.d.cts +1 -1
  160. package/dist/api/api-schemas/qCreatedUntilParameter.d.ts +1 -1
  161. package/dist/api/api-schemas/qForceParameter.d.cts +1 -1
  162. package/dist/api/api-schemas/qForceParameter.d.ts +1 -1
  163. package/dist/api/api-schemas/qFormatParameter.cjs.map +1 -1
  164. package/dist/api/api-schemas/qFormatParameter.d.cts +1 -1
  165. package/dist/api/api-schemas/qFormatParameter.d.ts +1 -1
  166. package/dist/api/api-schemas/qFormatParameter.js.map +1 -1
  167. package/dist/api/api-schemas/qFromParameter.d.cts +1 -1
  168. package/dist/api/api-schemas/qFromParameter.d.ts +1 -1
  169. package/dist/api/api-schemas/qIncidentKindParameter.d.cts +1 -1
  170. package/dist/api/api-schemas/qIncidentKindParameter.d.ts +1 -1
  171. package/dist/api/api-schemas/qMIdParameter.d.cts +1 -1
  172. package/dist/api/api-schemas/qMIdParameter.d.ts +1 -1
  173. package/dist/api/api-schemas/qNameParameter.d.cts +1 -1
  174. package/dist/api/api-schemas/qNameParameter.d.ts +1 -1
  175. package/dist/api/api-schemas/qNotificationStateParameter.cjs.map +1 -1
  176. package/dist/api/api-schemas/qNotificationStateParameter.d.cts +1 -1
  177. package/dist/api/api-schemas/qNotificationStateParameter.d.ts +1 -1
  178. package/dist/api/api-schemas/qNotificationStateParameter.js.map +1 -1
  179. package/dist/api/api-schemas/qOrgIdParameter.d.cts +1 -1
  180. package/dist/api/api-schemas/qOrgIdParameter.d.ts +1 -1
  181. package/dist/api/api-schemas/qPbpParameter.d.cts +1 -1
  182. package/dist/api/api-schemas/qPbpParameter.d.ts +1 -1
  183. package/dist/api/api-schemas/qProductIdParameter.d.cts +1 -1
  184. package/dist/api/api-schemas/qProductIdParameter.d.ts +1 -1
  185. package/dist/api/api-schemas/qRelayParameter.d.cts +1 -1
  186. package/dist/api/api-schemas/qRelayParameter.d.ts +1 -1
  187. package/dist/api/api-schemas/qUnitIdParameter.d.cts +1 -1
  188. package/dist/api/api-schemas/qUnitIdParameter.d.ts +1 -1
  189. package/dist/api/api-schemas/qUntilParameter.d.cts +1 -1
  190. package/dist/api/api-schemas/qUntilParameter.d.ts +1 -1
  191. package/dist/api/api-schemas/qUserIdParameter.d.cts +1 -1
  192. package/dist/api/api-schemas/qUserIdParameter.d.ts +1 -1
  193. package/dist/api/api-schemas/relayDetail.d.cts +1 -1
  194. package/dist/api/api-schemas/relayDetail.d.ts +1 -1
  195. package/dist/api/api-schemas/stateGetVersionResponse.d.cts +1 -1
  196. package/dist/api/api-schemas/stateGetVersionResponse.d.ts +1 -1
  197. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.cjs.map +1 -1
  198. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.cts +1 -1
  199. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.ts +1 -1
  200. package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.js.map +1 -1
  201. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.cjs.map +1 -1
  202. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.cts +1 -1
  203. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.ts +1 -1
  204. package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.js.map +1 -1
  205. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
  206. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
  207. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
  208. package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
  209. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.cjs.map +1 -1
  210. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.cts +1 -1
  211. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.ts +1 -1
  212. package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.js.map +1 -1
  213. package/dist/api/api-schemas/unitProductPostBodyBodyType.cjs.map +1 -1
  214. package/dist/api/api-schemas/unitProductPostBodyBodyType.d.cts +1 -1
  215. package/dist/api/api-schemas/unitProductPostBodyBodyType.d.ts +1 -1
  216. package/dist/api/api-schemas/unitProductPostBodyBodyType.js.map +1 -1
  217. package/dist/api/api-schemas/unitProductPostResponse.d.cts +1 -1
  218. package/dist/api/api-schemas/unitProductPostResponse.d.ts +1 -1
  219. package/dist/api/api-schemas/userDetail.d.cts +1 -1
  220. package/dist/api/api-schemas/userDetail.d.ts +1 -1
  221. package/dist/api/asset/asset.cjs +1 -1
  222. package/dist/api/asset/asset.cjs.map +1 -1
  223. package/dist/api/asset/asset.fetch.cjs +1 -1
  224. package/dist/api/asset/asset.fetch.cjs.map +1 -1
  225. package/dist/api/asset/asset.fetch.js +1 -1
  226. package/dist/api/asset/asset.fetch.js.map +1 -1
  227. package/dist/api/asset/asset.js +1 -1
  228. package/dist/api/asset/asset.js.map +1 -1
  229. package/dist/api/capabilities/capabilities.cjs +1 -1
  230. package/dist/api/capabilities/capabilities.cjs.map +1 -1
  231. package/dist/api/capabilities/capabilities.fetch.cjs +1 -1
  232. package/dist/api/capabilities/capabilities.fetch.cjs.map +1 -1
  233. package/dist/api/capabilities/capabilities.fetch.js +1 -1
  234. package/dist/api/capabilities/capabilities.fetch.js.map +1 -1
  235. package/dist/api/capabilities/capabilities.js +1 -1
  236. package/dist/api/capabilities/capabilities.js.map +1 -1
  237. package/dist/api/charges/charges.cjs +1 -1
  238. package/dist/api/charges/charges.cjs.map +1 -1
  239. package/dist/api/charges/charges.fetch.cjs +1 -1
  240. package/dist/api/charges/charges.fetch.cjs.map +1 -1
  241. package/dist/api/charges/charges.fetch.js +1 -1
  242. package/dist/api/charges/charges.fetch.js.map +1 -1
  243. package/dist/api/charges/charges.js +1 -1
  244. package/dist/api/charges/charges.js.map +1 -1
  245. package/dist/api/event-stream/event-stream.cjs +72 -4
  246. package/dist/api/event-stream/event-stream.cjs.map +1 -1
  247. package/dist/api/event-stream/event-stream.d.cts +69 -4
  248. package/dist/api/event-stream/event-stream.d.cts.map +1 -1
  249. package/dist/api/event-stream/event-stream.d.ts +69 -4
  250. package/dist/api/event-stream/event-stream.d.ts.map +1 -1
  251. package/dist/api/event-stream/event-stream.fetch.cjs +81 -4
  252. package/dist/api/event-stream/event-stream.fetch.cjs.map +1 -1
  253. package/dist/api/event-stream/event-stream.fetch.d.cts +89 -4
  254. package/dist/api/event-stream/event-stream.fetch.d.cts.map +1 -1
  255. package/dist/api/event-stream/event-stream.fetch.d.ts +89 -4
  256. package/dist/api/event-stream/event-stream.fetch.d.ts.map +1 -1
  257. package/dist/api/event-stream/event-stream.fetch.js +74 -5
  258. package/dist/api/event-stream/event-stream.fetch.js.map +1 -1
  259. package/dist/api/event-stream/event-stream.js +66 -5
  260. package/dist/api/event-stream/event-stream.js.map +1 -1
  261. package/dist/api/merchant/merchant.cjs +1 -1
  262. package/dist/api/merchant/merchant.cjs.map +1 -1
  263. package/dist/api/merchant/merchant.fetch.cjs +1 -1
  264. package/dist/api/merchant/merchant.fetch.cjs.map +1 -1
  265. package/dist/api/merchant/merchant.fetch.js +1 -1
  266. package/dist/api/merchant/merchant.fetch.js.map +1 -1
  267. package/dist/api/merchant/merchant.js +1 -1
  268. package/dist/api/merchant/merchant.js.map +1 -1
  269. package/dist/api/notifications/notifications.cjs +1 -1
  270. package/dist/api/notifications/notifications.cjs.map +1 -1
  271. package/dist/api/notifications/notifications.fetch.cjs +1 -1
  272. package/dist/api/notifications/notifications.fetch.cjs.map +1 -1
  273. package/dist/api/notifications/notifications.fetch.js +1 -1
  274. package/dist/api/notifications/notifications.fetch.js.map +1 -1
  275. package/dist/api/notifications/notifications.js +1 -1
  276. package/dist/api/notifications/notifications.js.map +1 -1
  277. package/dist/api/organisation/organisation.cjs +1 -1
  278. package/dist/api/organisation/organisation.cjs.map +1 -1
  279. package/dist/api/organisation/organisation.fetch.cjs +1 -1
  280. package/dist/api/organisation/organisation.fetch.cjs.map +1 -1
  281. package/dist/api/organisation/organisation.fetch.js +1 -1
  282. package/dist/api/organisation/organisation.fetch.js.map +1 -1
  283. package/dist/api/organisation/organisation.js +1 -1
  284. package/dist/api/organisation/organisation.js.map +1 -1
  285. package/dist/api/product/product.cjs +1 -1
  286. package/dist/api/product/product.cjs.map +1 -1
  287. package/dist/api/product/product.fetch.cjs +1 -1
  288. package/dist/api/product/product.fetch.cjs.map +1 -1
  289. package/dist/api/product/product.fetch.js +1 -1
  290. package/dist/api/product/product.fetch.js.map +1 -1
  291. package/dist/api/product/product.js +1 -1
  292. package/dist/api/product/product.js.map +1 -1
  293. package/dist/api/state/state.cjs +1 -1
  294. package/dist/api/state/state.cjs.map +1 -1
  295. package/dist/api/state/state.fetch.cjs +1 -1
  296. package/dist/api/state/state.fetch.cjs.map +1 -1
  297. package/dist/api/state/state.fetch.js +1 -1
  298. package/dist/api/state/state.fetch.js.map +1 -1
  299. package/dist/api/state/state.js +1 -1
  300. package/dist/api/state/state.js.map +1 -1
  301. package/dist/api/unit/unit.cjs +1 -1
  302. package/dist/api/unit/unit.cjs.map +1 -1
  303. package/dist/api/unit/unit.fetch.cjs +1 -1
  304. package/dist/api/unit/unit.fetch.cjs.map +1 -1
  305. package/dist/api/unit/unit.fetch.js +1 -1
  306. package/dist/api/unit/unit.fetch.js.map +1 -1
  307. package/dist/api/unit/unit.js +1 -1
  308. package/dist/api/unit/unit.js.map +1 -1
  309. package/dist/api/user/user.cjs +1 -1
  310. package/dist/api/user/user.cjs.map +1 -1
  311. package/dist/api/user/user.fetch.cjs +1 -1
  312. package/dist/api/user/user.fetch.cjs.map +1 -1
  313. package/dist/api/user/user.fetch.js +1 -1
  314. package/dist/api/user/user.fetch.js.map +1 -1
  315. package/dist/api/user/user.js +1 -1
  316. package/dist/api/user/user.js.map +1 -1
  317. package/dist/index.d.cts +3 -1
  318. package/dist/index.d.ts +3 -1
  319. package/package.json +1 -1
  320. package/src/api/actions/actions.fetch.ts +1 -1
  321. package/src/api/actions/actions.ts +1 -1
  322. package/src/api/api-schemas/actionDetail.fetch.ts +1 -1
  323. package/src/api/api-schemas/actionDetail.ts +1 -1
  324. package/src/api/api-schemas/actionGetResponse.fetch.ts +1 -1
  325. package/src/api/api-schemas/actionGetResponse.ts +1 -1
  326. package/src/api/api-schemas/allCapabilitiesGetResponse.fetch.ts +1 -1
  327. package/src/api/api-schemas/allCapabilitiesGetResponse.ts +1 -1
  328. package/src/api/api-schemas/asError.fetch.ts +1 -1
  329. package/src/api/api-schemas/asError.ts +1 -1
  330. package/src/api/api-schemas/assetDetail.fetch.ts +1 -1
  331. package/src/api/api-schemas/assetDetail.ts +1 -1
  332. package/src/api/api-schemas/assetDetailScope.fetch.ts +1 -1
  333. package/src/api/api-schemas/assetDetailScope.ts +1 -1
  334. package/src/api/api-schemas/assetGetByIdResponse.fetch.ts +1 -1
  335. package/src/api/api-schemas/assetGetByIdResponse.ts +1 -1
  336. package/src/api/api-schemas/assetGetResponse.fetch.ts +1 -1
  337. package/src/api/api-schemas/assetGetResponse.ts +1 -1
  338. package/src/api/api-schemas/assetPatchBodyBody.fetch.ts +1 -1
  339. package/src/api/api-schemas/assetPatchBodyBody.ts +1 -1
  340. package/src/api/api-schemas/assetPostBodyBody.fetch.ts +1 -1
  341. package/src/api/api-schemas/assetPostBodyBody.ts +1 -1
  342. package/src/api/api-schemas/assetPostBodyBodyScope.fetch.ts +1 -1
  343. package/src/api/api-schemas/assetPostBodyBodyScope.ts +1 -1
  344. package/src/api/api-schemas/assetPostResponse.fetch.ts +1 -1
  345. package/src/api/api-schemas/assetPostResponse.ts +1 -1
  346. package/src/api/api-schemas/attachAssetParams.fetch.ts +1 -1
  347. package/src/api/api-schemas/attachAssetParams.ts +1 -1
  348. package/src/api/api-schemas/capabilitiesGetResponse.fetch.ts +1 -1
  349. package/src/api/api-schemas/capabilitiesGetResponse.ts +1 -1
  350. package/src/api/api-schemas/capabilityDetail.fetch.ts +1 -1
  351. package/src/api/api-schemas/capabilityDetail.ts +1 -1
  352. package/src/api/api-schemas/capabilityDetailMerchantKind.fetch.ts +1 -1
  353. package/src/api/api-schemas/capabilityDetailMerchantKind.ts +1 -1
  354. package/src/api/api-schemas/capabilityDetailSpec.fetch.ts +1 -1
  355. package/src/api/api-schemas/capabilityDetailSpec.ts +1 -1
  356. package/src/api/api-schemas/capabilityPostBodyBody.fetch.ts +1 -1
  357. package/src/api/api-schemas/capabilityPostBodyBody.ts +1 -1
  358. package/src/api/api-schemas/capabilityPostResponse.fetch.ts +1 -1
  359. package/src/api/api-schemas/capabilityPostResponse.ts +1 -1
  360. package/src/api/api-schemas/capabilityUpdateBodyBody.fetch.ts +1 -1
  361. package/src/api/api-schemas/capabilityUpdateBodyBody.ts +1 -1
  362. package/src/api/api-schemas/chargeAdditionalData.fetch.ts +1 -1
  363. package/src/api/api-schemas/chargeAdditionalData.ts +1 -1
  364. package/src/api/api-schemas/chargeSummary.fetch.ts +1 -1
  365. package/src/api/api-schemas/chargeSummary.ts +1 -1
  366. package/src/api/api-schemas/chargeSummaryType.fetch.ts +1 -1
  367. package/src/api/api-schemas/chargeSummaryType.ts +1 -1
  368. package/src/api/api-schemas/chargesGetResponse.fetch.ts +1 -1
  369. package/src/api/api-schemas/chargesGetResponse.ts +1 -1
  370. package/src/api/api-schemas/defaultCapabilitiesGetResponse.fetch.ts +1 -1
  371. package/src/api/api-schemas/defaultCapabilitiesGetResponse.ts +1 -1
  372. package/src/api/api-schemas/defaultCapabilityDetail.fetch.ts +1 -1
  373. package/src/api/api-schemas/defaultCapabilityDetail.ts +1 -1
  374. package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.fetch.ts +1 -1
  375. package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts +1 -1
  376. package/src/api/api-schemas/defaultCapabilityDetailSpec.fetch.ts +1 -1
  377. package/src/api/api-schemas/defaultCapabilityDetailSpec.ts +1 -1
  378. package/src/api/api-schemas/deleteCapabilityParams.fetch.ts +1 -1
  379. package/src/api/api-schemas/deleteCapabilityParams.ts +1 -1
  380. package/src/api/api-schemas/deleteDefaultCapabilityParams.fetch.ts +1 -1
  381. package/src/api/api-schemas/deleteDefaultCapabilityParams.ts +1 -1
  382. package/src/api/api-schemas/deleteOrganisationParams.fetch.ts +1 -1
  383. package/src/api/api-schemas/deleteOrganisationParams.ts +1 -1
  384. package/src/api/api-schemas/detachAssetParams.fetch.ts +1 -1
  385. package/src/api/api-schemas/detachAssetParams.ts +1 -1
  386. package/src/api/api-schemas/eventStreamDetail.fetch.ts +25 -0
  387. package/src/api/api-schemas/eventStreamDetail.ts +25 -0
  388. package/src/api/api-schemas/eventStreamGetPostResponse.fetch.ts +1 -1
  389. package/src/api/api-schemas/eventStreamGetPostResponse.ts +1 -1
  390. package/src/api/api-schemas/eventStreamPostBodyBody.fetch.ts +1 -1
  391. package/src/api/api-schemas/eventStreamPostBodyBody.ts +1 -1
  392. package/src/api/api-schemas/eventStreamPostBodyBodyFormat.fetch.ts +1 -1
  393. package/src/api/api-schemas/eventStreamPostBodyBodyFormat.ts +1 -1
  394. package/src/api/api-schemas/eventStreamVersionGetResponse.fetch.ts +1 -1
  395. package/src/api/api-schemas/eventStreamVersionGetResponse.ts +1 -1
  396. package/src/api/api-schemas/eventStreamVersionGetResponseProtocol.fetch.ts +1 -1
  397. package/src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts +1 -1
  398. package/src/api/api-schemas/eventStreamsGetResponse.fetch.ts +16 -0
  399. package/src/api/api-schemas/eventStreamsGetResponse.ts +16 -0
  400. package/src/api/api-schemas/getActionsParams.fetch.ts +1 -1
  401. package/src/api/api-schemas/getActionsParams.ts +1 -1
  402. package/src/api/api-schemas/getAllCapabilitiesParams.fetch.ts +1 -1
  403. package/src/api/api-schemas/getAllCapabilitiesParams.ts +1 -1
  404. package/src/api/api-schemas/getAssetParams.fetch.ts +1 -1
  405. package/src/api/api-schemas/getAssetParams.ts +1 -1
  406. package/src/api/api-schemas/getChargesParams.fetch.ts +1 -1
  407. package/src/api/api-schemas/getChargesParams.ts +1 -1
  408. package/src/api/api-schemas/getIncidentsParams.fetch.ts +1 -1
  409. package/src/api/api-schemas/getIncidentsParams.ts +1 -1
  410. package/src/api/api-schemas/getNotificationsParams.fetch.ts +1 -1
  411. package/src/api/api-schemas/getNotificationsParams.ts +1 -1
  412. package/src/api/api-schemas/getOrganisationChargesParams.fetch.ts +1 -1
  413. package/src/api/api-schemas/getOrganisationChargesParams.ts +1 -1
  414. package/src/api/api-schemas/getOrganisationsParams.fetch.ts +1 -1
  415. package/src/api/api-schemas/getOrganisationsParams.ts +1 -1
  416. package/src/api/api-schemas/getProductChargesParams.fetch.ts +1 -1
  417. package/src/api/api-schemas/getProductChargesParams.ts +1 -1
  418. package/src/api/api-schemas/getUnitChargesParams.fetch.ts +1 -1
  419. package/src/api/api-schemas/getUnitChargesParams.ts +1 -1
  420. package/src/api/api-schemas/getUnitsParams.fetch.ts +1 -1
  421. package/src/api/api-schemas/getUnitsParams.ts +1 -1
  422. package/src/api/api-schemas/incidentDetail.fetch.ts +1 -1
  423. package/src/api/api-schemas/incidentDetail.ts +1 -1
  424. package/src/api/api-schemas/incidentDetailScope.fetch.ts +1 -1
  425. package/src/api/api-schemas/incidentDetailScope.ts +1 -1
  426. package/src/api/api-schemas/incidentKindDetail.fetch.ts +1 -1
  427. package/src/api/api-schemas/incidentKindDetail.ts +1 -1
  428. package/src/api/api-schemas/incidentKindsGetResponse.fetch.ts +1 -1
  429. package/src/api/api-schemas/incidentKindsGetResponse.ts +1 -1
  430. package/src/api/api-schemas/incidentsGetResponse.fetch.ts +1 -1
  431. package/src/api/api-schemas/incidentsGetResponse.ts +1 -1
  432. package/src/api/api-schemas/index.ts +3 -1
  433. package/src/api/api-schemas/merchantDetail.fetch.ts +1 -1
  434. package/src/api/api-schemas/merchantDetail.ts +1 -1
  435. package/src/api/api-schemas/merchantDetailKind.fetch.ts +1 -1
  436. package/src/api/api-schemas/merchantDetailKind.ts +1 -1
  437. package/src/api/api-schemas/merchantGetResponse.fetch.ts +1 -1
  438. package/src/api/api-schemas/merchantGetResponse.ts +1 -1
  439. package/src/api/api-schemas/merchantSummary.fetch.ts +1 -1
  440. package/src/api/api-schemas/merchantSummary.ts +1 -1
  441. package/src/api/api-schemas/merchantSummaryKind.fetch.ts +1 -1
  442. package/src/api/api-schemas/merchantSummaryKind.ts +1 -1
  443. package/src/api/api-schemas/merchantsGetResponse.fetch.ts +1 -1
  444. package/src/api/api-schemas/merchantsGetResponse.ts +1 -1
  445. package/src/api/api-schemas/notificationDetail.fetch.ts +1 -1
  446. package/src/api/api-schemas/notificationDetail.ts +1 -1
  447. package/src/api/api-schemas/notificationDetailState.fetch.ts +1 -1
  448. package/src/api/api-schemas/notificationDetailState.ts +1 -1
  449. package/src/api/api-schemas/notificationPreferenceDetail.fetch.ts +1 -1
  450. package/src/api/api-schemas/notificationPreferenceDetail.ts +1 -1
  451. package/src/api/api-schemas/notificationPreferencesGetResponse.fetch.ts +1 -1
  452. package/src/api/api-schemas/notificationPreferencesGetResponse.ts +1 -1
  453. package/src/api/api-schemas/notificationsGetResponse.fetch.ts +1 -1
  454. package/src/api/api-schemas/notificationsGetResponse.ts +1 -1
  455. package/src/api/api-schemas/organisationAllDetail.fetch.ts +1 -1
  456. package/src/api/api-schemas/organisationAllDetail.ts +1 -1
  457. package/src/api/api-schemas/organisationAllDetailDefaultProductPrivacy.fetch.ts +1 -1
  458. package/src/api/api-schemas/organisationAllDetailDefaultProductPrivacy.ts +1 -1
  459. package/src/api/api-schemas/organisationCapabilities.fetch.ts +1 -1
  460. package/src/api/api-schemas/organisationCapabilities.ts +1 -1
  461. package/src/api/api-schemas/organisationChargeSummary.fetch.ts +1 -1
  462. package/src/api/api-schemas/organisationChargeSummary.ts +1 -1
  463. package/src/api/api-schemas/organisationChargesGetResponse.fetch.ts +1 -1
  464. package/src/api/api-schemas/organisationChargesGetResponse.ts +1 -1
  465. package/src/api/api-schemas/organisationDetail.fetch.ts +1 -1
  466. package/src/api/api-schemas/organisationDetail.ts +1 -1
  467. package/src/api/api-schemas/organisationDetailDefaultProductPrivacy.fetch.ts +1 -1
  468. package/src/api/api-schemas/organisationDetailDefaultProductPrivacy.ts +1 -1
  469. package/src/api/api-schemas/organisationGetDefaultResponse.fetch.ts +1 -1
  470. package/src/api/api-schemas/organisationGetDefaultResponse.ts +1 -1
  471. package/src/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.fetch.ts +1 -1
  472. package/src/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.ts +1 -1
  473. package/src/api/api-schemas/organisationGetResponse.fetch.ts +1 -1
  474. package/src/api/api-schemas/organisationGetResponse.ts +1 -1
  475. package/src/api/api-schemas/organisationPatchBodyBody.fetch.ts +1 -1
  476. package/src/api/api-schemas/organisationPatchBodyBody.ts +1 -1
  477. package/src/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
  478. package/src/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.ts +1 -1
  479. package/src/api/api-schemas/organisationPostBodyBody.fetch.ts +1 -1
  480. package/src/api/api-schemas/organisationPostBodyBody.ts +1 -1
  481. package/src/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
  482. package/src/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.ts +1 -1
  483. package/src/api/api-schemas/organisationPostResponse.fetch.ts +1 -1
  484. package/src/api/api-schemas/organisationPostResponse.ts +1 -1
  485. package/src/api/api-schemas/organisationUnitChargeSummary.fetch.ts +1 -1
  486. package/src/api/api-schemas/organisationUnitChargeSummary.ts +1 -1
  487. package/src/api/api-schemas/organisationUnitPostBodyBody.fetch.ts +1 -1
  488. package/src/api/api-schemas/organisationUnitPostBodyBody.ts +1 -1
  489. package/src/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
  490. package/src/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.ts +1 -1
  491. package/src/api/api-schemas/organisationUnitPostResponse.fetch.ts +1 -1
  492. package/src/api/api-schemas/organisationUnitPostResponse.ts +1 -1
  493. package/src/api/api-schemas/organisationUnitsGetResponse.fetch.ts +1 -1
  494. package/src/api/api-schemas/organisationUnitsGetResponse.ts +1 -1
  495. package/src/api/api-schemas/organisationsGetResponse.fetch.ts +1 -1
  496. package/src/api/api-schemas/organisationsGetResponse.ts +1 -1
  497. package/src/api/api-schemas/personalUnitPutBodyBody.fetch.ts +1 -1
  498. package/src/api/api-schemas/personalUnitPutBodyBody.ts +1 -1
  499. package/src/api/api-schemas/personalUnitPutResponse.fetch.ts +1 -1
  500. package/src/api/api-schemas/personalUnitPutResponse.ts +1 -1
  501. package/src/api/api-schemas/processingChargeItem.fetch.ts +1 -1
  502. package/src/api/api-schemas/processingChargeItem.ts +1 -1
  503. package/src/api/api-schemas/processingCharges.fetch.ts +1 -1
  504. package/src/api/api-schemas/processingCharges.ts +1 -1
  505. package/src/api/api-schemas/processingChargesMerchantKind.fetch.ts +1 -1
  506. package/src/api/api-schemas/processingChargesMerchantKind.ts +1 -1
  507. package/src/api/api-schemas/productChargesGetResponse.fetch.ts +1 -1
  508. package/src/api/api-schemas/productChargesGetResponse.ts +1 -1
  509. package/src/api/api-schemas/productChargesGetResponseProductType.fetch.ts +1 -1
  510. package/src/api/api-schemas/productChargesGetResponseProductType.ts +1 -1
  511. package/src/api/api-schemas/productClaimDetail.fetch.ts +1 -1
  512. package/src/api/api-schemas/productClaimDetail.ts +1 -1
  513. package/src/api/api-schemas/productCoinsDetail.fetch.ts +1 -1
  514. package/src/api/api-schemas/productCoinsDetail.ts +1 -1
  515. package/src/api/api-schemas/productDetail.fetch.ts +1 -1
  516. package/src/api/api-schemas/productDetail.ts +1 -1
  517. package/src/api/api-schemas/productDetailFlavour.fetch.ts +1 -1
  518. package/src/api/api-schemas/productDetailFlavour.ts +1 -1
  519. package/src/api/api-schemas/productDetailType.fetch.ts +1 -1
  520. package/src/api/api-schemas/productDetailType.ts +1 -1
  521. package/src/api/api-schemas/productDmProjectTier.fetch.ts +1 -1
  522. package/src/api/api-schemas/productDmProjectTier.ts +1 -1
  523. package/src/api/api-schemas/productDmStorage.fetch.ts +1 -1
  524. package/src/api/api-schemas/productDmStorage.ts +1 -1
  525. package/src/api/api-schemas/productDmStorageDetail.fetch.ts +1 -1
  526. package/src/api/api-schemas/productDmStorageDetail.ts +1 -1
  527. package/src/api/api-schemas/productDmStorageDetailCoins.fetch.ts +1 -1
  528. package/src/api/api-schemas/productDmStorageDetailCoins.ts +1 -1
  529. package/src/api/api-schemas/productDmStorageDetailSize.fetch.ts +1 -1
  530. package/src/api/api-schemas/productDmStorageDetailSize.ts +1 -1
  531. package/src/api/api-schemas/productInstanceDetail.fetch.ts +1 -1
  532. package/src/api/api-schemas/productInstanceDetail.ts +1 -1
  533. package/src/api/api-schemas/productInstanceDetailCoins.fetch.ts +1 -1
  534. package/src/api/api-schemas/productInstanceDetailCoins.ts +1 -1
  535. package/src/api/api-schemas/productPatchBodyBody.fetch.ts +1 -1
  536. package/src/api/api-schemas/productPatchBodyBody.ts +1 -1
  537. package/src/api/api-schemas/productType.fetch.ts +1 -1
  538. package/src/api/api-schemas/productType.ts +1 -1
  539. package/src/api/api-schemas/productTypeServiceKind.fetch.ts +1 -1
  540. package/src/api/api-schemas/productTypeServiceKind.ts +1 -1
  541. package/src/api/api-schemas/productUnitGetResponse.fetch.ts +1 -1
  542. package/src/api/api-schemas/productUnitGetResponse.ts +1 -1
  543. package/src/api/api-schemas/productsGetDefaultStorageCost.fetch.ts +1 -1
  544. package/src/api/api-schemas/productsGetDefaultStorageCost.ts +1 -1
  545. package/src/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.fetch.ts +1 -1
  546. package/src/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.ts +1 -1
  547. package/src/api/api-schemas/productsGetResponse.fetch.ts +1 -1
  548. package/src/api/api-schemas/productsGetResponse.ts +1 -1
  549. package/src/api/api-schemas/productsGetTypesResponse.fetch.ts +1 -1
  550. package/src/api/api-schemas/productsGetTypesResponse.ts +1 -1
  551. package/src/api/api-schemas/qAssetScopeParameter.fetch.ts +1 -1
  552. package/src/api/api-schemas/qAssetScopeParameter.ts +1 -1
  553. package/src/api/api-schemas/qCapabilityParameter.fetch.ts +1 -1
  554. package/src/api/api-schemas/qCapabilityParameter.ts +1 -1
  555. package/src/api/api-schemas/qCreatedFromParameter.fetch.ts +1 -1
  556. package/src/api/api-schemas/qCreatedFromParameter.ts +1 -1
  557. package/src/api/api-schemas/qCreatedUntilParameter.fetch.ts +1 -1
  558. package/src/api/api-schemas/qCreatedUntilParameter.ts +1 -1
  559. package/src/api/api-schemas/qForceParameter.fetch.ts +1 -1
  560. package/src/api/api-schemas/qForceParameter.ts +1 -1
  561. package/src/api/api-schemas/qFormatParameter.fetch.ts +1 -1
  562. package/src/api/api-schemas/qFormatParameter.ts +1 -1
  563. package/src/api/api-schemas/qFromParameter.fetch.ts +1 -1
  564. package/src/api/api-schemas/qFromParameter.ts +1 -1
  565. package/src/api/api-schemas/qIncidentKindParameter.fetch.ts +1 -1
  566. package/src/api/api-schemas/qIncidentKindParameter.ts +1 -1
  567. package/src/api/api-schemas/qMIdParameter.fetch.ts +1 -1
  568. package/src/api/api-schemas/qMIdParameter.ts +1 -1
  569. package/src/api/api-schemas/qNameParameter.fetch.ts +1 -1
  570. package/src/api/api-schemas/qNameParameter.ts +1 -1
  571. package/src/api/api-schemas/qNotificationStateParameter.fetch.ts +1 -1
  572. package/src/api/api-schemas/qNotificationStateParameter.ts +1 -1
  573. package/src/api/api-schemas/qOrgIdParameter.fetch.ts +1 -1
  574. package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
  575. package/src/api/api-schemas/qPbpParameter.fetch.ts +1 -1
  576. package/src/api/api-schemas/qPbpParameter.ts +1 -1
  577. package/src/api/api-schemas/qProductIdParameter.fetch.ts +1 -1
  578. package/src/api/api-schemas/qProductIdParameter.ts +1 -1
  579. package/src/api/api-schemas/qRelayParameter.fetch.ts +1 -1
  580. package/src/api/api-schemas/qRelayParameter.ts +1 -1
  581. package/src/api/api-schemas/qUnitIdParameter.fetch.ts +1 -1
  582. package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
  583. package/src/api/api-schemas/qUntilParameter.fetch.ts +1 -1
  584. package/src/api/api-schemas/qUntilParameter.ts +1 -1
  585. package/src/api/api-schemas/qUserIdParameter.fetch.ts +1 -1
  586. package/src/api/api-schemas/qUserIdParameter.ts +1 -1
  587. package/src/api/api-schemas/relayDetail.fetch.ts +1 -1
  588. package/src/api/api-schemas/relayDetail.ts +1 -1
  589. package/src/api/api-schemas/relaysGetResponse.fetch.ts +1 -1
  590. package/src/api/api-schemas/relaysGetResponse.ts +1 -1
  591. package/src/api/api-schemas/stateGetVersionResponse.fetch.ts +1 -1
  592. package/src/api/api-schemas/stateGetVersionResponse.ts +1 -1
  593. package/src/api/api-schemas/storageChargeItem.fetch.ts +1 -1
  594. package/src/api/api-schemas/storageChargeItem.ts +1 -1
  595. package/src/api/api-schemas/storageCharges.fetch.ts +1 -1
  596. package/src/api/api-schemas/storageCharges.ts +1 -1
  597. package/src/api/api-schemas/unitAllDetail.fetch.ts +1 -1
  598. package/src/api/api-schemas/unitAllDetail.ts +1 -1
  599. package/src/api/api-schemas/unitAllDetailDefaultProductPrivacy.fetch.ts +1 -1
  600. package/src/api/api-schemas/unitAllDetailDefaultProductPrivacy.ts +1 -1
  601. package/src/api/api-schemas/unitChargeSummary.fetch.ts +1 -1
  602. package/src/api/api-schemas/unitChargeSummary.ts +1 -1
  603. package/src/api/api-schemas/unitChargesGetResponse.fetch.ts +1 -1
  604. package/src/api/api-schemas/unitChargesGetResponse.ts +1 -1
  605. package/src/api/api-schemas/unitDetail.fetch.ts +1 -1
  606. package/src/api/api-schemas/unitDetail.ts +1 -1
  607. package/src/api/api-schemas/unitDetailDefaultProductPrivacy.fetch.ts +1 -1
  608. package/src/api/api-schemas/unitDetailDefaultProductPrivacy.ts +1 -1
  609. package/src/api/api-schemas/unitGetResponse.fetch.ts +1 -1
  610. package/src/api/api-schemas/unitGetResponse.ts +1 -1
  611. package/src/api/api-schemas/unitPatchBodyBody.fetch.ts +1 -1
  612. package/src/api/api-schemas/unitPatchBodyBody.ts +1 -1
  613. package/src/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
  614. package/src/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.ts +1 -1
  615. package/src/api/api-schemas/unitProductChargeSummary.fetch.ts +1 -1
  616. package/src/api/api-schemas/unitProductChargeSummary.ts +1 -1
  617. package/src/api/api-schemas/unitProductPostBodyBody.fetch.ts +1 -1
  618. package/src/api/api-schemas/unitProductPostBodyBody.ts +1 -1
  619. package/src/api/api-schemas/unitProductPostBodyBodyFlavour.fetch.ts +1 -1
  620. package/src/api/api-schemas/unitProductPostBodyBodyFlavour.ts +1 -1
  621. package/src/api/api-schemas/unitProductPostBodyBodyType.fetch.ts +1 -1
  622. package/src/api/api-schemas/unitProductPostBodyBodyType.ts +1 -1
  623. package/src/api/api-schemas/unitProductPostResponse.fetch.ts +1 -1
  624. package/src/api/api-schemas/unitProductPostResponse.ts +1 -1
  625. package/src/api/api-schemas/unitsGetResponse.fetch.ts +1 -1
  626. package/src/api/api-schemas/unitsGetResponse.ts +1 -1
  627. package/src/api/api-schemas/userAccountDetail.fetch.ts +1 -1
  628. package/src/api/api-schemas/userAccountDetail.ts +1 -1
  629. package/src/api/api-schemas/userAccountGetResponse.fetch.ts +1 -1
  630. package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
  631. package/src/api/api-schemas/userDetail.fetch.ts +1 -1
  632. package/src/api/api-schemas/userDetail.ts +1 -1
  633. package/src/api/api-schemas/usersGetResponse.fetch.ts +1 -1
  634. package/src/api/api-schemas/usersGetResponse.ts +1 -1
  635. package/src/api/asset/asset.fetch.ts +1 -1
  636. package/src/api/asset/asset.ts +1 -1
  637. package/src/api/capabilities/capabilities.fetch.ts +1 -1
  638. package/src/api/capabilities/capabilities.ts +1 -1
  639. package/src/api/charges/charges.fetch.ts +1 -1
  640. package/src/api/charges/charges.ts +1 -1
  641. package/src/api/event-stream/event-stream.fetch.ts +235 -4
  642. package/src/api/event-stream/event-stream.ts +220 -4
  643. package/src/api/merchant/merchant.fetch.ts +1 -1
  644. package/src/api/merchant/merchant.ts +1 -1
  645. package/src/api/notifications/notifications.fetch.ts +1 -1
  646. package/src/api/notifications/notifications.ts +1 -1
  647. package/src/api/organisation/organisation.fetch.ts +1 -1
  648. package/src/api/organisation/organisation.ts +1 -1
  649. package/src/api/product/product.fetch.ts +1 -1
  650. package/src/api/product/product.ts +1 -1
  651. package/src/api/state/state.fetch.ts +1 -1
  652. package/src/api/state/state.ts +1 -1
  653. package/src/api/unit/unit.fetch.ts +1 -1
  654. package/src/api/unit/unit.ts +1 -1
  655. package/src/api/user/user.fetch.ts +1 -1
  656. package/src/api/user/user.ts +1 -1
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -32,6 +32,7 @@ import type {
32
32
  EventStreamGetPostResponse,
33
33
  EventStreamPostBodyBody,
34
34
  EventStreamVersionGetResponse,
35
+ EventStreamsGetResponse,
35
36
  } from "../api-schemas";
36
37
 
37
38
  import { customFetch } from "../../custom-fetch";
@@ -639,6 +640,236 @@ export const useCreateEventStream = <TError = ErrorType<AsError | void>, TContex
639
640
  > => {
640
641
  return useMutation(getCreateEventStreamMutationOptions(options), queryClient);
641
642
  };
643
+ export type getEventStreamsResponse200 = { data: EventStreamsGetResponse; status: 200 };
644
+
645
+ export type getEventStreamsResponse401 = { data: void; status: 401 };
646
+
647
+ export type getEventStreamsResponse403 = { data: AsError; status: 403 };
648
+
649
+ export type getEventStreamsResponseSuccess = getEventStreamsResponse200 & { headers: Headers };
650
+ export type getEventStreamsResponseError = (
651
+ | getEventStreamsResponse401
652
+ | getEventStreamsResponse403
653
+ ) & { headers: Headers };
654
+
655
+ export type getEventStreamsResponse = getEventStreamsResponseSuccess | getEventStreamsResponseError;
656
+
657
+ export const getGetEventStreamsUrl = () => {
658
+ return `/event-stream/list`;
659
+ };
660
+
661
+ /**
662
+ * Gets every event stream, oldest first, with the user that owns it. Use the `id` of an event stream to delete it.
663
+ *
664
+ * You need admin rights to use this path.
665
+ * @summary Gets every event stream
666
+ */
667
+ export const getEventStreams = async (options?: RequestInit): Promise<getEventStreamsResponse> => {
668
+ return customFetch<getEventStreamsResponse>(getGetEventStreamsUrl(), {
669
+ ...options,
670
+ method: "GET",
671
+ });
672
+ };
673
+
674
+ export const getGetEventStreamsQueryKey = () => {
675
+ return ["account-server", "event-stream", "list"] as const;
676
+ };
677
+
678
+ export const getGetEventStreamsQueryOptions = <
679
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
680
+ TError = ErrorType<void | AsError>,
681
+ >(options?: {
682
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
683
+ request?: SecondParameter<typeof customFetch>;
684
+ }) => {
685
+ const { query: queryOptions, request: requestOptions } = options ?? {};
686
+
687
+ const queryKey = queryOptions?.queryKey ?? getGetEventStreamsQueryKey();
688
+
689
+ const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreams>>> = ({ signal }) =>
690
+ getEventStreams({ signal, ...requestOptions });
691
+
692
+ return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
693
+ Awaited<ReturnType<typeof getEventStreams>>,
694
+ TError,
695
+ TData
696
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
697
+ };
698
+
699
+ export type GetEventStreamsQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreams>>>;
700
+ export type GetEventStreamsQueryError = ErrorType<void | AsError>;
701
+
702
+ export function useGetEventStreams<
703
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
704
+ TError = ErrorType<void | AsError>,
705
+ >(
706
+ options: {
707
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>> &
708
+ Pick<
709
+ DefinedInitialDataOptions<
710
+ Awaited<ReturnType<typeof getEventStreams>>,
711
+ TError,
712
+ Awaited<ReturnType<typeof getEventStreams>>
713
+ >,
714
+ "initialData"
715
+ >;
716
+ request?: SecondParameter<typeof customFetch>;
717
+ },
718
+ queryClient?: QueryClient,
719
+ ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
720
+ export function useGetEventStreams<
721
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
722
+ TError = ErrorType<void | AsError>,
723
+ >(
724
+ options?: {
725
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>> &
726
+ Pick<
727
+ UndefinedInitialDataOptions<
728
+ Awaited<ReturnType<typeof getEventStreams>>,
729
+ TError,
730
+ Awaited<ReturnType<typeof getEventStreams>>
731
+ >,
732
+ "initialData"
733
+ >;
734
+ request?: SecondParameter<typeof customFetch>;
735
+ },
736
+ queryClient?: QueryClient,
737
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
738
+ export function useGetEventStreams<
739
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
740
+ TError = ErrorType<void | AsError>,
741
+ >(
742
+ options?: {
743
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
744
+ request?: SecondParameter<typeof customFetch>;
745
+ },
746
+ queryClient?: QueryClient,
747
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
748
+ /**
749
+ * @summary Gets every event stream
750
+ */
751
+
752
+ export function useGetEventStreams<
753
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
754
+ TError = ErrorType<void | AsError>,
755
+ >(
756
+ options?: {
757
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
758
+ request?: SecondParameter<typeof customFetch>;
759
+ },
760
+ queryClient?: QueryClient,
761
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
762
+ const queryOptions = getGetEventStreamsQueryOptions(options);
763
+
764
+ const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
765
+ queryKey: DataTag<QueryKey, TData, TError>;
766
+ };
767
+
768
+ return withQueryKey(query, queryOptions.queryKey);
769
+ }
770
+
771
+ /**
772
+ * @summary Gets every event stream
773
+ */
774
+ export const invalidateGetEventStreams = async (
775
+ queryClient: QueryClient,
776
+ options?: InvalidateOptions,
777
+ ): Promise<QueryClient> => {
778
+ await queryClient.invalidateQueries({ queryKey: getGetEventStreamsQueryKey() }, options);
779
+
780
+ return queryClient;
781
+ };
782
+
783
+ export const getGetEventStreamsSuspenseQueryOptions = <
784
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
785
+ TError = ErrorType<void | AsError>,
786
+ >(options?: {
787
+ query?: Partial<
788
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
789
+ >;
790
+ request?: SecondParameter<typeof customFetch>;
791
+ }) => {
792
+ const { query: queryOptions, request: requestOptions } = options ?? {};
793
+
794
+ const queryKey = queryOptions?.queryKey ?? getGetEventStreamsQueryKey();
795
+
796
+ const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreams>>> = ({ signal }) =>
797
+ getEventStreams({ signal, ...requestOptions });
798
+
799
+ return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<
800
+ Awaited<ReturnType<typeof getEventStreams>>,
801
+ TError,
802
+ TData
803
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
804
+ };
805
+
806
+ export type GetEventStreamsSuspenseQueryResult = NonNullable<
807
+ Awaited<ReturnType<typeof getEventStreams>>
808
+ >;
809
+ export type GetEventStreamsSuspenseQueryError = ErrorType<void | AsError>;
810
+
811
+ export function useGetEventStreamsSuspense<
812
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
813
+ TError = ErrorType<void | AsError>,
814
+ >(
815
+ options: {
816
+ query: Partial<
817
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
818
+ >;
819
+ request?: SecondParameter<typeof customFetch>;
820
+ },
821
+ queryClient?: QueryClient,
822
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
823
+ export function useGetEventStreamsSuspense<
824
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
825
+ TError = ErrorType<void | AsError>,
826
+ >(
827
+ options?: {
828
+ query?: Partial<
829
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
830
+ >;
831
+ request?: SecondParameter<typeof customFetch>;
832
+ },
833
+ queryClient?: QueryClient,
834
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
835
+ export function useGetEventStreamsSuspense<
836
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
837
+ TError = ErrorType<void | AsError>,
838
+ >(
839
+ options?: {
840
+ query?: Partial<
841
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
842
+ >;
843
+ request?: SecondParameter<typeof customFetch>;
844
+ },
845
+ queryClient?: QueryClient,
846
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
847
+ /**
848
+ * @summary Gets every event stream
849
+ */
850
+
851
+ export function useGetEventStreamsSuspense<
852
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
853
+ TError = ErrorType<void | AsError>,
854
+ >(
855
+ options?: {
856
+ query?: Partial<
857
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
858
+ >;
859
+ request?: SecondParameter<typeof customFetch>;
860
+ },
861
+ queryClient?: QueryClient,
862
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
863
+ const queryOptions = getGetEventStreamsSuspenseQueryOptions(options);
864
+
865
+ const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
866
+ TData,
867
+ TError
868
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
869
+
870
+ return withQueryKey(query, queryOptions.queryKey);
871
+ }
872
+
642
873
  export type deleteEventStreamResponse204 = { data: void; status: 204 };
643
874
 
644
875
  export type deleteEventStreamResponse401 = { data: void; status: 401 };
@@ -663,8 +894,8 @@ export const getDeleteEventStreamUrl = (eventStreamId: number) => {
663
894
  };
664
895
 
665
896
  /**
666
- * You must be the user who created the event stream.
667
- * @summary Deletes an existing event stream (that you created)
897
+ * You must be the user who created the event stream, or a user with admin rights.
898
+ * @summary Deletes an existing event stream
668
899
  */
669
900
  export const deleteEventStream = async (
670
901
  eventStreamId: number,
@@ -719,7 +950,7 @@ export type DeleteEventStreamMutationResult = NonNullable<
719
950
  export type DeleteEventStreamMutationError = ErrorType<void | AsError>;
720
951
 
721
952
  /**
722
- * @summary Deletes an existing event stream (that you created)
953
+ * @summary Deletes an existing event stream
723
954
  */
724
955
  export const useDeleteEventStream = <TError = ErrorType<void | AsError>, TContext = unknown>(
725
956
  options?: {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -32,6 +32,7 @@ import type {
32
32
  EventStreamGetPostResponse,
33
33
  EventStreamPostBodyBody,
34
34
  EventStreamVersionGetResponse,
35
+ EventStreamsGetResponse,
35
36
  } from "../api-schemas";
36
37
 
37
38
  import { customInstance } from "../../custom-axios";
@@ -586,8 +587,223 @@ export const useCreateEventStream = <TError = ErrorType<AsError | void>, TContex
586
587
  return useMutation(getCreateEventStreamMutationOptions(options), queryClient);
587
588
  };
588
589
  /**
589
- * You must be the user who created the event stream.
590
- * @summary Deletes an existing event stream (that you created)
590
+ * Gets every event stream, oldest first, with the user that owns it. Use the `id` of an event stream to delete it.
591
+ *
592
+ * You need admin rights to use this path.
593
+ * @summary Gets every event stream
594
+ */
595
+ export const getEventStreams = (
596
+ options?: SecondParameter<typeof customInstance>,
597
+ signal?: AbortSignal,
598
+ ) => {
599
+ return customInstance<EventStreamsGetResponse>(
600
+ { url: `/event-stream/list`, method: "GET", signal },
601
+ options,
602
+ );
603
+ };
604
+
605
+ export const getGetEventStreamsQueryKey = () => {
606
+ return ["account-server", "event-stream", "list"] as const;
607
+ };
608
+
609
+ export const getGetEventStreamsQueryOptions = <
610
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
611
+ TError = ErrorType<void | AsError>,
612
+ >(options?: {
613
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
614
+ request?: SecondParameter<typeof customInstance>;
615
+ }) => {
616
+ const { query: queryOptions, request: requestOptions } = options ?? {};
617
+
618
+ const queryKey = queryOptions?.queryKey ?? getGetEventStreamsQueryKey();
619
+
620
+ const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreams>>> = ({ signal }) =>
621
+ getEventStreams(requestOptions, signal);
622
+
623
+ return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
624
+ Awaited<ReturnType<typeof getEventStreams>>,
625
+ TError,
626
+ TData
627
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
628
+ };
629
+
630
+ export type GetEventStreamsQueryResult = NonNullable<Awaited<ReturnType<typeof getEventStreams>>>;
631
+ export type GetEventStreamsQueryError = ErrorType<void | AsError>;
632
+
633
+ export function useGetEventStreams<
634
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
635
+ TError = ErrorType<void | AsError>,
636
+ >(
637
+ options: {
638
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>> &
639
+ Pick<
640
+ DefinedInitialDataOptions<
641
+ Awaited<ReturnType<typeof getEventStreams>>,
642
+ TError,
643
+ Awaited<ReturnType<typeof getEventStreams>>
644
+ >,
645
+ "initialData"
646
+ >;
647
+ request?: SecondParameter<typeof customInstance>;
648
+ },
649
+ queryClient?: QueryClient,
650
+ ): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
651
+ export function useGetEventStreams<
652
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
653
+ TError = ErrorType<void | AsError>,
654
+ >(
655
+ options?: {
656
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>> &
657
+ Pick<
658
+ UndefinedInitialDataOptions<
659
+ Awaited<ReturnType<typeof getEventStreams>>,
660
+ TError,
661
+ Awaited<ReturnType<typeof getEventStreams>>
662
+ >,
663
+ "initialData"
664
+ >;
665
+ request?: SecondParameter<typeof customInstance>;
666
+ },
667
+ queryClient?: QueryClient,
668
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
669
+ export function useGetEventStreams<
670
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
671
+ TError = ErrorType<void | AsError>,
672
+ >(
673
+ options?: {
674
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
675
+ request?: SecondParameter<typeof customInstance>;
676
+ },
677
+ queryClient?: QueryClient,
678
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
679
+ /**
680
+ * @summary Gets every event stream
681
+ */
682
+
683
+ export function useGetEventStreams<
684
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
685
+ TError = ErrorType<void | AsError>,
686
+ >(
687
+ options?: {
688
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>>;
689
+ request?: SecondParameter<typeof customInstance>;
690
+ },
691
+ queryClient?: QueryClient,
692
+ ): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
693
+ const queryOptions = getGetEventStreamsQueryOptions(options);
694
+
695
+ const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
696
+ queryKey: DataTag<QueryKey, TData, TError>;
697
+ };
698
+
699
+ return withQueryKey(query, queryOptions.queryKey);
700
+ }
701
+
702
+ /**
703
+ * @summary Gets every event stream
704
+ */
705
+ export const invalidateGetEventStreams = async (
706
+ queryClient: QueryClient,
707
+ options?: InvalidateOptions,
708
+ ): Promise<QueryClient> => {
709
+ await queryClient.invalidateQueries({ queryKey: getGetEventStreamsQueryKey() }, options);
710
+
711
+ return queryClient;
712
+ };
713
+
714
+ export const getGetEventStreamsSuspenseQueryOptions = <
715
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
716
+ TError = ErrorType<void | AsError>,
717
+ >(options?: {
718
+ query?: Partial<
719
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
720
+ >;
721
+ request?: SecondParameter<typeof customInstance>;
722
+ }) => {
723
+ const { query: queryOptions, request: requestOptions } = options ?? {};
724
+
725
+ const queryKey = queryOptions?.queryKey ?? getGetEventStreamsQueryKey();
726
+
727
+ const queryFn: QueryFunction<Awaited<ReturnType<typeof getEventStreams>>> = ({ signal }) =>
728
+ getEventStreams(requestOptions, signal);
729
+
730
+ return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<
731
+ Awaited<ReturnType<typeof getEventStreams>>,
732
+ TError,
733
+ TData
734
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
735
+ };
736
+
737
+ export type GetEventStreamsSuspenseQueryResult = NonNullable<
738
+ Awaited<ReturnType<typeof getEventStreams>>
739
+ >;
740
+ export type GetEventStreamsSuspenseQueryError = ErrorType<void | AsError>;
741
+
742
+ export function useGetEventStreamsSuspense<
743
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
744
+ TError = ErrorType<void | AsError>,
745
+ >(
746
+ options: {
747
+ query: Partial<
748
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
749
+ >;
750
+ request?: SecondParameter<typeof customInstance>;
751
+ },
752
+ queryClient?: QueryClient,
753
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
754
+ export function useGetEventStreamsSuspense<
755
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
756
+ TError = ErrorType<void | AsError>,
757
+ >(
758
+ options?: {
759
+ query?: Partial<
760
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
761
+ >;
762
+ request?: SecondParameter<typeof customInstance>;
763
+ },
764
+ queryClient?: QueryClient,
765
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
766
+ export function useGetEventStreamsSuspense<
767
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
768
+ TError = ErrorType<void | AsError>,
769
+ >(
770
+ options?: {
771
+ query?: Partial<
772
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
773
+ >;
774
+ request?: SecondParameter<typeof customInstance>;
775
+ },
776
+ queryClient?: QueryClient,
777
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
778
+ /**
779
+ * @summary Gets every event stream
780
+ */
781
+
782
+ export function useGetEventStreamsSuspense<
783
+ TData = Awaited<ReturnType<typeof getEventStreams>>,
784
+ TError = ErrorType<void | AsError>,
785
+ >(
786
+ options?: {
787
+ query?: Partial<
788
+ UseSuspenseQueryOptions<Awaited<ReturnType<typeof getEventStreams>>, TError, TData>
789
+ >;
790
+ request?: SecondParameter<typeof customInstance>;
791
+ },
792
+ queryClient?: QueryClient,
793
+ ): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
794
+ const queryOptions = getGetEventStreamsSuspenseQueryOptions(options);
795
+
796
+ const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
797
+ TData,
798
+ TError
799
+ > & { queryKey: DataTag<QueryKey, TData, TError> };
800
+
801
+ return withQueryKey(query, queryOptions.queryKey);
802
+ }
803
+
804
+ /**
805
+ * You must be the user who created the event stream, or a user with admin rights.
806
+ * @summary Deletes an existing event stream
591
807
  */
592
808
  export const deleteEventStream = (
593
809
  eventStreamId: number,
@@ -643,7 +859,7 @@ export type DeleteEventStreamMutationResult = NonNullable<
643
859
  export type DeleteEventStreamMutationError = ErrorType<void | AsError>;
644
860
 
645
861
  /**
646
- * @summary Deletes an existing event stream (that you created)
862
+ * @summary Deletes an existing event stream
647
863
  */
648
864
  export const useDeleteEventStream = <TError = ErrorType<void | AsError>, TContext = unknown>(
649
865
  options?: {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
8
8
  *
9
- * OpenAPI spec version: 4.14
9
+ * OpenAPI spec version: 4.16
10
10
  */
11
11
  import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
12
12
  import type {