@fern-api/fern-api-dev 5.100.0 → 5.101.1

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 +661 -250
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -4221,8 +4221,8 @@ function hrTimeDuration(startTime, endTime) {
4221
4221
  }
4222
4222
  function hrTimeToTimeStamp(time3) {
4223
4223
  const precision = NANOSECOND_DIGITS;
4224
- const tmp23 = `${"0".repeat(precision)}${time3[1]}Z`;
4225
- const nanoString = tmp23.substring(tmp23.length - precision - 1);
4224
+ const tmp22 = `${"0".repeat(precision)}${time3[1]}Z`;
4225
+ const nanoString = tmp22.substring(tmp22.length - precision - 1);
4226
4226
  const date26 = new Date(time3[0] * 1e3).toISOString();
4227
4227
  return date26.replace("000Z", nanoString);
4228
4228
  }
@@ -20655,15 +20655,15 @@ var init_cliui = __esm({
20655
20655
  // ../../../node_modules/.pnpm/escalade@3.2.0/node_modules/escalade/sync/index.mjs
20656
20656
  function sync_default(start2, callback) {
20657
20657
  let dir = (0, import_path5.resolve)(".", start2);
20658
- let tmp23, stats = (0, import_fs4.statSync)(dir);
20658
+ let tmp22, stats = (0, import_fs4.statSync)(dir);
20659
20659
  if (!stats.isDirectory()) {
20660
20660
  dir = (0, import_path5.dirname)(dir);
20661
20661
  }
20662
20662
  while (true) {
20663
- tmp23 = callback(dir, (0, import_fs4.readdirSync)(dir));
20664
- if (tmp23) return (0, import_path5.resolve)(dir, tmp23);
20665
- dir = (0, import_path5.dirname)(tmp23 = dir);
20666
- if (tmp23 === dir) break;
20663
+ tmp22 = callback(dir, (0, import_fs4.readdirSync)(dir));
20664
+ if (tmp22) return (0, import_path5.resolve)(dir, tmp22);
20665
+ dir = (0, import_path5.dirname)(tmp22 = dir);
20666
+ if (tmp22 === dir) break;
20667
20667
  }
20668
20668
  }
20669
20669
  var import_path5, import_fs4;
@@ -27273,16 +27273,16 @@ var init_index_node_esm = __esm({
27273
27273
  for (let t3 = 0; t3 < ret.length; t3++) {
27274
27274
  const rett = ret[t3];
27275
27275
  if (rett && rett.isParentSelector) {
27276
- const tmp23 = this._trace(rett.expr, val, rett.path, parent, parentPropName, callback, hasArrExpr);
27277
- if (Array.isArray(tmp23)) {
27278
- ret[t3] = tmp23[0];
27279
- const tl = tmp23.length;
27276
+ const tmp22 = this._trace(rett.expr, val, rett.path, parent, parentPropName, callback, hasArrExpr);
27277
+ if (Array.isArray(tmp22)) {
27278
+ ret[t3] = tmp22[0];
27279
+ const tl = tmp22.length;
27280
27280
  for (let tt3 = 1; tt3 < tl; tt3++) {
27281
27281
  t3++;
27282
- ret.splice(t3, 0, tmp23[tt3]);
27282
+ ret.splice(t3, 0, tmp22[tt3]);
27283
27283
  }
27284
27284
  } else {
27285
- ret[t3] = tmp23;
27285
+ ret[t3] = tmp22;
27286
27286
  }
27287
27287
  }
27288
27288
  }
@@ -27311,8 +27311,8 @@ var init_index_node_esm = __esm({
27311
27311
  end = end < 0 ? Math.max(0, end + len) : Math.min(len, end);
27312
27312
  const ret = [];
27313
27313
  for (let i5 = start2; i5 < end; i5 += step) {
27314
- const tmp23 = this._trace(unshift(i5, expr), val, path122, parent, parentPropName, callback, true);
27315
- tmp23.forEach((t3) => {
27314
+ const tmp22 = this._trace(unshift(i5, expr), val, path122, parent, parentPropName, callback, true);
27315
+ tmp22.forEach((t3) => {
27316
27316
  ret.push(t3);
27317
27317
  });
27318
27318
  }
@@ -53807,10 +53807,10 @@ var require_tmp_promise = __commonJS({
53807
53807
  "../../../node_modules/.pnpm/tmp-promise@3.0.3/node_modules/tmp-promise/index.js"(exports2, module4) {
53808
53808
  "use strict";
53809
53809
  var { promisify: promisify14 } = require("util");
53810
- var tmp23 = require_tmp();
53811
- module4.exports.fileSync = tmp23.fileSync;
53810
+ var tmp22 = require_tmp();
53811
+ module4.exports.fileSync = tmp22.fileSync;
53812
53812
  var fileWithOptions = promisify14(
53813
- (options2, cb) => tmp23.file(
53813
+ (options2, cb) => tmp22.file(
53814
53814
  options2,
53815
53815
  (err, path122, fd, cleanup) => err ? cb(err) : cb(void 0, { path: path122, fd, cleanup: promisify14(cleanup) })
53816
53816
  )
@@ -53824,9 +53824,9 @@ var require_tmp_promise = __commonJS({
53824
53824
  await cleanup();
53825
53825
  }
53826
53826
  };
53827
- module4.exports.dirSync = tmp23.dirSync;
53827
+ module4.exports.dirSync = tmp22.dirSync;
53828
53828
  var dirWithOptions = promisify14(
53829
- (options2, cb) => tmp23.dir(
53829
+ (options2, cb) => tmp22.dir(
53830
53830
  options2,
53831
53831
  (err, path122, cleanup) => err ? cb(err) : cb(void 0, { path: path122, cleanup: promisify14(cleanup) })
53832
53832
  )
@@ -53840,10 +53840,10 @@ var require_tmp_promise = __commonJS({
53840
53840
  await cleanup();
53841
53841
  }
53842
53842
  };
53843
- module4.exports.tmpNameSync = tmp23.tmpNameSync;
53844
- module4.exports.tmpName = promisify14(tmp23.tmpName);
53845
- module4.exports.tmpdir = tmp23.tmpdir;
53846
- module4.exports.setGracefulCleanup = tmp23.setGracefulCleanup;
53843
+ module4.exports.tmpNameSync = tmp22.tmpNameSync;
53844
+ module4.exports.tmpName = promisify14(tmp22.tmpName);
53845
+ module4.exports.tmpdir = tmp22.tmpdir;
53846
+ module4.exports.setGracefulCleanup = tmp22.setGracefulCleanup;
53847
53847
  }
53848
53848
  });
53849
53849
 
@@ -90966,23 +90966,23 @@ function getValues(context3, operator2, key2, modifier) {
90966
90966
  });
90967
90967
  }
90968
90968
  } else {
90969
- const tmp23 = [];
90969
+ const tmp22 = [];
90970
90970
  if (Array.isArray(value2)) {
90971
90971
  value2.filter(isDefined).forEach(function(value22) {
90972
- tmp23.push(encodeValue(operator2, value22));
90972
+ tmp22.push(encodeValue(operator2, value22));
90973
90973
  });
90974
90974
  } else {
90975
90975
  Object.keys(value2).forEach(function(k4) {
90976
90976
  if (isDefined(value2[k4])) {
90977
- tmp23.push(encodeUnreserved(k4));
90978
- tmp23.push(encodeValue(operator2, value2[k4].toString()));
90977
+ tmp22.push(encodeUnreserved(k4));
90978
+ tmp22.push(encodeValue(operator2, value2[k4].toString()));
90979
90979
  }
90980
90980
  });
90981
90981
  }
90982
90982
  if (isKeyOperator(operator2)) {
90983
- result.push(encodeUnreserved(key2) + "=" + tmp23.join(","));
90984
- } else if (tmp23.length !== 0) {
90985
- result.push(tmp23.join(","));
90983
+ result.push(encodeUnreserved(key2) + "=" + tmp22.join(","));
90984
+ } else if (tmp22.length !== 0) {
90985
+ result.push(tmp22.join(","));
90986
90986
  }
90987
90987
  }
90988
90988
  }
@@ -91017,8 +91017,8 @@ function expand2(template, context3) {
91017
91017
  expression = expression.substr(1);
91018
91018
  }
91019
91019
  expression.split(/,/g).forEach(function(variable3) {
91020
- var tmp23 = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable3);
91021
- values2.push(getValues(context3, operator2, tmp23[1], tmp23[2] || tmp23[3]));
91020
+ var tmp22 = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable3);
91021
+ values2.push(getValues(context3, operator2, tmp22[1], tmp22[2] || tmp22[3]));
91022
91022
  });
91023
91023
  if (operator2 && operator2 !== "+") {
91024
91024
  var separator = ",";
@@ -100657,7 +100657,7 @@ var require_polyfills = __commonJS({
100657
100657
  }
100658
100658
  if (platform4 === "win32") {
100659
100659
  fs34.rename = typeof fs34.rename !== "function" ? fs34.rename : (function(fs$rename) {
100660
- function rename8(from4, to2, cb) {
100660
+ function rename9(from4, to2, cb) {
100661
100661
  var start2 = Date.now();
100662
100662
  var backoff = 0;
100663
100663
  fs$rename(from4, to2, function CB(er3) {
@@ -100677,8 +100677,8 @@ var require_polyfills = __commonJS({
100677
100677
  if (cb) cb(er3);
100678
100678
  });
100679
100679
  }
100680
- if (Object.setPrototypeOf) Object.setPrototypeOf(rename8, fs$rename);
100681
- return rename8;
100680
+ if (Object.setPrototypeOf) Object.setPrototypeOf(rename9, fs$rename);
100681
+ return rename9;
100682
100682
  })(fs34.rename);
100683
100683
  }
100684
100684
  fs34.read = typeof fs34.read !== "function" ? fs34.read : (function(fs$read) {
@@ -117909,6 +117909,7 @@ __export(DocsYmlSchemas_exports, {
117909
117909
  AnnouncementConfig: () => AnnouncementConfig,
117910
117910
  ApiReferenceConfiguration: () => ApiReferenceConfiguration,
117911
117911
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration,
117912
+ ApiReferenceLayout: () => ApiReferenceLayout,
117912
117913
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem,
117913
117914
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration,
117914
117915
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration,
@@ -118049,7 +118050,7 @@ function normalizeTranslationConfig(config5) {
118049
118050
  }
118050
118051
  return config5;
118051
118052
  }
118052
- var TabId, ChangelogFolderRelativePath, AudienceId, RoleId, LibraryName, ProgrammingLanguage, Language, PageActionOption, AIChatLocation, AIChatModel, EditThisPageLaunch, Availability2, VersionAvailability, TitleSource, LibraryLanguage, FontStyle, FontDisplay, SearchbarPlacement, TabsPlacement, SwitcherPlacement, ContentAlignment, HeaderPosition, ChangelogLayout, ProductSwitcherThemeConfig, LanguageSwitcherThemeConfig, FooterNavThemeConfig, TabsThemeConfig, BodyThemeConfig, SidebarThemeConfig, PageActionsThemeConfig, HttpSnippetLanguage, Target, TwitterCardSetting, JsScriptStrategy, FontWeight, ColorThemedConfig, ColorConfig, Audience, Role, CustomDomain, HttpSnippetsConfig, BackgroundImageThemedConfig, BackgroundImageConfiguration, CssConfig, CollapsedStringValue, CollapsedValue, WithPermissions, FeatureFlag, FeatureFlagConfiguration, WithFeatureFlags, WithViewers, SegmentConfig, FullStoryAnalyticsConfig, IntercomConfig, PostHogConfig, GTMConfig, GoogleAnalytics4Config, AnalyticsConfig, AiExamplesConfig, AIChatWebsiteDatasource, AIChatDatasource, PageDescriptionSource, AgentsConfig, AIChatConfig, FontConfigVariant, FontConfigPath, FontConfig, DocsTypographyConfig, ThemeConfig, LayoutConfig, SearchSettingsConfig, DocsSettingsConfig, ColorsConfiguration, CustomPageAction, PageActionOptions, PageActionsConfig, GithubEditThisPageConfig, EditThisPageConfig, DocsInstance, LogoConfiguration, LinkConfiguration, VersionedSnippetLanguageConfiguration, SnippetLanguageConfiguration, SnippetsConfiguration, PlaygroundButtonSettings, PlaygroundSettings, AnnouncementConfig, NavbarLinkConfig, NavbarGithubConfigWithOptions, NavbarGithubConfig, NavbarDropdownConfig, NavbarLink, FooterLinksConfig, JsFileConfigSettings, JsFileConfig, JsRemoteConfig, JsConfigOptions, JsConfig, MetadataConfig, RedirectConfig, CheckRuleSeverity, CheckRulesConfig, CheckConfig, IntegrationsConfig, ExperimentalConfig, GitLibraryInputSchema, PathLibraryInputSchema, LibraryInputConfiguration, LibraryOutputConfiguration, LibraryConfiguration, PageConfiguration, ChangelogConfiguration, LibraryReferenceConfiguration, FolderConfiguration, ApiReferenceEndpointConfiguration, ApiReferenceOperationConfiguration, ApiReferenceLayoutItem, ApiReferenceSectionConfiguration, ApiReferencePackageConfigurationWithOptions, ApiReferencePackageConfiguration, ApiReferenceConfiguration, NavigationItem, SectionConfiguration, UntabbedNavigationConfig, TabVariant, TabbedNavigationItemWithLayout, TabbedNavigationItemWithVariants, TabbedNavigationItem, TabbedNavigationConfig, NavigationConfig, TabConfig, VersionConfig, VersionFileConfig, ProductConfigBase, InternalProduct, ExternalProduct, ProductConfig, RelativeProductPath, AbsoluteProductPath, ProductPath, ProductFileConfig, TranslationConfigObject, TranslationConfig, DocsConfiguration;
118053
+ var TabId, ChangelogFolderRelativePath, AudienceId, RoleId, LibraryName, ProgrammingLanguage, Language, PageActionOption, AIChatLocation, AIChatModel, EditThisPageLaunch, Availability2, VersionAvailability, TitleSource, LibraryLanguage, FontStyle, FontDisplay, SearchbarPlacement, TabsPlacement, SwitcherPlacement, ContentAlignment, HeaderPosition, ChangelogLayout, ApiReferenceLayout, ProductSwitcherThemeConfig, LanguageSwitcherThemeConfig, FooterNavThemeConfig, TabsThemeConfig, BodyThemeConfig, SidebarThemeConfig, PageActionsThemeConfig, HttpSnippetLanguage, Target, TwitterCardSetting, JsScriptStrategy, FontWeight, ColorThemedConfig, ColorConfig, Audience, Role, CustomDomain, HttpSnippetsConfig, BackgroundImageThemedConfig, BackgroundImageConfiguration, CssConfig, CollapsedStringValue, CollapsedValue, WithPermissions, FeatureFlag, FeatureFlagConfiguration, WithFeatureFlags, WithViewers, SegmentConfig, FullStoryAnalyticsConfig, IntercomConfig, PostHogConfig, GTMConfig, GoogleAnalytics4Config, AnalyticsConfig, AiExamplesConfig, AIChatWebsiteDatasource, AIChatDatasource, PageDescriptionSource, AgentsConfig, AIChatConfig, FontConfigVariant, FontConfigPath, FontConfig, DocsTypographyConfig, ThemeConfig, LayoutConfig, SearchSettingsConfig, DocsSettingsConfig, ColorsConfiguration, CustomPageAction, PageActionOptions, PageActionsConfig, GithubEditThisPageConfig, EditThisPageConfig, DocsInstance, LogoConfiguration, LinkConfiguration, VersionedSnippetLanguageConfiguration, SnippetLanguageConfiguration, SnippetsConfiguration, PlaygroundButtonSettings, PlaygroundSettings, AnnouncementConfig, NavbarLinkConfig, NavbarGithubConfigWithOptions, NavbarGithubConfig, NavbarDropdownConfig, NavbarLink, FooterLinksConfig, JsFileConfigSettings, JsFileConfig, JsRemoteConfig, JsConfigOptions, JsConfig, MetadataConfig, RedirectConfig, CheckRuleSeverity, CheckRulesConfig, CheckConfig, IntegrationsConfig, ExperimentalConfig, GitLibraryInputSchema, PathLibraryInputSchema, LibraryInputConfiguration, LibraryOutputConfiguration, LibraryConfiguration, PageConfiguration, ChangelogConfiguration, LibraryReferenceConfiguration, FolderConfiguration, ApiReferenceEndpointConfiguration, ApiReferenceOperationConfiguration, ApiReferenceLayoutItem, ApiReferenceSectionConfiguration, ApiReferencePackageConfigurationWithOptions, ApiReferencePackageConfiguration, ApiReferenceConfiguration, NavigationItem, SectionConfiguration, UntabbedNavigationConfig, TabVariant, TabbedNavigationItemWithLayout, TabbedNavigationItemWithVariants, TabbedNavigationItem, TabbedNavigationConfig, NavigationConfig, TabConfig, VersionConfig, VersionFileConfig, ProductConfigBase, InternalProduct, ExternalProduct, ProductConfig, RelativeProductPath, AbsoluteProductPath, ProductPath, ProductFileConfig, TranslationConfigObject, TranslationConfig, DocsConfiguration;
118053
118054
  var init_DocsYmlSchemas = __esm({
118054
118055
  "../configuration/lib/docs-yml/DocsYmlSchemas.js"() {
118055
118056
  "use strict";
@@ -118110,6 +118111,7 @@ var init_DocsYmlSchemas = __esm({
118110
118111
  ContentAlignment = external_exports.enum(["center", "left"]);
118111
118112
  HeaderPosition = external_exports.enum(["fixed", "static"]);
118112
118113
  ChangelogLayout = external_exports.enum(["timeline", "classic"]);
118114
+ ApiReferenceLayout = external_exports.enum(["indented", "cards"]);
118113
118115
  ProductSwitcherThemeConfig = external_exports.enum(["default", "toggle", "tabs"]);
118114
118116
  LanguageSwitcherThemeConfig = external_exports.enum(["default", "minimal"]);
118115
118117
  FooterNavThemeConfig = external_exports.enum(["default", "minimal"]);
@@ -118262,6 +118264,7 @@ var init_DocsYmlSchemas = __esm({
118262
118264
  "hide-feedback": external_exports.boolean().optional(),
118263
118265
  "mobile-toc": external_exports.boolean().optional(),
118264
118266
  "changelog-layout": ChangelogLayout.optional(),
118267
+ "api-reference-layout": ApiReferenceLayout.optional(),
118265
118268
  "show-nav-availability-badges": external_exports.boolean().optional()
118266
118269
  });
118267
118270
  SearchSettingsConfig = external_exports.object({
@@ -118897,6 +118900,18 @@ var init_ApiReferenceEndpointConfiguration = __esm({
118897
118900
  }
118898
118901
  });
118899
118902
 
118903
+ // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayout.js
118904
+ var ApiReferenceLayout2;
118905
+ var init_ApiReferenceLayout = __esm({
118906
+ "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayout.js"() {
118907
+ "use strict";
118908
+ ApiReferenceLayout2 = {
118909
+ Indented: "indented",
118910
+ Cards: "cards"
118911
+ };
118912
+ }
118913
+ });
118914
+
118900
118915
  // ../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayoutItem.js
118901
118916
  var init_ApiReferenceLayoutItem = __esm({
118902
118917
  "../configuration/lib/docs-yml/schemas/sdk/api/resources/docs/types/ApiReferenceLayoutItem.js"() {
@@ -120113,6 +120128,7 @@ var init_types100 = __esm({
120113
120128
  init_AnnouncementConfig();
120114
120129
  init_ApiReferenceConfiguration();
120115
120130
  init_ApiReferenceEndpointConfiguration();
120131
+ init_ApiReferenceLayout();
120116
120132
  init_ApiReferenceLayoutItem();
120117
120133
  init_ApiReferenceOperationConfiguration();
120118
120134
  init_ApiReferencePackageConfiguration();
@@ -120262,6 +120278,7 @@ var docs_exports = {};
120262
120278
  __export(docs_exports, {
120263
120279
  AiChatLocation: () => AiChatLocation,
120264
120280
  AiChatModel: () => AiChatModel,
120281
+ ApiReferenceLayout: () => ApiReferenceLayout2,
120265
120282
  Availability: () => Availability3,
120266
120283
  BodyThemeConfig: () => BodyThemeConfig2,
120267
120284
  ChangelogLayout: () => ChangelogLayout2,
@@ -120316,6 +120333,7 @@ var api_exports2 = {};
120316
120333
  __export(api_exports2, {
120317
120334
  AiChatLocation: () => AiChatLocation,
120318
120335
  AiChatModel: () => AiChatModel,
120336
+ ApiReferenceLayout: () => ApiReferenceLayout2,
120319
120337
  Availability: () => Availability3,
120320
120338
  BodyThemeConfig: () => BodyThemeConfig2,
120321
120339
  ChangelogLayout: () => ChangelogLayout2,
@@ -123022,6 +123040,16 @@ var init_ApiReferenceEndpointConfiguration2 = __esm({
123022
123040
  }
123023
123041
  });
123024
123042
 
123043
+ // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceLayout.js
123044
+ var ApiReferenceLayout3;
123045
+ var init_ApiReferenceLayout2 = __esm({
123046
+ "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceLayout.js"() {
123047
+ "use strict";
123048
+ init_core5();
123049
+ ApiReferenceLayout3 = schemas_exports6.enum_(["indented", "cards"]);
123050
+ }
123051
+ });
123052
+
123025
123053
  // ../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/ApiReferenceOperationConfiguration.js
123026
123054
  var ApiReferenceOperationConfiguration2;
123027
123055
  var init_ApiReferenceOperationConfiguration2 = __esm({
@@ -123842,6 +123870,7 @@ var init_LayoutConfig2 = __esm({
123842
123870
  "../configuration/lib/docs-yml/schemas/sdk/serialization/resources/docs/types/LayoutConfig.js"() {
123843
123871
  "use strict";
123844
123872
  init_core5();
123873
+ init_ApiReferenceLayout2();
123845
123874
  init_ChangelogLayout2();
123846
123875
  init_ContentAlignment2();
123847
123876
  init_HeaderPosition2();
@@ -123863,6 +123892,7 @@ var init_LayoutConfig2 = __esm({
123863
123892
  hideFeedback: schemas_exports6.property("hide-feedback", schemas_exports6.boolean().optional()),
123864
123893
  mobileToc: schemas_exports6.property("mobile-toc", schemas_exports6.boolean().optional()),
123865
123894
  changelogLayout: schemas_exports6.property("changelog-layout", ChangelogLayout3.optional()),
123895
+ apiReferenceLayout: schemas_exports6.property("api-reference-layout", ApiReferenceLayout3.optional()),
123866
123896
  showNavAvailabilityBadges: schemas_exports6.property("show-nav-availability-badges", schemas_exports6.boolean().optional())
123867
123897
  });
123868
123898
  }
@@ -124933,6 +124963,7 @@ var init_types101 = __esm({
124933
124963
  init_AnnouncementConfig2();
124934
124964
  init_ApiReferenceConfiguration2();
124935
124965
  init_ApiReferenceEndpointConfiguration2();
124966
+ init_ApiReferenceLayout2();
124936
124967
  init_ApiReferenceLayoutItem2();
124937
124968
  init_ApiReferenceOperationConfiguration2();
124938
124969
  init_ApiReferencePackageConfiguration2();
@@ -125092,6 +125123,7 @@ __export(docs_exports2, {
125092
125123
  AnnouncementConfig: () => AnnouncementConfig2,
125093
125124
  ApiReferenceConfiguration: () => ApiReferenceConfiguration2,
125094
125125
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration2,
125126
+ ApiReferenceLayout: () => ApiReferenceLayout3,
125095
125127
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem2,
125096
125128
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration2,
125097
125129
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration2,
@@ -125265,6 +125297,7 @@ __export(serialization_exports3, {
125265
125297
  AnnouncementConfig: () => AnnouncementConfig2,
125266
125298
  ApiReferenceConfiguration: () => ApiReferenceConfiguration2,
125267
125299
  ApiReferenceEndpointConfiguration: () => ApiReferenceEndpointConfiguration2,
125300
+ ApiReferenceLayout: () => ApiReferenceLayout3,
125268
125301
  ApiReferenceLayoutItem: () => ApiReferenceLayoutItem2,
125269
125302
  ApiReferenceOperationConfiguration: () => ApiReferenceOperationConfiguration2,
125270
125303
  ApiReferencePackageConfiguration: () => ApiReferencePackageConfiguration2,
@@ -125431,6 +125464,7 @@ var schemas_exports7 = {};
125431
125464
  __export(schemas_exports7, {
125432
125465
  AiChatLocation: () => AiChatLocation,
125433
125466
  AiChatModel: () => AiChatModel,
125467
+ ApiReferenceLayout: () => ApiReferenceLayout2,
125434
125468
  Availability: () => Availability3,
125435
125469
  BodyThemeConfig: () => BodyThemeConfig2,
125436
125470
  ChangelogLayout: () => ChangelogLayout2,
@@ -150551,7 +150585,7 @@ var init_js_yaml = __esm({
150551
150585
  function readDoubleQuotedScalar(state, nodeIndent) {
150552
150586
  let captureStart;
150553
150587
  let captureEnd;
150554
- let tmp23;
150588
+ let tmp22;
150555
150589
  let ch2 = state.input.charCodeAt(state.position);
150556
150590
  if (ch2 !== 34) return false;
150557
150591
  state.kind = "scalar";
@@ -150569,12 +150603,12 @@ var init_js_yaml = __esm({
150569
150603
  else if (ch2 < 256 && simpleEscapeCheck[ch2]) {
150570
150604
  state.result += simpleEscapeMap[ch2];
150571
150605
  state.position++;
150572
- } else if ((tmp23 = escapedHexLen(ch2)) > 0) {
150573
- let hexLength = tmp23;
150606
+ } else if ((tmp22 = escapedHexLen(ch2)) > 0) {
150607
+ let hexLength = tmp22;
150574
150608
  let hexResult = 0;
150575
150609
  for (; hexLength > 0; hexLength--) {
150576
150610
  ch2 = state.input.charCodeAt(++state.position);
150577
- if ((tmp23 = fromHexCode(ch2)) >= 0) hexResult = (hexResult << 4) + tmp23;
150611
+ if ((tmp22 = fromHexCode(ch2)) >= 0) hexResult = (hexResult << 4) + tmp22;
150578
150612
  else throwError(state, "expected hexadecimal character");
150579
150613
  }
150580
150614
  state.result += charFromCodepoint(hexResult);
@@ -150676,7 +150710,7 @@ var init_js_yaml = __esm({
150676
150710
  let textIndent = nodeIndent;
150677
150711
  let emptyLines = 0;
150678
150712
  let atMoreIndented = false;
150679
- let tmp23;
150713
+ let tmp22;
150680
150714
  let ch2 = state.input.charCodeAt(state.position);
150681
150715
  if (ch2 === 124) folding = false;
150682
150716
  else if (ch2 === 62) folding = true;
@@ -150687,9 +150721,9 @@ var init_js_yaml = __esm({
150687
150721
  ch2 = state.input.charCodeAt(++state.position);
150688
150722
  if (ch2 === 43 || ch2 === 45) if (CHOMPING_CLIP === chomping) chomping = ch2 === 43 ? CHOMPING_KEEP : CHOMPING_STRIP;
150689
150723
  else throwError(state, "repeat of a chomping mode identifier");
150690
- else if ((tmp23 = fromDecimalCode(ch2)) >= 0) if (tmp23 === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
150724
+ else if ((tmp22 = fromDecimalCode(ch2)) >= 0) if (tmp22 === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
150691
150725
  else if (!detectedIndent) {
150692
- textIndent = nodeIndent + tmp23 - 1;
150726
+ textIndent = nodeIndent + tmp22 - 1;
150693
150727
  detectedIndent = true;
150694
150728
  } else throwError(state, "repeat of an indentation width identifier");
150695
150729
  else break;
@@ -171107,7 +171141,7 @@ var require_loader2 = __commonJS({
171107
171141
  function readDoubleQuotedScalar(state, nodeIndent) {
171108
171142
  let captureStart;
171109
171143
  let captureEnd;
171110
- let tmp23;
171144
+ let tmp22;
171111
171145
  let ch2 = state.input.charCodeAt(state.position);
171112
171146
  if (ch2 !== 34) {
171113
171147
  return false;
@@ -171129,13 +171163,13 @@ var require_loader2 = __commonJS({
171129
171163
  } else if (ch2 < 256 && simpleEscapeCheck[ch2]) {
171130
171164
  state.result += simpleEscapeMap[ch2];
171131
171165
  state.position++;
171132
- } else if ((tmp23 = escapedHexLen(ch2)) > 0) {
171133
- let hexLength = tmp23;
171166
+ } else if ((tmp22 = escapedHexLen(ch2)) > 0) {
171167
+ let hexLength = tmp22;
171134
171168
  let hexResult = 0;
171135
171169
  for (; hexLength > 0; hexLength--) {
171136
171170
  ch2 = state.input.charCodeAt(++state.position);
171137
- if ((tmp23 = fromHexCode(ch2)) >= 0) {
171138
- hexResult = (hexResult << 4) + tmp23;
171171
+ if ((tmp22 = fromHexCode(ch2)) >= 0) {
171172
+ hexResult = (hexResult << 4) + tmp22;
171139
171173
  } else {
171140
171174
  throwError(state, "expected hexadecimal character");
171141
171175
  }
@@ -171259,7 +171293,7 @@ var require_loader2 = __commonJS({
171259
171293
  let textIndent = nodeIndent;
171260
171294
  let emptyLines = 0;
171261
171295
  let atMoreIndented = false;
171262
- let tmp23;
171296
+ let tmp22;
171263
171297
  let ch2 = state.input.charCodeAt(state.position);
171264
171298
  if (ch2 === 124) {
171265
171299
  folding = false;
@@ -171278,11 +171312,11 @@ var require_loader2 = __commonJS({
171278
171312
  } else {
171279
171313
  throwError(state, "repeat of a chomping mode identifier");
171280
171314
  }
171281
- } else if ((tmp23 = fromDecimalCode(ch2)) >= 0) {
171282
- if (tmp23 === 0) {
171315
+ } else if ((tmp22 = fromDecimalCode(ch2)) >= 0) {
171316
+ if (tmp22 === 0) {
171283
171317
  throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
171284
171318
  } else if (!detectedIndent) {
171285
- textIndent = nodeIndent + tmp23 - 1;
171319
+ textIndent = nodeIndent + tmp22 - 1;
171286
171320
  detectedIndent = true;
171287
171321
  } else {
171288
171322
  throwError(state, "repeat of an indentation width identifier");
@@ -188835,9 +188869,9 @@ var require_js_levenshtein = __commonJS({
188835
188869
  return 0;
188836
188870
  }
188837
188871
  if (a3.length > b5.length) {
188838
- var tmp23 = a3;
188872
+ var tmp22 = a3;
188839
188873
  a3 = b5;
188840
- b5 = tmp23;
188874
+ b5 = tmp22;
188841
188875
  }
188842
188876
  var la = a3.length;
188843
188877
  var lb = b5.length;
@@ -197454,7 +197488,7 @@ var require_loader3 = __commonJS({
197454
197488
  throwError(state, "unexpected end of the stream within a single quoted scalar");
197455
197489
  }
197456
197490
  function readDoubleQuotedScalar(state, nodeIndent) {
197457
- var captureStart, captureEnd, hexLength, hexResult, tmp23, tmpEsc, ch2;
197491
+ var captureStart, captureEnd, hexLength, hexResult, tmp22, tmpEsc, ch2;
197458
197492
  ch2 = state.input.charCodeAt(state.position);
197459
197493
  if (34 !== ch2) {
197460
197494
  return false;
@@ -197481,13 +197515,13 @@ var require_loader3 = __commonJS({
197481
197515
  } else if (ch2 < 256 && (state.allowAnyEscape ? customEscapeCheck[ch2] : simpleEscapeCheck[ch2])) {
197482
197516
  scalar.value += state.allowAnyEscape ? customEscapeMap[ch2] : simpleEscapeMap[ch2];
197483
197517
  state.position++;
197484
- } else if ((tmp23 = escapedHexLen(ch2)) > 0) {
197485
- hexLength = tmp23;
197518
+ } else if ((tmp22 = escapedHexLen(ch2)) > 0) {
197519
+ hexLength = tmp22;
197486
197520
  hexResult = 0;
197487
197521
  for (; hexLength > 0; hexLength--) {
197488
197522
  ch2 = state.input.charCodeAt(++state.position);
197489
- if ((tmp23 = fromHexCode(ch2)) >= 0) {
197490
- hexResult = (hexResult << 4) + tmp23;
197523
+ if ((tmp22 = fromHexCode(ch2)) >= 0) {
197524
+ hexResult = (hexResult << 4) + tmp22;
197491
197525
  } else {
197492
197526
  throwError(state, "expected hexadecimal character");
197493
197527
  }
@@ -197596,7 +197630,7 @@ var require_loader3 = __commonJS({
197596
197630
  throwError(state, "unexpected end of the stream within a flow collection");
197597
197631
  }
197598
197632
  function readBlockScalar(state, nodeIndent) {
197599
- var captureStart, folding, chomping = CHOMPING_CLIP, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp23, ch2;
197633
+ var captureStart, folding, chomping = CHOMPING_CLIP, detectedIndent = false, textIndent = nodeIndent, emptyLines = 0, atMoreIndented = false, tmp22, ch2;
197600
197634
  ch2 = state.input.charCodeAt(state.position);
197601
197635
  if (ch2 === 124) {
197602
197636
  folding = false;
@@ -197617,11 +197651,11 @@ var require_loader3 = __commonJS({
197617
197651
  } else {
197618
197652
  throwError(state, "repeat of a chomping mode identifier");
197619
197653
  }
197620
- } else if ((tmp23 = fromDecimalCode(ch2)) >= 0) {
197621
- if (tmp23 === 0) {
197654
+ } else if ((tmp22 = fromDecimalCode(ch2)) >= 0) {
197655
+ if (tmp22 === 0) {
197622
197656
  throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
197623
197657
  } else if (!detectedIndent) {
197624
- textIndent = nodeIndent + tmp23 - 1;
197658
+ textIndent = nodeIndent + tmp22 - 1;
197625
197659
  detectedIndent = true;
197626
197660
  } else {
197627
197661
  throwError(state, "repeat of an indentation width identifier");
@@ -213858,7 +213892,7 @@ var require_utc = __commonJS({
213858
213892
  }
213859
213893
  });
213860
213894
 
213861
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.92-64cea478ee_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
213895
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
213862
213896
  function assertNever3(x4) {
213863
213897
  throw new Error("Unexpected value: " + JSON.stringify(x4));
213864
213898
  }
@@ -216707,6 +216741,103 @@ function createDocsV1ReadClient(options2) {
216707
216741
  });
216708
216742
  return createORPCClient(link3);
216709
216743
  }
216744
+ function joinContinuations(text9) {
216745
+ const logical = [];
216746
+ let buffer = "";
216747
+ for (const rawLine of text9.split(/\r?\n/)) {
216748
+ const line = rawLine.replace(/\s+$/, "");
216749
+ if (line.endsWith("\\") && !line.endsWith("\\\\")) {
216750
+ buffer += `${line.slice(0, -1)} `;
216751
+ continue;
216752
+ }
216753
+ buffer += line;
216754
+ logical.push(buffer);
216755
+ buffer = "";
216756
+ }
216757
+ if (buffer) {
216758
+ logical.push(buffer);
216759
+ }
216760
+ return logical;
216761
+ }
216762
+ function tokenizeValue(value2) {
216763
+ const tokens = [];
216764
+ let i5 = 0;
216765
+ const n2 = value2.length;
216766
+ while (i5 < n2) {
216767
+ const ch2 = value2[i5];
216768
+ if (/\s/.test(ch2 ?? "")) {
216769
+ i5++;
216770
+ continue;
216771
+ }
216772
+ if (ch2 === '"') {
216773
+ i5++;
216774
+ let buf = "";
216775
+ while (i5 < n2) {
216776
+ const c5 = value2[i5];
216777
+ if (c5 === "\\" && i5 + 1 < n2 && value2[i5 + 1] === '"') {
216778
+ buf += '"';
216779
+ i5 += 2;
216780
+ continue;
216781
+ }
216782
+ if (c5 === '"') {
216783
+ i5++;
216784
+ break;
216785
+ }
216786
+ buf += c5;
216787
+ i5++;
216788
+ }
216789
+ tokens.push(buf);
216790
+ } else {
216791
+ let j5 = i5;
216792
+ while (j5 < n2 && !/\s/.test(value2[j5] ?? "")) {
216793
+ j5++;
216794
+ }
216795
+ tokens.push(value2.slice(i5, j5));
216796
+ i5 = j5;
216797
+ }
216798
+ }
216799
+ return tokens;
216800
+ }
216801
+ function validateDoxyfileContent(content5) {
216802
+ const errors4 = [];
216803
+ const droppedKeys = [];
216804
+ if (content5.length > MAX_DOXYFILE_CONTENT_LENGTH) {
216805
+ errors4.push(`doxyfileContent exceeds ${MAX_DOXYFILE_CONTENT_LENGTH} characters`);
216806
+ return { errors: errors4, droppedKeys };
216807
+ }
216808
+ for (const line of joinContinuations(content5)) {
216809
+ const stripped = line.trim();
216810
+ if (!stripped || stripped.startsWith("#")) {
216811
+ continue;
216812
+ }
216813
+ if (AT_DIRECTIVE_RE.test(stripped)) {
216814
+ const directive = stripped.split(/\s+/)[0] ?? stripped;
216815
+ if (!droppedKeys.includes(directive)) {
216816
+ droppedKeys.push(directive);
216817
+ }
216818
+ continue;
216819
+ }
216820
+ const match3 = SETTING_LINE_RE.exec(line);
216821
+ if (match3 == null) {
216822
+ continue;
216823
+ }
216824
+ const key2 = match3[1] ?? "";
216825
+ const rawValue = match3[3] ?? "";
216826
+ const validator = DOXYFILE_ALLOWED_KEYS[key2];
216827
+ if (validator == null) {
216828
+ if (!droppedKeys.includes(key2)) {
216829
+ droppedKeys.push(key2);
216830
+ }
216831
+ continue;
216832
+ }
216833
+ for (const token of tokenizeValue(rawValue)) {
216834
+ if (token.endsWith("\\") || token.includes("$(") || !validator(token)) {
216835
+ errors4.push(`Invalid value for Doxyfile setting ${key2}: ${JSON.stringify(token)}`);
216836
+ }
216837
+ }
216838
+ }
216839
+ return { errors: errors4, droppedKeys };
216840
+ }
216710
216841
  function createLibraryDocsClient(options2) {
216711
216842
  const link3 = new OpenAPILink(libraryDocsContract, {
216712
216843
  url: `${options2.baseUrl}/v2/registry/docs`,
@@ -219549,6 +219680,12 @@ function groupByMonth(entries24) {
219549
219680
  }
219550
219681
  return months;
219551
219682
  }
219683
+ function isScopedTo(slug, prefix2) {
219684
+ return prefix2.length > 0 && (slug === prefix2 || slug.startsWith(`${prefix2}/`));
219685
+ }
219686
+ function isNestedUnder(slug, prefix2) {
219687
+ return prefix2.length > 0 && slug.startsWith(`${prefix2}/`);
219688
+ }
219552
219689
  function getFrontmatter(markdown) {
219553
219690
  const frontmatterMatch = /^---\s*([\s\S]*?)\s*---/.exec(markdown.trimStart());
219554
219691
  if (!frontmatterMatch || frontmatterMatch[1] == null) {
@@ -220440,9 +220577,9 @@ function mutableDeleteChild(parent, node4) {
220440
220577
  return "should-delete-parent";
220441
220578
  }
220442
220579
  }
220443
- var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, DashboardAnalyticsCommonInputSchema, DashboardFeedbackInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, QueryAnalyticsResponseSchema, OrgMembersResponseSchema, SiteGitRepositorySchema, SiteConfigResponseSchema, SitePasswordProtectionSchema, SiteSettingsResponseSchema, dashboardAgentContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, PlaygroundSettingsSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, isHeaderTab, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
220580
+ var import_ts_essentials, import_qs, import_ts_essentials2, import_ts_essentials3, import_url_join, import_qs2, import_fast_deep_equal, import_ts_essentials4, import_url_join2, import_ts_essentials5, import_ts_essentials6, import_ts_essentials7, import_url_join3, import_url_join4, import_dayjs, import_utc, import_url_join5, import_ts_essentials8, import_ts_essentials9, import_ts_essentials10, import_ts_essentials11, import_ts_essentials12, __defProp4, __export3, api_definition_exports, LOOP_TOLERANCE, LARGE_LOOP_TOLERANCE, assertNever_default, EMPTY_ARRAY2, EMPTY_OBJECT2, identity_default2, isPlainObject_default2, conjunctions, articles, prepositions, lowerCase, specials, word, regex3, convertToRegExp, src_default, SPECIAL_TOKENS2, titleCase_default, visitDiscriminatedUnion_default, OrgIdSchema, ApiIdSchema, ApiDefinitionIdSchema, HttpMethodSchema3, HttpMethod7, UrlSchema, EndpointPathLiteralSchema, EndpointIdentifierSchema, SdkRequestSchema, DocsConfigIdSchema, GrpcIdSchema, PageIdSchema, RoleIdSchema, TokenIdSchema, VersionIdSchema, LinkTarget, GrpcMethod, Availability7, SupportedLanguage, HttpSnippetLanguage4, SnippetsByEndpointMethodSchema, SdkSchema, TypeIdSchema, EndpointIdSchema, WebSocketIdSchema, WebhookIdSchema, GraphQlOperationIdSchema, GraphQlTypeCategorySchema, EnvironmentIdSchema, PropertyKeySchema, AuthSchemeIdSchema, SubpackageIdSchema, WebSocketMessageIdSchema, FileIdSchema, MultipleAuthTypeSchema, GrpcMethodSchema, AvailabilitySchema3, WebSocketMessageOriginSchema, WebhookHttpMethodSchema, WithDescriptionSchema, WithAvailabilitySchema, EnvironmentSchema3, RestProtocolSchema, OpenRpcProtocolSchema, GrpcProtocolSchema, ProtocolSchema, ObjectPropertyAccessSchema, TypeReferenceIdDefaultSchema, _numberNullish, _numberIntNullish, coercedNumberNullish, coercedNumberIntNullish, IntegerTypeSchema, DoubleTypeSchema, StringTypeSchema, LongTypeSchema, _booleanNullish, BooleanTypeSchema, DatetimeTypeSchema, UuidTypeSchema, Base64TypeSchema, DateTypeSchema, BigIntegerTypeSchema, UintTypeSchema, Uint64TypeSchema, ScalarTypeSchema, PrimitiveTypeSchema, LiteralTypeSchema, TypeReferenceSchema2, GraphQlArgumentSchema, ObjectPropertySchema2, ObjectTypeSchema, EnumValueSchema2, EnumTypeSchema, DiscriminatedUnionVariantSchema, DiscriminatedUnionTypeSchema, ContentTypeSchema, FilePropertySingleSchema, FilePropertyArraySchema, FormDataFilePropertySchema, FormDataBodyPropertySchema, FormDataPropertySchema, FormDataRequestSchema, EndpointPathPartSchema, PathParameterSchema, EndpointPathSchema, QueryParameterSchema, HeaderSchema, JsonBodyShapeSchema, FileDownloadResponseBodyShapeSchema, StreamResponseV2Schema, StreamConditionSchema, FilenameWithDataSchema, FormValueSchema, BytesValueSchema, ExampleEndpointRequestSchema, ExampleServerSentEventSchema, ExampleEndpointResponseSchema, ErrorDeclarationSchema2, ExampleErrorResponseSchema, ErrorExampleSchema, GraphQlOperationTypeSchema, GraphQlExampleSchema, CodeSnippetSchema, GraphQlOperationSchema, WebhookPayloadShapeSchema, WebhookPayloadSchema2, ExampleWebhookPayloadSchema, WebSocketMessageBodyShapeSchema, WebSocketMessageSchema, ExampleWebSocketMessageSchema, ExampleWebSocketSessionSchema, ApiNavigationConfigItemSchema, ApiNavigationConfigRootSchema, BearerAuthSchema, BasicAuthSchema, HeaderAuthSchema, OAuthClientCredentialsReferencedEndpointSchema, OAuthClientCredentialsSchema, OAuthSchema, ApiAuthSchema3, JqStringSchema, RegisterLanguageSchema, RegisterUndiscriminatedUnionVariantSchema, RegisterUndiscriminatedUnionTypeSchema, RegisterTypeShapeSchema, RegisterTypeDefinitionSchema, RegisterBytesRequestSchema, RegisterJsonRequestBodySchema, RegisterHttpRequestBodyShapeSchema, RegisterHttpRequestSchema, RegisterHttpRequestsV2Schema, RegisterCustomCodeSampleSchema, RegisterExampleEndpointCallSchema, RegisterNonStreamResponseSchema, RegisterStreamResponseSchema, RegisterStreamConditionResponseSchema, RegisterHttpResponseBodyShapeSchema, RegisterHttpResponseSchema, RegisterHttpResponsesV2Schema, RegisterErrorDeclarationV2Schema, RegisterEndpointDefinitionSchema, RegisterWebhookDefinitionSchema, RegisterWebSocketChannelSchema, SourceIdSchema, SourceSchema2, SourceUploadSchema, DynamicIRSchema, DynamicIRUploadSchema, TypescriptPackageSchema, PythonPackageSchema, GoModuleSchema, JavaCoordinateSchema, RubyGemSchema, NugetPackageSchema, ComposerPackageSchema, SwiftPackageSchema, CratesPackageSchema, SnippetsConfigSchema, RegisterApiDefinitionPackageSchema, RegisterApiDefinitionSubpackageSchema, RegisterApiDefinitionSchema, RegisterApiDefinitionResponseSchema, SnippetInfoSchema, SdkDynamicIrDownloadSchema, GetSdkDynamicIrUploadUrlsResponseSchema, CheckSdkDynamicIrExistsResponseSchema, EndpointExampleGenerationErrorBodySchema, PathPartSchema, WithNamespaceSchema, LatestAuthSchemeSchema, LatestObjectPropertyAccessSchema, LatestTypeReferenceIdDefaultSchema, LatestPrimitiveTypeSchema, LatestLiteralTypeSchema, LatestUnknownTypeSchema, LatestEnumValueSchema, LatestEnumTypeSchema, LatestObjectPropertySchema, LatestParameterPropertySchema, LatestObjectTypeSchema, LatestUndiscriminatedUnionVariantSchema, LatestUndiscriminatedUnionTypeSchema, LatestDiscriminatedUnionVariantSchema, LatestDiscriminatedUnionTypeSchema, LatestTypeShapeSchema, LatestTypeReferenceSchema, LatestTypeDefinitionSchema, LatestContentTypeSchema, LatestBytesRequestSchema, LatestFormDataPropertySchema, LatestFormDataRequestSchema, LatestNullableTypeSchema, LatestOptionalTypeSchema, LatestListTypeSchema, LatestSetTypeSchema, LatestMapTypeSchema, LatestLanguageSchema, LatestExampleEndpointRequestSchema, LatestExampleEndpointResponseSchema, LatestExampleErrorResponseSchema, LatestHttpRequestBodyShapeSchema, LatestHttpRequestSchema, LatestFileDownloadResponseBodyShapeSchema, LatestStreamResponseSchema, LatestHttpResponseBodyShapeSchema, LatestHttpResponseSchema, LatestErrorExampleSchema, LatestErrorResponseSchema, LatestCodeSnippetSchema, LatestExampleEndpointCallSchema, LatestEndpointDefinitionSchema, LatestGraphQlOperationTypeSchema, LatestGraphQlArgumentSchema, LatestGraphQlExampleSchema, LatestGraphQlOperationSchema, LatestWebhookPayloadShapeSchema, LatestWebhookPayloadSchema, LatestExampleWebhookPayloadSchema, LatestWebhookDefinitionSchema, LatestWebSocketMessageSchema, LatestExampleWebSocketMessageSchema, LatestExampleWebSocketSessionSchema, LatestWebSocketChannelSchema, LatestSubpackageMetadataSchema, LatestApiDefinitionSchema, ApiDefinitionSchema2, AvailabilityOrder, UnwrapReferenceCache, UnwrapObjectTypeCache, ApiTypeIdVisitor, ApiDefinitionPruner, ROOT_PACKAGE_ID, MULTIPART_FILENAME_PLACEHOLDER, STATUS_CODE_MESSAGES, STATUS_CODE_MESSAGES_METHOD_OVERRIDES, AUTH_SCHEME_ID, DEFAULT_TYPE_REFERENCE, DEFAULT_TYPE_SHAPE, DEFAULT_WEBHOOK_PAYLOAD_SHAPE, DEFAULT_WEBHOOK_PAYLOAD, DEFAULT_GRAPHQL_ARGUMENT, ApiDefinitionV1ToLatest, HTTP_SNIPPET_CLIENTS, snippetCache, DEFAULT_MAX_DEPTH, IMPORT_PREFIXES, PHP_AUTOLOAD_INSERT, HttpSnippetConverter, SDK_SNIPPET_LANGUAGES, Transformer, ReadUndiscriminatedUnionVariantSchema, ReadUndiscriminatedUnionTypeSchema, ReadTypeShapeSchema, ReadTypeDefinitionSchema, ReadBytesRequestSchema, ReadHttpRequestBodyShapeSchema, ReadHttpRequestSchema, ReadHttpRequestsV2Schema, ReadSupportedLanguageSchema, ReadLanguageSchema, ReadCustomCodeSampleSchema, ReadPythonSnippetSchema, ReadTypescriptSnippetSchema, ReadGoSnippetSchema, ReadRubySnippetSchema, ReadCsharpSnippetSchema, ReadCodeExamplesSchema, ReadExampleEndpointCallSchema, ReadNonStreamResponseSchema, ReadStreamResponseSchema, ReadStreamConditionResponseSchema, ReadHttpResponseBodyShapeSchema, ReadHttpResponseSchema, ReadHttpResponsesV2Schema, ReadErrorDeclarationV2Schema, ReadEndpointDefinitionSchema, ReadWebhookDefinitionSchema, ReadWebSocketChannelSchema, ReadApiDefinitionPackageSchema, ReadApiDefinitionSubpackageSchema, ReadApiDefinitionSchema, apiLatestContract, apiReadContract, apiRegisterContract, DocsDeploymentStatusSchema, DocsSiteSchema, DocsDeploymentSchema, RegisterDocsSiteInputSchema, GetPostmanCollectionIdInputSchema, GetDocsStatusInputSchema, SetDocsStatusInputSchema, CreateDeploymentInputSchema, UpdateDeploymentStatusInputSchema, GetDocsDeploymentsInputSchema, UnlockDeployInputSchema, GetDocsStatusResponseSchema, GetDocsDeploymentsResponseSchema, CreateDeploymentResponseSchema, UpdateDeploymentStatusResponseSchema, GetPostmanCollectionIdResponseSchema, UnlockDeployResponseSchema, GetDocsSitesByCollectionIdInputSchema, FindSiteByOrgAndCollectionInputSchema, FindSiteByOrgAndCollectionResponseSchema, RecordPostmanNotificationInputSchema, RecordPostmanNotificationResponseSchema, GetUnnotifiedPostmanSitesResponseSchema, GetDocsSitesByCollectionIdResponseSchema, DeleteDocsSiteByServiceInputSchema, DeleteDocsSiteByServiceResponseSchema, SetEditorRepoUrlInputSchema, docsDeploymentContract, DocsSiteUrlSchema, DashboardDocsSiteSchema, GetDocsSitesForOrgInputSchema, GetDocsSitesForOrgResponseSchema, IsDocsSiteInOrgInputSchema, IsDocsSiteInOrgResponseSchema, DeleteAllDocsSitesForOrgInputSchema, DeleteAllDocsSitesForOrgResponseSchema, dashboardContract, DashboardAnalyticsCommonInputSchema, DashboardFeedbackInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, QueryAnalyticsResponseSchema, OrgMembersResponseSchema, SiteGitRepositorySchema, SiteConfigResponseSchema, SitePasswordProtectionSchema, SiteSettingsResponseSchema, dashboardAgentContract, FileIdSchema2, PageIdSchema2, UrlSchema2, VersionIdSchema2, ApiDefinitionIdSchema2, EndpointIdSchema2, WebSocketIdSchema2, WebhookIdSchema2, RoleIdSchema2, SubpackageIdSchema2, LinkTargetSchema, AvailabilitySchema22, RgbaColorSchema, FileIdOrUrlSchema, LanguageSchema, Bcp47LocaleSchema, DocsTranslationsConfigSchema, ProgrammingLanguageSchema, AnnouncementConfigSchema, SegmentConfigSchema, FullStoryAnalyticsConfigSchema, IntercomConfigSchema, PostHogConfigSchema, GTMConfigSchema, GoogleAnalytics4ConfigSchema, AmplitudeConfigSchema, MixpanelConfigSchema, HotJarConfigSchema, KoalaConfigSchema, LogRocketConfigSchema, PirschConfigSchema, PlausibleConfigSchema, FathomConfigSchema, ClearBitConfigSchema, HeapConfigSchema, AnalyticsConfigSchema, SearchbarPlacementSchema, TabsPlacementSchema, SwitcherPlacementSchema, ContentAlignmentSchema, HeaderPositionSchema, PageWidthSizeConfigSchema, SizeConfigSchema, TabsAlignmentSchema, ChangelogLayoutSchema, DocsLayoutConfigSchema, FooterNavConfigSchema, DocsSidebarConfigSchema, DocsBodyConfigSchema, DocsTabsStyleSchema, DocsTabsObjectConfigSchema, DocsTabsConfigSchema, DocsPageActionsConfigSchema, LanguageSwitcherConfigSchema, ProductSwitcherConfigSchema, DocsThemeConfigSchema, HttpSnippetLanguageSchema, HttpSnippetsConfigSchema, SearchSettingsConfigSchema, DocsSettingsConfigSchema, TwitterCardSettingSchema, MetadataConfigSchema, RedirectConfigSchema, WithPermissionsSchema, NavbarLinkMetadataSchema, NavbarGithubMetadataSchema, NavbarLinkDropdownMetadataSchema, NavbarLinkSchema, FooterLinkSchema, CssConfigSchema, JsScriptStrategySchema, JsRemoteConfigSchema, JsFileConfigSchema, JsConfigSchema, IntegrationsConfigSchema, FontStyleSchema, FontDisplaySchema, CustomFontConfigVariantSchema, CustomFontConfigSchema, FontConfigV2Schema, DocsTypographyConfigV2Schema, ThemedFileIdSchema, ColorsConfigSchema, ColorUnthemedConfigSchema, ColorThemedConfigSchema, ColorConfigSchema, ColorsConfigV2Schema, FontConfigSchema, DocsTypographyConfigSchema, EditThisPageLaunchSchema, AIChatLocationSchema, AIChatWebsiteDatasourceSchema, AIChatDatasourceSchema, AIModelSchema, AIChatConfigSchema, PageDescriptionSourceSchema, AgentsConfigSchema, PageActionOptionSchema, CustomPageActionSchema, SkillSchema, SkillsConfigSchema, PageActionOptionsSchema, PageActionsConfigSchema, HeightSchema, PageContentSchema, NavigationNodeMetadataSchema, PageMetadataSchema, LinkMetadataSchema, NavigationTabLinkSchema, ChangelogItemSchema, ChangelogSectionSchema, ChangelogSectionV3Schema, ApiSectionV2Schema, GitHubRepoSchema, NpmPackageSchema, MavenPackageSchema, PypiPackageSchema, PublishedSdkSchema, PublishedPostmanCollectionSchema, ApiArtifactsSchema, ApiNavigationConfigItemSchema2, ApiNavigationConfigRootSchema2, DocsConfigIdSchema2, UrlFileSchema, ImageFileSchema, FileSchema2, BackgroundSchema, ThemeConfigSchema, DarkAndLightModeConfigSchema, ColorsConfigV3Schema, ApiNavigationConfigItemSchema3, ApiNavigationConfigRootSchema3, ApiSectionSchema, DocsSectionSchema, NavigationItemSchema, NavigationTabGroupSchema, NavigationTabSchema, UnversionedTabbedNavigationConfigSchema, UnversionedUntabbedNavigationConfigSchema, UnversionedNavigationConfigSchema, VersionedNavigationConfigDataSchema, VersionedNavigationConfigSchema, NavigationConfigSchema, DocsConfigSchema, DocsDefinitionSchema, BaseUrlSchema, LoadDocsForUrlResponseSchema, GetDocsForDomainLegacyInputSchema, GetDocsForDomainInputSchema, docsV1ReadContract, MAX_DOXYFILE_CONTENT_LENGTH, SETTING_LINE_RE, AT_DIRECTIVE_RE, BOOL_RE, FILE_PATTERN_RE, PREDEFINED_RE, ALIAS_DEF_RE, DOXYFILE_ALLOWED_KEYS, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, SafeDoxyfileContentSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, GetSiteMetricsInputSchema, SiteMetricsSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, OrgIdSchema2, FilePathSchema, DocsRegistrationIdSchema, HeightSchema2, FileS3UploadUrlSchema, StartDocsRegisterResponseSchema, PageContentSchema2, NavigationNodeMetadataSchema2, PageMetadataSchema2, LinkMetadataSchema2, ChangelogItemSchema2, ChangelogSectionSchema2, ChangelogSectionV2Schema, ChangelogSectionV3Schema2, NavigationTabLinkSchema2, ApiNavigationConfigItemSchema4, ApiNavigationConfigSubpackageSchema, ApiNavigationConfigRootSchema4, ApiSectionSchema2, ApiSectionV2Schema2, DocsSectionSchema2, NavigationItemSchema2, NavigationTabGroupSchema2, NavigationTabSchema2, NavigationTabV2Schema, UnversionedTabbedNavigationConfigSchema2, UnversionedUntabbedNavigationConfigSchema2, UnversionedNavigationConfigSchema2, VersionedNavigationConfigDataSchema2, VersionedNavigationConfigSchema2, NavigationConfigSchema2, ThemeConfigSchema2, DarkAndLightModeConfigSchema2, ColorsConfigV3Schema2, DocsConfigSchema2, DocsDefinitionSchema2, NpmPackageSchema2, MavenPackageSchema2, PypiPackageSchema2, PublishedSdkSchema2, PublishedPostmanCollectionSchema2, ApiArtifactsSchema2, InvalidCustomDomainErrorBodySchema, OverlappingCustomDomainsSchema, FilePathSchema2, FilePathInputSchema, ImageFilePathSchema, AuthConfigSchema, StartDocsRegisterV2InputSchema, StartDocsRegisterV2ResponseSchema, StartDocsPreviewRegisterInputSchema, StartDocsPreviewRegisterResponseSchema, FinishDocsRegisterV2InputSchema, TransferOwnershipInputSchema, SetIsArchivedInputSchema, SetDocsUrlMetadataInputSchema, AlgoliaDomainInputSchema, ListAlgoliaPreviewWhitelistResponseSchema, DeleteDocsSiteInputSchema, RemoveCustomDomainAliasInputSchema, Bcp47LocaleSchema2, RegisterTranslationInputSchema, RegisterTranslationResponseSchema, docsV2WriteContract, InvalidateCachedDocsInputSchema, docsCacheContract, MissingContentSchema, RegisterResponseSchema, FinishResponseSchema, ArchiveSiteInputSchema, ArchiveSiteResponseSchema, BlobRefSchema, PageBlobRefSchema, FileManifestEntrySchema, ImageRefSchema, PathOrUrlSchema, RgbaSchema, BackgroundColorSchema, ACCENT_SCALE_KEYS, accentScaleShape, LedgerThemeConfigSchema, LedgerColorsConfigSchema, LedgerFontVariantSchema, LedgerFontConfigSchema, LedgerTypographySchema, LedgerJsFileSchema, LedgerJsConfigSchema, LedgerMetadataConfigSchema, NavbarLinksFieldSchema, FooterLinksFieldSchema, LayoutFieldSchema, ThemeFieldSchema, SettingsFieldSchema, AnalyticsFieldSchema, AIChatFieldSchema, PageActionsFieldSchema, LedgerAgentsConfigSchema, LedgerConfigSchema, MetadataStringArraySchema, FeatureFlagMetadataSchema, LinkTargetSchema2, CollapsedSchema, PlaygroundSettingsSchema, LedgerAvailabilitySchema, LedgerArtifactTypeSchema, LedgerMetadataBaseSchema, NodeMetadataFields, ApiNodeMetadataFields, LedgerSegmentDetailMetadataObjectSchema, LedgerSegmentDetailMetadataSchema, LedgerSegmentMetadataObjectSchema, LedgerSegmentMetadataSchema, LedgerMarkdownMetadataSchema, LedgerRestMetadataSchema, LedgerWebSocketMetadataSchema, LedgerWebhookMetadataSchema, LedgerGrpcMetadataSchema, LedgerGraphQlMetadataSchema, LedgerChangelogEntryMetadataSchema, LedgerLinkMetadataSchema, LedgerFileArtifactMetadataSchema, LedgerStructuralRedirectKindSchema, LedgerRedirectKindSchema, LedgerRedirectMetadataSchema, LedgerArtifactMetadataSchema, LEDGER_ARTIFACT_METADATA_SCHEMAS, NavRouteBaseSchema, LedgerNavRouteSchema, DocsPublishGitInputSchema, DocsContentFieldsSchema, LocaleEntrySchemaInternal, LocaleEntrySchema, DocsPublishInputSchemaInternal, DocsPublishInputSchema, LedgerPreviewRegisterInputSchemaInternal, LedgerPreviewRegisterInputSchema, LedgerPreviewRegisterResponseSchema, docsLedgerContract, CurrentVersionInputSchema, CurrentPreviewInputSchema, CurrentVersionResponseSchema, ContentRefSchema, SegmentDetailSchema, SegmentSchema, VersionMetadataInputSchema, VersionMetadataResponseSchema, PageContentInputSchema, PageContentResponseSchema, BatchPageContentInputSchema, BatchPageContentItemSchema, BatchPageContentResponseSchema, NavInputSchema, NavResponseSchema, RouteContextInputSchema, RouteContextResponseBaseSchema, RouteContextResponseSchema, TopLevelNavigationInputSchema, TopLevelNavigationResponseSchema, VersionSwitchTargetsInputSchema, VersionSwitchTargetSchema, VersionSwitchTargetsResponseSchema, ApiDefinitionInputSchema, ApiDefinitionResponseSchema, PrunedApiDefinitionInputSchema, PrunedApiDefinitionResponseSchema, FileArtifactInputSchema, FileArtifactResponseSchema, PresignedFileDownloadInputSchema, PresignedFileDownloadResponseSchema, FileMetadataInputSchema, FileMetadataResponseSchema, docsLedgerReadContract, GetSnapshotInputSchema, SetSnapshotInputSchema, GetDocumentsForBranchesInputSchema, EditorDocumentSchema, GetSnapshotResponseSchema, GetDocumentsForBranchesResponseSchema, editorSnapshotContract, GeneratorLanguageSchema, ScriptSchema, GeneratorScriptsSchema, GeneratorTypeSchema, ChangelogEntryTypeSchema, ChangelogEntrySchema, YankSchema, ReleaseTypeSchema, VersionRangeSchema, GeneratorSchema, GeneratorOutputSchema2, GetGeneratorByImageInputSchema, GetGeneratorInputSchema, GeneratorReleaseSchema, GeneratorReleaseRequestSchema, GetLatestGeneratorReleaseInputSchema, GetGeneratorChangelogInputSchema, ChangelogResponseSchema, GetChangelogResponseSchema, GetGeneratorReleaseInputSchema, ListGeneratorReleasesInputSchema, ListGeneratorReleasesResponseSchema, CliReleaseSchema, GetLatestCliReleaseInputSchema, GetCliChangelogInputSchema, GetMinCliForIrInputSchema, UpsertCliReleaseInputSchema, GetCliReleaseInputSchema, ListCliReleasesInputSchema, ListCliReleasesResponseSchema, generatorsContract, generatorVersionsContract, generatorCliContract, CheckRunSchema, GithubRepositoryIdSchema, RepositoryIdSchema, BaseRepositorySchema, SdkRepositorySchema, FernConfigRepositorySchema, FernRepositorySchema, GithubUserSchema, GithubTeamSchema, PullRequestReviewerSchema, PullRequestStateSchema, PullRequestSchema, ListRepositoriesResponseSchema, ListPullRequestsResponseSchema, GetRepositoryInputSchema, ListRepositoriesInputSchema, DeleteRepositoryInputSchema, GetPullRequestInputSchema, ListPullRequestsInputSchema, DeletePullRequestInputSchema, gitContract, PdfExportScopeSchema, PdfExportOptionsV1Schema, PdfExportOptionsSchema, PdfExportTaskStatusSchema, PdfExportTaskSchema, ListPdfExportTasksResponseSchema, PdfExportDownloadResponseSchema, CreatePdfExportTaskInputSchema, ListPdfExportTasksInputSchema, GetPdfExportTaskInputSchema, UpdatePdfExportTaskInputSchema, GetPdfExportDownloadUrlInputSchema, CleanupPdfExportsResponseSchema, pdfExportContract, LanguageEnumSchema, VersionBumpEnumSchema, ComputeSemanticVersionInputSchema, ComputeSemanticVersionOutputSchema, sdksContract, SlugsInputSchema, SlugEntrySchema, MarkdownEntrySchema, GetSlugEntriesResponseSchema, GetMarkdownEntriesResponseSchema, slugsContract, contract_exports3, TypeScriptSdkSchema, PythonSdkSchema, GoSdkSchema, RubySdkSchema, JavaSdkSchema, CsharpSdkSchema, BaseSnippetCreateSchema, SdkSnippetsCreateSchema, snippetsFactoryContract, ParameterPayloadSchema, AuthPayloadSchema, CustomSnippetPayloadSchema, snippetsContract, SnippetRegistryEntrySchema, RegisterInputSchema, RegisterBatchInputSchema, GetInputSchema, EndpointSnippetTemplateSchema, templatesContract, GenerateTokenInputSchema, RevokeTokenInputSchema, GenerateTokenOutputSchema, tokensContract, FdrClient, APIV1Db_exports, EndpointSnippetTemplatesSchema, DbHttpRequestSchema, DbHttpRequestsV2Schema, DbEndpointDefinitionSchema, DbApiDefinitionPackageSchema, DbApiDefinitionSubpackageSchema, DbApiDefinitionSchema, DbEndpointWithContextSchema, APIV1Read_exports, WebSocketMessageOrigin3, APIV1Write_exports, DocsV1Db_exports, BackgroundSchema2, ThemeConfigSchema3, DarkAndLightModeConfigSchema3, ColorsConfigV3Schema3, DbFileInfoSchema, DbImageFileInfoSchema, DbFileInfoV2Schema, NavigationTabGroupSchema3, NavigationTabSchema3, NavigationTabV2Schema2, ApiSectionSchema3, DocsSectionSchema3, NavigationItemSchema3, UnversionedTabbedNavigationConfigSchema3, UnversionedUntabbedNavigationConfigSchema3, UnversionedNavigationConfigSchema3, VersionedNavigationConfigDataSchema3, VersionedNavigationConfigSchema3, NavigationConfigSchema3, DocsDbConfigSchema, DocsDefinitionDbV1Schema, DocsDefinitionDbV2Schema, DocsDefinitionDbV3Schema, DocsDefinitionDbSchema, DocsV1Read_exports, DocsV1Write_exports, FdrAPI_exports, latest_exports2, v1_exports, NavigationV1Availability, ApiLatestWithSubs_exports, ApiLatestEndpoint_exports, ApiLatestWebhook_exports, ApiLatestWebsocket_exports, DocsLatest_exports, StringOrStringListSchema, TwitterCardSettingSchema2, JsonLdBreadcrumbListElementSchema, JsonLdBreadcrumbListSchema, WithJsonLdBreadcrumbsSchema, WithMetadataConfigSchema, LayoutSchema, LogoConfigurationSchema, LogoSchema, BreadcrumbItemSchema, FrontmatterSchema, ResolvedMdxSchema, DocsV1Commons_exports, libraryDocs_exports, PythonClassKind, PythonParameterKind, Sdks_exports, docs, api, libraryDocs, sdks, navigation, MAX_OPTIONAL_EXAMPLES_FOR_QUERY_PARAMS, ApiDefinitionTransformationContext, DEFAULT_DARK_MODE_ACCENT_PRIMARY, DEFAULT_LIGHT_MODE_ACCENT_PRIMARY, SDKSnippetHolder, EMPTY_DARK_THEME, EMPTY_LIGHT_THEME, docs_exports3, EMPTY_FRONTMATTER, navigation_exports, RETURN_PAGEID, RETURN_OVERVIEW_PAGEID, RETURN_UNDEFINED, SKIP, STOP, ApiDefinitionHolder, ApiTypeIdVisitor2, ApiDefinitionPruner2, v1_exports2, ChangelogNavigationConverter, NodeIdGenerator, SlugGenerator, ApiReferenceNavigationConverter, NavigationConfigConverter, RETURN_PAGEID2, RETURN_OVERVIEW_PAGEID2, RETURN_UNDEFINED2, NodeCollectorInstances, NodeCollector, MAX_CHANGELOG_ENTRIES_MINIMUM, CHANGELOG_RECENCY_MONTHS, migrators_exports, FernNavigationV1ToLatest, utils_exports2, isHeaderTab, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
220444
220581
  var init_js = __esm({
220445
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.92-64cea478ee_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220582
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220446
220583
  "use strict";
220447
220584
  init_array();
220448
220585
  init_zod2();
@@ -224828,7 +224965,9 @@ var init_js = __esm({
224828
224965
  });
224829
224966
  GetDocsDeploymentsResponseSchema = objectType({
224830
224967
  deployments: arrayType(DocsDeploymentSchema),
224831
- hasMore: booleanType()
224968
+ hasMore: booleanType(),
224969
+ /** Pass back as `cursor` to fetch the next page. Absent when `hasMore` is false. */
224970
+ nextCursor: stringType().optional()
224832
224971
  });
224833
224972
  CreateDeploymentResponseSchema = objectType({
224834
224973
  deploymentId: stringType()
@@ -224963,7 +225102,9 @@ var init_js = __esm({
224963
225102
  domain: stringType().min(1),
224964
225103
  dateRange: stringType().optional(),
224965
225104
  feedbackType: enumType(["page", "code_block", "all"]).optional(),
224966
- limit: numberType().int().min(1).max(50).optional()
225105
+ limit: numberType().int().min(1).max(50).optional(),
225106
+ /** `nextCursor` from a previous page; continues that page's ordering. */
225107
+ cursor: stringType().optional()
224967
225108
  });
224968
225109
  DashboardListOrgMembersInputSchema = objectType({
224969
225110
  orgId: stringType(),
@@ -225022,20 +225163,37 @@ var init_js = __esm({
225022
225163
  });
225023
225164
  RecentFeedbackResponseSchema = objectType({
225024
225165
  resolvedDateRange: ResolvedDateRangeSchema,
225166
+ /**
225167
+ * Vote counts over the whole date range, not just the returned page, and over page
225168
+ * feedback only: code-block reports carry no helpful/unhelpful vote and are counted
225169
+ * by `codeBlockCount` instead.
225170
+ */
225025
225171
  helpfulCount: numberType(),
225026
225172
  unhelpfulCount: numberType(),
225173
+ codeBlockCount: numberType(),
225174
+ /** Entries matching the filters over the whole date range. */
225175
+ totalCount: numberType(),
225027
225176
  entries: arrayType(
225028
225177
  objectType({
225029
225178
  date: stringType(),
225030
225179
  location: stringType(),
225180
+ /** Always false for code-block reports, which carry no vote. */
225031
225181
  wasHelpful: booleanType(),
225032
225182
  userFeedback: stringType(),
225033
225183
  feedbackType: stringType().optional(),
225034
225184
  /** URL of the docs page the feedback was submitted on. */
225035
- url: stringType().optional()
225185
+ url: stringType().optional(),
225186
+ /** What the reader selected on the page, for page feedback. */
225187
+ selection: stringType().optional(),
225188
+ /** Language of the code block a code-block report was filed against. */
225189
+ language: stringType().optional(),
225190
+ /** The reported code block, truncated. */
225191
+ code: stringType().optional()
225036
225192
  })
225037
225193
  ),
225038
- hasMore: booleanType()
225194
+ hasMore: booleanType(),
225195
+ /** Pass back as `cursor` to fetch the next page. Absent when `hasMore` is false. */
225196
+ nextCursor: stringType().optional()
225039
225197
  });
225040
225198
  QueryAnalyticsResponseSchema = objectType({
225041
225199
  resolvedDateRange: ResolvedDateRangeSchema,
@@ -225050,7 +225208,11 @@ var init_js = __esm({
225050
225208
  visitors: numberType().optional(),
225051
225209
  sessions: numberType().optional()
225052
225210
  })
225053
- )
225211
+ ),
225212
+ /** The row cap the query ran with, after clamping. */
225213
+ limit: numberType(),
225214
+ /** True when the metric had more rows than `limit`, so `rows` is a truncated ranking. */
225215
+ hasMore: booleanType()
225054
225216
  });
225055
225217
  OrgMembersResponseSchema = objectType({
225056
225218
  members: arrayType(
@@ -225881,6 +226043,19 @@ var init_js = __esm({
225881
226043
  getDocsForDomainLegacy: oc.route({ method: "GET", path: "/load/{domain}" }).input(GetDocsForDomainLegacyInputSchema).output(DocsDefinitionSchema),
225882
226044
  getDocsForDomain: oc.route({ method: "POST", path: "/load" }).input(GetDocsForDomainInputSchema).output(DocsDefinitionSchema)
225883
226045
  };
226046
+ MAX_DOXYFILE_CONTENT_LENGTH = 262144;
226047
+ SETTING_LINE_RE = /^\s*([A-Z][A-Z0-9_]*)\s*(\+?=)(.*)$/;
226048
+ AT_DIRECTIVE_RE = /^\s*@[A-Z_]+\b/;
226049
+ BOOL_RE = /^(?:YES|NO)$/i;
226050
+ FILE_PATTERN_RE = /^[A-Za-z0-9_.*?+-]+$/;
226051
+ PREDEFINED_RE = /^[A-Za-z_][A-Za-z0-9_]*(?:\([A-Za-z0-9_,. ]*\))?(?::?=.*)?$/;
226052
+ ALIAS_DEF_RE = /^\w+(?:\{\d+\})?=/;
226053
+ DOXYFILE_ALLOWED_KEYS = {
226054
+ ALIASES: (value2) => ALIAS_DEF_RE.test(value2),
226055
+ PREDEFINED: (value2) => PREDEFINED_RE.test(value2),
226056
+ FILE_PATTERNS: (value2) => FILE_PATTERN_RE.test(value2),
226057
+ OPTIMIZE_OUTPUT_FOR_C: (value2) => BOOL_RE.test(value2)
226058
+ };
225884
226059
  ALLOWED_HOSTNAMES = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
225885
226060
  GithubUrlSchema = stringType().url().describe(
225886
226061
  "HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
@@ -225915,8 +226090,13 @@ var init_js = __esm({
225915
226090
  slug: stringType().nullish()
225916
226091
  });
225917
226092
  PythonLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema;
226093
+ SafeDoxyfileContentSchema = stringType().superRefine((content5, ctx) => {
226094
+ for (const error50 of validateDoxyfileContent(content5).errors) {
226095
+ ctx.addIssue({ code: ZodIssueCode2.custom, message: error50 });
226096
+ }
226097
+ }).nullish();
225918
226098
  CppLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema.extend({
225919
- doxyfileContent: stringType().nullish()
226099
+ doxyfileContent: SafeDoxyfileContentSchema
225920
226100
  });
225921
226101
  StartLibraryDocsGenerationInputSchema = discriminatedUnionType("language", [
225922
226102
  objectType({
@@ -231377,6 +231557,8 @@ var init_js = __esm({
231377
231557
  }
231378
231558
  return fullSlug;
231379
231559
  };
231560
+ const relativeProductSlug = this.relativeToBase(this.productSlug);
231561
+ const relativeVersionSlug = this.relativeToBase(this.versionSlug);
231380
231562
  if (this.productSlug != null && this.versionSlug != null) {
231381
231563
  if (slug.startsWith(this.productSlug)) {
231382
231564
  const remaining = getRemainingAfterProduct(slug);
@@ -231386,6 +231568,13 @@ var init_js = __esm({
231386
231568
  const remaining = getRemainingAfterBase(slug);
231387
231569
  return createWithSlug(navigation_exports.V1.slugjoin(this.baseSlug, remaining));
231388
231570
  }
231571
+ if (relativeVersionSlug != null && isScopedTo(slug, relativeVersionSlug)) {
231572
+ return createWithSlug(navigation_exports.V1.slugjoin(this.baseSlug, slug));
231573
+ }
231574
+ if (relativeProductSlug != null && isScopedTo(slug, relativeProductSlug)) {
231575
+ const remaining = slug.substring(relativeProductSlug.length);
231576
+ return createWithSlug(navigation_exports.V1.slugjoin(this.versionSlug, remaining));
231577
+ }
231389
231578
  return createWithSlug(navigation_exports.V1.slugjoin(this.versionSlug, slug));
231390
231579
  }
231391
231580
  if (this.versionSlug != null) {
@@ -231395,6 +231584,9 @@ var init_js = __esm({
231395
231584
  if (this.baseSlug.length > 0 && slug.startsWith(this.baseSlug)) {
231396
231585
  return createWithSlug(navigation_exports.V1.slugjoin(this.versionSlug, getRemainingAfterBase(slug)));
231397
231586
  }
231587
+ if (relativeVersionSlug != null && isScopedTo(slug, relativeVersionSlug)) {
231588
+ return createWithSlug(navigation_exports.V1.slugjoin(this.baseSlug, slug));
231589
+ }
231398
231590
  return createWithSlug(navigation_exports.V1.slugjoin(this.versionSlug, slug));
231399
231591
  }
231400
231592
  if (this.productSlug != null) {
@@ -231404,6 +231596,9 @@ var init_js = __esm({
231404
231596
  if (this.baseSlug.length > 0 && slug.startsWith(this.baseSlug)) {
231405
231597
  return createWithSlug(navigation_exports.V1.slugjoin(getRemainingAfterBase(slug)));
231406
231598
  }
231599
+ if (relativeProductSlug != null && isScopedTo(slug, relativeProductSlug)) {
231600
+ return createWithSlug(navigation_exports.V1.slugjoin(this.baseSlug, slug));
231601
+ }
231407
231602
  return createWithSlug(navigation_exports.V1.slugjoin(this.productSlug, slug));
231408
231603
  }
231409
231604
  if (this.baseSlug.length > 0) {
@@ -231425,8 +231620,25 @@ var init_js = __esm({
231425
231620
  if (fullSlug != null) {
231426
231621
  return this.set(fullSlug.join("/"));
231427
231622
  }
231623
+ if (this.slug === this.scopeSlug && isNestedUnder(navigation_exports.V1.slugjoin(urlSlug), this.relativeScopeSlug)) {
231624
+ return this.set(urlSlug);
231625
+ }
231428
231626
  return this.append(urlSlug);
231429
231627
  }
231628
+ /** The product/version prefix that child slugs hang off of. */
231629
+ get scopeSlug() {
231630
+ return this.versionSlug ?? this.productSlug ?? this.baseSlug;
231631
+ }
231632
+ /** {@link scopeSlug} as authored in the config, i.e. without the basepath. */
231633
+ get relativeScopeSlug() {
231634
+ return this.relativeToBase(this.scopeSlug);
231635
+ }
231636
+ relativeToBase(slug) {
231637
+ if (slug == null || this.baseSlug.length === 0 || !isScopedTo(slug, this.baseSlug)) {
231638
+ return slug;
231639
+ }
231640
+ return slug.substring(this.baseSlug.length + 1);
231641
+ }
231430
231642
  };
231431
231643
  ApiReferenceNavigationConverter = class _ApiReferenceNavigationConverter {
231432
231644
  constructor(apiSection, api2, fullSlugMap = {}, noindexMap = {}, parentSlug = SlugGenerator.init(""), idgen = new NodeIdGenerator(), lexicographic = false, disableEndpointPairs = false, paginated) {
@@ -237161,6 +237373,11 @@ function convertLayoutConfig(layout, themeTabsAlignment, themeTabsPlacement) {
237161
237373
  // fern-platform companion PR. Part of the `as unknown as` cast below
237162
237374
  // until the published FDR SDK adds `changelogLayout`.
237163
237375
  changelogLayout: layout.changelogLayout,
237376
+ // Passed through as-is (no default): omitted renders the indented
237377
+ // connector-line tree, "cards" renders the legacy nested cards. Resolved
237378
+ // by the fern-platform companion PR. Part of the `as unknown as` cast
237379
+ // below until the published FDR SDK adds `apiReferenceLayout`.
237380
+ apiReferenceLayout: layout.apiReferenceLayout,
237164
237381
  // Opt-in (default off, resolved by the fern-platform companion PR):
237165
237382
  // when true the sidebar renders inline availability badges. Part of the
237166
237383
  // `as unknown as` cast below until the published FDR SDK adds the field.
@@ -244004,16 +244221,16 @@ var require_URLSearchParams = __commonJS({
244004
244221
  );
244005
244222
  } else {
244006
244223
  const V4 = [];
244007
- const tmp23 = curArg;
244008
- for (let nextItem of tmp23) {
244224
+ const tmp22 = curArg;
244225
+ for (let nextItem of tmp22) {
244009
244226
  if (!utils2.isObject(nextItem)) {
244010
244227
  throw new globalObject.TypeError(
244011
244228
  "Failed to construct 'URLSearchParams': parameter 1 sequence's element is not an iterable object."
244012
244229
  );
244013
244230
  } else {
244014
244231
  const V5 = [];
244015
- const tmp24 = nextItem;
244016
- for (let nextItem2 of tmp24) {
244232
+ const tmp23 = nextItem;
244233
+ for (let nextItem2 of tmp23) {
244017
244234
  nextItem2 = conversions["USVString"](nextItem2, {
244018
244235
  context: "Failed to construct 'URLSearchParams': parameter 1 sequence's element's element",
244019
244236
  globals: globalObject
@@ -342888,13 +343105,13 @@ var require_fast_safe_stringify = __commonJS({
342888
343105
  if (typeof options2 === "undefined") {
342889
343106
  options2 = defaultOptions3();
342890
343107
  }
342891
- var tmp23 = deterministicDecirc(obj, "", 0, [], void 0, 0, options2) || obj;
343108
+ var tmp22 = deterministicDecirc(obj, "", 0, [], void 0, 0, options2) || obj;
342892
343109
  var res;
342893
343110
  try {
342894
343111
  if (replacerStack.length === 0) {
342895
- res = JSON.stringify(tmp23, replacer, spacer);
343112
+ res = JSON.stringify(tmp22, replacer, spacer);
342896
343113
  } else {
342897
- res = JSON.stringify(tmp23, replaceGetterValues(replacer), spacer);
343114
+ res = JSON.stringify(tmp22, replaceGetterValues(replacer), spacer);
342898
343115
  }
342899
343116
  } catch (_5) {
342900
343117
  return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]");
@@ -342941,18 +343158,18 @@ var require_fast_safe_stringify = __commonJS({
342941
343158
  deterministicDecirc(val[i5], i5, i5, stack, val, depth, options2);
342942
343159
  }
342943
343160
  } else {
342944
- var tmp23 = {};
343161
+ var tmp22 = {};
342945
343162
  var keys25 = Object.keys(val).sort(compareFunction);
342946
343163
  for (i5 = 0; i5 < keys25.length; i5++) {
342947
343164
  var key2 = keys25[i5];
342948
343165
  deterministicDecirc(val[key2], key2, i5, stack, val, depth, options2);
342949
- tmp23[key2] = val[key2];
343166
+ tmp22[key2] = val[key2];
342950
343167
  }
342951
343168
  if (typeof parent !== "undefined") {
342952
343169
  arr.push([parent, k4, val]);
342953
- parent[k4] = tmp23;
343170
+ parent[k4] = tmp22;
342954
343171
  } else {
342955
- return tmp23;
343172
+ return tmp22;
342956
343173
  }
342957
343174
  }
342958
343175
  stack.pop();
@@ -364458,9 +364675,9 @@ var init_suggestionList = __esm({
364458
364675
  let a3 = stringToArray2(optionLowerCase);
364459
364676
  let b5 = this._inputArray;
364460
364677
  if (a3.length < b5.length) {
364461
- const tmp23 = a3;
364678
+ const tmp22 = a3;
364462
364679
  a3 = b5;
364463
- b5 = tmp23;
364680
+ b5 = tmp22;
364464
364681
  }
364465
364682
  const aLength = a3.length;
364466
364683
  const bLength = b5.length;
@@ -400580,9 +400797,9 @@ var require_utf16 = __commonJS({
400580
400797
  Utf16BEEncoder.prototype.write = function(str2) {
400581
400798
  var buf = Buffer6.from(str2, "ucs2");
400582
400799
  for (var i5 = 0; i5 < buf.length; i5 += 2) {
400583
- var tmp23 = buf[i5];
400800
+ var tmp22 = buf[i5];
400584
400801
  buf[i5] = buf[i5 + 1];
400585
- buf[i5 + 1] = tmp23;
400802
+ buf[i5 + 1] = tmp22;
400586
400803
  }
400587
400804
  return buf;
400588
400805
  };
@@ -462712,6 +462929,13 @@ og:description, headline, excerpt).`
462712
462929
  "classic"
462713
462930
  ]
462714
462931
  },
462932
+ "docs.ApiReferenceLayout": {
462933
+ type: "string",
462934
+ enum: [
462935
+ "indented",
462936
+ "cards"
462937
+ ]
462938
+ },
462715
462939
  "docs.LayoutConfig": {
462716
462940
  type: "object",
462717
462941
  properties: {
@@ -462869,6 +463093,17 @@ og:description, headline, excerpt).`
462869
463093
  ],
462870
463094
  description: "Sets which layout to use for changelog pages.\n\n@default: `timeline`\n\n- `timeline` renders the searchable timeline-of-cards layout.\n- `classic` renders the legacy stacked-entries layout with a per-page table of contents."
462871
463095
  },
463096
+ "api-reference-layout": {
463097
+ oneOf: [
463098
+ {
463099
+ $ref: "#/definitions/docs.ApiReferenceLayout"
463100
+ },
463101
+ {
463102
+ type: "null"
463103
+ }
463104
+ ],
463105
+ description: "Sets how nested object fields are rendered in the API reference.\n\n@default: `indented`\n\n- `indented` renders each nested level as an indented branch with a connector line and a color-coded path breadcrumb.\n- `cards` renders each nested level as a bordered card."
463106
+ },
462872
463107
  "show-nav-availability-badges": {
462873
463108
  oneOf: [
462874
463109
  {
@@ -464413,9 +464648,9 @@ var init_mod = __esm({
464413
464648
  };
464414
464649
  distance = (a3, b5) => {
464415
464650
  if (a3.length < b5.length) {
464416
- const tmp23 = b5;
464651
+ const tmp22 = b5;
464417
464652
  b5 = a3;
464418
- a3 = tmp23;
464653
+ a3 = tmp22;
464419
464654
  }
464420
464655
  if (b5.length === 0) {
464421
464656
  return a3.length;
@@ -464470,7 +464705,7 @@ var require_levenshtein = __commonJS({
464470
464705
  var str1Len = str1.length, str2Len = str2.length;
464471
464706
  if (str1Len === 0) return str2Len;
464472
464707
  if (str2Len === 0) return str1Len;
464473
- var curCol, nextCol, i5, j5, tmp23;
464708
+ var curCol, nextCol, i5, j5, tmp22;
464474
464709
  for (i5 = 0; i5 < str2Len; ++i5) {
464475
464710
  prevRow[i5] = i5;
464476
464711
  str2Char[i5] = str2.charCodeAt(i5);
@@ -464483,13 +464718,13 @@ var require_levenshtein = __commonJS({
464483
464718
  curCol = nextCol;
464484
464719
  strCmp = 0 === collator.compare(str1.charAt(i5), String.fromCharCode(str2Char[j5]));
464485
464720
  nextCol = prevRow[j5] + (strCmp ? 0 : 1);
464486
- tmp23 = curCol + 1;
464487
- if (nextCol > tmp23) {
464488
- nextCol = tmp23;
464721
+ tmp22 = curCol + 1;
464722
+ if (nextCol > tmp22) {
464723
+ nextCol = tmp22;
464489
464724
  }
464490
- tmp23 = prevRow[j5 + 1] + 1;
464491
- if (nextCol > tmp23) {
464492
- nextCol = tmp23;
464725
+ tmp22 = prevRow[j5 + 1] + 1;
464726
+ if (nextCol > tmp22) {
464727
+ nextCol = tmp22;
464493
464728
  }
464494
464729
  prevRow[j5] = curCol;
464495
464730
  }
@@ -474494,6 +474729,31 @@ function filenameFromUrl(url3) {
474494
474729
  return void 0;
474495
474730
  }
474496
474731
  }
474732
+ function getGlobalThemeAssetDirectoryPath(organization, themeName) {
474733
+ const themeKey = `${organization}\0${themeName}`;
474734
+ const themeHash = (0, import_crypto8.createHash)("sha256").update(themeKey).digest("hex").slice(0, 16);
474735
+ return import_path60.default.join((0, import_os9.tmpdir)(), `fern-theme-${themeHash}`);
474736
+ }
474737
+ async function ensureGlobalThemeAssetDirectory(directoryPath) {
474738
+ await (0, import_promises81.mkdir)(directoryPath, { mode: 448, recursive: true });
474739
+ const stats = await (0, import_promises81.lstat)(directoryPath);
474740
+ const processUid = typeof process.getuid === "function" ? process.getuid() : void 0;
474741
+ if (!stats.isDirectory() || processUid !== void 0 && stats.uid !== processUid) {
474742
+ throw new Error(`Global theme asset directory "${directoryPath}" is not a secure directory. Remove it and retry.`);
474743
+ }
474744
+ if ((stats.mode & 511) !== 448) {
474745
+ await (0, import_promises81.chmod)(directoryPath, 448);
474746
+ }
474747
+ }
474748
+ async function writeFileAtomically(filePath, data2) {
474749
+ const tempPath = import_path60.default.join(import_path60.default.dirname(filePath), `.${import_path60.default.basename(filePath)}.${(0, import_crypto8.randomUUID)()}.tmp`);
474750
+ try {
474751
+ await (0, import_promises81.writeFile)(tempPath, data2);
474752
+ await (0, import_promises81.rename)(tempPath, filePath);
474753
+ } finally {
474754
+ await (0, import_promises81.unlink)(tempPath).catch(() => void 0);
474755
+ }
474756
+ }
474497
474757
  async function downloadToTemp(url3, tmpDir, index3) {
474498
474758
  const urlFilename = filenameFromUrl(url3);
474499
474759
  const res = await fetch(url3);
@@ -474524,7 +474784,7 @@ async function downloadToTemp(url3, tmpDir, index3) {
474524
474784
  })();
474525
474785
  const dest = import_path60.default.join(tmpDir, filename);
474526
474786
  const buf = Buffer.from(await res.arrayBuffer());
474527
- await (0, import_promises81.writeFile)(dest, buf);
474787
+ await writeFileAtomically(dest, buf);
474528
474788
  return dest;
474529
474789
  }
474530
474790
  async function resolveThemeFileUrls(themeConfig, tmpDir) {
@@ -474711,7 +474971,13 @@ async function stitchGlobalTheme({ docsWorkspace, organization, fdrOrigin, token
474711
474971
  }
474712
474972
  throw err;
474713
474973
  }
474714
- const { path: tmpDirPath } = await import_tmp_promise11.default.dir({ prefix: "fern-theme-", unsafeCleanup: true });
474974
+ const tmpDirPath = getGlobalThemeAssetDirectoryPath(organization, themeName);
474975
+ try {
474976
+ await ensureGlobalThemeAssetDirectory(tmpDirPath);
474977
+ } catch (err) {
474978
+ taskContext.failAndThrow(`Could not prepare global theme asset directory "${tmpDirPath}". Remove it and retry.`, err, { code: CliError.Code.ConfigError });
474979
+ return docsWorkspace;
474980
+ }
474715
474981
  taskContext.logger.debug(`Downloading theme assets to ${tmpDirPath}`);
474716
474982
  let resolvedConfig;
474717
474983
  try {
@@ -474724,13 +474990,13 @@ async function stitchGlobalTheme({ docsWorkspace, organization, fdrOrigin, token
474724
474990
  return docsWorkspace;
474725
474991
  }
474726
474992
  const mergedRawConfig = mergeThemeOverride(docsWorkspace.config, resolvedConfig);
474727
- taskContext.logger.info(`Applied global theme "${themeName}" \u2014 ${AbsoluteFilePath2.of(tmpDirPath)} (cleaned up on exit)`);
474993
+ taskContext.logger.info(`Applied global theme "${themeName}" \u2014 ${AbsoluteFilePath2.of(tmpDirPath)}`);
474728
474994
  const stitchedPath = import_path60.default.join(tmpDirPath, "stitched-docs.yml.json");
474729
- await (0, import_promises81.writeFile)(stitchedPath, JSON.stringify(mergedRawConfig, null, 2));
474995
+ await writeFileAtomically(stitchedPath, JSON.stringify(mergedRawConfig, null, 2));
474730
474996
  taskContext.logger.debug(`Stitched docs.yml after importing theme written to: ${stitchedPath}`);
474731
474997
  return { ...docsWorkspace, config: mergedRawConfig };
474732
474998
  }
474733
- var import_promises81, import_mime_types, import_path60, import_tmp_promise11, THEME_ELIGIBLE_FIELDS2, THEME_FIELD_POLICIES2;
474999
+ var import_crypto8, import_promises81, import_mime_types, import_os9, import_path60, THEME_ELIGIBLE_FIELDS2, THEME_FIELD_POLICIES2;
474734
475000
  var init_stitchGlobalTheme = __esm({
474735
475001
  "../docs-resolver/lib/stitchGlobalTheme.js"() {
474736
475002
  "use strict";
@@ -474738,10 +475004,11 @@ var init_stitchGlobalTheme = __esm({
474738
475004
  init_lib4();
474739
475005
  init_lib8();
474740
475006
  init_lib6();
475007
+ import_crypto8 = require("crypto");
474741
475008
  import_promises81 = require("fs/promises");
474742
475009
  import_mime_types = __toESM(require_mime_types(), 1);
475010
+ import_os9 = require("os");
474743
475011
  import_path60 = __toESM(require("path"), 1);
474744
- import_tmp_promise11 = __toESM(require_tmp_promise(), 1);
474745
475012
  ({ THEME_ELIGIBLE_FIELDS: THEME_ELIGIBLE_FIELDS2, THEME_FIELD_POLICIES: THEME_FIELD_POLICIES2 } = docs_yml_exports);
474746
475013
  }
474747
475014
  });
@@ -477631,9 +477898,9 @@ var require_utf162 = __commonJS({
477631
477898
  Utf16BEEncoder.prototype.write = function(str2) {
477632
477899
  var buf = Buffer6.from(str2, "ucs2");
477633
477900
  for (var i5 = 0; i5 < buf.length; i5 += 2) {
477634
- var tmp23 = buf[i5];
477901
+ var tmp22 = buf[i5];
477635
477902
  buf[i5] = buf[i5 + 1];
477636
- buf[i5 + 1] = tmp23;
477903
+ buf[i5 + 1] = tmp22;
477637
477904
  }
477638
477905
  return buf;
477639
477906
  };
@@ -489393,7 +489660,7 @@ var require_websocket = __commonJS({
489393
489660
  var http13 = require("http");
489394
489661
  var net4 = require("net");
489395
489662
  var tls2 = require("tls");
489396
- var { randomBytes: randomBytes2, createHash: createHash7 } = require("crypto");
489663
+ var { randomBytes: randomBytes2, createHash: createHash8 } = require("crypto");
489397
489664
  var { Duplex, Readable: Readable9 } = require("stream");
489398
489665
  var { URL: URL4 } = require("url");
489399
489666
  var PerMessageDeflate2 = require_permessage_deflate();
@@ -490061,7 +490328,7 @@ var require_websocket = __commonJS({
490061
490328
  abortHandshake(websocket, socket, "Invalid Upgrade header");
490062
490329
  return;
490063
490330
  }
490064
- const digest = createHash7("sha1").update(key2 + GUID).digest("base64");
490331
+ const digest = createHash8("sha1").update(key2 + GUID).digest("base64");
490065
490332
  if (res.headers["sec-websocket-accept"] !== digest) {
490066
490333
  abortHandshake(websocket, socket, "Invalid Sec-WebSocket-Accept header");
490067
490334
  return;
@@ -490430,7 +490697,7 @@ var require_websocket_server = __commonJS({
490430
490697
  var EventEmitter9 = require("events");
490431
490698
  var http13 = require("http");
490432
490699
  var { Duplex } = require("stream");
490433
- var { createHash: createHash7 } = require("crypto");
490700
+ var { createHash: createHash8 } = require("crypto");
490434
490701
  var extension4 = require_extension();
490435
490702
  var PerMessageDeflate2 = require_permessage_deflate();
490436
490703
  var subprotocol2 = require_subprotocol();
@@ -490737,7 +491004,7 @@ var require_websocket_server = __commonJS({
490737
491004
  );
490738
491005
  }
490739
491006
  if (this._state > RUNNING) return abortHandshake(socket, 503);
490740
- const digest = createHash7("sha1").update(key2 + GUID).digest("base64");
491007
+ const digest = createHash8("sha1").update(key2 + GUID).digest("base64");
490741
491008
  const headers2 = [
490742
491009
  "HTTP/1.1 101 Switching Protocols",
490743
491010
  "Upgrade: websocket",
@@ -491693,7 +491960,7 @@ var require_polyfills2 = __commonJS({
491693
491960
  }
491694
491961
  if (platform4 === "win32") {
491695
491962
  fs34.rename = typeof fs34.rename !== "function" ? fs34.rename : (function(fs$rename) {
491696
- function rename8(from4, to2, cb) {
491963
+ function rename9(from4, to2, cb) {
491697
491964
  var start2 = Date.now();
491698
491965
  var backoff = 0;
491699
491966
  fs$rename(from4, to2, function CB(er3) {
@@ -491713,8 +491980,8 @@ var require_polyfills2 = __commonJS({
491713
491980
  if (cb) cb(er3);
491714
491981
  });
491715
491982
  }
491716
- if (Object.setPrototypeOf) Object.setPrototypeOf(rename8, fs$rename);
491717
- return rename8;
491983
+ if (Object.setPrototypeOf) Object.setPrototypeOf(rename9, fs$rename);
491984
+ return rename9;
491718
491985
  })(fs34.rename);
491719
491986
  }
491720
491987
  fs34.read = typeof fs34.read !== "function" ? fs34.read : (function(fs$read) {
@@ -500105,9 +500372,9 @@ var require_buffer_crc32 = __commonJS({
500105
500372
  }
500106
500373
  }
500107
500374
  function bufferizeInt(num) {
500108
- var tmp23 = ensureBuffer(4);
500109
- tmp23.writeInt32BE(num, 0);
500110
- return tmp23;
500375
+ var tmp22 = ensureBuffer(4);
500376
+ tmp22.writeInt32BE(num, 0);
500377
+ return tmp22;
500111
500378
  }
500112
500379
  function _crc32(buf, previous4) {
500113
500380
  buf = ensureBuffer(buf);
@@ -501047,10 +501314,10 @@ var require_make_dir = __commonJS({
501047
501314
  module4.exports = (input3, opts) => Promise.resolve().then(() => {
501048
501315
  checkPath(input3);
501049
501316
  opts = Object.assign({}, defaults3, opts);
501050
- const mkdir48 = pify(opts.fs.mkdir);
501317
+ const mkdir49 = pify(opts.fs.mkdir);
501051
501318
  const stat7 = pify(opts.fs.stat);
501052
501319
  const make = (pth) => {
501053
- return mkdir48(pth, opts.mode).then(() => pth).catch((err) => {
501320
+ return mkdir49(pth, opts.mode).then(() => pth).catch((err) => {
501054
501321
  if (err.code === "ENOENT") {
501055
501322
  if (err.message.includes("null bytes") || path122.dirname(pth) === pth) {
501056
501323
  throw err;
@@ -545617,9 +545884,9 @@ var require_receivebuffer = __commonJS({
545617
545884
  throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.");
545618
545885
  }
545619
545886
  if (this.offset + data2.length >= this.buffer.length) {
545620
- const tmp23 = this.buffer;
545887
+ const tmp22 = this.buffer;
545621
545888
  this.buffer = Buffer.allocUnsafe(Math.max(this.buffer.length + this.originalSize, this.buffer.length + data2.length));
545622
- tmp23.copy(this.buffer);
545889
+ tmp22.copy(this.buffer);
545623
545890
  }
545624
545891
  data2.copy(this.buffer, this.offset);
545625
545892
  return this.offset += data2.length;
@@ -559518,10 +559785,10 @@ var require_esprima = __commonJS({
559518
559785
  };
559519
559786
  Scanner2.prototype.testRegExp = function(pattern, flags2) {
559520
559787
  var astralSubstitute = "\uFFFF";
559521
- var tmp23 = pattern;
559788
+ var tmp22 = pattern;
559522
559789
  var self2 = this;
559523
559790
  if (flags2.indexOf("u") >= 0) {
559524
- tmp23 = tmp23.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g, function($0, $1, $22) {
559791
+ tmp22 = tmp22.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g, function($0, $1, $22) {
559525
559792
  var codePoint = parseInt($1 || $22, 16);
559526
559793
  if (codePoint > 1114111) {
559527
559794
  self2.throwUnexpectedToken(messages_1.Messages.InvalidRegExp);
@@ -559533,7 +559800,7 @@ var require_esprima = __commonJS({
559533
559800
  }).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, astralSubstitute);
559534
559801
  }
559535
559802
  try {
559536
- RegExp(tmp23);
559803
+ RegExp(tmp22);
559537
559804
  } catch (e2) {
559538
559805
  this.throwUnexpectedToken(messages_1.Messages.InvalidRegExp);
559539
559806
  }
@@ -572868,16 +573135,16 @@ var require_tar_fs = __commonJS({
572868
573135
  }
572869
573136
  function chperm(name2, header, cb) {
572870
573137
  const link3 = header.type === "symlink";
572871
- const chmod5 = link3 ? xfs.lchmod : xfs.chmod;
573138
+ const chmod6 = link3 ? xfs.lchmod : xfs.chmod;
572872
573139
  const chown = link3 ? xfs.lchown : xfs.chown;
572873
- if (!chmod5) return cb();
573140
+ if (!chmod6) return cb();
572874
573141
  const mode = (header.mode | (header.type === "directory" ? dmode : fmode)) & umask;
572875
573142
  if (chown && own15) chown.call(xfs, name2, header.uid, header.gid, onchown);
572876
573143
  else onchown(null);
572877
573144
  function onchown(err) {
572878
573145
  if (err) return cb(err);
572879
- if (!chmod5) return cb();
572880
- chmod5.call(xfs, name2, mode, cb);
573146
+ if (!chmod6) return cb();
573147
+ chmod6.call(xfs, name2, mode, cb);
572881
573148
  }
572882
573149
  }
572883
573150
  function mkdirfix(name2, opts2, cb) {
@@ -574438,7 +574705,7 @@ var require_env_paths = __commonJS({
574438
574705
  var path122 = require("path");
574439
574706
  var os23 = require("os");
574440
574707
  var homedir12 = os23.homedir();
574441
- var tmpdir5 = os23.tmpdir();
574708
+ var tmpdir6 = os23.tmpdir();
574442
574709
  var { env: env5 } = process;
574443
574710
  var macos = (name2) => {
574444
574711
  const library = path122.join(homedir12, "Library");
@@ -574447,7 +574714,7 @@ var require_env_paths = __commonJS({
574447
574714
  config: path122.join(library, "Preferences", name2),
574448
574715
  cache: path122.join(library, "Caches", name2),
574449
574716
  log: path122.join(library, "Logs", name2),
574450
- temp: path122.join(tmpdir5, name2)
574717
+ temp: path122.join(tmpdir6, name2)
574451
574718
  };
574452
574719
  };
574453
574720
  var windows = (name2) => {
@@ -574459,7 +574726,7 @@ var require_env_paths = __commonJS({
574459
574726
  config: path122.join(appData, name2, "Config"),
574460
574727
  cache: path122.join(localAppData, name2, "Cache"),
574461
574728
  log: path122.join(localAppData, name2, "Log"),
574462
- temp: path122.join(tmpdir5, name2)
574729
+ temp: path122.join(tmpdir6, name2)
574463
574730
  };
574464
574731
  };
574465
574732
  var linux = (name2) => {
@@ -574470,7 +574737,7 @@ var require_env_paths = __commonJS({
574470
574737
  cache: path122.join(env5.XDG_CACHE_HOME || path122.join(homedir12, ".cache"), name2),
574471
574738
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
574472
574739
  log: path122.join(env5.XDG_STATE_HOME || path122.join(homedir12, ".local", "state"), name2),
574473
- temp: path122.join(tmpdir5, username, name2)
574740
+ temp: path122.join(tmpdir6, username, name2)
574474
574741
  };
574475
574742
  };
574476
574743
  var envPaths = (name2, options2) => {
@@ -575301,7 +575568,7 @@ async function tryRunContainer({ logger: logger4, imageName, args, binds, envVar
575301
575568
  });
575302
575569
  const logs4 = stdout + stderr;
575303
575570
  if (writeLogsToFile) {
575304
- const tmpFile = await import_tmp_promise13.default.file();
575571
+ const tmpFile = await import_tmp_promise12.default.file();
575305
575572
  await (0, import_promises114.writeFile)(tmpFile.path, logs4);
575306
575573
  logger4.info(`Generator logs here: ${tmpFile.path}`);
575307
575574
  }
@@ -575376,7 +575643,7 @@ async function execInContainer({ logger: logger4, containerId, command: command3
575376
575643
  });
575377
575644
  const logs4 = stdout + stderr;
575378
575645
  if (writeLogsToFile) {
575379
- const tmpFile = await import_tmp_promise13.default.file();
575646
+ const tmpFile = await import_tmp_promise12.default.file();
575380
575647
  await (0, import_promises114.writeFile)(tmpFile.path, logs4);
575381
575648
  logger4.info(`Generator logs here: ${tmpFile.path}`);
575382
575649
  }
@@ -575419,13 +575686,13 @@ async function stopContainer({ logger: logger4, containerId, runner }) {
575419
575686
  doNotPipeOutput: true
575420
575687
  });
575421
575688
  }
575422
- var import_promises114, import_tmp_promise13, runDocker;
575689
+ var import_promises114, import_tmp_promise12, runDocker;
575423
575690
  var init_runDocker = __esm({
575424
575691
  "../generation/local-generation/docker-utils/lib/runDocker.js"() {
575425
575692
  "use strict";
575426
575693
  init_lib18();
575427
575694
  import_promises114 = require("fs/promises");
575428
- import_tmp_promise13 = __toESM(require_tmp_promise(), 1);
575695
+ import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
575429
575696
  init_buildContainerEnvVars();
575430
575697
  runDocker = runContainer;
575431
575698
  }
@@ -586846,17 +587113,17 @@ Patches absorbed by generator (${buckets.absorbed.length}):`;
586846
587113
  }
586847
587114
  async function unifiedDiff(beforeContent, afterContent, filePath) {
586848
587115
  if (beforeContent === afterContent) return "";
586849
- const tmp23 = await (0, import_promises410.mkdtemp)((0, import_node_path72.join)((0, import_node_os22.tmpdir)(), "fern-replay-pp-"));
587116
+ const tmp22 = await (0, import_promises410.mkdtemp)((0, import_node_path72.join)((0, import_node_os22.tmpdir)(), "fern-replay-pp-"));
586850
587117
  try {
586851
- const beforePath = (0, import_node_path72.join)(tmp23, "before");
586852
- const afterPath = (0, import_node_path72.join)(tmp23, "after");
587118
+ const beforePath = (0, import_node_path72.join)(tmp22, "before");
587119
+ const afterPath = (0, import_node_path72.join)(tmp22, "after");
586853
587120
  await (0, import_promises410.writeFile)(beforePath, beforeContent, "utf-8");
586854
587121
  await (0, import_promises410.writeFile)(afterPath, afterContent, "utf-8");
586855
587122
  const raw = await runGitDiffNoIndex(beforePath, afterPath);
586856
587123
  if (!raw.trim()) return "";
586857
587124
  return rewriteDiffHeaders(raw, filePath);
586858
587125
  } finally {
586859
- await (0, import_promises410.rm)(tmp23, { recursive: true, force: true });
587126
+ await (0, import_promises410.rm)(tmp22, { recursive: true, force: true });
586860
587127
  }
586861
587128
  }
586862
587129
  function runGitDiffNoIndex(beforePath, afterPath) {
@@ -590149,23 +590416,23 @@ function getValues2(context3, operator2, key2, modifier) {
590149
590416
  });
590150
590417
  }
590151
590418
  } else {
590152
- const tmp23 = [];
590419
+ const tmp22 = [];
590153
590420
  if (Array.isArray(value2)) {
590154
590421
  value2.filter(isDefined2).forEach(function(value22) {
590155
- tmp23.push(encodeValue4(operator2, value22));
590422
+ tmp22.push(encodeValue4(operator2, value22));
590156
590423
  });
590157
590424
  } else {
590158
590425
  Object.keys(value2).forEach(function(k4) {
590159
590426
  if (isDefined2(value2[k4])) {
590160
- tmp23.push(encodeUnreserved2(k4));
590161
- tmp23.push(encodeValue4(operator2, value2[k4].toString()));
590427
+ tmp22.push(encodeUnreserved2(k4));
590428
+ tmp22.push(encodeValue4(operator2, value2[k4].toString()));
590162
590429
  }
590163
590430
  });
590164
590431
  }
590165
590432
  if (isKeyOperator2(operator2)) {
590166
- result.push(encodeUnreserved2(key2) + "=" + tmp23.join(","));
590167
- } else if (tmp23.length !== 0) {
590168
- result.push(tmp23.join(","));
590433
+ result.push(encodeUnreserved2(key2) + "=" + tmp22.join(","));
590434
+ } else if (tmp22.length !== 0) {
590435
+ result.push(tmp22.join(","));
590169
590436
  }
590170
590437
  }
590171
590438
  }
@@ -590200,8 +590467,8 @@ function expand3(template, context3) {
590200
590467
  expression = expression.substr(1);
590201
590468
  }
590202
590469
  expression.split(/,/g).forEach(function(variable3) {
590203
- var tmp23 = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable3);
590204
- values2.push(getValues2(context3, operator2, tmp23[1], tmp23[2] || tmp23[3]));
590470
+ var tmp22 = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable3);
590471
+ values2.push(getValues2(context3, operator2, tmp22[1], tmp22[2] || tmp22[3]));
590205
590472
  });
590206
590473
  if (operator2 && operator2 !== "+") {
590207
590474
  var separator = ",";
@@ -596711,7 +596978,7 @@ var require_dist25 = __commonJS({
596711
596978
  }
596712
596979
  });
596713
596980
 
596714
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.92-64cea478ee_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
596981
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
596715
596982
  var orpc_client_exports = {};
596716
596983
  __export(orpc_client_exports, {
596717
596984
  AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema2,
@@ -596776,6 +597043,7 @@ __export(orpc_client_exports, {
596776
597043
  CurrentVersionInputSchema: () => CurrentVersionInputSchema2,
596777
597044
  CurrentVersionResponseSchema: () => CurrentVersionResponseSchema2,
596778
597045
  CustomSnippetPayloadSchema: () => CustomSnippetPayloadSchema2,
597046
+ DOXYFILE_ALLOWED_KEYS: () => DOXYFILE_ALLOWED_KEYS2,
596779
597047
  DashboardAnalyticsCommonInputSchema: () => DashboardAnalyticsCommonInputSchema2,
596780
597048
  DashboardDocsSiteSchema: () => DashboardDocsSiteSchema2,
596781
597049
  DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema2,
@@ -597070,6 +597338,7 @@ __export(orpc_client_exports, {
597070
597338
  LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema2,
597071
597339
  LocaleEntrySchema: () => LocaleEntrySchema2,
597072
597340
  LongTypeSchema: () => LongTypeSchema2,
597341
+ MAX_DOXYFILE_CONTENT_LENGTH: () => MAX_DOXYFILE_CONTENT_LENGTH2,
597073
597342
  ManifestApiDefSchema: () => ManifestApiDefSchema,
597074
597343
  ManifestBlobRefSchema: () => ManifestBlobRefSchema,
597075
597344
  ManifestFileSchema: () => ManifestFileSchema,
@@ -597208,6 +597477,7 @@ __export(orpc_client_exports, {
597208
597477
  RouteContextInputSchema: () => RouteContextInputSchema2,
597209
597478
  RouteContextResponseSchema: () => RouteContextResponseSchema2,
597210
597479
  RubyGemSchema: () => RubyGemSchema2,
597480
+ SafeDoxyfileContentSchema: () => SafeDoxyfileContentSchema2,
597211
597481
  ScalarTypeSchema: () => ScalarTypeSchema2,
597212
597482
  ScriptSchema: () => ScriptSchema2,
597213
597483
  SdkDynamicIrDownloadSchema: () => SdkDynamicIrDownloadSchema2,
@@ -597361,7 +597631,8 @@ __export(orpc_client_exports, {
597361
597631
  snippetsFactoryContract: () => snippetsFactoryContract2,
597362
597632
  stableStringify: () => stableStringify,
597363
597633
  templatesContract: () => templatesContract2,
597364
- tokensContract: () => tokensContract2
597634
+ tokensContract: () => tokensContract2,
597635
+ validateDoxyfileContent: () => validateDoxyfileContent2
597365
597636
  });
597366
597637
  function OrgId3(value2) {
597367
597638
  return value2;
@@ -597507,6 +597778,103 @@ function createDocsV1ReadClient2(options2) {
597507
597778
  });
597508
597779
  return createORPCClient(link3);
597509
597780
  }
597781
+ function joinContinuations2(text9) {
597782
+ const logical = [];
597783
+ let buffer = "";
597784
+ for (const rawLine of text9.split(/\r?\n/)) {
597785
+ const line = rawLine.replace(/\s+$/, "");
597786
+ if (line.endsWith("\\") && !line.endsWith("\\\\")) {
597787
+ buffer += `${line.slice(0, -1)} `;
597788
+ continue;
597789
+ }
597790
+ buffer += line;
597791
+ logical.push(buffer);
597792
+ buffer = "";
597793
+ }
597794
+ if (buffer) {
597795
+ logical.push(buffer);
597796
+ }
597797
+ return logical;
597798
+ }
597799
+ function tokenizeValue2(value2) {
597800
+ const tokens = [];
597801
+ let i5 = 0;
597802
+ const n2 = value2.length;
597803
+ while (i5 < n2) {
597804
+ const ch2 = value2[i5];
597805
+ if (/\s/.test(ch2 ?? "")) {
597806
+ i5++;
597807
+ continue;
597808
+ }
597809
+ if (ch2 === '"') {
597810
+ i5++;
597811
+ let buf = "";
597812
+ while (i5 < n2) {
597813
+ const c5 = value2[i5];
597814
+ if (c5 === "\\" && i5 + 1 < n2 && value2[i5 + 1] === '"') {
597815
+ buf += '"';
597816
+ i5 += 2;
597817
+ continue;
597818
+ }
597819
+ if (c5 === '"') {
597820
+ i5++;
597821
+ break;
597822
+ }
597823
+ buf += c5;
597824
+ i5++;
597825
+ }
597826
+ tokens.push(buf);
597827
+ } else {
597828
+ let j5 = i5;
597829
+ while (j5 < n2 && !/\s/.test(value2[j5] ?? "")) {
597830
+ j5++;
597831
+ }
597832
+ tokens.push(value2.slice(i5, j5));
597833
+ i5 = j5;
597834
+ }
597835
+ }
597836
+ return tokens;
597837
+ }
597838
+ function validateDoxyfileContent2(content5) {
597839
+ const errors4 = [];
597840
+ const droppedKeys = [];
597841
+ if (content5.length > MAX_DOXYFILE_CONTENT_LENGTH2) {
597842
+ errors4.push(`doxyfileContent exceeds ${MAX_DOXYFILE_CONTENT_LENGTH2} characters`);
597843
+ return { errors: errors4, droppedKeys };
597844
+ }
597845
+ for (const line of joinContinuations2(content5)) {
597846
+ const stripped = line.trim();
597847
+ if (!stripped || stripped.startsWith("#")) {
597848
+ continue;
597849
+ }
597850
+ if (AT_DIRECTIVE_RE2.test(stripped)) {
597851
+ const directive = stripped.split(/\s+/)[0] ?? stripped;
597852
+ if (!droppedKeys.includes(directive)) {
597853
+ droppedKeys.push(directive);
597854
+ }
597855
+ continue;
597856
+ }
597857
+ const match3 = SETTING_LINE_RE2.exec(line);
597858
+ if (match3 == null) {
597859
+ continue;
597860
+ }
597861
+ const key2 = match3[1] ?? "";
597862
+ const rawValue = match3[3] ?? "";
597863
+ const validator = DOXYFILE_ALLOWED_KEYS2[key2];
597864
+ if (validator == null) {
597865
+ if (!droppedKeys.includes(key2)) {
597866
+ droppedKeys.push(key2);
597867
+ }
597868
+ continue;
597869
+ }
597870
+ for (const token of tokenizeValue2(rawValue)) {
597871
+ if (token.endsWith("\\") || token.includes("$(") || !validator(token)) {
597872
+ errors4.push(`Invalid value for Doxyfile setting ${key2}: ${JSON.stringify(token)}`);
597873
+ }
597874
+ }
597875
+ }
597876
+ return { errors: errors4, droppedKeys };
597877
+ }
597510
597878
  function createLibraryDocsClient3(options2) {
597511
597879
  const link3 = new OpenAPILink(libraryDocsContract2, {
597512
597880
  url: `${options2.baseUrl}/v2/registry/docs`,
@@ -597945,9 +598313,9 @@ function isFernFileRef(value2) {
597945
598313
  const hash5 = value2[FERN_FILE_REF_KEY];
597946
598314
  return typeof hash5 === "string" && SHA256_RE.test(hash5);
597947
598315
  }
597948
- var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, DashboardAnalyticsCommonInputSchema2, DashboardFeedbackInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, QueryAnalyticsResponseSchema2, OrgMembersResponseSchema2, SiteGitRepositorySchema2, SiteConfigResponseSchema2, SitePasswordProtectionSchema2, SiteSettingsResponseSchema2, dashboardAgentContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, PlaygroundSettingsSchema3, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, SEMVER_RE, UpsertOrgConfigBodySchema, OrgConfigResponseSchema, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
598316
+ var OrgIdSchema3, ApiIdSchema2, ApiDefinitionIdSchema3, HttpMethodSchema4, HttpMethod46, UrlSchema3, EndpointPathLiteralSchema2, EndpointIdentifierSchema2, SdkRequestSchema2, DocsConfigIdSchema3, GrpcIdSchema2, PageIdSchema3, RoleIdSchema3, TokenIdSchema2, VersionIdSchema3, LinkTarget2, GrpcMethod2, Availability21, SupportedLanguage2, HttpSnippetLanguage5, SnippetsByEndpointMethodSchema2, SdkSchema2, TypeIdSchema2, EndpointIdSchema3, WebSocketIdSchema3, WebhookIdSchema3, GraphQlOperationIdSchema2, GraphQlTypeCategorySchema2, EnvironmentIdSchema2, PropertyKeySchema2, AuthSchemeIdSchema2, SubpackageIdSchema3, WebSocketMessageIdSchema2, FileIdSchema3, MultipleAuthTypeSchema2, GrpcMethodSchema2, AvailabilitySchema5, WebSocketMessageOriginSchema2, WebhookHttpMethodSchema2, WithDescriptionSchema2, WithAvailabilitySchema2, EnvironmentSchema5, RestProtocolSchema2, OpenRpcProtocolSchema2, GrpcProtocolSchema2, ProtocolSchema2, ObjectPropertyAccessSchema2, TypeReferenceIdDefaultSchema2, _numberNullish2, _numberIntNullish2, coercedNumberNullish2, coercedNumberIntNullish2, IntegerTypeSchema2, DoubleTypeSchema2, StringTypeSchema2, LongTypeSchema2, _booleanNullish2, BooleanTypeSchema2, DatetimeTypeSchema2, UuidTypeSchema2, Base64TypeSchema2, DateTypeSchema2, BigIntegerTypeSchema2, UintTypeSchema2, Uint64TypeSchema2, ScalarTypeSchema2, PrimitiveTypeSchema2, LiteralTypeSchema2, TypeReferenceSchema3, GraphQlArgumentSchema2, ObjectPropertySchema3, ObjectTypeSchema2, EnumValueSchema3, EnumTypeSchema2, DiscriminatedUnionVariantSchema2, DiscriminatedUnionTypeSchema2, ContentTypeSchema2, FilePropertySingleSchema2, FilePropertyArraySchema2, FormDataFilePropertySchema2, FormDataBodyPropertySchema2, FormDataPropertySchema2, FormDataRequestSchema2, EndpointPathPartSchema2, PathParameterSchema2, EndpointPathSchema2, QueryParameterSchema2, HeaderSchema3, JsonBodyShapeSchema2, FileDownloadResponseBodyShapeSchema2, StreamResponseV2Schema2, StreamConditionSchema2, FilenameWithDataSchema2, FormValueSchema2, BytesValueSchema2, ExampleEndpointRequestSchema2, ExampleServerSentEventSchema2, ExampleEndpointResponseSchema2, ErrorDeclarationSchema3, ExampleErrorResponseSchema2, ErrorExampleSchema2, GraphQlOperationTypeSchema2, GraphQlExampleSchema2, CodeSnippetSchema2, GraphQlOperationSchema2, WebhookPayloadShapeSchema2, WebhookPayloadSchema3, ExampleWebhookPayloadSchema2, WebSocketMessageBodyShapeSchema2, WebSocketMessageSchema2, ExampleWebSocketMessageSchema2, ExampleWebSocketSessionSchema2, ApiNavigationConfigItemSchema5, ApiNavigationConfigRootSchema5, BearerAuthSchema2, BasicAuthSchema2, HeaderAuthSchema2, OAuthClientCredentialsReferencedEndpointSchema2, OAuthClientCredentialsSchema2, OAuthSchema2, ApiAuthSchema4, JqStringSchema2, RegisterLanguageSchema2, RegisterUndiscriminatedUnionVariantSchema2, RegisterUndiscriminatedUnionTypeSchema2, RegisterTypeShapeSchema2, RegisterTypeDefinitionSchema2, RegisterBytesRequestSchema2, RegisterJsonRequestBodySchema2, RegisterHttpRequestBodyShapeSchema2, RegisterHttpRequestSchema2, RegisterHttpRequestsV2Schema2, RegisterCustomCodeSampleSchema2, RegisterExampleEndpointCallSchema2, RegisterNonStreamResponseSchema2, RegisterStreamResponseSchema2, RegisterStreamConditionResponseSchema2, RegisterHttpResponseBodyShapeSchema2, RegisterHttpResponseSchema2, RegisterHttpResponsesV2Schema2, RegisterErrorDeclarationV2Schema2, RegisterEndpointDefinitionSchema2, RegisterWebhookDefinitionSchema2, RegisterWebSocketChannelSchema2, SourceIdSchema2, SourceSchema3, SourceUploadSchema2, DynamicIRSchema2, DynamicIRUploadSchema2, TypescriptPackageSchema2, PythonPackageSchema2, GoModuleSchema2, JavaCoordinateSchema2, RubyGemSchema2, NugetPackageSchema2, ComposerPackageSchema2, SwiftPackageSchema2, CratesPackageSchema2, SnippetsConfigSchema2, RegisterApiDefinitionPackageSchema2, RegisterApiDefinitionSubpackageSchema2, RegisterApiDefinitionSchema2, RegisterApiDefinitionResponseSchema2, SnippetInfoSchema2, SdkDynamicIrDownloadSchema2, GetSdkDynamicIrUploadUrlsResponseSchema2, CheckSdkDynamicIrExistsResponseSchema2, EndpointExampleGenerationErrorBodySchema2, PathPartSchema2, WithNamespaceSchema2, LatestAuthSchemeSchema2, LatestObjectPropertyAccessSchema2, LatestTypeReferenceIdDefaultSchema2, LatestPrimitiveTypeSchema2, LatestLiteralTypeSchema2, LatestUnknownTypeSchema2, LatestEnumValueSchema2, LatestEnumTypeSchema2, LatestObjectPropertySchema2, LatestParameterPropertySchema2, LatestObjectTypeSchema2, LatestUndiscriminatedUnionVariantSchema2, LatestUndiscriminatedUnionTypeSchema2, LatestDiscriminatedUnionVariantSchema2, LatestDiscriminatedUnionTypeSchema2, LatestTypeShapeSchema2, LatestTypeReferenceSchema2, LatestTypeDefinitionSchema2, LatestContentTypeSchema2, LatestBytesRequestSchema2, LatestFormDataPropertySchema2, LatestFormDataRequestSchema2, LatestNullableTypeSchema2, LatestOptionalTypeSchema2, LatestListTypeSchema2, LatestSetTypeSchema2, LatestMapTypeSchema2, LatestLanguageSchema2, LatestExampleEndpointRequestSchema2, LatestExampleEndpointResponseSchema2, LatestExampleErrorResponseSchema2, LatestHttpRequestBodyShapeSchema2, LatestHttpRequestSchema2, LatestFileDownloadResponseBodyShapeSchema2, LatestStreamResponseSchema2, LatestHttpResponseBodyShapeSchema2, LatestHttpResponseSchema2, LatestErrorExampleSchema2, LatestErrorResponseSchema2, LatestCodeSnippetSchema2, LatestExampleEndpointCallSchema2, LatestEndpointDefinitionSchema2, LatestGraphQlOperationTypeSchema2, LatestGraphQlArgumentSchema2, LatestGraphQlExampleSchema2, LatestGraphQlOperationSchema2, LatestWebhookPayloadShapeSchema2, LatestWebhookPayloadSchema2, LatestExampleWebhookPayloadSchema2, LatestWebhookDefinitionSchema2, LatestWebSocketMessageSchema2, LatestExampleWebSocketMessageSchema2, LatestExampleWebSocketSessionSchema2, LatestWebSocketChannelSchema2, LatestSubpackageMetadataSchema2, LatestApiDefinitionSchema2, ApiDefinitionSchema4, ReadUndiscriminatedUnionVariantSchema2, ReadUndiscriminatedUnionTypeSchema2, ReadTypeShapeSchema2, ReadTypeDefinitionSchema2, ReadBytesRequestSchema2, ReadHttpRequestBodyShapeSchema2, ReadHttpRequestSchema2, ReadHttpRequestsV2Schema2, ReadSupportedLanguageSchema2, ReadLanguageSchema2, ReadCustomCodeSampleSchema2, ReadPythonSnippetSchema2, ReadTypescriptSnippetSchema2, ReadGoSnippetSchema2, ReadRubySnippetSchema2, ReadCsharpSnippetSchema2, ReadCodeExamplesSchema2, ReadExampleEndpointCallSchema2, ReadNonStreamResponseSchema2, ReadStreamResponseSchema2, ReadStreamConditionResponseSchema2, ReadHttpResponseBodyShapeSchema2, ReadHttpResponseSchema2, ReadHttpResponsesV2Schema2, ReadErrorDeclarationV2Schema2, ReadEndpointDefinitionSchema2, ReadWebhookDefinitionSchema2, ReadWebSocketChannelSchema2, ReadApiDefinitionPackageSchema2, ReadApiDefinitionSubpackageSchema2, ReadApiDefinitionSchema2, apiLatestContract2, apiReadContract2, apiRegisterContract2, EndpointSnippetTemplatesSchema2, DbHttpRequestSchema2, DbHttpRequestsV2Schema2, DbEndpointDefinitionSchema2, DbApiDefinitionPackageSchema2, DbApiDefinitionSubpackageSchema2, DbApiDefinitionSchema2, DbEndpointWithContextSchema2, DocsDeploymentStatusSchema2, DocsSiteSchema2, DocsDeploymentSchema2, RegisterDocsSiteInputSchema2, GetPostmanCollectionIdInputSchema2, GetDocsStatusInputSchema2, SetDocsStatusInputSchema2, CreateDeploymentInputSchema2, UpdateDeploymentStatusInputSchema2, GetDocsDeploymentsInputSchema2, UnlockDeployInputSchema2, GetDocsStatusResponseSchema2, GetDocsDeploymentsResponseSchema2, CreateDeploymentResponseSchema2, UpdateDeploymentStatusResponseSchema2, GetPostmanCollectionIdResponseSchema2, UnlockDeployResponseSchema2, GetDocsSitesByCollectionIdInputSchema2, FindSiteByOrgAndCollectionInputSchema2, FindSiteByOrgAndCollectionResponseSchema2, RecordPostmanNotificationInputSchema2, RecordPostmanNotificationResponseSchema2, GetUnnotifiedPostmanSitesResponseSchema2, GetDocsSitesByCollectionIdResponseSchema2, DeleteDocsSiteByServiceInputSchema2, DeleteDocsSiteByServiceResponseSchema2, SetEditorRepoUrlInputSchema2, docsDeploymentContract2, DocsSiteUrlSchema2, DashboardDocsSiteSchema2, GetDocsSitesForOrgInputSchema2, GetDocsSitesForOrgResponseSchema2, IsDocsSiteInOrgInputSchema2, IsDocsSiteInOrgResponseSchema2, DeleteAllDocsSitesForOrgInputSchema2, DeleteAllDocsSitesForOrgResponseSchema2, dashboardContract2, DashboardAnalyticsCommonInputSchema2, DashboardFeedbackInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, QueryAnalyticsResponseSchema2, OrgMembersResponseSchema2, SiteGitRepositorySchema2, SiteConfigResponseSchema2, SitePasswordProtectionSchema2, SiteSettingsResponseSchema2, dashboardAgentContract2, FileIdSchema22, PageIdSchema22, UrlSchema22, VersionIdSchema22, ApiDefinitionIdSchema22, EndpointIdSchema22, WebSocketIdSchema22, WebhookIdSchema22, RoleIdSchema22, SubpackageIdSchema22, LinkTargetSchema3, AvailabilitySchema23, RgbaColorSchema2, FileIdOrUrlSchema2, LanguageSchema2, Bcp47LocaleSchema3, DocsTranslationsConfigSchema2, ProgrammingLanguageSchema2, AnnouncementConfigSchema3, SegmentConfigSchema2, FullStoryAnalyticsConfigSchema2, IntercomConfigSchema3, PostHogConfigSchema2, GTMConfigSchema2, GoogleAnalytics4ConfigSchema2, AmplitudeConfigSchema2, MixpanelConfigSchema2, HotJarConfigSchema2, KoalaConfigSchema2, LogRocketConfigSchema2, PirschConfigSchema2, PlausibleConfigSchema2, FathomConfigSchema2, ClearBitConfigSchema2, HeapConfigSchema2, AnalyticsConfigSchema3, SearchbarPlacementSchema2, TabsPlacementSchema2, SwitcherPlacementSchema2, ContentAlignmentSchema2, HeaderPositionSchema2, PageWidthSizeConfigSchema2, SizeConfigSchema2, TabsAlignmentSchema2, ChangelogLayoutSchema2, DocsLayoutConfigSchema2, FooterNavConfigSchema2, DocsSidebarConfigSchema2, DocsBodyConfigSchema2, DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2, DocsTabsConfigSchema2, DocsPageActionsConfigSchema2, LanguageSwitcherConfigSchema2, ProductSwitcherConfigSchema2, DocsThemeConfigSchema2, HttpSnippetLanguageSchema2, HttpSnippetsConfigSchema2, SearchSettingsConfigSchema2, DocsSettingsConfigSchema3, TwitterCardSettingSchema3, MetadataConfigSchema3, RedirectConfigSchema3, WithPermissionsSchema2, NavbarLinkMetadataSchema2, NavbarGithubMetadataSchema2, NavbarLinkDropdownMetadataSchema2, NavbarLinkSchema3, FooterLinkSchema2, CssConfigSchema3, JsScriptStrategySchema2, JsRemoteConfigSchema2, JsFileConfigSchema2, JsConfigSchema3, IntegrationsConfigSchema3, FontStyleSchema2, FontDisplaySchema2, CustomFontConfigVariantSchema2, CustomFontConfigSchema2, FontConfigV2Schema2, DocsTypographyConfigV2Schema2, ThemedFileIdSchema2, ColorsConfigSchema2, ColorUnthemedConfigSchema2, ColorThemedConfigSchema2, ColorConfigSchema2, ColorsConfigV2Schema2, FontConfigSchema2, DocsTypographyConfigSchema2, EditThisPageLaunchSchema2, AIChatLocationSchema2, AIChatWebsiteDatasourceSchema2, AIChatDatasourceSchema2, AIModelSchema2, AIChatConfigSchema2, PageDescriptionSourceSchema2, AgentsConfigSchema2, PageActionOptionSchema2, CustomPageActionSchema2, SkillSchema2, SkillsConfigSchema2, PageActionOptionsSchema2, PageActionsConfigSchema3, HeightSchema3, PageContentSchema3, NavigationNodeMetadataSchema3, PageMetadataSchema3, LinkMetadataSchema3, NavigationTabLinkSchema3, ChangelogItemSchema3, ChangelogSectionSchema3, ChangelogSectionV3Schema3, ApiSectionV2Schema3, GitHubRepoSchema2, NpmPackageSchema3, MavenPackageSchema3, PypiPackageSchema3, PublishedSdkSchema3, PublishedPostmanCollectionSchema3, ApiArtifactsSchema3, ApiNavigationConfigItemSchema22, ApiNavigationConfigRootSchema22, DocsConfigIdSchema22, UrlFileSchema2, ImageFileSchema2, FileSchema3, BackgroundSchema3, ThemeConfigSchema5, DarkAndLightModeConfigSchema4, ColorsConfigV3Schema4, ApiNavigationConfigRootSchema32, ApiSectionSchema4, DocsSectionSchema4, NavigationItemSchema4, NavigationTabGroupSchema4, NavigationTabSchema4, UnversionedTabbedNavigationConfigSchema4, UnversionedUntabbedNavigationConfigSchema4, UnversionedNavigationConfigSchema4, VersionedNavigationConfigDataSchema4, VersionedNavigationConfigSchema4, NavigationConfigSchema5, DocsConfigSchema3, DocsDefinitionSchema3, BaseUrlSchema2, LoadDocsForUrlResponseSchema2, GetDocsForDomainLegacyInputSchema2, GetDocsForDomainInputSchema2, docsV1ReadContract2, MAX_DOXYFILE_CONTENT_LENGTH2, SETTING_LINE_RE2, AT_DIRECTIVE_RE2, BOOL_RE2, FILE_PATTERN_RE2, PREDEFINED_RE2, ALIAS_DEF_RE2, DOXYFILE_ALLOWED_KEYS2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, SafeDoxyfileContentSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, GetSiteMetricsInputSchema2, SiteMetricsSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, OrgIdSchema22, FilePathSchema3, DocsRegistrationIdSchema2, HeightSchema22, FileS3UploadUrlSchema2, StartDocsRegisterResponseSchema2, PageContentSchema22, NavigationNodeMetadataSchema22, PageMetadataSchema22, LinkMetadataSchema22, ChangelogItemSchema22, ChangelogSectionSchema22, ChangelogSectionV2Schema2, ChangelogSectionV3Schema22, NavigationTabLinkSchema22, ApiNavigationConfigItemSchema32, ApiNavigationConfigSubpackageSchema2, ApiNavigationConfigRootSchema42, ApiSectionSchema22, ApiSectionV2Schema22, DocsSectionSchema22, NavigationItemSchema22, NavigationTabGroupSchema22, NavigationTabSchema22, NavigationTabV2Schema3, UnversionedTabbedNavigationConfigSchema22, UnversionedUntabbedNavigationConfigSchema22, UnversionedNavigationConfigSchema22, VersionedNavigationConfigDataSchema22, VersionedNavigationConfigSchema22, NavigationConfigSchema22, ThemeConfigSchema22, DarkAndLightModeConfigSchema22, ColorsConfigV3Schema22, DocsConfigSchema22, DocsDefinitionSchema22, NpmPackageSchema22, MavenPackageSchema22, PypiPackageSchema22, PublishedSdkSchema22, PublishedPostmanCollectionSchema22, ApiArtifactsSchema22, InvalidCustomDomainErrorBodySchema2, OverlappingCustomDomainsSchema2, FilePathSchema22, FilePathInputSchema2, ImageFilePathSchema2, AuthConfigSchema2, StartDocsRegisterV2InputSchema2, StartDocsRegisterV2ResponseSchema2, StartDocsPreviewRegisterInputSchema2, StartDocsPreviewRegisterResponseSchema2, FinishDocsRegisterV2InputSchema2, TransferOwnershipInputSchema2, SetIsArchivedInputSchema2, SetDocsUrlMetadataInputSchema2, AlgoliaDomainInputSchema2, ListAlgoliaPreviewWhitelistResponseSchema2, DeleteDocsSiteInputSchema2, RemoveCustomDomainAliasInputSchema2, Bcp47LocaleSchema22, RegisterTranslationInputSchema2, RegisterTranslationResponseSchema2, docsV2WriteContract2, InvalidateCachedDocsInputSchema2, docsCacheContract2, MissingContentSchema2, RegisterResponseSchema2, FinishResponseSchema2, ArchiveSiteInputSchema2, ArchiveSiteResponseSchema2, BlobRefSchema2, PageBlobRefSchema2, FileManifestEntrySchema2, ImageRefSchema2, PathOrUrlSchema2, RgbaSchema2, BackgroundColorSchema2, ACCENT_SCALE_KEYS2, accentScaleShape2, LedgerThemeConfigSchema2, LedgerColorsConfigSchema2, LedgerFontVariantSchema2, LedgerFontConfigSchema2, LedgerTypographySchema2, LedgerJsFileSchema2, LedgerJsConfigSchema2, LedgerMetadataConfigSchema2, NavbarLinksFieldSchema2, FooterLinksFieldSchema2, LayoutFieldSchema2, ThemeFieldSchema2, SettingsFieldSchema2, AnalyticsFieldSchema2, AIChatFieldSchema2, PageActionsFieldSchema2, LedgerAgentsConfigSchema2, LedgerConfigSchema2, MetadataStringArraySchema2, FeatureFlagMetadataSchema2, LinkTargetSchema22, CollapsedSchema2, PlaygroundSettingsSchema3, LedgerAvailabilitySchema2, LedgerArtifactTypeSchema2, LedgerMetadataBaseSchema2, NodeMetadataFields2, ApiNodeMetadataFields2, LedgerSegmentDetailMetadataObjectSchema2, LedgerSegmentDetailMetadataSchema2, LedgerSegmentMetadataObjectSchema2, LedgerSegmentMetadataSchema2, LedgerMarkdownMetadataSchema2, LedgerRestMetadataSchema2, LedgerWebSocketMetadataSchema2, LedgerWebhookMetadataSchema2, LedgerGrpcMetadataSchema2, LedgerGraphQlMetadataSchema2, LedgerChangelogEntryMetadataSchema2, LedgerLinkMetadataSchema2, LedgerFileArtifactMetadataSchema2, LedgerStructuralRedirectKindSchema2, LedgerRedirectKindSchema2, LedgerRedirectMetadataSchema2, LedgerArtifactMetadataSchema2, LEDGER_ARTIFACT_METADATA_SCHEMAS2, NavRouteBaseSchema2, LedgerNavRouteSchema2, DocsPublishGitInputSchema2, DocsContentFieldsSchema2, LocaleEntrySchemaInternal2, LocaleEntrySchema2, DocsPublishInputSchemaInternal2, DocsPublishInputSchema2, LedgerPreviewRegisterInputSchemaInternal2, LedgerPreviewRegisterInputSchema2, LedgerPreviewRegisterResponseSchema2, docsLedgerContract2, CurrentVersionInputSchema2, CurrentPreviewInputSchema2, CurrentVersionResponseSchema2, ContentRefSchema2, SegmentDetailSchema2, SegmentSchema2, VersionMetadataInputSchema2, VersionMetadataResponseSchema2, PageContentInputSchema2, PageContentResponseSchema2, BatchPageContentInputSchema2, BatchPageContentItemSchema2, BatchPageContentResponseSchema2, NavInputSchema2, NavResponseSchema2, RouteContextInputSchema2, RouteContextResponseBaseSchema2, RouteContextResponseSchema2, TopLevelNavigationInputSchema2, TopLevelNavigationResponseSchema2, VersionSwitchTargetsInputSchema2, VersionSwitchTargetSchema2, VersionSwitchTargetsResponseSchema2, ApiDefinitionInputSchema2, ApiDefinitionResponseSchema2, PrunedApiDefinitionInputSchema2, PrunedApiDefinitionResponseSchema2, FileArtifactInputSchema2, FileArtifactResponseSchema2, PresignedFileDownloadInputSchema2, PresignedFileDownloadResponseSchema2, FileMetadataInputSchema2, FileMetadataResponseSchema2, docsLedgerReadContract2, GetSnapshotInputSchema2, SetSnapshotInputSchema2, GetDocumentsForBranchesInputSchema2, EditorDocumentSchema2, GetSnapshotResponseSchema2, GetDocumentsForBranchesResponseSchema2, editorSnapshotContract2, GeneratorLanguage, ReleaseType, GeneratorLanguageSchema2, ScriptSchema2, GeneratorScriptsSchema2, GeneratorTypeSchema2, ChangelogEntryTypeSchema2, ChangelogEntrySchema2, YankSchema2, ReleaseTypeSchema2, VersionRangeSchema2, GeneratorSchema2, GeneratorOutputSchema3, GetGeneratorByImageInputSchema2, GetGeneratorInputSchema2, GeneratorReleaseSchema2, GeneratorReleaseRequestSchema2, GetLatestGeneratorReleaseInputSchema2, GetGeneratorChangelogInputSchema2, ChangelogResponseSchema2, GetChangelogResponseSchema2, GetGeneratorReleaseInputSchema2, ListGeneratorReleasesInputSchema2, ListGeneratorReleasesResponseSchema2, CliReleaseSchema2, GetLatestCliReleaseInputSchema2, GetCliChangelogInputSchema2, GetMinCliForIrInputSchema2, UpsertCliReleaseInputSchema2, GetCliReleaseInputSchema2, ListCliReleasesInputSchema2, ListCliReleasesResponseSchema2, generatorsContract2, generatorVersionsContract2, generatorCliContract2, CheckRunSchema2, GithubRepositoryIdSchema2, RepositoryIdSchema2, BaseRepositorySchema2, SdkRepositorySchema2, FernConfigRepositorySchema2, FernRepositorySchema2, GithubUserSchema2, GithubTeamSchema2, PullRequestReviewerSchema2, PullRequestStateSchema2, PullRequestState, PullRequestSchema2, ListRepositoriesResponseSchema2, ListPullRequestsResponseSchema2, GetRepositoryInputSchema2, ListRepositoriesInputSchema2, DeleteRepositoryInputSchema2, GetPullRequestInputSchema2, ListPullRequestsInputSchema2, DeletePullRequestInputSchema2, gitContract2, PdfExportScopeSchema2, PdfExportOptionsV1Schema2, PdfExportOptionsSchema2, PdfExportTaskStatusSchema2, PdfExportTaskSchema2, ListPdfExportTasksResponseSchema2, PdfExportDownloadResponseSchema2, CreatePdfExportTaskInputSchema2, ListPdfExportTasksInputSchema2, GetPdfExportTaskInputSchema2, UpdatePdfExportTaskInputSchema2, GetPdfExportDownloadUrlInputSchema2, CleanupPdfExportsResponseSchema2, pdfExportContract2, LanguageEnumSchema2, VersionBumpEnumSchema2, ComputeSemanticVersionInputSchema2, ComputeSemanticVersionOutputSchema2, sdksContract2, SlugsInputSchema2, SlugEntrySchema2, MarkdownEntrySchema2, GetSlugEntriesResponseSchema2, GetMarkdownEntriesResponseSchema2, slugsContract2, TypeScriptSdkSchema2, PythonSdkSchema2, GoSdkSchema2, RubySdkSchema2, JavaSdkSchema2, CsharpSdkSchema2, BaseSnippetCreateSchema2, SdkSnippetsCreateSchema2, snippetsFactoryContract2, ParameterPayloadSchema2, AuthPayloadSchema2, CustomSnippetPayloadSchema2, snippetsContract2, SnippetRegistryEntrySchema2, RegisterInputSchema2, RegisterBatchInputSchema2, GetInputSchema2, EndpointSnippetTemplateSchema2, templatesContract2, GenerateTokenInputSchema2, RevokeTokenInputSchema2, GenerateTokenOutputSchema2, tokensContract2, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, NAV_ICON_FILE_PREFIX, FileTokenTreeSchema, ConfigFileTokenViewSchema, SegmentDetailIconViewSchema, SegmentIconViewSchema, LEDGER_MANIFEST_SCHEMA_VERSION, LEDGER_SHARD_SCHEMA_VERSION, ManifestBlobRefSchema, ManifestSegmentSchema, ManifestNavRouteSchema, ManifestRouteBaseSchema, ManifestRouteSchema, ManifestPageSchema, ManifestApiDefSchema, ManifestFileSchema, LedgerShardFileSchema, LedgerConfigBlobSchema, LedgerChromeBlobSchema, LedgerSidebarBundleSchema, LedgerSidebarMapEntrySchema, LedgerLocaleIndexSchema, LedgerRouteShardSchema, LedgerPagesBlobSchema, LedgerPointerSegmentSchema, LedgerLocaleRoutingSchema, LedgerManifestSchema, LedgerSiteArtifactSchema, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, SEMVER_RE, UpsertOrgConfigBodySchema, OrgConfigResponseSchema, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
597949
598317
  var init_orpc_client = __esm({
597950
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.92-64cea478ee_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
598318
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.96-8e5f0d55dd_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
597951
598319
  "use strict";
597952
598320
  init_dist5();
597953
598321
  init_dist5();
@@ -599921,7 +600289,9 @@ var init_orpc_client = __esm({
599921
600289
  });
599922
600290
  GetDocsDeploymentsResponseSchema2 = objectType({
599923
600291
  deployments: arrayType(DocsDeploymentSchema2),
599924
- hasMore: booleanType()
600292
+ hasMore: booleanType(),
600293
+ /** Pass back as `cursor` to fetch the next page. Absent when `hasMore` is false. */
600294
+ nextCursor: stringType().optional()
599925
600295
  });
599926
600296
  CreateDeploymentResponseSchema2 = objectType({
599927
600297
  deploymentId: stringType()
@@ -600056,7 +600426,9 @@ var init_orpc_client = __esm({
600056
600426
  domain: stringType().min(1),
600057
600427
  dateRange: stringType().optional(),
600058
600428
  feedbackType: enumType(["page", "code_block", "all"]).optional(),
600059
- limit: numberType().int().min(1).max(50).optional()
600429
+ limit: numberType().int().min(1).max(50).optional(),
600430
+ /** `nextCursor` from a previous page; continues that page's ordering. */
600431
+ cursor: stringType().optional()
600060
600432
  });
600061
600433
  DashboardListOrgMembersInputSchema2 = objectType({
600062
600434
  orgId: stringType(),
@@ -600115,20 +600487,37 @@ var init_orpc_client = __esm({
600115
600487
  });
600116
600488
  RecentFeedbackResponseSchema2 = objectType({
600117
600489
  resolvedDateRange: ResolvedDateRangeSchema2,
600490
+ /**
600491
+ * Vote counts over the whole date range, not just the returned page, and over page
600492
+ * feedback only: code-block reports carry no helpful/unhelpful vote and are counted
600493
+ * by `codeBlockCount` instead.
600494
+ */
600118
600495
  helpfulCount: numberType(),
600119
600496
  unhelpfulCount: numberType(),
600497
+ codeBlockCount: numberType(),
600498
+ /** Entries matching the filters over the whole date range. */
600499
+ totalCount: numberType(),
600120
600500
  entries: arrayType(
600121
600501
  objectType({
600122
600502
  date: stringType(),
600123
600503
  location: stringType(),
600504
+ /** Always false for code-block reports, which carry no vote. */
600124
600505
  wasHelpful: booleanType(),
600125
600506
  userFeedback: stringType(),
600126
600507
  feedbackType: stringType().optional(),
600127
600508
  /** URL of the docs page the feedback was submitted on. */
600128
- url: stringType().optional()
600509
+ url: stringType().optional(),
600510
+ /** What the reader selected on the page, for page feedback. */
600511
+ selection: stringType().optional(),
600512
+ /** Language of the code block a code-block report was filed against. */
600513
+ language: stringType().optional(),
600514
+ /** The reported code block, truncated. */
600515
+ code: stringType().optional()
600129
600516
  })
600130
600517
  ),
600131
- hasMore: booleanType()
600518
+ hasMore: booleanType(),
600519
+ /** Pass back as `cursor` to fetch the next page. Absent when `hasMore` is false. */
600520
+ nextCursor: stringType().optional()
600132
600521
  });
600133
600522
  QueryAnalyticsResponseSchema2 = objectType({
600134
600523
  resolvedDateRange: ResolvedDateRangeSchema2,
@@ -600143,7 +600532,11 @@ var init_orpc_client = __esm({
600143
600532
  visitors: numberType().optional(),
600144
600533
  sessions: numberType().optional()
600145
600534
  })
600146
- )
600535
+ ),
600536
+ /** The row cap the query ran with, after clamping. */
600537
+ limit: numberType(),
600538
+ /** True when the metric had more rows than `limit`, so `rows` is a truncated ranking. */
600539
+ hasMore: booleanType()
600147
600540
  });
600148
600541
  OrgMembersResponseSchema2 = objectType({
600149
600542
  members: arrayType(
@@ -600973,6 +601366,19 @@ var init_orpc_client = __esm({
600973
601366
  getDocsForDomainLegacy: oc.route({ method: "GET", path: "/load/{domain}" }).input(GetDocsForDomainLegacyInputSchema2).output(DocsDefinitionSchema3),
600974
601367
  getDocsForDomain: oc.route({ method: "POST", path: "/load" }).input(GetDocsForDomainInputSchema2).output(DocsDefinitionSchema3)
600975
601368
  };
601369
+ MAX_DOXYFILE_CONTENT_LENGTH2 = 262144;
601370
+ SETTING_LINE_RE2 = /^\s*([A-Z][A-Z0-9_]*)\s*(\+?=)(.*)$/;
601371
+ AT_DIRECTIVE_RE2 = /^\s*@[A-Z_]+\b/;
601372
+ BOOL_RE2 = /^(?:YES|NO)$/i;
601373
+ FILE_PATTERN_RE2 = /^[A-Za-z0-9_.*?+-]+$/;
601374
+ PREDEFINED_RE2 = /^[A-Za-z_][A-Za-z0-9_]*(?:\([A-Za-z0-9_,. ]*\))?(?::?=.*)?$/;
601375
+ ALIAS_DEF_RE2 = /^\w+(?:\{\d+\})?=/;
601376
+ DOXYFILE_ALLOWED_KEYS2 = {
601377
+ ALIASES: (value2) => ALIAS_DEF_RE2.test(value2),
601378
+ PREDEFINED: (value2) => PREDEFINED_RE2.test(value2),
601379
+ FILE_PATTERNS: (value2) => FILE_PATTERN_RE2.test(value2),
601380
+ OPTIMIZE_OUTPUT_FOR_C: (value2) => BOOL_RE2.test(value2)
601381
+ };
600976
601382
  ALLOWED_HOSTNAMES2 = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
600977
601383
  GithubUrlSchema2 = stringType().url().describe(
600978
601384
  "HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
@@ -601007,8 +601413,13 @@ var init_orpc_client = __esm({
601007
601413
  slug: stringType().nullish()
601008
601414
  });
601009
601415
  PythonLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2;
601416
+ SafeDoxyfileContentSchema2 = stringType().superRefine((content5, ctx) => {
601417
+ for (const error50 of validateDoxyfileContent2(content5).errors) {
601418
+ ctx.addIssue({ code: ZodIssueCode2.custom, message: error50 });
601419
+ }
601420
+ }).nullish();
601010
601421
  CppLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2.extend({
601011
- doxyfileContent: stringType().nullish()
601422
+ doxyfileContent: SafeDoxyfileContentSchema2
601012
601423
  });
601013
601424
  StartLibraryDocsGenerationInputSchema2 = discriminatedUnionType("language", [
601014
601425
  objectType({
@@ -634899,14 +635310,14 @@ var require_empty2 = __commonJS({
634899
635310
  var u5 = require_universalify().fromPromise;
634900
635311
  var fs34 = require_fs();
634901
635312
  var path122 = require("path");
634902
- var mkdir48 = require_mkdirs();
635313
+ var mkdir49 = require_mkdirs();
634903
635314
  var remove3 = require_remove3();
634904
635315
  var emptyDir = u5(async function emptyDir2(dir) {
634905
635316
  let items;
634906
635317
  try {
634907
635318
  items = await fs34.readdir(dir);
634908
635319
  } catch {
634909
- return mkdir48.mkdirs(dir);
635320
+ return mkdir49.mkdirs(dir);
634910
635321
  }
634911
635322
  return Promise.all(items.map((item) => remove3.remove(path122.join(dir, item))));
634912
635323
  });
@@ -634915,7 +635326,7 @@ var require_empty2 = __commonJS({
634915
635326
  try {
634916
635327
  items = fs34.readdirSync(dir);
634917
635328
  } catch {
634918
- return mkdir48.mkdirsSync(dir);
635329
+ return mkdir49.mkdirsSync(dir);
634919
635330
  }
634920
635331
  items.forEach((item) => {
634921
635332
  item = path122.join(dir, item);
@@ -634938,7 +635349,7 @@ var require_file2 = __commonJS({
634938
635349
  var u5 = require_universalify().fromPromise;
634939
635350
  var path122 = require("path");
634940
635351
  var fs34 = require_fs();
634941
- var mkdir48 = require_mkdirs();
635352
+ var mkdir49 = require_mkdirs();
634942
635353
  async function createFile(file4) {
634943
635354
  let stats;
634944
635355
  try {
@@ -634952,7 +635363,7 @@ var require_file2 = __commonJS({
634952
635363
  dirStats = await fs34.stat(dir);
634953
635364
  } catch (err) {
634954
635365
  if (err.code === "ENOENT") {
634955
- await mkdir48.mkdirs(dir);
635366
+ await mkdir49.mkdirs(dir);
634956
635367
  await fs34.writeFile(file4, "");
634957
635368
  return;
634958
635369
  } else {
@@ -634978,7 +635389,7 @@ var require_file2 = __commonJS({
634978
635389
  fs34.readdirSync(dir);
634979
635390
  }
634980
635391
  } catch (err) {
634981
- if (err && err.code === "ENOENT") mkdir48.mkdirsSync(dir);
635392
+ if (err && err.code === "ENOENT") mkdir49.mkdirsSync(dir);
634982
635393
  else throw err;
634983
635394
  }
634984
635395
  fs34.writeFileSync(file4, "");
@@ -634997,7 +635408,7 @@ var require_link = __commonJS({
634997
635408
  var u5 = require_universalify().fromPromise;
634998
635409
  var path122 = require("path");
634999
635410
  var fs34 = require_fs();
635000
- var mkdir48 = require_mkdirs();
635411
+ var mkdir49 = require_mkdirs();
635001
635412
  var { pathExists: pathExists2 } = require_path_exists();
635002
635413
  var { areIdentical } = require_stat();
635003
635414
  async function createLink(srcpath, dstpath) {
@@ -635017,7 +635428,7 @@ var require_link = __commonJS({
635017
635428
  const dir = path122.dirname(dstpath);
635018
635429
  const dirExists = await pathExists2(dir);
635019
635430
  if (!dirExists) {
635020
- await mkdir48.mkdirs(dir);
635431
+ await mkdir49.mkdirs(dir);
635021
635432
  }
635022
635433
  await fs34.link(srcpath, dstpath);
635023
635434
  }
@@ -635037,7 +635448,7 @@ var require_link = __commonJS({
635037
635448
  const dir = path122.dirname(dstpath);
635038
635449
  const dirExists = fs34.existsSync(dir);
635039
635450
  if (dirExists) return fs34.linkSync(srcpath, dstpath);
635040
- mkdir48.mkdirsSync(dir);
635451
+ mkdir49.mkdirsSync(dir);
635041
635452
  return fs34.linkSync(srcpath, dstpath);
635042
635453
  }
635043
635454
  module4.exports = {
@@ -635373,19 +635784,19 @@ var require_output_file = __commonJS({
635373
635784
  var u5 = require_universalify().fromPromise;
635374
635785
  var fs34 = require_fs();
635375
635786
  var path122 = require("path");
635376
- var mkdir48 = require_mkdirs();
635787
+ var mkdir49 = require_mkdirs();
635377
635788
  var pathExists2 = require_path_exists().pathExists;
635378
635789
  async function outputFile(file4, data2, encoding = "utf-8") {
635379
635790
  const dir = path122.dirname(file4);
635380
635791
  if (!await pathExists2(dir)) {
635381
- await mkdir48.mkdirs(dir);
635792
+ await mkdir49.mkdirs(dir);
635382
635793
  }
635383
635794
  return fs34.writeFile(file4, data2, encoding);
635384
635795
  }
635385
635796
  function outputFileSync(file4, ...args) {
635386
635797
  const dir = path122.dirname(file4);
635387
635798
  if (!fs34.existsSync(dir)) {
635388
- mkdir48.mkdirsSync(dir);
635799
+ mkdir49.mkdirsSync(dir);
635389
635800
  }
635390
635801
  fs34.writeFileSync(file4, ...args);
635391
635802
  }
@@ -635518,15 +635929,15 @@ var require_move_sync = __commonJS({
635518
635929
  return parsedPath.root === parent;
635519
635930
  }
635520
635931
  function doRename(src, dest, overwrite, isChangingCase) {
635521
- if (isChangingCase) return rename8(src, dest, overwrite);
635932
+ if (isChangingCase) return rename9(src, dest, overwrite);
635522
635933
  if (overwrite) {
635523
635934
  removeSync(dest);
635524
- return rename8(src, dest, overwrite);
635935
+ return rename9(src, dest, overwrite);
635525
635936
  }
635526
635937
  if (fs34.existsSync(dest)) throw new Error("dest already exists.");
635527
- return rename8(src, dest, overwrite);
635938
+ return rename9(src, dest, overwrite);
635528
635939
  }
635529
- function rename8(src, dest, overwrite) {
635940
+ function rename9(src, dest, overwrite) {
635530
635941
  try {
635531
635942
  fs34.renameSync(src, dest);
635532
635943
  } catch (err) {
@@ -637182,15 +637593,15 @@ var require_sync2 = __commonJS({
637182
637593
  var { readdirSync: readdirSync4, statSync: statSync4 } = require("fs");
637183
637594
  module4.exports = function(start2, callback) {
637184
637595
  let dir = resolve15(".", start2);
637185
- let tmp23, stats = statSync4(dir);
637596
+ let tmp22, stats = statSync4(dir);
637186
637597
  if (!stats.isDirectory()) {
637187
637598
  dir = dirname22(dir);
637188
637599
  }
637189
637600
  while (true) {
637190
- tmp23 = callback(dir, readdirSync4(dir));
637191
- if (tmp23) return resolve15(dir, tmp23);
637192
- dir = dirname22(tmp23 = dir);
637193
- if (tmp23 === dir) break;
637601
+ tmp22 = callback(dir, readdirSync4(dir));
637602
+ if (tmp22) return resolve15(dir, tmp22);
637603
+ dir = dirname22(tmp22 = dir);
637604
+ if (tmp22 === dir) break;
637194
637605
  }
637195
637606
  };
637196
637607
  }
@@ -639302,9 +639713,9 @@ var require_dist26 = __commonJS({
639302
639713
  }
639303
639714
  }
639304
639715
  function bufferizeInt(num) {
639305
- const tmp23 = ensureBuffer(4);
639306
- tmp23.writeInt32BE(num, 0);
639307
- return tmp23;
639716
+ const tmp22 = ensureBuffer(4);
639717
+ tmp22.writeInt32BE(num, 0);
639718
+ return tmp22;
639308
639719
  }
639309
639720
  function _crc32(buf, previous4) {
639310
639721
  buf = ensureBuffer(buf);
@@ -702935,7 +703346,7 @@ var AccessTokenPosthogManager = class {
702935
703346
  properties: {
702936
703347
  ...event,
702937
703348
  ...event.properties,
702938
- version: "5.100.0",
703349
+ version: "5.101.1",
702939
703350
  usingAccessToken: true,
702940
703351
  ...getRunIdProperties()
702941
703352
  }
@@ -703001,7 +703412,7 @@ var UserPosthogManager = class {
703001
703412
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
703002
703413
  event: "CLI",
703003
703414
  properties: {
703004
- version: "5.100.0",
703415
+ version: "5.101.1",
703005
703416
  ...event,
703006
703417
  ...event.properties,
703007
703418
  usingAccessToken: false,
@@ -878679,7 +879090,7 @@ init_lib23();
878679
879090
  init_lib5();
878680
879091
  init_lib6();
878681
879092
  init_source();
878682
- var import_crypto8 = require("crypto");
879093
+ var import_crypto9 = require("crypto");
878683
879094
  var import_path63 = __toESM(require("path"), 1);
878684
879095
 
878685
879096
  // ../yaml/docs-validator/lib/rules/valid-markdown-link/check-if-pathname-exists.js
@@ -879271,7 +879682,7 @@ var ValidMarkdownLinks = {
879271
879682
  context: NOOP_CONTEXT,
879272
879683
  sourceResolver: new SourceResolverImpl(NOOP_CONTEXT, fernWorkspace)
879273
879684
  });
879274
- const api2 = toLatest(convertIrToApiDefinition({ ir: ir3, apiDefinitionId: (0, import_crypto8.randomUUID)(), context: NOOP_CONTEXT }));
879685
+ const api2 = toLatest(convertIrToApiDefinition({ ir: ir3, apiDefinitionId: (0, import_crypto9.randomUUID)(), context: NOOP_CONTEXT }));
879275
879686
  const uniqueDescriptions = collectUniqueDescriptions(api2);
879276
879687
  const violations = [];
879277
879688
  const uniquePathnames = /* @__PURE__ */ new Map();
@@ -884370,20 +884781,20 @@ var import_express3 = __toESM(require_express3(), 1);
884370
884781
  var import_fs30 = __toESM(require("fs"), 1);
884371
884782
  var import_promises107 = require("fs/promises");
884372
884783
  var import_http9 = __toESM(require("http"), 1);
884373
- var import_os11 = __toESM(require("os"), 1);
884784
+ var import_os12 = __toESM(require("os"), 1);
884374
884785
  var import_path74 = __toESM(require("path"), 1);
884375
884786
  init_wrapper();
884376
884787
 
884377
884788
  // ../docs-preview/lib/DebugLogger.js
884378
884789
  init_lib8();
884379
884790
  var import_promises103 = require("fs/promises");
884380
- var import_os9 = require("os");
884791
+ var import_os10 = require("os");
884381
884792
  var import_path71 = __toESM(require("path"), 1);
884382
884793
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
884383
884794
  var LOGS_FOLDER_NAME = "logs";
884384
884795
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
884385
884796
  function getCliSource() {
884386
- const version7 = "5.100.0";
884797
+ const version7 = "5.101.1";
884387
884798
  return `cli@${version7}`;
884388
884799
  }
884389
884800
  var DebugLogger = class {
@@ -884402,7 +884813,7 @@ var DebugLogger = class {
884402
884813
  return;
884403
884814
  }
884404
884815
  this.consoleLogger = consoleLogger;
884405
- const resolvedLogsDir = logsDir ?? join8(join8(AbsoluteFilePath2.of((0, import_os9.homedir)()), RelativeFilePath2.of(LOCAL_STORAGE_FOLDER4)), RelativeFilePath2.of(LOGS_FOLDER_NAME));
884816
+ const resolvedLogsDir = logsDir ?? join8(join8(AbsoluteFilePath2.of((0, import_os10.homedir)()), RelativeFilePath2.of(LOCAL_STORAGE_FOLDER4)), RelativeFilePath2.of(LOGS_FOLDER_NAME));
884406
884817
  if (!await doesPathExist(resolvedLogsDir)) {
884407
884818
  await (0, import_promises103.mkdir)(resolvedLogsDir, { recursive: true });
884408
884819
  }
@@ -885711,11 +886122,11 @@ var WatcherLocker = class _WatcherLocker {
885711
886122
  };
885712
886123
  watcher_locks_resolver_default.add(free, timeout4);
885713
886124
  const resolve15 = () => {
885714
- const unlink11 = locks.unlink.get(ino);
885715
- if (!unlink11)
886125
+ const unlink12 = locks.unlink.get(ino);
886126
+ if (!unlink12)
885716
886127
  return;
885717
886128
  cleanup();
885718
- const targetPathPrev = unlink11();
886129
+ const targetPathPrev = unlink12();
885719
886130
  if (targetPath === targetPathPrev) {
885720
886131
  if (events.change) {
885721
886132
  if (this._watcher._poller.stats.has(targetPath)) {
@@ -886441,9 +886852,9 @@ var import_cli_progress = __toESM(require_cli_progress(), 1);
886441
886852
  var import_decompress = __toESM(require_decompress(), 1);
886442
886853
  var import_fs28 = require("fs");
886443
886854
  var import_promises104 = require("fs/promises");
886444
- var import_os10 = require("os");
886855
+ var import_os11 = require("os");
886445
886856
  var import_path72 = __toESM(require("path"), 1);
886446
- var import_tmp_promise12 = __toESM(require_tmp_promise(), 1);
886857
+ var import_tmp_promise11 = __toESM(require_tmp_promise(), 1);
886447
886858
  var import_xml2js = __toESM(require_xml2js(), 1);
886448
886859
  var PLATFORM_IS_WINDOWS = process.platform === "win32";
886449
886860
  var DOCS_PREFIX = source_default.cyan("[docs]:");
@@ -886592,7 +887003,7 @@ function getLocalStorageFolder(cacheDir) {
886592
887003
  if (cacheDir != null) {
886593
887004
  return cacheDir;
886594
887005
  }
886595
- return join8(AbsoluteFilePath2.of((0, import_os10.homedir)()), RelativeFilePath2.of(LOCAL_STORAGE_FOLDER5));
887006
+ return join8(AbsoluteFilePath2.of((0, import_os11.homedir)()), RelativeFilePath2.of(LOCAL_STORAGE_FOLDER5));
886596
887007
  }
886597
887008
  function getPathToPreviewFolder({ app = false, cacheDir }) {
886598
887009
  return join8(getLocalStorageFolder(cacheDir), RelativeFilePath2.of(app ? APP_PREVIEW_FOLDER_NAME : PREVIEW_FOLDER_NAME));
@@ -886646,7 +887057,7 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
886646
887057
  }
886647
887058
  }
886648
887059
  logger4.debug("Creating tmp directory to download docs preview bundle");
886649
- const dir = await import_tmp_promise12.default.dir({ prefix: "fern" });
887060
+ const dir = await import_tmp_promise11.default.dir({ prefix: "fern" });
886650
887061
  const absoluteDirectoryToTmpDir = AbsoluteFilePath2.of(dir.path);
886651
887062
  const docsBundleUrl = new URL(key2, bucketUrl).href;
886652
887063
  logger4.debug(`Downloading docs preview bundle from ${docsBundleUrl}`);
@@ -888198,7 +888609,7 @@ async function runAppPreviewServer({ initialProject, reloadProject, validateProj
888198
888609
  }
888199
888610
  return translations;
888200
888611
  }
888201
- const genFilePath = import_path74.default.join(import_os11.default.tmpdir(), `fern-docs-dev-gen-${backendPort}`);
888612
+ const genFilePath = import_path74.default.join(import_os12.default.tmpdir(), `fern-docs-dev-gen-${backendPort}`);
888202
888613
  const generationManager = new GenerationFileManager(genFilePath);
888203
888614
  const reloadDocsDefinition = async (editedAbsoluteFilepaths2) => {
888204
888615
  context3.logger.info("Reloading docs...");
@@ -903920,7 +904331,7 @@ var import_promises115 = require("fs/promises");
903920
904331
  var import_node_path39 = require("path");
903921
904332
  init_lib70();
903922
904333
  init_lib6();
903923
- var import_tmp_promise14 = __toESM(require_tmp_promise(), 1);
904334
+ var import_tmp_promise13 = __toESM(require_tmp_promise(), 1);
903924
904335
  var PARSER_IMAGES = {
903925
904336
  PYTHON: "fernenterprise/fern-python-library-docs-parser",
903926
904337
  CPP: "fernenterprise/fern-cpp-library-docs-parser"
@@ -903941,8 +904352,8 @@ var PARSER_CLI_COMMAND = ["python", "-m", "src.cli_entrypoint"];
903941
904352
  async function runLocalParser({ context: context3, sourcePath, language, config: config5 }) {
903942
904353
  const imageName = getParserImage(language);
903943
904354
  const isDefaultImage = imageName.endsWith(`:${PARSER_IMAGE_TAG}`);
903944
- const outputDir = await import_tmp_promise14.default.dir({ unsafeCleanup: true });
903945
- const configFile = await import_tmp_promise14.default.file({ postfix: ".json" });
904355
+ const outputDir = await import_tmp_promise13.default.dir({ unsafeCleanup: true });
904356
+ const configFile = await import_tmp_promise13.default.file({ postfix: ".json" });
903946
904357
  try {
903947
904358
  await (0, import_promises115.writeFile)(configFile.path, JSON.stringify({
903948
904359
  packagePath: config5.packagePath,
@@ -905210,7 +905621,7 @@ init_lib8();
905210
905621
  var import_autoversion = __toESM(require_autoversion(), 1);
905211
905622
  init_lib6();
905212
905623
  init_axios2();
905213
- var import_crypto9 = require("crypto");
905624
+ var import_crypto10 = require("crypto");
905214
905625
  var import_form_data4 = __toESM(require_form_data(), 1);
905215
905626
  var import_path81 = __toESM(require("path"), 1);
905216
905627
 
@@ -905246,7 +905657,7 @@ terminalLink.stderr = (text9, url3, options2 = {}) => terminalLink(text9, url3,
905246
905657
  terminalLink.stderr.isSupported = import_supports_hyperlinks.default.stderr;
905247
905658
 
905248
905659
  // ../generation/remote-generation/remote-workspace-runner/lib/RemoteTaskHandler.js
905249
- var import_tmp_promise15 = __toESM(require_tmp_promise(), 1);
905660
+ var import_tmp_promise14 = __toESM(require_tmp_promise(), 1);
905250
905661
  var import_yauzl = __toESM(require_yauzl(), 1);
905251
905662
 
905252
905663
  // ../generation/remote-generation/remote-workspace-runner/lib/publishTarget.js
@@ -905596,7 +906007,7 @@ async function downloadZipForTask({ s3PreSignedReadUrl, absolutePathToLocalOutpu
905596
906007
  timeout: 6e4,
905597
906008
  signal: AbortSignal.timeout(S3_DOWNLOAD_TIMEOUT_MS)
905598
906009
  });
905599
- const tmpDir = await import_tmp_promise15.default.dir({ prefix: "fern", unsafeCleanup: true });
906010
+ const tmpDir = await import_tmp_promise14.default.dir({ prefix: "fern", unsafeCleanup: true });
905600
906011
  const outputZipPath = import_path80.default.join(tmpDir.path, "output.zip");
905601
906012
  await (0, import_promises119.pipeline)(request7.data, (0, import_fs36.createWriteStream)(outputZipPath));
905602
906013
  await forceRemoveDirectory(absolutePathToLocalOutput);
@@ -905666,7 +906077,7 @@ async function downloadFilesWithFernIgnoreInExistingRepo({ s3PreSignedReadUrl, a
905666
906077
  await runGitCommand(["restore", "."], absolutePathToLocalOutput, context3);
905667
906078
  }
905668
906079
  async function downloadFilesWithFernIgnoreInTempRepo({ s3PreSignedReadUrl, absolutePathToLocalOutput, context: context3 }) {
905669
- const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise15.default.dir({})).path);
906080
+ const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise14.default.dir({})).path);
905670
906081
  const absolutePathToFernignore = join8(absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME));
905671
906082
  const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
905672
906083
  await (0, import_promises118.cp)(absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
@@ -905700,7 +906111,7 @@ async function downloadAndExtractZipToDirectory({ s3PreSignedReadUrl, outputPath
905700
906111
  timeout: 6e4,
905701
906112
  signal: AbortSignal.timeout(S3_DOWNLOAD_TIMEOUT_MS)
905702
906113
  });
905703
- const tmpDir = await import_tmp_promise15.default.dir({ prefix: "fern", unsafeCleanup: true });
906114
+ const tmpDir = await import_tmp_promise14.default.dir({ prefix: "fern", unsafeCleanup: true });
905704
906115
  const outputZipPath = import_path80.default.join(tmpDir.path, "output.zip");
905705
906116
  await (0, import_promises119.pipeline)(request7.data, (0, import_fs36.createWriteStream)(outputZipPath));
905706
906117
  await extractZipToDirectory(outputZipPath, outputPath);
@@ -906202,9 +906613,9 @@ function assertSameBatchInput(participants) {
906202
906613
  if (first3 == null) {
906203
906614
  return;
906204
906615
  }
906205
- const sourceHash = (0, import_crypto9.createHash)("sha256").update(first3.specsTarGzBuffer).digest("hex");
906616
+ const sourceHash = (0, import_crypto10.createHash)("sha256").update(first3.specsTarGzBuffer).digest("hex");
906206
906617
  for (const participant of participants.slice(1)) {
906207
- const participantSourceHash = (0, import_crypto9.createHash)("sha256").update(participant.specsTarGzBuffer).digest("hex");
906618
+ const participantSourceHash = (0, import_crypto10.createHash)("sha256").update(participant.specsTarGzBuffer).digest("hex");
906208
906619
  if (participant.apiName !== first3.apiName || participant.organization !== first3.organization || participant.token.value !== first3.token.value || participantSourceHash !== sourceHash) {
906209
906620
  throw new Error("Fern sdk-gen-api batch targets must share API, organization, token, and sources");
906210
906621
  }
@@ -906220,7 +906631,7 @@ function createFernSdkGenApiBatchRequest({ apiName, organization, cliVersion, sp
906220
906631
  throw new Error(`Unsupported Fern SDK generator: ${generatorInvocation.name}`);
906221
906632
  }
906222
906633
  const output2 = mapFernSdkGenApiOutput(generatorInvocation);
906223
- const targetId = (0, import_crypto9.createHash)("sha256").update(`${apiName}:${generatorInvocation.name}:${generatorInvocation.version}:${targetIdSeed ?? index3.toString()}`).digest("hex").slice(0, 20);
906634
+ const targetId = (0, import_crypto10.createHash)("sha256").update(`${apiName}:${generatorInvocation.name}:${generatorInvocation.version}:${targetIdSeed ?? index3.toString()}`).digest("hex").slice(0, 20);
906224
906635
  return {
906225
906636
  targetId,
906226
906637
  apiInputId: "default",
@@ -906250,7 +906661,7 @@ function createFernSdkGenApiBatchRequest({ apiName, organization, cliVersion, sp
906250
906661
  };
906251
906662
  });
906252
906663
  const apiInputs = [{ id: "default", specIndexes: "all" }];
906253
- const idempotencyKey = (0, import_crypto9.createHash)("sha256").update(specsTarGzBuffer).update(JSON.stringify({
906664
+ const idempotencyKey = (0, import_crypto10.createHash)("sha256").update(specsTarGzBuffer).update(JSON.stringify({
906254
906665
  protocolVersion: 1,
906255
906666
  organization,
906256
906667
  apiName,
@@ -907326,7 +907737,7 @@ init_lib9();
907326
907737
  init_lib18();
907327
907738
  init_lib6();
907328
907739
  var import_promises123 = require("fs/promises");
907329
- var import_tmp_promise16 = __toESM(require_tmp_promise(), 1);
907740
+ var import_tmp_promise15 = __toESM(require_tmp_promise(), 1);
907330
907741
  var PROTOBUF_ZIP_FILENAME = "proto.zip";
907331
907742
  var SourceUploader = class {
907332
907743
  sourceTypes;
@@ -907386,7 +907797,7 @@ var SourceUploader = class {
907386
907797
  };
907387
907798
  }
907388
907799
  async zipSource(absolutePathToSource) {
907389
- const tmpDir = await import_tmp_promise16.default.dir();
907800
+ const tmpDir = await import_tmp_promise15.default.dir();
907390
907801
  const destination = join8(AbsoluteFilePath2.of(tmpDir.path), RelativeFilePath2.of(PROTOBUF_ZIP_FILENAME));
907391
907802
  this.context.logger.debug(`Zipping source ${absolutePathToSource} into ${destination}`);
907392
907803
  await loggingExeca(this.context.logger, "zip", ["-r", destination, "."], {
@@ -908191,7 +908602,7 @@ init_lib68();
908191
908602
  init_lib6();
908192
908603
  init_axios2();
908193
908604
  init_source();
908194
- var import_crypto11 = require("crypto");
908605
+ var import_crypto12 = require("crypto");
908195
908606
  var import_promises127 = require("fs/promises");
908196
908607
  init_lodash();
908197
908608
  var mime3 = __toESM(require_mime_types(), 1);
@@ -908266,7 +908677,7 @@ function normalizeRepoUrlToHttps(repo, provider) {
908266
908677
  init_lib69();
908267
908678
  init_js();
908268
908679
  init_lib68();
908269
- var import_crypto10 = require("crypto");
908680
+ var import_crypto11 = require("crypto");
908270
908681
  var import_promises126 = require("fs/promises");
908271
908682
  var mime2 = __toESM(require_mime_types(), 1);
908272
908683
 
@@ -908487,7 +908898,7 @@ var TRANSLATION_BUILD_CONCURRENCY = 4;
908487
908898
  var UPLOAD_MAX_RETRIES = 3;
908488
908899
  var UPLOAD_INITIAL_DELAY_MS = 1e3;
908489
908900
  function sha256(data2) {
908490
- return (0, import_crypto10.createHash)("sha256").update(data2).digest("hex");
908901
+ return (0, import_crypto11.createHash)("sha256").update(data2).digest("hex");
908491
908902
  }
908492
908903
  var FILE_REF_PATTERN = /file:([^\s"'<>)}\]]+)/g;
908493
908904
  function extractReferencedFiles(markdown) {
@@ -908956,7 +909367,7 @@ function sanitizeRelativePathForS3(relativeFilePath) {
908956
909367
  }
908957
909368
  async function readAndHashFile(absoluteFilePath) {
908958
909369
  const buffer = await (0, import_promises127.readFile)(absoluteFilePath);
908959
- const hash5 = (0, import_crypto11.createHash)("sha256").update(new Uint8Array(buffer)).digest("hex");
909370
+ const hash5 = (0, import_crypto12.createHash)("sha256").update(new Uint8Array(buffer)).digest("hex");
908960
909371
  return { buffer, hash: hash5 };
908961
909372
  }
908962
909373
  async function publishDocs({ token, organization, docsWorkspace, domain: domain3, customDomains, apiWorkspaces, ossWorkspaces, context: context3, preview, previewId, editThisPage, disableTemplates = false, skipUpload = false, withAiExamples = true, excludeApis = false, targetAudiences, docsUrl, cliVersion, ciSource, deployerAuthor, loginCommand = "fern login", multiSource = false }) {
@@ -910303,7 +910714,7 @@ var LegacyDocsPublisher = class {
910303
910714
  previewId,
910304
910715
  disableTemplates: void 0,
910305
910716
  skipUpload,
910306
- cliVersion: "5.100.0",
910717
+ cliVersion: "5.101.1",
910307
910718
  loginCommand: "fern auth login"
910308
910719
  });
910309
910720
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -913679,7 +914090,7 @@ init_js_yaml();
913679
914090
  init_lib8();
913680
914091
  init_lib6();
913681
914092
  var import_promises130 = require("fs/promises");
913682
- var import_os12 = require("os");
914093
+ var import_os13 = require("os");
913683
914094
  var import_path88 = __toESM(require("path"), 1);
913684
914095
 
913685
914096
  // ../cli-v2/lib/api/resolver/ApiSpecDetector.js
@@ -913755,7 +914166,7 @@ var ApiSpecResolver = class {
913755
914166
  });
913756
914167
  }
913757
914168
  const extension4 = this.inferExtensionFromContent(content5);
913758
- const tempDir2 = await (0, import_promises130.mkdtemp)(import_path88.default.join((0, import_os12.tmpdir)(), "fern-"));
914169
+ const tempDir2 = await (0, import_promises130.mkdtemp)(import_path88.default.join((0, import_os13.tmpdir)(), "fern-"));
913759
914170
  const absoluteFilePath = AbsoluteFilePath2.of(import_path88.default.join(tempDir2, `spec${extension4}`));
913760
914171
  await (0, import_promises130.writeFile)(absoluteFilePath, content5, "utf-8");
913761
914172
  const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: "stdin" });
@@ -913773,7 +914184,7 @@ var ApiSpecResolver = class {
913773
914184
  async resolveUrl({ reference: reference4 }) {
913774
914185
  const { content: content5, contentType } = await this.fetchContent({ url: reference4 });
913775
914186
  const extension4 = this.inferExtension({ url: reference4, contentType });
913776
- const tempDir2 = await (0, import_promises130.mkdtemp)(import_path88.default.join((0, import_os12.tmpdir)(), "fern-"));
914187
+ const tempDir2 = await (0, import_promises130.mkdtemp)(import_path88.default.join((0, import_os13.tmpdir)(), "fern-"));
913777
914188
  const absoluteFilePath = AbsoluteFilePath2.of(import_path88.default.join(tempDir2, `spec${extension4}`));
913778
914189
  await (0, import_promises130.writeFile)(absoluteFilePath, content5, "utf-8");
913779
914190
  const specType = await this.detector.detect({ absoluteFilePath, content: content5, reference: reference4 });
@@ -963663,7 +964074,7 @@ var import_serialization = __toESM(require_serialization3(), 1);
963663
964074
  var import_promises143 = require("fs/promises");
963664
964075
  var path104 = __toESM(require("path"), 1);
963665
964076
  var import_path100 = require("path");
963666
- var import_tmp_promise19 = __toESM(require_tmp_promise(), 1);
964077
+ var import_tmp_promise18 = __toESM(require_tmp_promise(), 1);
963667
964078
 
963668
964079
  // ../generation/local-generation/local-workspace-runner/lib/applyTypeRelocations.js
963669
964080
  init_lib8();
@@ -964256,10 +964667,10 @@ init_lib18();
964256
964667
  init_lib6();
964257
964668
  var import_decompress2 = __toESM(require_decompress(), 1);
964258
964669
  var import_promises141 = require("fs/promises");
964259
- var import_os13 = require("os");
964670
+ var import_os14 = require("os");
964260
964671
  var import_path98 = require("path");
964261
964672
  var import_semver13 = __toESM(require_semver2(), 1);
964262
- var import_tmp_promise17 = __toESM(require_tmp_promise(), 1);
964673
+ var import_tmp_promise16 = __toESM(require_tmp_promise(), 1);
964263
964674
 
964264
964675
  // ../generation/local-generation/local-workspace-runner/lib/sanitizeChangelogEntry.js
964265
964676
  init_lib4();
@@ -964772,7 +965183,7 @@ var LocalTaskHandler = class {
964772
965183
  await this.runGitCommand(["restore", "."], this.absolutePathToLocalOutput);
964773
965184
  }
964774
965185
  async copyGeneratedFilesWithFernIgnoreInTempRepo() {
964775
- const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise17.default.dir({})).path);
965186
+ const tmpOutputResolutionDir = AbsoluteFilePath2.of((await import_tmp_promise16.default.dir({})).path);
964776
965187
  const absolutePathToFernignore = AbsoluteFilePath2.of(join8(this.absolutePathToLocalOutput, RelativeFilePath2.of(FERNIGNORE_FILENAME)));
964777
965188
  const fernIgnorePaths = await getFernIgnorePaths({ absolutePathToFernignore });
964778
965189
  const pathsToPreserve = await this.getPathsToPreserve(fernIgnorePaths);
@@ -965032,7 +965443,7 @@ var LocalTaskHandler = class {
965032
965443
  * when the copy path does not stage files (copyGeneratedFilesNoFernIgnorePreservingGit).
965033
965444
  */
965034
965445
  async generateDiffFile() {
965035
- const diffFile = (0, import_path98.join)((0, import_os13.tmpdir)(), `git-diff-${Date.now()}.patch`);
965446
+ const diffFile = (0, import_path98.join)((0, import_os14.tmpdir)(), `git-diff-${Date.now()}.patch`);
965036
965447
  await this.runGitCommand(["add", "-N", "."], this.absolutePathToLocalOutput);
965037
965448
  await this.runGitCommand(["diff", "HEAD", "--output", diffFile, "--", ".", ":(exclude).fern/metadata.json"], this.absolutePathToLocalOutput);
965038
965449
  this.context.logger.info(`Generated git diff to file: ${diffFile}`);
@@ -965056,7 +965467,7 @@ var import_promises142 = require("fs/promises");
965056
965467
  init_js_yaml();
965057
965468
  var import_path99 = __toESM(require("path"), 1);
965058
965469
  init_index_min2();
965059
- var import_tmp_promise18 = __toESM(require_tmp_promise(), 1);
965470
+ var import_tmp_promise17 = __toESM(require_tmp_promise(), 1);
965060
965471
  async function collectRawSpecs({ specs, hostOutputDir, containerBaseDir, context: context3, audiences }) {
965061
965472
  const manifest = { specs: [] };
965062
965473
  if (specs.length === 0) {
@@ -965303,7 +965714,7 @@ function hasOperations(pathItem) {
965303
965714
  return Object.keys(pathItem).some((key2) => HTTP_METHODS3.has(key2.toLowerCase()));
965304
965715
  }
965305
965716
  async function createSpecsTarGzBuffer({ specs, context: context3, audiences }) {
965306
- const tmpDir = await import_tmp_promise18.default.dir({ unsafeCleanup: true });
965717
+ const tmpDir = await import_tmp_promise17.default.dir({ unsafeCleanup: true });
965307
965718
  try {
965308
965719
  const manifest = await collectRawSpecs({
965309
965720
  specs,
@@ -965492,7 +965903,7 @@ async function writeIrToFile({ ir: ir3, workspaceTempDir, filename, context: con
965492
965903
  if (filename) {
965493
965904
  absolutePathToIr = AbsoluteFilePath2.of((0, import_path100.join)(workspaceTempDir.path, filename));
965494
965905
  } else {
965495
- const irFile = await import_tmp_promise19.default.file({
965906
+ const irFile = await import_tmp_promise18.default.file({
965496
965907
  tmpdir: workspaceTempDir.path
965497
965908
  });
965498
965909
  absolutePathToIr = AbsoluteFilePath2.of(irFile.path);
@@ -965535,9 +965946,9 @@ init_lib6();
965535
965946
  init_lib65();
965536
965947
  init_source();
965537
965948
  var fs30 = __toESM(require("fs/promises"), 1);
965538
- var import_os14 = __toESM(require("os"), 1);
965949
+ var import_os15 = __toESM(require("os"), 1);
965539
965950
  var import_path101 = __toESM(require("path"), 1);
965540
- var import_tmp_promise20 = __toESM(require_tmp_promise(), 1);
965951
+ var import_tmp_promise19 = __toESM(require_tmp_promise(), 1);
965541
965952
 
965542
965953
  // ../generation/local-generation/local-workspace-runner/lib/getGeneratorOutputSubfolder.js
965543
965954
  function getGeneratorOutputSubfolder(generatorName) {
@@ -965673,7 +966084,7 @@ async function runLocalGenerationForWorkspace({ token, projectConfig, workspace,
965673
966084
  intermediateRepresentation.publishConfig = publishConfig;
965674
966085
  }
965675
966086
  const absolutePathToPreviewForGenerator = resolveAbsolutePathToLocalPreview(absolutePathToPreview, generatorInvocation);
965676
- const absolutePathToLocalOutput = absolutePathToPreviewForGenerator ?? generatorInvocation.absolutePathToLocalOutput ?? AbsoluteFilePath2.of(await import_tmp_promise20.default.dir().then((dir) => dir.path));
966087
+ const absolutePathToLocalOutput = absolutePathToPreviewForGenerator ?? generatorInvocation.absolutePathToLocalOutput ?? AbsoluteFilePath2.of(await import_tmp_promise19.default.dir().then((dir) => dir.path));
965677
966088
  const selfhostedGithubConfig = getSelfhostedGithubConfig(generatorInvocation, absolutePathToPreviewForGenerator != null);
965678
966089
  if (version7 != null && (0, import_autoversion5.isAutoVersion)(version7)) {
965679
966090
  if (selfhostedGithubConfig == null) {
@@ -965885,10 +966296,10 @@ function resolveAbsolutePathToLocalPreview(absolutePathToPreview, generatorInvoc
965885
966296
  return join8(absolutePathToPreview, RelativeFilePath2.of(subfolderName));
965886
966297
  }
965887
966298
  async function getWorkspaceTempDir() {
965888
- return import_tmp_promise20.default.dir({
966299
+ return import_tmp_promise19.default.dir({
965889
966300
  // use the /private prefix on osx so that docker can access the tmpdir
965890
966301
  // see https://stackoverflow.com/a/45123074
965891
- tmpdir: import_os14.default.platform() === "darwin" ? import_path101.default.join("/private", import_os14.default.tmpdir()) : void 0,
966302
+ tmpdir: import_os15.default.platform() === "darwin" ? import_path101.default.join("/private", import_os15.default.tmpdir()) : void 0,
965892
966303
  prefix: "fern"
965893
966304
  });
965894
966305
  }
@@ -966664,7 +967075,7 @@ init_lib8();
966664
967075
  init_lib5();
966665
967076
  init_lib6();
966666
967077
  var import_promises146 = require("fs/promises");
966667
- var import_os15 = require("os");
967078
+ var import_os16 = require("os");
966668
967079
  var LegacyRemoteGenerationRunner = class {
966669
967080
  context;
966670
967081
  cliVersion;
@@ -966757,7 +967168,7 @@ var LegacyRemoteGenerationRunner = class {
966757
967168
  }
966758
967169
  async getAbsolutePathToPreview(args) {
966759
967170
  if (this.isLocalGitCombo(args)) {
966760
- const tmpPreviewDirectory = await (0, import_promises146.mkdtemp)(join8(AbsoluteFilePath2.of((0, import_os15.tmpdir)()), RelativeFilePath2.of("fern-preview-")));
967171
+ const tmpPreviewDirectory = await (0, import_promises146.mkdtemp)(join8(AbsoluteFilePath2.of((0, import_os16.tmpdir)()), RelativeFilePath2.of("fern-preview-")));
966761
967172
  return AbsoluteFilePath2.of(tmpPreviewDirectory);
966762
967173
  }
966763
967174
  if (!args.preview) {
@@ -973732,7 +974143,7 @@ init_axios2();
973732
974143
  var import_promises161 = require("fs/promises");
973733
974144
  init_js_yaml();
973734
974145
  var import_path107 = require("path");
973735
- var import_tmp_promise21 = __toESM(require_tmp_promise(), 1);
974146
+ var import_tmp_promise20 = __toESM(require_tmp_promise(), 1);
973736
974147
  var LoadOpenAPIStatus;
973737
974148
  (function(LoadOpenAPIStatus2) {
973738
974149
  LoadOpenAPIStatus2["Success"] = "success";
@@ -973741,7 +974152,7 @@ var LoadOpenAPIStatus;
973741
974152
  async function loadOpenAPIFromUrl({ url: url3, logger: logger4 }) {
973742
974153
  try {
973743
974154
  const data2 = await fetchOpenAPIFromUrl({ url: url3, logger: logger4 });
973744
- const tmpDir = await import_tmp_promise21.default.dir();
974155
+ const tmpDir = await import_tmp_promise20.default.dir();
973745
974156
  const filePath = (0, import_path107.join)(tmpDir.path, url3.endsWith(".json") ? "openapi.json" : "openapi.yaml");
973746
974157
  logger4.debug("tmpDir", tmpDir.path);
973747
974158
  logger4.debug("filePath", filePath);
@@ -977674,7 +978085,7 @@ function getAutomationContextFromEnv() {
977674
978085
  config_branch: process.env.FERN_CONFIG_BRANCH,
977675
978086
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
977676
978087
  trigger: process.env.GITHUB_EVENT_NAME,
977677
- cli_version: "5.100.0"
978088
+ cli_version: "5.101.1"
977678
978089
  };
977679
978090
  }
977680
978091
  function isAutomationMode() {
@@ -978506,7 +978917,7 @@ var CliContext = class _CliContext {
978506
978917
  if (false) {
978507
978918
  this.logger.error("CLI_VERSION is not defined");
978508
978919
  }
978509
- return "5.100.0";
978920
+ return "5.101.1";
978510
978921
  }
978511
978922
  getCliName() {
978512
978923
  if (false) {
@@ -979008,13 +979419,13 @@ init_lib18();
979008
979419
  init_lib6();
979009
979420
  var import_fs40 = require("fs");
979010
979421
  var import_promises164 = require("fs/promises");
979011
- var import_os16 = require("os");
979422
+ var import_os17 = require("os");
979012
979423
  var import_path108 = require("path");
979013
979424
  var import_semver15 = __toESM(require_semver2(), 1);
979014
979425
  var import_url10 = require("url");
979015
979426
  var MIGRATION_PACKAGE_NAME2 = "@fern-api/generator-migrations";
979016
979427
  function getMigrationCacheDir() {
979017
- return (0, import_path108.join)((0, import_os16.homedir)(), ".fern", "migration-cache");
979428
+ return (0, import_path108.join)((0, import_os17.homedir)(), ".fern", "migration-cache");
979018
979429
  }
979019
979430
  var LOCK_FILENAME = ".install.lock";
979020
979431
  var LOCK_POLL_MS = 200;
@@ -980060,10 +980471,10 @@ var import_promises168 = require("fs/promises");
980060
980471
 
980061
980472
  // src/persistence/output-directories/getPathToOutputDirectoriesFile.ts
980062
980473
  init_lib8();
980063
- var import_os17 = require("os");
980474
+ var import_os18 = require("os");
980064
980475
  function getPathToOutputDirectoriesFile() {
980065
980476
  return join8(
980066
- AbsoluteFilePath2.of((0, import_os17.homedir)()),
980477
+ AbsoluteFilePath2.of((0, import_os18.homedir)()),
980067
980478
  RelativeFilePath2.of(LOCAL_STORAGE_FOLDER6),
980068
980479
  RelativeFilePath2.of(APPROVED_DIRECTORIES_FILENAME)
980069
980480
  );
@@ -988433,7 +988844,7 @@ var import_path114 = __toESM(require("path"), 1);
988433
988844
  init_lib8();
988434
988845
  init_lib6();
988435
988846
  var import_child_process13 = require("child_process");
988436
- var import_crypto12 = require("crypto");
988847
+ var import_crypto13 = require("crypto");
988437
988848
  var import_promises205 = require("fs/promises");
988438
988849
  var import_mime_types2 = __toESM(require_mime_types(), 1);
988439
988850
  var import_path113 = __toESM(require("path"), 1);
@@ -988649,7 +989060,7 @@ ${errors4.map((e2) => ` - ${e2}`).join("\n")}`,
988649
989060
  return this.uploadToCas(content5, contentType, bindPath, import_path113.default.basename(absolutePath));
988650
989061
  }
988651
989062
  async uploadToCas(content5, contentType, bindPath, label) {
988652
- const hash5 = (0, import_crypto12.createHash)("sha256").update(content5).digest("hex");
989063
+ const hash5 = (0, import_crypto13.createHash)("sha256").update(content5).digest("hex");
988653
989064
  const casUrl = `${FDR_ORIGIN}/v2/registry/content/${encodeURIComponent(this.orgId)}/${hash5}`;
988654
989065
  this.context.logger.debug(` CAS check: PUT ${casUrl} (${contentType}, ${content5.byteLength} bytes)`);
988655
989066
  let checkRes;
@@ -991694,7 +992105,7 @@ init_lib6();
991694
992105
  init_source();
991695
992106
  var import_fs43 = require("fs");
991696
992107
  var import_promises212 = require("fs/promises");
991697
- var import_os18 = require("os");
992108
+ var import_os19 = require("os");
991698
992109
  var import_path120 = __toESM(require("path"), 1);
991699
992110
 
991700
992111
  // src/commands/mcp/mcpConfig.ts
@@ -991797,7 +992208,7 @@ function toTomlString(value2) {
991797
992208
 
991798
992209
  // src/commands/mcp/installMcpServer.ts
991799
992210
  function getClientTarget(client3) {
991800
- const home = (0, import_os18.homedir)();
992211
+ const home = (0, import_os19.homedir)();
991801
992212
  switch (client3) {
991802
992213
  case "claude":
991803
992214
  return {
@@ -992727,7 +993138,7 @@ init_axios2();
992727
993138
  var import_promises214 = require("fs/promises");
992728
993139
  var import_path121 = __toESM(require("path"), 1);
992729
993140
  init_index_min2();
992730
- var import_tmp_promise22 = __toESM(require_tmp_promise(), 1);
993141
+ var import_tmp_promise21 = __toESM(require_tmp_promise(), 1);
992731
993142
  async function registerWorkspacesV1({
992732
993143
  project,
992733
993144
  cliContext,
@@ -992773,7 +993184,7 @@ async function registerWorkspacesV1({
992773
993184
  });
992774
993185
  return;
992775
993186
  }
992776
- const tmpDir = await import_tmp_promise22.default.dir();
993187
+ const tmpDir = await import_tmp_promise21.default.dir();
992777
993188
  const tarPath = import_path121.default.join(tmpDir.path, "definition.tgz");
992778
993189
  context3.logger.debug(`Compressing definition at ${tmpDir.path}`);
992779
993190
  await Kn({ file: tarPath, cwd: resolvedWorkspace.absoluteFilePath }, ["."]);
@@ -993083,7 +993494,7 @@ function computePreviewVersion({ previewId }) {
993083
993494
 
993084
993495
  // src/commands/sdk-preview/getPreviewId.ts
993085
993496
  var import_child_process15 = require("child_process");
993086
- var import_crypto13 = require("crypto");
993497
+ var import_crypto14 = require("crypto");
993087
993498
  var import_util71 = require("util");
993088
993499
  var execAsync2 = (0, import_util71.promisify)(import_child_process15.exec);
993089
993500
  var MAX_PREVIEW_ID_LENGTH = 40;
@@ -993107,7 +993518,7 @@ function sanitizeBranchName(branch) {
993107
993518
  return branch.toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").slice(0, MAX_PREVIEW_ID_LENGTH).replace(/-$/, "");
993108
993519
  }
993109
993520
  function generateRandomId() {
993110
- return (0, import_crypto13.randomBytes)(4).toString("hex");
993521
+ return (0, import_crypto14.randomBytes)(4).toString("hex");
993111
993522
  }
993112
993523
 
993113
993524
  // src/commands/sdk-preview/toPreviewPackageName.ts