@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.
- package/dist/api/actions/actions.cjs +1 -1
- package/dist/api/actions/actions.cjs.map +1 -1
- package/dist/api/actions/actions.fetch.cjs +1 -1
- package/dist/api/actions/actions.fetch.cjs.map +1 -1
- package/dist/api/actions/actions.fetch.js +1 -1
- package/dist/api/actions/actions.fetch.js.map +1 -1
- package/dist/api/actions/actions.js +1 -1
- package/dist/api/actions/actions.js.map +1 -1
- package/dist/api/api-schemas/asError.d.cts +1 -1
- package/dist/api/api-schemas/asError.d.ts +1 -1
- package/dist/api/api-schemas/assetDetailScope.cjs.map +1 -1
- package/dist/api/api-schemas/assetDetailScope.d.cts +1 -1
- package/dist/api/api-schemas/assetDetailScope.d.ts +1 -1
- package/dist/api/api-schemas/assetDetailScope.js.map +1 -1
- package/dist/api/api-schemas/assetPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/assetPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.cjs.map +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.d.cts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.d.ts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.js.map +1 -1
- package/dist/api/api-schemas/assetPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/assetPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.cjs.map +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.d.cts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.d.ts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.js.map +1 -1
- package/dist/api/api-schemas/capabilityDetailSpec.d.cts +1 -1
- package/dist/api/api-schemas/capabilityDetailSpec.d.ts +1 -1
- package/dist/api/api-schemas/capabilityPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/capabilityPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/capabilityPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/capabilityPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/capabilityUpdateBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/capabilityUpdateBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/chargeAdditionalData.d.cts +1 -1
- package/dist/api/api-schemas/chargeAdditionalData.d.ts +1 -1
- package/dist/api/api-schemas/chargeSummaryType.cjs.map +1 -1
- package/dist/api/api-schemas/chargeSummaryType.d.cts +1 -1
- package/dist/api/api-schemas/chargeSummaryType.d.ts +1 -1
- package/dist/api/api-schemas/chargeSummaryType.js.map +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.cjs.map +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.cts +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.ts +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.js.map +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.cts +1 -1
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.ts +1 -1
- package/dist/api/api-schemas/eventStreamDetail.d.cts +28 -0
- package/dist/api/api-schemas/eventStreamDetail.d.cts.map +1 -0
- package/dist/api/api-schemas/eventStreamDetail.d.ts +28 -0
- package/dist/api/api-schemas/eventStreamDetail.d.ts.map +1 -0
- package/dist/api/api-schemas/eventStreamGetPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/eventStreamGetPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.cjs.map +1 -1
- package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.cts +1 -1
- package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.d.ts +1 -1
- package/dist/api/api-schemas/eventStreamPostBodyBodyFormat.js.map +1 -1
- package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.cjs.map +1 -1
- package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.cts +1 -1
- package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.d.ts +1 -1
- package/dist/api/api-schemas/eventStreamVersionGetResponseProtocol.js.map +1 -1
- package/dist/api/api-schemas/eventStreamsGetResponse.d.cts +10 -0
- package/dist/api/api-schemas/eventStreamsGetResponse.d.cts.map +1 -0
- package/dist/api/api-schemas/eventStreamsGetResponse.d.ts +10 -0
- package/dist/api/api-schemas/eventStreamsGetResponse.d.ts.map +1 -0
- package/dist/api/api-schemas/incidentDetailScope.cjs.map +1 -1
- package/dist/api/api-schemas/incidentDetailScope.d.cts +1 -1
- package/dist/api/api-schemas/incidentDetailScope.d.ts +1 -1
- package/dist/api/api-schemas/incidentDetailScope.js.map +1 -1
- package/dist/api/api-schemas/incidentKindDetail.d.cts +1 -1
- package/dist/api/api-schemas/incidentKindDetail.d.ts +1 -1
- package/dist/api/api-schemas/merchantDetailKind.cjs.map +1 -1
- package/dist/api/api-schemas/merchantDetailKind.d.cts +1 -1
- package/dist/api/api-schemas/merchantDetailKind.d.ts +1 -1
- package/dist/api/api-schemas/merchantDetailKind.js.map +1 -1
- package/dist/api/api-schemas/merchantSummaryKind.cjs.map +1 -1
- package/dist/api/api-schemas/merchantSummaryKind.d.cts +1 -1
- package/dist/api/api-schemas/merchantSummaryKind.d.ts +1 -1
- package/dist/api/api-schemas/merchantSummaryKind.js.map +1 -1
- package/dist/api/api-schemas/notificationDetailState.cjs.map +1 -1
- package/dist/api/api-schemas/notificationDetailState.d.cts +1 -1
- package/dist/api/api-schemas/notificationDetailState.d.ts +1 -1
- package/dist/api/api-schemas/notificationDetailState.js.map +1 -1
- package/dist/api/api-schemas/notificationPreferenceDetail.d.cts +1 -1
- package/dist/api/api-schemas/notificationPreferenceDetail.d.ts +1 -1
- package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationAllDetailDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationDetailDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/organisationPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/organisationUnitPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/organisationUnitPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/personalUnitPutBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/personalUnitPutBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/personalUnitPutResponse.d.cts +1 -1
- package/dist/api/api-schemas/personalUnitPutResponse.d.ts +1 -1
- package/dist/api/api-schemas/processingChargesMerchantKind.cjs.map +1 -1
- package/dist/api/api-schemas/processingChargesMerchantKind.d.cts +1 -1
- package/dist/api/api-schemas/processingChargesMerchantKind.d.ts +1 -1
- package/dist/api/api-schemas/processingChargesMerchantKind.js.map +1 -1
- package/dist/api/api-schemas/productChargesGetResponseProductType.cjs.map +1 -1
- package/dist/api/api-schemas/productChargesGetResponseProductType.d.cts +1 -1
- package/dist/api/api-schemas/productChargesGetResponseProductType.d.ts +1 -1
- package/dist/api/api-schemas/productChargesGetResponseProductType.js.map +1 -1
- package/dist/api/api-schemas/productClaimDetail.d.cts +1 -1
- package/dist/api/api-schemas/productClaimDetail.d.ts +1 -1
- package/dist/api/api-schemas/productCoinsDetail.d.cts +1 -1
- package/dist/api/api-schemas/productCoinsDetail.d.ts +1 -1
- package/dist/api/api-schemas/productDetailFlavour.cjs.map +1 -1
- package/dist/api/api-schemas/productDetailFlavour.d.cts +1 -1
- package/dist/api/api-schemas/productDetailFlavour.d.ts +1 -1
- package/dist/api/api-schemas/productDetailFlavour.js.map +1 -1
- package/dist/api/api-schemas/productDetailType.cjs.map +1 -1
- package/dist/api/api-schemas/productDetailType.d.cts +1 -1
- package/dist/api/api-schemas/productDetailType.d.ts +1 -1
- package/dist/api/api-schemas/productDetailType.js.map +1 -1
- package/dist/api/api-schemas/productDmStorageDetailCoins.d.cts +1 -1
- package/dist/api/api-schemas/productDmStorageDetailCoins.d.ts +1 -1
- package/dist/api/api-schemas/productDmStorageDetailSize.d.cts +1 -1
- package/dist/api/api-schemas/productDmStorageDetailSize.d.ts +1 -1
- package/dist/api/api-schemas/productInstanceDetailCoins.d.cts +1 -1
- package/dist/api/api-schemas/productInstanceDetailCoins.d.ts +1 -1
- package/dist/api/api-schemas/productPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/productPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/productTypeServiceKind.cjs.map +1 -1
- package/dist/api/api-schemas/productTypeServiceKind.d.cts +1 -1
- package/dist/api/api-schemas/productTypeServiceKind.d.ts +1 -1
- package/dist/api/api-schemas/productTypeServiceKind.js.map +1 -1
- package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.cts +1 -1
- package/dist/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.d.ts +1 -1
- package/dist/api/api-schemas/qAssetScopeParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qAssetScopeParameter.d.cts +1 -1
- package/dist/api/api-schemas/qAssetScopeParameter.d.ts +1 -1
- package/dist/api/api-schemas/qAssetScopeParameter.js.map +1 -1
- package/dist/api/api-schemas/qCapabilityParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCapabilityParameter.d.ts +1 -1
- package/dist/api/api-schemas/qCreatedFromParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCreatedFromParameter.d.ts +1 -1
- package/dist/api/api-schemas/qCreatedUntilParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCreatedUntilParameter.d.ts +1 -1
- package/dist/api/api-schemas/qForceParameter.d.cts +1 -1
- package/dist/api/api-schemas/qForceParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFormatParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qFormatParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFormatParameter.d.ts +1 -1
- package/dist/api/api-schemas/qFormatParameter.js.map +1 -1
- package/dist/api/api-schemas/qFromParameter.d.cts +1 -1
- package/dist/api/api-schemas/qFromParameter.d.ts +1 -1
- package/dist/api/api-schemas/qIncidentKindParameter.d.cts +1 -1
- package/dist/api/api-schemas/qIncidentKindParameter.d.ts +1 -1
- package/dist/api/api-schemas/qMIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qMIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qNameParameter.d.cts +1 -1
- package/dist/api/api-schemas/qNameParameter.d.ts +1 -1
- package/dist/api/api-schemas/qNotificationStateParameter.cjs.map +1 -1
- package/dist/api/api-schemas/qNotificationStateParameter.d.cts +1 -1
- package/dist/api/api-schemas/qNotificationStateParameter.d.ts +1 -1
- package/dist/api/api-schemas/qNotificationStateParameter.js.map +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qOrgIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qPbpParameter.d.cts +1 -1
- package/dist/api/api-schemas/qPbpParameter.d.ts +1 -1
- package/dist/api/api-schemas/qProductIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qProductIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qRelayParameter.d.cts +1 -1
- package/dist/api/api-schemas/qRelayParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUnitIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUntilParameter.d.ts +1 -1
- package/dist/api/api-schemas/qUserIdParameter.d.cts +1 -1
- package/dist/api/api-schemas/qUserIdParameter.d.ts +1 -1
- package/dist/api/api-schemas/relayDetail.d.cts +1 -1
- package/dist/api/api-schemas/relayDetail.d.ts +1 -1
- package/dist/api/api-schemas/stateGetVersionResponse.d.cts +1 -1
- package/dist/api/api-schemas/stateGetVersionResponse.d.ts +1 -1
- package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/unitAllDetailDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/unitDetailDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.cjs.map +1 -1
- package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.cts +1 -1
- package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.d.ts +1 -1
- package/dist/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.js.map +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.cjs.map +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.cts +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.d.ts +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyFlavour.js.map +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyType.cjs.map +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyType.d.cts +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyType.d.ts +1 -1
- package/dist/api/api-schemas/unitProductPostBodyBodyType.js.map +1 -1
- package/dist/api/api-schemas/unitProductPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/unitProductPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/userDetail.d.cts +1 -1
- package/dist/api/api-schemas/userDetail.d.ts +1 -1
- package/dist/api/asset/asset.cjs +1 -1
- package/dist/api/asset/asset.cjs.map +1 -1
- package/dist/api/asset/asset.fetch.cjs +1 -1
- package/dist/api/asset/asset.fetch.cjs.map +1 -1
- package/dist/api/asset/asset.fetch.js +1 -1
- package/dist/api/asset/asset.fetch.js.map +1 -1
- package/dist/api/asset/asset.js +1 -1
- package/dist/api/asset/asset.js.map +1 -1
- package/dist/api/capabilities/capabilities.cjs +1 -1
- package/dist/api/capabilities/capabilities.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.cjs +1 -1
- package/dist/api/capabilities/capabilities.fetch.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.js +1 -1
- package/dist/api/capabilities/capabilities.fetch.js.map +1 -1
- package/dist/api/capabilities/capabilities.js +1 -1
- package/dist/api/capabilities/capabilities.js.map +1 -1
- package/dist/api/charges/charges.cjs +1 -1
- package/dist/api/charges/charges.cjs.map +1 -1
- package/dist/api/charges/charges.fetch.cjs +1 -1
- package/dist/api/charges/charges.fetch.cjs.map +1 -1
- package/dist/api/charges/charges.fetch.js +1 -1
- package/dist/api/charges/charges.fetch.js.map +1 -1
- package/dist/api/charges/charges.js +1 -1
- package/dist/api/charges/charges.js.map +1 -1
- package/dist/api/event-stream/event-stream.cjs +72 -4
- package/dist/api/event-stream/event-stream.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.d.cts +69 -4
- package/dist/api/event-stream/event-stream.d.cts.map +1 -1
- package/dist/api/event-stream/event-stream.d.ts +69 -4
- package/dist/api/event-stream/event-stream.d.ts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.cjs +81 -4
- package/dist/api/event-stream/event-stream.fetch.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.d.cts +89 -4
- package/dist/api/event-stream/event-stream.fetch.d.cts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.d.ts +89 -4
- package/dist/api/event-stream/event-stream.fetch.d.ts.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.js +74 -5
- package/dist/api/event-stream/event-stream.fetch.js.map +1 -1
- package/dist/api/event-stream/event-stream.js +66 -5
- package/dist/api/event-stream/event-stream.js.map +1 -1
- package/dist/api/merchant/merchant.cjs +1 -1
- package/dist/api/merchant/merchant.cjs.map +1 -1
- package/dist/api/merchant/merchant.fetch.cjs +1 -1
- package/dist/api/merchant/merchant.fetch.cjs.map +1 -1
- package/dist/api/merchant/merchant.fetch.js +1 -1
- package/dist/api/merchant/merchant.fetch.js.map +1 -1
- package/dist/api/merchant/merchant.js +1 -1
- package/dist/api/merchant/merchant.js.map +1 -1
- package/dist/api/notifications/notifications.cjs +1 -1
- package/dist/api/notifications/notifications.cjs.map +1 -1
- package/dist/api/notifications/notifications.fetch.cjs +1 -1
- package/dist/api/notifications/notifications.fetch.cjs.map +1 -1
- package/dist/api/notifications/notifications.fetch.js +1 -1
- package/dist/api/notifications/notifications.fetch.js.map +1 -1
- package/dist/api/notifications/notifications.js +1 -1
- package/dist/api/notifications/notifications.js.map +1 -1
- package/dist/api/organisation/organisation.cjs +1 -1
- package/dist/api/organisation/organisation.cjs.map +1 -1
- package/dist/api/organisation/organisation.fetch.cjs +1 -1
- package/dist/api/organisation/organisation.fetch.cjs.map +1 -1
- package/dist/api/organisation/organisation.fetch.js +1 -1
- package/dist/api/organisation/organisation.fetch.js.map +1 -1
- package/dist/api/organisation/organisation.js +1 -1
- package/dist/api/organisation/organisation.js.map +1 -1
- package/dist/api/product/product.cjs +1 -1
- package/dist/api/product/product.cjs.map +1 -1
- package/dist/api/product/product.fetch.cjs +1 -1
- package/dist/api/product/product.fetch.cjs.map +1 -1
- package/dist/api/product/product.fetch.js +1 -1
- package/dist/api/product/product.fetch.js.map +1 -1
- package/dist/api/product/product.js +1 -1
- package/dist/api/product/product.js.map +1 -1
- package/dist/api/state/state.cjs +1 -1
- package/dist/api/state/state.cjs.map +1 -1
- package/dist/api/state/state.fetch.cjs +1 -1
- package/dist/api/state/state.fetch.cjs.map +1 -1
- package/dist/api/state/state.fetch.js +1 -1
- package/dist/api/state/state.fetch.js.map +1 -1
- package/dist/api/state/state.js +1 -1
- package/dist/api/state/state.js.map +1 -1
- package/dist/api/unit/unit.cjs +1 -1
- package/dist/api/unit/unit.cjs.map +1 -1
- package/dist/api/unit/unit.fetch.cjs +1 -1
- package/dist/api/unit/unit.fetch.cjs.map +1 -1
- package/dist/api/unit/unit.fetch.js +1 -1
- package/dist/api/unit/unit.fetch.js.map +1 -1
- package/dist/api/unit/unit.js +1 -1
- package/dist/api/unit/unit.js.map +1 -1
- package/dist/api/user/user.cjs +1 -1
- package/dist/api/user/user.cjs.map +1 -1
- package/dist/api/user/user.fetch.cjs +1 -1
- package/dist/api/user/user.fetch.cjs.map +1 -1
- package/dist/api/user/user.fetch.js +1 -1
- package/dist/api/user/user.fetch.js.map +1 -1
- package/dist/api/user/user.js +1 -1
- package/dist/api/user/user.js.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
- package/src/api/actions/actions.fetch.ts +1 -1
- package/src/api/actions/actions.ts +1 -1
- package/src/api/api-schemas/actionDetail.fetch.ts +1 -1
- package/src/api/api-schemas/actionDetail.ts +1 -1
- package/src/api/api-schemas/actionGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/actionGetResponse.ts +1 -1
- package/src/api/api-schemas/allCapabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/allCapabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/asError.fetch.ts +1 -1
- package/src/api/api-schemas/asError.ts +1 -1
- package/src/api/api-schemas/assetDetail.fetch.ts +1 -1
- package/src/api/api-schemas/assetDetail.ts +1 -1
- package/src/api/api-schemas/assetDetailScope.fetch.ts +1 -1
- package/src/api/api-schemas/assetDetailScope.ts +1 -1
- package/src/api/api-schemas/assetGetByIdResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetGetByIdResponse.ts +1 -1
- package/src/api/api-schemas/assetGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetGetResponse.ts +1 -1
- package/src/api/api-schemas/assetPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/assetPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBody.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBodyScope.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBodyScope.ts +1 -1
- package/src/api/api-schemas/assetPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostResponse.ts +1 -1
- package/src/api/api-schemas/attachAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/attachAssetParams.ts +1 -1
- package/src/api/api-schemas/capabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/capabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/capabilityDetail.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetail.ts +1 -1
- package/src/api/api-schemas/capabilityDetailMerchantKind.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetailMerchantKind.ts +1 -1
- package/src/api/api-schemas/capabilityDetailSpec.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetailSpec.ts +1 -1
- package/src/api/api-schemas/capabilityPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityPostBodyBody.ts +1 -1
- package/src/api/api-schemas/capabilityPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityPostResponse.ts +1 -1
- package/src/api/api-schemas/capabilityUpdateBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityUpdateBodyBody.ts +1 -1
- package/src/api/api-schemas/chargeAdditionalData.fetch.ts +1 -1
- package/src/api/api-schemas/chargeAdditionalData.ts +1 -1
- package/src/api/api-schemas/chargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/chargeSummary.ts +1 -1
- package/src/api/api-schemas/chargeSummaryType.fetch.ts +1 -1
- package/src/api/api-schemas/chargeSummaryType.ts +1 -1
- package/src/api/api-schemas/chargesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/chargesGetResponse.ts +1 -1
- package/src/api/api-schemas/defaultCapabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetail.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetail.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailSpec.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailSpec.ts +1 -1
- package/src/api/api-schemas/deleteCapabilityParams.fetch.ts +1 -1
- package/src/api/api-schemas/deleteCapabilityParams.ts +1 -1
- package/src/api/api-schemas/deleteDefaultCapabilityParams.fetch.ts +1 -1
- package/src/api/api-schemas/deleteDefaultCapabilityParams.ts +1 -1
- package/src/api/api-schemas/deleteOrganisationParams.fetch.ts +1 -1
- package/src/api/api-schemas/deleteOrganisationParams.ts +1 -1
- package/src/api/api-schemas/detachAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/detachAssetParams.ts +1 -1
- package/src/api/api-schemas/eventStreamDetail.fetch.ts +25 -0
- package/src/api/api-schemas/eventStreamDetail.ts +25 -0
- package/src/api/api-schemas/eventStreamGetPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/eventStreamGetPostResponse.ts +1 -1
- package/src/api/api-schemas/eventStreamPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/eventStreamPostBodyBody.ts +1 -1
- package/src/api/api-schemas/eventStreamPostBodyBodyFormat.fetch.ts +1 -1
- package/src/api/api-schemas/eventStreamPostBodyBodyFormat.ts +1 -1
- package/src/api/api-schemas/eventStreamVersionGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/eventStreamVersionGetResponse.ts +1 -1
- package/src/api/api-schemas/eventStreamVersionGetResponseProtocol.fetch.ts +1 -1
- package/src/api/api-schemas/eventStreamVersionGetResponseProtocol.ts +1 -1
- package/src/api/api-schemas/eventStreamsGetResponse.fetch.ts +16 -0
- package/src/api/api-schemas/eventStreamsGetResponse.ts +16 -0
- package/src/api/api-schemas/getActionsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getActionsParams.ts +1 -1
- package/src/api/api-schemas/getAllCapabilitiesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getAllCapabilitiesParams.ts +1 -1
- package/src/api/api-schemas/getAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/getAssetParams.ts +1 -1
- package/src/api/api-schemas/getChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getChargesParams.ts +1 -1
- package/src/api/api-schemas/getIncidentsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getIncidentsParams.ts +1 -1
- package/src/api/api-schemas/getNotificationsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getNotificationsParams.ts +1 -1
- package/src/api/api-schemas/getOrganisationChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getOrganisationChargesParams.ts +1 -1
- package/src/api/api-schemas/getOrganisationsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getOrganisationsParams.ts +1 -1
- package/src/api/api-schemas/getProductChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getProductChargesParams.ts +1 -1
- package/src/api/api-schemas/getUnitChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUnitChargesParams.ts +1 -1
- package/src/api/api-schemas/getUnitsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUnitsParams.ts +1 -1
- package/src/api/api-schemas/incidentDetail.fetch.ts +1 -1
- package/src/api/api-schemas/incidentDetail.ts +1 -1
- package/src/api/api-schemas/incidentDetailScope.fetch.ts +1 -1
- package/src/api/api-schemas/incidentDetailScope.ts +1 -1
- package/src/api/api-schemas/incidentKindDetail.fetch.ts +1 -1
- package/src/api/api-schemas/incidentKindDetail.ts +1 -1
- package/src/api/api-schemas/incidentKindsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/incidentKindsGetResponse.ts +1 -1
- package/src/api/api-schemas/incidentsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/incidentsGetResponse.ts +1 -1
- package/src/api/api-schemas/index.ts +3 -1
- package/src/api/api-schemas/merchantDetail.fetch.ts +1 -1
- package/src/api/api-schemas/merchantDetail.ts +1 -1
- package/src/api/api-schemas/merchantDetailKind.fetch.ts +1 -1
- package/src/api/api-schemas/merchantDetailKind.ts +1 -1
- package/src/api/api-schemas/merchantGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/merchantGetResponse.ts +1 -1
- package/src/api/api-schemas/merchantSummary.fetch.ts +1 -1
- package/src/api/api-schemas/merchantSummary.ts +1 -1
- package/src/api/api-schemas/merchantSummaryKind.fetch.ts +1 -1
- package/src/api/api-schemas/merchantSummaryKind.ts +1 -1
- package/src/api/api-schemas/merchantsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/merchantsGetResponse.ts +1 -1
- package/src/api/api-schemas/notificationDetail.fetch.ts +1 -1
- package/src/api/api-schemas/notificationDetail.ts +1 -1
- package/src/api/api-schemas/notificationDetailState.fetch.ts +1 -1
- package/src/api/api-schemas/notificationDetailState.ts +1 -1
- package/src/api/api-schemas/notificationPreferenceDetail.fetch.ts +1 -1
- package/src/api/api-schemas/notificationPreferenceDetail.ts +1 -1
- package/src/api/api-schemas/notificationPreferencesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/notificationPreferencesGetResponse.ts +1 -1
- package/src/api/api-schemas/notificationsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/notificationsGetResponse.ts +1 -1
- package/src/api/api-schemas/organisationAllDetail.fetch.ts +1 -1
- package/src/api/api-schemas/organisationAllDetail.ts +1 -1
- package/src/api/api-schemas/organisationAllDetailDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationAllDetailDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationCapabilities.fetch.ts +1 -1
- package/src/api/api-schemas/organisationCapabilities.ts +1 -1
- package/src/api/api-schemas/organisationChargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/organisationChargeSummary.ts +1 -1
- package/src/api/api-schemas/organisationChargesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationChargesGetResponse.ts +1 -1
- package/src/api/api-schemas/organisationDetail.fetch.ts +1 -1
- package/src/api/api-schemas/organisationDetail.ts +1 -1
- package/src/api/api-schemas/organisationDetailDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationDetailDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationGetDefaultResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationGetDefaultResponse.ts +1 -1
- package/src/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationGetDefaultResponseDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationGetResponse.ts +1 -1
- package/src/api/api-schemas/organisationPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/organisationPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationPatchBodyBodyDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/organisationPostBodyBody.ts +1 -1
- package/src/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationPostBodyBodyDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationPostResponse.ts +1 -1
- package/src/api/api-schemas/organisationUnitChargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/organisationUnitChargeSummary.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostBodyBody.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostBodyBodyDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationUnitPostResponse.ts +1 -1
- package/src/api/api-schemas/organisationUnitsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationUnitsGetResponse.ts +1 -1
- package/src/api/api-schemas/organisationsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/organisationsGetResponse.ts +1 -1
- package/src/api/api-schemas/personalUnitPutBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/personalUnitPutBodyBody.ts +1 -1
- package/src/api/api-schemas/personalUnitPutResponse.fetch.ts +1 -1
- package/src/api/api-schemas/personalUnitPutResponse.ts +1 -1
- package/src/api/api-schemas/processingChargeItem.fetch.ts +1 -1
- package/src/api/api-schemas/processingChargeItem.ts +1 -1
- package/src/api/api-schemas/processingCharges.fetch.ts +1 -1
- package/src/api/api-schemas/processingCharges.ts +1 -1
- package/src/api/api-schemas/processingChargesMerchantKind.fetch.ts +1 -1
- package/src/api/api-schemas/processingChargesMerchantKind.ts +1 -1
- package/src/api/api-schemas/productChargesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/productChargesGetResponse.ts +1 -1
- package/src/api/api-schemas/productChargesGetResponseProductType.fetch.ts +1 -1
- package/src/api/api-schemas/productChargesGetResponseProductType.ts +1 -1
- package/src/api/api-schemas/productClaimDetail.fetch.ts +1 -1
- package/src/api/api-schemas/productClaimDetail.ts +1 -1
- package/src/api/api-schemas/productCoinsDetail.fetch.ts +1 -1
- package/src/api/api-schemas/productCoinsDetail.ts +1 -1
- package/src/api/api-schemas/productDetail.fetch.ts +1 -1
- package/src/api/api-schemas/productDetail.ts +1 -1
- package/src/api/api-schemas/productDetailFlavour.fetch.ts +1 -1
- package/src/api/api-schemas/productDetailFlavour.ts +1 -1
- package/src/api/api-schemas/productDetailType.fetch.ts +1 -1
- package/src/api/api-schemas/productDetailType.ts +1 -1
- package/src/api/api-schemas/productDmProjectTier.fetch.ts +1 -1
- package/src/api/api-schemas/productDmProjectTier.ts +1 -1
- package/src/api/api-schemas/productDmStorage.fetch.ts +1 -1
- package/src/api/api-schemas/productDmStorage.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetail.fetch.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetail.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetailCoins.fetch.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetailCoins.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetailSize.fetch.ts +1 -1
- package/src/api/api-schemas/productDmStorageDetailSize.ts +1 -1
- package/src/api/api-schemas/productInstanceDetail.fetch.ts +1 -1
- package/src/api/api-schemas/productInstanceDetail.ts +1 -1
- package/src/api/api-schemas/productInstanceDetailCoins.fetch.ts +1 -1
- package/src/api/api-schemas/productInstanceDetailCoins.ts +1 -1
- package/src/api/api-schemas/productPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/productPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/productType.fetch.ts +1 -1
- package/src/api/api-schemas/productType.ts +1 -1
- package/src/api/api-schemas/productTypeServiceKind.fetch.ts +1 -1
- package/src/api/api-schemas/productTypeServiceKind.ts +1 -1
- package/src/api/api-schemas/productUnitGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/productUnitGetResponse.ts +1 -1
- package/src/api/api-schemas/productsGetDefaultStorageCost.fetch.ts +1 -1
- package/src/api/api-schemas/productsGetDefaultStorageCost.ts +1 -1
- package/src/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.fetch.ts +1 -1
- package/src/api/api-schemas/productsGetDefaultStorageCostDefaultStorageCost.ts +1 -1
- package/src/api/api-schemas/productsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/productsGetResponse.ts +1 -1
- package/src/api/api-schemas/productsGetTypesResponse.fetch.ts +1 -1
- package/src/api/api-schemas/productsGetTypesResponse.ts +1 -1
- package/src/api/api-schemas/qAssetScopeParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qAssetScopeParameter.ts +1 -1
- package/src/api/api-schemas/qCapabilityParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCapabilityParameter.ts +1 -1
- package/src/api/api-schemas/qCreatedFromParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCreatedFromParameter.ts +1 -1
- package/src/api/api-schemas/qCreatedUntilParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCreatedUntilParameter.ts +1 -1
- package/src/api/api-schemas/qForceParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qForceParameter.ts +1 -1
- package/src/api/api-schemas/qFormatParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFormatParameter.ts +1 -1
- package/src/api/api-schemas/qFromParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qFromParameter.ts +1 -1
- package/src/api/api-schemas/qIncidentKindParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qIncidentKindParameter.ts +1 -1
- package/src/api/api-schemas/qMIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qMIdParameter.ts +1 -1
- package/src/api/api-schemas/qNameParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qNameParameter.ts +1 -1
- package/src/api/api-schemas/qNotificationStateParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qNotificationStateParameter.ts +1 -1
- package/src/api/api-schemas/qOrgIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qOrgIdParameter.ts +1 -1
- package/src/api/api-schemas/qPbpParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qPbpParameter.ts +1 -1
- package/src/api/api-schemas/qProductIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qProductIdParameter.ts +1 -1
- package/src/api/api-schemas/qRelayParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qRelayParameter.ts +1 -1
- package/src/api/api-schemas/qUnitIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUnitIdParameter.ts +1 -1
- package/src/api/api-schemas/qUntilParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUntilParameter.ts +1 -1
- package/src/api/api-schemas/qUserIdParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qUserIdParameter.ts +1 -1
- package/src/api/api-schemas/relayDetail.fetch.ts +1 -1
- package/src/api/api-schemas/relayDetail.ts +1 -1
- package/src/api/api-schemas/relaysGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/relaysGetResponse.ts +1 -1
- package/src/api/api-schemas/stateGetVersionResponse.fetch.ts +1 -1
- package/src/api/api-schemas/stateGetVersionResponse.ts +1 -1
- package/src/api/api-schemas/storageChargeItem.fetch.ts +1 -1
- package/src/api/api-schemas/storageChargeItem.ts +1 -1
- package/src/api/api-schemas/storageCharges.fetch.ts +1 -1
- package/src/api/api-schemas/storageCharges.ts +1 -1
- package/src/api/api-schemas/unitAllDetail.fetch.ts +1 -1
- package/src/api/api-schemas/unitAllDetail.ts +1 -1
- package/src/api/api-schemas/unitAllDetailDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/unitAllDetailDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/unitChargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/unitChargeSummary.ts +1 -1
- package/src/api/api-schemas/unitChargesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/unitChargesGetResponse.ts +1 -1
- package/src/api/api-schemas/unitDetail.fetch.ts +1 -1
- package/src/api/api-schemas/unitDetail.ts +1 -1
- package/src/api/api-schemas/unitDetailDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/unitDetailDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/unitGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/unitGetResponse.ts +1 -1
- package/src/api/api-schemas/unitPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/unitPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.fetch.ts +1 -1
- package/src/api/api-schemas/unitPatchBodyBodyDefaultProductPrivacy.ts +1 -1
- package/src/api/api-schemas/unitProductChargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/unitProductChargeSummary.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBody.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBodyFlavour.fetch.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBodyFlavour.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBodyType.fetch.ts +1 -1
- package/src/api/api-schemas/unitProductPostBodyBodyType.ts +1 -1
- package/src/api/api-schemas/unitProductPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/unitProductPostResponse.ts +1 -1
- package/src/api/api-schemas/unitsGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/unitsGetResponse.ts +1 -1
- package/src/api/api-schemas/userAccountDetail.fetch.ts +1 -1
- package/src/api/api-schemas/userAccountDetail.ts +1 -1
- package/src/api/api-schemas/userAccountGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/userAccountGetResponse.ts +1 -1
- package/src/api/api-schemas/userDetail.fetch.ts +1 -1
- package/src/api/api-schemas/userDetail.ts +1 -1
- package/src/api/api-schemas/usersGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/usersGetResponse.ts +1 -1
- package/src/api/asset/asset.fetch.ts +1 -1
- package/src/api/asset/asset.ts +1 -1
- package/src/api/capabilities/capabilities.fetch.ts +1 -1
- package/src/api/capabilities/capabilities.ts +1 -1
- package/src/api/charges/charges.fetch.ts +1 -1
- package/src/api/charges/charges.ts +1 -1
- package/src/api/event-stream/event-stream.fetch.ts +235 -4
- package/src/api/event-stream/event-stream.ts +220 -4
- package/src/api/merchant/merchant.fetch.ts +1 -1
- package/src/api/merchant/merchant.ts +1 -1
- package/src/api/notifications/notifications.fetch.ts +1 -1
- package/src/api/notifications/notifications.ts +1 -1
- package/src/api/organisation/organisation.fetch.ts +1 -1
- package/src/api/organisation/organisation.ts +1 -1
- package/src/api/product/product.fetch.ts +1 -1
- package/src/api/product/product.ts +1 -1
- package/src/api/state/state.fetch.ts +1 -1
- package/src/api/state/state.ts +1 -1
- package/src/api/unit/unit.fetch.ts +1 -1
- package/src/api/unit/unit.ts +1 -1
- package/src/api/user/user.fetch.ts +1 -1
- 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.
|
|
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
|
|
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
|
|
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.
|
|
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
|
-
*
|
|
590
|
-
*
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
9
|
+
* OpenAPI spec version: 4.16
|
|
10
10
|
*/
|
|
11
11
|
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
package/src/api/state/state.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
+
* OpenAPI spec version: 4.16
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
package/src/api/unit/unit.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
+
* OpenAPI spec version: 4.16
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
package/src/api/user/user.ts
CHANGED
|
@@ -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.
|
|
9
|
+
* OpenAPI spec version: 4.16
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|