@fern-api/fdr-sdk 1.2.111-cfdc56c4fc → 1.2.112-abaf2a77c8

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
@@ -9726,6 +9726,22 @@ var MigrateV2SiteInputSchema = z21.object({
9726
9726
  /** Convert again after a manual rollback left the row on a superseded ledger deployment. */
9727
9727
  allowRemigration: z21.boolean().default(false)
9728
9728
  });
9729
+ var StartStaticBuildInputSchema = z21.object({
9730
+ domain: z21.string().min(1),
9731
+ /** "" for a root site, otherwise a leading-slash basepath. */
9732
+ basepath: z21.string().default("")
9733
+ });
9734
+ var StartStaticBuildResponseSchema = z21.object({
9735
+ /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
9736
+ status: z21.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
9737
+ domain: z21.string(),
9738
+ basepath: z21.string(),
9739
+ /** The deployment being built, absent when the site has never published. */
9740
+ deploymentId: z21.string().optional(),
9741
+ jobName: z21.string().optional(),
9742
+ /** The host the build is exported to and served from, which may not be `domain`. */
9743
+ host: z21.string().optional()
9744
+ });
9729
9745
  var MigrateV2SiteSkipReasonSchema = z21.enum([
9730
9746
  "not-registered",
9731
9747
  "preview",
@@ -10368,7 +10384,8 @@ var docsLedgerContract = {
10368
10384
  previewRegister: import_contract21.oc.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
10369
10385
  finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
10370
10386
  archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
10371
- migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
10387
+ migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
10388
+ startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
10372
10389
  };
10373
10390
  var CurrentVersionInputSchema = z21.object({
10374
10391
  domain: z21.string(),