@opencrvs/toolkit 1.8.0-rc.fb5b9fe → 1.8.0-rc.fb96ec1

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 (36) hide show
  1. package/dist/commons/api/router.d.ts +6886 -544
  2. package/dist/commons/conditionals/conditionals.d.ts +4 -0
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +18678 -6326
  5. package/dist/commons/events/ActionDocument.d.ts +1783 -280
  6. package/dist/commons/events/ActionInput.d.ts +1382 -182
  7. package/dist/commons/events/ActionType.d.ts +6 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +1161 -413
  12. package/dist/commons/events/Draft.d.ts +118 -17
  13. package/dist/commons/events/EventConfig.d.ts +10125 -4116
  14. package/dist/commons/events/EventDocument.d.ts +1144 -205
  15. package/dist/commons/events/EventIndex.d.ts +839 -185
  16. package/dist/commons/events/EventMetadata.d.ts +52 -40
  17. package/dist/commons/events/FieldConfig.d.ts +1717 -872
  18. package/dist/commons/events/FieldType.d.ts +4 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
  20. package/dist/commons/events/FieldValue.d.ts +41 -5
  21. package/dist/commons/events/FormConfig.d.ts +7640 -2444
  22. package/dist/commons/events/PageConfig.d.ts +2816 -1540
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  25. package/dist/commons/events/WorkqueueConfig.d.ts +4460 -1685
  26. package/dist/commons/events/defineConfig.d.ts +971 -17
  27. package/dist/commons/events/field.d.ts +9 -0
  28. package/dist/commons/events/index.d.ts +1 -0
  29. package/dist/commons/events/scopes.d.ts +1 -2
  30. package/dist/commons/events/test.utils.d.ts +146 -38
  31. package/dist/commons/events/utils.d.ts +9669 -10
  32. package/dist/conditionals/index.js +38 -18
  33. package/dist/events/index.js +1703 -1045
  34. package/dist/scopes/index.d.ts +4 -1
  35. package/dist/scopes/index.js +67 -17
  36. package/package.json +3 -3
@@ -5,8 +5,9 @@ export declare const EventDocument: z.ZodObject<{
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
9
9
  transactionId: z.ZodString;
10
+ createdByUserType: z.ZodEnum<["user", "system"]>;
10
11
  createdAt: z.ZodString;
11
12
  createdBy: z.ZodString;
12
13
  createdByRole: z.ZodString;
@@ -125,7 +126,19 @@ export declare const EventDocument: z.ZodObject<{
125
126
  addressLine2?: string | null | undefined;
126
127
  addressLine3?: string | null | undefined;
127
128
  postcodeOrZip?: string | null | undefined;
128
- }>]>>;
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]>]>>;
129
142
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
130
143
  filename: z.ZodString;
131
144
  originalFilename: z.ZodString;
@@ -239,16 +252,29 @@ export declare const EventDocument: z.ZodObject<{
239
252
  addressLine2?: string | null | undefined;
240
253
  addressLine3?: string | null | undefined;
241
254
  postcodeOrZip?: string | null | undefined;
242
- }>]>>>>;
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]>]>>>>;
243
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
244
269
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
245
270
  }, {
246
271
  type: z.ZodLiteral<"CREATE">;
247
272
  }>, "strip", z.ZodTypeAny, {
248
273
  type: "CREATE";
249
- id: string;
274
+ id: string & z.BRAND<"UUID">;
250
275
  status: "Rejected" | "Requested" | "Accepted";
251
276
  transactionId: string;
277
+ createdByUserType: "system" | "user";
252
278
  createdAt: string;
253
279
  createdBy: string;
254
280
  createdByRole: string;
@@ -267,6 +293,10 @@ export declare const EventDocument: z.ZodObject<{
267
293
  residentialArea?: string | null | undefined;
268
294
  street?: string | null | undefined;
269
295
  zipCode?: string | null | undefined;
296
+ } | {
297
+ firstname: string;
298
+ surname: string;
299
+ middlename?: string | null | undefined;
270
300
  } | {
271
301
  country: string;
272
302
  district: string;
@@ -289,7 +319,7 @@ export declare const EventDocument: z.ZodObject<{
289
319
  option: string;
290
320
  filename: string;
291
321
  originalFilename: string;
292
- }[] | [string, string] | undefined>;
322
+ }[] | [string, string] | null | undefined>;
293
323
  createdBySignature?: string | null | undefined;
294
324
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
295
325
  annotation?: Record<string, string | number | boolean | {
@@ -307,6 +337,10 @@ export declare const EventDocument: z.ZodObject<{
307
337
  residentialArea?: string | null | undefined;
308
338
  street?: string | null | undefined;
309
339
  zipCode?: string | null | undefined;
340
+ } | {
341
+ firstname: string;
342
+ surname: string;
343
+ middlename?: string | null | undefined;
310
344
  } | {
311
345
  country: string;
312
346
  district: string;
@@ -329,13 +363,14 @@ export declare const EventDocument: z.ZodObject<{
329
363
  option: string;
330
364
  filename: string;
331
365
  originalFilename: string;
332
- }[] | [string, string] | undefined> | null | undefined;
366
+ }[] | [string, string] | null | undefined> | null | undefined;
333
367
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
334
368
  }, {
335
369
  type: "CREATE";
336
370
  id: string;
337
371
  status: "Rejected" | "Requested" | "Accepted";
338
372
  transactionId: string;
373
+ createdByUserType: "system" | "user";
339
374
  createdAt: string;
340
375
  createdBy: string;
341
376
  createdByRole: string;
@@ -354,6 +389,10 @@ export declare const EventDocument: z.ZodObject<{
354
389
  residentialArea?: string | null | undefined;
355
390
  street?: string | null | undefined;
356
391
  zipCode?: string | null | undefined;
392
+ } | {
393
+ firstname: string;
394
+ surname: string;
395
+ middlename?: string | null | undefined;
357
396
  } | {
358
397
  country: string;
359
398
  district: string;
@@ -376,7 +415,7 @@ export declare const EventDocument: z.ZodObject<{
376
415
  option: string;
377
416
  filename: string;
378
417
  originalFilename: string;
379
- }[] | [string, string] | undefined>;
418
+ }[] | [string, string] | null | undefined>;
380
419
  createdBySignature?: string | null | undefined;
381
420
  createdAtLocation?: string | null | undefined;
382
421
  annotation?: Record<string, string | number | boolean | {
@@ -394,6 +433,10 @@ export declare const EventDocument: z.ZodObject<{
394
433
  residentialArea?: string | null | undefined;
395
434
  street?: string | null | undefined;
396
435
  zipCode?: string | null | undefined;
436
+ } | {
437
+ firstname: string;
438
+ surname: string;
439
+ middlename?: string | null | undefined;
397
440
  } | {
398
441
  country: string;
399
442
  district: string;
@@ -416,11 +459,12 @@ export declare const EventDocument: z.ZodObject<{
416
459
  option: string;
417
460
  filename: string;
418
461
  originalFilename: string;
419
- }[] | [string, string] | undefined> | null | undefined;
462
+ }[] | [string, string] | null | undefined> | null | undefined;
420
463
  originalActionId?: string | null | undefined;
421
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
422
- id: z.ZodString;
465
+ id: z.ZodBranded<z.ZodString, "UUID">;
423
466
  transactionId: z.ZodString;
467
+ createdByUserType: z.ZodEnum<["user", "system"]>;
424
468
  createdAt: z.ZodString;
425
469
  createdBy: z.ZodString;
426
470
  createdByRole: z.ZodString;
@@ -539,7 +583,19 @@ export declare const EventDocument: z.ZodObject<{
539
583
  addressLine2?: string | null | undefined;
540
584
  addressLine3?: string | null | undefined;
541
585
  postcodeOrZip?: string | null | undefined;
542
- }>]>>;
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]>]>>;
543
599
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
544
600
  filename: z.ZodString;
545
601
  originalFilename: z.ZodString;
@@ -653,16 +709,29 @@ export declare const EventDocument: z.ZodObject<{
653
709
  addressLine2?: string | null | undefined;
654
710
  addressLine3?: string | null | undefined;
655
711
  postcodeOrZip?: string | null | undefined;
656
- }>]>>>>;
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]>]>>>>;
657
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
658
726
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
659
727
  }, {
660
728
  type: z.ZodLiteral<"VALIDATE">;
661
729
  }>, "strip", z.ZodTypeAny, {
662
730
  type: "VALIDATE";
663
- id: string;
731
+ id: string & z.BRAND<"UUID">;
664
732
  status: "Rejected" | "Requested" | "Accepted";
665
733
  transactionId: string;
734
+ createdByUserType: "system" | "user";
666
735
  createdAt: string;
667
736
  createdBy: string;
668
737
  createdByRole: string;
@@ -681,6 +750,10 @@ export declare const EventDocument: z.ZodObject<{
681
750
  residentialArea?: string | null | undefined;
682
751
  street?: string | null | undefined;
683
752
  zipCode?: string | null | undefined;
753
+ } | {
754
+ firstname: string;
755
+ surname: string;
756
+ middlename?: string | null | undefined;
684
757
  } | {
685
758
  country: string;
686
759
  district: string;
@@ -703,7 +776,7 @@ export declare const EventDocument: z.ZodObject<{
703
776
  option: string;
704
777
  filename: string;
705
778
  originalFilename: string;
706
- }[] | [string, string] | undefined>;
779
+ }[] | [string, string] | null | undefined>;
707
780
  createdBySignature?: string | null | undefined;
708
781
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
709
782
  annotation?: Record<string, string | number | boolean | {
@@ -721,6 +794,10 @@ export declare const EventDocument: z.ZodObject<{
721
794
  residentialArea?: string | null | undefined;
722
795
  street?: string | null | undefined;
723
796
  zipCode?: string | null | undefined;
797
+ } | {
798
+ firstname: string;
799
+ surname: string;
800
+ middlename?: string | null | undefined;
724
801
  } | {
725
802
  country: string;
726
803
  district: string;
@@ -743,13 +820,14 @@ export declare const EventDocument: z.ZodObject<{
743
820
  option: string;
744
821
  filename: string;
745
822
  originalFilename: string;
746
- }[] | [string, string] | undefined> | null | undefined;
823
+ }[] | [string, string] | null | undefined> | null | undefined;
747
824
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
748
825
  }, {
749
826
  type: "VALIDATE";
750
827
  id: string;
751
828
  status: "Rejected" | "Requested" | "Accepted";
752
829
  transactionId: string;
830
+ createdByUserType: "system" | "user";
753
831
  createdAt: string;
754
832
  createdBy: string;
755
833
  createdByRole: string;
@@ -768,6 +846,10 @@ export declare const EventDocument: z.ZodObject<{
768
846
  residentialArea?: string | null | undefined;
769
847
  street?: string | null | undefined;
770
848
  zipCode?: string | null | undefined;
849
+ } | {
850
+ firstname: string;
851
+ surname: string;
852
+ middlename?: string | null | undefined;
771
853
  } | {
772
854
  country: string;
773
855
  district: string;
@@ -790,7 +872,7 @@ export declare const EventDocument: z.ZodObject<{
790
872
  option: string;
791
873
  filename: string;
792
874
  originalFilename: string;
793
- }[] | [string, string] | undefined>;
875
+ }[] | [string, string] | null | undefined>;
794
876
  createdBySignature?: string | null | undefined;
795
877
  createdAtLocation?: string | null | undefined;
796
878
  annotation?: Record<string, string | number | boolean | {
@@ -808,6 +890,10 @@ export declare const EventDocument: z.ZodObject<{
808
890
  residentialArea?: string | null | undefined;
809
891
  street?: string | null | undefined;
810
892
  zipCode?: string | null | undefined;
893
+ } | {
894
+ firstname: string;
895
+ surname: string;
896
+ middlename?: string | null | undefined;
811
897
  } | {
812
898
  country: string;
813
899
  district: string;
@@ -830,11 +916,12 @@ export declare const EventDocument: z.ZodObject<{
830
916
  option: string;
831
917
  filename: string;
832
918
  originalFilename: string;
833
- }[] | [string, string] | undefined> | null | undefined;
919
+ }[] | [string, string] | null | undefined> | null | undefined;
834
920
  originalActionId?: string | null | undefined;
835
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
836
- id: z.ZodString;
922
+ id: z.ZodBranded<z.ZodString, "UUID">;
837
923
  transactionId: z.ZodString;
924
+ createdByUserType: z.ZodEnum<["user", "system"]>;
838
925
  createdAt: z.ZodString;
839
926
  createdBy: z.ZodString;
840
927
  createdByRole: z.ZodString;
@@ -953,7 +1040,19 @@ export declare const EventDocument: z.ZodObject<{
953
1040
  addressLine2?: string | null | undefined;
954
1041
  addressLine3?: string | null | undefined;
955
1042
  postcodeOrZip?: string | null | undefined;
956
- }>]>>;
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]>]>>;
957
1056
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
958
1057
  filename: z.ZodString;
959
1058
  originalFilename: z.ZodString;
@@ -1067,7 +1166,19 @@ export declare const EventDocument: z.ZodObject<{
1067
1166
  addressLine2?: string | null | undefined;
1068
1167
  addressLine3?: string | null | undefined;
1069
1168
  postcodeOrZip?: string | null | undefined;
1070
- }>]>>>>;
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]>]>>>>;
1071
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1072
1183
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1073
1184
  }, {
@@ -1084,13 +1195,14 @@ export declare const EventDocument: z.ZodObject<{
1084
1195
  }>;
1085
1196
  }>, "strip", z.ZodTypeAny, {
1086
1197
  type: "REJECT";
1087
- id: string;
1198
+ id: string & z.BRAND<"UUID">;
1088
1199
  status: "Rejected" | "Requested" | "Accepted";
1089
1200
  reason: {
1090
1201
  message: string;
1091
1202
  isDuplicate?: boolean | undefined;
1092
1203
  };
1093
1204
  transactionId: string;
1205
+ createdByUserType: "system" | "user";
1094
1206
  createdAt: string;
1095
1207
  createdBy: string;
1096
1208
  createdByRole: string;
@@ -1109,6 +1221,10 @@ export declare const EventDocument: z.ZodObject<{
1109
1221
  residentialArea?: string | null | undefined;
1110
1222
  street?: string | null | undefined;
1111
1223
  zipCode?: string | null | undefined;
1224
+ } | {
1225
+ firstname: string;
1226
+ surname: string;
1227
+ middlename?: string | null | undefined;
1112
1228
  } | {
1113
1229
  country: string;
1114
1230
  district: string;
@@ -1131,7 +1247,7 @@ export declare const EventDocument: z.ZodObject<{
1131
1247
  option: string;
1132
1248
  filename: string;
1133
1249
  originalFilename: string;
1134
- }[] | [string, string] | undefined>;
1250
+ }[] | [string, string] | null | undefined>;
1135
1251
  createdBySignature?: string | null | undefined;
1136
1252
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1137
1253
  annotation?: Record<string, string | number | boolean | {
@@ -1149,6 +1265,10 @@ export declare const EventDocument: z.ZodObject<{
1149
1265
  residentialArea?: string | null | undefined;
1150
1266
  street?: string | null | undefined;
1151
1267
  zipCode?: string | null | undefined;
1268
+ } | {
1269
+ firstname: string;
1270
+ surname: string;
1271
+ middlename?: string | null | undefined;
1152
1272
  } | {
1153
1273
  country: string;
1154
1274
  district: string;
@@ -1171,7 +1291,7 @@ export declare const EventDocument: z.ZodObject<{
1171
1291
  option: string;
1172
1292
  filename: string;
1173
1293
  originalFilename: string;
1174
- }[] | [string, string] | undefined> | null | undefined;
1294
+ }[] | [string, string] | null | undefined> | null | undefined;
1175
1295
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1176
1296
  }, {
1177
1297
  type: "REJECT";
@@ -1182,6 +1302,7 @@ export declare const EventDocument: z.ZodObject<{
1182
1302
  isDuplicate?: boolean | undefined;
1183
1303
  };
1184
1304
  transactionId: string;
1305
+ createdByUserType: "system" | "user";
1185
1306
  createdAt: string;
1186
1307
  createdBy: string;
1187
1308
  createdByRole: string;
@@ -1200,6 +1321,10 @@ export declare const EventDocument: z.ZodObject<{
1200
1321
  residentialArea?: string | null | undefined;
1201
1322
  street?: string | null | undefined;
1202
1323
  zipCode?: string | null | undefined;
1324
+ } | {
1325
+ firstname: string;
1326
+ surname: string;
1327
+ middlename?: string | null | undefined;
1203
1328
  } | {
1204
1329
  country: string;
1205
1330
  district: string;
@@ -1222,7 +1347,7 @@ export declare const EventDocument: z.ZodObject<{
1222
1347
  option: string;
1223
1348
  filename: string;
1224
1349
  originalFilename: string;
1225
- }[] | [string, string] | undefined>;
1350
+ }[] | [string, string] | null | undefined>;
1226
1351
  createdBySignature?: string | null | undefined;
1227
1352
  createdAtLocation?: string | null | undefined;
1228
1353
  annotation?: Record<string, string | number | boolean | {
@@ -1240,6 +1365,10 @@ export declare const EventDocument: z.ZodObject<{
1240
1365
  residentialArea?: string | null | undefined;
1241
1366
  street?: string | null | undefined;
1242
1367
  zipCode?: string | null | undefined;
1368
+ } | {
1369
+ firstname: string;
1370
+ surname: string;
1371
+ middlename?: string | null | undefined;
1243
1372
  } | {
1244
1373
  country: string;
1245
1374
  district: string;
@@ -1262,11 +1391,12 @@ export declare const EventDocument: z.ZodObject<{
1262
1391
  option: string;
1263
1392
  filename: string;
1264
1393
  originalFilename: string;
1265
- }[] | [string, string] | undefined> | null | undefined;
1394
+ }[] | [string, string] | null | undefined> | null | undefined;
1266
1395
  originalActionId?: string | null | undefined;
1267
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1268
- id: z.ZodString;
1397
+ id: z.ZodBranded<z.ZodString, "UUID">;
1269
1398
  transactionId: z.ZodString;
1399
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1270
1400
  createdAt: z.ZodString;
1271
1401
  createdBy: z.ZodString;
1272
1402
  createdByRole: z.ZodString;
@@ -1385,7 +1515,19 @@ export declare const EventDocument: z.ZodObject<{
1385
1515
  addressLine2?: string | null | undefined;
1386
1516
  addressLine3?: string | null | undefined;
1387
1517
  postcodeOrZip?: string | null | undefined;
1388
- }>]>>;
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]>]>>;
1389
1531
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1390
1532
  filename: z.ZodString;
1391
1533
  originalFilename: z.ZodString;
@@ -1499,16 +1641,29 @@ export declare const EventDocument: z.ZodObject<{
1499
1641
  addressLine2?: string | null | undefined;
1500
1642
  addressLine3?: string | null | undefined;
1501
1643
  postcodeOrZip?: string | null | undefined;
1502
- }>]>>>>;
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]>]>>>>;
1503
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1504
1658
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1505
1659
  }, {
1506
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1507
1661
  }>, "strip", z.ZodTypeAny, {
1508
1662
  type: "MARKED_AS_DUPLICATE";
1509
- id: string;
1663
+ id: string & z.BRAND<"UUID">;
1510
1664
  status: "Rejected" | "Requested" | "Accepted";
1511
1665
  transactionId: string;
1666
+ createdByUserType: "system" | "user";
1512
1667
  createdAt: string;
1513
1668
  createdBy: string;
1514
1669
  createdByRole: string;
@@ -1527,6 +1682,10 @@ export declare const EventDocument: z.ZodObject<{
1527
1682
  residentialArea?: string | null | undefined;
1528
1683
  street?: string | null | undefined;
1529
1684
  zipCode?: string | null | undefined;
1685
+ } | {
1686
+ firstname: string;
1687
+ surname: string;
1688
+ middlename?: string | null | undefined;
1530
1689
  } | {
1531
1690
  country: string;
1532
1691
  district: string;
@@ -1549,7 +1708,7 @@ export declare const EventDocument: z.ZodObject<{
1549
1708
  option: string;
1550
1709
  filename: string;
1551
1710
  originalFilename: string;
1552
- }[] | [string, string] | undefined>;
1711
+ }[] | [string, string] | null | undefined>;
1553
1712
  createdBySignature?: string | null | undefined;
1554
1713
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1555
1714
  annotation?: Record<string, string | number | boolean | {
@@ -1567,6 +1726,10 @@ export declare const EventDocument: z.ZodObject<{
1567
1726
  residentialArea?: string | null | undefined;
1568
1727
  street?: string | null | undefined;
1569
1728
  zipCode?: string | null | undefined;
1729
+ } | {
1730
+ firstname: string;
1731
+ surname: string;
1732
+ middlename?: string | null | undefined;
1570
1733
  } | {
1571
1734
  country: string;
1572
1735
  district: string;
@@ -1589,13 +1752,14 @@ export declare const EventDocument: z.ZodObject<{
1589
1752
  option: string;
1590
1753
  filename: string;
1591
1754
  originalFilename: string;
1592
- }[] | [string, string] | undefined> | null | undefined;
1755
+ }[] | [string, string] | null | undefined> | null | undefined;
1593
1756
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1594
1757
  }, {
1595
1758
  type: "MARKED_AS_DUPLICATE";
1596
1759
  id: string;
1597
1760
  status: "Rejected" | "Requested" | "Accepted";
1598
1761
  transactionId: string;
1762
+ createdByUserType: "system" | "user";
1599
1763
  createdAt: string;
1600
1764
  createdBy: string;
1601
1765
  createdByRole: string;
@@ -1614,6 +1778,10 @@ export declare const EventDocument: z.ZodObject<{
1614
1778
  residentialArea?: string | null | undefined;
1615
1779
  street?: string | null | undefined;
1616
1780
  zipCode?: string | null | undefined;
1781
+ } | {
1782
+ firstname: string;
1783
+ surname: string;
1784
+ middlename?: string | null | undefined;
1617
1785
  } | {
1618
1786
  country: string;
1619
1787
  district: string;
@@ -1636,7 +1804,7 @@ export declare const EventDocument: z.ZodObject<{
1636
1804
  option: string;
1637
1805
  filename: string;
1638
1806
  originalFilename: string;
1639
- }[] | [string, string] | undefined>;
1807
+ }[] | [string, string] | null | undefined>;
1640
1808
  createdBySignature?: string | null | undefined;
1641
1809
  createdAtLocation?: string | null | undefined;
1642
1810
  annotation?: Record<string, string | number | boolean | {
@@ -1654,6 +1822,10 @@ export declare const EventDocument: z.ZodObject<{
1654
1822
  residentialArea?: string | null | undefined;
1655
1823
  street?: string | null | undefined;
1656
1824
  zipCode?: string | null | undefined;
1825
+ } | {
1826
+ firstname: string;
1827
+ surname: string;
1828
+ middlename?: string | null | undefined;
1657
1829
  } | {
1658
1830
  country: string;
1659
1831
  district: string;
@@ -1676,11 +1848,12 @@ export declare const EventDocument: z.ZodObject<{
1676
1848
  option: string;
1677
1849
  filename: string;
1678
1850
  originalFilename: string;
1679
- }[] | [string, string] | undefined> | null | undefined;
1851
+ }[] | [string, string] | null | undefined> | null | undefined;
1680
1852
  originalActionId?: string | null | undefined;
1681
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1682
- id: z.ZodString;
1854
+ id: z.ZodBranded<z.ZodString, "UUID">;
1683
1855
  transactionId: z.ZodString;
1856
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1684
1857
  createdAt: z.ZodString;
1685
1858
  createdBy: z.ZodString;
1686
1859
  createdByRole: z.ZodString;
@@ -1799,7 +1972,19 @@ export declare const EventDocument: z.ZodObject<{
1799
1972
  addressLine2?: string | null | undefined;
1800
1973
  addressLine3?: string | null | undefined;
1801
1974
  postcodeOrZip?: string | null | undefined;
1802
- }>]>>;
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]>]>>;
1803
1988
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1804
1989
  filename: z.ZodString;
1805
1990
  originalFilename: z.ZodString;
@@ -1913,7 +2098,19 @@ export declare const EventDocument: z.ZodObject<{
1913
2098
  addressLine2?: string | null | undefined;
1914
2099
  addressLine3?: string | null | undefined;
1915
2100
  postcodeOrZip?: string | null | undefined;
1916
- }>]>>>>;
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]>]>>>>;
1917
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1918
2115
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1919
2116
  }, {
@@ -1930,13 +2127,14 @@ export declare const EventDocument: z.ZodObject<{
1930
2127
  }>;
1931
2128
  }>, "strip", z.ZodTypeAny, {
1932
2129
  type: "ARCHIVE";
1933
- id: string;
2130
+ id: string & z.BRAND<"UUID">;
1934
2131
  status: "Rejected" | "Requested" | "Accepted";
1935
2132
  reason: {
1936
2133
  message: string;
1937
2134
  isDuplicate?: boolean | undefined;
1938
2135
  };
1939
2136
  transactionId: string;
2137
+ createdByUserType: "system" | "user";
1940
2138
  createdAt: string;
1941
2139
  createdBy: string;
1942
2140
  createdByRole: string;
@@ -1955,6 +2153,10 @@ export declare const EventDocument: z.ZodObject<{
1955
2153
  residentialArea?: string | null | undefined;
1956
2154
  street?: string | null | undefined;
1957
2155
  zipCode?: string | null | undefined;
2156
+ } | {
2157
+ firstname: string;
2158
+ surname: string;
2159
+ middlename?: string | null | undefined;
1958
2160
  } | {
1959
2161
  country: string;
1960
2162
  district: string;
@@ -1977,7 +2179,7 @@ export declare const EventDocument: z.ZodObject<{
1977
2179
  option: string;
1978
2180
  filename: string;
1979
2181
  originalFilename: string;
1980
- }[] | [string, string] | undefined>;
2182
+ }[] | [string, string] | null | undefined>;
1981
2183
  createdBySignature?: string | null | undefined;
1982
2184
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1983
2185
  annotation?: Record<string, string | number | boolean | {
@@ -1995,6 +2197,10 @@ export declare const EventDocument: z.ZodObject<{
1995
2197
  residentialArea?: string | null | undefined;
1996
2198
  street?: string | null | undefined;
1997
2199
  zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname: string;
2202
+ surname: string;
2203
+ middlename?: string | null | undefined;
1998
2204
  } | {
1999
2205
  country: string;
2000
2206
  district: string;
@@ -2017,7 +2223,7 @@ export declare const EventDocument: z.ZodObject<{
2017
2223
  option: string;
2018
2224
  filename: string;
2019
2225
  originalFilename: string;
2020
- }[] | [string, string] | undefined> | null | undefined;
2226
+ }[] | [string, string] | null | undefined> | null | undefined;
2021
2227
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2022
2228
  }, {
2023
2229
  type: "ARCHIVE";
@@ -2028,6 +2234,7 @@ export declare const EventDocument: z.ZodObject<{
2028
2234
  isDuplicate?: boolean | undefined;
2029
2235
  };
2030
2236
  transactionId: string;
2237
+ createdByUserType: "system" | "user";
2031
2238
  createdAt: string;
2032
2239
  createdBy: string;
2033
2240
  createdByRole: string;
@@ -2046,6 +2253,10 @@ export declare const EventDocument: z.ZodObject<{
2046
2253
  residentialArea?: string | null | undefined;
2047
2254
  street?: string | null | undefined;
2048
2255
  zipCode?: string | null | undefined;
2256
+ } | {
2257
+ firstname: string;
2258
+ surname: string;
2259
+ middlename?: string | null | undefined;
2049
2260
  } | {
2050
2261
  country: string;
2051
2262
  district: string;
@@ -2068,7 +2279,7 @@ export declare const EventDocument: z.ZodObject<{
2068
2279
  option: string;
2069
2280
  filename: string;
2070
2281
  originalFilename: string;
2071
- }[] | [string, string] | undefined>;
2282
+ }[] | [string, string] | null | undefined>;
2072
2283
  createdBySignature?: string | null | undefined;
2073
2284
  createdAtLocation?: string | null | undefined;
2074
2285
  annotation?: Record<string, string | number | boolean | {
@@ -2086,6 +2297,10 @@ export declare const EventDocument: z.ZodObject<{
2086
2297
  residentialArea?: string | null | undefined;
2087
2298
  street?: string | null | undefined;
2088
2299
  zipCode?: string | null | undefined;
2300
+ } | {
2301
+ firstname: string;
2302
+ surname: string;
2303
+ middlename?: string | null | undefined;
2089
2304
  } | {
2090
2305
  country: string;
2091
2306
  district: string;
@@ -2108,11 +2323,12 @@ export declare const EventDocument: z.ZodObject<{
2108
2323
  option: string;
2109
2324
  filename: string;
2110
2325
  originalFilename: string;
2111
- }[] | [string, string] | undefined> | null | undefined;
2326
+ }[] | [string, string] | null | undefined> | null | undefined;
2112
2327
  originalActionId?: string | null | undefined;
2113
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2114
- id: z.ZodString;
2329
+ id: z.ZodBranded<z.ZodString, "UUID">;
2115
2330
  transactionId: z.ZodString;
2331
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2116
2332
  createdAt: z.ZodString;
2117
2333
  createdBy: z.ZodString;
2118
2334
  createdByRole: z.ZodString;
@@ -2231,7 +2447,19 @@ export declare const EventDocument: z.ZodObject<{
2231
2447
  addressLine2?: string | null | undefined;
2232
2448
  addressLine3?: string | null | undefined;
2233
2449
  postcodeOrZip?: string | null | undefined;
2234
- }>]>>;
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]>]>>;
2235
2463
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2236
2464
  filename: z.ZodString;
2237
2465
  originalFilename: z.ZodString;
@@ -2345,16 +2573,29 @@ export declare const EventDocument: z.ZodObject<{
2345
2573
  addressLine2?: string | null | undefined;
2346
2574
  addressLine3?: string | null | undefined;
2347
2575
  postcodeOrZip?: string | null | undefined;
2348
- }>]>>>>;
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]>]>>>>;
2349
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2350
2590
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2351
2591
  }, {
2352
2592
  type: z.ZodLiteral<"NOTIFY">;
2353
2593
  }>, "strip", z.ZodTypeAny, {
2354
2594
  type: "NOTIFY";
2355
- id: string;
2595
+ id: string & z.BRAND<"UUID">;
2356
2596
  status: "Rejected" | "Requested" | "Accepted";
2357
2597
  transactionId: string;
2598
+ createdByUserType: "system" | "user";
2358
2599
  createdAt: string;
2359
2600
  createdBy: string;
2360
2601
  createdByRole: string;
@@ -2373,6 +2614,10 @@ export declare const EventDocument: z.ZodObject<{
2373
2614
  residentialArea?: string | null | undefined;
2374
2615
  street?: string | null | undefined;
2375
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname: string;
2619
+ surname: string;
2620
+ middlename?: string | null | undefined;
2376
2621
  } | {
2377
2622
  country: string;
2378
2623
  district: string;
@@ -2395,7 +2640,7 @@ export declare const EventDocument: z.ZodObject<{
2395
2640
  option: string;
2396
2641
  filename: string;
2397
2642
  originalFilename: string;
2398
- }[] | [string, string] | undefined>;
2643
+ }[] | [string, string] | null | undefined>;
2399
2644
  createdBySignature?: string | null | undefined;
2400
2645
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2401
2646
  annotation?: Record<string, string | number | boolean | {
@@ -2413,6 +2658,10 @@ export declare const EventDocument: z.ZodObject<{
2413
2658
  residentialArea?: string | null | undefined;
2414
2659
  street?: string | null | undefined;
2415
2660
  zipCode?: string | null | undefined;
2661
+ } | {
2662
+ firstname: string;
2663
+ surname: string;
2664
+ middlename?: string | null | undefined;
2416
2665
  } | {
2417
2666
  country: string;
2418
2667
  district: string;
@@ -2435,13 +2684,14 @@ export declare const EventDocument: z.ZodObject<{
2435
2684
  option: string;
2436
2685
  filename: string;
2437
2686
  originalFilename: string;
2438
- }[] | [string, string] | undefined> | null | undefined;
2687
+ }[] | [string, string] | null | undefined> | null | undefined;
2439
2688
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2440
2689
  }, {
2441
2690
  type: "NOTIFY";
2442
2691
  id: string;
2443
2692
  status: "Rejected" | "Requested" | "Accepted";
2444
2693
  transactionId: string;
2694
+ createdByUserType: "system" | "user";
2445
2695
  createdAt: string;
2446
2696
  createdBy: string;
2447
2697
  createdByRole: string;
@@ -2460,6 +2710,10 @@ export declare const EventDocument: z.ZodObject<{
2460
2710
  residentialArea?: string | null | undefined;
2461
2711
  street?: string | null | undefined;
2462
2712
  zipCode?: string | null | undefined;
2713
+ } | {
2714
+ firstname: string;
2715
+ surname: string;
2716
+ middlename?: string | null | undefined;
2463
2717
  } | {
2464
2718
  country: string;
2465
2719
  district: string;
@@ -2482,7 +2736,7 @@ export declare const EventDocument: z.ZodObject<{
2482
2736
  option: string;
2483
2737
  filename: string;
2484
2738
  originalFilename: string;
2485
- }[] | [string, string] | undefined>;
2739
+ }[] | [string, string] | null | undefined>;
2486
2740
  createdBySignature?: string | null | undefined;
2487
2741
  createdAtLocation?: string | null | undefined;
2488
2742
  annotation?: Record<string, string | number | boolean | {
@@ -2500,6 +2754,10 @@ export declare const EventDocument: z.ZodObject<{
2500
2754
  residentialArea?: string | null | undefined;
2501
2755
  street?: string | null | undefined;
2502
2756
  zipCode?: string | null | undefined;
2757
+ } | {
2758
+ firstname: string;
2759
+ surname: string;
2760
+ middlename?: string | null | undefined;
2503
2761
  } | {
2504
2762
  country: string;
2505
2763
  district: string;
@@ -2522,11 +2780,12 @@ export declare const EventDocument: z.ZodObject<{
2522
2780
  option: string;
2523
2781
  filename: string;
2524
2782
  originalFilename: string;
2525
- }[] | [string, string] | undefined> | null | undefined;
2783
+ }[] | [string, string] | null | undefined> | null | undefined;
2526
2784
  originalActionId?: string | null | undefined;
2527
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2528
- id: z.ZodString;
2786
+ id: z.ZodBranded<z.ZodString, "UUID">;
2529
2787
  transactionId: z.ZodString;
2788
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2530
2789
  createdAt: z.ZodString;
2531
2790
  createdBy: z.ZodString;
2532
2791
  createdByRole: z.ZodString;
@@ -2645,7 +2904,19 @@ export declare const EventDocument: z.ZodObject<{
2645
2904
  addressLine2?: string | null | undefined;
2646
2905
  addressLine3?: string | null | undefined;
2647
2906
  postcodeOrZip?: string | null | undefined;
2648
- }>]>>;
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]>]>>;
2649
2920
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2650
2921
  filename: z.ZodString;
2651
2922
  originalFilename: z.ZodString;
@@ -2759,7 +3030,19 @@ export declare const EventDocument: z.ZodObject<{
2759
3030
  addressLine2?: string | null | undefined;
2760
3031
  addressLine3?: string | null | undefined;
2761
3032
  postcodeOrZip?: string | null | undefined;
2762
- }>]>>>>;
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]>]>>>>;
2763
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2764
3047
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2765
3048
  }, {
@@ -2767,9 +3050,10 @@ export declare const EventDocument: z.ZodObject<{
2767
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
2768
3051
  }>, "strip", z.ZodTypeAny, {
2769
3052
  type: "REGISTER";
2770
- id: string;
3053
+ id: string & z.BRAND<"UUID">;
2771
3054
  status: "Rejected" | "Requested" | "Accepted";
2772
3055
  transactionId: string;
3056
+ createdByUserType: "system" | "user";
2773
3057
  createdAt: string;
2774
3058
  createdBy: string;
2775
3059
  createdByRole: string;
@@ -2788,6 +3072,10 @@ export declare const EventDocument: z.ZodObject<{
2788
3072
  residentialArea?: string | null | undefined;
2789
3073
  street?: string | null | undefined;
2790
3074
  zipCode?: string | null | undefined;
3075
+ } | {
3076
+ firstname: string;
3077
+ surname: string;
3078
+ middlename?: string | null | undefined;
2791
3079
  } | {
2792
3080
  country: string;
2793
3081
  district: string;
@@ -2810,7 +3098,7 @@ export declare const EventDocument: z.ZodObject<{
2810
3098
  option: string;
2811
3099
  filename: string;
2812
3100
  originalFilename: string;
2813
- }[] | [string, string] | undefined>;
3101
+ }[] | [string, string] | null | undefined>;
2814
3102
  createdBySignature?: string | null | undefined;
2815
3103
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2816
3104
  annotation?: Record<string, string | number | boolean | {
@@ -2828,6 +3116,10 @@ export declare const EventDocument: z.ZodObject<{
2828
3116
  residentialArea?: string | null | undefined;
2829
3117
  street?: string | null | undefined;
2830
3118
  zipCode?: string | null | undefined;
3119
+ } | {
3120
+ firstname: string;
3121
+ surname: string;
3122
+ middlename?: string | null | undefined;
2831
3123
  } | {
2832
3124
  country: string;
2833
3125
  district: string;
@@ -2850,7 +3142,7 @@ export declare const EventDocument: z.ZodObject<{
2850
3142
  option: string;
2851
3143
  filename: string;
2852
3144
  originalFilename: string;
2853
- }[] | [string, string] | undefined> | null | undefined;
3145
+ }[] | [string, string] | null | undefined> | null | undefined;
2854
3146
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2855
3147
  registrationNumber?: string | undefined;
2856
3148
  }, {
@@ -2858,6 +3150,7 @@ export declare const EventDocument: z.ZodObject<{
2858
3150
  id: string;
2859
3151
  status: "Rejected" | "Requested" | "Accepted";
2860
3152
  transactionId: string;
3153
+ createdByUserType: "system" | "user";
2861
3154
  createdAt: string;
2862
3155
  createdBy: string;
2863
3156
  createdByRole: string;
@@ -2876,6 +3169,10 @@ export declare const EventDocument: z.ZodObject<{
2876
3169
  residentialArea?: string | null | undefined;
2877
3170
  street?: string | null | undefined;
2878
3171
  zipCode?: string | null | undefined;
3172
+ } | {
3173
+ firstname: string;
3174
+ surname: string;
3175
+ middlename?: string | null | undefined;
2879
3176
  } | {
2880
3177
  country: string;
2881
3178
  district: string;
@@ -2898,7 +3195,7 @@ export declare const EventDocument: z.ZodObject<{
2898
3195
  option: string;
2899
3196
  filename: string;
2900
3197
  originalFilename: string;
2901
- }[] | [string, string] | undefined>;
3198
+ }[] | [string, string] | null | undefined>;
2902
3199
  createdBySignature?: string | null | undefined;
2903
3200
  createdAtLocation?: string | null | undefined;
2904
3201
  annotation?: Record<string, string | number | boolean | {
@@ -2916,6 +3213,10 @@ export declare const EventDocument: z.ZodObject<{
2916
3213
  residentialArea?: string | null | undefined;
2917
3214
  street?: string | null | undefined;
2918
3215
  zipCode?: string | null | undefined;
3216
+ } | {
3217
+ firstname: string;
3218
+ surname: string;
3219
+ middlename?: string | null | undefined;
2919
3220
  } | {
2920
3221
  country: string;
2921
3222
  district: string;
@@ -2938,12 +3239,13 @@ export declare const EventDocument: z.ZodObject<{
2938
3239
  option: string;
2939
3240
  filename: string;
2940
3241
  originalFilename: string;
2941
- }[] | [string, string] | undefined> | null | undefined;
3242
+ }[] | [string, string] | null | undefined> | null | undefined;
2942
3243
  originalActionId?: string | null | undefined;
2943
3244
  registrationNumber?: string | undefined;
2944
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2945
- id: z.ZodString;
3246
+ id: z.ZodBranded<z.ZodString, "UUID">;
2946
3247
  transactionId: z.ZodString;
3248
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2947
3249
  createdAt: z.ZodString;
2948
3250
  createdBy: z.ZodString;
2949
3251
  createdByRole: z.ZodString;
@@ -3062,7 +3364,19 @@ export declare const EventDocument: z.ZodObject<{
3062
3364
  addressLine2?: string | null | undefined;
3063
3365
  addressLine3?: string | null | undefined;
3064
3366
  postcodeOrZip?: string | null | undefined;
3065
- }>]>>;
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]>]>>;
3066
3380
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3067
3381
  filename: z.ZodString;
3068
3382
  originalFilename: z.ZodString;
@@ -3176,16 +3490,29 @@ export declare const EventDocument: z.ZodObject<{
3176
3490
  addressLine2?: string | null | undefined;
3177
3491
  addressLine3?: string | null | undefined;
3178
3492
  postcodeOrZip?: string | null | undefined;
3179
- }>]>>>>;
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]>]>>>>;
3180
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3181
3507
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3182
3508
  }, {
3183
3509
  type: z.ZodLiteral<"DECLARE">;
3184
3510
  }>, "strip", z.ZodTypeAny, {
3185
3511
  type: "DECLARE";
3186
- id: string;
3512
+ id: string & z.BRAND<"UUID">;
3187
3513
  status: "Rejected" | "Requested" | "Accepted";
3188
3514
  transactionId: string;
3515
+ createdByUserType: "system" | "user";
3189
3516
  createdAt: string;
3190
3517
  createdBy: string;
3191
3518
  createdByRole: string;
@@ -3204,6 +3531,10 @@ export declare const EventDocument: z.ZodObject<{
3204
3531
  residentialArea?: string | null | undefined;
3205
3532
  street?: string | null | undefined;
3206
3533
  zipCode?: string | null | undefined;
3534
+ } | {
3535
+ firstname: string;
3536
+ surname: string;
3537
+ middlename?: string | null | undefined;
3207
3538
  } | {
3208
3539
  country: string;
3209
3540
  district: string;
@@ -3226,7 +3557,7 @@ export declare const EventDocument: z.ZodObject<{
3226
3557
  option: string;
3227
3558
  filename: string;
3228
3559
  originalFilename: string;
3229
- }[] | [string, string] | undefined>;
3560
+ }[] | [string, string] | null | undefined>;
3230
3561
  createdBySignature?: string | null | undefined;
3231
3562
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3232
3563
  annotation?: Record<string, string | number | boolean | {
@@ -3244,6 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
3244
3575
  residentialArea?: string | null | undefined;
3245
3576
  street?: string | null | undefined;
3246
3577
  zipCode?: string | null | undefined;
3578
+ } | {
3579
+ firstname: string;
3580
+ surname: string;
3581
+ middlename?: string | null | undefined;
3247
3582
  } | {
3248
3583
  country: string;
3249
3584
  district: string;
@@ -3266,13 +3601,14 @@ export declare const EventDocument: z.ZodObject<{
3266
3601
  option: string;
3267
3602
  filename: string;
3268
3603
  originalFilename: string;
3269
- }[] | [string, string] | undefined> | null | undefined;
3604
+ }[] | [string, string] | null | undefined> | null | undefined;
3270
3605
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3271
3606
  }, {
3272
3607
  type: "DECLARE";
3273
3608
  id: string;
3274
3609
  status: "Rejected" | "Requested" | "Accepted";
3275
3610
  transactionId: string;
3611
+ createdByUserType: "system" | "user";
3276
3612
  createdAt: string;
3277
3613
  createdBy: string;
3278
3614
  createdByRole: string;
@@ -3291,6 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3291
3627
  residentialArea?: string | null | undefined;
3292
3628
  street?: string | null | undefined;
3293
3629
  zipCode?: string | null | undefined;
3630
+ } | {
3631
+ firstname: string;
3632
+ surname: string;
3633
+ middlename?: string | null | undefined;
3294
3634
  } | {
3295
3635
  country: string;
3296
3636
  district: string;
@@ -3313,7 +3653,7 @@ export declare const EventDocument: z.ZodObject<{
3313
3653
  option: string;
3314
3654
  filename: string;
3315
3655
  originalFilename: string;
3316
- }[] | [string, string] | undefined>;
3656
+ }[] | [string, string] | null | undefined>;
3317
3657
  createdBySignature?: string | null | undefined;
3318
3658
  createdAtLocation?: string | null | undefined;
3319
3659
  annotation?: Record<string, string | number | boolean | {
@@ -3331,6 +3671,10 @@ export declare const EventDocument: z.ZodObject<{
3331
3671
  residentialArea?: string | null | undefined;
3332
3672
  street?: string | null | undefined;
3333
3673
  zipCode?: string | null | undefined;
3674
+ } | {
3675
+ firstname: string;
3676
+ surname: string;
3677
+ middlename?: string | null | undefined;
3334
3678
  } | {
3335
3679
  country: string;
3336
3680
  district: string;
@@ -3353,11 +3697,12 @@ export declare const EventDocument: z.ZodObject<{
3353
3697
  option: string;
3354
3698
  filename: string;
3355
3699
  originalFilename: string;
3356
- }[] | [string, string] | undefined> | null | undefined;
3700
+ }[] | [string, string] | null | undefined> | null | undefined;
3357
3701
  originalActionId?: string | null | undefined;
3358
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3359
- id: z.ZodString;
3703
+ id: z.ZodBranded<z.ZodString, "UUID">;
3360
3704
  transactionId: z.ZodString;
3705
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3361
3706
  createdAt: z.ZodString;
3362
3707
  createdBy: z.ZodString;
3363
3708
  createdByRole: z.ZodString;
@@ -3476,7 +3821,19 @@ export declare const EventDocument: z.ZodObject<{
3476
3821
  addressLine2?: string | null | undefined;
3477
3822
  addressLine3?: string | null | undefined;
3478
3823
  postcodeOrZip?: string | null | undefined;
3479
- }>]>>;
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]>]>>;
3480
3837
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3481
3838
  filename: z.ZodString;
3482
3839
  originalFilename: z.ZodString;
@@ -3590,7 +3947,19 @@ export declare const EventDocument: z.ZodObject<{
3590
3947
  addressLine2?: string | null | undefined;
3591
3948
  addressLine3?: string | null | undefined;
3592
3949
  postcodeOrZip?: string | null | undefined;
3593
- }>]>>>>;
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]>]>>>>;
3594
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3595
3964
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3596
3965
  }, {
@@ -3598,9 +3967,10 @@ export declare const EventDocument: z.ZodObject<{
3598
3967
  assignedTo: z.ZodString;
3599
3968
  }>, "strip", z.ZodTypeAny, {
3600
3969
  type: "ASSIGN";
3601
- id: string;
3970
+ id: string & z.BRAND<"UUID">;
3602
3971
  status: "Rejected" | "Requested" | "Accepted";
3603
3972
  transactionId: string;
3973
+ createdByUserType: "system" | "user";
3604
3974
  createdAt: string;
3605
3975
  createdBy: string;
3606
3976
  createdByRole: string;
@@ -3619,6 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3619
3989
  residentialArea?: string | null | undefined;
3620
3990
  street?: string | null | undefined;
3621
3991
  zipCode?: string | null | undefined;
3992
+ } | {
3993
+ firstname: string;
3994
+ surname: string;
3995
+ middlename?: string | null | undefined;
3622
3996
  } | {
3623
3997
  country: string;
3624
3998
  district: string;
@@ -3641,7 +4015,7 @@ export declare const EventDocument: z.ZodObject<{
3641
4015
  option: string;
3642
4016
  filename: string;
3643
4017
  originalFilename: string;
3644
- }[] | [string, string] | undefined>;
4018
+ }[] | [string, string] | null | undefined>;
3645
4019
  assignedTo: string;
3646
4020
  createdBySignature?: string | null | undefined;
3647
4021
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -3660,6 +4034,10 @@ export declare const EventDocument: z.ZodObject<{
3660
4034
  residentialArea?: string | null | undefined;
3661
4035
  street?: string | null | undefined;
3662
4036
  zipCode?: string | null | undefined;
4037
+ } | {
4038
+ firstname: string;
4039
+ surname: string;
4040
+ middlename?: string | null | undefined;
3663
4041
  } | {
3664
4042
  country: string;
3665
4043
  district: string;
@@ -3682,13 +4060,14 @@ export declare const EventDocument: z.ZodObject<{
3682
4060
  option: string;
3683
4061
  filename: string;
3684
4062
  originalFilename: string;
3685
- }[] | [string, string] | undefined> | null | undefined;
4063
+ }[] | [string, string] | null | undefined> | null | undefined;
3686
4064
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3687
4065
  }, {
3688
4066
  type: "ASSIGN";
3689
4067
  id: string;
3690
4068
  status: "Rejected" | "Requested" | "Accepted";
3691
4069
  transactionId: string;
4070
+ createdByUserType: "system" | "user";
3692
4071
  createdAt: string;
3693
4072
  createdBy: string;
3694
4073
  createdByRole: string;
@@ -3707,6 +4086,10 @@ export declare const EventDocument: z.ZodObject<{
3707
4086
  residentialArea?: string | null | undefined;
3708
4087
  street?: string | null | undefined;
3709
4088
  zipCode?: string | null | undefined;
4089
+ } | {
4090
+ firstname: string;
4091
+ surname: string;
4092
+ middlename?: string | null | undefined;
3710
4093
  } | {
3711
4094
  country: string;
3712
4095
  district: string;
@@ -3729,7 +4112,7 @@ export declare const EventDocument: z.ZodObject<{
3729
4112
  option: string;
3730
4113
  filename: string;
3731
4114
  originalFilename: string;
3732
- }[] | [string, string] | undefined>;
4115
+ }[] | [string, string] | null | undefined>;
3733
4116
  assignedTo: string;
3734
4117
  createdBySignature?: string | null | undefined;
3735
4118
  createdAtLocation?: string | null | undefined;
@@ -3748,6 +4131,10 @@ export declare const EventDocument: z.ZodObject<{
3748
4131
  residentialArea?: string | null | undefined;
3749
4132
  street?: string | null | undefined;
3750
4133
  zipCode?: string | null | undefined;
4134
+ } | {
4135
+ firstname: string;
4136
+ surname: string;
4137
+ middlename?: string | null | undefined;
3751
4138
  } | {
3752
4139
  country: string;
3753
4140
  district: string;
@@ -3770,11 +4157,12 @@ export declare const EventDocument: z.ZodObject<{
3770
4157
  option: string;
3771
4158
  filename: string;
3772
4159
  originalFilename: string;
3773
- }[] | [string, string] | undefined> | null | undefined;
4160
+ }[] | [string, string] | null | undefined> | null | undefined;
3774
4161
  originalActionId?: string | null | undefined;
3775
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3776
- id: z.ZodString;
4163
+ id: z.ZodBranded<z.ZodString, "UUID">;
3777
4164
  transactionId: z.ZodString;
4165
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3778
4166
  createdAt: z.ZodString;
3779
4167
  createdBy: z.ZodString;
3780
4168
  createdByRole: z.ZodString;
@@ -3893,7 +4281,19 @@ export declare const EventDocument: z.ZodObject<{
3893
4281
  addressLine2?: string | null | undefined;
3894
4282
  addressLine3?: string | null | undefined;
3895
4283
  postcodeOrZip?: string | null | undefined;
3896
- }>]>>;
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]>]>>;
3897
4297
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3898
4298
  filename: z.ZodString;
3899
4299
  originalFilename: z.ZodString;
@@ -4007,16 +4407,29 @@ export declare const EventDocument: z.ZodObject<{
4007
4407
  addressLine2?: string | null | undefined;
4008
4408
  addressLine3?: string | null | undefined;
4009
4409
  postcodeOrZip?: string | null | undefined;
4010
- }>]>>>>;
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]>]>>>>;
4011
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4012
4424
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4013
4425
  }, {
4014
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4015
4427
  }>, "strip", z.ZodTypeAny, {
4016
4428
  type: "REQUEST_CORRECTION";
4017
- id: string;
4429
+ id: string & z.BRAND<"UUID">;
4018
4430
  status: "Rejected" | "Requested" | "Accepted";
4019
4431
  transactionId: string;
4432
+ createdByUserType: "system" | "user";
4020
4433
  createdAt: string;
4021
4434
  createdBy: string;
4022
4435
  createdByRole: string;
@@ -4035,6 +4448,10 @@ export declare const EventDocument: z.ZodObject<{
4035
4448
  residentialArea?: string | null | undefined;
4036
4449
  street?: string | null | undefined;
4037
4450
  zipCode?: string | null | undefined;
4451
+ } | {
4452
+ firstname: string;
4453
+ surname: string;
4454
+ middlename?: string | null | undefined;
4038
4455
  } | {
4039
4456
  country: string;
4040
4457
  district: string;
@@ -4057,7 +4474,7 @@ export declare const EventDocument: z.ZodObject<{
4057
4474
  option: string;
4058
4475
  filename: string;
4059
4476
  originalFilename: string;
4060
- }[] | [string, string] | undefined>;
4477
+ }[] | [string, string] | null | undefined>;
4061
4478
  createdBySignature?: string | null | undefined;
4062
4479
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4063
4480
  annotation?: Record<string, string | number | boolean | {
@@ -4075,6 +4492,10 @@ export declare const EventDocument: z.ZodObject<{
4075
4492
  residentialArea?: string | null | undefined;
4076
4493
  street?: string | null | undefined;
4077
4494
  zipCode?: string | null | undefined;
4495
+ } | {
4496
+ firstname: string;
4497
+ surname: string;
4498
+ middlename?: string | null | undefined;
4078
4499
  } | {
4079
4500
  country: string;
4080
4501
  district: string;
@@ -4097,13 +4518,14 @@ export declare const EventDocument: z.ZodObject<{
4097
4518
  option: string;
4098
4519
  filename: string;
4099
4520
  originalFilename: string;
4100
- }[] | [string, string] | undefined> | null | undefined;
4521
+ }[] | [string, string] | null | undefined> | null | undefined;
4101
4522
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4102
4523
  }, {
4103
4524
  type: "REQUEST_CORRECTION";
4104
4525
  id: string;
4105
4526
  status: "Rejected" | "Requested" | "Accepted";
4106
4527
  transactionId: string;
4528
+ createdByUserType: "system" | "user";
4107
4529
  createdAt: string;
4108
4530
  createdBy: string;
4109
4531
  createdByRole: string;
@@ -4122,6 +4544,10 @@ export declare const EventDocument: z.ZodObject<{
4122
4544
  residentialArea?: string | null | undefined;
4123
4545
  street?: string | null | undefined;
4124
4546
  zipCode?: string | null | undefined;
4547
+ } | {
4548
+ firstname: string;
4549
+ surname: string;
4550
+ middlename?: string | null | undefined;
4125
4551
  } | {
4126
4552
  country: string;
4127
4553
  district: string;
@@ -4144,7 +4570,7 @@ export declare const EventDocument: z.ZodObject<{
4144
4570
  option: string;
4145
4571
  filename: string;
4146
4572
  originalFilename: string;
4147
- }[] | [string, string] | undefined>;
4573
+ }[] | [string, string] | null | undefined>;
4148
4574
  createdBySignature?: string | null | undefined;
4149
4575
  createdAtLocation?: string | null | undefined;
4150
4576
  annotation?: Record<string, string | number | boolean | {
@@ -4162,6 +4588,10 @@ export declare const EventDocument: z.ZodObject<{
4162
4588
  residentialArea?: string | null | undefined;
4163
4589
  street?: string | null | undefined;
4164
4590
  zipCode?: string | null | undefined;
4591
+ } | {
4592
+ firstname: string;
4593
+ surname: string;
4594
+ middlename?: string | null | undefined;
4165
4595
  } | {
4166
4596
  country: string;
4167
4597
  district: string;
@@ -4184,11 +4614,12 @@ export declare const EventDocument: z.ZodObject<{
4184
4614
  option: string;
4185
4615
  filename: string;
4186
4616
  originalFilename: string;
4187
- }[] | [string, string] | undefined> | null | undefined;
4617
+ }[] | [string, string] | null | undefined> | null | undefined;
4188
4618
  originalActionId?: string | null | undefined;
4189
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4190
- id: z.ZodString;
4620
+ id: z.ZodBranded<z.ZodString, "UUID">;
4191
4621
  transactionId: z.ZodString;
4622
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4192
4623
  createdAt: z.ZodString;
4193
4624
  createdBy: z.ZodString;
4194
4625
  createdByRole: z.ZodString;
@@ -4307,7 +4738,19 @@ export declare const EventDocument: z.ZodObject<{
4307
4738
  addressLine2?: string | null | undefined;
4308
4739
  addressLine3?: string | null | undefined;
4309
4740
  postcodeOrZip?: string | null | undefined;
4310
- }>]>>;
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]>]>>;
4311
4754
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4312
4755
  filename: z.ZodString;
4313
4756
  originalFilename: z.ZodString;
@@ -4421,7 +4864,19 @@ export declare const EventDocument: z.ZodObject<{
4421
4864
  addressLine2?: string | null | undefined;
4422
4865
  addressLine3?: string | null | undefined;
4423
4866
  postcodeOrZip?: string | null | undefined;
4424
- }>]>>>>;
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]>]>>>>;
4425
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4426
4881
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4427
4882
  }, {
@@ -4429,9 +4884,10 @@ export declare const EventDocument: z.ZodObject<{
4429
4884
  requestId: z.ZodString;
4430
4885
  }>, "strip", z.ZodTypeAny, {
4431
4886
  type: "APPROVE_CORRECTION";
4432
- id: string;
4887
+ id: string & z.BRAND<"UUID">;
4433
4888
  status: "Rejected" | "Requested" | "Accepted";
4434
4889
  transactionId: string;
4890
+ createdByUserType: "system" | "user";
4435
4891
  createdAt: string;
4436
4892
  createdBy: string;
4437
4893
  createdByRole: string;
@@ -4450,6 +4906,10 @@ export declare const EventDocument: z.ZodObject<{
4450
4906
  residentialArea?: string | null | undefined;
4451
4907
  street?: string | null | undefined;
4452
4908
  zipCode?: string | null | undefined;
4909
+ } | {
4910
+ firstname: string;
4911
+ surname: string;
4912
+ middlename?: string | null | undefined;
4453
4913
  } | {
4454
4914
  country: string;
4455
4915
  district: string;
@@ -4472,7 +4932,7 @@ export declare const EventDocument: z.ZodObject<{
4472
4932
  option: string;
4473
4933
  filename: string;
4474
4934
  originalFilename: string;
4475
- }[] | [string, string] | undefined>;
4935
+ }[] | [string, string] | null | undefined>;
4476
4936
  requestId: string;
4477
4937
  createdBySignature?: string | null | undefined;
4478
4938
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -4491,6 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4491
4951
  residentialArea?: string | null | undefined;
4492
4952
  street?: string | null | undefined;
4493
4953
  zipCode?: string | null | undefined;
4954
+ } | {
4955
+ firstname: string;
4956
+ surname: string;
4957
+ middlename?: string | null | undefined;
4494
4958
  } | {
4495
4959
  country: string;
4496
4960
  district: string;
@@ -4513,13 +4977,14 @@ export declare const EventDocument: z.ZodObject<{
4513
4977
  option: string;
4514
4978
  filename: string;
4515
4979
  originalFilename: string;
4516
- }[] | [string, string] | undefined> | null | undefined;
4980
+ }[] | [string, string] | null | undefined> | null | undefined;
4517
4981
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4518
4982
  }, {
4519
4983
  type: "APPROVE_CORRECTION";
4520
4984
  id: string;
4521
4985
  status: "Rejected" | "Requested" | "Accepted";
4522
4986
  transactionId: string;
4987
+ createdByUserType: "system" | "user";
4523
4988
  createdAt: string;
4524
4989
  createdBy: string;
4525
4990
  createdByRole: string;
@@ -4538,6 +5003,10 @@ export declare const EventDocument: z.ZodObject<{
4538
5003
  residentialArea?: string | null | undefined;
4539
5004
  street?: string | null | undefined;
4540
5005
  zipCode?: string | null | undefined;
5006
+ } | {
5007
+ firstname: string;
5008
+ surname: string;
5009
+ middlename?: string | null | undefined;
4541
5010
  } | {
4542
5011
  country: string;
4543
5012
  district: string;
@@ -4560,7 +5029,7 @@ export declare const EventDocument: z.ZodObject<{
4560
5029
  option: string;
4561
5030
  filename: string;
4562
5031
  originalFilename: string;
4563
- }[] | [string, string] | undefined>;
5032
+ }[] | [string, string] | null | undefined>;
4564
5033
  requestId: string;
4565
5034
  createdBySignature?: string | null | undefined;
4566
5035
  createdAtLocation?: string | null | undefined;
@@ -4579,6 +5048,10 @@ export declare const EventDocument: z.ZodObject<{
4579
5048
  residentialArea?: string | null | undefined;
4580
5049
  street?: string | null | undefined;
4581
5050
  zipCode?: string | null | undefined;
5051
+ } | {
5052
+ firstname: string;
5053
+ surname: string;
5054
+ middlename?: string | null | undefined;
4582
5055
  } | {
4583
5056
  country: string;
4584
5057
  district: string;
@@ -4601,11 +5074,12 @@ export declare const EventDocument: z.ZodObject<{
4601
5074
  option: string;
4602
5075
  filename: string;
4603
5076
  originalFilename: string;
4604
- }[] | [string, string] | undefined> | null | undefined;
5077
+ }[] | [string, string] | null | undefined> | null | undefined;
4605
5078
  originalActionId?: string | null | undefined;
4606
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4607
- id: z.ZodString;
5080
+ id: z.ZodBranded<z.ZodString, "UUID">;
4608
5081
  transactionId: z.ZodString;
5082
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4609
5083
  createdAt: z.ZodString;
4610
5084
  createdBy: z.ZodString;
4611
5085
  createdByRole: z.ZodString;
@@ -4724,7 +5198,19 @@ export declare const EventDocument: z.ZodObject<{
4724
5198
  addressLine2?: string | null | undefined;
4725
5199
  addressLine3?: string | null | undefined;
4726
5200
  postcodeOrZip?: string | null | undefined;
4727
- }>]>>;
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]>]>>;
4728
5214
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4729
5215
  filename: z.ZodString;
4730
5216
  originalFilename: z.ZodString;
@@ -4838,7 +5324,19 @@ export declare const EventDocument: z.ZodObject<{
4838
5324
  addressLine2?: string | null | undefined;
4839
5325
  addressLine3?: string | null | undefined;
4840
5326
  postcodeOrZip?: string | null | undefined;
4841
- }>]>>>>;
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]>]>>>>;
4842
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4843
5341
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4844
5342
  }, {
@@ -4846,9 +5344,10 @@ export declare const EventDocument: z.ZodObject<{
4846
5344
  requestId: z.ZodString;
4847
5345
  }>, "strip", z.ZodTypeAny, {
4848
5346
  type: "REJECT_CORRECTION";
4849
- id: string;
5347
+ id: string & z.BRAND<"UUID">;
4850
5348
  status: "Rejected" | "Requested" | "Accepted";
4851
5349
  transactionId: string;
5350
+ createdByUserType: "system" | "user";
4852
5351
  createdAt: string;
4853
5352
  createdBy: string;
4854
5353
  createdByRole: string;
@@ -4867,6 +5366,10 @@ export declare const EventDocument: z.ZodObject<{
4867
5366
  residentialArea?: string | null | undefined;
4868
5367
  street?: string | null | undefined;
4869
5368
  zipCode?: string | null | undefined;
5369
+ } | {
5370
+ firstname: string;
5371
+ surname: string;
5372
+ middlename?: string | null | undefined;
4870
5373
  } | {
4871
5374
  country: string;
4872
5375
  district: string;
@@ -4889,7 +5392,7 @@ export declare const EventDocument: z.ZodObject<{
4889
5392
  option: string;
4890
5393
  filename: string;
4891
5394
  originalFilename: string;
4892
- }[] | [string, string] | undefined>;
5395
+ }[] | [string, string] | null | undefined>;
4893
5396
  requestId: string;
4894
5397
  createdBySignature?: string | null | undefined;
4895
5398
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -4908,6 +5411,10 @@ export declare const EventDocument: z.ZodObject<{
4908
5411
  residentialArea?: string | null | undefined;
4909
5412
  street?: string | null | undefined;
4910
5413
  zipCode?: string | null | undefined;
5414
+ } | {
5415
+ firstname: string;
5416
+ surname: string;
5417
+ middlename?: string | null | undefined;
4911
5418
  } | {
4912
5419
  country: string;
4913
5420
  district: string;
@@ -4930,13 +5437,14 @@ export declare const EventDocument: z.ZodObject<{
4930
5437
  option: string;
4931
5438
  filename: string;
4932
5439
  originalFilename: string;
4933
- }[] | [string, string] | undefined> | null | undefined;
5440
+ }[] | [string, string] | null | undefined> | null | undefined;
4934
5441
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4935
5442
  }, {
4936
5443
  type: "REJECT_CORRECTION";
4937
5444
  id: string;
4938
5445
  status: "Rejected" | "Requested" | "Accepted";
4939
5446
  transactionId: string;
5447
+ createdByUserType: "system" | "user";
4940
5448
  createdAt: string;
4941
5449
  createdBy: string;
4942
5450
  createdByRole: string;
@@ -4955,6 +5463,10 @@ export declare const EventDocument: z.ZodObject<{
4955
5463
  residentialArea?: string | null | undefined;
4956
5464
  street?: string | null | undefined;
4957
5465
  zipCode?: string | null | undefined;
5466
+ } | {
5467
+ firstname: string;
5468
+ surname: string;
5469
+ middlename?: string | null | undefined;
4958
5470
  } | {
4959
5471
  country: string;
4960
5472
  district: string;
@@ -4977,7 +5489,7 @@ export declare const EventDocument: z.ZodObject<{
4977
5489
  option: string;
4978
5490
  filename: string;
4979
5491
  originalFilename: string;
4980
- }[] | [string, string] | undefined>;
5492
+ }[] | [string, string] | null | undefined>;
4981
5493
  requestId: string;
4982
5494
  createdBySignature?: string | null | undefined;
4983
5495
  createdAtLocation?: string | null | undefined;
@@ -4996,6 +5508,10 @@ export declare const EventDocument: z.ZodObject<{
4996
5508
  residentialArea?: string | null | undefined;
4997
5509
  street?: string | null | undefined;
4998
5510
  zipCode?: string | null | undefined;
5511
+ } | {
5512
+ firstname: string;
5513
+ surname: string;
5514
+ middlename?: string | null | undefined;
4999
5515
  } | {
5000
5516
  country: string;
5001
5517
  district: string;
@@ -5018,11 +5534,12 @@ export declare const EventDocument: z.ZodObject<{
5018
5534
  option: string;
5019
5535
  filename: string;
5020
5536
  originalFilename: string;
5021
- }[] | [string, string] | undefined> | null | undefined;
5537
+ }[] | [string, string] | null | undefined> | null | undefined;
5022
5538
  originalActionId?: string | null | undefined;
5023
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
5024
- id: z.ZodString;
5540
+ id: z.ZodBranded<z.ZodString, "UUID">;
5025
5541
  transactionId: z.ZodString;
5542
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5026
5543
  createdAt: z.ZodString;
5027
5544
  createdBy: z.ZodString;
5028
5545
  createdByRole: z.ZodString;
@@ -5141,7 +5658,19 @@ export declare const EventDocument: z.ZodObject<{
5141
5658
  addressLine2?: string | null | undefined;
5142
5659
  addressLine3?: string | null | undefined;
5143
5660
  postcodeOrZip?: string | null | undefined;
5144
- }>]>>;
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]>]>>;
5145
5674
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5146
5675
  filename: z.ZodString;
5147
5676
  originalFilename: z.ZodString;
@@ -5255,17 +5784,29 @@ export declare const EventDocument: z.ZodObject<{
5255
5784
  addressLine2?: string | null | undefined;
5256
5785
  addressLine3?: string | null | undefined;
5257
5786
  postcodeOrZip?: string | null | undefined;
5258
- }>]>>>>;
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]>]>>>>;
5259
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5260
5801
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5261
5802
  }, {
5262
5803
  type: z.ZodLiteral<"UNASSIGN">;
5263
- assignedTo: z.ZodLiteral<null>;
5264
5804
  }>, "strip", z.ZodTypeAny, {
5265
5805
  type: "UNASSIGN";
5266
- id: string;
5806
+ id: string & z.BRAND<"UUID">;
5267
5807
  status: "Rejected" | "Requested" | "Accepted";
5268
5808
  transactionId: string;
5809
+ createdByUserType: "system" | "user";
5269
5810
  createdAt: string;
5270
5811
  createdBy: string;
5271
5812
  createdByRole: string;
@@ -5284,6 +5825,10 @@ export declare const EventDocument: z.ZodObject<{
5284
5825
  residentialArea?: string | null | undefined;
5285
5826
  street?: string | null | undefined;
5286
5827
  zipCode?: string | null | undefined;
5828
+ } | {
5829
+ firstname: string;
5830
+ surname: string;
5831
+ middlename?: string | null | undefined;
5287
5832
  } | {
5288
5833
  country: string;
5289
5834
  district: string;
@@ -5306,8 +5851,7 @@ export declare const EventDocument: z.ZodObject<{
5306
5851
  option: string;
5307
5852
  filename: string;
5308
5853
  originalFilename: string;
5309
- }[] | [string, string] | undefined>;
5310
- assignedTo: null;
5854
+ }[] | [string, string] | null | undefined>;
5311
5855
  createdBySignature?: string | null | undefined;
5312
5856
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5313
5857
  annotation?: Record<string, string | number | boolean | {
@@ -5325,6 +5869,10 @@ export declare const EventDocument: z.ZodObject<{
5325
5869
  residentialArea?: string | null | undefined;
5326
5870
  street?: string | null | undefined;
5327
5871
  zipCode?: string | null | undefined;
5872
+ } | {
5873
+ firstname: string;
5874
+ surname: string;
5875
+ middlename?: string | null | undefined;
5328
5876
  } | {
5329
5877
  country: string;
5330
5878
  district: string;
@@ -5347,13 +5895,14 @@ export declare const EventDocument: z.ZodObject<{
5347
5895
  option: string;
5348
5896
  filename: string;
5349
5897
  originalFilename: string;
5350
- }[] | [string, string] | undefined> | null | undefined;
5898
+ }[] | [string, string] | null | undefined> | null | undefined;
5351
5899
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5352
5900
  }, {
5353
5901
  type: "UNASSIGN";
5354
5902
  id: string;
5355
5903
  status: "Rejected" | "Requested" | "Accepted";
5356
5904
  transactionId: string;
5905
+ createdByUserType: "system" | "user";
5357
5906
  createdAt: string;
5358
5907
  createdBy: string;
5359
5908
  createdByRole: string;
@@ -5372,6 +5921,10 @@ export declare const EventDocument: z.ZodObject<{
5372
5921
  residentialArea?: string | null | undefined;
5373
5922
  street?: string | null | undefined;
5374
5923
  zipCode?: string | null | undefined;
5924
+ } | {
5925
+ firstname: string;
5926
+ surname: string;
5927
+ middlename?: string | null | undefined;
5375
5928
  } | {
5376
5929
  country: string;
5377
5930
  district: string;
@@ -5394,8 +5947,7 @@ export declare const EventDocument: z.ZodObject<{
5394
5947
  option: string;
5395
5948
  filename: string;
5396
5949
  originalFilename: string;
5397
- }[] | [string, string] | undefined>;
5398
- assignedTo: null;
5950
+ }[] | [string, string] | null | undefined>;
5399
5951
  createdBySignature?: string | null | undefined;
5400
5952
  createdAtLocation?: string | null | undefined;
5401
5953
  annotation?: Record<string, string | number | boolean | {
@@ -5413,6 +5965,10 @@ export declare const EventDocument: z.ZodObject<{
5413
5965
  residentialArea?: string | null | undefined;
5414
5966
  street?: string | null | undefined;
5415
5967
  zipCode?: string | null | undefined;
5968
+ } | {
5969
+ firstname: string;
5970
+ surname: string;
5971
+ middlename?: string | null | undefined;
5416
5972
  } | {
5417
5973
  country: string;
5418
5974
  district: string;
@@ -5435,11 +5991,12 @@ export declare const EventDocument: z.ZodObject<{
5435
5991
  option: string;
5436
5992
  filename: string;
5437
5993
  originalFilename: string;
5438
- }[] | [string, string] | undefined> | null | undefined;
5994
+ }[] | [string, string] | null | undefined> | null | undefined;
5439
5995
  originalActionId?: string | null | undefined;
5440
5996
  }>, z.ZodObject<z.objectUtil.extendShape<{
5441
- id: z.ZodString;
5997
+ id: z.ZodBranded<z.ZodString, "UUID">;
5442
5998
  transactionId: z.ZodString;
5999
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5443
6000
  createdAt: z.ZodString;
5444
6001
  createdBy: z.ZodString;
5445
6002
  createdByRole: z.ZodString;
@@ -5558,7 +6115,19 @@ export declare const EventDocument: z.ZodObject<{
5558
6115
  addressLine2?: string | null | undefined;
5559
6116
  addressLine3?: string | null | undefined;
5560
6117
  postcodeOrZip?: string | null | undefined;
5561
- }>]>>;
6118
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
+ firstname: z.ZodString;
6120
+ surname: z.ZodString;
6121
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
+ }, "strip", z.ZodTypeAny, {
6123
+ firstname: string;
6124
+ surname: string;
6125
+ middlename?: string | null | undefined;
6126
+ }, {
6127
+ firstname: string;
6128
+ surname: string;
6129
+ middlename?: string | null | undefined;
6130
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5562
6131
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5563
6132
  filename: z.ZodString;
5564
6133
  originalFilename: z.ZodString;
@@ -5672,16 +6241,29 @@ export declare const EventDocument: z.ZodObject<{
5672
6241
  addressLine2?: string | null | undefined;
5673
6242
  addressLine3?: string | null | undefined;
5674
6243
  postcodeOrZip?: string | null | undefined;
5675
- }>]>>>>;
6244
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
+ firstname: z.ZodString;
6246
+ surname: z.ZodString;
6247
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
+ }, "strip", z.ZodTypeAny, {
6249
+ firstname: string;
6250
+ surname: string;
6251
+ middlename?: string | null | undefined;
6252
+ }, {
6253
+ firstname: string;
6254
+ surname: string;
6255
+ middlename?: string | null | undefined;
6256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5676
6257
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5677
6258
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5678
6259
  }, {
5679
6260
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5680
6261
  }>, "strip", z.ZodTypeAny, {
5681
6262
  type: "PRINT_CERTIFICATE";
5682
- id: string;
6263
+ id: string & z.BRAND<"UUID">;
5683
6264
  status: "Rejected" | "Requested" | "Accepted";
5684
6265
  transactionId: string;
6266
+ createdByUserType: "system" | "user";
5685
6267
  createdAt: string;
5686
6268
  createdBy: string;
5687
6269
  createdByRole: string;
@@ -5700,6 +6282,10 @@ export declare const EventDocument: z.ZodObject<{
5700
6282
  residentialArea?: string | null | undefined;
5701
6283
  street?: string | null | undefined;
5702
6284
  zipCode?: string | null | undefined;
6285
+ } | {
6286
+ firstname: string;
6287
+ surname: string;
6288
+ middlename?: string | null | undefined;
5703
6289
  } | {
5704
6290
  country: string;
5705
6291
  district: string;
@@ -5722,7 +6308,7 @@ export declare const EventDocument: z.ZodObject<{
5722
6308
  option: string;
5723
6309
  filename: string;
5724
6310
  originalFilename: string;
5725
- }[] | [string, string] | undefined>;
6311
+ }[] | [string, string] | null | undefined>;
5726
6312
  createdBySignature?: string | null | undefined;
5727
6313
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5728
6314
  annotation?: Record<string, string | number | boolean | {
@@ -5740,6 +6326,10 @@ export declare const EventDocument: z.ZodObject<{
5740
6326
  residentialArea?: string | null | undefined;
5741
6327
  street?: string | null | undefined;
5742
6328
  zipCode?: string | null | undefined;
6329
+ } | {
6330
+ firstname: string;
6331
+ surname: string;
6332
+ middlename?: string | null | undefined;
5743
6333
  } | {
5744
6334
  country: string;
5745
6335
  district: string;
@@ -5762,13 +6352,14 @@ export declare const EventDocument: z.ZodObject<{
5762
6352
  option: string;
5763
6353
  filename: string;
5764
6354
  originalFilename: string;
5765
- }[] | [string, string] | undefined> | null | undefined;
6355
+ }[] | [string, string] | null | undefined> | null | undefined;
5766
6356
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5767
6357
  }, {
5768
6358
  type: "PRINT_CERTIFICATE";
5769
6359
  id: string;
5770
6360
  status: "Rejected" | "Requested" | "Accepted";
5771
6361
  transactionId: string;
6362
+ createdByUserType: "system" | "user";
5772
6363
  createdAt: string;
5773
6364
  createdBy: string;
5774
6365
  createdByRole: string;
@@ -5787,6 +6378,10 @@ export declare const EventDocument: z.ZodObject<{
5787
6378
  residentialArea?: string | null | undefined;
5788
6379
  street?: string | null | undefined;
5789
6380
  zipCode?: string | null | undefined;
6381
+ } | {
6382
+ firstname: string;
6383
+ surname: string;
6384
+ middlename?: string | null | undefined;
5790
6385
  } | {
5791
6386
  country: string;
5792
6387
  district: string;
@@ -5809,7 +6404,7 @@ export declare const EventDocument: z.ZodObject<{
5809
6404
  option: string;
5810
6405
  filename: string;
5811
6406
  originalFilename: string;
5812
- }[] | [string, string] | undefined>;
6407
+ }[] | [string, string] | null | undefined>;
5813
6408
  createdBySignature?: string | null | undefined;
5814
6409
  createdAtLocation?: string | null | undefined;
5815
6410
  annotation?: Record<string, string | number | boolean | {
@@ -5827,6 +6422,10 @@ export declare const EventDocument: z.ZodObject<{
5827
6422
  residentialArea?: string | null | undefined;
5828
6423
  street?: string | null | undefined;
5829
6424
  zipCode?: string | null | undefined;
6425
+ } | {
6426
+ firstname: string;
6427
+ surname: string;
6428
+ middlename?: string | null | undefined;
5830
6429
  } | {
5831
6430
  country: string;
5832
6431
  district: string;
@@ -5849,11 +6448,12 @@ export declare const EventDocument: z.ZodObject<{
5849
6448
  option: string;
5850
6449
  filename: string;
5851
6450
  originalFilename: string;
5852
- }[] | [string, string] | undefined> | null | undefined;
6451
+ }[] | [string, string] | null | undefined> | null | undefined;
5853
6452
  originalActionId?: string | null | undefined;
5854
6453
  }>, z.ZodObject<z.objectUtil.extendShape<{
5855
- id: z.ZodString;
6454
+ id: z.ZodBranded<z.ZodString, "UUID">;
5856
6455
  transactionId: z.ZodString;
6456
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5857
6457
  createdAt: z.ZodString;
5858
6458
  createdBy: z.ZodString;
5859
6459
  createdByRole: z.ZodString;
@@ -5972,7 +6572,19 @@ export declare const EventDocument: z.ZodObject<{
5972
6572
  addressLine2?: string | null | undefined;
5973
6573
  addressLine3?: string | null | undefined;
5974
6574
  postcodeOrZip?: string | null | undefined;
5975
- }>]>>;
6575
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
+ firstname: z.ZodString;
6577
+ surname: z.ZodString;
6578
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
+ }, "strip", z.ZodTypeAny, {
6580
+ firstname: string;
6581
+ surname: string;
6582
+ middlename?: string | null | undefined;
6583
+ }, {
6584
+ firstname: string;
6585
+ surname: string;
6586
+ middlename?: string | null | undefined;
6587
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5976
6588
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5977
6589
  filename: z.ZodString;
5978
6590
  originalFilename: z.ZodString;
@@ -6086,16 +6698,29 @@ export declare const EventDocument: z.ZodObject<{
6086
6698
  addressLine2?: string | null | undefined;
6087
6699
  addressLine3?: string | null | undefined;
6088
6700
  postcodeOrZip?: string | null | undefined;
6089
- }>]>>>>;
6701
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
+ firstname: z.ZodString;
6703
+ surname: z.ZodString;
6704
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
+ }, "strip", z.ZodTypeAny, {
6706
+ firstname: string;
6707
+ surname: string;
6708
+ middlename?: string | null | undefined;
6709
+ }, {
6710
+ firstname: string;
6711
+ surname: string;
6712
+ middlename?: string | null | undefined;
6713
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6090
6714
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6091
6715
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6092
6716
  }, {
6093
6717
  type: z.ZodLiteral<"READ">;
6094
6718
  }>, "strip", z.ZodTypeAny, {
6095
6719
  type: "READ";
6096
- id: string;
6720
+ id: string & z.BRAND<"UUID">;
6097
6721
  status: "Rejected" | "Requested" | "Accepted";
6098
6722
  transactionId: string;
6723
+ createdByUserType: "system" | "user";
6099
6724
  createdAt: string;
6100
6725
  createdBy: string;
6101
6726
  createdByRole: string;
@@ -6114,6 +6739,10 @@ export declare const EventDocument: z.ZodObject<{
6114
6739
  residentialArea?: string | null | undefined;
6115
6740
  street?: string | null | undefined;
6116
6741
  zipCode?: string | null | undefined;
6742
+ } | {
6743
+ firstname: string;
6744
+ surname: string;
6745
+ middlename?: string | null | undefined;
6117
6746
  } | {
6118
6747
  country: string;
6119
6748
  district: string;
@@ -6136,7 +6765,7 @@ export declare const EventDocument: z.ZodObject<{
6136
6765
  option: string;
6137
6766
  filename: string;
6138
6767
  originalFilename: string;
6139
- }[] | [string, string] | undefined>;
6768
+ }[] | [string, string] | null | undefined>;
6140
6769
  createdBySignature?: string | null | undefined;
6141
6770
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6142
6771
  annotation?: Record<string, string | number | boolean | {
@@ -6154,6 +6783,10 @@ export declare const EventDocument: z.ZodObject<{
6154
6783
  residentialArea?: string | null | undefined;
6155
6784
  street?: string | null | undefined;
6156
6785
  zipCode?: string | null | undefined;
6786
+ } | {
6787
+ firstname: string;
6788
+ surname: string;
6789
+ middlename?: string | null | undefined;
6157
6790
  } | {
6158
6791
  country: string;
6159
6792
  district: string;
@@ -6176,13 +6809,14 @@ export declare const EventDocument: z.ZodObject<{
6176
6809
  option: string;
6177
6810
  filename: string;
6178
6811
  originalFilename: string;
6179
- }[] | [string, string] | undefined> | null | undefined;
6812
+ }[] | [string, string] | null | undefined> | null | undefined;
6180
6813
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6181
6814
  }, {
6182
6815
  type: "READ";
6183
6816
  id: string;
6184
6817
  status: "Rejected" | "Requested" | "Accepted";
6185
6818
  transactionId: string;
6819
+ createdByUserType: "system" | "user";
6186
6820
  createdAt: string;
6187
6821
  createdBy: string;
6188
6822
  createdByRole: string;
@@ -6201,6 +6835,10 @@ export declare const EventDocument: z.ZodObject<{
6201
6835
  residentialArea?: string | null | undefined;
6202
6836
  street?: string | null | undefined;
6203
6837
  zipCode?: string | null | undefined;
6838
+ } | {
6839
+ firstname: string;
6840
+ surname: string;
6841
+ middlename?: string | null | undefined;
6204
6842
  } | {
6205
6843
  country: string;
6206
6844
  district: string;
@@ -6223,7 +6861,7 @@ export declare const EventDocument: z.ZodObject<{
6223
6861
  option: string;
6224
6862
  filename: string;
6225
6863
  originalFilename: string;
6226
- }[] | [string, string] | undefined>;
6864
+ }[] | [string, string] | null | undefined>;
6227
6865
  createdBySignature?: string | null | undefined;
6228
6866
  createdAtLocation?: string | null | undefined;
6229
6867
  annotation?: Record<string, string | number | boolean | {
@@ -6241,6 +6879,10 @@ export declare const EventDocument: z.ZodObject<{
6241
6879
  residentialArea?: string | null | undefined;
6242
6880
  street?: string | null | undefined;
6243
6881
  zipCode?: string | null | undefined;
6882
+ } | {
6883
+ firstname: string;
6884
+ surname: string;
6885
+ middlename?: string | null | undefined;
6244
6886
  } | {
6245
6887
  country: string;
6246
6888
  district: string;
@@ -6263,11 +6905,12 @@ export declare const EventDocument: z.ZodObject<{
6263
6905
  option: string;
6264
6906
  filename: string;
6265
6907
  originalFilename: string;
6266
- }[] | [string, string] | undefined> | null | undefined;
6908
+ }[] | [string, string] | null | undefined> | null | undefined;
6267
6909
  originalActionId?: string | null | undefined;
6268
6910
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6269
- id: z.ZodString;
6911
+ id: z.ZodBranded<z.ZodString, "UUID">;
6270
6912
  transactionId: z.ZodString;
6913
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6271
6914
  createdAt: z.ZodString;
6272
6915
  createdBy: z.ZodString;
6273
6916
  createdByRole: z.ZodString;
@@ -6386,7 +7029,19 @@ export declare const EventDocument: z.ZodObject<{
6386
7029
  addressLine2?: string | null | undefined;
6387
7030
  addressLine3?: string | null | undefined;
6388
7031
  postcodeOrZip?: string | null | undefined;
6389
- }>]>>;
7032
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
+ firstname: z.ZodString;
7034
+ surname: z.ZodString;
7035
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ }, "strip", z.ZodTypeAny, {
7037
+ firstname: string;
7038
+ surname: string;
7039
+ middlename?: string | null | undefined;
7040
+ }, {
7041
+ firstname: string;
7042
+ surname: string;
7043
+ middlename?: string | null | undefined;
7044
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6390
7045
  annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6391
7046
  filename: z.ZodString;
6392
7047
  originalFilename: z.ZodString;
@@ -6500,7 +7155,19 @@ export declare const EventDocument: z.ZodObject<{
6500
7155
  addressLine2?: string | null | undefined;
6501
7156
  addressLine3?: string | null | undefined;
6502
7157
  postcodeOrZip?: string | null | undefined;
6503
- }>]>>>>;
7158
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
+ firstname: z.ZodString;
7160
+ surname: z.ZodString;
7161
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
+ }, "strip", z.ZodTypeAny, {
7163
+ firstname: string;
7164
+ surname: string;
7165
+ middlename?: string | null | undefined;
7166
+ }, {
7167
+ firstname: string;
7168
+ surname: string;
7169
+ middlename?: string | null | undefined;
7170
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6504
7171
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6505
7172
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6506
7173
  }, "declaration" | "annotation">, {
@@ -6508,9 +7175,10 @@ export declare const EventDocument: z.ZodObject<{
6508
7175
  status: z.ZodLiteral<"Rejected">;
6509
7176
  }>, "strip", z.ZodTypeAny, {
6510
7177
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6511
- id: string;
7178
+ id: string & z.BRAND<"UUID">;
6512
7179
  status: "Rejected";
6513
7180
  transactionId: string;
7181
+ createdByUserType: "system" | "user";
6514
7182
  createdAt: string;
6515
7183
  createdBy: string;
6516
7184
  createdByRole: string;
@@ -6522,6 +7190,7 @@ export declare const EventDocument: z.ZodObject<{
6522
7190
  id: string;
6523
7191
  status: "Rejected";
6524
7192
  transactionId: string;
7193
+ createdByUserType: "system" | "user";
6525
7194
  createdAt: string;
6526
7195
  createdBy: string;
6527
7196
  createdByRole: string;
@@ -6537,9 +7206,10 @@ export declare const EventDocument: z.ZodObject<{
6537
7206
  updatedAt: string;
6538
7207
  actions: ({
6539
7208
  type: "ASSIGN";
6540
- id: string;
7209
+ id: string & z.BRAND<"UUID">;
6541
7210
  status: "Rejected" | "Requested" | "Accepted";
6542
7211
  transactionId: string;
7212
+ createdByUserType: "system" | "user";
6543
7213
  createdAt: string;
6544
7214
  createdBy: string;
6545
7215
  createdByRole: string;
@@ -6558,6 +7228,10 @@ export declare const EventDocument: z.ZodObject<{
6558
7228
  residentialArea?: string | null | undefined;
6559
7229
  street?: string | null | undefined;
6560
7230
  zipCode?: string | null | undefined;
7231
+ } | {
7232
+ firstname: string;
7233
+ surname: string;
7234
+ middlename?: string | null | undefined;
6561
7235
  } | {
6562
7236
  country: string;
6563
7237
  district: string;
@@ -6580,7 +7254,7 @@ export declare const EventDocument: z.ZodObject<{
6580
7254
  option: string;
6581
7255
  filename: string;
6582
7256
  originalFilename: string;
6583
- }[] | [string, string] | undefined>;
7257
+ }[] | [string, string] | null | undefined>;
6584
7258
  assignedTo: string;
6585
7259
  createdBySignature?: string | null | undefined;
6586
7260
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -6599,6 +7273,10 @@ export declare const EventDocument: z.ZodObject<{
6599
7273
  residentialArea?: string | null | undefined;
6600
7274
  street?: string | null | undefined;
6601
7275
  zipCode?: string | null | undefined;
7276
+ } | {
7277
+ firstname: string;
7278
+ surname: string;
7279
+ middlename?: string | null | undefined;
6602
7280
  } | {
6603
7281
  country: string;
6604
7282
  district: string;
@@ -6621,13 +7299,14 @@ export declare const EventDocument: z.ZodObject<{
6621
7299
  option: string;
6622
7300
  filename: string;
6623
7301
  originalFilename: string;
6624
- }[] | [string, string] | undefined> | null | undefined;
7302
+ }[] | [string, string] | null | undefined> | null | undefined;
6625
7303
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6626
7304
  } | {
6627
7305
  type: "UNASSIGN";
6628
- id: string;
7306
+ id: string & z.BRAND<"UUID">;
6629
7307
  status: "Rejected" | "Requested" | "Accepted";
6630
7308
  transactionId: string;
7309
+ createdByUserType: "system" | "user";
6631
7310
  createdAt: string;
6632
7311
  createdBy: string;
6633
7312
  createdByRole: string;
@@ -6646,6 +7325,10 @@ export declare const EventDocument: z.ZodObject<{
6646
7325
  residentialArea?: string | null | undefined;
6647
7326
  street?: string | null | undefined;
6648
7327
  zipCode?: string | null | undefined;
7328
+ } | {
7329
+ firstname: string;
7330
+ surname: string;
7331
+ middlename?: string | null | undefined;
6649
7332
  } | {
6650
7333
  country: string;
6651
7334
  district: string;
@@ -6668,8 +7351,7 @@ export declare const EventDocument: z.ZodObject<{
6668
7351
  option: string;
6669
7352
  filename: string;
6670
7353
  originalFilename: string;
6671
- }[] | [string, string] | undefined>;
6672
- assignedTo: null;
7354
+ }[] | [string, string] | null | undefined>;
6673
7355
  createdBySignature?: string | null | undefined;
6674
7356
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6675
7357
  annotation?: Record<string, string | number | boolean | {
@@ -6687,6 +7369,10 @@ export declare const EventDocument: z.ZodObject<{
6687
7369
  residentialArea?: string | null | undefined;
6688
7370
  street?: string | null | undefined;
6689
7371
  zipCode?: string | null | undefined;
7372
+ } | {
7373
+ firstname: string;
7374
+ surname: string;
7375
+ middlename?: string | null | undefined;
6690
7376
  } | {
6691
7377
  country: string;
6692
7378
  district: string;
@@ -6709,13 +7395,14 @@ export declare const EventDocument: z.ZodObject<{
6709
7395
  option: string;
6710
7396
  filename: string;
6711
7397
  originalFilename: string;
6712
- }[] | [string, string] | undefined> | null | undefined;
7398
+ }[] | [string, string] | null | undefined> | null | undefined;
6713
7399
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6714
7400
  } | {
6715
7401
  type: "REGISTER";
6716
- id: string;
7402
+ id: string & z.BRAND<"UUID">;
6717
7403
  status: "Rejected" | "Requested" | "Accepted";
6718
7404
  transactionId: string;
7405
+ createdByUserType: "system" | "user";
6719
7406
  createdAt: string;
6720
7407
  createdBy: string;
6721
7408
  createdByRole: string;
@@ -6734,6 +7421,10 @@ export declare const EventDocument: z.ZodObject<{
6734
7421
  residentialArea?: string | null | undefined;
6735
7422
  street?: string | null | undefined;
6736
7423
  zipCode?: string | null | undefined;
7424
+ } | {
7425
+ firstname: string;
7426
+ surname: string;
7427
+ middlename?: string | null | undefined;
6737
7428
  } | {
6738
7429
  country: string;
6739
7430
  district: string;
@@ -6756,7 +7447,7 @@ export declare const EventDocument: z.ZodObject<{
6756
7447
  option: string;
6757
7448
  filename: string;
6758
7449
  originalFilename: string;
6759
- }[] | [string, string] | undefined>;
7450
+ }[] | [string, string] | null | undefined>;
6760
7451
  createdBySignature?: string | null | undefined;
6761
7452
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6762
7453
  annotation?: Record<string, string | number | boolean | {
@@ -6774,6 +7465,10 @@ export declare const EventDocument: z.ZodObject<{
6774
7465
  residentialArea?: string | null | undefined;
6775
7466
  street?: string | null | undefined;
6776
7467
  zipCode?: string | null | undefined;
7468
+ } | {
7469
+ firstname: string;
7470
+ surname: string;
7471
+ middlename?: string | null | undefined;
6777
7472
  } | {
6778
7473
  country: string;
6779
7474
  district: string;
@@ -6796,14 +7491,15 @@ export declare const EventDocument: z.ZodObject<{
6796
7491
  option: string;
6797
7492
  filename: string;
6798
7493
  originalFilename: string;
6799
- }[] | [string, string] | undefined> | null | undefined;
7494
+ }[] | [string, string] | null | undefined> | null | undefined;
6800
7495
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6801
7496
  registrationNumber?: string | undefined;
6802
7497
  } | {
6803
7498
  type: "DECLARE";
6804
- id: string;
7499
+ id: string & z.BRAND<"UUID">;
6805
7500
  status: "Rejected" | "Requested" | "Accepted";
6806
7501
  transactionId: string;
7502
+ createdByUserType: "system" | "user";
6807
7503
  createdAt: string;
6808
7504
  createdBy: string;
6809
7505
  createdByRole: string;
@@ -6822,6 +7518,10 @@ export declare const EventDocument: z.ZodObject<{
6822
7518
  residentialArea?: string | null | undefined;
6823
7519
  street?: string | null | undefined;
6824
7520
  zipCode?: string | null | undefined;
7521
+ } | {
7522
+ firstname: string;
7523
+ surname: string;
7524
+ middlename?: string | null | undefined;
6825
7525
  } | {
6826
7526
  country: string;
6827
7527
  district: string;
@@ -6844,7 +7544,7 @@ export declare const EventDocument: z.ZodObject<{
6844
7544
  option: string;
6845
7545
  filename: string;
6846
7546
  originalFilename: string;
6847
- }[] | [string, string] | undefined>;
7547
+ }[] | [string, string] | null | undefined>;
6848
7548
  createdBySignature?: string | null | undefined;
6849
7549
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6850
7550
  annotation?: Record<string, string | number | boolean | {
@@ -6862,6 +7562,10 @@ export declare const EventDocument: z.ZodObject<{
6862
7562
  residentialArea?: string | null | undefined;
6863
7563
  street?: string | null | undefined;
6864
7564
  zipCode?: string | null | undefined;
7565
+ } | {
7566
+ firstname: string;
7567
+ surname: string;
7568
+ middlename?: string | null | undefined;
6865
7569
  } | {
6866
7570
  country: string;
6867
7571
  district: string;
@@ -6884,13 +7588,14 @@ export declare const EventDocument: z.ZodObject<{
6884
7588
  option: string;
6885
7589
  filename: string;
6886
7590
  originalFilename: string;
6887
- }[] | [string, string] | undefined> | null | undefined;
7591
+ }[] | [string, string] | null | undefined> | null | undefined;
6888
7592
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6889
7593
  } | {
6890
7594
  type: "VALIDATE";
6891
- id: string;
7595
+ id: string & z.BRAND<"UUID">;
6892
7596
  status: "Rejected" | "Requested" | "Accepted";
6893
7597
  transactionId: string;
7598
+ createdByUserType: "system" | "user";
6894
7599
  createdAt: string;
6895
7600
  createdBy: string;
6896
7601
  createdByRole: string;
@@ -6909,6 +7614,10 @@ export declare const EventDocument: z.ZodObject<{
6909
7614
  residentialArea?: string | null | undefined;
6910
7615
  street?: string | null | undefined;
6911
7616
  zipCode?: string | null | undefined;
7617
+ } | {
7618
+ firstname: string;
7619
+ surname: string;
7620
+ middlename?: string | null | undefined;
6912
7621
  } | {
6913
7622
  country: string;
6914
7623
  district: string;
@@ -6931,7 +7640,7 @@ export declare const EventDocument: z.ZodObject<{
6931
7640
  option: string;
6932
7641
  filename: string;
6933
7642
  originalFilename: string;
6934
- }[] | [string, string] | undefined>;
7643
+ }[] | [string, string] | null | undefined>;
6935
7644
  createdBySignature?: string | null | undefined;
6936
7645
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6937
7646
  annotation?: Record<string, string | number | boolean | {
@@ -6949,6 +7658,10 @@ export declare const EventDocument: z.ZodObject<{
6949
7658
  residentialArea?: string | null | undefined;
6950
7659
  street?: string | null | undefined;
6951
7660
  zipCode?: string | null | undefined;
7661
+ } | {
7662
+ firstname: string;
7663
+ surname: string;
7664
+ middlename?: string | null | undefined;
6952
7665
  } | {
6953
7666
  country: string;
6954
7667
  district: string;
@@ -6971,17 +7684,18 @@ export declare const EventDocument: z.ZodObject<{
6971
7684
  option: string;
6972
7685
  filename: string;
6973
7686
  originalFilename: string;
6974
- }[] | [string, string] | undefined> | null | undefined;
7687
+ }[] | [string, string] | null | undefined> | null | undefined;
6975
7688
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6976
7689
  } | {
6977
7690
  type: "REJECT";
6978
- id: string;
7691
+ id: string & z.BRAND<"UUID">;
6979
7692
  status: "Rejected" | "Requested" | "Accepted";
6980
7693
  reason: {
6981
7694
  message: string;
6982
7695
  isDuplicate?: boolean | undefined;
6983
7696
  };
6984
7697
  transactionId: string;
7698
+ createdByUserType: "system" | "user";
6985
7699
  createdAt: string;
6986
7700
  createdBy: string;
6987
7701
  createdByRole: string;
@@ -7000,6 +7714,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7714
  residentialArea?: string | null | undefined;
7001
7715
  street?: string | null | undefined;
7002
7716
  zipCode?: string | null | undefined;
7717
+ } | {
7718
+ firstname: string;
7719
+ surname: string;
7720
+ middlename?: string | null | undefined;
7003
7721
  } | {
7004
7722
  country: string;
7005
7723
  district: string;
@@ -7022,7 +7740,7 @@ export declare const EventDocument: z.ZodObject<{
7022
7740
  option: string;
7023
7741
  filename: string;
7024
7742
  originalFilename: string;
7025
- }[] | [string, string] | undefined>;
7743
+ }[] | [string, string] | null | undefined>;
7026
7744
  createdBySignature?: string | null | undefined;
7027
7745
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7028
7746
  annotation?: Record<string, string | number | boolean | {
@@ -7040,6 +7758,10 @@ export declare const EventDocument: z.ZodObject<{
7040
7758
  residentialArea?: string | null | undefined;
7041
7759
  street?: string | null | undefined;
7042
7760
  zipCode?: string | null | undefined;
7761
+ } | {
7762
+ firstname: string;
7763
+ surname: string;
7764
+ middlename?: string | null | undefined;
7043
7765
  } | {
7044
7766
  country: string;
7045
7767
  district: string;
@@ -7062,13 +7784,14 @@ export declare const EventDocument: z.ZodObject<{
7062
7784
  option: string;
7063
7785
  filename: string;
7064
7786
  originalFilename: string;
7065
- }[] | [string, string] | undefined> | null | undefined;
7787
+ }[] | [string, string] | null | undefined> | null | undefined;
7066
7788
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7067
7789
  } | {
7068
7790
  type: "MARKED_AS_DUPLICATE";
7069
- id: string;
7791
+ id: string & z.BRAND<"UUID">;
7070
7792
  status: "Rejected" | "Requested" | "Accepted";
7071
7793
  transactionId: string;
7794
+ createdByUserType: "system" | "user";
7072
7795
  createdAt: string;
7073
7796
  createdBy: string;
7074
7797
  createdByRole: string;
@@ -7087,6 +7810,10 @@ export declare const EventDocument: z.ZodObject<{
7087
7810
  residentialArea?: string | null | undefined;
7088
7811
  street?: string | null | undefined;
7089
7812
  zipCode?: string | null | undefined;
7813
+ } | {
7814
+ firstname: string;
7815
+ surname: string;
7816
+ middlename?: string | null | undefined;
7090
7817
  } | {
7091
7818
  country: string;
7092
7819
  district: string;
@@ -7109,7 +7836,7 @@ export declare const EventDocument: z.ZodObject<{
7109
7836
  option: string;
7110
7837
  filename: string;
7111
7838
  originalFilename: string;
7112
- }[] | [string, string] | undefined>;
7839
+ }[] | [string, string] | null | undefined>;
7113
7840
  createdBySignature?: string | null | undefined;
7114
7841
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7115
7842
  annotation?: Record<string, string | number | boolean | {
@@ -7127,6 +7854,10 @@ export declare const EventDocument: z.ZodObject<{
7127
7854
  residentialArea?: string | null | undefined;
7128
7855
  street?: string | null | undefined;
7129
7856
  zipCode?: string | null | undefined;
7857
+ } | {
7858
+ firstname: string;
7859
+ surname: string;
7860
+ middlename?: string | null | undefined;
7130
7861
  } | {
7131
7862
  country: string;
7132
7863
  district: string;
@@ -7149,17 +7880,18 @@ export declare const EventDocument: z.ZodObject<{
7149
7880
  option: string;
7150
7881
  filename: string;
7151
7882
  originalFilename: string;
7152
- }[] | [string, string] | undefined> | null | undefined;
7883
+ }[] | [string, string] | null | undefined> | null | undefined;
7153
7884
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7154
7885
  } | {
7155
7886
  type: "ARCHIVE";
7156
- id: string;
7887
+ id: string & z.BRAND<"UUID">;
7157
7888
  status: "Rejected" | "Requested" | "Accepted";
7158
7889
  reason: {
7159
7890
  message: string;
7160
7891
  isDuplicate?: boolean | undefined;
7161
7892
  };
7162
7893
  transactionId: string;
7894
+ createdByUserType: "system" | "user";
7163
7895
  createdAt: string;
7164
7896
  createdBy: string;
7165
7897
  createdByRole: string;
@@ -7178,6 +7910,10 @@ export declare const EventDocument: z.ZodObject<{
7178
7910
  residentialArea?: string | null | undefined;
7179
7911
  street?: string | null | undefined;
7180
7912
  zipCode?: string | null | undefined;
7913
+ } | {
7914
+ firstname: string;
7915
+ surname: string;
7916
+ middlename?: string | null | undefined;
7181
7917
  } | {
7182
7918
  country: string;
7183
7919
  district: string;
@@ -7200,7 +7936,7 @@ export declare const EventDocument: z.ZodObject<{
7200
7936
  option: string;
7201
7937
  filename: string;
7202
7938
  originalFilename: string;
7203
- }[] | [string, string] | undefined>;
7939
+ }[] | [string, string] | null | undefined>;
7204
7940
  createdBySignature?: string | null | undefined;
7205
7941
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7206
7942
  annotation?: Record<string, string | number | boolean | {
@@ -7218,6 +7954,10 @@ export declare const EventDocument: z.ZodObject<{
7218
7954
  residentialArea?: string | null | undefined;
7219
7955
  street?: string | null | undefined;
7220
7956
  zipCode?: string | null | undefined;
7957
+ } | {
7958
+ firstname: string;
7959
+ surname: string;
7960
+ middlename?: string | null | undefined;
7221
7961
  } | {
7222
7962
  country: string;
7223
7963
  district: string;
@@ -7240,13 +7980,14 @@ export declare const EventDocument: z.ZodObject<{
7240
7980
  option: string;
7241
7981
  filename: string;
7242
7982
  originalFilename: string;
7243
- }[] | [string, string] | undefined> | null | undefined;
7983
+ }[] | [string, string] | null | undefined> | null | undefined;
7244
7984
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7245
7985
  } | {
7246
7986
  type: "CREATE";
7247
- id: string;
7987
+ id: string & z.BRAND<"UUID">;
7248
7988
  status: "Rejected" | "Requested" | "Accepted";
7249
7989
  transactionId: string;
7990
+ createdByUserType: "system" | "user";
7250
7991
  createdAt: string;
7251
7992
  createdBy: string;
7252
7993
  createdByRole: string;
@@ -7265,6 +8006,10 @@ export declare const EventDocument: z.ZodObject<{
7265
8006
  residentialArea?: string | null | undefined;
7266
8007
  street?: string | null | undefined;
7267
8008
  zipCode?: string | null | undefined;
8009
+ } | {
8010
+ firstname: string;
8011
+ surname: string;
8012
+ middlename?: string | null | undefined;
7268
8013
  } | {
7269
8014
  country: string;
7270
8015
  district: string;
@@ -7287,7 +8032,7 @@ export declare const EventDocument: z.ZodObject<{
7287
8032
  option: string;
7288
8033
  filename: string;
7289
8034
  originalFilename: string;
7290
- }[] | [string, string] | undefined>;
8035
+ }[] | [string, string] | null | undefined>;
7291
8036
  createdBySignature?: string | null | undefined;
7292
8037
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7293
8038
  annotation?: Record<string, string | number | boolean | {
@@ -7305,6 +8050,10 @@ export declare const EventDocument: z.ZodObject<{
7305
8050
  residentialArea?: string | null | undefined;
7306
8051
  street?: string | null | undefined;
7307
8052
  zipCode?: string | null | undefined;
8053
+ } | {
8054
+ firstname: string;
8055
+ surname: string;
8056
+ middlename?: string | null | undefined;
7308
8057
  } | {
7309
8058
  country: string;
7310
8059
  district: string;
@@ -7327,13 +8076,14 @@ export declare const EventDocument: z.ZodObject<{
7327
8076
  option: string;
7328
8077
  filename: string;
7329
8078
  originalFilename: string;
7330
- }[] | [string, string] | undefined> | null | undefined;
8079
+ }[] | [string, string] | null | undefined> | null | undefined;
7331
8080
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7332
8081
  } | {
7333
8082
  type: "NOTIFY";
7334
- id: string;
8083
+ id: string & z.BRAND<"UUID">;
7335
8084
  status: "Rejected" | "Requested" | "Accepted";
7336
8085
  transactionId: string;
8086
+ createdByUserType: "system" | "user";
7337
8087
  createdAt: string;
7338
8088
  createdBy: string;
7339
8089
  createdByRole: string;
@@ -7352,6 +8102,10 @@ export declare const EventDocument: z.ZodObject<{
7352
8102
  residentialArea?: string | null | undefined;
7353
8103
  street?: string | null | undefined;
7354
8104
  zipCode?: string | null | undefined;
8105
+ } | {
8106
+ firstname: string;
8107
+ surname: string;
8108
+ middlename?: string | null | undefined;
7355
8109
  } | {
7356
8110
  country: string;
7357
8111
  district: string;
@@ -7374,7 +8128,7 @@ export declare const EventDocument: z.ZodObject<{
7374
8128
  option: string;
7375
8129
  filename: string;
7376
8130
  originalFilename: string;
7377
- }[] | [string, string] | undefined>;
8131
+ }[] | [string, string] | null | undefined>;
7378
8132
  createdBySignature?: string | null | undefined;
7379
8133
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7380
8134
  annotation?: Record<string, string | number | boolean | {
@@ -7392,6 +8146,10 @@ export declare const EventDocument: z.ZodObject<{
7392
8146
  residentialArea?: string | null | undefined;
7393
8147
  street?: string | null | undefined;
7394
8148
  zipCode?: string | null | undefined;
8149
+ } | {
8150
+ firstname: string;
8151
+ surname: string;
8152
+ middlename?: string | null | undefined;
7395
8153
  } | {
7396
8154
  country: string;
7397
8155
  district: string;
@@ -7414,13 +8172,14 @@ export declare const EventDocument: z.ZodObject<{
7414
8172
  option: string;
7415
8173
  filename: string;
7416
8174
  originalFilename: string;
7417
- }[] | [string, string] | undefined> | null | undefined;
8175
+ }[] | [string, string] | null | undefined> | null | undefined;
7418
8176
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7419
8177
  } | {
7420
8178
  type: "PRINT_CERTIFICATE";
7421
- id: string;
8179
+ id: string & z.BRAND<"UUID">;
7422
8180
  status: "Rejected" | "Requested" | "Accepted";
7423
8181
  transactionId: string;
8182
+ createdByUserType: "system" | "user";
7424
8183
  createdAt: string;
7425
8184
  createdBy: string;
7426
8185
  createdByRole: string;
@@ -7439,6 +8198,10 @@ export declare const EventDocument: z.ZodObject<{
7439
8198
  residentialArea?: string | null | undefined;
7440
8199
  street?: string | null | undefined;
7441
8200
  zipCode?: string | null | undefined;
8201
+ } | {
8202
+ firstname: string;
8203
+ surname: string;
8204
+ middlename?: string | null | undefined;
7442
8205
  } | {
7443
8206
  country: string;
7444
8207
  district: string;
@@ -7461,7 +8224,7 @@ export declare const EventDocument: z.ZodObject<{
7461
8224
  option: string;
7462
8225
  filename: string;
7463
8226
  originalFilename: string;
7464
- }[] | [string, string] | undefined>;
8227
+ }[] | [string, string] | null | undefined>;
7465
8228
  createdBySignature?: string | null | undefined;
7466
8229
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7467
8230
  annotation?: Record<string, string | number | boolean | {
@@ -7479,6 +8242,10 @@ export declare const EventDocument: z.ZodObject<{
7479
8242
  residentialArea?: string | null | undefined;
7480
8243
  street?: string | null | undefined;
7481
8244
  zipCode?: string | null | undefined;
8245
+ } | {
8246
+ firstname: string;
8247
+ surname: string;
8248
+ middlename?: string | null | undefined;
7482
8249
  } | {
7483
8250
  country: string;
7484
8251
  district: string;
@@ -7501,13 +8268,14 @@ export declare const EventDocument: z.ZodObject<{
7501
8268
  option: string;
7502
8269
  filename: string;
7503
8270
  originalFilename: string;
7504
- }[] | [string, string] | undefined> | null | undefined;
8271
+ }[] | [string, string] | null | undefined> | null | undefined;
7505
8272
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7506
8273
  } | {
7507
8274
  type: "REQUEST_CORRECTION";
7508
- id: string;
8275
+ id: string & z.BRAND<"UUID">;
7509
8276
  status: "Rejected" | "Requested" | "Accepted";
7510
8277
  transactionId: string;
8278
+ createdByUserType: "system" | "user";
7511
8279
  createdAt: string;
7512
8280
  createdBy: string;
7513
8281
  createdByRole: string;
@@ -7526,6 +8294,10 @@ export declare const EventDocument: z.ZodObject<{
7526
8294
  residentialArea?: string | null | undefined;
7527
8295
  street?: string | null | undefined;
7528
8296
  zipCode?: string | null | undefined;
8297
+ } | {
8298
+ firstname: string;
8299
+ surname: string;
8300
+ middlename?: string | null | undefined;
7529
8301
  } | {
7530
8302
  country: string;
7531
8303
  district: string;
@@ -7548,7 +8320,7 @@ export declare const EventDocument: z.ZodObject<{
7548
8320
  option: string;
7549
8321
  filename: string;
7550
8322
  originalFilename: string;
7551
- }[] | [string, string] | undefined>;
8323
+ }[] | [string, string] | null | undefined>;
7552
8324
  createdBySignature?: string | null | undefined;
7553
8325
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7554
8326
  annotation?: Record<string, string | number | boolean | {
@@ -7566,6 +8338,10 @@ export declare const EventDocument: z.ZodObject<{
7566
8338
  residentialArea?: string | null | undefined;
7567
8339
  street?: string | null | undefined;
7568
8340
  zipCode?: string | null | undefined;
8341
+ } | {
8342
+ firstname: string;
8343
+ surname: string;
8344
+ middlename?: string | null | undefined;
7569
8345
  } | {
7570
8346
  country: string;
7571
8347
  district: string;
@@ -7588,13 +8364,14 @@ export declare const EventDocument: z.ZodObject<{
7588
8364
  option: string;
7589
8365
  filename: string;
7590
8366
  originalFilename: string;
7591
- }[] | [string, string] | undefined> | null | undefined;
8367
+ }[] | [string, string] | null | undefined> | null | undefined;
7592
8368
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7593
8369
  } | {
7594
8370
  type: "APPROVE_CORRECTION";
7595
- id: string;
8371
+ id: string & z.BRAND<"UUID">;
7596
8372
  status: "Rejected" | "Requested" | "Accepted";
7597
8373
  transactionId: string;
8374
+ createdByUserType: "system" | "user";
7598
8375
  createdAt: string;
7599
8376
  createdBy: string;
7600
8377
  createdByRole: string;
@@ -7613,6 +8390,10 @@ export declare const EventDocument: z.ZodObject<{
7613
8390
  residentialArea?: string | null | undefined;
7614
8391
  street?: string | null | undefined;
7615
8392
  zipCode?: string | null | undefined;
8393
+ } | {
8394
+ firstname: string;
8395
+ surname: string;
8396
+ middlename?: string | null | undefined;
7616
8397
  } | {
7617
8398
  country: string;
7618
8399
  district: string;
@@ -7635,7 +8416,7 @@ export declare const EventDocument: z.ZodObject<{
7635
8416
  option: string;
7636
8417
  filename: string;
7637
8418
  originalFilename: string;
7638
- }[] | [string, string] | undefined>;
8419
+ }[] | [string, string] | null | undefined>;
7639
8420
  requestId: string;
7640
8421
  createdBySignature?: string | null | undefined;
7641
8422
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -7654,6 +8435,10 @@ export declare const EventDocument: z.ZodObject<{
7654
8435
  residentialArea?: string | null | undefined;
7655
8436
  street?: string | null | undefined;
7656
8437
  zipCode?: string | null | undefined;
8438
+ } | {
8439
+ firstname: string;
8440
+ surname: string;
8441
+ middlename?: string | null | undefined;
7657
8442
  } | {
7658
8443
  country: string;
7659
8444
  district: string;
@@ -7676,13 +8461,14 @@ export declare const EventDocument: z.ZodObject<{
7676
8461
  option: string;
7677
8462
  filename: string;
7678
8463
  originalFilename: string;
7679
- }[] | [string, string] | undefined> | null | undefined;
8464
+ }[] | [string, string] | null | undefined> | null | undefined;
7680
8465
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7681
8466
  } | {
7682
8467
  type: "REJECT_CORRECTION";
7683
- id: string;
8468
+ id: string & z.BRAND<"UUID">;
7684
8469
  status: "Rejected" | "Requested" | "Accepted";
7685
8470
  transactionId: string;
8471
+ createdByUserType: "system" | "user";
7686
8472
  createdAt: string;
7687
8473
  createdBy: string;
7688
8474
  createdByRole: string;
@@ -7701,6 +8487,10 @@ export declare const EventDocument: z.ZodObject<{
7701
8487
  residentialArea?: string | null | undefined;
7702
8488
  street?: string | null | undefined;
7703
8489
  zipCode?: string | null | undefined;
8490
+ } | {
8491
+ firstname: string;
8492
+ surname: string;
8493
+ middlename?: string | null | undefined;
7704
8494
  } | {
7705
8495
  country: string;
7706
8496
  district: string;
@@ -7723,7 +8513,7 @@ export declare const EventDocument: z.ZodObject<{
7723
8513
  option: string;
7724
8514
  filename: string;
7725
8515
  originalFilename: string;
7726
- }[] | [string, string] | undefined>;
8516
+ }[] | [string, string] | null | undefined>;
7727
8517
  requestId: string;
7728
8518
  createdBySignature?: string | null | undefined;
7729
8519
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
@@ -7742,6 +8532,10 @@ export declare const EventDocument: z.ZodObject<{
7742
8532
  residentialArea?: string | null | undefined;
7743
8533
  street?: string | null | undefined;
7744
8534
  zipCode?: string | null | undefined;
8535
+ } | {
8536
+ firstname: string;
8537
+ surname: string;
8538
+ middlename?: string | null | undefined;
7745
8539
  } | {
7746
8540
  country: string;
7747
8541
  district: string;
@@ -7764,13 +8558,14 @@ export declare const EventDocument: z.ZodObject<{
7764
8558
  option: string;
7765
8559
  filename: string;
7766
8560
  originalFilename: string;
7767
- }[] | [string, string] | undefined> | null | undefined;
8561
+ }[] | [string, string] | null | undefined> | null | undefined;
7768
8562
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7769
8563
  } | {
7770
8564
  type: "READ";
7771
- id: string;
8565
+ id: string & z.BRAND<"UUID">;
7772
8566
  status: "Rejected" | "Requested" | "Accepted";
7773
8567
  transactionId: string;
8568
+ createdByUserType: "system" | "user";
7774
8569
  createdAt: string;
7775
8570
  createdBy: string;
7776
8571
  createdByRole: string;
@@ -7789,6 +8584,10 @@ export declare const EventDocument: z.ZodObject<{
7789
8584
  residentialArea?: string | null | undefined;
7790
8585
  street?: string | null | undefined;
7791
8586
  zipCode?: string | null | undefined;
8587
+ } | {
8588
+ firstname: string;
8589
+ surname: string;
8590
+ middlename?: string | null | undefined;
7792
8591
  } | {
7793
8592
  country: string;
7794
8593
  district: string;
@@ -7811,7 +8610,7 @@ export declare const EventDocument: z.ZodObject<{
7811
8610
  option: string;
7812
8611
  filename: string;
7813
8612
  originalFilename: string;
7814
- }[] | [string, string] | undefined>;
8613
+ }[] | [string, string] | null | undefined>;
7815
8614
  createdBySignature?: string | null | undefined;
7816
8615
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7817
8616
  annotation?: Record<string, string | number | boolean | {
@@ -7829,6 +8628,10 @@ export declare const EventDocument: z.ZodObject<{
7829
8628
  residentialArea?: string | null | undefined;
7830
8629
  street?: string | null | undefined;
7831
8630
  zipCode?: string | null | undefined;
8631
+ } | {
8632
+ firstname: string;
8633
+ surname: string;
8634
+ middlename?: string | null | undefined;
7832
8635
  } | {
7833
8636
  country: string;
7834
8637
  district: string;
@@ -7851,13 +8654,14 @@ export declare const EventDocument: z.ZodObject<{
7851
8654
  option: string;
7852
8655
  filename: string;
7853
8656
  originalFilename: string;
7854
- }[] | [string, string] | undefined> | null | undefined;
8657
+ }[] | [string, string] | null | undefined> | null | undefined;
7855
8658
  originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7856
8659
  } | {
7857
8660
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7858
- id: string;
8661
+ id: string & z.BRAND<"UUID">;
7859
8662
  status: "Rejected";
7860
8663
  transactionId: string;
8664
+ createdByUserType: "system" | "user";
7861
8665
  createdAt: string;
7862
8666
  createdBy: string;
7863
8667
  createdByRole: string;
@@ -7876,6 +8680,7 @@ export declare const EventDocument: z.ZodObject<{
7876
8680
  id: string;
7877
8681
  status: "Rejected" | "Requested" | "Accepted";
7878
8682
  transactionId: string;
8683
+ createdByUserType: "system" | "user";
7879
8684
  createdAt: string;
7880
8685
  createdBy: string;
7881
8686
  createdByRole: string;
@@ -7894,6 +8699,10 @@ export declare const EventDocument: z.ZodObject<{
7894
8699
  residentialArea?: string | null | undefined;
7895
8700
  street?: string | null | undefined;
7896
8701
  zipCode?: string | null | undefined;
8702
+ } | {
8703
+ firstname: string;
8704
+ surname: string;
8705
+ middlename?: string | null | undefined;
7897
8706
  } | {
7898
8707
  country: string;
7899
8708
  district: string;
@@ -7916,7 +8725,7 @@ export declare const EventDocument: z.ZodObject<{
7916
8725
  option: string;
7917
8726
  filename: string;
7918
8727
  originalFilename: string;
7919
- }[] | [string, string] | undefined>;
8728
+ }[] | [string, string] | null | undefined>;
7920
8729
  assignedTo: string;
7921
8730
  createdBySignature?: string | null | undefined;
7922
8731
  createdAtLocation?: string | null | undefined;
@@ -7935,6 +8744,10 @@ export declare const EventDocument: z.ZodObject<{
7935
8744
  residentialArea?: string | null | undefined;
7936
8745
  street?: string | null | undefined;
7937
8746
  zipCode?: string | null | undefined;
8747
+ } | {
8748
+ firstname: string;
8749
+ surname: string;
8750
+ middlename?: string | null | undefined;
7938
8751
  } | {
7939
8752
  country: string;
7940
8753
  district: string;
@@ -7957,13 +8770,14 @@ export declare const EventDocument: z.ZodObject<{
7957
8770
  option: string;
7958
8771
  filename: string;
7959
8772
  originalFilename: string;
7960
- }[] | [string, string] | undefined> | null | undefined;
8773
+ }[] | [string, string] | null | undefined> | null | undefined;
7961
8774
  originalActionId?: string | null | undefined;
7962
8775
  } | {
7963
8776
  type: "UNASSIGN";
7964
8777
  id: string;
7965
8778
  status: "Rejected" | "Requested" | "Accepted";
7966
8779
  transactionId: string;
8780
+ createdByUserType: "system" | "user";
7967
8781
  createdAt: string;
7968
8782
  createdBy: string;
7969
8783
  createdByRole: string;
@@ -7982,6 +8796,10 @@ export declare const EventDocument: z.ZodObject<{
7982
8796
  residentialArea?: string | null | undefined;
7983
8797
  street?: string | null | undefined;
7984
8798
  zipCode?: string | null | undefined;
8799
+ } | {
8800
+ firstname: string;
8801
+ surname: string;
8802
+ middlename?: string | null | undefined;
7985
8803
  } | {
7986
8804
  country: string;
7987
8805
  district: string;
@@ -8004,8 +8822,7 @@ export declare const EventDocument: z.ZodObject<{
8004
8822
  option: string;
8005
8823
  filename: string;
8006
8824
  originalFilename: string;
8007
- }[] | [string, string] | undefined>;
8008
- assignedTo: null;
8825
+ }[] | [string, string] | null | undefined>;
8009
8826
  createdBySignature?: string | null | undefined;
8010
8827
  createdAtLocation?: string | null | undefined;
8011
8828
  annotation?: Record<string, string | number | boolean | {
@@ -8023,6 +8840,10 @@ export declare const EventDocument: z.ZodObject<{
8023
8840
  residentialArea?: string | null | undefined;
8024
8841
  street?: string | null | undefined;
8025
8842
  zipCode?: string | null | undefined;
8843
+ } | {
8844
+ firstname: string;
8845
+ surname: string;
8846
+ middlename?: string | null | undefined;
8026
8847
  } | {
8027
8848
  country: string;
8028
8849
  district: string;
@@ -8045,13 +8866,14 @@ export declare const EventDocument: z.ZodObject<{
8045
8866
  option: string;
8046
8867
  filename: string;
8047
8868
  originalFilename: string;
8048
- }[] | [string, string] | undefined> | null | undefined;
8869
+ }[] | [string, string] | null | undefined> | null | undefined;
8049
8870
  originalActionId?: string | null | undefined;
8050
8871
  } | {
8051
8872
  type: "REGISTER";
8052
8873
  id: string;
8053
8874
  status: "Rejected" | "Requested" | "Accepted";
8054
8875
  transactionId: string;
8876
+ createdByUserType: "system" | "user";
8055
8877
  createdAt: string;
8056
8878
  createdBy: string;
8057
8879
  createdByRole: string;
@@ -8070,6 +8892,10 @@ export declare const EventDocument: z.ZodObject<{
8070
8892
  residentialArea?: string | null | undefined;
8071
8893
  street?: string | null | undefined;
8072
8894
  zipCode?: string | null | undefined;
8895
+ } | {
8896
+ firstname: string;
8897
+ surname: string;
8898
+ middlename?: string | null | undefined;
8073
8899
  } | {
8074
8900
  country: string;
8075
8901
  district: string;
@@ -8092,7 +8918,7 @@ export declare const EventDocument: z.ZodObject<{
8092
8918
  option: string;
8093
8919
  filename: string;
8094
8920
  originalFilename: string;
8095
- }[] | [string, string] | undefined>;
8921
+ }[] | [string, string] | null | undefined>;
8096
8922
  createdBySignature?: string | null | undefined;
8097
8923
  createdAtLocation?: string | null | undefined;
8098
8924
  annotation?: Record<string, string | number | boolean | {
@@ -8110,6 +8936,10 @@ export declare const EventDocument: z.ZodObject<{
8110
8936
  residentialArea?: string | null | undefined;
8111
8937
  street?: string | null | undefined;
8112
8938
  zipCode?: string | null | undefined;
8939
+ } | {
8940
+ firstname: string;
8941
+ surname: string;
8942
+ middlename?: string | null | undefined;
8113
8943
  } | {
8114
8944
  country: string;
8115
8945
  district: string;
@@ -8132,7 +8962,7 @@ export declare const EventDocument: z.ZodObject<{
8132
8962
  option: string;
8133
8963
  filename: string;
8134
8964
  originalFilename: string;
8135
- }[] | [string, string] | undefined> | null | undefined;
8965
+ }[] | [string, string] | null | undefined> | null | undefined;
8136
8966
  originalActionId?: string | null | undefined;
8137
8967
  registrationNumber?: string | undefined;
8138
8968
  } | {
@@ -8140,6 +8970,7 @@ export declare const EventDocument: z.ZodObject<{
8140
8970
  id: string;
8141
8971
  status: "Rejected" | "Requested" | "Accepted";
8142
8972
  transactionId: string;
8973
+ createdByUserType: "system" | "user";
8143
8974
  createdAt: string;
8144
8975
  createdBy: string;
8145
8976
  createdByRole: string;
@@ -8158,6 +8989,10 @@ export declare const EventDocument: z.ZodObject<{
8158
8989
  residentialArea?: string | null | undefined;
8159
8990
  street?: string | null | undefined;
8160
8991
  zipCode?: string | null | undefined;
8992
+ } | {
8993
+ firstname: string;
8994
+ surname: string;
8995
+ middlename?: string | null | undefined;
8161
8996
  } | {
8162
8997
  country: string;
8163
8998
  district: string;
@@ -8180,7 +9015,7 @@ export declare const EventDocument: z.ZodObject<{
8180
9015
  option: string;
8181
9016
  filename: string;
8182
9017
  originalFilename: string;
8183
- }[] | [string, string] | undefined>;
9018
+ }[] | [string, string] | null | undefined>;
8184
9019
  createdBySignature?: string | null | undefined;
8185
9020
  createdAtLocation?: string | null | undefined;
8186
9021
  annotation?: Record<string, string | number | boolean | {
@@ -8198,6 +9033,10 @@ export declare const EventDocument: z.ZodObject<{
8198
9033
  residentialArea?: string | null | undefined;
8199
9034
  street?: string | null | undefined;
8200
9035
  zipCode?: string | null | undefined;
9036
+ } | {
9037
+ firstname: string;
9038
+ surname: string;
9039
+ middlename?: string | null | undefined;
8201
9040
  } | {
8202
9041
  country: string;
8203
9042
  district: string;
@@ -8220,13 +9059,14 @@ export declare const EventDocument: z.ZodObject<{
8220
9059
  option: string;
8221
9060
  filename: string;
8222
9061
  originalFilename: string;
8223
- }[] | [string, string] | undefined> | null | undefined;
9062
+ }[] | [string, string] | null | undefined> | null | undefined;
8224
9063
  originalActionId?: string | null | undefined;
8225
9064
  } | {
8226
9065
  type: "VALIDATE";
8227
9066
  id: string;
8228
9067
  status: "Rejected" | "Requested" | "Accepted";
8229
9068
  transactionId: string;
9069
+ createdByUserType: "system" | "user";
8230
9070
  createdAt: string;
8231
9071
  createdBy: string;
8232
9072
  createdByRole: string;
@@ -8245,6 +9085,10 @@ export declare const EventDocument: z.ZodObject<{
8245
9085
  residentialArea?: string | null | undefined;
8246
9086
  street?: string | null | undefined;
8247
9087
  zipCode?: string | null | undefined;
9088
+ } | {
9089
+ firstname: string;
9090
+ surname: string;
9091
+ middlename?: string | null | undefined;
8248
9092
  } | {
8249
9093
  country: string;
8250
9094
  district: string;
@@ -8267,7 +9111,7 @@ export declare const EventDocument: z.ZodObject<{
8267
9111
  option: string;
8268
9112
  filename: string;
8269
9113
  originalFilename: string;
8270
- }[] | [string, string] | undefined>;
9114
+ }[] | [string, string] | null | undefined>;
8271
9115
  createdBySignature?: string | null | undefined;
8272
9116
  createdAtLocation?: string | null | undefined;
8273
9117
  annotation?: Record<string, string | number | boolean | {
@@ -8285,6 +9129,10 @@ export declare const EventDocument: z.ZodObject<{
8285
9129
  residentialArea?: string | null | undefined;
8286
9130
  street?: string | null | undefined;
8287
9131
  zipCode?: string | null | undefined;
9132
+ } | {
9133
+ firstname: string;
9134
+ surname: string;
9135
+ middlename?: string | null | undefined;
8288
9136
  } | {
8289
9137
  country: string;
8290
9138
  district: string;
@@ -8307,7 +9155,7 @@ export declare const EventDocument: z.ZodObject<{
8307
9155
  option: string;
8308
9156
  filename: string;
8309
9157
  originalFilename: string;
8310
- }[] | [string, string] | undefined> | null | undefined;
9158
+ }[] | [string, string] | null | undefined> | null | undefined;
8311
9159
  originalActionId?: string | null | undefined;
8312
9160
  } | {
8313
9161
  type: "REJECT";
@@ -8318,6 +9166,7 @@ export declare const EventDocument: z.ZodObject<{
8318
9166
  isDuplicate?: boolean | undefined;
8319
9167
  };
8320
9168
  transactionId: string;
9169
+ createdByUserType: "system" | "user";
8321
9170
  createdAt: string;
8322
9171
  createdBy: string;
8323
9172
  createdByRole: string;
@@ -8336,6 +9185,10 @@ export declare const EventDocument: z.ZodObject<{
8336
9185
  residentialArea?: string | null | undefined;
8337
9186
  street?: string | null | undefined;
8338
9187
  zipCode?: string | null | undefined;
9188
+ } | {
9189
+ firstname: string;
9190
+ surname: string;
9191
+ middlename?: string | null | undefined;
8339
9192
  } | {
8340
9193
  country: string;
8341
9194
  district: string;
@@ -8358,7 +9211,7 @@ export declare const EventDocument: z.ZodObject<{
8358
9211
  option: string;
8359
9212
  filename: string;
8360
9213
  originalFilename: string;
8361
- }[] | [string, string] | undefined>;
9214
+ }[] | [string, string] | null | undefined>;
8362
9215
  createdBySignature?: string | null | undefined;
8363
9216
  createdAtLocation?: string | null | undefined;
8364
9217
  annotation?: Record<string, string | number | boolean | {
@@ -8376,6 +9229,10 @@ export declare const EventDocument: z.ZodObject<{
8376
9229
  residentialArea?: string | null | undefined;
8377
9230
  street?: string | null | undefined;
8378
9231
  zipCode?: string | null | undefined;
9232
+ } | {
9233
+ firstname: string;
9234
+ surname: string;
9235
+ middlename?: string | null | undefined;
8379
9236
  } | {
8380
9237
  country: string;
8381
9238
  district: string;
@@ -8398,13 +9255,14 @@ export declare const EventDocument: z.ZodObject<{
8398
9255
  option: string;
8399
9256
  filename: string;
8400
9257
  originalFilename: string;
8401
- }[] | [string, string] | undefined> | null | undefined;
9258
+ }[] | [string, string] | null | undefined> | null | undefined;
8402
9259
  originalActionId?: string | null | undefined;
8403
9260
  } | {
8404
9261
  type: "MARKED_AS_DUPLICATE";
8405
9262
  id: string;
8406
9263
  status: "Rejected" | "Requested" | "Accepted";
8407
9264
  transactionId: string;
9265
+ createdByUserType: "system" | "user";
8408
9266
  createdAt: string;
8409
9267
  createdBy: string;
8410
9268
  createdByRole: string;
@@ -8423,6 +9281,10 @@ export declare const EventDocument: z.ZodObject<{
8423
9281
  residentialArea?: string | null | undefined;
8424
9282
  street?: string | null | undefined;
8425
9283
  zipCode?: string | null | undefined;
9284
+ } | {
9285
+ firstname: string;
9286
+ surname: string;
9287
+ middlename?: string | null | undefined;
8426
9288
  } | {
8427
9289
  country: string;
8428
9290
  district: string;
@@ -8445,7 +9307,7 @@ export declare const EventDocument: z.ZodObject<{
8445
9307
  option: string;
8446
9308
  filename: string;
8447
9309
  originalFilename: string;
8448
- }[] | [string, string] | undefined>;
9310
+ }[] | [string, string] | null | undefined>;
8449
9311
  createdBySignature?: string | null | undefined;
8450
9312
  createdAtLocation?: string | null | undefined;
8451
9313
  annotation?: Record<string, string | number | boolean | {
@@ -8463,6 +9325,10 @@ export declare const EventDocument: z.ZodObject<{
8463
9325
  residentialArea?: string | null | undefined;
8464
9326
  street?: string | null | undefined;
8465
9327
  zipCode?: string | null | undefined;
9328
+ } | {
9329
+ firstname: string;
9330
+ surname: string;
9331
+ middlename?: string | null | undefined;
8466
9332
  } | {
8467
9333
  country: string;
8468
9334
  district: string;
@@ -8485,7 +9351,7 @@ export declare const EventDocument: z.ZodObject<{
8485
9351
  option: string;
8486
9352
  filename: string;
8487
9353
  originalFilename: string;
8488
- }[] | [string, string] | undefined> | null | undefined;
9354
+ }[] | [string, string] | null | undefined> | null | undefined;
8489
9355
  originalActionId?: string | null | undefined;
8490
9356
  } | {
8491
9357
  type: "ARCHIVE";
@@ -8496,6 +9362,7 @@ export declare const EventDocument: z.ZodObject<{
8496
9362
  isDuplicate?: boolean | undefined;
8497
9363
  };
8498
9364
  transactionId: string;
9365
+ createdByUserType: "system" | "user";
8499
9366
  createdAt: string;
8500
9367
  createdBy: string;
8501
9368
  createdByRole: string;
@@ -8514,6 +9381,10 @@ export declare const EventDocument: z.ZodObject<{
8514
9381
  residentialArea?: string | null | undefined;
8515
9382
  street?: string | null | undefined;
8516
9383
  zipCode?: string | null | undefined;
9384
+ } | {
9385
+ firstname: string;
9386
+ surname: string;
9387
+ middlename?: string | null | undefined;
8517
9388
  } | {
8518
9389
  country: string;
8519
9390
  district: string;
@@ -8536,7 +9407,7 @@ export declare const EventDocument: z.ZodObject<{
8536
9407
  option: string;
8537
9408
  filename: string;
8538
9409
  originalFilename: string;
8539
- }[] | [string, string] | undefined>;
9410
+ }[] | [string, string] | null | undefined>;
8540
9411
  createdBySignature?: string | null | undefined;
8541
9412
  createdAtLocation?: string | null | undefined;
8542
9413
  annotation?: Record<string, string | number | boolean | {
@@ -8554,6 +9425,10 @@ export declare const EventDocument: z.ZodObject<{
8554
9425
  residentialArea?: string | null | undefined;
8555
9426
  street?: string | null | undefined;
8556
9427
  zipCode?: string | null | undefined;
9428
+ } | {
9429
+ firstname: string;
9430
+ surname: string;
9431
+ middlename?: string | null | undefined;
8557
9432
  } | {
8558
9433
  country: string;
8559
9434
  district: string;
@@ -8576,13 +9451,14 @@ export declare const EventDocument: z.ZodObject<{
8576
9451
  option: string;
8577
9452
  filename: string;
8578
9453
  originalFilename: string;
8579
- }[] | [string, string] | undefined> | null | undefined;
9454
+ }[] | [string, string] | null | undefined> | null | undefined;
8580
9455
  originalActionId?: string | null | undefined;
8581
9456
  } | {
8582
9457
  type: "CREATE";
8583
9458
  id: string;
8584
9459
  status: "Rejected" | "Requested" | "Accepted";
8585
9460
  transactionId: string;
9461
+ createdByUserType: "system" | "user";
8586
9462
  createdAt: string;
8587
9463
  createdBy: string;
8588
9464
  createdByRole: string;
@@ -8601,6 +9477,10 @@ export declare const EventDocument: z.ZodObject<{
8601
9477
  residentialArea?: string | null | undefined;
8602
9478
  street?: string | null | undefined;
8603
9479
  zipCode?: string | null | undefined;
9480
+ } | {
9481
+ firstname: string;
9482
+ surname: string;
9483
+ middlename?: string | null | undefined;
8604
9484
  } | {
8605
9485
  country: string;
8606
9486
  district: string;
@@ -8623,7 +9503,7 @@ export declare const EventDocument: z.ZodObject<{
8623
9503
  option: string;
8624
9504
  filename: string;
8625
9505
  originalFilename: string;
8626
- }[] | [string, string] | undefined>;
9506
+ }[] | [string, string] | null | undefined>;
8627
9507
  createdBySignature?: string | null | undefined;
8628
9508
  createdAtLocation?: string | null | undefined;
8629
9509
  annotation?: Record<string, string | number | boolean | {
@@ -8641,6 +9521,10 @@ export declare const EventDocument: z.ZodObject<{
8641
9521
  residentialArea?: string | null | undefined;
8642
9522
  street?: string | null | undefined;
8643
9523
  zipCode?: string | null | undefined;
9524
+ } | {
9525
+ firstname: string;
9526
+ surname: string;
9527
+ middlename?: string | null | undefined;
8644
9528
  } | {
8645
9529
  country: string;
8646
9530
  district: string;
@@ -8663,13 +9547,14 @@ export declare const EventDocument: z.ZodObject<{
8663
9547
  option: string;
8664
9548
  filename: string;
8665
9549
  originalFilename: string;
8666
- }[] | [string, string] | undefined> | null | undefined;
9550
+ }[] | [string, string] | null | undefined> | null | undefined;
8667
9551
  originalActionId?: string | null | undefined;
8668
9552
  } | {
8669
9553
  type: "NOTIFY";
8670
9554
  id: string;
8671
9555
  status: "Rejected" | "Requested" | "Accepted";
8672
9556
  transactionId: string;
9557
+ createdByUserType: "system" | "user";
8673
9558
  createdAt: string;
8674
9559
  createdBy: string;
8675
9560
  createdByRole: string;
@@ -8688,6 +9573,10 @@ export declare const EventDocument: z.ZodObject<{
8688
9573
  residentialArea?: string | null | undefined;
8689
9574
  street?: string | null | undefined;
8690
9575
  zipCode?: string | null | undefined;
9576
+ } | {
9577
+ firstname: string;
9578
+ surname: string;
9579
+ middlename?: string | null | undefined;
8691
9580
  } | {
8692
9581
  country: string;
8693
9582
  district: string;
@@ -8710,7 +9599,7 @@ export declare const EventDocument: z.ZodObject<{
8710
9599
  option: string;
8711
9600
  filename: string;
8712
9601
  originalFilename: string;
8713
- }[] | [string, string] | undefined>;
9602
+ }[] | [string, string] | null | undefined>;
8714
9603
  createdBySignature?: string | null | undefined;
8715
9604
  createdAtLocation?: string | null | undefined;
8716
9605
  annotation?: Record<string, string | number | boolean | {
@@ -8728,6 +9617,10 @@ export declare const EventDocument: z.ZodObject<{
8728
9617
  residentialArea?: string | null | undefined;
8729
9618
  street?: string | null | undefined;
8730
9619
  zipCode?: string | null | undefined;
9620
+ } | {
9621
+ firstname: string;
9622
+ surname: string;
9623
+ middlename?: string | null | undefined;
8731
9624
  } | {
8732
9625
  country: string;
8733
9626
  district: string;
@@ -8750,13 +9643,14 @@ export declare const EventDocument: z.ZodObject<{
8750
9643
  option: string;
8751
9644
  filename: string;
8752
9645
  originalFilename: string;
8753
- }[] | [string, string] | undefined> | null | undefined;
9646
+ }[] | [string, string] | null | undefined> | null | undefined;
8754
9647
  originalActionId?: string | null | undefined;
8755
9648
  } | {
8756
9649
  type: "PRINT_CERTIFICATE";
8757
9650
  id: string;
8758
9651
  status: "Rejected" | "Requested" | "Accepted";
8759
9652
  transactionId: string;
9653
+ createdByUserType: "system" | "user";
8760
9654
  createdAt: string;
8761
9655
  createdBy: string;
8762
9656
  createdByRole: string;
@@ -8775,6 +9669,10 @@ export declare const EventDocument: z.ZodObject<{
8775
9669
  residentialArea?: string | null | undefined;
8776
9670
  street?: string | null | undefined;
8777
9671
  zipCode?: string | null | undefined;
9672
+ } | {
9673
+ firstname: string;
9674
+ surname: string;
9675
+ middlename?: string | null | undefined;
8778
9676
  } | {
8779
9677
  country: string;
8780
9678
  district: string;
@@ -8797,7 +9695,7 @@ export declare const EventDocument: z.ZodObject<{
8797
9695
  option: string;
8798
9696
  filename: string;
8799
9697
  originalFilename: string;
8800
- }[] | [string, string] | undefined>;
9698
+ }[] | [string, string] | null | undefined>;
8801
9699
  createdBySignature?: string | null | undefined;
8802
9700
  createdAtLocation?: string | null | undefined;
8803
9701
  annotation?: Record<string, string | number | boolean | {
@@ -8815,6 +9713,10 @@ export declare const EventDocument: z.ZodObject<{
8815
9713
  residentialArea?: string | null | undefined;
8816
9714
  street?: string | null | undefined;
8817
9715
  zipCode?: string | null | undefined;
9716
+ } | {
9717
+ firstname: string;
9718
+ surname: string;
9719
+ middlename?: string | null | undefined;
8818
9720
  } | {
8819
9721
  country: string;
8820
9722
  district: string;
@@ -8837,13 +9739,14 @@ export declare const EventDocument: z.ZodObject<{
8837
9739
  option: string;
8838
9740
  filename: string;
8839
9741
  originalFilename: string;
8840
- }[] | [string, string] | undefined> | null | undefined;
9742
+ }[] | [string, string] | null | undefined> | null | undefined;
8841
9743
  originalActionId?: string | null | undefined;
8842
9744
  } | {
8843
9745
  type: "REQUEST_CORRECTION";
8844
9746
  id: string;
8845
9747
  status: "Rejected" | "Requested" | "Accepted";
8846
9748
  transactionId: string;
9749
+ createdByUserType: "system" | "user";
8847
9750
  createdAt: string;
8848
9751
  createdBy: string;
8849
9752
  createdByRole: string;
@@ -8862,6 +9765,10 @@ export declare const EventDocument: z.ZodObject<{
8862
9765
  residentialArea?: string | null | undefined;
8863
9766
  street?: string | null | undefined;
8864
9767
  zipCode?: string | null | undefined;
9768
+ } | {
9769
+ firstname: string;
9770
+ surname: string;
9771
+ middlename?: string | null | undefined;
8865
9772
  } | {
8866
9773
  country: string;
8867
9774
  district: string;
@@ -8884,7 +9791,7 @@ export declare const EventDocument: z.ZodObject<{
8884
9791
  option: string;
8885
9792
  filename: string;
8886
9793
  originalFilename: string;
8887
- }[] | [string, string] | undefined>;
9794
+ }[] | [string, string] | null | undefined>;
8888
9795
  createdBySignature?: string | null | undefined;
8889
9796
  createdAtLocation?: string | null | undefined;
8890
9797
  annotation?: Record<string, string | number | boolean | {
@@ -8902,6 +9809,10 @@ export declare const EventDocument: z.ZodObject<{
8902
9809
  residentialArea?: string | null | undefined;
8903
9810
  street?: string | null | undefined;
8904
9811
  zipCode?: string | null | undefined;
9812
+ } | {
9813
+ firstname: string;
9814
+ surname: string;
9815
+ middlename?: string | null | undefined;
8905
9816
  } | {
8906
9817
  country: string;
8907
9818
  district: string;
@@ -8924,13 +9835,14 @@ export declare const EventDocument: z.ZodObject<{
8924
9835
  option: string;
8925
9836
  filename: string;
8926
9837
  originalFilename: string;
8927
- }[] | [string, string] | undefined> | null | undefined;
9838
+ }[] | [string, string] | null | undefined> | null | undefined;
8928
9839
  originalActionId?: string | null | undefined;
8929
9840
  } | {
8930
9841
  type: "APPROVE_CORRECTION";
8931
9842
  id: string;
8932
9843
  status: "Rejected" | "Requested" | "Accepted";
8933
9844
  transactionId: string;
9845
+ createdByUserType: "system" | "user";
8934
9846
  createdAt: string;
8935
9847
  createdBy: string;
8936
9848
  createdByRole: string;
@@ -8949,6 +9861,10 @@ export declare const EventDocument: z.ZodObject<{
8949
9861
  residentialArea?: string | null | undefined;
8950
9862
  street?: string | null | undefined;
8951
9863
  zipCode?: string | null | undefined;
9864
+ } | {
9865
+ firstname: string;
9866
+ surname: string;
9867
+ middlename?: string | null | undefined;
8952
9868
  } | {
8953
9869
  country: string;
8954
9870
  district: string;
@@ -8971,7 +9887,7 @@ export declare const EventDocument: z.ZodObject<{
8971
9887
  option: string;
8972
9888
  filename: string;
8973
9889
  originalFilename: string;
8974
- }[] | [string, string] | undefined>;
9890
+ }[] | [string, string] | null | undefined>;
8975
9891
  requestId: string;
8976
9892
  createdBySignature?: string | null | undefined;
8977
9893
  createdAtLocation?: string | null | undefined;
@@ -8990,6 +9906,10 @@ export declare const EventDocument: z.ZodObject<{
8990
9906
  residentialArea?: string | null | undefined;
8991
9907
  street?: string | null | undefined;
8992
9908
  zipCode?: string | null | undefined;
9909
+ } | {
9910
+ firstname: string;
9911
+ surname: string;
9912
+ middlename?: string | null | undefined;
8993
9913
  } | {
8994
9914
  country: string;
8995
9915
  district: string;
@@ -9012,13 +9932,14 @@ export declare const EventDocument: z.ZodObject<{
9012
9932
  option: string;
9013
9933
  filename: string;
9014
9934
  originalFilename: string;
9015
- }[] | [string, string] | undefined> | null | undefined;
9935
+ }[] | [string, string] | null | undefined> | null | undefined;
9016
9936
  originalActionId?: string | null | undefined;
9017
9937
  } | {
9018
9938
  type: "REJECT_CORRECTION";
9019
9939
  id: string;
9020
9940
  status: "Rejected" | "Requested" | "Accepted";
9021
9941
  transactionId: string;
9942
+ createdByUserType: "system" | "user";
9022
9943
  createdAt: string;
9023
9944
  createdBy: string;
9024
9945
  createdByRole: string;
@@ -9037,6 +9958,10 @@ export declare const EventDocument: z.ZodObject<{
9037
9958
  residentialArea?: string | null | undefined;
9038
9959
  street?: string | null | undefined;
9039
9960
  zipCode?: string | null | undefined;
9961
+ } | {
9962
+ firstname: string;
9963
+ surname: string;
9964
+ middlename?: string | null | undefined;
9040
9965
  } | {
9041
9966
  country: string;
9042
9967
  district: string;
@@ -9059,7 +9984,7 @@ export declare const EventDocument: z.ZodObject<{
9059
9984
  option: string;
9060
9985
  filename: string;
9061
9986
  originalFilename: string;
9062
- }[] | [string, string] | undefined>;
9987
+ }[] | [string, string] | null | undefined>;
9063
9988
  requestId: string;
9064
9989
  createdBySignature?: string | null | undefined;
9065
9990
  createdAtLocation?: string | null | undefined;
@@ -9078,6 +10003,10 @@ export declare const EventDocument: z.ZodObject<{
9078
10003
  residentialArea?: string | null | undefined;
9079
10004
  street?: string | null | undefined;
9080
10005
  zipCode?: string | null | undefined;
10006
+ } | {
10007
+ firstname: string;
10008
+ surname: string;
10009
+ middlename?: string | null | undefined;
9081
10010
  } | {
9082
10011
  country: string;
9083
10012
  district: string;
@@ -9100,13 +10029,14 @@ export declare const EventDocument: z.ZodObject<{
9100
10029
  option: string;
9101
10030
  filename: string;
9102
10031
  originalFilename: string;
9103
- }[] | [string, string] | undefined> | null | undefined;
10032
+ }[] | [string, string] | null | undefined> | null | undefined;
9104
10033
  originalActionId?: string | null | undefined;
9105
10034
  } | {
9106
10035
  type: "READ";
9107
10036
  id: string;
9108
10037
  status: "Rejected" | "Requested" | "Accepted";
9109
10038
  transactionId: string;
10039
+ createdByUserType: "system" | "user";
9110
10040
  createdAt: string;
9111
10041
  createdBy: string;
9112
10042
  createdByRole: string;
@@ -9125,6 +10055,10 @@ export declare const EventDocument: z.ZodObject<{
9125
10055
  residentialArea?: string | null | undefined;
9126
10056
  street?: string | null | undefined;
9127
10057
  zipCode?: string | null | undefined;
10058
+ } | {
10059
+ firstname: string;
10060
+ surname: string;
10061
+ middlename?: string | null | undefined;
9128
10062
  } | {
9129
10063
  country: string;
9130
10064
  district: string;
@@ -9147,7 +10081,7 @@ export declare const EventDocument: z.ZodObject<{
9147
10081
  option: string;
9148
10082
  filename: string;
9149
10083
  originalFilename: string;
9150
- }[] | [string, string] | undefined>;
10084
+ }[] | [string, string] | null | undefined>;
9151
10085
  createdBySignature?: string | null | undefined;
9152
10086
  createdAtLocation?: string | null | undefined;
9153
10087
  annotation?: Record<string, string | number | boolean | {
@@ -9165,6 +10099,10 @@ export declare const EventDocument: z.ZodObject<{
9165
10099
  residentialArea?: string | null | undefined;
9166
10100
  street?: string | null | undefined;
9167
10101
  zipCode?: string | null | undefined;
10102
+ } | {
10103
+ firstname: string;
10104
+ surname: string;
10105
+ middlename?: string | null | undefined;
9168
10106
  } | {
9169
10107
  country: string;
9170
10108
  district: string;
@@ -9187,13 +10125,14 @@ export declare const EventDocument: z.ZodObject<{
9187
10125
  option: string;
9188
10126
  filename: string;
9189
10127
  originalFilename: string;
9190
- }[] | [string, string] | undefined> | null | undefined;
10128
+ }[] | [string, string] | null | undefined> | null | undefined;
9191
10129
  originalActionId?: string | null | undefined;
9192
10130
  } | {
9193
10131
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9194
10132
  id: string;
9195
10133
  status: "Rejected";
9196
10134
  transactionId: string;
10135
+ createdByUserType: "system" | "user";
9197
10136
  createdAt: string;
9198
10137
  createdBy: string;
9199
10138
  createdByRole: string;