@squonk/account-server-client 4.10.1 → 4.11.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/allCapabilitiesGetResponse.d.cts +2 -1
- package/dist/api/api-schemas/allCapabilitiesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/allCapabilitiesGetResponse.d.ts +2 -1
- package/dist/api/api-schemas/allCapabilitiesGetResponse.d.ts.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/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/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/getAllCapabilitiesParams.d.cts +13 -0
- package/dist/api/api-schemas/getAllCapabilitiesParams.d.cts.map +1 -0
- package/dist/api/api-schemas/getAllCapabilitiesParams.d.ts +13 -0
- package/dist/api/api-schemas/getAllCapabilitiesParams.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/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/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 +18 -0
- package/dist/api/api-schemas/qCapabilityParameter.d.cts.map +1 -0
- package/dist/api/api-schemas/qCapabilityParameter.d.ts +18 -0
- package/dist/api/api-schemas/qCapabilityParameter.d.ts.map +1 -0
- 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/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/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 +23 -16
- package/dist/api/capabilities/capabilities.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.d.cts +14 -11
- package/dist/api/capabilities/capabilities.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.d.ts +14 -11
- package/dist/api/capabilities/capabilities.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.cjs +30 -19
- package/dist/api/capabilities/capabilities.fetch.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.cts +15 -12
- package/dist/api/capabilities/capabilities.fetch.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.ts +15 -12
- package/dist/api/capabilities/capabilities.fetch.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.js +30 -19
- package/dist/api/capabilities/capabilities.fetch.js.map +1 -1
- package/dist/api/capabilities/capabilities.js +23 -16
- 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 +1 -1
- package/dist/api/event-stream/event-stream.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.cjs +1 -1
- package/dist/api/event-stream/event-stream.fetch.cjs.map +1 -1
- package/dist/api/event-stream/event-stream.fetch.js +1 -1
- package/dist/api/event-stream/event-stream.fetch.js.map +1 -1
- package/dist/api/event-stream/event-stream.js +1 -1
- 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 +3 -2
- package/src/api/api-schemas/allCapabilitiesGetResponse.ts +3 -2
- 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/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/detachAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/detachAssetParams.ts +1 -1
- 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/getActionsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getActionsParams.ts +1 -1
- package/src/api/api-schemas/getAllCapabilitiesParams.fetch.ts +19 -0
- package/src/api/api-schemas/getAllCapabilitiesParams.ts +19 -0
- 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/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/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 +15 -0
- package/src/api/api-schemas/qCapabilityParameter.ts +15 -0
- 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/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/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 +52 -23
- package/src/api/capabilities/capabilities.ts +40 -21
- 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 +1 -1
- package/src/api/event-stream/event-stream.ts +1 -1
- 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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitProductPostBodyBodyFlavour } from "./unitProductPostBodyBodyFlavour.fetch";
|
|
12
12
|
import type { UnitProductPostBodyBodyType } from "./unitProductPostBodyBodyType.fetch";
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitProductPostBodyBodyFlavour } from "./unitProductPostBodyBodyFlavour";
|
|
12
12
|
import type { UnitProductPostBodyBodyType } from "./unitProductPostBodyBodyType";
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface UnitProductPostResponse {
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface UnitProductPostResponse {
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { OrganisationUnitsGetResponse } from "./organisationUnitsGetResponse.fetch";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { OrganisationUnitsGetResponse } from "./organisationUnitsGetResponse";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UserDetail } from "./userDetail.fetch";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UserDetail } from "./userDetail";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UserAccountDetail } from "./userAccountDetail.fetch";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { UserAccountDetail } from "./userAccountDetail";
|
|
12
12
|
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface UserDetail {
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
export interface UserDetail {
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { OrganisationDetail } from "./organisationDetail.fetch";
|
|
12
12
|
import type { UnitDetail } from "./unitDetail.fetch";
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import type { OrganisationDetail } from "./organisationDetail";
|
|
12
12
|
import type { UnitDetail } from "./unitDetail";
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
package/src/api/asset/asset.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.11
|
|
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.11
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
CapabilityPostBodyBody,
|
|
35
35
|
CapabilityPostResponse,
|
|
36
36
|
DefaultCapabilitiesGetResponse,
|
|
37
|
+
GetAllCapabilitiesParams,
|
|
37
38
|
} from "../api-schemas";
|
|
38
39
|
|
|
39
40
|
import { customFetch } from "../../custom-fetch";
|
|
@@ -74,42 +75,58 @@ export type getAllCapabilitiesResponse =
|
|
|
74
75
|
| getAllCapabilitiesResponseSuccess
|
|
75
76
|
| getAllCapabilitiesResponseError;
|
|
76
77
|
|
|
77
|
-
export const getGetAllCapabilitiesUrl = () => {
|
|
78
|
-
|
|
78
|
+
export const getGetAllCapabilitiesUrl = (params?: GetAllCapabilitiesParams) => {
|
|
79
|
+
const normalizedParams = new URLSearchParams();
|
|
80
|
+
|
|
81
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
82
|
+
if (value !== undefined) {
|
|
83
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
const stringifiedParams = normalizedParams.toString();
|
|
88
|
+
|
|
89
|
+
return stringifiedParams.length > 0 ? `/capability?${stringifiedParams}` : `/capability`;
|
|
79
90
|
};
|
|
80
91
|
|
|
81
92
|
/**
|
|
82
93
|
* Gets the Capabilities of all the Organisations, indexed by Organisation. Organisations without Capabilities are not included. The response also lists the Default Capabilities, which every Organisation has.
|
|
83
94
|
*
|
|
95
|
+
* If you name a **capability**, only the Organisations that have that Capability are included, each with only that Capability, and the Default Capabilities are not listed.
|
|
96
|
+
*
|
|
84
97
|
* You need admin rights to use this path.
|
|
85
98
|
* @summary Gets the Capabilities of all Organisations
|
|
86
99
|
*/
|
|
87
100
|
export const getAllCapabilities = async (
|
|
101
|
+
params?: GetAllCapabilitiesParams,
|
|
88
102
|
options?: RequestInit,
|
|
89
103
|
): Promise<getAllCapabilitiesResponse> => {
|
|
90
|
-
return customFetch<getAllCapabilitiesResponse>(getGetAllCapabilitiesUrl(), {
|
|
104
|
+
return customFetch<getAllCapabilitiesResponse>(getGetAllCapabilitiesUrl(params), {
|
|
91
105
|
...options,
|
|
92
106
|
method: "GET",
|
|
93
107
|
});
|
|
94
108
|
};
|
|
95
109
|
|
|
96
|
-
export const getGetAllCapabilitiesQueryKey = () => {
|
|
97
|
-
return ["account-server", "capability"] as const;
|
|
110
|
+
export const getGetAllCapabilitiesQueryKey = (params?: GetAllCapabilitiesParams) => {
|
|
111
|
+
return ["account-server", "capability", ...(params ? [params] : [])] as const;
|
|
98
112
|
};
|
|
99
113
|
|
|
100
114
|
export const getGetAllCapabilitiesQueryOptions = <
|
|
101
115
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
102
116
|
TError = ErrorType<void | AsError>,
|
|
103
|
-
>(
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
117
|
+
>(
|
|
118
|
+
params?: GetAllCapabilitiesParams,
|
|
119
|
+
options?: {
|
|
120
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
121
|
+
request?: SecondParameter<typeof customFetch>;
|
|
122
|
+
},
|
|
123
|
+
) => {
|
|
107
124
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
108
125
|
|
|
109
|
-
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey();
|
|
126
|
+
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey(params);
|
|
110
127
|
|
|
111
128
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllCapabilities>>> = ({ signal }) =>
|
|
112
|
-
getAllCapabilities({ signal, ...requestOptions });
|
|
129
|
+
getAllCapabilities(params, { signal, ...requestOptions });
|
|
113
130
|
|
|
114
131
|
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
115
132
|
Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
@@ -127,6 +144,7 @@ export function useGetAllCapabilities<
|
|
|
127
144
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
128
145
|
TError = ErrorType<void | AsError>,
|
|
129
146
|
>(
|
|
147
|
+
params: undefined | GetAllCapabilitiesParams,
|
|
130
148
|
options: {
|
|
131
149
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>> &
|
|
132
150
|
Pick<
|
|
@@ -145,6 +163,7 @@ export function useGetAllCapabilities<
|
|
|
145
163
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
146
164
|
TError = ErrorType<void | AsError>,
|
|
147
165
|
>(
|
|
166
|
+
params?: GetAllCapabilitiesParams,
|
|
148
167
|
options?: {
|
|
149
168
|
query?: Partial<
|
|
150
169
|
UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -165,6 +184,7 @@ export function useGetAllCapabilities<
|
|
|
165
184
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
166
185
|
TError = ErrorType<void | AsError>,
|
|
167
186
|
>(
|
|
187
|
+
params?: GetAllCapabilitiesParams,
|
|
168
188
|
options?: {
|
|
169
189
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
170
190
|
request?: SecondParameter<typeof customFetch>;
|
|
@@ -179,13 +199,14 @@ export function useGetAllCapabilities<
|
|
|
179
199
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
180
200
|
TError = ErrorType<void | AsError>,
|
|
181
201
|
>(
|
|
202
|
+
params?: GetAllCapabilitiesParams,
|
|
182
203
|
options?: {
|
|
183
204
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
184
205
|
request?: SecondParameter<typeof customFetch>;
|
|
185
206
|
},
|
|
186
207
|
queryClient?: QueryClient,
|
|
187
208
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
188
|
-
const queryOptions = getGetAllCapabilitiesQueryOptions(options);
|
|
209
|
+
const queryOptions = getGetAllCapabilitiesQueryOptions(params, options);
|
|
189
210
|
|
|
190
211
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
191
212
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
@@ -199,9 +220,10 @@ export function useGetAllCapabilities<
|
|
|
199
220
|
*/
|
|
200
221
|
export const invalidateGetAllCapabilities = async (
|
|
201
222
|
queryClient: QueryClient,
|
|
223
|
+
params?: GetAllCapabilitiesParams,
|
|
202
224
|
options?: InvalidateOptions,
|
|
203
225
|
): Promise<QueryClient> => {
|
|
204
|
-
await queryClient.invalidateQueries({ queryKey: getGetAllCapabilitiesQueryKey() }, options);
|
|
226
|
+
await queryClient.invalidateQueries({ queryKey: getGetAllCapabilitiesQueryKey(params) }, options);
|
|
205
227
|
|
|
206
228
|
return queryClient;
|
|
207
229
|
};
|
|
@@ -209,18 +231,21 @@ export const invalidateGetAllCapabilities = async (
|
|
|
209
231
|
export const getGetAllCapabilitiesSuspenseQueryOptions = <
|
|
210
232
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
211
233
|
TError = ErrorType<void | AsError>,
|
|
212
|
-
>(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
234
|
+
>(
|
|
235
|
+
params?: GetAllCapabilitiesParams,
|
|
236
|
+
options?: {
|
|
237
|
+
query?: Partial<
|
|
238
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
239
|
+
>;
|
|
240
|
+
request?: SecondParameter<typeof customFetch>;
|
|
241
|
+
},
|
|
242
|
+
) => {
|
|
218
243
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
219
244
|
|
|
220
|
-
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey();
|
|
245
|
+
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey(params);
|
|
221
246
|
|
|
222
247
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllCapabilities>>> = ({ signal }) =>
|
|
223
|
-
getAllCapabilities({ signal, ...requestOptions });
|
|
248
|
+
getAllCapabilities(params, { signal, ...requestOptions });
|
|
224
249
|
|
|
225
250
|
return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<
|
|
226
251
|
Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
@@ -238,6 +263,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
238
263
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
239
264
|
TError = ErrorType<void | AsError>,
|
|
240
265
|
>(
|
|
266
|
+
params: undefined | GetAllCapabilitiesParams,
|
|
241
267
|
options: {
|
|
242
268
|
query: Partial<
|
|
243
269
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -250,6 +276,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
250
276
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
251
277
|
TError = ErrorType<void | AsError>,
|
|
252
278
|
>(
|
|
279
|
+
params?: GetAllCapabilitiesParams,
|
|
253
280
|
options?: {
|
|
254
281
|
query?: Partial<
|
|
255
282
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -262,6 +289,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
262
289
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
263
290
|
TError = ErrorType<void | AsError>,
|
|
264
291
|
>(
|
|
292
|
+
params?: GetAllCapabilitiesParams,
|
|
265
293
|
options?: {
|
|
266
294
|
query?: Partial<
|
|
267
295
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -278,6 +306,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
278
306
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
279
307
|
TError = ErrorType<void | AsError>,
|
|
280
308
|
>(
|
|
309
|
+
params?: GetAllCapabilitiesParams,
|
|
281
310
|
options?: {
|
|
282
311
|
query?: Partial<
|
|
283
312
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -286,7 +315,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
286
315
|
},
|
|
287
316
|
queryClient?: QueryClient,
|
|
288
317
|
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
289
|
-
const queryOptions = getGetAllCapabilitiesSuspenseQueryOptions(options);
|
|
318
|
+
const queryOptions = getGetAllCapabilitiesSuspenseQueryOptions(params, options);
|
|
290
319
|
|
|
291
320
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
292
321
|
TData,
|
|
@@ -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.11
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
@@ -34,6 +34,7 @@ import type {
|
|
|
34
34
|
CapabilityPostBodyBody,
|
|
35
35
|
CapabilityPostResponse,
|
|
36
36
|
DefaultCapabilitiesGetResponse,
|
|
37
|
+
GetAllCapabilitiesParams,
|
|
37
38
|
} from "../api-schemas";
|
|
38
39
|
|
|
39
40
|
import { customInstance } from "../../custom-axios";
|
|
@@ -59,36 +60,42 @@ const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKe
|
|
|
59
60
|
/**
|
|
60
61
|
* Gets the Capabilities of all the Organisations, indexed by Organisation. Organisations without Capabilities are not included. The response also lists the Default Capabilities, which every Organisation has.
|
|
61
62
|
*
|
|
63
|
+
* If you name a **capability**, only the Organisations that have that Capability are included, each with only that Capability, and the Default Capabilities are not listed.
|
|
64
|
+
*
|
|
62
65
|
* You need admin rights to use this path.
|
|
63
66
|
* @summary Gets the Capabilities of all Organisations
|
|
64
67
|
*/
|
|
65
68
|
export const getAllCapabilities = (
|
|
69
|
+
params?: GetAllCapabilitiesParams,
|
|
66
70
|
options?: SecondParameter<typeof customInstance>,
|
|
67
71
|
signal?: AbortSignal,
|
|
68
72
|
) => {
|
|
69
73
|
return customInstance<AllCapabilitiesGetResponse>(
|
|
70
|
-
{ url: `/capability`, method: "GET", signal },
|
|
74
|
+
{ url: `/capability`, method: "GET", params, signal },
|
|
71
75
|
options,
|
|
72
76
|
);
|
|
73
77
|
};
|
|
74
78
|
|
|
75
|
-
export const getGetAllCapabilitiesQueryKey = () => {
|
|
76
|
-
return ["account-server", "capability"] as const;
|
|
79
|
+
export const getGetAllCapabilitiesQueryKey = (params?: GetAllCapabilitiesParams) => {
|
|
80
|
+
return ["account-server", "capability", ...(params ? [params] : [])] as const;
|
|
77
81
|
};
|
|
78
82
|
|
|
79
83
|
export const getGetAllCapabilitiesQueryOptions = <
|
|
80
84
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
81
85
|
TError = ErrorType<void | AsError>,
|
|
82
|
-
>(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
+
>(
|
|
87
|
+
params?: GetAllCapabilitiesParams,
|
|
88
|
+
options?: {
|
|
89
|
+
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
90
|
+
request?: SecondParameter<typeof customInstance>;
|
|
91
|
+
},
|
|
92
|
+
) => {
|
|
86
93
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
87
94
|
|
|
88
|
-
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey();
|
|
95
|
+
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey(params);
|
|
89
96
|
|
|
90
97
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllCapabilities>>> = ({ signal }) =>
|
|
91
|
-
getAllCapabilities(requestOptions, signal);
|
|
98
|
+
getAllCapabilities(params, requestOptions, signal);
|
|
92
99
|
|
|
93
100
|
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
94
101
|
Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
@@ -106,6 +113,7 @@ export function useGetAllCapabilities<
|
|
|
106
113
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
107
114
|
TError = ErrorType<void | AsError>,
|
|
108
115
|
>(
|
|
116
|
+
params: undefined | GetAllCapabilitiesParams,
|
|
109
117
|
options: {
|
|
110
118
|
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>> &
|
|
111
119
|
Pick<
|
|
@@ -124,6 +132,7 @@ export function useGetAllCapabilities<
|
|
|
124
132
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
125
133
|
TError = ErrorType<void | AsError>,
|
|
126
134
|
>(
|
|
135
|
+
params?: GetAllCapabilitiesParams,
|
|
127
136
|
options?: {
|
|
128
137
|
query?: Partial<
|
|
129
138
|
UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -144,6 +153,7 @@ export function useGetAllCapabilities<
|
|
|
144
153
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
145
154
|
TError = ErrorType<void | AsError>,
|
|
146
155
|
>(
|
|
156
|
+
params?: GetAllCapabilitiesParams,
|
|
147
157
|
options?: {
|
|
148
158
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
149
159
|
request?: SecondParameter<typeof customInstance>;
|
|
@@ -158,13 +168,14 @@ export function useGetAllCapabilities<
|
|
|
158
168
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
159
169
|
TError = ErrorType<void | AsError>,
|
|
160
170
|
>(
|
|
171
|
+
params?: GetAllCapabilitiesParams,
|
|
161
172
|
options?: {
|
|
162
173
|
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>>;
|
|
163
174
|
request?: SecondParameter<typeof customInstance>;
|
|
164
175
|
},
|
|
165
176
|
queryClient?: QueryClient,
|
|
166
177
|
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
167
|
-
const queryOptions = getGetAllCapabilitiesQueryOptions(options);
|
|
178
|
+
const queryOptions = getGetAllCapabilitiesQueryOptions(params, options);
|
|
168
179
|
|
|
169
180
|
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
170
181
|
queryKey: DataTag<QueryKey, TData, TError>;
|
|
@@ -178,9 +189,10 @@ export function useGetAllCapabilities<
|
|
|
178
189
|
*/
|
|
179
190
|
export const invalidateGetAllCapabilities = async (
|
|
180
191
|
queryClient: QueryClient,
|
|
192
|
+
params?: GetAllCapabilitiesParams,
|
|
181
193
|
options?: InvalidateOptions,
|
|
182
194
|
): Promise<QueryClient> => {
|
|
183
|
-
await queryClient.invalidateQueries({ queryKey: getGetAllCapabilitiesQueryKey() }, options);
|
|
195
|
+
await queryClient.invalidateQueries({ queryKey: getGetAllCapabilitiesQueryKey(params) }, options);
|
|
184
196
|
|
|
185
197
|
return queryClient;
|
|
186
198
|
};
|
|
@@ -188,18 +200,21 @@ export const invalidateGetAllCapabilities = async (
|
|
|
188
200
|
export const getGetAllCapabilitiesSuspenseQueryOptions = <
|
|
189
201
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
190
202
|
TError = ErrorType<void | AsError>,
|
|
191
|
-
>(
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
203
|
+
>(
|
|
204
|
+
params?: GetAllCapabilitiesParams,
|
|
205
|
+
options?: {
|
|
206
|
+
query?: Partial<
|
|
207
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
208
|
+
>;
|
|
209
|
+
request?: SecondParameter<typeof customInstance>;
|
|
210
|
+
},
|
|
211
|
+
) => {
|
|
197
212
|
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
198
213
|
|
|
199
|
-
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey();
|
|
214
|
+
const queryKey = queryOptions?.queryKey ?? getGetAllCapabilitiesQueryKey(params);
|
|
200
215
|
|
|
201
216
|
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAllCapabilities>>> = ({ signal }) =>
|
|
202
|
-
getAllCapabilities(requestOptions, signal);
|
|
217
|
+
getAllCapabilities(params, requestOptions, signal);
|
|
203
218
|
|
|
204
219
|
return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<
|
|
205
220
|
Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
@@ -217,6 +232,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
217
232
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
218
233
|
TError = ErrorType<void | AsError>,
|
|
219
234
|
>(
|
|
235
|
+
params: undefined | GetAllCapabilitiesParams,
|
|
220
236
|
options: {
|
|
221
237
|
query: Partial<
|
|
222
238
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -229,6 +245,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
229
245
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
230
246
|
TError = ErrorType<void | AsError>,
|
|
231
247
|
>(
|
|
248
|
+
params?: GetAllCapabilitiesParams,
|
|
232
249
|
options?: {
|
|
233
250
|
query?: Partial<
|
|
234
251
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -241,6 +258,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
241
258
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
242
259
|
TError = ErrorType<void | AsError>,
|
|
243
260
|
>(
|
|
261
|
+
params?: GetAllCapabilitiesParams,
|
|
244
262
|
options?: {
|
|
245
263
|
query?: Partial<
|
|
246
264
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -257,6 +275,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
257
275
|
TData = Awaited<ReturnType<typeof getAllCapabilities>>,
|
|
258
276
|
TError = ErrorType<void | AsError>,
|
|
259
277
|
>(
|
|
278
|
+
params?: GetAllCapabilitiesParams,
|
|
260
279
|
options?: {
|
|
261
280
|
query?: Partial<
|
|
262
281
|
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getAllCapabilities>>, TError, TData>
|
|
@@ -265,7 +284,7 @@ export function useGetAllCapabilitiesSuspense<
|
|
|
265
284
|
},
|
|
266
285
|
queryClient?: QueryClient,
|
|
267
286
|
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
268
|
-
const queryOptions = getGetAllCapabilitiesSuspenseQueryOptions(options);
|
|
287
|
+
const queryOptions = getGetAllCapabilitiesSuspenseQueryOptions(params, options);
|
|
269
288
|
|
|
270
289
|
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
271
290
|
TData,
|
|
@@ -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.11
|
|
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.11
|
|
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.11
|
|
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.11
|
|
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.11
|
|
10
10
|
*/
|
|
11
11
|
import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|