@opencrvs/toolkit 2.0.0-rc.18f6ed6 → 2.0.0-rc.198e4b0

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.
@@ -8,7 +8,7 @@ export declare const BaseActionInput: z.ZodObject<{
8
8
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9
9
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
10
10
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
11
- waitFor: z.ZodOptional<z.ZodBoolean>;
11
+ waitFor: z.ZodDefault<z.ZodBoolean>;
12
12
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
13
13
  }, z.core.$strip>;
14
14
  export declare const RegisterActionInput: z.ZodObject<{
@@ -20,7 +20,7 @@ export declare const RegisterActionInput: z.ZodObject<{
20
20
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
21
21
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
22
22
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
23
- waitFor: z.ZodOptional<z.ZodBoolean>;
23
+ waitFor: z.ZodDefault<z.ZodBoolean>;
24
24
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
25
25
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
26
26
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -35,7 +35,7 @@ export declare const NotifyActionInput: z.ZodObject<{
35
35
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
36
36
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
37
37
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
38
- waitFor: z.ZodOptional<z.ZodBoolean>;
38
+ waitFor: z.ZodDefault<z.ZodBoolean>;
39
39
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
40
40
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
41
41
  }, z.core.$strip>;
@@ -49,7 +49,7 @@ export declare const DeclareActionInput: z.ZodObject<{
49
49
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
50
50
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
51
51
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
52
- waitFor: z.ZodOptional<z.ZodBoolean>;
52
+ waitFor: z.ZodDefault<z.ZodBoolean>;
53
53
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
54
54
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
55
55
  }, z.core.$strip>;
@@ -62,7 +62,7 @@ export declare const EditActionInput: z.ZodObject<{
62
62
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
63
63
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
64
64
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
65
- waitFor: z.ZodOptional<z.ZodBoolean>;
65
+ waitFor: z.ZodDefault<z.ZodBoolean>;
66
66
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
67
67
  type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
68
68
  content: z.ZodObject<{
@@ -79,7 +79,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<{
79
79
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
80
80
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
81
81
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
82
- waitFor: z.ZodOptional<z.ZodBoolean>;
82
+ waitFor: z.ZodDefault<z.ZodBoolean>;
83
83
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
84
84
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
85
85
  content: z.ZodOptional<z.ZodObject<{
@@ -96,7 +96,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<{
96
96
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
97
97
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
98
98
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
99
- waitFor: z.ZodOptional<z.ZodBoolean>;
99
+ waitFor: z.ZodDefault<z.ZodBoolean>;
100
100
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
101
101
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
102
102
  content: z.ZodObject<{
@@ -113,7 +113,7 @@ export declare const DuplicateDetectedActionInput: z.ZodObject<{
113
113
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
114
114
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
115
115
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
116
- waitFor: z.ZodOptional<z.ZodBoolean>;
116
+ waitFor: z.ZodDefault<z.ZodBoolean>;
117
117
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
118
118
  type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
119
119
  content: z.ZodObject<{
@@ -132,7 +132,7 @@ export declare const MarkAsDuplicateActionInput: z.ZodObject<{
132
132
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
133
133
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
134
134
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
135
- waitFor: z.ZodOptional<z.ZodBoolean>;
135
+ waitFor: z.ZodDefault<z.ZodBoolean>;
136
136
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
137
137
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
138
138
  content: z.ZodOptional<z.ZodObject<{
@@ -149,7 +149,7 @@ export declare const MarkNotDuplicateActionInput: z.ZodObject<{
149
149
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
150
150
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
151
151
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
152
- waitFor: z.ZodOptional<z.ZodBoolean>;
152
+ waitFor: z.ZodDefault<z.ZodBoolean>;
153
153
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
154
154
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
155
155
  }, z.core.$strip>;
@@ -163,7 +163,7 @@ export declare const ArchiveActionInput: z.ZodObject<{
163
163
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
164
164
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
165
165
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
166
- waitFor: z.ZodOptional<z.ZodBoolean>;
166
+ waitFor: z.ZodDefault<z.ZodBoolean>;
167
167
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
168
168
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
169
169
  content: z.ZodObject<{
@@ -180,7 +180,7 @@ export declare const AssignActionInput: z.ZodObject<{
180
180
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
181
181
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
182
182
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
183
- waitFor: z.ZodOptional<z.ZodBoolean>;
183
+ waitFor: z.ZodDefault<z.ZodBoolean>;
184
184
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
185
185
  type: z.ZodLiteral<"ASSIGN">;
186
186
  assignedTo: z.ZodString;
@@ -195,7 +195,7 @@ export declare const UnassignActionInput: z.ZodObject<{
195
195
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
196
196
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
197
197
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
198
- waitFor: z.ZodOptional<z.ZodBoolean>;
198
+ waitFor: z.ZodDefault<z.ZodBoolean>;
199
199
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
200
200
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
201
201
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
@@ -210,7 +210,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<{
210
210
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
211
211
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
212
212
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
213
- waitFor: z.ZodOptional<z.ZodBoolean>;
213
+ waitFor: z.ZodDefault<z.ZodBoolean>;
214
214
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
215
215
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
216
216
  }, z.core.$strip>;
@@ -224,7 +224,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<{
224
224
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
225
225
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
226
226
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
227
- waitFor: z.ZodOptional<z.ZodBoolean>;
227
+ waitFor: z.ZodDefault<z.ZodBoolean>;
228
228
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
229
229
  requestId: z.ZodString;
230
230
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
@@ -242,13 +242,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<{
242
242
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
243
243
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
244
244
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
245
- waitFor: z.ZodOptional<z.ZodBoolean>;
245
+ waitFor: z.ZodDefault<z.ZodBoolean>;
246
246
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
247
247
  requestId: z.ZodString;
248
248
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
249
- content: z.ZodOptional<z.ZodObject<{
250
- immediateCorrection: z.ZodOptional<z.ZodBoolean>;
251
- }, z.core.$strip>>;
252
249
  }, z.core.$strip>;
253
250
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
254
251
  export declare const ReadActionInput: z.ZodObject<{
@@ -260,7 +257,7 @@ export declare const ReadActionInput: z.ZodObject<{
260
257
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
261
258
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
262
259
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
263
- waitFor: z.ZodOptional<z.ZodBoolean>;
260
+ waitFor: z.ZodDefault<z.ZodBoolean>;
264
261
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
265
262
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
266
263
  }, z.core.$strip>;
@@ -278,7 +275,7 @@ export declare const CustomActionInput: z.ZodObject<{
278
275
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
279
276
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
280
277
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
281
- waitFor: z.ZodOptional<z.ZodBoolean>;
278
+ waitFor: z.ZodDefault<z.ZodBoolean>;
282
279
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
283
280
  type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
284
281
  customActionType: z.ZodString;
@@ -301,7 +298,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
301
298
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
302
299
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
303
300
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
304
- waitFor: z.ZodOptional<z.ZodBoolean>;
301
+ waitFor: z.ZodDefault<z.ZodBoolean>;
305
302
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
306
303
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
307
304
  }, z.core.$strip>, z.ZodObject<{
@@ -313,7 +310,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
313
310
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
314
311
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
315
312
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
316
- waitFor: z.ZodOptional<z.ZodBoolean>;
313
+ waitFor: z.ZodDefault<z.ZodBoolean>;
317
314
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
318
315
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
319
316
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -326,7 +323,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
326
323
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
327
324
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
328
325
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
329
- waitFor: z.ZodOptional<z.ZodBoolean>;
326
+ waitFor: z.ZodDefault<z.ZodBoolean>;
330
327
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
331
328
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
332
329
  }, z.core.$strip>, z.ZodObject<{
@@ -338,7 +335,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
338
335
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
339
336
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
340
337
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
341
- waitFor: z.ZodOptional<z.ZodBoolean>;
338
+ waitFor: z.ZodDefault<z.ZodBoolean>;
342
339
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
343
340
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
344
341
  }, z.core.$strip>, z.ZodObject<{
@@ -350,7 +347,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
350
347
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
351
348
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
352
349
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
353
- waitFor: z.ZodOptional<z.ZodBoolean>;
350
+ waitFor: z.ZodDefault<z.ZodBoolean>;
354
351
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
355
352
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
356
353
  content: z.ZodObject<{
@@ -365,7 +362,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
365
362
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
366
363
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
367
364
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
368
- waitFor: z.ZodOptional<z.ZodBoolean>;
365
+ waitFor: z.ZodDefault<z.ZodBoolean>;
369
366
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
370
367
  type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
371
368
  content: z.ZodObject<{
@@ -383,7 +380,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
383
380
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
384
381
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
385
382
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
386
- waitFor: z.ZodOptional<z.ZodBoolean>;
383
+ waitFor: z.ZodDefault<z.ZodBoolean>;
387
384
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
388
385
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
389
386
  content: z.ZodOptional<z.ZodObject<{
@@ -398,7 +395,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
398
395
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
399
396
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
400
397
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
401
- waitFor: z.ZodOptional<z.ZodBoolean>;
398
+ waitFor: z.ZodDefault<z.ZodBoolean>;
402
399
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
403
400
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
404
401
  }, z.core.$strip>, z.ZodObject<{
@@ -410,7 +407,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
410
407
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
411
408
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
412
409
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
413
- waitFor: z.ZodOptional<z.ZodBoolean>;
410
+ waitFor: z.ZodDefault<z.ZodBoolean>;
414
411
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
415
412
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
416
413
  content: z.ZodObject<{
@@ -425,7 +422,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
425
422
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
426
423
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
427
424
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
428
- waitFor: z.ZodOptional<z.ZodBoolean>;
425
+ waitFor: z.ZodDefault<z.ZodBoolean>;
429
426
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
430
427
  type: z.ZodLiteral<"ASSIGN">;
431
428
  assignedTo: z.ZodString;
@@ -438,7 +435,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
438
435
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
439
436
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
440
437
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
441
- waitFor: z.ZodOptional<z.ZodBoolean>;
438
+ waitFor: z.ZodDefault<z.ZodBoolean>;
442
439
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
443
440
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
444
441
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
@@ -451,7 +448,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
451
448
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
452
449
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
453
450
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
454
- waitFor: z.ZodOptional<z.ZodBoolean>;
451
+ waitFor: z.ZodDefault<z.ZodBoolean>;
455
452
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
456
453
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
457
454
  content: z.ZodOptional<z.ZodObject<{
@@ -466,7 +463,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
466
463
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
467
464
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
468
465
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
469
- waitFor: z.ZodOptional<z.ZodBoolean>;
466
+ waitFor: z.ZodDefault<z.ZodBoolean>;
470
467
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
471
468
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
472
469
  }, z.core.$strip>, z.ZodObject<{
@@ -478,7 +475,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
478
475
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
479
476
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
480
477
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
481
- waitFor: z.ZodOptional<z.ZodBoolean>;
478
+ waitFor: z.ZodDefault<z.ZodBoolean>;
482
479
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
483
480
  requestId: z.ZodString;
484
481
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
@@ -494,13 +491,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
494
491
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
495
492
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
496
493
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
497
- waitFor: z.ZodOptional<z.ZodBoolean>;
494
+ waitFor: z.ZodDefault<z.ZodBoolean>;
498
495
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
499
496
  requestId: z.ZodString;
500
497
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
501
- content: z.ZodOptional<z.ZodObject<{
502
- immediateCorrection: z.ZodOptional<z.ZodBoolean>;
503
- }, z.core.$strip>>;
504
498
  }, z.core.$strip>, z.ZodObject<{
505
499
  eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
506
500
  transactionId: z.ZodString;
@@ -510,7 +504,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
510
504
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
511
505
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
512
506
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
513
- waitFor: z.ZodOptional<z.ZodBoolean>;
507
+ waitFor: z.ZodDefault<z.ZodBoolean>;
514
508
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
515
509
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
516
510
  }, z.core.$strip>, z.ZodObject<{
@@ -522,7 +516,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
522
516
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
523
517
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
524
518
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
525
- waitFor: z.ZodOptional<z.ZodBoolean>;
519
+ waitFor: z.ZodDefault<z.ZodBoolean>;
526
520
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
527
521
  type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
528
522
  customActionType: z.ZodString;
@@ -535,7 +529,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
535
529
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
536
530
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
537
531
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
538
- waitFor: z.ZodOptional<z.ZodBoolean>;
532
+ waitFor: z.ZodDefault<z.ZodBoolean>;
539
533
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
540
534
  type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
541
535
  content: z.ZodObject<{
@@ -45,16 +45,15 @@ export declare const Draft: z.ZodObject<{
45
45
  }, z.core.$strip>;
46
46
  }, z.core.$strip>;
47
47
  export declare const DraftInput: z.ZodObject<{
48
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
49
48
  transactionId: z.ZodString;
49
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
50
50
  declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
51
51
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
52
52
  originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
53
+ eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
53
54
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
54
55
  keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
55
56
  keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
56
- waitFor: z.ZodOptional<z.ZodBoolean>;
57
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
58
57
  type: z.ZodEnum<{
59
58
  CUSTOM: "CUSTOM";
60
59
  CREATE: "CREATE";
@@ -274,9 +274,6 @@ export declare const EventDocument: z.ZodObject<{
274
274
  originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
275
275
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
276
276
  requestId: z.ZodString;
277
- content: z.ZodOptional<z.ZodObject<{
278
- immediateCorrection: z.ZodOptional<z.ZodBoolean>;
279
- }, z.core.$strip>>;
280
277
  }, z.core.$strip>, z.ZodObject<{
281
278
  id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
282
279
  transactionId: z.ZodString;
@@ -677,6 +677,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
677
677
  }, z.core.$strip>;
678
678
  }, z.core.$strip>>>;
679
679
  icon: z.ZodEnum<{
680
+ File: "File";
680
681
  Archived: "Archived";
681
682
  Assigned: "Assigned";
682
683
  Briefcase: "Briefcase";
@@ -722,7 +723,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
722
723
  Eye: "Eye";
723
724
  EyeSlash: "EyeSlash";
724
725
  Envelope: "Envelope";
725
- File: "File";
726
726
  FileSearch: "FileSearch";
727
727
  FileMinus: "FileMinus";
728
728
  FilePlus: "FilePlus";
@@ -786,6 +786,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
786
786
  export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
787
787
  name: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
788
788
  icon: z.ZodEnum<{
789
+ File: "File";
789
790
  Archived: "Archived";
790
791
  Assigned: "Assigned";
791
792
  Briefcase: "Briefcase";
@@ -831,7 +832,6 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
831
832
  Eye: "Eye";
832
833
  EyeSlash: "EyeSlash";
833
834
  Envelope: "Envelope";
834
- File: "File";
835
835
  FileSearch: "FileSearch";
836
836
  FileMinus: "FileMinus";
837
837
  FilePlus: "FilePlus";
@@ -951,6 +951,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
951
951
  }, z.core.$strip>;
952
952
  }, z.core.$strip>>>;
953
953
  icon: z.ZodEnum<{
954
+ File: "File";
954
955
  Archived: "Archived";
955
956
  Assigned: "Assigned";
956
957
  Briefcase: "Briefcase";
@@ -996,7 +997,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
996
997
  Eye: "Eye";
997
998
  EyeSlash: "EyeSlash";
998
999
  Envelope: "Envelope";
999
- File: "File";
1000
1000
  FileSearch: "FileSearch";
1001
1001
  FileMinus: "FileMinus";
1002
1002
  FilePlus: "FilePlus";
@@ -2282,7 +2282,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2282
2282
  $event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2283
2283
  };
2284
2284
  }[];
2285
- icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2285
+ icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2286
2286
  action?: {
2287
2287
  type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2288
2288
  } | undefined;
@@ -2591,7 +2591,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
2591
2591
  $event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2592
2592
  };
2593
2593
  }[];
2594
- icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2594
+ icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
2595
2595
  action?: {
2596
2596
  type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
2597
2597
  } | undefined;
@@ -241,9 +241,6 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
241
241
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
242
242
  annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
243
243
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
244
- content?: {
245
- immediateCorrection?: boolean | undefined;
246
- } | undefined;
247
244
  } | {
248
245
  id: string & import("zod").$brand<"UUID">;
249
246
  transactionId: string;
@@ -386,9 +386,6 @@ export declare function findLastAssignmentAction(actions: Action[]): {
386
386
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
387
387
  annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
388
388
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
389
- content?: {
390
- immediateCorrection?: boolean | undefined;
391
- } | undefined;
392
389
  } | {
393
390
  id: string & import("zod").$brand<"UUID">;
394
391
  transactionId: string;