@ms-cloudpack/remote-cache 0.11.76 → 0.11.78
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/{AzureRemoteCacheClient-BP6CQQWQ.js → AzureRemoteCacheClient-S57Z5QDW.js} +188 -144
- package/dist/{ReporterDecorator-ZL5AFS6T.js → ReporterDecorator-DNRF2TDF.js} +7 -4
- package/dist/{chunk-O35GBBPD.js → chunk-3WTIWSWN.js} +1 -1
- package/dist/{chunk-7NTERDBN.js → chunk-BOUMQX3J.js} +16 -13
- package/dist/{chunk-3L2TUMSL.js → chunk-DTZKESCD.js} +612 -602
- package/dist/{chunk-G5MAFA37.js → chunk-GKUS2JGY.js} +1 -4
- package/dist/{chunk-HL7BG7JS.js → chunk-HONSOHFT.js} +1 -1
- package/dist/{chunk-4NNZM6TT.js → chunk-MIWDHAQF.js} +1 -1
- package/dist/{esm-U24ST7GI.js → esm-DMIAQHJU.js} +4 -4
- package/dist/{getCredential-ZFTRCRNY.js → getCredential-Y4HWJOQE.js} +784 -752
- package/dist/{getListOfBlobs-USCOZRLX.js → getListOfBlobs-EKSDNQNV.js} +1 -1
- package/dist/index.js +62 -55
- package/package.json +6 -6
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
require_dist2,
|
|
12
12
|
require_state,
|
|
13
13
|
require_state2
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BOUMQX3J.js";
|
|
15
15
|
import {
|
|
16
16
|
__esm,
|
|
17
17
|
__export,
|
|
18
18
|
__name,
|
|
19
|
-
__publicField,
|
|
20
19
|
__toESM
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GKUS2JGY.js";
|
|
22
21
|
|
|
23
22
|
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/abort-controller/AbortError.js
|
|
24
|
-
var
|
|
23
|
+
var AbortError;
|
|
25
24
|
var init_AbortError = __esm({
|
|
26
25
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/abort-controller/AbortError.js"() {
|
|
27
|
-
|
|
26
|
+
AbortError = class extends Error {
|
|
27
|
+
static {
|
|
28
|
+
__name(this, "AbortError");
|
|
29
|
+
}
|
|
28
30
|
constructor(message) {
|
|
29
31
|
super(message);
|
|
30
32
|
this.name = "AbortError";
|
|
31
33
|
}
|
|
32
34
|
};
|
|
33
|
-
__name(_AbortError, "AbortError");
|
|
34
|
-
AbortError = _AbortError;
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
|
|
@@ -334,12 +334,15 @@ function* headerIterator(map) {
|
|
|
334
334
|
function createHttpHeaders(rawHeaders) {
|
|
335
335
|
return new HttpHeadersImpl(rawHeaders);
|
|
336
336
|
}
|
|
337
|
-
var
|
|
337
|
+
var HttpHeadersImpl;
|
|
338
338
|
var init_httpHeaders = __esm({
|
|
339
339
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/httpHeaders.js"() {
|
|
340
340
|
__name(normalizeName, "normalizeName");
|
|
341
341
|
__name(headerIterator, "headerIterator");
|
|
342
|
-
|
|
342
|
+
HttpHeadersImpl = class {
|
|
343
|
+
static {
|
|
344
|
+
__name(this, "HttpHeadersImpl");
|
|
345
|
+
}
|
|
343
346
|
_headersMap;
|
|
344
347
|
constructor(rawHeaders) {
|
|
345
348
|
this._headersMap = /* @__PURE__ */ new Map();
|
|
@@ -364,8 +367,7 @@ var init_httpHeaders = __esm({
|
|
|
364
367
|
* @param name - The name of the header. This value is case-insensitive.
|
|
365
368
|
*/
|
|
366
369
|
get(name) {
|
|
367
|
-
|
|
368
|
-
return (_a3 = this._headersMap.get(normalizeName(name))) == null ? void 0 : _a3.value;
|
|
370
|
+
return this._headersMap.get(normalizeName(name))?.value;
|
|
369
371
|
}
|
|
370
372
|
/**
|
|
371
373
|
* Get whether or not this header collection contains a header entry for the provided header name.
|
|
@@ -410,8 +412,6 @@ var init_httpHeaders = __esm({
|
|
|
410
412
|
return headerIterator(this._headersMap);
|
|
411
413
|
}
|
|
412
414
|
};
|
|
413
|
-
__name(_HttpHeadersImpl, "HttpHeadersImpl");
|
|
414
|
-
HttpHeadersImpl = _HttpHeadersImpl;
|
|
415
415
|
__name(createHttpHeaders, "createHttpHeaders");
|
|
416
416
|
}
|
|
417
417
|
});
|
|
@@ -430,12 +430,15 @@ var init_uuidUtils = __esm({
|
|
|
430
430
|
function createPipelineRequest(options) {
|
|
431
431
|
return new PipelineRequestImpl(options);
|
|
432
432
|
}
|
|
433
|
-
var
|
|
433
|
+
var PipelineRequestImpl;
|
|
434
434
|
var init_pipelineRequest = __esm({
|
|
435
435
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/pipelineRequest.js"() {
|
|
436
436
|
init_httpHeaders();
|
|
437
437
|
init_uuidUtils();
|
|
438
|
-
|
|
438
|
+
PipelineRequestImpl = class {
|
|
439
|
+
static {
|
|
440
|
+
__name(this, "PipelineRequestImpl");
|
|
441
|
+
}
|
|
439
442
|
url;
|
|
440
443
|
method;
|
|
441
444
|
headers;
|
|
@@ -477,8 +480,6 @@ var init_pipelineRequest = __esm({
|
|
|
477
480
|
this.authSchemes = options.authSchemes;
|
|
478
481
|
}
|
|
479
482
|
};
|
|
480
|
-
__name(_PipelineRequestImpl, "PipelineRequestImpl");
|
|
481
|
-
PipelineRequestImpl = _PipelineRequestImpl;
|
|
482
483
|
__name(createPipelineRequest, "createPipelineRequest");
|
|
483
484
|
}
|
|
484
485
|
});
|
|
@@ -487,15 +488,18 @@ var init_pipelineRequest = __esm({
|
|
|
487
488
|
function createEmptyPipeline() {
|
|
488
489
|
return HttpPipeline.create();
|
|
489
490
|
}
|
|
490
|
-
var ValidPhaseNames,
|
|
491
|
+
var ValidPhaseNames, HttpPipeline;
|
|
491
492
|
var init_pipeline = __esm({
|
|
492
493
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/pipeline.js"() {
|
|
493
494
|
ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
|
|
494
|
-
|
|
495
|
+
HttpPipeline = class _HttpPipeline {
|
|
496
|
+
static {
|
|
497
|
+
__name(this, "HttpPipeline");
|
|
498
|
+
}
|
|
495
499
|
_policies = [];
|
|
496
500
|
_orderedPolicies;
|
|
497
501
|
constructor(policies) {
|
|
498
|
-
this._policies =
|
|
502
|
+
this._policies = policies?.slice(0) ?? [];
|
|
499
503
|
this._orderedPolicies = void 0;
|
|
500
504
|
}
|
|
501
505
|
addPolicy(policy, options = {}) {
|
|
@@ -670,8 +674,6 @@ var init_pipeline = __esm({
|
|
|
670
674
|
return result;
|
|
671
675
|
}
|
|
672
676
|
};
|
|
673
|
-
__name(_HttpPipeline, "HttpPipeline");
|
|
674
|
-
HttpPipeline = _HttpPipeline;
|
|
675
677
|
__name(createEmptyPipeline, "createEmptyPipeline");
|
|
676
678
|
}
|
|
677
679
|
});
|
|
@@ -712,7 +714,7 @@ var init_inspect = __esm({
|
|
|
712
714
|
});
|
|
713
715
|
|
|
714
716
|
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/sanitizer.js
|
|
715
|
-
var RedactedString, defaultAllowedHeaderNames, defaultAllowedQueryParameters,
|
|
717
|
+
var RedactedString, defaultAllowedHeaderNames, defaultAllowedQueryParameters, Sanitizer;
|
|
716
718
|
var init_sanitizer = __esm({
|
|
717
719
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/sanitizer.js"() {
|
|
718
720
|
init_object();
|
|
@@ -759,7 +761,10 @@ var init_sanitizer = __esm({
|
|
|
759
761
|
"WWW-Authenticate"
|
|
760
762
|
];
|
|
761
763
|
defaultAllowedQueryParameters = ["api-version"];
|
|
762
|
-
|
|
764
|
+
Sanitizer = class {
|
|
765
|
+
static {
|
|
766
|
+
__name(this, "Sanitizer");
|
|
767
|
+
}
|
|
763
768
|
allowedHeaderNames;
|
|
764
769
|
allowedQueryParameters;
|
|
765
770
|
constructor({ additionalAllowedHeaderNames: allowedHeaderNames = [], additionalAllowedQueryParameters: allowedQueryParameters = [] } = {}) {
|
|
@@ -850,8 +855,6 @@ var init_sanitizer = __esm({
|
|
|
850
855
|
return sanitized;
|
|
851
856
|
}
|
|
852
857
|
};
|
|
853
|
-
__name(_Sanitizer, "Sanitizer");
|
|
854
|
-
Sanitizer = _Sanitizer;
|
|
855
858
|
}
|
|
856
859
|
});
|
|
857
860
|
|
|
@@ -862,14 +865,28 @@ function isRestError(e) {
|
|
|
862
865
|
}
|
|
863
866
|
return isError(e) && e.name === "RestError";
|
|
864
867
|
}
|
|
865
|
-
var errorSanitizer,
|
|
868
|
+
var errorSanitizer, RestError;
|
|
866
869
|
var init_restError = __esm({
|
|
867
870
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/restError.js"() {
|
|
868
871
|
init_error();
|
|
869
872
|
init_inspect();
|
|
870
873
|
init_sanitizer();
|
|
871
874
|
errorSanitizer = new Sanitizer();
|
|
872
|
-
|
|
875
|
+
RestError = class _RestError extends Error {
|
|
876
|
+
static {
|
|
877
|
+
__name(this, "RestError");
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Something went wrong when making the request.
|
|
881
|
+
* This means the actual request failed for some reason,
|
|
882
|
+
* such as a DNS issue or the connection being lost.
|
|
883
|
+
*/
|
|
884
|
+
static REQUEST_SEND_ERROR = "REQUEST_SEND_ERROR";
|
|
885
|
+
/**
|
|
886
|
+
* This means that parsing the response from the server failed.
|
|
887
|
+
* It may have been malformed.
|
|
888
|
+
*/
|
|
889
|
+
static PARSE_ERROR = "PARSE_ERROR";
|
|
873
890
|
/**
|
|
874
891
|
* The code of the error itself (use statics on RestError if possible.)
|
|
875
892
|
*/
|
|
@@ -893,14 +910,13 @@ var init_restError = __esm({
|
|
|
893
910
|
*/
|
|
894
911
|
details;
|
|
895
912
|
constructor(message, options = {}) {
|
|
896
|
-
var _a3;
|
|
897
913
|
super(message);
|
|
898
914
|
this.name = "RestError";
|
|
899
915
|
this.code = options.code;
|
|
900
916
|
this.statusCode = options.statusCode;
|
|
901
917
|
Object.defineProperty(this, "request", { value: options.request, enumerable: false });
|
|
902
918
|
Object.defineProperty(this, "response", { value: options.response, enumerable: false });
|
|
903
|
-
const agent =
|
|
919
|
+
const agent = this.request?.agent ? {
|
|
904
920
|
maxFreeSockets: this.request.agent.maxFreeSockets,
|
|
905
921
|
maxSockets: this.request.agent.maxSockets
|
|
906
922
|
} : void 0;
|
|
@@ -918,19 +934,6 @@ var init_restError = __esm({
|
|
|
918
934
|
Object.setPrototypeOf(this, _RestError.prototype);
|
|
919
935
|
}
|
|
920
936
|
};
|
|
921
|
-
__name(_RestError, "RestError");
|
|
922
|
-
/**
|
|
923
|
-
* Something went wrong when making the request.
|
|
924
|
-
* This means the actual request failed for some reason,
|
|
925
|
-
* such as a DNS issue or the connection being lost.
|
|
926
|
-
*/
|
|
927
|
-
__publicField(_RestError, "REQUEST_SEND_ERROR", "REQUEST_SEND_ERROR");
|
|
928
|
-
/**
|
|
929
|
-
* This means that parsing the response from the server failed.
|
|
930
|
-
* It may have been malformed.
|
|
931
|
-
*/
|
|
932
|
-
__publicField(_RestError, "PARSE_ERROR", "PARSE_ERROR");
|
|
933
|
-
RestError = _RestError;
|
|
934
937
|
__name(isRestError, "isRestError");
|
|
935
938
|
}
|
|
936
939
|
});
|
|
@@ -1022,7 +1025,7 @@ function streamToText(stream) {
|
|
|
1022
1025
|
resolve(Buffer.concat(buffer2).toString("utf8"));
|
|
1023
1026
|
});
|
|
1024
1027
|
stream.on("error", (e) => {
|
|
1025
|
-
if (e &&
|
|
1028
|
+
if (e && e?.name === "AbortError") {
|
|
1026
1029
|
reject(e);
|
|
1027
1030
|
} else {
|
|
1028
1031
|
reject(new RestError(`Error reading response as text: ${e.message}`, {
|
|
@@ -1050,7 +1053,7 @@ function getBodyLength(body2) {
|
|
|
1050
1053
|
function createNodeHttpClient() {
|
|
1051
1054
|
return new NodeHttpClient();
|
|
1052
1055
|
}
|
|
1053
|
-
var DEFAULT_TLS_SETTINGS,
|
|
1056
|
+
var DEFAULT_TLS_SETTINGS, ReportTransform, NodeHttpClient;
|
|
1054
1057
|
var init_nodeHttpClient = __esm({
|
|
1055
1058
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/nodeHttpClient.js"() {
|
|
1056
1059
|
init_AbortError();
|
|
@@ -1062,7 +1065,10 @@ var init_nodeHttpClient = __esm({
|
|
|
1062
1065
|
__name(isReadableStream, "isReadableStream");
|
|
1063
1066
|
__name(isStreamComplete, "isStreamComplete");
|
|
1064
1067
|
__name(isArrayBuffer, "isArrayBuffer");
|
|
1065
|
-
|
|
1068
|
+
ReportTransform = class extends Transform {
|
|
1069
|
+
static {
|
|
1070
|
+
__name(this, "ReportTransform");
|
|
1071
|
+
}
|
|
1066
1072
|
loadedBytes = 0;
|
|
1067
1073
|
progressCallback;
|
|
1068
1074
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
@@ -1081,9 +1087,10 @@ var init_nodeHttpClient = __esm({
|
|
|
1081
1087
|
this.progressCallback = progressCallback;
|
|
1082
1088
|
}
|
|
1083
1089
|
};
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1090
|
+
NodeHttpClient = class {
|
|
1091
|
+
static {
|
|
1092
|
+
__name(this, "NodeHttpClient");
|
|
1093
|
+
}
|
|
1087
1094
|
cachedHttpAgent;
|
|
1088
1095
|
cachedHttpsAgents = /* @__PURE__ */ new WeakMap();
|
|
1089
1096
|
/**
|
|
@@ -1091,7 +1098,6 @@ var init_nodeHttpClient = __esm({
|
|
|
1091
1098
|
* @param request - The request to be made.
|
|
1092
1099
|
*/
|
|
1093
1100
|
async sendRequest(request) {
|
|
1094
|
-
var _a3, _b2;
|
|
1095
1101
|
const abortController = new AbortController();
|
|
1096
1102
|
let abortListener;
|
|
1097
1103
|
if (request.abortSignal) {
|
|
@@ -1114,7 +1120,7 @@ var init_nodeHttpClient = __esm({
|
|
|
1114
1120
|
}, request.timeout);
|
|
1115
1121
|
}
|
|
1116
1122
|
const acceptEncoding = request.headers.get("Accept-Encoding");
|
|
1117
|
-
const shouldDecompress =
|
|
1123
|
+
const shouldDecompress = acceptEncoding?.includes("gzip") || acceptEncoding?.includes("deflate");
|
|
1118
1124
|
let body2 = typeof request.body === "function" ? request.body() : request.body;
|
|
1119
1125
|
if (body2 && !request.headers.has("Content-Length")) {
|
|
1120
1126
|
const bodyLength = getBodyLength(body2);
|
|
@@ -1164,7 +1170,7 @@ var init_nodeHttpClient = __esm({
|
|
|
1164
1170
|
}
|
|
1165
1171
|
if (
|
|
1166
1172
|
// Value of POSITIVE_INFINITY in streamResponseStatusCodes is considered as any status code
|
|
1167
|
-
|
|
1173
|
+
request.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY) || request.streamResponseStatusCodes?.has(response.status)
|
|
1168
1174
|
) {
|
|
1169
1175
|
response.readableStreamBody = responseStream;
|
|
1170
1176
|
} else {
|
|
@@ -1182,9 +1188,8 @@ var init_nodeHttpClient = __esm({
|
|
|
1182
1188
|
downloadStreamDone = isStreamComplete(responseStream);
|
|
1183
1189
|
}
|
|
1184
1190
|
Promise.all([uploadStreamDone, downloadStreamDone]).then(() => {
|
|
1185
|
-
var _a4;
|
|
1186
1191
|
if (abortListener) {
|
|
1187
|
-
|
|
1192
|
+
request.abortSignal?.removeEventListener("abort", abortListener);
|
|
1188
1193
|
}
|
|
1189
1194
|
}).catch((e) => {
|
|
1190
1195
|
logger.warning("Error when cleaning up abortListener on httpRequest", e);
|
|
@@ -1265,8 +1270,6 @@ var init_nodeHttpClient = __esm({
|
|
|
1265
1270
|
}
|
|
1266
1271
|
}
|
|
1267
1272
|
};
|
|
1268
|
-
__name(_NodeHttpClient, "NodeHttpClient");
|
|
1269
|
-
NodeHttpClient = _NodeHttpClient;
|
|
1270
1273
|
__name(getResponseHeaders, "getResponseHeaders");
|
|
1271
1274
|
__name(getDecodedResponseStream, "getDecodedResponseStream");
|
|
1272
1275
|
__name(streamToText, "streamToText");
|
|
@@ -1455,10 +1458,10 @@ function delay(delayInMs, value, options) {
|
|
|
1455
1458
|
let timer = void 0;
|
|
1456
1459
|
let onAborted = void 0;
|
|
1457
1460
|
const rejectOnAbort = /* @__PURE__ */ __name(() => {
|
|
1458
|
-
return reject(new AbortError(
|
|
1461
|
+
return reject(new AbortError(options?.abortErrorMsg ? options?.abortErrorMsg : StandardAbortMessage));
|
|
1459
1462
|
}, "rejectOnAbort");
|
|
1460
1463
|
const removeListeners = /* @__PURE__ */ __name(() => {
|
|
1461
|
-
if (
|
|
1464
|
+
if (options?.abortSignal && onAborted) {
|
|
1462
1465
|
options.abortSignal.removeEventListener("abort", onAborted);
|
|
1463
1466
|
}
|
|
1464
1467
|
}, "removeListeners");
|
|
@@ -1469,14 +1472,14 @@ function delay(delayInMs, value, options) {
|
|
|
1469
1472
|
removeListeners();
|
|
1470
1473
|
return rejectOnAbort();
|
|
1471
1474
|
}, "onAborted");
|
|
1472
|
-
if (
|
|
1475
|
+
if (options?.abortSignal && options.abortSignal.aborted) {
|
|
1473
1476
|
return rejectOnAbort();
|
|
1474
1477
|
}
|
|
1475
1478
|
timer = setTimeout(() => {
|
|
1476
1479
|
removeListeners();
|
|
1477
1480
|
resolve(value);
|
|
1478
1481
|
}, delayInMs);
|
|
1479
|
-
if (options
|
|
1482
|
+
if (options?.abortSignal) {
|
|
1480
1483
|
options.abortSignal.addEventListener("abort", onAborted);
|
|
1481
1484
|
}
|
|
1482
1485
|
});
|
|
@@ -1604,7 +1607,6 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
1604
1607
|
return {
|
|
1605
1608
|
name: retryPolicyName,
|
|
1606
1609
|
async sendRequest(request, next) {
|
|
1607
|
-
var _a3;
|
|
1608
1610
|
let response;
|
|
1609
1611
|
let responseError;
|
|
1610
1612
|
let retryCount = -1;
|
|
@@ -1624,7 +1626,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
1624
1626
|
}
|
|
1625
1627
|
response = responseError.response;
|
|
1626
1628
|
}
|
|
1627
|
-
if (
|
|
1629
|
+
if (request.abortSignal?.aborted) {
|
|
1628
1630
|
logger7.error(`Retry ${retryCount}: Request aborted.`);
|
|
1629
1631
|
const abortError = new AbortError();
|
|
1630
1632
|
throw abortError;
|
|
@@ -1715,15 +1717,15 @@ var init_defaultRetryPolicy = __esm({
|
|
|
1715
1717
|
});
|
|
1716
1718
|
|
|
1717
1719
|
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/checkEnvironment.js
|
|
1718
|
-
var isBrowser,
|
|
1720
|
+
var isBrowser, isWebWorker, isDeno, isBun, isNodeLike, isReactNative;
|
|
1719
1721
|
var init_checkEnvironment = __esm({
|
|
1720
1722
|
"../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.4-02baaeb328/package/dist/esm/util/checkEnvironment.js"() {
|
|
1721
1723
|
isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
1722
|
-
isWebWorker = typeof self === "object" && typeof
|
|
1724
|
+
isWebWorker = typeof self === "object" && typeof self?.importScripts === "function" && (self.constructor?.name === "DedicatedWorkerGlobalScope" || self.constructor?.name === "ServiceWorkerGlobalScope" || self.constructor?.name === "SharedWorkerGlobalScope");
|
|
1723
1725
|
isDeno = typeof Deno !== "undefined" && typeof Deno.version !== "undefined" && typeof Deno.version.deno !== "undefined";
|
|
1724
1726
|
isBun = typeof Bun !== "undefined" && typeof Bun.version !== "undefined";
|
|
1725
|
-
isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean(
|
|
1726
|
-
isReactNative = typeof navigator !== "undefined" &&
|
|
1727
|
+
isNodeLike = typeof globalThis.process !== "undefined" && Boolean(globalThis.process.version) && Boolean(globalThis.process.versions?.node);
|
|
1728
|
+
isReactNative = typeof navigator !== "undefined" && navigator?.product === "ReactNative";
|
|
1727
1729
|
}
|
|
1728
1730
|
});
|
|
1729
1731
|
|
|
@@ -1839,7 +1841,7 @@ function isBypassed(uri, noProxyList, bypassedMap) {
|
|
|
1839
1841
|
return false;
|
|
1840
1842
|
}
|
|
1841
1843
|
const host = new URL(uri).hostname;
|
|
1842
|
-
if (bypassedMap
|
|
1844
|
+
if (bypassedMap?.has(host)) {
|
|
1843
1845
|
return bypassedMap.get(host);
|
|
1844
1846
|
}
|
|
1845
1847
|
let isBypassedFlag = false;
|
|
@@ -1858,7 +1860,7 @@ function isBypassed(uri, noProxyList, bypassedMap) {
|
|
|
1858
1860
|
}
|
|
1859
1861
|
}
|
|
1860
1862
|
}
|
|
1861
|
-
bypassedMap
|
|
1863
|
+
bypassedMap?.set(host, isBypassedFlag);
|
|
1862
1864
|
return isBypassedFlag;
|
|
1863
1865
|
}
|
|
1864
1866
|
function loadNoProxy() {
|
|
@@ -1936,7 +1938,7 @@ function proxyPolicy(proxySettings, options) {
|
|
|
1936
1938
|
return {
|
|
1937
1939
|
name: proxyPolicyName,
|
|
1938
1940
|
async sendRequest(request, next) {
|
|
1939
|
-
if (!request.proxySettings && defaultProxy && !isBypassed(request.url,
|
|
1941
|
+
if (!request.proxySettings && defaultProxy && !isBypassed(request.url, options?.customNoProxyList ?? globalNoProxyList, options?.customNoProxyList ? void 0 : globalBypassedMap)) {
|
|
1940
1942
|
setProxyAgentOnRequest(request, cachedAgents, defaultProxy);
|
|
1941
1943
|
} else if (request.proxySettings) {
|
|
1942
1944
|
setProxyAgentOnRequest(request, cachedAgents, getUrlFromProxySettings(request.proxySettings));
|
|
@@ -2581,17 +2583,18 @@ var init_aborterUtils = __esm({
|
|
|
2581
2583
|
});
|
|
2582
2584
|
|
|
2583
2585
|
// ../../node_modules/.store/@azure-abort-controller-npm-2.1.2-a36d73ebb9/package/dist/esm/AbortError.js
|
|
2584
|
-
var
|
|
2586
|
+
var AbortError2;
|
|
2585
2587
|
var init_AbortError2 = __esm({
|
|
2586
2588
|
"../../node_modules/.store/@azure-abort-controller-npm-2.1.2-a36d73ebb9/package/dist/esm/AbortError.js"() {
|
|
2587
|
-
|
|
2589
|
+
AbortError2 = class extends Error {
|
|
2590
|
+
static {
|
|
2591
|
+
__name(this, "AbortError");
|
|
2592
|
+
}
|
|
2588
2593
|
constructor(message) {
|
|
2589
2594
|
super(message);
|
|
2590
2595
|
this.name = "AbortError";
|
|
2591
2596
|
}
|
|
2592
2597
|
};
|
|
2593
|
-
__name(_AbortError2, "AbortError");
|
|
2594
|
-
AbortError2 = _AbortError2;
|
|
2595
2598
|
}
|
|
2596
2599
|
});
|
|
2597
2600
|
|
|
@@ -2611,16 +2614,16 @@ function createAbortablePromise(buildPromise, options) {
|
|
|
2611
2614
|
}
|
|
2612
2615
|
__name(rejectOnAbort, "rejectOnAbort");
|
|
2613
2616
|
function removeListeners() {
|
|
2614
|
-
abortSignal
|
|
2617
|
+
abortSignal?.removeEventListener("abort", onAbort);
|
|
2615
2618
|
}
|
|
2616
2619
|
__name(removeListeners, "removeListeners");
|
|
2617
2620
|
function onAbort() {
|
|
2618
|
-
cleanupBeforeAbort
|
|
2621
|
+
cleanupBeforeAbort?.();
|
|
2619
2622
|
removeListeners();
|
|
2620
2623
|
rejectOnAbort();
|
|
2621
2624
|
}
|
|
2622
2625
|
__name(onAbort, "onAbort");
|
|
2623
|
-
if (abortSignal
|
|
2626
|
+
if (abortSignal?.aborted) {
|
|
2624
2627
|
return rejectOnAbort();
|
|
2625
2628
|
}
|
|
2626
2629
|
try {
|
|
@@ -2634,7 +2637,7 @@ function createAbortablePromise(buildPromise, options) {
|
|
|
2634
2637
|
} catch (err) {
|
|
2635
2638
|
reject(err);
|
|
2636
2639
|
}
|
|
2637
|
-
abortSignal
|
|
2640
|
+
abortSignal?.addEventListener("abort", onAbort);
|
|
2638
2641
|
});
|
|
2639
2642
|
}
|
|
2640
2643
|
var init_createAbortablePromise = __esm({
|
|
@@ -2890,7 +2893,7 @@ function createTracingContext(options = {}) {
|
|
|
2890
2893
|
}
|
|
2891
2894
|
return context3;
|
|
2892
2895
|
}
|
|
2893
|
-
var knownContextKeys,
|
|
2896
|
+
var knownContextKeys, TracingContextImpl;
|
|
2894
2897
|
var init_tracingContext = __esm({
|
|
2895
2898
|
"../../node_modules/.store/@azure-core-tracing-npm-1.3.1-eb2949b9c4/package/dist/esm/tracingContext.js"() {
|
|
2896
2899
|
knownContextKeys = {
|
|
@@ -2898,7 +2901,10 @@ var init_tracingContext = __esm({
|
|
|
2898
2901
|
namespace: /* @__PURE__ */ Symbol.for("@azure/core-tracing namespace")
|
|
2899
2902
|
};
|
|
2900
2903
|
__name(createTracingContext, "createTracingContext");
|
|
2901
|
-
|
|
2904
|
+
TracingContextImpl = class _TracingContextImpl {
|
|
2905
|
+
static {
|
|
2906
|
+
__name(this, "TracingContextImpl");
|
|
2907
|
+
}
|
|
2902
2908
|
_contextMap;
|
|
2903
2909
|
constructor(initialContext) {
|
|
2904
2910
|
this._contextMap = initialContext instanceof _TracingContextImpl ? new Map(initialContext._contextMap) : /* @__PURE__ */ new Map();
|
|
@@ -2917,8 +2923,6 @@ var init_tracingContext = __esm({
|
|
|
2917
2923
|
return newContext;
|
|
2918
2924
|
}
|
|
2919
2925
|
};
|
|
2920
|
-
__name(_TracingContextImpl, "TracingContextImpl");
|
|
2921
|
-
TracingContextImpl = _TracingContextImpl;
|
|
2922
2926
|
}
|
|
2923
2927
|
});
|
|
2924
2928
|
|
|
@@ -2986,12 +2990,11 @@ var init_instrumenter = __esm({
|
|
|
2986
2990
|
function createTracingClient(options) {
|
|
2987
2991
|
const { namespace, packageName, packageVersion } = options;
|
|
2988
2992
|
function startSpan(name, operationOptions, spanOptions) {
|
|
2989
|
-
var _a3;
|
|
2990
2993
|
const startSpanResult = getInstrumenter().startSpan(name, {
|
|
2991
2994
|
...spanOptions,
|
|
2992
2995
|
packageName,
|
|
2993
2996
|
packageVersion,
|
|
2994
|
-
tracingContext:
|
|
2997
|
+
tracingContext: operationOptions?.tracingOptions?.tracingContext
|
|
2995
2998
|
});
|
|
2996
2999
|
let tracingContext = startSpanResult.tracingContext;
|
|
2997
3000
|
const span = startSpanResult.span;
|
|
@@ -3000,7 +3003,7 @@ function createTracingClient(options) {
|
|
|
3000
3003
|
}
|
|
3001
3004
|
span.setAttribute("az.namespace", tracingContext.getValue(knownContextKeys.namespace));
|
|
3002
3005
|
const updatedOptions = Object.assign({}, operationOptions, {
|
|
3003
|
-
tracingOptions: { ...operationOptions
|
|
3006
|
+
tracingOptions: { ...operationOptions?.tracingOptions, tracingContext }
|
|
3004
3007
|
});
|
|
3005
3008
|
return {
|
|
3006
3009
|
span,
|
|
@@ -3235,7 +3238,7 @@ function wrapAbortSignalLikePolicy() {
|
|
|
3235
3238
|
try {
|
|
3236
3239
|
return await next(request);
|
|
3237
3240
|
} finally {
|
|
3238
|
-
cleanup
|
|
3241
|
+
cleanup?.();
|
|
3239
3242
|
}
|
|
3240
3243
|
}, "sendRequest")
|
|
3241
3244
|
};
|
|
@@ -3251,7 +3254,6 @@ var init_wrapAbortSignalLikePolicy = __esm({
|
|
|
3251
3254
|
|
|
3252
3255
|
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.23.0-0e1edaa1a0/package/dist/esm/createPipelineFromOptions.js
|
|
3253
3256
|
function createPipelineFromOptions2(options) {
|
|
3254
|
-
var _a3;
|
|
3255
3257
|
const pipeline = createEmptyPipeline2();
|
|
3256
3258
|
if (isNodeLike2) {
|
|
3257
3259
|
if (options.agent) {
|
|
@@ -3266,7 +3268,7 @@ function createPipelineFromOptions2(options) {
|
|
|
3266
3268
|
pipeline.addPolicy(wrapAbortSignalLikePolicy());
|
|
3267
3269
|
pipeline.addPolicy(formDataPolicy2(), { beforePolicies: [multipartPolicyName2] });
|
|
3268
3270
|
pipeline.addPolicy(userAgentPolicy2(options.userAgentOptions));
|
|
3269
|
-
pipeline.addPolicy(setClientRequestIdPolicy(
|
|
3271
|
+
pipeline.addPolicy(setClientRequestIdPolicy(options.telemetryOptions?.clientRequestIdHeaderName));
|
|
3270
3272
|
pipeline.addPolicy(multipartPolicy2(), { afterPhase: "Deserialize" });
|
|
3271
3273
|
pipeline.addPolicy(defaultRetryPolicy2(options.retryOptions), { phase: "Retry" });
|
|
3272
3274
|
pipeline.addPolicy(tracingPolicy({ ...options.userAgentOptions, ...options.loggingOptions }), {
|
|
@@ -3309,7 +3311,7 @@ function createDefaultHttpClient2() {
|
|
|
3309
3311
|
request.abortSignal = abortSignal;
|
|
3310
3312
|
return await client.sendRequest(request);
|
|
3311
3313
|
} finally {
|
|
3312
|
-
cleanup
|
|
3314
|
+
cleanup?.();
|
|
3313
3315
|
}
|
|
3314
3316
|
}
|
|
3315
3317
|
};
|
|
@@ -3424,10 +3426,10 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
3424
3426
|
if (cycler.isRefreshing) {
|
|
3425
3427
|
return false;
|
|
3426
3428
|
}
|
|
3427
|
-
if (
|
|
3429
|
+
if (token?.refreshAfterTimestamp && token.refreshAfterTimestamp < Date.now()) {
|
|
3428
3430
|
return true;
|
|
3429
3431
|
}
|
|
3430
|
-
return (
|
|
3432
|
+
return (token?.expiresOnTimestamp ?? 0) - options.refreshWindowInMs < Date.now();
|
|
3431
3433
|
},
|
|
3432
3434
|
/**
|
|
3433
3435
|
* Produces true if the cycler MUST refresh (null or nearly-expired
|
|
@@ -3444,7 +3446,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
3444
3446
|
tryGetAccessToken,
|
|
3445
3447
|
options.retryIntervalInMs,
|
|
3446
3448
|
// If we don't have a token, then we should timeout immediately
|
|
3447
|
-
|
|
3449
|
+
token?.expiresOnTimestamp ?? Date.now()
|
|
3448
3450
|
).then((_token) => {
|
|
3449
3451
|
refreshWorker = null;
|
|
3450
3452
|
token = _token;
|
|
@@ -3533,12 +3535,11 @@ async function authorizeRequestOnCaeChallenge(onChallengeOptions, caeClaims) {
|
|
|
3533
3535
|
return true;
|
|
3534
3536
|
}
|
|
3535
3537
|
function bearerTokenAuthenticationPolicy(options) {
|
|
3536
|
-
var _a3, _b2;
|
|
3537
3538
|
const { credential, scopes, challengeCallbacks } = options;
|
|
3538
3539
|
const logger7 = options.logger || logger2;
|
|
3539
3540
|
const callbacks = {
|
|
3540
|
-
authorizeRequest:
|
|
3541
|
-
authorizeRequestOnChallenge:
|
|
3541
|
+
authorizeRequest: challengeCallbacks?.authorizeRequest?.bind(challengeCallbacks) ?? defaultAuthorizeRequest,
|
|
3542
|
+
authorizeRequestOnChallenge: challengeCallbacks?.authorizeRequestOnChallenge?.bind(challengeCallbacks)
|
|
3542
3543
|
};
|
|
3543
3544
|
const getAccessToken = credential ? createTokenCycler(
|
|
3544
3545
|
credential
|
|
@@ -3654,12 +3655,11 @@ function parseChallenges(challenges) {
|
|
|
3654
3655
|
return parsedChallenges;
|
|
3655
3656
|
}
|
|
3656
3657
|
function getCaeChallengeClaims(challenges) {
|
|
3657
|
-
var _a3;
|
|
3658
3658
|
if (!challenges) {
|
|
3659
3659
|
return;
|
|
3660
3660
|
}
|
|
3661
3661
|
const parsedChallenges = parseChallenges(challenges);
|
|
3662
|
-
return
|
|
3662
|
+
return parsedChallenges.find((x) => x.scheme === "Bearer" && x.params.claims && x.params.error === "insufficient_claims")?.params.claims;
|
|
3663
3663
|
}
|
|
3664
3664
|
var bearerTokenAuthenticationPolicyName;
|
|
3665
3665
|
var init_bearerTokenAuthenticationPolicy = __esm({
|
|
@@ -3741,11 +3741,14 @@ var init_keyCredential = __esm({
|
|
|
3741
3741
|
function isNamedKeyCredential(credential) {
|
|
3742
3742
|
return isObjectWithProperties(credential, ["name", "key"]) && typeof credential.key === "string" && typeof credential.name === "string";
|
|
3743
3743
|
}
|
|
3744
|
-
var
|
|
3744
|
+
var AzureNamedKeyCredential;
|
|
3745
3745
|
var init_azureNamedKeyCredential = __esm({
|
|
3746
3746
|
"../../node_modules/.store/@azure-core-auth-npm-1.10.1-d750410a50/package/dist/esm/azureNamedKeyCredential.js"() {
|
|
3747
3747
|
init_esm4();
|
|
3748
|
-
|
|
3748
|
+
AzureNamedKeyCredential = class {
|
|
3749
|
+
static {
|
|
3750
|
+
__name(this, "AzureNamedKeyCredential");
|
|
3751
|
+
}
|
|
3749
3752
|
_key;
|
|
3750
3753
|
_name;
|
|
3751
3754
|
/**
|
|
@@ -3791,8 +3794,6 @@ var init_azureNamedKeyCredential = __esm({
|
|
|
3791
3794
|
this._key = newKey;
|
|
3792
3795
|
}
|
|
3793
3796
|
};
|
|
3794
|
-
__name(_AzureNamedKeyCredential, "AzureNamedKeyCredential");
|
|
3795
|
-
AzureNamedKeyCredential = _AzureNamedKeyCredential;
|
|
3796
3797
|
__name(isNamedKeyCredential, "isNamedKeyCredential");
|
|
3797
3798
|
}
|
|
3798
3799
|
});
|
|
@@ -3878,7 +3879,7 @@ var init_interfaces = __esm({
|
|
|
3878
3879
|
|
|
3879
3880
|
// ../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/esm/utils.js
|
|
3880
3881
|
function isPrimitiveBody(value, mapperTypeName) {
|
|
3881
|
-
return mapperTypeName !== "Composite" && mapperTypeName !== "Dictionary" && (typeof value === "string" || typeof value === "number" || typeof value === "boolean" ||
|
|
3882
|
+
return mapperTypeName !== "Composite" && mapperTypeName !== "Dictionary" && (typeof value === "string" || typeof value === "number" || typeof value === "boolean" || mapperTypeName?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i) !== null || value === void 0 || value === null);
|
|
3882
3883
|
}
|
|
3883
3884
|
function isDuration(value) {
|
|
3884
3885
|
return validateISODuration.test(value);
|
|
@@ -3901,7 +3902,6 @@ function handleNullableResponseAndWrappableBody(responseObject) {
|
|
|
3901
3902
|
}
|
|
3902
3903
|
}
|
|
3903
3904
|
function flattenResponse(fullResponse, responseSpec) {
|
|
3904
|
-
var _a3;
|
|
3905
3905
|
const parsedHeaders = fullResponse.parsedHeaders;
|
|
3906
3906
|
if (fullResponse.request.method === "HEAD") {
|
|
3907
3907
|
return {
|
|
@@ -3910,8 +3910,8 @@ function flattenResponse(fullResponse, responseSpec) {
|
|
|
3910
3910
|
};
|
|
3911
3911
|
}
|
|
3912
3912
|
const bodyMapper = responseSpec && responseSpec.bodyMapper;
|
|
3913
|
-
const isNullable = Boolean(bodyMapper
|
|
3914
|
-
const expectedBodyTypeName = bodyMapper
|
|
3913
|
+
const isNullable = Boolean(bodyMapper?.nullable);
|
|
3914
|
+
const expectedBodyTypeName = bodyMapper?.type.name;
|
|
3915
3915
|
if (expectedBodyTypeName === "Stream") {
|
|
3916
3916
|
return {
|
|
3917
3917
|
...parsedHeaders,
|
|
@@ -3925,7 +3925,7 @@ function flattenResponse(fullResponse, responseSpec) {
|
|
|
3925
3925
|
const arrayResponse = fullResponse.parsedBody ?? [];
|
|
3926
3926
|
for (const key of Object.keys(modelProperties)) {
|
|
3927
3927
|
if (modelProperties[key].serializedName) {
|
|
3928
|
-
arrayResponse[key] =
|
|
3928
|
+
arrayResponse[key] = fullResponse.parsedBody?.[key];
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
3931
|
if (parsedHeaders) {
|
|
@@ -4166,7 +4166,7 @@ function resolveAdditionalProperties(serializer, mapper, objectName) {
|
|
|
4166
4166
|
const additionalProperties = mapper.type.additionalProperties;
|
|
4167
4167
|
if (!additionalProperties && mapper.type.className) {
|
|
4168
4168
|
const modelMapper = resolveReferencedMapper(serializer, mapper, objectName);
|
|
4169
|
-
return modelMapper
|
|
4169
|
+
return modelMapper?.type.additionalProperties;
|
|
4170
4170
|
}
|
|
4171
4171
|
return additionalProperties;
|
|
4172
4172
|
}
|
|
@@ -4184,7 +4184,7 @@ function resolveModelProperties(serializer, mapper, objectName) {
|
|
|
4184
4184
|
if (!modelMapper) {
|
|
4185
4185
|
throw new Error(`mapper() cannot be null or undefined for model "${mapper.type.className}".`);
|
|
4186
4186
|
}
|
|
4187
|
-
modelProps = modelMapper
|
|
4187
|
+
modelProps = modelMapper?.type.modelProperties;
|
|
4188
4188
|
if (!modelProps) {
|
|
4189
4189
|
throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(modelMapper)}" of type "${mapper.type.className}" for object "${objectName}".`);
|
|
4190
4190
|
}
|
|
@@ -4327,7 +4327,7 @@ function deserializeCompositeType(serializer, mapper, responseBody, objectName,
|
|
|
4327
4327
|
const propertyName = xmlElementName || xmlName || serializedName;
|
|
4328
4328
|
if (propertyMapper.xmlIsWrapped) {
|
|
4329
4329
|
const wrapped = responseBody[xmlName];
|
|
4330
|
-
const elementList =
|
|
4330
|
+
const elementList = wrapped?.[xmlElementName] ?? [];
|
|
4331
4331
|
instance[key] = serializer.deserialize(propertyMapper, elementList, propertyObjectName, options);
|
|
4332
4332
|
handledPropertyNames.push(xmlName);
|
|
4333
4333
|
} else {
|
|
@@ -4472,13 +4472,16 @@ function getPolymorphicDiscriminatorRecursively(serializer, mapper) {
|
|
|
4472
4472
|
function getPolymorphicDiscriminatorSafely(serializer, typeName) {
|
|
4473
4473
|
return typeName && serializer.modelMappers[typeName] && serializer.modelMappers[typeName].type.polymorphicDiscriminator;
|
|
4474
4474
|
}
|
|
4475
|
-
var
|
|
4475
|
+
var SerializerImpl, MapperTypeNames;
|
|
4476
4476
|
var init_serializer = __esm({
|
|
4477
4477
|
"../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/esm/serializer.js"() {
|
|
4478
4478
|
init_base64();
|
|
4479
4479
|
init_interfaces();
|
|
4480
4480
|
init_utils();
|
|
4481
|
-
|
|
4481
|
+
SerializerImpl = class {
|
|
4482
|
+
static {
|
|
4483
|
+
__name(this, "SerializerImpl");
|
|
4484
|
+
}
|
|
4482
4485
|
modelMappers;
|
|
4483
4486
|
isXML;
|
|
4484
4487
|
constructor(modelMappers = {}, isXML = false) {
|
|
@@ -4680,8 +4683,6 @@ var init_serializer = __esm({
|
|
|
4680
4683
|
return payload;
|
|
4681
4684
|
}
|
|
4682
4685
|
};
|
|
4683
|
-
__name(_SerializerImpl, "SerializerImpl");
|
|
4684
|
-
SerializerImpl = _SerializerImpl;
|
|
4685
4686
|
__name(createSerializer, "createSerializer");
|
|
4686
4687
|
__name(trimEnd, "trimEnd");
|
|
4687
4688
|
__name(bufferToBase64Url, "bufferToBase64Url");
|
|
@@ -4829,16 +4830,15 @@ var init_operationHelpers = __esm({
|
|
|
4829
4830
|
|
|
4830
4831
|
// ../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/esm/deserializationPolicy.js
|
|
4831
4832
|
function deserializationPolicy(options = {}) {
|
|
4832
|
-
|
|
4833
|
-
const
|
|
4834
|
-
const xmlContentTypes = ((_b2 = options.expectedContentTypes) == null ? void 0 : _b2.xml) ?? defaultXmlContentTypes;
|
|
4833
|
+
const jsonContentTypes = options.expectedContentTypes?.json ?? defaultJsonContentTypes;
|
|
4834
|
+
const xmlContentTypes = options.expectedContentTypes?.xml ?? defaultXmlContentTypes;
|
|
4835
4835
|
const parseXML2 = options.parseXML;
|
|
4836
4836
|
const serializerOptions = options.serializerOptions;
|
|
4837
4837
|
const updatedOptions = {
|
|
4838
4838
|
xml: {
|
|
4839
|
-
rootName:
|
|
4840
|
-
includeRoot:
|
|
4841
|
-
xmlCharKey:
|
|
4839
|
+
rootName: serializerOptions?.xml.rootName ?? "",
|
|
4840
|
+
includeRoot: serializerOptions?.xml.includeRoot ?? false,
|
|
4841
|
+
xmlCharKey: serializerOptions?.xml.xmlCharKey ?? XML_CHARKEY
|
|
4842
4842
|
}
|
|
4843
4843
|
};
|
|
4844
4844
|
return {
|
|
@@ -4853,12 +4853,12 @@ function getOperationResponseMap(parsedResponse) {
|
|
|
4853
4853
|
let result;
|
|
4854
4854
|
const request = parsedResponse.request;
|
|
4855
4855
|
const operationInfo = getOperationRequestInfo(request);
|
|
4856
|
-
const operationSpec = operationInfo
|
|
4856
|
+
const operationSpec = operationInfo?.operationSpec;
|
|
4857
4857
|
if (operationSpec) {
|
|
4858
|
-
if (!
|
|
4858
|
+
if (!operationInfo?.operationResponseGetter) {
|
|
4859
4859
|
result = operationSpec.responses[parsedResponse.status];
|
|
4860
4860
|
} else {
|
|
4861
|
-
result = operationInfo
|
|
4861
|
+
result = operationInfo?.operationResponseGetter(operationSpec, parsedResponse);
|
|
4862
4862
|
}
|
|
4863
4863
|
}
|
|
4864
4864
|
return result;
|
|
@@ -4866,7 +4866,7 @@ function getOperationResponseMap(parsedResponse) {
|
|
|
4866
4866
|
function shouldDeserializeResponse(parsedResponse) {
|
|
4867
4867
|
const request = parsedResponse.request;
|
|
4868
4868
|
const operationInfo = getOperationRequestInfo(request);
|
|
4869
|
-
const shouldDeserialize = operationInfo
|
|
4869
|
+
const shouldDeserialize = operationInfo?.shouldDeserialize;
|
|
4870
4870
|
let result;
|
|
4871
4871
|
if (shouldDeserialize === void 0) {
|
|
4872
4872
|
result = true;
|
|
@@ -4883,7 +4883,7 @@ async function deserializeResponseBody(jsonContentTypes, xmlContentTypes, respon
|
|
|
4883
4883
|
return parsedResponse;
|
|
4884
4884
|
}
|
|
4885
4885
|
const operationInfo = getOperationRequestInfo(parsedResponse.request);
|
|
4886
|
-
const operationSpec = operationInfo
|
|
4886
|
+
const operationSpec = operationInfo?.operationSpec;
|
|
4887
4887
|
if (!operationSpec || !operationSpec.responses) {
|
|
4888
4888
|
return parsedResponse;
|
|
4889
4889
|
}
|
|
@@ -4924,7 +4924,6 @@ function isOperationSpecEmpty(operationSpec) {
|
|
|
4924
4924
|
return expectedStatusCodes.length === 0 || expectedStatusCodes.length === 1 && expectedStatusCodes[0] === "default";
|
|
4925
4925
|
}
|
|
4926
4926
|
function handleErrorResponse(parsedResponse, operationSpec, responseSpec, options) {
|
|
4927
|
-
var _a3, _b2, _c2, _d, _e;
|
|
4928
4927
|
const isSuccessByStatus = 200 <= parsedResponse.status && parsedResponse.status < 300;
|
|
4929
4928
|
const isExpectedStatusCode = isOperationSpecEmpty(operationSpec) ? isSuccessByStatus : !!responseSpec;
|
|
4930
4929
|
if (isExpectedStatusCode) {
|
|
@@ -4937,17 +4936,17 @@ function handleErrorResponse(parsedResponse, operationSpec, responseSpec, option
|
|
|
4937
4936
|
}
|
|
4938
4937
|
}
|
|
4939
4938
|
const errorResponseSpec = responseSpec ?? operationSpec.responses.default;
|
|
4940
|
-
const initialErrorMessage =
|
|
4939
|
+
const initialErrorMessage = parsedResponse.request.streamResponseStatusCodes?.has(parsedResponse.status) ? `Unexpected status code: ${parsedResponse.status}` : parsedResponse.bodyAsText;
|
|
4941
4940
|
const error = new RestError2(initialErrorMessage, {
|
|
4942
4941
|
statusCode: parsedResponse.status,
|
|
4943
4942
|
request: parsedResponse.request,
|
|
4944
4943
|
response: parsedResponse
|
|
4945
4944
|
});
|
|
4946
|
-
if (!errorResponseSpec && !(
|
|
4945
|
+
if (!errorResponseSpec && !(parsedResponse.parsedBody?.error?.code && parsedResponse.parsedBody?.error?.message)) {
|
|
4947
4946
|
throw error;
|
|
4948
4947
|
}
|
|
4949
|
-
const defaultBodyMapper = errorResponseSpec
|
|
4950
|
-
const defaultHeadersMapper = errorResponseSpec
|
|
4948
|
+
const defaultBodyMapper = errorResponseSpec?.bodyMapper;
|
|
4949
|
+
const defaultHeadersMapper = errorResponseSpec?.headersMapper;
|
|
4951
4950
|
try {
|
|
4952
4951
|
if (parsedResponse.parsedBody) {
|
|
4953
4952
|
const parsedBody = parsedResponse.parsedBody;
|
|
@@ -4981,8 +4980,7 @@ function handleErrorResponse(parsedResponse, operationSpec, responseSpec, option
|
|
|
4981
4980
|
return { error, shouldReturnResponse: false };
|
|
4982
4981
|
}
|
|
4983
4982
|
async function parse(jsonContentTypes, xmlContentTypes, operationResponse, opts, parseXML2) {
|
|
4984
|
-
|
|
4985
|
-
if (!((_a3 = operationResponse.request.streamResponseStatusCodes) == null ? void 0 : _a3.has(operationResponse.status)) && operationResponse.bodyAsText) {
|
|
4983
|
+
if (!operationResponse.request.streamResponseStatusCodes?.has(operationResponse.status) && operationResponse.bodyAsText) {
|
|
4986
4984
|
const text = operationResponse.bodyAsText;
|
|
4987
4985
|
const contentType2 = operationResponse.headers.get("Content-Type") || "";
|
|
4988
4986
|
const contentComponents = !contentType2 ? [] : contentType2.split(";").map((component) => component.toLowerCase());
|
|
@@ -5070,8 +5068,8 @@ function serializationPolicy(options = {}) {
|
|
|
5070
5068
|
name: serializationPolicyName,
|
|
5071
5069
|
async sendRequest(request, next) {
|
|
5072
5070
|
const operationInfo = getOperationRequestInfo(request);
|
|
5073
|
-
const operationSpec = operationInfo
|
|
5074
|
-
const operationArguments = operationInfo
|
|
5071
|
+
const operationSpec = operationInfo?.operationSpec;
|
|
5072
|
+
const operationArguments = operationInfo?.operationArguments;
|
|
5075
5073
|
if (operationSpec && operationArguments) {
|
|
5076
5074
|
serializeHeaders(request, operationArguments, operationSpec);
|
|
5077
5075
|
serializeRequestBody(request, operationArguments, operationSpec, stringifyXML2);
|
|
@@ -5081,7 +5079,6 @@ function serializationPolicy(options = {}) {
|
|
|
5081
5079
|
};
|
|
5082
5080
|
}
|
|
5083
5081
|
function serializeHeaders(request, operationArguments, operationSpec) {
|
|
5084
|
-
var _a3, _b2;
|
|
5085
5082
|
if (operationSpec.headerParameters) {
|
|
5086
5083
|
for (const headerParameter of operationSpec.headerParameters) {
|
|
5087
5084
|
let headerValue = getOperationArgumentValueFromParameter(operationArguments, headerParameter);
|
|
@@ -5098,7 +5095,7 @@ function serializeHeaders(request, operationArguments, operationSpec) {
|
|
|
5098
5095
|
}
|
|
5099
5096
|
}
|
|
5100
5097
|
}
|
|
5101
|
-
const customHeaders =
|
|
5098
|
+
const customHeaders = operationArguments.options?.requestOptions?.customHeaders;
|
|
5102
5099
|
if (customHeaders) {
|
|
5103
5100
|
for (const customHeaderName of Object.keys(customHeaders)) {
|
|
5104
5101
|
request.headers.set(customHeaderName, customHeaders[customHeaderName]);
|
|
@@ -5108,13 +5105,12 @@ function serializeHeaders(request, operationArguments, operationSpec) {
|
|
|
5108
5105
|
function serializeRequestBody(request, operationArguments, operationSpec, stringifyXML2 = function() {
|
|
5109
5106
|
throw new Error("XML serialization unsupported!");
|
|
5110
5107
|
}) {
|
|
5111
|
-
|
|
5112
|
-
const serializerOptions = (_a3 = operationArguments.options) == null ? void 0 : _a3.serializerOptions;
|
|
5108
|
+
const serializerOptions = operationArguments.options?.serializerOptions;
|
|
5113
5109
|
const updatedOptions = {
|
|
5114
5110
|
xml: {
|
|
5115
|
-
rootName:
|
|
5116
|
-
includeRoot:
|
|
5117
|
-
xmlCharKey:
|
|
5111
|
+
rootName: serializerOptions?.xml.rootName ?? "",
|
|
5112
|
+
includeRoot: serializerOptions?.xml.includeRoot ?? false,
|
|
5113
|
+
xmlCharKey: serializerOptions?.xml.xmlCharKey ?? XML_CHARKEY
|
|
5118
5114
|
}
|
|
5119
5115
|
};
|
|
5120
5116
|
const xmlCharKey = updatedOptions.xml.xmlCharKey;
|
|
@@ -5139,7 +5135,7 @@ function serializeRequestBody(request, operationArguments, operationSpec, string
|
|
|
5139
5135
|
xmlCharKey
|
|
5140
5136
|
});
|
|
5141
5137
|
}
|
|
5142
|
-
} else if (typeName === MapperTypeNames.String && (
|
|
5138
|
+
} else if (typeName === MapperTypeNames.String && (operationSpec.contentType?.match("text/plain") || operationSpec.mediaType === "text")) {
|
|
5143
5139
|
return;
|
|
5144
5140
|
} else if (!isStream) {
|
|
5145
5141
|
request.body = JSON.stringify(request.body);
|
|
@@ -5263,9 +5259,8 @@ function replaceAll(input, replacements) {
|
|
|
5263
5259
|
return result;
|
|
5264
5260
|
}
|
|
5265
5261
|
function calculateUrlReplacements(operationSpec, operationArguments, fallbackObject) {
|
|
5266
|
-
var _a3;
|
|
5267
5262
|
const result = /* @__PURE__ */ new Map();
|
|
5268
|
-
if (
|
|
5263
|
+
if (operationSpec.urlParameters?.length) {
|
|
5269
5264
|
for (const urlParameter of operationSpec.urlParameters) {
|
|
5270
5265
|
let urlParameterValue = getOperationArgumentValueFromParameter(operationArguments, urlParameter, fallbackObject);
|
|
5271
5266
|
const parameterPathString = getPathStringFromParameter(urlParameter);
|
|
@@ -5308,10 +5303,9 @@ function appendPath(url2, pathToAppend) {
|
|
|
5308
5303
|
return parsedUrl.toString();
|
|
5309
5304
|
}
|
|
5310
5305
|
function calculateQueryParameters(operationSpec, operationArguments, fallbackObject) {
|
|
5311
|
-
var _a3;
|
|
5312
5306
|
const result = /* @__PURE__ */ new Map();
|
|
5313
5307
|
const sequenceParams = /* @__PURE__ */ new Set();
|
|
5314
|
-
if (
|
|
5308
|
+
if (operationSpec.queryParameters?.length) {
|
|
5315
5309
|
for (const queryParameter of operationSpec.queryParameters) {
|
|
5316
5310
|
if (queryParameter.mapper.type.name === "Sequence" && queryParameter.mapper.serializedName) {
|
|
5317
5311
|
sequenceParams.add(queryParameter.mapper.serializedName);
|
|
@@ -5476,7 +5470,7 @@ function getCredentialScopes(options) {
|
|
|
5476
5470
|
}
|
|
5477
5471
|
return void 0;
|
|
5478
5472
|
}
|
|
5479
|
-
var
|
|
5473
|
+
var ServiceClient;
|
|
5480
5474
|
var init_serviceClient = __esm({
|
|
5481
5475
|
"../../node_modules/.store/@azure-core-client-npm-1.10.1-c6f6d34e9a/package/dist/esm/serviceClient.js"() {
|
|
5482
5476
|
init_esm6();
|
|
@@ -5487,7 +5481,10 @@ var init_serviceClient = __esm({
|
|
|
5487
5481
|
init_urlHelpers2();
|
|
5488
5482
|
init_interfaceHelpers();
|
|
5489
5483
|
init_log4();
|
|
5490
|
-
|
|
5484
|
+
ServiceClient = class {
|
|
5485
|
+
static {
|
|
5486
|
+
__name(this, "ServiceClient");
|
|
5487
|
+
}
|
|
5491
5488
|
/**
|
|
5492
5489
|
* If specified, this is the base URI that requests will be made against for this ServiceClient.
|
|
5493
5490
|
* If it is not specified, then all OperationSpecs must contain a baseUrl property.
|
|
@@ -5515,7 +5512,6 @@ var init_serviceClient = __esm({
|
|
|
5515
5512
|
* @param options - The service client options that govern the behavior of the client.
|
|
5516
5513
|
*/
|
|
5517
5514
|
constructor(options = {}) {
|
|
5518
|
-
var _a3;
|
|
5519
5515
|
this._requestContentType = options.requestContentType;
|
|
5520
5516
|
this._endpoint = options.endpoint ?? options.baseUri;
|
|
5521
5517
|
if (options.baseUri) {
|
|
@@ -5524,7 +5520,7 @@ var init_serviceClient = __esm({
|
|
|
5524
5520
|
this._allowInsecureConnection = options.allowInsecureConnection;
|
|
5525
5521
|
this._httpClient = options.httpClient || getCachedDefaultHttpClient();
|
|
5526
5522
|
this.pipeline = options.pipeline || createDefaultPipeline2(options);
|
|
5527
|
-
if (
|
|
5523
|
+
if (options.additionalPolicies?.length) {
|
|
5528
5524
|
for (const { policy, position } of options.additionalPolicies) {
|
|
5529
5525
|
const afterPhase = position === "perRetry" ? "Sign" : void 0;
|
|
5530
5526
|
this.pipeline.addPolicy(policy, {
|
|
@@ -5598,16 +5594,16 @@ var init_serviceClient = __esm({
|
|
|
5598
5594
|
try {
|
|
5599
5595
|
const rawResponse = await this.sendRequest(request);
|
|
5600
5596
|
const flatResponse = flattenResponse(rawResponse, operationSpec.responses[rawResponse.status]);
|
|
5601
|
-
if (options
|
|
5597
|
+
if (options?.onResponse) {
|
|
5602
5598
|
options.onResponse(rawResponse, flatResponse);
|
|
5603
5599
|
}
|
|
5604
5600
|
return flatResponse;
|
|
5605
5601
|
} catch (error) {
|
|
5606
|
-
if (typeof error === "object" &&
|
|
5602
|
+
if (typeof error === "object" && error?.response) {
|
|
5607
5603
|
const rawResponse = error.response;
|
|
5608
5604
|
const flatResponse = flattenResponse(rawResponse, operationSpec.responses[error.statusCode] || operationSpec.responses["default"]);
|
|
5609
5605
|
error.details = flatResponse;
|
|
5610
|
-
if (options
|
|
5606
|
+
if (options?.onResponse) {
|
|
5611
5607
|
options.onResponse(rawResponse, flatResponse, error);
|
|
5612
5608
|
}
|
|
5613
5609
|
}
|
|
@@ -5615,8 +5611,6 @@ var init_serviceClient = __esm({
|
|
|
5615
5611
|
}
|
|
5616
5612
|
}
|
|
5617
5613
|
};
|
|
5618
|
-
__name(_ServiceClient, "ServiceClient");
|
|
5619
|
-
ServiceClient = _ServiceClient;
|
|
5620
5614
|
__name(createDefaultPipeline2, "createDefaultPipeline");
|
|
5621
5615
|
__name(getCredentialScopes, "getCredentialScopes");
|
|
5622
5616
|
}
|
|
@@ -5771,7 +5765,7 @@ function toPipelineRequest(webResource, options = {}) {
|
|
|
5771
5765
|
}
|
|
5772
5766
|
}
|
|
5773
5767
|
function toWebResourceLike(request, options) {
|
|
5774
|
-
const originalRequest =
|
|
5768
|
+
const originalRequest = options?.originalRequest ?? request;
|
|
5775
5769
|
const webResource = {
|
|
5776
5770
|
url: request.url,
|
|
5777
5771
|
method: request.method,
|
|
@@ -5798,7 +5792,7 @@ function toWebResourceLike(request, options) {
|
|
|
5798
5792
|
validateRequestProperties() {
|
|
5799
5793
|
}
|
|
5800
5794
|
};
|
|
5801
|
-
if (options
|
|
5795
|
+
if (options?.createProxy) {
|
|
5802
5796
|
return new Proxy(webResource, {
|
|
5803
5797
|
get(target, prop, receiver) {
|
|
5804
5798
|
if (prop === originalRequestSymbol2) {
|
|
@@ -5849,7 +5843,7 @@ function toHttpHeadersLike(headers) {
|
|
|
5849
5843
|
function getHeaderKey(headerName) {
|
|
5850
5844
|
return headerName.toLowerCase();
|
|
5851
5845
|
}
|
|
5852
|
-
var originalRequestSymbol2, originalClientRequestSymbol,
|
|
5846
|
+
var originalRequestSymbol2, originalClientRequestSymbol, HttpHeaders;
|
|
5853
5847
|
var init_util = __esm({
|
|
5854
5848
|
"../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/util.js"() {
|
|
5855
5849
|
init_esm6();
|
|
@@ -5859,7 +5853,10 @@ var init_util = __esm({
|
|
|
5859
5853
|
__name(toWebResourceLike, "toWebResourceLike");
|
|
5860
5854
|
__name(toHttpHeadersLike, "toHttpHeadersLike");
|
|
5861
5855
|
__name(getHeaderKey, "getHeaderKey");
|
|
5862
|
-
|
|
5856
|
+
HttpHeaders = class _HttpHeaders {
|
|
5857
|
+
static {
|
|
5858
|
+
__name(this, "HttpHeaders");
|
|
5859
|
+
}
|
|
5863
5860
|
_headersMap;
|
|
5864
5861
|
constructor(rawHeaders) {
|
|
5865
5862
|
this._headersMap = {};
|
|
@@ -5980,8 +5977,6 @@ var init_util = __esm({
|
|
|
5980
5977
|
return new _HttpHeaders(resultPreservingCasing);
|
|
5981
5978
|
}
|
|
5982
5979
|
};
|
|
5983
|
-
__name(_HttpHeaders, "HttpHeaders");
|
|
5984
|
-
HttpHeaders = _HttpHeaders;
|
|
5985
5980
|
}
|
|
5986
5981
|
});
|
|
5987
5982
|
|
|
@@ -5989,7 +5984,7 @@ var init_util = __esm({
|
|
|
5989
5984
|
function toCompatResponse(response, options) {
|
|
5990
5985
|
let request = toWebResourceLike(response.request);
|
|
5991
5986
|
let headers = toHttpHeadersLike(response.headers);
|
|
5992
|
-
if (options
|
|
5987
|
+
if (options?.createProxy) {
|
|
5993
5988
|
return new Proxy(response, {
|
|
5994
5989
|
get(target, prop, receiver) {
|
|
5995
5990
|
if (prop === "headers") {
|
|
@@ -6045,21 +6040,23 @@ var init_response = __esm({
|
|
|
6045
6040
|
});
|
|
6046
6041
|
|
|
6047
6042
|
// ../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/extendedClient.js
|
|
6048
|
-
var
|
|
6043
|
+
var ExtendedServiceClient;
|
|
6049
6044
|
var init_extendedClient = __esm({
|
|
6050
6045
|
"../../node_modules/.store/@azure-core-http-compat-virtual-96ac8d6c7a/package/dist/esm/extendedClient.js"() {
|
|
6051
6046
|
init_disableKeepAlivePolicy();
|
|
6052
6047
|
init_esm6();
|
|
6053
6048
|
init_esm8();
|
|
6054
6049
|
init_response();
|
|
6055
|
-
|
|
6050
|
+
ExtendedServiceClient = class extends ServiceClient {
|
|
6051
|
+
static {
|
|
6052
|
+
__name(this, "ExtendedServiceClient");
|
|
6053
|
+
}
|
|
6056
6054
|
constructor(options) {
|
|
6057
|
-
var _a3, _b2;
|
|
6058
6055
|
super(options);
|
|
6059
|
-
if (
|
|
6056
|
+
if (options.keepAliveOptions?.enable === false && !pipelineContainsDisableKeepAlivePolicy(this.pipeline)) {
|
|
6060
6057
|
this.pipeline.addPolicy(createDisableKeepAlivePolicy());
|
|
6061
6058
|
}
|
|
6062
|
-
if (
|
|
6059
|
+
if (options.redirectOptions?.handleRedirects === false) {
|
|
6063
6060
|
this.pipeline.removePolicy({
|
|
6064
6061
|
name: redirectPolicyName2
|
|
6065
6062
|
});
|
|
@@ -6073,8 +6070,7 @@ var init_extendedClient = __esm({
|
|
|
6073
6070
|
* @returns
|
|
6074
6071
|
*/
|
|
6075
6072
|
async sendOperationRequest(operationArguments, operationSpec) {
|
|
6076
|
-
|
|
6077
|
-
const userProvidedCallBack = (_a3 = operationArguments == null ? void 0 : operationArguments.options) == null ? void 0 : _a3.onResponse;
|
|
6073
|
+
const userProvidedCallBack = operationArguments?.options?.onResponse;
|
|
6078
6074
|
let lastResponse;
|
|
6079
6075
|
function onResponse(rawResponse, flatResponse, error) {
|
|
6080
6076
|
lastResponse = rawResponse;
|
|
@@ -6096,8 +6092,6 @@ var init_extendedClient = __esm({
|
|
|
6096
6092
|
return result;
|
|
6097
6093
|
}
|
|
6098
6094
|
};
|
|
6099
|
-
__name(_ExtendedServiceClient, "ExtendedServiceClient");
|
|
6100
|
-
ExtendedServiceClient = _ExtendedServiceClient;
|
|
6101
6095
|
}
|
|
6102
6096
|
});
|
|
6103
6097
|
|
|
@@ -7700,7 +7694,7 @@ function parseNCRConfig(ncr) {
|
|
|
7700
7694
|
const clampedNull = Math.max(nullLevel, NCR_LEVEL.remove);
|
|
7701
7695
|
return { xmlVersion, onLevel, nullLevel: clampedNull };
|
|
7702
7696
|
}
|
|
7703
|
-
var SPECIAL_CHARS, LIMIT_TIER_EXTERNAL, LIMIT_TIER_BASE, LIMIT_TIER_ALL, NCR_LEVEL, XML10_ALLOWED_C0,
|
|
7697
|
+
var SPECIAL_CHARS, LIMIT_TIER_EXTERNAL, LIMIT_TIER_BASE, LIMIT_TIER_ALL, NCR_LEVEL, XML10_ALLOWED_C0, EntityDecoder;
|
|
7704
7698
|
var init_EntityDecoder = __esm({
|
|
7705
7699
|
"../../node_modules/.store/@nodable-entities-npm-2.1.0-6eb9f06ac0/package/src/EntityDecoder.js"() {
|
|
7706
7700
|
init_entities();
|
|
@@ -7714,7 +7708,10 @@ var init_EntityDecoder = __esm({
|
|
|
7714
7708
|
NCR_LEVEL = Object.freeze({ allow: 0, leave: 1, remove: 2, throw: 3 });
|
|
7715
7709
|
XML10_ALLOWED_C0 = /* @__PURE__ */ new Set([9, 10, 13]);
|
|
7716
7710
|
__name(parseNCRConfig, "parseNCRConfig");
|
|
7717
|
-
|
|
7711
|
+
EntityDecoder = class {
|
|
7712
|
+
static {
|
|
7713
|
+
__name(this, "EntityDecoder");
|
|
7714
|
+
}
|
|
7718
7715
|
/**
|
|
7719
7716
|
* @param {object} [options]
|
|
7720
7717
|
* @param {object|null} [options.namedEntities] — extra named entities merged into base map
|
|
@@ -7881,8 +7878,8 @@ var init_EntityDecoder = __esm({
|
|
|
7881
7878
|
tier2 = LIMIT_TIER_BASE;
|
|
7882
7879
|
} else {
|
|
7883
7880
|
const resolved = this._resolveName(token);
|
|
7884
|
-
replacement = resolved
|
|
7885
|
-
tier2 = resolved
|
|
7881
|
+
replacement = resolved?.value;
|
|
7882
|
+
tier2 = resolved?.tier;
|
|
7886
7883
|
}
|
|
7887
7884
|
if (replacement === void 0) {
|
|
7888
7885
|
i++;
|
|
@@ -8029,8 +8026,6 @@ var init_EntityDecoder = __esm({
|
|
|
8029
8026
|
return this._applyNCRAction(effective, token, cp);
|
|
8030
8027
|
}
|
|
8031
8028
|
};
|
|
8032
|
-
__name(_EntityDecoder, "EntityDecoder");
|
|
8033
|
-
EntityDecoder = _EntityDecoder;
|
|
8034
8029
|
}
|
|
8035
8030
|
});
|
|
8036
8031
|
|
|
@@ -8185,7 +8180,7 @@ var init_OptionsBuilder = __esm({
|
|
|
8185
8180
|
});
|
|
8186
8181
|
|
|
8187
8182
|
// ../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/xmlNode.js
|
|
8188
|
-
var METADATA_SYMBOL,
|
|
8183
|
+
var METADATA_SYMBOL, XmlNode;
|
|
8189
8184
|
var init_xmlNode = __esm({
|
|
8190
8185
|
"../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/xmlNode.js"() {
|
|
8191
8186
|
"use strict";
|
|
@@ -8194,7 +8189,10 @@ var init_xmlNode = __esm({
|
|
|
8194
8189
|
} else {
|
|
8195
8190
|
METADATA_SYMBOL = /* @__PURE__ */ Symbol("XML Node Metadata");
|
|
8196
8191
|
}
|
|
8197
|
-
|
|
8192
|
+
XmlNode = class {
|
|
8193
|
+
static {
|
|
8194
|
+
__name(this, "XmlNode");
|
|
8195
|
+
}
|
|
8198
8196
|
constructor(tagname) {
|
|
8199
8197
|
this.tagname = tagname;
|
|
8200
8198
|
this.child = [];
|
|
@@ -8220,8 +8218,6 @@ var init_xmlNode = __esm({
|
|
|
8220
8218
|
return METADATA_SYMBOL;
|
|
8221
8219
|
}
|
|
8222
8220
|
};
|
|
8223
|
-
__name(_XmlNode, "XmlNode");
|
|
8224
|
-
XmlNode = _XmlNode;
|
|
8225
8221
|
}
|
|
8226
8222
|
});
|
|
8227
8223
|
|
|
@@ -8238,11 +8234,14 @@ function validateEntityName2(name) {
|
|
|
8238
8234
|
else
|
|
8239
8235
|
throw new Error(`Invalid entity name ${name}`);
|
|
8240
8236
|
}
|
|
8241
|
-
var
|
|
8237
|
+
var DocTypeReader, skipWhitespace;
|
|
8242
8238
|
var init_DocTypeReader = __esm({
|
|
8243
8239
|
"../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/DocTypeReader.js"() {
|
|
8244
8240
|
init_util2();
|
|
8245
|
-
|
|
8241
|
+
DocTypeReader = class {
|
|
8242
|
+
static {
|
|
8243
|
+
__name(this, "DocTypeReader");
|
|
8244
|
+
}
|
|
8246
8245
|
constructor(options) {
|
|
8247
8246
|
this.suppressValidationErr = !options;
|
|
8248
8247
|
this.options = options;
|
|
@@ -8498,8 +8497,6 @@ var init_DocTypeReader = __esm({
|
|
|
8498
8497
|
};
|
|
8499
8498
|
}
|
|
8500
8499
|
};
|
|
8501
|
-
__name(_DocTypeReader, "DocTypeReader");
|
|
8502
|
-
DocTypeReader = _DocTypeReader;
|
|
8503
8500
|
skipWhitespace = /* @__PURE__ */ __name((data, index) => {
|
|
8504
8501
|
while (index < data.length && /\s/.test(data[index])) {
|
|
8505
8502
|
index++;
|
|
@@ -8669,10 +8666,13 @@ var init_ignoreAttributes = __esm({
|
|
|
8669
8666
|
});
|
|
8670
8667
|
|
|
8671
8668
|
// ../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/Expression.js
|
|
8672
|
-
var
|
|
8669
|
+
var Expression;
|
|
8673
8670
|
var init_Expression = __esm({
|
|
8674
8671
|
"../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/Expression.js"() {
|
|
8675
|
-
|
|
8672
|
+
Expression = class {
|
|
8673
|
+
static {
|
|
8674
|
+
__name(this, "Expression");
|
|
8675
|
+
}
|
|
8676
8676
|
/**
|
|
8677
8677
|
* Create a new Expression
|
|
8678
8678
|
* @param {string} pattern - Pattern string (e.g., "root.users.user", "..user[id]")
|
|
@@ -8833,16 +8833,17 @@ var init_Expression = __esm({
|
|
|
8833
8833
|
return this.pattern;
|
|
8834
8834
|
}
|
|
8835
8835
|
};
|
|
8836
|
-
__name(_Expression, "Expression");
|
|
8837
|
-
Expression = _Expression;
|
|
8838
8836
|
}
|
|
8839
8837
|
});
|
|
8840
8838
|
|
|
8841
8839
|
// ../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/ExpressionSet.js
|
|
8842
|
-
var
|
|
8840
|
+
var ExpressionSet;
|
|
8843
8841
|
var init_ExpressionSet = __esm({
|
|
8844
8842
|
"../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/ExpressionSet.js"() {
|
|
8845
|
-
|
|
8843
|
+
ExpressionSet = class {
|
|
8844
|
+
static {
|
|
8845
|
+
__name(this, "ExpressionSet");
|
|
8846
|
+
}
|
|
8846
8847
|
constructor() {
|
|
8847
8848
|
this._byDepthAndTag = /* @__PURE__ */ new Map();
|
|
8848
8849
|
this._wildcardByDepth = /* @__PURE__ */ new Map();
|
|
@@ -8876,7 +8877,7 @@ var init_ExpressionSet = __esm({
|
|
|
8876
8877
|
}
|
|
8877
8878
|
const depth = expression.length;
|
|
8878
8879
|
const lastSeg = expression.segments[expression.segments.length - 1];
|
|
8879
|
-
const tag = lastSeg
|
|
8880
|
+
const tag = lastSeg?.tag;
|
|
8880
8881
|
if (!tag || tag === "*") {
|
|
8881
8882
|
if (!this._wildcardByDepth.has(depth)) this._wildcardByDepth.set(depth, []);
|
|
8882
8883
|
this._wildcardByDepth.get(depth).push(expression);
|
|
@@ -8995,16 +8996,17 @@ var init_ExpressionSet = __esm({
|
|
|
8995
8996
|
return null;
|
|
8996
8997
|
}
|
|
8997
8998
|
};
|
|
8998
|
-
__name(_ExpressionSet, "ExpressionSet");
|
|
8999
|
-
ExpressionSet = _ExpressionSet;
|
|
9000
8999
|
}
|
|
9001
9000
|
});
|
|
9002
9001
|
|
|
9003
9002
|
// ../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/Matcher.js
|
|
9004
|
-
var
|
|
9003
|
+
var MatcherView, Matcher;
|
|
9005
9004
|
var init_Matcher = __esm({
|
|
9006
9005
|
"../../node_modules/.store/path-expression-matcher-npm-1.5.0-73d258a112/package/src/Matcher.js"() {
|
|
9007
|
-
|
|
9006
|
+
MatcherView = class {
|
|
9007
|
+
static {
|
|
9008
|
+
__name(this, "MatcherView");
|
|
9009
|
+
}
|
|
9008
9010
|
/**
|
|
9009
9011
|
* @param {Matcher} matcher - The parent Matcher instance to read from.
|
|
9010
9012
|
*/
|
|
@@ -9040,10 +9042,9 @@ var init_Matcher = __esm({
|
|
|
9040
9042
|
* @returns {*}
|
|
9041
9043
|
*/
|
|
9042
9044
|
getAttrValue(attrName) {
|
|
9043
|
-
var _a3;
|
|
9044
9045
|
const path = this._matcher.path;
|
|
9045
9046
|
if (path.length === 0) return void 0;
|
|
9046
|
-
return
|
|
9047
|
+
return path[path.length - 1].values?.[attrName];
|
|
9047
9048
|
}
|
|
9048
9049
|
/**
|
|
9049
9050
|
* Check if current node has an attribute.
|
|
@@ -9122,9 +9123,10 @@ var init_Matcher = __esm({
|
|
|
9122
9123
|
return exprSet.matchesAny(this._matcher);
|
|
9123
9124
|
}
|
|
9124
9125
|
};
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9126
|
+
Matcher = class {
|
|
9127
|
+
static {
|
|
9128
|
+
__name(this, "Matcher");
|
|
9129
|
+
}
|
|
9128
9130
|
/**
|
|
9129
9131
|
* Create a new Matcher.
|
|
9130
9132
|
* @param {Object} [options={}]
|
|
@@ -9219,9 +9221,8 @@ var init_Matcher = __esm({
|
|
|
9219
9221
|
* @returns {*}
|
|
9220
9222
|
*/
|
|
9221
9223
|
getAttrValue(attrName) {
|
|
9222
|
-
var _a3;
|
|
9223
9224
|
if (this.path.length === 0) return void 0;
|
|
9224
|
-
return
|
|
9225
|
+
return this.path[this.path.length - 1].values?.[attrName];
|
|
9225
9226
|
}
|
|
9226
9227
|
/**
|
|
9227
9228
|
* Check if current node has an attribute.
|
|
@@ -9456,8 +9457,6 @@ var init_Matcher = __esm({
|
|
|
9456
9457
|
return this._view;
|
|
9457
9458
|
}
|
|
9458
9459
|
};
|
|
9459
|
-
__name(_Matcher, "Matcher");
|
|
9460
|
-
Matcher = _Matcher;
|
|
9461
9460
|
}
|
|
9462
9461
|
});
|
|
9463
9462
|
|
|
@@ -9794,7 +9793,7 @@ function sanitizeName(name, options) {
|
|
|
9794
9793
|
}
|
|
9795
9794
|
return name;
|
|
9796
9795
|
}
|
|
9797
|
-
var
|
|
9796
|
+
var OrderedObjParser, attrsRegx, parseXml;
|
|
9798
9797
|
var init_OrderedObjParser = __esm({
|
|
9799
9798
|
"../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/OrderedObjParser.js"() {
|
|
9800
9799
|
"use strict";
|
|
@@ -9808,7 +9807,10 @@ var init_OrderedObjParser = __esm({
|
|
|
9808
9807
|
init_src();
|
|
9809
9808
|
__name(extractRawAttributes, "extractRawAttributes");
|
|
9810
9809
|
__name(extractNamespace, "extractNamespace");
|
|
9811
|
-
|
|
9810
|
+
OrderedObjParser = class {
|
|
9811
|
+
static {
|
|
9812
|
+
__name(this, "OrderedObjParser");
|
|
9813
|
+
}
|
|
9812
9814
|
constructor(options) {
|
|
9813
9815
|
this.options = options;
|
|
9814
9816
|
this.currentNode = null;
|
|
@@ -9860,8 +9862,6 @@ var init_OrderedObjParser = __esm({
|
|
|
9860
9862
|
}
|
|
9861
9863
|
}
|
|
9862
9864
|
};
|
|
9863
|
-
__name(_OrderedObjParser, "OrderedObjParser");
|
|
9864
|
-
OrderedObjParser = _OrderedObjParser;
|
|
9865
9865
|
__name(parseTextData, "parseTextData");
|
|
9866
9866
|
__name(resolveNameSpace, "resolveNameSpace");
|
|
9867
9867
|
attrsRegx = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
|
|
@@ -10204,7 +10204,7 @@ var init_node2json = __esm({
|
|
|
10204
10204
|
});
|
|
10205
10205
|
|
|
10206
10206
|
// ../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/XMLParser.js
|
|
10207
|
-
var
|
|
10207
|
+
var XMLParser;
|
|
10208
10208
|
var init_XMLParser = __esm({
|
|
10209
10209
|
"../../node_modules/.store/fast-xml-parser-npm-5.7.1-94929a6c96/package/src/xmlparser/XMLParser.js"() {
|
|
10210
10210
|
init_OptionsBuilder();
|
|
@@ -10212,7 +10212,10 @@ var init_XMLParser = __esm({
|
|
|
10212
10212
|
init_node2json();
|
|
10213
10213
|
init_validator();
|
|
10214
10214
|
init_xmlNode();
|
|
10215
|
-
|
|
10215
|
+
XMLParser = class {
|
|
10216
|
+
static {
|
|
10217
|
+
__name(this, "XMLParser");
|
|
10218
|
+
}
|
|
10216
10219
|
constructor(options) {
|
|
10217
10220
|
this.externalEntities = {};
|
|
10218
10221
|
this.options = buildOptions(options);
|
|
@@ -10271,8 +10274,6 @@ var init_XMLParser = __esm({
|
|
|
10271
10274
|
return XmlNode.getMetaDataSymbol();
|
|
10272
10275
|
}
|
|
10273
10276
|
};
|
|
10274
|
-
__name(_XMLParser, "XMLParser");
|
|
10275
|
-
XMLParser = _XMLParser;
|
|
10276
10277
|
}
|
|
10277
10278
|
});
|
|
10278
10279
|
|
|
@@ -11000,17 +11001,17 @@ var init_xml_common = __esm({
|
|
|
11000
11001
|
|
|
11001
11002
|
// ../../node_modules/.store/@azure-core-xml-npm-1.5.0-fa14061b4e/package/dist/esm/xml.js
|
|
11002
11003
|
function getCommonOptions(options) {
|
|
11003
|
-
var
|
|
11004
|
+
var _a;
|
|
11004
11005
|
return {
|
|
11005
11006
|
attributesGroupName: XML_ATTRKEY2,
|
|
11006
|
-
textNodeName: (
|
|
11007
|
+
textNodeName: (_a = options.xmlCharKey) !== null && _a !== void 0 ? _a : XML_CHARKEY2,
|
|
11007
11008
|
ignoreAttributes: false,
|
|
11008
11009
|
suppressBooleanAttributes: false
|
|
11009
11010
|
};
|
|
11010
11011
|
}
|
|
11011
11012
|
function getSerializerOptions(options = {}) {
|
|
11012
|
-
var
|
|
11013
|
-
return Object.assign(Object.assign({}, getCommonOptions(options)), { attributeNamePrefix: "@_", format: true, suppressEmptyNode: true, indentBy: "", rootNodeName: (
|
|
11013
|
+
var _a, _b;
|
|
11014
|
+
return Object.assign(Object.assign({}, getCommonOptions(options)), { attributeNamePrefix: "@_", format: true, suppressEmptyNode: true, indentBy: "", rootNodeName: (_a = options.rootName) !== null && _a !== void 0 ? _a : "root", cdataPropName: (_b = options.cdataPropName) !== null && _b !== void 0 ? _b : "__cdata" });
|
|
11014
11015
|
}
|
|
11015
11016
|
function getParserOptions(options = {}) {
|
|
11016
11017
|
return Object.assign(Object.assign({}, getCommonOptions(options)), { parseAttributeValue: false, parseTagValue: false, attributeNamePrefix: "", stopNodes: options.stopNodes, processEntities: true, trimValues: false });
|
|
@@ -11074,10 +11075,13 @@ var init_log5 = __esm({
|
|
|
11074
11075
|
|
|
11075
11076
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BuffersStream.js
|
|
11076
11077
|
import { Readable as Readable2 } from "node:stream";
|
|
11077
|
-
var
|
|
11078
|
+
var BuffersStream;
|
|
11078
11079
|
var init_BuffersStream = __esm({
|
|
11079
11080
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BuffersStream.js"() {
|
|
11080
|
-
|
|
11081
|
+
BuffersStream = class extends Readable2 {
|
|
11082
|
+
static {
|
|
11083
|
+
__name(this, "BuffersStream");
|
|
11084
|
+
}
|
|
11081
11085
|
buffers;
|
|
11082
11086
|
byteLength;
|
|
11083
11087
|
/**
|
|
@@ -11159,19 +11163,20 @@ var init_BuffersStream = __esm({
|
|
|
11159
11163
|
}
|
|
11160
11164
|
}
|
|
11161
11165
|
};
|
|
11162
|
-
__name(_BuffersStream, "BuffersStream");
|
|
11163
|
-
BuffersStream = _BuffersStream;
|
|
11164
11166
|
}
|
|
11165
11167
|
});
|
|
11166
11168
|
|
|
11167
11169
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/PooledBuffer.js
|
|
11168
11170
|
import buffer from "node:buffer";
|
|
11169
|
-
var maxBufferLength,
|
|
11171
|
+
var maxBufferLength, PooledBuffer;
|
|
11170
11172
|
var init_PooledBuffer = __esm({
|
|
11171
11173
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/PooledBuffer.js"() {
|
|
11172
11174
|
init_BuffersStream();
|
|
11173
11175
|
maxBufferLength = buffer.constants.MAX_LENGTH;
|
|
11174
|
-
|
|
11176
|
+
PooledBuffer = class {
|
|
11177
|
+
static {
|
|
11178
|
+
__name(this, "PooledBuffer");
|
|
11179
|
+
}
|
|
11175
11180
|
/**
|
|
11176
11181
|
* Internal buffers used to keep the data.
|
|
11177
11182
|
* Each buffer has a length of the maxBufferLength except last one.
|
|
@@ -11247,18 +11252,19 @@ var init_PooledBuffer = __esm({
|
|
|
11247
11252
|
return new BuffersStream(this.buffers, this.size);
|
|
11248
11253
|
}
|
|
11249
11254
|
};
|
|
11250
|
-
__name(_PooledBuffer, "PooledBuffer");
|
|
11251
|
-
PooledBuffer = _PooledBuffer;
|
|
11252
11255
|
}
|
|
11253
11256
|
});
|
|
11254
11257
|
|
|
11255
11258
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BufferScheduler.js
|
|
11256
11259
|
import { EventEmitter } from "events";
|
|
11257
|
-
var
|
|
11260
|
+
var BufferScheduler;
|
|
11258
11261
|
var init_BufferScheduler = __esm({
|
|
11259
11262
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/BufferScheduler.js"() {
|
|
11260
11263
|
init_PooledBuffer();
|
|
11261
|
-
|
|
11264
|
+
BufferScheduler = class {
|
|
11265
|
+
static {
|
|
11266
|
+
__name(this, "BufferScheduler");
|
|
11267
|
+
}
|
|
11262
11268
|
/**
|
|
11263
11269
|
* Size of buffers in incoming and outgoing queues. This class will try to align
|
|
11264
11270
|
* data read from Readable stream into buffer chunks with bufferSize defined.
|
|
@@ -11500,8 +11506,6 @@ var init_BufferScheduler = __esm({
|
|
|
11500
11506
|
}
|
|
11501
11507
|
}
|
|
11502
11508
|
};
|
|
11503
|
-
__name(_BufferScheduler, "BufferScheduler");
|
|
11504
|
-
BufferScheduler = _BufferScheduler;
|
|
11505
11509
|
}
|
|
11506
11510
|
});
|
|
11507
11511
|
|
|
@@ -11527,10 +11531,13 @@ var init_interfaces2 = __esm({
|
|
|
11527
11531
|
});
|
|
11528
11532
|
|
|
11529
11533
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/RequestPolicy.js
|
|
11530
|
-
var
|
|
11534
|
+
var BaseRequestPolicy;
|
|
11531
11535
|
var init_RequestPolicy = __esm({
|
|
11532
11536
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/RequestPolicy.js"() {
|
|
11533
|
-
|
|
11537
|
+
BaseRequestPolicy = class {
|
|
11538
|
+
static {
|
|
11539
|
+
__name(this, "BaseRequestPolicy");
|
|
11540
|
+
}
|
|
11534
11541
|
_nextPolicy;
|
|
11535
11542
|
_options;
|
|
11536
11543
|
/**
|
|
@@ -11558,8 +11565,6 @@ var init_RequestPolicy = __esm({
|
|
|
11558
11565
|
this._options.log(logLevel, message);
|
|
11559
11566
|
}
|
|
11560
11567
|
};
|
|
11561
|
-
__name(_BaseRequestPolicy, "BaseRequestPolicy");
|
|
11562
|
-
BaseRequestPolicy = _BaseRequestPolicy;
|
|
11563
11568
|
}
|
|
11564
11569
|
});
|
|
11565
11570
|
|
|
@@ -11696,14 +11701,17 @@ var init_utils_common = __esm({
|
|
|
11696
11701
|
});
|
|
11697
11702
|
|
|
11698
11703
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageBrowserPolicy.js
|
|
11699
|
-
var
|
|
11704
|
+
var StorageBrowserPolicy;
|
|
11700
11705
|
var init_StorageBrowserPolicy = __esm({
|
|
11701
11706
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageBrowserPolicy.js"() {
|
|
11702
11707
|
init_RequestPolicy();
|
|
11703
11708
|
init_esm4();
|
|
11704
11709
|
init_constants3();
|
|
11705
11710
|
init_utils_common();
|
|
11706
|
-
|
|
11711
|
+
StorageBrowserPolicy = class extends BaseRequestPolicy {
|
|
11712
|
+
static {
|
|
11713
|
+
__name(this, "StorageBrowserPolicy");
|
|
11714
|
+
}
|
|
11707
11715
|
/**
|
|
11708
11716
|
* Creates an instance of StorageBrowserPolicy.
|
|
11709
11717
|
* @param nextPolicy -
|
|
@@ -11731,17 +11739,18 @@ var init_StorageBrowserPolicy = __esm({
|
|
|
11731
11739
|
return this._nextPolicy.sendRequest(request);
|
|
11732
11740
|
}
|
|
11733
11741
|
};
|
|
11734
|
-
__name(_StorageBrowserPolicy, "StorageBrowserPolicy");
|
|
11735
|
-
StorageBrowserPolicy = _StorageBrowserPolicy;
|
|
11736
11742
|
}
|
|
11737
11743
|
});
|
|
11738
11744
|
|
|
11739
11745
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageBrowserPolicyFactory.js
|
|
11740
|
-
var
|
|
11746
|
+
var StorageBrowserPolicyFactory;
|
|
11741
11747
|
var init_StorageBrowserPolicyFactory = __esm({
|
|
11742
11748
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageBrowserPolicyFactory.js"() {
|
|
11743
11749
|
init_StorageBrowserPolicy();
|
|
11744
|
-
|
|
11750
|
+
StorageBrowserPolicyFactory = class {
|
|
11751
|
+
static {
|
|
11752
|
+
__name(this, "StorageBrowserPolicyFactory");
|
|
11753
|
+
}
|
|
11745
11754
|
/**
|
|
11746
11755
|
* Creates a StorageBrowserPolicyFactory object.
|
|
11747
11756
|
*
|
|
@@ -11752,17 +11761,18 @@ var init_StorageBrowserPolicyFactory = __esm({
|
|
|
11752
11761
|
return new StorageBrowserPolicy(nextPolicy, options);
|
|
11753
11762
|
}
|
|
11754
11763
|
};
|
|
11755
|
-
__name(_StorageBrowserPolicyFactory, "StorageBrowserPolicyFactory");
|
|
11756
|
-
StorageBrowserPolicyFactory = _StorageBrowserPolicyFactory;
|
|
11757
11764
|
}
|
|
11758
11765
|
});
|
|
11759
11766
|
|
|
11760
11767
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/CredentialPolicy.js
|
|
11761
|
-
var
|
|
11768
|
+
var CredentialPolicy;
|
|
11762
11769
|
var init_CredentialPolicy = __esm({
|
|
11763
11770
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/CredentialPolicy.js"() {
|
|
11764
11771
|
init_RequestPolicy();
|
|
11765
|
-
|
|
11772
|
+
CredentialPolicy = class extends BaseRequestPolicy {
|
|
11773
|
+
static {
|
|
11774
|
+
__name(this, "CredentialPolicy");
|
|
11775
|
+
}
|
|
11766
11776
|
/**
|
|
11767
11777
|
* Sends out request.
|
|
11768
11778
|
*
|
|
@@ -11781,17 +11791,18 @@ var init_CredentialPolicy = __esm({
|
|
|
11781
11791
|
return request;
|
|
11782
11792
|
}
|
|
11783
11793
|
};
|
|
11784
|
-
__name(_CredentialPolicy, "CredentialPolicy");
|
|
11785
|
-
CredentialPolicy = _CredentialPolicy;
|
|
11786
11794
|
}
|
|
11787
11795
|
});
|
|
11788
11796
|
|
|
11789
11797
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/AnonymousCredentialPolicy.js
|
|
11790
|
-
var
|
|
11798
|
+
var AnonymousCredentialPolicy;
|
|
11791
11799
|
var init_AnonymousCredentialPolicy = __esm({
|
|
11792
11800
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/AnonymousCredentialPolicy.js"() {
|
|
11793
11801
|
init_CredentialPolicy();
|
|
11794
|
-
|
|
11802
|
+
AnonymousCredentialPolicy = class extends CredentialPolicy {
|
|
11803
|
+
static {
|
|
11804
|
+
__name(this, "AnonymousCredentialPolicy");
|
|
11805
|
+
}
|
|
11795
11806
|
/**
|
|
11796
11807
|
* Creates an instance of AnonymousCredentialPolicy.
|
|
11797
11808
|
* @param nextPolicy -
|
|
@@ -11803,16 +11814,17 @@ var init_AnonymousCredentialPolicy = __esm({
|
|
|
11803
11814
|
super(nextPolicy, options);
|
|
11804
11815
|
}
|
|
11805
11816
|
};
|
|
11806
|
-
__name(_AnonymousCredentialPolicy, "AnonymousCredentialPolicy");
|
|
11807
|
-
AnonymousCredentialPolicy = _AnonymousCredentialPolicy;
|
|
11808
11817
|
}
|
|
11809
11818
|
});
|
|
11810
11819
|
|
|
11811
11820
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/Credential.js
|
|
11812
|
-
var
|
|
11821
|
+
var Credential;
|
|
11813
11822
|
var init_Credential = __esm({
|
|
11814
11823
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/Credential.js"() {
|
|
11815
|
-
|
|
11824
|
+
Credential = class {
|
|
11825
|
+
static {
|
|
11826
|
+
__name(this, "Credential");
|
|
11827
|
+
}
|
|
11816
11828
|
/**
|
|
11817
11829
|
* Creates a RequestPolicy object.
|
|
11818
11830
|
*
|
|
@@ -11823,18 +11835,19 @@ var init_Credential = __esm({
|
|
|
11823
11835
|
throw new Error("Method should be implemented in children classes.");
|
|
11824
11836
|
}
|
|
11825
11837
|
};
|
|
11826
|
-
__name(_Credential, "Credential");
|
|
11827
|
-
Credential = _Credential;
|
|
11828
11838
|
}
|
|
11829
11839
|
});
|
|
11830
11840
|
|
|
11831
11841
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/AnonymousCredential.js
|
|
11832
|
-
var
|
|
11842
|
+
var AnonymousCredential;
|
|
11833
11843
|
var init_AnonymousCredential = __esm({
|
|
11834
11844
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/AnonymousCredential.js"() {
|
|
11835
11845
|
init_AnonymousCredentialPolicy();
|
|
11836
11846
|
init_Credential();
|
|
11837
|
-
|
|
11847
|
+
AnonymousCredential = class extends Credential {
|
|
11848
|
+
static {
|
|
11849
|
+
__name(this, "AnonymousCredential");
|
|
11850
|
+
}
|
|
11838
11851
|
/**
|
|
11839
11852
|
* Creates an {@link AnonymousCredentialPolicy} object.
|
|
11840
11853
|
*
|
|
@@ -11845,8 +11858,6 @@ var init_AnonymousCredential = __esm({
|
|
|
11845
11858
|
return new AnonymousCredentialPolicy(nextPolicy, options);
|
|
11846
11859
|
}
|
|
11847
11860
|
};
|
|
11848
|
-
__name(_AnonymousCredential, "AnonymousCredential");
|
|
11849
|
-
AnonymousCredential = _AnonymousCredential;
|
|
11850
11861
|
}
|
|
11851
11862
|
});
|
|
11852
11863
|
|
|
@@ -12283,14 +12294,17 @@ var init_SharedKeyComparator = __esm({
|
|
|
12283
12294
|
});
|
|
12284
12295
|
|
|
12285
12296
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageSharedKeyCredentialPolicy.js
|
|
12286
|
-
var
|
|
12297
|
+
var StorageSharedKeyCredentialPolicy;
|
|
12287
12298
|
var init_StorageSharedKeyCredentialPolicy = __esm({
|
|
12288
12299
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageSharedKeyCredentialPolicy.js"() {
|
|
12289
12300
|
init_constants3();
|
|
12290
12301
|
init_utils_common();
|
|
12291
12302
|
init_CredentialPolicy();
|
|
12292
12303
|
init_SharedKeyComparator();
|
|
12293
|
-
|
|
12304
|
+
StorageSharedKeyCredentialPolicy = class extends CredentialPolicy {
|
|
12305
|
+
static {
|
|
12306
|
+
__name(this, "StorageSharedKeyCredentialPolicy");
|
|
12307
|
+
}
|
|
12294
12308
|
/**
|
|
12295
12309
|
* Reference to StorageSharedKeyCredential which generates StorageSharedKeyCredentialPolicy
|
|
12296
12310
|
*/
|
|
@@ -12412,19 +12426,20 @@ ${key}:${decodeURIComponent(lowercaseQueries[key])}`;
|
|
|
12412
12426
|
return canonicalizedResourceString;
|
|
12413
12427
|
}
|
|
12414
12428
|
};
|
|
12415
|
-
__name(_StorageSharedKeyCredentialPolicy, "StorageSharedKeyCredentialPolicy");
|
|
12416
|
-
StorageSharedKeyCredentialPolicy = _StorageSharedKeyCredentialPolicy;
|
|
12417
12429
|
}
|
|
12418
12430
|
});
|
|
12419
12431
|
|
|
12420
12432
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/StorageSharedKeyCredential.js
|
|
12421
12433
|
import { createHmac } from "node:crypto";
|
|
12422
|
-
var
|
|
12434
|
+
var StorageSharedKeyCredential;
|
|
12423
12435
|
var init_StorageSharedKeyCredential = __esm({
|
|
12424
12436
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/StorageSharedKeyCredential.js"() {
|
|
12425
12437
|
init_StorageSharedKeyCredentialPolicy();
|
|
12426
12438
|
init_Credential();
|
|
12427
|
-
|
|
12439
|
+
StorageSharedKeyCredential = class extends Credential {
|
|
12440
|
+
static {
|
|
12441
|
+
__name(this, "StorageSharedKeyCredential");
|
|
12442
|
+
}
|
|
12428
12443
|
/**
|
|
12429
12444
|
* Azure Storage account name; readonly.
|
|
12430
12445
|
*/
|
|
@@ -12461,8 +12476,6 @@ var init_StorageSharedKeyCredential = __esm({
|
|
|
12461
12476
|
return createHmac("sha256", this.accountKey).update(stringToSign, "utf8").digest("base64");
|
|
12462
12477
|
}
|
|
12463
12478
|
};
|
|
12464
|
-
__name(_StorageSharedKeyCredential, "StorageSharedKeyCredential");
|
|
12465
|
-
StorageSharedKeyCredential = _StorageSharedKeyCredential;
|
|
12466
12479
|
}
|
|
12467
12480
|
});
|
|
12468
12481
|
|
|
@@ -12487,7 +12500,7 @@ var init_StorageRetryPolicyType = __esm({
|
|
|
12487
12500
|
});
|
|
12488
12501
|
|
|
12489
12502
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRetryPolicy.js
|
|
12490
|
-
var DEFAULT_RETRY_OPTIONS, RETRY_ABORT_ERROR,
|
|
12503
|
+
var DEFAULT_RETRY_OPTIONS, RETRY_ABORT_ERROR, StorageRetryPolicy;
|
|
12491
12504
|
var init_StorageRetryPolicy = __esm({
|
|
12492
12505
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/policies/StorageRetryPolicy.js"() {
|
|
12493
12506
|
init_esm3();
|
|
@@ -12506,7 +12519,10 @@ var init_StorageRetryPolicy = __esm({
|
|
|
12506
12519
|
// Use server side default timeout strategy
|
|
12507
12520
|
};
|
|
12508
12521
|
RETRY_ABORT_ERROR = new AbortError2("The operation was aborted.");
|
|
12509
|
-
|
|
12522
|
+
StorageRetryPolicy = class extends BaseRequestPolicy {
|
|
12523
|
+
static {
|
|
12524
|
+
__name(this, "StorageRetryPolicy");
|
|
12525
|
+
}
|
|
12510
12526
|
/**
|
|
12511
12527
|
* RetryOptions.
|
|
12512
12528
|
*/
|
|
@@ -12618,7 +12634,7 @@ var init_StorageRetryPolicy = __esm({
|
|
|
12618
12634
|
}
|
|
12619
12635
|
}
|
|
12620
12636
|
if (response) {
|
|
12621
|
-
if (
|
|
12637
|
+
if (response?.status >= 400) {
|
|
12622
12638
|
const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
|
|
12623
12639
|
if (copySourceError !== void 0) {
|
|
12624
12640
|
switch (copySourceError) {
|
|
@@ -12630,7 +12646,7 @@ var init_StorageRetryPolicy = __esm({
|
|
|
12630
12646
|
}
|
|
12631
12647
|
}
|
|
12632
12648
|
}
|
|
12633
|
-
if (
|
|
12649
|
+
if (err?.code === "PARSE_ERROR" && err?.message.startsWith(`Error "Error: Unclosed root tag`)) {
|
|
12634
12650
|
logger5.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");
|
|
12635
12651
|
return true;
|
|
12636
12652
|
}
|
|
@@ -12661,18 +12677,19 @@ var init_StorageRetryPolicy = __esm({
|
|
|
12661
12677
|
return delay3(delayTimeInMs, abortSignal, RETRY_ABORT_ERROR);
|
|
12662
12678
|
}
|
|
12663
12679
|
};
|
|
12664
|
-
__name(_StorageRetryPolicy, "StorageRetryPolicy");
|
|
12665
|
-
StorageRetryPolicy = _StorageRetryPolicy;
|
|
12666
12680
|
}
|
|
12667
12681
|
});
|
|
12668
12682
|
|
|
12669
12683
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageRetryPolicyFactory.js
|
|
12670
|
-
var
|
|
12684
|
+
var StorageRetryPolicyFactory;
|
|
12671
12685
|
var init_StorageRetryPolicyFactory = __esm({
|
|
12672
12686
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/StorageRetryPolicyFactory.js"() {
|
|
12673
12687
|
init_StorageRetryPolicy();
|
|
12674
12688
|
init_StorageRetryPolicyType();
|
|
12675
|
-
|
|
12689
|
+
StorageRetryPolicyFactory = class {
|
|
12690
|
+
static {
|
|
12691
|
+
__name(this, "StorageRetryPolicyFactory");
|
|
12692
|
+
}
|
|
12676
12693
|
retryOptions;
|
|
12677
12694
|
/**
|
|
12678
12695
|
* Creates an instance of StorageRetryPolicyFactory.
|
|
@@ -12691,8 +12708,6 @@ var init_StorageRetryPolicyFactory = __esm({
|
|
|
12691
12708
|
return new StorageRetryPolicy(nextPolicy, options, this.retryOptions);
|
|
12692
12709
|
}
|
|
12693
12710
|
};
|
|
12694
|
-
__name(_StorageRetryPolicyFactory, "StorageRetryPolicyFactory");
|
|
12695
|
-
StorageRetryPolicyFactory = _StorageRetryPolicyFactory;
|
|
12696
12711
|
}
|
|
12697
12712
|
});
|
|
12698
12713
|
|
|
@@ -12769,13 +12784,13 @@ function storageRetryPolicy(options = {}) {
|
|
|
12769
12784
|
return true;
|
|
12770
12785
|
}
|
|
12771
12786
|
}
|
|
12772
|
-
if (
|
|
12787
|
+
if (error?.code === "PARSE_ERROR" && error?.message.startsWith(`Error "Error: Unclosed root tag`)) {
|
|
12773
12788
|
logger5.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");
|
|
12774
12789
|
return true;
|
|
12775
12790
|
}
|
|
12776
12791
|
}
|
|
12777
12792
|
if (response || error) {
|
|
12778
|
-
const statusCode =
|
|
12793
|
+
const statusCode = response?.status ?? error?.statusCode ?? 0;
|
|
12779
12794
|
if (!isPrimaryRetry && statusCode === 404) {
|
|
12780
12795
|
logger5.info(`RetryPolicy: Secondary access with 404, will retry.`);
|
|
12781
12796
|
return true;
|
|
@@ -12786,7 +12801,7 @@ function storageRetryPolicy(options = {}) {
|
|
|
12786
12801
|
}
|
|
12787
12802
|
}
|
|
12788
12803
|
if (response) {
|
|
12789
|
-
if (
|
|
12804
|
+
if (response?.status >= 400) {
|
|
12790
12805
|
const copySourceError = response.headers.get(HeaderConstants.X_MS_CopySourceErrorCode);
|
|
12791
12806
|
if (copySourceError !== void 0) {
|
|
12792
12807
|
switch (copySourceError) {
|
|
@@ -13032,10 +13047,13 @@ var init_StorageRequestFailureDetailsParserPolicy = __esm({
|
|
|
13032
13047
|
|
|
13033
13048
|
// ../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/UserDelegationKeyCredential.js
|
|
13034
13049
|
import { createHmac as createHmac3 } from "node:crypto";
|
|
13035
|
-
var
|
|
13050
|
+
var UserDelegationKeyCredential;
|
|
13036
13051
|
var init_UserDelegationKeyCredential = __esm({
|
|
13037
13052
|
"../../node_modules/.store/@azure-storage-common-npm-12.3.0-018105ad36/package/dist/esm/credentials/UserDelegationKeyCredential.js"() {
|
|
13038
|
-
|
|
13053
|
+
UserDelegationKeyCredential = class {
|
|
13054
|
+
static {
|
|
13055
|
+
__name(this, "UserDelegationKeyCredential");
|
|
13056
|
+
}
|
|
13039
13057
|
/**
|
|
13040
13058
|
* Azure Storage account name; readonly.
|
|
13041
13059
|
*/
|
|
@@ -13067,8 +13085,6 @@ var init_UserDelegationKeyCredential = __esm({
|
|
|
13067
13085
|
return createHmac3("sha256", this.key).update(stringToSign, "utf8").digest("base64");
|
|
13068
13086
|
}
|
|
13069
13087
|
};
|
|
13070
|
-
__name(_UserDelegationKeyCredential, "UserDelegationKeyCredential");
|
|
13071
|
-
UserDelegationKeyCredential = _UserDelegationKeyCredential;
|
|
13072
13088
|
}
|
|
13073
13089
|
});
|
|
13074
13090
|
|
|
@@ -13514,7 +13530,7 @@ function isCoreHttpPolicyFactory(factory) {
|
|
|
13514
13530
|
return policyName.startsWith(knownPolicyName);
|
|
13515
13531
|
});
|
|
13516
13532
|
}
|
|
13517
|
-
var
|
|
13533
|
+
var Pipeline;
|
|
13518
13534
|
var init_Pipeline = __esm({
|
|
13519
13535
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Pipeline.js"() {
|
|
13520
13536
|
init_esm9();
|
|
@@ -13526,7 +13542,10 @@ var init_Pipeline = __esm({
|
|
|
13526
13542
|
init_esm11();
|
|
13527
13543
|
init_constants4();
|
|
13528
13544
|
__name(isPipelineLike, "isPipelineLike");
|
|
13529
|
-
|
|
13545
|
+
Pipeline = class {
|
|
13546
|
+
static {
|
|
13547
|
+
__name(this, "Pipeline");
|
|
13548
|
+
}
|
|
13530
13549
|
/**
|
|
13531
13550
|
* A list of chained request policy factories.
|
|
13532
13551
|
*/
|
|
@@ -13558,8 +13577,6 @@ var init_Pipeline = __esm({
|
|
|
13558
13577
|
};
|
|
13559
13578
|
}
|
|
13560
13579
|
};
|
|
13561
|
-
__name(_Pipeline, "Pipeline");
|
|
13562
|
-
Pipeline = _Pipeline;
|
|
13563
13580
|
__name(newPipeline, "newPipeline");
|
|
13564
13581
|
__name(processDownlevelPipeline, "processDownlevelPipeline");
|
|
13565
13582
|
__name(getCoreClientOptions, "getCoreClientOptions");
|
|
@@ -23895,13 +23912,16 @@ var init_parameters = __esm({
|
|
|
23895
23912
|
});
|
|
23896
23913
|
|
|
23897
23914
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/service.js
|
|
23898
|
-
var
|
|
23915
|
+
var ServiceImpl, xmlSerializer, setPropertiesOperationSpec, getPropertiesOperationSpec, getStatisticsOperationSpec, listContainersSegmentOperationSpec, getUserDelegationKeyOperationSpec, getAccountInfoOperationSpec, submitBatchOperationSpec, filterBlobsOperationSpec;
|
|
23899
23916
|
var init_service = __esm({
|
|
23900
23917
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/service.js"() {
|
|
23901
23918
|
init_esm8();
|
|
23902
23919
|
init_mappers();
|
|
23903
23920
|
init_parameters();
|
|
23904
|
-
|
|
23921
|
+
ServiceImpl = class {
|
|
23922
|
+
static {
|
|
23923
|
+
__name(this, "ServiceImpl");
|
|
23924
|
+
}
|
|
23905
23925
|
client;
|
|
23906
23926
|
/**
|
|
23907
23927
|
* Initialize a new instance of the class Service class.
|
|
@@ -23980,8 +24000,6 @@ var init_service = __esm({
|
|
|
23980
24000
|
return this.client.sendOperationRequest({ options }, filterBlobsOperationSpec);
|
|
23981
24001
|
}
|
|
23982
24002
|
};
|
|
23983
|
-
__name(_ServiceImpl, "ServiceImpl");
|
|
23984
|
-
ServiceImpl = _ServiceImpl;
|
|
23985
24003
|
xmlSerializer = createSerializer(
|
|
23986
24004
|
mappers_exports,
|
|
23987
24005
|
/* isXml */
|
|
@@ -24222,13 +24240,16 @@ var init_service = __esm({
|
|
|
24222
24240
|
});
|
|
24223
24241
|
|
|
24224
24242
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/container.js
|
|
24225
|
-
var
|
|
24243
|
+
var ContainerImpl, xmlSerializer2, createOperationSpec, getPropertiesOperationSpec2, deleteOperationSpec, setMetadataOperationSpec, getAccessPolicyOperationSpec, setAccessPolicyOperationSpec, restoreOperationSpec, renameOperationSpec, submitBatchOperationSpec2, filterBlobsOperationSpec2, acquireLeaseOperationSpec, releaseLeaseOperationSpec, renewLeaseOperationSpec, breakLeaseOperationSpec, changeLeaseOperationSpec, listBlobFlatSegmentOperationSpec, listBlobHierarchySegmentOperationSpec, getAccountInfoOperationSpec2;
|
|
24226
24244
|
var init_container = __esm({
|
|
24227
24245
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/container.js"() {
|
|
24228
24246
|
init_esm8();
|
|
24229
24247
|
init_mappers();
|
|
24230
24248
|
init_parameters();
|
|
24231
|
-
|
|
24249
|
+
ContainerImpl = class {
|
|
24250
|
+
static {
|
|
24251
|
+
__name(this, "ContainerImpl");
|
|
24252
|
+
}
|
|
24232
24253
|
client;
|
|
24233
24254
|
/**
|
|
24234
24255
|
* Initialize a new instance of the class Container class.
|
|
@@ -24390,8 +24411,6 @@ var init_container = __esm({
|
|
|
24390
24411
|
return this.client.sendOperationRequest({ options }, getAccountInfoOperationSpec2);
|
|
24391
24412
|
}
|
|
24392
24413
|
};
|
|
24393
|
-
__name(_ContainerImpl, "ContainerImpl");
|
|
24394
|
-
ContainerImpl = _ContainerImpl;
|
|
24395
24414
|
xmlSerializer2 = createSerializer(
|
|
24396
24415
|
mappers_exports,
|
|
24397
24416
|
/* isXml */
|
|
@@ -24941,13 +24960,16 @@ var init_container = __esm({
|
|
|
24941
24960
|
});
|
|
24942
24961
|
|
|
24943
24962
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blob.js
|
|
24944
|
-
var
|
|
24963
|
+
var BlobImpl, xmlSerializer3, downloadOperationSpec, getPropertiesOperationSpec3, deleteOperationSpec2, undeleteOperationSpec, setExpiryOperationSpec, setHttpHeadersOperationSpec, setImmutabilityPolicyOperationSpec, deleteImmutabilityPolicyOperationSpec, setLegalHoldOperationSpec, setMetadataOperationSpec2, acquireLeaseOperationSpec2, releaseLeaseOperationSpec2, renewLeaseOperationSpec2, changeLeaseOperationSpec2, breakLeaseOperationSpec2, createSnapshotOperationSpec, startCopyFromURLOperationSpec, copyFromURLOperationSpec, abortCopyFromURLOperationSpec, setTierOperationSpec, getAccountInfoOperationSpec3, queryOperationSpec, getTagsOperationSpec, setTagsOperationSpec;
|
|
24945
24964
|
var init_blob = __esm({
|
|
24946
24965
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blob.js"() {
|
|
24947
24966
|
init_esm8();
|
|
24948
24967
|
init_mappers();
|
|
24949
24968
|
init_parameters();
|
|
24950
|
-
|
|
24969
|
+
BlobImpl = class {
|
|
24970
|
+
static {
|
|
24971
|
+
__name(this, "BlobImpl");
|
|
24972
|
+
}
|
|
24951
24973
|
client;
|
|
24952
24974
|
/**
|
|
24953
24975
|
* Initialize a new instance of the class Blob class.
|
|
@@ -25170,8 +25192,6 @@ var init_blob = __esm({
|
|
|
25170
25192
|
return this.client.sendOperationRequest({ options }, setTagsOperationSpec);
|
|
25171
25193
|
}
|
|
25172
25194
|
};
|
|
25173
|
-
__name(_BlobImpl, "BlobImpl");
|
|
25174
|
-
BlobImpl = _BlobImpl;
|
|
25175
25195
|
xmlSerializer3 = createSerializer(
|
|
25176
25196
|
mappers_exports,
|
|
25177
25197
|
/* isXml */
|
|
@@ -25974,13 +25994,16 @@ var init_blob = __esm({
|
|
|
25974
25994
|
});
|
|
25975
25995
|
|
|
25976
25996
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/pageBlob.js
|
|
25977
|
-
var
|
|
25997
|
+
var PageBlobImpl, xmlSerializer4, createOperationSpec2, uploadPagesOperationSpec, clearPagesOperationSpec, uploadPagesFromURLOperationSpec, getPageRangesOperationSpec, getPageRangesDiffOperationSpec, resizeOperationSpec, updateSequenceNumberOperationSpec, copyIncrementalOperationSpec;
|
|
25978
25998
|
var init_pageBlob = __esm({
|
|
25979
25999
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/pageBlob.js"() {
|
|
25980
26000
|
init_esm8();
|
|
25981
26001
|
init_mappers();
|
|
25982
26002
|
init_parameters();
|
|
25983
|
-
|
|
26003
|
+
PageBlobImpl = class {
|
|
26004
|
+
static {
|
|
26005
|
+
__name(this, "PageBlobImpl");
|
|
26006
|
+
}
|
|
25984
26007
|
client;
|
|
25985
26008
|
/**
|
|
25986
26009
|
* Initialize a new instance of the class PageBlob class.
|
|
@@ -26081,8 +26104,6 @@ var init_pageBlob = __esm({
|
|
|
26081
26104
|
return this.client.sendOperationRequest({ copySource: copySource2, options }, copyIncrementalOperationSpec);
|
|
26082
26105
|
}
|
|
26083
26106
|
};
|
|
26084
|
-
__name(_PageBlobImpl, "PageBlobImpl");
|
|
26085
|
-
PageBlobImpl = _PageBlobImpl;
|
|
26086
26107
|
xmlSerializer4 = createSerializer(
|
|
26087
26108
|
mappers_exports,
|
|
26088
26109
|
/* isXml */
|
|
@@ -26435,13 +26456,16 @@ var init_pageBlob = __esm({
|
|
|
26435
26456
|
});
|
|
26436
26457
|
|
|
26437
26458
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/appendBlob.js
|
|
26438
|
-
var
|
|
26459
|
+
var AppendBlobImpl, xmlSerializer5, createOperationSpec3, appendBlockOperationSpec, appendBlockFromUrlOperationSpec, sealOperationSpec;
|
|
26439
26460
|
var init_appendBlob = __esm({
|
|
26440
26461
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/appendBlob.js"() {
|
|
26441
26462
|
init_esm8();
|
|
26442
26463
|
init_mappers();
|
|
26443
26464
|
init_parameters();
|
|
26444
|
-
|
|
26465
|
+
AppendBlobImpl = class {
|
|
26466
|
+
static {
|
|
26467
|
+
__name(this, "AppendBlobImpl");
|
|
26468
|
+
}
|
|
26445
26469
|
client;
|
|
26446
26470
|
/**
|
|
26447
26471
|
* Initialize a new instance of the class AppendBlob class.
|
|
@@ -26490,8 +26514,6 @@ var init_appendBlob = __esm({
|
|
|
26490
26514
|
return this.client.sendOperationRequest({ options }, sealOperationSpec);
|
|
26491
26515
|
}
|
|
26492
26516
|
};
|
|
26493
|
-
__name(_AppendBlobImpl, "AppendBlobImpl");
|
|
26494
|
-
AppendBlobImpl = _AppendBlobImpl;
|
|
26495
26517
|
xmlSerializer5 = createSerializer(
|
|
26496
26518
|
mappers_exports,
|
|
26497
26519
|
/* isXml */
|
|
@@ -26661,13 +26683,16 @@ var init_appendBlob = __esm({
|
|
|
26661
26683
|
});
|
|
26662
26684
|
|
|
26663
26685
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blockBlob.js
|
|
26664
|
-
var
|
|
26686
|
+
var BlockBlobImpl, xmlSerializer6, uploadOperationSpec, putBlobFromUrlOperationSpec, stageBlockOperationSpec, stageBlockFromURLOperationSpec, commitBlockListOperationSpec, getBlockListOperationSpec;
|
|
26665
26687
|
var init_blockBlob = __esm({
|
|
26666
26688
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/operations/blockBlob.js"() {
|
|
26667
26689
|
init_esm8();
|
|
26668
26690
|
init_mappers();
|
|
26669
26691
|
init_parameters();
|
|
26670
|
-
|
|
26692
|
+
BlockBlobImpl = class {
|
|
26693
|
+
static {
|
|
26694
|
+
__name(this, "BlockBlobImpl");
|
|
26695
|
+
}
|
|
26671
26696
|
client;
|
|
26672
26697
|
/**
|
|
26673
26698
|
* Initialize a new instance of the class BlockBlob class.
|
|
@@ -26754,8 +26779,6 @@ var init_blockBlob = __esm({
|
|
|
26754
26779
|
return this.client.sendOperationRequest({ listType: listType2, options }, getBlockListOperationSpec);
|
|
26755
26780
|
}
|
|
26756
26781
|
};
|
|
26757
|
-
__name(_BlockBlobImpl, "BlockBlobImpl");
|
|
26758
|
-
BlockBlobImpl = _BlockBlobImpl;
|
|
26759
26782
|
xmlSerializer6 = createSerializer(
|
|
26760
26783
|
mappers_exports,
|
|
26761
26784
|
/* isXml */
|
|
@@ -27044,12 +27067,15 @@ var init_operations = __esm({
|
|
|
27044
27067
|
});
|
|
27045
27068
|
|
|
27046
27069
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/storageClient.js
|
|
27047
|
-
var
|
|
27070
|
+
var StorageClient;
|
|
27048
27071
|
var init_storageClient = __esm({
|
|
27049
27072
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/generated/src/storageClient.js"() {
|
|
27050
27073
|
init_esm9();
|
|
27051
27074
|
init_operations();
|
|
27052
|
-
|
|
27075
|
+
StorageClient = class extends ExtendedServiceClient {
|
|
27076
|
+
static {
|
|
27077
|
+
__name(this, "StorageClient");
|
|
27078
|
+
}
|
|
27053
27079
|
url;
|
|
27054
27080
|
version;
|
|
27055
27081
|
/**
|
|
@@ -27095,8 +27121,6 @@ var init_storageClient = __esm({
|
|
|
27095
27121
|
appendBlob;
|
|
27096
27122
|
blockBlob;
|
|
27097
27123
|
};
|
|
27098
|
-
__name(_StorageClient, "StorageClient");
|
|
27099
|
-
StorageClient = _StorageClient;
|
|
27100
27124
|
}
|
|
27101
27125
|
});
|
|
27102
27126
|
|
|
@@ -27158,11 +27182,14 @@ var init_src3 = __esm({
|
|
|
27158
27182
|
});
|
|
27159
27183
|
|
|
27160
27184
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageContextClient.js
|
|
27161
|
-
var
|
|
27185
|
+
var StorageContextClient;
|
|
27162
27186
|
var init_StorageContextClient = __esm({
|
|
27163
27187
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageContextClient.js"() {
|
|
27164
27188
|
init_src3();
|
|
27165
|
-
|
|
27189
|
+
StorageContextClient = class extends StorageClient {
|
|
27190
|
+
static {
|
|
27191
|
+
__name(this, "StorageContextClient");
|
|
27192
|
+
}
|
|
27166
27193
|
async sendOperationRequest(operationArguments, operationSpec) {
|
|
27167
27194
|
const operationSpecToSend = { ...operationSpec };
|
|
27168
27195
|
if (operationSpecToSend.path === "/{containerName}" || operationSpecToSend.path === "/{containerName}/{blob}") {
|
|
@@ -27171,8 +27198,6 @@ var init_StorageContextClient = __esm({
|
|
|
27171
27198
|
return super.sendOperationRequest(operationArguments, operationSpecToSend);
|
|
27172
27199
|
}
|
|
27173
27200
|
};
|
|
27174
|
-
__name(_StorageContextClient, "StorageContextClient");
|
|
27175
|
-
StorageContextClient = _StorageContextClient;
|
|
27176
27201
|
}
|
|
27177
27202
|
});
|
|
27178
27203
|
|
|
@@ -27533,11 +27558,10 @@ function ConvertInternalResponseOfListBlobFlat(internalResponse) {
|
|
|
27533
27558
|
};
|
|
27534
27559
|
}
|
|
27535
27560
|
function ConvertInternalResponseOfListBlobHierarchy(internalResponse) {
|
|
27536
|
-
var _a3;
|
|
27537
27561
|
return {
|
|
27538
27562
|
...internalResponse,
|
|
27539
27563
|
segment: {
|
|
27540
|
-
blobPrefixes:
|
|
27564
|
+
blobPrefixes: internalResponse.segment.blobPrefixes?.map((blobPrefixInternal) => {
|
|
27541
27565
|
const blobPrefix = {
|
|
27542
27566
|
...blobPrefixInternal,
|
|
27543
27567
|
name: BlobNameToString(blobPrefixInternal.name)
|
|
@@ -27648,13 +27672,16 @@ var init_utils_common2 = __esm({
|
|
|
27648
27672
|
});
|
|
27649
27673
|
|
|
27650
27674
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageClient.js
|
|
27651
|
-
var
|
|
27675
|
+
var StorageClient2;
|
|
27652
27676
|
var init_StorageClient = __esm({
|
|
27653
27677
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/StorageClient.js"() {
|
|
27654
27678
|
init_StorageContextClient();
|
|
27655
27679
|
init_Pipeline();
|
|
27656
27680
|
init_utils_common2();
|
|
27657
|
-
|
|
27681
|
+
StorageClient2 = class {
|
|
27682
|
+
static {
|
|
27683
|
+
__name(this, "StorageClient");
|
|
27684
|
+
}
|
|
27658
27685
|
/**
|
|
27659
27686
|
* Encoded URL string value.
|
|
27660
27687
|
*/
|
|
@@ -27694,8 +27721,6 @@ var init_StorageClient = __esm({
|
|
|
27694
27721
|
storageClientContext.requestContentType = void 0;
|
|
27695
27722
|
}
|
|
27696
27723
|
};
|
|
27697
|
-
__name(_StorageClient2, "StorageClient");
|
|
27698
|
-
StorageClient2 = _StorageClient2;
|
|
27699
27724
|
}
|
|
27700
27725
|
});
|
|
27701
27726
|
|
|
@@ -27714,10 +27739,13 @@ var init_tracing = __esm({
|
|
|
27714
27739
|
});
|
|
27715
27740
|
|
|
27716
27741
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/BlobSASPermissions.js
|
|
27717
|
-
var
|
|
27742
|
+
var BlobSASPermissions;
|
|
27718
27743
|
var init_BlobSASPermissions = __esm({
|
|
27719
27744
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/BlobSASPermissions.js"() {
|
|
27720
|
-
|
|
27745
|
+
BlobSASPermissions = class _BlobSASPermissions {
|
|
27746
|
+
static {
|
|
27747
|
+
__name(this, "BlobSASPermissions");
|
|
27748
|
+
}
|
|
27721
27749
|
/**
|
|
27722
27750
|
* Creates a {@link BlobSASPermissions} from the specified permissions string. This method will throw an
|
|
27723
27751
|
* Error if it encounters a character that does not correspond to a valid permission.
|
|
@@ -27898,16 +27926,17 @@ var init_BlobSASPermissions = __esm({
|
|
|
27898
27926
|
return permissions.join("");
|
|
27899
27927
|
}
|
|
27900
27928
|
};
|
|
27901
|
-
__name(_BlobSASPermissions, "BlobSASPermissions");
|
|
27902
|
-
BlobSASPermissions = _BlobSASPermissions;
|
|
27903
27929
|
}
|
|
27904
27930
|
});
|
|
27905
27931
|
|
|
27906
27932
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/ContainerSASPermissions.js
|
|
27907
|
-
var
|
|
27933
|
+
var ContainerSASPermissions;
|
|
27908
27934
|
var init_ContainerSASPermissions = __esm({
|
|
27909
27935
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/ContainerSASPermissions.js"() {
|
|
27910
|
-
|
|
27936
|
+
ContainerSASPermissions = class _ContainerSASPermissions {
|
|
27937
|
+
static {
|
|
27938
|
+
__name(this, "ContainerSASPermissions");
|
|
27939
|
+
}
|
|
27911
27940
|
/**
|
|
27912
27941
|
* Creates an {@link ContainerSASPermissions} from the specified permissions string. This method will throw an
|
|
27913
27942
|
* Error if it encounters a character that does not correspond to a valid permission.
|
|
@@ -28116,8 +28145,6 @@ var init_ContainerSASPermissions = __esm({
|
|
|
28116
28145
|
return permissions.join("");
|
|
28117
28146
|
}
|
|
28118
28147
|
};
|
|
28119
|
-
__name(_ContainerSASPermissions, "ContainerSASPermissions");
|
|
28120
|
-
ContainerSASPermissions = _ContainerSASPermissions;
|
|
28121
28148
|
}
|
|
28122
28149
|
});
|
|
28123
28150
|
|
|
@@ -28132,7 +28159,7 @@ var init_SasIPRange = __esm({
|
|
|
28132
28159
|
});
|
|
28133
28160
|
|
|
28134
28161
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/SASQueryParameters.js
|
|
28135
|
-
var SASProtocol,
|
|
28162
|
+
var SASProtocol, SASQueryParameters;
|
|
28136
28163
|
var init_SASQueryParameters = __esm({
|
|
28137
28164
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/SASQueryParameters.js"() {
|
|
28138
28165
|
init_SasIPRange();
|
|
@@ -28141,7 +28168,10 @@ var init_SASQueryParameters = __esm({
|
|
|
28141
28168
|
SASProtocol2["Https"] = "https";
|
|
28142
28169
|
SASProtocol2["HttpsAndHttp"] = "https,http";
|
|
28143
28170
|
})(SASProtocol || (SASProtocol = {}));
|
|
28144
|
-
|
|
28171
|
+
SASQueryParameters = class {
|
|
28172
|
+
static {
|
|
28173
|
+
__name(this, "SASQueryParameters");
|
|
28174
|
+
}
|
|
28145
28175
|
/**
|
|
28146
28176
|
* The storage API version.
|
|
28147
28177
|
*/
|
|
@@ -28481,8 +28511,6 @@ var init_SASQueryParameters = __esm({
|
|
|
28481
28511
|
}
|
|
28482
28512
|
}
|
|
28483
28513
|
};
|
|
28484
|
-
__name(_SASQueryParameters, "SASQueryParameters");
|
|
28485
|
-
SASQueryParameters = _SASQueryParameters;
|
|
28486
28514
|
}
|
|
28487
28515
|
});
|
|
28488
28516
|
|
|
@@ -28962,14 +28990,17 @@ var init_BlobSASSignatureValues = __esm({
|
|
|
28962
28990
|
});
|
|
28963
28991
|
|
|
28964
28992
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobLeaseClient.js
|
|
28965
|
-
var
|
|
28993
|
+
var BlobLeaseClient;
|
|
28966
28994
|
var init_BlobLeaseClient = __esm({
|
|
28967
28995
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobLeaseClient.js"() {
|
|
28968
28996
|
init_esm4();
|
|
28969
28997
|
init_constants4();
|
|
28970
28998
|
init_tracing();
|
|
28971
28999
|
init_utils_common2();
|
|
28972
|
-
|
|
29000
|
+
BlobLeaseClient = class {
|
|
29001
|
+
static {
|
|
29002
|
+
__name(this, "BlobLeaseClient");
|
|
29003
|
+
}
|
|
28973
29004
|
_leaseId;
|
|
28974
29005
|
_url;
|
|
28975
29006
|
_containerOrBlobOperation;
|
|
@@ -29023,18 +29054,16 @@ var init_BlobLeaseClient = __esm({
|
|
|
29023
29054
|
* @returns Response data for acquire lease operation.
|
|
29024
29055
|
*/
|
|
29025
29056
|
async acquireLease(duration2, options = {}) {
|
|
29026
|
-
|
|
29027
|
-
if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
|
|
29057
|
+
if (this._isContainer && (options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone || options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone || options.conditions?.tagConditions)) {
|
|
29028
29058
|
throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
|
|
29029
29059
|
}
|
|
29030
29060
|
return tracingClient.withSpan("BlobLeaseClient-acquireLease", options, async (updatedOptions) => {
|
|
29031
|
-
var _a4;
|
|
29032
29061
|
return assertResponse(await this._containerOrBlobOperation.acquireLease({
|
|
29033
29062
|
abortSignal: options.abortSignal,
|
|
29034
29063
|
duration: duration2,
|
|
29035
29064
|
modifiedAccessConditions: {
|
|
29036
29065
|
...options.conditions,
|
|
29037
|
-
ifTags:
|
|
29066
|
+
ifTags: options.conditions?.tagConditions
|
|
29038
29067
|
},
|
|
29039
29068
|
proposedLeaseId: this._leaseId,
|
|
29040
29069
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -29052,17 +29081,15 @@ var init_BlobLeaseClient = __esm({
|
|
|
29052
29081
|
* @returns Response data for change lease operation.
|
|
29053
29082
|
*/
|
|
29054
29083
|
async changeLease(proposedLeaseId2, options = {}) {
|
|
29055
|
-
|
|
29056
|
-
if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
|
|
29084
|
+
if (this._isContainer && (options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone || options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone || options.conditions?.tagConditions)) {
|
|
29057
29085
|
throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
|
|
29058
29086
|
}
|
|
29059
29087
|
return tracingClient.withSpan("BlobLeaseClient-changeLease", options, async (updatedOptions) => {
|
|
29060
|
-
var _a4;
|
|
29061
29088
|
const response = assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId, proposedLeaseId2, {
|
|
29062
29089
|
abortSignal: options.abortSignal,
|
|
29063
29090
|
modifiedAccessConditions: {
|
|
29064
29091
|
...options.conditions,
|
|
29065
|
-
ifTags:
|
|
29092
|
+
ifTags: options.conditions?.tagConditions
|
|
29066
29093
|
},
|
|
29067
29094
|
tracingOptions: updatedOptions.tracingOptions
|
|
29068
29095
|
}));
|
|
@@ -29081,17 +29108,15 @@ var init_BlobLeaseClient = __esm({
|
|
|
29081
29108
|
* @returns Response data for release lease operation.
|
|
29082
29109
|
*/
|
|
29083
29110
|
async releaseLease(options = {}) {
|
|
29084
|
-
|
|
29085
|
-
if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
|
|
29111
|
+
if (this._isContainer && (options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone || options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone || options.conditions?.tagConditions)) {
|
|
29086
29112
|
throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
|
|
29087
29113
|
}
|
|
29088
29114
|
return tracingClient.withSpan("BlobLeaseClient-releaseLease", options, async (updatedOptions) => {
|
|
29089
|
-
var _a4;
|
|
29090
29115
|
return assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId, {
|
|
29091
29116
|
abortSignal: options.abortSignal,
|
|
29092
29117
|
modifiedAccessConditions: {
|
|
29093
29118
|
...options.conditions,
|
|
29094
|
-
ifTags:
|
|
29119
|
+
ifTags: options.conditions?.tagConditions
|
|
29095
29120
|
},
|
|
29096
29121
|
tracingOptions: updatedOptions.tracingOptions
|
|
29097
29122
|
}));
|
|
@@ -29107,17 +29132,15 @@ var init_BlobLeaseClient = __esm({
|
|
|
29107
29132
|
* @returns Response data for renew lease operation.
|
|
29108
29133
|
*/
|
|
29109
29134
|
async renewLease(options = {}) {
|
|
29110
|
-
|
|
29111
|
-
if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
|
|
29135
|
+
if (this._isContainer && (options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone || options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone || options.conditions?.tagConditions)) {
|
|
29112
29136
|
throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
|
|
29113
29137
|
}
|
|
29114
29138
|
return tracingClient.withSpan("BlobLeaseClient-renewLease", options, async (updatedOptions) => {
|
|
29115
|
-
var _a4;
|
|
29116
29139
|
return this._containerOrBlobOperation.renewLease(this._leaseId, {
|
|
29117
29140
|
abortSignal: options.abortSignal,
|
|
29118
29141
|
modifiedAccessConditions: {
|
|
29119
29142
|
...options.conditions,
|
|
29120
|
-
ifTags:
|
|
29143
|
+
ifTags: options.conditions?.tagConditions
|
|
29121
29144
|
},
|
|
29122
29145
|
tracingOptions: updatedOptions.tracingOptions
|
|
29123
29146
|
});
|
|
@@ -29135,18 +29158,16 @@ var init_BlobLeaseClient = __esm({
|
|
|
29135
29158
|
* @returns Response data for break lease operation.
|
|
29136
29159
|
*/
|
|
29137
29160
|
async breakLease(breakPeriod2, options = {}) {
|
|
29138
|
-
|
|
29139
|
-
if (this._isContainer && (((_a3 = options.conditions) == null ? void 0 : _a3.ifMatch) && ((_b2 = options.conditions) == null ? void 0 : _b2.ifMatch) !== ETagNone || ((_c2 = options.conditions) == null ? void 0 : _c2.ifNoneMatch) && ((_d = options.conditions) == null ? void 0 : _d.ifNoneMatch) !== ETagNone || ((_e = options.conditions) == null ? void 0 : _e.tagConditions))) {
|
|
29161
|
+
if (this._isContainer && (options.conditions?.ifMatch && options.conditions?.ifMatch !== ETagNone || options.conditions?.ifNoneMatch && options.conditions?.ifNoneMatch !== ETagNone || options.conditions?.tagConditions)) {
|
|
29140
29162
|
throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");
|
|
29141
29163
|
}
|
|
29142
29164
|
return tracingClient.withSpan("BlobLeaseClient-breakLease", options, async (updatedOptions) => {
|
|
29143
|
-
var _a4;
|
|
29144
29165
|
const operationOptions = {
|
|
29145
29166
|
abortSignal: options.abortSignal,
|
|
29146
29167
|
breakPeriod: breakPeriod2,
|
|
29147
29168
|
modifiedAccessConditions: {
|
|
29148
29169
|
...options.conditions,
|
|
29149
|
-
ifTags:
|
|
29170
|
+
ifTags: options.conditions?.tagConditions
|
|
29150
29171
|
},
|
|
29151
29172
|
tracingOptions: updatedOptions.tracingOptions
|
|
29152
29173
|
};
|
|
@@ -29154,18 +29175,19 @@ var init_BlobLeaseClient = __esm({
|
|
|
29154
29175
|
});
|
|
29155
29176
|
}
|
|
29156
29177
|
};
|
|
29157
|
-
__name(_BlobLeaseClient, "BlobLeaseClient");
|
|
29158
|
-
BlobLeaseClient = _BlobLeaseClient;
|
|
29159
29178
|
}
|
|
29160
29179
|
});
|
|
29161
29180
|
|
|
29162
29181
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/RetriableReadableStream.js
|
|
29163
29182
|
import { Readable as Readable3 } from "node:stream";
|
|
29164
|
-
var
|
|
29183
|
+
var RetriableReadableStream;
|
|
29165
29184
|
var init_RetriableReadableStream = __esm({
|
|
29166
29185
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/RetriableReadableStream.js"() {
|
|
29167
29186
|
init_esm3();
|
|
29168
|
-
|
|
29187
|
+
RetriableReadableStream = class extends Readable3 {
|
|
29188
|
+
static {
|
|
29189
|
+
__name(this, "RetriableReadableStream");
|
|
29190
|
+
}
|
|
29169
29191
|
start;
|
|
29170
29192
|
offset;
|
|
29171
29193
|
end;
|
|
@@ -29263,18 +29285,19 @@ var init_RetriableReadableStream = __esm({
|
|
|
29263
29285
|
callback(error === null ? void 0 : error);
|
|
29264
29286
|
}
|
|
29265
29287
|
};
|
|
29266
|
-
__name(_RetriableReadableStream, "RetriableReadableStream");
|
|
29267
|
-
RetriableReadableStream = _RetriableReadableStream;
|
|
29268
29288
|
}
|
|
29269
29289
|
});
|
|
29270
29290
|
|
|
29271
29291
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobDownloadResponse.js
|
|
29272
|
-
var
|
|
29292
|
+
var BlobDownloadResponse;
|
|
29273
29293
|
var init_BlobDownloadResponse = __esm({
|
|
29274
29294
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobDownloadResponse.js"() {
|
|
29275
29295
|
init_esm4();
|
|
29276
29296
|
init_RetriableReadableStream();
|
|
29277
|
-
|
|
29297
|
+
BlobDownloadResponse = class {
|
|
29298
|
+
static {
|
|
29299
|
+
__name(this, "BlobDownloadResponse");
|
|
29300
|
+
}
|
|
29278
29301
|
/**
|
|
29279
29302
|
* Indicates that the service supports
|
|
29280
29303
|
* requests for partial file content.
|
|
@@ -29724,8 +29747,6 @@ var init_BlobDownloadResponse = __esm({
|
|
|
29724
29747
|
this.blobDownloadStream = new RetriableReadableStream(this.originalResponse.readableStreamBody, getter, offset, count, options);
|
|
29725
29748
|
}
|
|
29726
29749
|
};
|
|
29727
|
-
__name(_BlobDownloadResponse, "BlobDownloadResponse");
|
|
29728
|
-
BlobDownloadResponse = _BlobDownloadResponse;
|
|
29729
29750
|
}
|
|
29730
29751
|
});
|
|
29731
29752
|
|
|
@@ -29741,10 +29762,13 @@ var init_AvroConstants = __esm({
|
|
|
29741
29762
|
});
|
|
29742
29763
|
|
|
29743
29764
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroParser.js
|
|
29744
|
-
var
|
|
29765
|
+
var AvroParser, AvroComplex, AvroPrimitive, AvroType, AvroPrimitiveType, AvroEnumType, AvroUnionType, AvroMapType, AvroRecordType;
|
|
29745
29766
|
var init_AvroParser = __esm({
|
|
29746
29767
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroParser.js"() {
|
|
29747
|
-
|
|
29768
|
+
AvroParser = class _AvroParser {
|
|
29769
|
+
static {
|
|
29770
|
+
__name(this, "AvroParser");
|
|
29771
|
+
}
|
|
29748
29772
|
/**
|
|
29749
29773
|
* Reads a fixed number of bytes from the stream.
|
|
29750
29774
|
*
|
|
@@ -29870,8 +29894,6 @@ var init_AvroParser = __esm({
|
|
|
29870
29894
|
return items;
|
|
29871
29895
|
}
|
|
29872
29896
|
};
|
|
29873
|
-
__name(_AvroParser, "AvroParser");
|
|
29874
|
-
AvroParser = _AvroParser;
|
|
29875
29897
|
(function(AvroComplex2) {
|
|
29876
29898
|
AvroComplex2["RECORD"] = "record";
|
|
29877
29899
|
AvroComplex2["ENUM"] = "enum";
|
|
@@ -29890,7 +29912,10 @@ var init_AvroParser = __esm({
|
|
|
29890
29912
|
AvroPrimitive2["BYTES"] = "bytes";
|
|
29891
29913
|
AvroPrimitive2["STRING"] = "string";
|
|
29892
29914
|
})(AvroPrimitive || (AvroPrimitive = {}));
|
|
29893
|
-
|
|
29915
|
+
AvroType = class _AvroType {
|
|
29916
|
+
static {
|
|
29917
|
+
__name(this, "AvroType");
|
|
29918
|
+
}
|
|
29894
29919
|
/**
|
|
29895
29920
|
* Determines the AvroType from the Avro Schema.
|
|
29896
29921
|
*/
|
|
@@ -29966,9 +29991,10 @@ var init_AvroParser = __esm({
|
|
|
29966
29991
|
}
|
|
29967
29992
|
}
|
|
29968
29993
|
};
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
|
|
29994
|
+
AvroPrimitiveType = class extends AvroType {
|
|
29995
|
+
static {
|
|
29996
|
+
__name(this, "AvroPrimitiveType");
|
|
29997
|
+
}
|
|
29972
29998
|
_primitive;
|
|
29973
29999
|
constructor(primitive) {
|
|
29974
30000
|
super();
|
|
@@ -29998,9 +30024,10 @@ var init_AvroParser = __esm({
|
|
|
29998
30024
|
}
|
|
29999
30025
|
}
|
|
30000
30026
|
};
|
|
30001
|
-
|
|
30002
|
-
|
|
30003
|
-
|
|
30027
|
+
AvroEnumType = class extends AvroType {
|
|
30028
|
+
static {
|
|
30029
|
+
__name(this, "AvroEnumType");
|
|
30030
|
+
}
|
|
30004
30031
|
_symbols;
|
|
30005
30032
|
constructor(symbols) {
|
|
30006
30033
|
super();
|
|
@@ -30012,9 +30039,10 @@ var init_AvroParser = __esm({
|
|
|
30012
30039
|
return this._symbols[value];
|
|
30013
30040
|
}
|
|
30014
30041
|
};
|
|
30015
|
-
|
|
30016
|
-
|
|
30017
|
-
|
|
30042
|
+
AvroUnionType = class extends AvroType {
|
|
30043
|
+
static {
|
|
30044
|
+
__name(this, "AvroUnionType");
|
|
30045
|
+
}
|
|
30018
30046
|
_types;
|
|
30019
30047
|
constructor(types) {
|
|
30020
30048
|
super();
|
|
@@ -30025,9 +30053,10 @@ var init_AvroParser = __esm({
|
|
|
30025
30053
|
return this._types[typeIndex].read(stream, options);
|
|
30026
30054
|
}
|
|
30027
30055
|
};
|
|
30028
|
-
|
|
30029
|
-
|
|
30030
|
-
|
|
30056
|
+
AvroMapType = class extends AvroType {
|
|
30057
|
+
static {
|
|
30058
|
+
__name(this, "AvroMapType");
|
|
30059
|
+
}
|
|
30031
30060
|
_itemType;
|
|
30032
30061
|
constructor(itemType) {
|
|
30033
30062
|
super();
|
|
@@ -30041,9 +30070,10 @@ var init_AvroParser = __esm({
|
|
|
30041
30070
|
return AvroParser.readMap(stream, readItemMethod, options);
|
|
30042
30071
|
}
|
|
30043
30072
|
};
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30073
|
+
AvroRecordType = class extends AvroType {
|
|
30074
|
+
static {
|
|
30075
|
+
__name(this, "AvroRecordType");
|
|
30076
|
+
}
|
|
30047
30077
|
_name;
|
|
30048
30078
|
_fields;
|
|
30049
30079
|
constructor(fields, name) {
|
|
@@ -30063,8 +30093,6 @@ var init_AvroParser = __esm({
|
|
|
30063
30093
|
return record;
|
|
30064
30094
|
}
|
|
30065
30095
|
};
|
|
30066
|
-
__name(_AvroRecordType, "AvroRecordType");
|
|
30067
|
-
AvroRecordType = _AvroRecordType;
|
|
30068
30096
|
}
|
|
30069
30097
|
});
|
|
30070
30098
|
|
|
@@ -30089,13 +30117,16 @@ var init_utils_common3 = __esm({
|
|
|
30089
30117
|
});
|
|
30090
30118
|
|
|
30091
30119
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReader.js
|
|
30092
|
-
var
|
|
30120
|
+
var AvroReader;
|
|
30093
30121
|
var init_AvroReader = __esm({
|
|
30094
30122
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReader.js"() {
|
|
30095
30123
|
init_AvroConstants();
|
|
30096
30124
|
init_AvroParser();
|
|
30097
30125
|
init_utils_common3();
|
|
30098
|
-
|
|
30126
|
+
AvroReader = class {
|
|
30127
|
+
static {
|
|
30128
|
+
__name(this, "AvroReader");
|
|
30129
|
+
}
|
|
30099
30130
|
_dataStream;
|
|
30100
30131
|
_headerStream;
|
|
30101
30132
|
_syncMarker;
|
|
@@ -30194,31 +30225,33 @@ var init_AvroReader = __esm({
|
|
|
30194
30225
|
}
|
|
30195
30226
|
}
|
|
30196
30227
|
};
|
|
30197
|
-
__name(_AvroReader, "AvroReader");
|
|
30198
|
-
AvroReader = _AvroReader;
|
|
30199
30228
|
}
|
|
30200
30229
|
});
|
|
30201
30230
|
|
|
30202
30231
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadable.js
|
|
30203
|
-
var
|
|
30232
|
+
var AvroReadable;
|
|
30204
30233
|
var init_AvroReadable = __esm({
|
|
30205
30234
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadable.js"() {
|
|
30206
|
-
|
|
30235
|
+
AvroReadable = class {
|
|
30236
|
+
static {
|
|
30237
|
+
__name(this, "AvroReadable");
|
|
30238
|
+
}
|
|
30207
30239
|
};
|
|
30208
|
-
__name(_AvroReadable, "AvroReadable");
|
|
30209
|
-
AvroReadable = _AvroReadable;
|
|
30210
30240
|
}
|
|
30211
30241
|
});
|
|
30212
30242
|
|
|
30213
30243
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadableFromStream.js
|
|
30214
30244
|
import { Buffer as Buffer2 } from "buffer";
|
|
30215
|
-
var ABORT_ERROR,
|
|
30245
|
+
var ABORT_ERROR, AvroReadableFromStream;
|
|
30216
30246
|
var init_AvroReadableFromStream = __esm({
|
|
30217
30247
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/internal-avro/AvroReadableFromStream.js"() {
|
|
30218
30248
|
init_AvroReadable();
|
|
30219
30249
|
init_esm3();
|
|
30220
30250
|
ABORT_ERROR = new AbortError2("Reading from the avro stream was aborted.");
|
|
30221
|
-
|
|
30251
|
+
AvroReadableFromStream = class extends AvroReadable {
|
|
30252
|
+
static {
|
|
30253
|
+
__name(this, "AvroReadableFromStream");
|
|
30254
|
+
}
|
|
30222
30255
|
_position;
|
|
30223
30256
|
_readable;
|
|
30224
30257
|
toUint8Array(data) {
|
|
@@ -30236,8 +30269,7 @@ var init_AvroReadableFromStream = __esm({
|
|
|
30236
30269
|
return this._position;
|
|
30237
30270
|
}
|
|
30238
30271
|
async read(size, options = {}) {
|
|
30239
|
-
|
|
30240
|
-
if ((_a3 = options.abortSignal) == null ? void 0 : _a3.aborted) {
|
|
30272
|
+
if (options.abortSignal?.aborted) {
|
|
30241
30273
|
throw ABORT_ERROR;
|
|
30242
30274
|
}
|
|
30243
30275
|
if (size < 0) {
|
|
@@ -30291,8 +30323,6 @@ var init_AvroReadableFromStream = __esm({
|
|
|
30291
30323
|
}
|
|
30292
30324
|
}
|
|
30293
30325
|
};
|
|
30294
|
-
__name(_AvroReadableFromStream, "AvroReadableFromStream");
|
|
30295
|
-
AvroReadableFromStream = _AvroReadableFromStream;
|
|
30296
30326
|
}
|
|
30297
30327
|
});
|
|
30298
30328
|
|
|
@@ -30307,11 +30337,14 @@ var init_internal_avro = __esm({
|
|
|
30307
30337
|
|
|
30308
30338
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/BlobQuickQueryStream.js
|
|
30309
30339
|
import { Readable as Readable4 } from "node:stream";
|
|
30310
|
-
var
|
|
30340
|
+
var BlobQuickQueryStream;
|
|
30311
30341
|
var init_BlobQuickQueryStream = __esm({
|
|
30312
30342
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/BlobQuickQueryStream.js"() {
|
|
30313
30343
|
init_internal_avro();
|
|
30314
|
-
|
|
30344
|
+
BlobQuickQueryStream = class extends Readable4 {
|
|
30345
|
+
static {
|
|
30346
|
+
__name(this, "BlobQuickQueryStream");
|
|
30347
|
+
}
|
|
30315
30348
|
source;
|
|
30316
30349
|
avroReader;
|
|
30317
30350
|
avroIter;
|
|
@@ -30417,18 +30450,19 @@ var init_BlobQuickQueryStream = __esm({
|
|
|
30417
30450
|
} while (!avroNext.done && !this.avroPaused);
|
|
30418
30451
|
}
|
|
30419
30452
|
};
|
|
30420
|
-
__name(_BlobQuickQueryStream, "BlobQuickQueryStream");
|
|
30421
|
-
BlobQuickQueryStream = _BlobQuickQueryStream;
|
|
30422
30453
|
}
|
|
30423
30454
|
});
|
|
30424
30455
|
|
|
30425
30456
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobQueryResponse.js
|
|
30426
|
-
var
|
|
30457
|
+
var BlobQueryResponse;
|
|
30427
30458
|
var init_BlobQueryResponse = __esm({
|
|
30428
30459
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobQueryResponse.js"() {
|
|
30429
30460
|
init_esm4();
|
|
30430
30461
|
init_BlobQuickQueryStream();
|
|
30431
|
-
|
|
30462
|
+
BlobQueryResponse = class {
|
|
30463
|
+
static {
|
|
30464
|
+
__name(this, "BlobQueryResponse");
|
|
30465
|
+
}
|
|
30432
30466
|
/**
|
|
30433
30467
|
* Indicates that the service supports
|
|
30434
30468
|
* requests for partial file content.
|
|
@@ -30786,8 +30820,6 @@ var init_BlobQueryResponse = __esm({
|
|
|
30786
30820
|
this.blobDownloadStream = new BlobQuickQueryStream(this.originalResponse.readableStreamBody, options);
|
|
30787
30821
|
}
|
|
30788
30822
|
};
|
|
30789
|
-
__name(_BlobQueryResponse, "BlobQueryResponse");
|
|
30790
|
-
BlobQueryResponse = _BlobQueryResponse;
|
|
30791
30823
|
}
|
|
30792
30824
|
});
|
|
30793
30825
|
|
|
@@ -30928,28 +30960,33 @@ var init_operation3 = __esm({
|
|
|
30928
30960
|
});
|
|
30929
30961
|
|
|
30930
30962
|
// ../../node_modules/.store/@azure-core-lro-npm-2.7.2-8c7fa05bf6/package/dist/esm/legacy/poller.js
|
|
30931
|
-
var
|
|
30963
|
+
var PollerStoppedError, PollerCancelledError, Poller;
|
|
30932
30964
|
var init_poller3 = __esm({
|
|
30933
30965
|
"../../node_modules/.store/@azure-core-lro-npm-2.7.2-8c7fa05bf6/package/dist/esm/legacy/poller.js"() {
|
|
30934
|
-
|
|
30966
|
+
PollerStoppedError = class _PollerStoppedError extends Error {
|
|
30967
|
+
static {
|
|
30968
|
+
__name(this, "PollerStoppedError");
|
|
30969
|
+
}
|
|
30935
30970
|
constructor(message) {
|
|
30936
30971
|
super(message);
|
|
30937
30972
|
this.name = "PollerStoppedError";
|
|
30938
30973
|
Object.setPrototypeOf(this, _PollerStoppedError.prototype);
|
|
30939
30974
|
}
|
|
30940
30975
|
};
|
|
30941
|
-
|
|
30942
|
-
|
|
30943
|
-
|
|
30976
|
+
PollerCancelledError = class _PollerCancelledError extends Error {
|
|
30977
|
+
static {
|
|
30978
|
+
__name(this, "PollerCancelledError");
|
|
30979
|
+
}
|
|
30944
30980
|
constructor(message) {
|
|
30945
30981
|
super(message);
|
|
30946
30982
|
this.name = "PollerCancelledError";
|
|
30947
30983
|
Object.setPrototypeOf(this, _PollerCancelledError.prototype);
|
|
30948
30984
|
}
|
|
30949
30985
|
};
|
|
30950
|
-
|
|
30951
|
-
|
|
30952
|
-
|
|
30986
|
+
Poller = class {
|
|
30987
|
+
static {
|
|
30988
|
+
__name(this, "Poller");
|
|
30989
|
+
}
|
|
30953
30990
|
/**
|
|
30954
30991
|
* A poller needs to be initialized by passing in at least the basic properties of the `PollOperation<TState, TResult>`.
|
|
30955
30992
|
*
|
|
@@ -31246,8 +31283,6 @@ var init_poller3 = __esm({
|
|
|
31246
31283
|
return this.operation.toString();
|
|
31247
31284
|
}
|
|
31248
31285
|
};
|
|
31249
|
-
__name(_Poller, "Poller");
|
|
31250
|
-
Poller = _Poller;
|
|
31251
31286
|
}
|
|
31252
31287
|
});
|
|
31253
31288
|
|
|
@@ -31293,12 +31328,15 @@ function makeBlobBeginCopyFromURLPollOperation(state3) {
|
|
|
31293
31328
|
update
|
|
31294
31329
|
};
|
|
31295
31330
|
}
|
|
31296
|
-
var
|
|
31331
|
+
var BlobBeginCopyFromUrlPoller, cancel, update, toString;
|
|
31297
31332
|
var init_BlobStartCopyFromUrlPoller = __esm({
|
|
31298
31333
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/pollers/BlobStartCopyFromUrlPoller.js"() {
|
|
31299
31334
|
init_esm4();
|
|
31300
31335
|
init_esm12();
|
|
31301
|
-
|
|
31336
|
+
BlobBeginCopyFromUrlPoller = class extends Poller {
|
|
31337
|
+
static {
|
|
31338
|
+
__name(this, "BlobBeginCopyFromUrlPoller");
|
|
31339
|
+
}
|
|
31302
31340
|
intervalInMs;
|
|
31303
31341
|
constructor(options) {
|
|
31304
31342
|
const { blobClient, copySource: copySource2, intervalInMs = 15e3, onProgress, resumeFrom, startCopyFromURLOptions } = options;
|
|
@@ -31322,8 +31360,6 @@ var init_BlobStartCopyFromUrlPoller = __esm({
|
|
|
31322
31360
|
return delay2(this.intervalInMs);
|
|
31323
31361
|
}
|
|
31324
31362
|
};
|
|
31325
|
-
__name(_BlobBeginCopyFromUrlPoller, "BlobBeginCopyFromUrlPoller");
|
|
31326
|
-
BlobBeginCopyFromUrlPoller = _BlobBeginCopyFromUrlPoller;
|
|
31327
31363
|
cancel = /* @__PURE__ */ __name(async function cancel2(options = {}) {
|
|
31328
31364
|
const state3 = this.state;
|
|
31329
31365
|
const { copyId: copyId2 } = state3;
|
|
@@ -31405,14 +31441,17 @@ var init_Range = __esm({
|
|
|
31405
31441
|
|
|
31406
31442
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Batch.js
|
|
31407
31443
|
import { EventEmitter as EventEmitter2 } from "events";
|
|
31408
|
-
var BatchStates,
|
|
31444
|
+
var BatchStates, Batch;
|
|
31409
31445
|
var init_Batch = __esm({
|
|
31410
31446
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Batch.js"() {
|
|
31411
31447
|
(function(BatchStates2) {
|
|
31412
31448
|
BatchStates2[BatchStates2["Good"] = 0] = "Good";
|
|
31413
31449
|
BatchStates2[BatchStates2["Error"] = 1] = "Error";
|
|
31414
31450
|
})(BatchStates || (BatchStates = {}));
|
|
31415
|
-
|
|
31451
|
+
Batch = class {
|
|
31452
|
+
static {
|
|
31453
|
+
__name(this, "Batch");
|
|
31454
|
+
}
|
|
31416
31455
|
/**
|
|
31417
31456
|
* Concurrency. Must be lager than 0.
|
|
31418
31457
|
*/
|
|
@@ -31521,8 +31560,6 @@ var init_Batch = __esm({
|
|
|
31521
31560
|
}
|
|
31522
31561
|
}
|
|
31523
31562
|
};
|
|
31524
|
-
__name(_Batch, "Batch");
|
|
31525
|
-
Batch = _Batch;
|
|
31526
31563
|
}
|
|
31527
31564
|
});
|
|
31528
31565
|
|
|
@@ -31615,7 +31652,7 @@ var init_utils2 = __esm({
|
|
|
31615
31652
|
});
|
|
31616
31653
|
|
|
31617
31654
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Clients.js
|
|
31618
|
-
var
|
|
31655
|
+
var BlobClient, AppendBlobClient, BlockBlobClient, PageBlobClient;
|
|
31619
31656
|
var init_Clients = __esm({
|
|
31620
31657
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/Clients.js"() {
|
|
31621
31658
|
init_esm6();
|
|
@@ -31639,7 +31676,10 @@ var init_Clients = __esm({
|
|
|
31639
31676
|
init_utils2();
|
|
31640
31677
|
init_BlobSASSignatureValues();
|
|
31641
31678
|
init_BlobLeaseClient();
|
|
31642
|
-
|
|
31679
|
+
BlobClient = class _BlobClient extends StorageClient2 {
|
|
31680
|
+
static {
|
|
31681
|
+
__name(this, "BlobClient");
|
|
31682
|
+
}
|
|
31643
31683
|
/**
|
|
31644
31684
|
* blobContext provided by protocol layer.
|
|
31645
31685
|
*/
|
|
@@ -31834,13 +31874,12 @@ var init_Clients = __esm({
|
|
|
31834
31874
|
options.conditions = options.conditions || {};
|
|
31835
31875
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
31836
31876
|
return tracingClient.withSpan("BlobClient-download", options, async (updatedOptions) => {
|
|
31837
|
-
var _a3;
|
|
31838
31877
|
const res = assertResponse(await this.blobContext.download({
|
|
31839
31878
|
abortSignal: options.abortSignal,
|
|
31840
31879
|
leaseAccessConditions: options.conditions,
|
|
31841
31880
|
modifiedAccessConditions: {
|
|
31842
31881
|
...options.conditions,
|
|
31843
|
-
ifTags:
|
|
31882
|
+
ifTags: options.conditions?.tagConditions
|
|
31844
31883
|
},
|
|
31845
31884
|
requestOptions: {
|
|
31846
31885
|
onDownloadProgress: isNodeLike2 ? void 0 : options.onProgress
|
|
@@ -31873,7 +31912,6 @@ var init_Clients = __esm({
|
|
|
31873
31912
|
throw new RangeError(`File download response doesn't contain valid etag header`);
|
|
31874
31913
|
}
|
|
31875
31914
|
return new BlobDownloadResponse(wrappedRes, async (start) => {
|
|
31876
|
-
var _a4;
|
|
31877
31915
|
const updatedDownloadOptions = {
|
|
31878
31916
|
leaseAccessConditions: options.conditions,
|
|
31879
31917
|
modifiedAccessConditions: {
|
|
@@ -31881,7 +31919,7 @@ var init_Clients = __esm({
|
|
|
31881
31919
|
ifModifiedSince: options.conditions.ifModifiedSince,
|
|
31882
31920
|
ifNoneMatch: options.conditions.ifNoneMatch,
|
|
31883
31921
|
ifUnmodifiedSince: options.conditions.ifUnmodifiedSince,
|
|
31884
|
-
ifTags:
|
|
31922
|
+
ifTags: options.conditions?.tagConditions
|
|
31885
31923
|
},
|
|
31886
31924
|
range: rangeToString({
|
|
31887
31925
|
count: offset + res.contentLength - start,
|
|
@@ -31948,13 +31986,12 @@ var init_Clients = __esm({
|
|
|
31948
31986
|
options.conditions = options.conditions || {};
|
|
31949
31987
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
31950
31988
|
return tracingClient.withSpan("BlobClient-getProperties", options, async (updatedOptions) => {
|
|
31951
|
-
var _a3;
|
|
31952
31989
|
const res = assertResponse(await this.blobContext.getProperties({
|
|
31953
31990
|
abortSignal: options.abortSignal,
|
|
31954
31991
|
leaseAccessConditions: options.conditions,
|
|
31955
31992
|
modifiedAccessConditions: {
|
|
31956
31993
|
...options.conditions,
|
|
31957
|
-
ifTags:
|
|
31994
|
+
ifTags: options.conditions?.tagConditions
|
|
31958
31995
|
},
|
|
31959
31996
|
cpkInfo: options.customerProvidedKey,
|
|
31960
31997
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -31980,14 +32017,13 @@ var init_Clients = __esm({
|
|
|
31980
32017
|
async delete(options = {}) {
|
|
31981
32018
|
options.conditions = options.conditions || {};
|
|
31982
32019
|
return tracingClient.withSpan("BlobClient-delete", options, async (updatedOptions) => {
|
|
31983
|
-
var _a3;
|
|
31984
32020
|
return assertResponse(await this.blobContext.delete({
|
|
31985
32021
|
abortSignal: options.abortSignal,
|
|
31986
32022
|
deleteSnapshots: options.deleteSnapshots,
|
|
31987
32023
|
leaseAccessConditions: options.conditions,
|
|
31988
32024
|
modifiedAccessConditions: {
|
|
31989
32025
|
...options.conditions,
|
|
31990
|
-
ifTags:
|
|
32026
|
+
ifTags: options.conditions?.tagConditions
|
|
31991
32027
|
},
|
|
31992
32028
|
tracingOptions: updatedOptions.tracingOptions
|
|
31993
32029
|
}));
|
|
@@ -32004,7 +32040,6 @@ var init_Clients = __esm({
|
|
|
32004
32040
|
*/
|
|
32005
32041
|
async deleteIfExists(options = {}) {
|
|
32006
32042
|
return tracingClient.withSpan("BlobClient-deleteIfExists", options, async (updatedOptions) => {
|
|
32007
|
-
var _a3, _b2;
|
|
32008
32043
|
try {
|
|
32009
32044
|
const res = assertResponse(await this.delete(updatedOptions));
|
|
32010
32045
|
return {
|
|
@@ -32014,10 +32049,10 @@ var init_Clients = __esm({
|
|
|
32014
32049
|
// _response is made non-enumerable
|
|
32015
32050
|
};
|
|
32016
32051
|
} catch (e) {
|
|
32017
|
-
if (
|
|
32052
|
+
if (e.details?.errorCode === "BlobNotFound") {
|
|
32018
32053
|
return {
|
|
32019
32054
|
succeeded: false,
|
|
32020
|
-
...
|
|
32055
|
+
...e.response?.parsedHeaders,
|
|
32021
32056
|
_response: e.response
|
|
32022
32057
|
};
|
|
32023
32058
|
}
|
|
@@ -32060,14 +32095,13 @@ var init_Clients = __esm({
|
|
|
32060
32095
|
options.conditions = options.conditions || {};
|
|
32061
32096
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32062
32097
|
return tracingClient.withSpan("BlobClient-setHTTPHeaders", options, async (updatedOptions) => {
|
|
32063
|
-
var _a3;
|
|
32064
32098
|
return assertResponse(await this.blobContext.setHttpHeaders({
|
|
32065
32099
|
abortSignal: options.abortSignal,
|
|
32066
32100
|
blobHttpHeaders: blobHTTPHeaders,
|
|
32067
32101
|
leaseAccessConditions: options.conditions,
|
|
32068
32102
|
modifiedAccessConditions: {
|
|
32069
32103
|
...options.conditions,
|
|
32070
|
-
ifTags:
|
|
32104
|
+
ifTags: options.conditions?.tagConditions
|
|
32071
32105
|
},
|
|
32072
32106
|
// cpkInfo: options.customerProvidedKey, // CPK is not included in Swagger, should change this back when this issue is fixed in Swagger.
|
|
32073
32107
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -32089,14 +32123,13 @@ var init_Clients = __esm({
|
|
|
32089
32123
|
options.conditions = options.conditions || {};
|
|
32090
32124
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32091
32125
|
return tracingClient.withSpan("BlobClient-setMetadata", options, async (updatedOptions) => {
|
|
32092
|
-
var _a3;
|
|
32093
32126
|
return assertResponse(await this.blobContext.setMetadata({
|
|
32094
32127
|
abortSignal: options.abortSignal,
|
|
32095
32128
|
leaseAccessConditions: options.conditions,
|
|
32096
32129
|
metadata: metadata2,
|
|
32097
32130
|
modifiedAccessConditions: {
|
|
32098
32131
|
...options.conditions,
|
|
32099
|
-
ifTags:
|
|
32132
|
+
ifTags: options.conditions?.tagConditions
|
|
32100
32133
|
},
|
|
32101
32134
|
cpkInfo: options.customerProvidedKey,
|
|
32102
32135
|
encryptionScope: options.encryptionScope,
|
|
@@ -32115,13 +32148,12 @@ var init_Clients = __esm({
|
|
|
32115
32148
|
*/
|
|
32116
32149
|
async setTags(tags2, options = {}) {
|
|
32117
32150
|
return tracingClient.withSpan("BlobClient-setTags", options, async (updatedOptions) => {
|
|
32118
|
-
var _a3;
|
|
32119
32151
|
return assertResponse(await this.blobContext.setTags({
|
|
32120
32152
|
abortSignal: options.abortSignal,
|
|
32121
32153
|
leaseAccessConditions: options.conditions,
|
|
32122
32154
|
modifiedAccessConditions: {
|
|
32123
32155
|
...options.conditions,
|
|
32124
|
-
ifTags:
|
|
32156
|
+
ifTags: options.conditions?.tagConditions
|
|
32125
32157
|
},
|
|
32126
32158
|
blobModifiedAccessConditions: options.conditions,
|
|
32127
32159
|
tracingOptions: updatedOptions.tracingOptions,
|
|
@@ -32136,13 +32168,12 @@ var init_Clients = __esm({
|
|
|
32136
32168
|
*/
|
|
32137
32169
|
async getTags(options = {}) {
|
|
32138
32170
|
return tracingClient.withSpan("BlobClient-getTags", options, async (updatedOptions) => {
|
|
32139
|
-
var _a3;
|
|
32140
32171
|
const response = assertResponse(await this.blobContext.getTags({
|
|
32141
32172
|
abortSignal: options.abortSignal,
|
|
32142
32173
|
leaseAccessConditions: options.conditions,
|
|
32143
32174
|
modifiedAccessConditions: {
|
|
32144
32175
|
...options.conditions,
|
|
32145
|
-
ifTags:
|
|
32176
|
+
ifTags: options.conditions?.tagConditions
|
|
32146
32177
|
},
|
|
32147
32178
|
blobModifiedAccessConditions: options.conditions,
|
|
32148
32179
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -32175,14 +32206,13 @@ var init_Clients = __esm({
|
|
|
32175
32206
|
options.conditions = options.conditions || {};
|
|
32176
32207
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32177
32208
|
return tracingClient.withSpan("BlobClient-createSnapshot", options, async (updatedOptions) => {
|
|
32178
|
-
var _a3;
|
|
32179
32209
|
return assertResponse(await this.blobContext.createSnapshot({
|
|
32180
32210
|
abortSignal: options.abortSignal,
|
|
32181
32211
|
leaseAccessConditions: options.conditions,
|
|
32182
32212
|
metadata: options.metadata,
|
|
32183
32213
|
modifiedAccessConditions: {
|
|
32184
32214
|
...options.conditions,
|
|
32185
|
-
ifTags:
|
|
32215
|
+
ifTags: options.conditions?.tagConditions
|
|
32186
32216
|
},
|
|
32187
32217
|
cpkInfo: options.customerProvidedKey,
|
|
32188
32218
|
encryptionScope: options.encryptionScope,
|
|
@@ -32309,27 +32339,26 @@ var init_Clients = __esm({
|
|
|
32309
32339
|
options.conditions = options.conditions || {};
|
|
32310
32340
|
options.sourceConditions = options.sourceConditions || {};
|
|
32311
32341
|
return tracingClient.withSpan("BlobClient-syncCopyFromURL", options, async (updatedOptions) => {
|
|
32312
|
-
var _a3, _b2, _c2, _d, _e, _f, _g;
|
|
32313
32342
|
return assertResponse(await this.blobContext.copyFromURL(copySource2, {
|
|
32314
32343
|
abortSignal: options.abortSignal,
|
|
32315
32344
|
metadata: options.metadata,
|
|
32316
32345
|
leaseAccessConditions: options.conditions,
|
|
32317
32346
|
modifiedAccessConditions: {
|
|
32318
32347
|
...options.conditions,
|
|
32319
|
-
ifTags:
|
|
32348
|
+
ifTags: options.conditions?.tagConditions
|
|
32320
32349
|
},
|
|
32321
32350
|
sourceModifiedAccessConditions: {
|
|
32322
|
-
sourceIfMatch:
|
|
32323
|
-
sourceIfModifiedSince:
|
|
32324
|
-
sourceIfNoneMatch:
|
|
32325
|
-
sourceIfUnmodifiedSince:
|
|
32351
|
+
sourceIfMatch: options.sourceConditions?.ifMatch,
|
|
32352
|
+
sourceIfModifiedSince: options.sourceConditions?.ifModifiedSince,
|
|
32353
|
+
sourceIfNoneMatch: options.sourceConditions?.ifNoneMatch,
|
|
32354
|
+
sourceIfUnmodifiedSince: options.sourceConditions?.ifUnmodifiedSince
|
|
32326
32355
|
},
|
|
32327
32356
|
sourceContentMD5: options.sourceContentMD5,
|
|
32328
32357
|
copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),
|
|
32329
32358
|
tier: toAccessTier(options.tier),
|
|
32330
32359
|
blobTagsString: toBlobTagsString(options.tags),
|
|
32331
|
-
immutabilityPolicyExpiry:
|
|
32332
|
-
immutabilityPolicyMode:
|
|
32360
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
32361
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
32333
32362
|
legalHold: options.legalHold,
|
|
32334
32363
|
encryptionScope: options.encryptionScope,
|
|
32335
32364
|
copySourceTags: options.copySourceTags,
|
|
@@ -32351,13 +32380,12 @@ var init_Clients = __esm({
|
|
|
32351
32380
|
*/
|
|
32352
32381
|
async setAccessTier(tier2, options = {}) {
|
|
32353
32382
|
return tracingClient.withSpan("BlobClient-setAccessTier", options, async (updatedOptions) => {
|
|
32354
|
-
var _a3;
|
|
32355
32383
|
return assertResponse(await this.blobContext.setTier(toAccessTier(tier2), {
|
|
32356
32384
|
abortSignal: options.abortSignal,
|
|
32357
32385
|
leaseAccessConditions: options.conditions,
|
|
32358
32386
|
modifiedAccessConditions: {
|
|
32359
32387
|
...options.conditions,
|
|
32360
|
-
ifTags:
|
|
32388
|
+
ifTags: options.conditions?.tagConditions
|
|
32361
32389
|
},
|
|
32362
32390
|
rehydratePriority: options.rehydratePriority,
|
|
32363
32391
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -32515,7 +32543,6 @@ var init_Clients = __esm({
|
|
|
32515
32543
|
*/
|
|
32516
32544
|
async startCopyFromURL(copySource2, options = {}) {
|
|
32517
32545
|
return tracingClient.withSpan("BlobClient-startCopyFromURL", options, async (updatedOptions) => {
|
|
32518
|
-
var _a3, _b2, _c2;
|
|
32519
32546
|
options.conditions = options.conditions || {};
|
|
32520
32547
|
options.sourceConditions = options.sourceConditions || {};
|
|
32521
32548
|
return assertResponse(await this.blobContext.startCopyFromURL(copySource2, {
|
|
@@ -32524,7 +32551,7 @@ var init_Clients = __esm({
|
|
|
32524
32551
|
metadata: options.metadata,
|
|
32525
32552
|
modifiedAccessConditions: {
|
|
32526
32553
|
...options.conditions,
|
|
32527
|
-
ifTags:
|
|
32554
|
+
ifTags: options.conditions?.tagConditions
|
|
32528
32555
|
},
|
|
32529
32556
|
sourceModifiedAccessConditions: {
|
|
32530
32557
|
sourceIfMatch: options.sourceConditions.ifMatch,
|
|
@@ -32533,8 +32560,8 @@ var init_Clients = __esm({
|
|
|
32533
32560
|
sourceIfUnmodifiedSince: options.sourceConditions.ifUnmodifiedSince,
|
|
32534
32561
|
sourceIfTags: options.sourceConditions.tagConditions
|
|
32535
32562
|
},
|
|
32536
|
-
immutabilityPolicyExpiry:
|
|
32537
|
-
immutabilityPolicyMode:
|
|
32563
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
32564
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
32538
32565
|
legalHold: options.legalHold,
|
|
32539
32566
|
rehydratePriority: options.rehydratePriority,
|
|
32540
32567
|
tier: toAccessTier(options.tier),
|
|
@@ -32695,9 +32722,10 @@ var init_Clients = __esm({
|
|
|
32695
32722
|
});
|
|
32696
32723
|
}
|
|
32697
32724
|
};
|
|
32698
|
-
|
|
32699
|
-
|
|
32700
|
-
|
|
32725
|
+
AppendBlobClient = class _AppendBlobClient extends BlobClient {
|
|
32726
|
+
static {
|
|
32727
|
+
__name(this, "AppendBlobClient");
|
|
32728
|
+
}
|
|
32701
32729
|
/**
|
|
32702
32730
|
* appendBlobsContext provided by protocol layer.
|
|
32703
32731
|
*/
|
|
@@ -32785,7 +32813,6 @@ var init_Clients = __esm({
|
|
|
32785
32813
|
options.conditions = options.conditions || {};
|
|
32786
32814
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32787
32815
|
return tracingClient.withSpan("AppendBlobClient-create", options, async (updatedOptions) => {
|
|
32788
|
-
var _a3, _b2, _c2;
|
|
32789
32816
|
return assertResponse(await this.appendBlobContext.create(0, {
|
|
32790
32817
|
abortSignal: options.abortSignal,
|
|
32791
32818
|
blobHttpHeaders: options.blobHTTPHeaders,
|
|
@@ -32793,12 +32820,12 @@ var init_Clients = __esm({
|
|
|
32793
32820
|
metadata: options.metadata,
|
|
32794
32821
|
modifiedAccessConditions: {
|
|
32795
32822
|
...options.conditions,
|
|
32796
|
-
ifTags:
|
|
32823
|
+
ifTags: options.conditions?.tagConditions
|
|
32797
32824
|
},
|
|
32798
32825
|
cpkInfo: options.customerProvidedKey,
|
|
32799
32826
|
encryptionScope: options.encryptionScope,
|
|
32800
|
-
immutabilityPolicyExpiry:
|
|
32801
|
-
immutabilityPolicyMode:
|
|
32827
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
32828
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
32802
32829
|
legalHold: options.legalHold,
|
|
32803
32830
|
blobTagsString: toBlobTagsString(options.tags),
|
|
32804
32831
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -32815,7 +32842,6 @@ var init_Clients = __esm({
|
|
|
32815
32842
|
async createIfNotExists(options = {}) {
|
|
32816
32843
|
const conditions = { ifNoneMatch: ETagAny };
|
|
32817
32844
|
return tracingClient.withSpan("AppendBlobClient-createIfNotExists", options, async (updatedOptions) => {
|
|
32818
|
-
var _a3, _b2;
|
|
32819
32845
|
try {
|
|
32820
32846
|
const res = assertResponse(await this.create({
|
|
32821
32847
|
...updatedOptions,
|
|
@@ -32828,10 +32854,10 @@ var init_Clients = __esm({
|
|
|
32828
32854
|
// _response is made non-enumerable
|
|
32829
32855
|
};
|
|
32830
32856
|
} catch (e) {
|
|
32831
|
-
if (
|
|
32857
|
+
if (e.details?.errorCode === "BlobAlreadyExists") {
|
|
32832
32858
|
return {
|
|
32833
32859
|
succeeded: false,
|
|
32834
|
-
...
|
|
32860
|
+
...e.response?.parsedHeaders,
|
|
32835
32861
|
_response: e.response
|
|
32836
32862
|
};
|
|
32837
32863
|
}
|
|
@@ -32847,14 +32873,13 @@ var init_Clients = __esm({
|
|
|
32847
32873
|
async seal(options = {}) {
|
|
32848
32874
|
options.conditions = options.conditions || {};
|
|
32849
32875
|
return tracingClient.withSpan("AppendBlobClient-seal", options, async (updatedOptions) => {
|
|
32850
|
-
var _a3;
|
|
32851
32876
|
return assertResponse(await this.appendBlobContext.seal({
|
|
32852
32877
|
abortSignal: options.abortSignal,
|
|
32853
32878
|
appendPositionAccessConditions: options.conditions,
|
|
32854
32879
|
leaseAccessConditions: options.conditions,
|
|
32855
32880
|
modifiedAccessConditions: {
|
|
32856
32881
|
...options.conditions,
|
|
32857
|
-
ifTags:
|
|
32882
|
+
ifTags: options.conditions?.tagConditions
|
|
32858
32883
|
},
|
|
32859
32884
|
tracingOptions: updatedOptions.tracingOptions
|
|
32860
32885
|
}));
|
|
@@ -32901,14 +32926,13 @@ var init_Clients = __esm({
|
|
|
32901
32926
|
options.conditions = options.conditions || {};
|
|
32902
32927
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32903
32928
|
return tracingClient.withSpan("AppendBlobClient-appendBlock", options, async (updatedOptions) => {
|
|
32904
|
-
var _a3;
|
|
32905
32929
|
return assertResponse(await this.appendBlobContext.appendBlock(contentLength2, body2, {
|
|
32906
32930
|
abortSignal: options.abortSignal,
|
|
32907
32931
|
appendPositionAccessConditions: options.conditions,
|
|
32908
32932
|
leaseAccessConditions: options.conditions,
|
|
32909
32933
|
modifiedAccessConditions: {
|
|
32910
32934
|
...options.conditions,
|
|
32911
|
-
ifTags:
|
|
32935
|
+
ifTags: options.conditions?.tagConditions
|
|
32912
32936
|
},
|
|
32913
32937
|
requestOptions: {
|
|
32914
32938
|
onUploadProgress: options.onProgress
|
|
@@ -32940,7 +32964,6 @@ var init_Clients = __esm({
|
|
|
32940
32964
|
options.sourceConditions = options.sourceConditions || {};
|
|
32941
32965
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
32942
32966
|
return tracingClient.withSpan("AppendBlobClient-appendBlockFromURL", options, async (updatedOptions) => {
|
|
32943
|
-
var _a3, _b2, _c2, _d, _e;
|
|
32944
32967
|
return assertResponse(await this.appendBlobContext.appendBlockFromUrl(sourceURL, 0, {
|
|
32945
32968
|
abortSignal: options.abortSignal,
|
|
32946
32969
|
sourceRange: rangeToString({ offset: sourceOffset, count }),
|
|
@@ -32950,13 +32973,13 @@ var init_Clients = __esm({
|
|
|
32950
32973
|
appendPositionAccessConditions: options.conditions,
|
|
32951
32974
|
modifiedAccessConditions: {
|
|
32952
32975
|
...options.conditions,
|
|
32953
|
-
ifTags:
|
|
32976
|
+
ifTags: options.conditions?.tagConditions
|
|
32954
32977
|
},
|
|
32955
32978
|
sourceModifiedAccessConditions: {
|
|
32956
|
-
sourceIfMatch:
|
|
32957
|
-
sourceIfModifiedSince:
|
|
32958
|
-
sourceIfNoneMatch:
|
|
32959
|
-
sourceIfUnmodifiedSince:
|
|
32979
|
+
sourceIfMatch: options.sourceConditions?.ifMatch,
|
|
32980
|
+
sourceIfModifiedSince: options.sourceConditions?.ifModifiedSince,
|
|
32981
|
+
sourceIfNoneMatch: options.sourceConditions?.ifNoneMatch,
|
|
32982
|
+
sourceIfUnmodifiedSince: options.sourceConditions?.ifUnmodifiedSince
|
|
32960
32983
|
},
|
|
32961
32984
|
copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),
|
|
32962
32985
|
cpkInfo: options.customerProvidedKey,
|
|
@@ -32967,9 +32990,10 @@ var init_Clients = __esm({
|
|
|
32967
32990
|
});
|
|
32968
32991
|
}
|
|
32969
32992
|
};
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32993
|
+
BlockBlobClient = class _BlockBlobClient extends BlobClient {
|
|
32994
|
+
static {
|
|
32995
|
+
__name(this, "BlockBlobClient");
|
|
32996
|
+
}
|
|
32973
32997
|
/**
|
|
32974
32998
|
* blobContext provided by protocol layer.
|
|
32975
32999
|
*
|
|
@@ -33090,7 +33114,6 @@ var init_Clients = __esm({
|
|
|
33090
33114
|
throw new Error("This operation currently is only supported in Node.js.");
|
|
33091
33115
|
}
|
|
33092
33116
|
return tracingClient.withSpan("BlockBlobClient-query", options, async (updatedOptions) => {
|
|
33093
|
-
var _a3;
|
|
33094
33117
|
const response = assertResponse(await this._blobContext.query({
|
|
33095
33118
|
abortSignal: options.abortSignal,
|
|
33096
33119
|
queryRequest: {
|
|
@@ -33102,7 +33125,7 @@ var init_Clients = __esm({
|
|
|
33102
33125
|
leaseAccessConditions: options.conditions,
|
|
33103
33126
|
modifiedAccessConditions: {
|
|
33104
33127
|
...options.conditions,
|
|
33105
|
-
ifTags:
|
|
33128
|
+
ifTags: options.conditions?.tagConditions
|
|
33106
33129
|
},
|
|
33107
33130
|
cpkInfo: options.customerProvidedKey,
|
|
33108
33131
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -33159,7 +33182,6 @@ var init_Clients = __esm({
|
|
|
33159
33182
|
options.conditions = options.conditions || {};
|
|
33160
33183
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33161
33184
|
return tracingClient.withSpan("BlockBlobClient-upload", options, async (updatedOptions) => {
|
|
33162
|
-
var _a3, _b2, _c2;
|
|
33163
33185
|
return assertResponse(await this.blockBlobContext.upload(contentLength2, body2, {
|
|
33164
33186
|
abortSignal: options.abortSignal,
|
|
33165
33187
|
blobHttpHeaders: options.blobHTTPHeaders,
|
|
@@ -33167,15 +33189,15 @@ var init_Clients = __esm({
|
|
|
33167
33189
|
metadata: options.metadata,
|
|
33168
33190
|
modifiedAccessConditions: {
|
|
33169
33191
|
...options.conditions,
|
|
33170
|
-
ifTags:
|
|
33192
|
+
ifTags: options.conditions?.tagConditions
|
|
33171
33193
|
},
|
|
33172
33194
|
requestOptions: {
|
|
33173
33195
|
onUploadProgress: options.onProgress
|
|
33174
33196
|
},
|
|
33175
33197
|
cpkInfo: options.customerProvidedKey,
|
|
33176
33198
|
encryptionScope: options.encryptionScope,
|
|
33177
|
-
immutabilityPolicyExpiry:
|
|
33178
|
-
immutabilityPolicyMode:
|
|
33199
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
33200
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
33179
33201
|
legalHold: options.legalHold,
|
|
33180
33202
|
tier: toAccessTier(options.tier),
|
|
33181
33203
|
blobTagsString: toBlobTagsString(options.tags),
|
|
@@ -33205,21 +33227,20 @@ var init_Clients = __esm({
|
|
|
33205
33227
|
options.conditions = options.conditions || {};
|
|
33206
33228
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33207
33229
|
return tracingClient.withSpan("BlockBlobClient-syncUploadFromURL", options, async (updatedOptions) => {
|
|
33208
|
-
var _a3, _b2, _c2, _d, _e, _f;
|
|
33209
33230
|
return assertResponse(await this.blockBlobContext.putBlobFromUrl(0, sourceURL, {
|
|
33210
33231
|
...options,
|
|
33211
33232
|
blobHttpHeaders: options.blobHTTPHeaders,
|
|
33212
33233
|
leaseAccessConditions: options.conditions,
|
|
33213
33234
|
modifiedAccessConditions: {
|
|
33214
33235
|
...options.conditions,
|
|
33215
|
-
ifTags:
|
|
33236
|
+
ifTags: options.conditions?.tagConditions
|
|
33216
33237
|
},
|
|
33217
33238
|
sourceModifiedAccessConditions: {
|
|
33218
|
-
sourceIfMatch:
|
|
33219
|
-
sourceIfModifiedSince:
|
|
33220
|
-
sourceIfNoneMatch:
|
|
33221
|
-
sourceIfUnmodifiedSince:
|
|
33222
|
-
sourceIfTags:
|
|
33239
|
+
sourceIfMatch: options.sourceConditions?.ifMatch,
|
|
33240
|
+
sourceIfModifiedSince: options.sourceConditions?.ifModifiedSince,
|
|
33241
|
+
sourceIfNoneMatch: options.sourceConditions?.ifNoneMatch,
|
|
33242
|
+
sourceIfUnmodifiedSince: options.sourceConditions?.ifUnmodifiedSince,
|
|
33243
|
+
sourceIfTags: options.sourceConditions?.tagConditions
|
|
33223
33244
|
},
|
|
33224
33245
|
cpkInfo: options.customerProvidedKey,
|
|
33225
33246
|
copySourceAuthorization: httpAuthorizationToString(options.sourceAuthorization),
|
|
@@ -33313,7 +33334,6 @@ var init_Clients = __esm({
|
|
|
33313
33334
|
options.conditions = options.conditions || {};
|
|
33314
33335
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33315
33336
|
return tracingClient.withSpan("BlockBlobClient-commitBlockList", options, async (updatedOptions) => {
|
|
33316
|
-
var _a3, _b2, _c2;
|
|
33317
33337
|
return assertResponse(await this.blockBlobContext.commitBlockList({ latest: blocks2 }, {
|
|
33318
33338
|
abortSignal: options.abortSignal,
|
|
33319
33339
|
blobHttpHeaders: options.blobHTTPHeaders,
|
|
@@ -33321,12 +33341,12 @@ var init_Clients = __esm({
|
|
|
33321
33341
|
metadata: options.metadata,
|
|
33322
33342
|
modifiedAccessConditions: {
|
|
33323
33343
|
...options.conditions,
|
|
33324
|
-
ifTags:
|
|
33344
|
+
ifTags: options.conditions?.tagConditions
|
|
33325
33345
|
},
|
|
33326
33346
|
cpkInfo: options.customerProvidedKey,
|
|
33327
33347
|
encryptionScope: options.encryptionScope,
|
|
33328
|
-
immutabilityPolicyExpiry:
|
|
33329
|
-
immutabilityPolicyMode:
|
|
33348
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
33349
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
33330
33350
|
legalHold: options.legalHold,
|
|
33331
33351
|
tier: toAccessTier(options.tier),
|
|
33332
33352
|
blobTagsString: toBlobTagsString(options.tags),
|
|
@@ -33346,13 +33366,12 @@ var init_Clients = __esm({
|
|
|
33346
33366
|
*/
|
|
33347
33367
|
async getBlockList(listType2, options = {}) {
|
|
33348
33368
|
return tracingClient.withSpan("BlockBlobClient-getBlockList", options, async (updatedOptions) => {
|
|
33349
|
-
var _a3;
|
|
33350
33369
|
const res = assertResponse(await this.blockBlobContext.getBlockList(listType2, {
|
|
33351
33370
|
abortSignal: options.abortSignal,
|
|
33352
33371
|
leaseAccessConditions: options.conditions,
|
|
33353
33372
|
modifiedAccessConditions: {
|
|
33354
33373
|
...options.conditions,
|
|
33355
|
-
ifTags:
|
|
33374
|
+
ifTags: options.conditions?.tagConditions
|
|
33356
33375
|
},
|
|
33357
33376
|
tracingOptions: updatedOptions.tracingOptions
|
|
33358
33377
|
}));
|
|
@@ -33592,9 +33611,10 @@ var init_Clients = __esm({
|
|
|
33592
33611
|
});
|
|
33593
33612
|
}
|
|
33594
33613
|
};
|
|
33595
|
-
|
|
33596
|
-
|
|
33597
|
-
|
|
33614
|
+
PageBlobClient = class _PageBlobClient extends BlobClient {
|
|
33615
|
+
static {
|
|
33616
|
+
__name(this, "PageBlobClient");
|
|
33617
|
+
}
|
|
33598
33618
|
/**
|
|
33599
33619
|
* pageBlobsContext provided by protocol layer.
|
|
33600
33620
|
*/
|
|
@@ -33664,7 +33684,6 @@ var init_Clients = __esm({
|
|
|
33664
33684
|
options.conditions = options.conditions || {};
|
|
33665
33685
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33666
33686
|
return tracingClient.withSpan("PageBlobClient-create", options, async (updatedOptions) => {
|
|
33667
|
-
var _a3, _b2, _c2;
|
|
33668
33687
|
return assertResponse(await this.pageBlobContext.create(0, size, {
|
|
33669
33688
|
abortSignal: options.abortSignal,
|
|
33670
33689
|
blobHttpHeaders: options.blobHTTPHeaders,
|
|
@@ -33673,12 +33692,12 @@ var init_Clients = __esm({
|
|
|
33673
33692
|
metadata: options.metadata,
|
|
33674
33693
|
modifiedAccessConditions: {
|
|
33675
33694
|
...options.conditions,
|
|
33676
|
-
ifTags:
|
|
33695
|
+
ifTags: options.conditions?.tagConditions
|
|
33677
33696
|
},
|
|
33678
33697
|
cpkInfo: options.customerProvidedKey,
|
|
33679
33698
|
encryptionScope: options.encryptionScope,
|
|
33680
|
-
immutabilityPolicyExpiry:
|
|
33681
|
-
immutabilityPolicyMode:
|
|
33699
|
+
immutabilityPolicyExpiry: options.immutabilityPolicy?.expiriesOn,
|
|
33700
|
+
immutabilityPolicyMode: options.immutabilityPolicy?.policyMode,
|
|
33682
33701
|
legalHold: options.legalHold,
|
|
33683
33702
|
tier: toAccessTier(options.tier),
|
|
33684
33703
|
blobTagsString: toBlobTagsString(options.tags),
|
|
@@ -33697,7 +33716,6 @@ var init_Clients = __esm({
|
|
|
33697
33716
|
*/
|
|
33698
33717
|
async createIfNotExists(size, options = {}) {
|
|
33699
33718
|
return tracingClient.withSpan("PageBlobClient-createIfNotExists", options, async (updatedOptions) => {
|
|
33700
|
-
var _a3, _b2;
|
|
33701
33719
|
try {
|
|
33702
33720
|
const conditions = { ifNoneMatch: ETagAny };
|
|
33703
33721
|
const res = assertResponse(await this.create(size, {
|
|
@@ -33712,10 +33730,10 @@ var init_Clients = __esm({
|
|
|
33712
33730
|
// _response is made non-enumerable
|
|
33713
33731
|
};
|
|
33714
33732
|
} catch (e) {
|
|
33715
|
-
if (
|
|
33733
|
+
if (e.details?.errorCode === "BlobAlreadyExists") {
|
|
33716
33734
|
return {
|
|
33717
33735
|
succeeded: false,
|
|
33718
|
-
...
|
|
33736
|
+
...e.response?.parsedHeaders,
|
|
33719
33737
|
_response: e.response
|
|
33720
33738
|
};
|
|
33721
33739
|
}
|
|
@@ -33737,13 +33755,12 @@ var init_Clients = __esm({
|
|
|
33737
33755
|
options.conditions = options.conditions || {};
|
|
33738
33756
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33739
33757
|
return tracingClient.withSpan("PageBlobClient-uploadPages", options, async (updatedOptions) => {
|
|
33740
|
-
var _a3;
|
|
33741
33758
|
return assertResponse(await this.pageBlobContext.uploadPages(count, body2, {
|
|
33742
33759
|
abortSignal: options.abortSignal,
|
|
33743
33760
|
leaseAccessConditions: options.conditions,
|
|
33744
33761
|
modifiedAccessConditions: {
|
|
33745
33762
|
...options.conditions,
|
|
33746
|
-
ifTags:
|
|
33763
|
+
ifTags: options.conditions?.tagConditions
|
|
33747
33764
|
},
|
|
33748
33765
|
requestOptions: {
|
|
33749
33766
|
onUploadProgress: options.onProgress
|
|
@@ -33774,7 +33791,6 @@ var init_Clients = __esm({
|
|
|
33774
33791
|
options.sourceConditions = options.sourceConditions || {};
|
|
33775
33792
|
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);
|
|
33776
33793
|
return tracingClient.withSpan("PageBlobClient-uploadPagesFromURL", options, async (updatedOptions) => {
|
|
33777
|
-
var _a3, _b2, _c2, _d, _e;
|
|
33778
33794
|
return assertResponse(await this.pageBlobContext.uploadPagesFromURL(sourceURL, rangeToString({ offset: sourceOffset, count }), 0, rangeToString({ offset: destOffset, count }), {
|
|
33779
33795
|
abortSignal: options.abortSignal,
|
|
33780
33796
|
sourceContentMD5: options.sourceContentMD5,
|
|
@@ -33783,13 +33799,13 @@ var init_Clients = __esm({
|
|
|
33783
33799
|
sequenceNumberAccessConditions: options.conditions,
|
|
33784
33800
|
modifiedAccessConditions: {
|
|
33785
33801
|
...options.conditions,
|
|
33786
|
-
ifTags:
|
|
33802
|
+
ifTags: options.conditions?.tagConditions
|
|
33787
33803
|
},
|
|
33788
33804
|
sourceModifiedAccessConditions: {
|
|
33789
|
-
sourceIfMatch:
|
|
33790
|
-
sourceIfModifiedSince:
|
|
33791
|
-
sourceIfNoneMatch:
|
|
33792
|
-
sourceIfUnmodifiedSince:
|
|
33805
|
+
sourceIfMatch: options.sourceConditions?.ifMatch,
|
|
33806
|
+
sourceIfModifiedSince: options.sourceConditions?.ifModifiedSince,
|
|
33807
|
+
sourceIfNoneMatch: options.sourceConditions?.ifNoneMatch,
|
|
33808
|
+
sourceIfUnmodifiedSince: options.sourceConditions?.ifUnmodifiedSince
|
|
33793
33809
|
},
|
|
33794
33810
|
cpkInfo: options.customerProvidedKey,
|
|
33795
33811
|
encryptionScope: options.encryptionScope,
|
|
@@ -33811,13 +33827,12 @@ var init_Clients = __esm({
|
|
|
33811
33827
|
async clearPages(offset = 0, count, options = {}) {
|
|
33812
33828
|
options.conditions = options.conditions || {};
|
|
33813
33829
|
return tracingClient.withSpan("PageBlobClient-clearPages", options, async (updatedOptions) => {
|
|
33814
|
-
var _a3;
|
|
33815
33830
|
return assertResponse(await this.pageBlobContext.clearPages(0, {
|
|
33816
33831
|
abortSignal: options.abortSignal,
|
|
33817
33832
|
leaseAccessConditions: options.conditions,
|
|
33818
33833
|
modifiedAccessConditions: {
|
|
33819
33834
|
...options.conditions,
|
|
33820
|
-
ifTags:
|
|
33835
|
+
ifTags: options.conditions?.tagConditions
|
|
33821
33836
|
},
|
|
33822
33837
|
range: rangeToString({ offset, count }),
|
|
33823
33838
|
sequenceNumberAccessConditions: options.conditions,
|
|
@@ -33839,13 +33854,12 @@ var init_Clients = __esm({
|
|
|
33839
33854
|
async getPageRanges(offset = 0, count, options = {}) {
|
|
33840
33855
|
options.conditions = options.conditions || {};
|
|
33841
33856
|
return tracingClient.withSpan("PageBlobClient-getPageRanges", options, async (updatedOptions) => {
|
|
33842
|
-
var _a3;
|
|
33843
33857
|
const response = assertResponse(await this.pageBlobContext.getPageRanges({
|
|
33844
33858
|
abortSignal: options.abortSignal,
|
|
33845
33859
|
leaseAccessConditions: options.conditions,
|
|
33846
33860
|
modifiedAccessConditions: {
|
|
33847
33861
|
...options.conditions,
|
|
33848
|
-
ifTags:
|
|
33862
|
+
ifTags: options.conditions?.tagConditions
|
|
33849
33863
|
},
|
|
33850
33864
|
range: rangeToString({ offset, count }),
|
|
33851
33865
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -33867,13 +33881,12 @@ var init_Clients = __esm({
|
|
|
33867
33881
|
*/
|
|
33868
33882
|
async listPageRangesSegment(offset = 0, count, marker2, options = {}) {
|
|
33869
33883
|
return tracingClient.withSpan("PageBlobClient-getPageRangesSegment", options, async (updatedOptions) => {
|
|
33870
|
-
var _a3;
|
|
33871
33884
|
return assertResponse(await this.pageBlobContext.getPageRanges({
|
|
33872
33885
|
abortSignal: options.abortSignal,
|
|
33873
33886
|
leaseAccessConditions: options.conditions,
|
|
33874
33887
|
modifiedAccessConditions: {
|
|
33875
33888
|
...options.conditions,
|
|
33876
|
-
ifTags:
|
|
33889
|
+
ifTags: options.conditions?.tagConditions
|
|
33877
33890
|
},
|
|
33878
33891
|
range: rangeToString({ offset, count }),
|
|
33879
33892
|
marker: marker2,
|
|
@@ -34031,13 +34044,12 @@ var init_Clients = __esm({
|
|
|
34031
34044
|
async getPageRangesDiff(offset, count, prevSnapshot, options = {}) {
|
|
34032
34045
|
options.conditions = options.conditions || {};
|
|
34033
34046
|
return tracingClient.withSpan("PageBlobClient-getPageRangesDiff", options, async (updatedOptions) => {
|
|
34034
|
-
var _a3;
|
|
34035
34047
|
const result = assertResponse(await this.pageBlobContext.getPageRangesDiff({
|
|
34036
34048
|
abortSignal: options.abortSignal,
|
|
34037
34049
|
leaseAccessConditions: options.conditions,
|
|
34038
34050
|
modifiedAccessConditions: {
|
|
34039
34051
|
...options.conditions,
|
|
34040
|
-
ifTags:
|
|
34052
|
+
ifTags: options.conditions?.tagConditions
|
|
34041
34053
|
},
|
|
34042
34054
|
prevsnapshot: prevSnapshot,
|
|
34043
34055
|
range: rangeToString({ offset, count }),
|
|
@@ -34062,13 +34074,12 @@ var init_Clients = __esm({
|
|
|
34062
34074
|
*/
|
|
34063
34075
|
async listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker2, options = {}) {
|
|
34064
34076
|
return tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment", options, async (updatedOptions) => {
|
|
34065
|
-
var _a3;
|
|
34066
34077
|
return assertResponse(await this.pageBlobContext.getPageRangesDiff({
|
|
34067
|
-
abortSignal: options
|
|
34068
|
-
leaseAccessConditions: options
|
|
34078
|
+
abortSignal: options?.abortSignal,
|
|
34079
|
+
leaseAccessConditions: options?.conditions,
|
|
34069
34080
|
modifiedAccessConditions: {
|
|
34070
|
-
...options
|
|
34071
|
-
ifTags:
|
|
34081
|
+
...options?.conditions,
|
|
34082
|
+
ifTags: options?.conditions?.tagConditions
|
|
34072
34083
|
},
|
|
34073
34084
|
prevsnapshot: prevSnapshotOrUrl,
|
|
34074
34085
|
range: rangeToString({
|
|
@@ -34076,7 +34087,7 @@ var init_Clients = __esm({
|
|
|
34076
34087
|
count
|
|
34077
34088
|
}),
|
|
34078
34089
|
marker: marker2,
|
|
34079
|
-
maxPageSize: options
|
|
34090
|
+
maxPageSize: options?.maxPageSize,
|
|
34080
34091
|
tracingOptions: updatedOptions.tracingOptions
|
|
34081
34092
|
}));
|
|
34082
34093
|
});
|
|
@@ -34245,13 +34256,12 @@ var init_Clients = __esm({
|
|
|
34245
34256
|
async getPageRangesDiffForManagedDisks(offset, count, prevSnapshotUrl2, options = {}) {
|
|
34246
34257
|
options.conditions = options.conditions || {};
|
|
34247
34258
|
return tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks", options, async (updatedOptions) => {
|
|
34248
|
-
var _a3;
|
|
34249
34259
|
const response = assertResponse(await this.pageBlobContext.getPageRangesDiff({
|
|
34250
34260
|
abortSignal: options.abortSignal,
|
|
34251
34261
|
leaseAccessConditions: options.conditions,
|
|
34252
34262
|
modifiedAccessConditions: {
|
|
34253
34263
|
...options.conditions,
|
|
34254
|
-
ifTags:
|
|
34264
|
+
ifTags: options.conditions?.tagConditions
|
|
34255
34265
|
},
|
|
34256
34266
|
prevSnapshotUrl: prevSnapshotUrl2,
|
|
34257
34267
|
range: rangeToString({ offset, count }),
|
|
@@ -34271,13 +34281,12 @@ var init_Clients = __esm({
|
|
|
34271
34281
|
async resize(size, options = {}) {
|
|
34272
34282
|
options.conditions = options.conditions || {};
|
|
34273
34283
|
return tracingClient.withSpan("PageBlobClient-resize", options, async (updatedOptions) => {
|
|
34274
|
-
var _a3;
|
|
34275
34284
|
return assertResponse(await this.pageBlobContext.resize(size, {
|
|
34276
34285
|
abortSignal: options.abortSignal,
|
|
34277
34286
|
leaseAccessConditions: options.conditions,
|
|
34278
34287
|
modifiedAccessConditions: {
|
|
34279
34288
|
...options.conditions,
|
|
34280
|
-
ifTags:
|
|
34289
|
+
ifTags: options.conditions?.tagConditions
|
|
34281
34290
|
},
|
|
34282
34291
|
encryptionScope: options.encryptionScope,
|
|
34283
34292
|
tracingOptions: updatedOptions.tracingOptions
|
|
@@ -34296,14 +34305,13 @@ var init_Clients = __esm({
|
|
|
34296
34305
|
async updateSequenceNumber(sequenceNumberAction2, sequenceNumber, options = {}) {
|
|
34297
34306
|
options.conditions = options.conditions || {};
|
|
34298
34307
|
return tracingClient.withSpan("PageBlobClient-updateSequenceNumber", options, async (updatedOptions) => {
|
|
34299
|
-
var _a3;
|
|
34300
34308
|
return assertResponse(await this.pageBlobContext.updateSequenceNumber(sequenceNumberAction2, {
|
|
34301
34309
|
abortSignal: options.abortSignal,
|
|
34302
34310
|
blobSequenceNumber: sequenceNumber,
|
|
34303
34311
|
leaseAccessConditions: options.conditions,
|
|
34304
34312
|
modifiedAccessConditions: {
|
|
34305
34313
|
...options.conditions,
|
|
34306
|
-
ifTags:
|
|
34314
|
+
ifTags: options.conditions?.tagConditions
|
|
34307
34315
|
},
|
|
34308
34316
|
tracingOptions: updatedOptions.tracingOptions
|
|
34309
34317
|
}));
|
|
@@ -34324,20 +34332,17 @@ var init_Clients = __esm({
|
|
|
34324
34332
|
*/
|
|
34325
34333
|
async startCopyIncremental(copySource2, options = {}) {
|
|
34326
34334
|
return tracingClient.withSpan("PageBlobClient-startCopyIncremental", options, async (updatedOptions) => {
|
|
34327
|
-
var _a3;
|
|
34328
34335
|
return assertResponse(await this.pageBlobContext.copyIncremental(copySource2, {
|
|
34329
34336
|
abortSignal: options.abortSignal,
|
|
34330
34337
|
modifiedAccessConditions: {
|
|
34331
34338
|
...options.conditions,
|
|
34332
|
-
ifTags:
|
|
34339
|
+
ifTags: options.conditions?.tagConditions
|
|
34333
34340
|
},
|
|
34334
34341
|
tracingOptions: updatedOptions.tracingOptions
|
|
34335
34342
|
}));
|
|
34336
34343
|
});
|
|
34337
34344
|
}
|
|
34338
34345
|
};
|
|
34339
|
-
__name(_PageBlobClient, "PageBlobClient");
|
|
34340
|
-
PageBlobClient = _PageBlobClient;
|
|
34341
34346
|
}
|
|
34342
34347
|
});
|
|
34343
34348
|
|
|
@@ -34361,7 +34366,7 @@ var init_BatchUtils = __esm({
|
|
|
34361
34366
|
});
|
|
34362
34367
|
|
|
34363
34368
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BatchResponseParser.js
|
|
34364
|
-
var HTTP_HEADER_DELIMITER, SPACE_DELIMITER, NOT_FOUND,
|
|
34369
|
+
var HTTP_HEADER_DELIMITER, SPACE_DELIMITER, NOT_FOUND, BatchResponseParser;
|
|
34365
34370
|
var init_BatchResponseParser = __esm({
|
|
34366
34371
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BatchResponseParser.js"() {
|
|
34367
34372
|
init_esm6();
|
|
@@ -34372,7 +34377,10 @@ var init_BatchResponseParser = __esm({
|
|
|
34372
34377
|
HTTP_HEADER_DELIMITER = ": ";
|
|
34373
34378
|
SPACE_DELIMITER = " ";
|
|
34374
34379
|
NOT_FOUND = -1;
|
|
34375
|
-
|
|
34380
|
+
BatchResponseParser = class {
|
|
34381
|
+
static {
|
|
34382
|
+
__name(this, "BatchResponseParser");
|
|
34383
|
+
}
|
|
34376
34384
|
batchResponse;
|
|
34377
34385
|
responseBatchBoundary;
|
|
34378
34386
|
perResponsePrefix;
|
|
@@ -34469,20 +34477,21 @@ var init_BatchResponseParser = __esm({
|
|
|
34469
34477
|
};
|
|
34470
34478
|
}
|
|
34471
34479
|
};
|
|
34472
|
-
__name(_BatchResponseParser, "BatchResponseParser");
|
|
34473
|
-
BatchResponseParser = _BatchResponseParser;
|
|
34474
34480
|
}
|
|
34475
34481
|
});
|
|
34476
34482
|
|
|
34477
34483
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Mutex.js
|
|
34478
|
-
var MutexLockStatus,
|
|
34484
|
+
var MutexLockStatus, Mutex;
|
|
34479
34485
|
var init_Mutex = __esm({
|
|
34480
34486
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/utils/Mutex.js"() {
|
|
34481
34487
|
(function(MutexLockStatus2) {
|
|
34482
34488
|
MutexLockStatus2[MutexLockStatus2["LOCKED"] = 0] = "LOCKED";
|
|
34483
34489
|
MutexLockStatus2[MutexLockStatus2["UNLOCKED"] = 1] = "UNLOCKED";
|
|
34484
34490
|
})(MutexLockStatus || (MutexLockStatus = {}));
|
|
34485
|
-
|
|
34491
|
+
Mutex = class {
|
|
34492
|
+
static {
|
|
34493
|
+
__name(this, "Mutex");
|
|
34494
|
+
}
|
|
34486
34495
|
/**
|
|
34487
34496
|
* Lock for a specific key. If the lock has been acquired by another customer, then
|
|
34488
34497
|
* will wait until getting the lock.
|
|
@@ -34516,6 +34525,8 @@ var init_Mutex = __esm({
|
|
|
34516
34525
|
resolve();
|
|
34517
34526
|
});
|
|
34518
34527
|
}
|
|
34528
|
+
static keys = {};
|
|
34529
|
+
static listeners = {};
|
|
34519
34530
|
static onUnlockEvent(key, handler) {
|
|
34520
34531
|
if (this.listeners[key] === void 0) {
|
|
34521
34532
|
this.listeners[key] = [handler];
|
|
@@ -34532,10 +34543,6 @@ var init_Mutex = __esm({
|
|
|
34532
34543
|
}
|
|
34533
34544
|
}
|
|
34534
34545
|
};
|
|
34535
|
-
__name(_Mutex, "Mutex");
|
|
34536
|
-
__publicField(_Mutex, "keys", {});
|
|
34537
|
-
__publicField(_Mutex, "listeners", {});
|
|
34538
|
-
Mutex = _Mutex;
|
|
34539
34546
|
}
|
|
34540
34547
|
});
|
|
34541
34548
|
|
|
@@ -34570,7 +34577,7 @@ function batchHeaderFilterPolicy() {
|
|
|
34570
34577
|
}
|
|
34571
34578
|
};
|
|
34572
34579
|
}
|
|
34573
|
-
var
|
|
34580
|
+
var BlobBatch, InnerBatchRequest;
|
|
34574
34581
|
var init_BlobBatch = __esm({
|
|
34575
34582
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobBatch.js"() {
|
|
34576
34583
|
init_esm4();
|
|
@@ -34586,7 +34593,10 @@ var init_BlobBatch = __esm({
|
|
|
34586
34593
|
init_constants4();
|
|
34587
34594
|
init_tracing();
|
|
34588
34595
|
init_esm8();
|
|
34589
|
-
|
|
34596
|
+
BlobBatch = class {
|
|
34597
|
+
static {
|
|
34598
|
+
__name(this, "BlobBatch");
|
|
34599
|
+
}
|
|
34590
34600
|
batchRequest;
|
|
34591
34601
|
batch = "batch";
|
|
34592
34602
|
batchType;
|
|
@@ -34687,9 +34697,10 @@ var init_BlobBatch = __esm({
|
|
|
34687
34697
|
});
|
|
34688
34698
|
}
|
|
34689
34699
|
};
|
|
34690
|
-
|
|
34691
|
-
|
|
34692
|
-
|
|
34700
|
+
InnerBatchRequest = class {
|
|
34701
|
+
static {
|
|
34702
|
+
__name(this, "InnerBatchRequest");
|
|
34703
|
+
}
|
|
34693
34704
|
operationCount;
|
|
34694
34705
|
body;
|
|
34695
34706
|
subRequests;
|
|
@@ -34783,15 +34794,13 @@ var init_BlobBatch = __esm({
|
|
|
34783
34794
|
return this.subRequests;
|
|
34784
34795
|
}
|
|
34785
34796
|
};
|
|
34786
|
-
__name(_InnerBatchRequest, "InnerBatchRequest");
|
|
34787
|
-
InnerBatchRequest = _InnerBatchRequest;
|
|
34788
34797
|
__name(batchRequestAssemblePolicy, "batchRequestAssemblePolicy");
|
|
34789
34798
|
__name(batchHeaderFilterPolicy, "batchHeaderFilterPolicy");
|
|
34790
34799
|
}
|
|
34791
34800
|
});
|
|
34792
34801
|
|
|
34793
34802
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobBatchClient.js
|
|
34794
|
-
var
|
|
34803
|
+
var BlobBatchClient;
|
|
34795
34804
|
var init_BlobBatchClient = __esm({
|
|
34796
34805
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobBatchClient.js"() {
|
|
34797
34806
|
init_BatchResponseParser();
|
|
@@ -34802,7 +34811,10 @@ var init_BlobBatchClient = __esm({
|
|
|
34802
34811
|
init_StorageContextClient();
|
|
34803
34812
|
init_Pipeline();
|
|
34804
34813
|
init_utils_common2();
|
|
34805
|
-
|
|
34814
|
+
BlobBatchClient = class {
|
|
34815
|
+
static {
|
|
34816
|
+
__name(this, "BlobBatchClient");
|
|
34817
|
+
}
|
|
34806
34818
|
serviceOrContainerContext;
|
|
34807
34819
|
constructor(url2, credentialOrPipeline, options) {
|
|
34808
34820
|
let pipeline;
|
|
@@ -34940,13 +34952,11 @@ var init_BlobBatchClient = __esm({
|
|
|
34940
34952
|
});
|
|
34941
34953
|
}
|
|
34942
34954
|
};
|
|
34943
|
-
__name(_BlobBatchClient, "BlobBatchClient");
|
|
34944
|
-
BlobBatchClient = _BlobBatchClient;
|
|
34945
34955
|
}
|
|
34946
34956
|
});
|
|
34947
34957
|
|
|
34948
34958
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/ContainerClient.js
|
|
34949
|
-
var
|
|
34959
|
+
var ContainerClient;
|
|
34950
34960
|
var init_ContainerClient = __esm({
|
|
34951
34961
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/ContainerClient.js"() {
|
|
34952
34962
|
init_esm6();
|
|
@@ -34961,7 +34971,10 @@ var init_ContainerClient = __esm({
|
|
|
34961
34971
|
init_BlobLeaseClient();
|
|
34962
34972
|
init_Clients();
|
|
34963
34973
|
init_BlobBatchClient();
|
|
34964
|
-
|
|
34974
|
+
ContainerClient = class extends StorageClient2 {
|
|
34975
|
+
static {
|
|
34976
|
+
__name(this, "ContainerClient");
|
|
34977
|
+
}
|
|
34965
34978
|
/**
|
|
34966
34979
|
* containerContext provided by protocol layer.
|
|
34967
34980
|
*/
|
|
@@ -35055,7 +35068,6 @@ var init_ContainerClient = __esm({
|
|
|
35055
35068
|
*/
|
|
35056
35069
|
async createIfNotExists(options = {}) {
|
|
35057
35070
|
return tracingClient.withSpan("ContainerClient-createIfNotExists", options, async (updatedOptions) => {
|
|
35058
|
-
var _a3, _b2;
|
|
35059
35071
|
try {
|
|
35060
35072
|
const res = await this.create(updatedOptions);
|
|
35061
35073
|
return {
|
|
@@ -35065,10 +35077,10 @@ var init_ContainerClient = __esm({
|
|
|
35065
35077
|
// _response is made non-enumerable
|
|
35066
35078
|
};
|
|
35067
35079
|
} catch (e) {
|
|
35068
|
-
if (
|
|
35080
|
+
if (e.details?.errorCode === "ContainerAlreadyExists") {
|
|
35069
35081
|
return {
|
|
35070
35082
|
succeeded: false,
|
|
35071
|
-
...
|
|
35083
|
+
...e.response?.parsedHeaders,
|
|
35072
35084
|
_response: e.response
|
|
35073
35085
|
};
|
|
35074
35086
|
} else {
|
|
@@ -35210,7 +35222,6 @@ var init_ContainerClient = __esm({
|
|
|
35210
35222
|
*/
|
|
35211
35223
|
async deleteIfExists(options = {}) {
|
|
35212
35224
|
return tracingClient.withSpan("ContainerClient-deleteIfExists", options, async (updatedOptions) => {
|
|
35213
|
-
var _a3, _b2;
|
|
35214
35225
|
try {
|
|
35215
35226
|
const res = await this.delete(updatedOptions);
|
|
35216
35227
|
return {
|
|
@@ -35219,10 +35230,10 @@ var init_ContainerClient = __esm({
|
|
|
35219
35230
|
_response: res._response
|
|
35220
35231
|
};
|
|
35221
35232
|
} catch (e) {
|
|
35222
|
-
if (
|
|
35233
|
+
if (e.details?.errorCode === "ContainerNotFound") {
|
|
35223
35234
|
return {
|
|
35224
35235
|
succeeded: false,
|
|
35225
|
-
...
|
|
35236
|
+
...e.response?.parsedHeaders,
|
|
35226
35237
|
_response: e.response
|
|
35227
35238
|
};
|
|
35228
35239
|
}
|
|
@@ -35468,7 +35479,6 @@ var init_ContainerClient = __esm({
|
|
|
35468
35479
|
*/
|
|
35469
35480
|
async listBlobHierarchySegment(delimiter2, marker2, options = {}) {
|
|
35470
35481
|
return tracingClient.withSpan("ContainerClient-listBlobHierarchySegment", options, async (updatedOptions) => {
|
|
35471
|
-
var _a3;
|
|
35472
35482
|
const response = assertResponse(await this.containerContext.listBlobHierarchySegment(delimiter2, {
|
|
35473
35483
|
marker: marker2,
|
|
35474
35484
|
...options,
|
|
@@ -35492,7 +35502,7 @@ var init_ContainerClient = __esm({
|
|
|
35492
35502
|
};
|
|
35493
35503
|
return blobItem;
|
|
35494
35504
|
}),
|
|
35495
|
-
blobPrefixes:
|
|
35505
|
+
blobPrefixes: response.segment.blobPrefixes?.map((blobPrefixInternal) => {
|
|
35496
35506
|
const blobPrefix = {
|
|
35497
35507
|
...blobPrefixInternal,
|
|
35498
35508
|
name: BlobNameToString(blobPrefixInternal.name)
|
|
@@ -35909,9 +35919,8 @@ var init_ContainerClient = __esm({
|
|
|
35909
35919
|
_response: response._response,
|
|
35910
35920
|
// _response is made non-enumerable
|
|
35911
35921
|
blobs: response.blobs.map((blob) => {
|
|
35912
|
-
var _a3;
|
|
35913
35922
|
let tagValue = "";
|
|
35914
|
-
if (
|
|
35923
|
+
if (blob.tags?.blobTagSet.length === 1) {
|
|
35915
35924
|
tagValue = blob.tags.blobTagSet[0].value;
|
|
35916
35925
|
}
|
|
35917
35926
|
return { ...blob, tags: toTags(blob.tags), tagValue };
|
|
@@ -36196,16 +36205,17 @@ var init_ContainerClient = __esm({
|
|
|
36196
36205
|
return new BlobBatchClient(this.url, this.pipeline);
|
|
36197
36206
|
}
|
|
36198
36207
|
};
|
|
36199
|
-
__name(_ContainerClient, "ContainerClient");
|
|
36200
|
-
ContainerClient = _ContainerClient;
|
|
36201
36208
|
}
|
|
36202
36209
|
});
|
|
36203
36210
|
|
|
36204
36211
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASPermissions.js
|
|
36205
|
-
var
|
|
36212
|
+
var AccountSASPermissions;
|
|
36206
36213
|
var init_AccountSASPermissions = __esm({
|
|
36207
36214
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASPermissions.js"() {
|
|
36208
|
-
|
|
36215
|
+
AccountSASPermissions = class _AccountSASPermissions {
|
|
36216
|
+
static {
|
|
36217
|
+
__name(this, "AccountSASPermissions");
|
|
36218
|
+
}
|
|
36209
36219
|
/**
|
|
36210
36220
|
* Parse initializes the AccountSASPermissions fields from a string.
|
|
36211
36221
|
*
|
|
@@ -36415,16 +36425,17 @@ var init_AccountSASPermissions = __esm({
|
|
|
36415
36425
|
return permissions.join("");
|
|
36416
36426
|
}
|
|
36417
36427
|
};
|
|
36418
|
-
__name(_AccountSASPermissions, "AccountSASPermissions");
|
|
36419
|
-
AccountSASPermissions = _AccountSASPermissions;
|
|
36420
36428
|
}
|
|
36421
36429
|
});
|
|
36422
36430
|
|
|
36423
36431
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASResourceTypes.js
|
|
36424
|
-
var
|
|
36432
|
+
var AccountSASResourceTypes;
|
|
36425
36433
|
var init_AccountSASResourceTypes = __esm({
|
|
36426
36434
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASResourceTypes.js"() {
|
|
36427
|
-
|
|
36435
|
+
AccountSASResourceTypes = class _AccountSASResourceTypes {
|
|
36436
|
+
static {
|
|
36437
|
+
__name(this, "AccountSASResourceTypes");
|
|
36438
|
+
}
|
|
36428
36439
|
/**
|
|
36429
36440
|
* Creates an {@link AccountSASResourceTypes} from the specified resource types string. This method will throw an
|
|
36430
36441
|
* Error if it encounters a character that does not correspond to a valid resource type.
|
|
@@ -36482,16 +36493,17 @@ var init_AccountSASResourceTypes = __esm({
|
|
|
36482
36493
|
return resourceTypes.join("");
|
|
36483
36494
|
}
|
|
36484
36495
|
};
|
|
36485
|
-
__name(_AccountSASResourceTypes, "AccountSASResourceTypes");
|
|
36486
|
-
AccountSASResourceTypes = _AccountSASResourceTypes;
|
|
36487
36496
|
}
|
|
36488
36497
|
});
|
|
36489
36498
|
|
|
36490
36499
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASServices.js
|
|
36491
|
-
var
|
|
36500
|
+
var AccountSASServices;
|
|
36492
36501
|
var init_AccountSASServices = __esm({
|
|
36493
36502
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/sas/AccountSASServices.js"() {
|
|
36494
|
-
|
|
36503
|
+
AccountSASServices = class _AccountSASServices {
|
|
36504
|
+
static {
|
|
36505
|
+
__name(this, "AccountSASServices");
|
|
36506
|
+
}
|
|
36495
36507
|
/**
|
|
36496
36508
|
* Creates an {@link AccountSASServices} from the specified services string. This method will throw an
|
|
36497
36509
|
* Error if it encounters a character that does not correspond to a valid service.
|
|
@@ -36557,8 +36569,6 @@ var init_AccountSASServices = __esm({
|
|
|
36557
36569
|
return services.join("");
|
|
36558
36570
|
}
|
|
36559
36571
|
};
|
|
36560
|
-
__name(_AccountSASServices, "AccountSASServices");
|
|
36561
|
-
AccountSASServices = _AccountSASServices;
|
|
36562
36572
|
}
|
|
36563
36573
|
});
|
|
36564
36574
|
|
|
@@ -36641,7 +36651,7 @@ var init_AccountSASSignatureValues = __esm({
|
|
|
36641
36651
|
});
|
|
36642
36652
|
|
|
36643
36653
|
// ../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobServiceClient.js
|
|
36644
|
-
var
|
|
36654
|
+
var BlobServiceClient;
|
|
36645
36655
|
var init_BlobServiceClient = __esm({
|
|
36646
36656
|
"../../node_modules/.store/@azure-storage-blob-npm-12.31.0-1a3cdded19/package/dist/esm/BlobServiceClient.js"() {
|
|
36647
36657
|
init_esm7();
|
|
@@ -36658,7 +36668,10 @@ var init_BlobServiceClient = __esm({
|
|
|
36658
36668
|
init_AccountSASPermissions();
|
|
36659
36669
|
init_AccountSASSignatureValues();
|
|
36660
36670
|
init_AccountSASServices();
|
|
36661
|
-
|
|
36671
|
+
BlobServiceClient = class _BlobServiceClient extends StorageClient2 {
|
|
36672
|
+
static {
|
|
36673
|
+
__name(this, "BlobServiceClient");
|
|
36674
|
+
}
|
|
36662
36675
|
/**
|
|
36663
36676
|
* serviceContext provided by protocol layer.
|
|
36664
36677
|
*/
|
|
@@ -36908,9 +36921,8 @@ var init_BlobServiceClient = __esm({
|
|
|
36908
36921
|
_response: response._response,
|
|
36909
36922
|
// _response is made non-enumerable
|
|
36910
36923
|
blobs: response.blobs.map((blob) => {
|
|
36911
|
-
var _a3;
|
|
36912
36924
|
let tagValue = "";
|
|
36913
|
-
if (
|
|
36925
|
+
if (blob.tags?.blobTagSet.length === 1) {
|
|
36914
36926
|
tagValue = blob.tags.blobTagSet[0].value;
|
|
36915
36927
|
}
|
|
36916
36928
|
return { ...blob, tags: toTags(blob.tags), tagValue };
|
|
@@ -37325,8 +37337,6 @@ var init_BlobServiceClient = __esm({
|
|
|
37325
37337
|
}, this.credential).stringToSign;
|
|
37326
37338
|
}
|
|
37327
37339
|
};
|
|
37328
|
-
__name(_BlobServiceClient, "BlobServiceClient");
|
|
37329
|
-
BlobServiceClient = _BlobServiceClient;
|
|
37330
37340
|
}
|
|
37331
37341
|
});
|
|
37332
37342
|
|