@fern-api/fdr-sdk 1.2.111-abaf2a77c8 → 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.
@@ -4157,6 +4157,27 @@ var StartStaticBuildResponseSchema = z22.object({
4157
4157
  /** The host the build is exported to and served from, which may not be `domain`. */
4158
4158
  host: z22.string().optional()
4159
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
+ });
4160
4181
  var MigrateV2SiteSkipReasonSchema = z22.enum([
4161
4182
  "not-registered",
4162
4183
  "preview",
@@ -4800,7 +4821,8 @@ var docsLedgerContract = {
4800
4821
  finish: oc11.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
4801
4822
  archiveSite: oc11.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
4802
4823
  migrateV2Site: oc11.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
4803
- startStaticBuild: oc11.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
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)
4804
4826
  };
4805
4827
  var CurrentVersionInputSchema = z22.object({
4806
4828
  domain: z22.string(),
@@ -7118,6 +7140,8 @@ export {
7118
7140
  ReleaseTypeSchema,
7119
7141
  RemoveCustomDomainAliasInputSchema,
7120
7142
  RepositoryIdSchema,
7143
+ ResolveStaticServingHostInputSchema,
7144
+ ResolveStaticServingHostResponseSchema,
7121
7145
  ResolvedDateRangeSchema,
7122
7146
  RestProtocolSchema,
7123
7147
  RevokeTokenInputSchema,