@fern-api/fern-api-dev 3.70.3 → 3.71.0-2-g32e559c00c4

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 (2) hide show
  1. package/cli.cjs +507 -111
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -671980,7 +671980,7 @@ var AccessTokenPosthogManager = class {
671980
671980
  properties: {
671981
671981
  ...event,
671982
671982
  ...event.properties,
671983
- version: "3.70.3",
671983
+ version: "3.71.0-2-g32e559c00c4",
671984
671984
  usingAccessToken: true
671985
671985
  }
671986
671986
  });
@@ -672079,7 +672079,7 @@ var UserPosthogManager = class {
672079
672079
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
672080
672080
  event: "CLI",
672081
672081
  properties: {
672082
- version: "3.70.3",
672082
+ version: "3.71.0-2-g32e559c00c4",
672083
672083
  ...event,
672084
672084
  ...event.properties,
672085
672085
  usingAccessToken: false,
@@ -672156,14 +672156,14 @@ async function createPosthogManager() {
672156
672156
  }
672157
672157
  }
672158
672158
 
672159
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/bind.js
672159
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/bind.js
672160
672160
  function bind(fn4, thisArg) {
672161
672161
  return function wrap7() {
672162
672162
  return fn4.apply(thisArg, arguments);
672163
672163
  };
672164
672164
  }
672165
672165
 
672166
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/utils.js
672166
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/utils.js
672167
672167
  var { toString: toString5 } = Object.prototype;
672168
672168
  var { getPrototypeOf } = Object;
672169
672169
  var { iterator, toStringTag } = Symbol;
@@ -672224,7 +672224,12 @@ var isFormData = (thing) => {
672224
672224
  kind === "object" && isFunction5(thing.toString) && thing.toString() === "[object FormData]"));
672225
672225
  };
672226
672226
  var isURLSearchParams2 = kindOfTest("URLSearchParams");
672227
- var [isReadableStream2, isRequest2, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
672227
+ var [isReadableStream2, isRequest2, isResponse, isHeaders] = [
672228
+ "ReadableStream",
672229
+ "Request",
672230
+ "Response",
672231
+ "Headers"
672232
+ ].map(kindOfTest);
672228
672233
  var trim = (str3) => str3.trim ? str3.trim() : str3.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
672229
672234
  function forEach(obj, fn4, { allOwnKeys = false } = {}) {
672230
672235
  if (obj === null || typeof obj === "undefined") {
@@ -672277,6 +672282,9 @@ function merge2() {
672277
672282
  const { caseless, skipUndefined } = isContextDefined(this) && this || {};
672278
672283
  const result = {};
672279
672284
  const assignValue2 = (val, key2) => {
672285
+ if (key2 === "__proto__" || key2 === "constructor" || key2 === "prototype") {
672286
+ return;
672287
+ }
672280
672288
  const targetKey = caseless && findKey(result, key2) || key2;
672281
672289
  if (isPlainObject6(result[targetKey]) && isPlainObject6(val)) {
672282
672290
  result[targetKey] = merge2(result[targetKey], val);
@@ -672294,23 +672302,27 @@ function merge2() {
672294
672302
  return result;
672295
672303
  }
672296
672304
  var extend = (a10, b18, thisArg, { allOwnKeys } = {}) => {
672297
- forEach(b18, (val, key2) => {
672298
- if (thisArg && isFunction5(val)) {
672299
- Object.defineProperty(a10, key2, {
672300
- value: bind(val, thisArg),
672301
- writable: true,
672302
- enumerable: true,
672303
- configurable: true
672304
- });
672305
- } else {
672306
- Object.defineProperty(a10, key2, {
672307
- value: val,
672308
- writable: true,
672309
- enumerable: true,
672310
- configurable: true
672311
- });
672312
- }
672313
- }, { allOwnKeys });
672305
+ forEach(
672306
+ b18,
672307
+ (val, key2) => {
672308
+ if (thisArg && isFunction5(val)) {
672309
+ Object.defineProperty(a10, key2, {
672310
+ value: bind(val, thisArg),
672311
+ writable: true,
672312
+ enumerable: true,
672313
+ configurable: true
672314
+ });
672315
+ } else {
672316
+ Object.defineProperty(a10, key2, {
672317
+ value: val,
672318
+ writable: true,
672319
+ enumerable: true,
672320
+ configurable: true
672321
+ });
672322
+ }
672323
+ },
672324
+ { allOwnKeys }
672325
+ );
672314
672326
  return a10;
672315
672327
  };
672316
672328
  var stripBOM = (content5) => {
@@ -672320,7 +672332,10 @@ var stripBOM = (content5) => {
672320
672332
  return content5;
672321
672333
  };
672322
672334
  var inherits = (constructor, superConstructor, props, descriptors) => {
672323
- constructor.prototype = Object.create(superConstructor.prototype, descriptors);
672335
+ constructor.prototype = Object.create(
672336
+ superConstructor.prototype,
672337
+ descriptors
672338
+ );
672324
672339
  Object.defineProperty(constructor.prototype, "constructor", {
672325
672340
  value: constructor,
672326
672341
  writable: true,
@@ -672397,12 +672412,9 @@ var matchAll = (regExp, str3) => {
672397
672412
  };
672398
672413
  var isHTMLForm = kindOfTest("HTMLFormElement");
672399
672414
  var toCamelCase = (str3) => {
672400
- return str3.toLowerCase().replace(
672401
- /[-_\s]([a-z\d])(\w*)/g,
672402
- function replacer(m10, p1, p23) {
672403
- return p1.toUpperCase() + p23;
672404
- }
672405
- );
672415
+ return str3.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m10, p1, p23) {
672416
+ return p1.toUpperCase() + p23;
672417
+ });
672406
672418
  };
672407
672419
  var hasOwnProperty15 = (({ hasOwnProperty: hasOwnProperty19 }) => (obj, prop) => hasOwnProperty19.call(obj, prop))(Object.prototype);
672408
672420
  var isRegExp = kindOfTest("RegExp");
@@ -672486,20 +672498,21 @@ var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
672486
672498
  return setImmediate;
672487
672499
  }
672488
672500
  return postMessageSupported ? ((token, callbacks) => {
672489
- _global2.addEventListener("message", ({ source: source2, data: data2 }) => {
672490
- if (source2 === _global2 && data2 === token) {
672491
- callbacks.length && callbacks.shift()();
672492
- }
672493
- }, false);
672501
+ _global2.addEventListener(
672502
+ "message",
672503
+ ({ source: source2, data: data2 }) => {
672504
+ if (source2 === _global2 && data2 === token) {
672505
+ callbacks.length && callbacks.shift()();
672506
+ }
672507
+ },
672508
+ false
672509
+ );
672494
672510
  return (cb2) => {
672495
672511
  callbacks.push(cb2);
672496
672512
  _global2.postMessage(token, "*");
672497
672513
  };
672498
672514
  })(`axios@${Math.random()}`, []) : (cb2) => setTimeout(cb2);
672499
- })(
672500
- typeof setImmediate === "function",
672501
- isFunction5(_global2.postMessage)
672502
- );
672515
+ })(typeof setImmediate === "function", isFunction5(_global2.postMessage));
672503
672516
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global2) : typeof process !== "undefined" && process.nextTick || _setImmediate;
672504
672517
  var isIterable = (thing) => thing != null && isFunction5(thing[iterator]);
672505
672518
  var utils_default = {
@@ -672563,7 +672576,7 @@ var utils_default = {
672563
672576
  isIterable
672564
672577
  };
672565
672578
 
672566
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/AxiosError.js
672579
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/AxiosError.js
672567
672580
  var AxiosError = class _AxiosError extends Error {
672568
672581
  static from(error49, code6, config3, request6, response, customProps) {
672569
672582
  const axiosError = new _AxiosError(error49.message, code6 || error49.code, config3, request6, response);
@@ -672629,11 +672642,11 @@ AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
672629
672642
  AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
672630
672643
  var AxiosError_default = AxiosError;
672631
672644
 
672632
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/node/classes/FormData.js
672645
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/node/classes/FormData.js
672633
672646
  var import_form_data3 = __toESM(require_form_data(), 1);
672634
672647
  var FormData_default = import_form_data3.default;
672635
672648
 
672636
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/toFormData.js
672649
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/toFormData.js
672637
672650
  function isVisitable(thing) {
672638
672651
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
672639
672652
  }
@@ -672748,7 +672761,7 @@ function toFormData(obj, formData, options2) {
672748
672761
  }
672749
672762
  var toFormData_default = toFormData;
672750
672763
 
672751
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
672764
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
672752
672765
  function encode2(str3) {
672753
672766
  const charMap = {
672754
672767
  "!": "%21",
@@ -672781,7 +672794,7 @@ prototype.toString = function toString6(encoder) {
672781
672794
  };
672782
672795
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
672783
672796
 
672784
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/buildURL.js
672797
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/buildURL.js
672785
672798
  function encode3(val) {
672786
672799
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
672787
672800
  }
@@ -672810,7 +672823,7 @@ function buildURL(url3, params2, options2) {
672810
672823
  return url3;
672811
672824
  }
672812
672825
 
672813
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/InterceptorManager.js
672826
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/InterceptorManager.js
672814
672827
  var InterceptorManager = class {
672815
672828
  constructor() {
672816
672829
  this.handlers = [];
@@ -672875,21 +672888,22 @@ var InterceptorManager = class {
672875
672888
  };
672876
672889
  var InterceptorManager_default = InterceptorManager;
672877
672890
 
672878
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/defaults/transitional.js
672891
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/defaults/transitional.js
672879
672892
  var transitional_default = {
672880
672893
  silentJSONParsing: true,
672881
672894
  forcedJSONParsing: true,
672882
- clarifyTimeoutError: false
672895
+ clarifyTimeoutError: false,
672896
+ legacyInterceptorReqResOrdering: true
672883
672897
  };
672884
672898
 
672885
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/node/index.js
672899
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/node/index.js
672886
672900
  var import_crypto4 = __toESM(require("crypto"), 1);
672887
672901
 
672888
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
672902
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
672889
672903
  var import_url4 = __toESM(require("url"), 1);
672890
672904
  var URLSearchParams_default = import_url4.default.URLSearchParams;
672891
672905
 
672892
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/node/index.js
672906
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/node/index.js
672893
672907
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
672894
672908
  var DIGIT = "0123456789";
672895
672909
  var ALPHABET = {
@@ -672919,7 +672933,7 @@ var node_default2 = {
672919
672933
  protocols: ["http", "https", "file", "data"]
672920
672934
  };
672921
672935
 
672922
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/common/utils.js
672936
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/common/utils.js
672923
672937
  var utils_exports3 = {};
672924
672938
  __export(utils_exports3, {
672925
672939
  hasBrowserEnv: () => hasBrowserEnv,
@@ -672937,13 +672951,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
672937
672951
  })();
672938
672952
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
672939
672953
 
672940
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/platform/index.js
672954
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/platform/index.js
672941
672955
  var platform_default = {
672942
672956
  ...utils_exports3,
672943
672957
  ...node_default2
672944
672958
  };
672945
672959
 
672946
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/toURLEncodedForm.js
672960
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/toURLEncodedForm.js
672947
672961
  function toURLEncodedForm(data2, options2) {
672948
672962
  return toFormData_default(data2, new platform_default.classes.URLSearchParams(), {
672949
672963
  visitor: function(value, key2, path88, helpers) {
@@ -672957,7 +672971,7 @@ function toURLEncodedForm(data2, options2) {
672957
672971
  });
672958
672972
  }
672959
672973
 
672960
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/formDataToJSON.js
672974
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/formDataToJSON.js
672961
672975
  function parsePropPath(name3) {
672962
672976
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name3).map((match3) => {
672963
672977
  return match3[0] === "[]" ? "" : match3[1] || match3[0];
@@ -673010,7 +673024,7 @@ function formDataToJSON(formData) {
673010
673024
  }
673011
673025
  var formDataToJSON_default = formDataToJSON;
673012
673026
 
673013
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/defaults/index.js
673027
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/defaults/index.js
673014
673028
  function stringifySafely(rawValue, parser4, encoder) {
673015
673029
  if (utils_default.isString(rawValue)) {
673016
673030
  try {
@@ -673119,7 +673133,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
673119
673133
  });
673120
673134
  var defaults_default = defaults2;
673121
673135
 
673122
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/parseHeaders.js
673136
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/parseHeaders.js
673123
673137
  var ignoreDuplicateOf = utils_default.toObjectSet([
673124
673138
  "age",
673125
673139
  "authorization",
@@ -673164,7 +673178,7 @@ var parseHeaders_default = (rawHeaders) => {
673164
673178
  return parsed;
673165
673179
  };
673166
673180
 
673167
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/AxiosHeaders.js
673181
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/AxiosHeaders.js
673168
673182
  var $internals = /* @__PURE__ */ Symbol("internals");
673169
673183
  function normalizeHeader(header) {
673170
673184
  return header && String(header).trim().toLowerCase();
@@ -673393,7 +673407,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
673393
673407
  utils_default.freezeMethods(AxiosHeaders);
673394
673408
  var AxiosHeaders_default = AxiosHeaders;
673395
673409
 
673396
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/transformData.js
673410
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/transformData.js
673397
673411
  function transformData(fns, response) {
673398
673412
  const config3 = this || defaults_default;
673399
673413
  const context2 = response || config3;
@@ -673406,12 +673420,12 @@ function transformData(fns, response) {
673406
673420
  return data2;
673407
673421
  }
673408
673422
 
673409
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/cancel/isCancel.js
673423
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/cancel/isCancel.js
673410
673424
  function isCancel(value) {
673411
673425
  return !!(value && value.__CANCEL__);
673412
673426
  }
673413
673427
 
673414
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/cancel/CanceledError.js
673428
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/cancel/CanceledError.js
673415
673429
  var CanceledError = class extends AxiosError_default {
673416
673430
  /**
673417
673431
  * A `CanceledError` is an object that is thrown when an operation is canceled.
@@ -673430,7 +673444,7 @@ var CanceledError = class extends AxiosError_default {
673430
673444
  };
673431
673445
  var CanceledError_default = CanceledError;
673432
673446
 
673433
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/settle.js
673447
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/settle.js
673434
673448
  function settle(resolve10, reject, response) {
673435
673449
  const validateStatus2 = response.config.validateStatus;
673436
673450
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -673446,17 +673460,20 @@ function settle(resolve10, reject, response) {
673446
673460
  }
673447
673461
  }
673448
673462
 
673449
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/isAbsoluteURL.js
673463
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/isAbsoluteURL.js
673450
673464
  function isAbsoluteURL(url3) {
673465
+ if (typeof url3 !== "string") {
673466
+ return false;
673467
+ }
673451
673468
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url3);
673452
673469
  }
673453
673470
 
673454
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/combineURLs.js
673471
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/combineURLs.js
673455
673472
  function combineURLs(baseURL, relativeURL) {
673456
673473
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
673457
673474
  }
673458
673475
 
673459
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/buildFullPath.js
673476
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/buildFullPath.js
673460
673477
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
673461
673478
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
673462
673479
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
@@ -673465,7 +673482,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
673465
673482
  return requestedURL;
673466
673483
  }
673467
673484
 
673468
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/http.js
673485
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/http.js
673469
673486
  var import_proxy_from_env = __toESM(require_proxy_from_env(), 1);
673470
673487
  var import_http2 = __toESM(require("http"), 1);
673471
673488
  var import_https2 = __toESM(require("https"), 1);
@@ -673474,16 +673491,16 @@ var import_util7 = __toESM(require("util"), 1);
673474
673491
  var import_follow_redirects = __toESM(require_follow_redirects(), 1);
673475
673492
  var import_zlib2 = __toESM(require("zlib"), 1);
673476
673493
 
673477
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/env/data.js
673478
- var VERSION = "1.13.4";
673494
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/env/data.js
673495
+ var VERSION = "1.13.5";
673479
673496
 
673480
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/parseProtocol.js
673497
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/parseProtocol.js
673481
673498
  function parseProtocol(url3) {
673482
673499
  const match3 = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url3);
673483
673500
  return match3 && match3[1] || "";
673484
673501
  }
673485
673502
 
673486
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/fromDataURI.js
673503
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/fromDataURI.js
673487
673504
  var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
673488
673505
  function fromDataURI(uri, asBlob, options2) {
673489
673506
  const _Blob = options2 && options2.Blob || platform_default.classes.Blob;
@@ -673512,10 +673529,10 @@ function fromDataURI(uri, asBlob, options2) {
673512
673529
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
673513
673530
  }
673514
673531
 
673515
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/http.js
673532
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/http.js
673516
673533
  var import_stream6 = __toESM(require("stream"), 1);
673517
673534
 
673518
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/AxiosTransformStream.js
673535
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/AxiosTransformStream.js
673519
673536
  var import_stream3 = __toESM(require("stream"), 1);
673520
673537
  var kInternals = /* @__PURE__ */ Symbol("internals");
673521
673538
  var AxiosTransformStream = class extends import_stream3.default.Transform {
@@ -673630,14 +673647,14 @@ var AxiosTransformStream = class extends import_stream3.default.Transform {
673630
673647
  };
673631
673648
  var AxiosTransformStream_default = AxiosTransformStream;
673632
673649
 
673633
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/http.js
673650
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/http.js
673634
673651
  var import_events9 = require("events");
673635
673652
 
673636
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/formDataToStream.js
673653
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/formDataToStream.js
673637
673654
  var import_util6 = __toESM(require("util"), 1);
673638
673655
  var import_stream4 = require("stream");
673639
673656
 
673640
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/readBlob.js
673657
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/readBlob.js
673641
673658
  var { asyncIterator } = Symbol;
673642
673659
  var readBlob = async function* (blob) {
673643
673660
  if (blob.stream) {
@@ -673652,7 +673669,7 @@ var readBlob = async function* (blob) {
673652
673669
  };
673653
673670
  var readBlob_default = readBlob;
673654
673671
 
673655
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/formDataToStream.js
673672
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/formDataToStream.js
673656
673673
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
673657
673674
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util6.default.TextEncoder();
673658
673675
  var CRLF2 = "\r\n";
@@ -673731,7 +673748,7 @@ var formDataToStream = (form, headersHandler, options2) => {
673731
673748
  };
673732
673749
  var formDataToStream_default = formDataToStream;
673733
673750
 
673734
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
673751
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
673735
673752
  var import_stream5 = __toESM(require("stream"), 1);
673736
673753
  var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
673737
673754
  __transform(chunk2, encoding, callback) {
@@ -673753,7 +673770,7 @@ var ZlibHeaderTransformStream = class extends import_stream5.default.Transform {
673753
673770
  };
673754
673771
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
673755
673772
 
673756
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/callbackify.js
673773
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/callbackify.js
673757
673774
  var callbackify = (fn4, reducer2) => {
673758
673775
  return utils_default.isAsyncFn(fn4) ? function(...args) {
673759
673776
  const cb2 = args.pop();
@@ -673768,7 +673785,7 @@ var callbackify = (fn4, reducer2) => {
673768
673785
  };
673769
673786
  var callbackify_default = callbackify;
673770
673787
 
673771
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/speedometer.js
673788
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/speedometer.js
673772
673789
  function speedometer(samplesCount, min) {
673773
673790
  samplesCount = samplesCount || 10;
673774
673791
  const bytes = new Array(samplesCount);
@@ -673804,7 +673821,7 @@ function speedometer(samplesCount, min) {
673804
673821
  }
673805
673822
  var speedometer_default = speedometer;
673806
673823
 
673807
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/throttle.js
673824
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/throttle.js
673808
673825
  function throttle(fn4, freq) {
673809
673826
  let timestamp2 = 0;
673810
673827
  let threshold = 1e3 / freq;
@@ -673839,7 +673856,7 @@ function throttle(fn4, freq) {
673839
673856
  }
673840
673857
  var throttle_default = throttle;
673841
673858
 
673842
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/progressEventReducer.js
673859
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/progressEventReducer.js
673843
673860
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
673844
673861
  let bytesNotified = 0;
673845
673862
  const _speedometer = speedometer_default(50, 250);
@@ -673874,7 +673891,7 @@ var progressEventDecorator = (total, throttled) => {
673874
673891
  };
673875
673892
  var asyncDecorator = (fn4) => (...args) => utils_default.asap(() => fn4(...args));
673876
673893
 
673877
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
673894
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
673878
673895
  function estimateDataURLDecodedBytes(url3) {
673879
673896
  if (!url3 || typeof url3 !== "string") return 0;
673880
673897
  if (!url3.startsWith("data:")) return 0;
@@ -673925,7 +673942,7 @@ function estimateDataURLDecodedBytes(url3) {
673925
673942
  return Buffer.byteLength(body, "utf8");
673926
673943
  }
673927
673944
 
673928
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/http.js
673945
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/http.js
673929
673946
  var zlibOptions = {
673930
673947
  flush: import_zlib2.default.constants.Z_SYNC_FLUSH,
673931
673948
  finishFlush: import_zlib2.default.constants.Z_SYNC_FLUSH
@@ -674570,7 +674587,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config3) {
674570
674587
  });
674571
674588
  };
674572
674589
 
674573
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/isURLSameOrigin.js
674590
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/isURLSameOrigin.js
674574
674591
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url3) => {
674575
674592
  url3 = new URL(url3, platform_default.origin);
674576
674593
  return origin2.protocol === url3.protocol && origin2.host === url3.host && (isMSIE || origin2.port === url3.port);
@@ -674579,7 +674596,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
674579
674596
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
674580
674597
  ) : () => true;
674581
674598
 
674582
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/cookies.js
674599
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/cookies.js
674583
674600
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
674584
674601
  // Standard browser envs support document.cookie
674585
674602
  {
@@ -674625,7 +674642,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
674625
674642
  }
674626
674643
  );
674627
674644
 
674628
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/mergeConfig.js
674645
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/mergeConfig.js
674629
674646
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
674630
674647
  function mergeConfig(config1, config22) {
674631
674648
  config22 = config22 || {};
@@ -674697,15 +674714,20 @@ function mergeConfig(config1, config22) {
674697
674714
  validateStatus: mergeDirectKeys,
674698
674715
  headers: (a10, b18, prop) => mergeDeepProperties(headersToObject(a10), headersToObject(b18), prop, true)
674699
674716
  };
674700
- utils_default.forEach(Object.keys({ ...config1, ...config22 }), function computeConfigValue(prop) {
674701
- const merge11 = mergeMap3[prop] || mergeDeepProperties;
674702
- const configValue = merge11(config1[prop], config22[prop], prop);
674703
- utils_default.isUndefined(configValue) && merge11 !== mergeDirectKeys || (config3[prop] = configValue);
674704
- });
674717
+ utils_default.forEach(
674718
+ Object.keys({ ...config1, ...config22 }),
674719
+ function computeConfigValue(prop) {
674720
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype")
674721
+ return;
674722
+ const merge11 = utils_default.hasOwnProp(mergeMap3, prop) ? mergeMap3[prop] : mergeDeepProperties;
674723
+ const configValue = merge11(config1[prop], config22[prop], prop);
674724
+ utils_default.isUndefined(configValue) && merge11 !== mergeDirectKeys || (config3[prop] = configValue);
674725
+ }
674726
+ );
674705
674727
  return config3;
674706
674728
  }
674707
674729
 
674708
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/resolveConfig.js
674730
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/resolveConfig.js
674709
674731
  var resolveConfig_default = (config3) => {
674710
674732
  const newConfig = mergeConfig({}, config3);
674711
674733
  let { data: data2, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers: headers2, auth: auth8 } = newConfig;
@@ -674742,7 +674764,7 @@ var resolveConfig_default = (config3) => {
674742
674764
  return newConfig;
674743
674765
  };
674744
674766
 
674745
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/xhr.js
674767
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/xhr.js
674746
674768
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
674747
674769
  var xhr_default = isXHRAdapterSupported && function(config3) {
674748
674770
  return new Promise(function dispatchXhrRequest(resolve10, reject) {
@@ -674872,7 +674894,7 @@ var xhr_default = isXHRAdapterSupported && function(config3) {
674872
674894
  });
674873
674895
  };
674874
674896
 
674875
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/composeSignals.js
674897
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/composeSignals.js
674876
674898
  var composeSignals = (signals2, timeout4) => {
674877
674899
  const { length } = signals2 = signals2 ? signals2.filter(Boolean) : [];
674878
674900
  if (timeout4 || length) {
@@ -674908,7 +674930,7 @@ var composeSignals = (signals2, timeout4) => {
674908
674930
  };
674909
674931
  var composeSignals_default = composeSignals;
674910
674932
 
674911
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/trackStream.js
674933
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/trackStream.js
674912
674934
  var streamChunk = function* (chunk2, chunkSize) {
674913
674935
  let len = chunk2.byteLength;
674914
674936
  if (!chunkSize || len < chunkSize) {
@@ -674985,7 +675007,7 @@ var trackStream = (stream5, chunkSize, onProgress, onFinish) => {
674985
675007
  });
674986
675008
  };
674987
675009
 
674988
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/fetch.js
675010
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/fetch.js
674989
675011
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
674990
675012
  var { isFunction: isFunction6 } = utils_default;
674991
675013
  var globalFetchAPI = (({ Request: Request31, Response: Response33 }) => ({
@@ -675164,13 +675186,13 @@ var factory = (env5) => {
675164
675186
  unsubscribe && unsubscribe();
675165
675187
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
675166
675188
  throw Object.assign(
675167
- new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config3, request6),
675189
+ new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config3, request6, err && err.response),
675168
675190
  {
675169
675191
  cause: err.cause || err
675170
675192
  }
675171
675193
  );
675172
675194
  }
675173
- throw AxiosError_default.from(err, err && err.code, config3, request6);
675195
+ throw AxiosError_default.from(err, err && err.code, config3, request6, err && err.response);
675174
675196
  }
675175
675197
  };
675176
675198
  };
@@ -675194,7 +675216,7 @@ var getFetch = (config3) => {
675194
675216
  };
675195
675217
  var adapter = getFetch();
675196
675218
 
675197
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/adapters/adapters.js
675219
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/adapters/adapters.js
675198
675220
  var knownAdapters = {
675199
675221
  http: http_default,
675200
675222
  xhr: xhr_default,
@@ -675259,7 +675281,7 @@ var adapters_default = {
675259
675281
  adapters: knownAdapters
675260
675282
  };
675261
675283
 
675262
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/dispatchRequest.js
675284
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/dispatchRequest.js
675263
675285
  function throwIfCancellationRequested(config3) {
675264
675286
  if (config3.cancelToken) {
675265
675287
  config3.cancelToken.throwIfRequested();
@@ -675304,7 +675326,7 @@ function dispatchRequest(config3) {
675304
675326
  });
675305
675327
  }
675306
675328
 
675307
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/validator.js
675329
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/validator.js
675308
675330
  var validators = {};
675309
675331
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type8, i11) => {
675310
675332
  validators[type8] = function validator(thing) {
@@ -675368,7 +675390,7 @@ var validator_default = {
675368
675390
  validators
675369
675391
  };
675370
675392
 
675371
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/core/Axios.js
675393
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/core/Axios.js
675372
675394
  var validators2 = validator_default.validators;
675373
675395
  var Axios = class {
675374
675396
  constructor(instanceConfig) {
@@ -675419,7 +675441,8 @@ var Axios = class {
675419
675441
  validator_default.assertOptions(transitional2, {
675420
675442
  silentJSONParsing: validators2.transitional(validators2.boolean),
675421
675443
  forcedJSONParsing: validators2.transitional(validators2.boolean),
675422
- clarifyTimeoutError: validators2.transitional(validators2.boolean)
675444
+ clarifyTimeoutError: validators2.transitional(validators2.boolean),
675445
+ legacyInterceptorReqResOrdering: validators2.transitional(validators2.boolean)
675423
675446
  }, false);
675424
675447
  }
675425
675448
  if (paramsSerializer != null) {
@@ -675463,7 +675486,13 @@ var Axios = class {
675463
675486
  return;
675464
675487
  }
675465
675488
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
675466
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
675489
+ const transitional3 = config3.transitional || transitional_default;
675490
+ const legacyInterceptorReqResOrdering = transitional3 && transitional3.legacyInterceptorReqResOrdering;
675491
+ if (legacyInterceptorReqResOrdering) {
675492
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
675493
+ } else {
675494
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
675495
+ }
675467
675496
  });
675468
675497
  const responseInterceptorChain = [];
675469
675498
  this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
@@ -675540,7 +675569,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
675540
675569
  });
675541
675570
  var Axios_default = Axios;
675542
675571
 
675543
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/cancel/CancelToken.js
675572
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/cancel/CancelToken.js
675544
675573
  var CancelToken = class _CancelToken {
675545
675574
  constructor(executor) {
675546
675575
  if (typeof executor !== "function") {
@@ -675638,19 +675667,19 @@ var CancelToken = class _CancelToken {
675638
675667
  };
675639
675668
  var CancelToken_default = CancelToken;
675640
675669
 
675641
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/spread.js
675670
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/spread.js
675642
675671
  function spread(callback) {
675643
675672
  return function wrap7(arr) {
675644
675673
  return callback.apply(null, arr);
675645
675674
  };
675646
675675
  }
675647
675676
 
675648
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/isAxiosError.js
675677
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/isAxiosError.js
675649
675678
  function isAxiosError(payload) {
675650
675679
  return utils_default.isObject(payload) && payload.isAxiosError === true;
675651
675680
  }
675652
675681
 
675653
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/helpers/HttpStatusCode.js
675682
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/helpers/HttpStatusCode.js
675654
675683
  var HttpStatusCode = {
675655
675684
  Continue: 100,
675656
675685
  SwitchingProtocols: 101,
@@ -675727,7 +675756,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
675727
675756
  });
675728
675757
  var HttpStatusCode_default = HttpStatusCode;
675729
675758
 
675730
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/lib/axios.js
675759
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/lib/axios.js
675731
675760
  function createInstance(defaultConfig) {
675732
675761
  const context2 = new Axios_default(defaultConfig);
675733
675762
  const instance = bind(Axios_default.prototype.request, context2);
@@ -675760,7 +675789,7 @@ axios3.HttpStatusCode = HttpStatusCode_default;
675760
675789
  axios3.default = axios3;
675761
675790
  var axios_default = axios3;
675762
675791
 
675763
- // ../../../node_modules/.pnpm/axios@1.13.4/node_modules/axios/index.js
675792
+ // ../../../node_modules/.pnpm/axios@1.13.5/node_modules/axios/index.js
675764
675793
  var {
675765
675794
  Axios: Axios2,
675766
675795
  AxiosError: AxiosError2,
@@ -726124,6 +726153,7 @@ __export(serialization_exports4, {
726124
726153
  ApiReferenceConfiguration: () => ApiReferenceConfiguration,
726125
726154
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration,
726126
726155
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem,
726156
+ ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration,
726127
726157
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration,
726128
726158
  ApiReferencePackageConfigurationWithOptions: () => ApiReferencePackageConfigurationWithOptions,
726129
726159
  ApiReferenceSectionConfiguration: () => ApiReferenceSectionConfiguration,
@@ -726263,6 +726293,7 @@ __export(docs_exports5, {
726263
726293
  ApiReferenceConfiguration: () => ApiReferenceConfiguration,
726264
726294
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration,
726265
726295
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem,
726296
+ ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration,
726266
726297
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration,
726267
726298
  ApiReferencePackageConfigurationWithOptions: () => ApiReferencePackageConfigurationWithOptions,
726268
726299
  ApiReferenceSectionConfiguration: () => ApiReferenceSectionConfiguration,
@@ -727933,6 +727964,15 @@ var ApiReferenceEndpointConfiguration = schemas_exports8.object({
727933
727964
  playground: PlaygroundSettings.optional()
727934
727965
  }).extend(WithPermissions).extend(WithFeatureFlags);
727935
727966
 
727967
+ // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceOperationConfiguration.js
727968
+ var ApiReferenceOperationConfiguration = schemas_exports8.object({
727969
+ operation: schemas_exports8.string(),
727970
+ title: schemas_exports8.string().optional(),
727971
+ slug: schemas_exports8.string().optional(),
727972
+ hidden: schemas_exports8.boolean().optional(),
727973
+ availability: Availability4.optional()
727974
+ }).extend(WithPermissions).extend(WithFeatureFlags);
727975
+
727936
727976
  // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/Target.js
727937
727977
  var Target2 = schemas_exports8.enum_(["_blank", "_self", "_parent", "_top"]);
727938
727978
 
@@ -727961,6 +728001,7 @@ var ApiReferenceLayoutItem = schemas_exports8.undiscriminatedUnion([
727961
728001
  schemas_exports8.record(schemas_exports8.string(), schemas_exports8.lazy(() => ApiReferencePackageConfiguration)),
727962
728002
  schemas_exports8.lazyObject(() => ApiReferenceSectionConfiguration),
727963
728003
  ApiReferenceEndpointConfiguration,
728004
+ ApiReferenceOperationConfiguration,
727964
728005
  PageConfiguration,
727965
728006
  LinkConfiguration
727966
728007
  ]);
@@ -754528,6 +754569,20 @@ function parseApiReferenceLayoutItem(item, absolutePathToConfig) {
754528
754569
  featureFlags: convertFeatureFlag(item.featureFlag)
754529
754570
  }
754530
754571
  ];
754572
+ } else if (isRawApiRefOperationConfiguration(item)) {
754573
+ return [
754574
+ {
754575
+ type: "operation",
754576
+ operation: item.operation,
754577
+ title: item.title,
754578
+ slug: item.slug,
754579
+ hidden: item.hidden,
754580
+ availability: item.availability,
754581
+ viewers: parseRoles(item.viewers),
754582
+ orphaned: item.orphaned,
754583
+ featureFlags: convertFeatureFlag(item.featureFlag)
754584
+ }
754585
+ ];
754531
754586
  }
754532
754587
  return Object.entries(item).map(([key2, value]) => {
754533
754588
  if (isRawApiRefPackageConfiguration(value)) {
@@ -754634,6 +754689,9 @@ function isRawApiRefSectionConfiguration(item) {
754634
754689
  function isRawApiRefEndpointConfiguration(item) {
754635
754690
  return isPlainObject4(item) && typeof item.endpoint === "string";
754636
754691
  }
754692
+ function isRawApiRefOperationConfiguration(item) {
754693
+ return isPlainObject4(item) && typeof item.operation === "string";
754694
+ }
754637
754695
  function isRawApiRefPackageConfiguration(item) {
754638
754696
  return !Array.isArray(item);
754639
754697
  }
@@ -1088381,6 +1088439,88 @@ var definitions4 = {
1088381
1088439
  ],
1088382
1088440
  additionalProperties: false
1088383
1088441
  },
1088442
+ "docs.ApiReferenceOperationConfiguration": {
1088443
+ type: "object",
1088444
+ properties: {
1088445
+ viewers: {
1088446
+ oneOf: [
1088447
+ {
1088448
+ $ref: "#/definitions/docs.Role"
1088449
+ },
1088450
+ {
1088451
+ type: "null"
1088452
+ }
1088453
+ ]
1088454
+ },
1088455
+ orphaned: {
1088456
+ oneOf: [
1088457
+ {
1088458
+ type: "boolean"
1088459
+ },
1088460
+ {
1088461
+ type: "null"
1088462
+ }
1088463
+ ]
1088464
+ },
1088465
+ "feature-flag": {
1088466
+ oneOf: [
1088467
+ {
1088468
+ $ref: "#/definitions/docs.FeatureFlagConfiguration"
1088469
+ },
1088470
+ {
1088471
+ type: "null"
1088472
+ }
1088473
+ ]
1088474
+ },
1088475
+ operation: {
1088476
+ type: "string"
1088477
+ },
1088478
+ title: {
1088479
+ oneOf: [
1088480
+ {
1088481
+ type: "string"
1088482
+ },
1088483
+ {
1088484
+ type: "null"
1088485
+ }
1088486
+ ]
1088487
+ },
1088488
+ slug: {
1088489
+ oneOf: [
1088490
+ {
1088491
+ type: "string"
1088492
+ },
1088493
+ {
1088494
+ type: "null"
1088495
+ }
1088496
+ ]
1088497
+ },
1088498
+ hidden: {
1088499
+ oneOf: [
1088500
+ {
1088501
+ type: "boolean"
1088502
+ },
1088503
+ {
1088504
+ type: "null"
1088505
+ }
1088506
+ ]
1088507
+ },
1088508
+ availability: {
1088509
+ oneOf: [
1088510
+ {
1088511
+ $ref: "#/definitions/docs.Availability"
1088512
+ },
1088513
+ {
1088514
+ type: "null"
1088515
+ }
1088516
+ ]
1088517
+ }
1088518
+ },
1088519
+ required: [
1088520
+ "operation"
1088521
+ ],
1088522
+ additionalProperties: false
1088523
+ },
1088384
1088524
  "docs.LinkConfiguration": {
1088385
1088525
  type: "object",
1088386
1088526
  properties: {
@@ -1088436,6 +1088576,9 @@ var definitions4 = {
1088436
1088576
  {
1088437
1088577
  $ref: "#/definitions/docs.ApiReferenceEndpointConfiguration"
1088438
1088578
  },
1088579
+ {
1088580
+ $ref: "#/definitions/docs.ApiReferenceOperationConfiguration"
1088581
+ },
1088439
1088582
  {
1088440
1088583
  $ref: "#/definitions/docs.PageConfiguration"
1088441
1088584
  },
@@ -1134565,7 +1134708,8 @@ ${escapedDescription}`;
1134565
1134708
  package: (pkg2) => this.#convertPackage(pkg2, parentSlug, parentAvailability),
1134566
1134709
  section: (section) => this.#convertSection(section, parentSlug, parentAvailability),
1134567
1134710
  item: ({ value: unknownIdentifier }) => this.#convertUnknownIdentifier(unknownIdentifier, apiDefinitionPackageId, parentSlug, parentAvailability),
1134568
- endpoint: (endpoint3) => this.#convertEndpoint(endpoint3, apiDefinitionPackageId, parentSlug, parentAvailability)
1134711
+ endpoint: (endpoint3) => this.#convertEndpoint(endpoint3, apiDefinitionPackageId, parentSlug, parentAvailability),
1134712
+ operation: (operation) => this.#convertOperation(operation, apiDefinitionPackageId, parentSlug, parentAvailability)
1134569
1134713
  })).filter(isNonNullish2);
1134570
1134714
  }
1134571
1134715
  #toPageNode(page, parentSlug, parentAvailability) {
@@ -1134866,6 +1135010,88 @@ ${escapedDescription}`;
1134866
1135010
  this.taskContext.logger.error("Unknown identifier in the API Reference layout: ", endpointItem.endpoint);
1134867
1135011
  return;
1134868
1135012
  }
1135013
+ #convertOperation(operationItem, apiDefinitionPackageIdRaw, parentSlug, parentAvailability) {
1135014
+ const operationParts = operationItem.operation.trim().split(/\s+/, 2);
1135015
+ if (operationParts.length !== 2) {
1135016
+ this.taskContext.logger.error(`Invalid operation format in the API Reference layout: ${operationItem.operation}. Expected format: "OPERATION_TYPE operationName" (e.g., "QUERY account")`);
1135017
+ return;
1135018
+ }
1135019
+ const [operationType, operationName] = operationParts;
1135020
+ if (!operationName) {
1135021
+ this.taskContext.logger.error(`Invalid operation format in the API Reference layout: ${operationItem.operation}. Expected format: "OPERATION_TYPE operationName" (e.g., "QUERY account")`);
1135022
+ return;
1135023
+ }
1135024
+ const allOperations = this.#holder.api.rootPackage.graphqlOperations ?? [];
1135025
+ const matchingOperations = allOperations.filter((op5) => {
1135026
+ if (op5.operationType !== operationType) {
1135027
+ return false;
1135028
+ }
1135029
+ if (operationName.includes(".")) {
1135030
+ if (op5.id === operationName) {
1135031
+ return true;
1135032
+ }
1135033
+ if (op5.name === operationName) {
1135034
+ return true;
1135035
+ }
1135036
+ const namespacedParts = operationName.split(".");
1135037
+ const opName = namespacedParts[namespacedParts.length - 1];
1135038
+ const namespace = namespacedParts.slice(0, -1).join(".");
1135039
+ if (op5.name === opName || op5.id === opName) {
1135040
+ return op5.id.startsWith(namespace + ".") || this.#graphqlNamespacesByOperationId.get(FdrAPI_exports.GraphQlOperationId(op5.id)) === namespace;
1135041
+ }
1135042
+ } else {
1135043
+ return op5.name === operationName || op5.id === operationName;
1135044
+ }
1135045
+ return false;
1135046
+ });
1135047
+ if (!operationName.includes(".")) {
1135048
+ const sameNameOperations = allOperations.filter((op5) => op5.operationType === operationType && (op5.name === operationName || op5.id === operationName));
1135049
+ if (sameNameOperations.length > 1) {
1135050
+ const suggestions = sameNameOperations.map((op5) => {
1135051
+ const namespace = this.#graphqlNamespacesByOperationId.get(FdrAPI_exports.GraphQlOperationId(op5.id));
1135052
+ if (namespace) {
1135053
+ return `"${operationType} ${namespace}.${operationName}"`;
1135054
+ }
1135055
+ const idParts = op5.id.split("_");
1135056
+ if (idParts.length >= 3) {
1135057
+ const extractedNamespace = idParts[0];
1135058
+ return `"${operationType} ${extractedNamespace}.${operationName}"`;
1135059
+ }
1135060
+ return `"${operationType} ${op5.id}"`;
1135061
+ }).join(", ");
1135062
+ this.taskContext.logger.warn(`Ambiguous operation reference: "${operationItem.operation}". Found ${sameNameOperations.length} operations with name "${operationName}". Using first match: "${suggestions.split(", ")[0]}". Please use the full namespaced format for clarity. Available options: ${suggestions}`);
1135063
+ }
1135064
+ }
1135065
+ const graphqlOperation = matchingOperations[0];
1135066
+ if (graphqlOperation == null) {
1135067
+ this.taskContext.logger.error(`GraphQL operation not found in the API Reference layout: ${operationItem.operation}`);
1135068
+ return;
1135069
+ }
1135070
+ const operationId = APIV1Read_exports.GraphQlOperationId(graphqlOperation.id);
1135071
+ if (this.#visitedGraphqlOperations.has(operationId)) {
1135072
+ this.taskContext.logger.error(`Duplicate GraphQL operation found in the API Reference layout: ${operationId}`);
1135073
+ return;
1135074
+ }
1135075
+ this.#visitedGraphqlOperations.add(operationId);
1135076
+ const operationSlug = operationItem.slug != null ? parentSlug.append(operationItem.slug) : parentSlug.append(graphqlOperation.name ?? graphqlOperation.id);
1135077
+ return {
1135078
+ id: this.#idgen.get(`${this.apiDefinitionId}:${operationId}`),
1135079
+ type: "graphql",
1135080
+ operationType: graphqlOperation.operationType,
1135081
+ graphqlOperationId: APIV1Read_exports.GraphQlOperationId(graphqlOperation.id),
1135082
+ apiDefinitionId: this.apiDefinitionId,
1135083
+ availability: operationItem.availability ?? parentAvailability,
1135084
+ title: operationItem.title ?? graphqlOperation.displayName ?? graphqlOperation.name ?? graphqlOperation.id,
1135085
+ slug: operationSlug.get(),
1135086
+ icon: void 0,
1135087
+ hidden: this.hideChildren || operationItem.hidden,
1135088
+ playground: void 0,
1135089
+ authed: void 0,
1135090
+ viewers: operationItem.viewers,
1135091
+ orphaned: operationItem.orphaned,
1135092
+ featureFlags: operationItem.featureFlags
1135093
+ };
1135094
+ }
1134869
1135095
  // Step 2
1134870
1135096
  #mergeAndFilterChildren(left3, right3) {
1134871
1135097
  return mergeAndFilterChildren({
@@ -1180360,7 +1180586,7 @@ var CliContext = class {
1180360
1180586
  if (false) {
1180361
1180587
  this.logger.error("CLI_VERSION is not defined");
1180362
1180588
  }
1180363
- return "3.70.3";
1180589
+ return "3.71.0-2-g32e559c00c4";
1180364
1180590
  }
1180365
1180591
  getCliName() {
1180366
1180592
  if (false) {
@@ -1183480,7 +1183706,7 @@ var import_path58 = __toESM(require("path"), 1);
1183480
1183706
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
1183481
1183707
  var LOGS_FOLDER_NAME = "logs";
1183482
1183708
  function getCliSource() {
1183483
- const version7 = "3.70.3";
1183709
+ const version7 = "3.71.0-2-g32e559c00c4";
1183484
1183710
  return `cli@${version7}`;
1183485
1183711
  }
1183486
1183712
  var DebugLogger = class {
@@ -1186260,6 +1186486,88 @@ var definitions5 = {
1186260
1186486
  ],
1186261
1186487
  additionalProperties: false
1186262
1186488
  },
1186489
+ "docs.ApiReferenceOperationConfiguration": {
1186490
+ type: "object",
1186491
+ properties: {
1186492
+ viewers: {
1186493
+ oneOf: [
1186494
+ {
1186495
+ $ref: "#/definitions/docs.Role"
1186496
+ },
1186497
+ {
1186498
+ type: "null"
1186499
+ }
1186500
+ ]
1186501
+ },
1186502
+ orphaned: {
1186503
+ oneOf: [
1186504
+ {
1186505
+ type: "boolean"
1186506
+ },
1186507
+ {
1186508
+ type: "null"
1186509
+ }
1186510
+ ]
1186511
+ },
1186512
+ "feature-flag": {
1186513
+ oneOf: [
1186514
+ {
1186515
+ $ref: "#/definitions/docs.FeatureFlagConfiguration"
1186516
+ },
1186517
+ {
1186518
+ type: "null"
1186519
+ }
1186520
+ ]
1186521
+ },
1186522
+ operation: {
1186523
+ type: "string"
1186524
+ },
1186525
+ title: {
1186526
+ oneOf: [
1186527
+ {
1186528
+ type: "string"
1186529
+ },
1186530
+ {
1186531
+ type: "null"
1186532
+ }
1186533
+ ]
1186534
+ },
1186535
+ slug: {
1186536
+ oneOf: [
1186537
+ {
1186538
+ type: "string"
1186539
+ },
1186540
+ {
1186541
+ type: "null"
1186542
+ }
1186543
+ ]
1186544
+ },
1186545
+ hidden: {
1186546
+ oneOf: [
1186547
+ {
1186548
+ type: "boolean"
1186549
+ },
1186550
+ {
1186551
+ type: "null"
1186552
+ }
1186553
+ ]
1186554
+ },
1186555
+ availability: {
1186556
+ oneOf: [
1186557
+ {
1186558
+ $ref: "#/definitions/docs.Availability"
1186559
+ },
1186560
+ {
1186561
+ type: "null"
1186562
+ }
1186563
+ ]
1186564
+ }
1186565
+ },
1186566
+ required: [
1186567
+ "operation"
1186568
+ ],
1186569
+ additionalProperties: false
1186570
+ },
1186263
1186571
  "docs.LinkConfiguration": {
1186264
1186572
  type: "object",
1186265
1186573
  properties: {
@@ -1186315,6 +1186623,9 @@ var definitions5 = {
1186315
1186623
  {
1186316
1186624
  $ref: "#/definitions/docs.ApiReferenceEndpointConfiguration"
1186317
1186625
  },
1186626
+ {
1186627
+ $ref: "#/definitions/docs.ApiReferenceOperationConfiguration"
1186628
+ },
1186318
1186629
  {
1186319
1186630
  $ref: "#/definitions/docs.PageConfiguration"
1186320
1186631
  },
@@ -1188182,6 +1188493,88 @@ var definitions6 = {
1188182
1188493
  ],
1188183
1188494
  additionalProperties: false
1188184
1188495
  },
1188496
+ "docs.ApiReferenceOperationConfiguration": {
1188497
+ type: "object",
1188498
+ properties: {
1188499
+ viewers: {
1188500
+ oneOf: [
1188501
+ {
1188502
+ $ref: "#/definitions/docs.Role"
1188503
+ },
1188504
+ {
1188505
+ type: "null"
1188506
+ }
1188507
+ ]
1188508
+ },
1188509
+ orphaned: {
1188510
+ oneOf: [
1188511
+ {
1188512
+ type: "boolean"
1188513
+ },
1188514
+ {
1188515
+ type: "null"
1188516
+ }
1188517
+ ]
1188518
+ },
1188519
+ "feature-flag": {
1188520
+ oneOf: [
1188521
+ {
1188522
+ $ref: "#/definitions/docs.FeatureFlagConfiguration"
1188523
+ },
1188524
+ {
1188525
+ type: "null"
1188526
+ }
1188527
+ ]
1188528
+ },
1188529
+ operation: {
1188530
+ type: "string"
1188531
+ },
1188532
+ title: {
1188533
+ oneOf: [
1188534
+ {
1188535
+ type: "string"
1188536
+ },
1188537
+ {
1188538
+ type: "null"
1188539
+ }
1188540
+ ]
1188541
+ },
1188542
+ slug: {
1188543
+ oneOf: [
1188544
+ {
1188545
+ type: "string"
1188546
+ },
1188547
+ {
1188548
+ type: "null"
1188549
+ }
1188550
+ ]
1188551
+ },
1188552
+ hidden: {
1188553
+ oneOf: [
1188554
+ {
1188555
+ type: "boolean"
1188556
+ },
1188557
+ {
1188558
+ type: "null"
1188559
+ }
1188560
+ ]
1188561
+ },
1188562
+ availability: {
1188563
+ oneOf: [
1188564
+ {
1188565
+ $ref: "#/definitions/docs.Availability"
1188566
+ },
1188567
+ {
1188568
+ type: "null"
1188569
+ }
1188570
+ ]
1188571
+ }
1188572
+ },
1188573
+ required: [
1188574
+ "operation"
1188575
+ ],
1188576
+ additionalProperties: false
1188577
+ },
1188185
1188578
  "docs.LinkConfiguration": {
1188186
1188579
  type: "object",
1188187
1188580
  properties: {
@@ -1188237,6 +1188630,9 @@ var definitions6 = {
1188237
1188630
  {
1188238
1188631
  $ref: "#/definitions/docs.ApiReferenceEndpointConfiguration"
1188239
1188632
  },
1188633
+ {
1188634
+ $ref: "#/definitions/docs.ApiReferenceOperationConfiguration"
1188635
+ },
1188240
1188636
  {
1188241
1188637
  $ref: "#/definitions/docs.PageConfiguration"
1188242
1188638
  },
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.70.3",
2
+ "version": "3.71.0-2-g32e559c00c4",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",