@gammarers/aws-daily-cost-usage-report-stack 2.0.25 → 2.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.jsii CHANGED
@@ -4139,6 +4139,6 @@
4139
4139
  "symbolId": "src/index:DailyCostUsageReportStackProps"
4140
4140
  }
4141
4141
  },
4142
- "version": "2.0.25",
4143
- "fingerprint": "7cjI/vLH9WZsPK8edpFpFtMyEKDhjXeiOwKjV2TsIBg="
4142
+ "version": "2.0.27",
4143
+ "fingerprint": "/NVN1jB/Q8kklwlzBx1WbjcyeM02bCGOWvZJw+soSMk="
4144
4144
  }
package/API.md CHANGED
@@ -460,7 +460,7 @@ Convert an object, potentially containing tokens, to a YAML string.
460
460
 
461
461
  ---
462
462
 
463
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct"></a>
463
+ ##### `isConstruct` <a name="isConstruct" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct"></a>
464
464
 
465
465
  ```typescript
466
466
  import { DailyCostUsageReportStack } from '@gammarers/aws-daily-cost-usage-report-stack'
@@ -470,6 +470,20 @@ DailyCostUsageReportStack.isConstruct(x: any)
470
470
 
471
471
  Checks if `x` is a construct.
472
472
 
473
+ Use this method instead of `instanceof` to properly detect `Construct`
474
+ instances, even when the construct library is symlinked.
475
+
476
+ Explanation: in JavaScript, multiple copies of the `constructs` library on
477
+ disk are seen as independent, completely different libraries. As a
478
+ consequence, the class `Construct` in each copy of the `constructs` library
479
+ is seen as a different class, and an instance of one class will not test as
480
+ `instanceof` the other class. `npm install` will not create installations
481
+ like this, but users may manually symlink construct libraries together or
482
+ use a monorepo tool: in those cases, multiple copies of the `constructs`
483
+ library can be accidentally installed, and `instanceof` will behave
484
+ unpredictably. It is safest to avoid using `instanceof`, and using
485
+ this type-testing method instead.
486
+
473
487
  ###### `x`<sup>Required</sup> <a name="x" id="@gammarers/aws-daily-cost-usage-report-stack.DailyCostUsageReportStack.isConstruct.parameter.x"></a>
474
488
 
475
489
  - *Type:* any
@@ -12572,6 +12572,7 @@ var require_axios = __commonJS({
12572
12572
  var FormData$1 = require_form_data();
12573
12573
  var crypto = require("crypto");
12574
12574
  var url = require("url");
12575
+ var http2 = require("http2");
12575
12576
  var proxyFromEnv = require_proxy_from_env();
12576
12577
  var http = require("http");
12577
12578
  var https = require("https");
@@ -13254,7 +13255,7 @@ var require_axios = __commonJS({
13254
13255
  *
13255
13256
  * @param {Number} id The ID that was returned by `use`
13256
13257
  *
13257
- * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
13258
+ * @returns {void}
13258
13259
  */
13259
13260
  eject(id) {
13260
13261
  if (this.handlers[id]) {
@@ -13831,7 +13832,7 @@ var require_axios = __commonJS({
13831
13832
  }
13832
13833
  return requestedURL;
13833
13834
  }
13834
- var VERSION = "1.12.2";
13835
+ var VERSION = "1.13.1";
13835
13836
  function parseProtocol(url2) {
13836
13837
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
13837
13838
  return match && match[1] || "";
@@ -14252,6 +14253,12 @@ var require_axios = __commonJS({
14252
14253
  flush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH,
14253
14254
  finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH
14254
14255
  };
14256
+ var {
14257
+ HTTP2_HEADER_SCHEME,
14258
+ HTTP2_HEADER_METHOD,
14259
+ HTTP2_HEADER_PATH,
14260
+ HTTP2_HEADER_STATUS
14261
+ } = http2.constants;
14255
14262
  var isBrotliSupported = utils$1.isFunction(zlib__default["default"].createBrotliDecompress);
14256
14263
  var { http: httpFollow, https: httpsFollow } = followRedirects__default["default"];
14257
14264
  var isHttps = /https:?/;
@@ -14262,6 +14269,75 @@ var require_axios = __commonJS({
14262
14269
  stream2.on("end", flush).on("error", flush);
14263
14270
  return throttled;
14264
14271
  };
14272
+ var Http2Sessions = class {
14273
+ constructor() {
14274
+ this.sessions = /* @__PURE__ */ Object.create(null);
14275
+ }
14276
+ getSession(authority, options) {
14277
+ options = Object.assign({
14278
+ sessionTimeout: 1e3
14279
+ }, options);
14280
+ let authoritySessions;
14281
+ if (authoritySessions = this.sessions[authority]) {
14282
+ let len = authoritySessions.length;
14283
+ for (let i = 0; i < len; i++) {
14284
+ const [sessionHandle, sessionOptions] = authoritySessions[i];
14285
+ if (!sessionHandle.destroyed && !sessionHandle.closed && util__default["default"].isDeepStrictEqual(sessionOptions, options)) {
14286
+ return sessionHandle;
14287
+ }
14288
+ }
14289
+ }
14290
+ const session = http2.connect(authority, options);
14291
+ let removed;
14292
+ const removeSession = () => {
14293
+ if (removed) {
14294
+ return;
14295
+ }
14296
+ removed = true;
14297
+ let entries2 = authoritySessions, len = entries2.length, i = len;
14298
+ while (i--) {
14299
+ if (entries2[i][0] === session) {
14300
+ entries2.splice(i, 1);
14301
+ if (len === 1) {
14302
+ delete this.sessions[authority];
14303
+ return;
14304
+ }
14305
+ }
14306
+ }
14307
+ };
14308
+ const originalRequestFn = session.request;
14309
+ const { sessionTimeout } = options;
14310
+ if (sessionTimeout != null) {
14311
+ let timer;
14312
+ let streamsCount = 0;
14313
+ session.request = function() {
14314
+ const stream2 = originalRequestFn.apply(this, arguments);
14315
+ streamsCount++;
14316
+ if (timer) {
14317
+ clearTimeout(timer);
14318
+ timer = null;
14319
+ }
14320
+ stream2.once("close", () => {
14321
+ if (!--streamsCount) {
14322
+ timer = setTimeout(() => {
14323
+ timer = null;
14324
+ removeSession();
14325
+ }, sessionTimeout);
14326
+ }
14327
+ });
14328
+ return stream2;
14329
+ };
14330
+ }
14331
+ session.once("close", removeSession);
14332
+ let entries = this.sessions[authority], entry = [
14333
+ session,
14334
+ options
14335
+ ];
14336
+ entries ? this.sessions[authority].push(entry) : authoritySessions = this.sessions[authority] = [entry];
14337
+ return session;
14338
+ }
14339
+ };
14340
+ var http2Sessions = new Http2Sessions();
14265
14341
  function dispatchBeforeRedirect(options, responseDetails) {
14266
14342
  if (options.beforeRedirects.proxy) {
14267
14343
  options.beforeRedirects.proxy(options);
@@ -14334,14 +14410,48 @@ var require_axios = __commonJS({
14334
14410
  };
14335
14411
  };
14336
14412
  var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
14413
+ var http2Transport = {
14414
+ request(options, cb) {
14415
+ const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
14416
+ const { http2Options, headers } = options;
14417
+ const session = http2Sessions.getSession(authority, http2Options);
14418
+ const http2Headers = {
14419
+ [HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
14420
+ [HTTP2_HEADER_METHOD]: options.method,
14421
+ [HTTP2_HEADER_PATH]: options.path
14422
+ };
14423
+ utils$1.forEach(headers, (header, name) => {
14424
+ name.charAt(0) !== ":" && (http2Headers[name] = header);
14425
+ });
14426
+ const req = session.request(http2Headers);
14427
+ req.once("response", (responseHeaders) => {
14428
+ const response = req;
14429
+ responseHeaders = Object.assign({}, responseHeaders);
14430
+ const status = responseHeaders[HTTP2_HEADER_STATUS];
14431
+ delete responseHeaders[HTTP2_HEADER_STATUS];
14432
+ response.headers = responseHeaders;
14433
+ response.statusCode = +status;
14434
+ cb(response);
14435
+ });
14436
+ return req;
14437
+ }
14438
+ };
14337
14439
  var httpAdapter = isHttpAdapterSupported && function httpAdapter2(config) {
14338
14440
  return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
14339
- let { data, lookup, family } = config;
14441
+ let { data, lookup, family, httpVersion = 1, http2Options } = config;
14340
14442
  const { responseType, responseEncoding } = config;
14341
14443
  const method = config.method.toUpperCase();
14342
14444
  let isDone;
14343
14445
  let rejected = false;
14344
14446
  let req;
14447
+ httpVersion = +httpVersion;
14448
+ if (Number.isNaN(httpVersion)) {
14449
+ throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
14450
+ }
14451
+ if (httpVersion !== 1 && httpVersion !== 2) {
14452
+ throw TypeError(`Unsupported protocol version '${httpVersion}'`);
14453
+ }
14454
+ const isHttp2 = httpVersion === 2;
14345
14455
  if (lookup) {
14346
14456
  const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
14347
14457
  lookup = (hostname, opt, cb) => {
@@ -14354,7 +14464,15 @@ var require_axios = __commonJS({
14354
14464
  });
14355
14465
  };
14356
14466
  }
14357
- const emitter = new events.EventEmitter();
14467
+ const abortEmitter = new events.EventEmitter();
14468
+ function abort(reason) {
14469
+ try {
14470
+ abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14471
+ } catch (err) {
14472
+ console.warn("emit error", err);
14473
+ }
14474
+ }
14475
+ abortEmitter.once("abort", reject);
14358
14476
  const onFinished = () => {
14359
14477
  if (config.cancelToken) {
14360
14478
  config.cancelToken.unsubscribe(abort);
@@ -14362,25 +14480,31 @@ var require_axios = __commonJS({
14362
14480
  if (config.signal) {
14363
14481
  config.signal.removeEventListener("abort", abort);
14364
14482
  }
14365
- emitter.removeAllListeners();
14483
+ abortEmitter.removeAllListeners();
14366
14484
  };
14367
- onDone((value, isRejected) => {
14368
- isDone = true;
14369
- if (isRejected) {
14370
- rejected = true;
14371
- onFinished();
14372
- }
14373
- });
14374
- function abort(reason) {
14375
- emitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
14376
- }
14377
- emitter.once("abort", reject);
14378
14485
  if (config.cancelToken || config.signal) {
14379
14486
  config.cancelToken && config.cancelToken.subscribe(abort);
14380
14487
  if (config.signal) {
14381
14488
  config.signal.aborted ? abort() : config.signal.addEventListener("abort", abort);
14382
14489
  }
14383
14490
  }
14491
+ onDone((response, isRejected) => {
14492
+ isDone = true;
14493
+ if (isRejected) {
14494
+ rejected = true;
14495
+ onFinished();
14496
+ return;
14497
+ }
14498
+ const { data: data2 } = response;
14499
+ if (data2 instanceof stream__default["default"].Readable || data2 instanceof stream__default["default"].Duplex) {
14500
+ const offListeners = stream__default["default"].finished(data2, () => {
14501
+ offListeners();
14502
+ onFinished();
14503
+ });
14504
+ } else {
14505
+ onFinished();
14506
+ }
14507
+ });
14384
14508
  const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
14385
14509
  const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : void 0);
14386
14510
  const protocol = parsed.protocol || supportedProtocols[0];
@@ -14546,7 +14670,8 @@ var require_axios = __commonJS({
14546
14670
  protocol,
14547
14671
  family,
14548
14672
  beforeRedirect: dispatchBeforeRedirect,
14549
- beforeRedirects: {}
14673
+ beforeRedirects: {},
14674
+ http2Options
14550
14675
  };
14551
14676
  !utils$1.isUndefined(lookup) && (options.lookup = lookup);
14552
14677
  if (config.socketPath) {
@@ -14559,18 +14684,22 @@ var require_axios = __commonJS({
14559
14684
  let transport;
14560
14685
  const isHttpsRequest = isHttps.test(options.protocol);
14561
14686
  options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
14562
- if (config.transport) {
14563
- transport = config.transport;
14564
- } else if (config.maxRedirects === 0) {
14565
- transport = isHttpsRequest ? https__default["default"] : http__default["default"];
14687
+ if (isHttp2) {
14688
+ transport = http2Transport;
14566
14689
  } else {
14567
- if (config.maxRedirects) {
14568
- options.maxRedirects = config.maxRedirects;
14569
- }
14570
- if (config.beforeRedirect) {
14571
- options.beforeRedirects.config = config.beforeRedirect;
14690
+ if (config.transport) {
14691
+ transport = config.transport;
14692
+ } else if (config.maxRedirects === 0) {
14693
+ transport = isHttpsRequest ? https__default["default"] : http__default["default"];
14694
+ } else {
14695
+ if (config.maxRedirects) {
14696
+ options.maxRedirects = config.maxRedirects;
14697
+ }
14698
+ if (config.beforeRedirect) {
14699
+ options.beforeRedirects.config = config.beforeRedirect;
14700
+ }
14701
+ transport = isHttpsRequest ? httpsFollow : httpFollow;
14572
14702
  }
14573
- transport = isHttpsRequest ? httpsFollow : httpFollow;
14574
14703
  }
14575
14704
  if (config.maxBodyLength > -1) {
14576
14705
  options.maxBodyLength = config.maxBodyLength;
@@ -14583,7 +14712,7 @@ var require_axios = __commonJS({
14583
14712
  req = transport.request(options, function handleResponse(res) {
14584
14713
  if (req.destroyed) return;
14585
14714
  const streams = [res];
14586
- const responseLength = +res.headers["content-length"];
14715
+ const responseLength = utils$1.toFiniteNumber(res.headers["content-length"]);
14587
14716
  if (onDownloadProgress || maxDownloadRate) {
14588
14717
  const transformStream = new AxiosTransformStream$1({
14589
14718
  maxRate: utils$1.toFiniteNumber(maxDownloadRate)
@@ -14625,10 +14754,6 @@ var require_axios = __commonJS({
14625
14754
  }
14626
14755
  }
14627
14756
  responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
14628
- const offListeners = stream__default["default"].finished(responseStream, () => {
14629
- offListeners();
14630
- onFinished();
14631
- });
14632
14757
  const response = {
14633
14758
  status: res.statusCode,
14634
14759
  statusText: res.statusMessage,
@@ -14648,7 +14773,7 @@ var require_axios = __commonJS({
14648
14773
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
14649
14774
  rejected = true;
14650
14775
  responseStream.destroy();
14651
- reject(new AxiosError(
14776
+ abort(new AxiosError(
14652
14777
  "maxContentLength size of " + config.maxContentLength + " exceeded",
14653
14778
  AxiosError.ERR_BAD_RESPONSE,
14654
14779
  config,
@@ -14689,16 +14814,19 @@ var require_axios = __commonJS({
14689
14814
  settle(resolve, reject, response);
14690
14815
  });
14691
14816
  }
14692
- emitter.once("abort", (err) => {
14817
+ abortEmitter.once("abort", (err) => {
14693
14818
  if (!responseStream.destroyed) {
14694
14819
  responseStream.emit("error", err);
14695
14820
  responseStream.destroy();
14696
14821
  }
14697
14822
  });
14698
14823
  });
14699
- emitter.once("abort", (err) => {
14700
- reject(err);
14701
- req.destroy(err);
14824
+ abortEmitter.once("abort", (err) => {
14825
+ if (req.close) {
14826
+ req.close();
14827
+ } else {
14828
+ req.destroy(err);
14829
+ }
14702
14830
  });
14703
14831
  req.on("error", function handleRequestError(err) {
14704
14832
  reject(AxiosError.from(err, null, config, req));
@@ -14709,7 +14837,7 @@ var require_axios = __commonJS({
14709
14837
  if (config.timeout) {
14710
14838
  const timeout = parseInt(config.timeout, 10);
14711
14839
  if (Number.isNaN(timeout)) {
14712
- reject(new AxiosError(
14840
+ abort(new AxiosError(
14713
14841
  "error trying to parse `config.timeout` to int",
14714
14842
  AxiosError.ERR_BAD_OPTION_VALUE,
14715
14843
  config,
@@ -14724,13 +14852,12 @@ var require_axios = __commonJS({
14724
14852
  if (config.timeoutErrorMessage) {
14725
14853
  timeoutErrorMessage = config.timeoutErrorMessage;
14726
14854
  }
14727
- reject(new AxiosError(
14855
+ abort(new AxiosError(
14728
14856
  timeoutErrorMessage,
14729
14857
  transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
14730
14858
  config,
14731
14859
  req
14732
14860
  ));
14733
- abort();
14734
14861
  });
14735
14862
  }
14736
14863
  if (utils$1.isStream(data)) {
@@ -14750,7 +14877,8 @@ var require_axios = __commonJS({
14750
14877
  });
14751
14878
  data.pipe(req);
14752
14879
  } else {
14753
- req.end(data);
14880
+ data && req.write(data);
14881
+ req.end();
14754
14882
  }
14755
14883
  });
14756
14884
  };
@@ -14764,20 +14892,33 @@ var require_axios = __commonJS({
14764
14892
  var cookies = platform.hasStandardBrowserEnv ? (
14765
14893
  // Standard browser envs support document.cookie
14766
14894
  {
14767
- write(name, value, expires, path, domain, secure) {
14768
- const cookie = [name + "=" + encodeURIComponent(value)];
14769
- utils$1.isNumber(expires) && cookie.push("expires=" + new Date(expires).toGMTString());
14770
- utils$1.isString(path) && cookie.push("path=" + path);
14771
- utils$1.isString(domain) && cookie.push("domain=" + domain);
14772
- secure === true && cookie.push("secure");
14895
+ write(name, value, expires, path, domain, secure, sameSite) {
14896
+ if (typeof document === "undefined") return;
14897
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
14898
+ if (utils$1.isNumber(expires)) {
14899
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
14900
+ }
14901
+ if (utils$1.isString(path)) {
14902
+ cookie.push(`path=${path}`);
14903
+ }
14904
+ if (utils$1.isString(domain)) {
14905
+ cookie.push(`domain=${domain}`);
14906
+ }
14907
+ if (secure === true) {
14908
+ cookie.push("secure");
14909
+ }
14910
+ if (utils$1.isString(sameSite)) {
14911
+ cookie.push(`SameSite=${sameSite}`);
14912
+ }
14773
14913
  document.cookie = cookie.join("; ");
14774
14914
  },
14775
14915
  read(name) {
14776
- const match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
14777
- return match ? decodeURIComponent(match[3]) : null;
14916
+ if (typeof document === "undefined") return null;
14917
+ const match = document.cookie.match(new RegExp("(?:^|; )" + name + "=([^;]*)"));
14918
+ return match ? decodeURIComponent(match[1]) : null;
14778
14919
  },
14779
14920
  remove(name) {
14780
- this.write(name, "", Date.now() - 864e5);
14921
+ this.write(name, "", Date.now() - 864e5, "/");
14781
14922
  }
14782
14923
  }
14783
14924
  ) : (
@@ -15332,7 +15473,7 @@ var require_axios = __commonJS({
15332
15473
  };
15333
15474
  var seedCache = /* @__PURE__ */ new Map();
15334
15475
  var getFetch = (config) => {
15335
- let env = config ? config.env : {};
15476
+ let env = config && config.env || {};
15336
15477
  const { fetch: fetch2, Request, Response } = env;
15337
15478
  const seeds = [
15338
15479
  Request,
@@ -15367,40 +15508,49 @@ var require_axios = __commonJS({
15367
15508
  });
15368
15509
  var renderReason = (reason) => `- ${reason}`;
15369
15510
  var isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
15370
- var adapters = {
15371
- getAdapter: (adapters2, config) => {
15372
- adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
15373
- const { length } = adapters2;
15374
- let nameOrAdapter;
15375
- let adapter;
15376
- const rejectedReasons = {};
15377
- for (let i = 0; i < length; i++) {
15378
- nameOrAdapter = adapters2[i];
15379
- let id;
15380
- adapter = nameOrAdapter;
15381
- if (!isResolvedHandle(nameOrAdapter)) {
15382
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15383
- if (adapter === void 0) {
15384
- throw new AxiosError(`Unknown adapter '${id}'`);
15385
- }
15511
+ function getAdapter(adapters2, config) {
15512
+ adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
15513
+ const { length } = adapters2;
15514
+ let nameOrAdapter;
15515
+ let adapter;
15516
+ const rejectedReasons = {};
15517
+ for (let i = 0; i < length; i++) {
15518
+ nameOrAdapter = adapters2[i];
15519
+ let id;
15520
+ adapter = nameOrAdapter;
15521
+ if (!isResolvedHandle(nameOrAdapter)) {
15522
+ adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
15523
+ if (adapter === void 0) {
15524
+ throw new AxiosError(`Unknown adapter '${id}'`);
15386
15525
  }
15387
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
15388
- break;
15389
- }
15390
- rejectedReasons[id || "#" + i] = adapter;
15391
15526
  }
15392
- if (!adapter) {
15393
- const reasons = Object.entries(rejectedReasons).map(
15394
- ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15395
- );
15396
- let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15397
- throw new AxiosError(
15398
- `There is no suitable adapter to dispatch the request ` + s,
15399
- "ERR_NOT_SUPPORT"
15400
- );
15527
+ if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
15528
+ break;
15401
15529
  }
15402
- return adapter;
15403
- },
15530
+ rejectedReasons[id || "#" + i] = adapter;
15531
+ }
15532
+ if (!adapter) {
15533
+ const reasons = Object.entries(rejectedReasons).map(
15534
+ ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
15535
+ );
15536
+ let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
15537
+ throw new AxiosError(
15538
+ `There is no suitable adapter to dispatch the request ` + s,
15539
+ "ERR_NOT_SUPPORT"
15540
+ );
15541
+ }
15542
+ return adapter;
15543
+ }
15544
+ var adapters = {
15545
+ /**
15546
+ * Resolve an adapter from a list of adapter names or functions.
15547
+ * @type {Function}
15548
+ */
15549
+ getAdapter,
15550
+ /**
15551
+ * Exposes all known adapters
15552
+ * @type {Object<string, Function|Object>}
15553
+ */
15404
15554
  adapters: knownAdapters
15405
15555
  };
15406
15556
  function throwIfCancellationRequested(config) {
@@ -15845,7 +15995,13 @@ var require_axios = __commonJS({
15845
15995
  InsufficientStorage: 507,
15846
15996
  LoopDetected: 508,
15847
15997
  NotExtended: 510,
15848
- NetworkAuthenticationRequired: 511
15998
+ NetworkAuthenticationRequired: 511,
15999
+ WebServerIsDown: 521,
16000
+ ConnectionTimedOut: 522,
16001
+ OriginIsUnreachable: 523,
16002
+ TimeoutOccurred: 524,
16003
+ SslHandshakeFailed: 525,
16004
+ InvalidSslCertificate: 526
15849
16005
  };
15850
16006
  Object.entries(HttpStatusCode).forEach(([key, value]) => {
15851
16007
  HttpStatusCode[value] = key;
@@ -16770,6 +16926,27 @@ var require_message_metadata2 = __commonJS({
16770
16926
  "node_modules/@slack/types/dist/message-metadata.js"(exports2) {
16771
16927
  "use strict";
16772
16928
  Object.defineProperty(exports2, "__esModule", { value: true });
16929
+ exports2.CustomFieldType = exports2.EntityType = void 0;
16930
+ var EntityType;
16931
+ (function(EntityType2) {
16932
+ EntityType2["Task"] = "slack#/entities/task";
16933
+ EntityType2["File"] = "slack#/entities/file";
16934
+ EntityType2["Item"] = "slack#/entities/item";
16935
+ EntityType2["Incident"] = "slack#/entities/incident";
16936
+ EntityType2["ContentItem"] = "slack#/entities/content_item";
16937
+ })(EntityType || (exports2.EntityType = EntityType = {}));
16938
+ var CustomFieldType;
16939
+ (function(CustomFieldType2) {
16940
+ CustomFieldType2["Integer"] = "integer";
16941
+ CustomFieldType2["String"] = "string";
16942
+ CustomFieldType2["Array"] = "array";
16943
+ CustomFieldType2["Date"] = "slack#/types/date";
16944
+ CustomFieldType2["Timestamp"] = "slack#/types/timestamp";
16945
+ CustomFieldType2["Image"] = "slack#/types/image";
16946
+ CustomFieldType2["ChannelId"] = "slack#/types/channel_id";
16947
+ CustomFieldType2["User"] = "slack#/types/user";
16948
+ CustomFieldType2["EntityRef"] = "slack#/types/entity_ref";
16949
+ })(CustomFieldType || (exports2.CustomFieldType = CustomFieldType = {}));
16773
16950
  }
16774
16951
  });
16775
16952
 
@@ -18986,7 +19163,7 @@ mime-types/index.js:
18986
19163
  *)
18987
19164
 
18988
19165
  axios/dist/node/axios.cjs:
18989
- (*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors *)
19166
+ (*! Axios v1.13.1 Copyright (c) 2025 Matt Zabriskie and contributors *)
18990
19167
 
18991
19168
  safe-buffer/index.js:
18992
19169
  (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)