@fern-api/fdr-sdk 1.2.112-abaf2a77c8 → 1.2.113-47e5377045

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.
@@ -3928,6 +3928,27 @@ var StartStaticBuildResponseSchema = z21.object({
3928
3928
  /** The host the build is exported to and served from, which may not be `domain`. */
3929
3929
  host: z21.string().optional()
3930
3930
  });
3931
+ var ResolveStaticServingHostInputSchema = z21.object({
3932
+ domain: z21.string().min(1),
3933
+ /** "" for a root site, otherwise a leading-slash basepath. */
3934
+ basepath: z21.string().default("")
3935
+ });
3936
+ var ResolveStaticServingHostResponseSchema = z21.object({
3937
+ domain: z21.string(),
3938
+ basepath: z21.string(),
3939
+ /**
3940
+ * The hostname the static build is exported to and served from — always a
3941
+ * hostname Fern owns for a published site, even one on a customer's domain.
3942
+ */
3943
+ servingHost: z21.string(),
3944
+ /** False when nothing routes to the serving host, so cutting over would serve nothing. */
3945
+ routable: z21.boolean(),
3946
+ /**
3947
+ * The deployment the serving host was derived from; absent when the site
3948
+ * has never published, in which case only its own hostname was available.
3949
+ */
3950
+ deploymentId: z21.string().optional()
3951
+ });
3931
3952
  var MigrateV2SiteSkipReasonSchema = z21.enum([
3932
3953
  "not-registered",
3933
3954
  "preview",
@@ -4571,7 +4592,8 @@ var docsLedgerContract = {
4571
4592
  finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
4572
4593
  archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
4573
4594
  migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
4574
- startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
4595
+ startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
4596
+ resolveStaticServingHost: oc11.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
4575
4597
  };
4576
4598
  var CurrentVersionInputSchema = z21.object({
4577
4599
  domain: z21.string(),