@azure/service-bus 7.10.0-beta.1 → 7.10.0-beta.3
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/README.md +114 -57
- package/dist/browser/connectionContext.d.ts +109 -0
- package/dist/browser/connectionContext.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/connectionContext.js +9 -9
- package/dist/browser/connectionContext.js.map +1 -0
- package/dist/browser/constructorHelpers.d.ts +79 -0
- package/dist/browser/constructorHelpers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/constructorHelpers.js +5 -5
- package/dist/browser/constructorHelpers.js.map +1 -0
- package/dist/browser/core/autoLockRenewer.d.ts +58 -0
- package/dist/browser/core/autoLockRenewer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/autoLockRenewer.js +12 -8
- package/dist/browser/core/autoLockRenewer.js.map +1 -0
- package/dist/browser/core/batchingReceiver.d.ts +120 -0
- package/dist/browser/core/batchingReceiver.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/batchingReceiver.js +23 -13
- package/dist/browser/core/batchingReceiver.js.map +1 -0
- package/dist/browser/core/linkEntity.d.ts +192 -0
- package/dist/browser/core/linkEntity.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/linkEntity.js +77 -14
- package/dist/browser/core/linkEntity.js.map +1 -0
- package/dist/browser/core/managementClient.d.ts +312 -0
- package/dist/browser/core/managementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/managementClient.js +37 -33
- package/dist/browser/core/managementClient.js.map +1 -0
- package/dist/browser/core/messageReceiver.d.ts +147 -0
- package/dist/browser/core/messageReceiver.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/messageReceiver.js +36 -14
- package/dist/browser/core/messageReceiver.js.map +1 -0
- package/dist/browser/core/messageSender.d.ts +93 -0
- package/dist/browser/core/messageSender.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/messageSender.js +36 -12
- package/dist/browser/core/messageSender.js.map +1 -0
- package/dist/browser/core/receiverHelper.d.ts +45 -0
- package/dist/browser/core/receiverHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/receiverHelper.js +6 -5
- package/dist/browser/core/receiverHelper.js.map +1 -0
- package/dist/browser/core/shared.d.ts +34 -0
- package/dist/browser/core/shared.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/shared.js +3 -3
- package/dist/browser/core/shared.js.map +1 -0
- package/dist/browser/core/streamingReceiver.d.ts +142 -0
- package/dist/browser/core/streamingReceiver.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/core/streamingReceiver.js +73 -36
- package/dist/browser/core/streamingReceiver.js.map +1 -0
- package/dist/browser/dataTransformer.d.ts +77 -0
- package/dist/browser/dataTransformer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/dataTransformer.js +2 -2
- package/dist/browser/dataTransformer.js.map +1 -0
- package/dist/browser/diagnostics/instrumentServiceBusMessage.d.ts +50 -0
- package/dist/browser/diagnostics/instrumentServiceBusMessage.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/diagnostics/instrumentServiceBusMessage.js +2 -2
- package/dist/browser/diagnostics/instrumentServiceBusMessage.js.map +1 -0
- package/dist/browser/diagnostics/tracing.d.ts +21 -0
- package/dist/browser/diagnostics/tracing.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/diagnostics/tracing.js +2 -2
- package/dist/browser/diagnostics/tracing.js.map +1 -0
- package/dist/browser/experimental/index.d.ts +10 -0
- package/dist/browser/experimental/index.d.ts.map +1 -0
- package/dist/browser/experimental/index.js +4 -0
- package/dist/browser/experimental/index.js.map +1 -0
- package/dist/browser/index.d.ts +26 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +5 -5
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/log.d.ts +70 -0
- package/dist/browser/log.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/log.js +1 -1
- package/dist/browser/log.js.map +1 -0
- package/dist/browser/models.d.ts +328 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/modelsToBeSharedWithEventHubs.d.ts +18 -0
- package/dist/browser/modelsToBeSharedWithEventHubs.d.ts.map +1 -0
- package/dist/browser/modelsToBeSharedWithEventHubs.js +4 -0
- package/dist/browser/modelsToBeSharedWithEventHubs.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/receivers/receiver.d.ts +299 -0
- package/dist/browser/receivers/receiver.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/receivers/receiver.js +40 -22
- package/dist/browser/receivers/receiver.js.map +1 -0
- package/dist/browser/receivers/receiverCommon.d.ts +81 -0
- package/dist/browser/receivers/receiverCommon.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/receivers/receiverCommon.js +7 -8
- package/dist/browser/receivers/receiverCommon.js.map +1 -0
- package/dist/browser/receivers/sessionReceiver.d.ts +189 -0
- package/dist/browser/receivers/sessionReceiver.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/receivers/sessionReceiver.js +32 -24
- package/dist/browser/receivers/sessionReceiver.js.map +1 -0
- package/dist/browser/sender.d.ts +125 -0
- package/dist/browser/sender.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sender.js +19 -13
- package/dist/browser/sender.js.map +1 -0
- package/dist/browser/serializers/namespaceResourceSerializer.d.ts +46 -0
- package/dist/browser/serializers/namespaceResourceSerializer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serializers/namespaceResourceSerializer.js +3 -3
- package/dist/browser/serializers/namespaceResourceSerializer.js.map +1 -0
- package/dist/browser/serializers/queueResourceSerializer.d.ts +461 -0
- package/dist/browser/serializers/queueResourceSerializer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serializers/queueResourceSerializer.js +4 -4
- package/dist/browser/serializers/queueResourceSerializer.js.map +1 -0
- package/dist/browser/serializers/ruleResourceSerializer.d.ts +135 -0
- package/dist/browser/serializers/ruleResourceSerializer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serializers/ruleResourceSerializer.js +4 -4
- package/dist/browser/serializers/ruleResourceSerializer.js.map +1 -0
- package/dist/browser/serializers/subscriptionResourceSerializer.d.ts +396 -0
- package/dist/browser/serializers/subscriptionResourceSerializer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serializers/subscriptionResourceSerializer.js +5 -5
- package/dist/browser/serializers/subscriptionResourceSerializer.js.map +1 -0
- package/dist/browser/serializers/topicResourceSerializer.d.ts +335 -0
- package/dist/browser/serializers/topicResourceSerializer.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serializers/topicResourceSerializer.js +4 -4
- package/dist/browser/serializers/topicResourceSerializer.js.map +1 -0
- package/dist/browser/serviceBusAtomManagementClient.d.ts +652 -0
- package/dist/browser/serviceBusAtomManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusAtomManagementClient.js +78 -109
- package/dist/browser/serviceBusAtomManagementClient.js.map +1 -0
- package/dist/browser/serviceBusClient.d.ts +231 -0
- package/dist/browser/serviceBusClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusClient.js +24 -11
- package/dist/browser/serviceBusClient.js.map +1 -0
- package/dist/browser/serviceBusError.d.ts +119 -0
- package/dist/browser/serviceBusError.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusError.js +21 -1
- package/dist/browser/serviceBusError.js.map +1 -0
- package/dist/browser/serviceBusMessage.d.ts +529 -0
- package/dist/browser/serviceBusMessage.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusMessage.js +193 -5
- package/dist/browser/serviceBusMessage.js.map +1 -0
- package/dist/browser/serviceBusMessageBatch.d.ts +153 -0
- package/dist/browser/serviceBusMessageBatch.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusMessageBatch.js +37 -13
- package/dist/browser/serviceBusMessageBatch.js.map +1 -0
- package/dist/browser/serviceBusRuleManager.d.ts +103 -0
- package/dist/browser/serviceBusRuleManager.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serviceBusRuleManager.js +16 -13
- package/dist/browser/serviceBusRuleManager.js.map +1 -0
- package/dist/browser/session/messageSession.d.ts +236 -0
- package/dist/browser/session/messageSession.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/session/messageSession.js +145 -30
- package/dist/browser/session/messageSession.js.map +1 -0
- package/dist/browser/util/atomXmlHelper.d.ts +56 -0
- package/dist/browser/util/atomXmlHelper.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/atomXmlHelper.js +7 -7
- package/dist/browser/util/atomXmlHelper.js.map +1 -0
- package/dist/browser/util/compat/compatibility.d.ts +109 -0
- package/dist/browser/util/compat/compatibility.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/compat/compatibility.js +2 -2
- package/dist/browser/util/compat/compatibility.js.map +1 -0
- package/dist/browser/util/compat/httpHeaders.d.ts +136 -0
- package/dist/browser/util/compat/httpHeaders.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/compat/httpHeaders.js +2 -1
- package/dist/browser/util/compat/httpHeaders.js.map +1 -0
- package/dist/browser/util/compat/index.d.ts +3 -0
- package/dist/browser/util/compat/index.d.ts.map +1 -0
- package/dist/browser/util/compat/index.js +5 -0
- package/dist/browser/util/compat/index.js.map +1 -0
- package/dist/browser/util/connectionStringUtils.d.ts +53 -0
- package/dist/browser/util/connectionStringUtils.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/connectionStringUtils.js +8 -2
- package/dist/browser/util/connectionStringUtils.js.map +1 -0
- package/dist/browser/util/constants.d.ts +322 -0
- package/dist/browser/util/constants.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/constants.js +3 -3
- package/{dist-esm/src → dist/browser}/util/constants.js.map +1 -1
- package/dist/browser/util/crypto-browser.d.mts.map +1 -0
- package/dist/browser/util/crypto-browser.mjs.map +1 -0
- package/dist/browser/util/crypto.d.ts +5 -0
- package/{dist-esm/src/util/crypto.browser.js → dist/browser/util/crypto.js} +2 -4
- package/dist/browser/util/errors.d.ts +130 -0
- package/dist/browser/util/errors.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/errors.js +4 -4
- package/dist/browser/util/errors.js.map +1 -0
- package/dist/browser/util/parseUrl-browser.d.mts.map +1 -0
- package/dist/browser/util/parseUrl-browser.mjs.map +1 -0
- package/dist/browser/util/parseUrl.d.ts +5 -0
- package/{dist-esm/src/util/parseUrl.browser.js → dist/browser/util/parseUrl.js} +1 -3
- package/dist/browser/util/runtimeInfo-browser.d.mts.map +1 -0
- package/dist/browser/util/runtimeInfo-browser.mjs.map +1 -0
- package/dist/browser/util/runtimeInfo.d.ts +7 -0
- package/{dist-esm/src/util/runtimeInfo.browser.js → dist/browser/util/runtimeInfo.js} +2 -2
- package/dist/browser/util/sasServiceClientCredentials.d.ts +31 -0
- package/dist/browser/util/sasServiceClientCredentials.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/sasServiceClientCredentials.js +9 -3
- package/dist/browser/util/sasServiceClientCredentials.js.map +1 -0
- package/dist/browser/util/semaphore.d.ts +38 -0
- package/dist/browser/util/semaphore.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/semaphore.js +7 -3
- package/dist/browser/util/semaphore.js.map +1 -0
- package/dist/browser/util/typeGuards.d.ts +8 -0
- package/dist/browser/util/typeGuards.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/typeGuards.js +2 -2
- package/dist/browser/util/typeGuards.js.map +1 -0
- package/dist/browser/util/utils.d.ts +247 -0
- package/dist/browser/util/utils.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/util/utils.js +5 -7
- package/dist/browser/util/utils.js.map +1 -0
- package/dist/commonjs/connectionContext.d.ts +109 -0
- package/dist/commonjs/connectionContext.d.ts.map +1 -0
- package/dist/commonjs/connectionContext.js +358 -0
- package/dist/commonjs/connectionContext.js.map +1 -0
- package/dist/commonjs/constructorHelpers.d.ts +79 -0
- package/dist/commonjs/constructorHelpers.d.ts.map +1 -0
- package/dist/commonjs/constructorHelpers.js +103 -0
- package/dist/commonjs/constructorHelpers.js.map +1 -0
- package/dist/commonjs/core/autoLockRenewer.d.ts +58 -0
- package/dist/commonjs/core/autoLockRenewer.d.ts.map +1 -0
- package/dist/commonjs/core/autoLockRenewer.js +178 -0
- package/dist/commonjs/core/autoLockRenewer.js.map +1 -0
- package/dist/commonjs/core/batchingReceiver.d.ts +120 -0
- package/dist/commonjs/core/batchingReceiver.d.ts.map +1 -0
- package/dist/commonjs/core/batchingReceiver.js +405 -0
- package/dist/commonjs/core/batchingReceiver.js.map +1 -0
- package/dist/commonjs/core/linkEntity.d.ts +192 -0
- package/dist/commonjs/core/linkEntity.d.ts.map +1 -0
- package/dist/commonjs/core/linkEntity.js +344 -0
- package/dist/commonjs/core/linkEntity.js.map +1 -0
- package/dist/commonjs/core/managementClient.d.ts +312 -0
- package/dist/commonjs/core/managementClient.d.ts.map +1 -0
- package/dist/commonjs/core/managementClient.js +1078 -0
- package/dist/commonjs/core/managementClient.js.map +1 -0
- package/dist/commonjs/core/messageReceiver.d.ts +147 -0
- package/dist/commonjs/core/messageReceiver.d.ts.map +1 -0
- package/dist/commonjs/core/messageReceiver.js +169 -0
- package/dist/commonjs/core/messageReceiver.js.map +1 -0
- package/dist/commonjs/core/messageSender.d.ts +93 -0
- package/dist/commonjs/core/messageSender.d.ts.map +1 -0
- package/dist/commonjs/core/messageSender.js +307 -0
- package/dist/commonjs/core/messageSender.js.map +1 -0
- package/dist/commonjs/core/receiverHelper.d.ts +45 -0
- package/dist/commonjs/core/receiverHelper.d.ts.map +1 -0
- package/dist/commonjs/core/receiverHelper.js +123 -0
- package/dist/commonjs/core/receiverHelper.js.map +1 -0
- package/dist/commonjs/core/shared.d.ts +34 -0
- package/dist/commonjs/core/shared.d.ts.map +1 -0
- package/dist/commonjs/core/shared.js +70 -0
- package/dist/commonjs/core/shared.js.map +1 -0
- package/dist/commonjs/core/streamingReceiver.d.ts +142 -0
- package/dist/commonjs/core/streamingReceiver.d.ts.map +1 -0
- package/dist/commonjs/core/streamingReceiver.js +526 -0
- package/dist/commonjs/core/streamingReceiver.js.map +1 -0
- package/dist/commonjs/dataTransformer.d.ts +77 -0
- package/dist/commonjs/dataTransformer.d.ts.map +1 -0
- package/dist/commonjs/dataTransformer.js +169 -0
- package/dist/commonjs/dataTransformer.js.map +1 -0
- package/dist/commonjs/diagnostics/instrumentServiceBusMessage.d.ts +50 -0
- package/dist/commonjs/diagnostics/instrumentServiceBusMessage.d.ts.map +1 -0
- package/dist/commonjs/diagnostics/instrumentServiceBusMessage.js +107 -0
- package/dist/commonjs/diagnostics/instrumentServiceBusMessage.js.map +1 -0
- package/dist/commonjs/diagnostics/tracing.d.ts +21 -0
- package/dist/commonjs/diagnostics/tracing.d.ts.map +1 -0
- package/dist/commonjs/diagnostics/tracing.js +41 -0
- package/dist/commonjs/diagnostics/tracing.js.map +1 -0
- package/dist/commonjs/experimental/index.d.ts +10 -0
- package/dist/commonjs/experimental/index.d.ts.map +1 -0
- package/dist/commonjs/experimental/index.js +5 -0
- package/dist/commonjs/experimental/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +26 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +22 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/log.d.ts +70 -0
- package/dist/commonjs/log.d.ts.map +1 -0
- package/dist/commonjs/log.js +94 -0
- package/dist/commonjs/log.js.map +1 -0
- package/dist/commonjs/models.d.ts +328 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/modelsToBeSharedWithEventHubs.d.ts +18 -0
- package/dist/commonjs/modelsToBeSharedWithEventHubs.d.ts.map +1 -0
- package/dist/commonjs/modelsToBeSharedWithEventHubs.js +5 -0
- package/dist/commonjs/modelsToBeSharedWithEventHubs.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/receivers/receiver.d.ts +299 -0
- package/dist/commonjs/receivers/receiver.d.ts.map +1 -0
- package/dist/commonjs/receivers/receiver.js +383 -0
- package/dist/commonjs/receivers/receiver.js.map +1 -0
- package/dist/commonjs/receivers/receiverCommon.d.ts +81 -0
- package/dist/commonjs/receivers/receiverCommon.d.ts.map +1 -0
- package/dist/commonjs/receivers/receiverCommon.js +269 -0
- package/dist/commonjs/receivers/receiverCommon.js.map +1 -0
- package/dist/commonjs/receivers/sessionReceiver.d.ts +189 -0
- package/dist/commonjs/receivers/sessionReceiver.d.ts.map +1 -0
- package/dist/commonjs/receivers/sessionReceiver.js +432 -0
- package/dist/commonjs/receivers/sessionReceiver.js.map +1 -0
- package/dist/commonjs/sender.d.ts +125 -0
- package/dist/commonjs/sender.d.ts.map +1 -0
- package/dist/commonjs/sender.js +191 -0
- package/dist/commonjs/sender.js.map +1 -0
- package/dist/commonjs/serializers/namespaceResourceSerializer.d.ts +46 -0
- package/dist/commonjs/serializers/namespaceResourceSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/namespaceResourceSerializer.js +39 -0
- package/dist/commonjs/serializers/namespaceResourceSerializer.js.map +1 -0
- package/dist/commonjs/serializers/queueResourceSerializer.d.ts +461 -0
- package/dist/commonjs/serializers/queueResourceSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/queueResourceSerializer.js +107 -0
- package/dist/commonjs/serializers/queueResourceSerializer.js.map +1 -0
- package/dist/commonjs/serializers/ruleResourceSerializer.d.ts +135 -0
- package/dist/commonjs/serializers/ruleResourceSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/ruleResourceSerializer.js +287 -0
- package/dist/commonjs/serializers/ruleResourceSerializer.js.map +1 -0
- package/dist/commonjs/serializers/subscriptionResourceSerializer.d.ts +396 -0
- package/dist/commonjs/serializers/subscriptionResourceSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/subscriptionResourceSerializer.js +103 -0
- package/dist/commonjs/serializers/subscriptionResourceSerializer.js.map +1 -0
- package/dist/commonjs/serializers/topicResourceSerializer.d.ts +335 -0
- package/dist/commonjs/serializers/topicResourceSerializer.d.ts.map +1 -0
- package/dist/commonjs/serializers/topicResourceSerializer.js +97 -0
- package/dist/commonjs/serializers/topicResourceSerializer.js.map +1 -0
- package/dist/commonjs/serviceBusAtomManagementClient.d.ts +652 -0
- package/dist/commonjs/serviceBusAtomManagementClient.d.ts.map +1 -0
- package/dist/commonjs/serviceBusAtomManagementClient.js +1648 -0
- package/dist/commonjs/serviceBusAtomManagementClient.js.map +1 -0
- package/dist/commonjs/serviceBusClient.d.ts +231 -0
- package/dist/commonjs/serviceBusClient.d.ts.map +1 -0
- package/dist/commonjs/serviceBusClient.js +221 -0
- package/dist/commonjs/serviceBusClient.js.map +1 -0
- package/dist/commonjs/serviceBusError.d.ts +119 -0
- package/dist/commonjs/serviceBusError.d.ts.map +1 -0
- package/dist/commonjs/serviceBusError.js +109 -0
- package/dist/commonjs/serviceBusError.js.map +1 -0
- package/dist/commonjs/serviceBusMessage.d.ts +529 -0
- package/dist/commonjs/serviceBusMessage.d.ts.map +1 -0
- package/dist/commonjs/serviceBusMessage.js +611 -0
- package/dist/commonjs/serviceBusMessage.js.map +1 -0
- package/dist/commonjs/serviceBusMessageBatch.d.ts +153 -0
- package/dist/commonjs/serviceBusMessageBatch.d.ts.map +1 -0
- package/dist/commonjs/serviceBusMessageBatch.js +196 -0
- package/dist/commonjs/serviceBusMessageBatch.js.map +1 -0
- package/dist/commonjs/serviceBusRuleManager.d.ts +103 -0
- package/dist/commonjs/serviceBusRuleManager.d.ts.map +1 -0
- package/dist/commonjs/serviceBusRuleManager.js +153 -0
- package/dist/commonjs/serviceBusRuleManager.js.map +1 -0
- package/dist/commonjs/session/messageSession.d.ts +236 -0
- package/dist/commonjs/session/messageSession.d.ts.map +1 -0
- package/dist/commonjs/session/messageSession.js +759 -0
- package/dist/commonjs/session/messageSession.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/commonjs/util/atomXmlHelper.d.ts +56 -0
- package/dist/commonjs/util/atomXmlHelper.d.ts.map +1 -0
- package/dist/commonjs/util/atomXmlHelper.js +386 -0
- package/dist/commonjs/util/atomXmlHelper.js.map +1 -0
- package/dist/commonjs/util/compat/compatibility.d.ts +109 -0
- package/dist/commonjs/util/compat/compatibility.d.ts.map +1 -0
- package/dist/commonjs/util/compat/compatibility.js +30 -0
- package/dist/commonjs/util/compat/compatibility.js.map +1 -0
- package/dist/commonjs/util/compat/httpHeaders.d.ts +136 -0
- package/dist/commonjs/util/compat/httpHeaders.d.ts.map +1 -0
- package/dist/commonjs/util/compat/httpHeaders.js +157 -0
- package/dist/commonjs/util/compat/httpHeaders.js.map +1 -0
- package/dist/commonjs/util/compat/index.d.ts +3 -0
- package/dist/commonjs/util/compat/index.d.ts.map +1 -0
- package/dist/commonjs/util/compat/index.js +8 -0
- package/dist/commonjs/util/compat/index.js.map +1 -0
- package/dist/commonjs/util/connectionStringUtils.d.ts +53 -0
- package/dist/commonjs/util/connectionStringUtils.d.ts.map +1 -0
- package/dist/commonjs/util/connectionStringUtils.js +51 -0
- package/dist/commonjs/util/connectionStringUtils.js.map +1 -0
- package/dist/commonjs/util/constants.d.ts +322 -0
- package/dist/commonjs/util/constants.d.ts.map +1 -0
- package/dist/commonjs/util/constants.js +327 -0
- package/dist/commonjs/util/constants.js.map +1 -0
- package/dist/commonjs/util/crypto.d.ts +5 -0
- package/dist/commonjs/util/crypto.d.ts.map +1 -0
- package/dist/commonjs/util/crypto.js +15 -0
- package/dist/commonjs/util/crypto.js.map +1 -0
- package/dist/commonjs/util/errors.d.ts +130 -0
- package/dist/commonjs/util/errors.d.ts.map +1 -0
- package/dist/commonjs/util/errors.js +236 -0
- package/dist/commonjs/util/errors.js.map +1 -0
- package/dist/commonjs/util/parseUrl.d.ts +5 -0
- package/dist/commonjs/util/parseUrl.d.ts.map +1 -0
- package/dist/commonjs/util/parseUrl.js +13 -0
- package/dist/commonjs/util/parseUrl.js.map +1 -0
- package/dist/commonjs/util/runtimeInfo.d.ts +7 -0
- package/dist/commonjs/util/runtimeInfo.d.ts.map +1 -0
- package/dist/commonjs/util/runtimeInfo.js +24 -0
- package/dist/commonjs/util/runtimeInfo.js.map +1 -0
- package/dist/commonjs/util/sasServiceClientCredentials.d.ts +31 -0
- package/dist/commonjs/util/sasServiceClientCredentials.d.ts.map +1 -0
- package/dist/commonjs/util/sasServiceClientCredentials.js +56 -0
- package/dist/commonjs/util/sasServiceClientCredentials.js.map +1 -0
- package/dist/commonjs/util/semaphore.d.ts +38 -0
- package/dist/commonjs/util/semaphore.d.ts.map +1 -0
- package/dist/commonjs/util/semaphore.js +85 -0
- package/dist/commonjs/util/semaphore.js.map +1 -0
- package/dist/commonjs/util/typeGuards.d.ts +8 -0
- package/dist/commonjs/util/typeGuards.d.ts.map +1 -0
- package/dist/commonjs/util/typeGuards.js +15 -0
- package/dist/commonjs/util/typeGuards.js.map +1 -0
- package/dist/commonjs/util/utils.d.ts +247 -0
- package/dist/commonjs/util/utils.d.ts.map +1 -0
- package/dist/commonjs/util/utils.js +524 -0
- package/dist/commonjs/util/utils.js.map +1 -0
- package/dist/esm/connectionContext.d.ts +109 -0
- package/dist/esm/connectionContext.d.ts.map +1 -0
- package/dist/esm/connectionContext.js +355 -0
- package/dist/esm/connectionContext.js.map +1 -0
- package/dist/esm/constructorHelpers.d.ts +79 -0
- package/dist/esm/constructorHelpers.d.ts.map +1 -0
- package/dist/esm/constructorHelpers.js +96 -0
- package/dist/esm/constructorHelpers.js.map +1 -0
- package/dist/esm/core/autoLockRenewer.d.ts +58 -0
- package/dist/esm/core/autoLockRenewer.d.ts.map +1 -0
- package/dist/esm/core/autoLockRenewer.js +174 -0
- package/dist/esm/core/autoLockRenewer.js.map +1 -0
- package/dist/esm/core/batchingReceiver.d.ts +120 -0
- package/dist/esm/core/batchingReceiver.d.ts.map +1 -0
- package/dist/esm/core/batchingReceiver.js +399 -0
- package/dist/esm/core/batchingReceiver.js.map +1 -0
- package/dist/esm/core/linkEntity.d.ts +192 -0
- package/dist/esm/core/linkEntity.d.ts.map +1 -0
- package/dist/esm/core/linkEntity.js +340 -0
- package/dist/esm/core/linkEntity.js.map +1 -0
- package/dist/esm/core/managementClient.d.ts +312 -0
- package/dist/esm/core/managementClient.d.ts.map +1 -0
- package/dist/esm/core/managementClient.js +1072 -0
- package/dist/esm/core/managementClient.js.map +1 -0
- package/dist/esm/core/messageReceiver.d.ts +147 -0
- package/dist/esm/core/messageReceiver.d.ts.map +1 -0
- package/dist/esm/core/messageReceiver.js +165 -0
- package/dist/esm/core/messageReceiver.js.map +1 -0
- package/dist/esm/core/messageSender.d.ts +93 -0
- package/dist/esm/core/messageSender.d.ts.map +1 -0
- package/dist/esm/core/messageSender.js +303 -0
- package/dist/esm/core/messageSender.js.map +1 -0
- package/dist/esm/core/receiverHelper.d.ts +45 -0
- package/dist/esm/core/receiverHelper.d.ts.map +1 -0
- package/dist/esm/core/receiverHelper.js +119 -0
- package/dist/esm/core/receiverHelper.js.map +1 -0
- package/dist/esm/core/shared.d.ts +34 -0
- package/dist/esm/core/shared.d.ts.map +1 -0
- package/dist/esm/core/shared.js +66 -0
- package/dist/esm/core/shared.js.map +1 -0
- package/dist/esm/core/streamingReceiver.d.ts +142 -0
- package/dist/esm/core/streamingReceiver.d.ts.map +1 -0
- package/dist/esm/core/streamingReceiver.js +522 -0
- package/dist/esm/core/streamingReceiver.js.map +1 -0
- package/dist/esm/dataTransformer.d.ts +77 -0
- package/dist/esm/dataTransformer.d.ts.map +1 -0
- package/dist/esm/dataTransformer.js +163 -0
- package/dist/esm/dataTransformer.js.map +1 -0
- package/dist/esm/diagnostics/instrumentServiceBusMessage.d.ts +50 -0
- package/dist/esm/diagnostics/instrumentServiceBusMessage.d.ts.map +1 -0
- package/dist/esm/diagnostics/instrumentServiceBusMessage.js +101 -0
- package/dist/esm/diagnostics/instrumentServiceBusMessage.js.map +1 -0
- package/dist/esm/diagnostics/tracing.d.ts +21 -0
- package/dist/esm/diagnostics/tracing.d.ts.map +1 -0
- package/dist/esm/diagnostics/tracing.js +37 -0
- package/dist/esm/diagnostics/tracing.js.map +1 -0
- package/dist/esm/experimental/index.d.ts +10 -0
- package/dist/esm/experimental/index.d.ts.map +1 -0
- package/dist/esm/experimental/index.js +4 -0
- package/dist/esm/experimental/index.js.map +1 -0
- package/dist/esm/index.d.ts +26 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/log.d.ts +70 -0
- package/dist/esm/log.d.ts.map +1 -0
- package/dist/esm/log.js +89 -0
- package/dist/esm/log.js.map +1 -0
- package/dist/esm/models.d.ts +328 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/modelsToBeSharedWithEventHubs.d.ts +18 -0
- package/dist/esm/modelsToBeSharedWithEventHubs.d.ts.map +1 -0
- package/dist/esm/modelsToBeSharedWithEventHubs.js +4 -0
- package/dist/esm/modelsToBeSharedWithEventHubs.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/receivers/receiver.d.ts +299 -0
- package/dist/esm/receivers/receiver.d.ts.map +1 -0
- package/dist/esm/receivers/receiver.js +379 -0
- package/dist/esm/receivers/receiver.js.map +1 -0
- package/dist/esm/receivers/receiverCommon.d.ts +81 -0
- package/dist/esm/receivers/receiverCommon.d.ts.map +1 -0
- package/dist/esm/receivers/receiverCommon.js +257 -0
- package/dist/esm/receivers/receiverCommon.js.map +1 -0
- package/dist/esm/receivers/sessionReceiver.d.ts +189 -0
- package/dist/esm/receivers/sessionReceiver.d.ts.map +1 -0
- package/dist/esm/receivers/sessionReceiver.js +428 -0
- package/dist/esm/receivers/sessionReceiver.js.map +1 -0
- package/dist/esm/sender.d.ts +125 -0
- package/dist/esm/sender.d.ts.map +1 -0
- package/dist/esm/sender.js +186 -0
- package/dist/esm/sender.js.map +1 -0
- package/dist/esm/serializers/namespaceResourceSerializer.d.ts +46 -0
- package/dist/esm/serializers/namespaceResourceSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/namespaceResourceSerializer.js +34 -0
- package/dist/esm/serializers/namespaceResourceSerializer.js.map +1 -0
- package/dist/esm/serializers/queueResourceSerializer.d.ts +461 -0
- package/dist/esm/serializers/queueResourceSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/queueResourceSerializer.js +99 -0
- package/dist/esm/serializers/queueResourceSerializer.js.map +1 -0
- package/dist/esm/serializers/ruleResourceSerializer.d.ts +135 -0
- package/dist/esm/serializers/ruleResourceSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/ruleResourceSerializer.js +278 -0
- package/dist/esm/serializers/ruleResourceSerializer.js.map +1 -0
- package/dist/esm/serializers/subscriptionResourceSerializer.d.ts +396 -0
- package/dist/esm/serializers/subscriptionResourceSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/subscriptionResourceSerializer.js +95 -0
- package/dist/esm/serializers/subscriptionResourceSerializer.js.map +1 -0
- package/dist/esm/serializers/topicResourceSerializer.d.ts +335 -0
- package/dist/esm/serializers/topicResourceSerializer.d.ts.map +1 -0
- package/dist/esm/serializers/topicResourceSerializer.js +89 -0
- package/dist/esm/serializers/topicResourceSerializer.js.map +1 -0
- package/dist/esm/serviceBusAtomManagementClient.d.ts +652 -0
- package/dist/esm/serviceBusAtomManagementClient.d.ts.map +1 -0
- package/dist/esm/serviceBusAtomManagementClient.js +1643 -0
- package/dist/esm/serviceBusAtomManagementClient.js.map +1 -0
- package/dist/esm/serviceBusClient.d.ts +231 -0
- package/dist/esm/serviceBusClient.d.ts.map +1 -0
- package/dist/esm/serviceBusClient.js +216 -0
- package/dist/esm/serviceBusClient.js.map +1 -0
- package/dist/esm/serviceBusError.d.ts +119 -0
- package/dist/esm/serviceBusError.d.ts.map +1 -0
- package/dist/esm/serviceBusError.js +103 -0
- package/dist/esm/serviceBusError.js.map +1 -0
- package/dist/esm/serviceBusMessage.d.ts +529 -0
- package/dist/esm/serviceBusMessage.d.ts.map +1 -0
- package/dist/esm/serviceBusMessage.js +598 -0
- package/dist/esm/serviceBusMessage.js.map +1 -0
- package/dist/esm/serviceBusMessageBatch.d.ts +153 -0
- package/dist/esm/serviceBusMessageBatch.d.ts.map +1 -0
- package/dist/esm/serviceBusMessageBatch.js +192 -0
- package/dist/esm/serviceBusMessageBatch.js.map +1 -0
- package/dist/esm/serviceBusRuleManager.d.ts +103 -0
- package/dist/esm/serviceBusRuleManager.d.ts.map +1 -0
- package/dist/esm/serviceBusRuleManager.js +149 -0
- package/dist/esm/serviceBusRuleManager.js.map +1 -0
- package/dist/esm/session/messageSession.d.ts +236 -0
- package/dist/esm/session/messageSession.d.ts.map +1 -0
- package/dist/esm/session/messageSession.js +755 -0
- package/dist/esm/session/messageSession.js.map +1 -0
- package/dist/esm/util/atomXmlHelper.d.ts +56 -0
- package/dist/esm/util/atomXmlHelper.d.ts.map +1 -0
- package/dist/esm/util/atomXmlHelper.js +378 -0
- package/dist/esm/util/atomXmlHelper.js.map +1 -0
- package/dist/esm/util/compat/compatibility.d.ts +109 -0
- package/dist/esm/util/compat/compatibility.d.ts.map +1 -0
- package/dist/esm/util/compat/compatibility.js +27 -0
- package/dist/esm/util/compat/compatibility.js.map +1 -0
- package/dist/esm/util/compat/httpHeaders.d.ts +136 -0
- package/dist/esm/util/compat/httpHeaders.d.ts.map +1 -0
- package/dist/esm/util/compat/httpHeaders.js +152 -0
- package/dist/esm/util/compat/httpHeaders.js.map +1 -0
- package/dist/esm/util/compat/index.d.ts +3 -0
- package/dist/esm/util/compat/index.d.ts.map +1 -0
- package/dist/esm/util/compat/index.js +5 -0
- package/dist/esm/util/compat/index.js.map +1 -0
- package/dist/esm/util/connectionStringUtils.d.ts +53 -0
- package/dist/esm/util/connectionStringUtils.d.ts.map +1 -0
- package/dist/esm/util/connectionStringUtils.js +48 -0
- package/dist/esm/util/connectionStringUtils.js.map +1 -0
- package/dist/esm/util/constants.d.ts +322 -0
- package/dist/esm/util/constants.d.ts.map +1 -0
- package/dist/esm/util/constants.js +324 -0
- package/dist/esm/util/constants.js.map +1 -0
- package/dist/esm/util/crypto.d.ts +5 -0
- package/dist/esm/util/crypto.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/util/crypto.js +1 -3
- package/dist/esm/util/crypto.js.map +1 -0
- package/dist/esm/util/errors.d.ts +130 -0
- package/dist/esm/util/errors.d.ts.map +1 -0
- package/dist/esm/util/errors.js +220 -0
- package/dist/esm/util/errors.js.map +1 -0
- package/dist/esm/util/parseUrl.d.ts +5 -0
- package/dist/esm/util/parseUrl.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/util/parseUrl.js +0 -6
- package/dist/esm/util/parseUrl.js.map +1 -0
- package/dist/esm/util/runtimeInfo.d.ts +7 -0
- package/dist/esm/util/runtimeInfo.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/util/runtimeInfo.js +2 -2
- package/dist/esm/util/runtimeInfo.js.map +1 -0
- package/dist/esm/util/sasServiceClientCredentials.d.ts +31 -0
- package/dist/esm/util/sasServiceClientCredentials.d.ts.map +1 -0
- package/dist/esm/util/sasServiceClientCredentials.js +52 -0
- package/dist/esm/util/sasServiceClientCredentials.js.map +1 -0
- package/dist/esm/util/semaphore.d.ts +38 -0
- package/dist/esm/util/semaphore.d.ts.map +1 -0
- package/dist/esm/util/semaphore.js +81 -0
- package/dist/esm/util/semaphore.js.map +1 -0
- package/dist/esm/util/typeGuards.d.ts +8 -0
- package/dist/esm/util/typeGuards.d.ts.map +1 -0
- package/dist/esm/util/typeGuards.js +12 -0
- package/dist/esm/util/typeGuards.js.map +1 -0
- package/dist/esm/util/utils.d.ts +247 -0
- package/dist/esm/util/utils.d.ts.map +1 -0
- package/dist/esm/util/utils.js +496 -0
- package/dist/esm/util/utils.js.map +1 -0
- package/dist/react-native/connectionContext.d.ts +109 -0
- package/dist/react-native/connectionContext.d.ts.map +1 -0
- package/dist/react-native/connectionContext.js +355 -0
- package/dist/react-native/connectionContext.js.map +1 -0
- package/dist/react-native/constructorHelpers.d.ts +79 -0
- package/dist/react-native/constructorHelpers.d.ts.map +1 -0
- package/dist/react-native/constructorHelpers.js +96 -0
- package/dist/react-native/constructorHelpers.js.map +1 -0
- package/dist/react-native/core/autoLockRenewer.d.ts +58 -0
- package/dist/react-native/core/autoLockRenewer.d.ts.map +1 -0
- package/dist/react-native/core/autoLockRenewer.js +174 -0
- package/dist/react-native/core/autoLockRenewer.js.map +1 -0
- package/dist/react-native/core/batchingReceiver.d.ts +120 -0
- package/dist/react-native/core/batchingReceiver.d.ts.map +1 -0
- package/dist/react-native/core/batchingReceiver.js +399 -0
- package/dist/react-native/core/batchingReceiver.js.map +1 -0
- package/dist/react-native/core/linkEntity.d.ts +192 -0
- package/dist/react-native/core/linkEntity.d.ts.map +1 -0
- package/dist/react-native/core/linkEntity.js +340 -0
- package/dist/react-native/core/linkEntity.js.map +1 -0
- package/dist/react-native/core/managementClient.d.ts +312 -0
- package/dist/react-native/core/managementClient.d.ts.map +1 -0
- package/dist/react-native/core/managementClient.js +1072 -0
- package/dist/react-native/core/managementClient.js.map +1 -0
- package/dist/react-native/core/messageReceiver.d.ts +147 -0
- package/dist/react-native/core/messageReceiver.d.ts.map +1 -0
- package/dist/react-native/core/messageReceiver.js +165 -0
- package/dist/react-native/core/messageReceiver.js.map +1 -0
- package/dist/react-native/core/messageSender.d.ts +93 -0
- package/dist/react-native/core/messageSender.d.ts.map +1 -0
- package/dist/react-native/core/messageSender.js +303 -0
- package/dist/react-native/core/messageSender.js.map +1 -0
- package/dist/react-native/core/receiverHelper.d.ts +45 -0
- package/dist/react-native/core/receiverHelper.d.ts.map +1 -0
- package/dist/react-native/core/receiverHelper.js +119 -0
- package/dist/react-native/core/receiverHelper.js.map +1 -0
- package/dist/react-native/core/shared.d.ts +34 -0
- package/dist/react-native/core/shared.d.ts.map +1 -0
- package/dist/react-native/core/shared.js +66 -0
- package/dist/react-native/core/shared.js.map +1 -0
- package/dist/react-native/core/streamingReceiver.d.ts +142 -0
- package/dist/react-native/core/streamingReceiver.d.ts.map +1 -0
- package/dist/react-native/core/streamingReceiver.js +522 -0
- package/dist/react-native/core/streamingReceiver.js.map +1 -0
- package/dist/react-native/dataTransformer.d.ts +77 -0
- package/dist/react-native/dataTransformer.d.ts.map +1 -0
- package/dist/react-native/dataTransformer.js +163 -0
- package/dist/react-native/dataTransformer.js.map +1 -0
- package/dist/react-native/diagnostics/instrumentServiceBusMessage.d.ts +50 -0
- package/dist/react-native/diagnostics/instrumentServiceBusMessage.d.ts.map +1 -0
- package/dist/react-native/diagnostics/instrumentServiceBusMessage.js +101 -0
- package/dist/react-native/diagnostics/instrumentServiceBusMessage.js.map +1 -0
- package/dist/react-native/diagnostics/tracing.d.ts +21 -0
- package/dist/react-native/diagnostics/tracing.d.ts.map +1 -0
- package/dist/react-native/diagnostics/tracing.js +37 -0
- package/dist/react-native/diagnostics/tracing.js.map +1 -0
- package/dist/react-native/experimental/index.d.ts +10 -0
- package/dist/react-native/experimental/index.d.ts.map +1 -0
- package/dist/react-native/experimental/index.js +4 -0
- package/dist/react-native/experimental/index.js.map +1 -0
- package/dist/react-native/index.d.ts +26 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +10 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/log.d.ts +70 -0
- package/dist/react-native/log.d.ts.map +1 -0
- package/dist/react-native/log.js +89 -0
- package/dist/react-native/log.js.map +1 -0
- package/dist/react-native/models.d.ts +328 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/modelsToBeSharedWithEventHubs.d.ts +18 -0
- package/dist/react-native/modelsToBeSharedWithEventHubs.d.ts.map +1 -0
- package/dist/react-native/modelsToBeSharedWithEventHubs.js +4 -0
- package/dist/react-native/modelsToBeSharedWithEventHubs.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/receivers/receiver.d.ts +299 -0
- package/dist/react-native/receivers/receiver.d.ts.map +1 -0
- package/dist/react-native/receivers/receiver.js +379 -0
- package/dist/react-native/receivers/receiver.js.map +1 -0
- package/dist/react-native/receivers/receiverCommon.d.ts +81 -0
- package/dist/react-native/receivers/receiverCommon.d.ts.map +1 -0
- package/dist/react-native/receivers/receiverCommon.js +257 -0
- package/dist/react-native/receivers/receiverCommon.js.map +1 -0
- package/dist/react-native/receivers/sessionReceiver.d.ts +189 -0
- package/dist/react-native/receivers/sessionReceiver.d.ts.map +1 -0
- package/dist/react-native/receivers/sessionReceiver.js +428 -0
- package/dist/react-native/receivers/sessionReceiver.js.map +1 -0
- package/dist/react-native/sender.d.ts +125 -0
- package/dist/react-native/sender.d.ts.map +1 -0
- package/dist/react-native/sender.js +186 -0
- package/dist/react-native/sender.js.map +1 -0
- package/dist/react-native/serializers/namespaceResourceSerializer.d.ts +46 -0
- package/dist/react-native/serializers/namespaceResourceSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/namespaceResourceSerializer.js +34 -0
- package/dist/react-native/serializers/namespaceResourceSerializer.js.map +1 -0
- package/dist/react-native/serializers/queueResourceSerializer.d.ts +461 -0
- package/dist/react-native/serializers/queueResourceSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/queueResourceSerializer.js +99 -0
- package/dist/react-native/serializers/queueResourceSerializer.js.map +1 -0
- package/dist/react-native/serializers/ruleResourceSerializer.d.ts +135 -0
- package/dist/react-native/serializers/ruleResourceSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/ruleResourceSerializer.js +278 -0
- package/dist/react-native/serializers/ruleResourceSerializer.js.map +1 -0
- package/dist/react-native/serializers/subscriptionResourceSerializer.d.ts +396 -0
- package/dist/react-native/serializers/subscriptionResourceSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/subscriptionResourceSerializer.js +95 -0
- package/dist/react-native/serializers/subscriptionResourceSerializer.js.map +1 -0
- package/dist/react-native/serializers/topicResourceSerializer.d.ts +335 -0
- package/dist/react-native/serializers/topicResourceSerializer.d.ts.map +1 -0
- package/dist/react-native/serializers/topicResourceSerializer.js +89 -0
- package/dist/react-native/serializers/topicResourceSerializer.js.map +1 -0
- package/dist/react-native/serviceBusAtomManagementClient.d.ts +652 -0
- package/dist/react-native/serviceBusAtomManagementClient.d.ts.map +1 -0
- package/dist/react-native/serviceBusAtomManagementClient.js +1643 -0
- package/dist/react-native/serviceBusAtomManagementClient.js.map +1 -0
- package/dist/react-native/serviceBusClient.d.ts +231 -0
- package/dist/react-native/serviceBusClient.d.ts.map +1 -0
- package/dist/react-native/serviceBusClient.js +216 -0
- package/dist/react-native/serviceBusClient.js.map +1 -0
- package/dist/react-native/serviceBusError.d.ts +119 -0
- package/dist/react-native/serviceBusError.d.ts.map +1 -0
- package/dist/react-native/serviceBusError.js +103 -0
- package/dist/react-native/serviceBusError.js.map +1 -0
- package/dist/react-native/serviceBusMessage.d.ts +529 -0
- package/dist/react-native/serviceBusMessage.d.ts.map +1 -0
- package/dist/react-native/serviceBusMessage.js +598 -0
- package/dist/react-native/serviceBusMessage.js.map +1 -0
- package/dist/react-native/serviceBusMessageBatch.d.ts +153 -0
- package/dist/react-native/serviceBusMessageBatch.d.ts.map +1 -0
- package/dist/react-native/serviceBusMessageBatch.js +192 -0
- package/dist/react-native/serviceBusMessageBatch.js.map +1 -0
- package/dist/react-native/serviceBusRuleManager.d.ts +103 -0
- package/dist/react-native/serviceBusRuleManager.d.ts.map +1 -0
- package/dist/react-native/serviceBusRuleManager.js +149 -0
- package/dist/react-native/serviceBusRuleManager.js.map +1 -0
- package/dist/react-native/session/messageSession.d.ts +236 -0
- package/dist/react-native/session/messageSession.d.ts.map +1 -0
- package/dist/react-native/session/messageSession.js +755 -0
- package/dist/react-native/session/messageSession.js.map +1 -0
- package/dist/react-native/util/atomXmlHelper.d.ts +56 -0
- package/dist/react-native/util/atomXmlHelper.d.ts.map +1 -0
- package/dist/react-native/util/atomXmlHelper.js +378 -0
- package/dist/react-native/util/atomXmlHelper.js.map +1 -0
- package/dist/react-native/util/compat/compatibility.d.ts +109 -0
- package/dist/react-native/util/compat/compatibility.d.ts.map +1 -0
- package/dist/react-native/util/compat/compatibility.js +27 -0
- package/dist/react-native/util/compat/compatibility.js.map +1 -0
- package/dist/react-native/util/compat/httpHeaders.d.ts +136 -0
- package/dist/react-native/util/compat/httpHeaders.d.ts.map +1 -0
- package/dist/react-native/util/compat/httpHeaders.js +152 -0
- package/dist/react-native/util/compat/httpHeaders.js.map +1 -0
- package/dist/react-native/util/compat/index.d.ts +3 -0
- package/dist/react-native/util/compat/index.d.ts.map +1 -0
- package/dist/react-native/util/compat/index.js +5 -0
- package/dist/react-native/util/compat/index.js.map +1 -0
- package/dist/react-native/util/connectionStringUtils.d.ts +53 -0
- package/dist/react-native/util/connectionStringUtils.d.ts.map +1 -0
- package/dist/react-native/util/connectionStringUtils.js +48 -0
- package/dist/react-native/util/connectionStringUtils.js.map +1 -0
- package/dist/react-native/util/constants.d.ts +322 -0
- package/dist/react-native/util/constants.d.ts.map +1 -0
- package/dist/react-native/util/constants.js +324 -0
- package/dist/react-native/util/constants.js.map +1 -0
- package/dist/react-native/util/crypto.d.ts +5 -0
- package/dist/react-native/util/crypto.d.ts.map +1 -0
- package/dist/react-native/util/crypto.js +11 -0
- package/dist/react-native/util/crypto.js.map +1 -0
- package/dist/react-native/util/errors.d.ts +130 -0
- package/dist/react-native/util/errors.d.ts.map +1 -0
- package/dist/react-native/util/errors.js +220 -0
- package/dist/react-native/util/errors.js.map +1 -0
- package/dist/react-native/util/parseUrl.d.ts +5 -0
- package/dist/react-native/util/parseUrl.d.ts.map +1 -0
- package/dist/react-native/util/parseUrl.js +9 -0
- package/dist/react-native/util/parseUrl.js.map +1 -0
- package/dist/react-native/util/runtimeInfo-react-native.d.mts.map +1 -0
- package/dist/react-native/util/runtimeInfo-react-native.mjs.map +1 -0
- package/dist/react-native/util/runtimeInfo.d.ts +7 -0
- package/{dist-esm/src/util/runtimeInfo.native.js → dist/react-native/util/runtimeInfo.js} +3 -3
- package/dist/react-native/util/sasServiceClientCredentials.d.ts +31 -0
- package/dist/react-native/util/sasServiceClientCredentials.d.ts.map +1 -0
- package/dist/react-native/util/sasServiceClientCredentials.js +52 -0
- package/dist/react-native/util/sasServiceClientCredentials.js.map +1 -0
- package/dist/react-native/util/semaphore.d.ts +38 -0
- package/dist/react-native/util/semaphore.d.ts.map +1 -0
- package/dist/react-native/util/semaphore.js +81 -0
- package/dist/react-native/util/semaphore.js.map +1 -0
- package/dist/react-native/util/typeGuards.d.ts +8 -0
- package/dist/react-native/util/typeGuards.d.ts.map +1 -0
- package/dist/react-native/util/typeGuards.js +12 -0
- package/dist/react-native/util/typeGuards.js.map +1 -0
- package/dist/react-native/util/utils.d.ts +247 -0
- package/dist/react-native/util/utils.d.ts.map +1 -0
- package/dist/react-native/util/utils.js +496 -0
- package/dist/react-native/util/utils.js.map +1 -0
- package/package.json +123 -104
- package/dist/index.js +0 -10438
- package/dist/index.js.map +0 -1
- package/dist-esm/src/connectionContext.js.map +0 -1
- package/dist-esm/src/constructorHelpers.js.map +0 -1
- package/dist-esm/src/core/autoLockRenewer.js.map +0 -1
- package/dist-esm/src/core/batchingReceiver.js.map +0 -1
- package/dist-esm/src/core/linkEntity.js.map +0 -1
- package/dist-esm/src/core/managementClient.js.map +0 -1
- package/dist-esm/src/core/messageReceiver.js.map +0 -1
- package/dist-esm/src/core/messageSender.js.map +0 -1
- package/dist-esm/src/core/receiverHelper.js.map +0 -1
- package/dist-esm/src/core/shared.js.map +0 -1
- package/dist-esm/src/core/streamingReceiver.js.map +0 -1
- package/dist-esm/src/dataTransformer.js.map +0 -1
- package/dist-esm/src/diagnostics/instrumentServiceBusMessage.js.map +0 -1
- package/dist-esm/src/diagnostics/tracing.js.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/log.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/modelsToBeSharedWithEventHubs.js +0 -4
- package/dist-esm/src/modelsToBeSharedWithEventHubs.js.map +0 -1
- package/dist-esm/src/receivers/receiver.js.map +0 -1
- package/dist-esm/src/receivers/receiverCommon.js.map +0 -1
- package/dist-esm/src/receivers/sessionReceiver.js.map +0 -1
- package/dist-esm/src/sender.js.map +0 -1
- package/dist-esm/src/serializers/namespaceResourceSerializer.js.map +0 -1
- package/dist-esm/src/serializers/queueResourceSerializer.js.map +0 -1
- package/dist-esm/src/serializers/ruleResourceSerializer.js.map +0 -1
- package/dist-esm/src/serializers/subscriptionResourceSerializer.js.map +0 -1
- package/dist-esm/src/serializers/topicResourceSerializer.js.map +0 -1
- package/dist-esm/src/serviceBusAtomManagementClient.js.map +0 -1
- package/dist-esm/src/serviceBusClient.js.map +0 -1
- package/dist-esm/src/serviceBusError.js.map +0 -1
- package/dist-esm/src/serviceBusMessage.js.map +0 -1
- package/dist-esm/src/serviceBusMessageBatch.js.map +0 -1
- package/dist-esm/src/serviceBusRuleManager.js.map +0 -1
- package/dist-esm/src/session/messageSession.js.map +0 -1
- package/dist-esm/src/util/atomXmlHelper.js.map +0 -1
- package/dist-esm/src/util/compat/compatibility.js.map +0 -1
- package/dist-esm/src/util/compat/httpHeaders.js.map +0 -1
- package/dist-esm/src/util/compat/index.js +0 -5
- package/dist-esm/src/util/compat/index.js.map +0 -1
- package/dist-esm/src/util/connectionStringUtils.js.map +0 -1
- package/dist-esm/src/util/crypto.browser.js.map +0 -1
- package/dist-esm/src/util/crypto.js.map +0 -1
- package/dist-esm/src/util/errors.js.map +0 -1
- package/dist-esm/src/util/parseUrl.browser.js.map +0 -1
- package/dist-esm/src/util/parseUrl.js.map +0 -1
- package/dist-esm/src/util/runtimeInfo.browser.js.map +0 -1
- package/dist-esm/src/util/runtimeInfo.js.map +0 -1
- package/dist-esm/src/util/runtimeInfo.native.js.map +0 -1
- package/dist-esm/src/util/sasServiceClientCredentials.js.map +0 -1
- package/dist-esm/src/util/semaphore.js.map +0 -1
- package/dist-esm/src/util/typeGuards.js.map +0 -1
- package/dist-esm/src/util/utils.js.map +0 -1
- package/types/latest/service-bus-beta.d.ts +0 -3197
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceBusAtomManagementClient.js","sourceRoot":"","sources":["../../src/serviceBusAtomManagementClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,gDAAqF;AAErF,gDAA2E;AAM3E,oDAAmD;AAQnD,kEAKmC;AAEnC,qCAA0D;AAE1D,iGAGsD;AAOtD,yFAKkD;AAOlD,uFAIiD;AAOjD,uGAKyD;AAOzD,yFAKkD;AAElD,8DAAkE;AAClE,uEAAiD;AACjD,oDAA8C;AAC9C,0FAAoF;AACpF,yDAAyD;AACzD,gDAA6C;AAE7C,8CAKyB;AAgDzB,SAAS,aAAa,CAAC,WAEtB;IACC,OAAO;QACL,IAAI,EAAE,eAAe;QACrB,KAAK,CAAC,WAAW,CAAC,OAAwB,EAAE,IAAiB;YAC3D,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;YACtD,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAa,8BAA+B,SAAQ,2BAAa;IAC/D;;OAEG;IACK,QAAQ,CAAS;IAEzB;;OAEG;IACK,oBAAoB,CAAS;IAE7B,cAAc,CAA2B;IAEzC,MAAM,CAAU;IAExB;;OAEG;IACK,2BAA2B,CAAoB;IAC/C,uBAAuB,CAAoB;IAC3C,uBAAuB,CAAoB;IAC3C,8BAA8B,CAAoB;IAClD,sBAAsB,CAAoB;IAElD;;OAEG;IAC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AE,CAAC;YAChF,MAAM,IAAI,KAAK,CAAC,6BAA6B,KAAK,WAAW,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF;AAr5ED,wEAq5EC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Constants as AMQPConstants, parseConnectionString } from \"@azure/core-amqp\";\nimport type { TokenCredential, NamedKeyCredential } from \"@azure/core-auth\";\nimport { isTokenCredential, isNamedKeyCredential } from \"@azure/core-auth\";\nimport type {\n OperationOptions,\n CommonClientOptions,\n FullOperationResponse,\n} from \"@azure/core-client\";\nimport { ServiceClient } from \"@azure/core-client\";\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type {\n PipelineResponse,\n PipelineRequest,\n PipelinePolicy,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport {\n bearerTokenAuthenticationPolicy,\n RestError,\n createPipelineFromOptions,\n createPipelineRequest,\n} from \"@azure/core-rest-pipeline\";\nimport type { CorrelationRuleFilter } from \"./core/managementClient.js\";\nimport { administrationLogger as logger } from \"./log.js\";\nimport type { NamespaceProperties } from \"./serializers/namespaceResourceSerializer.js\";\nimport {\n buildNamespace,\n NamespaceResourceSerializer,\n} from \"./serializers/namespaceResourceSerializer.js\";\nimport type {\n CreateQueueOptions,\n InternalQueueOptions,\n QueueProperties,\n QueueRuntimeProperties,\n} from \"./serializers/queueResourceSerializer.js\";\nimport {\n buildQueue,\n buildQueueOptions,\n buildQueueRuntimeProperties,\n QueueResourceSerializer,\n} from \"./serializers/queueResourceSerializer.js\";\nimport type {\n CreateRuleOptions,\n RuleProperties,\n SqlRuleAction,\n SqlRuleFilter,\n} from \"./serializers/ruleResourceSerializer.js\";\nimport {\n buildRule,\n isSqlRuleAction,\n RuleResourceSerializer,\n} from \"./serializers/ruleResourceSerializer.js\";\nimport type {\n CreateSubscriptionOptions,\n InternalSubscriptionOptions,\n SubscriptionProperties,\n SubscriptionRuntimeProperties,\n} from \"./serializers/subscriptionResourceSerializer.js\";\nimport {\n buildSubscription,\n buildSubscriptionOptions,\n buildSubscriptionRuntimeProperties,\n SubscriptionResourceSerializer,\n} from \"./serializers/subscriptionResourceSerializer.js\";\nimport type {\n CreateTopicOptions,\n InternalTopicOptions,\n TopicProperties,\n TopicRuntimeProperties,\n} from \"./serializers/topicResourceSerializer.js\";\nimport {\n buildTopic,\n buildTopicOptions,\n buildTopicRuntimeProperties,\n TopicResourceSerializer,\n} from \"./serializers/topicResourceSerializer.js\";\nimport type { AtomXmlSerializer } from \"./util/atomXmlHelper.js\";\nimport { executeAtomXmlOperation } from \"./util/atomXmlHelper.js\";\nimport * as Constants from \"./util/constants.js\";\nimport { parseURL } from \"./util/parseUrl.js\";\nimport { SasServiceClientCredentials } from \"./util/sasServiceClientCredentials.js\";\nimport { tracingClient } from \"./diagnostics/tracing.js\";\nimport { isDefined } from \"@azure/core-util\";\nimport type { ServiceBusAtomAPIVersion } from \"./util/utils.js\";\nimport {\n formatUserAgentPrefix,\n getHttpResponseOnly,\n isAbsoluteUrl,\n isJSONLikeObject,\n} from \"./util/utils.js\";\nimport type { HttpResponse } from \"./util/compat/index.js\";\n\n/**\n * Request options for list<entity-type>() operations\n */\nexport interface ListRequestOptions {\n /**\n * Count of entities to fetch.\n */\n maxCount?: number;\n\n /**\n * Count of entities to skip from being fetched.\n */\n skip?: number;\n}\n\n/**\n * Represents the returned response of the operation along with the raw response.\n */\nexport type WithResponse<T extends object> = T & {\n /**\n * The underlying HTTP response.\n */\n _response: HttpResponse;\n};\n\n/**\n * Represents the client options of the `ServiceBusAdministrationClient`.\n */\nexport interface ServiceBusAdministrationClientOptions extends CommonClientOptions {\n /**\n * Service version of the ATOM API.\n *\n * Currently supported = \"2021-05\" | \"2017-04\"\n *\n * Defaults to \"2021-05\".\n */\n serviceVersion?: \"2021-05\" | \"2017-04\";\n}\n\n/**\n * Represents the result of list operation on entities which also contains the `continuationToken` to start iterating over from.\n */\nexport type EntitiesResponse<T extends object> = WithResponse<Array<T>> &\n Pick<PageSettings, \"continuationToken\">;\n\nfunction signingPolicy(credentials: {\n signRequest(request: PipelineRequest): Promise<PipelineRequest>;\n}): PipelinePolicy {\n return {\n name: \"signingPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const signed = await credentials.signRequest(request);\n return next(signed);\n },\n };\n}\n\n/**\n * All operations return promises that resolve to an object that has the relevant output.\n * These objects also have a property called `_response` that you can use if you want to\n * access the direct response from the service.\n */\nexport class ServiceBusAdministrationClient extends ServiceClient {\n /**\n * Reference to the endpoint as extracted from input connection string.\n */\n private endpoint: string;\n\n /**\n * Reference to the endpoint with protocol prefix as extracted from input connection string.\n */\n private endpointWithProtocol: string;\n\n private serviceVersion: ServiceBusAtomAPIVersion;\n\n private useTls: boolean;\n\n /**\n * Singleton instances of serializers used across the various operations.\n */\n private namespaceResourceSerializer: AtomXmlSerializer;\n private queueResourceSerializer: AtomXmlSerializer;\n private topicResourceSerializer: AtomXmlSerializer;\n private subscriptionResourceSerializer: AtomXmlSerializer;\n private ruleResourceSerializer: AtomXmlSerializer;\n\n /**\n * Credentials used to generate tokens as required for the various operations.\n */\n private credentials: SasServiceClientCredentials | TokenCredential;\n\n /**\n * Initializes a new instance of the ServiceBusAdministrationClient class.\n * @param connectionString - The connection string needed for the client to connect to Azure.\n * @param options - PipelineOptions\n */\n constructor(connectionString: string, options?: ServiceBusAdministrationClientOptions);\n /**\n *\n * @param fullyQualifiedNamespace - The fully qualified namespace of your Service Bus instance which is\n * likely to be similar to <yournamespace>.servicebus.windows.net.\n * @param credential - A credential object used by the client to get the token to authenticate the connection\n * with the Azure Service Bus. See @azure/identity for creating the credentials.\n * If you're using your own implementation of the `TokenCredential` interface against AAD, then set the \"scopes\" for service-bus\n * to be `[\"https://servicebus.azure.net//user_impersonation\"]` to get the appropriate token.\n * Use the `AzureNamedKeyCredential` from @azure/core-auth if you want to pass in a `SharedAccessKeyName`\n * and `SharedAccessKey` without using a connection string. These fields map to the `name` and `key` field respectively\n * in `AzureNamedKeyCredential`.\n * @param options - PipelineOptions\n */\n constructor(\n fullyQualifiedNamespace: string,\n credential: TokenCredential | NamedKeyCredential,\n options?: ServiceBusAdministrationClientOptions,\n );\n constructor(\n fullyQualifiedNamespaceOrConnectionString1: string,\n credentialOrOptions2?:\n | TokenCredential\n | NamedKeyCredential\n | ServiceBusAdministrationClientOptions,\n options3?: ServiceBusAdministrationClientOptions,\n ) {\n let options: ServiceBusAdministrationClientOptions;\n let fullyQualifiedNamespace: string;\n let credentials: SasServiceClientCredentials | TokenCredential;\n let authPolicy: PipelinePolicy;\n let useTls: boolean = true;\n if (isTokenCredential(credentialOrOptions2)) {\n fullyQualifiedNamespace = fullyQualifiedNamespaceOrConnectionString1;\n options = options3 || {};\n credentials = credentialOrOptions2;\n authPolicy = bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes: AMQPConstants.aadServiceBusScope,\n });\n } else if (isNamedKeyCredential(credentialOrOptions2)) {\n fullyQualifiedNamespace = fullyQualifiedNamespaceOrConnectionString1;\n credentials = new SasServiceClientCredentials(credentialOrOptions2);\n options = options3 || {};\n authPolicy = signingPolicy(credentials as SasServiceClientCredentials);\n } else {\n const connectionString = fullyQualifiedNamespaceOrConnectionString1;\n options = credentialOrOptions2 || {};\n const connectionStringObj: any = parseConnectionString(connectionString);\n if (connectionStringObj.Endpoint === undefined) {\n throw new Error(\"Missing Endpoint in connection string.\");\n }\n try {\n fullyQualifiedNamespace = connectionStringObj.Endpoint.match(\".*://([^/]*)\")[1];\n } catch {\n throw new Error(\"Endpoint in the connection string is not valid.\");\n }\n if (connectionStringObj.UseDevelopmentEmulator) {\n useTls = false;\n }\n credentials = new SasServiceClientCredentials({\n key: connectionStringObj.SharedAccessKey,\n name: connectionStringObj.SharedAccessKeyName,\n });\n authPolicy = signingPolicy(credentials as SasServiceClientCredentials);\n }\n\n const userAgentPrefix = formatUserAgentPrefix(options.userAgentOptions?.userAgentPrefix);\n const serviceClientOptions = createPipelineFromOptions({\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n });\n serviceClientOptions.addPolicy(authPolicy);\n super({ pipeline: serviceClientOptions });\n this.endpoint = fullyQualifiedNamespace;\n this.endpointWithProtocol = fullyQualifiedNamespace.endsWith(\"/\")\n ? \"sb://\" + fullyQualifiedNamespace\n : \"sb://\" + fullyQualifiedNamespace + \"/\";\n this.serviceVersion = options.serviceVersion ?? Constants.CURRENT_API_VERSION;\n this.useTls = useTls;\n this.credentials = credentials;\n this.namespaceResourceSerializer = new NamespaceResourceSerializer();\n this.queueResourceSerializer = new QueueResourceSerializer();\n this.topicResourceSerializer = new TopicResourceSerializer();\n this.subscriptionResourceSerializer = new SubscriptionResourceSerializer();\n this.ruleResourceSerializer = new RuleResourceSerializer();\n }\n\n /**\n * Returns an object representing the metadata related to a service bus namespace.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n */\n async getNamespaceProperties(\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<NamespaceProperties>> {\n logger.verbose(`Performing management operation - getNamespaceProperties()`);\n\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getNamespaceProperties\",\n operationOptions,\n async (updatedOptions) => {\n const response = await this.getResource(\n \"$namespaceinfo\",\n this.namespaceResourceSerializer,\n updatedOptions,\n );\n return this.buildNamespacePropertiesResponse(response);\n },\n );\n }\n\n /**\n * Creates a queue with given name, configured using the given options\n * @param options - Options to configure the Queue being created(For example, you can configure a queue to support partitions or sessions)\n * and the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityAlreadyExistsError` when requested messaging entity already exists,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `QuotaExceededError` when requested operation fails due to quote limits exceeding from service side,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async createQueue(\n queueName: string,\n options: CreateQueueOptions = {},\n ): Promise<WithResponse<QueueProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.createQueue\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - createQueue() for \"${queueName}\" with options: %j`,\n options,\n );\n const response = await this.putResource(\n queueName,\n buildQueueOptions(options || {}),\n this.queueResourceSerializer,\n false,\n updatedOptions,\n );\n\n return this.buildQueueResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Queue and its properties.\n * If you want to get the Queue runtime info like message count details, use `getQueueRuntimeProperties` API.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getQueue(\n queueName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<QueueProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getQueue\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getQueue() for \"${queueName}\"`);\n const response = await this.getResource(\n queueName,\n this.queueResourceSerializer,\n updatedOptions,\n );\n\n return this.buildQueueResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Queue runtime info like message count details.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getQueueRuntimeProperties(\n queueName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<QueueRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getQueueRuntimeProperties\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getQueueRuntimeProperties() for \"${queueName}\"`,\n );\n const response = await this.getResource(\n queueName,\n this.queueResourceSerializer,\n updatedOptions,\n );\n\n return this.buildQueueRuntimePropertiesResponse(response);\n },\n );\n }\n\n /**\n * Returns a list of objects, each representing a Queue along with its properties.\n * If you want to get the runtime info of the queues like message count, use `getQueuesRuntimeProperties` API instead.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getQueues(\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<QueueProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getQueues\",\n options,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getQueues() with options: %j`, options);\n const response = await this.listResources(\n \"$Resources/Queues\",\n updatedOptions,\n this.queueResourceSerializer,\n );\n\n return this.buildListQueuesResponse(response);\n },\n );\n }\n\n private async *listQueuesPage(\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<QueueProperties>> {\n let listResponse;\n do {\n listResponse = await this.getQueues({\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listQueuesAll(\n options: OperationOptions = {},\n ): AsyncIterableIterator<QueueProperties> {\n let marker: string | undefined;\n for await (const segment of this.listQueuesPage(marker, options)) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the queues.\n *\n * .byPage() returns an async iterable iterator to list the queues in pages.\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listQueues(\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<QueueProperties, EntitiesResponse<QueueProperties>> {\n logger.verbose(`Performing management operation - listQueues() with options: %j`, options);\n const iter = this.listQueuesAll(options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listQueuesPage(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Returns a list of objects, each representing a Queue's runtime info like message count details.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getQueuesRuntimeProperties(\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<QueueRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getQueuesRuntimeProperties\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getQueuesRuntimeProperties() with options: %j`,\n options,\n );\n const response = await this.listResources(\n \"$Resources/Queues\",\n updatedOptions,\n this.queueResourceSerializer,\n );\n\n return this.buildListQueuesRuntimePropertiesResponse(response);\n },\n );\n }\n\n private async *listQueuesRuntimePropertiesPage(\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<QueueRuntimeProperties>> {\n let listResponse;\n do {\n listResponse = await this.getQueuesRuntimeProperties({\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listQueuesRuntimePropertiesAll(\n options: OperationOptions = {},\n ): AsyncIterableIterator<QueueRuntimeProperties> {\n let marker: string | undefined;\n for await (const segment of this.listQueuesRuntimePropertiesPage(marker, options)) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list runtime info of the queues.\n *\n * .byPage() returns an async iterable iterator to list runtime info of the queues in pages.\n *\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listQueuesRuntimeProperties(\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<QueueRuntimeProperties, EntitiesResponse<QueueRuntimeProperties>> {\n logger.verbose(\n `Performing management operation - listQueuesRuntimeProperties() with options: %j`,\n options,\n );\n const iter = this.listQueuesRuntimePropertiesAll(options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listQueuesRuntimePropertiesPage(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Updates the queue based on the queue properties provided.\n * All queue properties must be set even though only a subset of them are actually updatable.\n * Therefore, the suggested flow is to use the output from `getQueue()`, update the desired properties in it, and then pass the modified object to `updateQueue()`.\n *\n * The properties that cannot be updated are marked as readonly in the `QueueProperties` interface.\n *\n * @param queue - Object representing the properties of the queue and the raw response.\n * `requiresSession`, `requiresDuplicateDetection`, `enablePartitioning`, and `name` can't be updated after creating the queue.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async updateQueue(\n queue: WithResponse<QueueProperties>,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<QueueProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.updateQueue\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - updateQueue() for \"${queue.name}\" with options: %j`,\n queue,\n );\n\n if (!isJSONLikeObject(queue) || queue == null) {\n throw new TypeError(\n `Parameter \"queue\" must be an object of type \"QueueDescription\" and cannot be undefined or null.`,\n );\n }\n\n if (!queue.name) {\n throw new TypeError(`\"name\" attribute of the parameter \"queue\" cannot be undefined.`);\n }\n\n const response = await this.putResource(\n queue.name,\n buildQueueOptions(queue),\n this.queueResourceSerializer,\n true,\n updatedOptions,\n );\n\n return this.buildQueueResponse(response);\n },\n );\n }\n\n /**\n * Deletes a queue.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async deleteQueue(\n queueName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<{}>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.deleteQueue\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - deleteQueue() for \"${queueName}\"`);\n const response = await this.deleteResource(\n queueName,\n this.queueResourceSerializer,\n updatedOptions,\n );\n\n return { _response: getHttpResponseOnly(response) };\n },\n );\n }\n\n /**\n * Checks whether a given queue exists or not.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n */\n async queueExists(queueName: string, operationOptions: OperationOptions = {}): Promise<boolean> {\n logger.verbose(`Performing management operation - queueExists() for \"${queueName}\"`);\n const { span, updatedOptions } = tracingClient.startSpan(\n \"ServiceBusAdministrationClient.queueExists\",\n operationOptions,\n );\n try {\n await this.getQueue(queueName, updatedOptions);\n span.setStatus({ status: \"success\" });\n return true;\n } catch (e: any) {\n span.setStatus({ status: \"error\", error: e });\n return false;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a topic with given name, configured using the given options\n * @param options - Options to configure the Topic being created(For example, you can configure a topic to support partitions)\n * and the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityAlreadyExistsError` when requested messaging entity already exists,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `QuotaExceededError` when requested operation fails due to quote limits exceeding from service side,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async createTopic(\n topicName: string,\n options: CreateTopicOptions = {},\n ): Promise<WithResponse<TopicProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.createTopic\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - createTopic() for \"${topicName}\" with options: %j`,\n options,\n );\n const response = await this.putResource(\n topicName,\n buildTopicOptions(options || {}),\n this.topicResourceSerializer,\n false,\n updatedOptions,\n );\n\n return this.buildTopicResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Topic and its properties.\n * If you want to get the Topic runtime info like subscription count details, use `getTopicRuntimeProperties` API.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getTopic(\n topicName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<TopicProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getTopic\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getTopic() for \"${topicName}\"`);\n const response = await this.getResource(\n topicName,\n this.topicResourceSerializer,\n updatedOptions,\n );\n\n return this.buildTopicResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Topic runtime info like subscription count.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getTopicRuntimeProperties(\n topicName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<TopicRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getTopicRuntimeProperties\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getTopicRuntimeProperties() for \"${topicName}\"`,\n );\n const response = await this.getResource(\n topicName,\n this.topicResourceSerializer,\n updatedOptions,\n );\n\n return this.buildTopicRuntimePropertiesResponse(response);\n },\n );\n }\n\n /**\n * Returns a list of objects, each representing a Topic along with its properties.\n * If you want to get the runtime info of the topics like subscription count, use `getTopicsRuntimeProperties` API instead.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getTopics(\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<TopicProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getTopics\",\n options,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getTopics() with options: %j`, options);\n const response = await this.listResources(\n \"$Resources/Topics\",\n updatedOptions,\n this.topicResourceSerializer,\n );\n\n return this.buildListTopicsResponse(response);\n },\n );\n }\n\n private async *listTopicsPage(\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<TopicProperties>> {\n let listResponse;\n do {\n listResponse = await this.getTopics({\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listTopicsAll(\n options: OperationOptions = {},\n ): AsyncIterableIterator<TopicProperties> {\n let marker: string | undefined;\n for await (const segment of this.listTopicsPage(marker, options)) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the topics.\n *\n * .byPage() returns an async iterable iterator to list the topics in pages.\n *\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listTopics(\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<TopicProperties, EntitiesResponse<TopicProperties>> {\n logger.verbose(`Performing management operation - listTopics() with options: %j`, options);\n const iter = this.listTopicsAll(options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listTopicsPage(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Returns a list of objects, each representing a Topic's runtime info like subscription count.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getTopicsRuntimeProperties(\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<TopicRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getTopicsRuntimeProperties\",\n\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getTopicsRuntimeProperties() with options: %j`,\n options,\n );\n const response = await this.listResources(\n \"$Resources/Topics\",\n updatedOptions,\n this.topicResourceSerializer,\n );\n\n return this.buildListTopicsRuntimePropertiesResponse(response);\n },\n );\n }\n\n private async *listTopicsRuntimePropertiesPage(\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<TopicRuntimeProperties>> {\n let listResponse;\n do {\n listResponse = await this.getTopicsRuntimeProperties({\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listTopicsRuntimePropertiesAll(\n options: OperationOptions = {},\n ): AsyncIterableIterator<TopicRuntimeProperties> {\n let marker: string | undefined;\n for await (const segment of this.listTopicsRuntimePropertiesPage(marker, options)) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list runtime info of the topics.\n *\n * .byPage() returns an async iterable iterator to list runtime info of the topics in pages.\n *\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listTopicsRuntimeProperties(\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<TopicRuntimeProperties, EntitiesResponse<TopicRuntimeProperties>> {\n logger.verbose(\n `Performing management operation - listTopicsRuntimeProperties() with options: %j`,\n options,\n );\n const iter = this.listTopicsRuntimePropertiesAll(options);\n return {\n /**\n * The next method, part of the iteration protocol\n */\n next() {\n return iter.next();\n },\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listTopicsRuntimePropertiesPage(settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Updates the topic based on the topic properties provided.\n * All topic properties must be set even though only a subset of them are actually updatable.\n * Therefore, the suggested flow is to use the output from `getTopic()`, update the desired properties in it, and then pass the modified object to `updateTopic()`.\n *\n * The properties that cannot be updated are marked as readonly in the `TopicProperties` interface.\n *\n * @param topic - Object representing the properties of the topic and the raw response.\n * `requiresDuplicateDetection`, `enablePartitioning`, and `name` can't be updated after creating the topic.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async updateTopic(\n topic: WithResponse<TopicProperties>,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<TopicProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.updateTopic\",\n\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - updateTopic() for \"${topic.name}\" with options: %j`,\n topic,\n );\n\n if (!isJSONLikeObject(topic) || topic == null) {\n throw new TypeError(\n `Parameter \"topic\" must be an object of type \"TopicDescription\" and cannot be undefined or null.`,\n );\n }\n\n if (!topic.name) {\n throw new TypeError(`\"name\" attribute of the parameter \"topic\" cannot be undefined.`);\n }\n\n const response = await this.putResource(\n topic.name,\n buildTopicOptions(topic),\n this.topicResourceSerializer,\n true,\n updatedOptions,\n );\n\n return this.buildTopicResponse(response);\n },\n );\n }\n\n /**\n * Deletes a topic.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async deleteTopic(\n topicName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<{}>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.deleteTopic\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - deleteTopic() for \"${topicName}\"`);\n const response = await this.deleteResource(\n topicName,\n this.topicResourceSerializer,\n updatedOptions,\n );\n\n return { _response: getHttpResponseOnly(response) };\n },\n );\n }\n\n /**\n * Checks whether a given topic exists or not.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n */\n async topicExists(topicName: string, operationOptions?: OperationOptions): Promise<boolean> {\n logger.verbose(`Performing management operation - topicExists() for \"${topicName}\"`);\n const { span, updatedOptions } = tracingClient.startSpan(\n \"ServiceBusAdministrationClient.topicExists\",\n operationOptions,\n );\n try {\n span.setStatus({ status: \"success\" });\n await this.getTopic(topicName, updatedOptions);\n return true;\n } catch (e: any) {\n span.setStatus({ status: \"error\", error: e });\n return false;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a subscription with given name, configured using the given options\n * @param options - Options to configure the Subscription being created(For example, you can configure a Subscription to support partitions or sessions)\n * and the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityAlreadyExistsError` when requested messaging entity already exists,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `QuotaExceededError` when requested operation fails due to quote limits exceeding from service side,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async createSubscription(\n topicName: string,\n subscriptionName: string,\n options: CreateSubscriptionOptions = {},\n ): Promise<WithResponse<SubscriptionProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.createSubscription\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - createSubscription() for \"${subscriptionName}\" with options: %j`,\n options,\n );\n const fullPath = this.getSubscriptionPath(topicName, subscriptionName);\n const response = await this.putResource(\n fullPath,\n buildSubscriptionOptions(options || {}),\n this.subscriptionResourceSerializer,\n false,\n updatedOptions,\n );\n\n return this.buildSubscriptionResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Subscription and its properties.\n * If you want to get the Subscription runtime info like message count details, use `getSubscriptionRuntimeProperties` API.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getSubscription(\n topicName: string,\n subscriptionName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<SubscriptionProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getSubscription\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getSubscription() for \"${subscriptionName}\"`,\n );\n const fullPath = this.getSubscriptionPath(topicName, subscriptionName);\n const response = await this.getResource(\n fullPath,\n this.subscriptionResourceSerializer,\n updatedOptions,\n );\n\n return this.buildSubscriptionResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Subscription runtime info like message count details.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getSubscriptionRuntimeProperties(\n topicName: string,\n subscriptionName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<SubscriptionRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getSubscriptionRuntimeProperties\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getSubscriptionRuntimeProperties() for \"${subscriptionName}\"`,\n );\n const fullPath = this.getSubscriptionPath(topicName, subscriptionName);\n const response = await this.getResource(\n fullPath,\n this.subscriptionResourceSerializer,\n updatedOptions,\n );\n\n return this.buildSubscriptionRuntimePropertiesResponse(response);\n },\n );\n }\n\n /**\n * Returns a list of objects, each representing a Subscription along with its properties.\n * If you want to get the runtime info of the subscriptions like message count, use `getSubscriptionsRuntimeProperties` API instead.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getSubscriptions(\n topicName: string,\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<SubscriptionProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getSubscriptions\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getSubscriptions() with options: %j`,\n options,\n );\n const response = await this.listResources(\n topicName + \"/Subscriptions/\",\n updatedOptions,\n this.subscriptionResourceSerializer,\n );\n\n return this.buildListSubscriptionsResponse(response);\n },\n );\n }\n\n private async *listSubscriptionsPage(\n topicName: string,\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<SubscriptionProperties>> {\n let listResponse;\n do {\n listResponse = await this.getSubscriptions(topicName, {\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listSubscriptionsAll(\n topicName: string,\n options: OperationOptions = {},\n ): AsyncIterableIterator<SubscriptionProperties> {\n let marker: string | undefined;\n for await (const segment of this.listSubscriptionsPage(topicName, marker, options)) {\n yield* segment;\n }\n }\n\n /**\n *\n * Returns an async iterable iterator to list all the subscriptions\n * under the specified topic.\n *\n * .byPage() returns an async iterable iterator to list the subscriptions in pages.\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listSubscriptions(\n topicName: string,\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<SubscriptionProperties, EntitiesResponse<SubscriptionProperties>> {\n logger.verbose(\n `Performing management operation - listSubscriptions() with options: %j`,\n options,\n );\n const iter = this.listSubscriptionsAll(topicName, options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listSubscriptionsPage(topicName, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Returns a list of objects, each representing a Subscription's runtime info like message count details.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getSubscriptionsRuntimeProperties(\n topicName: string,\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<SubscriptionRuntimeProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getSubscriptionsRuntimeProperties\",\n options,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - getSubscriptionsRuntimeProperties() with options: %j`,\n options,\n );\n const response = await this.listResources(\n topicName + \"/Subscriptions/\",\n updatedOptions,\n this.subscriptionResourceSerializer,\n );\n\n return this.buildListSubscriptionsRuntimePropertiesResponse(response);\n },\n );\n }\n\n private async *listSubscriptionsRuntimePropertiesPage(\n topicName: string,\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<SubscriptionRuntimeProperties>> {\n let listResponse;\n do {\n listResponse = await this.getSubscriptionsRuntimeProperties(topicName, {\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listSubscriptionsRuntimePropertiesAll(\n topicName: string,\n options: OperationOptions = {},\n ): AsyncIterableIterator<SubscriptionRuntimeProperties> {\n let marker: string | undefined;\n for await (const segment of this.listSubscriptionsRuntimePropertiesPage(\n topicName,\n marker,\n options,\n )) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list runtime info of the subscriptions\n * under the specified topic.\n *\n * .byPage() returns an async iterable iterator to list runtime info of subscriptions in pages.\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listSubscriptionsRuntimeProperties(\n topicName: string,\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<\n SubscriptionRuntimeProperties,\n EntitiesResponse<SubscriptionRuntimeProperties>\n > {\n logger.verbose(\n `Performing management operation - listSubscriptionsRuntimeProperties() with options: %j`,\n options,\n );\n const iter = this.listSubscriptionsRuntimePropertiesAll(topicName, options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listSubscriptionsRuntimePropertiesPage(topicName, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Updates the subscription based on the subscription properties provided.\n * All subscription properties must be set even though only a subset of them are actually updatable.\n * Therefore, the suggested flow is to use the output from `getSubscription()`, update the desired properties in it, and then pass the modified object to `updateSubscription()`.\n *\n * The properties that cannot be updated are marked as readonly in the `SubscriptionProperties` interface.\n * @param subscription - Object representing the properties of the subscription and the raw response.\n * `subscriptionName`, `topicName`, and `requiresSession` can't be updated after creating the subscription.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async updateSubscription(\n subscription: WithResponse<SubscriptionProperties>,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<SubscriptionProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.updateSubscription\",\n\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - updateSubscription() for \"${subscription.subscriptionName}\" with options: %j`,\n subscription,\n );\n\n if (!isJSONLikeObject(subscription) || subscription == null) {\n throw new TypeError(\n `Parameter \"subscription\" must be an object of type \"SubscriptionDescription\" and cannot be undefined or null.`,\n );\n }\n\n if (!subscription.topicName || !subscription.subscriptionName) {\n throw new TypeError(\n `The attributes \"topicName\" and \"subscriptionName\" of the parameter \"subscription\" cannot be undefined.`,\n );\n }\n\n const fullPath = this.getSubscriptionPath(\n subscription.topicName,\n subscription.subscriptionName,\n );\n\n const response = await this.putResource(\n fullPath,\n buildSubscriptionOptions(subscription),\n this.subscriptionResourceSerializer,\n true,\n updatedOptions,\n );\n\n return this.buildSubscriptionResponse(response);\n },\n );\n }\n\n /**\n * Deletes a subscription.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async deleteSubscription(\n topicName: string,\n subscriptionName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<{}>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.deleteSubscription\",\n\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - deleteSubscription() for \"${subscriptionName}\"`,\n );\n const fullPath = this.getSubscriptionPath(topicName, subscriptionName);\n const response = await this.deleteResource(\n fullPath,\n this.subscriptionResourceSerializer,\n updatedOptions,\n );\n\n return { _response: getHttpResponseOnly(response) };\n },\n );\n }\n\n /**\n * Checks whether a given subscription exists in the topic or not.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n */\n async subscriptionExists(\n topicName: string,\n subscriptionName: string,\n operationOptions: OperationOptions = {},\n ): Promise<boolean> {\n logger.verbose(\n `Performing management operation - subscriptionExists() for \"${topicName}\" and \"${subscriptionName}\"`,\n );\n const { span, updatedOptions } = tracingClient.startSpan(\n \"ServiceBusAdministrationClient.subscriptionExists\",\n operationOptions,\n );\n try {\n span.setStatus({ status: \"success\" });\n await this.getSubscription(topicName, subscriptionName, updatedOptions);\n return true;\n } catch (e: any) {\n span.setStatus({ status: \"error\", error: e });\n return false;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates a rule with given name, configured using the given options.\n * @param ruleFilter - Defines the filter expression that the rule evaluates.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityAlreadyExistsError` when requested messaging entity already exists,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `QuotaExceededError` when requested operation fails due to quote limits exceeding from service side,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n createRule(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n ruleFilter: SqlRuleFilter | CorrelationRuleFilter,\n operationOptions?: OperationOptions,\n ): Promise<WithResponse<RuleProperties>>;\n /**\n * Creates a rule with given name, configured using the given options.\n * @param ruleFilter - Defines the filter expression that the rule evaluates.\n * @param ruleAction - The SQL like expression that can be executed on the message should the associated filter apply.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityAlreadyExistsError` when requested messaging entity already exists,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `QuotaExceededError` when requested operation fails due to quote limits exceeding from service side,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n createRule(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n ruleFilter: SqlRuleFilter | CorrelationRuleFilter,\n ruleAction: SqlRuleAction,\n operationOptions?: OperationOptions,\n ): Promise<WithResponse<RuleProperties>>;\n async createRule(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n ruleFilter: SqlRuleFilter | CorrelationRuleFilter,\n ruleActionOrOperationOptions?: SqlRuleAction | OperationOptions,\n operationOptions?: OperationOptions,\n ): Promise<WithResponse<RuleProperties>> {\n let ruleAction: SqlRuleAction | undefined = undefined;\n let operOptions: OperationOptions | undefined;\n if (ruleActionOrOperationOptions) {\n if (isSqlRuleAction(ruleActionOrOperationOptions)) {\n // Overload#2 - where the sqlExpression in the ruleAction is defined\n ruleAction = ruleActionOrOperationOptions;\n operOptions = operationOptions;\n } else {\n // Overload#1\n // Overload#2 - where the sqlExpression in the ruleAction is undefined\n operOptions = { ...ruleActionOrOperationOptions, ...operationOptions };\n }\n }\n\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.createRule\",\n operOptions ?? {},\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - createRule() for \"${ruleName}\" with filter: \"%j\"`,\n ruleFilter,\n );\n const fullPath = this.getRulePath(topicName, subscriptionName, ruleName);\n const response = await this.putResource(\n fullPath,\n { name: ruleName, filter: ruleFilter, action: ruleAction },\n this.ruleResourceSerializer,\n false,\n updatedOptions,\n );\n return this.buildRuleResponse(response);\n },\n );\n }\n\n /**\n * Returns an object representing the Rule with the given name along with all its properties.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async getRule(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n operationOptions: OperationOptions = {},\n ): Promise<WithResponse<RuleProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getRule\",\n operationOptions,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getRule() for \"${ruleName}\"`);\n const fullPath = this.getRulePath(topicName, subscriptionName, ruleName);\n const response = await this.getResource(\n fullPath,\n this.ruleResourceSerializer,\n updatedOptions,\n );\n\n return this.buildRuleResponse(response);\n },\n );\n }\n\n /**\n * Lists existing rules.\n * @param options - The options include the maxCount and the count of entities to skip, the operation options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n private async getRules(\n topicName: string,\n subscriptionName: string,\n options: ListRequestOptions & OperationOptions = {},\n ): Promise<EntitiesResponse<RuleProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getRules\",\n\n options,\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - getRules() with options: %j`, options);\n const fullPath = this.getSubscriptionPath(topicName, subscriptionName) + \"/Rules/\";\n const response = await this.listResources(\n fullPath,\n updatedOptions,\n this.ruleResourceSerializer,\n );\n\n return this.buildListRulesResponse(response);\n },\n );\n }\n\n private async *listRulesPage(\n topicName: string,\n subscriptionName: string,\n marker?: string,\n options: OperationOptions & Pick<PageSettings, \"maxPageSize\"> = {},\n ): AsyncIterableIterator<EntitiesResponse<RuleProperties>> {\n let listResponse;\n do {\n listResponse = await this.getRules(topicName, subscriptionName, {\n skip: Number(marker),\n maxCount: options.maxPageSize,\n ...options,\n });\n marker = listResponse.continuationToken;\n yield listResponse;\n } while (marker);\n }\n\n private async *listRulesAll(\n topicName: string,\n subscriptionName: string,\n options: OperationOptions = {},\n ): AsyncIterableIterator<RuleProperties> {\n let marker: string | undefined;\n for await (const segment of this.listRulesPage(topicName, subscriptionName, marker, options)) {\n yield* segment;\n }\n }\n\n /**\n * Returns an async iterable iterator to list all the rules\n * under the specified subscription.\n *\n * .byPage() returns an async iterable iterator to list the rules in pages.\n *\n * @returns An asyncIterableIterator that supports paging.\n */\n public listRules(\n topicName: string,\n subscriptionName: string,\n options?: OperationOptions,\n ): PagedAsyncIterableIterator<RuleProperties, EntitiesResponse<RuleProperties>> {\n logger.verbose(`Performing management operation - listRules() with options: %j`, options);\n const iter = this.listRulesAll(topicName, subscriptionName, options);\n return {\n /**\n */\n next() {\n return iter.next();\n },\n /**\n */\n [Symbol.asyncIterator]() {\n return this;\n },\n /**\n */\n byPage: (settings: PageSettings = {}) => {\n this.throwIfInvalidContinuationToken(settings.continuationToken);\n return this.listRulesPage(topicName, subscriptionName, settings.continuationToken, {\n maxPageSize: settings.maxPageSize,\n ...options,\n });\n },\n };\n }\n\n /**\n * Updates properties on the Rule by the given name based on the given options.\n * All rule properties must be set even if one of them is being updated.\n * Therefore, the suggested flow is to use the output from `getRule()`, update the desired properties in it, and then pass the modified object to `updateRule()`.\n *\n * @param rule - Options to configure the Rule being updated and the raw response.\n * For example, you can configure the filter to apply on associated Topic/Subscription.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async updateRule(\n topicName: string,\n subscriptionName: string,\n rule: WithResponse<RuleProperties>,\n operationOptions?: OperationOptions,\n ): Promise<WithResponse<RuleProperties>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.updateRule\",\n operationOptions ?? {},\n async (updatedOptions) => {\n logger.verbose(\n `Performing management operation - updateRule() for \"${rule.name}\" with options: %j`,\n rule,\n );\n\n if (!isJSONLikeObject(rule) || rule === null) {\n throw new TypeError(\n `Parameter \"rule\" must be an object of type \"RuleDescription\" and cannot be undefined or null.`,\n );\n }\n\n if (!rule.name) {\n throw new TypeError(`\"name\" attribute of the parameter \"rule\" cannot be undefined.`);\n }\n\n const fullPath = this.getRulePath(topicName, subscriptionName, rule.name);\n const response = await this.putResource(\n fullPath,\n rule,\n this.ruleResourceSerializer,\n true,\n updatedOptions,\n );\n\n return this.buildRuleResponse(response);\n },\n );\n }\n\n /**\n * Deletes a rule.\n * @param operationOptions - The options that can be used to abort, trace and control other configurations on the HTTP request.\n *\n * Following are errors that can be expected from this operation\n * @throws `RestError` with code `UnauthorizedRequestError` when given request fails due to authorization problems,\n * @throws `RestError` with code `MessageEntityNotFoundError` when requested messaging entity does not exist,\n * @throws `RestError` with code `InvalidOperationError` when requested operation is invalid and we encounter a 403 HTTP status code,\n * @throws `RestError` with code `ServerBusyError` when the request fails due to server being busy,\n * @throws `RestError` with code `ServiceError` when receiving unrecognized HTTP status or for a scenarios such as\n * bad requests or requests resulting in conflicting operation on the server,\n * @throws `RestError` with code and statusCode representing the standard set of REST API errors.\n */\n async deleteRule(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n operationOptions?: OperationOptions,\n ): Promise<WithResponse<{}>> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.deleteRule\",\n operationOptions ?? {},\n async (updatedOptions) => {\n logger.verbose(`Performing management operation - deleteRule() for \"${ruleName}\"`);\n const fullPath = this.getRulePath(topicName, subscriptionName, ruleName);\n const response = await this.deleteResource(\n fullPath,\n this.ruleResourceSerializer,\n updatedOptions,\n );\n\n return { _response: getHttpResponseOnly(response) };\n },\n );\n }\n\n /**\n * Checks whether a given rule exists or not.\n *\n */\n async ruleExists(\n topicName: string,\n subscriptionName: string,\n ruleName: string,\n operationOptions: OperationOptions = {},\n ): Promise<boolean> {\n logger.verbose(`Performing management operation - ruleExists() for \"${ruleName}\"`);\n const { span, updatedOptions } = tracingClient.startSpan(\n \"ServiceBusAdministrationClient.ruleExists\",\n operationOptions,\n );\n try {\n span.setStatus({ status: \"success\" });\n await this.getRule(topicName, subscriptionName, ruleName, updatedOptions);\n return true;\n } catch (e: any) {\n span.setStatus({ status: \"error\", error: e });\n return false;\n } finally {\n span.end();\n }\n }\n\n /**\n * Creates or updates a resource based on `isUpdate` parameter.\n */\n private async putResource(\n name: string,\n entityFields:\n | InternalQueueOptions\n | InternalTopicOptions\n | InternalSubscriptionOptions\n | CreateRuleOptions,\n serializer: AtomXmlSerializer,\n isUpdate: boolean = false,\n operationOptions: OperationOptions = {},\n ): Promise<PipelineResponse> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.putResource\",\n operationOptions,\n async (updatedOptions) => {\n const request: PipelineRequest = createPipelineRequest({\n url: this.getUrl(name),\n method: \"PUT\",\n allowInsecureConnection: !this.useTls,\n });\n if (isUpdate) {\n request.headers.set(\"If-Match\", \"*\");\n }\n\n const queueOrSubscriptionFields = entityFields as\n | InternalQueueOptions\n | InternalSubscriptionOptions;\n if (\n queueOrSubscriptionFields.ForwardTo ||\n queueOrSubscriptionFields.ForwardDeadLetteredMessagesTo\n ) {\n const token =\n this.credentials instanceof SasServiceClientCredentials\n ? (await this.credentials.getToken(this.endpoint)).token\n : (await this.credentials.getToken([AMQPConstants.aadServiceBusScope]))!.token;\n\n if (queueOrSubscriptionFields.ForwardTo) {\n request.headers.set(\"ServiceBusSupplementaryAuthorization\", token);\n if (!isAbsoluteUrl(queueOrSubscriptionFields.ForwardTo)) {\n queueOrSubscriptionFields.ForwardTo = this.endpointWithProtocol.concat(\n queueOrSubscriptionFields.ForwardTo,\n );\n }\n }\n if (queueOrSubscriptionFields.ForwardDeadLetteredMessagesTo) {\n request.headers.set(\"ServiceBusDlqSupplementaryAuthorization\", token);\n if (!isAbsoluteUrl(queueOrSubscriptionFields.ForwardDeadLetteredMessagesTo)) {\n queueOrSubscriptionFields.ForwardDeadLetteredMessagesTo =\n this.endpointWithProtocol.concat(\n queueOrSubscriptionFields.ForwardDeadLetteredMessagesTo,\n );\n }\n }\n }\n\n request.headers.set(\"content-type\", \"application/atom+xml;type=entry;charset=utf-8\");\n\n return executeAtomXmlOperation(this, request, serializer, updatedOptions, entityFields);\n },\n );\n }\n\n /**\n * Gets a resource.\n */\n private async getResource(\n name: string,\n serializer: AtomXmlSerializer,\n operationOptions: OperationOptions = {},\n ): Promise<FullOperationResponse> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.getResource\",\n operationOptions,\n async (updatedOptions) => {\n const request = createPipelineRequest({\n url: this.getUrl(name),\n method: \"GET\",\n allowInsecureConnection: !this.useTls,\n });\n\n const response = await executeAtomXmlOperation(this, request, serializer, updatedOptions);\n if (\n !isDefined(response.parsedBody) ||\n (Array.isArray(response.parsedBody) && response.parsedBody.length === 0)\n ) {\n const err = new RestError(\n `The messaging entity \"${name}\" being requested cannot be found.`,\n {\n code: \"MessageEntityNotFoundError\",\n statusCode: response.status,\n request,\n response,\n },\n );\n throw err;\n }\n return response;\n },\n );\n }\n\n /**\n * Lists existing resources\n */\n private async listResources(\n name: string,\n options: ListRequestOptions & OperationOptions = {},\n serializer: AtomXmlSerializer,\n ): Promise<FullOperationResponse> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.listResources\",\n options,\n async (updatedOptions) => {\n const queryParams: { [key: string]: string } = {};\n if (options) {\n if (options.skip) {\n queryParams[\"$skip\"] = options.skip.toString();\n }\n if (options.maxCount) {\n queryParams[\"$top\"] = options.maxCount.toString();\n }\n }\n\n const request = createPipelineRequest({\n url: this.getUrl(name, queryParams),\n method: \"GET\",\n allowInsecureConnection: !this.useTls,\n });\n\n return executeAtomXmlOperation(this, request, serializer, updatedOptions);\n },\n );\n }\n\n /**\n * Deletes a resource.\n */\n private async deleteResource(\n name: string,\n serializer: AtomXmlSerializer,\n operationOptions: OperationOptions = {},\n ): Promise<FullOperationResponse> {\n return tracingClient.withSpan(\n \"ServiceBusAdministrationClient.deleteResource\",\n operationOptions,\n async (updatedOptions) => {\n const request = createPipelineRequest({\n url: this.getUrl(name),\n method: \"DELETE\",\n allowInsecureConnection: !this.useTls,\n });\n return executeAtomXmlOperation(this, request, serializer, updatedOptions);\n },\n );\n }\n\n private getUrl(path: string, queryParams?: { [key: string]: string }): string {\n const baseUri = `${this.useTls ? \"https\" : \"http\"}://${this.endpoint}/${path}`;\n\n const requestUrl = new URL(baseUri);\n requestUrl.searchParams.set(Constants.API_VERSION_QUERY_KEY, this.serviceVersion);\n\n if (queryParams) {\n for (const key of Object.keys(queryParams)) {\n requestUrl.searchParams.set(key, queryParams[key]);\n }\n }\n\n return requestUrl.toString();\n }\n\n private getSubscriptionPath(topicName: string, subscriptionName: string): string {\n return topicName + \"/Subscriptions/\" + subscriptionName;\n }\n\n private getRulePath(topicName: string, subscriptionName: string, ruleName: string): string {\n return topicName + \"/Subscriptions/\" + subscriptionName + \"/Rules/\" + ruleName;\n }\n\n private getMarkerFromNextLinkUrl(url: string): string | undefined {\n if (!url) {\n return undefined;\n }\n try {\n const value = parseURL(url).searchParams.get(Constants.XML_METADATA_MARKER + \"skip\");\n return value !== null ? value : undefined;\n } catch (error: any) {\n throw new Error(\n `Unable to parse the '${Constants.XML_METADATA_MARKER}skip' from the next-link in the response ` +\n error,\n );\n }\n }\n\n private buildNamespacePropertiesResponse(\n response: FullOperationResponse,\n ): WithResponse<NamespaceProperties> {\n try {\n const namespace = buildNamespace(response.parsedBody);\n const namespaceResponse: WithResponse<NamespaceProperties> = Object.defineProperty(\n namespace || {},\n \"_response\",\n { value: getHttpResponseOnly(response) },\n ) as WithResponse<NamespaceProperties>;\n return namespaceResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a namespace object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListQueuesResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<QueueProperties> {\n try {\n const queues: QueueProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawQueueArray: any = response.parsedBody;\n for (let i = 0; i < rawQueueArray.length; i++) {\n const queue = buildQueue(rawQueueArray[i]);\n if (queue) {\n queues.push(queue);\n }\n }\n const listQueuesResponse: EntitiesResponse<QueueProperties> = Object.defineProperty(\n queues,\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as EntitiesResponse<QueueProperties>;\n listQueuesResponse.continuationToken = nextMarker;\n return listQueuesResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of queues using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListQueuesRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<QueueRuntimeProperties> {\n try {\n const queues: QueueRuntimeProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawQueueArray: any = response.parsedBody;\n for (let i = 0; i < rawQueueArray.length; i++) {\n const queue = buildQueueRuntimeProperties(rawQueueArray[i]);\n if (queue) {\n queues.push(queue);\n }\n }\n const listQueuesResponse: EntitiesResponse<QueueRuntimeProperties> = Object.defineProperty(\n queues,\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as EntitiesResponse<QueueRuntimeProperties>;\n listQueuesResponse.continuationToken = nextMarker;\n return listQueuesResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of queues using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildQueueResponse(response: FullOperationResponse): WithResponse<QueueProperties> {\n try {\n const queue = buildQueue(response.parsedBody);\n const queueResponse: WithResponse<QueueProperties> = Object.defineProperty(\n queue || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<QueueProperties>;\n return queueResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a queue object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildQueueRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): WithResponse<QueueRuntimeProperties> {\n try {\n const queue = buildQueueRuntimeProperties(response.parsedBody);\n const queueResponse: WithResponse<QueueRuntimeProperties> = Object.defineProperty(\n queue || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<QueueRuntimeProperties>;\n return queueResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a queue object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListTopicsResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<TopicProperties> {\n try {\n const topics: TopicProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawTopicArray: any = response.parsedBody;\n for (let i = 0; i < rawTopicArray.length; i++) {\n const topic = buildTopic(rawTopicArray[i]);\n if (topic) {\n topics.push(topic);\n }\n }\n const listTopicsResponse: EntitiesResponse<TopicProperties> = Object.defineProperty(\n topics,\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as EntitiesResponse<TopicProperties>;\n listTopicsResponse.continuationToken = nextMarker;\n return listTopicsResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of topics using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListTopicsRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<TopicRuntimeProperties> {\n try {\n const topics: TopicRuntimeProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawTopicArray: any = response.parsedBody;\n for (let i = 0; i < rawTopicArray.length; i++) {\n const topic = buildTopicRuntimeProperties(rawTopicArray[i]);\n if (topic) {\n topics.push(topic);\n }\n }\n const listTopicsResponse: EntitiesResponse<TopicRuntimeProperties> = Object.defineProperty(\n topics,\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as EntitiesResponse<TopicRuntimeProperties>;\n listTopicsResponse.continuationToken = nextMarker;\n return listTopicsResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of topics using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n private buildTopicResponse(response: FullOperationResponse): WithResponse<TopicProperties> {\n try {\n const topic = buildTopic(response.parsedBody);\n const topicResponse: WithResponse<TopicProperties> = Object.defineProperty(\n topic || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<TopicProperties>;\n return topicResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a topic object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildTopicRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): WithResponse<TopicRuntimeProperties> {\n try {\n const topic = buildTopicRuntimeProperties(response.parsedBody);\n const topicResponse: WithResponse<TopicRuntimeProperties> = Object.defineProperty(\n topic || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<TopicRuntimeProperties>;\n return topicResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a topic object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListSubscriptionsResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<SubscriptionProperties> {\n try {\n const subscriptions: SubscriptionProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawSubscriptionArray: any = response.parsedBody;\n for (let i = 0; i < rawSubscriptionArray.length; i++) {\n const subscription = buildSubscription(rawSubscriptionArray[i]);\n if (subscription) {\n subscriptions.push(subscription);\n }\n }\n const listSubscriptionsResponse: EntitiesResponse<SubscriptionProperties> =\n Object.defineProperty(subscriptions, \"_response\", {\n value: getHttpResponseOnly(response),\n }) as EntitiesResponse<SubscriptionProperties>;\n listSubscriptionsResponse.continuationToken = nextMarker;\n return listSubscriptionsResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of subscriptions using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListSubscriptionsRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<SubscriptionRuntimeProperties> {\n try {\n const subscriptions: SubscriptionRuntimeProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawSubscriptionArray: any = response.parsedBody;\n for (let i = 0; i < rawSubscriptionArray.length; i++) {\n const subscription = buildSubscriptionRuntimeProperties(rawSubscriptionArray[i]);\n if (subscription) {\n subscriptions.push(subscription);\n }\n }\n const listSubscriptionsResponse: EntitiesResponse<SubscriptionRuntimeProperties> =\n Object.defineProperty(subscriptions, \"_response\", {\n value: getHttpResponseOnly(response),\n }) as EntitiesResponse<SubscriptionRuntimeProperties>;\n listSubscriptionsResponse.continuationToken = nextMarker;\n return listSubscriptionsResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of subscriptions using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildSubscriptionResponse(\n response: FullOperationResponse,\n ): WithResponse<SubscriptionProperties> {\n try {\n const subscription = buildSubscription(response.parsedBody);\n const subscriptionResponse: WithResponse<SubscriptionProperties> = Object.defineProperty(\n subscription || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<SubscriptionProperties>;\n return subscriptionResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a subscription object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildSubscriptionRuntimePropertiesResponse(\n response: FullOperationResponse,\n ): WithResponse<SubscriptionRuntimeProperties> {\n try {\n const subscription = buildSubscriptionRuntimeProperties(response.parsedBody);\n const subscriptionResponse: WithResponse<SubscriptionRuntimeProperties> =\n Object.defineProperty(subscription || {}, \"_response\", {\n value: getHttpResponseOnly(response),\n }) as WithResponse<SubscriptionRuntimeProperties>;\n return subscriptionResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a subscription object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildListRulesResponse(\n response: FullOperationResponse,\n ): EntitiesResponse<RuleProperties> {\n try {\n const rules: RuleProperties[] = [];\n const nextMarker = this.getMarkerFromNextLinkUrl(response.parsedBody.nextLink);\n if (!Array.isArray(response.parsedBody)) {\n throw new TypeError(`${response.parsedBody} was expected to be of type Array`);\n }\n const rawRuleArray: any = response.parsedBody;\n for (let i = 0; i < rawRuleArray.length; i++) {\n const rule = buildRule(rawRuleArray[i]);\n if (rule) {\n rules.push(rule);\n }\n }\n const listRulesResponse: EntitiesResponse<RuleProperties> = Object.defineProperty(\n rules,\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as EntitiesResponse<RuleProperties>;\n listRulesResponse.continuationToken = nextMarker;\n return listRulesResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a list of rules using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private buildRuleResponse(response: FullOperationResponse): WithResponse<RuleProperties> {\n try {\n const rule = buildRule(response.parsedBody);\n const ruleResponse: WithResponse<RuleProperties> = Object.defineProperty(\n rule || {},\n \"_response\",\n {\n value: getHttpResponseOnly(response),\n },\n ) as WithResponse<RuleProperties>;\n return ruleResponse;\n } catch (err: any) {\n logger.logError(err, \"Failure parsing response from service\");\n throw new RestError(\n `Error occurred while parsing the response body - cannot form a rule object using the response from the service.`,\n {\n code: RestError.PARSE_ERROR,\n statusCode: response.status,\n request: response.request,\n response,\n },\n );\n }\n }\n\n private throwIfInvalidContinuationToken(token: string | undefined): void {\n if (!(token === undefined || (typeof token === \"string\" && Number(token) >= 0))) {\n throw new Error(`Invalid continuationToken ${token} provided`);\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import type { TokenCredential, NamedKeyCredential, SASCredential } from "@azure/core-auth";
|
|
2
|
+
import type { ServiceBusClientOptions } from "./constructorHelpers.js";
|
|
3
|
+
import type { ServiceBusReceiverOptions, ServiceBusSessionReceiverOptions, ReceiveMode, ServiceBusSenderOptions } from "./models.js";
|
|
4
|
+
import type { ServiceBusReceiver } from "./receivers/receiver.js";
|
|
5
|
+
import type { ServiceBusSessionReceiver } from "./receivers/sessionReceiver.js";
|
|
6
|
+
import type { ServiceBusRuleManager } from "./serviceBusRuleManager.js";
|
|
7
|
+
import type { ServiceBusSender } from "./sender.js";
|
|
8
|
+
/**
|
|
9
|
+
* A client that can create Sender instances for sending messages to queues and
|
|
10
|
+
* topics as well as Receiver instances to receive messages from queues and subscriptions.
|
|
11
|
+
*/
|
|
12
|
+
export declare class ServiceBusClient {
|
|
13
|
+
private _connectionContext;
|
|
14
|
+
private _clientOptions;
|
|
15
|
+
/**
|
|
16
|
+
* The fully qualified namespace of the Service Bus instance for which this client is created.
|
|
17
|
+
* This is likely to be similar to <yournamespace>.servicebus.windows.net.
|
|
18
|
+
*/
|
|
19
|
+
fullyQualifiedNamespace: string;
|
|
20
|
+
/**
|
|
21
|
+
* The name used to identify this ServiceBusClient.
|
|
22
|
+
* If not specified or empty, a random unique one will be generated.
|
|
23
|
+
*/
|
|
24
|
+
identifier: string;
|
|
25
|
+
/**
|
|
26
|
+
* Creates an instance of the ServiceBusClient class which can be used to create senders and receivers to
|
|
27
|
+
* the Azure Service Bus namespace provided in the connection string. No connection is made to the service
|
|
28
|
+
* until the senders/receivers created with the client are used to send/receive messages.
|
|
29
|
+
* @param connectionString - A connection string for Azure Service Bus namespace.
|
|
30
|
+
* NOTE: this connection string can contain an EntityPath, which is ignored.
|
|
31
|
+
* @param options - Options for the service bus client.
|
|
32
|
+
*/
|
|
33
|
+
constructor(connectionString: string, options?: ServiceBusClientOptions);
|
|
34
|
+
/**
|
|
35
|
+
* Creates an instance of the ServiceBusClient class which can be used to create senders and receivers to
|
|
36
|
+
* the Azure Service Bus namespace provided. No connection is made to the service until
|
|
37
|
+
* the senders/receivers created with the client are used to send/receive messages.
|
|
38
|
+
* @param fullyQualifiedNamespace - The full namespace of your Service Bus instance which is
|
|
39
|
+
* likely to be similar to <yournamespace>.servicebus.windows.net.
|
|
40
|
+
* @param credential - A credential object used by the client to get the token to authenticate the connection
|
|
41
|
+
* with the Azure Service Bus. See @azure/identity for creating the credentials.
|
|
42
|
+
* If you're using an own implementation of the `TokenCredential` interface against AAD, then set the "scopes" for service-bus
|
|
43
|
+
* to be `["https://servicebus.azure.net//user_impersonation"]` to get the appropriate token.
|
|
44
|
+
* Use the `AzureNamedKeyCredential` from @azure/core-auth if you want to pass in a `SharedAccessKeyName`
|
|
45
|
+
* and `SharedAccessKey` without using a connection string. These fields map to the `name` and `key` field respectively
|
|
46
|
+
* in `AzureNamedKeyCredential`.
|
|
47
|
+
* Use the `AzureSASCredential` from @azure/core-auth if you want to pass in a `SharedAccessSignature`
|
|
48
|
+
* without using a connection string. This field maps to `signature` in `AzureSASCredential`.
|
|
49
|
+
* @param options - A set of options to apply when configuring the client.
|
|
50
|
+
* - `retryOptions` : Configures the retry policy for all the operations on the client.
|
|
51
|
+
* For example, `{ "maxRetries": 4 }` or `{ "maxRetries": 4, "retryDelayInMs": 30000 }`.
|
|
52
|
+
* - `webSocketOptions`: Configures the channelling of the AMQP connection over Web Sockets.
|
|
53
|
+
*/
|
|
54
|
+
constructor(fullyQualifiedNamespace: string, credential: TokenCredential | NamedKeyCredential | SASCredential, options?: ServiceBusClientOptions);
|
|
55
|
+
/**
|
|
56
|
+
* Creates a receiver for an Azure Service Bus queue. No connection is made
|
|
57
|
+
* to the service until one of the methods on the receiver is called.
|
|
58
|
+
*
|
|
59
|
+
* To target sub queues like the dead letter queue or the transfer dead letter queue, provide the
|
|
60
|
+
* `subQueue` in the options. To learn more about dead letter queues, see
|
|
61
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/service-bus-dead-letter-queues
|
|
62
|
+
*
|
|
63
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
64
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
65
|
+
* queue.
|
|
66
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
67
|
+
*
|
|
68
|
+
* Messages that are not settled within the lock duration will be redelivered as many times as
|
|
69
|
+
* the max delivery count set on the queue, after which they get sent to a separate dead letter
|
|
70
|
+
* queue.
|
|
71
|
+
*
|
|
72
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
73
|
+
* deadletterMessage() methods on the receiver.
|
|
74
|
+
*
|
|
75
|
+
* More information about how peekLock and message settlement works here:
|
|
76
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
77
|
+
*
|
|
78
|
+
* @param queueName - The name of the queue to receive from.
|
|
79
|
+
* @param options - Options to pass the receiveMode, defaulted to peekLock.
|
|
80
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
81
|
+
*/
|
|
82
|
+
createReceiver(queueName: string, options?: ServiceBusReceiverOptions): ServiceBusReceiver;
|
|
83
|
+
/**
|
|
84
|
+
* Creates a receiver for an Azure Service Bus subscription. No connection is made
|
|
85
|
+
* to the service until one of the methods on the receiver is called.
|
|
86
|
+
*
|
|
87
|
+
* To target sub queues like the dead letter queue or the transfer dead letter queue, provide the
|
|
88
|
+
* `subQueue` in the options. To learn more about dead letter queues, see
|
|
89
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/service-bus-dead-letter-queues
|
|
90
|
+
*
|
|
91
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
92
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
93
|
+
* queue.
|
|
94
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
95
|
+
*
|
|
96
|
+
* Messages that are not settled within the lock duration will be redelivered as many times as
|
|
97
|
+
* the max delivery count set on the subscription, after which they get sent to a separate dead letter
|
|
98
|
+
* queue.
|
|
99
|
+
*
|
|
100
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
101
|
+
* deadletterMessage() methods on the receiver.
|
|
102
|
+
*
|
|
103
|
+
* More information about how peekLock and message settlement works here:
|
|
104
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
105
|
+
*
|
|
106
|
+
* @param topicName - Name of the topic for the subscription we want to receive from.
|
|
107
|
+
* @param subscriptionName - Name of the subscription (under the `topic`) that we want to receive from.
|
|
108
|
+
* @param options - Options to pass the receiveMode, defaulted to peekLock.
|
|
109
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
110
|
+
*/
|
|
111
|
+
createReceiver(topicName: string, subscriptionName: string, options?: ServiceBusReceiverOptions): ServiceBusReceiver;
|
|
112
|
+
/**
|
|
113
|
+
* Creates an instance of {@link ServiceBusRuleManager} that is used to manage
|
|
114
|
+
* the rules for a subscription.
|
|
115
|
+
*
|
|
116
|
+
* @param topicName - the topic to create {@link ServiceBusRuleManager}
|
|
117
|
+
* @param subscriptionName - the subscription specific to the specified topic to create a {@link ServiceBusRuleManager} for.
|
|
118
|
+
* @returns a {@link ServiceBusRuleManager} scoped to the specified subscription and topic.
|
|
119
|
+
*/
|
|
120
|
+
createRuleManager(topicName: string, subscriptionName: string): ServiceBusRuleManager;
|
|
121
|
+
/**
|
|
122
|
+
* Creates a receiver for a session enabled Azure Service Bus queue.
|
|
123
|
+
*
|
|
124
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
125
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
126
|
+
* queue.
|
|
127
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
128
|
+
*
|
|
129
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
130
|
+
* deadletterMessage() methods on the receiver.
|
|
131
|
+
*
|
|
132
|
+
* More information about how peekLock and message settlement works here:
|
|
133
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
134
|
+
*
|
|
135
|
+
* @param queueName - The name of the queue to receive from.
|
|
136
|
+
* @param sessionId - The id of the session from which messages need to be received
|
|
137
|
+
* @param options - Options include receiveMode(defaulted to peekLock), options to create session receiver.
|
|
138
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
139
|
+
*/
|
|
140
|
+
acceptSession(queueName: string, sessionId: string, options?: ServiceBusSessionReceiverOptions): Promise<ServiceBusSessionReceiver>;
|
|
141
|
+
/**
|
|
142
|
+
* Creates a receiver for a session enabled Azure Service Bus subscription.
|
|
143
|
+
*
|
|
144
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
145
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
146
|
+
* queue.
|
|
147
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
148
|
+
*
|
|
149
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
150
|
+
* deadletterMessage() methods on the receiver.
|
|
151
|
+
*
|
|
152
|
+
* More information about how peekLock and message settlement works here:
|
|
153
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
154
|
+
*
|
|
155
|
+
* @param topicName - Name of the topic for the subscription we want to receive from.
|
|
156
|
+
* @param subscriptionName - Name of the subscription (under the `topic`) that we want to receive from.
|
|
157
|
+
* @param sessionId - The id of the session from which messages need to be received
|
|
158
|
+
* @param options - Options include receiveMode(defaulted to peekLock), options to create session receiver.
|
|
159
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
160
|
+
*/
|
|
161
|
+
acceptSession(topicName: string, subscriptionName: string, sessionId: string, options?: ServiceBusSessionReceiverOptions): Promise<ServiceBusSessionReceiver>;
|
|
162
|
+
/**
|
|
163
|
+
* Creates a receiver for the next available session in a session-enabled Azure Service Bus queue.
|
|
164
|
+
*
|
|
165
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
166
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
167
|
+
* queue.
|
|
168
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
169
|
+
*
|
|
170
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
171
|
+
* deadletterMessage() methods on the receiver.
|
|
172
|
+
*
|
|
173
|
+
* More information about how peekLock and message settlement works here:
|
|
174
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
175
|
+
*
|
|
176
|
+
* @param queueName - The name of the queue to receive from.
|
|
177
|
+
* @param options - Options include receiveMode(defaulted to peekLock), options to create session receiver.
|
|
178
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
179
|
+
*/
|
|
180
|
+
acceptNextSession(queueName: string, options?: ServiceBusSessionReceiverOptions): Promise<ServiceBusSessionReceiver>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates a receiver for the next available session in a session-enabled Azure Service Bus subscription.
|
|
183
|
+
*
|
|
184
|
+
* You can choose between two receive modes: "peekLock" (default) and "receiveAndDelete".
|
|
185
|
+
* - In peekLock mode, the receiver has a lock on the message for the duration specified on the
|
|
186
|
+
* queue.
|
|
187
|
+
* - In receiveAndDelete mode, messages are deleted from Service Bus as they are received.
|
|
188
|
+
*
|
|
189
|
+
* You can settle a message by calling completeMessage(), abandonMessage(), deferMessage() or
|
|
190
|
+
* deadletterMessage() methods on the receiver.
|
|
191
|
+
*
|
|
192
|
+
* More information about how peekLock and message settlement works here:
|
|
193
|
+
* https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock
|
|
194
|
+
*
|
|
195
|
+
* @param topicName - Name of the topic for the subscription we want to receive from.
|
|
196
|
+
* @param subscriptionName - Name of the subscription (under the `topic`) that we want to receive from.
|
|
197
|
+
* @param options - Options include receiveMode(defaulted to peekLock), options to create session receiver.
|
|
198
|
+
* @returns A receiver that can be used to receive, peek and settle messages.
|
|
199
|
+
*/
|
|
200
|
+
acceptNextSession(topicName: string, subscriptionName: string, options?: ServiceBusSessionReceiverOptions): Promise<ServiceBusSessionReceiver>;
|
|
201
|
+
/**
|
|
202
|
+
* Creates a Sender which can be used to send messages, schedule messages to be
|
|
203
|
+
* sent at a later time and cancel such scheduled messages. No connection is made
|
|
204
|
+
* to the service until one of the methods on the sender is called.
|
|
205
|
+
* @param queueOrTopicName - The name of a queue or topic to send messages to.
|
|
206
|
+
*/
|
|
207
|
+
createSender(queueOrTopicName: string, options?: ServiceBusSenderOptions): ServiceBusSender;
|
|
208
|
+
/**
|
|
209
|
+
* Closes the underlying AMQP connection.
|
|
210
|
+
* NOTE: this will also disconnect any Receiver or Sender instances created from this
|
|
211
|
+
* instance.
|
|
212
|
+
*/
|
|
213
|
+
close(): Promise<void>;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Helper to validate and extract the common arguments from both the create*Receiver() overloads that
|
|
217
|
+
* have this pattern:
|
|
218
|
+
*
|
|
219
|
+
* queue, options
|
|
220
|
+
* topic, subscription, options
|
|
221
|
+
*
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
export declare function extractReceiverArguments<OptionsT extends {
|
|
225
|
+
receiveMode?: ReceiveMode;
|
|
226
|
+
}>(queueOrTopicName1: string, optionsOrSubscriptionName2: string | OptionsT | undefined, definitelyOptions3?: OptionsT): {
|
|
227
|
+
entityPath: string;
|
|
228
|
+
receiveMode: ReceiveMode;
|
|
229
|
+
options?: Omit<OptionsT, "receiveMode">;
|
|
230
|
+
};
|
|
231
|
+
//# sourceMappingURL=serviceBusClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceBusClient.d.ts","sourceRoot":"","sources":["../../src/serviceBusClient.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC3F,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAMvE,OAAO,KAAK,EACV,yBAAyB,EACzB,gCAAgC,EAChC,WAAW,EACX,uBAAuB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAQpD;;;GAGG;AACH,qBAAa,gBAAgB;IAC3B,OAAO,CAAC,kBAAkB,CAAoB;IAC9C,OAAO,CAAC,cAAc,CAA0B;IAChD;;;OAGG;IACI,uBAAuB,EAAE,MAAM,CAAC;IACvC;;;OAGG;IACI,UAAU,EAAE,MAAM,CAAC;IAC1B;;;;;;;OAOG;gBACS,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,uBAAuB;IACvE;;;;;;;;;;;;;;;;;;;OAmBG;gBAED,uBAAuB,EAAE,MAAM,EAC/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