@fern-api/fdr-sdk 1.2.160-63bf3db50d → 1.2.160-f5e2c45a7d

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.
@@ -4042,7 +4042,12 @@ var RebuildAllStaticBuildsResponseSchema = z21.object({
4042
4042
  var ReindexInputSchema = z21.object({
4043
4043
  domain: z21.string().min(1),
4044
4044
  /** "" for a root site, otherwise a leading-slash basepath. */
4045
- basepath: z21.string().default("")
4045
+ basepath: z21.string().default(""),
4046
+ /**
4047
+ * Block until the Job terminates and report its `outcome`. `false` returns as
4048
+ * soon as the Job is launched, with `outcome: "queued"`.
4049
+ */
4050
+ wait: z21.boolean().default(true)
4046
4051
  });
4047
4052
  var ReindexResponseSchema = z21.object({
4048
4053
  /**
@@ -4056,7 +4061,7 @@ var ReindexResponseSchema = z21.object({
4056
4061
  /** The deployment reindexed, absent when the site has never published. */
4057
4062
  deploymentId: z21.string().optional(),
4058
4063
  jobName: z21.string().optional(),
4059
- /** The terminal Job outcome the endpoint waited for, when a Job ran. */
4064
+ /** The terminal Job outcome the endpoint waited for, or `queued` when called with `wait: false`. */
4060
4065
  outcome: z21.enum(["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]).optional()
4061
4066
  });
4062
4067
  var PromoteStaticBuildInputSchema = z21.object({