@fern-api/fdr-sdk 1.2.5-fa40a467d7 → 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.
@@ -2005,6 +2005,17 @@ var UnlockDeployResponseSchema = z8.object({
2005
2005
  var GetDocsSitesByCollectionIdInputSchema = z8.object({
2006
2006
  collectionId: z8.string()
2007
2007
  });
2008
+ var FindSiteByOrgAndCollectionInputSchema = z8.object({
2009
+ orgId: z8.string(),
2010
+ postmanCollectionId: z8.string()
2011
+ });
2012
+ var FindSiteByOrgAndCollectionResponseSchema = z8.object({
2013
+ site: z8.object({
2014
+ domain: z8.string(),
2015
+ basepath: z8.string(),
2016
+ status: DocsDeploymentStatusSchema
2017
+ }).nullable()
2018
+ });
2008
2019
  var GetDocsSitesByCollectionIdResponseSchema = z8.object({
2009
2020
  sites: z8.array(
2010
2021
  z8.object({
@@ -2031,7 +2042,8 @@ var docsDeploymentContract = {
2031
2042
  getPostmanCollectionId: oc2.route({ method: "GET", path: "/postman-collection-id" }).input(GetPostmanCollectionIdInputSchema).output(GetPostmanCollectionIdResponseSchema),
2032
2043
  unlockDeploy: oc2.route({ method: "POST", path: "/unlock" }).input(UnlockDeployInputSchema).output(UnlockDeployResponseSchema),
2033
2044
  getDocsSitesByCollectionId: oc2.route({ method: "GET", path: "/sites-by-collection-id" }).input(GetDocsSitesByCollectionIdInputSchema).output(GetDocsSitesByCollectionIdResponseSchema),
2034
- setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() }))
2045
+ setEditorRepoUrl: oc2.route({ method: "PUT", path: "/editor-repo-url" }).input(SetEditorRepoUrlInputSchema).output(z8.object({ success: z8.boolean() })),
2046
+ findSiteByOrgAndCollection: oc2.route({ method: "GET", path: "/site-by-org-and-collection" }).input(FindSiteByOrgAndCollectionInputSchema).output(FindSiteByOrgAndCollectionResponseSchema)
2035
2047
  };
2036
2048
 
2037
2049
  // src/orpc-client/dashboard/contract.ts
@@ -4633,6 +4645,8 @@ export {
4633
4645
  FileResponseSchema,
4634
4646
  FileS3UploadUrlSchema,
4635
4647
  FilenameWithDataSchema,
4648
+ FindSiteByOrgAndCollectionInputSchema,
4649
+ FindSiteByOrgAndCollectionResponseSchema,
4636
4650
  FinishDocsRegisterV1InputSchema,
4637
4651
  FinishDocsRegisterV2InputSchema,
4638
4652
  FormDataBodyPropertySchema,