@opencrvs/toolkit 1.8.0-rc.f8a9481 → 1.8.0-rc.f8aa0c5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/commons/api/router.d.ts +9393 -895
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +120274 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2379 -564
  6. package/dist/commons/events/ActionInput.d.ts +1639 -367
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1233 -22
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +3730 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  13. package/dist/commons/events/Draft.d.ts +154 -45
  14. package/dist/commons/events/EventConfig.d.ts +57834 -1340
  15. package/dist/commons/events/EventDocument.d.ts +1483 -403
  16. package/dist/commons/events/EventIndex.d.ts +2009 -30
  17. package/dist/commons/events/EventMetadata.d.ts +340 -48
  18. package/dist/commons/events/FieldConfig.d.ts +5607 -1052
  19. package/dist/commons/events/FieldType.d.ts +6 -3
  20. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  21. package/dist/commons/events/FieldValue.d.ts +49 -8
  22. package/dist/commons/events/FormConfig.d.ts +50356 -514
  23. package/dist/commons/events/PageConfig.d.ts +12494 -204
  24. package/dist/commons/events/SummaryConfig.d.ts +17 -52
  25. package/dist/commons/events/User.d.ts +31 -7
  26. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  27. package/dist/commons/events/WorkqueueConfig.d.ts +7272 -16
  28. package/dist/commons/events/defineConfig.d.ts +9297 -51
  29. package/dist/commons/events/event.d.ts +54 -0
  30. package/dist/commons/events/field.d.ts +82 -0
  31. package/dist/commons/events/index.d.ts +7 -0
  32. package/dist/commons/events/scopes.d.ts +22 -3
  33. package/dist/commons/events/serializer.d.ts +2 -0
  34. package/dist/commons/events/test.utils.d.ts +171 -79
  35. package/dist/commons/events/transactions.d.ts +1 -1
  36. package/dist/commons/events/utils.d.ts +13811 -69
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +95 -52
  39. package/dist/events/index.js +4415 -1885
  40. package/dist/scopes/index.d.ts +247 -1
  41. package/dist/scopes/index.js +231 -1
  42. package/package.json +4 -3
@@ -1,17 +1,19 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodString;
3
+ id: z.ZodBranded<z.ZodString, "UUID">;
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
- updatedAtLocation: z.ZodString;
8
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
9
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
10
9
  transactionId: z.ZodString;
10
+ createdByUserType: z.ZodEnum<["user", "system"]>;
11
11
  createdAt: z.ZodString;
12
12
  createdBy: z.ZodString;
13
13
  createdByRole: z.ZodString;
14
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
15
17
  filename: z.ZodString;
16
18
  originalFilename: z.ZodString;
17
19
  type: z.ZodString;
@@ -124,8 +126,20 @@ export declare const EventDocument: z.ZodObject<{
124
126
  addressLine2?: string | null | undefined;
125
127
  addressLine3?: string | null | undefined;
126
128
  postcodeOrZip?: string | null | undefined;
127
- }>]>>;
128
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
129
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ firstname?: string | null | undefined;
135
+ surname?: string | null | undefined;
136
+ middlename?: string | null | undefined;
137
+ }, {
138
+ firstname?: string | null | undefined;
139
+ surname?: string | null | undefined;
140
+ middlename?: string | null | undefined;
141
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
129
143
  filename: z.ZodString;
130
144
  originalFilename: z.ZodString;
131
145
  type: z.ZodString;
@@ -238,17 +252,29 @@ export declare const EventDocument: z.ZodObject<{
238
252
  addressLine2?: string | null | undefined;
239
253
  addressLine3?: string | null | undefined;
240
254
  postcodeOrZip?: string | null | undefined;
241
- }>]>>>;
242
- createdAtLocation: z.ZodString;
255
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ firstname?: string | null | undefined;
261
+ surname?: string | null | undefined;
262
+ middlename?: string | null | undefined;
263
+ }, {
264
+ firstname?: string | null | undefined;
265
+ surname?: string | null | undefined;
266
+ middlename?: string | null | undefined;
267
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
243
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
244
- originalActionId: z.ZodOptional<z.ZodString>;
269
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
245
270
  }, {
246
271
  type: z.ZodLiteral<"CREATE">;
247
272
  }>, "strip", z.ZodTypeAny, {
248
273
  type: "CREATE";
249
- id: string;
274
+ id: string & z.BRAND<"UUID">;
250
275
  status: "Rejected" | "Requested" | "Accepted";
251
276
  transactionId: string;
277
+ createdByUserType: "system" | "user";
252
278
  createdAt: string;
253
279
  createdBy: string;
254
280
  createdByRole: string;
@@ -267,6 +293,10 @@ export declare const EventDocument: z.ZodObject<{
267
293
  residentialArea?: string | null | undefined;
268
294
  street?: string | null | undefined;
269
295
  zipCode?: string | null | undefined;
296
+ } | {
297
+ firstname?: string | null | undefined;
298
+ surname?: string | null | undefined;
299
+ middlename?: string | null | undefined;
270
300
  } | {
271
301
  country: string;
272
302
  district: string;
@@ -289,8 +319,9 @@ export declare const EventDocument: z.ZodObject<{
289
319
  option: string;
290
320
  filename: string;
291
321
  originalFilename: string;
292
- }[] | undefined>;
293
- createdAtLocation: string;
322
+ }[] | [string, string] | null | undefined>;
323
+ createdBySignature?: string | null | undefined;
324
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
294
325
  annotation?: Record<string, string | number | boolean | {
295
326
  type: string;
296
327
  filename: string;
@@ -306,6 +337,10 @@ export declare const EventDocument: z.ZodObject<{
306
337
  residentialArea?: string | null | undefined;
307
338
  street?: string | null | undefined;
308
339
  zipCode?: string | null | undefined;
340
+ } | {
341
+ firstname?: string | null | undefined;
342
+ surname?: string | null | undefined;
343
+ middlename?: string | null | undefined;
309
344
  } | {
310
345
  country: string;
311
346
  district: string;
@@ -328,13 +363,14 @@ export declare const EventDocument: z.ZodObject<{
328
363
  option: string;
329
364
  filename: string;
330
365
  originalFilename: string;
331
- }[] | undefined> | undefined;
332
- originalActionId?: string | undefined;
366
+ }[] | [string, string] | null | undefined> | null | undefined;
367
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
333
368
  }, {
334
369
  type: "CREATE";
335
370
  id: string;
336
371
  status: "Rejected" | "Requested" | "Accepted";
337
372
  transactionId: string;
373
+ createdByUserType: "system" | "user";
338
374
  createdAt: string;
339
375
  createdBy: string;
340
376
  createdByRole: string;
@@ -353,6 +389,10 @@ export declare const EventDocument: z.ZodObject<{
353
389
  residentialArea?: string | null | undefined;
354
390
  street?: string | null | undefined;
355
391
  zipCode?: string | null | undefined;
392
+ } | {
393
+ firstname?: string | null | undefined;
394
+ surname?: string | null | undefined;
395
+ middlename?: string | null | undefined;
356
396
  } | {
357
397
  country: string;
358
398
  district: string;
@@ -375,8 +415,9 @@ export declare const EventDocument: z.ZodObject<{
375
415
  option: string;
376
416
  filename: string;
377
417
  originalFilename: string;
378
- }[] | undefined>;
379
- createdAtLocation: string;
418
+ }[] | [string, string] | null | undefined>;
419
+ createdBySignature?: string | null | undefined;
420
+ createdAtLocation?: string | null | undefined;
380
421
  annotation?: Record<string, string | number | boolean | {
381
422
  type: string;
382
423
  filename: string;
@@ -392,6 +433,10 @@ export declare const EventDocument: z.ZodObject<{
392
433
  residentialArea?: string | null | undefined;
393
434
  street?: string | null | undefined;
394
435
  zipCode?: string | null | undefined;
436
+ } | {
437
+ firstname?: string | null | undefined;
438
+ surname?: string | null | undefined;
439
+ middlename?: string | null | undefined;
395
440
  } | {
396
441
  country: string;
397
442
  district: string;
@@ -414,15 +459,18 @@ export declare const EventDocument: z.ZodObject<{
414
459
  option: string;
415
460
  filename: string;
416
461
  originalFilename: string;
417
- }[] | undefined> | undefined;
418
- originalActionId?: string | undefined;
462
+ }[] | [string, string] | null | undefined> | null | undefined;
463
+ originalActionId?: string | null | undefined;
419
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
420
- id: z.ZodString;
465
+ id: z.ZodBranded<z.ZodString, "UUID">;
421
466
  transactionId: z.ZodString;
467
+ createdByUserType: z.ZodEnum<["user", "system"]>;
422
468
  createdAt: z.ZodString;
423
469
  createdBy: z.ZodString;
424
470
  createdByRole: z.ZodString;
425
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
471
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
426
474
  filename: z.ZodString;
427
475
  originalFilename: z.ZodString;
428
476
  type: z.ZodString;
@@ -535,8 +583,20 @@ export declare const EventDocument: z.ZodObject<{
535
583
  addressLine2?: string | null | undefined;
536
584
  addressLine3?: string | null | undefined;
537
585
  postcodeOrZip?: string | null | undefined;
538
- }>]>>;
539
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
586
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ firstname?: string | null | undefined;
592
+ surname?: string | null | undefined;
593
+ middlename?: string | null | undefined;
594
+ }, {
595
+ firstname?: string | null | undefined;
596
+ surname?: string | null | undefined;
597
+ middlename?: string | null | undefined;
598
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
540
600
  filename: z.ZodString;
541
601
  originalFilename: z.ZodString;
542
602
  type: z.ZodString;
@@ -649,17 +709,29 @@ export declare const EventDocument: z.ZodObject<{
649
709
  addressLine2?: string | null | undefined;
650
710
  addressLine3?: string | null | undefined;
651
711
  postcodeOrZip?: string | null | undefined;
652
- }>]>>>;
653
- createdAtLocation: z.ZodString;
712
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ firstname?: string | null | undefined;
718
+ surname?: string | null | undefined;
719
+ middlename?: string | null | undefined;
720
+ }, {
721
+ firstname?: string | null | undefined;
722
+ surname?: string | null | undefined;
723
+ middlename?: string | null | undefined;
724
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
654
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
655
- originalActionId: z.ZodOptional<z.ZodString>;
726
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
656
727
  }, {
657
728
  type: z.ZodLiteral<"VALIDATE">;
658
729
  }>, "strip", z.ZodTypeAny, {
659
730
  type: "VALIDATE";
660
- id: string;
731
+ id: string & z.BRAND<"UUID">;
661
732
  status: "Rejected" | "Requested" | "Accepted";
662
733
  transactionId: string;
734
+ createdByUserType: "system" | "user";
663
735
  createdAt: string;
664
736
  createdBy: string;
665
737
  createdByRole: string;
@@ -678,6 +750,10 @@ export declare const EventDocument: z.ZodObject<{
678
750
  residentialArea?: string | null | undefined;
679
751
  street?: string | null | undefined;
680
752
  zipCode?: string | null | undefined;
753
+ } | {
754
+ firstname?: string | null | undefined;
755
+ surname?: string | null | undefined;
756
+ middlename?: string | null | undefined;
681
757
  } | {
682
758
  country: string;
683
759
  district: string;
@@ -700,8 +776,9 @@ export declare const EventDocument: z.ZodObject<{
700
776
  option: string;
701
777
  filename: string;
702
778
  originalFilename: string;
703
- }[] | undefined>;
704
- createdAtLocation: string;
779
+ }[] | [string, string] | null | undefined>;
780
+ createdBySignature?: string | null | undefined;
781
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
705
782
  annotation?: Record<string, string | number | boolean | {
706
783
  type: string;
707
784
  filename: string;
@@ -717,6 +794,10 @@ export declare const EventDocument: z.ZodObject<{
717
794
  residentialArea?: string | null | undefined;
718
795
  street?: string | null | undefined;
719
796
  zipCode?: string | null | undefined;
797
+ } | {
798
+ firstname?: string | null | undefined;
799
+ surname?: string | null | undefined;
800
+ middlename?: string | null | undefined;
720
801
  } | {
721
802
  country: string;
722
803
  district: string;
@@ -739,13 +820,14 @@ export declare const EventDocument: z.ZodObject<{
739
820
  option: string;
740
821
  filename: string;
741
822
  originalFilename: string;
742
- }[] | undefined> | undefined;
743
- originalActionId?: string | undefined;
823
+ }[] | [string, string] | null | undefined> | null | undefined;
824
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
744
825
  }, {
745
826
  type: "VALIDATE";
746
827
  id: string;
747
828
  status: "Rejected" | "Requested" | "Accepted";
748
829
  transactionId: string;
830
+ createdByUserType: "system" | "user";
749
831
  createdAt: string;
750
832
  createdBy: string;
751
833
  createdByRole: string;
@@ -764,6 +846,10 @@ export declare const EventDocument: z.ZodObject<{
764
846
  residentialArea?: string | null | undefined;
765
847
  street?: string | null | undefined;
766
848
  zipCode?: string | null | undefined;
849
+ } | {
850
+ firstname?: string | null | undefined;
851
+ surname?: string | null | undefined;
852
+ middlename?: string | null | undefined;
767
853
  } | {
768
854
  country: string;
769
855
  district: string;
@@ -786,8 +872,9 @@ export declare const EventDocument: z.ZodObject<{
786
872
  option: string;
787
873
  filename: string;
788
874
  originalFilename: string;
789
- }[] | undefined>;
790
- createdAtLocation: string;
875
+ }[] | [string, string] | null | undefined>;
876
+ createdBySignature?: string | null | undefined;
877
+ createdAtLocation?: string | null | undefined;
791
878
  annotation?: Record<string, string | number | boolean | {
792
879
  type: string;
793
880
  filename: string;
@@ -803,6 +890,10 @@ export declare const EventDocument: z.ZodObject<{
803
890
  residentialArea?: string | null | undefined;
804
891
  street?: string | null | undefined;
805
892
  zipCode?: string | null | undefined;
893
+ } | {
894
+ firstname?: string | null | undefined;
895
+ surname?: string | null | undefined;
896
+ middlename?: string | null | undefined;
806
897
  } | {
807
898
  country: string;
808
899
  district: string;
@@ -825,15 +916,18 @@ export declare const EventDocument: z.ZodObject<{
825
916
  option: string;
826
917
  filename: string;
827
918
  originalFilename: string;
828
- }[] | undefined> | undefined;
829
- originalActionId?: string | undefined;
919
+ }[] | [string, string] | null | undefined> | null | undefined;
920
+ originalActionId?: string | null | undefined;
830
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
831
- id: z.ZodString;
922
+ id: z.ZodBranded<z.ZodString, "UUID">;
832
923
  transactionId: z.ZodString;
924
+ createdByUserType: z.ZodEnum<["user", "system"]>;
833
925
  createdAt: z.ZodString;
834
926
  createdBy: z.ZodString;
835
927
  createdByRole: z.ZodString;
836
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
928
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
837
931
  filename: z.ZodString;
838
932
  originalFilename: z.ZodString;
839
933
  type: z.ZodString;
@@ -946,8 +1040,20 @@ export declare const EventDocument: z.ZodObject<{
946
1040
  addressLine2?: string | null | undefined;
947
1041
  addressLine3?: string | null | undefined;
948
1042
  postcodeOrZip?: string | null | undefined;
949
- }>]>>;
950
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1043
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ firstname?: string | null | undefined;
1049
+ surname?: string | null | undefined;
1050
+ middlename?: string | null | undefined;
1051
+ }, {
1052
+ firstname?: string | null | undefined;
1053
+ surname?: string | null | undefined;
1054
+ middlename?: string | null | undefined;
1055
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
951
1057
  filename: z.ZodString;
952
1058
  originalFilename: z.ZodString;
953
1059
  type: z.ZodString;
@@ -1060,17 +1166,43 @@ export declare const EventDocument: z.ZodObject<{
1060
1166
  addressLine2?: string | null | undefined;
1061
1167
  addressLine3?: string | null | undefined;
1062
1168
  postcodeOrZip?: string | null | undefined;
1063
- }>]>>>;
1064
- createdAtLocation: z.ZodString;
1169
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ firstname?: string | null | undefined;
1175
+ surname?: string | null | undefined;
1176
+ middlename?: string | null | undefined;
1177
+ }, {
1178
+ firstname?: string | null | undefined;
1179
+ surname?: string | null | undefined;
1180
+ middlename?: string | null | undefined;
1181
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1065
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1066
- originalActionId: z.ZodOptional<z.ZodString>;
1183
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1067
1184
  }, {
1068
1185
  type: z.ZodLiteral<"REJECT">;
1186
+ reason: z.ZodObject<{
1187
+ message: z.ZodString;
1188
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ message: string;
1191
+ isDuplicate?: boolean | undefined;
1192
+ }, {
1193
+ message: string;
1194
+ isDuplicate?: boolean | undefined;
1195
+ }>;
1069
1196
  }>, "strip", z.ZodTypeAny, {
1070
1197
  type: "REJECT";
1071
- id: string;
1198
+ id: string & z.BRAND<"UUID">;
1072
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
+ reason: {
1201
+ message: string;
1202
+ isDuplicate?: boolean | undefined;
1203
+ };
1073
1204
  transactionId: string;
1205
+ createdByUserType: "system" | "user";
1074
1206
  createdAt: string;
1075
1207
  createdBy: string;
1076
1208
  createdByRole: string;
@@ -1089,6 +1221,10 @@ export declare const EventDocument: z.ZodObject<{
1089
1221
  residentialArea?: string | null | undefined;
1090
1222
  street?: string | null | undefined;
1091
1223
  zipCode?: string | null | undefined;
1224
+ } | {
1225
+ firstname?: string | null | undefined;
1226
+ surname?: string | null | undefined;
1227
+ middlename?: string | null | undefined;
1092
1228
  } | {
1093
1229
  country: string;
1094
1230
  district: string;
@@ -1111,8 +1247,9 @@ export declare const EventDocument: z.ZodObject<{
1111
1247
  option: string;
1112
1248
  filename: string;
1113
1249
  originalFilename: string;
1114
- }[] | undefined>;
1115
- createdAtLocation: string;
1250
+ }[] | [string, string] | null | undefined>;
1251
+ createdBySignature?: string | null | undefined;
1252
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1116
1253
  annotation?: Record<string, string | number | boolean | {
1117
1254
  type: string;
1118
1255
  filename: string;
@@ -1128,6 +1265,10 @@ export declare const EventDocument: z.ZodObject<{
1128
1265
  residentialArea?: string | null | undefined;
1129
1266
  street?: string | null | undefined;
1130
1267
  zipCode?: string | null | undefined;
1268
+ } | {
1269
+ firstname?: string | null | undefined;
1270
+ surname?: string | null | undefined;
1271
+ middlename?: string | null | undefined;
1131
1272
  } | {
1132
1273
  country: string;
1133
1274
  district: string;
@@ -1150,13 +1291,18 @@ export declare const EventDocument: z.ZodObject<{
1150
1291
  option: string;
1151
1292
  filename: string;
1152
1293
  originalFilename: string;
1153
- }[] | undefined> | undefined;
1154
- originalActionId?: string | undefined;
1294
+ }[] | [string, string] | null | undefined> | null | undefined;
1295
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1155
1296
  }, {
1156
1297
  type: "REJECT";
1157
1298
  id: string;
1158
1299
  status: "Rejected" | "Requested" | "Accepted";
1300
+ reason: {
1301
+ message: string;
1302
+ isDuplicate?: boolean | undefined;
1303
+ };
1159
1304
  transactionId: string;
1305
+ createdByUserType: "system" | "user";
1160
1306
  createdAt: string;
1161
1307
  createdBy: string;
1162
1308
  createdByRole: string;
@@ -1175,6 +1321,10 @@ export declare const EventDocument: z.ZodObject<{
1175
1321
  residentialArea?: string | null | undefined;
1176
1322
  street?: string | null | undefined;
1177
1323
  zipCode?: string | null | undefined;
1324
+ } | {
1325
+ firstname?: string | null | undefined;
1326
+ surname?: string | null | undefined;
1327
+ middlename?: string | null | undefined;
1178
1328
  } | {
1179
1329
  country: string;
1180
1330
  district: string;
@@ -1197,8 +1347,9 @@ export declare const EventDocument: z.ZodObject<{
1197
1347
  option: string;
1198
1348
  filename: string;
1199
1349
  originalFilename: string;
1200
- }[] | undefined>;
1201
- createdAtLocation: string;
1350
+ }[] | [string, string] | null | undefined>;
1351
+ createdBySignature?: string | null | undefined;
1352
+ createdAtLocation?: string | null | undefined;
1202
1353
  annotation?: Record<string, string | number | boolean | {
1203
1354
  type: string;
1204
1355
  filename: string;
@@ -1214,6 +1365,10 @@ export declare const EventDocument: z.ZodObject<{
1214
1365
  residentialArea?: string | null | undefined;
1215
1366
  street?: string | null | undefined;
1216
1367
  zipCode?: string | null | undefined;
1368
+ } | {
1369
+ firstname?: string | null | undefined;
1370
+ surname?: string | null | undefined;
1371
+ middlename?: string | null | undefined;
1217
1372
  } | {
1218
1373
  country: string;
1219
1374
  district: string;
@@ -1236,15 +1391,18 @@ export declare const EventDocument: z.ZodObject<{
1236
1391
  option: string;
1237
1392
  filename: string;
1238
1393
  originalFilename: string;
1239
- }[] | undefined> | undefined;
1240
- originalActionId?: string | undefined;
1394
+ }[] | [string, string] | null | undefined> | null | undefined;
1395
+ originalActionId?: string | null | undefined;
1241
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1242
- id: z.ZodString;
1397
+ id: z.ZodBranded<z.ZodString, "UUID">;
1243
1398
  transactionId: z.ZodString;
1399
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1244
1400
  createdAt: z.ZodString;
1245
1401
  createdBy: z.ZodString;
1246
1402
  createdByRole: z.ZodString;
1247
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1403
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
1248
1406
  filename: z.ZodString;
1249
1407
  originalFilename: z.ZodString;
1250
1408
  type: z.ZodString;
@@ -1357,8 +1515,20 @@ export declare const EventDocument: z.ZodObject<{
1357
1515
  addressLine2?: string | null | undefined;
1358
1516
  addressLine3?: string | null | undefined;
1359
1517
  postcodeOrZip?: string | null | undefined;
1360
- }>]>>;
1361
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1518
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ firstname?: string | null | undefined;
1524
+ surname?: string | null | undefined;
1525
+ middlename?: string | null | undefined;
1526
+ }, {
1527
+ firstname?: string | null | undefined;
1528
+ surname?: string | null | undefined;
1529
+ middlename?: string | null | undefined;
1530
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1362
1532
  filename: z.ZodString;
1363
1533
  originalFilename: z.ZodString;
1364
1534
  type: z.ZodString;
@@ -1471,17 +1641,29 @@ export declare const EventDocument: z.ZodObject<{
1471
1641
  addressLine2?: string | null | undefined;
1472
1642
  addressLine3?: string | null | undefined;
1473
1643
  postcodeOrZip?: string | null | undefined;
1474
- }>]>>>;
1475
- createdAtLocation: z.ZodString;
1644
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1647
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ firstname?: string | null | undefined;
1650
+ surname?: string | null | undefined;
1651
+ middlename?: string | null | undefined;
1652
+ }, {
1653
+ firstname?: string | null | undefined;
1654
+ surname?: string | null | undefined;
1655
+ middlename?: string | null | undefined;
1656
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1476
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1477
- originalActionId: z.ZodOptional<z.ZodString>;
1658
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1478
1659
  }, {
1479
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1480
1661
  }>, "strip", z.ZodTypeAny, {
1481
1662
  type: "MARKED_AS_DUPLICATE";
1482
- id: string;
1663
+ id: string & z.BRAND<"UUID">;
1483
1664
  status: "Rejected" | "Requested" | "Accepted";
1484
1665
  transactionId: string;
1666
+ createdByUserType: "system" | "user";
1485
1667
  createdAt: string;
1486
1668
  createdBy: string;
1487
1669
  createdByRole: string;
@@ -1500,6 +1682,10 @@ export declare const EventDocument: z.ZodObject<{
1500
1682
  residentialArea?: string | null | undefined;
1501
1683
  street?: string | null | undefined;
1502
1684
  zipCode?: string | null | undefined;
1685
+ } | {
1686
+ firstname?: string | null | undefined;
1687
+ surname?: string | null | undefined;
1688
+ middlename?: string | null | undefined;
1503
1689
  } | {
1504
1690
  country: string;
1505
1691
  district: string;
@@ -1522,8 +1708,9 @@ export declare const EventDocument: z.ZodObject<{
1522
1708
  option: string;
1523
1709
  filename: string;
1524
1710
  originalFilename: string;
1525
- }[] | undefined>;
1526
- createdAtLocation: string;
1711
+ }[] | [string, string] | null | undefined>;
1712
+ createdBySignature?: string | null | undefined;
1713
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1527
1714
  annotation?: Record<string, string | number | boolean | {
1528
1715
  type: string;
1529
1716
  filename: string;
@@ -1539,6 +1726,10 @@ export declare const EventDocument: z.ZodObject<{
1539
1726
  residentialArea?: string | null | undefined;
1540
1727
  street?: string | null | undefined;
1541
1728
  zipCode?: string | null | undefined;
1729
+ } | {
1730
+ firstname?: string | null | undefined;
1731
+ surname?: string | null | undefined;
1732
+ middlename?: string | null | undefined;
1542
1733
  } | {
1543
1734
  country: string;
1544
1735
  district: string;
@@ -1561,13 +1752,14 @@ export declare const EventDocument: z.ZodObject<{
1561
1752
  option: string;
1562
1753
  filename: string;
1563
1754
  originalFilename: string;
1564
- }[] | undefined> | undefined;
1565
- originalActionId?: string | undefined;
1755
+ }[] | [string, string] | null | undefined> | null | undefined;
1756
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1566
1757
  }, {
1567
1758
  type: "MARKED_AS_DUPLICATE";
1568
1759
  id: string;
1569
1760
  status: "Rejected" | "Requested" | "Accepted";
1570
1761
  transactionId: string;
1762
+ createdByUserType: "system" | "user";
1571
1763
  createdAt: string;
1572
1764
  createdBy: string;
1573
1765
  createdByRole: string;
@@ -1586,6 +1778,10 @@ export declare const EventDocument: z.ZodObject<{
1586
1778
  residentialArea?: string | null | undefined;
1587
1779
  street?: string | null | undefined;
1588
1780
  zipCode?: string | null | undefined;
1781
+ } | {
1782
+ firstname?: string | null | undefined;
1783
+ surname?: string | null | undefined;
1784
+ middlename?: string | null | undefined;
1589
1785
  } | {
1590
1786
  country: string;
1591
1787
  district: string;
@@ -1608,8 +1804,9 @@ export declare const EventDocument: z.ZodObject<{
1608
1804
  option: string;
1609
1805
  filename: string;
1610
1806
  originalFilename: string;
1611
- }[] | undefined>;
1612
- createdAtLocation: string;
1807
+ }[] | [string, string] | null | undefined>;
1808
+ createdBySignature?: string | null | undefined;
1809
+ createdAtLocation?: string | null | undefined;
1613
1810
  annotation?: Record<string, string | number | boolean | {
1614
1811
  type: string;
1615
1812
  filename: string;
@@ -1625,6 +1822,10 @@ export declare const EventDocument: z.ZodObject<{
1625
1822
  residentialArea?: string | null | undefined;
1626
1823
  street?: string | null | undefined;
1627
1824
  zipCode?: string | null | undefined;
1825
+ } | {
1826
+ firstname?: string | null | undefined;
1827
+ surname?: string | null | undefined;
1828
+ middlename?: string | null | undefined;
1628
1829
  } | {
1629
1830
  country: string;
1630
1831
  district: string;
@@ -1647,15 +1848,18 @@ export declare const EventDocument: z.ZodObject<{
1647
1848
  option: string;
1648
1849
  filename: string;
1649
1850
  originalFilename: string;
1650
- }[] | undefined> | undefined;
1651
- originalActionId?: string | undefined;
1851
+ }[] | [string, string] | null | undefined> | null | undefined;
1852
+ originalActionId?: string | null | undefined;
1652
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1653
- id: z.ZodString;
1854
+ id: z.ZodBranded<z.ZodString, "UUID">;
1654
1855
  transactionId: z.ZodString;
1856
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1655
1857
  createdAt: z.ZodString;
1656
1858
  createdBy: z.ZodString;
1657
1859
  createdByRole: z.ZodString;
1658
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
1659
1863
  filename: z.ZodString;
1660
1864
  originalFilename: z.ZodString;
1661
1865
  type: z.ZodString;
@@ -1768,8 +1972,20 @@ export declare const EventDocument: z.ZodObject<{
1768
1972
  addressLine2?: string | null | undefined;
1769
1973
  addressLine3?: string | null | undefined;
1770
1974
  postcodeOrZip?: string | null | undefined;
1771
- }>]>>;
1772
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1975
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1978
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ firstname?: string | null | undefined;
1981
+ surname?: string | null | undefined;
1982
+ middlename?: string | null | undefined;
1983
+ }, {
1984
+ firstname?: string | null | undefined;
1985
+ surname?: string | null | undefined;
1986
+ middlename?: string | null | undefined;
1987
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1773
1989
  filename: z.ZodString;
1774
1990
  originalFilename: z.ZodString;
1775
1991
  type: z.ZodString;
@@ -1882,17 +2098,43 @@ export declare const EventDocument: z.ZodObject<{
1882
2098
  addressLine2?: string | null | undefined;
1883
2099
  addressLine3?: string | null | undefined;
1884
2100
  postcodeOrZip?: string | null | undefined;
1885
- }>]>>>;
1886
- createdAtLocation: z.ZodString;
2101
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ firstname?: string | null | undefined;
2107
+ surname?: string | null | undefined;
2108
+ middlename?: string | null | undefined;
2109
+ }, {
2110
+ firstname?: string | null | undefined;
2111
+ surname?: string | null | undefined;
2112
+ middlename?: string | null | undefined;
2113
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1887
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1888
- originalActionId: z.ZodOptional<z.ZodString>;
2115
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1889
2116
  }, {
1890
2117
  type: z.ZodLiteral<"ARCHIVE">;
2118
+ reason: z.ZodObject<{
2119
+ message: z.ZodString;
2120
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ message: string;
2123
+ isDuplicate?: boolean | undefined;
2124
+ }, {
2125
+ message: string;
2126
+ isDuplicate?: boolean | undefined;
2127
+ }>;
1891
2128
  }>, "strip", z.ZodTypeAny, {
1892
2129
  type: "ARCHIVE";
1893
- id: string;
2130
+ id: string & z.BRAND<"UUID">;
1894
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
+ reason: {
2133
+ message: string;
2134
+ isDuplicate?: boolean | undefined;
2135
+ };
1895
2136
  transactionId: string;
2137
+ createdByUserType: "system" | "user";
1896
2138
  createdAt: string;
1897
2139
  createdBy: string;
1898
2140
  createdByRole: string;
@@ -1911,6 +2153,10 @@ export declare const EventDocument: z.ZodObject<{
1911
2153
  residentialArea?: string | null | undefined;
1912
2154
  street?: string | null | undefined;
1913
2155
  zipCode?: string | null | undefined;
2156
+ } | {
2157
+ firstname?: string | null | undefined;
2158
+ surname?: string | null | undefined;
2159
+ middlename?: string | null | undefined;
1914
2160
  } | {
1915
2161
  country: string;
1916
2162
  district: string;
@@ -1933,8 +2179,9 @@ export declare const EventDocument: z.ZodObject<{
1933
2179
  option: string;
1934
2180
  filename: string;
1935
2181
  originalFilename: string;
1936
- }[] | undefined>;
1937
- createdAtLocation: string;
2182
+ }[] | [string, string] | null | undefined>;
2183
+ createdBySignature?: string | null | undefined;
2184
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1938
2185
  annotation?: Record<string, string | number | boolean | {
1939
2186
  type: string;
1940
2187
  filename: string;
@@ -1950,6 +2197,10 @@ export declare const EventDocument: z.ZodObject<{
1950
2197
  residentialArea?: string | null | undefined;
1951
2198
  street?: string | null | undefined;
1952
2199
  zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname?: string | null | undefined;
2202
+ surname?: string | null | undefined;
2203
+ middlename?: string | null | undefined;
1953
2204
  } | {
1954
2205
  country: string;
1955
2206
  district: string;
@@ -1972,13 +2223,18 @@ export declare const EventDocument: z.ZodObject<{
1972
2223
  option: string;
1973
2224
  filename: string;
1974
2225
  originalFilename: string;
1975
- }[] | undefined> | undefined;
1976
- originalActionId?: string | undefined;
2226
+ }[] | [string, string] | null | undefined> | null | undefined;
2227
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1977
2228
  }, {
1978
2229
  type: "ARCHIVE";
1979
2230
  id: string;
1980
2231
  status: "Rejected" | "Requested" | "Accepted";
2232
+ reason: {
2233
+ message: string;
2234
+ isDuplicate?: boolean | undefined;
2235
+ };
1981
2236
  transactionId: string;
2237
+ createdByUserType: "system" | "user";
1982
2238
  createdAt: string;
1983
2239
  createdBy: string;
1984
2240
  createdByRole: string;
@@ -1997,6 +2253,10 @@ export declare const EventDocument: z.ZodObject<{
1997
2253
  residentialArea?: string | null | undefined;
1998
2254
  street?: string | null | undefined;
1999
2255
  zipCode?: string | null | undefined;
2256
+ } | {
2257
+ firstname?: string | null | undefined;
2258
+ surname?: string | null | undefined;
2259
+ middlename?: string | null | undefined;
2000
2260
  } | {
2001
2261
  country: string;
2002
2262
  district: string;
@@ -2019,8 +2279,9 @@ export declare const EventDocument: z.ZodObject<{
2019
2279
  option: string;
2020
2280
  filename: string;
2021
2281
  originalFilename: string;
2022
- }[] | undefined>;
2023
- createdAtLocation: string;
2282
+ }[] | [string, string] | null | undefined>;
2283
+ createdBySignature?: string | null | undefined;
2284
+ createdAtLocation?: string | null | undefined;
2024
2285
  annotation?: Record<string, string | number | boolean | {
2025
2286
  type: string;
2026
2287
  filename: string;
@@ -2036,6 +2297,10 @@ export declare const EventDocument: z.ZodObject<{
2036
2297
  residentialArea?: string | null | undefined;
2037
2298
  street?: string | null | undefined;
2038
2299
  zipCode?: string | null | undefined;
2300
+ } | {
2301
+ firstname?: string | null | undefined;
2302
+ surname?: string | null | undefined;
2303
+ middlename?: string | null | undefined;
2039
2304
  } | {
2040
2305
  country: string;
2041
2306
  district: string;
@@ -2058,15 +2323,18 @@ export declare const EventDocument: z.ZodObject<{
2058
2323
  option: string;
2059
2324
  filename: string;
2060
2325
  originalFilename: string;
2061
- }[] | undefined> | undefined;
2062
- originalActionId?: string | undefined;
2326
+ }[] | [string, string] | null | undefined> | null | undefined;
2327
+ originalActionId?: string | null | undefined;
2063
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2064
- id: z.ZodString;
2329
+ id: z.ZodBranded<z.ZodString, "UUID">;
2065
2330
  transactionId: z.ZodString;
2331
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2066
2332
  createdAt: z.ZodString;
2067
2333
  createdBy: z.ZodString;
2068
2334
  createdByRole: z.ZodString;
2069
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2335
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
2070
2338
  filename: z.ZodString;
2071
2339
  originalFilename: z.ZodString;
2072
2340
  type: z.ZodString;
@@ -2179,8 +2447,20 @@ export declare const EventDocument: z.ZodObject<{
2179
2447
  addressLine2?: string | null | undefined;
2180
2448
  addressLine3?: string | null | undefined;
2181
2449
  postcodeOrZip?: string | null | undefined;
2182
- }>]>>;
2183
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2450
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ firstname?: string | null | undefined;
2456
+ surname?: string | null | undefined;
2457
+ middlename?: string | null | undefined;
2458
+ }, {
2459
+ firstname?: string | null | undefined;
2460
+ surname?: string | null | undefined;
2461
+ middlename?: string | null | undefined;
2462
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2184
2464
  filename: z.ZodString;
2185
2465
  originalFilename: z.ZodString;
2186
2466
  type: z.ZodString;
@@ -2293,17 +2573,29 @@ export declare const EventDocument: z.ZodObject<{
2293
2573
  addressLine2?: string | null | undefined;
2294
2574
  addressLine3?: string | null | undefined;
2295
2575
  postcodeOrZip?: string | null | undefined;
2296
- }>]>>>;
2297
- createdAtLocation: z.ZodString;
2576
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ firstname?: string | null | undefined;
2582
+ surname?: string | null | undefined;
2583
+ middlename?: string | null | undefined;
2584
+ }, {
2585
+ firstname?: string | null | undefined;
2586
+ surname?: string | null | undefined;
2587
+ middlename?: string | null | undefined;
2588
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2298
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2299
- originalActionId: z.ZodOptional<z.ZodString>;
2590
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2300
2591
  }, {
2301
2592
  type: z.ZodLiteral<"NOTIFY">;
2302
2593
  }>, "strip", z.ZodTypeAny, {
2303
2594
  type: "NOTIFY";
2304
- id: string;
2595
+ id: string & z.BRAND<"UUID">;
2305
2596
  status: "Rejected" | "Requested" | "Accepted";
2306
2597
  transactionId: string;
2598
+ createdByUserType: "system" | "user";
2307
2599
  createdAt: string;
2308
2600
  createdBy: string;
2309
2601
  createdByRole: string;
@@ -2322,6 +2614,10 @@ export declare const EventDocument: z.ZodObject<{
2322
2614
  residentialArea?: string | null | undefined;
2323
2615
  street?: string | null | undefined;
2324
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname?: string | null | undefined;
2619
+ surname?: string | null | undefined;
2620
+ middlename?: string | null | undefined;
2325
2621
  } | {
2326
2622
  country: string;
2327
2623
  district: string;
@@ -2344,8 +2640,9 @@ export declare const EventDocument: z.ZodObject<{
2344
2640
  option: string;
2345
2641
  filename: string;
2346
2642
  originalFilename: string;
2347
- }[] | undefined>;
2348
- createdAtLocation: string;
2643
+ }[] | [string, string] | null | undefined>;
2644
+ createdBySignature?: string | null | undefined;
2645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2349
2646
  annotation?: Record<string, string | number | boolean | {
2350
2647
  type: string;
2351
2648
  filename: string;
@@ -2361,6 +2658,10 @@ export declare const EventDocument: z.ZodObject<{
2361
2658
  residentialArea?: string | null | undefined;
2362
2659
  street?: string | null | undefined;
2363
2660
  zipCode?: string | null | undefined;
2661
+ } | {
2662
+ firstname?: string | null | undefined;
2663
+ surname?: string | null | undefined;
2664
+ middlename?: string | null | undefined;
2364
2665
  } | {
2365
2666
  country: string;
2366
2667
  district: string;
@@ -2383,13 +2684,14 @@ export declare const EventDocument: z.ZodObject<{
2383
2684
  option: string;
2384
2685
  filename: string;
2385
2686
  originalFilename: string;
2386
- }[] | undefined> | undefined;
2387
- originalActionId?: string | undefined;
2687
+ }[] | [string, string] | null | undefined> | null | undefined;
2688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2388
2689
  }, {
2389
2690
  type: "NOTIFY";
2390
2691
  id: string;
2391
2692
  status: "Rejected" | "Requested" | "Accepted";
2392
2693
  transactionId: string;
2694
+ createdByUserType: "system" | "user";
2393
2695
  createdAt: string;
2394
2696
  createdBy: string;
2395
2697
  createdByRole: string;
@@ -2408,6 +2710,10 @@ export declare const EventDocument: z.ZodObject<{
2408
2710
  residentialArea?: string | null | undefined;
2409
2711
  street?: string | null | undefined;
2410
2712
  zipCode?: string | null | undefined;
2713
+ } | {
2714
+ firstname?: string | null | undefined;
2715
+ surname?: string | null | undefined;
2716
+ middlename?: string | null | undefined;
2411
2717
  } | {
2412
2718
  country: string;
2413
2719
  district: string;
@@ -2430,8 +2736,9 @@ export declare const EventDocument: z.ZodObject<{
2430
2736
  option: string;
2431
2737
  filename: string;
2432
2738
  originalFilename: string;
2433
- }[] | undefined>;
2434
- createdAtLocation: string;
2739
+ }[] | [string, string] | null | undefined>;
2740
+ createdBySignature?: string | null | undefined;
2741
+ createdAtLocation?: string | null | undefined;
2435
2742
  annotation?: Record<string, string | number | boolean | {
2436
2743
  type: string;
2437
2744
  filename: string;
@@ -2447,6 +2754,10 @@ export declare const EventDocument: z.ZodObject<{
2447
2754
  residentialArea?: string | null | undefined;
2448
2755
  street?: string | null | undefined;
2449
2756
  zipCode?: string | null | undefined;
2757
+ } | {
2758
+ firstname?: string | null | undefined;
2759
+ surname?: string | null | undefined;
2760
+ middlename?: string | null | undefined;
2450
2761
  } | {
2451
2762
  country: string;
2452
2763
  district: string;
@@ -2469,15 +2780,18 @@ export declare const EventDocument: z.ZodObject<{
2469
2780
  option: string;
2470
2781
  filename: string;
2471
2782
  originalFilename: string;
2472
- }[] | undefined> | undefined;
2473
- originalActionId?: string | undefined;
2783
+ }[] | [string, string] | null | undefined> | null | undefined;
2784
+ originalActionId?: string | null | undefined;
2474
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2475
- id: z.ZodString;
2786
+ id: z.ZodBranded<z.ZodString, "UUID">;
2476
2787
  transactionId: z.ZodString;
2788
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2477
2789
  createdAt: z.ZodString;
2478
2790
  createdBy: z.ZodString;
2479
2791
  createdByRole: z.ZodString;
2480
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2792
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
2481
2795
  filename: z.ZodString;
2482
2796
  originalFilename: z.ZodString;
2483
2797
  type: z.ZodString;
@@ -2590,8 +2904,20 @@ export declare const EventDocument: z.ZodObject<{
2590
2904
  addressLine2?: string | null | undefined;
2591
2905
  addressLine3?: string | null | undefined;
2592
2906
  postcodeOrZip?: string | null | undefined;
2593
- }>]>>;
2594
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2907
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2910
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ firstname?: string | null | undefined;
2913
+ surname?: string | null | undefined;
2914
+ middlename?: string | null | undefined;
2915
+ }, {
2916
+ firstname?: string | null | undefined;
2917
+ surname?: string | null | undefined;
2918
+ middlename?: string | null | undefined;
2919
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2595
2921
  filename: z.ZodString;
2596
2922
  originalFilename: z.ZodString;
2597
2923
  type: z.ZodString;
@@ -2704,18 +3030,30 @@ export declare const EventDocument: z.ZodObject<{
2704
3030
  addressLine2?: string | null | undefined;
2705
3031
  addressLine3?: string | null | undefined;
2706
3032
  postcodeOrZip?: string | null | undefined;
2707
- }>]>>>;
2708
- createdAtLocation: z.ZodString;
3033
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
+ }, "strip", z.ZodTypeAny, {
3038
+ firstname?: string | null | undefined;
3039
+ surname?: string | null | undefined;
3040
+ middlename?: string | null | undefined;
3041
+ }, {
3042
+ firstname?: string | null | undefined;
3043
+ surname?: string | null | undefined;
3044
+ middlename?: string | null | undefined;
3045
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2709
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2710
- originalActionId: z.ZodOptional<z.ZodString>;
3047
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2711
3048
  }, {
2712
3049
  type: z.ZodLiteral<"REGISTER">;
2713
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
2714
3051
  }>, "strip", z.ZodTypeAny, {
2715
3052
  type: "REGISTER";
2716
- id: string;
3053
+ id: string & z.BRAND<"UUID">;
2717
3054
  status: "Rejected" | "Requested" | "Accepted";
2718
3055
  transactionId: string;
3056
+ createdByUserType: "system" | "user";
2719
3057
  createdAt: string;
2720
3058
  createdBy: string;
2721
3059
  createdByRole: string;
@@ -2734,6 +3072,10 @@ export declare const EventDocument: z.ZodObject<{
2734
3072
  residentialArea?: string | null | undefined;
2735
3073
  street?: string | null | undefined;
2736
3074
  zipCode?: string | null | undefined;
3075
+ } | {
3076
+ firstname?: string | null | undefined;
3077
+ surname?: string | null | undefined;
3078
+ middlename?: string | null | undefined;
2737
3079
  } | {
2738
3080
  country: string;
2739
3081
  district: string;
@@ -2756,8 +3098,9 @@ export declare const EventDocument: z.ZodObject<{
2756
3098
  option: string;
2757
3099
  filename: string;
2758
3100
  originalFilename: string;
2759
- }[] | undefined>;
2760
- createdAtLocation: string;
3101
+ }[] | [string, string] | null | undefined>;
3102
+ createdBySignature?: string | null | undefined;
3103
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2761
3104
  annotation?: Record<string, string | number | boolean | {
2762
3105
  type: string;
2763
3106
  filename: string;
@@ -2773,6 +3116,10 @@ export declare const EventDocument: z.ZodObject<{
2773
3116
  residentialArea?: string | null | undefined;
2774
3117
  street?: string | null | undefined;
2775
3118
  zipCode?: string | null | undefined;
3119
+ } | {
3120
+ firstname?: string | null | undefined;
3121
+ surname?: string | null | undefined;
3122
+ middlename?: string | null | undefined;
2776
3123
  } | {
2777
3124
  country: string;
2778
3125
  district: string;
@@ -2795,14 +3142,15 @@ export declare const EventDocument: z.ZodObject<{
2795
3142
  option: string;
2796
3143
  filename: string;
2797
3144
  originalFilename: string;
2798
- }[] | undefined> | undefined;
2799
- originalActionId?: string | undefined;
3145
+ }[] | [string, string] | null | undefined> | null | undefined;
3146
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2800
3147
  registrationNumber?: string | undefined;
2801
3148
  }, {
2802
3149
  type: "REGISTER";
2803
3150
  id: string;
2804
3151
  status: "Rejected" | "Requested" | "Accepted";
2805
3152
  transactionId: string;
3153
+ createdByUserType: "system" | "user";
2806
3154
  createdAt: string;
2807
3155
  createdBy: string;
2808
3156
  createdByRole: string;
@@ -2821,6 +3169,10 @@ export declare const EventDocument: z.ZodObject<{
2821
3169
  residentialArea?: string | null | undefined;
2822
3170
  street?: string | null | undefined;
2823
3171
  zipCode?: string | null | undefined;
3172
+ } | {
3173
+ firstname?: string | null | undefined;
3174
+ surname?: string | null | undefined;
3175
+ middlename?: string | null | undefined;
2824
3176
  } | {
2825
3177
  country: string;
2826
3178
  district: string;
@@ -2843,8 +3195,9 @@ export declare const EventDocument: z.ZodObject<{
2843
3195
  option: string;
2844
3196
  filename: string;
2845
3197
  originalFilename: string;
2846
- }[] | undefined>;
2847
- createdAtLocation: string;
3198
+ }[] | [string, string] | null | undefined>;
3199
+ createdBySignature?: string | null | undefined;
3200
+ createdAtLocation?: string | null | undefined;
2848
3201
  annotation?: Record<string, string | number | boolean | {
2849
3202
  type: string;
2850
3203
  filename: string;
@@ -2860,6 +3213,10 @@ export declare const EventDocument: z.ZodObject<{
2860
3213
  residentialArea?: string | null | undefined;
2861
3214
  street?: string | null | undefined;
2862
3215
  zipCode?: string | null | undefined;
3216
+ } | {
3217
+ firstname?: string | null | undefined;
3218
+ surname?: string | null | undefined;
3219
+ middlename?: string | null | undefined;
2863
3220
  } | {
2864
3221
  country: string;
2865
3222
  district: string;
@@ -2882,16 +3239,19 @@ export declare const EventDocument: z.ZodObject<{
2882
3239
  option: string;
2883
3240
  filename: string;
2884
3241
  originalFilename: string;
2885
- }[] | undefined> | undefined;
2886
- originalActionId?: string | undefined;
3242
+ }[] | [string, string] | null | undefined> | null | undefined;
3243
+ originalActionId?: string | null | undefined;
2887
3244
  registrationNumber?: string | undefined;
2888
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2889
- id: z.ZodString;
3246
+ id: z.ZodBranded<z.ZodString, "UUID">;
2890
3247
  transactionId: z.ZodString;
3248
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2891
3249
  createdAt: z.ZodString;
2892
3250
  createdBy: z.ZodString;
2893
3251
  createdByRole: z.ZodString;
2894
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3252
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
2895
3255
  filename: z.ZodString;
2896
3256
  originalFilename: z.ZodString;
2897
3257
  type: z.ZodString;
@@ -3004,8 +3364,20 @@ export declare const EventDocument: z.ZodObject<{
3004
3364
  addressLine2?: string | null | undefined;
3005
3365
  addressLine3?: string | null | undefined;
3006
3366
  postcodeOrZip?: string | null | undefined;
3007
- }>]>>;
3008
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3367
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3370
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ firstname?: string | null | undefined;
3373
+ surname?: string | null | undefined;
3374
+ middlename?: string | null | undefined;
3375
+ }, {
3376
+ firstname?: string | null | undefined;
3377
+ surname?: string | null | undefined;
3378
+ middlename?: string | null | undefined;
3379
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3009
3381
  filename: z.ZodString;
3010
3382
  originalFilename: z.ZodString;
3011
3383
  type: z.ZodString;
@@ -3118,17 +3490,29 @@ export declare const EventDocument: z.ZodObject<{
3118
3490
  addressLine2?: string | null | undefined;
3119
3491
  addressLine3?: string | null | undefined;
3120
3492
  postcodeOrZip?: string | null | undefined;
3121
- }>]>>>;
3122
- createdAtLocation: z.ZodString;
3493
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3496
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ firstname?: string | null | undefined;
3499
+ surname?: string | null | undefined;
3500
+ middlename?: string | null | undefined;
3501
+ }, {
3502
+ firstname?: string | null | undefined;
3503
+ surname?: string | null | undefined;
3504
+ middlename?: string | null | undefined;
3505
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3123
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3124
- originalActionId: z.ZodOptional<z.ZodString>;
3507
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3125
3508
  }, {
3126
3509
  type: z.ZodLiteral<"DECLARE">;
3127
3510
  }>, "strip", z.ZodTypeAny, {
3128
3511
  type: "DECLARE";
3129
- id: string;
3512
+ id: string & z.BRAND<"UUID">;
3130
3513
  status: "Rejected" | "Requested" | "Accepted";
3131
3514
  transactionId: string;
3515
+ createdByUserType: "system" | "user";
3132
3516
  createdAt: string;
3133
3517
  createdBy: string;
3134
3518
  createdByRole: string;
@@ -3147,6 +3531,10 @@ export declare const EventDocument: z.ZodObject<{
3147
3531
  residentialArea?: string | null | undefined;
3148
3532
  street?: string | null | undefined;
3149
3533
  zipCode?: string | null | undefined;
3534
+ } | {
3535
+ firstname?: string | null | undefined;
3536
+ surname?: string | null | undefined;
3537
+ middlename?: string | null | undefined;
3150
3538
  } | {
3151
3539
  country: string;
3152
3540
  district: string;
@@ -3169,8 +3557,9 @@ export declare const EventDocument: z.ZodObject<{
3169
3557
  option: string;
3170
3558
  filename: string;
3171
3559
  originalFilename: string;
3172
- }[] | undefined>;
3173
- createdAtLocation: string;
3560
+ }[] | [string, string] | null | undefined>;
3561
+ createdBySignature?: string | null | undefined;
3562
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3174
3563
  annotation?: Record<string, string | number | boolean | {
3175
3564
  type: string;
3176
3565
  filename: string;
@@ -3186,6 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
3186
3575
  residentialArea?: string | null | undefined;
3187
3576
  street?: string | null | undefined;
3188
3577
  zipCode?: string | null | undefined;
3578
+ } | {
3579
+ firstname?: string | null | undefined;
3580
+ surname?: string | null | undefined;
3581
+ middlename?: string | null | undefined;
3189
3582
  } | {
3190
3583
  country: string;
3191
3584
  district: string;
@@ -3208,13 +3601,14 @@ export declare const EventDocument: z.ZodObject<{
3208
3601
  option: string;
3209
3602
  filename: string;
3210
3603
  originalFilename: string;
3211
- }[] | undefined> | undefined;
3212
- originalActionId?: string | undefined;
3604
+ }[] | [string, string] | null | undefined> | null | undefined;
3605
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3213
3606
  }, {
3214
3607
  type: "DECLARE";
3215
3608
  id: string;
3216
3609
  status: "Rejected" | "Requested" | "Accepted";
3217
3610
  transactionId: string;
3611
+ createdByUserType: "system" | "user";
3218
3612
  createdAt: string;
3219
3613
  createdBy: string;
3220
3614
  createdByRole: string;
@@ -3233,6 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3233
3627
  residentialArea?: string | null | undefined;
3234
3628
  street?: string | null | undefined;
3235
3629
  zipCode?: string | null | undefined;
3630
+ } | {
3631
+ firstname?: string | null | undefined;
3632
+ surname?: string | null | undefined;
3633
+ middlename?: string | null | undefined;
3236
3634
  } | {
3237
3635
  country: string;
3238
3636
  district: string;
@@ -3255,8 +3653,9 @@ export declare const EventDocument: z.ZodObject<{
3255
3653
  option: string;
3256
3654
  filename: string;
3257
3655
  originalFilename: string;
3258
- }[] | undefined>;
3259
- createdAtLocation: string;
3656
+ }[] | [string, string] | null | undefined>;
3657
+ createdBySignature?: string | null | undefined;
3658
+ createdAtLocation?: string | null | undefined;
3260
3659
  annotation?: Record<string, string | number | boolean | {
3261
3660
  type: string;
3262
3661
  filename: string;
@@ -3272,6 +3671,10 @@ export declare const EventDocument: z.ZodObject<{
3272
3671
  residentialArea?: string | null | undefined;
3273
3672
  street?: string | null | undefined;
3274
3673
  zipCode?: string | null | undefined;
3674
+ } | {
3675
+ firstname?: string | null | undefined;
3676
+ surname?: string | null | undefined;
3677
+ middlename?: string | null | undefined;
3275
3678
  } | {
3276
3679
  country: string;
3277
3680
  district: string;
@@ -3294,15 +3697,18 @@ export declare const EventDocument: z.ZodObject<{
3294
3697
  option: string;
3295
3698
  filename: string;
3296
3699
  originalFilename: string;
3297
- }[] | undefined> | undefined;
3298
- originalActionId?: string | undefined;
3700
+ }[] | [string, string] | null | undefined> | null | undefined;
3701
+ originalActionId?: string | null | undefined;
3299
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3300
- id: z.ZodString;
3703
+ id: z.ZodBranded<z.ZodString, "UUID">;
3301
3704
  transactionId: z.ZodString;
3705
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3302
3706
  createdAt: z.ZodString;
3303
3707
  createdBy: z.ZodString;
3304
3708
  createdByRole: z.ZodString;
3305
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3709
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
3306
3712
  filename: z.ZodString;
3307
3713
  originalFilename: z.ZodString;
3308
3714
  type: z.ZodString;
@@ -3415,8 +3821,20 @@ export declare const EventDocument: z.ZodObject<{
3415
3821
  addressLine2?: string | null | undefined;
3416
3822
  addressLine3?: string | null | undefined;
3417
3823
  postcodeOrZip?: string | null | undefined;
3418
- }>]>>;
3419
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3824
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3827
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
+ }, "strip", z.ZodTypeAny, {
3829
+ firstname?: string | null | undefined;
3830
+ surname?: string | null | undefined;
3831
+ middlename?: string | null | undefined;
3832
+ }, {
3833
+ firstname?: string | null | undefined;
3834
+ surname?: string | null | undefined;
3835
+ middlename?: string | null | undefined;
3836
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3420
3838
  filename: z.ZodString;
3421
3839
  originalFilename: z.ZodString;
3422
3840
  type: z.ZodString;
@@ -3529,18 +3947,30 @@ export declare const EventDocument: z.ZodObject<{
3529
3947
  addressLine2?: string | null | undefined;
3530
3948
  addressLine3?: string | null | undefined;
3531
3949
  postcodeOrZip?: string | null | undefined;
3532
- }>]>>>;
3533
- createdAtLocation: z.ZodString;
3950
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3953
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
+ }, "strip", z.ZodTypeAny, {
3955
+ firstname?: string | null | undefined;
3956
+ surname?: string | null | undefined;
3957
+ middlename?: string | null | undefined;
3958
+ }, {
3959
+ firstname?: string | null | undefined;
3960
+ surname?: string | null | undefined;
3961
+ middlename?: string | null | undefined;
3962
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3534
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3535
- originalActionId: z.ZodOptional<z.ZodString>;
3964
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3536
3965
  }, {
3537
3966
  type: z.ZodLiteral<"ASSIGN">;
3538
3967
  assignedTo: z.ZodString;
3539
3968
  }>, "strip", z.ZodTypeAny, {
3540
3969
  type: "ASSIGN";
3541
- id: string;
3970
+ id: string & z.BRAND<"UUID">;
3542
3971
  status: "Rejected" | "Requested" | "Accepted";
3543
3972
  transactionId: string;
3973
+ createdByUserType: "system" | "user";
3544
3974
  createdAt: string;
3545
3975
  createdBy: string;
3546
3976
  createdByRole: string;
@@ -3559,6 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3559
3989
  residentialArea?: string | null | undefined;
3560
3990
  street?: string | null | undefined;
3561
3991
  zipCode?: string | null | undefined;
3992
+ } | {
3993
+ firstname?: string | null | undefined;
3994
+ surname?: string | null | undefined;
3995
+ middlename?: string | null | undefined;
3562
3996
  } | {
3563
3997
  country: string;
3564
3998
  district: string;
@@ -3581,9 +4015,10 @@ export declare const EventDocument: z.ZodObject<{
3581
4015
  option: string;
3582
4016
  filename: string;
3583
4017
  originalFilename: string;
3584
- }[] | undefined>;
3585
- createdAtLocation: string;
4018
+ }[] | [string, string] | null | undefined>;
3586
4019
  assignedTo: string;
4020
+ createdBySignature?: string | null | undefined;
4021
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3587
4022
  annotation?: Record<string, string | number | boolean | {
3588
4023
  type: string;
3589
4024
  filename: string;
@@ -3599,6 +4034,10 @@ export declare const EventDocument: z.ZodObject<{
3599
4034
  residentialArea?: string | null | undefined;
3600
4035
  street?: string | null | undefined;
3601
4036
  zipCode?: string | null | undefined;
4037
+ } | {
4038
+ firstname?: string | null | undefined;
4039
+ surname?: string | null | undefined;
4040
+ middlename?: string | null | undefined;
3602
4041
  } | {
3603
4042
  country: string;
3604
4043
  district: string;
@@ -3621,13 +4060,14 @@ export declare const EventDocument: z.ZodObject<{
3621
4060
  option: string;
3622
4061
  filename: string;
3623
4062
  originalFilename: string;
3624
- }[] | undefined> | undefined;
3625
- originalActionId?: string | undefined;
4063
+ }[] | [string, string] | null | undefined> | null | undefined;
4064
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3626
4065
  }, {
3627
4066
  type: "ASSIGN";
3628
4067
  id: string;
3629
4068
  status: "Rejected" | "Requested" | "Accepted";
3630
4069
  transactionId: string;
4070
+ createdByUserType: "system" | "user";
3631
4071
  createdAt: string;
3632
4072
  createdBy: string;
3633
4073
  createdByRole: string;
@@ -3646,6 +4086,10 @@ export declare const EventDocument: z.ZodObject<{
3646
4086
  residentialArea?: string | null | undefined;
3647
4087
  street?: string | null | undefined;
3648
4088
  zipCode?: string | null | undefined;
4089
+ } | {
4090
+ firstname?: string | null | undefined;
4091
+ surname?: string | null | undefined;
4092
+ middlename?: string | null | undefined;
3649
4093
  } | {
3650
4094
  country: string;
3651
4095
  district: string;
@@ -3668,9 +4112,10 @@ export declare const EventDocument: z.ZodObject<{
3668
4112
  option: string;
3669
4113
  filename: string;
3670
4114
  originalFilename: string;
3671
- }[] | undefined>;
3672
- createdAtLocation: string;
4115
+ }[] | [string, string] | null | undefined>;
3673
4116
  assignedTo: string;
4117
+ createdBySignature?: string | null | undefined;
4118
+ createdAtLocation?: string | null | undefined;
3674
4119
  annotation?: Record<string, string | number | boolean | {
3675
4120
  type: string;
3676
4121
  filename: string;
@@ -3686,6 +4131,10 @@ export declare const EventDocument: z.ZodObject<{
3686
4131
  residentialArea?: string | null | undefined;
3687
4132
  street?: string | null | undefined;
3688
4133
  zipCode?: string | null | undefined;
4134
+ } | {
4135
+ firstname?: string | null | undefined;
4136
+ surname?: string | null | undefined;
4137
+ middlename?: string | null | undefined;
3689
4138
  } | {
3690
4139
  country: string;
3691
4140
  district: string;
@@ -3708,15 +4157,18 @@ export declare const EventDocument: z.ZodObject<{
3708
4157
  option: string;
3709
4158
  filename: string;
3710
4159
  originalFilename: string;
3711
- }[] | undefined> | undefined;
3712
- originalActionId?: string | undefined;
4160
+ }[] | [string, string] | null | undefined> | null | undefined;
4161
+ originalActionId?: string | null | undefined;
3713
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3714
- id: z.ZodString;
4163
+ id: z.ZodBranded<z.ZodString, "UUID">;
3715
4164
  transactionId: z.ZodString;
4165
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3716
4166
  createdAt: z.ZodString;
3717
4167
  createdBy: z.ZodString;
3718
4168
  createdByRole: z.ZodString;
3719
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4169
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
3720
4172
  filename: z.ZodString;
3721
4173
  originalFilename: z.ZodString;
3722
4174
  type: z.ZodString;
@@ -3829,8 +4281,20 @@ export declare const EventDocument: z.ZodObject<{
3829
4281
  addressLine2?: string | null | undefined;
3830
4282
  addressLine3?: string | null | undefined;
3831
4283
  postcodeOrZip?: string | null | undefined;
3832
- }>]>>;
3833
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4284
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ firstname?: string | null | undefined;
4290
+ surname?: string | null | undefined;
4291
+ middlename?: string | null | undefined;
4292
+ }, {
4293
+ firstname?: string | null | undefined;
4294
+ surname?: string | null | undefined;
4295
+ middlename?: string | null | undefined;
4296
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3834
4298
  filename: z.ZodString;
3835
4299
  originalFilename: z.ZodString;
3836
4300
  type: z.ZodString;
@@ -3943,17 +4407,29 @@ export declare const EventDocument: z.ZodObject<{
3943
4407
  addressLine2?: string | null | undefined;
3944
4408
  addressLine3?: string | null | undefined;
3945
4409
  postcodeOrZip?: string | null | undefined;
3946
- }>]>>>;
3947
- createdAtLocation: z.ZodString;
4410
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4413
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
+ }, "strip", z.ZodTypeAny, {
4415
+ firstname?: string | null | undefined;
4416
+ surname?: string | null | undefined;
4417
+ middlename?: string | null | undefined;
4418
+ }, {
4419
+ firstname?: string | null | undefined;
4420
+ surname?: string | null | undefined;
4421
+ middlename?: string | null | undefined;
4422
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3948
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3949
- originalActionId: z.ZodOptional<z.ZodString>;
4424
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3950
4425
  }, {
3951
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
3952
4427
  }>, "strip", z.ZodTypeAny, {
3953
4428
  type: "REQUEST_CORRECTION";
3954
- id: string;
4429
+ id: string & z.BRAND<"UUID">;
3955
4430
  status: "Rejected" | "Requested" | "Accepted";
3956
4431
  transactionId: string;
4432
+ createdByUserType: "system" | "user";
3957
4433
  createdAt: string;
3958
4434
  createdBy: string;
3959
4435
  createdByRole: string;
@@ -3972,6 +4448,10 @@ export declare const EventDocument: z.ZodObject<{
3972
4448
  residentialArea?: string | null | undefined;
3973
4449
  street?: string | null | undefined;
3974
4450
  zipCode?: string | null | undefined;
4451
+ } | {
4452
+ firstname?: string | null | undefined;
4453
+ surname?: string | null | undefined;
4454
+ middlename?: string | null | undefined;
3975
4455
  } | {
3976
4456
  country: string;
3977
4457
  district: string;
@@ -3994,8 +4474,9 @@ export declare const EventDocument: z.ZodObject<{
3994
4474
  option: string;
3995
4475
  filename: string;
3996
4476
  originalFilename: string;
3997
- }[] | undefined>;
3998
- createdAtLocation: string;
4477
+ }[] | [string, string] | null | undefined>;
4478
+ createdBySignature?: string | null | undefined;
4479
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3999
4480
  annotation?: Record<string, string | number | boolean | {
4000
4481
  type: string;
4001
4482
  filename: string;
@@ -4011,6 +4492,10 @@ export declare const EventDocument: z.ZodObject<{
4011
4492
  residentialArea?: string | null | undefined;
4012
4493
  street?: string | null | undefined;
4013
4494
  zipCode?: string | null | undefined;
4495
+ } | {
4496
+ firstname?: string | null | undefined;
4497
+ surname?: string | null | undefined;
4498
+ middlename?: string | null | undefined;
4014
4499
  } | {
4015
4500
  country: string;
4016
4501
  district: string;
@@ -4033,13 +4518,14 @@ export declare const EventDocument: z.ZodObject<{
4033
4518
  option: string;
4034
4519
  filename: string;
4035
4520
  originalFilename: string;
4036
- }[] | undefined> | undefined;
4037
- originalActionId?: string | undefined;
4521
+ }[] | [string, string] | null | undefined> | null | undefined;
4522
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4038
4523
  }, {
4039
4524
  type: "REQUEST_CORRECTION";
4040
4525
  id: string;
4041
4526
  status: "Rejected" | "Requested" | "Accepted";
4042
4527
  transactionId: string;
4528
+ createdByUserType: "system" | "user";
4043
4529
  createdAt: string;
4044
4530
  createdBy: string;
4045
4531
  createdByRole: string;
@@ -4058,6 +4544,10 @@ export declare const EventDocument: z.ZodObject<{
4058
4544
  residentialArea?: string | null | undefined;
4059
4545
  street?: string | null | undefined;
4060
4546
  zipCode?: string | null | undefined;
4547
+ } | {
4548
+ firstname?: string | null | undefined;
4549
+ surname?: string | null | undefined;
4550
+ middlename?: string | null | undefined;
4061
4551
  } | {
4062
4552
  country: string;
4063
4553
  district: string;
@@ -4080,8 +4570,9 @@ export declare const EventDocument: z.ZodObject<{
4080
4570
  option: string;
4081
4571
  filename: string;
4082
4572
  originalFilename: string;
4083
- }[] | undefined>;
4084
- createdAtLocation: string;
4573
+ }[] | [string, string] | null | undefined>;
4574
+ createdBySignature?: string | null | undefined;
4575
+ createdAtLocation?: string | null | undefined;
4085
4576
  annotation?: Record<string, string | number | boolean | {
4086
4577
  type: string;
4087
4578
  filename: string;
@@ -4097,6 +4588,10 @@ export declare const EventDocument: z.ZodObject<{
4097
4588
  residentialArea?: string | null | undefined;
4098
4589
  street?: string | null | undefined;
4099
4590
  zipCode?: string | null | undefined;
4591
+ } | {
4592
+ firstname?: string | null | undefined;
4593
+ surname?: string | null | undefined;
4594
+ middlename?: string | null | undefined;
4100
4595
  } | {
4101
4596
  country: string;
4102
4597
  district: string;
@@ -4119,15 +4614,18 @@ export declare const EventDocument: z.ZodObject<{
4119
4614
  option: string;
4120
4615
  filename: string;
4121
4616
  originalFilename: string;
4122
- }[] | undefined> | undefined;
4123
- originalActionId?: string | undefined;
4617
+ }[] | [string, string] | null | undefined> | null | undefined;
4618
+ originalActionId?: string | null | undefined;
4124
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4125
- id: z.ZodString;
4620
+ id: z.ZodBranded<z.ZodString, "UUID">;
4126
4621
  transactionId: z.ZodString;
4622
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4127
4623
  createdAt: z.ZodString;
4128
4624
  createdBy: z.ZodString;
4129
4625
  createdByRole: z.ZodString;
4130
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4626
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
4131
4629
  filename: z.ZodString;
4132
4630
  originalFilename: z.ZodString;
4133
4631
  type: z.ZodString;
@@ -4240,8 +4738,20 @@ export declare const EventDocument: z.ZodObject<{
4240
4738
  addressLine2?: string | null | undefined;
4241
4739
  addressLine3?: string | null | undefined;
4242
4740
  postcodeOrZip?: string | null | undefined;
4243
- }>]>>;
4244
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4741
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4744
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
+ }, "strip", z.ZodTypeAny, {
4746
+ firstname?: string | null | undefined;
4747
+ surname?: string | null | undefined;
4748
+ middlename?: string | null | undefined;
4749
+ }, {
4750
+ firstname?: string | null | undefined;
4751
+ surname?: string | null | undefined;
4752
+ middlename?: string | null | undefined;
4753
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4245
4755
  filename: z.ZodString;
4246
4756
  originalFilename: z.ZodString;
4247
4757
  type: z.ZodString;
@@ -4354,18 +4864,30 @@ export declare const EventDocument: z.ZodObject<{
4354
4864
  addressLine2?: string | null | undefined;
4355
4865
  addressLine3?: string | null | undefined;
4356
4866
  postcodeOrZip?: string | null | undefined;
4357
- }>]>>>;
4358
- createdAtLocation: z.ZodString;
4867
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4870
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
+ }, "strip", z.ZodTypeAny, {
4872
+ firstname?: string | null | undefined;
4873
+ surname?: string | null | undefined;
4874
+ middlename?: string | null | undefined;
4875
+ }, {
4876
+ firstname?: string | null | undefined;
4877
+ surname?: string | null | undefined;
4878
+ middlename?: string | null | undefined;
4879
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4359
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4360
- originalActionId: z.ZodOptional<z.ZodString>;
4881
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4361
4882
  }, {
4362
4883
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4363
4884
  requestId: z.ZodString;
4364
4885
  }>, "strip", z.ZodTypeAny, {
4365
4886
  type: "APPROVE_CORRECTION";
4366
- id: string;
4887
+ id: string & z.BRAND<"UUID">;
4367
4888
  status: "Rejected" | "Requested" | "Accepted";
4368
4889
  transactionId: string;
4890
+ createdByUserType: "system" | "user";
4369
4891
  createdAt: string;
4370
4892
  createdBy: string;
4371
4893
  createdByRole: string;
@@ -4384,6 +4906,10 @@ export declare const EventDocument: z.ZodObject<{
4384
4906
  residentialArea?: string | null | undefined;
4385
4907
  street?: string | null | undefined;
4386
4908
  zipCode?: string | null | undefined;
4909
+ } | {
4910
+ firstname?: string | null | undefined;
4911
+ surname?: string | null | undefined;
4912
+ middlename?: string | null | undefined;
4387
4913
  } | {
4388
4914
  country: string;
4389
4915
  district: string;
@@ -4406,9 +4932,10 @@ export declare const EventDocument: z.ZodObject<{
4406
4932
  option: string;
4407
4933
  filename: string;
4408
4934
  originalFilename: string;
4409
- }[] | undefined>;
4410
- createdAtLocation: string;
4935
+ }[] | [string, string] | null | undefined>;
4411
4936
  requestId: string;
4937
+ createdBySignature?: string | null | undefined;
4938
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4412
4939
  annotation?: Record<string, string | number | boolean | {
4413
4940
  type: string;
4414
4941
  filename: string;
@@ -4424,6 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4424
4951
  residentialArea?: string | null | undefined;
4425
4952
  street?: string | null | undefined;
4426
4953
  zipCode?: string | null | undefined;
4954
+ } | {
4955
+ firstname?: string | null | undefined;
4956
+ surname?: string | null | undefined;
4957
+ middlename?: string | null | undefined;
4427
4958
  } | {
4428
4959
  country: string;
4429
4960
  district: string;
@@ -4446,13 +4977,14 @@ export declare const EventDocument: z.ZodObject<{
4446
4977
  option: string;
4447
4978
  filename: string;
4448
4979
  originalFilename: string;
4449
- }[] | undefined> | undefined;
4450
- originalActionId?: string | undefined;
4980
+ }[] | [string, string] | null | undefined> | null | undefined;
4981
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4451
4982
  }, {
4452
4983
  type: "APPROVE_CORRECTION";
4453
4984
  id: string;
4454
4985
  status: "Rejected" | "Requested" | "Accepted";
4455
4986
  transactionId: string;
4987
+ createdByUserType: "system" | "user";
4456
4988
  createdAt: string;
4457
4989
  createdBy: string;
4458
4990
  createdByRole: string;
@@ -4471,6 +5003,10 @@ export declare const EventDocument: z.ZodObject<{
4471
5003
  residentialArea?: string | null | undefined;
4472
5004
  street?: string | null | undefined;
4473
5005
  zipCode?: string | null | undefined;
5006
+ } | {
5007
+ firstname?: string | null | undefined;
5008
+ surname?: string | null | undefined;
5009
+ middlename?: string | null | undefined;
4474
5010
  } | {
4475
5011
  country: string;
4476
5012
  district: string;
@@ -4493,9 +5029,10 @@ export declare const EventDocument: z.ZodObject<{
4493
5029
  option: string;
4494
5030
  filename: string;
4495
5031
  originalFilename: string;
4496
- }[] | undefined>;
4497
- createdAtLocation: string;
5032
+ }[] | [string, string] | null | undefined>;
4498
5033
  requestId: string;
5034
+ createdBySignature?: string | null | undefined;
5035
+ createdAtLocation?: string | null | undefined;
4499
5036
  annotation?: Record<string, string | number | boolean | {
4500
5037
  type: string;
4501
5038
  filename: string;
@@ -4511,6 +5048,10 @@ export declare const EventDocument: z.ZodObject<{
4511
5048
  residentialArea?: string | null | undefined;
4512
5049
  street?: string | null | undefined;
4513
5050
  zipCode?: string | null | undefined;
5051
+ } | {
5052
+ firstname?: string | null | undefined;
5053
+ surname?: string | null | undefined;
5054
+ middlename?: string | null | undefined;
4514
5055
  } | {
4515
5056
  country: string;
4516
5057
  district: string;
@@ -4533,15 +5074,18 @@ export declare const EventDocument: z.ZodObject<{
4533
5074
  option: string;
4534
5075
  filename: string;
4535
5076
  originalFilename: string;
4536
- }[] | undefined> | undefined;
4537
- originalActionId?: string | undefined;
5077
+ }[] | [string, string] | null | undefined> | null | undefined;
5078
+ originalActionId?: string | null | undefined;
4538
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4539
- id: z.ZodString;
5080
+ id: z.ZodBranded<z.ZodString, "UUID">;
4540
5081
  transactionId: z.ZodString;
5082
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4541
5083
  createdAt: z.ZodString;
4542
5084
  createdBy: z.ZodString;
4543
5085
  createdByRole: z.ZodString;
4544
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5086
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
4545
5089
  filename: z.ZodString;
4546
5090
  originalFilename: z.ZodString;
4547
5091
  type: z.ZodString;
@@ -4654,8 +5198,20 @@ export declare const EventDocument: z.ZodObject<{
4654
5198
  addressLine2?: string | null | undefined;
4655
5199
  addressLine3?: string | null | undefined;
4656
5200
  postcodeOrZip?: string | null | undefined;
4657
- }>]>>;
4658
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5201
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5204
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ firstname?: string | null | undefined;
5207
+ surname?: string | null | undefined;
5208
+ middlename?: string | null | undefined;
5209
+ }, {
5210
+ firstname?: string | null | undefined;
5211
+ surname?: string | null | undefined;
5212
+ middlename?: string | null | undefined;
5213
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4659
5215
  filename: z.ZodString;
4660
5216
  originalFilename: z.ZodString;
4661
5217
  type: z.ZodString;
@@ -4768,18 +5324,30 @@ export declare const EventDocument: z.ZodObject<{
4768
5324
  addressLine2?: string | null | undefined;
4769
5325
  addressLine3?: string | null | undefined;
4770
5326
  postcodeOrZip?: string | null | undefined;
4771
- }>]>>>;
4772
- createdAtLocation: z.ZodString;
5327
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5330
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ }, "strip", z.ZodTypeAny, {
5332
+ firstname?: string | null | undefined;
5333
+ surname?: string | null | undefined;
5334
+ middlename?: string | null | undefined;
5335
+ }, {
5336
+ firstname?: string | null | undefined;
5337
+ surname?: string | null | undefined;
5338
+ middlename?: string | null | undefined;
5339
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4773
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4774
- originalActionId: z.ZodOptional<z.ZodString>;
5341
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4775
5342
  }, {
4776
5343
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4777
5344
  requestId: z.ZodString;
4778
5345
  }>, "strip", z.ZodTypeAny, {
4779
5346
  type: "REJECT_CORRECTION";
4780
- id: string;
5347
+ id: string & z.BRAND<"UUID">;
4781
5348
  status: "Rejected" | "Requested" | "Accepted";
4782
5349
  transactionId: string;
5350
+ createdByUserType: "system" | "user";
4783
5351
  createdAt: string;
4784
5352
  createdBy: string;
4785
5353
  createdByRole: string;
@@ -4798,6 +5366,10 @@ export declare const EventDocument: z.ZodObject<{
4798
5366
  residentialArea?: string | null | undefined;
4799
5367
  street?: string | null | undefined;
4800
5368
  zipCode?: string | null | undefined;
5369
+ } | {
5370
+ firstname?: string | null | undefined;
5371
+ surname?: string | null | undefined;
5372
+ middlename?: string | null | undefined;
4801
5373
  } | {
4802
5374
  country: string;
4803
5375
  district: string;
@@ -4820,9 +5392,10 @@ export declare const EventDocument: z.ZodObject<{
4820
5392
  option: string;
4821
5393
  filename: string;
4822
5394
  originalFilename: string;
4823
- }[] | undefined>;
4824
- createdAtLocation: string;
5395
+ }[] | [string, string] | null | undefined>;
4825
5396
  requestId: string;
5397
+ createdBySignature?: string | null | undefined;
5398
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4826
5399
  annotation?: Record<string, string | number | boolean | {
4827
5400
  type: string;
4828
5401
  filename: string;
@@ -4838,6 +5411,10 @@ export declare const EventDocument: z.ZodObject<{
4838
5411
  residentialArea?: string | null | undefined;
4839
5412
  street?: string | null | undefined;
4840
5413
  zipCode?: string | null | undefined;
5414
+ } | {
5415
+ firstname?: string | null | undefined;
5416
+ surname?: string | null | undefined;
5417
+ middlename?: string | null | undefined;
4841
5418
  } | {
4842
5419
  country: string;
4843
5420
  district: string;
@@ -4860,13 +5437,14 @@ export declare const EventDocument: z.ZodObject<{
4860
5437
  option: string;
4861
5438
  filename: string;
4862
5439
  originalFilename: string;
4863
- }[] | undefined> | undefined;
4864
- originalActionId?: string | undefined;
5440
+ }[] | [string, string] | null | undefined> | null | undefined;
5441
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4865
5442
  }, {
4866
5443
  type: "REJECT_CORRECTION";
4867
5444
  id: string;
4868
5445
  status: "Rejected" | "Requested" | "Accepted";
4869
5446
  transactionId: string;
5447
+ createdByUserType: "system" | "user";
4870
5448
  createdAt: string;
4871
5449
  createdBy: string;
4872
5450
  createdByRole: string;
@@ -4885,6 +5463,10 @@ export declare const EventDocument: z.ZodObject<{
4885
5463
  residentialArea?: string | null | undefined;
4886
5464
  street?: string | null | undefined;
4887
5465
  zipCode?: string | null | undefined;
5466
+ } | {
5467
+ firstname?: string | null | undefined;
5468
+ surname?: string | null | undefined;
5469
+ middlename?: string | null | undefined;
4888
5470
  } | {
4889
5471
  country: string;
4890
5472
  district: string;
@@ -4907,9 +5489,10 @@ export declare const EventDocument: z.ZodObject<{
4907
5489
  option: string;
4908
5490
  filename: string;
4909
5491
  originalFilename: string;
4910
- }[] | undefined>;
4911
- createdAtLocation: string;
5492
+ }[] | [string, string] | null | undefined>;
4912
5493
  requestId: string;
5494
+ createdBySignature?: string | null | undefined;
5495
+ createdAtLocation?: string | null | undefined;
4913
5496
  annotation?: Record<string, string | number | boolean | {
4914
5497
  type: string;
4915
5498
  filename: string;
@@ -4925,6 +5508,10 @@ export declare const EventDocument: z.ZodObject<{
4925
5508
  residentialArea?: string | null | undefined;
4926
5509
  street?: string | null | undefined;
4927
5510
  zipCode?: string | null | undefined;
5511
+ } | {
5512
+ firstname?: string | null | undefined;
5513
+ surname?: string | null | undefined;
5514
+ middlename?: string | null | undefined;
4928
5515
  } | {
4929
5516
  country: string;
4930
5517
  district: string;
@@ -4947,15 +5534,18 @@ export declare const EventDocument: z.ZodObject<{
4947
5534
  option: string;
4948
5535
  filename: string;
4949
5536
  originalFilename: string;
4950
- }[] | undefined> | undefined;
4951
- originalActionId?: string | undefined;
5537
+ }[] | [string, string] | null | undefined> | null | undefined;
5538
+ originalActionId?: string | null | undefined;
4952
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
4953
- id: z.ZodString;
5540
+ id: z.ZodBranded<z.ZodString, "UUID">;
4954
5541
  transactionId: z.ZodString;
5542
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4955
5543
  createdAt: z.ZodString;
4956
5544
  createdBy: z.ZodString;
4957
5545
  createdByRole: z.ZodString;
4958
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5546
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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<{
4959
5549
  filename: z.ZodString;
4960
5550
  originalFilename: z.ZodString;
4961
5551
  type: z.ZodString;
@@ -5068,8 +5658,20 @@ export declare const EventDocument: z.ZodObject<{
5068
5658
  addressLine2?: string | null | undefined;
5069
5659
  addressLine3?: string | null | undefined;
5070
5660
  postcodeOrZip?: string | null | undefined;
5071
- }>]>>;
5072
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ firstname?: string | null | undefined;
5667
+ surname?: string | null | undefined;
5668
+ middlename?: string | null | undefined;
5669
+ }, {
5670
+ firstname?: string | null | undefined;
5671
+ surname?: string | null | undefined;
5672
+ middlename?: string | null | undefined;
5673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5073
5675
  filename: z.ZodString;
5074
5676
  originalFilename: z.ZodString;
5075
5677
  type: z.ZodString;
@@ -5182,18 +5784,29 @@ export declare const EventDocument: z.ZodObject<{
5182
5784
  addressLine2?: string | null | undefined;
5183
5785
  addressLine3?: string | null | undefined;
5184
5786
  postcodeOrZip?: string | null | undefined;
5185
- }>]>>>;
5186
- createdAtLocation: z.ZodString;
5787
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5790
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
+ }, "strip", z.ZodTypeAny, {
5792
+ firstname?: string | null | undefined;
5793
+ surname?: string | null | undefined;
5794
+ middlename?: string | null | undefined;
5795
+ }, {
5796
+ firstname?: string | null | undefined;
5797
+ surname?: string | null | undefined;
5798
+ middlename?: string | null | undefined;
5799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5187
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5188
- originalActionId: z.ZodOptional<z.ZodString>;
5801
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5189
5802
  }, {
5190
5803
  type: z.ZodLiteral<"UNASSIGN">;
5191
- assignedTo: z.ZodLiteral<null>;
5192
5804
  }>, "strip", z.ZodTypeAny, {
5193
5805
  type: "UNASSIGN";
5194
- id: string;
5806
+ id: string & z.BRAND<"UUID">;
5195
5807
  status: "Rejected" | "Requested" | "Accepted";
5196
5808
  transactionId: string;
5809
+ createdByUserType: "system" | "user";
5197
5810
  createdAt: string;
5198
5811
  createdBy: string;
5199
5812
  createdByRole: string;
@@ -5212,6 +5825,10 @@ export declare const EventDocument: z.ZodObject<{
5212
5825
  residentialArea?: string | null | undefined;
5213
5826
  street?: string | null | undefined;
5214
5827
  zipCode?: string | null | undefined;
5828
+ } | {
5829
+ firstname?: string | null | undefined;
5830
+ surname?: string | null | undefined;
5831
+ middlename?: string | null | undefined;
5215
5832
  } | {
5216
5833
  country: string;
5217
5834
  district: string;
@@ -5234,9 +5851,9 @@ export declare const EventDocument: z.ZodObject<{
5234
5851
  option: string;
5235
5852
  filename: string;
5236
5853
  originalFilename: string;
5237
- }[] | undefined>;
5238
- createdAtLocation: string;
5239
- assignedTo: null;
5854
+ }[] | [string, string] | null | undefined>;
5855
+ createdBySignature?: string | null | undefined;
5856
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5240
5857
  annotation?: Record<string, string | number | boolean | {
5241
5858
  type: string;
5242
5859
  filename: string;
@@ -5252,6 +5869,10 @@ export declare const EventDocument: z.ZodObject<{
5252
5869
  residentialArea?: string | null | undefined;
5253
5870
  street?: string | null | undefined;
5254
5871
  zipCode?: string | null | undefined;
5872
+ } | {
5873
+ firstname?: string | null | undefined;
5874
+ surname?: string | null | undefined;
5875
+ middlename?: string | null | undefined;
5255
5876
  } | {
5256
5877
  country: string;
5257
5878
  district: string;
@@ -5274,13 +5895,14 @@ export declare const EventDocument: z.ZodObject<{
5274
5895
  option: string;
5275
5896
  filename: string;
5276
5897
  originalFilename: string;
5277
- }[] | undefined> | undefined;
5278
- originalActionId?: string | undefined;
5898
+ }[] | [string, string] | null | undefined> | null | undefined;
5899
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5279
5900
  }, {
5280
5901
  type: "UNASSIGN";
5281
5902
  id: string;
5282
5903
  status: "Rejected" | "Requested" | "Accepted";
5283
5904
  transactionId: string;
5905
+ createdByUserType: "system" | "user";
5284
5906
  createdAt: string;
5285
5907
  createdBy: string;
5286
5908
  createdByRole: string;
@@ -5299,6 +5921,10 @@ export declare const EventDocument: z.ZodObject<{
5299
5921
  residentialArea?: string | null | undefined;
5300
5922
  street?: string | null | undefined;
5301
5923
  zipCode?: string | null | undefined;
5924
+ } | {
5925
+ firstname?: string | null | undefined;
5926
+ surname?: string | null | undefined;
5927
+ middlename?: string | null | undefined;
5302
5928
  } | {
5303
5929
  country: string;
5304
5930
  district: string;
@@ -5321,9 +5947,9 @@ export declare const EventDocument: z.ZodObject<{
5321
5947
  option: string;
5322
5948
  filename: string;
5323
5949
  originalFilename: string;
5324
- }[] | undefined>;
5325
- createdAtLocation: string;
5326
- assignedTo: null;
5950
+ }[] | [string, string] | null | undefined>;
5951
+ createdBySignature?: string | null | undefined;
5952
+ createdAtLocation?: string | null | undefined;
5327
5953
  annotation?: Record<string, string | number | boolean | {
5328
5954
  type: string;
5329
5955
  filename: string;
@@ -5339,6 +5965,10 @@ export declare const EventDocument: z.ZodObject<{
5339
5965
  residentialArea?: string | null | undefined;
5340
5966
  street?: string | null | undefined;
5341
5967
  zipCode?: string | null | undefined;
5968
+ } | {
5969
+ firstname?: string | null | undefined;
5970
+ surname?: string | null | undefined;
5971
+ middlename?: string | null | undefined;
5342
5972
  } | {
5343
5973
  country: string;
5344
5974
  district: string;
@@ -5361,15 +5991,18 @@ export declare const EventDocument: z.ZodObject<{
5361
5991
  option: string;
5362
5992
  filename: string;
5363
5993
  originalFilename: string;
5364
- }[] | undefined> | undefined;
5365
- originalActionId?: string | undefined;
5994
+ }[] | [string, string] | null | undefined> | null | undefined;
5995
+ originalActionId?: string | null | undefined;
5366
5996
  }>, z.ZodObject<z.objectUtil.extendShape<{
5367
- id: z.ZodString;
5997
+ id: z.ZodBranded<z.ZodString, "UUID">;
5368
5998
  transactionId: z.ZodString;
5999
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5369
6000
  createdAt: z.ZodString;
5370
6001
  createdBy: z.ZodString;
5371
6002
  createdByRole: z.ZodString;
5372
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6003
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6005
+ 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<{
5373
6006
  filename: z.ZodString;
5374
6007
  originalFilename: z.ZodString;
5375
6008
  type: z.ZodString;
@@ -5482,8 +6115,20 @@ export declare const EventDocument: z.ZodObject<{
5482
6115
  addressLine2?: string | null | undefined;
5483
6116
  addressLine3?: string | null | undefined;
5484
6117
  postcodeOrZip?: string | null | undefined;
5485
- }>]>>;
5486
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6118
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6121
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
+ }, "strip", z.ZodTypeAny, {
6123
+ firstname?: string | null | undefined;
6124
+ surname?: string | null | undefined;
6125
+ middlename?: string | null | undefined;
6126
+ }, {
6127
+ firstname?: string | null | undefined;
6128
+ surname?: string | null | undefined;
6129
+ middlename?: string | null | undefined;
6130
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6131
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5487
6132
  filename: z.ZodString;
5488
6133
  originalFilename: z.ZodString;
5489
6134
  type: z.ZodString;
@@ -5596,17 +6241,29 @@ export declare const EventDocument: z.ZodObject<{
5596
6241
  addressLine2?: string | null | undefined;
5597
6242
  addressLine3?: string | null | undefined;
5598
6243
  postcodeOrZip?: string | null | undefined;
5599
- }>]>>>;
5600
- createdAtLocation: z.ZodString;
6244
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6247
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
+ }, "strip", z.ZodTypeAny, {
6249
+ firstname?: string | null | undefined;
6250
+ surname?: string | null | undefined;
6251
+ middlename?: string | null | undefined;
6252
+ }, {
6253
+ firstname?: string | null | undefined;
6254
+ surname?: string | null | undefined;
6255
+ middlename?: string | null | undefined;
6256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5601
6257
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5602
- originalActionId: z.ZodOptional<z.ZodString>;
6258
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5603
6259
  }, {
5604
6260
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5605
6261
  }>, "strip", z.ZodTypeAny, {
5606
6262
  type: "PRINT_CERTIFICATE";
5607
- id: string;
6263
+ id: string & z.BRAND<"UUID">;
5608
6264
  status: "Rejected" | "Requested" | "Accepted";
5609
6265
  transactionId: string;
6266
+ createdByUserType: "system" | "user";
5610
6267
  createdAt: string;
5611
6268
  createdBy: string;
5612
6269
  createdByRole: string;
@@ -5625,6 +6282,10 @@ export declare const EventDocument: z.ZodObject<{
5625
6282
  residentialArea?: string | null | undefined;
5626
6283
  street?: string | null | undefined;
5627
6284
  zipCode?: string | null | undefined;
6285
+ } | {
6286
+ firstname?: string | null | undefined;
6287
+ surname?: string | null | undefined;
6288
+ middlename?: string | null | undefined;
5628
6289
  } | {
5629
6290
  country: string;
5630
6291
  district: string;
@@ -5647,8 +6308,9 @@ export declare const EventDocument: z.ZodObject<{
5647
6308
  option: string;
5648
6309
  filename: string;
5649
6310
  originalFilename: string;
5650
- }[] | undefined>;
5651
- createdAtLocation: string;
6311
+ }[] | [string, string] | null | undefined>;
6312
+ createdBySignature?: string | null | undefined;
6313
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5652
6314
  annotation?: Record<string, string | number | boolean | {
5653
6315
  type: string;
5654
6316
  filename: string;
@@ -5664,6 +6326,10 @@ export declare const EventDocument: z.ZodObject<{
5664
6326
  residentialArea?: string | null | undefined;
5665
6327
  street?: string | null | undefined;
5666
6328
  zipCode?: string | null | undefined;
6329
+ } | {
6330
+ firstname?: string | null | undefined;
6331
+ surname?: string | null | undefined;
6332
+ middlename?: string | null | undefined;
5667
6333
  } | {
5668
6334
  country: string;
5669
6335
  district: string;
@@ -5686,13 +6352,14 @@ export declare const EventDocument: z.ZodObject<{
5686
6352
  option: string;
5687
6353
  filename: string;
5688
6354
  originalFilename: string;
5689
- }[] | undefined> | undefined;
5690
- originalActionId?: string | undefined;
6355
+ }[] | [string, string] | null | undefined> | null | undefined;
6356
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5691
6357
  }, {
5692
6358
  type: "PRINT_CERTIFICATE";
5693
6359
  id: string;
5694
6360
  status: "Rejected" | "Requested" | "Accepted";
5695
6361
  transactionId: string;
6362
+ createdByUserType: "system" | "user";
5696
6363
  createdAt: string;
5697
6364
  createdBy: string;
5698
6365
  createdByRole: string;
@@ -5711,6 +6378,10 @@ export declare const EventDocument: z.ZodObject<{
5711
6378
  residentialArea?: string | null | undefined;
5712
6379
  street?: string | null | undefined;
5713
6380
  zipCode?: string | null | undefined;
6381
+ } | {
6382
+ firstname?: string | null | undefined;
6383
+ surname?: string | null | undefined;
6384
+ middlename?: string | null | undefined;
5714
6385
  } | {
5715
6386
  country: string;
5716
6387
  district: string;
@@ -5733,8 +6404,9 @@ export declare const EventDocument: z.ZodObject<{
5733
6404
  option: string;
5734
6405
  filename: string;
5735
6406
  originalFilename: string;
5736
- }[] | undefined>;
5737
- createdAtLocation: string;
6407
+ }[] | [string, string] | null | undefined>;
6408
+ createdBySignature?: string | null | undefined;
6409
+ createdAtLocation?: string | null | undefined;
5738
6410
  annotation?: Record<string, string | number | boolean | {
5739
6411
  type: string;
5740
6412
  filename: string;
@@ -5750,6 +6422,10 @@ export declare const EventDocument: z.ZodObject<{
5750
6422
  residentialArea?: string | null | undefined;
5751
6423
  street?: string | null | undefined;
5752
6424
  zipCode?: string | null | undefined;
6425
+ } | {
6426
+ firstname?: string | null | undefined;
6427
+ surname?: string | null | undefined;
6428
+ middlename?: string | null | undefined;
5753
6429
  } | {
5754
6430
  country: string;
5755
6431
  district: string;
@@ -5772,15 +6448,18 @@ export declare const EventDocument: z.ZodObject<{
5772
6448
  option: string;
5773
6449
  filename: string;
5774
6450
  originalFilename: string;
5775
- }[] | undefined> | undefined;
5776
- originalActionId?: string | undefined;
6451
+ }[] | [string, string] | null | undefined> | null | undefined;
6452
+ originalActionId?: string | null | undefined;
5777
6453
  }>, z.ZodObject<z.objectUtil.extendShape<{
5778
- id: z.ZodString;
6454
+ id: z.ZodBranded<z.ZodString, "UUID">;
5779
6455
  transactionId: z.ZodString;
6456
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5780
6457
  createdAt: z.ZodString;
5781
6458
  createdBy: z.ZodString;
5782
6459
  createdByRole: z.ZodString;
5783
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6460
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6462
+ 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<{
5784
6463
  filename: z.ZodString;
5785
6464
  originalFilename: z.ZodString;
5786
6465
  type: z.ZodString;
@@ -5893,8 +6572,20 @@ export declare const EventDocument: z.ZodObject<{
5893
6572
  addressLine2?: string | null | undefined;
5894
6573
  addressLine3?: string | null | undefined;
5895
6574
  postcodeOrZip?: string | null | undefined;
5896
- }>]>>;
5897
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6575
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6578
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
+ }, "strip", z.ZodTypeAny, {
6580
+ firstname?: string | null | undefined;
6581
+ surname?: string | null | undefined;
6582
+ middlename?: string | null | undefined;
6583
+ }, {
6584
+ firstname?: string | null | undefined;
6585
+ surname?: string | null | undefined;
6586
+ middlename?: string | null | undefined;
6587
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6588
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5898
6589
  filename: z.ZodString;
5899
6590
  originalFilename: z.ZodString;
5900
6591
  type: z.ZodString;
@@ -6007,17 +6698,29 @@ export declare const EventDocument: z.ZodObject<{
6007
6698
  addressLine2?: string | null | undefined;
6008
6699
  addressLine3?: string | null | undefined;
6009
6700
  postcodeOrZip?: string | null | undefined;
6010
- }>]>>>;
6011
- createdAtLocation: z.ZodString;
6701
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6704
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
+ }, "strip", z.ZodTypeAny, {
6706
+ firstname?: string | null | undefined;
6707
+ surname?: string | null | undefined;
6708
+ middlename?: string | null | undefined;
6709
+ }, {
6710
+ firstname?: string | null | undefined;
6711
+ surname?: string | null | undefined;
6712
+ middlename?: string | null | undefined;
6713
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6012
6714
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6013
- originalActionId: z.ZodOptional<z.ZodString>;
6715
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6014
6716
  }, {
6015
6717
  type: z.ZodLiteral<"READ">;
6016
6718
  }>, "strip", z.ZodTypeAny, {
6017
6719
  type: "READ";
6018
- id: string;
6720
+ id: string & z.BRAND<"UUID">;
6019
6721
  status: "Rejected" | "Requested" | "Accepted";
6020
6722
  transactionId: string;
6723
+ createdByUserType: "system" | "user";
6021
6724
  createdAt: string;
6022
6725
  createdBy: string;
6023
6726
  createdByRole: string;
@@ -6036,6 +6739,10 @@ export declare const EventDocument: z.ZodObject<{
6036
6739
  residentialArea?: string | null | undefined;
6037
6740
  street?: string | null | undefined;
6038
6741
  zipCode?: string | null | undefined;
6742
+ } | {
6743
+ firstname?: string | null | undefined;
6744
+ surname?: string | null | undefined;
6745
+ middlename?: string | null | undefined;
6039
6746
  } | {
6040
6747
  country: string;
6041
6748
  district: string;
@@ -6058,8 +6765,9 @@ export declare const EventDocument: z.ZodObject<{
6058
6765
  option: string;
6059
6766
  filename: string;
6060
6767
  originalFilename: string;
6061
- }[] | undefined>;
6062
- createdAtLocation: string;
6768
+ }[] | [string, string] | null | undefined>;
6769
+ createdBySignature?: string | null | undefined;
6770
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6063
6771
  annotation?: Record<string, string | number | boolean | {
6064
6772
  type: string;
6065
6773
  filename: string;
@@ -6075,6 +6783,10 @@ export declare const EventDocument: z.ZodObject<{
6075
6783
  residentialArea?: string | null | undefined;
6076
6784
  street?: string | null | undefined;
6077
6785
  zipCode?: string | null | undefined;
6786
+ } | {
6787
+ firstname?: string | null | undefined;
6788
+ surname?: string | null | undefined;
6789
+ middlename?: string | null | undefined;
6078
6790
  } | {
6079
6791
  country: string;
6080
6792
  district: string;
@@ -6097,13 +6809,14 @@ export declare const EventDocument: z.ZodObject<{
6097
6809
  option: string;
6098
6810
  filename: string;
6099
6811
  originalFilename: string;
6100
- }[] | undefined> | undefined;
6101
- originalActionId?: string | undefined;
6812
+ }[] | [string, string] | null | undefined> | null | undefined;
6813
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6102
6814
  }, {
6103
6815
  type: "READ";
6104
6816
  id: string;
6105
6817
  status: "Rejected" | "Requested" | "Accepted";
6106
6818
  transactionId: string;
6819
+ createdByUserType: "system" | "user";
6107
6820
  createdAt: string;
6108
6821
  createdBy: string;
6109
6822
  createdByRole: string;
@@ -6122,6 +6835,10 @@ export declare const EventDocument: z.ZodObject<{
6122
6835
  residentialArea?: string | null | undefined;
6123
6836
  street?: string | null | undefined;
6124
6837
  zipCode?: string | null | undefined;
6838
+ } | {
6839
+ firstname?: string | null | undefined;
6840
+ surname?: string | null | undefined;
6841
+ middlename?: string | null | undefined;
6125
6842
  } | {
6126
6843
  country: string;
6127
6844
  district: string;
@@ -6144,8 +6861,9 @@ export declare const EventDocument: z.ZodObject<{
6144
6861
  option: string;
6145
6862
  filename: string;
6146
6863
  originalFilename: string;
6147
- }[] | undefined>;
6148
- createdAtLocation: string;
6864
+ }[] | [string, string] | null | undefined>;
6865
+ createdBySignature?: string | null | undefined;
6866
+ createdAtLocation?: string | null | undefined;
6149
6867
  annotation?: Record<string, string | number | boolean | {
6150
6868
  type: string;
6151
6869
  filename: string;
@@ -6161,6 +6879,10 @@ export declare const EventDocument: z.ZodObject<{
6161
6879
  residentialArea?: string | null | undefined;
6162
6880
  street?: string | null | undefined;
6163
6881
  zipCode?: string | null | undefined;
6882
+ } | {
6883
+ firstname?: string | null | undefined;
6884
+ surname?: string | null | undefined;
6885
+ middlename?: string | null | undefined;
6164
6886
  } | {
6165
6887
  country: string;
6166
6888
  district: string;
@@ -6183,15 +6905,18 @@ export declare const EventDocument: z.ZodObject<{
6183
6905
  option: string;
6184
6906
  filename: string;
6185
6907
  originalFilename: string;
6186
- }[] | undefined> | undefined;
6187
- originalActionId?: string | undefined;
6908
+ }[] | [string, string] | null | undefined> | null | undefined;
6909
+ originalActionId?: string | null | undefined;
6188
6910
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6189
- id: z.ZodString;
6911
+ id: z.ZodBranded<z.ZodString, "UUID">;
6190
6912
  transactionId: z.ZodString;
6913
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6191
6914
  createdAt: z.ZodString;
6192
6915
  createdBy: z.ZodString;
6193
6916
  createdByRole: z.ZodString;
6194
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6917
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6919
+ 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<{
6195
6920
  filename: z.ZodString;
6196
6921
  originalFilename: z.ZodString;
6197
6922
  type: z.ZodString;
@@ -6304,8 +7029,20 @@ export declare const EventDocument: z.ZodObject<{
6304
7029
  addressLine2?: string | null | undefined;
6305
7030
  addressLine3?: string | null | undefined;
6306
7031
  postcodeOrZip?: string | null | undefined;
6307
- }>]>>;
6308
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7032
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7035
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ }, "strip", z.ZodTypeAny, {
7037
+ firstname?: string | null | undefined;
7038
+ surname?: string | null | undefined;
7039
+ middlename?: string | null | undefined;
7040
+ }, {
7041
+ firstname?: string | null | undefined;
7042
+ surname?: string | null | undefined;
7043
+ middlename?: string | null | undefined;
7044
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7045
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6309
7046
  filename: z.ZodString;
6310
7047
  originalFilename: z.ZodString;
6311
7048
  type: z.ZodString;
@@ -6418,40 +7155,61 @@ export declare const EventDocument: z.ZodObject<{
6418
7155
  addressLine2?: string | null | undefined;
6419
7156
  addressLine3?: string | null | undefined;
6420
7157
  postcodeOrZip?: string | null | undefined;
6421
- }>]>>>;
6422
- createdAtLocation: z.ZodString;
7158
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7161
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
+ }, "strip", z.ZodTypeAny, {
7163
+ firstname?: string | null | undefined;
7164
+ surname?: string | null | undefined;
7165
+ middlename?: string | null | undefined;
7166
+ }, {
7167
+ firstname?: string | null | undefined;
7168
+ surname?: string | null | undefined;
7169
+ middlename?: string | null | undefined;
7170
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6423
7171
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6424
- originalActionId: z.ZodOptional<z.ZodString>;
6425
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
7172
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7173
+ }, "declaration" | "annotation">, {
6426
7174
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6427
7175
  status: z.ZodLiteral<"Rejected">;
6428
7176
  }>, "strip", z.ZodTypeAny, {
6429
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6430
- id: string;
7177
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
+ id: string & z.BRAND<"UUID">;
6431
7179
  status: "Rejected";
6432
7180
  transactionId: string;
7181
+ createdByUserType: "system" | "user";
6433
7182
  createdAt: string;
6434
- originalActionId?: string | undefined;
7183
+ createdBy: string;
7184
+ createdByRole: string;
7185
+ createdBySignature?: string | null | undefined;
7186
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6435
7188
  }, {
6436
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7189
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6437
7190
  id: string;
6438
7191
  status: "Rejected";
6439
7192
  transactionId: string;
7193
+ createdByUserType: "system" | "user";
6440
7194
  createdAt: string;
6441
- originalActionId?: string | undefined;
7195
+ createdBy: string;
7196
+ createdByRole: string;
7197
+ createdBySignature?: string | null | undefined;
7198
+ createdAtLocation?: string | null | undefined;
7199
+ originalActionId?: string | null | undefined;
6442
7200
  }>]>, "many">;
6443
7201
  trackingId: z.ZodString;
6444
7202
  }, "strip", z.ZodTypeAny, {
6445
7203
  type: string;
6446
- id: string;
7204
+ id: string & z.BRAND<"UUID">;
6447
7205
  createdAt: string;
6448
7206
  updatedAt: string;
6449
- updatedAtLocation: string;
6450
7207
  actions: ({
6451
7208
  type: "ASSIGN";
6452
- id: string;
7209
+ id: string & z.BRAND<"UUID">;
6453
7210
  status: "Rejected" | "Requested" | "Accepted";
6454
7211
  transactionId: string;
7212
+ createdByUserType: "system" | "user";
6455
7213
  createdAt: string;
6456
7214
  createdBy: string;
6457
7215
  createdByRole: string;
@@ -6470,6 +7228,10 @@ export declare const EventDocument: z.ZodObject<{
6470
7228
  residentialArea?: string | null | undefined;
6471
7229
  street?: string | null | undefined;
6472
7230
  zipCode?: string | null | undefined;
7231
+ } | {
7232
+ firstname?: string | null | undefined;
7233
+ surname?: string | null | undefined;
7234
+ middlename?: string | null | undefined;
6473
7235
  } | {
6474
7236
  country: string;
6475
7237
  district: string;
@@ -6492,9 +7254,10 @@ export declare const EventDocument: z.ZodObject<{
6492
7254
  option: string;
6493
7255
  filename: string;
6494
7256
  originalFilename: string;
6495
- }[] | undefined>;
6496
- createdAtLocation: string;
7257
+ }[] | [string, string] | null | undefined>;
6497
7258
  assignedTo: string;
7259
+ createdBySignature?: string | null | undefined;
7260
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6498
7261
  annotation?: Record<string, string | number | boolean | {
6499
7262
  type: string;
6500
7263
  filename: string;
@@ -6510,6 +7273,10 @@ export declare const EventDocument: z.ZodObject<{
6510
7273
  residentialArea?: string | null | undefined;
6511
7274
  street?: string | null | undefined;
6512
7275
  zipCode?: string | null | undefined;
7276
+ } | {
7277
+ firstname?: string | null | undefined;
7278
+ surname?: string | null | undefined;
7279
+ middlename?: string | null | undefined;
6513
7280
  } | {
6514
7281
  country: string;
6515
7282
  district: string;
@@ -6532,13 +7299,14 @@ export declare const EventDocument: z.ZodObject<{
6532
7299
  option: string;
6533
7300
  filename: string;
6534
7301
  originalFilename: string;
6535
- }[] | undefined> | undefined;
6536
- originalActionId?: string | undefined;
7302
+ }[] | [string, string] | null | undefined> | null | undefined;
7303
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6537
7304
  } | {
6538
7305
  type: "UNASSIGN";
6539
- id: string;
7306
+ id: string & z.BRAND<"UUID">;
6540
7307
  status: "Rejected" | "Requested" | "Accepted";
6541
7308
  transactionId: string;
7309
+ createdByUserType: "system" | "user";
6542
7310
  createdAt: string;
6543
7311
  createdBy: string;
6544
7312
  createdByRole: string;
@@ -6557,6 +7325,10 @@ export declare const EventDocument: z.ZodObject<{
6557
7325
  residentialArea?: string | null | undefined;
6558
7326
  street?: string | null | undefined;
6559
7327
  zipCode?: string | null | undefined;
7328
+ } | {
7329
+ firstname?: string | null | undefined;
7330
+ surname?: string | null | undefined;
7331
+ middlename?: string | null | undefined;
6560
7332
  } | {
6561
7333
  country: string;
6562
7334
  district: string;
@@ -6579,9 +7351,9 @@ export declare const EventDocument: z.ZodObject<{
6579
7351
  option: string;
6580
7352
  filename: string;
6581
7353
  originalFilename: string;
6582
- }[] | undefined>;
6583
- createdAtLocation: string;
6584
- assignedTo: null;
7354
+ }[] | [string, string] | null | undefined>;
7355
+ createdBySignature?: string | null | undefined;
7356
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6585
7357
  annotation?: Record<string, string | number | boolean | {
6586
7358
  type: string;
6587
7359
  filename: string;
@@ -6597,6 +7369,10 @@ export declare const EventDocument: z.ZodObject<{
6597
7369
  residentialArea?: string | null | undefined;
6598
7370
  street?: string | null | undefined;
6599
7371
  zipCode?: string | null | undefined;
7372
+ } | {
7373
+ firstname?: string | null | undefined;
7374
+ surname?: string | null | undefined;
7375
+ middlename?: string | null | undefined;
6600
7376
  } | {
6601
7377
  country: string;
6602
7378
  district: string;
@@ -6619,13 +7395,14 @@ export declare const EventDocument: z.ZodObject<{
6619
7395
  option: string;
6620
7396
  filename: string;
6621
7397
  originalFilename: string;
6622
- }[] | undefined> | undefined;
6623
- originalActionId?: string | undefined;
7398
+ }[] | [string, string] | null | undefined> | null | undefined;
7399
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6624
7400
  } | {
6625
7401
  type: "REGISTER";
6626
- id: string;
7402
+ id: string & z.BRAND<"UUID">;
6627
7403
  status: "Rejected" | "Requested" | "Accepted";
6628
7404
  transactionId: string;
7405
+ createdByUserType: "system" | "user";
6629
7406
  createdAt: string;
6630
7407
  createdBy: string;
6631
7408
  createdByRole: string;
@@ -6644,6 +7421,10 @@ export declare const EventDocument: z.ZodObject<{
6644
7421
  residentialArea?: string | null | undefined;
6645
7422
  street?: string | null | undefined;
6646
7423
  zipCode?: string | null | undefined;
7424
+ } | {
7425
+ firstname?: string | null | undefined;
7426
+ surname?: string | null | undefined;
7427
+ middlename?: string | null | undefined;
6647
7428
  } | {
6648
7429
  country: string;
6649
7430
  district: string;
@@ -6666,8 +7447,9 @@ export declare const EventDocument: z.ZodObject<{
6666
7447
  option: string;
6667
7448
  filename: string;
6668
7449
  originalFilename: string;
6669
- }[] | undefined>;
6670
- createdAtLocation: string;
7450
+ }[] | [string, string] | null | undefined>;
7451
+ createdBySignature?: string | null | undefined;
7452
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6671
7453
  annotation?: Record<string, string | number | boolean | {
6672
7454
  type: string;
6673
7455
  filename: string;
@@ -6683,6 +7465,10 @@ export declare const EventDocument: z.ZodObject<{
6683
7465
  residentialArea?: string | null | undefined;
6684
7466
  street?: string | null | undefined;
6685
7467
  zipCode?: string | null | undefined;
7468
+ } | {
7469
+ firstname?: string | null | undefined;
7470
+ surname?: string | null | undefined;
7471
+ middlename?: string | null | undefined;
6686
7472
  } | {
6687
7473
  country: string;
6688
7474
  district: string;
@@ -6705,14 +7491,15 @@ export declare const EventDocument: z.ZodObject<{
6705
7491
  option: string;
6706
7492
  filename: string;
6707
7493
  originalFilename: string;
6708
- }[] | undefined> | undefined;
6709
- originalActionId?: string | undefined;
7494
+ }[] | [string, string] | null | undefined> | null | undefined;
7495
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6710
7496
  registrationNumber?: string | undefined;
6711
7497
  } | {
6712
7498
  type: "DECLARE";
6713
- id: string;
7499
+ id: string & z.BRAND<"UUID">;
6714
7500
  status: "Rejected" | "Requested" | "Accepted";
6715
7501
  transactionId: string;
7502
+ createdByUserType: "system" | "user";
6716
7503
  createdAt: string;
6717
7504
  createdBy: string;
6718
7505
  createdByRole: string;
@@ -6731,6 +7518,10 @@ export declare const EventDocument: z.ZodObject<{
6731
7518
  residentialArea?: string | null | undefined;
6732
7519
  street?: string | null | undefined;
6733
7520
  zipCode?: string | null | undefined;
7521
+ } | {
7522
+ firstname?: string | null | undefined;
7523
+ surname?: string | null | undefined;
7524
+ middlename?: string | null | undefined;
6734
7525
  } | {
6735
7526
  country: string;
6736
7527
  district: string;
@@ -6753,8 +7544,9 @@ export declare const EventDocument: z.ZodObject<{
6753
7544
  option: string;
6754
7545
  filename: string;
6755
7546
  originalFilename: string;
6756
- }[] | undefined>;
6757
- createdAtLocation: string;
7547
+ }[] | [string, string] | null | undefined>;
7548
+ createdBySignature?: string | null | undefined;
7549
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6758
7550
  annotation?: Record<string, string | number | boolean | {
6759
7551
  type: string;
6760
7552
  filename: string;
@@ -6770,6 +7562,10 @@ export declare const EventDocument: z.ZodObject<{
6770
7562
  residentialArea?: string | null | undefined;
6771
7563
  street?: string | null | undefined;
6772
7564
  zipCode?: string | null | undefined;
7565
+ } | {
7566
+ firstname?: string | null | undefined;
7567
+ surname?: string | null | undefined;
7568
+ middlename?: string | null | undefined;
6773
7569
  } | {
6774
7570
  country: string;
6775
7571
  district: string;
@@ -6792,13 +7588,14 @@ export declare const EventDocument: z.ZodObject<{
6792
7588
  option: string;
6793
7589
  filename: string;
6794
7590
  originalFilename: string;
6795
- }[] | undefined> | undefined;
6796
- originalActionId?: string | undefined;
7591
+ }[] | [string, string] | null | undefined> | null | undefined;
7592
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6797
7593
  } | {
6798
7594
  type: "VALIDATE";
6799
- id: string;
7595
+ id: string & z.BRAND<"UUID">;
6800
7596
  status: "Rejected" | "Requested" | "Accepted";
6801
7597
  transactionId: string;
7598
+ createdByUserType: "system" | "user";
6802
7599
  createdAt: string;
6803
7600
  createdBy: string;
6804
7601
  createdByRole: string;
@@ -6817,6 +7614,10 @@ export declare const EventDocument: z.ZodObject<{
6817
7614
  residentialArea?: string | null | undefined;
6818
7615
  street?: string | null | undefined;
6819
7616
  zipCode?: string | null | undefined;
7617
+ } | {
7618
+ firstname?: string | null | undefined;
7619
+ surname?: string | null | undefined;
7620
+ middlename?: string | null | undefined;
6820
7621
  } | {
6821
7622
  country: string;
6822
7623
  district: string;
@@ -6839,8 +7640,9 @@ export declare const EventDocument: z.ZodObject<{
6839
7640
  option: string;
6840
7641
  filename: string;
6841
7642
  originalFilename: string;
6842
- }[] | undefined>;
6843
- createdAtLocation: string;
7643
+ }[] | [string, string] | null | undefined>;
7644
+ createdBySignature?: string | null | undefined;
7645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6844
7646
  annotation?: Record<string, string | number | boolean | {
6845
7647
  type: string;
6846
7648
  filename: string;
@@ -6856,6 +7658,10 @@ export declare const EventDocument: z.ZodObject<{
6856
7658
  residentialArea?: string | null | undefined;
6857
7659
  street?: string | null | undefined;
6858
7660
  zipCode?: string | null | undefined;
7661
+ } | {
7662
+ firstname?: string | null | undefined;
7663
+ surname?: string | null | undefined;
7664
+ middlename?: string | null | undefined;
6859
7665
  } | {
6860
7666
  country: string;
6861
7667
  district: string;
@@ -6878,13 +7684,18 @@ export declare const EventDocument: z.ZodObject<{
6878
7684
  option: string;
6879
7685
  filename: string;
6880
7686
  originalFilename: string;
6881
- }[] | undefined> | undefined;
6882
- originalActionId?: string | undefined;
7687
+ }[] | [string, string] | null | undefined> | null | undefined;
7688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6883
7689
  } | {
6884
7690
  type: "REJECT";
6885
- id: string;
7691
+ id: string & z.BRAND<"UUID">;
6886
7692
  status: "Rejected" | "Requested" | "Accepted";
7693
+ reason: {
7694
+ message: string;
7695
+ isDuplicate?: boolean | undefined;
7696
+ };
6887
7697
  transactionId: string;
7698
+ createdByUserType: "system" | "user";
6888
7699
  createdAt: string;
6889
7700
  createdBy: string;
6890
7701
  createdByRole: string;
@@ -6903,6 +7714,10 @@ export declare const EventDocument: z.ZodObject<{
6903
7714
  residentialArea?: string | null | undefined;
6904
7715
  street?: string | null | undefined;
6905
7716
  zipCode?: string | null | undefined;
7717
+ } | {
7718
+ firstname?: string | null | undefined;
7719
+ surname?: string | null | undefined;
7720
+ middlename?: string | null | undefined;
6906
7721
  } | {
6907
7722
  country: string;
6908
7723
  district: string;
@@ -6925,8 +7740,9 @@ export declare const EventDocument: z.ZodObject<{
6925
7740
  option: string;
6926
7741
  filename: string;
6927
7742
  originalFilename: string;
6928
- }[] | undefined>;
6929
- createdAtLocation: string;
7743
+ }[] | [string, string] | null | undefined>;
7744
+ createdBySignature?: string | null | undefined;
7745
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6930
7746
  annotation?: Record<string, string | number | boolean | {
6931
7747
  type: string;
6932
7748
  filename: string;
@@ -6942,6 +7758,10 @@ export declare const EventDocument: z.ZodObject<{
6942
7758
  residentialArea?: string | null | undefined;
6943
7759
  street?: string | null | undefined;
6944
7760
  zipCode?: string | null | undefined;
7761
+ } | {
7762
+ firstname?: string | null | undefined;
7763
+ surname?: string | null | undefined;
7764
+ middlename?: string | null | undefined;
6945
7765
  } | {
6946
7766
  country: string;
6947
7767
  district: string;
@@ -6964,13 +7784,14 @@ export declare const EventDocument: z.ZodObject<{
6964
7784
  option: string;
6965
7785
  filename: string;
6966
7786
  originalFilename: string;
6967
- }[] | undefined> | undefined;
6968
- originalActionId?: string | undefined;
7787
+ }[] | [string, string] | null | undefined> | null | undefined;
7788
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6969
7789
  } | {
6970
7790
  type: "MARKED_AS_DUPLICATE";
6971
- id: string;
7791
+ id: string & z.BRAND<"UUID">;
6972
7792
  status: "Rejected" | "Requested" | "Accepted";
6973
7793
  transactionId: string;
7794
+ createdByUserType: "system" | "user";
6974
7795
  createdAt: string;
6975
7796
  createdBy: string;
6976
7797
  createdByRole: string;
@@ -6989,6 +7810,10 @@ export declare const EventDocument: z.ZodObject<{
6989
7810
  residentialArea?: string | null | undefined;
6990
7811
  street?: string | null | undefined;
6991
7812
  zipCode?: string | null | undefined;
7813
+ } | {
7814
+ firstname?: string | null | undefined;
7815
+ surname?: string | null | undefined;
7816
+ middlename?: string | null | undefined;
6992
7817
  } | {
6993
7818
  country: string;
6994
7819
  district: string;
@@ -7011,8 +7836,9 @@ export declare const EventDocument: z.ZodObject<{
7011
7836
  option: string;
7012
7837
  filename: string;
7013
7838
  originalFilename: string;
7014
- }[] | undefined>;
7015
- createdAtLocation: string;
7839
+ }[] | [string, string] | null | undefined>;
7840
+ createdBySignature?: string | null | undefined;
7841
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7016
7842
  annotation?: Record<string, string | number | boolean | {
7017
7843
  type: string;
7018
7844
  filename: string;
@@ -7028,6 +7854,10 @@ export declare const EventDocument: z.ZodObject<{
7028
7854
  residentialArea?: string | null | undefined;
7029
7855
  street?: string | null | undefined;
7030
7856
  zipCode?: string | null | undefined;
7857
+ } | {
7858
+ firstname?: string | null | undefined;
7859
+ surname?: string | null | undefined;
7860
+ middlename?: string | null | undefined;
7031
7861
  } | {
7032
7862
  country: string;
7033
7863
  district: string;
@@ -7050,13 +7880,18 @@ export declare const EventDocument: z.ZodObject<{
7050
7880
  option: string;
7051
7881
  filename: string;
7052
7882
  originalFilename: string;
7053
- }[] | undefined> | undefined;
7054
- originalActionId?: string | undefined;
7883
+ }[] | [string, string] | null | undefined> | null | undefined;
7884
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7055
7885
  } | {
7056
7886
  type: "ARCHIVE";
7057
- id: string;
7887
+ id: string & z.BRAND<"UUID">;
7058
7888
  status: "Rejected" | "Requested" | "Accepted";
7889
+ reason: {
7890
+ message: string;
7891
+ isDuplicate?: boolean | undefined;
7892
+ };
7059
7893
  transactionId: string;
7894
+ createdByUserType: "system" | "user";
7060
7895
  createdAt: string;
7061
7896
  createdBy: string;
7062
7897
  createdByRole: string;
@@ -7075,6 +7910,10 @@ export declare const EventDocument: z.ZodObject<{
7075
7910
  residentialArea?: string | null | undefined;
7076
7911
  street?: string | null | undefined;
7077
7912
  zipCode?: string | null | undefined;
7913
+ } | {
7914
+ firstname?: string | null | undefined;
7915
+ surname?: string | null | undefined;
7916
+ middlename?: string | null | undefined;
7078
7917
  } | {
7079
7918
  country: string;
7080
7919
  district: string;
@@ -7097,8 +7936,9 @@ export declare const EventDocument: z.ZodObject<{
7097
7936
  option: string;
7098
7937
  filename: string;
7099
7938
  originalFilename: string;
7100
- }[] | undefined>;
7101
- createdAtLocation: string;
7939
+ }[] | [string, string] | null | undefined>;
7940
+ createdBySignature?: string | null | undefined;
7941
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7102
7942
  annotation?: Record<string, string | number | boolean | {
7103
7943
  type: string;
7104
7944
  filename: string;
@@ -7114,6 +7954,10 @@ export declare const EventDocument: z.ZodObject<{
7114
7954
  residentialArea?: string | null | undefined;
7115
7955
  street?: string | null | undefined;
7116
7956
  zipCode?: string | null | undefined;
7957
+ } | {
7958
+ firstname?: string | null | undefined;
7959
+ surname?: string | null | undefined;
7960
+ middlename?: string | null | undefined;
7117
7961
  } | {
7118
7962
  country: string;
7119
7963
  district: string;
@@ -7136,13 +7980,14 @@ export declare const EventDocument: z.ZodObject<{
7136
7980
  option: string;
7137
7981
  filename: string;
7138
7982
  originalFilename: string;
7139
- }[] | undefined> | undefined;
7140
- originalActionId?: string | undefined;
7983
+ }[] | [string, string] | null | undefined> | null | undefined;
7984
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7141
7985
  } | {
7142
7986
  type: "CREATE";
7143
- id: string;
7987
+ id: string & z.BRAND<"UUID">;
7144
7988
  status: "Rejected" | "Requested" | "Accepted";
7145
7989
  transactionId: string;
7990
+ createdByUserType: "system" | "user";
7146
7991
  createdAt: string;
7147
7992
  createdBy: string;
7148
7993
  createdByRole: string;
@@ -7161,6 +8006,10 @@ export declare const EventDocument: z.ZodObject<{
7161
8006
  residentialArea?: string | null | undefined;
7162
8007
  street?: string | null | undefined;
7163
8008
  zipCode?: string | null | undefined;
8009
+ } | {
8010
+ firstname?: string | null | undefined;
8011
+ surname?: string | null | undefined;
8012
+ middlename?: string | null | undefined;
7164
8013
  } | {
7165
8014
  country: string;
7166
8015
  district: string;
@@ -7183,8 +8032,9 @@ export declare const EventDocument: z.ZodObject<{
7183
8032
  option: string;
7184
8033
  filename: string;
7185
8034
  originalFilename: string;
7186
- }[] | undefined>;
7187
- createdAtLocation: string;
8035
+ }[] | [string, string] | null | undefined>;
8036
+ createdBySignature?: string | null | undefined;
8037
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7188
8038
  annotation?: Record<string, string | number | boolean | {
7189
8039
  type: string;
7190
8040
  filename: string;
@@ -7200,6 +8050,10 @@ export declare const EventDocument: z.ZodObject<{
7200
8050
  residentialArea?: string | null | undefined;
7201
8051
  street?: string | null | undefined;
7202
8052
  zipCode?: string | null | undefined;
8053
+ } | {
8054
+ firstname?: string | null | undefined;
8055
+ surname?: string | null | undefined;
8056
+ middlename?: string | null | undefined;
7203
8057
  } | {
7204
8058
  country: string;
7205
8059
  district: string;
@@ -7222,13 +8076,14 @@ export declare const EventDocument: z.ZodObject<{
7222
8076
  option: string;
7223
8077
  filename: string;
7224
8078
  originalFilename: string;
7225
- }[] | undefined> | undefined;
7226
- originalActionId?: string | undefined;
8079
+ }[] | [string, string] | null | undefined> | null | undefined;
8080
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7227
8081
  } | {
7228
8082
  type: "NOTIFY";
7229
- id: string;
8083
+ id: string & z.BRAND<"UUID">;
7230
8084
  status: "Rejected" | "Requested" | "Accepted";
7231
8085
  transactionId: string;
8086
+ createdByUserType: "system" | "user";
7232
8087
  createdAt: string;
7233
8088
  createdBy: string;
7234
8089
  createdByRole: string;
@@ -7247,6 +8102,10 @@ export declare const EventDocument: z.ZodObject<{
7247
8102
  residentialArea?: string | null | undefined;
7248
8103
  street?: string | null | undefined;
7249
8104
  zipCode?: string | null | undefined;
8105
+ } | {
8106
+ firstname?: string | null | undefined;
8107
+ surname?: string | null | undefined;
8108
+ middlename?: string | null | undefined;
7250
8109
  } | {
7251
8110
  country: string;
7252
8111
  district: string;
@@ -7269,8 +8128,9 @@ export declare const EventDocument: z.ZodObject<{
7269
8128
  option: string;
7270
8129
  filename: string;
7271
8130
  originalFilename: string;
7272
- }[] | undefined>;
7273
- createdAtLocation: string;
8131
+ }[] | [string, string] | null | undefined>;
8132
+ createdBySignature?: string | null | undefined;
8133
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7274
8134
  annotation?: Record<string, string | number | boolean | {
7275
8135
  type: string;
7276
8136
  filename: string;
@@ -7286,6 +8146,10 @@ export declare const EventDocument: z.ZodObject<{
7286
8146
  residentialArea?: string | null | undefined;
7287
8147
  street?: string | null | undefined;
7288
8148
  zipCode?: string | null | undefined;
8149
+ } | {
8150
+ firstname?: string | null | undefined;
8151
+ surname?: string | null | undefined;
8152
+ middlename?: string | null | undefined;
7289
8153
  } | {
7290
8154
  country: string;
7291
8155
  district: string;
@@ -7308,13 +8172,14 @@ export declare const EventDocument: z.ZodObject<{
7308
8172
  option: string;
7309
8173
  filename: string;
7310
8174
  originalFilename: string;
7311
- }[] | undefined> | undefined;
7312
- originalActionId?: string | undefined;
8175
+ }[] | [string, string] | null | undefined> | null | undefined;
8176
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7313
8177
  } | {
7314
8178
  type: "PRINT_CERTIFICATE";
7315
- id: string;
8179
+ id: string & z.BRAND<"UUID">;
7316
8180
  status: "Rejected" | "Requested" | "Accepted";
7317
8181
  transactionId: string;
8182
+ createdByUserType: "system" | "user";
7318
8183
  createdAt: string;
7319
8184
  createdBy: string;
7320
8185
  createdByRole: string;
@@ -7333,6 +8198,10 @@ export declare const EventDocument: z.ZodObject<{
7333
8198
  residentialArea?: string | null | undefined;
7334
8199
  street?: string | null | undefined;
7335
8200
  zipCode?: string | null | undefined;
8201
+ } | {
8202
+ firstname?: string | null | undefined;
8203
+ surname?: string | null | undefined;
8204
+ middlename?: string | null | undefined;
7336
8205
  } | {
7337
8206
  country: string;
7338
8207
  district: string;
@@ -7355,8 +8224,9 @@ export declare const EventDocument: z.ZodObject<{
7355
8224
  option: string;
7356
8225
  filename: string;
7357
8226
  originalFilename: string;
7358
- }[] | undefined>;
7359
- createdAtLocation: string;
8227
+ }[] | [string, string] | null | undefined>;
8228
+ createdBySignature?: string | null | undefined;
8229
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7360
8230
  annotation?: Record<string, string | number | boolean | {
7361
8231
  type: string;
7362
8232
  filename: string;
@@ -7372,6 +8242,10 @@ export declare const EventDocument: z.ZodObject<{
7372
8242
  residentialArea?: string | null | undefined;
7373
8243
  street?: string | null | undefined;
7374
8244
  zipCode?: string | null | undefined;
8245
+ } | {
8246
+ firstname?: string | null | undefined;
8247
+ surname?: string | null | undefined;
8248
+ middlename?: string | null | undefined;
7375
8249
  } | {
7376
8250
  country: string;
7377
8251
  district: string;
@@ -7394,13 +8268,14 @@ export declare const EventDocument: z.ZodObject<{
7394
8268
  option: string;
7395
8269
  filename: string;
7396
8270
  originalFilename: string;
7397
- }[] | undefined> | undefined;
7398
- originalActionId?: string | undefined;
8271
+ }[] | [string, string] | null | undefined> | null | undefined;
8272
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7399
8273
  } | {
7400
8274
  type: "REQUEST_CORRECTION";
7401
- id: string;
8275
+ id: string & z.BRAND<"UUID">;
7402
8276
  status: "Rejected" | "Requested" | "Accepted";
7403
8277
  transactionId: string;
8278
+ createdByUserType: "system" | "user";
7404
8279
  createdAt: string;
7405
8280
  createdBy: string;
7406
8281
  createdByRole: string;
@@ -7419,6 +8294,10 @@ export declare const EventDocument: z.ZodObject<{
7419
8294
  residentialArea?: string | null | undefined;
7420
8295
  street?: string | null | undefined;
7421
8296
  zipCode?: string | null | undefined;
8297
+ } | {
8298
+ firstname?: string | null | undefined;
8299
+ surname?: string | null | undefined;
8300
+ middlename?: string | null | undefined;
7422
8301
  } | {
7423
8302
  country: string;
7424
8303
  district: string;
@@ -7441,8 +8320,9 @@ export declare const EventDocument: z.ZodObject<{
7441
8320
  option: string;
7442
8321
  filename: string;
7443
8322
  originalFilename: string;
7444
- }[] | undefined>;
7445
- createdAtLocation: string;
8323
+ }[] | [string, string] | null | undefined>;
8324
+ createdBySignature?: string | null | undefined;
8325
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7446
8326
  annotation?: Record<string, string | number | boolean | {
7447
8327
  type: string;
7448
8328
  filename: string;
@@ -7458,6 +8338,10 @@ export declare const EventDocument: z.ZodObject<{
7458
8338
  residentialArea?: string | null | undefined;
7459
8339
  street?: string | null | undefined;
7460
8340
  zipCode?: string | null | undefined;
8341
+ } | {
8342
+ firstname?: string | null | undefined;
8343
+ surname?: string | null | undefined;
8344
+ middlename?: string | null | undefined;
7461
8345
  } | {
7462
8346
  country: string;
7463
8347
  district: string;
@@ -7480,13 +8364,14 @@ export declare const EventDocument: z.ZodObject<{
7480
8364
  option: string;
7481
8365
  filename: string;
7482
8366
  originalFilename: string;
7483
- }[] | undefined> | undefined;
7484
- originalActionId?: string | undefined;
8367
+ }[] | [string, string] | null | undefined> | null | undefined;
8368
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7485
8369
  } | {
7486
8370
  type: "APPROVE_CORRECTION";
7487
- id: string;
8371
+ id: string & z.BRAND<"UUID">;
7488
8372
  status: "Rejected" | "Requested" | "Accepted";
7489
8373
  transactionId: string;
8374
+ createdByUserType: "system" | "user";
7490
8375
  createdAt: string;
7491
8376
  createdBy: string;
7492
8377
  createdByRole: string;
@@ -7505,6 +8390,10 @@ export declare const EventDocument: z.ZodObject<{
7505
8390
  residentialArea?: string | null | undefined;
7506
8391
  street?: string | null | undefined;
7507
8392
  zipCode?: string | null | undefined;
8393
+ } | {
8394
+ firstname?: string | null | undefined;
8395
+ surname?: string | null | undefined;
8396
+ middlename?: string | null | undefined;
7508
8397
  } | {
7509
8398
  country: string;
7510
8399
  district: string;
@@ -7527,9 +8416,10 @@ export declare const EventDocument: z.ZodObject<{
7527
8416
  option: string;
7528
8417
  filename: string;
7529
8418
  originalFilename: string;
7530
- }[] | undefined>;
7531
- createdAtLocation: string;
8419
+ }[] | [string, string] | null | undefined>;
7532
8420
  requestId: string;
8421
+ createdBySignature?: string | null | undefined;
8422
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7533
8423
  annotation?: Record<string, string | number | boolean | {
7534
8424
  type: string;
7535
8425
  filename: string;
@@ -7545,6 +8435,10 @@ export declare const EventDocument: z.ZodObject<{
7545
8435
  residentialArea?: string | null | undefined;
7546
8436
  street?: string | null | undefined;
7547
8437
  zipCode?: string | null | undefined;
8438
+ } | {
8439
+ firstname?: string | null | undefined;
8440
+ surname?: string | null | undefined;
8441
+ middlename?: string | null | undefined;
7548
8442
  } | {
7549
8443
  country: string;
7550
8444
  district: string;
@@ -7567,13 +8461,14 @@ export declare const EventDocument: z.ZodObject<{
7567
8461
  option: string;
7568
8462
  filename: string;
7569
8463
  originalFilename: string;
7570
- }[] | undefined> | undefined;
7571
- originalActionId?: string | undefined;
8464
+ }[] | [string, string] | null | undefined> | null | undefined;
8465
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7572
8466
  } | {
7573
8467
  type: "REJECT_CORRECTION";
7574
- id: string;
8468
+ id: string & z.BRAND<"UUID">;
7575
8469
  status: "Rejected" | "Requested" | "Accepted";
7576
8470
  transactionId: string;
8471
+ createdByUserType: "system" | "user";
7577
8472
  createdAt: string;
7578
8473
  createdBy: string;
7579
8474
  createdByRole: string;
@@ -7592,6 +8487,10 @@ export declare const EventDocument: z.ZodObject<{
7592
8487
  residentialArea?: string | null | undefined;
7593
8488
  street?: string | null | undefined;
7594
8489
  zipCode?: string | null | undefined;
8490
+ } | {
8491
+ firstname?: string | null | undefined;
8492
+ surname?: string | null | undefined;
8493
+ middlename?: string | null | undefined;
7595
8494
  } | {
7596
8495
  country: string;
7597
8496
  district: string;
@@ -7614,9 +8513,10 @@ export declare const EventDocument: z.ZodObject<{
7614
8513
  option: string;
7615
8514
  filename: string;
7616
8515
  originalFilename: string;
7617
- }[] | undefined>;
7618
- createdAtLocation: string;
8516
+ }[] | [string, string] | null | undefined>;
7619
8517
  requestId: string;
8518
+ createdBySignature?: string | null | undefined;
8519
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7620
8520
  annotation?: Record<string, string | number | boolean | {
7621
8521
  type: string;
7622
8522
  filename: string;
@@ -7632,6 +8532,10 @@ export declare const EventDocument: z.ZodObject<{
7632
8532
  residentialArea?: string | null | undefined;
7633
8533
  street?: string | null | undefined;
7634
8534
  zipCode?: string | null | undefined;
8535
+ } | {
8536
+ firstname?: string | null | undefined;
8537
+ surname?: string | null | undefined;
8538
+ middlename?: string | null | undefined;
7635
8539
  } | {
7636
8540
  country: string;
7637
8541
  district: string;
@@ -7654,13 +8558,14 @@ export declare const EventDocument: z.ZodObject<{
7654
8558
  option: string;
7655
8559
  filename: string;
7656
8560
  originalFilename: string;
7657
- }[] | undefined> | undefined;
7658
- originalActionId?: string | undefined;
8561
+ }[] | [string, string] | null | undefined> | null | undefined;
8562
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7659
8563
  } | {
7660
8564
  type: "READ";
7661
- id: string;
8565
+ id: string & z.BRAND<"UUID">;
7662
8566
  status: "Rejected" | "Requested" | "Accepted";
7663
8567
  transactionId: string;
8568
+ createdByUserType: "system" | "user";
7664
8569
  createdAt: string;
7665
8570
  createdBy: string;
7666
8571
  createdByRole: string;
@@ -7679,6 +8584,10 @@ export declare const EventDocument: z.ZodObject<{
7679
8584
  residentialArea?: string | null | undefined;
7680
8585
  street?: string | null | undefined;
7681
8586
  zipCode?: string | null | undefined;
8587
+ } | {
8588
+ firstname?: string | null | undefined;
8589
+ surname?: string | null | undefined;
8590
+ middlename?: string | null | undefined;
7682
8591
  } | {
7683
8592
  country: string;
7684
8593
  district: string;
@@ -7701,8 +8610,9 @@ export declare const EventDocument: z.ZodObject<{
7701
8610
  option: string;
7702
8611
  filename: string;
7703
8612
  originalFilename: string;
7704
- }[] | undefined>;
7705
- createdAtLocation: string;
8613
+ }[] | [string, string] | null | undefined>;
8614
+ createdBySignature?: string | null | undefined;
8615
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7706
8616
  annotation?: Record<string, string | number | boolean | {
7707
8617
  type: string;
7708
8618
  filename: string;
@@ -7718,6 +8628,10 @@ export declare const EventDocument: z.ZodObject<{
7718
8628
  residentialArea?: string | null | undefined;
7719
8629
  street?: string | null | undefined;
7720
8630
  zipCode?: string | null | undefined;
8631
+ } | {
8632
+ firstname?: string | null | undefined;
8633
+ surname?: string | null | undefined;
8634
+ middlename?: string | null | undefined;
7721
8635
  } | {
7722
8636
  country: string;
7723
8637
  district: string;
@@ -7740,15 +8654,20 @@ export declare const EventDocument: z.ZodObject<{
7740
8654
  option: string;
7741
8655
  filename: string;
7742
8656
  originalFilename: string;
7743
- }[] | undefined> | undefined;
7744
- originalActionId?: string | undefined;
8657
+ }[] | [string, string] | null | undefined> | null | undefined;
8658
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7745
8659
  } | {
7746
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7747
- id: string;
8660
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
+ id: string & z.BRAND<"UUID">;
7748
8662
  status: "Rejected";
7749
8663
  transactionId: string;
8664
+ createdByUserType: "system" | "user";
7750
8665
  createdAt: string;
7751
- originalActionId?: string | undefined;
8666
+ createdBy: string;
8667
+ createdByRole: string;
8668
+ createdBySignature?: string | null | undefined;
8669
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7752
8671
  })[];
7753
8672
  trackingId: string;
7754
8673
  }, {
@@ -7756,12 +8675,12 @@ export declare const EventDocument: z.ZodObject<{
7756
8675
  id: string;
7757
8676
  createdAt: string;
7758
8677
  updatedAt: string;
7759
- updatedAtLocation: string;
7760
8678
  actions: ({
7761
8679
  type: "ASSIGN";
7762
8680
  id: string;
7763
8681
  status: "Rejected" | "Requested" | "Accepted";
7764
8682
  transactionId: string;
8683
+ createdByUserType: "system" | "user";
7765
8684
  createdAt: string;
7766
8685
  createdBy: string;
7767
8686
  createdByRole: string;
@@ -7780,6 +8699,10 @@ export declare const EventDocument: z.ZodObject<{
7780
8699
  residentialArea?: string | null | undefined;
7781
8700
  street?: string | null | undefined;
7782
8701
  zipCode?: string | null | undefined;
8702
+ } | {
8703
+ firstname?: string | null | undefined;
8704
+ surname?: string | null | undefined;
8705
+ middlename?: string | null | undefined;
7783
8706
  } | {
7784
8707
  country: string;
7785
8708
  district: string;
@@ -7802,9 +8725,10 @@ export declare const EventDocument: z.ZodObject<{
7802
8725
  option: string;
7803
8726
  filename: string;
7804
8727
  originalFilename: string;
7805
- }[] | undefined>;
7806
- createdAtLocation: string;
8728
+ }[] | [string, string] | null | undefined>;
7807
8729
  assignedTo: string;
8730
+ createdBySignature?: string | null | undefined;
8731
+ createdAtLocation?: string | null | undefined;
7808
8732
  annotation?: Record<string, string | number | boolean | {
7809
8733
  type: string;
7810
8734
  filename: string;
@@ -7820,6 +8744,10 @@ export declare const EventDocument: z.ZodObject<{
7820
8744
  residentialArea?: string | null | undefined;
7821
8745
  street?: string | null | undefined;
7822
8746
  zipCode?: string | null | undefined;
8747
+ } | {
8748
+ firstname?: string | null | undefined;
8749
+ surname?: string | null | undefined;
8750
+ middlename?: string | null | undefined;
7823
8751
  } | {
7824
8752
  country: string;
7825
8753
  district: string;
@@ -7842,13 +8770,14 @@ export declare const EventDocument: z.ZodObject<{
7842
8770
  option: string;
7843
8771
  filename: string;
7844
8772
  originalFilename: string;
7845
- }[] | undefined> | undefined;
7846
- originalActionId?: string | undefined;
8773
+ }[] | [string, string] | null | undefined> | null | undefined;
8774
+ originalActionId?: string | null | undefined;
7847
8775
  } | {
7848
8776
  type: "UNASSIGN";
7849
8777
  id: string;
7850
8778
  status: "Rejected" | "Requested" | "Accepted";
7851
8779
  transactionId: string;
8780
+ createdByUserType: "system" | "user";
7852
8781
  createdAt: string;
7853
8782
  createdBy: string;
7854
8783
  createdByRole: string;
@@ -7867,6 +8796,10 @@ export declare const EventDocument: z.ZodObject<{
7867
8796
  residentialArea?: string | null | undefined;
7868
8797
  street?: string | null | undefined;
7869
8798
  zipCode?: string | null | undefined;
8799
+ } | {
8800
+ firstname?: string | null | undefined;
8801
+ surname?: string | null | undefined;
8802
+ middlename?: string | null | undefined;
7870
8803
  } | {
7871
8804
  country: string;
7872
8805
  district: string;
@@ -7889,9 +8822,9 @@ export declare const EventDocument: z.ZodObject<{
7889
8822
  option: string;
7890
8823
  filename: string;
7891
8824
  originalFilename: string;
7892
- }[] | undefined>;
7893
- createdAtLocation: string;
7894
- assignedTo: null;
8825
+ }[] | [string, string] | null | undefined>;
8826
+ createdBySignature?: string | null | undefined;
8827
+ createdAtLocation?: string | null | undefined;
7895
8828
  annotation?: Record<string, string | number | boolean | {
7896
8829
  type: string;
7897
8830
  filename: string;
@@ -7907,6 +8840,10 @@ export declare const EventDocument: z.ZodObject<{
7907
8840
  residentialArea?: string | null | undefined;
7908
8841
  street?: string | null | undefined;
7909
8842
  zipCode?: string | null | undefined;
8843
+ } | {
8844
+ firstname?: string | null | undefined;
8845
+ surname?: string | null | undefined;
8846
+ middlename?: string | null | undefined;
7910
8847
  } | {
7911
8848
  country: string;
7912
8849
  district: string;
@@ -7929,13 +8866,14 @@ export declare const EventDocument: z.ZodObject<{
7929
8866
  option: string;
7930
8867
  filename: string;
7931
8868
  originalFilename: string;
7932
- }[] | undefined> | undefined;
7933
- originalActionId?: string | undefined;
8869
+ }[] | [string, string] | null | undefined> | null | undefined;
8870
+ originalActionId?: string | null | undefined;
7934
8871
  } | {
7935
8872
  type: "REGISTER";
7936
8873
  id: string;
7937
8874
  status: "Rejected" | "Requested" | "Accepted";
7938
8875
  transactionId: string;
8876
+ createdByUserType: "system" | "user";
7939
8877
  createdAt: string;
7940
8878
  createdBy: string;
7941
8879
  createdByRole: string;
@@ -7954,6 +8892,10 @@ export declare const EventDocument: z.ZodObject<{
7954
8892
  residentialArea?: string | null | undefined;
7955
8893
  street?: string | null | undefined;
7956
8894
  zipCode?: string | null | undefined;
8895
+ } | {
8896
+ firstname?: string | null | undefined;
8897
+ surname?: string | null | undefined;
8898
+ middlename?: string | null | undefined;
7957
8899
  } | {
7958
8900
  country: string;
7959
8901
  district: string;
@@ -7976,8 +8918,9 @@ export declare const EventDocument: z.ZodObject<{
7976
8918
  option: string;
7977
8919
  filename: string;
7978
8920
  originalFilename: string;
7979
- }[] | undefined>;
7980
- createdAtLocation: string;
8921
+ }[] | [string, string] | null | undefined>;
8922
+ createdBySignature?: string | null | undefined;
8923
+ createdAtLocation?: string | null | undefined;
7981
8924
  annotation?: Record<string, string | number | boolean | {
7982
8925
  type: string;
7983
8926
  filename: string;
@@ -7993,6 +8936,10 @@ export declare const EventDocument: z.ZodObject<{
7993
8936
  residentialArea?: string | null | undefined;
7994
8937
  street?: string | null | undefined;
7995
8938
  zipCode?: string | null | undefined;
8939
+ } | {
8940
+ firstname?: string | null | undefined;
8941
+ surname?: string | null | undefined;
8942
+ middlename?: string | null | undefined;
7996
8943
  } | {
7997
8944
  country: string;
7998
8945
  district: string;
@@ -8015,14 +8962,15 @@ export declare const EventDocument: z.ZodObject<{
8015
8962
  option: string;
8016
8963
  filename: string;
8017
8964
  originalFilename: string;
8018
- }[] | undefined> | undefined;
8019
- originalActionId?: string | undefined;
8965
+ }[] | [string, string] | null | undefined> | null | undefined;
8966
+ originalActionId?: string | null | undefined;
8020
8967
  registrationNumber?: string | undefined;
8021
8968
  } | {
8022
8969
  type: "DECLARE";
8023
8970
  id: string;
8024
8971
  status: "Rejected" | "Requested" | "Accepted";
8025
8972
  transactionId: string;
8973
+ createdByUserType: "system" | "user";
8026
8974
  createdAt: string;
8027
8975
  createdBy: string;
8028
8976
  createdByRole: string;
@@ -8041,6 +8989,10 @@ export declare const EventDocument: z.ZodObject<{
8041
8989
  residentialArea?: string | null | undefined;
8042
8990
  street?: string | null | undefined;
8043
8991
  zipCode?: string | null | undefined;
8992
+ } | {
8993
+ firstname?: string | null | undefined;
8994
+ surname?: string | null | undefined;
8995
+ middlename?: string | null | undefined;
8044
8996
  } | {
8045
8997
  country: string;
8046
8998
  district: string;
@@ -8063,8 +9015,9 @@ export declare const EventDocument: z.ZodObject<{
8063
9015
  option: string;
8064
9016
  filename: string;
8065
9017
  originalFilename: string;
8066
- }[] | undefined>;
8067
- createdAtLocation: string;
9018
+ }[] | [string, string] | null | undefined>;
9019
+ createdBySignature?: string | null | undefined;
9020
+ createdAtLocation?: string | null | undefined;
8068
9021
  annotation?: Record<string, string | number | boolean | {
8069
9022
  type: string;
8070
9023
  filename: string;
@@ -8080,6 +9033,10 @@ export declare const EventDocument: z.ZodObject<{
8080
9033
  residentialArea?: string | null | undefined;
8081
9034
  street?: string | null | undefined;
8082
9035
  zipCode?: string | null | undefined;
9036
+ } | {
9037
+ firstname?: string | null | undefined;
9038
+ surname?: string | null | undefined;
9039
+ middlename?: string | null | undefined;
8083
9040
  } | {
8084
9041
  country: string;
8085
9042
  district: string;
@@ -8102,13 +9059,14 @@ export declare const EventDocument: z.ZodObject<{
8102
9059
  option: string;
8103
9060
  filename: string;
8104
9061
  originalFilename: string;
8105
- }[] | undefined> | undefined;
8106
- originalActionId?: string | undefined;
9062
+ }[] | [string, string] | null | undefined> | null | undefined;
9063
+ originalActionId?: string | null | undefined;
8107
9064
  } | {
8108
9065
  type: "VALIDATE";
8109
9066
  id: string;
8110
9067
  status: "Rejected" | "Requested" | "Accepted";
8111
9068
  transactionId: string;
9069
+ createdByUserType: "system" | "user";
8112
9070
  createdAt: string;
8113
9071
  createdBy: string;
8114
9072
  createdByRole: string;
@@ -8127,6 +9085,10 @@ export declare const EventDocument: z.ZodObject<{
8127
9085
  residentialArea?: string | null | undefined;
8128
9086
  street?: string | null | undefined;
8129
9087
  zipCode?: string | null | undefined;
9088
+ } | {
9089
+ firstname?: string | null | undefined;
9090
+ surname?: string | null | undefined;
9091
+ middlename?: string | null | undefined;
8130
9092
  } | {
8131
9093
  country: string;
8132
9094
  district: string;
@@ -8149,8 +9111,9 @@ export declare const EventDocument: z.ZodObject<{
8149
9111
  option: string;
8150
9112
  filename: string;
8151
9113
  originalFilename: string;
8152
- }[] | undefined>;
8153
- createdAtLocation: string;
9114
+ }[] | [string, string] | null | undefined>;
9115
+ createdBySignature?: string | null | undefined;
9116
+ createdAtLocation?: string | null | undefined;
8154
9117
  annotation?: Record<string, string | number | boolean | {
8155
9118
  type: string;
8156
9119
  filename: string;
@@ -8166,6 +9129,10 @@ export declare const EventDocument: z.ZodObject<{
8166
9129
  residentialArea?: string | null | undefined;
8167
9130
  street?: string | null | undefined;
8168
9131
  zipCode?: string | null | undefined;
9132
+ } | {
9133
+ firstname?: string | null | undefined;
9134
+ surname?: string | null | undefined;
9135
+ middlename?: string | null | undefined;
8169
9136
  } | {
8170
9137
  country: string;
8171
9138
  district: string;
@@ -8188,13 +9155,18 @@ export declare const EventDocument: z.ZodObject<{
8188
9155
  option: string;
8189
9156
  filename: string;
8190
9157
  originalFilename: string;
8191
- }[] | undefined> | undefined;
8192
- originalActionId?: string | undefined;
9158
+ }[] | [string, string] | null | undefined> | null | undefined;
9159
+ originalActionId?: string | null | undefined;
8193
9160
  } | {
8194
9161
  type: "REJECT";
8195
9162
  id: string;
8196
9163
  status: "Rejected" | "Requested" | "Accepted";
9164
+ reason: {
9165
+ message: string;
9166
+ isDuplicate?: boolean | undefined;
9167
+ };
8197
9168
  transactionId: string;
9169
+ createdByUserType: "system" | "user";
8198
9170
  createdAt: string;
8199
9171
  createdBy: string;
8200
9172
  createdByRole: string;
@@ -8213,6 +9185,10 @@ export declare const EventDocument: z.ZodObject<{
8213
9185
  residentialArea?: string | null | undefined;
8214
9186
  street?: string | null | undefined;
8215
9187
  zipCode?: string | null | undefined;
9188
+ } | {
9189
+ firstname?: string | null | undefined;
9190
+ surname?: string | null | undefined;
9191
+ middlename?: string | null | undefined;
8216
9192
  } | {
8217
9193
  country: string;
8218
9194
  district: string;
@@ -8235,8 +9211,9 @@ export declare const EventDocument: z.ZodObject<{
8235
9211
  option: string;
8236
9212
  filename: string;
8237
9213
  originalFilename: string;
8238
- }[] | undefined>;
8239
- createdAtLocation: string;
9214
+ }[] | [string, string] | null | undefined>;
9215
+ createdBySignature?: string | null | undefined;
9216
+ createdAtLocation?: string | null | undefined;
8240
9217
  annotation?: Record<string, string | number | boolean | {
8241
9218
  type: string;
8242
9219
  filename: string;
@@ -8252,6 +9229,10 @@ export declare const EventDocument: z.ZodObject<{
8252
9229
  residentialArea?: string | null | undefined;
8253
9230
  street?: string | null | undefined;
8254
9231
  zipCode?: string | null | undefined;
9232
+ } | {
9233
+ firstname?: string | null | undefined;
9234
+ surname?: string | null | undefined;
9235
+ middlename?: string | null | undefined;
8255
9236
  } | {
8256
9237
  country: string;
8257
9238
  district: string;
@@ -8274,13 +9255,14 @@ export declare const EventDocument: z.ZodObject<{
8274
9255
  option: string;
8275
9256
  filename: string;
8276
9257
  originalFilename: string;
8277
- }[] | undefined> | undefined;
8278
- originalActionId?: string | undefined;
9258
+ }[] | [string, string] | null | undefined> | null | undefined;
9259
+ originalActionId?: string | null | undefined;
8279
9260
  } | {
8280
9261
  type: "MARKED_AS_DUPLICATE";
8281
9262
  id: string;
8282
9263
  status: "Rejected" | "Requested" | "Accepted";
8283
9264
  transactionId: string;
9265
+ createdByUserType: "system" | "user";
8284
9266
  createdAt: string;
8285
9267
  createdBy: string;
8286
9268
  createdByRole: string;
@@ -8299,6 +9281,10 @@ export declare const EventDocument: z.ZodObject<{
8299
9281
  residentialArea?: string | null | undefined;
8300
9282
  street?: string | null | undefined;
8301
9283
  zipCode?: string | null | undefined;
9284
+ } | {
9285
+ firstname?: string | null | undefined;
9286
+ surname?: string | null | undefined;
9287
+ middlename?: string | null | undefined;
8302
9288
  } | {
8303
9289
  country: string;
8304
9290
  district: string;
@@ -8321,8 +9307,9 @@ export declare const EventDocument: z.ZodObject<{
8321
9307
  option: string;
8322
9308
  filename: string;
8323
9309
  originalFilename: string;
8324
- }[] | undefined>;
8325
- createdAtLocation: string;
9310
+ }[] | [string, string] | null | undefined>;
9311
+ createdBySignature?: string | null | undefined;
9312
+ createdAtLocation?: string | null | undefined;
8326
9313
  annotation?: Record<string, string | number | boolean | {
8327
9314
  type: string;
8328
9315
  filename: string;
@@ -8338,6 +9325,10 @@ export declare const EventDocument: z.ZodObject<{
8338
9325
  residentialArea?: string | null | undefined;
8339
9326
  street?: string | null | undefined;
8340
9327
  zipCode?: string | null | undefined;
9328
+ } | {
9329
+ firstname?: string | null | undefined;
9330
+ surname?: string | null | undefined;
9331
+ middlename?: string | null | undefined;
8341
9332
  } | {
8342
9333
  country: string;
8343
9334
  district: string;
@@ -8360,13 +9351,18 @@ export declare const EventDocument: z.ZodObject<{
8360
9351
  option: string;
8361
9352
  filename: string;
8362
9353
  originalFilename: string;
8363
- }[] | undefined> | undefined;
8364
- originalActionId?: string | undefined;
9354
+ }[] | [string, string] | null | undefined> | null | undefined;
9355
+ originalActionId?: string | null | undefined;
8365
9356
  } | {
8366
9357
  type: "ARCHIVE";
8367
9358
  id: string;
8368
9359
  status: "Rejected" | "Requested" | "Accepted";
9360
+ reason: {
9361
+ message: string;
9362
+ isDuplicate?: boolean | undefined;
9363
+ };
8369
9364
  transactionId: string;
9365
+ createdByUserType: "system" | "user";
8370
9366
  createdAt: string;
8371
9367
  createdBy: string;
8372
9368
  createdByRole: string;
@@ -8385,6 +9381,10 @@ export declare const EventDocument: z.ZodObject<{
8385
9381
  residentialArea?: string | null | undefined;
8386
9382
  street?: string | null | undefined;
8387
9383
  zipCode?: string | null | undefined;
9384
+ } | {
9385
+ firstname?: string | null | undefined;
9386
+ surname?: string | null | undefined;
9387
+ middlename?: string | null | undefined;
8388
9388
  } | {
8389
9389
  country: string;
8390
9390
  district: string;
@@ -8407,8 +9407,9 @@ export declare const EventDocument: z.ZodObject<{
8407
9407
  option: string;
8408
9408
  filename: string;
8409
9409
  originalFilename: string;
8410
- }[] | undefined>;
8411
- createdAtLocation: string;
9410
+ }[] | [string, string] | null | undefined>;
9411
+ createdBySignature?: string | null | undefined;
9412
+ createdAtLocation?: string | null | undefined;
8412
9413
  annotation?: Record<string, string | number | boolean | {
8413
9414
  type: string;
8414
9415
  filename: string;
@@ -8424,6 +9425,10 @@ export declare const EventDocument: z.ZodObject<{
8424
9425
  residentialArea?: string | null | undefined;
8425
9426
  street?: string | null | undefined;
8426
9427
  zipCode?: string | null | undefined;
9428
+ } | {
9429
+ firstname?: string | null | undefined;
9430
+ surname?: string | null | undefined;
9431
+ middlename?: string | null | undefined;
8427
9432
  } | {
8428
9433
  country: string;
8429
9434
  district: string;
@@ -8446,13 +9451,14 @@ export declare const EventDocument: z.ZodObject<{
8446
9451
  option: string;
8447
9452
  filename: string;
8448
9453
  originalFilename: string;
8449
- }[] | undefined> | undefined;
8450
- originalActionId?: string | undefined;
9454
+ }[] | [string, string] | null | undefined> | null | undefined;
9455
+ originalActionId?: string | null | undefined;
8451
9456
  } | {
8452
9457
  type: "CREATE";
8453
9458
  id: string;
8454
9459
  status: "Rejected" | "Requested" | "Accepted";
8455
9460
  transactionId: string;
9461
+ createdByUserType: "system" | "user";
8456
9462
  createdAt: string;
8457
9463
  createdBy: string;
8458
9464
  createdByRole: string;
@@ -8471,6 +9477,10 @@ export declare const EventDocument: z.ZodObject<{
8471
9477
  residentialArea?: string | null | undefined;
8472
9478
  street?: string | null | undefined;
8473
9479
  zipCode?: string | null | undefined;
9480
+ } | {
9481
+ firstname?: string | null | undefined;
9482
+ surname?: string | null | undefined;
9483
+ middlename?: string | null | undefined;
8474
9484
  } | {
8475
9485
  country: string;
8476
9486
  district: string;
@@ -8493,8 +9503,9 @@ export declare const EventDocument: z.ZodObject<{
8493
9503
  option: string;
8494
9504
  filename: string;
8495
9505
  originalFilename: string;
8496
- }[] | undefined>;
8497
- createdAtLocation: string;
9506
+ }[] | [string, string] | null | undefined>;
9507
+ createdBySignature?: string | null | undefined;
9508
+ createdAtLocation?: string | null | undefined;
8498
9509
  annotation?: Record<string, string | number | boolean | {
8499
9510
  type: string;
8500
9511
  filename: string;
@@ -8510,6 +9521,10 @@ export declare const EventDocument: z.ZodObject<{
8510
9521
  residentialArea?: string | null | undefined;
8511
9522
  street?: string | null | undefined;
8512
9523
  zipCode?: string | null | undefined;
9524
+ } | {
9525
+ firstname?: string | null | undefined;
9526
+ surname?: string | null | undefined;
9527
+ middlename?: string | null | undefined;
8513
9528
  } | {
8514
9529
  country: string;
8515
9530
  district: string;
@@ -8532,13 +9547,14 @@ export declare const EventDocument: z.ZodObject<{
8532
9547
  option: string;
8533
9548
  filename: string;
8534
9549
  originalFilename: string;
8535
- }[] | undefined> | undefined;
8536
- originalActionId?: string | undefined;
9550
+ }[] | [string, string] | null | undefined> | null | undefined;
9551
+ originalActionId?: string | null | undefined;
8537
9552
  } | {
8538
9553
  type: "NOTIFY";
8539
9554
  id: string;
8540
9555
  status: "Rejected" | "Requested" | "Accepted";
8541
9556
  transactionId: string;
9557
+ createdByUserType: "system" | "user";
8542
9558
  createdAt: string;
8543
9559
  createdBy: string;
8544
9560
  createdByRole: string;
@@ -8557,6 +9573,10 @@ export declare const EventDocument: z.ZodObject<{
8557
9573
  residentialArea?: string | null | undefined;
8558
9574
  street?: string | null | undefined;
8559
9575
  zipCode?: string | null | undefined;
9576
+ } | {
9577
+ firstname?: string | null | undefined;
9578
+ surname?: string | null | undefined;
9579
+ middlename?: string | null | undefined;
8560
9580
  } | {
8561
9581
  country: string;
8562
9582
  district: string;
@@ -8579,8 +9599,9 @@ export declare const EventDocument: z.ZodObject<{
8579
9599
  option: string;
8580
9600
  filename: string;
8581
9601
  originalFilename: string;
8582
- }[] | undefined>;
8583
- createdAtLocation: string;
9602
+ }[] | [string, string] | null | undefined>;
9603
+ createdBySignature?: string | null | undefined;
9604
+ createdAtLocation?: string | null | undefined;
8584
9605
  annotation?: Record<string, string | number | boolean | {
8585
9606
  type: string;
8586
9607
  filename: string;
@@ -8596,6 +9617,10 @@ export declare const EventDocument: z.ZodObject<{
8596
9617
  residentialArea?: string | null | undefined;
8597
9618
  street?: string | null | undefined;
8598
9619
  zipCode?: string | null | undefined;
9620
+ } | {
9621
+ firstname?: string | null | undefined;
9622
+ surname?: string | null | undefined;
9623
+ middlename?: string | null | undefined;
8599
9624
  } | {
8600
9625
  country: string;
8601
9626
  district: string;
@@ -8618,13 +9643,14 @@ export declare const EventDocument: z.ZodObject<{
8618
9643
  option: string;
8619
9644
  filename: string;
8620
9645
  originalFilename: string;
8621
- }[] | undefined> | undefined;
8622
- originalActionId?: string | undefined;
9646
+ }[] | [string, string] | null | undefined> | null | undefined;
9647
+ originalActionId?: string | null | undefined;
8623
9648
  } | {
8624
9649
  type: "PRINT_CERTIFICATE";
8625
9650
  id: string;
8626
9651
  status: "Rejected" | "Requested" | "Accepted";
8627
9652
  transactionId: string;
9653
+ createdByUserType: "system" | "user";
8628
9654
  createdAt: string;
8629
9655
  createdBy: string;
8630
9656
  createdByRole: string;
@@ -8643,6 +9669,10 @@ export declare const EventDocument: z.ZodObject<{
8643
9669
  residentialArea?: string | null | undefined;
8644
9670
  street?: string | null | undefined;
8645
9671
  zipCode?: string | null | undefined;
9672
+ } | {
9673
+ firstname?: string | null | undefined;
9674
+ surname?: string | null | undefined;
9675
+ middlename?: string | null | undefined;
8646
9676
  } | {
8647
9677
  country: string;
8648
9678
  district: string;
@@ -8665,8 +9695,9 @@ export declare const EventDocument: z.ZodObject<{
8665
9695
  option: string;
8666
9696
  filename: string;
8667
9697
  originalFilename: string;
8668
- }[] | undefined>;
8669
- createdAtLocation: string;
9698
+ }[] | [string, string] | null | undefined>;
9699
+ createdBySignature?: string | null | undefined;
9700
+ createdAtLocation?: string | null | undefined;
8670
9701
  annotation?: Record<string, string | number | boolean | {
8671
9702
  type: string;
8672
9703
  filename: string;
@@ -8682,6 +9713,10 @@ export declare const EventDocument: z.ZodObject<{
8682
9713
  residentialArea?: string | null | undefined;
8683
9714
  street?: string | null | undefined;
8684
9715
  zipCode?: string | null | undefined;
9716
+ } | {
9717
+ firstname?: string | null | undefined;
9718
+ surname?: string | null | undefined;
9719
+ middlename?: string | null | undefined;
8685
9720
  } | {
8686
9721
  country: string;
8687
9722
  district: string;
@@ -8704,13 +9739,14 @@ export declare const EventDocument: z.ZodObject<{
8704
9739
  option: string;
8705
9740
  filename: string;
8706
9741
  originalFilename: string;
8707
- }[] | undefined> | undefined;
8708
- originalActionId?: string | undefined;
9742
+ }[] | [string, string] | null | undefined> | null | undefined;
9743
+ originalActionId?: string | null | undefined;
8709
9744
  } | {
8710
9745
  type: "REQUEST_CORRECTION";
8711
9746
  id: string;
8712
9747
  status: "Rejected" | "Requested" | "Accepted";
8713
9748
  transactionId: string;
9749
+ createdByUserType: "system" | "user";
8714
9750
  createdAt: string;
8715
9751
  createdBy: string;
8716
9752
  createdByRole: string;
@@ -8729,6 +9765,10 @@ export declare const EventDocument: z.ZodObject<{
8729
9765
  residentialArea?: string | null | undefined;
8730
9766
  street?: string | null | undefined;
8731
9767
  zipCode?: string | null | undefined;
9768
+ } | {
9769
+ firstname?: string | null | undefined;
9770
+ surname?: string | null | undefined;
9771
+ middlename?: string | null | undefined;
8732
9772
  } | {
8733
9773
  country: string;
8734
9774
  district: string;
@@ -8751,8 +9791,9 @@ export declare const EventDocument: z.ZodObject<{
8751
9791
  option: string;
8752
9792
  filename: string;
8753
9793
  originalFilename: string;
8754
- }[] | undefined>;
8755
- createdAtLocation: string;
9794
+ }[] | [string, string] | null | undefined>;
9795
+ createdBySignature?: string | null | undefined;
9796
+ createdAtLocation?: string | null | undefined;
8756
9797
  annotation?: Record<string, string | number | boolean | {
8757
9798
  type: string;
8758
9799
  filename: string;
@@ -8768,6 +9809,10 @@ export declare const EventDocument: z.ZodObject<{
8768
9809
  residentialArea?: string | null | undefined;
8769
9810
  street?: string | null | undefined;
8770
9811
  zipCode?: string | null | undefined;
9812
+ } | {
9813
+ firstname?: string | null | undefined;
9814
+ surname?: string | null | undefined;
9815
+ middlename?: string | null | undefined;
8771
9816
  } | {
8772
9817
  country: string;
8773
9818
  district: string;
@@ -8790,13 +9835,14 @@ export declare const EventDocument: z.ZodObject<{
8790
9835
  option: string;
8791
9836
  filename: string;
8792
9837
  originalFilename: string;
8793
- }[] | undefined> | undefined;
8794
- originalActionId?: string | undefined;
9838
+ }[] | [string, string] | null | undefined> | null | undefined;
9839
+ originalActionId?: string | null | undefined;
8795
9840
  } | {
8796
9841
  type: "APPROVE_CORRECTION";
8797
9842
  id: string;
8798
9843
  status: "Rejected" | "Requested" | "Accepted";
8799
9844
  transactionId: string;
9845
+ createdByUserType: "system" | "user";
8800
9846
  createdAt: string;
8801
9847
  createdBy: string;
8802
9848
  createdByRole: string;
@@ -8815,6 +9861,10 @@ export declare const EventDocument: z.ZodObject<{
8815
9861
  residentialArea?: string | null | undefined;
8816
9862
  street?: string | null | undefined;
8817
9863
  zipCode?: string | null | undefined;
9864
+ } | {
9865
+ firstname?: string | null | undefined;
9866
+ surname?: string | null | undefined;
9867
+ middlename?: string | null | undefined;
8818
9868
  } | {
8819
9869
  country: string;
8820
9870
  district: string;
@@ -8837,9 +9887,10 @@ export declare const EventDocument: z.ZodObject<{
8837
9887
  option: string;
8838
9888
  filename: string;
8839
9889
  originalFilename: string;
8840
- }[] | undefined>;
8841
- createdAtLocation: string;
9890
+ }[] | [string, string] | null | undefined>;
8842
9891
  requestId: string;
9892
+ createdBySignature?: string | null | undefined;
9893
+ createdAtLocation?: string | null | undefined;
8843
9894
  annotation?: Record<string, string | number | boolean | {
8844
9895
  type: string;
8845
9896
  filename: string;
@@ -8855,6 +9906,10 @@ export declare const EventDocument: z.ZodObject<{
8855
9906
  residentialArea?: string | null | undefined;
8856
9907
  street?: string | null | undefined;
8857
9908
  zipCode?: string | null | undefined;
9909
+ } | {
9910
+ firstname?: string | null | undefined;
9911
+ surname?: string | null | undefined;
9912
+ middlename?: string | null | undefined;
8858
9913
  } | {
8859
9914
  country: string;
8860
9915
  district: string;
@@ -8877,13 +9932,14 @@ export declare const EventDocument: z.ZodObject<{
8877
9932
  option: string;
8878
9933
  filename: string;
8879
9934
  originalFilename: string;
8880
- }[] | undefined> | undefined;
8881
- originalActionId?: string | undefined;
9935
+ }[] | [string, string] | null | undefined> | null | undefined;
9936
+ originalActionId?: string | null | undefined;
8882
9937
  } | {
8883
9938
  type: "REJECT_CORRECTION";
8884
9939
  id: string;
8885
9940
  status: "Rejected" | "Requested" | "Accepted";
8886
9941
  transactionId: string;
9942
+ createdByUserType: "system" | "user";
8887
9943
  createdAt: string;
8888
9944
  createdBy: string;
8889
9945
  createdByRole: string;
@@ -8902,6 +9958,10 @@ export declare const EventDocument: z.ZodObject<{
8902
9958
  residentialArea?: string | null | undefined;
8903
9959
  street?: string | null | undefined;
8904
9960
  zipCode?: string | null | undefined;
9961
+ } | {
9962
+ firstname?: string | null | undefined;
9963
+ surname?: string | null | undefined;
9964
+ middlename?: string | null | undefined;
8905
9965
  } | {
8906
9966
  country: string;
8907
9967
  district: string;
@@ -8924,9 +9984,10 @@ export declare const EventDocument: z.ZodObject<{
8924
9984
  option: string;
8925
9985
  filename: string;
8926
9986
  originalFilename: string;
8927
- }[] | undefined>;
8928
- createdAtLocation: string;
9987
+ }[] | [string, string] | null | undefined>;
8929
9988
  requestId: string;
9989
+ createdBySignature?: string | null | undefined;
9990
+ createdAtLocation?: string | null | undefined;
8930
9991
  annotation?: Record<string, string | number | boolean | {
8931
9992
  type: string;
8932
9993
  filename: string;
@@ -8942,6 +10003,10 @@ export declare const EventDocument: z.ZodObject<{
8942
10003
  residentialArea?: string | null | undefined;
8943
10004
  street?: string | null | undefined;
8944
10005
  zipCode?: string | null | undefined;
10006
+ } | {
10007
+ firstname?: string | null | undefined;
10008
+ surname?: string | null | undefined;
10009
+ middlename?: string | null | undefined;
8945
10010
  } | {
8946
10011
  country: string;
8947
10012
  district: string;
@@ -8964,13 +10029,14 @@ export declare const EventDocument: z.ZodObject<{
8964
10029
  option: string;
8965
10030
  filename: string;
8966
10031
  originalFilename: string;
8967
- }[] | undefined> | undefined;
8968
- originalActionId?: string | undefined;
10032
+ }[] | [string, string] | null | undefined> | null | undefined;
10033
+ originalActionId?: string | null | undefined;
8969
10034
  } | {
8970
10035
  type: "READ";
8971
10036
  id: string;
8972
10037
  status: "Rejected" | "Requested" | "Accepted";
8973
10038
  transactionId: string;
10039
+ createdByUserType: "system" | "user";
8974
10040
  createdAt: string;
8975
10041
  createdBy: string;
8976
10042
  createdByRole: string;
@@ -8989,6 +10055,10 @@ export declare const EventDocument: z.ZodObject<{
8989
10055
  residentialArea?: string | null | undefined;
8990
10056
  street?: string | null | undefined;
8991
10057
  zipCode?: string | null | undefined;
10058
+ } | {
10059
+ firstname?: string | null | undefined;
10060
+ surname?: string | null | undefined;
10061
+ middlename?: string | null | undefined;
8992
10062
  } | {
8993
10063
  country: string;
8994
10064
  district: string;
@@ -9011,8 +10081,9 @@ export declare const EventDocument: z.ZodObject<{
9011
10081
  option: string;
9012
10082
  filename: string;
9013
10083
  originalFilename: string;
9014
- }[] | undefined>;
9015
- createdAtLocation: string;
10084
+ }[] | [string, string] | null | undefined>;
10085
+ createdBySignature?: string | null | undefined;
10086
+ createdAtLocation?: string | null | undefined;
9016
10087
  annotation?: Record<string, string | number | boolean | {
9017
10088
  type: string;
9018
10089
  filename: string;
@@ -9028,6 +10099,10 @@ export declare const EventDocument: z.ZodObject<{
9028
10099
  residentialArea?: string | null | undefined;
9029
10100
  street?: string | null | undefined;
9030
10101
  zipCode?: string | null | undefined;
10102
+ } | {
10103
+ firstname?: string | null | undefined;
10104
+ surname?: string | null | undefined;
10105
+ middlename?: string | null | undefined;
9031
10106
  } | {
9032
10107
  country: string;
9033
10108
  district: string;
@@ -9050,15 +10125,20 @@ export declare const EventDocument: z.ZodObject<{
9050
10125
  option: string;
9051
10126
  filename: string;
9052
10127
  originalFilename: string;
9053
- }[] | undefined> | undefined;
9054
- originalActionId?: string | undefined;
10128
+ }[] | [string, string] | null | undefined> | null | undefined;
10129
+ originalActionId?: string | null | undefined;
9055
10130
  } | {
9056
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10131
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9057
10132
  id: string;
9058
10133
  status: "Rejected";
9059
10134
  transactionId: string;
10135
+ createdByUserType: "system" | "user";
9060
10136
  createdAt: string;
9061
- originalActionId?: string | undefined;
10137
+ createdBy: string;
10138
+ createdByRole: string;
10139
+ createdBySignature?: string | null | undefined;
10140
+ createdAtLocation?: string | null | undefined;
10141
+ originalActionId?: string | null | undefined;
9062
10142
  })[];
9063
10143
  trackingId: string;
9064
10144
  }>;