@fern-api/fdr-sdk 1.2.53-d8c526632f → 1.2.54-228fd283a3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/client/docs-types/db.d.ts +61 -0
  2. package/dist/client/docs-types/db.d.ts.map +1 -1
  3. package/dist/client/docs-types/latest.d.ts +9 -9
  4. package/dist/client/docs-types/latest.d.ts.map +1 -1
  5. package/dist/client/docs-types/latest.js +1 -1
  6. package/dist/client/docs-types/latest.js.map +1 -1
  7. package/dist/client/docs-types/read.d.ts +27 -0
  8. package/dist/client/docs-types/read.d.ts.map +1 -1
  9. package/dist/client/docs-types/shared.d.ts +8 -0
  10. package/dist/client/docs-types/shared.d.ts.map +1 -1
  11. package/dist/client/docs-types/shared.js +1 -0
  12. package/dist/client/docs-types/shared.js.map +1 -1
  13. package/dist/client/docs-types/write.d.ts +16 -0
  14. package/dist/client/docs-types/write.d.ts.map +1 -1
  15. package/dist/js/client/FdrClient.js +1456 -1495
  16. package/dist/js/client/FdrClient.js.map +1 -1
  17. package/dist/js/client/FdrClient.mjs +1456 -1495
  18. package/dist/js/client/FdrClient.mjs.map +1 -1
  19. package/dist/js/client/types.js +2 -1
  20. package/dist/js/client/types.js.map +1 -1
  21. package/dist/js/client/types.mjs +2 -1
  22. package/dist/js/client/types.mjs.map +1 -1
  23. package/dist/js/converters/index.js +304 -301
  24. package/dist/js/converters/index.js.map +1 -1
  25. package/dist/js/converters/index.mjs +304 -301
  26. package/dist/js/converters/index.mjs.map +1 -1
  27. package/dist/js/docs/index.js +2 -1
  28. package/dist/js/docs/index.js.map +1 -1
  29. package/dist/js/docs/index.mjs +2 -1
  30. package/dist/js/docs/index.mjs.map +1 -1
  31. package/dist/js/index.js +1785 -1824
  32. package/dist/js/index.js.map +1 -1
  33. package/dist/js/index.mjs +1784 -1823
  34. package/dist/js/index.mjs.map +1 -1
  35. package/dist/js/navigation/index.js +304 -301
  36. package/dist/js/navigation/index.js.map +1 -1
  37. package/dist/js/navigation/index.mjs +304 -301
  38. package/dist/js/navigation/index.mjs.map +1 -1
  39. package/dist/js/orpc-client.js +1507 -1507
  40. package/dist/js/orpc-client.js.map +1 -1
  41. package/dist/js/orpc-client.mjs +1515 -1515
  42. package/dist/js/orpc-client.mjs.map +1 -1
  43. package/dist/orpc-client/docs/client.d.ts +0 -2
  44. package/dist/orpc-client/docs/client.d.ts.map +1 -1
  45. package/dist/orpc-client/docs/client.js +1 -3
  46. package/dist/orpc-client/docs/client.js.map +1 -1
  47. package/dist/orpc-client/docs/v1/read/contract.d.ts +18 -0
  48. package/dist/orpc-client/docs/v1/read/contract.d.ts.map +1 -1
  49. package/dist/orpc-client/docs/v1/write/contract.d.ts +4 -0
  50. package/dist/orpc-client/docs/v1/write/contract.d.ts.map +1 -1
  51. package/dist/orpc-client/docs/v2/read/contract.d.ts +40 -0
  52. package/dist/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
  53. package/dist/orpc-client/docs/v2/write/contract.d.ts +14 -6
  54. package/dist/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
  55. package/dist/orpc-client/docs-ledger/contract.d.ts +56 -0
  56. package/dist/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  57. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts +14 -0
  58. package/dist/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  59. package/dist/tsconfig.tsbuildinfo +1 -1
  60. package/dist/types/client/docs-types/db.d.ts +61 -0
  61. package/dist/types/client/docs-types/db.d.ts.map +1 -1
  62. package/dist/types/client/docs-types/latest.d.ts +9 -9
  63. package/dist/types/client/docs-types/latest.d.ts.map +1 -1
  64. package/dist/types/client/docs-types/read.d.ts +27 -0
  65. package/dist/types/client/docs-types/read.d.ts.map +1 -1
  66. package/dist/types/client/docs-types/shared.d.ts +8 -0
  67. package/dist/types/client/docs-types/shared.d.ts.map +1 -1
  68. package/dist/types/client/docs-types/write.d.ts +16 -0
  69. package/dist/types/client/docs-types/write.d.ts.map +1 -1
  70. package/dist/types/orpc-client/docs/client.d.ts +0 -2
  71. package/dist/types/orpc-client/docs/client.d.ts.map +1 -1
  72. package/dist/types/orpc-client/docs/v1/read/contract.d.ts +18 -0
  73. package/dist/types/orpc-client/docs/v1/read/contract.d.ts.map +1 -1
  74. package/dist/types/orpc-client/docs/v1/write/contract.d.ts +4 -0
  75. package/dist/types/orpc-client/docs/v1/write/contract.d.ts.map +1 -1
  76. package/dist/types/orpc-client/docs/v2/read/contract.d.ts +40 -0
  77. package/dist/types/orpc-client/docs/v2/read/contract.d.ts.map +1 -1
  78. package/dist/types/orpc-client/docs/v2/write/contract.d.ts +14 -6
  79. package/dist/types/orpc-client/docs/v2/write/contract.d.ts.map +1 -1
  80. package/dist/types/orpc-client/docs-ledger/contract.d.ts +56 -0
  81. package/dist/types/orpc-client/docs-ledger/contract.d.ts.map +1 -1
  82. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts +14 -0
  83. package/dist/types/orpc-client/docs-ledger/ledger-manifest.d.ts.map +1 -1
  84. package/package.json +1 -1
@@ -8223,6 +8223,7 @@ var PageActionOptionsSchema = z6.object({
8223
8223
  cursor: z6.boolean().optional(),
8224
8224
  claudeCode: z6.boolean().optional(),
8225
8225
  vscode: z6.boolean().optional(),
8226
+ mcp: z6.boolean().optional(),
8226
8227
  custom: z6.array(CustomPageActionSchema).optional(),
8227
8228
  skills: SkillsConfigSchema.optional()
8228
8229
  });
@@ -8528,226 +8529,346 @@ var LoadDocsForUrlResponseSchema = z8.object({
8528
8529
  translations: z8.array(z8.string()).optional()
8529
8530
  });
8530
8531
 
8532
+ // src/orpc-client/docs/v2/read/contract.ts
8533
+ var contract_exports = {};
8534
+ __export(contract_exports, {
8535
+ DocsDefinitionField: () => DocsDefinitionField,
8536
+ DocsDomainItemSchema: () => DocsDomainItemSchema,
8537
+ DocsReadConfigSchema: () => DocsConfigSchema,
8538
+ DocsReadDefinitionSchema: () => DocsDefinitionSchema,
8539
+ GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
8540
+ GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
8541
+ GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
8542
+ GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
8543
+ GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
8544
+ GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
8545
+ ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
8546
+ ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
8547
+ LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
8548
+ docsV2ReadContract: () => docsV2ReadContract,
8549
+ getDocsForUrl: () => getDocsForUrl
8550
+ });
8551
+ import { oc } from "@orpc/contract";
8552
+ import * as z9 from "zod";
8553
+ var GetDocsUrlMetadataInputSchema = z9.object({
8554
+ url: z9.string()
8555
+ });
8556
+ var GetDocsUrlMetadataResponseSchema = z9.object({
8557
+ isPreviewUrl: z9.boolean(),
8558
+ org: z9.string(),
8559
+ url: z9.string(),
8560
+ gitUrl: z9.string().nullish(),
8561
+ enableAlgoliaOnPreview: z9.boolean().nullish()
8562
+ });
8563
+ var GetDocsForUrlInputSchema = z9.object({
8564
+ url: z9.string(),
8565
+ excludeApis: z9.boolean().nullish()
8566
+ });
8567
+ var GetPrivateDocsForUrlInputSchema = z9.object({
8568
+ url: z9.string()
8569
+ });
8570
+ var ListAllDocsUrlsInputSchema = z9.object({
8571
+ limit: z9.number().nullish(),
8572
+ page: z9.number().nullish(),
8573
+ custom: z9.boolean().nullish(),
8574
+ preview: z9.boolean().nullish()
8575
+ });
8576
+ var GetDocsConfigByIdInputSchema = z9.object({
8577
+ docsConfigId: z9.string()
8578
+ });
8579
+ var DocsDefinitionField = {
8580
+ BaseUrl: "BASE_URL",
8581
+ FilesV2: "FILES_V2",
8582
+ ApisV2: "APIS_V2",
8583
+ Apis: "APIS",
8584
+ Pages: "PAGES",
8585
+ JsFiles: "JS_FILES",
8586
+ Config: "CONFIG",
8587
+ Root: "ROOT"
8588
+ };
8589
+ var GetDocsConfigByIdResponseSchema = z9.object({
8590
+ docsConfig: DocsConfigSchema,
8591
+ apis: z9.record(z9.string(), z9.unknown())
8592
+ });
8593
+ var DocsDomainItemSchema = z9.object({
8594
+ domain: z9.string(),
8595
+ basePath: z9.string().optional(),
8596
+ organizationId: z9.string(),
8597
+ updatedAt: z9.string()
8598
+ });
8599
+ var ListAllDocsUrlsResponseSchema = z9.object({
8600
+ urls: z9.array(DocsDomainItemSchema)
8601
+ });
8602
+ var getDocsForUrl;
8603
+ ((getDocsForUrl2) => {
8604
+ let Error2;
8605
+ ((Error3) => {
8606
+ function _unknown(fetcherError) {
8607
+ return { error: void 0, content: fetcherError };
8608
+ }
8609
+ Error3._unknown = _unknown;
8610
+ })(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
8611
+ })(getDocsForUrl || (getDocsForUrl = {}));
8612
+ var docsV2ReadContract = {
8613
+ getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
8614
+ getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
8615
+ getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
8616
+ listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
8617
+ getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
8618
+ prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z9.void()),
8619
+ ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z9.void()),
8620
+ getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z9.void())
8621
+ };
8622
+
8623
+ // src/orpc-client/docs/v2/write/contract.ts
8624
+ var contract_exports2 = {};
8625
+ __export(contract_exports2, {
8626
+ AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
8627
+ AuthConfigSchema: () => AuthConfigSchema,
8628
+ Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
8629
+ DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
8630
+ FilePath: () => FilePath2,
8631
+ FilePathInputSchema: () => FilePathInputSchema,
8632
+ FilePathSchema: () => FilePathSchema2,
8633
+ FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
8634
+ FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
8635
+ ImageFilePathSchema: () => ImageFilePathSchema,
8636
+ ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
8637
+ RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
8638
+ RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
8639
+ RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
8640
+ SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
8641
+ SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
8642
+ StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
8643
+ StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
8644
+ StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
8645
+ StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
8646
+ TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
8647
+ docsV2WriteContract: () => docsV2WriteContract
8648
+ });
8649
+ import { oc as oc2 } from "@orpc/contract";
8650
+ import * as z12 from "zod";
8651
+
8531
8652
  // src/client/docs-types/write.ts
8532
- import * as z10 from "zod";
8653
+ import * as z11 from "zod";
8533
8654
 
8534
8655
  // src/client/docs-types/write-commons.ts
8535
- import * as z9 from "zod";
8536
- var OrgIdSchema2 = z9.string();
8656
+ import * as z10 from "zod";
8657
+ var OrgIdSchema2 = z10.string();
8537
8658
  function OrgId2(value) {
8538
8659
  return value;
8539
8660
  }
8540
8661
 
8541
8662
  // src/client/docs-types/write.ts
8542
- var FilePathSchema = z10.string();
8663
+ var FilePathSchema = z11.string();
8543
8664
  function FilePath(value) {
8544
8665
  return value;
8545
8666
  }
8546
- var DocsRegistrationIdSchema = z10.string();
8667
+ var DocsRegistrationIdSchema = z11.string();
8547
8668
  function DocsRegistrationId(value) {
8548
8669
  return value;
8549
8670
  }
8550
- var HeightSchema2 = z10.number();
8551
- var FileS3UploadUrlSchema = z10.object({
8552
- uploadUrl: z10.string(),
8671
+ var HeightSchema2 = z11.number();
8672
+ var FileS3UploadUrlSchema = z11.object({
8673
+ uploadUrl: z11.string(),
8553
8674
  fileId: FileIdSchema2
8554
8675
  });
8555
- var StartDocsRegisterResponseSchema = z10.object({
8676
+ var StartDocsRegisterResponseSchema = z11.object({
8556
8677
  docsRegistrationId: DocsRegistrationIdSchema,
8557
- uploadUrls: z10.record(FilePathSchema, FileS3UploadUrlSchema),
8558
- skippedFiles: z10.array(FilePathSchema)
8678
+ uploadUrls: z11.record(FilePathSchema, FileS3UploadUrlSchema),
8679
+ skippedFiles: z11.array(FilePathSchema)
8559
8680
  });
8560
- var PageContentSchema2 = z10.object({
8561
- markdown: z10.string(),
8681
+ var PageContentSchema2 = z11.object({
8682
+ markdown: z11.string(),
8562
8683
  editThisPageUrl: UrlSchema2.optional(),
8563
8684
  editThisPageLaunch: EditThisPageLaunchSchema.optional(),
8564
- rawMarkdown: z10.string().optional()
8685
+ rawMarkdown: z11.string().optional()
8565
8686
  });
8566
- var NavigationNodeMetadataSchema2 = z10.object({
8567
- icon: z10.string().optional(),
8568
- hidden: z10.boolean().optional(),
8569
- urlSlugOverride: z10.string().optional(),
8570
- fullSlug: z10.array(z10.string()).optional()
8687
+ var NavigationNodeMetadataSchema2 = z11.object({
8688
+ icon: z11.string().optional(),
8689
+ hidden: z11.boolean().optional(),
8690
+ urlSlugOverride: z11.string().optional(),
8691
+ fullSlug: z11.array(z11.string()).optional()
8571
8692
  });
8572
- var PageMetadataSchema2 = z10.object({
8693
+ var PageMetadataSchema2 = z11.object({
8573
8694
  ...NavigationNodeMetadataSchema2.shape,
8574
8695
  id: PageIdSchema2,
8575
- title: z10.string()
8696
+ title: z11.string()
8576
8697
  });
8577
- var LinkMetadataSchema2 = z10.object({
8578
- title: z10.string(),
8579
- icon: z10.string().optional(),
8698
+ var LinkMetadataSchema2 = z11.object({
8699
+ title: z11.string(),
8700
+ icon: z11.string().optional(),
8580
8701
  url: UrlSchema2,
8581
8702
  target: LinkTargetSchema.optional()
8582
8703
  });
8583
- var ChangelogItemSchema2 = z10.object({
8584
- date: z10.string(),
8704
+ var ChangelogItemSchema2 = z11.object({
8705
+ date: z11.string(),
8585
8706
  pageId: PageIdSchema2,
8586
- hidden: z10.boolean().optional(),
8587
- tags: z10.array(z10.string()).optional()
8588
- });
8589
- var ChangelogSectionSchema2 = z10.object({
8590
- title: z10.string().optional(),
8591
- icon: z10.string().optional(),
8592
- hidden: z10.boolean().optional(),
8593
- description: z10.string().optional(),
8707
+ hidden: z11.boolean().optional(),
8708
+ tags: z11.array(z11.string()).optional()
8709
+ });
8710
+ var ChangelogSectionSchema2 = z11.object({
8711
+ title: z11.string().optional(),
8712
+ icon: z11.string().optional(),
8713
+ hidden: z11.boolean().optional(),
8714
+ description: z11.string().optional(),
8594
8715
  pageId: PageIdSchema2.optional(),
8595
- items: z10.array(ChangelogItemSchema2),
8596
- urlSlug: z10.string(),
8597
- fullSlug: z10.array(z10.string()).optional()
8716
+ items: z11.array(ChangelogItemSchema2),
8717
+ urlSlug: z11.string(),
8718
+ fullSlug: z11.array(z11.string()).optional()
8598
8719
  });
8599
- var ChangelogSectionV2Schema = z10.object({
8720
+ var ChangelogSectionV2Schema = z11.object({
8600
8721
  ...NavigationNodeMetadataSchema2.shape,
8601
- title: z10.string().optional(),
8602
- description: z10.string().optional(),
8722
+ title: z11.string().optional(),
8723
+ description: z11.string().optional(),
8603
8724
  pageId: PageIdSchema2.optional(),
8604
- items: z10.array(ChangelogItemSchema2)
8725
+ items: z11.array(ChangelogItemSchema2)
8605
8726
  });
8606
- var ChangelogSectionV3Schema2 = z10.object({
8607
- node: z10.unknown()
8727
+ var ChangelogSectionV3Schema2 = z11.object({
8728
+ node: z11.unknown()
8608
8729
  });
8609
- var NavigationTabLinkSchema2 = z10.object({
8610
- title: z10.string(),
8611
- icon: z10.string().optional(),
8730
+ var NavigationTabLinkSchema2 = z11.object({
8731
+ title: z11.string(),
8732
+ icon: z11.string().optional(),
8612
8733
  url: UrlSchema2,
8613
8734
  target: LinkTargetSchema.optional()
8614
8735
  });
8615
- var ApiNavigationConfigItemSchema4 = z10.lazy(
8616
- () => z10.discriminatedUnion("type", [
8617
- z10.object({
8618
- type: z10.literal("subpackage"),
8736
+ var ApiNavigationConfigItemSchema4 = z11.lazy(
8737
+ () => z11.discriminatedUnion("type", [
8738
+ z11.object({
8739
+ type: z11.literal("subpackage"),
8619
8740
  summaryPageId: PageIdSchema2.optional(),
8620
8741
  subpackageId: SubpackageIdSchema2,
8621
- items: z10.array(ApiNavigationConfigItemSchema4)
8742
+ items: z11.array(ApiNavigationConfigItemSchema4)
8622
8743
  }),
8623
- z10.object({ type: z10.literal("endpointId"), value: EndpointIdSchema2 }),
8624
- z10.object({ type: z10.literal("websocketId"), value: WebSocketIdSchema2 }),
8625
- z10.object({ type: z10.literal("webhookId"), value: WebhookIdSchema2 }),
8626
- z10.object({ type: z10.literal("page"), ...PageMetadataSchema2.shape })
8744
+ z11.object({ type: z11.literal("endpointId"), value: EndpointIdSchema2 }),
8745
+ z11.object({ type: z11.literal("websocketId"), value: WebSocketIdSchema2 }),
8746
+ z11.object({ type: z11.literal("webhookId"), value: WebhookIdSchema2 }),
8747
+ z11.object({ type: z11.literal("page"), ...PageMetadataSchema2.shape })
8627
8748
  ])
8628
8749
  );
8629
- var ApiNavigationConfigSubpackageSchema = z10.object({
8750
+ var ApiNavigationConfigSubpackageSchema = z11.object({
8630
8751
  summaryPageId: PageIdSchema2.optional(),
8631
8752
  subpackageId: SubpackageIdSchema2,
8632
- items: z10.array(ApiNavigationConfigItemSchema4)
8753
+ items: z11.array(ApiNavigationConfigItemSchema4)
8633
8754
  });
8634
- var ApiNavigationConfigRootSchema4 = z10.object({
8755
+ var ApiNavigationConfigRootSchema4 = z11.object({
8635
8756
  summaryPageId: PageIdSchema2.optional(),
8636
- items: z10.array(ApiNavigationConfigItemSchema4)
8757
+ items: z11.array(ApiNavigationConfigItemSchema4)
8637
8758
  });
8638
- var ApiSectionSchema2 = z10.object({
8759
+ var ApiSectionSchema2 = z11.object({
8639
8760
  ...NavigationNodeMetadataSchema2.shape,
8640
- title: z10.string(),
8761
+ title: z11.string(),
8641
8762
  api: ApiDefinitionIdSchema2,
8642
- artifacts: z10.object({
8643
- sdks: z10.array(
8644
- z10.discriminatedUnion("type", [
8645
- z10.object({
8646
- type: z10.literal("npm"),
8647
- packageName: z10.string(),
8648
- githubRepoName: z10.string(),
8649
- version: z10.string()
8763
+ artifacts: z11.object({
8764
+ sdks: z11.array(
8765
+ z11.discriminatedUnion("type", [
8766
+ z11.object({
8767
+ type: z11.literal("npm"),
8768
+ packageName: z11.string(),
8769
+ githubRepoName: z11.string(),
8770
+ version: z11.string()
8650
8771
  }),
8651
- z10.object({
8652
- type: z10.literal("maven"),
8653
- coordinate: z10.string(),
8654
- githubRepoName: z10.string(),
8655
- version: z10.string()
8772
+ z11.object({
8773
+ type: z11.literal("maven"),
8774
+ coordinate: z11.string(),
8775
+ githubRepoName: z11.string(),
8776
+ version: z11.string()
8656
8777
  }),
8657
- z10.object({
8658
- type: z10.literal("pypi"),
8659
- packageName: z10.string(),
8660
- githubRepoName: z10.string(),
8661
- version: z10.string()
8778
+ z11.object({
8779
+ type: z11.literal("pypi"),
8780
+ packageName: z11.string(),
8781
+ githubRepoName: z11.string(),
8782
+ version: z11.string()
8662
8783
  })
8663
8784
  ])
8664
8785
  ),
8665
- postman: z10.object({
8786
+ postman: z11.object({
8666
8787
  url: UrlSchema2,
8667
- githubRepoName: z10.string().optional()
8788
+ githubRepoName: z11.string().optional()
8668
8789
  }).optional()
8669
8790
  }).optional(),
8670
- skipUrlSlug: z10.boolean().optional(),
8671
- showErrors: z10.boolean().optional(),
8791
+ skipUrlSlug: z11.boolean().optional(),
8792
+ showErrors: z11.boolean().optional(),
8672
8793
  changelog: ChangelogSectionSchema2.optional(),
8673
8794
  changelogV2: ChangelogSectionV2Schema.optional(),
8674
8795
  navigation: ApiNavigationConfigRootSchema4.optional(),
8675
- longScrolling: z10.boolean().optional(),
8676
- flattened: z10.boolean().optional()
8796
+ longScrolling: z11.boolean().optional(),
8797
+ flattened: z11.boolean().optional()
8677
8798
  });
8678
- var ApiSectionV2Schema2 = z10.object({
8679
- node: z10.unknown()
8799
+ var ApiSectionV2Schema2 = z11.object({
8800
+ node: z11.unknown()
8680
8801
  });
8681
- var DocsSectionSchema2 = z10.lazy(
8682
- () => z10.object({
8802
+ var DocsSectionSchema2 = z11.lazy(
8803
+ () => z11.object({
8683
8804
  ...NavigationNodeMetadataSchema2.shape,
8684
- title: z10.string(),
8685
- items: z10.array(NavigationItemSchema2),
8686
- collapsed: z10.union([z10.boolean(), z10.literal("open-by-default")]).optional(),
8687
- collapsible: z10.boolean().optional(),
8688
- collapsedByDefault: z10.boolean().optional(),
8689
- skipUrlSlug: z10.boolean().optional(),
8805
+ title: z11.string(),
8806
+ items: z11.array(NavigationItemSchema2),
8807
+ collapsed: z11.union([z11.boolean(), z11.literal("open-by-default")]).optional(),
8808
+ collapsible: z11.boolean().optional(),
8809
+ collapsedByDefault: z11.boolean().optional(),
8810
+ skipUrlSlug: z11.boolean().optional(),
8690
8811
  overviewPageId: PageIdSchema2.optional()
8691
8812
  })
8692
8813
  );
8693
- var NavigationItemSchema2 = z10.lazy(
8694
- () => z10.discriminatedUnion("type", [
8695
- z10.object({ type: z10.literal("page"), ...PageMetadataSchema2.shape }),
8696
- z10.object({ type: z10.literal("api"), ...ApiSectionSchema2.shape }),
8697
- z10.object({ type: z10.literal("apiV2"), ...ApiSectionV2Schema2.shape }),
8698
- z10.object({
8699
- type: z10.literal("section"),
8814
+ var NavigationItemSchema2 = z11.lazy(
8815
+ () => z11.discriminatedUnion("type", [
8816
+ z11.object({ type: z11.literal("page"), ...PageMetadataSchema2.shape }),
8817
+ z11.object({ type: z11.literal("api"), ...ApiSectionSchema2.shape }),
8818
+ z11.object({ type: z11.literal("apiV2"), ...ApiSectionV2Schema2.shape }),
8819
+ z11.object({
8820
+ type: z11.literal("section"),
8700
8821
  ...NavigationNodeMetadataSchema2.shape,
8701
- title: z10.string(),
8702
- items: z10.array(NavigationItemSchema2),
8703
- collapsed: z10.union([z10.boolean(), z10.literal("open-by-default")]).optional(),
8704
- collapsible: z10.boolean().optional(),
8705
- collapsedByDefault: z10.boolean().optional(),
8706
- skipUrlSlug: z10.boolean().optional(),
8822
+ title: z11.string(),
8823
+ items: z11.array(NavigationItemSchema2),
8824
+ collapsed: z11.union([z11.boolean(), z11.literal("open-by-default")]).optional(),
8825
+ collapsible: z11.boolean().optional(),
8826
+ collapsedByDefault: z11.boolean().optional(),
8827
+ skipUrlSlug: z11.boolean().optional(),
8707
8828
  overviewPageId: PageIdSchema2.optional()
8708
8829
  }),
8709
- z10.object({ type: z10.literal("link"), ...LinkMetadataSchema2.shape }),
8710
- z10.object({ type: z10.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
8711
- z10.object({ type: z10.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
8830
+ z11.object({ type: z11.literal("link"), ...LinkMetadataSchema2.shape }),
8831
+ z11.object({ type: z11.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
8832
+ z11.object({ type: z11.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
8712
8833
  ])
8713
8834
  );
8714
- var NavigationTabGroupSchema2 = z10.object({
8835
+ var NavigationTabGroupSchema2 = z11.object({
8715
8836
  ...NavigationNodeMetadataSchema2.shape,
8716
- title: z10.string(),
8717
- items: z10.array(NavigationItemSchema2),
8718
- skipUrlSlug: z10.boolean().optional()
8719
- });
8720
- var NavigationTabSchema2 = z10.union([NavigationTabGroupSchema2, NavigationTabLinkSchema2]);
8721
- var NavigationTabV2Schema = z10.discriminatedUnion("type", [
8722
- z10.object({ type: z10.literal("group"), ...NavigationTabGroupSchema2.shape }),
8723
- z10.object({ type: z10.literal("link"), ...NavigationTabLinkSchema2.shape }),
8724
- z10.object({ type: z10.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
8725
- z10.object({ type: z10.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
8837
+ title: z11.string(),
8838
+ items: z11.array(NavigationItemSchema2),
8839
+ skipUrlSlug: z11.boolean().optional()
8840
+ });
8841
+ var NavigationTabSchema2 = z11.union([NavigationTabGroupSchema2, NavigationTabLinkSchema2]);
8842
+ var NavigationTabV2Schema = z11.discriminatedUnion("type", [
8843
+ z11.object({ type: z11.literal("group"), ...NavigationTabGroupSchema2.shape }),
8844
+ z11.object({ type: z11.literal("link"), ...NavigationTabLinkSchema2.shape }),
8845
+ z11.object({ type: z11.literal("changelog"), ...ChangelogSectionV2Schema.shape }),
8846
+ z11.object({ type: z11.literal("changelogV3"), ...ChangelogSectionV3Schema2.shape })
8726
8847
  ]);
8727
- var UnversionedTabbedNavigationConfigSchema2 = z10.object({
8728
- tabs: z10.array(NavigationTabSchema2).optional(),
8729
- tabsV2: z10.array(NavigationTabV2Schema).optional(),
8848
+ var UnversionedTabbedNavigationConfigSchema2 = z11.object({
8849
+ tabs: z11.array(NavigationTabSchema2).optional(),
8850
+ tabsV2: z11.array(NavigationTabV2Schema).optional(),
8730
8851
  landingPage: PageMetadataSchema2.optional()
8731
8852
  });
8732
- var UnversionedUntabbedNavigationConfigSchema2 = z10.object({
8733
- items: z10.array(NavigationItemSchema2),
8853
+ var UnversionedUntabbedNavigationConfigSchema2 = z11.object({
8854
+ items: z11.array(NavigationItemSchema2),
8734
8855
  landingPage: PageMetadataSchema2.optional()
8735
8856
  });
8736
- var UnversionedNavigationConfigSchema2 = z10.union([
8857
+ var UnversionedNavigationConfigSchema2 = z11.union([
8737
8858
  UnversionedTabbedNavigationConfigSchema2,
8738
8859
  UnversionedUntabbedNavigationConfigSchema2
8739
8860
  ]);
8740
- var VersionedNavigationConfigDataSchema2 = z10.object({
8861
+ var VersionedNavigationConfigDataSchema2 = z11.object({
8741
8862
  version: VersionIdSchema2,
8742
- urlSlugOverride: z10.string().optional(),
8863
+ urlSlugOverride: z11.string().optional(),
8743
8864
  availability: AvailabilitySchema2.optional(),
8744
8865
  config: UnversionedNavigationConfigSchema2
8745
8866
  });
8746
- var VersionedNavigationConfigSchema2 = z10.object({
8747
- versions: z10.array(VersionedNavigationConfigDataSchema2)
8867
+ var VersionedNavigationConfigSchema2 = z11.object({
8868
+ versions: z11.array(VersionedNavigationConfigDataSchema2)
8748
8869
  });
8749
- var NavigationConfigSchema2 = z10.union([UnversionedNavigationConfigSchema2, VersionedNavigationConfigSchema2]);
8750
- var ThemeConfigSchema2 = z10.object({
8870
+ var NavigationConfigSchema2 = z11.union([UnversionedNavigationConfigSchema2, VersionedNavigationConfigSchema2]);
8871
+ var ThemeConfigSchema2 = z11.object({
8751
8872
  logo: FileIdSchema2.optional(),
8752
8873
  backgroundImage: FileIdSchema2.optional(),
8753
8874
  accentPrimary: RgbaColorSchema,
@@ -8769,37 +8890,37 @@ var ThemeConfigSchema2 = z10.object({
8769
8890
  accent11: RgbaColorSchema.optional(),
8770
8891
  accent12: RgbaColorSchema.optional()
8771
8892
  });
8772
- var DarkAndLightModeConfigSchema2 = z10.object({
8893
+ var DarkAndLightModeConfigSchema2 = z11.object({
8773
8894
  dark: ThemeConfigSchema2,
8774
8895
  light: ThemeConfigSchema2
8775
8896
  });
8776
- var ColorsConfigV3Schema2 = z10.discriminatedUnion("type", [
8777
- z10.object({ type: z10.literal("dark"), ...ThemeConfigSchema2.shape }),
8778
- z10.object({ type: z10.literal("light"), ...ThemeConfigSchema2.shape }),
8779
- z10.object({ type: z10.literal("darkAndLight"), ...DarkAndLightModeConfigSchema2.shape })
8897
+ var ColorsConfigV3Schema2 = z11.discriminatedUnion("type", [
8898
+ z11.object({ type: z11.literal("dark"), ...ThemeConfigSchema2.shape }),
8899
+ z11.object({ type: z11.literal("light"), ...ThemeConfigSchema2.shape }),
8900
+ z11.object({ type: z11.literal("darkAndLight"), ...DarkAndLightModeConfigSchema2.shape })
8780
8901
  ]);
8781
- var DocsConfigSchema2 = z10.object({
8782
- title: z10.string().optional(),
8902
+ var DocsConfigSchema2 = z11.object({
8903
+ title: z11.string().optional(),
8783
8904
  defaultLanguage: ProgrammingLanguageSchema.optional(),
8784
- languages: z10.array(LanguageSchema).optional(),
8905
+ languages: z11.array(LanguageSchema).optional(),
8785
8906
  translations: DocsTranslationsConfigSchema.optional(),
8786
- announcement: z10.object({ text: z10.string() }).optional(),
8907
+ announcement: z11.object({ text: z11.string() }).optional(),
8787
8908
  navigation: NavigationConfigSchema2.optional(),
8788
- root: z10.custom().optional(),
8789
- navbarLinks: z10.array(NavbarLinkSchema).optional(),
8790
- footerLinks: z10.array(FooterLinkSchema).optional(),
8791
- hideNavLinks: z10.boolean().optional(),
8909
+ root: z11.custom().optional(),
8910
+ navbarLinks: z11.array(NavbarLinkSchema).optional(),
8911
+ footerLinks: z11.array(FooterLinkSchema).optional(),
8912
+ hideNavLinks: z11.boolean().optional(),
8792
8913
  logoHeight: HeightSchema2.optional(),
8793
8914
  logoHref: UrlSchema2.optional(),
8794
- logoRightText: z10.string().optional(),
8915
+ logoRightText: z11.string().optional(),
8795
8916
  favicon: FileIdSchema2.optional(),
8796
8917
  agents: AgentsConfigSchema.optional(),
8797
8918
  metadata: MetadataConfigSchema.optional(),
8798
- redirects: z10.array(RedirectConfigSchema).optional(),
8919
+ redirects: z11.array(RedirectConfigSchema).optional(),
8799
8920
  colorsV3: ColorsConfigV3Schema2.optional(),
8800
8921
  layout: DocsLayoutConfigSchema.optional(),
8801
8922
  theme: DocsThemeConfigSchema.optional(),
8802
- globalTheme: z10.string().optional(),
8923
+ globalTheme: z11.string().optional(),
8803
8924
  settings: DocsSettingsConfigSchema.optional(),
8804
8925
  typographyV2: DocsTypographyConfigV2Schema.optional(),
8805
8926
  analyticsConfig: AnalyticsConfigSchema.optional(),
@@ -8809,8 +8930,8 @@ var DocsConfigSchema2 = z10.object({
8809
8930
  aiChatConfig: AIChatConfigSchema.optional(),
8810
8931
  pageActions: PageActionsConfigSchema.optional(),
8811
8932
  editThisPageLaunch: EditThisPageLaunchSchema.optional(),
8812
- header: z10.string().optional(),
8813
- footer: z10.string().optional(),
8933
+ header: z11.string().optional(),
8934
+ footer: z11.string().optional(),
8814
8935
  backgroundImage: FileIdSchema2.optional(),
8815
8936
  logoV2: ThemedFileIdSchema.optional(),
8816
8937
  logo: FileIdSchema2.optional(),
@@ -8818,163 +8939,45 @@ var DocsConfigSchema2 = z10.object({
8818
8939
  colorsV2: ColorsConfigV2Schema.optional(),
8819
8940
  typography: DocsTypographyConfigSchema.optional()
8820
8941
  });
8821
- var DocsDefinitionSchema2 = z10.object({
8822
- pages: z10.record(PageIdSchema2, PageContentSchema2),
8942
+ var DocsDefinitionSchema2 = z11.object({
8943
+ pages: z11.record(PageIdSchema2, PageContentSchema2),
8823
8944
  config: DocsConfigSchema2,
8824
- jsFiles: z10.record(z10.string(), z10.string()).optional()
8825
- });
8826
- var NpmPackageSchema2 = z10.object({
8827
- packageName: z10.string(),
8828
- githubRepoName: z10.string(),
8829
- version: z10.string()
8830
- });
8831
- var MavenPackageSchema2 = z10.object({
8832
- coordinate: z10.string(),
8833
- githubRepoName: z10.string(),
8834
- version: z10.string()
8835
- });
8836
- var PypiPackageSchema2 = z10.object({
8837
- packageName: z10.string(),
8838
- githubRepoName: z10.string(),
8839
- version: z10.string()
8840
- });
8841
- var PublishedSdkSchema2 = z10.discriminatedUnion("type", [
8842
- z10.object({ type: z10.literal("npm"), ...NpmPackageSchema2.shape }),
8843
- z10.object({ type: z10.literal("maven"), ...MavenPackageSchema2.shape }),
8844
- z10.object({ type: z10.literal("pypi"), ...PypiPackageSchema2.shape })
8945
+ jsFiles: z11.record(z11.string(), z11.string()).optional()
8946
+ });
8947
+ var NpmPackageSchema2 = z11.object({
8948
+ packageName: z11.string(),
8949
+ githubRepoName: z11.string(),
8950
+ version: z11.string()
8951
+ });
8952
+ var MavenPackageSchema2 = z11.object({
8953
+ coordinate: z11.string(),
8954
+ githubRepoName: z11.string(),
8955
+ version: z11.string()
8956
+ });
8957
+ var PypiPackageSchema2 = z11.object({
8958
+ packageName: z11.string(),
8959
+ githubRepoName: z11.string(),
8960
+ version: z11.string()
8961
+ });
8962
+ var PublishedSdkSchema2 = z11.discriminatedUnion("type", [
8963
+ z11.object({ type: z11.literal("npm"), ...NpmPackageSchema2.shape }),
8964
+ z11.object({ type: z11.literal("maven"), ...MavenPackageSchema2.shape }),
8965
+ z11.object({ type: z11.literal("pypi"), ...PypiPackageSchema2.shape })
8845
8966
  ]);
8846
- var PublishedPostmanCollectionSchema2 = z10.object({
8967
+ var PublishedPostmanCollectionSchema2 = z11.object({
8847
8968
  url: UrlSchema2,
8848
- githubRepoName: z10.string().optional()
8969
+ githubRepoName: z11.string().optional()
8849
8970
  });
8850
- var ApiArtifactsSchema2 = z10.object({
8851
- sdks: z10.array(PublishedSdkSchema2),
8971
+ var ApiArtifactsSchema2 = z11.object({
8972
+ sdks: z11.array(PublishedSdkSchema2),
8852
8973
  postman: PublishedPostmanCollectionSchema2.optional()
8853
8974
  });
8854
- var InvalidCustomDomainErrorBodySchema = z10.object({
8855
- overlappingDomains: z10.array(z10.array(z10.string()))
8975
+ var InvalidCustomDomainErrorBodySchema = z11.object({
8976
+ overlappingDomains: z11.array(z11.array(z11.string()))
8856
8977
  });
8857
- var OverlappingCustomDomainsSchema = z10.array(z10.string());
8858
-
8859
- // src/orpc-client/docs/v2/read/contract.ts
8860
- var contract_exports = {};
8861
- __export(contract_exports, {
8862
- DocsDefinitionField: () => DocsDefinitionField,
8863
- DocsDomainItemSchema: () => DocsDomainItemSchema,
8864
- DocsReadConfigSchema: () => DocsConfigSchema,
8865
- DocsReadDefinitionSchema: () => DocsDefinitionSchema,
8866
- GetDocsConfigByIdInputSchema: () => GetDocsConfigByIdInputSchema,
8867
- GetDocsConfigByIdResponseSchema: () => GetDocsConfigByIdResponseSchema,
8868
- GetDocsForUrlInputSchema: () => GetDocsForUrlInputSchema,
8869
- GetDocsUrlMetadataInputSchema: () => GetDocsUrlMetadataInputSchema,
8870
- GetDocsUrlMetadataResponseSchema: () => GetDocsUrlMetadataResponseSchema,
8871
- GetPrivateDocsForUrlInputSchema: () => GetPrivateDocsForUrlInputSchema,
8872
- ListAllDocsUrlsInputSchema: () => ListAllDocsUrlsInputSchema,
8873
- ListAllDocsUrlsResponseSchema: () => ListAllDocsUrlsResponseSchema,
8874
- LoadDocsForUrlResponseSchema: () => LoadDocsForUrlResponseSchema,
8875
- docsV2ReadContract: () => docsV2ReadContract,
8876
- getDocsForUrl: () => getDocsForUrl
8877
- });
8878
- import { oc } from "@orpc/contract";
8879
- import * as z11 from "zod";
8880
- var GetDocsUrlMetadataInputSchema = z11.object({
8881
- url: z11.string()
8882
- });
8883
- var GetDocsUrlMetadataResponseSchema = z11.object({
8884
- isPreviewUrl: z11.boolean(),
8885
- org: z11.string(),
8886
- url: z11.string(),
8887
- gitUrl: z11.string().nullish(),
8888
- enableAlgoliaOnPreview: z11.boolean().nullish()
8889
- });
8890
- var GetDocsForUrlInputSchema = z11.object({
8891
- url: z11.string(),
8892
- excludeApis: z11.boolean().nullish()
8893
- });
8894
- var GetPrivateDocsForUrlInputSchema = z11.object({
8895
- url: z11.string()
8896
- });
8897
- var ListAllDocsUrlsInputSchema = z11.object({
8898
- limit: z11.number().nullish(),
8899
- page: z11.number().nullish(),
8900
- custom: z11.boolean().nullish(),
8901
- preview: z11.boolean().nullish()
8902
- });
8903
- var GetDocsConfigByIdInputSchema = z11.object({
8904
- docsConfigId: z11.string()
8905
- });
8906
- var DocsDefinitionField = {
8907
- BaseUrl: "BASE_URL",
8908
- FilesV2: "FILES_V2",
8909
- ApisV2: "APIS_V2",
8910
- Apis: "APIS",
8911
- Pages: "PAGES",
8912
- JsFiles: "JS_FILES",
8913
- Config: "CONFIG",
8914
- Root: "ROOT"
8915
- };
8916
- var GetDocsConfigByIdResponseSchema = z11.object({
8917
- docsConfig: DocsConfigSchema,
8918
- apis: z11.record(z11.string(), z11.unknown())
8919
- });
8920
- var DocsDomainItemSchema = z11.object({
8921
- domain: z11.string(),
8922
- basePath: z11.string().optional(),
8923
- organizationId: z11.string(),
8924
- updatedAt: z11.string()
8925
- });
8926
- var ListAllDocsUrlsResponseSchema = z11.object({
8927
- urls: z11.array(DocsDomainItemSchema)
8928
- });
8929
- var getDocsForUrl;
8930
- ((getDocsForUrl2) => {
8931
- let Error2;
8932
- ((Error3) => {
8933
- function _unknown(fetcherError) {
8934
- return { error: void 0, content: fetcherError };
8935
- }
8936
- Error3._unknown = _unknown;
8937
- })(Error2 = getDocsForUrl2.Error || (getDocsForUrl2.Error = {}));
8938
- })(getDocsForUrl || (getDocsForUrl = {}));
8939
- var docsV2ReadContract = {
8940
- getDocsUrlMetadata: oc.route({ method: "POST", path: "/metadata-for-url" }).input(GetDocsUrlMetadataInputSchema).output(GetDocsUrlMetadataResponseSchema),
8941
- getDocsForUrl: oc.route({ method: "POST", path: "/load-with-url" }).input(GetDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
8942
- getPrivateDocsForUrl: oc.route({ method: "POST", path: "/private/load-with-url" }).input(GetPrivateDocsForUrlInputSchema).output(LoadDocsForUrlResponseSchema),
8943
- listAllDocsUrls: oc.route({ method: "GET", path: "/urls/list" }).input(ListAllDocsUrlsInputSchema).output(ListAllDocsUrlsResponseSchema),
8944
- getDocsConfigById: oc.route({ method: "GET", path: "/{docsConfigId}" }).input(GetDocsConfigByIdInputSchema).output(GetDocsConfigByIdResponseSchema),
8945
- prepopulateFdrReadS3Bucket: oc.route({ method: "POST", path: "/prepopulate-s3-bucket" }).output(z11.void()),
8946
- ensureDocsInS3: oc.route({ method: "POST", path: "/ensure-docs-in-s3" }).output(z11.void()),
8947
- getDocsFields: oc.route({ method: "POST", path: "/load-fields" }).output(z11.void())
8948
- };
8978
+ var OverlappingCustomDomainsSchema = z11.array(z11.string());
8949
8979
 
8950
8980
  // src/orpc-client/docs/v2/write/contract.ts
8951
- var contract_exports2 = {};
8952
- __export(contract_exports2, {
8953
- AlgoliaDomainInputSchema: () => AlgoliaDomainInputSchema,
8954
- AuthConfigSchema: () => AuthConfigSchema,
8955
- Bcp47LocaleSchema: () => Bcp47LocaleSchema2,
8956
- DeleteDocsSiteInputSchema: () => DeleteDocsSiteInputSchema,
8957
- FilePath: () => FilePath2,
8958
- FilePathInputSchema: () => FilePathInputSchema,
8959
- FilePathSchema: () => FilePathSchema2,
8960
- FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
8961
- FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
8962
- ImageFilePathSchema: () => ImageFilePathSchema,
8963
- ListAlgoliaPreviewWhitelistResponseSchema: () => ListAlgoliaPreviewWhitelistResponseSchema,
8964
- RegisterTranslationInputSchema: () => RegisterTranslationInputSchema,
8965
- RegisterTranslationResponseSchema: () => RegisterTranslationResponseSchema,
8966
- RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
8967
- SetDocsUrlMetadataInputSchema: () => SetDocsUrlMetadataInputSchema,
8968
- SetIsArchivedInputSchema: () => SetIsArchivedInputSchema,
8969
- StartDocsPreviewRegisterInputSchema: () => StartDocsPreviewRegisterInputSchema,
8970
- StartDocsPreviewRegisterResponseSchema: () => StartDocsPreviewRegisterResponseSchema,
8971
- StartDocsRegisterV2InputSchema: () => StartDocsRegisterV2InputSchema,
8972
- StartDocsRegisterV2ResponseSchema: () => StartDocsRegisterV2ResponseSchema,
8973
- TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
8974
- docsV2WriteContract: () => docsV2WriteContract
8975
- });
8976
- import { oc as oc2 } from "@orpc/contract";
8977
- import * as z12 from "zod";
8978
8981
  var FilePathSchema2 = z12.string();
8979
8982
  function FilePath2(value) {
8980
8983
  return value;
@@ -11036,7 +11039,7 @@ var WithMetadataConfigSchema = z18.object({
11036
11039
  nofollow: z18.boolean().optional(),
11037
11040
  keywords: StringOrStringListSchema.optional()
11038
11041
  });
11039
- var LayoutSchema = z18.enum(["guide", "overview", "reference", "page", "custom"]);
11042
+ var LayoutSchema = z18.enum(["guide", "overview", "reference", "page", "custom", "classic", "timeline"]);
11040
11043
  var LogoConfigurationSchema = z18.object({
11041
11044
  light: FileIdOrUrlSchema.optional(),
11042
11045
  dark: FileIdOrUrlSchema.optional()