@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-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.
@@ -3912,6 +3912,43 @@ var MigrateV2SiteInputSchema = z21.object({
3912
3912
  /** Convert again after a manual rollback left the row on a superseded ledger deployment. */
3913
3913
  allowRemigration: z21.boolean().default(false)
3914
3914
  });
3915
+ var StartStaticBuildInputSchema = z21.object({
3916
+ domain: z21.string().min(1),
3917
+ /** "" for a root site, otherwise a leading-slash basepath. */
3918
+ basepath: z21.string().default("")
3919
+ });
3920
+ var StartStaticBuildResponseSchema = z21.object({
3921
+ /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
3922
+ status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
3923
+ domain: z21.string(),
3924
+ basepath: z21.string(),
3925
+ /** The deployment being built, absent when the site has never published. */
3926
+ deploymentId: z21.string().optional(),
3927
+ jobName: z21.string().optional(),
3928
+ /** The host the build is exported to and served from, which may not be `domain`. */
3929
+ host: z21.string().optional()
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
+ });
3915
3952
  var MigrateV2SiteSkipReasonSchema = z21.enum([
3916
3953
  "not-registered",
3917
3954
  "preview",
@@ -4554,7 +4591,9 @@ var docsLedgerContract = {
4554
4591
  previewRegister: oc11.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
4555
4592
  finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
4556
4593
  archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
4557
- migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
4594
+ migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
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)
4558
4597
  };
4559
4598
  var CurrentVersionInputSchema = z21.object({
4560
4599
  domain: z21.string(),