@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.js CHANGED
@@ -49617,6 +49617,7 @@ var DocsSiteSchema = z10.object({
49617
49617
  basepath: z10.string(),
49618
49618
  previewUrl: z10.string().nullish(),
49619
49619
  postmanCollectionId: z10.string().nullish(),
49620
+ editorRepoUrl: z10.string().nullish(),
49620
49621
  status: DocsDeploymentStatusSchema,
49621
49622
  createdAt: z10.string(),
49622
49623
  updatedAt: z10.string()
@@ -49639,7 +49640,8 @@ var RegisterDocsSiteInputSchema = z10.object({
49639
49640
  orgId: z10.string(),
49640
49641
  basepath: z10.string().nullish(),
49641
49642
  previewUrl: z10.string().nullish(),
49642
- postmanCollectionId: z10.string().nullish()
49643
+ postmanCollectionId: z10.string().nullish(),
49644
+ editorRepoUrl: z10.string().nullish()
49643
49645
  });
49644
49646
  var GetPostmanCollectionIdInputSchema = z10.object({
49645
49647
  orgId: z10.string(),
@@ -49714,6 +49716,12 @@ var GetDocsSitesByCollectionIdResponseSchema = z10.object({
49714
49716
  })
49715
49717
  )
49716
49718
  });
49719
+ var SetEditorRepoUrlInputSchema = z10.object({
49720
+ orgId: z10.string(),
49721
+ domain: z10.string(),
49722
+ basepath: z10.string().nullish(),
49723
+ editorRepoUrl: z10.string().nullable()
49724
+ });
49717
49725
  var docsDeploymentContract = {
49718
49726
  registerDocsSite: import_contract2.oc.route({ method: "POST", path: "/register" }).input(RegisterDocsSiteInputSchema).output(DocsSiteSchema),
49719
49727
  getDocsStatus: import_contract2.oc.route({ method: "GET", path: "/status" }).input(GetDocsStatusInputSchema).output(GetDocsStatusResponseSchema),
@@ -49723,7 +49731,8 @@ var docsDeploymentContract = {
49723
49731
  getDocsDeployments: import_contract2.oc.route({ method: "GET", path: "/deployments" }).input(GetDocsDeploymentsInputSchema).output(GetDocsDeploymentsResponseSchema),
49724
49732
  getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
49725
49733
  unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
49726
- getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema)
49734
+ getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
49735
+ setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z10.object({ success: z10.boolean() }))
49727
49736
  };
49728
49737
 
49729
49738
  // src/orpc-client/dashboard/contract.ts