@opencrvs/toolkit 1.8.0-rc.f8be155 → 1.8.0-rc.f8e0ee5

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.
Files changed (33) hide show
  1. package/dist/commons/api/router.d.ts +2029 -5136
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -4
  3. package/dist/commons/conditionals/validate.d.ts +0 -6
  4. package/dist/commons/events/ActionConfig.d.ts +20914 -44038
  5. package/dist/commons/events/ActionDocument.d.ts +484 -1888
  6. package/dist/commons/events/ActionInput.d.ts +304 -1504
  7. package/dist/commons/events/ActionType.d.ts +0 -4
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -75
  9. package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
  10. package/dist/commons/events/Constants.d.ts +0 -1
  11. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  12. package/dist/commons/events/Draft.d.ts +34 -130
  13. package/dist/commons/events/EventConfig.d.ts +16720 -30190
  14. package/dist/commons/events/EventDocument.d.ts +346 -1210
  15. package/dist/commons/events/EventIndex.d.ts +32 -270
  16. package/dist/commons/events/EventMetadata.d.ts +60 -27
  17. package/dist/commons/events/FieldConfig.d.ts +893 -1682
  18. package/dist/commons/events/FieldType.d.ts +1 -4
  19. package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
  20. package/dist/commons/events/FieldValue.d.ts +5 -41
  21. package/dist/commons/events/FormConfig.d.ts +2510 -7640
  22. package/dist/commons/events/PageConfig.d.ts +1638 -2896
  23. package/dist/commons/events/SummaryConfig.d.ts +5 -0
  24. package/dist/commons/events/WorkqueueConfig.d.ts +19 -297
  25. package/dist/commons/events/defineConfig.d.ts +1440 -3841
  26. package/dist/commons/events/field.d.ts +0 -4
  27. package/dist/commons/events/scopes.d.ts +1 -1
  28. package/dist/commons/events/test.utils.d.ts +39 -126
  29. package/dist/commons/events/transactions.d.ts +1 -1
  30. package/dist/commons/events/utils.d.ts +18 -9664
  31. package/dist/conditionals/index.js +1 -18
  32. package/dist/events/index.js +1103 -1370
  33. package/package.json +1 -1
@@ -36,8 +36,4 @@ export declare const annotationActions: z.ZodEnum<["DELETE", "CREATE", "NOTIFY",
36
36
  export type AnnotationActionType = z.infer<typeof annotationActions>;
37
37
  /** Actions which requires the user to be assigned */
38
38
  export declare const writeActions: z.ZodEnum<["DELETE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION"]>;
39
- /** Actions which are visible in action menu and workqueue */
40
- export declare const workqueueActions: z.ZodEnum<["DELETE", "DECLARE", "VALIDATE", "REGISTER", "PRINT_CERTIFICATE", "READ", "ASSIGN", "UNASSIGN"]>;
41
- export type WorkqueueActionType = z.infer<typeof workqueueActions>;
42
- export declare function isMetaAction(actionType: ActionType): boolean;
43
39
  //# sourceMappingURL=ActionType.d.ts.map
@@ -115,31 +115,7 @@ export declare const SearchQueryParams: z.ZodObject<{
115
115
  addressLine2?: string | undefined;
116
116
  addressLine3?: string | undefined;
117
117
  postcodeOrZip?: string | undefined;
118
- }>, z.ZodObject<{
119
- firstname: z.ZodString;
120
- surname: z.ZodString;
121
- middlename: z.ZodOptional<z.ZodString>;
122
- }, "strip", z.ZodTypeAny, {
123
- firstname: string;
124
- surname: string;
125
- middlename?: string | undefined;
126
- }, {
127
- firstname: string;
128
- surname: string;
129
- middlename?: string | undefined;
130
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
131
- firstname: z.ZodString;
132
- surname: z.ZodString;
133
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
- }, "strip", z.ZodTypeAny, {
135
- firstname: string;
136
- surname: string;
137
- middlename?: string | null | undefined;
138
- }, {
139
- firstname: string;
140
- surname: string;
141
- middlename?: string | null | undefined;
142
- }>, z.ZodNull]>, z.ZodUndefined]>]>, z.objectOutputType<{
118
+ }>]>, z.objectOutputType<{
143
119
  eventType: z.ZodOptional<z.ZodString>;
144
120
  }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
145
121
  filename: z.ZodString;
@@ -254,31 +230,7 @@ export declare const SearchQueryParams: z.ZodObject<{
254
230
  addressLine2?: string | undefined;
255
231
  addressLine3?: string | undefined;
256
232
  postcodeOrZip?: string | undefined;
257
- }>, z.ZodObject<{
258
- firstname: z.ZodString;
259
- surname: z.ZodString;
260
- middlename: z.ZodOptional<z.ZodString>;
261
- }, "strip", z.ZodTypeAny, {
262
- firstname: string;
263
- surname: string;
264
- middlename?: string | undefined;
265
- }, {
266
- firstname: string;
267
- surname: string;
268
- middlename?: string | undefined;
269
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
270
- firstname: z.ZodString;
271
- surname: z.ZodString;
272
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
- }, "strip", z.ZodTypeAny, {
274
- firstname: string;
275
- surname: string;
276
- middlename?: string | null | undefined;
277
- }, {
278
- firstname: string;
279
- surname: string;
280
- middlename?: string | null | undefined;
281
- }>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">, z.objectInputType<{
233
+ }>]>, "strip">, z.objectInputType<{
282
234
  eventType: z.ZodOptional<z.ZodString>;
283
235
  }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
284
236
  filename: z.ZodString;
@@ -393,31 +345,7 @@ export declare const SearchQueryParams: z.ZodObject<{
393
345
  addressLine2?: string | undefined;
394
346
  addressLine3?: string | undefined;
395
347
  postcodeOrZip?: string | undefined;
396
- }>, z.ZodObject<{
397
- firstname: z.ZodString;
398
- surname: z.ZodString;
399
- middlename: z.ZodOptional<z.ZodString>;
400
- }, "strip", z.ZodTypeAny, {
401
- firstname: string;
402
- surname: string;
403
- middlename?: string | undefined;
404
- }, {
405
- firstname: string;
406
- surname: string;
407
- middlename?: string | undefined;
408
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
409
- firstname: z.ZodString;
410
- surname: z.ZodString;
411
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
- }, "strip", z.ZodTypeAny, {
413
- firstname: string;
414
- surname: string;
415
- middlename?: string | null | undefined;
416
- }, {
417
- firstname: string;
418
- surname: string;
419
- middlename?: string | null | undefined;
420
- }>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">>;
348
+ }>]>, "strip">>;
421
349
  export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
422
350
  export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
423
351
  config: z.ZodObject<{
@@ -117,34 +117,6 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
117
117
  street?: string | null | undefined;
118
118
  zipCode?: string | null | undefined;
119
119
  }>;
120
- export declare const NameFieldValue: z.ZodObject<{
121
- firstname: z.ZodString;
122
- surname: z.ZodString;
123
- middlename: z.ZodOptional<z.ZodString>;
124
- }, "strip", z.ZodTypeAny, {
125
- firstname: string;
126
- surname: string;
127
- middlename?: string | undefined;
128
- }, {
129
- firstname: string;
130
- surname: string;
131
- middlename?: string | undefined;
132
- }>;
133
- export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
134
- firstname: z.ZodString;
135
- surname: z.ZodString;
136
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
- }, "strip", z.ZodTypeAny, {
138
- firstname: string;
139
- surname: string;
140
- middlename?: string | null | undefined;
141
- }, {
142
- firstname: string;
143
- surname: string;
144
- middlename?: string | null | undefined;
145
- }>, z.ZodNull]>, z.ZodUndefined]>;
146
- export type NameFieldValue = z.infer<typeof NameFieldValue>;
147
- export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
148
120
  export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
149
121
  export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
150
122
  country: z.ZodString;
@@ -1,3 +1,2 @@
1
1
  export declare const TENNIS_CLUB_MEMBERSHIP = "tennis-club-membership";
2
- export declare const BIRTH_EVENT = "v2-birth";
3
2
  //# sourceMappingURL=Constants.d.ts.map
@@ -1,2 +1,3 @@
1
- export declare const CreatedAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
1
+ import { z } from 'zod';
2
+ export declare const CreatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2
3
  //# sourceMappingURL=CreatedAtLocation.d.ts.map
@@ -1,17 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  export declare const Draft: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "UUID">;
4
- eventId: z.ZodBranded<z.ZodString, "UUID">;
3
+ id: z.ZodString;
4
+ eventId: z.ZodString;
5
5
  transactionId: z.ZodString;
6
6
  createdAt: z.ZodString;
7
7
  action: z.ZodObject<Omit<z.objectUtil.extendShape<{
8
- id: z.ZodBranded<z.ZodString, "UUID">;
8
+ id: z.ZodString;
9
9
  transactionId: z.ZodString;
10
10
  createdAt: z.ZodString;
11
11
  createdBy: z.ZodString;
12
12
  createdByRole: z.ZodString;
13
13
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
16
16
  filename: z.ZodString;
17
17
  originalFilename: z.ZodString;
@@ -125,20 +125,8 @@ export declare const Draft: z.ZodObject<{
125
125
  addressLine2?: string | null | undefined;
126
126
  addressLine3?: string | null | undefined;
127
127
  postcodeOrZip?: string | null | undefined;
128
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
129
- firstname: z.ZodString;
130
- surname: z.ZodString;
131
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
- }, "strip", z.ZodTypeAny, {
133
- firstname: string;
134
- surname: string;
135
- middlename?: string | null | undefined;
136
- }, {
137
- firstname: string;
138
- surname: string;
139
- middlename?: string | null | undefined;
140
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
141
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
128
+ }>]>>;
129
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
142
130
  filename: z.ZodString;
143
131
  originalFilename: z.ZodString;
144
132
  type: z.ZodString;
@@ -251,21 +239,9 @@ export declare const Draft: z.ZodObject<{
251
239
  addressLine2?: string | null | undefined;
252
240
  addressLine3?: string | null | undefined;
253
241
  postcodeOrZip?: string | null | undefined;
254
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
255
- firstname: z.ZodString;
256
- surname: z.ZodString;
257
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
- }, "strip", z.ZodTypeAny, {
259
- firstname: string;
260
- surname: string;
261
- middlename?: string | null | undefined;
262
- }, {
263
- firstname: string;
264
- surname: string;
265
- middlename?: string | null | undefined;
266
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
242
+ }>]>>>;
267
243
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
268
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
244
+ originalActionId: z.ZodOptional<z.ZodString>;
269
245
  }, {
270
246
  type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
271
247
  }>, "id">, "strip", z.ZodTypeAny, {
@@ -290,10 +266,6 @@ export declare const Draft: z.ZodObject<{
290
266
  residentialArea?: string | null | undefined;
291
267
  street?: string | null | undefined;
292
268
  zipCode?: string | null | undefined;
293
- } | {
294
- firstname: string;
295
- surname: string;
296
- middlename?: string | null | undefined;
297
269
  } | {
298
270
  country: string;
299
271
  district: string;
@@ -316,9 +288,9 @@ export declare const Draft: z.ZodObject<{
316
288
  option: string;
317
289
  filename: string;
318
290
  originalFilename: string;
319
- }[] | [string, string] | null | undefined>;
291
+ }[] | [string, string] | undefined>;
320
292
  createdBySignature?: string | null | undefined;
321
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
293
+ createdAtLocation?: string | null | undefined;
322
294
  annotation?: Record<string, string | number | boolean | {
323
295
  type: string;
324
296
  filename: string;
@@ -334,10 +306,6 @@ export declare const Draft: z.ZodObject<{
334
306
  residentialArea?: string | null | undefined;
335
307
  street?: string | null | undefined;
336
308
  zipCode?: string | null | undefined;
337
- } | {
338
- firstname: string;
339
- surname: string;
340
- middlename?: string | null | undefined;
341
309
  } | {
342
310
  country: string;
343
311
  district: string;
@@ -360,8 +328,8 @@ export declare const Draft: z.ZodObject<{
360
328
  option: string;
361
329
  filename: string;
362
330
  originalFilename: string;
363
- }[] | [string, string] | null | undefined> | null | undefined;
364
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
331
+ }[] | [string, string] | undefined> | undefined;
332
+ originalActionId?: string | undefined;
365
333
  }, {
366
334
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
367
335
  status: "Rejected" | "Requested" | "Accepted";
@@ -384,10 +352,6 @@ export declare const Draft: z.ZodObject<{
384
352
  residentialArea?: string | null | undefined;
385
353
  street?: string | null | undefined;
386
354
  zipCode?: string | null | undefined;
387
- } | {
388
- firstname: string;
389
- surname: string;
390
- middlename?: string | null | undefined;
391
355
  } | {
392
356
  country: string;
393
357
  district: string;
@@ -410,7 +374,7 @@ export declare const Draft: z.ZodObject<{
410
374
  option: string;
411
375
  filename: string;
412
376
  originalFilename: string;
413
- }[] | [string, string] | null | undefined>;
377
+ }[] | [string, string] | undefined>;
414
378
  createdBySignature?: string | null | undefined;
415
379
  createdAtLocation?: string | null | undefined;
416
380
  annotation?: Record<string, string | number | boolean | {
@@ -428,10 +392,6 @@ export declare const Draft: z.ZodObject<{
428
392
  residentialArea?: string | null | undefined;
429
393
  street?: string | null | undefined;
430
394
  zipCode?: string | null | undefined;
431
- } | {
432
- firstname: string;
433
- surname: string;
434
- middlename?: string | null | undefined;
435
395
  } | {
436
396
  country: string;
437
397
  district: string;
@@ -454,14 +414,14 @@ export declare const Draft: z.ZodObject<{
454
414
  option: string;
455
415
  filename: string;
456
416
  originalFilename: string;
457
- }[] | [string, string] | null | undefined> | null | undefined;
458
- originalActionId?: string | null | undefined;
417
+ }[] | [string, string] | undefined> | undefined;
418
+ originalActionId?: string | undefined;
459
419
  }>;
460
420
  }, "strip", z.ZodTypeAny, {
461
- id: string & z.BRAND<"UUID">;
421
+ id: string;
462
422
  transactionId: string;
463
423
  createdAt: string;
464
- eventId: string & z.BRAND<"UUID">;
424
+ eventId: string;
465
425
  action: {
466
426
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
467
427
  status: "Rejected" | "Requested" | "Accepted";
@@ -484,10 +444,6 @@ export declare const Draft: z.ZodObject<{
484
444
  residentialArea?: string | null | undefined;
485
445
  street?: string | null | undefined;
486
446
  zipCode?: string | null | undefined;
487
- } | {
488
- firstname: string;
489
- surname: string;
490
- middlename?: string | null | undefined;
491
447
  } | {
492
448
  country: string;
493
449
  district: string;
@@ -510,9 +466,9 @@ export declare const Draft: z.ZodObject<{
510
466
  option: string;
511
467
  filename: string;
512
468
  originalFilename: string;
513
- }[] | [string, string] | null | undefined>;
469
+ }[] | [string, string] | undefined>;
514
470
  createdBySignature?: string | null | undefined;
515
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
471
+ createdAtLocation?: string | null | undefined;
516
472
  annotation?: Record<string, string | number | boolean | {
517
473
  type: string;
518
474
  filename: string;
@@ -528,10 +484,6 @@ export declare const Draft: z.ZodObject<{
528
484
  residentialArea?: string | null | undefined;
529
485
  street?: string | null | undefined;
530
486
  zipCode?: string | null | undefined;
531
- } | {
532
- firstname: string;
533
- surname: string;
534
- middlename?: string | null | undefined;
535
487
  } | {
536
488
  country: string;
537
489
  district: string;
@@ -554,8 +506,8 @@ export declare const Draft: z.ZodObject<{
554
506
  option: string;
555
507
  filename: string;
556
508
  originalFilename: string;
557
- }[] | [string, string] | null | undefined> | null | undefined;
558
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
509
+ }[] | [string, string] | undefined> | undefined;
510
+ originalActionId?: string | undefined;
559
511
  };
560
512
  }, {
561
513
  id: string;
@@ -584,10 +536,6 @@ export declare const Draft: z.ZodObject<{
584
536
  residentialArea?: string | null | undefined;
585
537
  street?: string | null | undefined;
586
538
  zipCode?: string | null | undefined;
587
- } | {
588
- firstname: string;
589
- surname: string;
590
- middlename?: string | null | undefined;
591
539
  } | {
592
540
  country: string;
593
541
  district: string;
@@ -610,7 +558,7 @@ export declare const Draft: z.ZodObject<{
610
558
  option: string;
611
559
  filename: string;
612
560
  originalFilename: string;
613
- }[] | [string, string] | null | undefined>;
561
+ }[] | [string, string] | undefined>;
614
562
  createdBySignature?: string | null | undefined;
615
563
  createdAtLocation?: string | null | undefined;
616
564
  annotation?: Record<string, string | number | boolean | {
@@ -628,10 +576,6 @@ export declare const Draft: z.ZodObject<{
628
576
  residentialArea?: string | null | undefined;
629
577
  street?: string | null | undefined;
630
578
  zipCode?: string | null | undefined;
631
- } | {
632
- firstname: string;
633
- surname: string;
634
- middlename?: string | null | undefined;
635
579
  } | {
636
580
  country: string;
637
581
  district: string;
@@ -654,12 +598,12 @@ export declare const Draft: z.ZodObject<{
654
598
  option: string;
655
599
  filename: string;
656
600
  originalFilename: string;
657
- }[] | [string, string] | null | undefined> | null | undefined;
658
- originalActionId?: string | null | undefined;
601
+ }[] | [string, string] | undefined> | undefined;
602
+ originalActionId?: string | undefined;
659
603
  };
660
604
  }>;
661
605
  export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
662
- eventId: z.ZodBranded<z.ZodString, "UUID">;
606
+ eventId: z.ZodString;
663
607
  transactionId: z.ZodString;
664
608
  declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
665
609
  filename: z.ZodString;
@@ -774,19 +718,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
774
718
  addressLine2?: string | null | undefined;
775
719
  addressLine3?: string | null | undefined;
776
720
  postcodeOrZip?: string | null | undefined;
777
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
778
- firstname: z.ZodString;
779
- surname: z.ZodString;
780
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
781
- }, "strip", z.ZodTypeAny, {
782
- firstname: string;
783
- surname: string;
784
- middlename?: string | null | undefined;
785
- }, {
786
- firstname: string;
787
- surname: string;
788
- middlename?: string | null | undefined;
789
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
721
+ }>]>>>;
790
722
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
791
723
  filename: z.ZodString;
792
724
  originalFilename: z.ZodString;
@@ -900,20 +832,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
900
832
  addressLine2?: string | null | undefined;
901
833
  addressLine3?: string | null | undefined;
902
834
  postcodeOrZip?: string | null | undefined;
903
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
904
- firstname: z.ZodString;
905
- surname: z.ZodString;
906
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
- }, "strip", z.ZodTypeAny, {
908
- firstname: string;
909
- surname: string;
910
- middlename?: string | null | undefined;
911
- }, {
912
- firstname: string;
913
- surname: string;
914
- middlename?: string | null | undefined;
915
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
916
- originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
835
+ }>]>>>;
836
+ originalActionId: z.ZodOptional<z.ZodString>;
917
837
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
918
838
  }, {
919
839
  type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
@@ -937,10 +857,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
937
857
  residentialArea?: string | null | undefined;
938
858
  street?: string | null | undefined;
939
859
  zipCode?: string | null | undefined;
940
- } | {
941
- firstname: string;
942
- surname: string;
943
- middlename?: string | null | undefined;
944
860
  } | {
945
861
  country: string;
946
862
  district: string;
@@ -963,8 +879,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
963
879
  option: string;
964
880
  filename: string;
965
881
  originalFilename: string;
966
- }[] | [string, string] | null | undefined>;
967
- eventId: string & z.BRAND<"UUID">;
882
+ }[] | [string, string] | undefined>;
883
+ eventId: string;
968
884
  annotation?: Record<string, string | number | boolean | {
969
885
  type: string;
970
886
  filename: string;
@@ -980,10 +896,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
980
896
  residentialArea?: string | null | undefined;
981
897
  street?: string | null | undefined;
982
898
  zipCode?: string | null | undefined;
983
- } | {
984
- firstname: string;
985
- surname: string;
986
- middlename?: string | null | undefined;
987
899
  } | {
988
900
  country: string;
989
901
  district: string;
@@ -1006,8 +918,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1006
918
  option: string;
1007
919
  filename: string;
1008
920
  originalFilename: string;
1009
- }[] | [string, string] | null | undefined> | undefined;
1010
- originalActionId?: (string & z.BRAND<"UUID">) | undefined;
921
+ }[] | [string, string] | undefined> | undefined;
922
+ originalActionId?: string | undefined;
1011
923
  keepAssignment?: boolean | undefined;
1012
924
  }, {
1013
925
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
@@ -1029,10 +941,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1029
941
  residentialArea?: string | null | undefined;
1030
942
  street?: string | null | undefined;
1031
943
  zipCode?: string | null | undefined;
1032
- } | {
1033
- firstname: string;
1034
- surname: string;
1035
- middlename?: string | null | undefined;
1036
944
  } | {
1037
945
  country: string;
1038
946
  district: string;
@@ -1055,7 +963,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1055
963
  option: string;
1056
964
  filename: string;
1057
965
  originalFilename: string;
1058
- }[] | [string, string] | null | undefined> | undefined;
966
+ }[] | [string, string] | undefined> | undefined;
1059
967
  annotation?: Record<string, string | number | boolean | {
1060
968
  type: string;
1061
969
  filename: string;
@@ -1071,10 +979,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1071
979
  residentialArea?: string | null | undefined;
1072
980
  street?: string | null | undefined;
1073
981
  zipCode?: string | null | undefined;
1074
- } | {
1075
- firstname: string;
1076
- surname: string;
1077
- middlename?: string | null | undefined;
1078
982
  } | {
1079
983
  country: string;
1080
984
  district: string;
@@ -1097,7 +1001,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
1097
1001
  option: string;
1098
1002
  filename: string;
1099
1003
  originalFilename: string;
1100
- }[] | [string, string] | null | undefined> | undefined;
1004
+ }[] | [string, string] | undefined> | undefined;
1101
1005
  originalActionId?: string | undefined;
1102
1006
  keepAssignment?: boolean | undefined;
1103
1007
  }>;