@fern-api/fern-api-dev 4.71.1 → 4.71.3-1-g09984eb5958

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 +561 -213
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -73631,7 +73631,7 @@ var require_utils19 = __commonJS({
73631
73631
  exports2.popStack = popStack;
73632
73632
  exports2.loadYaml = loadYaml;
73633
73633
  exports2.isDefined = isDefined3;
73634
- exports2.isPlainObject = isPlainObject38;
73634
+ exports2.isPlainObject = isPlainObject39;
73635
73635
  exports2.isEmptyObject = isEmptyObject4;
73636
73636
  exports2.isNotEmptyObject = isNotEmptyObject;
73637
73637
  exports2.isEmptyArray = isEmptyArray;
@@ -73693,14 +73693,14 @@ var require_utils19 = __commonJS({
73693
73693
  function isDefined3(x15) {
73694
73694
  return x15 !== void 0;
73695
73695
  }
73696
- function isPlainObject38(value) {
73696
+ function isPlainObject39(value) {
73697
73697
  return value !== null && typeof value === "object" && !Array.isArray(value);
73698
73698
  }
73699
73699
  function isEmptyObject4(value) {
73700
- return isPlainObject38(value) && Object.keys(value).length === 0;
73700
+ return isPlainObject39(value) && Object.keys(value).length === 0;
73701
73701
  }
73702
73702
  function isNotEmptyObject(obj) {
73703
- return isPlainObject38(obj) && !isEmptyObject4(obj);
73703
+ return isPlainObject39(obj) && !isEmptyObject4(obj);
73704
73704
  }
73705
73705
  function isEmptyArray(value) {
73706
73706
  return Array.isArray(value) && value.length === 0;
@@ -73797,7 +73797,7 @@ var require_utils19 = __commonJS({
73797
73797
  if (!obj)
73798
73798
  return;
73799
73799
  for (const k19 of Object.keys(obj)) {
73800
- if (isPlainObject38(target[k19]) && typeof obj[k19] === "string") {
73800
+ if (isPlainObject39(target[k19]) && typeof obj[k19] === "string") {
73801
73801
  target[k19].severity = obj[k19];
73802
73802
  } else {
73803
73803
  target[k19] = obj[k19];
@@ -73811,7 +73811,7 @@ var require_utils19 = __commonJS({
73811
73811
  for (const k19 of Object.keys(obj)) {
73812
73812
  if (!target.hasOwnProperty(k19))
73813
73813
  continue;
73814
- if (isPlainObject38(target[k19]) && typeof obj[k19] === "string") {
73814
+ if (isPlainObject39(target[k19]) && typeof obj[k19] === "string") {
73815
73815
  target[k19].severity = obj[k19];
73816
73816
  } else {
73817
73817
  target[k19] = obj[k19];
@@ -102279,10 +102279,10 @@ var require_object_inspect = __commonJS({
102279
102279
  }
102280
102280
  if (!isDate3(obj) && !isRegExp4(obj)) {
102281
102281
  var ys8 = arrObjKeys(obj, inspect6);
102282
- var isPlainObject38 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
102282
+ var isPlainObject39 = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
102283
102283
  var protoTag = obj instanceof Object ? "" : "null prototype";
102284
- var stringTag5 = !isPlainObject38 && toStringTag2 && Object(obj) === obj && toStringTag2 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
102285
- var constructorTag = isPlainObject38 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
102284
+ var stringTag5 = !isPlainObject39 && toStringTag2 && Object(obj) === obj && toStringTag2 in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? "Object" : "";
102285
+ var constructorTag = isPlainObject39 || typeof obj.constructor !== "function" ? "" : obj.constructor.name ? obj.constructor.name + " " : "";
102286
102286
  var tag2 = constructorTag + (stringTag5 || protoTag ? "[" + $join.call($concat.call([], stringTag5 || [], protoTag || []), ": ") + "] " : "");
102287
102287
  if (ys8.length === 0) {
102288
102288
  return tag2 + "{}";
@@ -192334,7 +192334,7 @@ var require_isPlainObject = __commonJS({
192334
192334
  "use strict";
192335
192335
  Object.defineProperty(exports2, "__esModule", { value: true });
192336
192336
  exports2.isPlainObject = void 0;
192337
- function isPlainObject38(value) {
192337
+ function isPlainObject39(value) {
192338
192338
  if (typeof value !== "object" || value === null) {
192339
192339
  return false;
192340
192340
  }
@@ -192347,7 +192347,7 @@ var require_isPlainObject = __commonJS({
192347
192347
  }
192348
192348
  return Object.getPrototypeOf(value) === proto3;
192349
192349
  }
192350
- exports2.isPlainObject = isPlainObject38;
192350
+ exports2.isPlainObject = isPlainObject39;
192351
192351
  }
192352
192352
  });
192353
192353
 
@@ -239960,7 +239960,7 @@ var require_lodash5 = __commonJS({
239960
239960
  function isObjectLike6(value) {
239961
239961
  return !!value && typeof value == "object";
239962
239962
  }
239963
- function isPlainObject38(value) {
239963
+ function isPlainObject39(value) {
239964
239964
  if (!isObjectLike6(value) || objectToString5.call(value) != objectTag7 || isHostObject(value)) {
239965
239965
  return false;
239966
239966
  }
@@ -239971,7 +239971,7 @@ var require_lodash5 = __commonJS({
239971
239971
  var Ctor = hasOwnProperty20.call(proto3, "constructor") && proto3.constructor;
239972
239972
  return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString5.call(Ctor) == objectCtorString4;
239973
239973
  }
239974
- module4.exports = isPlainObject38;
239974
+ module4.exports = isPlainObject39;
239975
239975
  }
239976
239976
  });
239977
239977
 
@@ -240087,7 +240087,7 @@ var require_sign2 = __commonJS({
240087
240087
  var isBoolean4 = require_lodash2();
240088
240088
  var isInteger2 = require_lodash3();
240089
240089
  var isNumber6 = require_lodash4();
240090
- var isPlainObject38 = require_lodash5();
240090
+ var isPlainObject39 = require_lodash5();
240091
240091
  var isString6 = require_lodash6();
240092
240092
  var once2 = require_lodash7();
240093
240093
  var { KeyObject, createSecretKey, createPrivateKey: createPrivateKey2 } = require("crypto");
@@ -240106,7 +240106,7 @@ var require_sign2 = __commonJS({
240106
240106
  return isString6(value) || Array.isArray(value);
240107
240107
  }, message: '"audience" must be a string or array' },
240108
240108
  algorithm: { isValid: includes2.bind(null, SUPPORTED_ALGS), message: '"algorithm" must be a valid string enum value' },
240109
- header: { isValid: isPlainObject38, message: '"header" must be an object' },
240109
+ header: { isValid: isPlainObject39, message: '"header" must be an object' },
240110
240110
  encoding: { isValid: isString6, message: '"encoding" must be a string' },
240111
240111
  issuer: { isValid: isString6, message: '"issuer" must be a string' },
240112
240112
  subject: { isValid: isString6, message: '"subject" must be a string' },
@@ -240123,7 +240123,7 @@ var require_sign2 = __commonJS({
240123
240123
  nbf: { isValid: isNumber6, message: '"nbf" should be a number of seconds' }
240124
240124
  };
240125
240125
  function validate3(schema2, allowUnknown, object22, parameterName) {
240126
- if (!isPlainObject38(object22)) {
240126
+ if (!isPlainObject39(object22)) {
240127
240127
  throw new Error('Expected "' + parameterName + '" to be a plain object.');
240128
240128
  }
240129
240129
  Object.keys(object22).forEach(function(key2) {
@@ -277167,7 +277167,7 @@ var require_extend = __commonJS({
277167
277167
  }
277168
277168
  return toStr.call(arr) === "[object Array]";
277169
277169
  };
277170
- var isPlainObject38 = function isPlainObject39(obj) {
277170
+ var isPlainObject39 = function isPlainObject40(obj) {
277171
277171
  if (!obj || toStr.call(obj) !== "[object Object]") {
277172
277172
  return false;
277173
277173
  }
@@ -277224,12 +277224,12 @@ var require_extend = __commonJS({
277224
277224
  src = getProperty2(target, name2);
277225
277225
  copy = getProperty2(options2, name2);
277226
277226
  if (target !== copy) {
277227
- if (deep && copy && (isPlainObject38(copy) || (copyIsArray = isArray7(copy)))) {
277227
+ if (deep && copy && (isPlainObject39(copy) || (copyIsArray = isArray7(copy)))) {
277228
277228
  if (copyIsArray) {
277229
277229
  copyIsArray = false;
277230
277230
  clone5 = src && isArray7(src) ? src : [];
277231
277231
  } else {
277232
- clone5 = src && isPlainObject38(src) ? src : {};
277232
+ clone5 = src && isPlainObject39(src) ? src : {};
277233
277233
  }
277234
277234
  setProperty2(target, { name: name2, newValue: extend7(deep, clone5, copy) });
277235
277235
  } else if (typeof copy !== "undefined") {
@@ -303312,7 +303312,7 @@ var require_Utility = __commonJS({
303312
303312
  "../../../node_modules/.pnpm/xmlbuilder@11.0.1/node_modules/xmlbuilder/lib/Utility.js"(exports2, module4) {
303313
303313
  "use strict";
303314
303314
  (function() {
303315
- var assign2, getValue2, isArray7, isEmpty3, isFunction10, isObject14, isPlainObject38, slice2 = [].slice, hasProp2 = {}.hasOwnProperty;
303315
+ var assign2, getValue2, isArray7, isEmpty3, isFunction10, isObject14, isPlainObject39, slice2 = [].slice, hasProp2 = {}.hasOwnProperty;
303316
303316
  assign2 = function() {
303317
303317
  var i11, key2, len, source2, sources, target;
303318
303318
  target = arguments[0], sources = 2 <= arguments.length ? slice2.call(arguments, 1) : [];
@@ -303357,7 +303357,7 @@ var require_Utility = __commonJS({
303357
303357
  return true;
303358
303358
  }
303359
303359
  };
303360
- isPlainObject38 = function(val) {
303360
+ isPlainObject39 = function(val) {
303361
303361
  var ctor, proto3;
303362
303362
  return isObject14(val) && (proto3 = Object.getPrototypeOf(val)) && (ctor = proto3.constructor) && typeof ctor === "function" && ctor instanceof ctor && Function.prototype.toString.call(ctor) === Function.prototype.toString.call(Object);
303363
303363
  };
@@ -303373,7 +303373,7 @@ var require_Utility = __commonJS({
303373
303373
  module4.exports.isObject = isObject14;
303374
303374
  module4.exports.isArray = isArray7;
303375
303375
  module4.exports.isEmpty = isEmpty3;
303376
- module4.exports.isPlainObject = isPlainObject38;
303376
+ module4.exports.isPlainObject = isPlainObject39;
303377
303377
  module4.exports.getValue = getValue2;
303378
303378
  }).call(exports2);
303379
303379
  }
@@ -306216,7 +306216,7 @@ var require_XMLDocument = __commonJS({
306216
306216
  "../../../node_modules/.pnpm/xmlbuilder@11.0.1/node_modules/xmlbuilder/lib/XMLDocument.js"(exports2, module4) {
306217
306217
  "use strict";
306218
306218
  (function() {
306219
- var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject38, extend7 = function(child, parent) {
306219
+ var NodeType, XMLDOMConfiguration, XMLDOMImplementation, XMLDocument, XMLNode, XMLStringWriter, XMLStringifier, isPlainObject39, extend7 = function(child, parent) {
306220
306220
  for (var key2 in parent) {
306221
306221
  if (hasProp2.call(parent, key2)) child[key2] = parent[key2];
306222
306222
  }
@@ -306228,7 +306228,7 @@ var require_XMLDocument = __commonJS({
306228
306228
  child.__super__ = parent.prototype;
306229
306229
  return child;
306230
306230
  }, hasProp2 = {}.hasOwnProperty;
306231
- isPlainObject38 = require_Utility().isPlainObject;
306231
+ isPlainObject39 = require_Utility().isPlainObject;
306232
306232
  XMLDOMImplementation = require_XMLDOMImplementation();
306233
306233
  XMLDOMConfiguration = require_XMLDOMConfiguration();
306234
306234
  XMLNode = require_XMLNode();
@@ -306338,7 +306338,7 @@ var require_XMLDocument = __commonJS({
306338
306338
  writerOptions = {};
306339
306339
  if (!writer2) {
306340
306340
  writer2 = this.options.writer;
306341
- } else if (isPlainObject38(writer2)) {
306341
+ } else if (isPlainObject39(writer2)) {
306342
306342
  writerOptions = writer2;
306343
306343
  writer2 = this.options.writer;
306344
306344
  }
@@ -306424,8 +306424,8 @@ var require_XMLDocumentCB = __commonJS({
306424
306424
  "../../../node_modules/.pnpm/xmlbuilder@11.0.1/node_modules/xmlbuilder/lib/XMLDocumentCB.js"(exports2, module4) {
306425
306425
  "use strict";
306426
306426
  (function() {
306427
- var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue2, isFunction10, isObject14, isPlainObject38, ref2, hasProp2 = {}.hasOwnProperty;
306428
- ref2 = require_Utility(), isObject14 = ref2.isObject, isFunction10 = ref2.isFunction, isPlainObject38 = ref2.isPlainObject, getValue2 = ref2.getValue;
306427
+ var NodeType, WriterState, XMLAttribute, XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDeclaration, XMLDocType, XMLDocument, XMLDocumentCB, XMLElement, XMLProcessingInstruction, XMLRaw, XMLStringWriter, XMLStringifier, XMLText, getValue2, isFunction10, isObject14, isPlainObject39, ref2, hasProp2 = {}.hasOwnProperty;
306428
+ ref2 = require_Utility(), isObject14 = ref2.isObject, isFunction10 = ref2.isFunction, isPlainObject39 = ref2.isPlainObject, getValue2 = ref2.getValue;
306429
306429
  NodeType = require_NodeType();
306430
306430
  XMLDocument = require_XMLDocument();
306431
306431
  XMLElement = require_XMLElement();
@@ -306453,7 +306453,7 @@ var require_XMLDocumentCB = __commonJS({
306453
306453
  writerOptions = {};
306454
306454
  if (!options2.writer) {
306455
306455
  options2.writer = new XMLStringWriter();
306456
- } else if (isPlainObject38(options2.writer)) {
306456
+ } else if (isPlainObject39(options2.writer)) {
306457
306457
  writerOptions = options2.writer;
306458
306458
  options2.writer = new XMLStringWriter();
306459
306459
  }
@@ -313642,7 +313642,7 @@ var require_isPlainObject2 = __commonJS({
313642
313642
  "use strict";
313643
313643
  Object.defineProperty(exports2, "__esModule", { value: true });
313644
313644
  exports2.isPlainObject = void 0;
313645
- function isPlainObject38(value) {
313645
+ function isPlainObject39(value) {
313646
313646
  if (typeof value !== "object" || value === null) {
313647
313647
  return false;
313648
313648
  }
@@ -313655,7 +313655,7 @@ var require_isPlainObject2 = __commonJS({
313655
313655
  }
313656
313656
  return Object.getPrototypeOf(value) === proto3;
313657
313657
  }
313658
- exports2.isPlainObject = isPlainObject38;
313658
+ exports2.isPlainObject = isPlainObject39;
313659
313659
  }
313660
313660
  });
313661
313661
 
@@ -327281,7 +327281,7 @@ var require_isPlainObject3 = __commonJS({
327281
327281
  "../../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/predicate/isPlainObject.js"(exports2) {
327282
327282
  "use strict";
327283
327283
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
327284
- function isPlainObject38(value) {
327284
+ function isPlainObject39(value) {
327285
327285
  if (!value || typeof value !== "object") {
327286
327286
  return false;
327287
327287
  }
@@ -327292,7 +327292,7 @@ var require_isPlainObject3 = __commonJS({
327292
327292
  }
327293
327293
  return Object.prototype.toString.call(value) === "[object Object]";
327294
327294
  }
327295
- exports2.isPlainObject = isPlainObject38;
327295
+ exports2.isPlainObject = isPlainObject39;
327296
327296
  }
327297
327297
  });
327298
327298
 
@@ -327301,7 +327301,7 @@ var require_isEqualWith = __commonJS({
327301
327301
  "../../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/predicate/isEqualWith.js"(exports2) {
327302
327302
  "use strict";
327303
327303
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
327304
- var isPlainObject38 = require_isPlainObject3();
327304
+ var isPlainObject39 = require_isPlainObject3();
327305
327305
  var getSymbols3 = require_getSymbols();
327306
327306
  var getTag3 = require_getTag();
327307
327307
  var tags = require_tags2();
@@ -327450,7 +327450,7 @@ var require_isEqualWith = __commonJS({
327450
327450
  return a10.name === b19.name && a10.message === b19.message;
327451
327451
  }
327452
327452
  case tags.objectTag: {
327453
- const areEqualInstances = areObjectsEqual(a10.constructor, b19.constructor, stack, areValuesEqual) || isPlainObject38.isPlainObject(a10) && isPlainObject38.isPlainObject(b19);
327453
+ const areEqualInstances = areObjectsEqual(a10.constructor, b19.constructor, stack, areValuesEqual) || isPlainObject39.isPlainObject(a10) && isPlainObject39.isPlainObject(b19);
327454
327454
  if (!areEqualInstances) {
327455
327455
  return false;
327456
327456
  }
@@ -328058,7 +328058,7 @@ var require_isPlainObject4 = __commonJS({
328058
328058
  "../../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js"(exports2) {
328059
328059
  "use strict";
328060
328060
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
328061
- function isPlainObject38(object22) {
328061
+ function isPlainObject39(object22) {
328062
328062
  if (typeof object22 !== "object") {
328063
328063
  return false;
328064
328064
  }
@@ -328085,7 +328085,7 @@ var require_isPlainObject4 = __commonJS({
328085
328085
  }
328086
328086
  return Object.getPrototypeOf(object22) === proto3;
328087
328087
  }
328088
- exports2.isPlainObject = isPlainObject38;
328088
+ exports2.isPlainObject = isPlainObject39;
328089
328089
  }
328090
328090
  });
328091
328091
 
@@ -328094,7 +328094,7 @@ var require_defaultsDeep = __commonJS({
328094
328094
  "../../../node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/compat/object/defaultsDeep.js"(exports2) {
328095
328095
  "use strict";
328096
328096
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
328097
- var isPlainObject38 = require_isPlainObject4();
328097
+ var isPlainObject39 = require_isPlainObject4();
328098
328098
  function defaultsDeep(target, ...sources) {
328099
328099
  target = Object(target);
328100
328100
  for (let i11 = 0; i11 < sources.length; i11++) {
@@ -328123,7 +328123,7 @@ var require_defaultsDeep = __commonJS({
328123
328123
  if (stack.has(sourceValue)) {
328124
328124
  return stack.get(sourceValue);
328125
328125
  }
328126
- if (isPlainObject38.isPlainObject(sourceValue)) {
328126
+ if (isPlainObject39.isPlainObject(sourceValue)) {
328127
328127
  const newObj = {};
328128
328128
  stack.set(sourceValue, newObj);
328129
328129
  defaultsDeepRecursive(newObj, sourceValue, stack);
@@ -328132,7 +328132,7 @@ var require_defaultsDeep = __commonJS({
328132
328132
  return sourceValue;
328133
328133
  }
328134
328134
  function handleExistingProperty(targetValue, sourceValue, stack) {
328135
- if (isPlainObject38.isPlainObject(targetValue) && isPlainObject38.isPlainObject(sourceValue)) {
328135
+ if (isPlainObject39.isPlainObject(targetValue) && isPlainObject39.isPlainObject(sourceValue)) {
328136
328136
  stack.set(sourceValue, targetValue);
328137
328137
  defaultsDeepRecursive(targetValue, sourceValue, stack);
328138
328138
  return;
@@ -328145,7 +328145,7 @@ var require_defaultsDeep = __commonJS({
328145
328145
  function mergeArrays3(targetArray, sourceArray, stack) {
328146
328146
  const minLength = Math.min(sourceArray.length, targetArray.length);
328147
328147
  for (let i11 = 0; i11 < minLength; i11++) {
328148
- if (isPlainObject38.isPlainObject(targetArray[i11]) && isPlainObject38.isPlainObject(sourceArray[i11])) {
328148
+ if (isPlainObject39.isPlainObject(targetArray[i11]) && isPlainObject39.isPlainObject(sourceArray[i11])) {
328149
328149
  defaultsDeepRecursive(targetArray[i11], sourceArray[i11], stack);
328150
328150
  }
328151
328151
  }
@@ -328617,7 +328617,7 @@ var require_mergeWith2 = __commonJS({
328617
328617
  var isArguments3 = require_isArguments();
328618
328618
  var isArrayLikeObject2 = require_isArrayLikeObject();
328619
328619
  var isObjectLike6 = require_isObjectLike();
328620
- var isPlainObject38 = require_isPlainObject4();
328620
+ var isPlainObject39 = require_isPlainObject4();
328621
328621
  var isTypedArray4 = require_isTypedArray2();
328622
328622
  function mergeWith2(object22, ...otherArgs) {
328623
328623
  const sources = otherArgs.slice(0, -1);
@@ -328687,9 +328687,9 @@ var require_mergeWith2 = __commonJS({
328687
328687
  target[key2] = merged;
328688
328688
  } else if (Array.isArray(sourceValue)) {
328689
328689
  target[key2] = mergeWithDeep(targetValue, sourceValue, merge12, stack);
328690
- } else if (isObjectLike6.isObjectLike(targetValue) && isObjectLike6.isObjectLike(sourceValue) && (isPlainObject38.isPlainObject(targetValue) || isPlainObject38.isPlainObject(sourceValue) || isTypedArray4.isTypedArray(targetValue) || isTypedArray4.isTypedArray(sourceValue))) {
328690
+ } else if (isObjectLike6.isObjectLike(targetValue) && isObjectLike6.isObjectLike(sourceValue) && (isPlainObject39.isPlainObject(targetValue) || isPlainObject39.isPlainObject(sourceValue) || isTypedArray4.isTypedArray(targetValue) || isTypedArray4.isTypedArray(sourceValue))) {
328691
328691
  target[key2] = mergeWithDeep(targetValue, sourceValue, merge12, stack);
328692
- } else if (targetValue == null && isPlainObject38.isPlainObject(sourceValue)) {
328692
+ } else if (targetValue == null && isPlainObject39.isPlainObject(sourceValue)) {
328693
328693
  target[key2] = mergeWithDeep({}, sourceValue, merge12, stack);
328694
328694
  } else if (targetValue == null && isTypedArray4.isTypedArray(sourceValue)) {
328695
328695
  target[key2] = cloneDeep3.cloneDeep(sourceValue);
@@ -328746,7 +328746,7 @@ var require_omit = __commonJS({
328746
328746
  var getSymbolsIn2 = require_getSymbolsIn();
328747
328747
  var isDeepKey2 = require_isDeepKey();
328748
328748
  var flatten3 = require_flatten2();
328749
- var isPlainObject38 = require_isPlainObject4();
328749
+ var isPlainObject39 = require_isPlainObject4();
328750
328750
  function omit5(obj, ...keysArr) {
328751
328751
  if (obj == null) {
328752
328752
  return {};
@@ -328798,7 +328798,7 @@ var require_omit = __commonJS({
328798
328798
  for (let i11 = 0; i11 < keysToCopy.length; i11++) {
328799
328799
  const key2 = keysToCopy[i11];
328800
328800
  result[key2] = cloneDeepWith3.cloneDeepWith(obj[key2], (valueToClone) => {
328801
- if (isPlainObject38.isPlainObject(valueToClone)) {
328801
+ if (isPlainObject39.isPlainObject(valueToClone)) {
328802
328802
  return void 0;
328803
328803
  }
328804
328804
  return valueToClone;
@@ -329367,9 +329367,9 @@ var require_isElement = __commonJS({
329367
329367
  "use strict";
329368
329368
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
329369
329369
  var isObjectLike6 = require_isObjectLike();
329370
- var isPlainObject38 = require_isPlainObject4();
329370
+ var isPlainObject39 = require_isPlainObject4();
329371
329371
  function isElement3(value) {
329372
- return isObjectLike6.isObjectLike(value) && value.nodeType === 1 && !isPlainObject38.isPlainObject(value);
329372
+ return isObjectLike6.isObjectLike(value) && value.nodeType === 1 && !isPlainObject39.isPlainObject(value);
329373
329373
  }
329374
329374
  exports2.isElement = isElement3;
329375
329375
  }
@@ -331290,7 +331290,7 @@ var require_compat = __commonJS({
331290
331290
  var isNumber6 = require_isNumber();
331291
331291
  var isObject14 = require_isObject();
331292
331292
  var isObjectLike6 = require_isObjectLike();
331293
- var isPlainObject38 = require_isPlainObject4();
331293
+ var isPlainObject39 = require_isPlainObject4();
331294
331294
  var isRegExp4 = require_isRegExp2();
331295
331295
  var isSafeInteger = require_isSafeInteger();
331296
331296
  var isSet2 = require_isSet2();
@@ -331586,7 +331586,7 @@ var require_compat = __commonJS({
331586
331586
  exports2.isNumber = isNumber6.isNumber;
331587
331587
  exports2.isObject = isObject14.isObject;
331588
331588
  exports2.isObjectLike = isObjectLike6.isObjectLike;
331589
- exports2.isPlainObject = isPlainObject38.isPlainObject;
331589
+ exports2.isPlainObject = isPlainObject39.isPlainObject;
331590
331590
  exports2.isRegExp = isRegExp4.isRegExp;
331591
331591
  exports2.isSafeInteger = isSafeInteger.isSafeInteger;
331592
331592
  exports2.isSet = isSet2.isSet;
@@ -331902,7 +331902,7 @@ var require_compat2 = __commonJS({
331902
331902
  var isNumber6 = require_isNumber();
331903
331903
  var isObject14 = require_isObject();
331904
331904
  var isObjectLike6 = require_isObjectLike();
331905
- var isPlainObject38 = require_isPlainObject4();
331905
+ var isPlainObject39 = require_isPlainObject4();
331906
331906
  var isRegExp4 = require_isRegExp2();
331907
331907
  var isSafeInteger = require_isSafeInteger();
331908
331908
  var isSet2 = require_isSet2();
@@ -332199,7 +332199,7 @@ var require_compat2 = __commonJS({
332199
332199
  exports2.isNumber = isNumber6.isNumber;
332200
332200
  exports2.isObject = isObject14.isObject;
332201
332201
  exports2.isObjectLike = isObjectLike6.isObjectLike;
332202
- exports2.isPlainObject = isPlainObject38.isPlainObject;
332202
+ exports2.isPlainObject = isPlainObject39.isPlainObject;
332203
332203
  exports2.isRegExp = isRegExp4.isRegExp;
332204
332204
  exports2.isSafeInteger = isSafeInteger.isSafeInteger;
332205
332205
  exports2.isSet = isSet2.isSet;
@@ -335406,8 +335406,8 @@ var require_isPlainObject5 = __commonJS({
335406
335406
  "../../generator-cli/lib/configuration/sdk/core/schemas/utils/isPlainObject.js"(exports2) {
335407
335407
  "use strict";
335408
335408
  Object.defineProperty(exports2, "__esModule", { value: true });
335409
- exports2.isPlainObject = isPlainObject38;
335410
- function isPlainObject38(value) {
335409
+ exports2.isPlainObject = isPlainObject39;
335410
+ function isPlainObject39(value) {
335411
335411
  if (typeof value !== "object" || value === null) {
335412
335412
  return false;
335413
335413
  }
@@ -340941,7 +340941,7 @@ function lowercaseKeys2(object22) {
340941
340941
  return newObj;
340942
340942
  }, {});
340943
340943
  }
340944
- function isPlainObject33(value) {
340944
+ function isPlainObject34(value) {
340945
340945
  if (typeof value !== "object" || value === null) return false;
340946
340946
  if (Object.prototype.toString.call(value) !== "[object Object]") return false;
340947
340947
  const proto3 = Object.getPrototypeOf(value);
@@ -340952,7 +340952,7 @@ function isPlainObject33(value) {
340952
340952
  function mergeDeep3(defaults3, options2) {
340953
340953
  const result = Object.assign({}, defaults3);
340954
340954
  Object.keys(options2).forEach((key2) => {
340955
- if (isPlainObject33(options2[key2])) {
340955
+ if (isPlainObject34(options2[key2])) {
340956
340956
  if (!(key2 in defaults3)) Object.assign(result, { [key2]: options2[key2] });
340957
340957
  else result[key2] = mergeDeep3(defaults3[key2], options2[key2]);
340958
340958
  } else {
@@ -341502,7 +341502,7 @@ var init_dist_src5 = __esm({
341502
341502
  });
341503
341503
 
341504
341504
  // ../../../node_modules/.pnpm/@octokit+request@10.0.8/node_modules/@octokit/request/dist-bundle/index.js
341505
- function isPlainObject34(value) {
341505
+ function isPlainObject35(value) {
341506
341506
  if (typeof value !== "object" || value === null) return false;
341507
341507
  if (Object.prototype.toString.call(value) !== "[object Object]") return false;
341508
341508
  const proto3 = Object.getPrototypeOf(value);
@@ -341519,7 +341519,7 @@ async function fetchWrapper2(requestOptions) {
341519
341519
  }
341520
341520
  const log4 = requestOptions.request?.log || console;
341521
341521
  const parseSuccessResponseBody = requestOptions.request?.parseSuccessResponseBody !== false;
341522
- const body = isPlainObject34(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;
341522
+ const body = isPlainObject35(requestOptions.body) || Array.isArray(requestOptions.body) ? JSONStringify(requestOptions.body) : requestOptions.body;
341523
341523
  const requestHeaders = Object.fromEntries(
341524
341524
  Object.entries(requestOptions.headers).map(([name2, value]) => [
341525
341525
  name2,
@@ -359277,7 +359277,7 @@ function filterAsync(predicate) {
359277
359277
  }));
359278
359278
  });
359279
359279
  }
359280
- var debugError, DEFAULT_VIEWPORT, SOURCE_URL, PuppeteerURL, withSourcePuppeteerURLIfNone, getSourcePuppeteerURLIfAvailable, isString5, isNumber5, isPlainObject35, isRegExp3, isDate2, VALID_DIALOG_TYPES, UTILITY_WORLD_NAME, SOURCE_URL_REGEX, NETWORK_IDLE_TIME, unitToPixels;
359280
+ var debugError, DEFAULT_VIEWPORT, SOURCE_URL, PuppeteerURL, withSourcePuppeteerURLIfNone, getSourcePuppeteerURLIfAvailable, isString5, isNumber5, isPlainObject36, isRegExp3, isDate2, VALID_DIALOG_TYPES, UTILITY_WORLD_NAME, SOURCE_URL_REGEX, NETWORK_IDLE_TIME, unitToPixels;
359281
359281
  var init_util2 = __esm({
359282
359282
  "../../../node_modules/.pnpm/puppeteer-core@24.40.0/node_modules/puppeteer-core/lib/esm/puppeteer/common/util.js"() {
359283
359283
  "use strict";
@@ -359352,7 +359352,7 @@ var init_util2 = __esm({
359352
359352
  isNumber5 = (obj) => {
359353
359353
  return typeof obj === "number" || obj instanceof Number;
359354
359354
  };
359355
- isPlainObject35 = (obj) => {
359355
+ isPlainObject36 = (obj) => {
359356
359356
  return typeof obj === "object" && obj?.constructor === Object;
359357
359357
  };
359358
359358
  isRegExp3 = (obj) => {
@@ -383692,7 +383692,7 @@ var init_Serializer = __esm({
383692
383692
  type: "array",
383693
383693
  value: parsedArray
383694
383694
  };
383695
- } else if (isPlainObject35(arg)) {
383695
+ } else if (isPlainObject36(arg)) {
383696
383696
  try {
383697
383697
  JSON.stringify(arg);
383698
383698
  } catch (error50) {
@@ -420979,7 +420979,7 @@ var require_merge9 = __commonJS({
420979
420979
  exports2.mergeAll = exports2.hasOwn = void 0;
420980
420980
  exports2.hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
420981
420981
  var objToString = Function.prototype.call.bind(Object.prototype.toString);
420982
- function isPlainObject38(obj) {
420982
+ function isPlainObject39(obj) {
420983
420983
  return objToString(obj) === "[object Object]";
420984
420984
  }
420985
420985
  function merge12(target, source2, options2) {
@@ -420991,7 +420991,7 @@ var require_merge9 = __commonJS({
420991
420991
  target[key2].push(...newValue);
420992
420992
  continue;
420993
420993
  }
420994
- } else if (isPlainObject38(target[key2]) && isPlainObject38(newValue)) {
420994
+ } else if (isPlainObject39(target[key2]) && isPlainObject39(newValue)) {
420995
420995
  target[key2] = merge12(target[key2], newValue, options2);
420996
420996
  continue;
420997
420997
  }
@@ -428445,7 +428445,7 @@ var require_isPlainObject6 = __commonJS({
428445
428445
  Object.defineProperty(exports2, "__esModule", { value: true });
428446
428446
  exports2.isPlainObject = exports2.NOT_AN_OBJECT_ERROR_MESSAGE = void 0;
428447
428447
  exports2.NOT_AN_OBJECT_ERROR_MESSAGE = "Not an object";
428448
- function isPlainObject38(value) {
428448
+ function isPlainObject39(value) {
428449
428449
  if (typeof value !== "object" || value === null) {
428450
428450
  return false;
428451
428451
  }
@@ -428458,7 +428458,7 @@ var require_isPlainObject6 = __commonJS({
428458
428458
  }
428459
428459
  return Object.getPrototypeOf(value) === proto3;
428460
428460
  }
428461
- exports2.isPlainObject = isPlainObject38;
428461
+ exports2.isPlainObject = isPlainObject39;
428462
428462
  }
428463
428463
  });
428464
428464
 
@@ -521218,7 +521218,45 @@ function buildEnvironments(context3) {
521218
521218
  }
521219
521219
  }
521220
521220
  }
521221
- if (apiToUrls.size > 0) {
521221
+ const endpointServerNamesSet = new Set(apiToUrls.keys());
521222
+ const topLevelServerNamesSet = new Set(Object.keys(topLevelServersWithName));
521223
+ const endpointServersReferenceTopLevel = endpointServerNamesSet.size > 0 && [...endpointServerNamesSet].every((name2) => topLevelServerNamesSet.has(name2));
521224
+ if (apiToUrls.size > 0 && endpointServersReferenceTopLevel) {
521225
+ const entries23 = Object.entries(topLevelServersWithName);
521226
+ const firstEntry = entries23[0];
521227
+ if (firstEntry) {
521228
+ const [envName, firstSchema] = firstEntry;
521229
+ const baseUrl = typeof firstSchema === "string" ? firstSchema : isRawMultipleBaseUrlsEnvironment(firstSchema) ? Object.values(firstSchema.urls)[0] : firstSchema["default-url"] ?? firstSchema.url;
521230
+ const urls = {};
521231
+ if (baseUrl != null) {
521232
+ urls[DEFAULT_URL_NAME] = baseUrl;
521233
+ context3.setUrlId(baseUrl, DEFAULT_URL_NAME);
521234
+ }
521235
+ for (let i11 = 1; i11 < entries23.length; i11++) {
521236
+ const entry = entries23[i11];
521237
+ if (entry == null) {
521238
+ continue;
521239
+ }
521240
+ const [name2, schema2] = entry;
521241
+ const url3 = typeof schema2 === "string" ? schema2 : isRawMultipleBaseUrlsEnvironment(schema2) ? Object.values(schema2.urls)[0] : schema2["default-url"] ?? schema2.url;
521242
+ if (url3 != null) {
521243
+ urls[name2] = url3;
521244
+ context3.setUrlId(url3, name2);
521245
+ }
521246
+ }
521247
+ if (hasWebsocketServersWithName) {
521248
+ Object.assign(urls, extractUrlsFromEnvironmentSchema(websocketServersWithName));
521249
+ }
521250
+ context3.builder.addEnvironment({
521251
+ name: envName,
521252
+ schema: { urls }
521253
+ });
521254
+ if (context3.options.inferDefaultEnvironment !== false) {
521255
+ context3.builder.setDefaultEnvironment(envName);
521256
+ }
521257
+ context3.builder.setDefaultUrl(DEFAULT_URL_NAME);
521258
+ }
521259
+ } else if (apiToUrls.size > 0) {
521222
521260
  let firstEnvironment = true;
521223
521261
  for (const [envName, envSchema] of Object.entries(topLevelServersWithName)) {
521224
521262
  const baseUrl = typeof envSchema === "string" ? envSchema : isRawMultipleBaseUrlsEnvironment(envSchema) ? Object.values(envSchema.urls)[0] : envSchema["default-url"] ?? envSchema.url;
@@ -563496,12 +563534,16 @@ function convertOAuthRefreshEndpoint({ endpointResolver, propertyResolver, file:
563496
563534
  }
563497
563535
 
563498
563536
  // ../generation/ir-generator/lib/converters/convertOAuthTokenEndpoint.js
563499
- function convertOAuthTokenEndpoint({ endpointResolver, propertyResolver, file: file4, tokenEndpoint }) {
563537
+ function convertOAuthTokenEndpoint({ endpointResolver, propertyResolver, typeResolver, file: file4, tokenEndpoint }) {
563500
563538
  const resolvedEndpoint = endpointResolver.resolveEndpointOrThrow({
563501
563539
  endpoint: tokenEndpoint.endpoint,
563502
563540
  file: file4
563503
563541
  });
563504
- const requestBodyProperties = typeof resolvedEndpoint.endpoint.request === "object" && resolvedEndpoint.endpoint.request.body != null && typeof resolvedEndpoint.endpoint.request.body === "object" && "properties" in resolvedEndpoint.endpoint.request.body ? resolvedEndpoint.endpoint.request.body.properties ?? {} : {};
563542
+ const requestBodyProperties = getRequestBodyPropertyNames({
563543
+ endpoint: resolvedEndpoint.endpoint,
563544
+ file: resolvedEndpoint.file,
563545
+ typeResolver
563546
+ });
563505
563547
  let expiresIn = void 0;
563506
563548
  try {
563507
563549
  expiresIn = tokenEndpoint.responseProperties.expires_in != null ? propertyResolver.resolveResponsePropertyOrThrow({
@@ -563530,7 +563572,7 @@ function convertOAuthTokenEndpoint({ endpointResolver, propertyResolver, file: f
563530
563572
  propertyComponents: tokenEndpoint.requestProperties.scopes
563531
563573
  }) : void 0,
563532
563574
  customProperties: resolveCustomRequestProperties({
563533
- requestBodyProperties,
563575
+ requestBodyPropertyNames: requestBodyProperties,
563534
563576
  tokenEndpoint,
563535
563577
  file: file4,
563536
563578
  propertyResolver
@@ -563551,20 +563593,63 @@ function convertOAuthTokenEndpoint({ endpointResolver, propertyResolver, file: f
563551
563593
  }
563552
563594
  };
563553
563595
  }
563554
- var resolveCustomRequestProperties = ({ requestBodyProperties, tokenEndpoint, file: file4, propertyResolver }) => {
563555
- const customPropertyNames = Object.keys(requestBodyProperties).filter((propertyName) => !tokenEndpoint.requestProperties.client_id.includes(propertyName) && !tokenEndpoint.requestProperties.client_secret.includes(propertyName) && (tokenEndpoint.requestProperties.scopes == null || !tokenEndpoint.requestProperties.scopes.includes(propertyName)));
563596
+ var resolveCustomRequestProperties = ({ requestBodyPropertyNames, tokenEndpoint, file: file4, propertyResolver }) => {
563597
+ const customPropertyNames = requestBodyPropertyNames.filter((propertyName) => !tokenEndpoint.requestProperties.client_id.includes(propertyName) && !tokenEndpoint.requestProperties.client_secret.includes(propertyName) && (tokenEndpoint.requestProperties.scopes == null || !tokenEndpoint.requestProperties.scopes.includes(propertyName)));
563556
563598
  return customPropertyNames.length > 0 ? customPropertyNames.map((propertyName) => propertyResolver.resolveRequestPropertyOrThrow({
563557
563599
  file: file4,
563558
563600
  endpoint: tokenEndpoint.endpoint,
563559
563601
  propertyComponents: [propertyName]
563560
563602
  })) : void 0;
563561
563603
  };
563604
+ function getRequestBodyPropertyNames({ endpoint: endpoint3, file: file4, typeResolver }) {
563605
+ const request7 = endpoint3.request;
563606
+ if (request7 == null) {
563607
+ return [];
563608
+ }
563609
+ if (typeof request7 === "string") {
563610
+ return getPropertyNamesFromType({ typeName: request7, file: file4, typeResolver });
563611
+ }
563612
+ const body = request7.body;
563613
+ if (body == null) {
563614
+ return [];
563615
+ }
563616
+ if (typeof body === "string") {
563617
+ return getPropertyNamesFromType({ typeName: body, file: file4, typeResolver });
563618
+ }
563619
+ if (isInlineRequestBody(body)) {
563620
+ const names2 = Object.keys(body.properties ?? {});
563621
+ if (body.extends != null) {
563622
+ const extendsList = typeof body.extends === "string" ? [body.extends] : body.extends;
563623
+ for (const extendedType of extendsList) {
563624
+ names2.push(...getPropertyNamesFromType({ typeName: extendedType, file: file4, typeResolver }));
563625
+ }
563626
+ }
563627
+ return names2;
563628
+ }
563629
+ return getPropertyNamesFromType({ typeName: body.type, file: file4, typeResolver });
563630
+ }
563631
+ function getPropertyNamesFromType({ typeName, file: file4, typeResolver }) {
563632
+ const resolved = typeResolver.resolveType({ type: typeName, file: file4 });
563633
+ if (resolved == null || resolved._type !== "named") {
563634
+ return [];
563635
+ }
563636
+ const declaration = resolved.declaration;
563637
+ const names2 = [];
563638
+ if ("properties" in declaration && declaration.properties != null) {
563639
+ names2.push(...Object.keys(declaration.properties));
563640
+ }
563641
+ if ("base-properties" in declaration && declaration["base-properties"] != null) {
563642
+ names2.push(...Object.keys(declaration["base-properties"]));
563643
+ }
563644
+ return names2;
563645
+ }
563562
563646
 
563563
563647
  // ../generation/ir-generator/lib/converters/convertOAuthClientCredentials.js
563564
- function convertOAuthClientCredentials({ propertyResolver, endpointResolver, file: file4, oauthScheme, tokenEndpoint, refreshTokenEndpoint }) {
563648
+ function convertOAuthClientCredentials({ propertyResolver, endpointResolver, typeResolver, file: file4, oauthScheme, tokenEndpoint, refreshTokenEndpoint }) {
563565
563649
  const oauthTokenEndpoint = convertOAuthTokenEndpoint({
563566
563650
  propertyResolver,
563567
563651
  endpointResolver,
563652
+ typeResolver,
563568
563653
  file: file4,
563569
563654
  tokenEndpoint
563570
563655
  });
@@ -563692,7 +563777,7 @@ function getTokenEndpointResponsePropertiesWithDefault({ responseProperties, def
563692
563777
  }
563693
563778
 
563694
563779
  // ../generation/ir-generator/lib/converters/convertApiAuth.js
563695
- function convertApiAuth2({ rawApiFileSchema, file: file4, propertyResolver, endpointResolver }) {
563780
+ function convertApiAuth2({ rawApiFileSchema, file: file4, propertyResolver, endpointResolver, typeResolver }) {
563696
563781
  if (rawApiFileSchema.auth == null) {
563697
563782
  return {
563698
563783
  docs: void 0,
@@ -563708,7 +563793,8 @@ function convertApiAuth2({ rawApiFileSchema, file: file4, propertyResolver, endp
563708
563793
  authSchemeDeclarations: rawApiFileSchema["auth-schemes"],
563709
563794
  file: file4,
563710
563795
  propertyResolver,
563711
- endpointResolver
563796
+ endpointResolver,
563797
+ typeResolver
563712
563798
  });
563713
563799
  return {
563714
563800
  docs,
@@ -563724,7 +563810,8 @@ function convertApiAuth2({ rawApiFileSchema, file: file4, propertyResolver, endp
563724
563810
  authSchemeDeclarations: rawApiFileSchema["auth-schemes"],
563725
563811
  file: file4,
563726
563812
  propertyResolver,
563727
- endpointResolver
563813
+ endpointResolver,
563814
+ typeResolver
563728
563815
  }))
563729
563816
  }),
563730
563817
  endpointSecurity: () => ({
@@ -563735,12 +563822,13 @@ function convertApiAuth2({ rawApiFileSchema, file: file4, propertyResolver, endp
563735
563822
  authSchemeDeclarations: rawApiFileSchema["auth-schemes"],
563736
563823
  file: file4,
563737
563824
  propertyResolver,
563738
- endpointResolver
563825
+ endpointResolver,
563826
+ typeResolver
563739
563827
  }))
563740
563828
  })
563741
563829
  });
563742
563830
  }
563743
- function convertSchemeReference2({ reference: reference4, authSchemeDeclarations, file: file4, propertyResolver, endpointResolver }) {
563831
+ function convertSchemeReference2({ reference: reference4, authSchemeDeclarations, file: file4, propertyResolver, endpointResolver, typeResolver }) {
563744
563832
  const convertNamedAuthSchemeReference = (reference5, docs) => {
563745
563833
  const declaration = authSchemeDeclarations?.[reference5];
563746
563834
  if (declaration == null) {
@@ -563784,7 +563872,8 @@ function convertSchemeReference2({ reference: reference4, authSchemeDeclarations
563784
563872
  docs,
563785
563873
  rawScheme,
563786
563874
  propertyResolver,
563787
- endpointResolver
563875
+ endpointResolver,
563876
+ typeResolver
563788
563877
  })
563789
563878
  });
563790
563879
  };
@@ -563811,7 +563900,8 @@ function convertSchemeReference2({ reference: reference4, authSchemeDeclarations
563811
563900
  docs: void 0,
563812
563901
  rawScheme: void 0,
563813
563902
  propertyResolver,
563814
- endpointResolver
563903
+ endpointResolver,
563904
+ typeResolver
563815
563905
  });
563816
563906
  default:
563817
563907
  return convertNamedAuthSchemeReference(scheme, typeof reference4 !== "string" ? reference4.docs : void 0);
@@ -563837,7 +563927,7 @@ function generateBasicAuth2({ key: key2, file: file4, docs, rawScheme }) {
563837
563927
  passwordOmit: rawScheme?.password?.omit
563838
563928
  });
563839
563929
  }
563840
- function generateOAuth({ key: key2, file: file4, docs, rawScheme, propertyResolver, endpointResolver }) {
563930
+ function generateOAuth({ key: key2, file: file4, docs, rawScheme, propertyResolver, endpointResolver, typeResolver }) {
563841
563931
  switch (rawScheme?.type) {
563842
563932
  case "client-credentials":
563843
563933
  return AuthScheme.oauth({
@@ -563846,6 +563936,7 @@ function generateOAuth({ key: key2, file: file4, docs, rawScheme, propertyResolv
563846
563936
  configuration: OAuthConfiguration.clientCredentials(convertOAuthClientCredentials({
563847
563937
  propertyResolver,
563848
563938
  endpointResolver,
563939
+ typeResolver,
563849
563940
  file: file4,
563850
563941
  oauthScheme: rawScheme,
563851
563942
  tokenEndpoint: get0AuthTokenEndpoint(rawScheme),
@@ -566636,7 +566727,8 @@ function generateIntermediateRepresentation({ workspace, generationLanguage, key
566636
566727
  rawApiFileSchema: workspace.definition.rootApiFile.contents,
566637
566728
  file: rootApiFileContext,
566638
566729
  propertyResolver,
566639
- endpointResolver
566730
+ endpointResolver,
566731
+ typeResolver
566640
566732
  }),
566641
566733
  headers: workspace.definition.rootApiFile.contents.headers != null ? Object.entries(workspace.definition.rootApiFile.contents.headers).map(([headerKey, header]) => convertHttpHeader({ headerKey, header, file: rootApiFileContext })) : [],
566642
566734
  idempotencyHeaders: workspace.definition.rootApiFile.contents["idempotency-headers"] != null ? Object.entries(workspace.definition.rootApiFile.contents["idempotency-headers"]).map(([headerKey, header]) => convertHttpHeader({ headerKey, header, file: rootApiFileContext })) : [],
@@ -602690,9 +602782,6 @@ __export(schema_exports, {
602690
602782
  SchemaOrReferenceConverter: () => SchemaOrReferenceConverter
602691
602783
  });
602692
602784
 
602693
- // ../api-importers/v3-importer-commons/lib/converters/schema/SchemaConverter.js
602694
- init_lodash();
602695
-
602696
602785
  // ../api-importers/v3-importer-commons/lib/utils/CreateTypeReferenceFromFernType.js
602697
602786
  function createTypeReferenceFromFernType(fernType) {
602698
602787
  return recursivelyVisitRawTypeReference({
@@ -602973,6 +603062,155 @@ var MapSchemaConverter = class extends AbstractConverter {
602973
603062
  }
602974
603063
  };
602975
603064
 
603065
+ // ../api-importers/v3-importer-commons/lib/converters/schema/mergeAllOfSchemas.js
603066
+ var OUTER_WINS_KEYS = [
603067
+ "description",
603068
+ "title",
603069
+ "format",
603070
+ "type",
603071
+ "discriminator",
603072
+ "xml",
603073
+ "externalDocs",
603074
+ "extensions"
603075
+ ];
603076
+ var DEEP_MERGE_KEYS = ["example", "default"];
603077
+ var OR_KEYS = ["deprecated", "readOnly", "writeOnly", "uniqueItems", "nullable"];
603078
+ var MAX_OF_MINS_KEYS = ["minimum", "exclusiveMinimum", "minLength", "minItems", "minProperties"];
603079
+ var MIN_OF_MAXS_KEYS = ["maximum", "exclusiveMaximum", "maxLength", "maxItems", "maxProperties"];
603080
+ var SKIP_FROM_CHILDREN = ["allOf", "oneOf", "anyOf"];
603081
+ function mergeAllOfSchemas(outerSchema, elements) {
603082
+ const flatElements = flattenNestedAllOf(elements);
603083
+ let result = {};
603084
+ for (const element4 of flatElements) {
603085
+ result = mergeSchemaElement(result, element4);
603086
+ }
603087
+ applyOuterSchema(result, outerSchema);
603088
+ return result;
603089
+ }
603090
+ function flattenNestedAllOf(elements) {
603091
+ const flat = [];
603092
+ for (const element4 of elements) {
603093
+ if (Array.isArray(element4.allOf) && element4.allOf.length > 0) {
603094
+ const { allOf, ...sibling2 } = element4;
603095
+ const schemaChildren = allOf.filter((child) => !("$ref" in child));
603096
+ flat.push(...flattenNestedAllOf(schemaChildren));
603097
+ if (Object.keys(sibling2).length > 0) {
603098
+ flat.push(sibling2);
603099
+ }
603100
+ } else {
603101
+ flat.push(element4);
603102
+ }
603103
+ }
603104
+ return flat;
603105
+ }
603106
+ function mergeSchemaElement(target, source2) {
603107
+ const result = { ...target };
603108
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603109
+ if (sourceValue === void 0) {
603110
+ continue;
603111
+ }
603112
+ if (SKIP_FROM_CHILDREN.includes(key2)) {
603113
+ continue;
603114
+ }
603115
+ const targetValue = result[key2];
603116
+ if (key2 === "required") {
603117
+ const targetArr = Array.isArray(targetValue) ? targetValue : [];
603118
+ const sourceArr = Array.isArray(sourceValue) ? sourceValue : [];
603119
+ result[key2] = [.../* @__PURE__ */ new Set([...targetArr, ...sourceArr])];
603120
+ continue;
603121
+ }
603122
+ if (key2 === "properties") {
603123
+ result[key2] = mergeProperties(targetValue ?? {}, sourceValue);
603124
+ continue;
603125
+ }
603126
+ if (key2 === "items") {
603127
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603128
+ result[key2] = mergeSchemaElement(targetValue, sourceValue);
603129
+ } else {
603130
+ result[key2] = sourceValue;
603131
+ }
603132
+ continue;
603133
+ }
603134
+ if (DEEP_MERGE_KEYS.includes(key2)) {
603135
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603136
+ result[key2] = deepMergeObjects(targetValue, sourceValue);
603137
+ } else {
603138
+ result[key2] = sourceValue;
603139
+ }
603140
+ continue;
603141
+ }
603142
+ if (OR_KEYS.includes(key2)) {
603143
+ result[key2] = Boolean(targetValue) || Boolean(sourceValue);
603144
+ continue;
603145
+ }
603146
+ if (MAX_OF_MINS_KEYS.includes(key2)) {
603147
+ if (typeof targetValue === "number" && typeof sourceValue === "number") {
603148
+ result[key2] = Math.max(targetValue, sourceValue);
603149
+ } else {
603150
+ result[key2] = sourceValue;
603151
+ }
603152
+ continue;
603153
+ }
603154
+ if (MIN_OF_MAXS_KEYS.includes(key2)) {
603155
+ if (typeof targetValue === "number" && typeof sourceValue === "number") {
603156
+ result[key2] = Math.min(targetValue, sourceValue);
603157
+ } else {
603158
+ result[key2] = sourceValue;
603159
+ }
603160
+ continue;
603161
+ }
603162
+ result[key2] = sourceValue;
603163
+ }
603164
+ return result;
603165
+ }
603166
+ function mergeProperties(target, source2) {
603167
+ const result = { ...target };
603168
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603169
+ const targetValue = result[key2];
603170
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603171
+ result[key2] = mergeSchemaElement(targetValue, sourceValue);
603172
+ } else {
603173
+ result[key2] = sourceValue;
603174
+ }
603175
+ }
603176
+ return result;
603177
+ }
603178
+ function deepMergeObjects(target, source2) {
603179
+ const result = { ...target };
603180
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603181
+ const targetValue = result[key2];
603182
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603183
+ result[key2] = deepMergeObjects(targetValue, sourceValue);
603184
+ } else {
603185
+ result[key2] = sourceValue;
603186
+ }
603187
+ }
603188
+ return result;
603189
+ }
603190
+ function applyOuterSchema(result, outerSchema) {
603191
+ for (const key2 of OUTER_WINS_KEYS) {
603192
+ const outerValue = outerSchema[key2];
603193
+ if (outerValue != null) {
603194
+ result[key2] = outerValue;
603195
+ }
603196
+ }
603197
+ for (const key2 of DEEP_MERGE_KEYS) {
603198
+ const outerValue = outerSchema[key2];
603199
+ if (outerValue != null) {
603200
+ result[key2] = outerValue;
603201
+ }
603202
+ }
603203
+ for (const key2 of OR_KEYS) {
603204
+ const outerValue = outerSchema[key2];
603205
+ if (outerValue === true) {
603206
+ result[key2] = true;
603207
+ }
603208
+ }
603209
+ }
603210
+ function isPlainObject18(value) {
603211
+ return typeof value === "object" && value !== null && !Array.isArray(value);
603212
+ }
603213
+
602976
603214
  // ../api-importers/v3-importer-commons/lib/converters/schema/ObjectSchemaConverter.js
602977
603215
  init_lib4();
602978
603216
 
@@ -603986,12 +604224,14 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
603986
604224
  inlined;
603987
604225
  audiences;
603988
604226
  nameOverride;
603989
- constructor({ context: context3, breadcrumbs, schema: schema2, id: id2, inlined = false, nameOverride }) {
604227
+ visitedRefs;
604228
+ constructor({ context: context3, breadcrumbs, schema: schema2, id: id2, inlined = false, nameOverride, visitedRefs }) {
603990
604229
  super({ context: context3, breadcrumbs });
603991
604230
  this.schema = schema2;
603992
604231
  this.id = id2;
603993
604232
  this.inlined = inlined;
603994
604233
  this.nameOverride = nameOverride;
604234
+ this.visitedRefs = visitedRefs ?? /* @__PURE__ */ new Set();
603995
604235
  this.audiences = this.context.getAudiences({
603996
604236
  operation: this.schema,
603997
604237
  breadcrumbs: this.breadcrumbs
@@ -604082,33 +604322,76 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
604082
604322
  }
604083
604323
  tryConvertSingularAllOfSchema() {
604084
604324
  if (this.schemaOnlyHasAllowedKeys(["allOf", "type", "title"]) && this.schema.allOf?.length === 1 && this.schema.allOf[0] != null) {
604325
+ const allOfElement = this.schema.allOf[0];
604326
+ if (this.context.isReferenceObject(allOfElement)) {
604327
+ const refPath = allOfElement.$ref;
604328
+ if (this.visitedRefs.has(refPath)) {
604329
+ return void 0;
604330
+ }
604331
+ }
604085
604332
  const allOfSchema = this.context.resolveMaybeReference({
604086
- schemaOrReference: this.schema.allOf[0],
604333
+ schemaOrReference: allOfElement,
604087
604334
  breadcrumbs: this.breadcrumbs
604088
604335
  });
604089
604336
  if (allOfSchema != null) {
604337
+ const visitedRefsForChild = this.context.isReferenceObject(allOfElement) ? /* @__PURE__ */ new Set([...this.visitedRefs, allOfElement.$ref]) : this.visitedRefs;
604090
604338
  const allOfConverter = new _SchemaConverter({
604091
604339
  context: this.context,
604092
604340
  breadcrumbs: [...this.breadcrumbs, "allOf", "0"],
604093
604341
  schema: allOfSchema,
604094
604342
  id: this.id,
604095
- inlined: true
604343
+ inlined: this.inlined,
604344
+ visitedRefs: visitedRefsForChild
604096
604345
  });
604097
604346
  const allOfResult = allOfConverter.convert();
604098
604347
  if (allOfResult?.convertedSchema.typeDeclaration?.shape.type !== "object") {
604348
+ if (allOfResult != null) {
604349
+ const decl = allOfResult.convertedSchema.typeDeclaration;
604350
+ if (this.schema.description != null && decl.docs == null) {
604351
+ decl.docs = this.schema.description;
604352
+ }
604353
+ const outerAvailability = this.context.getAvailability({
604354
+ node: this.schema,
604355
+ breadcrumbs: this.breadcrumbs
604356
+ });
604357
+ if (outerAvailability != null && decl.availability == null) {
604358
+ decl.availability = outerAvailability;
604359
+ }
604360
+ }
604099
604361
  return allOfResult;
604100
604362
  }
604101
604363
  }
604102
604364
  }
604103
604365
  const shouldMergeAllOf = this.schemaOnlyHasAllowedKeys(["allOf", "type", "title"]) && Array.isArray(this.schema.allOf) && this.schema.allOf.length >= 1;
604104
604366
  if (shouldMergeAllOf) {
604105
- let mergedSchema = {};
604367
+ const localResolvedRefs = /* @__PURE__ */ new Set();
604368
+ const resolvedElements = [];
604369
+ let hasCycle = false;
604106
604370
  for (const allOfSchema of this.schema.allOf ?? []) {
604371
+ let schemaToMerge;
604107
604372
  if (this.context.isReferenceObject(allOfSchema)) {
604108
- return void 0;
604373
+ const refPath = allOfSchema.$ref;
604374
+ if (this.visitedRefs.has(refPath)) {
604375
+ hasCycle = true;
604376
+ break;
604377
+ }
604378
+ if (localResolvedRefs.has(refPath)) {
604379
+ continue;
604380
+ }
604381
+ localResolvedRefs.add(refPath);
604382
+ const resolved = this.context.resolveMaybeReference({
604383
+ schemaOrReference: allOfSchema,
604384
+ breadcrumbs: this.breadcrumbs
604385
+ });
604386
+ if (resolved == null) {
604387
+ return void 0;
604388
+ }
604389
+ schemaToMerge = resolved;
604390
+ } else {
604391
+ schemaToMerge = allOfSchema;
604109
604392
  }
604110
- const variants = allOfSchema.oneOf ?? allOfSchema.anyOf;
604111
- if (variants != null && allOfSchema.type == null && allOfSchema.properties == null) {
604393
+ const variants = schemaToMerge.oneOf ?? schemaToMerge.anyOf;
604394
+ if (!this.context.isReferenceObject(allOfSchema) && variants != null && schemaToMerge.type == null && schemaToMerge.properties == null) {
604112
604395
  const flattenedProperties = {};
604113
604396
  for (const variantSchemaOrRef of variants) {
604114
604397
  const variantSchema = this.context.isReferenceObject(variantSchemaOrRef) ? this.context.resolveMaybeReference({
@@ -604128,27 +604411,24 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
604128
604411
  }
604129
604412
  }
604130
604413
  if (Object.keys(flattenedProperties).length > 0) {
604131
- const existingProperties = mergedSchema.properties ?? {};
604132
- mergedSchema.properties = { ...existingProperties, ...flattenedProperties };
604414
+ resolvedElements.push({ properties: flattenedProperties });
604133
604415
  }
604134
604416
  continue;
604135
604417
  }
604136
- mergedSchema = mergeWith_default(mergedSchema, allOfSchema, (objValue, srcValue) => {
604137
- if (srcValue === allOfSchema) {
604138
- return objValue;
604139
- }
604140
- if (Array.isArray(objValue) && Array.isArray(srcValue)) {
604141
- return [...objValue, ...srcValue];
604142
- }
604143
- return void 0;
604144
- });
604418
+ resolvedElements.push(schemaToMerge);
604419
+ }
604420
+ if (hasCycle) {
604421
+ return void 0;
604145
604422
  }
604423
+ const mergedSchema = mergeAllOfSchemas(this.schema, resolvedElements);
604424
+ const allResolvedRefs = /* @__PURE__ */ new Set([...this.visitedRefs, ...localResolvedRefs]);
604146
604425
  const mergedConverter = new _SchemaConverter({
604147
604426
  context: this.context,
604148
604427
  breadcrumbs: this.breadcrumbs,
604149
604428
  schema: mergedSchema,
604150
604429
  id: this.id,
604151
- inlined: true
604430
+ inlined: this.inlined,
604431
+ visitedRefs: allResolvedRefs
604152
604432
  });
604153
604433
  return mergedConverter.convert();
604154
604434
  }
@@ -604510,20 +604790,44 @@ var SchemaOrReferenceConverter = class extends AbstractConverter {
604510
604790
  return void 0;
604511
604791
  }
604512
604792
  maybeConvertSingularAllOfReferenceObject() {
604513
- if (this.context.isReferenceObject(this.schemaOrReference) || this.schemaOrReference.allOf == null || this.schemaOrReference.allOf.length !== 1) {
604793
+ if (this.context.isReferenceObject(this.schemaOrReference) || this.schemaOrReference.allOf == null) {
604514
604794
  return void 0;
604515
604795
  }
604516
- const allOfReference = this.schemaOrReference.allOf[0];
604517
- if (this.context.isReferenceObject(allOfReference)) {
604518
- const response = this.context.convertReferenceToTypeReference({
604519
- reference: allOfReference,
604796
+ if (this.schemaOrReference.allOf.length === 1) {
604797
+ const allOfReference = this.schemaOrReference.allOf[0];
604798
+ if (this.context.isReferenceObject(allOfReference)) {
604799
+ const response = this.context.convertReferenceToTypeReference({
604800
+ reference: allOfReference,
604801
+ breadcrumbs: this.breadcrumbs
604802
+ });
604803
+ if (response.ok) {
604804
+ return {
604805
+ type: this.wrapTypeReference(response.reference),
604806
+ inlinedTypes: response.inlinedTypes ?? {}
604807
+ };
604808
+ }
604809
+ }
604810
+ return void 0;
604811
+ }
604812
+ const refElements = this.schemaOrReference.allOf.filter((s11) => this.context.isReferenceObject(s11));
604813
+ const inlineElements = this.schemaOrReference.allOf.filter((s11) => !this.context.isReferenceObject(s11));
604814
+ const singleRef = refElements.length === 1 ? refElements[0] : void 0;
604815
+ if (singleRef != null && inlineElements.every((s11) => !s11.properties && !s11.enum && !s11.oneOf && !s11.anyOf && !s11.allOf && !s11.format && !("items" in s11)) && !inlineElements.some((s11) => s11.type === "null" || Array.isArray(s11.type) && s11.type.includes("null"))) {
604816
+ const resolved = this.context.resolveMaybeReference({
604817
+ schemaOrReference: singleRef,
604520
604818
  breadcrumbs: this.breadcrumbs
604521
604819
  });
604522
- if (response.ok) {
604523
- return {
604524
- type: this.wrapTypeReference(response.reference),
604525
- inlinedTypes: {}
604526
- };
604820
+ if (resolved != null && resolved.type !== "object" && !resolved.properties && !resolved.allOf && !resolved.oneOf && !resolved.anyOf && !resolved.format) {
604821
+ const response = this.context.convertReferenceToTypeReference({
604822
+ reference: singleRef,
604823
+ breadcrumbs: this.breadcrumbs
604824
+ });
604825
+ if (response.ok) {
604826
+ return {
604827
+ type: this.wrapTypeReference(response.reference),
604828
+ inlinedTypes: response.inlinedTypes ?? {}
604829
+ };
604830
+ }
604527
604831
  }
604528
604832
  }
604529
604833
  return void 0;
@@ -610663,7 +610967,14 @@ function resolveOAuthScheme({ ir: ir15, key: key2, oauthScheme }) {
610663
610967
  clientId: clientIdProp,
610664
610968
  clientSecret: clientSecretProp,
610665
610969
  scopes: void 0,
610666
- customProperties: void 0
610970
+ customProperties: findCustomRequestProperties({
610971
+ ir: ir15,
610972
+ endpoint: endpoint3,
610973
+ excludeWireValues: [
610974
+ extractWireName(reqProps?.["client-id"], "client_id"),
610975
+ extractWireName(reqProps?.["client-secret"], "client_secret")
610976
+ ]
610977
+ })
610667
610978
  },
610668
610979
  responseProperties: {
610669
610980
  accessToken: accessTokenProp,
@@ -610789,6 +611100,26 @@ function findRequestBodyProperty({ ir: ir15, endpoint: endpoint3, wireValue }) {
610789
611100
  property: RequestPropertyValue.body({ ...prop })
610790
611101
  };
610791
611102
  }
611103
+ function findCustomRequestProperties({ ir: ir15, endpoint: endpoint3, excludeWireValues }) {
611104
+ if (endpoint3.requestBody == null) {
611105
+ return void 0;
611106
+ }
611107
+ let properties7;
611108
+ if (endpoint3.requestBody.type === "inlinedRequestBody") {
611109
+ properties7 = endpoint3.requestBody.properties;
611110
+ } else if (endpoint3.requestBody.type === "reference" && endpoint3.requestBody.requestBodyType.type === "named") {
611111
+ properties7 = getObjectPropertiesForNamedType(ir15, endpoint3.requestBody.requestBodyType.typeId);
611112
+ }
611113
+ if (properties7 == null) {
611114
+ return void 0;
611115
+ }
611116
+ const excludeSet = new Set(excludeWireValues);
611117
+ const customProps = properties7.filter((prop) => !excludeSet.has(getWireValue(prop.name))).map((prop) => ({
611118
+ propertyPath: void 0,
611119
+ property: RequestPropertyValue.body({ ...prop })
611120
+ }));
611121
+ return customProps.length > 0 ? customProps : void 0;
611122
+ }
610792
611123
  function findResponseProperty({ ir: ir15, endpoint: endpoint3, wireValue }) {
610793
611124
  if (endpoint3.response?.body?.type !== "json") {
610794
611125
  return void 0;
@@ -617369,7 +617700,7 @@ function isErrorEvent4(event) {
617369
617700
  function isEvent2(candidate) {
617370
617701
  return "undefined" != typeof Event && isInstanceOf2(candidate, Event);
617371
617702
  }
617372
- function isPlainObject18(candidate) {
617703
+ function isPlainObject19(candidate) {
617373
617704
  return isBuiltin2(candidate, "Object");
617374
617705
  }
617375
617706
  function isInstanceOf2(candidate, base4) {
@@ -620763,7 +621094,7 @@ var PostHogBackendClient = class extends PostHogCoreStateless {
620763
621094
  };
620764
621095
  const personProperties = {};
620765
621096
  const groupProperties = {};
620766
- for (const [key2, value] of Object.entries(eventProperties)) if (isPlainObject18(value) && groups2 && key2 in groups2) {
621097
+ for (const [key2, value] of Object.entries(eventProperties)) if (isPlainObject19(value) && groups2 && key2 in groups2) {
620767
621098
  const groupProps = {};
620768
621099
  for (const [groupKey, groupValue] of Object.entries(value)) groupProps[String(groupKey)] = String(groupValue);
620769
621100
  groupProperties[String(key2)] = groupProps;
@@ -621062,7 +621393,7 @@ var AccessTokenPosthogManager = class {
621062
621393
  properties: {
621063
621394
  ...event,
621064
621395
  ...event.properties,
621065
- version: "4.71.1",
621396
+ version: "4.71.3-1-g09984eb5958",
621066
621397
  usingAccessToken: true
621067
621398
  }
621068
621399
  });
@@ -621116,7 +621447,7 @@ var UserPosthogManager = class {
621116
621447
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
621117
621448
  event: "CLI",
621118
621449
  properties: {
621119
- version: "4.71.1",
621450
+ version: "4.71.3-1-g09984eb5958",
621120
621451
  ...event,
621121
621452
  ...event.properties,
621122
621453
  usingAccessToken: false,
@@ -627657,7 +627988,7 @@ function filterObject9(obj, keysToInclude) {
627657
627988
  }
627658
627989
 
627659
627990
  // ../../../node_modules/.pnpm/@fern-fern+ir-v53-sdk@1.0.1/node_modules/@fern-fern/ir-v53-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
627660
- function isPlainObject19(value) {
627991
+ function isPlainObject20(value) {
627661
627992
  if (typeof value !== "object" || value === null) {
627662
627993
  return false;
627663
627994
  }
@@ -627714,7 +628045,7 @@ function withParsedProperties9(objectLike, properties7) {
627714
628045
  },
627715
628046
  json: (parsed, opts) => {
627716
628047
  var _a11;
627717
- if (!isPlainObject19(parsed)) {
628048
+ if (!isPlainObject20(parsed)) {
627718
628049
  return {
627719
628050
  ok: false,
627720
628051
  errors: [
@@ -627874,7 +628205,7 @@ function object10(schemas) {
627874
628205
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema)), getObjectLikeUtils9(baseSchema)), getObjectUtils9(baseSchema));
627875
628206
  }
627876
628207
  function validateAndTransformObject9({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
627877
- if (!isPlainObject19(value)) {
628208
+ if (!isPlainObject20(value)) {
627878
628209
  return {
627879
628210
  ok: false,
627880
628211
  errors: [
@@ -628020,7 +628351,7 @@ function getObjectUtils9(schema2) {
628020
628351
  };
628021
628352
  }
628022
628353
  function validateAndTransformExtendedObject9({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
628023
- if (!isPlainObject19(value)) {
628354
+ if (!isPlainObject20(value)) {
628024
628355
  return {
628025
628356
  ok: false,
628026
628357
  errors: [
@@ -628284,7 +628615,7 @@ function record10(keySchema, valueSchema) {
628284
628615
  return Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema));
628285
628616
  }
628286
628617
  function validateAndTransformRecord9({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
628287
- if (!isPlainObject19(value)) {
628618
+ if (!isPlainObject20(value)) {
628288
628619
  return {
628289
628620
  ok: false,
628290
628621
  errors: [
@@ -628457,7 +628788,7 @@ function union10(discriminant21, union22) {
628457
628788
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema)), getObjectLikeUtils9(baseSchema));
628458
628789
  }
628459
628790
  function transformAndValidateUnion9({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
628460
- if (!isPlainObject19(value)) {
628791
+ if (!isPlainObject20(value)) {
628461
628792
  return {
628462
628793
  ok: false,
628463
628794
  errors: [
@@ -636697,7 +637028,7 @@ function filterObject10(obj, keysToInclude) {
636697
637028
  }
636698
637029
 
636699
637030
  // ../../../node_modules/.pnpm/@fern-fern+ir-v54-sdk@1.0.1/node_modules/@fern-fern/ir-v54-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
636700
- function isPlainObject20(value) {
637031
+ function isPlainObject21(value) {
636701
637032
  if (typeof value !== "object" || value === null) {
636702
637033
  return false;
636703
637034
  }
@@ -636754,7 +637085,7 @@ function withParsedProperties10(objectLike, properties7) {
636754
637085
  },
636755
637086
  json: (parsed, opts) => {
636756
637087
  var _a11;
636757
- if (!isPlainObject20(parsed)) {
637088
+ if (!isPlainObject21(parsed)) {
636758
637089
  return {
636759
637090
  ok: false,
636760
637091
  errors: [
@@ -636914,7 +637245,7 @@ function object11(schemas) {
636914
637245
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema)), getObjectLikeUtils10(baseSchema)), getObjectUtils10(baseSchema));
636915
637246
  }
636916
637247
  function validateAndTransformObject10({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
636917
- if (!isPlainObject20(value)) {
637248
+ if (!isPlainObject21(value)) {
636918
637249
  return {
636919
637250
  ok: false,
636920
637251
  errors: [
@@ -637060,7 +637391,7 @@ function getObjectUtils10(schema2) {
637060
637391
  };
637061
637392
  }
637062
637393
  function validateAndTransformExtendedObject10({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
637063
- if (!isPlainObject20(value)) {
637394
+ if (!isPlainObject21(value)) {
637064
637395
  return {
637065
637396
  ok: false,
637066
637397
  errors: [
@@ -637324,7 +637655,7 @@ function record11(keySchema, valueSchema) {
637324
637655
  return Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema));
637325
637656
  }
637326
637657
  function validateAndTransformRecord10({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
637327
- if (!isPlainObject20(value)) {
637658
+ if (!isPlainObject21(value)) {
637328
637659
  return {
637329
637660
  ok: false,
637330
637661
  errors: [
@@ -637497,7 +637828,7 @@ function union11(discriminant21, union22) {
637497
637828
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema)), getObjectLikeUtils10(baseSchema));
637498
637829
  }
637499
637830
  function transformAndValidateUnion10({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
637500
- if (!isPlainObject20(value)) {
637831
+ if (!isPlainObject21(value)) {
637501
637832
  return {
637502
637833
  ok: false,
637503
637834
  errors: [
@@ -645787,7 +646118,7 @@ function filterObject11(obj, keysToInclude) {
645787
646118
  }
645788
646119
 
645789
646120
  // ../../../node_modules/.pnpm/@fern-fern+ir-v55-sdk@1.0.1/node_modules/@fern-fern/ir-v55-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
645790
- function isPlainObject21(value) {
646121
+ function isPlainObject22(value) {
645791
646122
  if (typeof value !== "object" || value === null) {
645792
646123
  return false;
645793
646124
  }
@@ -645844,7 +646175,7 @@ function withParsedProperties11(objectLike, properties7) {
645844
646175
  },
645845
646176
  json: (parsed, opts) => {
645846
646177
  var _a11;
645847
- if (!isPlainObject21(parsed)) {
646178
+ if (!isPlainObject22(parsed)) {
645848
646179
  return {
645849
646180
  ok: false,
645850
646181
  errors: [
@@ -646004,7 +646335,7 @@ function object12(schemas) {
646004
646335
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema)), getObjectLikeUtils11(baseSchema)), getObjectUtils11(baseSchema));
646005
646336
  }
646006
646337
  function validateAndTransformObject11({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
646007
- if (!isPlainObject21(value)) {
646338
+ if (!isPlainObject22(value)) {
646008
646339
  return {
646009
646340
  ok: false,
646010
646341
  errors: [
@@ -646150,7 +646481,7 @@ function getObjectUtils11(schema2) {
646150
646481
  };
646151
646482
  }
646152
646483
  function validateAndTransformExtendedObject11({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
646153
- if (!isPlainObject21(value)) {
646484
+ if (!isPlainObject22(value)) {
646154
646485
  return {
646155
646486
  ok: false,
646156
646487
  errors: [
@@ -646414,7 +646745,7 @@ function record12(keySchema, valueSchema) {
646414
646745
  return Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema));
646415
646746
  }
646416
646747
  function validateAndTransformRecord11({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
646417
- if (!isPlainObject21(value)) {
646748
+ if (!isPlainObject22(value)) {
646418
646749
  return {
646419
646750
  ok: false,
646420
646751
  errors: [
@@ -646587,7 +646918,7 @@ function union12(discriminant21, union22) {
646587
646918
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema)), getObjectLikeUtils11(baseSchema));
646588
646919
  }
646589
646920
  function transformAndValidateUnion11({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
646590
- if (!isPlainObject21(value)) {
646921
+ if (!isPlainObject22(value)) {
646591
646922
  return {
646592
646923
  ok: false,
646593
646924
  errors: [
@@ -654987,7 +655318,7 @@ function filterObject12(obj, keysToInclude) {
654987
655318
  }
654988
655319
 
654989
655320
  // ../../../node_modules/.pnpm/@fern-fern+ir-v56-sdk@1.0.1/node_modules/@fern-fern/ir-v56-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
654990
- function isPlainObject22(value) {
655321
+ function isPlainObject23(value) {
654991
655322
  if (typeof value !== "object" || value === null) {
654992
655323
  return false;
654993
655324
  }
@@ -655044,7 +655375,7 @@ function withParsedProperties12(objectLike, properties7) {
655044
655375
  },
655045
655376
  json: (parsed, opts) => {
655046
655377
  var _a11;
655047
- if (!isPlainObject22(parsed)) {
655378
+ if (!isPlainObject23(parsed)) {
655048
655379
  return {
655049
655380
  ok: false,
655050
655381
  errors: [
@@ -655204,7 +655535,7 @@ function object13(schemas) {
655204
655535
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema)), getObjectLikeUtils12(baseSchema)), getObjectUtils12(baseSchema));
655205
655536
  }
655206
655537
  function validateAndTransformObject12({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
655207
- if (!isPlainObject22(value)) {
655538
+ if (!isPlainObject23(value)) {
655208
655539
  return {
655209
655540
  ok: false,
655210
655541
  errors: [
@@ -655350,7 +655681,7 @@ function getObjectUtils12(schema2) {
655350
655681
  };
655351
655682
  }
655352
655683
  function validateAndTransformExtendedObject12({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
655353
- if (!isPlainObject22(value)) {
655684
+ if (!isPlainObject23(value)) {
655354
655685
  return {
655355
655686
  ok: false,
655356
655687
  errors: [
@@ -655614,7 +655945,7 @@ function record13(keySchema, valueSchema) {
655614
655945
  return Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema));
655615
655946
  }
655616
655947
  function validateAndTransformRecord12({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
655617
- if (!isPlainObject22(value)) {
655948
+ if (!isPlainObject23(value)) {
655618
655949
  return {
655619
655950
  ok: false,
655620
655951
  errors: [
@@ -655787,7 +656118,7 @@ function union13(discriminant21, union22) {
655787
656118
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema)), getObjectLikeUtils12(baseSchema));
655788
656119
  }
655789
656120
  function transformAndValidateUnion12({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
655790
- if (!isPlainObject22(value)) {
656121
+ if (!isPlainObject23(value)) {
655791
656122
  return {
655792
656123
  ok: false,
655793
656124
  errors: [
@@ -664234,7 +664565,7 @@ function filterObject13(obj, keysToInclude) {
664234
664565
  }
664235
664566
 
664236
664567
  // ../../../node_modules/.pnpm/@fern-fern+ir-v57-sdk@1.0.1/node_modules/@fern-fern/ir-v57-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
664237
- function isPlainObject23(value) {
664568
+ function isPlainObject24(value) {
664238
664569
  if (typeof value !== "object" || value === null) {
664239
664570
  return false;
664240
664571
  }
@@ -664291,7 +664622,7 @@ function withParsedProperties13(objectLike, properties7) {
664291
664622
  },
664292
664623
  json: (parsed, opts) => {
664293
664624
  var _a11;
664294
- if (!isPlainObject23(parsed)) {
664625
+ if (!isPlainObject24(parsed)) {
664295
664626
  return {
664296
664627
  ok: false,
664297
664628
  errors: [
@@ -664451,7 +664782,7 @@ function object14(schemas) {
664451
664782
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema)), getObjectLikeUtils13(baseSchema)), getObjectUtils13(baseSchema));
664452
664783
  }
664453
664784
  function validateAndTransformObject13({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
664454
- if (!isPlainObject23(value)) {
664785
+ if (!isPlainObject24(value)) {
664455
664786
  return {
664456
664787
  ok: false,
664457
664788
  errors: [
@@ -664597,7 +664928,7 @@ function getObjectUtils13(schema2) {
664597
664928
  };
664598
664929
  }
664599
664930
  function validateAndTransformExtendedObject13({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
664600
- if (!isPlainObject23(value)) {
664931
+ if (!isPlainObject24(value)) {
664601
664932
  return {
664602
664933
  ok: false,
664603
664934
  errors: [
@@ -664861,7 +665192,7 @@ function record14(keySchema, valueSchema) {
664861
665192
  return Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema));
664862
665193
  }
664863
665194
  function validateAndTransformRecord13({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
664864
- if (!isPlainObject23(value)) {
665195
+ if (!isPlainObject24(value)) {
664865
665196
  return {
664866
665197
  ok: false,
664867
665198
  errors: [
@@ -665034,7 +665365,7 @@ function union14(discriminant21, union22) {
665034
665365
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema)), getObjectLikeUtils13(baseSchema));
665035
665366
  }
665036
665367
  function transformAndValidateUnion13({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
665037
- if (!isPlainObject23(value)) {
665368
+ if (!isPlainObject24(value)) {
665038
665369
  return {
665039
665370
  ok: false,
665040
665371
  errors: [
@@ -674251,7 +674582,7 @@ function filterObject14(obj, keysToInclude) {
674251
674582
  }
674252
674583
 
674253
674584
  // ../../../node_modules/.pnpm/@fern-fern+ir-v58-sdk@1.0.1/node_modules/@fern-fern/ir-v58-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
674254
- function isPlainObject24(value) {
674585
+ function isPlainObject25(value) {
674255
674586
  if (typeof value !== "object" || value === null) {
674256
674587
  return false;
674257
674588
  }
@@ -674308,7 +674639,7 @@ function withParsedProperties14(objectLike, properties7) {
674308
674639
  },
674309
674640
  json: (parsed, opts) => {
674310
674641
  var _a11;
674311
- if (!isPlainObject24(parsed)) {
674642
+ if (!isPlainObject25(parsed)) {
674312
674643
  return {
674313
674644
  ok: false,
674314
674645
  errors: [
@@ -674468,7 +674799,7 @@ function object15(schemas) {
674468
674799
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema)), getObjectLikeUtils14(baseSchema)), getObjectUtils14(baseSchema));
674469
674800
  }
674470
674801
  function validateAndTransformObject14({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
674471
- if (!isPlainObject24(value)) {
674802
+ if (!isPlainObject25(value)) {
674472
674803
  return {
674473
674804
  ok: false,
674474
674805
  errors: [
@@ -674614,7 +674945,7 @@ function getObjectUtils14(schema2) {
674614
674945
  };
674615
674946
  }
674616
674947
  function validateAndTransformExtendedObject14({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
674617
- if (!isPlainObject24(value)) {
674948
+ if (!isPlainObject25(value)) {
674618
674949
  return {
674619
674950
  ok: false,
674620
674951
  errors: [
@@ -674878,7 +675209,7 @@ function record15(keySchema, valueSchema) {
674878
675209
  return Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema));
674879
675210
  }
674880
675211
  function validateAndTransformRecord14({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
674881
- if (!isPlainObject24(value)) {
675212
+ if (!isPlainObject25(value)) {
674882
675213
  return {
674883
675214
  ok: false,
674884
675215
  errors: [
@@ -675051,7 +675382,7 @@ function union15(discriminant21, union22) {
675051
675382
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema)), getObjectLikeUtils14(baseSchema));
675052
675383
  }
675053
675384
  function transformAndValidateUnion14({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
675054
- if (!isPlainObject24(value)) {
675385
+ if (!isPlainObject25(value)) {
675055
675386
  return {
675056
675387
  ok: false,
675057
675388
  errors: [
@@ -684392,7 +684723,7 @@ function filterObject15(obj, keysToInclude) {
684392
684723
  }
684393
684724
 
684394
684725
  // ../../../node_modules/.pnpm/@fern-fern+ir-v59-sdk@1.0.1/node_modules/@fern-fern/ir-v59-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
684395
- function isPlainObject25(value) {
684726
+ function isPlainObject26(value) {
684396
684727
  if (typeof value !== "object" || value === null) {
684397
684728
  return false;
684398
684729
  }
@@ -684449,7 +684780,7 @@ function withParsedProperties15(objectLike, properties7) {
684449
684780
  },
684450
684781
  json: (parsed, opts) => {
684451
684782
  var _a11;
684452
- if (!isPlainObject25(parsed)) {
684783
+ if (!isPlainObject26(parsed)) {
684453
684784
  return {
684454
684785
  ok: false,
684455
684786
  errors: [
@@ -684609,7 +684940,7 @@ function object16(schemas) {
684609
684940
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema)), getObjectLikeUtils15(baseSchema)), getObjectUtils15(baseSchema));
684610
684941
  }
684611
684942
  function validateAndTransformObject15({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
684612
- if (!isPlainObject25(value)) {
684943
+ if (!isPlainObject26(value)) {
684613
684944
  return {
684614
684945
  ok: false,
684615
684946
  errors: [
@@ -684755,7 +685086,7 @@ function getObjectUtils15(schema2) {
684755
685086
  };
684756
685087
  }
684757
685088
  function validateAndTransformExtendedObject15({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
684758
- if (!isPlainObject25(value)) {
685089
+ if (!isPlainObject26(value)) {
684759
685090
  return {
684760
685091
  ok: false,
684761
685092
  errors: [
@@ -685019,7 +685350,7 @@ function record16(keySchema, valueSchema) {
685019
685350
  return Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema));
685020
685351
  }
685021
685352
  function validateAndTransformRecord15({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
685022
- if (!isPlainObject25(value)) {
685353
+ if (!isPlainObject26(value)) {
685023
685354
  return {
685024
685355
  ok: false,
685025
685356
  errors: [
@@ -685192,7 +685523,7 @@ function union16(discriminant21, union22) {
685192
685523
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema)), getObjectLikeUtils15(baseSchema));
685193
685524
  }
685194
685525
  function transformAndValidateUnion15({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
685195
- if (!isPlainObject25(value)) {
685526
+ if (!isPlainObject26(value)) {
685196
685527
  return {
685197
685528
  ok: false,
685198
685529
  errors: [
@@ -694637,7 +694968,7 @@ function filterObject16(obj, keysToInclude) {
694637
694968
  }
694638
694969
 
694639
694970
  // ../../../node_modules/.pnpm/@fern-fern+ir-v60-sdk@1.0.1/node_modules/@fern-fern/ir-v60-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
694640
- function isPlainObject26(value) {
694971
+ function isPlainObject27(value) {
694641
694972
  if (typeof value !== "object" || value === null) {
694642
694973
  return false;
694643
694974
  }
@@ -694694,7 +695025,7 @@ function withParsedProperties16(objectLike, properties7) {
694694
695025
  },
694695
695026
  json: (parsed, opts) => {
694696
695027
  var _a11;
694697
- if (!isPlainObject26(parsed)) {
695028
+ if (!isPlainObject27(parsed)) {
694698
695029
  return {
694699
695030
  ok: false,
694700
695031
  errors: [
@@ -694854,7 +695185,7 @@ function object17(schemas) {
694854
695185
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema)), getObjectLikeUtils16(baseSchema)), getObjectUtils16(baseSchema));
694855
695186
  }
694856
695187
  function validateAndTransformObject16({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
694857
- if (!isPlainObject26(value)) {
695188
+ if (!isPlainObject27(value)) {
694858
695189
  return {
694859
695190
  ok: false,
694860
695191
  errors: [
@@ -695000,7 +695331,7 @@ function getObjectUtils16(schema2) {
695000
695331
  };
695001
695332
  }
695002
695333
  function validateAndTransformExtendedObject16({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
695003
- if (!isPlainObject26(value)) {
695334
+ if (!isPlainObject27(value)) {
695004
695335
  return {
695005
695336
  ok: false,
695006
695337
  errors: [
@@ -695264,7 +695595,7 @@ function record17(keySchema, valueSchema) {
695264
695595
  return Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema));
695265
695596
  }
695266
695597
  function validateAndTransformRecord16({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
695267
- if (!isPlainObject26(value)) {
695598
+ if (!isPlainObject27(value)) {
695268
695599
  return {
695269
695600
  ok: false,
695270
695601
  errors: [
@@ -695437,7 +695768,7 @@ function union17(discriminant21, union22) {
695437
695768
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema)), getObjectLikeUtils16(baseSchema));
695438
695769
  }
695439
695770
  function transformAndValidateUnion16({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
695440
- if (!isPlainObject26(value)) {
695771
+ if (!isPlainObject27(value)) {
695441
695772
  return {
695442
695773
  ok: false,
695443
695774
  errors: [
@@ -705278,7 +705609,7 @@ function filterObject17(obj, keysToInclude) {
705278
705609
  }
705279
705610
 
705280
705611
  // ../../../node_modules/.pnpm/@fern-fern+ir-v61-sdk@1.0.1/node_modules/@fern-fern/ir-v61-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
705281
- function isPlainObject27(value) {
705612
+ function isPlainObject28(value) {
705282
705613
  if (typeof value !== "object" || value === null) {
705283
705614
  return false;
705284
705615
  }
@@ -705335,7 +705666,7 @@ function withParsedProperties17(objectLike, properties7) {
705335
705666
  },
705336
705667
  json: (parsed, opts) => {
705337
705668
  var _a11;
705338
- if (!isPlainObject27(parsed)) {
705669
+ if (!isPlainObject28(parsed)) {
705339
705670
  return {
705340
705671
  ok: false,
705341
705672
  errors: [
@@ -705495,7 +705826,7 @@ function object18(schemas) {
705495
705826
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema)), getObjectLikeUtils17(baseSchema)), getObjectUtils17(baseSchema));
705496
705827
  }
705497
705828
  function validateAndTransformObject17({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
705498
- if (!isPlainObject27(value)) {
705829
+ if (!isPlainObject28(value)) {
705499
705830
  return {
705500
705831
  ok: false,
705501
705832
  errors: [
@@ -705641,7 +705972,7 @@ function getObjectUtils17(schema2) {
705641
705972
  };
705642
705973
  }
705643
705974
  function validateAndTransformExtendedObject17({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
705644
- if (!isPlainObject27(value)) {
705975
+ if (!isPlainObject28(value)) {
705645
705976
  return {
705646
705977
  ok: false,
705647
705978
  errors: [
@@ -705905,7 +706236,7 @@ function record18(keySchema, valueSchema) {
705905
706236
  return Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema));
705906
706237
  }
705907
706238
  function validateAndTransformRecord17({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
705908
- if (!isPlainObject27(value)) {
706239
+ if (!isPlainObject28(value)) {
705909
706240
  return {
705910
706241
  ok: false,
705911
706242
  errors: [
@@ -706078,7 +706409,7 @@ function union18(discriminant21, union22) {
706078
706409
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema)), getObjectLikeUtils17(baseSchema));
706079
706410
  }
706080
706411
  function transformAndValidateUnion17({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
706081
- if (!isPlainObject27(value)) {
706412
+ if (!isPlainObject28(value)) {
706082
706413
  return {
706083
706414
  ok: false,
706084
706415
  errors: [
@@ -716144,7 +716475,7 @@ function filterObject18(obj, keysToInclude) {
716144
716475
  }
716145
716476
 
716146
716477
  // ../../../node_modules/.pnpm/@fern-fern+ir-v62-sdk@1.0.1/node_modules/@fern-fern/ir-v62-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
716147
- function isPlainObject28(value) {
716478
+ function isPlainObject29(value) {
716148
716479
  if (typeof value !== "object" || value === null) {
716149
716480
  return false;
716150
716481
  }
@@ -716201,7 +716532,7 @@ function withParsedProperties18(objectLike, properties7) {
716201
716532
  },
716202
716533
  json: (parsed, opts) => {
716203
716534
  var _a11;
716204
- if (!isPlainObject28(parsed)) {
716535
+ if (!isPlainObject29(parsed)) {
716205
716536
  return {
716206
716537
  ok: false,
716207
716538
  errors: [
@@ -716361,7 +716692,7 @@ function object19(schemas) {
716361
716692
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema)), getObjectLikeUtils18(baseSchema)), getObjectUtils18(baseSchema));
716362
716693
  }
716363
716694
  function validateAndTransformObject18({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
716364
- if (!isPlainObject28(value)) {
716695
+ if (!isPlainObject29(value)) {
716365
716696
  return {
716366
716697
  ok: false,
716367
716698
  errors: [
@@ -716507,7 +716838,7 @@ function getObjectUtils18(schema2) {
716507
716838
  };
716508
716839
  }
716509
716840
  function validateAndTransformExtendedObject18({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
716510
- if (!isPlainObject28(value)) {
716841
+ if (!isPlainObject29(value)) {
716511
716842
  return {
716512
716843
  ok: false,
716513
716844
  errors: [
@@ -716771,7 +717102,7 @@ function record19(keySchema, valueSchema) {
716771
717102
  return Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema));
716772
717103
  }
716773
717104
  function validateAndTransformRecord18({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
716774
- if (!isPlainObject28(value)) {
717105
+ if (!isPlainObject29(value)) {
716775
717106
  return {
716776
717107
  ok: false,
716777
717108
  errors: [
@@ -716944,7 +717275,7 @@ function union19(discriminant21, union22) {
716944
717275
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema)), getObjectLikeUtils18(baseSchema));
716945
717276
  }
716946
717277
  function transformAndValidateUnion18({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
716947
- if (!isPlainObject28(value)) {
717278
+ if (!isPlainObject29(value)) {
716948
717279
  return {
716949
717280
  ok: false,
716950
717281
  errors: [
@@ -727022,7 +727353,7 @@ function filterObject19(obj, keysToInclude) {
727022
727353
  }
727023
727354
 
727024
727355
  // ../../../node_modules/.pnpm/@fern-fern+ir-v63-sdk@1.0.2/node_modules/@fern-fern/ir-v63-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
727025
- function isPlainObject29(value) {
727356
+ function isPlainObject30(value) {
727026
727357
  if (typeof value !== "object" || value === null) {
727027
727358
  return false;
727028
727359
  }
@@ -727079,7 +727410,7 @@ function withParsedProperties19(objectLike, properties7) {
727079
727410
  },
727080
727411
  json: (parsed, opts) => {
727081
727412
  var _a11;
727082
- if (!isPlainObject29(parsed)) {
727413
+ if (!isPlainObject30(parsed)) {
727083
727414
  return {
727084
727415
  ok: false,
727085
727416
  errors: [
@@ -727239,7 +727570,7 @@ function object20(schemas) {
727239
727570
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema)), getObjectLikeUtils19(baseSchema)), getObjectUtils19(baseSchema));
727240
727571
  }
727241
727572
  function validateAndTransformObject19({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
727242
- if (!isPlainObject29(value)) {
727573
+ if (!isPlainObject30(value)) {
727243
727574
  return {
727244
727575
  ok: false,
727245
727576
  errors: [
@@ -727385,7 +727716,7 @@ function getObjectUtils19(schema2) {
727385
727716
  };
727386
727717
  }
727387
727718
  function validateAndTransformExtendedObject19({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
727388
- if (!isPlainObject29(value)) {
727719
+ if (!isPlainObject30(value)) {
727389
727720
  return {
727390
727721
  ok: false,
727391
727722
  errors: [
@@ -727649,7 +727980,7 @@ function record20(keySchema, valueSchema) {
727649
727980
  return Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema));
727650
727981
  }
727651
727982
  function validateAndTransformRecord19({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
727652
- if (!isPlainObject29(value)) {
727983
+ if (!isPlainObject30(value)) {
727653
727984
  return {
727654
727985
  ok: false,
727655
727986
  errors: [
@@ -727822,7 +728153,7 @@ function union20(discriminant21, union22) {
727822
728153
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema)), getObjectLikeUtils19(baseSchema));
727823
728154
  }
727824
728155
  function transformAndValidateUnion19({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
727825
- if (!isPlainObject29(value)) {
728156
+ if (!isPlainObject30(value)) {
727826
728157
  return {
727827
728158
  ok: false,
727828
728159
  errors: [
@@ -737992,7 +738323,7 @@ function filterObject20(obj, keysToInclude) {
737992
738323
  }
737993
738324
 
737994
738325
  // ../../../node_modules/.pnpm/@fern-fern+ir-v65-sdk@0.0.5/node_modules/@fern-fern/ir-v65-sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
737995
- function isPlainObject30(value) {
738326
+ function isPlainObject31(value) {
737996
738327
  if (typeof value !== "object" || value === null) {
737997
738328
  return false;
737998
738329
  }
@@ -738049,7 +738380,7 @@ function withParsedProperties20(objectLike, properties7) {
738049
738380
  },
738050
738381
  json: (parsed, opts) => {
738051
738382
  var _a11;
738052
- if (!isPlainObject30(parsed)) {
738383
+ if (!isPlainObject31(parsed)) {
738053
738384
  return {
738054
738385
  ok: false,
738055
738386
  errors: [
@@ -738209,7 +738540,7 @@ function object21(schemas) {
738209
738540
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema)), getObjectLikeUtils20(baseSchema)), getObjectUtils20(baseSchema));
738210
738541
  }
738211
738542
  function validateAndTransformObject20({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
738212
- if (!isPlainObject30(value)) {
738543
+ if (!isPlainObject31(value)) {
738213
738544
  return {
738214
738545
  ok: false,
738215
738546
  errors: [
@@ -738355,7 +738686,7 @@ function getObjectUtils20(schema2) {
738355
738686
  };
738356
738687
  }
738357
738688
  function validateAndTransformExtendedObject20({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
738358
- if (!isPlainObject30(value)) {
738689
+ if (!isPlainObject31(value)) {
738359
738690
  return {
738360
738691
  ok: false,
738361
738692
  errors: [
@@ -738619,7 +738950,7 @@ function record21(keySchema, valueSchema) {
738619
738950
  return Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema));
738620
738951
  }
738621
738952
  function validateAndTransformRecord20({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
738622
- if (!isPlainObject30(value)) {
738953
+ if (!isPlainObject31(value)) {
738623
738954
  return {
738624
738955
  ok: false,
738625
738956
  errors: [
@@ -738792,7 +739123,7 @@ function union21(discriminant21, union22) {
738792
739123
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema)), getObjectLikeUtils20(baseSchema));
738793
739124
  }
738794
739125
  function transformAndValidateUnion20({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
738795
- if (!isPlainObject30(value)) {
739126
+ if (!isPlainObject31(value)) {
738796
739127
  return {
738797
739128
  ok: false,
738798
739129
  errors: [
@@ -753958,7 +754289,7 @@ function collectOverlayActions(original, modified, jsonPath, actions) {
753958
754289
  collectArrayOverlayActions(original, modified, jsonPath, actions);
753959
754290
  return;
753960
754291
  }
753961
- if (isPlainObject31(original) && isPlainObject31(modified)) {
754292
+ if (isPlainObject32(original) && isPlainObject32(modified)) {
753962
754293
  collectObjectOverlayActions(original, modified, jsonPath, actions);
753963
754294
  return;
753964
754295
  }
@@ -754009,7 +754340,7 @@ function collectObjectOverlayActions(original, modified, jsonPath, actions) {
754009
754340
  }
754010
754341
  }
754011
754342
  function collectArrayOverlayActions(original, modified, jsonPath, actions) {
754012
- const allObjects = original.every((el3) => isPlainObject31(el3)) && modified.every((el3) => isPlainObject31(el3));
754343
+ const allObjects = original.every((el3) => isPlainObject32(el3)) && modified.every((el3) => isPlainObject32(el3));
754013
754344
  if (!allObjects) {
754014
754345
  actions.push({
754015
754346
  target: jsonPath,
@@ -754057,7 +754388,7 @@ function canRecurse(a10, b19) {
754057
754388
  }
754058
754389
  return false;
754059
754390
  }
754060
- function isPlainObject31(value) {
754391
+ function isPlainObject32(value) {
754061
754392
  return typeof value === "object" && value !== null && !Array.isArray(value);
754062
754393
  }
754063
754394
  function escapeJsonPathKey(key2) {
@@ -793156,7 +793487,7 @@ var ApiReferenceNodeConverter = class {
793156
793487
  const pointsTo = navigation_exports2.V1.followRedirects(this.#children);
793157
793488
  const changelogNodeConverter = new ChangelogNodeConverter(this.markdownFilesToFullSlugs, this.markdownFilesToNoIndex, this.markdownFilesToTags, this.workspace?.changelog?.files.map((file4) => file4.absoluteFilepath), this.docsWorkspace, this.#idgen).orUndefined();
793158
793489
  let overviewPageId = this.#overviewPageId;
793159
- if (overviewPageId == null) {
793490
+ if (overviewPageId == null && !this.apiSection.tagDescriptionPages) {
793160
793491
  const apiPackageWithOverview = this.#children.find((child) => child.type === "apiPackage" && child.overviewPageId != null);
793161
793492
  if (apiPackageWithOverview != null) {
793162
793493
  overviewPageId = apiPackageWithOverview.overviewPageId;
@@ -821134,7 +821465,7 @@ function bail(error50) {
821134
821465
  var import_extend = __toESM(require_extend(), 1);
821135
821466
 
821136
821467
  // ../../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
821137
- function isPlainObject32(value) {
821468
+ function isPlainObject33(value) {
821138
821469
  if (typeof value !== "object" || value === null) {
821139
821470
  return false;
821140
821471
  }
@@ -821836,7 +822167,7 @@ var Processor2 = class _Processor extends CallableInstance {
821836
822167
  } else if (parameters3.length > 0) {
821837
822168
  let [primary, ...rest] = parameters3;
821838
822169
  const currentPrimary = attachers[entryIndex][1];
821839
- if (isPlainObject32(currentPrimary) && isPlainObject32(primary)) {
822170
+ if (isPlainObject33(currentPrimary) && isPlainObject33(primary)) {
821840
822171
  primary = (0, import_extend.default)(true, currentPrimary, primary);
821841
822172
  }
821842
822173
  attachers[entryIndex] = [plugin2, primary, ...rest];
@@ -821863,7 +822194,7 @@ function assertUnfrozen(name2, frozen) {
821863
822194
  }
821864
822195
  }
821865
822196
  function assertNode(node4) {
821866
- if (!isPlainObject32(node4) || typeof node4.type !== "string") {
822197
+ if (!isPlainObject33(node4) || typeof node4.type !== "string") {
821867
822198
  throw new TypeError("Expected node, got `" + node4 + "`");
821868
822199
  }
821869
822200
  }
@@ -838215,7 +838546,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
838215
838546
  var LOGS_FOLDER_NAME = "logs";
838216
838547
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
838217
838548
  function getCliSource() {
838218
- const version7 = "4.71.1";
838549
+ const version7 = "4.71.3-1-g09984eb5958";
838219
838550
  return `cli@${version7}`;
838220
838551
  }
838221
838552
  var DebugLogger = class {
@@ -849462,7 +849793,7 @@ var LegacyDocsPublisher = class {
849462
849793
  previewId,
849463
849794
  disableTemplates: void 0,
849464
849795
  skipUpload,
849465
- cliVersion: "4.71.1"
849796
+ cliVersion: "4.71.3-1-g09984eb5958"
849466
849797
  });
849467
849798
  if (taskContext.getResult() === TaskResult.Failure) {
849468
849799
  return { success: false };
@@ -853595,6 +853926,18 @@ var NopFormatter = class extends AbstractFormatter {
853595
853926
  }
853596
853927
  };
853597
853928
 
853929
+ // ../../../generators/browser-compatible-base/lib/utils/getSdkVersion.js
853930
+ function getSdkVersion(config5) {
853931
+ return config5.output.mode._visit({
853932
+ publish: (gpc) => gpc.version,
853933
+ downloadFiles: () => void 0,
853934
+ github: (gom) => gom.version,
853935
+ _other: () => {
853936
+ throw new Error("Unrecognized output mode.");
853937
+ }
853938
+ });
853939
+ }
853940
+
853598
853941
  // ../../../generators/browser-compatible-base/lib/ast/CodeBlock.js
853599
853942
  var CodeBlock2 = class extends AbstractAstNode {
853600
853943
  value;
@@ -874591,6 +874934,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
874591
874934
  if (publishInfo.type !== "go") {
874592
874935
  return config5;
874593
874936
  }
874937
+ const originalVersion = getSdkVersion(config5);
874594
874938
  return {
874595
874939
  ...config5,
874596
874940
  customConfig: generatorConfig.customConfig ?? config5.customConfig,
@@ -874598,7 +874942,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
874598
874942
  ...config5.output,
874599
874943
  mode: {
874600
874944
  type: "github",
874601
- version: publishInfo.version,
874945
+ version: originalVersion ?? publishInfo.version,
874602
874946
  repoUrl: publishInfo.repoUrl
874603
874947
  }
874604
874948
  }
@@ -876964,19 +877308,20 @@ var DynamicTypeLiteralMapper = class {
876964
877308
  case "discriminatedUnion":
876965
877309
  return this.convertDiscriminatedUnion({
876966
877310
  discriminatedUnion: named,
876967
- value
877311
+ value,
877312
+ as: as8
876968
877313
  });
876969
877314
  case "enum":
876970
877315
  return this.convertEnum({ enum_: named, value });
876971
877316
  case "object":
876972
877317
  return this.convertObject({ object_: named, value, as: as8, inUndiscriminatedUnion });
876973
877318
  case "undiscriminatedUnion":
876974
- return this.convertUndiscriminatedUnion({ undiscriminatedUnion: named, value });
877319
+ return this.convertUndiscriminatedUnion({ undiscriminatedUnion: named, value, as: as8 });
876975
877320
  default:
876976
877321
  assertNever(named);
876977
877322
  }
876978
877323
  }
876979
- convertDiscriminatedUnion({ discriminatedUnion: discriminatedUnion2, value }) {
877324
+ convertDiscriminatedUnion({ discriminatedUnion: discriminatedUnion2, value, as: as8 }) {
876980
877325
  const classReference4 = this.context.getJavaClassReferenceFromDeclaration({
876981
877326
  declaration: discriminatedUnion2.declaration
876982
877327
  });
@@ -876999,7 +877344,7 @@ var DynamicTypeLiteralMapper = class {
876999
877344
  return java_exports.TypeLiteral.reference(java_exports.invokeMethod({
877000
877345
  on: classReference4,
877001
877346
  method: this.context.getPropertyName(unionVariant.discriminantValue.name),
877002
- arguments_: [this.convertNamed({ named, value: discriminatedUnionTypeInstance.value })]
877347
+ arguments_: [this.convertNamed({ named, value: discriminatedUnionTypeInstance.value, as: as8 })]
877003
877348
  }));
877004
877349
  }
877005
877350
  case "singleProperty": {
@@ -877016,7 +877361,8 @@ var DynamicTypeLiteralMapper = class {
877016
877361
  arguments_: [
877017
877362
  this.convert({
877018
877363
  typeReference: unionVariant.typeReference,
877019
- value: record22[propertyKey]
877364
+ value: record22[propertyKey],
877365
+ as: as8
877020
877366
  })
877021
877367
  ]
877022
877368
  }));
@@ -877228,10 +877574,11 @@ var DynamicTypeLiteralMapper = class {
877228
877574
  }
877229
877575
  return this.context.getEnumName(enumValue.name);
877230
877576
  }
877231
- convertUndiscriminatedUnion({ undiscriminatedUnion: undiscriminatedUnion21, value }) {
877577
+ convertUndiscriminatedUnion({ undiscriminatedUnion: undiscriminatedUnion21, value, as: as8 }) {
877232
877578
  const result = this.findMatchingUndiscriminatedUnionType({
877233
877579
  undiscriminatedUnion: undiscriminatedUnion21,
877234
- value
877580
+ value,
877581
+ as: as8
877235
877582
  });
877236
877583
  if (result == null) {
877237
877584
  return java_exports.TypeLiteral.nop();
@@ -877253,13 +877600,14 @@ var DynamicTypeLiteralMapper = class {
877253
877600
  arguments_: [result.typeInstantiation]
877254
877601
  }));
877255
877602
  }
877256
- findMatchingUndiscriminatedUnionType({ undiscriminatedUnion: undiscriminatedUnion21, value }) {
877603
+ findMatchingUndiscriminatedUnionType({ undiscriminatedUnion: undiscriminatedUnion21, value, as: as8 }) {
877257
877604
  for (const typeReference2 of undiscriminatedUnion21.types) {
877258
877605
  const errorsBefore = this.context.errors.size();
877259
877606
  try {
877260
877607
  const typeInstantiation = this.convert({
877261
877608
  typeReference: typeReference2,
877262
877609
  value,
877610
+ as: as8,
877263
877611
  inUndiscriminatedUnion: true
877264
877612
  });
877265
877613
  if (java_exports.TypeLiteral.isNop(typeInstantiation) || this.context.errors.size() > errorsBefore) {
@@ -921472,7 +921820,7 @@ var defaultTheme = {
921472
921820
  };
921473
921821
 
921474
921822
  // ../../../node_modules/.pnpm/@inquirer+core@10.3.2_@types+node@22.19.17/node_modules/@inquirer/core/dist/esm/lib/make-theme.js
921475
- function isPlainObject36(value) {
921823
+ function isPlainObject37(value) {
921476
921824
  if (typeof value !== "object" || value === null)
921477
921825
  return false;
921478
921826
  let proto3 = value;
@@ -921486,7 +921834,7 @@ function deepMerge2(...objects) {
921486
921834
  for (const obj of objects) {
921487
921835
  for (const [key2, value] of Object.entries(obj)) {
921488
921836
  const prevValue = output2[key2];
921489
- output2[key2] = isPlainObject36(prevValue) && isPlainObject36(value) ? deepMerge2(prevValue, value) : value;
921837
+ output2[key2] = isPlainObject37(prevValue) && isPlainObject37(value) ? deepMerge2(prevValue, value) : value;
921490
921838
  }
921491
921839
  }
921492
921840
  return output2;
@@ -923798,7 +924146,7 @@ var CliContext = class _CliContext {
923798
924146
  if (false) {
923799
924147
  this.logger.error("CLI_VERSION is not defined");
923800
924148
  }
923801
- return "4.71.1";
924149
+ return "4.71.3-1-g09984eb5958";
923802
924150
  }
923803
924151
  getCliName() {
923804
924152
  if (false) {
@@ -931002,11 +931350,11 @@ function isDraft(value) {
931002
931350
  function isDraftable(value) {
931003
931351
  if (!value)
931004
931352
  return false;
931005
- return isPlainObject37(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value);
931353
+ return isPlainObject38(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value);
931006
931354
  }
931007
931355
  var objectCtorString3 = Object.prototype.constructor.toString();
931008
931356
  var cachedCtorStrings = /* @__PURE__ */ new WeakMap();
931009
- function isPlainObject37(value) {
931357
+ function isPlainObject38(value) {
931010
931358
  if (!value || typeof value !== "object")
931011
931359
  return false;
931012
931360
  const proto3 = Object.getPrototypeOf(value);
@@ -931075,7 +931423,7 @@ function shallowCopy(base4, strict) {
931075
931423
  }
931076
931424
  if (Array.isArray(base4))
931077
931425
  return Array.prototype.slice.call(base4);
931078
- const isPlain = isPlainObject37(base4);
931426
+ const isPlain = isPlainObject38(base4);
931079
931427
  if (strict === true || strict === "class_only" && !isPlain) {
931080
931428
  const descriptors = Object.getOwnPropertyDescriptors(base4);
931081
931429
  delete descriptors[DRAFT_STATE];