@opencrvs/toolkit 1.8.0-rc.fd936ab → 1.8.0-rc.fde984c

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