@opencrvs/toolkit 1.8.0-rc.fbcec4c → 1.8.0-rc.fbec3ce

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 +13657 -4243
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +6 -11
  4. package/dist/commons/events/ActionConfig.d.ts +117418 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2307 -379
  6. package/dist/commons/events/ActionInput.d.ts +1673 -303
  7. package/dist/commons/events/ActionType.d.ts +2 -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 +3 -0
  13. package/dist/commons/events/Draft.d.ts +146 -29
  14. package/dist/commons/events/EventConfig.d.ts +56364 -1344
  15. package/dist/commons/events/EventDocument.d.ts +1430 -264
  16. package/dist/commons/events/EventIndex.d.ts +1590 -28
  17. package/dist/commons/events/EventMetadata.d.ts +299 -46
  18. package/dist/commons/events/FieldConfig.d.ts +5436 -1038
  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 +95 -39
  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 +4801 -20
  28. package/dist/commons/events/defineConfig.d.ts +8993 -58
  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 +7 -0
  32. package/dist/commons/events/scopes.d.ts +45 -0
  33. package/dist/commons/events/serializer.d.ts +2 -0
  34. package/dist/commons/events/test.utils.d.ts +145 -72
  35. package/dist/commons/events/utils.d.ts +13362 -70
  36. package/dist/commons/events/utils.test.d.ts +2 -0
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +76 -36
  39. package/dist/events/index.js +4174 -1863
  40. package/dist/scopes/index.d.ts +158 -1
  41. package/dist/scopes/index.js +152 -1
  42. package/package.json +3 -2
@@ -4,12 +4,15 @@ export declare const EventDocument: z.ZodObject<{
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
8
  id: z.ZodString;
9
+ transactionId: z.ZodString;
10
10
  createdAt: z.ZodString;
11
11
  createdBy: z.ZodString;
12
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12
+ createdByRole: z.ZodString;
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
13
16
  filename: z.ZodString;
14
17
  originalFilename: z.ZodString;
15
18
  type: z.ZodString;
@@ -122,8 +125,20 @@ export declare const EventDocument: z.ZodObject<{
122
125
  addressLine2?: string | null | undefined;
123
126
  addressLine3?: string | null | undefined;
124
127
  postcodeOrZip?: string | null | undefined;
125
- }>]>>;
126
- 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.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<{
127
142
  filename: z.ZodString;
128
143
  originalFilename: z.ZodString;
129
144
  type: z.ZodString;
@@ -236,8 +251,19 @@ export declare const EventDocument: z.ZodObject<{
236
251
  addressLine2?: string | null | undefined;
237
252
  addressLine3?: string | null | undefined;
238
253
  postcodeOrZip?: string | null | undefined;
239
- }>]>>>;
240
- 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]>]>>>;
241
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
242
268
  originalActionId: z.ZodOptional<z.ZodString>;
243
269
  }, {
@@ -246,8 +272,10 @@ export declare const EventDocument: z.ZodObject<{
246
272
  type: "CREATE";
247
273
  id: string;
248
274
  status: "Rejected" | "Requested" | "Accepted";
275
+ transactionId: string;
249
276
  createdAt: string;
250
277
  createdBy: string;
278
+ createdByRole: string;
251
279
  declaration: Record<string, string | number | boolean | {
252
280
  type: string;
253
281
  filename: string;
@@ -263,6 +291,10 @@ export declare const EventDocument: z.ZodObject<{
263
291
  residentialArea?: string | null | undefined;
264
292
  street?: string | null | undefined;
265
293
  zipCode?: string | null | undefined;
294
+ } | {
295
+ firstname: string;
296
+ surname: string;
297
+ middlename?: string | null | undefined;
266
298
  } | {
267
299
  country: string;
268
300
  district: string;
@@ -285,8 +317,9 @@ export declare const EventDocument: z.ZodObject<{
285
317
  option: string;
286
318
  filename: string;
287
319
  originalFilename: string;
288
- }[] | undefined>;
289
- createdAtLocation: string;
320
+ }[] | [string, string] | null | undefined>;
321
+ createdBySignature?: string | null | undefined;
322
+ createdAtLocation?: string | null | undefined;
290
323
  annotation?: Record<string, string | number | boolean | {
291
324
  type: string;
292
325
  filename: string;
@@ -302,6 +335,10 @@ export declare const EventDocument: z.ZodObject<{
302
335
  residentialArea?: string | null | undefined;
303
336
  street?: string | null | undefined;
304
337
  zipCode?: string | null | undefined;
338
+ } | {
339
+ firstname: string;
340
+ surname: string;
341
+ middlename?: string | null | undefined;
305
342
  } | {
306
343
  country: string;
307
344
  district: string;
@@ -324,14 +361,16 @@ export declare const EventDocument: z.ZodObject<{
324
361
  option: string;
325
362
  filename: string;
326
363
  originalFilename: string;
327
- }[] | undefined> | undefined;
364
+ }[] | [string, string] | null | undefined> | undefined;
328
365
  originalActionId?: string | undefined;
329
366
  }, {
330
367
  type: "CREATE";
331
368
  id: string;
332
369
  status: "Rejected" | "Requested" | "Accepted";
370
+ transactionId: string;
333
371
  createdAt: string;
334
372
  createdBy: string;
373
+ createdByRole: string;
335
374
  declaration: Record<string, string | number | boolean | {
336
375
  type: string;
337
376
  filename: string;
@@ -347,6 +386,10 @@ export declare const EventDocument: z.ZodObject<{
347
386
  residentialArea?: string | null | undefined;
348
387
  street?: string | null | undefined;
349
388
  zipCode?: string | null | undefined;
389
+ } | {
390
+ firstname: string;
391
+ surname: string;
392
+ middlename?: string | null | undefined;
350
393
  } | {
351
394
  country: string;
352
395
  district: string;
@@ -369,8 +412,9 @@ export declare const EventDocument: z.ZodObject<{
369
412
  option: string;
370
413
  filename: string;
371
414
  originalFilename: string;
372
- }[] | undefined>;
373
- createdAtLocation: string;
415
+ }[] | [string, string] | null | undefined>;
416
+ createdBySignature?: string | null | undefined;
417
+ createdAtLocation?: string | null | undefined;
374
418
  annotation?: Record<string, string | number | boolean | {
375
419
  type: string;
376
420
  filename: string;
@@ -386,6 +430,10 @@ export declare const EventDocument: z.ZodObject<{
386
430
  residentialArea?: string | null | undefined;
387
431
  street?: string | null | undefined;
388
432
  zipCode?: string | null | undefined;
433
+ } | {
434
+ firstname: string;
435
+ surname: string;
436
+ middlename?: string | null | undefined;
389
437
  } | {
390
438
  country: string;
391
439
  district: string;
@@ -408,13 +456,17 @@ export declare const EventDocument: z.ZodObject<{
408
456
  option: string;
409
457
  filename: string;
410
458
  originalFilename: string;
411
- }[] | undefined> | undefined;
459
+ }[] | [string, string] | null | undefined> | undefined;
412
460
  originalActionId?: string | undefined;
413
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
414
462
  id: z.ZodString;
463
+ transactionId: z.ZodString;
415
464
  createdAt: z.ZodString;
416
465
  createdBy: z.ZodString;
417
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
466
+ createdByRole: z.ZodString;
467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
418
470
  filename: z.ZodString;
419
471
  originalFilename: z.ZodString;
420
472
  type: z.ZodString;
@@ -527,8 +579,20 @@ export declare const EventDocument: z.ZodObject<{
527
579
  addressLine2?: string | null | undefined;
528
580
  addressLine3?: string | null | undefined;
529
581
  postcodeOrZip?: string | null | undefined;
530
- }>]>>;
531
- 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.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<{
532
596
  filename: z.ZodString;
533
597
  originalFilename: z.ZodString;
534
598
  type: z.ZodString;
@@ -641,8 +705,19 @@ export declare const EventDocument: z.ZodObject<{
641
705
  addressLine2?: string | null | undefined;
642
706
  addressLine3?: string | null | undefined;
643
707
  postcodeOrZip?: string | null | undefined;
644
- }>]>>>;
645
- 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]>]>>>;
646
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
647
722
  originalActionId: z.ZodOptional<z.ZodString>;
648
723
  }, {
@@ -651,8 +726,10 @@ export declare const EventDocument: z.ZodObject<{
651
726
  type: "VALIDATE";
652
727
  id: string;
653
728
  status: "Rejected" | "Requested" | "Accepted";
729
+ transactionId: string;
654
730
  createdAt: string;
655
731
  createdBy: string;
732
+ createdByRole: string;
656
733
  declaration: Record<string, string | number | boolean | {
657
734
  type: string;
658
735
  filename: string;
@@ -668,6 +745,10 @@ export declare const EventDocument: z.ZodObject<{
668
745
  residentialArea?: string | null | undefined;
669
746
  street?: string | null | undefined;
670
747
  zipCode?: string | null | undefined;
748
+ } | {
749
+ firstname: string;
750
+ surname: string;
751
+ middlename?: string | null | undefined;
671
752
  } | {
672
753
  country: string;
673
754
  district: string;
@@ -690,8 +771,9 @@ export declare const EventDocument: z.ZodObject<{
690
771
  option: string;
691
772
  filename: string;
692
773
  originalFilename: string;
693
- }[] | undefined>;
694
- createdAtLocation: string;
774
+ }[] | [string, string] | null | undefined>;
775
+ createdBySignature?: string | null | undefined;
776
+ createdAtLocation?: string | null | undefined;
695
777
  annotation?: Record<string, string | number | boolean | {
696
778
  type: string;
697
779
  filename: string;
@@ -707,6 +789,10 @@ export declare const EventDocument: z.ZodObject<{
707
789
  residentialArea?: string | null | undefined;
708
790
  street?: string | null | undefined;
709
791
  zipCode?: string | null | undefined;
792
+ } | {
793
+ firstname: string;
794
+ surname: string;
795
+ middlename?: string | null | undefined;
710
796
  } | {
711
797
  country: string;
712
798
  district: string;
@@ -729,14 +815,16 @@ export declare const EventDocument: z.ZodObject<{
729
815
  option: string;
730
816
  filename: string;
731
817
  originalFilename: string;
732
- }[] | undefined> | undefined;
818
+ }[] | [string, string] | null | undefined> | undefined;
733
819
  originalActionId?: string | undefined;
734
820
  }, {
735
821
  type: "VALIDATE";
736
822
  id: string;
737
823
  status: "Rejected" | "Requested" | "Accepted";
824
+ transactionId: string;
738
825
  createdAt: string;
739
826
  createdBy: string;
827
+ createdByRole: string;
740
828
  declaration: Record<string, string | number | boolean | {
741
829
  type: string;
742
830
  filename: string;
@@ -752,6 +840,10 @@ export declare const EventDocument: z.ZodObject<{
752
840
  residentialArea?: string | null | undefined;
753
841
  street?: string | null | undefined;
754
842
  zipCode?: string | null | undefined;
843
+ } | {
844
+ firstname: string;
845
+ surname: string;
846
+ middlename?: string | null | undefined;
755
847
  } | {
756
848
  country: string;
757
849
  district: string;
@@ -774,8 +866,9 @@ export declare const EventDocument: z.ZodObject<{
774
866
  option: string;
775
867
  filename: string;
776
868
  originalFilename: string;
777
- }[] | undefined>;
778
- createdAtLocation: string;
869
+ }[] | [string, string] | null | undefined>;
870
+ createdBySignature?: string | null | undefined;
871
+ createdAtLocation?: string | null | undefined;
779
872
  annotation?: Record<string, string | number | boolean | {
780
873
  type: string;
781
874
  filename: string;
@@ -791,6 +884,10 @@ export declare const EventDocument: z.ZodObject<{
791
884
  residentialArea?: string | null | undefined;
792
885
  street?: string | null | undefined;
793
886
  zipCode?: string | null | undefined;
887
+ } | {
888
+ firstname: string;
889
+ surname: string;
890
+ middlename?: string | null | undefined;
794
891
  } | {
795
892
  country: string;
796
893
  district: string;
@@ -813,13 +910,17 @@ export declare const EventDocument: z.ZodObject<{
813
910
  option: string;
814
911
  filename: string;
815
912
  originalFilename: string;
816
- }[] | undefined> | undefined;
913
+ }[] | [string, string] | null | undefined> | undefined;
817
914
  originalActionId?: string | undefined;
818
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
819
916
  id: z.ZodString;
917
+ transactionId: z.ZodString;
820
918
  createdAt: z.ZodString;
821
919
  createdBy: z.ZodString;
822
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
920
+ createdByRole: z.ZodString;
921
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
823
924
  filename: z.ZodString;
824
925
  originalFilename: z.ZodString;
825
926
  type: z.ZodString;
@@ -932,8 +1033,20 @@ export declare const EventDocument: z.ZodObject<{
932
1033
  addressLine2?: string | null | undefined;
933
1034
  addressLine3?: string | null | undefined;
934
1035
  postcodeOrZip?: string | null | undefined;
935
- }>]>>;
936
- 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.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<{
937
1050
  filename: z.ZodString;
938
1051
  originalFilename: z.ZodString;
939
1052
  type: z.ZodString;
@@ -1046,18 +1159,45 @@ export declare const EventDocument: z.ZodObject<{
1046
1159
  addressLine2?: string | null | undefined;
1047
1160
  addressLine3?: string | null | undefined;
1048
1161
  postcodeOrZip?: string | null | undefined;
1049
- }>]>>>;
1050
- 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]>]>>>;
1051
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1052
1176
  originalActionId: z.ZodOptional<z.ZodString>;
1053
1177
  }, {
1054
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
+ }>;
1055
1189
  }>, "strip", z.ZodTypeAny, {
1056
1190
  type: "REJECT";
1057
1191
  id: string;
1058
1192
  status: "Rejected" | "Requested" | "Accepted";
1193
+ reason: {
1194
+ message: string;
1195
+ isDuplicate?: boolean | undefined;
1196
+ };
1197
+ transactionId: string;
1059
1198
  createdAt: string;
1060
1199
  createdBy: string;
1200
+ createdByRole: string;
1061
1201
  declaration: Record<string, string | number | boolean | {
1062
1202
  type: string;
1063
1203
  filename: string;
@@ -1073,6 +1213,10 @@ export declare const EventDocument: z.ZodObject<{
1073
1213
  residentialArea?: string | null | undefined;
1074
1214
  street?: string | null | undefined;
1075
1215
  zipCode?: string | null | undefined;
1216
+ } | {
1217
+ firstname: string;
1218
+ surname: string;
1219
+ middlename?: string | null | undefined;
1076
1220
  } | {
1077
1221
  country: string;
1078
1222
  district: string;
@@ -1095,8 +1239,9 @@ export declare const EventDocument: z.ZodObject<{
1095
1239
  option: string;
1096
1240
  filename: string;
1097
1241
  originalFilename: string;
1098
- }[] | undefined>;
1099
- createdAtLocation: string;
1242
+ }[] | [string, string] | null | undefined>;
1243
+ createdBySignature?: string | null | undefined;
1244
+ createdAtLocation?: string | null | undefined;
1100
1245
  annotation?: Record<string, string | number | boolean | {
1101
1246
  type: string;
1102
1247
  filename: string;
@@ -1112,6 +1257,10 @@ export declare const EventDocument: z.ZodObject<{
1112
1257
  residentialArea?: string | null | undefined;
1113
1258
  street?: string | null | undefined;
1114
1259
  zipCode?: string | null | undefined;
1260
+ } | {
1261
+ firstname: string;
1262
+ surname: string;
1263
+ middlename?: string | null | undefined;
1115
1264
  } | {
1116
1265
  country: string;
1117
1266
  district: string;
@@ -1134,14 +1283,20 @@ export declare const EventDocument: z.ZodObject<{
1134
1283
  option: string;
1135
1284
  filename: string;
1136
1285
  originalFilename: string;
1137
- }[] | undefined> | undefined;
1286
+ }[] | [string, string] | null | undefined> | undefined;
1138
1287
  originalActionId?: string | undefined;
1139
1288
  }, {
1140
1289
  type: "REJECT";
1141
1290
  id: string;
1142
1291
  status: "Rejected" | "Requested" | "Accepted";
1292
+ reason: {
1293
+ message: string;
1294
+ isDuplicate?: boolean | undefined;
1295
+ };
1296
+ transactionId: string;
1143
1297
  createdAt: string;
1144
1298
  createdBy: string;
1299
+ createdByRole: string;
1145
1300
  declaration: Record<string, string | number | boolean | {
1146
1301
  type: string;
1147
1302
  filename: string;
@@ -1157,6 +1312,10 @@ export declare const EventDocument: z.ZodObject<{
1157
1312
  residentialArea?: string | null | undefined;
1158
1313
  street?: string | null | undefined;
1159
1314
  zipCode?: string | null | undefined;
1315
+ } | {
1316
+ firstname: string;
1317
+ surname: string;
1318
+ middlename?: string | null | undefined;
1160
1319
  } | {
1161
1320
  country: string;
1162
1321
  district: string;
@@ -1179,8 +1338,9 @@ export declare const EventDocument: z.ZodObject<{
1179
1338
  option: string;
1180
1339
  filename: string;
1181
1340
  originalFilename: string;
1182
- }[] | undefined>;
1183
- createdAtLocation: string;
1341
+ }[] | [string, string] | null | undefined>;
1342
+ createdBySignature?: string | null | undefined;
1343
+ createdAtLocation?: string | null | undefined;
1184
1344
  annotation?: Record<string, string | number | boolean | {
1185
1345
  type: string;
1186
1346
  filename: string;
@@ -1196,6 +1356,10 @@ export declare const EventDocument: z.ZodObject<{
1196
1356
  residentialArea?: string | null | undefined;
1197
1357
  street?: string | null | undefined;
1198
1358
  zipCode?: string | null | undefined;
1359
+ } | {
1360
+ firstname: string;
1361
+ surname: string;
1362
+ middlename?: string | null | undefined;
1199
1363
  } | {
1200
1364
  country: string;
1201
1365
  district: string;
@@ -1218,13 +1382,17 @@ export declare const EventDocument: z.ZodObject<{
1218
1382
  option: string;
1219
1383
  filename: string;
1220
1384
  originalFilename: string;
1221
- }[] | undefined> | undefined;
1385
+ }[] | [string, string] | null | undefined> | undefined;
1222
1386
  originalActionId?: string | undefined;
1223
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1224
1388
  id: z.ZodString;
1389
+ transactionId: z.ZodString;
1225
1390
  createdAt: z.ZodString;
1226
1391
  createdBy: z.ZodString;
1227
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1392
+ createdByRole: z.ZodString;
1393
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1228
1396
  filename: z.ZodString;
1229
1397
  originalFilename: z.ZodString;
1230
1398
  type: z.ZodString;
@@ -1337,8 +1505,20 @@ export declare const EventDocument: z.ZodObject<{
1337
1505
  addressLine2?: string | null | undefined;
1338
1506
  addressLine3?: string | null | undefined;
1339
1507
  postcodeOrZip?: string | null | undefined;
1340
- }>]>>;
1341
- 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.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<{
1342
1522
  filename: z.ZodString;
1343
1523
  originalFilename: z.ZodString;
1344
1524
  type: z.ZodString;
@@ -1451,8 +1631,19 @@ export declare const EventDocument: z.ZodObject<{
1451
1631
  addressLine2?: string | null | undefined;
1452
1632
  addressLine3?: string | null | undefined;
1453
1633
  postcodeOrZip?: string | null | undefined;
1454
- }>]>>>;
1455
- 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]>]>>>;
1456
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1457
1648
  originalActionId: z.ZodOptional<z.ZodString>;
1458
1649
  }, {
@@ -1461,8 +1652,10 @@ export declare const EventDocument: z.ZodObject<{
1461
1652
  type: "MARKED_AS_DUPLICATE";
1462
1653
  id: string;
1463
1654
  status: "Rejected" | "Requested" | "Accepted";
1655
+ transactionId: string;
1464
1656
  createdAt: string;
1465
1657
  createdBy: string;
1658
+ createdByRole: string;
1466
1659
  declaration: Record<string, string | number | boolean | {
1467
1660
  type: string;
1468
1661
  filename: string;
@@ -1478,6 +1671,10 @@ export declare const EventDocument: z.ZodObject<{
1478
1671
  residentialArea?: string | null | undefined;
1479
1672
  street?: string | null | undefined;
1480
1673
  zipCode?: string | null | undefined;
1674
+ } | {
1675
+ firstname: string;
1676
+ surname: string;
1677
+ middlename?: string | null | undefined;
1481
1678
  } | {
1482
1679
  country: string;
1483
1680
  district: string;
@@ -1500,8 +1697,9 @@ export declare const EventDocument: z.ZodObject<{
1500
1697
  option: string;
1501
1698
  filename: string;
1502
1699
  originalFilename: string;
1503
- }[] | undefined>;
1504
- createdAtLocation: string;
1700
+ }[] | [string, string] | null | undefined>;
1701
+ createdBySignature?: string | null | undefined;
1702
+ createdAtLocation?: string | null | undefined;
1505
1703
  annotation?: Record<string, string | number | boolean | {
1506
1704
  type: string;
1507
1705
  filename: string;
@@ -1517,6 +1715,10 @@ export declare const EventDocument: z.ZodObject<{
1517
1715
  residentialArea?: string | null | undefined;
1518
1716
  street?: string | null | undefined;
1519
1717
  zipCode?: string | null | undefined;
1718
+ } | {
1719
+ firstname: string;
1720
+ surname: string;
1721
+ middlename?: string | null | undefined;
1520
1722
  } | {
1521
1723
  country: string;
1522
1724
  district: string;
@@ -1539,14 +1741,16 @@ export declare const EventDocument: z.ZodObject<{
1539
1741
  option: string;
1540
1742
  filename: string;
1541
1743
  originalFilename: string;
1542
- }[] | undefined> | undefined;
1744
+ }[] | [string, string] | null | undefined> | undefined;
1543
1745
  originalActionId?: string | undefined;
1544
1746
  }, {
1545
1747
  type: "MARKED_AS_DUPLICATE";
1546
1748
  id: string;
1547
1749
  status: "Rejected" | "Requested" | "Accepted";
1750
+ transactionId: string;
1548
1751
  createdAt: string;
1549
1752
  createdBy: string;
1753
+ createdByRole: string;
1550
1754
  declaration: Record<string, string | number | boolean | {
1551
1755
  type: string;
1552
1756
  filename: string;
@@ -1562,6 +1766,10 @@ export declare const EventDocument: z.ZodObject<{
1562
1766
  residentialArea?: string | null | undefined;
1563
1767
  street?: string | null | undefined;
1564
1768
  zipCode?: string | null | undefined;
1769
+ } | {
1770
+ firstname: string;
1771
+ surname: string;
1772
+ middlename?: string | null | undefined;
1565
1773
  } | {
1566
1774
  country: string;
1567
1775
  district: string;
@@ -1584,8 +1792,9 @@ export declare const EventDocument: z.ZodObject<{
1584
1792
  option: string;
1585
1793
  filename: string;
1586
1794
  originalFilename: string;
1587
- }[] | undefined>;
1588
- createdAtLocation: string;
1795
+ }[] | [string, string] | null | undefined>;
1796
+ createdBySignature?: string | null | undefined;
1797
+ createdAtLocation?: string | null | undefined;
1589
1798
  annotation?: Record<string, string | number | boolean | {
1590
1799
  type: string;
1591
1800
  filename: string;
@@ -1601,6 +1810,10 @@ export declare const EventDocument: z.ZodObject<{
1601
1810
  residentialArea?: string | null | undefined;
1602
1811
  street?: string | null | undefined;
1603
1812
  zipCode?: string | null | undefined;
1813
+ } | {
1814
+ firstname: string;
1815
+ surname: string;
1816
+ middlename?: string | null | undefined;
1604
1817
  } | {
1605
1818
  country: string;
1606
1819
  district: string;
@@ -1623,13 +1836,17 @@ export declare const EventDocument: z.ZodObject<{
1623
1836
  option: string;
1624
1837
  filename: string;
1625
1838
  originalFilename: string;
1626
- }[] | undefined> | undefined;
1839
+ }[] | [string, string] | null | undefined> | undefined;
1627
1840
  originalActionId?: string | undefined;
1628
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1629
1842
  id: z.ZodString;
1843
+ transactionId: z.ZodString;
1630
1844
  createdAt: z.ZodString;
1631
1845
  createdBy: z.ZodString;
1632
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1846
+ createdByRole: z.ZodString;
1847
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1633
1850
  filename: z.ZodString;
1634
1851
  originalFilename: z.ZodString;
1635
1852
  type: z.ZodString;
@@ -1742,8 +1959,20 @@ export declare const EventDocument: z.ZodObject<{
1742
1959
  addressLine2?: string | null | undefined;
1743
1960
  addressLine3?: string | null | undefined;
1744
1961
  postcodeOrZip?: string | null | undefined;
1745
- }>]>>;
1746
- 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.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<{
1747
1976
  filename: z.ZodString;
1748
1977
  originalFilename: z.ZodString;
1749
1978
  type: z.ZodString;
@@ -1856,18 +2085,45 @@ export declare const EventDocument: z.ZodObject<{
1856
2085
  addressLine2?: string | null | undefined;
1857
2086
  addressLine3?: string | null | undefined;
1858
2087
  postcodeOrZip?: string | null | undefined;
1859
- }>]>>>;
1860
- 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]>]>>>;
1861
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1862
2102
  originalActionId: z.ZodOptional<z.ZodString>;
1863
2103
  }, {
1864
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
+ }>;
1865
2115
  }>, "strip", z.ZodTypeAny, {
1866
2116
  type: "ARCHIVE";
1867
2117
  id: string;
1868
2118
  status: "Rejected" | "Requested" | "Accepted";
2119
+ reason: {
2120
+ message: string;
2121
+ isDuplicate?: boolean | undefined;
2122
+ };
2123
+ transactionId: string;
1869
2124
  createdAt: string;
1870
2125
  createdBy: string;
2126
+ createdByRole: string;
1871
2127
  declaration: Record<string, string | number | boolean | {
1872
2128
  type: string;
1873
2129
  filename: string;
@@ -1883,6 +2139,10 @@ export declare const EventDocument: z.ZodObject<{
1883
2139
  residentialArea?: string | null | undefined;
1884
2140
  street?: string | null | undefined;
1885
2141
  zipCode?: string | null | undefined;
2142
+ } | {
2143
+ firstname: string;
2144
+ surname: string;
2145
+ middlename?: string | null | undefined;
1886
2146
  } | {
1887
2147
  country: string;
1888
2148
  district: string;
@@ -1905,8 +2165,9 @@ export declare const EventDocument: z.ZodObject<{
1905
2165
  option: string;
1906
2166
  filename: string;
1907
2167
  originalFilename: string;
1908
- }[] | undefined>;
1909
- createdAtLocation: string;
2168
+ }[] | [string, string] | null | undefined>;
2169
+ createdBySignature?: string | null | undefined;
2170
+ createdAtLocation?: string | null | undefined;
1910
2171
  annotation?: Record<string, string | number | boolean | {
1911
2172
  type: string;
1912
2173
  filename: string;
@@ -1922,6 +2183,10 @@ export declare const EventDocument: z.ZodObject<{
1922
2183
  residentialArea?: string | null | undefined;
1923
2184
  street?: string | null | undefined;
1924
2185
  zipCode?: string | null | undefined;
2186
+ } | {
2187
+ firstname: string;
2188
+ surname: string;
2189
+ middlename?: string | null | undefined;
1925
2190
  } | {
1926
2191
  country: string;
1927
2192
  district: string;
@@ -1944,14 +2209,20 @@ export declare const EventDocument: z.ZodObject<{
1944
2209
  option: string;
1945
2210
  filename: string;
1946
2211
  originalFilename: string;
1947
- }[] | undefined> | undefined;
2212
+ }[] | [string, string] | null | undefined> | undefined;
1948
2213
  originalActionId?: string | undefined;
1949
2214
  }, {
1950
2215
  type: "ARCHIVE";
1951
2216
  id: string;
1952
2217
  status: "Rejected" | "Requested" | "Accepted";
2218
+ reason: {
2219
+ message: string;
2220
+ isDuplicate?: boolean | undefined;
2221
+ };
2222
+ transactionId: string;
1953
2223
  createdAt: string;
1954
2224
  createdBy: string;
2225
+ createdByRole: string;
1955
2226
  declaration: Record<string, string | number | boolean | {
1956
2227
  type: string;
1957
2228
  filename: string;
@@ -1967,6 +2238,10 @@ export declare const EventDocument: z.ZodObject<{
1967
2238
  residentialArea?: string | null | undefined;
1968
2239
  street?: string | null | undefined;
1969
2240
  zipCode?: string | null | undefined;
2241
+ } | {
2242
+ firstname: string;
2243
+ surname: string;
2244
+ middlename?: string | null | undefined;
1970
2245
  } | {
1971
2246
  country: string;
1972
2247
  district: string;
@@ -1989,8 +2264,9 @@ export declare const EventDocument: z.ZodObject<{
1989
2264
  option: string;
1990
2265
  filename: string;
1991
2266
  originalFilename: string;
1992
- }[] | undefined>;
1993
- createdAtLocation: string;
2267
+ }[] | [string, string] | null | undefined>;
2268
+ createdBySignature?: string | null | undefined;
2269
+ createdAtLocation?: string | null | undefined;
1994
2270
  annotation?: Record<string, string | number | boolean | {
1995
2271
  type: string;
1996
2272
  filename: string;
@@ -2006,6 +2282,10 @@ export declare const EventDocument: z.ZodObject<{
2006
2282
  residentialArea?: string | null | undefined;
2007
2283
  street?: string | null | undefined;
2008
2284
  zipCode?: string | null | undefined;
2285
+ } | {
2286
+ firstname: string;
2287
+ surname: string;
2288
+ middlename?: string | null | undefined;
2009
2289
  } | {
2010
2290
  country: string;
2011
2291
  district: string;
@@ -2028,13 +2308,17 @@ export declare const EventDocument: z.ZodObject<{
2028
2308
  option: string;
2029
2309
  filename: string;
2030
2310
  originalFilename: string;
2031
- }[] | undefined> | undefined;
2311
+ }[] | [string, string] | null | undefined> | undefined;
2032
2312
  originalActionId?: string | undefined;
2033
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2034
2314
  id: z.ZodString;
2315
+ transactionId: z.ZodString;
2035
2316
  createdAt: z.ZodString;
2036
2317
  createdBy: z.ZodString;
2037
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2318
+ createdByRole: z.ZodString;
2319
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2038
2322
  filename: z.ZodString;
2039
2323
  originalFilename: z.ZodString;
2040
2324
  type: z.ZodString;
@@ -2147,8 +2431,20 @@ export declare const EventDocument: z.ZodObject<{
2147
2431
  addressLine2?: string | null | undefined;
2148
2432
  addressLine3?: string | null | undefined;
2149
2433
  postcodeOrZip?: string | null | undefined;
2150
- }>]>>;
2151
- 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.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<{
2152
2448
  filename: z.ZodString;
2153
2449
  originalFilename: z.ZodString;
2154
2450
  type: z.ZodString;
@@ -2261,8 +2557,19 @@ export declare const EventDocument: z.ZodObject<{
2261
2557
  addressLine2?: string | null | undefined;
2262
2558
  addressLine3?: string | null | undefined;
2263
2559
  postcodeOrZip?: string | null | undefined;
2264
- }>]>>>;
2265
- 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]>]>>>;
2266
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2267
2574
  originalActionId: z.ZodOptional<z.ZodString>;
2268
2575
  }, {
@@ -2271,8 +2578,10 @@ export declare const EventDocument: z.ZodObject<{
2271
2578
  type: "NOTIFY";
2272
2579
  id: string;
2273
2580
  status: "Rejected" | "Requested" | "Accepted";
2581
+ transactionId: string;
2274
2582
  createdAt: string;
2275
2583
  createdBy: string;
2584
+ createdByRole: string;
2276
2585
  declaration: Record<string, string | number | boolean | {
2277
2586
  type: string;
2278
2587
  filename: string;
@@ -2288,6 +2597,10 @@ export declare const EventDocument: z.ZodObject<{
2288
2597
  residentialArea?: string | null | undefined;
2289
2598
  street?: string | null | undefined;
2290
2599
  zipCode?: string | null | undefined;
2600
+ } | {
2601
+ firstname: string;
2602
+ surname: string;
2603
+ middlename?: string | null | undefined;
2291
2604
  } | {
2292
2605
  country: string;
2293
2606
  district: string;
@@ -2310,8 +2623,9 @@ export declare const EventDocument: z.ZodObject<{
2310
2623
  option: string;
2311
2624
  filename: string;
2312
2625
  originalFilename: string;
2313
- }[] | undefined>;
2314
- createdAtLocation: string;
2626
+ }[] | [string, string] | null | undefined>;
2627
+ createdBySignature?: string | null | undefined;
2628
+ createdAtLocation?: string | null | undefined;
2315
2629
  annotation?: Record<string, string | number | boolean | {
2316
2630
  type: string;
2317
2631
  filename: string;
@@ -2327,6 +2641,10 @@ export declare const EventDocument: z.ZodObject<{
2327
2641
  residentialArea?: string | null | undefined;
2328
2642
  street?: string | null | undefined;
2329
2643
  zipCode?: string | null | undefined;
2644
+ } | {
2645
+ firstname: string;
2646
+ surname: string;
2647
+ middlename?: string | null | undefined;
2330
2648
  } | {
2331
2649
  country: string;
2332
2650
  district: string;
@@ -2349,14 +2667,16 @@ export declare const EventDocument: z.ZodObject<{
2349
2667
  option: string;
2350
2668
  filename: string;
2351
2669
  originalFilename: string;
2352
- }[] | undefined> | undefined;
2670
+ }[] | [string, string] | null | undefined> | undefined;
2353
2671
  originalActionId?: string | undefined;
2354
2672
  }, {
2355
2673
  type: "NOTIFY";
2356
2674
  id: string;
2357
2675
  status: "Rejected" | "Requested" | "Accepted";
2676
+ transactionId: string;
2358
2677
  createdAt: string;
2359
2678
  createdBy: string;
2679
+ createdByRole: string;
2360
2680
  declaration: Record<string, string | number | boolean | {
2361
2681
  type: string;
2362
2682
  filename: string;
@@ -2372,6 +2692,10 @@ export declare const EventDocument: z.ZodObject<{
2372
2692
  residentialArea?: string | null | undefined;
2373
2693
  street?: string | null | undefined;
2374
2694
  zipCode?: string | null | undefined;
2695
+ } | {
2696
+ firstname: string;
2697
+ surname: string;
2698
+ middlename?: string | null | undefined;
2375
2699
  } | {
2376
2700
  country: string;
2377
2701
  district: string;
@@ -2394,8 +2718,9 @@ export declare const EventDocument: z.ZodObject<{
2394
2718
  option: string;
2395
2719
  filename: string;
2396
2720
  originalFilename: string;
2397
- }[] | undefined>;
2398
- createdAtLocation: string;
2721
+ }[] | [string, string] | null | undefined>;
2722
+ createdBySignature?: string | null | undefined;
2723
+ createdAtLocation?: string | null | undefined;
2399
2724
  annotation?: Record<string, string | number | boolean | {
2400
2725
  type: string;
2401
2726
  filename: string;
@@ -2411,6 +2736,10 @@ export declare const EventDocument: z.ZodObject<{
2411
2736
  residentialArea?: string | null | undefined;
2412
2737
  street?: string | null | undefined;
2413
2738
  zipCode?: string | null | undefined;
2739
+ } | {
2740
+ firstname: string;
2741
+ surname: string;
2742
+ middlename?: string | null | undefined;
2414
2743
  } | {
2415
2744
  country: string;
2416
2745
  district: string;
@@ -2433,13 +2762,17 @@ export declare const EventDocument: z.ZodObject<{
2433
2762
  option: string;
2434
2763
  filename: string;
2435
2764
  originalFilename: string;
2436
- }[] | undefined> | undefined;
2765
+ }[] | [string, string] | null | undefined> | undefined;
2437
2766
  originalActionId?: string | undefined;
2438
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2439
2768
  id: z.ZodString;
2769
+ transactionId: z.ZodString;
2440
2770
  createdAt: z.ZodString;
2441
2771
  createdBy: z.ZodString;
2442
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2772
+ createdByRole: z.ZodString;
2773
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2443
2776
  filename: z.ZodString;
2444
2777
  originalFilename: z.ZodString;
2445
2778
  type: z.ZodString;
@@ -2552,8 +2885,20 @@ export declare const EventDocument: z.ZodObject<{
2552
2885
  addressLine2?: string | null | undefined;
2553
2886
  addressLine3?: string | null | undefined;
2554
2887
  postcodeOrZip?: string | null | undefined;
2555
- }>]>>;
2556
- 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.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<{
2557
2902
  filename: z.ZodString;
2558
2903
  originalFilename: z.ZodString;
2559
2904
  type: z.ZodString;
@@ -2666,8 +3011,19 @@ export declare const EventDocument: z.ZodObject<{
2666
3011
  addressLine2?: string | null | undefined;
2667
3012
  addressLine3?: string | null | undefined;
2668
3013
  postcodeOrZip?: string | null | undefined;
2669
- }>]>>>;
2670
- 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]>]>>>;
2671
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2672
3028
  originalActionId: z.ZodOptional<z.ZodString>;
2673
3029
  }, {
@@ -2677,8 +3033,10 @@ export declare const EventDocument: z.ZodObject<{
2677
3033
  type: "REGISTER";
2678
3034
  id: string;
2679
3035
  status: "Rejected" | "Requested" | "Accepted";
3036
+ transactionId: string;
2680
3037
  createdAt: string;
2681
3038
  createdBy: string;
3039
+ createdByRole: string;
2682
3040
  declaration: Record<string, string | number | boolean | {
2683
3041
  type: string;
2684
3042
  filename: string;
@@ -2694,6 +3052,10 @@ export declare const EventDocument: z.ZodObject<{
2694
3052
  residentialArea?: string | null | undefined;
2695
3053
  street?: string | null | undefined;
2696
3054
  zipCode?: string | null | undefined;
3055
+ } | {
3056
+ firstname: string;
3057
+ surname: string;
3058
+ middlename?: string | null | undefined;
2697
3059
  } | {
2698
3060
  country: string;
2699
3061
  district: string;
@@ -2716,8 +3078,9 @@ export declare const EventDocument: z.ZodObject<{
2716
3078
  option: string;
2717
3079
  filename: string;
2718
3080
  originalFilename: string;
2719
- }[] | undefined>;
2720
- createdAtLocation: string;
3081
+ }[] | [string, string] | null | undefined>;
3082
+ createdBySignature?: string | null | undefined;
3083
+ createdAtLocation?: string | null | undefined;
2721
3084
  annotation?: Record<string, string | number | boolean | {
2722
3085
  type: string;
2723
3086
  filename: string;
@@ -2733,6 +3096,10 @@ export declare const EventDocument: z.ZodObject<{
2733
3096
  residentialArea?: string | null | undefined;
2734
3097
  street?: string | null | undefined;
2735
3098
  zipCode?: string | null | undefined;
3099
+ } | {
3100
+ firstname: string;
3101
+ surname: string;
3102
+ middlename?: string | null | undefined;
2736
3103
  } | {
2737
3104
  country: string;
2738
3105
  district: string;
@@ -2755,15 +3122,17 @@ export declare const EventDocument: z.ZodObject<{
2755
3122
  option: string;
2756
3123
  filename: string;
2757
3124
  originalFilename: string;
2758
- }[] | undefined> | undefined;
3125
+ }[] | [string, string] | null | undefined> | undefined;
2759
3126
  originalActionId?: string | undefined;
2760
3127
  registrationNumber?: string | undefined;
2761
3128
  }, {
2762
3129
  type: "REGISTER";
2763
3130
  id: string;
2764
3131
  status: "Rejected" | "Requested" | "Accepted";
3132
+ transactionId: string;
2765
3133
  createdAt: string;
2766
3134
  createdBy: string;
3135
+ createdByRole: string;
2767
3136
  declaration: Record<string, string | number | boolean | {
2768
3137
  type: string;
2769
3138
  filename: string;
@@ -2779,6 +3148,10 @@ export declare const EventDocument: z.ZodObject<{
2779
3148
  residentialArea?: string | null | undefined;
2780
3149
  street?: string | null | undefined;
2781
3150
  zipCode?: string | null | undefined;
3151
+ } | {
3152
+ firstname: string;
3153
+ surname: string;
3154
+ middlename?: string | null | undefined;
2782
3155
  } | {
2783
3156
  country: string;
2784
3157
  district: string;
@@ -2801,8 +3174,9 @@ export declare const EventDocument: z.ZodObject<{
2801
3174
  option: string;
2802
3175
  filename: string;
2803
3176
  originalFilename: string;
2804
- }[] | undefined>;
2805
- createdAtLocation: string;
3177
+ }[] | [string, string] | null | undefined>;
3178
+ createdBySignature?: string | null | undefined;
3179
+ createdAtLocation?: string | null | undefined;
2806
3180
  annotation?: Record<string, string | number | boolean | {
2807
3181
  type: string;
2808
3182
  filename: string;
@@ -2818,6 +3192,10 @@ export declare const EventDocument: z.ZodObject<{
2818
3192
  residentialArea?: string | null | undefined;
2819
3193
  street?: string | null | undefined;
2820
3194
  zipCode?: string | null | undefined;
3195
+ } | {
3196
+ firstname: string;
3197
+ surname: string;
3198
+ middlename?: string | null | undefined;
2821
3199
  } | {
2822
3200
  country: string;
2823
3201
  district: string;
@@ -2840,14 +3218,18 @@ export declare const EventDocument: z.ZodObject<{
2840
3218
  option: string;
2841
3219
  filename: string;
2842
3220
  originalFilename: string;
2843
- }[] | undefined> | undefined;
3221
+ }[] | [string, string] | null | undefined> | undefined;
2844
3222
  originalActionId?: string | undefined;
2845
3223
  registrationNumber?: string | undefined;
2846
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
2847
3225
  id: z.ZodString;
3226
+ transactionId: z.ZodString;
2848
3227
  createdAt: z.ZodString;
2849
3228
  createdBy: z.ZodString;
2850
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3229
+ createdByRole: z.ZodString;
3230
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2851
3233
  filename: z.ZodString;
2852
3234
  originalFilename: z.ZodString;
2853
3235
  type: z.ZodString;
@@ -2960,8 +3342,20 @@ export declare const EventDocument: z.ZodObject<{
2960
3342
  addressLine2?: string | null | undefined;
2961
3343
  addressLine3?: string | null | undefined;
2962
3344
  postcodeOrZip?: string | null | undefined;
2963
- }>]>>;
2964
- 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.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<{
2965
3359
  filename: z.ZodString;
2966
3360
  originalFilename: z.ZodString;
2967
3361
  type: z.ZodString;
@@ -3074,8 +3468,19 @@ export declare const EventDocument: z.ZodObject<{
3074
3468
  addressLine2?: string | null | undefined;
3075
3469
  addressLine3?: string | null | undefined;
3076
3470
  postcodeOrZip?: string | null | undefined;
3077
- }>]>>>;
3078
- 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]>]>>>;
3079
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3080
3485
  originalActionId: z.ZodOptional<z.ZodString>;
3081
3486
  }, {
@@ -3084,8 +3489,10 @@ export declare const EventDocument: z.ZodObject<{
3084
3489
  type: "DECLARE";
3085
3490
  id: string;
3086
3491
  status: "Rejected" | "Requested" | "Accepted";
3492
+ transactionId: string;
3087
3493
  createdAt: string;
3088
3494
  createdBy: string;
3495
+ createdByRole: string;
3089
3496
  declaration: Record<string, string | number | boolean | {
3090
3497
  type: string;
3091
3498
  filename: string;
@@ -3101,6 +3508,10 @@ export declare const EventDocument: z.ZodObject<{
3101
3508
  residentialArea?: string | null | undefined;
3102
3509
  street?: string | null | undefined;
3103
3510
  zipCode?: string | null | undefined;
3511
+ } | {
3512
+ firstname: string;
3513
+ surname: string;
3514
+ middlename?: string | null | undefined;
3104
3515
  } | {
3105
3516
  country: string;
3106
3517
  district: string;
@@ -3123,8 +3534,9 @@ export declare const EventDocument: z.ZodObject<{
3123
3534
  option: string;
3124
3535
  filename: string;
3125
3536
  originalFilename: string;
3126
- }[] | undefined>;
3127
- createdAtLocation: string;
3537
+ }[] | [string, string] | null | undefined>;
3538
+ createdBySignature?: string | null | undefined;
3539
+ createdAtLocation?: string | null | undefined;
3128
3540
  annotation?: Record<string, string | number | boolean | {
3129
3541
  type: string;
3130
3542
  filename: string;
@@ -3140,6 +3552,10 @@ export declare const EventDocument: z.ZodObject<{
3140
3552
  residentialArea?: string | null | undefined;
3141
3553
  street?: string | null | undefined;
3142
3554
  zipCode?: string | null | undefined;
3555
+ } | {
3556
+ firstname: string;
3557
+ surname: string;
3558
+ middlename?: string | null | undefined;
3143
3559
  } | {
3144
3560
  country: string;
3145
3561
  district: string;
@@ -3162,14 +3578,16 @@ export declare const EventDocument: z.ZodObject<{
3162
3578
  option: string;
3163
3579
  filename: string;
3164
3580
  originalFilename: string;
3165
- }[] | undefined> | undefined;
3581
+ }[] | [string, string] | null | undefined> | undefined;
3166
3582
  originalActionId?: string | undefined;
3167
3583
  }, {
3168
3584
  type: "DECLARE";
3169
3585
  id: string;
3170
3586
  status: "Rejected" | "Requested" | "Accepted";
3587
+ transactionId: string;
3171
3588
  createdAt: string;
3172
3589
  createdBy: string;
3590
+ createdByRole: string;
3173
3591
  declaration: Record<string, string | number | boolean | {
3174
3592
  type: string;
3175
3593
  filename: string;
@@ -3185,6 +3603,10 @@ export declare const EventDocument: z.ZodObject<{
3185
3603
  residentialArea?: string | null | undefined;
3186
3604
  street?: string | null | undefined;
3187
3605
  zipCode?: string | null | undefined;
3606
+ } | {
3607
+ firstname: string;
3608
+ surname: string;
3609
+ middlename?: string | null | undefined;
3188
3610
  } | {
3189
3611
  country: string;
3190
3612
  district: string;
@@ -3207,8 +3629,9 @@ export declare const EventDocument: z.ZodObject<{
3207
3629
  option: string;
3208
3630
  filename: string;
3209
3631
  originalFilename: string;
3210
- }[] | undefined>;
3211
- createdAtLocation: string;
3632
+ }[] | [string, string] | null | undefined>;
3633
+ createdBySignature?: string | null | undefined;
3634
+ createdAtLocation?: string | null | undefined;
3212
3635
  annotation?: Record<string, string | number | boolean | {
3213
3636
  type: string;
3214
3637
  filename: string;
@@ -3224,6 +3647,10 @@ export declare const EventDocument: z.ZodObject<{
3224
3647
  residentialArea?: string | null | undefined;
3225
3648
  street?: string | null | undefined;
3226
3649
  zipCode?: string | null | undefined;
3650
+ } | {
3651
+ firstname: string;
3652
+ surname: string;
3653
+ middlename?: string | null | undefined;
3227
3654
  } | {
3228
3655
  country: string;
3229
3656
  district: string;
@@ -3246,13 +3673,17 @@ export declare const EventDocument: z.ZodObject<{
3246
3673
  option: string;
3247
3674
  filename: string;
3248
3675
  originalFilename: string;
3249
- }[] | undefined> | undefined;
3676
+ }[] | [string, string] | null | undefined> | undefined;
3250
3677
  originalActionId?: string | undefined;
3251
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3252
3679
  id: z.ZodString;
3680
+ transactionId: z.ZodString;
3253
3681
  createdAt: z.ZodString;
3254
3682
  createdBy: z.ZodString;
3255
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3683
+ createdByRole: z.ZodString;
3684
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3256
3687
  filename: z.ZodString;
3257
3688
  originalFilename: z.ZodString;
3258
3689
  type: z.ZodString;
@@ -3365,8 +3796,20 @@ export declare const EventDocument: z.ZodObject<{
3365
3796
  addressLine2?: string | null | undefined;
3366
3797
  addressLine3?: string | null | undefined;
3367
3798
  postcodeOrZip?: string | null | undefined;
3368
- }>]>>;
3369
- 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.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<{
3370
3813
  filename: z.ZodString;
3371
3814
  originalFilename: z.ZodString;
3372
3815
  type: z.ZodString;
@@ -3479,8 +3922,19 @@ export declare const EventDocument: z.ZodObject<{
3479
3922
  addressLine2?: string | null | undefined;
3480
3923
  addressLine3?: string | null | undefined;
3481
3924
  postcodeOrZip?: string | null | undefined;
3482
- }>]>>>;
3483
- 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]>]>>>;
3484
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3485
3939
  originalActionId: z.ZodOptional<z.ZodString>;
3486
3940
  }, {
@@ -3490,8 +3944,10 @@ export declare const EventDocument: z.ZodObject<{
3490
3944
  type: "ASSIGN";
3491
3945
  id: string;
3492
3946
  status: "Rejected" | "Requested" | "Accepted";
3947
+ transactionId: string;
3493
3948
  createdAt: string;
3494
3949
  createdBy: string;
3950
+ createdByRole: string;
3495
3951
  declaration: Record<string, string | number | boolean | {
3496
3952
  type: string;
3497
3953
  filename: string;
@@ -3507,6 +3963,10 @@ export declare const EventDocument: z.ZodObject<{
3507
3963
  residentialArea?: string | null | undefined;
3508
3964
  street?: string | null | undefined;
3509
3965
  zipCode?: string | null | undefined;
3966
+ } | {
3967
+ firstname: string;
3968
+ surname: string;
3969
+ middlename?: string | null | undefined;
3510
3970
  } | {
3511
3971
  country: string;
3512
3972
  district: string;
@@ -3529,9 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3529
3989
  option: string;
3530
3990
  filename: string;
3531
3991
  originalFilename: string;
3532
- }[] | undefined>;
3533
- createdAtLocation: string;
3992
+ }[] | [string, string] | null | undefined>;
3534
3993
  assignedTo: string;
3994
+ createdBySignature?: string | null | undefined;
3995
+ createdAtLocation?: string | null | undefined;
3535
3996
  annotation?: Record<string, string | number | boolean | {
3536
3997
  type: string;
3537
3998
  filename: string;
@@ -3547,6 +4008,10 @@ export declare const EventDocument: z.ZodObject<{
3547
4008
  residentialArea?: string | null | undefined;
3548
4009
  street?: string | null | undefined;
3549
4010
  zipCode?: string | null | undefined;
4011
+ } | {
4012
+ firstname: string;
4013
+ surname: string;
4014
+ middlename?: string | null | undefined;
3550
4015
  } | {
3551
4016
  country: string;
3552
4017
  district: string;
@@ -3569,14 +4034,16 @@ export declare const EventDocument: z.ZodObject<{
3569
4034
  option: string;
3570
4035
  filename: string;
3571
4036
  originalFilename: string;
3572
- }[] | undefined> | undefined;
4037
+ }[] | [string, string] | null | undefined> | undefined;
3573
4038
  originalActionId?: string | undefined;
3574
4039
  }, {
3575
4040
  type: "ASSIGN";
3576
4041
  id: string;
3577
4042
  status: "Rejected" | "Requested" | "Accepted";
4043
+ transactionId: string;
3578
4044
  createdAt: string;
3579
4045
  createdBy: string;
4046
+ createdByRole: string;
3580
4047
  declaration: Record<string, string | number | boolean | {
3581
4048
  type: string;
3582
4049
  filename: string;
@@ -3592,6 +4059,10 @@ export declare const EventDocument: z.ZodObject<{
3592
4059
  residentialArea?: string | null | undefined;
3593
4060
  street?: string | null | undefined;
3594
4061
  zipCode?: string | null | undefined;
4062
+ } | {
4063
+ firstname: string;
4064
+ surname: string;
4065
+ middlename?: string | null | undefined;
3595
4066
  } | {
3596
4067
  country: string;
3597
4068
  district: string;
@@ -3614,9 +4085,10 @@ export declare const EventDocument: z.ZodObject<{
3614
4085
  option: string;
3615
4086
  filename: string;
3616
4087
  originalFilename: string;
3617
- }[] | undefined>;
3618
- createdAtLocation: string;
4088
+ }[] | [string, string] | null | undefined>;
3619
4089
  assignedTo: string;
4090
+ createdBySignature?: string | null | undefined;
4091
+ createdAtLocation?: string | null | undefined;
3620
4092
  annotation?: Record<string, string | number | boolean | {
3621
4093
  type: string;
3622
4094
  filename: string;
@@ -3632,6 +4104,10 @@ export declare const EventDocument: z.ZodObject<{
3632
4104
  residentialArea?: string | null | undefined;
3633
4105
  street?: string | null | undefined;
3634
4106
  zipCode?: string | null | undefined;
4107
+ } | {
4108
+ firstname: string;
4109
+ surname: string;
4110
+ middlename?: string | null | undefined;
3635
4111
  } | {
3636
4112
  country: string;
3637
4113
  district: string;
@@ -3654,13 +4130,17 @@ export declare const EventDocument: z.ZodObject<{
3654
4130
  option: string;
3655
4131
  filename: string;
3656
4132
  originalFilename: string;
3657
- }[] | undefined> | undefined;
4133
+ }[] | [string, string] | null | undefined> | undefined;
3658
4134
  originalActionId?: string | undefined;
3659
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
3660
4136
  id: z.ZodString;
4137
+ transactionId: z.ZodString;
3661
4138
  createdAt: z.ZodString;
3662
4139
  createdBy: z.ZodString;
3663
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4140
+ createdByRole: z.ZodString;
4141
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3664
4144
  filename: z.ZodString;
3665
4145
  originalFilename: z.ZodString;
3666
4146
  type: z.ZodString;
@@ -3773,8 +4253,20 @@ export declare const EventDocument: z.ZodObject<{
3773
4253
  addressLine2?: string | null | undefined;
3774
4254
  addressLine3?: string | null | undefined;
3775
4255
  postcodeOrZip?: string | null | undefined;
3776
- }>]>>;
3777
- 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.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<{
3778
4270
  filename: z.ZodString;
3779
4271
  originalFilename: z.ZodString;
3780
4272
  type: z.ZodString;
@@ -3887,8 +4379,19 @@ export declare const EventDocument: z.ZodObject<{
3887
4379
  addressLine2?: string | null | undefined;
3888
4380
  addressLine3?: string | null | undefined;
3889
4381
  postcodeOrZip?: string | null | undefined;
3890
- }>]>>>;
3891
- 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]>]>>>;
3892
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3893
4396
  originalActionId: z.ZodOptional<z.ZodString>;
3894
4397
  }, {
@@ -3897,8 +4400,10 @@ export declare const EventDocument: z.ZodObject<{
3897
4400
  type: "REQUEST_CORRECTION";
3898
4401
  id: string;
3899
4402
  status: "Rejected" | "Requested" | "Accepted";
4403
+ transactionId: string;
3900
4404
  createdAt: string;
3901
4405
  createdBy: string;
4406
+ createdByRole: string;
3902
4407
  declaration: Record<string, string | number | boolean | {
3903
4408
  type: string;
3904
4409
  filename: string;
@@ -3914,6 +4419,10 @@ export declare const EventDocument: z.ZodObject<{
3914
4419
  residentialArea?: string | null | undefined;
3915
4420
  street?: string | null | undefined;
3916
4421
  zipCode?: string | null | undefined;
4422
+ } | {
4423
+ firstname: string;
4424
+ surname: string;
4425
+ middlename?: string | null | undefined;
3917
4426
  } | {
3918
4427
  country: string;
3919
4428
  district: string;
@@ -3936,8 +4445,9 @@ export declare const EventDocument: z.ZodObject<{
3936
4445
  option: string;
3937
4446
  filename: string;
3938
4447
  originalFilename: string;
3939
- }[] | undefined>;
3940
- createdAtLocation: string;
4448
+ }[] | [string, string] | null | undefined>;
4449
+ createdBySignature?: string | null | undefined;
4450
+ createdAtLocation?: string | null | undefined;
3941
4451
  annotation?: Record<string, string | number | boolean | {
3942
4452
  type: string;
3943
4453
  filename: string;
@@ -3953,6 +4463,10 @@ export declare const EventDocument: z.ZodObject<{
3953
4463
  residentialArea?: string | null | undefined;
3954
4464
  street?: string | null | undefined;
3955
4465
  zipCode?: string | null | undefined;
4466
+ } | {
4467
+ firstname: string;
4468
+ surname: string;
4469
+ middlename?: string | null | undefined;
3956
4470
  } | {
3957
4471
  country: string;
3958
4472
  district: string;
@@ -3975,14 +4489,16 @@ export declare const EventDocument: z.ZodObject<{
3975
4489
  option: string;
3976
4490
  filename: string;
3977
4491
  originalFilename: string;
3978
- }[] | undefined> | undefined;
4492
+ }[] | [string, string] | null | undefined> | undefined;
3979
4493
  originalActionId?: string | undefined;
3980
4494
  }, {
3981
4495
  type: "REQUEST_CORRECTION";
3982
4496
  id: string;
3983
4497
  status: "Rejected" | "Requested" | "Accepted";
4498
+ transactionId: string;
3984
4499
  createdAt: string;
3985
4500
  createdBy: string;
4501
+ createdByRole: string;
3986
4502
  declaration: Record<string, string | number | boolean | {
3987
4503
  type: string;
3988
4504
  filename: string;
@@ -3998,6 +4514,10 @@ export declare const EventDocument: z.ZodObject<{
3998
4514
  residentialArea?: string | null | undefined;
3999
4515
  street?: string | null | undefined;
4000
4516
  zipCode?: string | null | undefined;
4517
+ } | {
4518
+ firstname: string;
4519
+ surname: string;
4520
+ middlename?: string | null | undefined;
4001
4521
  } | {
4002
4522
  country: string;
4003
4523
  district: string;
@@ -4020,8 +4540,9 @@ export declare const EventDocument: z.ZodObject<{
4020
4540
  option: string;
4021
4541
  filename: string;
4022
4542
  originalFilename: string;
4023
- }[] | undefined>;
4024
- createdAtLocation: string;
4543
+ }[] | [string, string] | null | undefined>;
4544
+ createdBySignature?: string | null | undefined;
4545
+ createdAtLocation?: string | null | undefined;
4025
4546
  annotation?: Record<string, string | number | boolean | {
4026
4547
  type: string;
4027
4548
  filename: string;
@@ -4037,6 +4558,10 @@ export declare const EventDocument: z.ZodObject<{
4037
4558
  residentialArea?: string | null | undefined;
4038
4559
  street?: string | null | undefined;
4039
4560
  zipCode?: string | null | undefined;
4561
+ } | {
4562
+ firstname: string;
4563
+ surname: string;
4564
+ middlename?: string | null | undefined;
4040
4565
  } | {
4041
4566
  country: string;
4042
4567
  district: string;
@@ -4059,13 +4584,17 @@ export declare const EventDocument: z.ZodObject<{
4059
4584
  option: string;
4060
4585
  filename: string;
4061
4586
  originalFilename: string;
4062
- }[] | undefined> | undefined;
4587
+ }[] | [string, string] | null | undefined> | undefined;
4063
4588
  originalActionId?: string | undefined;
4064
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4065
4590
  id: z.ZodString;
4591
+ transactionId: z.ZodString;
4066
4592
  createdAt: z.ZodString;
4067
4593
  createdBy: z.ZodString;
4068
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4594
+ createdByRole: z.ZodString;
4595
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4069
4598
  filename: z.ZodString;
4070
4599
  originalFilename: z.ZodString;
4071
4600
  type: z.ZodString;
@@ -4178,8 +4707,20 @@ export declare const EventDocument: z.ZodObject<{
4178
4707
  addressLine2?: string | null | undefined;
4179
4708
  addressLine3?: string | null | undefined;
4180
4709
  postcodeOrZip?: string | null | undefined;
4181
- }>]>>;
4182
- 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.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<{
4183
4724
  filename: z.ZodString;
4184
4725
  originalFilename: z.ZodString;
4185
4726
  type: z.ZodString;
@@ -4292,8 +4833,19 @@ export declare const EventDocument: z.ZodObject<{
4292
4833
  addressLine2?: string | null | undefined;
4293
4834
  addressLine3?: string | null | undefined;
4294
4835
  postcodeOrZip?: string | null | undefined;
4295
- }>]>>>;
4296
- 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]>]>>>;
4297
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4298
4850
  originalActionId: z.ZodOptional<z.ZodString>;
4299
4851
  }, {
@@ -4303,8 +4855,10 @@ export declare const EventDocument: z.ZodObject<{
4303
4855
  type: "APPROVE_CORRECTION";
4304
4856
  id: string;
4305
4857
  status: "Rejected" | "Requested" | "Accepted";
4858
+ transactionId: string;
4306
4859
  createdAt: string;
4307
4860
  createdBy: string;
4861
+ createdByRole: string;
4308
4862
  declaration: Record<string, string | number | boolean | {
4309
4863
  type: string;
4310
4864
  filename: string;
@@ -4320,6 +4874,10 @@ export declare const EventDocument: z.ZodObject<{
4320
4874
  residentialArea?: string | null | undefined;
4321
4875
  street?: string | null | undefined;
4322
4876
  zipCode?: string | null | undefined;
4877
+ } | {
4878
+ firstname: string;
4879
+ surname: string;
4880
+ middlename?: string | null | undefined;
4323
4881
  } | {
4324
4882
  country: string;
4325
4883
  district: string;
@@ -4342,9 +4900,10 @@ export declare const EventDocument: z.ZodObject<{
4342
4900
  option: string;
4343
4901
  filename: string;
4344
4902
  originalFilename: string;
4345
- }[] | undefined>;
4346
- createdAtLocation: string;
4903
+ }[] | [string, string] | null | undefined>;
4347
4904
  requestId: string;
4905
+ createdBySignature?: string | null | undefined;
4906
+ createdAtLocation?: string | null | undefined;
4348
4907
  annotation?: Record<string, string | number | boolean | {
4349
4908
  type: string;
4350
4909
  filename: string;
@@ -4360,6 +4919,10 @@ export declare const EventDocument: z.ZodObject<{
4360
4919
  residentialArea?: string | null | undefined;
4361
4920
  street?: string | null | undefined;
4362
4921
  zipCode?: string | null | undefined;
4922
+ } | {
4923
+ firstname: string;
4924
+ surname: string;
4925
+ middlename?: string | null | undefined;
4363
4926
  } | {
4364
4927
  country: string;
4365
4928
  district: string;
@@ -4382,14 +4945,16 @@ export declare const EventDocument: z.ZodObject<{
4382
4945
  option: string;
4383
4946
  filename: string;
4384
4947
  originalFilename: string;
4385
- }[] | undefined> | undefined;
4948
+ }[] | [string, string] | null | undefined> | undefined;
4386
4949
  originalActionId?: string | undefined;
4387
4950
  }, {
4388
4951
  type: "APPROVE_CORRECTION";
4389
4952
  id: string;
4390
4953
  status: "Rejected" | "Requested" | "Accepted";
4954
+ transactionId: string;
4391
4955
  createdAt: string;
4392
4956
  createdBy: string;
4957
+ createdByRole: string;
4393
4958
  declaration: Record<string, string | number | boolean | {
4394
4959
  type: string;
4395
4960
  filename: string;
@@ -4405,6 +4970,10 @@ export declare const EventDocument: z.ZodObject<{
4405
4970
  residentialArea?: string | null | undefined;
4406
4971
  street?: string | null | undefined;
4407
4972
  zipCode?: string | null | undefined;
4973
+ } | {
4974
+ firstname: string;
4975
+ surname: string;
4976
+ middlename?: string | null | undefined;
4408
4977
  } | {
4409
4978
  country: string;
4410
4979
  district: string;
@@ -4427,9 +4996,10 @@ export declare const EventDocument: z.ZodObject<{
4427
4996
  option: string;
4428
4997
  filename: string;
4429
4998
  originalFilename: string;
4430
- }[] | undefined>;
4431
- createdAtLocation: string;
4999
+ }[] | [string, string] | null | undefined>;
4432
5000
  requestId: string;
5001
+ createdBySignature?: string | null | undefined;
5002
+ createdAtLocation?: string | null | undefined;
4433
5003
  annotation?: Record<string, string | number | boolean | {
4434
5004
  type: string;
4435
5005
  filename: string;
@@ -4445,6 +5015,10 @@ export declare const EventDocument: z.ZodObject<{
4445
5015
  residentialArea?: string | null | undefined;
4446
5016
  street?: string | null | undefined;
4447
5017
  zipCode?: string | null | undefined;
5018
+ } | {
5019
+ firstname: string;
5020
+ surname: string;
5021
+ middlename?: string | null | undefined;
4448
5022
  } | {
4449
5023
  country: string;
4450
5024
  district: string;
@@ -4467,13 +5041,17 @@ export declare const EventDocument: z.ZodObject<{
4467
5041
  option: string;
4468
5042
  filename: string;
4469
5043
  originalFilename: string;
4470
- }[] | undefined> | undefined;
5044
+ }[] | [string, string] | null | undefined> | undefined;
4471
5045
  originalActionId?: string | undefined;
4472
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
4473
5047
  id: z.ZodString;
5048
+ transactionId: z.ZodString;
4474
5049
  createdAt: z.ZodString;
4475
5050
  createdBy: z.ZodString;
4476
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5051
+ createdByRole: z.ZodString;
5052
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4477
5055
  filename: z.ZodString;
4478
5056
  originalFilename: z.ZodString;
4479
5057
  type: z.ZodString;
@@ -4586,8 +5164,20 @@ export declare const EventDocument: z.ZodObject<{
4586
5164
  addressLine2?: string | null | undefined;
4587
5165
  addressLine3?: string | null | undefined;
4588
5166
  postcodeOrZip?: string | null | undefined;
4589
- }>]>>;
4590
- 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.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<{
4591
5181
  filename: z.ZodString;
4592
5182
  originalFilename: z.ZodString;
4593
5183
  type: z.ZodString;
@@ -4700,8 +5290,19 @@ export declare const EventDocument: z.ZodObject<{
4700
5290
  addressLine2?: string | null | undefined;
4701
5291
  addressLine3?: string | null | undefined;
4702
5292
  postcodeOrZip?: string | null | undefined;
4703
- }>]>>>;
4704
- 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]>]>>>;
4705
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4706
5307
  originalActionId: z.ZodOptional<z.ZodString>;
4707
5308
  }, {
@@ -4711,8 +5312,10 @@ export declare const EventDocument: z.ZodObject<{
4711
5312
  type: "REJECT_CORRECTION";
4712
5313
  id: string;
4713
5314
  status: "Rejected" | "Requested" | "Accepted";
5315
+ transactionId: string;
4714
5316
  createdAt: string;
4715
5317
  createdBy: string;
5318
+ createdByRole: string;
4716
5319
  declaration: Record<string, string | number | boolean | {
4717
5320
  type: string;
4718
5321
  filename: string;
@@ -4728,6 +5331,10 @@ export declare const EventDocument: z.ZodObject<{
4728
5331
  residentialArea?: string | null | undefined;
4729
5332
  street?: string | null | undefined;
4730
5333
  zipCode?: string | null | undefined;
5334
+ } | {
5335
+ firstname: string;
5336
+ surname: string;
5337
+ middlename?: string | null | undefined;
4731
5338
  } | {
4732
5339
  country: string;
4733
5340
  district: string;
@@ -4750,9 +5357,10 @@ export declare const EventDocument: z.ZodObject<{
4750
5357
  option: string;
4751
5358
  filename: string;
4752
5359
  originalFilename: string;
4753
- }[] | undefined>;
4754
- createdAtLocation: string;
5360
+ }[] | [string, string] | null | undefined>;
4755
5361
  requestId: string;
5362
+ createdBySignature?: string | null | undefined;
5363
+ createdAtLocation?: string | null | undefined;
4756
5364
  annotation?: Record<string, string | number | boolean | {
4757
5365
  type: string;
4758
5366
  filename: string;
@@ -4768,6 +5376,10 @@ export declare const EventDocument: z.ZodObject<{
4768
5376
  residentialArea?: string | null | undefined;
4769
5377
  street?: string | null | undefined;
4770
5378
  zipCode?: string | null | undefined;
5379
+ } | {
5380
+ firstname: string;
5381
+ surname: string;
5382
+ middlename?: string | null | undefined;
4771
5383
  } | {
4772
5384
  country: string;
4773
5385
  district: string;
@@ -4790,14 +5402,16 @@ export declare const EventDocument: z.ZodObject<{
4790
5402
  option: string;
4791
5403
  filename: string;
4792
5404
  originalFilename: string;
4793
- }[] | undefined> | undefined;
5405
+ }[] | [string, string] | null | undefined> | undefined;
4794
5406
  originalActionId?: string | undefined;
4795
5407
  }, {
4796
5408
  type: "REJECT_CORRECTION";
4797
5409
  id: string;
4798
5410
  status: "Rejected" | "Requested" | "Accepted";
5411
+ transactionId: string;
4799
5412
  createdAt: string;
4800
5413
  createdBy: string;
5414
+ createdByRole: string;
4801
5415
  declaration: Record<string, string | number | boolean | {
4802
5416
  type: string;
4803
5417
  filename: string;
@@ -4813,6 +5427,10 @@ export declare const EventDocument: z.ZodObject<{
4813
5427
  residentialArea?: string | null | undefined;
4814
5428
  street?: string | null | undefined;
4815
5429
  zipCode?: string | null | undefined;
5430
+ } | {
5431
+ firstname: string;
5432
+ surname: string;
5433
+ middlename?: string | null | undefined;
4816
5434
  } | {
4817
5435
  country: string;
4818
5436
  district: string;
@@ -4835,9 +5453,10 @@ export declare const EventDocument: z.ZodObject<{
4835
5453
  option: string;
4836
5454
  filename: string;
4837
5455
  originalFilename: string;
4838
- }[] | undefined>;
4839
- createdAtLocation: string;
5456
+ }[] | [string, string] | null | undefined>;
4840
5457
  requestId: string;
5458
+ createdBySignature?: string | null | undefined;
5459
+ createdAtLocation?: string | null | undefined;
4841
5460
  annotation?: Record<string, string | number | boolean | {
4842
5461
  type: string;
4843
5462
  filename: string;
@@ -4853,6 +5472,10 @@ export declare const EventDocument: z.ZodObject<{
4853
5472
  residentialArea?: string | null | undefined;
4854
5473
  street?: string | null | undefined;
4855
5474
  zipCode?: string | null | undefined;
5475
+ } | {
5476
+ firstname: string;
5477
+ surname: string;
5478
+ middlename?: string | null | undefined;
4856
5479
  } | {
4857
5480
  country: string;
4858
5481
  district: string;
@@ -4875,13 +5498,17 @@ export declare const EventDocument: z.ZodObject<{
4875
5498
  option: string;
4876
5499
  filename: string;
4877
5500
  originalFilename: string;
4878
- }[] | undefined> | undefined;
5501
+ }[] | [string, string] | null | undefined> | undefined;
4879
5502
  originalActionId?: string | undefined;
4880
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
4881
5504
  id: z.ZodString;
5505
+ transactionId: z.ZodString;
4882
5506
  createdAt: z.ZodString;
4883
5507
  createdBy: z.ZodString;
4884
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5508
+ createdByRole: z.ZodString;
5509
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4885
5512
  filename: z.ZodString;
4886
5513
  originalFilename: z.ZodString;
4887
5514
  type: z.ZodString;
@@ -4994,8 +5621,20 @@ export declare const EventDocument: z.ZodObject<{
4994
5621
  addressLine2?: string | null | undefined;
4995
5622
  addressLine3?: string | null | undefined;
4996
5623
  postcodeOrZip?: string | null | undefined;
4997
- }>]>>;
4998
- 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.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<{
4999
5638
  filename: z.ZodString;
5000
5639
  originalFilename: z.ZodString;
5001
5640
  type: z.ZodString;
@@ -5108,18 +5747,32 @@ export declare const EventDocument: z.ZodObject<{
5108
5747
  addressLine2?: string | null | undefined;
5109
5748
  addressLine3?: string | null | undefined;
5110
5749
  postcodeOrZip?: string | null | undefined;
5111
- }>]>>>;
5112
- 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]>]>>>;
5113
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5114
5764
  originalActionId: z.ZodOptional<z.ZodString>;
5115
5765
  }, {
5116
5766
  type: z.ZodLiteral<"UNASSIGN">;
5767
+ assignedTo: z.ZodLiteral<null>;
5117
5768
  }>, "strip", z.ZodTypeAny, {
5118
5769
  type: "UNASSIGN";
5119
5770
  id: string;
5120
5771
  status: "Rejected" | "Requested" | "Accepted";
5772
+ transactionId: string;
5121
5773
  createdAt: string;
5122
5774
  createdBy: string;
5775
+ createdByRole: string;
5123
5776
  declaration: Record<string, string | number | boolean | {
5124
5777
  type: string;
5125
5778
  filename: string;
@@ -5135,6 +5788,10 @@ export declare const EventDocument: z.ZodObject<{
5135
5788
  residentialArea?: string | null | undefined;
5136
5789
  street?: string | null | undefined;
5137
5790
  zipCode?: string | null | undefined;
5791
+ } | {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5138
5795
  } | {
5139
5796
  country: string;
5140
5797
  district: string;
@@ -5157,8 +5814,10 @@ export declare const EventDocument: z.ZodObject<{
5157
5814
  option: string;
5158
5815
  filename: string;
5159
5816
  originalFilename: string;
5160
- }[] | undefined>;
5161
- createdAtLocation: string;
5817
+ }[] | [string, string] | null | undefined>;
5818
+ assignedTo: null;
5819
+ createdBySignature?: string | null | undefined;
5820
+ createdAtLocation?: string | null | undefined;
5162
5821
  annotation?: Record<string, string | number | boolean | {
5163
5822
  type: string;
5164
5823
  filename: string;
@@ -5174,6 +5833,10 @@ export declare const EventDocument: z.ZodObject<{
5174
5833
  residentialArea?: string | null | undefined;
5175
5834
  street?: string | null | undefined;
5176
5835
  zipCode?: string | null | undefined;
5836
+ } | {
5837
+ firstname: string;
5838
+ surname: string;
5839
+ middlename?: string | null | undefined;
5177
5840
  } | {
5178
5841
  country: string;
5179
5842
  district: string;
@@ -5196,14 +5859,16 @@ export declare const EventDocument: z.ZodObject<{
5196
5859
  option: string;
5197
5860
  filename: string;
5198
5861
  originalFilename: string;
5199
- }[] | undefined> | undefined;
5862
+ }[] | [string, string] | null | undefined> | undefined;
5200
5863
  originalActionId?: string | undefined;
5201
5864
  }, {
5202
5865
  type: "UNASSIGN";
5203
5866
  id: string;
5204
5867
  status: "Rejected" | "Requested" | "Accepted";
5868
+ transactionId: string;
5205
5869
  createdAt: string;
5206
5870
  createdBy: string;
5871
+ createdByRole: string;
5207
5872
  declaration: Record<string, string | number | boolean | {
5208
5873
  type: string;
5209
5874
  filename: string;
@@ -5219,6 +5884,10 @@ export declare const EventDocument: z.ZodObject<{
5219
5884
  residentialArea?: string | null | undefined;
5220
5885
  street?: string | null | undefined;
5221
5886
  zipCode?: string | null | undefined;
5887
+ } | {
5888
+ firstname: string;
5889
+ surname: string;
5890
+ middlename?: string | null | undefined;
5222
5891
  } | {
5223
5892
  country: string;
5224
5893
  district: string;
@@ -5241,8 +5910,10 @@ export declare const EventDocument: z.ZodObject<{
5241
5910
  option: string;
5242
5911
  filename: string;
5243
5912
  originalFilename: string;
5244
- }[] | undefined>;
5245
- createdAtLocation: string;
5913
+ }[] | [string, string] | null | undefined>;
5914
+ assignedTo: null;
5915
+ createdBySignature?: string | null | undefined;
5916
+ createdAtLocation?: string | null | undefined;
5246
5917
  annotation?: Record<string, string | number | boolean | {
5247
5918
  type: string;
5248
5919
  filename: string;
@@ -5258,6 +5929,10 @@ export declare const EventDocument: z.ZodObject<{
5258
5929
  residentialArea?: string | null | undefined;
5259
5930
  street?: string | null | undefined;
5260
5931
  zipCode?: string | null | undefined;
5932
+ } | {
5933
+ firstname: string;
5934
+ surname: string;
5935
+ middlename?: string | null | undefined;
5261
5936
  } | {
5262
5937
  country: string;
5263
5938
  district: string;
@@ -5280,13 +5955,17 @@ export declare const EventDocument: z.ZodObject<{
5280
5955
  option: string;
5281
5956
  filename: string;
5282
5957
  originalFilename: string;
5283
- }[] | undefined> | undefined;
5958
+ }[] | [string, string] | null | undefined> | undefined;
5284
5959
  originalActionId?: string | undefined;
5285
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5286
5961
  id: z.ZodString;
5962
+ transactionId: z.ZodString;
5287
5963
  createdAt: z.ZodString;
5288
5964
  createdBy: z.ZodString;
5289
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5965
+ createdByRole: z.ZodString;
5966
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5290
5969
  filename: z.ZodString;
5291
5970
  originalFilename: z.ZodString;
5292
5971
  type: z.ZodString;
@@ -5399,8 +6078,20 @@ export declare const EventDocument: z.ZodObject<{
5399
6078
  addressLine2?: string | null | undefined;
5400
6079
  addressLine3?: string | null | undefined;
5401
6080
  postcodeOrZip?: string | null | undefined;
5402
- }>]>>;
5403
- 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.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<{
5404
6095
  filename: z.ZodString;
5405
6096
  originalFilename: z.ZodString;
5406
6097
  type: z.ZodString;
@@ -5513,8 +6204,19 @@ export declare const EventDocument: z.ZodObject<{
5513
6204
  addressLine2?: string | null | undefined;
5514
6205
  addressLine3?: string | null | undefined;
5515
6206
  postcodeOrZip?: string | null | undefined;
5516
- }>]>>>;
5517
- 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]>]>>>;
5518
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5519
6221
  originalActionId: z.ZodOptional<z.ZodString>;
5520
6222
  }, {
@@ -5523,8 +6225,10 @@ export declare const EventDocument: z.ZodObject<{
5523
6225
  type: "PRINT_CERTIFICATE";
5524
6226
  id: string;
5525
6227
  status: "Rejected" | "Requested" | "Accepted";
6228
+ transactionId: string;
5526
6229
  createdAt: string;
5527
6230
  createdBy: string;
6231
+ createdByRole: string;
5528
6232
  declaration: Record<string, string | number | boolean | {
5529
6233
  type: string;
5530
6234
  filename: string;
@@ -5540,6 +6244,10 @@ export declare const EventDocument: z.ZodObject<{
5540
6244
  residentialArea?: string | null | undefined;
5541
6245
  street?: string | null | undefined;
5542
6246
  zipCode?: string | null | undefined;
6247
+ } | {
6248
+ firstname: string;
6249
+ surname: string;
6250
+ middlename?: string | null | undefined;
5543
6251
  } | {
5544
6252
  country: string;
5545
6253
  district: string;
@@ -5562,8 +6270,9 @@ export declare const EventDocument: z.ZodObject<{
5562
6270
  option: string;
5563
6271
  filename: string;
5564
6272
  originalFilename: string;
5565
- }[] | undefined>;
5566
- createdAtLocation: string;
6273
+ }[] | [string, string] | null | undefined>;
6274
+ createdBySignature?: string | null | undefined;
6275
+ createdAtLocation?: string | null | undefined;
5567
6276
  annotation?: Record<string, string | number | boolean | {
5568
6277
  type: string;
5569
6278
  filename: string;
@@ -5579,6 +6288,10 @@ export declare const EventDocument: z.ZodObject<{
5579
6288
  residentialArea?: string | null | undefined;
5580
6289
  street?: string | null | undefined;
5581
6290
  zipCode?: string | null | undefined;
6291
+ } | {
6292
+ firstname: string;
6293
+ surname: string;
6294
+ middlename?: string | null | undefined;
5582
6295
  } | {
5583
6296
  country: string;
5584
6297
  district: string;
@@ -5601,14 +6314,16 @@ export declare const EventDocument: z.ZodObject<{
5601
6314
  option: string;
5602
6315
  filename: string;
5603
6316
  originalFilename: string;
5604
- }[] | undefined> | undefined;
6317
+ }[] | [string, string] | null | undefined> | undefined;
5605
6318
  originalActionId?: string | undefined;
5606
6319
  }, {
5607
6320
  type: "PRINT_CERTIFICATE";
5608
6321
  id: string;
5609
6322
  status: "Rejected" | "Requested" | "Accepted";
6323
+ transactionId: string;
5610
6324
  createdAt: string;
5611
6325
  createdBy: string;
6326
+ createdByRole: string;
5612
6327
  declaration: Record<string, string | number | boolean | {
5613
6328
  type: string;
5614
6329
  filename: string;
@@ -5624,6 +6339,10 @@ export declare const EventDocument: z.ZodObject<{
5624
6339
  residentialArea?: string | null | undefined;
5625
6340
  street?: string | null | undefined;
5626
6341
  zipCode?: string | null | undefined;
6342
+ } | {
6343
+ firstname: string;
6344
+ surname: string;
6345
+ middlename?: string | null | undefined;
5627
6346
  } | {
5628
6347
  country: string;
5629
6348
  district: string;
@@ -5646,8 +6365,9 @@ export declare const EventDocument: z.ZodObject<{
5646
6365
  option: string;
5647
6366
  filename: string;
5648
6367
  originalFilename: string;
5649
- }[] | undefined>;
5650
- createdAtLocation: string;
6368
+ }[] | [string, string] | null | undefined>;
6369
+ createdBySignature?: string | null | undefined;
6370
+ createdAtLocation?: string | null | undefined;
5651
6371
  annotation?: Record<string, string | number | boolean | {
5652
6372
  type: string;
5653
6373
  filename: string;
@@ -5663,6 +6383,10 @@ export declare const EventDocument: z.ZodObject<{
5663
6383
  residentialArea?: string | null | undefined;
5664
6384
  street?: string | null | undefined;
5665
6385
  zipCode?: string | null | undefined;
6386
+ } | {
6387
+ firstname: string;
6388
+ surname: string;
6389
+ middlename?: string | null | undefined;
5666
6390
  } | {
5667
6391
  country: string;
5668
6392
  district: string;
@@ -5685,13 +6409,17 @@ export declare const EventDocument: z.ZodObject<{
5685
6409
  option: string;
5686
6410
  filename: string;
5687
6411
  originalFilename: string;
5688
- }[] | undefined> | undefined;
6412
+ }[] | [string, string] | null | undefined> | undefined;
5689
6413
  originalActionId?: string | undefined;
5690
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
5691
6415
  id: z.ZodString;
6416
+ transactionId: z.ZodString;
5692
6417
  createdAt: z.ZodString;
5693
6418
  createdBy: z.ZodString;
5694
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6419
+ createdByRole: z.ZodString;
6420
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5695
6423
  filename: z.ZodString;
5696
6424
  originalFilename: z.ZodString;
5697
6425
  type: z.ZodString;
@@ -5804,8 +6532,20 @@ export declare const EventDocument: z.ZodObject<{
5804
6532
  addressLine2?: string | null | undefined;
5805
6533
  addressLine3?: string | null | undefined;
5806
6534
  postcodeOrZip?: string | null | undefined;
5807
- }>]>>;
5808
- 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.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<{
5809
6549
  filename: z.ZodString;
5810
6550
  originalFilename: z.ZodString;
5811
6551
  type: z.ZodString;
@@ -5918,8 +6658,19 @@ export declare const EventDocument: z.ZodObject<{
5918
6658
  addressLine2?: string | null | undefined;
5919
6659
  addressLine3?: string | null | undefined;
5920
6660
  postcodeOrZip?: string | null | undefined;
5921
- }>]>>>;
5922
- 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]>]>>>;
5923
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5924
6675
  originalActionId: z.ZodOptional<z.ZodString>;
5925
6676
  }, {
@@ -5928,8 +6679,10 @@ export declare const EventDocument: z.ZodObject<{
5928
6679
  type: "READ";
5929
6680
  id: string;
5930
6681
  status: "Rejected" | "Requested" | "Accepted";
6682
+ transactionId: string;
5931
6683
  createdAt: string;
5932
6684
  createdBy: string;
6685
+ createdByRole: string;
5933
6686
  declaration: Record<string, string | number | boolean | {
5934
6687
  type: string;
5935
6688
  filename: string;
@@ -5945,6 +6698,10 @@ export declare const EventDocument: z.ZodObject<{
5945
6698
  residentialArea?: string | null | undefined;
5946
6699
  street?: string | null | undefined;
5947
6700
  zipCode?: string | null | undefined;
6701
+ } | {
6702
+ firstname: string;
6703
+ surname: string;
6704
+ middlename?: string | null | undefined;
5948
6705
  } | {
5949
6706
  country: string;
5950
6707
  district: string;
@@ -5967,8 +6724,9 @@ export declare const EventDocument: z.ZodObject<{
5967
6724
  option: string;
5968
6725
  filename: string;
5969
6726
  originalFilename: string;
5970
- }[] | undefined>;
5971
- createdAtLocation: string;
6727
+ }[] | [string, string] | null | undefined>;
6728
+ createdBySignature?: string | null | undefined;
6729
+ createdAtLocation?: string | null | undefined;
5972
6730
  annotation?: Record<string, string | number | boolean | {
5973
6731
  type: string;
5974
6732
  filename: string;
@@ -5984,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
5984
6742
  residentialArea?: string | null | undefined;
5985
6743
  street?: string | null | undefined;
5986
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
5987
6749
  } | {
5988
6750
  country: string;
5989
6751
  district: string;
@@ -6006,14 +6768,16 @@ export declare const EventDocument: z.ZodObject<{
6006
6768
  option: string;
6007
6769
  filename: string;
6008
6770
  originalFilename: string;
6009
- }[] | undefined> | undefined;
6771
+ }[] | [string, string] | null | undefined> | undefined;
6010
6772
  originalActionId?: string | undefined;
6011
6773
  }, {
6012
6774
  type: "READ";
6013
6775
  id: string;
6014
6776
  status: "Rejected" | "Requested" | "Accepted";
6777
+ transactionId: string;
6015
6778
  createdAt: string;
6016
6779
  createdBy: string;
6780
+ createdByRole: string;
6017
6781
  declaration: Record<string, string | number | boolean | {
6018
6782
  type: string;
6019
6783
  filename: string;
@@ -6029,6 +6793,10 @@ export declare const EventDocument: z.ZodObject<{
6029
6793
  residentialArea?: string | null | undefined;
6030
6794
  street?: string | null | undefined;
6031
6795
  zipCode?: string | null | undefined;
6796
+ } | {
6797
+ firstname: string;
6798
+ surname: string;
6799
+ middlename?: string | null | undefined;
6032
6800
  } | {
6033
6801
  country: string;
6034
6802
  district: string;
@@ -6051,8 +6819,9 @@ export declare const EventDocument: z.ZodObject<{
6051
6819
  option: string;
6052
6820
  filename: string;
6053
6821
  originalFilename: string;
6054
- }[] | undefined>;
6055
- createdAtLocation: string;
6822
+ }[] | [string, string] | null | undefined>;
6823
+ createdBySignature?: string | null | undefined;
6824
+ createdAtLocation?: string | null | undefined;
6056
6825
  annotation?: Record<string, string | number | boolean | {
6057
6826
  type: string;
6058
6827
  filename: string;
@@ -6068,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6068
6837
  residentialArea?: string | null | undefined;
6069
6838
  street?: string | null | undefined;
6070
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6071
6844
  } | {
6072
6845
  country: string;
6073
6846
  district: string;
@@ -6090,13 +6863,17 @@ export declare const EventDocument: z.ZodObject<{
6090
6863
  option: string;
6091
6864
  filename: string;
6092
6865
  originalFilename: string;
6093
- }[] | undefined> | undefined;
6866
+ }[] | [string, string] | null | undefined> | undefined;
6094
6867
  originalActionId?: string | undefined;
6095
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6096
6869
  id: z.ZodString;
6870
+ transactionId: z.ZodString;
6097
6871
  createdAt: z.ZodString;
6098
6872
  createdBy: z.ZodString;
6099
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6873
+ createdByRole: z.ZodString;
6874
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
6100
6877
  filename: z.ZodString;
6101
6878
  originalFilename: z.ZodString;
6102
6879
  type: z.ZodString;
@@ -6209,8 +6986,20 @@ export declare const EventDocument: z.ZodObject<{
6209
6986
  addressLine2?: string | null | undefined;
6210
6987
  addressLine3?: string | null | undefined;
6211
6988
  postcodeOrZip?: string | null | undefined;
6212
- }>]>>;
6213
- 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.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<{
6214
7003
  filename: z.ZodString;
6215
7004
  originalFilename: z.ZodString;
6216
7005
  type: z.ZodString;
@@ -6323,24 +7112,45 @@ export declare const EventDocument: z.ZodObject<{
6323
7112
  addressLine2?: string | null | undefined;
6324
7113
  addressLine3?: string | null | undefined;
6325
7114
  postcodeOrZip?: string | null | undefined;
6326
- }>]>>>;
6327
- 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]>]>>>;
6328
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6329
7129
  originalActionId: z.ZodOptional<z.ZodString>;
6330
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7130
+ }, "declaration" | "annotation">, {
6331
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6332
7132
  status: z.ZodLiteral<"Rejected">;
6333
7133
  }>, "strip", z.ZodTypeAny, {
6334
7134
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6335
7135
  id: string;
6336
7136
  status: "Rejected";
7137
+ transactionId: string;
6337
7138
  createdAt: string;
7139
+ createdBy: string;
7140
+ createdByRole: string;
7141
+ createdBySignature?: string | null | undefined;
7142
+ createdAtLocation?: string | null | undefined;
6338
7143
  originalActionId?: string | undefined;
6339
7144
  }, {
6340
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6341
7146
  id: string;
6342
7147
  status: "Rejected";
7148
+ transactionId: string;
6343
7149
  createdAt: string;
7150
+ createdBy: string;
7151
+ createdByRole: string;
7152
+ createdBySignature?: string | null | undefined;
7153
+ createdAtLocation?: string | null | undefined;
6344
7154
  originalActionId?: string | undefined;
6345
7155
  }>]>, "many">;
6346
7156
  trackingId: z.ZodString;
@@ -6349,13 +7159,14 @@ export declare const EventDocument: z.ZodObject<{
6349
7159
  id: string;
6350
7160
  createdAt: string;
6351
7161
  updatedAt: string;
6352
- updatedAtLocation: string;
6353
7162
  actions: ({
6354
7163
  type: "ASSIGN";
6355
7164
  id: string;
6356
7165
  status: "Rejected" | "Requested" | "Accepted";
7166
+ transactionId: string;
6357
7167
  createdAt: string;
6358
7168
  createdBy: string;
7169
+ createdByRole: string;
6359
7170
  declaration: Record<string, string | number | boolean | {
6360
7171
  type: string;
6361
7172
  filename: string;
@@ -6371,6 +7182,10 @@ export declare const EventDocument: z.ZodObject<{
6371
7182
  residentialArea?: string | null | undefined;
6372
7183
  street?: string | null | undefined;
6373
7184
  zipCode?: string | null | undefined;
7185
+ } | {
7186
+ firstname: string;
7187
+ surname: string;
7188
+ middlename?: string | null | undefined;
6374
7189
  } | {
6375
7190
  country: string;
6376
7191
  district: string;
@@ -6393,9 +7208,10 @@ export declare const EventDocument: z.ZodObject<{
6393
7208
  option: string;
6394
7209
  filename: string;
6395
7210
  originalFilename: string;
6396
- }[] | undefined>;
6397
- createdAtLocation: string;
7211
+ }[] | [string, string] | null | undefined>;
6398
7212
  assignedTo: string;
7213
+ createdBySignature?: string | null | undefined;
7214
+ createdAtLocation?: string | null | undefined;
6399
7215
  annotation?: Record<string, string | number | boolean | {
6400
7216
  type: string;
6401
7217
  filename: string;
@@ -6411,6 +7227,10 @@ export declare const EventDocument: z.ZodObject<{
6411
7227
  residentialArea?: string | null | undefined;
6412
7228
  street?: string | null | undefined;
6413
7229
  zipCode?: string | null | undefined;
7230
+ } | {
7231
+ firstname: string;
7232
+ surname: string;
7233
+ middlename?: string | null | undefined;
6414
7234
  } | {
6415
7235
  country: string;
6416
7236
  district: string;
@@ -6433,14 +7253,16 @@ export declare const EventDocument: z.ZodObject<{
6433
7253
  option: string;
6434
7254
  filename: string;
6435
7255
  originalFilename: string;
6436
- }[] | undefined> | undefined;
7256
+ }[] | [string, string] | null | undefined> | undefined;
6437
7257
  originalActionId?: string | undefined;
6438
7258
  } | {
6439
7259
  type: "UNASSIGN";
6440
7260
  id: string;
6441
7261
  status: "Rejected" | "Requested" | "Accepted";
7262
+ transactionId: string;
6442
7263
  createdAt: string;
6443
7264
  createdBy: string;
7265
+ createdByRole: string;
6444
7266
  declaration: Record<string, string | number | boolean | {
6445
7267
  type: string;
6446
7268
  filename: string;
@@ -6456,6 +7278,10 @@ export declare const EventDocument: z.ZodObject<{
6456
7278
  residentialArea?: string | null | undefined;
6457
7279
  street?: string | null | undefined;
6458
7280
  zipCode?: string | null | undefined;
7281
+ } | {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
6459
7285
  } | {
6460
7286
  country: string;
6461
7287
  district: string;
@@ -6478,8 +7304,10 @@ export declare const EventDocument: z.ZodObject<{
6478
7304
  option: string;
6479
7305
  filename: string;
6480
7306
  originalFilename: string;
6481
- }[] | undefined>;
6482
- createdAtLocation: string;
7307
+ }[] | [string, string] | null | undefined>;
7308
+ assignedTo: null;
7309
+ createdBySignature?: string | null | undefined;
7310
+ createdAtLocation?: string | null | undefined;
6483
7311
  annotation?: Record<string, string | number | boolean | {
6484
7312
  type: string;
6485
7313
  filename: string;
@@ -6495,6 +7323,10 @@ export declare const EventDocument: z.ZodObject<{
6495
7323
  residentialArea?: string | null | undefined;
6496
7324
  street?: string | null | undefined;
6497
7325
  zipCode?: string | null | undefined;
7326
+ } | {
7327
+ firstname: string;
7328
+ surname: string;
7329
+ middlename?: string | null | undefined;
6498
7330
  } | {
6499
7331
  country: string;
6500
7332
  district: string;
@@ -6517,14 +7349,16 @@ export declare const EventDocument: z.ZodObject<{
6517
7349
  option: string;
6518
7350
  filename: string;
6519
7351
  originalFilename: string;
6520
- }[] | undefined> | undefined;
7352
+ }[] | [string, string] | null | undefined> | undefined;
6521
7353
  originalActionId?: string | undefined;
6522
7354
  } | {
6523
7355
  type: "REGISTER";
6524
7356
  id: string;
6525
7357
  status: "Rejected" | "Requested" | "Accepted";
7358
+ transactionId: string;
6526
7359
  createdAt: string;
6527
7360
  createdBy: string;
7361
+ createdByRole: string;
6528
7362
  declaration: Record<string, string | number | boolean | {
6529
7363
  type: string;
6530
7364
  filename: string;
@@ -6540,6 +7374,10 @@ export declare const EventDocument: z.ZodObject<{
6540
7374
  residentialArea?: string | null | undefined;
6541
7375
  street?: string | null | undefined;
6542
7376
  zipCode?: string | null | undefined;
7377
+ } | {
7378
+ firstname: string;
7379
+ surname: string;
7380
+ middlename?: string | null | undefined;
6543
7381
  } | {
6544
7382
  country: string;
6545
7383
  district: string;
@@ -6562,8 +7400,9 @@ export declare const EventDocument: z.ZodObject<{
6562
7400
  option: string;
6563
7401
  filename: string;
6564
7402
  originalFilename: string;
6565
- }[] | undefined>;
6566
- createdAtLocation: string;
7403
+ }[] | [string, string] | null | undefined>;
7404
+ createdBySignature?: string | null | undefined;
7405
+ createdAtLocation?: string | null | undefined;
6567
7406
  annotation?: Record<string, string | number | boolean | {
6568
7407
  type: string;
6569
7408
  filename: string;
@@ -6579,6 +7418,10 @@ export declare const EventDocument: z.ZodObject<{
6579
7418
  residentialArea?: string | null | undefined;
6580
7419
  street?: string | null | undefined;
6581
7420
  zipCode?: string | null | undefined;
7421
+ } | {
7422
+ firstname: string;
7423
+ surname: string;
7424
+ middlename?: string | null | undefined;
6582
7425
  } | {
6583
7426
  country: string;
6584
7427
  district: string;
@@ -6601,15 +7444,17 @@ export declare const EventDocument: z.ZodObject<{
6601
7444
  option: string;
6602
7445
  filename: string;
6603
7446
  originalFilename: string;
6604
- }[] | undefined> | undefined;
7447
+ }[] | [string, string] | null | undefined> | undefined;
6605
7448
  originalActionId?: string | undefined;
6606
7449
  registrationNumber?: string | undefined;
6607
7450
  } | {
6608
7451
  type: "DECLARE";
6609
7452
  id: string;
6610
7453
  status: "Rejected" | "Requested" | "Accepted";
7454
+ transactionId: string;
6611
7455
  createdAt: string;
6612
7456
  createdBy: string;
7457
+ createdByRole: string;
6613
7458
  declaration: Record<string, string | number | boolean | {
6614
7459
  type: string;
6615
7460
  filename: string;
@@ -6625,6 +7470,10 @@ export declare const EventDocument: z.ZodObject<{
6625
7470
  residentialArea?: string | null | undefined;
6626
7471
  street?: string | null | undefined;
6627
7472
  zipCode?: string | null | undefined;
7473
+ } | {
7474
+ firstname: string;
7475
+ surname: string;
7476
+ middlename?: string | null | undefined;
6628
7477
  } | {
6629
7478
  country: string;
6630
7479
  district: string;
@@ -6647,8 +7496,9 @@ export declare const EventDocument: z.ZodObject<{
6647
7496
  option: string;
6648
7497
  filename: string;
6649
7498
  originalFilename: string;
6650
- }[] | undefined>;
6651
- createdAtLocation: string;
7499
+ }[] | [string, string] | null | undefined>;
7500
+ createdBySignature?: string | null | undefined;
7501
+ createdAtLocation?: string | null | undefined;
6652
7502
  annotation?: Record<string, string | number | boolean | {
6653
7503
  type: string;
6654
7504
  filename: string;
@@ -6664,6 +7514,10 @@ export declare const EventDocument: z.ZodObject<{
6664
7514
  residentialArea?: string | null | undefined;
6665
7515
  street?: string | null | undefined;
6666
7516
  zipCode?: string | null | undefined;
7517
+ } | {
7518
+ firstname: string;
7519
+ surname: string;
7520
+ middlename?: string | null | undefined;
6667
7521
  } | {
6668
7522
  country: string;
6669
7523
  district: string;
@@ -6686,14 +7540,16 @@ export declare const EventDocument: z.ZodObject<{
6686
7540
  option: string;
6687
7541
  filename: string;
6688
7542
  originalFilename: string;
6689
- }[] | undefined> | undefined;
7543
+ }[] | [string, string] | null | undefined> | undefined;
6690
7544
  originalActionId?: string | undefined;
6691
7545
  } | {
6692
7546
  type: "VALIDATE";
6693
7547
  id: string;
6694
7548
  status: "Rejected" | "Requested" | "Accepted";
7549
+ transactionId: string;
6695
7550
  createdAt: string;
6696
7551
  createdBy: string;
7552
+ createdByRole: string;
6697
7553
  declaration: Record<string, string | number | boolean | {
6698
7554
  type: string;
6699
7555
  filename: string;
@@ -6709,6 +7565,10 @@ export declare const EventDocument: z.ZodObject<{
6709
7565
  residentialArea?: string | null | undefined;
6710
7566
  street?: string | null | undefined;
6711
7567
  zipCode?: string | null | undefined;
7568
+ } | {
7569
+ firstname: string;
7570
+ surname: string;
7571
+ middlename?: string | null | undefined;
6712
7572
  } | {
6713
7573
  country: string;
6714
7574
  district: string;
@@ -6731,8 +7591,9 @@ export declare const EventDocument: z.ZodObject<{
6731
7591
  option: string;
6732
7592
  filename: string;
6733
7593
  originalFilename: string;
6734
- }[] | undefined>;
6735
- createdAtLocation: string;
7594
+ }[] | [string, string] | null | undefined>;
7595
+ createdBySignature?: string | null | undefined;
7596
+ createdAtLocation?: string | null | undefined;
6736
7597
  annotation?: Record<string, string | number | boolean | {
6737
7598
  type: string;
6738
7599
  filename: string;
@@ -6748,6 +7609,10 @@ export declare const EventDocument: z.ZodObject<{
6748
7609
  residentialArea?: string | null | undefined;
6749
7610
  street?: string | null | undefined;
6750
7611
  zipCode?: string | null | undefined;
7612
+ } | {
7613
+ firstname: string;
7614
+ surname: string;
7615
+ middlename?: string | null | undefined;
6751
7616
  } | {
6752
7617
  country: string;
6753
7618
  district: string;
@@ -6770,14 +7635,20 @@ export declare const EventDocument: z.ZodObject<{
6770
7635
  option: string;
6771
7636
  filename: string;
6772
7637
  originalFilename: string;
6773
- }[] | undefined> | undefined;
7638
+ }[] | [string, string] | null | undefined> | undefined;
6774
7639
  originalActionId?: string | undefined;
6775
7640
  } | {
6776
7641
  type: "REJECT";
6777
7642
  id: string;
6778
7643
  status: "Rejected" | "Requested" | "Accepted";
7644
+ reason: {
7645
+ message: string;
7646
+ isDuplicate?: boolean | undefined;
7647
+ };
7648
+ transactionId: string;
6779
7649
  createdAt: string;
6780
7650
  createdBy: string;
7651
+ createdByRole: string;
6781
7652
  declaration: Record<string, string | number | boolean | {
6782
7653
  type: string;
6783
7654
  filename: string;
@@ -6793,6 +7664,10 @@ export declare const EventDocument: z.ZodObject<{
6793
7664
  residentialArea?: string | null | undefined;
6794
7665
  street?: string | null | undefined;
6795
7666
  zipCode?: string | null | undefined;
7667
+ } | {
7668
+ firstname: string;
7669
+ surname: string;
7670
+ middlename?: string | null | undefined;
6796
7671
  } | {
6797
7672
  country: string;
6798
7673
  district: string;
@@ -6815,8 +7690,9 @@ export declare const EventDocument: z.ZodObject<{
6815
7690
  option: string;
6816
7691
  filename: string;
6817
7692
  originalFilename: string;
6818
- }[] | undefined>;
6819
- createdAtLocation: string;
7693
+ }[] | [string, string] | null | undefined>;
7694
+ createdBySignature?: string | null | undefined;
7695
+ createdAtLocation?: string | null | undefined;
6820
7696
  annotation?: Record<string, string | number | boolean | {
6821
7697
  type: string;
6822
7698
  filename: string;
@@ -6832,6 +7708,10 @@ export declare const EventDocument: z.ZodObject<{
6832
7708
  residentialArea?: string | null | undefined;
6833
7709
  street?: string | null | undefined;
6834
7710
  zipCode?: string | null | undefined;
7711
+ } | {
7712
+ firstname: string;
7713
+ surname: string;
7714
+ middlename?: string | null | undefined;
6835
7715
  } | {
6836
7716
  country: string;
6837
7717
  district: string;
@@ -6854,14 +7734,16 @@ export declare const EventDocument: z.ZodObject<{
6854
7734
  option: string;
6855
7735
  filename: string;
6856
7736
  originalFilename: string;
6857
- }[] | undefined> | undefined;
7737
+ }[] | [string, string] | null | undefined> | undefined;
6858
7738
  originalActionId?: string | undefined;
6859
7739
  } | {
6860
7740
  type: "MARKED_AS_DUPLICATE";
6861
7741
  id: string;
6862
7742
  status: "Rejected" | "Requested" | "Accepted";
7743
+ transactionId: string;
6863
7744
  createdAt: string;
6864
7745
  createdBy: string;
7746
+ createdByRole: string;
6865
7747
  declaration: Record<string, string | number | boolean | {
6866
7748
  type: string;
6867
7749
  filename: string;
@@ -6877,6 +7759,10 @@ export declare const EventDocument: z.ZodObject<{
6877
7759
  residentialArea?: string | null | undefined;
6878
7760
  street?: string | null | undefined;
6879
7761
  zipCode?: string | null | undefined;
7762
+ } | {
7763
+ firstname: string;
7764
+ surname: string;
7765
+ middlename?: string | null | undefined;
6880
7766
  } | {
6881
7767
  country: string;
6882
7768
  district: string;
@@ -6899,8 +7785,9 @@ export declare const EventDocument: z.ZodObject<{
6899
7785
  option: string;
6900
7786
  filename: string;
6901
7787
  originalFilename: string;
6902
- }[] | undefined>;
6903
- createdAtLocation: string;
7788
+ }[] | [string, string] | null | undefined>;
7789
+ createdBySignature?: string | null | undefined;
7790
+ createdAtLocation?: string | null | undefined;
6904
7791
  annotation?: Record<string, string | number | boolean | {
6905
7792
  type: string;
6906
7793
  filename: string;
@@ -6916,6 +7803,10 @@ export declare const EventDocument: z.ZodObject<{
6916
7803
  residentialArea?: string | null | undefined;
6917
7804
  street?: string | null | undefined;
6918
7805
  zipCode?: string | null | undefined;
7806
+ } | {
7807
+ firstname: string;
7808
+ surname: string;
7809
+ middlename?: string | null | undefined;
6919
7810
  } | {
6920
7811
  country: string;
6921
7812
  district: string;
@@ -6938,14 +7829,20 @@ export declare const EventDocument: z.ZodObject<{
6938
7829
  option: string;
6939
7830
  filename: string;
6940
7831
  originalFilename: string;
6941
- }[] | undefined> | undefined;
7832
+ }[] | [string, string] | null | undefined> | undefined;
6942
7833
  originalActionId?: string | undefined;
6943
7834
  } | {
6944
7835
  type: "ARCHIVE";
6945
7836
  id: string;
6946
7837
  status: "Rejected" | "Requested" | "Accepted";
7838
+ reason: {
7839
+ message: string;
7840
+ isDuplicate?: boolean | undefined;
7841
+ };
7842
+ transactionId: string;
6947
7843
  createdAt: string;
6948
7844
  createdBy: string;
7845
+ createdByRole: string;
6949
7846
  declaration: Record<string, string | number | boolean | {
6950
7847
  type: string;
6951
7848
  filename: string;
@@ -6961,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
6961
7858
  residentialArea?: string | null | undefined;
6962
7859
  street?: string | null | undefined;
6963
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
6964
7865
  } | {
6965
7866
  country: string;
6966
7867
  district: string;
@@ -6983,8 +7884,9 @@ export declare const EventDocument: z.ZodObject<{
6983
7884
  option: string;
6984
7885
  filename: string;
6985
7886
  originalFilename: string;
6986
- }[] | undefined>;
6987
- createdAtLocation: string;
7887
+ }[] | [string, string] | null | undefined>;
7888
+ createdBySignature?: string | null | undefined;
7889
+ createdAtLocation?: string | null | undefined;
6988
7890
  annotation?: Record<string, string | number | boolean | {
6989
7891
  type: string;
6990
7892
  filename: string;
@@ -7000,6 +7902,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7902
  residentialArea?: string | null | undefined;
7001
7903
  street?: string | null | undefined;
7002
7904
  zipCode?: string | null | undefined;
7905
+ } | {
7906
+ firstname: string;
7907
+ surname: string;
7908
+ middlename?: string | null | undefined;
7003
7909
  } | {
7004
7910
  country: string;
7005
7911
  district: string;
@@ -7022,14 +7928,16 @@ export declare const EventDocument: z.ZodObject<{
7022
7928
  option: string;
7023
7929
  filename: string;
7024
7930
  originalFilename: string;
7025
- }[] | undefined> | undefined;
7931
+ }[] | [string, string] | null | undefined> | undefined;
7026
7932
  originalActionId?: string | undefined;
7027
7933
  } | {
7028
7934
  type: "CREATE";
7029
7935
  id: string;
7030
7936
  status: "Rejected" | "Requested" | "Accepted";
7937
+ transactionId: string;
7031
7938
  createdAt: string;
7032
7939
  createdBy: string;
7940
+ createdByRole: string;
7033
7941
  declaration: Record<string, string | number | boolean | {
7034
7942
  type: string;
7035
7943
  filename: string;
@@ -7045,6 +7953,10 @@ export declare const EventDocument: z.ZodObject<{
7045
7953
  residentialArea?: string | null | undefined;
7046
7954
  street?: string | null | undefined;
7047
7955
  zipCode?: string | null | undefined;
7956
+ } | {
7957
+ firstname: string;
7958
+ surname: string;
7959
+ middlename?: string | null | undefined;
7048
7960
  } | {
7049
7961
  country: string;
7050
7962
  district: string;
@@ -7067,8 +7979,9 @@ export declare const EventDocument: z.ZodObject<{
7067
7979
  option: string;
7068
7980
  filename: string;
7069
7981
  originalFilename: string;
7070
- }[] | undefined>;
7071
- createdAtLocation: string;
7982
+ }[] | [string, string] | null | undefined>;
7983
+ createdBySignature?: string | null | undefined;
7984
+ createdAtLocation?: string | null | undefined;
7072
7985
  annotation?: Record<string, string | number | boolean | {
7073
7986
  type: string;
7074
7987
  filename: string;
@@ -7084,6 +7997,10 @@ export declare const EventDocument: z.ZodObject<{
7084
7997
  residentialArea?: string | null | undefined;
7085
7998
  street?: string | null | undefined;
7086
7999
  zipCode?: string | null | undefined;
8000
+ } | {
8001
+ firstname: string;
8002
+ surname: string;
8003
+ middlename?: string | null | undefined;
7087
8004
  } | {
7088
8005
  country: string;
7089
8006
  district: string;
@@ -7106,14 +8023,16 @@ export declare const EventDocument: z.ZodObject<{
7106
8023
  option: string;
7107
8024
  filename: string;
7108
8025
  originalFilename: string;
7109
- }[] | undefined> | undefined;
8026
+ }[] | [string, string] | null | undefined> | undefined;
7110
8027
  originalActionId?: string | undefined;
7111
8028
  } | {
7112
8029
  type: "NOTIFY";
7113
8030
  id: string;
7114
8031
  status: "Rejected" | "Requested" | "Accepted";
8032
+ transactionId: string;
7115
8033
  createdAt: string;
7116
8034
  createdBy: string;
8035
+ createdByRole: string;
7117
8036
  declaration: Record<string, string | number | boolean | {
7118
8037
  type: string;
7119
8038
  filename: string;
@@ -7129,6 +8048,10 @@ export declare const EventDocument: z.ZodObject<{
7129
8048
  residentialArea?: string | null | undefined;
7130
8049
  street?: string | null | undefined;
7131
8050
  zipCode?: string | null | undefined;
8051
+ } | {
8052
+ firstname: string;
8053
+ surname: string;
8054
+ middlename?: string | null | undefined;
7132
8055
  } | {
7133
8056
  country: string;
7134
8057
  district: string;
@@ -7151,8 +8074,9 @@ export declare const EventDocument: z.ZodObject<{
7151
8074
  option: string;
7152
8075
  filename: string;
7153
8076
  originalFilename: string;
7154
- }[] | undefined>;
7155
- createdAtLocation: string;
8077
+ }[] | [string, string] | null | undefined>;
8078
+ createdBySignature?: string | null | undefined;
8079
+ createdAtLocation?: string | null | undefined;
7156
8080
  annotation?: Record<string, string | number | boolean | {
7157
8081
  type: string;
7158
8082
  filename: string;
@@ -7168,6 +8092,10 @@ export declare const EventDocument: z.ZodObject<{
7168
8092
  residentialArea?: string | null | undefined;
7169
8093
  street?: string | null | undefined;
7170
8094
  zipCode?: string | null | undefined;
8095
+ } | {
8096
+ firstname: string;
8097
+ surname: string;
8098
+ middlename?: string | null | undefined;
7171
8099
  } | {
7172
8100
  country: string;
7173
8101
  district: string;
@@ -7190,14 +8118,16 @@ export declare const EventDocument: z.ZodObject<{
7190
8118
  option: string;
7191
8119
  filename: string;
7192
8120
  originalFilename: string;
7193
- }[] | undefined> | undefined;
8121
+ }[] | [string, string] | null | undefined> | undefined;
7194
8122
  originalActionId?: string | undefined;
7195
8123
  } | {
7196
8124
  type: "PRINT_CERTIFICATE";
7197
8125
  id: string;
7198
8126
  status: "Rejected" | "Requested" | "Accepted";
8127
+ transactionId: string;
7199
8128
  createdAt: string;
7200
8129
  createdBy: string;
8130
+ createdByRole: string;
7201
8131
  declaration: Record<string, string | number | boolean | {
7202
8132
  type: string;
7203
8133
  filename: string;
@@ -7213,6 +8143,10 @@ export declare const EventDocument: z.ZodObject<{
7213
8143
  residentialArea?: string | null | undefined;
7214
8144
  street?: string | null | undefined;
7215
8145
  zipCode?: string | null | undefined;
8146
+ } | {
8147
+ firstname: string;
8148
+ surname: string;
8149
+ middlename?: string | null | undefined;
7216
8150
  } | {
7217
8151
  country: string;
7218
8152
  district: string;
@@ -7235,8 +8169,9 @@ export declare const EventDocument: z.ZodObject<{
7235
8169
  option: string;
7236
8170
  filename: string;
7237
8171
  originalFilename: string;
7238
- }[] | undefined>;
7239
- createdAtLocation: string;
8172
+ }[] | [string, string] | null | undefined>;
8173
+ createdBySignature?: string | null | undefined;
8174
+ createdAtLocation?: string | null | undefined;
7240
8175
  annotation?: Record<string, string | number | boolean | {
7241
8176
  type: string;
7242
8177
  filename: string;
@@ -7252,6 +8187,10 @@ export declare const EventDocument: z.ZodObject<{
7252
8187
  residentialArea?: string | null | undefined;
7253
8188
  street?: string | null | undefined;
7254
8189
  zipCode?: string | null | undefined;
8190
+ } | {
8191
+ firstname: string;
8192
+ surname: string;
8193
+ middlename?: string | null | undefined;
7255
8194
  } | {
7256
8195
  country: string;
7257
8196
  district: string;
@@ -7274,14 +8213,16 @@ export declare const EventDocument: z.ZodObject<{
7274
8213
  option: string;
7275
8214
  filename: string;
7276
8215
  originalFilename: string;
7277
- }[] | undefined> | undefined;
8216
+ }[] | [string, string] | null | undefined> | undefined;
7278
8217
  originalActionId?: string | undefined;
7279
8218
  } | {
7280
8219
  type: "REQUEST_CORRECTION";
7281
8220
  id: string;
7282
8221
  status: "Rejected" | "Requested" | "Accepted";
8222
+ transactionId: string;
7283
8223
  createdAt: string;
7284
8224
  createdBy: string;
8225
+ createdByRole: string;
7285
8226
  declaration: Record<string, string | number | boolean | {
7286
8227
  type: string;
7287
8228
  filename: string;
@@ -7297,6 +8238,10 @@ export declare const EventDocument: z.ZodObject<{
7297
8238
  residentialArea?: string | null | undefined;
7298
8239
  street?: string | null | undefined;
7299
8240
  zipCode?: string | null | undefined;
8241
+ } | {
8242
+ firstname: string;
8243
+ surname: string;
8244
+ middlename?: string | null | undefined;
7300
8245
  } | {
7301
8246
  country: string;
7302
8247
  district: string;
@@ -7319,8 +8264,9 @@ export declare const EventDocument: z.ZodObject<{
7319
8264
  option: string;
7320
8265
  filename: string;
7321
8266
  originalFilename: string;
7322
- }[] | undefined>;
7323
- createdAtLocation: string;
8267
+ }[] | [string, string] | null | undefined>;
8268
+ createdBySignature?: string | null | undefined;
8269
+ createdAtLocation?: string | null | undefined;
7324
8270
  annotation?: Record<string, string | number | boolean | {
7325
8271
  type: string;
7326
8272
  filename: string;
@@ -7336,6 +8282,10 @@ export declare const EventDocument: z.ZodObject<{
7336
8282
  residentialArea?: string | null | undefined;
7337
8283
  street?: string | null | undefined;
7338
8284
  zipCode?: string | null | undefined;
8285
+ } | {
8286
+ firstname: string;
8287
+ surname: string;
8288
+ middlename?: string | null | undefined;
7339
8289
  } | {
7340
8290
  country: string;
7341
8291
  district: string;
@@ -7358,14 +8308,16 @@ export declare const EventDocument: z.ZodObject<{
7358
8308
  option: string;
7359
8309
  filename: string;
7360
8310
  originalFilename: string;
7361
- }[] | undefined> | undefined;
8311
+ }[] | [string, string] | null | undefined> | undefined;
7362
8312
  originalActionId?: string | undefined;
7363
8313
  } | {
7364
8314
  type: "APPROVE_CORRECTION";
7365
8315
  id: string;
7366
8316
  status: "Rejected" | "Requested" | "Accepted";
8317
+ transactionId: string;
7367
8318
  createdAt: string;
7368
8319
  createdBy: string;
8320
+ createdByRole: string;
7369
8321
  declaration: Record<string, string | number | boolean | {
7370
8322
  type: string;
7371
8323
  filename: string;
@@ -7381,6 +8333,10 @@ export declare const EventDocument: z.ZodObject<{
7381
8333
  residentialArea?: string | null | undefined;
7382
8334
  street?: string | null | undefined;
7383
8335
  zipCode?: string | null | undefined;
8336
+ } | {
8337
+ firstname: string;
8338
+ surname: string;
8339
+ middlename?: string | null | undefined;
7384
8340
  } | {
7385
8341
  country: string;
7386
8342
  district: string;
@@ -7403,9 +8359,10 @@ export declare const EventDocument: z.ZodObject<{
7403
8359
  option: string;
7404
8360
  filename: string;
7405
8361
  originalFilename: string;
7406
- }[] | undefined>;
7407
- createdAtLocation: string;
8362
+ }[] | [string, string] | null | undefined>;
7408
8363
  requestId: string;
8364
+ createdBySignature?: string | null | undefined;
8365
+ createdAtLocation?: string | null | undefined;
7409
8366
  annotation?: Record<string, string | number | boolean | {
7410
8367
  type: string;
7411
8368
  filename: string;
@@ -7421,6 +8378,10 @@ export declare const EventDocument: z.ZodObject<{
7421
8378
  residentialArea?: string | null | undefined;
7422
8379
  street?: string | null | undefined;
7423
8380
  zipCode?: string | null | undefined;
8381
+ } | {
8382
+ firstname: string;
8383
+ surname: string;
8384
+ middlename?: string | null | undefined;
7424
8385
  } | {
7425
8386
  country: string;
7426
8387
  district: string;
@@ -7443,14 +8404,16 @@ export declare const EventDocument: z.ZodObject<{
7443
8404
  option: string;
7444
8405
  filename: string;
7445
8406
  originalFilename: string;
7446
- }[] | undefined> | undefined;
8407
+ }[] | [string, string] | null | undefined> | undefined;
7447
8408
  originalActionId?: string | undefined;
7448
8409
  } | {
7449
8410
  type: "REJECT_CORRECTION";
7450
8411
  id: string;
7451
8412
  status: "Rejected" | "Requested" | "Accepted";
8413
+ transactionId: string;
7452
8414
  createdAt: string;
7453
8415
  createdBy: string;
8416
+ createdByRole: string;
7454
8417
  declaration: Record<string, string | number | boolean | {
7455
8418
  type: string;
7456
8419
  filename: string;
@@ -7466,6 +8429,10 @@ export declare const EventDocument: z.ZodObject<{
7466
8429
  residentialArea?: string | null | undefined;
7467
8430
  street?: string | null | undefined;
7468
8431
  zipCode?: string | null | undefined;
8432
+ } | {
8433
+ firstname: string;
8434
+ surname: string;
8435
+ middlename?: string | null | undefined;
7469
8436
  } | {
7470
8437
  country: string;
7471
8438
  district: string;
@@ -7488,9 +8455,10 @@ export declare const EventDocument: z.ZodObject<{
7488
8455
  option: string;
7489
8456
  filename: string;
7490
8457
  originalFilename: string;
7491
- }[] | undefined>;
7492
- createdAtLocation: string;
8458
+ }[] | [string, string] | null | undefined>;
7493
8459
  requestId: string;
8460
+ createdBySignature?: string | null | undefined;
8461
+ createdAtLocation?: string | null | undefined;
7494
8462
  annotation?: Record<string, string | number | boolean | {
7495
8463
  type: string;
7496
8464
  filename: string;
@@ -7506,6 +8474,10 @@ export declare const EventDocument: z.ZodObject<{
7506
8474
  residentialArea?: string | null | undefined;
7507
8475
  street?: string | null | undefined;
7508
8476
  zipCode?: string | null | undefined;
8477
+ } | {
8478
+ firstname: string;
8479
+ surname: string;
8480
+ middlename?: string | null | undefined;
7509
8481
  } | {
7510
8482
  country: string;
7511
8483
  district: string;
@@ -7528,14 +8500,16 @@ export declare const EventDocument: z.ZodObject<{
7528
8500
  option: string;
7529
8501
  filename: string;
7530
8502
  originalFilename: string;
7531
- }[] | undefined> | undefined;
8503
+ }[] | [string, string] | null | undefined> | undefined;
7532
8504
  originalActionId?: string | undefined;
7533
8505
  } | {
7534
8506
  type: "READ";
7535
8507
  id: string;
7536
8508
  status: "Rejected" | "Requested" | "Accepted";
8509
+ transactionId: string;
7537
8510
  createdAt: string;
7538
8511
  createdBy: string;
8512
+ createdByRole: string;
7539
8513
  declaration: Record<string, string | number | boolean | {
7540
8514
  type: string;
7541
8515
  filename: string;
@@ -7551,6 +8525,10 @@ export declare const EventDocument: z.ZodObject<{
7551
8525
  residentialArea?: string | null | undefined;
7552
8526
  street?: string | null | undefined;
7553
8527
  zipCode?: string | null | undefined;
8528
+ } | {
8529
+ firstname: string;
8530
+ surname: string;
8531
+ middlename?: string | null | undefined;
7554
8532
  } | {
7555
8533
  country: string;
7556
8534
  district: string;
@@ -7573,8 +8551,9 @@ export declare const EventDocument: z.ZodObject<{
7573
8551
  option: string;
7574
8552
  filename: string;
7575
8553
  originalFilename: string;
7576
- }[] | undefined>;
7577
- createdAtLocation: string;
8554
+ }[] | [string, string] | null | undefined>;
8555
+ createdBySignature?: string | null | undefined;
8556
+ createdAtLocation?: string | null | undefined;
7578
8557
  annotation?: Record<string, string | number | boolean | {
7579
8558
  type: string;
7580
8559
  filename: string;
@@ -7590,6 +8569,10 @@ export declare const EventDocument: z.ZodObject<{
7590
8569
  residentialArea?: string | null | undefined;
7591
8570
  street?: string | null | undefined;
7592
8571
  zipCode?: string | null | undefined;
8572
+ } | {
8573
+ firstname: string;
8574
+ surname: string;
8575
+ middlename?: string | null | undefined;
7593
8576
  } | {
7594
8577
  country: string;
7595
8578
  district: string;
@@ -7612,13 +8595,18 @@ export declare const EventDocument: z.ZodObject<{
7612
8595
  option: string;
7613
8596
  filename: string;
7614
8597
  originalFilename: string;
7615
- }[] | undefined> | undefined;
8598
+ }[] | [string, string] | null | undefined> | undefined;
7616
8599
  originalActionId?: string | undefined;
7617
8600
  } | {
7618
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7619
8602
  id: string;
7620
8603
  status: "Rejected";
8604
+ transactionId: string;
7621
8605
  createdAt: string;
8606
+ createdBy: string;
8607
+ createdByRole: string;
8608
+ createdBySignature?: string | null | undefined;
8609
+ createdAtLocation?: string | null | undefined;
7622
8610
  originalActionId?: string | undefined;
7623
8611
  })[];
7624
8612
  trackingId: string;
@@ -7627,13 +8615,14 @@ export declare const EventDocument: z.ZodObject<{
7627
8615
  id: string;
7628
8616
  createdAt: string;
7629
8617
  updatedAt: string;
7630
- updatedAtLocation: string;
7631
8618
  actions: ({
7632
8619
  type: "ASSIGN";
7633
8620
  id: string;
7634
8621
  status: "Rejected" | "Requested" | "Accepted";
8622
+ transactionId: string;
7635
8623
  createdAt: string;
7636
8624
  createdBy: string;
8625
+ createdByRole: string;
7637
8626
  declaration: Record<string, string | number | boolean | {
7638
8627
  type: string;
7639
8628
  filename: string;
@@ -7649,6 +8638,10 @@ export declare const EventDocument: z.ZodObject<{
7649
8638
  residentialArea?: string | null | undefined;
7650
8639
  street?: string | null | undefined;
7651
8640
  zipCode?: string | null | undefined;
8641
+ } | {
8642
+ firstname: string;
8643
+ surname: string;
8644
+ middlename?: string | null | undefined;
7652
8645
  } | {
7653
8646
  country: string;
7654
8647
  district: string;
@@ -7671,9 +8664,10 @@ export declare const EventDocument: z.ZodObject<{
7671
8664
  option: string;
7672
8665
  filename: string;
7673
8666
  originalFilename: string;
7674
- }[] | undefined>;
7675
- createdAtLocation: string;
8667
+ }[] | [string, string] | null | undefined>;
7676
8668
  assignedTo: string;
8669
+ createdBySignature?: string | null | undefined;
8670
+ createdAtLocation?: string | null | undefined;
7677
8671
  annotation?: Record<string, string | number | boolean | {
7678
8672
  type: string;
7679
8673
  filename: string;
@@ -7689,6 +8683,10 @@ export declare const EventDocument: z.ZodObject<{
7689
8683
  residentialArea?: string | null | undefined;
7690
8684
  street?: string | null | undefined;
7691
8685
  zipCode?: string | null | undefined;
8686
+ } | {
8687
+ firstname: string;
8688
+ surname: string;
8689
+ middlename?: string | null | undefined;
7692
8690
  } | {
7693
8691
  country: string;
7694
8692
  district: string;
@@ -7711,14 +8709,16 @@ export declare const EventDocument: z.ZodObject<{
7711
8709
  option: string;
7712
8710
  filename: string;
7713
8711
  originalFilename: string;
7714
- }[] | undefined> | undefined;
8712
+ }[] | [string, string] | null | undefined> | undefined;
7715
8713
  originalActionId?: string | undefined;
7716
8714
  } | {
7717
8715
  type: "UNASSIGN";
7718
8716
  id: string;
7719
8717
  status: "Rejected" | "Requested" | "Accepted";
8718
+ transactionId: string;
7720
8719
  createdAt: string;
7721
8720
  createdBy: string;
8721
+ createdByRole: string;
7722
8722
  declaration: Record<string, string | number | boolean | {
7723
8723
  type: string;
7724
8724
  filename: string;
@@ -7734,6 +8734,10 @@ export declare const EventDocument: z.ZodObject<{
7734
8734
  residentialArea?: string | null | undefined;
7735
8735
  street?: string | null | undefined;
7736
8736
  zipCode?: string | null | undefined;
8737
+ } | {
8738
+ firstname: string;
8739
+ surname: string;
8740
+ middlename?: string | null | undefined;
7737
8741
  } | {
7738
8742
  country: string;
7739
8743
  district: string;
@@ -7756,8 +8760,10 @@ export declare const EventDocument: z.ZodObject<{
7756
8760
  option: string;
7757
8761
  filename: string;
7758
8762
  originalFilename: string;
7759
- }[] | undefined>;
7760
- createdAtLocation: string;
8763
+ }[] | [string, string] | null | undefined>;
8764
+ assignedTo: null;
8765
+ createdBySignature?: string | null | undefined;
8766
+ createdAtLocation?: string | null | undefined;
7761
8767
  annotation?: Record<string, string | number | boolean | {
7762
8768
  type: string;
7763
8769
  filename: string;
@@ -7773,6 +8779,10 @@ export declare const EventDocument: z.ZodObject<{
7773
8779
  residentialArea?: string | null | undefined;
7774
8780
  street?: string | null | undefined;
7775
8781
  zipCode?: string | null | undefined;
8782
+ } | {
8783
+ firstname: string;
8784
+ surname: string;
8785
+ middlename?: string | null | undefined;
7776
8786
  } | {
7777
8787
  country: string;
7778
8788
  district: string;
@@ -7795,14 +8805,16 @@ export declare const EventDocument: z.ZodObject<{
7795
8805
  option: string;
7796
8806
  filename: string;
7797
8807
  originalFilename: string;
7798
- }[] | undefined> | undefined;
8808
+ }[] | [string, string] | null | undefined> | undefined;
7799
8809
  originalActionId?: string | undefined;
7800
8810
  } | {
7801
8811
  type: "REGISTER";
7802
8812
  id: string;
7803
8813
  status: "Rejected" | "Requested" | "Accepted";
8814
+ transactionId: string;
7804
8815
  createdAt: string;
7805
8816
  createdBy: string;
8817
+ createdByRole: string;
7806
8818
  declaration: Record<string, string | number | boolean | {
7807
8819
  type: string;
7808
8820
  filename: string;
@@ -7818,6 +8830,10 @@ export declare const EventDocument: z.ZodObject<{
7818
8830
  residentialArea?: string | null | undefined;
7819
8831
  street?: string | null | undefined;
7820
8832
  zipCode?: string | null | undefined;
8833
+ } | {
8834
+ firstname: string;
8835
+ surname: string;
8836
+ middlename?: string | null | undefined;
7821
8837
  } | {
7822
8838
  country: string;
7823
8839
  district: string;
@@ -7840,8 +8856,9 @@ export declare const EventDocument: z.ZodObject<{
7840
8856
  option: string;
7841
8857
  filename: string;
7842
8858
  originalFilename: string;
7843
- }[] | undefined>;
7844
- createdAtLocation: string;
8859
+ }[] | [string, string] | null | undefined>;
8860
+ createdBySignature?: string | null | undefined;
8861
+ createdAtLocation?: string | null | undefined;
7845
8862
  annotation?: Record<string, string | number | boolean | {
7846
8863
  type: string;
7847
8864
  filename: string;
@@ -7857,6 +8874,10 @@ export declare const EventDocument: z.ZodObject<{
7857
8874
  residentialArea?: string | null | undefined;
7858
8875
  street?: string | null | undefined;
7859
8876
  zipCode?: string | null | undefined;
8877
+ } | {
8878
+ firstname: string;
8879
+ surname: string;
8880
+ middlename?: string | null | undefined;
7860
8881
  } | {
7861
8882
  country: string;
7862
8883
  district: string;
@@ -7879,15 +8900,17 @@ export declare const EventDocument: z.ZodObject<{
7879
8900
  option: string;
7880
8901
  filename: string;
7881
8902
  originalFilename: string;
7882
- }[] | undefined> | undefined;
8903
+ }[] | [string, string] | null | undefined> | undefined;
7883
8904
  originalActionId?: string | undefined;
7884
8905
  registrationNumber?: string | undefined;
7885
8906
  } | {
7886
8907
  type: "DECLARE";
7887
8908
  id: string;
7888
8909
  status: "Rejected" | "Requested" | "Accepted";
8910
+ transactionId: string;
7889
8911
  createdAt: string;
7890
8912
  createdBy: string;
8913
+ createdByRole: string;
7891
8914
  declaration: Record<string, string | number | boolean | {
7892
8915
  type: string;
7893
8916
  filename: string;
@@ -7903,6 +8926,10 @@ export declare const EventDocument: z.ZodObject<{
7903
8926
  residentialArea?: string | null | undefined;
7904
8927
  street?: string | null | undefined;
7905
8928
  zipCode?: string | null | undefined;
8929
+ } | {
8930
+ firstname: string;
8931
+ surname: string;
8932
+ middlename?: string | null | undefined;
7906
8933
  } | {
7907
8934
  country: string;
7908
8935
  district: string;
@@ -7925,8 +8952,9 @@ export declare const EventDocument: z.ZodObject<{
7925
8952
  option: string;
7926
8953
  filename: string;
7927
8954
  originalFilename: string;
7928
- }[] | undefined>;
7929
- createdAtLocation: string;
8955
+ }[] | [string, string] | null | undefined>;
8956
+ createdBySignature?: string | null | undefined;
8957
+ createdAtLocation?: string | null | undefined;
7930
8958
  annotation?: Record<string, string | number | boolean | {
7931
8959
  type: string;
7932
8960
  filename: string;
@@ -7942,6 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
7942
8970
  residentialArea?: string | null | undefined;
7943
8971
  street?: string | null | undefined;
7944
8972
  zipCode?: string | null | undefined;
8973
+ } | {
8974
+ firstname: string;
8975
+ surname: string;
8976
+ middlename?: string | null | undefined;
7945
8977
  } | {
7946
8978
  country: string;
7947
8979
  district: string;
@@ -7964,14 +8996,16 @@ export declare const EventDocument: z.ZodObject<{
7964
8996
  option: string;
7965
8997
  filename: string;
7966
8998
  originalFilename: string;
7967
- }[] | undefined> | undefined;
8999
+ }[] | [string, string] | null | undefined> | undefined;
7968
9000
  originalActionId?: string | undefined;
7969
9001
  } | {
7970
9002
  type: "VALIDATE";
7971
9003
  id: string;
7972
9004
  status: "Rejected" | "Requested" | "Accepted";
9005
+ transactionId: string;
7973
9006
  createdAt: string;
7974
9007
  createdBy: string;
9008
+ createdByRole: string;
7975
9009
  declaration: Record<string, string | number | boolean | {
7976
9010
  type: string;
7977
9011
  filename: string;
@@ -7987,6 +9021,10 @@ export declare const EventDocument: z.ZodObject<{
7987
9021
  residentialArea?: string | null | undefined;
7988
9022
  street?: string | null | undefined;
7989
9023
  zipCode?: string | null | undefined;
9024
+ } | {
9025
+ firstname: string;
9026
+ surname: string;
9027
+ middlename?: string | null | undefined;
7990
9028
  } | {
7991
9029
  country: string;
7992
9030
  district: string;
@@ -8009,8 +9047,9 @@ export declare const EventDocument: z.ZodObject<{
8009
9047
  option: string;
8010
9048
  filename: string;
8011
9049
  originalFilename: string;
8012
- }[] | undefined>;
8013
- createdAtLocation: string;
9050
+ }[] | [string, string] | null | undefined>;
9051
+ createdBySignature?: string | null | undefined;
9052
+ createdAtLocation?: string | null | undefined;
8014
9053
  annotation?: Record<string, string | number | boolean | {
8015
9054
  type: string;
8016
9055
  filename: string;
@@ -8026,6 +9065,10 @@ export declare const EventDocument: z.ZodObject<{
8026
9065
  residentialArea?: string | null | undefined;
8027
9066
  street?: string | null | undefined;
8028
9067
  zipCode?: string | null | undefined;
9068
+ } | {
9069
+ firstname: string;
9070
+ surname: string;
9071
+ middlename?: string | null | undefined;
8029
9072
  } | {
8030
9073
  country: string;
8031
9074
  district: string;
@@ -8048,14 +9091,20 @@ export declare const EventDocument: z.ZodObject<{
8048
9091
  option: string;
8049
9092
  filename: string;
8050
9093
  originalFilename: string;
8051
- }[] | undefined> | undefined;
9094
+ }[] | [string, string] | null | undefined> | undefined;
8052
9095
  originalActionId?: string | undefined;
8053
9096
  } | {
8054
9097
  type: "REJECT";
8055
9098
  id: string;
8056
9099
  status: "Rejected" | "Requested" | "Accepted";
9100
+ reason: {
9101
+ message: string;
9102
+ isDuplicate?: boolean | undefined;
9103
+ };
9104
+ transactionId: string;
8057
9105
  createdAt: string;
8058
9106
  createdBy: string;
9107
+ createdByRole: string;
8059
9108
  declaration: Record<string, string | number | boolean | {
8060
9109
  type: string;
8061
9110
  filename: string;
@@ -8071,6 +9120,10 @@ export declare const EventDocument: z.ZodObject<{
8071
9120
  residentialArea?: string | null | undefined;
8072
9121
  street?: string | null | undefined;
8073
9122
  zipCode?: string | null | undefined;
9123
+ } | {
9124
+ firstname: string;
9125
+ surname: string;
9126
+ middlename?: string | null | undefined;
8074
9127
  } | {
8075
9128
  country: string;
8076
9129
  district: string;
@@ -8093,8 +9146,9 @@ export declare const EventDocument: z.ZodObject<{
8093
9146
  option: string;
8094
9147
  filename: string;
8095
9148
  originalFilename: string;
8096
- }[] | undefined>;
8097
- createdAtLocation: string;
9149
+ }[] | [string, string] | null | undefined>;
9150
+ createdBySignature?: string | null | undefined;
9151
+ createdAtLocation?: string | null | undefined;
8098
9152
  annotation?: Record<string, string | number | boolean | {
8099
9153
  type: string;
8100
9154
  filename: string;
@@ -8110,6 +9164,10 @@ export declare const EventDocument: z.ZodObject<{
8110
9164
  residentialArea?: string | null | undefined;
8111
9165
  street?: string | null | undefined;
8112
9166
  zipCode?: string | null | undefined;
9167
+ } | {
9168
+ firstname: string;
9169
+ surname: string;
9170
+ middlename?: string | null | undefined;
8113
9171
  } | {
8114
9172
  country: string;
8115
9173
  district: string;
@@ -8132,14 +9190,16 @@ export declare const EventDocument: z.ZodObject<{
8132
9190
  option: string;
8133
9191
  filename: string;
8134
9192
  originalFilename: string;
8135
- }[] | undefined> | undefined;
9193
+ }[] | [string, string] | null | undefined> | undefined;
8136
9194
  originalActionId?: string | undefined;
8137
9195
  } | {
8138
9196
  type: "MARKED_AS_DUPLICATE";
8139
9197
  id: string;
8140
9198
  status: "Rejected" | "Requested" | "Accepted";
9199
+ transactionId: string;
8141
9200
  createdAt: string;
8142
9201
  createdBy: string;
9202
+ createdByRole: string;
8143
9203
  declaration: Record<string, string | number | boolean | {
8144
9204
  type: string;
8145
9205
  filename: string;
@@ -8155,6 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8155
9215
  residentialArea?: string | null | undefined;
8156
9216
  street?: string | null | undefined;
8157
9217
  zipCode?: string | null | undefined;
9218
+ } | {
9219
+ firstname: string;
9220
+ surname: string;
9221
+ middlename?: string | null | undefined;
8158
9222
  } | {
8159
9223
  country: string;
8160
9224
  district: string;
@@ -8177,8 +9241,9 @@ export declare const EventDocument: z.ZodObject<{
8177
9241
  option: string;
8178
9242
  filename: string;
8179
9243
  originalFilename: string;
8180
- }[] | undefined>;
8181
- createdAtLocation: string;
9244
+ }[] | [string, string] | null | undefined>;
9245
+ createdBySignature?: string | null | undefined;
9246
+ createdAtLocation?: string | null | undefined;
8182
9247
  annotation?: Record<string, string | number | boolean | {
8183
9248
  type: string;
8184
9249
  filename: string;
@@ -8194,6 +9259,10 @@ export declare const EventDocument: z.ZodObject<{
8194
9259
  residentialArea?: string | null | undefined;
8195
9260
  street?: string | null | undefined;
8196
9261
  zipCode?: string | null | undefined;
9262
+ } | {
9263
+ firstname: string;
9264
+ surname: string;
9265
+ middlename?: string | null | undefined;
8197
9266
  } | {
8198
9267
  country: string;
8199
9268
  district: string;
@@ -8216,14 +9285,20 @@ export declare const EventDocument: z.ZodObject<{
8216
9285
  option: string;
8217
9286
  filename: string;
8218
9287
  originalFilename: string;
8219
- }[] | undefined> | undefined;
9288
+ }[] | [string, string] | null | undefined> | undefined;
8220
9289
  originalActionId?: string | undefined;
8221
9290
  } | {
8222
9291
  type: "ARCHIVE";
8223
9292
  id: string;
8224
9293
  status: "Rejected" | "Requested" | "Accepted";
9294
+ reason: {
9295
+ message: string;
9296
+ isDuplicate?: boolean | undefined;
9297
+ };
9298
+ transactionId: string;
8225
9299
  createdAt: string;
8226
9300
  createdBy: string;
9301
+ createdByRole: string;
8227
9302
  declaration: Record<string, string | number | boolean | {
8228
9303
  type: string;
8229
9304
  filename: string;
@@ -8239,6 +9314,10 @@ export declare const EventDocument: z.ZodObject<{
8239
9314
  residentialArea?: string | null | undefined;
8240
9315
  street?: string | null | undefined;
8241
9316
  zipCode?: string | null | undefined;
9317
+ } | {
9318
+ firstname: string;
9319
+ surname: string;
9320
+ middlename?: string | null | undefined;
8242
9321
  } | {
8243
9322
  country: string;
8244
9323
  district: string;
@@ -8261,8 +9340,9 @@ export declare const EventDocument: z.ZodObject<{
8261
9340
  option: string;
8262
9341
  filename: string;
8263
9342
  originalFilename: string;
8264
- }[] | undefined>;
8265
- createdAtLocation: string;
9343
+ }[] | [string, string] | null | undefined>;
9344
+ createdBySignature?: string | null | undefined;
9345
+ createdAtLocation?: string | null | undefined;
8266
9346
  annotation?: Record<string, string | number | boolean | {
8267
9347
  type: string;
8268
9348
  filename: string;
@@ -8278,6 +9358,10 @@ export declare const EventDocument: z.ZodObject<{
8278
9358
  residentialArea?: string | null | undefined;
8279
9359
  street?: string | null | undefined;
8280
9360
  zipCode?: string | null | undefined;
9361
+ } | {
9362
+ firstname: string;
9363
+ surname: string;
9364
+ middlename?: string | null | undefined;
8281
9365
  } | {
8282
9366
  country: string;
8283
9367
  district: string;
@@ -8300,14 +9384,16 @@ export declare const EventDocument: z.ZodObject<{
8300
9384
  option: string;
8301
9385
  filename: string;
8302
9386
  originalFilename: string;
8303
- }[] | undefined> | undefined;
9387
+ }[] | [string, string] | null | undefined> | undefined;
8304
9388
  originalActionId?: string | undefined;
8305
9389
  } | {
8306
9390
  type: "CREATE";
8307
9391
  id: string;
8308
9392
  status: "Rejected" | "Requested" | "Accepted";
9393
+ transactionId: string;
8309
9394
  createdAt: string;
8310
9395
  createdBy: string;
9396
+ createdByRole: string;
8311
9397
  declaration: Record<string, string | number | boolean | {
8312
9398
  type: string;
8313
9399
  filename: string;
@@ -8323,6 +9409,10 @@ export declare const EventDocument: z.ZodObject<{
8323
9409
  residentialArea?: string | null | undefined;
8324
9410
  street?: string | null | undefined;
8325
9411
  zipCode?: string | null | undefined;
9412
+ } | {
9413
+ firstname: string;
9414
+ surname: string;
9415
+ middlename?: string | null | undefined;
8326
9416
  } | {
8327
9417
  country: string;
8328
9418
  district: string;
@@ -8345,8 +9435,9 @@ export declare const EventDocument: z.ZodObject<{
8345
9435
  option: string;
8346
9436
  filename: string;
8347
9437
  originalFilename: string;
8348
- }[] | undefined>;
8349
- createdAtLocation: string;
9438
+ }[] | [string, string] | null | undefined>;
9439
+ createdBySignature?: string | null | undefined;
9440
+ createdAtLocation?: string | null | undefined;
8350
9441
  annotation?: Record<string, string | number | boolean | {
8351
9442
  type: string;
8352
9443
  filename: string;
@@ -8362,6 +9453,10 @@ export declare const EventDocument: z.ZodObject<{
8362
9453
  residentialArea?: string | null | undefined;
8363
9454
  street?: string | null | undefined;
8364
9455
  zipCode?: string | null | undefined;
9456
+ } | {
9457
+ firstname: string;
9458
+ surname: string;
9459
+ middlename?: string | null | undefined;
8365
9460
  } | {
8366
9461
  country: string;
8367
9462
  district: string;
@@ -8384,14 +9479,16 @@ export declare const EventDocument: z.ZodObject<{
8384
9479
  option: string;
8385
9480
  filename: string;
8386
9481
  originalFilename: string;
8387
- }[] | undefined> | undefined;
9482
+ }[] | [string, string] | null | undefined> | undefined;
8388
9483
  originalActionId?: string | undefined;
8389
9484
  } | {
8390
9485
  type: "NOTIFY";
8391
9486
  id: string;
8392
9487
  status: "Rejected" | "Requested" | "Accepted";
9488
+ transactionId: string;
8393
9489
  createdAt: string;
8394
9490
  createdBy: string;
9491
+ createdByRole: string;
8395
9492
  declaration: Record<string, string | number | boolean | {
8396
9493
  type: string;
8397
9494
  filename: string;
@@ -8407,6 +9504,10 @@ export declare const EventDocument: z.ZodObject<{
8407
9504
  residentialArea?: string | null | undefined;
8408
9505
  street?: string | null | undefined;
8409
9506
  zipCode?: string | null | undefined;
9507
+ } | {
9508
+ firstname: string;
9509
+ surname: string;
9510
+ middlename?: string | null | undefined;
8410
9511
  } | {
8411
9512
  country: string;
8412
9513
  district: string;
@@ -8429,8 +9530,9 @@ export declare const EventDocument: z.ZodObject<{
8429
9530
  option: string;
8430
9531
  filename: string;
8431
9532
  originalFilename: string;
8432
- }[] | undefined>;
8433
- createdAtLocation: string;
9533
+ }[] | [string, string] | null | undefined>;
9534
+ createdBySignature?: string | null | undefined;
9535
+ createdAtLocation?: string | null | undefined;
8434
9536
  annotation?: Record<string, string | number | boolean | {
8435
9537
  type: string;
8436
9538
  filename: string;
@@ -8446,6 +9548,10 @@ export declare const EventDocument: z.ZodObject<{
8446
9548
  residentialArea?: string | null | undefined;
8447
9549
  street?: string | null | undefined;
8448
9550
  zipCode?: string | null | undefined;
9551
+ } | {
9552
+ firstname: string;
9553
+ surname: string;
9554
+ middlename?: string | null | undefined;
8449
9555
  } | {
8450
9556
  country: string;
8451
9557
  district: string;
@@ -8468,14 +9574,16 @@ export declare const EventDocument: z.ZodObject<{
8468
9574
  option: string;
8469
9575
  filename: string;
8470
9576
  originalFilename: string;
8471
- }[] | undefined> | undefined;
9577
+ }[] | [string, string] | null | undefined> | undefined;
8472
9578
  originalActionId?: string | undefined;
8473
9579
  } | {
8474
9580
  type: "PRINT_CERTIFICATE";
8475
9581
  id: string;
8476
9582
  status: "Rejected" | "Requested" | "Accepted";
9583
+ transactionId: string;
8477
9584
  createdAt: string;
8478
9585
  createdBy: string;
9586
+ createdByRole: string;
8479
9587
  declaration: Record<string, string | number | boolean | {
8480
9588
  type: string;
8481
9589
  filename: string;
@@ -8491,6 +9599,10 @@ export declare const EventDocument: z.ZodObject<{
8491
9599
  residentialArea?: string | null | undefined;
8492
9600
  street?: string | null | undefined;
8493
9601
  zipCode?: string | null | undefined;
9602
+ } | {
9603
+ firstname: string;
9604
+ surname: string;
9605
+ middlename?: string | null | undefined;
8494
9606
  } | {
8495
9607
  country: string;
8496
9608
  district: string;
@@ -8513,8 +9625,9 @@ export declare const EventDocument: z.ZodObject<{
8513
9625
  option: string;
8514
9626
  filename: string;
8515
9627
  originalFilename: string;
8516
- }[] | undefined>;
8517
- createdAtLocation: string;
9628
+ }[] | [string, string] | null | undefined>;
9629
+ createdBySignature?: string | null | undefined;
9630
+ createdAtLocation?: string | null | undefined;
8518
9631
  annotation?: Record<string, string | number | boolean | {
8519
9632
  type: string;
8520
9633
  filename: string;
@@ -8530,6 +9643,10 @@ export declare const EventDocument: z.ZodObject<{
8530
9643
  residentialArea?: string | null | undefined;
8531
9644
  street?: string | null | undefined;
8532
9645
  zipCode?: string | null | undefined;
9646
+ } | {
9647
+ firstname: string;
9648
+ surname: string;
9649
+ middlename?: string | null | undefined;
8533
9650
  } | {
8534
9651
  country: string;
8535
9652
  district: string;
@@ -8552,14 +9669,16 @@ export declare const EventDocument: z.ZodObject<{
8552
9669
  option: string;
8553
9670
  filename: string;
8554
9671
  originalFilename: string;
8555
- }[] | undefined> | undefined;
9672
+ }[] | [string, string] | null | undefined> | undefined;
8556
9673
  originalActionId?: string | undefined;
8557
9674
  } | {
8558
9675
  type: "REQUEST_CORRECTION";
8559
9676
  id: string;
8560
9677
  status: "Rejected" | "Requested" | "Accepted";
9678
+ transactionId: string;
8561
9679
  createdAt: string;
8562
9680
  createdBy: string;
9681
+ createdByRole: string;
8563
9682
  declaration: Record<string, string | number | boolean | {
8564
9683
  type: string;
8565
9684
  filename: string;
@@ -8575,6 +9694,10 @@ export declare const EventDocument: z.ZodObject<{
8575
9694
  residentialArea?: string | null | undefined;
8576
9695
  street?: string | null | undefined;
8577
9696
  zipCode?: string | null | undefined;
9697
+ } | {
9698
+ firstname: string;
9699
+ surname: string;
9700
+ middlename?: string | null | undefined;
8578
9701
  } | {
8579
9702
  country: string;
8580
9703
  district: string;
@@ -8597,8 +9720,9 @@ export declare const EventDocument: z.ZodObject<{
8597
9720
  option: string;
8598
9721
  filename: string;
8599
9722
  originalFilename: string;
8600
- }[] | undefined>;
8601
- createdAtLocation: string;
9723
+ }[] | [string, string] | null | undefined>;
9724
+ createdBySignature?: string | null | undefined;
9725
+ createdAtLocation?: string | null | undefined;
8602
9726
  annotation?: Record<string, string | number | boolean | {
8603
9727
  type: string;
8604
9728
  filename: string;
@@ -8614,6 +9738,10 @@ export declare const EventDocument: z.ZodObject<{
8614
9738
  residentialArea?: string | null | undefined;
8615
9739
  street?: string | null | undefined;
8616
9740
  zipCode?: string | null | undefined;
9741
+ } | {
9742
+ firstname: string;
9743
+ surname: string;
9744
+ middlename?: string | null | undefined;
8617
9745
  } | {
8618
9746
  country: string;
8619
9747
  district: string;
@@ -8636,14 +9764,16 @@ export declare const EventDocument: z.ZodObject<{
8636
9764
  option: string;
8637
9765
  filename: string;
8638
9766
  originalFilename: string;
8639
- }[] | undefined> | undefined;
9767
+ }[] | [string, string] | null | undefined> | undefined;
8640
9768
  originalActionId?: string | undefined;
8641
9769
  } | {
8642
9770
  type: "APPROVE_CORRECTION";
8643
9771
  id: string;
8644
9772
  status: "Rejected" | "Requested" | "Accepted";
9773
+ transactionId: string;
8645
9774
  createdAt: string;
8646
9775
  createdBy: string;
9776
+ createdByRole: string;
8647
9777
  declaration: Record<string, string | number | boolean | {
8648
9778
  type: string;
8649
9779
  filename: string;
@@ -8659,6 +9789,10 @@ export declare const EventDocument: z.ZodObject<{
8659
9789
  residentialArea?: string | null | undefined;
8660
9790
  street?: string | null | undefined;
8661
9791
  zipCode?: string | null | undefined;
9792
+ } | {
9793
+ firstname: string;
9794
+ surname: string;
9795
+ middlename?: string | null | undefined;
8662
9796
  } | {
8663
9797
  country: string;
8664
9798
  district: string;
@@ -8681,9 +9815,10 @@ export declare const EventDocument: z.ZodObject<{
8681
9815
  option: string;
8682
9816
  filename: string;
8683
9817
  originalFilename: string;
8684
- }[] | undefined>;
8685
- createdAtLocation: string;
9818
+ }[] | [string, string] | null | undefined>;
8686
9819
  requestId: string;
9820
+ createdBySignature?: string | null | undefined;
9821
+ createdAtLocation?: string | null | undefined;
8687
9822
  annotation?: Record<string, string | number | boolean | {
8688
9823
  type: string;
8689
9824
  filename: string;
@@ -8699,6 +9834,10 @@ export declare const EventDocument: z.ZodObject<{
8699
9834
  residentialArea?: string | null | undefined;
8700
9835
  street?: string | null | undefined;
8701
9836
  zipCode?: string | null | undefined;
9837
+ } | {
9838
+ firstname: string;
9839
+ surname: string;
9840
+ middlename?: string | null | undefined;
8702
9841
  } | {
8703
9842
  country: string;
8704
9843
  district: string;
@@ -8721,14 +9860,16 @@ export declare const EventDocument: z.ZodObject<{
8721
9860
  option: string;
8722
9861
  filename: string;
8723
9862
  originalFilename: string;
8724
- }[] | undefined> | undefined;
9863
+ }[] | [string, string] | null | undefined> | undefined;
8725
9864
  originalActionId?: string | undefined;
8726
9865
  } | {
8727
9866
  type: "REJECT_CORRECTION";
8728
9867
  id: string;
8729
9868
  status: "Rejected" | "Requested" | "Accepted";
9869
+ transactionId: string;
8730
9870
  createdAt: string;
8731
9871
  createdBy: string;
9872
+ createdByRole: string;
8732
9873
  declaration: Record<string, string | number | boolean | {
8733
9874
  type: string;
8734
9875
  filename: string;
@@ -8744,6 +9885,10 @@ export declare const EventDocument: z.ZodObject<{
8744
9885
  residentialArea?: string | null | undefined;
8745
9886
  street?: string | null | undefined;
8746
9887
  zipCode?: string | null | undefined;
9888
+ } | {
9889
+ firstname: string;
9890
+ surname: string;
9891
+ middlename?: string | null | undefined;
8747
9892
  } | {
8748
9893
  country: string;
8749
9894
  district: string;
@@ -8766,9 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8766
9911
  option: string;
8767
9912
  filename: string;
8768
9913
  originalFilename: string;
8769
- }[] | undefined>;
8770
- createdAtLocation: string;
9914
+ }[] | [string, string] | null | undefined>;
8771
9915
  requestId: string;
9916
+ createdBySignature?: string | null | undefined;
9917
+ createdAtLocation?: string | null | undefined;
8772
9918
  annotation?: Record<string, string | number | boolean | {
8773
9919
  type: string;
8774
9920
  filename: string;
@@ -8784,6 +9930,10 @@ export declare const EventDocument: z.ZodObject<{
8784
9930
  residentialArea?: string | null | undefined;
8785
9931
  street?: string | null | undefined;
8786
9932
  zipCode?: string | null | undefined;
9933
+ } | {
9934
+ firstname: string;
9935
+ surname: string;
9936
+ middlename?: string | null | undefined;
8787
9937
  } | {
8788
9938
  country: string;
8789
9939
  district: string;
@@ -8806,14 +9956,16 @@ export declare const EventDocument: z.ZodObject<{
8806
9956
  option: string;
8807
9957
  filename: string;
8808
9958
  originalFilename: string;
8809
- }[] | undefined> | undefined;
9959
+ }[] | [string, string] | null | undefined> | undefined;
8810
9960
  originalActionId?: string | undefined;
8811
9961
  } | {
8812
9962
  type: "READ";
8813
9963
  id: string;
8814
9964
  status: "Rejected" | "Requested" | "Accepted";
9965
+ transactionId: string;
8815
9966
  createdAt: string;
8816
9967
  createdBy: string;
9968
+ createdByRole: string;
8817
9969
  declaration: Record<string, string | number | boolean | {
8818
9970
  type: string;
8819
9971
  filename: string;
@@ -8829,6 +9981,10 @@ export declare const EventDocument: z.ZodObject<{
8829
9981
  residentialArea?: string | null | undefined;
8830
9982
  street?: string | null | undefined;
8831
9983
  zipCode?: string | null | undefined;
9984
+ } | {
9985
+ firstname: string;
9986
+ surname: string;
9987
+ middlename?: string | null | undefined;
8832
9988
  } | {
8833
9989
  country: string;
8834
9990
  district: string;
@@ -8851,8 +10007,9 @@ export declare const EventDocument: z.ZodObject<{
8851
10007
  option: string;
8852
10008
  filename: string;
8853
10009
  originalFilename: string;
8854
- }[] | undefined>;
8855
- createdAtLocation: string;
10010
+ }[] | [string, string] | null | undefined>;
10011
+ createdBySignature?: string | null | undefined;
10012
+ createdAtLocation?: string | null | undefined;
8856
10013
  annotation?: Record<string, string | number | boolean | {
8857
10014
  type: string;
8858
10015
  filename: string;
@@ -8868,6 +10025,10 @@ export declare const EventDocument: z.ZodObject<{
8868
10025
  residentialArea?: string | null | undefined;
8869
10026
  street?: string | null | undefined;
8870
10027
  zipCode?: string | null | undefined;
10028
+ } | {
10029
+ firstname: string;
10030
+ surname: string;
10031
+ middlename?: string | null | undefined;
8871
10032
  } | {
8872
10033
  country: string;
8873
10034
  district: string;
@@ -8890,13 +10051,18 @@ export declare const EventDocument: z.ZodObject<{
8890
10051
  option: string;
8891
10052
  filename: string;
8892
10053
  originalFilename: string;
8893
- }[] | undefined> | undefined;
10054
+ }[] | [string, string] | null | undefined> | undefined;
8894
10055
  originalActionId?: string | undefined;
8895
10056
  } | {
8896
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8897
10058
  id: string;
8898
10059
  status: "Rejected";
10060
+ transactionId: string;
8899
10061
  createdAt: string;
10062
+ createdBy: string;
10063
+ createdByRole: string;
10064
+ createdBySignature?: string | null | undefined;
10065
+ createdAtLocation?: string | null | undefined;
8900
10066
  originalActionId?: string | undefined;
8901
10067
  })[];
8902
10068
  trackingId: string;