@fern-api/fdr-sdk 1.2.5-fa40a467d7 → 1.2.6-06e8eb5e7d

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.
@@ -1799,6 +1799,17 @@ var UnlockDeployResponseSchema = z7.object({
1799
1799
  var GetDocsSitesByCollectionIdInputSchema = z7.object({
1800
1800
  collectionId: z7.string()
1801
1801
  });
1802
+ var FindSiteByOrgAndCollectionInputSchema = z7.object({
1803
+ orgId: z7.string(),
1804
+ postmanCollectionId: z7.string()
1805
+ });
1806
+ var FindSiteByOrgAndCollectionResponseSchema = z7.object({
1807
+ site: z7.object({
1808
+ domain: z7.string(),
1809
+ basepath: z7.string(),
1810
+ status: DocsDeploymentStatusSchema
1811
+ }).nullable()
1812
+ });
1802
1813
  var GetDocsSitesByCollectionIdResponseSchema = z7.object({
1803
1814
  sites: z7.array(
1804
1815
  z7.object({
@@ -1825,7 +1836,8 @@ var docsDeploymentContract = {
1825
1836
  getPostmanCollectionId: oc2.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
1826
1837
  unlockDeploy: oc2.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
1827
1838
  getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
1828
- setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() }))
1839
+ setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() })),
1840
+ findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
1829
1841
  };
1830
1842
 
1831
1843
  // src/orpc-client/dashboard/contract.ts