@squonk/account-server-client 4.9.0 → 4.10.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 -0
- package/dist/api/api-schemas/allCapabilitiesGetResponse.d.cts.map +1 -1
- package/dist/api/api-schemas/allCapabilitiesGetResponse.d.ts +2 -0
- 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/capabilityDetail.d.cts +2 -0
- package/dist/api/api-schemas/capabilityDetail.d.cts.map +1 -1
- package/dist/api/api-schemas/capabilityDetail.d.ts +2 -0
- package/dist/api/api-schemas/capabilityDetail.d.ts.map +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/defaultCapabilitiesGetResponse.d.cts +11 -0
- package/dist/api/api-schemas/defaultCapabilitiesGetResponse.d.cts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilitiesGetResponse.d.ts +11 -0
- package/dist/api/api-schemas/defaultCapabilitiesGetResponse.d.ts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetail.d.cts +20 -0
- package/dist/api/api-schemas/defaultCapabilityDetail.d.cts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetail.d.ts +20 -0
- package/dist/api/api-schemas/defaultCapabilityDetail.d.ts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.cjs +6 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.cjs.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.cts +18 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.cts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.ts +18 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.d.ts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.js +6 -0
- package/dist/api/api-schemas/defaultCapabilityDetailMerchantKind.js.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.cts +20 -0
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.cts.map +1 -0
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.d.ts +20 -0
- package/dist/api/api-schemas/defaultCapabilityDetailSpec.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/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/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 +159 -3
- package/dist/api/capabilities/capabilities.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.d.cts +127 -3
- package/dist/api/capabilities/capabilities.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.d.ts +127 -3
- package/dist/api/capabilities/capabilities.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.cjs +173 -3
- package/dist/api/capabilities/capabilities.fetch.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.cts +212 -4
- package/dist/api/capabilities/capabilities.fetch.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.ts +212 -4
- package/dist/api/capabilities/capabilities.fetch.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.js +158 -4
- package/dist/api/capabilities/capabilities.fetch.js.map +1 -1
- package/dist/api/capabilities/capabilities.js +147 -4
- 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.cjs +2 -0
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -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 -1
- package/src/api/api-schemas/allCapabilitiesGetResponse.ts +3 -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 +3 -1
- package/src/api/api-schemas/capabilityDetail.ts +3 -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 +17 -0
- package/src/api/api-schemas/defaultCapabilitiesGetResponse.ts +17 -0
- package/src/api/api-schemas/defaultCapabilityDetail.fetch.ts +26 -0
- package/src/api/api-schemas/defaultCapabilityDetail.ts +26 -0
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.fetch.ts +15 -0
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts +15 -0
- package/src/api/api-schemas/defaultCapabilityDetailSpec.fetch.ts +15 -0
- package/src/api/api-schemas/defaultCapabilityDetailSpec.ts +15 -0
- 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/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 +5 -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/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 +483 -3
- package/src/api/capabilities/capabilities.ts +404 -3
- 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.10
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
@@ -33,6 +33,7 @@ import type {
|
|
|
33
33
|
CapabilitiesGetResponse,
|
|
34
34
|
CapabilityPostBodyBody,
|
|
35
35
|
CapabilityPostResponse,
|
|
36
|
+
DefaultCapabilitiesGetResponse,
|
|
36
37
|
} from "../api-schemas";
|
|
37
38
|
|
|
38
39
|
import { customInstance } from "../../custom-axios";
|
|
@@ -56,7 +57,7 @@ const withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKe
|
|
|
56
57
|
};
|
|
57
58
|
|
|
58
59
|
/**
|
|
59
|
-
* Gets the Capabilities of all the Organisations, indexed by Organisation. Organisations without Capabilities are not included.
|
|
60
|
+
* 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.
|
|
60
61
|
*
|
|
61
62
|
* You need admin rights to use this path.
|
|
62
63
|
* @summary Gets the Capabilities of all Organisations
|
|
@@ -602,7 +603,7 @@ export function useGetCapabilitiesSuspense<
|
|
|
602
603
|
}
|
|
603
604
|
|
|
604
605
|
/**
|
|
605
|
-
* Deletes a Capability from an Organisation. What else happens depends on the Capability (see the Capability catalogue).
|
|
606
|
+
* Deletes a Capability from an Organisation. What else happens depends on the Capability (see the Capability catalogue). A Default Capability cannot be deleted from one Organisation (it can be disabled).
|
|
606
607
|
*
|
|
607
608
|
* You need admin rights to use this path.
|
|
608
609
|
* @summary Deletes a Capability
|
|
@@ -683,6 +684,406 @@ export const useDeleteCapability = <TError = ErrorType<void | AsError>, TContext
|
|
|
683
684
|
> => {
|
|
684
685
|
return useMutation(getDeleteCapabilityMutationOptions(options), queryClient);
|
|
685
686
|
};
|
|
687
|
+
/**
|
|
688
|
+
* Loads the Capabilities defined in a YAML file as Default Capabilities. A Default Capability is loaded against every Organisation, and against every Organisation that is created later. Either all the Capabilities in the file are loaded (against every Organisation) or none of them are.
|
|
689
|
+
*
|
|
690
|
+
* A Default Capability cannot have the name of another Default Capability, or the name of a Capability that an Organisation has. Some Capabilities cannot be Default Capabilities (for example **viz**, because each Organisation needs its own choice of data-centre server and limits). It is enabled for every Organisation when it's loaded, and it can be enabled and disabled for each Organisation.
|
|
691
|
+
*
|
|
692
|
+
* You need admin rights to use this path.
|
|
693
|
+
* @summary Loads Default Capabilities
|
|
694
|
+
*/
|
|
695
|
+
export const loadDefaultCapabilities = (
|
|
696
|
+
capabilityPostBodyBody: CapabilityPostBodyBody,
|
|
697
|
+
options?: SecondParameter<typeof customInstance>,
|
|
698
|
+
signal?: AbortSignal,
|
|
699
|
+
) => {
|
|
700
|
+
const formData = new FormData();
|
|
701
|
+
formData.append(`capability_file`, capabilityPostBodyBody.capability_file);
|
|
702
|
+
|
|
703
|
+
return customInstance<CapabilityPostResponse>(
|
|
704
|
+
{
|
|
705
|
+
url: `/default-capability`,
|
|
706
|
+
method: "POST",
|
|
707
|
+
headers: { "Content-Type": "multipart/form-data" },
|
|
708
|
+
data: formData,
|
|
709
|
+
signal,
|
|
710
|
+
},
|
|
711
|
+
options,
|
|
712
|
+
);
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
export const getLoadDefaultCapabilitiesMutationOptions = <
|
|
716
|
+
TError = ErrorType<AsError | void>,
|
|
717
|
+
TContext = unknown,
|
|
718
|
+
>(options?: {
|
|
719
|
+
mutation?: UseMutationOptions<
|
|
720
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>,
|
|
721
|
+
TError,
|
|
722
|
+
{ data: CapabilityPostBodyBody },
|
|
723
|
+
TContext
|
|
724
|
+
>;
|
|
725
|
+
request?: SecondParameter<typeof customInstance>;
|
|
726
|
+
}): UseMutationOptions<
|
|
727
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>,
|
|
728
|
+
TError,
|
|
729
|
+
{ data: CapabilityPostBodyBody },
|
|
730
|
+
TContext
|
|
731
|
+
> => {
|
|
732
|
+
const mutationKey = ["loadDefaultCapabilities"];
|
|
733
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
734
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
735
|
+
? options
|
|
736
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
737
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
738
|
+
|
|
739
|
+
const mutationFn: MutationFunction<
|
|
740
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>,
|
|
741
|
+
{ data: CapabilityPostBodyBody }
|
|
742
|
+
> = (props) => {
|
|
743
|
+
const { data } = props ?? {};
|
|
744
|
+
|
|
745
|
+
return loadDefaultCapabilities(data, requestOptions);
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
return { mutationFn, ...mutationOptions };
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
export type LoadDefaultCapabilitiesMutationResult = NonNullable<
|
|
752
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>
|
|
753
|
+
>;
|
|
754
|
+
export type LoadDefaultCapabilitiesMutationBody = CapabilityPostBodyBody;
|
|
755
|
+
export type LoadDefaultCapabilitiesMutationError = ErrorType<AsError | void>;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* @summary Loads Default Capabilities
|
|
759
|
+
*/
|
|
760
|
+
export const useLoadDefaultCapabilities = <TError = ErrorType<AsError | void>, TContext = unknown>(
|
|
761
|
+
options?: {
|
|
762
|
+
mutation?: UseMutationOptions<
|
|
763
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>,
|
|
764
|
+
TError,
|
|
765
|
+
{ data: CapabilityPostBodyBody },
|
|
766
|
+
TContext
|
|
767
|
+
>;
|
|
768
|
+
request?: SecondParameter<typeof customInstance>;
|
|
769
|
+
},
|
|
770
|
+
queryClient?: QueryClient,
|
|
771
|
+
): UseMutationResult<
|
|
772
|
+
Awaited<ReturnType<typeof loadDefaultCapabilities>>,
|
|
773
|
+
TError,
|
|
774
|
+
{ data: CapabilityPostBodyBody },
|
|
775
|
+
TContext
|
|
776
|
+
> => {
|
|
777
|
+
return useMutation(getLoadDefaultCapabilitiesMutationOptions(options), queryClient);
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Gets the Default Capabilities.
|
|
781
|
+
*
|
|
782
|
+
* You need admin rights to use this path.
|
|
783
|
+
* @summary Gets the Default Capabilities
|
|
784
|
+
*/
|
|
785
|
+
export const getDefaultCapabilities = (
|
|
786
|
+
options?: SecondParameter<typeof customInstance>,
|
|
787
|
+
signal?: AbortSignal,
|
|
788
|
+
) => {
|
|
789
|
+
return customInstance<DefaultCapabilitiesGetResponse>(
|
|
790
|
+
{ url: `/default-capability`, method: "GET", signal },
|
|
791
|
+
options,
|
|
792
|
+
);
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
export const getGetDefaultCapabilitiesQueryKey = () => {
|
|
796
|
+
return ["account-server", "default-capability"] as const;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export const getGetDefaultCapabilitiesQueryOptions = <
|
|
800
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
801
|
+
TError = ErrorType<void | AsError>,
|
|
802
|
+
>(options?: {
|
|
803
|
+
query?: Partial<
|
|
804
|
+
UseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
805
|
+
>;
|
|
806
|
+
request?: SecondParameter<typeof customInstance>;
|
|
807
|
+
}) => {
|
|
808
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
809
|
+
|
|
810
|
+
const queryKey = queryOptions?.queryKey ?? getGetDefaultCapabilitiesQueryKey();
|
|
811
|
+
|
|
812
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getDefaultCapabilities>>> = ({ signal }) =>
|
|
813
|
+
getDefaultCapabilities(requestOptions, signal);
|
|
814
|
+
|
|
815
|
+
return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<
|
|
816
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
817
|
+
TError,
|
|
818
|
+
TData
|
|
819
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
export type GetDefaultCapabilitiesQueryResult = NonNullable<
|
|
823
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>
|
|
824
|
+
>;
|
|
825
|
+
export type GetDefaultCapabilitiesQueryError = ErrorType<void | AsError>;
|
|
826
|
+
|
|
827
|
+
export function useGetDefaultCapabilities<
|
|
828
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
829
|
+
TError = ErrorType<void | AsError>,
|
|
830
|
+
>(
|
|
831
|
+
options: {
|
|
832
|
+
query: Partial<
|
|
833
|
+
UseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
834
|
+
> &
|
|
835
|
+
Pick<
|
|
836
|
+
DefinedInitialDataOptions<
|
|
837
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
838
|
+
TError,
|
|
839
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>
|
|
840
|
+
>,
|
|
841
|
+
"initialData"
|
|
842
|
+
>;
|
|
843
|
+
request?: SecondParameter<typeof customInstance>;
|
|
844
|
+
},
|
|
845
|
+
queryClient?: QueryClient,
|
|
846
|
+
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
847
|
+
export function useGetDefaultCapabilities<
|
|
848
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
849
|
+
TError = ErrorType<void | AsError>,
|
|
850
|
+
>(
|
|
851
|
+
options?: {
|
|
852
|
+
query?: Partial<
|
|
853
|
+
UseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
854
|
+
> &
|
|
855
|
+
Pick<
|
|
856
|
+
UndefinedInitialDataOptions<
|
|
857
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
858
|
+
TError,
|
|
859
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>
|
|
860
|
+
>,
|
|
861
|
+
"initialData"
|
|
862
|
+
>;
|
|
863
|
+
request?: SecondParameter<typeof customInstance>;
|
|
864
|
+
},
|
|
865
|
+
queryClient?: QueryClient,
|
|
866
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
867
|
+
export function useGetDefaultCapabilities<
|
|
868
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
869
|
+
TError = ErrorType<void | AsError>,
|
|
870
|
+
>(
|
|
871
|
+
options?: {
|
|
872
|
+
query?: Partial<
|
|
873
|
+
UseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
874
|
+
>;
|
|
875
|
+
request?: SecondParameter<typeof customInstance>;
|
|
876
|
+
},
|
|
877
|
+
queryClient?: QueryClient,
|
|
878
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
879
|
+
/**
|
|
880
|
+
* @summary Gets the Default Capabilities
|
|
881
|
+
*/
|
|
882
|
+
|
|
883
|
+
export function useGetDefaultCapabilities<
|
|
884
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
885
|
+
TError = ErrorType<void | AsError>,
|
|
886
|
+
>(
|
|
887
|
+
options?: {
|
|
888
|
+
query?: Partial<
|
|
889
|
+
UseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
890
|
+
>;
|
|
891
|
+
request?: SecondParameter<typeof customInstance>;
|
|
892
|
+
},
|
|
893
|
+
queryClient?: QueryClient,
|
|
894
|
+
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
895
|
+
const queryOptions = getGetDefaultCapabilitiesQueryOptions(options);
|
|
896
|
+
|
|
897
|
+
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {
|
|
898
|
+
queryKey: DataTag<QueryKey, TData, TError>;
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* @summary Gets the Default Capabilities
|
|
906
|
+
*/
|
|
907
|
+
export const invalidateGetDefaultCapabilities = async (
|
|
908
|
+
queryClient: QueryClient,
|
|
909
|
+
options?: InvalidateOptions,
|
|
910
|
+
): Promise<QueryClient> => {
|
|
911
|
+
await queryClient.invalidateQueries({ queryKey: getGetDefaultCapabilitiesQueryKey() }, options);
|
|
912
|
+
|
|
913
|
+
return queryClient;
|
|
914
|
+
};
|
|
915
|
+
|
|
916
|
+
export const getGetDefaultCapabilitiesSuspenseQueryOptions = <
|
|
917
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
918
|
+
TError = ErrorType<void | AsError>,
|
|
919
|
+
>(options?: {
|
|
920
|
+
query?: Partial<
|
|
921
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
922
|
+
>;
|
|
923
|
+
request?: SecondParameter<typeof customInstance>;
|
|
924
|
+
}) => {
|
|
925
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
926
|
+
|
|
927
|
+
const queryKey = queryOptions?.queryKey ?? getGetDefaultCapabilitiesQueryKey();
|
|
928
|
+
|
|
929
|
+
const queryFn: QueryFunction<Awaited<ReturnType<typeof getDefaultCapabilities>>> = ({ signal }) =>
|
|
930
|
+
getDefaultCapabilities(requestOptions, signal);
|
|
931
|
+
|
|
932
|
+
return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<
|
|
933
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
934
|
+
TError,
|
|
935
|
+
TData
|
|
936
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
export type GetDefaultCapabilitiesSuspenseQueryResult = NonNullable<
|
|
940
|
+
Awaited<ReturnType<typeof getDefaultCapabilities>>
|
|
941
|
+
>;
|
|
942
|
+
export type GetDefaultCapabilitiesSuspenseQueryError = ErrorType<void | AsError>;
|
|
943
|
+
|
|
944
|
+
export function useGetDefaultCapabilitiesSuspense<
|
|
945
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
946
|
+
TError = ErrorType<void | AsError>,
|
|
947
|
+
>(
|
|
948
|
+
options: {
|
|
949
|
+
query: Partial<
|
|
950
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
951
|
+
>;
|
|
952
|
+
request?: SecondParameter<typeof customInstance>;
|
|
953
|
+
},
|
|
954
|
+
queryClient?: QueryClient,
|
|
955
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
956
|
+
export function useGetDefaultCapabilitiesSuspense<
|
|
957
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
958
|
+
TError = ErrorType<void | AsError>,
|
|
959
|
+
>(
|
|
960
|
+
options?: {
|
|
961
|
+
query?: Partial<
|
|
962
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
963
|
+
>;
|
|
964
|
+
request?: SecondParameter<typeof customInstance>;
|
|
965
|
+
},
|
|
966
|
+
queryClient?: QueryClient,
|
|
967
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
968
|
+
export function useGetDefaultCapabilitiesSuspense<
|
|
969
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
970
|
+
TError = ErrorType<void | AsError>,
|
|
971
|
+
>(
|
|
972
|
+
options?: {
|
|
973
|
+
query?: Partial<
|
|
974
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
975
|
+
>;
|
|
976
|
+
request?: SecondParameter<typeof customInstance>;
|
|
977
|
+
},
|
|
978
|
+
queryClient?: QueryClient,
|
|
979
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
980
|
+
/**
|
|
981
|
+
* @summary Gets the Default Capabilities
|
|
982
|
+
*/
|
|
983
|
+
|
|
984
|
+
export function useGetDefaultCapabilitiesSuspense<
|
|
985
|
+
TData = Awaited<ReturnType<typeof getDefaultCapabilities>>,
|
|
986
|
+
TError = ErrorType<void | AsError>,
|
|
987
|
+
>(
|
|
988
|
+
options?: {
|
|
989
|
+
query?: Partial<
|
|
990
|
+
UseSuspenseQueryOptions<Awaited<ReturnType<typeof getDefaultCapabilities>>, TError, TData>
|
|
991
|
+
>;
|
|
992
|
+
request?: SecondParameter<typeof customInstance>;
|
|
993
|
+
},
|
|
994
|
+
queryClient?: QueryClient,
|
|
995
|
+
): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {
|
|
996
|
+
const queryOptions = getGetDefaultCapabilitiesSuspenseQueryOptions(options);
|
|
997
|
+
|
|
998
|
+
const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<
|
|
999
|
+
TData,
|
|
1000
|
+
TError
|
|
1001
|
+
> & { queryKey: DataTag<QueryKey, TData, TError> };
|
|
1002
|
+
|
|
1003
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Deletes a Default Capability, deleting it from every Organisation. What else happens depends on the Capability (see the Capability catalogue). If it cannot be deleted from an Organisation the Default Capability is not deleted, but it stays deleted from the Organisations it was deleted from, and the deletion can be tried again.
|
|
1008
|
+
*
|
|
1009
|
+
* You need admin rights to use this path.
|
|
1010
|
+
* @summary Deletes a Default Capability
|
|
1011
|
+
*/
|
|
1012
|
+
export const deleteDefaultCapability = (
|
|
1013
|
+
capabilityName: string,
|
|
1014
|
+
options?: SecondParameter<typeof customInstance>,
|
|
1015
|
+
signal?: AbortSignal,
|
|
1016
|
+
) => {
|
|
1017
|
+
return customInstance<void>(
|
|
1018
|
+
{ url: `/default-capability/${capabilityName}`, method: "DELETE", signal },
|
|
1019
|
+
options,
|
|
1020
|
+
);
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
export const getDeleteDefaultCapabilityMutationOptions = <
|
|
1024
|
+
TError = ErrorType<void | AsError>,
|
|
1025
|
+
TContext = unknown,
|
|
1026
|
+
>(options?: {
|
|
1027
|
+
mutation?: UseMutationOptions<
|
|
1028
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1029
|
+
TError,
|
|
1030
|
+
{ capabilityName: string },
|
|
1031
|
+
TContext
|
|
1032
|
+
>;
|
|
1033
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1034
|
+
}): UseMutationOptions<
|
|
1035
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1036
|
+
TError,
|
|
1037
|
+
{ capabilityName: string },
|
|
1038
|
+
TContext
|
|
1039
|
+
> => {
|
|
1040
|
+
const mutationKey = ["deleteDefaultCapability"];
|
|
1041
|
+
const { mutation: mutationOptions, request: requestOptions } = options
|
|
1042
|
+
? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey
|
|
1043
|
+
? options
|
|
1044
|
+
: { ...options, mutation: { ...options.mutation, mutationKey } }
|
|
1045
|
+
: { mutation: { mutationKey }, request: undefined };
|
|
1046
|
+
|
|
1047
|
+
const mutationFn: MutationFunction<
|
|
1048
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1049
|
+
{ capabilityName: string }
|
|
1050
|
+
> = (props) => {
|
|
1051
|
+
const { capabilityName } = props ?? {};
|
|
1052
|
+
|
|
1053
|
+
return deleteDefaultCapability(capabilityName, requestOptions);
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
return { mutationFn, ...mutationOptions };
|
|
1057
|
+
};
|
|
1058
|
+
|
|
1059
|
+
export type DeleteDefaultCapabilityMutationResult = NonNullable<
|
|
1060
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>
|
|
1061
|
+
>;
|
|
1062
|
+
|
|
1063
|
+
export type DeleteDefaultCapabilityMutationError = ErrorType<void | AsError>;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* @summary Deletes a Default Capability
|
|
1067
|
+
*/
|
|
1068
|
+
export const useDeleteDefaultCapability = <TError = ErrorType<void | AsError>, TContext = unknown>(
|
|
1069
|
+
options?: {
|
|
1070
|
+
mutation?: UseMutationOptions<
|
|
1071
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1072
|
+
TError,
|
|
1073
|
+
{ capabilityName: string },
|
|
1074
|
+
TContext
|
|
1075
|
+
>;
|
|
1076
|
+
request?: SecondParameter<typeof customInstance>;
|
|
1077
|
+
},
|
|
1078
|
+
queryClient?: QueryClient,
|
|
1079
|
+
): UseMutationResult<
|
|
1080
|
+
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1081
|
+
TError,
|
|
1082
|
+
{ capabilityName: string },
|
|
1083
|
+
TContext
|
|
1084
|
+
> => {
|
|
1085
|
+
return useMutation(getDeleteDefaultCapabilityMutationOptions(options), queryClient);
|
|
1086
|
+
};
|
|
686
1087
|
/**
|
|
687
1088
|
* Enables an Organisation's Capability. An enabled Capability is available to Merchants. It is not an error to enable a Capability that is already enabled.
|
|
688
1089
|
*
|
|
@@ -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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
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.10
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|