@fern-api/fdr-sdk 1.2.5-c5fa3ac628 → 1.2.6-39676ee6ee

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.mjs CHANGED
@@ -49696,6 +49696,17 @@ var UnlockDeployResponseSchema = z10.object({
49696
49696
  var GetDocsSitesByCollectionIdInputSchema = z10.object({
49697
49697
  collectionId: z10.string()
49698
49698
  });
49699
+ var FindSiteByOrgAndCollectionInputSchema = z10.object({
49700
+ orgId: z10.string(),
49701
+ postmanCollectionId: z10.string()
49702
+ });
49703
+ var FindSiteByOrgAndCollectionResponseSchema = z10.object({
49704
+ site: z10.object({
49705
+ domain: z10.string(),
49706
+ basepath: z10.string(),
49707
+ status: DocsDeploymentStatusSchema
49708
+ }).nullable()
49709
+ });
49699
49710
  var GetDocsSitesByCollectionIdResponseSchema = z10.object({
49700
49711
  sites: z10.array(
49701
49712
  z10.object({
@@ -49722,7 +49733,8 @@ var docsDeploymentContract = {
49722
49733
  getPostmanCollectionId: oc4.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
49723
49734
  unlockDeploy: oc4.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
49724
49735
  getDocsSitesByCollectionId: oc4.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
49725
- setEditorRepoUrl: oc4.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() }))
49736
+ setEditorRepoUrl: oc4.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() })),
49737
+ findSiteByOrgAndCollection: oc4.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
49726
49738
  };
49727
49739
 
49728
49740
  // src/orpc-client/dashboard/contract.ts