@fern-api/fdr-sdk 1.2.151-5a387e850e → 1.2.151-6ecd5b84b9

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.
@@ -131,65 +131,39 @@ export declare const MigrateV2SiteInputSchema: z.ZodObject<{
131
131
  */
132
132
  export declare const StartStaticBuildInputSchema: z.ZodObject<{
133
133
  domain: z.ZodString;
134
- /** "" for a root site, otherwise a leading-slash basepath. Ignored when `path` is given. */
134
+ /** "" for a root site, otherwise a leading-slash basepath. */
135
135
  basepath: z.ZodDefault<z.ZodString>;
136
- /**
137
- * A request path on `domain`: the site to build is the one whose basepath the
138
- * path falls under (the longest match; the root site catches the rest). What
139
- * the docs-router sends, since it does not know which basepaths a host publishes.
140
- */
141
- path: z.ZodOptional<z.ZodString>;
142
- /**
143
- * `publish` (the default) waits for the Job and reports how it ended.
144
- * `background` returns as soon as the Job exists (`outcome: "queued"`): the
145
- * Job promotes itself when it succeeds. What the docs-router asks for when a
146
- * visitor reaches a preview that has no static build yet.
147
- */
148
- priority: z.ZodDefault<z.ZodEnum<["publish", "background"]>>;
149
136
  }, "strip", z.ZodTypeAny, {
150
137
  domain: string;
151
138
  basepath: string;
152
- priority: "background" | "publish";
153
- path?: string | undefined;
154
139
  }, {
155
140
  domain: string;
156
- path?: string | undefined;
157
141
  basepath?: string | undefined;
158
- priority?: "background" | "publish" | undefined;
159
142
  }>;
160
143
  export declare const StartStaticBuildResponseSchema: z.ZodObject<{
161
144
  /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
162
145
  status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
163
146
  domain: z.ZodString;
164
- /** The site built: the requested basepath, or the one `path` resolved to. */
165
147
  basepath: z.ZodString;
166
- /** Every basepath currently published at `domain` ("" is the root site). */
167
- basepaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
148
  /** The deployment being built, absent when the site has never published. */
169
149
  deploymentId: z.ZodOptional<z.ZodString>;
170
150
  jobName: z.ZodOptional<z.ZodString>;
171
151
  /** The host the build is exported to and served from, which may not be `domain`. */
172
152
  host: z.ZodOptional<z.ZodString>;
173
- /** How the Job ended, or `queued` for a `background` build nobody waited on. */
174
- outcome: z.ZodOptional<z.ZodEnum<["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]>>;
175
153
  }, "strip", z.ZodTypeAny, {
176
154
  status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
177
155
  domain: string;
178
156
  basepath: string;
179
157
  deploymentId?: string | undefined;
180
- basepaths?: string[] | undefined;
181
158
  jobName?: string | undefined;
182
159
  host?: string | undefined;
183
- outcome?: "succeeded" | "failed" | "timed-out" | "gone" | "unrouted" | "queued" | undefined;
184
160
  }, {
185
161
  status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
186
162
  domain: string;
187
163
  basepath: string;
188
164
  deploymentId?: string | undefined;
189
- basepaths?: string[] | undefined;
190
165
  jobName?: string | undefined;
191
166
  host?: string | undefined;
192
- outcome?: "succeeded" | "failed" | "timed-out" | "gone" | "unrouted" | "queued" | undefined;
193
167
  }>;
194
168
  /**
195
169
  * Input for `POST /static-build/rebuild-all`: rebuild every production static
@@ -58056,64 +58030,38 @@ export declare const docsLedgerContract: {
58056
58030
  }>]>, Record<never, never>, Record<never, never>>;
58057
58031
  startStaticBuild: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
58058
58032
  domain: z.ZodString;
58059
- /** "" for a root site, otherwise a leading-slash basepath. Ignored when `path` is given. */
58033
+ /** "" for a root site, otherwise a leading-slash basepath. */
58060
58034
  basepath: z.ZodDefault<z.ZodString>;
58061
- /**
58062
- * A request path on `domain`: the site to build is the one whose basepath the
58063
- * path falls under (the longest match; the root site catches the rest). What
58064
- * the docs-router sends, since it does not know which basepaths a host publishes.
58065
- */
58066
- path: z.ZodOptional<z.ZodString>;
58067
- /**
58068
- * `publish` (the default) waits for the Job and reports how it ended.
58069
- * `background` returns as soon as the Job exists (`outcome: "queued"`): the
58070
- * Job promotes itself when it succeeds. What the docs-router asks for when a
58071
- * visitor reaches a preview that has no static build yet.
58072
- */
58073
- priority: z.ZodDefault<z.ZodEnum<["publish", "background"]>>;
58074
58035
  }, "strip", z.ZodTypeAny, {
58075
58036
  domain: string;
58076
58037
  basepath: string;
58077
- priority: "background" | "publish";
58078
- path?: string | undefined;
58079
58038
  }, {
58080
58039
  domain: string;
58081
- path?: string | undefined;
58082
58040
  basepath?: string | undefined;
58083
- priority?: "background" | "publish" | undefined;
58084
58041
  }>, z.ZodObject<{
58085
58042
  /** Mirrors the dispatcher's own outcomes, plus the sites it can't resolve. */
58086
58043
  status: z.ZodEnum<["created", "already-running", "host-not-enabled", "disabled", "not-published"]>;
58087
58044
  domain: z.ZodString;
58088
- /** The site built: the requested basepath, or the one `path` resolved to. */
58089
58045
  basepath: z.ZodString;
58090
- /** Every basepath currently published at `domain` ("" is the root site). */
58091
- basepaths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58092
58046
  /** The deployment being built, absent when the site has never published. */
58093
58047
  deploymentId: z.ZodOptional<z.ZodString>;
58094
58048
  jobName: z.ZodOptional<z.ZodString>;
58095
58049
  /** The host the build is exported to and served from, which may not be `domain`. */
58096
58050
  host: z.ZodOptional<z.ZodString>;
58097
- /** How the Job ended, or `queued` for a `background` build nobody waited on. */
58098
- outcome: z.ZodOptional<z.ZodEnum<["succeeded", "failed", "timed-out", "gone", "unrouted", "queued"]>>;
58099
58051
  }, "strip", z.ZodTypeAny, {
58100
58052
  status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
58101
58053
  domain: string;
58102
58054
  basepath: string;
58103
58055
  deploymentId?: string | undefined;
58104
- basepaths?: string[] | undefined;
58105
58056
  jobName?: string | undefined;
58106
58057
  host?: string | undefined;
58107
- outcome?: "succeeded" | "failed" | "timed-out" | "gone" | "unrouted" | "queued" | undefined;
58108
58058
  }, {
58109
58059
  status: "created" | "already-running" | "host-not-enabled" | "disabled" | "not-published";
58110
58060
  domain: string;
58111
58061
  basepath: string;
58112
58062
  deploymentId?: string | undefined;
58113
- basepaths?: string[] | undefined;
58114
58063
  jobName?: string | undefined;
58115
58064
  host?: string | undefined;
58116
- outcome?: "succeeded" | "failed" | "timed-out" | "gone" | "unrouted" | "queued" | undefined;
58117
58065
  }>, Record<never, never>, Record<never, never>>;
58118
58066
  rebuildAllStaticBuilds: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
58119
58067
  /** Resolve and report the sites without dispatching any build. */