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

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 (41) hide show
  1. package/dist/commons/api/router.d.ts +14404 -468
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +10 -6
  4. package/dist/commons/events/ActionConfig.d.ts +117418 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2410 -383
  6. package/dist/commons/events/ActionInput.d.ts +1583 -303
  7. package/dist/commons/events/ActionType.d.ts +6 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1029 -22
  9. package/dist/commons/events/CompositeFieldValue.d.ts +31 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +3068 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +148 -29
  14. package/dist/commons/events/EventConfig.d.ts +56369 -1354
  15. package/dist/commons/events/EventDocument.d.ts +1508 -264
  16. package/dist/commons/events/EventIndex.d.ts +2026 -25
  17. package/dist/commons/events/EventMetadata.d.ts +332 -43
  18. package/dist/commons/events/FieldConfig.d.ts +5436 -1038
  19. package/dist/commons/events/FieldType.d.ts +6 -3
  20. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  21. package/dist/commons/events/FieldValue.d.ts +49 -8
  22. package/dist/commons/events/FormConfig.d.ts +49156 -514
  23. package/dist/commons/events/PageConfig.d.ts +12206 -204
  24. package/dist/commons/events/SummaryConfig.d.ts +93 -42
  25. package/dist/commons/events/User.d.ts +31 -2
  26. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  27. package/dist/commons/events/WorkqueueConfig.d.ts +6290 -20
  28. package/dist/commons/events/defineConfig.d.ts +8993 -58
  29. package/dist/commons/events/event.d.ts +54 -0
  30. package/dist/commons/events/field.d.ts +77 -0
  31. package/dist/commons/events/index.d.ts +8 -0
  32. package/dist/commons/events/scopes.d.ts +44 -0
  33. package/dist/commons/events/serializer.d.ts +2 -0
  34. package/dist/commons/events/test.utils.d.ts +160 -78
  35. package/dist/commons/events/utils.d.ts +13353 -68
  36. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  37. package/dist/conditionals/index.js +76 -36
  38. package/dist/events/index.js +4097 -1530
  39. package/dist/scopes/index.d.ts +97 -6
  40. package/dist/scopes/index.js +109 -38
  41. package/package.json +3 -2
@@ -6,9 +6,14 @@ 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;
10
+ createdByUserType: z.ZodEnum<["user", "system"]>;
9
11
  createdAt: z.ZodString;
10
12
  createdBy: z.ZodString;
11
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13
+ createdByRole: z.ZodString;
14
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ 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
17
  filename: z.ZodString;
13
18
  originalFilename: z.ZodString;
14
19
  type: z.ZodString;
@@ -121,8 +126,20 @@ export declare const EventDocument: z.ZodObject<{
121
126
  addressLine2?: string | null | undefined;
122
127
  addressLine3?: string | null | undefined;
123
128
  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<{
129
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
+ firstname: z.ZodString;
131
+ surname: z.ZodString;
132
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ firstname: string;
135
+ surname: string;
136
+ middlename?: string | null | undefined;
137
+ }, {
138
+ firstname: string;
139
+ surname: string;
140
+ middlename?: string | null | undefined;
141
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
+ 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
143
  filename: z.ZodString;
127
144
  originalFilename: z.ZodString;
128
145
  type: z.ZodString;
@@ -235,8 +252,19 @@ export declare const EventDocument: z.ZodObject<{
235
252
  addressLine2?: string | null | undefined;
236
253
  addressLine3?: string | null | undefined;
237
254
  postcodeOrZip?: string | null | undefined;
238
- }>]>>>;
239
- createdAtLocation: z.ZodString;
255
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
+ firstname: z.ZodString;
257
+ surname: z.ZodString;
258
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ firstname: string;
261
+ surname: string;
262
+ middlename?: string | null | undefined;
263
+ }, {
264
+ firstname: string;
265
+ surname: string;
266
+ middlename?: string | null | undefined;
267
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
240
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
241
269
  originalActionId: z.ZodOptional<z.ZodString>;
242
270
  }, {
@@ -245,8 +273,11 @@ export declare const EventDocument: z.ZodObject<{
245
273
  type: "CREATE";
246
274
  id: string;
247
275
  status: "Rejected" | "Requested" | "Accepted";
276
+ transactionId: string;
277
+ createdByUserType: "system" | "user";
248
278
  createdAt: string;
249
279
  createdBy: string;
280
+ createdByRole: string;
250
281
  declaration: Record<string, string | number | boolean | {
251
282
  type: string;
252
283
  filename: string;
@@ -262,6 +293,10 @@ export declare const EventDocument: z.ZodObject<{
262
293
  residentialArea?: string | null | undefined;
263
294
  street?: string | null | undefined;
264
295
  zipCode?: string | null | undefined;
296
+ } | {
297
+ firstname: string;
298
+ surname: string;
299
+ middlename?: string | null | undefined;
265
300
  } | {
266
301
  country: string;
267
302
  district: string;
@@ -284,8 +319,9 @@ export declare const EventDocument: z.ZodObject<{
284
319
  option: string;
285
320
  filename: string;
286
321
  originalFilename: string;
287
- }[] | undefined>;
288
- createdAtLocation: string;
322
+ }[] | [string, string] | null | undefined>;
323
+ createdBySignature?: string | null | undefined;
324
+ createdAtLocation?: string | null | undefined;
289
325
  annotation?: Record<string, string | number | boolean | {
290
326
  type: string;
291
327
  filename: string;
@@ -301,6 +337,10 @@ export declare const EventDocument: z.ZodObject<{
301
337
  residentialArea?: string | null | undefined;
302
338
  street?: string | null | undefined;
303
339
  zipCode?: string | null | undefined;
340
+ } | {
341
+ firstname: string;
342
+ surname: string;
343
+ middlename?: string | null | undefined;
304
344
  } | {
305
345
  country: string;
306
346
  district: string;
@@ -323,14 +363,17 @@ export declare const EventDocument: z.ZodObject<{
323
363
  option: string;
324
364
  filename: string;
325
365
  originalFilename: string;
326
- }[] | undefined> | undefined;
366
+ }[] | [string, string] | null | undefined> | undefined;
327
367
  originalActionId?: string | undefined;
328
368
  }, {
329
369
  type: "CREATE";
330
370
  id: string;
331
371
  status: "Rejected" | "Requested" | "Accepted";
372
+ transactionId: string;
373
+ createdByUserType: "system" | "user";
332
374
  createdAt: string;
333
375
  createdBy: string;
376
+ createdByRole: string;
334
377
  declaration: Record<string, string | number | boolean | {
335
378
  type: string;
336
379
  filename: string;
@@ -346,6 +389,10 @@ export declare const EventDocument: z.ZodObject<{
346
389
  residentialArea?: string | null | undefined;
347
390
  street?: string | null | undefined;
348
391
  zipCode?: string | null | undefined;
392
+ } | {
393
+ firstname: string;
394
+ surname: string;
395
+ middlename?: string | null | undefined;
349
396
  } | {
350
397
  country: string;
351
398
  district: string;
@@ -368,8 +415,9 @@ export declare const EventDocument: z.ZodObject<{
368
415
  option: string;
369
416
  filename: string;
370
417
  originalFilename: string;
371
- }[] | undefined>;
372
- createdAtLocation: string;
418
+ }[] | [string, string] | null | undefined>;
419
+ createdBySignature?: string | null | undefined;
420
+ createdAtLocation?: string | null | undefined;
373
421
  annotation?: Record<string, string | number | boolean | {
374
422
  type: string;
375
423
  filename: string;
@@ -385,6 +433,10 @@ export declare const EventDocument: z.ZodObject<{
385
433
  residentialArea?: string | null | undefined;
386
434
  street?: string | null | undefined;
387
435
  zipCode?: string | null | undefined;
436
+ } | {
437
+ firstname: string;
438
+ surname: string;
439
+ middlename?: string | null | undefined;
388
440
  } | {
389
441
  country: string;
390
442
  district: string;
@@ -407,13 +459,18 @@ export declare const EventDocument: z.ZodObject<{
407
459
  option: string;
408
460
  filename: string;
409
461
  originalFilename: string;
410
- }[] | undefined> | undefined;
462
+ }[] | [string, string] | null | undefined> | undefined;
411
463
  originalActionId?: string | undefined;
412
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
413
465
  id: z.ZodString;
466
+ transactionId: z.ZodString;
467
+ createdByUserType: z.ZodEnum<["user", "system"]>;
414
468
  createdAt: z.ZodString;
415
469
  createdBy: z.ZodString;
416
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
470
+ createdByRole: z.ZodString;
471
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
+ 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
474
  filename: z.ZodString;
418
475
  originalFilename: z.ZodString;
419
476
  type: z.ZodString;
@@ -526,8 +583,20 @@ export declare const EventDocument: z.ZodObject<{
526
583
  addressLine2?: string | null | undefined;
527
584
  addressLine3?: string | null | undefined;
528
585
  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<{
586
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
+ firstname: z.ZodString;
588
+ surname: z.ZodString;
589
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ firstname: string;
592
+ surname: string;
593
+ middlename?: string | null | undefined;
594
+ }, {
595
+ firstname: string;
596
+ surname: string;
597
+ middlename?: string | null | undefined;
598
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
+ 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
600
  filename: z.ZodString;
532
601
  originalFilename: z.ZodString;
533
602
  type: z.ZodString;
@@ -640,8 +709,19 @@ export declare const EventDocument: z.ZodObject<{
640
709
  addressLine2?: string | null | undefined;
641
710
  addressLine3?: string | null | undefined;
642
711
  postcodeOrZip?: string | null | undefined;
643
- }>]>>>;
644
- createdAtLocation: z.ZodString;
712
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
+ firstname: z.ZodString;
714
+ surname: z.ZodString;
715
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
720
+ }, {
721
+ firstname: string;
722
+ surname: string;
723
+ middlename?: string | null | undefined;
724
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
645
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
646
726
  originalActionId: z.ZodOptional<z.ZodString>;
647
727
  }, {
@@ -650,8 +730,11 @@ export declare const EventDocument: z.ZodObject<{
650
730
  type: "VALIDATE";
651
731
  id: string;
652
732
  status: "Rejected" | "Requested" | "Accepted";
733
+ transactionId: string;
734
+ createdByUserType: "system" | "user";
653
735
  createdAt: string;
654
736
  createdBy: string;
737
+ createdByRole: string;
655
738
  declaration: Record<string, string | number | boolean | {
656
739
  type: string;
657
740
  filename: string;
@@ -667,6 +750,10 @@ export declare const EventDocument: z.ZodObject<{
667
750
  residentialArea?: string | null | undefined;
668
751
  street?: string | null | undefined;
669
752
  zipCode?: string | null | undefined;
753
+ } | {
754
+ firstname: string;
755
+ surname: string;
756
+ middlename?: string | null | undefined;
670
757
  } | {
671
758
  country: string;
672
759
  district: string;
@@ -689,8 +776,9 @@ export declare const EventDocument: z.ZodObject<{
689
776
  option: string;
690
777
  filename: string;
691
778
  originalFilename: string;
692
- }[] | undefined>;
693
- createdAtLocation: string;
779
+ }[] | [string, string] | null | undefined>;
780
+ createdBySignature?: string | null | undefined;
781
+ createdAtLocation?: string | null | undefined;
694
782
  annotation?: Record<string, string | number | boolean | {
695
783
  type: string;
696
784
  filename: string;
@@ -706,6 +794,10 @@ export declare const EventDocument: z.ZodObject<{
706
794
  residentialArea?: string | null | undefined;
707
795
  street?: string | null | undefined;
708
796
  zipCode?: string | null | undefined;
797
+ } | {
798
+ firstname: string;
799
+ surname: string;
800
+ middlename?: string | null | undefined;
709
801
  } | {
710
802
  country: string;
711
803
  district: string;
@@ -728,14 +820,17 @@ export declare const EventDocument: z.ZodObject<{
728
820
  option: string;
729
821
  filename: string;
730
822
  originalFilename: string;
731
- }[] | undefined> | undefined;
823
+ }[] | [string, string] | null | undefined> | undefined;
732
824
  originalActionId?: string | undefined;
733
825
  }, {
734
826
  type: "VALIDATE";
735
827
  id: string;
736
828
  status: "Rejected" | "Requested" | "Accepted";
829
+ transactionId: string;
830
+ createdByUserType: "system" | "user";
737
831
  createdAt: string;
738
832
  createdBy: string;
833
+ createdByRole: string;
739
834
  declaration: Record<string, string | number | boolean | {
740
835
  type: string;
741
836
  filename: string;
@@ -751,6 +846,10 @@ export declare const EventDocument: z.ZodObject<{
751
846
  residentialArea?: string | null | undefined;
752
847
  street?: string | null | undefined;
753
848
  zipCode?: string | null | undefined;
849
+ } | {
850
+ firstname: string;
851
+ surname: string;
852
+ middlename?: string | null | undefined;
754
853
  } | {
755
854
  country: string;
756
855
  district: string;
@@ -773,8 +872,9 @@ export declare const EventDocument: z.ZodObject<{
773
872
  option: string;
774
873
  filename: string;
775
874
  originalFilename: string;
776
- }[] | undefined>;
777
- createdAtLocation: string;
875
+ }[] | [string, string] | null | undefined>;
876
+ createdBySignature?: string | null | undefined;
877
+ createdAtLocation?: string | null | undefined;
778
878
  annotation?: Record<string, string | number | boolean | {
779
879
  type: string;
780
880
  filename: string;
@@ -790,6 +890,10 @@ export declare const EventDocument: z.ZodObject<{
790
890
  residentialArea?: string | null | undefined;
791
891
  street?: string | null | undefined;
792
892
  zipCode?: string | null | undefined;
893
+ } | {
894
+ firstname: string;
895
+ surname: string;
896
+ middlename?: string | null | undefined;
793
897
  } | {
794
898
  country: string;
795
899
  district: string;
@@ -812,13 +916,18 @@ export declare const EventDocument: z.ZodObject<{
812
916
  option: string;
813
917
  filename: string;
814
918
  originalFilename: string;
815
- }[] | undefined> | undefined;
919
+ }[] | [string, string] | null | undefined> | undefined;
816
920
  originalActionId?: string | undefined;
817
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
818
922
  id: z.ZodString;
923
+ transactionId: z.ZodString;
924
+ createdByUserType: z.ZodEnum<["user", "system"]>;
819
925
  createdAt: z.ZodString;
820
926
  createdBy: z.ZodString;
821
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
927
+ createdByRole: z.ZodString;
928
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
+ 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
931
  filename: z.ZodString;
823
932
  originalFilename: z.ZodString;
824
933
  type: z.ZodString;
@@ -931,8 +1040,20 @@ export declare const EventDocument: z.ZodObject<{
931
1040
  addressLine2?: string | null | undefined;
932
1041
  addressLine3?: string | null | undefined;
933
1042
  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<{
1043
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
+ firstname: z.ZodString;
1045
+ surname: z.ZodString;
1046
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ firstname: string;
1049
+ surname: string;
1050
+ middlename?: string | null | undefined;
1051
+ }, {
1052
+ firstname: string;
1053
+ surname: string;
1054
+ middlename?: string | null | undefined;
1055
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
+ 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
1057
  filename: z.ZodString;
937
1058
  originalFilename: z.ZodString;
938
1059
  type: z.ZodString;
@@ -1045,18 +1166,46 @@ export declare const EventDocument: z.ZodObject<{
1045
1166
  addressLine2?: string | null | undefined;
1046
1167
  addressLine3?: string | null | undefined;
1047
1168
  postcodeOrZip?: string | null | undefined;
1048
- }>]>>>;
1049
- createdAtLocation: z.ZodString;
1169
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
+ firstname: z.ZodString;
1171
+ surname: z.ZodString;
1172
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ firstname: string;
1175
+ surname: string;
1176
+ middlename?: string | null | undefined;
1177
+ }, {
1178
+ firstname: string;
1179
+ surname: string;
1180
+ middlename?: string | null | undefined;
1181
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1050
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1051
1183
  originalActionId: z.ZodOptional<z.ZodString>;
1052
1184
  }, {
1053
1185
  type: z.ZodLiteral<"REJECT">;
1186
+ reason: z.ZodObject<{
1187
+ message: z.ZodString;
1188
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ message: string;
1191
+ isDuplicate?: boolean | undefined;
1192
+ }, {
1193
+ message: string;
1194
+ isDuplicate?: boolean | undefined;
1195
+ }>;
1054
1196
  }>, "strip", z.ZodTypeAny, {
1055
1197
  type: "REJECT";
1056
1198
  id: string;
1057
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
+ reason: {
1201
+ message: string;
1202
+ isDuplicate?: boolean | undefined;
1203
+ };
1204
+ transactionId: string;
1205
+ createdByUserType: "system" | "user";
1058
1206
  createdAt: string;
1059
1207
  createdBy: string;
1208
+ createdByRole: string;
1060
1209
  declaration: Record<string, string | number | boolean | {
1061
1210
  type: string;
1062
1211
  filename: string;
@@ -1072,6 +1221,10 @@ export declare const EventDocument: z.ZodObject<{
1072
1221
  residentialArea?: string | null | undefined;
1073
1222
  street?: string | null | undefined;
1074
1223
  zipCode?: string | null | undefined;
1224
+ } | {
1225
+ firstname: string;
1226
+ surname: string;
1227
+ middlename?: string | null | undefined;
1075
1228
  } | {
1076
1229
  country: string;
1077
1230
  district: string;
@@ -1094,8 +1247,9 @@ export declare const EventDocument: z.ZodObject<{
1094
1247
  option: string;
1095
1248
  filename: string;
1096
1249
  originalFilename: string;
1097
- }[] | undefined>;
1098
- createdAtLocation: string;
1250
+ }[] | [string, string] | null | undefined>;
1251
+ createdBySignature?: string | null | undefined;
1252
+ createdAtLocation?: string | null | undefined;
1099
1253
  annotation?: Record<string, string | number | boolean | {
1100
1254
  type: string;
1101
1255
  filename: string;
@@ -1111,6 +1265,10 @@ export declare const EventDocument: z.ZodObject<{
1111
1265
  residentialArea?: string | null | undefined;
1112
1266
  street?: string | null | undefined;
1113
1267
  zipCode?: string | null | undefined;
1268
+ } | {
1269
+ firstname: string;
1270
+ surname: string;
1271
+ middlename?: string | null | undefined;
1114
1272
  } | {
1115
1273
  country: string;
1116
1274
  district: string;
@@ -1133,14 +1291,21 @@ export declare const EventDocument: z.ZodObject<{
1133
1291
  option: string;
1134
1292
  filename: string;
1135
1293
  originalFilename: string;
1136
- }[] | undefined> | undefined;
1294
+ }[] | [string, string] | null | undefined> | undefined;
1137
1295
  originalActionId?: string | undefined;
1138
1296
  }, {
1139
1297
  type: "REJECT";
1140
1298
  id: string;
1141
1299
  status: "Rejected" | "Requested" | "Accepted";
1300
+ reason: {
1301
+ message: string;
1302
+ isDuplicate?: boolean | undefined;
1303
+ };
1304
+ transactionId: string;
1305
+ createdByUserType: "system" | "user";
1142
1306
  createdAt: string;
1143
1307
  createdBy: string;
1308
+ createdByRole: string;
1144
1309
  declaration: Record<string, string | number | boolean | {
1145
1310
  type: string;
1146
1311
  filename: string;
@@ -1156,6 +1321,10 @@ export declare const EventDocument: z.ZodObject<{
1156
1321
  residentialArea?: string | null | undefined;
1157
1322
  street?: string | null | undefined;
1158
1323
  zipCode?: string | null | undefined;
1324
+ } | {
1325
+ firstname: string;
1326
+ surname: string;
1327
+ middlename?: string | null | undefined;
1159
1328
  } | {
1160
1329
  country: string;
1161
1330
  district: string;
@@ -1178,8 +1347,9 @@ export declare const EventDocument: z.ZodObject<{
1178
1347
  option: string;
1179
1348
  filename: string;
1180
1349
  originalFilename: string;
1181
- }[] | undefined>;
1182
- createdAtLocation: string;
1350
+ }[] | [string, string] | null | undefined>;
1351
+ createdBySignature?: string | null | undefined;
1352
+ createdAtLocation?: string | null | undefined;
1183
1353
  annotation?: Record<string, string | number | boolean | {
1184
1354
  type: string;
1185
1355
  filename: string;
@@ -1195,6 +1365,10 @@ export declare const EventDocument: z.ZodObject<{
1195
1365
  residentialArea?: string | null | undefined;
1196
1366
  street?: string | null | undefined;
1197
1367
  zipCode?: string | null | undefined;
1368
+ } | {
1369
+ firstname: string;
1370
+ surname: string;
1371
+ middlename?: string | null | undefined;
1198
1372
  } | {
1199
1373
  country: string;
1200
1374
  district: string;
@@ -1217,13 +1391,18 @@ export declare const EventDocument: z.ZodObject<{
1217
1391
  option: string;
1218
1392
  filename: string;
1219
1393
  originalFilename: string;
1220
- }[] | undefined> | undefined;
1394
+ }[] | [string, string] | null | undefined> | undefined;
1221
1395
  originalActionId?: string | undefined;
1222
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1223
1397
  id: z.ZodString;
1398
+ transactionId: z.ZodString;
1399
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1224
1400
  createdAt: z.ZodString;
1225
1401
  createdBy: z.ZodString;
1226
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1402
+ createdByRole: z.ZodString;
1403
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
+ 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
1406
  filename: z.ZodString;
1228
1407
  originalFilename: z.ZodString;
1229
1408
  type: z.ZodString;
@@ -1336,8 +1515,20 @@ export declare const EventDocument: z.ZodObject<{
1336
1515
  addressLine2?: string | null | undefined;
1337
1516
  addressLine3?: string | null | undefined;
1338
1517
  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<{
1518
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
+ firstname: z.ZodString;
1520
+ surname: z.ZodString;
1521
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ firstname: string;
1524
+ surname: string;
1525
+ middlename?: string | null | undefined;
1526
+ }, {
1527
+ firstname: string;
1528
+ surname: string;
1529
+ middlename?: string | null | undefined;
1530
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
+ 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
1532
  filename: z.ZodString;
1342
1533
  originalFilename: z.ZodString;
1343
1534
  type: z.ZodString;
@@ -1450,8 +1641,19 @@ export declare const EventDocument: z.ZodObject<{
1450
1641
  addressLine2?: string | null | undefined;
1451
1642
  addressLine3?: string | null | undefined;
1452
1643
  postcodeOrZip?: string | null | undefined;
1453
- }>]>>>;
1454
- createdAtLocation: z.ZodString;
1644
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
+ firstname: z.ZodString;
1646
+ surname: z.ZodString;
1647
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ firstname: string;
1650
+ surname: string;
1651
+ middlename?: string | null | undefined;
1652
+ }, {
1653
+ firstname: string;
1654
+ surname: string;
1655
+ middlename?: string | null | undefined;
1656
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1455
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1456
1658
  originalActionId: z.ZodOptional<z.ZodString>;
1457
1659
  }, {
@@ -1460,8 +1662,11 @@ export declare const EventDocument: z.ZodObject<{
1460
1662
  type: "MARKED_AS_DUPLICATE";
1461
1663
  id: string;
1462
1664
  status: "Rejected" | "Requested" | "Accepted";
1665
+ transactionId: string;
1666
+ createdByUserType: "system" | "user";
1463
1667
  createdAt: string;
1464
1668
  createdBy: string;
1669
+ createdByRole: string;
1465
1670
  declaration: Record<string, string | number | boolean | {
1466
1671
  type: string;
1467
1672
  filename: string;
@@ -1477,6 +1682,10 @@ export declare const EventDocument: z.ZodObject<{
1477
1682
  residentialArea?: string | null | undefined;
1478
1683
  street?: string | null | undefined;
1479
1684
  zipCode?: string | null | undefined;
1685
+ } | {
1686
+ firstname: string;
1687
+ surname: string;
1688
+ middlename?: string | null | undefined;
1480
1689
  } | {
1481
1690
  country: string;
1482
1691
  district: string;
@@ -1499,8 +1708,9 @@ export declare const EventDocument: z.ZodObject<{
1499
1708
  option: string;
1500
1709
  filename: string;
1501
1710
  originalFilename: string;
1502
- }[] | undefined>;
1503
- createdAtLocation: string;
1711
+ }[] | [string, string] | null | undefined>;
1712
+ createdBySignature?: string | null | undefined;
1713
+ createdAtLocation?: string | null | undefined;
1504
1714
  annotation?: Record<string, string | number | boolean | {
1505
1715
  type: string;
1506
1716
  filename: string;
@@ -1516,6 +1726,10 @@ export declare const EventDocument: z.ZodObject<{
1516
1726
  residentialArea?: string | null | undefined;
1517
1727
  street?: string | null | undefined;
1518
1728
  zipCode?: string | null | undefined;
1729
+ } | {
1730
+ firstname: string;
1731
+ surname: string;
1732
+ middlename?: string | null | undefined;
1519
1733
  } | {
1520
1734
  country: string;
1521
1735
  district: string;
@@ -1538,14 +1752,17 @@ export declare const EventDocument: z.ZodObject<{
1538
1752
  option: string;
1539
1753
  filename: string;
1540
1754
  originalFilename: string;
1541
- }[] | undefined> | undefined;
1755
+ }[] | [string, string] | null | undefined> | undefined;
1542
1756
  originalActionId?: string | undefined;
1543
1757
  }, {
1544
1758
  type: "MARKED_AS_DUPLICATE";
1545
1759
  id: string;
1546
1760
  status: "Rejected" | "Requested" | "Accepted";
1761
+ transactionId: string;
1762
+ createdByUserType: "system" | "user";
1547
1763
  createdAt: string;
1548
1764
  createdBy: string;
1765
+ createdByRole: string;
1549
1766
  declaration: Record<string, string | number | boolean | {
1550
1767
  type: string;
1551
1768
  filename: string;
@@ -1561,6 +1778,10 @@ export declare const EventDocument: z.ZodObject<{
1561
1778
  residentialArea?: string | null | undefined;
1562
1779
  street?: string | null | undefined;
1563
1780
  zipCode?: string | null | undefined;
1781
+ } | {
1782
+ firstname: string;
1783
+ surname: string;
1784
+ middlename?: string | null | undefined;
1564
1785
  } | {
1565
1786
  country: string;
1566
1787
  district: string;
@@ -1583,8 +1804,9 @@ export declare const EventDocument: z.ZodObject<{
1583
1804
  option: string;
1584
1805
  filename: string;
1585
1806
  originalFilename: string;
1586
- }[] | undefined>;
1587
- createdAtLocation: string;
1807
+ }[] | [string, string] | null | undefined>;
1808
+ createdBySignature?: string | null | undefined;
1809
+ createdAtLocation?: string | null | undefined;
1588
1810
  annotation?: Record<string, string | number | boolean | {
1589
1811
  type: string;
1590
1812
  filename: string;
@@ -1600,6 +1822,10 @@ export declare const EventDocument: z.ZodObject<{
1600
1822
  residentialArea?: string | null | undefined;
1601
1823
  street?: string | null | undefined;
1602
1824
  zipCode?: string | null | undefined;
1825
+ } | {
1826
+ firstname: string;
1827
+ surname: string;
1828
+ middlename?: string | null | undefined;
1603
1829
  } | {
1604
1830
  country: string;
1605
1831
  district: string;
@@ -1622,13 +1848,18 @@ export declare const EventDocument: z.ZodObject<{
1622
1848
  option: string;
1623
1849
  filename: string;
1624
1850
  originalFilename: string;
1625
- }[] | undefined> | undefined;
1851
+ }[] | [string, string] | null | undefined> | undefined;
1626
1852
  originalActionId?: string | undefined;
1627
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1628
1854
  id: z.ZodString;
1855
+ transactionId: z.ZodString;
1856
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1629
1857
  createdAt: z.ZodString;
1630
1858
  createdBy: z.ZodString;
1631
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1859
+ createdByRole: z.ZodString;
1860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
+ 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
1863
  filename: z.ZodString;
1633
1864
  originalFilename: z.ZodString;
1634
1865
  type: z.ZodString;
@@ -1741,8 +1972,20 @@ export declare const EventDocument: z.ZodObject<{
1741
1972
  addressLine2?: string | null | undefined;
1742
1973
  addressLine3?: string | null | undefined;
1743
1974
  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<{
1975
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
+ firstname: z.ZodString;
1977
+ surname: z.ZodString;
1978
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ firstname: string;
1981
+ surname: string;
1982
+ middlename?: string | null | undefined;
1983
+ }, {
1984
+ firstname: string;
1985
+ surname: string;
1986
+ middlename?: string | null | undefined;
1987
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
+ 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
1989
  filename: z.ZodString;
1747
1990
  originalFilename: z.ZodString;
1748
1991
  type: z.ZodString;
@@ -1855,18 +2098,46 @@ export declare const EventDocument: z.ZodObject<{
1855
2098
  addressLine2?: string | null | undefined;
1856
2099
  addressLine3?: string | null | undefined;
1857
2100
  postcodeOrZip?: string | null | undefined;
1858
- }>]>>>;
1859
- createdAtLocation: z.ZodString;
2101
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
+ firstname: z.ZodString;
2103
+ surname: z.ZodString;
2104
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ firstname: string;
2107
+ surname: string;
2108
+ middlename?: string | null | undefined;
2109
+ }, {
2110
+ firstname: string;
2111
+ surname: string;
2112
+ middlename?: string | null | undefined;
2113
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1860
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1861
2115
  originalActionId: z.ZodOptional<z.ZodString>;
1862
2116
  }, {
1863
2117
  type: z.ZodLiteral<"ARCHIVE">;
2118
+ reason: z.ZodObject<{
2119
+ message: z.ZodString;
2120
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ message: string;
2123
+ isDuplicate?: boolean | undefined;
2124
+ }, {
2125
+ message: string;
2126
+ isDuplicate?: boolean | undefined;
2127
+ }>;
1864
2128
  }>, "strip", z.ZodTypeAny, {
1865
2129
  type: "ARCHIVE";
1866
2130
  id: string;
1867
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
+ reason: {
2133
+ message: string;
2134
+ isDuplicate?: boolean | undefined;
2135
+ };
2136
+ transactionId: string;
2137
+ createdByUserType: "system" | "user";
1868
2138
  createdAt: string;
1869
2139
  createdBy: string;
2140
+ createdByRole: string;
1870
2141
  declaration: Record<string, string | number | boolean | {
1871
2142
  type: string;
1872
2143
  filename: string;
@@ -1882,6 +2153,10 @@ export declare const EventDocument: z.ZodObject<{
1882
2153
  residentialArea?: string | null | undefined;
1883
2154
  street?: string | null | undefined;
1884
2155
  zipCode?: string | null | undefined;
2156
+ } | {
2157
+ firstname: string;
2158
+ surname: string;
2159
+ middlename?: string | null | undefined;
1885
2160
  } | {
1886
2161
  country: string;
1887
2162
  district: string;
@@ -1904,8 +2179,9 @@ export declare const EventDocument: z.ZodObject<{
1904
2179
  option: string;
1905
2180
  filename: string;
1906
2181
  originalFilename: string;
1907
- }[] | undefined>;
1908
- createdAtLocation: string;
2182
+ }[] | [string, string] | null | undefined>;
2183
+ createdBySignature?: string | null | undefined;
2184
+ createdAtLocation?: string | null | undefined;
1909
2185
  annotation?: Record<string, string | number | boolean | {
1910
2186
  type: string;
1911
2187
  filename: string;
@@ -1921,6 +2197,10 @@ export declare const EventDocument: z.ZodObject<{
1921
2197
  residentialArea?: string | null | undefined;
1922
2198
  street?: string | null | undefined;
1923
2199
  zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname: string;
2202
+ surname: string;
2203
+ middlename?: string | null | undefined;
1924
2204
  } | {
1925
2205
  country: string;
1926
2206
  district: string;
@@ -1943,14 +2223,21 @@ export declare const EventDocument: z.ZodObject<{
1943
2223
  option: string;
1944
2224
  filename: string;
1945
2225
  originalFilename: string;
1946
- }[] | undefined> | undefined;
2226
+ }[] | [string, string] | null | undefined> | undefined;
1947
2227
  originalActionId?: string | undefined;
1948
2228
  }, {
1949
2229
  type: "ARCHIVE";
1950
2230
  id: string;
1951
2231
  status: "Rejected" | "Requested" | "Accepted";
2232
+ reason: {
2233
+ message: string;
2234
+ isDuplicate?: boolean | undefined;
2235
+ };
2236
+ transactionId: string;
2237
+ createdByUserType: "system" | "user";
1952
2238
  createdAt: string;
1953
2239
  createdBy: string;
2240
+ createdByRole: string;
1954
2241
  declaration: Record<string, string | number | boolean | {
1955
2242
  type: string;
1956
2243
  filename: string;
@@ -1966,6 +2253,10 @@ export declare const EventDocument: z.ZodObject<{
1966
2253
  residentialArea?: string | null | undefined;
1967
2254
  street?: string | null | undefined;
1968
2255
  zipCode?: string | null | undefined;
2256
+ } | {
2257
+ firstname: string;
2258
+ surname: string;
2259
+ middlename?: string | null | undefined;
1969
2260
  } | {
1970
2261
  country: string;
1971
2262
  district: string;
@@ -1988,8 +2279,9 @@ export declare const EventDocument: z.ZodObject<{
1988
2279
  option: string;
1989
2280
  filename: string;
1990
2281
  originalFilename: string;
1991
- }[] | undefined>;
1992
- createdAtLocation: string;
2282
+ }[] | [string, string] | null | undefined>;
2283
+ createdBySignature?: string | null | undefined;
2284
+ createdAtLocation?: string | null | undefined;
1993
2285
  annotation?: Record<string, string | number | boolean | {
1994
2286
  type: string;
1995
2287
  filename: string;
@@ -2005,6 +2297,10 @@ export declare const EventDocument: z.ZodObject<{
2005
2297
  residentialArea?: string | null | undefined;
2006
2298
  street?: string | null | undefined;
2007
2299
  zipCode?: string | null | undefined;
2300
+ } | {
2301
+ firstname: string;
2302
+ surname: string;
2303
+ middlename?: string | null | undefined;
2008
2304
  } | {
2009
2305
  country: string;
2010
2306
  district: string;
@@ -2027,13 +2323,18 @@ export declare const EventDocument: z.ZodObject<{
2027
2323
  option: string;
2028
2324
  filename: string;
2029
2325
  originalFilename: string;
2030
- }[] | undefined> | undefined;
2326
+ }[] | [string, string] | null | undefined> | undefined;
2031
2327
  originalActionId?: string | undefined;
2032
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2033
2329
  id: z.ZodString;
2330
+ transactionId: z.ZodString;
2331
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2034
2332
  createdAt: z.ZodString;
2035
2333
  createdBy: z.ZodString;
2036
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2334
+ createdByRole: z.ZodString;
2335
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2337
+ 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
2338
  filename: z.ZodString;
2038
2339
  originalFilename: z.ZodString;
2039
2340
  type: z.ZodString;
@@ -2146,8 +2447,20 @@ export declare const EventDocument: z.ZodObject<{
2146
2447
  addressLine2?: string | null | undefined;
2147
2448
  addressLine3?: string | null | undefined;
2148
2449
  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<{
2450
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
+ firstname: z.ZodString;
2452
+ surname: z.ZodString;
2453
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ firstname: string;
2456
+ surname: string;
2457
+ middlename?: string | null | undefined;
2458
+ }, {
2459
+ firstname: string;
2460
+ surname: string;
2461
+ middlename?: string | null | undefined;
2462
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
+ 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
2464
  filename: z.ZodString;
2152
2465
  originalFilename: z.ZodString;
2153
2466
  type: z.ZodString;
@@ -2260,8 +2573,19 @@ export declare const EventDocument: z.ZodObject<{
2260
2573
  addressLine2?: string | null | undefined;
2261
2574
  addressLine3?: string | null | undefined;
2262
2575
  postcodeOrZip?: string | null | undefined;
2263
- }>]>>>;
2264
- createdAtLocation: z.ZodString;
2576
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
+ firstname: z.ZodString;
2578
+ surname: z.ZodString;
2579
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ firstname: string;
2582
+ surname: string;
2583
+ middlename?: string | null | undefined;
2584
+ }, {
2585
+ firstname: string;
2586
+ surname: string;
2587
+ middlename?: string | null | undefined;
2588
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2265
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2266
2590
  originalActionId: z.ZodOptional<z.ZodString>;
2267
2591
  }, {
@@ -2270,8 +2594,11 @@ export declare const EventDocument: z.ZodObject<{
2270
2594
  type: "NOTIFY";
2271
2595
  id: string;
2272
2596
  status: "Rejected" | "Requested" | "Accepted";
2597
+ transactionId: string;
2598
+ createdByUserType: "system" | "user";
2273
2599
  createdAt: string;
2274
2600
  createdBy: string;
2601
+ createdByRole: string;
2275
2602
  declaration: Record<string, string | number | boolean | {
2276
2603
  type: string;
2277
2604
  filename: string;
@@ -2287,6 +2614,10 @@ export declare const EventDocument: z.ZodObject<{
2287
2614
  residentialArea?: string | null | undefined;
2288
2615
  street?: string | null | undefined;
2289
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname: string;
2619
+ surname: string;
2620
+ middlename?: string | null | undefined;
2290
2621
  } | {
2291
2622
  country: string;
2292
2623
  district: string;
@@ -2309,8 +2640,9 @@ export declare const EventDocument: z.ZodObject<{
2309
2640
  option: string;
2310
2641
  filename: string;
2311
2642
  originalFilename: string;
2312
- }[] | undefined>;
2313
- createdAtLocation: string;
2643
+ }[] | [string, string] | null | undefined>;
2644
+ createdBySignature?: string | null | undefined;
2645
+ createdAtLocation?: string | null | undefined;
2314
2646
  annotation?: Record<string, string | number | boolean | {
2315
2647
  type: string;
2316
2648
  filename: string;
@@ -2326,6 +2658,10 @@ export declare const EventDocument: z.ZodObject<{
2326
2658
  residentialArea?: string | null | undefined;
2327
2659
  street?: string | null | undefined;
2328
2660
  zipCode?: string | null | undefined;
2661
+ } | {
2662
+ firstname: string;
2663
+ surname: string;
2664
+ middlename?: string | null | undefined;
2329
2665
  } | {
2330
2666
  country: string;
2331
2667
  district: string;
@@ -2348,14 +2684,17 @@ export declare const EventDocument: z.ZodObject<{
2348
2684
  option: string;
2349
2685
  filename: string;
2350
2686
  originalFilename: string;
2351
- }[] | undefined> | undefined;
2687
+ }[] | [string, string] | null | undefined> | undefined;
2352
2688
  originalActionId?: string | undefined;
2353
2689
  }, {
2354
2690
  type: "NOTIFY";
2355
2691
  id: string;
2356
2692
  status: "Rejected" | "Requested" | "Accepted";
2693
+ transactionId: string;
2694
+ createdByUserType: "system" | "user";
2357
2695
  createdAt: string;
2358
2696
  createdBy: string;
2697
+ createdByRole: string;
2359
2698
  declaration: Record<string, string | number | boolean | {
2360
2699
  type: string;
2361
2700
  filename: string;
@@ -2371,6 +2710,10 @@ export declare const EventDocument: z.ZodObject<{
2371
2710
  residentialArea?: string | null | undefined;
2372
2711
  street?: string | null | undefined;
2373
2712
  zipCode?: string | null | undefined;
2713
+ } | {
2714
+ firstname: string;
2715
+ surname: string;
2716
+ middlename?: string | null | undefined;
2374
2717
  } | {
2375
2718
  country: string;
2376
2719
  district: string;
@@ -2393,8 +2736,9 @@ export declare const EventDocument: z.ZodObject<{
2393
2736
  option: string;
2394
2737
  filename: string;
2395
2738
  originalFilename: string;
2396
- }[] | undefined>;
2397
- createdAtLocation: string;
2739
+ }[] | [string, string] | null | undefined>;
2740
+ createdBySignature?: string | null | undefined;
2741
+ createdAtLocation?: string | null | undefined;
2398
2742
  annotation?: Record<string, string | number | boolean | {
2399
2743
  type: string;
2400
2744
  filename: string;
@@ -2410,6 +2754,10 @@ export declare const EventDocument: z.ZodObject<{
2410
2754
  residentialArea?: string | null | undefined;
2411
2755
  street?: string | null | undefined;
2412
2756
  zipCode?: string | null | undefined;
2757
+ } | {
2758
+ firstname: string;
2759
+ surname: string;
2760
+ middlename?: string | null | undefined;
2413
2761
  } | {
2414
2762
  country: string;
2415
2763
  district: string;
@@ -2432,13 +2780,18 @@ export declare const EventDocument: z.ZodObject<{
2432
2780
  option: string;
2433
2781
  filename: string;
2434
2782
  originalFilename: string;
2435
- }[] | undefined> | undefined;
2783
+ }[] | [string, string] | null | undefined> | undefined;
2436
2784
  originalActionId?: string | undefined;
2437
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2438
2786
  id: z.ZodString;
2787
+ transactionId: z.ZodString;
2788
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2439
2789
  createdAt: z.ZodString;
2440
2790
  createdBy: z.ZodString;
2441
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2791
+ createdByRole: z.ZodString;
2792
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2794
+ 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
2795
  filename: z.ZodString;
2443
2796
  originalFilename: z.ZodString;
2444
2797
  type: z.ZodString;
@@ -2551,8 +2904,20 @@ export declare const EventDocument: z.ZodObject<{
2551
2904
  addressLine2?: string | null | undefined;
2552
2905
  addressLine3?: string | null | undefined;
2553
2906
  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<{
2907
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
+ firstname: z.ZodString;
2909
+ surname: z.ZodString;
2910
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ firstname: string;
2913
+ surname: string;
2914
+ middlename?: string | null | undefined;
2915
+ }, {
2916
+ firstname: string;
2917
+ surname: string;
2918
+ middlename?: string | null | undefined;
2919
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
+ 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
2921
  filename: z.ZodString;
2557
2922
  originalFilename: z.ZodString;
2558
2923
  type: z.ZodString;
@@ -2665,8 +3030,19 @@ export declare const EventDocument: z.ZodObject<{
2665
3030
  addressLine2?: string | null | undefined;
2666
3031
  addressLine3?: string | null | undefined;
2667
3032
  postcodeOrZip?: string | null | undefined;
2668
- }>]>>>;
2669
- createdAtLocation: z.ZodString;
3033
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
+ firstname: z.ZodString;
3035
+ surname: z.ZodString;
3036
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
+ }, "strip", z.ZodTypeAny, {
3038
+ firstname: string;
3039
+ surname: string;
3040
+ middlename?: string | null | undefined;
3041
+ }, {
3042
+ firstname: string;
3043
+ surname: string;
3044
+ middlename?: string | null | undefined;
3045
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2670
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2671
3047
  originalActionId: z.ZodOptional<z.ZodString>;
2672
3048
  }, {
@@ -2676,8 +3052,11 @@ export declare const EventDocument: z.ZodObject<{
2676
3052
  type: "REGISTER";
2677
3053
  id: string;
2678
3054
  status: "Rejected" | "Requested" | "Accepted";
3055
+ transactionId: string;
3056
+ createdByUserType: "system" | "user";
2679
3057
  createdAt: string;
2680
3058
  createdBy: string;
3059
+ createdByRole: string;
2681
3060
  declaration: Record<string, string | number | boolean | {
2682
3061
  type: string;
2683
3062
  filename: string;
@@ -2693,6 +3072,10 @@ export declare const EventDocument: z.ZodObject<{
2693
3072
  residentialArea?: string | null | undefined;
2694
3073
  street?: string | null | undefined;
2695
3074
  zipCode?: string | null | undefined;
3075
+ } | {
3076
+ firstname: string;
3077
+ surname: string;
3078
+ middlename?: string | null | undefined;
2696
3079
  } | {
2697
3080
  country: string;
2698
3081
  district: string;
@@ -2715,8 +3098,9 @@ export declare const EventDocument: z.ZodObject<{
2715
3098
  option: string;
2716
3099
  filename: string;
2717
3100
  originalFilename: string;
2718
- }[] | undefined>;
2719
- createdAtLocation: string;
3101
+ }[] | [string, string] | null | undefined>;
3102
+ createdBySignature?: string | null | undefined;
3103
+ createdAtLocation?: string | null | undefined;
2720
3104
  annotation?: Record<string, string | number | boolean | {
2721
3105
  type: string;
2722
3106
  filename: string;
@@ -2732,6 +3116,10 @@ export declare const EventDocument: z.ZodObject<{
2732
3116
  residentialArea?: string | null | undefined;
2733
3117
  street?: string | null | undefined;
2734
3118
  zipCode?: string | null | undefined;
3119
+ } | {
3120
+ firstname: string;
3121
+ surname: string;
3122
+ middlename?: string | null | undefined;
2735
3123
  } | {
2736
3124
  country: string;
2737
3125
  district: string;
@@ -2754,15 +3142,18 @@ export declare const EventDocument: z.ZodObject<{
2754
3142
  option: string;
2755
3143
  filename: string;
2756
3144
  originalFilename: string;
2757
- }[] | undefined> | undefined;
3145
+ }[] | [string, string] | null | undefined> | undefined;
2758
3146
  originalActionId?: string | undefined;
2759
3147
  registrationNumber?: string | undefined;
2760
3148
  }, {
2761
3149
  type: "REGISTER";
2762
3150
  id: string;
2763
3151
  status: "Rejected" | "Requested" | "Accepted";
3152
+ transactionId: string;
3153
+ createdByUserType: "system" | "user";
2764
3154
  createdAt: string;
2765
3155
  createdBy: string;
3156
+ createdByRole: string;
2766
3157
  declaration: Record<string, string | number | boolean | {
2767
3158
  type: string;
2768
3159
  filename: string;
@@ -2778,6 +3169,10 @@ export declare const EventDocument: z.ZodObject<{
2778
3169
  residentialArea?: string | null | undefined;
2779
3170
  street?: string | null | undefined;
2780
3171
  zipCode?: string | null | undefined;
3172
+ } | {
3173
+ firstname: string;
3174
+ surname: string;
3175
+ middlename?: string | null | undefined;
2781
3176
  } | {
2782
3177
  country: string;
2783
3178
  district: string;
@@ -2800,8 +3195,9 @@ export declare const EventDocument: z.ZodObject<{
2800
3195
  option: string;
2801
3196
  filename: string;
2802
3197
  originalFilename: string;
2803
- }[] | undefined>;
2804
- createdAtLocation: string;
3198
+ }[] | [string, string] | null | undefined>;
3199
+ createdBySignature?: string | null | undefined;
3200
+ createdAtLocation?: string | null | undefined;
2805
3201
  annotation?: Record<string, string | number | boolean | {
2806
3202
  type: string;
2807
3203
  filename: string;
@@ -2817,6 +3213,10 @@ export declare const EventDocument: z.ZodObject<{
2817
3213
  residentialArea?: string | null | undefined;
2818
3214
  street?: string | null | undefined;
2819
3215
  zipCode?: string | null | undefined;
3216
+ } | {
3217
+ firstname: string;
3218
+ surname: string;
3219
+ middlename?: string | null | undefined;
2820
3220
  } | {
2821
3221
  country: string;
2822
3222
  district: string;
@@ -2839,14 +3239,19 @@ export declare const EventDocument: z.ZodObject<{
2839
3239
  option: string;
2840
3240
  filename: string;
2841
3241
  originalFilename: string;
2842
- }[] | undefined> | undefined;
3242
+ }[] | [string, string] | null | undefined> | undefined;
2843
3243
  originalActionId?: string | undefined;
2844
3244
  registrationNumber?: string | undefined;
2845
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2846
3246
  id: z.ZodString;
3247
+ transactionId: z.ZodString;
3248
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2847
3249
  createdAt: z.ZodString;
2848
3250
  createdBy: z.ZodString;
2849
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3251
+ createdByRole: z.ZodString;
3252
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
+ 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
3255
  filename: z.ZodString;
2851
3256
  originalFilename: z.ZodString;
2852
3257
  type: z.ZodString;
@@ -2959,8 +3364,20 @@ export declare const EventDocument: z.ZodObject<{
2959
3364
  addressLine2?: string | null | undefined;
2960
3365
  addressLine3?: string | null | undefined;
2961
3366
  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<{
3367
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
+ firstname: z.ZodString;
3369
+ surname: z.ZodString;
3370
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ firstname: string;
3373
+ surname: string;
3374
+ middlename?: string | null | undefined;
3375
+ }, {
3376
+ firstname: string;
3377
+ surname: string;
3378
+ middlename?: string | null | undefined;
3379
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
+ 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
3381
  filename: z.ZodString;
2965
3382
  originalFilename: z.ZodString;
2966
3383
  type: z.ZodString;
@@ -3073,8 +3490,19 @@ export declare const EventDocument: z.ZodObject<{
3073
3490
  addressLine2?: string | null | undefined;
3074
3491
  addressLine3?: string | null | undefined;
3075
3492
  postcodeOrZip?: string | null | undefined;
3076
- }>]>>>;
3077
- createdAtLocation: z.ZodString;
3493
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
+ firstname: z.ZodString;
3495
+ surname: z.ZodString;
3496
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ firstname: string;
3499
+ surname: string;
3500
+ middlename?: string | null | undefined;
3501
+ }, {
3502
+ firstname: string;
3503
+ surname: string;
3504
+ middlename?: string | null | undefined;
3505
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3078
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3079
3507
  originalActionId: z.ZodOptional<z.ZodString>;
3080
3508
  }, {
@@ -3083,8 +3511,11 @@ export declare const EventDocument: z.ZodObject<{
3083
3511
  type: "DECLARE";
3084
3512
  id: string;
3085
3513
  status: "Rejected" | "Requested" | "Accepted";
3514
+ transactionId: string;
3515
+ createdByUserType: "system" | "user";
3086
3516
  createdAt: string;
3087
3517
  createdBy: string;
3518
+ createdByRole: string;
3088
3519
  declaration: Record<string, string | number | boolean | {
3089
3520
  type: string;
3090
3521
  filename: string;
@@ -3100,6 +3531,10 @@ export declare const EventDocument: z.ZodObject<{
3100
3531
  residentialArea?: string | null | undefined;
3101
3532
  street?: string | null | undefined;
3102
3533
  zipCode?: string | null | undefined;
3534
+ } | {
3535
+ firstname: string;
3536
+ surname: string;
3537
+ middlename?: string | null | undefined;
3103
3538
  } | {
3104
3539
  country: string;
3105
3540
  district: string;
@@ -3122,8 +3557,9 @@ export declare const EventDocument: z.ZodObject<{
3122
3557
  option: string;
3123
3558
  filename: string;
3124
3559
  originalFilename: string;
3125
- }[] | undefined>;
3126
- createdAtLocation: string;
3560
+ }[] | [string, string] | null | undefined>;
3561
+ createdBySignature?: string | null | undefined;
3562
+ createdAtLocation?: string | null | undefined;
3127
3563
  annotation?: Record<string, string | number | boolean | {
3128
3564
  type: string;
3129
3565
  filename: string;
@@ -3139,6 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
3139
3575
  residentialArea?: string | null | undefined;
3140
3576
  street?: string | null | undefined;
3141
3577
  zipCode?: string | null | undefined;
3578
+ } | {
3579
+ firstname: string;
3580
+ surname: string;
3581
+ middlename?: string | null | undefined;
3142
3582
  } | {
3143
3583
  country: string;
3144
3584
  district: string;
@@ -3161,14 +3601,17 @@ export declare const EventDocument: z.ZodObject<{
3161
3601
  option: string;
3162
3602
  filename: string;
3163
3603
  originalFilename: string;
3164
- }[] | undefined> | undefined;
3604
+ }[] | [string, string] | null | undefined> | undefined;
3165
3605
  originalActionId?: string | undefined;
3166
3606
  }, {
3167
3607
  type: "DECLARE";
3168
3608
  id: string;
3169
3609
  status: "Rejected" | "Requested" | "Accepted";
3610
+ transactionId: string;
3611
+ createdByUserType: "system" | "user";
3170
3612
  createdAt: string;
3171
3613
  createdBy: string;
3614
+ createdByRole: string;
3172
3615
  declaration: Record<string, string | number | boolean | {
3173
3616
  type: string;
3174
3617
  filename: string;
@@ -3184,6 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3184
3627
  residentialArea?: string | null | undefined;
3185
3628
  street?: string | null | undefined;
3186
3629
  zipCode?: string | null | undefined;
3630
+ } | {
3631
+ firstname: string;
3632
+ surname: string;
3633
+ middlename?: string | null | undefined;
3187
3634
  } | {
3188
3635
  country: string;
3189
3636
  district: string;
@@ -3206,8 +3653,9 @@ export declare const EventDocument: z.ZodObject<{
3206
3653
  option: string;
3207
3654
  filename: string;
3208
3655
  originalFilename: string;
3209
- }[] | undefined>;
3210
- createdAtLocation: string;
3656
+ }[] | [string, string] | null | undefined>;
3657
+ createdBySignature?: string | null | undefined;
3658
+ createdAtLocation?: string | null | undefined;
3211
3659
  annotation?: Record<string, string | number | boolean | {
3212
3660
  type: string;
3213
3661
  filename: string;
@@ -3223,6 +3671,10 @@ export declare const EventDocument: z.ZodObject<{
3223
3671
  residentialArea?: string | null | undefined;
3224
3672
  street?: string | null | undefined;
3225
3673
  zipCode?: string | null | undefined;
3674
+ } | {
3675
+ firstname: string;
3676
+ surname: string;
3677
+ middlename?: string | null | undefined;
3226
3678
  } | {
3227
3679
  country: string;
3228
3680
  district: string;
@@ -3245,13 +3697,18 @@ export declare const EventDocument: z.ZodObject<{
3245
3697
  option: string;
3246
3698
  filename: string;
3247
3699
  originalFilename: string;
3248
- }[] | undefined> | undefined;
3700
+ }[] | [string, string] | null | undefined> | undefined;
3249
3701
  originalActionId?: string | undefined;
3250
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3251
3703
  id: z.ZodString;
3704
+ transactionId: z.ZodString;
3705
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3252
3706
  createdAt: z.ZodString;
3253
3707
  createdBy: z.ZodString;
3254
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3708
+ createdByRole: z.ZodString;
3709
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3711
+ 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
3712
  filename: z.ZodString;
3256
3713
  originalFilename: z.ZodString;
3257
3714
  type: z.ZodString;
@@ -3364,8 +3821,20 @@ export declare const EventDocument: z.ZodObject<{
3364
3821
  addressLine2?: string | null | undefined;
3365
3822
  addressLine3?: string | null | undefined;
3366
3823
  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<{
3824
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
+ firstname: z.ZodString;
3826
+ surname: z.ZodString;
3827
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
+ }, "strip", z.ZodTypeAny, {
3829
+ firstname: string;
3830
+ surname: string;
3831
+ middlename?: string | null | undefined;
3832
+ }, {
3833
+ firstname: string;
3834
+ surname: string;
3835
+ middlename?: string | null | undefined;
3836
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
+ 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
3838
  filename: z.ZodString;
3370
3839
  originalFilename: z.ZodString;
3371
3840
  type: z.ZodString;
@@ -3478,8 +3947,19 @@ export declare const EventDocument: z.ZodObject<{
3478
3947
  addressLine2?: string | null | undefined;
3479
3948
  addressLine3?: string | null | undefined;
3480
3949
  postcodeOrZip?: string | null | undefined;
3481
- }>]>>>;
3482
- createdAtLocation: z.ZodString;
3950
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
+ firstname: z.ZodString;
3952
+ surname: z.ZodString;
3953
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
+ }, "strip", z.ZodTypeAny, {
3955
+ firstname: string;
3956
+ surname: string;
3957
+ middlename?: string | null | undefined;
3958
+ }, {
3959
+ firstname: string;
3960
+ surname: string;
3961
+ middlename?: string | null | undefined;
3962
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3483
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3484
3964
  originalActionId: z.ZodOptional<z.ZodString>;
3485
3965
  }, {
@@ -3489,8 +3969,11 @@ export declare const EventDocument: z.ZodObject<{
3489
3969
  type: "ASSIGN";
3490
3970
  id: string;
3491
3971
  status: "Rejected" | "Requested" | "Accepted";
3972
+ transactionId: string;
3973
+ createdByUserType: "system" | "user";
3492
3974
  createdAt: string;
3493
3975
  createdBy: string;
3976
+ createdByRole: string;
3494
3977
  declaration: Record<string, string | number | boolean | {
3495
3978
  type: string;
3496
3979
  filename: string;
@@ -3506,6 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3506
3989
  residentialArea?: string | null | undefined;
3507
3990
  street?: string | null | undefined;
3508
3991
  zipCode?: string | null | undefined;
3992
+ } | {
3993
+ firstname: string;
3994
+ surname: string;
3995
+ middlename?: string | null | undefined;
3509
3996
  } | {
3510
3997
  country: string;
3511
3998
  district: string;
@@ -3528,9 +4015,10 @@ export declare const EventDocument: z.ZodObject<{
3528
4015
  option: string;
3529
4016
  filename: string;
3530
4017
  originalFilename: string;
3531
- }[] | undefined>;
3532
- createdAtLocation: string;
4018
+ }[] | [string, string] | null | undefined>;
3533
4019
  assignedTo: string;
4020
+ createdBySignature?: string | null | undefined;
4021
+ createdAtLocation?: string | null | undefined;
3534
4022
  annotation?: Record<string, string | number | boolean | {
3535
4023
  type: string;
3536
4024
  filename: string;
@@ -3546,6 +4034,10 @@ export declare const EventDocument: z.ZodObject<{
3546
4034
  residentialArea?: string | null | undefined;
3547
4035
  street?: string | null | undefined;
3548
4036
  zipCode?: string | null | undefined;
4037
+ } | {
4038
+ firstname: string;
4039
+ surname: string;
4040
+ middlename?: string | null | undefined;
3549
4041
  } | {
3550
4042
  country: string;
3551
4043
  district: string;
@@ -3568,14 +4060,17 @@ export declare const EventDocument: z.ZodObject<{
3568
4060
  option: string;
3569
4061
  filename: string;
3570
4062
  originalFilename: string;
3571
- }[] | undefined> | undefined;
4063
+ }[] | [string, string] | null | undefined> | undefined;
3572
4064
  originalActionId?: string | undefined;
3573
4065
  }, {
3574
4066
  type: "ASSIGN";
3575
4067
  id: string;
3576
4068
  status: "Rejected" | "Requested" | "Accepted";
4069
+ transactionId: string;
4070
+ createdByUserType: "system" | "user";
3577
4071
  createdAt: string;
3578
4072
  createdBy: string;
4073
+ createdByRole: string;
3579
4074
  declaration: Record<string, string | number | boolean | {
3580
4075
  type: string;
3581
4076
  filename: string;
@@ -3591,6 +4086,10 @@ export declare const EventDocument: z.ZodObject<{
3591
4086
  residentialArea?: string | null | undefined;
3592
4087
  street?: string | null | undefined;
3593
4088
  zipCode?: string | null | undefined;
4089
+ } | {
4090
+ firstname: string;
4091
+ surname: string;
4092
+ middlename?: string | null | undefined;
3594
4093
  } | {
3595
4094
  country: string;
3596
4095
  district: string;
@@ -3613,9 +4112,10 @@ export declare const EventDocument: z.ZodObject<{
3613
4112
  option: string;
3614
4113
  filename: string;
3615
4114
  originalFilename: string;
3616
- }[] | undefined>;
3617
- createdAtLocation: string;
4115
+ }[] | [string, string] | null | undefined>;
3618
4116
  assignedTo: string;
4117
+ createdBySignature?: string | null | undefined;
4118
+ createdAtLocation?: string | null | undefined;
3619
4119
  annotation?: Record<string, string | number | boolean | {
3620
4120
  type: string;
3621
4121
  filename: string;
@@ -3631,6 +4131,10 @@ export declare const EventDocument: z.ZodObject<{
3631
4131
  residentialArea?: string | null | undefined;
3632
4132
  street?: string | null | undefined;
3633
4133
  zipCode?: string | null | undefined;
4134
+ } | {
4135
+ firstname: string;
4136
+ surname: string;
4137
+ middlename?: string | null | undefined;
3634
4138
  } | {
3635
4139
  country: string;
3636
4140
  district: string;
@@ -3653,13 +4157,18 @@ export declare const EventDocument: z.ZodObject<{
3653
4157
  option: string;
3654
4158
  filename: string;
3655
4159
  originalFilename: string;
3656
- }[] | undefined> | undefined;
4160
+ }[] | [string, string] | null | undefined> | undefined;
3657
4161
  originalActionId?: string | undefined;
3658
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3659
4163
  id: z.ZodString;
4164
+ transactionId: z.ZodString;
4165
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3660
4166
  createdAt: z.ZodString;
3661
4167
  createdBy: z.ZodString;
3662
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4168
+ createdByRole: z.ZodString;
4169
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
+ 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
4172
  filename: z.ZodString;
3664
4173
  originalFilename: z.ZodString;
3665
4174
  type: z.ZodString;
@@ -3772,8 +4281,20 @@ export declare const EventDocument: z.ZodObject<{
3772
4281
  addressLine2?: string | null | undefined;
3773
4282
  addressLine3?: string | null | undefined;
3774
4283
  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<{
4284
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
+ firstname: z.ZodString;
4286
+ surname: z.ZodString;
4287
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ firstname: string;
4290
+ surname: string;
4291
+ middlename?: string | null | undefined;
4292
+ }, {
4293
+ firstname: string;
4294
+ surname: string;
4295
+ middlename?: string | null | undefined;
4296
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
+ 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
4298
  filename: z.ZodString;
3778
4299
  originalFilename: z.ZodString;
3779
4300
  type: z.ZodString;
@@ -3886,8 +4407,19 @@ export declare const EventDocument: z.ZodObject<{
3886
4407
  addressLine2?: string | null | undefined;
3887
4408
  addressLine3?: string | null | undefined;
3888
4409
  postcodeOrZip?: string | null | undefined;
3889
- }>]>>>;
3890
- createdAtLocation: z.ZodString;
4410
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
+ firstname: z.ZodString;
4412
+ surname: z.ZodString;
4413
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
+ }, "strip", z.ZodTypeAny, {
4415
+ firstname: string;
4416
+ surname: string;
4417
+ middlename?: string | null | undefined;
4418
+ }, {
4419
+ firstname: string;
4420
+ surname: string;
4421
+ middlename?: string | null | undefined;
4422
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3891
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3892
4424
  originalActionId: z.ZodOptional<z.ZodString>;
3893
4425
  }, {
@@ -3896,8 +4428,11 @@ export declare const EventDocument: z.ZodObject<{
3896
4428
  type: "REQUEST_CORRECTION";
3897
4429
  id: string;
3898
4430
  status: "Rejected" | "Requested" | "Accepted";
4431
+ transactionId: string;
4432
+ createdByUserType: "system" | "user";
3899
4433
  createdAt: string;
3900
4434
  createdBy: string;
4435
+ createdByRole: string;
3901
4436
  declaration: Record<string, string | number | boolean | {
3902
4437
  type: string;
3903
4438
  filename: string;
@@ -3913,6 +4448,10 @@ export declare const EventDocument: z.ZodObject<{
3913
4448
  residentialArea?: string | null | undefined;
3914
4449
  street?: string | null | undefined;
3915
4450
  zipCode?: string | null | undefined;
4451
+ } | {
4452
+ firstname: string;
4453
+ surname: string;
4454
+ middlename?: string | null | undefined;
3916
4455
  } | {
3917
4456
  country: string;
3918
4457
  district: string;
@@ -3935,8 +4474,9 @@ export declare const EventDocument: z.ZodObject<{
3935
4474
  option: string;
3936
4475
  filename: string;
3937
4476
  originalFilename: string;
3938
- }[] | undefined>;
3939
- createdAtLocation: string;
4477
+ }[] | [string, string] | null | undefined>;
4478
+ createdBySignature?: string | null | undefined;
4479
+ createdAtLocation?: string | null | undefined;
3940
4480
  annotation?: Record<string, string | number | boolean | {
3941
4481
  type: string;
3942
4482
  filename: string;
@@ -3952,6 +4492,10 @@ export declare const EventDocument: z.ZodObject<{
3952
4492
  residentialArea?: string | null | undefined;
3953
4493
  street?: string | null | undefined;
3954
4494
  zipCode?: string | null | undefined;
4495
+ } | {
4496
+ firstname: string;
4497
+ surname: string;
4498
+ middlename?: string | null | undefined;
3955
4499
  } | {
3956
4500
  country: string;
3957
4501
  district: string;
@@ -3974,14 +4518,17 @@ export declare const EventDocument: z.ZodObject<{
3974
4518
  option: string;
3975
4519
  filename: string;
3976
4520
  originalFilename: string;
3977
- }[] | undefined> | undefined;
4521
+ }[] | [string, string] | null | undefined> | undefined;
3978
4522
  originalActionId?: string | undefined;
3979
4523
  }, {
3980
4524
  type: "REQUEST_CORRECTION";
3981
4525
  id: string;
3982
4526
  status: "Rejected" | "Requested" | "Accepted";
4527
+ transactionId: string;
4528
+ createdByUserType: "system" | "user";
3983
4529
  createdAt: string;
3984
4530
  createdBy: string;
4531
+ createdByRole: string;
3985
4532
  declaration: Record<string, string | number | boolean | {
3986
4533
  type: string;
3987
4534
  filename: string;
@@ -3997,6 +4544,10 @@ export declare const EventDocument: z.ZodObject<{
3997
4544
  residentialArea?: string | null | undefined;
3998
4545
  street?: string | null | undefined;
3999
4546
  zipCode?: string | null | undefined;
4547
+ } | {
4548
+ firstname: string;
4549
+ surname: string;
4550
+ middlename?: string | null | undefined;
4000
4551
  } | {
4001
4552
  country: string;
4002
4553
  district: string;
@@ -4019,8 +4570,9 @@ export declare const EventDocument: z.ZodObject<{
4019
4570
  option: string;
4020
4571
  filename: string;
4021
4572
  originalFilename: string;
4022
- }[] | undefined>;
4023
- createdAtLocation: string;
4573
+ }[] | [string, string] | null | undefined>;
4574
+ createdBySignature?: string | null | undefined;
4575
+ createdAtLocation?: string | null | undefined;
4024
4576
  annotation?: Record<string, string | number | boolean | {
4025
4577
  type: string;
4026
4578
  filename: string;
@@ -4036,6 +4588,10 @@ export declare const EventDocument: z.ZodObject<{
4036
4588
  residentialArea?: string | null | undefined;
4037
4589
  street?: string | null | undefined;
4038
4590
  zipCode?: string | null | undefined;
4591
+ } | {
4592
+ firstname: string;
4593
+ surname: string;
4594
+ middlename?: string | null | undefined;
4039
4595
  } | {
4040
4596
  country: string;
4041
4597
  district: string;
@@ -4058,13 +4614,18 @@ export declare const EventDocument: z.ZodObject<{
4058
4614
  option: string;
4059
4615
  filename: string;
4060
4616
  originalFilename: string;
4061
- }[] | undefined> | undefined;
4617
+ }[] | [string, string] | null | undefined> | undefined;
4062
4618
  originalActionId?: string | undefined;
4063
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4064
4620
  id: z.ZodString;
4621
+ transactionId: z.ZodString;
4622
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4065
4623
  createdAt: z.ZodString;
4066
4624
  createdBy: z.ZodString;
4067
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4625
+ createdByRole: z.ZodString;
4626
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4628
+ 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
4629
  filename: z.ZodString;
4069
4630
  originalFilename: z.ZodString;
4070
4631
  type: z.ZodString;
@@ -4177,8 +4738,20 @@ export declare const EventDocument: z.ZodObject<{
4177
4738
  addressLine2?: string | null | undefined;
4178
4739
  addressLine3?: string | null | undefined;
4179
4740
  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<{
4741
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
+ firstname: z.ZodString;
4743
+ surname: z.ZodString;
4744
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
+ }, "strip", z.ZodTypeAny, {
4746
+ firstname: string;
4747
+ surname: string;
4748
+ middlename?: string | null | undefined;
4749
+ }, {
4750
+ firstname: string;
4751
+ surname: string;
4752
+ middlename?: string | null | undefined;
4753
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
+ 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
4755
  filename: z.ZodString;
4183
4756
  originalFilename: z.ZodString;
4184
4757
  type: z.ZodString;
@@ -4291,8 +4864,19 @@ export declare const EventDocument: z.ZodObject<{
4291
4864
  addressLine2?: string | null | undefined;
4292
4865
  addressLine3?: string | null | undefined;
4293
4866
  postcodeOrZip?: string | null | undefined;
4294
- }>]>>>;
4295
- createdAtLocation: z.ZodString;
4867
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
+ firstname: z.ZodString;
4869
+ surname: z.ZodString;
4870
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
+ }, "strip", z.ZodTypeAny, {
4872
+ firstname: string;
4873
+ surname: string;
4874
+ middlename?: string | null | undefined;
4875
+ }, {
4876
+ firstname: string;
4877
+ surname: string;
4878
+ middlename?: string | null | undefined;
4879
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4296
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4297
4881
  originalActionId: z.ZodOptional<z.ZodString>;
4298
4882
  }, {
@@ -4302,8 +4886,11 @@ export declare const EventDocument: z.ZodObject<{
4302
4886
  type: "APPROVE_CORRECTION";
4303
4887
  id: string;
4304
4888
  status: "Rejected" | "Requested" | "Accepted";
4889
+ transactionId: string;
4890
+ createdByUserType: "system" | "user";
4305
4891
  createdAt: string;
4306
4892
  createdBy: string;
4893
+ createdByRole: string;
4307
4894
  declaration: Record<string, string | number | boolean | {
4308
4895
  type: string;
4309
4896
  filename: string;
@@ -4319,6 +4906,10 @@ export declare const EventDocument: z.ZodObject<{
4319
4906
  residentialArea?: string | null | undefined;
4320
4907
  street?: string | null | undefined;
4321
4908
  zipCode?: string | null | undefined;
4909
+ } | {
4910
+ firstname: string;
4911
+ surname: string;
4912
+ middlename?: string | null | undefined;
4322
4913
  } | {
4323
4914
  country: string;
4324
4915
  district: string;
@@ -4341,9 +4932,10 @@ export declare const EventDocument: z.ZodObject<{
4341
4932
  option: string;
4342
4933
  filename: string;
4343
4934
  originalFilename: string;
4344
- }[] | undefined>;
4345
- createdAtLocation: string;
4935
+ }[] | [string, string] | null | undefined>;
4346
4936
  requestId: string;
4937
+ createdBySignature?: string | null | undefined;
4938
+ createdAtLocation?: string | null | undefined;
4347
4939
  annotation?: Record<string, string | number | boolean | {
4348
4940
  type: string;
4349
4941
  filename: string;
@@ -4359,6 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4359
4951
  residentialArea?: string | null | undefined;
4360
4952
  street?: string | null | undefined;
4361
4953
  zipCode?: string | null | undefined;
4954
+ } | {
4955
+ firstname: string;
4956
+ surname: string;
4957
+ middlename?: string | null | undefined;
4362
4958
  } | {
4363
4959
  country: string;
4364
4960
  district: string;
@@ -4381,14 +4977,17 @@ export declare const EventDocument: z.ZodObject<{
4381
4977
  option: string;
4382
4978
  filename: string;
4383
4979
  originalFilename: string;
4384
- }[] | undefined> | undefined;
4980
+ }[] | [string, string] | null | undefined> | undefined;
4385
4981
  originalActionId?: string | undefined;
4386
4982
  }, {
4387
4983
  type: "APPROVE_CORRECTION";
4388
4984
  id: string;
4389
4985
  status: "Rejected" | "Requested" | "Accepted";
4986
+ transactionId: string;
4987
+ createdByUserType: "system" | "user";
4390
4988
  createdAt: string;
4391
4989
  createdBy: string;
4990
+ createdByRole: string;
4392
4991
  declaration: Record<string, string | number | boolean | {
4393
4992
  type: string;
4394
4993
  filename: string;
@@ -4404,6 +5003,10 @@ export declare const EventDocument: z.ZodObject<{
4404
5003
  residentialArea?: string | null | undefined;
4405
5004
  street?: string | null | undefined;
4406
5005
  zipCode?: string | null | undefined;
5006
+ } | {
5007
+ firstname: string;
5008
+ surname: string;
5009
+ middlename?: string | null | undefined;
4407
5010
  } | {
4408
5011
  country: string;
4409
5012
  district: string;
@@ -4426,9 +5029,10 @@ export declare const EventDocument: z.ZodObject<{
4426
5029
  option: string;
4427
5030
  filename: string;
4428
5031
  originalFilename: string;
4429
- }[] | undefined>;
4430
- createdAtLocation: string;
5032
+ }[] | [string, string] | null | undefined>;
4431
5033
  requestId: string;
5034
+ createdBySignature?: string | null | undefined;
5035
+ createdAtLocation?: string | null | undefined;
4432
5036
  annotation?: Record<string, string | number | boolean | {
4433
5037
  type: string;
4434
5038
  filename: string;
@@ -4444,6 +5048,10 @@ export declare const EventDocument: z.ZodObject<{
4444
5048
  residentialArea?: string | null | undefined;
4445
5049
  street?: string | null | undefined;
4446
5050
  zipCode?: string | null | undefined;
5051
+ } | {
5052
+ firstname: string;
5053
+ surname: string;
5054
+ middlename?: string | null | undefined;
4447
5055
  } | {
4448
5056
  country: string;
4449
5057
  district: string;
@@ -4466,13 +5074,18 @@ export declare const EventDocument: z.ZodObject<{
4466
5074
  option: string;
4467
5075
  filename: string;
4468
5076
  originalFilename: string;
4469
- }[] | undefined> | undefined;
5077
+ }[] | [string, string] | null | undefined> | undefined;
4470
5078
  originalActionId?: string | undefined;
4471
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4472
5080
  id: z.ZodString;
5081
+ transactionId: z.ZodString;
5082
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4473
5083
  createdAt: z.ZodString;
4474
5084
  createdBy: z.ZodString;
4475
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5085
+ createdByRole: z.ZodString;
5086
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5088
+ 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
5089
  filename: z.ZodString;
4477
5090
  originalFilename: z.ZodString;
4478
5091
  type: z.ZodString;
@@ -4585,8 +5198,20 @@ export declare const EventDocument: z.ZodObject<{
4585
5198
  addressLine2?: string | null | undefined;
4586
5199
  addressLine3?: string | null | undefined;
4587
5200
  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<{
5201
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
+ firstname: z.ZodString;
5203
+ surname: z.ZodString;
5204
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ firstname: string;
5207
+ surname: string;
5208
+ middlename?: string | null | undefined;
5209
+ }, {
5210
+ firstname: string;
5211
+ surname: string;
5212
+ middlename?: string | null | undefined;
5213
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
+ 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
5215
  filename: z.ZodString;
4591
5216
  originalFilename: z.ZodString;
4592
5217
  type: z.ZodString;
@@ -4699,8 +5324,19 @@ export declare const EventDocument: z.ZodObject<{
4699
5324
  addressLine2?: string | null | undefined;
4700
5325
  addressLine3?: string | null | undefined;
4701
5326
  postcodeOrZip?: string | null | undefined;
4702
- }>]>>>;
4703
- createdAtLocation: z.ZodString;
5327
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
+ firstname: z.ZodString;
5329
+ surname: z.ZodString;
5330
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ }, "strip", z.ZodTypeAny, {
5332
+ firstname: string;
5333
+ surname: string;
5334
+ middlename?: string | null | undefined;
5335
+ }, {
5336
+ firstname: string;
5337
+ surname: string;
5338
+ middlename?: string | null | undefined;
5339
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4704
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4705
5341
  originalActionId: z.ZodOptional<z.ZodString>;
4706
5342
  }, {
@@ -4710,8 +5346,11 @@ export declare const EventDocument: z.ZodObject<{
4710
5346
  type: "REJECT_CORRECTION";
4711
5347
  id: string;
4712
5348
  status: "Rejected" | "Requested" | "Accepted";
5349
+ transactionId: string;
5350
+ createdByUserType: "system" | "user";
4713
5351
  createdAt: string;
4714
5352
  createdBy: string;
5353
+ createdByRole: string;
4715
5354
  declaration: Record<string, string | number | boolean | {
4716
5355
  type: string;
4717
5356
  filename: string;
@@ -4727,6 +5366,10 @@ export declare const EventDocument: z.ZodObject<{
4727
5366
  residentialArea?: string | null | undefined;
4728
5367
  street?: string | null | undefined;
4729
5368
  zipCode?: string | null | undefined;
5369
+ } | {
5370
+ firstname: string;
5371
+ surname: string;
5372
+ middlename?: string | null | undefined;
4730
5373
  } | {
4731
5374
  country: string;
4732
5375
  district: string;
@@ -4749,9 +5392,10 @@ export declare const EventDocument: z.ZodObject<{
4749
5392
  option: string;
4750
5393
  filename: string;
4751
5394
  originalFilename: string;
4752
- }[] | undefined>;
4753
- createdAtLocation: string;
5395
+ }[] | [string, string] | null | undefined>;
4754
5396
  requestId: string;
5397
+ createdBySignature?: string | null | undefined;
5398
+ createdAtLocation?: string | null | undefined;
4755
5399
  annotation?: Record<string, string | number | boolean | {
4756
5400
  type: string;
4757
5401
  filename: string;
@@ -4767,6 +5411,10 @@ export declare const EventDocument: z.ZodObject<{
4767
5411
  residentialArea?: string | null | undefined;
4768
5412
  street?: string | null | undefined;
4769
5413
  zipCode?: string | null | undefined;
5414
+ } | {
5415
+ firstname: string;
5416
+ surname: string;
5417
+ middlename?: string | null | undefined;
4770
5418
  } | {
4771
5419
  country: string;
4772
5420
  district: string;
@@ -4789,14 +5437,17 @@ export declare const EventDocument: z.ZodObject<{
4789
5437
  option: string;
4790
5438
  filename: string;
4791
5439
  originalFilename: string;
4792
- }[] | undefined> | undefined;
5440
+ }[] | [string, string] | null | undefined> | undefined;
4793
5441
  originalActionId?: string | undefined;
4794
5442
  }, {
4795
5443
  type: "REJECT_CORRECTION";
4796
5444
  id: string;
4797
5445
  status: "Rejected" | "Requested" | "Accepted";
5446
+ transactionId: string;
5447
+ createdByUserType: "system" | "user";
4798
5448
  createdAt: string;
4799
5449
  createdBy: string;
5450
+ createdByRole: string;
4800
5451
  declaration: Record<string, string | number | boolean | {
4801
5452
  type: string;
4802
5453
  filename: string;
@@ -4812,6 +5463,10 @@ export declare const EventDocument: z.ZodObject<{
4812
5463
  residentialArea?: string | null | undefined;
4813
5464
  street?: string | null | undefined;
4814
5465
  zipCode?: string | null | undefined;
5466
+ } | {
5467
+ firstname: string;
5468
+ surname: string;
5469
+ middlename?: string | null | undefined;
4815
5470
  } | {
4816
5471
  country: string;
4817
5472
  district: string;
@@ -4834,9 +5489,10 @@ export declare const EventDocument: z.ZodObject<{
4834
5489
  option: string;
4835
5490
  filename: string;
4836
5491
  originalFilename: string;
4837
- }[] | undefined>;
4838
- createdAtLocation: string;
5492
+ }[] | [string, string] | null | undefined>;
4839
5493
  requestId: string;
5494
+ createdBySignature?: string | null | undefined;
5495
+ createdAtLocation?: string | null | undefined;
4840
5496
  annotation?: Record<string, string | number | boolean | {
4841
5497
  type: string;
4842
5498
  filename: string;
@@ -4852,6 +5508,10 @@ export declare const EventDocument: z.ZodObject<{
4852
5508
  residentialArea?: string | null | undefined;
4853
5509
  street?: string | null | undefined;
4854
5510
  zipCode?: string | null | undefined;
5511
+ } | {
5512
+ firstname: string;
5513
+ surname: string;
5514
+ middlename?: string | null | undefined;
4855
5515
  } | {
4856
5516
  country: string;
4857
5517
  district: string;
@@ -4874,13 +5534,18 @@ export declare const EventDocument: z.ZodObject<{
4874
5534
  option: string;
4875
5535
  filename: string;
4876
5536
  originalFilename: string;
4877
- }[] | undefined> | undefined;
5537
+ }[] | [string, string] | null | undefined> | undefined;
4878
5538
  originalActionId?: string | undefined;
4879
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
4880
5540
  id: z.ZodString;
5541
+ transactionId: z.ZodString;
5542
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4881
5543
  createdAt: z.ZodString;
4882
5544
  createdBy: z.ZodString;
4883
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5545
+ createdByRole: z.ZodString;
5546
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5548
+ 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
5549
  filename: z.ZodString;
4885
5550
  originalFilename: z.ZodString;
4886
5551
  type: z.ZodString;
@@ -4993,8 +5658,20 @@ export declare const EventDocument: z.ZodObject<{
4993
5658
  addressLine2?: string | null | undefined;
4994
5659
  addressLine3?: string | null | undefined;
4995
5660
  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<{
5661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
+ firstname: z.ZodString;
5663
+ surname: z.ZodString;
5664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ firstname: string;
5667
+ surname: string;
5668
+ middlename?: string | null | undefined;
5669
+ }, {
5670
+ firstname: string;
5671
+ surname: string;
5672
+ middlename?: string | null | undefined;
5673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
+ 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
5675
  filename: z.ZodString;
4999
5676
  originalFilename: z.ZodString;
5000
5677
  type: z.ZodString;
@@ -5107,19 +5784,33 @@ export declare const EventDocument: z.ZodObject<{
5107
5784
  addressLine2?: string | null | undefined;
5108
5785
  addressLine3?: string | null | undefined;
5109
5786
  postcodeOrZip?: string | null | undefined;
5110
- }>]>>>;
5111
- createdAtLocation: z.ZodString;
5787
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
+ firstname: z.ZodString;
5789
+ surname: z.ZodString;
5790
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
+ }, "strip", z.ZodTypeAny, {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5795
+ }, {
5796
+ firstname: string;
5797
+ surname: string;
5798
+ middlename?: string | null | undefined;
5799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5112
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5113
5801
  originalActionId: z.ZodOptional<z.ZodString>;
5114
5802
  }, {
5115
5803
  type: z.ZodLiteral<"UNASSIGN">;
5116
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5804
+ assignedTo: z.ZodLiteral<null>;
5117
5805
  }>, "strip", z.ZodTypeAny, {
5118
5806
  type: "UNASSIGN";
5119
5807
  id: string;
5120
5808
  status: "Rejected" | "Requested" | "Accepted";
5809
+ transactionId: string;
5810
+ createdByUserType: "system" | "user";
5121
5811
  createdAt: string;
5122
5812
  createdBy: string;
5813
+ createdByRole: string;
5123
5814
  declaration: Record<string, string | number | boolean | {
5124
5815
  type: string;
5125
5816
  filename: string;
@@ -5135,6 +5826,10 @@ export declare const EventDocument: z.ZodObject<{
5135
5826
  residentialArea?: string | null | undefined;
5136
5827
  street?: string | null | undefined;
5137
5828
  zipCode?: string | null | undefined;
5829
+ } | {
5830
+ firstname: string;
5831
+ surname: string;
5832
+ middlename?: string | null | undefined;
5138
5833
  } | {
5139
5834
  country: string;
5140
5835
  district: string;
@@ -5157,9 +5852,10 @@ export declare const EventDocument: z.ZodObject<{
5157
5852
  option: string;
5158
5853
  filename: string;
5159
5854
  originalFilename: string;
5160
- }[] | undefined>;
5161
- createdAtLocation: string;
5855
+ }[] | [string, string] | null | undefined>;
5162
5856
  assignedTo: null;
5857
+ createdBySignature?: string | null | undefined;
5858
+ createdAtLocation?: string | null | undefined;
5163
5859
  annotation?: Record<string, string | number | boolean | {
5164
5860
  type: string;
5165
5861
  filename: string;
@@ -5175,6 +5871,10 @@ export declare const EventDocument: z.ZodObject<{
5175
5871
  residentialArea?: string | null | undefined;
5176
5872
  street?: string | null | undefined;
5177
5873
  zipCode?: string | null | undefined;
5874
+ } | {
5875
+ firstname: string;
5876
+ surname: string;
5877
+ middlename?: string | null | undefined;
5178
5878
  } | {
5179
5879
  country: string;
5180
5880
  district: string;
@@ -5197,14 +5897,17 @@ export declare const EventDocument: z.ZodObject<{
5197
5897
  option: string;
5198
5898
  filename: string;
5199
5899
  originalFilename: string;
5200
- }[] | undefined> | undefined;
5900
+ }[] | [string, string] | null | undefined> | undefined;
5201
5901
  originalActionId?: string | undefined;
5202
5902
  }, {
5203
5903
  type: "UNASSIGN";
5204
5904
  id: string;
5205
5905
  status: "Rejected" | "Requested" | "Accepted";
5906
+ transactionId: string;
5907
+ createdByUserType: "system" | "user";
5206
5908
  createdAt: string;
5207
5909
  createdBy: string;
5910
+ createdByRole: string;
5208
5911
  declaration: Record<string, string | number | boolean | {
5209
5912
  type: string;
5210
5913
  filename: string;
@@ -5220,6 +5923,10 @@ export declare const EventDocument: z.ZodObject<{
5220
5923
  residentialArea?: string | null | undefined;
5221
5924
  street?: string | null | undefined;
5222
5925
  zipCode?: string | null | undefined;
5926
+ } | {
5927
+ firstname: string;
5928
+ surname: string;
5929
+ middlename?: string | null | undefined;
5223
5930
  } | {
5224
5931
  country: string;
5225
5932
  district: string;
@@ -5242,8 +5949,10 @@ export declare const EventDocument: z.ZodObject<{
5242
5949
  option: string;
5243
5950
  filename: string;
5244
5951
  originalFilename: string;
5245
- }[] | undefined>;
5246
- createdAtLocation: string;
5952
+ }[] | [string, string] | null | undefined>;
5953
+ assignedTo: null;
5954
+ createdBySignature?: string | null | undefined;
5955
+ createdAtLocation?: string | null | undefined;
5247
5956
  annotation?: Record<string, string | number | boolean | {
5248
5957
  type: string;
5249
5958
  filename: string;
@@ -5259,6 +5968,10 @@ export declare const EventDocument: z.ZodObject<{
5259
5968
  residentialArea?: string | null | undefined;
5260
5969
  street?: string | null | undefined;
5261
5970
  zipCode?: string | null | undefined;
5971
+ } | {
5972
+ firstname: string;
5973
+ surname: string;
5974
+ middlename?: string | null | undefined;
5262
5975
  } | {
5263
5976
  country: string;
5264
5977
  district: string;
@@ -5281,14 +5994,18 @@ export declare const EventDocument: z.ZodObject<{
5281
5994
  option: string;
5282
5995
  filename: string;
5283
5996
  originalFilename: string;
5284
- }[] | undefined> | undefined;
5997
+ }[] | [string, string] | null | undefined> | undefined;
5285
5998
  originalActionId?: string | undefined;
5286
- assignedTo?: null | undefined;
5287
5999
  }>, z.ZodObject<z.objectUtil.extendShape<{
5288
6000
  id: z.ZodString;
6001
+ transactionId: z.ZodString;
6002
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5289
6003
  createdAt: z.ZodString;
5290
6004
  createdBy: z.ZodString;
5291
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6005
+ createdByRole: z.ZodString;
6006
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6007
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6008
+ 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
6009
  filename: z.ZodString;
5293
6010
  originalFilename: z.ZodString;
5294
6011
  type: z.ZodString;
@@ -5401,8 +6118,20 @@ export declare const EventDocument: z.ZodObject<{
5401
6118
  addressLine2?: string | null | undefined;
5402
6119
  addressLine3?: string | null | undefined;
5403
6120
  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<{
6121
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6122
+ firstname: z.ZodString;
6123
+ surname: z.ZodString;
6124
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
+ }, "strip", z.ZodTypeAny, {
6126
+ firstname: string;
6127
+ surname: string;
6128
+ middlename?: string | null | undefined;
6129
+ }, {
6130
+ firstname: string;
6131
+ surname: string;
6132
+ middlename?: string | null | undefined;
6133
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6134
+ 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
6135
  filename: z.ZodString;
5407
6136
  originalFilename: z.ZodString;
5408
6137
  type: z.ZodString;
@@ -5515,8 +6244,19 @@ export declare const EventDocument: z.ZodObject<{
5515
6244
  addressLine2?: string | null | undefined;
5516
6245
  addressLine3?: string | null | undefined;
5517
6246
  postcodeOrZip?: string | null | undefined;
5518
- }>]>>>;
5519
- createdAtLocation: z.ZodString;
6247
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6248
+ firstname: z.ZodString;
6249
+ surname: z.ZodString;
6250
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6251
+ }, "strip", z.ZodTypeAny, {
6252
+ firstname: string;
6253
+ surname: string;
6254
+ middlename?: string | null | undefined;
6255
+ }, {
6256
+ firstname: string;
6257
+ surname: string;
6258
+ middlename?: string | null | undefined;
6259
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5520
6260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5521
6261
  originalActionId: z.ZodOptional<z.ZodString>;
5522
6262
  }, {
@@ -5525,8 +6265,11 @@ export declare const EventDocument: z.ZodObject<{
5525
6265
  type: "PRINT_CERTIFICATE";
5526
6266
  id: string;
5527
6267
  status: "Rejected" | "Requested" | "Accepted";
6268
+ transactionId: string;
6269
+ createdByUserType: "system" | "user";
5528
6270
  createdAt: string;
5529
6271
  createdBy: string;
6272
+ createdByRole: string;
5530
6273
  declaration: Record<string, string | number | boolean | {
5531
6274
  type: string;
5532
6275
  filename: string;
@@ -5542,6 +6285,10 @@ export declare const EventDocument: z.ZodObject<{
5542
6285
  residentialArea?: string | null | undefined;
5543
6286
  street?: string | null | undefined;
5544
6287
  zipCode?: string | null | undefined;
6288
+ } | {
6289
+ firstname: string;
6290
+ surname: string;
6291
+ middlename?: string | null | undefined;
5545
6292
  } | {
5546
6293
  country: string;
5547
6294
  district: string;
@@ -5564,8 +6311,9 @@ export declare const EventDocument: z.ZodObject<{
5564
6311
  option: string;
5565
6312
  filename: string;
5566
6313
  originalFilename: string;
5567
- }[] | undefined>;
5568
- createdAtLocation: string;
6314
+ }[] | [string, string] | null | undefined>;
6315
+ createdBySignature?: string | null | undefined;
6316
+ createdAtLocation?: string | null | undefined;
5569
6317
  annotation?: Record<string, string | number | boolean | {
5570
6318
  type: string;
5571
6319
  filename: string;
@@ -5581,6 +6329,10 @@ export declare const EventDocument: z.ZodObject<{
5581
6329
  residentialArea?: string | null | undefined;
5582
6330
  street?: string | null | undefined;
5583
6331
  zipCode?: string | null | undefined;
6332
+ } | {
6333
+ firstname: string;
6334
+ surname: string;
6335
+ middlename?: string | null | undefined;
5584
6336
  } | {
5585
6337
  country: string;
5586
6338
  district: string;
@@ -5603,14 +6355,17 @@ export declare const EventDocument: z.ZodObject<{
5603
6355
  option: string;
5604
6356
  filename: string;
5605
6357
  originalFilename: string;
5606
- }[] | undefined> | undefined;
6358
+ }[] | [string, string] | null | undefined> | undefined;
5607
6359
  originalActionId?: string | undefined;
5608
6360
  }, {
5609
6361
  type: "PRINT_CERTIFICATE";
5610
6362
  id: string;
5611
6363
  status: "Rejected" | "Requested" | "Accepted";
6364
+ transactionId: string;
6365
+ createdByUserType: "system" | "user";
5612
6366
  createdAt: string;
5613
6367
  createdBy: string;
6368
+ createdByRole: string;
5614
6369
  declaration: Record<string, string | number | boolean | {
5615
6370
  type: string;
5616
6371
  filename: string;
@@ -5626,6 +6381,10 @@ export declare const EventDocument: z.ZodObject<{
5626
6381
  residentialArea?: string | null | undefined;
5627
6382
  street?: string | null | undefined;
5628
6383
  zipCode?: string | null | undefined;
6384
+ } | {
6385
+ firstname: string;
6386
+ surname: string;
6387
+ middlename?: string | null | undefined;
5629
6388
  } | {
5630
6389
  country: string;
5631
6390
  district: string;
@@ -5648,8 +6407,9 @@ export declare const EventDocument: z.ZodObject<{
5648
6407
  option: string;
5649
6408
  filename: string;
5650
6409
  originalFilename: string;
5651
- }[] | undefined>;
5652
- createdAtLocation: string;
6410
+ }[] | [string, string] | null | undefined>;
6411
+ createdBySignature?: string | null | undefined;
6412
+ createdAtLocation?: string | null | undefined;
5653
6413
  annotation?: Record<string, string | number | boolean | {
5654
6414
  type: string;
5655
6415
  filename: string;
@@ -5665,6 +6425,10 @@ export declare const EventDocument: z.ZodObject<{
5665
6425
  residentialArea?: string | null | undefined;
5666
6426
  street?: string | null | undefined;
5667
6427
  zipCode?: string | null | undefined;
6428
+ } | {
6429
+ firstname: string;
6430
+ surname: string;
6431
+ middlename?: string | null | undefined;
5668
6432
  } | {
5669
6433
  country: string;
5670
6434
  district: string;
@@ -5687,13 +6451,18 @@ export declare const EventDocument: z.ZodObject<{
5687
6451
  option: string;
5688
6452
  filename: string;
5689
6453
  originalFilename: string;
5690
- }[] | undefined> | undefined;
6454
+ }[] | [string, string] | null | undefined> | undefined;
5691
6455
  originalActionId?: string | undefined;
5692
6456
  }>, z.ZodObject<z.objectUtil.extendShape<{
5693
6457
  id: z.ZodString;
6458
+ transactionId: z.ZodString;
6459
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5694
6460
  createdAt: z.ZodString;
5695
6461
  createdBy: z.ZodString;
5696
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6462
+ createdByRole: z.ZodString;
6463
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6464
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6465
+ 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
6466
  filename: z.ZodString;
5698
6467
  originalFilename: z.ZodString;
5699
6468
  type: z.ZodString;
@@ -5806,8 +6575,20 @@ export declare const EventDocument: z.ZodObject<{
5806
6575
  addressLine2?: string | null | undefined;
5807
6576
  addressLine3?: string | null | undefined;
5808
6577
  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<{
6578
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6579
+ firstname: z.ZodString;
6580
+ surname: z.ZodString;
6581
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6582
+ }, "strip", z.ZodTypeAny, {
6583
+ firstname: string;
6584
+ surname: string;
6585
+ middlename?: string | null | undefined;
6586
+ }, {
6587
+ firstname: string;
6588
+ surname: string;
6589
+ middlename?: string | null | undefined;
6590
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6591
+ 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
6592
  filename: z.ZodString;
5812
6593
  originalFilename: z.ZodString;
5813
6594
  type: z.ZodString;
@@ -5920,8 +6701,19 @@ export declare const EventDocument: z.ZodObject<{
5920
6701
  addressLine2?: string | null | undefined;
5921
6702
  addressLine3?: string | null | undefined;
5922
6703
  postcodeOrZip?: string | null | undefined;
5923
- }>]>>>;
5924
- createdAtLocation: z.ZodString;
6704
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6705
+ firstname: z.ZodString;
6706
+ surname: z.ZodString;
6707
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6708
+ }, "strip", z.ZodTypeAny, {
6709
+ firstname: string;
6710
+ surname: string;
6711
+ middlename?: string | null | undefined;
6712
+ }, {
6713
+ firstname: string;
6714
+ surname: string;
6715
+ middlename?: string | null | undefined;
6716
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5925
6717
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5926
6718
  originalActionId: z.ZodOptional<z.ZodString>;
5927
6719
  }, {
@@ -5930,8 +6722,11 @@ export declare const EventDocument: z.ZodObject<{
5930
6722
  type: "READ";
5931
6723
  id: string;
5932
6724
  status: "Rejected" | "Requested" | "Accepted";
6725
+ transactionId: string;
6726
+ createdByUserType: "system" | "user";
5933
6727
  createdAt: string;
5934
6728
  createdBy: string;
6729
+ createdByRole: string;
5935
6730
  declaration: Record<string, string | number | boolean | {
5936
6731
  type: string;
5937
6732
  filename: string;
@@ -5947,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
5947
6742
  residentialArea?: string | null | undefined;
5948
6743
  street?: string | null | undefined;
5949
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
5950
6749
  } | {
5951
6750
  country: string;
5952
6751
  district: string;
@@ -5969,8 +6768,9 @@ export declare const EventDocument: z.ZodObject<{
5969
6768
  option: string;
5970
6769
  filename: string;
5971
6770
  originalFilename: string;
5972
- }[] | undefined>;
5973
- createdAtLocation: string;
6771
+ }[] | [string, string] | null | undefined>;
6772
+ createdBySignature?: string | null | undefined;
6773
+ createdAtLocation?: string | null | undefined;
5974
6774
  annotation?: Record<string, string | number | boolean | {
5975
6775
  type: string;
5976
6776
  filename: string;
@@ -5986,6 +6786,10 @@ export declare const EventDocument: z.ZodObject<{
5986
6786
  residentialArea?: string | null | undefined;
5987
6787
  street?: string | null | undefined;
5988
6788
  zipCode?: string | null | undefined;
6789
+ } | {
6790
+ firstname: string;
6791
+ surname: string;
6792
+ middlename?: string | null | undefined;
5989
6793
  } | {
5990
6794
  country: string;
5991
6795
  district: string;
@@ -6008,14 +6812,17 @@ export declare const EventDocument: z.ZodObject<{
6008
6812
  option: string;
6009
6813
  filename: string;
6010
6814
  originalFilename: string;
6011
- }[] | undefined> | undefined;
6815
+ }[] | [string, string] | null | undefined> | undefined;
6012
6816
  originalActionId?: string | undefined;
6013
6817
  }, {
6014
6818
  type: "READ";
6015
6819
  id: string;
6016
6820
  status: "Rejected" | "Requested" | "Accepted";
6821
+ transactionId: string;
6822
+ createdByUserType: "system" | "user";
6017
6823
  createdAt: string;
6018
6824
  createdBy: string;
6825
+ createdByRole: string;
6019
6826
  declaration: Record<string, string | number | boolean | {
6020
6827
  type: string;
6021
6828
  filename: string;
@@ -6031,6 +6838,10 @@ export declare const EventDocument: z.ZodObject<{
6031
6838
  residentialArea?: string | null | undefined;
6032
6839
  street?: string | null | undefined;
6033
6840
  zipCode?: string | null | undefined;
6841
+ } | {
6842
+ firstname: string;
6843
+ surname: string;
6844
+ middlename?: string | null | undefined;
6034
6845
  } | {
6035
6846
  country: string;
6036
6847
  district: string;
@@ -6053,8 +6864,9 @@ export declare const EventDocument: z.ZodObject<{
6053
6864
  option: string;
6054
6865
  filename: string;
6055
6866
  originalFilename: string;
6056
- }[] | undefined>;
6057
- createdAtLocation: string;
6867
+ }[] | [string, string] | null | undefined>;
6868
+ createdBySignature?: string | null | undefined;
6869
+ createdAtLocation?: string | null | undefined;
6058
6870
  annotation?: Record<string, string | number | boolean | {
6059
6871
  type: string;
6060
6872
  filename: string;
@@ -6070,6 +6882,10 @@ export declare const EventDocument: z.ZodObject<{
6070
6882
  residentialArea?: string | null | undefined;
6071
6883
  street?: string | null | undefined;
6072
6884
  zipCode?: string | null | undefined;
6885
+ } | {
6886
+ firstname: string;
6887
+ surname: string;
6888
+ middlename?: string | null | undefined;
6073
6889
  } | {
6074
6890
  country: string;
6075
6891
  district: string;
@@ -6092,13 +6908,18 @@ export declare const EventDocument: z.ZodObject<{
6092
6908
  option: string;
6093
6909
  filename: string;
6094
6910
  originalFilename: string;
6095
- }[] | undefined> | undefined;
6911
+ }[] | [string, string] | null | undefined> | undefined;
6096
6912
  originalActionId?: string | undefined;
6097
6913
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6098
6914
  id: z.ZodString;
6915
+ transactionId: z.ZodString;
6916
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6099
6917
  createdAt: z.ZodString;
6100
6918
  createdBy: z.ZodString;
6101
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6919
+ createdByRole: z.ZodString;
6920
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6922
+ 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
6923
  filename: z.ZodString;
6103
6924
  originalFilename: z.ZodString;
6104
6925
  type: z.ZodString;
@@ -6211,8 +7032,20 @@ export declare const EventDocument: z.ZodObject<{
6211
7032
  addressLine2?: string | null | undefined;
6212
7033
  addressLine3?: string | null | undefined;
6213
7034
  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<{
7035
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7038
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
+ }, "strip", z.ZodTypeAny, {
7040
+ firstname: string;
7041
+ surname: string;
7042
+ middlename?: string | null | undefined;
7043
+ }, {
7044
+ firstname: string;
7045
+ surname: string;
7046
+ middlename?: string | null | undefined;
7047
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7048
+ 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
7049
  filename: z.ZodString;
6217
7050
  originalFilename: z.ZodString;
6218
7051
  type: z.ZodString;
@@ -6325,24 +7158,47 @@ export declare const EventDocument: z.ZodObject<{
6325
7158
  addressLine2?: string | null | undefined;
6326
7159
  addressLine3?: string | null | undefined;
6327
7160
  postcodeOrZip?: string | null | undefined;
6328
- }>]>>>;
6329
- createdAtLocation: z.ZodString;
7161
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7162
+ firstname: z.ZodString;
7163
+ surname: z.ZodString;
7164
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7165
+ }, "strip", z.ZodTypeAny, {
7166
+ firstname: string;
7167
+ surname: string;
7168
+ middlename?: string | null | undefined;
7169
+ }, {
7170
+ firstname: string;
7171
+ surname: string;
7172
+ middlename?: string | null | undefined;
7173
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6330
7174
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6331
7175
  originalActionId: z.ZodOptional<z.ZodString>;
6332
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7176
+ }, "declaration" | "annotation">, {
6333
7177
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6334
7178
  status: z.ZodLiteral<"Rejected">;
6335
7179
  }>, "strip", z.ZodTypeAny, {
6336
7180
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6337
7181
  id: string;
6338
7182
  status: "Rejected";
7183
+ transactionId: string;
7184
+ createdByUserType: "system" | "user";
6339
7185
  createdAt: string;
7186
+ createdBy: string;
7187
+ createdByRole: string;
7188
+ createdBySignature?: string | null | undefined;
7189
+ createdAtLocation?: string | null | undefined;
6340
7190
  originalActionId?: string | undefined;
6341
7191
  }, {
6342
7192
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6343
7193
  id: string;
6344
7194
  status: "Rejected";
7195
+ transactionId: string;
7196
+ createdByUserType: "system" | "user";
6345
7197
  createdAt: string;
7198
+ createdBy: string;
7199
+ createdByRole: string;
7200
+ createdBySignature?: string | null | undefined;
7201
+ createdAtLocation?: string | null | undefined;
6346
7202
  originalActionId?: string | undefined;
6347
7203
  }>]>, "many">;
6348
7204
  trackingId: z.ZodString;
@@ -6355,8 +7211,11 @@ export declare const EventDocument: z.ZodObject<{
6355
7211
  type: "ASSIGN";
6356
7212
  id: string;
6357
7213
  status: "Rejected" | "Requested" | "Accepted";
7214
+ transactionId: string;
7215
+ createdByUserType: "system" | "user";
6358
7216
  createdAt: string;
6359
7217
  createdBy: string;
7218
+ createdByRole: string;
6360
7219
  declaration: Record<string, string | number | boolean | {
6361
7220
  type: string;
6362
7221
  filename: string;
@@ -6372,6 +7231,10 @@ export declare const EventDocument: z.ZodObject<{
6372
7231
  residentialArea?: string | null | undefined;
6373
7232
  street?: string | null | undefined;
6374
7233
  zipCode?: string | null | undefined;
7234
+ } | {
7235
+ firstname: string;
7236
+ surname: string;
7237
+ middlename?: string | null | undefined;
6375
7238
  } | {
6376
7239
  country: string;
6377
7240
  district: string;
@@ -6394,9 +7257,10 @@ export declare const EventDocument: z.ZodObject<{
6394
7257
  option: string;
6395
7258
  filename: string;
6396
7259
  originalFilename: string;
6397
- }[] | undefined>;
6398
- createdAtLocation: string;
7260
+ }[] | [string, string] | null | undefined>;
6399
7261
  assignedTo: string;
7262
+ createdBySignature?: string | null | undefined;
7263
+ createdAtLocation?: string | null | undefined;
6400
7264
  annotation?: Record<string, string | number | boolean | {
6401
7265
  type: string;
6402
7266
  filename: string;
@@ -6412,6 +7276,10 @@ export declare const EventDocument: z.ZodObject<{
6412
7276
  residentialArea?: string | null | undefined;
6413
7277
  street?: string | null | undefined;
6414
7278
  zipCode?: string | null | undefined;
7279
+ } | {
7280
+ firstname: string;
7281
+ surname: string;
7282
+ middlename?: string | null | undefined;
6415
7283
  } | {
6416
7284
  country: string;
6417
7285
  district: string;
@@ -6434,14 +7302,17 @@ export declare const EventDocument: z.ZodObject<{
6434
7302
  option: string;
6435
7303
  filename: string;
6436
7304
  originalFilename: string;
6437
- }[] | undefined> | undefined;
7305
+ }[] | [string, string] | null | undefined> | undefined;
6438
7306
  originalActionId?: string | undefined;
6439
7307
  } | {
6440
7308
  type: "UNASSIGN";
6441
7309
  id: string;
6442
7310
  status: "Rejected" | "Requested" | "Accepted";
7311
+ transactionId: string;
7312
+ createdByUserType: "system" | "user";
6443
7313
  createdAt: string;
6444
7314
  createdBy: string;
7315
+ createdByRole: string;
6445
7316
  declaration: Record<string, string | number | boolean | {
6446
7317
  type: string;
6447
7318
  filename: string;
@@ -6457,6 +7328,10 @@ export declare const EventDocument: z.ZodObject<{
6457
7328
  residentialArea?: string | null | undefined;
6458
7329
  street?: string | null | undefined;
6459
7330
  zipCode?: string | null | undefined;
7331
+ } | {
7332
+ firstname: string;
7333
+ surname: string;
7334
+ middlename?: string | null | undefined;
6460
7335
  } | {
6461
7336
  country: string;
6462
7337
  district: string;
@@ -6479,9 +7354,10 @@ export declare const EventDocument: z.ZodObject<{
6479
7354
  option: string;
6480
7355
  filename: string;
6481
7356
  originalFilename: string;
6482
- }[] | undefined>;
6483
- createdAtLocation: string;
7357
+ }[] | [string, string] | null | undefined>;
6484
7358
  assignedTo: null;
7359
+ createdBySignature?: string | null | undefined;
7360
+ createdAtLocation?: string | null | undefined;
6485
7361
  annotation?: Record<string, string | number | boolean | {
6486
7362
  type: string;
6487
7363
  filename: string;
@@ -6497,6 +7373,10 @@ export declare const EventDocument: z.ZodObject<{
6497
7373
  residentialArea?: string | null | undefined;
6498
7374
  street?: string | null | undefined;
6499
7375
  zipCode?: string | null | undefined;
7376
+ } | {
7377
+ firstname: string;
7378
+ surname: string;
7379
+ middlename?: string | null | undefined;
6500
7380
  } | {
6501
7381
  country: string;
6502
7382
  district: string;
@@ -6519,14 +7399,17 @@ export declare const EventDocument: z.ZodObject<{
6519
7399
  option: string;
6520
7400
  filename: string;
6521
7401
  originalFilename: string;
6522
- }[] | undefined> | undefined;
7402
+ }[] | [string, string] | null | undefined> | undefined;
6523
7403
  originalActionId?: string | undefined;
6524
7404
  } | {
6525
7405
  type: "REGISTER";
6526
7406
  id: string;
6527
7407
  status: "Rejected" | "Requested" | "Accepted";
7408
+ transactionId: string;
7409
+ createdByUserType: "system" | "user";
6528
7410
  createdAt: string;
6529
7411
  createdBy: string;
7412
+ createdByRole: string;
6530
7413
  declaration: Record<string, string | number | boolean | {
6531
7414
  type: string;
6532
7415
  filename: string;
@@ -6542,6 +7425,10 @@ export declare const EventDocument: z.ZodObject<{
6542
7425
  residentialArea?: string | null | undefined;
6543
7426
  street?: string | null | undefined;
6544
7427
  zipCode?: string | null | undefined;
7428
+ } | {
7429
+ firstname: string;
7430
+ surname: string;
7431
+ middlename?: string | null | undefined;
6545
7432
  } | {
6546
7433
  country: string;
6547
7434
  district: string;
@@ -6564,8 +7451,9 @@ export declare const EventDocument: z.ZodObject<{
6564
7451
  option: string;
6565
7452
  filename: string;
6566
7453
  originalFilename: string;
6567
- }[] | undefined>;
6568
- createdAtLocation: string;
7454
+ }[] | [string, string] | null | undefined>;
7455
+ createdBySignature?: string | null | undefined;
7456
+ createdAtLocation?: string | null | undefined;
6569
7457
  annotation?: Record<string, string | number | boolean | {
6570
7458
  type: string;
6571
7459
  filename: string;
@@ -6581,6 +7469,10 @@ export declare const EventDocument: z.ZodObject<{
6581
7469
  residentialArea?: string | null | undefined;
6582
7470
  street?: string | null | undefined;
6583
7471
  zipCode?: string | null | undefined;
7472
+ } | {
7473
+ firstname: string;
7474
+ surname: string;
7475
+ middlename?: string | null | undefined;
6584
7476
  } | {
6585
7477
  country: string;
6586
7478
  district: string;
@@ -6603,15 +7495,18 @@ export declare const EventDocument: z.ZodObject<{
6603
7495
  option: string;
6604
7496
  filename: string;
6605
7497
  originalFilename: string;
6606
- }[] | undefined> | undefined;
7498
+ }[] | [string, string] | null | undefined> | undefined;
6607
7499
  originalActionId?: string | undefined;
6608
7500
  registrationNumber?: string | undefined;
6609
7501
  } | {
6610
7502
  type: "DECLARE";
6611
7503
  id: string;
6612
7504
  status: "Rejected" | "Requested" | "Accepted";
7505
+ transactionId: string;
7506
+ createdByUserType: "system" | "user";
6613
7507
  createdAt: string;
6614
7508
  createdBy: string;
7509
+ createdByRole: string;
6615
7510
  declaration: Record<string, string | number | boolean | {
6616
7511
  type: string;
6617
7512
  filename: string;
@@ -6627,6 +7522,10 @@ export declare const EventDocument: z.ZodObject<{
6627
7522
  residentialArea?: string | null | undefined;
6628
7523
  street?: string | null | undefined;
6629
7524
  zipCode?: string | null | undefined;
7525
+ } | {
7526
+ firstname: string;
7527
+ surname: string;
7528
+ middlename?: string | null | undefined;
6630
7529
  } | {
6631
7530
  country: string;
6632
7531
  district: string;
@@ -6649,8 +7548,9 @@ export declare const EventDocument: z.ZodObject<{
6649
7548
  option: string;
6650
7549
  filename: string;
6651
7550
  originalFilename: string;
6652
- }[] | undefined>;
6653
- createdAtLocation: string;
7551
+ }[] | [string, string] | null | undefined>;
7552
+ createdBySignature?: string | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
6654
7554
  annotation?: Record<string, string | number | boolean | {
6655
7555
  type: string;
6656
7556
  filename: string;
@@ -6666,6 +7566,10 @@ export declare const EventDocument: z.ZodObject<{
6666
7566
  residentialArea?: string | null | undefined;
6667
7567
  street?: string | null | undefined;
6668
7568
  zipCode?: string | null | undefined;
7569
+ } | {
7570
+ firstname: string;
7571
+ surname: string;
7572
+ middlename?: string | null | undefined;
6669
7573
  } | {
6670
7574
  country: string;
6671
7575
  district: string;
@@ -6688,14 +7592,17 @@ export declare const EventDocument: z.ZodObject<{
6688
7592
  option: string;
6689
7593
  filename: string;
6690
7594
  originalFilename: string;
6691
- }[] | undefined> | undefined;
7595
+ }[] | [string, string] | null | undefined> | undefined;
6692
7596
  originalActionId?: string | undefined;
6693
7597
  } | {
6694
7598
  type: "VALIDATE";
6695
7599
  id: string;
6696
7600
  status: "Rejected" | "Requested" | "Accepted";
7601
+ transactionId: string;
7602
+ createdByUserType: "system" | "user";
6697
7603
  createdAt: string;
6698
7604
  createdBy: string;
7605
+ createdByRole: string;
6699
7606
  declaration: Record<string, string | number | boolean | {
6700
7607
  type: string;
6701
7608
  filename: string;
@@ -6711,6 +7618,10 @@ export declare const EventDocument: z.ZodObject<{
6711
7618
  residentialArea?: string | null | undefined;
6712
7619
  street?: string | null | undefined;
6713
7620
  zipCode?: string | null | undefined;
7621
+ } | {
7622
+ firstname: string;
7623
+ surname: string;
7624
+ middlename?: string | null | undefined;
6714
7625
  } | {
6715
7626
  country: string;
6716
7627
  district: string;
@@ -6733,8 +7644,9 @@ export declare const EventDocument: z.ZodObject<{
6733
7644
  option: string;
6734
7645
  filename: string;
6735
7646
  originalFilename: string;
6736
- }[] | undefined>;
6737
- createdAtLocation: string;
7647
+ }[] | [string, string] | null | undefined>;
7648
+ createdBySignature?: string | null | undefined;
7649
+ createdAtLocation?: string | null | undefined;
6738
7650
  annotation?: Record<string, string | number | boolean | {
6739
7651
  type: string;
6740
7652
  filename: string;
@@ -6750,6 +7662,10 @@ export declare const EventDocument: z.ZodObject<{
6750
7662
  residentialArea?: string | null | undefined;
6751
7663
  street?: string | null | undefined;
6752
7664
  zipCode?: string | null | undefined;
7665
+ } | {
7666
+ firstname: string;
7667
+ surname: string;
7668
+ middlename?: string | null | undefined;
6753
7669
  } | {
6754
7670
  country: string;
6755
7671
  district: string;
@@ -6772,14 +7688,21 @@ export declare const EventDocument: z.ZodObject<{
6772
7688
  option: string;
6773
7689
  filename: string;
6774
7690
  originalFilename: string;
6775
- }[] | undefined> | undefined;
7691
+ }[] | [string, string] | null | undefined> | undefined;
6776
7692
  originalActionId?: string | undefined;
6777
7693
  } | {
6778
7694
  type: "REJECT";
6779
7695
  id: string;
6780
7696
  status: "Rejected" | "Requested" | "Accepted";
7697
+ reason: {
7698
+ message: string;
7699
+ isDuplicate?: boolean | undefined;
7700
+ };
7701
+ transactionId: string;
7702
+ createdByUserType: "system" | "user";
6781
7703
  createdAt: string;
6782
7704
  createdBy: string;
7705
+ createdByRole: string;
6783
7706
  declaration: Record<string, string | number | boolean | {
6784
7707
  type: string;
6785
7708
  filename: string;
@@ -6795,6 +7718,10 @@ export declare const EventDocument: z.ZodObject<{
6795
7718
  residentialArea?: string | null | undefined;
6796
7719
  street?: string | null | undefined;
6797
7720
  zipCode?: string | null | undefined;
7721
+ } | {
7722
+ firstname: string;
7723
+ surname: string;
7724
+ middlename?: string | null | undefined;
6798
7725
  } | {
6799
7726
  country: string;
6800
7727
  district: string;
@@ -6817,8 +7744,9 @@ export declare const EventDocument: z.ZodObject<{
6817
7744
  option: string;
6818
7745
  filename: string;
6819
7746
  originalFilename: string;
6820
- }[] | undefined>;
6821
- createdAtLocation: string;
7747
+ }[] | [string, string] | null | undefined>;
7748
+ createdBySignature?: string | null | undefined;
7749
+ createdAtLocation?: string | null | undefined;
6822
7750
  annotation?: Record<string, string | number | boolean | {
6823
7751
  type: string;
6824
7752
  filename: string;
@@ -6834,6 +7762,10 @@ export declare const EventDocument: z.ZodObject<{
6834
7762
  residentialArea?: string | null | undefined;
6835
7763
  street?: string | null | undefined;
6836
7764
  zipCode?: string | null | undefined;
7765
+ } | {
7766
+ firstname: string;
7767
+ surname: string;
7768
+ middlename?: string | null | undefined;
6837
7769
  } | {
6838
7770
  country: string;
6839
7771
  district: string;
@@ -6856,14 +7788,17 @@ export declare const EventDocument: z.ZodObject<{
6856
7788
  option: string;
6857
7789
  filename: string;
6858
7790
  originalFilename: string;
6859
- }[] | undefined> | undefined;
7791
+ }[] | [string, string] | null | undefined> | undefined;
6860
7792
  originalActionId?: string | undefined;
6861
7793
  } | {
6862
7794
  type: "MARKED_AS_DUPLICATE";
6863
7795
  id: string;
6864
7796
  status: "Rejected" | "Requested" | "Accepted";
7797
+ transactionId: string;
7798
+ createdByUserType: "system" | "user";
6865
7799
  createdAt: string;
6866
7800
  createdBy: string;
7801
+ createdByRole: string;
6867
7802
  declaration: Record<string, string | number | boolean | {
6868
7803
  type: string;
6869
7804
  filename: string;
@@ -6879,6 +7814,10 @@ export declare const EventDocument: z.ZodObject<{
6879
7814
  residentialArea?: string | null | undefined;
6880
7815
  street?: string | null | undefined;
6881
7816
  zipCode?: string | null | undefined;
7817
+ } | {
7818
+ firstname: string;
7819
+ surname: string;
7820
+ middlename?: string | null | undefined;
6882
7821
  } | {
6883
7822
  country: string;
6884
7823
  district: string;
@@ -6901,8 +7840,9 @@ export declare const EventDocument: z.ZodObject<{
6901
7840
  option: string;
6902
7841
  filename: string;
6903
7842
  originalFilename: string;
6904
- }[] | undefined>;
6905
- createdAtLocation: string;
7843
+ }[] | [string, string] | null | undefined>;
7844
+ createdBySignature?: string | null | undefined;
7845
+ createdAtLocation?: string | null | undefined;
6906
7846
  annotation?: Record<string, string | number | boolean | {
6907
7847
  type: string;
6908
7848
  filename: string;
@@ -6918,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
6918
7858
  residentialArea?: string | null | undefined;
6919
7859
  street?: string | null | undefined;
6920
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
6921
7865
  } | {
6922
7866
  country: string;
6923
7867
  district: string;
@@ -6940,14 +7884,21 @@ export declare const EventDocument: z.ZodObject<{
6940
7884
  option: string;
6941
7885
  filename: string;
6942
7886
  originalFilename: string;
6943
- }[] | undefined> | undefined;
7887
+ }[] | [string, string] | null | undefined> | undefined;
6944
7888
  originalActionId?: string | undefined;
6945
7889
  } | {
6946
7890
  type: "ARCHIVE";
6947
7891
  id: string;
6948
7892
  status: "Rejected" | "Requested" | "Accepted";
7893
+ reason: {
7894
+ message: string;
7895
+ isDuplicate?: boolean | undefined;
7896
+ };
7897
+ transactionId: string;
7898
+ createdByUserType: "system" | "user";
6949
7899
  createdAt: string;
6950
7900
  createdBy: string;
7901
+ createdByRole: string;
6951
7902
  declaration: Record<string, string | number | boolean | {
6952
7903
  type: string;
6953
7904
  filename: string;
@@ -6963,6 +7914,10 @@ export declare const EventDocument: z.ZodObject<{
6963
7914
  residentialArea?: string | null | undefined;
6964
7915
  street?: string | null | undefined;
6965
7916
  zipCode?: string | null | undefined;
7917
+ } | {
7918
+ firstname: string;
7919
+ surname: string;
7920
+ middlename?: string | null | undefined;
6966
7921
  } | {
6967
7922
  country: string;
6968
7923
  district: string;
@@ -6985,8 +7940,9 @@ export declare const EventDocument: z.ZodObject<{
6985
7940
  option: string;
6986
7941
  filename: string;
6987
7942
  originalFilename: string;
6988
- }[] | undefined>;
6989
- createdAtLocation: string;
7943
+ }[] | [string, string] | null | undefined>;
7944
+ createdBySignature?: string | null | undefined;
7945
+ createdAtLocation?: string | null | undefined;
6990
7946
  annotation?: Record<string, string | number | boolean | {
6991
7947
  type: string;
6992
7948
  filename: string;
@@ -7002,6 +7958,10 @@ export declare const EventDocument: z.ZodObject<{
7002
7958
  residentialArea?: string | null | undefined;
7003
7959
  street?: string | null | undefined;
7004
7960
  zipCode?: string | null | undefined;
7961
+ } | {
7962
+ firstname: string;
7963
+ surname: string;
7964
+ middlename?: string | null | undefined;
7005
7965
  } | {
7006
7966
  country: string;
7007
7967
  district: string;
@@ -7024,14 +7984,17 @@ export declare const EventDocument: z.ZodObject<{
7024
7984
  option: string;
7025
7985
  filename: string;
7026
7986
  originalFilename: string;
7027
- }[] | undefined> | undefined;
7987
+ }[] | [string, string] | null | undefined> | undefined;
7028
7988
  originalActionId?: string | undefined;
7029
7989
  } | {
7030
7990
  type: "CREATE";
7031
7991
  id: string;
7032
7992
  status: "Rejected" | "Requested" | "Accepted";
7993
+ transactionId: string;
7994
+ createdByUserType: "system" | "user";
7033
7995
  createdAt: string;
7034
7996
  createdBy: string;
7997
+ createdByRole: string;
7035
7998
  declaration: Record<string, string | number | boolean | {
7036
7999
  type: string;
7037
8000
  filename: string;
@@ -7047,6 +8010,10 @@ export declare const EventDocument: z.ZodObject<{
7047
8010
  residentialArea?: string | null | undefined;
7048
8011
  street?: string | null | undefined;
7049
8012
  zipCode?: string | null | undefined;
8013
+ } | {
8014
+ firstname: string;
8015
+ surname: string;
8016
+ middlename?: string | null | undefined;
7050
8017
  } | {
7051
8018
  country: string;
7052
8019
  district: string;
@@ -7069,8 +8036,9 @@ export declare const EventDocument: z.ZodObject<{
7069
8036
  option: string;
7070
8037
  filename: string;
7071
8038
  originalFilename: string;
7072
- }[] | undefined>;
7073
- createdAtLocation: string;
8039
+ }[] | [string, string] | null | undefined>;
8040
+ createdBySignature?: string | null | undefined;
8041
+ createdAtLocation?: string | null | undefined;
7074
8042
  annotation?: Record<string, string | number | boolean | {
7075
8043
  type: string;
7076
8044
  filename: string;
@@ -7086,6 +8054,10 @@ export declare const EventDocument: z.ZodObject<{
7086
8054
  residentialArea?: string | null | undefined;
7087
8055
  street?: string | null | undefined;
7088
8056
  zipCode?: string | null | undefined;
8057
+ } | {
8058
+ firstname: string;
8059
+ surname: string;
8060
+ middlename?: string | null | undefined;
7089
8061
  } | {
7090
8062
  country: string;
7091
8063
  district: string;
@@ -7108,14 +8080,17 @@ export declare const EventDocument: z.ZodObject<{
7108
8080
  option: string;
7109
8081
  filename: string;
7110
8082
  originalFilename: string;
7111
- }[] | undefined> | undefined;
8083
+ }[] | [string, string] | null | undefined> | undefined;
7112
8084
  originalActionId?: string | undefined;
7113
8085
  } | {
7114
8086
  type: "NOTIFY";
7115
8087
  id: string;
7116
8088
  status: "Rejected" | "Requested" | "Accepted";
8089
+ transactionId: string;
8090
+ createdByUserType: "system" | "user";
7117
8091
  createdAt: string;
7118
8092
  createdBy: string;
8093
+ createdByRole: string;
7119
8094
  declaration: Record<string, string | number | boolean | {
7120
8095
  type: string;
7121
8096
  filename: string;
@@ -7131,6 +8106,10 @@ export declare const EventDocument: z.ZodObject<{
7131
8106
  residentialArea?: string | null | undefined;
7132
8107
  street?: string | null | undefined;
7133
8108
  zipCode?: string | null | undefined;
8109
+ } | {
8110
+ firstname: string;
8111
+ surname: string;
8112
+ middlename?: string | null | undefined;
7134
8113
  } | {
7135
8114
  country: string;
7136
8115
  district: string;
@@ -7153,8 +8132,9 @@ export declare const EventDocument: z.ZodObject<{
7153
8132
  option: string;
7154
8133
  filename: string;
7155
8134
  originalFilename: string;
7156
- }[] | undefined>;
7157
- createdAtLocation: string;
8135
+ }[] | [string, string] | null | undefined>;
8136
+ createdBySignature?: string | null | undefined;
8137
+ createdAtLocation?: string | null | undefined;
7158
8138
  annotation?: Record<string, string | number | boolean | {
7159
8139
  type: string;
7160
8140
  filename: string;
@@ -7170,6 +8150,10 @@ export declare const EventDocument: z.ZodObject<{
7170
8150
  residentialArea?: string | null | undefined;
7171
8151
  street?: string | null | undefined;
7172
8152
  zipCode?: string | null | undefined;
8153
+ } | {
8154
+ firstname: string;
8155
+ surname: string;
8156
+ middlename?: string | null | undefined;
7173
8157
  } | {
7174
8158
  country: string;
7175
8159
  district: string;
@@ -7192,14 +8176,17 @@ export declare const EventDocument: z.ZodObject<{
7192
8176
  option: string;
7193
8177
  filename: string;
7194
8178
  originalFilename: string;
7195
- }[] | undefined> | undefined;
8179
+ }[] | [string, string] | null | undefined> | undefined;
7196
8180
  originalActionId?: string | undefined;
7197
8181
  } | {
7198
8182
  type: "PRINT_CERTIFICATE";
7199
8183
  id: string;
7200
8184
  status: "Rejected" | "Requested" | "Accepted";
8185
+ transactionId: string;
8186
+ createdByUserType: "system" | "user";
7201
8187
  createdAt: string;
7202
8188
  createdBy: string;
8189
+ createdByRole: string;
7203
8190
  declaration: Record<string, string | number | boolean | {
7204
8191
  type: string;
7205
8192
  filename: string;
@@ -7215,6 +8202,10 @@ export declare const EventDocument: z.ZodObject<{
7215
8202
  residentialArea?: string | null | undefined;
7216
8203
  street?: string | null | undefined;
7217
8204
  zipCode?: string | null | undefined;
8205
+ } | {
8206
+ firstname: string;
8207
+ surname: string;
8208
+ middlename?: string | null | undefined;
7218
8209
  } | {
7219
8210
  country: string;
7220
8211
  district: string;
@@ -7237,8 +8228,9 @@ export declare const EventDocument: z.ZodObject<{
7237
8228
  option: string;
7238
8229
  filename: string;
7239
8230
  originalFilename: string;
7240
- }[] | undefined>;
7241
- createdAtLocation: string;
8231
+ }[] | [string, string] | null | undefined>;
8232
+ createdBySignature?: string | null | undefined;
8233
+ createdAtLocation?: string | null | undefined;
7242
8234
  annotation?: Record<string, string | number | boolean | {
7243
8235
  type: string;
7244
8236
  filename: string;
@@ -7254,6 +8246,10 @@ export declare const EventDocument: z.ZodObject<{
7254
8246
  residentialArea?: string | null | undefined;
7255
8247
  street?: string | null | undefined;
7256
8248
  zipCode?: string | null | undefined;
8249
+ } | {
8250
+ firstname: string;
8251
+ surname: string;
8252
+ middlename?: string | null | undefined;
7257
8253
  } | {
7258
8254
  country: string;
7259
8255
  district: string;
@@ -7276,14 +8272,17 @@ export declare const EventDocument: z.ZodObject<{
7276
8272
  option: string;
7277
8273
  filename: string;
7278
8274
  originalFilename: string;
7279
- }[] | undefined> | undefined;
8275
+ }[] | [string, string] | null | undefined> | undefined;
7280
8276
  originalActionId?: string | undefined;
7281
8277
  } | {
7282
8278
  type: "REQUEST_CORRECTION";
7283
8279
  id: string;
7284
8280
  status: "Rejected" | "Requested" | "Accepted";
8281
+ transactionId: string;
8282
+ createdByUserType: "system" | "user";
7285
8283
  createdAt: string;
7286
8284
  createdBy: string;
8285
+ createdByRole: string;
7287
8286
  declaration: Record<string, string | number | boolean | {
7288
8287
  type: string;
7289
8288
  filename: string;
@@ -7299,6 +8298,10 @@ export declare const EventDocument: z.ZodObject<{
7299
8298
  residentialArea?: string | null | undefined;
7300
8299
  street?: string | null | undefined;
7301
8300
  zipCode?: string | null | undefined;
8301
+ } | {
8302
+ firstname: string;
8303
+ surname: string;
8304
+ middlename?: string | null | undefined;
7302
8305
  } | {
7303
8306
  country: string;
7304
8307
  district: string;
@@ -7321,8 +8324,9 @@ export declare const EventDocument: z.ZodObject<{
7321
8324
  option: string;
7322
8325
  filename: string;
7323
8326
  originalFilename: string;
7324
- }[] | undefined>;
7325
- createdAtLocation: string;
8327
+ }[] | [string, string] | null | undefined>;
8328
+ createdBySignature?: string | null | undefined;
8329
+ createdAtLocation?: string | null | undefined;
7326
8330
  annotation?: Record<string, string | number | boolean | {
7327
8331
  type: string;
7328
8332
  filename: string;
@@ -7338,6 +8342,10 @@ export declare const EventDocument: z.ZodObject<{
7338
8342
  residentialArea?: string | null | undefined;
7339
8343
  street?: string | null | undefined;
7340
8344
  zipCode?: string | null | undefined;
8345
+ } | {
8346
+ firstname: string;
8347
+ surname: string;
8348
+ middlename?: string | null | undefined;
7341
8349
  } | {
7342
8350
  country: string;
7343
8351
  district: string;
@@ -7360,14 +8368,17 @@ export declare const EventDocument: z.ZodObject<{
7360
8368
  option: string;
7361
8369
  filename: string;
7362
8370
  originalFilename: string;
7363
- }[] | undefined> | undefined;
8371
+ }[] | [string, string] | null | undefined> | undefined;
7364
8372
  originalActionId?: string | undefined;
7365
8373
  } | {
7366
8374
  type: "APPROVE_CORRECTION";
7367
8375
  id: string;
7368
8376
  status: "Rejected" | "Requested" | "Accepted";
8377
+ transactionId: string;
8378
+ createdByUserType: "system" | "user";
7369
8379
  createdAt: string;
7370
8380
  createdBy: string;
8381
+ createdByRole: string;
7371
8382
  declaration: Record<string, string | number | boolean | {
7372
8383
  type: string;
7373
8384
  filename: string;
@@ -7383,6 +8394,10 @@ export declare const EventDocument: z.ZodObject<{
7383
8394
  residentialArea?: string | null | undefined;
7384
8395
  street?: string | null | undefined;
7385
8396
  zipCode?: string | null | undefined;
8397
+ } | {
8398
+ firstname: string;
8399
+ surname: string;
8400
+ middlename?: string | null | undefined;
7386
8401
  } | {
7387
8402
  country: string;
7388
8403
  district: string;
@@ -7405,9 +8420,10 @@ export declare const EventDocument: z.ZodObject<{
7405
8420
  option: string;
7406
8421
  filename: string;
7407
8422
  originalFilename: string;
7408
- }[] | undefined>;
7409
- createdAtLocation: string;
8423
+ }[] | [string, string] | null | undefined>;
7410
8424
  requestId: string;
8425
+ createdBySignature?: string | null | undefined;
8426
+ createdAtLocation?: string | null | undefined;
7411
8427
  annotation?: Record<string, string | number | boolean | {
7412
8428
  type: string;
7413
8429
  filename: string;
@@ -7423,6 +8439,10 @@ export declare const EventDocument: z.ZodObject<{
7423
8439
  residentialArea?: string | null | undefined;
7424
8440
  street?: string | null | undefined;
7425
8441
  zipCode?: string | null | undefined;
8442
+ } | {
8443
+ firstname: string;
8444
+ surname: string;
8445
+ middlename?: string | null | undefined;
7426
8446
  } | {
7427
8447
  country: string;
7428
8448
  district: string;
@@ -7445,14 +8465,17 @@ export declare const EventDocument: z.ZodObject<{
7445
8465
  option: string;
7446
8466
  filename: string;
7447
8467
  originalFilename: string;
7448
- }[] | undefined> | undefined;
8468
+ }[] | [string, string] | null | undefined> | undefined;
7449
8469
  originalActionId?: string | undefined;
7450
8470
  } | {
7451
8471
  type: "REJECT_CORRECTION";
7452
8472
  id: string;
7453
8473
  status: "Rejected" | "Requested" | "Accepted";
8474
+ transactionId: string;
8475
+ createdByUserType: "system" | "user";
7454
8476
  createdAt: string;
7455
8477
  createdBy: string;
8478
+ createdByRole: string;
7456
8479
  declaration: Record<string, string | number | boolean | {
7457
8480
  type: string;
7458
8481
  filename: string;
@@ -7468,6 +8491,10 @@ export declare const EventDocument: z.ZodObject<{
7468
8491
  residentialArea?: string | null | undefined;
7469
8492
  street?: string | null | undefined;
7470
8493
  zipCode?: string | null | undefined;
8494
+ } | {
8495
+ firstname: string;
8496
+ surname: string;
8497
+ middlename?: string | null | undefined;
7471
8498
  } | {
7472
8499
  country: string;
7473
8500
  district: string;
@@ -7490,9 +8517,10 @@ export declare const EventDocument: z.ZodObject<{
7490
8517
  option: string;
7491
8518
  filename: string;
7492
8519
  originalFilename: string;
7493
- }[] | undefined>;
7494
- createdAtLocation: string;
8520
+ }[] | [string, string] | null | undefined>;
7495
8521
  requestId: string;
8522
+ createdBySignature?: string | null | undefined;
8523
+ createdAtLocation?: string | null | undefined;
7496
8524
  annotation?: Record<string, string | number | boolean | {
7497
8525
  type: string;
7498
8526
  filename: string;
@@ -7508,6 +8536,10 @@ export declare const EventDocument: z.ZodObject<{
7508
8536
  residentialArea?: string | null | undefined;
7509
8537
  street?: string | null | undefined;
7510
8538
  zipCode?: string | null | undefined;
8539
+ } | {
8540
+ firstname: string;
8541
+ surname: string;
8542
+ middlename?: string | null | undefined;
7511
8543
  } | {
7512
8544
  country: string;
7513
8545
  district: string;
@@ -7530,14 +8562,17 @@ export declare const EventDocument: z.ZodObject<{
7530
8562
  option: string;
7531
8563
  filename: string;
7532
8564
  originalFilename: string;
7533
- }[] | undefined> | undefined;
8565
+ }[] | [string, string] | null | undefined> | undefined;
7534
8566
  originalActionId?: string | undefined;
7535
8567
  } | {
7536
8568
  type: "READ";
7537
8569
  id: string;
7538
8570
  status: "Rejected" | "Requested" | "Accepted";
8571
+ transactionId: string;
8572
+ createdByUserType: "system" | "user";
7539
8573
  createdAt: string;
7540
8574
  createdBy: string;
8575
+ createdByRole: string;
7541
8576
  declaration: Record<string, string | number | boolean | {
7542
8577
  type: string;
7543
8578
  filename: string;
@@ -7553,6 +8588,10 @@ export declare const EventDocument: z.ZodObject<{
7553
8588
  residentialArea?: string | null | undefined;
7554
8589
  street?: string | null | undefined;
7555
8590
  zipCode?: string | null | undefined;
8591
+ } | {
8592
+ firstname: string;
8593
+ surname: string;
8594
+ middlename?: string | null | undefined;
7556
8595
  } | {
7557
8596
  country: string;
7558
8597
  district: string;
@@ -7575,8 +8614,9 @@ export declare const EventDocument: z.ZodObject<{
7575
8614
  option: string;
7576
8615
  filename: string;
7577
8616
  originalFilename: string;
7578
- }[] | undefined>;
7579
- createdAtLocation: string;
8617
+ }[] | [string, string] | null | undefined>;
8618
+ createdBySignature?: string | null | undefined;
8619
+ createdAtLocation?: string | null | undefined;
7580
8620
  annotation?: Record<string, string | number | boolean | {
7581
8621
  type: string;
7582
8622
  filename: string;
@@ -7592,6 +8632,10 @@ export declare const EventDocument: z.ZodObject<{
7592
8632
  residentialArea?: string | null | undefined;
7593
8633
  street?: string | null | undefined;
7594
8634
  zipCode?: string | null | undefined;
8635
+ } | {
8636
+ firstname: string;
8637
+ surname: string;
8638
+ middlename?: string | null | undefined;
7595
8639
  } | {
7596
8640
  country: string;
7597
8641
  district: string;
@@ -7614,13 +8658,19 @@ export declare const EventDocument: z.ZodObject<{
7614
8658
  option: string;
7615
8659
  filename: string;
7616
8660
  originalFilename: string;
7617
- }[] | undefined> | undefined;
8661
+ }[] | [string, string] | null | undefined> | undefined;
7618
8662
  originalActionId?: string | undefined;
7619
8663
  } | {
7620
8664
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7621
8665
  id: string;
7622
8666
  status: "Rejected";
8667
+ transactionId: string;
8668
+ createdByUserType: "system" | "user";
7623
8669
  createdAt: string;
8670
+ createdBy: string;
8671
+ createdByRole: string;
8672
+ createdBySignature?: string | null | undefined;
8673
+ createdAtLocation?: string | null | undefined;
7624
8674
  originalActionId?: string | undefined;
7625
8675
  })[];
7626
8676
  trackingId: string;
@@ -7633,8 +8683,11 @@ export declare const EventDocument: z.ZodObject<{
7633
8683
  type: "ASSIGN";
7634
8684
  id: string;
7635
8685
  status: "Rejected" | "Requested" | "Accepted";
8686
+ transactionId: string;
8687
+ createdByUserType: "system" | "user";
7636
8688
  createdAt: string;
7637
8689
  createdBy: string;
8690
+ createdByRole: string;
7638
8691
  declaration: Record<string, string | number | boolean | {
7639
8692
  type: string;
7640
8693
  filename: string;
@@ -7650,6 +8703,10 @@ export declare const EventDocument: z.ZodObject<{
7650
8703
  residentialArea?: string | null | undefined;
7651
8704
  street?: string | null | undefined;
7652
8705
  zipCode?: string | null | undefined;
8706
+ } | {
8707
+ firstname: string;
8708
+ surname: string;
8709
+ middlename?: string | null | undefined;
7653
8710
  } | {
7654
8711
  country: string;
7655
8712
  district: string;
@@ -7672,9 +8729,10 @@ export declare const EventDocument: z.ZodObject<{
7672
8729
  option: string;
7673
8730
  filename: string;
7674
8731
  originalFilename: string;
7675
- }[] | undefined>;
7676
- createdAtLocation: string;
8732
+ }[] | [string, string] | null | undefined>;
7677
8733
  assignedTo: string;
8734
+ createdBySignature?: string | null | undefined;
8735
+ createdAtLocation?: string | null | undefined;
7678
8736
  annotation?: Record<string, string | number | boolean | {
7679
8737
  type: string;
7680
8738
  filename: string;
@@ -7690,6 +8748,10 @@ export declare const EventDocument: z.ZodObject<{
7690
8748
  residentialArea?: string | null | undefined;
7691
8749
  street?: string | null | undefined;
7692
8750
  zipCode?: string | null | undefined;
8751
+ } | {
8752
+ firstname: string;
8753
+ surname: string;
8754
+ middlename?: string | null | undefined;
7693
8755
  } | {
7694
8756
  country: string;
7695
8757
  district: string;
@@ -7712,14 +8774,17 @@ export declare const EventDocument: z.ZodObject<{
7712
8774
  option: string;
7713
8775
  filename: string;
7714
8776
  originalFilename: string;
7715
- }[] | undefined> | undefined;
8777
+ }[] | [string, string] | null | undefined> | undefined;
7716
8778
  originalActionId?: string | undefined;
7717
8779
  } | {
7718
8780
  type: "UNASSIGN";
7719
8781
  id: string;
7720
8782
  status: "Rejected" | "Requested" | "Accepted";
8783
+ transactionId: string;
8784
+ createdByUserType: "system" | "user";
7721
8785
  createdAt: string;
7722
8786
  createdBy: string;
8787
+ createdByRole: string;
7723
8788
  declaration: Record<string, string | number | boolean | {
7724
8789
  type: string;
7725
8790
  filename: string;
@@ -7735,6 +8800,10 @@ export declare const EventDocument: z.ZodObject<{
7735
8800
  residentialArea?: string | null | undefined;
7736
8801
  street?: string | null | undefined;
7737
8802
  zipCode?: string | null | undefined;
8803
+ } | {
8804
+ firstname: string;
8805
+ surname: string;
8806
+ middlename?: string | null | undefined;
7738
8807
  } | {
7739
8808
  country: string;
7740
8809
  district: string;
@@ -7757,8 +8826,10 @@ export declare const EventDocument: z.ZodObject<{
7757
8826
  option: string;
7758
8827
  filename: string;
7759
8828
  originalFilename: string;
7760
- }[] | undefined>;
7761
- createdAtLocation: string;
8829
+ }[] | [string, string] | null | undefined>;
8830
+ assignedTo: null;
8831
+ createdBySignature?: string | null | undefined;
8832
+ createdAtLocation?: string | null | undefined;
7762
8833
  annotation?: Record<string, string | number | boolean | {
7763
8834
  type: string;
7764
8835
  filename: string;
@@ -7774,6 +8845,10 @@ export declare const EventDocument: z.ZodObject<{
7774
8845
  residentialArea?: string | null | undefined;
7775
8846
  street?: string | null | undefined;
7776
8847
  zipCode?: string | null | undefined;
8848
+ } | {
8849
+ firstname: string;
8850
+ surname: string;
8851
+ middlename?: string | null | undefined;
7777
8852
  } | {
7778
8853
  country: string;
7779
8854
  district: string;
@@ -7796,15 +8871,17 @@ export declare const EventDocument: z.ZodObject<{
7796
8871
  option: string;
7797
8872
  filename: string;
7798
8873
  originalFilename: string;
7799
- }[] | undefined> | undefined;
8874
+ }[] | [string, string] | null | undefined> | undefined;
7800
8875
  originalActionId?: string | undefined;
7801
- assignedTo?: null | undefined;
7802
8876
  } | {
7803
8877
  type: "REGISTER";
7804
8878
  id: string;
7805
8879
  status: "Rejected" | "Requested" | "Accepted";
8880
+ transactionId: string;
8881
+ createdByUserType: "system" | "user";
7806
8882
  createdAt: string;
7807
8883
  createdBy: string;
8884
+ createdByRole: string;
7808
8885
  declaration: Record<string, string | number | boolean | {
7809
8886
  type: string;
7810
8887
  filename: string;
@@ -7820,6 +8897,10 @@ export declare const EventDocument: z.ZodObject<{
7820
8897
  residentialArea?: string | null | undefined;
7821
8898
  street?: string | null | undefined;
7822
8899
  zipCode?: string | null | undefined;
8900
+ } | {
8901
+ firstname: string;
8902
+ surname: string;
8903
+ middlename?: string | null | undefined;
7823
8904
  } | {
7824
8905
  country: string;
7825
8906
  district: string;
@@ -7842,8 +8923,9 @@ export declare const EventDocument: z.ZodObject<{
7842
8923
  option: string;
7843
8924
  filename: string;
7844
8925
  originalFilename: string;
7845
- }[] | undefined>;
7846
- createdAtLocation: string;
8926
+ }[] | [string, string] | null | undefined>;
8927
+ createdBySignature?: string | null | undefined;
8928
+ createdAtLocation?: string | null | undefined;
7847
8929
  annotation?: Record<string, string | number | boolean | {
7848
8930
  type: string;
7849
8931
  filename: string;
@@ -7859,6 +8941,10 @@ export declare const EventDocument: z.ZodObject<{
7859
8941
  residentialArea?: string | null | undefined;
7860
8942
  street?: string | null | undefined;
7861
8943
  zipCode?: string | null | undefined;
8944
+ } | {
8945
+ firstname: string;
8946
+ surname: string;
8947
+ middlename?: string | null | undefined;
7862
8948
  } | {
7863
8949
  country: string;
7864
8950
  district: string;
@@ -7881,15 +8967,18 @@ export declare const EventDocument: z.ZodObject<{
7881
8967
  option: string;
7882
8968
  filename: string;
7883
8969
  originalFilename: string;
7884
- }[] | undefined> | undefined;
8970
+ }[] | [string, string] | null | undefined> | undefined;
7885
8971
  originalActionId?: string | undefined;
7886
8972
  registrationNumber?: string | undefined;
7887
8973
  } | {
7888
8974
  type: "DECLARE";
7889
8975
  id: string;
7890
8976
  status: "Rejected" | "Requested" | "Accepted";
8977
+ transactionId: string;
8978
+ createdByUserType: "system" | "user";
7891
8979
  createdAt: string;
7892
8980
  createdBy: string;
8981
+ createdByRole: string;
7893
8982
  declaration: Record<string, string | number | boolean | {
7894
8983
  type: string;
7895
8984
  filename: string;
@@ -7905,6 +8994,10 @@ export declare const EventDocument: z.ZodObject<{
7905
8994
  residentialArea?: string | null | undefined;
7906
8995
  street?: string | null | undefined;
7907
8996
  zipCode?: string | null | undefined;
8997
+ } | {
8998
+ firstname: string;
8999
+ surname: string;
9000
+ middlename?: string | null | undefined;
7908
9001
  } | {
7909
9002
  country: string;
7910
9003
  district: string;
@@ -7927,8 +9020,9 @@ export declare const EventDocument: z.ZodObject<{
7927
9020
  option: string;
7928
9021
  filename: string;
7929
9022
  originalFilename: string;
7930
- }[] | undefined>;
7931
- createdAtLocation: string;
9023
+ }[] | [string, string] | null | undefined>;
9024
+ createdBySignature?: string | null | undefined;
9025
+ createdAtLocation?: string | null | undefined;
7932
9026
  annotation?: Record<string, string | number | boolean | {
7933
9027
  type: string;
7934
9028
  filename: string;
@@ -7944,6 +9038,10 @@ export declare const EventDocument: z.ZodObject<{
7944
9038
  residentialArea?: string | null | undefined;
7945
9039
  street?: string | null | undefined;
7946
9040
  zipCode?: string | null | undefined;
9041
+ } | {
9042
+ firstname: string;
9043
+ surname: string;
9044
+ middlename?: string | null | undefined;
7947
9045
  } | {
7948
9046
  country: string;
7949
9047
  district: string;
@@ -7966,14 +9064,17 @@ export declare const EventDocument: z.ZodObject<{
7966
9064
  option: string;
7967
9065
  filename: string;
7968
9066
  originalFilename: string;
7969
- }[] | undefined> | undefined;
9067
+ }[] | [string, string] | null | undefined> | undefined;
7970
9068
  originalActionId?: string | undefined;
7971
9069
  } | {
7972
9070
  type: "VALIDATE";
7973
9071
  id: string;
7974
9072
  status: "Rejected" | "Requested" | "Accepted";
9073
+ transactionId: string;
9074
+ createdByUserType: "system" | "user";
7975
9075
  createdAt: string;
7976
9076
  createdBy: string;
9077
+ createdByRole: string;
7977
9078
  declaration: Record<string, string | number | boolean | {
7978
9079
  type: string;
7979
9080
  filename: string;
@@ -7989,6 +9090,10 @@ export declare const EventDocument: z.ZodObject<{
7989
9090
  residentialArea?: string | null | undefined;
7990
9091
  street?: string | null | undefined;
7991
9092
  zipCode?: string | null | undefined;
9093
+ } | {
9094
+ firstname: string;
9095
+ surname: string;
9096
+ middlename?: string | null | undefined;
7992
9097
  } | {
7993
9098
  country: string;
7994
9099
  district: string;
@@ -8011,8 +9116,9 @@ export declare const EventDocument: z.ZodObject<{
8011
9116
  option: string;
8012
9117
  filename: string;
8013
9118
  originalFilename: string;
8014
- }[] | undefined>;
8015
- createdAtLocation: string;
9119
+ }[] | [string, string] | null | undefined>;
9120
+ createdBySignature?: string | null | undefined;
9121
+ createdAtLocation?: string | null | undefined;
8016
9122
  annotation?: Record<string, string | number | boolean | {
8017
9123
  type: string;
8018
9124
  filename: string;
@@ -8028,6 +9134,10 @@ export declare const EventDocument: z.ZodObject<{
8028
9134
  residentialArea?: string | null | undefined;
8029
9135
  street?: string | null | undefined;
8030
9136
  zipCode?: string | null | undefined;
9137
+ } | {
9138
+ firstname: string;
9139
+ surname: string;
9140
+ middlename?: string | null | undefined;
8031
9141
  } | {
8032
9142
  country: string;
8033
9143
  district: string;
@@ -8050,14 +9160,21 @@ export declare const EventDocument: z.ZodObject<{
8050
9160
  option: string;
8051
9161
  filename: string;
8052
9162
  originalFilename: string;
8053
- }[] | undefined> | undefined;
9163
+ }[] | [string, string] | null | undefined> | undefined;
8054
9164
  originalActionId?: string | undefined;
8055
9165
  } | {
8056
9166
  type: "REJECT";
8057
9167
  id: string;
8058
9168
  status: "Rejected" | "Requested" | "Accepted";
9169
+ reason: {
9170
+ message: string;
9171
+ isDuplicate?: boolean | undefined;
9172
+ };
9173
+ transactionId: string;
9174
+ createdByUserType: "system" | "user";
8059
9175
  createdAt: string;
8060
9176
  createdBy: string;
9177
+ createdByRole: string;
8061
9178
  declaration: Record<string, string | number | boolean | {
8062
9179
  type: string;
8063
9180
  filename: string;
@@ -8073,6 +9190,10 @@ export declare const EventDocument: z.ZodObject<{
8073
9190
  residentialArea?: string | null | undefined;
8074
9191
  street?: string | null | undefined;
8075
9192
  zipCode?: string | null | undefined;
9193
+ } | {
9194
+ firstname: string;
9195
+ surname: string;
9196
+ middlename?: string | null | undefined;
8076
9197
  } | {
8077
9198
  country: string;
8078
9199
  district: string;
@@ -8095,8 +9216,9 @@ export declare const EventDocument: z.ZodObject<{
8095
9216
  option: string;
8096
9217
  filename: string;
8097
9218
  originalFilename: string;
8098
- }[] | undefined>;
8099
- createdAtLocation: string;
9219
+ }[] | [string, string] | null | undefined>;
9220
+ createdBySignature?: string | null | undefined;
9221
+ createdAtLocation?: string | null | undefined;
8100
9222
  annotation?: Record<string, string | number | boolean | {
8101
9223
  type: string;
8102
9224
  filename: string;
@@ -8112,6 +9234,10 @@ export declare const EventDocument: z.ZodObject<{
8112
9234
  residentialArea?: string | null | undefined;
8113
9235
  street?: string | null | undefined;
8114
9236
  zipCode?: string | null | undefined;
9237
+ } | {
9238
+ firstname: string;
9239
+ surname: string;
9240
+ middlename?: string | null | undefined;
8115
9241
  } | {
8116
9242
  country: string;
8117
9243
  district: string;
@@ -8134,14 +9260,17 @@ export declare const EventDocument: z.ZodObject<{
8134
9260
  option: string;
8135
9261
  filename: string;
8136
9262
  originalFilename: string;
8137
- }[] | undefined> | undefined;
9263
+ }[] | [string, string] | null | undefined> | undefined;
8138
9264
  originalActionId?: string | undefined;
8139
9265
  } | {
8140
9266
  type: "MARKED_AS_DUPLICATE";
8141
9267
  id: string;
8142
9268
  status: "Rejected" | "Requested" | "Accepted";
9269
+ transactionId: string;
9270
+ createdByUserType: "system" | "user";
8143
9271
  createdAt: string;
8144
9272
  createdBy: string;
9273
+ createdByRole: string;
8145
9274
  declaration: Record<string, string | number | boolean | {
8146
9275
  type: string;
8147
9276
  filename: string;
@@ -8157,6 +9286,10 @@ export declare const EventDocument: z.ZodObject<{
8157
9286
  residentialArea?: string | null | undefined;
8158
9287
  street?: string | null | undefined;
8159
9288
  zipCode?: string | null | undefined;
9289
+ } | {
9290
+ firstname: string;
9291
+ surname: string;
9292
+ middlename?: string | null | undefined;
8160
9293
  } | {
8161
9294
  country: string;
8162
9295
  district: string;
@@ -8179,8 +9312,9 @@ export declare const EventDocument: z.ZodObject<{
8179
9312
  option: string;
8180
9313
  filename: string;
8181
9314
  originalFilename: string;
8182
- }[] | undefined>;
8183
- createdAtLocation: string;
9315
+ }[] | [string, string] | null | undefined>;
9316
+ createdBySignature?: string | null | undefined;
9317
+ createdAtLocation?: string | null | undefined;
8184
9318
  annotation?: Record<string, string | number | boolean | {
8185
9319
  type: string;
8186
9320
  filename: string;
@@ -8196,6 +9330,10 @@ export declare const EventDocument: z.ZodObject<{
8196
9330
  residentialArea?: string | null | undefined;
8197
9331
  street?: string | null | undefined;
8198
9332
  zipCode?: string | null | undefined;
9333
+ } | {
9334
+ firstname: string;
9335
+ surname: string;
9336
+ middlename?: string | null | undefined;
8199
9337
  } | {
8200
9338
  country: string;
8201
9339
  district: string;
@@ -8218,14 +9356,21 @@ export declare const EventDocument: z.ZodObject<{
8218
9356
  option: string;
8219
9357
  filename: string;
8220
9358
  originalFilename: string;
8221
- }[] | undefined> | undefined;
9359
+ }[] | [string, string] | null | undefined> | undefined;
8222
9360
  originalActionId?: string | undefined;
8223
9361
  } | {
8224
9362
  type: "ARCHIVE";
8225
9363
  id: string;
8226
9364
  status: "Rejected" | "Requested" | "Accepted";
9365
+ reason: {
9366
+ message: string;
9367
+ isDuplicate?: boolean | undefined;
9368
+ };
9369
+ transactionId: string;
9370
+ createdByUserType: "system" | "user";
8227
9371
  createdAt: string;
8228
9372
  createdBy: string;
9373
+ createdByRole: string;
8229
9374
  declaration: Record<string, string | number | boolean | {
8230
9375
  type: string;
8231
9376
  filename: string;
@@ -8241,6 +9386,10 @@ export declare const EventDocument: z.ZodObject<{
8241
9386
  residentialArea?: string | null | undefined;
8242
9387
  street?: string | null | undefined;
8243
9388
  zipCode?: string | null | undefined;
9389
+ } | {
9390
+ firstname: string;
9391
+ surname: string;
9392
+ middlename?: string | null | undefined;
8244
9393
  } | {
8245
9394
  country: string;
8246
9395
  district: string;
@@ -8263,8 +9412,9 @@ export declare const EventDocument: z.ZodObject<{
8263
9412
  option: string;
8264
9413
  filename: string;
8265
9414
  originalFilename: string;
8266
- }[] | undefined>;
8267
- createdAtLocation: string;
9415
+ }[] | [string, string] | null | undefined>;
9416
+ createdBySignature?: string | null | undefined;
9417
+ createdAtLocation?: string | null | undefined;
8268
9418
  annotation?: Record<string, string | number | boolean | {
8269
9419
  type: string;
8270
9420
  filename: string;
@@ -8280,6 +9430,10 @@ export declare const EventDocument: z.ZodObject<{
8280
9430
  residentialArea?: string | null | undefined;
8281
9431
  street?: string | null | undefined;
8282
9432
  zipCode?: string | null | undefined;
9433
+ } | {
9434
+ firstname: string;
9435
+ surname: string;
9436
+ middlename?: string | null | undefined;
8283
9437
  } | {
8284
9438
  country: string;
8285
9439
  district: string;
@@ -8302,14 +9456,17 @@ export declare const EventDocument: z.ZodObject<{
8302
9456
  option: string;
8303
9457
  filename: string;
8304
9458
  originalFilename: string;
8305
- }[] | undefined> | undefined;
9459
+ }[] | [string, string] | null | undefined> | undefined;
8306
9460
  originalActionId?: string | undefined;
8307
9461
  } | {
8308
9462
  type: "CREATE";
8309
9463
  id: string;
8310
9464
  status: "Rejected" | "Requested" | "Accepted";
9465
+ transactionId: string;
9466
+ createdByUserType: "system" | "user";
8311
9467
  createdAt: string;
8312
9468
  createdBy: string;
9469
+ createdByRole: string;
8313
9470
  declaration: Record<string, string | number | boolean | {
8314
9471
  type: string;
8315
9472
  filename: string;
@@ -8325,6 +9482,10 @@ export declare const EventDocument: z.ZodObject<{
8325
9482
  residentialArea?: string | null | undefined;
8326
9483
  street?: string | null | undefined;
8327
9484
  zipCode?: string | null | undefined;
9485
+ } | {
9486
+ firstname: string;
9487
+ surname: string;
9488
+ middlename?: string | null | undefined;
8328
9489
  } | {
8329
9490
  country: string;
8330
9491
  district: string;
@@ -8347,8 +9508,9 @@ export declare const EventDocument: z.ZodObject<{
8347
9508
  option: string;
8348
9509
  filename: string;
8349
9510
  originalFilename: string;
8350
- }[] | undefined>;
8351
- createdAtLocation: string;
9511
+ }[] | [string, string] | null | undefined>;
9512
+ createdBySignature?: string | null | undefined;
9513
+ createdAtLocation?: string | null | undefined;
8352
9514
  annotation?: Record<string, string | number | boolean | {
8353
9515
  type: string;
8354
9516
  filename: string;
@@ -8364,6 +9526,10 @@ export declare const EventDocument: z.ZodObject<{
8364
9526
  residentialArea?: string | null | undefined;
8365
9527
  street?: string | null | undefined;
8366
9528
  zipCode?: string | null | undefined;
9529
+ } | {
9530
+ firstname: string;
9531
+ surname: string;
9532
+ middlename?: string | null | undefined;
8367
9533
  } | {
8368
9534
  country: string;
8369
9535
  district: string;
@@ -8386,14 +9552,17 @@ export declare const EventDocument: z.ZodObject<{
8386
9552
  option: string;
8387
9553
  filename: string;
8388
9554
  originalFilename: string;
8389
- }[] | undefined> | undefined;
9555
+ }[] | [string, string] | null | undefined> | undefined;
8390
9556
  originalActionId?: string | undefined;
8391
9557
  } | {
8392
9558
  type: "NOTIFY";
8393
9559
  id: string;
8394
9560
  status: "Rejected" | "Requested" | "Accepted";
9561
+ transactionId: string;
9562
+ createdByUserType: "system" | "user";
8395
9563
  createdAt: string;
8396
9564
  createdBy: string;
9565
+ createdByRole: string;
8397
9566
  declaration: Record<string, string | number | boolean | {
8398
9567
  type: string;
8399
9568
  filename: string;
@@ -8409,6 +9578,10 @@ export declare const EventDocument: z.ZodObject<{
8409
9578
  residentialArea?: string | null | undefined;
8410
9579
  street?: string | null | undefined;
8411
9580
  zipCode?: string | null | undefined;
9581
+ } | {
9582
+ firstname: string;
9583
+ surname: string;
9584
+ middlename?: string | null | undefined;
8412
9585
  } | {
8413
9586
  country: string;
8414
9587
  district: string;
@@ -8431,8 +9604,9 @@ export declare const EventDocument: z.ZodObject<{
8431
9604
  option: string;
8432
9605
  filename: string;
8433
9606
  originalFilename: string;
8434
- }[] | undefined>;
8435
- createdAtLocation: string;
9607
+ }[] | [string, string] | null | undefined>;
9608
+ createdBySignature?: string | null | undefined;
9609
+ createdAtLocation?: string | null | undefined;
8436
9610
  annotation?: Record<string, string | number | boolean | {
8437
9611
  type: string;
8438
9612
  filename: string;
@@ -8448,6 +9622,10 @@ export declare const EventDocument: z.ZodObject<{
8448
9622
  residentialArea?: string | null | undefined;
8449
9623
  street?: string | null | undefined;
8450
9624
  zipCode?: string | null | undefined;
9625
+ } | {
9626
+ firstname: string;
9627
+ surname: string;
9628
+ middlename?: string | null | undefined;
8451
9629
  } | {
8452
9630
  country: string;
8453
9631
  district: string;
@@ -8470,14 +9648,17 @@ export declare const EventDocument: z.ZodObject<{
8470
9648
  option: string;
8471
9649
  filename: string;
8472
9650
  originalFilename: string;
8473
- }[] | undefined> | undefined;
9651
+ }[] | [string, string] | null | undefined> | undefined;
8474
9652
  originalActionId?: string | undefined;
8475
9653
  } | {
8476
9654
  type: "PRINT_CERTIFICATE";
8477
9655
  id: string;
8478
9656
  status: "Rejected" | "Requested" | "Accepted";
9657
+ transactionId: string;
9658
+ createdByUserType: "system" | "user";
8479
9659
  createdAt: string;
8480
9660
  createdBy: string;
9661
+ createdByRole: string;
8481
9662
  declaration: Record<string, string | number | boolean | {
8482
9663
  type: string;
8483
9664
  filename: string;
@@ -8493,6 +9674,10 @@ export declare const EventDocument: z.ZodObject<{
8493
9674
  residentialArea?: string | null | undefined;
8494
9675
  street?: string | null | undefined;
8495
9676
  zipCode?: string | null | undefined;
9677
+ } | {
9678
+ firstname: string;
9679
+ surname: string;
9680
+ middlename?: string | null | undefined;
8496
9681
  } | {
8497
9682
  country: string;
8498
9683
  district: string;
@@ -8515,8 +9700,9 @@ export declare const EventDocument: z.ZodObject<{
8515
9700
  option: string;
8516
9701
  filename: string;
8517
9702
  originalFilename: string;
8518
- }[] | undefined>;
8519
- createdAtLocation: string;
9703
+ }[] | [string, string] | null | undefined>;
9704
+ createdBySignature?: string | null | undefined;
9705
+ createdAtLocation?: string | null | undefined;
8520
9706
  annotation?: Record<string, string | number | boolean | {
8521
9707
  type: string;
8522
9708
  filename: string;
@@ -8532,6 +9718,10 @@ export declare const EventDocument: z.ZodObject<{
8532
9718
  residentialArea?: string | null | undefined;
8533
9719
  street?: string | null | undefined;
8534
9720
  zipCode?: string | null | undefined;
9721
+ } | {
9722
+ firstname: string;
9723
+ surname: string;
9724
+ middlename?: string | null | undefined;
8535
9725
  } | {
8536
9726
  country: string;
8537
9727
  district: string;
@@ -8554,14 +9744,17 @@ export declare const EventDocument: z.ZodObject<{
8554
9744
  option: string;
8555
9745
  filename: string;
8556
9746
  originalFilename: string;
8557
- }[] | undefined> | undefined;
9747
+ }[] | [string, string] | null | undefined> | undefined;
8558
9748
  originalActionId?: string | undefined;
8559
9749
  } | {
8560
9750
  type: "REQUEST_CORRECTION";
8561
9751
  id: string;
8562
9752
  status: "Rejected" | "Requested" | "Accepted";
9753
+ transactionId: string;
9754
+ createdByUserType: "system" | "user";
8563
9755
  createdAt: string;
8564
9756
  createdBy: string;
9757
+ createdByRole: string;
8565
9758
  declaration: Record<string, string | number | boolean | {
8566
9759
  type: string;
8567
9760
  filename: string;
@@ -8577,6 +9770,10 @@ export declare const EventDocument: z.ZodObject<{
8577
9770
  residentialArea?: string | null | undefined;
8578
9771
  street?: string | null | undefined;
8579
9772
  zipCode?: string | null | undefined;
9773
+ } | {
9774
+ firstname: string;
9775
+ surname: string;
9776
+ middlename?: string | null | undefined;
8580
9777
  } | {
8581
9778
  country: string;
8582
9779
  district: string;
@@ -8599,8 +9796,9 @@ export declare const EventDocument: z.ZodObject<{
8599
9796
  option: string;
8600
9797
  filename: string;
8601
9798
  originalFilename: string;
8602
- }[] | undefined>;
8603
- createdAtLocation: string;
9799
+ }[] | [string, string] | null | undefined>;
9800
+ createdBySignature?: string | null | undefined;
9801
+ createdAtLocation?: string | null | undefined;
8604
9802
  annotation?: Record<string, string | number | boolean | {
8605
9803
  type: string;
8606
9804
  filename: string;
@@ -8616,6 +9814,10 @@ export declare const EventDocument: z.ZodObject<{
8616
9814
  residentialArea?: string | null | undefined;
8617
9815
  street?: string | null | undefined;
8618
9816
  zipCode?: string | null | undefined;
9817
+ } | {
9818
+ firstname: string;
9819
+ surname: string;
9820
+ middlename?: string | null | undefined;
8619
9821
  } | {
8620
9822
  country: string;
8621
9823
  district: string;
@@ -8638,14 +9840,17 @@ export declare const EventDocument: z.ZodObject<{
8638
9840
  option: string;
8639
9841
  filename: string;
8640
9842
  originalFilename: string;
8641
- }[] | undefined> | undefined;
9843
+ }[] | [string, string] | null | undefined> | undefined;
8642
9844
  originalActionId?: string | undefined;
8643
9845
  } | {
8644
9846
  type: "APPROVE_CORRECTION";
8645
9847
  id: string;
8646
9848
  status: "Rejected" | "Requested" | "Accepted";
9849
+ transactionId: string;
9850
+ createdByUserType: "system" | "user";
8647
9851
  createdAt: string;
8648
9852
  createdBy: string;
9853
+ createdByRole: string;
8649
9854
  declaration: Record<string, string | number | boolean | {
8650
9855
  type: string;
8651
9856
  filename: string;
@@ -8661,6 +9866,10 @@ export declare const EventDocument: z.ZodObject<{
8661
9866
  residentialArea?: string | null | undefined;
8662
9867
  street?: string | null | undefined;
8663
9868
  zipCode?: string | null | undefined;
9869
+ } | {
9870
+ firstname: string;
9871
+ surname: string;
9872
+ middlename?: string | null | undefined;
8664
9873
  } | {
8665
9874
  country: string;
8666
9875
  district: string;
@@ -8683,9 +9892,10 @@ export declare const EventDocument: z.ZodObject<{
8683
9892
  option: string;
8684
9893
  filename: string;
8685
9894
  originalFilename: string;
8686
- }[] | undefined>;
8687
- createdAtLocation: string;
9895
+ }[] | [string, string] | null | undefined>;
8688
9896
  requestId: string;
9897
+ createdBySignature?: string | null | undefined;
9898
+ createdAtLocation?: string | null | undefined;
8689
9899
  annotation?: Record<string, string | number | boolean | {
8690
9900
  type: string;
8691
9901
  filename: string;
@@ -8701,6 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8701
9911
  residentialArea?: string | null | undefined;
8702
9912
  street?: string | null | undefined;
8703
9913
  zipCode?: string | null | undefined;
9914
+ } | {
9915
+ firstname: string;
9916
+ surname: string;
9917
+ middlename?: string | null | undefined;
8704
9918
  } | {
8705
9919
  country: string;
8706
9920
  district: string;
@@ -8723,14 +9937,17 @@ export declare const EventDocument: z.ZodObject<{
8723
9937
  option: string;
8724
9938
  filename: string;
8725
9939
  originalFilename: string;
8726
- }[] | undefined> | undefined;
9940
+ }[] | [string, string] | null | undefined> | undefined;
8727
9941
  originalActionId?: string | undefined;
8728
9942
  } | {
8729
9943
  type: "REJECT_CORRECTION";
8730
9944
  id: string;
8731
9945
  status: "Rejected" | "Requested" | "Accepted";
9946
+ transactionId: string;
9947
+ createdByUserType: "system" | "user";
8732
9948
  createdAt: string;
8733
9949
  createdBy: string;
9950
+ createdByRole: string;
8734
9951
  declaration: Record<string, string | number | boolean | {
8735
9952
  type: string;
8736
9953
  filename: string;
@@ -8746,6 +9963,10 @@ export declare const EventDocument: z.ZodObject<{
8746
9963
  residentialArea?: string | null | undefined;
8747
9964
  street?: string | null | undefined;
8748
9965
  zipCode?: string | null | undefined;
9966
+ } | {
9967
+ firstname: string;
9968
+ surname: string;
9969
+ middlename?: string | null | undefined;
8749
9970
  } | {
8750
9971
  country: string;
8751
9972
  district: string;
@@ -8768,9 +9989,10 @@ export declare const EventDocument: z.ZodObject<{
8768
9989
  option: string;
8769
9990
  filename: string;
8770
9991
  originalFilename: string;
8771
- }[] | undefined>;
8772
- createdAtLocation: string;
9992
+ }[] | [string, string] | null | undefined>;
8773
9993
  requestId: string;
9994
+ createdBySignature?: string | null | undefined;
9995
+ createdAtLocation?: string | null | undefined;
8774
9996
  annotation?: Record<string, string | number | boolean | {
8775
9997
  type: string;
8776
9998
  filename: string;
@@ -8786,6 +10008,10 @@ export declare const EventDocument: z.ZodObject<{
8786
10008
  residentialArea?: string | null | undefined;
8787
10009
  street?: string | null | undefined;
8788
10010
  zipCode?: string | null | undefined;
10011
+ } | {
10012
+ firstname: string;
10013
+ surname: string;
10014
+ middlename?: string | null | undefined;
8789
10015
  } | {
8790
10016
  country: string;
8791
10017
  district: string;
@@ -8808,14 +10034,17 @@ export declare const EventDocument: z.ZodObject<{
8808
10034
  option: string;
8809
10035
  filename: string;
8810
10036
  originalFilename: string;
8811
- }[] | undefined> | undefined;
10037
+ }[] | [string, string] | null | undefined> | undefined;
8812
10038
  originalActionId?: string | undefined;
8813
10039
  } | {
8814
10040
  type: "READ";
8815
10041
  id: string;
8816
10042
  status: "Rejected" | "Requested" | "Accepted";
10043
+ transactionId: string;
10044
+ createdByUserType: "system" | "user";
8817
10045
  createdAt: string;
8818
10046
  createdBy: string;
10047
+ createdByRole: string;
8819
10048
  declaration: Record<string, string | number | boolean | {
8820
10049
  type: string;
8821
10050
  filename: string;
@@ -8831,6 +10060,10 @@ export declare const EventDocument: z.ZodObject<{
8831
10060
  residentialArea?: string | null | undefined;
8832
10061
  street?: string | null | undefined;
8833
10062
  zipCode?: string | null | undefined;
10063
+ } | {
10064
+ firstname: string;
10065
+ surname: string;
10066
+ middlename?: string | null | undefined;
8834
10067
  } | {
8835
10068
  country: string;
8836
10069
  district: string;
@@ -8853,8 +10086,9 @@ export declare const EventDocument: z.ZodObject<{
8853
10086
  option: string;
8854
10087
  filename: string;
8855
10088
  originalFilename: string;
8856
- }[] | undefined>;
8857
- createdAtLocation: string;
10089
+ }[] | [string, string] | null | undefined>;
10090
+ createdBySignature?: string | null | undefined;
10091
+ createdAtLocation?: string | null | undefined;
8858
10092
  annotation?: Record<string, string | number | boolean | {
8859
10093
  type: string;
8860
10094
  filename: string;
@@ -8870,6 +10104,10 @@ export declare const EventDocument: z.ZodObject<{
8870
10104
  residentialArea?: string | null | undefined;
8871
10105
  street?: string | null | undefined;
8872
10106
  zipCode?: string | null | undefined;
10107
+ } | {
10108
+ firstname: string;
10109
+ surname: string;
10110
+ middlename?: string | null | undefined;
8873
10111
  } | {
8874
10112
  country: string;
8875
10113
  district: string;
@@ -8892,13 +10130,19 @@ export declare const EventDocument: z.ZodObject<{
8892
10130
  option: string;
8893
10131
  filename: string;
8894
10132
  originalFilename: string;
8895
- }[] | undefined> | undefined;
10133
+ }[] | [string, string] | null | undefined> | undefined;
8896
10134
  originalActionId?: string | undefined;
8897
10135
  } | {
8898
10136
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8899
10137
  id: string;
8900
10138
  status: "Rejected";
10139
+ transactionId: string;
10140
+ createdByUserType: "system" | "user";
8901
10141
  createdAt: string;
10142
+ createdBy: string;
10143
+ createdByRole: string;
10144
+ createdBySignature?: string | null | undefined;
10145
+ createdAtLocation?: string | null | undefined;
8902
10146
  originalActionId?: string | undefined;
8903
10147
  })[];
8904
10148
  trackingId: string;