@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.
@@ -527,6 +527,8 @@ __export(orpc_client_exports, {
527
527
  ReleaseTypeSchema: () => ReleaseTypeSchema,
528
528
  RemoveCustomDomainAliasInputSchema: () => RemoveCustomDomainAliasInputSchema,
529
529
  RepositoryIdSchema: () => RepositoryIdSchema,
530
+ ResolveStaticServingHostInputSchema: () => ResolveStaticServingHostInputSchema,
531
+ ResolveStaticServingHostResponseSchema: () => ResolveStaticServingHostResponseSchema,
530
532
  ResolvedDateRangeSchema: () => ResolvedDateRangeSchema,
531
533
  RestProtocolSchema: () => RestProtocolSchema,
532
534
  RevokeTokenInputSchema: () => RevokeTokenInputSchema,
@@ -4856,6 +4858,27 @@ var StartStaticBuildResponseSchema = z22.object({
4856
4858
  /** The host the build is exported to and served from, which may not be `domain`. */
4857
4859
  host: z22.string().optional()
4858
4860
  });
4861
+ var ResolveStaticServingHostInputSchema = z22.object({
4862
+ domain: z22.string().min(1),
4863
+ /** "" for a root site, otherwise a leading-slash basepath. */
4864
+ basepath: z22.string().default("")
4865
+ });
4866
+ var ResolveStaticServingHostResponseSchema = z22.object({
4867
+ domain: z22.string(),
4868
+ basepath: z22.string(),
4869
+ /**
4870
+ * The hostname the static build is exported to and served from — always a
4871
+ * hostname Fern owns for a published site, even one on a customer's domain.
4872
+ */
4873
+ servingHost: z22.string(),
4874
+ /** False when nothing routes to the serving host, so cutting over would serve nothing. */
4875
+ routable: z22.boolean(),
4876
+ /**
4877
+ * The deployment the serving host was derived from; absent when the site
4878
+ * has never published, in which case only its own hostname was available.
4879
+ */
4880
+ deploymentId: z22.string().optional()
4881
+ });
4859
4882
  var MigrateV2SiteSkipReasonSchema = z22.enum([
4860
4883
  "not-registered",
4861
4884
  "preview",
@@ -5499,7 +5522,8 @@ var docsLedgerContract = {
5499
5522
  finish: import_contract21.oc.route({ method: "POST", path: "/register/finish" }).input(DocsPublishInputSchema).output(FinishResponseSchema),
5500
5523
  archiveSite: import_contract21.oc.route({ method: "POST", path: "/archive" }).input(ArchiveSiteInputSchema).output(ArchiveSiteResponseSchema),
5501
5524
  migrateV2Site: import_contract21.oc.route({ method: "POST", path: "/migrate-v2" }).input(MigrateV2SiteInputSchema).output(MigrateV2SiteResponseSchema),
5502
- startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema)
5525
+ startStaticBuild: import_contract21.oc.route({ method: "POST", path: "/static-build" }).input(StartStaticBuildInputSchema).output(StartStaticBuildResponseSchema),
5526
+ resolveStaticServingHost: import_contract21.oc.route({ method: "POST", path: "/static-build/serving-host" }).input(ResolveStaticServingHostInputSchema).output(ResolveStaticServingHostResponseSchema)
5503
5527
  };
5504
5528
  var CurrentVersionInputSchema = z22.object({
5505
5529
  domain: z22.string(),
@@ -7818,6 +7842,8 @@ var UpsertThemeBodySchema = z37.object({
7818
7842
  ReleaseTypeSchema,
7819
7843
  RemoveCustomDomainAliasInputSchema,
7820
7844
  RepositoryIdSchema,
7845
+ ResolveStaticServingHostInputSchema,
7846
+ ResolveStaticServingHostResponseSchema,
7821
7847
  ResolvedDateRangeSchema,
7822
7848
  RestProtocolSchema,
7823
7849
  RevokeTokenInputSchema,