@squonk/account-server-client 4.11.0 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/actions/actions.cjs +1 -1
- package/dist/api/actions/actions.cjs.map +1 -1
- package/dist/api/actions/actions.fetch.cjs +1 -1
- package/dist/api/actions/actions.fetch.cjs.map +1 -1
- package/dist/api/actions/actions.fetch.js +1 -1
- package/dist/api/actions/actions.fetch.js.map +1 -1
- package/dist/api/actions/actions.js +1 -1
- package/dist/api/actions/actions.js.map +1 -1
- package/dist/api/api-schemas/asError.d.cts +1 -1
- package/dist/api/api-schemas/asError.d.ts +1 -1
- package/dist/api/api-schemas/assetDetailScope.cjs.map +1 -1
- package/dist/api/api-schemas/assetDetailScope.d.cts +1 -1
- package/dist/api/api-schemas/assetDetailScope.d.ts +1 -1
- package/dist/api/api-schemas/assetDetailScope.js.map +1 -1
- package/dist/api/api-schemas/assetPatchBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/assetPatchBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.cjs.map +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.d.cts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.d.ts +1 -1
- package/dist/api/api-schemas/assetPostBodyBodyScope.js.map +1 -1
- package/dist/api/api-schemas/assetPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/assetPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.cjs.map +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.d.cts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.d.ts +1 -1
- package/dist/api/api-schemas/capabilityDetailMerchantKind.js.map +1 -1
- package/dist/api/api-schemas/capabilityDetailSpec.d.cts +1 -1
- package/dist/api/api-schemas/capabilityDetailSpec.d.ts +1 -1
- package/dist/api/api-schemas/capabilityPostBodyBody.d.cts +1 -1
- package/dist/api/api-schemas/capabilityPostBodyBody.d.ts +1 -1
- package/dist/api/api-schemas/capabilityPostResponse.d.cts +1 -1
- package/dist/api/api-schemas/capabilityPostResponse.d.ts +1 -1
- package/dist/api/api-schemas/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/deleteCapabilityParams.d.cts +12 -0
- package/dist/api/api-schemas/deleteCapabilityParams.d.cts.map +1 -0
- package/dist/api/api-schemas/deleteCapabilityParams.d.ts +12 -0
- package/dist/api/api-schemas/deleteCapabilityParams.d.ts.map +1 -0
- package/dist/api/api-schemas/deleteDefaultCapabilityParams.d.cts +12 -0
- package/dist/api/api-schemas/deleteDefaultCapabilityParams.d.cts.map +1 -0
- package/dist/api/api-schemas/deleteDefaultCapabilityParams.d.ts +12 -0
- package/dist/api/api-schemas/deleteDefaultCapabilityParams.d.ts.map +1 -0
- package/dist/api/api-schemas/deleteOrganisationParams.d.cts +12 -0
- package/dist/api/api-schemas/deleteOrganisationParams.d.cts.map +1 -0
- package/dist/api/api-schemas/deleteOrganisationParams.d.ts +12 -0
- package/dist/api/api-schemas/deleteOrganisationParams.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/qCapabilityParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCapabilityParameter.d.ts +1 -1
- package/dist/api/api-schemas/qCreatedFromParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCreatedFromParameter.d.ts +1 -1
- package/dist/api/api-schemas/qCreatedUntilParameter.d.cts +1 -1
- package/dist/api/api-schemas/qCreatedUntilParameter.d.ts +1 -1
- package/dist/api/api-schemas/qForceParameter.d.cts +18 -0
- package/dist/api/api-schemas/qForceParameter.d.cts.map +1 -0
- package/dist/api/api-schemas/qForceParameter.d.ts +18 -0
- package/dist/api/api-schemas/qForceParameter.d.ts.map +1 -0
- 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 +11 -9
- package/dist/api/capabilities/capabilities.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.d.cts +14 -4
- package/dist/api/capabilities/capabilities.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.d.ts +14 -4
- package/dist/api/capabilities/capabilities.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.cjs +25 -15
- package/dist/api/capabilities/capabilities.fetch.cjs.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.cts +16 -6
- package/dist/api/capabilities/capabilities.fetch.d.cts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.d.ts +16 -6
- package/dist/api/capabilities/capabilities.fetch.d.ts.map +1 -1
- package/dist/api/capabilities/capabilities.fetch.js +25 -15
- package/dist/api/capabilities/capabilities.fetch.js.map +1 -1
- package/dist/api/capabilities/capabilities.js +11 -9
- 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 +6 -5
- package/dist/api/organisation/organisation.cjs.map +1 -1
- package/dist/api/organisation/organisation.d.cts +7 -2
- package/dist/api/organisation/organisation.d.cts.map +1 -1
- package/dist/api/organisation/organisation.d.ts +7 -2
- package/dist/api/organisation/organisation.d.ts.map +1 -1
- package/dist/api/organisation/organisation.fetch.cjs +13 -8
- package/dist/api/organisation/organisation.fetch.cjs.map +1 -1
- package/dist/api/organisation/organisation.fetch.d.cts +8 -3
- package/dist/api/organisation/organisation.fetch.d.cts.map +1 -1
- package/dist/api/organisation/organisation.fetch.d.ts +8 -3
- package/dist/api/organisation/organisation.fetch.d.ts.map +1 -1
- package/dist/api/organisation/organisation.fetch.js +13 -8
- package/dist/api/organisation/organisation.fetch.js.map +1 -1
- package/dist/api/organisation/organisation.js +6 -5
- 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 +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/api/actions/actions.fetch.ts +1 -1
- package/src/api/actions/actions.ts +1 -1
- package/src/api/api-schemas/actionDetail.fetch.ts +1 -1
- package/src/api/api-schemas/actionDetail.ts +1 -1
- package/src/api/api-schemas/actionGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/actionGetResponse.ts +1 -1
- package/src/api/api-schemas/allCapabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/allCapabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/asError.fetch.ts +1 -1
- package/src/api/api-schemas/asError.ts +1 -1
- package/src/api/api-schemas/assetDetail.fetch.ts +1 -1
- package/src/api/api-schemas/assetDetail.ts +1 -1
- package/src/api/api-schemas/assetDetailScope.fetch.ts +1 -1
- package/src/api/api-schemas/assetDetailScope.ts +1 -1
- package/src/api/api-schemas/assetGetByIdResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetGetByIdResponse.ts +1 -1
- package/src/api/api-schemas/assetGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetGetResponse.ts +1 -1
- package/src/api/api-schemas/assetPatchBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/assetPatchBodyBody.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBody.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBodyScope.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostBodyBodyScope.ts +1 -1
- package/src/api/api-schemas/assetPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/assetPostResponse.ts +1 -1
- package/src/api/api-schemas/attachAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/attachAssetParams.ts +1 -1
- package/src/api/api-schemas/capabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/capabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/capabilityDetail.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetail.ts +1 -1
- package/src/api/api-schemas/capabilityDetailMerchantKind.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetailMerchantKind.ts +1 -1
- package/src/api/api-schemas/capabilityDetailSpec.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityDetailSpec.ts +1 -1
- package/src/api/api-schemas/capabilityPostBodyBody.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityPostBodyBody.ts +1 -1
- package/src/api/api-schemas/capabilityPostResponse.fetch.ts +1 -1
- package/src/api/api-schemas/capabilityPostResponse.ts +1 -1
- package/src/api/api-schemas/chargeAdditionalData.fetch.ts +1 -1
- package/src/api/api-schemas/chargeAdditionalData.ts +1 -1
- package/src/api/api-schemas/chargeSummary.fetch.ts +1 -1
- package/src/api/api-schemas/chargeSummary.ts +1 -1
- package/src/api/api-schemas/chargeSummaryType.fetch.ts +1 -1
- package/src/api/api-schemas/chargeSummaryType.ts +1 -1
- package/src/api/api-schemas/chargesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/chargesGetResponse.ts +1 -1
- package/src/api/api-schemas/defaultCapabilitiesGetResponse.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilitiesGetResponse.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetail.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetail.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailSpec.fetch.ts +1 -1
- package/src/api/api-schemas/defaultCapabilityDetailSpec.ts +1 -1
- package/src/api/api-schemas/deleteCapabilityParams.fetch.ts +18 -0
- package/src/api/api-schemas/deleteCapabilityParams.ts +18 -0
- package/src/api/api-schemas/deleteDefaultCapabilityParams.fetch.ts +18 -0
- package/src/api/api-schemas/deleteDefaultCapabilityParams.ts +18 -0
- package/src/api/api-schemas/deleteOrganisationParams.fetch.ts +18 -0
- package/src/api/api-schemas/deleteOrganisationParams.ts +18 -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/getAllCapabilitiesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getAllCapabilitiesParams.ts +1 -1
- package/src/api/api-schemas/getAssetParams.fetch.ts +1 -1
- package/src/api/api-schemas/getAssetParams.ts +1 -1
- package/src/api/api-schemas/getChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getChargesParams.ts +1 -1
- package/src/api/api-schemas/getIncidentsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getIncidentsParams.ts +1 -1
- package/src/api/api-schemas/getNotificationsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getNotificationsParams.ts +1 -1
- package/src/api/api-schemas/getOrganisationChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getOrganisationChargesParams.ts +1 -1
- package/src/api/api-schemas/getOrganisationsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getOrganisationsParams.ts +1 -1
- package/src/api/api-schemas/getProductChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getProductChargesParams.ts +1 -1
- package/src/api/api-schemas/getUnitChargesParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUnitChargesParams.ts +1 -1
- package/src/api/api-schemas/getUnitsParams.fetch.ts +1 -1
- package/src/api/api-schemas/getUnitsParams.ts +1 -1
- package/src/api/api-schemas/incidentDetail.fetch.ts +1 -1
- package/src/api/api-schemas/incidentDetail.ts +1 -1
- package/src/api/api-schemas/incidentDetailScope.fetch.ts +1 -1
- package/src/api/api-schemas/incidentDetailScope.ts +1 -1
- package/src/api/api-schemas/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/qCapabilityParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCapabilityParameter.ts +1 -1
- package/src/api/api-schemas/qCreatedFromParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCreatedFromParameter.ts +1 -1
- package/src/api/api-schemas/qCreatedUntilParameter.fetch.ts +1 -1
- package/src/api/api-schemas/qCreatedUntilParameter.ts +1 -1
- package/src/api/api-schemas/qForceParameter.fetch.ts +15 -0
- package/src/api/api-schemas/qForceParameter.ts +15 -0
- 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 +61 -26
- package/src/api/capabilities/capabilities.ts +23 -19
- 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 +26 -12
- package/src/api/organisation/organisation.ts +15 -10
- 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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitDetailDefaultProductPrivacy } from "./unitDetailDefaultProductPrivacy";
|
|
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.12
|
|
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.12
|
|
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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitAllDetail } from "./unitAllDetail.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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitAllDetail } from "./unitAllDetail";
|
|
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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitPatchBodyBodyDefaultProductPrivacy } from "./unitPatchBodyBodyDefaultProductPrivacy.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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { UnitPatchBodyBodyDefaultProductPrivacy } from "./unitPatchBodyBodyDefaultProductPrivacy";
|
|
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.12
|
|
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.12
|
|
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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { ChargeSummary } from "./chargeSummary.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.12
|
|
10
10
|
*/
|
|
11
11
|
import type { ChargeSummary } from "./chargeSummary";
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
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.12
|
|
10
10
|
*/
|
|
11
11
|
import { useMutation, useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
12
12
|
import type {
|
|
@@ -34,6 +34,8 @@ import type {
|
|
|
34
34
|
CapabilityPostBodyBody,
|
|
35
35
|
CapabilityPostResponse,
|
|
36
36
|
DefaultCapabilitiesGetResponse,
|
|
37
|
+
DeleteCapabilityParams,
|
|
38
|
+
DeleteDefaultCapabilityParams,
|
|
37
39
|
GetAllCapabilitiesParams,
|
|
38
40
|
} from "../api-schemas";
|
|
39
41
|
|
|
@@ -723,12 +725,28 @@ export type deleteCapabilityResponse =
|
|
|
723
725
|
| deleteCapabilityResponseSuccess
|
|
724
726
|
| deleteCapabilityResponseError;
|
|
725
727
|
|
|
726
|
-
export const getDeleteCapabilityUrl = (
|
|
727
|
-
|
|
728
|
+
export const getDeleteCapabilityUrl = (
|
|
729
|
+
orgId: string,
|
|
730
|
+
capabilityName: string,
|
|
731
|
+
params?: DeleteCapabilityParams,
|
|
732
|
+
) => {
|
|
733
|
+
const normalizedParams = new URLSearchParams();
|
|
734
|
+
|
|
735
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
736
|
+
if (value !== undefined) {
|
|
737
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
738
|
+
}
|
|
739
|
+
});
|
|
740
|
+
|
|
741
|
+
const stringifiedParams = normalizedParams.toString();
|
|
742
|
+
|
|
743
|
+
return stringifiedParams.length > 0
|
|
744
|
+
? `/capability/${orgId}/${capabilityName}?${stringifiedParams}`
|
|
745
|
+
: `/capability/${orgId}/${capabilityName}`;
|
|
728
746
|
};
|
|
729
747
|
|
|
730
748
|
/**
|
|
731
|
-
* 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).
|
|
749
|
+
* Deletes a Capability from an Organisation. What else happens depends on the Capability (see the Capability catalogue). If the Capability cannot be deleted, set `force` to delete it anyway. A Default Capability cannot be deleted from one Organisation (it can be disabled).
|
|
732
750
|
*
|
|
733
751
|
* You need admin rights to use this path.
|
|
734
752
|
* @summary Deletes a Capability
|
|
@@ -736,12 +754,13 @@ export const getDeleteCapabilityUrl = (orgId: string, capabilityName: string) =>
|
|
|
736
754
|
export const deleteCapability = async (
|
|
737
755
|
orgId: string,
|
|
738
756
|
capabilityName: string,
|
|
757
|
+
params?: DeleteCapabilityParams,
|
|
739
758
|
options?: RequestInit,
|
|
740
759
|
): Promise<deleteCapabilityResponse> => {
|
|
741
|
-
return customFetch<deleteCapabilityResponse>(
|
|
742
|
-
|
|
743
|
-
method: "DELETE",
|
|
744
|
-
|
|
760
|
+
return customFetch<deleteCapabilityResponse>(
|
|
761
|
+
getDeleteCapabilityUrl(orgId, capabilityName, params),
|
|
762
|
+
{ ...options, method: "DELETE" },
|
|
763
|
+
);
|
|
745
764
|
};
|
|
746
765
|
|
|
747
766
|
export const getDeleteCapabilityMutationOptions = <
|
|
@@ -751,14 +770,14 @@ export const getDeleteCapabilityMutationOptions = <
|
|
|
751
770
|
mutation?: UseMutationOptions<
|
|
752
771
|
Awaited<ReturnType<typeof deleteCapability>>,
|
|
753
772
|
TError,
|
|
754
|
-
{ orgId: string; capabilityName: string },
|
|
773
|
+
{ orgId: string; capabilityName: string; params?: DeleteCapabilityParams },
|
|
755
774
|
TContext
|
|
756
775
|
>;
|
|
757
776
|
request?: SecondParameter<typeof customFetch>;
|
|
758
777
|
}): UseMutationOptions<
|
|
759
778
|
Awaited<ReturnType<typeof deleteCapability>>,
|
|
760
779
|
TError,
|
|
761
|
-
{ orgId: string; capabilityName: string },
|
|
780
|
+
{ orgId: string; capabilityName: string; params?: DeleteCapabilityParams },
|
|
762
781
|
TContext
|
|
763
782
|
> => {
|
|
764
783
|
const mutationKey = ["deleteCapability"];
|
|
@@ -770,11 +789,11 @@ export const getDeleteCapabilityMutationOptions = <
|
|
|
770
789
|
|
|
771
790
|
const mutationFn: MutationFunction<
|
|
772
791
|
Awaited<ReturnType<typeof deleteCapability>>,
|
|
773
|
-
{ orgId: string; capabilityName: string }
|
|
792
|
+
{ orgId: string; capabilityName: string; params?: DeleteCapabilityParams }
|
|
774
793
|
> = (props) => {
|
|
775
|
-
const { orgId, capabilityName } = props ?? {};
|
|
794
|
+
const { orgId, capabilityName, params } = props ?? {};
|
|
776
795
|
|
|
777
|
-
return deleteCapability(orgId, capabilityName, requestOptions);
|
|
796
|
+
return deleteCapability(orgId, capabilityName, params, requestOptions);
|
|
778
797
|
};
|
|
779
798
|
|
|
780
799
|
return { mutationFn, ...mutationOptions };
|
|
@@ -794,7 +813,7 @@ export const useDeleteCapability = <TError = ErrorType<void | AsError>, TContext
|
|
|
794
813
|
mutation?: UseMutationOptions<
|
|
795
814
|
Awaited<ReturnType<typeof deleteCapability>>,
|
|
796
815
|
TError,
|
|
797
|
-
{ orgId: string; capabilityName: string },
|
|
816
|
+
{ orgId: string; capabilityName: string; params?: DeleteCapabilityParams },
|
|
798
817
|
TContext
|
|
799
818
|
>;
|
|
800
819
|
request?: SecondParameter<typeof customFetch>;
|
|
@@ -803,7 +822,7 @@ export const useDeleteCapability = <TError = ErrorType<void | AsError>, TContext
|
|
|
803
822
|
): UseMutationResult<
|
|
804
823
|
Awaited<ReturnType<typeof deleteCapability>>,
|
|
805
824
|
TError,
|
|
806
|
-
{ orgId: string; capabilityName: string },
|
|
825
|
+
{ orgId: string; capabilityName: string; params?: DeleteCapabilityParams },
|
|
807
826
|
TContext
|
|
808
827
|
> => {
|
|
809
828
|
return useMutation(getDeleteCapabilityMutationOptions(options), queryClient);
|
|
@@ -1200,22 +1219,38 @@ export type deleteDefaultCapabilityResponse =
|
|
|
1200
1219
|
| deleteDefaultCapabilityResponseSuccess
|
|
1201
1220
|
| deleteDefaultCapabilityResponseError;
|
|
1202
1221
|
|
|
1203
|
-
export const getDeleteDefaultCapabilityUrl = (
|
|
1204
|
-
|
|
1222
|
+
export const getDeleteDefaultCapabilityUrl = (
|
|
1223
|
+
capabilityName: string,
|
|
1224
|
+
params?: DeleteDefaultCapabilityParams,
|
|
1225
|
+
) => {
|
|
1226
|
+
const normalizedParams = new URLSearchParams();
|
|
1227
|
+
|
|
1228
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1229
|
+
if (value !== undefined) {
|
|
1230
|
+
normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1233
|
+
|
|
1234
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1235
|
+
|
|
1236
|
+
return stringifiedParams.length > 0
|
|
1237
|
+
? `/default-capability/${capabilityName}?${stringifiedParams}`
|
|
1238
|
+
: `/default-capability/${capabilityName}`;
|
|
1205
1239
|
};
|
|
1206
1240
|
|
|
1207
1241
|
/**
|
|
1208
|
-
* 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.
|
|
1242
|
+
* 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. Set `force` to delete the Capabilities (and the Default Capability) anyway.
|
|
1209
1243
|
*
|
|
1210
1244
|
* You need admin rights to use this path.
|
|
1211
1245
|
* @summary Deletes a Default Capability
|
|
1212
1246
|
*/
|
|
1213
1247
|
export const deleteDefaultCapability = async (
|
|
1214
1248
|
capabilityName: string,
|
|
1249
|
+
params?: DeleteDefaultCapabilityParams,
|
|
1215
1250
|
options?: RequestInit,
|
|
1216
1251
|
): Promise<deleteDefaultCapabilityResponse> => {
|
|
1217
1252
|
return customFetch<deleteDefaultCapabilityResponse>(
|
|
1218
|
-
getDeleteDefaultCapabilityUrl(capabilityName),
|
|
1253
|
+
getDeleteDefaultCapabilityUrl(capabilityName, params),
|
|
1219
1254
|
{ ...options, method: "DELETE" },
|
|
1220
1255
|
);
|
|
1221
1256
|
};
|
|
@@ -1227,14 +1262,14 @@ export const getDeleteDefaultCapabilityMutationOptions = <
|
|
|
1227
1262
|
mutation?: UseMutationOptions<
|
|
1228
1263
|
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1229
1264
|
TError,
|
|
1230
|
-
{ capabilityName: string },
|
|
1265
|
+
{ capabilityName: string; params?: DeleteDefaultCapabilityParams },
|
|
1231
1266
|
TContext
|
|
1232
1267
|
>;
|
|
1233
1268
|
request?: SecondParameter<typeof customFetch>;
|
|
1234
1269
|
}): UseMutationOptions<
|
|
1235
1270
|
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1236
1271
|
TError,
|
|
1237
|
-
{ capabilityName: string },
|
|
1272
|
+
{ capabilityName: string; params?: DeleteDefaultCapabilityParams },
|
|
1238
1273
|
TContext
|
|
1239
1274
|
> => {
|
|
1240
1275
|
const mutationKey = ["deleteDefaultCapability"];
|
|
@@ -1246,11 +1281,11 @@ export const getDeleteDefaultCapabilityMutationOptions = <
|
|
|
1246
1281
|
|
|
1247
1282
|
const mutationFn: MutationFunction<
|
|
1248
1283
|
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1249
|
-
{ capabilityName: string }
|
|
1284
|
+
{ capabilityName: string; params?: DeleteDefaultCapabilityParams }
|
|
1250
1285
|
> = (props) => {
|
|
1251
|
-
const { capabilityName } = props ?? {};
|
|
1286
|
+
const { capabilityName, params } = props ?? {};
|
|
1252
1287
|
|
|
1253
|
-
return deleteDefaultCapability(capabilityName, requestOptions);
|
|
1288
|
+
return deleteDefaultCapability(capabilityName, params, requestOptions);
|
|
1254
1289
|
};
|
|
1255
1290
|
|
|
1256
1291
|
return { mutationFn, ...mutationOptions };
|
|
@@ -1270,7 +1305,7 @@ export const useDeleteDefaultCapability = <TError = ErrorType<void | AsError>, T
|
|
|
1270
1305
|
mutation?: UseMutationOptions<
|
|
1271
1306
|
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1272
1307
|
TError,
|
|
1273
|
-
{ capabilityName: string },
|
|
1308
|
+
{ capabilityName: string; params?: DeleteDefaultCapabilityParams },
|
|
1274
1309
|
TContext
|
|
1275
1310
|
>;
|
|
1276
1311
|
request?: SecondParameter<typeof customFetch>;
|
|
@@ -1279,7 +1314,7 @@ export const useDeleteDefaultCapability = <TError = ErrorType<void | AsError>, T
|
|
|
1279
1314
|
): UseMutationResult<
|
|
1280
1315
|
Awaited<ReturnType<typeof deleteDefaultCapability>>,
|
|
1281
1316
|
TError,
|
|
1282
|
-
{ capabilityName: string },
|
|
1317
|
+
{ capabilityName: string; params?: DeleteDefaultCapabilityParams },
|
|
1283
1318
|
TContext
|
|
1284
1319
|
> => {
|
|
1285
1320
|
return useMutation(getDeleteDefaultCapabilityMutationOptions(options), queryClient);
|