@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.
package/dist/js/index.js CHANGED
@@ -49738,6 +49738,17 @@ var UnlockDeployResponseSchema = z10.object({
49738
49738
  var GetDocsSitesByCollectionIdInputSchema = z10.object({
49739
49739
  collectionId: z10.string()
49740
49740
  });
49741
+ var FindSiteByOrgAndCollectionInputSchema = z10.object({
49742
+ orgId: z10.string(),
49743
+ postmanCollectionId: z10.string()
49744
+ });
49745
+ var FindSiteByOrgAndCollectionResponseSchema = z10.object({
49746
+ site: z10.object({
49747
+ domain: z10.string(),
49748
+ basepath: z10.string(),
49749
+ status: DocsDeploymentStatusSchema
49750
+ }).nullable()
49751
+ });
49741
49752
  var GetDocsSitesByCollectionIdResponseSchema = z10.object({
49742
49753
  sites: z10.array(
49743
49754
  z10.object({
@@ -49764,7 +49775,8 @@ var docsDeploymentContract = {
49764
49775
  getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
49765
49776
  unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
49766
49777
  getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
49767
- setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() }))
49778
+ setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() })),
49779
+ findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
49768
49780
  };
49769
49781
 
49770
49782
  // src/orpc-client/dashboard/contract.ts