@fern-api/fern-api-dev 5.85.0 → 5.87.0

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 +787 -74
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -118110,7 +118110,8 @@ var init_DocsYmlSchemas = __esm({
118110
118110
  environments: external_exports.array(external_exports.string()).optional(),
118111
118111
  button: PlaygroundButtonSettings.optional(),
118112
118112
  oauth: external_exports.boolean().optional(),
118113
- "limit-websocket-messages-per-connection": external_exports.number().int().optional()
118113
+ "limit-websocket-messages-per-connection": external_exports.number().int().optional(),
118114
+ "send-optional-defaults": external_exports.boolean().optional()
118114
118115
  });
118115
118116
  AnnouncementConfig = external_exports.object({
118116
118117
  message: external_exports.string()
@@ -122559,7 +122560,8 @@ var init_PlaygroundSettings2 = __esm({
122559
122560
  environments: schemas_exports6.list(schemas_exports6.string()).optional(),
122560
122561
  button: PlaygroundButtonSettings2.optional(),
122561
122562
  oauth: schemas_exports6.boolean().optional(),
122562
- limitWebsocketMessagesPerConnection: schemas_exports6.property("limit-websocket-messages-per-connection", schemas_exports6.number().optional())
122563
+ limitWebsocketMessagesPerConnection: schemas_exports6.property("limit-websocket-messages-per-connection", schemas_exports6.number().optional()),
122564
+ sendOptionalDefaults: schemas_exports6.property("send-optional-defaults", schemas_exports6.boolean().optional())
122563
122565
  });
122564
122566
  }
122565
122567
  });
@@ -130521,6 +130523,7 @@ var init_OpenApiSettingsSchema2 = __esm({
130521
130523
  "additional-properties-defaults-to": schemas_exports8.boolean().optional(),
130522
130524
  "type-dates-as-strings": schemas_exports8.boolean().optional(),
130523
130525
  "preserve-single-schema-oneof": schemas_exports8.boolean().optional(),
130526
+ "preserve-one-of-in-all-of": schemas_exports8.boolean().optional(),
130524
130527
  "inline-all-of-schemas": schemas_exports8.boolean().optional(),
130525
130528
  "resolve-aliases": ResolveAliases.optional(),
130526
130529
  "group-multi-api-environments": schemas_exports8.boolean().optional(),
@@ -152350,6 +152353,7 @@ var init_options2 = __esm({
152350
152353
  additionalPropertiesDefaultsTo: false,
152351
152354
  typeDatesAsStrings: false,
152352
152355
  preserveSingleSchemaOneOf: false,
152356
+ preserveOneOfInAllOf: false,
152353
152357
  inlineAllOfSchemas: false,
152354
152358
  resolveAliases: false,
152355
152359
  groupMultiApiEnvironments: false,
@@ -199499,6 +199503,7 @@ var init_getAPIDefinitionSettings = __esm({
199499
199503
  additionalPropertiesDefaultsTo: "additionalPropertiesDefaultsTo",
199500
199504
  typeDatesAsStrings: "typeDatesAsStrings",
199501
199505
  preserveSingleSchemaOneOf: "preserveSingleSchemaOneOf",
199506
+ preserveOneOfInAllOf: "preserveOneOfInAllOf",
199502
199507
  inlineAllOfSchemas: "inlineAllOfSchemas",
199503
199508
  resolveAliases: "resolveAliases",
199504
199509
  groupMultiApiEnvironments: "groupMultiApiEnvironments",
@@ -213621,7 +213626,7 @@ var init_esm18 = __esm({
213621
213626
  }
213622
213627
  });
213623
213628
 
213624
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.66-cc15e6c17a_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
213629
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs
213625
213630
  function assertNever3(x4) {
213626
213631
  throw new Error("Unexpected value: " + JSON.stringify(x4));
213627
213632
  }
@@ -213915,16 +213920,16 @@ function selectDefaultValue(shape, defaults3) {
213915
213920
  return void 0;
213916
213921
  }
213917
213922
  }
213918
- function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
213919
- const cached2 = UnwrapObjectTypeCache.get(object32);
213923
+ function unwrapObjectType(object33, types4, parentVisitedTypeIds) {
213924
+ const cached2 = UnwrapObjectTypeCache.get(object33);
213920
213925
  if (cached2 != null) {
213921
213926
  return cached2;
213922
213927
  }
213923
- const directProperties = object32.properties;
213924
- const extraProperties = object32.extraProperties;
213928
+ const directProperties = object33.properties;
213929
+ const extraProperties = object33.extraProperties;
213925
213930
  const descriptions = [];
213926
213931
  const visitedTypeIds = /* @__PURE__ */ new Set();
213927
- const extendedProperties = object32.extends.flatMap((typeId) => {
213932
+ const extendedProperties = object33.extends.flatMap((typeId) => {
213928
213933
  if (parentVisitedTypeIds?.has(typeId)) {
213929
213934
  console.error(`Circular reference detected. Cannot extend type=${typeId}`);
213930
213935
  return [];
@@ -213985,10 +213990,10 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
213985
213990
  extraProperties,
213986
213991
  visitedTypeIds
213987
213992
  };
213988
- UnwrapObjectTypeCache.set(object32, toRet2);
213993
+ UnwrapObjectTypeCache.set(object33, toRet2);
213989
213994
  return toRet2;
213990
213995
  }
213991
- const propertyKeys = new Set(object32.properties.map((property24) => property24.key));
213996
+ const propertyKeys = new Set(object33.properties.map((property24) => property24.key));
213992
213997
  const seenExtendedKeys = /* @__PURE__ */ new Set();
213993
213998
  const filteredExtendedProperties = extendedProperties.filter((extendedProperty) => {
213994
213999
  if (propertyKeys.has(extendedProperty.key) || seenExtendedKeys.has(extendedProperty.key)) {
@@ -214006,15 +214011,15 @@ function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
214006
214011
  ]
214007
214012
  );
214008
214013
  const toRet = { properties: properties7, descriptions, extraProperties, visitedTypeIds };
214009
- UnwrapObjectTypeCache.set(object32, toRet);
214014
+ UnwrapObjectTypeCache.set(object33, toRet);
214010
214015
  return toRet;
214011
214016
  }
214012
- function unwrapDiscriminatedUnionVariant(union112, variant, types4) {
214017
+ function unwrapDiscriminatedUnionVariant(union122, variant, types4) {
214013
214018
  const { properties: properties7, descriptions, visitedTypeIds } = unwrapObjectType(variant, types4);
214014
214019
  return {
214015
214020
  properties: [
214016
214021
  {
214017
- key: union112.discriminant,
214022
+ key: union122.discriminant,
214018
214023
  valueShape: {
214019
214024
  type: "alias",
214020
214025
  value: {
@@ -215167,8 +215172,8 @@ function sortKeysByShape(obj, shape, types4) {
215167
215172
  set: ({ itemShape }) => Array.isArray(obj) ? obj.map((o3) => sortKeysByShape(o3, itemShape, types4)) : obj,
215168
215173
  map: ({ valueShape }) => isPlainObject_default2(obj) ? mapValues3(obj, (value2) => sortKeysByShape(value2, valueShape, types4)) : obj,
215169
215174
  unknown: () => obj,
215170
- object: (object32) => {
215171
- const objectProperties = unwrapObjectType(object32, types4).properties;
215175
+ object: (object33) => {
215176
+ const objectProperties = unwrapObjectType(object33, types4).properties;
215172
215177
  return isPlainObject_default2(obj) ? mapValues3(
215173
215178
  sortKeysBy(
215174
215179
  obj,
@@ -215185,8 +215190,8 @@ function sortKeysByShape(obj, shape, types4) {
215185
215190
  },
215186
215191
  undiscriminatedUnion: () => obj,
215187
215192
  // TODO: match variant and sort nested objects
215188
- discriminatedUnion: (union112) => {
215189
- const { discriminant: discriminant22, variants } = union112;
215193
+ discriminatedUnion: (union122) => {
215194
+ const { discriminant: discriminant22, variants } = union122;
215190
215195
  if (!isPlainObject_default2(obj)) {
215191
215196
  return obj;
215192
215197
  }
@@ -215198,7 +215203,7 @@ function sortKeysByShape(obj, shape, types4) {
215198
215203
  if (variantShape == null) {
215199
215204
  return obj;
215200
215205
  }
215201
- const variantProperties = unwrapDiscriminatedUnionVariant(union112, variantShape, types4).properties;
215206
+ const variantProperties = unwrapDiscriminatedUnionVariant(union122, variantShape, types4).properties;
215202
215207
  return mapValues3(sortKeysBy(obj, [discriminant22, ...variantProperties.map((p6) => p6.key)]), (value2, key2) => {
215203
215208
  if (key2 === discriminant22) {
215204
215209
  return value2;
@@ -216354,6 +216359,17 @@ function createDashboardClient(options2) {
216354
216359
  });
216355
216360
  return createORPCClient(link3);
216356
216361
  }
216362
+ function createDashboardAgentClient(options2) {
216363
+ const link3 = new OpenAPILink(dashboardAgentContract, {
216364
+ url: `${options2.baseUrl}/dashboard-agent`,
216365
+ headers: () => ({
216366
+ Authorization: `Bearer ${options2.token}`,
216367
+ ...options2.headers
216368
+ }),
216369
+ ...options2.fetch != null ? { fetch: options2.fetch } : {}
216370
+ });
216371
+ return createORPCClient(link3);
216372
+ }
216357
216373
  function FileId2(value2) {
216358
216374
  return value2;
216359
216375
  }
@@ -216654,6 +216670,7 @@ function createFdrORPCClient(options2) {
216654
216670
  return {
216655
216671
  api: createApiClient(normalizedOptions),
216656
216672
  dashboard: createDashboardClient(normalizedOptions),
216673
+ dashboardAgent: createDashboardAgentClient(normalizedOptions),
216657
216674
  docs: createDocsClient(normalizedOptions),
216658
216675
  docsCache: createDocsCacheClient(normalizedOptions),
216659
216676
  docsDeployment: createDocsDeploymentClient(normalizedOptions),
@@ -216941,9 +216958,9 @@ function generateHttpResponseBodyExample(type7, resolveTypeById) {
216941
216958
  }
216942
216959
  }
216943
216960
  }
216944
- function generateExampleObject(object32, resolveTypeById, ignoreOptionals, visited, depth) {
216961
+ function generateExampleObject(object33, resolveTypeById, ignoreOptionals, visited, depth) {
216945
216962
  const example = {};
216946
- for (const property24 of getAllObjectProperties(object32, resolveTypeById)) {
216963
+ for (const property24 of getAllObjectProperties(object33, resolveTypeById)) {
216947
216964
  const value2 = generateExampleFromTypeReference(
216948
216965
  property24.valueType,
216949
216966
  resolveTypeById,
@@ -217127,10 +217144,10 @@ function generateExamplePrimitive(reference4) {
217127
217144
  return reference4.name;
217128
217145
  }
217129
217146
  }
217130
- function getAllObjectProperties(object32, resolveTypeById) {
217147
+ function getAllObjectProperties(object33, resolveTypeById) {
217131
217148
  return [
217132
- ...object32.properties,
217133
- ...object32.extends.flatMap((typeId) => {
217149
+ ...object33.properties,
217150
+ ...object33.extends.flatMap((typeId) => {
217134
217151
  let type7 = resolveTypeById(typeId);
217135
217152
  if (type7 == null) {
217136
217153
  return [];
@@ -219679,6 +219696,36 @@ function createBreadcrumb(nodes) {
219679
219696
  });
219680
219697
  return breadcrumb.filter((item) => item.title.trim().length > 0);
219681
219698
  }
219699
+ function getEnclosingTabbedNode(parents) {
219700
+ const versionChild = (parents.find(isVersionNode) ?? parents.find(isUnversionedNode))?.child;
219701
+ return parents.find(isTabbedNode) ?? (versionChild != null && isTabbedNode(versionChild) ? versionChild : void 0);
219702
+ }
219703
+ function resolveCurrentTab(node4, parents) {
219704
+ const tabbedNode = getEnclosingTabbedNode(parents);
219705
+ if (tabbedNode == null) {
219706
+ return void 0;
219707
+ }
219708
+ const parentsAndNode = [...parents, node4];
219709
+ const tabbedNodeIndex = parentsAndNode.indexOf(tabbedNode);
219710
+ const currentTabNode = tabbedNodeIndex !== -1 ? parentsAndNode[tabbedNodeIndex + 1] : void 0;
219711
+ let currentTab = currentTabNode?.type === "tab" || currentTabNode?.type === "changelog" ? currentTabNode : void 0;
219712
+ if (currentTab == null) {
219713
+ for (const tab2 of tabbedNode.children) {
219714
+ if (tab2.type === "tab" && tab2.pointsTo === node4.slug) {
219715
+ currentTab = tab2;
219716
+ break;
219717
+ }
219718
+ if (tab2.type === "changelog" && tab2.slug === node4.slug) {
219719
+ currentTab = tab2;
219720
+ break;
219721
+ }
219722
+ }
219723
+ if (currentTab == null && node4.type === "landingPage") {
219724
+ currentTab = tabbedNode.children.find(isHeaderTab);
219725
+ }
219726
+ }
219727
+ return currentTab;
219728
+ }
219682
219729
  function findNode(root6, slug) {
219683
219730
  const collector = NodeCollector.collect(root6);
219684
219731
  const found = collector.getSlugMapWithParents().get(canonicalSlugKey(slug));
@@ -219712,7 +219759,6 @@ function findNode(root6, slug) {
219712
219759
  const currentProduct = found.parents.find(isProductNode);
219713
219760
  const currentVersion = found.parents.find(isVersionNode);
219714
219761
  const unversionedNode = found.parents.find(isUnversionedNode);
219715
- const versionChild = (currentVersion ?? unversionedNode)?.child;
219716
219762
  const currentVariant = found.parents.find(isVariantNode);
219717
219763
  if (!sidebar && currentVersion != null) {
219718
219764
  if (isSidebarRootNode(currentVersion.child)) {
@@ -219720,13 +219766,9 @@ function findNode(root6, slug) {
219720
219766
  }
219721
219767
  }
219722
219768
  const landingPage = (currentProductGroup ?? currentVersion ?? unversionedNode)?.landingPage;
219723
- const tabbedNode = found.parents.find(isTabbedNode) ?? // fallback to the version child because the current node may be a landing page
219724
- (versionChild != null && isTabbedNode(versionChild) ? versionChild : void 0);
219769
+ const tabbedNode = getEnclosingTabbedNode(found.parents);
219725
219770
  const apiReference = found.parents.find(isApiReferenceNode) ?? (found.node.type === "apiReference" ? found.node : void 0);
219726
219771
  if (navigation_exports.isPage(found.node)) {
219727
- const parentsAndNode = [...found.parents, found.node];
219728
- const tabbedNodeIndex = parentsAndNode.findIndex((node4) => node4 === tabbedNode);
219729
- const currentTabNode = tabbedNodeIndex !== -1 ? parentsAndNode[tabbedNodeIndex + 1] : void 0;
219730
219772
  const products = collector.getProductNodes().map((node4) => {
219731
219773
  if (node4.default) {
219732
219774
  if (node4.id === currentProduct?.id) {
@@ -219754,25 +219796,7 @@ function findNode(root6, slug) {
219754
219796
  }
219755
219797
  return node4;
219756
219798
  });
219757
- let currentTab = currentTabNode?.type === "tab" || currentTabNode?.type === "changelog" ? currentTabNode : void 0;
219758
- if (currentTab == null && tabbedNode != null) {
219759
- for (const tab2 of tabbedNode.children) {
219760
- if (tab2.type === "tab" && tab2.pointsTo === found.node.slug) {
219761
- currentTab = tab2;
219762
- break;
219763
- }
219764
- if (tab2.type === "changelog" && tab2.slug === found.node.slug) {
219765
- currentTab = tab2;
219766
- break;
219767
- }
219768
- }
219769
- if (currentTab == null && found.node.type === "landingPage") {
219770
- const firstTab = tabbedNode.children.find((tab2) => tab2.type === "tab" || tab2.type === "changelog");
219771
- if (firstTab != null && (firstTab.type === "tab" || firstTab.type === "changelog")) {
219772
- currentTab = firstTab;
219773
- }
219774
- }
219775
- }
219799
+ const currentTab = resolveCurrentTab(found.node, found.parents);
219776
219800
  const slugPrefix = currentVariant?.slug ?? (currentProduct?.type === "product" ? currentProduct.slug : void 0) ?? currentVersion?.slug ?? root6.slug;
219777
219801
  const unversionedSlug = navigation_exports.Slug(
219778
219802
  found.node.slug.replace(new RegExp(`^${escapeRegExp(slugPrefix)}/`), "")
@@ -220122,9 +220146,9 @@ function mutableDeleteChild(parent, node4) {
220122
220146
  return "should-delete-parent";
220123
220147
  }
220124
220148
  }
220125
- 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, 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, 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, RETURN_UNDEFINED3, RETURN_API_DEFINITION_ID, SKIP_URL_SLUG_PREFIX, SYNTHETIC_SEGMENT_RE, Pruner;
220149
+ 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, DashboardListOrgDocDomainsInputSchema, DashboardListOrgMembersInputSchema, DashboardGetSiteConfigInputSchema, AuthorizeDocsEditResponseSchema, AnalyticsMetricSchema, AnalyticsDimensionSchema, AnalyticsGranularitySchema, AnalyticsFilterFieldSchema, AnalyticsFilterOpSchema, AnalyticsFilterSchema, AnalyticsOrderBySchema, AnalyticsDateRangeSchema, QueryAnalyticsInputSchema, ResolvedDateRangeSchema, AnalyticsSourceSchema, TrafficSummaryResponseSchema, TopPagesResponseSchema, Pages404ResponseSchema, ReferringDomainsResponseSchema, LlmBotTrafficResponseSchema, RecentFeedbackResponseSchema, OrgDocDomainsResponseSchema, 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;
220126
220150
  var init_js = __esm({
220127
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.66-cc15e6c17a_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220151
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/index.mjs"() {
220128
220152
  "use strict";
220129
220153
  init_array();
220130
220154
  init_zod2();
@@ -220158,6 +220182,10 @@ var init_js = __esm({
220158
220182
  init_fetch3();
220159
220183
  init_dist7();
220160
220184
  init_zod2();
220185
+ init_dist5();
220186
+ init_fetch3();
220187
+ init_dist7();
220188
+ init_zod2();
220161
220189
  init_zod2();
220162
220190
  init_zod2();
220163
220191
  init_zod2();
@@ -220618,8 +220646,8 @@ var init_js = __esm({
220618
220646
  regex3 = new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${word}))|(${word}))(${word}*[\u2019']*${word}*)`, "g");
220619
220647
  convertToRegExp = (specials2) => specials2.map((s5) => [new RegExp(`\\b${s5}\\b`, "gi"), s5]);
220620
220648
  src_default = (str2, options2 = {}) => {
220621
- str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2, string33) => {
220622
- const isLastWord = m3.length + offset2 >= string33.length;
220649
+ str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2, string34) => {
220650
+ const isLastWord = m3.length + offset2 >= string34.length;
220623
220651
  const parsedMatch = parseMatch(m3);
220624
220652
  if (!parsedMatch) {
220625
220653
  return m3;
@@ -224626,6 +224654,213 @@ var init_js = __esm({
224626
224654
  isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema).output(IsDocsSiteInOrgResponseSchema),
224627
224655
  deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema).output(DeleteAllDocsSitesForOrgResponseSchema)
224628
224656
  };
224657
+ DashboardAnalyticsCommonInputSchema = objectType({
224658
+ orgId: stringType(),
224659
+ domain: stringType().min(1),
224660
+ dateRange: stringType().optional(),
224661
+ includeInternal: booleanType().optional()
224662
+ });
224663
+ DashboardFeedbackInputSchema = objectType({
224664
+ orgId: stringType(),
224665
+ domain: stringType().min(1),
224666
+ dateRange: stringType().optional(),
224667
+ feedbackType: enumType(["page", "code_block", "all"]).optional(),
224668
+ limit: numberType().int().min(1).max(50).optional()
224669
+ });
224670
+ DashboardListOrgDocDomainsInputSchema = objectType({
224671
+ orgId: stringType()
224672
+ });
224673
+ DashboardListOrgMembersInputSchema = objectType({
224674
+ orgId: stringType(),
224675
+ includeFernEmployees: booleanType().optional()
224676
+ });
224677
+ DashboardGetSiteConfigInputSchema = objectType({
224678
+ orgId: stringType(),
224679
+ domain: stringType().min(1)
224680
+ });
224681
+ AuthorizeDocsEditResponseSchema = objectType({
224682
+ authorized: literalType(true)
224683
+ });
224684
+ AnalyticsMetricSchema = enumType(["pageviews", "visitors", "sessions", "404s"]);
224685
+ AnalyticsDimensionSchema = enumType(["path", "referrer"]);
224686
+ AnalyticsGranularitySchema = enumType(["day", "week", "month"]);
224687
+ AnalyticsFilterFieldSchema = enumType(["path", "referrer"]);
224688
+ AnalyticsFilterOpSchema = enumType(["eq", "prefix", "contains"]);
224689
+ AnalyticsFilterSchema = objectType({
224690
+ field: AnalyticsFilterFieldSchema,
224691
+ op: AnalyticsFilterOpSchema,
224692
+ value: stringType().min(1).max(512)
224693
+ });
224694
+ AnalyticsOrderBySchema = objectType({
224695
+ field: enumType(["count", "visitors"]),
224696
+ dir: enumType(["asc", "desc"])
224697
+ });
224698
+ AnalyticsDateRangeSchema = unionType([
224699
+ stringType().min(1),
224700
+ objectType({ startDate: stringType(), endDate: stringType() })
224701
+ ]);
224702
+ QueryAnalyticsInputSchema = objectType({
224703
+ orgId: stringType(),
224704
+ domain: stringType().min(1),
224705
+ metric: AnalyticsMetricSchema,
224706
+ dimensions: arrayType(AnalyticsDimensionSchema).max(2).optional(),
224707
+ filters: arrayType(AnalyticsFilterSchema).max(10).optional(),
224708
+ dateRange: AnalyticsDateRangeSchema,
224709
+ granularity: AnalyticsGranularitySchema.optional(),
224710
+ orderBy: AnalyticsOrderBySchema.optional(),
224711
+ limit: numberType().int().min(1).max(500).optional()
224712
+ });
224713
+ ResolvedDateRangeSchema = objectType({
224714
+ startDate: stringType(),
224715
+ endDate: stringType()
224716
+ });
224717
+ AnalyticsSourceSchema = enumType(["cache", "live"]);
224718
+ TrafficSummaryResponseSchema = objectType({
224719
+ resolvedDateRange: ResolvedDateRangeSchema,
224720
+ metrics: objectType({
224721
+ visitors: numberType(),
224722
+ pageViews: numberType(),
224723
+ // Absent on cache hits: the daily snapshot does not track sessions.
224724
+ sessions: numberType().optional()
224725
+ }),
224726
+ baseSiteUrl: stringType(),
224727
+ source: AnalyticsSourceSchema
224728
+ });
224729
+ TopPagesResponseSchema = objectType({
224730
+ resolvedDateRange: ResolvedDateRangeSchema,
224731
+ topPages: arrayType(
224732
+ objectType({
224733
+ path: stringType(),
224734
+ visitors: numberType(),
224735
+ views: numberType()
224736
+ })
224737
+ ),
224738
+ source: AnalyticsSourceSchema
224739
+ });
224740
+ Pages404ResponseSchema = objectType({
224741
+ resolvedDateRange: ResolvedDateRangeSchema,
224742
+ pages404: arrayType(
224743
+ objectType({
224744
+ path: stringType(),
224745
+ count: numberType()
224746
+ })
224747
+ ),
224748
+ source: AnalyticsSourceSchema
224749
+ });
224750
+ ReferringDomainsResponseSchema = objectType({
224751
+ resolvedDateRange: ResolvedDateRangeSchema,
224752
+ referringDomains: arrayType(
224753
+ objectType({
224754
+ domain: stringType(),
224755
+ visitors: numberType(),
224756
+ views: numberType()
224757
+ })
224758
+ ),
224759
+ source: AnalyticsSourceSchema
224760
+ });
224761
+ LlmBotTrafficResponseSchema = objectType({
224762
+ resolvedDateRange: ResolvedDateRangeSchema,
224763
+ providers: arrayType(
224764
+ objectType({
224765
+ provider: stringType(),
224766
+ count: numberType()
224767
+ })
224768
+ ),
224769
+ source: AnalyticsSourceSchema
224770
+ });
224771
+ RecentFeedbackResponseSchema = objectType({
224772
+ resolvedDateRange: ResolvedDateRangeSchema,
224773
+ helpfulCount: numberType(),
224774
+ unhelpfulCount: numberType(),
224775
+ entries: arrayType(
224776
+ objectType({
224777
+ date: stringType(),
224778
+ location: stringType(),
224779
+ wasHelpful: booleanType(),
224780
+ userFeedback: stringType(),
224781
+ feedbackType: stringType().optional()
224782
+ })
224783
+ ),
224784
+ hasMore: booleanType()
224785
+ });
224786
+ OrgDocDomainsResponseSchema = objectType({
224787
+ domains: arrayType(stringType())
224788
+ });
224789
+ QueryAnalyticsResponseSchema = objectType({
224790
+ resolvedDateRange: ResolvedDateRangeSchema,
224791
+ metric: AnalyticsMetricSchema,
224792
+ dimensions: arrayType(AnalyticsDimensionSchema),
224793
+ granularity: AnalyticsGranularitySchema.optional(),
224794
+ rows: arrayType(
224795
+ objectType({
224796
+ dimensions: recordType(stringType(), stringType()),
224797
+ bucket: stringType().optional(),
224798
+ count: numberType(),
224799
+ visitors: numberType().optional(),
224800
+ sessions: numberType().optional()
224801
+ })
224802
+ )
224803
+ });
224804
+ OrgMembersResponseSchema = objectType({
224805
+ members: arrayType(
224806
+ objectType({
224807
+ name: stringType(),
224808
+ email: stringType(),
224809
+ roles: arrayType(stringType())
224810
+ })
224811
+ ),
224812
+ count: numberType()
224813
+ });
224814
+ SiteGitRepositorySchema = objectType({
224815
+ gitUrl: stringType(),
224816
+ provider: enumType(["github", "gitlab", "other"]),
224817
+ /** `owner/repo` when the git url points at GitHub, else null. */
224818
+ githubRepository: stringType().nullable(),
224819
+ branch: stringType().nullable()
224820
+ });
224821
+ SiteConfigResponseSchema = objectType({
224822
+ domain: stringType(),
224823
+ basepath: stringType().nullable(),
224824
+ status: stringType().nullable(),
224825
+ isPreview: booleanType(),
224826
+ /** The git repository connected to this docs site, when one exists. */
224827
+ gitRepository: SiteGitRepositorySchema.nullable(),
224828
+ /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
224829
+ isCustomDomain: booleanType(),
224830
+ /** Fern CLI version that published the current deployment, when known. */
224831
+ fernCliVersion: stringType().nullable(),
224832
+ /** Connected Postman collection id, when one exists. */
224833
+ postmanCollectionId: stringType().nullable()
224834
+ });
224835
+ SitePasswordProtectionSchema = objectType({
224836
+ enabled: booleanType(),
224837
+ /** Number of configured passwords. Passwords themselves are never returned. */
224838
+ passwordCount: numberType()
224839
+ });
224840
+ SiteSettingsResponseSchema = objectType({
224841
+ domain: stringType(),
224842
+ basepath: stringType().nullable(),
224843
+ /** Default basepath route for multi-basepath domains, when configured. */
224844
+ defaultBasepath: stringType().nullable(),
224845
+ /** Basepaths routed on this domain, when configured. */
224846
+ basepaths: arrayType(stringType()).nullable(),
224847
+ searchBehavior: enumType(["hierarchical", "unified"]).nullable(),
224848
+ passwordProtection: SitePasswordProtectionSchema
224849
+ });
224850
+ dashboardAgentContract = {
224851
+ getTrafficSummary: oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema).output(TrafficSummaryResponseSchema),
224852
+ getTopPages: oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema).output(TopPagesResponseSchema),
224853
+ get404Pages: oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema).output(Pages404ResponseSchema),
224854
+ getReferringDomains: oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema).output(ReferringDomainsResponseSchema),
224855
+ getLlmBotTraffic: oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema).output(LlmBotTrafficResponseSchema),
224856
+ getRecentFeedback: oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema).output(RecentFeedbackResponseSchema),
224857
+ queryAnalytics: oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema).output(QueryAnalyticsResponseSchema),
224858
+ listOrgDocDomains: oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema).output(OrgDocDomainsResponseSchema),
224859
+ listOrgMembers: oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema).output(OrgMembersResponseSchema),
224860
+ getSiteConfig: oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema).output(SiteConfigResponseSchema),
224861
+ authorizeDocsEdit: oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema).output(AuthorizeDocsEditResponseSchema),
224862
+ getSiteSettings: oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema).output(SiteSettingsResponseSchema)
224863
+ };
224629
224864
  FileIdSchema2 = stringType();
224630
224865
  PageIdSchema2 = stringType();
224631
224866
  UrlSchema2 = stringType();
@@ -224792,7 +225027,8 @@ var init_js = __esm({
224792
225027
  hideNavLinks: booleanType().optional(),
224793
225028
  hideFeedback: booleanType().optional(),
224794
225029
  mobileToc: booleanType().optional(),
224795
- changelogLayout: ChangelogLayoutSchema.optional()
225030
+ changelogLayout: ChangelogLayoutSchema.optional(),
225031
+ showNavAvailabilityBadges: booleanType().optional()
224796
225032
  });
224797
225033
  FooterNavConfigSchema = enumType(["default", "minimal"]);
224798
225034
  DocsSidebarConfigSchema = enumType(["default", "minimal"]);
@@ -224832,7 +225068,13 @@ var init_js = __esm({
224832
225068
  HttpSnippetsConfigSchema = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema)]);
224833
225069
  SearchSettingsConfigSchema = objectType({
224834
225070
  prioritizeCurrentProduct: booleanType().optional(),
224835
- defaultFilterByCurrentProduct: booleanType().optional()
225071
+ defaultFilterByCurrentProduct: booleanType().optional(),
225072
+ /**
225073
+ * Experimental: absolute URLs of external sitemaps to index alongside this
225074
+ * site's docs content. Their pages are tagged to the same domain but flagged
225075
+ * as third-party so they rank below all first-party documentation in search.
225076
+ */
225077
+ externalSitemaps: arrayType(stringType()).optional()
224836
225078
  });
224837
225079
  DocsSettingsConfigSchema = objectType({
224838
225080
  searchText: stringType().optional(),
@@ -226272,6 +226514,13 @@ var init_js = __esm({
226272
226514
  );
226273
226515
  LinkTargetSchema2 = enumType(["_blank", "_self", "_parent", "_top"]);
226274
226516
  CollapsedSchema = unionType([booleanType(), literalType("open-by-default")]);
226517
+ PlaygroundSettingsSchema = objectType({
226518
+ hidden: booleanType().optional(),
226519
+ environments: arrayType(stringType()).optional(),
226520
+ button: objectType({ href: stringType().optional() }).optional(),
226521
+ "limit-websocket-messages-per-connection": numberType().optional(),
226522
+ "send-optional-defaults": booleanType().optional()
226523
+ });
226275
226524
  LedgerAvailabilitySchema = unionType([
226276
226525
  AvailabilitySchema3,
226277
226526
  enumType([
@@ -226313,7 +226562,8 @@ var init_js = __esm({
226313
226562
  ApiNodeMetadataFields = {
226314
226563
  ...NodeMetadataFields,
226315
226564
  apiDefinitionId: stringType(),
226316
- availability: LedgerAvailabilitySchema.optional()
226565
+ availability: LedgerAvailabilitySchema.optional(),
226566
+ playground: PlaygroundSettingsSchema.optional()
226317
226567
  };
226318
226568
  LedgerSegmentDetailMetadataObjectSchema = LedgerMetadataBaseSchema.extend({
226319
226569
  slug: stringType().optional(),
@@ -226363,7 +226613,8 @@ var init_js = __esm({
226363
226613
  hideTitle: booleanType().optional(),
226364
226614
  viewers: MetadataStringArraySchema.optional(),
226365
226615
  orphaned: booleanType().optional(),
226366
- featureFlags: FeatureFlagMetadataSchema.optional()
226616
+ featureFlags: FeatureFlagMetadataSchema.optional(),
226617
+ playground: PlaygroundSettingsSchema.optional()
226367
226618
  }),
226368
226619
  LedgerMetadataBaseSchema.extend({
226369
226620
  type: literalType("apiPackage"),
@@ -226377,7 +226628,8 @@ var init_js = __esm({
226377
226628
  pointsTo: stringType().optional(),
226378
226629
  viewers: MetadataStringArraySchema.optional(),
226379
226630
  orphaned: booleanType().optional(),
226380
- featureFlags: FeatureFlagMetadataSchema.optional()
226631
+ featureFlags: FeatureFlagMetadataSchema.optional(),
226632
+ playground: PlaygroundSettingsSchema.optional()
226381
226633
  }),
226382
226634
  LedgerMetadataBaseSchema.extend({
226383
226635
  type: literalType("changelog"),
@@ -232157,6 +232409,30 @@ var init_js = __esm({
232157
232409
  getNodesInOrder = () => {
232158
232410
  return this.nodesInOrder;
232159
232411
  };
232412
+ /**
232413
+ * The distinct RBAC roles referenced anywhere in the navigation, collected from every node's
232414
+ * `viewers`. This is the authoritative source of "which roles gate content on this site" — the
232415
+ * top-level `root.roles` is not populated by the nav builders, and docs.yml's declared `roles`
232416
+ * list is not serialized into the docs definition, so the roles that actually exist are the ones
232417
+ * appearing in node `viewers` (e.g. the implicit `everyone` plus any custom roles like `beta`).
232418
+ *
232419
+ * NOTE: this is a faithful collection of every role in `viewers` — it INCLUDES the implicit
232420
+ * `everyone` role when present (kept deliberately, so callers can e.g. detect whether a site uses
232421
+ * RBAC at all). Consumers that want only masquerade-able custom roles MUST filter `everyone`
232422
+ * themselves (the preview widget does this via `EVERYONE_ROLE`).
232423
+ */
232424
+ getRoles = once2(() => {
232425
+ const roles = /* @__PURE__ */ new Set();
232426
+ for (const node4 of this.nodesInOrder) {
232427
+ const viewers = node4.viewers;
232428
+ if (viewers != null) {
232429
+ for (const role of viewers) {
232430
+ roles.add(role);
232431
+ }
232432
+ }
232433
+ }
232434
+ return Array.from(roles);
232435
+ });
232160
232436
  };
232161
232437
  MAX_CHANGELOG_ENTRIES_MINIMUM = 15;
232162
232438
  CHANGELOG_RECENCY_MONTHS = 6;
@@ -233012,14 +233288,17 @@ var init_js = __esm({
233012
233288
  createBreadcrumb: () => createBreadcrumb,
233013
233289
  findNode: () => findNode,
233014
233290
  getApiReferenceId: () => getApiReferenceId,
233291
+ getEnclosingTabbedNode: () => getEnclosingTabbedNode,
233015
233292
  getNoIndexFromFrontmatter: () => getNoIndexFromFrontmatter,
233016
233293
  mutableUpdatePointsTo: () => mutableUpdatePointsTo,
233294
+ resolveCurrentTab: () => resolveCurrentTab,
233017
233295
  stripSyntheticSegments: () => stripSyntheticSegments,
233018
233296
  toApis: () => toApis,
233019
233297
  toPages: () => toPages,
233020
233298
  toRootNode: () => toRootNode2,
233021
233299
  toUnversionedSlug: () => toUnversionedSlug
233022
233300
  });
233301
+ isHeaderTab = (child) => child.type === "tab" || child.type === "changelog";
233023
233302
  RETURN_UNDEFINED3 = () => void 0;
233024
233303
  RETURN_API_DEFINITION_ID = (node4) => node4.apiDefinitionId;
233025
233304
  SKIP_URL_SLUG_PREFIX = "~";
@@ -261165,6 +261444,7 @@ function parseOpenApiDefinitionSettingsSchema(settings) {
261165
261444
  additionalPropertiesDefaultsTo: settings?.["additional-properties-defaults-to"],
261166
261445
  typeDatesAsStrings: settings?.["type-dates-as-strings"],
261167
261446
  preserveSingleSchemaOneOf: settings?.["preserve-single-schema-oneof"],
261447
+ preserveOneOfInAllOf: settings?.["preserve-one-of-in-all-of"],
261168
261448
  inlineAllOfSchemas: settings?.["inline-all-of-schemas"],
261169
261449
  resolveAliases: settings?.["resolve-aliases"],
261170
261450
  groupMultiApiEnvironments: settings?.["group-multi-api-environments"],
@@ -262023,6 +262303,7 @@ var init_convertGeneratorsConfiguration = __esm({
262023
262303
  additionalPropertiesDefaultsTo: void 0,
262024
262304
  typeDatesAsStrings: void 0,
262025
262305
  preserveSingleSchemaOneOf: void 0,
262306
+ preserveOneOfInAllOf: void 0,
262026
262307
  inlineAllOfSchemas: void 0,
262027
262308
  resolveAliases: void 0,
262028
262309
  groupMultiApiEnvironments: void 0,
@@ -347777,6 +348058,8 @@ var init_SchemaConverter = __esm({
347777
348058
  "extensions"
347778
348059
  ];
347779
348060
  SchemaConverter = class _SchemaConverter extends AbstractConverter {
348061
+ /** Upper bound on the variants produced by distributing an allOf over its unions. */
348062
+ static MAX_DISTRIBUTED_VARIANTS = 64;
347780
348063
  schema;
347781
348064
  id;
347782
348065
  inlined;
@@ -347804,6 +348087,10 @@ var init_SchemaConverter = __esm({
347804
348087
  if (maybeConvertedEnumSchema != null) {
347805
348088
  return maybeConvertedEnumSchema;
347806
348089
  }
348090
+ const maybeDistributedAllOfOverOneOf = this.tryDistributeAllOfOverOneOf();
348091
+ if (maybeDistributedAllOfOverOneOf != null) {
348092
+ return maybeDistributedAllOfOverOneOf;
348093
+ }
347807
348094
  const maybeConvertedSingularAllOfSchema = this.tryConvertSingularAllOfSchema();
347808
348095
  if (maybeConvertedSingularAllOfSchema != null) {
347809
348096
  return maybeConvertedSingularAllOfSchema;
@@ -348001,6 +348288,101 @@ var init_SchemaConverter = __esm({
348001
348288
  }
348002
348289
  return void 0;
348003
348290
  }
348291
+ /**
348292
+ * Distributes an allOf whose members include a union over that union, so that
348293
+ * `allOf: [oneOf: [A, B], S]` is converted as `oneOf: [allOf: [A, S], allOf: [B, S]]`.
348294
+ * Otherwise the union member is flattened into the parent object and its variants are lost.
348295
+ *
348296
+ * Only the first union is distributed here; the remaining allOf members are re-injected into
348297
+ * every variant, so any further unions are distributed by the recursive conversion below.
348298
+ */
348299
+ tryDistributeAllOfOverOneOf() {
348300
+ if (!this.context.settings.preserveOneOfInAllOf) {
348301
+ return void 0;
348302
+ }
348303
+ const allOf = this.schema.allOf;
348304
+ if (!Array.isArray(allOf) || allOf.length === 0) {
348305
+ return void 0;
348306
+ }
348307
+ if (this.schema.oneOf != null || this.schema.anyOf != null) {
348308
+ return void 0;
348309
+ }
348310
+ const unions = this.getDistributableUnions(allOf);
348311
+ const firstUnion = unions[0];
348312
+ if (firstUnion == null) {
348313
+ return void 0;
348314
+ }
348315
+ const variantCount = unions.reduce((count, union23) => count * union23.variants.length, 1);
348316
+ if (variantCount > _SchemaConverter.MAX_DISTRIBUTED_VARIANTS) {
348317
+ this.context.logger.warn(`Not distributing allOf over its ${unions.length} unions at ${this.breadcrumbs.join(".")}: it would produce ${variantCount} variants (max ${_SchemaConverter.MAX_DISTRIBUTED_VARIANTS}).`);
348318
+ return void 0;
348319
+ }
348320
+ const sharedElements = allOf.filter((_5, index3) => index3 !== firstUnion.index);
348321
+ if (this.schema.properties != null || this.schema.required != null) {
348322
+ sharedElements.push({
348323
+ type: "object",
348324
+ properties: this.schema.properties,
348325
+ required: this.schema.required
348326
+ });
348327
+ }
348328
+ const siblings = { ...this.schema };
348329
+ delete siblings.allOf;
348330
+ delete siblings.properties;
348331
+ delete siblings.required;
348332
+ const distributedConverter = new _SchemaConverter({
348333
+ context: this.context,
348334
+ breadcrumbs: this.breadcrumbs,
348335
+ schema: {
348336
+ ...siblings,
348337
+ oneOf: firstUnion.variants.map((variant) => {
348338
+ const title2 = this.getVariantTitle(variant);
348339
+ return { ...title2 != null ? { title: title2 } : {}, allOf: [variant, ...sharedElements] };
348340
+ })
348341
+ },
348342
+ id: this.id,
348343
+ inlined: this.inlined,
348344
+ nameOverride: this.nameOverride,
348345
+ visitedRefs: this.visitedRefs
348346
+ });
348347
+ return distributedConverter.convert();
348348
+ }
348349
+ getVariantTitle(variant) {
348350
+ if (!this.context.isReferenceObject(variant)) {
348351
+ return variant.title;
348352
+ }
348353
+ const resolved = this.context.resolveMaybeReference({
348354
+ schemaOrReference: variant,
348355
+ breadcrumbs: this.breadcrumbs
348356
+ });
348357
+ return resolved?.title ?? variant.$ref.split("/").pop();
348358
+ }
348359
+ /**
348360
+ * The allOf members that are plain unions of the parent's shape, in declaration order.
348361
+ */
348362
+ getDistributableUnions(allOf) {
348363
+ const unions = [];
348364
+ for (const [index3, element4] of allOf.entries()) {
348365
+ const resolved = this.context.isReferenceObject(element4) ? this.context.resolveMaybeReference({
348366
+ schemaOrReference: element4,
348367
+ breadcrumbs: this.breadcrumbs
348368
+ }) : element4;
348369
+ if (resolved == null || resolved.properties != null) {
348370
+ continue;
348371
+ }
348372
+ if (resolved.type != null && resolved.type !== "object") {
348373
+ continue;
348374
+ }
348375
+ if (resolved.discriminator != null) {
348376
+ continue;
348377
+ }
348378
+ const variants = resolved.oneOf ?? resolved.anyOf;
348379
+ if (variants == null || variants.length === 0) {
348380
+ continue;
348381
+ }
348382
+ unions.push({ index: index3, variants });
348383
+ }
348384
+ return unions;
348385
+ }
348004
348386
  tryConvertPrimitiveSchema() {
348005
348387
  const primitiveConverter = new PrimitiveSchemaConverter({ context: this.context, schema: this.schema });
348006
348388
  const primitiveType2 = primitiveConverter.convert();
@@ -454792,7 +455174,8 @@ function convertPlaygroundSettings(playgroundSettings) {
454792
455174
  environments: playgroundSettings.environments != null && playgroundSettings.environments.length > 0 ? playgroundSettings.environments.map((environmentId) => navigation_exports.V1.EnvironmentId(environmentId)) : void 0,
454793
455175
  button: playgroundSettings.button != null && playgroundSettings.button.href ? { href: navigation_exports.V1.Url(playgroundSettings.button.href) } : void 0,
454794
455176
  "limit-websocket-messages-per-connection": playgroundSettings.limitWebsocketMessagesPerConnection != null ? playgroundSettings.limitWebsocketMessagesPerConnection : void 0,
454795
- hidden: playgroundSettings.hidden != null ? playgroundSettings.hidden : void 0
455177
+ hidden: playgroundSettings.hidden != null ? playgroundSettings.hidden : void 0,
455178
+ "send-optional-defaults": playgroundSettings.sendOptionalDefaults != null ? playgroundSettings.sendOptionalDefaults : void 0
454796
455179
  };
454797
455180
  }
454798
455181
  return;
@@ -587213,10 +587596,19 @@ var require_dist25 = __commonJS({
587213
587596
  }
587214
587597
  });
587215
587598
 
587216
- // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.66-cc15e6c17a_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
587599
+ // ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs
587217
587600
  var orpc_client_exports = {};
587218
587601
  __export(orpc_client_exports, {
587219
587602
  AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema2,
587603
+ AnalyticsDateRangeSchema: () => AnalyticsDateRangeSchema2,
587604
+ AnalyticsDimensionSchema: () => AnalyticsDimensionSchema2,
587605
+ AnalyticsFilterFieldSchema: () => AnalyticsFilterFieldSchema2,
587606
+ AnalyticsFilterOpSchema: () => AnalyticsFilterOpSchema2,
587607
+ AnalyticsFilterSchema: () => AnalyticsFilterSchema2,
587608
+ AnalyticsGranularitySchema: () => AnalyticsGranularitySchema2,
587609
+ AnalyticsMetricSchema: () => AnalyticsMetricSchema2,
587610
+ AnalyticsOrderBySchema: () => AnalyticsOrderBySchema2,
587611
+ AnalyticsSourceSchema: () => AnalyticsSourceSchema2,
587220
587612
  ApiAuthSchema: () => ApiAuthSchema4,
587221
587613
  ApiDefinitionId: () => ApiDefinitionId3,
587222
587614
  ApiDefinitionIdSchema: () => ApiDefinitionIdSchema3,
@@ -587233,6 +587625,7 @@ __export(orpc_client_exports, {
587233
587625
  AuthPayloadSchema: () => AuthPayloadSchema2,
587234
587626
  AuthSchemeId: () => AuthSchemeId2,
587235
587627
  AuthSchemeIdSchema: () => AuthSchemeIdSchema2,
587628
+ AuthorizeDocsEditResponseSchema: () => AuthorizeDocsEditResponseSchema2,
587236
587629
  Availability: () => Availability21,
587237
587630
  AvailabilitySchema: () => AvailabilitySchema5,
587238
587631
  Base64TypeSchema: () => Base64TypeSchema2,
@@ -587268,7 +587661,12 @@ __export(orpc_client_exports, {
587268
587661
  CurrentVersionInputSchema: () => CurrentVersionInputSchema2,
587269
587662
  CurrentVersionResponseSchema: () => CurrentVersionResponseSchema2,
587270
587663
  CustomSnippetPayloadSchema: () => CustomSnippetPayloadSchema2,
587664
+ DashboardAnalyticsCommonInputSchema: () => DashboardAnalyticsCommonInputSchema2,
587271
587665
  DashboardDocsSiteSchema: () => DashboardDocsSiteSchema2,
587666
+ DashboardFeedbackInputSchema: () => DashboardFeedbackInputSchema2,
587667
+ DashboardGetSiteConfigInputSchema: () => DashboardGetSiteConfigInputSchema2,
587668
+ DashboardListOrgDocDomainsInputSchema: () => DashboardListOrgDocDomainsInputSchema2,
587669
+ DashboardListOrgMembersInputSchema: () => DashboardListOrgMembersInputSchema2,
587272
587670
  DateTypeSchema: () => DateTypeSchema2,
587273
587671
  DatetimeTypeSchema: () => DatetimeTypeSchema2,
587274
587672
  DbApiDefinitionPackageSchema: () => DbApiDefinitionPackageSchema2,
@@ -587554,6 +587952,7 @@ __export(orpc_client_exports, {
587554
587952
  ListRepositoriesInputSchema: () => ListRepositoriesInputSchema2,
587555
587953
  ListRepositoriesResponseSchema: () => ListRepositoriesResponseSchema2,
587556
587954
  LiteralTypeSchema: () => LiteralTypeSchema2,
587955
+ LlmBotTrafficResponseSchema: () => LlmBotTrafficResponseSchema2,
587557
587956
  LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema2,
587558
587957
  LocaleEntrySchema: () => LocaleEntrySchema2,
587559
587958
  LongTypeSchema: () => LongTypeSchema2,
@@ -587578,14 +587977,18 @@ __export(orpc_client_exports, {
587578
587977
  ObjectPropertySchema: () => ObjectPropertySchema3,
587579
587978
  ObjectTypeSchema: () => ObjectTypeSchema2,
587580
587979
  OpenRpcProtocolSchema: () => OpenRpcProtocolSchema2,
587980
+ OrgConfigResponseSchema: () => OrgConfigResponseSchema,
587981
+ OrgDocDomainsResponseSchema: () => OrgDocDomainsResponseSchema2,
587581
587982
  OrgId: () => OrgId3,
587582
587983
  OrgIdSchema: () => OrgIdSchema3,
587984
+ OrgMembersResponseSchema: () => OrgMembersResponseSchema2,
587583
587985
  PATH_OR_URL_METADATA_KEYS: () => PATH_OR_URL_METADATA_KEYS,
587584
587986
  PageBlobRefSchema: () => PageBlobRefSchema2,
587585
587987
  PageContentInputSchema: () => PageContentInputSchema2,
587586
587988
  PageContentResponseSchema: () => PageContentResponseSchema2,
587587
587989
  PageId: () => PageId3,
587588
587990
  PageIdSchema: () => PageIdSchema3,
587991
+ Pages404ResponseSchema: () => Pages404ResponseSchema2,
587589
587992
  PathOrUrlSchema: () => PathOrUrlSchema2,
587590
587993
  PathParameterSchema: () => PathParameterSchema2,
587591
587994
  PathPartSchema: () => PathPartSchema2,
@@ -587612,6 +588015,8 @@ __export(orpc_client_exports, {
587612
588015
  PutFileInputSchema: () => PutFileInputSchema,
587613
588016
  PythonLibraryDocsConfigSchema: () => PythonLibraryDocsConfigSchema2,
587614
588017
  PythonPackageSchema: () => PythonPackageSchema2,
588018
+ QueryAnalyticsInputSchema: () => QueryAnalyticsInputSchema2,
588019
+ QueryAnalyticsResponseSchema: () => QueryAnalyticsResponseSchema2,
587615
588020
  QueryParameterSchema: () => QueryParameterSchema2,
587616
588021
  ReadApiDefinitionPackageSchema: () => ReadApiDefinitionPackageSchema2,
587617
588022
  ReadApiDefinitionSchema: () => ReadApiDefinitionSchema2,
@@ -587644,8 +588049,10 @@ __export(orpc_client_exports, {
587644
588049
  ReadUndiscriminatedUnionVariantSchema: () => ReadUndiscriminatedUnionVariantSchema2,
587645
588050
  ReadWebSocketChannelSchema: () => ReadWebSocketChannelSchema2,
587646
588051
  ReadWebhookDefinitionSchema: () => ReadWebhookDefinitionSchema2,
588052
+ RecentFeedbackResponseSchema: () => RecentFeedbackResponseSchema2,
587647
588053
  RecordPostmanNotificationInputSchema: () => RecordPostmanNotificationInputSchema2,
587648
588054
  RecordPostmanNotificationResponseSchema: () => RecordPostmanNotificationResponseSchema2,
588055
+ ReferringDomainsResponseSchema: () => ReferringDomainsResponseSchema2,
587649
588056
  RegisterApiDefinitionPackageSchema: () => RegisterApiDefinitionPackageSchema2,
587650
588057
  RegisterApiDefinitionResponseSchema: () => RegisterApiDefinitionResponseSchema2,
587651
588058
  RegisterApiDefinitionSchema: () => RegisterApiDefinitionSchema2,
@@ -587682,6 +588089,7 @@ __export(orpc_client_exports, {
587682
588089
  ReleaseTypeSchema: () => ReleaseTypeSchema2,
587683
588090
  RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema2,
587684
588091
  RepositoryIdSchema: () => RepositoryIdSchema2,
588092
+ ResolvedDateRangeSchema: () => ResolvedDateRangeSchema2,
587685
588093
  RestProtocolSchema: () => RestProtocolSchema2,
587686
588094
  RevokeTokenInputSchema: () => RevokeTokenInputSchema2,
587687
588095
  RoleId: () => RoleId4,
@@ -587701,7 +588109,11 @@ __export(orpc_client_exports, {
587701
588109
  SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema2,
587702
588110
  SetIsArchivedInputSchema: () => SetIsArchivedInputSchema2,
587703
588111
  SetSnapshotInputSchema: () => SetSnapshotInputSchema2,
588112
+ SiteConfigResponseSchema: () => SiteConfigResponseSchema2,
588113
+ SiteGitRepositorySchema: () => SiteGitRepositorySchema2,
587704
588114
  SiteMetricsSchema: () => SiteMetricsSchema2,
588115
+ SitePasswordProtectionSchema: () => SitePasswordProtectionSchema2,
588116
+ SiteSettingsResponseSchema: () => SiteSettingsResponseSchema2,
587705
588117
  SlugEntrySchema: () => SlugEntrySchema2,
587706
588118
  SlugsInputSchema: () => SlugsInputSchema2,
587707
588119
  SnippetInfoSchema: () => SnippetInfoSchema2,
@@ -587734,6 +588146,8 @@ __export(orpc_client_exports, {
587734
588146
  TokenIdSchema: () => TokenIdSchema2,
587735
588147
  TopLevelNavigationInputSchema: () => TopLevelNavigationInputSchema2,
587736
588148
  TopLevelNavigationResponseSchema: () => TopLevelNavigationResponseSchema2,
588149
+ TopPagesResponseSchema: () => TopPagesResponseSchema2,
588150
+ TrafficSummaryResponseSchema: () => TrafficSummaryResponseSchema2,
587737
588151
  TransferOwnershipInputSchema: () => TransferOwnershipInputSchema2,
587738
588152
  TypeId: () => TypeId23,
587739
588153
  TypeIdSchema: () => TypeIdSchema2,
@@ -587748,6 +588162,7 @@ __export(orpc_client_exports, {
587748
588162
  UpdateDeploymentStatusResponseSchema: () => UpdateDeploymentStatusResponseSchema2,
587749
588163
  UpdatePdfExportTaskInputSchema: () => UpdatePdfExportTaskInputSchema2,
587750
588164
  UpsertCliReleaseInputSchema: () => UpsertCliReleaseInputSchema2,
588165
+ UpsertOrgConfigBodySchema: () => UpsertOrgConfigBodySchema,
587751
588166
  UpsertThemeBodySchema: () => UpsertThemeBodySchema,
587752
588167
  Url: () => Url5,
587753
588168
  UrlSchema: () => UrlSchema3,
@@ -587782,6 +588197,7 @@ __export(orpc_client_exports, {
587782
588197
  collectNavFilePaths: () => collectNavFilePaths,
587783
588198
  contentContract: () => contentContract,
587784
588199
  createApiClient: () => createApiClient2,
588200
+ createDashboardAgentClient: () => createDashboardAgentClient2,
587785
588201
  createDashboardClient: () => createDashboardClient2,
587786
588202
  createDocsCacheClient: () => createDocsCacheClient2,
587787
588203
  createDocsClient: () => createDocsClient2,
@@ -587806,6 +588222,7 @@ __export(orpc_client_exports, {
587806
588222
  createSnippetsFactoryClient: () => createSnippetsFactoryClient2,
587807
588223
  createTemplatesClient: () => createTemplatesClient2,
587808
588224
  createTokensClient: () => createTokensClient2,
588225
+ dashboardAgentContract: () => dashboardAgentContract2,
587809
588226
  dashboardContract: () => dashboardContract2,
587810
588227
  docsCacheContract: () => docsCacheContract2,
587811
588228
  docsDeploymentContract: () => docsDeploymentContract2,
@@ -587959,6 +588376,17 @@ function createDashboardClient2(options2) {
587959
588376
  });
587960
588377
  return createORPCClient(link3);
587961
588378
  }
588379
+ function createDashboardAgentClient2(options2) {
588380
+ const link3 = new OpenAPILink(dashboardAgentContract2, {
588381
+ url: `${options2.baseUrl}/dashboard-agent`,
588382
+ headers: () => ({
588383
+ Authorization: `Bearer ${options2.token}`,
588384
+ ...options2.headers
588385
+ }),
588386
+ ...options2.fetch != null ? { fetch: options2.fetch } : {}
588387
+ });
588388
+ return createORPCClient(link3);
588389
+ }
587962
588390
  function createDocsV1ReadClient2(options2) {
587963
588391
  const link3 = new OpenAPILink(docsV1ReadContract2, {
587964
588392
  url: `${options2.baseUrl}/registry/docs`,
@@ -588220,6 +588648,7 @@ function createFdrORPCClient2(options2) {
588220
588648
  return {
588221
588649
  api: createApiClient2(normalizedOptions),
588222
588650
  dashboard: createDashboardClient2(normalizedOptions),
588651
+ dashboardAgent: createDashboardAgentClient2(normalizedOptions),
588223
588652
  docs: createDocsClient2(normalizedOptions),
588224
588653
  docsCache: createDocsCacheClient2(normalizedOptions),
588225
588654
  docsDeployment: createDocsDeploymentClient2(normalizedOptions),
@@ -588407,9 +588836,9 @@ function isFernFileRef(value2) {
588407
588836
  const hash5 = value2[FERN_FILE_REF_KEY];
588408
588837
  return typeof hash5 === "string" && SHA256_RE.test(hash5);
588409
588838
  }
588410
- 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, 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, 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, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
588839
+ 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, DashboardListOrgDocDomainsInputSchema2, DashboardListOrgMembersInputSchema2, DashboardGetSiteConfigInputSchema2, AuthorizeDocsEditResponseSchema2, AnalyticsMetricSchema2, AnalyticsDimensionSchema2, AnalyticsGranularitySchema2, AnalyticsFilterFieldSchema2, AnalyticsFilterOpSchema2, AnalyticsFilterSchema2, AnalyticsOrderBySchema2, AnalyticsDateRangeSchema2, QueryAnalyticsInputSchema2, ResolvedDateRangeSchema2, AnalyticsSourceSchema2, TrafficSummaryResponseSchema2, TopPagesResponseSchema2, Pages404ResponseSchema2, ReferringDomainsResponseSchema2, LlmBotTrafficResponseSchema2, RecentFeedbackResponseSchema2, OrgDocDomainsResponseSchema2, 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;
588411
588840
  var init_orpc_client = __esm({
588412
- "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.66-cc15e6c17a_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
588841
+ "../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.80-050d6c9417_@opentelemetry+api@1.9.1_typescript@5.9.3/node_modules/@fern-api/fdr-sdk/dist/js/orpc-client.mjs"() {
588413
588842
  "use strict";
588414
588843
  init_dist5();
588415
588844
  init_dist5();
@@ -588432,6 +588861,10 @@ var init_orpc_client = __esm({
588432
588861
  init_fetch3();
588433
588862
  init_dist7();
588434
588863
  init_zod2();
588864
+ init_dist5();
588865
+ init_fetch3();
588866
+ init_dist7();
588867
+ init_zod2();
588435
588868
  init_zod2();
588436
588869
  init_zod2();
588437
588870
  init_zod2();
@@ -588512,6 +588945,7 @@ var init_orpc_client = __esm({
588512
588945
  init_dist7();
588513
588946
  init_zod2();
588514
588947
  init_zod2();
588948
+ init_zod2();
588515
588949
  OrgIdSchema3 = stringType();
588516
588950
  ApiIdSchema2 = stringType();
588517
588951
  ApiDefinitionIdSchema3 = stringType().uuid();
@@ -590499,6 +590933,213 @@ var init_orpc_client = __esm({
590499
590933
  isDocsSiteInOrg: oc.route({ method: "POST", path: "/is-docs-site-in-org" }).input(IsDocsSiteInOrgInputSchema2).output(IsDocsSiteInOrgResponseSchema2),
590500
590934
  deleteAllDocsSitesForOrg: oc.route({ method: "DELETE", path: "/{orgId}/docs" }).input(DeleteAllDocsSitesForOrgInputSchema2).output(DeleteAllDocsSitesForOrgResponseSchema2)
590501
590935
  };
590936
+ DashboardAnalyticsCommonInputSchema2 = objectType({
590937
+ orgId: stringType(),
590938
+ domain: stringType().min(1),
590939
+ dateRange: stringType().optional(),
590940
+ includeInternal: booleanType().optional()
590941
+ });
590942
+ DashboardFeedbackInputSchema2 = objectType({
590943
+ orgId: stringType(),
590944
+ domain: stringType().min(1),
590945
+ dateRange: stringType().optional(),
590946
+ feedbackType: enumType(["page", "code_block", "all"]).optional(),
590947
+ limit: numberType().int().min(1).max(50).optional()
590948
+ });
590949
+ DashboardListOrgDocDomainsInputSchema2 = objectType({
590950
+ orgId: stringType()
590951
+ });
590952
+ DashboardListOrgMembersInputSchema2 = objectType({
590953
+ orgId: stringType(),
590954
+ includeFernEmployees: booleanType().optional()
590955
+ });
590956
+ DashboardGetSiteConfigInputSchema2 = objectType({
590957
+ orgId: stringType(),
590958
+ domain: stringType().min(1)
590959
+ });
590960
+ AuthorizeDocsEditResponseSchema2 = objectType({
590961
+ authorized: literalType(true)
590962
+ });
590963
+ AnalyticsMetricSchema2 = enumType(["pageviews", "visitors", "sessions", "404s"]);
590964
+ AnalyticsDimensionSchema2 = enumType(["path", "referrer"]);
590965
+ AnalyticsGranularitySchema2 = enumType(["day", "week", "month"]);
590966
+ AnalyticsFilterFieldSchema2 = enumType(["path", "referrer"]);
590967
+ AnalyticsFilterOpSchema2 = enumType(["eq", "prefix", "contains"]);
590968
+ AnalyticsFilterSchema2 = objectType({
590969
+ field: AnalyticsFilterFieldSchema2,
590970
+ op: AnalyticsFilterOpSchema2,
590971
+ value: stringType().min(1).max(512)
590972
+ });
590973
+ AnalyticsOrderBySchema2 = objectType({
590974
+ field: enumType(["count", "visitors"]),
590975
+ dir: enumType(["asc", "desc"])
590976
+ });
590977
+ AnalyticsDateRangeSchema2 = unionType([
590978
+ stringType().min(1),
590979
+ objectType({ startDate: stringType(), endDate: stringType() })
590980
+ ]);
590981
+ QueryAnalyticsInputSchema2 = objectType({
590982
+ orgId: stringType(),
590983
+ domain: stringType().min(1),
590984
+ metric: AnalyticsMetricSchema2,
590985
+ dimensions: arrayType(AnalyticsDimensionSchema2).max(2).optional(),
590986
+ filters: arrayType(AnalyticsFilterSchema2).max(10).optional(),
590987
+ dateRange: AnalyticsDateRangeSchema2,
590988
+ granularity: AnalyticsGranularitySchema2.optional(),
590989
+ orderBy: AnalyticsOrderBySchema2.optional(),
590990
+ limit: numberType().int().min(1).max(500).optional()
590991
+ });
590992
+ ResolvedDateRangeSchema2 = objectType({
590993
+ startDate: stringType(),
590994
+ endDate: stringType()
590995
+ });
590996
+ AnalyticsSourceSchema2 = enumType(["cache", "live"]);
590997
+ TrafficSummaryResponseSchema2 = objectType({
590998
+ resolvedDateRange: ResolvedDateRangeSchema2,
590999
+ metrics: objectType({
591000
+ visitors: numberType(),
591001
+ pageViews: numberType(),
591002
+ // Absent on cache hits: the daily snapshot does not track sessions.
591003
+ sessions: numberType().optional()
591004
+ }),
591005
+ baseSiteUrl: stringType(),
591006
+ source: AnalyticsSourceSchema2
591007
+ });
591008
+ TopPagesResponseSchema2 = objectType({
591009
+ resolvedDateRange: ResolvedDateRangeSchema2,
591010
+ topPages: arrayType(
591011
+ objectType({
591012
+ path: stringType(),
591013
+ visitors: numberType(),
591014
+ views: numberType()
591015
+ })
591016
+ ),
591017
+ source: AnalyticsSourceSchema2
591018
+ });
591019
+ Pages404ResponseSchema2 = objectType({
591020
+ resolvedDateRange: ResolvedDateRangeSchema2,
591021
+ pages404: arrayType(
591022
+ objectType({
591023
+ path: stringType(),
591024
+ count: numberType()
591025
+ })
591026
+ ),
591027
+ source: AnalyticsSourceSchema2
591028
+ });
591029
+ ReferringDomainsResponseSchema2 = objectType({
591030
+ resolvedDateRange: ResolvedDateRangeSchema2,
591031
+ referringDomains: arrayType(
591032
+ objectType({
591033
+ domain: stringType(),
591034
+ visitors: numberType(),
591035
+ views: numberType()
591036
+ })
591037
+ ),
591038
+ source: AnalyticsSourceSchema2
591039
+ });
591040
+ LlmBotTrafficResponseSchema2 = objectType({
591041
+ resolvedDateRange: ResolvedDateRangeSchema2,
591042
+ providers: arrayType(
591043
+ objectType({
591044
+ provider: stringType(),
591045
+ count: numberType()
591046
+ })
591047
+ ),
591048
+ source: AnalyticsSourceSchema2
591049
+ });
591050
+ RecentFeedbackResponseSchema2 = objectType({
591051
+ resolvedDateRange: ResolvedDateRangeSchema2,
591052
+ helpfulCount: numberType(),
591053
+ unhelpfulCount: numberType(),
591054
+ entries: arrayType(
591055
+ objectType({
591056
+ date: stringType(),
591057
+ location: stringType(),
591058
+ wasHelpful: booleanType(),
591059
+ userFeedback: stringType(),
591060
+ feedbackType: stringType().optional()
591061
+ })
591062
+ ),
591063
+ hasMore: booleanType()
591064
+ });
591065
+ OrgDocDomainsResponseSchema2 = objectType({
591066
+ domains: arrayType(stringType())
591067
+ });
591068
+ QueryAnalyticsResponseSchema2 = objectType({
591069
+ resolvedDateRange: ResolvedDateRangeSchema2,
591070
+ metric: AnalyticsMetricSchema2,
591071
+ dimensions: arrayType(AnalyticsDimensionSchema2),
591072
+ granularity: AnalyticsGranularitySchema2.optional(),
591073
+ rows: arrayType(
591074
+ objectType({
591075
+ dimensions: recordType(stringType(), stringType()),
591076
+ bucket: stringType().optional(),
591077
+ count: numberType(),
591078
+ visitors: numberType().optional(),
591079
+ sessions: numberType().optional()
591080
+ })
591081
+ )
591082
+ });
591083
+ OrgMembersResponseSchema2 = objectType({
591084
+ members: arrayType(
591085
+ objectType({
591086
+ name: stringType(),
591087
+ email: stringType(),
591088
+ roles: arrayType(stringType())
591089
+ })
591090
+ ),
591091
+ count: numberType()
591092
+ });
591093
+ SiteGitRepositorySchema2 = objectType({
591094
+ gitUrl: stringType(),
591095
+ provider: enumType(["github", "gitlab", "other"]),
591096
+ /** `owner/repo` when the git url points at GitHub, else null. */
591097
+ githubRepository: stringType().nullable(),
591098
+ branch: stringType().nullable()
591099
+ });
591100
+ SiteConfigResponseSchema2 = objectType({
591101
+ domain: stringType(),
591102
+ basepath: stringType().nullable(),
591103
+ status: stringType().nullable(),
591104
+ isPreview: booleanType(),
591105
+ /** The git repository connected to this docs site, when one exists. */
591106
+ gitRepository: SiteGitRepositorySchema2.nullable(),
591107
+ /** True when the queried domain is a customer-owned custom domain (not *.docs.buildwithfern.com). */
591108
+ isCustomDomain: booleanType(),
591109
+ /** Fern CLI version that published the current deployment, when known. */
591110
+ fernCliVersion: stringType().nullable(),
591111
+ /** Connected Postman collection id, when one exists. */
591112
+ postmanCollectionId: stringType().nullable()
591113
+ });
591114
+ SitePasswordProtectionSchema2 = objectType({
591115
+ enabled: booleanType(),
591116
+ /** Number of configured passwords. Passwords themselves are never returned. */
591117
+ passwordCount: numberType()
591118
+ });
591119
+ SiteSettingsResponseSchema2 = objectType({
591120
+ domain: stringType(),
591121
+ basepath: stringType().nullable(),
591122
+ /** Default basepath route for multi-basepath domains, when configured. */
591123
+ defaultBasepath: stringType().nullable(),
591124
+ /** Basepaths routed on this domain, when configured. */
591125
+ basepaths: arrayType(stringType()).nullable(),
591126
+ searchBehavior: enumType(["hierarchical", "unified"]).nullable(),
591127
+ passwordProtection: SitePasswordProtectionSchema2
591128
+ });
591129
+ dashboardAgentContract2 = {
591130
+ getTrafficSummary: oc.route({ method: "POST", path: "/get-traffic-summary" }).input(DashboardAnalyticsCommonInputSchema2).output(TrafficSummaryResponseSchema2),
591131
+ getTopPages: oc.route({ method: "POST", path: "/get-top-pages" }).input(DashboardAnalyticsCommonInputSchema2).output(TopPagesResponseSchema2),
591132
+ get404Pages: oc.route({ method: "POST", path: "/get-404-pages" }).input(DashboardAnalyticsCommonInputSchema2).output(Pages404ResponseSchema2),
591133
+ getReferringDomains: oc.route({ method: "POST", path: "/get-referring-domains" }).input(DashboardAnalyticsCommonInputSchema2).output(ReferringDomainsResponseSchema2),
591134
+ getLlmBotTraffic: oc.route({ method: "POST", path: "/get-llm-bot-traffic" }).input(DashboardAnalyticsCommonInputSchema2).output(LlmBotTrafficResponseSchema2),
591135
+ getRecentFeedback: oc.route({ method: "POST", path: "/get-recent-feedback" }).input(DashboardFeedbackInputSchema2).output(RecentFeedbackResponseSchema2),
591136
+ queryAnalytics: oc.route({ method: "POST", path: "/query-analytics" }).input(QueryAnalyticsInputSchema2).output(QueryAnalyticsResponseSchema2),
591137
+ listOrgDocDomains: oc.route({ method: "POST", path: "/list-org-doc-domains" }).input(DashboardListOrgDocDomainsInputSchema2).output(OrgDocDomainsResponseSchema2),
591138
+ listOrgMembers: oc.route({ method: "POST", path: "/list-org-members" }).input(DashboardListOrgMembersInputSchema2).output(OrgMembersResponseSchema2),
591139
+ getSiteConfig: oc.route({ method: "POST", path: "/get-site-config" }).input(DashboardGetSiteConfigInputSchema2).output(SiteConfigResponseSchema2),
591140
+ authorizeDocsEdit: oc.route({ method: "POST", path: "/authorize-docs-edit" }).input(DashboardGetSiteConfigInputSchema2).output(AuthorizeDocsEditResponseSchema2),
591141
+ getSiteSettings: oc.route({ method: "POST", path: "/get-site-settings" }).input(DashboardGetSiteConfigInputSchema2).output(SiteSettingsResponseSchema2)
591142
+ };
590502
591143
  FileIdSchema22 = stringType();
590503
591144
  PageIdSchema22 = stringType();
590504
591145
  UrlSchema22 = stringType();
@@ -590665,7 +591306,8 @@ var init_orpc_client = __esm({
590665
591306
  hideNavLinks: booleanType().optional(),
590666
591307
  hideFeedback: booleanType().optional(),
590667
591308
  mobileToc: booleanType().optional(),
590668
- changelogLayout: ChangelogLayoutSchema2.optional()
591309
+ changelogLayout: ChangelogLayoutSchema2.optional(),
591310
+ showNavAvailabilityBadges: booleanType().optional()
590669
591311
  });
590670
591312
  FooterNavConfigSchema2 = enumType(["default", "minimal"]);
590671
591313
  DocsSidebarConfigSchema2 = enumType(["default", "minimal"]);
@@ -590705,7 +591347,13 @@ var init_orpc_client = __esm({
590705
591347
  HttpSnippetsConfigSchema2 = unionType([booleanType(), arrayType(HttpSnippetLanguageSchema2)]);
590706
591348
  SearchSettingsConfigSchema2 = objectType({
590707
591349
  prioritizeCurrentProduct: booleanType().optional(),
590708
- defaultFilterByCurrentProduct: booleanType().optional()
591350
+ defaultFilterByCurrentProduct: booleanType().optional(),
591351
+ /**
591352
+ * Experimental: absolute URLs of external sitemaps to index alongside this
591353
+ * site's docs content. Their pages are tagged to the same domain but flagged
591354
+ * as third-party so they rank below all first-party documentation in search.
591355
+ */
591356
+ externalSitemaps: arrayType(stringType()).optional()
590709
591357
  });
590710
591358
  DocsSettingsConfigSchema3 = objectType({
590711
591359
  searchText: stringType().optional(),
@@ -592099,6 +592747,13 @@ var init_orpc_client = __esm({
592099
592747
  );
592100
592748
  LinkTargetSchema22 = enumType(["_blank", "_self", "_parent", "_top"]);
592101
592749
  CollapsedSchema2 = unionType([booleanType(), literalType("open-by-default")]);
592750
+ PlaygroundSettingsSchema3 = objectType({
592751
+ hidden: booleanType().optional(),
592752
+ environments: arrayType(stringType()).optional(),
592753
+ button: objectType({ href: stringType().optional() }).optional(),
592754
+ "limit-websocket-messages-per-connection": numberType().optional(),
592755
+ "send-optional-defaults": booleanType().optional()
592756
+ });
592102
592757
  LedgerAvailabilitySchema2 = unionType([
592103
592758
  AvailabilitySchema5,
592104
592759
  enumType([
@@ -592140,7 +592795,8 @@ var init_orpc_client = __esm({
592140
592795
  ApiNodeMetadataFields2 = {
592141
592796
  ...NodeMetadataFields2,
592142
592797
  apiDefinitionId: stringType(),
592143
- availability: LedgerAvailabilitySchema2.optional()
592798
+ availability: LedgerAvailabilitySchema2.optional(),
592799
+ playground: PlaygroundSettingsSchema3.optional()
592144
592800
  };
592145
592801
  LedgerSegmentDetailMetadataObjectSchema2 = LedgerMetadataBaseSchema2.extend({
592146
592802
  slug: stringType().optional(),
@@ -592190,7 +592846,8 @@ var init_orpc_client = __esm({
592190
592846
  hideTitle: booleanType().optional(),
592191
592847
  viewers: MetadataStringArraySchema2.optional(),
592192
592848
  orphaned: booleanType().optional(),
592193
- featureFlags: FeatureFlagMetadataSchema2.optional()
592849
+ featureFlags: FeatureFlagMetadataSchema2.optional(),
592850
+ playground: PlaygroundSettingsSchema3.optional()
592194
592851
  }),
592195
592852
  LedgerMetadataBaseSchema2.extend({
592196
592853
  type: literalType("apiPackage"),
@@ -592204,7 +592861,8 @@ var init_orpc_client = __esm({
592204
592861
  pointsTo: stringType().optional(),
592205
592862
  viewers: MetadataStringArraySchema2.optional(),
592206
592863
  orphaned: booleanType().optional(),
592207
- featureFlags: FeatureFlagMetadataSchema2.optional()
592864
+ featureFlags: FeatureFlagMetadataSchema2.optional(),
592865
+ playground: PlaygroundSettingsSchema3.optional()
592208
592866
  }),
592209
592867
  LedgerMetadataBaseSchema2.extend({
592210
592868
  type: literalType("changelog"),
@@ -593786,6 +594444,19 @@ var init_orpc_client = __esm({
593786
594444
  */
593787
594445
  getFile: oc.route({ method: "GET", path: "/" }).output(FileResponseSchema)
593788
594446
  };
594447
+ SEMVER_RE = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z-.]+)?(?:\+[0-9A-Za-z-.]+)?$/;
594448
+ UpsertOrgConfigBodySchema = objectType({
594449
+ // A semver string sets the bound; `null` clears it; omitting leaves it unchanged.
594450
+ cliVersionMin: unionType([stringType().regex(SEMVER_RE, "cliVersionMin must be a valid semver (e.g. 5.45.0)"), nullType()]).optional(),
594451
+ cliVersionMax: unionType([stringType().regex(SEMVER_RE, "cliVersionMax must be a valid semver (e.g. 5.45.0)"), nullType()]).optional()
594452
+ });
594453
+ OrgConfigResponseSchema = objectType({
594454
+ orgId: stringType(),
594455
+ cliVersionMin: stringType().optional(),
594456
+ cliVersionMax: stringType().optional(),
594457
+ // Absent when no config has been stored for the org yet.
594458
+ updatedAt: stringType().optional()
594459
+ });
593789
594460
  FERN_FILE_REF_KEY = "hash";
593790
594461
  SHA256_RE = /^[0-9a-f]{64}$/;
593791
594462
  THEME_NAME_RE = /^[a-zA-Z0-9_-]{1,64}$/;
@@ -684399,6 +685070,13 @@ var OpenApiSettingsSchema2 = BaseApiSettingsSchema2.extend({
684399
685070
  * Defaults to false.
684400
685071
  */
684401
685072
  preserveSingleSchemaOneof: external_exports.boolean().optional(),
685073
+ /**
685074
+ * If true, an allOf containing a oneOf/anyOf member is distributed into a union, where each
685075
+ * variant is the union member merged with the remaining allOf members.
685076
+ * If false, the variants' properties are flattened into a single object and marked optional.
685077
+ * Defaults to false.
685078
+ */
685079
+ preserveOneOfInAllOf: external_exports.boolean().optional(),
684402
685080
  /**
684403
685081
  * Whether to inline allOf schemas. If false, allOf schemas will be
684404
685082
  * extended in the code generation.
@@ -684976,7 +685654,7 @@ __export(schemas_exports13, {
684976
685654
  PageActionsConfigSchema: () => PageActionsConfigSchema2,
684977
685655
  PageConfigurationSchema: () => PageConfigurationSchema,
684978
685656
  PathParameterOrderSchema: () => PathParameterOrderSchema,
684979
- PlaygroundSettingsSchema: () => PlaygroundSettingsSchema,
685657
+ PlaygroundSettingsSchema: () => PlaygroundSettingsSchema2,
684980
685658
  ProductConfigSchema: () => ProductConfigSchema,
684981
685659
  ProtobufDefinitionSchema: () => ProtobufDefinitionSchema2,
684982
685660
  ProtobufSettingsSchema: () => ProtobufSettingsSchema,
@@ -685036,7 +685714,7 @@ var TabConfigSchema = S4.TabConfig;
685036
685714
  var VersionConfigSchema = S4.VersionConfig;
685037
685715
  var ProductConfigSchema = S4.ProductConfig;
685038
685716
  var SnippetsConfigurationSchema = S4.SnippetsConfiguration;
685039
- var PlaygroundSettingsSchema = S4.PlaygroundSettings;
685717
+ var PlaygroundSettingsSchema2 = S4.PlaygroundSettings;
685040
685718
  var LogoConfigurationSchema2 = S4.LogoConfiguration;
685041
685719
  var BackgroundImageConfigurationSchema = S4.BackgroundImageConfiguration;
685042
685720
  var ColorsConfigurationSchema = S4.ColorsConfiguration;
@@ -693029,7 +693707,7 @@ var AccessTokenPosthogManager = class {
693029
693707
  properties: {
693030
693708
  ...event,
693031
693709
  ...event.properties,
693032
- version: "5.85.0",
693710
+ version: "5.87.0",
693033
693711
  usingAccessToken: true,
693034
693712
  ...getRunIdProperties()
693035
693713
  }
@@ -693095,7 +693773,7 @@ var UserPosthogManager = class {
693095
693773
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
693096
693774
  event: "CLI",
693097
693775
  properties: {
693098
- version: "5.85.0",
693776
+ version: "5.87.0",
693099
693777
  ...event,
693100
693778
  ...event.properties,
693101
693779
  usingAccessToken: false,
@@ -699902,6 +700580,7 @@ var LegacyApiSpecAdapter = class {
699902
700580
  additionalPropertiesDefaultsTo: settings.additionalPropertiesDefaultsTo,
699903
700581
  typeDatesAsStrings: settings.typeDatesAsStrings,
699904
700582
  preserveSingleSchemaOneOf: settings.preserveSingleSchemaOneof,
700583
+ preserveOneOfInAllOf: settings.preserveOneOfInAllOf,
699905
700584
  inlineAllOfSchemas: settings.inlineAllOfSchemas,
699906
700585
  resolveAliases: settings.resolveAliases,
699907
700586
  groupMultiApiEnvironments: settings.groupMultiApiEnvironments,
@@ -842023,6 +842702,17 @@ var definitions4 = {
842023
842702
  }
842024
842703
  ],
842025
842704
  description: "The maximum number of websocket messages per connection in the playground."
842705
+ },
842706
+ "send-optional-defaults": {
842707
+ oneOf: [
842708
+ {
842709
+ type: "boolean"
842710
+ },
842711
+ {
842712
+ type: "null"
842713
+ }
842714
+ ],
842715
+ description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
842026
842716
  }
842027
842717
  },
842028
842718
  additionalProperties: false
@@ -844154,6 +844844,17 @@ var definitions5 = {
844154
844844
  }
844155
844845
  ],
844156
844846
  description: "The maximum number of websocket messages per connection in the playground."
844847
+ },
844848
+ "send-optional-defaults": {
844849
+ oneOf: [
844850
+ {
844851
+ type: "boolean"
844852
+ },
844853
+ {
844854
+ type: "null"
844855
+ }
844856
+ ],
844857
+ description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
844157
844858
  }
844158
844859
  },
844159
844860
  additionalProperties: false
@@ -872292,6 +872993,7 @@ var SETTINGS_KEY_MAP = {
872292
872993
  "additional-properties-defaults-to": "additionalPropertiesDefaultsTo",
872293
872994
  "type-dates-as-strings": "typeDatesAsStrings",
872294
872995
  "preserve-single-schema-oneof": "preserveSingleSchemaOneof",
872996
+ "preserve-one-of-in-all-of": "preserveOneOfInAllOf",
872295
872997
  "inline-all-of-schemas": "inlineAllOfSchemas",
872296
872998
  "resolve-aliases": "resolveAliases",
872297
872999
  "group-multi-api-environments": "groupMultiApiEnvironments",
@@ -874201,7 +874903,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
874201
874903
  var LOGS_FOLDER_NAME = "logs";
874202
874904
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
874203
874905
  function getCliSource() {
874204
- const version7 = "5.85.0";
874906
+ const version7 = "5.87.0";
874205
874907
  return `cli@${version7}`;
874206
874908
  }
874207
874909
  var DebugLogger = class {
@@ -898244,6 +898946,17 @@ var definitions6 = {
898244
898946
  }
898245
898947
  ],
898246
898948
  description: "The maximum number of websocket messages per connection in the playground."
898949
+ },
898950
+ "send-optional-defaults": {
898951
+ oneOf: [
898952
+ {
898953
+ type: "boolean"
898954
+ },
898955
+ {
898956
+ type: "null"
898957
+ }
898958
+ ],
898959
+ description: "When true, optional parameters that declare a default (or x-fern-default) are\npre-filled and sent from the API Explorer playground. Defaults to false."
898247
898960
  }
898248
898961
  },
898249
898962
  additionalProperties: false
@@ -906900,7 +907613,7 @@ var LegacyDocsPublisher = class {
906900
907613
  previewId,
906901
907614
  disableTemplates: void 0,
906902
907615
  skipUpload,
906903
- cliVersion: "5.85.0",
907616
+ cliVersion: "5.87.0",
906904
907617
  loginCommand: "fern auth login"
906905
907618
  });
906906
907619
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -973775,7 +974488,7 @@ function getAutomationContextFromEnv() {
973775
974488
  config_branch: process.env.FERN_CONFIG_BRANCH,
973776
974489
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
973777
974490
  trigger: process.env.GITHUB_EVENT_NAME,
973778
- cli_version: "5.85.0"
974491
+ cli_version: "5.87.0"
973779
974492
  };
973780
974493
  }
973781
974494
  function isAutomationMode() {
@@ -974607,7 +975320,7 @@ var CliContext = class _CliContext {
974607
975320
  if (false) {
974608
975321
  this.logger.error("CLI_VERSION is not defined");
974609
975322
  }
974610
- return "5.85.0";
975323
+ return "5.87.0";
974611
975324
  }
974612
975325
  getCliName() {
974613
975326
  if (false) {