@azure/data-tables 13.0.1 → 13.0.2-alpha.20220208.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/CHANGELOG.md +10 -0
- package/dist/index.js +37 -21
- package/dist/index.js.map +1 -1
- package/dist-esm/src/TableTransaction.js +1 -1
- package/dist-esm/src/TableTransaction.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +1 -1
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/package.json +8 -19
- package/types/latest/tsdoc-metadata.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,17 +3,37 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var tslib = require('tslib');
|
|
6
|
-
var coreAuth = require('@azure/core-auth');
|
|
7
|
-
var crypto = require('crypto');
|
|
8
6
|
require('@azure/core-paging');
|
|
7
|
+
var coreAuth = require('@azure/core-auth');
|
|
9
8
|
var coreXml = require('@azure/core-xml');
|
|
10
9
|
var coreClient = require('@azure/core-client');
|
|
11
10
|
var coreTracing = require('@azure/core-tracing');
|
|
12
11
|
var url$1 = require('url');
|
|
13
12
|
var logger$1 = require('@azure/logger');
|
|
13
|
+
var crypto = require('crypto');
|
|
14
14
|
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
15
15
|
var uuid = require('uuid');
|
|
16
16
|
|
|
17
|
+
function _interopNamespace(e) {
|
|
18
|
+
if (e && e.__esModule) return e;
|
|
19
|
+
var n = Object.create(null);
|
|
20
|
+
if (e) {
|
|
21
|
+
Object.keys(e).forEach(function (k) {
|
|
22
|
+
if (k !== 'default') {
|
|
23
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
24
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return e[k]; }
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
n["default"] = e;
|
|
32
|
+
return Object.freeze(n);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
|
36
|
+
|
|
17
37
|
/*
|
|
18
38
|
* Copyright (c) Microsoft Corporation.
|
|
19
39
|
* Licensed under the MIT License.
|
|
@@ -34,6 +54,8 @@ var KnownResponseFormat;
|
|
|
34
54
|
KnownResponseFormat["ReturnNoContent"] = "return-no-content";
|
|
35
55
|
KnownResponseFormat["ReturnContent"] = "return-content";
|
|
36
56
|
})(KnownResponseFormat || (KnownResponseFormat = {}));
|
|
57
|
+
/** Known values of {@link GeoReplicationStatusType} that the service accepts. */
|
|
58
|
+
exports.KnownGeoReplicationStatusType = void 0;
|
|
37
59
|
(function (KnownGeoReplicationStatusType) {
|
|
38
60
|
KnownGeoReplicationStatusType["Live"] = "live";
|
|
39
61
|
KnownGeoReplicationStatusType["Bootstrap"] = "bootstrap";
|
|
@@ -2596,8 +2618,8 @@ class TableImpl {
|
|
|
2596
2618
|
}
|
|
2597
2619
|
}
|
|
2598
2620
|
// Operation Specifications
|
|
2599
|
-
const xmlSerializer =
|
|
2600
|
-
const serializer =
|
|
2621
|
+
const xmlSerializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ true);
|
|
2622
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2601
2623
|
const queryOperationSpec = {
|
|
2602
2624
|
path: "/Tables",
|
|
2603
2625
|
httpMethod: "GET",
|
|
@@ -2897,7 +2919,7 @@ const getAccessPolicyOperationSpec = {
|
|
|
2897
2919
|
accept2
|
|
2898
2920
|
],
|
|
2899
2921
|
isXML: true,
|
|
2900
|
-
serializer: xmlSerializer
|
|
2922
|
+
serializer: xmlSerializer$1
|
|
2901
2923
|
};
|
|
2902
2924
|
const setAccessPolicyOperationSpec = {
|
|
2903
2925
|
path: "/{table}",
|
|
@@ -2923,7 +2945,7 @@ const setAccessPolicyOperationSpec = {
|
|
|
2923
2945
|
isXML: true,
|
|
2924
2946
|
contentType: "application/xml; charset=utf-8",
|
|
2925
2947
|
mediaType: "xml",
|
|
2926
|
-
serializer: xmlSerializer
|
|
2948
|
+
serializer: xmlSerializer$1
|
|
2927
2949
|
};
|
|
2928
2950
|
|
|
2929
2951
|
/*
|
|
@@ -2969,7 +2991,7 @@ class ServiceImpl {
|
|
|
2969
2991
|
}
|
|
2970
2992
|
}
|
|
2971
2993
|
// Operation Specifications
|
|
2972
|
-
const xmlSerializer
|
|
2994
|
+
const xmlSerializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ true);
|
|
2973
2995
|
const setPropertiesOperationSpec = {
|
|
2974
2996
|
path: "/",
|
|
2975
2997
|
httpMethod: "PUT",
|
|
@@ -2994,7 +3016,7 @@ const setPropertiesOperationSpec = {
|
|
|
2994
3016
|
isXML: true,
|
|
2995
3017
|
contentType: "application/xml; charset=utf-8",
|
|
2996
3018
|
mediaType: "xml",
|
|
2997
|
-
serializer: xmlSerializer
|
|
3019
|
+
serializer: xmlSerializer
|
|
2998
3020
|
};
|
|
2999
3021
|
const getPropertiesOperationSpec = {
|
|
3000
3022
|
path: "/",
|
|
@@ -3017,7 +3039,7 @@ const getPropertiesOperationSpec = {
|
|
|
3017
3039
|
accept2
|
|
3018
3040
|
],
|
|
3019
3041
|
isXML: true,
|
|
3020
|
-
serializer: xmlSerializer
|
|
3042
|
+
serializer: xmlSerializer
|
|
3021
3043
|
};
|
|
3022
3044
|
const getStatisticsOperationSpec = {
|
|
3023
3045
|
path: "/",
|
|
@@ -3040,7 +3062,7 @@ const getStatisticsOperationSpec = {
|
|
|
3040
3062
|
accept2
|
|
3041
3063
|
],
|
|
3042
3064
|
isXML: true,
|
|
3043
|
-
serializer: xmlSerializer
|
|
3065
|
+
serializer: xmlSerializer
|
|
3044
3066
|
};
|
|
3045
3067
|
|
|
3046
3068
|
/*
|
|
@@ -3051,7 +3073,7 @@ const getStatisticsOperationSpec = {
|
|
|
3051
3073
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3052
3074
|
*/
|
|
3053
3075
|
/** @internal */
|
|
3054
|
-
class GeneratedClientContext extends
|
|
3076
|
+
class GeneratedClientContext extends coreClient__namespace.ServiceClient {
|
|
3055
3077
|
/**
|
|
3056
3078
|
* Initializes a new instance of the GeneratedClientContext class.
|
|
3057
3079
|
* @param url The URL of the service account or table that is the target of the desired operation.
|
|
@@ -3068,7 +3090,7 @@ class GeneratedClientContext extends coreClient.ServiceClient {
|
|
|
3068
3090
|
const defaults = {
|
|
3069
3091
|
requestContentType: "application/json; charset=utf-8"
|
|
3070
3092
|
};
|
|
3071
|
-
const packageDetails = `azsdk-js-data-tables/13.0.
|
|
3093
|
+
const packageDetails = `azsdk-js-data-tables/13.0.2`;
|
|
3072
3094
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3073
3095
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3074
3096
|
: `${packageDetails}`;
|
|
@@ -5003,21 +5025,15 @@ class TableClient {
|
|
|
5003
5025
|
|
|
5004
5026
|
Object.defineProperty(exports, 'AzureNamedKeyCredential', {
|
|
5005
5027
|
enumerable: true,
|
|
5006
|
-
get: function () {
|
|
5007
|
-
return coreAuth.AzureNamedKeyCredential;
|
|
5008
|
-
}
|
|
5028
|
+
get: function () { return coreAuth.AzureNamedKeyCredential; }
|
|
5009
5029
|
});
|
|
5010
5030
|
Object.defineProperty(exports, 'AzureSASCredential', {
|
|
5011
5031
|
enumerable: true,
|
|
5012
|
-
get: function () {
|
|
5013
|
-
return coreAuth.AzureSASCredential;
|
|
5014
|
-
}
|
|
5032
|
+
get: function () { return coreAuth.AzureSASCredential; }
|
|
5015
5033
|
});
|
|
5016
5034
|
Object.defineProperty(exports, 'RestError', {
|
|
5017
5035
|
enumerable: true,
|
|
5018
|
-
get: function () {
|
|
5019
|
-
return coreRestPipeline.RestError;
|
|
5020
|
-
}
|
|
5036
|
+
get: function () { return coreRestPipeline.RestError; }
|
|
5021
5037
|
});
|
|
5022
5038
|
exports.TableClient = TableClient;
|
|
5023
5039
|
exports.TableServiceClient = TableServiceClient;
|