@squonk/account-server-client 4.11.0-rc.1 → 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
|
@@ -10,7 +10,7 @@ let _tanstack_react_query = require("@tanstack/react-query");
|
|
|
10
10
|
*
|
|
11
11
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
12
12
|
*
|
|
13
|
-
* OpenAPI spec version: 4.
|
|
13
|
+
* OpenAPI spec version: 4.12
|
|
14
14
|
*/
|
|
15
15
|
const withQueryKey = (query, queryKey) => {
|
|
16
16
|
const result = { queryKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.cjs","names":["customInstance"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.11\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;AAYA,MAAa,cACX,QACA,SACA,WACG;CACH,OAAOA,qBAAAA,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;CAAO,GAChD,OACF;AACF;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,cAAA,GAAA,sBAAA,SAAA,CAJgB,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,cAAA,GAAA,sBAAA,iBAAA,CALwB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
1
|
+
{"version":3,"file":"actions.cjs","names":["customInstance"],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;AAYA,MAAa,cACX,QACA,SACA,WACG;CACH,OAAOA,qBAAAA,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;CAAO,GAChD,OACF;AACF;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,cAAA,GAAA,sBAAA,SAAA,CAJgB,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,cAAA,GAAA,sBAAA,iBAAA,CALwB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
@@ -10,7 +10,7 @@ let _tanstack_react_query = require("@tanstack/react-query");
|
|
|
10
10
|
*
|
|
11
11
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
12
12
|
*
|
|
13
|
-
* OpenAPI spec version: 4.
|
|
13
|
+
* OpenAPI spec version: 4.12
|
|
14
14
|
*/
|
|
15
15
|
const withQueryKey = (query, queryKey) => {
|
|
16
16
|
const result = { queryKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.fetch.cjs","names":["customFetch"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.11\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : String(value));\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;AAWA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,gBAAgB;CAE7C,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;EACrD,IAAI,UAAU,KAAA,GACZ,iBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,OAAO,KAAK,CAAC;CAExE,CAAC;CAED,MAAM,oBAAoB,iBAAiB,SAAS;CAEpD,OAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;AACzE;;;;;;;;;;;AAYA,MAAa,aAAa,OACxB,QACA,YACgC;CAChC,OAAOA,qBAAAA,YAAgC,iBAAiB,MAAM,GAAG;EAAE,GAAG;EAAS,QAAQ;CAAM,CAAC;AAChG;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,cAAA,GAAA,sBAAA,SAAA,CAJgB,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,cAAA,GAAA,sBAAA,iBAAA,CALwB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
1
|
+
{"version":3,"file":"actions.fetch.cjs","names":["customFetch"],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : String(value));\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;AAWA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,gBAAgB;CAE7C,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;EACrD,IAAI,UAAU,KAAA,GACZ,iBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,OAAO,KAAK,CAAC;CAExE,CAAC;CAED,MAAM,oBAAoB,iBAAiB,SAAS;CAEpD,OAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;AACzE;;;;;;;;;;;AAYA,MAAa,aAAa,OACxB,QACA,YACgC;CAChC,OAAOA,qBAAAA,YAAgC,iBAAiB,MAAM,GAAG;EAAE,GAAG;EAAS,QAAQ;CAAM,CAAC;AAChG;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,cAAA,GAAA,sBAAA,SAAA,CAJgB,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,cAAA,GAAA,sBAAA,iBAAA,CALwB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
@@ -9,7 +9,7 @@ import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
|
9
9
|
*
|
|
10
10
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
11
11
|
*
|
|
12
|
-
* OpenAPI spec version: 4.
|
|
12
|
+
* OpenAPI spec version: 4.12
|
|
13
13
|
*/
|
|
14
14
|
const withQueryKey = (query, queryKey) => {
|
|
15
15
|
const result = { queryKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.fetch.js","names":[],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.11\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : String(value));\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;AAWA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,gBAAgB;CAE7C,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;EACrD,IAAI,UAAU,KAAA,GACZ,iBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,OAAO,KAAK,CAAC;CAExE,CAAC;CAED,MAAM,oBAAoB,iBAAiB,SAAS;CAEpD,OAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;AACzE;;;;;;;;;;;AAYA,MAAa,aAAa,OACxB,QACA,YACgC;CAChC,OAAO,YAAgC,iBAAiB,MAAM,GAAG;EAAE,GAAG;EAAS,QAAQ;CAAM,CAAC;AAChG;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,aAJO,SAAS,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,aALO,iBAAiB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
1
|
+
{"version":3,"file":"actions.fetch.js","names":[],"sources":["../../../src/api/actions/actions.fetch.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customFetch } from \"../../custom-fetch\";\nimport type { ErrorType } from \"../../custom-fetch\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\nexport type getActionsResponse200 = { data: ActionGetResponse; status: 200 };\n\nexport type getActionsResponse401 = { data: void; status: 401 };\n\nexport type getActionsResponseSuccess = getActionsResponse200 & { headers: Headers };\nexport type getActionsResponseError = getActionsResponse401 & { headers: Headers };\n\nexport type getActionsResponse = getActionsResponseSuccess | getActionsResponseError;\n\nexport const getGetActionsUrl = (params?: GetActionsParams) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? \"null\" : String(value));\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/action?${stringifiedParams}` : `/action`;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = async (\n params?: GetActionsParams,\n options?: RequestInit,\n): Promise<getActionsResponse> => {\n return customFetch<getActionsResponse>(getGetActionsUrl(params), { ...options, method: \"GET\" });\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, { signal, ...requestOptions });\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customFetch>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;AAWA,MAAa,oBAAoB,WAA8B;CAC7D,MAAM,mBAAmB,IAAI,gBAAgB;CAE7C,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;EACrD,IAAI,UAAU,KAAA,GACZ,iBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,OAAO,KAAK,CAAC;CAExE,CAAC;CAED,MAAM,oBAAoB,iBAAiB,SAAS;CAEpD,OAAO,kBAAkB,SAAS,IAAI,WAAW,sBAAsB;AACzE;;;;;;;;;;;AAYA,MAAa,aAAa,OACxB,QACA,YACgC;CAChC,OAAO,YAAgC,iBAAiB,MAAM,GAAG;EAAE,GAAG;EAAS,QAAQ;CAAM,CAAC;AAChG;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,aAJO,SAAS,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ;EAAE;EAAQ,GAAG;CAAe,CAAC;CAElD,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,aALO,iBAAiB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
@@ -9,7 +9,7 @@ import { useQuery, useSuspenseQuery } from "@tanstack/react-query";
|
|
|
9
9
|
*
|
|
10
10
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
11
11
|
*
|
|
12
|
-
* OpenAPI spec version: 4.
|
|
12
|
+
* OpenAPI spec version: 4.12
|
|
13
13
|
*/
|
|
14
14
|
const withQueryKey = (query, queryKey) => {
|
|
15
15
|
const result = { queryKey };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","names":[],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.11\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;AAYA,MAAa,cACX,QACA,SACA,WACG;CACH,OAAO,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;CAAO,GAChD,OACF;AACF;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,aAJO,SAAS,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,aALO,iBAAiB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
1
|
+
{"version":3,"file":"actions.js","names":[],"sources":["../../../src/api/actions/actions.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\nimport { useQuery, useSuspenseQuery } from \"@tanstack/react-query\";\nimport type {\n DataTag,\n DefinedInitialDataOptions,\n DefinedUseQueryResult,\n InvalidateOptions,\n QueryClient,\n QueryFunction,\n QueryKey,\n UndefinedInitialDataOptions,\n UseQueryOptions,\n UseQueryResult,\n UseSuspenseQueryOptions,\n UseSuspenseQueryResult,\n} from \"@tanstack/react-query\";\n\nimport type { ActionGetResponse, GetActionsParams } from \"../api-schemas\";\n\nimport { customInstance } from \"../../custom-axios\";\nimport type { ErrorType } from \"../../custom-axios\";\n\ntype SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];\n\nconst withQueryKey = <T extends object, K>(query: T, queryKey: K): T & { queryKey: K } => {\n const result = { queryKey } as T & { queryKey: K };\n for (const key of Object.keys(query)) {\n // The explicit queryKey always wins, matching the previous\n // `{ ...query, queryKey }` spread where it was set last.\n if (key === \"queryKey\") continue;\n Object.defineProperty(result, key, {\n enumerable: true,\n configurable: true,\n get: () => (query as Record<string, unknown>)[key],\n });\n }\n return result;\n};\n\n/**\n * This endpoint delivers Action records (protocol buffers) that can be selected based on a date and time range and limited to merchants, organisations, Units, or Products. You can receive Action content as a `PROTOCOL_STRING` (the default), or `JSON_STRING`. If you do not provide a `format` `PROTOCOL_STRING` will be assumed.\n *\n * You can provide a `m_id`, `org_id`, `unit_id`, `product_id`, but only one.\n *\n * You can also provide `from` and `until` dates to limit the response to Actions that occur on the days you select. Actions are returned that are not before the `from` data but are before the `until` date. If neither `from` or `until` is provided `from` is assumed to be from _today_ until _tomorrow_.\n *\n * You need admin privilege to use this endpoint.\n * @summary Gets Actions held on the Account Server\n */\nexport const getActions = (\n params?: GetActionsParams,\n options?: SecondParameter<typeof customInstance>,\n signal?: AbortSignal,\n) => {\n return customInstance<ActionGetResponse>(\n { url: `/action`, method: \"GET\", params, signal },\n options,\n );\n};\n\nexport const getGetActionsQueryKey = (params?: GetActionsParams) => {\n return [\"account-server\", \"action\", ...(params ? [params] : [])] as const;\n};\n\nexport const getGetActionsQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsQueryError = ErrorType<void>;\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n DefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>> &\n Pick<\n UndefinedInitialDataOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n Awaited<ReturnType<typeof getActions>>\n >,\n \"initialData\"\n >;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActions<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsQueryOptions(params, options);\n\n const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & {\n queryKey: DataTag<QueryKey, TData, TError>;\n };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n\n/**\n * @summary Gets Actions held on the Account Server\n */\nexport const invalidateGetActions = async (\n queryClient: QueryClient,\n params?: GetActionsParams,\n options?: InvalidateOptions,\n): Promise<QueryClient> => {\n await queryClient.invalidateQueries({ queryKey: getGetActionsQueryKey(params) }, options);\n\n return queryClient;\n};\n\nexport const getGetActionsSuspenseQueryOptions = <\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n) => {\n const { query: queryOptions, request: requestOptions } = options ?? {};\n\n const queryKey = queryOptions?.queryKey ?? getGetActionsQueryKey(params);\n\n const queryFn: QueryFunction<Awaited<ReturnType<typeof getActions>>> = ({ signal }) =>\n getActions(params, requestOptions, signal);\n\n return { queryKey, queryFn, ...queryOptions } as UseSuspenseQueryOptions<\n Awaited<ReturnType<typeof getActions>>,\n TError,\n TData\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n};\n\nexport type GetActionsSuspenseQueryResult = NonNullable<Awaited<ReturnType<typeof getActions>>>;\nexport type GetActionsSuspenseQueryError = ErrorType<void>;\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params: undefined | GetActionsParams,\n options: {\n query: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> };\n/**\n * @summary Gets Actions held on the Account Server\n */\n\nexport function useGetActionsSuspense<\n TData = Awaited<ReturnType<typeof getActions>>,\n TError = ErrorType<void>,\n>(\n params?: GetActionsParams,\n options?: {\n query?: Partial<UseSuspenseQueryOptions<Awaited<ReturnType<typeof getActions>>, TError, TData>>;\n request?: SecondParameter<typeof customInstance>;\n },\n queryClient?: QueryClient,\n): UseSuspenseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData, TError> } {\n const queryOptions = getGetActionsSuspenseQueryOptions(params, options);\n\n const query = useSuspenseQuery(queryOptions, queryClient) as UseSuspenseQueryResult<\n TData,\n TError\n > & { queryKey: DataTag<QueryKey, TData, TError> };\n\n return withQueryKey(query, queryOptions.queryKey);\n}\n"],"mappings":";;;;;;;;;;;;;AAiCA,MAAM,gBAAqC,OAAU,aAAqC;CACxF,MAAM,SAAS,EAAE,SAAS;CAC1B,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;EAGpC,IAAI,QAAQ,YAAY;EACxB,OAAO,eAAe,QAAQ,KAAK;GACjC,YAAY;GACZ,cAAc;GACd,WAAY,MAAkC;EAChD,CAAC;CACH;CACA,OAAO;AACT;;;;;;;;;;;AAYA,MAAa,cACX,QACA,SACA,WACG;CACH,OAAO,eACL;EAAE,KAAK;EAAW,QAAQ;EAAO;EAAQ;CAAO,GAChD,OACF;AACF;AAEA,MAAa,yBAAyB,WAA8B;CAClE,OAAO;EAAC;EAAkB;EAAU,GAAI,SAAS,CAAC,MAAM,IAAI,CAAC;CAAE;AACjE;AAEA,MAAa,6BAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0DA,SAAgB,cAId,QACA,SAIA,aACgF;CAChF,MAAM,eAAe,0BAA0B,QAAQ,OAAO;CAM9D,OAAO,aAJO,SAAS,cAAc,WAIb,GAAG,aAAa,QAAQ;AAClD;;;;AAKA,MAAa,uBAAuB,OAClC,aACA,QACA,YACyB;CACzB,MAAM,YAAY,kBAAkB,EAAE,UAAU,sBAAsB,MAAM,EAAE,GAAG,OAAO;CAExF,OAAO;AACT;AAEA,MAAa,qCAIX,QACA,YAIG;CACH,MAAM,EAAE,OAAO,cAAc,SAAS,mBAAmB,WAAW,CAAC;CAErE,MAAM,WAAW,cAAc,YAAY,sBAAsB,MAAM;CAEvE,MAAM,WAAkE,EAAE,aACxE,WAAW,QAAQ,gBAAgB,MAAM;CAE3C,OAAO;EAAE;EAAU;EAAS,GAAG;CAAa;AAK9C;;;;AA0CA,SAAgB,sBAId,QACA,SAIA,aACwF;CACxF,MAAM,eAAe,kCAAkC,QAAQ,OAAO;CAOtE,OAAO,aALO,iBAAiB,cAAc,WAKrB,GAAG,aAAa,QAAQ;AAClD"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface AsError {
|
|
13
13
|
/** Brief error text that can be presented to the user */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface AsError {
|
|
13
13
|
/** Brief error text that can be presented to the user */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetDetailScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"assetDetailScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n INTERNAL: \"INTERNAL\",\n} as const;\n"],"mappings":";AAaA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACR,UAAU;AACZ"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];
|
|
13
13
|
declare const AssetDetailScope: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];
|
|
13
13
|
declare const AssetDetailScope: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetDetailScope.js","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"assetDetailScope.js","names":[],"sources":["../../../src/api/api-schemas/assetDetailScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\nexport type AssetDetailScope = (typeof AssetDetailScope)[keyof typeof AssetDetailScope];\n\nexport const AssetDetailScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n INTERNAL: \"INTERNAL\",\n} as const;\n"],"mappings":";AAaA,MAAa,mBAAmB;CAC9B,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACR,UAAU;AACZ"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type AssetPatchBodyBody = {
|
|
13
13
|
/** A file containing the content for the asset. You must provide a value here or in content_string */content_file?: Blob; /** The textual content of the asset. You must provide a value here or in content_file */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type AssetPatchBodyBody = {
|
|
13
13
|
/** A file containing the content for the asset. You must provide a value here or in content_string */content_file?: Blob; /** The textual content of the asset. You must provide a value here or in content_file */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetPostBodyBodyScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"assetPostBodyBodyScope.cjs","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, `GLOBAL`, or `INTERNAL`. `PRODUCT`, `UNIT` and `ORGANISATION` assets need a scope ID. `INTERNAL` assets are read only by the Account Server (for its own use, by a **Capability** for example). Only an administrator can create, see or alter them, and they cannot be attached to a **Merchant**.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n INTERNAL: \"INTERNAL\",\n} as const;\n"],"mappings":";AAiBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACR,UAAU;AACZ"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, `GLOBAL`, or `INTERNAL`. `PRODUCT`, `UNIT` and `ORGANISATION` assets need a scope ID. `INTERNAL` assets are read only by the Account Server (for its own use, by a **Capability** for example). Only an administrator can create, see or alter them, and they cannot be attached to a **Merchant**.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, `GLOBAL`, or `INTERNAL`. `PRODUCT`, `UNIT` and `ORGANISATION` assets need a scope ID. `INTERNAL` assets are read only by the Account Server (for its own use, by a **Capability** for example). Only an administrator can create, see or alter them, and they cannot be attached to a **Merchant**.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetPostBodyBodyScope.js","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"assetPostBodyBodyScope.js","names":[],"sources":["../../../src/api/api-schemas/assetPostBodyBodyScope.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\n/**\n * An enumeration of the scope of the asset. This can be one of `USER`, `PRODUCT`, `UNIT`, `ORGANISATION`, `GLOBAL`, or `INTERNAL`. `PRODUCT`, `UNIT` and `ORGANISATION` assets need a scope ID. `INTERNAL` assets are read only by the Account Server (for its own use, by a **Capability** for example). Only an administrator can create, see or alter them, and they cannot be attached to a **Merchant**.\n */\nexport type AssetPostBodyBodyScope =\n (typeof AssetPostBodyBodyScope)[keyof typeof AssetPostBodyBodyScope];\n\nexport const AssetPostBodyBodyScope = {\n USER: \"USER\",\n PRODUCT: \"PRODUCT\",\n UNIT: \"UNIT\",\n ORGANISATION: \"ORGANISATION\",\n GLOBAL: \"GLOBAL\",\n INTERNAL: \"INTERNAL\",\n} as const;\n"],"mappings":";AAiBA,MAAa,yBAAyB;CACpC,MAAM;CACN,SAAS;CACT,MAAM;CACN,cAAc;CACd,QAAQ;CACR,UAAU;AACZ"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface AssetPostResponse {
|
|
13
13
|
/** The Asset ID */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface AssetPostResponse {
|
|
13
13
|
/** The Asset ID */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilityDetailMerchantKind.cjs","names":[],"sources":["../../../src/api/api-schemas/capabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"capabilityDetailMerchantKind.cjs","names":[],"sources":["../../../src/api/api-schemas/capabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\nexport type CapabilityDetailMerchantKind =\n (typeof CapabilityDetailMerchantKind)[keyof typeof CapabilityDetailMerchantKind];\n\nexport const CapabilityDetailMerchantKind = { DATA_MANAGER: \"DATA_MANAGER\" } as const;\n"],"mappings":";AAcA,MAAa,+BAA+B,EAAE,cAAc,eAAe"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type CapabilityDetailMerchantKind = (typeof CapabilityDetailMerchantKind)[keyof typeof CapabilityDetailMerchantKind];
|
|
13
13
|
declare const CapabilityDetailMerchantKind: {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type CapabilityDetailMerchantKind = (typeof CapabilityDetailMerchantKind)[keyof typeof CapabilityDetailMerchantKind];
|
|
13
13
|
declare const CapabilityDetailMerchantKind: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilityDetailMerchantKind.js","names":[],"sources":["../../../src/api/api-schemas/capabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"capabilityDetailMerchantKind.js","names":[],"sources":["../../../src/api/api-schemas/capabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\nexport type CapabilityDetailMerchantKind =\n (typeof CapabilityDetailMerchantKind)[keyof typeof CapabilityDetailMerchantKind];\n\nexport const CapabilityDetailMerchantKind = { DATA_MANAGER: \"DATA_MANAGER\" } as const;\n"],"mappings":";AAcA,MAAa,+BAA+B,EAAE,cAAc,eAAe"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The Capability-specific spec, from its definition
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The Capability-specific spec, from its definition
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type CapabilityPostBodyBody = {
|
|
13
13
|
/** A YAML file of one or more Capability definitions */capability_file: Blob;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
type CapabilityPostBodyBody = {
|
|
13
13
|
/** A YAML file of one or more Capability definitions */capability_file: Blob;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface CapabilityPostResponse {
|
|
13
13
|
/** The names of the Capabilities that were loaded */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface CapabilityPostResponse {
|
|
13
13
|
/** The names of the Capabilities that were loaded */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface ChargeAdditionalData {
|
|
13
13
|
[key: string]: unknown;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
interface ChargeAdditionalData {
|
|
13
13
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chargeSummaryType.cjs","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"chargeSummaryType.cjs","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";AAgBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;AAAU"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The type of charge
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.
|
|
9
9
|
*
|
|
10
|
-
* OpenAPI spec version: 4.
|
|
10
|
+
* OpenAPI spec version: 4.12
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The type of charge
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chargeSummaryType.js","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"chargeSummaryType.js","names":[],"sources":["../../../src/api/api-schemas/chargeSummaryType.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\n/**\n * The type of charge\n */\nexport type ChargeSummaryType = (typeof ChargeSummaryType)[keyof typeof ChargeSummaryType];\n\nexport const ChargeSummaryType = { PROCESSING: \"PROCESSING\", STORAGE: \"STORAGE\" } as const;\n"],"mappings":";AAgBA,MAAa,oBAAoB;CAAE,YAAY;CAAc,SAAS;AAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultCapabilityDetailMerchantKind.cjs","names":[],"sources":["../../../src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.
|
|
1
|
+
{"version":3,"file":"defaultCapabilityDetailMerchantKind.cjs","names":[],"sources":["../../../src/api/api-schemas/defaultCapabilityDetailMerchantKind.ts"],"sourcesContent":["/**\n * Generated by orval v8.22.0 🍺\n * Do not edit manually.\n * Account Server API\n * The Informatics Matters Account Server API.\n *\n * A service that provides access to the Account Server, which gives *registered* users access to and management of **Organisations**, **Units**, **Products**, **Users**, and **Assets**.\n *\n * OpenAPI spec version: 4.12\n */\n\nexport type DefaultCapabilityDetailMerchantKind =\n (typeof DefaultCapabilityDetailMerchantKind)[keyof typeof DefaultCapabilityDetailMerchantKind];\n\nexport const DefaultCapabilityDetailMerchantKind = { DATA_MANAGER: \"DATA_MANAGER\" } as const;\n"],"mappings":";AAcA,MAAa,sCAAsC,EAAE,cAAc,eAAe"}
|