@dx-do/client 7.13.0 → 7.14.0

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.
Files changed (42) hide show
  1. package/README.md +1 -1
  2. package/dist/index.cjs.js +1982 -428
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.esm.js +1960 -429
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/src/index.d.ts +6 -0
  7. package/dist/src/index.d.ts.map +1 -1
  8. package/dist/src/lib/model/datastore/nassql/operations.d.ts +8 -1
  9. package/dist/src/lib/model/datastore/nassql/operations.d.ts.map +1 -1
  10. package/dist/src/lib/model/datastore/nassql/query.d.ts +8 -1
  11. package/dist/src/lib/model/datastore/nassql/query.d.ts.map +1 -1
  12. package/dist/src/lib/model/datastore/nassql/response.d.ts +11 -0
  13. package/dist/src/lib/model/datastore/nassql/response.d.ts.map +1 -1
  14. package/dist/src/lib/model/datastore/states/filters.d.ts +1 -1
  15. package/dist/src/lib/model/datastore/states/filters.d.ts.map +1 -1
  16. package/dist/src/lib/model/datastore/tas/filters.d.ts +3 -1
  17. package/dist/src/lib/model/datastore/tas/filters.d.ts.map +1 -1
  18. package/dist/src/lib/model/datastore/tas/query.d.ts +2 -1
  19. package/dist/src/lib/model/datastore/tas/query.d.ts.map +1 -1
  20. package/dist/src/lib/model/datastore/tas/response.d.ts +17 -16
  21. package/dist/src/lib/model/datastore/tas/response.d.ts.map +1 -1
  22. package/dist/src/lib/model/datastore/tas/store.d.ts +3 -3
  23. package/dist/src/lib/model/metric-anomaly/group.d.ts +88 -0
  24. package/dist/src/lib/model/metric-anomaly/group.d.ts.map +1 -0
  25. package/dist/src/lib/model/metric-anomaly/metrics-preview.d.ts +74 -0
  26. package/dist/src/lib/model/metric-anomaly/metrics-preview.d.ts.map +1 -0
  27. package/dist/src/lib/model/metric-anomaly/save.d.ts +63 -0
  28. package/dist/src/lib/model/metric-anomaly/save.d.ts.map +1 -0
  29. package/dist/src/lib/model/metric-anomaly/search.d.ts +63 -0
  30. package/dist/src/lib/model/metric-anomaly/search.d.ts.map +1 -0
  31. package/dist/src/lib/model/metricconfig/filter.d.ts +60 -0
  32. package/dist/src/lib/model/metricconfig/filter.d.ts.map +1 -0
  33. package/dist/src/lib/model/sli/group.d.ts +3 -2
  34. package/dist/src/lib/model/sli/group.d.ts.map +1 -1
  35. package/dist/src/lib/model/sli/metrics-preview.d.ts +8 -0
  36. package/dist/src/lib/model/sli/metrics-preview.d.ts.map +1 -1
  37. package/dist/src/lib/services/dx-saas.service.d.ts +2 -2
  38. package/dist/src/lib/services/metric-anomaly.service.d.ts +83 -0
  39. package/dist/src/lib/services/metric-anomaly.service.d.ts.map +1 -0
  40. package/dist/src/lib/services/service-monolith.d.ts +2 -0
  41. package/dist/src/lib/services/service-monolith.d.ts.map +1 -1
  42. package/package.json +2 -1
package/dist/index.esm.js CHANGED
@@ -2160,12 +2160,65 @@ const hasOwnProperty$1 = (
2160
2160
  hasOwnProperty.call(obj, prop)
2161
2161
  )(Object.prototype);
2162
2162
 
2163
+ const isUnsafeObjectKey = (prop) =>
2164
+ typeof prop === 'string' &&
2165
+ (prop === '__proto__' || prop === 'constructor' || prop === 'prototype');
2166
+
2163
2167
  /**
2164
- * Walk the prototype chain (excluding the shared Object.prototype) looking for
2165
- * an own `prop`. This distinguishes genuine own/inherited members — including
2166
- * class accessors and template prototypes — from members injected via
2167
- * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which
2168
- * live on Object.prototype itself and are therefore never matched.
2168
+ * Determine whether an inherited object must be treated as a shared-prototype
2169
+ * boundary. Cross-realm Object.prototype objects cannot be distinguished
2170
+ * reliably from application-created null-prototype objects because their
2171
+ * properties are mutable, so all inherited terminal prototypes are excluded
2172
+ * as a fail-closed boundary. A null-prototype source still keeps its own
2173
+ * properties, as produced by mergeConfig and other safe materialization paths.
2174
+ *
2175
+ * @param {*} obj The object to inspect
2176
+ * @param {*} prototype The object's prototype
2177
+ * @param {boolean} source Whether obj is the original traversal source
2178
+ *
2179
+ * @returns {boolean} True when obj is a safe prototype traversal boundary
2180
+ */
2181
+ const isPrototypeBoundary = (obj, prototype, source) =>
2182
+ obj === Object.prototype || (!source && prototype === null);
2183
+
2184
+ /**
2185
+ * Determine whether an object can retain its identity through code paths that
2186
+ * add, replace, and remove config properties without bypassing unsafe-key
2187
+ * filtering. Immutable objects, unsafe-key-bearing objects, and objects with
2188
+ * accessor or restricted data properties must be materialized instead.
2189
+ *
2190
+ * @param {*} obj The object to inspect
2191
+ *
2192
+ * @returns {boolean} True when every own property is safe and fully mutable
2193
+ */
2194
+ const isSafeAndFullyMutable = (obj) => {
2195
+ if (!Object.isExtensible(obj)) {
2196
+ return false;
2197
+ }
2198
+
2199
+ const props = Object.getOwnPropertyNames(obj);
2200
+
2201
+ if (Object.getOwnPropertySymbols) {
2202
+ props.push(...Object.getOwnPropertySymbols(obj));
2203
+ }
2204
+
2205
+ return props.every((prop) => {
2206
+ if (isUnsafeObjectKey(prop)) {
2207
+ return false;
2208
+ }
2209
+
2210
+ const descriptor = Object.getOwnPropertyDescriptor(obj, prop);
2211
+
2212
+ return !!descriptor && descriptor.configurable && descriptor.writable === true;
2213
+ });
2214
+ };
2215
+
2216
+ /**
2217
+ * Walk the prototype chain (excluding the source realm's Object.prototype)
2218
+ * looking for an own `prop`. This distinguishes genuine own/inherited members
2219
+ * — including class accessors and template prototypes — from members injected
2220
+ * via Object.prototype pollution (e.g. `Object.prototype.username = '...'`),
2221
+ * which live on Object.prototype itself and are therefore never matched.
2169
2222
  *
2170
2223
  * @param {*} thing The value whose chain to inspect
2171
2224
  * @param {string|symbol} prop The property key to look for
@@ -2176,16 +2229,22 @@ const hasOwnInPrototypeChain = (thing, prop) => {
2176
2229
  let obj = thing;
2177
2230
  const seen = [];
2178
2231
 
2179
- while (obj != null && obj !== Object.prototype) {
2232
+ while (obj != null) {
2180
2233
  if (seen.indexOf(obj) !== -1) {
2181
2234
  return false;
2182
2235
  }
2183
2236
  seen.push(obj);
2184
2237
 
2238
+ const prototype = getPrototypeOf(obj);
2239
+
2240
+ if (isPrototypeBoundary(obj, prototype, obj === thing)) {
2241
+ return false;
2242
+ }
2243
+
2185
2244
  if (hasOwnProperty$1(obj, prop)) {
2186
2245
  return true;
2187
2246
  }
2188
- obj = getPrototypeOf(obj);
2247
+ obj = prototype;
2189
2248
  }
2190
2249
  return false;
2191
2250
  };
@@ -2204,6 +2263,69 @@ const hasOwnInPrototypeChain = (thing, prop) => {
2204
2263
  const getSafeProp = (obj, prop) =>
2205
2264
  obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;
2206
2265
 
2266
+ /**
2267
+ * Flatten an object and its application-defined prototype chain into a
2268
+ * null-prototype object. Members inherited only from the source realm's
2269
+ * Object.prototype are deliberately excluded, while class/template members
2270
+ * below that boundary are preserved.
2271
+ *
2272
+ * @param {*} thing The value to flatten
2273
+ *
2274
+ * @returns {*} A null-prototype copy, or the original value when it is already
2275
+ * structurally safe or is not an object
2276
+ */
2277
+ const toSafeFlatObject = (thing) => {
2278
+ if (thing == null || (typeof thing !== 'object' && typeof thing !== 'function')) {
2279
+ return thing;
2280
+ }
2281
+
2282
+ const sourcePrototype = getPrototypeOf(thing);
2283
+
2284
+ if (sourcePrototype === null && isSafeAndFullyMutable(thing)) {
2285
+ return thing;
2286
+ }
2287
+
2288
+ const result = Object.create(null);
2289
+ const merged = Object.create(null);
2290
+ const seen = [];
2291
+ let current = thing;
2292
+
2293
+ while (current != null) {
2294
+ if (seen.indexOf(current) !== -1) {
2295
+ break;
2296
+ }
2297
+
2298
+ seen.push(current);
2299
+
2300
+ const prototype = current === thing ? sourcePrototype : getPrototypeOf(current);
2301
+
2302
+ if (isPrototypeBoundary(current, prototype, current === thing)) {
2303
+ break;
2304
+ }
2305
+
2306
+ const props = Object.getOwnPropertyNames(current);
2307
+
2308
+ if (Object.getOwnPropertySymbols) {
2309
+ props.push(...Object.getOwnPropertySymbols(current));
2310
+ }
2311
+
2312
+ for (const prop of props) {
2313
+ if (isUnsafeObjectKey(prop)) {
2314
+ continue;
2315
+ }
2316
+
2317
+ if (!hasOwnProperty$1(merged, prop)) {
2318
+ result[prop] = thing[prop];
2319
+ merged[prop] = true;
2320
+ }
2321
+ }
2322
+
2323
+ current = prototype;
2324
+ }
2325
+
2326
+ return result;
2327
+ };
2328
+
2207
2329
  const kindOf = ((cache) => (thing) => {
2208
2330
  const str = toString.call(thing);
2209
2331
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -2335,12 +2457,10 @@ const isPlainObject = (val) => {
2335
2457
 
2336
2458
  const prototype = getPrototypeOf(val);
2337
2459
  return (
2338
- (prototype === null ||
2339
- prototype === Object.prototype ||
2340
- getPrototypeOf(prototype) === null) &&
2341
- // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
2342
- // Symbol.iterator as evidence the value is a tagged/iterable type rather
2343
- // than a plain object, while ignoring keys injected onto Object.prototype.
2460
+ (prototype === null || prototype === Object.prototype || getPrototypeOf(prototype) === null) &&
2461
+ // Treat safe own/inherited Symbol.toStringTag or Symbol.iterator members as
2462
+ // evidence the value is tagged/iterable, while ignoring members reachable
2463
+ // only through shared or terminal prototype boundaries.
2344
2464
  !hasOwnInPrototypeChain(val, toStringTag$2) &&
2345
2465
  !hasOwnInPrototypeChain(val, iterator)
2346
2466
  );
@@ -2427,6 +2547,7 @@ const isBlob = kindOfTest('Blob');
2427
2547
  * @returns {boolean} True if value is a FileList, otherwise false
2428
2548
  */
2429
2549
  const isFileList = kindOfTest('FileList');
2550
+ const isSet$1 = kindOfTest('Set');
2430
2551
 
2431
2552
  /**
2432
2553
  * Determine if a value is a Stream
@@ -2992,12 +3113,23 @@ const toJSONObject = (obj) => {
2992
3113
  if (!('toJSON' in source)) {
2993
3114
  // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).
2994
3115
  visited.add(source);
2995
- const target = isArray$4(source) ? [] : {};
2996
3116
 
2997
- forEach(source, (value, key) => {
2998
- const reducedValue = visit(value);
2999
- !isUndefined$2(reducedValue) && (target[key] = reducedValue);
3000
- });
3117
+ let target;
3118
+
3119
+ if (isSet$1(source)) {
3120
+ target = [];
3121
+ for (const value of source) {
3122
+ const reducedValue = visit(value);
3123
+ !isUndefined$2(reducedValue) && target.push(reducedValue);
3124
+ }
3125
+ } else {
3126
+ target = isArray$4(source) ? [] : {};
3127
+
3128
+ forEach(source, (value, key) => {
3129
+ const reducedValue = visit(value);
3130
+ !isUndefined$2(reducedValue) && (target[key] = reducedValue);
3131
+ });
3132
+ }
3001
3133
 
3002
3134
  visited.delete(source);
3003
3135
 
@@ -3142,6 +3274,7 @@ var utils$3 = {
3142
3274
  hasOwnProp: hasOwnProperty$1, // an alias to avoid ESLint no-prototype-builtins detection
3143
3275
  hasOwnInPrototypeChain,
3144
3276
  getSafeProp,
3277
+ toSafeFlatObject,
3145
3278
  reduceDescriptors,
3146
3279
  freezeMethods,
3147
3280
  toObjectSet,
@@ -3209,18 +3342,20 @@ var parseHeaders = (rawHeaders) => {
3209
3342
  key = line.substring(0, i).trim().toLowerCase();
3210
3343
  val = line.substring(i + 1).trim();
3211
3344
 
3212
- if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
3345
+ const hasKey = utils$3.hasOwnProp(parsed, key);
3346
+
3347
+ if (!key || (hasKey && utils$3.hasOwnProp(ignoreDuplicateOf, key))) {
3213
3348
  return;
3214
3349
  }
3215
3350
 
3216
3351
  if (key === 'set-cookie') {
3217
- if (parsed[key]) {
3352
+ if (hasKey) {
3218
3353
  parsed[key].push(val);
3219
3354
  } else {
3220
3355
  parsed[key] = [val];
3221
3356
  }
3222
3357
  } else {
3223
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
3358
+ parsed[key] = hasKey ? parsed[key] + ', ' + val : val;
3224
3359
  }
3225
3360
  });
3226
3361
 
@@ -3284,7 +3419,7 @@ function toByteStringHeaderObject(headers) {
3284
3419
  return byteStringHeaders;
3285
3420
  }
3286
3421
 
3287
- const $internals = Symbol('internals');
3422
+ const $internals$1 = Symbol('internals');
3288
3423
 
3289
3424
  function normalizeHeader(header) {
3290
3425
  return header && String(header).trim().toLowerCase();
@@ -3310,6 +3445,124 @@ function parseTokens(str) {
3310
3445
  return tokens;
3311
3446
  }
3312
3447
 
3448
+ const parameterNameRE = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
3449
+
3450
+ function trimOWS(value) {
3451
+ let start = 0;
3452
+ let end = value.length;
3453
+
3454
+ while (start < end) {
3455
+ const code = value.charCodeAt(start);
3456
+
3457
+ if (code !== 0x09 && code !== 0x20) {
3458
+ break;
3459
+ }
3460
+
3461
+ start += 1;
3462
+ }
3463
+
3464
+ while (end > start) {
3465
+ const code = value.charCodeAt(end - 1);
3466
+
3467
+ if (code !== 0x09 && code !== 0x20) {
3468
+ break;
3469
+ }
3470
+
3471
+ end -= 1;
3472
+ }
3473
+
3474
+ return start === 0 && end === value.length ? value : value.slice(start, end);
3475
+ }
3476
+
3477
+ function decodeQuotedString(value) {
3478
+ const last = value.length - 1;
3479
+
3480
+ if (last < 1 || value.charCodeAt(0) !== 0x22 || value.charCodeAt(last) !== 0x22) {
3481
+ return value;
3482
+ }
3483
+
3484
+ let decoded = '';
3485
+
3486
+ for (let i = 1; i < last; i++) {
3487
+ const code = value.charCodeAt(i);
3488
+
3489
+ if (code === 0x22) {
3490
+ return value;
3491
+ }
3492
+
3493
+ if (code === 0x5c) {
3494
+ i += 1;
3495
+
3496
+ if (i >= last) {
3497
+ return value;
3498
+ }
3499
+ }
3500
+
3501
+ decoded += value[i];
3502
+ }
3503
+
3504
+ return decoded;
3505
+ }
3506
+
3507
+ function parseParameters(value) {
3508
+ const parameters = Object.create(null);
3509
+ const str = String(value);
3510
+ let start = 0;
3511
+ let quoted = false;
3512
+ let escaped = false;
3513
+
3514
+ function parseParameter(end) {
3515
+ const part = trimOWS(str.slice(start, end));
3516
+ const equals = part.indexOf('=');
3517
+
3518
+ if (equals < 1) {
3519
+ return;
3520
+ }
3521
+
3522
+ const name = trimOWS(part.slice(0, equals));
3523
+
3524
+ if (!parameterNameRE.test(name)) {
3525
+ return;
3526
+ }
3527
+
3528
+ const normalizedName = name.toLowerCase();
3529
+
3530
+ if (
3531
+ normalizedName === '__proto__' ||
3532
+ normalizedName === 'constructor' ||
3533
+ normalizedName === 'prototype'
3534
+ ) {
3535
+ return;
3536
+ }
3537
+
3538
+ const parameterValue = trimOWS(part.slice(equals + 1));
3539
+ parameters[normalizedName] = decodeQuotedString(parameterValue);
3540
+ }
3541
+
3542
+ for (let i = 0; i < str.length; i++) {
3543
+ const code = str.charCodeAt(i);
3544
+
3545
+ if (quoted) {
3546
+ if (escaped) {
3547
+ escaped = false;
3548
+ } else if (code === 0x5c) {
3549
+ escaped = true;
3550
+ } else if (code === 0x22) {
3551
+ quoted = false;
3552
+ }
3553
+ } else if (code === 0x22) {
3554
+ quoted = true;
3555
+ } else if (code === 0x2c || code === 0x3b) {
3556
+ parseParameter(i);
3557
+ start = i + 1;
3558
+ }
3559
+ }
3560
+
3561
+ parseParameter(str.length);
3562
+
3563
+ return parameters;
3564
+ }
3565
+
3313
3566
  const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
3314
3567
 
3315
3568
  function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
@@ -3561,7 +3814,8 @@ let AxiosHeaders$1 = class AxiosHeaders {
3561
3814
  }
3562
3815
 
3563
3816
  getSetCookie() {
3564
- return this.get('set-cookie') || [];
3817
+ const value = this.get('set-cookie');
3818
+ return utils$3.isArray(value) ? value : value == null || value === false ? [] : [value];
3565
3819
  }
3566
3820
 
3567
3821
  get [Symbol.toStringTag]() {
@@ -3572,6 +3826,10 @@ let AxiosHeaders$1 = class AxiosHeaders {
3572
3826
  return thing instanceof this ? thing : new this(thing);
3573
3827
  }
3574
3828
 
3829
+ static parseParameters(value) {
3830
+ return parseParameters(value);
3831
+ }
3832
+
3575
3833
  static concat(first, ...targets) {
3576
3834
  const computed = new this(first);
3577
3835
 
@@ -3582,8 +3840,8 @@ let AxiosHeaders$1 = class AxiosHeaders {
3582
3840
 
3583
3841
  static accessor(header) {
3584
3842
  const internals =
3585
- (this[$internals] =
3586
- this[$internals] =
3843
+ (this[$internals$1] =
3844
+ this[$internals$1] =
3587
3845
  {
3588
3846
  accessors: {},
3589
3847
  });
@@ -3697,9 +3955,40 @@ function redactConfig(config, redactKeys) {
3697
3955
  return visit(config);
3698
3956
  }
3699
3957
 
3958
+ function stringifySafely$1(value) {
3959
+ try {
3960
+ return String(value);
3961
+ } catch (err) {
3962
+ return '';
3963
+ }
3964
+ }
3965
+
3966
+ function aggregateErrorMessage(error) {
3967
+ const message = error.errors
3968
+ .map((entry) => {
3969
+ try {
3970
+ return entry && entry.message ? stringifySafely$1(entry.message) : stringifySafely$1(entry);
3971
+ } catch (err) {
3972
+ return '';
3973
+ }
3974
+ })
3975
+ .filter(Boolean)
3976
+ .join('; ');
3977
+
3978
+ return message || error.name || 'AggregateError';
3979
+ }
3980
+
3700
3981
  let AxiosError$1 = class AxiosError extends Error {
3701
3982
  static from(error, code, config, request, response, customProps) {
3702
- const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
3983
+ // `AggregateError` (thrown by Node on dual-stack/Happy-Eyeballs connection
3984
+ // failures) has an empty `message`; its detail lives in `errors[]`. Without
3985
+ // this, the wrapped error surfaces with a blank message (see #6721).
3986
+ let message = error.message;
3987
+ if (!message && utils$3.isArray(error.errors) && error.errors.length) {
3988
+ message = aggregateErrorMessage(error);
3989
+ }
3990
+
3991
+ const axiosError = new AxiosError(message, code || error.code, config, request, response);
3703
3992
  // Match native `Error` `cause` semantics: non-enumerable. The wrapped
3704
3993
  // error often carries circular internals (sockets, requests, agents), so
3705
3994
  // an enumerable `cause` makes structured loggers (pino/winston) and any
@@ -16813,6 +17102,16 @@ var formdata = /*#__PURE__*/_mergeNamespaces({
16813
17102
  default: FormData$1
16814
17103
  }, [form_data]);
16815
17104
 
17105
+ var PlatformBuffer = {
17106
+ isBufferAvailable() {
17107
+ return typeof Buffer !== 'undefined';
17108
+ },
17109
+
17110
+ from(value) {
17111
+ return Buffer.from(value);
17112
+ }
17113
+ };
17114
+
16816
17115
  // Default nesting limit shared with the inverse transform (formDataToJSON) so
16817
17116
  // the FormData <-> JSON round-trip stays symmetric.
16818
17117
  const DEFAULT_FORM_DATA_MAX_DEPTH = 100;
@@ -16906,28 +17205,18 @@ function toFormData$1(obj, formData, options) {
16906
17205
  // eslint-disable-next-line no-param-reassign
16907
17206
  formData = formData || new (FormData$1 || FormData)();
16908
17207
 
16909
- // eslint-disable-next-line no-param-reassign
16910
- options = utils$3.toFlatObject(
16911
- options,
16912
- {
16913
- metaTokens: true,
16914
- dots: false,
16915
- indexes: false,
16916
- },
16917
- false,
16918
- function defined(option, source) {
16919
- // eslint-disable-next-line no-eq-null,eqeqeq
16920
- return !utils$3.isUndefined(source[option]);
16921
- }
16922
- );
17208
+ const option = (name, fallback) => {
17209
+ const value = utils$3.getSafeProp(options, name);
17210
+ return utils$3.isUndefined(value) ? fallback : value;
17211
+ };
16923
17212
 
16924
- const metaTokens = options.metaTokens;
17213
+ const metaTokens = option('metaTokens', true);
16925
17214
  // eslint-disable-next-line no-use-before-define
16926
- const visitor = options.visitor || defaultVisitor;
16927
- const dots = options.dots;
16928
- const indexes = options.indexes;
16929
- const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
16930
- const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;
17215
+ const visitor = option('visitor') || defaultVisitor;
17216
+ const dots = option('dots', false);
17217
+ const indexes = option('indexes', false);
17218
+ const _Blob = option('Blob') || (typeof Blob !== 'undefined' && Blob);
17219
+ const maxDepth = option('maxDepth', DEFAULT_FORM_DATA_MAX_DEPTH);
16931
17220
  const useBlob = _Blob && utils$3.isSpecCompliantForm(formData);
16932
17221
  const stack = [];
16933
17222
 
@@ -16954,10 +17243,13 @@ function toFormData$1(obj, formData, options) {
16954
17243
  if (useBlob && typeof _Blob === 'function') {
16955
17244
  return new _Blob([value]);
16956
17245
  }
16957
- if (typeof Buffer !== 'undefined') {
16958
- return Buffer.from(value);
17246
+ if (PlatformBuffer && PlatformBuffer.isBufferAvailable()) {
17247
+ return PlatformBuffer.from(value);
16959
17248
  }
16960
- throw new AxiosError$1('Blob is not supported. Use a Buffer instead.', AxiosError$1.ERR_NOT_SUPPORT);
17249
+ throw new AxiosError$1(
17250
+ 'Blob is not supported. Use a Buffer instead.',
17251
+ AxiosError$1.ERR_NOT_SUPPORT
17252
+ );
16961
17253
  }
16962
17254
 
16963
17255
  return value;
@@ -17209,9 +17501,57 @@ function buildURL(url, params, options) {
17209
17501
  return url;
17210
17502
  }
17211
17503
 
17504
+ const $internals = Symbol('internals');
17505
+
17506
+ // `handlers` is public and may be replaced with a nullish value by user code;
17507
+ // `clear()` has always tolerated that. Treat it as an empty stack rather than
17508
+ // dereferencing it.
17509
+ function countHandlers(handlers) {
17510
+ return handlers ? handlers.length : 0;
17511
+ }
17512
+
17513
+ function trimHandlers(handlers) {
17514
+ if (!handlers) {
17515
+ return;
17516
+ }
17517
+
17518
+ while (handlers.length && handlers[handlers.length - 1] === null) {
17519
+ handlers.pop();
17520
+ }
17521
+ }
17522
+
17523
+ function syncHandlerEntries(manager, internals) {
17524
+ const handlers = manager.handlers;
17525
+ const length = countHandlers(handlers);
17526
+
17527
+ if (handlers !== internals.handlersRef) {
17528
+ internals.handlersRef = handlers;
17529
+ internals.handlerEntries.clear();
17530
+ } else if (length !== internals.handlersLength) {
17531
+ if (!length) {
17532
+ internals.handlerEntries.clear();
17533
+ } else {
17534
+ internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {
17535
+ if (handlers[entry.index] !== entry.handler) {
17536
+ internals.handlerEntries.delete(id);
17537
+ }
17538
+ });
17539
+ }
17540
+ }
17541
+
17542
+ internals.handlersLength = length;
17543
+ }
17544
+
17212
17545
  class InterceptorManager {
17213
17546
  constructor() {
17214
17547
  this.handlers = [];
17548
+ this[$internals] = {
17549
+ handlersRef: this.handlers,
17550
+ handlersLength: this.handlers.length,
17551
+ handlerEntries: new Map(),
17552
+ iterationDepth: 0,
17553
+ nextId: 0,
17554
+ };
17215
17555
  }
17216
17556
 
17217
17557
  /**
@@ -17224,13 +17564,30 @@ class InterceptorManager {
17224
17564
  * @return {Number} An ID used to remove interceptor later
17225
17565
  */
17226
17566
  use(fulfilled, rejected, options) {
17227
- this.handlers.push({
17567
+ const handler = {
17228
17568
  fulfilled,
17229
17569
  rejected,
17230
17570
  synchronous: options ? options.synchronous : false,
17231
17571
  runWhen: options ? options.runWhen : null,
17572
+ };
17573
+ const internals = this[$internals];
17574
+
17575
+ if (this.handlers == null) {
17576
+ this.handlers = [];
17577
+ }
17578
+
17579
+ syncHandlerEntries(this, internals);
17580
+
17581
+ const id = internals.nextId++;
17582
+
17583
+ this.handlers.push(handler);
17584
+ internals.handlerEntries.set(id, {
17585
+ handler,
17586
+ index: this.handlers.length - 1,
17232
17587
  });
17233
- return this.handlers.length - 1;
17588
+ internals.handlersLength = this.handlers.length;
17589
+
17590
+ return id;
17234
17591
  }
17235
17592
 
17236
17593
  /**
@@ -17241,8 +17598,27 @@ class InterceptorManager {
17241
17598
  * @returns {void}
17242
17599
  */
17243
17600
  eject(id) {
17244
- if (this.handlers[id]) {
17245
- this.handlers[id] = null;
17601
+ const internals = this[$internals];
17602
+
17603
+ syncHandlerEntries(this, internals);
17604
+
17605
+ const entry = internals.handlerEntries.get(id);
17606
+
17607
+ if (entry) {
17608
+ internals.handlerEntries.delete(id);
17609
+
17610
+ // Ignore IDs invalidated by clear or direct replacement of handlers.
17611
+ if (this.handlers[entry.index] !== entry.handler) {
17612
+ return;
17613
+ }
17614
+
17615
+ this.handlers[entry.index] = null;
17616
+
17617
+ // Do not reuse an index while forEach is walking its length snapshot.
17618
+ if (!internals.iterationDepth) {
17619
+ trimHandlers(this.handlers);
17620
+ internals.handlersLength = this.handlers.length;
17621
+ }
17246
17622
  }
17247
17623
  }
17248
17624
 
@@ -17254,6 +17630,7 @@ class InterceptorManager {
17254
17630
  clear() {
17255
17631
  if (this.handlers) {
17256
17632
  this.handlers = [];
17633
+ syncHandlerEntries(this, this[$internals]);
17257
17634
  }
17258
17635
  }
17259
17636
 
@@ -17268,11 +17645,25 @@ class InterceptorManager {
17268
17645
  * @returns {void}
17269
17646
  */
17270
17647
  forEach(fn) {
17271
- utils$3.forEach(this.handlers, function forEachHandler(h) {
17272
- if (h !== null) {
17273
- fn(h);
17648
+ const internals = this[$internals];
17649
+
17650
+ syncHandlerEntries(this, internals);
17651
+
17652
+ internals.iterationDepth++;
17653
+
17654
+ try {
17655
+ utils$3.forEach(this.handlers, function forEachHandler(h) {
17656
+ if (h !== null) {
17657
+ fn(h);
17658
+ }
17659
+ });
17660
+ } finally {
17661
+ if (!--internals.iterationDepth) {
17662
+ syncHandlerEntries(this, internals);
17663
+ trimHandlers(this.handlers);
17664
+ internals.handlersLength = countHandlers(this.handlers);
17274
17665
  }
17275
- });
17666
+ }
17276
17667
  }
17277
17668
  }
17278
17669
 
@@ -17413,12 +17804,18 @@ function throwIfDepthExceeded(index) {
17413
17804
  * @returns An array of strings.
17414
17805
  */
17415
17806
  function parsePropPath(name) {
17416
- // foo[x][y][z]
17417
- // foo.x.y.z
17418
- // foo-x-y-z
17419
- // foo x y z
17807
+ // foo[x][y][z] -> ['foo', 'x', 'y', 'z']
17808
+ // foo.x.y.z -> ['foo', 'x', 'y', 'z']
17809
+ // A path is split on `.` and on `[...]` groups. A segment — whether written
17810
+ // in dot notation or captured inside brackets — may contain any character
17811
+ // except `.`, `[` and `]`, so a key like `user-name` or `user name` is kept
17812
+ // literal instead of being split (#5402). `.`, `[` and `]` keep their existing
17813
+ // meaning, e.g. `foo[bar.baz]` -> ['foo', 'bar', 'baz'] and `[]` is an array push.
17814
+ // Excluding `[` from the bracket group also makes the match fail fast at the
17815
+ // next `[`, so a malformed name cannot rescan to the end of the string from
17816
+ // every unmatched `[` — parsing stays linear in the length of the name.
17420
17817
  const path = [];
17421
- const pattern = /\w+|\[(\w*)]/g;
17818
+ const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
17422
17819
  let match;
17423
17820
 
17424
17821
  while ((match = pattern.exec(name)) !== null) {
@@ -17506,6 +17903,20 @@ function formDataToJSON(formData) {
17506
17903
  return null;
17507
17904
  }
17508
17905
 
17906
+ const methodList = Object.freeze([
17907
+ 'get',
17908
+ 'delete',
17909
+ 'head',
17910
+ 'options',
17911
+ 'post',
17912
+ 'put',
17913
+ 'patch',
17914
+ 'purge',
17915
+ 'link',
17916
+ 'unlink',
17917
+ 'query',
17918
+ ]);
17919
+
17509
17920
  const own = (obj, key) => (obj != null && utils$3.hasOwnProp(obj, key) ? obj[key] : undefined);
17510
17921
 
17511
17922
  /**
@@ -17668,7 +18079,7 @@ const defaults$1 = {
17668
18079
  },
17669
18080
  };
17670
18081
 
17671
- utils$3.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {
18082
+ utils$3.forEach(methodList, (method) => {
17672
18083
  defaults$1.headers[method] = {};
17673
18084
  });
17674
18085
 
@@ -17767,33 +18178,89 @@ function isAbsoluteURL(url) {
17767
18178
  * @returns {string} The combined URL
17768
18179
  */
17769
18180
  function combineURLs(baseURL, relativeURL) {
17770
- return relativeURL
17771
- ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
17772
- : baseURL;
17773
- }
18181
+ if (!relativeURL) {
18182
+ return baseURL;
18183
+ }
17774
18184
 
17775
- const malformedHttpProtocol = /^https?:(?!\/\/)/i;
17776
- const httpProtocolControlCharacters = /[\t\n\r]/g;
18185
+ let end = baseURL.length;
17777
18186
 
17778
- function stripLeadingC0ControlOrSpace(url) {
17779
- let i = 0;
17780
- while (i < url.length && url.charCodeAt(i) <= 0x20) {
17781
- i++;
18187
+ while (end > 0 && baseURL.charCodeAt(end - 1) === 47) {
18188
+ end--;
17782
18189
  }
17783
- return url.slice(i);
18190
+
18191
+ return baseURL.slice(0, end) + '/' + relativeURL.replace(/^\/+/, '');
17784
18192
  }
17785
18193
 
18194
+ const urlParserControlCharacters = /[\t\n\r]/g;
18195
+
18196
+ /**
18197
+ * Match WHATWG URL preprocessing before checking a URL's protocol.
18198
+ *
18199
+ * @param {string} url
18200
+ *
18201
+ * @returns {string}
18202
+ */
17786
18203
  function normalizeURLForProtocolCheck(url) {
17787
- return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');
18204
+ if (typeof url !== 'string') {
18205
+ return url;
18206
+ }
18207
+
18208
+ let start = 0;
18209
+
18210
+ while (start < url.length && url.charCodeAt(start) <= 0x20) {
18211
+ start++;
18212
+ }
18213
+
18214
+ return url.slice(start).replace(urlParserControlCharacters, '');
18215
+ }
18216
+
18217
+ const malformedHttpProtocol = /^https?:(?!\/\/)/i;
18218
+
18219
+ // Redact the parts of a URL that can carry secrets before it is embedded in an
18220
+ // error message. AxiosError.toJSON() serializes `message` verbatim and errors
18221
+ // are commonly logged, while the opt-in `config.redact` model only cleans
18222
+ // config keys — it cannot reach the message. Redact only the genuinely
18223
+ // sensitive substrings — userinfo (credentials), query parameter values and
18224
+ // fragment contents — with the same REDACTED marker the config redaction uses,
18225
+ // while keeping the scheme, host, path and parameter names so the offending
18226
+ // request stays accurately identifiable.
18227
+ function redactFragment(fragment) {
18228
+ if (!fragment) {
18229
+ return fragment;
18230
+ }
18231
+
18232
+ return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match, separator, parameterName = '') => {
18233
+ return `${separator}${parameterName}${REDACTED$2}`;
18234
+ });
18235
+ }
18236
+
18237
+ function redactSensitiveURLParts(url) {
18238
+ const redactedURL = url.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED$2}@`);
18239
+ const fragmentIndex = redactedURL.indexOf('#');
18240
+ const urlWithoutFragment =
18241
+ fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);
18242
+ const redactedURLWithoutFragment = urlWithoutFragment.replace(
18243
+ /([?&][^=&#]*=)[^&#]*/g,
18244
+ `$1${REDACTED$2}`
18245
+ );
18246
+
18247
+ if (fragmentIndex === -1) {
18248
+ return redactedURLWithoutFragment;
18249
+ }
18250
+
18251
+ return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
17788
18252
  }
17789
18253
 
17790
18254
  function assertValidHttpProtocolURL(url, config) {
17791
- if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {
17792
- throw new AxiosError$1(
17793
- 'Invalid URL: missing "//" after protocol',
17794
- AxiosError$1.ERR_INVALID_URL,
17795
- config
17796
- );
18255
+ if (typeof url === 'string') {
18256
+ const normalizedURL = normalizeURLForProtocolCheck(url);
18257
+ if (malformedHttpProtocol.test(normalizedURL)) {
18258
+ throw new AxiosError$1(
18259
+ `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`,
18260
+ AxiosError$1.ERR_INVALID_URL,
18261
+ config
18262
+ );
18263
+ }
17797
18264
  }
17798
18265
  }
17799
18266
 
@@ -20336,7 +20803,7 @@ followRedirects$1.exports.wrap = wrap;
20336
20803
  var followRedirectsExports = followRedirects$1.exports;
20337
20804
  var followRedirects = /*@__PURE__*/getDefaultExportFromCjs(followRedirectsExports);
20338
20805
 
20339
- const VERSION$1 = "1.18.1";
20806
+ const VERSION$1 = "1.20.0";
20340
20807
 
20341
20808
  function parseProtocol(url) {
20342
20809
  const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
@@ -20345,7 +20812,7 @@ function parseProtocol(url) {
20345
20812
 
20346
20813
  // RFC 2397: data:[<mediatype>][;base64],<data>
20347
20814
  // mediatype = type/subtype followed by optional ;name=value parameters
20348
- const DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
20815
+ const DATA_URL_PATTERN = /^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
20349
20816
 
20350
20817
  /**
20351
20818
  * Parse data uri to a Buffer or Blob
@@ -20388,9 +20855,10 @@ function fromDataURI(uri, asBlob, options) {
20388
20855
  mime = 'text/plain' + params;
20389
20856
  }
20390
20857
 
20391
- const buffer = encoding === 'base64'
20392
- ? Buffer.from(body, 'base64')
20393
- : Buffer.from(decodeURIComponent(body), encoding);
20858
+ const buffer =
20859
+ encoding === 'base64'
20860
+ ? Buffer.from(body, 'base64')
20861
+ : Buffer.from(decodeURIComponent(body), encoding);
20394
20862
 
20395
20863
  if (asBlob) {
20396
20864
  if (!_Blob) {
@@ -20406,6 +20874,32 @@ function fromDataURI(uri, asBlob, options) {
20406
20874
  throw new AxiosError$1('Unsupported protocol ' + protocol, AxiosError$1.ERR_NOT_SUPPORT);
20407
20875
  }
20408
20876
 
20877
+ const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];
20878
+
20879
+ /**
20880
+ * Apply the headers generated by a FormData implementation to the request headers,
20881
+ * honoring the `formDataHeaderPolicy` option: with 'content-only', copy only the
20882
+ * content-* headers; otherwise merge all of them.
20883
+ *
20884
+ * @param {AxiosHeaders} headers - the request headers to mutate
20885
+ * @param {Object | null | undefined} formHeaders - headers produced by the FormData implementation
20886
+ * @param {String} [policy] - the resolved `formDataHeaderPolicy` config value
20887
+ *
20888
+ * @returns {void}
20889
+ */
20890
+ function setFormDataHeaders(headers, formHeaders, policy) {
20891
+ if (policy !== 'content-only') {
20892
+ headers.set(formHeaders);
20893
+ return;
20894
+ }
20895
+
20896
+ Object.entries(formHeaders || {}).forEach(([key, val]) => {
20897
+ if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
20898
+ headers.set(key, val);
20899
+ }
20900
+ });
20901
+ }
20902
+
20409
20903
  const kInternals = Symbol('internals');
20410
20904
 
20411
20905
  class AxiosTransformStream extends stream.Transform {
@@ -20713,6 +21207,7 @@ class Http2Sessions {
20713
21207
 
20714
21208
  getSession(authority, options) {
20715
21209
  options = Object.assign(
21210
+ Object.create(null),
20716
21211
  {
20717
21212
  sessionTimeout: 1000,
20718
21213
  },
@@ -20803,6 +21298,7 @@ class Http2Sessions {
20803
21298
  }
20804
21299
 
20805
21300
  session.once('close', removeSession);
21301
+ session.once('error', removeSession);
20806
21302
 
20807
21303
  let entry = [session, options];
20808
21304
 
@@ -20831,6 +21327,16 @@ const callbackify = (fn, reducer) => {
20831
21327
 
20832
21328
  const LOOPBACK_HOSTNAMES = new Set(['localhost', '0.0.0.0']);
20833
21329
 
21330
+ const trimTrailingDots = (value) => {
21331
+ let end = value.length;
21332
+
21333
+ while (end && value.charCodeAt(end - 1) === 46) {
21334
+ end--;
21335
+ }
21336
+
21337
+ return end === value.length ? value : value.slice(0, end);
21338
+ };
21339
+
20834
21340
  const isIPv4Loopback = (host) => {
20835
21341
  const parts = host.split('.');
20836
21342
  if (parts.length !== 4) return false;
@@ -20838,6 +21344,112 @@ const isIPv4Loopback = (host) => {
20838
21344
  return parts.every((p) => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255);
20839
21345
  };
20840
21346
 
21347
+ /**
21348
+ * Canonicalize an IPv4 address written in shorthand, octal, or hex form into
21349
+ * dotted-decimal. IPv6 addresses and non-IP strings are returned unchanged so
21350
+ * the existing IPv4-mapped IPv6 unmap path and the isLoopback path can still
21351
+ * see them.
21352
+ *
21353
+ * Shorthand expansion mirrors Node's URL parser: literal parts fill from the
21354
+ * left, the final part fills the remaining octets from the right with
21355
+ * zero-padding on the left.
21356
+ * 127.1 -> 127.0.0.1
21357
+ * 127.0.1 -> 127.0.0.1
21358
+ * 1.2.3 -> 1.2.0.3
21359
+ *
21360
+ * Each octet is parsed with an explicit base: 16 for `0x`/`0X` prefix, 8 for
21361
+ * zero-prefixed multi-digit all-`0-7` parts, 10 otherwise. Zero-prefixed
21362
+ * decimal-looking parts that contain `8` or `9` are rejected to match Node's
21363
+ * URL parser, and the comparison layer falls through to non-bypass if either
21364
+ * side rejects the form (fail-safe).
21365
+ *
21366
+ * Returns the input unchanged on any parse failure, out-of-range octet, or
21367
+ * unusual shape (1-part, 5+ parts) so the comparison layer fails closed.
21368
+ */
21369
+ const parseIPv4Octet = (text) => {
21370
+ if (/^0[xX][0-9a-fA-F]+$/.test(text)) {
21371
+ const n = parseInt(text.slice(2), 16);
21372
+ return Number.isFinite(n) ? n : null;
21373
+ }
21374
+ if (text.length > 1 && /^0[0-7]+$/.test(text)) {
21375
+ const n = parseInt(text, 8);
21376
+ return Number.isFinite(n) ? n : null;
21377
+ }
21378
+ if (text.length > 1 && /^0[0-9]+$/.test(text)) {
21379
+ return null;
21380
+ }
21381
+ if (/^[0-9]+$/.test(text)) {
21382
+ const n = parseInt(text, 10);
21383
+ return Number.isFinite(n) ? n : null;
21384
+ }
21385
+ return null;
21386
+ };
21387
+
21388
+ const normalizeIPAddress = (host) => {
21389
+ if (typeof host !== 'string' || !host || host.indexOf(':') !== -1) {
21390
+ return host;
21391
+ }
21392
+
21393
+ let h = host;
21394
+ if (h.charAt(0) === '[' && h.charAt(h.length - 1) === ']') {
21395
+ h = h.slice(1, -1);
21396
+ }
21397
+ h = trimTrailingDots(h);
21398
+
21399
+ // Allowed characters for any IPv4 shape: digits, dot, 'x', 'X', hex digits.
21400
+ if (!/^[0-9.xXa-fA-F]+$/.test(h)) return host;
21401
+
21402
+ const parts = h.split('.');
21403
+
21404
+ // No part may be empty (e.g. "127..0.1" or "127.0.0."). Trailing dots are
21405
+ // already stripped above; this guards against the empty-middle case.
21406
+ if (parts.some((p) => p === '')) return host;
21407
+
21408
+ if (parts.length === 4) {
21409
+ // Full IPv4 form: each part is an octet.
21410
+ const octets = parts.map(parseIPv4Octet);
21411
+ if (octets.some((n) => n === null || n < 0 || n > 255)) return host;
21412
+ return octets.join('.');
21413
+ }
21414
+
21415
+ if (parts.length > 4) {
21416
+ return host;
21417
+ }
21418
+
21419
+ // Shorthand: 1..3 parts. Node's URL parser treats a 1-part input as a 32-bit
21420
+ // integer split into octets, which has surprising semantics (e.g. "127" ->
21421
+ // "0.0.0.127"). Reject 1-part inputs to keep the helper predictable: the
21422
+ // fail-safe returns the input unchanged and the comparison layer falls
21423
+ // through to non-bypass.
21424
+ if (parts.length === 1) return host;
21425
+
21426
+ // 2..3 parts: literal parts fill from the left, tail fills remaining octets
21427
+ // from the right with zero-padding.
21428
+ const literalOctets = parts.slice(0, -1);
21429
+ const tail = parts[parts.length - 1];
21430
+ const tailSlots = 4 - literalOctets.length;
21431
+
21432
+ // Tail is parsed as a full IPv4 number (hex/octal/decimal) and packed
21433
+ // low-byte-right into the remaining octets, matching Node's URL parser.
21434
+ // e.g. 127.65535 (tail 0xFFFF into 3 slots) -> 127.0.255.255;
21435
+ // 127.0x00ff (tail 0xFF into 3 slots) -> 127.0.0.255;
21436
+ // 127.0.65535 (tail 0xFFFF into 2 slots) -> 127.0.255.255.
21437
+ const tailValue = parseIPv4Octet(tail);
21438
+ if (tailValue === null) return host;
21439
+ const maxTail = (1 << (8 * tailSlots)) - 1;
21440
+ if (tailValue < 0 || tailValue > maxTail) return host;
21441
+
21442
+ const tailOctets = new Array(tailSlots).fill(0);
21443
+ for (let i = tailSlots - 1, v = tailValue; i >= 0; i--, v >>= 8) {
21444
+ tailOctets[i] = v & 0xff;
21445
+ }
21446
+
21447
+ const literal = literalOctets.map(parseIPv4Octet);
21448
+ if (literal.some((n) => n === null || n < 0 || n > 255)) return host;
21449
+
21450
+ return [...literal, ...tailOctets].join('.');
21451
+ };
21452
+
20841
21453
  const isIPv6ZeroGroup = (group) => /^0{1,4}$/.test(group);
20842
21454
 
20843
21455
  // The unspecified address (IPv4 0.0.0.0 / IPv6 ::) resolves to the local host
@@ -20859,9 +21471,7 @@ const isIPv6Unspecified = (host) => {
20859
21471
  const explicitGroups = leftGroups.length + rightGroups.length;
20860
21472
 
20861
21473
  return (
20862
- explicitGroups < 8 &&
20863
- leftGroups.every(isIPv6ZeroGroup) &&
20864
- rightGroups.every(isIPv6ZeroGroup)
21474
+ explicitGroups < 8 && leftGroups.every(isIPv6ZeroGroup) && rightGroups.every(isIPv6ZeroGroup)
20865
21475
  );
20866
21476
  }
20867
21477
 
@@ -20957,7 +21567,8 @@ const parseNoProxyEntry = (entry) => {
20957
21567
  // allowing the proxy-bypass policy to be circumvented by using the alternate
20958
21568
  // representation. Returns the input unchanged when not IPv4-mapped.
20959
21569
  const IPV4_MAPPED_DOTTED_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i;
20960
- const IPV4_MAPPED_HEX_RE = /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i;
21570
+ const IPV4_MAPPED_HEX_RE =
21571
+ /^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i;
20961
21572
 
20962
21573
  const unmapIPv4MappedIPv6 = (host) => {
20963
21574
  if (typeof host !== 'string' || host.indexOf(':') === -1) return host;
@@ -20975,6 +21586,57 @@ const unmapIPv4MappedIPv6 = (host) => {
20975
21586
  return host;
20976
21587
  };
20977
21588
 
21589
+ const IPV4_OCTET_RE = /^(?:0|[1-9]\d{0,2})$/;
21590
+
21591
+ const ipv4ToBytes = (host) => {
21592
+ const parts = host.split('.');
21593
+
21594
+ return parts.length === 4 &&
21595
+ parts.every((part) => IPV4_OCTET_RE.test(part) && Number(part) <= 255)
21596
+ ? parts.map(Number)
21597
+ : null;
21598
+ };
21599
+
21600
+ const IPV6_GROUP_RE = /^[0-9a-f]{1,4}$/i;
21601
+
21602
+ const ipv6ToBytes = (host) => {
21603
+ const halves = host.split('::');
21604
+
21605
+ if (halves.length > 2) {
21606
+ return null;
21607
+ }
21608
+
21609
+ const groups = halves[0] ? halves[0].split(':') : [];
21610
+
21611
+ if (halves.length === 2) {
21612
+ const rear = halves[1] ? halves[1].split(':') : [];
21613
+ const missing = 8 - groups.length - rear.length;
21614
+
21615
+ if (missing < 1) {
21616
+ return null;
21617
+ }
21618
+
21619
+ groups.push(...new Array(missing).fill('0'), ...rear);
21620
+ }
21621
+
21622
+ if (groups.length !== 8 || groups.some((group) => !IPV6_GROUP_RE.test(group))) {
21623
+ return null;
21624
+ }
21625
+
21626
+ return groups.flatMap((group) => {
21627
+ const value = Number.parseInt(group, 16);
21628
+ return [(value >> 8) & 0xff, value & 0xff];
21629
+ });
21630
+ };
21631
+
21632
+ const ipToBytes = (host) => {
21633
+ if (typeof host !== 'string' || !host) {
21634
+ return null;
21635
+ }
21636
+
21637
+ return host.indexOf(':') !== -1 ? ipv6ToBytes(host) : ipv4ToBytes(host);
21638
+ };
21639
+
20978
21640
  const normalizeNoProxyHost = (hostname) => {
20979
21641
  if (!hostname) {
20980
21642
  return hostname;
@@ -20984,7 +21646,120 @@ const normalizeNoProxyHost = (hostname) => {
20984
21646
  hostname = hostname.slice(1, -1);
20985
21647
  }
20986
21648
 
20987
- return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, ''));
21649
+ const trimmed = trimTrailingDots(hostname);
21650
+
21651
+ // IPv4 shorthand/octal/hex → dotted-decimal; helper is a no-op for inputs
21652
+ // containing ':' (IPv6 and IPv4-mapped IPv6) so we fall through to unmap.
21653
+ const ipv4 = normalizeIPAddress(trimmed);
21654
+ if (ipv4 !== trimmed) {
21655
+ return ipv4;
21656
+ }
21657
+
21658
+ return unmapIPv4MappedIPv6(trimmed);
21659
+ };
21660
+
21661
+ const normalizeCidrBase = (input) => {
21662
+ let base = input;
21663
+ const startsBracket = base.charAt(0) === '[';
21664
+ const endsBracket = base.charAt(base.length - 1) === ']';
21665
+ const hasBracket = base.includes('[') || base.includes(']');
21666
+
21667
+ if (startsBracket || endsBracket) {
21668
+ if (!startsBracket || !endsBracket) {
21669
+ return null;
21670
+ }
21671
+
21672
+ base = base.slice(1, -1);
21673
+
21674
+ if (base.indexOf(':') === -1 || base.includes('[') || base.includes(']')) {
21675
+ return null;
21676
+ }
21677
+ } else if (hasBracket) {
21678
+ return null;
21679
+ }
21680
+
21681
+ if (!base || base.charAt(base.length - 1) === '.') {
21682
+ return null;
21683
+ }
21684
+
21685
+ const wasIPv6 = base.indexOf(':') !== -1;
21686
+
21687
+ if (wasIPv6) {
21688
+ try {
21689
+ base = new URL(`http://[${base}]/`).hostname.slice(1, -1);
21690
+ } catch (_err) {
21691
+ return null;
21692
+ }
21693
+ } else {
21694
+ base = normalizeIPAddress(base);
21695
+
21696
+ if (!ipv4ToBytes(base)) {
21697
+ return null;
21698
+ }
21699
+ }
21700
+
21701
+ return { normalized: unmapIPv4MappedIPv6(base), wasIPv6 };
21702
+ };
21703
+
21704
+ const CIDR_ENTRY_RE = /^(.+)\/(0|[1-9]\d{0,2})$/;
21705
+
21706
+ const parseCidrEntry = (entry) => {
21707
+ if (entry.indexOf('/') === -1) {
21708
+ return undefined;
21709
+ }
21710
+
21711
+ const match = CIDR_ENTRY_RE.exec(entry);
21712
+
21713
+ if (!match) {
21714
+ return null;
21715
+ }
21716
+
21717
+ let prefix = Number(match[2]);
21718
+ const parsedBase = normalizeCidrBase(match[1]);
21719
+
21720
+ if (!parsedBase) {
21721
+ return null;
21722
+ }
21723
+
21724
+ const { normalized, wasIPv6 } = parsedBase;
21725
+
21726
+ if (wasIPv6 && normalized.indexOf(':') === -1) {
21727
+ if (prefix < 96) {
21728
+ return null;
21729
+ }
21730
+
21731
+ prefix -= 96;
21732
+ }
21733
+
21734
+ const bytes = ipToBytes(normalized);
21735
+
21736
+ if (!bytes || prefix > bytes.length * 8) {
21737
+ return null;
21738
+ }
21739
+
21740
+ return { bytes, prefix };
21741
+ };
21742
+
21743
+ const isInSubnet = (addressBytes, networkBytes, prefix) => {
21744
+ const fullBytes = prefix >> 3;
21745
+
21746
+ for (let i = 0; i < fullBytes; i++) {
21747
+ if (addressBytes[i] !== networkBytes[i]) {
21748
+ return false;
21749
+ }
21750
+ }
21751
+
21752
+ const remainingBits = prefix & 7;
21753
+
21754
+ if (remainingBits) {
21755
+ const mask = (0xff << (8 - remainingBits)) & 0xff;
21756
+
21757
+ if ((addressBytes[fullBytes] & mask) !== (networkBytes[fullBytes] & mask)) {
21758
+ return false;
21759
+ }
21760
+ }
21761
+
21762
+ return true;
20988
21763
  };
20989
21764
 
20990
21765
  function shouldBypassProxy(location) {
@@ -21010,12 +21785,28 @@ function shouldBypassProxy(location) {
21010
21785
  Number.parseInt(parsed.port, 10) || DEFAULT_PORTS[parsed.protocol.split(':', 1)[0]] || 0;
21011
21786
 
21012
21787
  const hostname = normalizeNoProxyHost(parsed.hostname.toLowerCase());
21788
+ const hostnameBytes = ipToBytes(hostname);
21013
21789
 
21014
21790
  return noProxy.split(/[\s,]+/).some((entry) => {
21015
21791
  if (!entry) {
21016
21792
  return false;
21017
21793
  }
21018
21794
 
21795
+ if (entry === '*') {
21796
+ return true;
21797
+ }
21798
+
21799
+ const cidr = parseCidrEntry(entry);
21800
+
21801
+ if (cidr !== undefined) {
21802
+ return (
21803
+ cidr !== null &&
21804
+ !!hostnameBytes &&
21805
+ hostnameBytes.length === cidr.bytes.length &&
21806
+ isInSubnet(hostnameBytes, cidr.bytes, cidr.prefix)
21807
+ );
21808
+ }
21809
+
21019
21810
  let [entryHost, entryPort] = parseNoProxyEntry(entry);
21020
21811
 
21021
21812
  entryHost = normalizeNoProxyHost(entryHost);
@@ -21096,7 +21887,7 @@ function speedometer(samplesCount, min) {
21096
21887
  * Throttle decorator
21097
21888
  * @param {Function} fn
21098
21889
  * @param {Number} freq
21099
- * @return {Function}
21890
+ * @return {Array<Function>}
21100
21891
  */
21101
21892
  function throttle(fn, freq) {
21102
21893
  let timestamp = 0;
@@ -21131,8 +21922,9 @@ function throttle(fn, freq) {
21131
21922
  };
21132
21923
 
21133
21924
  const flush = () => lastArgs && invoke(lastArgs);
21925
+ const flushWith = (...args) => invoke(args);
21134
21926
 
21135
- return [throttled, flush];
21927
+ return [throttled, flush, flushWith];
21136
21928
  }
21137
21929
 
21138
21930
  const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
@@ -21140,12 +21932,12 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
21140
21932
  const _speedometer = speedometer(50, 250);
21141
21933
 
21142
21934
  return throttle((e) => {
21143
- if (!e || typeof e.loaded !== 'number') {
21935
+ if (!e || !utils$3.isNumber(e.loaded)) {
21144
21936
  return;
21145
21937
  }
21146
21938
  const rawLoaded = e.loaded;
21147
21939
  const total = e.lengthComputable ? e.total : undefined;
21148
- const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
21940
+ const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);
21149
21941
  const progressBytes = Math.max(0, loaded - bytesNotified);
21150
21942
  const rate = _speedometer(progressBytes);
21151
21943
 
@@ -21182,18 +21974,16 @@ const progressEventDecorator = (total, throttled) => {
21182
21974
  };
21183
21975
 
21184
21976
  const asyncDecorator =
21185
- (fn) =>
21977
+ (fn, scheduler = utils$3.asap) =>
21186
21978
  (...args) =>
21187
- utils$3.asap(() => fn(...args));
21979
+ scheduler(() => fn(...args));
21188
21980
 
21189
21981
  /**
21190
- * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
21191
- * - For base64: compute exact decoded size using length and padding;
21192
- * handle %XX at the character-count level (no string allocation).
21193
- * - For non-base64: compute the exact percent-decoded UTF-8 byte length.
21194
- *
21195
- * @param {string} url
21196
- * @returns {number}
21982
+ * Estimate data: URL byte lengths *without* allocating large buffers.
21983
+ * - Fetch percent-decodes a base64 body before decoding it.
21984
+ * - Node's Buffer.from(body, 'base64') sizes its backing allocation from the
21985
+ * raw body, including ignored characters and content after padding.
21986
+ * - Non-base64 data is percent-decoded and then encoded as UTF-8.
21197
21987
  */
21198
21988
  const isHexDigit$1 = (charCode) =>
21199
21989
  (charCode >= 48 && charCode <= 57) ||
@@ -21203,64 +21993,101 @@ const isHexDigit$1 = (charCode) =>
21203
21993
  const isPercentEncodedByte = (str, i, len) =>
21204
21994
  i + 2 < len && isHexDigit$1(str.charCodeAt(i + 1)) && isHexDigit$1(str.charCodeAt(i + 2));
21205
21995
 
21206
- function estimateDataURLDecodedBytes(url) {
21207
- if (!url || typeof url !== 'string') return 0;
21208
- if (!url.startsWith('data:')) return 0;
21996
+ const hexValue = (charCode) => (charCode <= 57 ? charCode - 48 : (charCode & 0xdf) - 55);
21209
21997
 
21210
- const comma = url.indexOf(',');
21211
- if (comma < 0) return 0;
21998
+ const isBase64Char = (charCode) =>
21999
+ (charCode >= 65 && charCode <= 90) || // A-Z
22000
+ (charCode >= 97 && charCode <= 122) || // a-z
22001
+ (charCode >= 48 && charCode <= 57) || // 0-9
22002
+ charCode === 43 || // +
22003
+ charCode === 47 || // /
22004
+ charCode === 45 || // - (base64url)
22005
+ charCode === 95; // _ (base64url)
21212
22006
 
21213
- const meta = url.slice(5, comma);
21214
- const body = url.slice(comma + 1);
21215
- const isBase64 = /;base64/i.test(meta);
22007
+ const isBase64Whitespace = (charCode) =>
22008
+ charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;
21216
22009
 
21217
- if (isBase64) {
21218
- let effectiveLen = body.length;
21219
- const len = body.length; // cache length
22010
+ const base64Bytes = (significant) => {
22011
+ const groups = Math.floor(significant / 4);
22012
+ const remainder = significant % 4;
22013
+ return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);
22014
+ };
21220
22015
 
21221
- for (let i = 0; i < len; i++) {
21222
- if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
21223
- const a = body.charCodeAt(i + 1);
21224
- const b = body.charCodeAt(i + 2);
21225
- const isHex = isHexDigit$1(a) && isHexDigit$1(b);
22016
+ // Buffer.byteLength(body, 'base64') uses the raw string length as an allocation
22017
+ // upper bound even when Buffer.from later ignores characters or stops at '='.
22018
+ const estimateBase64BufferAllocation = (body) => {
22019
+ const len = body.length;
22020
+ let padding = 0;
21226
22021
 
21227
- if (isHex) {
21228
- effectiveLen -= 2;
21229
- i += 2;
21230
- }
21231
- }
22022
+ if (len > 0 && body.charCodeAt(len - 1) === 61 /* '=' */) {
22023
+ padding++;
22024
+
22025
+ if (len > 1 && body.charCodeAt(len - 2) === 61 /* '=' */) {
22026
+ padding++;
21232
22027
  }
22028
+ }
22029
+
22030
+ return Math.floor(((len - padding) * 3) / 4);
22031
+ };
21233
22032
 
21234
- let pad = 0;
21235
- let idx = len - 1;
22033
+ const estimatePercentDecodedBase64Bytes = (body) => {
22034
+ const len = body.length;
22035
+ let significant = 0;
22036
+ let padding = 0;
22037
+ let invalid = false;
21236
22038
 
21237
- const tailIsPct3D = (j) =>
21238
- j >= 2 &&
21239
- body.charCodeAt(j - 2) === 37 && // '%'
21240
- body.charCodeAt(j - 1) === 51 && // '3'
21241
- (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
22039
+ for (let i = 0; i < len; i++) {
22040
+ let code = body.charCodeAt(i);
21242
22041
 
21243
- if (idx >= 0) {
21244
- if (body.charCodeAt(idx) === 61 /* '=' */) {
21245
- pad++;
21246
- idx--;
21247
- } else if (tailIsPct3D(idx)) {
21248
- pad++;
21249
- idx -= 3;
21250
- }
22042
+ if (code === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {
22043
+ code = hexValue(body.charCodeAt(i + 1)) * 16 + hexValue(body.charCodeAt(i + 2));
22044
+ i += 2;
21251
22045
  }
21252
22046
 
21253
- if (pad === 1 && idx >= 0) {
21254
- if (body.charCodeAt(idx) === 61 /* '=' */) {
21255
- pad++;
21256
- } else if (tailIsPct3D(idx)) {
21257
- pad++;
21258
- }
22047
+ if (isBase64Whitespace(code)) {
22048
+ continue;
22049
+ }
22050
+
22051
+ if (code === 61 /* '=' */) {
22052
+ padding++;
22053
+ continue;
21259
22054
  }
21260
22055
 
21261
- const groups = Math.floor(effectiveLen / 4);
21262
- const bytes = groups * 3 - (pad || 0);
21263
- return bytes > 0 ? bytes : 0;
22056
+ if (!isBase64Char(code) || padding > 0) {
22057
+ invalid = true;
22058
+ continue;
22059
+ }
22060
+
22061
+ significant++;
22062
+ }
22063
+
22064
+ // Fetch rejects malformed forgiving-base64 input. Returning the raw-size
22065
+ // allocation bound keeps that invalid input from becoming a pre-check bypass.
22066
+ if (
22067
+ invalid ||
22068
+ padding > 2 ||
22069
+ (padding > 0 && (significant + padding) % 4 !== 0) ||
22070
+ significant % 4 === 1
22071
+ ) {
22072
+ return estimateBase64BufferAllocation(body);
22073
+ }
22074
+
22075
+ return base64Bytes(significant);
22076
+ };
22077
+
22078
+ const estimateDataURLBytes = (url, estimateBase64) => {
22079
+ if (!url || typeof url !== 'string') return 0;
22080
+ if (!url.startsWith('data:')) return 0;
22081
+
22082
+ const comma = url.indexOf(',');
22083
+ if (comma < 0) return 0;
22084
+
22085
+ const meta = url.slice(5, comma);
22086
+ const body = url.slice(comma + 1);
22087
+ const isBase64 = /;base64/i.test(meta);
22088
+
22089
+ if (isBase64) {
22090
+ return estimateBase64(body);
21264
22091
  }
21265
22092
 
21266
22093
  // Compute UTF-8 byte length directly from UTF-16 code units without allocating
@@ -21290,6 +22117,32 @@ function estimateDataURLDecodedBytes(url) {
21290
22117
  }
21291
22118
  }
21292
22119
  return bytes;
22120
+ };
22121
+
22122
+ /**
22123
+ * Estimate the percent-decoded payload size used by Fetch data: URLs.
22124
+ *
22125
+ * @param {string} url
22126
+ * @returns {number}
22127
+ */
22128
+ function estimateDataURLDecodedBytes(url) {
22129
+ // Fetch removes URL fragments before processing a data: URL.
22130
+ const fragmentIndex = typeof url === 'string' ? url.indexOf('#') : -1;
22131
+
22132
+ return estimateDataURLBytes(
22133
+ fragmentIndex === -1 ? url : url.slice(0, fragmentIndex),
22134
+ estimatePercentDecodedBase64Bytes
22135
+ );
22136
+ }
22137
+
22138
+ /**
22139
+ * Estimate the Buffer backing allocation used by Node's raw base64 decoder.
22140
+ *
22141
+ * @param {string} url
22142
+ * @returns {number}
22143
+ */
22144
+ function estimateDataURLBufferAllocation(url) {
22145
+ return estimateDataURLBytes(url, estimateBase64BufferAllocation);
21293
22146
  }
21294
22147
 
21295
22148
  const zlibOptions = {
@@ -21311,30 +22164,27 @@ const isBrotliSupported = utils$3.isFunction(zlib.createBrotliDecompress);
21311
22164
  const isZstdSupported = utils$3.isFunction(zlib.createZstdDecompress);
21312
22165
  const ACCEPT_ENCODING = 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : '');
21313
22166
  const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ', zstd' : '');
22167
+ const scheduleProgress =
22168
+ typeof process !== 'undefined' && process.nextTick ? process.nextTick.bind(process) : utils$3.asap;
21314
22169
 
21315
22170
  const { http: httpFollow, https: httpsFollow } = followRedirects;
21316
22171
 
21317
22172
  const isHttps = /https:?/;
21318
- const FORM_DATA_CONTENT_HEADERS$1 = ['content-type', 'content-length'];
21319
-
21320
- function setFormDataHeaders$1(headers, formHeaders, policy) {
21321
- if (policy !== 'content-only') {
21322
- headers.set(formHeaders);
21323
- return;
21324
- }
21325
-
21326
- Object.entries(formHeaders).forEach(([key, val]) => {
21327
- if (FORM_DATA_CONTENT_HEADERS$1.includes(key.toLowerCase())) {
21328
- headers.set(key, val);
21329
- }
21330
- });
21331
- }
21332
22173
 
21333
22174
  // Symbols used to bind a single 'error' listener to a pooled socket and track
21334
22175
  // the request currently owning that socket across keep-alive reuse (issue #10780).
21335
22176
  const kAxiosSocketListener = Symbol('axios.http.socketListener');
21336
22177
  const kAxiosCurrentReq = Symbol('axios.http.currentReq');
21337
22178
 
22179
+ // A shared listener avoids retaining an adapter context for the lifetime of a
22180
+ // pooled socket. EventEmitter invokes listeners with `this` set to the emitter.
22181
+ function handleSocketError(err) {
22182
+ const current = this[kAxiosCurrentReq];
22183
+ if (current && !current.destroyed) {
22184
+ current.destroy(err);
22185
+ }
22186
+ }
22187
+
21338
22188
  // Tags HttpsProxyAgent instances installed by setProxy() so the redirect path
21339
22189
  // can strip them without clobbering a user-supplied agent that happens to be
21340
22190
  // an HttpsProxyAgent.
@@ -21382,16 +22232,14 @@ function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.
21382
22232
  const agentOptions = agent && agent.options;
21383
22233
 
21384
22234
  return Boolean(
21385
- agentOptions &&
21386
- utils$3.hasOwnProp(agentOptions, 'proxyEnv') &&
21387
- agentOptions.proxyEnv != null
22235
+ agentOptions && utils$3.hasOwnProp(agentOptions, 'proxyEnv') && agentOptions.proxyEnv != null
21388
22236
  );
21389
22237
  }
21390
22238
 
21391
22239
  function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) {
21392
22240
  return isHttps.test(options.protocol)
21393
- ? (configHttpsAgent || https__default.globalAgent)
21394
- : (configHttpAgent || http$2.globalAgent);
22241
+ ? configHttpsAgent || https__default.globalAgent
22242
+ : configHttpAgent || http$2.globalAgent;
21395
22243
  }
21396
22244
 
21397
22245
  function getTunnelingAgent(agentOptions, userHttpsAgent) {
@@ -21404,17 +22252,18 @@ function getTunnelingAgent(agentOptions, userHttpsAgent) {
21404
22252
  '#' +
21405
22253
  (agentOptions.auth || '');
21406
22254
  const cache = userHttpsAgent
21407
- ? (tunnelingAgentCacheUser.get(userHttpsAgent) ||
21408
- tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent))
22255
+ ? tunnelingAgentCacheUser.get(userHttpsAgent) ||
22256
+ tunnelingAgentCacheUser.set(userHttpsAgent, new Map()).get(userHttpsAgent)
21409
22257
  : tunnelingAgentCache;
21410
22258
  let agent = cache.get(key);
21411
22259
  if (agent) return agent;
21412
22260
  // Forward the user's TLS options (custom CA, rejectUnauthorized, client cert,
21413
22261
  // etc.) into the tunneling agent so they apply to the origin TLS upgrade
21414
22262
  // performed after CONNECT. Our proxy fields take precedence on conflict.
21415
- const merged = userHttpsAgent && userHttpsAgent.options
21416
- ? { ...userHttpsAgent.options, ...agentOptions }
21417
- : agentOptions;
22263
+ const merged =
22264
+ userHttpsAgent && userHttpsAgent.options
22265
+ ? { ...userHttpsAgent.options, ...agentOptions }
22266
+ : agentOptions;
21418
22267
  agent = new HttpsProxyAgent$2(merged);
21419
22268
  if (userHttpsAgent && userHttpsAgent.options) {
21420
22269
  const originTLSOptions = { ...userHttpsAgent.options };
@@ -21511,13 +22360,22 @@ function isSameOriginRedirect(redirectOptions, requestDetails) {
21511
22360
  * @param {http.ClientRequestArgs} options
21512
22361
  * @param {AxiosProxyConfig} configProxy configuration from Axios options object
21513
22362
  * @param {string} location
21514
- *
21515
- * @returns {http.ClientRequestArgs}
21516
- */
21517
- function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) {
22363
+ * @param {boolean} [allowEnvProxy=true] whether environment proxy configuration can be used
22364
+ *
22365
+ * @returns {boolean} whether a proxy applies to the selected transport
22366
+ */
22367
+ function setProxy(
22368
+ options,
22369
+ configProxy,
22370
+ location,
22371
+ isRedirect,
22372
+ configHttpsAgent,
22373
+ configHttpAgent,
22374
+ allowEnvProxy = true
22375
+ ) {
21518
22376
  let proxy = configProxy;
21519
22377
  const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent);
21520
- if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) {
22378
+ if (!proxy && proxy !== false && allowEnvProxy && !isNodeEnvProxyEnabled(proxyEnvAgent)) {
21521
22379
  const proxyUrl = getProxyForUrl(location);
21522
22380
  if (proxyUrl) {
21523
22381
  if (!shouldBypassProxy(location)) {
@@ -21674,9 +22532,15 @@ function setProxy(options, configProxy, location, isRedirect, configHttpsAgent,
21674
22532
  redirectOptions.href,
21675
22533
  true,
21676
22534
  configHttpsAgent,
21677
- configHttpAgent
22535
+ configHttpAgent,
22536
+ allowEnvProxy
21678
22537
  );
21679
22538
  };
22539
+
22540
+ return Boolean(
22541
+ proxy ||
22542
+ (configProxy !== false && allowEnvProxy && isNodeEnvProxyEnabled(proxyEnvAgent))
22543
+ );
21680
22544
  }
21681
22545
 
21682
22546
  const isHttpAdapterSupported =
@@ -21711,7 +22575,7 @@ const wrapAsync = (asyncExecutor) => {
21711
22575
 
21712
22576
  const resolveFamily = ({ address, family }) => {
21713
22577
  if (!utils$3.isString(address)) {
21714
- throw TypeError('address must be a string');
22578
+ throw new AxiosError$1('address must be a string', AxiosError$1.ERR_BAD_OPTION_VALUE);
21715
22579
  }
21716
22580
  return {
21717
22581
  address,
@@ -21722,6 +22586,43 @@ const resolveFamily = ({ address, family }) => {
21722
22586
  const buildAddressEntry = (address, family) =>
21723
22587
  resolveFamily(utils$3.isObject(address) ? address : { address, family });
21724
22588
 
22589
+ const normalizedLookupCache = new WeakMap();
22590
+
22591
+ const normalizeLookup = (lookup) => {
22592
+ let normalized = normalizedLookupCache.get(lookup);
22593
+
22594
+ if (normalized) {
22595
+ return normalized;
22596
+ }
22597
+
22598
+ const callbackLookup = callbackify(lookup, (value) => (utils$3.isArray(value) ? value : [value]));
22599
+
22600
+ // Support opt.all, which is required by current Node.js releases.
22601
+ normalized = (hostname, opt, cb) => {
22602
+ callbackLookup(hostname, opt, (err, arg0, arg1) => {
22603
+ if (err) {
22604
+ return cb(err);
22605
+ }
22606
+
22607
+ let addresses;
22608
+
22609
+ try {
22610
+ addresses = utils$3.isArray(arg0)
22611
+ ? arg0.map((addr) => buildAddressEntry(addr))
22612
+ : [buildAddressEntry(arg0, arg1)];
22613
+ } catch (error) {
22614
+ return cb(error);
22615
+ }
22616
+
22617
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
22618
+ });
22619
+ };
22620
+
22621
+ normalizedLookupCache.set(lookup, normalized);
22622
+
22623
+ return normalized;
22624
+ };
22625
+
21725
22626
  const http2Transport = {
21726
22627
  request(options, cb) {
21727
22628
  const authority =
@@ -21786,6 +22687,7 @@ var httpAdapter = isHttpAdapterSupported &&
21786
22687
  let family = own('family');
21787
22688
  let httpVersion = own('httpVersion');
21788
22689
  if (httpVersion === undefined) httpVersion = 1;
22690
+ const rawHttpVersion = httpVersion;
21789
22691
  let http2Options = own('http2Options');
21790
22692
  const httpAgent = own('httpAgent');
21791
22693
  const httpsAgent = own('httpsAgent');
@@ -21803,34 +22705,36 @@ var httpAdapter = isHttpAdapterSupported &&
21803
22705
  let req;
21804
22706
  let connectPhaseTimer;
21805
22707
 
21806
- httpVersion = +httpVersion;
22708
+ try {
22709
+ httpVersion = +httpVersion;
22710
+ } catch (err) {
22711
+ throw new AxiosError$1(
22712
+ 'Invalid protocol version: value is not a number',
22713
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
22714
+ config
22715
+ );
22716
+ }
21807
22717
 
21808
22718
  if (Number.isNaN(httpVersion)) {
21809
- throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
22719
+ throw new AxiosError$1(
22720
+ `Invalid protocol version: '${rawHttpVersion}' is not a number`,
22721
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
22722
+ config
22723
+ );
21810
22724
  }
21811
22725
 
21812
22726
  if (httpVersion !== 1 && httpVersion !== 2) {
21813
- throw TypeError(`Unsupported protocol version '${httpVersion}'`);
22727
+ throw new AxiosError$1(
22728
+ `Unsupported protocol version '${httpVersion}'`,
22729
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
22730
+ config
22731
+ );
21814
22732
  }
21815
22733
 
21816
22734
  const isHttp2 = httpVersion === 2;
21817
22735
 
21818
22736
  if (lookup) {
21819
- const _lookup = callbackify(lookup, (value) => (utils$3.isArray(value) ? value : [value]));
21820
- // hotfix to support opt.all option which is required for node 20.x
21821
- lookup = (hostname, opt, cb) => {
21822
- _lookup(hostname, opt, (err, arg0, arg1) => {
21823
- if (err) {
21824
- return cb(err);
21825
- }
21826
-
21827
- const addresses = utils$3.isArray(arg0)
21828
- ? arg0.map((addr) => buildAddressEntry(addr))
21829
- : [buildAddressEntry(arg0, arg1)];
21830
-
21831
- opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
21832
- });
21833
- };
22737
+ lookup = normalizeLookup(lookup);
21834
22738
  }
21835
22739
 
21836
22740
  const abortEmitter = new EventEmitter();
@@ -21923,7 +22827,9 @@ var httpAdapter = isHttpAdapterSupported &&
21923
22827
  // prototype cannot influence URL base selection.
21924
22828
  const urlBase = socketPath
21925
22829
  ? 'http://localhost'
21926
- : (platform.hasBrowserEnv ? platform.origin : undefined);
22830
+ : platform.hasBrowserEnv
22831
+ ? platform.origin
22832
+ : undefined;
21927
22833
  const parsed = new URL(fullPath, urlBase);
21928
22834
  const protocol = parsed.protocol || supportedProtocols[0];
21929
22835
 
@@ -21932,7 +22838,7 @@ var httpAdapter = isHttpAdapterSupported &&
21932
22838
  if (maxContentLength > -1) {
21933
22839
  // Use the exact string passed to fromDataURI (the configured url); fall back to fullPath if needed.
21934
22840
  const dataUrl = String(own('url') || fullPath || '');
21935
- const estimated = estimateDataURLDecodedBytes(dataUrl);
22841
+ const estimated = estimateDataURLBufferAllocation(dataUrl);
21936
22842
 
21937
22843
  if (estimated > maxContentLength) {
21938
22844
  return reject(
@@ -22022,7 +22928,7 @@ var httpAdapter = isHttpAdapterSupported &&
22022
22928
  utils$3.isFunction(data.getHeaders) &&
22023
22929
  data.getHeaders !== Object.prototype.getHeaders
22024
22930
  ) {
22025
- setFormDataHeaders$1(headers, data.getHeaders(), own('formDataHeaderPolicy'));
22931
+ setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
22026
22932
 
22027
22933
  if (!headers.hasContentLength()) {
22028
22934
  try {
@@ -22097,7 +23003,7 @@ var httpAdapter = isHttpAdapterSupported &&
22097
23003
  data,
22098
23004
  progressEventDecorator(
22099
23005
  contentLength,
22100
- progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
23006
+ progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3)
22101
23007
  )
22102
23008
  )
22103
23009
  );
@@ -22132,7 +23038,7 @@ var httpAdapter = isHttpAdapterSupported &&
22132
23038
  return reject(
22133
23039
  AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config, null, null, {
22134
23040
  url: own('url'),
22135
- exists: true
23041
+ exists: true,
22136
23042
  })
22137
23043
  );
22138
23044
  }
@@ -22140,10 +23046,16 @@ var httpAdapter = isHttpAdapterSupported &&
22140
23046
  headers.set(
22141
23047
  'Accept-Encoding',
22142
23048
  utils$3.hasOwnProp(transitional, 'advertiseZstdAcceptEncoding') &&
22143
- transitional.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING,
23049
+ transitional.advertiseZstdAcceptEncoding === true
23050
+ ? ACCEPT_ENCODING_WITH_ZSTD
23051
+ : ACCEPT_ENCODING,
22144
23052
  false
22145
23053
  );
22146
23054
 
23055
+ if (isHttp2 && lookup) {
23056
+ http2Options = Object.assign(Object.create(null), http2Options, { lookup });
23057
+ }
23058
+
22147
23059
  // Null-prototype to block prototype pollution gadgets on properties read
22148
23060
  // directly by Node's http.request (e.g. insecureHTTPParser, lookup).
22149
23061
  const options = Object.assign(Object.create(null), {
@@ -22157,11 +23069,14 @@ var httpAdapter = isHttpAdapterSupported &&
22157
23069
  beforeRedirect: dispatchBeforeRedirect,
22158
23070
  beforeRedirects: Object.create(null),
22159
23071
  http2Options,
23072
+ createConnection: undefined,
22160
23073
  });
22161
23074
 
22162
23075
  // cacheable-lookup integration hotfix
22163
23076
  !utils$3.isUndefined(lookup) && (options.lookup = lookup);
22164
23077
 
23078
+ let proxyApplied = false;
23079
+
22165
23080
  if (socketPath) {
22166
23081
  if (typeof socketPath !== 'string') {
22167
23082
  return reject(
@@ -22197,13 +23112,17 @@ var httpAdapter = isHttpAdapterSupported &&
22197
23112
  ? parsed.hostname.slice(1, -1)
22198
23113
  : parsed.hostname;
22199
23114
  options.port = parsed.port;
22200
- setProxy(
23115
+ proxyApplied = setProxy(
22201
23116
  options,
22202
23117
  configProxy,
22203
23118
  protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path,
22204
23119
  false,
22205
23120
  httpsAgent,
22206
- httpAgent
23121
+ httpAgent,
23122
+ // The HTTP/2 transport connects independently of HTTP/1 agents, so it
23123
+ // cannot apply either axios-resolved or agent-local environment proxies.
23124
+ // Explicit proxy config is still processed and rejected below.
23125
+ !isHttp2
22207
23126
  );
22208
23127
  }
22209
23128
  let transport;
@@ -22221,6 +23140,16 @@ var httpAdapter = isHttpAdapterSupported &&
22221
23140
  }
22222
23141
 
22223
23142
  if (isHttp2) {
23143
+ if (proxyApplied) {
23144
+ return reject(
23145
+ new AxiosError$1(
23146
+ 'HTTP/2 requests with a proxy are not supported',
23147
+ AxiosError$1.ERR_NOT_SUPPORT,
23148
+ config
23149
+ )
23150
+ );
23151
+ }
23152
+
22224
23153
  transport = http2Transport;
22225
23154
  } else {
22226
23155
  const configTransport = own('transport');
@@ -22335,7 +23264,11 @@ var httpAdapter = isHttpAdapterSupported &&
22335
23264
  transformStream,
22336
23265
  progressEventDecorator(
22337
23266
  responseLength,
22338
- progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
23267
+ progressEventReducer(
23268
+ asyncDecorator(onDownloadProgress, scheduleProgress),
23269
+ true,
23270
+ 3
23271
+ )
22339
23272
  )
22340
23273
  )
22341
23274
  );
@@ -22533,18 +23466,10 @@ var httpAdapter = isHttpAdapterSupported &&
22533
23466
  socket.setKeepAlive(true, 1000 * 60);
22534
23467
  }
22535
23468
 
22536
- // Install a single 'error' listener per socket (not per request) to avoid
22537
- // accumulating listeners on pooled keep-alive sockets that get reassigned
22538
- // to new requests before the previous request's 'close' fires (issue #10780).
22539
- // The listener is bound to the socket's currently-active request via a
22540
- // symbol, which is swapped as the socket is reassigned.
23469
+ // Install one shared 'error' listener per socket. The symbol follows the
23470
+ // currently-active request as pooled sockets are reassigned (issue #10780).
22541
23471
  if (!socket[kAxiosSocketListener]) {
22542
- socket.on('error', function handleSocketError(err) {
22543
- const current = socket[kAxiosCurrentReq];
22544
- if (current && !current.destroyed) {
22545
- current.destroy(err);
22546
- }
22547
- });
23472
+ socket.on('error', handleSocketError);
22548
23473
  socket[kAxiosSocketListener] = true;
22549
23474
  }
22550
23475
 
@@ -22746,6 +23671,17 @@ var cookies = platform.hasStandardBrowserEnv
22746
23671
 
22747
23672
  const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing);
22748
23673
 
23674
+ const ownEnumerableKeys = (thing) => {
23675
+ if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
23676
+ return Object.keys(thing).concat(
23677
+ Object.getOwnPropertySymbols(thing).filter(
23678
+ (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable
23679
+ )
23680
+ );
23681
+ }
23682
+ return Object.keys(thing);
23683
+ };
23684
+
22749
23685
  /**
22750
23686
  * Config-specific merge-function which creates a new config-object
22751
23687
  * by merging two configuration objects together.
@@ -22811,7 +23747,9 @@ function mergeConfig$1(config1, config2) {
22811
23747
  }
22812
23748
 
22813
23749
  function getMergedTransitionalOption(prop) {
22814
- const transitional2 = utils$3.hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;
23750
+ const transitional2 = utils$3.hasOwnProp(config2, 'transitional')
23751
+ ? config2.transitional
23752
+ : undefined;
22815
23753
 
22816
23754
  if (!utils$3.isUndefined(transitional2)) {
22817
23755
  if (utils$3.isPlainObject(transitional2)) {
@@ -22823,7 +23761,9 @@ function mergeConfig$1(config1, config2) {
22823
23761
  }
22824
23762
  }
22825
23763
 
22826
- const transitional1 = utils$3.hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;
23764
+ const transitional1 = utils$3.hasOwnProp(config1, 'transitional')
23765
+ ? config1.transitional
23766
+ : undefined;
22827
23767
 
22828
23768
  if (utils$3.isPlainObject(transitional1) && utils$3.hasOwnProp(transitional1, prop)) {
22829
23769
  return transitional1[prop];
@@ -22850,7 +23790,7 @@ function mergeConfig$1(config1, config2) {
22850
23790
  transformResponse: defaultToConfig2,
22851
23791
  paramsSerializer: defaultToConfig2,
22852
23792
  timeout: defaultToConfig2,
22853
- timeoutMessage: defaultToConfig2,
23793
+ timeoutErrorMessage: defaultToConfig2,
22854
23794
  withCredentials: defaultToConfig2,
22855
23795
  withXSRFToken: defaultToConfig2,
22856
23796
  adapter: defaultToConfig2,
@@ -22875,7 +23815,7 @@ function mergeConfig$1(config1, config2) {
22875
23815
  mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
22876
23816
  };
22877
23817
 
22878
- utils$3.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
23818
+ utils$3.forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {
22879
23819
  if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
22880
23820
  const merge = utils$3.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
22881
23821
  const a = utils$3.hasOwnProp(config1, prop) ? config1[prop] : undefined;
@@ -22899,21 +23839,6 @@ function mergeConfig$1(config1, config2) {
22899
23839
  return config;
22900
23840
  }
22901
23841
 
22902
- const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];
22903
-
22904
- function setFormDataHeaders(headers, formHeaders, policy) {
22905
- if (policy !== 'content-only') {
22906
- headers.set(formHeaders);
22907
- return;
22908
- }
22909
-
22910
- Object.entries(formHeaders || {}).forEach(([key, val]) => {
22911
- if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
22912
- headers.set(key, val);
22913
- }
22914
- });
22915
- }
22916
-
22917
23842
  /**
22918
23843
  * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
22919
23844
  * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
@@ -22968,15 +23893,17 @@ function resolveConfig(config) {
22968
23893
  }
22969
23894
 
22970
23895
  if (utils$3.isFormData(data)) {
23896
+ const getHeaders = utils$3.getSafeProp(data, 'getHeaders');
23897
+
22971
23898
  if (
22972
23899
  platform.hasStandardBrowserEnv ||
22973
23900
  platform.hasStandardBrowserWebWorkerEnv ||
22974
23901
  utils$3.isReactNative(data)
22975
23902
  ) {
22976
23903
  headers.setContentType(undefined); // browser/web worker/RN handles it
22977
- } else if (utils$3.isFunction(data.getHeaders)) {
23904
+ } else if (utils$3.isFunction(getHeaders)) {
22978
23905
  // Node.js FormData (like form-data package)
22979
- setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
23906
+ setFormDataHeaders(headers, getHeaders.call(data), own('formDataHeaderPolicy'));
22980
23907
  }
22981
23908
  }
22982
23909
 
@@ -23018,7 +23945,7 @@ var xhrAdapter = isXHRAdapterSupported &&
23018
23945
  let { responseType, onUploadProgress, onDownloadProgress } = _config;
23019
23946
  let onCanceled;
23020
23947
  let uploadThrottled, downloadThrottled;
23021
- let flushUpload, flushDownload;
23948
+ let flushUpload, flushDownload, flushDownloadWithEvent;
23022
23949
 
23023
23950
  function done() {
23024
23951
  flushUpload && flushUpload(); // flush events
@@ -23036,10 +23963,55 @@ var xhrAdapter = isXHRAdapterSupported &&
23036
23963
  // Set the request timeout in MS
23037
23964
  request.timeout = _config.timeout;
23038
23965
 
23039
- function onloadend() {
23966
+ function onloadend(event) {
23967
+ if (!request) {
23968
+ return;
23969
+ }
23970
+
23971
+ // Status 0 means no response was received, which onerror and onabort normally
23972
+ // reject before this runs. Firefox 152 fires only readystatechange and loadend for
23973
+ // navigation-canceled requests (https://bugzilla.mozilla.org/show_bug.cgi?id=1505389),
23974
+ // leaving settle() to resolve them as an empty success. ECONNABORTED is the error
23975
+ // onabort raised on Firefox 151. Reads over file:, which some environments report as
23976
+ // status 0 on success, are excluded by the request URL's scheme after browser-style
23977
+ // preprocessing, by the page origin's scheme for relative URLs (which inherit it), or
23978
+ // by responseURL where implemented.
23979
+ if (
23980
+ request.status === 0 &&
23981
+ (parseProtocol(normalizeURLForProtocolCheck(_config.url)) ||
23982
+ parseProtocol(platform.origin)) !== 'file' &&
23983
+ !(request.responseURL && request.responseURL.startsWith('file:'))
23984
+ ) {
23985
+ reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
23986
+ done();
23987
+
23988
+ // Clean up request
23989
+ request = null;
23990
+ return;
23991
+ }
23992
+
23993
+ // When loadend is still dispatching, flushing with it gives progress
23994
+ // listeners a final delivery whose event has a live target. The legacy
23995
+ // ready-state fallback has no event, so replay its pending progress.
23996
+ // A throwing listener must not block settlement; rethrow asynchronously,
23997
+ // matching how listener errors surface on the throttle timer path.
23998
+ try {
23999
+ if (event) {
24000
+ flushDownloadWithEvent && flushDownloadWithEvent(event);
24001
+ } else {
24002
+ flushDownload && flushDownload();
24003
+ }
24004
+ } catch (err) {
24005
+ setTimeout(() => {
24006
+ throw err;
24007
+ });
24008
+ }
24009
+
24010
+ // A final progress callback can cancel the request synchronously.
23040
24011
  if (!request) {
23041
24012
  return;
23042
24013
  }
24014
+
23043
24015
  // Prepare the response
23044
24016
  const responseHeaders = AxiosHeaders$1.from(
23045
24017
  'getAllResponseHeaders' in request && request.getAllResponseHeaders()
@@ -23171,7 +24143,10 @@ var xhrAdapter = isXHRAdapterSupported &&
23171
24143
 
23172
24144
  // Handle progress if needed
23173
24145
  if (onDownloadProgress) {
23174
- [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
24146
+ [downloadThrottled, flushDownload, flushDownloadWithEvent] = progressEventReducer(
24147
+ onDownloadProgress,
24148
+ true
24149
+ );
23175
24150
  request.addEventListener('progress', downloadThrottled);
23176
24151
  }
23177
24152
 
@@ -23267,7 +24242,18 @@ const composeSignals = (signals, timeout) => {
23267
24242
  signals = null;
23268
24243
  };
23269
24244
 
23270
- signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));
24245
+ signals.forEach((signal) => {
24246
+ if (aborted) {
24247
+ return;
24248
+ }
24249
+
24250
+ if (signal.aborted) {
24251
+ onabort.call(signal);
24252
+ return;
24253
+ }
24254
+
24255
+ signal.addEventListener('abort', onabort, { once: true });
24256
+ });
23271
24257
 
23272
24258
  const { signal } = controller;
23273
24259
 
@@ -23368,6 +24354,18 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
23368
24354
 
23369
24355
  const DEFAULT_CHUNK_SIZE = 64 * 1024;
23370
24356
 
24357
+ const DEFAULT_REQUEST_OPTIONS = {
24358
+ cache: 'default',
24359
+ redirect: 'follow',
24360
+ referrer: 'about:client',
24361
+ referrerPolicy: '',
24362
+ mode: 'cors',
24363
+ integrity: '',
24364
+ keepalive: false,
24365
+ priority: 'auto',
24366
+ window: null,
24367
+ };
24368
+
23371
24369
  const { isFunction: isFunction$2 } = utils$3;
23372
24370
 
23373
24371
  /**
@@ -23418,9 +24416,7 @@ const maybeWithAuthCredentials = (url) => {
23418
24416
 
23419
24417
  const factory$1 = (env) => {
23420
24418
  const globalObject =
23421
- utils$3.global !== undefined && utils$3.global !== null
23422
- ? utils$3.global
23423
- : globalThis;
24419
+ utils$3.global !== undefined && utils$3.global !== null ? utils$3.global : globalThis;
23424
24420
  const { ReadableStream, TextEncoder } = globalObject;
23425
24421
 
23426
24422
  env = utils$3.merge.call(
@@ -23559,6 +24555,7 @@ const factory$1 = (env) => {
23559
24555
  fetchOptions,
23560
24556
  maxContentLength,
23561
24557
  maxBodyLength,
24558
+ maxRedirects,
23562
24559
  } = resolveConfig(config);
23563
24560
 
23564
24561
  const hasMaxContentLength = utils$3.isNumber(maxContentLength) && maxContentLength > -1;
@@ -23609,7 +24606,7 @@ const factory$1 = (env) => {
23609
24606
  const password = utils$3.getSafeProp(configAuth, 'password') || '';
23610
24607
  auth = {
23611
24608
  username,
23612
- password
24609
+ password,
23613
24610
  };
23614
24611
  }
23615
24612
 
@@ -23621,7 +24618,7 @@ const factory$1 = (env) => {
23621
24618
  const urlPassword = decodeURIComponentSafe(parsedURL.password);
23622
24619
  auth = {
23623
24620
  username: urlUsername,
23624
- password: urlPassword
24621
+ password: urlPassword,
23625
24622
  };
23626
24623
  }
23627
24624
 
@@ -23695,7 +24692,9 @@ const factory$1 = (env) => {
23695
24692
  (onUploadProgress || mustEnforceStreamBody)
23696
24693
  ) {
23697
24694
  requestContentLength =
23698
- requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
24695
+ requestContentLength == null
24696
+ ? await resolveBodyLength(headers, data)
24697
+ : requestContentLength;
23699
24698
 
23700
24699
  // A declared length of 0 is only trusted to skip the wrap when we are
23701
24700
  // not enforcing a stream limit (which must not rely on that header).
@@ -23708,7 +24707,10 @@ const factory$1 = (env) => {
23708
24707
 
23709
24708
  let contentTypeHeader;
23710
24709
 
23711
- if (utils$3.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
24710
+ if (
24711
+ utils$3.isFormData(data) &&
24712
+ (contentTypeHeader = _request.headers.get('content-type'))
24713
+ ) {
23712
24714
  headers.setContentType(contentTypeHeader);
23713
24715
  }
23714
24716
 
@@ -23771,20 +24773,57 @@ const factory$1 = (env) => {
23771
24773
  // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)
23772
24774
  headers.set('User-Agent', 'axios/' + VERSION$1, false);
23773
24775
 
23774
- const resolvedOptions = {
23775
- ...fetchOptions,
24776
+ const safeFetchOptions =
24777
+ fetchOptions == null ? fetchOptions : Object.assign(Object.create(null), fetchOptions);
24778
+
24779
+ if (safeFetchOptions) {
24780
+ // These options are owned by Axios and are already reflected in the
24781
+ // resolved Request passed to fetch.
24782
+ delete safeFetchOptions.body;
24783
+ delete safeFetchOptions.headers;
24784
+ delete safeFetchOptions.method;
24785
+ delete safeFetchOptions.signal;
24786
+ delete safeFetchOptions.duplex;
24787
+ delete safeFetchOptions.credentials;
24788
+ }
24789
+
24790
+ const resolvedOptions = Object.assign(Object.create(null), safeFetchOptions, {
23776
24791
  signal: composedSignal,
23777
24792
  method: method.toUpperCase(),
23778
24793
  headers: toByteStringHeaderObject(headers.normalize()),
23779
24794
  body: data,
23780
24795
  duplex: 'half',
23781
24796
  credentials: isCredentialsSupported ? withCredentials : undefined,
23782
- };
24797
+ });
24798
+
24799
+ if (isRequestSupported) {
24800
+ utils$3.forEach(DEFAULT_REQUEST_OPTIONS, (value, key) => {
24801
+ if (resolvedOptions[key] === undefined) {
24802
+ resolvedOptions[key] = value;
24803
+ }
24804
+ });
24805
+
24806
+ if (resolvedOptions.signal === undefined) {
24807
+ resolvedOptions.signal = null;
24808
+ }
24809
+
24810
+ if (resolvedOptions.body === undefined) {
24811
+ resolvedOptions.body = null;
24812
+ }
24813
+ }
24814
+
24815
+ if (maxRedirects === 0) {
24816
+ resolvedOptions.redirect = 'manual';
24817
+
24818
+ if (safeFetchOptions) {
24819
+ safeFetchOptions.redirect = 'manual';
24820
+ }
24821
+ }
23783
24822
 
23784
24823
  request = isRequestSupported && new Request(url, resolvedOptions);
23785
24824
 
23786
24825
  let response = await (isRequestSupported
23787
- ? _fetch(request, fetchOptions)
24826
+ ? _fetch(request, safeFetchOptions)
23788
24827
  : _fetch(url, resolvedOptions));
23789
24828
 
23790
24829
  const responseHeaders = AxiosHeaders$1.from(response.headers);
@@ -24142,10 +25181,15 @@ function throwIfCancellationRequested(config) {
24142
25181
  *
24143
25182
  * @returns {Promise} The Promise to be fulfilled
24144
25183
  */
24145
- function dispatchRequest(config) {
25184
+ function dispatchRequest(_config) {
25185
+ // Interceptors may replace the merged config with an ordinary object. Flatten
25186
+ // it at the dispatch boundary so shared prototype members cannot become
25187
+ // request behavior, while preserving intentional template/class members.
25188
+ const config = utils$3.toSafeFlatObject(_config);
25189
+
24146
25190
  throwIfCancellationRequested(config);
24147
25191
 
24148
- config.headers = AxiosHeaders$1.from(config.headers);
25192
+ config.headers = AxiosHeaders$1.from(utils$3.getSafeProp(config, 'headers'));
24149
25193
 
24150
25194
  // Transform request data
24151
25195
  config.data = transformData.call(config, config.transformRequest);
@@ -24338,21 +25382,21 @@ let Axios$1 = class Axios {
24338
25382
  return await this._request(configOrUrl, config);
24339
25383
  } catch (err) {
24340
25384
  if (err instanceof Error) {
24341
- let dummy = {};
25385
+ try {
25386
+ let dummy = {};
24342
25387
 
24343
- Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
25388
+ Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
24344
25389
 
24345
- // slice off the Error: ... line
24346
- const stack = (() => {
24347
- if (!dummy.stack) {
24348
- return '';
24349
- }
25390
+ const dummyStack = dummy.stack;
25391
+ let stack = '';
24350
25392
 
24351
- const firstNewlineIndex = dummy.stack.indexOf('\n');
25393
+ // slice off the Error: ... line
25394
+ if (typeof dummyStack === 'string') {
25395
+ const firstNewlineIndex = dummyStack.indexOf('\n');
25396
+
25397
+ stack = firstNewlineIndex === -1 ? '' : dummyStack.slice(firstNewlineIndex + 1);
25398
+ }
24352
25399
 
24353
- return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);
24354
- })();
24355
- try {
24356
25400
  if (!err.stack) {
24357
25401
  err.stack = stack;
24358
25402
  // match without the 2 top stack lines
@@ -24368,7 +25412,7 @@ let Axios$1 = class Axios {
24368
25412
  }
24369
25413
  }
24370
25414
  } catch (e) {
24371
- // ignore the case where "stack" is an un-writable property
25415
+ // Ignore failures from custom stack hooks or un-writable stack properties.
24372
25416
  }
24373
25417
  }
24374
25418
 
@@ -24439,13 +25483,17 @@ let Axios$1 = class Axios {
24439
25483
  );
24440
25484
 
24441
25485
  // Set config.method
24442
- config.method = (config.method || this.defaults.method || 'get').toLowerCase();
25486
+ config.method = (
25487
+ utils$3.getSafeProp(config, 'method') ||
25488
+ utils$3.getSafeProp(this.defaults, 'method') ||
25489
+ 'get'
25490
+ ).toLowerCase();
24443
25491
 
24444
25492
  // Flatten headers
24445
25493
  let contextHeaders = headers && utils$3.merge(headers.common, headers[config.method]);
24446
25494
 
24447
25495
  headers &&
24448
- utils$3.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {
25496
+ utils$3.forEach(methodList.concat('common'), (method) => {
24449
25497
  delete headers[method];
24450
25498
  });
24451
25499
 
@@ -24504,17 +25552,35 @@ let Axios$1 = class Axios {
24504
25552
  const onFulfilled = requestInterceptorChain[i++];
24505
25553
  const onRejected = requestInterceptorChain[i++];
24506
25554
  try {
24507
- newConfig = onFulfilled(newConfig);
25555
+ newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
24508
25556
  } catch (error) {
24509
- onRejected.call(this, error);
25557
+ if (!onRejected) {
25558
+ promise = Promise.reject(error);
25559
+ break;
25560
+ }
25561
+
25562
+ try {
25563
+ const rejectedResult = onRejected.call(this, error);
25564
+
25565
+ if (utils$3.isThenable(rejectedResult)) {
25566
+ promise = Promise.resolve(rejectedResult).then(() =>
25567
+ dispatchRequest.call(this, newConfig)
25568
+ );
25569
+ }
25570
+ } catch (rejectedError) {
25571
+ promise = Promise.reject(rejectedError);
25572
+ }
25573
+
24510
25574
  break;
24511
25575
  }
24512
25576
  }
24513
25577
 
24514
- try {
24515
- promise = dispatchRequest.call(this, newConfig);
24516
- } catch (error) {
24517
- return Promise.reject(error);
25578
+ if (!promise) {
25579
+ try {
25580
+ promise = dispatchRequest.call(this, newConfig);
25581
+ } catch (error) {
25582
+ promise = Promise.reject(error);
25583
+ }
24518
25584
  }
24519
25585
 
24520
25586
  i = 0;
@@ -24780,14 +25846,22 @@ const HttpStatusCode$1 = {
24780
25846
  Gone: 410,
24781
25847
  LengthRequired: 411,
24782
25848
  PreconditionFailed: 412,
25849
+ /**
25850
+ * @deprecated Use `ContentTooLarge` instead.
25851
+ */
24783
25852
  PayloadTooLarge: 413,
25853
+ ContentTooLarge: 413,
24784
25854
  UriTooLong: 414,
24785
25855
  UnsupportedMediaType: 415,
24786
25856
  RangeNotSatisfiable: 416,
24787
25857
  ExpectationFailed: 417,
24788
25858
  ImATeapot: 418,
24789
25859
  MisdirectedRequest: 421,
25860
+ /**
25861
+ * @deprecated Use `UnprocessableContent` instead.
25862
+ */
24790
25863
  UnprocessableEntity: 422,
25864
+ UnprocessableContent: 422,
24791
25865
  Locked: 423,
24792
25866
  FailedDependency: 424,
24793
25867
  TooEarly: 425,
@@ -24807,6 +25881,7 @@ const HttpStatusCode$1 = {
24807
25881
  LoopDetected: 508,
24808
25882
  NotExtended: 510,
24809
25883
  NetworkAuthenticationRequired: 511,
25884
+ WebServerReturnsAnUnknownError: 520,
24810
25885
  WebServerIsDown: 521,
24811
25886
  ConnectionTimedOut: 522,
24812
25887
  OriginIsUnreachable: 523,
@@ -24816,7 +25891,9 @@ const HttpStatusCode$1 = {
24816
25891
  };
24817
25892
 
24818
25893
  Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
24819
- HttpStatusCode$1[value] = key;
25894
+ if (HttpStatusCode$1[value] === undefined) {
25895
+ HttpStatusCode$1[value] = key;
25896
+ }
24820
25897
  });
24821
25898
 
24822
25899
  /**
@@ -48126,7 +49203,13 @@ const VertexStateStateFilterSchema = z.looseObject({
48126
49203
  op: z.literal('STATE').describe('Match by state status value'),
48127
49204
  input: VertexStateFilterLazy.optional().describe('Nested filter to apply before this predicate'),
48128
49205
  not: z.boolean().optional().describe('Negate the predicate when true'),
48129
- state: z.array(z.number()).optional().describe('State status codes to match'),
49206
+ stateId: z
49207
+ .array(z.number())
49208
+ .optional()
49209
+ .describe('State status codes to match (0 UNKNOWN, 1 OK, 2 MINOR, 3 MAJOR, 4 CRITICAL). The wire key is `stateId`; a `state` key is silently ignored by the server and matches nothing'),
49210
+ }).refine((v) => !('state' in v), {
49211
+ message: 'STATE filter key is "stateId"; "state" is silently ignored by the server and matches nothing',
49212
+ path: ['state'],
48130
49213
  });
48131
49214
  /** Restricts to states on the given vertices. */
48132
49215
  const VertexStateVertexIdFilterSchema = z.looseObject({
@@ -48411,7 +49494,9 @@ const TasFollowPathFlowFilterSchema = z.enum([
48411
49494
  * - `LEFT` (default if omitted) — all of input + matching right rows
48412
49495
  * - `RIGHT` — all of rightInput + matching left rows
48413
49496
  * - `INNER` — only topology with cross-layer joins
48414
- * - `NOT` — anti-join (Java-side support; not in public AsciiDoc)
49497
+ * - `NOT` — documented as "input without a cross-layer join to rightInput"; measured
49498
+ * (2026-10-15) as "input vertices with no edges at all", whatever rightInput is. The
49499
+ * documented anti-join is `AND[input, NOT(JOIN INNER input × right)]` (findings ledger).
48415
49500
  */
48416
49501
  const TasJoinTypeSchema = z.enum(['LEFT', 'INNER', 'RIGHT', 'NOT']);
48417
49502
  /**
@@ -49112,7 +50197,8 @@ const TasOrderSchema = z.looseObject({
49112
50197
  * - `filter` — primary filter (the workhorse)
49113
50198
  * - `universe` — restricts the working set *before* `filter` is applied
49114
50199
  * - `postFilter` — applied *after* `filter` (e.g. for ADD_TRANSITIONING_EDGES)
49115
- * - `stateFilter` — equivalent to wrapping the result in a STATUS filter
50200
+ * - `stateFilter` — narrows `states[]` only (with `includeStatus`); does
50201
+ * NOT prune the graph — use the STATUS filter for that
49116
50202
  *
49117
50203
  * The `variables[]` array declares named sub-filters reusable via
49118
50204
  * `{ "op": "VARIABLE", "name": ... }` references inside any filter.
@@ -49149,7 +50235,7 @@ const TasQuerySchema = z.looseObject({
49149
50235
  .optional()
49150
50236
  .describe('Named authorization view to scope results by RBAC'),
49151
50237
  postFilter: TasFilterSchema.optional().describe('Filter applied after `filter` and `universe` (typical home for ADD_TRANSITIONING_EDGES)'),
49152
- stateFilter: VertexStateFilterSchema.optional().describe('Vertex-state predicate applied alongside `filter` (equivalent to wrapping in a STATUS filter)'),
50238
+ stateFilter: VertexStateFilterSchema.optional().describe('Vertex-state predicate that narrows the `states[]` response array only (requires `includeStatus`); vertices are still returned regardless of status. To prune the graph by status use the STATUS filter'),
49153
50239
  includeStatus: z
49154
50240
  .boolean()
49155
50241
  .optional()
@@ -49261,8 +50347,9 @@ const TasAttributeAlertStatisticsSchema = z.looseObject({
49261
50347
  .describe('Number of vertices that carry this value (Java spelling: "occurances")'),
49262
50348
  vertexIds: z
49263
50349
  .array(z.number())
50350
+ .nullable()
49264
50351
  .optional()
49265
- .describe('Vertex IDs carrying this value; only populated when the source filter set includeIds=true'),
50352
+ .describe('Vertex IDs carrying this value; only populated when the source filter set includeIds=true, otherwise null or absent'),
49266
50353
  alerts: z.number().optional(),
49267
50354
  cautionAlerts: z.number().optional(),
49268
50355
  dangerAlerts: z.number().optional(),
@@ -49280,7 +50367,9 @@ const TasCollectAttributeResultSchema = TasAnalyticBaseSchema.extend({
49280
50367
  const TasAttributeNameSchema = z.looseObject({
49281
50368
  name: z.string().optional().describe('Attribute name (key) present on a vertex'),
49282
50369
  layer: z.string().optional().describe('Layer the attribute belongs to'),
49283
- type: TasAttributeTypeSchema.optional().describe('Attribute type classification'),
50370
+ type: TasAttributeTypeSchema.nullable()
50371
+ .optional()
50372
+ .describe('Attribute type classification; null in the entry COLLECT_CARD_INFO adds beside its own'),
49284
50373
  });
49285
50374
  /**
49286
50375
  * Result of a COLLECT_ATTRIBUTE_NAMES filter.
@@ -49330,7 +50419,8 @@ const TasCollectGroupingInfoResultSchema = TasAnalyticBaseSchema.extend({
49330
50419
  values: z.array(TasGroupingInfoSchema).optional(),
49331
50420
  });
49332
50421
  /**
49333
- * Result of a COLLECT_CARD_INFO filter — carries `{ name, vertexIds, values }`.
50422
+ * Result of a COLLECT_CARD_INFO filter — carries `{ name, vertexIds, values }`. Measured (2026-10-15): the
50423
+ * response also carries a COLLECT_ATTRIBUTE_NAMES entry for the same vertices, whose `type`s are null.
49334
50424
  * `values` is populated when the source filter sets `includeVertexInfo=true`;
49335
50425
  * the element shape is kept loose here because the underlying type is not
49336
50426
  * yet mirrored as a Zod schema.
@@ -49349,9 +50439,9 @@ const TasCollectCardInfoResultSchema = TasAnalyticBaseSchema.extend({
49349
50439
  * to narrow at runtime; future / unknown result types validate against the
49350
50440
  * bare base so the response still parses.
49351
50441
  *
49352
- * Note: COLLECT_VERTEX_ID does not register a typed result on the Java
49353
- * side — its output is consumed internally — so no specific schema appears
49354
- * in this union.
50442
+ * Note: COLLECT_VERTEX_ID has no result type of its own: measured (2026-10-15)
50443
+ * it answers with a `t: "COLLECT_ATTRIBUTES"` entry whose `attribValue`s are
50444
+ * the vertex ids as strings (`vertexIds` null), so it parses as that variant.
49355
50445
  */
49356
50446
  const TasAnalyticResultSchema = z.union([
49357
50447
  TasCollectAttributeResultSchema,
@@ -50732,7 +51822,7 @@ const QueryWindowSpecSchema = z.looseObject({
50732
51822
  op: z.literal('WINDOW'),
50733
51823
  every: z
50734
51824
  .number()
50735
- .describe('Window size in ms (or upstream-frequency multiples if `useFrequency=true`)'),
51825
+ .describe('Window size in ms (or upstream-frequency multiples if `useFrequency=true`). Must be a number: the tenant rejects `"auto"` and duration strings such as `"5m"`'),
50736
51826
  align: AlignmentSchema.optional().describe('Window alignment; defaults to ABSOLUTE'),
50737
51827
  incomplete: z
50738
51828
  .boolean()
@@ -50935,6 +52025,22 @@ const QueryDerivativeSpecSchema = z.looseObject({
50935
52025
  as: z.string().optional().describe('Output column name'),
50936
52026
  timeSrc: z.string().optional().describe('Override the time-ordering column'),
50937
52027
  });
52028
+ /**
52029
+ * `TREND` — slope and direction of `column` over `timestampColumn`, per
52030
+ * group (needs at least two points). Emits `<as>.slope` and
52031
+ * `<as>.direction` (+1 up, -1 down; a flat series was observed returning
52032
+ * direction 1 with slope 0). `as` defaults to the `column` name.
52033
+ */
52034
+ const QueryTrendSpecSchema = z.looseObject({
52035
+ op: z.literal('TREND'),
52036
+ column: z.string().describe('Numeric column to compute the trend of, e.g. `data.value`'),
52037
+ timestampColumn: z.string().describe('Timestamp column used for the slope, e.g. `data.time`'),
52038
+ round: z.number().optional().describe('Decimal digits kept in the slope; default 4'),
52039
+ as: z
52040
+ .string()
52041
+ .optional()
52042
+ .describe('Output column prefix (`<as>.slope`, `<as>.direction`); defaults to the column name'),
52043
+ });
50938
52044
  /** `DIFFERENCE` — like DERIVATIVE but raw value-to-value diff (no per-unit normalization). */
50939
52045
  const QueryDifferenceSpecSchema = z.looseObject({
50940
52046
  op: z.literal('DIFFERENCE'),
@@ -51192,7 +52298,9 @@ const QueryFromMetadataSpecSchema = z.looseObject({
51192
52298
  */
51193
52299
  const QueryFromTopologySpecSchema = z.looseObject({
51194
52300
  op: z.literal('FROM_TOPOLOGY'),
51195
- querySpecifier: TasQuerySchema.describe('TAS query — only the `filter` field is honored; other TAS fields are ignored by the server'),
52301
+ querySpecifier: TasQuerySchema.refine((q) => !('op' in q), {
52302
+ message: 'querySpecifier is a TAS query: wrap the filter as { "filter": { "op": … } } (a bare filter is ignored by the server)',
52303
+ }).describe('TAS query `{ filter }` — only the `filter` field is honored; other TAS fields are ignored by the server. A bare filter (`{ op, … }`) is ignored too and the op returns arbitrary vertices'),
51196
52304
  alias: z.string().optional().describe('Column namespace for output rows'),
51197
52305
  rowsClampSize: z.number().optional().describe('Cap on emitted rows; 0 = unlimited (default)'),
51198
52306
  });
@@ -51219,13 +52327,15 @@ const QueryFromDataSpecSchema = z.looseObject({
51219
52327
  * The `wql` string is parsed server-side (ANTLR `DXQueryCompiler`); we treat
51220
52328
  * it as opaque here — no client-side grammar validation. Grammar:
51221
52329
  *
51222
- * `ts(<metric-name>[, <predicates>])`
52330
+ * `ts(<selector>[ and|, <predicates>])`
51223
52331
  *
51224
- * `<metric-name>` may be quoted or unquoted. `<predicates>` combine
51225
- * `attr=value` terms with `and` / `or` / `not`, grouping `( … )`, single- or
51226
- * double-quoted values, and `*` wildcards. Example:
52332
+ * `<predicates>` combine `attr=value` terms with `and` / `or` / `not`,
52333
+ * grouping `( … )`, single-, double- or un-quoted values, and `*` wildcards.
52334
+ * A quoted first term is the full metric path when `useAttributes` is false
52335
+ * (the default measured on tenants) and the metric name when it is true; the
52336
+ * `metric_name=` predicate works either way (findings ledger, 2026-10-15). Example:
51227
52337
  *
51228
- * `ts("CPU Time (ms)" and source="web-server-01" and not env="staging")`
52338
+ * `ts(metric_name="CPU Time (ms)" and source="web-server-01" and not env="staging")`
51229
52339
  *
51230
52340
  * **Tenant gating**: requires the `DXDASHBOARDS_WQL_FEATURE` toggle; tenants
51231
52341
  * without it return an error at run time.
@@ -51235,16 +52345,16 @@ const QueryWqlSpecSchema = z.looseObject({
51235
52345
  wql: z
51236
52346
  .string()
51237
52347
  .min(1)
51238
- .describe('WQL expression selecting time-series. Grammar: `ts(<metric-name>[, <predicates>])` — name quoted or unquoted; predicates combine `attr=value` with `and`/`or`/`not`, grouping `( )`, quoted values, and `*` wildcards. E.g. `ts("CPU Time (ms)" and source="web-server-01")`. Server-parsed (ANTLR); required and non-empty.'),
52348
+ .describe('WQL expression selecting time-series. Select with the `metric_name` predicate, which works whatever `useAttributes` says: `ts(metric_name="CPU Time (ms)" and source="web-server-01")`. A quoted first term `ts("…")` is the full metric path when `useAttributes` is false and the metric name when true. Predicates combine `attr=value` with `and`/`or`/`not`, grouping `( )`, quoted values, and `*` wildcards. Server-parsed (ANTLR; a syntax error is an HTTP 400, code 608); required and non-empty.'),
51239
52349
  clamp: z
51240
52350
  .union([z.number(), z.string()])
51241
52351
  .optional()
51242
- .describe('Cap on results; `0` = unlimited (default). Semantically an int, but the platform emits it on the wire as a numeric string (e.g. `"10000"`) — both forms accepted.'),
52352
+ .describe('Limit on matched series; `0` (default) = the tenant limit (`datastore.wql.clamp`, 10000 by default). Other values were measured to drop or duplicate series near the match count, so leave it at 0 and cap downstream (`TOP`, `limit`). Semantically an int, but the platform emits it on the wire as a numeric string (e.g. `"10000"`) — both forms accepted; negative values are an HTTP 500.'),
51243
52353
  useAttributes: z
51244
52354
  .boolean()
51245
52355
  .optional()
51246
- .describe('When true, use metadata attributes in the WQL metadata query; omit to fall back to the tenant config default (`isMetadataQueryUsingAttributes`).'),
51247
- queryRange: QueryRangeSpecSchema.optional().describe('Time-window spec; defaults to the last 8 minutes ending now'),
52356
+ .describe('What a quoted first term `ts("…")` matches: the metric name when true, the full metric path (case-insensitive, `*` wildcards) when false; the other reading matches nothing. The `metric_name=` predicate works either way. Omit to fall back to the tenant config default (`isMetadataQueryUsingAttributes`; false on the tenants measured).'),
52357
+ queryRange: QueryRangeSpecSchema.optional().describe('Time-window spec; omitted = the last ~8 minutes at raw resolution. `endTime` 0 or omitted = now; `frequency` omitted = raw points. With `frequency`, buckets are epoch-aligned and stamped with their end, and a bucket stamped b was returned when endTime - rangeSize <= b < endTime in 12 of 14 measured ranges (the one ending exactly at endTime is usually left out; end the range after the last bucket you need).'),
51248
52358
  });
51249
52359
  /**
51250
52360
  * `JOIN_METADATA` — for each upstream row, look up zero or one
@@ -51260,7 +52370,7 @@ const QueryWqlSpecSchema = z.looseObject({
51260
52370
  */
51261
52371
  const QueryJoinMetadataSpecSchema = z.looseObject({
51262
52372
  op: z.literal('JOIN_METADATA'),
51263
- querySpecifier: QuerySpecifierSchema.optional().describe('Optional Metadata specifier to pre-filter which metrics can be joined'),
52373
+ querySpecifier: QuerySpecifierSchema.describe('Metadata specifier selecting which metrics can be joined. Required: the server rejects the op without it ("JOIN_METADATA querySpecifier is null"); use `{op:"ALL"}` for no narrowing'),
51264
52374
  queryRange: QueryRangeSpecSchema.optional().describe('Time-window for the metadata lookup'),
51265
52375
  queryHints: z
51266
52376
  .array(QueryHintSchema)
@@ -51272,6 +52382,10 @@ const QueryJoinMetadataSpecSchema = z.looseObject({
51272
52382
  .string()
51273
52383
  .optional()
51274
52384
  .describe('Upstream column carrying the external ID to match against metric sources; default `metric.externalId`'),
52385
+ topologyIdColumn: z
52386
+ .string()
52387
+ .optional()
52388
+ .describe('Upstream column carrying the topology (vertex) ID to join on instead of the external ID, e.g. `vertex.id`. The server validates the column name; on one corpus topology join `vertex.id` returned no rows (cause not established)'),
51275
52389
  joinType: JoinTypeSchema.optional().describe('INNER (default) drops unmatched rows; LEFT keeps them with nulls'),
51276
52390
  });
51277
52391
  /**
@@ -51350,22 +52464,27 @@ const QueryLogSpecSchema = z.looseObject({
51350
52464
  excludeFinalResult: z.boolean().optional().describe('Exclude LOG output from query response; default false'),
51351
52465
  });
51352
52466
  /**
51353
- * `SCRIPT` — execute a Groovy or NASSQL script against each row.
51354
- * The script receives the current row's columns as bound variables and
51355
- * must return a map of `outputColumns` values.
52467
+ * `SCRIPT` — execute a JavaScript function against each row.
52468
+ * The script is a function expression `(function transform(input) { ... })`
52469
+ * that receives the row's `inputColumns` values as a positional array and
52470
+ * returns an array of `outputColumns` values in order, e.g.
52471
+ * `(function transform(input) { return [input[1] == 0 ? null : input[0] / input[1]]; })`.
52472
+ * A bare `return` statement is a syntax error. A global `context` persists
52473
+ * across rows; each row must finish within 10 s.
51356
52474
  *
51357
- * `inputColumns` declares which upstream columns are available inside
51358
- * the script. `outputColumns` declares the names of the columns the
51359
- * script emits.
52475
+ * `inputColumns` declares which upstream columns are passed in (in order).
52476
+ * `outputColumns` declares the names of the columns the script emits.
51360
52477
  *
51361
52478
  * **Use sparingly**: scripts disable query-plan optimizations and run
51362
52479
  * server-side per row — they are significantly slower than native ops.
51363
52480
  */
51364
52481
  const QueryScriptSpecSchema = z.looseObject({
51365
52482
  op: z.literal('SCRIPT'),
51366
- script: z.string().describe('Groovy/NASSQL script body'),
51367
- inputColumns: z.array(z.string()).optional().describe('Upstream columns accessible inside the script'),
51368
- outputColumns: z.array(z.string()).optional().describe('Column names emitted by the script'),
52483
+ script: z
52484
+ .string()
52485
+ .describe('JavaScript function expression `(function transform(input) { return [...]; })`'),
52486
+ inputColumns: z.array(z.string()).optional().describe('Upstream columns passed to the function as a positional array'),
52487
+ outputColumns: z.array(z.string()).optional().describe('Column names for the array the function returns'),
51369
52488
  });
51370
52489
  const QueryFunctionSpecSchema = z.discriminatedUnion('op', [
51371
52490
  QueryFromSpecSchema,
@@ -51384,6 +52503,7 @@ const QueryFunctionSpecSchema = z.discriminatedUnion('op', [
51384
52503
  QueryMultiAggregationSpecSchema,
51385
52504
  QueryDerivativeSpecSchema,
51386
52505
  QueryDifferenceSpecSchema,
52506
+ QueryTrendSpecSchema,
51387
52507
  QueryFirstSpecSchema,
51388
52508
  QueryLastSpecSchema,
51389
52509
  QueryQuantileSpecSchema,
@@ -51434,6 +52554,20 @@ const QueryRequestSchema = z.looseObject({
51434
52554
  });
51435
52555
 
51436
52556
  const QueryResultSchema = z.array(z.unknown());
52557
+ /**
52558
+ * One NASSQL result cell: SCRIPT may return arrays; MAP on a zero denominator returns null. Objects are allowed
52559
+ * too: the recordings showed none, but nothing rules them out.
52560
+ */
52561
+ const QueryResultCellSchema = z
52562
+ .union([z.string(), z.number(), z.boolean(), z.null(), z.array(z.unknown()), z.record(z.string(), z.unknown())])
52563
+ .describe('A result cell: string, number, boolean, null (e.g. MAP over 0/0), an array (SCRIPT output) or an object');
52564
+ /**
52565
+ * The NASSQL result as a table: the first row is the column names, every following row is one result row.
52566
+ * Stricter than `QueryResultSchema`, which stays loose for callers that only pass the result through.
52567
+ */
52568
+ const QueryResultTableSchema = z
52569
+ .tuple([z.array(z.string()).describe('Column names')], z.array(QueryResultCellSchema).describe('A result row'))
52570
+ .describe('NASSQL result table: header row of column names, then rows of cells');
51437
52571
 
51438
52572
  /**
51439
52573
  * Self-describing envelope stored as the blob body by `dx-do blob store`.
@@ -61993,6 +63127,389 @@ const MaintenanceSearchResponseSchema = z.looseObject({
61993
63127
  pageSize: z.number().optional(),
61994
63128
  });
61995
63129
 
63130
+ /**
63131
+ * One filter atom of an OI metricconfig group — the match criteria shared by
63132
+ * SLI groups (`type: "sli"`) and metric anomaly-detection groups (no type),
63133
+ * e.g. "Source contains bd605" or "Metric regex java.lang\|Threading:.*".
63134
+ * Groups persist a FLAT list of these; the server groups them by `field`.
63135
+ */
63136
+ const MetricConfigFilterSchema = z.looseObject({
63137
+ fieldDescription: z
63138
+ .string()
63139
+ .describe('Human label for the field, e.g. "Source" or "Metric"'),
63140
+ field: z
63141
+ .string()
63142
+ .describe('Wire field the filter matches on, e.g. "sourceName" (source path), "attributeName" ' +
63143
+ '(the FULL metric path such as "java.lang|Threading:ThreadCount", not the bare name), ' +
63144
+ '"Service", or a metric metadata attribute'),
63145
+ value: z
63146
+ .string()
63147
+ .describe('Value to match; for "regex" a literal pipe must be escaped as "\\|"'),
63148
+ condition: z
63149
+ .string()
63150
+ .describe('Match operator: "equals", "contains", "not_contains", "ends_with" or "regex"'),
63151
+ });
63152
+ /** One `or` block of the preview expression tree: atoms on ONE field, OR-ed. */
63153
+ const MetricConfigFilterOrBlockSchema = z.looseObject({
63154
+ or: z.looseObject({
63155
+ expressions: z
63156
+ .array(MetricConfigFilterSchema)
63157
+ .describe('Atoms on the SAME field, OR-ed together'),
63158
+ }),
63159
+ });
63160
+ /**
63161
+ * The `customFilter` expression tree of `POST oi/v2/metricconfig/groups/metrics`.
63162
+ *
63163
+ * The server accepts exactly ONE shape: a root `and` whose children are `or`
63164
+ * blocks, each holding atoms on a single field (probed on a lab tenant,
63165
+ * 2026-10-01). Every other shape still answers HTTP 200 but is logically
63166
+ * wrong — any nesting (a top-level `or`, an `and` inside an `or`, bare atoms
63167
+ * under `and`) silently matches 0 metrics, and a mixed-field `or` block keeps
63168
+ * only its first atom's field. So `(A∧B)∨(C∧D)` cannot be expressed in one
63169
+ * group; use two. Build the tree with {@link orBlocksByField}, never by hand.
63170
+ */
63171
+ const MetricConfigCustomFilterSchema = z
63172
+ .looseObject({
63173
+ and: z.looseObject({
63174
+ expressions: z
63175
+ .array(MetricConfigFilterOrBlockSchema)
63176
+ .describe('One or-block per distinct field, AND-ed across fields'),
63177
+ }),
63178
+ })
63179
+ .describe('The group filters as the wire expression tree');
63180
+ /**
63181
+ * Groups flat filter atoms into the only tree shape the server evaluates
63182
+ * correctly: one or-block per `field` (first-appearance order). Same-field
63183
+ * atoms OR (a metric can `equals` any of four values); different fields must
63184
+ * all match.
63185
+ */
63186
+ function orBlocksByField(filters) {
63187
+ const byField = new Map();
63188
+ for (const atom of filters) {
63189
+ const bucket = byField.get(atom.field);
63190
+ if (bucket) {
63191
+ bucket.push(atom);
63192
+ }
63193
+ else {
63194
+ byField.set(atom.field, [atom]);
63195
+ }
63196
+ }
63197
+ return [...byField.values()].map((expressions) => ({ or: { expressions } }));
63198
+ }
63199
+
63200
+ /**
63201
+ * The metric product an anomaly-detection group is scoped to. Matching,
63202
+ * the filter-field catalog and the default groups are all per product.
63203
+ * Short CLI-friendly aliases map to the wire names the server stores.
63204
+ */
63205
+ const ANOMALY_DETECTION_PRODUCTS = {
63206
+ apm: 'Application Performance Management',
63207
+ capm: 'CAPM',
63208
+ uim: 'UIM',
63209
+ custom: 'CUSTOM',
63210
+ };
63211
+ /**
63212
+ * Resolves a product alias (`apm`) or wire name (`Application Performance
63213
+ * Management`), case-insensitively, to the wire name; undefined when unknown.
63214
+ */
63215
+ function resolveAnomalyDetectionProduct(input) {
63216
+ const needle = input.trim().toLowerCase();
63217
+ for (const [alias, wire] of Object.entries(ANOMALY_DETECTION_PRODUCTS)) {
63218
+ if (needle === alias || needle === wire.toLowerCase()) {
63219
+ return wire;
63220
+ }
63221
+ }
63222
+ return undefined;
63223
+ }
63224
+ /**
63225
+ * The alerting half of an anomaly-detection group. `enabled` is the on/off
63226
+ * switch for anomaly detection on the group's metrics; with
63227
+ * `useSystemSettings: true` the remaining knobs come from the tenant default
63228
+ * (`GET oi/v2/metricconfig/defaultalert`) and are stored as nulls.
63229
+ */
63230
+ const AnomalyAlertConfigSchema = z.looseObject({
63231
+ enabled: z
63232
+ .boolean()
63233
+ .describe('Whether anomaly detection runs on the group metrics (counts toward the tenant metric cap)'),
63234
+ useSystemSettings: z
63235
+ .boolean()
63236
+ .optional()
63237
+ .describe('True = use the tenant default alert settings; the fields below are then null'),
63238
+ timeOverThreshold: z.number().nullable().optional().describe('Breach duration before alerting'),
63239
+ unit: z.string().nullable().optional().describe('Unit of the time fields'),
63240
+ observationTime: z.number().nullable().optional().describe('Observation window length'),
63241
+ countOverThreshold: z
63242
+ .number()
63243
+ .nullable()
63244
+ .optional()
63245
+ .describe('Breaches needed within `observationCount` observations to alert'),
63246
+ observationCount: z.number().nullable().optional().describe('Observations per evaluation window'),
63247
+ deviationPercentage: z
63248
+ .number()
63249
+ .nullable()
63250
+ .optional()
63251
+ .describe('Deviation from the baseline, in percent, that counts as anomalous'),
63252
+ deviationValue: z.number().nullable().optional().describe('Absolute deviation threshold'),
63253
+ deviationValueOp: z.string().nullable().optional().describe('Operator for `deviationValue`'),
63254
+ threshold: z
63255
+ .array(z.string())
63256
+ .nullable()
63257
+ .optional()
63258
+ .describe('Anomaly bands that alert, e.g. ["rare_upper"]'),
63259
+ alarmSeverity: z.string().nullable().optional().describe('Raised alarm severity, e.g. "major"'),
63260
+ alarmMessage: z
63261
+ .string()
63262
+ .nullable()
63263
+ .optional()
63264
+ .describe('Alarm message template with ${metric_name}/${host}/… placeholders'),
63265
+ policyId: z.unknown().nullable().optional().describe('Notification policy id; usually null'),
63266
+ acType: z.string().nullable().optional().describe('Alert config type; "Anomaly"'),
63267
+ });
63268
+ /**
63269
+ * A metric anomaly-detection group (DXO2 Settings → Anomaly Detection
63270
+ * Groups): a product-scoped filter selecting metrics plus the anomaly alert
63271
+ * config. Same OI metricconfig `groups` family as SLI groups, but with no
63272
+ * `type` — as returned by `groups/search` (`metricGroups[]`) and
63273
+ * `groups?groupId=<id>`.
63274
+ */
63275
+ const AnomalyDetectionGroupSchema = z.looseObject({
63276
+ groupName: z.string().describe('Group name; NOT unique (default groups appear twice)'),
63277
+ groupId: z.number().describe('Server-assigned group id — the unambiguous key'),
63278
+ filters: z
63279
+ .array(MetricConfigFilterSchema)
63280
+ .describe('Flat filter atoms; same-field atoms OR, different fields AND'),
63281
+ description: z.string().nullable().optional().describe('Free-text description; may be null'),
63282
+ product: z
63283
+ .string()
63284
+ .describe('Wire product name scoping the match, e.g. "Application Performance Management"'),
63285
+ anomalyAlertConfig: AnomalyAlertConfigSchema.describe('On/off switch and alert settings'),
63286
+ defaultGroup: z
63287
+ .boolean()
63288
+ .optional()
63289
+ .describe('True for the system default groups shipped with the tenant'),
63290
+ serviceNames: z.array(z.string()).nullable().optional().describe('Unused here; null observed'),
63291
+ // Read-only server-managed fields (present on reads, not sent on save).
63292
+ creationTime: z.number().optional().describe('Epoch SECONDS the group was created'),
63293
+ lastModifiedTime: z.number().optional().describe('Epoch SECONDS the group was last modified'),
63294
+ createdBy: z.string().nullable().optional().describe('User that created the group'),
63295
+ lastUpdatedBy: z.string().nullable().optional().describe('User that last updated the group'),
63296
+ totalMetrics: z.number().optional().describe('Count of metrics the group currently matches'),
63297
+ breached: z.boolean().optional().describe('Breach flag; observed false'),
63298
+ });
63299
+
63300
+ /**
63301
+ * Model for `POST oi/v2/metricconfig/groups/metrics` — the metric-match
63302
+ * preview the DXO2 UI calls while a group's filters are edited. Given filter
63303
+ * atoms and service bindings it returns the currently-matching metrics, which
63304
+ * is exactly the feedback a create/add dry-run needs ("your filters match N
63305
+ * metrics") and the fastest way to diagnose `sliStatusCode` 5 ("no metrics
63306
+ * matching").
63307
+ */
63308
+ const SliGroupMetricsRequestSchema = z.looseObject({
63309
+ numericFilter: z.boolean().describe('Always true — SLI groups only watch numeric metrics'),
63310
+ serviceNames: z.array(z.string()).describe('Service bindings scoping the match'),
63311
+ customFilter: MetricConfigCustomFilterSchema,
63312
+ pageSize: z.number().describe('Max metrics returned; the UI uses 100'),
63313
+ });
63314
+ const SliGroupMetricsEntrySchema = z.looseObject({
63315
+ metricName: z.string().describe('Bare metric name, e.g. "Web Agent Status"'),
63316
+ source: z.string().describe('Source path of the metric'),
63317
+ metric: z.string().describe('Full metric path including the source-qualified name'),
63318
+ nassMetricId: z.string().optional().describe('NASS metric id'),
63319
+ lastSeen: z.number().optional().describe('Epoch millis the metric last reported'),
63320
+ serviceNames: z.array(z.string()).optional().describe('Services the metric maps to'),
63321
+ });
63322
+ const SliGroupMetricsResponseSchema = z.looseObject({
63323
+ totalMetrics: z
63324
+ .union([z.string(), z.number()])
63325
+ .describe('Count of matching metrics — a STRING on the wire (e.g. "2")'),
63326
+ pageSize: z.union([z.string(), z.number()]).optional().describe('Returned page size'),
63327
+ metrics: z.array(SliGroupMetricsEntrySchema).describe('The matching metrics'),
63328
+ exceedLimit: z
63329
+ .boolean()
63330
+ .optional()
63331
+ .describe('True when the match exceeds the per-group metric cap'),
63332
+ });
63333
+ /**
63334
+ * One filterable field for a set of services, from
63335
+ * `POST oi/v2/metricconfig/metric/fields`. The catalog is DYNAMIC — derived
63336
+ * from the metadata attributes the services' metrics actually carry, so it
63337
+ * grows as new attributes report. `path` fields address the metric/source
63338
+ * paths; `metadata` fields address metric attributes.
63339
+ */
63340
+ const SliMetricFieldSchema = z.looseObject({
63341
+ fieldDescription: z.string().describe('Human label; equals `field` for metadata fields'),
63342
+ field: z.string().describe('Wire field name usable in filter atoms'),
63343
+ type: z.string().describe('"path" (metric/source path) or "metadata" (metric attribute)'),
63344
+ values: z.array(z.unknown()).optional().describe('Value suggestions; observed empty'),
63345
+ conditions: z.array(z.unknown()).optional().describe('Condition suggestions; observed empty'),
63346
+ });
63347
+ const SliMetricFieldsRequestSchema = z.looseObject({
63348
+ serviceNames: z.array(z.string()).describe('Services whose metric attributes to enumerate'),
63349
+ });
63350
+ const SliMetricFieldsResponseSchema = z
63351
+ .array(SliMetricFieldSchema)
63352
+ .describe('The filterable fields for the requested services');
63353
+ /**
63354
+ * Builds the preview request from flat filter atoms the way the UI does:
63355
+ * atoms are grouped by `field` (one or-block per field, in first-appearance
63356
+ * order), and the blocks are AND-ed. Same-field atoms therefore OR (a metric
63357
+ * name can `equals` any of four values) while different fields must all
63358
+ * match.
63359
+ *
63360
+ * A per-SLI refinement is a SECOND filter layer narrowing the group's
63361
+ * matches: its atoms are appended as their own AND-ed or-blocks, kept
63362
+ * separate from the group set even when fields overlap (a refinement never
63363
+ * ORs into the group filter — matches the UI's SLI-editing preview calls).
63364
+ */
63365
+ function toGroupMetricsRequest(filters, serviceNames, pageSize = 100, refinementFilters = []) {
63366
+ return {
63367
+ numericFilter: true,
63368
+ serviceNames,
63369
+ customFilter: {
63370
+ and: {
63371
+ expressions: [...orBlocksByField(filters), ...orBlocksByField(refinementFilters)],
63372
+ },
63373
+ },
63374
+ pageSize,
63375
+ };
63376
+ }
63377
+
63378
+ /**
63379
+ * Model for `POST oi/v2/metricconfig/groups/metrics` scoped by product — the
63380
+ * live "matching metrics" preview the anomaly-detection group editor shows.
63381
+ * Same endpoint as the SLI preview but keyed by `product` instead of
63382
+ * `serviceNames`, with no `numericFilter`.
63383
+ */
63384
+ const AnomalyGroupMetricsRequestSchema = z.looseObject({
63385
+ pageSize: z.number().describe('Max metrics returned; the UI uses 100'),
63386
+ product: z.string().min(1).describe('Wire product name scoping the match'),
63387
+ customFilter: MetricConfigCustomFilterSchema,
63388
+ });
63389
+ const AnomalyGroupMetricsEntrySchema = z.looseObject({
63390
+ metricName: z.string().describe('Bare metric name, e.g. "ThreadCount"'),
63391
+ source: z.string().describe('Source path, e.g. "SuperDomain|host|process|agent"'),
63392
+ metric: z.string().describe('Full metric path, e.g. "java.lang|Threading:ThreadCount"'),
63393
+ nassMetricId: z.string().optional().describe('NASS metric id'),
63394
+ lastSeen: z.number().optional().describe('Epoch millis the metric last reported'),
63395
+ });
63396
+ const AnomalyGroupMetricsResponseSchema = z.looseObject({
63397
+ totalMetrics: z
63398
+ .union([z.string(), z.number()])
63399
+ .describe('Matching-metric count — a STRING on the wire; "-1" means the server did not count'),
63400
+ pageSize: z.union([z.string(), z.number()]).optional().describe('Returned page size'),
63401
+ metrics: z.array(AnomalyGroupMetricsEntrySchema).describe('The matching metrics (first page)'),
63402
+ exceedLimit: z.boolean().optional().describe('True when the match exceeds the server cap'),
63403
+ });
63404
+ /** Request for `POST oi/v2/metricconfig/metric/fields` — the per-product field catalog. */
63405
+ const AnomalyMetricFieldsRequestSchema = z.looseObject({
63406
+ product: z.string().min(1).describe('Wire product name whose filterable fields to list'),
63407
+ });
63408
+ /**
63409
+ * Builds the preview request the way the UI does: flat atoms grouped into one
63410
+ * or-block per field — the only `customFilter` shape the server evaluates
63411
+ * correctly (see `MetricConfigCustomFilterSchema`).
63412
+ */
63413
+ function toAnomalyGroupMetricsRequest(filters, product, pageSize = 100) {
63414
+ return {
63415
+ pageSize,
63416
+ product,
63417
+ customFilter: { and: { expressions: orBlocksByField(filters) } },
63418
+ };
63419
+ }
63420
+ /**
63421
+ * Response of `metric/fields` for a product: `path` fields (`sourceName`,
63422
+ * `attributeName`), `Service` (condition `equals`), and every metadata
63423
+ * attribute the product's metrics carry. A filter on a field NOT in this
63424
+ * catalog silently matches nothing.
63425
+ */
63426
+ const AnomalyMetricFieldsResponseSchema = z
63427
+ .array(SliMetricFieldSchema)
63428
+ .describe('The filterable fields for the requested product');
63429
+
63430
+ /**
63431
+ * Request body for `POST oi/v2/metricconfig/groups/save` for an
63432
+ * anomaly-detection group. `groupId` absent → create; present → update that
63433
+ * group. The UI's create sends a minimal `anomalyAlertConfig`
63434
+ * (`{enabled, useSystemSettings: true}`); updates send the full stored config.
63435
+ */
63436
+ const AnomalyDetectionGroupSaveRequestSchema = z.looseObject({
63437
+ groupName: z.string().min(1).describe('Group name'),
63438
+ description: z.string().nullable().optional().describe('Free-text description'),
63439
+ filters: z
63440
+ .array(MetricConfigFilterSchema)
63441
+ .min(1)
63442
+ .describe('Flat filter atoms; same-field atoms OR, different fields AND'),
63443
+ product: z.string().min(1).describe('Wire product name scoping the match'),
63444
+ anomalyAlertConfig: AnomalyAlertConfigSchema.describe('On/off switch and alert settings'),
63445
+ defaultGroup: z.boolean().optional().describe('Always false for user groups; sent on create'),
63446
+ groupId: z.number().optional().describe('Omit to create; include to update that group'),
63447
+ });
63448
+ /** Response from `groups/save`. */
63449
+ const AnomalyDetectionGroupSaveResponseSchema = z.looseObject({
63450
+ groupId: z.number().describe('Id of the created/updated group'),
63451
+ message: z.array(z.string()).optional().describe('Server status messages'),
63452
+ status: z.string().describe('"Success" on success'),
63453
+ });
63454
+ /**
63455
+ * Response from `DELETE oi/v2/metricconfig/groups` with body
63456
+ * `{groupIds: [<id>]}` (no `type` — the typed variant is the SLI delete).
63457
+ */
63458
+ const AnomalyDetectionGroupDeleteResponseSchema = z.looseObject({
63459
+ message: z.string().optional().describe('Server message, e.g. "Groups successfully deleted - [N]."'),
63460
+ status: z.string().describe('"Success" on success'),
63461
+ });
63462
+ /**
63463
+ * Projects a stored group onto the writable save body for an UPDATE — drops
63464
+ * the read-only server fields, carries `groupId` and the full
63465
+ * `anomalyAlertConfig` (so an update never resets alert settings), and
63466
+ * applies `overrides` on top.
63467
+ */
63468
+ function toAnomalyDetectionGroupSaveRequest(group, overrides = {}) {
63469
+ return {
63470
+ groupName: overrides.groupName ?? group.groupName,
63471
+ groupId: group.groupId,
63472
+ description: overrides.description ?? group.description ?? null,
63473
+ filters: overrides.filters ?? group.filters,
63474
+ product: overrides.product ?? group.product,
63475
+ anomalyAlertConfig: overrides.anomalyAlertConfig ?? group.anomalyAlertConfig,
63476
+ };
63477
+ }
63478
+
63479
+ /**
63480
+ * Request body for `POST oi/v2/metricconfig/groups/search` when listing
63481
+ * anomaly-detection groups. Unlike the SLI search there is NO `type` — the
63482
+ * untyped search returns the anomaly groups in `metricGroups`.
63483
+ */
63484
+ const AnomalyDetectionGroupSearchRequestSchema = z.looseObject({
63485
+ like: z.string().describe('Name substring filter; "" for all'),
63486
+ pageSize: z.number().describe('Max groups to return'),
63487
+ sortCol: z.string().describe('Sort spec, e.g. "groupName:asc"'),
63488
+ customFilter: z
63489
+ .record(z.string(), z.unknown())
63490
+ .describe('Group-attribute filter tree; {} for none'),
63491
+ });
63492
+ /**
63493
+ * Response from the untyped `groups/search`: the groups plus the tenant-wide
63494
+ * anomaly-detection budget (`enabledMetrics` of `allowedMetricsPerTenant`).
63495
+ */
63496
+ const AnomalyDetectionGroupSearchResponseSchema = z.looseObject({
63497
+ totalGroups: z.number().optional().describe('Number of groups returned'),
63498
+ pageSize: z.number().optional().describe('Effective page size applied by the server'),
63499
+ enabledMetrics: z
63500
+ .number()
63501
+ .optional()
63502
+ .describe('Metrics under anomaly detection across enabled groups; server-recomputed, observed to lag creates/deletes'),
63503
+ allowedMetricsPerTenant: z
63504
+ .number()
63505
+ .optional()
63506
+ .describe('Tenant cap on metrics under anomaly detection (50000 observed)'),
63507
+ exceedLimit: z.boolean().optional().describe('True when the tenant is over its cap'),
63508
+ metricGroups: z
63509
+ .array(AnomalyDetectionGroupSchema)
63510
+ .describe('The anomaly-detection groups'),
63511
+ });
63512
+
61996
63513
  var NASS;
61997
63514
  (function (NASS) {
61998
63515
  function getAgentMetricCountQueryBody(agent) {
@@ -65305,21 +66822,11 @@ function toClusteringPolicyPreviewBody(body) {
65305
66822
 
65306
66823
  /**
65307
66824
  * One row of an SLI group's match criteria. SLI groups select the metrics they
65308
- * watch by a list of these AND-ed filters (e.g. "Source contains bd605" AND
65309
- * "Metric ends with Web Agent Status").
66825
+ * watch by a list of these filters (e.g. "Source contains bd605" AND
66826
+ * "Metric ends with Web Agent Status") — the metricconfig filter atom shared
66827
+ * with anomaly-detection groups.
65310
66828
  */
65311
- const SliFilterSchema = z.looseObject({
65312
- fieldDescription: z
65313
- .string()
65314
- .describe('Human label for the field, e.g. "Source" or "Metric"'),
65315
- field: z
65316
- .string()
65317
- .describe('Wire field the filter matches on, e.g. "sourceName" or "attributeName"'),
65318
- value: z.string().describe('Value to match against the field'),
65319
- condition: z
65320
- .string()
65321
- .describe('Match operator, e.g. "contains", "ends_with", "regex"'),
65322
- });
66829
+ const SliFilterSchema = MetricConfigFilterSchema;
65323
66830
  /**
65324
66831
  * A full SLI group — the top-level construct holding SLIs, SLOs, and related
65325
66832
  * alerts — as returned by `groups/search` (per `sliGroups[]` entry) and
@@ -66060,112 +67567,6 @@ function removeAlert(group, sli, target) {
66060
67567
  return slot.splice(idx, 1)[0];
66061
67568
  }
66062
67569
 
66063
- /**
66064
- * Model for `POST oi/v2/metricconfig/groups/metrics` — the metric-match
66065
- * preview the DXO2 UI calls while a group's filters are edited. Given filter
66066
- * atoms and service bindings it returns the currently-matching metrics, which
66067
- * is exactly the feedback a create/add dry-run needs ("your filters match N
66068
- * metrics") and the fastest way to diagnose `sliStatusCode` 5 ("no metrics
66069
- * matching").
66070
- */
66071
- const SliFilterOrBlockSchema = z.looseObject({
66072
- or: z.looseObject({
66073
- expressions: z
66074
- .array(SliFilterSchema)
66075
- .describe('Atoms on the SAME field, OR-ed together'),
66076
- }),
66077
- });
66078
- const SliGroupMetricsRequestSchema = z.looseObject({
66079
- numericFilter: z.boolean().describe('Always true — SLI groups only watch numeric metrics'),
66080
- serviceNames: z.array(z.string()).describe('Service bindings scoping the match'),
66081
- customFilter: z
66082
- .looseObject({
66083
- and: z.looseObject({
66084
- expressions: z
66085
- .array(SliFilterOrBlockSchema)
66086
- .describe('One or-block per distinct field, AND-ed across fields'),
66087
- }),
66088
- })
66089
- .describe('The group filters as the wire expression tree'),
66090
- pageSize: z.number().describe('Max metrics returned; the UI uses 100'),
66091
- });
66092
- const SliGroupMetricsEntrySchema = z.looseObject({
66093
- metricName: z.string().describe('Bare metric name, e.g. "Web Agent Status"'),
66094
- source: z.string().describe('Source path of the metric'),
66095
- metric: z.string().describe('Full metric path including the source-qualified name'),
66096
- nassMetricId: z.string().optional().describe('NASS metric id'),
66097
- lastSeen: z.number().optional().describe('Epoch millis the metric last reported'),
66098
- serviceNames: z.array(z.string()).optional().describe('Services the metric maps to'),
66099
- });
66100
- const SliGroupMetricsResponseSchema = z.looseObject({
66101
- totalMetrics: z
66102
- .union([z.string(), z.number()])
66103
- .describe('Count of matching metrics — a STRING on the wire (e.g. "2")'),
66104
- pageSize: z.union([z.string(), z.number()]).optional().describe('Returned page size'),
66105
- metrics: z.array(SliGroupMetricsEntrySchema).describe('The matching metrics'),
66106
- exceedLimit: z
66107
- .boolean()
66108
- .optional()
66109
- .describe('True when the match exceeds the per-group metric cap'),
66110
- });
66111
- /**
66112
- * One filterable field for a set of services, from
66113
- * `POST oi/v2/metricconfig/metric/fields`. The catalog is DYNAMIC — derived
66114
- * from the metadata attributes the services' metrics actually carry, so it
66115
- * grows as new attributes report. `path` fields address the metric/source
66116
- * paths; `metadata` fields address metric attributes.
66117
- */
66118
- const SliMetricFieldSchema = z.looseObject({
66119
- fieldDescription: z.string().describe('Human label; equals `field` for metadata fields'),
66120
- field: z.string().describe('Wire field name usable in filter atoms'),
66121
- type: z.string().describe('"path" (metric/source path) or "metadata" (metric attribute)'),
66122
- values: z.array(z.unknown()).optional().describe('Value suggestions; observed empty'),
66123
- conditions: z.array(z.unknown()).optional().describe('Condition suggestions; observed empty'),
66124
- });
66125
- const SliMetricFieldsRequestSchema = z.looseObject({
66126
- serviceNames: z.array(z.string()).describe('Services whose metric attributes to enumerate'),
66127
- });
66128
- const SliMetricFieldsResponseSchema = z
66129
- .array(SliMetricFieldSchema)
66130
- .describe('The filterable fields for the requested services');
66131
- function orBlocksByField(filters) {
66132
- const byField = new Map();
66133
- for (const atom of filters) {
66134
- const bucket = byField.get(atom.field);
66135
- if (bucket) {
66136
- bucket.push(atom);
66137
- }
66138
- else {
66139
- byField.set(atom.field, [atom]);
66140
- }
66141
- }
66142
- return [...byField.values()].map((expressions) => ({ or: { expressions } }));
66143
- }
66144
- /**
66145
- * Builds the preview request from flat filter atoms the way the UI does:
66146
- * atoms are grouped by `field` (one or-block per field, in first-appearance
66147
- * order), and the blocks are AND-ed. Same-field atoms therefore OR (a metric
66148
- * name can `equals` any of four values) while different fields must all
66149
- * match.
66150
- *
66151
- * A per-SLI refinement is a SECOND filter layer narrowing the group's
66152
- * matches: its atoms are appended as their own AND-ed or-blocks, kept
66153
- * separate from the group set even when fields overlap (a refinement never
66154
- * ORs into the group filter — matches the UI's SLI-editing preview calls).
66155
- */
66156
- function toGroupMetricsRequest(filters, serviceNames, pageSize = 100, refinementFilters = []) {
66157
- return {
66158
- numericFilter: true,
66159
- serviceNames,
66160
- customFilter: {
66161
- and: {
66162
- expressions: [...orBlocksByField(filters), ...orBlocksByField(refinementFilters)],
66163
- },
66164
- },
66165
- pageSize,
66166
- };
66167
- }
66168
-
66169
67570
  /**
66170
67571
  * Request body for `POST oi/v2/metricconfig/groups/save`. Mirrors the writable
66171
67572
  * subset of {@link SliGroupSchema} — read-only server fields (creationTime,
@@ -84379,6 +85780,135 @@ class ManagementModuleService {
84379
85780
  }
84380
85781
  }
84381
85782
 
85783
+ /**
85784
+ * Service for metric anomaly-detection groups (DXO2 Settings → Anomaly
85785
+ * Detection Groups) — the untyped groups of the OI metricconfig API under
85786
+ * `oi/v2/metricconfig/groups/*` (SLI groups are the `type: "sli"` ones, see
85787
+ * {@link SLIService}).
85788
+ *
85789
+ * These endpoints require the `x-authorizationview: VIEWALL` header, so this
85790
+ * service uses {@link DxSaasService.oiPost} / `oiGet` / `oiDelete`.
85791
+ * Requests are validated against their input schema (throws `ZodError`);
85792
+ * responses are `safeParse`-validated (warn-on-mismatch, raw still returned).
85793
+ * Backs the `metric *-anomaly-detection-group(s)` CLI commands.
85794
+ */
85795
+ class MetricAnomalyService {
85796
+ dxSaasService;
85797
+ log;
85798
+ /**
85799
+ * @param dxSaasService - An authenticated {@link DxSaasService} for the target tenant.
85800
+ * @param log - Logger conforming to {@link SimpleLog} from `@dx-do/util`.
85801
+ */
85802
+ constructor(dxSaasService, log) {
85803
+ this.dxSaasService = dxSaasService;
85804
+ this.log = log;
85805
+ }
85806
+ /**
85807
+ * Lists anomaly-detection groups via the untyped
85808
+ * `POST oi/v2/metricconfig/groups/search`, plus the tenant budget
85809
+ * (`enabledMetrics` / `allowedMetricsPerTenant`).
85810
+ *
85811
+ * @remarks Defaults to the UI's body (`like: ""`, `pageSize: 5000`,
85812
+ * `sortCol: "groupName:asc"`, `customFilter: {}`); pass a partial override.
85813
+ * Response is validated but returned raw on mismatch.
85814
+ * @throws ZodError if the (merged) request fails schema validation.
85815
+ */
85816
+ async searchGroups(request) {
85817
+ const body = { like: '', pageSize: 5000, sortCol: 'groupName:asc', customFilter: {}, ...request };
85818
+ AnomalyDetectionGroupSearchRequestSchema.parse(body);
85819
+ const raw = await this.dxSaasService.oiPost('oi/v2/metricconfig/groups/search', body);
85820
+ const result = AnomalyDetectionGroupSearchResponseSchema.safeParse(raw);
85821
+ if (!result.success) {
85822
+ this.log.warn('AnomalyDetectionGroupSearchResponse validation warning:', result.error.message);
85823
+ }
85824
+ return raw;
85825
+ }
85826
+ /**
85827
+ * Retrieves one group via `GET oi/v2/metricconfig/groups?groupId=<id>`.
85828
+ *
85829
+ * @remarks Response is validated but returned raw on mismatch.
85830
+ */
85831
+ async getGroup(groupId) {
85832
+ const raw = await this.dxSaasService.oiGet('oi/v2/metricconfig/groups', { groupId });
85833
+ const result = AnomalyDetectionGroupSchema.safeParse(raw);
85834
+ if (!result.success) {
85835
+ this.log.warn('AnomalyDetectionGroup validation warning:', result.error.message);
85836
+ }
85837
+ return raw;
85838
+ }
85839
+ /**
85840
+ * Creates (no `groupId`) or updates (with `groupId`) a group via
85841
+ * `POST oi/v2/metricconfig/groups/save`. Build update bodies with
85842
+ * `toAnomalyDetectionGroupSaveRequest` so the alert config round-trips.
85843
+ *
85844
+ * @remarks Response is validated but returned raw on mismatch.
85845
+ * @throws ZodError if the request fails schema validation.
85846
+ */
85847
+ async saveGroup(body) {
85848
+ AnomalyDetectionGroupSaveRequestSchema.parse(body);
85849
+ const raw = await this.dxSaasService.oiPost('oi/v2/metricconfig/groups/save', body);
85850
+ const result = AnomalyDetectionGroupSaveResponseSchema.safeParse(raw);
85851
+ if (!result.success) {
85852
+ this.log.warn('AnomalyDetectionGroupSaveResponse validation warning:', result.error.message);
85853
+ }
85854
+ return raw;
85855
+ }
85856
+ /**
85857
+ * Deletes a group via `DELETE oi/v2/metricconfig/groups` with body
85858
+ * `{ groupIds: [<id>] }` — no `type` (adding `type: "sli"` targets SLI
85859
+ * groups instead). Captured from the DXO2 UI via copy-as-curl; the HAR
85860
+ * export did not record the DELETE.
85861
+ *
85862
+ * @remarks Response is validated but returned raw on mismatch.
85863
+ */
85864
+ async deleteGroup(groupId) {
85865
+ const raw = await this.dxSaasService.oiDelete('oi/v2/metricconfig/groups', undefined, {
85866
+ groupIds: [groupId],
85867
+ });
85868
+ const result = AnomalyDetectionGroupDeleteResponseSchema.safeParse(raw);
85869
+ if (!result.success) {
85870
+ this.log.warn('AnomalyDetectionGroupDeleteResponse validation warning:', result.error.message);
85871
+ }
85872
+ return raw;
85873
+ }
85874
+ /**
85875
+ * Previews the metrics a filter set matches within a product via
85876
+ * `POST oi/v2/metricconfig/groups/metrics`. Build the body with
85877
+ * `toAnomalyGroupMetricsRequest(filters, product)`.
85878
+ *
85879
+ * @remarks `totalMetrics` is a string on the wire; `"-1"` = not counted.
85880
+ * A malformed filter tree answers 200 with 0 matches, never an error.
85881
+ * @throws ZodError if the request fails schema validation.
85882
+ */
85883
+ async previewGroupMetrics(request) {
85884
+ AnomalyGroupMetricsRequestSchema.parse(request);
85885
+ const raw = await this.dxSaasService.oiPost('oi/v2/metricconfig/groups/metrics', request);
85886
+ const result = AnomalyGroupMetricsResponseSchema.safeParse(raw);
85887
+ if (!result.success) {
85888
+ this.log.warn('AnomalyGroupMetricsResponse validation warning:', result.error.message);
85889
+ }
85890
+ return raw;
85891
+ }
85892
+ /**
85893
+ * Lists the filterable fields for a product via
85894
+ * `POST oi/v2/metricconfig/metric/fields`.
85895
+ *
85896
+ * @remarks A filter on a field absent from this catalog silently matches
85897
+ * nothing — validate against it to catch typos.
85898
+ * @throws ZodError if the request fails schema validation.
85899
+ */
85900
+ async listMetricFields(product) {
85901
+ const request = { product };
85902
+ AnomalyMetricFieldsRequestSchema.parse(request);
85903
+ const raw = await this.dxSaasService.oiPost('oi/v2/metricconfig/metric/fields', request);
85904
+ const result = AnomalyMetricFieldsResponseSchema.safeParse(raw);
85905
+ if (!result.success) {
85906
+ this.log.warn('AnomalyMetricFieldsResponse validation warning:', result.error.message);
85907
+ }
85908
+ return raw;
85909
+ }
85910
+ }
85911
+
84382
85912
  var NullSimpleLog$3 = Logging.NullSimpleLog;
84383
85913
  /**
84384
85914
  * Service for metric batch and tree operations: batch retrieval by metric
@@ -88256,6 +89786,7 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
88256
89786
  dxSessionService: new SessionService(dxSaaSService),
88257
89787
  dxSituationService: new SituationService(dxSaaSService, log),
88258
89788
  dxSLIService: new SLIService(dxSaaSService, log),
89789
+ dxMetricAnomalyService: new MetricAnomalyService(dxSaaSService, log),
88259
89790
  dxSQLService: new SQLService(dxSaaSService),
88260
89791
  dxStatesService: new DataStoreStatesService(dxSaaSService, log),
88261
89792
  dxTASService,
@@ -88265,5 +89796,5 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
88265
89796
  };
88266
89797
  }
88267
89798
 
88268
- export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, ALGORITHMIC_SITUATIONS_KEY, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CLUSTERING_POLICY_BUILTIN_AUTHORS, CLUSTERING_POLICY_CONDITIONS, CLUSTERING_POLICY_PRESENCE_CONDITIONS, CLUSTERING_POLICY_PREVIEW_RANGES, CLUSTERING_POLICY_STATUSES, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, ClusteringCriteriaValuesSchema, ClusteringCriterionPropertiesSchema, ClusteringCriterionSchema, ClusteringPolicyCriteriaSchema, ClusteringPolicyPreviewResponseSchema, ClusteringPolicySchema, ClusteringPolicySearchRequestSchema, ClusteringPolicySearchResponseSchema, ClusteringPolicyService, ClusteringPolicyWriteBodySchema, ClusteringPreviewClusterSchema, ClusteringPreviewTemplateSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EmptyCriteriaSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JEXL_CONTEXT_CATALOG, JEXL_SAMPLE_CONTEXT, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogCustomIngest, LogIngest, LogQuery, LogTypes, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFieldSchema, PolicyFieldsResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyNamingOperationSchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SOURCENAME_DIALECT_CATALOG, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, StoredCriteriaSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TC_RESERVED_CUSTOM_ATTRIBUTE_KEYS, TC_STANDARD_ATTRIBUTE_KEYS, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantConfigAttributeSchema, TenantConfigAttributesResponseSchema, TenantConfigAttributesWriteBodySchema, TenantConfigAttributesWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, algorithmicSituationsEnabled, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, attributeFilterTargets, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildClusteringPolicyUpdateBody, buildCustomLogPayload, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, chunkPayloads, classifyIngestionError, compileTcSourceName, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, customAttributeKeyIssues, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, describeClusteringCriteria, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInClusteringPolicy, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isEmptyCriteria, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, isWildcardOnlySourceName, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, lintSourceName, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, measureBytes, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseExpression, parseExternalIdFormat, parseFilter, parseSaasGateway, parseServiceNowUrl, pipeGroupRanges, planEnrichmentReorder, policyCategoryGuard, policyFieldBounds, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, sendWithRetry, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sleep, sliHumanName, sloTripletFor, sortRulesByPriority, sourceNameBattery, sourceNameMatrix, splitAttributePath, splitTemplate, standardVertexAttributes, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToJavaRegex, tcSourceNameToMmPattern, templateUsage, tenantConfigAttribute, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toChannelWriteBody, toClusteringPolicyPreviewBody, toClusteringPolicyWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
89799
+ export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, ALGORITHMIC_SITUATIONS_KEY, ANOMALY_DETECTION_PRODUCTS, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnomalyAlertConfigSchema, AnomalyDetectionGroupDeleteResponseSchema, AnomalyDetectionGroupSaveRequestSchema, AnomalyDetectionGroupSaveResponseSchema, AnomalyDetectionGroupSchema, AnomalyDetectionGroupSearchRequestSchema, AnomalyDetectionGroupSearchResponseSchema, AnomalyGroupMetricsEntrySchema, AnomalyGroupMetricsRequestSchema, AnomalyGroupMetricsResponseSchema, AnomalyMetricFieldsRequestSchema, AnomalyMetricFieldsResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CLUSTERING_POLICY_BUILTIN_AUTHORS, CLUSTERING_POLICY_CONDITIONS, CLUSTERING_POLICY_PRESENCE_CONDITIONS, CLUSTERING_POLICY_PREVIEW_RANGES, CLUSTERING_POLICY_STATUSES, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, ClusteringCriteriaValuesSchema, ClusteringCriterionPropertiesSchema, ClusteringCriterionSchema, ClusteringPolicyCriteriaSchema, ClusteringPolicyPreviewResponseSchema, ClusteringPolicySchema, ClusteringPolicySearchRequestSchema, ClusteringPolicySearchResponseSchema, ClusteringPolicyService, ClusteringPolicyWriteBodySchema, ClusteringPreviewClusterSchema, ClusteringPreviewTemplateSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EmptyCriteriaSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JEXL_CONTEXT_CATALOG, JEXL_SAMPLE_CONTEXT, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogCustomIngest, LogIngest, LogQuery, LogTypes, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAnomalyService, MetricAttributeSchema, MetricBatchService, MetricConfigCustomFilterSchema, MetricConfigFilterOrBlockSchema, MetricConfigFilterSchema, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFieldSchema, PolicyFieldsResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyNamingOperationSchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultCellSchema, QueryResultSchema, QueryResultTableSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SOURCENAME_DIALECT_CATALOG, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, StoredCriteriaSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TC_RESERVED_CUSTOM_ATTRIBUTE_KEYS, TC_STANDARD_ATTRIBUTE_KEYS, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantConfigAttributeSchema, TenantConfigAttributesResponseSchema, TenantConfigAttributesWriteBodySchema, TenantConfigAttributesWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, algorithmicSituationsEnabled, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, attributeFilterTargets, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildClusteringPolicyUpdateBody, buildCustomLogPayload, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, chunkPayloads, classifyIngestionError, compileTcSourceName, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, customAttributeKeyIssues, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, describeClusteringCriteria, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInClusteringPolicy, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isEmptyCriteria, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, isWildcardOnlySourceName, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, lintSourceName, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, measureBytes, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, orBlocksByField, parseExpression, parseExternalIdFormat, parseFilter, parseSaasGateway, parseServiceNowUrl, pipeGroupRanges, planEnrichmentReorder, policyCategoryGuard, policyFieldBounds, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveAnomalyDetectionProduct, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, sendWithRetry, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sleep, sliHumanName, sloTripletFor, sortRulesByPriority, sourceNameBattery, sourceNameMatrix, splitAttributePath, splitTemplate, standardVertexAttributes, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToJavaRegex, tcSourceNameToMmPattern, templateUsage, tenantConfigAttribute, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toAnomalyDetectionGroupSaveRequest, toAnomalyGroupMetricsRequest, toChannelWriteBody, toClusteringPolicyPreviewBody, toClusteringPolicyWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
88269
89800
  //# sourceMappingURL=index.esm.js.map