@fern-api/fern-api-dev 5.71.0 → 5.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +1102 -651
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -83949,10 +83949,11 @@ function getIdempotencyKeyGenerationFromGeneratorConfig(generatorInvocation) {
|
|
|
83949
83949
|
return resolveIdempotencyKeyGeneration(value2);
|
|
83950
83950
|
}
|
|
83951
83951
|
function getRawPerGeneratorIdempotencyKeyConfig(generatorInvocation) {
|
|
83952
|
-
|
|
83952
|
+
const config5 = typeof generatorInvocation.raw?.config === "object" && generatorInvocation.raw?.config !== null ? generatorInvocation.raw.config : typeof generatorInvocation.config === "object" && generatorInvocation.config !== null ? generatorInvocation.config : void 0;
|
|
83953
|
+
if (config5 == null) {
|
|
83953
83954
|
return void 0;
|
|
83954
83955
|
}
|
|
83955
|
-
return
|
|
83956
|
+
return config5["auto-generate-idempotency-key"];
|
|
83956
83957
|
}
|
|
83957
83958
|
function resolveIdempotencyKeyGeneration(value2) {
|
|
83958
83959
|
if (value2 === true) {
|
|
@@ -117407,7 +117408,8 @@ var init_DocsYmlSchemas = __esm({
|
|
|
117407
117408
|
JsFileConfig = external_exports.union([external_exports.string(), JsFileConfigSettings]);
|
|
117408
117409
|
JsRemoteConfig = external_exports.object({
|
|
117409
117410
|
url: external_exports.string(),
|
|
117410
|
-
strategy: JsScriptStrategy.optional()
|
|
117411
|
+
strategy: JsScriptStrategy.optional(),
|
|
117412
|
+
"disable-sri": external_exports.boolean().optional()
|
|
117411
117413
|
});
|
|
117412
117414
|
JsConfigOptions = external_exports.union([JsRemoteConfig, JsFileConfig]);
|
|
117413
117415
|
JsConfig = external_exports.union([JsConfigOptions, external_exports.array(JsConfigOptions)]);
|
|
@@ -122730,7 +122732,8 @@ var init_JsRemoteConfig2 = __esm({
|
|
|
122730
122732
|
init_JsScriptStrategy2();
|
|
122731
122733
|
JsRemoteConfig2 = schemas_exports6.object({
|
|
122732
122734
|
url: schemas_exports6.string(),
|
|
122733
|
-
strategy: JsScriptStrategy3.optional()
|
|
122735
|
+
strategy: JsScriptStrategy3.optional(),
|
|
122736
|
+
disableSri: schemas_exports6.property("disable-sri", schemas_exports6.boolean().optional())
|
|
122734
122737
|
});
|
|
122735
122738
|
}
|
|
122736
122739
|
});
|
|
@@ -212334,7 +212337,7 @@ var init_esm18 = __esm({
|
|
|
212334
212337
|
}
|
|
212335
212338
|
});
|
|
212336
212339
|
|
|
212337
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
212340
|
+
// ../../../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
|
|
212338
212341
|
function assertNever3(x4) {
|
|
212339
212342
|
throw new Error("Unexpected value: " + JSON.stringify(x4));
|
|
212340
212343
|
}
|
|
@@ -212474,6 +212477,11 @@ function WebhookId2(value2) {
|
|
|
212474
212477
|
function GraphQlOperationId(value2) {
|
|
212475
212478
|
return value2;
|
|
212476
212479
|
}
|
|
212480
|
+
function getGraphqlOperationIds(node4) {
|
|
212481
|
+
const ids = new Set(node4.graphqlOperationIds ?? []);
|
|
212482
|
+
ids.add(node4.graphqlOperationId);
|
|
212483
|
+
return [...ids];
|
|
212484
|
+
}
|
|
212477
212485
|
function EnvironmentId3(value2) {
|
|
212478
212486
|
return value2;
|
|
212479
212487
|
}
|
|
@@ -212623,16 +212631,16 @@ function selectDefaultValue(shape, defaults3) {
|
|
|
212623
212631
|
return void 0;
|
|
212624
212632
|
}
|
|
212625
212633
|
}
|
|
212626
|
-
function unwrapObjectType(
|
|
212627
|
-
const cached2 = UnwrapObjectTypeCache.get(
|
|
212634
|
+
function unwrapObjectType(object32, types4, parentVisitedTypeIds) {
|
|
212635
|
+
const cached2 = UnwrapObjectTypeCache.get(object32);
|
|
212628
212636
|
if (cached2 != null) {
|
|
212629
212637
|
return cached2;
|
|
212630
212638
|
}
|
|
212631
|
-
const directProperties =
|
|
212632
|
-
const extraProperties =
|
|
212639
|
+
const directProperties = object32.properties;
|
|
212640
|
+
const extraProperties = object32.extraProperties;
|
|
212633
212641
|
const descriptions = [];
|
|
212634
212642
|
const visitedTypeIds = /* @__PURE__ */ new Set();
|
|
212635
|
-
const extendedProperties =
|
|
212643
|
+
const extendedProperties = object32.extends.flatMap((typeId) => {
|
|
212636
212644
|
if (parentVisitedTypeIds?.has(typeId)) {
|
|
212637
212645
|
console.error(`Circular reference detected. Cannot extend type=${typeId}`);
|
|
212638
212646
|
return [];
|
|
@@ -212693,10 +212701,10 @@ function unwrapObjectType(object33, types4, parentVisitedTypeIds) {
|
|
|
212693
212701
|
extraProperties,
|
|
212694
212702
|
visitedTypeIds
|
|
212695
212703
|
};
|
|
212696
|
-
UnwrapObjectTypeCache.set(
|
|
212704
|
+
UnwrapObjectTypeCache.set(object32, toRet2);
|
|
212697
212705
|
return toRet2;
|
|
212698
212706
|
}
|
|
212699
|
-
const propertyKeys = new Set(
|
|
212707
|
+
const propertyKeys = new Set(object32.properties.map((property24) => property24.key));
|
|
212700
212708
|
const seenExtendedKeys = /* @__PURE__ */ new Set();
|
|
212701
212709
|
const filteredExtendedProperties = extendedProperties.filter((extendedProperty) => {
|
|
212702
212710
|
if (propertyKeys.has(extendedProperty.key) || seenExtendedKeys.has(extendedProperty.key)) {
|
|
@@ -212714,7 +212722,7 @@ function unwrapObjectType(object33, types4, parentVisitedTypeIds) {
|
|
|
212714
212722
|
]
|
|
212715
212723
|
);
|
|
212716
212724
|
const toRet = { properties: properties7, descriptions, extraProperties, visitedTypeIds };
|
|
212717
|
-
UnwrapObjectTypeCache.set(
|
|
212725
|
+
UnwrapObjectTypeCache.set(object32, toRet);
|
|
212718
212726
|
return toRet;
|
|
212719
212727
|
}
|
|
212720
212728
|
function unwrapDiscriminatedUnionVariant(union112, variant, types4) {
|
|
@@ -213778,7 +213786,9 @@ function toSnippetHttpRequest(endpoint3, example, auth8) {
|
|
|
213778
213786
|
});
|
|
213779
213787
|
}
|
|
213780
213788
|
const body = example.requestBody ?? void 0;
|
|
213781
|
-
if (
|
|
213789
|
+
if (example.contentType != null) {
|
|
213790
|
+
headers2["Content-Type"] = example.contentType;
|
|
213791
|
+
} else if (endpoint3.requests?.[0]?.contentType != null) {
|
|
213782
213792
|
headers2["Content-Type"] = endpoint3.requests?.[0]?.contentType;
|
|
213783
213793
|
}
|
|
213784
213794
|
if (body != null && headers2["Content-Type"] == null) {
|
|
@@ -213873,8 +213883,8 @@ function sortKeysByShape(obj, shape, types4) {
|
|
|
213873
213883
|
set: ({ itemShape }) => Array.isArray(obj) ? obj.map((o3) => sortKeysByShape(o3, itemShape, types4)) : obj,
|
|
213874
213884
|
map: ({ valueShape }) => isPlainObject_default2(obj) ? mapValues3(obj, (value2) => sortKeysByShape(value2, valueShape, types4)) : obj,
|
|
213875
213885
|
unknown: () => obj,
|
|
213876
|
-
object: (
|
|
213877
|
-
const objectProperties = unwrapObjectType(
|
|
213886
|
+
object: (object32) => {
|
|
213887
|
+
const objectProperties = unwrapObjectType(object32, types4).properties;
|
|
213878
213888
|
return isPlainObject_default2(obj) ? mapValues3(
|
|
213879
213889
|
sortKeysBy(
|
|
213880
213890
|
obj,
|
|
@@ -214254,7 +214264,8 @@ function generateGraphQlSnippet(context3) {
|
|
|
214254
214264
|
const fieldPath = operation.fieldPath;
|
|
214255
214265
|
const hasFieldPath = fieldPath != null && fieldPath.length > 0;
|
|
214256
214266
|
const selectionSetIndent = hasFieldPath ? 2 + fieldPath.length : 2;
|
|
214257
|
-
const
|
|
214267
|
+
const initialDepth = isReturnTypeNamespace(operation.returnType, types4) ? DEFAULT_MAX_DEPTH + 1 : DEFAULT_MAX_DEPTH;
|
|
214268
|
+
const selectionSet = generateSelectionSet(operation.returnType, types4, initialDepth, /* @__PURE__ */ new Set(), selectionSetIndent);
|
|
214258
214269
|
let query = operationKeyword;
|
|
214259
214270
|
if (operationName || variableDefinitions.length > 0) {
|
|
214260
214271
|
query += ` ${operationName}`;
|
|
@@ -214504,6 +214515,17 @@ function generateExamplePrimitiveValue(primitive) {
|
|
|
214504
214515
|
return "example";
|
|
214505
214516
|
}
|
|
214506
214517
|
}
|
|
214518
|
+
function isReturnTypeNamespace(returnType, types4) {
|
|
214519
|
+
const { shape } = unwrapReference(returnType, types4);
|
|
214520
|
+
if (shape.type !== "object") {
|
|
214521
|
+
return false;
|
|
214522
|
+
}
|
|
214523
|
+
const properties7 = shape.properties ?? [];
|
|
214524
|
+
if (properties7.length === 0) {
|
|
214525
|
+
return false;
|
|
214526
|
+
}
|
|
214527
|
+
return properties7.every((prop) => prop.arguments != null && prop.arguments.length > 0);
|
|
214528
|
+
}
|
|
214507
214529
|
function generateSelectionSet(shape, types4, depth, visited = /* @__PURE__ */ new Set(), indentLevel = 2) {
|
|
214508
214530
|
if (depth <= 0) {
|
|
214509
214531
|
return "";
|
|
@@ -215092,26 +215114,6 @@ function createDocsV1ReadClient(options2) {
|
|
|
215092
215114
|
});
|
|
215093
215115
|
return createORPCClient(link3);
|
|
215094
215116
|
}
|
|
215095
|
-
function OrgId2(value2) {
|
|
215096
|
-
return value2;
|
|
215097
|
-
}
|
|
215098
|
-
function FilePath(value2) {
|
|
215099
|
-
return value2;
|
|
215100
|
-
}
|
|
215101
|
-
function DocsRegistrationId(value2) {
|
|
215102
|
-
return value2;
|
|
215103
|
-
}
|
|
215104
|
-
function createDocsV1WriteClient(options2) {
|
|
215105
|
-
const link3 = new OpenAPILink(docsV1WriteContract, {
|
|
215106
|
-
url: `${options2.baseUrl}/registry/docs`,
|
|
215107
|
-
headers: () => ({
|
|
215108
|
-
Authorization: `Bearer ${options2.token}`,
|
|
215109
|
-
...options2.headers
|
|
215110
|
-
}),
|
|
215111
|
-
...options2.fetch != null ? { fetch: options2.fetch } : {}
|
|
215112
|
-
});
|
|
215113
|
-
return createORPCClient(link3);
|
|
215114
|
-
}
|
|
215115
215117
|
function createLibraryDocsClient(options2) {
|
|
215116
215118
|
const link3 = new OpenAPILink(libraryDocsContract, {
|
|
215117
215119
|
url: `${options2.baseUrl}/v2/registry/docs`,
|
|
@@ -215145,6 +215147,15 @@ function createDocsV2ReadClient(options2) {
|
|
|
215145
215147
|
});
|
|
215146
215148
|
return createORPCClient(link3);
|
|
215147
215149
|
}
|
|
215150
|
+
function OrgId2(value2) {
|
|
215151
|
+
return value2;
|
|
215152
|
+
}
|
|
215153
|
+
function FilePath(value2) {
|
|
215154
|
+
return value2;
|
|
215155
|
+
}
|
|
215156
|
+
function DocsRegistrationId(value2) {
|
|
215157
|
+
return value2;
|
|
215158
|
+
}
|
|
215148
215159
|
function FilePath2(value2) {
|
|
215149
215160
|
return value2;
|
|
215150
215161
|
}
|
|
@@ -215162,8 +215173,7 @@ function createDocsV2WriteClient(options2) {
|
|
|
215162
215173
|
function createDocsClient(options2) {
|
|
215163
215174
|
return {
|
|
215164
215175
|
v1: {
|
|
215165
|
-
read: createDocsV1ReadClient(options2)
|
|
215166
|
-
write: createDocsV1WriteClient(options2)
|
|
215176
|
+
read: createDocsV1ReadClient(options2)
|
|
215167
215177
|
},
|
|
215168
215178
|
v2: {
|
|
215169
215179
|
read: createDocsV2ReadClient(options2),
|
|
@@ -215647,9 +215657,9 @@ function generateHttpResponseBodyExample(type7, resolveTypeById) {
|
|
|
215647
215657
|
}
|
|
215648
215658
|
}
|
|
215649
215659
|
}
|
|
215650
|
-
function generateExampleObject(
|
|
215660
|
+
function generateExampleObject(object32, resolveTypeById, ignoreOptionals, visited, depth) {
|
|
215651
215661
|
const example = {};
|
|
215652
|
-
for (const property24 of getAllObjectProperties(
|
|
215662
|
+
for (const property24 of getAllObjectProperties(object32, resolveTypeById)) {
|
|
215653
215663
|
const value2 = generateExampleFromTypeReference(
|
|
215654
215664
|
property24.valueType,
|
|
215655
215665
|
resolveTypeById,
|
|
@@ -215833,10 +215843,10 @@ function generateExamplePrimitive(reference4) {
|
|
|
215833
215843
|
return reference4.name;
|
|
215834
215844
|
}
|
|
215835
215845
|
}
|
|
215836
|
-
function getAllObjectProperties(
|
|
215846
|
+
function getAllObjectProperties(object32, resolveTypeById) {
|
|
215837
215847
|
return [
|
|
215838
|
-
...
|
|
215839
|
-
...
|
|
215848
|
+
...object32.properties,
|
|
215849
|
+
...object32.extends.flatMap((typeId) => {
|
|
215840
215850
|
let type7 = resolveTypeById(typeId);
|
|
215841
215851
|
if (type7 == null) {
|
|
215842
215852
|
return [];
|
|
@@ -216083,6 +216093,7 @@ function convertAPIDefinitionToDb(writeShape, id, snippets) {
|
|
|
216083
216093
|
return {
|
|
216084
216094
|
id,
|
|
216085
216095
|
apiName: writeShape.apiName,
|
|
216096
|
+
specVersion: writeShape.specVersion,
|
|
216086
216097
|
rootPackage: {
|
|
216087
216098
|
endpoints: writeShape.rootPackage.endpoints.map(
|
|
216088
216099
|
(endpoint3) => transformEndpoint({
|
|
@@ -216494,6 +216505,7 @@ function transformExampleEndpointCall({
|
|
|
216494
216505
|
}) {
|
|
216495
216506
|
return {
|
|
216496
216507
|
name: writeShape.name,
|
|
216508
|
+
contentType: writeShape.contentType ?? void 0,
|
|
216497
216509
|
description: writeShape.description,
|
|
216498
216510
|
// htmlDescription,
|
|
216499
216511
|
// descriptionContainsMarkdown: true,
|
|
@@ -217171,6 +217183,7 @@ function convertDbAPIDefinitionToRead(dbShape) {
|
|
|
217171
217183
|
return {
|
|
217172
217184
|
id: dbShape.id,
|
|
217173
217185
|
apiName: dbShape.apiName,
|
|
217186
|
+
specVersion: dbShape.specVersion,
|
|
217174
217187
|
rootPackage: {
|
|
217175
217188
|
endpoints: dbShape.rootPackage.endpoints.map((endpoint3) => transformEndpoint2({ dbShape: endpoint3 })),
|
|
217176
217189
|
subpackages: dbShape.rootPackage.subpackages,
|
|
@@ -217337,6 +217350,7 @@ function convertExampleEndpointCall({
|
|
|
217337
217350
|
}) {
|
|
217338
217351
|
return {
|
|
217339
217352
|
name: dbShape.name,
|
|
217353
|
+
contentType: dbShape.contentType ?? void 0,
|
|
217340
217354
|
description: dbShape.description,
|
|
217341
217355
|
// htmlDescription: dbShape.htmlDescription,
|
|
217342
217356
|
// descriptionContainsMarkdown: true,
|
|
@@ -218402,12 +218416,6 @@ function findNode(root6, slug) {
|
|
|
218402
218416
|
}
|
|
218403
218417
|
}
|
|
218404
218418
|
}
|
|
218405
|
-
if (!foundProductNode && isProductGroupNode(root6.child) && root6.child.landingPage != null) {
|
|
218406
|
-
const landingPageSlug = root6.child.landingPage.slug;
|
|
218407
|
-
if (slug === landingPageSlug) {
|
|
218408
|
-
return { type: "redirect", redirect: landingPageSlug };
|
|
218409
|
-
}
|
|
218410
|
-
}
|
|
218411
218419
|
return {
|
|
218412
218420
|
type: "notFound",
|
|
218413
218421
|
// External product links don't have pointsTo, only internal products and versions do
|
|
@@ -218514,15 +218522,15 @@ function findNode(root6, slug) {
|
|
|
218514
218522
|
};
|
|
218515
218523
|
}
|
|
218516
218524
|
if (root6.type === "root" && root6.slug === slug && root6.pointsTo != null) {
|
|
218517
|
-
return { type: "redirect", redirect: root6.pointsTo };
|
|
218525
|
+
return { type: "redirect", redirect: root6.pointsTo, authed: root6.authed };
|
|
218518
218526
|
}
|
|
218519
218527
|
if (navigation_exports.hasRedirect(found.node) && found.node.pointsTo != null) {
|
|
218520
|
-
return { type: "redirect", redirect: found.node.pointsTo };
|
|
218528
|
+
return { type: "redirect", redirect: found.node.pointsTo, authed: found.node.authed };
|
|
218521
218529
|
}
|
|
218522
218530
|
if (found.node.type === "variant" && (found.node.pointsTo == null || found.node.pointsTo === void 0)) {
|
|
218523
218531
|
const firstPage = findFirstPageInNode(found.node);
|
|
218524
218532
|
if (firstPage != null) {
|
|
218525
|
-
return { type: "redirect", redirect: firstPage };
|
|
218533
|
+
return { type: "redirect", redirect: firstPage, authed: found.node.authed };
|
|
218526
218534
|
}
|
|
218527
218535
|
}
|
|
218528
218536
|
return {
|
|
@@ -218585,6 +218593,9 @@ function getApiReferenceId(node4) {
|
|
|
218585
218593
|
landingPage: RETURN_UNDEFINED3
|
|
218586
218594
|
});
|
|
218587
218595
|
}
|
|
218596
|
+
function stripSyntheticSegments(section) {
|
|
218597
|
+
return section.split("/").filter((part) => !SYNTHETIC_SEGMENT_RE.test(part)).join("/");
|
|
218598
|
+
}
|
|
218588
218599
|
function toApis(docs2) {
|
|
218589
218600
|
return mapValues3(
|
|
218590
218601
|
docs2.definition.apis,
|
|
@@ -218611,6 +218622,7 @@ function followRedirect2(nodeToFollow) {
|
|
|
218611
218622
|
* Versioned and ProductGroup nodes are special in that they have a default child.
|
|
218612
218623
|
*/
|
|
218613
218624
|
case "productgroup":
|
|
218625
|
+
return followRedirect2(nodeToFollow.landingPage ?? void 0) ?? followRedirects2([...nodeToFollow.children].sort(defaultFirst));
|
|
218614
218626
|
case "versioned":
|
|
218615
218627
|
return followRedirects2([...nodeToFollow.children].sort(defaultFirst));
|
|
218616
218628
|
case "apiReference":
|
|
@@ -218661,6 +218673,16 @@ function mutableUpdatePointsTo(input3) {
|
|
|
218661
218673
|
const slugMap = collector.getSlugMapWithParents();
|
|
218662
218674
|
const updateNode = (node4) => {
|
|
218663
218675
|
if (navigation_exports.hasPointsTo(node4)) {
|
|
218676
|
+
if (node4.pointsTo != null) {
|
|
218677
|
+
const targetNode = slugMap.get(node4.pointsTo)?.node;
|
|
218678
|
+
if (node4.type === "tab" || node4.type !== "root" && targetNode != null) {
|
|
218679
|
+
return;
|
|
218680
|
+
}
|
|
218681
|
+
if (node4.type === "root" && targetNode != null) {
|
|
218682
|
+
node4.pointsTo = targetNode.canonicalSlug ?? (node4.slug === targetNode.slug ? void 0 : targetNode.slug);
|
|
218683
|
+
return;
|
|
218684
|
+
}
|
|
218685
|
+
}
|
|
218664
218686
|
const pointsTo = followRedirect2(node4);
|
|
218665
218687
|
if (pointsTo != null) {
|
|
218666
218688
|
if (node4.type === "root") {
|
|
@@ -218816,9 +218838,9 @@ function mutableDeleteChild(parent, node4) {
|
|
|
218816
218838
|
return "should-delete-parent";
|
|
218817
218839
|
}
|
|
218818
218840
|
}
|
|
218819
|
-
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, 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, 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, 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, StartDocsRegisterV1InputSchema, StartDocsRegisterV1ResponseSchema, FinishDocsRegisterV1InputSchema, docsV1WriteContract, ALLOWED_HOSTNAMES, GithubUrlSchema, SafeBranchSchema, SafePackagePathSchema, LibraryDocsBaseConfigSchema, PythonLibraryDocsConfigSchema, CppLibraryDocsConfigSchema, StartLibraryDocsGenerationInputSchema, StartLibraryDocsGenerationResponseSchema, GetLibraryDocsStatusInputSchema, LibraryDocsResultSchema, LibraryDocsGenerationStatusSchema, libraryDocsContract, GetOrganizationForUrlInputSchema, organizationContract, contract_exports, GetDocsUrlMetadataInputSchema, GetDocsUrlMetadataResponseSchema, GetDocsForUrlInputSchema, GetPrivateDocsForUrlInputSchema, ListAllDocsUrlsInputSchema, GetDocsConfigByIdInputSchema, DocsDefinitionField, GetDocsConfigByIdResponseSchema, DocsDomainItemSchema, ListAllDocsUrlsResponseSchema, getDocsForUrl, docsV2ReadContract, contract_exports2, 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, 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, Pruner;
|
|
218841
|
+
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;
|
|
218820
218842
|
var init_js = __esm({
|
|
218821
|
-
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
218843
|
+
"../../../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"() {
|
|
218822
218844
|
"use strict";
|
|
218823
218845
|
init_array();
|
|
218824
218846
|
init_zod2();
|
|
@@ -218859,8 +218881,6 @@ var init_js = __esm({
|
|
|
218859
218881
|
init_fetch3();
|
|
218860
218882
|
init_dist7();
|
|
218861
218883
|
init_zod2();
|
|
218862
|
-
init_zod2();
|
|
218863
|
-
init_zod2();
|
|
218864
218884
|
init_dist5();
|
|
218865
218885
|
init_fetch3();
|
|
218866
218886
|
init_dist7();
|
|
@@ -218873,9 +218893,7 @@ var init_js = __esm({
|
|
|
218873
218893
|
init_fetch3();
|
|
218874
218894
|
init_dist7();
|
|
218875
218895
|
init_zod2();
|
|
218876
|
-
|
|
218877
|
-
init_fetch3();
|
|
218878
|
-
init_dist7();
|
|
218896
|
+
init_zod2();
|
|
218879
218897
|
init_zod2();
|
|
218880
218898
|
init_dist5();
|
|
218881
218899
|
init_fetch3();
|
|
@@ -219137,6 +219155,7 @@ var init_js = __esm({
|
|
|
219137
219155
|
generateHttpSnippets: () => generateHttpSnippets,
|
|
219138
219156
|
generateSdkSnippetForLanguage: () => generateSdkSnippetForLanguage,
|
|
219139
219157
|
generateSdkSnippets: () => generateSdkSnippets,
|
|
219158
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds,
|
|
219140
219159
|
getHarRequest: () => getHarRequest,
|
|
219141
219160
|
getMessageForStatus: () => getMessageForStatus,
|
|
219142
219161
|
joiner: () => joiner,
|
|
@@ -219315,8 +219334,8 @@ var init_js = __esm({
|
|
|
219315
219334
|
regex3 = new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${word}))|(${word}))(${word}*[\u2019']*${word}*)`, "g");
|
|
219316
219335
|
convertToRegExp = (specials2) => specials2.map((s5) => [new RegExp(`\\b${s5}\\b`, "gi"), s5]);
|
|
219317
219336
|
src_default = (str2, options2 = {}) => {
|
|
219318
|
-
str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2,
|
|
219319
|
-
const isLastWord = m3.length + offset2 >=
|
|
219337
|
+
str2 = str2.toLowerCase().replace(regex3, (m3, lead = "", forced, lower, rest, offset2, string33) => {
|
|
219338
|
+
const isLastWord = m3.length + offset2 >= string33.length;
|
|
219320
219339
|
const parsedMatch = parseMatch(m3);
|
|
219321
219340
|
if (!parsedMatch) {
|
|
219322
219341
|
return m3;
|
|
@@ -220406,6 +220425,7 @@ var init_js = __esm({
|
|
|
220406
220425
|
RegisterExampleEndpointCallSchema = objectType({
|
|
220407
220426
|
description: stringType().nullish(),
|
|
220408
220427
|
name: stringType().nullish(),
|
|
220428
|
+
contentType: stringType().nullish(),
|
|
220409
220429
|
path: stringType(),
|
|
220410
220430
|
pathParameters: recordType(PropertyKeySchema, unknownType()),
|
|
220411
220431
|
queryParameters: recordType(stringType(), unknownType()),
|
|
@@ -220593,6 +220613,7 @@ var init_js = __esm({
|
|
|
220593
220613
|
RegisterApiDefinitionSchema = objectType({
|
|
220594
220614
|
rootPackage: RegisterApiDefinitionPackageSchema,
|
|
220595
220615
|
apiName: stringType().nullish(),
|
|
220616
|
+
specVersion: stringType().nullish(),
|
|
220596
220617
|
types: recordType(TypeIdSchema, RegisterTypeDefinitionSchema),
|
|
220597
220618
|
subpackages: recordType(SubpackageIdSchema, RegisterApiDefinitionSubpackageSchema),
|
|
220598
220619
|
auth: ApiAuthSchema3.nullish(),
|
|
@@ -220972,6 +220993,7 @@ var init_js = __esm({
|
|
|
220972
220993
|
path: stringType(),
|
|
220973
220994
|
responseStatusCode: numberType().int(),
|
|
220974
220995
|
name: stringType().nullish(),
|
|
220996
|
+
contentType: stringType().nullish(),
|
|
220975
220997
|
pathParameters: recordType(PropertyKeySchema, unknownType()).nullish(),
|
|
220976
220998
|
queryParameters: recordType(PropertyKeySchema, unknownType()).nullish(),
|
|
220977
220999
|
headers: recordType(PropertyKeySchema, unknownType()).nullish(),
|
|
@@ -221116,6 +221138,7 @@ var init_js = __esm({
|
|
|
221116
221138
|
LatestApiDefinitionSchema = objectType({
|
|
221117
221139
|
id: stringType(),
|
|
221118
221140
|
apiName: stringType().nullish(),
|
|
221141
|
+
specVersion: stringType().nullish(),
|
|
221119
221142
|
endpoints: recordType(EndpointIdSchema, LatestEndpointDefinitionSchema),
|
|
221120
221143
|
websockets: recordType(WebSocketIdSchema, LatestWebSocketChannelSchema),
|
|
221121
221144
|
webhooks: recordType(WebhookIdSchema, LatestWebhookDefinitionSchema),
|
|
@@ -221335,8 +221358,7 @@ var init_js = __esm({
|
|
|
221335
221358
|
found.namespace?.forEach((subpackageId) => namespaces.add(subpackageId));
|
|
221336
221359
|
}
|
|
221337
221360
|
} else if (node4.type === "graphql") {
|
|
221338
|
-
const
|
|
221339
|
-
for (const opId of idsToInclude) {
|
|
221361
|
+
for (const opId of getGraphqlOperationIds(node4)) {
|
|
221340
221362
|
const found = this.api.graphqlOperations[opId];
|
|
221341
221363
|
if (found) {
|
|
221342
221364
|
toRet.graphqlOperations[opId] = found;
|
|
@@ -221390,9 +221412,11 @@ var init_js = __esm({
|
|
|
221390
221412
|
expandTypeIds(typeIds) {
|
|
221391
221413
|
const visitedTypeIds = /* @__PURE__ */ new Set();
|
|
221392
221414
|
const queue = Array.from(typeIds);
|
|
221415
|
+
const enqueuedTypeIds = new Set(typeIds);
|
|
221416
|
+
const maxIterations = Object.keys(this.api.types).length + typeIds.size;
|
|
221393
221417
|
let loop = 0;
|
|
221394
221418
|
while (queue.length > 0) {
|
|
221395
|
-
if (loop >
|
|
221419
|
+
if (loop++ > maxIterations) {
|
|
221396
221420
|
throw new Error("Infinite loop detected while expanding type references.");
|
|
221397
221421
|
}
|
|
221398
221422
|
const typeId = queue.pop();
|
|
@@ -221401,11 +221425,13 @@ var init_js = __esm({
|
|
|
221401
221425
|
const type7 = this.api.types[typeId];
|
|
221402
221426
|
if (type7) {
|
|
221403
221427
|
ApiTypeIdVisitor.visitTypeDefinition(type7, (nestedTypeId) => {
|
|
221404
|
-
|
|
221428
|
+
if (!enqueuedTypeIds.has(nestedTypeId) && this.api.types[nestedTypeId] != null) {
|
|
221429
|
+
enqueuedTypeIds.add(nestedTypeId);
|
|
221430
|
+
queue.push(nestedTypeId);
|
|
221431
|
+
}
|
|
221405
221432
|
});
|
|
221406
221433
|
}
|
|
221407
221434
|
}
|
|
221408
|
-
loop++;
|
|
221409
221435
|
}
|
|
221410
221436
|
return visitedTypeIds;
|
|
221411
221437
|
}
|
|
@@ -221585,6 +221611,7 @@ var init_js = __esm({
|
|
|
221585
221611
|
return {
|
|
221586
221612
|
id: this.v1.id,
|
|
221587
221613
|
apiName: this.v1.apiName,
|
|
221614
|
+
specVersion: this.v1.specVersion,
|
|
221588
221615
|
endpoints: this.endpoints,
|
|
221589
221616
|
websockets: this.websockets,
|
|
221590
221617
|
webhooks: this.webhooks,
|
|
@@ -221981,6 +222008,7 @@ var init_js = __esm({
|
|
|
221981
222008
|
path: example?.path,
|
|
221982
222009
|
responseStatusCode: example?.responseStatusCode,
|
|
221983
222010
|
name: example?.name,
|
|
222011
|
+
contentType: example?.contentType ?? void 0,
|
|
221984
222012
|
description: example?.description,
|
|
221985
222013
|
pathParameters: example?.pathParameters,
|
|
221986
222014
|
queryParameters: example?.queryParameters,
|
|
@@ -222349,6 +222377,7 @@ var init_js = __esm({
|
|
|
222349
222377
|
{ targetId: "swift", clientId: "nsurlsession" }
|
|
222350
222378
|
];
|
|
222351
222379
|
snippetCache = /* @__PURE__ */ new WeakMap();
|
|
222380
|
+
DEFAULT_MAX_DEPTH = 2;
|
|
222352
222381
|
IMPORT_PREFIXES = {
|
|
222353
222382
|
csharp: "using RestSharp;\n\n",
|
|
222354
222383
|
java: "import com.mashape.unirest.http.HttpResponse;\nimport com.mashape.unirest.http.Unirest;\n\n"
|
|
@@ -222922,6 +222951,7 @@ var init_js = __esm({
|
|
|
222922
222951
|
ReadExampleEndpointCallSchema = objectType({
|
|
222923
222952
|
description: stringType().nullish(),
|
|
222924
222953
|
name: stringType().nullish(),
|
|
222954
|
+
contentType: stringType().nullish(),
|
|
222925
222955
|
path: stringType(),
|
|
222926
222956
|
pathParameters: recordType(PropertyKeySchema, unknownType()),
|
|
222927
222957
|
queryParameters: recordType(stringType(), unknownType()),
|
|
@@ -223053,6 +223083,7 @@ var init_js = __esm({
|
|
|
223053
223083
|
ReadApiDefinitionSchema = objectType({
|
|
223054
223084
|
id: ApiDefinitionIdSchema,
|
|
223055
223085
|
apiName: stringType().nullish(),
|
|
223086
|
+
specVersion: stringType().nullish(),
|
|
223056
223087
|
rootPackage: ReadApiDefinitionPackageSchema,
|
|
223057
223088
|
types: recordType(TypeIdSchema, ReadTypeDefinitionSchema),
|
|
223058
223089
|
subpackages: recordType(SubpackageIdSchema, ReadApiDefinitionSubpackageSchema),
|
|
@@ -223462,6 +223493,7 @@ var init_js = __esm({
|
|
|
223462
223493
|
objectType({ type: literalType("rem"), value: numberType() })
|
|
223463
223494
|
]);
|
|
223464
223495
|
TabsAlignmentSchema = enumType(["LEFT", "CENTER"]);
|
|
223496
|
+
ChangelogLayoutSchema = enumType(["timeline", "classic"]);
|
|
223465
223497
|
DocsLayoutConfigSchema = objectType({
|
|
223466
223498
|
pageWidth: PageWidthSizeConfigSchema.optional(),
|
|
223467
223499
|
contentWidth: SizeConfigSchema.optional(),
|
|
@@ -223475,7 +223507,8 @@ var init_js = __esm({
|
|
|
223475
223507
|
disableHeader: booleanType().optional(),
|
|
223476
223508
|
hideNavLinks: booleanType().optional(),
|
|
223477
223509
|
hideFeedback: booleanType().optional(),
|
|
223478
|
-
mobileToc: booleanType().optional()
|
|
223510
|
+
mobileToc: booleanType().optional(),
|
|
223511
|
+
changelogLayout: ChangelogLayoutSchema.optional()
|
|
223479
223512
|
});
|
|
223480
223513
|
FooterNavConfigSchema = enumType(["default", "minimal"]);
|
|
223481
223514
|
DocsSidebarConfigSchema = enumType(["default", "minimal"]);
|
|
@@ -223489,7 +223522,7 @@ var init_js = __esm({
|
|
|
223489
223522
|
DocsTabsConfigSchema = unionType([DocsTabsStyleSchema, DocsTabsObjectConfigSchema]);
|
|
223490
223523
|
DocsPageActionsConfigSchema = enumType(["default", "toolbar"]);
|
|
223491
223524
|
LanguageSwitcherConfigSchema = enumType(["default", "minimal"]);
|
|
223492
|
-
ProductSwitcherConfigSchema = enumType(["default", "toggle"]);
|
|
223525
|
+
ProductSwitcherConfigSchema = enumType(["default", "toggle", "tabs"]);
|
|
223493
223526
|
DocsThemeConfigSchema = objectType({
|
|
223494
223527
|
sidebar: DocsSidebarConfigSchema.optional(),
|
|
223495
223528
|
body: DocsBodyConfigSchema.optional(),
|
|
@@ -223623,7 +223656,10 @@ var init_js = __esm({
|
|
|
223623
223656
|
JsScriptStrategySchema = enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]);
|
|
223624
223657
|
JsRemoteConfigSchema = objectType({
|
|
223625
223658
|
url: UrlSchema2,
|
|
223626
|
-
strategy: JsScriptStrategySchema.optional()
|
|
223659
|
+
strategy: JsScriptStrategySchema.optional(),
|
|
223660
|
+
// When true, skip computing a Subresource Integrity (SRI) hash for this
|
|
223661
|
+
// remote script so it is rendered without an `integrity` attribute.
|
|
223662
|
+
disableSri: booleanType().optional()
|
|
223627
223663
|
});
|
|
223628
223664
|
JsFileConfigSchema = objectType({
|
|
223629
223665
|
fileId: FileIdSchema2,
|
|
@@ -223703,7 +223739,8 @@ var init_js = __esm({
|
|
|
223703
223739
|
model: AIModelSchema.optional(),
|
|
223704
223740
|
systemPrompt: stringType().optional(),
|
|
223705
223741
|
location: arrayType(AIChatLocationSchema).optional(),
|
|
223706
|
-
datasources: arrayType(AIChatDatasourceSchema).optional()
|
|
223742
|
+
datasources: arrayType(AIChatDatasourceSchema).optional(),
|
|
223743
|
+
maskPii: booleanType().optional()
|
|
223707
223744
|
});
|
|
223708
223745
|
PageDescriptionSourceSchema = enumType(["description", "subtitle"]);
|
|
223709
223746
|
AgentsConfigSchema = objectType({
|
|
@@ -223764,6 +223801,7 @@ var init_js = __esm({
|
|
|
223764
223801
|
cursor: booleanType().optional(),
|
|
223765
223802
|
claudeCode: booleanType().optional(),
|
|
223766
223803
|
vscode: booleanType().optional(),
|
|
223804
|
+
mcp: booleanType().optional(),
|
|
223767
223805
|
custom: arrayType(CustomPageActionSchema).optional(),
|
|
223768
223806
|
skills: SkillsConfigSchema.optional()
|
|
223769
223807
|
});
|
|
@@ -224071,6 +224109,215 @@ var init_js = __esm({
|
|
|
224071
224109
|
getDocsForDomainLegacy: oc.route({ method: "GET", path: "/load/{domain}" }).input(GetDocsForDomainLegacyInputSchema).output(DocsDefinitionSchema),
|
|
224072
224110
|
getDocsForDomain: oc.route({ method: "POST", path: "/load" }).input(GetDocsForDomainInputSchema).output(DocsDefinitionSchema)
|
|
224073
224111
|
};
|
|
224112
|
+
ALLOWED_HOSTNAMES = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
|
|
224113
|
+
GithubUrlSchema = stringType().url().describe(
|
|
224114
|
+
"HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
|
|
224115
|
+
).refine(
|
|
224116
|
+
(url3) => {
|
|
224117
|
+
try {
|
|
224118
|
+
const parsed = new URL(url3);
|
|
224119
|
+
if (parsed.protocol !== "https:") {
|
|
224120
|
+
return false;
|
|
224121
|
+
}
|
|
224122
|
+
if (!ALLOWED_HOSTNAMES.has(parsed.hostname)) {
|
|
224123
|
+
return false;
|
|
224124
|
+
}
|
|
224125
|
+
if (parsed.username || parsed.password) {
|
|
224126
|
+
return false;
|
|
224127
|
+
}
|
|
224128
|
+
return /^\/[\w.-]+\/[\w.-]+(?:\.git)?\/?$/.test(parsed.pathname);
|
|
224129
|
+
} catch {
|
|
224130
|
+
return false;
|
|
224131
|
+
}
|
|
224132
|
+
},
|
|
224133
|
+
{ message: "Must be a valid https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo> URL" }
|
|
224134
|
+
);
|
|
224135
|
+
SafeBranchSchema = stringType().regex(/^[a-zA-Z0-9._/-]+$/, "Invalid branch name").nullish();
|
|
224136
|
+
SafePackagePathSchema = stringType().refine((p6) => !p6.includes("..") && !p6.startsWith("/"), {
|
|
224137
|
+
message: "packagePath must not contain path traversal sequences"
|
|
224138
|
+
}).nullish();
|
|
224139
|
+
LibraryDocsBaseConfigSchema = objectType({
|
|
224140
|
+
branch: SafeBranchSchema,
|
|
224141
|
+
packagePath: SafePackagePathSchema,
|
|
224142
|
+
title: stringType().nullish(),
|
|
224143
|
+
slug: stringType().nullish()
|
|
224144
|
+
});
|
|
224145
|
+
PythonLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema;
|
|
224146
|
+
CppLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema.extend({
|
|
224147
|
+
doxyfileContent: stringType().nullish()
|
|
224148
|
+
});
|
|
224149
|
+
StartLibraryDocsGenerationInputSchema = discriminatedUnionType("language", [
|
|
224150
|
+
objectType({
|
|
224151
|
+
orgId: stringType(),
|
|
224152
|
+
githubUrl: GithubUrlSchema,
|
|
224153
|
+
language: literalType("PYTHON"),
|
|
224154
|
+
config: PythonLibraryDocsConfigSchema.nullish()
|
|
224155
|
+
}),
|
|
224156
|
+
objectType({
|
|
224157
|
+
orgId: stringType(),
|
|
224158
|
+
githubUrl: GithubUrlSchema,
|
|
224159
|
+
language: literalType("CPP"),
|
|
224160
|
+
config: CppLibraryDocsConfigSchema.nullish()
|
|
224161
|
+
})
|
|
224162
|
+
]);
|
|
224163
|
+
StartLibraryDocsGenerationResponseSchema = objectType({
|
|
224164
|
+
jobId: stringType()
|
|
224165
|
+
});
|
|
224166
|
+
GetLibraryDocsStatusInputSchema = objectType({
|
|
224167
|
+
jobId: stringType()
|
|
224168
|
+
});
|
|
224169
|
+
LibraryDocsResultSchema = objectType({
|
|
224170
|
+
jobId: stringType(),
|
|
224171
|
+
resultUrl: stringType()
|
|
224172
|
+
});
|
|
224173
|
+
LibraryDocsGenerationStatusSchema = objectType({
|
|
224174
|
+
jobId: stringType(),
|
|
224175
|
+
status: stringType(),
|
|
224176
|
+
progress: stringType(),
|
|
224177
|
+
error: objectType({
|
|
224178
|
+
code: stringType(),
|
|
224179
|
+
message: stringType()
|
|
224180
|
+
}).optional(),
|
|
224181
|
+
createdAt: stringType(),
|
|
224182
|
+
updatedAt: stringType()
|
|
224183
|
+
});
|
|
224184
|
+
libraryDocsContract = {
|
|
224185
|
+
startLibraryDocsGeneration: oc.route({ method: "POST", path: "/library-docs/generate" }).input(StartLibraryDocsGenerationInputSchema).output(StartLibraryDocsGenerationResponseSchema),
|
|
224186
|
+
getLibraryDocsGenerationStatus: oc.route({ method: "GET", path: "/library-docs/status/{jobId}" }).input(GetLibraryDocsStatusInputSchema).output(LibraryDocsGenerationStatusSchema),
|
|
224187
|
+
getLibraryDocsResult: oc.route({ method: "GET", path: "/library-docs/result/{jobId}" }).input(GetLibraryDocsStatusInputSchema).output(LibraryDocsResultSchema)
|
|
224188
|
+
};
|
|
224189
|
+
GetOrganizationForUrlInputSchema = objectType({
|
|
224190
|
+
url: stringType()
|
|
224191
|
+
});
|
|
224192
|
+
organizationContract = {
|
|
224193
|
+
getOrganizationForUrl: oc.route({ method: "POST", path: "/organization-for-url" }).input(GetOrganizationForUrlInputSchema).output(stringType())
|
|
224194
|
+
};
|
|
224195
|
+
contract_exports = {};
|
|
224196
|
+
__export3(contract_exports, {
|
|
224197
|
+
DocsDefinitionField: () => DocsDefinitionField,
|
|
224198
|
+
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
224199
|
+
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
224200
|
+
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
224201
|
+
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
224202
|
+
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
224203
|
+
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
224204
|
+
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
224205
|
+
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
224206
|
+
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
224207
|
+
GetSiteMetricsInputSchema: () => GetSiteMetricsInputSchema,
|
|
224208
|
+
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
224209
|
+
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
224210
|
+
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
224211
|
+
SiteMetricsSchema: () => SiteMetricsSchema,
|
|
224212
|
+
docsV2ReadContract: () => docsV2ReadContract,
|
|
224213
|
+
getDocsForUrl: () => getDocsForUrl
|
|
224214
|
+
});
|
|
224215
|
+
GetDocsUrlMetadataInputSchema = objectType({
|
|
224216
|
+
url: stringType()
|
|
224217
|
+
});
|
|
224218
|
+
GetDocsUrlMetadataResponseSchema = objectType({
|
|
224219
|
+
isPreviewUrl: booleanType(),
|
|
224220
|
+
org: stringType(),
|
|
224221
|
+
url: stringType(),
|
|
224222
|
+
gitUrl: stringType().nullish(),
|
|
224223
|
+
enableAlgoliaOnPreview: booleanType().nullish()
|
|
224224
|
+
});
|
|
224225
|
+
GetDocsForUrlInputSchema = objectType({
|
|
224226
|
+
url: stringType(),
|
|
224227
|
+
excludeApis: booleanType().nullish()
|
|
224228
|
+
});
|
|
224229
|
+
GetPrivateDocsForUrlInputSchema = objectType({
|
|
224230
|
+
url: stringType()
|
|
224231
|
+
});
|
|
224232
|
+
ListAllDocsUrlsInputSchema = objectType({
|
|
224233
|
+
limit: numberType().nullish(),
|
|
224234
|
+
page: numberType().nullish(),
|
|
224235
|
+
custom: booleanType().nullish(),
|
|
224236
|
+
preview: booleanType().nullish()
|
|
224237
|
+
});
|
|
224238
|
+
GetDocsConfigByIdInputSchema = objectType({
|
|
224239
|
+
docsConfigId: stringType()
|
|
224240
|
+
});
|
|
224241
|
+
GetSiteMetricsInputSchema = objectType({
|
|
224242
|
+
url: stringType()
|
|
224243
|
+
});
|
|
224244
|
+
SiteMetricsSchema = objectType({
|
|
224245
|
+
orgId: stringType().optional(),
|
|
224246
|
+
domain: stringType(),
|
|
224247
|
+
basepath: stringType().optional(),
|
|
224248
|
+
storageType: enumType(["ledger", "legacy"]),
|
|
224249
|
+
pages: numberType(),
|
|
224250
|
+
endpoints: numberType(),
|
|
224251
|
+
apiSpecs: numberType()
|
|
224252
|
+
});
|
|
224253
|
+
DocsDefinitionField = {
|
|
224254
|
+
BaseUrl: "BASE_URL",
|
|
224255
|
+
FilesV2: "FILES_V2",
|
|
224256
|
+
ApisV2: "APIS_V2",
|
|
224257
|
+
Apis: "APIS",
|
|
224258
|
+
Pages: "PAGES",
|
|
224259
|
+
JsFiles: "JS_FILES",
|
|
224260
|
+
Config: "CONFIG",
|
|
224261
|
+
Root: "ROOT"
|
|
224262
|
+
};
|
|
224263
|
+
GetDocsConfigByIdResponseSchema = objectType({
|
|
224264
|
+
docsConfig: DocsConfigSchema,
|
|
224265
|
+
apis: recordType(stringType(), unknownType())
|
|
224266
|
+
});
|
|
224267
|
+
DocsDomainItemSchema = objectType({
|
|
224268
|
+
domain: stringType(),
|
|
224269
|
+
basePath: stringType().optional(),
|
|
224270
|
+
organizationId: stringType(),
|
|
224271
|
+
updatedAt: stringType()
|
|
224272
|
+
});
|
|
224273
|
+
ListAllDocsUrlsResponseSchema = objectType({
|
|
224274
|
+
urls: arrayType(DocsDomainItemSchema)
|
|
224275
|
+
});
|
|
224276
|
+
((getDocsForUrl22) => {
|
|
224277
|
+
let Error210;
|
|
224278
|
+
((Error310) => {
|
|
224279
|
+
function _unknown2(fetcherError) {
|
|
224280
|
+
return { error: void 0, content: fetcherError };
|
|
224281
|
+
}
|
|
224282
|
+
Error310._unknown = _unknown2;
|
|
224283
|
+
})(Error210 = getDocsForUrl22.Error || (getDocsForUrl22.Error = {}));
|
|
224284
|
+
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
224285
|
+
docsV2ReadContract = {
|
|
224286
|
+
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
224287
|
+
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
224288
|
+
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
224289
|
+
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
224290
|
+
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
224291
|
+
getSiteMetrics: oc.route({ method: "POST", path: "/admin/site-metrics" }).input(GetSiteMetricsInputSchema).output(SiteMetricsSchema),
|
|
224292
|
+
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(voidType()),
|
|
224293
|
+
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(voidType()),
|
|
224294
|
+
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(voidType())
|
|
224295
|
+
};
|
|
224296
|
+
contract_exports2 = {};
|
|
224297
|
+
__export3(contract_exports2, {
|
|
224298
|
+
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
224299
|
+
AuthConfigSchema: () => AuthConfigSchema,
|
|
224300
|
+
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
224301
|
+
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
224302
|
+
FilePath: () => FilePath2,
|
|
224303
|
+
FilePathInputSchema: () => FilePathInputSchema,
|
|
224304
|
+
FilePathSchema: () => FilePathSchema2,
|
|
224305
|
+
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
224306
|
+
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
224307
|
+
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
224308
|
+
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
224309
|
+
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
224310
|
+
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
224311
|
+
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
224312
|
+
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
224313
|
+
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
224314
|
+
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
224315
|
+
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
224316
|
+
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
224317
|
+
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
224318
|
+
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
224319
|
+
docsV2WriteContract: () => docsV2WriteContract
|
|
224320
|
+
});
|
|
224074
224321
|
OrgIdSchema2 = stringType();
|
|
224075
224322
|
FilePathSchema = stringType();
|
|
224076
224323
|
DocsRegistrationIdSchema = stringType();
|
|
@@ -224382,218 +224629,6 @@ var init_js = __esm({
|
|
|
224382
224629
|
overlappingDomains: arrayType(arrayType(stringType()))
|
|
224383
224630
|
});
|
|
224384
224631
|
OverlappingCustomDomainsSchema = arrayType(stringType());
|
|
224385
|
-
StartDocsRegisterV1InputSchema = objectType({
|
|
224386
|
-
orgId: stringType(),
|
|
224387
|
-
domain: stringType(),
|
|
224388
|
-
filepaths: arrayType(stringType())
|
|
224389
|
-
});
|
|
224390
|
-
StartDocsRegisterV1ResponseSchema = objectType({
|
|
224391
|
-
docsRegistrationId: stringType(),
|
|
224392
|
-
uploadUrls: recordType(stringType(), FileS3UploadUrlSchema),
|
|
224393
|
-
skippedFiles: arrayType(stringType())
|
|
224394
|
-
});
|
|
224395
|
-
FinishDocsRegisterV1InputSchema = objectType({
|
|
224396
|
-
docsRegistrationId: stringType(),
|
|
224397
|
-
docsDefinition: unknownType()
|
|
224398
|
-
});
|
|
224399
|
-
docsV1WriteContract = {
|
|
224400
|
-
startDocsRegister: oc.route({ method: "POST", path: "/init" }).input(StartDocsRegisterV1InputSchema).output(StartDocsRegisterV1ResponseSchema),
|
|
224401
|
-
finishDocsRegister: oc.route({ method: "POST", path: "/register/{docsRegistrationId}" }).input(FinishDocsRegisterV1InputSchema).output(voidType())
|
|
224402
|
-
};
|
|
224403
|
-
ALLOWED_HOSTNAMES = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
|
|
224404
|
-
GithubUrlSchema = stringType().url().describe(
|
|
224405
|
-
"HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
|
|
224406
|
-
).refine(
|
|
224407
|
-
(url3) => {
|
|
224408
|
-
try {
|
|
224409
|
-
const parsed = new URL(url3);
|
|
224410
|
-
if (parsed.protocol !== "https:") {
|
|
224411
|
-
return false;
|
|
224412
|
-
}
|
|
224413
|
-
if (!ALLOWED_HOSTNAMES.has(parsed.hostname)) {
|
|
224414
|
-
return false;
|
|
224415
|
-
}
|
|
224416
|
-
if (parsed.username || parsed.password) {
|
|
224417
|
-
return false;
|
|
224418
|
-
}
|
|
224419
|
-
return /^\/[\w.-]+\/[\w.-]+(?:\.git)?\/?$/.test(parsed.pathname);
|
|
224420
|
-
} catch {
|
|
224421
|
-
return false;
|
|
224422
|
-
}
|
|
224423
|
-
},
|
|
224424
|
-
{ message: "Must be a valid https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo> URL" }
|
|
224425
|
-
);
|
|
224426
|
-
SafeBranchSchema = stringType().regex(/^[a-zA-Z0-9._/-]+$/, "Invalid branch name").nullish();
|
|
224427
|
-
SafePackagePathSchema = stringType().refine((p6) => !p6.includes("..") && !p6.startsWith("/"), {
|
|
224428
|
-
message: "packagePath must not contain path traversal sequences"
|
|
224429
|
-
}).nullish();
|
|
224430
|
-
LibraryDocsBaseConfigSchema = objectType({
|
|
224431
|
-
branch: SafeBranchSchema,
|
|
224432
|
-
packagePath: SafePackagePathSchema,
|
|
224433
|
-
title: stringType().nullish(),
|
|
224434
|
-
slug: stringType().nullish()
|
|
224435
|
-
});
|
|
224436
|
-
PythonLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema;
|
|
224437
|
-
CppLibraryDocsConfigSchema = LibraryDocsBaseConfigSchema.extend({
|
|
224438
|
-
doxyfileContent: stringType().nullish()
|
|
224439
|
-
});
|
|
224440
|
-
StartLibraryDocsGenerationInputSchema = discriminatedUnionType("language", [
|
|
224441
|
-
objectType({
|
|
224442
|
-
orgId: stringType(),
|
|
224443
|
-
githubUrl: GithubUrlSchema,
|
|
224444
|
-
language: literalType("PYTHON"),
|
|
224445
|
-
config: PythonLibraryDocsConfigSchema.nullish()
|
|
224446
|
-
}),
|
|
224447
|
-
objectType({
|
|
224448
|
-
orgId: stringType(),
|
|
224449
|
-
githubUrl: GithubUrlSchema,
|
|
224450
|
-
language: literalType("CPP"),
|
|
224451
|
-
config: CppLibraryDocsConfigSchema.nullish()
|
|
224452
|
-
})
|
|
224453
|
-
]);
|
|
224454
|
-
StartLibraryDocsGenerationResponseSchema = objectType({
|
|
224455
|
-
jobId: stringType()
|
|
224456
|
-
});
|
|
224457
|
-
GetLibraryDocsStatusInputSchema = objectType({
|
|
224458
|
-
jobId: stringType()
|
|
224459
|
-
});
|
|
224460
|
-
LibraryDocsResultSchema = objectType({
|
|
224461
|
-
jobId: stringType(),
|
|
224462
|
-
resultUrl: stringType()
|
|
224463
|
-
});
|
|
224464
|
-
LibraryDocsGenerationStatusSchema = objectType({
|
|
224465
|
-
jobId: stringType(),
|
|
224466
|
-
status: stringType(),
|
|
224467
|
-
progress: stringType(),
|
|
224468
|
-
error: objectType({
|
|
224469
|
-
code: stringType(),
|
|
224470
|
-
message: stringType()
|
|
224471
|
-
}).optional(),
|
|
224472
|
-
createdAt: stringType(),
|
|
224473
|
-
updatedAt: stringType()
|
|
224474
|
-
});
|
|
224475
|
-
libraryDocsContract = {
|
|
224476
|
-
startLibraryDocsGeneration: oc.route({ method: "POST", path: "/library-docs/generate" }).input(StartLibraryDocsGenerationInputSchema).output(StartLibraryDocsGenerationResponseSchema),
|
|
224477
|
-
getLibraryDocsGenerationStatus: oc.route({ method: "GET", path: "/library-docs/status/{jobId}" }).input(GetLibraryDocsStatusInputSchema).output(LibraryDocsGenerationStatusSchema),
|
|
224478
|
-
getLibraryDocsResult: oc.route({ method: "GET", path: "/library-docs/result/{jobId}" }).input(GetLibraryDocsStatusInputSchema).output(LibraryDocsResultSchema)
|
|
224479
|
-
};
|
|
224480
|
-
GetOrganizationForUrlInputSchema = objectType({
|
|
224481
|
-
url: stringType()
|
|
224482
|
-
});
|
|
224483
|
-
organizationContract = {
|
|
224484
|
-
getOrganizationForUrl: oc.route({ method: "POST", path: "/organization-for-url" }).input(GetOrganizationForUrlInputSchema).output(stringType())
|
|
224485
|
-
};
|
|
224486
|
-
contract_exports = {};
|
|
224487
|
-
__export3(contract_exports, {
|
|
224488
|
-
DocsDefinitionField: () => DocsDefinitionField,
|
|
224489
|
-
DocsDomainItemSchema: () => DocsDomainItemSchema,
|
|
224490
|
-
DocsReadConfigSchema: () => DocsConfigSchema,
|
|
224491
|
-
DocsReadDefinitionSchema: () => DocsDefinitionSchema,
|
|
224492
|
-
GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
|
|
224493
|
-
GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
|
|
224494
|
-
GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
|
|
224495
|
-
GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
|
|
224496
|
-
GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
|
|
224497
|
-
GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
|
|
224498
|
-
ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
|
|
224499
|
-
ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
|
|
224500
|
-
LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
|
|
224501
|
-
docsV2ReadContract: () => docsV2ReadContract,
|
|
224502
|
-
getDocsForUrl: () => getDocsForUrl
|
|
224503
|
-
});
|
|
224504
|
-
GetDocsUrlMetadataInputSchema = objectType({
|
|
224505
|
-
url: stringType()
|
|
224506
|
-
});
|
|
224507
|
-
GetDocsUrlMetadataResponseSchema = objectType({
|
|
224508
|
-
isPreviewUrl: booleanType(),
|
|
224509
|
-
org: stringType(),
|
|
224510
|
-
url: stringType(),
|
|
224511
|
-
gitUrl: stringType().nullish(),
|
|
224512
|
-
enableAlgoliaOnPreview: booleanType().nullish()
|
|
224513
|
-
});
|
|
224514
|
-
GetDocsForUrlInputSchema = objectType({
|
|
224515
|
-
url: stringType(),
|
|
224516
|
-
excludeApis: booleanType().nullish()
|
|
224517
|
-
});
|
|
224518
|
-
GetPrivateDocsForUrlInputSchema = objectType({
|
|
224519
|
-
url: stringType()
|
|
224520
|
-
});
|
|
224521
|
-
ListAllDocsUrlsInputSchema = objectType({
|
|
224522
|
-
limit: numberType().nullish(),
|
|
224523
|
-
page: numberType().nullish(),
|
|
224524
|
-
custom: booleanType().nullish(),
|
|
224525
|
-
preview: booleanType().nullish()
|
|
224526
|
-
});
|
|
224527
|
-
GetDocsConfigByIdInputSchema = objectType({
|
|
224528
|
-
docsConfigId: stringType()
|
|
224529
|
-
});
|
|
224530
|
-
DocsDefinitionField = {
|
|
224531
|
-
BaseUrl: "BASE_URL",
|
|
224532
|
-
FilesV2: "FILES_V2",
|
|
224533
|
-
ApisV2: "APIS_V2",
|
|
224534
|
-
Apis: "APIS",
|
|
224535
|
-
Pages: "PAGES",
|
|
224536
|
-
JsFiles: "JS_FILES",
|
|
224537
|
-
Config: "CONFIG",
|
|
224538
|
-
Root: "ROOT"
|
|
224539
|
-
};
|
|
224540
|
-
GetDocsConfigByIdResponseSchema = objectType({
|
|
224541
|
-
docsConfig: DocsConfigSchema,
|
|
224542
|
-
apis: recordType(stringType(), unknownType())
|
|
224543
|
-
});
|
|
224544
|
-
DocsDomainItemSchema = objectType({
|
|
224545
|
-
domain: stringType(),
|
|
224546
|
-
basePath: stringType().optional(),
|
|
224547
|
-
organizationId: stringType(),
|
|
224548
|
-
updatedAt: stringType()
|
|
224549
|
-
});
|
|
224550
|
-
ListAllDocsUrlsResponseSchema = objectType({
|
|
224551
|
-
urls: arrayType(DocsDomainItemSchema)
|
|
224552
|
-
});
|
|
224553
|
-
((getDocsForUrl22) => {
|
|
224554
|
-
let Error210;
|
|
224555
|
-
((Error310) => {
|
|
224556
|
-
function _unknown2(fetcherError) {
|
|
224557
|
-
return { error: void 0, content: fetcherError };
|
|
224558
|
-
}
|
|
224559
|
-
Error310._unknown = _unknown2;
|
|
224560
|
-
})(Error210 = getDocsForUrl22.Error || (getDocsForUrl22.Error = {}));
|
|
224561
|
-
})(getDocsForUrl || (getDocsForUrl = {}));
|
|
224562
|
-
docsV2ReadContract = {
|
|
224563
|
-
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
|
|
224564
|
-
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
224565
|
-
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
|
|
224566
|
-
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
|
|
224567
|
-
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
|
|
224568
|
-
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(voidType()),
|
|
224569
|
-
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(voidType()),
|
|
224570
|
-
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(voidType())
|
|
224571
|
-
};
|
|
224572
|
-
contract_exports2 = {};
|
|
224573
|
-
__export3(contract_exports2, {
|
|
224574
|
-
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
|
|
224575
|
-
AuthConfigSchema: () => AuthConfigSchema,
|
|
224576
|
-
Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
|
|
224577
|
-
DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
|
|
224578
|
-
FilePath: () => FilePath2,
|
|
224579
|
-
FilePathInputSchema: () => FilePathInputSchema,
|
|
224580
|
-
FilePathSchema: () => FilePathSchema2,
|
|
224581
|
-
FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
|
|
224582
|
-
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
|
|
224583
|
-
ImageFilePathSchema: () => ImageFilePathSchema,
|
|
224584
|
-
ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
|
|
224585
|
-
RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
|
|
224586
|
-
RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
|
|
224587
|
-
RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
|
|
224588
|
-
SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
|
|
224589
|
-
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
|
|
224590
|
-
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
|
|
224591
|
-
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
|
|
224592
|
-
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
|
|
224593
|
-
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
|
|
224594
|
-
TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
|
|
224595
|
-
docsV2WriteContract: () => docsV2WriteContract
|
|
224596
|
-
});
|
|
224597
224632
|
FilePathSchema2 = stringType();
|
|
224598
224633
|
FilePathInputSchema = unionType([
|
|
224599
224634
|
FilePathSchema2,
|
|
@@ -224863,7 +224898,8 @@ var init_js = __esm({
|
|
|
224863
224898
|
remote: arrayType(
|
|
224864
224899
|
objectType({
|
|
224865
224900
|
url: stringType(),
|
|
224866
|
-
strategy: enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional()
|
|
224901
|
+
strategy: enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional(),
|
|
224902
|
+
disableSri: booleanType().optional()
|
|
224867
224903
|
})
|
|
224868
224904
|
).optional(),
|
|
224869
224905
|
files: arrayType(LedgerJsFileSchema).optional(),
|
|
@@ -224893,6 +224929,7 @@ var init_js = __esm({
|
|
|
224893
224929
|
});
|
|
224894
224930
|
LedgerConfigSchema = objectType({
|
|
224895
224931
|
title: stringType().optional(),
|
|
224932
|
+
rootSlug: stringType().optional(),
|
|
224896
224933
|
defaultLanguage: stringType().optional(),
|
|
224897
224934
|
translations: objectType({
|
|
224898
224935
|
defaultLocale: stringType(),
|
|
@@ -224923,6 +224960,18 @@ var init_js = __esm({
|
|
|
224923
224960
|
aiChatConfig: AIChatFieldSchema.optional(),
|
|
224924
224961
|
pageActions: PageActionsFieldSchema.optional(),
|
|
224925
224962
|
editThisPageLaunch: enumType(["github", "dashboard"]).optional(),
|
|
224963
|
+
/**
|
|
224964
|
+
* Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
|
|
224965
|
+
* When present, the loader synthesises `editThisPageUrl` from these fields
|
|
224966
|
+
* instead of relying on deployment-scoped git provenance. This matches the
|
|
224967
|
+
* v2 behaviour where the CLI derives the URL from the declared config.
|
|
224968
|
+
*/
|
|
224969
|
+
editThisPageGithub: objectType({
|
|
224970
|
+
owner: stringType(),
|
|
224971
|
+
repo: stringType(),
|
|
224972
|
+
branch: stringType().default("main"),
|
|
224973
|
+
host: stringType().default("https://github.com")
|
|
224974
|
+
}).optional(),
|
|
224926
224975
|
header: stringType().optional(),
|
|
224927
224976
|
footer: stringType().optional()
|
|
224928
224977
|
});
|
|
@@ -224972,6 +225021,7 @@ var init_js = __esm({
|
|
|
224972
225021
|
title: stringType().optional(),
|
|
224973
225022
|
slug: stringType().optional(),
|
|
224974
225023
|
icon: stringType().optional(),
|
|
225024
|
+
authed: booleanType().optional(),
|
|
224975
225025
|
viewers: MetadataStringArraySchema.optional(),
|
|
224976
225026
|
orphaned: booleanType().optional(),
|
|
224977
225027
|
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
@@ -225002,36 +225052,48 @@ var init_js = __esm({
|
|
|
225002
225052
|
type: literalType("section"),
|
|
225003
225053
|
title: stringType().optional(),
|
|
225004
225054
|
icon: stringType().optional(),
|
|
225055
|
+
authed: booleanType().optional(),
|
|
225005
225056
|
collapsed: CollapsedSchema.optional(),
|
|
225006
225057
|
collapsible: booleanType().optional(),
|
|
225007
225058
|
collapsedByDefault: booleanType().optional(),
|
|
225008
225059
|
availability: LedgerAvailabilitySchema.optional(),
|
|
225009
225060
|
overviewPageId: stringType().optional(),
|
|
225061
|
+
noindex: booleanType().optional(),
|
|
225010
225062
|
pointsTo: stringType().optional(),
|
|
225011
|
-
viewers: MetadataStringArraySchema.optional()
|
|
225063
|
+
viewers: MetadataStringArraySchema.optional(),
|
|
225064
|
+
orphaned: booleanType().optional(),
|
|
225065
|
+
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
225012
225066
|
}),
|
|
225013
225067
|
LedgerMetadataBaseSchema.extend({
|
|
225014
225068
|
type: literalType("apiReference"),
|
|
225015
225069
|
title: stringType().optional(),
|
|
225016
225070
|
icon: stringType().optional(),
|
|
225071
|
+
authed: booleanType().optional(),
|
|
225017
225072
|
apiDefinitionId: stringType().optional(),
|
|
225018
225073
|
overviewPageId: stringType().optional(),
|
|
225074
|
+
noindex: booleanType().optional(),
|
|
225019
225075
|
availability: LedgerAvailabilitySchema.optional(),
|
|
225020
225076
|
pointsTo: stringType().optional(),
|
|
225021
225077
|
paginated: booleanType().optional(),
|
|
225022
225078
|
showErrors: booleanType().optional(),
|
|
225023
225079
|
hideTitle: booleanType().optional(),
|
|
225024
|
-
viewers: MetadataStringArraySchema.optional()
|
|
225080
|
+
viewers: MetadataStringArraySchema.optional(),
|
|
225081
|
+
orphaned: booleanType().optional(),
|
|
225082
|
+
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
225025
225083
|
}),
|
|
225026
225084
|
LedgerMetadataBaseSchema.extend({
|
|
225027
225085
|
type: literalType("apiPackage"),
|
|
225028
225086
|
title: stringType().optional(),
|
|
225029
225087
|
icon: stringType().optional(),
|
|
225088
|
+
authed: booleanType().optional(),
|
|
225030
225089
|
apiDefinitionId: stringType().optional(),
|
|
225031
225090
|
overviewPageId: stringType().optional(),
|
|
225091
|
+
noindex: booleanType().optional(),
|
|
225032
225092
|
availability: LedgerAvailabilitySchema.optional(),
|
|
225033
225093
|
pointsTo: stringType().optional(),
|
|
225034
|
-
viewers: MetadataStringArraySchema.optional()
|
|
225094
|
+
viewers: MetadataStringArraySchema.optional(),
|
|
225095
|
+
orphaned: booleanType().optional(),
|
|
225096
|
+
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
225035
225097
|
}),
|
|
225036
225098
|
LedgerMetadataBaseSchema.extend({
|
|
225037
225099
|
type: literalType("changelog"),
|
|
@@ -225039,13 +225101,23 @@ var init_js = __esm({
|
|
|
225039
225101
|
icon: stringType().optional(),
|
|
225040
225102
|
overviewPageId: stringType().optional(),
|
|
225041
225103
|
apiDefinitionId: stringType().optional(),
|
|
225042
|
-
|
|
225104
|
+
noindex: booleanType().optional(),
|
|
225105
|
+
authed: booleanType().optional(),
|
|
225106
|
+
viewers: MetadataStringArraySchema.optional(),
|
|
225107
|
+
orphaned: booleanType().optional(),
|
|
225108
|
+
featureFlags: FeatureFlagMetadataSchema.optional()
|
|
225043
225109
|
}),
|
|
225044
225110
|
LedgerMetadataBaseSchema.extend({
|
|
225045
225111
|
type: literalType("files")
|
|
225046
225112
|
}),
|
|
225047
225113
|
LedgerMetadataBaseSchema.extend({
|
|
225048
225114
|
type: literalType("redirects")
|
|
225115
|
+
}),
|
|
225116
|
+
LedgerMetadataBaseSchema.extend({
|
|
225117
|
+
type: literalType("productLink")
|
|
225118
|
+
}),
|
|
225119
|
+
LedgerMetadataBaseSchema.extend({
|
|
225120
|
+
type: literalType("tabLink")
|
|
225049
225121
|
})
|
|
225050
225122
|
]);
|
|
225051
225123
|
LedgerSegmentMetadataSchema = LedgerSegmentMetadataObjectSchema;
|
|
@@ -225083,10 +225155,9 @@ var init_js = __esm({
|
|
|
225083
225155
|
operationType: GraphQlOperationTypeSchema
|
|
225084
225156
|
});
|
|
225085
225157
|
LedgerChangelogEntryMetadataSchema = LedgerMetadataBaseSchema.extend({
|
|
225086
|
-
|
|
225087
|
-
slug: stringType().optional(),
|
|
225088
|
-
icon: stringType().optional(),
|
|
225158
|
+
...NodeMetadataFields,
|
|
225089
225159
|
pageId: stringType(),
|
|
225160
|
+
noindex: booleanType().optional(),
|
|
225090
225161
|
date: stringType().optional(),
|
|
225091
225162
|
tags: MetadataStringArraySchema.optional()
|
|
225092
225163
|
});
|
|
@@ -225099,13 +225170,26 @@ var init_js = __esm({
|
|
|
225099
225170
|
});
|
|
225100
225171
|
LedgerFileArtifactMetadataSchema = LedgerMetadataBaseSchema.extend({
|
|
225101
225172
|
contentType: stringType(),
|
|
225173
|
+
contentLength: numberType().optional(),
|
|
225102
225174
|
filename: stringType(),
|
|
225103
225175
|
width: numberType().optional(),
|
|
225104
225176
|
height: numberType().optional(),
|
|
225105
225177
|
blurDataURL: stringType().optional()
|
|
225106
225178
|
});
|
|
225179
|
+
LedgerStructuralRedirectKindSchema = enumType([
|
|
225180
|
+
"root",
|
|
225181
|
+
"product",
|
|
225182
|
+
"version",
|
|
225183
|
+
"variant",
|
|
225184
|
+
"tab",
|
|
225185
|
+
"section",
|
|
225186
|
+
"api-section"
|
|
225187
|
+
]);
|
|
225188
|
+
LedgerRedirectKindSchema = enumType(["structural", "link"]);
|
|
225107
225189
|
LedgerRedirectMetadataSchema = LedgerMetadataBaseSchema.extend({
|
|
225108
|
-
href: stringType().optional()
|
|
225190
|
+
href: stringType().optional(),
|
|
225191
|
+
redirectKind: LedgerRedirectKindSchema.optional(),
|
|
225192
|
+
structuralKind: LedgerStructuralRedirectKindSchema.optional()
|
|
225109
225193
|
});
|
|
225110
225194
|
LedgerArtifactMetadataSchema = unionType([
|
|
225111
225195
|
LedgerMarkdownMetadataSchema,
|
|
@@ -225199,6 +225283,7 @@ var init_js = __esm({
|
|
|
225199
225283
|
orgId: stringType(),
|
|
225200
225284
|
domain: stringType(),
|
|
225201
225285
|
basepath: stringType().default(""),
|
|
225286
|
+
basepathAware: booleanType().nullish(),
|
|
225202
225287
|
/**
|
|
225203
225288
|
* Additional URLs the deployment should be served from (e.g. a customer's
|
|
225204
225289
|
* vanity hostname `docs.example.com` alongside the canonical fern URL).
|
|
@@ -225223,7 +225308,7 @@ var init_js = __esm({
|
|
|
225223
225308
|
path: ["defaultLocale"]
|
|
225224
225309
|
});
|
|
225225
225310
|
DocsPublishInputSchema = DocsPublishInputSchemaInternal;
|
|
225226
|
-
LedgerPreviewRegisterInputSchemaInternal = DocsContentFieldsSchema.extend({
|
|
225311
|
+
LedgerPreviewRegisterInputSchemaInternal = DocsContentFieldsSchema.partial().extend({
|
|
225227
225312
|
orgId: stringType(),
|
|
225228
225313
|
/**
|
|
225229
225314
|
* Optional caller-supplied identifier for the preview hostname. Sanitized
|
|
@@ -225238,7 +225323,33 @@ var init_js = __esm({
|
|
|
225238
225323
|
* Mirrors V2's `basePath` — most preview publishes leave this empty,
|
|
225239
225324
|
* but explicit subpath previews (`/v2`) are supported.
|
|
225240
225325
|
*/
|
|
225241
|
-
basePath: stringType().default("")
|
|
225326
|
+
basePath: stringType().default(""),
|
|
225327
|
+
/** The primary/fallback locale for this preview deployment. */
|
|
225328
|
+
defaultLocale: stringType().optional(),
|
|
225329
|
+
/**
|
|
225330
|
+
* All locales for this preview deployment. Preferred over the legacy
|
|
225331
|
+
* single-locale content fields above.
|
|
225332
|
+
*/
|
|
225333
|
+
locales: arrayType(LocaleEntrySchema).min(1).optional()
|
|
225334
|
+
}).superRefine((data2, ctx) => {
|
|
225335
|
+
if (data2.locales == null) {
|
|
225336
|
+
if (data2.root == null || data2.pages == null) {
|
|
225337
|
+
ctx.addIssue({
|
|
225338
|
+
code: ZodIssueCode2.custom,
|
|
225339
|
+
message: "Either locales or legacy single-locale content fields must be provided",
|
|
225340
|
+
path: ["locales"]
|
|
225341
|
+
});
|
|
225342
|
+
}
|
|
225343
|
+
return;
|
|
225344
|
+
}
|
|
225345
|
+
const defaultLocale = data2.defaultLocale ?? data2.locales[0]?.locale;
|
|
225346
|
+
if (defaultLocale == null || !data2.locales.some((locale) => locale.locale === defaultLocale)) {
|
|
225347
|
+
ctx.addIssue({
|
|
225348
|
+
code: ZodIssueCode2.custom,
|
|
225349
|
+
message: "defaultLocale must match one of the locales in the locales array",
|
|
225350
|
+
path: ["defaultLocale"]
|
|
225351
|
+
});
|
|
225352
|
+
}
|
|
225242
225353
|
});
|
|
225243
225354
|
LedgerPreviewRegisterInputSchema = LedgerPreviewRegisterInputSchemaInternal;
|
|
225244
225355
|
LedgerPreviewRegisterResponseSchema = objectType({
|
|
@@ -225499,6 +225610,7 @@ var init_js = __esm({
|
|
|
225499
225610
|
fullPath: stringType(),
|
|
225500
225611
|
type: enumType(["file", "image"]),
|
|
225501
225612
|
contentType: stringType(),
|
|
225613
|
+
contentLength: numberType().optional(),
|
|
225502
225614
|
filename: stringType(),
|
|
225503
225615
|
url: stringType(),
|
|
225504
225616
|
width: numberType().optional(),
|
|
@@ -225523,6 +225635,8 @@ var init_js = __esm({
|
|
|
225523
225635
|
/** Domain under which the file bytes were uploaded in the docs files bucket. */
|
|
225524
225636
|
domain: stringType(),
|
|
225525
225637
|
contentType: stringType(),
|
|
225638
|
+
contentLength: numberType().optional(),
|
|
225639
|
+
filename: stringType().optional(),
|
|
225526
225640
|
width: numberType().optional(),
|
|
225527
225641
|
height: numberType().optional(),
|
|
225528
225642
|
blurDataURL: stringType().optional()
|
|
@@ -226398,7 +226512,8 @@ var init_js = __esm({
|
|
|
226398
226512
|
WebhookPayloadSchema: () => WebhookPayloadSchema2,
|
|
226399
226513
|
WebhookPayloadShapeSchema: () => WebhookPayloadShapeSchema,
|
|
226400
226514
|
WithAvailabilitySchema: () => WithAvailabilitySchema,
|
|
226401
|
-
WithDescriptionSchema: () => WithDescriptionSchema
|
|
226515
|
+
WithDescriptionSchema: () => WithDescriptionSchema,
|
|
226516
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds
|
|
226402
226517
|
});
|
|
226403
226518
|
EndpointSnippetTemplatesSchema = objectType({
|
|
226404
226519
|
typescript: unknownType().nullish(),
|
|
@@ -226463,6 +226578,7 @@ var init_js = __esm({
|
|
|
226463
226578
|
DbApiDefinitionSchema = objectType({
|
|
226464
226579
|
id: ApiDefinitionIdSchema,
|
|
226465
226580
|
apiName: stringType().nullish(),
|
|
226581
|
+
specVersion: stringType().nullish(),
|
|
226466
226582
|
rootPackage: DbApiDefinitionPackageSchema,
|
|
226467
226583
|
types: recordType(TypeIdSchema, RegisterTypeDefinitionSchema),
|
|
226468
226584
|
subpackages: recordType(SubpackageIdSchema, DbApiDefinitionSubpackageSchema),
|
|
@@ -226701,7 +226817,8 @@ var init_js = __esm({
|
|
|
226701
226817
|
WebhookPayloadSchema: () => WebhookPayloadSchema2,
|
|
226702
226818
|
WebhookPayloadShapeSchema: () => WebhookPayloadShapeSchema,
|
|
226703
226819
|
WithAvailabilitySchema: () => WithAvailabilitySchema,
|
|
226704
|
-
WithDescriptionSchema: () => WithDescriptionSchema
|
|
226820
|
+
WithDescriptionSchema: () => WithDescriptionSchema,
|
|
226821
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds
|
|
226705
226822
|
});
|
|
226706
226823
|
WebSocketMessageOrigin3 = {
|
|
226707
226824
|
Client: "client",
|
|
@@ -226891,7 +227008,8 @@ var init_js = __esm({
|
|
|
226891
227008
|
WebhookPayloadSchema: () => WebhookPayloadSchema2,
|
|
226892
227009
|
WebhookPayloadShapeSchema: () => WebhookPayloadShapeSchema,
|
|
226893
227010
|
WithAvailabilitySchema: () => WithAvailabilitySchema,
|
|
226894
|
-
WithDescriptionSchema: () => WithDescriptionSchema
|
|
227011
|
+
WithDescriptionSchema: () => WithDescriptionSchema,
|
|
227012
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds
|
|
226895
227013
|
});
|
|
226896
227014
|
DocsV1Db_exports = {};
|
|
226897
227015
|
__export3(DocsV1Db_exports, {
|
|
@@ -227880,6 +227998,7 @@ var init_js = __esm({
|
|
|
227880
227998
|
WithNamespaceSchema: () => WithNamespaceSchema,
|
|
227881
227999
|
api: () => api,
|
|
227882
228000
|
docs: () => docs,
|
|
228001
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds,
|
|
227883
228002
|
libraryDocs: () => libraryDocs,
|
|
227884
228003
|
navigation: () => navigation,
|
|
227885
228004
|
sdks: () => sdks
|
|
@@ -228047,7 +228166,7 @@ var init_js = __esm({
|
|
|
228047
228166
|
nofollow: booleanType().optional(),
|
|
228048
228167
|
keywords: StringOrStringListSchema.optional()
|
|
228049
228168
|
});
|
|
228050
|
-
LayoutSchema = enumType(["guide", "overview", "reference", "page", "custom"]);
|
|
228169
|
+
LayoutSchema = enumType(["guide", "overview", "reference", "page", "custom", "classic", "timeline"]);
|
|
228051
228170
|
LogoConfigurationSchema = objectType({
|
|
228052
228171
|
light: FileIdOrUrlSchema.optional(),
|
|
228053
228172
|
dark: FileIdOrUrlSchema.optional()
|
|
@@ -228725,6 +228844,7 @@ var init_js = __esm({
|
|
|
228725
228844
|
WithAvailabilitySchema: () => WithAvailabilitySchema,
|
|
228726
228845
|
WithDescriptionSchema: () => WithDescriptionSchema,
|
|
228727
228846
|
getChildren: () => getChildren,
|
|
228847
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds,
|
|
228728
228848
|
getPageId: () => getPageId,
|
|
228729
228849
|
hasMarkdown: () => hasMarkdown,
|
|
228730
228850
|
hasMetadata: () => hasMetadata,
|
|
@@ -229089,7 +229209,7 @@ var init_js = __esm({
|
|
|
229089
229209
|
if (node4.type !== "graphql" || graphqlOperations == null) {
|
|
229090
229210
|
return [];
|
|
229091
229211
|
}
|
|
229092
|
-
const idsToInclude = new Set(node4
|
|
229212
|
+
const idsToInclude = new Set(getGraphqlOperationIds(node4));
|
|
229093
229213
|
return graphqlOperations.filter((op2) => idsToInclude.has(ApiDefinitionHolder.createGraphQlOperationId(op2)));
|
|
229094
229214
|
}
|
|
229095
229215
|
};
|
|
@@ -229243,6 +229363,7 @@ var init_js = __esm({
|
|
|
229243
229363
|
convertAvailability: () => convertAvailability3,
|
|
229244
229364
|
followRedirect: () => followRedirect,
|
|
229245
229365
|
followRedirects: () => followRedirects,
|
|
229366
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds,
|
|
229246
229367
|
getPageId: () => getPageId2,
|
|
229247
229368
|
hasMarkdown: () => hasMarkdown2,
|
|
229248
229369
|
hasMetadata: () => hasMetadata2,
|
|
@@ -229753,9 +229874,21 @@ var init_js = __esm({
|
|
|
229753
229874
|
insertionOrder.push({ type: "flat", op: op2 });
|
|
229754
229875
|
}
|
|
229755
229876
|
}
|
|
229877
|
+
const parentOps = /* @__PURE__ */ new Map();
|
|
229878
|
+
const filteredInsertionOrder = insertionOrder.filter((entry) => {
|
|
229879
|
+
if (entry.type === "flat" && entry.op.operationType === "QUERY") {
|
|
229880
|
+
const fp = entry.op.fieldPath;
|
|
229881
|
+
const hasNoFieldPath = fp == null || fp.length === 0;
|
|
229882
|
+
if (hasNoFieldPath && groupedByParent.has(entry.op.name)) {
|
|
229883
|
+
parentOps.set(entry.op.name, entry.op);
|
|
229884
|
+
return false;
|
|
229885
|
+
}
|
|
229886
|
+
}
|
|
229887
|
+
return true;
|
|
229888
|
+
});
|
|
229756
229889
|
const children2 = [];
|
|
229757
229890
|
const allSlugs = /* @__PURE__ */ new Set();
|
|
229758
|
-
for (const entry of
|
|
229891
|
+
for (const entry of filteredInsertionOrder) {
|
|
229759
229892
|
if (entry.type === "flat") {
|
|
229760
229893
|
const fp = entry.op.fieldPath;
|
|
229761
229894
|
allSlugs.add(fp != null && fp.length > 0 ? [...fp, entry.op.name].join("-") : entry.op.name);
|
|
@@ -229763,7 +229896,7 @@ var init_js = __esm({
|
|
|
229763
229896
|
allSlugs.add(entry.parentField);
|
|
229764
229897
|
}
|
|
229765
229898
|
}
|
|
229766
|
-
for (const entry of
|
|
229899
|
+
for (const entry of filteredInsertionOrder) {
|
|
229767
229900
|
if (entry.type === "flat") {
|
|
229768
229901
|
const opId = ApiDefinitionHolder.createGraphQlOperationId(entry.op);
|
|
229769
229902
|
children2.push(this.convertGraphQlNode(opId, entry.op, parentSlug));
|
|
@@ -229772,11 +229905,12 @@ var init_js = __esm({
|
|
|
229772
229905
|
if (operations == null) {
|
|
229773
229906
|
continue;
|
|
229774
229907
|
}
|
|
229775
|
-
const
|
|
229776
|
-
const
|
|
229777
|
-
const
|
|
229908
|
+
const parentOp = parentOps.get(entry.parentField);
|
|
229909
|
+
const primaryOp = parentOp ?? operations[0];
|
|
229910
|
+
const opId = ApiDefinitionHolder.createGraphQlOperationId(primaryOp);
|
|
229911
|
+
const childOpIds = operations.map((op2) => ApiDefinitionHolder.createGraphQlOperationId(op2));
|
|
229778
229912
|
let slugSegment = entry.parentField;
|
|
229779
|
-
const flatHasSameSlug =
|
|
229913
|
+
const flatHasSameSlug = filteredInsertionOrder.some(
|
|
229780
229914
|
(e2) => e2.type === "flat" && (() => {
|
|
229781
229915
|
const fp = e2.op.fieldPath;
|
|
229782
229916
|
const s5 = fp != null && fp.length > 0 ? [...fp, e2.op.name].join("-") : e2.op.name;
|
|
@@ -229792,13 +229926,13 @@ var init_js = __esm({
|
|
|
229792
229926
|
type: "graphql",
|
|
229793
229927
|
title: entry.parentField,
|
|
229794
229928
|
graphqlOperationId: opId,
|
|
229795
|
-
graphqlOperationIds:
|
|
229929
|
+
graphqlOperationIds: childOpIds.length > 0 ? childOpIds : void 0,
|
|
229796
229930
|
slug: parentSlug.apply({ urlSlug: slugSegment }).get(),
|
|
229797
229931
|
icon: void 0,
|
|
229798
229932
|
hidden: void 0,
|
|
229799
|
-
operationType:
|
|
229933
|
+
operationType: primaryOp.operationType,
|
|
229800
229934
|
apiDefinitionId: this.apiDefinitionId,
|
|
229801
|
-
availability: navigation_exports.V1.convertAvailability(
|
|
229935
|
+
availability: navigation_exports.V1.convertAvailability(primaryOp.availability),
|
|
229802
229936
|
playground: void 0,
|
|
229803
229937
|
authed: void 0,
|
|
229804
229938
|
collapsed: void 0,
|
|
@@ -231585,6 +231719,7 @@ var init_js = __esm({
|
|
|
231585
231719
|
};
|
|
231586
231720
|
utils_exports2 = {};
|
|
231587
231721
|
__export3(utils_exports2, {
|
|
231722
|
+
SKIP_URL_SLUG_PREFIX: () => SKIP_URL_SLUG_PREFIX,
|
|
231588
231723
|
buildPageIdToSlugMap: () => buildPageIdToSlugMap,
|
|
231589
231724
|
canonicalSlugKey: () => canonicalSlugKey,
|
|
231590
231725
|
collectApiReferences: () => collectApiReferences,
|
|
@@ -231595,6 +231730,7 @@ var init_js = __esm({
|
|
|
231595
231730
|
getApiReferenceId: () => getApiReferenceId,
|
|
231596
231731
|
getNoIndexFromFrontmatter: () => getNoIndexFromFrontmatter,
|
|
231597
231732
|
mutableUpdatePointsTo: () => mutableUpdatePointsTo,
|
|
231733
|
+
stripSyntheticSegments: () => stripSyntheticSegments,
|
|
231598
231734
|
toApis: () => toApis,
|
|
231599
231735
|
toPages: () => toPages,
|
|
231600
231736
|
toRootNode: () => toRootNode2,
|
|
@@ -231602,6 +231738,8 @@ var init_js = __esm({
|
|
|
231602
231738
|
});
|
|
231603
231739
|
RETURN_UNDEFINED3 = () => void 0;
|
|
231604
231740
|
RETURN_API_DEFINITION_ID = (node4) => node4.apiDefinitionId;
|
|
231741
|
+
SKIP_URL_SLUG_PREFIX = "~";
|
|
231742
|
+
SYNTHETIC_SEGMENT_RE = /^~\d+$/;
|
|
231605
231743
|
Pruner = class _Pruner {
|
|
231606
231744
|
static from(tree) {
|
|
231607
231745
|
return new _Pruner(tree);
|
|
@@ -232732,7 +232870,8 @@ async function convertJsConfig(js3, absoluteFilepathToDocsConfig) {
|
|
|
232732
232870
|
} else if (isRemoteJsConfig(config5)) {
|
|
232733
232871
|
remote.push({
|
|
232734
232872
|
strategy: config5.strategy,
|
|
232735
|
-
url: FdrAPI_exports.Url(config5.url)
|
|
232873
|
+
url: FdrAPI_exports.Url(config5.url),
|
|
232874
|
+
disableSri: config5.disableSri
|
|
232736
232875
|
});
|
|
232737
232876
|
} else if (isFileJsConfig(config5)) {
|
|
232738
232877
|
files.push({
|
|
@@ -585121,7 +585260,7 @@ var require_dist25 = __commonJS({
|
|
|
585121
585260
|
}
|
|
585122
585261
|
});
|
|
585123
585262
|
|
|
585124
|
-
// ../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
585263
|
+
// ../../../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
|
|
585125
585264
|
var orpc_client_exports = {};
|
|
585126
585265
|
__export(orpc_client_exports, {
|
|
585127
585266
|
AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema2,
|
|
@@ -585258,7 +585397,7 @@ __export(orpc_client_exports, {
|
|
|
585258
585397
|
FilenameWithDataSchema: () => FilenameWithDataSchema2,
|
|
585259
585398
|
FindSiteByOrgAndCollectionInputSchema: () => FindSiteByOrgAndCollectionInputSchema2,
|
|
585260
585399
|
FindSiteByOrgAndCollectionResponseSchema: () => FindSiteByOrgAndCollectionResponseSchema2,
|
|
585261
|
-
FinishDocsRegisterV1InputSchema: () =>
|
|
585400
|
+
FinishDocsRegisterV1InputSchema: () => FinishDocsRegisterV1InputSchema,
|
|
585262
585401
|
FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema2,
|
|
585263
585402
|
FinishResponseSchema: () => FinishResponseSchema2,
|
|
585264
585403
|
FormDataBodyPropertySchema: () => FormDataBodyPropertySchema2,
|
|
@@ -585316,6 +585455,7 @@ __export(orpc_client_exports, {
|
|
|
585316
585455
|
GetPullRequestInputSchema: () => GetPullRequestInputSchema2,
|
|
585317
585456
|
GetRepositoryInputSchema: () => GetRepositoryInputSchema2,
|
|
585318
585457
|
GetSdkDynamicIrUploadUrlsResponseSchema: () => GetSdkDynamicIrUploadUrlsResponseSchema2,
|
|
585458
|
+
GetSiteMetricsInputSchema: () => GetSiteMetricsInputSchema2,
|
|
585319
585459
|
GetSlugEntriesResponseSchema: () => GetSlugEntriesResponseSchema2,
|
|
585320
585460
|
GetSnapshotInputSchema: () => GetSnapshotInputSchema2,
|
|
585321
585461
|
GetSnapshotResponseSchema: () => GetSnapshotResponseSchema2,
|
|
@@ -585430,6 +585570,7 @@ __export(orpc_client_exports, {
|
|
|
585430
585570
|
LedgerPointerSegmentSchema: () => LedgerPointerSegmentSchema,
|
|
585431
585571
|
LedgerPreviewRegisterInputSchema: () => LedgerPreviewRegisterInputSchema2,
|
|
585432
585572
|
LedgerPreviewRegisterResponseSchema: () => LedgerPreviewRegisterResponseSchema2,
|
|
585573
|
+
LedgerRedirectKindSchema: () => LedgerRedirectKindSchema2,
|
|
585433
585574
|
LedgerRedirectMetadataSchema: () => LedgerRedirectMetadataSchema2,
|
|
585434
585575
|
LedgerRestMetadataSchema: () => LedgerRestMetadataSchema2,
|
|
585435
585576
|
LedgerRouteShardSchema: () => LedgerRouteShardSchema,
|
|
@@ -585438,6 +585579,8 @@ __export(orpc_client_exports, {
|
|
|
585438
585579
|
LedgerShardFileSchema: () => LedgerShardFileSchema,
|
|
585439
585580
|
LedgerSidebarBundleSchema: () => LedgerSidebarBundleSchema,
|
|
585440
585581
|
LedgerSidebarMapEntrySchema: () => LedgerSidebarMapEntrySchema,
|
|
585582
|
+
LedgerSiteArtifactSchema: () => LedgerSiteArtifactSchema,
|
|
585583
|
+
LedgerStructuralRedirectKindSchema: () => LedgerStructuralRedirectKindSchema2,
|
|
585441
585584
|
LedgerWebSocketMetadataSchema: () => LedgerWebSocketMetadataSchema2,
|
|
585442
585585
|
LedgerWebhookMetadataSchema: () => LedgerWebhookMetadataSchema2,
|
|
585443
585586
|
LibraryDocsBaseConfigSchema: () => LibraryDocsBaseConfigSchema2,
|
|
@@ -585605,6 +585748,7 @@ __export(orpc_client_exports, {
|
|
|
585605
585748
|
SetEditorRepoUrlInputSchema: () => SetEditorRepoUrlInputSchema2,
|
|
585606
585749
|
SetIsArchivedInputSchema: () => SetIsArchivedInputSchema2,
|
|
585607
585750
|
SetSnapshotInputSchema: () => SetSnapshotInputSchema2,
|
|
585751
|
+
SiteMetricsSchema: () => SiteMetricsSchema2,
|
|
585608
585752
|
SlugEntrySchema: () => SlugEntrySchema2,
|
|
585609
585753
|
SlugsInputSchema: () => SlugsInputSchema2,
|
|
585610
585754
|
SnippetInfoSchema: () => SnippetInfoSchema2,
|
|
@@ -585617,8 +585761,8 @@ __export(orpc_client_exports, {
|
|
|
585617
585761
|
SourceUploadSchema: () => SourceUploadSchema2,
|
|
585618
585762
|
StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema2,
|
|
585619
585763
|
StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema2,
|
|
585620
|
-
StartDocsRegisterV1InputSchema: () =>
|
|
585621
|
-
StartDocsRegisterV1ResponseSchema: () =>
|
|
585764
|
+
StartDocsRegisterV1InputSchema: () => StartDocsRegisterV1InputSchema,
|
|
585765
|
+
StartDocsRegisterV1ResponseSchema: () => StartDocsRegisterV1ResponseSchema,
|
|
585622
585766
|
StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema2,
|
|
585623
585767
|
StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema2,
|
|
585624
585768
|
StartLibraryDocsGenerationInputSchema: () => StartLibraryDocsGenerationInputSchema2,
|
|
@@ -585682,6 +585826,7 @@ __export(orpc_client_exports, {
|
|
|
585682
585826
|
YankSchema: () => YankSchema2,
|
|
585683
585827
|
artifactTypeVariant: () => artifactTypeVariant2,
|
|
585684
585828
|
collectConfigFilePaths: () => collectConfigFilePaths,
|
|
585829
|
+
collectNavFilePaths: () => collectNavFilePaths,
|
|
585685
585830
|
contentContract: () => contentContract,
|
|
585686
585831
|
createApiClient: () => createApiClient2,
|
|
585687
585832
|
createDashboardClient: () => createDashboardClient2,
|
|
@@ -585690,7 +585835,7 @@ __export(orpc_client_exports, {
|
|
|
585690
585835
|
createDocsDeploymentClient: () => createDocsDeploymentClient2,
|
|
585691
585836
|
createDocsLedgerClient: () => createDocsLedgerClient2,
|
|
585692
585837
|
createDocsV1ReadClient: () => createDocsV1ReadClient2,
|
|
585693
|
-
createDocsV1WriteClient: () =>
|
|
585838
|
+
createDocsV1WriteClient: () => createDocsV1WriteClient,
|
|
585694
585839
|
createDocsV2ReadClient: () => createDocsV2ReadClient2,
|
|
585695
585840
|
createDocsV2WriteClient: () => createDocsV2WriteClient2,
|
|
585696
585841
|
createEditorSnapshotClient: () => createEditorSnapshotClient2,
|
|
@@ -585714,7 +585859,7 @@ __export(orpc_client_exports, {
|
|
|
585714
585859
|
docsLedgerContract: () => docsLedgerContract2,
|
|
585715
585860
|
docsLedgerReadContract: () => docsLedgerReadContract2,
|
|
585716
585861
|
docsV1ReadContract: () => docsV1ReadContract2,
|
|
585717
|
-
docsV1WriteContract: () =>
|
|
585862
|
+
docsV1WriteContract: () => docsV1WriteContract,
|
|
585718
585863
|
docsV2ReadContract: () => docsV2ReadContract2,
|
|
585719
585864
|
docsV2WriteContract: () => docsV2WriteContract2,
|
|
585720
585865
|
editorSnapshotContract: () => editorSnapshotContract2,
|
|
@@ -585723,12 +585868,15 @@ __export(orpc_client_exports, {
|
|
|
585723
585868
|
generatorVersionsContract: () => generatorVersionsContract2,
|
|
585724
585869
|
generatorsContract: () => generatorsContract2,
|
|
585725
585870
|
getDocsForUrl: () => getDocsForUrl2,
|
|
585871
|
+
getGraphqlOperationIds: () => getGraphqlOperationIds2,
|
|
585726
585872
|
gitContract: () => gitContract2,
|
|
585727
585873
|
isFernFileRef: () => isFernFileRef,
|
|
585874
|
+
ledgerSegmentIdentity: () => ledgerSegmentIdentity,
|
|
585728
585875
|
libraryDocsContract: () => libraryDocsContract2,
|
|
585729
585876
|
organizationContract: () => organizationContract2,
|
|
585730
585877
|
pdfExportContract: () => pdfExportContract2,
|
|
585731
585878
|
sdksContract: () => sdksContract2,
|
|
585879
|
+
selectLedgerSegmentsForLocale: () => selectLedgerSegmentsForLocale,
|
|
585732
585880
|
slugsContract: () => slugsContract2,
|
|
585733
585881
|
snippetsContract: () => snippetsContract2,
|
|
585734
585882
|
snippetsFactoryContract: () => snippetsFactoryContract2,
|
|
@@ -585781,6 +585929,11 @@ function WebhookId16(value2) {
|
|
|
585781
585929
|
function GraphQlOperationId2(value2) {
|
|
585782
585930
|
return value2;
|
|
585783
585931
|
}
|
|
585932
|
+
function getGraphqlOperationIds2(node4) {
|
|
585933
|
+
const ids = new Set(node4.graphqlOperationIds ?? []);
|
|
585934
|
+
ids.add(node4.graphqlOperationId);
|
|
585935
|
+
return [...ids];
|
|
585936
|
+
}
|
|
585784
585937
|
function EnvironmentId23(value2) {
|
|
585785
585938
|
return value2;
|
|
585786
585939
|
}
|
|
@@ -585864,17 +586017,6 @@ function createDocsV1ReadClient2(options2) {
|
|
|
585864
586017
|
});
|
|
585865
586018
|
return createORPCClient(link3);
|
|
585866
586019
|
}
|
|
585867
|
-
function createDocsV1WriteClient2(options2) {
|
|
585868
|
-
const link3 = new OpenAPILink(docsV1WriteContract2, {
|
|
585869
|
-
url: `${options2.baseUrl}/registry/docs`,
|
|
585870
|
-
headers: () => ({
|
|
585871
|
-
Authorization: `Bearer ${options2.token}`,
|
|
585872
|
-
...options2.headers
|
|
585873
|
-
}),
|
|
585874
|
-
...options2.fetch != null ? { fetch: options2.fetch } : {}
|
|
585875
|
-
});
|
|
585876
|
-
return createORPCClient(link3);
|
|
585877
|
-
}
|
|
585878
586020
|
function createLibraryDocsClient3(options2) {
|
|
585879
586021
|
const link3 = new OpenAPILink(libraryDocsContract2, {
|
|
585880
586022
|
url: `${options2.baseUrl}/v2/registry/docs`,
|
|
@@ -585925,8 +586067,7 @@ function createDocsV2WriteClient2(options2) {
|
|
|
585925
586067
|
function createDocsClient2(options2) {
|
|
585926
586068
|
return {
|
|
585927
586069
|
v1: {
|
|
585928
|
-
read: createDocsV1ReadClient2(options2)
|
|
585929
|
-
write: createDocsV1WriteClient2(options2)
|
|
586070
|
+
read: createDocsV1ReadClient2(options2)
|
|
585930
586071
|
},
|
|
585931
586072
|
v2: {
|
|
585932
586073
|
read: createDocsV2ReadClient2(options2),
|
|
@@ -586146,12 +586287,73 @@ function createFdrORPCClient2(options2) {
|
|
|
586146
586287
|
tokens: createTokensClient2(normalizedOptions)
|
|
586147
586288
|
};
|
|
586148
586289
|
}
|
|
586290
|
+
function createDocsV1WriteClient(options2) {
|
|
586291
|
+
const link3 = new OpenAPILink(docsV1WriteContract, {
|
|
586292
|
+
url: `${options2.baseUrl}/registry/docs`,
|
|
586293
|
+
headers: () => ({
|
|
586294
|
+
Authorization: `Bearer ${options2.token}`,
|
|
586295
|
+
...options2.headers
|
|
586296
|
+
}),
|
|
586297
|
+
...options2.fetch != null ? { fetch: options2.fetch } : {}
|
|
586298
|
+
});
|
|
586299
|
+
return createORPCClient(link3);
|
|
586300
|
+
}
|
|
586149
586301
|
function isDarkAndLight(colors19) {
|
|
586150
586302
|
return colors19.type === "darkAndLight";
|
|
586151
586303
|
}
|
|
586304
|
+
function addFileTokenPath(paths, value2) {
|
|
586305
|
+
if (typeof value2 === "string") {
|
|
586306
|
+
if (value2.startsWith(NAV_ICON_FILE_PREFIX) && value2.length > NAV_ICON_FILE_PREFIX.length) {
|
|
586307
|
+
paths.add(value2.slice(NAV_ICON_FILE_PREFIX.length));
|
|
586308
|
+
}
|
|
586309
|
+
return;
|
|
586310
|
+
}
|
|
586311
|
+
if (Array.isArray(value2)) {
|
|
586312
|
+
for (const item of value2) {
|
|
586313
|
+
addFileTokenPath(paths, item);
|
|
586314
|
+
}
|
|
586315
|
+
return;
|
|
586316
|
+
}
|
|
586317
|
+
if (value2 !== null && typeof value2 === "object") {
|
|
586318
|
+
for (const item of Object.values(value2)) {
|
|
586319
|
+
addFileTokenPath(paths, item);
|
|
586320
|
+
}
|
|
586321
|
+
}
|
|
586322
|
+
}
|
|
586323
|
+
function collectNavFilePaths(segments) {
|
|
586324
|
+
const paths = /* @__PURE__ */ new Set();
|
|
586325
|
+
const addIcon = (v3) => {
|
|
586326
|
+
if (v3?.startsWith(NAV_ICON_FILE_PREFIX)) {
|
|
586327
|
+
paths.add(v3.slice(NAV_ICON_FILE_PREFIX.length));
|
|
586328
|
+
}
|
|
586329
|
+
};
|
|
586330
|
+
const addImage = (v3) => {
|
|
586331
|
+
if (v3 != null && v3.length > 0) {
|
|
586332
|
+
paths.add(v3.startsWith(NAV_ICON_FILE_PREFIX) ? v3.slice(NAV_ICON_FILE_PREFIX.length) : v3);
|
|
586333
|
+
}
|
|
586334
|
+
};
|
|
586335
|
+
for (const raw of segments) {
|
|
586336
|
+
const seg = SegmentIconViewSchema.nullish().catch(void 0).parse(raw);
|
|
586337
|
+
if (seg == null) {
|
|
586338
|
+
continue;
|
|
586339
|
+
}
|
|
586340
|
+
addIcon(seg.metadata?.icon);
|
|
586341
|
+
addImage(seg.metadata?.image);
|
|
586342
|
+
for (const d2 of [seg.product, seg.version, seg.variant, seg.tab]) {
|
|
586343
|
+
addIcon(d2?.icon);
|
|
586344
|
+
addIcon(d2?.metadata?.icon);
|
|
586345
|
+
addImage(d2?.metadata?.image);
|
|
586346
|
+
}
|
|
586347
|
+
}
|
|
586348
|
+
return [...paths];
|
|
586349
|
+
}
|
|
586152
586350
|
function collectConfigFilePaths(config5) {
|
|
586153
586351
|
const paths = /* @__PURE__ */ new Set();
|
|
586154
586352
|
const view = ConfigViewSchema.parse(config5);
|
|
586353
|
+
const fileTokenView = ConfigFileTokenViewSchema.parse(config5);
|
|
586354
|
+
if (fileTokenView.landingPage != null) {
|
|
586355
|
+
addFileTokenPath(paths, fileTokenView.landingPage);
|
|
586356
|
+
}
|
|
586155
586357
|
if (view.favicon != null) {
|
|
586156
586358
|
paths.add(view.favicon);
|
|
586157
586359
|
}
|
|
@@ -586193,6 +586395,46 @@ function collectConfigFilePaths(config5) {
|
|
|
586193
586395
|
}
|
|
586194
586396
|
return [...paths];
|
|
586195
586397
|
}
|
|
586398
|
+
function detailSlug(metadata) {
|
|
586399
|
+
if (metadata == null || typeof metadata !== "object" || !("slug" in metadata)) {
|
|
586400
|
+
return void 0;
|
|
586401
|
+
}
|
|
586402
|
+
const slug = metadata.slug;
|
|
586403
|
+
return typeof slug === "string" ? slug : void 0;
|
|
586404
|
+
}
|
|
586405
|
+
function detailIdentity(dimension, detail) {
|
|
586406
|
+
if (detail == null) {
|
|
586407
|
+
return `${dimension}:none`;
|
|
586408
|
+
}
|
|
586409
|
+
const slug = detailSlug(detail.metadata);
|
|
586410
|
+
if (slug != null && slug !== "") {
|
|
586411
|
+
return `${dimension}:slug:${slug}`;
|
|
586412
|
+
}
|
|
586413
|
+
return detail.sortOrder != null ? `${dimension}:sort-order:${detail.sortOrder}` : `${dimension}:id:${detail.id ?? ""}`;
|
|
586414
|
+
}
|
|
586415
|
+
function ledgerSegmentIdentity(segment) {
|
|
586416
|
+
return [
|
|
586417
|
+
segment.section,
|
|
586418
|
+
segment.sortOrder,
|
|
586419
|
+
detailIdentity("product", segment.product),
|
|
586420
|
+
detailIdentity("version", segment.version),
|
|
586421
|
+
detailIdentity("variant", segment.variant),
|
|
586422
|
+
detailIdentity("tab", segment.tab)
|
|
586423
|
+
].join("|");
|
|
586424
|
+
}
|
|
586425
|
+
function selectLedgerSegmentsForLocale(segments, locale, defaultLocale) {
|
|
586426
|
+
const byIdentity = /* @__PURE__ */ new Map();
|
|
586427
|
+
for (const segment of segments) {
|
|
586428
|
+
const identity5 = ledgerSegmentIdentity(segment);
|
|
586429
|
+
const existing = byIdentity.get(identity5);
|
|
586430
|
+
const prefersRequestedLocale = segment.locale === locale && existing?.locale !== locale;
|
|
586431
|
+
const prefersDefaultLocale = segment.locale === defaultLocale && existing?.locale !== locale && existing?.locale !== defaultLocale;
|
|
586432
|
+
if (existing == null || prefersRequestedLocale || prefersDefaultLocale) {
|
|
586433
|
+
byIdentity.set(identity5, segment);
|
|
586434
|
+
}
|
|
586435
|
+
}
|
|
586436
|
+
return [...byIdentity.values()];
|
|
586437
|
+
}
|
|
586196
586438
|
function stableStringify(value2) {
|
|
586197
586439
|
return JSON.stringify(value2, (_key, val) => {
|
|
586198
586440
|
if (val != null && typeof val === "object" && !Array.isArray(val)) {
|
|
@@ -586212,9 +586454,9 @@ function isFernFileRef(value2) {
|
|
|
586212
586454
|
const hash5 = value2[FERN_FILE_REF_KEY];
|
|
586213
586455
|
return typeof hash5 === "string" && SHA256_RE.test(hash5);
|
|
586214
586456
|
}
|
|
586215
|
-
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, 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, 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, StartDocsRegisterV1InputSchema2, StartDocsRegisterV1ResponseSchema2, FinishDocsRegisterV1InputSchema2, docsV1WriteContract2, ALLOWED_HOSTNAMES2, GithubUrlSchema2, SafeBranchSchema2, SafePackagePathSchema2, LibraryDocsBaseConfigSchema2, PythonLibraryDocsConfigSchema2, CppLibraryDocsConfigSchema2, StartLibraryDocsGenerationInputSchema2, StartLibraryDocsGenerationResponseSchema2, GetLibraryDocsStatusInputSchema2, LibraryDocsResultSchema2, LibraryDocsGenerationStatusSchema2, libraryDocsContract2, GetOrganizationForUrlInputSchema2, organizationContract2, GetDocsUrlMetadataInputSchema2, GetDocsUrlMetadataResponseSchema2, GetDocsForUrlInputSchema2, GetPrivateDocsForUrlInputSchema2, ListAllDocsUrlsInputSchema2, GetDocsConfigByIdInputSchema2, DocsDefinitionField2, GetDocsConfigByIdResponseSchema2, DocsDomainItemSchema2, ListAllDocsUrlsResponseSchema2, getDocsForUrl2, docsV2ReadContract2, 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, 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, PATH_OR_URL_METADATA_KEYS, LogoViewSchema, ThemeViewSchema, ColorsViewSchema, FontViewSchema, TypographyViewSchema, JsFileViewSchema, MetadataFileRefViewSchema, ConfigViewSchema, 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, PutContentInputSchema, PutContentResponseSchema, PutFileInputSchema, FileResponseSchema, contentContract, filesContract, FERN_FILE_REF_KEY, SHA256_RE, THEME_NAME_RE, ThemeResponseSchema, ThemeListItemSchema, ThemeListResponseSchema, UpsertThemeBodySchema;
|
|
586457
|
+
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;
|
|
586216
586458
|
var init_orpc_client = __esm({
|
|
586217
|
-
"../../../node_modules/.pnpm/@fern-api+fdr-sdk@1.2.
|
|
586459
|
+
"../../../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"() {
|
|
586218
586460
|
"use strict";
|
|
586219
586461
|
init_dist5();
|
|
586220
586462
|
init_dist5();
|
|
@@ -586244,8 +586486,6 @@ var init_orpc_client = __esm({
|
|
|
586244
586486
|
init_fetch3();
|
|
586245
586487
|
init_dist7();
|
|
586246
586488
|
init_zod2();
|
|
586247
|
-
init_zod2();
|
|
586248
|
-
init_zod2();
|
|
586249
586489
|
init_dist5();
|
|
586250
586490
|
init_fetch3();
|
|
586251
586491
|
init_dist7();
|
|
@@ -586258,9 +586498,7 @@ var init_orpc_client = __esm({
|
|
|
586258
586498
|
init_fetch3();
|
|
586259
586499
|
init_dist7();
|
|
586260
586500
|
init_zod2();
|
|
586261
|
-
|
|
586262
|
-
init_fetch3();
|
|
586263
|
-
init_dist7();
|
|
586501
|
+
init_zod2();
|
|
586264
586502
|
init_zod2();
|
|
586265
586503
|
init_dist5();
|
|
586266
586504
|
init_fetch3();
|
|
@@ -586312,6 +586550,10 @@ var init_orpc_client = __esm({
|
|
|
586312
586550
|
init_fetch3();
|
|
586313
586551
|
init_dist7();
|
|
586314
586552
|
init_zod2();
|
|
586553
|
+
init_dist5();
|
|
586554
|
+
init_fetch3();
|
|
586555
|
+
init_dist7();
|
|
586556
|
+
init_zod2();
|
|
586315
586557
|
init_zod2();
|
|
586316
586558
|
init_zod2();
|
|
586317
586559
|
init_dist7();
|
|
@@ -586995,6 +587237,7 @@ var init_orpc_client = __esm({
|
|
|
586995
587237
|
RegisterExampleEndpointCallSchema2 = objectType({
|
|
586996
587238
|
description: stringType().nullish(),
|
|
586997
587239
|
name: stringType().nullish(),
|
|
587240
|
+
contentType: stringType().nullish(),
|
|
586998
587241
|
path: stringType(),
|
|
586999
587242
|
pathParameters: recordType(PropertyKeySchema2, unknownType()),
|
|
587000
587243
|
queryParameters: recordType(stringType(), unknownType()),
|
|
@@ -587182,6 +587425,7 @@ var init_orpc_client = __esm({
|
|
|
587182
587425
|
RegisterApiDefinitionSchema2 = objectType({
|
|
587183
587426
|
rootPackage: RegisterApiDefinitionPackageSchema2,
|
|
587184
587427
|
apiName: stringType().nullish(),
|
|
587428
|
+
specVersion: stringType().nullish(),
|
|
587185
587429
|
types: recordType(TypeIdSchema2, RegisterTypeDefinitionSchema2),
|
|
587186
587430
|
subpackages: recordType(SubpackageIdSchema3, RegisterApiDefinitionSubpackageSchema2),
|
|
587187
587431
|
auth: ApiAuthSchema4.nullish(),
|
|
@@ -587561,6 +587805,7 @@ var init_orpc_client = __esm({
|
|
|
587561
587805
|
path: stringType(),
|
|
587562
587806
|
responseStatusCode: numberType().int(),
|
|
587563
587807
|
name: stringType().nullish(),
|
|
587808
|
+
contentType: stringType().nullish(),
|
|
587564
587809
|
pathParameters: recordType(PropertyKeySchema2, unknownType()).nullish(),
|
|
587565
587810
|
queryParameters: recordType(PropertyKeySchema2, unknownType()).nullish(),
|
|
587566
587811
|
headers: recordType(PropertyKeySchema2, unknownType()).nullish(),
|
|
@@ -587705,6 +587950,7 @@ var init_orpc_client = __esm({
|
|
|
587705
587950
|
LatestApiDefinitionSchema2 = objectType({
|
|
587706
587951
|
id: stringType(),
|
|
587707
587952
|
apiName: stringType().nullish(),
|
|
587953
|
+
specVersion: stringType().nullish(),
|
|
587708
587954
|
endpoints: recordType(EndpointIdSchema3, LatestEndpointDefinitionSchema2),
|
|
587709
587955
|
websockets: recordType(WebSocketIdSchema3, LatestWebSocketChannelSchema2),
|
|
587710
587956
|
webhooks: recordType(WebhookIdSchema3, LatestWebhookDefinitionSchema2),
|
|
@@ -587830,6 +588076,7 @@ var init_orpc_client = __esm({
|
|
|
587830
588076
|
ReadExampleEndpointCallSchema2 = objectType({
|
|
587831
588077
|
description: stringType().nullish(),
|
|
587832
588078
|
name: stringType().nullish(),
|
|
588079
|
+
contentType: stringType().nullish(),
|
|
587833
588080
|
path: stringType(),
|
|
587834
588081
|
pathParameters: recordType(PropertyKeySchema2, unknownType()),
|
|
587835
588082
|
queryParameters: recordType(stringType(), unknownType()),
|
|
@@ -587961,6 +588208,7 @@ var init_orpc_client = __esm({
|
|
|
587961
588208
|
ReadApiDefinitionSchema2 = objectType({
|
|
587962
588209
|
id: ApiDefinitionIdSchema3,
|
|
587963
588210
|
apiName: stringType().nullish(),
|
|
588211
|
+
specVersion: stringType().nullish(),
|
|
587964
588212
|
rootPackage: ReadApiDefinitionPackageSchema2,
|
|
587965
588213
|
types: recordType(TypeIdSchema2, ReadTypeDefinitionSchema2),
|
|
587966
588214
|
subpackages: recordType(SubpackageIdSchema3, ReadApiDefinitionSubpackageSchema2),
|
|
@@ -588077,6 +588325,7 @@ var init_orpc_client = __esm({
|
|
|
588077
588325
|
DbApiDefinitionSchema2 = objectType({
|
|
588078
588326
|
id: ApiDefinitionIdSchema3,
|
|
588079
588327
|
apiName: stringType().nullish(),
|
|
588328
|
+
specVersion: stringType().nullish(),
|
|
588080
588329
|
rootPackage: DbApiDefinitionPackageSchema2,
|
|
588081
588330
|
types: recordType(TypeIdSchema2, RegisterTypeDefinitionSchema2),
|
|
588082
588331
|
subpackages: recordType(SubpackageIdSchema3, DbApiDefinitionSubpackageSchema2),
|
|
@@ -588448,6 +588697,7 @@ var init_orpc_client = __esm({
|
|
|
588448
588697
|
objectType({ type: literalType("rem"), value: numberType() })
|
|
588449
588698
|
]);
|
|
588450
588699
|
TabsAlignmentSchema2 = enumType(["LEFT", "CENTER"]);
|
|
588700
|
+
ChangelogLayoutSchema2 = enumType(["timeline", "classic"]);
|
|
588451
588701
|
DocsLayoutConfigSchema2 = objectType({
|
|
588452
588702
|
pageWidth: PageWidthSizeConfigSchema2.optional(),
|
|
588453
588703
|
contentWidth: SizeConfigSchema2.optional(),
|
|
@@ -588461,7 +588711,8 @@ var init_orpc_client = __esm({
|
|
|
588461
588711
|
disableHeader: booleanType().optional(),
|
|
588462
588712
|
hideNavLinks: booleanType().optional(),
|
|
588463
588713
|
hideFeedback: booleanType().optional(),
|
|
588464
|
-
mobileToc: booleanType().optional()
|
|
588714
|
+
mobileToc: booleanType().optional(),
|
|
588715
|
+
changelogLayout: ChangelogLayoutSchema2.optional()
|
|
588465
588716
|
});
|
|
588466
588717
|
FooterNavConfigSchema2 = enumType(["default", "minimal"]);
|
|
588467
588718
|
DocsSidebarConfigSchema2 = enumType(["default", "minimal"]);
|
|
@@ -588475,7 +588726,7 @@ var init_orpc_client = __esm({
|
|
|
588475
588726
|
DocsTabsConfigSchema2 = unionType([DocsTabsStyleSchema2, DocsTabsObjectConfigSchema2]);
|
|
588476
588727
|
DocsPageActionsConfigSchema2 = enumType(["default", "toolbar"]);
|
|
588477
588728
|
LanguageSwitcherConfigSchema2 = enumType(["default", "minimal"]);
|
|
588478
|
-
ProductSwitcherConfigSchema2 = enumType(["default", "toggle"]);
|
|
588729
|
+
ProductSwitcherConfigSchema2 = enumType(["default", "toggle", "tabs"]);
|
|
588479
588730
|
DocsThemeConfigSchema2 = objectType({
|
|
588480
588731
|
sidebar: DocsSidebarConfigSchema2.optional(),
|
|
588481
588732
|
body: DocsBodyConfigSchema2.optional(),
|
|
@@ -588609,7 +588860,10 @@ var init_orpc_client = __esm({
|
|
|
588609
588860
|
JsScriptStrategySchema2 = enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]);
|
|
588610
588861
|
JsRemoteConfigSchema2 = objectType({
|
|
588611
588862
|
url: UrlSchema22,
|
|
588612
|
-
strategy: JsScriptStrategySchema2.optional()
|
|
588863
|
+
strategy: JsScriptStrategySchema2.optional(),
|
|
588864
|
+
// When true, skip computing a Subresource Integrity (SRI) hash for this
|
|
588865
|
+
// remote script so it is rendered without an `integrity` attribute.
|
|
588866
|
+
disableSri: booleanType().optional()
|
|
588613
588867
|
});
|
|
588614
588868
|
JsFileConfigSchema2 = objectType({
|
|
588615
588869
|
fileId: FileIdSchema22,
|
|
@@ -588689,7 +588943,8 @@ var init_orpc_client = __esm({
|
|
|
588689
588943
|
model: AIModelSchema2.optional(),
|
|
588690
588944
|
systemPrompt: stringType().optional(),
|
|
588691
588945
|
location: arrayType(AIChatLocationSchema2).optional(),
|
|
588692
|
-
datasources: arrayType(AIChatDatasourceSchema2).optional()
|
|
588946
|
+
datasources: arrayType(AIChatDatasourceSchema2).optional(),
|
|
588947
|
+
maskPii: booleanType().optional()
|
|
588693
588948
|
});
|
|
588694
588949
|
PageDescriptionSourceSchema2 = enumType(["description", "subtitle"]);
|
|
588695
588950
|
AgentsConfigSchema2 = objectType({
|
|
@@ -588750,6 +589005,7 @@ var init_orpc_client = __esm({
|
|
|
588750
589005
|
cursor: booleanType().optional(),
|
|
588751
589006
|
claudeCode: booleanType().optional(),
|
|
588752
589007
|
vscode: booleanType().optional(),
|
|
589008
|
+
mcp: booleanType().optional(),
|
|
588753
589009
|
custom: arrayType(CustomPageActionSchema2).optional(),
|
|
588754
589010
|
skills: SkillsConfigSchema2.optional()
|
|
588755
589011
|
});
|
|
@@ -589056,6 +589312,170 @@ var init_orpc_client = __esm({
|
|
|
589056
589312
|
getDocsForDomainLegacy: oc.route({ method: "GET", path: "/load/{domain}" }).input(GetDocsForDomainLegacyInputSchema2).output(DocsDefinitionSchema3),
|
|
589057
589313
|
getDocsForDomain: oc.route({ method: "POST", path: "/load" }).input(GetDocsForDomainInputSchema2).output(DocsDefinitionSchema3)
|
|
589058
589314
|
};
|
|
589315
|
+
ALLOWED_HOSTNAMES2 = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
|
|
589316
|
+
GithubUrlSchema2 = stringType().url().describe(
|
|
589317
|
+
"HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
|
|
589318
|
+
).refine(
|
|
589319
|
+
(url3) => {
|
|
589320
|
+
try {
|
|
589321
|
+
const parsed = new URL(url3);
|
|
589322
|
+
if (parsed.protocol !== "https:") {
|
|
589323
|
+
return false;
|
|
589324
|
+
}
|
|
589325
|
+
if (!ALLOWED_HOSTNAMES2.has(parsed.hostname)) {
|
|
589326
|
+
return false;
|
|
589327
|
+
}
|
|
589328
|
+
if (parsed.username || parsed.password) {
|
|
589329
|
+
return false;
|
|
589330
|
+
}
|
|
589331
|
+
return /^\/[\w.-]+\/[\w.-]+(?:\.git)?\/?$/.test(parsed.pathname);
|
|
589332
|
+
} catch {
|
|
589333
|
+
return false;
|
|
589334
|
+
}
|
|
589335
|
+
},
|
|
589336
|
+
{ message: "Must be a valid https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo> URL" }
|
|
589337
|
+
);
|
|
589338
|
+
SafeBranchSchema2 = stringType().regex(/^[a-zA-Z0-9._/-]+$/, "Invalid branch name").nullish();
|
|
589339
|
+
SafePackagePathSchema2 = stringType().refine((p6) => !p6.includes("..") && !p6.startsWith("/"), {
|
|
589340
|
+
message: "packagePath must not contain path traversal sequences"
|
|
589341
|
+
}).nullish();
|
|
589342
|
+
LibraryDocsBaseConfigSchema2 = objectType({
|
|
589343
|
+
branch: SafeBranchSchema2,
|
|
589344
|
+
packagePath: SafePackagePathSchema2,
|
|
589345
|
+
title: stringType().nullish(),
|
|
589346
|
+
slug: stringType().nullish()
|
|
589347
|
+
});
|
|
589348
|
+
PythonLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2;
|
|
589349
|
+
CppLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2.extend({
|
|
589350
|
+
doxyfileContent: stringType().nullish()
|
|
589351
|
+
});
|
|
589352
|
+
StartLibraryDocsGenerationInputSchema2 = discriminatedUnionType("language", [
|
|
589353
|
+
objectType({
|
|
589354
|
+
orgId: stringType(),
|
|
589355
|
+
githubUrl: GithubUrlSchema2,
|
|
589356
|
+
language: literalType("PYTHON"),
|
|
589357
|
+
config: PythonLibraryDocsConfigSchema2.nullish()
|
|
589358
|
+
}),
|
|
589359
|
+
objectType({
|
|
589360
|
+
orgId: stringType(),
|
|
589361
|
+
githubUrl: GithubUrlSchema2,
|
|
589362
|
+
language: literalType("CPP"),
|
|
589363
|
+
config: CppLibraryDocsConfigSchema2.nullish()
|
|
589364
|
+
})
|
|
589365
|
+
]);
|
|
589366
|
+
StartLibraryDocsGenerationResponseSchema2 = objectType({
|
|
589367
|
+
jobId: stringType()
|
|
589368
|
+
});
|
|
589369
|
+
GetLibraryDocsStatusInputSchema2 = objectType({
|
|
589370
|
+
jobId: stringType()
|
|
589371
|
+
});
|
|
589372
|
+
LibraryDocsResultSchema2 = objectType({
|
|
589373
|
+
jobId: stringType(),
|
|
589374
|
+
resultUrl: stringType()
|
|
589375
|
+
});
|
|
589376
|
+
LibraryDocsGenerationStatusSchema2 = objectType({
|
|
589377
|
+
jobId: stringType(),
|
|
589378
|
+
status: stringType(),
|
|
589379
|
+
progress: stringType(),
|
|
589380
|
+
error: objectType({
|
|
589381
|
+
code: stringType(),
|
|
589382
|
+
message: stringType()
|
|
589383
|
+
}).optional(),
|
|
589384
|
+
createdAt: stringType(),
|
|
589385
|
+
updatedAt: stringType()
|
|
589386
|
+
});
|
|
589387
|
+
libraryDocsContract2 = {
|
|
589388
|
+
startLibraryDocsGeneration: oc.route({ method: "POST", path: "/library-docs/generate" }).input(StartLibraryDocsGenerationInputSchema2).output(StartLibraryDocsGenerationResponseSchema2),
|
|
589389
|
+
getLibraryDocsGenerationStatus: oc.route({ method: "GET", path: "/library-docs/status/{jobId}" }).input(GetLibraryDocsStatusInputSchema2).output(LibraryDocsGenerationStatusSchema2),
|
|
589390
|
+
getLibraryDocsResult: oc.route({ method: "GET", path: "/library-docs/result/{jobId}" }).input(GetLibraryDocsStatusInputSchema2).output(LibraryDocsResultSchema2)
|
|
589391
|
+
};
|
|
589392
|
+
GetOrganizationForUrlInputSchema2 = objectType({
|
|
589393
|
+
url: stringType()
|
|
589394
|
+
});
|
|
589395
|
+
organizationContract2 = {
|
|
589396
|
+
getOrganizationForUrl: oc.route({ method: "POST", path: "/organization-for-url" }).input(GetOrganizationForUrlInputSchema2).output(stringType())
|
|
589397
|
+
};
|
|
589398
|
+
GetDocsUrlMetadataInputSchema2 = objectType({
|
|
589399
|
+
url: stringType()
|
|
589400
|
+
});
|
|
589401
|
+
GetDocsUrlMetadataResponseSchema2 = objectType({
|
|
589402
|
+
isPreviewUrl: booleanType(),
|
|
589403
|
+
org: stringType(),
|
|
589404
|
+
url: stringType(),
|
|
589405
|
+
gitUrl: stringType().nullish(),
|
|
589406
|
+
enableAlgoliaOnPreview: booleanType().nullish()
|
|
589407
|
+
});
|
|
589408
|
+
GetDocsForUrlInputSchema2 = objectType({
|
|
589409
|
+
url: stringType(),
|
|
589410
|
+
excludeApis: booleanType().nullish()
|
|
589411
|
+
});
|
|
589412
|
+
GetPrivateDocsForUrlInputSchema2 = objectType({
|
|
589413
|
+
url: stringType()
|
|
589414
|
+
});
|
|
589415
|
+
ListAllDocsUrlsInputSchema2 = objectType({
|
|
589416
|
+
limit: numberType().nullish(),
|
|
589417
|
+
page: numberType().nullish(),
|
|
589418
|
+
custom: booleanType().nullish(),
|
|
589419
|
+
preview: booleanType().nullish()
|
|
589420
|
+
});
|
|
589421
|
+
GetDocsConfigByIdInputSchema2 = objectType({
|
|
589422
|
+
docsConfigId: stringType()
|
|
589423
|
+
});
|
|
589424
|
+
GetSiteMetricsInputSchema2 = objectType({
|
|
589425
|
+
url: stringType()
|
|
589426
|
+
});
|
|
589427
|
+
SiteMetricsSchema2 = objectType({
|
|
589428
|
+
orgId: stringType().optional(),
|
|
589429
|
+
domain: stringType(),
|
|
589430
|
+
basepath: stringType().optional(),
|
|
589431
|
+
storageType: enumType(["ledger", "legacy"]),
|
|
589432
|
+
pages: numberType(),
|
|
589433
|
+
endpoints: numberType(),
|
|
589434
|
+
apiSpecs: numberType()
|
|
589435
|
+
});
|
|
589436
|
+
DocsDefinitionField2 = {
|
|
589437
|
+
BaseUrl: "BASE_URL",
|
|
589438
|
+
FilesV2: "FILES_V2",
|
|
589439
|
+
ApisV2: "APIS_V2",
|
|
589440
|
+
Apis: "APIS",
|
|
589441
|
+
Pages: "PAGES",
|
|
589442
|
+
JsFiles: "JS_FILES",
|
|
589443
|
+
Config: "CONFIG",
|
|
589444
|
+
Root: "ROOT"
|
|
589445
|
+
};
|
|
589446
|
+
GetDocsConfigByIdResponseSchema2 = objectType({
|
|
589447
|
+
docsConfig: DocsConfigSchema3,
|
|
589448
|
+
apis: recordType(stringType(), unknownType())
|
|
589449
|
+
});
|
|
589450
|
+
DocsDomainItemSchema2 = objectType({
|
|
589451
|
+
domain: stringType(),
|
|
589452
|
+
basePath: stringType().optional(),
|
|
589453
|
+
organizationId: stringType(),
|
|
589454
|
+
updatedAt: stringType()
|
|
589455
|
+
});
|
|
589456
|
+
ListAllDocsUrlsResponseSchema2 = objectType({
|
|
589457
|
+
urls: arrayType(DocsDomainItemSchema2)
|
|
589458
|
+
});
|
|
589459
|
+
((getDocsForUrl22) => {
|
|
589460
|
+
let Error49;
|
|
589461
|
+
((Error210) => {
|
|
589462
|
+
function _unknown2(fetcherError) {
|
|
589463
|
+
return { error: void 0, content: fetcherError };
|
|
589464
|
+
}
|
|
589465
|
+
Error210._unknown = _unknown2;
|
|
589466
|
+
})(Error49 = getDocsForUrl22.Error || (getDocsForUrl22.Error = {}));
|
|
589467
|
+
})(getDocsForUrl2 || (getDocsForUrl2 = {}));
|
|
589468
|
+
docsV2ReadContract2 = {
|
|
589469
|
+
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema2).output(GetDocsUrlMetadataResponseSchema2),
|
|
589470
|
+
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema2).output(LoadDocsForUrlResponseSchema2),
|
|
589471
|
+
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema2).output(LoadDocsForUrlResponseSchema2),
|
|
589472
|
+
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema2).output(ListAllDocsUrlsResponseSchema2),
|
|
589473
|
+
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema2).output(GetDocsConfigByIdResponseSchema2),
|
|
589474
|
+
getSiteMetrics: oc.route({ method: "POST", path: "/admin/site-metrics" }).input(GetSiteMetricsInputSchema2).output(SiteMetricsSchema2),
|
|
589475
|
+
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(voidType()),
|
|
589476
|
+
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(voidType()),
|
|
589477
|
+
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(voidType())
|
|
589478
|
+
};
|
|
589059
589479
|
OrgIdSchema22 = stringType();
|
|
589060
589480
|
FilePathSchema3 = stringType();
|
|
589061
589481
|
DocsRegistrationIdSchema2 = stringType();
|
|
@@ -589367,175 +589787,6 @@ var init_orpc_client = __esm({
|
|
|
589367
589787
|
overlappingDomains: arrayType(arrayType(stringType()))
|
|
589368
589788
|
});
|
|
589369
589789
|
OverlappingCustomDomainsSchema2 = arrayType(stringType());
|
|
589370
|
-
StartDocsRegisterV1InputSchema2 = objectType({
|
|
589371
|
-
orgId: stringType(),
|
|
589372
|
-
domain: stringType(),
|
|
589373
|
-
filepaths: arrayType(stringType())
|
|
589374
|
-
});
|
|
589375
|
-
StartDocsRegisterV1ResponseSchema2 = objectType({
|
|
589376
|
-
docsRegistrationId: stringType(),
|
|
589377
|
-
uploadUrls: recordType(stringType(), FileS3UploadUrlSchema2),
|
|
589378
|
-
skippedFiles: arrayType(stringType())
|
|
589379
|
-
});
|
|
589380
|
-
FinishDocsRegisterV1InputSchema2 = objectType({
|
|
589381
|
-
docsRegistrationId: stringType(),
|
|
589382
|
-
docsDefinition: unknownType()
|
|
589383
|
-
});
|
|
589384
|
-
docsV1WriteContract2 = {
|
|
589385
|
-
startDocsRegister: oc.route({ method: "POST", path: "/init" }).input(StartDocsRegisterV1InputSchema2).output(StartDocsRegisterV1ResponseSchema2),
|
|
589386
|
-
finishDocsRegister: oc.route({ method: "POST", path: "/register/{docsRegistrationId}" }).input(FinishDocsRegisterV1InputSchema2).output(voidType())
|
|
589387
|
-
};
|
|
589388
|
-
ALLOWED_HOSTNAMES2 = /* @__PURE__ */ new Set(["github.com", "gitlab.com"]);
|
|
589389
|
-
GithubUrlSchema2 = stringType().url().describe(
|
|
589390
|
-
"HTTPS URL of a GitHub or GitLab repository. Currently only github.com and gitlab.com are supported. Must match the pattern https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo>."
|
|
589391
|
-
).refine(
|
|
589392
|
-
(url3) => {
|
|
589393
|
-
try {
|
|
589394
|
-
const parsed = new URL(url3);
|
|
589395
|
-
if (parsed.protocol !== "https:") {
|
|
589396
|
-
return false;
|
|
589397
|
-
}
|
|
589398
|
-
if (!ALLOWED_HOSTNAMES2.has(parsed.hostname)) {
|
|
589399
|
-
return false;
|
|
589400
|
-
}
|
|
589401
|
-
if (parsed.username || parsed.password) {
|
|
589402
|
-
return false;
|
|
589403
|
-
}
|
|
589404
|
-
return /^\/[\w.-]+\/[\w.-]+(?:\.git)?\/?$/.test(parsed.pathname);
|
|
589405
|
-
} catch {
|
|
589406
|
-
return false;
|
|
589407
|
-
}
|
|
589408
|
-
},
|
|
589409
|
-
{ message: "Must be a valid https://github.com/<owner>/<repo> or https://gitlab.com/<owner>/<repo> URL" }
|
|
589410
|
-
);
|
|
589411
|
-
SafeBranchSchema2 = stringType().regex(/^[a-zA-Z0-9._/-]+$/, "Invalid branch name").nullish();
|
|
589412
|
-
SafePackagePathSchema2 = stringType().refine((p6) => !p6.includes("..") && !p6.startsWith("/"), {
|
|
589413
|
-
message: "packagePath must not contain path traversal sequences"
|
|
589414
|
-
}).nullish();
|
|
589415
|
-
LibraryDocsBaseConfigSchema2 = objectType({
|
|
589416
|
-
branch: SafeBranchSchema2,
|
|
589417
|
-
packagePath: SafePackagePathSchema2,
|
|
589418
|
-
title: stringType().nullish(),
|
|
589419
|
-
slug: stringType().nullish()
|
|
589420
|
-
});
|
|
589421
|
-
PythonLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2;
|
|
589422
|
-
CppLibraryDocsConfigSchema2 = LibraryDocsBaseConfigSchema2.extend({
|
|
589423
|
-
doxyfileContent: stringType().nullish()
|
|
589424
|
-
});
|
|
589425
|
-
StartLibraryDocsGenerationInputSchema2 = discriminatedUnionType("language", [
|
|
589426
|
-
objectType({
|
|
589427
|
-
orgId: stringType(),
|
|
589428
|
-
githubUrl: GithubUrlSchema2,
|
|
589429
|
-
language: literalType("PYTHON"),
|
|
589430
|
-
config: PythonLibraryDocsConfigSchema2.nullish()
|
|
589431
|
-
}),
|
|
589432
|
-
objectType({
|
|
589433
|
-
orgId: stringType(),
|
|
589434
|
-
githubUrl: GithubUrlSchema2,
|
|
589435
|
-
language: literalType("CPP"),
|
|
589436
|
-
config: CppLibraryDocsConfigSchema2.nullish()
|
|
589437
|
-
})
|
|
589438
|
-
]);
|
|
589439
|
-
StartLibraryDocsGenerationResponseSchema2 = objectType({
|
|
589440
|
-
jobId: stringType()
|
|
589441
|
-
});
|
|
589442
|
-
GetLibraryDocsStatusInputSchema2 = objectType({
|
|
589443
|
-
jobId: stringType()
|
|
589444
|
-
});
|
|
589445
|
-
LibraryDocsResultSchema2 = objectType({
|
|
589446
|
-
jobId: stringType(),
|
|
589447
|
-
resultUrl: stringType()
|
|
589448
|
-
});
|
|
589449
|
-
LibraryDocsGenerationStatusSchema2 = objectType({
|
|
589450
|
-
jobId: stringType(),
|
|
589451
|
-
status: stringType(),
|
|
589452
|
-
progress: stringType(),
|
|
589453
|
-
error: objectType({
|
|
589454
|
-
code: stringType(),
|
|
589455
|
-
message: stringType()
|
|
589456
|
-
}).optional(),
|
|
589457
|
-
createdAt: stringType(),
|
|
589458
|
-
updatedAt: stringType()
|
|
589459
|
-
});
|
|
589460
|
-
libraryDocsContract2 = {
|
|
589461
|
-
startLibraryDocsGeneration: oc.route({ method: "POST", path: "/library-docs/generate" }).input(StartLibraryDocsGenerationInputSchema2).output(StartLibraryDocsGenerationResponseSchema2),
|
|
589462
|
-
getLibraryDocsGenerationStatus: oc.route({ method: "GET", path: "/library-docs/status/{jobId}" }).input(GetLibraryDocsStatusInputSchema2).output(LibraryDocsGenerationStatusSchema2),
|
|
589463
|
-
getLibraryDocsResult: oc.route({ method: "GET", path: "/library-docs/result/{jobId}" }).input(GetLibraryDocsStatusInputSchema2).output(LibraryDocsResultSchema2)
|
|
589464
|
-
};
|
|
589465
|
-
GetOrganizationForUrlInputSchema2 = objectType({
|
|
589466
|
-
url: stringType()
|
|
589467
|
-
});
|
|
589468
|
-
organizationContract2 = {
|
|
589469
|
-
getOrganizationForUrl: oc.route({ method: "POST", path: "/organization-for-url" }).input(GetOrganizationForUrlInputSchema2).output(stringType())
|
|
589470
|
-
};
|
|
589471
|
-
GetDocsUrlMetadataInputSchema2 = objectType({
|
|
589472
|
-
url: stringType()
|
|
589473
|
-
});
|
|
589474
|
-
GetDocsUrlMetadataResponseSchema2 = objectType({
|
|
589475
|
-
isPreviewUrl: booleanType(),
|
|
589476
|
-
org: stringType(),
|
|
589477
|
-
url: stringType(),
|
|
589478
|
-
gitUrl: stringType().nullish(),
|
|
589479
|
-
enableAlgoliaOnPreview: booleanType().nullish()
|
|
589480
|
-
});
|
|
589481
|
-
GetDocsForUrlInputSchema2 = objectType({
|
|
589482
|
-
url: stringType(),
|
|
589483
|
-
excludeApis: booleanType().nullish()
|
|
589484
|
-
});
|
|
589485
|
-
GetPrivateDocsForUrlInputSchema2 = objectType({
|
|
589486
|
-
url: stringType()
|
|
589487
|
-
});
|
|
589488
|
-
ListAllDocsUrlsInputSchema2 = objectType({
|
|
589489
|
-
limit: numberType().nullish(),
|
|
589490
|
-
page: numberType().nullish(),
|
|
589491
|
-
custom: booleanType().nullish(),
|
|
589492
|
-
preview: booleanType().nullish()
|
|
589493
|
-
});
|
|
589494
|
-
GetDocsConfigByIdInputSchema2 = objectType({
|
|
589495
|
-
docsConfigId: stringType()
|
|
589496
|
-
});
|
|
589497
|
-
DocsDefinitionField2 = {
|
|
589498
|
-
BaseUrl: "BASE_URL",
|
|
589499
|
-
FilesV2: "FILES_V2",
|
|
589500
|
-
ApisV2: "APIS_V2",
|
|
589501
|
-
Apis: "APIS",
|
|
589502
|
-
Pages: "PAGES",
|
|
589503
|
-
JsFiles: "JS_FILES",
|
|
589504
|
-
Config: "CONFIG",
|
|
589505
|
-
Root: "ROOT"
|
|
589506
|
-
};
|
|
589507
|
-
GetDocsConfigByIdResponseSchema2 = objectType({
|
|
589508
|
-
docsConfig: DocsConfigSchema3,
|
|
589509
|
-
apis: recordType(stringType(), unknownType())
|
|
589510
|
-
});
|
|
589511
|
-
DocsDomainItemSchema2 = objectType({
|
|
589512
|
-
domain: stringType(),
|
|
589513
|
-
basePath: stringType().optional(),
|
|
589514
|
-
organizationId: stringType(),
|
|
589515
|
-
updatedAt: stringType()
|
|
589516
|
-
});
|
|
589517
|
-
ListAllDocsUrlsResponseSchema2 = objectType({
|
|
589518
|
-
urls: arrayType(DocsDomainItemSchema2)
|
|
589519
|
-
});
|
|
589520
|
-
((getDocsForUrl22) => {
|
|
589521
|
-
let Error49;
|
|
589522
|
-
((Error210) => {
|
|
589523
|
-
function _unknown2(fetcherError) {
|
|
589524
|
-
return { error: void 0, content: fetcherError };
|
|
589525
|
-
}
|
|
589526
|
-
Error210._unknown = _unknown2;
|
|
589527
|
-
})(Error49 = getDocsForUrl22.Error || (getDocsForUrl22.Error = {}));
|
|
589528
|
-
})(getDocsForUrl2 || (getDocsForUrl2 = {}));
|
|
589529
|
-
docsV2ReadContract2 = {
|
|
589530
|
-
getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema2).output(GetDocsUrlMetadataResponseSchema2),
|
|
589531
|
-
getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema2).output(LoadDocsForUrlResponseSchema2),
|
|
589532
|
-
getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema2).output(LoadDocsForUrlResponseSchema2),
|
|
589533
|
-
listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema2).output(ListAllDocsUrlsResponseSchema2),
|
|
589534
|
-
getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema2).output(GetDocsConfigByIdResponseSchema2),
|
|
589535
|
-
prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(voidType()),
|
|
589536
|
-
ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(voidType()),
|
|
589537
|
-
getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(voidType())
|
|
589538
|
-
};
|
|
589539
589790
|
FilePathSchema22 = stringType();
|
|
589540
589791
|
FilePathInputSchema2 = unionType([
|
|
589541
589792
|
FilePathSchema22,
|
|
@@ -589805,7 +590056,8 @@ var init_orpc_client = __esm({
|
|
|
589805
590056
|
remote: arrayType(
|
|
589806
590057
|
objectType({
|
|
589807
590058
|
url: stringType(),
|
|
589808
|
-
strategy: enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional()
|
|
590059
|
+
strategy: enumType(["beforeInteractive", "afterInteractive", "lazyOnload"]).optional(),
|
|
590060
|
+
disableSri: booleanType().optional()
|
|
589809
590061
|
})
|
|
589810
590062
|
).optional(),
|
|
589811
590063
|
files: arrayType(LedgerJsFileSchema2).optional(),
|
|
@@ -589835,6 +590087,7 @@ var init_orpc_client = __esm({
|
|
|
589835
590087
|
});
|
|
589836
590088
|
LedgerConfigSchema2 = objectType({
|
|
589837
590089
|
title: stringType().optional(),
|
|
590090
|
+
rootSlug: stringType().optional(),
|
|
589838
590091
|
defaultLanguage: stringType().optional(),
|
|
589839
590092
|
translations: objectType({
|
|
589840
590093
|
defaultLocale: stringType(),
|
|
@@ -589865,6 +590118,18 @@ var init_orpc_client = __esm({
|
|
|
589865
590118
|
aiChatConfig: AIChatFieldSchema2.optional(),
|
|
589866
590119
|
pageActions: PageActionsFieldSchema2.optional(),
|
|
589867
590120
|
editThisPageLaunch: enumType(["github", "dashboard"]).optional(),
|
|
590121
|
+
/**
|
|
590122
|
+
* Explicit edit-this-page GitHub config from docs.yml (ADR 0012 parity).
|
|
590123
|
+
* When present, the loader synthesises `editThisPageUrl` from these fields
|
|
590124
|
+
* instead of relying on deployment-scoped git provenance. This matches the
|
|
590125
|
+
* v2 behaviour where the CLI derives the URL from the declared config.
|
|
590126
|
+
*/
|
|
590127
|
+
editThisPageGithub: objectType({
|
|
590128
|
+
owner: stringType(),
|
|
590129
|
+
repo: stringType(),
|
|
590130
|
+
branch: stringType().default("main"),
|
|
590131
|
+
host: stringType().default("https://github.com")
|
|
590132
|
+
}).optional(),
|
|
589868
590133
|
header: stringType().optional(),
|
|
589869
590134
|
footer: stringType().optional()
|
|
589870
590135
|
});
|
|
@@ -589914,6 +590179,7 @@ var init_orpc_client = __esm({
|
|
|
589914
590179
|
title: stringType().optional(),
|
|
589915
590180
|
slug: stringType().optional(),
|
|
589916
590181
|
icon: stringType().optional(),
|
|
590182
|
+
authed: booleanType().optional(),
|
|
589917
590183
|
viewers: MetadataStringArraySchema2.optional(),
|
|
589918
590184
|
orphaned: booleanType().optional(),
|
|
589919
590185
|
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
@@ -589944,36 +590210,48 @@ var init_orpc_client = __esm({
|
|
|
589944
590210
|
type: literalType("section"),
|
|
589945
590211
|
title: stringType().optional(),
|
|
589946
590212
|
icon: stringType().optional(),
|
|
590213
|
+
authed: booleanType().optional(),
|
|
589947
590214
|
collapsed: CollapsedSchema2.optional(),
|
|
589948
590215
|
collapsible: booleanType().optional(),
|
|
589949
590216
|
collapsedByDefault: booleanType().optional(),
|
|
589950
590217
|
availability: LedgerAvailabilitySchema2.optional(),
|
|
589951
590218
|
overviewPageId: stringType().optional(),
|
|
590219
|
+
noindex: booleanType().optional(),
|
|
589952
590220
|
pointsTo: stringType().optional(),
|
|
589953
|
-
viewers: MetadataStringArraySchema2.optional()
|
|
590221
|
+
viewers: MetadataStringArraySchema2.optional(),
|
|
590222
|
+
orphaned: booleanType().optional(),
|
|
590223
|
+
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
589954
590224
|
}),
|
|
589955
590225
|
LedgerMetadataBaseSchema2.extend({
|
|
589956
590226
|
type: literalType("apiReference"),
|
|
589957
590227
|
title: stringType().optional(),
|
|
589958
590228
|
icon: stringType().optional(),
|
|
590229
|
+
authed: booleanType().optional(),
|
|
589959
590230
|
apiDefinitionId: stringType().optional(),
|
|
589960
590231
|
overviewPageId: stringType().optional(),
|
|
590232
|
+
noindex: booleanType().optional(),
|
|
589961
590233
|
availability: LedgerAvailabilitySchema2.optional(),
|
|
589962
590234
|
pointsTo: stringType().optional(),
|
|
589963
590235
|
paginated: booleanType().optional(),
|
|
589964
590236
|
showErrors: booleanType().optional(),
|
|
589965
590237
|
hideTitle: booleanType().optional(),
|
|
589966
|
-
viewers: MetadataStringArraySchema2.optional()
|
|
590238
|
+
viewers: MetadataStringArraySchema2.optional(),
|
|
590239
|
+
orphaned: booleanType().optional(),
|
|
590240
|
+
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
589967
590241
|
}),
|
|
589968
590242
|
LedgerMetadataBaseSchema2.extend({
|
|
589969
590243
|
type: literalType("apiPackage"),
|
|
589970
590244
|
title: stringType().optional(),
|
|
589971
590245
|
icon: stringType().optional(),
|
|
590246
|
+
authed: booleanType().optional(),
|
|
589972
590247
|
apiDefinitionId: stringType().optional(),
|
|
589973
590248
|
overviewPageId: stringType().optional(),
|
|
590249
|
+
noindex: booleanType().optional(),
|
|
589974
590250
|
availability: LedgerAvailabilitySchema2.optional(),
|
|
589975
590251
|
pointsTo: stringType().optional(),
|
|
589976
|
-
viewers: MetadataStringArraySchema2.optional()
|
|
590252
|
+
viewers: MetadataStringArraySchema2.optional(),
|
|
590253
|
+
orphaned: booleanType().optional(),
|
|
590254
|
+
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
589977
590255
|
}),
|
|
589978
590256
|
LedgerMetadataBaseSchema2.extend({
|
|
589979
590257
|
type: literalType("changelog"),
|
|
@@ -589981,13 +590259,23 @@ var init_orpc_client = __esm({
|
|
|
589981
590259
|
icon: stringType().optional(),
|
|
589982
590260
|
overviewPageId: stringType().optional(),
|
|
589983
590261
|
apiDefinitionId: stringType().optional(),
|
|
589984
|
-
|
|
590262
|
+
noindex: booleanType().optional(),
|
|
590263
|
+
authed: booleanType().optional(),
|
|
590264
|
+
viewers: MetadataStringArraySchema2.optional(),
|
|
590265
|
+
orphaned: booleanType().optional(),
|
|
590266
|
+
featureFlags: FeatureFlagMetadataSchema2.optional()
|
|
589985
590267
|
}),
|
|
589986
590268
|
LedgerMetadataBaseSchema2.extend({
|
|
589987
590269
|
type: literalType("files")
|
|
589988
590270
|
}),
|
|
589989
590271
|
LedgerMetadataBaseSchema2.extend({
|
|
589990
590272
|
type: literalType("redirects")
|
|
590273
|
+
}),
|
|
590274
|
+
LedgerMetadataBaseSchema2.extend({
|
|
590275
|
+
type: literalType("productLink")
|
|
590276
|
+
}),
|
|
590277
|
+
LedgerMetadataBaseSchema2.extend({
|
|
590278
|
+
type: literalType("tabLink")
|
|
589991
590279
|
})
|
|
589992
590280
|
]);
|
|
589993
590281
|
LedgerSegmentMetadataSchema2 = LedgerSegmentMetadataObjectSchema2;
|
|
@@ -590025,10 +590313,9 @@ var init_orpc_client = __esm({
|
|
|
590025
590313
|
operationType: GraphQlOperationTypeSchema2
|
|
590026
590314
|
});
|
|
590027
590315
|
LedgerChangelogEntryMetadataSchema2 = LedgerMetadataBaseSchema2.extend({
|
|
590028
|
-
|
|
590029
|
-
slug: stringType().optional(),
|
|
590030
|
-
icon: stringType().optional(),
|
|
590316
|
+
...NodeMetadataFields2,
|
|
590031
590317
|
pageId: stringType(),
|
|
590318
|
+
noindex: booleanType().optional(),
|
|
590032
590319
|
date: stringType().optional(),
|
|
590033
590320
|
tags: MetadataStringArraySchema2.optional()
|
|
590034
590321
|
});
|
|
@@ -590041,13 +590328,26 @@ var init_orpc_client = __esm({
|
|
|
590041
590328
|
});
|
|
590042
590329
|
LedgerFileArtifactMetadataSchema2 = LedgerMetadataBaseSchema2.extend({
|
|
590043
590330
|
contentType: stringType(),
|
|
590331
|
+
contentLength: numberType().optional(),
|
|
590044
590332
|
filename: stringType(),
|
|
590045
590333
|
width: numberType().optional(),
|
|
590046
590334
|
height: numberType().optional(),
|
|
590047
590335
|
blurDataURL: stringType().optional()
|
|
590048
590336
|
});
|
|
590337
|
+
LedgerStructuralRedirectKindSchema2 = enumType([
|
|
590338
|
+
"root",
|
|
590339
|
+
"product",
|
|
590340
|
+
"version",
|
|
590341
|
+
"variant",
|
|
590342
|
+
"tab",
|
|
590343
|
+
"section",
|
|
590344
|
+
"api-section"
|
|
590345
|
+
]);
|
|
590346
|
+
LedgerRedirectKindSchema2 = enumType(["structural", "link"]);
|
|
590049
590347
|
LedgerRedirectMetadataSchema2 = LedgerMetadataBaseSchema2.extend({
|
|
590050
|
-
href: stringType().optional()
|
|
590348
|
+
href: stringType().optional(),
|
|
590349
|
+
redirectKind: LedgerRedirectKindSchema2.optional(),
|
|
590350
|
+
structuralKind: LedgerStructuralRedirectKindSchema2.optional()
|
|
590051
590351
|
});
|
|
590052
590352
|
LedgerArtifactMetadataSchema2 = unionType([
|
|
590053
590353
|
LedgerMarkdownMetadataSchema2,
|
|
@@ -590141,6 +590441,7 @@ var init_orpc_client = __esm({
|
|
|
590141
590441
|
orgId: stringType(),
|
|
590142
590442
|
domain: stringType(),
|
|
590143
590443
|
basepath: stringType().default(""),
|
|
590444
|
+
basepathAware: booleanType().nullish(),
|
|
590144
590445
|
/**
|
|
590145
590446
|
* Additional URLs the deployment should be served from (e.g. a customer's
|
|
590146
590447
|
* vanity hostname `docs.example.com` alongside the canonical fern URL).
|
|
@@ -590165,7 +590466,7 @@ var init_orpc_client = __esm({
|
|
|
590165
590466
|
path: ["defaultLocale"]
|
|
590166
590467
|
});
|
|
590167
590468
|
DocsPublishInputSchema2 = DocsPublishInputSchemaInternal2;
|
|
590168
|
-
LedgerPreviewRegisterInputSchemaInternal2 = DocsContentFieldsSchema2.extend({
|
|
590469
|
+
LedgerPreviewRegisterInputSchemaInternal2 = DocsContentFieldsSchema2.partial().extend({
|
|
590169
590470
|
orgId: stringType(),
|
|
590170
590471
|
/**
|
|
590171
590472
|
* Optional caller-supplied identifier for the preview hostname. Sanitized
|
|
@@ -590180,7 +590481,33 @@ var init_orpc_client = __esm({
|
|
|
590180
590481
|
* Mirrors V2's `basePath` — most preview publishes leave this empty,
|
|
590181
590482
|
* but explicit subpath previews (`/v2`) are supported.
|
|
590182
590483
|
*/
|
|
590183
|
-
basePath: stringType().default("")
|
|
590484
|
+
basePath: stringType().default(""),
|
|
590485
|
+
/** The primary/fallback locale for this preview deployment. */
|
|
590486
|
+
defaultLocale: stringType().optional(),
|
|
590487
|
+
/**
|
|
590488
|
+
* All locales for this preview deployment. Preferred over the legacy
|
|
590489
|
+
* single-locale content fields above.
|
|
590490
|
+
*/
|
|
590491
|
+
locales: arrayType(LocaleEntrySchema2).min(1).optional()
|
|
590492
|
+
}).superRefine((data2, ctx) => {
|
|
590493
|
+
if (data2.locales == null) {
|
|
590494
|
+
if (data2.root == null || data2.pages == null) {
|
|
590495
|
+
ctx.addIssue({
|
|
590496
|
+
code: ZodIssueCode2.custom,
|
|
590497
|
+
message: "Either locales or legacy single-locale content fields must be provided",
|
|
590498
|
+
path: ["locales"]
|
|
590499
|
+
});
|
|
590500
|
+
}
|
|
590501
|
+
return;
|
|
590502
|
+
}
|
|
590503
|
+
const defaultLocale = data2.defaultLocale ?? data2.locales[0]?.locale;
|
|
590504
|
+
if (defaultLocale == null || !data2.locales.some((locale) => locale.locale === defaultLocale)) {
|
|
590505
|
+
ctx.addIssue({
|
|
590506
|
+
code: ZodIssueCode2.custom,
|
|
590507
|
+
message: "defaultLocale must match one of the locales in the locales array",
|
|
590508
|
+
path: ["defaultLocale"]
|
|
590509
|
+
});
|
|
590510
|
+
}
|
|
590184
590511
|
});
|
|
590185
590512
|
LedgerPreviewRegisterInputSchema2 = LedgerPreviewRegisterInputSchemaInternal2;
|
|
590186
590513
|
LedgerPreviewRegisterResponseSchema2 = objectType({
|
|
@@ -590441,6 +590768,7 @@ var init_orpc_client = __esm({
|
|
|
590441
590768
|
fullPath: stringType(),
|
|
590442
590769
|
type: enumType(["file", "image"]),
|
|
590443
590770
|
contentType: stringType(),
|
|
590771
|
+
contentLength: numberType().optional(),
|
|
590444
590772
|
filename: stringType(),
|
|
590445
590773
|
url: stringType(),
|
|
590446
590774
|
width: numberType().optional(),
|
|
@@ -590465,6 +590793,8 @@ var init_orpc_client = __esm({
|
|
|
590465
590793
|
/** Domain under which the file bytes were uploaded in the docs files bucket. */
|
|
590466
590794
|
domain: stringType(),
|
|
590467
590795
|
contentType: stringType(),
|
|
590796
|
+
contentLength: numberType().optional(),
|
|
590797
|
+
filename: stringType().optional(),
|
|
590468
590798
|
width: numberType().optional(),
|
|
590469
590799
|
height: numberType().optional(),
|
|
590470
590800
|
blurDataURL: stringType().optional()
|
|
@@ -591135,6 +591465,24 @@ var init_orpc_client = __esm({
|
|
|
591135
591465
|
generate: oc.route({ method: "POST", path: "/generate" }).input(GenerateTokenInputSchema2).output(GenerateTokenOutputSchema2),
|
|
591136
591466
|
revoke: oc.route({ method: "POST", path: "/revoke" }).input(RevokeTokenInputSchema2)
|
|
591137
591467
|
};
|
|
591468
|
+
StartDocsRegisterV1InputSchema = objectType({
|
|
591469
|
+
orgId: stringType(),
|
|
591470
|
+
domain: stringType(),
|
|
591471
|
+
filepaths: arrayType(stringType())
|
|
591472
|
+
});
|
|
591473
|
+
StartDocsRegisterV1ResponseSchema = objectType({
|
|
591474
|
+
docsRegistrationId: stringType(),
|
|
591475
|
+
uploadUrls: recordType(stringType(), FileS3UploadUrlSchema2),
|
|
591476
|
+
skippedFiles: arrayType(stringType())
|
|
591477
|
+
});
|
|
591478
|
+
FinishDocsRegisterV1InputSchema = objectType({
|
|
591479
|
+
docsRegistrationId: stringType(),
|
|
591480
|
+
docsDefinition: unknownType()
|
|
591481
|
+
});
|
|
591482
|
+
docsV1WriteContract = {
|
|
591483
|
+
startDocsRegister: oc.route({ method: "POST", path: "/init" }).input(StartDocsRegisterV1InputSchema).output(StartDocsRegisterV1ResponseSchema),
|
|
591484
|
+
finishDocsRegister: oc.route({ method: "POST", path: "/register/{docsRegistrationId}" }).input(FinishDocsRegisterV1InputSchema).output(voidType())
|
|
591485
|
+
};
|
|
591138
591486
|
PATH_OR_URL_METADATA_KEYS = [
|
|
591139
591487
|
"og:image",
|
|
591140
591488
|
"og:logo",
|
|
@@ -591178,6 +591526,37 @@ var init_orpc_client = __esm({
|
|
|
591178
591526
|
js: objectType({ files: arrayType(JsFileViewSchema.optional().catch(void 0)).catch([]) }).optional().catch(void 0),
|
|
591179
591527
|
metadata: recordType(stringType(), unknownType()).optional().catch(void 0)
|
|
591180
591528
|
});
|
|
591529
|
+
NAV_ICON_FILE_PREFIX = "file:";
|
|
591530
|
+
FileTokenTreeSchema = lazyType(
|
|
591531
|
+
() => unionType([
|
|
591532
|
+
stringType(),
|
|
591533
|
+
numberType(),
|
|
591534
|
+
booleanType(),
|
|
591535
|
+
nullType(),
|
|
591536
|
+
arrayType(FileTokenTreeSchema),
|
|
591537
|
+
recordType(stringType(), FileTokenTreeSchema)
|
|
591538
|
+
])
|
|
591539
|
+
);
|
|
591540
|
+
ConfigFileTokenViewSchema = objectType({
|
|
591541
|
+
landingPage: FileTokenTreeSchema.optional().catch(void 0)
|
|
591542
|
+
});
|
|
591543
|
+
SegmentDetailIconViewSchema = objectType({
|
|
591544
|
+
icon: stringType().nullish().catch(void 0),
|
|
591545
|
+
metadata: objectType({
|
|
591546
|
+
icon: stringType().nullish().catch(void 0),
|
|
591547
|
+
image: stringType().nullish().catch(void 0)
|
|
591548
|
+
}).nullish().catch(void 0)
|
|
591549
|
+
});
|
|
591550
|
+
SegmentIconViewSchema = objectType({
|
|
591551
|
+
metadata: objectType({
|
|
591552
|
+
icon: stringType().nullish().catch(void 0),
|
|
591553
|
+
image: stringType().nullish().catch(void 0)
|
|
591554
|
+
}).nullish().catch(void 0),
|
|
591555
|
+
product: SegmentDetailIconViewSchema.nullish().catch(void 0),
|
|
591556
|
+
version: SegmentDetailIconViewSchema.nullish().catch(void 0),
|
|
591557
|
+
variant: SegmentDetailIconViewSchema.nullish().catch(void 0),
|
|
591558
|
+
tab: SegmentDetailIconViewSchema.nullish().catch(void 0)
|
|
591559
|
+
});
|
|
591181
591560
|
LEDGER_MANIFEST_SCHEMA_VERSION = "docsledger/20260601";
|
|
591182
591561
|
LEDGER_SHARD_SCHEMA_VERSION = "docsledger/shard/20260601";
|
|
591183
591562
|
ManifestBlobRefSchema = objectType({
|
|
@@ -591247,6 +591626,7 @@ var init_orpc_client = __esm({
|
|
|
591247
591626
|
ManifestFileSchema = objectType({
|
|
591248
591627
|
type: enumType(["file", "image"]),
|
|
591249
591628
|
contentType: stringType(),
|
|
591629
|
+
contentLength: numberType().optional(),
|
|
591250
591630
|
filename: stringType(),
|
|
591251
591631
|
hash: stringType(),
|
|
591252
591632
|
/** Canonical fern domain the bytes were uploaded under (ADR 0010 file anchor). */
|
|
@@ -591262,6 +591642,7 @@ var init_orpc_client = __esm({
|
|
|
591262
591642
|
/** Fern-host-relative path; equals the `file:<fullPath>` token's suffix. */
|
|
591263
591643
|
fullPath: stringType(),
|
|
591264
591644
|
contentType: stringType(),
|
|
591645
|
+
contentLength: numberType().optional(),
|
|
591265
591646
|
width: numberType().optional(),
|
|
591266
591647
|
height: numberType().optional(),
|
|
591267
591648
|
blurDataURL: stringType().optional(),
|
|
@@ -591402,6 +591783,17 @@ var init_orpc_client = __esm({
|
|
|
591402
591783
|
chrome: LedgerChromeBlobSchema,
|
|
591403
591784
|
locales: recordType(stringType(), LedgerLocaleRoutingSchema)
|
|
591404
591785
|
});
|
|
591786
|
+
LedgerSiteArtifactSchema = unionType([
|
|
591787
|
+
objectType({
|
|
591788
|
+
schema: literalType(LEDGER_MANIFEST_SCHEMA_VERSION),
|
|
591789
|
+
unpublished: literalType(true),
|
|
591790
|
+
orgId: stringType(),
|
|
591791
|
+
domain: stringType(),
|
|
591792
|
+
basepath: stringType(),
|
|
591793
|
+
isPreview: booleanType()
|
|
591794
|
+
}),
|
|
591795
|
+
LedgerManifestSchema
|
|
591796
|
+
]);
|
|
591405
591797
|
PutContentInputSchema = objectType({
|
|
591406
591798
|
contentType: stringType(),
|
|
591407
591799
|
contentLength: numberType().int().positive()
|
|
@@ -689674,7 +690066,7 @@ var AccessTokenPosthogManager = class {
|
|
|
689674
690066
|
properties: {
|
|
689675
690067
|
...event,
|
|
689676
690068
|
...event.properties,
|
|
689677
|
-
version: "5.
|
|
690069
|
+
version: "5.72.1",
|
|
689678
690070
|
usingAccessToken: true,
|
|
689679
690071
|
...getRunIdProperties()
|
|
689680
690072
|
}
|
|
@@ -689740,7 +690132,7 @@ var UserPosthogManager = class {
|
|
|
689740
690132
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
689741
690133
|
event: "CLI",
|
|
689742
690134
|
properties: {
|
|
689743
|
-
version: "5.
|
|
690135
|
+
version: "5.72.1",
|
|
689744
690136
|
...event,
|
|
689745
690137
|
...event.properties,
|
|
689746
690138
|
usingAccessToken: false,
|
|
@@ -870841,7 +871233,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
870841
871233
|
var LOGS_FOLDER_NAME = "logs";
|
|
870842
871234
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
870843
871235
|
function getCliSource() {
|
|
870844
|
-
const version7 = "5.
|
|
871236
|
+
const version7 = "5.72.1";
|
|
870845
871237
|
return `cli@${version7}`;
|
|
870846
871238
|
}
|
|
870847
871239
|
var DebugLogger = class {
|
|
@@ -899462,6 +899854,17 @@ og:description, headline, excerpt).`
|
|
|
899462
899854
|
type: "null"
|
|
899463
899855
|
}
|
|
899464
899856
|
]
|
|
899857
|
+
},
|
|
899858
|
+
"disable-sri": {
|
|
899859
|
+
oneOf: [
|
|
899860
|
+
{
|
|
899861
|
+
type: "boolean"
|
|
899862
|
+
},
|
|
899863
|
+
{
|
|
899864
|
+
type: "null"
|
|
899865
|
+
}
|
|
899866
|
+
],
|
|
899867
|
+
description: "When true, skip computing a Subresource Integrity (SRI) hash for this\nremote script. The script is rendered without an `integrity` attribute.\nUseful for scripts whose contents change (e.g. rolling CDN builds) that\nwould otherwise fail integrity verification."
|
|
899465
899868
|
}
|
|
899466
899869
|
},
|
|
899467
899870
|
required: [
|
|
@@ -901483,7 +901886,7 @@ function mapJsFiles(js3, fileIdToPath) {
|
|
|
901483
901886
|
files.push({ path: path120, strategy: file4.strategy });
|
|
901484
901887
|
}
|
|
901485
901888
|
return {
|
|
901486
|
-
remote: js3.remote?.map((r4) => ({ url: r4.url, strategy: r4.strategy })),
|
|
901889
|
+
remote: js3.remote?.map((r4) => ({ url: r4.url, strategy: r4.strategy, disableSri: r4.disableSri })),
|
|
901487
901890
|
files,
|
|
901488
901891
|
inline: js3.inline
|
|
901489
901892
|
};
|
|
@@ -903413,7 +903816,7 @@ var LegacyDocsPublisher = class {
|
|
|
903413
903816
|
previewId,
|
|
903414
903817
|
disableTemplates: void 0,
|
|
903415
903818
|
skipUpload,
|
|
903416
|
-
cliVersion: "5.
|
|
903819
|
+
cliVersion: "5.72.1",
|
|
903417
903820
|
loginCommand: "fern auth login"
|
|
903418
903821
|
});
|
|
903419
903822
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -909311,7 +909714,7 @@ function fail(message) {
|
|
|
909311
909714
|
throw new Error(message ?? "Assertion failed");
|
|
909312
909715
|
}
|
|
909313
909716
|
|
|
909314
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909717
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/index.mjs
|
|
909315
909718
|
var api_exports22 = {};
|
|
909316
909719
|
__export(api_exports22, {
|
|
909317
909720
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -909340,6 +909743,8 @@ __export(api_exports22, {
|
|
|
909340
909743
|
FileProperty: () => FileProperty29,
|
|
909341
909744
|
FileUploadBodyPropertyEncoding: () => FileUploadBodyPropertyEncoding25,
|
|
909342
909745
|
FileUploadRequestProperty: () => FileUploadRequestProperty29,
|
|
909746
|
+
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
909747
|
+
GlobalParameterLocation: () => GlobalParameterLocation3,
|
|
909343
909748
|
HmacAlgorithm: () => HmacAlgorithm7,
|
|
909344
909749
|
HttpEndpointSource: () => HttpEndpointSource21,
|
|
909345
909750
|
HttpMethod: () => HttpMethod48,
|
|
@@ -909395,6 +909800,7 @@ __export(api_exports22, {
|
|
|
909395
909800
|
errors: () => errors_exports32,
|
|
909396
909801
|
examples: () => examples_exports25,
|
|
909397
909802
|
generatorExec: () => generatorExec_exports29,
|
|
909803
|
+
globalParameters: () => globalParameters_exports5,
|
|
909398
909804
|
http: () => http_exports44,
|
|
909399
909805
|
ir: () => ir_exports58,
|
|
909400
909806
|
proto: () => proto_exports29,
|
|
@@ -909405,10 +909811,10 @@ __export(api_exports22, {
|
|
|
909405
909811
|
websocket: () => websocket_exports33
|
|
909406
909812
|
});
|
|
909407
909813
|
|
|
909408
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909814
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/audience/index.mjs
|
|
909409
909815
|
var audience_exports19 = {};
|
|
909410
909816
|
|
|
909411
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909817
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/index.mjs
|
|
909412
909818
|
var auth_exports63 = {};
|
|
909413
909819
|
__export(auth_exports63, {
|
|
909414
909820
|
AuthScheme: () => AuthScheme29,
|
|
@@ -909416,7 +909822,7 @@ __export(auth_exports63, {
|
|
|
909416
909822
|
OAuthConfiguration: () => OAuthConfiguration29
|
|
909417
909823
|
});
|
|
909418
909824
|
|
|
909419
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909825
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthScheme.mjs
|
|
909420
909826
|
var AuthScheme29 = {
|
|
909421
909827
|
bearer: (value2) => {
|
|
909422
909828
|
return Object.assign(Object.assign({}, value2), { type: "bearer", _visit: function(visitor) {
|
|
@@ -909461,7 +909867,7 @@ var AuthScheme29 = {
|
|
|
909461
909867
|
}
|
|
909462
909868
|
};
|
|
909463
909869
|
|
|
909464
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909870
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/AuthSchemesRequirement.mjs
|
|
909465
909871
|
var AuthSchemesRequirementValues15 = {
|
|
909466
909872
|
All: "ALL",
|
|
909467
909873
|
Any: "ANY",
|
|
@@ -909480,7 +909886,7 @@ var AuthSchemesRequirement29 = Object.assign(Object.assign({}, AuthSchemesRequir
|
|
|
909480
909886
|
}
|
|
909481
909887
|
} });
|
|
909482
909888
|
|
|
909483
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909889
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/auth/types/OAuthConfiguration.mjs
|
|
909484
909890
|
var OAuthConfiguration29 = {
|
|
909485
909891
|
clientCredentials: (value2) => {
|
|
909486
909892
|
return Object.assign(Object.assign({}, value2), { type: "clientCredentials", _visit: function(visitor) {
|
|
@@ -909497,13 +909903,13 @@ var OAuthConfiguration29 = {
|
|
|
909497
909903
|
}
|
|
909498
909904
|
};
|
|
909499
909905
|
|
|
909500
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909906
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/index.mjs
|
|
909501
909907
|
var commons_exports58 = {};
|
|
909502
909908
|
__export(commons_exports58, {
|
|
909503
909909
|
AvailabilityStatus: () => AvailabilityStatus29
|
|
909504
909910
|
});
|
|
909505
909911
|
|
|
909506
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909912
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/commons/types/AvailabilityStatus.mjs
|
|
909507
909913
|
var AvailabilityStatusValues15 = {
|
|
909508
909914
|
InDevelopment: "IN_DEVELOPMENT",
|
|
909509
909915
|
PreRelease: "PRE_RELEASE",
|
|
@@ -909537,10 +909943,10 @@ var AvailabilityStatus29 = Object.assign(Object.assign({}, AvailabilityStatusVal
|
|
|
909537
909943
|
}
|
|
909538
909944
|
} });
|
|
909539
909945
|
|
|
909540
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909946
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/constants/index.mjs
|
|
909541
909947
|
var constants_exports29 = {};
|
|
909542
909948
|
|
|
909543
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909949
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/index.mjs
|
|
909544
909950
|
var dynamic_exports29 = {};
|
|
909545
909951
|
__export(dynamic_exports29, {
|
|
909546
909952
|
Auth: () => Auth29,
|
|
@@ -909573,14 +909979,14 @@ __export(dynamic_exports29, {
|
|
|
909573
909979
|
variables: () => variables_exports45
|
|
909574
909980
|
});
|
|
909575
909981
|
|
|
909576
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909982
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/index.mjs
|
|
909577
909983
|
var auth_exports64 = {};
|
|
909578
909984
|
__export(auth_exports64, {
|
|
909579
909985
|
Auth: () => Auth29,
|
|
909580
909986
|
AuthValues: () => AuthValues29
|
|
909581
909987
|
});
|
|
909582
909988
|
|
|
909583
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
909989
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/Auth.mjs
|
|
909584
909990
|
var Auth29 = {
|
|
909585
909991
|
basic: (value2) => {
|
|
909586
909992
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -909625,7 +910031,7 @@ var Auth29 = {
|
|
|
909625
910031
|
}
|
|
909626
910032
|
};
|
|
909627
910033
|
|
|
909628
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910034
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/auth/types/AuthValues.mjs
|
|
909629
910035
|
var AuthValues29 = {
|
|
909630
910036
|
basic: (value2) => {
|
|
909631
910037
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -909670,13 +910076,13 @@ var AuthValues29 = {
|
|
|
909670
910076
|
}
|
|
909671
910077
|
};
|
|
909672
910078
|
|
|
909673
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910079
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/commons/index.mjs
|
|
909674
910080
|
var commons_exports59 = {};
|
|
909675
910081
|
|
|
909676
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910082
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/declaration/index.mjs
|
|
909677
910083
|
var declaration_exports29 = {};
|
|
909678
910084
|
|
|
909679
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910085
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/index.mjs
|
|
909680
910086
|
var endpoints_exports29 = {};
|
|
909681
910087
|
__export(endpoints_exports29, {
|
|
909682
910088
|
FileUploadRequestBodyProperty: () => FileUploadRequestBodyProperty29,
|
|
@@ -909686,7 +910092,7 @@ __export(endpoints_exports29, {
|
|
|
909686
910092
|
Response: () => Response43
|
|
909687
910093
|
});
|
|
909688
910094
|
|
|
909689
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910095
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/FileUploadRequestBodyProperty.mjs
|
|
909690
910096
|
var FileUploadRequestBodyProperty29 = {
|
|
909691
910097
|
file: (value2) => {
|
|
909692
910098
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -909717,7 +910123,7 @@ var FileUploadRequestBodyProperty29 = {
|
|
|
909717
910123
|
}
|
|
909718
910124
|
};
|
|
909719
910125
|
|
|
909720
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910126
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/InlinedRequestBody.mjs
|
|
909721
910127
|
var InlinedRequestBody43 = {
|
|
909722
910128
|
properties: (value2) => {
|
|
909723
910129
|
return {
|
|
@@ -909752,7 +910158,7 @@ var InlinedRequestBody43 = {
|
|
|
909752
910158
|
}
|
|
909753
910159
|
};
|
|
909754
910160
|
|
|
909755
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910161
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/ReferencedRequestBodyType.mjs
|
|
909756
910162
|
var ReferencedRequestBodyType29 = {
|
|
909757
910163
|
bytes: () => {
|
|
909758
910164
|
return {
|
|
@@ -909783,7 +910189,7 @@ var ReferencedRequestBodyType29 = {
|
|
|
909783
910189
|
}
|
|
909784
910190
|
};
|
|
909785
910191
|
|
|
909786
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910192
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Request.mjs
|
|
909787
910193
|
var Request35 = {
|
|
909788
910194
|
body: (value2) => {
|
|
909789
910195
|
return Object.assign(Object.assign({}, value2), { type: "body", _visit: function(visitor) {
|
|
@@ -909807,7 +910213,7 @@ var Request35 = {
|
|
|
909807
910213
|
}
|
|
909808
910214
|
};
|
|
909809
910215
|
|
|
909810
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910216
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/endpoints/types/Response.mjs
|
|
909811
910217
|
var Response43 = {
|
|
909812
910218
|
json: () => {
|
|
909813
910219
|
return {
|
|
@@ -909877,13 +910283,13 @@ var Response43 = {
|
|
|
909877
910283
|
}
|
|
909878
910284
|
};
|
|
909879
910285
|
|
|
909880
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910286
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/index.mjs
|
|
909881
910287
|
var environment_exports55 = {};
|
|
909882
910288
|
__export(environment_exports55, {
|
|
909883
910289
|
Environments: () => Environments43
|
|
909884
910290
|
});
|
|
909885
910291
|
|
|
909886
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910292
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/environment/types/Environments.mjs
|
|
909887
910293
|
var Environments43 = {
|
|
909888
910294
|
singleBaseUrl: (value2) => {
|
|
909889
910295
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -909907,13 +910313,13 @@ var Environments43 = {
|
|
|
909907
910313
|
}
|
|
909908
910314
|
};
|
|
909909
910315
|
|
|
909910
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910316
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/index.mjs
|
|
909911
910317
|
var http_exports43 = {};
|
|
909912
910318
|
__export(http_exports43, {
|
|
909913
910319
|
HttpMethod: () => HttpMethod47
|
|
909914
910320
|
});
|
|
909915
910321
|
|
|
909916
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910322
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/http/types/HttpMethod.mjs
|
|
909917
910323
|
var HttpMethodValues23 = {
|
|
909918
910324
|
Get: "GET",
|
|
909919
910325
|
Post: "POST",
|
|
@@ -909941,14 +910347,14 @@ var HttpMethod47 = Object.assign(Object.assign({}, HttpMethodValues23), { _visit
|
|
|
909941
910347
|
}
|
|
909942
910348
|
} });
|
|
909943
910349
|
|
|
909944
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910350
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/index.mjs
|
|
909945
910351
|
var ir_exports57 = {};
|
|
909946
910352
|
__export(ir_exports57, {
|
|
909947
910353
|
GeneratorOutputConfig: () => GeneratorOutputConfig35,
|
|
909948
910354
|
PublishInfo: () => PublishInfo21
|
|
909949
910355
|
});
|
|
909950
910356
|
|
|
909951
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910357
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/GeneratorOutputConfig.mjs
|
|
909952
910358
|
var GeneratorOutputConfig35 = {
|
|
909953
910359
|
publish: (value2) => {
|
|
909954
910360
|
return {
|
|
@@ -909979,7 +910385,7 @@ var GeneratorOutputConfig35 = {
|
|
|
909979
910385
|
}
|
|
909980
910386
|
};
|
|
909981
910387
|
|
|
909982
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910388
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/ir/types/PublishInfo.mjs
|
|
909983
910389
|
var PublishInfo21 = {
|
|
909984
910390
|
go: (value2) => {
|
|
909985
910391
|
return Object.assign(Object.assign({}, value2), { type: "go", _visit: function(visitor) {
|
|
@@ -910045,13 +910451,13 @@ var PublishInfo21 = {
|
|
|
910045
910451
|
}
|
|
910046
910452
|
};
|
|
910047
910453
|
|
|
910048
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910454
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/index.mjs
|
|
910049
910455
|
var snippets_exports29 = {};
|
|
910050
910456
|
__export(snippets_exports29, {
|
|
910051
910457
|
ErrorSeverity: () => ErrorSeverity29
|
|
910052
910458
|
});
|
|
910053
910459
|
|
|
910054
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910460
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/snippets/types/ErrorSeverity.mjs
|
|
910055
910461
|
var ErrorSeverityValues15 = {
|
|
910056
910462
|
Critical: "CRITICAL",
|
|
910057
910463
|
Warning: "WARNING"
|
|
@@ -910067,7 +910473,7 @@ var ErrorSeverity29 = Object.assign(Object.assign({}, ErrorSeverityValues15), {
|
|
|
910067
910473
|
}
|
|
910068
910474
|
} });
|
|
910069
910475
|
|
|
910070
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910476
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/index.mjs
|
|
910071
910477
|
var types_exports66 = {};
|
|
910072
910478
|
__export(types_exports66, {
|
|
910073
910479
|
LiteralType: () => LiteralType29,
|
|
@@ -910078,7 +910484,7 @@ __export(types_exports66, {
|
|
|
910078
910484
|
TypeReference: () => TypeReference57
|
|
910079
910485
|
});
|
|
910080
910486
|
|
|
910081
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910487
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/LiteralType.mjs
|
|
910082
910488
|
var LiteralType29 = {
|
|
910083
910489
|
boolean: (value2) => {
|
|
910084
910490
|
return {
|
|
@@ -910110,7 +910516,7 @@ var LiteralType29 = {
|
|
|
910110
910516
|
}
|
|
910111
910517
|
};
|
|
910112
910518
|
|
|
910113
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910519
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/NamedType.mjs
|
|
910114
910520
|
var NamedType43 = {
|
|
910115
910521
|
alias: (value2) => {
|
|
910116
910522
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -910155,7 +910561,7 @@ var NamedType43 = {
|
|
|
910155
910561
|
}
|
|
910156
910562
|
};
|
|
910157
910563
|
|
|
910158
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910564
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/ObjectPropertyAccess.mjs
|
|
910159
910565
|
var ObjectPropertyAccessValues20 = {
|
|
910160
910566
|
ReadOnly: "READ_ONLY",
|
|
910161
910567
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -910171,7 +910577,7 @@ var ObjectPropertyAccess41 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
910171
910577
|
}
|
|
910172
910578
|
} });
|
|
910173
910579
|
|
|
910174
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910580
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/PrimitiveTypeV1.mjs
|
|
910175
910581
|
var PrimitiveTypeV1Values22 = {
|
|
910176
910582
|
Integer: "INTEGER",
|
|
910177
910583
|
/**
|
|
@@ -910225,7 +910631,7 @@ var PrimitiveTypeV143 = Object.assign(Object.assign({}, PrimitiveTypeV1Values22)
|
|
|
910225
910631
|
}
|
|
910226
910632
|
} });
|
|
910227
910633
|
|
|
910228
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910634
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/SingleDiscriminatedUnionType.mjs
|
|
910229
910635
|
var SingleDiscriminatedUnionType29 = {
|
|
910230
910636
|
samePropertiesAsObject: (value2) => {
|
|
910231
910637
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -910256,7 +910662,7 @@ var SingleDiscriminatedUnionType29 = {
|
|
|
910256
910662
|
}
|
|
910257
910663
|
};
|
|
910258
910664
|
|
|
910259
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910665
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/types/types/TypeReference.mjs
|
|
910260
910666
|
var TypeReference57 = {
|
|
910261
910667
|
list: (value2) => {
|
|
910262
910668
|
return {
|
|
@@ -910360,16 +910766,16 @@ var TypeReference57 = {
|
|
|
910360
910766
|
}
|
|
910361
910767
|
};
|
|
910362
910768
|
|
|
910363
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910769
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/dynamic/resources/variables/index.mjs
|
|
910364
910770
|
var variables_exports45 = {};
|
|
910365
910771
|
|
|
910366
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910772
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/index.mjs
|
|
910367
910773
|
var environment_exports56 = {};
|
|
910368
910774
|
__export(environment_exports56, {
|
|
910369
910775
|
Environments: () => Environments44
|
|
910370
910776
|
});
|
|
910371
910777
|
|
|
910372
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910778
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/environment/types/Environments.mjs
|
|
910373
910779
|
var Environments44 = {
|
|
910374
910780
|
singleBaseUrl: (value2) => {
|
|
910375
910781
|
return Object.assign(Object.assign({}, value2), { type: "singleBaseUrl", _visit: function(visitor) {
|
|
@@ -910393,13 +910799,13 @@ var Environments44 = {
|
|
|
910393
910799
|
}
|
|
910394
910800
|
};
|
|
910395
910801
|
|
|
910396
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910802
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/index.mjs
|
|
910397
910803
|
var errors_exports32 = {};
|
|
910398
910804
|
__export(errors_exports32, {
|
|
910399
910805
|
ErrorDeclarationDiscriminantValue: () => ErrorDeclarationDiscriminantValue29
|
|
910400
910806
|
});
|
|
910401
910807
|
|
|
910402
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910808
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/errors/types/ErrorDeclarationDiscriminantValue.mjs
|
|
910403
910809
|
var ErrorDeclarationDiscriminantValue29 = {
|
|
910404
910810
|
property: (value2) => {
|
|
910405
910811
|
return {
|
|
@@ -910430,7 +910836,7 @@ var ErrorDeclarationDiscriminantValue29 = {
|
|
|
910430
910836
|
}
|
|
910431
910837
|
};
|
|
910432
910838
|
|
|
910433
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910839
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/index.mjs
|
|
910434
910840
|
var examples_exports25 = {};
|
|
910435
910841
|
__export(examples_exports25, {
|
|
910436
910842
|
V2AuthValues: () => V2AuthValues21,
|
|
@@ -910438,7 +910844,7 @@ __export(examples_exports25, {
|
|
|
910438
910844
|
V2HttpEndpointResponseBody: () => V2HttpEndpointResponseBody21
|
|
910439
910845
|
});
|
|
910440
910846
|
|
|
910441
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910847
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2AuthValues.mjs
|
|
910442
910848
|
var V2AuthValues21 = {
|
|
910443
910849
|
basic: (value2) => {
|
|
910444
910850
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910476,7 +910882,7 @@ var V2AuthValues21 = {
|
|
|
910476
910882
|
}
|
|
910477
910883
|
};
|
|
910478
910884
|
|
|
910479
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910885
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2EndpointLocationHttpMethod.mjs
|
|
910480
910886
|
var V2EndpointLocationHttpMethodValues11 = {
|
|
910481
910887
|
Get: "GET",
|
|
910482
910888
|
Post: "POST",
|
|
@@ -910504,7 +910910,7 @@ var V2EndpointLocationHttpMethod21 = Object.assign(Object.assign({}, V2EndpointL
|
|
|
910504
910910
|
}
|
|
910505
910911
|
} });
|
|
910506
910912
|
|
|
910507
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910913
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/examples/types/V2HttpEndpointResponseBody.mjs
|
|
910508
910914
|
var V2HttpEndpointResponseBody21 = {
|
|
910509
910915
|
error: (value2) => {
|
|
910510
910916
|
return {
|
|
@@ -910547,7 +910953,7 @@ var V2HttpEndpointResponseBody21 = {
|
|
|
910547
910953
|
}
|
|
910548
910954
|
};
|
|
910549
910955
|
|
|
910550
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910956
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/index.mjs
|
|
910551
910957
|
var generatorExec_exports29 = {};
|
|
910552
910958
|
__export(generatorExec_exports29, {
|
|
910553
910959
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -910559,7 +910965,7 @@ __export(generatorExec_exports29, {
|
|
|
910559
910965
|
config: () => config_exports29
|
|
910560
910966
|
});
|
|
910561
910967
|
|
|
910562
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910968
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/index.mjs
|
|
910563
910969
|
var config_exports29 = {};
|
|
910564
910970
|
__export(config_exports29, {
|
|
910565
910971
|
GeneratorEnvironment: () => GeneratorEnvironment29,
|
|
@@ -910570,7 +910976,7 @@ __export(config_exports29, {
|
|
|
910570
910976
|
OutputMode: () => OutputMode31
|
|
910571
910977
|
});
|
|
910572
910978
|
|
|
910573
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
910979
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorEnvironment.mjs
|
|
910574
910980
|
var GeneratorEnvironment29 = {
|
|
910575
910981
|
local: () => {
|
|
910576
910982
|
return {
|
|
@@ -910597,7 +911003,7 @@ var GeneratorEnvironment29 = {
|
|
|
910597
911003
|
}
|
|
910598
911004
|
};
|
|
910599
911005
|
|
|
910600
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911006
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GeneratorPublishTarget.mjs
|
|
910601
911007
|
var GeneratorPublishTarget29 = {
|
|
910602
911008
|
maven: (value2) => {
|
|
910603
911009
|
return Object.assign(Object.assign({}, value2), { type: "maven", _visit: function(visitor) {
|
|
@@ -910656,7 +911062,7 @@ var GeneratorPublishTarget29 = {
|
|
|
910656
911062
|
}
|
|
910657
911063
|
};
|
|
910658
911064
|
|
|
910659
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911065
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/GithubPublishInfo.mjs
|
|
910660
911066
|
var GithubPublishInfo31 = {
|
|
910661
911067
|
npm: (value2) => {
|
|
910662
911068
|
return Object.assign(Object.assign({}, value2), { type: "npm", _visit: function(visitor) {
|
|
@@ -910715,7 +911121,7 @@ var GithubPublishInfo31 = {
|
|
|
910715
911121
|
}
|
|
910716
911122
|
};
|
|
910717
911123
|
|
|
910718
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911124
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseConfig.mjs
|
|
910719
911125
|
var LicenseConfig29 = {
|
|
910720
911126
|
basic: (value2) => {
|
|
910721
911127
|
return Object.assign(Object.assign({}, value2), { type: "basic", _visit: function(visitor) {
|
|
@@ -910739,7 +911145,7 @@ var LicenseConfig29 = {
|
|
|
910739
911145
|
}
|
|
910740
911146
|
};
|
|
910741
911147
|
|
|
910742
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911148
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/LicenseId.mjs
|
|
910743
911149
|
var LicenseIdValues15 = {
|
|
910744
911150
|
Mit: "MIT",
|
|
910745
911151
|
Apache2: "Apache-2.0"
|
|
@@ -910755,7 +911161,7 @@ var LicenseId29 = Object.assign(Object.assign({}, LicenseIdValues15), { _visit:
|
|
|
910755
911161
|
}
|
|
910756
911162
|
} });
|
|
910757
911163
|
|
|
910758
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911164
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/generatorExec/resources/config/types/OutputMode.mjs
|
|
910759
911165
|
var OutputMode31 = {
|
|
910760
911166
|
publish: (value2) => {
|
|
910761
911167
|
return Object.assign(Object.assign({}, value2), { type: "publish", _visit: function(visitor) {
|
|
@@ -910789,7 +911195,52 @@ var OutputMode31 = {
|
|
|
910789
911195
|
}
|
|
910790
911196
|
};
|
|
910791
911197
|
|
|
910792
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911198
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/index.mjs
|
|
911199
|
+
var globalParameters_exports5 = {};
|
|
911200
|
+
__export(globalParameters_exports5, {
|
|
911201
|
+
GlobalParameterApplyMode: () => GlobalParameterApplyMode3,
|
|
911202
|
+
GlobalParameterLocation: () => GlobalParameterLocation3
|
|
911203
|
+
});
|
|
911204
|
+
|
|
911205
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterApplyMode.mjs
|
|
911206
|
+
var GlobalParameterApplyModeValues2 = {
|
|
911207
|
+
Explicit: "explicit",
|
|
911208
|
+
Auto: "auto"
|
|
911209
|
+
};
|
|
911210
|
+
var GlobalParameterApplyMode3 = Object.assign(Object.assign({}, GlobalParameterApplyModeValues2), { _visit: (value2, visitor) => {
|
|
911211
|
+
switch (value2) {
|
|
911212
|
+
case GlobalParameterApplyMode3.Explicit:
|
|
911213
|
+
return visitor.explicit();
|
|
911214
|
+
case GlobalParameterApplyMode3.Auto:
|
|
911215
|
+
return visitor.auto();
|
|
911216
|
+
default:
|
|
911217
|
+
return visitor._other();
|
|
911218
|
+
}
|
|
911219
|
+
} });
|
|
911220
|
+
|
|
911221
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/globalParameters/types/GlobalParameterLocation.mjs
|
|
911222
|
+
var GlobalParameterLocationValues2 = {
|
|
911223
|
+
Header: "header",
|
|
911224
|
+
Query: "query",
|
|
911225
|
+
Body: "body",
|
|
911226
|
+
Path: "path"
|
|
911227
|
+
};
|
|
911228
|
+
var GlobalParameterLocation3 = Object.assign(Object.assign({}, GlobalParameterLocationValues2), { _visit: (value2, visitor) => {
|
|
911229
|
+
switch (value2) {
|
|
911230
|
+
case GlobalParameterLocation3.Header:
|
|
911231
|
+
return visitor.header();
|
|
911232
|
+
case GlobalParameterLocation3.Query:
|
|
911233
|
+
return visitor.query();
|
|
911234
|
+
case GlobalParameterLocation3.Body:
|
|
911235
|
+
return visitor.body();
|
|
911236
|
+
case GlobalParameterLocation3.Path:
|
|
911237
|
+
return visitor.path();
|
|
911238
|
+
default:
|
|
911239
|
+
return visitor._other();
|
|
911240
|
+
}
|
|
911241
|
+
} });
|
|
911242
|
+
|
|
911243
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/index.mjs
|
|
910793
911244
|
var http_exports44 = {};
|
|
910794
911245
|
__export(http_exports44, {
|
|
910795
911246
|
ExampleCodeSample: () => ExampleCodeSample29,
|
|
@@ -910816,7 +911267,7 @@ __export(http_exports44, {
|
|
|
910816
911267
|
Transport: () => Transport29
|
|
910817
911268
|
});
|
|
910818
911269
|
|
|
910819
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911270
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleCodeSample.mjs
|
|
910820
911271
|
var ExampleCodeSample29 = {
|
|
910821
911272
|
language: (value2) => {
|
|
910822
911273
|
return Object.assign(Object.assign({}, value2), { type: "language", _visit: function(visitor) {
|
|
@@ -910840,7 +911291,7 @@ var ExampleCodeSample29 = {
|
|
|
910840
911291
|
}
|
|
910841
911292
|
};
|
|
910842
911293
|
|
|
910843
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911294
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleEndpointSuccessResponse.mjs
|
|
910844
911295
|
var ExampleEndpointSuccessResponse29 = {
|
|
910845
911296
|
body: (value2) => {
|
|
910846
911297
|
return {
|
|
@@ -910883,7 +911334,7 @@ var ExampleEndpointSuccessResponse29 = {
|
|
|
910883
911334
|
}
|
|
910884
911335
|
};
|
|
910885
911336
|
|
|
910886
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911337
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleQueryParameterShape.mjs
|
|
910887
911338
|
var ExampleQueryParameterShape29 = {
|
|
910888
911339
|
single: () => {
|
|
910889
911340
|
return {
|
|
@@ -910923,7 +911374,7 @@ var ExampleQueryParameterShape29 = {
|
|
|
910923
911374
|
}
|
|
910924
911375
|
};
|
|
910925
911376
|
|
|
910926
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911377
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleRequestBody.mjs
|
|
910927
911378
|
var ExampleRequestBody29 = {
|
|
910928
911379
|
inlinedRequestBody: (value2) => {
|
|
910929
911380
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -910947,7 +911398,7 @@ var ExampleRequestBody29 = {
|
|
|
910947
911398
|
}
|
|
910948
911399
|
};
|
|
910949
911400
|
|
|
910950
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911401
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/ExampleResponse.mjs
|
|
910951
911402
|
var ExampleResponse29 = {
|
|
910952
911403
|
ok: (value2) => {
|
|
910953
911404
|
return {
|
|
@@ -910975,7 +911426,7 @@ var ExampleResponse29 = {
|
|
|
910975
911426
|
}
|
|
910976
911427
|
};
|
|
910977
911428
|
|
|
910978
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911429
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileProperty.mjs
|
|
910979
911430
|
var FileProperty29 = {
|
|
910980
911431
|
file: (value2) => {
|
|
910981
911432
|
return Object.assign(Object.assign({}, value2), { type: "file", _visit: function(visitor) {
|
|
@@ -910999,7 +911450,7 @@ var FileProperty29 = {
|
|
|
910999
911450
|
}
|
|
911000
911451
|
};
|
|
911001
911452
|
|
|
911002
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911453
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadBodyPropertyEncoding.mjs
|
|
911003
911454
|
var FileUploadBodyPropertyEncodingValues13 = {
|
|
911004
911455
|
Exploded: "exploded",
|
|
911005
911456
|
Json: "json",
|
|
@@ -911018,7 +911469,7 @@ var FileUploadBodyPropertyEncoding25 = Object.assign(Object.assign({}, FileUploa
|
|
|
911018
911469
|
}
|
|
911019
911470
|
} });
|
|
911020
911471
|
|
|
911021
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911472
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/FileUploadRequestProperty.mjs
|
|
911022
911473
|
var FileUploadRequestProperty29 = {
|
|
911023
911474
|
file: (value2) => {
|
|
911024
911475
|
return {
|
|
@@ -911046,7 +911497,7 @@ var FileUploadRequestProperty29 = {
|
|
|
911046
911497
|
}
|
|
911047
911498
|
};
|
|
911048
911499
|
|
|
911049
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911500
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpEndpointSource.mjs
|
|
911050
911501
|
var HttpEndpointSource21 = {
|
|
911051
911502
|
proto: (value2) => {
|
|
911052
911503
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -911083,7 +911534,7 @@ var HttpEndpointSource21 = {
|
|
|
911083
911534
|
}
|
|
911084
911535
|
};
|
|
911085
911536
|
|
|
911086
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911537
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpMethod.mjs
|
|
911087
911538
|
var HttpMethodValues24 = {
|
|
911088
911539
|
Get: "GET",
|
|
911089
911540
|
Post: "POST",
|
|
@@ -911111,7 +911562,7 @@ var HttpMethod48 = Object.assign(Object.assign({}, HttpMethodValues24), { _visit
|
|
|
911111
911562
|
}
|
|
911112
911563
|
} });
|
|
911113
911564
|
|
|
911114
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911565
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpRequestBody.mjs
|
|
911115
911566
|
var HttpRequestBody29 = {
|
|
911116
911567
|
inlinedRequestBody: (value2) => {
|
|
911117
911568
|
return Object.assign(Object.assign({}, value2), { type: "inlinedRequestBody", _visit: function(visitor) {
|
|
@@ -911149,7 +911600,7 @@ var HttpRequestBody29 = {
|
|
|
911149
911600
|
}
|
|
911150
911601
|
};
|
|
911151
911602
|
|
|
911152
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911603
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/HttpResponseBody.mjs
|
|
911153
911604
|
var HttpResponseBody29 = {
|
|
911154
911605
|
json: (value2) => {
|
|
911155
911606
|
return {
|
|
@@ -911209,7 +911660,7 @@ var HttpResponseBody29 = {
|
|
|
911209
911660
|
}
|
|
911210
911661
|
};
|
|
911211
911662
|
|
|
911212
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911663
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/JsonResponse.mjs
|
|
911213
911664
|
var JsonResponse30 = {
|
|
911214
911665
|
response: (value2) => {
|
|
911215
911666
|
return Object.assign(Object.assign({}, value2), { type: "response", _visit: function(visitor) {
|
|
@@ -911233,7 +911684,7 @@ var JsonResponse30 = {
|
|
|
911233
911684
|
}
|
|
911234
911685
|
};
|
|
911235
911686
|
|
|
911236
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911687
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/NonStreamHttpResponseBody.mjs
|
|
911237
911688
|
var NonStreamHttpResponseBody29 = {
|
|
911238
911689
|
json: (value2) => {
|
|
911239
911690
|
return {
|
|
@@ -911275,7 +911726,7 @@ var NonStreamHttpResponseBody29 = {
|
|
|
911275
911726
|
}
|
|
911276
911727
|
};
|
|
911277
911728
|
|
|
911278
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911729
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Pagination.mjs
|
|
911279
911730
|
var Pagination32 = {
|
|
911280
911731
|
cursor: (value2) => {
|
|
911281
911732
|
return Object.assign(Object.assign({}, value2), { type: "cursor", _visit: function(visitor) {
|
|
@@ -911320,7 +911771,7 @@ var Pagination32 = {
|
|
|
911320
911771
|
}
|
|
911321
911772
|
};
|
|
911322
911773
|
|
|
911323
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911774
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/PathParameterLocation.mjs
|
|
911324
911775
|
var PathParameterLocationValues15 = {
|
|
911325
911776
|
Root: "ROOT",
|
|
911326
911777
|
Service: "SERVICE",
|
|
@@ -911339,7 +911790,7 @@ var PathParameterLocation29 = Object.assign(Object.assign({}, PathParameterLocat
|
|
|
911339
911790
|
}
|
|
911340
911791
|
} });
|
|
911341
911792
|
|
|
911342
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911793
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/RequestPropertyValue.mjs
|
|
911343
911794
|
var RequestPropertyValue29 = {
|
|
911344
911795
|
query: (value2) => {
|
|
911345
911796
|
return Object.assign(Object.assign({}, value2), { type: "query", _visit: function(visitor) {
|
|
@@ -911363,7 +911814,7 @@ var RequestPropertyValue29 = {
|
|
|
911363
911814
|
}
|
|
911364
911815
|
};
|
|
911365
911816
|
|
|
911366
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911817
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestBodyType.mjs
|
|
911367
911818
|
var SdkRequestBodyType29 = {
|
|
911368
911819
|
typeReference: (value2) => {
|
|
911369
911820
|
return Object.assign(Object.assign({}, value2), { type: "typeReference", _visit: function(visitor) {
|
|
@@ -911387,7 +911838,7 @@ var SdkRequestBodyType29 = {
|
|
|
911387
911838
|
}
|
|
911388
911839
|
};
|
|
911389
911840
|
|
|
911390
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911841
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SdkRequestShape.mjs
|
|
911391
911842
|
var SdkRequestShape29 = {
|
|
911392
911843
|
justRequestBody: (value2) => {
|
|
911393
911844
|
return {
|
|
@@ -911415,7 +911866,7 @@ var SdkRequestShape29 = {
|
|
|
911415
911866
|
}
|
|
911416
911867
|
};
|
|
911417
911868
|
|
|
911418
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911869
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/StreamingResponse.mjs
|
|
911419
911870
|
var StreamingResponse29 = {
|
|
911420
911871
|
json: (value2) => {
|
|
911421
911872
|
return Object.assign(Object.assign({}, value2), { type: "json", _visit: function(visitor) {
|
|
@@ -911446,7 +911897,7 @@ var StreamingResponse29 = {
|
|
|
911446
911897
|
}
|
|
911447
911898
|
};
|
|
911448
911899
|
|
|
911449
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911900
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/SupportedSdkLanguage.mjs
|
|
911450
911901
|
var SupportedSdkLanguageValues16 = {
|
|
911451
911902
|
Curl: "curl",
|
|
911452
911903
|
Python: "python",
|
|
@@ -911489,7 +911940,7 @@ var SupportedSdkLanguage31 = Object.assign(Object.assign({}, SupportedSdkLanguag
|
|
|
911489
911940
|
}
|
|
911490
911941
|
} });
|
|
911491
911942
|
|
|
911492
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911943
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/http/types/Transport.mjs
|
|
911493
911944
|
var Transport29 = {
|
|
911494
911945
|
http: () => {
|
|
911495
911946
|
return {
|
|
@@ -911516,7 +911967,7 @@ var Transport29 = {
|
|
|
911516
911967
|
}
|
|
911517
911968
|
};
|
|
911518
911969
|
|
|
911519
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911970
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/index.mjs
|
|
911520
911971
|
var ir_exports58 = {};
|
|
911521
911972
|
__export(ir_exports58, {
|
|
911522
911973
|
ApiDefinitionSource: () => ApiDefinitionSource29,
|
|
@@ -911526,7 +911977,7 @@ __export(ir_exports58, {
|
|
|
911526
911977
|
InvocationSource: () => InvocationSource5
|
|
911527
911978
|
});
|
|
911528
911979
|
|
|
911529
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
911980
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiDefinitionSource.mjs
|
|
911530
911981
|
var ApiDefinitionSource29 = {
|
|
911531
911982
|
proto: (value2) => {
|
|
911532
911983
|
return Object.assign(Object.assign({}, value2), { type: "proto", _visit: function(visitor) {
|
|
@@ -911553,7 +912004,7 @@ var ApiDefinitionSource29 = {
|
|
|
911553
912004
|
}
|
|
911554
912005
|
};
|
|
911555
912006
|
|
|
911556
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912007
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ApiVersionScheme.mjs
|
|
911557
912008
|
var ApiVersionScheme29 = {
|
|
911558
912009
|
header: (value2) => {
|
|
911559
912010
|
return Object.assign(Object.assign({}, value2), { type: "header", _visit: function(visitor) {
|
|
@@ -911570,7 +912021,7 @@ var ApiVersionScheme29 = {
|
|
|
911570
912021
|
}
|
|
911571
912022
|
};
|
|
911572
912023
|
|
|
911573
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912024
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ErrorDiscriminationStrategy.mjs
|
|
911574
912025
|
var ErrorDiscriminationStrategy29 = {
|
|
911575
912026
|
statusCode: () => {
|
|
911576
912027
|
return {
|
|
@@ -911597,7 +912048,7 @@ var ErrorDiscriminationStrategy29 = {
|
|
|
911597
912048
|
}
|
|
911598
912049
|
};
|
|
911599
912050
|
|
|
911600
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912051
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/ExampleStyle.mjs
|
|
911601
912052
|
var ExampleStyleValues7 = {
|
|
911602
912053
|
Minimal: "minimal",
|
|
911603
912054
|
Comprehensive: "comprehensive"
|
|
@@ -911613,7 +912064,7 @@ var ExampleStyle15 = Object.assign(Object.assign({}, ExampleStyleValues7), { _vi
|
|
|
911613
912064
|
}
|
|
911614
912065
|
} });
|
|
911615
912066
|
|
|
911616
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912067
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/ir/types/InvocationSource.mjs
|
|
911617
912068
|
var InvocationSourceValues3 = {
|
|
911618
912069
|
Autopilot: "autopilot",
|
|
911619
912070
|
Autorelease: "autorelease",
|
|
@@ -911635,7 +912086,7 @@ var InvocationSource5 = Object.assign(Object.assign({}, InvocationSourceValues3)
|
|
|
911635
912086
|
}
|
|
911636
912087
|
} });
|
|
911637
912088
|
|
|
911638
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912089
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/index.mjs
|
|
911639
912090
|
var proto_exports29 = {};
|
|
911640
912091
|
__export(proto_exports29, {
|
|
911641
912092
|
ProtobufMethodType: () => ProtobufMethodType19,
|
|
@@ -911643,7 +912094,7 @@ __export(proto_exports29, {
|
|
|
911643
912094
|
WellKnownProtobufType: () => WellKnownProtobufType29
|
|
911644
912095
|
});
|
|
911645
912096
|
|
|
911646
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912097
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufMethodType.mjs
|
|
911647
912098
|
var ProtobufMethodTypeValues10 = {
|
|
911648
912099
|
Unary: "UNARY",
|
|
911649
912100
|
ClientStream: "CLIENT_STREAM",
|
|
@@ -911665,7 +912116,7 @@ var ProtobufMethodType19 = Object.assign(Object.assign({}, ProtobufMethodTypeVal
|
|
|
911665
912116
|
}
|
|
911666
912117
|
} });
|
|
911667
912118
|
|
|
911668
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912119
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/ProtobufType.mjs
|
|
911669
912120
|
var ProtobufType29 = {
|
|
911670
912121
|
wellKnown: (value2) => {
|
|
911671
912122
|
return {
|
|
@@ -911693,7 +912144,7 @@ var ProtobufType29 = {
|
|
|
911693
912144
|
}
|
|
911694
912145
|
};
|
|
911695
912146
|
|
|
911696
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912147
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/proto/types/WellKnownProtobufType.mjs
|
|
911697
912148
|
var WellKnownProtobufType29 = {
|
|
911698
912149
|
any: () => {
|
|
911699
912150
|
return {
|
|
@@ -912003,14 +912454,14 @@ var WellKnownProtobufType29 = {
|
|
|
912003
912454
|
}
|
|
912004
912455
|
};
|
|
912005
912456
|
|
|
912006
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912457
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/index.mjs
|
|
912007
912458
|
var publish_exports29 = {};
|
|
912008
912459
|
__export(publish_exports29, {
|
|
912009
912460
|
PublishTarget: () => PublishTarget29,
|
|
912010
912461
|
PublishingConfig: () => PublishingConfig29
|
|
912011
912462
|
});
|
|
912012
912463
|
|
|
912013
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912464
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishingConfig.mjs
|
|
912014
912465
|
var PublishingConfig29 = {
|
|
912015
912466
|
github: (value2) => {
|
|
912016
912467
|
return Object.assign(Object.assign({}, value2), { type: "github", _visit: function(visitor) {
|
|
@@ -912041,7 +912492,7 @@ var PublishingConfig29 = {
|
|
|
912041
912492
|
}
|
|
912042
912493
|
};
|
|
912043
912494
|
|
|
912044
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912495
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/publish/types/PublishTarget.mjs
|
|
912045
912496
|
var PublishTarget29 = {
|
|
912046
912497
|
postman: (value2) => {
|
|
912047
912498
|
return Object.assign(Object.assign({}, value2), { type: "postman", _visit: function(visitor) {
|
|
@@ -912093,7 +912544,7 @@ var PublishTarget29 = {
|
|
|
912093
912544
|
}
|
|
912094
912545
|
};
|
|
912095
912546
|
|
|
912096
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912547
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/index.mjs
|
|
912097
912548
|
var types_exports67 = {};
|
|
912098
912549
|
__export(types_exports67, {
|
|
912099
912550
|
ContainerType: () => ContainerType29,
|
|
@@ -912116,7 +912567,7 @@ __export(types_exports67, {
|
|
|
912116
912567
|
UnionDiscriminatorContext: () => UnionDiscriminatorContext9
|
|
912117
912568
|
});
|
|
912118
912569
|
|
|
912119
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912570
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ContainerType.mjs
|
|
912120
912571
|
var ContainerType29 = {
|
|
912121
912572
|
list: (value2) => {
|
|
912122
912573
|
return {
|
|
@@ -912188,7 +912639,7 @@ var ContainerType29 = {
|
|
|
912188
912639
|
}
|
|
912189
912640
|
};
|
|
912190
912641
|
|
|
912191
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912642
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleContainer.mjs
|
|
912192
912643
|
var ExampleContainer29 = {
|
|
912193
912644
|
list: (value2) => {
|
|
912194
912645
|
return Object.assign(Object.assign({}, value2), { type: "list", _visit: function(visitor) {
|
|
@@ -912240,7 +912691,7 @@ var ExampleContainer29 = {
|
|
|
912240
912691
|
}
|
|
912241
912692
|
};
|
|
912242
912693
|
|
|
912243
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912694
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExamplePrimitive.mjs
|
|
912244
912695
|
var ExamplePrimitive29 = {
|
|
912245
912696
|
integer: (value2) => {
|
|
912246
912697
|
return {
|
|
@@ -912396,7 +912847,7 @@ var ExamplePrimitive29 = {
|
|
|
912396
912847
|
}
|
|
912397
912848
|
};
|
|
912398
912849
|
|
|
912399
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912850
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleSingleUnionTypeProperties.mjs
|
|
912400
912851
|
var ExampleSingleUnionTypeProperties29 = {
|
|
912401
912852
|
samePropertiesAsObject: (value2) => {
|
|
912402
912853
|
return Object.assign(Object.assign({}, value2), { type: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -912430,7 +912881,7 @@ var ExampleSingleUnionTypeProperties29 = {
|
|
|
912430
912881
|
}
|
|
912431
912882
|
};
|
|
912432
912883
|
|
|
912433
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912884
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeReferenceShape.mjs
|
|
912434
912885
|
var ExampleTypeReferenceShape29 = {
|
|
912435
912886
|
primitive: (value2) => {
|
|
912436
912887
|
return {
|
|
@@ -912480,7 +912931,7 @@ var ExampleTypeReferenceShape29 = {
|
|
|
912480
912931
|
}
|
|
912481
912932
|
};
|
|
912482
912933
|
|
|
912483
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912934
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ExampleTypeShape.mjs
|
|
912484
912935
|
var ExampleTypeShape29 = {
|
|
912485
912936
|
alias: (value2) => {
|
|
912486
912937
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -912525,7 +912976,7 @@ var ExampleTypeShape29 = {
|
|
|
912525
912976
|
}
|
|
912526
912977
|
};
|
|
912527
912978
|
|
|
912528
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
912979
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Literal.mjs
|
|
912529
912980
|
var Literal30 = {
|
|
912530
912981
|
string: (value2) => {
|
|
912531
912982
|
return {
|
|
@@ -912557,7 +913008,7 @@ var Literal30 = {
|
|
|
912557
913008
|
}
|
|
912558
913009
|
};
|
|
912559
913010
|
|
|
912560
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913011
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/NamedTypeDefault.mjs
|
|
912561
913012
|
var NamedTypeDefault29 = {
|
|
912562
913013
|
enum: (value2) => {
|
|
912563
913014
|
return Object.assign(Object.assign({}, value2), { type: "enum", _visit: function(visitor) {
|
|
@@ -912574,7 +913025,7 @@ var NamedTypeDefault29 = {
|
|
|
912574
913025
|
}
|
|
912575
913026
|
};
|
|
912576
913027
|
|
|
912577
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913028
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ObjectPropertyAccess.mjs
|
|
912578
913029
|
var ObjectPropertyAccessValues21 = {
|
|
912579
913030
|
ReadOnly: "READ_ONLY",
|
|
912580
913031
|
WriteOnly: "WRITE_ONLY"
|
|
@@ -912590,7 +913041,7 @@ var ObjectPropertyAccess42 = Object.assign(Object.assign({}, ObjectPropertyAcces
|
|
|
912590
913041
|
}
|
|
912591
913042
|
} });
|
|
912592
913043
|
|
|
912593
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913044
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV1.mjs
|
|
912594
913045
|
var PrimitiveTypeV1Values23 = {
|
|
912595
913046
|
Integer: "INTEGER",
|
|
912596
913047
|
/**
|
|
@@ -912644,7 +913095,7 @@ var PrimitiveTypeV144 = Object.assign(Object.assign({}, PrimitiveTypeV1Values23)
|
|
|
912644
913095
|
}
|
|
912645
913096
|
} });
|
|
912646
913097
|
|
|
912647
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913098
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/PrimitiveTypeV2.mjs
|
|
912648
913099
|
var PrimitiveTypeV229 = {
|
|
912649
913100
|
integer: (value2) => {
|
|
912650
913101
|
return Object.assign(Object.assign({}, value2), { type: "integer", _visit: function(visitor) {
|
|
@@ -912752,7 +913203,7 @@ var PrimitiveTypeV229 = {
|
|
|
912752
913203
|
}
|
|
912753
913204
|
};
|
|
912754
913205
|
|
|
912755
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913206
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ResolvedTypeReference.mjs
|
|
912756
913207
|
var ResolvedTypeReference29 = {
|
|
912757
913208
|
container: (value2) => {
|
|
912758
913209
|
return {
|
|
@@ -912801,7 +913252,7 @@ var ResolvedTypeReference29 = {
|
|
|
912801
913252
|
}
|
|
912802
913253
|
};
|
|
912803
913254
|
|
|
912804
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913255
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/ShapeType.mjs
|
|
912805
913256
|
var ShapeTypeValues15 = {
|
|
912806
913257
|
Enum: "ENUM",
|
|
912807
913258
|
Object: "OBJECT",
|
|
@@ -912823,7 +913274,7 @@ var ShapeType29 = Object.assign(Object.assign({}, ShapeTypeValues15), { _visit:
|
|
|
912823
913274
|
}
|
|
912824
913275
|
} });
|
|
912825
913276
|
|
|
912826
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913277
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/SingleUnionTypeProperties.mjs
|
|
912827
913278
|
var SingleUnionTypeProperties29 = {
|
|
912828
913279
|
samePropertiesAsObject: (value2) => {
|
|
912829
913280
|
return Object.assign(Object.assign({}, value2), { propertiesType: "samePropertiesAsObject", _visit: function(visitor) {
|
|
@@ -912857,7 +913308,7 @@ var SingleUnionTypeProperties29 = {
|
|
|
912857
913308
|
}
|
|
912858
913309
|
};
|
|
912859
913310
|
|
|
912860
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913311
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Source.mjs
|
|
912861
913312
|
var Source33 = {
|
|
912862
913313
|
proto: (value2) => {
|
|
912863
913314
|
return {
|
|
@@ -912878,7 +913329,7 @@ var Source33 = {
|
|
|
912878
913329
|
}
|
|
912879
913330
|
};
|
|
912880
913331
|
|
|
912881
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913332
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/Type.mjs
|
|
912882
913333
|
var Type30 = {
|
|
912883
913334
|
alias: (value2) => {
|
|
912884
913335
|
return Object.assign(Object.assign({}, value2), { type: "alias", _visit: function(visitor) {
|
|
@@ -912923,7 +913374,7 @@ var Type30 = {
|
|
|
912923
913374
|
}
|
|
912924
913375
|
};
|
|
912925
913376
|
|
|
912926
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913377
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/TypeReference.mjs
|
|
912927
913378
|
var TypeReference58 = {
|
|
912928
913379
|
container: (value2) => {
|
|
912929
913380
|
return {
|
|
@@ -912972,7 +913423,7 @@ var TypeReference58 = {
|
|
|
912972
913423
|
}
|
|
912973
913424
|
};
|
|
912974
913425
|
|
|
912975
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913426
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/types/types/UnionDiscriminatorContext.mjs
|
|
912976
913427
|
var UnionDiscriminatorContextValues4 = {
|
|
912977
913428
|
/**
|
|
912978
913429
|
* Discriminator is within the union data itself (e.g., data.type field) */
|
|
@@ -912992,10 +913443,10 @@ var UnionDiscriminatorContext9 = Object.assign(Object.assign({}, UnionDiscrimina
|
|
|
912992
913443
|
}
|
|
912993
913444
|
} });
|
|
912994
913445
|
|
|
912995
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913446
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/variables/index.mjs
|
|
912996
913447
|
var variables_exports46 = {};
|
|
912997
913448
|
|
|
912998
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913449
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/index.mjs
|
|
912999
913450
|
var webhooks_exports31 = {};
|
|
913000
913451
|
__export(webhooks_exports31, {
|
|
913001
913452
|
AsymmetricAlgorithm: () => AsymmetricAlgorithm9,
|
|
@@ -913010,7 +913461,7 @@ __export(webhooks_exports31, {
|
|
|
913010
913461
|
WebhookTimestampFormat: () => WebhookTimestampFormat9
|
|
913011
913462
|
});
|
|
913012
913463
|
|
|
913013
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913464
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricAlgorithm.mjs
|
|
913014
913465
|
var AsymmetricAlgorithmValues5 = {
|
|
913015
913466
|
RsaSha256: "RSA_SHA256",
|
|
913016
913467
|
RsaSha384: "RSA_SHA384",
|
|
@@ -913041,7 +913492,7 @@ var AsymmetricAlgorithm9 = Object.assign(Object.assign({}, AsymmetricAlgorithmVa
|
|
|
913041
913492
|
}
|
|
913042
913493
|
} });
|
|
913043
913494
|
|
|
913044
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913495
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/AsymmetricKeySource.mjs
|
|
913045
913496
|
var AsymmetricKeySource7 = {
|
|
913046
913497
|
jwks: (value2) => {
|
|
913047
913498
|
return Object.assign(Object.assign({}, value2), { type: "jwks", _visit: function(visitor) {
|
|
@@ -913065,7 +913516,7 @@ var AsymmetricKeySource7 = {
|
|
|
913065
913516
|
}
|
|
913066
913517
|
};
|
|
913067
913518
|
|
|
913068
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913519
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/HmacAlgorithm.mjs
|
|
913069
913520
|
var HmacAlgorithmValues4 = {
|
|
913070
913521
|
Sha256: "SHA256",
|
|
913071
913522
|
Sha1: "SHA1",
|
|
@@ -913087,7 +913538,7 @@ var HmacAlgorithm7 = Object.assign(Object.assign({}, HmacAlgorithmValues4), { _v
|
|
|
913087
913538
|
}
|
|
913088
913539
|
} });
|
|
913089
913540
|
|
|
913090
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913541
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookHttpMethod.mjs
|
|
913091
913542
|
var WebhookHttpMethodValues16 = {
|
|
913092
913543
|
Get: "GET",
|
|
913093
913544
|
Post: "POST"
|
|
@@ -913103,7 +913554,7 @@ var WebhookHttpMethod31 = Object.assign(Object.assign({}, WebhookHttpMethodValue
|
|
|
913103
913554
|
}
|
|
913104
913555
|
} });
|
|
913105
913556
|
|
|
913106
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913557
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayload.mjs
|
|
913107
913558
|
var WebhookPayload29 = {
|
|
913108
913559
|
inlinedPayload: (value2) => {
|
|
913109
913560
|
return Object.assign(Object.assign({}, value2), { type: "inlinedPayload", _visit: function(visitor) {
|
|
@@ -913127,7 +913578,7 @@ var WebhookPayload29 = {
|
|
|
913127
913578
|
}
|
|
913128
913579
|
};
|
|
913129
913580
|
|
|
913130
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913581
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadBodySort.mjs
|
|
913131
913582
|
var WebhookPayloadBodySortValues5 = {
|
|
913132
913583
|
Alphabetical: "ALPHABETICAL"
|
|
913133
913584
|
};
|
|
@@ -913140,7 +913591,7 @@ var WebhookPayloadBodySort9 = Object.assign(Object.assign({}, WebhookPayloadBody
|
|
|
913140
913591
|
}
|
|
913141
913592
|
} });
|
|
913142
913593
|
|
|
913143
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913594
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookPayloadComponent.mjs
|
|
913144
913595
|
var WebhookPayloadComponentValues5 = {
|
|
913145
913596
|
/**
|
|
913146
913597
|
* The raw request body. */
|
|
@@ -913170,7 +913621,7 @@ var WebhookPayloadComponent9 = Object.assign(Object.assign({}, WebhookPayloadCom
|
|
|
913170
913621
|
}
|
|
913171
913622
|
} });
|
|
913172
913623
|
|
|
913173
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913624
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureEncoding.mjs
|
|
913174
913625
|
var WebhookSignatureEncodingValues5 = {
|
|
913175
913626
|
Base64: "BASE64",
|
|
913176
913627
|
Hex: "HEX"
|
|
@@ -913186,7 +913637,7 @@ var WebhookSignatureEncoding9 = Object.assign(Object.assign({}, WebhookSignature
|
|
|
913186
913637
|
}
|
|
913187
913638
|
} });
|
|
913188
913639
|
|
|
913189
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913640
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookSignatureVerification.mjs
|
|
913190
913641
|
var WebhookSignatureVerification9 = {
|
|
913191
913642
|
hmac: (value2) => {
|
|
913192
913643
|
return Object.assign(Object.assign({}, value2), { type: "hmac", _visit: function(visitor) {
|
|
@@ -913210,7 +913661,7 @@ var WebhookSignatureVerification9 = {
|
|
|
913210
913661
|
}
|
|
913211
913662
|
};
|
|
913212
913663
|
|
|
913213
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913664
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/webhooks/types/WebhookTimestampFormat.mjs
|
|
913214
913665
|
var WebhookTimestampFormatValues5 = {
|
|
913215
913666
|
UnixSeconds: "UNIX_SECONDS",
|
|
913216
913667
|
UnixMillis: "UNIX_MILLIS",
|
|
@@ -913229,7 +913680,7 @@ var WebhookTimestampFormat9 = Object.assign(Object.assign({}, WebhookTimestampFo
|
|
|
913229
913680
|
}
|
|
913230
913681
|
} });
|
|
913231
913682
|
|
|
913232
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913683
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/index.mjs
|
|
913233
913684
|
var websocket_exports33 = {};
|
|
913234
913685
|
__export(websocket_exports33, {
|
|
913235
913686
|
ExampleWebSocketMessageBody: () => ExampleWebSocketMessageBody29,
|
|
@@ -913237,7 +913688,7 @@ __export(websocket_exports33, {
|
|
|
913237
913688
|
WebSocketMessageOrigin: () => WebSocketMessageOrigin30
|
|
913238
913689
|
});
|
|
913239
913690
|
|
|
913240
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913691
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/ExampleWebSocketMessageBody.mjs
|
|
913241
913692
|
var ExampleWebSocketMessageBody29 = {
|
|
913242
913693
|
inlinedBody: (value2) => {
|
|
913243
913694
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -913261,7 +913712,7 @@ var ExampleWebSocketMessageBody29 = {
|
|
|
913261
913712
|
}
|
|
913262
913713
|
};
|
|
913263
913714
|
|
|
913264
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913715
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageBody.mjs
|
|
913265
913716
|
var WebSocketMessageBody29 = {
|
|
913266
913717
|
inlinedBody: (value2) => {
|
|
913267
913718
|
return Object.assign(Object.assign({}, value2), { type: "inlinedBody", _visit: function(visitor) {
|
|
@@ -913285,7 +913736,7 @@ var WebSocketMessageBody29 = {
|
|
|
913285
913736
|
}
|
|
913286
913737
|
};
|
|
913287
913738
|
|
|
913288
|
-
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.
|
|
913739
|
+
// ../../../node_modules/.pnpm/@fern-fern+ir-sdk@67.11.0/node_modules/@fern-fern/ir-sdk/dist/esm/api/resources/websocket/types/WebSocketMessageOrigin.mjs
|
|
913289
913740
|
var WebSocketMessageOriginValues15 = {
|
|
913290
913741
|
Client: "client",
|
|
913291
913742
|
Server: "server"
|
|
@@ -969840,7 +970291,7 @@ function getAutomationContextFromEnv() {
|
|
|
969840
970291
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
969841
970292
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
969842
970293
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
969843
|
-
cli_version: "5.
|
|
970294
|
+
cli_version: "5.72.1"
|
|
969844
970295
|
};
|
|
969845
970296
|
}
|
|
969846
970297
|
function isAutomationMode() {
|
|
@@ -970672,7 +971123,7 @@ var CliContext = class _CliContext {
|
|
|
970672
971123
|
if (false) {
|
|
970673
971124
|
this.logger.error("CLI_VERSION is not defined");
|
|
970674
971125
|
}
|
|
970675
|
-
return "5.
|
|
971126
|
+
return "5.72.1";
|
|
970676
971127
|
}
|
|
970677
971128
|
getCliName() {
|
|
970678
971129
|
if (false) {
|