@opencrvs/toolkit 1.8.0-rc.fe87a15 → 1.8.0-rc.fe8c092

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 (38) hide show
  1. package/dist/commons/api/router.d.ts +6884 -614
  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 +1923 -414
  6. package/dist/commons/events/ActionInput.d.ts +1504 -304
  7. package/dist/commons/events/ActionType.d.ts +6 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -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 +254 -168
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  13. package/dist/commons/events/Draft.d.ts +134 -33
  14. package/dist/commons/events/EventConfig.d.ts +8242 -2365
  15. package/dist/commons/events/EventDocument.d.ts +1242 -298
  16. package/dist/commons/events/EventIndex.d.ts +798 -123
  17. package/dist/commons/events/EventMetadata.d.ts +62 -59
  18. package/dist/commons/events/FieldConfig.d.ts +1572 -746
  19. package/dist/commons/events/FieldType.d.ts +4 -1
  20. package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
  21. package/dist/commons/events/FieldValue.d.ts +41 -5
  22. package/dist/commons/events/FormConfig.d.ts +7640 -2444
  23. package/dist/commons/events/PageConfig.d.ts +2816 -1540
  24. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  26. package/dist/commons/events/WorkqueueConfig.d.ts +3277 -1512
  27. package/dist/commons/events/defineConfig.d.ts +959 -13
  28. package/dist/commons/events/field.d.ts +4 -0
  29. package/dist/commons/events/index.d.ts +1 -0
  30. package/dist/commons/events/scopes.d.ts +1 -2
  31. package/dist/commons/events/test.utils.d.ts +138 -40
  32. package/dist/commons/events/transactions.d.ts +1 -1
  33. package/dist/commons/events/utils.d.ts +9666 -16
  34. package/dist/conditionals/index.js +18 -1
  35. package/dist/events/index.js +1592 -1011
  36. package/dist/scopes/index.d.ts +4 -1
  37. package/dist/scopes/index.js +67 -17
  38. package/package.json +1 -1
@@ -1,17 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "UUID">;
3
+ id: z.ZodString;
4
4
  type: z.ZodString;
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
8
  id: z.ZodString;
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;
13
14
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
16
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
16
17
  filename: z.ZodString;
17
18
  originalFilename: z.ZodString;
@@ -125,8 +126,20 @@ 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
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
129
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
+ firstname: z.ZodString;
131
+ surname: z.ZodString;
132
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ firstname: string;
135
+ surname: string;
136
+ middlename?: string | null | undefined;
137
+ }, {
138
+ firstname: string;
139
+ surname: string;
140
+ middlename?: string | null | undefined;
141
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
130
143
  filename: z.ZodString;
131
144
  originalFilename: z.ZodString;
132
145
  type: z.ZodString;
@@ -239,9 +252,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
269
+ originalActionId: z.ZodOptional<z.ZodString>;
245
270
  }, {
246
271
  type: z.ZodLiteral<"CREATE">;
247
272
  }>, "strip", z.ZodTypeAny, {
@@ -249,6 +274,7 @@ export declare const EventDocument: z.ZodObject<{
249
274
  id: string;
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,9 +319,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
324
+ createdAtLocation?: string | null | undefined;
295
325
  annotation?: Record<string, string | number | boolean | {
296
326
  type: string;
297
327
  filename: string;
@@ -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;
333
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
366
+ }[] | [string, string] | null | undefined> | undefined;
367
+ originalActionId?: string | 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,16 +459,17 @@ export declare const EventDocument: z.ZodObject<{
416
459
  option: string;
417
460
  filename: string;
418
461
  originalFilename: string;
419
- }[] | [string, string] | undefined> | null | undefined;
420
- originalActionId?: string | null | undefined;
462
+ }[] | [string, string] | null | undefined> | undefined;
463
+ originalActionId?: string | undefined;
421
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
422
465
  id: z.ZodString;
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;
427
471
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
473
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
430
474
  filename: z.ZodString;
431
475
  originalFilename: z.ZodString;
@@ -539,8 +583,20 @@ 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
- }>]>>;
543
- 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<{
586
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
+ firstname: z.ZodString;
588
+ surname: z.ZodString;
589
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ firstname: string;
592
+ surname: string;
593
+ middlename?: string | null | undefined;
594
+ }, {
595
+ firstname: string;
596
+ surname: string;
597
+ middlename?: string | null | undefined;
598
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
544
600
  filename: z.ZodString;
545
601
  originalFilename: z.ZodString;
546
602
  type: z.ZodString;
@@ -653,9 +709,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
726
+ originalActionId: z.ZodOptional<z.ZodString>;
659
727
  }, {
660
728
  type: z.ZodLiteral<"VALIDATE">;
661
729
  }>, "strip", z.ZodTypeAny, {
@@ -663,6 +731,7 @@ export declare const EventDocument: z.ZodObject<{
663
731
  id: string;
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,9 +776,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
781
+ createdAtLocation?: string | null | undefined;
709
782
  annotation?: Record<string, string | number | boolean | {
710
783
  type: string;
711
784
  filename: string;
@@ -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;
747
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
823
+ }[] | [string, string] | null | undefined> | undefined;
824
+ originalActionId?: string | 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,16 +916,17 @@ export declare const EventDocument: z.ZodObject<{
830
916
  option: string;
831
917
  filename: string;
832
918
  originalFilename: string;
833
- }[] | [string, string] | undefined> | null | undefined;
834
- originalActionId?: string | null | undefined;
919
+ }[] | [string, string] | null | undefined> | undefined;
920
+ originalActionId?: string | undefined;
835
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
836
922
  id: z.ZodString;
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;
841
928
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
843
930
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
844
931
  filename: z.ZodString;
845
932
  originalFilename: z.ZodString;
@@ -953,8 +1040,20 @@ 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
- }>]>>;
957
- 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<{
1043
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
+ firstname: z.ZodString;
1045
+ surname: z.ZodString;
1046
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ firstname: string;
1049
+ surname: string;
1050
+ middlename?: string | null | undefined;
1051
+ }, {
1052
+ firstname: string;
1053
+ surname: string;
1054
+ middlename?: string | null | undefined;
1055
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
958
1057
  filename: z.ZodString;
959
1058
  originalFilename: z.ZodString;
960
1059
  type: z.ZodString;
@@ -1067,9 +1166,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1183
+ originalActionId: z.ZodOptional<z.ZodString>;
1073
1184
  }, {
1074
1185
  type: z.ZodLiteral<"REJECT">;
1075
1186
  reason: z.ZodObject<{
@@ -1091,6 +1202,7 @@ export declare const EventDocument: z.ZodObject<{
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,9 +1247,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1252
+ createdAtLocation?: string | null | undefined;
1137
1253
  annotation?: Record<string, string | number | boolean | {
1138
1254
  type: string;
1139
1255
  filename: string;
@@ -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,8 +1291,8 @@ export declare const EventDocument: z.ZodObject<{
1171
1291
  option: string;
1172
1292
  filename: string;
1173
1293
  originalFilename: string;
1174
- }[] | [string, string] | undefined> | null | undefined;
1175
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1294
+ }[] | [string, string] | null | undefined> | undefined;
1295
+ originalActionId?: string | undefined;
1176
1296
  }, {
1177
1297
  type: "REJECT";
1178
1298
  id: string;
@@ -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,16 +1391,17 @@ export declare const EventDocument: z.ZodObject<{
1262
1391
  option: string;
1263
1392
  filename: string;
1264
1393
  originalFilename: string;
1265
- }[] | [string, string] | undefined> | null | undefined;
1266
- originalActionId?: string | null | undefined;
1394
+ }[] | [string, string] | null | undefined> | undefined;
1395
+ originalActionId?: string | undefined;
1267
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1268
1397
  id: z.ZodString;
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;
1273
1403
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
1405
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1276
1406
  filename: z.ZodString;
1277
1407
  originalFilename: z.ZodString;
@@ -1385,8 +1515,20 @@ 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
- }>]>>;
1389
- 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<{
1518
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
+ firstname: z.ZodString;
1520
+ surname: z.ZodString;
1521
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ firstname: string;
1524
+ surname: string;
1525
+ middlename?: string | null | undefined;
1526
+ }, {
1527
+ firstname: string;
1528
+ surname: string;
1529
+ middlename?: string | null | undefined;
1530
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1390
1532
  filename: z.ZodString;
1391
1533
  originalFilename: z.ZodString;
1392
1534
  type: z.ZodString;
@@ -1499,9 +1641,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1658
+ originalActionId: z.ZodOptional<z.ZodString>;
1505
1659
  }, {
1506
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1507
1661
  }>, "strip", z.ZodTypeAny, {
@@ -1509,6 +1663,7 @@ export declare const EventDocument: z.ZodObject<{
1509
1663
  id: string;
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,9 +1708,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1713
+ createdAtLocation?: string | null | undefined;
1555
1714
  annotation?: Record<string, string | number | boolean | {
1556
1715
  type: string;
1557
1716
  filename: string;
@@ -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;
1593
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1755
+ }[] | [string, string] | null | undefined> | undefined;
1756
+ originalActionId?: string | 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,16 +1848,17 @@ export declare const EventDocument: z.ZodObject<{
1676
1848
  option: string;
1677
1849
  filename: string;
1678
1850
  originalFilename: string;
1679
- }[] | [string, string] | undefined> | null | undefined;
1680
- originalActionId?: string | null | undefined;
1851
+ }[] | [string, string] | null | undefined> | undefined;
1852
+ originalActionId?: string | undefined;
1681
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1682
1854
  id: z.ZodString;
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;
1687
1860
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
1862
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1690
1863
  filename: z.ZodString;
1691
1864
  originalFilename: z.ZodString;
@@ -1799,8 +1972,20 @@ 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
- }>]>>;
1803
- 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<{
1975
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
+ firstname: z.ZodString;
1977
+ surname: z.ZodString;
1978
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ firstname: string;
1981
+ surname: string;
1982
+ middlename?: string | null | undefined;
1983
+ }, {
1984
+ firstname: string;
1985
+ surname: string;
1986
+ middlename?: string | null | undefined;
1987
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1804
1989
  filename: z.ZodString;
1805
1990
  originalFilename: z.ZodString;
1806
1991
  type: z.ZodString;
@@ -1913,9 +2098,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2115
+ originalActionId: z.ZodOptional<z.ZodString>;
1919
2116
  }, {
1920
2117
  type: z.ZodLiteral<"ARCHIVE">;
1921
2118
  reason: z.ZodObject<{
@@ -1937,6 +2134,7 @@ export declare const EventDocument: z.ZodObject<{
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,9 +2179,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2184
+ createdAtLocation?: string | null | undefined;
1983
2185
  annotation?: Record<string, string | number | boolean | {
1984
2186
  type: string;
1985
2187
  filename: string;
@@ -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,8 +2223,8 @@ export declare const EventDocument: z.ZodObject<{
2017
2223
  option: string;
2018
2224
  filename: string;
2019
2225
  originalFilename: string;
2020
- }[] | [string, string] | undefined> | null | undefined;
2021
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2226
+ }[] | [string, string] | null | undefined> | undefined;
2227
+ originalActionId?: string | undefined;
2022
2228
  }, {
2023
2229
  type: "ARCHIVE";
2024
2230
  id: string;
@@ -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,16 +2323,17 @@ export declare const EventDocument: z.ZodObject<{
2108
2323
  option: string;
2109
2324
  filename: string;
2110
2325
  originalFilename: string;
2111
- }[] | [string, string] | undefined> | null | undefined;
2112
- originalActionId?: string | null | undefined;
2326
+ }[] | [string, string] | null | undefined> | undefined;
2327
+ originalActionId?: string | undefined;
2113
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2114
2329
  id: z.ZodString;
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;
2119
2335
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2121
2337
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2122
2338
  filename: z.ZodString;
2123
2339
  originalFilename: z.ZodString;
@@ -2231,8 +2447,20 @@ 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
- }>]>>;
2235
- 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<{
2450
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
+ firstname: z.ZodString;
2452
+ surname: z.ZodString;
2453
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ firstname: string;
2456
+ surname: string;
2457
+ middlename?: string | null | undefined;
2458
+ }, {
2459
+ firstname: string;
2460
+ surname: string;
2461
+ middlename?: string | null | undefined;
2462
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2236
2464
  filename: z.ZodString;
2237
2465
  originalFilename: z.ZodString;
2238
2466
  type: z.ZodString;
@@ -2345,9 +2573,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2590
+ originalActionId: z.ZodOptional<z.ZodString>;
2351
2591
  }, {
2352
2592
  type: z.ZodLiteral<"NOTIFY">;
2353
2593
  }>, "strip", z.ZodTypeAny, {
@@ -2355,6 +2595,7 @@ export declare const EventDocument: z.ZodObject<{
2355
2595
  id: string;
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,9 +2640,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2645
+ createdAtLocation?: string | null | undefined;
2401
2646
  annotation?: Record<string, string | number | boolean | {
2402
2647
  type: string;
2403
2648
  filename: string;
@@ -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;
2439
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2687
+ }[] | [string, string] | null | undefined> | undefined;
2688
+ originalActionId?: string | 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,16 +2780,17 @@ export declare const EventDocument: z.ZodObject<{
2522
2780
  option: string;
2523
2781
  filename: string;
2524
2782
  originalFilename: string;
2525
- }[] | [string, string] | undefined> | null | undefined;
2526
- originalActionId?: string | null | undefined;
2783
+ }[] | [string, string] | null | undefined> | undefined;
2784
+ originalActionId?: string | undefined;
2527
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2528
2786
  id: z.ZodString;
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;
2533
2792
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2535
2794
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2536
2795
  filename: z.ZodString;
2537
2796
  originalFilename: z.ZodString;
@@ -2645,8 +2904,20 @@ 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
- }>]>>;
2649
- 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<{
2907
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
+ firstname: z.ZodString;
2909
+ surname: z.ZodString;
2910
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ firstname: string;
2913
+ surname: string;
2914
+ middlename?: string | null | undefined;
2915
+ }, {
2916
+ firstname: string;
2917
+ surname: string;
2918
+ middlename?: string | null | undefined;
2919
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2650
2921
  filename: z.ZodString;
2651
2922
  originalFilename: z.ZodString;
2652
2923
  type: z.ZodString;
@@ -2759,9 +3030,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3047
+ originalActionId: z.ZodOptional<z.ZodString>;
2765
3048
  }, {
2766
3049
  type: z.ZodLiteral<"REGISTER">;
2767
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -2770,6 +3053,7 @@ export declare const EventDocument: z.ZodObject<{
2770
3053
  id: string;
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,9 +3098,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3103
+ createdAtLocation?: string | null | undefined;
2816
3104
  annotation?: Record<string, string | number | boolean | {
2817
3105
  type: string;
2818
3106
  filename: string;
@@ -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,14 +3142,15 @@ export declare const EventDocument: z.ZodObject<{
2850
3142
  option: string;
2851
3143
  filename: string;
2852
3144
  originalFilename: string;
2853
- }[] | [string, string] | undefined> | null | undefined;
2854
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3145
+ }[] | [string, string] | null | undefined> | undefined;
3146
+ originalActionId?: string | undefined;
2855
3147
  registrationNumber?: string | undefined;
2856
3148
  }, {
2857
3149
  type: "REGISTER";
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,17 +3239,18 @@ export declare const EventDocument: z.ZodObject<{
2938
3239
  option: string;
2939
3240
  filename: string;
2940
3241
  originalFilename: string;
2941
- }[] | [string, string] | undefined> | null | undefined;
2942
- originalActionId?: string | null | undefined;
3242
+ }[] | [string, string] | null | undefined> | undefined;
3243
+ originalActionId?: string | undefined;
2943
3244
  registrationNumber?: string | undefined;
2944
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2945
3246
  id: z.ZodString;
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;
2950
3252
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2951
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2952
3254
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2953
3255
  filename: z.ZodString;
2954
3256
  originalFilename: z.ZodString;
@@ -3062,8 +3364,20 @@ 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
- }>]>>;
3066
- 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<{
3367
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
+ firstname: z.ZodString;
3369
+ surname: z.ZodString;
3370
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ firstname: string;
3373
+ surname: string;
3374
+ middlename?: string | null | undefined;
3375
+ }, {
3376
+ firstname: string;
3377
+ surname: string;
3378
+ middlename?: string | null | undefined;
3379
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3067
3381
  filename: z.ZodString;
3068
3382
  originalFilename: z.ZodString;
3069
3383
  type: z.ZodString;
@@ -3176,9 +3490,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3507
+ originalActionId: z.ZodOptional<z.ZodString>;
3182
3508
  }, {
3183
3509
  type: z.ZodLiteral<"DECLARE">;
3184
3510
  }>, "strip", z.ZodTypeAny, {
@@ -3186,6 +3512,7 @@ export declare const EventDocument: z.ZodObject<{
3186
3512
  id: string;
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,9 +3557,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3562
+ createdAtLocation?: string | null | undefined;
3232
3563
  annotation?: Record<string, string | number | boolean | {
3233
3564
  type: string;
3234
3565
  filename: string;
@@ -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;
3270
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3604
+ }[] | [string, string] | null | undefined> | undefined;
3605
+ originalActionId?: string | 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,16 +3697,17 @@ export declare const EventDocument: z.ZodObject<{
3353
3697
  option: string;
3354
3698
  filename: string;
3355
3699
  originalFilename: string;
3356
- }[] | [string, string] | undefined> | null | undefined;
3357
- originalActionId?: string | null | undefined;
3700
+ }[] | [string, string] | null | undefined> | undefined;
3701
+ originalActionId?: string | undefined;
3358
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3359
3703
  id: z.ZodString;
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;
3364
3709
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3366
3711
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3367
3712
  filename: z.ZodString;
3368
3713
  originalFilename: z.ZodString;
@@ -3476,8 +3821,20 @@ 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
- }>]>>;
3480
- 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<{
3824
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
+ firstname: z.ZodString;
3826
+ surname: z.ZodString;
3827
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
+ }, "strip", z.ZodTypeAny, {
3829
+ firstname: string;
3830
+ surname: string;
3831
+ middlename?: string | null | undefined;
3832
+ }, {
3833
+ firstname: string;
3834
+ surname: string;
3835
+ middlename?: string | null | undefined;
3836
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3481
3838
  filename: z.ZodString;
3482
3839
  originalFilename: z.ZodString;
3483
3840
  type: z.ZodString;
@@ -3590,9 +3947,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3964
+ originalActionId: z.ZodOptional<z.ZodString>;
3596
3965
  }, {
3597
3966
  type: z.ZodLiteral<"ASSIGN">;
3598
3967
  assignedTo: z.ZodString;
@@ -3601,6 +3970,7 @@ export declare const EventDocument: z.ZodObject<{
3601
3970
  id: string;
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,10 +4015,10 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4021
+ createdAtLocation?: string | null | undefined;
3648
4022
  annotation?: Record<string, string | number | boolean | {
3649
4023
  type: string;
3650
4024
  filename: string;
@@ -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;
3686
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4063
+ }[] | [string, string] | null | undefined> | undefined;
4064
+ originalActionId?: string | 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,16 +4157,17 @@ export declare const EventDocument: z.ZodObject<{
3770
4157
  option: string;
3771
4158
  filename: string;
3772
4159
  originalFilename: string;
3773
- }[] | [string, string] | undefined> | null | undefined;
3774
- originalActionId?: string | null | undefined;
4160
+ }[] | [string, string] | null | undefined> | undefined;
4161
+ originalActionId?: string | undefined;
3775
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3776
4163
  id: z.ZodString;
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;
3781
4169
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3782
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3783
4171
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3784
4172
  filename: z.ZodString;
3785
4173
  originalFilename: z.ZodString;
@@ -3893,8 +4281,20 @@ 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
- }>]>>;
3897
- 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<{
4284
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
+ firstname: z.ZodString;
4286
+ surname: z.ZodString;
4287
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ firstname: string;
4290
+ surname: string;
4291
+ middlename?: string | null | undefined;
4292
+ }, {
4293
+ firstname: string;
4294
+ surname: string;
4295
+ middlename?: string | null | undefined;
4296
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3898
4298
  filename: z.ZodString;
3899
4299
  originalFilename: z.ZodString;
3900
4300
  type: z.ZodString;
@@ -4007,9 +4407,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4424
+ originalActionId: z.ZodOptional<z.ZodString>;
4013
4425
  }, {
4014
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4015
4427
  }>, "strip", z.ZodTypeAny, {
@@ -4017,6 +4429,7 @@ export declare const EventDocument: z.ZodObject<{
4017
4429
  id: string;
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,9 +4474,9 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4479
+ createdAtLocation?: string | null | undefined;
4063
4480
  annotation?: Record<string, string | number | boolean | {
4064
4481
  type: string;
4065
4482
  filename: string;
@@ -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;
4101
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4521
+ }[] | [string, string] | null | undefined> | undefined;
4522
+ originalActionId?: string | 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,16 +4614,17 @@ export declare const EventDocument: z.ZodObject<{
4184
4614
  option: string;
4185
4615
  filename: string;
4186
4616
  originalFilename: string;
4187
- }[] | [string, string] | undefined> | null | undefined;
4188
- originalActionId?: string | null | undefined;
4617
+ }[] | [string, string] | null | undefined> | undefined;
4618
+ originalActionId?: string | undefined;
4189
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4190
4620
  id: z.ZodString;
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;
4195
4626
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4196
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4197
4628
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4198
4629
  filename: z.ZodString;
4199
4630
  originalFilename: z.ZodString;
@@ -4307,8 +4738,20 @@ 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
- }>]>>;
4311
- 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<{
4741
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
+ firstname: z.ZodString;
4743
+ surname: z.ZodString;
4744
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
+ }, "strip", z.ZodTypeAny, {
4746
+ firstname: string;
4747
+ surname: string;
4748
+ middlename?: string | null | undefined;
4749
+ }, {
4750
+ firstname: string;
4751
+ surname: string;
4752
+ middlename?: string | null | undefined;
4753
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4312
4755
  filename: z.ZodString;
4313
4756
  originalFilename: z.ZodString;
4314
4757
  type: z.ZodString;
@@ -4421,9 +4864,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4881
+ originalActionId: z.ZodOptional<z.ZodString>;
4427
4882
  }, {
4428
4883
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4429
4884
  requestId: z.ZodString;
@@ -4432,6 +4887,7 @@ export declare const EventDocument: z.ZodObject<{
4432
4887
  id: string;
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,10 +4932,10 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4938
+ createdAtLocation?: string | null | undefined;
4479
4939
  annotation?: Record<string, string | number | boolean | {
4480
4940
  type: string;
4481
4941
  filename: string;
@@ -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;
4517
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4980
+ }[] | [string, string] | null | undefined> | undefined;
4981
+ originalActionId?: string | 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,16 +5074,17 @@ export declare const EventDocument: z.ZodObject<{
4601
5074
  option: string;
4602
5075
  filename: string;
4603
5076
  originalFilename: string;
4604
- }[] | [string, string] | undefined> | null | undefined;
4605
- originalActionId?: string | null | undefined;
5077
+ }[] | [string, string] | null | undefined> | undefined;
5078
+ originalActionId?: string | undefined;
4606
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4607
5080
  id: z.ZodString;
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;
4612
5086
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4613
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4614
5088
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4615
5089
  filename: z.ZodString;
4616
5090
  originalFilename: z.ZodString;
@@ -4724,8 +5198,20 @@ 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
- }>]>>;
4728
- 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<{
5201
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
+ firstname: z.ZodString;
5203
+ surname: z.ZodString;
5204
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ firstname: string;
5207
+ surname: string;
5208
+ middlename?: string | null | undefined;
5209
+ }, {
5210
+ firstname: string;
5211
+ surname: string;
5212
+ middlename?: string | null | undefined;
5213
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4729
5215
  filename: z.ZodString;
4730
5216
  originalFilename: z.ZodString;
4731
5217
  type: z.ZodString;
@@ -4838,9 +5324,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5341
+ originalActionId: z.ZodOptional<z.ZodString>;
4844
5342
  }, {
4845
5343
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4846
5344
  requestId: z.ZodString;
@@ -4849,6 +5347,7 @@ export declare const EventDocument: z.ZodObject<{
4849
5347
  id: string;
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,10 +5392,10 @@ 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
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5398
+ createdAtLocation?: string | null | undefined;
4896
5399
  annotation?: Record<string, string | number | boolean | {
4897
5400
  type: string;
4898
5401
  filename: string;
@@ -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;
4934
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5440
+ }[] | [string, string] | null | undefined> | undefined;
5441
+ originalActionId?: string | 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,16 +5534,17 @@ export declare const EventDocument: z.ZodObject<{
5018
5534
  option: string;
5019
5535
  filename: string;
5020
5536
  originalFilename: string;
5021
- }[] | [string, string] | undefined> | null | undefined;
5022
- originalActionId?: string | null | undefined;
5537
+ }[] | [string, string] | null | undefined> | undefined;
5538
+ originalActionId?: string | undefined;
5023
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
5024
5540
  id: z.ZodString;
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;
5029
5546
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5031
5548
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5032
5549
  filename: z.ZodString;
5033
5550
  originalFilename: z.ZodString;
@@ -5141,8 +5658,20 @@ 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
- }>]>>;
5145
- 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<{
5661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
+ firstname: z.ZodString;
5663
+ surname: z.ZodString;
5664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ firstname: string;
5667
+ surname: string;
5668
+ middlename?: string | null | undefined;
5669
+ }, {
5670
+ firstname: string;
5671
+ surname: string;
5672
+ middlename?: string | null | undefined;
5673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5146
5675
  filename: z.ZodString;
5147
5676
  originalFilename: z.ZodString;
5148
5677
  type: z.ZodString;
@@ -5255,9 +5784,21 @@ 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
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5801
+ originalActionId: z.ZodOptional<z.ZodString>;
5261
5802
  }, {
5262
5803
  type: z.ZodLiteral<"UNASSIGN">;
5263
5804
  assignedTo: z.ZodLiteral<null>;
@@ -5266,6 +5807,7 @@ export declare const EventDocument: z.ZodObject<{
5266
5807
  id: string;
5267
5808
  status: "Rejected" | "Requested" | "Accepted";
5268
5809
  transactionId: string;
5810
+ createdByUserType: "system" | "user";
5269
5811
  createdAt: string;
5270
5812
  createdBy: string;
5271
5813
  createdByRole: string;
@@ -5284,6 +5826,10 @@ export declare const EventDocument: z.ZodObject<{
5284
5826
  residentialArea?: string | null | undefined;
5285
5827
  street?: string | null | undefined;
5286
5828
  zipCode?: string | null | undefined;
5829
+ } | {
5830
+ firstname: string;
5831
+ surname: string;
5832
+ middlename?: string | null | undefined;
5287
5833
  } | {
5288
5834
  country: string;
5289
5835
  district: string;
@@ -5306,10 +5852,10 @@ export declare const EventDocument: z.ZodObject<{
5306
5852
  option: string;
5307
5853
  filename: string;
5308
5854
  originalFilename: string;
5309
- }[] | [string, string] | undefined>;
5855
+ }[] | [string, string] | null | undefined>;
5310
5856
  assignedTo: null;
5311
5857
  createdBySignature?: string | null | undefined;
5312
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5858
+ createdAtLocation?: string | null | undefined;
5313
5859
  annotation?: Record<string, string | number | boolean | {
5314
5860
  type: string;
5315
5861
  filename: string;
@@ -5325,6 +5871,10 @@ export declare const EventDocument: z.ZodObject<{
5325
5871
  residentialArea?: string | null | undefined;
5326
5872
  street?: string | null | undefined;
5327
5873
  zipCode?: string | null | undefined;
5874
+ } | {
5875
+ firstname: string;
5876
+ surname: string;
5877
+ middlename?: string | null | undefined;
5328
5878
  } | {
5329
5879
  country: string;
5330
5880
  district: string;
@@ -5347,13 +5897,14 @@ export declare const EventDocument: z.ZodObject<{
5347
5897
  option: string;
5348
5898
  filename: string;
5349
5899
  originalFilename: string;
5350
- }[] | [string, string] | undefined> | null | undefined;
5351
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5900
+ }[] | [string, string] | null | undefined> | undefined;
5901
+ originalActionId?: string | undefined;
5352
5902
  }, {
5353
5903
  type: "UNASSIGN";
5354
5904
  id: string;
5355
5905
  status: "Rejected" | "Requested" | "Accepted";
5356
5906
  transactionId: string;
5907
+ createdByUserType: "system" | "user";
5357
5908
  createdAt: string;
5358
5909
  createdBy: string;
5359
5910
  createdByRole: string;
@@ -5372,6 +5923,10 @@ export declare const EventDocument: z.ZodObject<{
5372
5923
  residentialArea?: string | null | undefined;
5373
5924
  street?: string | null | undefined;
5374
5925
  zipCode?: string | null | undefined;
5926
+ } | {
5927
+ firstname: string;
5928
+ surname: string;
5929
+ middlename?: string | null | undefined;
5375
5930
  } | {
5376
5931
  country: string;
5377
5932
  district: string;
@@ -5394,7 +5949,7 @@ export declare const EventDocument: z.ZodObject<{
5394
5949
  option: string;
5395
5950
  filename: string;
5396
5951
  originalFilename: string;
5397
- }[] | [string, string] | undefined>;
5952
+ }[] | [string, string] | null | undefined>;
5398
5953
  assignedTo: null;
5399
5954
  createdBySignature?: string | null | undefined;
5400
5955
  createdAtLocation?: string | null | undefined;
@@ -5413,6 +5968,10 @@ export declare const EventDocument: z.ZodObject<{
5413
5968
  residentialArea?: string | null | undefined;
5414
5969
  street?: string | null | undefined;
5415
5970
  zipCode?: string | null | undefined;
5971
+ } | {
5972
+ firstname: string;
5973
+ surname: string;
5974
+ middlename?: string | null | undefined;
5416
5975
  } | {
5417
5976
  country: string;
5418
5977
  district: string;
@@ -5435,16 +5994,17 @@ export declare const EventDocument: z.ZodObject<{
5435
5994
  option: string;
5436
5995
  filename: string;
5437
5996
  originalFilename: string;
5438
- }[] | [string, string] | undefined> | null | undefined;
5439
- originalActionId?: string | null | undefined;
5997
+ }[] | [string, string] | null | undefined> | undefined;
5998
+ originalActionId?: string | undefined;
5440
5999
  }>, z.ZodObject<z.objectUtil.extendShape<{
5441
6000
  id: z.ZodString;
5442
6001
  transactionId: z.ZodString;
6002
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5443
6003
  createdAt: z.ZodString;
5444
6004
  createdBy: z.ZodString;
5445
6005
  createdByRole: z.ZodString;
5446
6006
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5447
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6007
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5448
6008
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5449
6009
  filename: z.ZodString;
5450
6010
  originalFilename: z.ZodString;
@@ -5558,8 +6118,20 @@ export declare const EventDocument: z.ZodObject<{
5558
6118
  addressLine2?: string | null | undefined;
5559
6119
  addressLine3?: string | null | undefined;
5560
6120
  postcodeOrZip?: string | null | undefined;
5561
- }>]>>;
5562
- 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<{
6121
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6122
+ firstname: z.ZodString;
6123
+ surname: z.ZodString;
6124
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
+ }, "strip", z.ZodTypeAny, {
6126
+ firstname: string;
6127
+ surname: string;
6128
+ middlename?: string | null | undefined;
6129
+ }, {
6130
+ firstname: string;
6131
+ surname: string;
6132
+ middlename?: string | null | undefined;
6133
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6134
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5563
6135
  filename: z.ZodString;
5564
6136
  originalFilename: z.ZodString;
5565
6137
  type: z.ZodString;
@@ -5672,9 +6244,21 @@ export declare const EventDocument: z.ZodObject<{
5672
6244
  addressLine2?: string | null | undefined;
5673
6245
  addressLine3?: string | null | undefined;
5674
6246
  postcodeOrZip?: string | null | undefined;
5675
- }>]>>>>;
6247
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6248
+ firstname: z.ZodString;
6249
+ surname: z.ZodString;
6250
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6251
+ }, "strip", z.ZodTypeAny, {
6252
+ firstname: string;
6253
+ surname: string;
6254
+ middlename?: string | null | undefined;
6255
+ }, {
6256
+ firstname: string;
6257
+ surname: string;
6258
+ middlename?: string | null | undefined;
6259
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5676
6260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5677
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6261
+ originalActionId: z.ZodOptional<z.ZodString>;
5678
6262
  }, {
5679
6263
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5680
6264
  }>, "strip", z.ZodTypeAny, {
@@ -5682,6 +6266,7 @@ export declare const EventDocument: z.ZodObject<{
5682
6266
  id: string;
5683
6267
  status: "Rejected" | "Requested" | "Accepted";
5684
6268
  transactionId: string;
6269
+ createdByUserType: "system" | "user";
5685
6270
  createdAt: string;
5686
6271
  createdBy: string;
5687
6272
  createdByRole: string;
@@ -5700,6 +6285,10 @@ export declare const EventDocument: z.ZodObject<{
5700
6285
  residentialArea?: string | null | undefined;
5701
6286
  street?: string | null | undefined;
5702
6287
  zipCode?: string | null | undefined;
6288
+ } | {
6289
+ firstname: string;
6290
+ surname: string;
6291
+ middlename?: string | null | undefined;
5703
6292
  } | {
5704
6293
  country: string;
5705
6294
  district: string;
@@ -5722,9 +6311,9 @@ export declare const EventDocument: z.ZodObject<{
5722
6311
  option: string;
5723
6312
  filename: string;
5724
6313
  originalFilename: string;
5725
- }[] | [string, string] | undefined>;
6314
+ }[] | [string, string] | null | undefined>;
5726
6315
  createdBySignature?: string | null | undefined;
5727
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6316
+ createdAtLocation?: string | null | undefined;
5728
6317
  annotation?: Record<string, string | number | boolean | {
5729
6318
  type: string;
5730
6319
  filename: string;
@@ -5740,6 +6329,10 @@ export declare const EventDocument: z.ZodObject<{
5740
6329
  residentialArea?: string | null | undefined;
5741
6330
  street?: string | null | undefined;
5742
6331
  zipCode?: string | null | undefined;
6332
+ } | {
6333
+ firstname: string;
6334
+ surname: string;
6335
+ middlename?: string | null | undefined;
5743
6336
  } | {
5744
6337
  country: string;
5745
6338
  district: string;
@@ -5762,13 +6355,14 @@ export declare const EventDocument: z.ZodObject<{
5762
6355
  option: string;
5763
6356
  filename: string;
5764
6357
  originalFilename: string;
5765
- }[] | [string, string] | undefined> | null | undefined;
5766
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6358
+ }[] | [string, string] | null | undefined> | undefined;
6359
+ originalActionId?: string | undefined;
5767
6360
  }, {
5768
6361
  type: "PRINT_CERTIFICATE";
5769
6362
  id: string;
5770
6363
  status: "Rejected" | "Requested" | "Accepted";
5771
6364
  transactionId: string;
6365
+ createdByUserType: "system" | "user";
5772
6366
  createdAt: string;
5773
6367
  createdBy: string;
5774
6368
  createdByRole: string;
@@ -5787,6 +6381,10 @@ export declare const EventDocument: z.ZodObject<{
5787
6381
  residentialArea?: string | null | undefined;
5788
6382
  street?: string | null | undefined;
5789
6383
  zipCode?: string | null | undefined;
6384
+ } | {
6385
+ firstname: string;
6386
+ surname: string;
6387
+ middlename?: string | null | undefined;
5790
6388
  } | {
5791
6389
  country: string;
5792
6390
  district: string;
@@ -5809,7 +6407,7 @@ export declare const EventDocument: z.ZodObject<{
5809
6407
  option: string;
5810
6408
  filename: string;
5811
6409
  originalFilename: string;
5812
- }[] | [string, string] | undefined>;
6410
+ }[] | [string, string] | null | undefined>;
5813
6411
  createdBySignature?: string | null | undefined;
5814
6412
  createdAtLocation?: string | null | undefined;
5815
6413
  annotation?: Record<string, string | number | boolean | {
@@ -5827,6 +6425,10 @@ export declare const EventDocument: z.ZodObject<{
5827
6425
  residentialArea?: string | null | undefined;
5828
6426
  street?: string | null | undefined;
5829
6427
  zipCode?: string | null | undefined;
6428
+ } | {
6429
+ firstname: string;
6430
+ surname: string;
6431
+ middlename?: string | null | undefined;
5830
6432
  } | {
5831
6433
  country: string;
5832
6434
  district: string;
@@ -5849,16 +6451,17 @@ export declare const EventDocument: z.ZodObject<{
5849
6451
  option: string;
5850
6452
  filename: string;
5851
6453
  originalFilename: string;
5852
- }[] | [string, string] | undefined> | null | undefined;
5853
- originalActionId?: string | null | undefined;
6454
+ }[] | [string, string] | null | undefined> | undefined;
6455
+ originalActionId?: string | undefined;
5854
6456
  }>, z.ZodObject<z.objectUtil.extendShape<{
5855
6457
  id: z.ZodString;
5856
6458
  transactionId: z.ZodString;
6459
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5857
6460
  createdAt: z.ZodString;
5858
6461
  createdBy: z.ZodString;
5859
6462
  createdByRole: z.ZodString;
5860
6463
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6464
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5862
6465
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5863
6466
  filename: z.ZodString;
5864
6467
  originalFilename: z.ZodString;
@@ -5972,8 +6575,20 @@ export declare const EventDocument: z.ZodObject<{
5972
6575
  addressLine2?: string | null | undefined;
5973
6576
  addressLine3?: string | null | undefined;
5974
6577
  postcodeOrZip?: string | null | undefined;
5975
- }>]>>;
5976
- 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<{
6578
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6579
+ firstname: z.ZodString;
6580
+ surname: z.ZodString;
6581
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6582
+ }, "strip", z.ZodTypeAny, {
6583
+ firstname: string;
6584
+ surname: string;
6585
+ middlename?: string | null | undefined;
6586
+ }, {
6587
+ firstname: string;
6588
+ surname: string;
6589
+ middlename?: string | null | undefined;
6590
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6591
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5977
6592
  filename: z.ZodString;
5978
6593
  originalFilename: z.ZodString;
5979
6594
  type: z.ZodString;
@@ -6086,9 +6701,21 @@ export declare const EventDocument: z.ZodObject<{
6086
6701
  addressLine2?: string | null | undefined;
6087
6702
  addressLine3?: string | null | undefined;
6088
6703
  postcodeOrZip?: string | null | undefined;
6089
- }>]>>>>;
6704
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6705
+ firstname: z.ZodString;
6706
+ surname: z.ZodString;
6707
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6708
+ }, "strip", z.ZodTypeAny, {
6709
+ firstname: string;
6710
+ surname: string;
6711
+ middlename?: string | null | undefined;
6712
+ }, {
6713
+ firstname: string;
6714
+ surname: string;
6715
+ middlename?: string | null | undefined;
6716
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6090
6717
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6091
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6718
+ originalActionId: z.ZodOptional<z.ZodString>;
6092
6719
  }, {
6093
6720
  type: z.ZodLiteral<"READ">;
6094
6721
  }>, "strip", z.ZodTypeAny, {
@@ -6096,6 +6723,7 @@ export declare const EventDocument: z.ZodObject<{
6096
6723
  id: string;
6097
6724
  status: "Rejected" | "Requested" | "Accepted";
6098
6725
  transactionId: string;
6726
+ createdByUserType: "system" | "user";
6099
6727
  createdAt: string;
6100
6728
  createdBy: string;
6101
6729
  createdByRole: string;
@@ -6114,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
6114
6742
  residentialArea?: string | null | undefined;
6115
6743
  street?: string | null | undefined;
6116
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
6117
6749
  } | {
6118
6750
  country: string;
6119
6751
  district: string;
@@ -6136,9 +6768,9 @@ export declare const EventDocument: z.ZodObject<{
6136
6768
  option: string;
6137
6769
  filename: string;
6138
6770
  originalFilename: string;
6139
- }[] | [string, string] | undefined>;
6771
+ }[] | [string, string] | null | undefined>;
6140
6772
  createdBySignature?: string | null | undefined;
6141
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6773
+ createdAtLocation?: string | null | undefined;
6142
6774
  annotation?: Record<string, string | number | boolean | {
6143
6775
  type: string;
6144
6776
  filename: string;
@@ -6154,6 +6786,10 @@ export declare const EventDocument: z.ZodObject<{
6154
6786
  residentialArea?: string | null | undefined;
6155
6787
  street?: string | null | undefined;
6156
6788
  zipCode?: string | null | undefined;
6789
+ } | {
6790
+ firstname: string;
6791
+ surname: string;
6792
+ middlename?: string | null | undefined;
6157
6793
  } | {
6158
6794
  country: string;
6159
6795
  district: string;
@@ -6176,13 +6812,14 @@ export declare const EventDocument: z.ZodObject<{
6176
6812
  option: string;
6177
6813
  filename: string;
6178
6814
  originalFilename: string;
6179
- }[] | [string, string] | undefined> | null | undefined;
6180
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6815
+ }[] | [string, string] | null | undefined> | undefined;
6816
+ originalActionId?: string | undefined;
6181
6817
  }, {
6182
6818
  type: "READ";
6183
6819
  id: string;
6184
6820
  status: "Rejected" | "Requested" | "Accepted";
6185
6821
  transactionId: string;
6822
+ createdByUserType: "system" | "user";
6186
6823
  createdAt: string;
6187
6824
  createdBy: string;
6188
6825
  createdByRole: string;
@@ -6201,6 +6838,10 @@ export declare const EventDocument: z.ZodObject<{
6201
6838
  residentialArea?: string | null | undefined;
6202
6839
  street?: string | null | undefined;
6203
6840
  zipCode?: string | null | undefined;
6841
+ } | {
6842
+ firstname: string;
6843
+ surname: string;
6844
+ middlename?: string | null | undefined;
6204
6845
  } | {
6205
6846
  country: string;
6206
6847
  district: string;
@@ -6223,7 +6864,7 @@ export declare const EventDocument: z.ZodObject<{
6223
6864
  option: string;
6224
6865
  filename: string;
6225
6866
  originalFilename: string;
6226
- }[] | [string, string] | undefined>;
6867
+ }[] | [string, string] | null | undefined>;
6227
6868
  createdBySignature?: string | null | undefined;
6228
6869
  createdAtLocation?: string | null | undefined;
6229
6870
  annotation?: Record<string, string | number | boolean | {
@@ -6241,6 +6882,10 @@ export declare const EventDocument: z.ZodObject<{
6241
6882
  residentialArea?: string | null | undefined;
6242
6883
  street?: string | null | undefined;
6243
6884
  zipCode?: string | null | undefined;
6885
+ } | {
6886
+ firstname: string;
6887
+ surname: string;
6888
+ middlename?: string | null | undefined;
6244
6889
  } | {
6245
6890
  country: string;
6246
6891
  district: string;
@@ -6263,16 +6908,17 @@ export declare const EventDocument: z.ZodObject<{
6263
6908
  option: string;
6264
6909
  filename: string;
6265
6910
  originalFilename: string;
6266
- }[] | [string, string] | undefined> | null | undefined;
6267
- originalActionId?: string | null | undefined;
6911
+ }[] | [string, string] | null | undefined> | undefined;
6912
+ originalActionId?: string | undefined;
6268
6913
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6269
6914
  id: z.ZodString;
6270
6915
  transactionId: z.ZodString;
6916
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6271
6917
  createdAt: z.ZodString;
6272
6918
  createdBy: z.ZodString;
6273
6919
  createdByRole: z.ZodString;
6274
6920
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6275
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6276
6922
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6277
6923
  filename: z.ZodString;
6278
6924
  originalFilename: z.ZodString;
@@ -6386,8 +7032,20 @@ export declare const EventDocument: z.ZodObject<{
6386
7032
  addressLine2?: string | null | undefined;
6387
7033
  addressLine3?: string | null | undefined;
6388
7034
  postcodeOrZip?: string | null | undefined;
6389
- }>]>>;
6390
- 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<{
7035
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7038
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
+ }, "strip", z.ZodTypeAny, {
7040
+ firstname: string;
7041
+ surname: string;
7042
+ middlename?: string | null | undefined;
7043
+ }, {
7044
+ firstname: string;
7045
+ surname: string;
7046
+ middlename?: string | null | undefined;
7047
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7048
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6391
7049
  filename: z.ZodString;
6392
7050
  originalFilename: z.ZodString;
6393
7051
  type: z.ZodString;
@@ -6500,9 +7158,21 @@ export declare const EventDocument: z.ZodObject<{
6500
7158
  addressLine2?: string | null | undefined;
6501
7159
  addressLine3?: string | null | undefined;
6502
7160
  postcodeOrZip?: string | null | undefined;
6503
- }>]>>>>;
7161
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7162
+ firstname: z.ZodString;
7163
+ surname: z.ZodString;
7164
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7165
+ }, "strip", z.ZodTypeAny, {
7166
+ firstname: string;
7167
+ surname: string;
7168
+ middlename?: string | null | undefined;
7169
+ }, {
7170
+ firstname: string;
7171
+ surname: string;
7172
+ middlename?: string | null | undefined;
7173
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6504
7174
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6505
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7175
+ originalActionId: z.ZodOptional<z.ZodString>;
6506
7176
  }, "declaration" | "annotation">, {
6507
7177
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6508
7178
  status: z.ZodLiteral<"Rejected">;
@@ -6511,28 +7181,30 @@ export declare const EventDocument: z.ZodObject<{
6511
7181
  id: string;
6512
7182
  status: "Rejected";
6513
7183
  transactionId: string;
7184
+ createdByUserType: "system" | "user";
6514
7185
  createdAt: string;
6515
7186
  createdBy: string;
6516
7187
  createdByRole: string;
6517
7188
  createdBySignature?: string | null | undefined;
6518
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6519
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7189
+ createdAtLocation?: string | null | undefined;
7190
+ originalActionId?: string | undefined;
6520
7191
  }, {
6521
7192
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6522
7193
  id: string;
6523
7194
  status: "Rejected";
6524
7195
  transactionId: string;
7196
+ createdByUserType: "system" | "user";
6525
7197
  createdAt: string;
6526
7198
  createdBy: string;
6527
7199
  createdByRole: string;
6528
7200
  createdBySignature?: string | null | undefined;
6529
7201
  createdAtLocation?: string | null | undefined;
6530
- originalActionId?: string | null | undefined;
7202
+ originalActionId?: string | undefined;
6531
7203
  }>]>, "many">;
6532
7204
  trackingId: z.ZodString;
6533
7205
  }, "strip", z.ZodTypeAny, {
6534
7206
  type: string;
6535
- id: string & z.BRAND<"UUID">;
7207
+ id: string;
6536
7208
  createdAt: string;
6537
7209
  updatedAt: string;
6538
7210
  actions: ({
@@ -6540,6 +7212,7 @@ export declare const EventDocument: z.ZodObject<{
6540
7212
  id: string;
6541
7213
  status: "Rejected" | "Requested" | "Accepted";
6542
7214
  transactionId: string;
7215
+ createdByUserType: "system" | "user";
6543
7216
  createdAt: string;
6544
7217
  createdBy: string;
6545
7218
  createdByRole: string;
@@ -6558,6 +7231,10 @@ export declare const EventDocument: z.ZodObject<{
6558
7231
  residentialArea?: string | null | undefined;
6559
7232
  street?: string | null | undefined;
6560
7233
  zipCode?: string | null | undefined;
7234
+ } | {
7235
+ firstname: string;
7236
+ surname: string;
7237
+ middlename?: string | null | undefined;
6561
7238
  } | {
6562
7239
  country: string;
6563
7240
  district: string;
@@ -6580,10 +7257,10 @@ export declare const EventDocument: z.ZodObject<{
6580
7257
  option: string;
6581
7258
  filename: string;
6582
7259
  originalFilename: string;
6583
- }[] | [string, string] | undefined>;
7260
+ }[] | [string, string] | null | undefined>;
6584
7261
  assignedTo: string;
6585
7262
  createdBySignature?: string | null | undefined;
6586
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7263
+ createdAtLocation?: string | null | undefined;
6587
7264
  annotation?: Record<string, string | number | boolean | {
6588
7265
  type: string;
6589
7266
  filename: string;
@@ -6599,6 +7276,10 @@ export declare const EventDocument: z.ZodObject<{
6599
7276
  residentialArea?: string | null | undefined;
6600
7277
  street?: string | null | undefined;
6601
7278
  zipCode?: string | null | undefined;
7279
+ } | {
7280
+ firstname: string;
7281
+ surname: string;
7282
+ middlename?: string | null | undefined;
6602
7283
  } | {
6603
7284
  country: string;
6604
7285
  district: string;
@@ -6621,13 +7302,14 @@ export declare const EventDocument: z.ZodObject<{
6621
7302
  option: string;
6622
7303
  filename: string;
6623
7304
  originalFilename: string;
6624
- }[] | [string, string] | undefined> | null | undefined;
6625
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7305
+ }[] | [string, string] | null | undefined> | undefined;
7306
+ originalActionId?: string | undefined;
6626
7307
  } | {
6627
7308
  type: "UNASSIGN";
6628
7309
  id: string;
6629
7310
  status: "Rejected" | "Requested" | "Accepted";
6630
7311
  transactionId: string;
7312
+ createdByUserType: "system" | "user";
6631
7313
  createdAt: string;
6632
7314
  createdBy: string;
6633
7315
  createdByRole: string;
@@ -6646,6 +7328,10 @@ export declare const EventDocument: z.ZodObject<{
6646
7328
  residentialArea?: string | null | undefined;
6647
7329
  street?: string | null | undefined;
6648
7330
  zipCode?: string | null | undefined;
7331
+ } | {
7332
+ firstname: string;
7333
+ surname: string;
7334
+ middlename?: string | null | undefined;
6649
7335
  } | {
6650
7336
  country: string;
6651
7337
  district: string;
@@ -6668,10 +7354,10 @@ export declare const EventDocument: z.ZodObject<{
6668
7354
  option: string;
6669
7355
  filename: string;
6670
7356
  originalFilename: string;
6671
- }[] | [string, string] | undefined>;
7357
+ }[] | [string, string] | null | undefined>;
6672
7358
  assignedTo: null;
6673
7359
  createdBySignature?: string | null | undefined;
6674
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7360
+ createdAtLocation?: string | null | undefined;
6675
7361
  annotation?: Record<string, string | number | boolean | {
6676
7362
  type: string;
6677
7363
  filename: string;
@@ -6687,6 +7373,10 @@ export declare const EventDocument: z.ZodObject<{
6687
7373
  residentialArea?: string | null | undefined;
6688
7374
  street?: string | null | undefined;
6689
7375
  zipCode?: string | null | undefined;
7376
+ } | {
7377
+ firstname: string;
7378
+ surname: string;
7379
+ middlename?: string | null | undefined;
6690
7380
  } | {
6691
7381
  country: string;
6692
7382
  district: string;
@@ -6709,13 +7399,14 @@ export declare const EventDocument: z.ZodObject<{
6709
7399
  option: string;
6710
7400
  filename: string;
6711
7401
  originalFilename: string;
6712
- }[] | [string, string] | undefined> | null | undefined;
6713
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7402
+ }[] | [string, string] | null | undefined> | undefined;
7403
+ originalActionId?: string | undefined;
6714
7404
  } | {
6715
7405
  type: "REGISTER";
6716
7406
  id: string;
6717
7407
  status: "Rejected" | "Requested" | "Accepted";
6718
7408
  transactionId: string;
7409
+ createdByUserType: "system" | "user";
6719
7410
  createdAt: string;
6720
7411
  createdBy: string;
6721
7412
  createdByRole: string;
@@ -6734,6 +7425,10 @@ export declare const EventDocument: z.ZodObject<{
6734
7425
  residentialArea?: string | null | undefined;
6735
7426
  street?: string | null | undefined;
6736
7427
  zipCode?: string | null | undefined;
7428
+ } | {
7429
+ firstname: string;
7430
+ surname: string;
7431
+ middlename?: string | null | undefined;
6737
7432
  } | {
6738
7433
  country: string;
6739
7434
  district: string;
@@ -6756,9 +7451,9 @@ export declare const EventDocument: z.ZodObject<{
6756
7451
  option: string;
6757
7452
  filename: string;
6758
7453
  originalFilename: string;
6759
- }[] | [string, string] | undefined>;
7454
+ }[] | [string, string] | null | undefined>;
6760
7455
  createdBySignature?: string | null | undefined;
6761
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7456
+ createdAtLocation?: string | null | undefined;
6762
7457
  annotation?: Record<string, string | number | boolean | {
6763
7458
  type: string;
6764
7459
  filename: string;
@@ -6774,6 +7469,10 @@ export declare const EventDocument: z.ZodObject<{
6774
7469
  residentialArea?: string | null | undefined;
6775
7470
  street?: string | null | undefined;
6776
7471
  zipCode?: string | null | undefined;
7472
+ } | {
7473
+ firstname: string;
7474
+ surname: string;
7475
+ middlename?: string | null | undefined;
6777
7476
  } | {
6778
7477
  country: string;
6779
7478
  district: string;
@@ -6796,14 +7495,15 @@ export declare const EventDocument: z.ZodObject<{
6796
7495
  option: string;
6797
7496
  filename: string;
6798
7497
  originalFilename: string;
6799
- }[] | [string, string] | undefined> | null | undefined;
6800
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7498
+ }[] | [string, string] | null | undefined> | undefined;
7499
+ originalActionId?: string | undefined;
6801
7500
  registrationNumber?: string | undefined;
6802
7501
  } | {
6803
7502
  type: "DECLARE";
6804
7503
  id: string;
6805
7504
  status: "Rejected" | "Requested" | "Accepted";
6806
7505
  transactionId: string;
7506
+ createdByUserType: "system" | "user";
6807
7507
  createdAt: string;
6808
7508
  createdBy: string;
6809
7509
  createdByRole: string;
@@ -6822,6 +7522,10 @@ export declare const EventDocument: z.ZodObject<{
6822
7522
  residentialArea?: string | null | undefined;
6823
7523
  street?: string | null | undefined;
6824
7524
  zipCode?: string | null | undefined;
7525
+ } | {
7526
+ firstname: string;
7527
+ surname: string;
7528
+ middlename?: string | null | undefined;
6825
7529
  } | {
6826
7530
  country: string;
6827
7531
  district: string;
@@ -6844,9 +7548,9 @@ export declare const EventDocument: z.ZodObject<{
6844
7548
  option: string;
6845
7549
  filename: string;
6846
7550
  originalFilename: string;
6847
- }[] | [string, string] | undefined>;
7551
+ }[] | [string, string] | null | undefined>;
6848
7552
  createdBySignature?: string | null | undefined;
6849
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
6850
7554
  annotation?: Record<string, string | number | boolean | {
6851
7555
  type: string;
6852
7556
  filename: string;
@@ -6862,6 +7566,10 @@ export declare const EventDocument: z.ZodObject<{
6862
7566
  residentialArea?: string | null | undefined;
6863
7567
  street?: string | null | undefined;
6864
7568
  zipCode?: string | null | undefined;
7569
+ } | {
7570
+ firstname: string;
7571
+ surname: string;
7572
+ middlename?: string | null | undefined;
6865
7573
  } | {
6866
7574
  country: string;
6867
7575
  district: string;
@@ -6884,13 +7592,14 @@ export declare const EventDocument: z.ZodObject<{
6884
7592
  option: string;
6885
7593
  filename: string;
6886
7594
  originalFilename: string;
6887
- }[] | [string, string] | undefined> | null | undefined;
6888
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7595
+ }[] | [string, string] | null | undefined> | undefined;
7596
+ originalActionId?: string | undefined;
6889
7597
  } | {
6890
7598
  type: "VALIDATE";
6891
7599
  id: string;
6892
7600
  status: "Rejected" | "Requested" | "Accepted";
6893
7601
  transactionId: string;
7602
+ createdByUserType: "system" | "user";
6894
7603
  createdAt: string;
6895
7604
  createdBy: string;
6896
7605
  createdByRole: string;
@@ -6909,6 +7618,10 @@ export declare const EventDocument: z.ZodObject<{
6909
7618
  residentialArea?: string | null | undefined;
6910
7619
  street?: string | null | undefined;
6911
7620
  zipCode?: string | null | undefined;
7621
+ } | {
7622
+ firstname: string;
7623
+ surname: string;
7624
+ middlename?: string | null | undefined;
6912
7625
  } | {
6913
7626
  country: string;
6914
7627
  district: string;
@@ -6931,9 +7644,9 @@ export declare const EventDocument: z.ZodObject<{
6931
7644
  option: string;
6932
7645
  filename: string;
6933
7646
  originalFilename: string;
6934
- }[] | [string, string] | undefined>;
7647
+ }[] | [string, string] | null | undefined>;
6935
7648
  createdBySignature?: string | null | undefined;
6936
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7649
+ createdAtLocation?: string | null | undefined;
6937
7650
  annotation?: Record<string, string | number | boolean | {
6938
7651
  type: string;
6939
7652
  filename: string;
@@ -6949,6 +7662,10 @@ export declare const EventDocument: z.ZodObject<{
6949
7662
  residentialArea?: string | null | undefined;
6950
7663
  street?: string | null | undefined;
6951
7664
  zipCode?: string | null | undefined;
7665
+ } | {
7666
+ firstname: string;
7667
+ surname: string;
7668
+ middlename?: string | null | undefined;
6952
7669
  } | {
6953
7670
  country: string;
6954
7671
  district: string;
@@ -6971,8 +7688,8 @@ export declare const EventDocument: z.ZodObject<{
6971
7688
  option: string;
6972
7689
  filename: string;
6973
7690
  originalFilename: string;
6974
- }[] | [string, string] | undefined> | null | undefined;
6975
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7691
+ }[] | [string, string] | null | undefined> | undefined;
7692
+ originalActionId?: string | undefined;
6976
7693
  } | {
6977
7694
  type: "REJECT";
6978
7695
  id: string;
@@ -6982,6 +7699,7 @@ export declare const EventDocument: z.ZodObject<{
6982
7699
  isDuplicate?: boolean | undefined;
6983
7700
  };
6984
7701
  transactionId: string;
7702
+ createdByUserType: "system" | "user";
6985
7703
  createdAt: string;
6986
7704
  createdBy: string;
6987
7705
  createdByRole: string;
@@ -7000,6 +7718,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7718
  residentialArea?: string | null | undefined;
7001
7719
  street?: string | null | undefined;
7002
7720
  zipCode?: string | null | undefined;
7721
+ } | {
7722
+ firstname: string;
7723
+ surname: string;
7724
+ middlename?: string | null | undefined;
7003
7725
  } | {
7004
7726
  country: string;
7005
7727
  district: string;
@@ -7022,9 +7744,9 @@ export declare const EventDocument: z.ZodObject<{
7022
7744
  option: string;
7023
7745
  filename: string;
7024
7746
  originalFilename: string;
7025
- }[] | [string, string] | undefined>;
7747
+ }[] | [string, string] | null | undefined>;
7026
7748
  createdBySignature?: string | null | undefined;
7027
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7749
+ createdAtLocation?: string | null | undefined;
7028
7750
  annotation?: Record<string, string | number | boolean | {
7029
7751
  type: string;
7030
7752
  filename: string;
@@ -7040,6 +7762,10 @@ export declare const EventDocument: z.ZodObject<{
7040
7762
  residentialArea?: string | null | undefined;
7041
7763
  street?: string | null | undefined;
7042
7764
  zipCode?: string | null | undefined;
7765
+ } | {
7766
+ firstname: string;
7767
+ surname: string;
7768
+ middlename?: string | null | undefined;
7043
7769
  } | {
7044
7770
  country: string;
7045
7771
  district: string;
@@ -7062,13 +7788,14 @@ export declare const EventDocument: z.ZodObject<{
7062
7788
  option: string;
7063
7789
  filename: string;
7064
7790
  originalFilename: string;
7065
- }[] | [string, string] | undefined> | null | undefined;
7066
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7791
+ }[] | [string, string] | null | undefined> | undefined;
7792
+ originalActionId?: string | undefined;
7067
7793
  } | {
7068
7794
  type: "MARKED_AS_DUPLICATE";
7069
7795
  id: string;
7070
7796
  status: "Rejected" | "Requested" | "Accepted";
7071
7797
  transactionId: string;
7798
+ createdByUserType: "system" | "user";
7072
7799
  createdAt: string;
7073
7800
  createdBy: string;
7074
7801
  createdByRole: string;
@@ -7087,6 +7814,10 @@ export declare const EventDocument: z.ZodObject<{
7087
7814
  residentialArea?: string | null | undefined;
7088
7815
  street?: string | null | undefined;
7089
7816
  zipCode?: string | null | undefined;
7817
+ } | {
7818
+ firstname: string;
7819
+ surname: string;
7820
+ middlename?: string | null | undefined;
7090
7821
  } | {
7091
7822
  country: string;
7092
7823
  district: string;
@@ -7109,9 +7840,9 @@ export declare const EventDocument: z.ZodObject<{
7109
7840
  option: string;
7110
7841
  filename: string;
7111
7842
  originalFilename: string;
7112
- }[] | [string, string] | undefined>;
7843
+ }[] | [string, string] | null | undefined>;
7113
7844
  createdBySignature?: string | null | undefined;
7114
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7845
+ createdAtLocation?: string | null | undefined;
7115
7846
  annotation?: Record<string, string | number | boolean | {
7116
7847
  type: string;
7117
7848
  filename: string;
@@ -7127,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7127
7858
  residentialArea?: string | null | undefined;
7128
7859
  street?: string | null | undefined;
7129
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7130
7865
  } | {
7131
7866
  country: string;
7132
7867
  district: string;
@@ -7149,8 +7884,8 @@ export declare const EventDocument: z.ZodObject<{
7149
7884
  option: string;
7150
7885
  filename: string;
7151
7886
  originalFilename: string;
7152
- }[] | [string, string] | undefined> | null | undefined;
7153
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7887
+ }[] | [string, string] | null | undefined> | undefined;
7888
+ originalActionId?: string | undefined;
7154
7889
  } | {
7155
7890
  type: "ARCHIVE";
7156
7891
  id: string;
@@ -7160,6 +7895,7 @@ export declare const EventDocument: z.ZodObject<{
7160
7895
  isDuplicate?: boolean | undefined;
7161
7896
  };
7162
7897
  transactionId: string;
7898
+ createdByUserType: "system" | "user";
7163
7899
  createdAt: string;
7164
7900
  createdBy: string;
7165
7901
  createdByRole: string;
@@ -7178,6 +7914,10 @@ export declare const EventDocument: z.ZodObject<{
7178
7914
  residentialArea?: string | null | undefined;
7179
7915
  street?: string | null | undefined;
7180
7916
  zipCode?: string | null | undefined;
7917
+ } | {
7918
+ firstname: string;
7919
+ surname: string;
7920
+ middlename?: string | null | undefined;
7181
7921
  } | {
7182
7922
  country: string;
7183
7923
  district: string;
@@ -7200,9 +7940,9 @@ export declare const EventDocument: z.ZodObject<{
7200
7940
  option: string;
7201
7941
  filename: string;
7202
7942
  originalFilename: string;
7203
- }[] | [string, string] | undefined>;
7943
+ }[] | [string, string] | null | undefined>;
7204
7944
  createdBySignature?: string | null | undefined;
7205
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7945
+ createdAtLocation?: string | null | undefined;
7206
7946
  annotation?: Record<string, string | number | boolean | {
7207
7947
  type: string;
7208
7948
  filename: string;
@@ -7218,6 +7958,10 @@ export declare const EventDocument: z.ZodObject<{
7218
7958
  residentialArea?: string | null | undefined;
7219
7959
  street?: string | null | undefined;
7220
7960
  zipCode?: string | null | undefined;
7961
+ } | {
7962
+ firstname: string;
7963
+ surname: string;
7964
+ middlename?: string | null | undefined;
7221
7965
  } | {
7222
7966
  country: string;
7223
7967
  district: string;
@@ -7240,13 +7984,14 @@ export declare const EventDocument: z.ZodObject<{
7240
7984
  option: string;
7241
7985
  filename: string;
7242
7986
  originalFilename: string;
7243
- }[] | [string, string] | undefined> | null | undefined;
7244
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7987
+ }[] | [string, string] | null | undefined> | undefined;
7988
+ originalActionId?: string | undefined;
7245
7989
  } | {
7246
7990
  type: "CREATE";
7247
7991
  id: string;
7248
7992
  status: "Rejected" | "Requested" | "Accepted";
7249
7993
  transactionId: string;
7994
+ createdByUserType: "system" | "user";
7250
7995
  createdAt: string;
7251
7996
  createdBy: string;
7252
7997
  createdByRole: string;
@@ -7265,6 +8010,10 @@ export declare const EventDocument: z.ZodObject<{
7265
8010
  residentialArea?: string | null | undefined;
7266
8011
  street?: string | null | undefined;
7267
8012
  zipCode?: string | null | undefined;
8013
+ } | {
8014
+ firstname: string;
8015
+ surname: string;
8016
+ middlename?: string | null | undefined;
7268
8017
  } | {
7269
8018
  country: string;
7270
8019
  district: string;
@@ -7287,9 +8036,9 @@ export declare const EventDocument: z.ZodObject<{
7287
8036
  option: string;
7288
8037
  filename: string;
7289
8038
  originalFilename: string;
7290
- }[] | [string, string] | undefined>;
8039
+ }[] | [string, string] | null | undefined>;
7291
8040
  createdBySignature?: string | null | undefined;
7292
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8041
+ createdAtLocation?: string | null | undefined;
7293
8042
  annotation?: Record<string, string | number | boolean | {
7294
8043
  type: string;
7295
8044
  filename: string;
@@ -7305,6 +8054,10 @@ export declare const EventDocument: z.ZodObject<{
7305
8054
  residentialArea?: string | null | undefined;
7306
8055
  street?: string | null | undefined;
7307
8056
  zipCode?: string | null | undefined;
8057
+ } | {
8058
+ firstname: string;
8059
+ surname: string;
8060
+ middlename?: string | null | undefined;
7308
8061
  } | {
7309
8062
  country: string;
7310
8063
  district: string;
@@ -7327,13 +8080,14 @@ export declare const EventDocument: z.ZodObject<{
7327
8080
  option: string;
7328
8081
  filename: string;
7329
8082
  originalFilename: string;
7330
- }[] | [string, string] | undefined> | null | undefined;
7331
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8083
+ }[] | [string, string] | null | undefined> | undefined;
8084
+ originalActionId?: string | undefined;
7332
8085
  } | {
7333
8086
  type: "NOTIFY";
7334
8087
  id: string;
7335
8088
  status: "Rejected" | "Requested" | "Accepted";
7336
8089
  transactionId: string;
8090
+ createdByUserType: "system" | "user";
7337
8091
  createdAt: string;
7338
8092
  createdBy: string;
7339
8093
  createdByRole: string;
@@ -7352,6 +8106,10 @@ export declare const EventDocument: z.ZodObject<{
7352
8106
  residentialArea?: string | null | undefined;
7353
8107
  street?: string | null | undefined;
7354
8108
  zipCode?: string | null | undefined;
8109
+ } | {
8110
+ firstname: string;
8111
+ surname: string;
8112
+ middlename?: string | null | undefined;
7355
8113
  } | {
7356
8114
  country: string;
7357
8115
  district: string;
@@ -7374,9 +8132,9 @@ export declare const EventDocument: z.ZodObject<{
7374
8132
  option: string;
7375
8133
  filename: string;
7376
8134
  originalFilename: string;
7377
- }[] | [string, string] | undefined>;
8135
+ }[] | [string, string] | null | undefined>;
7378
8136
  createdBySignature?: string | null | undefined;
7379
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8137
+ createdAtLocation?: string | null | undefined;
7380
8138
  annotation?: Record<string, string | number | boolean | {
7381
8139
  type: string;
7382
8140
  filename: string;
@@ -7392,6 +8150,10 @@ export declare const EventDocument: z.ZodObject<{
7392
8150
  residentialArea?: string | null | undefined;
7393
8151
  street?: string | null | undefined;
7394
8152
  zipCode?: string | null | undefined;
8153
+ } | {
8154
+ firstname: string;
8155
+ surname: string;
8156
+ middlename?: string | null | undefined;
7395
8157
  } | {
7396
8158
  country: string;
7397
8159
  district: string;
@@ -7414,13 +8176,14 @@ export declare const EventDocument: z.ZodObject<{
7414
8176
  option: string;
7415
8177
  filename: string;
7416
8178
  originalFilename: string;
7417
- }[] | [string, string] | undefined> | null | undefined;
7418
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8179
+ }[] | [string, string] | null | undefined> | undefined;
8180
+ originalActionId?: string | undefined;
7419
8181
  } | {
7420
8182
  type: "PRINT_CERTIFICATE";
7421
8183
  id: string;
7422
8184
  status: "Rejected" | "Requested" | "Accepted";
7423
8185
  transactionId: string;
8186
+ createdByUserType: "system" | "user";
7424
8187
  createdAt: string;
7425
8188
  createdBy: string;
7426
8189
  createdByRole: string;
@@ -7439,6 +8202,10 @@ export declare const EventDocument: z.ZodObject<{
7439
8202
  residentialArea?: string | null | undefined;
7440
8203
  street?: string | null | undefined;
7441
8204
  zipCode?: string | null | undefined;
8205
+ } | {
8206
+ firstname: string;
8207
+ surname: string;
8208
+ middlename?: string | null | undefined;
7442
8209
  } | {
7443
8210
  country: string;
7444
8211
  district: string;
@@ -7461,9 +8228,9 @@ export declare const EventDocument: z.ZodObject<{
7461
8228
  option: string;
7462
8229
  filename: string;
7463
8230
  originalFilename: string;
7464
- }[] | [string, string] | undefined>;
8231
+ }[] | [string, string] | null | undefined>;
7465
8232
  createdBySignature?: string | null | undefined;
7466
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8233
+ createdAtLocation?: string | null | undefined;
7467
8234
  annotation?: Record<string, string | number | boolean | {
7468
8235
  type: string;
7469
8236
  filename: string;
@@ -7479,6 +8246,10 @@ export declare const EventDocument: z.ZodObject<{
7479
8246
  residentialArea?: string | null | undefined;
7480
8247
  street?: string | null | undefined;
7481
8248
  zipCode?: string | null | undefined;
8249
+ } | {
8250
+ firstname: string;
8251
+ surname: string;
8252
+ middlename?: string | null | undefined;
7482
8253
  } | {
7483
8254
  country: string;
7484
8255
  district: string;
@@ -7501,13 +8272,14 @@ export declare const EventDocument: z.ZodObject<{
7501
8272
  option: string;
7502
8273
  filename: string;
7503
8274
  originalFilename: string;
7504
- }[] | [string, string] | undefined> | null | undefined;
7505
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8275
+ }[] | [string, string] | null | undefined> | undefined;
8276
+ originalActionId?: string | undefined;
7506
8277
  } | {
7507
8278
  type: "REQUEST_CORRECTION";
7508
8279
  id: string;
7509
8280
  status: "Rejected" | "Requested" | "Accepted";
7510
8281
  transactionId: string;
8282
+ createdByUserType: "system" | "user";
7511
8283
  createdAt: string;
7512
8284
  createdBy: string;
7513
8285
  createdByRole: string;
@@ -7526,6 +8298,10 @@ export declare const EventDocument: z.ZodObject<{
7526
8298
  residentialArea?: string | null | undefined;
7527
8299
  street?: string | null | undefined;
7528
8300
  zipCode?: string | null | undefined;
8301
+ } | {
8302
+ firstname: string;
8303
+ surname: string;
8304
+ middlename?: string | null | undefined;
7529
8305
  } | {
7530
8306
  country: string;
7531
8307
  district: string;
@@ -7548,9 +8324,9 @@ export declare const EventDocument: z.ZodObject<{
7548
8324
  option: string;
7549
8325
  filename: string;
7550
8326
  originalFilename: string;
7551
- }[] | [string, string] | undefined>;
8327
+ }[] | [string, string] | null | undefined>;
7552
8328
  createdBySignature?: string | null | undefined;
7553
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8329
+ createdAtLocation?: string | null | undefined;
7554
8330
  annotation?: Record<string, string | number | boolean | {
7555
8331
  type: string;
7556
8332
  filename: string;
@@ -7566,6 +8342,10 @@ export declare const EventDocument: z.ZodObject<{
7566
8342
  residentialArea?: string | null | undefined;
7567
8343
  street?: string | null | undefined;
7568
8344
  zipCode?: string | null | undefined;
8345
+ } | {
8346
+ firstname: string;
8347
+ surname: string;
8348
+ middlename?: string | null | undefined;
7569
8349
  } | {
7570
8350
  country: string;
7571
8351
  district: string;
@@ -7588,13 +8368,14 @@ export declare const EventDocument: z.ZodObject<{
7588
8368
  option: string;
7589
8369
  filename: string;
7590
8370
  originalFilename: string;
7591
- }[] | [string, string] | undefined> | null | undefined;
7592
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8371
+ }[] | [string, string] | null | undefined> | undefined;
8372
+ originalActionId?: string | undefined;
7593
8373
  } | {
7594
8374
  type: "APPROVE_CORRECTION";
7595
8375
  id: string;
7596
8376
  status: "Rejected" | "Requested" | "Accepted";
7597
8377
  transactionId: string;
8378
+ createdByUserType: "system" | "user";
7598
8379
  createdAt: string;
7599
8380
  createdBy: string;
7600
8381
  createdByRole: string;
@@ -7613,6 +8394,10 @@ export declare const EventDocument: z.ZodObject<{
7613
8394
  residentialArea?: string | null | undefined;
7614
8395
  street?: string | null | undefined;
7615
8396
  zipCode?: string | null | undefined;
8397
+ } | {
8398
+ firstname: string;
8399
+ surname: string;
8400
+ middlename?: string | null | undefined;
7616
8401
  } | {
7617
8402
  country: string;
7618
8403
  district: string;
@@ -7635,10 +8420,10 @@ export declare const EventDocument: z.ZodObject<{
7635
8420
  option: string;
7636
8421
  filename: string;
7637
8422
  originalFilename: string;
7638
- }[] | [string, string] | undefined>;
8423
+ }[] | [string, string] | null | undefined>;
7639
8424
  requestId: string;
7640
8425
  createdBySignature?: string | null | undefined;
7641
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8426
+ createdAtLocation?: string | null | undefined;
7642
8427
  annotation?: Record<string, string | number | boolean | {
7643
8428
  type: string;
7644
8429
  filename: string;
@@ -7654,6 +8439,10 @@ export declare const EventDocument: z.ZodObject<{
7654
8439
  residentialArea?: string | null | undefined;
7655
8440
  street?: string | null | undefined;
7656
8441
  zipCode?: string | null | undefined;
8442
+ } | {
8443
+ firstname: string;
8444
+ surname: string;
8445
+ middlename?: string | null | undefined;
7657
8446
  } | {
7658
8447
  country: string;
7659
8448
  district: string;
@@ -7676,13 +8465,14 @@ export declare const EventDocument: z.ZodObject<{
7676
8465
  option: string;
7677
8466
  filename: string;
7678
8467
  originalFilename: string;
7679
- }[] | [string, string] | undefined> | null | undefined;
7680
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8468
+ }[] | [string, string] | null | undefined> | undefined;
8469
+ originalActionId?: string | undefined;
7681
8470
  } | {
7682
8471
  type: "REJECT_CORRECTION";
7683
8472
  id: string;
7684
8473
  status: "Rejected" | "Requested" | "Accepted";
7685
8474
  transactionId: string;
8475
+ createdByUserType: "system" | "user";
7686
8476
  createdAt: string;
7687
8477
  createdBy: string;
7688
8478
  createdByRole: string;
@@ -7701,6 +8491,10 @@ export declare const EventDocument: z.ZodObject<{
7701
8491
  residentialArea?: string | null | undefined;
7702
8492
  street?: string | null | undefined;
7703
8493
  zipCode?: string | null | undefined;
8494
+ } | {
8495
+ firstname: string;
8496
+ surname: string;
8497
+ middlename?: string | null | undefined;
7704
8498
  } | {
7705
8499
  country: string;
7706
8500
  district: string;
@@ -7723,10 +8517,10 @@ export declare const EventDocument: z.ZodObject<{
7723
8517
  option: string;
7724
8518
  filename: string;
7725
8519
  originalFilename: string;
7726
- }[] | [string, string] | undefined>;
8520
+ }[] | [string, string] | null | undefined>;
7727
8521
  requestId: string;
7728
8522
  createdBySignature?: string | null | undefined;
7729
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8523
+ createdAtLocation?: string | null | undefined;
7730
8524
  annotation?: Record<string, string | number | boolean | {
7731
8525
  type: string;
7732
8526
  filename: string;
@@ -7742,6 +8536,10 @@ export declare const EventDocument: z.ZodObject<{
7742
8536
  residentialArea?: string | null | undefined;
7743
8537
  street?: string | null | undefined;
7744
8538
  zipCode?: string | null | undefined;
8539
+ } | {
8540
+ firstname: string;
8541
+ surname: string;
8542
+ middlename?: string | null | undefined;
7745
8543
  } | {
7746
8544
  country: string;
7747
8545
  district: string;
@@ -7764,13 +8562,14 @@ export declare const EventDocument: z.ZodObject<{
7764
8562
  option: string;
7765
8563
  filename: string;
7766
8564
  originalFilename: string;
7767
- }[] | [string, string] | undefined> | null | undefined;
7768
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8565
+ }[] | [string, string] | null | undefined> | undefined;
8566
+ originalActionId?: string | undefined;
7769
8567
  } | {
7770
8568
  type: "READ";
7771
8569
  id: string;
7772
8570
  status: "Rejected" | "Requested" | "Accepted";
7773
8571
  transactionId: string;
8572
+ createdByUserType: "system" | "user";
7774
8573
  createdAt: string;
7775
8574
  createdBy: string;
7776
8575
  createdByRole: string;
@@ -7789,6 +8588,10 @@ export declare const EventDocument: z.ZodObject<{
7789
8588
  residentialArea?: string | null | undefined;
7790
8589
  street?: string | null | undefined;
7791
8590
  zipCode?: string | null | undefined;
8591
+ } | {
8592
+ firstname: string;
8593
+ surname: string;
8594
+ middlename?: string | null | undefined;
7792
8595
  } | {
7793
8596
  country: string;
7794
8597
  district: string;
@@ -7811,9 +8614,9 @@ export declare const EventDocument: z.ZodObject<{
7811
8614
  option: string;
7812
8615
  filename: string;
7813
8616
  originalFilename: string;
7814
- }[] | [string, string] | undefined>;
8617
+ }[] | [string, string] | null | undefined>;
7815
8618
  createdBySignature?: string | null | undefined;
7816
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8619
+ createdAtLocation?: string | null | undefined;
7817
8620
  annotation?: Record<string, string | number | boolean | {
7818
8621
  type: string;
7819
8622
  filename: string;
@@ -7829,6 +8632,10 @@ export declare const EventDocument: z.ZodObject<{
7829
8632
  residentialArea?: string | null | undefined;
7830
8633
  street?: string | null | undefined;
7831
8634
  zipCode?: string | null | undefined;
8635
+ } | {
8636
+ firstname: string;
8637
+ surname: string;
8638
+ middlename?: string | null | undefined;
7832
8639
  } | {
7833
8640
  country: string;
7834
8641
  district: string;
@@ -7851,19 +8658,20 @@ export declare const EventDocument: z.ZodObject<{
7851
8658
  option: string;
7852
8659
  filename: string;
7853
8660
  originalFilename: string;
7854
- }[] | [string, string] | undefined> | null | undefined;
7855
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8661
+ }[] | [string, string] | null | undefined> | undefined;
8662
+ originalActionId?: string | undefined;
7856
8663
  } | {
7857
8664
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7858
8665
  id: string;
7859
8666
  status: "Rejected";
7860
8667
  transactionId: string;
8668
+ createdByUserType: "system" | "user";
7861
8669
  createdAt: string;
7862
8670
  createdBy: string;
7863
8671
  createdByRole: string;
7864
8672
  createdBySignature?: string | null | undefined;
7865
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7866
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8673
+ createdAtLocation?: string | null | undefined;
8674
+ originalActionId?: string | undefined;
7867
8675
  })[];
7868
8676
  trackingId: string;
7869
8677
  }, {
@@ -7876,6 +8684,7 @@ export declare const EventDocument: z.ZodObject<{
7876
8684
  id: string;
7877
8685
  status: "Rejected" | "Requested" | "Accepted";
7878
8686
  transactionId: string;
8687
+ createdByUserType: "system" | "user";
7879
8688
  createdAt: string;
7880
8689
  createdBy: string;
7881
8690
  createdByRole: string;
@@ -7894,6 +8703,10 @@ export declare const EventDocument: z.ZodObject<{
7894
8703
  residentialArea?: string | null | undefined;
7895
8704
  street?: string | null | undefined;
7896
8705
  zipCode?: string | null | undefined;
8706
+ } | {
8707
+ firstname: string;
8708
+ surname: string;
8709
+ middlename?: string | null | undefined;
7897
8710
  } | {
7898
8711
  country: string;
7899
8712
  district: string;
@@ -7916,7 +8729,7 @@ export declare const EventDocument: z.ZodObject<{
7916
8729
  option: string;
7917
8730
  filename: string;
7918
8731
  originalFilename: string;
7919
- }[] | [string, string] | undefined>;
8732
+ }[] | [string, string] | null | undefined>;
7920
8733
  assignedTo: string;
7921
8734
  createdBySignature?: string | null | undefined;
7922
8735
  createdAtLocation?: string | null | undefined;
@@ -7935,6 +8748,10 @@ export declare const EventDocument: z.ZodObject<{
7935
8748
  residentialArea?: string | null | undefined;
7936
8749
  street?: string | null | undefined;
7937
8750
  zipCode?: string | null | undefined;
8751
+ } | {
8752
+ firstname: string;
8753
+ surname: string;
8754
+ middlename?: string | null | undefined;
7938
8755
  } | {
7939
8756
  country: string;
7940
8757
  district: string;
@@ -7957,13 +8774,14 @@ export declare const EventDocument: z.ZodObject<{
7957
8774
  option: string;
7958
8775
  filename: string;
7959
8776
  originalFilename: string;
7960
- }[] | [string, string] | undefined> | null | undefined;
7961
- originalActionId?: string | null | undefined;
8777
+ }[] | [string, string] | null | undefined> | undefined;
8778
+ originalActionId?: string | undefined;
7962
8779
  } | {
7963
8780
  type: "UNASSIGN";
7964
8781
  id: string;
7965
8782
  status: "Rejected" | "Requested" | "Accepted";
7966
8783
  transactionId: string;
8784
+ createdByUserType: "system" | "user";
7967
8785
  createdAt: string;
7968
8786
  createdBy: string;
7969
8787
  createdByRole: string;
@@ -7982,6 +8800,10 @@ export declare const EventDocument: z.ZodObject<{
7982
8800
  residentialArea?: string | null | undefined;
7983
8801
  street?: string | null | undefined;
7984
8802
  zipCode?: string | null | undefined;
8803
+ } | {
8804
+ firstname: string;
8805
+ surname: string;
8806
+ middlename?: string | null | undefined;
7985
8807
  } | {
7986
8808
  country: string;
7987
8809
  district: string;
@@ -8004,7 +8826,7 @@ export declare const EventDocument: z.ZodObject<{
8004
8826
  option: string;
8005
8827
  filename: string;
8006
8828
  originalFilename: string;
8007
- }[] | [string, string] | undefined>;
8829
+ }[] | [string, string] | null | undefined>;
8008
8830
  assignedTo: null;
8009
8831
  createdBySignature?: string | null | undefined;
8010
8832
  createdAtLocation?: string | null | undefined;
@@ -8023,6 +8845,10 @@ export declare const EventDocument: z.ZodObject<{
8023
8845
  residentialArea?: string | null | undefined;
8024
8846
  street?: string | null | undefined;
8025
8847
  zipCode?: string | null | undefined;
8848
+ } | {
8849
+ firstname: string;
8850
+ surname: string;
8851
+ middlename?: string | null | undefined;
8026
8852
  } | {
8027
8853
  country: string;
8028
8854
  district: string;
@@ -8045,13 +8871,14 @@ export declare const EventDocument: z.ZodObject<{
8045
8871
  option: string;
8046
8872
  filename: string;
8047
8873
  originalFilename: string;
8048
- }[] | [string, string] | undefined> | null | undefined;
8049
- originalActionId?: string | null | undefined;
8874
+ }[] | [string, string] | null | undefined> | undefined;
8875
+ originalActionId?: string | undefined;
8050
8876
  } | {
8051
8877
  type: "REGISTER";
8052
8878
  id: string;
8053
8879
  status: "Rejected" | "Requested" | "Accepted";
8054
8880
  transactionId: string;
8881
+ createdByUserType: "system" | "user";
8055
8882
  createdAt: string;
8056
8883
  createdBy: string;
8057
8884
  createdByRole: string;
@@ -8070,6 +8897,10 @@ export declare const EventDocument: z.ZodObject<{
8070
8897
  residentialArea?: string | null | undefined;
8071
8898
  street?: string | null | undefined;
8072
8899
  zipCode?: string | null | undefined;
8900
+ } | {
8901
+ firstname: string;
8902
+ surname: string;
8903
+ middlename?: string | null | undefined;
8073
8904
  } | {
8074
8905
  country: string;
8075
8906
  district: string;
@@ -8092,7 +8923,7 @@ export declare const EventDocument: z.ZodObject<{
8092
8923
  option: string;
8093
8924
  filename: string;
8094
8925
  originalFilename: string;
8095
- }[] | [string, string] | undefined>;
8926
+ }[] | [string, string] | null | undefined>;
8096
8927
  createdBySignature?: string | null | undefined;
8097
8928
  createdAtLocation?: string | null | undefined;
8098
8929
  annotation?: Record<string, string | number | boolean | {
@@ -8110,6 +8941,10 @@ export declare const EventDocument: z.ZodObject<{
8110
8941
  residentialArea?: string | null | undefined;
8111
8942
  street?: string | null | undefined;
8112
8943
  zipCode?: string | null | undefined;
8944
+ } | {
8945
+ firstname: string;
8946
+ surname: string;
8947
+ middlename?: string | null | undefined;
8113
8948
  } | {
8114
8949
  country: string;
8115
8950
  district: string;
@@ -8132,14 +8967,15 @@ export declare const EventDocument: z.ZodObject<{
8132
8967
  option: string;
8133
8968
  filename: string;
8134
8969
  originalFilename: string;
8135
- }[] | [string, string] | undefined> | null | undefined;
8136
- originalActionId?: string | null | undefined;
8970
+ }[] | [string, string] | null | undefined> | undefined;
8971
+ originalActionId?: string | undefined;
8137
8972
  registrationNumber?: string | undefined;
8138
8973
  } | {
8139
8974
  type: "DECLARE";
8140
8975
  id: string;
8141
8976
  status: "Rejected" | "Requested" | "Accepted";
8142
8977
  transactionId: string;
8978
+ createdByUserType: "system" | "user";
8143
8979
  createdAt: string;
8144
8980
  createdBy: string;
8145
8981
  createdByRole: string;
@@ -8158,6 +8994,10 @@ export declare const EventDocument: z.ZodObject<{
8158
8994
  residentialArea?: string | null | undefined;
8159
8995
  street?: string | null | undefined;
8160
8996
  zipCode?: string | null | undefined;
8997
+ } | {
8998
+ firstname: string;
8999
+ surname: string;
9000
+ middlename?: string | null | undefined;
8161
9001
  } | {
8162
9002
  country: string;
8163
9003
  district: string;
@@ -8180,7 +9020,7 @@ export declare const EventDocument: z.ZodObject<{
8180
9020
  option: string;
8181
9021
  filename: string;
8182
9022
  originalFilename: string;
8183
- }[] | [string, string] | undefined>;
9023
+ }[] | [string, string] | null | undefined>;
8184
9024
  createdBySignature?: string | null | undefined;
8185
9025
  createdAtLocation?: string | null | undefined;
8186
9026
  annotation?: Record<string, string | number | boolean | {
@@ -8198,6 +9038,10 @@ export declare const EventDocument: z.ZodObject<{
8198
9038
  residentialArea?: string | null | undefined;
8199
9039
  street?: string | null | undefined;
8200
9040
  zipCode?: string | null | undefined;
9041
+ } | {
9042
+ firstname: string;
9043
+ surname: string;
9044
+ middlename?: string | null | undefined;
8201
9045
  } | {
8202
9046
  country: string;
8203
9047
  district: string;
@@ -8220,13 +9064,14 @@ export declare const EventDocument: z.ZodObject<{
8220
9064
  option: string;
8221
9065
  filename: string;
8222
9066
  originalFilename: string;
8223
- }[] | [string, string] | undefined> | null | undefined;
8224
- originalActionId?: string | null | undefined;
9067
+ }[] | [string, string] | null | undefined> | undefined;
9068
+ originalActionId?: string | undefined;
8225
9069
  } | {
8226
9070
  type: "VALIDATE";
8227
9071
  id: string;
8228
9072
  status: "Rejected" | "Requested" | "Accepted";
8229
9073
  transactionId: string;
9074
+ createdByUserType: "system" | "user";
8230
9075
  createdAt: string;
8231
9076
  createdBy: string;
8232
9077
  createdByRole: string;
@@ -8245,6 +9090,10 @@ export declare const EventDocument: z.ZodObject<{
8245
9090
  residentialArea?: string | null | undefined;
8246
9091
  street?: string | null | undefined;
8247
9092
  zipCode?: string | null | undefined;
9093
+ } | {
9094
+ firstname: string;
9095
+ surname: string;
9096
+ middlename?: string | null | undefined;
8248
9097
  } | {
8249
9098
  country: string;
8250
9099
  district: string;
@@ -8267,7 +9116,7 @@ export declare const EventDocument: z.ZodObject<{
8267
9116
  option: string;
8268
9117
  filename: string;
8269
9118
  originalFilename: string;
8270
- }[] | [string, string] | undefined>;
9119
+ }[] | [string, string] | null | undefined>;
8271
9120
  createdBySignature?: string | null | undefined;
8272
9121
  createdAtLocation?: string | null | undefined;
8273
9122
  annotation?: Record<string, string | number | boolean | {
@@ -8285,6 +9134,10 @@ export declare const EventDocument: z.ZodObject<{
8285
9134
  residentialArea?: string | null | undefined;
8286
9135
  street?: string | null | undefined;
8287
9136
  zipCode?: string | null | undefined;
9137
+ } | {
9138
+ firstname: string;
9139
+ surname: string;
9140
+ middlename?: string | null | undefined;
8288
9141
  } | {
8289
9142
  country: string;
8290
9143
  district: string;
@@ -8307,8 +9160,8 @@ export declare const EventDocument: z.ZodObject<{
8307
9160
  option: string;
8308
9161
  filename: string;
8309
9162
  originalFilename: string;
8310
- }[] | [string, string] | undefined> | null | undefined;
8311
- originalActionId?: string | null | undefined;
9163
+ }[] | [string, string] | null | undefined> | undefined;
9164
+ originalActionId?: string | undefined;
8312
9165
  } | {
8313
9166
  type: "REJECT";
8314
9167
  id: string;
@@ -8318,6 +9171,7 @@ export declare const EventDocument: z.ZodObject<{
8318
9171
  isDuplicate?: boolean | undefined;
8319
9172
  };
8320
9173
  transactionId: string;
9174
+ createdByUserType: "system" | "user";
8321
9175
  createdAt: string;
8322
9176
  createdBy: string;
8323
9177
  createdByRole: string;
@@ -8336,6 +9190,10 @@ export declare const EventDocument: z.ZodObject<{
8336
9190
  residentialArea?: string | null | undefined;
8337
9191
  street?: string | null | undefined;
8338
9192
  zipCode?: string | null | undefined;
9193
+ } | {
9194
+ firstname: string;
9195
+ surname: string;
9196
+ middlename?: string | null | undefined;
8339
9197
  } | {
8340
9198
  country: string;
8341
9199
  district: string;
@@ -8358,7 +9216,7 @@ export declare const EventDocument: z.ZodObject<{
8358
9216
  option: string;
8359
9217
  filename: string;
8360
9218
  originalFilename: string;
8361
- }[] | [string, string] | undefined>;
9219
+ }[] | [string, string] | null | undefined>;
8362
9220
  createdBySignature?: string | null | undefined;
8363
9221
  createdAtLocation?: string | null | undefined;
8364
9222
  annotation?: Record<string, string | number | boolean | {
@@ -8376,6 +9234,10 @@ export declare const EventDocument: z.ZodObject<{
8376
9234
  residentialArea?: string | null | undefined;
8377
9235
  street?: string | null | undefined;
8378
9236
  zipCode?: string | null | undefined;
9237
+ } | {
9238
+ firstname: string;
9239
+ surname: string;
9240
+ middlename?: string | null | undefined;
8379
9241
  } | {
8380
9242
  country: string;
8381
9243
  district: string;
@@ -8398,13 +9260,14 @@ export declare const EventDocument: z.ZodObject<{
8398
9260
  option: string;
8399
9261
  filename: string;
8400
9262
  originalFilename: string;
8401
- }[] | [string, string] | undefined> | null | undefined;
8402
- originalActionId?: string | null | undefined;
9263
+ }[] | [string, string] | null | undefined> | undefined;
9264
+ originalActionId?: string | undefined;
8403
9265
  } | {
8404
9266
  type: "MARKED_AS_DUPLICATE";
8405
9267
  id: string;
8406
9268
  status: "Rejected" | "Requested" | "Accepted";
8407
9269
  transactionId: string;
9270
+ createdByUserType: "system" | "user";
8408
9271
  createdAt: string;
8409
9272
  createdBy: string;
8410
9273
  createdByRole: string;
@@ -8423,6 +9286,10 @@ export declare const EventDocument: z.ZodObject<{
8423
9286
  residentialArea?: string | null | undefined;
8424
9287
  street?: string | null | undefined;
8425
9288
  zipCode?: string | null | undefined;
9289
+ } | {
9290
+ firstname: string;
9291
+ surname: string;
9292
+ middlename?: string | null | undefined;
8426
9293
  } | {
8427
9294
  country: string;
8428
9295
  district: string;
@@ -8445,7 +9312,7 @@ export declare const EventDocument: z.ZodObject<{
8445
9312
  option: string;
8446
9313
  filename: string;
8447
9314
  originalFilename: string;
8448
- }[] | [string, string] | undefined>;
9315
+ }[] | [string, string] | null | undefined>;
8449
9316
  createdBySignature?: string | null | undefined;
8450
9317
  createdAtLocation?: string | null | undefined;
8451
9318
  annotation?: Record<string, string | number | boolean | {
@@ -8463,6 +9330,10 @@ export declare const EventDocument: z.ZodObject<{
8463
9330
  residentialArea?: string | null | undefined;
8464
9331
  street?: string | null | undefined;
8465
9332
  zipCode?: string | null | undefined;
9333
+ } | {
9334
+ firstname: string;
9335
+ surname: string;
9336
+ middlename?: string | null | undefined;
8466
9337
  } | {
8467
9338
  country: string;
8468
9339
  district: string;
@@ -8485,8 +9356,8 @@ export declare const EventDocument: z.ZodObject<{
8485
9356
  option: string;
8486
9357
  filename: string;
8487
9358
  originalFilename: string;
8488
- }[] | [string, string] | undefined> | null | undefined;
8489
- originalActionId?: string | null | undefined;
9359
+ }[] | [string, string] | null | undefined> | undefined;
9360
+ originalActionId?: string | undefined;
8490
9361
  } | {
8491
9362
  type: "ARCHIVE";
8492
9363
  id: string;
@@ -8496,6 +9367,7 @@ export declare const EventDocument: z.ZodObject<{
8496
9367
  isDuplicate?: boolean | undefined;
8497
9368
  };
8498
9369
  transactionId: string;
9370
+ createdByUserType: "system" | "user";
8499
9371
  createdAt: string;
8500
9372
  createdBy: string;
8501
9373
  createdByRole: string;
@@ -8514,6 +9386,10 @@ export declare const EventDocument: z.ZodObject<{
8514
9386
  residentialArea?: string | null | undefined;
8515
9387
  street?: string | null | undefined;
8516
9388
  zipCode?: string | null | undefined;
9389
+ } | {
9390
+ firstname: string;
9391
+ surname: string;
9392
+ middlename?: string | null | undefined;
8517
9393
  } | {
8518
9394
  country: string;
8519
9395
  district: string;
@@ -8536,7 +9412,7 @@ export declare const EventDocument: z.ZodObject<{
8536
9412
  option: string;
8537
9413
  filename: string;
8538
9414
  originalFilename: string;
8539
- }[] | [string, string] | undefined>;
9415
+ }[] | [string, string] | null | undefined>;
8540
9416
  createdBySignature?: string | null | undefined;
8541
9417
  createdAtLocation?: string | null | undefined;
8542
9418
  annotation?: Record<string, string | number | boolean | {
@@ -8554,6 +9430,10 @@ export declare const EventDocument: z.ZodObject<{
8554
9430
  residentialArea?: string | null | undefined;
8555
9431
  street?: string | null | undefined;
8556
9432
  zipCode?: string | null | undefined;
9433
+ } | {
9434
+ firstname: string;
9435
+ surname: string;
9436
+ middlename?: string | null | undefined;
8557
9437
  } | {
8558
9438
  country: string;
8559
9439
  district: string;
@@ -8576,13 +9456,14 @@ export declare const EventDocument: z.ZodObject<{
8576
9456
  option: string;
8577
9457
  filename: string;
8578
9458
  originalFilename: string;
8579
- }[] | [string, string] | undefined> | null | undefined;
8580
- originalActionId?: string | null | undefined;
9459
+ }[] | [string, string] | null | undefined> | undefined;
9460
+ originalActionId?: string | undefined;
8581
9461
  } | {
8582
9462
  type: "CREATE";
8583
9463
  id: string;
8584
9464
  status: "Rejected" | "Requested" | "Accepted";
8585
9465
  transactionId: string;
9466
+ createdByUserType: "system" | "user";
8586
9467
  createdAt: string;
8587
9468
  createdBy: string;
8588
9469
  createdByRole: string;
@@ -8601,6 +9482,10 @@ export declare const EventDocument: z.ZodObject<{
8601
9482
  residentialArea?: string | null | undefined;
8602
9483
  street?: string | null | undefined;
8603
9484
  zipCode?: string | null | undefined;
9485
+ } | {
9486
+ firstname: string;
9487
+ surname: string;
9488
+ middlename?: string | null | undefined;
8604
9489
  } | {
8605
9490
  country: string;
8606
9491
  district: string;
@@ -8623,7 +9508,7 @@ export declare const EventDocument: z.ZodObject<{
8623
9508
  option: string;
8624
9509
  filename: string;
8625
9510
  originalFilename: string;
8626
- }[] | [string, string] | undefined>;
9511
+ }[] | [string, string] | null | undefined>;
8627
9512
  createdBySignature?: string | null | undefined;
8628
9513
  createdAtLocation?: string | null | undefined;
8629
9514
  annotation?: Record<string, string | number | boolean | {
@@ -8641,6 +9526,10 @@ export declare const EventDocument: z.ZodObject<{
8641
9526
  residentialArea?: string | null | undefined;
8642
9527
  street?: string | null | undefined;
8643
9528
  zipCode?: string | null | undefined;
9529
+ } | {
9530
+ firstname: string;
9531
+ surname: string;
9532
+ middlename?: string | null | undefined;
8644
9533
  } | {
8645
9534
  country: string;
8646
9535
  district: string;
@@ -8663,13 +9552,14 @@ export declare const EventDocument: z.ZodObject<{
8663
9552
  option: string;
8664
9553
  filename: string;
8665
9554
  originalFilename: string;
8666
- }[] | [string, string] | undefined> | null | undefined;
8667
- originalActionId?: string | null | undefined;
9555
+ }[] | [string, string] | null | undefined> | undefined;
9556
+ originalActionId?: string | undefined;
8668
9557
  } | {
8669
9558
  type: "NOTIFY";
8670
9559
  id: string;
8671
9560
  status: "Rejected" | "Requested" | "Accepted";
8672
9561
  transactionId: string;
9562
+ createdByUserType: "system" | "user";
8673
9563
  createdAt: string;
8674
9564
  createdBy: string;
8675
9565
  createdByRole: string;
@@ -8688,6 +9578,10 @@ export declare const EventDocument: z.ZodObject<{
8688
9578
  residentialArea?: string | null | undefined;
8689
9579
  street?: string | null | undefined;
8690
9580
  zipCode?: string | null | undefined;
9581
+ } | {
9582
+ firstname: string;
9583
+ surname: string;
9584
+ middlename?: string | null | undefined;
8691
9585
  } | {
8692
9586
  country: string;
8693
9587
  district: string;
@@ -8710,7 +9604,7 @@ export declare const EventDocument: z.ZodObject<{
8710
9604
  option: string;
8711
9605
  filename: string;
8712
9606
  originalFilename: string;
8713
- }[] | [string, string] | undefined>;
9607
+ }[] | [string, string] | null | undefined>;
8714
9608
  createdBySignature?: string | null | undefined;
8715
9609
  createdAtLocation?: string | null | undefined;
8716
9610
  annotation?: Record<string, string | number | boolean | {
@@ -8728,6 +9622,10 @@ export declare const EventDocument: z.ZodObject<{
8728
9622
  residentialArea?: string | null | undefined;
8729
9623
  street?: string | null | undefined;
8730
9624
  zipCode?: string | null | undefined;
9625
+ } | {
9626
+ firstname: string;
9627
+ surname: string;
9628
+ middlename?: string | null | undefined;
8731
9629
  } | {
8732
9630
  country: string;
8733
9631
  district: string;
@@ -8750,13 +9648,14 @@ export declare const EventDocument: z.ZodObject<{
8750
9648
  option: string;
8751
9649
  filename: string;
8752
9650
  originalFilename: string;
8753
- }[] | [string, string] | undefined> | null | undefined;
8754
- originalActionId?: string | null | undefined;
9651
+ }[] | [string, string] | null | undefined> | undefined;
9652
+ originalActionId?: string | undefined;
8755
9653
  } | {
8756
9654
  type: "PRINT_CERTIFICATE";
8757
9655
  id: string;
8758
9656
  status: "Rejected" | "Requested" | "Accepted";
8759
9657
  transactionId: string;
9658
+ createdByUserType: "system" | "user";
8760
9659
  createdAt: string;
8761
9660
  createdBy: string;
8762
9661
  createdByRole: string;
@@ -8775,6 +9674,10 @@ export declare const EventDocument: z.ZodObject<{
8775
9674
  residentialArea?: string | null | undefined;
8776
9675
  street?: string | null | undefined;
8777
9676
  zipCode?: string | null | undefined;
9677
+ } | {
9678
+ firstname: string;
9679
+ surname: string;
9680
+ middlename?: string | null | undefined;
8778
9681
  } | {
8779
9682
  country: string;
8780
9683
  district: string;
@@ -8797,7 +9700,7 @@ export declare const EventDocument: z.ZodObject<{
8797
9700
  option: string;
8798
9701
  filename: string;
8799
9702
  originalFilename: string;
8800
- }[] | [string, string] | undefined>;
9703
+ }[] | [string, string] | null | undefined>;
8801
9704
  createdBySignature?: string | null | undefined;
8802
9705
  createdAtLocation?: string | null | undefined;
8803
9706
  annotation?: Record<string, string | number | boolean | {
@@ -8815,6 +9718,10 @@ export declare const EventDocument: z.ZodObject<{
8815
9718
  residentialArea?: string | null | undefined;
8816
9719
  street?: string | null | undefined;
8817
9720
  zipCode?: string | null | undefined;
9721
+ } | {
9722
+ firstname: string;
9723
+ surname: string;
9724
+ middlename?: string | null | undefined;
8818
9725
  } | {
8819
9726
  country: string;
8820
9727
  district: string;
@@ -8837,13 +9744,14 @@ export declare const EventDocument: z.ZodObject<{
8837
9744
  option: string;
8838
9745
  filename: string;
8839
9746
  originalFilename: string;
8840
- }[] | [string, string] | undefined> | null | undefined;
8841
- originalActionId?: string | null | undefined;
9747
+ }[] | [string, string] | null | undefined> | undefined;
9748
+ originalActionId?: string | undefined;
8842
9749
  } | {
8843
9750
  type: "REQUEST_CORRECTION";
8844
9751
  id: string;
8845
9752
  status: "Rejected" | "Requested" | "Accepted";
8846
9753
  transactionId: string;
9754
+ createdByUserType: "system" | "user";
8847
9755
  createdAt: string;
8848
9756
  createdBy: string;
8849
9757
  createdByRole: string;
@@ -8862,6 +9770,10 @@ export declare const EventDocument: z.ZodObject<{
8862
9770
  residentialArea?: string | null | undefined;
8863
9771
  street?: string | null | undefined;
8864
9772
  zipCode?: string | null | undefined;
9773
+ } | {
9774
+ firstname: string;
9775
+ surname: string;
9776
+ middlename?: string | null | undefined;
8865
9777
  } | {
8866
9778
  country: string;
8867
9779
  district: string;
@@ -8884,7 +9796,7 @@ export declare const EventDocument: z.ZodObject<{
8884
9796
  option: string;
8885
9797
  filename: string;
8886
9798
  originalFilename: string;
8887
- }[] | [string, string] | undefined>;
9799
+ }[] | [string, string] | null | undefined>;
8888
9800
  createdBySignature?: string | null | undefined;
8889
9801
  createdAtLocation?: string | null | undefined;
8890
9802
  annotation?: Record<string, string | number | boolean | {
@@ -8902,6 +9814,10 @@ export declare const EventDocument: z.ZodObject<{
8902
9814
  residentialArea?: string | null | undefined;
8903
9815
  street?: string | null | undefined;
8904
9816
  zipCode?: string | null | undefined;
9817
+ } | {
9818
+ firstname: string;
9819
+ surname: string;
9820
+ middlename?: string | null | undefined;
8905
9821
  } | {
8906
9822
  country: string;
8907
9823
  district: string;
@@ -8924,13 +9840,14 @@ export declare const EventDocument: z.ZodObject<{
8924
9840
  option: string;
8925
9841
  filename: string;
8926
9842
  originalFilename: string;
8927
- }[] | [string, string] | undefined> | null | undefined;
8928
- originalActionId?: string | null | undefined;
9843
+ }[] | [string, string] | null | undefined> | undefined;
9844
+ originalActionId?: string | undefined;
8929
9845
  } | {
8930
9846
  type: "APPROVE_CORRECTION";
8931
9847
  id: string;
8932
9848
  status: "Rejected" | "Requested" | "Accepted";
8933
9849
  transactionId: string;
9850
+ createdByUserType: "system" | "user";
8934
9851
  createdAt: string;
8935
9852
  createdBy: string;
8936
9853
  createdByRole: string;
@@ -8949,6 +9866,10 @@ export declare const EventDocument: z.ZodObject<{
8949
9866
  residentialArea?: string | null | undefined;
8950
9867
  street?: string | null | undefined;
8951
9868
  zipCode?: string | null | undefined;
9869
+ } | {
9870
+ firstname: string;
9871
+ surname: string;
9872
+ middlename?: string | null | undefined;
8952
9873
  } | {
8953
9874
  country: string;
8954
9875
  district: string;
@@ -8971,7 +9892,7 @@ export declare const EventDocument: z.ZodObject<{
8971
9892
  option: string;
8972
9893
  filename: string;
8973
9894
  originalFilename: string;
8974
- }[] | [string, string] | undefined>;
9895
+ }[] | [string, string] | null | undefined>;
8975
9896
  requestId: string;
8976
9897
  createdBySignature?: string | null | undefined;
8977
9898
  createdAtLocation?: string | null | undefined;
@@ -8990,6 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8990
9911
  residentialArea?: string | null | undefined;
8991
9912
  street?: string | null | undefined;
8992
9913
  zipCode?: string | null | undefined;
9914
+ } | {
9915
+ firstname: string;
9916
+ surname: string;
9917
+ middlename?: string | null | undefined;
8993
9918
  } | {
8994
9919
  country: string;
8995
9920
  district: string;
@@ -9012,13 +9937,14 @@ export declare const EventDocument: z.ZodObject<{
9012
9937
  option: string;
9013
9938
  filename: string;
9014
9939
  originalFilename: string;
9015
- }[] | [string, string] | undefined> | null | undefined;
9016
- originalActionId?: string | null | undefined;
9940
+ }[] | [string, string] | null | undefined> | undefined;
9941
+ originalActionId?: string | undefined;
9017
9942
  } | {
9018
9943
  type: "REJECT_CORRECTION";
9019
9944
  id: string;
9020
9945
  status: "Rejected" | "Requested" | "Accepted";
9021
9946
  transactionId: string;
9947
+ createdByUserType: "system" | "user";
9022
9948
  createdAt: string;
9023
9949
  createdBy: string;
9024
9950
  createdByRole: string;
@@ -9037,6 +9963,10 @@ export declare const EventDocument: z.ZodObject<{
9037
9963
  residentialArea?: string | null | undefined;
9038
9964
  street?: string | null | undefined;
9039
9965
  zipCode?: string | null | undefined;
9966
+ } | {
9967
+ firstname: string;
9968
+ surname: string;
9969
+ middlename?: string | null | undefined;
9040
9970
  } | {
9041
9971
  country: string;
9042
9972
  district: string;
@@ -9059,7 +9989,7 @@ export declare const EventDocument: z.ZodObject<{
9059
9989
  option: string;
9060
9990
  filename: string;
9061
9991
  originalFilename: string;
9062
- }[] | [string, string] | undefined>;
9992
+ }[] | [string, string] | null | undefined>;
9063
9993
  requestId: string;
9064
9994
  createdBySignature?: string | null | undefined;
9065
9995
  createdAtLocation?: string | null | undefined;
@@ -9078,6 +10008,10 @@ export declare const EventDocument: z.ZodObject<{
9078
10008
  residentialArea?: string | null | undefined;
9079
10009
  street?: string | null | undefined;
9080
10010
  zipCode?: string | null | undefined;
10011
+ } | {
10012
+ firstname: string;
10013
+ surname: string;
10014
+ middlename?: string | null | undefined;
9081
10015
  } | {
9082
10016
  country: string;
9083
10017
  district: string;
@@ -9100,13 +10034,14 @@ export declare const EventDocument: z.ZodObject<{
9100
10034
  option: string;
9101
10035
  filename: string;
9102
10036
  originalFilename: string;
9103
- }[] | [string, string] | undefined> | null | undefined;
9104
- originalActionId?: string | null | undefined;
10037
+ }[] | [string, string] | null | undefined> | undefined;
10038
+ originalActionId?: string | undefined;
9105
10039
  } | {
9106
10040
  type: "READ";
9107
10041
  id: string;
9108
10042
  status: "Rejected" | "Requested" | "Accepted";
9109
10043
  transactionId: string;
10044
+ createdByUserType: "system" | "user";
9110
10045
  createdAt: string;
9111
10046
  createdBy: string;
9112
10047
  createdByRole: string;
@@ -9125,6 +10060,10 @@ export declare const EventDocument: z.ZodObject<{
9125
10060
  residentialArea?: string | null | undefined;
9126
10061
  street?: string | null | undefined;
9127
10062
  zipCode?: string | null | undefined;
10063
+ } | {
10064
+ firstname: string;
10065
+ surname: string;
10066
+ middlename?: string | null | undefined;
9128
10067
  } | {
9129
10068
  country: string;
9130
10069
  district: string;
@@ -9147,7 +10086,7 @@ export declare const EventDocument: z.ZodObject<{
9147
10086
  option: string;
9148
10087
  filename: string;
9149
10088
  originalFilename: string;
9150
- }[] | [string, string] | undefined>;
10089
+ }[] | [string, string] | null | undefined>;
9151
10090
  createdBySignature?: string | null | undefined;
9152
10091
  createdAtLocation?: string | null | undefined;
9153
10092
  annotation?: Record<string, string | number | boolean | {
@@ -9165,6 +10104,10 @@ export declare const EventDocument: z.ZodObject<{
9165
10104
  residentialArea?: string | null | undefined;
9166
10105
  street?: string | null | undefined;
9167
10106
  zipCode?: string | null | undefined;
10107
+ } | {
10108
+ firstname: string;
10109
+ surname: string;
10110
+ middlename?: string | null | undefined;
9168
10111
  } | {
9169
10112
  country: string;
9170
10113
  district: string;
@@ -9187,19 +10130,20 @@ export declare const EventDocument: z.ZodObject<{
9187
10130
  option: string;
9188
10131
  filename: string;
9189
10132
  originalFilename: string;
9190
- }[] | [string, string] | undefined> | null | undefined;
9191
- originalActionId?: string | null | undefined;
10133
+ }[] | [string, string] | null | undefined> | undefined;
10134
+ originalActionId?: string | undefined;
9192
10135
  } | {
9193
10136
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9194
10137
  id: string;
9195
10138
  status: "Rejected";
9196
10139
  transactionId: string;
10140
+ createdByUserType: "system" | "user";
9197
10141
  createdAt: string;
9198
10142
  createdBy: string;
9199
10143
  createdByRole: string;
9200
10144
  createdBySignature?: string | null | undefined;
9201
10145
  createdAtLocation?: string | null | undefined;
9202
- originalActionId?: string | null | undefined;
10146
+ originalActionId?: string | undefined;
9203
10147
  })[];
9204
10148
  trackingId: string;
9205
10149
  }>;