@fern-api/fdr-sdk 1.2.2-be0d74d1a9 → 1.2.2-ff12a55fa2

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.
@@ -1708,6 +1708,7 @@ var DocsSiteSchema = z7.object({
1708
1708
  basepath: z7.string(),
1709
1709
  previewUrl: z7.string().nullish(),
1710
1710
  postmanCollectionId: z7.string().nullish(),
1711
+ editorRepoUrl: z7.string().nullish(),
1711
1712
  status: DocsDeploymentStatusSchema,
1712
1713
  createdAt: z7.string(),
1713
1714
  updatedAt: z7.string()
@@ -1730,7 +1731,8 @@ var RegisterDocsSiteInputSchema = z7.object({
1730
1731
  orgId: z7.string(),
1731
1732
  basepath: z7.string().nullish(),
1732
1733
  previewUrl: z7.string().nullish(),
1733
- postmanCollectionId: z7.string().nullish()
1734
+ postmanCollectionId: z7.string().nullish(),
1735
+ editorRepoUrl: z7.string().nullish()
1734
1736
  });
1735
1737
  var GetPostmanCollectionIdInputSchema = z7.object({
1736
1738
  orgId: z7.string(),
@@ -1805,6 +1807,12 @@ var GetDocsSitesByCollectionIdResponseSchema = z7.object({
1805
1807
  })
1806
1808
  )
1807
1809
  });
1810
+ var SetEditorRepoUrlInputSchema = z7.object({
1811
+ orgId: z7.string(),
1812
+ domain: z7.string(),
1813
+ basepath: z7.string().nullish(),
1814
+ editorRepoUrl: z7.string().nullable()
1815
+ });
1808
1816
  var docsDeploymentContract = {
1809
1817
  registerDocsSite: oc2.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
1810
1818
  getDocsStatus: oc2.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
@@ -1814,7 +1822,8 @@ var docsDeploymentContract = {
1814
1822
  getDocsDeployments: oc2.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
1815
1823
  getPostmanCollectionId: oc2.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
1816
1824
  unlockDeploy: oc2.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
1817
- getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema)
1825
+ getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
1826
+ setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() }))
1818
1827
  };
1819
1828
 
1820
1829
  // src/orpc-client/dashboard/contract.ts