@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.
package/dist/js/index.mjs CHANGED
@@ -49575,6 +49575,7 @@ var DocsSiteSchema = z10.object({
49575
49575
  basepath: z10.string(),
49576
49576
  previewUrl: z10.string().nullish(),
49577
49577
  postmanCollectionId: z10.string().nullish(),
49578
+ editorRepoUrl: z10.string().nullish(),
49578
49579
  status: DocsDeploymentStatusSchema,
49579
49580
  createdAt: z10.string(),
49580
49581
  updatedAt: z10.string()
@@ -49597,7 +49598,8 @@ var RegisterDocsSiteInputSchema = z10.object({
49597
49598
  orgId: z10.string(),
49598
49599
  basepath: z10.string().nullish(),
49599
49600
  previewUrl: z10.string().nullish(),
49600
- postmanCollectionId: z10.string().nullish()
49601
+ postmanCollectionId: z10.string().nullish(),
49602
+ editorRepoUrl: z10.string().nullish()
49601
49603
  });
49602
49604
  var GetPostmanCollectionIdInputSchema = z10.object({
49603
49605
  orgId: z10.string(),
@@ -49672,6 +49674,12 @@ var GetDocsSitesByCollectionIdResponseSchema = z10.object({
49672
49674
  })
49673
49675
  )
49674
49676
  });
49677
+ var SetEditorRepoUrlInputSchema = z10.object({
49678
+ orgId: z10.string(),
49679
+ domain: z10.string(),
49680
+ basepath: z10.string().nullish(),
49681
+ editorRepoUrl: z10.string().nullable()
49682
+ });
49675
49683
  var docsDeploymentContract = {
49676
49684
  registerDocsSite: oc4.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
49677
49685
  getDocsStatus: oc4.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
@@ -49681,7 +49689,8 @@ var docsDeploymentContract = {
49681
49689
  getDocsDeployments: oc4.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
49682
49690
  getPostmanCollectionId: oc4.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
49683
49691
  unlockDeploy: oc4.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
49684
- getDocsSitesByCollectionId: oc4.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema)
49692
+ getDocsSitesByCollectionId: oc4.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
49693
+ setEditorRepoUrl: oc4.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() }))
49685
49694
  };
49686
49695
 
49687
49696
  // src/orpc-client/dashboard/contract.ts