@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.
@@ -4141,6 +4141,43 @@ var MigrateV2SiteInputSchema = z22.object({
4141
4141
  /** Convert again after a manual rollback left the row on a superseded ledger deployment. */
4142
4142
  allowRemigration: z22.boolean().default(false)
4143
4143
  });
4144
+ var StartStaticBuildInputSchema = z22.object({
4145
+ domain: z22.string().min(1),
4146
+ /** "" for a root site, otherwise a leading-slash basepath. */
4147
+ basepath: z22.string().default("")
4148
+ });
4149
+ var StartStaticBuildResponseSchema = z22.object({
4150
+ /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
4151
+ status: z22.enum(["created", "already-running", "host-not-enabled", "disabled", "not-published"]),
4152
+ domain: z22.string(),
4153
+ basepath: z22.string(),
4154
+ /** The deployment being built, absent when the site has never published. */
4155
+ deploymentId: z22.string().optional(),
4156
+ jobName: z22.string().optional(),
4157
+ /** The host the build is exported to and served from, which may not be `domain`. */
4158
+ host: z22.string().optional()
4159
+ });
4160
+ var ResolveStaticServingHostInputSchema = z22.object({
4161
+ domain: z22.string().min(1),
4162
+ /** "" for a root site, otherwise a leading-slash basepath. */
4163
+ basepath: z22.string().default("")
4164
+ });
4165
+ var ResolveStaticServingHostResponseSchema = z22.object({
4166
+ domain: z22.string(),
4167
+ basepath: z22.string(),
4168
+ /**
4169
+ * The hostname the static build is exported to and served from — always a
4170
+ * hostname Fern owns for a published site, even one on a customer's domain.
4171
+ */
4172
+ servingHost: z22.string(),
4173
+ /** False when nothing routes to the serving host, so cutting over would serve nothing. */
4174
+ routable: z22.boolean(),
4175
+ /**
4176
+ * The deployment the serving host was derived from; absent when the site
4177
+ * has never published, in which case only its own hostname was available.
4178
+ */
4179
+ deploymentId: z22.string().optional()
4180
+ });
4144
4181
  var MigrateV2SiteSkipReasonSchema = z22.enum([
4145
4182
  "not-registered",
4146
4183
  "preview",
@@ -4783,7 +4820,9 @@ var docsLedgerContract = {
4783
4820
  previewRegister: oc11.route({ method: "POST", path: "/preview/init" }).input(LedgerPreviewRegisterInputSchema).output(LedgerPreviewRegisterResponseSchema),
4784
4821
  finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
4785
4822
  archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
4786
- migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema)
4823
+ migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
4824
+ startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
4825
+ resolveStaticServingHost: oc11.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
4787
4826
  };
4788
4827
  var CurrentVersionInputSchema = z22.object({
4789
4828
  domain: z22.string(),
@@ -7101,6 +7140,8 @@ export {
7101
7140
  ReleaseTypeSchema,
7102
7141
  RemoveCustomDomainAliasInputSchema,
7103
7142
  RepositoryIdSchema,
7143
+ ResolveStaticServingHostInputSchema,
7144
+ ResolveStaticServingHostResponseSchema,
7104
7145
  ResolvedDateRangeSchema,
7105
7146
  RestProtocolSchema,
7106
7147
  RevokeTokenInputSchema,
@@ -7145,6 +7186,8 @@ export {
7145
7186
  StartDocsRegisterV2ResponseSchema,
7146
7187
  StartLibraryDocsGenerationInputSchema,
7147
7188
  StartLibraryDocsGenerationResponseSchema,
7189
+ StartStaticBuildInputSchema,
7190
+ StartStaticBuildResponseSchema,
7148
7191
  StaticContentGroupBySchema,
7149
7192
  StaticContentTrafficInputSchema,
7150
7193
  StaticContentTrafficResponseSchema,