@azure/cosmos 4.9.1 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/PartitionKeyRangeFailoverInfo.d.ts +1 -1
- package/dist/browser/PartitionKeyRangeFailoverInfo.d.ts.map +1 -1
- package/dist/browser/PartitionKeyRangeFailoverInfo.js +0 -2
- package/dist/browser/PartitionKeyRangeFailoverInfo.js.map +1 -1
- package/dist/browser/bulk/index.d.ts +1 -1
- package/dist/browser/bulk/index.d.ts.map +1 -1
- package/dist/browser/bulk/index.js.map +1 -1
- package/dist/browser/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts +2 -2
- package/dist/browser/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts.map +1 -1
- package/dist/browser/client/ChangeFeed/ChangeFeedForPartitionKey.js.map +1 -1
- package/dist/browser/client/ChangeFeed/buildChangeFeedIterator.js.map +1 -1
- package/dist/browser/client/ChangeFeed/changeFeedUtils.d.ts +4 -4
- package/dist/browser/client/ChangeFeed/changeFeedUtils.d.ts.map +1 -1
- package/dist/browser/client/ChangeFeed/changeFeedUtils.js.map +1 -1
- package/dist/browser/client/ChangeFeed/index.d.ts +2 -2
- package/dist/browser/client/ChangeFeed/index.d.ts.map +1 -1
- package/dist/browser/client/ChangeFeed/index.js.map +1 -1
- package/dist/browser/client/ClientUtils.d.ts +1 -1
- package/dist/browser/client/ClientUtils.d.ts.map +1 -1
- package/dist/browser/client/ClientUtils.js.map +1 -1
- package/dist/browser/client/Conflict/index.d.ts +2 -2
- package/dist/browser/client/Conflict/index.d.ts.map +1 -1
- package/dist/browser/client/Conflict/index.js.map +1 -1
- package/dist/browser/client/Container/ContainerDefinition.d.ts +1 -1
- package/dist/browser/client/Container/ContainerDefinition.d.ts.map +1 -1
- package/dist/browser/client/Container/ContainerDefinition.js.map +1 -1
- package/dist/browser/client/Container/index.d.ts +4 -4
- package/dist/browser/client/Container/index.d.ts.map +1 -1
- package/dist/browser/client/Container/index.js.map +1 -1
- package/dist/browser/client/Database/index.d.ts +2 -2
- package/dist/browser/client/Database/index.d.ts.map +1 -1
- package/dist/browser/client/Database/index.js.map +1 -1
- package/dist/browser/client/Item/Items.d.ts.map +1 -1
- package/dist/browser/client/Item/Items.js.map +1 -1
- package/dist/browser/client/Item/index.d.ts +1 -1
- package/dist/browser/client/Item/index.d.ts.map +1 -1
- package/dist/browser/client/Item/index.js.map +1 -1
- package/dist/browser/client/Offer/index.d.ts +1 -1
- package/dist/browser/client/Offer/index.d.ts.map +1 -1
- package/dist/browser/client/Offer/index.js.map +1 -1
- package/dist/browser/client/Permission/index.d.ts +2 -2
- package/dist/browser/client/Permission/index.d.ts.map +1 -1
- package/dist/browser/client/Permission/index.js.map +1 -1
- package/dist/browser/client/StoredProcedure/index.d.ts +1 -1
- package/dist/browser/client/StoredProcedure/index.d.ts.map +1 -1
- package/dist/browser/client/StoredProcedure/index.js.map +1 -1
- package/dist/browser/client/Trigger/index.d.ts +1 -1
- package/dist/browser/client/Trigger/index.d.ts.map +1 -1
- package/dist/browser/client/Trigger/index.js.map +1 -1
- package/dist/browser/client/User/index.d.ts +1 -1
- package/dist/browser/client/User/index.d.ts.map +1 -1
- package/dist/browser/client/User/index.js.map +1 -1
- package/dist/browser/client/UserDefinedFunction/index.d.ts +1 -1
- package/dist/browser/client/UserDefinedFunction/index.d.ts.map +1 -1
- package/dist/browser/client/UserDefinedFunction/index.js.map +1 -1
- package/dist/browser/client/index.d.ts +1 -1
- package/dist/browser/client/index.d.ts.map +1 -1
- package/dist/browser/client/index.js +0 -1
- package/dist/browser/client/index.js.map +1 -1
- package/dist/browser/common/constants.js +1 -1
- package/dist/browser/common/constants.js.map +1 -1
- package/dist/browser/common/helper.d.ts +4 -4
- package/dist/browser/common/helper.d.ts.map +1 -1
- package/dist/browser/common/helper.js.map +1 -1
- package/dist/browser/common/platform.d.ts +1 -1
- package/dist/browser/common/platform.d.ts.map +1 -1
- package/dist/browser/common/platform.js.map +1 -1
- package/dist/browser/diagnostics/DiagnosticNodeInternal.d.ts +1 -1
- package/dist/browser/diagnostics/DiagnosticNodeInternal.d.ts.map +1 -1
- package/dist/browser/diagnostics/DiagnosticNodeInternal.js.map +1 -1
- package/dist/browser/documents/index.d.ts +4 -4
- package/dist/browser/documents/index.d.ts.map +1 -1
- package/dist/browser/documents/index.js +0 -4
- package/dist/browser/documents/index.js.map +1 -1
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts +6 -2
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts.map +1 -0
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js +8 -3
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js.map +1 -0
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache.d.ts +5 -1
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache.d.ts.map +1 -0
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache.js +5 -2
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache.js.map +1 -0
- package/dist/browser/encryption/ClientEncryptionIncludedPath.d.ts +1 -1
- package/dist/browser/encryption/ClientEncryptionIncludedPath.d.ts.map +1 -1
- package/dist/browser/encryption/ClientEncryptionIncludedPath.js.map +1 -1
- package/dist/browser/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts +4 -4
- package/dist/browser/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts.map +1 -1
- package/dist/browser/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.js.map +1 -1
- package/dist/browser/encryption/ClientEncryptionKey/index.d.ts +2 -2
- package/dist/browser/encryption/ClientEncryptionKey/index.d.ts.map +1 -1
- package/dist/browser/encryption/ClientEncryptionKey/index.js.map +1 -1
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey.d.ts +6 -1
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey.d.ts.map +1 -0
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey.js +8 -2
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey.js.map +1 -0
- package/dist/browser/encryption/EncryptionKeyResolver/index.d.ts +1 -1
- package/dist/browser/encryption/EncryptionKeyResolver/index.d.ts.map +1 -1
- package/dist/browser/encryption/EncryptionKeyResolver/index.js.map +1 -1
- package/dist/browser/encryption/EncryptionQueryBuilder.d.ts +2 -2
- package/dist/browser/encryption/EncryptionQueryBuilder.d.ts.map +1 -1
- package/dist/browser/encryption/EncryptionQueryBuilder.js.map +1 -1
- package/dist/browser/encryption/Serializers/BooleanSerializer.d.ts +1 -1
- package/dist/browser/encryption/Serializers/BooleanSerializer.d.ts.map +1 -1
- package/dist/browser/encryption/Serializers/BooleanSerializer.js.map +1 -1
- package/dist/browser/encryption/Serializers/FloatSerializer.d.ts +1 -1
- package/dist/browser/encryption/Serializers/FloatSerializer.d.ts.map +1 -1
- package/dist/browser/encryption/Serializers/FloatSerializer.js.map +1 -1
- package/dist/browser/encryption/Serializers/StringSerializer.d.ts +1 -1
- package/dist/browser/encryption/Serializers/StringSerializer.d.ts.map +1 -1
- package/dist/browser/encryption/Serializers/StringSerializer.js.map +1 -1
- package/dist/browser/encryption/Serializers/index.d.ts +1 -1
- package/dist/browser/encryption/Serializers/index.d.ts.map +1 -1
- package/dist/browser/encryption/Serializers/index.js.map +1 -1
- package/dist/browser/encryption/index.d.ts +5 -5
- package/dist/browser/encryption/index.d.ts.map +1 -1
- package/dist/browser/encryption/index.js.map +1 -1
- package/dist/browser/globalPartitionEndpointManager.d.ts +2 -1
- package/dist/browser/globalPartitionEndpointManager.d.ts.map +1 -1
- package/dist/browser/globalPartitionEndpointManager.js.map +1 -1
- package/dist/browser/index.d.ts +16 -16
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/queryExecutionContext/Aggregators/index.d.ts +1 -1
- package/dist/browser/queryExecutionContext/Aggregators/index.d.ts.map +1 -1
- package/dist/browser/queryExecutionContext/Aggregators/index.js.map +1 -1
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js +26 -18
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js.map +1 -1
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js +48 -25
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js.map +1 -1
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js +17 -26
- package/dist/browser/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js.map +1 -1
- package/dist/browser/queryExecutionContext/PartitionRangeManager.d.ts +8 -7
- package/dist/browser/queryExecutionContext/PartitionRangeManager.d.ts.map +1 -1
- package/dist/browser/queryExecutionContext/PartitionRangeManager.js +13 -12
- package/dist/browser/queryExecutionContext/PartitionRangeManager.js.map +1 -1
- package/dist/browser/queryExecutionContext/index.d.ts +2 -2
- package/dist/browser/queryExecutionContext/index.d.ts.map +1 -1
- package/dist/browser/queryExecutionContext/index.js +0 -2
- package/dist/browser/queryExecutionContext/index.js.map +1 -1
- package/dist/browser/queryExecutionContext/parallelQueryExecutionContextBase.d.ts +1 -1
- package/dist/browser/queryExecutionContext/parallelQueryExecutionContextBase.d.ts.map +1 -1
- package/dist/browser/queryExecutionContext/parallelQueryExecutionContextBase.js.map +1 -1
- package/dist/browser/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts +0 -4
- package/dist/browser/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts.map +1 -1
- package/dist/browser/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js +2 -10
- package/dist/browser/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js.map +1 -1
- package/dist/browser/request/defaultAgent.d.ts +1 -1
- package/dist/browser/request/defaultAgent.d.ts.map +1 -0
- package/dist/browser/request/defaultAgent.js +1 -1
- package/dist/browser/request/defaultAgent.js.map +1 -0
- package/dist/browser/request/hybridSearchQueryResult.d.ts +1 -1
- package/dist/browser/request/hybridSearchQueryResult.d.ts.map +1 -1
- package/dist/browser/request/hybridSearchQueryResult.js.map +1 -1
- package/dist/browser/request/index.d.ts +8 -8
- package/dist/browser/request/index.d.ts.map +1 -1
- package/dist/browser/request/index.js +0 -1
- package/dist/browser/request/index.js.map +1 -1
- package/dist/browser/retry/endpointDiscoveryRetryPolicy.d.ts +1 -1
- package/dist/browser/retry/endpointDiscoveryRetryPolicy.d.ts.map +1 -1
- package/dist/browser/retry/endpointDiscoveryRetryPolicy.js.map +1 -1
- package/dist/browser/retry/index.d.ts +1 -1
- package/dist/browser/retry/index.d.ts.map +1 -1
- package/dist/browser/retry/index.js +0 -3
- package/dist/browser/retry/index.js.map +1 -1
- package/dist/browser/retry/timeoutFailoverRetryPolicy.d.ts +1 -1
- package/dist/browser/retry/timeoutFailoverRetryPolicy.d.ts.map +1 -1
- package/dist/browser/retry/timeoutFailoverRetryPolicy.js.map +1 -1
- package/dist/browser/utils/atob.d.ts +1 -1
- package/dist/browser/utils/atob.d.ts.map +1 -0
- package/dist/browser/utils/atob.js +1 -1
- package/dist/browser/utils/atob.js.map +1 -0
- package/dist/browser/utils/digest.d.ts +1 -1
- package/dist/browser/utils/digest.d.ts.map +1 -0
- package/dist/browser/utils/digest.js +1 -1
- package/dist/browser/utils/digest.js.map +1 -0
- package/dist/browser/utils/envUtils.d.ts +1 -1
- package/dist/browser/utils/envUtils.d.ts.map +1 -0
- package/dist/browser/utils/envUtils.js +1 -1
- package/dist/browser/utils/envUtils.js.map +1 -0
- package/dist/browser/utils/hashing/hash.d.ts +1 -1
- package/dist/browser/utils/hashing/hash.d.ts.map +1 -1
- package/dist/browser/utils/hashing/hash.js.map +1 -1
- package/dist/browser/utils/hmac.d.ts +1 -1
- package/dist/browser/utils/hmac.d.ts.map +1 -0
- package/dist/browser/utils/hmac.js +1 -1
- package/dist/browser/utils/hmac.js.map +1 -0
- package/dist/commonjs/ChangeFeedIterator.js +125 -110
- package/dist/commonjs/ChangeFeedIterator.js.map +7 -1
- package/dist/commonjs/ChangeFeedOptions.js +15 -3
- package/dist/commonjs/ChangeFeedOptions.js.map +7 -1
- package/dist/commonjs/ChangeFeedResponse.js +80 -78
- package/dist/commonjs/ChangeFeedResponse.js.map +7 -1
- package/dist/commonjs/ClientContext.js +867 -761
- package/dist/commonjs/ClientContext.js.map +7 -1
- package/dist/commonjs/CosmosClient.js +293 -286
- package/dist/commonjs/CosmosClient.js.map +7 -1
- package/dist/commonjs/CosmosClientOptions.js +15 -3
- package/dist/commonjs/CosmosClientOptions.js.map +7 -1
- package/dist/commonjs/CosmosDiagnostics.js +51 -55
- package/dist/commonjs/CosmosDiagnostics.js.map +7 -1
- package/dist/commonjs/GlobalEndpointManagerOptions.js +15 -3
- package/dist/commonjs/GlobalEndpointManagerOptions.js.map +7 -1
- package/dist/commonjs/PartitionKeyRangeFailoverInfo.d.ts +1 -1
- package/dist/commonjs/PartitionKeyRangeFailoverInfo.d.ts.map +1 -1
- package/dist/commonjs/PartitionKeyRangeFailoverInfo.js +148 -134
- package/dist/commonjs/PartitionKeyRangeFailoverInfo.js.map +7 -1
- package/dist/commonjs/auth.js +91 -84
- package/dist/commonjs/auth.js.map +7 -1
- package/dist/commonjs/bulk/Batcher.js +177 -149
- package/dist/commonjs/bulk/Batcher.js.map +7 -1
- package/dist/commonjs/bulk/BulkHelper.js +320 -289
- package/dist/commonjs/bulk/BulkHelper.js.map +7 -1
- package/dist/commonjs/bulk/BulkResponse.js +140 -118
- package/dist/commonjs/bulk/BulkResponse.js.map +7 -1
- package/dist/commonjs/bulk/CongestionAlgorithm.js +71 -66
- package/dist/commonjs/bulk/CongestionAlgorithm.js.map +7 -1
- package/dist/commonjs/bulk/HelperPerPartition.js +167 -130
- package/dist/commonjs/bulk/HelperPerPartition.js.map +7 -1
- package/dist/commonjs/bulk/ItemOperation.js +15 -5
- package/dist/commonjs/bulk/ItemOperation.js.map +7 -1
- package/dist/commonjs/bulk/ItemOperationContext.js +53 -38
- package/dist/commonjs/bulk/ItemOperationContext.js.map +7 -1
- package/dist/commonjs/bulk/Limiter.js +198 -212
- package/dist/commonjs/bulk/Limiter.js.map +7 -1
- package/dist/commonjs/bulk/PartitionMetric.js +58 -35
- package/dist/commonjs/bulk/PartitionMetric.js.map +7 -1
- package/dist/commonjs/bulk/index.d.ts +1 -1
- package/dist/commonjs/bulk/index.d.ts.map +1 -1
- package/dist/commonjs/bulk/index.js +30 -10
- package/dist/commonjs/bulk/index.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedEnums.js +31 -14
- package/dist/commonjs/client/ChangeFeed/ChangeFeedEnums.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForEpkRange.js +374 -327
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForEpkRange.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts +2 -2
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts.map +1 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForPartitionKey.js +180 -146
- package/dist/commonjs/client/ChangeFeed/ChangeFeedForPartitionKey.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorBuilder.js +78 -63
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorBuilder.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorOptions.js +15 -5
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorOptions.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorResponse.js +67 -78
- package/dist/commonjs/client/ChangeFeed/ChangeFeedIteratorResponse.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedMode.js +31 -11
- package/dist/commonjs/client/ChangeFeed/ChangeFeedMode.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedPolicy.js +30 -12
- package/dist/commonjs/client/ChangeFeed/ChangeFeedPolicy.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedPullModelIterator.js +15 -3
- package/dist/commonjs/client/ChangeFeed/ChangeFeedPullModelIterator.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedRange.js +53 -38
- package/dist/commonjs/client/ChangeFeed/ChangeFeedRange.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedRetentionTimeSpan.js +52 -36
- package/dist/commonjs/client/ChangeFeed/ChangeFeedRetentionTimeSpan.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFrom.js +70 -54
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFrom.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromBeginning.js +33 -16
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromBeginning.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromContinuation.js +47 -38
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromContinuation.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromNow.js +33 -18
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromNow.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromTime.js +38 -21
- package/dist/commonjs/client/ChangeFeed/ChangeFeedStartFromTime.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/CompositeContinuationToken.js +38 -21
- package/dist/commonjs/client/ChangeFeed/CompositeContinuationToken.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/ContinuationTokenForPartitionKey.js +43 -26
- package/dist/commonjs/client/ChangeFeed/ContinuationTokenForPartitionKey.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/FeedRange.js +50 -38
- package/dist/commonjs/client/ChangeFeed/FeedRange.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/FeedRangeQueue.js +68 -49
- package/dist/commonjs/client/ChangeFeed/FeedRangeQueue.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/InternalChangeFeedOptions.js +15 -5
- package/dist/commonjs/client/ChangeFeed/InternalChangeFeedOptions.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/buildChangeFeedIterator.js +143 -71
- package/dist/commonjs/client/ChangeFeed/buildChangeFeedIterator.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/changeFeedUtils.d.ts +4 -4
- package/dist/commonjs/client/ChangeFeed/changeFeedUtils.d.ts.map +1 -1
- package/dist/commonjs/client/ChangeFeed/changeFeedUtils.js +160 -188
- package/dist/commonjs/client/ChangeFeed/changeFeedUtils.js.map +7 -1
- package/dist/commonjs/client/ChangeFeed/index.d.ts +2 -2
- package/dist/commonjs/client/ChangeFeed/index.d.ts.map +1 -1
- package/dist/commonjs/client/ChangeFeed/index.js +59 -29
- package/dist/commonjs/client/ChangeFeed/index.js.map +7 -1
- package/dist/commonjs/client/ClientUtils.d.ts +1 -1
- package/dist/commonjs/client/ClientUtils.d.ts.map +1 -1
- package/dist/commonjs/client/ClientUtils.js +42 -16
- package/dist/commonjs/client/ClientUtils.js.map +7 -1
- package/dist/commonjs/client/Conflict/Conflict.js +127 -100
- package/dist/commonjs/client/Conflict/Conflict.js.map +7 -1
- package/dist/commonjs/client/Conflict/ConflictDefinition.js +15 -3
- package/dist/commonjs/client/Conflict/ConflictDefinition.js.map +7 -1
- package/dist/commonjs/client/Conflict/ConflictResolutionMode.js +31 -11
- package/dist/commonjs/client/Conflict/ConflictResolutionMode.js.map +7 -1
- package/dist/commonjs/client/Conflict/ConflictResolutionPolicy.js +15 -3
- package/dist/commonjs/client/Conflict/ConflictResolutionPolicy.js.map +7 -1
- package/dist/commonjs/client/Conflict/ConflictResponse.js +34 -13
- package/dist/commonjs/client/Conflict/ConflictResponse.js.map +7 -1
- package/dist/commonjs/client/Conflict/Conflicts.js +70 -51
- package/dist/commonjs/client/Conflict/Conflicts.js.map +7 -1
- package/dist/commonjs/client/Conflict/index.d.ts +2 -2
- package/dist/commonjs/client/Conflict/index.d.ts.map +1 -1
- package/dist/commonjs/client/Conflict/index.js +36 -14
- package/dist/commonjs/client/Conflict/index.js.map +7 -1
- package/dist/commonjs/client/Container/Container.js +664 -599
- package/dist/commonjs/client/Container/Container.js.map +7 -1
- package/dist/commonjs/client/Container/ContainerDefinition.d.ts +1 -1
- package/dist/commonjs/client/Container/ContainerDefinition.d.ts.map +1 -1
- package/dist/commonjs/client/Container/ContainerDefinition.js +15 -3
- package/dist/commonjs/client/Container/ContainerDefinition.js.map +7 -1
- package/dist/commonjs/client/Container/ContainerRequest.js +15 -3
- package/dist/commonjs/client/Container/ContainerRequest.js.map +7 -1
- package/dist/commonjs/client/Container/ContainerResponse.js +34 -14
- package/dist/commonjs/client/Container/ContainerResponse.js.map +7 -1
- package/dist/commonjs/client/Container/Containers.js +232 -218
- package/dist/commonjs/client/Container/Containers.js.map +7 -1
- package/dist/commonjs/client/Container/PartitionKeyRange.js +15 -3
- package/dist/commonjs/client/Container/PartitionKeyRange.js.map +7 -1
- package/dist/commonjs/client/Container/UniqueKeyPolicy.js +15 -3
- package/dist/commonjs/client/Container/UniqueKeyPolicy.js.map +7 -1
- package/dist/commonjs/client/Container/index.d.ts +4 -4
- package/dist/commonjs/client/Container/index.d.ts.map +1 -1
- package/dist/commonjs/client/Container/index.js +33 -12
- package/dist/commonjs/client/Container/index.js.map +7 -1
- package/dist/commonjs/client/Database/Database.js +528 -448
- package/dist/commonjs/client/Database/Database.js.map +7 -1
- package/dist/commonjs/client/Database/DatabaseDefinition.js +15 -3
- package/dist/commonjs/client/Database/DatabaseDefinition.js.map +7 -1
- package/dist/commonjs/client/Database/DatabaseRequest.js +15 -3
- package/dist/commonjs/client/Database/DatabaseRequest.js.map +7 -1
- package/dist/commonjs/client/Database/DatabaseResponse.js +34 -14
- package/dist/commonjs/client/Database/DatabaseResponse.js.map +7 -1
- package/dist/commonjs/client/Database/Databases.js +197 -188
- package/dist/commonjs/client/Database/Databases.js.map +7 -1
- package/dist/commonjs/client/Database/index.d.ts +2 -2
- package/dist/commonjs/client/Database/index.d.ts.map +1 -1
- package/dist/commonjs/client/Database/index.js +33 -12
- package/dist/commonjs/client/Database/index.js.map +7 -1
- package/dist/commonjs/client/Item/Item.js +506 -383
- package/dist/commonjs/client/Item/Item.js.map +7 -1
- package/dist/commonjs/client/Item/ItemDefinition.js +15 -5
- package/dist/commonjs/client/Item/ItemDefinition.js.map +7 -1
- package/dist/commonjs/client/Item/ItemResponse.js +34 -13
- package/dist/commonjs/client/Item/ItemResponse.js.map +7 -1
- package/dist/commonjs/client/Item/Items.d.ts.map +1 -1
- package/dist/commonjs/client/Item/Items.js +888 -717
- package/dist/commonjs/client/Item/Items.js.map +7 -1
- package/dist/commonjs/client/Item/index.d.ts +1 -1
- package/dist/commonjs/client/Item/index.d.ts.map +1 -1
- package/dist/commonjs/client/Item/index.js +33 -12
- package/dist/commonjs/client/Item/index.js.map +7 -1
- package/dist/commonjs/client/Offer/Offer.js +115 -90
- package/dist/commonjs/client/Offer/Offer.js.map +7 -1
- package/dist/commonjs/client/Offer/OfferDefinition.js +15 -3
- package/dist/commonjs/client/Offer/OfferDefinition.js.map +7 -1
- package/dist/commonjs/client/Offer/OfferResponse.js +34 -13
- package/dist/commonjs/client/Offer/OfferResponse.js.map +7 -1
- package/dist/commonjs/client/Offer/Offers.js +65 -51
- package/dist/commonjs/client/Offer/Offers.js.map +7 -1
- package/dist/commonjs/client/Offer/index.d.ts +1 -1
- package/dist/commonjs/client/Offer/index.d.ts.map +1 -1
- package/dist/commonjs/client/Offer/index.js +33 -12
- package/dist/commonjs/client/Offer/index.js.map +7 -1
- package/dist/commonjs/client/Permission/Permission.js +158 -127
- package/dist/commonjs/client/Permission/Permission.js.map +7 -1
- package/dist/commonjs/client/Permission/PermissionBody.js +15 -3
- package/dist/commonjs/client/Permission/PermissionBody.js.map +7 -1
- package/dist/commonjs/client/Permission/PermissionDefinition.js +15 -3
- package/dist/commonjs/client/Permission/PermissionDefinition.js.map +7 -1
- package/dist/commonjs/client/Permission/PermissionResponse.js +34 -13
- package/dist/commonjs/client/Permission/PermissionResponse.js.map +7 -1
- package/dist/commonjs/client/Permission/Permissions.js +170 -144
- package/dist/commonjs/client/Permission/Permissions.js.map +7 -1
- package/dist/commonjs/client/Permission/index.d.ts +2 -2
- package/dist/commonjs/client/Permission/index.d.ts.map +1 -1
- package/dist/commonjs/client/Permission/index.js +33 -12
- package/dist/commonjs/client/Permission/index.js.map +7 -1
- package/dist/commonjs/client/Resource.js +15 -3
- package/dist/commonjs/client/Resource.js.map +7 -1
- package/dist/commonjs/client/SasToken/PermissionScopeValues.js +91 -80
- package/dist/commonjs/client/SasToken/PermissionScopeValues.js.map +7 -1
- package/dist/commonjs/client/SasToken/SasTokenProperties.js +43 -24
- package/dist/commonjs/client/SasToken/SasTokenProperties.js.map +7 -1
- package/dist/commonjs/client/Script/Scripts.js +97 -80
- package/dist/commonjs/client/Script/Scripts.js.map +7 -1
- package/dist/commonjs/client/StoredProcedure/StoredProcedure.js +224 -185
- package/dist/commonjs/client/StoredProcedure/StoredProcedure.js.map +7 -1
- package/dist/commonjs/client/StoredProcedure/StoredProcedureDefinition.js +15 -3
- package/dist/commonjs/client/StoredProcedure/StoredProcedureDefinition.js.map +7 -1
- package/dist/commonjs/client/StoredProcedure/StoredProcedureResponse.js +44 -23
- package/dist/commonjs/client/StoredProcedure/StoredProcedureResponse.js.map +7 -1
- package/dist/commonjs/client/StoredProcedure/StoredProcedures.js +131 -111
- package/dist/commonjs/client/StoredProcedure/StoredProcedures.js.map +7 -1
- package/dist/commonjs/client/StoredProcedure/index.d.ts +1 -1
- package/dist/commonjs/client/StoredProcedure/index.d.ts.map +1 -1
- package/dist/commonjs/client/StoredProcedure/index.js +33 -12
- package/dist/commonjs/client/StoredProcedure/index.js.map +7 -1
- package/dist/commonjs/client/Trigger/Trigger.js +169 -138
- package/dist/commonjs/client/Trigger/Trigger.js.map +7 -1
- package/dist/commonjs/client/Trigger/TriggerDefinition.js +15 -3
- package/dist/commonjs/client/Trigger/TriggerDefinition.js.map +7 -1
- package/dist/commonjs/client/Trigger/TriggerResponse.js +34 -13
- package/dist/commonjs/client/Trigger/TriggerResponse.js.map +7 -1
- package/dist/commonjs/client/Trigger/Triggers.js +130 -110
- package/dist/commonjs/client/Trigger/Triggers.js.map +7 -1
- package/dist/commonjs/client/Trigger/index.d.ts +1 -1
- package/dist/commonjs/client/Trigger/index.d.ts.map +1 -1
- package/dist/commonjs/client/Trigger/index.js +33 -12
- package/dist/commonjs/client/Trigger/index.js.map +7 -1
- package/dist/commonjs/client/User/User.js +170 -141
- package/dist/commonjs/client/User/User.js.map +7 -1
- package/dist/commonjs/client/User/UserDefinition.js +15 -3
- package/dist/commonjs/client/User/UserDefinition.js.map +7 -1
- package/dist/commonjs/client/User/UserResponse.js +34 -13
- package/dist/commonjs/client/User/UserResponse.js.map +7 -1
- package/dist/commonjs/client/User/Users.js +154 -128
- package/dist/commonjs/client/User/Users.js.map +7 -1
- package/dist/commonjs/client/User/index.d.ts +1 -1
- package/dist/commonjs/client/User/index.d.ts.map +1 -1
- package/dist/commonjs/client/User/index.js +33 -12
- package/dist/commonjs/client/User/index.js.map +7 -1
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunction.js +168 -137
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunction.js.map +7 -1
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctionDefinition.js +15 -3
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctionDefinition.js.map +7 -1
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctionResponse.js +42 -21
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctionResponse.js.map +7 -1
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctions.js +127 -107
- package/dist/commonjs/client/UserDefinedFunction/UserDefinedFunctions.js.map +7 -1
- package/dist/commonjs/client/UserDefinedFunction/index.d.ts +1 -1
- package/dist/commonjs/client/UserDefinedFunction/index.d.ts.map +1 -1
- package/dist/commonjs/client/UserDefinedFunction/index.js +33 -12
- package/dist/commonjs/client/UserDefinedFunction/index.js.map +7 -1
- package/dist/commonjs/client/index.d.ts +1 -1
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +41 -18
- package/dist/commonjs/client/index.js.map +7 -1
- package/dist/commonjs/common/constants.js +514 -500
- package/dist/commonjs/common/constants.js.map +7 -1
- package/dist/commonjs/common/helper.d.ts +4 -4
- package/dist/commonjs/common/helper.d.ts.map +1 -1
- package/dist/commonjs/common/helper.js +349 -412
- package/dist/commonjs/common/helper.js.map +7 -1
- package/dist/commonjs/common/index.js +27 -10
- package/dist/commonjs/common/index.js.map +7 -1
- package/dist/commonjs/common/logger.js +28 -9
- package/dist/commonjs/common/logger.js.map +7 -1
- package/dist/commonjs/common/partitionKeys.js +27 -7
- package/dist/commonjs/common/partitionKeys.js.map +7 -1
- package/dist/commonjs/common/platform.d.ts +1 -1
- package/dist/commonjs/common/platform.d.ts.map +1 -1
- package/dist/commonjs/common/platform.js +54 -42
- package/dist/commonjs/common/platform.js.map +7 -1
- package/dist/commonjs/common/statusCodes.js +76 -60
- package/dist/commonjs/common/statusCodes.js.map +7 -1
- package/dist/commonjs/common/uriFactory.js +79 -195
- package/dist/commonjs/common/uriFactory.js.map +7 -1
- package/dist/commonjs/diagnostics/CosmosDbDiagnosticLevel.js +32 -15
- package/dist/commonjs/diagnostics/CosmosDbDiagnosticLevel.js.map +7 -1
- package/dist/commonjs/diagnostics/CosmosDiagnosticsContext.js +145 -126
- package/dist/commonjs/diagnostics/CosmosDiagnosticsContext.js.map +7 -1
- package/dist/commonjs/diagnostics/DiagnosticFormatter.js +29 -10
- package/dist/commonjs/diagnostics/DiagnosticFormatter.js.map +7 -1
- package/dist/commonjs/diagnostics/DiagnosticNodeInternal.d.ts +1 -1
- package/dist/commonjs/diagnostics/DiagnosticNodeInternal.d.ts.map +1 -1
- package/dist/commonjs/diagnostics/DiagnosticNodeInternal.js +316 -305
- package/dist/commonjs/diagnostics/DiagnosticNodeInternal.js.map +7 -1
- package/dist/commonjs/diagnostics/DiagnosticWriter.js +35 -25
- package/dist/commonjs/diagnostics/DiagnosticWriter.js.map +7 -1
- package/dist/commonjs/diagnostics/diagnosticLevelComparator.js +39 -24
- package/dist/commonjs/diagnostics/diagnosticLevelComparator.js.map +7 -1
- package/dist/commonjs/diagnostics/index.js +67 -34
- package/dist/commonjs/diagnostics/index.js.map +7 -1
- package/dist/commonjs/documents/ComputedProperty.js +15 -3
- package/dist/commonjs/documents/ComputedProperty.js.map +7 -1
- package/dist/commonjs/documents/ConnectionMode.js +30 -12
- package/dist/commonjs/documents/ConnectionMode.js.map +7 -1
- package/dist/commonjs/documents/ConnectionPolicy.js +43 -26
- package/dist/commonjs/documents/ConnectionPolicy.js.map +7 -1
- package/dist/commonjs/documents/ConsistencyLevel.js +34 -43
- package/dist/commonjs/documents/ConsistencyLevel.js.map +7 -1
- package/dist/commonjs/documents/ContinuationToken/CompositeQueryContinuationToken.js +76 -79
- package/dist/commonjs/documents/ContinuationToken/CompositeQueryContinuationToken.js.map +7 -1
- package/dist/commonjs/documents/ContinuationToken/OrderByQueryContinuationToken.js +48 -38
- package/dist/commonjs/documents/ContinuationToken/OrderByQueryContinuationToken.js.map +7 -1
- package/dist/commonjs/documents/ContinuationToken/PartitionRangeUpdate.js +15 -5
- package/dist/commonjs/documents/ContinuationToken/PartitionRangeUpdate.js.map +7 -1
- package/dist/commonjs/documents/DataType.js +35 -22
- package/dist/commonjs/documents/DataType.js.map +7 -1
- package/dist/commonjs/documents/DatabaseAccount.js +109 -100
- package/dist/commonjs/documents/DatabaseAccount.js.map +7 -1
- package/dist/commonjs/documents/Document.js +15 -3
- package/dist/commonjs/documents/Document.js.map +7 -1
- package/dist/commonjs/documents/FullTextPolicy.js +15 -5
- package/dist/commonjs/documents/FullTextPolicy.js.map +7 -1
- package/dist/commonjs/documents/GeospatialType.js +31 -13
- package/dist/commonjs/documents/GeospatialType.js.map +7 -1
- package/dist/commonjs/documents/IndexKind.js +31 -20
- package/dist/commonjs/documents/IndexKind.js.map +7 -1
- package/dist/commonjs/documents/IndexingMode.js +32 -27
- package/dist/commonjs/documents/IndexingMode.js.map +7 -1
- package/dist/commonjs/documents/IndexingPolicy.js +41 -30
- package/dist/commonjs/documents/IndexingPolicy.js.map +7 -1
- package/dist/commonjs/documents/PartitionKey.js +43 -27
- package/dist/commonjs/documents/PartitionKey.js.map +7 -1
- package/dist/commonjs/documents/PartitionKeyDefinition.js +15 -3
- package/dist/commonjs/documents/PartitionKeyDefinition.js.map +7 -1
- package/dist/commonjs/documents/PartitionKeyDefinitionVersion.js +31 -14
- package/dist/commonjs/documents/PartitionKeyDefinitionVersion.js.map +7 -1
- package/dist/commonjs/documents/PartitionKeyInternal.js +35 -28
- package/dist/commonjs/documents/PartitionKeyInternal.js.map +7 -1
- package/dist/commonjs/documents/PartitionKeyKind.js +31 -14
- package/dist/commonjs/documents/PartitionKeyKind.js.map +7 -1
- package/dist/commonjs/documents/PermissionMode.js +32 -18
- package/dist/commonjs/documents/PermissionMode.js.map +7 -1
- package/dist/commonjs/documents/PriorityLevel.js +31 -25
- package/dist/commonjs/documents/PriorityLevel.js.map +7 -1
- package/dist/commonjs/documents/TriggerOperation.js +34 -23
- package/dist/commonjs/documents/TriggerOperation.js.map +7 -1
- package/dist/commonjs/documents/TriggerType.js +31 -17
- package/dist/commonjs/documents/TriggerType.js.map +7 -1
- package/dist/commonjs/documents/UserDefinedFunctionType.js +30 -15
- package/dist/commonjs/documents/UserDefinedFunctionType.js.map +7 -1
- package/dist/commonjs/documents/VectorEmbeddingPolicy.js +41 -44
- package/dist/commonjs/documents/VectorEmbeddingPolicy.js.map +7 -1
- package/dist/commonjs/documents/index.d.ts +4 -4
- package/dist/commonjs/documents/index.d.ts.map +1 -1
- package/dist/commonjs/documents/index.js +57 -29
- package/dist/commonjs/documents/index.js.map +7 -1
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts +1 -1
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts.map +1 -1
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js +97 -71
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js.map +7 -1
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/index.js +27 -8
- package/dist/commonjs/encryption/AeadAes256CbcHmacSha256Algorithm/index.js.map +7 -1
- package/dist/commonjs/encryption/Cache/ClientEncryptionKeyPropertiesCache.js +37 -23
- package/dist/commonjs/encryption/Cache/ClientEncryptionKeyPropertiesCache.js.map +7 -1
- package/dist/commonjs/encryption/Cache/EncryptionSettingsCache.js +52 -36
- package/dist/commonjs/encryption/Cache/EncryptionSettingsCache.js.map +7 -1
- package/dist/commonjs/encryption/Cache/KeyEncryptionKeyCache.js +46 -32
- package/dist/commonjs/encryption/Cache/KeyEncryptionKeyCache.js.map +7 -1
- package/dist/commonjs/encryption/Cache/ProtectedDataEncryptionKeyCache.js +98 -86
- package/dist/commonjs/encryption/Cache/ProtectedDataEncryptionKeyCache.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionIncludedPath.d.ts +1 -1
- package/dist/commonjs/encryption/ClientEncryptionIncludedPath.d.ts.map +1 -1
- package/dist/commonjs/encryption/ClientEncryptionIncludedPath.js +15 -5
- package/dist/commonjs/encryption/ClientEncryptionIncludedPath.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyProperties.js +15 -5
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyProperties.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyRequest.js +15 -5
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyRequest.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts +4 -4
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts.map +1 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.js +34 -16
- package/dist/commonjs/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/index.d.ts +2 -2
- package/dist/commonjs/encryption/ClientEncryptionKey/index.d.ts.map +1 -1
- package/dist/commonjs/encryption/ClientEncryptionKey/index.js +27 -8
- package/dist/commonjs/encryption/ClientEncryptionKey/index.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionOptions.js +15 -5
- package/dist/commonjs/encryption/ClientEncryptionOptions.js.map +7 -1
- package/dist/commonjs/encryption/ClientEncryptionPolicy.js +15 -5
- package/dist/commonjs/encryption/ClientEncryptionPolicy.js.map +7 -1
- package/dist/commonjs/encryption/CosmosEncryptedNumber.js +31 -20
- package/dist/commonjs/encryption/CosmosEncryptedNumber.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionItemQueryIterator.js +129 -106
- package/dist/commonjs/encryption/EncryptionItemQueryIterator.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKey/DataEncryptionKey.js +51 -32
- package/dist/commonjs/encryption/EncryptionKey/DataEncryptionKey.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKey/ProtectedDataEncryptionKey.js +36 -23
- package/dist/commonjs/encryption/EncryptionKey/ProtectedDataEncryptionKey.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKey/index.js +30 -10
- package/dist/commonjs/encryption/EncryptionKey/index.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKeyResolver/AzureKeyVaultEncryptionKeyResolver.js +112 -94
- package/dist/commonjs/encryption/EncryptionKeyResolver/AzureKeyVaultEncryptionKeyResolver.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKeyResolver/EncryptionKeyResolver.js +15 -5
- package/dist/commonjs/encryption/EncryptionKeyResolver/EncryptionKeyResolver.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKeyResolver/index.d.ts +1 -1
- package/dist/commonjs/encryption/EncryptionKeyResolver/index.d.ts.map +1 -1
- package/dist/commonjs/encryption/EncryptionKeyResolver/index.js +27 -8
- package/dist/commonjs/encryption/EncryptionKeyResolver/index.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKeyStoreProvider.js +80 -55
- package/dist/commonjs/encryption/EncryptionKeyStoreProvider.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionKeyWrapMetadata.js +15 -5
- package/dist/commonjs/encryption/EncryptionKeyWrapMetadata.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionManager.js +57 -42
- package/dist/commonjs/encryption/EncryptionManager.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionProcessor.js +340 -284
- package/dist/commonjs/encryption/EncryptionProcessor.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionQueryBuilder.d.ts +2 -2
- package/dist/commonjs/encryption/EncryptionQueryBuilder.d.ts.map +1 -1
- package/dist/commonjs/encryption/EncryptionQueryBuilder.js +109 -99
- package/dist/commonjs/encryption/EncryptionQueryBuilder.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionSettingForProperty.js +64 -33
- package/dist/commonjs/encryption/EncryptionSettingForProperty.js.map +7 -1
- package/dist/commonjs/encryption/EncryptionSettings.js +45 -30
- package/dist/commonjs/encryption/EncryptionSettings.js.map +7 -1
- package/dist/commonjs/encryption/KeyEncryptionKey.js +51 -28
- package/dist/commonjs/encryption/KeyEncryptionKey.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/BooleanSerializer.d.ts +1 -1
- package/dist/commonjs/encryption/Serializers/BooleanSerializer.d.ts.map +1 -1
- package/dist/commonjs/encryption/Serializers/BooleanSerializer.js +37 -18
- package/dist/commonjs/encryption/Serializers/BooleanSerializer.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/FloatSerializer.d.ts +1 -1
- package/dist/commonjs/encryption/Serializers/FloatSerializer.d.ts.map +1 -1
- package/dist/commonjs/encryption/Serializers/FloatSerializer.js +39 -20
- package/dist/commonjs/encryption/Serializers/FloatSerializer.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/NumberSerializer.js +38 -19
- package/dist/commonjs/encryption/Serializers/NumberSerializer.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/Serializer.js +15 -5
- package/dist/commonjs/encryption/Serializers/Serializer.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/StringSerializer.d.ts +1 -1
- package/dist/commonjs/encryption/Serializers/StringSerializer.d.ts.map +1 -1
- package/dist/commonjs/encryption/Serializers/StringSerializer.js +33 -14
- package/dist/commonjs/encryption/Serializers/StringSerializer.js.map +7 -1
- package/dist/commonjs/encryption/Serializers/index.d.ts +1 -1
- package/dist/commonjs/encryption/Serializers/index.d.ts.map +1 -1
- package/dist/commonjs/encryption/Serializers/index.js +36 -14
- package/dist/commonjs/encryption/Serializers/index.js.map +7 -1
- package/dist/commonjs/encryption/enums/EncryptionAlgorithm.js +30 -13
- package/dist/commonjs/encryption/enums/EncryptionAlgorithm.js.map +7 -1
- package/dist/commonjs/encryption/enums/EncryptionKeyResolverName.js +30 -12
- package/dist/commonjs/encryption/enums/EncryptionKeyResolverName.js.map +7 -1
- package/dist/commonjs/encryption/enums/EncryptionType.js +31 -16
- package/dist/commonjs/encryption/enums/EncryptionType.js.map +7 -1
- package/dist/commonjs/encryption/enums/KeyEncryptionAlgorithm.js +30 -12
- package/dist/commonjs/encryption/enums/KeyEncryptionAlgorithm.js.map +7 -1
- package/dist/commonjs/encryption/enums/TypeMarker.js +34 -14
- package/dist/commonjs/encryption/enums/TypeMarker.js.map +7 -1
- package/dist/commonjs/encryption/enums/index.js +36 -14
- package/dist/commonjs/encryption/enums/index.js.map +7 -1
- package/dist/commonjs/encryption/index.d.ts +5 -5
- package/dist/commonjs/encryption/index.d.ts.map +1 -1
- package/dist/commonjs/encryption/index.js +55 -26
- package/dist/commonjs/encryption/index.js.map +7 -1
- package/dist/commonjs/extractPartitionKey.js +92 -91
- package/dist/commonjs/extractPartitionKey.js.map +7 -1
- package/dist/commonjs/globalEndpointManager.js +364 -357
- package/dist/commonjs/globalEndpointManager.js.map +7 -1
- package/dist/commonjs/globalPartitionEndpointManager.d.ts +2 -1
- package/dist/commonjs/globalPartitionEndpointManager.d.ts.map +1 -1
- package/dist/commonjs/globalPartitionEndpointManager.js +322 -297
- package/dist/commonjs/globalPartitionEndpointManager.js.map +7 -1
- package/dist/commonjs/index.d.ts +16 -16
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +177 -96
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/plugins/Plugin.js +50 -44
- package/dist/commonjs/plugins/Plugin.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/Aggregator.js +15 -3
- package/dist/commonjs/queryExecutionContext/Aggregators/Aggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/AverageAggregator.js +49 -29
- package/dist/commonjs/queryExecutionContext/Aggregators/AverageAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/CountAggregator.js +46 -26
- package/dist/commonjs/queryExecutionContext/Aggregators/CountAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/GlobalStatisticsAggregator.js +64 -54
- package/dist/commonjs/queryExecutionContext/Aggregators/GlobalStatisticsAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/MakeListAggregator.js +38 -18
- package/dist/commonjs/queryExecutionContext/Aggregators/MakeListAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/MakeSetAggregator.js +46 -29
- package/dist/commonjs/queryExecutionContext/Aggregators/MakeSetAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/MaxAggregator.js +54 -38
- package/dist/commonjs/queryExecutionContext/Aggregators/MaxAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/MinAggregator.js +58 -43
- package/dist/commonjs/queryExecutionContext/Aggregators/MinAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/StaticValueAggregator.js +34 -14
- package/dist/commonjs/queryExecutionContext/Aggregators/StaticValueAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/SumAggregator.js +44 -25
- package/dist/commonjs/queryExecutionContext/Aggregators/SumAggregator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/index.d.ts +1 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/index.d.ts.map +1 -1
- package/dist/commonjs/queryExecutionContext/Aggregators/index.js +63 -39
- package/dist/commonjs/queryExecutionContext/Aggregators/index.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js +181 -166
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/ContinuationTokenManagerFactory.js +45 -30
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/ContinuationTokenManagerFactory.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js +146 -124
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js +70 -65
- package/dist/commonjs/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ContinuationTokenParser.js +38 -24
- package/dist/commonjs/queryExecutionContext/ContinuationTokenParser.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/CosmosHeaders.js +15 -3
- package/dist/commonjs/queryExecutionContext/CosmosHeaders.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/GroupByEndpointComponent.js +110 -107
- package/dist/commonjs/queryExecutionContext/EndpointComponent/GroupByEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/GroupByValueEndpointComponent.js +115 -107
- package/dist/commonjs/queryExecutionContext/EndpointComponent/GroupByValueEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/NonStreamingOrderByDistinctEndpointComponent.js +164 -155
- package/dist/commonjs/queryExecutionContext/EndpointComponent/NonStreamingOrderByDistinctEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/NonStreamingOrderByEndpointComponent.js +152 -143
- package/dist/commonjs/queryExecutionContext/EndpointComponent/NonStreamingOrderByEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OffsetLimitEndpointComponent.js +81 -64
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OffsetLimitEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OrderByEndpointComponent.js +79 -58
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OrderByEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OrderedDistinctEndpointComponent.js +70 -48
- package/dist/commonjs/queryExecutionContext/EndpointComponent/OrderedDistinctEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/UnorderedDistinctEndpointComponent.js +59 -42
- package/dist/commonjs/queryExecutionContext/EndpointComponent/UnorderedDistinctEndpointComponent.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/EndpointComponent/emptyGroup.js +30 -13
- package/dist/commonjs/queryExecutionContext/EndpointComponent/emptyGroup.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/ExecutionContext.js +15 -3
- package/dist/commonjs/queryExecutionContext/ExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/FetchResult.js +55 -38
- package/dist/commonjs/queryExecutionContext/FetchResult.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/LegacyFetchImplementation.js +59 -55
- package/dist/commonjs/queryExecutionContext/LegacyFetchImplementation.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/PartitionRangeManager.d.ts +8 -7
- package/dist/commonjs/queryExecutionContext/PartitionRangeManager.d.ts.map +1 -1
- package/dist/commonjs/queryExecutionContext/PartitionRangeManager.js +151 -155
- package/dist/commonjs/queryExecutionContext/PartitionRangeManager.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/PartitionRangeUtils.js +93 -102
- package/dist/commonjs/queryExecutionContext/PartitionRangeUtils.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/QueryControlFetchImplementation.js +110 -89
- package/dist/commonjs/queryExecutionContext/QueryControlFetchImplementation.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/QueryValidationHelper.js +63 -66
- package/dist/commonjs/queryExecutionContext/QueryValidationHelper.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/SqlQuerySpec.js +15 -3
- package/dist/commonjs/queryExecutionContext/SqlQuerySpec.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/defaultQueryExecutionContext.js +219 -191
- package/dist/commonjs/queryExecutionContext/defaultQueryExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/documentProducer.js +284 -276
- package/dist/commonjs/queryExecutionContext/documentProducer.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/headerUtils.js +94 -89
- package/dist/commonjs/queryExecutionContext/headerUtils.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/hybridQueryExecutionContext.js +491 -481
- package/dist/commonjs/queryExecutionContext/hybridQueryExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/index.d.ts +2 -2
- package/dist/commonjs/queryExecutionContext/index.d.ts.map +1 -1
- package/dist/commonjs/queryExecutionContext/index.js +61 -29
- package/dist/commonjs/queryExecutionContext/index.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/nonStreamingOrderByResponse.js +15 -5
- package/dist/commonjs/queryExecutionContext/nonStreamingOrderByResponse.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/nonStreamingOrderByResult.js +15 -5
- package/dist/commonjs/queryExecutionContext/nonStreamingOrderByResult.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/orderByComparator.js +105 -113
- package/dist/commonjs/queryExecutionContext/orderByComparator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/orderByDocumentProducerComparator.js +143 -134
- package/dist/commonjs/queryExecutionContext/orderByDocumentProducerComparator.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/orderByQueryExecutionContext.js +90 -61
- package/dist/commonjs/queryExecutionContext/orderByQueryExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContext.js +85 -68
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContextBase.d.ts +1 -1
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContextBase.d.ts.map +1 -1
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContextBase.js +832 -788
- package/dist/commonjs/queryExecutionContext/parallelQueryExecutionContextBase.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/parallelQueryResult.js +35 -24
- package/dist/commonjs/queryExecutionContext/parallelQueryResult.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/pipelinedQueryExecutionContext.js +278 -228
- package/dist/commonjs/queryExecutionContext/pipelinedQueryExecutionContext.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/FilterStrategy.js +15 -5
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/FilterStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/OrderByQueryRangeStrategy.js +261 -299
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/OrderByQueryRangeStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts +0 -4
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts.map +1 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js +93 -98
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/RidSkipCountFilter.js +147 -177
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/RidSkipCountFilter.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/TargetPartitionRangeManager.js +104 -92
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/TargetPartitionRangeManager.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/TargetPartitionRangeStrategy.js +15 -5
- package/dist/commonjs/queryExecutionContext/queryFilteringStrategy/TargetPartitionRangeStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/OrderByQueryProcessingStrategy.js +66 -55
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/OrderByQueryProcessingStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/ParallelQueryProcessingStrategy.js +51 -36
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/ParallelQueryProcessingStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/QueryProcessingStrategy.js +15 -5
- package/dist/commonjs/queryExecutionContext/queryProcessingStrategy/QueryProcessingStrategy.js.map +7 -1
- package/dist/commonjs/queryExecutionContext/queryRangeMapping.js +15 -5
- package/dist/commonjs/queryExecutionContext/queryRangeMapping.js.map +7 -1
- package/dist/commonjs/queryIterator.js +404 -354
- package/dist/commonjs/queryIterator.js.map +7 -1
- package/dist/commonjs/queryMetrics/clientSideMetrics.js +47 -29
- package/dist/commonjs/queryMetrics/clientSideMetrics.js.map +7 -1
- package/dist/commonjs/queryMetrics/index.js +52 -19
- package/dist/commonjs/queryMetrics/index.js.map +7 -1
- package/dist/commonjs/queryMetrics/queryMetrics.js +175 -159
- package/dist/commonjs/queryMetrics/queryMetrics.js.map +7 -1
- package/dist/commonjs/queryMetrics/queryMetricsConstants.js +74 -57
- package/dist/commonjs/queryMetrics/queryMetricsConstants.js.map +7 -1
- package/dist/commonjs/queryMetrics/queryMetricsUtils.js +51 -38
- package/dist/commonjs/queryMetrics/queryMetricsUtils.js.map +7 -1
- package/dist/commonjs/queryMetrics/queryPreparationTime.js +105 -65
- package/dist/commonjs/queryMetrics/queryPreparationTime.js.map +7 -1
- package/dist/commonjs/queryMetrics/runtimeExecutionTimes.js +116 -68
- package/dist/commonjs/queryMetrics/runtimeExecutionTimes.js.map +7 -1
- package/dist/commonjs/queryMetrics/timeSpan.js +205 -217
- package/dist/commonjs/queryMetrics/timeSpan.js.map +7 -1
- package/dist/commonjs/request/ErrorResponse.js +45 -27
- package/dist/commonjs/request/ErrorResponse.js.map +7 -1
- package/dist/commonjs/request/FeedOptions.js +15 -3
- package/dist/commonjs/request/FeedOptions.js.map +7 -1
- package/dist/commonjs/request/FeedResponse.js +55 -40
- package/dist/commonjs/request/FeedResponse.js.map +7 -1
- package/dist/commonjs/request/RequestContext.js +15 -3
- package/dist/commonjs/request/RequestContext.js.map +7 -1
- package/dist/commonjs/request/RequestHandler.js +172 -153
- package/dist/commonjs/request/RequestHandler.js.map +7 -1
- package/dist/commonjs/request/RequestOptions.js +15 -3
- package/dist/commonjs/request/RequestOptions.js.map +7 -1
- package/dist/commonjs/request/ResourceResponse.js +43 -27
- package/dist/commonjs/request/ResourceResponse.js.map +7 -1
- package/dist/commonjs/request/Response.js +15 -3
- package/dist/commonjs/request/Response.js.map +7 -1
- package/dist/commonjs/request/SharedOptions.js +15 -3
- package/dist/commonjs/request/SharedOptions.js.map +7 -1
- package/dist/commonjs/request/StatusCodes.js +15 -5
- package/dist/commonjs/request/StatusCodes.js.map +7 -1
- package/dist/commonjs/request/TimeoutError.js +34 -16
- package/dist/commonjs/request/TimeoutError.js.map +7 -1
- package/dist/commonjs/request/defaultAgent.js +45 -18
- package/dist/commonjs/request/defaultAgent.js.map +7 -1
- package/dist/commonjs/request/globalStatistics.js +15 -5
- package/dist/commonjs/request/globalStatistics.js.map +7 -1
- package/dist/commonjs/request/hybridSearchQueryResult.d.ts +1 -1
- package/dist/commonjs/request/hybridSearchQueryResult.d.ts.map +1 -1
- package/dist/commonjs/request/hybridSearchQueryResult.js +61 -45
- package/dist/commonjs/request/hybridSearchQueryResult.js.map +7 -1
- package/dist/commonjs/request/index.d.ts +8 -8
- package/dist/commonjs/request/index.d.ts.map +1 -1
- package/dist/commonjs/request/index.js +36 -16
- package/dist/commonjs/request/index.js.map +7 -1
- package/dist/commonjs/request/request.js +187 -186
- package/dist/commonjs/request/request.js.map +7 -1
- package/dist/commonjs/retry/RetryContext.js +15 -3
- package/dist/commonjs/retry/RetryContext.js.map +7 -1
- package/dist/commonjs/retry/RetryPolicy.js +15 -3
- package/dist/commonjs/retry/RetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/bulkExecutionRetryPolicy.js +64 -56
- package/dist/commonjs/retry/bulkExecutionRetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/defaultRetryPolicy.js +66 -115
- package/dist/commonjs/retry/defaultRetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/endpointDiscoveryRetryPolicy.d.ts +1 -1
- package/dist/commonjs/retry/endpointDiscoveryRetryPolicy.d.ts.map +1 -1
- package/dist/commonjs/retry/endpointDiscoveryRetryPolicy.js +93 -73
- package/dist/commonjs/retry/endpointDiscoveryRetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/index.d.ts +1 -1
- package/dist/commonjs/retry/index.d.ts.map +1 -1
- package/dist/commonjs/retry/index.js +29 -12
- package/dist/commonjs/retry/index.js.map +7 -1
- package/dist/commonjs/retry/resourceThrottleRetryPolicy.js +73 -61
- package/dist/commonjs/retry/resourceThrottleRetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/retryOptions.js +15 -3
- package/dist/commonjs/retry/retryOptions.js.map +7 -1
- package/dist/commonjs/retry/retryUtility.js +168 -133
- package/dist/commonjs/retry/retryUtility.js.map +7 -1
- package/dist/commonjs/retry/sessionRetryPolicy.js +79 -73
- package/dist/commonjs/retry/sessionRetryPolicy.js.map +7 -1
- package/dist/commonjs/retry/timeoutFailoverRetryPolicy.d.ts +1 -1
- package/dist/commonjs/retry/timeoutFailoverRetryPolicy.d.ts.map +1 -1
- package/dist/commonjs/retry/timeoutFailoverRetryPolicy.js +116 -119
- package/dist/commonjs/retry/timeoutFailoverRetryPolicy.js.map +7 -1
- package/dist/commonjs/routing/CollectionRoutingMapFactory.js +69 -67
- package/dist/commonjs/routing/CollectionRoutingMapFactory.js.map +7 -1
- package/dist/commonjs/routing/QueryRange.js +92 -66
- package/dist/commonjs/routing/QueryRange.js.map +7 -1
- package/dist/commonjs/routing/inMemoryCollectionRoutingMap.js +111 -84
- package/dist/commonjs/routing/inMemoryCollectionRoutingMap.js.map +7 -1
- package/dist/commonjs/routing/index.js +27 -10
- package/dist/commonjs/routing/index.js.map +7 -1
- package/dist/commonjs/routing/partitionKeyRangeCache.js +81 -56
- package/dist/commonjs/routing/partitionKeyRangeCache.js.map +7 -1
- package/dist/commonjs/routing/smartRoutingMapProvider.js +130 -110
- package/dist/commonjs/routing/smartRoutingMapProvider.js.map +7 -1
- package/dist/commonjs/session/SessionContext.js +15 -3
- package/dist/commonjs/session/SessionContext.js.map +7 -1
- package/dist/commonjs/session/VectorSessionToken.js +125 -125
- package/dist/commonjs/session/VectorSessionToken.js.map +7 -1
- package/dist/commonjs/session/sessionContainer.js +132 -127
- package/dist/commonjs/session/sessionContainer.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/utils/SasToken.js +100 -120
- package/dist/commonjs/utils/SasToken.js.map +7 -1
- package/dist/commonjs/utils/atob.js +23 -7
- package/dist/commonjs/utils/atob.js.map +7 -1
- package/dist/commonjs/utils/batch.js +195 -197
- package/dist/commonjs/utils/batch.js.map +7 -1
- package/dist/commonjs/utils/cachedClient.js +31 -11
- package/dist/commonjs/utils/cachedClient.js.map +7 -1
- package/dist/commonjs/utils/checkURL.js +33 -14
- package/dist/commonjs/utils/checkURL.js.map +7 -1
- package/dist/commonjs/utils/diagnostics.js +106 -118
- package/dist/commonjs/utils/diagnostics.js.map +7 -1
- package/dist/commonjs/utils/digest.js +30 -10
- package/dist/commonjs/utils/digest.js.map +7 -1
- package/dist/commonjs/utils/encode.js +43 -23
- package/dist/commonjs/utils/encode.js.map +7 -1
- package/dist/commonjs/utils/envUtils.js +39 -10
- package/dist/commonjs/utils/envUtils.js.map +7 -1
- package/dist/commonjs/utils/fixedSizePriorityQueue.js +85 -55
- package/dist/commonjs/utils/fixedSizePriorityQueue.js.map +7 -1
- package/dist/commonjs/utils/globalCrypto.js +28 -10
- package/dist/commonjs/utils/globalCrypto.js.map +7 -1
- package/dist/commonjs/utils/hashObject.js +40 -11
- package/dist/commonjs/utils/hashObject.js.map +7 -1
- package/dist/commonjs/utils/hashing/encoding/number.js +72 -56
- package/dist/commonjs/utils/hashing/encoding/number.js.map +7 -1
- package/dist/commonjs/utils/hashing/encoding/prefix.js +49 -29
- package/dist/commonjs/utils/hashing/encoding/prefix.js.map +7 -1
- package/dist/commonjs/utils/hashing/encoding/string.js +44 -27
- package/dist/commonjs/utils/hashing/encoding/string.js.map +7 -1
- package/dist/commonjs/utils/hashing/hash.d.ts +1 -1
- package/dist/commonjs/utils/hashing/hash.d.ts.map +1 -1
- package/dist/commonjs/utils/hashing/hash.js +54 -43
- package/dist/commonjs/utils/hashing/hash.js.map +7 -1
- package/dist/commonjs/utils/hashing/multiHash.js +28 -11
- package/dist/commonjs/utils/hashing/multiHash.js.map +7 -1
- package/dist/commonjs/utils/hashing/murmurHash.js +361 -412
- package/dist/commonjs/utils/hashing/murmurHash.js.map +7 -1
- package/dist/commonjs/utils/hashing/v1.js +100 -71
- package/dist/commonjs/utils/hashing/v1.js.map +7 -1
- package/dist/commonjs/utils/hashing/v2.js +83 -63
- package/dist/commonjs/utils/hashing/v2.js.map +7 -1
- package/dist/commonjs/utils/headers.js +44 -33
- package/dist/commonjs/utils/headers.js.map +7 -1
- package/dist/commonjs/utils/hmac.js +28 -8
- package/dist/commonjs/utils/hmac.js.map +7 -1
- package/dist/commonjs/utils/nonStreamingOrderByMap.js +63 -52
- package/dist/commonjs/utils/nonStreamingOrderByMap.js.map +7 -1
- package/dist/commonjs/utils/offers.js +35 -13
- package/dist/commonjs/utils/offers.js.map +7 -1
- package/dist/commonjs/utils/patch.js +32 -12
- package/dist/commonjs/utils/patch.js.map +7 -1
- package/dist/commonjs/utils/strings.js +27 -7
- package/dist/commonjs/utils/strings.js.map +7 -1
- package/dist/commonjs/utils/supportedQueryFeaturesBuilder.js +36 -16
- package/dist/commonjs/utils/supportedQueryFeaturesBuilder.js.map +7 -1
- package/dist/commonjs/utils/time.js +38 -30
- package/dist/commonjs/utils/time.js.map +7 -1
- package/dist/commonjs/utils/tracing.js +32 -17
- package/dist/commonjs/utils/tracing.js.map +7 -1
- package/dist/commonjs/utils/typeChecks.js +49 -60
- package/dist/commonjs/utils/typeChecks.js.map +7 -1
- package/dist/commonjs/utils/types.js +15 -5
- package/dist/commonjs/utils/types.js.map +7 -1
- package/dist/commonjs/utils/uint8.js +44 -24
- package/dist/commonjs/utils/uint8.js.map +7 -1
- package/dist/esm/PartitionKeyRangeFailoverInfo.d.ts +1 -1
- package/dist/esm/PartitionKeyRangeFailoverInfo.d.ts.map +1 -1
- package/dist/esm/PartitionKeyRangeFailoverInfo.js +0 -2
- package/dist/esm/PartitionKeyRangeFailoverInfo.js.map +1 -1
- package/dist/esm/bulk/index.d.ts +1 -1
- package/dist/esm/bulk/index.d.ts.map +1 -1
- package/dist/esm/bulk/index.js.map +1 -1
- package/dist/esm/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts +2 -2
- package/dist/esm/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts.map +1 -1
- package/dist/esm/client/ChangeFeed/ChangeFeedForPartitionKey.js.map +1 -1
- package/dist/esm/client/ChangeFeed/buildChangeFeedIterator.js.map +1 -1
- package/dist/esm/client/ChangeFeed/changeFeedUtils.d.ts +4 -4
- package/dist/esm/client/ChangeFeed/changeFeedUtils.d.ts.map +1 -1
- package/dist/esm/client/ChangeFeed/changeFeedUtils.js.map +1 -1
- package/dist/esm/client/ChangeFeed/index.d.ts +2 -2
- package/dist/esm/client/ChangeFeed/index.d.ts.map +1 -1
- package/dist/esm/client/ChangeFeed/index.js.map +1 -1
- package/dist/esm/client/ClientUtils.d.ts +1 -1
- package/dist/esm/client/ClientUtils.d.ts.map +1 -1
- package/dist/esm/client/ClientUtils.js.map +1 -1
- package/dist/esm/client/Conflict/index.d.ts +2 -2
- package/dist/esm/client/Conflict/index.d.ts.map +1 -1
- package/dist/esm/client/Conflict/index.js.map +1 -1
- package/dist/esm/client/Container/ContainerDefinition.d.ts +1 -1
- package/dist/esm/client/Container/ContainerDefinition.d.ts.map +1 -1
- package/dist/esm/client/Container/ContainerDefinition.js.map +1 -1
- package/dist/esm/client/Container/index.d.ts +4 -4
- package/dist/esm/client/Container/index.d.ts.map +1 -1
- package/dist/esm/client/Container/index.js.map +1 -1
- package/dist/esm/client/Database/index.d.ts +2 -2
- package/dist/esm/client/Database/index.d.ts.map +1 -1
- package/dist/esm/client/Database/index.js.map +1 -1
- package/dist/esm/client/Item/Items.d.ts.map +1 -1
- package/dist/esm/client/Item/Items.js.map +1 -1
- package/dist/esm/client/Item/index.d.ts +1 -1
- package/dist/esm/client/Item/index.d.ts.map +1 -1
- package/dist/esm/client/Item/index.js.map +1 -1
- package/dist/esm/client/Offer/index.d.ts +1 -1
- package/dist/esm/client/Offer/index.d.ts.map +1 -1
- package/dist/esm/client/Offer/index.js.map +1 -1
- package/dist/esm/client/Permission/index.d.ts +2 -2
- package/dist/esm/client/Permission/index.d.ts.map +1 -1
- package/dist/esm/client/Permission/index.js.map +1 -1
- package/dist/esm/client/StoredProcedure/index.d.ts +1 -1
- package/dist/esm/client/StoredProcedure/index.d.ts.map +1 -1
- package/dist/esm/client/StoredProcedure/index.js.map +1 -1
- package/dist/esm/client/Trigger/index.d.ts +1 -1
- package/dist/esm/client/Trigger/index.d.ts.map +1 -1
- package/dist/esm/client/Trigger/index.js.map +1 -1
- package/dist/esm/client/User/index.d.ts +1 -1
- package/dist/esm/client/User/index.d.ts.map +1 -1
- package/dist/esm/client/User/index.js.map +1 -1
- package/dist/esm/client/UserDefinedFunction/index.d.ts +1 -1
- package/dist/esm/client/UserDefinedFunction/index.d.ts.map +1 -1
- package/dist/esm/client/UserDefinedFunction/index.js.map +1 -1
- package/dist/esm/client/index.d.ts +1 -1
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +0 -1
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/constants.js.map +1 -1
- package/dist/esm/common/helper.d.ts +4 -4
- package/dist/esm/common/helper.d.ts.map +1 -1
- package/dist/esm/common/helper.js.map +1 -1
- package/dist/esm/common/platform.d.ts +1 -1
- package/dist/esm/common/platform.d.ts.map +1 -1
- package/dist/esm/common/platform.js.map +1 -1
- package/dist/esm/diagnostics/DiagnosticNodeInternal.d.ts +1 -1
- package/dist/esm/diagnostics/DiagnosticNodeInternal.d.ts.map +1 -1
- package/dist/esm/diagnostics/DiagnosticNodeInternal.js.map +1 -1
- package/dist/esm/documents/index.d.ts +4 -4
- package/dist/esm/documents/index.d.ts.map +1 -1
- package/dist/esm/documents/index.js +0 -4
- package/dist/esm/documents/index.js.map +1 -1
- package/dist/esm/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts +1 -1
- package/dist/esm/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts.map +1 -1
- package/dist/esm/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js.map +1 -1
- package/dist/esm/encryption/ClientEncryptionIncludedPath.d.ts +1 -1
- package/dist/esm/encryption/ClientEncryptionIncludedPath.d.ts.map +1 -1
- package/dist/esm/encryption/ClientEncryptionIncludedPath.js.map +1 -1
- package/dist/esm/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts +4 -4
- package/dist/esm/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts.map +1 -1
- package/dist/esm/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.js.map +1 -1
- package/dist/esm/encryption/ClientEncryptionKey/index.d.ts +2 -2
- package/dist/esm/encryption/ClientEncryptionKey/index.d.ts.map +1 -1
- package/dist/esm/encryption/ClientEncryptionKey/index.js.map +1 -1
- package/dist/esm/encryption/EncryptionKeyResolver/index.d.ts +1 -1
- package/dist/esm/encryption/EncryptionKeyResolver/index.d.ts.map +1 -1
- package/dist/esm/encryption/EncryptionKeyResolver/index.js.map +1 -1
- package/dist/esm/encryption/EncryptionQueryBuilder.d.ts +2 -2
- package/dist/esm/encryption/EncryptionQueryBuilder.d.ts.map +1 -1
- package/dist/esm/encryption/EncryptionQueryBuilder.js.map +1 -1
- package/dist/esm/encryption/Serializers/BooleanSerializer.d.ts +1 -1
- package/dist/esm/encryption/Serializers/BooleanSerializer.d.ts.map +1 -1
- package/dist/esm/encryption/Serializers/BooleanSerializer.js.map +1 -1
- package/dist/esm/encryption/Serializers/FloatSerializer.d.ts +1 -1
- package/dist/esm/encryption/Serializers/FloatSerializer.d.ts.map +1 -1
- package/dist/esm/encryption/Serializers/FloatSerializer.js.map +1 -1
- package/dist/esm/encryption/Serializers/StringSerializer.d.ts +1 -1
- package/dist/esm/encryption/Serializers/StringSerializer.d.ts.map +1 -1
- package/dist/esm/encryption/Serializers/StringSerializer.js.map +1 -1
- package/dist/esm/encryption/Serializers/index.d.ts +1 -1
- package/dist/esm/encryption/Serializers/index.d.ts.map +1 -1
- package/dist/esm/encryption/Serializers/index.js.map +1 -1
- package/dist/esm/encryption/index.d.ts +5 -5
- package/dist/esm/encryption/index.d.ts.map +1 -1
- package/dist/esm/encryption/index.js.map +1 -1
- package/dist/esm/globalPartitionEndpointManager.d.ts +2 -1
- package/dist/esm/globalPartitionEndpointManager.d.ts.map +1 -1
- package/dist/esm/globalPartitionEndpointManager.js.map +1 -1
- package/dist/esm/index.d.ts +16 -16
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/queryExecutionContext/Aggregators/index.d.ts +1 -1
- package/dist/esm/queryExecutionContext/Aggregators/index.d.ts.map +1 -1
- package/dist/esm/queryExecutionContext/Aggregators/index.js.map +1 -1
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js +26 -18
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js.map +1 -1
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js +48 -25
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js.map +1 -1
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js +17 -26
- package/dist/esm/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js.map +1 -1
- package/dist/esm/queryExecutionContext/PartitionRangeManager.d.ts +8 -7
- package/dist/esm/queryExecutionContext/PartitionRangeManager.d.ts.map +1 -1
- package/dist/esm/queryExecutionContext/PartitionRangeManager.js +13 -12
- package/dist/esm/queryExecutionContext/PartitionRangeManager.js.map +1 -1
- package/dist/esm/queryExecutionContext/index.d.ts +2 -2
- package/dist/esm/queryExecutionContext/index.d.ts.map +1 -1
- package/dist/esm/queryExecutionContext/index.js +0 -2
- package/dist/esm/queryExecutionContext/index.js.map +1 -1
- package/dist/esm/queryExecutionContext/parallelQueryExecutionContextBase.d.ts +1 -1
- package/dist/esm/queryExecutionContext/parallelQueryExecutionContextBase.d.ts.map +1 -1
- package/dist/esm/queryExecutionContext/parallelQueryExecutionContextBase.js.map +1 -1
- package/dist/esm/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts +0 -4
- package/dist/esm/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts.map +1 -1
- package/dist/esm/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js +2 -10
- package/dist/esm/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js.map +1 -1
- package/dist/esm/request/hybridSearchQueryResult.d.ts +1 -1
- package/dist/esm/request/hybridSearchQueryResult.d.ts.map +1 -1
- package/dist/esm/request/hybridSearchQueryResult.js.map +1 -1
- package/dist/esm/request/index.d.ts +8 -8
- package/dist/esm/request/index.d.ts.map +1 -1
- package/dist/esm/request/index.js +0 -1
- package/dist/esm/request/index.js.map +1 -1
- package/dist/esm/retry/endpointDiscoveryRetryPolicy.d.ts +1 -1
- package/dist/esm/retry/endpointDiscoveryRetryPolicy.d.ts.map +1 -1
- package/dist/esm/retry/endpointDiscoveryRetryPolicy.js.map +1 -1
- package/dist/esm/retry/index.d.ts +1 -1
- package/dist/esm/retry/index.d.ts.map +1 -1
- package/dist/esm/retry/index.js +0 -3
- package/dist/esm/retry/index.js.map +1 -1
- package/dist/esm/retry/timeoutFailoverRetryPolicy.d.ts +1 -1
- package/dist/esm/retry/timeoutFailoverRetryPolicy.d.ts.map +1 -1
- package/dist/esm/retry/timeoutFailoverRetryPolicy.js.map +1 -1
- package/dist/esm/utils/hashing/hash.d.ts +1 -1
- package/dist/esm/utils/hashing/hash.d.ts.map +1 -1
- package/dist/esm/utils/hashing/hash.js.map +1 -1
- package/dist/react-native/PartitionKeyRangeFailoverInfo.d.ts +1 -1
- package/dist/react-native/PartitionKeyRangeFailoverInfo.d.ts.map +1 -1
- package/dist/react-native/PartitionKeyRangeFailoverInfo.js +0 -2
- package/dist/react-native/PartitionKeyRangeFailoverInfo.js.map +1 -1
- package/dist/react-native/bulk/index.d.ts +1 -1
- package/dist/react-native/bulk/index.d.ts.map +1 -1
- package/dist/react-native/bulk/index.js.map +1 -1
- package/dist/react-native/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts +2 -2
- package/dist/react-native/client/ChangeFeed/ChangeFeedForPartitionKey.d.ts.map +1 -1
- package/dist/react-native/client/ChangeFeed/ChangeFeedForPartitionKey.js.map +1 -1
- package/dist/react-native/client/ChangeFeed/buildChangeFeedIterator.js.map +1 -1
- package/dist/react-native/client/ChangeFeed/changeFeedUtils.d.ts +4 -4
- package/dist/react-native/client/ChangeFeed/changeFeedUtils.d.ts.map +1 -1
- package/dist/react-native/client/ChangeFeed/changeFeedUtils.js.map +1 -1
- package/dist/react-native/client/ChangeFeed/index.d.ts +2 -2
- package/dist/react-native/client/ChangeFeed/index.d.ts.map +1 -1
- package/dist/react-native/client/ChangeFeed/index.js.map +1 -1
- package/dist/react-native/client/ClientUtils.d.ts +1 -1
- package/dist/react-native/client/ClientUtils.d.ts.map +1 -1
- package/dist/react-native/client/ClientUtils.js.map +1 -1
- package/dist/react-native/client/Conflict/index.d.ts +2 -2
- package/dist/react-native/client/Conflict/index.d.ts.map +1 -1
- package/dist/react-native/client/Conflict/index.js.map +1 -1
- package/dist/react-native/client/Container/ContainerDefinition.d.ts +1 -1
- package/dist/react-native/client/Container/ContainerDefinition.d.ts.map +1 -1
- package/dist/react-native/client/Container/ContainerDefinition.js.map +1 -1
- package/dist/react-native/client/Container/index.d.ts +4 -4
- package/dist/react-native/client/Container/index.d.ts.map +1 -1
- package/dist/react-native/client/Container/index.js.map +1 -1
- package/dist/react-native/client/Database/index.d.ts +2 -2
- package/dist/react-native/client/Database/index.d.ts.map +1 -1
- package/dist/react-native/client/Database/index.js.map +1 -1
- package/dist/react-native/client/Item/Items.d.ts.map +1 -1
- package/dist/react-native/client/Item/Items.js.map +1 -1
- package/dist/react-native/client/Item/index.d.ts +1 -1
- package/dist/react-native/client/Item/index.d.ts.map +1 -1
- package/dist/react-native/client/Item/index.js.map +1 -1
- package/dist/react-native/client/Offer/index.d.ts +1 -1
- package/dist/react-native/client/Offer/index.d.ts.map +1 -1
- package/dist/react-native/client/Offer/index.js.map +1 -1
- package/dist/react-native/client/Permission/index.d.ts +2 -2
- package/dist/react-native/client/Permission/index.d.ts.map +1 -1
- package/dist/react-native/client/Permission/index.js.map +1 -1
- package/dist/react-native/client/StoredProcedure/index.d.ts +1 -1
- package/dist/react-native/client/StoredProcedure/index.d.ts.map +1 -1
- package/dist/react-native/client/StoredProcedure/index.js.map +1 -1
- package/dist/react-native/client/Trigger/index.d.ts +1 -1
- package/dist/react-native/client/Trigger/index.d.ts.map +1 -1
- package/dist/react-native/client/Trigger/index.js.map +1 -1
- package/dist/react-native/client/User/index.d.ts +1 -1
- package/dist/react-native/client/User/index.d.ts.map +1 -1
- package/dist/react-native/client/User/index.js.map +1 -1
- package/dist/react-native/client/UserDefinedFunction/index.d.ts +1 -1
- package/dist/react-native/client/UserDefinedFunction/index.d.ts.map +1 -1
- package/dist/react-native/client/UserDefinedFunction/index.js.map +1 -1
- package/dist/react-native/client/index.d.ts +1 -1
- package/dist/react-native/client/index.d.ts.map +1 -1
- package/dist/react-native/client/index.js +0 -1
- package/dist/react-native/client/index.js.map +1 -1
- package/dist/react-native/common/constants.js +1 -1
- package/dist/react-native/common/constants.js.map +1 -1
- package/dist/react-native/common/helper.d.ts +4 -4
- package/dist/react-native/common/helper.d.ts.map +1 -1
- package/dist/react-native/common/helper.js.map +1 -1
- package/dist/react-native/common/platform.d.ts +1 -1
- package/dist/react-native/common/platform.d.ts.map +1 -1
- package/dist/react-native/common/platform.js.map +1 -1
- package/dist/react-native/diagnostics/DiagnosticNodeInternal.d.ts +1 -1
- package/dist/react-native/diagnostics/DiagnosticNodeInternal.d.ts.map +1 -1
- package/dist/react-native/diagnostics/DiagnosticNodeInternal.js.map +1 -1
- package/dist/react-native/documents/index.d.ts +4 -4
- package/dist/react-native/documents/index.d.ts.map +1 -1
- package/dist/react-native/documents/index.js +0 -4
- package/dist/react-native/documents/index.js.map +1 -1
- package/dist/react-native/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts +1 -1
- package/dist/react-native/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.d.ts.map +1 -1
- package/dist/react-native/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm.js.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionIncludedPath.d.ts +1 -1
- package/dist/react-native/encryption/ClientEncryptionIncludedPath.d.ts.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionIncludedPath.js.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts +4 -4
- package/dist/react-native/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.d.ts.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionKey/ClientEncryptionKeyResponse.js.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionKey/index.d.ts +2 -2
- package/dist/react-native/encryption/ClientEncryptionKey/index.d.ts.map +1 -1
- package/dist/react-native/encryption/ClientEncryptionKey/index.js.map +1 -1
- package/dist/react-native/encryption/EncryptionKeyResolver/index.d.ts +1 -1
- package/dist/react-native/encryption/EncryptionKeyResolver/index.d.ts.map +1 -1
- package/dist/react-native/encryption/EncryptionKeyResolver/index.js.map +1 -1
- package/dist/react-native/encryption/EncryptionQueryBuilder.d.ts +2 -2
- package/dist/react-native/encryption/EncryptionQueryBuilder.d.ts.map +1 -1
- package/dist/react-native/encryption/EncryptionQueryBuilder.js.map +1 -1
- package/dist/react-native/encryption/Serializers/BooleanSerializer.d.ts +1 -1
- package/dist/react-native/encryption/Serializers/BooleanSerializer.d.ts.map +1 -1
- package/dist/react-native/encryption/Serializers/BooleanSerializer.js.map +1 -1
- package/dist/react-native/encryption/Serializers/FloatSerializer.d.ts +1 -1
- package/dist/react-native/encryption/Serializers/FloatSerializer.d.ts.map +1 -1
- package/dist/react-native/encryption/Serializers/FloatSerializer.js.map +1 -1
- package/dist/react-native/encryption/Serializers/StringSerializer.d.ts +1 -1
- package/dist/react-native/encryption/Serializers/StringSerializer.d.ts.map +1 -1
- package/dist/react-native/encryption/Serializers/StringSerializer.js.map +1 -1
- package/dist/react-native/encryption/Serializers/index.d.ts +1 -1
- package/dist/react-native/encryption/Serializers/index.d.ts.map +1 -1
- package/dist/react-native/encryption/Serializers/index.js.map +1 -1
- package/dist/react-native/encryption/index.d.ts +5 -5
- package/dist/react-native/encryption/index.d.ts.map +1 -1
- package/dist/react-native/encryption/index.js.map +1 -1
- package/dist/react-native/globalPartitionEndpointManager.d.ts +2 -1
- package/dist/react-native/globalPartitionEndpointManager.d.ts.map +1 -1
- package/dist/react-native/globalPartitionEndpointManager.js.map +1 -1
- package/dist/react-native/index.d.ts +16 -16
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/queryExecutionContext/Aggregators/index.d.ts +1 -1
- package/dist/react-native/queryExecutionContext/Aggregators/index.d.ts.map +1 -1
- package/dist/react-native/queryExecutionContext/Aggregators/index.js.map +1 -1
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js +26 -18
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/BaseContinuationTokenManager.js.map +1 -1
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js +48 -25
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/OrderByQueryContinuationTokenManager.js.map +1 -1
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js +17 -26
- package/dist/react-native/queryExecutionContext/ContinuationTokenManager/ParallelQueryContinuationTokenManager.js.map +1 -1
- package/dist/react-native/queryExecutionContext/PartitionRangeManager.d.ts +8 -7
- package/dist/react-native/queryExecutionContext/PartitionRangeManager.d.ts.map +1 -1
- package/dist/react-native/queryExecutionContext/PartitionRangeManager.js +13 -12
- package/dist/react-native/queryExecutionContext/PartitionRangeManager.js.map +1 -1
- package/dist/react-native/queryExecutionContext/index.d.ts +2 -2
- package/dist/react-native/queryExecutionContext/index.d.ts.map +1 -1
- package/dist/react-native/queryExecutionContext/index.js +0 -2
- package/dist/react-native/queryExecutionContext/index.js.map +1 -1
- package/dist/react-native/queryExecutionContext/parallelQueryExecutionContextBase.d.ts +1 -1
- package/dist/react-native/queryExecutionContext/parallelQueryExecutionContextBase.d.ts.map +1 -1
- package/dist/react-native/queryExecutionContext/parallelQueryExecutionContextBase.js.map +1 -1
- package/dist/react-native/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts +0 -4
- package/dist/react-native/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.d.ts.map +1 -1
- package/dist/react-native/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js +2 -10
- package/dist/react-native/queryExecutionContext/queryFilteringStrategy/ParallelQueryRangeStrategy.js.map +1 -1
- package/dist/react-native/request/hybridSearchQueryResult.d.ts +1 -1
- package/dist/react-native/request/hybridSearchQueryResult.d.ts.map +1 -1
- package/dist/react-native/request/hybridSearchQueryResult.js.map +1 -1
- package/dist/react-native/request/index.d.ts +8 -8
- package/dist/react-native/request/index.d.ts.map +1 -1
- package/dist/react-native/request/index.js +0 -1
- package/dist/react-native/request/index.js.map +1 -1
- package/dist/react-native/retry/endpointDiscoveryRetryPolicy.d.ts +1 -1
- package/dist/react-native/retry/endpointDiscoveryRetryPolicy.d.ts.map +1 -1
- package/dist/react-native/retry/endpointDiscoveryRetryPolicy.js.map +1 -1
- package/dist/react-native/retry/index.d.ts +1 -1
- package/dist/react-native/retry/index.d.ts.map +1 -1
- package/dist/react-native/retry/index.js +0 -3
- package/dist/react-native/retry/index.js.map +1 -1
- package/dist/react-native/retry/timeoutFailoverRetryPolicy.d.ts +1 -1
- package/dist/react-native/retry/timeoutFailoverRetryPolicy.d.ts.map +1 -1
- package/dist/react-native/retry/timeoutFailoverRetryPolicy.js.map +1 -1
- package/dist/react-native/utils/globalCrypto.d.ts +1 -1
- package/dist/react-native/utils/globalCrypto.d.ts.map +1 -0
- package/dist/react-native/utils/globalCrypto.js +1 -1
- package/dist/react-native/utils/globalCrypto.js.map +1 -0
- package/dist/react-native/utils/hashing/hash.d.ts +1 -1
- package/dist/react-native/utils/hashing/hash.d.ts.map +1 -1
- package/dist/react-native/utils/hashing/hash.js.map +1 -1
- package/package.json +3 -20
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm-browser.d.mts.map +0 -1
- package/dist/browser/encryption/AeadAes256CbcHmacSha256Algorithm/AeadAes256CbcHmacSha256Algorithm-browser.mjs.map +0 -1
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache-browser.d.mts.map +0 -1
- package/dist/browser/encryption/Cache/ProtectedDataEncryptionKeyCache-browser.mjs.map +0 -1
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey-browser.d.mts.map +0 -1
- package/dist/browser/encryption/EncryptionKey/DataEncryptionKey-browser.mjs.map +0 -1
- package/dist/browser/request/defaultAgent-browser.d.mts.map +0 -1
- package/dist/browser/request/defaultAgent-browser.mjs.map +0 -1
- package/dist/browser/utils/atob-browser.d.mts.map +0 -1
- package/dist/browser/utils/atob-browser.mjs.map +0 -1
- package/dist/browser/utils/digest-browser.d.mts.map +0 -1
- package/dist/browser/utils/digest-browser.mjs.map +0 -1
- package/dist/browser/utils/envUtils-browser.d.mts.map +0 -1
- package/dist/browser/utils/envUtils-browser.mjs.map +0 -1
- package/dist/browser/utils/hmac-browser.d.mts.map +0 -1
- package/dist/browser/utils/hmac-browser.mjs.map +0 -1
- package/dist/react-native/utils/globalCrypto-react-native.d.mts.map +0 -1
- package/dist/react-native/utils/globalCrypto-react-native.mjs.map +0 -1
|
@@ -1,217 +1,101 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var uriFactory_exports = {};
|
|
19
|
+
__export(uriFactory_exports, {
|
|
20
|
+
createAttachmentUri: () => createAttachmentUri,
|
|
21
|
+
createConflictUri: () => createConflictUri,
|
|
22
|
+
createDatabaseUri: () => createDatabaseUri,
|
|
23
|
+
createDocumentCollectionUri: () => createDocumentCollectionUri,
|
|
24
|
+
createDocumentUri: () => createDocumentUri,
|
|
25
|
+
createPartitionKeyRangesUri: () => createPartitionKeyRangesUri,
|
|
26
|
+
createPermissionUri: () => createPermissionUri,
|
|
27
|
+
createStoredProcedureUri: () => createStoredProcedureUri,
|
|
28
|
+
createTriggerUri: () => createTriggerUri,
|
|
29
|
+
createUserDefinedFunctionUri: () => createUserDefinedFunctionUri,
|
|
30
|
+
createUserUri: () => createUserUri
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(uriFactory_exports);
|
|
33
|
+
var import_constants = require("./constants.js");
|
|
34
|
+
var import_helper = require("./helper.js");
|
|
27
35
|
function createDatabaseUri(databaseId) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
36
|
+
databaseId = (0, import_helper.trimSlashFromLeftAndRight)(databaseId);
|
|
37
|
+
(0, import_helper.validateResourceId)(databaseId);
|
|
38
|
+
return import_constants.Constants.Path.DatabasesPathSegment + "/" + databaseId;
|
|
31
39
|
}
|
|
32
|
-
/**
|
|
33
|
-
* Given a database and collection id, this creates a collection link.
|
|
34
|
-
* Would be used when updating or deleting a DocumentCollection, creating a
|
|
35
|
-
* Document, a StoredProcedure, a Trigger, a UserDefinedFunction, or when executing a query
|
|
36
|
-
* with CreateDocumentQuery in Azure Cosmos DB database service.
|
|
37
|
-
* @param databaseId - The database id
|
|
38
|
-
* @param collectionId - The collection id
|
|
39
|
-
* @returns A collection link in the format of `dbs/{0}/colls/{1}`
|
|
40
|
-
* with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId
|
|
41
|
-
* @hidden
|
|
42
|
-
*/
|
|
43
40
|
function createDocumentCollectionUri(databaseId, collectionId) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
collectionId = (0, import_helper.trimSlashFromLeftAndRight)(collectionId);
|
|
42
|
+
(0, import_helper.validateResourceId)(collectionId);
|
|
43
|
+
return createDatabaseUri(databaseId) + "/" + import_constants.Constants.Path.CollectionsPathSegment + "/" + collectionId;
|
|
47
44
|
}
|
|
48
|
-
/**
|
|
49
|
-
* Given a database and user id, this creates a user link.
|
|
50
|
-
* Would be used when creating a Permission, or when replacing or deleting
|
|
51
|
-
* a User in Azure Cosmos DB database service
|
|
52
|
-
* @param databaseId - The database id
|
|
53
|
-
* @param userId - The user id
|
|
54
|
-
* @returns A user link in the format of `dbs/{0}/users/{1}`
|
|
55
|
-
* with `{0}` being a Uri escaped version of the databaseId and `{1}` being userId
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
45
|
function createUserUri(databaseId, userId) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
46
|
+
userId = (0, import_helper.trimSlashFromLeftAndRight)(userId);
|
|
47
|
+
(0, import_helper.validateResourceId)(userId);
|
|
48
|
+
return createDatabaseUri(databaseId) + "/" + import_constants.Constants.Path.UsersPathSegment + "/" + userId;
|
|
62
49
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Given a database and collection id, this creates a collection link.
|
|
65
|
-
* Would be used when creating an Attachment, or when replacing
|
|
66
|
-
* or deleting a Document in Azure Cosmos DB database service
|
|
67
|
-
* @param databaseId - The database id
|
|
68
|
-
* @param collectionId - The collection id
|
|
69
|
-
* @param documentId - The document id
|
|
70
|
-
* @returns A document link in the format of
|
|
71
|
-
* `dbs/{0}/colls/{1}/docs/{2}` with `{0}` being a Uri escaped version of
|
|
72
|
-
* the databaseId, `{1}` being collectionId and `{2}` being the documentId
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
50
|
function createDocumentUri(databaseId, collectionId, documentId) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"/" +
|
|
80
|
-
constants_js_1.Constants.Path.DocumentsPathSegment +
|
|
81
|
-
"/" +
|
|
82
|
-
documentId);
|
|
51
|
+
documentId = (0, import_helper.trimSlashFromLeftAndRight)(documentId);
|
|
52
|
+
(0, import_helper.validateItemResourceId)(documentId);
|
|
53
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.DocumentsPathSegment + "/" + documentId;
|
|
83
54
|
}
|
|
84
|
-
/**
|
|
85
|
-
* Given a database, collection and document id, this creates a document link.
|
|
86
|
-
* Would be used when replacing or deleting a Permission in Azure Cosmos DB database service.
|
|
87
|
-
* @param databaseId -The database Id
|
|
88
|
-
* @param userId -The user Id
|
|
89
|
-
* @param permissionId - The permissionId
|
|
90
|
-
* @returns A permission link in the format of `dbs/{0}/users/{1}/permissions/{2}`
|
|
91
|
-
* with `{0}` being a Uri escaped version of the databaseId, `{1}` being userId and `{2}` being permissionId
|
|
92
|
-
* @hidden
|
|
93
|
-
*/
|
|
94
55
|
function createPermissionUri(databaseId, userId, permissionId) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"/" +
|
|
99
|
-
constants_js_1.Constants.Path.PermissionsPathSegment +
|
|
100
|
-
"/" +
|
|
101
|
-
permissionId);
|
|
56
|
+
permissionId = (0, import_helper.trimSlashFromLeftAndRight)(permissionId);
|
|
57
|
+
(0, import_helper.validateResourceId)(permissionId);
|
|
58
|
+
return createUserUri(databaseId, userId) + "/" + import_constants.Constants.Path.PermissionsPathSegment + "/" + permissionId;
|
|
102
59
|
}
|
|
103
|
-
/**
|
|
104
|
-
* Given a database, collection and stored proc id, this creates a stored proc link.
|
|
105
|
-
* Would be used when replacing, executing, or deleting a StoredProcedure in
|
|
106
|
-
* Azure Cosmos DB database service.
|
|
107
|
-
* @param databaseId -The database Id
|
|
108
|
-
* @param collectionId -The collection Id
|
|
109
|
-
* @param storedProcedureId -The stored procedure Id
|
|
110
|
-
* @returns A stored procedure link in the format of
|
|
111
|
-
* `dbs/{0}/colls/{1}/sprocs/{2}` with `{0}` being a Uri escaped version of the databaseId,
|
|
112
|
-
* `{1}` being collectionId and `{2}` being the storedProcedureId
|
|
113
|
-
* @hidden
|
|
114
|
-
*/
|
|
115
60
|
function createStoredProcedureUri(databaseId, collectionId, storedProcedureId) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"/" +
|
|
120
|
-
constants_js_1.Constants.Path.StoredProceduresPathSegment +
|
|
121
|
-
"/" +
|
|
122
|
-
storedProcedureId);
|
|
61
|
+
storedProcedureId = (0, import_helper.trimSlashFromLeftAndRight)(storedProcedureId);
|
|
62
|
+
(0, import_helper.validateResourceId)(storedProcedureId);
|
|
63
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.StoredProceduresPathSegment + "/" + storedProcedureId;
|
|
123
64
|
}
|
|
124
|
-
/**
|
|
125
|
-
* Given a database, collection and trigger id, this creates a trigger link.
|
|
126
|
-
* Would be used when replacing, executing, or deleting a Trigger in Azure Cosmos DB database service
|
|
127
|
-
* @param databaseId -The database Id
|
|
128
|
-
* @param collectionId -The collection Id
|
|
129
|
-
* @param triggerId -The trigger Id
|
|
130
|
-
* @returns A trigger link in the format of
|
|
131
|
-
* `dbs/{0}/colls/{1}/triggers/{2}` with `{0}` being a Uri escaped version of the databaseId,
|
|
132
|
-
* `{1}` being collectionId and `{2}` being the triggerId
|
|
133
|
-
* @hidden
|
|
134
|
-
*/
|
|
135
65
|
function createTriggerUri(databaseId, collectionId, triggerId) {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"/" +
|
|
140
|
-
constants_js_1.Constants.Path.TriggersPathSegment +
|
|
141
|
-
"/" +
|
|
142
|
-
triggerId);
|
|
66
|
+
triggerId = (0, import_helper.trimSlashFromLeftAndRight)(triggerId);
|
|
67
|
+
(0, import_helper.validateResourceId)(triggerId);
|
|
68
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.TriggersPathSegment + "/" + triggerId;
|
|
143
69
|
}
|
|
144
|
-
/**
|
|
145
|
-
* Given a database, collection and udf id, this creates a udf link.
|
|
146
|
-
* Would be used when replacing, executing, or deleting a UserDefinedFunction in
|
|
147
|
-
* Azure Cosmos DB database service
|
|
148
|
-
* @param databaseId -The database Id
|
|
149
|
-
* @param collectionId -The collection Id
|
|
150
|
-
* @param udfId -The User Defined Function Id
|
|
151
|
-
* @returns A udf link in the format of `dbs/{0}/colls/{1}/udfs/{2}`
|
|
152
|
-
* with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the udfId
|
|
153
|
-
* @hidden
|
|
154
|
-
*/
|
|
155
70
|
function createUserDefinedFunctionUri(databaseId, collectionId, udfId) {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"/" +
|
|
160
|
-
constants_js_1.Constants.Path.UserDefinedFunctionsPathSegment +
|
|
161
|
-
"/" +
|
|
162
|
-
udfId);
|
|
71
|
+
udfId = (0, import_helper.trimSlashFromLeftAndRight)(udfId);
|
|
72
|
+
(0, import_helper.validateResourceId)(udfId);
|
|
73
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.UserDefinedFunctionsPathSegment + "/" + udfId;
|
|
163
74
|
}
|
|
164
|
-
/**
|
|
165
|
-
* Given a database, collection and conflict id, this creates a conflict link.
|
|
166
|
-
* Would be used when creating a Conflict in Azure Cosmos DB database service.
|
|
167
|
-
* @param databaseId -The database Id
|
|
168
|
-
* @param collectionId -The collection Id
|
|
169
|
-
* @param conflictId -The conflict Id
|
|
170
|
-
* @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`
|
|
171
|
-
* with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId
|
|
172
|
-
* @hidden
|
|
173
|
-
*/
|
|
174
75
|
function createConflictUri(databaseId, collectionId, conflictId) {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
"/" +
|
|
179
|
-
constants_js_1.Constants.Path.ConflictsPathSegment +
|
|
180
|
-
"/" +
|
|
181
|
-
conflictId);
|
|
76
|
+
conflictId = (0, import_helper.trimSlashFromLeftAndRight)(conflictId);
|
|
77
|
+
(0, import_helper.validateResourceId)(conflictId);
|
|
78
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.ConflictsPathSegment + "/" + conflictId;
|
|
182
79
|
}
|
|
183
|
-
/**
|
|
184
|
-
* Given a database, collection and conflict id, this creates a conflict link.
|
|
185
|
-
* Would be used when creating a Conflict in Azure Cosmos DB database service.
|
|
186
|
-
* @param databaseId -The database Id
|
|
187
|
-
* @param collectionId -The collection Id
|
|
188
|
-
* @param documentId -The document Id
|
|
189
|
-
* @param attachmentId -The attachment Id
|
|
190
|
-
* @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`
|
|
191
|
-
* with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId
|
|
192
|
-
* @hidden
|
|
193
|
-
*/
|
|
194
80
|
function createAttachmentUri(databaseId, collectionId, documentId, attachmentId) {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
"/" +
|
|
199
|
-
constants_js_1.Constants.Path.AttachmentsPathSegment +
|
|
200
|
-
"/" +
|
|
201
|
-
attachmentId);
|
|
81
|
+
attachmentId = (0, import_helper.trimSlashFromLeftAndRight)(attachmentId);
|
|
82
|
+
(0, import_helper.validateResourceId)(attachmentId);
|
|
83
|
+
return createDocumentUri(databaseId, collectionId, documentId) + "/" + import_constants.Constants.Path.AttachmentsPathSegment + "/" + attachmentId;
|
|
202
84
|
}
|
|
203
|
-
/**
|
|
204
|
-
* Given a database and collection, this creates a partition key ranges link in
|
|
205
|
-
* the Azure Cosmos DB database service.
|
|
206
|
-
* @param databaseId - The database Id
|
|
207
|
-
* @param collectionId - The collection Id
|
|
208
|
-
* @returns A partition key ranges link in the format of
|
|
209
|
-
* `dbs/{0}/colls/{1}/pkranges` with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId
|
|
210
|
-
* @hidden
|
|
211
|
-
*/
|
|
212
85
|
function createPartitionKeyRangesUri(databaseId, collectionId) {
|
|
213
|
-
|
|
214
|
-
"/" +
|
|
215
|
-
constants_js_1.Constants.Path.PartitionKeyRangesPathSegment);
|
|
86
|
+
return createDocumentCollectionUri(databaseId, collectionId) + "/" + import_constants.Constants.Path.PartitionKeyRangesPathSegment;
|
|
216
87
|
}
|
|
217
|
-
|
|
88
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
89
|
+
0 && (module.exports = {
|
|
90
|
+
createAttachmentUri,
|
|
91
|
+
createConflictUri,
|
|
92
|
+
createDatabaseUri,
|
|
93
|
+
createDocumentCollectionUri,
|
|
94
|
+
createDocumentUri,
|
|
95
|
+
createPartitionKeyRangesUri,
|
|
96
|
+
createPermissionUri,
|
|
97
|
+
createStoredProcedureUri,
|
|
98
|
+
createTriggerUri,
|
|
99
|
+
createUserDefinedFunctionUri,
|
|
100
|
+
createUserUri
|
|
101
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{"version":3,"file":"uriFactory.js","sourceRoot":"","sources":["../../../src/common/uriFactory.ts"],"names":[],"mappings":";;AAcA,8CAKC;AAaD,kEAOC;AAYD,sCAKC;AAcD,8CAeC;AAYD,kDAeC;AAcD,4DAeC;AAaD,4CAeC;AAaD,oEAeC;AAYD,8CAeC;AAaD,kDAgBC;AAWD,kEAMC;AA9QD,uCAAuC;AACvC,kCAAkC;AAClC,iDAA2C;AAC3C,2CAAoG;AAEpG;;;;;;;;GAQG;AACH,SAAgB,iBAAiB,CAAC,UAAkB;IAClD,UAAU,GAAG,IAAA,qCAAyB,EAAC,UAAU,CAAC,CAAC;IACnD,IAAA,8BAAkB,EAAC,UAAU,CAAC,CAAC;IAE/B,OAAO,wBAAS,CAAC,IAAI,CAAC,oBAAoB,GAAG,GAAG,GAAG,UAAU,CAAC;AAChE,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,2BAA2B,CAAC,UAAkB,EAAE,YAAoB;IAClF,YAAY,GAAG,IAAA,qCAAyB,EAAC,YAAY,CAAC,CAAC;IACvD,IAAA,8BAAkB,EAAC,YAAY,CAAC,CAAC;IAEjC,OAAO,CACL,iBAAiB,CAAC,UAAU,CAAC,GAAG,GAAG,GAAG,wBAAS,CAAC,IAAI,CAAC,sBAAsB,GAAG,GAAG,GAAG,YAAY,CACjG,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,aAAa,CAAC,UAAkB,EAAE,MAAc;IAC9D,MAAM,GAAG,IAAA,qCAAyB,EAAC,MAAM,CAAC,CAAC;IAC3C,IAAA,8BAAkB,EAAC,MAAM,CAAC,CAAC;IAE3B,OAAO,iBAAiB,CAAC,UAAU,CAAC,GAAG,GAAG,GAAG,wBAAS,CAAC,IAAI,CAAC,gBAAgB,GAAG,GAAG,GAAG,MAAM,CAAC;AAC9F,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,YAAoB,EACpB,UAAkB;IAElB,UAAU,GAAG,IAAA,qCAAyB,EAAC,UAAU,CAAC,CAAC;IACnD,IAAA,kCAAsB,EAAC,UAAU,CAAC,CAAC;IAEnC,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,oBAAoB;QACnC,GAAG;QACH,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,mBAAmB,CACjC,UAAkB,EAClB,MAAc,EACd,YAAoB;IAEpB,YAAY,GAAG,IAAA,qCAAyB,EAAC,YAAY,CAAC,CAAC;IACvD,IAAA,8BAAkB,EAAC,YAAY,CAAC,CAAC;IAEjC,OAAO,CACL,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC;QACjC,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,sBAAsB;QACrC,GAAG;QACH,YAAY,CACb,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAgB,wBAAwB,CACtC,UAAkB,EAClB,YAAoB,EACpB,iBAAyB;IAEzB,iBAAiB,GAAG,IAAA,qCAAyB,EAAC,iBAAiB,CAAC,CAAC;IACjE,IAAA,8BAAkB,EAAC,iBAAiB,CAAC,CAAC;IAEtC,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,2BAA2B;QAC1C,GAAG;QACH,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,gBAAgB,CAC9B,UAAkB,EAClB,YAAoB,EACpB,SAAiB;IAEjB,SAAS,GAAG,IAAA,qCAAyB,EAAC,SAAS,CAAC,CAAC;IACjD,IAAA,8BAAkB,EAAC,SAAS,CAAC,CAAC;IAE9B,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,mBAAmB;QAClC,GAAG;QACH,SAAS,CACV,CAAC;AACJ,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,4BAA4B,CAC1C,UAAkB,EAClB,YAAoB,EACpB,KAAa;IAEb,KAAK,GAAG,IAAA,qCAAyB,EAAC,KAAK,CAAC,CAAC;IACzC,IAAA,8BAAkB,EAAC,KAAK,CAAC,CAAC;IAE1B,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,+BAA+B;QAC9C,GAAG;QACH,KAAK,CACN,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,SAAgB,iBAAiB,CAC/B,UAAkB,EAClB,YAAoB,EACpB,UAAkB;IAElB,UAAU,GAAG,IAAA,qCAAyB,EAAC,UAAU,CAAC,CAAC;IACnD,IAAA,8BAAkB,EAAC,UAAU,CAAC,CAAC;IAE/B,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,oBAAoB;QACnC,GAAG;QACH,UAAU,CACX,CAAC;AACJ,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,mBAAmB,CACjC,UAAkB,EAClB,YAAoB,EACpB,UAAkB,EAClB,YAAoB;IAEpB,YAAY,GAAG,IAAA,qCAAyB,EAAC,YAAY,CAAC,CAAC;IACvD,IAAA,8BAAkB,EAAC,YAAY,CAAC,CAAC;IAEjC,OAAO,CACL,iBAAiB,CAAC,UAAU,EAAE,YAAY,EAAE,UAAU,CAAC;QACvD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,sBAAsB;QACrC,GAAG;QACH,YAAY,CACb,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,2BAA2B,CAAC,UAAkB,EAAE,YAAoB;IAClF,OAAO,CACL,2BAA2B,CAAC,UAAU,EAAE,YAAY,CAAC;QACrD,GAAG;QACH,wBAAS,CAAC,IAAI,CAAC,6BAA6B,CAC7C,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { Constants } from \"./constants.js\";\nimport { trimSlashFromLeftAndRight, validateResourceId, validateItemResourceId } from \"./helper.js\";\n\n/**\n * Would be used when creating or deleting a DocumentCollection\n * or a User in Azure Cosmos DB database service\n * @hidden\n * Given a database id, this creates a database link.\n * @param databaseId - The database id\n * @returns A database link in the format of `dbs/{0}`\n * with `{0}` being a Uri escaped version of the databaseId\n */\nexport function createDatabaseUri(databaseId: string): string {\n databaseId = trimSlashFromLeftAndRight(databaseId);\n validateResourceId(databaseId);\n\n return Constants.Path.DatabasesPathSegment + \"/\" + databaseId;\n}\n\n/**\n * Given a database and collection id, this creates a collection link.\n * Would be used when updating or deleting a DocumentCollection, creating a\n * Document, a StoredProcedure, a Trigger, a UserDefinedFunction, or when executing a query\n * with CreateDocumentQuery in Azure Cosmos DB database service.\n * @param databaseId - The database id\n * @param collectionId - The collection id\n * @returns A collection link in the format of `dbs/{0}/colls/{1}`\n * with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId\n * @hidden\n */\nexport function createDocumentCollectionUri(databaseId: string, collectionId: string): string {\n collectionId = trimSlashFromLeftAndRight(collectionId);\n validateResourceId(collectionId);\n\n return (\n createDatabaseUri(databaseId) + \"/\" + Constants.Path.CollectionsPathSegment + \"/\" + collectionId\n );\n}\n\n/**\n * Given a database and user id, this creates a user link.\n * Would be used when creating a Permission, or when replacing or deleting\n * a User in Azure Cosmos DB database service\n * @param databaseId - The database id\n * @param userId - The user id\n * @returns A user link in the format of `dbs/{0}/users/{1}`\n * with `{0}` being a Uri escaped version of the databaseId and `{1}` being userId\n * @hidden\n */\nexport function createUserUri(databaseId: string, userId: string): string {\n userId = trimSlashFromLeftAndRight(userId);\n validateResourceId(userId);\n\n return createDatabaseUri(databaseId) + \"/\" + Constants.Path.UsersPathSegment + \"/\" + userId;\n}\n\n/**\n * Given a database and collection id, this creates a collection link.\n * Would be used when creating an Attachment, or when replacing\n * or deleting a Document in Azure Cosmos DB database service\n * @param databaseId - The database id\n * @param collectionId - The collection id\n * @param documentId - The document id\n * @returns A document link in the format of\n * `dbs/{0}/colls/{1}/docs/{2}` with `{0}` being a Uri escaped version of\n * the databaseId, `{1}` being collectionId and `{2}` being the documentId\n * @hidden\n */\nexport function createDocumentUri(\n databaseId: string,\n collectionId: string,\n documentId: string,\n): string {\n documentId = trimSlashFromLeftAndRight(documentId);\n validateItemResourceId(documentId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.DocumentsPathSegment +\n \"/\" +\n documentId\n );\n}\n\n/**\n * Given a database, collection and document id, this creates a document link.\n * Would be used when replacing or deleting a Permission in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param userId -The user Id\n * @param permissionId - The permissionId\n * @returns A permission link in the format of `dbs/{0}/users/{1}/permissions/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being userId and `{2}` being permissionId\n * @hidden\n */\nexport function createPermissionUri(\n databaseId: string,\n userId: string,\n permissionId: string,\n): string {\n permissionId = trimSlashFromLeftAndRight(permissionId);\n validateResourceId(permissionId);\n\n return (\n createUserUri(databaseId, userId) +\n \"/\" +\n Constants.Path.PermissionsPathSegment +\n \"/\" +\n permissionId\n );\n}\n\n/**\n * Given a database, collection and stored proc id, this creates a stored proc link.\n * Would be used when replacing, executing, or deleting a StoredProcedure in\n * Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param storedProcedureId -The stored procedure Id\n * @returns A stored procedure link in the format of\n * `dbs/{0}/colls/{1}/sprocs/{2}` with `{0}` being a Uri escaped version of the databaseId,\n * `{1}` being collectionId and `{2}` being the storedProcedureId\n * @hidden\n */\nexport function createStoredProcedureUri(\n databaseId: string,\n collectionId: string,\n storedProcedureId: string,\n): string {\n storedProcedureId = trimSlashFromLeftAndRight(storedProcedureId);\n validateResourceId(storedProcedureId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.StoredProceduresPathSegment +\n \"/\" +\n storedProcedureId\n );\n}\n\n/**\n * Given a database, collection and trigger id, this creates a trigger link.\n * Would be used when replacing, executing, or deleting a Trigger in Azure Cosmos DB database service\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param triggerId -The trigger Id\n * @returns A trigger link in the format of\n * `dbs/{0}/colls/{1}/triggers/{2}` with `{0}` being a Uri escaped version of the databaseId,\n * `{1}` being collectionId and `{2}` being the triggerId\n * @hidden\n */\nexport function createTriggerUri(\n databaseId: string,\n collectionId: string,\n triggerId: string,\n): string {\n triggerId = trimSlashFromLeftAndRight(triggerId);\n validateResourceId(triggerId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.TriggersPathSegment +\n \"/\" +\n triggerId\n );\n}\n\n/**\n * Given a database, collection and udf id, this creates a udf link.\n * Would be used when replacing, executing, or deleting a UserDefinedFunction in\n * Azure Cosmos DB database service\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param udfId -The User Defined Function Id\n * @returns A udf link in the format of `dbs/{0}/colls/{1}/udfs/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the udfId\n * @hidden\n */\nexport function createUserDefinedFunctionUri(\n databaseId: string,\n collectionId: string,\n udfId: string,\n): string {\n udfId = trimSlashFromLeftAndRight(udfId);\n validateResourceId(udfId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.UserDefinedFunctionsPathSegment +\n \"/\" +\n udfId\n );\n}\n\n/**\n * Given a database, collection and conflict id, this creates a conflict link.\n * Would be used when creating a Conflict in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param conflictId -The conflict Id\n * @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId\n * @hidden\n */\nexport function createConflictUri(\n databaseId: string,\n collectionId: string,\n conflictId: string,\n): string {\n conflictId = trimSlashFromLeftAndRight(conflictId);\n validateResourceId(conflictId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.ConflictsPathSegment +\n \"/\" +\n conflictId\n );\n}\n\n/**\n * Given a database, collection and conflict id, this creates a conflict link.\n * Would be used when creating a Conflict in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param documentId -The document Id\n * @param attachmentId -The attachment Id\n * @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId\n * @hidden\n */\nexport function createAttachmentUri(\n databaseId: string,\n collectionId: string,\n documentId: string,\n attachmentId: string,\n): string {\n attachmentId = trimSlashFromLeftAndRight(attachmentId);\n validateResourceId(attachmentId);\n\n return (\n createDocumentUri(databaseId, collectionId, documentId) +\n \"/\" +\n Constants.Path.AttachmentsPathSegment +\n \"/\" +\n attachmentId\n );\n}\n\n/**\n * Given a database and collection, this creates a partition key ranges link in\n * the Azure Cosmos DB database service.\n * @param databaseId - The database Id\n * @param collectionId - The collection Id\n * @returns A partition key ranges link in the format of\n * `dbs/{0}/colls/{1}/pkranges` with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId\n * @hidden\n */\nexport function createPartitionKeyRangesUri(databaseId: string, collectionId: string): string {\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.PartitionKeyRangesPathSegment\n );\n}\n"]}
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/cosmosdb/cosmos/src/common/uriFactory.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { Constants } from \"./constants.js\";\nimport { trimSlashFromLeftAndRight, validateResourceId, validateItemResourceId } from \"./helper.js\";\n\n/**\n * Would be used when creating or deleting a DocumentCollection\n * or a User in Azure Cosmos DB database service\n * @hidden\n * Given a database id, this creates a database link.\n * @param databaseId - The database id\n * @returns A database link in the format of `dbs/{0}`\n * with `{0}` being a Uri escaped version of the databaseId\n */\nexport function createDatabaseUri(databaseId: string): string {\n databaseId = trimSlashFromLeftAndRight(databaseId);\n validateResourceId(databaseId);\n\n return Constants.Path.DatabasesPathSegment + \"/\" + databaseId;\n}\n\n/**\n * Given a database and collection id, this creates a collection link.\n * Would be used when updating or deleting a DocumentCollection, creating a\n * Document, a StoredProcedure, a Trigger, a UserDefinedFunction, or when executing a query\n * with CreateDocumentQuery in Azure Cosmos DB database service.\n * @param databaseId - The database id\n * @param collectionId - The collection id\n * @returns A collection link in the format of `dbs/{0}/colls/{1}`\n * with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId\n * @hidden\n */\nexport function createDocumentCollectionUri(databaseId: string, collectionId: string): string {\n collectionId = trimSlashFromLeftAndRight(collectionId);\n validateResourceId(collectionId);\n\n return (\n createDatabaseUri(databaseId) + \"/\" + Constants.Path.CollectionsPathSegment + \"/\" + collectionId\n );\n}\n\n/**\n * Given a database and user id, this creates a user link.\n * Would be used when creating a Permission, or when replacing or deleting\n * a User in Azure Cosmos DB database service\n * @param databaseId - The database id\n * @param userId - The user id\n * @returns A user link in the format of `dbs/{0}/users/{1}`\n * with `{0}` being a Uri escaped version of the databaseId and `{1}` being userId\n * @hidden\n */\nexport function createUserUri(databaseId: string, userId: string): string {\n userId = trimSlashFromLeftAndRight(userId);\n validateResourceId(userId);\n\n return createDatabaseUri(databaseId) + \"/\" + Constants.Path.UsersPathSegment + \"/\" + userId;\n}\n\n/**\n * Given a database and collection id, this creates a collection link.\n * Would be used when creating an Attachment, or when replacing\n * or deleting a Document in Azure Cosmos DB database service\n * @param databaseId - The database id\n * @param collectionId - The collection id\n * @param documentId - The document id\n * @returns A document link in the format of\n * `dbs/{0}/colls/{1}/docs/{2}` with `{0}` being a Uri escaped version of\n * the databaseId, `{1}` being collectionId and `{2}` being the documentId\n * @hidden\n */\nexport function createDocumentUri(\n databaseId: string,\n collectionId: string,\n documentId: string,\n): string {\n documentId = trimSlashFromLeftAndRight(documentId);\n validateItemResourceId(documentId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.DocumentsPathSegment +\n \"/\" +\n documentId\n );\n}\n\n/**\n * Given a database, collection and document id, this creates a document link.\n * Would be used when replacing or deleting a Permission in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param userId -The user Id\n * @param permissionId - The permissionId\n * @returns A permission link in the format of `dbs/{0}/users/{1}/permissions/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being userId and `{2}` being permissionId\n * @hidden\n */\nexport function createPermissionUri(\n databaseId: string,\n userId: string,\n permissionId: string,\n): string {\n permissionId = trimSlashFromLeftAndRight(permissionId);\n validateResourceId(permissionId);\n\n return (\n createUserUri(databaseId, userId) +\n \"/\" +\n Constants.Path.PermissionsPathSegment +\n \"/\" +\n permissionId\n );\n}\n\n/**\n * Given a database, collection and stored proc id, this creates a stored proc link.\n * Would be used when replacing, executing, or deleting a StoredProcedure in\n * Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param storedProcedureId -The stored procedure Id\n * @returns A stored procedure link in the format of\n * `dbs/{0}/colls/{1}/sprocs/{2}` with `{0}` being a Uri escaped version of the databaseId,\n * `{1}` being collectionId and `{2}` being the storedProcedureId\n * @hidden\n */\nexport function createStoredProcedureUri(\n databaseId: string,\n collectionId: string,\n storedProcedureId: string,\n): string {\n storedProcedureId = trimSlashFromLeftAndRight(storedProcedureId);\n validateResourceId(storedProcedureId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.StoredProceduresPathSegment +\n \"/\" +\n storedProcedureId\n );\n}\n\n/**\n * Given a database, collection and trigger id, this creates a trigger link.\n * Would be used when replacing, executing, or deleting a Trigger in Azure Cosmos DB database service\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param triggerId -The trigger Id\n * @returns A trigger link in the format of\n * `dbs/{0}/colls/{1}/triggers/{2}` with `{0}` being a Uri escaped version of the databaseId,\n * `{1}` being collectionId and `{2}` being the triggerId\n * @hidden\n */\nexport function createTriggerUri(\n databaseId: string,\n collectionId: string,\n triggerId: string,\n): string {\n triggerId = trimSlashFromLeftAndRight(triggerId);\n validateResourceId(triggerId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.TriggersPathSegment +\n \"/\" +\n triggerId\n );\n}\n\n/**\n * Given a database, collection and udf id, this creates a udf link.\n * Would be used when replacing, executing, or deleting a UserDefinedFunction in\n * Azure Cosmos DB database service\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param udfId -The User Defined Function Id\n * @returns A udf link in the format of `dbs/{0}/colls/{1}/udfs/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the udfId\n * @hidden\n */\nexport function createUserDefinedFunctionUri(\n databaseId: string,\n collectionId: string,\n udfId: string,\n): string {\n udfId = trimSlashFromLeftAndRight(udfId);\n validateResourceId(udfId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.UserDefinedFunctionsPathSegment +\n \"/\" +\n udfId\n );\n}\n\n/**\n * Given a database, collection and conflict id, this creates a conflict link.\n * Would be used when creating a Conflict in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param conflictId -The conflict Id\n * @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId\n * @hidden\n */\nexport function createConflictUri(\n databaseId: string,\n collectionId: string,\n conflictId: string,\n): string {\n conflictId = trimSlashFromLeftAndRight(conflictId);\n validateResourceId(conflictId);\n\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.ConflictsPathSegment +\n \"/\" +\n conflictId\n );\n}\n\n/**\n * Given a database, collection and conflict id, this creates a conflict link.\n * Would be used when creating a Conflict in Azure Cosmos DB database service.\n * @param databaseId -The database Id\n * @param collectionId -The collection Id\n * @param documentId -The document Id\n * @param attachmentId -The attachment Id\n * @returns A conflict link in the format of `dbs/{0}/colls/{1}/conflicts/{2}`\n * with `{0}` being a Uri escaped version of the databaseId, `{1}` being collectionId and `{2}` being the conflictId\n * @hidden\n */\nexport function createAttachmentUri(\n databaseId: string,\n collectionId: string,\n documentId: string,\n attachmentId: string,\n): string {\n attachmentId = trimSlashFromLeftAndRight(attachmentId);\n validateResourceId(attachmentId);\n\n return (\n createDocumentUri(databaseId, collectionId, documentId) +\n \"/\" +\n Constants.Path.AttachmentsPathSegment +\n \"/\" +\n attachmentId\n );\n}\n\n/**\n * Given a database and collection, this creates a partition key ranges link in\n * the Azure Cosmos DB database service.\n * @param databaseId - The database Id\n * @param collectionId - The collection Id\n * @returns A partition key ranges link in the format of\n * `dbs/{0}/colls/{1}/pkranges` with `{0}` being a Uri escaped version of the databaseId and `{1}` being collectionId\n * @hidden\n */\nexport function createPartitionKeyRangesUri(databaseId: string, collectionId: string): string {\n return (\n createDocumentCollectionUri(databaseId, collectionId) +\n \"/\" +\n Constants.Path.PartitionKeyRangesPathSegment\n );\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,uBAA0B;AAC1B,oBAAsF;AAW/E,SAAS,kBAAkB,YAA4B;AAC5D,mBAAa,yCAA0B,UAAU;AACjD,wCAAmB,UAAU;AAE7B,SAAO,2BAAU,KAAK,uBAAuB,MAAM;AACrD;AAaO,SAAS,4BAA4B,YAAoB,cAA8B;AAC5F,qBAAe,yCAA0B,YAAY;AACrD,wCAAmB,YAAY;AAE/B,SACE,kBAAkB,UAAU,IAAI,MAAM,2BAAU,KAAK,yBAAyB,MAAM;AAExF;AAYO,SAAS,cAAc,YAAoB,QAAwB;AACxE,eAAS,yCAA0B,MAAM;AACzC,wCAAmB,MAAM;AAEzB,SAAO,kBAAkB,UAAU,IAAI,MAAM,2BAAU,KAAK,mBAAmB,MAAM;AACvF;AAcO,SAAS,kBACd,YACA,cACA,YACQ;AACR,mBAAa,yCAA0B,UAAU;AACjD,4CAAuB,UAAU;AAEjC,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK,uBACf,MACA;AAEJ;AAYO,SAAS,oBACd,YACA,QACA,cACQ;AACR,qBAAe,yCAA0B,YAAY;AACrD,wCAAmB,YAAY;AAE/B,SACE,cAAc,YAAY,MAAM,IAChC,MACA,2BAAU,KAAK,yBACf,MACA;AAEJ;AAcO,SAAS,yBACd,YACA,cACA,mBACQ;AACR,0BAAoB,yCAA0B,iBAAiB;AAC/D,wCAAmB,iBAAiB;AAEpC,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK,8BACf,MACA;AAEJ;AAaO,SAAS,iBACd,YACA,cACA,WACQ;AACR,kBAAY,yCAA0B,SAAS;AAC/C,wCAAmB,SAAS;AAE5B,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK,sBACf,MACA;AAEJ;AAaO,SAAS,6BACd,YACA,cACA,OACQ;AACR,cAAQ,yCAA0B,KAAK;AACvC,wCAAmB,KAAK;AAExB,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK,kCACf,MACA;AAEJ;AAYO,SAAS,kBACd,YACA,cACA,YACQ;AACR,mBAAa,yCAA0B,UAAU;AACjD,wCAAmB,UAAU;AAE7B,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK,uBACf,MACA;AAEJ;AAaO,SAAS,oBACd,YACA,cACA,YACA,cACQ;AACR,qBAAe,yCAA0B,YAAY;AACrD,wCAAmB,YAAY;AAE/B,SACE,kBAAkB,YAAY,cAAc,UAAU,IACtD,MACA,2BAAU,KAAK,yBACf,MACA;AAEJ;AAWO,SAAS,4BAA4B,YAAoB,cAA8B;AAC5F,SACE,4BAA4B,YAAY,YAAY,IACpD,MACA,2BAAU,KAAK;AAEnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
(function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var CosmosDbDiagnosticLevel_exports = {};
|
|
19
|
+
__export(CosmosDbDiagnosticLevel_exports, {
|
|
20
|
+
CosmosDbDiagnosticLevel: () => CosmosDbDiagnosticLevel
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(CosmosDbDiagnosticLevel_exports);
|
|
23
|
+
var CosmosDbDiagnosticLevel = /* @__PURE__ */ ((CosmosDbDiagnosticLevel2) => {
|
|
24
|
+
CosmosDbDiagnosticLevel2["info"] = "info";
|
|
25
|
+
CosmosDbDiagnosticLevel2["debug"] = "debug";
|
|
26
|
+
CosmosDbDiagnosticLevel2["debugUnsafe"] = "debug-unsafe";
|
|
27
|
+
return CosmosDbDiagnosticLevel2;
|
|
28
|
+
})(CosmosDbDiagnosticLevel || {});
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
CosmosDbDiagnosticLevel
|
|
32
|
+
});
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["/mnt/vss/_work/1/s/sdk/cosmosdb/cosmos/src/diagnostics/CosmosDbDiagnosticLevel.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Cosmos DB Diagnostic Level\n */\nexport enum CosmosDbDiagnosticLevel {\n info = \"info\",\n debug = \"debug\",\n debugUnsafe = \"debug-unsafe\",\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,IAAK,0BAAL,kBAAKA,6BAAL;AACL,EAAAA,yBAAA,UAAO;AACP,EAAAA,yBAAA,WAAQ;AACR,EAAAA,yBAAA,iBAAc;AAHJ,SAAAA;AAAA,GAAA;",
|
|
6
|
+
"names": ["CosmosDbDiagnosticLevel"]
|
|
7
|
+
}
|