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

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 (42) hide show
  1. package/dist/commons/api/router.d.ts +13997 -988
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +117418 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2270 -554
  6. package/dist/commons/events/ActionInput.d.ts +1637 -365
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1029 -22
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  13. package/dist/commons/events/Draft.d.ts +143 -39
  14. package/dist/commons/events/EventConfig.d.ts +56291 -1361
  15. package/dist/commons/events/EventDocument.d.ts +1399 -394
  16. package/dist/commons/events/EventIndex.d.ts +1589 -30
  17. package/dist/commons/events/EventMetadata.d.ts +298 -48
  18. package/dist/commons/events/FieldConfig.d.ts +5414 -1057
  19. package/dist/commons/events/FieldType.d.ts +6 -3
  20. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  21. package/dist/commons/events/FieldValue.d.ts +49 -8
  22. package/dist/commons/events/FormConfig.d.ts +49156 -514
  23. package/dist/commons/events/PageConfig.d.ts +12206 -204
  24. package/dist/commons/events/SummaryConfig.d.ts +17 -52
  25. package/dist/commons/events/User.d.ts +31 -7
  26. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  27. package/dist/commons/events/WorkqueueConfig.d.ts +4775 -16
  28. package/dist/commons/events/defineConfig.d.ts +8981 -51
  29. package/dist/commons/events/event.d.ts +54 -0
  30. package/dist/commons/events/field.d.ts +77 -0
  31. package/dist/commons/events/index.d.ts +6 -0
  32. package/dist/commons/events/scopes.d.ts +21 -1
  33. package/dist/commons/events/serializer.d.ts +2 -0
  34. package/dist/commons/events/test.utils.d.ts +149 -79
  35. package/dist/commons/events/transactions.d.ts +1 -1
  36. package/dist/commons/events/utils.d.ts +13353 -68
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +76 -36
  39. package/dist/events/index.js +3464 -1333
  40. package/dist/scopes/index.d.ts +158 -1
  41. package/dist/scopes/index.js +152 -1
  42. package/package.json +3 -2
@@ -1,17 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodString;
3
+ id: z.ZodBranded<z.ZodString, "UUID">;
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
- updatedAtLocation: z.ZodString;
8
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
10
9
  transactionId: z.ZodString;
11
10
  createdAt: z.ZodString;
12
11
  createdBy: z.ZodString;
13
12
  createdByRole: z.ZodString;
14
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
15
16
  filename: z.ZodString;
16
17
  originalFilename: z.ZodString;
17
18
  type: z.ZodString;
@@ -124,8 +125,20 @@ export declare const EventDocument: z.ZodObject<{
124
125
  addressLine2?: string | null | undefined;
125
126
  addressLine3?: string | null | undefined;
126
127
  postcodeOrZip?: string | null | undefined;
127
- }>]>>;
128
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
129
142
  filename: z.ZodString;
130
143
  originalFilename: z.ZodString;
131
144
  type: z.ZodString;
@@ -238,15 +251,26 @@ export declare const EventDocument: z.ZodObject<{
238
251
  addressLine2?: string | null | undefined;
239
252
  addressLine3?: string | null | undefined;
240
253
  postcodeOrZip?: string | null | undefined;
241
- }>]>>>;
242
- createdAtLocation: z.ZodString;
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]>]>>>>;
243
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
244
- originalActionId: z.ZodOptional<z.ZodString>;
268
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
245
269
  }, {
246
270
  type: z.ZodLiteral<"CREATE">;
247
271
  }>, "strip", z.ZodTypeAny, {
248
272
  type: "CREATE";
249
- id: string;
273
+ id: string & z.BRAND<"UUID">;
250
274
  status: "Rejected" | "Requested" | "Accepted";
251
275
  transactionId: string;
252
276
  createdAt: string;
@@ -267,6 +291,10 @@ export declare const EventDocument: z.ZodObject<{
267
291
  residentialArea?: string | null | undefined;
268
292
  street?: string | null | undefined;
269
293
  zipCode?: string | null | undefined;
294
+ } | {
295
+ firstname: string;
296
+ surname: string;
297
+ middlename?: string | null | undefined;
270
298
  } | {
271
299
  country: string;
272
300
  district: string;
@@ -289,8 +317,9 @@ export declare const EventDocument: z.ZodObject<{
289
317
  option: string;
290
318
  filename: string;
291
319
  originalFilename: string;
292
- }[] | undefined>;
293
- createdAtLocation: string;
320
+ }[] | [string, string] | null | undefined>;
321
+ createdBySignature?: string | null | undefined;
322
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
294
323
  annotation?: Record<string, string | number | boolean | {
295
324
  type: string;
296
325
  filename: string;
@@ -306,6 +335,10 @@ export declare const EventDocument: z.ZodObject<{
306
335
  residentialArea?: string | null | undefined;
307
336
  street?: string | null | undefined;
308
337
  zipCode?: string | null | undefined;
338
+ } | {
339
+ firstname: string;
340
+ surname: string;
341
+ middlename?: string | null | undefined;
309
342
  } | {
310
343
  country: string;
311
344
  district: string;
@@ -328,8 +361,8 @@ export declare const EventDocument: z.ZodObject<{
328
361
  option: string;
329
362
  filename: string;
330
363
  originalFilename: string;
331
- }[] | undefined> | undefined;
332
- originalActionId?: string | undefined;
364
+ }[] | [string, string] | null | undefined> | null | undefined;
365
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
333
366
  }, {
334
367
  type: "CREATE";
335
368
  id: string;
@@ -353,6 +386,10 @@ export declare const EventDocument: z.ZodObject<{
353
386
  residentialArea?: string | null | undefined;
354
387
  street?: string | null | undefined;
355
388
  zipCode?: string | null | undefined;
389
+ } | {
390
+ firstname: string;
391
+ surname: string;
392
+ middlename?: string | null | undefined;
356
393
  } | {
357
394
  country: string;
358
395
  district: string;
@@ -375,8 +412,9 @@ export declare const EventDocument: z.ZodObject<{
375
412
  option: string;
376
413
  filename: string;
377
414
  originalFilename: string;
378
- }[] | undefined>;
379
- createdAtLocation: string;
415
+ }[] | [string, string] | null | undefined>;
416
+ createdBySignature?: string | null | undefined;
417
+ createdAtLocation?: string | null | undefined;
380
418
  annotation?: Record<string, string | number | boolean | {
381
419
  type: string;
382
420
  filename: string;
@@ -392,6 +430,10 @@ export declare const EventDocument: z.ZodObject<{
392
430
  residentialArea?: string | null | undefined;
393
431
  street?: string | null | undefined;
394
432
  zipCode?: string | null | undefined;
433
+ } | {
434
+ firstname: string;
435
+ surname: string;
436
+ middlename?: string | null | undefined;
395
437
  } | {
396
438
  country: string;
397
439
  district: string;
@@ -414,15 +456,17 @@ export declare const EventDocument: z.ZodObject<{
414
456
  option: string;
415
457
  filename: string;
416
458
  originalFilename: string;
417
- }[] | undefined> | undefined;
418
- originalActionId?: string | undefined;
459
+ }[] | [string, string] | null | undefined> | null | undefined;
460
+ originalActionId?: string | null | undefined;
419
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
420
- id: z.ZodString;
462
+ id: z.ZodBranded<z.ZodString, "UUID">;
421
463
  transactionId: z.ZodString;
422
464
  createdAt: z.ZodString;
423
465
  createdBy: z.ZodString;
424
466
  createdByRole: z.ZodString;
425
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
469
+ 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<{
426
470
  filename: z.ZodString;
427
471
  originalFilename: z.ZodString;
428
472
  type: z.ZodString;
@@ -535,8 +579,20 @@ export declare const EventDocument: z.ZodObject<{
535
579
  addressLine2?: string | null | undefined;
536
580
  addressLine3?: string | null | undefined;
537
581
  postcodeOrZip?: string | null | undefined;
538
- }>]>>;
539
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
582
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
583
+ firstname: z.ZodString;
584
+ surname: z.ZodString;
585
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ firstname: string;
588
+ surname: string;
589
+ middlename?: string | null | undefined;
590
+ }, {
591
+ firstname: string;
592
+ surname: string;
593
+ middlename?: string | null | undefined;
594
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
595
+ 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<{
540
596
  filename: z.ZodString;
541
597
  originalFilename: z.ZodString;
542
598
  type: z.ZodString;
@@ -649,15 +705,26 @@ export declare const EventDocument: z.ZodObject<{
649
705
  addressLine2?: string | null | undefined;
650
706
  addressLine3?: string | null | undefined;
651
707
  postcodeOrZip?: string | null | undefined;
652
- }>]>>>;
653
- createdAtLocation: z.ZodString;
708
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
709
+ firstname: z.ZodString;
710
+ surname: z.ZodString;
711
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ firstname: string;
714
+ surname: string;
715
+ middlename?: string | null | undefined;
716
+ }, {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
720
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
654
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
655
- originalActionId: z.ZodOptional<z.ZodString>;
722
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
656
723
  }, {
657
724
  type: z.ZodLiteral<"VALIDATE">;
658
725
  }>, "strip", z.ZodTypeAny, {
659
726
  type: "VALIDATE";
660
- id: string;
727
+ id: string & z.BRAND<"UUID">;
661
728
  status: "Rejected" | "Requested" | "Accepted";
662
729
  transactionId: string;
663
730
  createdAt: string;
@@ -678,6 +745,10 @@ export declare const EventDocument: z.ZodObject<{
678
745
  residentialArea?: string | null | undefined;
679
746
  street?: string | null | undefined;
680
747
  zipCode?: string | null | undefined;
748
+ } | {
749
+ firstname: string;
750
+ surname: string;
751
+ middlename?: string | null | undefined;
681
752
  } | {
682
753
  country: string;
683
754
  district: string;
@@ -700,8 +771,9 @@ export declare const EventDocument: z.ZodObject<{
700
771
  option: string;
701
772
  filename: string;
702
773
  originalFilename: string;
703
- }[] | undefined>;
704
- createdAtLocation: string;
774
+ }[] | [string, string] | null | undefined>;
775
+ createdBySignature?: string | null | undefined;
776
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
705
777
  annotation?: Record<string, string | number | boolean | {
706
778
  type: string;
707
779
  filename: string;
@@ -717,6 +789,10 @@ export declare const EventDocument: z.ZodObject<{
717
789
  residentialArea?: string | null | undefined;
718
790
  street?: string | null | undefined;
719
791
  zipCode?: string | null | undefined;
792
+ } | {
793
+ firstname: string;
794
+ surname: string;
795
+ middlename?: string | null | undefined;
720
796
  } | {
721
797
  country: string;
722
798
  district: string;
@@ -739,8 +815,8 @@ export declare const EventDocument: z.ZodObject<{
739
815
  option: string;
740
816
  filename: string;
741
817
  originalFilename: string;
742
- }[] | undefined> | undefined;
743
- originalActionId?: string | undefined;
818
+ }[] | [string, string] | null | undefined> | null | undefined;
819
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
744
820
  }, {
745
821
  type: "VALIDATE";
746
822
  id: string;
@@ -764,6 +840,10 @@ export declare const EventDocument: z.ZodObject<{
764
840
  residentialArea?: string | null | undefined;
765
841
  street?: string | null | undefined;
766
842
  zipCode?: string | null | undefined;
843
+ } | {
844
+ firstname: string;
845
+ surname: string;
846
+ middlename?: string | null | undefined;
767
847
  } | {
768
848
  country: string;
769
849
  district: string;
@@ -786,8 +866,9 @@ export declare const EventDocument: z.ZodObject<{
786
866
  option: string;
787
867
  filename: string;
788
868
  originalFilename: string;
789
- }[] | undefined>;
790
- createdAtLocation: string;
869
+ }[] | [string, string] | null | undefined>;
870
+ createdBySignature?: string | null | undefined;
871
+ createdAtLocation?: string | null | undefined;
791
872
  annotation?: Record<string, string | number | boolean | {
792
873
  type: string;
793
874
  filename: string;
@@ -803,6 +884,10 @@ export declare const EventDocument: z.ZodObject<{
803
884
  residentialArea?: string | null | undefined;
804
885
  street?: string | null | undefined;
805
886
  zipCode?: string | null | undefined;
887
+ } | {
888
+ firstname: string;
889
+ surname: string;
890
+ middlename?: string | null | undefined;
806
891
  } | {
807
892
  country: string;
808
893
  district: string;
@@ -825,15 +910,17 @@ export declare const EventDocument: z.ZodObject<{
825
910
  option: string;
826
911
  filename: string;
827
912
  originalFilename: string;
828
- }[] | undefined> | undefined;
829
- originalActionId?: string | undefined;
913
+ }[] | [string, string] | null | undefined> | null | undefined;
914
+ originalActionId?: string | null | undefined;
830
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
831
- id: z.ZodString;
916
+ id: z.ZodBranded<z.ZodString, "UUID">;
832
917
  transactionId: z.ZodString;
833
918
  createdAt: z.ZodString;
834
919
  createdBy: z.ZodString;
835
920
  createdByRole: z.ZodString;
836
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
921
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
923
+ 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<{
837
924
  filename: z.ZodString;
838
925
  originalFilename: z.ZodString;
839
926
  type: z.ZodString;
@@ -946,8 +1033,20 @@ export declare const EventDocument: z.ZodObject<{
946
1033
  addressLine2?: string | null | undefined;
947
1034
  addressLine3?: string | null | undefined;
948
1035
  postcodeOrZip?: string | null | undefined;
949
- }>]>>;
950
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1036
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1037
+ firstname: z.ZodString;
1038
+ surname: z.ZodString;
1039
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ firstname: string;
1042
+ surname: string;
1043
+ middlename?: string | null | undefined;
1044
+ }, {
1045
+ firstname: string;
1046
+ surname: string;
1047
+ middlename?: string | null | undefined;
1048
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1049
+ 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<{
951
1050
  filename: z.ZodString;
952
1051
  originalFilename: z.ZodString;
953
1052
  type: z.ZodString;
@@ -1060,16 +1159,41 @@ export declare const EventDocument: z.ZodObject<{
1060
1159
  addressLine2?: string | null | undefined;
1061
1160
  addressLine3?: string | null | undefined;
1062
1161
  postcodeOrZip?: string | null | undefined;
1063
- }>]>>>;
1064
- createdAtLocation: z.ZodString;
1162
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1163
+ firstname: z.ZodString;
1164
+ surname: z.ZodString;
1165
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ firstname: string;
1168
+ surname: string;
1169
+ middlename?: string | null | undefined;
1170
+ }, {
1171
+ firstname: string;
1172
+ surname: string;
1173
+ middlename?: string | null | undefined;
1174
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1065
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1066
- originalActionId: z.ZodOptional<z.ZodString>;
1176
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1067
1177
  }, {
1068
1178
  type: z.ZodLiteral<"REJECT">;
1179
+ reason: z.ZodObject<{
1180
+ message: z.ZodString;
1181
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ message: string;
1184
+ isDuplicate?: boolean | undefined;
1185
+ }, {
1186
+ message: string;
1187
+ isDuplicate?: boolean | undefined;
1188
+ }>;
1069
1189
  }>, "strip", z.ZodTypeAny, {
1070
1190
  type: "REJECT";
1071
- id: string;
1191
+ id: string & z.BRAND<"UUID">;
1072
1192
  status: "Rejected" | "Requested" | "Accepted";
1193
+ reason: {
1194
+ message: string;
1195
+ isDuplicate?: boolean | undefined;
1196
+ };
1073
1197
  transactionId: string;
1074
1198
  createdAt: string;
1075
1199
  createdBy: string;
@@ -1089,6 +1213,10 @@ export declare const EventDocument: z.ZodObject<{
1089
1213
  residentialArea?: string | null | undefined;
1090
1214
  street?: string | null | undefined;
1091
1215
  zipCode?: string | null | undefined;
1216
+ } | {
1217
+ firstname: string;
1218
+ surname: string;
1219
+ middlename?: string | null | undefined;
1092
1220
  } | {
1093
1221
  country: string;
1094
1222
  district: string;
@@ -1111,8 +1239,9 @@ export declare const EventDocument: z.ZodObject<{
1111
1239
  option: string;
1112
1240
  filename: string;
1113
1241
  originalFilename: string;
1114
- }[] | undefined>;
1115
- createdAtLocation: string;
1242
+ }[] | [string, string] | null | undefined>;
1243
+ createdBySignature?: string | null | undefined;
1244
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1116
1245
  annotation?: Record<string, string | number | boolean | {
1117
1246
  type: string;
1118
1247
  filename: string;
@@ -1128,6 +1257,10 @@ export declare const EventDocument: z.ZodObject<{
1128
1257
  residentialArea?: string | null | undefined;
1129
1258
  street?: string | null | undefined;
1130
1259
  zipCode?: string | null | undefined;
1260
+ } | {
1261
+ firstname: string;
1262
+ surname: string;
1263
+ middlename?: string | null | undefined;
1131
1264
  } | {
1132
1265
  country: string;
1133
1266
  district: string;
@@ -1150,12 +1283,16 @@ export declare const EventDocument: z.ZodObject<{
1150
1283
  option: string;
1151
1284
  filename: string;
1152
1285
  originalFilename: string;
1153
- }[] | undefined> | undefined;
1154
- originalActionId?: string | undefined;
1286
+ }[] | [string, string] | null | undefined> | null | undefined;
1287
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1155
1288
  }, {
1156
1289
  type: "REJECT";
1157
1290
  id: string;
1158
1291
  status: "Rejected" | "Requested" | "Accepted";
1292
+ reason: {
1293
+ message: string;
1294
+ isDuplicate?: boolean | undefined;
1295
+ };
1159
1296
  transactionId: string;
1160
1297
  createdAt: string;
1161
1298
  createdBy: string;
@@ -1175,6 +1312,10 @@ export declare const EventDocument: z.ZodObject<{
1175
1312
  residentialArea?: string | null | undefined;
1176
1313
  street?: string | null | undefined;
1177
1314
  zipCode?: string | null | undefined;
1315
+ } | {
1316
+ firstname: string;
1317
+ surname: string;
1318
+ middlename?: string | null | undefined;
1178
1319
  } | {
1179
1320
  country: string;
1180
1321
  district: string;
@@ -1197,8 +1338,9 @@ export declare const EventDocument: z.ZodObject<{
1197
1338
  option: string;
1198
1339
  filename: string;
1199
1340
  originalFilename: string;
1200
- }[] | undefined>;
1201
- createdAtLocation: string;
1341
+ }[] | [string, string] | null | undefined>;
1342
+ createdBySignature?: string | null | undefined;
1343
+ createdAtLocation?: string | null | undefined;
1202
1344
  annotation?: Record<string, string | number | boolean | {
1203
1345
  type: string;
1204
1346
  filename: string;
@@ -1214,6 +1356,10 @@ export declare const EventDocument: z.ZodObject<{
1214
1356
  residentialArea?: string | null | undefined;
1215
1357
  street?: string | null | undefined;
1216
1358
  zipCode?: string | null | undefined;
1359
+ } | {
1360
+ firstname: string;
1361
+ surname: string;
1362
+ middlename?: string | null | undefined;
1217
1363
  } | {
1218
1364
  country: string;
1219
1365
  district: string;
@@ -1236,15 +1382,17 @@ export declare const EventDocument: z.ZodObject<{
1236
1382
  option: string;
1237
1383
  filename: string;
1238
1384
  originalFilename: string;
1239
- }[] | undefined> | undefined;
1240
- originalActionId?: string | undefined;
1385
+ }[] | [string, string] | null | undefined> | null | undefined;
1386
+ originalActionId?: string | null | undefined;
1241
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1242
- id: z.ZodString;
1388
+ id: z.ZodBranded<z.ZodString, "UUID">;
1243
1389
  transactionId: z.ZodString;
1244
1390
  createdAt: z.ZodString;
1245
1391
  createdBy: z.ZodString;
1246
1392
  createdByRole: z.ZodString;
1247
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1393
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1395
+ 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<{
1248
1396
  filename: z.ZodString;
1249
1397
  originalFilename: z.ZodString;
1250
1398
  type: z.ZodString;
@@ -1357,8 +1505,20 @@ export declare const EventDocument: z.ZodObject<{
1357
1505
  addressLine2?: string | null | undefined;
1358
1506
  addressLine3?: string | null | undefined;
1359
1507
  postcodeOrZip?: string | null | undefined;
1360
- }>]>>;
1361
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1508
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1509
+ firstname: z.ZodString;
1510
+ surname: z.ZodString;
1511
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ firstname: string;
1514
+ surname: string;
1515
+ middlename?: string | null | undefined;
1516
+ }, {
1517
+ firstname: string;
1518
+ surname: string;
1519
+ middlename?: string | null | undefined;
1520
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1521
+ 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<{
1362
1522
  filename: z.ZodString;
1363
1523
  originalFilename: z.ZodString;
1364
1524
  type: z.ZodString;
@@ -1471,15 +1631,26 @@ export declare const EventDocument: z.ZodObject<{
1471
1631
  addressLine2?: string | null | undefined;
1472
1632
  addressLine3?: string | null | undefined;
1473
1633
  postcodeOrZip?: string | null | undefined;
1474
- }>]>>>;
1475
- createdAtLocation: z.ZodString;
1634
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1635
+ firstname: z.ZodString;
1636
+ surname: z.ZodString;
1637
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ firstname: string;
1640
+ surname: string;
1641
+ middlename?: string | null | undefined;
1642
+ }, {
1643
+ firstname: string;
1644
+ surname: string;
1645
+ middlename?: string | null | undefined;
1646
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1476
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1477
- originalActionId: z.ZodOptional<z.ZodString>;
1648
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1478
1649
  }, {
1479
1650
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1480
1651
  }>, "strip", z.ZodTypeAny, {
1481
1652
  type: "MARKED_AS_DUPLICATE";
1482
- id: string;
1653
+ id: string & z.BRAND<"UUID">;
1483
1654
  status: "Rejected" | "Requested" | "Accepted";
1484
1655
  transactionId: string;
1485
1656
  createdAt: string;
@@ -1500,6 +1671,10 @@ export declare const EventDocument: z.ZodObject<{
1500
1671
  residentialArea?: string | null | undefined;
1501
1672
  street?: string | null | undefined;
1502
1673
  zipCode?: string | null | undefined;
1674
+ } | {
1675
+ firstname: string;
1676
+ surname: string;
1677
+ middlename?: string | null | undefined;
1503
1678
  } | {
1504
1679
  country: string;
1505
1680
  district: string;
@@ -1522,8 +1697,9 @@ export declare const EventDocument: z.ZodObject<{
1522
1697
  option: string;
1523
1698
  filename: string;
1524
1699
  originalFilename: string;
1525
- }[] | undefined>;
1526
- createdAtLocation: string;
1700
+ }[] | [string, string] | null | undefined>;
1701
+ createdBySignature?: string | null | undefined;
1702
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1527
1703
  annotation?: Record<string, string | number | boolean | {
1528
1704
  type: string;
1529
1705
  filename: string;
@@ -1539,6 +1715,10 @@ export declare const EventDocument: z.ZodObject<{
1539
1715
  residentialArea?: string | null | undefined;
1540
1716
  street?: string | null | undefined;
1541
1717
  zipCode?: string | null | undefined;
1718
+ } | {
1719
+ firstname: string;
1720
+ surname: string;
1721
+ middlename?: string | null | undefined;
1542
1722
  } | {
1543
1723
  country: string;
1544
1724
  district: string;
@@ -1561,8 +1741,8 @@ export declare const EventDocument: z.ZodObject<{
1561
1741
  option: string;
1562
1742
  filename: string;
1563
1743
  originalFilename: string;
1564
- }[] | undefined> | undefined;
1565
- originalActionId?: string | undefined;
1744
+ }[] | [string, string] | null | undefined> | null | undefined;
1745
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1566
1746
  }, {
1567
1747
  type: "MARKED_AS_DUPLICATE";
1568
1748
  id: string;
@@ -1586,6 +1766,10 @@ export declare const EventDocument: z.ZodObject<{
1586
1766
  residentialArea?: string | null | undefined;
1587
1767
  street?: string | null | undefined;
1588
1768
  zipCode?: string | null | undefined;
1769
+ } | {
1770
+ firstname: string;
1771
+ surname: string;
1772
+ middlename?: string | null | undefined;
1589
1773
  } | {
1590
1774
  country: string;
1591
1775
  district: string;
@@ -1608,8 +1792,9 @@ export declare const EventDocument: z.ZodObject<{
1608
1792
  option: string;
1609
1793
  filename: string;
1610
1794
  originalFilename: string;
1611
- }[] | undefined>;
1612
- createdAtLocation: string;
1795
+ }[] | [string, string] | null | undefined>;
1796
+ createdBySignature?: string | null | undefined;
1797
+ createdAtLocation?: string | null | undefined;
1613
1798
  annotation?: Record<string, string | number | boolean | {
1614
1799
  type: string;
1615
1800
  filename: string;
@@ -1625,6 +1810,10 @@ export declare const EventDocument: z.ZodObject<{
1625
1810
  residentialArea?: string | null | undefined;
1626
1811
  street?: string | null | undefined;
1627
1812
  zipCode?: string | null | undefined;
1813
+ } | {
1814
+ firstname: string;
1815
+ surname: string;
1816
+ middlename?: string | null | undefined;
1628
1817
  } | {
1629
1818
  country: string;
1630
1819
  district: string;
@@ -1647,15 +1836,17 @@ export declare const EventDocument: z.ZodObject<{
1647
1836
  option: string;
1648
1837
  filename: string;
1649
1838
  originalFilename: string;
1650
- }[] | undefined> | undefined;
1651
- originalActionId?: string | undefined;
1839
+ }[] | [string, string] | null | undefined> | null | undefined;
1840
+ originalActionId?: string | null | undefined;
1652
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1653
- id: z.ZodString;
1842
+ id: z.ZodBranded<z.ZodString, "UUID">;
1654
1843
  transactionId: z.ZodString;
1655
1844
  createdAt: z.ZodString;
1656
1845
  createdBy: z.ZodString;
1657
1846
  createdByRole: z.ZodString;
1658
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1847
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1849
+ 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<{
1659
1850
  filename: z.ZodString;
1660
1851
  originalFilename: z.ZodString;
1661
1852
  type: z.ZodString;
@@ -1768,8 +1959,20 @@ export declare const EventDocument: z.ZodObject<{
1768
1959
  addressLine2?: string | null | undefined;
1769
1960
  addressLine3?: string | null | undefined;
1770
1961
  postcodeOrZip?: string | null | undefined;
1771
- }>]>>;
1772
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1962
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1963
+ firstname: z.ZodString;
1964
+ surname: z.ZodString;
1965
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ firstname: string;
1968
+ surname: string;
1969
+ middlename?: string | null | undefined;
1970
+ }, {
1971
+ firstname: string;
1972
+ surname: string;
1973
+ middlename?: string | null | undefined;
1974
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1975
+ 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<{
1773
1976
  filename: z.ZodString;
1774
1977
  originalFilename: z.ZodString;
1775
1978
  type: z.ZodString;
@@ -1882,16 +2085,41 @@ export declare const EventDocument: z.ZodObject<{
1882
2085
  addressLine2?: string | null | undefined;
1883
2086
  addressLine3?: string | null | undefined;
1884
2087
  postcodeOrZip?: string | null | undefined;
1885
- }>]>>>;
1886
- createdAtLocation: z.ZodString;
2088
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2089
+ firstname: z.ZodString;
2090
+ surname: z.ZodString;
2091
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ firstname: string;
2094
+ surname: string;
2095
+ middlename?: string | null | undefined;
2096
+ }, {
2097
+ firstname: string;
2098
+ surname: string;
2099
+ middlename?: string | null | undefined;
2100
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1887
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1888
- originalActionId: z.ZodOptional<z.ZodString>;
2102
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1889
2103
  }, {
1890
2104
  type: z.ZodLiteral<"ARCHIVE">;
2105
+ reason: z.ZodObject<{
2106
+ message: z.ZodString;
2107
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2108
+ }, "strip", z.ZodTypeAny, {
2109
+ message: string;
2110
+ isDuplicate?: boolean | undefined;
2111
+ }, {
2112
+ message: string;
2113
+ isDuplicate?: boolean | undefined;
2114
+ }>;
1891
2115
  }>, "strip", z.ZodTypeAny, {
1892
2116
  type: "ARCHIVE";
1893
- id: string;
2117
+ id: string & z.BRAND<"UUID">;
1894
2118
  status: "Rejected" | "Requested" | "Accepted";
2119
+ reason: {
2120
+ message: string;
2121
+ isDuplicate?: boolean | undefined;
2122
+ };
1895
2123
  transactionId: string;
1896
2124
  createdAt: string;
1897
2125
  createdBy: string;
@@ -1911,6 +2139,10 @@ export declare const EventDocument: z.ZodObject<{
1911
2139
  residentialArea?: string | null | undefined;
1912
2140
  street?: string | null | undefined;
1913
2141
  zipCode?: string | null | undefined;
2142
+ } | {
2143
+ firstname: string;
2144
+ surname: string;
2145
+ middlename?: string | null | undefined;
1914
2146
  } | {
1915
2147
  country: string;
1916
2148
  district: string;
@@ -1933,8 +2165,9 @@ export declare const EventDocument: z.ZodObject<{
1933
2165
  option: string;
1934
2166
  filename: string;
1935
2167
  originalFilename: string;
1936
- }[] | undefined>;
1937
- createdAtLocation: string;
2168
+ }[] | [string, string] | null | undefined>;
2169
+ createdBySignature?: string | null | undefined;
2170
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1938
2171
  annotation?: Record<string, string | number | boolean | {
1939
2172
  type: string;
1940
2173
  filename: string;
@@ -1950,6 +2183,10 @@ export declare const EventDocument: z.ZodObject<{
1950
2183
  residentialArea?: string | null | undefined;
1951
2184
  street?: string | null | undefined;
1952
2185
  zipCode?: string | null | undefined;
2186
+ } | {
2187
+ firstname: string;
2188
+ surname: string;
2189
+ middlename?: string | null | undefined;
1953
2190
  } | {
1954
2191
  country: string;
1955
2192
  district: string;
@@ -1972,12 +2209,16 @@ export declare const EventDocument: z.ZodObject<{
1972
2209
  option: string;
1973
2210
  filename: string;
1974
2211
  originalFilename: string;
1975
- }[] | undefined> | undefined;
1976
- originalActionId?: string | undefined;
2212
+ }[] | [string, string] | null | undefined> | null | undefined;
2213
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1977
2214
  }, {
1978
2215
  type: "ARCHIVE";
1979
2216
  id: string;
1980
2217
  status: "Rejected" | "Requested" | "Accepted";
2218
+ reason: {
2219
+ message: string;
2220
+ isDuplicate?: boolean | undefined;
2221
+ };
1981
2222
  transactionId: string;
1982
2223
  createdAt: string;
1983
2224
  createdBy: string;
@@ -1997,6 +2238,10 @@ export declare const EventDocument: z.ZodObject<{
1997
2238
  residentialArea?: string | null | undefined;
1998
2239
  street?: string | null | undefined;
1999
2240
  zipCode?: string | null | undefined;
2241
+ } | {
2242
+ firstname: string;
2243
+ surname: string;
2244
+ middlename?: string | null | undefined;
2000
2245
  } | {
2001
2246
  country: string;
2002
2247
  district: string;
@@ -2019,8 +2264,9 @@ export declare const EventDocument: z.ZodObject<{
2019
2264
  option: string;
2020
2265
  filename: string;
2021
2266
  originalFilename: string;
2022
- }[] | undefined>;
2023
- createdAtLocation: string;
2267
+ }[] | [string, string] | null | undefined>;
2268
+ createdBySignature?: string | null | undefined;
2269
+ createdAtLocation?: string | null | undefined;
2024
2270
  annotation?: Record<string, string | number | boolean | {
2025
2271
  type: string;
2026
2272
  filename: string;
@@ -2036,6 +2282,10 @@ export declare const EventDocument: z.ZodObject<{
2036
2282
  residentialArea?: string | null | undefined;
2037
2283
  street?: string | null | undefined;
2038
2284
  zipCode?: string | null | undefined;
2285
+ } | {
2286
+ firstname: string;
2287
+ surname: string;
2288
+ middlename?: string | null | undefined;
2039
2289
  } | {
2040
2290
  country: string;
2041
2291
  district: string;
@@ -2058,15 +2308,17 @@ export declare const EventDocument: z.ZodObject<{
2058
2308
  option: string;
2059
2309
  filename: string;
2060
2310
  originalFilename: string;
2061
- }[] | undefined> | undefined;
2062
- originalActionId?: string | undefined;
2311
+ }[] | [string, string] | null | undefined> | null | undefined;
2312
+ originalActionId?: string | null | undefined;
2063
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2064
- id: z.ZodString;
2314
+ id: z.ZodBranded<z.ZodString, "UUID">;
2065
2315
  transactionId: z.ZodString;
2066
2316
  createdAt: z.ZodString;
2067
2317
  createdBy: z.ZodString;
2068
2318
  createdByRole: z.ZodString;
2069
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2319
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2321
+ 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<{
2070
2322
  filename: z.ZodString;
2071
2323
  originalFilename: z.ZodString;
2072
2324
  type: z.ZodString;
@@ -2179,8 +2431,20 @@ export declare const EventDocument: z.ZodObject<{
2179
2431
  addressLine2?: string | null | undefined;
2180
2432
  addressLine3?: string | null | undefined;
2181
2433
  postcodeOrZip?: string | null | undefined;
2182
- }>]>>;
2183
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2434
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2435
+ firstname: z.ZodString;
2436
+ surname: z.ZodString;
2437
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ firstname: string;
2440
+ surname: string;
2441
+ middlename?: string | null | undefined;
2442
+ }, {
2443
+ firstname: string;
2444
+ surname: string;
2445
+ middlename?: string | null | undefined;
2446
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2447
+ 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<{
2184
2448
  filename: z.ZodString;
2185
2449
  originalFilename: z.ZodString;
2186
2450
  type: z.ZodString;
@@ -2293,15 +2557,26 @@ export declare const EventDocument: z.ZodObject<{
2293
2557
  addressLine2?: string | null | undefined;
2294
2558
  addressLine3?: string | null | undefined;
2295
2559
  postcodeOrZip?: string | null | undefined;
2296
- }>]>>>;
2297
- createdAtLocation: z.ZodString;
2560
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2561
+ firstname: z.ZodString;
2562
+ surname: z.ZodString;
2563
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ firstname: string;
2566
+ surname: string;
2567
+ middlename?: string | null | undefined;
2568
+ }, {
2569
+ firstname: string;
2570
+ surname: string;
2571
+ middlename?: string | null | undefined;
2572
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2298
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2299
- originalActionId: z.ZodOptional<z.ZodString>;
2574
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2300
2575
  }, {
2301
2576
  type: z.ZodLiteral<"NOTIFY">;
2302
2577
  }>, "strip", z.ZodTypeAny, {
2303
2578
  type: "NOTIFY";
2304
- id: string;
2579
+ id: string & z.BRAND<"UUID">;
2305
2580
  status: "Rejected" | "Requested" | "Accepted";
2306
2581
  transactionId: string;
2307
2582
  createdAt: string;
@@ -2322,6 +2597,10 @@ export declare const EventDocument: z.ZodObject<{
2322
2597
  residentialArea?: string | null | undefined;
2323
2598
  street?: string | null | undefined;
2324
2599
  zipCode?: string | null | undefined;
2600
+ } | {
2601
+ firstname: string;
2602
+ surname: string;
2603
+ middlename?: string | null | undefined;
2325
2604
  } | {
2326
2605
  country: string;
2327
2606
  district: string;
@@ -2344,8 +2623,9 @@ export declare const EventDocument: z.ZodObject<{
2344
2623
  option: string;
2345
2624
  filename: string;
2346
2625
  originalFilename: string;
2347
- }[] | undefined>;
2348
- createdAtLocation: string;
2626
+ }[] | [string, string] | null | undefined>;
2627
+ createdBySignature?: string | null | undefined;
2628
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2349
2629
  annotation?: Record<string, string | number | boolean | {
2350
2630
  type: string;
2351
2631
  filename: string;
@@ -2361,6 +2641,10 @@ export declare const EventDocument: z.ZodObject<{
2361
2641
  residentialArea?: string | null | undefined;
2362
2642
  street?: string | null | undefined;
2363
2643
  zipCode?: string | null | undefined;
2644
+ } | {
2645
+ firstname: string;
2646
+ surname: string;
2647
+ middlename?: string | null | undefined;
2364
2648
  } | {
2365
2649
  country: string;
2366
2650
  district: string;
@@ -2383,8 +2667,8 @@ export declare const EventDocument: z.ZodObject<{
2383
2667
  option: string;
2384
2668
  filename: string;
2385
2669
  originalFilename: string;
2386
- }[] | undefined> | undefined;
2387
- originalActionId?: string | undefined;
2670
+ }[] | [string, string] | null | undefined> | null | undefined;
2671
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2388
2672
  }, {
2389
2673
  type: "NOTIFY";
2390
2674
  id: string;
@@ -2408,6 +2692,10 @@ export declare const EventDocument: z.ZodObject<{
2408
2692
  residentialArea?: string | null | undefined;
2409
2693
  street?: string | null | undefined;
2410
2694
  zipCode?: string | null | undefined;
2695
+ } | {
2696
+ firstname: string;
2697
+ surname: string;
2698
+ middlename?: string | null | undefined;
2411
2699
  } | {
2412
2700
  country: string;
2413
2701
  district: string;
@@ -2430,8 +2718,9 @@ export declare const EventDocument: z.ZodObject<{
2430
2718
  option: string;
2431
2719
  filename: string;
2432
2720
  originalFilename: string;
2433
- }[] | undefined>;
2434
- createdAtLocation: string;
2721
+ }[] | [string, string] | null | undefined>;
2722
+ createdBySignature?: string | null | undefined;
2723
+ createdAtLocation?: string | null | undefined;
2435
2724
  annotation?: Record<string, string | number | boolean | {
2436
2725
  type: string;
2437
2726
  filename: string;
@@ -2447,6 +2736,10 @@ export declare const EventDocument: z.ZodObject<{
2447
2736
  residentialArea?: string | null | undefined;
2448
2737
  street?: string | null | undefined;
2449
2738
  zipCode?: string | null | undefined;
2739
+ } | {
2740
+ firstname: string;
2741
+ surname: string;
2742
+ middlename?: string | null | undefined;
2450
2743
  } | {
2451
2744
  country: string;
2452
2745
  district: string;
@@ -2469,15 +2762,17 @@ export declare const EventDocument: z.ZodObject<{
2469
2762
  option: string;
2470
2763
  filename: string;
2471
2764
  originalFilename: string;
2472
- }[] | undefined> | undefined;
2473
- originalActionId?: string | undefined;
2765
+ }[] | [string, string] | null | undefined> | null | undefined;
2766
+ originalActionId?: string | null | undefined;
2474
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2475
- id: z.ZodString;
2768
+ id: z.ZodBranded<z.ZodString, "UUID">;
2476
2769
  transactionId: z.ZodString;
2477
2770
  createdAt: z.ZodString;
2478
2771
  createdBy: z.ZodString;
2479
2772
  createdByRole: z.ZodString;
2480
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2773
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2775
+ 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<{
2481
2776
  filename: z.ZodString;
2482
2777
  originalFilename: z.ZodString;
2483
2778
  type: z.ZodString;
@@ -2590,8 +2885,20 @@ export declare const EventDocument: z.ZodObject<{
2590
2885
  addressLine2?: string | null | undefined;
2591
2886
  addressLine3?: string | null | undefined;
2592
2887
  postcodeOrZip?: string | null | undefined;
2593
- }>]>>;
2594
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2888
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2889
+ firstname: z.ZodString;
2890
+ surname: z.ZodString;
2891
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2892
+ }, "strip", z.ZodTypeAny, {
2893
+ firstname: string;
2894
+ surname: string;
2895
+ middlename?: string | null | undefined;
2896
+ }, {
2897
+ firstname: string;
2898
+ surname: string;
2899
+ middlename?: string | null | undefined;
2900
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2901
+ 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<{
2595
2902
  filename: z.ZodString;
2596
2903
  originalFilename: z.ZodString;
2597
2904
  type: z.ZodString;
@@ -2704,16 +3011,27 @@ export declare const EventDocument: z.ZodObject<{
2704
3011
  addressLine2?: string | null | undefined;
2705
3012
  addressLine3?: string | null | undefined;
2706
3013
  postcodeOrZip?: string | null | undefined;
2707
- }>]>>>;
2708
- createdAtLocation: z.ZodString;
3014
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3015
+ firstname: z.ZodString;
3016
+ surname: z.ZodString;
3017
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ firstname: string;
3020
+ surname: string;
3021
+ middlename?: string | null | undefined;
3022
+ }, {
3023
+ firstname: string;
3024
+ surname: string;
3025
+ middlename?: string | null | undefined;
3026
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2709
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2710
- originalActionId: z.ZodOptional<z.ZodString>;
3028
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2711
3029
  }, {
2712
3030
  type: z.ZodLiteral<"REGISTER">;
2713
3031
  registrationNumber: z.ZodOptional<z.ZodString>;
2714
3032
  }>, "strip", z.ZodTypeAny, {
2715
3033
  type: "REGISTER";
2716
- id: string;
3034
+ id: string & z.BRAND<"UUID">;
2717
3035
  status: "Rejected" | "Requested" | "Accepted";
2718
3036
  transactionId: string;
2719
3037
  createdAt: string;
@@ -2734,6 +3052,10 @@ export declare const EventDocument: z.ZodObject<{
2734
3052
  residentialArea?: string | null | undefined;
2735
3053
  street?: string | null | undefined;
2736
3054
  zipCode?: string | null | undefined;
3055
+ } | {
3056
+ firstname: string;
3057
+ surname: string;
3058
+ middlename?: string | null | undefined;
2737
3059
  } | {
2738
3060
  country: string;
2739
3061
  district: string;
@@ -2756,8 +3078,9 @@ export declare const EventDocument: z.ZodObject<{
2756
3078
  option: string;
2757
3079
  filename: string;
2758
3080
  originalFilename: string;
2759
- }[] | undefined>;
2760
- createdAtLocation: string;
3081
+ }[] | [string, string] | null | undefined>;
3082
+ createdBySignature?: string | null | undefined;
3083
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2761
3084
  annotation?: Record<string, string | number | boolean | {
2762
3085
  type: string;
2763
3086
  filename: string;
@@ -2773,6 +3096,10 @@ export declare const EventDocument: z.ZodObject<{
2773
3096
  residentialArea?: string | null | undefined;
2774
3097
  street?: string | null | undefined;
2775
3098
  zipCode?: string | null | undefined;
3099
+ } | {
3100
+ firstname: string;
3101
+ surname: string;
3102
+ middlename?: string | null | undefined;
2776
3103
  } | {
2777
3104
  country: string;
2778
3105
  district: string;
@@ -2795,8 +3122,8 @@ export declare const EventDocument: z.ZodObject<{
2795
3122
  option: string;
2796
3123
  filename: string;
2797
3124
  originalFilename: string;
2798
- }[] | undefined> | undefined;
2799
- originalActionId?: string | undefined;
3125
+ }[] | [string, string] | null | undefined> | null | undefined;
3126
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2800
3127
  registrationNumber?: string | undefined;
2801
3128
  }, {
2802
3129
  type: "REGISTER";
@@ -2821,6 +3148,10 @@ export declare const EventDocument: z.ZodObject<{
2821
3148
  residentialArea?: string | null | undefined;
2822
3149
  street?: string | null | undefined;
2823
3150
  zipCode?: string | null | undefined;
3151
+ } | {
3152
+ firstname: string;
3153
+ surname: string;
3154
+ middlename?: string | null | undefined;
2824
3155
  } | {
2825
3156
  country: string;
2826
3157
  district: string;
@@ -2843,8 +3174,9 @@ export declare const EventDocument: z.ZodObject<{
2843
3174
  option: string;
2844
3175
  filename: string;
2845
3176
  originalFilename: string;
2846
- }[] | undefined>;
2847
- createdAtLocation: string;
3177
+ }[] | [string, string] | null | undefined>;
3178
+ createdBySignature?: string | null | undefined;
3179
+ createdAtLocation?: string | null | undefined;
2848
3180
  annotation?: Record<string, string | number | boolean | {
2849
3181
  type: string;
2850
3182
  filename: string;
@@ -2860,6 +3192,10 @@ export declare const EventDocument: z.ZodObject<{
2860
3192
  residentialArea?: string | null | undefined;
2861
3193
  street?: string | null | undefined;
2862
3194
  zipCode?: string | null | undefined;
3195
+ } | {
3196
+ firstname: string;
3197
+ surname: string;
3198
+ middlename?: string | null | undefined;
2863
3199
  } | {
2864
3200
  country: string;
2865
3201
  district: string;
@@ -2882,16 +3218,18 @@ export declare const EventDocument: z.ZodObject<{
2882
3218
  option: string;
2883
3219
  filename: string;
2884
3220
  originalFilename: string;
2885
- }[] | undefined> | undefined;
2886
- originalActionId?: string | undefined;
3221
+ }[] | [string, string] | null | undefined> | null | undefined;
3222
+ originalActionId?: string | null | undefined;
2887
3223
  registrationNumber?: string | undefined;
2888
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
2889
- id: z.ZodString;
3225
+ id: z.ZodBranded<z.ZodString, "UUID">;
2890
3226
  transactionId: z.ZodString;
2891
3227
  createdAt: z.ZodString;
2892
3228
  createdBy: z.ZodString;
2893
3229
  createdByRole: z.ZodString;
2894
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3230
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3232
+ 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<{
2895
3233
  filename: z.ZodString;
2896
3234
  originalFilename: z.ZodString;
2897
3235
  type: z.ZodString;
@@ -3004,8 +3342,20 @@ export declare const EventDocument: z.ZodObject<{
3004
3342
  addressLine2?: string | null | undefined;
3005
3343
  addressLine3?: string | null | undefined;
3006
3344
  postcodeOrZip?: string | null | undefined;
3007
- }>]>>;
3008
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3345
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3346
+ firstname: z.ZodString;
3347
+ surname: z.ZodString;
3348
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3349
+ }, "strip", z.ZodTypeAny, {
3350
+ firstname: string;
3351
+ surname: string;
3352
+ middlename?: string | null | undefined;
3353
+ }, {
3354
+ firstname: string;
3355
+ surname: string;
3356
+ middlename?: string | null | undefined;
3357
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3358
+ 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<{
3009
3359
  filename: z.ZodString;
3010
3360
  originalFilename: z.ZodString;
3011
3361
  type: z.ZodString;
@@ -3118,15 +3468,26 @@ export declare const EventDocument: z.ZodObject<{
3118
3468
  addressLine2?: string | null | undefined;
3119
3469
  addressLine3?: string | null | undefined;
3120
3470
  postcodeOrZip?: string | null | undefined;
3121
- }>]>>>;
3122
- createdAtLocation: z.ZodString;
3471
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3472
+ firstname: z.ZodString;
3473
+ surname: z.ZodString;
3474
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3475
+ }, "strip", z.ZodTypeAny, {
3476
+ firstname: string;
3477
+ surname: string;
3478
+ middlename?: string | null | undefined;
3479
+ }, {
3480
+ firstname: string;
3481
+ surname: string;
3482
+ middlename?: string | null | undefined;
3483
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3123
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3124
- originalActionId: z.ZodOptional<z.ZodString>;
3485
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3125
3486
  }, {
3126
3487
  type: z.ZodLiteral<"DECLARE">;
3127
3488
  }>, "strip", z.ZodTypeAny, {
3128
3489
  type: "DECLARE";
3129
- id: string;
3490
+ id: string & z.BRAND<"UUID">;
3130
3491
  status: "Rejected" | "Requested" | "Accepted";
3131
3492
  transactionId: string;
3132
3493
  createdAt: string;
@@ -3147,6 +3508,10 @@ export declare const EventDocument: z.ZodObject<{
3147
3508
  residentialArea?: string | null | undefined;
3148
3509
  street?: string | null | undefined;
3149
3510
  zipCode?: string | null | undefined;
3511
+ } | {
3512
+ firstname: string;
3513
+ surname: string;
3514
+ middlename?: string | null | undefined;
3150
3515
  } | {
3151
3516
  country: string;
3152
3517
  district: string;
@@ -3169,8 +3534,9 @@ export declare const EventDocument: z.ZodObject<{
3169
3534
  option: string;
3170
3535
  filename: string;
3171
3536
  originalFilename: string;
3172
- }[] | undefined>;
3173
- createdAtLocation: string;
3537
+ }[] | [string, string] | null | undefined>;
3538
+ createdBySignature?: string | null | undefined;
3539
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3174
3540
  annotation?: Record<string, string | number | boolean | {
3175
3541
  type: string;
3176
3542
  filename: string;
@@ -3186,6 +3552,10 @@ export declare const EventDocument: z.ZodObject<{
3186
3552
  residentialArea?: string | null | undefined;
3187
3553
  street?: string | null | undefined;
3188
3554
  zipCode?: string | null | undefined;
3555
+ } | {
3556
+ firstname: string;
3557
+ surname: string;
3558
+ middlename?: string | null | undefined;
3189
3559
  } | {
3190
3560
  country: string;
3191
3561
  district: string;
@@ -3208,8 +3578,8 @@ export declare const EventDocument: z.ZodObject<{
3208
3578
  option: string;
3209
3579
  filename: string;
3210
3580
  originalFilename: string;
3211
- }[] | undefined> | undefined;
3212
- originalActionId?: string | undefined;
3581
+ }[] | [string, string] | null | undefined> | null | undefined;
3582
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3213
3583
  }, {
3214
3584
  type: "DECLARE";
3215
3585
  id: string;
@@ -3233,6 +3603,10 @@ export declare const EventDocument: z.ZodObject<{
3233
3603
  residentialArea?: string | null | undefined;
3234
3604
  street?: string | null | undefined;
3235
3605
  zipCode?: string | null | undefined;
3606
+ } | {
3607
+ firstname: string;
3608
+ surname: string;
3609
+ middlename?: string | null | undefined;
3236
3610
  } | {
3237
3611
  country: string;
3238
3612
  district: string;
@@ -3255,8 +3629,9 @@ export declare const EventDocument: z.ZodObject<{
3255
3629
  option: string;
3256
3630
  filename: string;
3257
3631
  originalFilename: string;
3258
- }[] | undefined>;
3259
- createdAtLocation: string;
3632
+ }[] | [string, string] | null | undefined>;
3633
+ createdBySignature?: string | null | undefined;
3634
+ createdAtLocation?: string | null | undefined;
3260
3635
  annotation?: Record<string, string | number | boolean | {
3261
3636
  type: string;
3262
3637
  filename: string;
@@ -3272,6 +3647,10 @@ export declare const EventDocument: z.ZodObject<{
3272
3647
  residentialArea?: string | null | undefined;
3273
3648
  street?: string | null | undefined;
3274
3649
  zipCode?: string | null | undefined;
3650
+ } | {
3651
+ firstname: string;
3652
+ surname: string;
3653
+ middlename?: string | null | undefined;
3275
3654
  } | {
3276
3655
  country: string;
3277
3656
  district: string;
@@ -3294,15 +3673,17 @@ export declare const EventDocument: z.ZodObject<{
3294
3673
  option: string;
3295
3674
  filename: string;
3296
3675
  originalFilename: string;
3297
- }[] | undefined> | undefined;
3298
- originalActionId?: string | undefined;
3676
+ }[] | [string, string] | null | undefined> | null | undefined;
3677
+ originalActionId?: string | null | undefined;
3299
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3300
- id: z.ZodString;
3679
+ id: z.ZodBranded<z.ZodString, "UUID">;
3301
3680
  transactionId: z.ZodString;
3302
3681
  createdAt: z.ZodString;
3303
3682
  createdBy: z.ZodString;
3304
3683
  createdByRole: z.ZodString;
3305
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3684
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3686
+ 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<{
3306
3687
  filename: z.ZodString;
3307
3688
  originalFilename: z.ZodString;
3308
3689
  type: z.ZodString;
@@ -3415,8 +3796,20 @@ export declare const EventDocument: z.ZodObject<{
3415
3796
  addressLine2?: string | null | undefined;
3416
3797
  addressLine3?: string | null | undefined;
3417
3798
  postcodeOrZip?: string | null | undefined;
3418
- }>]>>;
3419
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3799
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3800
+ firstname: z.ZodString;
3801
+ surname: z.ZodString;
3802
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3803
+ }, "strip", z.ZodTypeAny, {
3804
+ firstname: string;
3805
+ surname: string;
3806
+ middlename?: string | null | undefined;
3807
+ }, {
3808
+ firstname: string;
3809
+ surname: string;
3810
+ middlename?: string | null | undefined;
3811
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3812
+ 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<{
3420
3813
  filename: z.ZodString;
3421
3814
  originalFilename: z.ZodString;
3422
3815
  type: z.ZodString;
@@ -3529,16 +3922,27 @@ export declare const EventDocument: z.ZodObject<{
3529
3922
  addressLine2?: string | null | undefined;
3530
3923
  addressLine3?: string | null | undefined;
3531
3924
  postcodeOrZip?: string | null | undefined;
3532
- }>]>>>;
3533
- createdAtLocation: z.ZodString;
3925
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3926
+ firstname: z.ZodString;
3927
+ surname: z.ZodString;
3928
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3929
+ }, "strip", z.ZodTypeAny, {
3930
+ firstname: string;
3931
+ surname: string;
3932
+ middlename?: string | null | undefined;
3933
+ }, {
3934
+ firstname: string;
3935
+ surname: string;
3936
+ middlename?: string | null | undefined;
3937
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3534
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3535
- originalActionId: z.ZodOptional<z.ZodString>;
3939
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3536
3940
  }, {
3537
3941
  type: z.ZodLiteral<"ASSIGN">;
3538
3942
  assignedTo: z.ZodString;
3539
3943
  }>, "strip", z.ZodTypeAny, {
3540
3944
  type: "ASSIGN";
3541
- id: string;
3945
+ id: string & z.BRAND<"UUID">;
3542
3946
  status: "Rejected" | "Requested" | "Accepted";
3543
3947
  transactionId: string;
3544
3948
  createdAt: string;
@@ -3559,6 +3963,10 @@ export declare const EventDocument: z.ZodObject<{
3559
3963
  residentialArea?: string | null | undefined;
3560
3964
  street?: string | null | undefined;
3561
3965
  zipCode?: string | null | undefined;
3966
+ } | {
3967
+ firstname: string;
3968
+ surname: string;
3969
+ middlename?: string | null | undefined;
3562
3970
  } | {
3563
3971
  country: string;
3564
3972
  district: string;
@@ -3581,9 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3581
3989
  option: string;
3582
3990
  filename: string;
3583
3991
  originalFilename: string;
3584
- }[] | undefined>;
3585
- createdAtLocation: string;
3992
+ }[] | [string, string] | null | undefined>;
3586
3993
  assignedTo: string;
3994
+ createdBySignature?: string | null | undefined;
3995
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3587
3996
  annotation?: Record<string, string | number | boolean | {
3588
3997
  type: string;
3589
3998
  filename: string;
@@ -3599,6 +4008,10 @@ export declare const EventDocument: z.ZodObject<{
3599
4008
  residentialArea?: string | null | undefined;
3600
4009
  street?: string | null | undefined;
3601
4010
  zipCode?: string | null | undefined;
4011
+ } | {
4012
+ firstname: string;
4013
+ surname: string;
4014
+ middlename?: string | null | undefined;
3602
4015
  } | {
3603
4016
  country: string;
3604
4017
  district: string;
@@ -3621,8 +4034,8 @@ export declare const EventDocument: z.ZodObject<{
3621
4034
  option: string;
3622
4035
  filename: string;
3623
4036
  originalFilename: string;
3624
- }[] | undefined> | undefined;
3625
- originalActionId?: string | undefined;
4037
+ }[] | [string, string] | null | undefined> | null | undefined;
4038
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3626
4039
  }, {
3627
4040
  type: "ASSIGN";
3628
4041
  id: string;
@@ -3646,6 +4059,10 @@ export declare const EventDocument: z.ZodObject<{
3646
4059
  residentialArea?: string | null | undefined;
3647
4060
  street?: string | null | undefined;
3648
4061
  zipCode?: string | null | undefined;
4062
+ } | {
4063
+ firstname: string;
4064
+ surname: string;
4065
+ middlename?: string | null | undefined;
3649
4066
  } | {
3650
4067
  country: string;
3651
4068
  district: string;
@@ -3668,9 +4085,10 @@ export declare const EventDocument: z.ZodObject<{
3668
4085
  option: string;
3669
4086
  filename: string;
3670
4087
  originalFilename: string;
3671
- }[] | undefined>;
3672
- createdAtLocation: string;
4088
+ }[] | [string, string] | null | undefined>;
3673
4089
  assignedTo: string;
4090
+ createdBySignature?: string | null | undefined;
4091
+ createdAtLocation?: string | null | undefined;
3674
4092
  annotation?: Record<string, string | number | boolean | {
3675
4093
  type: string;
3676
4094
  filename: string;
@@ -3686,6 +4104,10 @@ export declare const EventDocument: z.ZodObject<{
3686
4104
  residentialArea?: string | null | undefined;
3687
4105
  street?: string | null | undefined;
3688
4106
  zipCode?: string | null | undefined;
4107
+ } | {
4108
+ firstname: string;
4109
+ surname: string;
4110
+ middlename?: string | null | undefined;
3689
4111
  } | {
3690
4112
  country: string;
3691
4113
  district: string;
@@ -3708,15 +4130,17 @@ export declare const EventDocument: z.ZodObject<{
3708
4130
  option: string;
3709
4131
  filename: string;
3710
4132
  originalFilename: string;
3711
- }[] | undefined> | undefined;
3712
- originalActionId?: string | undefined;
4133
+ }[] | [string, string] | null | undefined> | null | undefined;
4134
+ originalActionId?: string | null | undefined;
3713
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
3714
- id: z.ZodString;
4136
+ id: z.ZodBranded<z.ZodString, "UUID">;
3715
4137
  transactionId: z.ZodString;
3716
4138
  createdAt: z.ZodString;
3717
4139
  createdBy: z.ZodString;
3718
4140
  createdByRole: z.ZodString;
3719
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4141
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4143
+ 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<{
3720
4144
  filename: z.ZodString;
3721
4145
  originalFilename: z.ZodString;
3722
4146
  type: z.ZodString;
@@ -3829,8 +4253,20 @@ export declare const EventDocument: z.ZodObject<{
3829
4253
  addressLine2?: string | null | undefined;
3830
4254
  addressLine3?: string | null | undefined;
3831
4255
  postcodeOrZip?: string | null | undefined;
3832
- }>]>>;
3833
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4256
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4257
+ firstname: z.ZodString;
4258
+ surname: z.ZodString;
4259
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4260
+ }, "strip", z.ZodTypeAny, {
4261
+ firstname: string;
4262
+ surname: string;
4263
+ middlename?: string | null | undefined;
4264
+ }, {
4265
+ firstname: string;
4266
+ surname: string;
4267
+ middlename?: string | null | undefined;
4268
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4269
+ 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<{
3834
4270
  filename: z.ZodString;
3835
4271
  originalFilename: z.ZodString;
3836
4272
  type: z.ZodString;
@@ -3943,15 +4379,26 @@ export declare const EventDocument: z.ZodObject<{
3943
4379
  addressLine2?: string | null | undefined;
3944
4380
  addressLine3?: string | null | undefined;
3945
4381
  postcodeOrZip?: string | null | undefined;
3946
- }>]>>>;
3947
- createdAtLocation: z.ZodString;
4382
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4383
+ firstname: z.ZodString;
4384
+ surname: z.ZodString;
4385
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
+ }, "strip", z.ZodTypeAny, {
4387
+ firstname: string;
4388
+ surname: string;
4389
+ middlename?: string | null | undefined;
4390
+ }, {
4391
+ firstname: string;
4392
+ surname: string;
4393
+ middlename?: string | null | undefined;
4394
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3948
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3949
- originalActionId: z.ZodOptional<z.ZodString>;
4396
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3950
4397
  }, {
3951
4398
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
3952
4399
  }>, "strip", z.ZodTypeAny, {
3953
4400
  type: "REQUEST_CORRECTION";
3954
- id: string;
4401
+ id: string & z.BRAND<"UUID">;
3955
4402
  status: "Rejected" | "Requested" | "Accepted";
3956
4403
  transactionId: string;
3957
4404
  createdAt: string;
@@ -3972,6 +4419,10 @@ export declare const EventDocument: z.ZodObject<{
3972
4419
  residentialArea?: string | null | undefined;
3973
4420
  street?: string | null | undefined;
3974
4421
  zipCode?: string | null | undefined;
4422
+ } | {
4423
+ firstname: string;
4424
+ surname: string;
4425
+ middlename?: string | null | undefined;
3975
4426
  } | {
3976
4427
  country: string;
3977
4428
  district: string;
@@ -3994,8 +4445,9 @@ export declare const EventDocument: z.ZodObject<{
3994
4445
  option: string;
3995
4446
  filename: string;
3996
4447
  originalFilename: string;
3997
- }[] | undefined>;
3998
- createdAtLocation: string;
4448
+ }[] | [string, string] | null | undefined>;
4449
+ createdBySignature?: string | null | undefined;
4450
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3999
4451
  annotation?: Record<string, string | number | boolean | {
4000
4452
  type: string;
4001
4453
  filename: string;
@@ -4011,6 +4463,10 @@ export declare const EventDocument: z.ZodObject<{
4011
4463
  residentialArea?: string | null | undefined;
4012
4464
  street?: string | null | undefined;
4013
4465
  zipCode?: string | null | undefined;
4466
+ } | {
4467
+ firstname: string;
4468
+ surname: string;
4469
+ middlename?: string | null | undefined;
4014
4470
  } | {
4015
4471
  country: string;
4016
4472
  district: string;
@@ -4033,8 +4489,8 @@ export declare const EventDocument: z.ZodObject<{
4033
4489
  option: string;
4034
4490
  filename: string;
4035
4491
  originalFilename: string;
4036
- }[] | undefined> | undefined;
4037
- originalActionId?: string | undefined;
4492
+ }[] | [string, string] | null | undefined> | null | undefined;
4493
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4038
4494
  }, {
4039
4495
  type: "REQUEST_CORRECTION";
4040
4496
  id: string;
@@ -4058,6 +4514,10 @@ export declare const EventDocument: z.ZodObject<{
4058
4514
  residentialArea?: string | null | undefined;
4059
4515
  street?: string | null | undefined;
4060
4516
  zipCode?: string | null | undefined;
4517
+ } | {
4518
+ firstname: string;
4519
+ surname: string;
4520
+ middlename?: string | null | undefined;
4061
4521
  } | {
4062
4522
  country: string;
4063
4523
  district: string;
@@ -4080,8 +4540,9 @@ export declare const EventDocument: z.ZodObject<{
4080
4540
  option: string;
4081
4541
  filename: string;
4082
4542
  originalFilename: string;
4083
- }[] | undefined>;
4084
- createdAtLocation: string;
4543
+ }[] | [string, string] | null | undefined>;
4544
+ createdBySignature?: string | null | undefined;
4545
+ createdAtLocation?: string | null | undefined;
4085
4546
  annotation?: Record<string, string | number | boolean | {
4086
4547
  type: string;
4087
4548
  filename: string;
@@ -4097,6 +4558,10 @@ export declare const EventDocument: z.ZodObject<{
4097
4558
  residentialArea?: string | null | undefined;
4098
4559
  street?: string | null | undefined;
4099
4560
  zipCode?: string | null | undefined;
4561
+ } | {
4562
+ firstname: string;
4563
+ surname: string;
4564
+ middlename?: string | null | undefined;
4100
4565
  } | {
4101
4566
  country: string;
4102
4567
  district: string;
@@ -4119,15 +4584,17 @@ export declare const EventDocument: z.ZodObject<{
4119
4584
  option: string;
4120
4585
  filename: string;
4121
4586
  originalFilename: string;
4122
- }[] | undefined> | undefined;
4123
- originalActionId?: string | undefined;
4587
+ }[] | [string, string] | null | undefined> | null | undefined;
4588
+ originalActionId?: string | null | undefined;
4124
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4125
- id: z.ZodString;
4590
+ id: z.ZodBranded<z.ZodString, "UUID">;
4126
4591
  transactionId: z.ZodString;
4127
4592
  createdAt: z.ZodString;
4128
4593
  createdBy: z.ZodString;
4129
4594
  createdByRole: z.ZodString;
4130
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4595
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4597
+ 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<{
4131
4598
  filename: z.ZodString;
4132
4599
  originalFilename: z.ZodString;
4133
4600
  type: z.ZodString;
@@ -4240,8 +4707,20 @@ export declare const EventDocument: z.ZodObject<{
4240
4707
  addressLine2?: string | null | undefined;
4241
4708
  addressLine3?: string | null | undefined;
4242
4709
  postcodeOrZip?: string | null | undefined;
4243
- }>]>>;
4244
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4710
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4711
+ firstname: z.ZodString;
4712
+ surname: z.ZodString;
4713
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4714
+ }, "strip", z.ZodTypeAny, {
4715
+ firstname: string;
4716
+ surname: string;
4717
+ middlename?: string | null | undefined;
4718
+ }, {
4719
+ firstname: string;
4720
+ surname: string;
4721
+ middlename?: string | null | undefined;
4722
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4723
+ 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<{
4245
4724
  filename: z.ZodString;
4246
4725
  originalFilename: z.ZodString;
4247
4726
  type: z.ZodString;
@@ -4354,16 +4833,27 @@ export declare const EventDocument: z.ZodObject<{
4354
4833
  addressLine2?: string | null | undefined;
4355
4834
  addressLine3?: string | null | undefined;
4356
4835
  postcodeOrZip?: string | null | undefined;
4357
- }>]>>>;
4358
- createdAtLocation: z.ZodString;
4836
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4837
+ firstname: z.ZodString;
4838
+ surname: z.ZodString;
4839
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4840
+ }, "strip", z.ZodTypeAny, {
4841
+ firstname: string;
4842
+ surname: string;
4843
+ middlename?: string | null | undefined;
4844
+ }, {
4845
+ firstname: string;
4846
+ surname: string;
4847
+ middlename?: string | null | undefined;
4848
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4359
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4360
- originalActionId: z.ZodOptional<z.ZodString>;
4850
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4361
4851
  }, {
4362
4852
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4363
4853
  requestId: z.ZodString;
4364
4854
  }>, "strip", z.ZodTypeAny, {
4365
4855
  type: "APPROVE_CORRECTION";
4366
- id: string;
4856
+ id: string & z.BRAND<"UUID">;
4367
4857
  status: "Rejected" | "Requested" | "Accepted";
4368
4858
  transactionId: string;
4369
4859
  createdAt: string;
@@ -4384,6 +4874,10 @@ export declare const EventDocument: z.ZodObject<{
4384
4874
  residentialArea?: string | null | undefined;
4385
4875
  street?: string | null | undefined;
4386
4876
  zipCode?: string | null | undefined;
4877
+ } | {
4878
+ firstname: string;
4879
+ surname: string;
4880
+ middlename?: string | null | undefined;
4387
4881
  } | {
4388
4882
  country: string;
4389
4883
  district: string;
@@ -4406,9 +4900,10 @@ export declare const EventDocument: z.ZodObject<{
4406
4900
  option: string;
4407
4901
  filename: string;
4408
4902
  originalFilename: string;
4409
- }[] | undefined>;
4410
- createdAtLocation: string;
4903
+ }[] | [string, string] | null | undefined>;
4411
4904
  requestId: string;
4905
+ createdBySignature?: string | null | undefined;
4906
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4412
4907
  annotation?: Record<string, string | number | boolean | {
4413
4908
  type: string;
4414
4909
  filename: string;
@@ -4424,6 +4919,10 @@ export declare const EventDocument: z.ZodObject<{
4424
4919
  residentialArea?: string | null | undefined;
4425
4920
  street?: string | null | undefined;
4426
4921
  zipCode?: string | null | undefined;
4922
+ } | {
4923
+ firstname: string;
4924
+ surname: string;
4925
+ middlename?: string | null | undefined;
4427
4926
  } | {
4428
4927
  country: string;
4429
4928
  district: string;
@@ -4446,8 +4945,8 @@ export declare const EventDocument: z.ZodObject<{
4446
4945
  option: string;
4447
4946
  filename: string;
4448
4947
  originalFilename: string;
4449
- }[] | undefined> | undefined;
4450
- originalActionId?: string | undefined;
4948
+ }[] | [string, string] | null | undefined> | null | undefined;
4949
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4451
4950
  }, {
4452
4951
  type: "APPROVE_CORRECTION";
4453
4952
  id: string;
@@ -4471,6 +4970,10 @@ export declare const EventDocument: z.ZodObject<{
4471
4970
  residentialArea?: string | null | undefined;
4472
4971
  street?: string | null | undefined;
4473
4972
  zipCode?: string | null | undefined;
4973
+ } | {
4974
+ firstname: string;
4975
+ surname: string;
4976
+ middlename?: string | null | undefined;
4474
4977
  } | {
4475
4978
  country: string;
4476
4979
  district: string;
@@ -4493,9 +4996,10 @@ export declare const EventDocument: z.ZodObject<{
4493
4996
  option: string;
4494
4997
  filename: string;
4495
4998
  originalFilename: string;
4496
- }[] | undefined>;
4497
- createdAtLocation: string;
4999
+ }[] | [string, string] | null | undefined>;
4498
5000
  requestId: string;
5001
+ createdBySignature?: string | null | undefined;
5002
+ createdAtLocation?: string | null | undefined;
4499
5003
  annotation?: Record<string, string | number | boolean | {
4500
5004
  type: string;
4501
5005
  filename: string;
@@ -4511,6 +5015,10 @@ export declare const EventDocument: z.ZodObject<{
4511
5015
  residentialArea?: string | null | undefined;
4512
5016
  street?: string | null | undefined;
4513
5017
  zipCode?: string | null | undefined;
5018
+ } | {
5019
+ firstname: string;
5020
+ surname: string;
5021
+ middlename?: string | null | undefined;
4514
5022
  } | {
4515
5023
  country: string;
4516
5024
  district: string;
@@ -4533,15 +5041,17 @@ export declare const EventDocument: z.ZodObject<{
4533
5041
  option: string;
4534
5042
  filename: string;
4535
5043
  originalFilename: string;
4536
- }[] | undefined> | undefined;
4537
- originalActionId?: string | undefined;
5044
+ }[] | [string, string] | null | undefined> | null | undefined;
5045
+ originalActionId?: string | null | undefined;
4538
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
4539
- id: z.ZodString;
5047
+ id: z.ZodBranded<z.ZodString, "UUID">;
4540
5048
  transactionId: z.ZodString;
4541
5049
  createdAt: z.ZodString;
4542
5050
  createdBy: z.ZodString;
4543
5051
  createdByRole: z.ZodString;
4544
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5052
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5054
+ 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<{
4545
5055
  filename: z.ZodString;
4546
5056
  originalFilename: z.ZodString;
4547
5057
  type: z.ZodString;
@@ -4654,8 +5164,20 @@ export declare const EventDocument: z.ZodObject<{
4654
5164
  addressLine2?: string | null | undefined;
4655
5165
  addressLine3?: string | null | undefined;
4656
5166
  postcodeOrZip?: string | null | undefined;
4657
- }>]>>;
4658
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5167
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5168
+ firstname: z.ZodString;
5169
+ surname: z.ZodString;
5170
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5171
+ }, "strip", z.ZodTypeAny, {
5172
+ firstname: string;
5173
+ surname: string;
5174
+ middlename?: string | null | undefined;
5175
+ }, {
5176
+ firstname: string;
5177
+ surname: string;
5178
+ middlename?: string | null | undefined;
5179
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5180
+ 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<{
4659
5181
  filename: z.ZodString;
4660
5182
  originalFilename: z.ZodString;
4661
5183
  type: z.ZodString;
@@ -4768,16 +5290,27 @@ export declare const EventDocument: z.ZodObject<{
4768
5290
  addressLine2?: string | null | undefined;
4769
5291
  addressLine3?: string | null | undefined;
4770
5292
  postcodeOrZip?: string | null | undefined;
4771
- }>]>>>;
4772
- createdAtLocation: z.ZodString;
5293
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5294
+ firstname: z.ZodString;
5295
+ surname: z.ZodString;
5296
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5297
+ }, "strip", z.ZodTypeAny, {
5298
+ firstname: string;
5299
+ surname: string;
5300
+ middlename?: string | null | undefined;
5301
+ }, {
5302
+ firstname: string;
5303
+ surname: string;
5304
+ middlename?: string | null | undefined;
5305
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4773
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4774
- originalActionId: z.ZodOptional<z.ZodString>;
5307
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4775
5308
  }, {
4776
5309
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4777
5310
  requestId: z.ZodString;
4778
5311
  }>, "strip", z.ZodTypeAny, {
4779
5312
  type: "REJECT_CORRECTION";
4780
- id: string;
5313
+ id: string & z.BRAND<"UUID">;
4781
5314
  status: "Rejected" | "Requested" | "Accepted";
4782
5315
  transactionId: string;
4783
5316
  createdAt: string;
@@ -4798,6 +5331,10 @@ export declare const EventDocument: z.ZodObject<{
4798
5331
  residentialArea?: string | null | undefined;
4799
5332
  street?: string | null | undefined;
4800
5333
  zipCode?: string | null | undefined;
5334
+ } | {
5335
+ firstname: string;
5336
+ surname: string;
5337
+ middlename?: string | null | undefined;
4801
5338
  } | {
4802
5339
  country: string;
4803
5340
  district: string;
@@ -4820,9 +5357,10 @@ export declare const EventDocument: z.ZodObject<{
4820
5357
  option: string;
4821
5358
  filename: string;
4822
5359
  originalFilename: string;
4823
- }[] | undefined>;
4824
- createdAtLocation: string;
5360
+ }[] | [string, string] | null | undefined>;
4825
5361
  requestId: string;
5362
+ createdBySignature?: string | null | undefined;
5363
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4826
5364
  annotation?: Record<string, string | number | boolean | {
4827
5365
  type: string;
4828
5366
  filename: string;
@@ -4838,6 +5376,10 @@ export declare const EventDocument: z.ZodObject<{
4838
5376
  residentialArea?: string | null | undefined;
4839
5377
  street?: string | null | undefined;
4840
5378
  zipCode?: string | null | undefined;
5379
+ } | {
5380
+ firstname: string;
5381
+ surname: string;
5382
+ middlename?: string | null | undefined;
4841
5383
  } | {
4842
5384
  country: string;
4843
5385
  district: string;
@@ -4860,8 +5402,8 @@ export declare const EventDocument: z.ZodObject<{
4860
5402
  option: string;
4861
5403
  filename: string;
4862
5404
  originalFilename: string;
4863
- }[] | undefined> | undefined;
4864
- originalActionId?: string | undefined;
5405
+ }[] | [string, string] | null | undefined> | null | undefined;
5406
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4865
5407
  }, {
4866
5408
  type: "REJECT_CORRECTION";
4867
5409
  id: string;
@@ -4885,6 +5427,10 @@ export declare const EventDocument: z.ZodObject<{
4885
5427
  residentialArea?: string | null | undefined;
4886
5428
  street?: string | null | undefined;
4887
5429
  zipCode?: string | null | undefined;
5430
+ } | {
5431
+ firstname: string;
5432
+ surname: string;
5433
+ middlename?: string | null | undefined;
4888
5434
  } | {
4889
5435
  country: string;
4890
5436
  district: string;
@@ -4907,9 +5453,10 @@ export declare const EventDocument: z.ZodObject<{
4907
5453
  option: string;
4908
5454
  filename: string;
4909
5455
  originalFilename: string;
4910
- }[] | undefined>;
4911
- createdAtLocation: string;
5456
+ }[] | [string, string] | null | undefined>;
4912
5457
  requestId: string;
5458
+ createdBySignature?: string | null | undefined;
5459
+ createdAtLocation?: string | null | undefined;
4913
5460
  annotation?: Record<string, string | number | boolean | {
4914
5461
  type: string;
4915
5462
  filename: string;
@@ -4925,6 +5472,10 @@ export declare const EventDocument: z.ZodObject<{
4925
5472
  residentialArea?: string | null | undefined;
4926
5473
  street?: string | null | undefined;
4927
5474
  zipCode?: string | null | undefined;
5475
+ } | {
5476
+ firstname: string;
5477
+ surname: string;
5478
+ middlename?: string | null | undefined;
4928
5479
  } | {
4929
5480
  country: string;
4930
5481
  district: string;
@@ -4947,15 +5498,17 @@ export declare const EventDocument: z.ZodObject<{
4947
5498
  option: string;
4948
5499
  filename: string;
4949
5500
  originalFilename: string;
4950
- }[] | undefined> | undefined;
4951
- originalActionId?: string | undefined;
5501
+ }[] | [string, string] | null | undefined> | null | undefined;
5502
+ originalActionId?: string | null | undefined;
4952
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
4953
- id: z.ZodString;
5504
+ id: z.ZodBranded<z.ZodString, "UUID">;
4954
5505
  transactionId: z.ZodString;
4955
5506
  createdAt: z.ZodString;
4956
5507
  createdBy: z.ZodString;
4957
5508
  createdByRole: z.ZodString;
4958
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5509
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5511
+ 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<{
4959
5512
  filename: z.ZodString;
4960
5513
  originalFilename: z.ZodString;
4961
5514
  type: z.ZodString;
@@ -5068,8 +5621,20 @@ export declare const EventDocument: z.ZodObject<{
5068
5621
  addressLine2?: string | null | undefined;
5069
5622
  addressLine3?: string | null | undefined;
5070
5623
  postcodeOrZip?: string | null | undefined;
5071
- }>]>>;
5072
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5624
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5625
+ firstname: z.ZodString;
5626
+ surname: z.ZodString;
5627
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5628
+ }, "strip", z.ZodTypeAny, {
5629
+ firstname: string;
5630
+ surname: string;
5631
+ middlename?: string | null | undefined;
5632
+ }, {
5633
+ firstname: string;
5634
+ surname: string;
5635
+ middlename?: string | null | undefined;
5636
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5637
+ 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<{
5073
5638
  filename: z.ZodString;
5074
5639
  originalFilename: z.ZodString;
5075
5640
  type: z.ZodString;
@@ -5182,16 +5747,27 @@ export declare const EventDocument: z.ZodObject<{
5182
5747
  addressLine2?: string | null | undefined;
5183
5748
  addressLine3?: string | null | undefined;
5184
5749
  postcodeOrZip?: string | null | undefined;
5185
- }>]>>>;
5186
- createdAtLocation: z.ZodString;
5750
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5751
+ firstname: z.ZodString;
5752
+ surname: z.ZodString;
5753
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ firstname: string;
5756
+ surname: string;
5757
+ middlename?: string | null | undefined;
5758
+ }, {
5759
+ firstname: string;
5760
+ surname: string;
5761
+ middlename?: string | null | undefined;
5762
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5187
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5188
- originalActionId: z.ZodOptional<z.ZodString>;
5764
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5189
5765
  }, {
5190
5766
  type: z.ZodLiteral<"UNASSIGN">;
5191
5767
  assignedTo: z.ZodLiteral<null>;
5192
5768
  }>, "strip", z.ZodTypeAny, {
5193
5769
  type: "UNASSIGN";
5194
- id: string;
5770
+ id: string & z.BRAND<"UUID">;
5195
5771
  status: "Rejected" | "Requested" | "Accepted";
5196
5772
  transactionId: string;
5197
5773
  createdAt: string;
@@ -5212,6 +5788,10 @@ export declare const EventDocument: z.ZodObject<{
5212
5788
  residentialArea?: string | null | undefined;
5213
5789
  street?: string | null | undefined;
5214
5790
  zipCode?: string | null | undefined;
5791
+ } | {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5215
5795
  } | {
5216
5796
  country: string;
5217
5797
  district: string;
@@ -5234,9 +5814,10 @@ export declare const EventDocument: z.ZodObject<{
5234
5814
  option: string;
5235
5815
  filename: string;
5236
5816
  originalFilename: string;
5237
- }[] | undefined>;
5238
- createdAtLocation: string;
5817
+ }[] | [string, string] | null | undefined>;
5239
5818
  assignedTo: null;
5819
+ createdBySignature?: string | null | undefined;
5820
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5240
5821
  annotation?: Record<string, string | number | boolean | {
5241
5822
  type: string;
5242
5823
  filename: string;
@@ -5252,6 +5833,10 @@ export declare const EventDocument: z.ZodObject<{
5252
5833
  residentialArea?: string | null | undefined;
5253
5834
  street?: string | null | undefined;
5254
5835
  zipCode?: string | null | undefined;
5836
+ } | {
5837
+ firstname: string;
5838
+ surname: string;
5839
+ middlename?: string | null | undefined;
5255
5840
  } | {
5256
5841
  country: string;
5257
5842
  district: string;
@@ -5274,8 +5859,8 @@ export declare const EventDocument: z.ZodObject<{
5274
5859
  option: string;
5275
5860
  filename: string;
5276
5861
  originalFilename: string;
5277
- }[] | undefined> | undefined;
5278
- originalActionId?: string | undefined;
5862
+ }[] | [string, string] | null | undefined> | null | undefined;
5863
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5279
5864
  }, {
5280
5865
  type: "UNASSIGN";
5281
5866
  id: string;
@@ -5299,6 +5884,10 @@ export declare const EventDocument: z.ZodObject<{
5299
5884
  residentialArea?: string | null | undefined;
5300
5885
  street?: string | null | undefined;
5301
5886
  zipCode?: string | null | undefined;
5887
+ } | {
5888
+ firstname: string;
5889
+ surname: string;
5890
+ middlename?: string | null | undefined;
5302
5891
  } | {
5303
5892
  country: string;
5304
5893
  district: string;
@@ -5321,9 +5910,10 @@ export declare const EventDocument: z.ZodObject<{
5321
5910
  option: string;
5322
5911
  filename: string;
5323
5912
  originalFilename: string;
5324
- }[] | undefined>;
5325
- createdAtLocation: string;
5913
+ }[] | [string, string] | null | undefined>;
5326
5914
  assignedTo: null;
5915
+ createdBySignature?: string | null | undefined;
5916
+ createdAtLocation?: string | null | undefined;
5327
5917
  annotation?: Record<string, string | number | boolean | {
5328
5918
  type: string;
5329
5919
  filename: string;
@@ -5339,6 +5929,10 @@ export declare const EventDocument: z.ZodObject<{
5339
5929
  residentialArea?: string | null | undefined;
5340
5930
  street?: string | null | undefined;
5341
5931
  zipCode?: string | null | undefined;
5932
+ } | {
5933
+ firstname: string;
5934
+ surname: string;
5935
+ middlename?: string | null | undefined;
5342
5936
  } | {
5343
5937
  country: string;
5344
5938
  district: string;
@@ -5361,15 +5955,17 @@ export declare const EventDocument: z.ZodObject<{
5361
5955
  option: string;
5362
5956
  filename: string;
5363
5957
  originalFilename: string;
5364
- }[] | undefined> | undefined;
5365
- originalActionId?: string | undefined;
5958
+ }[] | [string, string] | null | undefined> | null | undefined;
5959
+ originalActionId?: string | null | undefined;
5366
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5367
- id: z.ZodString;
5961
+ id: z.ZodBranded<z.ZodString, "UUID">;
5368
5962
  transactionId: z.ZodString;
5369
5963
  createdAt: z.ZodString;
5370
5964
  createdBy: z.ZodString;
5371
5965
  createdByRole: z.ZodString;
5372
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5966
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5968
+ 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<{
5373
5969
  filename: z.ZodString;
5374
5970
  originalFilename: z.ZodString;
5375
5971
  type: z.ZodString;
@@ -5482,8 +6078,20 @@ export declare const EventDocument: z.ZodObject<{
5482
6078
  addressLine2?: string | null | undefined;
5483
6079
  addressLine3?: string | null | undefined;
5484
6080
  postcodeOrZip?: string | null | undefined;
5485
- }>]>>;
5486
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6081
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6082
+ firstname: z.ZodString;
6083
+ surname: z.ZodString;
6084
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6085
+ }, "strip", z.ZodTypeAny, {
6086
+ firstname: string;
6087
+ surname: string;
6088
+ middlename?: string | null | undefined;
6089
+ }, {
6090
+ firstname: string;
6091
+ surname: string;
6092
+ middlename?: string | null | undefined;
6093
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6094
+ 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<{
5487
6095
  filename: z.ZodString;
5488
6096
  originalFilename: z.ZodString;
5489
6097
  type: z.ZodString;
@@ -5596,15 +6204,26 @@ export declare const EventDocument: z.ZodObject<{
5596
6204
  addressLine2?: string | null | undefined;
5597
6205
  addressLine3?: string | null | undefined;
5598
6206
  postcodeOrZip?: string | null | undefined;
5599
- }>]>>>;
5600
- createdAtLocation: z.ZodString;
6207
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6208
+ firstname: z.ZodString;
6209
+ surname: z.ZodString;
6210
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6211
+ }, "strip", z.ZodTypeAny, {
6212
+ firstname: string;
6213
+ surname: string;
6214
+ middlename?: string | null | undefined;
6215
+ }, {
6216
+ firstname: string;
6217
+ surname: string;
6218
+ middlename?: string | null | undefined;
6219
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5601
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5602
- originalActionId: z.ZodOptional<z.ZodString>;
6221
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5603
6222
  }, {
5604
6223
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5605
6224
  }>, "strip", z.ZodTypeAny, {
5606
6225
  type: "PRINT_CERTIFICATE";
5607
- id: string;
6226
+ id: string & z.BRAND<"UUID">;
5608
6227
  status: "Rejected" | "Requested" | "Accepted";
5609
6228
  transactionId: string;
5610
6229
  createdAt: string;
@@ -5625,6 +6244,10 @@ export declare const EventDocument: z.ZodObject<{
5625
6244
  residentialArea?: string | null | undefined;
5626
6245
  street?: string | null | undefined;
5627
6246
  zipCode?: string | null | undefined;
6247
+ } | {
6248
+ firstname: string;
6249
+ surname: string;
6250
+ middlename?: string | null | undefined;
5628
6251
  } | {
5629
6252
  country: string;
5630
6253
  district: string;
@@ -5647,8 +6270,9 @@ export declare const EventDocument: z.ZodObject<{
5647
6270
  option: string;
5648
6271
  filename: string;
5649
6272
  originalFilename: string;
5650
- }[] | undefined>;
5651
- createdAtLocation: string;
6273
+ }[] | [string, string] | null | undefined>;
6274
+ createdBySignature?: string | null | undefined;
6275
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5652
6276
  annotation?: Record<string, string | number | boolean | {
5653
6277
  type: string;
5654
6278
  filename: string;
@@ -5664,6 +6288,10 @@ export declare const EventDocument: z.ZodObject<{
5664
6288
  residentialArea?: string | null | undefined;
5665
6289
  street?: string | null | undefined;
5666
6290
  zipCode?: string | null | undefined;
6291
+ } | {
6292
+ firstname: string;
6293
+ surname: string;
6294
+ middlename?: string | null | undefined;
5667
6295
  } | {
5668
6296
  country: string;
5669
6297
  district: string;
@@ -5686,8 +6314,8 @@ export declare const EventDocument: z.ZodObject<{
5686
6314
  option: string;
5687
6315
  filename: string;
5688
6316
  originalFilename: string;
5689
- }[] | undefined> | undefined;
5690
- originalActionId?: string | undefined;
6317
+ }[] | [string, string] | null | undefined> | null | undefined;
6318
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5691
6319
  }, {
5692
6320
  type: "PRINT_CERTIFICATE";
5693
6321
  id: string;
@@ -5711,6 +6339,10 @@ export declare const EventDocument: z.ZodObject<{
5711
6339
  residentialArea?: string | null | undefined;
5712
6340
  street?: string | null | undefined;
5713
6341
  zipCode?: string | null | undefined;
6342
+ } | {
6343
+ firstname: string;
6344
+ surname: string;
6345
+ middlename?: string | null | undefined;
5714
6346
  } | {
5715
6347
  country: string;
5716
6348
  district: string;
@@ -5733,8 +6365,9 @@ export declare const EventDocument: z.ZodObject<{
5733
6365
  option: string;
5734
6366
  filename: string;
5735
6367
  originalFilename: string;
5736
- }[] | undefined>;
5737
- createdAtLocation: string;
6368
+ }[] | [string, string] | null | undefined>;
6369
+ createdBySignature?: string | null | undefined;
6370
+ createdAtLocation?: string | null | undefined;
5738
6371
  annotation?: Record<string, string | number | boolean | {
5739
6372
  type: string;
5740
6373
  filename: string;
@@ -5750,6 +6383,10 @@ export declare const EventDocument: z.ZodObject<{
5750
6383
  residentialArea?: string | null | undefined;
5751
6384
  street?: string | null | undefined;
5752
6385
  zipCode?: string | null | undefined;
6386
+ } | {
6387
+ firstname: string;
6388
+ surname: string;
6389
+ middlename?: string | null | undefined;
5753
6390
  } | {
5754
6391
  country: string;
5755
6392
  district: string;
@@ -5772,15 +6409,17 @@ export declare const EventDocument: z.ZodObject<{
5772
6409
  option: string;
5773
6410
  filename: string;
5774
6411
  originalFilename: string;
5775
- }[] | undefined> | undefined;
5776
- originalActionId?: string | undefined;
6412
+ }[] | [string, string] | null | undefined> | null | undefined;
6413
+ originalActionId?: string | null | undefined;
5777
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
5778
- id: z.ZodString;
6415
+ id: z.ZodBranded<z.ZodString, "UUID">;
5779
6416
  transactionId: z.ZodString;
5780
6417
  createdAt: z.ZodString;
5781
6418
  createdBy: z.ZodString;
5782
6419
  createdByRole: z.ZodString;
5783
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6420
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6422
+ 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<{
5784
6423
  filename: z.ZodString;
5785
6424
  originalFilename: z.ZodString;
5786
6425
  type: z.ZodString;
@@ -5893,8 +6532,20 @@ export declare const EventDocument: z.ZodObject<{
5893
6532
  addressLine2?: string | null | undefined;
5894
6533
  addressLine3?: string | null | undefined;
5895
6534
  postcodeOrZip?: string | null | undefined;
5896
- }>]>>;
5897
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6535
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6538
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6539
+ }, "strip", z.ZodTypeAny, {
6540
+ firstname: string;
6541
+ surname: string;
6542
+ middlename?: string | null | undefined;
6543
+ }, {
6544
+ firstname: string;
6545
+ surname: string;
6546
+ middlename?: string | null | undefined;
6547
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6548
+ 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<{
5898
6549
  filename: z.ZodString;
5899
6550
  originalFilename: z.ZodString;
5900
6551
  type: z.ZodString;
@@ -6007,15 +6658,26 @@ export declare const EventDocument: z.ZodObject<{
6007
6658
  addressLine2?: string | null | undefined;
6008
6659
  addressLine3?: string | null | undefined;
6009
6660
  postcodeOrZip?: string | null | undefined;
6010
- }>]>>>;
6011
- createdAtLocation: z.ZodString;
6661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6662
+ firstname: z.ZodString;
6663
+ surname: z.ZodString;
6664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6665
+ }, "strip", z.ZodTypeAny, {
6666
+ firstname: string;
6667
+ surname: string;
6668
+ middlename?: string | null | undefined;
6669
+ }, {
6670
+ firstname: string;
6671
+ surname: string;
6672
+ middlename?: string | null | undefined;
6673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6012
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6013
- originalActionId: z.ZodOptional<z.ZodString>;
6675
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6014
6676
  }, {
6015
6677
  type: z.ZodLiteral<"READ">;
6016
6678
  }>, "strip", z.ZodTypeAny, {
6017
6679
  type: "READ";
6018
- id: string;
6680
+ id: string & z.BRAND<"UUID">;
6019
6681
  status: "Rejected" | "Requested" | "Accepted";
6020
6682
  transactionId: string;
6021
6683
  createdAt: string;
@@ -6036,6 +6698,10 @@ export declare const EventDocument: z.ZodObject<{
6036
6698
  residentialArea?: string | null | undefined;
6037
6699
  street?: string | null | undefined;
6038
6700
  zipCode?: string | null | undefined;
6701
+ } | {
6702
+ firstname: string;
6703
+ surname: string;
6704
+ middlename?: string | null | undefined;
6039
6705
  } | {
6040
6706
  country: string;
6041
6707
  district: string;
@@ -6058,8 +6724,9 @@ export declare const EventDocument: z.ZodObject<{
6058
6724
  option: string;
6059
6725
  filename: string;
6060
6726
  originalFilename: string;
6061
- }[] | undefined>;
6062
- createdAtLocation: string;
6727
+ }[] | [string, string] | null | undefined>;
6728
+ createdBySignature?: string | null | undefined;
6729
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6063
6730
  annotation?: Record<string, string | number | boolean | {
6064
6731
  type: string;
6065
6732
  filename: string;
@@ -6075,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
6075
6742
  residentialArea?: string | null | undefined;
6076
6743
  street?: string | null | undefined;
6077
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
6078
6749
  } | {
6079
6750
  country: string;
6080
6751
  district: string;
@@ -6097,8 +6768,8 @@ export declare const EventDocument: z.ZodObject<{
6097
6768
  option: string;
6098
6769
  filename: string;
6099
6770
  originalFilename: string;
6100
- }[] | undefined> | undefined;
6101
- originalActionId?: string | undefined;
6771
+ }[] | [string, string] | null | undefined> | null | undefined;
6772
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6102
6773
  }, {
6103
6774
  type: "READ";
6104
6775
  id: string;
@@ -6122,6 +6793,10 @@ export declare const EventDocument: z.ZodObject<{
6122
6793
  residentialArea?: string | null | undefined;
6123
6794
  street?: string | null | undefined;
6124
6795
  zipCode?: string | null | undefined;
6796
+ } | {
6797
+ firstname: string;
6798
+ surname: string;
6799
+ middlename?: string | null | undefined;
6125
6800
  } | {
6126
6801
  country: string;
6127
6802
  district: string;
@@ -6144,8 +6819,9 @@ export declare const EventDocument: z.ZodObject<{
6144
6819
  option: string;
6145
6820
  filename: string;
6146
6821
  originalFilename: string;
6147
- }[] | undefined>;
6148
- createdAtLocation: string;
6822
+ }[] | [string, string] | null | undefined>;
6823
+ createdBySignature?: string | null | undefined;
6824
+ createdAtLocation?: string | null | undefined;
6149
6825
  annotation?: Record<string, string | number | boolean | {
6150
6826
  type: string;
6151
6827
  filename: string;
@@ -6161,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6161
6837
  residentialArea?: string | null | undefined;
6162
6838
  street?: string | null | undefined;
6163
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6164
6844
  } | {
6165
6845
  country: string;
6166
6846
  district: string;
@@ -6183,15 +6863,17 @@ export declare const EventDocument: z.ZodObject<{
6183
6863
  option: string;
6184
6864
  filename: string;
6185
6865
  originalFilename: string;
6186
- }[] | undefined> | undefined;
6187
- originalActionId?: string | undefined;
6866
+ }[] | [string, string] | null | undefined> | null | undefined;
6867
+ originalActionId?: string | null | undefined;
6188
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6189
- id: z.ZodString;
6869
+ id: z.ZodBranded<z.ZodString, "UUID">;
6190
6870
  transactionId: z.ZodString;
6191
6871
  createdAt: z.ZodString;
6192
6872
  createdBy: z.ZodString;
6193
6873
  createdByRole: z.ZodString;
6194
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6874
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6876
+ 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<{
6195
6877
  filename: z.ZodString;
6196
6878
  originalFilename: z.ZodString;
6197
6879
  type: z.ZodString;
@@ -6304,8 +6986,20 @@ export declare const EventDocument: z.ZodObject<{
6304
6986
  addressLine2?: string | null | undefined;
6305
6987
  addressLine3?: string | null | undefined;
6306
6988
  postcodeOrZip?: string | null | undefined;
6307
- }>]>>;
6308
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6989
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6990
+ firstname: z.ZodString;
6991
+ surname: z.ZodString;
6992
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6993
+ }, "strip", z.ZodTypeAny, {
6994
+ firstname: string;
6995
+ surname: string;
6996
+ middlename?: string | null | undefined;
6997
+ }, {
6998
+ firstname: string;
6999
+ surname: string;
7000
+ middlename?: string | null | undefined;
7001
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7002
+ 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<{
6309
7003
  filename: z.ZodString;
6310
7004
  originalFilename: z.ZodString;
6311
7005
  type: z.ZodString;
@@ -6418,38 +7112,56 @@ export declare const EventDocument: z.ZodObject<{
6418
7112
  addressLine2?: string | null | undefined;
6419
7113
  addressLine3?: string | null | undefined;
6420
7114
  postcodeOrZip?: string | null | undefined;
6421
- }>]>>>;
6422
- createdAtLocation: z.ZodString;
7115
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7116
+ firstname: z.ZodString;
7117
+ surname: z.ZodString;
7118
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7119
+ }, "strip", z.ZodTypeAny, {
7120
+ firstname: string;
7121
+ surname: string;
7122
+ middlename?: string | null | undefined;
7123
+ }, {
7124
+ firstname: string;
7125
+ surname: string;
7126
+ middlename?: string | null | undefined;
7127
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6423
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6424
- originalActionId: z.ZodOptional<z.ZodString>;
6425
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
7129
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7130
+ }, "declaration" | "annotation">, {
6426
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6427
7132
  status: z.ZodLiteral<"Rejected">;
6428
7133
  }>, "strip", z.ZodTypeAny, {
6429
7134
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6430
- id: string;
7135
+ id: string & z.BRAND<"UUID">;
6431
7136
  status: "Rejected";
6432
7137
  transactionId: string;
6433
7138
  createdAt: string;
6434
- originalActionId?: string | undefined;
7139
+ createdBy: string;
7140
+ createdByRole: string;
7141
+ createdBySignature?: string | null | undefined;
7142
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7143
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6435
7144
  }, {
6436
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6437
7146
  id: string;
6438
7147
  status: "Rejected";
6439
7148
  transactionId: string;
6440
7149
  createdAt: string;
6441
- originalActionId?: string | undefined;
7150
+ createdBy: string;
7151
+ createdByRole: string;
7152
+ createdBySignature?: string | null | undefined;
7153
+ createdAtLocation?: string | null | undefined;
7154
+ originalActionId?: string | null | undefined;
6442
7155
  }>]>, "many">;
6443
7156
  trackingId: z.ZodString;
6444
7157
  }, "strip", z.ZodTypeAny, {
6445
7158
  type: string;
6446
- id: string;
7159
+ id: string & z.BRAND<"UUID">;
6447
7160
  createdAt: string;
6448
7161
  updatedAt: string;
6449
- updatedAtLocation: string;
6450
7162
  actions: ({
6451
7163
  type: "ASSIGN";
6452
- id: string;
7164
+ id: string & z.BRAND<"UUID">;
6453
7165
  status: "Rejected" | "Requested" | "Accepted";
6454
7166
  transactionId: string;
6455
7167
  createdAt: string;
@@ -6470,6 +7182,10 @@ export declare const EventDocument: z.ZodObject<{
6470
7182
  residentialArea?: string | null | undefined;
6471
7183
  street?: string | null | undefined;
6472
7184
  zipCode?: string | null | undefined;
7185
+ } | {
7186
+ firstname: string;
7187
+ surname: string;
7188
+ middlename?: string | null | undefined;
6473
7189
  } | {
6474
7190
  country: string;
6475
7191
  district: string;
@@ -6492,9 +7208,10 @@ export declare const EventDocument: z.ZodObject<{
6492
7208
  option: string;
6493
7209
  filename: string;
6494
7210
  originalFilename: string;
6495
- }[] | undefined>;
6496
- createdAtLocation: string;
7211
+ }[] | [string, string] | null | undefined>;
6497
7212
  assignedTo: string;
7213
+ createdBySignature?: string | null | undefined;
7214
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6498
7215
  annotation?: Record<string, string | number | boolean | {
6499
7216
  type: string;
6500
7217
  filename: string;
@@ -6510,6 +7227,10 @@ export declare const EventDocument: z.ZodObject<{
6510
7227
  residentialArea?: string | null | undefined;
6511
7228
  street?: string | null | undefined;
6512
7229
  zipCode?: string | null | undefined;
7230
+ } | {
7231
+ firstname: string;
7232
+ surname: string;
7233
+ middlename?: string | null | undefined;
6513
7234
  } | {
6514
7235
  country: string;
6515
7236
  district: string;
@@ -6532,11 +7253,11 @@ export declare const EventDocument: z.ZodObject<{
6532
7253
  option: string;
6533
7254
  filename: string;
6534
7255
  originalFilename: string;
6535
- }[] | undefined> | undefined;
6536
- originalActionId?: string | undefined;
7256
+ }[] | [string, string] | null | undefined> | null | undefined;
7257
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6537
7258
  } | {
6538
7259
  type: "UNASSIGN";
6539
- id: string;
7260
+ id: string & z.BRAND<"UUID">;
6540
7261
  status: "Rejected" | "Requested" | "Accepted";
6541
7262
  transactionId: string;
6542
7263
  createdAt: string;
@@ -6557,6 +7278,10 @@ export declare const EventDocument: z.ZodObject<{
6557
7278
  residentialArea?: string | null | undefined;
6558
7279
  street?: string | null | undefined;
6559
7280
  zipCode?: string | null | undefined;
7281
+ } | {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
6560
7285
  } | {
6561
7286
  country: string;
6562
7287
  district: string;
@@ -6579,9 +7304,10 @@ export declare const EventDocument: z.ZodObject<{
6579
7304
  option: string;
6580
7305
  filename: string;
6581
7306
  originalFilename: string;
6582
- }[] | undefined>;
6583
- createdAtLocation: string;
7307
+ }[] | [string, string] | null | undefined>;
6584
7308
  assignedTo: null;
7309
+ createdBySignature?: string | null | undefined;
7310
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6585
7311
  annotation?: Record<string, string | number | boolean | {
6586
7312
  type: string;
6587
7313
  filename: string;
@@ -6597,6 +7323,10 @@ export declare const EventDocument: z.ZodObject<{
6597
7323
  residentialArea?: string | null | undefined;
6598
7324
  street?: string | null | undefined;
6599
7325
  zipCode?: string | null | undefined;
7326
+ } | {
7327
+ firstname: string;
7328
+ surname: string;
7329
+ middlename?: string | null | undefined;
6600
7330
  } | {
6601
7331
  country: string;
6602
7332
  district: string;
@@ -6619,11 +7349,11 @@ export declare const EventDocument: z.ZodObject<{
6619
7349
  option: string;
6620
7350
  filename: string;
6621
7351
  originalFilename: string;
6622
- }[] | undefined> | undefined;
6623
- originalActionId?: string | undefined;
7352
+ }[] | [string, string] | null | undefined> | null | undefined;
7353
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6624
7354
  } | {
6625
7355
  type: "REGISTER";
6626
- id: string;
7356
+ id: string & z.BRAND<"UUID">;
6627
7357
  status: "Rejected" | "Requested" | "Accepted";
6628
7358
  transactionId: string;
6629
7359
  createdAt: string;
@@ -6644,6 +7374,10 @@ export declare const EventDocument: z.ZodObject<{
6644
7374
  residentialArea?: string | null | undefined;
6645
7375
  street?: string | null | undefined;
6646
7376
  zipCode?: string | null | undefined;
7377
+ } | {
7378
+ firstname: string;
7379
+ surname: string;
7380
+ middlename?: string | null | undefined;
6647
7381
  } | {
6648
7382
  country: string;
6649
7383
  district: string;
@@ -6666,8 +7400,9 @@ export declare const EventDocument: z.ZodObject<{
6666
7400
  option: string;
6667
7401
  filename: string;
6668
7402
  originalFilename: string;
6669
- }[] | undefined>;
6670
- createdAtLocation: string;
7403
+ }[] | [string, string] | null | undefined>;
7404
+ createdBySignature?: string | null | undefined;
7405
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6671
7406
  annotation?: Record<string, string | number | boolean | {
6672
7407
  type: string;
6673
7408
  filename: string;
@@ -6683,6 +7418,10 @@ export declare const EventDocument: z.ZodObject<{
6683
7418
  residentialArea?: string | null | undefined;
6684
7419
  street?: string | null | undefined;
6685
7420
  zipCode?: string | null | undefined;
7421
+ } | {
7422
+ firstname: string;
7423
+ surname: string;
7424
+ middlename?: string | null | undefined;
6686
7425
  } | {
6687
7426
  country: string;
6688
7427
  district: string;
@@ -6705,12 +7444,12 @@ export declare const EventDocument: z.ZodObject<{
6705
7444
  option: string;
6706
7445
  filename: string;
6707
7446
  originalFilename: string;
6708
- }[] | undefined> | undefined;
6709
- originalActionId?: string | undefined;
7447
+ }[] | [string, string] | null | undefined> | null | undefined;
7448
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6710
7449
  registrationNumber?: string | undefined;
6711
7450
  } | {
6712
7451
  type: "DECLARE";
6713
- id: string;
7452
+ id: string & z.BRAND<"UUID">;
6714
7453
  status: "Rejected" | "Requested" | "Accepted";
6715
7454
  transactionId: string;
6716
7455
  createdAt: string;
@@ -6731,6 +7470,10 @@ export declare const EventDocument: z.ZodObject<{
6731
7470
  residentialArea?: string | null | undefined;
6732
7471
  street?: string | null | undefined;
6733
7472
  zipCode?: string | null | undefined;
7473
+ } | {
7474
+ firstname: string;
7475
+ surname: string;
7476
+ middlename?: string | null | undefined;
6734
7477
  } | {
6735
7478
  country: string;
6736
7479
  district: string;
@@ -6753,8 +7496,9 @@ export declare const EventDocument: z.ZodObject<{
6753
7496
  option: string;
6754
7497
  filename: string;
6755
7498
  originalFilename: string;
6756
- }[] | undefined>;
6757
- createdAtLocation: string;
7499
+ }[] | [string, string] | null | undefined>;
7500
+ createdBySignature?: string | null | undefined;
7501
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6758
7502
  annotation?: Record<string, string | number | boolean | {
6759
7503
  type: string;
6760
7504
  filename: string;
@@ -6770,6 +7514,10 @@ export declare const EventDocument: z.ZodObject<{
6770
7514
  residentialArea?: string | null | undefined;
6771
7515
  street?: string | null | undefined;
6772
7516
  zipCode?: string | null | undefined;
7517
+ } | {
7518
+ firstname: string;
7519
+ surname: string;
7520
+ middlename?: string | null | undefined;
6773
7521
  } | {
6774
7522
  country: string;
6775
7523
  district: string;
@@ -6792,11 +7540,11 @@ export declare const EventDocument: z.ZodObject<{
6792
7540
  option: string;
6793
7541
  filename: string;
6794
7542
  originalFilename: string;
6795
- }[] | undefined> | undefined;
6796
- originalActionId?: string | undefined;
7543
+ }[] | [string, string] | null | undefined> | null | undefined;
7544
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6797
7545
  } | {
6798
7546
  type: "VALIDATE";
6799
- id: string;
7547
+ id: string & z.BRAND<"UUID">;
6800
7548
  status: "Rejected" | "Requested" | "Accepted";
6801
7549
  transactionId: string;
6802
7550
  createdAt: string;
@@ -6817,6 +7565,10 @@ export declare const EventDocument: z.ZodObject<{
6817
7565
  residentialArea?: string | null | undefined;
6818
7566
  street?: string | null | undefined;
6819
7567
  zipCode?: string | null | undefined;
7568
+ } | {
7569
+ firstname: string;
7570
+ surname: string;
7571
+ middlename?: string | null | undefined;
6820
7572
  } | {
6821
7573
  country: string;
6822
7574
  district: string;
@@ -6839,8 +7591,9 @@ export declare const EventDocument: z.ZodObject<{
6839
7591
  option: string;
6840
7592
  filename: string;
6841
7593
  originalFilename: string;
6842
- }[] | undefined>;
6843
- createdAtLocation: string;
7594
+ }[] | [string, string] | null | undefined>;
7595
+ createdBySignature?: string | null | undefined;
7596
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6844
7597
  annotation?: Record<string, string | number | boolean | {
6845
7598
  type: string;
6846
7599
  filename: string;
@@ -6856,6 +7609,10 @@ export declare const EventDocument: z.ZodObject<{
6856
7609
  residentialArea?: string | null | undefined;
6857
7610
  street?: string | null | undefined;
6858
7611
  zipCode?: string | null | undefined;
7612
+ } | {
7613
+ firstname: string;
7614
+ surname: string;
7615
+ middlename?: string | null | undefined;
6859
7616
  } | {
6860
7617
  country: string;
6861
7618
  district: string;
@@ -6878,12 +7635,16 @@ export declare const EventDocument: z.ZodObject<{
6878
7635
  option: string;
6879
7636
  filename: string;
6880
7637
  originalFilename: string;
6881
- }[] | undefined> | undefined;
6882
- originalActionId?: string | undefined;
7638
+ }[] | [string, string] | null | undefined> | null | undefined;
7639
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6883
7640
  } | {
6884
7641
  type: "REJECT";
6885
- id: string;
7642
+ id: string & z.BRAND<"UUID">;
6886
7643
  status: "Rejected" | "Requested" | "Accepted";
7644
+ reason: {
7645
+ message: string;
7646
+ isDuplicate?: boolean | undefined;
7647
+ };
6887
7648
  transactionId: string;
6888
7649
  createdAt: string;
6889
7650
  createdBy: string;
@@ -6903,6 +7664,10 @@ export declare const EventDocument: z.ZodObject<{
6903
7664
  residentialArea?: string | null | undefined;
6904
7665
  street?: string | null | undefined;
6905
7666
  zipCode?: string | null | undefined;
7667
+ } | {
7668
+ firstname: string;
7669
+ surname: string;
7670
+ middlename?: string | null | undefined;
6906
7671
  } | {
6907
7672
  country: string;
6908
7673
  district: string;
@@ -6925,8 +7690,9 @@ export declare const EventDocument: z.ZodObject<{
6925
7690
  option: string;
6926
7691
  filename: string;
6927
7692
  originalFilename: string;
6928
- }[] | undefined>;
6929
- createdAtLocation: string;
7693
+ }[] | [string, string] | null | undefined>;
7694
+ createdBySignature?: string | null | undefined;
7695
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6930
7696
  annotation?: Record<string, string | number | boolean | {
6931
7697
  type: string;
6932
7698
  filename: string;
@@ -6942,6 +7708,10 @@ export declare const EventDocument: z.ZodObject<{
6942
7708
  residentialArea?: string | null | undefined;
6943
7709
  street?: string | null | undefined;
6944
7710
  zipCode?: string | null | undefined;
7711
+ } | {
7712
+ firstname: string;
7713
+ surname: string;
7714
+ middlename?: string | null | undefined;
6945
7715
  } | {
6946
7716
  country: string;
6947
7717
  district: string;
@@ -6964,11 +7734,11 @@ export declare const EventDocument: z.ZodObject<{
6964
7734
  option: string;
6965
7735
  filename: string;
6966
7736
  originalFilename: string;
6967
- }[] | undefined> | undefined;
6968
- originalActionId?: string | undefined;
7737
+ }[] | [string, string] | null | undefined> | null | undefined;
7738
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6969
7739
  } | {
6970
7740
  type: "MARKED_AS_DUPLICATE";
6971
- id: string;
7741
+ id: string & z.BRAND<"UUID">;
6972
7742
  status: "Rejected" | "Requested" | "Accepted";
6973
7743
  transactionId: string;
6974
7744
  createdAt: string;
@@ -6989,6 +7759,10 @@ export declare const EventDocument: z.ZodObject<{
6989
7759
  residentialArea?: string | null | undefined;
6990
7760
  street?: string | null | undefined;
6991
7761
  zipCode?: string | null | undefined;
7762
+ } | {
7763
+ firstname: string;
7764
+ surname: string;
7765
+ middlename?: string | null | undefined;
6992
7766
  } | {
6993
7767
  country: string;
6994
7768
  district: string;
@@ -7011,8 +7785,9 @@ export declare const EventDocument: z.ZodObject<{
7011
7785
  option: string;
7012
7786
  filename: string;
7013
7787
  originalFilename: string;
7014
- }[] | undefined>;
7015
- createdAtLocation: string;
7788
+ }[] | [string, string] | null | undefined>;
7789
+ createdBySignature?: string | null | undefined;
7790
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7016
7791
  annotation?: Record<string, string | number | boolean | {
7017
7792
  type: string;
7018
7793
  filename: string;
@@ -7028,6 +7803,10 @@ export declare const EventDocument: z.ZodObject<{
7028
7803
  residentialArea?: string | null | undefined;
7029
7804
  street?: string | null | undefined;
7030
7805
  zipCode?: string | null | undefined;
7806
+ } | {
7807
+ firstname: string;
7808
+ surname: string;
7809
+ middlename?: string | null | undefined;
7031
7810
  } | {
7032
7811
  country: string;
7033
7812
  district: string;
@@ -7050,12 +7829,16 @@ export declare const EventDocument: z.ZodObject<{
7050
7829
  option: string;
7051
7830
  filename: string;
7052
7831
  originalFilename: string;
7053
- }[] | undefined> | undefined;
7054
- originalActionId?: string | undefined;
7832
+ }[] | [string, string] | null | undefined> | null | undefined;
7833
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7055
7834
  } | {
7056
7835
  type: "ARCHIVE";
7057
- id: string;
7836
+ id: string & z.BRAND<"UUID">;
7058
7837
  status: "Rejected" | "Requested" | "Accepted";
7838
+ reason: {
7839
+ message: string;
7840
+ isDuplicate?: boolean | undefined;
7841
+ };
7059
7842
  transactionId: string;
7060
7843
  createdAt: string;
7061
7844
  createdBy: string;
@@ -7075,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7075
7858
  residentialArea?: string | null | undefined;
7076
7859
  street?: string | null | undefined;
7077
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7078
7865
  } | {
7079
7866
  country: string;
7080
7867
  district: string;
@@ -7097,8 +7884,9 @@ export declare const EventDocument: z.ZodObject<{
7097
7884
  option: string;
7098
7885
  filename: string;
7099
7886
  originalFilename: string;
7100
- }[] | undefined>;
7101
- createdAtLocation: string;
7887
+ }[] | [string, string] | null | undefined>;
7888
+ createdBySignature?: string | null | undefined;
7889
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7102
7890
  annotation?: Record<string, string | number | boolean | {
7103
7891
  type: string;
7104
7892
  filename: string;
@@ -7114,6 +7902,10 @@ export declare const EventDocument: z.ZodObject<{
7114
7902
  residentialArea?: string | null | undefined;
7115
7903
  street?: string | null | undefined;
7116
7904
  zipCode?: string | null | undefined;
7905
+ } | {
7906
+ firstname: string;
7907
+ surname: string;
7908
+ middlename?: string | null | undefined;
7117
7909
  } | {
7118
7910
  country: string;
7119
7911
  district: string;
@@ -7136,11 +7928,11 @@ export declare const EventDocument: z.ZodObject<{
7136
7928
  option: string;
7137
7929
  filename: string;
7138
7930
  originalFilename: string;
7139
- }[] | undefined> | undefined;
7140
- originalActionId?: string | undefined;
7931
+ }[] | [string, string] | null | undefined> | null | undefined;
7932
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7141
7933
  } | {
7142
7934
  type: "CREATE";
7143
- id: string;
7935
+ id: string & z.BRAND<"UUID">;
7144
7936
  status: "Rejected" | "Requested" | "Accepted";
7145
7937
  transactionId: string;
7146
7938
  createdAt: string;
@@ -7161,6 +7953,10 @@ export declare const EventDocument: z.ZodObject<{
7161
7953
  residentialArea?: string | null | undefined;
7162
7954
  street?: string | null | undefined;
7163
7955
  zipCode?: string | null | undefined;
7956
+ } | {
7957
+ firstname: string;
7958
+ surname: string;
7959
+ middlename?: string | null | undefined;
7164
7960
  } | {
7165
7961
  country: string;
7166
7962
  district: string;
@@ -7183,8 +7979,9 @@ export declare const EventDocument: z.ZodObject<{
7183
7979
  option: string;
7184
7980
  filename: string;
7185
7981
  originalFilename: string;
7186
- }[] | undefined>;
7187
- createdAtLocation: string;
7982
+ }[] | [string, string] | null | undefined>;
7983
+ createdBySignature?: string | null | undefined;
7984
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7188
7985
  annotation?: Record<string, string | number | boolean | {
7189
7986
  type: string;
7190
7987
  filename: string;
@@ -7200,6 +7997,10 @@ export declare const EventDocument: z.ZodObject<{
7200
7997
  residentialArea?: string | null | undefined;
7201
7998
  street?: string | null | undefined;
7202
7999
  zipCode?: string | null | undefined;
8000
+ } | {
8001
+ firstname: string;
8002
+ surname: string;
8003
+ middlename?: string | null | undefined;
7203
8004
  } | {
7204
8005
  country: string;
7205
8006
  district: string;
@@ -7222,11 +8023,11 @@ export declare const EventDocument: z.ZodObject<{
7222
8023
  option: string;
7223
8024
  filename: string;
7224
8025
  originalFilename: string;
7225
- }[] | undefined> | undefined;
7226
- originalActionId?: string | undefined;
8026
+ }[] | [string, string] | null | undefined> | null | undefined;
8027
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7227
8028
  } | {
7228
8029
  type: "NOTIFY";
7229
- id: string;
8030
+ id: string & z.BRAND<"UUID">;
7230
8031
  status: "Rejected" | "Requested" | "Accepted";
7231
8032
  transactionId: string;
7232
8033
  createdAt: string;
@@ -7247,6 +8048,10 @@ export declare const EventDocument: z.ZodObject<{
7247
8048
  residentialArea?: string | null | undefined;
7248
8049
  street?: string | null | undefined;
7249
8050
  zipCode?: string | null | undefined;
8051
+ } | {
8052
+ firstname: string;
8053
+ surname: string;
8054
+ middlename?: string | null | undefined;
7250
8055
  } | {
7251
8056
  country: string;
7252
8057
  district: string;
@@ -7269,8 +8074,9 @@ export declare const EventDocument: z.ZodObject<{
7269
8074
  option: string;
7270
8075
  filename: string;
7271
8076
  originalFilename: string;
7272
- }[] | undefined>;
7273
- createdAtLocation: string;
8077
+ }[] | [string, string] | null | undefined>;
8078
+ createdBySignature?: string | null | undefined;
8079
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7274
8080
  annotation?: Record<string, string | number | boolean | {
7275
8081
  type: string;
7276
8082
  filename: string;
@@ -7286,6 +8092,10 @@ export declare const EventDocument: z.ZodObject<{
7286
8092
  residentialArea?: string | null | undefined;
7287
8093
  street?: string | null | undefined;
7288
8094
  zipCode?: string | null | undefined;
8095
+ } | {
8096
+ firstname: string;
8097
+ surname: string;
8098
+ middlename?: string | null | undefined;
7289
8099
  } | {
7290
8100
  country: string;
7291
8101
  district: string;
@@ -7308,11 +8118,11 @@ export declare const EventDocument: z.ZodObject<{
7308
8118
  option: string;
7309
8119
  filename: string;
7310
8120
  originalFilename: string;
7311
- }[] | undefined> | undefined;
7312
- originalActionId?: string | undefined;
8121
+ }[] | [string, string] | null | undefined> | null | undefined;
8122
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7313
8123
  } | {
7314
8124
  type: "PRINT_CERTIFICATE";
7315
- id: string;
8125
+ id: string & z.BRAND<"UUID">;
7316
8126
  status: "Rejected" | "Requested" | "Accepted";
7317
8127
  transactionId: string;
7318
8128
  createdAt: string;
@@ -7333,6 +8143,10 @@ export declare const EventDocument: z.ZodObject<{
7333
8143
  residentialArea?: string | null | undefined;
7334
8144
  street?: string | null | undefined;
7335
8145
  zipCode?: string | null | undefined;
8146
+ } | {
8147
+ firstname: string;
8148
+ surname: string;
8149
+ middlename?: string | null | undefined;
7336
8150
  } | {
7337
8151
  country: string;
7338
8152
  district: string;
@@ -7355,8 +8169,9 @@ export declare const EventDocument: z.ZodObject<{
7355
8169
  option: string;
7356
8170
  filename: string;
7357
8171
  originalFilename: string;
7358
- }[] | undefined>;
7359
- createdAtLocation: string;
8172
+ }[] | [string, string] | null | undefined>;
8173
+ createdBySignature?: string | null | undefined;
8174
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7360
8175
  annotation?: Record<string, string | number | boolean | {
7361
8176
  type: string;
7362
8177
  filename: string;
@@ -7372,6 +8187,10 @@ export declare const EventDocument: z.ZodObject<{
7372
8187
  residentialArea?: string | null | undefined;
7373
8188
  street?: string | null | undefined;
7374
8189
  zipCode?: string | null | undefined;
8190
+ } | {
8191
+ firstname: string;
8192
+ surname: string;
8193
+ middlename?: string | null | undefined;
7375
8194
  } | {
7376
8195
  country: string;
7377
8196
  district: string;
@@ -7394,11 +8213,11 @@ export declare const EventDocument: z.ZodObject<{
7394
8213
  option: string;
7395
8214
  filename: string;
7396
8215
  originalFilename: string;
7397
- }[] | undefined> | undefined;
7398
- originalActionId?: string | undefined;
8216
+ }[] | [string, string] | null | undefined> | null | undefined;
8217
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7399
8218
  } | {
7400
8219
  type: "REQUEST_CORRECTION";
7401
- id: string;
8220
+ id: string & z.BRAND<"UUID">;
7402
8221
  status: "Rejected" | "Requested" | "Accepted";
7403
8222
  transactionId: string;
7404
8223
  createdAt: string;
@@ -7419,6 +8238,10 @@ export declare const EventDocument: z.ZodObject<{
7419
8238
  residentialArea?: string | null | undefined;
7420
8239
  street?: string | null | undefined;
7421
8240
  zipCode?: string | null | undefined;
8241
+ } | {
8242
+ firstname: string;
8243
+ surname: string;
8244
+ middlename?: string | null | undefined;
7422
8245
  } | {
7423
8246
  country: string;
7424
8247
  district: string;
@@ -7441,8 +8264,9 @@ export declare const EventDocument: z.ZodObject<{
7441
8264
  option: string;
7442
8265
  filename: string;
7443
8266
  originalFilename: string;
7444
- }[] | undefined>;
7445
- createdAtLocation: string;
8267
+ }[] | [string, string] | null | undefined>;
8268
+ createdBySignature?: string | null | undefined;
8269
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7446
8270
  annotation?: Record<string, string | number | boolean | {
7447
8271
  type: string;
7448
8272
  filename: string;
@@ -7458,6 +8282,10 @@ export declare const EventDocument: z.ZodObject<{
7458
8282
  residentialArea?: string | null | undefined;
7459
8283
  street?: string | null | undefined;
7460
8284
  zipCode?: string | null | undefined;
8285
+ } | {
8286
+ firstname: string;
8287
+ surname: string;
8288
+ middlename?: string | null | undefined;
7461
8289
  } | {
7462
8290
  country: string;
7463
8291
  district: string;
@@ -7480,11 +8308,11 @@ export declare const EventDocument: z.ZodObject<{
7480
8308
  option: string;
7481
8309
  filename: string;
7482
8310
  originalFilename: string;
7483
- }[] | undefined> | undefined;
7484
- originalActionId?: string | undefined;
8311
+ }[] | [string, string] | null | undefined> | null | undefined;
8312
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7485
8313
  } | {
7486
8314
  type: "APPROVE_CORRECTION";
7487
- id: string;
8315
+ id: string & z.BRAND<"UUID">;
7488
8316
  status: "Rejected" | "Requested" | "Accepted";
7489
8317
  transactionId: string;
7490
8318
  createdAt: string;
@@ -7505,6 +8333,10 @@ export declare const EventDocument: z.ZodObject<{
7505
8333
  residentialArea?: string | null | undefined;
7506
8334
  street?: string | null | undefined;
7507
8335
  zipCode?: string | null | undefined;
8336
+ } | {
8337
+ firstname: string;
8338
+ surname: string;
8339
+ middlename?: string | null | undefined;
7508
8340
  } | {
7509
8341
  country: string;
7510
8342
  district: string;
@@ -7527,9 +8359,10 @@ export declare const EventDocument: z.ZodObject<{
7527
8359
  option: string;
7528
8360
  filename: string;
7529
8361
  originalFilename: string;
7530
- }[] | undefined>;
7531
- createdAtLocation: string;
8362
+ }[] | [string, string] | null | undefined>;
7532
8363
  requestId: string;
8364
+ createdBySignature?: string | null | undefined;
8365
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7533
8366
  annotation?: Record<string, string | number | boolean | {
7534
8367
  type: string;
7535
8368
  filename: string;
@@ -7545,6 +8378,10 @@ export declare const EventDocument: z.ZodObject<{
7545
8378
  residentialArea?: string | null | undefined;
7546
8379
  street?: string | null | undefined;
7547
8380
  zipCode?: string | null | undefined;
8381
+ } | {
8382
+ firstname: string;
8383
+ surname: string;
8384
+ middlename?: string | null | undefined;
7548
8385
  } | {
7549
8386
  country: string;
7550
8387
  district: string;
@@ -7567,11 +8404,11 @@ export declare const EventDocument: z.ZodObject<{
7567
8404
  option: string;
7568
8405
  filename: string;
7569
8406
  originalFilename: string;
7570
- }[] | undefined> | undefined;
7571
- originalActionId?: string | undefined;
8407
+ }[] | [string, string] | null | undefined> | null | undefined;
8408
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7572
8409
  } | {
7573
8410
  type: "REJECT_CORRECTION";
7574
- id: string;
8411
+ id: string & z.BRAND<"UUID">;
7575
8412
  status: "Rejected" | "Requested" | "Accepted";
7576
8413
  transactionId: string;
7577
8414
  createdAt: string;
@@ -7592,6 +8429,10 @@ export declare const EventDocument: z.ZodObject<{
7592
8429
  residentialArea?: string | null | undefined;
7593
8430
  street?: string | null | undefined;
7594
8431
  zipCode?: string | null | undefined;
8432
+ } | {
8433
+ firstname: string;
8434
+ surname: string;
8435
+ middlename?: string | null | undefined;
7595
8436
  } | {
7596
8437
  country: string;
7597
8438
  district: string;
@@ -7614,9 +8455,10 @@ export declare const EventDocument: z.ZodObject<{
7614
8455
  option: string;
7615
8456
  filename: string;
7616
8457
  originalFilename: string;
7617
- }[] | undefined>;
7618
- createdAtLocation: string;
8458
+ }[] | [string, string] | null | undefined>;
7619
8459
  requestId: string;
8460
+ createdBySignature?: string | null | undefined;
8461
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7620
8462
  annotation?: Record<string, string | number | boolean | {
7621
8463
  type: string;
7622
8464
  filename: string;
@@ -7632,6 +8474,10 @@ export declare const EventDocument: z.ZodObject<{
7632
8474
  residentialArea?: string | null | undefined;
7633
8475
  street?: string | null | undefined;
7634
8476
  zipCode?: string | null | undefined;
8477
+ } | {
8478
+ firstname: string;
8479
+ surname: string;
8480
+ middlename?: string | null | undefined;
7635
8481
  } | {
7636
8482
  country: string;
7637
8483
  district: string;
@@ -7654,11 +8500,11 @@ export declare const EventDocument: z.ZodObject<{
7654
8500
  option: string;
7655
8501
  filename: string;
7656
8502
  originalFilename: string;
7657
- }[] | undefined> | undefined;
7658
- originalActionId?: string | undefined;
8503
+ }[] | [string, string] | null | undefined> | null | undefined;
8504
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7659
8505
  } | {
7660
8506
  type: "READ";
7661
- id: string;
8507
+ id: string & z.BRAND<"UUID">;
7662
8508
  status: "Rejected" | "Requested" | "Accepted";
7663
8509
  transactionId: string;
7664
8510
  createdAt: string;
@@ -7679,6 +8525,10 @@ export declare const EventDocument: z.ZodObject<{
7679
8525
  residentialArea?: string | null | undefined;
7680
8526
  street?: string | null | undefined;
7681
8527
  zipCode?: string | null | undefined;
8528
+ } | {
8529
+ firstname: string;
8530
+ surname: string;
8531
+ middlename?: string | null | undefined;
7682
8532
  } | {
7683
8533
  country: string;
7684
8534
  district: string;
@@ -7701,8 +8551,9 @@ export declare const EventDocument: z.ZodObject<{
7701
8551
  option: string;
7702
8552
  filename: string;
7703
8553
  originalFilename: string;
7704
- }[] | undefined>;
7705
- createdAtLocation: string;
8554
+ }[] | [string, string] | null | undefined>;
8555
+ createdBySignature?: string | null | undefined;
8556
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7706
8557
  annotation?: Record<string, string | number | boolean | {
7707
8558
  type: string;
7708
8559
  filename: string;
@@ -7718,6 +8569,10 @@ export declare const EventDocument: z.ZodObject<{
7718
8569
  residentialArea?: string | null | undefined;
7719
8570
  street?: string | null | undefined;
7720
8571
  zipCode?: string | null | undefined;
8572
+ } | {
8573
+ firstname: string;
8574
+ surname: string;
8575
+ middlename?: string | null | undefined;
7721
8576
  } | {
7722
8577
  country: string;
7723
8578
  district: string;
@@ -7740,15 +8595,19 @@ export declare const EventDocument: z.ZodObject<{
7740
8595
  option: string;
7741
8596
  filename: string;
7742
8597
  originalFilename: string;
7743
- }[] | undefined> | undefined;
7744
- originalActionId?: string | undefined;
8598
+ }[] | [string, string] | null | undefined> | null | undefined;
8599
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7745
8600
  } | {
7746
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7747
- id: string;
8602
+ id: string & z.BRAND<"UUID">;
7748
8603
  status: "Rejected";
7749
8604
  transactionId: string;
7750
8605
  createdAt: string;
7751
- originalActionId?: string | undefined;
8606
+ createdBy: string;
8607
+ createdByRole: string;
8608
+ createdBySignature?: string | null | undefined;
8609
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8610
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7752
8611
  })[];
7753
8612
  trackingId: string;
7754
8613
  }, {
@@ -7756,7 +8615,6 @@ export declare const EventDocument: z.ZodObject<{
7756
8615
  id: string;
7757
8616
  createdAt: string;
7758
8617
  updatedAt: string;
7759
- updatedAtLocation: string;
7760
8618
  actions: ({
7761
8619
  type: "ASSIGN";
7762
8620
  id: string;
@@ -7780,6 +8638,10 @@ export declare const EventDocument: z.ZodObject<{
7780
8638
  residentialArea?: string | null | undefined;
7781
8639
  street?: string | null | undefined;
7782
8640
  zipCode?: string | null | undefined;
8641
+ } | {
8642
+ firstname: string;
8643
+ surname: string;
8644
+ middlename?: string | null | undefined;
7783
8645
  } | {
7784
8646
  country: string;
7785
8647
  district: string;
@@ -7802,9 +8664,10 @@ export declare const EventDocument: z.ZodObject<{
7802
8664
  option: string;
7803
8665
  filename: string;
7804
8666
  originalFilename: string;
7805
- }[] | undefined>;
7806
- createdAtLocation: string;
8667
+ }[] | [string, string] | null | undefined>;
7807
8668
  assignedTo: string;
8669
+ createdBySignature?: string | null | undefined;
8670
+ createdAtLocation?: string | null | undefined;
7808
8671
  annotation?: Record<string, string | number | boolean | {
7809
8672
  type: string;
7810
8673
  filename: string;
@@ -7820,6 +8683,10 @@ export declare const EventDocument: z.ZodObject<{
7820
8683
  residentialArea?: string | null | undefined;
7821
8684
  street?: string | null | undefined;
7822
8685
  zipCode?: string | null | undefined;
8686
+ } | {
8687
+ firstname: string;
8688
+ surname: string;
8689
+ middlename?: string | null | undefined;
7823
8690
  } | {
7824
8691
  country: string;
7825
8692
  district: string;
@@ -7842,8 +8709,8 @@ export declare const EventDocument: z.ZodObject<{
7842
8709
  option: string;
7843
8710
  filename: string;
7844
8711
  originalFilename: string;
7845
- }[] | undefined> | undefined;
7846
- originalActionId?: string | undefined;
8712
+ }[] | [string, string] | null | undefined> | null | undefined;
8713
+ originalActionId?: string | null | undefined;
7847
8714
  } | {
7848
8715
  type: "UNASSIGN";
7849
8716
  id: string;
@@ -7867,6 +8734,10 @@ export declare const EventDocument: z.ZodObject<{
7867
8734
  residentialArea?: string | null | undefined;
7868
8735
  street?: string | null | undefined;
7869
8736
  zipCode?: string | null | undefined;
8737
+ } | {
8738
+ firstname: string;
8739
+ surname: string;
8740
+ middlename?: string | null | undefined;
7870
8741
  } | {
7871
8742
  country: string;
7872
8743
  district: string;
@@ -7889,9 +8760,10 @@ export declare const EventDocument: z.ZodObject<{
7889
8760
  option: string;
7890
8761
  filename: string;
7891
8762
  originalFilename: string;
7892
- }[] | undefined>;
7893
- createdAtLocation: string;
8763
+ }[] | [string, string] | null | undefined>;
7894
8764
  assignedTo: null;
8765
+ createdBySignature?: string | null | undefined;
8766
+ createdAtLocation?: string | null | undefined;
7895
8767
  annotation?: Record<string, string | number | boolean | {
7896
8768
  type: string;
7897
8769
  filename: string;
@@ -7907,6 +8779,10 @@ export declare const EventDocument: z.ZodObject<{
7907
8779
  residentialArea?: string | null | undefined;
7908
8780
  street?: string | null | undefined;
7909
8781
  zipCode?: string | null | undefined;
8782
+ } | {
8783
+ firstname: string;
8784
+ surname: string;
8785
+ middlename?: string | null | undefined;
7910
8786
  } | {
7911
8787
  country: string;
7912
8788
  district: string;
@@ -7929,8 +8805,8 @@ export declare const EventDocument: z.ZodObject<{
7929
8805
  option: string;
7930
8806
  filename: string;
7931
8807
  originalFilename: string;
7932
- }[] | undefined> | undefined;
7933
- originalActionId?: string | undefined;
8808
+ }[] | [string, string] | null | undefined> | null | undefined;
8809
+ originalActionId?: string | null | undefined;
7934
8810
  } | {
7935
8811
  type: "REGISTER";
7936
8812
  id: string;
@@ -7954,6 +8830,10 @@ export declare const EventDocument: z.ZodObject<{
7954
8830
  residentialArea?: string | null | undefined;
7955
8831
  street?: string | null | undefined;
7956
8832
  zipCode?: string | null | undefined;
8833
+ } | {
8834
+ firstname: string;
8835
+ surname: string;
8836
+ middlename?: string | null | undefined;
7957
8837
  } | {
7958
8838
  country: string;
7959
8839
  district: string;
@@ -7976,8 +8856,9 @@ export declare const EventDocument: z.ZodObject<{
7976
8856
  option: string;
7977
8857
  filename: string;
7978
8858
  originalFilename: string;
7979
- }[] | undefined>;
7980
- createdAtLocation: string;
8859
+ }[] | [string, string] | null | undefined>;
8860
+ createdBySignature?: string | null | undefined;
8861
+ createdAtLocation?: string | null | undefined;
7981
8862
  annotation?: Record<string, string | number | boolean | {
7982
8863
  type: string;
7983
8864
  filename: string;
@@ -7993,6 +8874,10 @@ export declare const EventDocument: z.ZodObject<{
7993
8874
  residentialArea?: string | null | undefined;
7994
8875
  street?: string | null | undefined;
7995
8876
  zipCode?: string | null | undefined;
8877
+ } | {
8878
+ firstname: string;
8879
+ surname: string;
8880
+ middlename?: string | null | undefined;
7996
8881
  } | {
7997
8882
  country: string;
7998
8883
  district: string;
@@ -8015,8 +8900,8 @@ export declare const EventDocument: z.ZodObject<{
8015
8900
  option: string;
8016
8901
  filename: string;
8017
8902
  originalFilename: string;
8018
- }[] | undefined> | undefined;
8019
- originalActionId?: string | undefined;
8903
+ }[] | [string, string] | null | undefined> | null | undefined;
8904
+ originalActionId?: string | null | undefined;
8020
8905
  registrationNumber?: string | undefined;
8021
8906
  } | {
8022
8907
  type: "DECLARE";
@@ -8041,6 +8926,10 @@ export declare const EventDocument: z.ZodObject<{
8041
8926
  residentialArea?: string | null | undefined;
8042
8927
  street?: string | null | undefined;
8043
8928
  zipCode?: string | null | undefined;
8929
+ } | {
8930
+ firstname: string;
8931
+ surname: string;
8932
+ middlename?: string | null | undefined;
8044
8933
  } | {
8045
8934
  country: string;
8046
8935
  district: string;
@@ -8063,8 +8952,9 @@ export declare const EventDocument: z.ZodObject<{
8063
8952
  option: string;
8064
8953
  filename: string;
8065
8954
  originalFilename: string;
8066
- }[] | undefined>;
8067
- createdAtLocation: string;
8955
+ }[] | [string, string] | null | undefined>;
8956
+ createdBySignature?: string | null | undefined;
8957
+ createdAtLocation?: string | null | undefined;
8068
8958
  annotation?: Record<string, string | number | boolean | {
8069
8959
  type: string;
8070
8960
  filename: string;
@@ -8080,6 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8080
8970
  residentialArea?: string | null | undefined;
8081
8971
  street?: string | null | undefined;
8082
8972
  zipCode?: string | null | undefined;
8973
+ } | {
8974
+ firstname: string;
8975
+ surname: string;
8976
+ middlename?: string | null | undefined;
8083
8977
  } | {
8084
8978
  country: string;
8085
8979
  district: string;
@@ -8102,8 +8996,8 @@ export declare const EventDocument: z.ZodObject<{
8102
8996
  option: string;
8103
8997
  filename: string;
8104
8998
  originalFilename: string;
8105
- }[] | undefined> | undefined;
8106
- originalActionId?: string | undefined;
8999
+ }[] | [string, string] | null | undefined> | null | undefined;
9000
+ originalActionId?: string | null | undefined;
8107
9001
  } | {
8108
9002
  type: "VALIDATE";
8109
9003
  id: string;
@@ -8127,6 +9021,10 @@ export declare const EventDocument: z.ZodObject<{
8127
9021
  residentialArea?: string | null | undefined;
8128
9022
  street?: string | null | undefined;
8129
9023
  zipCode?: string | null | undefined;
9024
+ } | {
9025
+ firstname: string;
9026
+ surname: string;
9027
+ middlename?: string | null | undefined;
8130
9028
  } | {
8131
9029
  country: string;
8132
9030
  district: string;
@@ -8149,8 +9047,9 @@ export declare const EventDocument: z.ZodObject<{
8149
9047
  option: string;
8150
9048
  filename: string;
8151
9049
  originalFilename: string;
8152
- }[] | undefined>;
8153
- createdAtLocation: string;
9050
+ }[] | [string, string] | null | undefined>;
9051
+ createdBySignature?: string | null | undefined;
9052
+ createdAtLocation?: string | null | undefined;
8154
9053
  annotation?: Record<string, string | number | boolean | {
8155
9054
  type: string;
8156
9055
  filename: string;
@@ -8166,6 +9065,10 @@ export declare const EventDocument: z.ZodObject<{
8166
9065
  residentialArea?: string | null | undefined;
8167
9066
  street?: string | null | undefined;
8168
9067
  zipCode?: string | null | undefined;
9068
+ } | {
9069
+ firstname: string;
9070
+ surname: string;
9071
+ middlename?: string | null | undefined;
8169
9072
  } | {
8170
9073
  country: string;
8171
9074
  district: string;
@@ -8188,12 +9091,16 @@ export declare const EventDocument: z.ZodObject<{
8188
9091
  option: string;
8189
9092
  filename: string;
8190
9093
  originalFilename: string;
8191
- }[] | undefined> | undefined;
8192
- originalActionId?: string | undefined;
9094
+ }[] | [string, string] | null | undefined> | null | undefined;
9095
+ originalActionId?: string | null | undefined;
8193
9096
  } | {
8194
9097
  type: "REJECT";
8195
9098
  id: string;
8196
9099
  status: "Rejected" | "Requested" | "Accepted";
9100
+ reason: {
9101
+ message: string;
9102
+ isDuplicate?: boolean | undefined;
9103
+ };
8197
9104
  transactionId: string;
8198
9105
  createdAt: string;
8199
9106
  createdBy: string;
@@ -8213,6 +9120,10 @@ export declare const EventDocument: z.ZodObject<{
8213
9120
  residentialArea?: string | null | undefined;
8214
9121
  street?: string | null | undefined;
8215
9122
  zipCode?: string | null | undefined;
9123
+ } | {
9124
+ firstname: string;
9125
+ surname: string;
9126
+ middlename?: string | null | undefined;
8216
9127
  } | {
8217
9128
  country: string;
8218
9129
  district: string;
@@ -8235,8 +9146,9 @@ export declare const EventDocument: z.ZodObject<{
8235
9146
  option: string;
8236
9147
  filename: string;
8237
9148
  originalFilename: string;
8238
- }[] | undefined>;
8239
- createdAtLocation: string;
9149
+ }[] | [string, string] | null | undefined>;
9150
+ createdBySignature?: string | null | undefined;
9151
+ createdAtLocation?: string | null | undefined;
8240
9152
  annotation?: Record<string, string | number | boolean | {
8241
9153
  type: string;
8242
9154
  filename: string;
@@ -8252,6 +9164,10 @@ export declare const EventDocument: z.ZodObject<{
8252
9164
  residentialArea?: string | null | undefined;
8253
9165
  street?: string | null | undefined;
8254
9166
  zipCode?: string | null | undefined;
9167
+ } | {
9168
+ firstname: string;
9169
+ surname: string;
9170
+ middlename?: string | null | undefined;
8255
9171
  } | {
8256
9172
  country: string;
8257
9173
  district: string;
@@ -8274,8 +9190,8 @@ export declare const EventDocument: z.ZodObject<{
8274
9190
  option: string;
8275
9191
  filename: string;
8276
9192
  originalFilename: string;
8277
- }[] | undefined> | undefined;
8278
- originalActionId?: string | undefined;
9193
+ }[] | [string, string] | null | undefined> | null | undefined;
9194
+ originalActionId?: string | null | undefined;
8279
9195
  } | {
8280
9196
  type: "MARKED_AS_DUPLICATE";
8281
9197
  id: string;
@@ -8299,6 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8299
9215
  residentialArea?: string | null | undefined;
8300
9216
  street?: string | null | undefined;
8301
9217
  zipCode?: string | null | undefined;
9218
+ } | {
9219
+ firstname: string;
9220
+ surname: string;
9221
+ middlename?: string | null | undefined;
8302
9222
  } | {
8303
9223
  country: string;
8304
9224
  district: string;
@@ -8321,8 +9241,9 @@ export declare const EventDocument: z.ZodObject<{
8321
9241
  option: string;
8322
9242
  filename: string;
8323
9243
  originalFilename: string;
8324
- }[] | undefined>;
8325
- createdAtLocation: string;
9244
+ }[] | [string, string] | null | undefined>;
9245
+ createdBySignature?: string | null | undefined;
9246
+ createdAtLocation?: string | null | undefined;
8326
9247
  annotation?: Record<string, string | number | boolean | {
8327
9248
  type: string;
8328
9249
  filename: string;
@@ -8338,6 +9259,10 @@ export declare const EventDocument: z.ZodObject<{
8338
9259
  residentialArea?: string | null | undefined;
8339
9260
  street?: string | null | undefined;
8340
9261
  zipCode?: string | null | undefined;
9262
+ } | {
9263
+ firstname: string;
9264
+ surname: string;
9265
+ middlename?: string | null | undefined;
8341
9266
  } | {
8342
9267
  country: string;
8343
9268
  district: string;
@@ -8360,12 +9285,16 @@ export declare const EventDocument: z.ZodObject<{
8360
9285
  option: string;
8361
9286
  filename: string;
8362
9287
  originalFilename: string;
8363
- }[] | undefined> | undefined;
8364
- originalActionId?: string | undefined;
9288
+ }[] | [string, string] | null | undefined> | null | undefined;
9289
+ originalActionId?: string | null | undefined;
8365
9290
  } | {
8366
9291
  type: "ARCHIVE";
8367
9292
  id: string;
8368
9293
  status: "Rejected" | "Requested" | "Accepted";
9294
+ reason: {
9295
+ message: string;
9296
+ isDuplicate?: boolean | undefined;
9297
+ };
8369
9298
  transactionId: string;
8370
9299
  createdAt: string;
8371
9300
  createdBy: string;
@@ -8385,6 +9314,10 @@ export declare const EventDocument: z.ZodObject<{
8385
9314
  residentialArea?: string | null | undefined;
8386
9315
  street?: string | null | undefined;
8387
9316
  zipCode?: string | null | undefined;
9317
+ } | {
9318
+ firstname: string;
9319
+ surname: string;
9320
+ middlename?: string | null | undefined;
8388
9321
  } | {
8389
9322
  country: string;
8390
9323
  district: string;
@@ -8407,8 +9340,9 @@ export declare const EventDocument: z.ZodObject<{
8407
9340
  option: string;
8408
9341
  filename: string;
8409
9342
  originalFilename: string;
8410
- }[] | undefined>;
8411
- createdAtLocation: string;
9343
+ }[] | [string, string] | null | undefined>;
9344
+ createdBySignature?: string | null | undefined;
9345
+ createdAtLocation?: string | null | undefined;
8412
9346
  annotation?: Record<string, string | number | boolean | {
8413
9347
  type: string;
8414
9348
  filename: string;
@@ -8424,6 +9358,10 @@ export declare const EventDocument: z.ZodObject<{
8424
9358
  residentialArea?: string | null | undefined;
8425
9359
  street?: string | null | undefined;
8426
9360
  zipCode?: string | null | undefined;
9361
+ } | {
9362
+ firstname: string;
9363
+ surname: string;
9364
+ middlename?: string | null | undefined;
8427
9365
  } | {
8428
9366
  country: string;
8429
9367
  district: string;
@@ -8446,8 +9384,8 @@ export declare const EventDocument: z.ZodObject<{
8446
9384
  option: string;
8447
9385
  filename: string;
8448
9386
  originalFilename: string;
8449
- }[] | undefined> | undefined;
8450
- originalActionId?: string | undefined;
9387
+ }[] | [string, string] | null | undefined> | null | undefined;
9388
+ originalActionId?: string | null | undefined;
8451
9389
  } | {
8452
9390
  type: "CREATE";
8453
9391
  id: string;
@@ -8471,6 +9409,10 @@ export declare const EventDocument: z.ZodObject<{
8471
9409
  residentialArea?: string | null | undefined;
8472
9410
  street?: string | null | undefined;
8473
9411
  zipCode?: string | null | undefined;
9412
+ } | {
9413
+ firstname: string;
9414
+ surname: string;
9415
+ middlename?: string | null | undefined;
8474
9416
  } | {
8475
9417
  country: string;
8476
9418
  district: string;
@@ -8493,8 +9435,9 @@ export declare const EventDocument: z.ZodObject<{
8493
9435
  option: string;
8494
9436
  filename: string;
8495
9437
  originalFilename: string;
8496
- }[] | undefined>;
8497
- createdAtLocation: string;
9438
+ }[] | [string, string] | null | undefined>;
9439
+ createdBySignature?: string | null | undefined;
9440
+ createdAtLocation?: string | null | undefined;
8498
9441
  annotation?: Record<string, string | number | boolean | {
8499
9442
  type: string;
8500
9443
  filename: string;
@@ -8510,6 +9453,10 @@ export declare const EventDocument: z.ZodObject<{
8510
9453
  residentialArea?: string | null | undefined;
8511
9454
  street?: string | null | undefined;
8512
9455
  zipCode?: string | null | undefined;
9456
+ } | {
9457
+ firstname: string;
9458
+ surname: string;
9459
+ middlename?: string | null | undefined;
8513
9460
  } | {
8514
9461
  country: string;
8515
9462
  district: string;
@@ -8532,8 +9479,8 @@ export declare const EventDocument: z.ZodObject<{
8532
9479
  option: string;
8533
9480
  filename: string;
8534
9481
  originalFilename: string;
8535
- }[] | undefined> | undefined;
8536
- originalActionId?: string | undefined;
9482
+ }[] | [string, string] | null | undefined> | null | undefined;
9483
+ originalActionId?: string | null | undefined;
8537
9484
  } | {
8538
9485
  type: "NOTIFY";
8539
9486
  id: string;
@@ -8557,6 +9504,10 @@ export declare const EventDocument: z.ZodObject<{
8557
9504
  residentialArea?: string | null | undefined;
8558
9505
  street?: string | null | undefined;
8559
9506
  zipCode?: string | null | undefined;
9507
+ } | {
9508
+ firstname: string;
9509
+ surname: string;
9510
+ middlename?: string | null | undefined;
8560
9511
  } | {
8561
9512
  country: string;
8562
9513
  district: string;
@@ -8579,8 +9530,9 @@ export declare const EventDocument: z.ZodObject<{
8579
9530
  option: string;
8580
9531
  filename: string;
8581
9532
  originalFilename: string;
8582
- }[] | undefined>;
8583
- createdAtLocation: string;
9533
+ }[] | [string, string] | null | undefined>;
9534
+ createdBySignature?: string | null | undefined;
9535
+ createdAtLocation?: string | null | undefined;
8584
9536
  annotation?: Record<string, string | number | boolean | {
8585
9537
  type: string;
8586
9538
  filename: string;
@@ -8596,6 +9548,10 @@ export declare const EventDocument: z.ZodObject<{
8596
9548
  residentialArea?: string | null | undefined;
8597
9549
  street?: string | null | undefined;
8598
9550
  zipCode?: string | null | undefined;
9551
+ } | {
9552
+ firstname: string;
9553
+ surname: string;
9554
+ middlename?: string | null | undefined;
8599
9555
  } | {
8600
9556
  country: string;
8601
9557
  district: string;
@@ -8618,8 +9574,8 @@ export declare const EventDocument: z.ZodObject<{
8618
9574
  option: string;
8619
9575
  filename: string;
8620
9576
  originalFilename: string;
8621
- }[] | undefined> | undefined;
8622
- originalActionId?: string | undefined;
9577
+ }[] | [string, string] | null | undefined> | null | undefined;
9578
+ originalActionId?: string | null | undefined;
8623
9579
  } | {
8624
9580
  type: "PRINT_CERTIFICATE";
8625
9581
  id: string;
@@ -8643,6 +9599,10 @@ export declare const EventDocument: z.ZodObject<{
8643
9599
  residentialArea?: string | null | undefined;
8644
9600
  street?: string | null | undefined;
8645
9601
  zipCode?: string | null | undefined;
9602
+ } | {
9603
+ firstname: string;
9604
+ surname: string;
9605
+ middlename?: string | null | undefined;
8646
9606
  } | {
8647
9607
  country: string;
8648
9608
  district: string;
@@ -8665,8 +9625,9 @@ export declare const EventDocument: z.ZodObject<{
8665
9625
  option: string;
8666
9626
  filename: string;
8667
9627
  originalFilename: string;
8668
- }[] | undefined>;
8669
- createdAtLocation: string;
9628
+ }[] | [string, string] | null | undefined>;
9629
+ createdBySignature?: string | null | undefined;
9630
+ createdAtLocation?: string | null | undefined;
8670
9631
  annotation?: Record<string, string | number | boolean | {
8671
9632
  type: string;
8672
9633
  filename: string;
@@ -8682,6 +9643,10 @@ export declare const EventDocument: z.ZodObject<{
8682
9643
  residentialArea?: string | null | undefined;
8683
9644
  street?: string | null | undefined;
8684
9645
  zipCode?: string | null | undefined;
9646
+ } | {
9647
+ firstname: string;
9648
+ surname: string;
9649
+ middlename?: string | null | undefined;
8685
9650
  } | {
8686
9651
  country: string;
8687
9652
  district: string;
@@ -8704,8 +9669,8 @@ export declare const EventDocument: z.ZodObject<{
8704
9669
  option: string;
8705
9670
  filename: string;
8706
9671
  originalFilename: string;
8707
- }[] | undefined> | undefined;
8708
- originalActionId?: string | undefined;
9672
+ }[] | [string, string] | null | undefined> | null | undefined;
9673
+ originalActionId?: string | null | undefined;
8709
9674
  } | {
8710
9675
  type: "REQUEST_CORRECTION";
8711
9676
  id: string;
@@ -8729,6 +9694,10 @@ export declare const EventDocument: z.ZodObject<{
8729
9694
  residentialArea?: string | null | undefined;
8730
9695
  street?: string | null | undefined;
8731
9696
  zipCode?: string | null | undefined;
9697
+ } | {
9698
+ firstname: string;
9699
+ surname: string;
9700
+ middlename?: string | null | undefined;
8732
9701
  } | {
8733
9702
  country: string;
8734
9703
  district: string;
@@ -8751,8 +9720,9 @@ export declare const EventDocument: z.ZodObject<{
8751
9720
  option: string;
8752
9721
  filename: string;
8753
9722
  originalFilename: string;
8754
- }[] | undefined>;
8755
- createdAtLocation: string;
9723
+ }[] | [string, string] | null | undefined>;
9724
+ createdBySignature?: string | null | undefined;
9725
+ createdAtLocation?: string | null | undefined;
8756
9726
  annotation?: Record<string, string | number | boolean | {
8757
9727
  type: string;
8758
9728
  filename: string;
@@ -8768,6 +9738,10 @@ export declare const EventDocument: z.ZodObject<{
8768
9738
  residentialArea?: string | null | undefined;
8769
9739
  street?: string | null | undefined;
8770
9740
  zipCode?: string | null | undefined;
9741
+ } | {
9742
+ firstname: string;
9743
+ surname: string;
9744
+ middlename?: string | null | undefined;
8771
9745
  } | {
8772
9746
  country: string;
8773
9747
  district: string;
@@ -8790,8 +9764,8 @@ export declare const EventDocument: z.ZodObject<{
8790
9764
  option: string;
8791
9765
  filename: string;
8792
9766
  originalFilename: string;
8793
- }[] | undefined> | undefined;
8794
- originalActionId?: string | undefined;
9767
+ }[] | [string, string] | null | undefined> | null | undefined;
9768
+ originalActionId?: string | null | undefined;
8795
9769
  } | {
8796
9770
  type: "APPROVE_CORRECTION";
8797
9771
  id: string;
@@ -8815,6 +9789,10 @@ export declare const EventDocument: z.ZodObject<{
8815
9789
  residentialArea?: string | null | undefined;
8816
9790
  street?: string | null | undefined;
8817
9791
  zipCode?: string | null | undefined;
9792
+ } | {
9793
+ firstname: string;
9794
+ surname: string;
9795
+ middlename?: string | null | undefined;
8818
9796
  } | {
8819
9797
  country: string;
8820
9798
  district: string;
@@ -8837,9 +9815,10 @@ export declare const EventDocument: z.ZodObject<{
8837
9815
  option: string;
8838
9816
  filename: string;
8839
9817
  originalFilename: string;
8840
- }[] | undefined>;
8841
- createdAtLocation: string;
9818
+ }[] | [string, string] | null | undefined>;
8842
9819
  requestId: string;
9820
+ createdBySignature?: string | null | undefined;
9821
+ createdAtLocation?: string | null | undefined;
8843
9822
  annotation?: Record<string, string | number | boolean | {
8844
9823
  type: string;
8845
9824
  filename: string;
@@ -8855,6 +9834,10 @@ export declare const EventDocument: z.ZodObject<{
8855
9834
  residentialArea?: string | null | undefined;
8856
9835
  street?: string | null | undefined;
8857
9836
  zipCode?: string | null | undefined;
9837
+ } | {
9838
+ firstname: string;
9839
+ surname: string;
9840
+ middlename?: string | null | undefined;
8858
9841
  } | {
8859
9842
  country: string;
8860
9843
  district: string;
@@ -8877,8 +9860,8 @@ export declare const EventDocument: z.ZodObject<{
8877
9860
  option: string;
8878
9861
  filename: string;
8879
9862
  originalFilename: string;
8880
- }[] | undefined> | undefined;
8881
- originalActionId?: string | undefined;
9863
+ }[] | [string, string] | null | undefined> | null | undefined;
9864
+ originalActionId?: string | null | undefined;
8882
9865
  } | {
8883
9866
  type: "REJECT_CORRECTION";
8884
9867
  id: string;
@@ -8902,6 +9885,10 @@ export declare const EventDocument: z.ZodObject<{
8902
9885
  residentialArea?: string | null | undefined;
8903
9886
  street?: string | null | undefined;
8904
9887
  zipCode?: string | null | undefined;
9888
+ } | {
9889
+ firstname: string;
9890
+ surname: string;
9891
+ middlename?: string | null | undefined;
8905
9892
  } | {
8906
9893
  country: string;
8907
9894
  district: string;
@@ -8924,9 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8924
9911
  option: string;
8925
9912
  filename: string;
8926
9913
  originalFilename: string;
8927
- }[] | undefined>;
8928
- createdAtLocation: string;
9914
+ }[] | [string, string] | null | undefined>;
8929
9915
  requestId: string;
9916
+ createdBySignature?: string | null | undefined;
9917
+ createdAtLocation?: string | null | undefined;
8930
9918
  annotation?: Record<string, string | number | boolean | {
8931
9919
  type: string;
8932
9920
  filename: string;
@@ -8942,6 +9930,10 @@ export declare const EventDocument: z.ZodObject<{
8942
9930
  residentialArea?: string | null | undefined;
8943
9931
  street?: string | null | undefined;
8944
9932
  zipCode?: string | null | undefined;
9933
+ } | {
9934
+ firstname: string;
9935
+ surname: string;
9936
+ middlename?: string | null | undefined;
8945
9937
  } | {
8946
9938
  country: string;
8947
9939
  district: string;
@@ -8964,8 +9956,8 @@ export declare const EventDocument: z.ZodObject<{
8964
9956
  option: string;
8965
9957
  filename: string;
8966
9958
  originalFilename: string;
8967
- }[] | undefined> | undefined;
8968
- originalActionId?: string | undefined;
9959
+ }[] | [string, string] | null | undefined> | null | undefined;
9960
+ originalActionId?: string | null | undefined;
8969
9961
  } | {
8970
9962
  type: "READ";
8971
9963
  id: string;
@@ -8989,6 +9981,10 @@ export declare const EventDocument: z.ZodObject<{
8989
9981
  residentialArea?: string | null | undefined;
8990
9982
  street?: string | null | undefined;
8991
9983
  zipCode?: string | null | undefined;
9984
+ } | {
9985
+ firstname: string;
9986
+ surname: string;
9987
+ middlename?: string | null | undefined;
8992
9988
  } | {
8993
9989
  country: string;
8994
9990
  district: string;
@@ -9011,8 +10007,9 @@ export declare const EventDocument: z.ZodObject<{
9011
10007
  option: string;
9012
10008
  filename: string;
9013
10009
  originalFilename: string;
9014
- }[] | undefined>;
9015
- createdAtLocation: string;
10010
+ }[] | [string, string] | null | undefined>;
10011
+ createdBySignature?: string | null | undefined;
10012
+ createdAtLocation?: string | null | undefined;
9016
10013
  annotation?: Record<string, string | number | boolean | {
9017
10014
  type: string;
9018
10015
  filename: string;
@@ -9028,6 +10025,10 @@ export declare const EventDocument: z.ZodObject<{
9028
10025
  residentialArea?: string | null | undefined;
9029
10026
  street?: string | null | undefined;
9030
10027
  zipCode?: string | null | undefined;
10028
+ } | {
10029
+ firstname: string;
10030
+ surname: string;
10031
+ middlename?: string | null | undefined;
9031
10032
  } | {
9032
10033
  country: string;
9033
10034
  district: string;
@@ -9050,15 +10051,19 @@ export declare const EventDocument: z.ZodObject<{
9050
10051
  option: string;
9051
10052
  filename: string;
9052
10053
  originalFilename: string;
9053
- }[] | undefined> | undefined;
9054
- originalActionId?: string | undefined;
10054
+ }[] | [string, string] | null | undefined> | null | undefined;
10055
+ originalActionId?: string | null | undefined;
9055
10056
  } | {
9056
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9057
10058
  id: string;
9058
10059
  status: "Rejected";
9059
10060
  transactionId: string;
9060
10061
  createdAt: string;
9061
- originalActionId?: string | undefined;
10062
+ createdBy: string;
10063
+ createdByRole: string;
10064
+ createdBySignature?: string | null | undefined;
10065
+ createdAtLocation?: string | null | undefined;
10066
+ originalActionId?: string | null | undefined;
9062
10067
  })[];
9063
10068
  trackingId: string;
9064
10069
  }>;