@fern-api/fdr-sdk 1.2.5-fa40a467d7 → 1.2.6-d82da730a6

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.
@@ -1836,6 +1836,17 @@ var UnlockDeployResponseSchema = z7.object({
1836
1836
  var GetDocsSitesByCollectionIdInputSchema = z7.object({
1837
1837
  collectionId: z7.string()
1838
1838
  });
1839
+ var FindSiteByOrgAndCollectionInputSchema = z7.object({
1840
+ orgId: z7.string(),
1841
+ postmanCollectionId: z7.string()
1842
+ });
1843
+ var FindSiteByOrgAndCollectionResponseSchema = z7.object({
1844
+ site: z7.object({
1845
+ domain: z7.string(),
1846
+ basepath: z7.string(),
1847
+ status: DocsDeploymentStatusSchema
1848
+ }).nullable()
1849
+ });
1839
1850
  var GetDocsSitesByCollectionIdResponseSchema = z7.object({
1840
1851
  sites: z7.array(
1841
1852
  z7.object({
@@ -1862,7 +1873,8 @@ var docsDeploymentContract = {
1862
1873
  getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
1863
1874
  unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
1864
1875
  getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
1865
- setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() }))
1876
+ setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z7.object({ success: z7.boolean() })),
1877
+ findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
1866
1878
  };
1867
1879
 
1868
1880
  // src/orpc-client/dashboard/contract.ts