@aventurevc/api-schemas 0.8.307 → 0.8.309
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.
- package/dist/lookup/job.d.ts +4 -0
- package/dist/lookup/job.js +2 -0
- package/package.json +1 -1
package/dist/lookup/job.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
3
3
|
createdAt: z.ZodISODateTime;
|
|
4
|
+
failureDisposition: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
TERMINAL: "TERMINAL";
|
|
6
|
+
TRANSIENT: "TRANSIENT";
|
|
7
|
+
}>>>;
|
|
4
8
|
failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
9
|
identification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
10
|
acceptedOwner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
package/dist/lookup/job.js
CHANGED
|
@@ -9,6 +9,8 @@ import { NewsSchema } from "../news/news.js";
|
|
|
9
9
|
const LookupJobSchemaDefinition = z.object({
|
|
10
10
|
/** When the job was requested. */
|
|
11
11
|
createdAt: z.iso.datetime({ offset: true }),
|
|
12
|
+
/** Whether retrying the failed lookup can succeed: TERMINAL when the job judged the failure not transient, TRANSIENT when a transient failure exhausted or lacked its retry budget; absent unless state is FAILED and the job recorded that decision. */
|
|
13
|
+
failureDisposition: z.enum(["TRANSIENT", "TERMINAL"]).nullish(),
|
|
12
14
|
/** Why the job failed; absent unless state is FAILED. */
|
|
13
15
|
failureReason: z.string().nullish(),
|
|
14
16
|
/** Subject jobs only: once COMPLETED, the identification returned for source.subject by POST /v1/lookup (kind in the JSON body), including requested filing and source-claim outcomes; absent otherwise. */
|