@azure/data-tables 13.3.1-alpha.20241126.1 → 13.3.1-alpha.20241128.1
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/TableClient.d.ts +436 -0
- package/dist/browser/TableClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/TableClient.js +18 -18
- package/dist/browser/TableClient.js.map +1 -0
- package/dist/browser/TablePolicies.d.ts +6 -0
- package/dist/browser/TablePolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/TablePolicies.js +2 -2
- package/dist/browser/TablePolicies.js.map +1 -0
- package/dist/browser/TableServiceClient.d.ts +161 -0
- package/dist/browser/TableServiceClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/TableServiceClient.js +13 -13
- package/dist/browser/TableServiceClient.js.map +1 -0
- package/dist/browser/TableTransaction.d.ts +114 -0
- package/dist/browser/TableTransaction.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/TableTransaction.js +9 -7
- package/dist/browser/TableTransaction.js.map +1 -0
- package/dist/browser/cosmosPathPolicy.d.ts +3 -0
- package/dist/browser/cosmosPathPolicy.d.ts.map +1 -0
- package/dist/browser/generated/generatedClient.d.ts +17 -0
- package/dist/browser/generated/generatedClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/generatedClient.js +1 -1
- package/dist/browser/generated/generatedClient.js.map +1 -0
- package/dist/browser/generated/generatedClientContext.d.ts +14 -0
- package/dist/browser/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/browser/generated/generatedClientContext.js.map +1 -0
- package/dist/browser/generated/index.d.ts +4 -0
- package/dist/browser/generated/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/index.js +3 -3
- package/dist/browser/generated/index.js.map +1 -0
- package/dist/browser/generated/models/index.d.ts +603 -0
- package/dist/browser/generated/models/index.d.ts.map +1 -0
- package/dist/browser/generated/models/mappers.d.ts +47 -0
- package/dist/browser/generated/models/mappers.d.ts.map +1 -0
- package/dist/browser/generated/models/parameters.d.ts +35 -0
- package/dist/browser/generated/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/models/parameters.js +1 -1
- package/dist/browser/generated/models/parameters.js.map +1 -0
- package/dist/browser/generated/operations/index.d.ts +3 -0
- package/dist/browser/generated/operations/index.d.ts.map +1 -0
- package/dist/browser/generated/operations/index.js +10 -0
- package/{dist-esm/src → dist/browser}/generated/operations/index.js.map +1 -1
- package/dist/browser/generated/operations/service.d.ts +32 -0
- package/dist/browser/generated/operations/service.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/service.js +2 -2
- package/dist/browser/generated/operations/service.js.map +1 -0
- package/dist/browser/generated/operations/table.d.ts +90 -0
- package/dist/browser/generated/operations/table.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generated/operations/table.js +2 -2
- package/dist/browser/generated/operations/table.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts +3 -0
- package/dist/browser/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/index.js +10 -0
- package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/generated/operationsInterfaces/service.d.ts +24 -0
- package/dist/browser/generated/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/service.js.map +1 -0
- package/dist/browser/generated/operationsInterfaces/table.d.ts +82 -0
- package/dist/browser/generated/operationsInterfaces/table.d.ts.map +1 -0
- package/dist/browser/generated/operationsInterfaces/table.js.map +1 -0
- package/dist/browser/generatedModels.d.ts +2 -0
- package/dist/browser/generatedModels.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/generatedModels.js +1 -1
- package/{dist-esm/src → dist/browser}/generatedModels.js.map +1 -1
- package/dist/browser/index.d.ts +10 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +12 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +6 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/models.d.ts +247 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/odata.d.ts +7 -0
- package/dist/browser/odata.d.ts.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/sas/accountSasPermissions.d.ts +48 -0
- package/dist/browser/sas/accountSasPermissions.d.ts.map +1 -0
- package/dist/browser/sas/accountSasResourceTypes.d.ts +32 -0
- package/dist/browser/sas/accountSasResourceTypes.d.ts.map +1 -0
- package/dist/browser/sas/accountSasServices.d.ts +34 -0
- package/dist/browser/sas/accountSasServices.d.ts.map +1 -0
- package/dist/browser/sas/accountSasSignatureValues.d.ts +70 -0
- package/dist/browser/sas/accountSasSignatureValues.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sas/accountSasSignatureValues.js +8 -8
- package/dist/browser/sas/accountSasSignatureValues.js.map +1 -0
- package/dist/browser/sas/generateAccountSas.d.ts +54 -0
- package/dist/browser/sas/generateAccountSas.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sas/generateAccountSas.js +3 -3
- package/dist/browser/sas/generateAccountSas.js.map +1 -0
- package/dist/browser/sas/generateTableSas.d.ts +13 -0
- package/dist/browser/sas/generateTableSas.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sas/generateTableSas.js +2 -2
- package/dist/browser/sas/generateTableSas.js.map +1 -0
- package/dist/browser/sas/index.d.ts +9 -0
- package/dist/browser/sas/index.d.ts.map +1 -0
- package/dist/browser/sas/index.js +5 -0
- package/dist/browser/sas/index.js.map +1 -0
- package/dist/browser/sas/models.d.ts +34 -0
- package/dist/browser/sas/models.d.ts.map +1 -0
- package/dist/browser/sas/sasIPRange.d.ts +24 -0
- package/dist/browser/sas/sasIPRange.d.ts.map +1 -0
- package/dist/browser/sas/sasQueryParameters.d.ts +246 -0
- package/dist/browser/sas/sasQueryParameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sas/sasQueryParameters.js +2 -2
- package/dist/browser/sas/sasQueryParameters.js.map +1 -0
- package/dist/browser/sas/tableSasPermisions.d.ts +37 -0
- package/dist/browser/sas/tableSasPermisions.d.ts.map +1 -0
- package/dist/browser/sas/tableSasSignatureValues.d.ts +88 -0
- package/dist/browser/sas/tableSasSignatureValues.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/sas/tableSasSignatureValues.js +6 -6
- package/dist/browser/sas/tableSasSignatureValues.js.map +1 -0
- package/dist/browser/secondaryEndpointPolicy.d.ts +17 -0
- package/dist/browser/secondaryEndpointPolicy.d.ts.map +1 -0
- package/dist/browser/serialization.d.ts +15 -0
- package/dist/browser/serialization.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/serialization.js +2 -2
- package/dist/browser/serialization.js.map +1 -0
- package/dist/browser/tablesNamedCredentialPolicy-browser.d.mts.map +1 -0
- package/dist/browser/tablesNamedCredentialPolicy-browser.mjs.map +1 -0
- package/dist/browser/tablesNamedCredentialPolicy.d.ts +5 -0
- package/{dist-esm/src/tablesNamedCredentialPolicy.browser.js → dist/browser/tablesNamedCredentialPolicy.js} +1 -1
- package/dist/browser/tablesSASTokenPolicy.d.ts +12 -0
- package/dist/browser/tablesSASTokenPolicy.d.ts.map +1 -0
- package/dist/browser/utils/accountConnectionString-browser.d.mts.map +1 -0
- package/dist/browser/utils/accountConnectionString-browser.mjs.map +1 -0
- package/dist/browser/utils/accountConnectionString.d.ts +11 -0
- package/{dist-esm/src/utils/accountConnectionString.browser.js → dist/browser/utils/accountConnectionString.js} +1 -1
- package/dist/browser/utils/apiVersionPolicy.d.ts +12 -0
- package/dist/browser/utils/apiVersionPolicy.d.ts.map +1 -0
- package/dist/browser/utils/baseTransactionHeaders.d.ts +7 -0
- package/dist/browser/utils/baseTransactionHeaders.d.ts.map +1 -0
- package/dist/browser/utils/bufferSerializer-browser.d.mts.map +1 -0
- package/dist/browser/utils/bufferSerializer-browser.mjs.map +1 -0
- package/dist/browser/utils/bufferSerializer.d.ts +11 -0
- package/{dist-esm/src/utils/bufferSerializer.browser.js → dist/browser/utils/bufferSerializer.js} +1 -1
- package/dist/browser/utils/challengeAuthenticationUtils.d.ts +8 -0
- package/dist/browser/utils/challengeAuthenticationUtils.d.ts.map +1 -0
- package/dist/browser/utils/computeHMACSHA256-browser.d.mts.map +1 -0
- package/dist/browser/utils/computeHMACSHA256-browser.mjs.map +1 -0
- package/dist/browser/utils/computeHMACSHA256.d.ts +2 -0
- package/{dist-esm/src/utils/computeHMACSHA256.browser.js → dist/browser/utils/computeHMACSHA256.js} +1 -1
- package/dist/browser/utils/connectionString.d.ts +21 -0
- package/dist/browser/utils/connectionString.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utils/connectionString.js +1 -1
- package/dist/browser/utils/connectionString.js.map +1 -0
- package/dist/browser/utils/constants.d.ts +17 -0
- package/dist/browser/utils/constants.d.ts.map +1 -0
- package/dist/browser/utils/continuationToken.d.ts +14 -0
- package/dist/browser/utils/continuationToken.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utils/continuationToken.js +1 -1
- package/dist/browser/utils/continuationToken.js.map +1 -0
- package/dist/browser/utils/errorHelpers.d.ts +23 -0
- package/dist/browser/utils/errorHelpers.d.ts.map +1 -0
- package/dist/browser/utils/errorHelpers.js.map +1 -0
- package/dist/browser/utils/internalModels.d.ts +134 -0
- package/dist/browser/utils/internalModels.d.ts.map +1 -0
- package/dist/browser/utils/internalModels.js.map +1 -0
- package/dist/browser/utils/isCosmosEndpoint.d.ts +2 -0
- package/dist/browser/utils/isCosmosEndpoint.d.ts.map +1 -0
- package/dist/browser/utils/isCredential.d.ts +3 -0
- package/dist/browser/utils/isCredential.d.ts.map +1 -0
- package/dist/browser/utils/tracing.d.ts +6 -0
- package/dist/browser/utils/tracing.d.ts.map +1 -0
- package/dist/browser/utils/transactionHeaders-browser.d.mts.map +1 -0
- package/dist/browser/utils/transactionHeaders-browser.mjs.map +1 -0
- package/dist/browser/utils/transactionHeaders.d.ts +7 -0
- package/{dist-esm/src/utils/transactionHeaders.browser.js → dist/browser/utils/transactionHeaders.js} +2 -2
- package/dist/browser/utils/transactionHelpers.d.ts +24 -0
- package/dist/browser/utils/transactionHelpers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/utils/transactionHelpers.js +1 -1
- package/dist/browser/utils/transactionHelpers.js.map +1 -0
- package/dist/browser/utils/truncateISO8061Date.d.ts +10 -0
- package/dist/browser/utils/truncateISO8061Date.d.ts.map +1 -0
- package/dist/browser/utils/uuid.d.ts +4 -0
- package/dist/browser/utils/uuid.d.ts.map +1 -0
- package/dist/commonjs/TableClient.d.ts +436 -0
- package/dist/commonjs/TableClient.d.ts.map +1 -0
- package/dist/commonjs/TableClient.js +589 -0
- package/dist/commonjs/TableClient.js.map +1 -0
- package/dist/commonjs/TablePolicies.d.ts +6 -0
- package/dist/commonjs/TablePolicies.d.ts.map +1 -0
- package/dist/commonjs/TablePolicies.js +67 -0
- package/dist/commonjs/TablePolicies.js.map +1 -0
- package/dist/commonjs/TableServiceClient.d.ts +161 -0
- package/dist/commonjs/TableServiceClient.d.ts.map +1 -0
- package/dist/commonjs/TableServiceClient.js +218 -0
- package/dist/commonjs/TableServiceClient.js.map +1 -0
- package/dist/commonjs/TableTransaction.d.ts +114 -0
- package/dist/commonjs/TableTransaction.d.ts.map +1 -0
- package/dist/commonjs/TableTransaction.js +268 -0
- package/dist/commonjs/TableTransaction.js.map +1 -0
- package/dist/commonjs/cosmosPathPolicy.d.ts +3 -0
- package/dist/commonjs/cosmosPathPolicy.d.ts.map +1 -0
- package/dist/commonjs/cosmosPathPolicy.js +19 -0
- package/dist/commonjs/cosmosPathPolicy.js.map +1 -0
- package/dist/commonjs/generated/generatedClient.d.ts +17 -0
- package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClient.js +50 -0
- package/dist/commonjs/generated/generatedClient.js.map +1 -0
- package/dist/commonjs/generated/generatedClientContext.d.ts +14 -0
- package/dist/commonjs/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/commonjs/generated/generatedClientContext.js +46 -0
- package/dist/commonjs/generated/generatedClientContext.js.map +1 -0
- package/dist/commonjs/generated/index.d.ts +4 -0
- package/dist/commonjs/generated/index.d.ts.map +1 -0
- package/dist/commonjs/generated/index.js +16 -0
- package/dist/commonjs/generated/index.js.map +1 -0
- package/dist/commonjs/generated/models/index.d.ts +603 -0
- package/dist/commonjs/generated/models/index.d.ts.map +1 -0
- package/dist/commonjs/generated/models/index.js +31 -0
- package/dist/commonjs/generated/models/index.js.map +1 -0
- package/dist/commonjs/generated/models/mappers.d.ts +47 -0
- package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/generated/models/mappers.js +1334 -0
- package/dist/commonjs/generated/models/mappers.js.map +1 -0
- package/dist/commonjs/generated/models/parameters.d.ts +35 -0
- package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/generated/models/parameters.js +364 -0
- package/dist/commonjs/generated/models/parameters.js.map +1 -0
- package/dist/commonjs/generated/operations/index.d.ts +3 -0
- package/dist/commonjs/generated/operations/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/index.js +13 -0
- package/dist/commonjs/generated/operations/index.js.map +1 -0
- package/dist/commonjs/generated/operations/service.d.ts +32 -0
- package/dist/commonjs/generated/operations/service.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/service.js +125 -0
- package/dist/commonjs/generated/operations/service.js.map +1 -0
- package/dist/commonjs/generated/operations/table.d.ts +90 -0
- package/dist/commonjs/generated/operations/table.d.ts.map +1 -0
- package/dist/commonjs/generated/operations/table.js +455 -0
- package/dist/commonjs/generated/operations/table.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/service.d.ts +24 -0
- package/dist/commonjs/generated/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/service.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/service.js.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/table.d.ts +82 -0
- package/dist/commonjs/generated/operationsInterfaces/table.d.ts.map +1 -0
- package/dist/commonjs/generated/operationsInterfaces/table.js +10 -0
- package/dist/commonjs/generated/operationsInterfaces/table.js.map +1 -0
- package/dist/commonjs/generatedModels.d.ts +2 -0
- package/dist/commonjs/generatedModels.d.ts.map +1 -0
- package/dist/commonjs/generatedModels.js +8 -0
- package/dist/commonjs/generatedModels.js.map +1 -0
- package/dist/commonjs/index.d.ts +10 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +23 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +6 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +11 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +247 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/odata.d.ts +7 -0
- package/dist/commonjs/odata.d.ts.map +1 -0
- package/dist/commonjs/odata.js +41 -0
- package/dist/commonjs/odata.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sas/accountSasPermissions.d.ts +48 -0
- package/dist/commonjs/sas/accountSasPermissions.d.ts.map +1 -0
- package/dist/commonjs/sas/accountSasPermissions.js +75 -0
- package/dist/commonjs/sas/accountSasPermissions.js.map +1 -0
- package/dist/commonjs/sas/accountSasResourceTypes.d.ts +32 -0
- package/dist/commonjs/sas/accountSasResourceTypes.d.ts.map +1 -0
- package/dist/commonjs/sas/accountSasResourceTypes.js +51 -0
- package/dist/commonjs/sas/accountSasResourceTypes.js.map +1 -0
- package/dist/commonjs/sas/accountSasServices.d.ts +34 -0
- package/dist/commonjs/sas/accountSasServices.d.ts.map +1 -0
- package/dist/commonjs/sas/accountSasServices.js +55 -0
- package/dist/commonjs/sas/accountSasServices.js.map +1 -0
- package/dist/commonjs/sas/accountSasSignatureValues.d.ts +70 -0
- package/dist/commonjs/sas/accountSasSignatureValues.d.ts.map +1 -0
- package/dist/commonjs/sas/accountSasSignatureValues.js +58 -0
- package/dist/commonjs/sas/accountSasSignatureValues.js.map +1 -0
- package/dist/commonjs/sas/generateAccountSas.d.ts +54 -0
- package/dist/commonjs/sas/generateAccountSas.d.ts.map +1 -0
- package/dist/commonjs/sas/generateAccountSas.js +33 -0
- package/dist/commonjs/sas/generateAccountSas.js.map +1 -0
- package/dist/commonjs/sas/generateTableSas.d.ts +13 -0
- package/dist/commonjs/sas/generateTableSas.d.ts.map +1 -0
- package/dist/commonjs/sas/generateTableSas.js +38 -0
- package/dist/commonjs/sas/generateTableSas.js.map +1 -0
- package/dist/commonjs/sas/index.d.ts +9 -0
- package/dist/commonjs/sas/index.d.ts.map +1 -0
- package/dist/commonjs/sas/index.js +10 -0
- package/dist/commonjs/sas/index.js.map +1 -0
- package/dist/commonjs/sas/models.d.ts +34 -0
- package/dist/commonjs/sas/models.d.ts.map +1 -0
- package/dist/commonjs/sas/models.js +5 -0
- package/dist/commonjs/sas/models.js.map +1 -0
- package/dist/commonjs/sas/sasIPRange.d.ts +24 -0
- package/dist/commonjs/sas/sasIPRange.d.ts.map +1 -0
- package/dist/commonjs/sas/sasIPRange.js +19 -0
- package/dist/commonjs/sas/sasIPRange.js.map +1 -0
- package/dist/commonjs/sas/sasQueryParameters.d.ts +246 -0
- package/dist/commonjs/sas/sasQueryParameters.d.ts.map +1 -0
- package/dist/commonjs/sas/sasQueryParameters.js +197 -0
- package/dist/commonjs/sas/sasQueryParameters.js.map +1 -0
- package/dist/commonjs/sas/tableSasPermisions.d.ts +37 -0
- package/dist/commonjs/sas/tableSasPermisions.d.ts.map +1 -0
- package/dist/commonjs/sas/tableSasPermisions.js +60 -0
- package/dist/commonjs/sas/tableSasPermisions.js.map +1 -0
- package/dist/commonjs/sas/tableSasSignatureValues.d.ts +88 -0
- package/dist/commonjs/sas/tableSasSignatureValues.d.ts.map +1 -0
- package/dist/commonjs/sas/tableSasSignatureValues.js +77 -0
- package/dist/commonjs/sas/tableSasSignatureValues.js.map +1 -0
- package/dist/commonjs/secondaryEndpointPolicy.d.ts +17 -0
- package/dist/commonjs/secondaryEndpointPolicy.d.ts.map +1 -0
- package/dist/commonjs/secondaryEndpointPolicy.js +50 -0
- package/dist/commonjs/secondaryEndpointPolicy.js.map +1 -0
- package/dist/commonjs/serialization.d.ts +15 -0
- package/dist/commonjs/serialization.d.ts.map +1 -0
- package/dist/commonjs/serialization.js +223 -0
- package/dist/commonjs/serialization.js.map +1 -0
- package/dist/commonjs/tablesNamedCredentialPolicy.d.ts +12 -0
- package/dist/commonjs/tablesNamedCredentialPolicy.d.ts.map +1 -0
- package/dist/commonjs/tablesNamedCredentialPolicy.js +68 -0
- package/dist/commonjs/tablesNamedCredentialPolicy.js.map +1 -0
- package/dist/commonjs/tablesSASTokenPolicy.d.ts +12 -0
- package/dist/commonjs/tablesSASTokenPolicy.d.ts.map +1 -0
- package/dist/commonjs/tablesSASTokenPolicy.js +32 -0
- package/dist/commonjs/tablesSASTokenPolicy.js.map +1 -0
- package/dist/commonjs/utils/accountConnectionString.d.ts +11 -0
- package/dist/commonjs/utils/accountConnectionString.d.ts.map +1 -0
- package/dist/commonjs/utils/accountConnectionString.js +48 -0
- package/dist/commonjs/utils/accountConnectionString.js.map +1 -0
- package/dist/commonjs/utils/apiVersionPolicy.d.ts +12 -0
- package/dist/commonjs/utils/apiVersionPolicy.d.ts.map +1 -0
- package/dist/commonjs/utils/apiVersionPolicy.js +25 -0
- package/dist/commonjs/utils/apiVersionPolicy.js.map +1 -0
- package/dist/commonjs/utils/baseTransactionHeaders.d.ts +7 -0
- package/dist/commonjs/utils/baseTransactionHeaders.d.ts.map +1 -0
- package/dist/commonjs/utils/baseTransactionHeaders.js +19 -0
- package/dist/commonjs/utils/baseTransactionHeaders.js.map +1 -0
- package/dist/commonjs/utils/bufferSerializer.d.ts +11 -0
- package/dist/commonjs/utils/bufferSerializer.d.ts.map +1 -0
- package/dist/commonjs/utils/bufferSerializer.js +27 -0
- package/dist/commonjs/utils/bufferSerializer.js.map +1 -0
- package/dist/commonjs/utils/challengeAuthenticationUtils.d.ts +8 -0
- package/dist/commonjs/utils/challengeAuthenticationUtils.d.ts.map +1 -0
- package/dist/commonjs/utils/challengeAuthenticationUtils.js +23 -0
- package/dist/commonjs/utils/challengeAuthenticationUtils.js.map +1 -0
- package/dist/commonjs/utils/computeHMACSHA256.d.ts +2 -0
- package/dist/commonjs/utils/computeHMACSHA256.d.ts.map +1 -0
- package/dist/commonjs/utils/computeHMACSHA256.js +11 -0
- package/dist/commonjs/utils/computeHMACSHA256.js.map +1 -0
- package/dist/commonjs/utils/connectionString.d.ts +21 -0
- package/dist/commonjs/utils/connectionString.d.ts.map +1 -0
- package/dist/commonjs/utils/connectionString.js +135 -0
- package/dist/commonjs/utils/connectionString.js.map +1 -0
- package/dist/commonjs/utils/constants.d.ts +17 -0
- package/dist/commonjs/utils/constants.d.ts.map +1 -0
- package/dist/commonjs/utils/constants.js +104 -0
- package/dist/commonjs/utils/constants.js.map +1 -0
- package/dist/commonjs/utils/continuationToken.d.ts +14 -0
- package/dist/commonjs/utils/continuationToken.d.ts.map +1 -0
- package/dist/commonjs/utils/continuationToken.js +30 -0
- package/dist/commonjs/utils/continuationToken.js.map +1 -0
- package/dist/commonjs/utils/errorHelpers.d.ts +23 -0
- package/dist/commonjs/utils/errorHelpers.d.ts.map +1 -0
- package/dist/commonjs/utils/errorHelpers.js +37 -0
- package/dist/commonjs/utils/errorHelpers.js.map +1 -0
- package/dist/commonjs/utils/internalModels.d.ts +134 -0
- package/dist/commonjs/utils/internalModels.d.ts.map +1 -0
- package/dist/commonjs/utils/internalModels.js +5 -0
- package/dist/commonjs/utils/internalModels.js.map +1 -0
- package/dist/commonjs/utils/isCosmosEndpoint.d.ts +2 -0
- package/dist/commonjs/utils/isCosmosEndpoint.d.ts.map +1 -0
- package/dist/commonjs/utils/isCosmosEndpoint.js +19 -0
- package/dist/commonjs/utils/isCosmosEndpoint.js.map +1 -0
- package/dist/commonjs/utils/isCredential.d.ts +3 -0
- package/dist/commonjs/utils/isCredential.d.ts.map +1 -0
- package/dist/commonjs/utils/isCredential.js +10 -0
- package/dist/commonjs/utils/isCredential.js.map +1 -0
- package/dist/commonjs/utils/tracing.d.ts +6 -0
- package/dist/commonjs/utils/tracing.d.ts.map +1 -0
- package/dist/commonjs/utils/tracing.js +16 -0
- package/dist/commonjs/utils/tracing.js.map +1 -0
- package/dist/commonjs/utils/transactionHeaders.d.ts +7 -0
- package/dist/commonjs/utils/transactionHeaders.d.ts.map +1 -0
- package/dist/commonjs/utils/transactionHeaders.js +17 -0
- package/dist/commonjs/utils/transactionHeaders.js.map +1 -0
- package/dist/commonjs/utils/transactionHelpers.d.ts +24 -0
- package/dist/commonjs/utils/transactionHelpers.d.ts.map +1 -0
- package/dist/commonjs/utils/transactionHelpers.js +49 -0
- package/dist/commonjs/utils/transactionHelpers.js.map +1 -0
- package/dist/commonjs/utils/truncateISO8061Date.d.ts +10 -0
- package/dist/commonjs/utils/truncateISO8061Date.d.ts.map +1 -0
- package/dist/commonjs/utils/truncateISO8061Date.js +21 -0
- package/dist/commonjs/utils/truncateISO8061Date.js.map +1 -0
- package/dist/commonjs/utils/uuid.d.ts +4 -0
- package/dist/commonjs/utils/uuid.d.ts.map +1 -0
- package/dist/commonjs/utils/uuid.js +15 -0
- package/dist/commonjs/utils/uuid.js.map +1 -0
- package/dist/esm/TableClient.d.ts +436 -0
- package/dist/esm/TableClient.d.ts.map +1 -0
- package/dist/esm/TableClient.js +585 -0
- package/dist/esm/TableClient.js.map +1 -0
- package/dist/esm/TablePolicies.d.ts +6 -0
- package/dist/esm/TablePolicies.d.ts.map +1 -0
- package/dist/esm/TablePolicies.js +62 -0
- package/dist/esm/TablePolicies.js.map +1 -0
- package/dist/esm/TableServiceClient.d.ts +161 -0
- package/dist/esm/TableServiceClient.d.ts.map +1 -0
- package/dist/esm/TableServiceClient.js +214 -0
- package/dist/esm/TableServiceClient.js.map +1 -0
- package/dist/esm/TableTransaction.d.ts +114 -0
- package/dist/esm/TableTransaction.d.ts.map +1 -0
- package/dist/esm/TableTransaction.js +261 -0
- package/dist/esm/TableTransaction.js.map +1 -0
- package/dist/esm/cosmosPathPolicy.d.ts +3 -0
- package/dist/esm/cosmosPathPolicy.d.ts.map +1 -0
- package/dist/esm/cosmosPathPolicy.js +16 -0
- package/dist/esm/cosmosPathPolicy.js.map +1 -0
- package/dist/esm/generated/generatedClient.d.ts +17 -0
- package/dist/esm/generated/generatedClient.d.ts.map +1 -0
- package/dist/esm/generated/generatedClient.js +45 -0
- package/dist/esm/generated/generatedClient.js.map +1 -0
- package/dist/esm/generated/generatedClientContext.d.ts +14 -0
- package/dist/esm/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/esm/generated/generatedClientContext.js +41 -0
- package/dist/esm/generated/generatedClientContext.js.map +1 -0
- package/dist/esm/generated/index.d.ts +4 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +11 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/models/index.d.ts +603 -0
- package/dist/esm/generated/models/index.d.ts.map +1 -0
- package/dist/esm/generated/models/index.js +28 -0
- package/dist/esm/generated/models/index.js.map +1 -0
- package/dist/esm/generated/models/mappers.d.ts +47 -0
- package/dist/esm/generated/models/mappers.d.ts.map +1 -0
- package/dist/esm/generated/models/mappers.js +1331 -0
- package/dist/esm/generated/models/mappers.js.map +1 -0
- package/dist/esm/generated/models/parameters.d.ts +35 -0
- package/dist/esm/generated/models/parameters.d.ts.map +1 -0
- package/dist/esm/generated/models/parameters.js +361 -0
- package/dist/esm/generated/models/parameters.js.map +1 -0
- package/dist/esm/generated/operations/index.d.ts +3 -0
- package/dist/esm/generated/operations/index.d.ts.map +1 -0
- package/dist/esm/generated/operations/index.js +10 -0
- package/dist/esm/generated/operations/index.js.map +1 -0
- package/dist/esm/generated/operations/service.d.ts +32 -0
- package/dist/esm/generated/operations/service.d.ts.map +1 -0
- package/dist/esm/generated/operations/service.js +120 -0
- package/dist/esm/generated/operations/service.js.map +1 -0
- package/dist/esm/generated/operations/table.d.ts +90 -0
- package/dist/esm/generated/operations/table.d.ts.map +1 -0
- package/dist/esm/generated/operations/table.js +450 -0
- package/dist/esm/generated/operations/table.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/generated/operationsInterfaces/index.js +10 -0
- package/dist/esm/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/service.d.ts +24 -0
- package/dist/esm/generated/operationsInterfaces/service.d.ts.map +1 -0
- package/{dist-esm/src/generated/operations/index.js → dist/esm/generated/operationsInterfaces/service.js} +2 -3
- package/dist/esm/generated/operationsInterfaces/service.js.map +1 -0
- package/dist/esm/generated/operationsInterfaces/table.d.ts +82 -0
- package/dist/esm/generated/operationsInterfaces/table.d.ts.map +1 -0
- package/{dist-esm/src/generated/operationsInterfaces/index.js → dist/esm/generated/operationsInterfaces/table.js} +2 -3
- package/dist/esm/generated/operationsInterfaces/table.js.map +1 -0
- package/dist/esm/generatedModels.d.ts +2 -0
- package/dist/esm/generatedModels.d.ts.map +1 -0
- package/dist/esm/generatedModels.js +4 -0
- package/dist/esm/generatedModels.js.map +1 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +6 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +8 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +247 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/odata.d.ts +7 -0
- package/dist/esm/odata.d.ts.map +1 -0
- package/dist/esm/odata.js +37 -0
- package/dist/esm/odata.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sas/accountSasPermissions.d.ts +48 -0
- package/dist/esm/sas/accountSasPermissions.d.ts.map +1 -0
- package/dist/esm/sas/accountSasPermissions.js +71 -0
- package/dist/esm/sas/accountSasPermissions.js.map +1 -0
- package/dist/esm/sas/accountSasResourceTypes.d.ts +32 -0
- package/dist/esm/sas/accountSasResourceTypes.d.ts.map +1 -0
- package/dist/esm/sas/accountSasResourceTypes.js +47 -0
- package/dist/esm/sas/accountSasResourceTypes.js.map +1 -0
- package/dist/esm/sas/accountSasServices.d.ts +34 -0
- package/dist/esm/sas/accountSasServices.d.ts.map +1 -0
- package/dist/esm/sas/accountSasServices.js +51 -0
- package/dist/esm/sas/accountSasServices.js.map +1 -0
- package/dist/esm/sas/accountSasSignatureValues.d.ts +70 -0
- package/dist/esm/sas/accountSasSignatureValues.d.ts.map +1 -0
- package/dist/esm/sas/accountSasSignatureValues.js +55 -0
- package/dist/esm/sas/accountSasSignatureValues.js.map +1 -0
- package/dist/esm/sas/generateAccountSas.d.ts +54 -0
- package/dist/esm/sas/generateAccountSas.d.ts.map +1 -0
- package/dist/esm/sas/generateAccountSas.js +30 -0
- package/dist/esm/sas/generateAccountSas.js.map +1 -0
- package/dist/esm/sas/generateTableSas.d.ts +13 -0
- package/dist/esm/sas/generateTableSas.d.ts.map +1 -0
- package/dist/esm/sas/generateTableSas.js +35 -0
- package/dist/esm/sas/generateTableSas.js.map +1 -0
- package/dist/esm/sas/index.d.ts +9 -0
- package/dist/esm/sas/index.d.ts.map +1 -0
- package/dist/esm/sas/index.js +5 -0
- package/dist/esm/sas/index.js.map +1 -0
- package/dist/esm/sas/models.d.ts +34 -0
- package/dist/esm/sas/models.d.ts.map +1 -0
- package/dist/esm/sas/models.js +4 -0
- package/dist/esm/sas/models.js.map +1 -0
- package/dist/esm/sas/sasIPRange.d.ts +24 -0
- package/dist/esm/sas/sasIPRange.d.ts.map +1 -0
- package/dist/esm/sas/sasIPRange.js +16 -0
- package/dist/esm/sas/sasIPRange.js.map +1 -0
- package/dist/esm/sas/sasQueryParameters.d.ts +246 -0
- package/dist/esm/sas/sasQueryParameters.d.ts.map +1 -0
- package/dist/esm/sas/sasQueryParameters.js +193 -0
- package/dist/esm/sas/sasQueryParameters.js.map +1 -0
- package/dist/esm/sas/tableSasPermisions.d.ts +37 -0
- package/dist/esm/sas/tableSasPermisions.d.ts.map +1 -0
- package/dist/esm/sas/tableSasPermisions.js +56 -0
- package/dist/esm/sas/tableSasPermisions.js.map +1 -0
- package/dist/esm/sas/tableSasSignatureValues.d.ts +88 -0
- package/dist/esm/sas/tableSasSignatureValues.d.ts.map +1 -0
- package/dist/esm/sas/tableSasSignatureValues.js +74 -0
- package/dist/esm/sas/tableSasSignatureValues.js.map +1 -0
- package/dist/esm/secondaryEndpointPolicy.d.ts +17 -0
- package/dist/esm/secondaryEndpointPolicy.d.ts.map +1 -0
- package/dist/esm/secondaryEndpointPolicy.js +46 -0
- package/dist/esm/secondaryEndpointPolicy.js.map +1 -0
- package/dist/esm/serialization.d.ts +15 -0
- package/dist/esm/serialization.d.ts.map +1 -0
- package/dist/esm/serialization.js +215 -0
- package/dist/esm/serialization.js.map +1 -0
- package/dist/esm/tablesNamedCredentialPolicy.d.ts +12 -0
- package/dist/esm/tablesNamedCredentialPolicy.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/tablesNamedCredentialPolicy.js +2 -2
- package/dist/esm/tablesNamedCredentialPolicy.js.map +1 -0
- package/dist/esm/tablesSASTokenPolicy.d.ts +12 -0
- package/dist/esm/tablesSASTokenPolicy.d.ts.map +1 -0
- package/dist/esm/tablesSASTokenPolicy.js +27 -0
- package/dist/esm/tablesSASTokenPolicy.js.map +1 -0
- package/dist/esm/utils/accountConnectionString.d.ts +11 -0
- package/dist/esm/utils/accountConnectionString.d.ts.map +1 -0
- package/dist/esm/utils/accountConnectionString.js.map +1 -0
- package/dist/esm/utils/apiVersionPolicy.d.ts +12 -0
- package/dist/esm/utils/apiVersionPolicy.d.ts.map +1 -0
- package/dist/esm/utils/apiVersionPolicy.js +21 -0
- package/dist/esm/utils/apiVersionPolicy.js.map +1 -0
- package/dist/esm/utils/baseTransactionHeaders.d.ts +7 -0
- package/dist/esm/utils/baseTransactionHeaders.d.ts.map +1 -0
- package/dist/esm/utils/baseTransactionHeaders.js +16 -0
- package/dist/esm/utils/baseTransactionHeaders.js.map +1 -0
- package/dist/esm/utils/bufferSerializer.d.ts +11 -0
- package/dist/esm/utils/bufferSerializer.d.ts.map +1 -0
- package/dist/esm/utils/challengeAuthenticationUtils.d.ts +8 -0
- package/dist/esm/utils/challengeAuthenticationUtils.d.ts.map +1 -0
- package/dist/esm/utils/challengeAuthenticationUtils.js +20 -0
- package/dist/esm/utils/challengeAuthenticationUtils.js.map +1 -0
- package/dist/esm/utils/computeHMACSHA256.d.ts +2 -0
- package/dist/esm/utils/computeHMACSHA256.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/utils/computeHMACSHA256.js +1 -1
- package/{dist-esm/src → dist/esm}/utils/computeHMACSHA256.js.map +1 -1
- package/dist/esm/utils/connectionString.d.ts +21 -0
- package/dist/esm/utils/connectionString.d.ts.map +1 -0
- package/dist/esm/utils/connectionString.js +131 -0
- package/dist/esm/utils/connectionString.js.map +1 -0
- package/dist/esm/utils/constants.d.ts +17 -0
- package/dist/esm/utils/constants.d.ts.map +1 -0
- package/dist/esm/utils/constants.js +101 -0
- package/dist/esm/utils/constants.js.map +1 -0
- package/dist/esm/utils/continuationToken.d.ts +14 -0
- package/dist/esm/utils/continuationToken.d.ts.map +1 -0
- package/dist/esm/utils/continuationToken.js +26 -0
- package/dist/esm/utils/continuationToken.js.map +1 -0
- package/dist/esm/utils/errorHelpers.d.ts +23 -0
- package/dist/esm/utils/errorHelpers.d.ts.map +1 -0
- package/dist/esm/utils/errorHelpers.js +34 -0
- package/dist/esm/utils/errorHelpers.js.map +1 -0
- package/dist/esm/utils/internalModels.d.ts +134 -0
- package/dist/esm/utils/internalModels.d.ts.map +1 -0
- package/dist/esm/utils/internalModels.js +4 -0
- package/dist/esm/utils/internalModels.js.map +1 -0
- package/dist/esm/utils/isCosmosEndpoint.d.ts +2 -0
- package/dist/esm/utils/isCosmosEndpoint.d.ts.map +1 -0
- package/dist/esm/utils/isCosmosEndpoint.js +16 -0
- package/dist/esm/utils/isCosmosEndpoint.js.map +1 -0
- package/dist/esm/utils/isCredential.d.ts +3 -0
- package/dist/esm/utils/isCredential.d.ts.map +1 -0
- package/dist/esm/utils/isCredential.js +7 -0
- package/dist/esm/utils/isCredential.js.map +1 -0
- package/dist/esm/utils/tracing.d.ts +6 -0
- package/dist/esm/utils/tracing.d.ts.map +1 -0
- package/dist/esm/utils/tracing.js +13 -0
- package/dist/esm/utils/tracing.js.map +1 -0
- package/dist/esm/utils/transactionHeaders.d.ts +7 -0
- package/dist/esm/utils/transactionHeaders.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/utils/transactionHeaders.js +1 -1
- package/dist/esm/utils/transactionHeaders.js.map +1 -0
- package/dist/esm/utils/transactionHelpers.d.ts +24 -0
- package/dist/esm/utils/transactionHelpers.d.ts.map +1 -0
- package/dist/esm/utils/transactionHelpers.js +43 -0
- package/dist/esm/utils/transactionHelpers.js.map +1 -0
- package/dist/esm/utils/truncateISO8061Date.d.ts +10 -0
- package/dist/esm/utils/truncateISO8061Date.d.ts.map +1 -0
- package/dist/esm/utils/truncateISO8061Date.js +18 -0
- package/dist/esm/utils/truncateISO8061Date.js.map +1 -0
- package/dist/esm/utils/uuid.d.ts +4 -0
- package/dist/esm/utils/uuid.d.ts.map +1 -0
- package/dist/esm/utils/uuid.js +11 -0
- package/dist/esm/utils/uuid.js.map +1 -0
- package/dist/react-native/TableClient.d.ts +436 -0
- package/dist/react-native/TableClient.d.ts.map +1 -0
- package/dist/react-native/TableClient.js +585 -0
- package/dist/react-native/TableClient.js.map +1 -0
- package/dist/react-native/TablePolicies.d.ts +6 -0
- package/dist/react-native/TablePolicies.d.ts.map +1 -0
- package/dist/react-native/TablePolicies.js +62 -0
- package/dist/react-native/TablePolicies.js.map +1 -0
- package/dist/react-native/TableServiceClient.d.ts +161 -0
- package/dist/react-native/TableServiceClient.d.ts.map +1 -0
- package/dist/react-native/TableServiceClient.js +214 -0
- package/dist/react-native/TableServiceClient.js.map +1 -0
- package/dist/react-native/TableTransaction.d.ts +114 -0
- package/dist/react-native/TableTransaction.d.ts.map +1 -0
- package/dist/react-native/TableTransaction.js +261 -0
- package/dist/react-native/TableTransaction.js.map +1 -0
- package/dist/react-native/cosmosPathPolicy.d.ts +3 -0
- package/dist/react-native/cosmosPathPolicy.d.ts.map +1 -0
- package/dist/react-native/cosmosPathPolicy.js +16 -0
- package/dist/react-native/cosmosPathPolicy.js.map +1 -0
- package/dist/react-native/generated/generatedClient.d.ts +17 -0
- package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClient.js +45 -0
- package/dist/react-native/generated/generatedClient.js.map +1 -0
- package/dist/react-native/generated/generatedClientContext.d.ts +14 -0
- package/dist/react-native/generated/generatedClientContext.d.ts.map +1 -0
- package/dist/react-native/generated/generatedClientContext.js +41 -0
- package/dist/react-native/generated/generatedClientContext.js.map +1 -0
- package/dist/react-native/generated/index.d.ts +4 -0
- package/dist/react-native/generated/index.d.ts.map +1 -0
- package/dist/react-native/generated/index.js +11 -0
- package/dist/react-native/generated/index.js.map +1 -0
- package/dist/react-native/generated/models/index.d.ts +603 -0
- package/dist/react-native/generated/models/index.d.ts.map +1 -0
- package/dist/react-native/generated/models/index.js +28 -0
- package/dist/react-native/generated/models/index.js.map +1 -0
- package/dist/react-native/generated/models/mappers.d.ts +47 -0
- package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
- package/dist/react-native/generated/models/mappers.js +1331 -0
- package/dist/react-native/generated/models/mappers.js.map +1 -0
- package/dist/react-native/generated/models/parameters.d.ts +35 -0
- package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
- package/dist/react-native/generated/models/parameters.js +361 -0
- package/dist/react-native/generated/models/parameters.js.map +1 -0
- package/dist/react-native/generated/operations/index.d.ts +3 -0
- package/dist/react-native/generated/operations/index.d.ts.map +1 -0
- package/dist/react-native/generated/operations/index.js +10 -0
- package/dist/react-native/generated/operations/index.js.map +1 -0
- package/dist/react-native/generated/operations/service.d.ts +32 -0
- package/dist/react-native/generated/operations/service.d.ts.map +1 -0
- package/dist/react-native/generated/operations/service.js +120 -0
- package/dist/react-native/generated/operations/service.js.map +1 -0
- package/dist/react-native/generated/operations/table.d.ts +90 -0
- package/dist/react-native/generated/operations/table.d.ts.map +1 -0
- package/dist/react-native/generated/operations/table.js +450 -0
- package/dist/react-native/generated/operations/table.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/generated/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/index.js +10 -0
- package/dist/react-native/generated/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/service.d.ts +24 -0
- package/dist/react-native/generated/operationsInterfaces/service.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/service.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/service.js.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/table.d.ts +82 -0
- package/dist/react-native/generated/operationsInterfaces/table.d.ts.map +1 -0
- package/dist/react-native/generated/operationsInterfaces/table.js +9 -0
- package/dist/react-native/generated/operationsInterfaces/table.js.map +1 -0
- package/dist/react-native/generatedModels.d.ts +2 -0
- package/dist/react-native/generatedModels.d.ts.map +1 -0
- package/dist/react-native/generatedModels.js +4 -0
- package/dist/react-native/generatedModels.js.map +1 -0
- package/dist/react-native/index.d.ts +10 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +12 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +6 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +8 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +247 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/odata.d.ts +7 -0
- package/dist/react-native/odata.d.ts.map +1 -0
- package/dist/react-native/odata.js +37 -0
- package/dist/react-native/odata.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/sas/accountSasPermissions.d.ts +48 -0
- package/dist/react-native/sas/accountSasPermissions.d.ts.map +1 -0
- package/dist/react-native/sas/accountSasPermissions.js +71 -0
- package/dist/react-native/sas/accountSasPermissions.js.map +1 -0
- package/dist/react-native/sas/accountSasResourceTypes.d.ts +32 -0
- package/dist/react-native/sas/accountSasResourceTypes.d.ts.map +1 -0
- package/dist/react-native/sas/accountSasResourceTypes.js +47 -0
- package/dist/react-native/sas/accountSasResourceTypes.js.map +1 -0
- package/dist/react-native/sas/accountSasServices.d.ts +34 -0
- package/dist/react-native/sas/accountSasServices.d.ts.map +1 -0
- package/dist/react-native/sas/accountSasServices.js +51 -0
- package/dist/react-native/sas/accountSasServices.js.map +1 -0
- package/dist/react-native/sas/accountSasSignatureValues.d.ts +70 -0
- package/dist/react-native/sas/accountSasSignatureValues.d.ts.map +1 -0
- package/dist/react-native/sas/accountSasSignatureValues.js +55 -0
- package/dist/react-native/sas/accountSasSignatureValues.js.map +1 -0
- package/dist/react-native/sas/generateAccountSas.d.ts +54 -0
- package/dist/react-native/sas/generateAccountSas.d.ts.map +1 -0
- package/dist/react-native/sas/generateAccountSas.js +30 -0
- package/dist/react-native/sas/generateAccountSas.js.map +1 -0
- package/dist/react-native/sas/generateTableSas.d.ts +13 -0
- package/dist/react-native/sas/generateTableSas.d.ts.map +1 -0
- package/dist/react-native/sas/generateTableSas.js +35 -0
- package/dist/react-native/sas/generateTableSas.js.map +1 -0
- package/dist/react-native/sas/index.d.ts +9 -0
- package/dist/react-native/sas/index.d.ts.map +1 -0
- package/dist/react-native/sas/index.js +5 -0
- package/dist/react-native/sas/index.js.map +1 -0
- package/dist/react-native/sas/models.d.ts +34 -0
- package/dist/react-native/sas/models.d.ts.map +1 -0
- package/dist/react-native/sas/models.js +4 -0
- package/dist/react-native/sas/models.js.map +1 -0
- package/dist/react-native/sas/sasIPRange.d.ts +24 -0
- package/dist/react-native/sas/sasIPRange.d.ts.map +1 -0
- package/dist/react-native/sas/sasIPRange.js +16 -0
- package/dist/react-native/sas/sasIPRange.js.map +1 -0
- package/dist/react-native/sas/sasQueryParameters.d.ts +246 -0
- package/dist/react-native/sas/sasQueryParameters.d.ts.map +1 -0
- package/dist/react-native/sas/sasQueryParameters.js +193 -0
- package/dist/react-native/sas/sasQueryParameters.js.map +1 -0
- package/dist/react-native/sas/tableSasPermisions.d.ts +37 -0
- package/dist/react-native/sas/tableSasPermisions.d.ts.map +1 -0
- package/dist/react-native/sas/tableSasPermisions.js +56 -0
- package/dist/react-native/sas/tableSasPermisions.js.map +1 -0
- package/dist/react-native/sas/tableSasSignatureValues.d.ts +88 -0
- package/dist/react-native/sas/tableSasSignatureValues.d.ts.map +1 -0
- package/dist/react-native/sas/tableSasSignatureValues.js +74 -0
- package/dist/react-native/sas/tableSasSignatureValues.js.map +1 -0
- package/dist/react-native/secondaryEndpointPolicy.d.ts +17 -0
- package/dist/react-native/secondaryEndpointPolicy.d.ts.map +1 -0
- package/dist/react-native/secondaryEndpointPolicy.js +46 -0
- package/dist/react-native/secondaryEndpointPolicy.js.map +1 -0
- package/dist/react-native/serialization.d.ts +15 -0
- package/dist/react-native/serialization.d.ts.map +1 -0
- package/dist/react-native/serialization.js +215 -0
- package/dist/react-native/serialization.js.map +1 -0
- package/dist/react-native/tablesNamedCredentialPolicy.d.ts +12 -0
- package/dist/react-native/tablesNamedCredentialPolicy.d.ts.map +1 -0
- package/dist/react-native/tablesNamedCredentialPolicy.js +63 -0
- package/dist/react-native/tablesNamedCredentialPolicy.js.map +1 -0
- package/dist/react-native/tablesSASTokenPolicy.d.ts +12 -0
- package/dist/react-native/tablesSASTokenPolicy.d.ts.map +1 -0
- package/dist/react-native/tablesSASTokenPolicy.js +27 -0
- package/dist/react-native/tablesSASTokenPolicy.js.map +1 -0
- package/dist/react-native/utils/accountConnectionString.d.ts +11 -0
- package/dist/react-native/utils/accountConnectionString.d.ts.map +1 -0
- package/dist/react-native/utils/accountConnectionString.js +44 -0
- package/dist/react-native/utils/accountConnectionString.js.map +1 -0
- package/dist/react-native/utils/apiVersionPolicy.d.ts +12 -0
- package/dist/react-native/utils/apiVersionPolicy.d.ts.map +1 -0
- package/dist/react-native/utils/apiVersionPolicy.js +21 -0
- package/dist/react-native/utils/apiVersionPolicy.js.map +1 -0
- package/dist/react-native/utils/baseTransactionHeaders.d.ts +7 -0
- package/dist/react-native/utils/baseTransactionHeaders.d.ts.map +1 -0
- package/dist/react-native/utils/baseTransactionHeaders.js +16 -0
- package/dist/react-native/utils/baseTransactionHeaders.js.map +1 -0
- package/dist/react-native/utils/bufferSerializer.d.ts +11 -0
- package/dist/react-native/utils/bufferSerializer.d.ts.map +1 -0
- package/dist/react-native/utils/bufferSerializer.js +23 -0
- package/dist/react-native/utils/bufferSerializer.js.map +1 -0
- package/dist/react-native/utils/challengeAuthenticationUtils.d.ts +8 -0
- package/dist/react-native/utils/challengeAuthenticationUtils.d.ts.map +1 -0
- package/dist/react-native/utils/challengeAuthenticationUtils.js +20 -0
- package/dist/react-native/utils/challengeAuthenticationUtils.js.map +1 -0
- package/dist/react-native/utils/computeHMACSHA256.d.ts +2 -0
- package/dist/react-native/utils/computeHMACSHA256.d.ts.map +1 -0
- package/dist/react-native/utils/computeHMACSHA256.js +8 -0
- package/dist/react-native/utils/computeHMACSHA256.js.map +1 -0
- package/dist/react-native/utils/connectionString.d.ts +21 -0
- package/dist/react-native/utils/connectionString.d.ts.map +1 -0
- package/dist/react-native/utils/connectionString.js +131 -0
- package/dist/react-native/utils/connectionString.js.map +1 -0
- package/dist/react-native/utils/constants.d.ts +17 -0
- package/dist/react-native/utils/constants.d.ts.map +1 -0
- package/dist/react-native/utils/constants.js +101 -0
- package/dist/react-native/utils/constants.js.map +1 -0
- package/dist/react-native/utils/continuationToken.d.ts +14 -0
- package/dist/react-native/utils/continuationToken.d.ts.map +1 -0
- package/dist/react-native/utils/continuationToken.js +26 -0
- package/dist/react-native/utils/continuationToken.js.map +1 -0
- package/dist/react-native/utils/errorHelpers.d.ts +23 -0
- package/dist/react-native/utils/errorHelpers.d.ts.map +1 -0
- package/dist/react-native/utils/errorHelpers.js +34 -0
- package/dist/react-native/utils/errorHelpers.js.map +1 -0
- package/dist/react-native/utils/internalModels.d.ts +134 -0
- package/dist/react-native/utils/internalModels.d.ts.map +1 -0
- package/dist/react-native/utils/internalModels.js +4 -0
- package/dist/react-native/utils/internalModels.js.map +1 -0
- package/dist/react-native/utils/isCosmosEndpoint.d.ts +2 -0
- package/dist/react-native/utils/isCosmosEndpoint.d.ts.map +1 -0
- package/dist/react-native/utils/isCosmosEndpoint.js +16 -0
- package/dist/react-native/utils/isCosmosEndpoint.js.map +1 -0
- package/dist/react-native/utils/isCredential.d.ts +3 -0
- package/dist/react-native/utils/isCredential.d.ts.map +1 -0
- package/dist/react-native/utils/isCredential.js +7 -0
- package/dist/react-native/utils/isCredential.js.map +1 -0
- package/dist/react-native/utils/tracing.d.ts +6 -0
- package/dist/react-native/utils/tracing.d.ts.map +1 -0
- package/dist/react-native/utils/tracing.js +13 -0
- package/dist/react-native/utils/tracing.js.map +1 -0
- package/dist/react-native/utils/transactionHeaders.d.ts +7 -0
- package/dist/react-native/utils/transactionHeaders.d.ts.map +1 -0
- package/dist/react-native/utils/transactionHeaders.js +14 -0
- package/dist/react-native/utils/transactionHeaders.js.map +1 -0
- package/dist/react-native/utils/transactionHelpers.d.ts +24 -0
- package/dist/react-native/utils/transactionHelpers.d.ts.map +1 -0
- package/dist/react-native/utils/transactionHelpers.js +43 -0
- package/dist/react-native/utils/transactionHelpers.js.map +1 -0
- package/dist/react-native/utils/truncateISO8061Date.d.ts +10 -0
- package/dist/react-native/utils/truncateISO8061Date.d.ts.map +1 -0
- package/dist/react-native/utils/truncateISO8061Date.js +18 -0
- package/dist/react-native/utils/truncateISO8061Date.js.map +1 -0
- package/dist/react-native/utils/uuid.d.ts +4 -0
- package/dist/react-native/utils/uuid.d.ts.map +1 -0
- package/dist/react-native/utils/uuid.js +11 -0
- package/dist/react-native/utils/uuid.js.map +1 -0
- package/package.json +68 -66
- package/dist/index.js +0 -5044
- package/dist/index.js.map +0 -1
- package/dist-esm/src/TableClient.js.map +0 -1
- package/dist-esm/src/TablePolicies.js.map +0 -1
- package/dist-esm/src/TableServiceClient.js.map +0 -1
- package/dist-esm/src/TableTransaction.js.map +0 -1
- package/dist-esm/src/generated/generatedClient.js.map +0 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +0 -1
- package/dist-esm/src/generated/index.js.map +0 -1
- package/dist-esm/src/generated/models/parameters.js.map +0 -1
- package/dist-esm/src/generated/operations/service.js.map +0 -1
- package/dist-esm/src/generated/operations/table.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/service.js.map +0 -1
- package/dist-esm/src/generated/operationsInterfaces/table.js.map +0 -1
- package/dist-esm/src/index.js +0 -12
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/sas/accountSasSignatureValues.js.map +0 -1
- package/dist-esm/src/sas/generateAccountSas.js.map +0 -1
- package/dist-esm/src/sas/generateTableSas.js.map +0 -1
- package/dist-esm/src/sas/index.js +0 -5
- package/dist-esm/src/sas/index.js.map +0 -1
- package/dist-esm/src/sas/sasQueryParameters.js.map +0 -1
- package/dist-esm/src/sas/tableSasSignatureValues.js.map +0 -1
- package/dist-esm/src/serialization.js.map +0 -1
- package/dist-esm/src/tablesNamedCredentialPolicy.browser.js.map +0 -1
- package/dist-esm/src/tablesNamedCredentialPolicy.js.map +0 -1
- package/dist-esm/src/utils/accountConnectionString.browser.js.map +0 -1
- package/dist-esm/src/utils/accountConnectionString.js.map +0 -1
- package/dist-esm/src/utils/bufferSerializer.browser.js.map +0 -1
- package/dist-esm/src/utils/computeHMACSHA256.browser.js.map +0 -1
- package/dist-esm/src/utils/connectionString.js.map +0 -1
- package/dist-esm/src/utils/continuationToken.js.map +0 -1
- package/dist-esm/src/utils/errorHelpers.js.map +0 -1
- package/dist-esm/src/utils/internalModels.js.map +0 -1
- package/dist-esm/src/utils/transactionHeaders.browser.js.map +0 -1
- package/dist-esm/src/utils/transactionHeaders.js.map +0 -1
- package/dist-esm/src/utils/transactionHelpers.js.map +0 -1
- package/types/latest/data-tables.d.ts +0 -1412
- /package/{dist-esm/src → dist/browser}/cosmosPathPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/cosmosPathPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/generatedClientContext.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/service.js +0 -0
- /package/{dist-esm/src → dist/browser}/generated/operationsInterfaces/table.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js +0 -0
- /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/odata.js +0 -0
- /package/{dist-esm/src → dist/browser}/odata.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasPermissions.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasPermissions.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasResourceTypes.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasResourceTypes.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasServices.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/accountSasServices.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/models.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/models.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/sasIPRange.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/sasIPRange.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/sas/tableSasPermisions.js +0 -0
- /package/{dist-esm/src → dist/browser}/sas/tableSasPermisions.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/secondaryEndpointPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/secondaryEndpointPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/tablesSASTokenPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/tablesSASTokenPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/apiVersionPolicy.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/apiVersionPolicy.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/baseTransactionHeaders.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/baseTransactionHeaders.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/challengeAuthenticationUtils.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/challengeAuthenticationUtils.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/constants.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/errorHelpers.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/internalModels.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/isCosmosEndpoint.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/isCosmosEndpoint.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/isCredential.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/isCredential.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/tracing.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/tracing.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/truncateISO8061Date.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/truncateISO8061Date.js.map +0 -0
- /package/{dist-esm/src → dist/browser}/utils/uuid.js +0 -0
- /package/{dist-esm/src → dist/browser}/utils/uuid.js.map +0 -0
- /package/{types/latest → dist/commonjs}/tsdoc-metadata.json +0 -0
- /package/{dist-esm/src → dist/esm}/utils/accountConnectionString.js +0 -0
- /package/{dist-esm/src → dist/esm}/utils/bufferSerializer.js +0 -0
- /package/{dist-esm/src → dist/esm}/utils/bufferSerializer.js.map +0 -0
|
@@ -1,1412 +0,0 @@
|
|
|
1
|
-
import { AzureNamedKeyCredential } from '@azure/core-auth';
|
|
2
|
-
import { AzureSASCredential } from '@azure/core-auth';
|
|
3
|
-
import type { CommonClientOptions } from '@azure/core-client';
|
|
4
|
-
import * as coreClient from '@azure/core-client';
|
|
5
|
-
import { NamedKeyCredential } from '@azure/core-auth';
|
|
6
|
-
import type { OperationOptions } from '@azure/core-client';
|
|
7
|
-
import type { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
8
|
-
import type { Pipeline } from '@azure/core-rest-pipeline';
|
|
9
|
-
import { RestError } from '@azure/core-rest-pipeline';
|
|
10
|
-
import type { SASCredential } from '@azure/core-auth';
|
|
11
|
-
import type { TokenCredential } from '@azure/core-auth';
|
|
12
|
-
|
|
13
|
-
/** An Access policy. */
|
|
14
|
-
export declare interface AccessPolicy {
|
|
15
|
-
/** The start datetime from which the policy is active. */
|
|
16
|
-
start?: Date;
|
|
17
|
-
/** The datetime that the policy expires. */
|
|
18
|
-
expiry?: Date;
|
|
19
|
-
/** The permissions for the acl policy. */
|
|
20
|
-
permission?: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Options to configure {@link generateAccountSas} operation.
|
|
25
|
-
*/
|
|
26
|
-
export declare interface AccountSasOptions {
|
|
27
|
-
/**
|
|
28
|
-
* The time at which the shared access signature becomes invalid. Default to an hour later if not provided.
|
|
29
|
-
*/
|
|
30
|
-
expiresOn?: Date;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the list of permissions to be associated with the SAS.
|
|
33
|
-
*/
|
|
34
|
-
permissions?: AccountSasPermissions;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the resource types associated with the shared access signature.
|
|
37
|
-
*/
|
|
38
|
-
resourceTypes?: string;
|
|
39
|
-
/**
|
|
40
|
-
* The version of the service this SAS will target. If not specified, it will default to the version targeted by the
|
|
41
|
-
* library.
|
|
42
|
-
*/
|
|
43
|
-
version?: string;
|
|
44
|
-
/**
|
|
45
|
-
* SAS protocols allowed.
|
|
46
|
-
*/
|
|
47
|
-
protocol?: SasProtocol;
|
|
48
|
-
/**
|
|
49
|
-
* When the SAS will take effect.
|
|
50
|
-
*/
|
|
51
|
-
startsOn?: Date;
|
|
52
|
-
/**
|
|
53
|
-
* IP range allowed.
|
|
54
|
-
*/
|
|
55
|
-
ipRange?: SasIPRange;
|
|
56
|
-
/**
|
|
57
|
-
* Account services
|
|
58
|
-
*/
|
|
59
|
-
services?: AccountSasServices;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* A type that looks like an account SAS permission.
|
|
64
|
-
* Used in {@link AccountSasPermissions} to parse SAS permissions from raw objects.
|
|
65
|
-
*/
|
|
66
|
-
export declare interface AccountSasPermissions {
|
|
67
|
-
/**
|
|
68
|
-
* Grants permission to list entities.
|
|
69
|
-
*/
|
|
70
|
-
query?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Grants permission to create tables
|
|
73
|
-
*/
|
|
74
|
-
write?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Grants permission to delete tables and entities
|
|
77
|
-
*/
|
|
78
|
-
delete?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* Grants permission to list tables
|
|
81
|
-
*/
|
|
82
|
-
list?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Grants permission to create entities
|
|
85
|
-
*/
|
|
86
|
-
add?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Permissions to update messages and table entities granted.
|
|
89
|
-
*/
|
|
90
|
-
update?: boolean;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Services that the SAS token can access
|
|
95
|
-
*/
|
|
96
|
-
export declare interface AccountSasServices {
|
|
97
|
-
/**
|
|
98
|
-
* Permission to access blob resources granted.
|
|
99
|
-
*/
|
|
100
|
-
blob?: boolean;
|
|
101
|
-
/**
|
|
102
|
-
* Permission to access file resources granted.
|
|
103
|
-
*/
|
|
104
|
-
file?: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Permission to access queue resources granted.
|
|
107
|
-
*/
|
|
108
|
-
queue?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Permission to access table resources granted.
|
|
111
|
-
*/
|
|
112
|
-
table?: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export { AzureNamedKeyCredential }
|
|
116
|
-
|
|
117
|
-
export { AzureSASCredential }
|
|
118
|
-
|
|
119
|
-
/** CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain. Web browsers implement a security restriction known as same-origin policy that prevents a web page from calling APIs in a different domain; CORS provides a secure way to allow one domain (the origin domain) to call APIs in another domain. */
|
|
120
|
-
export declare interface CorsRule {
|
|
121
|
-
/** The origin domains that are permitted to make a request against the service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '*' to allow all origin domains to make requests via CORS. */
|
|
122
|
-
allowedOrigins: string;
|
|
123
|
-
/** The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated) */
|
|
124
|
-
allowedMethods: string;
|
|
125
|
-
/** The request headers that the origin domain may specify on the CORS request. */
|
|
126
|
-
allowedHeaders: string;
|
|
127
|
-
/** The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. */
|
|
128
|
-
exposedHeaders: string;
|
|
129
|
-
/** The maximum amount time that a browser should cache the preflight OPTIONS request. */
|
|
130
|
-
maxAgeInSeconds: number;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Represents the Create or Delete Entity operation to be included in a Transaction request
|
|
135
|
-
*/
|
|
136
|
-
export declare type CreateDeleteEntityAction = ["create" | "delete", TableEntity];
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Contains response data for the createEntity operation.
|
|
140
|
-
*/
|
|
141
|
-
export declare type CreateTableEntityResponse = TableInsertEntityHeaders;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Optional parameters for DeleteTableEntity operation
|
|
145
|
-
*/
|
|
146
|
-
export declare type DeleteTableEntityOptions = OperationOptions & {
|
|
147
|
-
/**
|
|
148
|
-
* UTC date/time value generated by the service that indicates the time at which the response was initiated
|
|
149
|
-
*/
|
|
150
|
-
etag?: string;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
/** Contains response data for the deleteEntity operation. */
|
|
154
|
-
export declare type DeleteTableEntityResponse = TableDeleteEntityHeaders;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Entity Data Model representation for an entity property.
|
|
158
|
-
*/
|
|
159
|
-
export declare interface Edm<T extends EdmTypes> {
|
|
160
|
-
/**
|
|
161
|
-
* The value of the entity property
|
|
162
|
-
*/
|
|
163
|
-
value: T extends "Binary" ? string : T extends "Boolean" ? boolean : T extends "Double" ? number : T extends "Int32" ? number : string;
|
|
164
|
-
/**
|
|
165
|
-
* The type of the entity property
|
|
166
|
-
*/
|
|
167
|
-
type: T;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Supported EDM Types by Azure Tables.
|
|
172
|
-
*/
|
|
173
|
-
export declare type EdmTypes = "Binary" | "Boolean" | "DateTime" | "Double" | "Guid" | "Int32" | "Int64" | "String";
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Generates a Table Account Shared Access Signature (SAS) URI based on the client properties
|
|
177
|
-
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
178
|
-
*
|
|
179
|
-
* @see https://docs.microsoft.com/en-us/rest/api/storageservices/create-account-sas
|
|
180
|
-
*
|
|
181
|
-
* @param options - Optional parameters.
|
|
182
|
-
* @returns An account SAS token
|
|
183
|
-
*/
|
|
184
|
-
export declare function generateAccountSas(credential: NamedKeyCredential, options?: AccountSasOptions): string;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Generates a Table Service Shared Access Signature (SAS) URI based on the client properties
|
|
188
|
-
* and parameters passed in. The SAS is signed by the shared key credential of the client.
|
|
189
|
-
*
|
|
190
|
-
* @see https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas
|
|
191
|
-
*
|
|
192
|
-
* @param options - Optional parameters.
|
|
193
|
-
* @returns The SAS URI consisting of the URI to the resource represented by this client, followed by the generated SAS token.
|
|
194
|
-
*/
|
|
195
|
-
export declare function generateTableSas(tableName: string, credential: NamedKeyCredential, options?: TableSasSignatureValues): string;
|
|
196
|
-
|
|
197
|
-
/** Geo-Replication information for the Secondary Storage Service */
|
|
198
|
-
export declare interface GeoReplication {
|
|
199
|
-
/** The status of the secondary location. */
|
|
200
|
-
status: GeoReplicationStatusType;
|
|
201
|
-
/** A GMT date/time value, to the second. All primary writes preceding this value are guaranteed to be available for read operations at the secondary. Primary writes after this point in time may or may not be available for reads. */
|
|
202
|
-
lastSyncTime: Date;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Defines values for GeoReplicationStatusType. \
|
|
207
|
-
* {@link KnownGeoReplicationStatusType} can be used interchangeably with GeoReplicationStatusType,
|
|
208
|
-
* this enum contains the known values that the service supports.
|
|
209
|
-
* ### Known values supported by the service
|
|
210
|
-
* **live** \
|
|
211
|
-
* **bootstrap** \
|
|
212
|
-
* **unavailable**
|
|
213
|
-
*/
|
|
214
|
-
export declare type GeoReplicationStatusType = string;
|
|
215
|
-
|
|
216
|
-
/** Contains response data for the getAccessPolicy operation. */
|
|
217
|
-
export declare type GetAccessPolicyResponse = TableGetAccessPolicyHeaders & SignedIdentifier[];
|
|
218
|
-
|
|
219
|
-
/** Contains response data for the getProperties operation. */
|
|
220
|
-
export declare type GetPropertiesResponse = ServiceGetPropertiesHeaders & ServiceProperties;
|
|
221
|
-
|
|
222
|
-
/** Contains response data for the getStatistics operation. */
|
|
223
|
-
export declare type GetStatisticsResponse = ServiceGetStatisticsHeaders & TableServiceStats;
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* GetEntity optional parameters.
|
|
227
|
-
*/
|
|
228
|
-
export declare type GetTableEntityOptions = OperationOptions & {
|
|
229
|
-
/**
|
|
230
|
-
* Parameter group
|
|
231
|
-
*/
|
|
232
|
-
queryOptions?: TableEntityQueryOptions;
|
|
233
|
-
/**
|
|
234
|
-
* If true, automatic type conversion will be disabled and entity properties will
|
|
235
|
-
* be represented by full metadata types. For example, an Int32 value will be \{value: "123", type: "Int32"\} instead of 123.
|
|
236
|
-
* This option applies for all the properties
|
|
237
|
-
*/
|
|
238
|
-
disableTypeConversion?: boolean;
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* Contains response data for the listEntities operation.
|
|
243
|
-
*/
|
|
244
|
-
export declare type GetTableEntityResponse<T extends object> = TableEntityResult<T>;
|
|
245
|
-
|
|
246
|
-
/** Known values of {@link GeoReplicationStatusType} that the service accepts. */
|
|
247
|
-
export declare enum KnownGeoReplicationStatusType {
|
|
248
|
-
Live = "live",
|
|
249
|
-
Bootstrap = "bootstrap",
|
|
250
|
-
Unavailable = "unavailable"
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* List entities optional parameters.
|
|
255
|
-
*/
|
|
256
|
-
export declare type ListTableEntitiesOptions = OperationOptions & {
|
|
257
|
-
/**
|
|
258
|
-
* Query options group
|
|
259
|
-
*/
|
|
260
|
-
queryOptions?: TableEntityQueryOptions;
|
|
261
|
-
/**
|
|
262
|
-
* If true, automatic type conversion will be disabled and entity properties will
|
|
263
|
-
* be represented by full metadata types. For example, an Int32 value will be \{value: "123", type: "Int32"\} instead of 123.
|
|
264
|
-
* This option applies for all the properties
|
|
265
|
-
*/
|
|
266
|
-
disableTypeConversion?: boolean;
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* List tables optional parameters.
|
|
271
|
-
*/
|
|
272
|
-
export declare type ListTableItemsOptions = OperationOptions & {
|
|
273
|
-
/**
|
|
274
|
-
* Query options group
|
|
275
|
-
*/
|
|
276
|
-
queryOptions?: TableQueryOptions;
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
/** Azure Analytics Logging settings. */
|
|
280
|
-
export declare interface Logging {
|
|
281
|
-
/** The version of Analytics to configure. */
|
|
282
|
-
version: string;
|
|
283
|
-
/** Indicates whether all delete requests should be logged. */
|
|
284
|
-
delete: boolean;
|
|
285
|
-
/** Indicates whether all read requests should be logged. */
|
|
286
|
-
read: boolean;
|
|
287
|
-
/** Indicates whether all write requests should be logged. */
|
|
288
|
-
write: boolean;
|
|
289
|
-
/** The retention policy. */
|
|
290
|
-
retentionPolicy: RetentionPolicy;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/** A summary of request statistics grouped by API */
|
|
294
|
-
export declare interface Metrics {
|
|
295
|
-
/** The version of Analytics to configure. */
|
|
296
|
-
version?: string;
|
|
297
|
-
/** Indicates whether metrics are enabled for the Table service. */
|
|
298
|
-
enabled: boolean;
|
|
299
|
-
/** Indicates whether metrics should generate summary statistics for called API operations. */
|
|
300
|
-
includeAPIs?: boolean;
|
|
301
|
-
/** The retention policy. */
|
|
302
|
-
retentionPolicy?: RetentionPolicy;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export { NamedKeyCredential }
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Escapes an odata filter expression to avoid errors with quoting string literals.
|
|
309
|
-
* Encodes Date objects.
|
|
310
|
-
*/
|
|
311
|
-
export declare function odata(strings: TemplateStringsArray, ...values: unknown[]): string;
|
|
312
|
-
|
|
313
|
-
export { RestError }
|
|
314
|
-
|
|
315
|
-
/** The retention policy. */
|
|
316
|
-
export declare interface RetentionPolicy {
|
|
317
|
-
/** Indicates whether a retention policy is enabled for the service. */
|
|
318
|
-
enabled: boolean;
|
|
319
|
-
/** Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted. */
|
|
320
|
-
days?: number;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Allowed IP range for a SAS.
|
|
325
|
-
*/
|
|
326
|
-
export declare interface SasIPRange {
|
|
327
|
-
/**
|
|
328
|
-
* Starting IP address in the IP range.
|
|
329
|
-
* If end IP doesn't provide, start IP will the only IP allowed.
|
|
330
|
-
*/
|
|
331
|
-
start: string;
|
|
332
|
-
/**
|
|
333
|
-
* Optional. IP address that ends the IP range.
|
|
334
|
-
* If not provided, start IP will the only IP allowed.
|
|
335
|
-
*/
|
|
336
|
-
end?: string;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Protocols for generated SAS.
|
|
341
|
-
*/
|
|
342
|
-
export declare type SasProtocol = "https" | "https,http";
|
|
343
|
-
|
|
344
|
-
/** Defines headers for Service_getProperties operation. */
|
|
345
|
-
export declare interface ServiceGetPropertiesHeaders {
|
|
346
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
347
|
-
clientRequestId?: string;
|
|
348
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
349
|
-
requestId?: string;
|
|
350
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
351
|
-
version?: string;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
/** Defines headers for Service_getStatistics operation. */
|
|
355
|
-
export declare interface ServiceGetStatisticsHeaders {
|
|
356
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
357
|
-
clientRequestId?: string;
|
|
358
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
359
|
-
requestId?: string;
|
|
360
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
361
|
-
version?: string;
|
|
362
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
363
|
-
date?: Date;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/** Table Service Properties. */
|
|
367
|
-
export declare interface ServiceProperties {
|
|
368
|
-
/** Azure Analytics Logging settings. */
|
|
369
|
-
logging?: Logging;
|
|
370
|
-
/** A summary of request statistics grouped by API in hourly aggregates for tables. */
|
|
371
|
-
hourMetrics?: Metrics;
|
|
372
|
-
/** A summary of request statistics grouped by API in minute aggregates for tables. */
|
|
373
|
-
minuteMetrics?: Metrics;
|
|
374
|
-
/** The set of CORS rules. */
|
|
375
|
-
cors?: CorsRule[];
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/** Defines headers for Service_setProperties operation. */
|
|
379
|
-
export declare interface ServiceSetPropertiesHeaders {
|
|
380
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
381
|
-
clientRequestId?: string;
|
|
382
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
383
|
-
requestId?: string;
|
|
384
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
385
|
-
version?: string;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/** Contains response data for the setAccessPolicy operation. */
|
|
389
|
-
export declare type SetAccessPolicyResponse = TableSetAccessPolicyHeaders;
|
|
390
|
-
|
|
391
|
-
/** Optional parameters. */
|
|
392
|
-
export declare interface SetPropertiesOptions extends coreClient.OperationOptions {
|
|
393
|
-
/** Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when analytics logging is enabled. */
|
|
394
|
-
requestId?: string;
|
|
395
|
-
/** The timeout parameter is expressed in seconds. */
|
|
396
|
-
timeout?: number;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/** Contains response data for the setProperties operation. */
|
|
400
|
-
export declare type SetPropertiesResponse = ServiceSetPropertiesHeaders;
|
|
401
|
-
|
|
402
|
-
/** A signed identifier. */
|
|
403
|
-
export declare interface SignedIdentifier {
|
|
404
|
-
/** A unique id. */
|
|
405
|
-
id: string;
|
|
406
|
-
/** The access policy. */
|
|
407
|
-
accessPolicy?: AccessPolicy;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* A TableClient represents a Client to the Azure Tables service allowing you
|
|
412
|
-
* to perform operations on a single table.
|
|
413
|
-
*/
|
|
414
|
-
export declare class TableClient {
|
|
415
|
-
/**
|
|
416
|
-
* Table Account URL
|
|
417
|
-
*/
|
|
418
|
-
url: string;
|
|
419
|
-
/**
|
|
420
|
-
* Represents a pipeline for making a HTTP request to a URL.
|
|
421
|
-
* Pipelines can have multiple policies to manage manipulating each request before and after it is made to the server.
|
|
422
|
-
*/
|
|
423
|
-
pipeline: Pipeline;
|
|
424
|
-
private table;
|
|
425
|
-
private generatedClient;
|
|
426
|
-
private credential?;
|
|
427
|
-
private clientOptions;
|
|
428
|
-
private readonly allowInsecureConnection;
|
|
429
|
-
/**
|
|
430
|
-
* Name of the table to perform operations on.
|
|
431
|
-
*/
|
|
432
|
-
readonly tableName: string;
|
|
433
|
-
/**
|
|
434
|
-
* Creates a new instance of the TableClient class.
|
|
435
|
-
*
|
|
436
|
-
* @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net".
|
|
437
|
-
* @param tableName - the name of the table
|
|
438
|
-
* @param credential - NamedKeyCredential used to authenticate requests. Only Supported for Node
|
|
439
|
-
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
* ### Example using an account name/key:
|
|
443
|
-
*
|
|
444
|
-
* ```js
|
|
445
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables");
|
|
446
|
-
* const account = "<storage account name>";
|
|
447
|
-
* const accountKey = "<account key>"
|
|
448
|
-
* const tableName = "<table name>";
|
|
449
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
450
|
-
*
|
|
451
|
-
* const client = new TableClient(
|
|
452
|
-
* `https://${account}.table.core.windows.net`,
|
|
453
|
-
* tableName,
|
|
454
|
-
* sharedKeyCredential
|
|
455
|
-
* );
|
|
456
|
-
* ```
|
|
457
|
-
*/
|
|
458
|
-
constructor(url: string, tableName: string, credential: NamedKeyCredential, options?: TableServiceClientOptions);
|
|
459
|
-
/**
|
|
460
|
-
* Creates a new instance of the TableClient class.
|
|
461
|
-
*
|
|
462
|
-
* @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net".
|
|
463
|
-
* @param tableName - the name of the table
|
|
464
|
-
* @param credential - SASCredential used to authenticate requests
|
|
465
|
-
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
466
|
-
*
|
|
467
|
-
*
|
|
468
|
-
* ### Example using a SAS Token:
|
|
469
|
-
*
|
|
470
|
-
* ```js
|
|
471
|
-
* const { AzureSASCredential, TableClient } = require("@azure/data-tables");
|
|
472
|
-
* const account = "<storage account name>";
|
|
473
|
-
* const sasToken = "<sas-token>";
|
|
474
|
-
* const tableName = "<table name>";
|
|
475
|
-
* const sasCredential = new AzureSASCredential(sasToken);
|
|
476
|
-
*
|
|
477
|
-
* const client = new TableClient(
|
|
478
|
-
* `https://${account}.table.core.windows.net`,
|
|
479
|
-
* tableName,
|
|
480
|
-
* sasCredential
|
|
481
|
-
* );
|
|
482
|
-
* ```
|
|
483
|
-
*/
|
|
484
|
-
constructor(url: string, tableName: string, credential: SASCredential, options?: TableServiceClientOptions);
|
|
485
|
-
/**
|
|
486
|
-
* Creates a new instance of the TableClient class.
|
|
487
|
-
*
|
|
488
|
-
* @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net".
|
|
489
|
-
* @param tableName - the name of the table
|
|
490
|
-
* @param credential - Azure Active Directory credential used to authenticate requests
|
|
491
|
-
* @param options - Optional. Options to configure the HTTP pipeline.
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
* ### Example using an Azure Active Directory credential:
|
|
495
|
-
*
|
|
496
|
-
* ```js
|
|
497
|
-
* cons { DefaultAzureCredential } = require("@azure/identity");
|
|
498
|
-
* const { AzureSASCredential, TableClient } = require("@azure/data-tables");
|
|
499
|
-
* const account = "<storage account name>";
|
|
500
|
-
* const sasToken = "<sas-token>";
|
|
501
|
-
* const tableName = "<table name>";
|
|
502
|
-
* const credential = new DefaultAzureCredential();
|
|
503
|
-
*
|
|
504
|
-
* const client = new TableClient(
|
|
505
|
-
* `https://${account}.table.core.windows.net`,
|
|
506
|
-
* tableName,
|
|
507
|
-
* credential
|
|
508
|
-
* );
|
|
509
|
-
* ```
|
|
510
|
-
*/
|
|
511
|
-
constructor(url: string, tableName: string, credential: TokenCredential, options?: TableServiceClientOptions);
|
|
512
|
-
/**
|
|
513
|
-
* Creates an instance of TableClient.
|
|
514
|
-
*
|
|
515
|
-
* @param url - A Client string pointing to Azure Storage table service, such as
|
|
516
|
-
* "https://myaccount.table.core.windows.net". You can append a SAS,
|
|
517
|
-
* such as "https://myaccount.table.core.windows.net?sasString".
|
|
518
|
-
* @param tableName - the name of the table
|
|
519
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
520
|
-
*
|
|
521
|
-
* ### Example appending a SAS token:
|
|
522
|
-
*
|
|
523
|
-
* ```js
|
|
524
|
-
* const { TableClient } = require("@azure/data-tables");
|
|
525
|
-
* const account = "<storage account name>";
|
|
526
|
-
* const sasToken = "<SAS token>";
|
|
527
|
-
* const tableName = "<table name>";
|
|
528
|
-
*
|
|
529
|
-
* const client = new TableClient(
|
|
530
|
-
* `https://${account}.table.core.windows.net?${sasToken}`,
|
|
531
|
-
* `${tableName}`
|
|
532
|
-
* );
|
|
533
|
-
* ```
|
|
534
|
-
*/
|
|
535
|
-
constructor(url: string, tableName: string, options?: TableServiceClientOptions);
|
|
536
|
-
/**
|
|
537
|
-
* Permanently deletes the current table with all of its entities.
|
|
538
|
-
* @param options - The options parameters.
|
|
539
|
-
*
|
|
540
|
-
* ### Example deleting a table
|
|
541
|
-
* ```js
|
|
542
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
543
|
-
* const account = "<storage account name>";
|
|
544
|
-
* const accountKey = "<account key>"
|
|
545
|
-
* const tableName = "<table name>";
|
|
546
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
547
|
-
*
|
|
548
|
-
* const client = new TableClient(
|
|
549
|
-
* `https://${account}.table.core.windows.net`,
|
|
550
|
-
* `${tableName}`,
|
|
551
|
-
* sharedKeyCredential
|
|
552
|
-
* );
|
|
553
|
-
*
|
|
554
|
-
* // calling deleteTable will delete the table used
|
|
555
|
-
* // to instantiate the TableClient.
|
|
556
|
-
* // Note: If the table doesn't exist this function doesn't fail.
|
|
557
|
-
* await client.deleteTable();
|
|
558
|
-
* ```
|
|
559
|
-
*/
|
|
560
|
-
deleteTable(options?: OperationOptions): Promise<void>;
|
|
561
|
-
/**
|
|
562
|
-
* Creates a table with the tableName passed to the client constructor
|
|
563
|
-
* @param options - The options parameters.
|
|
564
|
-
*
|
|
565
|
-
* ### Example creating a table
|
|
566
|
-
* ```js
|
|
567
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
568
|
-
* const account = "<storage account name>";
|
|
569
|
-
* const accountKey = "<account key>"
|
|
570
|
-
* const tableName = "<table name>";
|
|
571
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
572
|
-
*
|
|
573
|
-
* const client = new TableClient(
|
|
574
|
-
* `https://${account}.table.core.windows.net`,
|
|
575
|
-
* `${tableName}`,
|
|
576
|
-
* sharedKeyCredential
|
|
577
|
-
* );
|
|
578
|
-
*
|
|
579
|
-
* // calling create table will create the table used
|
|
580
|
-
* // to instantiate the TableClient.
|
|
581
|
-
* // Note: If the table already
|
|
582
|
-
* // exists this function doesn't throw.
|
|
583
|
-
* await client.createTable();
|
|
584
|
-
* ```
|
|
585
|
-
*/
|
|
586
|
-
createTable(options?: OperationOptions): Promise<void>;
|
|
587
|
-
/**
|
|
588
|
-
* Returns a single entity in the table.
|
|
589
|
-
* @param partitionKey - The partition key of the entity.
|
|
590
|
-
* @param rowKey - The row key of the entity.
|
|
591
|
-
* @param options - The options parameters.
|
|
592
|
-
*
|
|
593
|
-
* ### Example getting an entity
|
|
594
|
-
* ```js
|
|
595
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
596
|
-
* const account = "<storage account name>";
|
|
597
|
-
* const accountKey = "<account key>"
|
|
598
|
-
* const tableName = "<table name>";
|
|
599
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
600
|
-
*
|
|
601
|
-
* const client = new TableClient(
|
|
602
|
-
* `https://${account}.table.core.windows.net`,
|
|
603
|
-
* `${tableName}`,
|
|
604
|
-
* sharedKeyCredential
|
|
605
|
-
* );
|
|
606
|
-
*
|
|
607
|
-
* // getEntity will get a single entity stored in the service that
|
|
608
|
-
* // matches exactly the partitionKey and rowKey used as parameters
|
|
609
|
-
* // to the method.
|
|
610
|
-
* const entity = await client.getEntity("<partitionKey>", "<rowKey>");
|
|
611
|
-
* console.log(entity);
|
|
612
|
-
* ```
|
|
613
|
-
*/
|
|
614
|
-
getEntity<T extends object = Record<string, unknown>>(partitionKey: string, rowKey: string, options?: GetTableEntityOptions): Promise<GetTableEntityResponse<TableEntityResult<T>>>;
|
|
615
|
-
/**
|
|
616
|
-
* Queries entities in a table.
|
|
617
|
-
* @param options - The options parameters.
|
|
618
|
-
*
|
|
619
|
-
* Example listing entities
|
|
620
|
-
* ```js
|
|
621
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
622
|
-
* const account = "<storage account name>";
|
|
623
|
-
* const accountKey = "<account key>"
|
|
624
|
-
* const tableName = "<table name>";
|
|
625
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
626
|
-
*
|
|
627
|
-
* const client = new TableClient(
|
|
628
|
-
* `https://${account}.table.core.windows.net`,
|
|
629
|
-
* `${tableName}`,
|
|
630
|
-
* sharedKeyCredential
|
|
631
|
-
* );
|
|
632
|
-
*
|
|
633
|
-
* // list entities returns a AsyncIterableIterator
|
|
634
|
-
* // this helps consuming paginated responses by
|
|
635
|
-
* // automatically handling getting the next pages
|
|
636
|
-
* const entities = client.listEntities();
|
|
637
|
-
*
|
|
638
|
-
* // this loop will get all the entities from all the pages
|
|
639
|
-
* // returned by the service
|
|
640
|
-
* for await (const entity of entities) {
|
|
641
|
-
* console.log(entity);
|
|
642
|
-
* }
|
|
643
|
-
* ```
|
|
644
|
-
*/
|
|
645
|
-
listEntities<T extends object = Record<string, unknown>>(options?: ListTableEntitiesOptions): PagedAsyncIterableIterator<TableEntityResult<T>, TableEntityResultPage<T>>;
|
|
646
|
-
private listEntitiesAll;
|
|
647
|
-
private listEntitiesPage;
|
|
648
|
-
private _listEntities;
|
|
649
|
-
/**
|
|
650
|
-
* Insert entity in the table.
|
|
651
|
-
* @param entity - The properties for the table entity.
|
|
652
|
-
* @param options - The options parameters.
|
|
653
|
-
*
|
|
654
|
-
* ### Example creating an entity
|
|
655
|
-
* ```js
|
|
656
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
657
|
-
* const account = "<storage account name>";
|
|
658
|
-
* const accountKey = "<account key>"
|
|
659
|
-
* const tableName = "<table name>";
|
|
660
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
661
|
-
*
|
|
662
|
-
* const client = new TableClient(
|
|
663
|
-
* `https://${account}.table.core.windows.net`,
|
|
664
|
-
* `${tableName}`,
|
|
665
|
-
* sharedKeyCredential
|
|
666
|
-
* );
|
|
667
|
-
*
|
|
668
|
-
* // partitionKey and rowKey are required properties of the entity to create
|
|
669
|
-
* // and accepts any other properties
|
|
670
|
-
* await client.createEntity({partitionKey: "p1", rowKey: "r1", foo: "Hello!"});
|
|
671
|
-
* ```
|
|
672
|
-
*/
|
|
673
|
-
createEntity<T extends object>(entity: TableEntity<T>, options?: OperationOptions): Promise<CreateTableEntityResponse>;
|
|
674
|
-
/**
|
|
675
|
-
* Deletes the specified entity in the table.
|
|
676
|
-
* @param partitionKey - The partition key of the entity.
|
|
677
|
-
* @param rowKey - The row key of the entity.
|
|
678
|
-
* @param options - The options parameters.
|
|
679
|
-
*
|
|
680
|
-
* ### Example deleting an entity
|
|
681
|
-
* ```js
|
|
682
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
683
|
-
* const account = "<storage account name>";
|
|
684
|
-
* const accountKey = "<account key>"
|
|
685
|
-
* const tableName = "<table name>";
|
|
686
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
687
|
-
*
|
|
688
|
-
* const client = new TableClient(
|
|
689
|
-
* `https://${account}.table.core.windows.net`,
|
|
690
|
-
* `${tableName}`,
|
|
691
|
-
* sharedKeyCredential
|
|
692
|
-
* );
|
|
693
|
-
*
|
|
694
|
-
* // deleteEntity deletes the entity that matches
|
|
695
|
-
* // exactly the partitionKey and rowKey passed as parameters
|
|
696
|
-
* await client.deleteEntity("<partitionKey>", "<rowKey>")
|
|
697
|
-
* ```
|
|
698
|
-
*/
|
|
699
|
-
deleteEntity(partitionKey: string, rowKey: string, options?: DeleteTableEntityOptions): Promise<DeleteTableEntityResponse>;
|
|
700
|
-
/**
|
|
701
|
-
* Update an entity in the table.
|
|
702
|
-
* @param entity - The properties of the entity to be updated.
|
|
703
|
-
* @param mode - The different modes for updating the entity:
|
|
704
|
-
* - Merge: Updates an entity by updating the entity's properties without replacing the existing entity.
|
|
705
|
-
* - Replace: Updates an existing entity by replacing the entire entity.
|
|
706
|
-
* @param options - The options parameters.
|
|
707
|
-
*
|
|
708
|
-
* ### Example updating an entity
|
|
709
|
-
* ```js
|
|
710
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
711
|
-
* const account = "<storage account name>";
|
|
712
|
-
* const accountKey = "<account key>"
|
|
713
|
-
* const tableName = "<table name>";
|
|
714
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
715
|
-
*
|
|
716
|
-
* const client = new TableClient(
|
|
717
|
-
* `https://${account}.table.core.windows.net`,
|
|
718
|
-
* `${tableName}`,
|
|
719
|
-
* sharedKeyCredential
|
|
720
|
-
* );
|
|
721
|
-
*
|
|
722
|
-
* const entity = {partitionKey: "p1", rowKey: "r1", bar: "updatedBar"};
|
|
723
|
-
*
|
|
724
|
-
* // Update uses update mode "Merge" as default
|
|
725
|
-
* // merge means that update will match a stored entity
|
|
726
|
-
* // that has the same partitionKey and rowKey as the entity
|
|
727
|
-
* // passed to the method and then will only update the properties present in it.
|
|
728
|
-
* // Any other properties that are not defined in the entity passed to updateEntity
|
|
729
|
-
* // will remain as they are in the service
|
|
730
|
-
* await client.updateEntity(entity)
|
|
731
|
-
*
|
|
732
|
-
* // We can also set the update mode to Replace, which will match the entity passed
|
|
733
|
-
* // to updateEntity with one stored in the service and replace with the new one.
|
|
734
|
-
* // If there are any missing properties in the entity passed to updateEntity, they
|
|
735
|
-
* // will be removed from the entity stored in the service
|
|
736
|
-
* await client.updateEntity(entity, "Replace")
|
|
737
|
-
* ```
|
|
738
|
-
*/
|
|
739
|
-
updateEntity<T extends object>(entity: TableEntity<T>, mode?: UpdateMode, options?: UpdateTableEntityOptions): Promise<UpdateEntityResponse>;
|
|
740
|
-
/**
|
|
741
|
-
* Upsert an entity in the table.
|
|
742
|
-
* @param entity - The properties for the table entity.
|
|
743
|
-
* @param mode - The different modes for updating the entity:
|
|
744
|
-
* - Merge: Updates an entity by updating the entity's properties without replacing the existing entity.
|
|
745
|
-
* - Replace: Updates an existing entity by replacing the entire entity.
|
|
746
|
-
* @param options - The options parameters.
|
|
747
|
-
*
|
|
748
|
-
* ### Example upserting an entity
|
|
749
|
-
* ```js
|
|
750
|
-
* const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables")
|
|
751
|
-
* const account = "<storage account name>";
|
|
752
|
-
* const accountKey = "<account key>"
|
|
753
|
-
* const tableName = "<table name>";
|
|
754
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, accountKey);
|
|
755
|
-
*
|
|
756
|
-
* const client = new TableClient(
|
|
757
|
-
* `https://${account}.table.core.windows.net`,
|
|
758
|
-
* `${tableName}`,
|
|
759
|
-
* sharedKeyCredential
|
|
760
|
-
* );
|
|
761
|
-
*
|
|
762
|
-
* const entity = {partitionKey: "p1", rowKey: "r1", bar: "updatedBar"};
|
|
763
|
-
*
|
|
764
|
-
* // Upsert uses update mode "Merge" as default.
|
|
765
|
-
* // This behaves similarly to update but creates the entity
|
|
766
|
-
* // if it doesn't exist in the service
|
|
767
|
-
* await client.upsertEntity(entity)
|
|
768
|
-
*
|
|
769
|
-
* // We can also set the update mode to Replace.
|
|
770
|
-
* // This behaves similarly to update but creates the entity
|
|
771
|
-
* // if it doesn't exist in the service
|
|
772
|
-
* await client.upsertEntity(entity, "Replace")
|
|
773
|
-
* ```
|
|
774
|
-
*/
|
|
775
|
-
upsertEntity<T extends object>(entity: TableEntity<T>, mode?: UpdateMode, options?: OperationOptions): Promise<UpsertEntityResponse>;
|
|
776
|
-
/**
|
|
777
|
-
* Retrieves details about any stored access policies specified on the table that may be used with
|
|
778
|
-
* Shared Access Signatures.
|
|
779
|
-
* @param options - The options parameters.
|
|
780
|
-
*/
|
|
781
|
-
getAccessPolicy(options?: OperationOptions): Promise<GetAccessPolicyResponse>;
|
|
782
|
-
/**
|
|
783
|
-
* Sets stored access policies for the table that may be used with Shared Access Signatures.
|
|
784
|
-
* @param tableAcl - The Access Control List for the table.
|
|
785
|
-
* @param options - The options parameters.
|
|
786
|
-
*/
|
|
787
|
-
setAccessPolicy(tableAcl: SignedIdentifier[], options?: OperationOptions): Promise<SetAccessPolicyResponse>;
|
|
788
|
-
/**
|
|
789
|
-
* Submits a Transaction which is composed of a set of actions. You can provide the actions as a list
|
|
790
|
-
* or you can use {@link TableTransaction} to help building the transaction.
|
|
791
|
-
*
|
|
792
|
-
* Example usage:
|
|
793
|
-
* ```typescript
|
|
794
|
-
* const { TableClient } = require("@azure/data-tables");
|
|
795
|
-
* const connectionString = "<connection-string>"
|
|
796
|
-
* const tableName = "<tableName>"
|
|
797
|
-
* const client = TableClient.fromConnectionString(connectionString, tableName);
|
|
798
|
-
* const actions = [
|
|
799
|
-
* ["create", {partitionKey: "p1", rowKey: "1", data: "test1"}],
|
|
800
|
-
* ["delete", {partitionKey: "p1", rowKey: "2"}],
|
|
801
|
-
* ["update", {partitionKey: "p1", rowKey: "3", data: "newTest"}, "Merge"]
|
|
802
|
-
* ]
|
|
803
|
-
* const result = await client.submitTransaction(actions);
|
|
804
|
-
* ```
|
|
805
|
-
*
|
|
806
|
-
* Example usage with TableTransaction:
|
|
807
|
-
* ```js
|
|
808
|
-
* const { TableClient } = require("@azure/data-tables");
|
|
809
|
-
* const connectionString = "<connection-string>"
|
|
810
|
-
* const tableName = "<tableName>"
|
|
811
|
-
* const client = TableClient.fromConnectionString(connectionString, tableName);
|
|
812
|
-
* const transaction = new TableTransaction();
|
|
813
|
-
* // Call the available action in the TableTransaction object
|
|
814
|
-
* transaction.create({partitionKey: "p1", rowKey: "1", data: "test1"});
|
|
815
|
-
* transaction.delete("p1", "2");
|
|
816
|
-
* transaction.update({partitionKey: "p1", rowKey: "3", data: "newTest"}, "Merge")
|
|
817
|
-
* // submitTransaction with the actions list on the transaction.
|
|
818
|
-
* const result = await client.submitTransaction(transaction.actions);
|
|
819
|
-
* ```
|
|
820
|
-
*
|
|
821
|
-
* @param actions - tuple that contains the action to perform, and the entity to perform the action with
|
|
822
|
-
*/
|
|
823
|
-
submitTransaction(actions: TransactionAction[]): Promise<TableTransactionResponse>;
|
|
824
|
-
/**
|
|
825
|
-
*
|
|
826
|
-
* Creates an instance of TableClient from connection string.
|
|
827
|
-
*
|
|
828
|
-
* @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
|
|
829
|
-
* [ Note - Account connection string can only be used in NODE.JS runtime. ]
|
|
830
|
-
* Account connection string example -
|
|
831
|
-
* `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
|
|
832
|
-
* SAS connection string example -
|
|
833
|
-
* `BlobEndpoint=https://myaccount.table.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
|
|
834
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
835
|
-
* @returns A new TableClient from the given connection string.
|
|
836
|
-
*/
|
|
837
|
-
static fromConnectionString(connectionString: string, tableName: string, options?: TableServiceClientOptions): TableClient;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
/** Defines headers for Table_create operation. */
|
|
841
|
-
export declare interface TableCreateHeaders {
|
|
842
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
843
|
-
clientRequestId?: string;
|
|
844
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
845
|
-
requestId?: string;
|
|
846
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
847
|
-
version?: string;
|
|
848
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
849
|
-
date?: Date;
|
|
850
|
-
/** Indicates whether the Prefer request header was honored. If the response does not include this header, then the Prefer header was not honored. If this header is returned, its value will either be return-content or return-no-content. */
|
|
851
|
-
preferenceApplied?: string;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/** Defines headers for Table_deleteEntity operation. */
|
|
855
|
-
export declare interface TableDeleteEntityHeaders {
|
|
856
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
857
|
-
clientRequestId?: string;
|
|
858
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
859
|
-
requestId?: string;
|
|
860
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
861
|
-
version?: string;
|
|
862
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
863
|
-
date?: Date;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/** Defines headers for Table_delete operation. */
|
|
867
|
-
export declare interface TableDeleteHeaders {
|
|
868
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
869
|
-
clientRequestId?: string;
|
|
870
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
871
|
-
requestId?: string;
|
|
872
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
873
|
-
version?: string;
|
|
874
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
875
|
-
date?: Date;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* A set of key-value pairs representing the table entity.
|
|
880
|
-
*/
|
|
881
|
-
export declare type TableEntity<T extends object = Record<string, unknown>> = T & {
|
|
882
|
-
/**
|
|
883
|
-
* The PartitionKey property of the entity.
|
|
884
|
-
*/
|
|
885
|
-
partitionKey: string;
|
|
886
|
-
/**
|
|
887
|
-
* The RowKey property of the entity.
|
|
888
|
-
*/
|
|
889
|
-
rowKey: string;
|
|
890
|
-
};
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* OData Query options to limit the set of entities returned.
|
|
894
|
-
*/
|
|
895
|
-
export declare interface TableEntityQueryOptions {
|
|
896
|
-
/**
|
|
897
|
-
* OData filter expression.
|
|
898
|
-
*/
|
|
899
|
-
filter?: string;
|
|
900
|
-
/**
|
|
901
|
-
* A select expression limits the properties on each entity to just those requested.
|
|
902
|
-
*/
|
|
903
|
-
select?: string[];
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* Output type for query operations
|
|
908
|
-
*/
|
|
909
|
-
export declare type TableEntityResult<T> = T & {
|
|
910
|
-
/**
|
|
911
|
-
* etag property. Always returned by the service
|
|
912
|
-
*/
|
|
913
|
-
etag: string;
|
|
914
|
-
/**
|
|
915
|
-
* Partition key property. Omitted if a select filter is set and this property is not requested
|
|
916
|
-
*/
|
|
917
|
-
partitionKey?: string;
|
|
918
|
-
/**
|
|
919
|
-
* Row key property. Omitted if a select filter is set and this property is not requested
|
|
920
|
-
*/
|
|
921
|
-
rowKey?: string;
|
|
922
|
-
/**
|
|
923
|
-
* Timestamp property. This property is assinged by the service on entity creation
|
|
924
|
-
* Omitted if a select filter is set and this property is not requested
|
|
925
|
-
*/
|
|
926
|
-
timestamp?: string;
|
|
927
|
-
};
|
|
928
|
-
|
|
929
|
-
/**
|
|
930
|
-
* Output page type for query operations
|
|
931
|
-
*/
|
|
932
|
-
export declare type TableEntityResultPage<T> = Array<TableEntityResult<T>> & {
|
|
933
|
-
/**
|
|
934
|
-
* Continuation token to get the next page
|
|
935
|
-
*/
|
|
936
|
-
continuationToken?: string;
|
|
937
|
-
};
|
|
938
|
-
|
|
939
|
-
/** Defines headers for Table_getAccessPolicy operation. */
|
|
940
|
-
export declare interface TableGetAccessPolicyHeaders {
|
|
941
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
942
|
-
clientRequestId?: string;
|
|
943
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
944
|
-
requestId?: string;
|
|
945
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
946
|
-
version?: string;
|
|
947
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
948
|
-
date?: Date;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
/** Defines headers for Table_insertEntity operation. */
|
|
952
|
-
export declare interface TableInsertEntityHeaders {
|
|
953
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
954
|
-
clientRequestId?: string;
|
|
955
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
956
|
-
requestId?: string;
|
|
957
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
958
|
-
version?: string;
|
|
959
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
960
|
-
date?: Date;
|
|
961
|
-
/** UTC date/time value generated by the service that indicates the time at which the entity was last updated. */
|
|
962
|
-
etag?: string;
|
|
963
|
-
/** Indicates whether the Prefer request header was honored. If the response does not include this header, then the Prefer header was not honored. If this header is returned, its value will either be return-content or return-no-content. */
|
|
964
|
-
preferenceApplied?: string;
|
|
965
|
-
/** Indicates the content type of the payload. The value depends on the value specified for the Accept request header. */
|
|
966
|
-
contentType?: string;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
/** The properties for the table item. */
|
|
970
|
-
export declare interface TableItem {
|
|
971
|
-
/** The name of the table. */
|
|
972
|
-
name?: string;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* Output page type for table query operations
|
|
977
|
-
*/
|
|
978
|
-
export declare interface TableItemResultPage extends Array<TableItem> {
|
|
979
|
-
/**
|
|
980
|
-
* Continuation token to get the next TableItem page
|
|
981
|
-
*/
|
|
982
|
-
continuationToken?: string;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
/** Defines headers for Table_mergeEntity operation. */
|
|
986
|
-
export declare interface TableMergeEntityHeaders {
|
|
987
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
988
|
-
clientRequestId?: string;
|
|
989
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
990
|
-
requestId?: string;
|
|
991
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
992
|
-
version?: string;
|
|
993
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
994
|
-
date?: Date;
|
|
995
|
-
/** UTC date/time value generated by the service that indicates the time at which the entity was last updated. */
|
|
996
|
-
etag?: string;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
/**
|
|
1000
|
-
* OData Query options to limit the set of tables returned.
|
|
1001
|
-
*/
|
|
1002
|
-
export declare interface TableQueryOptions {
|
|
1003
|
-
/**
|
|
1004
|
-
* OData filter expression.
|
|
1005
|
-
*/
|
|
1006
|
-
filter?: string;
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
/** The properties for the table query response. */
|
|
1010
|
-
export declare interface TableQueryResponse {
|
|
1011
|
-
/** List of tables. */
|
|
1012
|
-
value?: TableItem[];
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
/**
|
|
1016
|
-
* A type that looks like a Table SAS permission.
|
|
1017
|
-
* Used in {@link TableSasPermissions} to parse SAS permissions from raw objects.
|
|
1018
|
-
*/
|
|
1019
|
-
export declare interface TableSasPermissions {
|
|
1020
|
-
/**
|
|
1021
|
-
* Specifies Query access granted.
|
|
1022
|
-
*/
|
|
1023
|
-
query?: boolean;
|
|
1024
|
-
/**
|
|
1025
|
-
* Specifies Add access granted.
|
|
1026
|
-
*/
|
|
1027
|
-
add?: boolean;
|
|
1028
|
-
/**
|
|
1029
|
-
* Specifies Update access granted.
|
|
1030
|
-
*/
|
|
1031
|
-
update?: boolean;
|
|
1032
|
-
/**
|
|
1033
|
-
* Specifies Delete access granted.
|
|
1034
|
-
*/
|
|
1035
|
-
delete?: boolean;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
/**
|
|
1039
|
-
* ONLY AVAILABLE IN NODE.JS RUNTIME.
|
|
1040
|
-
*
|
|
1041
|
-
* TableSASSignatureValues is used to help generating Table service SAS tokens for tables
|
|
1042
|
-
*/
|
|
1043
|
-
export declare interface TableSasSignatureValues {
|
|
1044
|
-
/**
|
|
1045
|
-
* The version of the service this SAS will target. If not specified, it will default to the version targeted by the
|
|
1046
|
-
* library.
|
|
1047
|
-
*/
|
|
1048
|
-
version?: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* Optional. SAS protocols, HTTPS only or HTTPSandHTTP
|
|
1051
|
-
*/
|
|
1052
|
-
protocol?: SasProtocol;
|
|
1053
|
-
/**
|
|
1054
|
-
* Optional. When the SAS will take effect.
|
|
1055
|
-
*/
|
|
1056
|
-
startsOn?: Date;
|
|
1057
|
-
/**
|
|
1058
|
-
* Optional. If identifier is not provided has a default value of one hour from the time the token is generated.
|
|
1059
|
-
* The time after which the SAS will no longer work.
|
|
1060
|
-
*/
|
|
1061
|
-
expiresOn?: Date;
|
|
1062
|
-
/**
|
|
1063
|
-
* Optional. If identifier is not provided has a default value of "read"
|
|
1064
|
-
* Please refer to {@link TableSasPermissions} depending on the resource
|
|
1065
|
-
* being accessed for help constructing the permissions string.
|
|
1066
|
-
*/
|
|
1067
|
-
permissions?: TableSasPermissions;
|
|
1068
|
-
/**
|
|
1069
|
-
* Optional. IP ranges allowed in this SAS.
|
|
1070
|
-
*/
|
|
1071
|
-
ipRange?: SasIPRange;
|
|
1072
|
-
/**
|
|
1073
|
-
* Optional. The name of the access policy on the container this SAS references if any.
|
|
1074
|
-
*
|
|
1075
|
-
* @see https://docs.microsoft.com/en-us/rest/api/storageservices/establishing-a-stored-access-policy
|
|
1076
|
-
*/
|
|
1077
|
-
identifier?: string;
|
|
1078
|
-
/**
|
|
1079
|
-
* Define the start of a Partition Key range
|
|
1080
|
-
* Table queries will only return results that are within the range, and attempts to use the shared access signature to add, update, or delete entities outside this range will fail.
|
|
1081
|
-
* If startPartitionKey equals endPartitionKey the shared access signature only authorizes access to entities in one partition in the table.
|
|
1082
|
-
* If startPartitionKey equals endPartitionKey and startRowKey equals endRowKey, the shared access signature can only access one entity in one partition
|
|
1083
|
-
*/
|
|
1084
|
-
startPartitionKey?: string;
|
|
1085
|
-
/**
|
|
1086
|
-
* Define the end of a Partition Key range
|
|
1087
|
-
* Table queries will only return results that are within the range, and attempts to use the shared access signature to add, update, or delete entities outside this range will fail.
|
|
1088
|
-
* If startPartitionKey equals endPartitionKey the shared access signature only authorizes access to entities in one partition in the table.
|
|
1089
|
-
* If startPartitionKey equals endPartitionKey and startRowKey equals endRowKey, the shared access signature can only access one entity in one partition
|
|
1090
|
-
*/
|
|
1091
|
-
endPartitionKey?: string;
|
|
1092
|
-
/**
|
|
1093
|
-
* Define the start of a Row Key range
|
|
1094
|
-
* Table queries will only return results that are within the range, and attempts to use the shared access signature to add, update, or delete entities outside this range will fail.
|
|
1095
|
-
* If startPartitionKey equals endPartitionKey the shared access signature only authorizes access to entities in one partition in the table.
|
|
1096
|
-
* If startPartitionKey equals endPartitionKey and startRowKey equals endRowKey, the shared access signature can only access one entity in one partition
|
|
1097
|
-
*/
|
|
1098
|
-
startRowKey?: string;
|
|
1099
|
-
/**
|
|
1100
|
-
* Define the end of a Row Key range
|
|
1101
|
-
* Table queries will only return results that are within the range, and attempts to use the shared access signature to add, update, or delete entities outside this range will fail.
|
|
1102
|
-
* If startPartitionKey equals endPartitionKey the shared access signature only authorizes access to entities in one partition in the table.
|
|
1103
|
-
* If startPartitionKey equals endPartitionKey and startRowKey equals endRowKey, the shared access signature can only access one entity in one partition
|
|
1104
|
-
*/
|
|
1105
|
-
endRowKey?: string;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* A TableServiceClient represents a Client to the Azure Tables service allowing you
|
|
1110
|
-
* to perform operations on the tables and the entities.
|
|
1111
|
-
*/
|
|
1112
|
-
export declare class TableServiceClient {
|
|
1113
|
-
/**
|
|
1114
|
-
* Table Account URL
|
|
1115
|
-
*/
|
|
1116
|
-
url: string;
|
|
1117
|
-
/**
|
|
1118
|
-
* Represents a pipeline for making a HTTP request to a URL.
|
|
1119
|
-
* Pipelines can have multiple policies to manage manipulating each request before and after it is made to the server.
|
|
1120
|
-
*/
|
|
1121
|
-
pipeline: Pipeline;
|
|
1122
|
-
private table;
|
|
1123
|
-
private service;
|
|
1124
|
-
/**
|
|
1125
|
-
* Creates a new instance of the TableServiceClient class.
|
|
1126
|
-
*
|
|
1127
|
-
* @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net".
|
|
1128
|
-
* @param credential - NamedKeyCredential | SASCredential used to authenticate requests. Only Supported for Node
|
|
1129
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
1130
|
-
*
|
|
1131
|
-
* ### Example using an account name/key:
|
|
1132
|
-
*
|
|
1133
|
-
* ```js
|
|
1134
|
-
* const { AzureNamedKeyCredential, TableServiceClient } = require("@azure/data-tables")
|
|
1135
|
-
* const account = "<storage account name>"
|
|
1136
|
-
* const sharedKeyCredential = new AzureNamedKeyCredential(account, "<account key>");
|
|
1137
|
-
*
|
|
1138
|
-
* const tableServiceClient = new TableServiceClient(
|
|
1139
|
-
* `https://${account}.table.core.windows.net`,
|
|
1140
|
-
* sharedKeyCredential
|
|
1141
|
-
* );
|
|
1142
|
-
* ```
|
|
1143
|
-
*/
|
|
1144
|
-
constructor(url: string, credential: NamedKeyCredential, options?: TableServiceClientOptions);
|
|
1145
|
-
/**
|
|
1146
|
-
* Creates a new instance of the TableServiceClient class.
|
|
1147
|
-
*
|
|
1148
|
-
* @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net".
|
|
1149
|
-
* @param credential - SASCredential used to authenticate requests
|
|
1150
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
1151
|
-
*
|
|
1152
|
-
* ### Example using a SAS Token.
|
|
1153
|
-
*
|
|
1154
|
-
* ```js
|
|
1155
|
-
* const { AzureSASCredential, TableServiceClient } = require("@azure/data-tables")
|
|
1156
|
-
* const account = "<storage account name>"
|
|
1157
|
-
* const sasCredential = new AzureSASCredential(account, "<account key>");
|
|
1158
|
-
*
|
|
1159
|
-
* const tableServiceClient = new TableServiceClient(
|
|
1160
|
-
* `https://${account}.table.core.windows.net`,
|
|
1161
|
-
* sasCredential
|
|
1162
|
-
* );
|
|
1163
|
-
* ```
|
|
1164
|
-
*/
|
|
1165
|
-
constructor(url: string, credential: SASCredential, options?: TableServiceClientOptions);
|
|
1166
|
-
/**
|
|
1167
|
-
* Creates a new instance of the TableServiceClient class.
|
|
1168
|
-
*
|
|
1169
|
-
* @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net".
|
|
1170
|
-
* @param credential - Azure Active Directory credential used to authenticate requests
|
|
1171
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
1172
|
-
*
|
|
1173
|
-
* ### Example using an Azure Active Directory credential:
|
|
1174
|
-
*
|
|
1175
|
-
* ```js
|
|
1176
|
-
* cons { DefaultAzureCredential } = require("@azure/identity");
|
|
1177
|
-
* const { TableServiceClient } = require("@azure/data-tables")
|
|
1178
|
-
* const account = "<storage account name>"
|
|
1179
|
-
* const credential = new DefaultAzureCredential();
|
|
1180
|
-
*
|
|
1181
|
-
* const tableServiceClient = new TableServiceClient(
|
|
1182
|
-
* `https://${account}.table.core.windows.net`,
|
|
1183
|
-
* credential
|
|
1184
|
-
* );
|
|
1185
|
-
* ```
|
|
1186
|
-
*/
|
|
1187
|
-
constructor(url: string, credential: TokenCredential, options?: TableServiceClientOptions);
|
|
1188
|
-
/**
|
|
1189
|
-
* Creates a new instance of the TableServiceClient class.
|
|
1190
|
-
*
|
|
1191
|
-
* @param url - The URL of the service account that is the target of the desired operation., such as
|
|
1192
|
-
* "https://myaccount.table.core.windows.net". You can append a SAS,
|
|
1193
|
-
* such as "https://myaccount.table.core.windows.net?sasString".
|
|
1194
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
1195
|
-
* Example appending a SAS token:
|
|
1196
|
-
*
|
|
1197
|
-
* ```js
|
|
1198
|
-
* const account = "<storage account name>";
|
|
1199
|
-
* const sasToken = "<SAS token>";
|
|
1200
|
-
*
|
|
1201
|
-
* const tableServiceClient = new TableServiceClient(
|
|
1202
|
-
* `https://${account}.table.core.windows.net?${sasToken}`,
|
|
1203
|
-
* );
|
|
1204
|
-
* ```
|
|
1205
|
-
*/
|
|
1206
|
-
constructor(url: string, options?: TableServiceClientOptions);
|
|
1207
|
-
/**
|
|
1208
|
-
* Retrieves statistics related to replication for the Table service. It is only available on the
|
|
1209
|
-
* secondary location endpoint when read-access geo-redundant replication is enabled for the account.
|
|
1210
|
-
* @param options - The options parameters.
|
|
1211
|
-
*/
|
|
1212
|
-
getStatistics(options?: OperationOptions): Promise<GetStatisticsResponse>;
|
|
1213
|
-
/**
|
|
1214
|
-
* Gets the properties of an account's Table service, including properties for Analytics and CORS
|
|
1215
|
-
* (Cross-Origin Resource Sharing) rules.
|
|
1216
|
-
* @param options - The options parameters.
|
|
1217
|
-
*/
|
|
1218
|
-
getProperties(options?: OperationOptions): Promise<GetPropertiesResponse>;
|
|
1219
|
-
/**
|
|
1220
|
-
* Sets properties for an account's Table service endpoint, including properties for Analytics and CORS
|
|
1221
|
-
* (Cross-Origin Resource Sharing) rules.
|
|
1222
|
-
* @param properties - The Table Service properties.
|
|
1223
|
-
* @param options - The options parameters.
|
|
1224
|
-
*/
|
|
1225
|
-
setProperties(properties: ServiceProperties, options?: SetPropertiesOptions): Promise<SetPropertiesResponse>;
|
|
1226
|
-
/**
|
|
1227
|
-
* Creates a new table under the given account.
|
|
1228
|
-
* @param name - The name of the table.
|
|
1229
|
-
* @param options - The options parameters.
|
|
1230
|
-
*/
|
|
1231
|
-
createTable(name: string, options?: OperationOptions): Promise<void>;
|
|
1232
|
-
/**
|
|
1233
|
-
* Operation permanently deletes the specified table.
|
|
1234
|
-
* @param name - The name of the table.
|
|
1235
|
-
* @param options - The options parameters.
|
|
1236
|
-
*/
|
|
1237
|
-
deleteTable(name: string, options?: OperationOptions): Promise<void>;
|
|
1238
|
-
/**
|
|
1239
|
-
* Queries tables under the given account.
|
|
1240
|
-
* @param options - The options parameters.
|
|
1241
|
-
*/
|
|
1242
|
-
listTables(options?: ListTableItemsOptions): PagedAsyncIterableIterator<TableItem, TableItemResultPage>;
|
|
1243
|
-
private listTablesAll;
|
|
1244
|
-
private listTablesPage;
|
|
1245
|
-
private _listTables;
|
|
1246
|
-
/**
|
|
1247
|
-
*
|
|
1248
|
-
* Creates an instance of TableServiceClient from connection string.
|
|
1249
|
-
*
|
|
1250
|
-
* @param connectionString - Account connection string or a SAS connection string of an Azure storage account.
|
|
1251
|
-
* [ Note - Account connection string can only be used in NODE.JS runtime. ]
|
|
1252
|
-
* Account connection string example -
|
|
1253
|
-
* `DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=accountKey;EndpointSuffix=core.windows.net`
|
|
1254
|
-
* SAS connection string example -
|
|
1255
|
-
* `BlobEndpoint=https://myaccount.table.core.windows.net/;QueueEndpoint=https://myaccount.queue.core.windows.net/;FileEndpoint=https://myaccount.file.core.windows.net/;TableEndpoint=https://myaccount.table.core.windows.net/;SharedAccessSignature=sasString`
|
|
1256
|
-
* @param options - Options to configure the HTTP pipeline.
|
|
1257
|
-
* @returns A new TableServiceClient from the given connection string.
|
|
1258
|
-
*/
|
|
1259
|
-
static fromConnectionString(connectionString: string, options?: TableServiceClientOptions): TableServiceClient;
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* Client options used to configure Tables Api requests
|
|
1264
|
-
*/
|
|
1265
|
-
export declare type TableServiceClientOptions = CommonClientOptions & {
|
|
1266
|
-
endpoint?: string;
|
|
1267
|
-
version?: string;
|
|
1268
|
-
};
|
|
1269
|
-
|
|
1270
|
-
/** Stats for the service. */
|
|
1271
|
-
export declare interface TableServiceStats {
|
|
1272
|
-
/** Geo-Replication information for the Secondary Storage Service. */
|
|
1273
|
-
geoReplication?: GeoReplication;
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
/** Defines headers for Table_setAccessPolicy operation. */
|
|
1277
|
-
export declare interface TableSetAccessPolicyHeaders {
|
|
1278
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
1279
|
-
clientRequestId?: string;
|
|
1280
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
1281
|
-
requestId?: string;
|
|
1282
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
1283
|
-
version?: string;
|
|
1284
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
1285
|
-
date?: Date;
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* Helper to build a list of transaction actions
|
|
1290
|
-
*/
|
|
1291
|
-
export declare class TableTransaction {
|
|
1292
|
-
/**
|
|
1293
|
-
* List of actions to perform in a transaction
|
|
1294
|
-
*/
|
|
1295
|
-
actions: TransactionAction[];
|
|
1296
|
-
constructor(actions?: TransactionAction[]);
|
|
1297
|
-
/**
|
|
1298
|
-
* Adds a create action to the transaction
|
|
1299
|
-
* @param entity - entity to create
|
|
1300
|
-
*/
|
|
1301
|
-
createEntity<T extends object = Record<string, unknown>>(entity: TableEntity<T>): void;
|
|
1302
|
-
/**
|
|
1303
|
-
* Adds a delete action to the transaction
|
|
1304
|
-
* @param partitionKey - partition key of the entity to delete
|
|
1305
|
-
* @param rowKey - rowKey of the entity to delete
|
|
1306
|
-
*/
|
|
1307
|
-
deleteEntity(partitionKey: string, rowKey: string): void;
|
|
1308
|
-
/**
|
|
1309
|
-
* Adds an update action to the transaction
|
|
1310
|
-
* @param entity - entity to update
|
|
1311
|
-
* @param updateOptions - options for the update operation
|
|
1312
|
-
*/
|
|
1313
|
-
updateEntity<T extends object = Record<string, unknown>>(entity: TableEntity<T>, updateOptions?: UpdateTableEntityOptions): void;
|
|
1314
|
-
/**
|
|
1315
|
-
* Adds an update action to the transaction
|
|
1316
|
-
* @param entity - entity to update
|
|
1317
|
-
* @param updateMode - update mode
|
|
1318
|
-
* @param updateOptions - options for the update operation
|
|
1319
|
-
*/
|
|
1320
|
-
updateEntity<T extends object = Record<string, unknown>>(entity: TableEntity<T>, updateMode: UpdateMode, updateOptions?: UpdateTableEntityOptions): void;
|
|
1321
|
-
/**
|
|
1322
|
-
* Adds an upsert action to the transaction, which inserts if the entity doesn't exist or updates the existing one
|
|
1323
|
-
* @param entity - entity to upsert
|
|
1324
|
-
* @param updateMode - update mode
|
|
1325
|
-
*/
|
|
1326
|
-
upsertEntity<T extends object = Record<string, unknown>>(entity: TableEntity<T>, updateMode?: UpdateMode): void;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
/**
|
|
1330
|
-
* Represents a sub-response of a Transaction operation
|
|
1331
|
-
*/
|
|
1332
|
-
export declare interface TableTransactionEntityResponse {
|
|
1333
|
-
/**
|
|
1334
|
-
* Entity's etag
|
|
1335
|
-
*/
|
|
1336
|
-
etag?: string;
|
|
1337
|
-
/**
|
|
1338
|
-
* Entity's rowKey
|
|
1339
|
-
*/
|
|
1340
|
-
rowKey?: string;
|
|
1341
|
-
/**
|
|
1342
|
-
* Sub-response status
|
|
1343
|
-
*/
|
|
1344
|
-
status: number;
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
/**
|
|
1348
|
-
* Represents the response of a Transaction operation
|
|
1349
|
-
*/
|
|
1350
|
-
export declare interface TableTransactionResponse {
|
|
1351
|
-
/**
|
|
1352
|
-
* Collection of sub responses
|
|
1353
|
-
*/
|
|
1354
|
-
subResponses: TableTransactionEntityResponse[];
|
|
1355
|
-
/**
|
|
1356
|
-
* Main Transaction request status code
|
|
1357
|
-
*/
|
|
1358
|
-
status: number;
|
|
1359
|
-
/**
|
|
1360
|
-
* Gets a specific response given a row key
|
|
1361
|
-
*/
|
|
1362
|
-
getResponseForEntity: (rowKey: string) => TableTransactionEntityResponse | undefined;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
/** Defines headers for Table_updateEntity operation. */
|
|
1366
|
-
export declare interface TableUpdateEntityHeaders {
|
|
1367
|
-
/** If a client request id header is sent in the request, this header will be present in the response with the same value. */
|
|
1368
|
-
clientRequestId?: string;
|
|
1369
|
-
/** This header uniquely identifies the request that was made and can be used for troubleshooting the request. */
|
|
1370
|
-
requestId?: string;
|
|
1371
|
-
/** Indicates the version of the Table service used to execute the request. This header is returned for requests made against version 2009-09-19 and above. */
|
|
1372
|
-
version?: string;
|
|
1373
|
-
/** UTC date/time value generated by the service that indicates the time at which the response was initiated. */
|
|
1374
|
-
date?: Date;
|
|
1375
|
-
/** UTC date/time value generated by the service that indicates the time at which the entity was last updated. */
|
|
1376
|
-
etag?: string;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* Represents the union of all the available transactional actions
|
|
1381
|
-
*/
|
|
1382
|
-
export declare type TransactionAction = CreateDeleteEntityAction | UpdateEntityAction;
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
* Represents the Update or Upsert Entity operation to be included in a Transaction request
|
|
1386
|
-
*/
|
|
1387
|
-
export declare type UpdateEntityAction = ["update" | "upsert", TableEntity] | ["update" | "upsert", TableEntity, "Merge" | "Replace"] | ["update" | "upsert", TableEntity, "Merge" | "Replace", UpdateTableEntityOptions | undefined];
|
|
1388
|
-
|
|
1389
|
-
/** Contains response data for the updateEntity operation. */
|
|
1390
|
-
export declare type UpdateEntityResponse = TableUpdateEntityHeaders;
|
|
1391
|
-
|
|
1392
|
-
/**
|
|
1393
|
-
* The different modes for Update and Upsert methods
|
|
1394
|
-
* - Merge: Updates an entity by updating the entity's properties without replacing the existing entity.
|
|
1395
|
-
* - Replace: Updates an existing entity by replacing the entire entity.
|
|
1396
|
-
*/
|
|
1397
|
-
export declare type UpdateMode = "Merge" | "Replace";
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* Update entity optional parameters.
|
|
1401
|
-
*/
|
|
1402
|
-
export declare type UpdateTableEntityOptions = OperationOptions & {
|
|
1403
|
-
/**
|
|
1404
|
-
* Match condition for an entity to be updated. If specified and a matching entity is not found, an error will be raised. To force an unconditional update, set to the wildcard character (*). If not specified, an insert will be performed when no existing entity is found to update and a replace will be performed if an existing entity is found.
|
|
1405
|
-
*/
|
|
1406
|
-
etag?: string;
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
/** Contains response data for the mergeEntity operation. */
|
|
1410
|
-
export declare type UpsertEntityResponse = TableMergeEntityHeaders;
|
|
1411
|
-
|
|
1412
|
-
export { }
|