@fern-api/fern-api-dev 4.71.1-1-gb9108d42ae3 → 4.71.1-23-g02891815b4e

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 +424 -195
  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
 
@@ -602690,9 +602690,6 @@ __export(schema_exports, {
602690
602690
  SchemaOrReferenceConverter: () => SchemaOrReferenceConverter
602691
602691
  });
602692
602692
 
602693
- // ../api-importers/v3-importer-commons/lib/converters/schema/SchemaConverter.js
602694
- init_lodash();
602695
-
602696
602693
  // ../api-importers/v3-importer-commons/lib/utils/CreateTypeReferenceFromFernType.js
602697
602694
  function createTypeReferenceFromFernType(fernType) {
602698
602695
  return recursivelyVisitRawTypeReference({
@@ -602973,6 +602970,155 @@ var MapSchemaConverter = class extends AbstractConverter {
602973
602970
  }
602974
602971
  };
602975
602972
 
602973
+ // ../api-importers/v3-importer-commons/lib/converters/schema/mergeAllOfSchemas.js
602974
+ var OUTER_WINS_KEYS = [
602975
+ "description",
602976
+ "title",
602977
+ "format",
602978
+ "type",
602979
+ "discriminator",
602980
+ "xml",
602981
+ "externalDocs",
602982
+ "extensions"
602983
+ ];
602984
+ var DEEP_MERGE_KEYS = ["example", "default"];
602985
+ var OR_KEYS = ["deprecated", "readOnly", "writeOnly", "uniqueItems", "nullable"];
602986
+ var MAX_OF_MINS_KEYS = ["minimum", "exclusiveMinimum", "minLength", "minItems", "minProperties"];
602987
+ var MIN_OF_MAXS_KEYS = ["maximum", "exclusiveMaximum", "maxLength", "maxItems", "maxProperties"];
602988
+ var SKIP_FROM_CHILDREN = ["allOf", "oneOf", "anyOf"];
602989
+ function mergeAllOfSchemas(outerSchema, elements) {
602990
+ const flatElements = flattenNestedAllOf(elements);
602991
+ let result = {};
602992
+ for (const element4 of flatElements) {
602993
+ result = mergeSchemaElement(result, element4);
602994
+ }
602995
+ applyOuterSchema(result, outerSchema);
602996
+ return result;
602997
+ }
602998
+ function flattenNestedAllOf(elements) {
602999
+ const flat = [];
603000
+ for (const element4 of elements) {
603001
+ if (Array.isArray(element4.allOf) && element4.allOf.length > 0) {
603002
+ const { allOf, ...sibling2 } = element4;
603003
+ const schemaChildren = allOf.filter((child) => !("$ref" in child));
603004
+ flat.push(...flattenNestedAllOf(schemaChildren));
603005
+ if (Object.keys(sibling2).length > 0) {
603006
+ flat.push(sibling2);
603007
+ }
603008
+ } else {
603009
+ flat.push(element4);
603010
+ }
603011
+ }
603012
+ return flat;
603013
+ }
603014
+ function mergeSchemaElement(target, source2) {
603015
+ const result = { ...target };
603016
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603017
+ if (sourceValue === void 0) {
603018
+ continue;
603019
+ }
603020
+ if (SKIP_FROM_CHILDREN.includes(key2)) {
603021
+ continue;
603022
+ }
603023
+ const targetValue = result[key2];
603024
+ if (key2 === "required") {
603025
+ const targetArr = Array.isArray(targetValue) ? targetValue : [];
603026
+ const sourceArr = Array.isArray(sourceValue) ? sourceValue : [];
603027
+ result[key2] = [.../* @__PURE__ */ new Set([...targetArr, ...sourceArr])];
603028
+ continue;
603029
+ }
603030
+ if (key2 === "properties") {
603031
+ result[key2] = mergeProperties(targetValue ?? {}, sourceValue);
603032
+ continue;
603033
+ }
603034
+ if (key2 === "items") {
603035
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603036
+ result[key2] = mergeSchemaElement(targetValue, sourceValue);
603037
+ } else {
603038
+ result[key2] = sourceValue;
603039
+ }
603040
+ continue;
603041
+ }
603042
+ if (DEEP_MERGE_KEYS.includes(key2)) {
603043
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603044
+ result[key2] = deepMergeObjects(targetValue, sourceValue);
603045
+ } else {
603046
+ result[key2] = sourceValue;
603047
+ }
603048
+ continue;
603049
+ }
603050
+ if (OR_KEYS.includes(key2)) {
603051
+ result[key2] = Boolean(targetValue) || Boolean(sourceValue);
603052
+ continue;
603053
+ }
603054
+ if (MAX_OF_MINS_KEYS.includes(key2)) {
603055
+ if (typeof targetValue === "number" && typeof sourceValue === "number") {
603056
+ result[key2] = Math.max(targetValue, sourceValue);
603057
+ } else {
603058
+ result[key2] = sourceValue;
603059
+ }
603060
+ continue;
603061
+ }
603062
+ if (MIN_OF_MAXS_KEYS.includes(key2)) {
603063
+ if (typeof targetValue === "number" && typeof sourceValue === "number") {
603064
+ result[key2] = Math.min(targetValue, sourceValue);
603065
+ } else {
603066
+ result[key2] = sourceValue;
603067
+ }
603068
+ continue;
603069
+ }
603070
+ result[key2] = sourceValue;
603071
+ }
603072
+ return result;
603073
+ }
603074
+ function mergeProperties(target, source2) {
603075
+ const result = { ...target };
603076
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603077
+ const targetValue = result[key2];
603078
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603079
+ result[key2] = mergeSchemaElement(targetValue, sourceValue);
603080
+ } else {
603081
+ result[key2] = sourceValue;
603082
+ }
603083
+ }
603084
+ return result;
603085
+ }
603086
+ function deepMergeObjects(target, source2) {
603087
+ const result = { ...target };
603088
+ for (const [key2, sourceValue] of Object.entries(source2)) {
603089
+ const targetValue = result[key2];
603090
+ if (isPlainObject18(targetValue) && isPlainObject18(sourceValue)) {
603091
+ result[key2] = deepMergeObjects(targetValue, sourceValue);
603092
+ } else {
603093
+ result[key2] = sourceValue;
603094
+ }
603095
+ }
603096
+ return result;
603097
+ }
603098
+ function applyOuterSchema(result, outerSchema) {
603099
+ for (const key2 of OUTER_WINS_KEYS) {
603100
+ const outerValue = outerSchema[key2];
603101
+ if (outerValue != null) {
603102
+ result[key2] = outerValue;
603103
+ }
603104
+ }
603105
+ for (const key2 of DEEP_MERGE_KEYS) {
603106
+ const outerValue = outerSchema[key2];
603107
+ if (outerValue != null) {
603108
+ result[key2] = outerValue;
603109
+ }
603110
+ }
603111
+ for (const key2 of OR_KEYS) {
603112
+ const outerValue = outerSchema[key2];
603113
+ if (outerValue === true) {
603114
+ result[key2] = true;
603115
+ }
603116
+ }
603117
+ }
603118
+ function isPlainObject18(value) {
603119
+ return typeof value === "object" && value !== null && !Array.isArray(value);
603120
+ }
603121
+
602976
603122
  // ../api-importers/v3-importer-commons/lib/converters/schema/ObjectSchemaConverter.js
602977
603123
  init_lib4();
602978
603124
 
@@ -603986,12 +604132,14 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
603986
604132
  inlined;
603987
604133
  audiences;
603988
604134
  nameOverride;
603989
- constructor({ context: context3, breadcrumbs, schema: schema2, id: id2, inlined = false, nameOverride }) {
604135
+ visitedRefs;
604136
+ constructor({ context: context3, breadcrumbs, schema: schema2, id: id2, inlined = false, nameOverride, visitedRefs }) {
603990
604137
  super({ context: context3, breadcrumbs });
603991
604138
  this.schema = schema2;
603992
604139
  this.id = id2;
603993
604140
  this.inlined = inlined;
603994
604141
  this.nameOverride = nameOverride;
604142
+ this.visitedRefs = visitedRefs ?? /* @__PURE__ */ new Set();
603995
604143
  this.audiences = this.context.getAudiences({
603996
604144
  operation: this.schema,
603997
604145
  breadcrumbs: this.breadcrumbs
@@ -604082,33 +604230,76 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
604082
604230
  }
604083
604231
  tryConvertSingularAllOfSchema() {
604084
604232
  if (this.schemaOnlyHasAllowedKeys(["allOf", "type", "title"]) && this.schema.allOf?.length === 1 && this.schema.allOf[0] != null) {
604233
+ const allOfElement = this.schema.allOf[0];
604234
+ if (this.context.isReferenceObject(allOfElement)) {
604235
+ const refPath = allOfElement.$ref;
604236
+ if (this.visitedRefs.has(refPath)) {
604237
+ return void 0;
604238
+ }
604239
+ }
604085
604240
  const allOfSchema = this.context.resolveMaybeReference({
604086
- schemaOrReference: this.schema.allOf[0],
604241
+ schemaOrReference: allOfElement,
604087
604242
  breadcrumbs: this.breadcrumbs
604088
604243
  });
604089
604244
  if (allOfSchema != null) {
604245
+ const visitedRefsForChild = this.context.isReferenceObject(allOfElement) ? /* @__PURE__ */ new Set([...this.visitedRefs, allOfElement.$ref]) : this.visitedRefs;
604090
604246
  const allOfConverter = new _SchemaConverter({
604091
604247
  context: this.context,
604092
604248
  breadcrumbs: [...this.breadcrumbs, "allOf", "0"],
604093
604249
  schema: allOfSchema,
604094
604250
  id: this.id,
604095
- inlined: true
604251
+ inlined: this.inlined,
604252
+ visitedRefs: visitedRefsForChild
604096
604253
  });
604097
604254
  const allOfResult = allOfConverter.convert();
604098
604255
  if (allOfResult?.convertedSchema.typeDeclaration?.shape.type !== "object") {
604256
+ if (allOfResult != null) {
604257
+ const decl = allOfResult.convertedSchema.typeDeclaration;
604258
+ if (this.schema.description != null && decl.docs == null) {
604259
+ decl.docs = this.schema.description;
604260
+ }
604261
+ const outerAvailability = this.context.getAvailability({
604262
+ node: this.schema,
604263
+ breadcrumbs: this.breadcrumbs
604264
+ });
604265
+ if (outerAvailability != null && decl.availability == null) {
604266
+ decl.availability = outerAvailability;
604267
+ }
604268
+ }
604099
604269
  return allOfResult;
604100
604270
  }
604101
604271
  }
604102
604272
  }
604103
604273
  const shouldMergeAllOf = this.schemaOnlyHasAllowedKeys(["allOf", "type", "title"]) && Array.isArray(this.schema.allOf) && this.schema.allOf.length >= 1;
604104
604274
  if (shouldMergeAllOf) {
604105
- let mergedSchema = {};
604275
+ const localResolvedRefs = /* @__PURE__ */ new Set();
604276
+ const resolvedElements = [];
604277
+ let hasCycle = false;
604106
604278
  for (const allOfSchema of this.schema.allOf ?? []) {
604279
+ let schemaToMerge;
604107
604280
  if (this.context.isReferenceObject(allOfSchema)) {
604108
- return void 0;
604281
+ const refPath = allOfSchema.$ref;
604282
+ if (this.visitedRefs.has(refPath)) {
604283
+ hasCycle = true;
604284
+ break;
604285
+ }
604286
+ if (localResolvedRefs.has(refPath)) {
604287
+ continue;
604288
+ }
604289
+ localResolvedRefs.add(refPath);
604290
+ const resolved = this.context.resolveMaybeReference({
604291
+ schemaOrReference: allOfSchema,
604292
+ breadcrumbs: this.breadcrumbs
604293
+ });
604294
+ if (resolved == null) {
604295
+ return void 0;
604296
+ }
604297
+ schemaToMerge = resolved;
604298
+ } else {
604299
+ schemaToMerge = allOfSchema;
604109
604300
  }
604110
- const variants = allOfSchema.oneOf ?? allOfSchema.anyOf;
604111
- if (variants != null && allOfSchema.type == null && allOfSchema.properties == null) {
604301
+ const variants = schemaToMerge.oneOf ?? schemaToMerge.anyOf;
604302
+ if (!this.context.isReferenceObject(allOfSchema) && variants != null && schemaToMerge.type == null && schemaToMerge.properties == null) {
604112
604303
  const flattenedProperties = {};
604113
604304
  for (const variantSchemaOrRef of variants) {
604114
604305
  const variantSchema = this.context.isReferenceObject(variantSchemaOrRef) ? this.context.resolveMaybeReference({
@@ -604128,27 +604319,24 @@ var SchemaConverter = class _SchemaConverter extends AbstractConverter {
604128
604319
  }
604129
604320
  }
604130
604321
  if (Object.keys(flattenedProperties).length > 0) {
604131
- const existingProperties = mergedSchema.properties ?? {};
604132
- mergedSchema.properties = { ...existingProperties, ...flattenedProperties };
604322
+ resolvedElements.push({ properties: flattenedProperties });
604133
604323
  }
604134
604324
  continue;
604135
604325
  }
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
- });
604326
+ resolvedElements.push(schemaToMerge);
604327
+ }
604328
+ if (hasCycle) {
604329
+ return void 0;
604145
604330
  }
604331
+ const mergedSchema = mergeAllOfSchemas(this.schema, resolvedElements);
604332
+ const allResolvedRefs = /* @__PURE__ */ new Set([...this.visitedRefs, ...localResolvedRefs]);
604146
604333
  const mergedConverter = new _SchemaConverter({
604147
604334
  context: this.context,
604148
604335
  breadcrumbs: this.breadcrumbs,
604149
604336
  schema: mergedSchema,
604150
604337
  id: this.id,
604151
- inlined: true
604338
+ inlined: this.inlined,
604339
+ visitedRefs: allResolvedRefs
604152
604340
  });
604153
604341
  return mergedConverter.convert();
604154
604342
  }
@@ -604510,20 +604698,44 @@ var SchemaOrReferenceConverter = class extends AbstractConverter {
604510
604698
  return void 0;
604511
604699
  }
604512
604700
  maybeConvertSingularAllOfReferenceObject() {
604513
- if (this.context.isReferenceObject(this.schemaOrReference) || this.schemaOrReference.allOf == null || this.schemaOrReference.allOf.length !== 1) {
604701
+ if (this.context.isReferenceObject(this.schemaOrReference) || this.schemaOrReference.allOf == null) {
604514
604702
  return void 0;
604515
604703
  }
604516
- const allOfReference = this.schemaOrReference.allOf[0];
604517
- if (this.context.isReferenceObject(allOfReference)) {
604518
- const response = this.context.convertReferenceToTypeReference({
604519
- reference: allOfReference,
604704
+ if (this.schemaOrReference.allOf.length === 1) {
604705
+ const allOfReference = this.schemaOrReference.allOf[0];
604706
+ if (this.context.isReferenceObject(allOfReference)) {
604707
+ const response = this.context.convertReferenceToTypeReference({
604708
+ reference: allOfReference,
604709
+ breadcrumbs: this.breadcrumbs
604710
+ });
604711
+ if (response.ok) {
604712
+ return {
604713
+ type: this.wrapTypeReference(response.reference),
604714
+ inlinedTypes: response.inlinedTypes ?? {}
604715
+ };
604716
+ }
604717
+ }
604718
+ return void 0;
604719
+ }
604720
+ const refElements = this.schemaOrReference.allOf.filter((s11) => this.context.isReferenceObject(s11));
604721
+ const inlineElements = this.schemaOrReference.allOf.filter((s11) => !this.context.isReferenceObject(s11));
604722
+ const singleRef = refElements.length === 1 ? refElements[0] : void 0;
604723
+ 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"))) {
604724
+ const resolved = this.context.resolveMaybeReference({
604725
+ schemaOrReference: singleRef,
604520
604726
  breadcrumbs: this.breadcrumbs
604521
604727
  });
604522
- if (response.ok) {
604523
- return {
604524
- type: this.wrapTypeReference(response.reference),
604525
- inlinedTypes: {}
604526
- };
604728
+ if (resolved != null && resolved.type !== "object" && !resolved.properties && !resolved.allOf && !resolved.oneOf && !resolved.anyOf && !resolved.format) {
604729
+ const response = this.context.convertReferenceToTypeReference({
604730
+ reference: singleRef,
604731
+ breadcrumbs: this.breadcrumbs
604732
+ });
604733
+ if (response.ok) {
604734
+ return {
604735
+ type: this.wrapTypeReference(response.reference),
604736
+ inlinedTypes: response.inlinedTypes ?? {}
604737
+ };
604738
+ }
604527
604739
  }
604528
604740
  }
604529
604741
  return void 0;
@@ -617369,7 +617581,7 @@ function isErrorEvent4(event) {
617369
617581
  function isEvent2(candidate) {
617370
617582
  return "undefined" != typeof Event && isInstanceOf2(candidate, Event);
617371
617583
  }
617372
- function isPlainObject18(candidate) {
617584
+ function isPlainObject19(candidate) {
617373
617585
  return isBuiltin2(candidate, "Object");
617374
617586
  }
617375
617587
  function isInstanceOf2(candidate, base4) {
@@ -620763,7 +620975,7 @@ var PostHogBackendClient = class extends PostHogCoreStateless {
620763
620975
  };
620764
620976
  const personProperties = {};
620765
620977
  const groupProperties = {};
620766
- for (const [key2, value] of Object.entries(eventProperties)) if (isPlainObject18(value) && groups2 && key2 in groups2) {
620978
+ for (const [key2, value] of Object.entries(eventProperties)) if (isPlainObject19(value) && groups2 && key2 in groups2) {
620767
620979
  const groupProps = {};
620768
620980
  for (const [groupKey, groupValue] of Object.entries(value)) groupProps[String(groupKey)] = String(groupValue);
620769
620981
  groupProperties[String(key2)] = groupProps;
@@ -621062,7 +621274,7 @@ var AccessTokenPosthogManager = class {
621062
621274
  properties: {
621063
621275
  ...event,
621064
621276
  ...event.properties,
621065
- version: "4.71.1-1-gb9108d42ae3",
621277
+ version: "4.71.1-23-g02891815b4e",
621066
621278
  usingAccessToken: true
621067
621279
  }
621068
621280
  });
@@ -621116,7 +621328,7 @@ var UserPosthogManager = class {
621116
621328
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
621117
621329
  event: "CLI",
621118
621330
  properties: {
621119
- version: "4.71.1-1-gb9108d42ae3",
621331
+ version: "4.71.1-23-g02891815b4e",
621120
621332
  ...event,
621121
621333
  ...event.properties,
621122
621334
  usingAccessToken: false,
@@ -627657,7 +627869,7 @@ function filterObject9(obj, keysToInclude) {
627657
627869
  }
627658
627870
 
627659
627871
  // ../../../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) {
627872
+ function isPlainObject20(value) {
627661
627873
  if (typeof value !== "object" || value === null) {
627662
627874
  return false;
627663
627875
  }
@@ -627714,7 +627926,7 @@ function withParsedProperties9(objectLike, properties7) {
627714
627926
  },
627715
627927
  json: (parsed, opts) => {
627716
627928
  var _a11;
627717
- if (!isPlainObject19(parsed)) {
627929
+ if (!isPlainObject20(parsed)) {
627718
627930
  return {
627719
627931
  ok: false,
627720
627932
  errors: [
@@ -627874,7 +628086,7 @@ function object10(schemas) {
627874
628086
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema)), getObjectLikeUtils9(baseSchema)), getObjectUtils9(baseSchema));
627875
628087
  }
627876
628088
  function validateAndTransformObject9({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
627877
- if (!isPlainObject19(value)) {
628089
+ if (!isPlainObject20(value)) {
627878
628090
  return {
627879
628091
  ok: false,
627880
628092
  errors: [
@@ -628020,7 +628232,7 @@ function getObjectUtils9(schema2) {
628020
628232
  };
628021
628233
  }
628022
628234
  function validateAndTransformExtendedObject9({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
628023
- if (!isPlainObject19(value)) {
628235
+ if (!isPlainObject20(value)) {
628024
628236
  return {
628025
628237
  ok: false,
628026
628238
  errors: [
@@ -628284,7 +628496,7 @@ function record10(keySchema, valueSchema) {
628284
628496
  return Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema));
628285
628497
  }
628286
628498
  function validateAndTransformRecord9({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
628287
- if (!isPlainObject19(value)) {
628499
+ if (!isPlainObject20(value)) {
628288
628500
  return {
628289
628501
  ok: false,
628290
628502
  errors: [
@@ -628457,7 +628669,7 @@ function union10(discriminant21, union22) {
628457
628669
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation9(baseSchema)), getSchemaUtils9(baseSchema)), getObjectLikeUtils9(baseSchema));
628458
628670
  }
628459
628671
  function transformAndValidateUnion9({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
628460
- if (!isPlainObject19(value)) {
628672
+ if (!isPlainObject20(value)) {
628461
628673
  return {
628462
628674
  ok: false,
628463
628675
  errors: [
@@ -636697,7 +636909,7 @@ function filterObject10(obj, keysToInclude) {
636697
636909
  }
636698
636910
 
636699
636911
  // ../../../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) {
636912
+ function isPlainObject21(value) {
636701
636913
  if (typeof value !== "object" || value === null) {
636702
636914
  return false;
636703
636915
  }
@@ -636754,7 +636966,7 @@ function withParsedProperties10(objectLike, properties7) {
636754
636966
  },
636755
636967
  json: (parsed, opts) => {
636756
636968
  var _a11;
636757
- if (!isPlainObject20(parsed)) {
636969
+ if (!isPlainObject21(parsed)) {
636758
636970
  return {
636759
636971
  ok: false,
636760
636972
  errors: [
@@ -636914,7 +637126,7 @@ function object11(schemas) {
636914
637126
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema)), getObjectLikeUtils10(baseSchema)), getObjectUtils10(baseSchema));
636915
637127
  }
636916
637128
  function validateAndTransformObject10({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
636917
- if (!isPlainObject20(value)) {
637129
+ if (!isPlainObject21(value)) {
636918
637130
  return {
636919
637131
  ok: false,
636920
637132
  errors: [
@@ -637060,7 +637272,7 @@ function getObjectUtils10(schema2) {
637060
637272
  };
637061
637273
  }
637062
637274
  function validateAndTransformExtendedObject10({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
637063
- if (!isPlainObject20(value)) {
637275
+ if (!isPlainObject21(value)) {
637064
637276
  return {
637065
637277
  ok: false,
637066
637278
  errors: [
@@ -637324,7 +637536,7 @@ function record11(keySchema, valueSchema) {
637324
637536
  return Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema));
637325
637537
  }
637326
637538
  function validateAndTransformRecord10({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
637327
- if (!isPlainObject20(value)) {
637539
+ if (!isPlainObject21(value)) {
637328
637540
  return {
637329
637541
  ok: false,
637330
637542
  errors: [
@@ -637497,7 +637709,7 @@ function union11(discriminant21, union22) {
637497
637709
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation10(baseSchema)), getSchemaUtils10(baseSchema)), getObjectLikeUtils10(baseSchema));
637498
637710
  }
637499
637711
  function transformAndValidateUnion10({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
637500
- if (!isPlainObject20(value)) {
637712
+ if (!isPlainObject21(value)) {
637501
637713
  return {
637502
637714
  ok: false,
637503
637715
  errors: [
@@ -645787,7 +645999,7 @@ function filterObject11(obj, keysToInclude) {
645787
645999
  }
645788
646000
 
645789
646001
  // ../../../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) {
646002
+ function isPlainObject22(value) {
645791
646003
  if (typeof value !== "object" || value === null) {
645792
646004
  return false;
645793
646005
  }
@@ -645844,7 +646056,7 @@ function withParsedProperties11(objectLike, properties7) {
645844
646056
  },
645845
646057
  json: (parsed, opts) => {
645846
646058
  var _a11;
645847
- if (!isPlainObject21(parsed)) {
646059
+ if (!isPlainObject22(parsed)) {
645848
646060
  return {
645849
646061
  ok: false,
645850
646062
  errors: [
@@ -646004,7 +646216,7 @@ function object12(schemas) {
646004
646216
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema)), getObjectLikeUtils11(baseSchema)), getObjectUtils11(baseSchema));
646005
646217
  }
646006
646218
  function validateAndTransformObject11({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
646007
- if (!isPlainObject21(value)) {
646219
+ if (!isPlainObject22(value)) {
646008
646220
  return {
646009
646221
  ok: false,
646010
646222
  errors: [
@@ -646150,7 +646362,7 @@ function getObjectUtils11(schema2) {
646150
646362
  };
646151
646363
  }
646152
646364
  function validateAndTransformExtendedObject11({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
646153
- if (!isPlainObject21(value)) {
646365
+ if (!isPlainObject22(value)) {
646154
646366
  return {
646155
646367
  ok: false,
646156
646368
  errors: [
@@ -646414,7 +646626,7 @@ function record12(keySchema, valueSchema) {
646414
646626
  return Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema));
646415
646627
  }
646416
646628
  function validateAndTransformRecord11({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
646417
- if (!isPlainObject21(value)) {
646629
+ if (!isPlainObject22(value)) {
646418
646630
  return {
646419
646631
  ok: false,
646420
646632
  errors: [
@@ -646587,7 +646799,7 @@ function union12(discriminant21, union22) {
646587
646799
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation11(baseSchema)), getSchemaUtils11(baseSchema)), getObjectLikeUtils11(baseSchema));
646588
646800
  }
646589
646801
  function transformAndValidateUnion11({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
646590
- if (!isPlainObject21(value)) {
646802
+ if (!isPlainObject22(value)) {
646591
646803
  return {
646592
646804
  ok: false,
646593
646805
  errors: [
@@ -654987,7 +655199,7 @@ function filterObject12(obj, keysToInclude) {
654987
655199
  }
654988
655200
 
654989
655201
  // ../../../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) {
655202
+ function isPlainObject23(value) {
654991
655203
  if (typeof value !== "object" || value === null) {
654992
655204
  return false;
654993
655205
  }
@@ -655044,7 +655256,7 @@ function withParsedProperties12(objectLike, properties7) {
655044
655256
  },
655045
655257
  json: (parsed, opts) => {
655046
655258
  var _a11;
655047
- if (!isPlainObject22(parsed)) {
655259
+ if (!isPlainObject23(parsed)) {
655048
655260
  return {
655049
655261
  ok: false,
655050
655262
  errors: [
@@ -655204,7 +655416,7 @@ function object13(schemas) {
655204
655416
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema)), getObjectLikeUtils12(baseSchema)), getObjectUtils12(baseSchema));
655205
655417
  }
655206
655418
  function validateAndTransformObject12({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
655207
- if (!isPlainObject22(value)) {
655419
+ if (!isPlainObject23(value)) {
655208
655420
  return {
655209
655421
  ok: false,
655210
655422
  errors: [
@@ -655350,7 +655562,7 @@ function getObjectUtils12(schema2) {
655350
655562
  };
655351
655563
  }
655352
655564
  function validateAndTransformExtendedObject12({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
655353
- if (!isPlainObject22(value)) {
655565
+ if (!isPlainObject23(value)) {
655354
655566
  return {
655355
655567
  ok: false,
655356
655568
  errors: [
@@ -655614,7 +655826,7 @@ function record13(keySchema, valueSchema) {
655614
655826
  return Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema));
655615
655827
  }
655616
655828
  function validateAndTransformRecord12({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
655617
- if (!isPlainObject22(value)) {
655829
+ if (!isPlainObject23(value)) {
655618
655830
  return {
655619
655831
  ok: false,
655620
655832
  errors: [
@@ -655787,7 +655999,7 @@ function union13(discriminant21, union22) {
655787
655999
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation12(baseSchema)), getSchemaUtils12(baseSchema)), getObjectLikeUtils12(baseSchema));
655788
656000
  }
655789
656001
  function transformAndValidateUnion12({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
655790
- if (!isPlainObject22(value)) {
656002
+ if (!isPlainObject23(value)) {
655791
656003
  return {
655792
656004
  ok: false,
655793
656005
  errors: [
@@ -664234,7 +664446,7 @@ function filterObject13(obj, keysToInclude) {
664234
664446
  }
664235
664447
 
664236
664448
  // ../../../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) {
664449
+ function isPlainObject24(value) {
664238
664450
  if (typeof value !== "object" || value === null) {
664239
664451
  return false;
664240
664452
  }
@@ -664291,7 +664503,7 @@ function withParsedProperties13(objectLike, properties7) {
664291
664503
  },
664292
664504
  json: (parsed, opts) => {
664293
664505
  var _a11;
664294
- if (!isPlainObject23(parsed)) {
664506
+ if (!isPlainObject24(parsed)) {
664295
664507
  return {
664296
664508
  ok: false,
664297
664509
  errors: [
@@ -664451,7 +664663,7 @@ function object14(schemas) {
664451
664663
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema)), getObjectLikeUtils13(baseSchema)), getObjectUtils13(baseSchema));
664452
664664
  }
664453
664665
  function validateAndTransformObject13({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
664454
- if (!isPlainObject23(value)) {
664666
+ if (!isPlainObject24(value)) {
664455
664667
  return {
664456
664668
  ok: false,
664457
664669
  errors: [
@@ -664597,7 +664809,7 @@ function getObjectUtils13(schema2) {
664597
664809
  };
664598
664810
  }
664599
664811
  function validateAndTransformExtendedObject13({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
664600
- if (!isPlainObject23(value)) {
664812
+ if (!isPlainObject24(value)) {
664601
664813
  return {
664602
664814
  ok: false,
664603
664815
  errors: [
@@ -664861,7 +665073,7 @@ function record14(keySchema, valueSchema) {
664861
665073
  return Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema));
664862
665074
  }
664863
665075
  function validateAndTransformRecord13({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
664864
- if (!isPlainObject23(value)) {
665076
+ if (!isPlainObject24(value)) {
664865
665077
  return {
664866
665078
  ok: false,
664867
665079
  errors: [
@@ -665034,7 +665246,7 @@ function union14(discriminant21, union22) {
665034
665246
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation13(baseSchema)), getSchemaUtils13(baseSchema)), getObjectLikeUtils13(baseSchema));
665035
665247
  }
665036
665248
  function transformAndValidateUnion13({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
665037
- if (!isPlainObject23(value)) {
665249
+ if (!isPlainObject24(value)) {
665038
665250
  return {
665039
665251
  ok: false,
665040
665252
  errors: [
@@ -674251,7 +674463,7 @@ function filterObject14(obj, keysToInclude) {
674251
674463
  }
674252
674464
 
674253
674465
  // ../../../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) {
674466
+ function isPlainObject25(value) {
674255
674467
  if (typeof value !== "object" || value === null) {
674256
674468
  return false;
674257
674469
  }
@@ -674308,7 +674520,7 @@ function withParsedProperties14(objectLike, properties7) {
674308
674520
  },
674309
674521
  json: (parsed, opts) => {
674310
674522
  var _a11;
674311
- if (!isPlainObject24(parsed)) {
674523
+ if (!isPlainObject25(parsed)) {
674312
674524
  return {
674313
674525
  ok: false,
674314
674526
  errors: [
@@ -674468,7 +674680,7 @@ function object15(schemas) {
674468
674680
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema)), getObjectLikeUtils14(baseSchema)), getObjectUtils14(baseSchema));
674469
674681
  }
674470
674682
  function validateAndTransformObject14({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
674471
- if (!isPlainObject24(value)) {
674683
+ if (!isPlainObject25(value)) {
674472
674684
  return {
674473
674685
  ok: false,
674474
674686
  errors: [
@@ -674614,7 +674826,7 @@ function getObjectUtils14(schema2) {
674614
674826
  };
674615
674827
  }
674616
674828
  function validateAndTransformExtendedObject14({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
674617
- if (!isPlainObject24(value)) {
674829
+ if (!isPlainObject25(value)) {
674618
674830
  return {
674619
674831
  ok: false,
674620
674832
  errors: [
@@ -674878,7 +675090,7 @@ function record15(keySchema, valueSchema) {
674878
675090
  return Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema));
674879
675091
  }
674880
675092
  function validateAndTransformRecord14({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
674881
- if (!isPlainObject24(value)) {
675093
+ if (!isPlainObject25(value)) {
674882
675094
  return {
674883
675095
  ok: false,
674884
675096
  errors: [
@@ -675051,7 +675263,7 @@ function union15(discriminant21, union22) {
675051
675263
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation14(baseSchema)), getSchemaUtils14(baseSchema)), getObjectLikeUtils14(baseSchema));
675052
675264
  }
675053
675265
  function transformAndValidateUnion14({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
675054
- if (!isPlainObject24(value)) {
675266
+ if (!isPlainObject25(value)) {
675055
675267
  return {
675056
675268
  ok: false,
675057
675269
  errors: [
@@ -684392,7 +684604,7 @@ function filterObject15(obj, keysToInclude) {
684392
684604
  }
684393
684605
 
684394
684606
  // ../../../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) {
684607
+ function isPlainObject26(value) {
684396
684608
  if (typeof value !== "object" || value === null) {
684397
684609
  return false;
684398
684610
  }
@@ -684449,7 +684661,7 @@ function withParsedProperties15(objectLike, properties7) {
684449
684661
  },
684450
684662
  json: (parsed, opts) => {
684451
684663
  var _a11;
684452
- if (!isPlainObject25(parsed)) {
684664
+ if (!isPlainObject26(parsed)) {
684453
684665
  return {
684454
684666
  ok: false,
684455
684667
  errors: [
@@ -684609,7 +684821,7 @@ function object16(schemas) {
684609
684821
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema)), getObjectLikeUtils15(baseSchema)), getObjectUtils15(baseSchema));
684610
684822
  }
684611
684823
  function validateAndTransformObject15({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
684612
- if (!isPlainObject25(value)) {
684824
+ if (!isPlainObject26(value)) {
684613
684825
  return {
684614
684826
  ok: false,
684615
684827
  errors: [
@@ -684755,7 +684967,7 @@ function getObjectUtils15(schema2) {
684755
684967
  };
684756
684968
  }
684757
684969
  function validateAndTransformExtendedObject15({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
684758
- if (!isPlainObject25(value)) {
684970
+ if (!isPlainObject26(value)) {
684759
684971
  return {
684760
684972
  ok: false,
684761
684973
  errors: [
@@ -685019,7 +685231,7 @@ function record16(keySchema, valueSchema) {
685019
685231
  return Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema));
685020
685232
  }
685021
685233
  function validateAndTransformRecord15({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
685022
- if (!isPlainObject25(value)) {
685234
+ if (!isPlainObject26(value)) {
685023
685235
  return {
685024
685236
  ok: false,
685025
685237
  errors: [
@@ -685192,7 +685404,7 @@ function union16(discriminant21, union22) {
685192
685404
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation15(baseSchema)), getSchemaUtils15(baseSchema)), getObjectLikeUtils15(baseSchema));
685193
685405
  }
685194
685406
  function transformAndValidateUnion15({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
685195
- if (!isPlainObject25(value)) {
685407
+ if (!isPlainObject26(value)) {
685196
685408
  return {
685197
685409
  ok: false,
685198
685410
  errors: [
@@ -694637,7 +694849,7 @@ function filterObject16(obj, keysToInclude) {
694637
694849
  }
694638
694850
 
694639
694851
  // ../../../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) {
694852
+ function isPlainObject27(value) {
694641
694853
  if (typeof value !== "object" || value === null) {
694642
694854
  return false;
694643
694855
  }
@@ -694694,7 +694906,7 @@ function withParsedProperties16(objectLike, properties7) {
694694
694906
  },
694695
694907
  json: (parsed, opts) => {
694696
694908
  var _a11;
694697
- if (!isPlainObject26(parsed)) {
694909
+ if (!isPlainObject27(parsed)) {
694698
694910
  return {
694699
694911
  ok: false,
694700
694912
  errors: [
@@ -694854,7 +695066,7 @@ function object17(schemas) {
694854
695066
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema)), getObjectLikeUtils16(baseSchema)), getObjectUtils16(baseSchema));
694855
695067
  }
694856
695068
  function validateAndTransformObject16({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
694857
- if (!isPlainObject26(value)) {
695069
+ if (!isPlainObject27(value)) {
694858
695070
  return {
694859
695071
  ok: false,
694860
695072
  errors: [
@@ -695000,7 +695212,7 @@ function getObjectUtils16(schema2) {
695000
695212
  };
695001
695213
  }
695002
695214
  function validateAndTransformExtendedObject16({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
695003
- if (!isPlainObject26(value)) {
695215
+ if (!isPlainObject27(value)) {
695004
695216
  return {
695005
695217
  ok: false,
695006
695218
  errors: [
@@ -695264,7 +695476,7 @@ function record17(keySchema, valueSchema) {
695264
695476
  return Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema));
695265
695477
  }
695266
695478
  function validateAndTransformRecord16({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
695267
- if (!isPlainObject26(value)) {
695479
+ if (!isPlainObject27(value)) {
695268
695480
  return {
695269
695481
  ok: false,
695270
695482
  errors: [
@@ -695437,7 +695649,7 @@ function union17(discriminant21, union22) {
695437
695649
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation16(baseSchema)), getSchemaUtils16(baseSchema)), getObjectLikeUtils16(baseSchema));
695438
695650
  }
695439
695651
  function transformAndValidateUnion16({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
695440
- if (!isPlainObject26(value)) {
695652
+ if (!isPlainObject27(value)) {
695441
695653
  return {
695442
695654
  ok: false,
695443
695655
  errors: [
@@ -705278,7 +705490,7 @@ function filterObject17(obj, keysToInclude) {
705278
705490
  }
705279
705491
 
705280
705492
  // ../../../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) {
705493
+ function isPlainObject28(value) {
705282
705494
  if (typeof value !== "object" || value === null) {
705283
705495
  return false;
705284
705496
  }
@@ -705335,7 +705547,7 @@ function withParsedProperties17(objectLike, properties7) {
705335
705547
  },
705336
705548
  json: (parsed, opts) => {
705337
705549
  var _a11;
705338
- if (!isPlainObject27(parsed)) {
705550
+ if (!isPlainObject28(parsed)) {
705339
705551
  return {
705340
705552
  ok: false,
705341
705553
  errors: [
@@ -705495,7 +705707,7 @@ function object18(schemas) {
705495
705707
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema)), getObjectLikeUtils17(baseSchema)), getObjectUtils17(baseSchema));
705496
705708
  }
705497
705709
  function validateAndTransformObject17({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
705498
- if (!isPlainObject27(value)) {
705710
+ if (!isPlainObject28(value)) {
705499
705711
  return {
705500
705712
  ok: false,
705501
705713
  errors: [
@@ -705641,7 +705853,7 @@ function getObjectUtils17(schema2) {
705641
705853
  };
705642
705854
  }
705643
705855
  function validateAndTransformExtendedObject17({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
705644
- if (!isPlainObject27(value)) {
705856
+ if (!isPlainObject28(value)) {
705645
705857
  return {
705646
705858
  ok: false,
705647
705859
  errors: [
@@ -705905,7 +706117,7 @@ function record18(keySchema, valueSchema) {
705905
706117
  return Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema));
705906
706118
  }
705907
706119
  function validateAndTransformRecord17({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
705908
- if (!isPlainObject27(value)) {
706120
+ if (!isPlainObject28(value)) {
705909
706121
  return {
705910
706122
  ok: false,
705911
706123
  errors: [
@@ -706078,7 +706290,7 @@ function union18(discriminant21, union22) {
706078
706290
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation17(baseSchema)), getSchemaUtils17(baseSchema)), getObjectLikeUtils17(baseSchema));
706079
706291
  }
706080
706292
  function transformAndValidateUnion17({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
706081
- if (!isPlainObject27(value)) {
706293
+ if (!isPlainObject28(value)) {
706082
706294
  return {
706083
706295
  ok: false,
706084
706296
  errors: [
@@ -716144,7 +716356,7 @@ function filterObject18(obj, keysToInclude) {
716144
716356
  }
716145
716357
 
716146
716358
  // ../../../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) {
716359
+ function isPlainObject29(value) {
716148
716360
  if (typeof value !== "object" || value === null) {
716149
716361
  return false;
716150
716362
  }
@@ -716201,7 +716413,7 @@ function withParsedProperties18(objectLike, properties7) {
716201
716413
  },
716202
716414
  json: (parsed, opts) => {
716203
716415
  var _a11;
716204
- if (!isPlainObject28(parsed)) {
716416
+ if (!isPlainObject29(parsed)) {
716205
716417
  return {
716206
716418
  ok: false,
716207
716419
  errors: [
@@ -716361,7 +716573,7 @@ function object19(schemas) {
716361
716573
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema)), getObjectLikeUtils18(baseSchema)), getObjectUtils18(baseSchema));
716362
716574
  }
716363
716575
  function validateAndTransformObject18({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
716364
- if (!isPlainObject28(value)) {
716576
+ if (!isPlainObject29(value)) {
716365
716577
  return {
716366
716578
  ok: false,
716367
716579
  errors: [
@@ -716507,7 +716719,7 @@ function getObjectUtils18(schema2) {
716507
716719
  };
716508
716720
  }
716509
716721
  function validateAndTransformExtendedObject18({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
716510
- if (!isPlainObject28(value)) {
716722
+ if (!isPlainObject29(value)) {
716511
716723
  return {
716512
716724
  ok: false,
716513
716725
  errors: [
@@ -716771,7 +716983,7 @@ function record19(keySchema, valueSchema) {
716771
716983
  return Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema));
716772
716984
  }
716773
716985
  function validateAndTransformRecord18({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
716774
- if (!isPlainObject28(value)) {
716986
+ if (!isPlainObject29(value)) {
716775
716987
  return {
716776
716988
  ok: false,
716777
716989
  errors: [
@@ -716944,7 +717156,7 @@ function union19(discriminant21, union22) {
716944
717156
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation18(baseSchema)), getSchemaUtils18(baseSchema)), getObjectLikeUtils18(baseSchema));
716945
717157
  }
716946
717158
  function transformAndValidateUnion18({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
716947
- if (!isPlainObject28(value)) {
717159
+ if (!isPlainObject29(value)) {
716948
717160
  return {
716949
717161
  ok: false,
716950
717162
  errors: [
@@ -727022,7 +727234,7 @@ function filterObject19(obj, keysToInclude) {
727022
727234
  }
727023
727235
 
727024
727236
  // ../../../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) {
727237
+ function isPlainObject30(value) {
727026
727238
  if (typeof value !== "object" || value === null) {
727027
727239
  return false;
727028
727240
  }
@@ -727079,7 +727291,7 @@ function withParsedProperties19(objectLike, properties7) {
727079
727291
  },
727080
727292
  json: (parsed, opts) => {
727081
727293
  var _a11;
727082
- if (!isPlainObject29(parsed)) {
727294
+ if (!isPlainObject30(parsed)) {
727083
727295
  return {
727084
727296
  ok: false,
727085
727297
  errors: [
@@ -727239,7 +727451,7 @@ function object20(schemas) {
727239
727451
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema)), getObjectLikeUtils19(baseSchema)), getObjectUtils19(baseSchema));
727240
727452
  }
727241
727453
  function validateAndTransformObject19({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
727242
- if (!isPlainObject29(value)) {
727454
+ if (!isPlainObject30(value)) {
727243
727455
  return {
727244
727456
  ok: false,
727245
727457
  errors: [
@@ -727385,7 +727597,7 @@ function getObjectUtils19(schema2) {
727385
727597
  };
727386
727598
  }
727387
727599
  function validateAndTransformExtendedObject19({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
727388
- if (!isPlainObject29(value)) {
727600
+ if (!isPlainObject30(value)) {
727389
727601
  return {
727390
727602
  ok: false,
727391
727603
  errors: [
@@ -727649,7 +727861,7 @@ function record20(keySchema, valueSchema) {
727649
727861
  return Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema));
727650
727862
  }
727651
727863
  function validateAndTransformRecord19({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
727652
- if (!isPlainObject29(value)) {
727864
+ if (!isPlainObject30(value)) {
727653
727865
  return {
727654
727866
  ok: false,
727655
727867
  errors: [
@@ -727822,7 +728034,7 @@ function union20(discriminant21, union22) {
727822
728034
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation19(baseSchema)), getSchemaUtils19(baseSchema)), getObjectLikeUtils19(baseSchema));
727823
728035
  }
727824
728036
  function transformAndValidateUnion19({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
727825
- if (!isPlainObject29(value)) {
728037
+ if (!isPlainObject30(value)) {
727826
728038
  return {
727827
728039
  ok: false,
727828
728040
  errors: [
@@ -737992,7 +738204,7 @@ function filterObject20(obj, keysToInclude) {
737992
738204
  }
737993
738205
 
737994
738206
  // ../../../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) {
738207
+ function isPlainObject31(value) {
737996
738208
  if (typeof value !== "object" || value === null) {
737997
738209
  return false;
737998
738210
  }
@@ -738049,7 +738261,7 @@ function withParsedProperties20(objectLike, properties7) {
738049
738261
  },
738050
738262
  json: (parsed, opts) => {
738051
738263
  var _a11;
738052
- if (!isPlainObject30(parsed)) {
738264
+ if (!isPlainObject31(parsed)) {
738053
738265
  return {
738054
738266
  ok: false,
738055
738267
  errors: [
@@ -738209,7 +738421,7 @@ function object21(schemas) {
738209
738421
  return Object.assign(Object.assign(Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema)), getObjectLikeUtils20(baseSchema)), getObjectUtils20(baseSchema));
738210
738422
  }
738211
738423
  function validateAndTransformObject20({ value, requiredKeys, requiredKeysSet, getProperty: getProperty2, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [] }) {
738212
- if (!isPlainObject30(value)) {
738424
+ if (!isPlainObject31(value)) {
738213
738425
  return {
738214
738426
  ok: false,
738215
738427
  errors: [
@@ -738355,7 +738567,7 @@ function getObjectUtils20(schema2) {
738355
738567
  };
738356
738568
  }
738357
738569
  function validateAndTransformExtendedObject20({ extensionKeys, value, transformBase, transformExtension, breadcrumbsPrefix = [] }) {
738358
- if (!isPlainObject30(value)) {
738570
+ if (!isPlainObject31(value)) {
738359
738571
  return {
738360
738572
  ok: false,
738361
738573
  errors: [
@@ -738619,7 +738831,7 @@ function record21(keySchema, valueSchema) {
738619
738831
  return Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema));
738620
738832
  }
738621
738833
  function validateAndTransformRecord20({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [] }) {
738622
- if (!isPlainObject30(value)) {
738834
+ if (!isPlainObject31(value)) {
738623
738835
  return {
738624
738836
  ok: false,
738625
738837
  errors: [
@@ -738792,7 +739004,7 @@ function union21(discriminant21, union22) {
738792
739004
  return Object.assign(Object.assign(Object.assign({}, maybeSkipValidation20(baseSchema)), getSchemaUtils20(baseSchema)), getObjectLikeUtils20(baseSchema));
738793
739005
  }
738794
739006
  function transformAndValidateUnion20({ value, discriminant: discriminant21, transformedDiscriminant, transformDiscriminantValue, getAdditionalPropertiesSchema, allowUnrecognizedUnionMembers = false, transformAdditionalProperties, breadcrumbsPrefix = [] }) {
738795
- if (!isPlainObject30(value)) {
739007
+ if (!isPlainObject31(value)) {
738796
739008
  return {
738797
739009
  ok: false,
738798
739010
  errors: [
@@ -753958,7 +754170,7 @@ function collectOverlayActions(original, modified, jsonPath, actions) {
753958
754170
  collectArrayOverlayActions(original, modified, jsonPath, actions);
753959
754171
  return;
753960
754172
  }
753961
- if (isPlainObject31(original) && isPlainObject31(modified)) {
754173
+ if (isPlainObject32(original) && isPlainObject32(modified)) {
753962
754174
  collectObjectOverlayActions(original, modified, jsonPath, actions);
753963
754175
  return;
753964
754176
  }
@@ -754009,7 +754221,7 @@ function collectObjectOverlayActions(original, modified, jsonPath, actions) {
754009
754221
  }
754010
754222
  }
754011
754223
  function collectArrayOverlayActions(original, modified, jsonPath, actions) {
754012
- const allObjects = original.every((el3) => isPlainObject31(el3)) && modified.every((el3) => isPlainObject31(el3));
754224
+ const allObjects = original.every((el3) => isPlainObject32(el3)) && modified.every((el3) => isPlainObject32(el3));
754013
754225
  if (!allObjects) {
754014
754226
  actions.push({
754015
754227
  target: jsonPath,
@@ -754057,7 +754269,7 @@ function canRecurse(a10, b19) {
754057
754269
  }
754058
754270
  return false;
754059
754271
  }
754060
- function isPlainObject31(value) {
754272
+ function isPlainObject32(value) {
754061
754273
  return typeof value === "object" && value !== null && !Array.isArray(value);
754062
754274
  }
754063
754275
  function escapeJsonPathKey(key2) {
@@ -821134,7 +821346,7 @@ function bail(error50) {
821134
821346
  var import_extend = __toESM(require_extend(), 1);
821135
821347
 
821136
821348
  // ../../../node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.js
821137
- function isPlainObject32(value) {
821349
+ function isPlainObject33(value) {
821138
821350
  if (typeof value !== "object" || value === null) {
821139
821351
  return false;
821140
821352
  }
@@ -821836,7 +822048,7 @@ var Processor2 = class _Processor extends CallableInstance {
821836
822048
  } else if (parameters3.length > 0) {
821837
822049
  let [primary, ...rest] = parameters3;
821838
822050
  const currentPrimary = attachers[entryIndex][1];
821839
- if (isPlainObject32(currentPrimary) && isPlainObject32(primary)) {
822051
+ if (isPlainObject33(currentPrimary) && isPlainObject33(primary)) {
821840
822052
  primary = (0, import_extend.default)(true, currentPrimary, primary);
821841
822053
  }
821842
822054
  attachers[entryIndex] = [plugin2, primary, ...rest];
@@ -821863,7 +822075,7 @@ function assertUnfrozen(name2, frozen) {
821863
822075
  }
821864
822076
  }
821865
822077
  function assertNode(node4) {
821866
- if (!isPlainObject32(node4) || typeof node4.type !== "string") {
822078
+ if (!isPlainObject33(node4) || typeof node4.type !== "string") {
821867
822079
  throw new TypeError("Expected node, got `" + node4 + "`");
821868
822080
  }
821869
822081
  }
@@ -838215,7 +838427,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
838215
838427
  var LOGS_FOLDER_NAME = "logs";
838216
838428
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
838217
838429
  function getCliSource() {
838218
- const version7 = "4.71.1-1-gb9108d42ae3";
838430
+ const version7 = "4.71.1-23-g02891815b4e";
838219
838431
  return `cli@${version7}`;
838220
838432
  }
838221
838433
  var DebugLogger = class {
@@ -849462,7 +849674,7 @@ var LegacyDocsPublisher = class {
849462
849674
  previewId,
849463
849675
  disableTemplates: void 0,
849464
849676
  skipUpload,
849465
- cliVersion: "4.71.1-1-gb9108d42ae3"
849677
+ cliVersion: "4.71.1-23-g02891815b4e"
849466
849678
  });
849467
849679
  if (taskContext.getResult() === TaskResult.Failure) {
849468
849680
  return { success: false };
@@ -853595,6 +853807,18 @@ var NopFormatter = class extends AbstractFormatter {
853595
853807
  }
853596
853808
  };
853597
853809
 
853810
+ // ../../../generators/browser-compatible-base/lib/utils/getSdkVersion.js
853811
+ function getSdkVersion(config5) {
853812
+ return config5.output.mode._visit({
853813
+ publish: (gpc) => gpc.version,
853814
+ downloadFiles: () => void 0,
853815
+ github: (gom) => gom.version,
853816
+ _other: () => {
853817
+ throw new Error("Unrecognized output mode.");
853818
+ }
853819
+ });
853820
+ }
853821
+
853598
853822
  // ../../../generators/browser-compatible-base/lib/ast/CodeBlock.js
853599
853823
  var CodeBlock2 = class extends AbstractAstNode {
853600
853824
  value;
@@ -874591,6 +874815,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
874591
874815
  if (publishInfo.type !== "go") {
874592
874816
  return config5;
874593
874817
  }
874818
+ const originalVersion = getSdkVersion(config5);
874594
874819
  return {
874595
874820
  ...config5,
874596
874821
  customConfig: generatorConfig.customConfig ?? config5.customConfig,
@@ -874598,7 +874823,7 @@ var DynamicSnippetsGeneratorContext2 = class _DynamicSnippetsGeneratorContext ex
874598
874823
  ...config5.output,
874599
874824
  mode: {
874600
874825
  type: "github",
874601
- version: publishInfo.version,
874826
+ version: originalVersion ?? publishInfo.version,
874602
874827
  repoUrl: publishInfo.repoUrl
874603
874828
  }
874604
874829
  }
@@ -876964,19 +877189,20 @@ var DynamicTypeLiteralMapper = class {
876964
877189
  case "discriminatedUnion":
876965
877190
  return this.convertDiscriminatedUnion({
876966
877191
  discriminatedUnion: named,
876967
- value
877192
+ value,
877193
+ as: as8
876968
877194
  });
876969
877195
  case "enum":
876970
877196
  return this.convertEnum({ enum_: named, value });
876971
877197
  case "object":
876972
877198
  return this.convertObject({ object_: named, value, as: as8, inUndiscriminatedUnion });
876973
877199
  case "undiscriminatedUnion":
876974
- return this.convertUndiscriminatedUnion({ undiscriminatedUnion: named, value });
877200
+ return this.convertUndiscriminatedUnion({ undiscriminatedUnion: named, value, as: as8 });
876975
877201
  default:
876976
877202
  assertNever(named);
876977
877203
  }
876978
877204
  }
876979
- convertDiscriminatedUnion({ discriminatedUnion: discriminatedUnion2, value }) {
877205
+ convertDiscriminatedUnion({ discriminatedUnion: discriminatedUnion2, value, as: as8 }) {
876980
877206
  const classReference4 = this.context.getJavaClassReferenceFromDeclaration({
876981
877207
  declaration: discriminatedUnion2.declaration
876982
877208
  });
@@ -876999,7 +877225,7 @@ var DynamicTypeLiteralMapper = class {
876999
877225
  return java_exports.TypeLiteral.reference(java_exports.invokeMethod({
877000
877226
  on: classReference4,
877001
877227
  method: this.context.getPropertyName(unionVariant.discriminantValue.name),
877002
- arguments_: [this.convertNamed({ named, value: discriminatedUnionTypeInstance.value })]
877228
+ arguments_: [this.convertNamed({ named, value: discriminatedUnionTypeInstance.value, as: as8 })]
877003
877229
  }));
877004
877230
  }
877005
877231
  case "singleProperty": {
@@ -877016,7 +877242,8 @@ var DynamicTypeLiteralMapper = class {
877016
877242
  arguments_: [
877017
877243
  this.convert({
877018
877244
  typeReference: unionVariant.typeReference,
877019
- value: record22[propertyKey]
877245
+ value: record22[propertyKey],
877246
+ as: as8
877020
877247
  })
877021
877248
  ]
877022
877249
  }));
@@ -877228,10 +877455,11 @@ var DynamicTypeLiteralMapper = class {
877228
877455
  }
877229
877456
  return this.context.getEnumName(enumValue.name);
877230
877457
  }
877231
- convertUndiscriminatedUnion({ undiscriminatedUnion: undiscriminatedUnion21, value }) {
877458
+ convertUndiscriminatedUnion({ undiscriminatedUnion: undiscriminatedUnion21, value, as: as8 }) {
877232
877459
  const result = this.findMatchingUndiscriminatedUnionType({
877233
877460
  undiscriminatedUnion: undiscriminatedUnion21,
877234
- value
877461
+ value,
877462
+ as: as8
877235
877463
  });
877236
877464
  if (result == null) {
877237
877465
  return java_exports.TypeLiteral.nop();
@@ -877253,13 +877481,14 @@ var DynamicTypeLiteralMapper = class {
877253
877481
  arguments_: [result.typeInstantiation]
877254
877482
  }));
877255
877483
  }
877256
- findMatchingUndiscriminatedUnionType({ undiscriminatedUnion: undiscriminatedUnion21, value }) {
877484
+ findMatchingUndiscriminatedUnionType({ undiscriminatedUnion: undiscriminatedUnion21, value, as: as8 }) {
877257
877485
  for (const typeReference2 of undiscriminatedUnion21.types) {
877258
877486
  const errorsBefore = this.context.errors.size();
877259
877487
  try {
877260
877488
  const typeInstantiation = this.convert({
877261
877489
  typeReference: typeReference2,
877262
877490
  value,
877491
+ as: as8,
877263
877492
  inUndiscriminatedUnion: true
877264
877493
  });
877265
877494
  if (java_exports.TypeLiteral.isNop(typeInstantiation) || this.context.errors.size() > errorsBefore) {
@@ -921472,7 +921701,7 @@ var defaultTheme = {
921472
921701
  };
921473
921702
 
921474
921703
  // ../../../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) {
921704
+ function isPlainObject37(value) {
921476
921705
  if (typeof value !== "object" || value === null)
921477
921706
  return false;
921478
921707
  let proto3 = value;
@@ -921486,7 +921715,7 @@ function deepMerge2(...objects) {
921486
921715
  for (const obj of objects) {
921487
921716
  for (const [key2, value] of Object.entries(obj)) {
921488
921717
  const prevValue = output2[key2];
921489
- output2[key2] = isPlainObject36(prevValue) && isPlainObject36(value) ? deepMerge2(prevValue, value) : value;
921718
+ output2[key2] = isPlainObject37(prevValue) && isPlainObject37(value) ? deepMerge2(prevValue, value) : value;
921490
921719
  }
921491
921720
  }
921492
921721
  return output2;
@@ -923798,7 +924027,7 @@ var CliContext = class _CliContext {
923798
924027
  if (false) {
923799
924028
  this.logger.error("CLI_VERSION is not defined");
923800
924029
  }
923801
- return "4.71.1-1-gb9108d42ae3";
924030
+ return "4.71.1-23-g02891815b4e";
923802
924031
  }
923803
924032
  getCliName() {
923804
924033
  if (false) {
@@ -931002,11 +931231,11 @@ function isDraft(value) {
931002
931231
  function isDraftable(value) {
931003
931232
  if (!value)
931004
931233
  return false;
931005
- return isPlainObject37(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value);
931234
+ return isPlainObject38(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value);
931006
931235
  }
931007
931236
  var objectCtorString3 = Object.prototype.constructor.toString();
931008
931237
  var cachedCtorStrings = /* @__PURE__ */ new WeakMap();
931009
- function isPlainObject37(value) {
931238
+ function isPlainObject38(value) {
931010
931239
  if (!value || typeof value !== "object")
931011
931240
  return false;
931012
931241
  const proto3 = Object.getPrototypeOf(value);
@@ -931075,7 +931304,7 @@ function shallowCopy(base4, strict) {
931075
931304
  }
931076
931305
  if (Array.isArray(base4))
931077
931306
  return Array.prototype.slice.call(base4);
931078
- const isPlain = isPlainObject37(base4);
931307
+ const isPlain = isPlainObject38(base4);
931079
931308
  if (strict === true || strict === "class_only" && !isPlain) {
931080
931309
  const descriptors = Object.getOwnPropertyDescriptors(base4);
931081
931310
  delete descriptors[DRAFT_STATE];