@ms-cloudpack/telemetry 0.12.6 → 0.12.8
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/NOTICE.txt +18 -18
- package/dist/{chunk-75GF2GHM.js → chunk-NUNJ4WHX.js} +154 -141
- package/dist/{customerSDKStats-7HOB5ILS.js → customerSDKStats-OZ5JDFDK.js} +2 -2
- package/dist/{httpSender-KZ6RCGP7.js → httpSender-Z2BUJ553.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{statsbeatExporter-QZUFYAJT.js → statsbeatExporter-523PXONM.js} +1 -1
- package/package.json +3 -3
|
@@ -141,9 +141,9 @@ var require_package = __commonJS({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
|
|
144
|
-
// ../../node_modules/.store/debug-virtual-
|
|
144
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/common.js
|
|
145
145
|
var require_common = __commonJS({
|
|
146
|
-
"../../node_modules/.store/debug-virtual-
|
|
146
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/common.js"(exports, module) {
|
|
147
147
|
function setup(env) {
|
|
148
148
|
createDebug.debug = createDebug;
|
|
149
149
|
createDebug.default = createDebug;
|
|
@@ -329,9 +329,9 @@ var require_common = __commonJS({
|
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
// ../../node_modules/.store/debug-virtual-
|
|
332
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/browser.js
|
|
333
333
|
var require_browser = __commonJS({
|
|
334
|
-
"../../node_modules/.store/debug-virtual-
|
|
334
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/browser.js"(exports, module) {
|
|
335
335
|
exports.formatArgs = formatArgs;
|
|
336
336
|
exports.save = save;
|
|
337
337
|
exports.load = load;
|
|
@@ -635,9 +635,9 @@ var require_package3 = __commonJS({
|
|
|
635
635
|
}
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
// ../../node_modules/.store/debug-virtual-
|
|
638
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/node.js
|
|
639
639
|
var require_node = __commonJS({
|
|
640
|
-
"../../node_modules/.store/debug-virtual-
|
|
640
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/node.js"(exports, module) {
|
|
641
641
|
var tty = __require("tty");
|
|
642
642
|
var util2 = __require("util");
|
|
643
643
|
exports.init = init;
|
|
@@ -816,9 +816,9 @@ var require_node = __commonJS({
|
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
818
|
|
|
819
|
-
// ../../node_modules/.store/debug-virtual-
|
|
819
|
+
// ../../node_modules/.store/debug-virtual-50230b237b/package/src/index.js
|
|
820
820
|
var require_src = __commonJS({
|
|
821
|
-
"../../node_modules/.store/debug-virtual-
|
|
821
|
+
"../../node_modules/.store/debug-virtual-50230b237b/package/src/index.js"(exports, module) {
|
|
822
822
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
823
823
|
module.exports = require_browser();
|
|
824
824
|
} else {
|
|
@@ -1450,9 +1450,9 @@ var require_dist3 = __commonJS({
|
|
|
1450
1450
|
}
|
|
1451
1451
|
});
|
|
1452
1452
|
|
|
1453
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
1454
|
-
var
|
|
1455
|
-
"../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
1453
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/commonjs/state-cjs.js
|
|
1454
|
+
var require_state_cjs = __commonJS({
|
|
1455
|
+
"../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/commonjs/state-cjs.js"(exports) {
|
|
1456
1456
|
"use strict";
|
|
1457
1457
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1458
1458
|
exports.state = void 0;
|
|
@@ -9891,7 +9891,7 @@ var require_src4 = __commonJS({
|
|
|
9891
9891
|
init_esm();
|
|
9892
9892
|
import url from "node:url";
|
|
9893
9893
|
|
|
9894
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9894
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/abort-controller/AbortError.js
|
|
9895
9895
|
var AbortError = class extends Error {
|
|
9896
9896
|
static {
|
|
9897
9897
|
__name(this, "AbortError");
|
|
@@ -9902,7 +9902,7 @@ var AbortError = class extends Error {
|
|
|
9902
9902
|
}
|
|
9903
9903
|
};
|
|
9904
9904
|
|
|
9905
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9905
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/log.js
|
|
9906
9906
|
import { EOL } from "node:os";
|
|
9907
9907
|
import util from "node:util";
|
|
9908
9908
|
import process2 from "node:process";
|
|
@@ -9911,7 +9911,7 @@ function log(message, ...args) {
|
|
|
9911
9911
|
}
|
|
9912
9912
|
__name(log, "log");
|
|
9913
9913
|
|
|
9914
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9914
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/env.js
|
|
9915
9915
|
import process3 from "node:process";
|
|
9916
9916
|
function getEnvironmentVariable(name) {
|
|
9917
9917
|
return process3.env[name];
|
|
@@ -9925,7 +9925,7 @@ var isDeno = typeof process3.versions.deno === "string" && process3.versions.den
|
|
|
9925
9925
|
var isBun = typeof process3.versions.bun === "string" && process3.versions.bun.length > 0;
|
|
9926
9926
|
var isNodeLike = true;
|
|
9927
9927
|
|
|
9928
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
9928
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/debug.js
|
|
9929
9929
|
var debugEnvVariable = getEnvironmentVariable("DEBUG");
|
|
9930
9930
|
var enabledString;
|
|
9931
9931
|
var enabledNamespaces = [];
|
|
@@ -10091,7 +10091,7 @@ function extend(namespace) {
|
|
|
10091
10091
|
__name(extend, "extend");
|
|
10092
10092
|
var debug_default = debugObj;
|
|
10093
10093
|
|
|
10094
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/logger/logger.js
|
|
10095
10095
|
var TYPESPEC_RUNTIME_LOG_LEVELS = ["verbose", "info", "warning", "error"];
|
|
10096
10096
|
var levelMap = {
|
|
10097
10097
|
verbose: 400,
|
|
@@ -10188,7 +10188,7 @@ function createClientLogger(namespace) {
|
|
|
10188
10188
|
}
|
|
10189
10189
|
__name(createClientLogger, "createClientLogger");
|
|
10190
10190
|
|
|
10191
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10191
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/httpHeaders.js
|
|
10192
10192
|
function normalizeName(name) {
|
|
10193
10193
|
return name.toLowerCase();
|
|
10194
10194
|
}
|
|
@@ -10281,13 +10281,13 @@ function createHttpHeaders(rawHeaders) {
|
|
|
10281
10281
|
}
|
|
10282
10282
|
__name(createHttpHeaders, "createHttpHeaders");
|
|
10283
10283
|
|
|
10284
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10284
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/uuidUtils.js
|
|
10285
10285
|
function randomUUID() {
|
|
10286
|
-
return crypto.randomUUID();
|
|
10286
|
+
return globalThis.crypto.randomUUID();
|
|
10287
10287
|
}
|
|
10288
10288
|
__name(randomUUID, "randomUUID");
|
|
10289
10289
|
|
|
10290
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10290
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/pipelineRequest.js
|
|
10291
10291
|
var PipelineRequestImpl = class {
|
|
10292
10292
|
static {
|
|
10293
10293
|
__name(this, "PipelineRequestImpl");
|
|
@@ -10338,7 +10338,7 @@ function createPipelineRequest(options) {
|
|
|
10338
10338
|
}
|
|
10339
10339
|
__name(createPipelineRequest, "createPipelineRequest");
|
|
10340
10340
|
|
|
10341
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10341
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/pipeline.js
|
|
10342
10342
|
var ValidPhaseNames = /* @__PURE__ */ new Set(["Deserialize", "Serialize", "Retry", "Sign"]);
|
|
10343
10343
|
var HttpPipeline = class _HttpPipeline {
|
|
10344
10344
|
static {
|
|
@@ -10527,13 +10527,13 @@ function createEmptyPipeline() {
|
|
|
10527
10527
|
}
|
|
10528
10528
|
__name(createEmptyPipeline, "createEmptyPipeline");
|
|
10529
10529
|
|
|
10530
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10530
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/object.js
|
|
10531
10531
|
function isObject(input) {
|
|
10532
10532
|
return typeof input === "object" && input !== null && !Array.isArray(input) && !(input instanceof RegExp) && !(input instanceof Date);
|
|
10533
10533
|
}
|
|
10534
10534
|
__name(isObject, "isObject");
|
|
10535
10535
|
|
|
10536
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10536
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/error.js
|
|
10537
10537
|
function isError(e) {
|
|
10538
10538
|
if (isObject(e)) {
|
|
10539
10539
|
const hasName = typeof e.name === "string";
|
|
@@ -10544,11 +10544,11 @@ function isError(e) {
|
|
|
10544
10544
|
}
|
|
10545
10545
|
__name(isError, "isError");
|
|
10546
10546
|
|
|
10547
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10547
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/inspect.js
|
|
10548
10548
|
import { inspect } from "node:util";
|
|
10549
10549
|
var custom = inspect.custom;
|
|
10550
10550
|
|
|
10551
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10551
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/sanitizer.js
|
|
10552
10552
|
var RedactedString = "REDACTED";
|
|
10553
10553
|
var defaultAllowedHeaderNames = [
|
|
10554
10554
|
"x-ms-client-request-id",
|
|
@@ -10687,7 +10687,7 @@ var Sanitizer = class {
|
|
|
10687
10687
|
}
|
|
10688
10688
|
};
|
|
10689
10689
|
|
|
10690
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10690
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/restError.js
|
|
10691
10691
|
var errorSanitizer = new Sanitizer();
|
|
10692
10692
|
var RestError = class _RestError extends Error {
|
|
10693
10693
|
static {
|
|
@@ -10759,7 +10759,7 @@ function isRestError(e) {
|
|
|
10759
10759
|
}
|
|
10760
10760
|
__name(isRestError, "isRestError");
|
|
10761
10761
|
|
|
10762
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10762
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/bytesEncoding.js
|
|
10763
10763
|
function uint8ArrayToString(bytes, format) {
|
|
10764
10764
|
return Buffer.from(bytes).toString(format);
|
|
10765
10765
|
}
|
|
@@ -10769,16 +10769,16 @@ function stringToUint8Array(value, format) {
|
|
|
10769
10769
|
}
|
|
10770
10770
|
__name(stringToUint8Array, "stringToUint8Array");
|
|
10771
10771
|
|
|
10772
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10772
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/nodeHttpClient.js
|
|
10773
10773
|
import http from "node:http";
|
|
10774
10774
|
import https from "node:https";
|
|
10775
10775
|
import zlib from "node:zlib";
|
|
10776
10776
|
import { Transform } from "node:stream";
|
|
10777
10777
|
|
|
10778
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10778
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/log.js
|
|
10779
10779
|
var logger = createClientLogger("ts-http-runtime");
|
|
10780
10780
|
|
|
10781
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
10781
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/nodeHttpClient.js
|
|
10782
10782
|
var DEFAULT_TLS_SETTINGS = {};
|
|
10783
10783
|
function isReadableStream(body) {
|
|
10784
10784
|
return body && typeof body.pipe === "function";
|
|
@@ -10884,9 +10884,6 @@ var NodeHttpClient = class {
|
|
|
10884
10884
|
body = uploadReportStream;
|
|
10885
10885
|
}
|
|
10886
10886
|
const res = await this.makeRequest(request, abortController, body);
|
|
10887
|
-
if (timeoutId !== void 0) {
|
|
10888
|
-
clearTimeout(timeoutId);
|
|
10889
|
-
}
|
|
10890
10887
|
const headers = getResponseHeaders(res);
|
|
10891
10888
|
const status = res.statusCode ?? 0;
|
|
10892
10889
|
const response = {
|
|
@@ -10918,6 +10915,9 @@ var NodeHttpClient = class {
|
|
|
10918
10915
|
}
|
|
10919
10916
|
return response;
|
|
10920
10917
|
} finally {
|
|
10918
|
+
if (timeoutId !== void 0) {
|
|
10919
|
+
clearTimeout(timeoutId);
|
|
10920
|
+
}
|
|
10921
10921
|
if (request.abortSignal && abortListener) {
|
|
10922
10922
|
let uploadStreamDone = Promise.resolve();
|
|
10923
10923
|
if (isReadableStream(body)) {
|
|
@@ -11085,13 +11085,13 @@ function createNodeHttpClient() {
|
|
|
11085
11085
|
}
|
|
11086
11086
|
__name(createNodeHttpClient, "createNodeHttpClient");
|
|
11087
11087
|
|
|
11088
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11088
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/defaultHttpClient.js
|
|
11089
11089
|
function createDefaultHttpClient() {
|
|
11090
11090
|
return createNodeHttpClient();
|
|
11091
11091
|
}
|
|
11092
11092
|
__name(createDefaultHttpClient, "createDefaultHttpClient");
|
|
11093
11093
|
|
|
11094
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11094
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/logPolicy.js
|
|
11095
11095
|
var logPolicyName = "logPolicy";
|
|
11096
11096
|
function logPolicy(options = {}) {
|
|
11097
11097
|
const logger4 = options.logger ?? logger.info;
|
|
@@ -11108,14 +11108,14 @@ function logPolicy(options = {}) {
|
|
|
11108
11108
|
logger4(`Request: ${sanitizer.sanitize(request)}`);
|
|
11109
11109
|
const response = await next(request);
|
|
11110
11110
|
logger4(`Response status code: ${response.status}`);
|
|
11111
|
-
logger4(`Headers: ${sanitizer.sanitize(response.headers)}`);
|
|
11111
|
+
logger4(`Headers: ${sanitizer.sanitize({ headers: response.headers })}`);
|
|
11112
11112
|
return response;
|
|
11113
11113
|
}
|
|
11114
11114
|
};
|
|
11115
11115
|
}
|
|
11116
11116
|
__name(logPolicy, "logPolicy");
|
|
11117
11117
|
|
|
11118
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11118
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/userAgentPlatform.js
|
|
11119
11119
|
import os from "node:os";
|
|
11120
11120
|
import process4 from "node:process";
|
|
11121
11121
|
function getHeaderName() {
|
|
@@ -11136,11 +11136,11 @@ async function setPlatformSpecificData(map) {
|
|
|
11136
11136
|
}
|
|
11137
11137
|
__name(setPlatformSpecificData, "setPlatformSpecificData");
|
|
11138
11138
|
|
|
11139
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11140
|
-
var SDK_VERSION = "0.3.
|
|
11139
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/constants.js
|
|
11140
|
+
var SDK_VERSION = "0.3.9";
|
|
11141
11141
|
var DEFAULT_RETRY_POLICY_COUNT = 3;
|
|
11142
11142
|
|
|
11143
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11143
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/userAgent.js
|
|
11144
11144
|
function getUserAgentString(telemetryInfo) {
|
|
11145
11145
|
const parts = [];
|
|
11146
11146
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -11164,7 +11164,7 @@ async function getUserAgentValue(prefix) {
|
|
|
11164
11164
|
}
|
|
11165
11165
|
__name(getUserAgentValue, "getUserAgentValue");
|
|
11166
11166
|
|
|
11167
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11167
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/userAgentPolicy.js
|
|
11168
11168
|
var UserAgentHeaderName = getUserAgentHeaderName();
|
|
11169
11169
|
var userAgentPolicyName = "userAgentPolicy";
|
|
11170
11170
|
function userAgentPolicy(options = {}) {
|
|
@@ -11181,7 +11181,7 @@ function userAgentPolicy(options = {}) {
|
|
|
11181
11181
|
}
|
|
11182
11182
|
__name(userAgentPolicy, "userAgentPolicy");
|
|
11183
11183
|
|
|
11184
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11184
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/random.js
|
|
11185
11185
|
function getRandomIntegerInclusive(min, max) {
|
|
11186
11186
|
min = Math.ceil(min);
|
|
11187
11187
|
max = Math.floor(max);
|
|
@@ -11190,7 +11190,7 @@ function getRandomIntegerInclusive(min, max) {
|
|
|
11190
11190
|
}
|
|
11191
11191
|
__name(getRandomIntegerInclusive, "getRandomIntegerInclusive");
|
|
11192
11192
|
|
|
11193
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11193
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/delay.js
|
|
11194
11194
|
function calculateRetryDelay(retryAttempt, config) {
|
|
11195
11195
|
const exponentialDelay = config.retryDelayInMs * Math.pow(2, retryAttempt);
|
|
11196
11196
|
const clampedDelay = Math.min(config.maxRetryDelayInMs, exponentialDelay);
|
|
@@ -11199,7 +11199,7 @@ function calculateRetryDelay(retryAttempt, config) {
|
|
|
11199
11199
|
}
|
|
11200
11200
|
__name(calculateRetryDelay, "calculateRetryDelay");
|
|
11201
11201
|
|
|
11202
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11202
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/helpers.js
|
|
11203
11203
|
var StandardAbortMessage = "The operation was aborted.";
|
|
11204
11204
|
function delay(delayInMs, value, options) {
|
|
11205
11205
|
return new Promise((resolve, reject) => {
|
|
@@ -11244,7 +11244,7 @@ function parseHeaderValueAsNumber(response, headerName) {
|
|
|
11244
11244
|
}
|
|
11245
11245
|
__name(parseHeaderValueAsNumber, "parseHeaderValueAsNumber");
|
|
11246
11246
|
|
|
11247
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11247
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/retryStrategies/throttlingRetryStrategy.js
|
|
11248
11248
|
var RetryAfterHeader = "Retry-After";
|
|
11249
11249
|
var AllRetryAfterHeaders = ["retry-after-ms", "x-ms-retry-after-ms", RetryAfterHeader];
|
|
11250
11250
|
function getRetryAfterInMs(response) {
|
|
@@ -11289,7 +11289,7 @@ function throttlingRetryStrategy() {
|
|
|
11289
11289
|
}
|
|
11290
11290
|
__name(throttlingRetryStrategy, "throttlingRetryStrategy");
|
|
11291
11291
|
|
|
11292
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11292
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/retryStrategies/exponentialRetryStrategy.js
|
|
11293
11293
|
var DEFAULT_CLIENT_RETRY_INTERVAL = 1e3;
|
|
11294
11294
|
var DEFAULT_CLIENT_MAX_RETRY_INTERVAL = 1e3 * 64;
|
|
11295
11295
|
function exponentialRetryStrategy(options = {}) {
|
|
@@ -11329,7 +11329,7 @@ function isSystemError(err) {
|
|
|
11329
11329
|
}
|
|
11330
11330
|
__name(isSystemError, "isSystemError");
|
|
11331
11331
|
|
|
11332
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11332
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/retryPolicy.js
|
|
11333
11333
|
var retryPolicyLogger = createClientLogger("ts-http-runtime retryPolicy");
|
|
11334
11334
|
var retryPolicyName = "retryPolicy";
|
|
11335
11335
|
function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_COUNT }) {
|
|
@@ -11342,7 +11342,6 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11342
11342
|
let retryCount = -1;
|
|
11343
11343
|
retryRequest: while (true) {
|
|
11344
11344
|
retryCount += 1;
|
|
11345
|
-
response = void 0;
|
|
11346
11345
|
responseError = void 0;
|
|
11347
11346
|
try {
|
|
11348
11347
|
logger4.info(`Retry ${retryCount}: Attempting to send request`, request.requestId);
|
|
@@ -11414,7 +11413,7 @@ function retryPolicy(strategies, options = { maxRetries: DEFAULT_RETRY_POLICY_CO
|
|
|
11414
11413
|
}
|
|
11415
11414
|
__name(retryPolicy, "retryPolicy");
|
|
11416
11415
|
|
|
11417
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11416
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/defaultRetryPolicy.js
|
|
11418
11417
|
var defaultRetryPolicyName = "defaultRetryPolicy";
|
|
11419
11418
|
function defaultRetryPolicy(options = {}) {
|
|
11420
11419
|
return {
|
|
@@ -11426,7 +11425,7 @@ function defaultRetryPolicy(options = {}) {
|
|
|
11426
11425
|
}
|
|
11427
11426
|
__name(defaultRetryPolicy, "defaultRetryPolicy");
|
|
11428
11427
|
|
|
11429
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11428
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/formData.js
|
|
11430
11429
|
function convertBodyToFormDataMap(body) {
|
|
11431
11430
|
if (typeof FormData !== "undefined" && body instanceof FormData) {
|
|
11432
11431
|
const formDataMap = {};
|
|
@@ -11444,7 +11443,7 @@ function convertBodyToFormDataMap(body) {
|
|
|
11444
11443
|
}
|
|
11445
11444
|
__name(convertBodyToFormDataMap, "convertBodyToFormDataMap");
|
|
11446
11445
|
|
|
11447
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11446
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/formDataPolicy.js
|
|
11448
11447
|
var formDataPolicyName = "formDataPolicy";
|
|
11449
11448
|
function formDataPolicy() {
|
|
11450
11449
|
return {
|
|
@@ -11517,7 +11516,7 @@ async function prepareFormData(formData, request) {
|
|
|
11517
11516
|
}
|
|
11518
11517
|
__name(prepareFormData, "prepareFormData");
|
|
11519
11518
|
|
|
11520
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11519
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/agentPolicy.js
|
|
11521
11520
|
var agentPolicyName = "agentPolicy";
|
|
11522
11521
|
function agentPolicy(agent) {
|
|
11523
11522
|
return {
|
|
@@ -11532,7 +11531,7 @@ function agentPolicy(agent) {
|
|
|
11532
11531
|
}
|
|
11533
11532
|
__name(agentPolicy, "agentPolicy");
|
|
11534
11533
|
|
|
11535
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11534
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/tlsPolicy.js
|
|
11536
11535
|
var tlsPolicyName = "tlsPolicy";
|
|
11537
11536
|
function tlsPolicy(tlsSettings) {
|
|
11538
11537
|
return {
|
|
@@ -11547,7 +11546,7 @@ function tlsPolicy(tlsSettings) {
|
|
|
11547
11546
|
}
|
|
11548
11547
|
__name(tlsPolicy, "tlsPolicy");
|
|
11549
11548
|
|
|
11550
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11549
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/proxyPolicy.js
|
|
11551
11550
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
11552
11551
|
var import_http_proxy_agent = __toESM(require_dist3(), 1);
|
|
11553
11552
|
var HTTPS_PROXY = "HTTPS_PROXY";
|
|
@@ -11678,7 +11677,7 @@ function proxyPolicy(proxySettings, options) {
|
|
|
11678
11677
|
}
|
|
11679
11678
|
__name(proxyPolicy, "proxyPolicy");
|
|
11680
11679
|
|
|
11681
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11680
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/decompressResponsePolicy.js
|
|
11682
11681
|
var decompressResponsePolicyName = "decompressResponsePolicy";
|
|
11683
11682
|
function decompressResponsePolicy() {
|
|
11684
11683
|
return {
|
|
@@ -11693,7 +11692,7 @@ function decompressResponsePolicy() {
|
|
|
11693
11692
|
}
|
|
11694
11693
|
__name(decompressResponsePolicy, "decompressResponsePolicy");
|
|
11695
11694
|
|
|
11696
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11695
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/redirectPolicy.js
|
|
11697
11696
|
var redirectPolicyName = "redirectPolicy";
|
|
11698
11697
|
var allowedRedirect = ["GET", "HEAD"];
|
|
11699
11698
|
function redirectPolicy(options = {}) {
|
|
@@ -11733,7 +11732,7 @@ async function handleRedirect(next, response, maxRetries, allowCrossOriginRedire
|
|
|
11733
11732
|
}
|
|
11734
11733
|
__name(handleRedirect, "handleRedirect");
|
|
11735
11734
|
|
|
11736
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11735
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/platformPolicies.js
|
|
11737
11736
|
function addPlatformPolicies(pipeline, options) {
|
|
11738
11737
|
if (options.agent) {
|
|
11739
11738
|
pipeline.addPolicy(agentPolicy(options.agent));
|
|
@@ -11747,7 +11746,7 @@ function addPlatformPolicies(pipeline, options) {
|
|
|
11747
11746
|
}
|
|
11748
11747
|
__name(addPlatformPolicies, "addPlatformPolicies");
|
|
11749
11748
|
|
|
11750
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11749
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/typeGuards-node.js
|
|
11751
11750
|
import { Readable } from "stream";
|
|
11752
11751
|
function isNodeReadableStream(x) {
|
|
11753
11752
|
return x instanceof Readable;
|
|
@@ -11758,7 +11757,7 @@ function isWebReadableStream(x) {
|
|
|
11758
11757
|
}
|
|
11759
11758
|
__name(isWebReadableStream, "isWebReadableStream");
|
|
11760
11759
|
|
|
11761
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11760
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/typeGuards.js
|
|
11762
11761
|
function isBinaryBody(body) {
|
|
11763
11762
|
return body !== void 0 && (body instanceof Uint8Array || isReadableStream2(body) || typeof body === "function" || body instanceof Blob);
|
|
11764
11763
|
}
|
|
@@ -11772,7 +11771,7 @@ function isBlob(x) {
|
|
|
11772
11771
|
}
|
|
11773
11772
|
__name(isBlob, "isBlob");
|
|
11774
11773
|
|
|
11775
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11774
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/util/concat.js
|
|
11776
11775
|
import { Readable as Readable2 } from "stream";
|
|
11777
11776
|
async function* streamAsyncIterator() {
|
|
11778
11777
|
const reader = this.getReader();
|
|
@@ -11831,7 +11830,7 @@ async function concat(sources) {
|
|
|
11831
11830
|
}
|
|
11832
11831
|
__name(concat, "concat");
|
|
11833
11832
|
|
|
11834
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11833
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/multipartPolicy.js
|
|
11835
11834
|
function generateBoundary() {
|
|
11836
11835
|
return `----AzSDKFormBoundary${randomUUID()}`;
|
|
11837
11836
|
}
|
|
@@ -11935,7 +11934,7 @@ function multipartPolicy() {
|
|
|
11935
11934
|
}
|
|
11936
11935
|
__name(multipartPolicy, "multipartPolicy");
|
|
11937
11936
|
|
|
11938
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11937
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/createPipelineFromOptions.js
|
|
11939
11938
|
function createPipelineFromOptions(options) {
|
|
11940
11939
|
const pipeline = createEmptyPipeline();
|
|
11941
11940
|
addPlatformPolicies(pipeline, options);
|
|
@@ -11948,7 +11947,7 @@ function createPipelineFromOptions(options) {
|
|
|
11948
11947
|
}
|
|
11949
11948
|
__name(createPipelineFromOptions, "createPipelineFromOptions");
|
|
11950
11949
|
|
|
11951
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11950
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/apiVersionPolicy.js
|
|
11952
11951
|
var apiVersionPolicyName = "ApiVersionPolicy";
|
|
11953
11952
|
function apiVersionPolicy(options) {
|
|
11954
11953
|
return {
|
|
@@ -11964,7 +11963,7 @@ function apiVersionPolicy(options) {
|
|
|
11964
11963
|
}
|
|
11965
11964
|
__name(apiVersionPolicy, "apiVersionPolicy");
|
|
11966
11965
|
|
|
11967
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11966
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/auth/credentials.js
|
|
11968
11967
|
function isOAuth2TokenCredential(credential) {
|
|
11969
11968
|
return "getOAuth2Token" in credential;
|
|
11970
11969
|
}
|
|
@@ -11982,7 +11981,7 @@ function isApiKeyCredential(credential) {
|
|
|
11982
11981
|
}
|
|
11983
11982
|
__name(isApiKeyCredential, "isApiKeyCredential");
|
|
11984
11983
|
|
|
11985
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
11984
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/checkInsecureConnection.js
|
|
11986
11985
|
var insecureConnectionWarningEmmitted = false;
|
|
11987
11986
|
function allowInsecureConnection(request, options) {
|
|
11988
11987
|
if (options.allowInsecureConnection && request.allowInsecureConnection) {
|
|
@@ -12014,7 +12013,7 @@ function ensureSecureConnection(request, options) {
|
|
|
12014
12013
|
}
|
|
12015
12014
|
__name(ensureSecureConnection, "ensureSecureConnection");
|
|
12016
12015
|
|
|
12017
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12016
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/apiKeyAuthenticationPolicy.js
|
|
12018
12017
|
var apiKeyAuthenticationPolicyName = "apiKeyAuthenticationPolicy";
|
|
12019
12018
|
function apiKeyAuthenticationPolicy(options) {
|
|
12020
12019
|
return {
|
|
@@ -12035,7 +12034,7 @@ function apiKeyAuthenticationPolicy(options) {
|
|
|
12035
12034
|
}
|
|
12036
12035
|
__name(apiKeyAuthenticationPolicy, "apiKeyAuthenticationPolicy");
|
|
12037
12036
|
|
|
12038
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12037
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/basicAuthenticationPolicy.js
|
|
12039
12038
|
var basicAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12040
12039
|
function basicAuthenticationPolicy(options) {
|
|
12041
12040
|
return {
|
|
@@ -12055,7 +12054,7 @@ function basicAuthenticationPolicy(options) {
|
|
|
12055
12054
|
}
|
|
12056
12055
|
__name(basicAuthenticationPolicy, "basicAuthenticationPolicy");
|
|
12057
12056
|
|
|
12058
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12057
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/bearerAuthenticationPolicy.js
|
|
12059
12058
|
var bearerAuthenticationPolicyName = "bearerAuthenticationPolicy";
|
|
12060
12059
|
function bearerAuthenticationPolicy(options) {
|
|
12061
12060
|
return {
|
|
@@ -12076,7 +12075,7 @@ function bearerAuthenticationPolicy(options) {
|
|
|
12076
12075
|
}
|
|
12077
12076
|
__name(bearerAuthenticationPolicy, "bearerAuthenticationPolicy");
|
|
12078
12077
|
|
|
12079
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12078
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/policies/auth/oauth2AuthenticationPolicy.js
|
|
12080
12079
|
var oauth2AuthenticationPolicyName = "oauth2AuthenticationPolicy";
|
|
12081
12080
|
function oauth2AuthenticationPolicy(options) {
|
|
12082
12081
|
return {
|
|
@@ -12097,7 +12096,7 @@ function oauth2AuthenticationPolicy(options) {
|
|
|
12097
12096
|
}
|
|
12098
12097
|
__name(oauth2AuthenticationPolicy, "oauth2AuthenticationPolicy");
|
|
12099
12098
|
|
|
12100
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12099
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/clientHelpers.js
|
|
12101
12100
|
var cachedHttpClient;
|
|
12102
12101
|
function createDefaultPipeline(options = {}) {
|
|
12103
12102
|
const pipeline = createPipelineFromOptions(options);
|
|
@@ -12125,7 +12124,7 @@ function getCachedDefaultHttpsClient() {
|
|
|
12125
12124
|
}
|
|
12126
12125
|
__name(getCachedDefaultHttpsClient, "getCachedDefaultHttpsClient");
|
|
12127
12126
|
|
|
12128
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12127
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/multipart.js
|
|
12129
12128
|
function getHeaderValue(descriptor, headerName) {
|
|
12130
12129
|
if (descriptor.headers) {
|
|
12131
12130
|
const actualHeaderName = Object.keys(descriptor.headers).find((x) => x.toLowerCase() === headerName.toLowerCase());
|
|
@@ -12233,7 +12232,7 @@ function buildMultipartBody(parts) {
|
|
|
12233
12232
|
}
|
|
12234
12233
|
__name(buildMultipartBody, "buildMultipartBody");
|
|
12235
12234
|
|
|
12236
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12235
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/sendRequest.js
|
|
12237
12236
|
async function sendRequest(method, url2, pipeline, options = {}, customHttpClient) {
|
|
12238
12237
|
const httpClient = customHttpClient ?? getCachedDefaultHttpsClient();
|
|
12239
12238
|
const request = buildPipelineRequest(method, url2, options);
|
|
@@ -12297,14 +12296,15 @@ __name(getContentType, "getContentType");
|
|
|
12297
12296
|
function buildPipelineRequest(method, url2, options = {}) {
|
|
12298
12297
|
const requestContentType = getRequestContentType(options);
|
|
12299
12298
|
const { body, multipartBody } = getRequestBody(options.body, requestContentType);
|
|
12299
|
+
const accept = options.accept ?? options.headers?.accept ?? (options.noDefaultAcceptHeader ? void 0 : "application/json");
|
|
12300
12300
|
const headers = createHttpHeaders({
|
|
12301
12301
|
...options.headers ? options.headers : {},
|
|
12302
|
-
accept
|
|
12302
|
+
...accept !== void 0 && { accept },
|
|
12303
12303
|
...requestContentType && {
|
|
12304
12304
|
"content-type": requestContentType
|
|
12305
12305
|
}
|
|
12306
12306
|
});
|
|
12307
|
-
const { allowInsecureConnection: allowInsecureConnection2, abortSignal, onUploadProgress, onDownloadProgress, timeout, responseAsStream, url: _url, method: _method, body: _body, multipartBody: _multiBody, headers: _headers, ...rest } = options;
|
|
12307
|
+
const { allowInsecureConnection: allowInsecureConnection2, abortSignal, onUploadProgress, onDownloadProgress, timeout, responseAsStream, noDefaultAcceptHeader: _noDefaultAcceptHeader, url: _url, method: _method, body: _body, multipartBody: _multiBody, headers: _headers, ...rest } = options;
|
|
12308
12308
|
const request = createPipelineRequest({
|
|
12309
12309
|
url: url2,
|
|
12310
12310
|
method,
|
|
@@ -12392,7 +12392,7 @@ function createParseError(response, err) {
|
|
|
12392
12392
|
}
|
|
12393
12393
|
__name(createParseError, "createParseError");
|
|
12394
12394
|
|
|
12395
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12395
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/urlHelpers.js
|
|
12396
12396
|
function isQueryParameterWithOptions(x) {
|
|
12397
12397
|
if (typeof x !== "object" || x === null || !Object.hasOwn(x, "value")) {
|
|
12398
12398
|
return false;
|
|
@@ -12591,7 +12591,7 @@ function replaceAll(value, searchValue, replaceValue) {
|
|
|
12591
12591
|
}
|
|
12592
12592
|
__name(replaceAll, "replaceAll");
|
|
12593
12593
|
|
|
12594
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12594
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/getClient.js
|
|
12595
12595
|
function getClient(endpoint, clientOptions = {}) {
|
|
12596
12596
|
const pipeline = clientOptions.pipeline ?? createDefaultPipeline(clientOptions);
|
|
12597
12597
|
if (clientOptions.additionalPolicies?.length) {
|
|
@@ -12602,34 +12602,35 @@ function getClient(endpoint, clientOptions = {}) {
|
|
|
12602
12602
|
});
|
|
12603
12603
|
}
|
|
12604
12604
|
}
|
|
12605
|
+
const noDefaultAcceptHeader = clientOptions.internal?.noDefaultAcceptHeader ?? false;
|
|
12605
12606
|
const { allowInsecureConnection: allowInsecureConnection2, httpClient } = clientOptions;
|
|
12606
12607
|
const endpointUrl = clientOptions.endpoint ?? endpoint;
|
|
12607
12608
|
const client = /* @__PURE__ */ __name((path, ...args) => {
|
|
12608
12609
|
const getUrl2 = /* @__PURE__ */ __name((requestOptions) => buildRequestUrl(endpointUrl, path, args, { allowInsecureConnection: allowInsecureConnection2, ...requestOptions }), "getUrl");
|
|
12609
12610
|
return {
|
|
12610
12611
|
get: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12611
|
-
return buildOperation("GET", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12612
|
+
return buildOperation("GET", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12612
12613
|
}, "get"),
|
|
12613
12614
|
post: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12614
|
-
return buildOperation("POST", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12615
|
+
return buildOperation("POST", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12615
12616
|
}, "post"),
|
|
12616
12617
|
put: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12617
|
-
return buildOperation("PUT", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12618
|
+
return buildOperation("PUT", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12618
12619
|
}, "put"),
|
|
12619
12620
|
patch: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12620
|
-
return buildOperation("PATCH", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12621
|
+
return buildOperation("PATCH", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12621
12622
|
}, "patch"),
|
|
12622
12623
|
delete: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12623
|
-
return buildOperation("DELETE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12624
|
+
return buildOperation("DELETE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12624
12625
|
}, "delete"),
|
|
12625
12626
|
head: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12626
|
-
return buildOperation("HEAD", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12627
|
+
return buildOperation("HEAD", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12627
12628
|
}, "head"),
|
|
12628
12629
|
options: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12629
|
-
return buildOperation("OPTIONS", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12630
|
+
return buildOperation("OPTIONS", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12630
12631
|
}, "options"),
|
|
12631
12632
|
trace: /* @__PURE__ */ __name((requestOptions = {}) => {
|
|
12632
|
-
return buildOperation("TRACE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient);
|
|
12633
|
+
return buildOperation("TRACE", getUrl2(requestOptions), pipeline, requestOptions, allowInsecureConnection2, httpClient, noDefaultAcceptHeader);
|
|
12633
12634
|
}, "trace")
|
|
12634
12635
|
};
|
|
12635
12636
|
}, "client");
|
|
@@ -12640,22 +12641,22 @@ function getClient(endpoint, clientOptions = {}) {
|
|
|
12640
12641
|
};
|
|
12641
12642
|
}
|
|
12642
12643
|
__name(getClient, "getClient");
|
|
12643
|
-
function buildOperation(method, url2, pipeline, options, allowInsecureConnection2, httpClient) {
|
|
12644
|
+
function buildOperation(method, url2, pipeline, options, allowInsecureConnection2, httpClient, noDefaultAcceptHeader = false) {
|
|
12644
12645
|
allowInsecureConnection2 = options.allowInsecureConnection ?? allowInsecureConnection2;
|
|
12645
12646
|
return {
|
|
12646
12647
|
then: /* @__PURE__ */ __name(function(onFulfilled, onrejected) {
|
|
12647
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2 }, httpClient).then(onFulfilled, onrejected);
|
|
12648
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader }, httpClient).then(onFulfilled, onrejected);
|
|
12648
12649
|
}, "then"),
|
|
12649
12650
|
async asBrowserStream() {
|
|
12650
12651
|
if (isNodeLike) {
|
|
12651
12652
|
throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.");
|
|
12652
12653
|
} else {
|
|
12653
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, responseAsStream: true }, httpClient);
|
|
12654
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader, responseAsStream: true }, httpClient);
|
|
12654
12655
|
}
|
|
12655
12656
|
},
|
|
12656
12657
|
async asNodeStream() {
|
|
12657
12658
|
if (isNodeLike) {
|
|
12658
|
-
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, responseAsStream: true }, httpClient);
|
|
12659
|
+
return sendRequest(method, url2, pipeline, { ...options, allowInsecureConnection: allowInsecureConnection2, noDefaultAcceptHeader, responseAsStream: true }, httpClient);
|
|
12659
12660
|
} else {
|
|
12660
12661
|
throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.");
|
|
12661
12662
|
}
|
|
@@ -12664,7 +12665,7 @@ function buildOperation(method, url2, pipeline, options, allowInsecureConnection
|
|
|
12664
12665
|
}
|
|
12665
12666
|
__name(buildOperation, "buildOperation");
|
|
12666
12667
|
|
|
12667
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12668
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/operationOptionHelpers.js
|
|
12668
12669
|
function operationOptionsToRequestParameters(options) {
|
|
12669
12670
|
return {
|
|
12670
12671
|
allowInsecureConnection: options.requestOptions?.allowInsecureConnection,
|
|
@@ -12679,7 +12680,7 @@ function operationOptionsToRequestParameters(options) {
|
|
|
12679
12680
|
}
|
|
12680
12681
|
__name(operationOptionsToRequestParameters, "operationOptionsToRequestParameters");
|
|
12681
12682
|
|
|
12682
|
-
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.
|
|
12683
|
+
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.9-2100b4641d/package/dist/esm/client/restError.js
|
|
12683
12684
|
function createRestError(messageOrResponse, response) {
|
|
12684
12685
|
const resp = typeof messageOrResponse === "string" ? response : messageOrResponse;
|
|
12685
12686
|
const internalError = resp.body?.error ?? resp.body;
|
|
@@ -12707,7 +12708,7 @@ function statusCodeToNumber(statusCode) {
|
|
|
12707
12708
|
}
|
|
12708
12709
|
__name(statusCodeToNumber, "statusCodeToNumber");
|
|
12709
12710
|
|
|
12710
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12711
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/pipeline.js
|
|
12711
12712
|
function createEmptyPipeline2() {
|
|
12712
12713
|
return createEmptyPipeline();
|
|
12713
12714
|
}
|
|
@@ -12724,10 +12725,10 @@ function createClientLogger2(namespace) {
|
|
|
12724
12725
|
}
|
|
12725
12726
|
__name(createClientLogger2, "createClientLogger");
|
|
12726
12727
|
|
|
12727
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12728
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/log.js
|
|
12728
12729
|
var logger2 = createClientLogger2("core-rest-pipeline");
|
|
12729
12730
|
|
|
12730
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12731
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/logPolicy.js
|
|
12731
12732
|
function logPolicy2(options = {}) {
|
|
12732
12733
|
return logPolicy({
|
|
12733
12734
|
logger: logger2.info,
|
|
@@ -12736,14 +12737,14 @@ function logPolicy2(options = {}) {
|
|
|
12736
12737
|
}
|
|
12737
12738
|
__name(logPolicy2, "logPolicy");
|
|
12738
12739
|
|
|
12739
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12740
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/redirectPolicy.js
|
|
12740
12741
|
var redirectPolicyName2 = redirectPolicyName;
|
|
12741
12742
|
function redirectPolicy2(options = {}) {
|
|
12742
12743
|
return redirectPolicy(options);
|
|
12743
12744
|
}
|
|
12744
12745
|
__name(redirectPolicy2, "redirectPolicy");
|
|
12745
12746
|
|
|
12746
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12747
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/userAgentPlatform.js
|
|
12747
12748
|
import os2 from "node:os";
|
|
12748
12749
|
import process5 from "node:process";
|
|
12749
12750
|
function getHeaderName2() {
|
|
@@ -12764,10 +12765,10 @@ async function setPlatformSpecificData2(map) {
|
|
|
12764
12765
|
}
|
|
12765
12766
|
__name(setPlatformSpecificData2, "setPlatformSpecificData");
|
|
12766
12767
|
|
|
12767
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12768
|
-
var SDK_VERSION2 = "1.
|
|
12768
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/constants.js
|
|
12769
|
+
var SDK_VERSION2 = "1.25.0";
|
|
12769
12770
|
|
|
12770
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12771
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/userAgent.js
|
|
12771
12772
|
function getUserAgentString2(telemetryInfo) {
|
|
12772
12773
|
const parts = [];
|
|
12773
12774
|
for (const [key, value] of telemetryInfo) {
|
|
@@ -12791,7 +12792,7 @@ async function getUserAgentValue2(prefix) {
|
|
|
12791
12792
|
}
|
|
12792
12793
|
__name(getUserAgentValue2, "getUserAgentValue");
|
|
12793
12794
|
|
|
12794
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12795
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/userAgentPolicy.js
|
|
12795
12796
|
var UserAgentHeaderName2 = getUserAgentHeaderName2();
|
|
12796
12797
|
var userAgentPolicyName2 = "userAgentPolicy";
|
|
12797
12798
|
function userAgentPolicy2(options = {}) {
|
|
@@ -12808,7 +12809,7 @@ function userAgentPolicy2(options = {}) {
|
|
|
12808
12809
|
}
|
|
12809
12810
|
__name(userAgentPolicy2, "userAgentPolicy");
|
|
12810
12811
|
|
|
12811
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12812
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/file.js
|
|
12812
12813
|
var rawContent = /* @__PURE__ */ Symbol("rawContent");
|
|
12813
12814
|
function hasRawContent(x) {
|
|
12814
12815
|
return typeof x[rawContent] === "function";
|
|
@@ -12823,7 +12824,7 @@ function getRawContent(blob) {
|
|
|
12823
12824
|
}
|
|
12824
12825
|
__name(getRawContent, "getRawContent");
|
|
12825
12826
|
|
|
12826
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12827
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/multipartPolicy.js
|
|
12827
12828
|
var multipartPolicyName2 = multipartPolicyName;
|
|
12828
12829
|
function multipartPolicy2() {
|
|
12829
12830
|
const tspPolicy = multipartPolicy();
|
|
@@ -12843,25 +12844,25 @@ function multipartPolicy2() {
|
|
|
12843
12844
|
}
|
|
12844
12845
|
__name(multipartPolicy2, "multipartPolicy");
|
|
12845
12846
|
|
|
12846
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12847
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/decompressResponsePolicy.js
|
|
12847
12848
|
function decompressResponsePolicy2() {
|
|
12848
12849
|
return decompressResponsePolicy();
|
|
12849
12850
|
}
|
|
12850
12851
|
__name(decompressResponsePolicy2, "decompressResponsePolicy");
|
|
12851
12852
|
|
|
12852
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12853
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/defaultRetryPolicy.js
|
|
12853
12854
|
function defaultRetryPolicy2(options = {}) {
|
|
12854
12855
|
return defaultRetryPolicy(options);
|
|
12855
12856
|
}
|
|
12856
12857
|
__name(defaultRetryPolicy2, "defaultRetryPolicy");
|
|
12857
12858
|
|
|
12858
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12859
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/formDataPolicy.js
|
|
12859
12860
|
function formDataPolicy2() {
|
|
12860
12861
|
return formDataPolicy();
|
|
12861
12862
|
}
|
|
12862
12863
|
__name(formDataPolicy2, "formDataPolicy");
|
|
12863
12864
|
|
|
12864
|
-
// ../../node_modules/.store/@azure-abort-controller-npm-2.
|
|
12865
|
+
// ../../node_modules/.store/@azure-abort-controller-npm-2.2.0-fa90a83fc2/package/dist/esm/AbortError.js
|
|
12865
12866
|
var AbortError2 = class extends Error {
|
|
12866
12867
|
static {
|
|
12867
12868
|
__name(this, "AbortError");
|
|
@@ -12872,7 +12873,7 @@ var AbortError2 = class extends Error {
|
|
|
12872
12873
|
}
|
|
12873
12874
|
};
|
|
12874
12875
|
|
|
12875
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12876
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/createAbortablePromise.js
|
|
12876
12877
|
function createAbortablePromise(buildPromise, options) {
|
|
12877
12878
|
const { cleanupBeforeAbort, abortSignal, abortErrorMsg } = options ?? {};
|
|
12878
12879
|
return new Promise((resolve, reject) => {
|
|
@@ -12909,7 +12910,7 @@ function createAbortablePromise(buildPromise, options) {
|
|
|
12909
12910
|
}
|
|
12910
12911
|
__name(createAbortablePromise, "createAbortablePromise");
|
|
12911
12912
|
|
|
12912
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12913
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/delay.js
|
|
12913
12914
|
var StandardAbortMessage2 = "The delay was aborted.";
|
|
12914
12915
|
function delay2(timeInMs, options) {
|
|
12915
12916
|
let token;
|
|
@@ -12924,7 +12925,7 @@ function delay2(timeInMs, options) {
|
|
|
12924
12925
|
}
|
|
12925
12926
|
__name(delay2, "delay");
|
|
12926
12927
|
|
|
12927
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12928
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/error.js
|
|
12928
12929
|
function getErrorMessage(e) {
|
|
12929
12930
|
if (isError(e)) {
|
|
12930
12931
|
return e.message;
|
|
@@ -12944,7 +12945,7 @@ function getErrorMessage(e) {
|
|
|
12944
12945
|
}
|
|
12945
12946
|
__name(getErrorMessage, "getErrorMessage");
|
|
12946
12947
|
|
|
12947
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12948
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/typeGuards.js
|
|
12948
12949
|
function isDefined(thing) {
|
|
12949
12950
|
return typeof thing !== "undefined" && thing !== null;
|
|
12950
12951
|
}
|
|
@@ -12966,7 +12967,7 @@ function objectHasProperty(thing, property) {
|
|
|
12966
12967
|
}
|
|
12967
12968
|
__name(objectHasProperty, "objectHasProperty");
|
|
12968
12969
|
|
|
12969
|
-
// ../../node_modules/.store/@azure-core-util-npm-1.
|
|
12970
|
+
// ../../node_modules/.store/@azure-core-util-npm-1.14.0-7c87866458/package/dist/esm/index.js
|
|
12970
12971
|
function isError2(e) {
|
|
12971
12972
|
return isError(e);
|
|
12972
12973
|
}
|
|
@@ -12981,13 +12982,13 @@ function stringToUint8Array2(value, format) {
|
|
|
12981
12982
|
}
|
|
12982
12983
|
__name(stringToUint8Array2, "stringToUint8Array");
|
|
12983
12984
|
|
|
12984
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12985
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/proxyPolicy.js
|
|
12985
12986
|
function proxyPolicy2(proxySettings, options) {
|
|
12986
12987
|
return proxyPolicy(proxySettings, options);
|
|
12987
12988
|
}
|
|
12988
12989
|
__name(proxyPolicy2, "proxyPolicy");
|
|
12989
12990
|
|
|
12990
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
12991
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/setClientRequestIdPolicy.js
|
|
12991
12992
|
var setClientRequestIdPolicyName = "setClientRequestIdPolicy";
|
|
12992
12993
|
function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id") {
|
|
12993
12994
|
return {
|
|
@@ -13002,19 +13003,19 @@ function setClientRequestIdPolicy(requestIdHeaderName = "x-ms-client-request-id"
|
|
|
13002
13003
|
}
|
|
13003
13004
|
__name(setClientRequestIdPolicy, "setClientRequestIdPolicy");
|
|
13004
13005
|
|
|
13005
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13006
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/agentPolicy.js
|
|
13006
13007
|
function agentPolicy2(agent) {
|
|
13007
13008
|
return agentPolicy(agent);
|
|
13008
13009
|
}
|
|
13009
13010
|
__name(agentPolicy2, "agentPolicy");
|
|
13010
13011
|
|
|
13011
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13012
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/tlsPolicy.js
|
|
13012
13013
|
function tlsPolicy2(tlsSettings) {
|
|
13013
13014
|
return tlsPolicy(tlsSettings);
|
|
13014
13015
|
}
|
|
13015
13016
|
__name(tlsPolicy2, "tlsPolicy");
|
|
13016
13017
|
|
|
13017
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13018
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/tracingContext.js
|
|
13018
13019
|
var knownContextKeys = {
|
|
13019
13020
|
span: /* @__PURE__ */ Symbol.for("@azure/core-tracing span"),
|
|
13020
13021
|
namespace: /* @__PURE__ */ Symbol.for("@azure/core-tracing namespace")
|
|
@@ -13053,11 +13054,11 @@ var TracingContextImpl = class _TracingContextImpl {
|
|
|
13053
13054
|
}
|
|
13054
13055
|
};
|
|
13055
13056
|
|
|
13056
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13057
|
-
var
|
|
13058
|
-
var state =
|
|
13057
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/state.js
|
|
13058
|
+
var import_state_cjs = __toESM(require_state_cjs(), 1);
|
|
13059
|
+
var state = import_state_cjs.state;
|
|
13059
13060
|
|
|
13060
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13061
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/instrumenter.js
|
|
13061
13062
|
function createDefaultTracingSpan() {
|
|
13062
13063
|
return {
|
|
13063
13064
|
end: /* @__PURE__ */ __name(() => {
|
|
@@ -13102,7 +13103,7 @@ function getInstrumenter() {
|
|
|
13102
13103
|
}
|
|
13103
13104
|
__name(getInstrumenter, "getInstrumenter");
|
|
13104
13105
|
|
|
13105
|
-
// ../../node_modules/.store/@azure-core-tracing-npm-1.
|
|
13106
|
+
// ../../node_modules/.store/@azure-core-tracing-npm-1.4.0-28af778785/package/dist/esm/tracingClient.js
|
|
13106
13107
|
function createTracingClient(options) {
|
|
13107
13108
|
const { namespace, packageName, packageVersion: packageVersion2 } = options;
|
|
13108
13109
|
function startSpan(name, operationOptions, spanOptions) {
|
|
@@ -13130,7 +13131,7 @@ function createTracingClient(options) {
|
|
|
13130
13131
|
async function withSpan(name, operationOptions, callback, spanOptions) {
|
|
13131
13132
|
const { span, updatedOptions } = startSpan(name, operationOptions, spanOptions);
|
|
13132
13133
|
try {
|
|
13133
|
-
const result = await withContext(updatedOptions.tracingOptions.tracingContext, () =>
|
|
13134
|
+
const result = await withContext(updatedOptions.tracingOptions.tracingContext, () => callback(updatedOptions, span));
|
|
13134
13135
|
span.setStatus({ status: "success" });
|
|
13135
13136
|
return result;
|
|
13136
13137
|
} catch (err) {
|
|
@@ -13163,13 +13164,13 @@ function createTracingClient(options) {
|
|
|
13163
13164
|
}
|
|
13164
13165
|
__name(createTracingClient, "createTracingClient");
|
|
13165
13166
|
|
|
13166
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13167
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/restError.js
|
|
13167
13168
|
function isRestError2(e) {
|
|
13168
13169
|
return isRestError(e);
|
|
13169
13170
|
}
|
|
13170
13171
|
__name(isRestError2, "isRestError");
|
|
13171
13172
|
|
|
13172
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13173
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/tracingPolicy.js
|
|
13173
13174
|
var tracingPolicyName = "tracingPolicy";
|
|
13174
13175
|
function tracingPolicy(options = {}) {
|
|
13175
13176
|
const userAgentPromise = getUserAgentValue2(options.userAgentPrefix);
|
|
@@ -13277,7 +13278,7 @@ function tryProcessResponse(span, response) {
|
|
|
13277
13278
|
}
|
|
13278
13279
|
__name(tryProcessResponse, "tryProcessResponse");
|
|
13279
13280
|
|
|
13280
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13281
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/wrapAbortSignal.js
|
|
13281
13282
|
function wrapAbortSignalLike(abortSignalLike) {
|
|
13282
13283
|
if (abortSignalLike instanceof AbortSignal) {
|
|
13283
13284
|
return { abortSignal: abortSignalLike };
|
|
@@ -13306,7 +13307,7 @@ function wrapAbortSignalLike(abortSignalLike) {
|
|
|
13306
13307
|
}
|
|
13307
13308
|
__name(wrapAbortSignalLike, "wrapAbortSignalLike");
|
|
13308
13309
|
|
|
13309
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13310
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/wrapAbortSignalLikePolicy.js
|
|
13310
13311
|
var wrapAbortSignalLikePolicyName = "wrapAbortSignalLikePolicy";
|
|
13311
13312
|
function wrapAbortSignalLikePolicy() {
|
|
13312
13313
|
return {
|
|
@@ -13327,7 +13328,7 @@ function wrapAbortSignalLikePolicy() {
|
|
|
13327
13328
|
}
|
|
13328
13329
|
__name(wrapAbortSignalLikePolicy, "wrapAbortSignalLikePolicy");
|
|
13329
13330
|
|
|
13330
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13331
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/createPipelineFromOptions.js
|
|
13331
13332
|
function createPipelineFromOptions2(options) {
|
|
13332
13333
|
const pipeline = createEmptyPipeline2();
|
|
13333
13334
|
if (isNodeLike2) {
|
|
@@ -13357,7 +13358,7 @@ function createPipelineFromOptions2(options) {
|
|
|
13357
13358
|
}
|
|
13358
13359
|
__name(createPipelineFromOptions2, "createPipelineFromOptions");
|
|
13359
13360
|
|
|
13360
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13361
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/defaultHttpClient.js
|
|
13361
13362
|
function createDefaultHttpClient2() {
|
|
13362
13363
|
const client = createDefaultHttpClient();
|
|
13363
13364
|
return {
|
|
@@ -13374,16 +13375,16 @@ function createDefaultHttpClient2() {
|
|
|
13374
13375
|
}
|
|
13375
13376
|
__name(createDefaultHttpClient2, "createDefaultHttpClient");
|
|
13376
13377
|
|
|
13377
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13378
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/pipelineRequest.js
|
|
13378
13379
|
function createPipelineRequest2(options) {
|
|
13379
13380
|
return createPipelineRequest(options);
|
|
13380
13381
|
}
|
|
13381
13382
|
__name(createPipelineRequest2, "createPipelineRequest");
|
|
13382
13383
|
|
|
13383
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13384
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/retryPolicy.js
|
|
13384
13385
|
var retryPolicyLogger2 = createClientLogger2("core-rest-pipeline retryPolicy");
|
|
13385
13386
|
|
|
13386
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13387
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/util/tokenCycler.js
|
|
13387
13388
|
var DEFAULT_CYCLER_OPTIONS = {
|
|
13388
13389
|
forcedRefreshWindowInMs: 1e3,
|
|
13389
13390
|
// Force waiting for a refresh 1s before the token expires
|
|
@@ -13497,7 +13498,7 @@ function createTokenCycler(credential, tokenCyclerOptions) {
|
|
|
13497
13498
|
}
|
|
13498
13499
|
__name(createTokenCycler, "createTokenCycler");
|
|
13499
13500
|
|
|
13500
|
-
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.
|
|
13501
|
+
// ../../node_modules/.store/@azure-core-rest-pipeline-npm-1.25.0-9d9ef54ee3/package/dist/esm/policies/bearerTokenAuthenticationPolicy.js
|
|
13501
13502
|
var bearerTokenAuthenticationPolicyName = "bearerTokenAuthenticationPolicy";
|
|
13502
13503
|
async function trySendRequest(request, next) {
|
|
13503
13504
|
try {
|
|
@@ -13675,7 +13676,7 @@ __name(getCaeChallengeClaims, "getCaeChallengeClaims");
|
|
|
13675
13676
|
// ../../node_modules/.store/@azure-monitor-opentelemetry-exporter-npm-1.0.0-beta.43-6a4ad4f626/package/dist/esm/generated/logger.js
|
|
13676
13677
|
var logger3 = createClientLogger2("monitor-opentelemetry-exporter");
|
|
13677
13678
|
|
|
13678
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13679
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/restError.js
|
|
13679
13680
|
function createRestError2(messageOrResponse, response) {
|
|
13680
13681
|
if (typeof messageOrResponse === "string") {
|
|
13681
13682
|
return createRestError(messageOrResponse, response);
|
|
@@ -13685,20 +13686,20 @@ function createRestError2(messageOrResponse, response) {
|
|
|
13685
13686
|
}
|
|
13686
13687
|
__name(createRestError2, "createRestError");
|
|
13687
13688
|
|
|
13688
|
-
// ../../node_modules/.store/@azure-core-auth-npm-1.
|
|
13689
|
+
// ../../node_modules/.store/@azure-core-auth-npm-1.11.0-35b82438f9/package/dist/esm/keyCredential.js
|
|
13689
13690
|
function isKeyCredential(credential) {
|
|
13690
13691
|
return isObjectWithProperties(credential, ["key"]) && typeof credential.key === "string";
|
|
13691
13692
|
}
|
|
13692
13693
|
__name(isKeyCredential, "isKeyCredential");
|
|
13693
13694
|
|
|
13694
|
-
// ../../node_modules/.store/@azure-core-auth-npm-1.
|
|
13695
|
+
// ../../node_modules/.store/@azure-core-auth-npm-1.11.0-35b82438f9/package/dist/esm/tokenCredential.js
|
|
13695
13696
|
function isTokenCredential(credential) {
|
|
13696
13697
|
const castCredential = credential;
|
|
13697
13698
|
return castCredential && typeof castCredential.getToken === "function" && (castCredential.signRequest === void 0 || castCredential.getToken.length > 0);
|
|
13698
13699
|
}
|
|
13699
13700
|
__name(isTokenCredential, "isTokenCredential");
|
|
13700
13701
|
|
|
13701
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13702
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/apiVersionPolicy.js
|
|
13702
13703
|
var apiVersionPolicyName2 = "ApiVersionPolicy";
|
|
13703
13704
|
function apiVersionPolicy2(options) {
|
|
13704
13705
|
return {
|
|
@@ -13714,7 +13715,7 @@ function apiVersionPolicy2(options) {
|
|
|
13714
13715
|
}
|
|
13715
13716
|
__name(apiVersionPolicy2, "apiVersionPolicy");
|
|
13716
13717
|
|
|
13717
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13718
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/keyCredentialAuthenticationPolicy.js
|
|
13718
13719
|
var keyCredentialAuthenticationPolicyName = "keyCredentialAuthenticationPolicy";
|
|
13719
13720
|
function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
13720
13721
|
return {
|
|
@@ -13727,7 +13728,7 @@ function keyCredentialAuthenticationPolicy(credential, apiKeyHeaderName) {
|
|
|
13727
13728
|
}
|
|
13728
13729
|
__name(keyCredentialAuthenticationPolicy, "keyCredentialAuthenticationPolicy");
|
|
13729
13730
|
|
|
13730
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13731
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/clientHelpers.js
|
|
13731
13732
|
function addCredentialPipelinePolicy(pipeline, endpoint, options = {}) {
|
|
13732
13733
|
const { credential, clientOptions } = options;
|
|
13733
13734
|
if (!credential) {
|
|
@@ -13760,17 +13761,29 @@ function isKeyCredential2(credential) {
|
|
|
13760
13761
|
}
|
|
13761
13762
|
__name(isKeyCredential2, "isKeyCredential");
|
|
13762
13763
|
|
|
13763
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13764
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/operationOptionHelpers.js
|
|
13764
13765
|
function operationOptionsToRequestParameters2(options) {
|
|
13766
|
+
const compatibilityOptions = options;
|
|
13765
13767
|
const tspRequestParameters = operationOptionsToRequestParameters(options);
|
|
13766
13768
|
return {
|
|
13767
13769
|
...tspRequestParameters,
|
|
13770
|
+
headers: mergeHeaders(compatibilityOptions.requestOptions?.customHeaders, tspRequestParameters.headers),
|
|
13768
13771
|
tracingOptions: options.tracingOptions
|
|
13769
13772
|
};
|
|
13770
13773
|
}
|
|
13771
13774
|
__name(operationOptionsToRequestParameters2, "operationOptionsToRequestParameters");
|
|
13775
|
+
function mergeHeaders(...headerSets) {
|
|
13776
|
+
const headers = /* @__PURE__ */ new Map();
|
|
13777
|
+
for (const headerSet of headerSets) {
|
|
13778
|
+
for (const [name, value] of Object.entries(headerSet ?? {})) {
|
|
13779
|
+
headers.set(name.toLowerCase(), value);
|
|
13780
|
+
}
|
|
13781
|
+
}
|
|
13782
|
+
return Object.fromEntries(headers);
|
|
13783
|
+
}
|
|
13784
|
+
__name(mergeHeaders, "mergeHeaders");
|
|
13772
13785
|
|
|
13773
|
-
// ../../node_modules/.store/@azure-rest-core-client-npm-2.
|
|
13786
|
+
// ../../node_modules/.store/@azure-rest-core-client-npm-2.9.0-8d8eafb7f1/package/dist/esm/getClient.js
|
|
13774
13787
|
function wrapRequestParameters(parameters) {
|
|
13775
13788
|
if (parameters.onResponse) {
|
|
13776
13789
|
return {
|
|
@@ -16302,7 +16315,7 @@ var AzureMonitorStatsbeatExporter = class extends AzureMonitorBaseExporter {
|
|
|
16302
16315
|
*/
|
|
16303
16316
|
async _getSender() {
|
|
16304
16317
|
if (!this._sender) {
|
|
16305
|
-
const { HttpSender: HttpSender2 } = await import("./httpSender-
|
|
16318
|
+
const { HttpSender: HttpSender2 } = await import("./httpSender-Z2BUJ553.js");
|
|
16306
16319
|
this._sender = new HttpSender2(this._senderOptions);
|
|
16307
16320
|
}
|
|
16308
16321
|
return this._sender;
|
|
@@ -16869,7 +16882,7 @@ var BaseSender = class {
|
|
|
16869
16882
|
}
|
|
16870
16883
|
}
|
|
16871
16884
|
if (!this.customerSDKStatsMetrics) {
|
|
16872
|
-
import("./customerSDKStats-
|
|
16885
|
+
import("./customerSDKStats-OZ5JDFDK.js").then((module) => module.CustomerSDKStatsMetrics.getInstance({
|
|
16873
16886
|
instrumentationKey: options.instrumentationKey,
|
|
16874
16887
|
endpointUrl: options.endpointUrl,
|
|
16875
16888
|
disableOfflineStorage: this.disableOfflineStorage,
|