@aventurevc/api-schemas 0.8.473 → 0.8.475

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.
@@ -159,6 +159,7 @@ export declare const IdentificationSchema: z.ZodObject<{
159
159
  jobId: z.ZodUUID;
160
160
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
161
161
  mode: z.ZodString;
162
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
163
  statusUrl: z.ZodString;
163
164
  }, z.core.$strip>>>;
164
165
  filingRefusal: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
@@ -25,6 +25,7 @@ export declare const JobEnqueueSchema: z.ZodObject<{
25
25
  jobId: z.ZodUUID;
26
26
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  mode: z.ZodString;
28
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
29
  statusUrl: z.ZodString;
29
30
  }, z.core.$strip>;
30
31
  export type JobEnqueue = z.infer<typeof JobEnqueueSchema>;
@@ -28,6 +28,8 @@ export const JobEnqueueSchema = z.object({
28
28
  /** Longest the accepted background write may run, in seconds, so a caller knows how long to keep polling `statusUrl`; absent on jobs that state no runtime. */
29
29
  maxRuntimeSeconds: z.number().int().nullish(),
30
30
  mode: z.string(),
31
+ /** Present only when the requester is enrolled for a Notifications alert when this job finishes; tells them they can leave the page. */
32
+ notificationMessage: z.string().nullish(),
31
33
  /** Endpoint to poll for asynchronous job state and result. */
32
34
  statusUrl: z.string(),
33
35
  });
@@ -1955,6 +1955,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1955
1955
  jobId: z.ZodUUID;
1956
1956
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1957
1957
  mode: z.ZodString;
1958
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1958
1959
  statusUrl: z.ZodString;
1959
1960
  }, z.core.$strip>>>;
1960
1961
  filingRefusal: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
@@ -154,6 +154,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
154
154
  jobId: z.ZodUUID;
155
155
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
156
156
  mode: z.ZodString;
157
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
158
  statusUrl: z.ZodString;
158
159
  }, z.core.$strip>>>;
159
160
  filingRefusal: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1298,6 +1299,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1298
1299
  jobId: string;
1299
1300
  maxRuntimeSeconds?: number | null | undefined;
1300
1301
  mode: string;
1302
+ notificationMessage?: string | null | undefined;
1301
1303
  statusUrl: string;
1302
1304
  } | null | undefined;
1303
1305
  filingRefusal?: string | null | undefined;
@@ -2458,6 +2460,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
2458
2460
  jobId: string;
2459
2461
  maxRuntimeSeconds?: number | null | undefined;
2460
2462
  mode: string;
2463
+ notificationMessage?: string | null | undefined;
2461
2464
  statusUrl: string;
2462
2465
  } | null | undefined;
2463
2466
  filingRefusal?: string | null | undefined;
@@ -2787,6 +2790,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
2787
2790
  jobId: z.ZodUUID;
2788
2791
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2789
2792
  mode: z.ZodString;
2793
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2790
2794
  statusUrl: z.ZodString;
2791
2795
  }, z.core.$strip>>>;
2792
2796
  faviconUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16,6 +16,7 @@ export declare const LookupSourceReadSchema: z.ZodObject<{
16
16
  jobId: z.ZodUUID;
17
17
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  mode: z.ZodString;
19
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
20
  statusUrl: z.ZodString;
20
21
  }, z.core.$strip>>>;
21
22
  faviconUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5,6 +5,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
5
5
  jobId: z.ZodUUID;
6
6
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7
7
  mode: z.ZodString;
8
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
9
  statusUrl: z.ZodString;
9
10
  }, z.core.$strip>>>;
10
11
  mention: z.ZodArray<z.ZodType<{
@@ -1042,6 +1043,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1042
1043
  jobId: string;
1043
1044
  maxRuntimeSeconds?: number | null | undefined;
1044
1045
  mode: string;
1046
+ notificationMessage?: string | null | undefined;
1045
1047
  statusUrl: string;
1046
1048
  } | null | undefined;
1047
1049
  filingRefusal?: string | null | undefined;
@@ -2202,6 +2204,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
2202
2204
  jobId: string;
2203
2205
  maxRuntimeSeconds?: number | null | undefined;
2204
2206
  mode: string;
2207
+ notificationMessage?: string | null | undefined;
2205
2208
  statusUrl: string;
2206
2209
  } | null | undefined;
2207
2210
  filingRefusal?: string | null | undefined;
@@ -2397,6 +2400,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
2397
2400
  jobId: z.ZodUUID;
2398
2401
  maxRuntimeSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2399
2402
  mode: z.ZodString;
2403
+ notificationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2400
2404
  statusUrl: z.ZodString;
2401
2405
  }, z.core.$strip>>>;
2402
2406
  faviconUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.473",
3
+ "version": "0.8.475",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",