@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.
@@ -140,6 +140,8 @@ __export(orpc_client_exports, {
140
140
  FileResponseSchema: () => FileResponseSchema,
141
141
  FileS3UploadUrlSchema: () => FileS3UploadUrlSchema,
142
142
  FilenameWithDataSchema: () => FilenameWithDataSchema,
143
+ FindSiteByOrgAndCollectionInputSchema: () => FindSiteByOrgAndCollectionInputSchema,
144
+ FindSiteByOrgAndCollectionResponseSchema: () => FindSiteByOrgAndCollectionResponseSchema,
143
145
  FinishDocsRegisterV1InputSchema: () => FinishDocsRegisterV1InputSchema,
144
146
  FinishDocsRegisterV2InputSchema: () => FinishDocsRegisterV2InputSchema,
145
147
  FormDataBodyPropertySchema: () => FormDataBodyPropertySchema,
@@ -2542,6 +2544,17 @@ var UnlockDeployResponseSchema = z8.object({
2542
2544
  var GetDocsSitesByCollectionIdInputSchema = z8.object({
2543
2545
  collectionId: z8.string()
2544
2546
  });
2547
+ var FindSiteByOrgAndCollectionInputSchema = z8.object({
2548
+ orgId: z8.string(),
2549
+ postmanCollectionId: z8.string()
2550
+ });
2551
+ var FindSiteByOrgAndCollectionResponseSchema = z8.object({
2552
+ site: z8.object({
2553
+ domain: z8.string(),
2554
+ basepath: z8.string(),
2555
+ status: DocsDeploymentStatusSchema
2556
+ }).nullable()
2557
+ });
2545
2558
  var GetDocsSitesByCollectionIdResponseSchema = z8.object({
2546
2559
  sites: z8.array(
2547
2560
  z8.object({
@@ -2568,7 +2581,8 @@ var docsDeploymentContract = {
2568
2581
  getPostmanCollectionId: import_contract2.oc.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
2569
2582
  unlockDeploy: import_contract2.oc.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
2570
2583
  getDocsSitesByCollectionId: import_contract2.oc.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
2571
- setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() }))
2584
+ setEditorRepoUrl: import_contract2.oc.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() })),
2585
+ findSiteByOrgAndCollection: import_contract2.oc.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
2572
2586
  };
2573
2587
 
2574
2588
  // src/orpc-client/dashboard/contract.ts
@@ -5171,6 +5185,8 @@ var UpsertThemeBodySchema = z31.object({
5171
5185
  FileResponseSchema,
5172
5186
  FileS3UploadUrlSchema,
5173
5187
  FilenameWithDataSchema,
5188
+ FindSiteByOrgAndCollectionInputSchema,
5189
+ FindSiteByOrgAndCollectionResponseSchema,
5174
5190
  FinishDocsRegisterV1InputSchema,
5175
5191
  FinishDocsRegisterV2InputSchema,
5176
5192
  FormDataBodyPropertySchema,