@opencrvs/toolkit 1.8.0-rc.fb4793a → 1.8.0-rc.fb8e005

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 (43) hide show
  1. package/dist/commons/api/router.d.ts +6737 -8337
  2. package/dist/commons/conditionals/conditionals.d.ts +8 -3
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +35832 -12647
  5. package/dist/commons/events/ActionDocument.d.ts +2215 -525
  6. package/dist/commons/events/ActionInput.d.ts +1579 -307
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +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 +142 -36
  14. package/dist/commons/events/EventConfig.d.ts +23847 -12245
  15. package/dist/commons/events/EventDocument.d.ts +1454 -396
  16. package/dist/commons/events/EventIndex.d.ts +807 -549
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +122 -87
  19. package/dist/commons/events/FieldConfig.d.ts +2261 -1191
  20. package/dist/commons/events/FieldType.d.ts +4 -1
  21. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  22. package/dist/commons/events/FieldValue.d.ts +43 -5
  23. package/dist/commons/events/FormConfig.d.ts +11459 -4769
  24. package/dist/commons/events/PageConfig.d.ts +3768 -2134
  25. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  26. package/dist/commons/events/User.d.ts +31 -7
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +6278 -528
  29. package/dist/commons/events/defineConfig.d.ts +2747 -679
  30. package/dist/commons/events/event.d.ts +2 -2
  31. package/dist/commons/events/field.d.ts +10 -10
  32. package/dist/commons/events/index.d.ts +5 -0
  33. package/dist/commons/events/scopes.d.ts +1 -2
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +171 -41
  36. package/dist/commons/events/transactions.d.ts +1 -1
  37. package/dist/commons/events/utils.d.ts +10474 -330
  38. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  39. package/dist/conditionals/index.js +65 -25
  40. package/dist/events/index.js +2876 -1213
  41. package/dist/scopes/index.d.ts +4 -1
  42. package/dist/scopes/index.js +67 -17
  43. package/package.json +3 -3
@@ -1,22 +1,18 @@
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
- dateOfEvent: z.ZodOptional<z.ZodObject<{
6
- fieldId: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- fieldId: string;
9
- }, {
10
- fieldId: string;
11
- }>>;
12
5
  createdAt: z.ZodString;
13
6
  updatedAt: z.ZodString;
14
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
15
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
16
9
  transactionId: z.ZodString;
10
+ createdByUserType: z.ZodEnum<["user", "system"]>;
17
11
  createdAt: z.ZodString;
18
12
  createdBy: z.ZodString;
19
13
  createdByRole: z.ZodString;
14
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
20
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<{
21
17
  filename: z.ZodString;
22
18
  originalFilename: z.ZodString;
@@ -130,8 +126,20 @@ export declare const EventDocument: z.ZodObject<{
130
126
  addressLine2?: string | null | undefined;
131
127
  addressLine3?: string | null | undefined;
132
128
  postcodeOrZip?: string | null | undefined;
133
- }>]>>;
134
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
135
143
  filename: z.ZodString;
136
144
  originalFilename: z.ZodString;
137
145
  type: z.ZodString;
@@ -244,17 +252,29 @@ export declare const EventDocument: z.ZodObject<{
244
252
  addressLine2?: string | null | undefined;
245
253
  addressLine3?: string | null | undefined;
246
254
  postcodeOrZip?: string | null | undefined;
247
- }>]>>>;
248
- 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]>]>>>>;
249
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
250
- originalActionId: z.ZodOptional<z.ZodString>;
269
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
251
270
  }, {
252
271
  type: z.ZodLiteral<"CREATE">;
253
272
  }>, "strip", z.ZodTypeAny, {
254
273
  type: "CREATE";
255
- id: string;
274
+ id: string & z.BRAND<"UUID">;
256
275
  status: "Rejected" | "Requested" | "Accepted";
257
276
  transactionId: string;
277
+ createdByUserType: "system" | "user";
258
278
  createdAt: string;
259
279
  createdBy: string;
260
280
  createdByRole: string;
@@ -273,6 +293,10 @@ export declare const EventDocument: z.ZodObject<{
273
293
  residentialArea?: string | null | undefined;
274
294
  street?: string | null | undefined;
275
295
  zipCode?: string | null | undefined;
296
+ } | {
297
+ firstname?: string | null | undefined;
298
+ surname?: string | null | undefined;
299
+ middlename?: string | null | undefined;
276
300
  } | {
277
301
  country: string;
278
302
  district: string;
@@ -295,8 +319,9 @@ export declare const EventDocument: z.ZodObject<{
295
319
  option: string;
296
320
  filename: string;
297
321
  originalFilename: string;
298
- }[] | [string, string] | undefined>;
299
- createdAtLocation: string;
322
+ }[] | [string, string] | null | undefined>;
323
+ createdBySignature?: string | null | undefined;
324
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
300
325
  annotation?: Record<string, string | number | boolean | {
301
326
  type: string;
302
327
  filename: string;
@@ -312,6 +337,10 @@ export declare const EventDocument: z.ZodObject<{
312
337
  residentialArea?: string | null | undefined;
313
338
  street?: string | null | undefined;
314
339
  zipCode?: string | null | undefined;
340
+ } | {
341
+ firstname?: string | null | undefined;
342
+ surname?: string | null | undefined;
343
+ middlename?: string | null | undefined;
315
344
  } | {
316
345
  country: string;
317
346
  district: string;
@@ -334,13 +363,14 @@ export declare const EventDocument: z.ZodObject<{
334
363
  option: string;
335
364
  filename: string;
336
365
  originalFilename: string;
337
- }[] | [string, string] | undefined> | undefined;
338
- originalActionId?: string | undefined;
366
+ }[] | [string, string] | null | undefined> | null | undefined;
367
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
339
368
  }, {
340
369
  type: "CREATE";
341
370
  id: string;
342
371
  status: "Rejected" | "Requested" | "Accepted";
343
372
  transactionId: string;
373
+ createdByUserType: "system" | "user";
344
374
  createdAt: string;
345
375
  createdBy: string;
346
376
  createdByRole: string;
@@ -359,6 +389,10 @@ export declare const EventDocument: z.ZodObject<{
359
389
  residentialArea?: string | null | undefined;
360
390
  street?: string | null | undefined;
361
391
  zipCode?: string | null | undefined;
392
+ } | {
393
+ firstname?: string | null | undefined;
394
+ surname?: string | null | undefined;
395
+ middlename?: string | null | undefined;
362
396
  } | {
363
397
  country: string;
364
398
  district: string;
@@ -381,8 +415,9 @@ export declare const EventDocument: z.ZodObject<{
381
415
  option: string;
382
416
  filename: string;
383
417
  originalFilename: string;
384
- }[] | [string, string] | undefined>;
385
- createdAtLocation: string;
418
+ }[] | [string, string] | null | undefined>;
419
+ createdBySignature?: string | null | undefined;
420
+ createdAtLocation?: string | null | undefined;
386
421
  annotation?: Record<string, string | number | boolean | {
387
422
  type: string;
388
423
  filename: string;
@@ -398,6 +433,10 @@ export declare const EventDocument: z.ZodObject<{
398
433
  residentialArea?: string | null | undefined;
399
434
  street?: string | null | undefined;
400
435
  zipCode?: string | null | undefined;
436
+ } | {
437
+ firstname?: string | null | undefined;
438
+ surname?: string | null | undefined;
439
+ middlename?: string | null | undefined;
401
440
  } | {
402
441
  country: string;
403
442
  district: string;
@@ -420,14 +459,17 @@ export declare const EventDocument: z.ZodObject<{
420
459
  option: string;
421
460
  filename: string;
422
461
  originalFilename: string;
423
- }[] | [string, string] | undefined> | undefined;
424
- originalActionId?: string | undefined;
462
+ }[] | [string, string] | null | undefined> | null | undefined;
463
+ originalActionId?: string | null | undefined;
425
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
426
- id: z.ZodString;
465
+ id: z.ZodBranded<z.ZodString, "UUID">;
427
466
  transactionId: z.ZodString;
467
+ createdByUserType: z.ZodEnum<["user", "system"]>;
428
468
  createdAt: z.ZodString;
429
469
  createdBy: z.ZodString;
430
470
  createdByRole: z.ZodString;
471
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
431
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<{
432
474
  filename: z.ZodString;
433
475
  originalFilename: z.ZodString;
@@ -541,8 +583,20 @@ export declare const EventDocument: z.ZodObject<{
541
583
  addressLine2?: string | null | undefined;
542
584
  addressLine3?: string | null | undefined;
543
585
  postcodeOrZip?: string | null | undefined;
544
- }>]>>;
545
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
546
600
  filename: z.ZodString;
547
601
  originalFilename: z.ZodString;
548
602
  type: z.ZodString;
@@ -655,17 +709,29 @@ export declare const EventDocument: z.ZodObject<{
655
709
  addressLine2?: string | null | undefined;
656
710
  addressLine3?: string | null | undefined;
657
711
  postcodeOrZip?: string | null | undefined;
658
- }>]>>>;
659
- 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]>]>>>>;
660
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
661
- originalActionId: z.ZodOptional<z.ZodString>;
726
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
662
727
  }, {
663
728
  type: z.ZodLiteral<"VALIDATE">;
664
729
  }>, "strip", z.ZodTypeAny, {
665
730
  type: "VALIDATE";
666
- id: string;
731
+ id: string & z.BRAND<"UUID">;
667
732
  status: "Rejected" | "Requested" | "Accepted";
668
733
  transactionId: string;
734
+ createdByUserType: "system" | "user";
669
735
  createdAt: string;
670
736
  createdBy: string;
671
737
  createdByRole: string;
@@ -684,6 +750,10 @@ export declare const EventDocument: z.ZodObject<{
684
750
  residentialArea?: string | null | undefined;
685
751
  street?: string | null | undefined;
686
752
  zipCode?: string | null | undefined;
753
+ } | {
754
+ firstname?: string | null | undefined;
755
+ surname?: string | null | undefined;
756
+ middlename?: string | null | undefined;
687
757
  } | {
688
758
  country: string;
689
759
  district: string;
@@ -706,8 +776,9 @@ export declare const EventDocument: z.ZodObject<{
706
776
  option: string;
707
777
  filename: string;
708
778
  originalFilename: string;
709
- }[] | [string, string] | undefined>;
710
- createdAtLocation: string;
779
+ }[] | [string, string] | null | undefined>;
780
+ createdBySignature?: string | null | undefined;
781
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
711
782
  annotation?: Record<string, string | number | boolean | {
712
783
  type: string;
713
784
  filename: string;
@@ -723,6 +794,10 @@ export declare const EventDocument: z.ZodObject<{
723
794
  residentialArea?: string | null | undefined;
724
795
  street?: string | null | undefined;
725
796
  zipCode?: string | null | undefined;
797
+ } | {
798
+ firstname?: string | null | undefined;
799
+ surname?: string | null | undefined;
800
+ middlename?: string | null | undefined;
726
801
  } | {
727
802
  country: string;
728
803
  district: string;
@@ -745,13 +820,14 @@ export declare const EventDocument: z.ZodObject<{
745
820
  option: string;
746
821
  filename: string;
747
822
  originalFilename: string;
748
- }[] | [string, string] | undefined> | undefined;
749
- originalActionId?: string | undefined;
823
+ }[] | [string, string] | null | undefined> | null | undefined;
824
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
750
825
  }, {
751
826
  type: "VALIDATE";
752
827
  id: string;
753
828
  status: "Rejected" | "Requested" | "Accepted";
754
829
  transactionId: string;
830
+ createdByUserType: "system" | "user";
755
831
  createdAt: string;
756
832
  createdBy: string;
757
833
  createdByRole: string;
@@ -770,6 +846,10 @@ export declare const EventDocument: z.ZodObject<{
770
846
  residentialArea?: string | null | undefined;
771
847
  street?: string | null | undefined;
772
848
  zipCode?: string | null | undefined;
849
+ } | {
850
+ firstname?: string | null | undefined;
851
+ surname?: string | null | undefined;
852
+ middlename?: string | null | undefined;
773
853
  } | {
774
854
  country: string;
775
855
  district: string;
@@ -792,8 +872,9 @@ export declare const EventDocument: z.ZodObject<{
792
872
  option: string;
793
873
  filename: string;
794
874
  originalFilename: string;
795
- }[] | [string, string] | undefined>;
796
- createdAtLocation: string;
875
+ }[] | [string, string] | null | undefined>;
876
+ createdBySignature?: string | null | undefined;
877
+ createdAtLocation?: string | null | undefined;
797
878
  annotation?: Record<string, string | number | boolean | {
798
879
  type: string;
799
880
  filename: string;
@@ -809,6 +890,10 @@ export declare const EventDocument: z.ZodObject<{
809
890
  residentialArea?: string | null | undefined;
810
891
  street?: string | null | undefined;
811
892
  zipCode?: string | null | undefined;
893
+ } | {
894
+ firstname?: string | null | undefined;
895
+ surname?: string | null | undefined;
896
+ middlename?: string | null | undefined;
812
897
  } | {
813
898
  country: string;
814
899
  district: string;
@@ -831,14 +916,17 @@ export declare const EventDocument: z.ZodObject<{
831
916
  option: string;
832
917
  filename: string;
833
918
  originalFilename: string;
834
- }[] | [string, string] | undefined> | undefined;
835
- originalActionId?: string | undefined;
919
+ }[] | [string, string] | null | undefined> | null | undefined;
920
+ originalActionId?: string | null | undefined;
836
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
837
- id: z.ZodString;
922
+ id: z.ZodBranded<z.ZodString, "UUID">;
838
923
  transactionId: z.ZodString;
924
+ createdByUserType: z.ZodEnum<["user", "system"]>;
839
925
  createdAt: z.ZodString;
840
926
  createdBy: z.ZodString;
841
927
  createdByRole: z.ZodString;
928
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
842
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<{
843
931
  filename: z.ZodString;
844
932
  originalFilename: z.ZodString;
@@ -952,8 +1040,20 @@ export declare const EventDocument: z.ZodObject<{
952
1040
  addressLine2?: string | null | undefined;
953
1041
  addressLine3?: string | null | undefined;
954
1042
  postcodeOrZip?: string | null | undefined;
955
- }>]>>;
956
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
957
1057
  filename: z.ZodString;
958
1058
  originalFilename: z.ZodString;
959
1059
  type: z.ZodString;
@@ -1066,17 +1166,43 @@ export declare const EventDocument: z.ZodObject<{
1066
1166
  addressLine2?: string | null | undefined;
1067
1167
  addressLine3?: string | null | undefined;
1068
1168
  postcodeOrZip?: string | null | undefined;
1069
- }>]>>>;
1070
- 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]>]>>>>;
1071
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1072
- originalActionId: z.ZodOptional<z.ZodString>;
1183
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1073
1184
  }, {
1074
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
+ }>;
1075
1196
  }>, "strip", z.ZodTypeAny, {
1076
1197
  type: "REJECT";
1077
- id: string;
1198
+ id: string & z.BRAND<"UUID">;
1078
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
+ reason: {
1201
+ message: string;
1202
+ isDuplicate?: boolean | undefined;
1203
+ };
1079
1204
  transactionId: string;
1205
+ createdByUserType: "system" | "user";
1080
1206
  createdAt: string;
1081
1207
  createdBy: string;
1082
1208
  createdByRole: string;
@@ -1095,6 +1221,10 @@ export declare const EventDocument: z.ZodObject<{
1095
1221
  residentialArea?: string | null | undefined;
1096
1222
  street?: string | null | undefined;
1097
1223
  zipCode?: string | null | undefined;
1224
+ } | {
1225
+ firstname?: string | null | undefined;
1226
+ surname?: string | null | undefined;
1227
+ middlename?: string | null | undefined;
1098
1228
  } | {
1099
1229
  country: string;
1100
1230
  district: string;
@@ -1117,8 +1247,9 @@ export declare const EventDocument: z.ZodObject<{
1117
1247
  option: string;
1118
1248
  filename: string;
1119
1249
  originalFilename: string;
1120
- }[] | [string, string] | undefined>;
1121
- createdAtLocation: string;
1250
+ }[] | [string, string] | null | undefined>;
1251
+ createdBySignature?: string | null | undefined;
1252
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1122
1253
  annotation?: Record<string, string | number | boolean | {
1123
1254
  type: string;
1124
1255
  filename: string;
@@ -1134,6 +1265,10 @@ export declare const EventDocument: z.ZodObject<{
1134
1265
  residentialArea?: string | null | undefined;
1135
1266
  street?: string | null | undefined;
1136
1267
  zipCode?: string | null | undefined;
1268
+ } | {
1269
+ firstname?: string | null | undefined;
1270
+ surname?: string | null | undefined;
1271
+ middlename?: string | null | undefined;
1137
1272
  } | {
1138
1273
  country: string;
1139
1274
  district: string;
@@ -1156,13 +1291,18 @@ export declare const EventDocument: z.ZodObject<{
1156
1291
  option: string;
1157
1292
  filename: string;
1158
1293
  originalFilename: string;
1159
- }[] | [string, string] | undefined> | undefined;
1160
- originalActionId?: string | undefined;
1294
+ }[] | [string, string] | null | undefined> | null | undefined;
1295
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1161
1296
  }, {
1162
1297
  type: "REJECT";
1163
1298
  id: string;
1164
1299
  status: "Rejected" | "Requested" | "Accepted";
1300
+ reason: {
1301
+ message: string;
1302
+ isDuplicate?: boolean | undefined;
1303
+ };
1165
1304
  transactionId: string;
1305
+ createdByUserType: "system" | "user";
1166
1306
  createdAt: string;
1167
1307
  createdBy: string;
1168
1308
  createdByRole: string;
@@ -1181,6 +1321,10 @@ export declare const EventDocument: z.ZodObject<{
1181
1321
  residentialArea?: string | null | undefined;
1182
1322
  street?: string | null | undefined;
1183
1323
  zipCode?: string | null | undefined;
1324
+ } | {
1325
+ firstname?: string | null | undefined;
1326
+ surname?: string | null | undefined;
1327
+ middlename?: string | null | undefined;
1184
1328
  } | {
1185
1329
  country: string;
1186
1330
  district: string;
@@ -1203,8 +1347,9 @@ export declare const EventDocument: z.ZodObject<{
1203
1347
  option: string;
1204
1348
  filename: string;
1205
1349
  originalFilename: string;
1206
- }[] | [string, string] | undefined>;
1207
- createdAtLocation: string;
1350
+ }[] | [string, string] | null | undefined>;
1351
+ createdBySignature?: string | null | undefined;
1352
+ createdAtLocation?: string | null | undefined;
1208
1353
  annotation?: Record<string, string | number | boolean | {
1209
1354
  type: string;
1210
1355
  filename: string;
@@ -1220,6 +1365,10 @@ export declare const EventDocument: z.ZodObject<{
1220
1365
  residentialArea?: string | null | undefined;
1221
1366
  street?: string | null | undefined;
1222
1367
  zipCode?: string | null | undefined;
1368
+ } | {
1369
+ firstname?: string | null | undefined;
1370
+ surname?: string | null | undefined;
1371
+ middlename?: string | null | undefined;
1223
1372
  } | {
1224
1373
  country: string;
1225
1374
  district: string;
@@ -1242,14 +1391,17 @@ export declare const EventDocument: z.ZodObject<{
1242
1391
  option: string;
1243
1392
  filename: string;
1244
1393
  originalFilename: string;
1245
- }[] | [string, string] | undefined> | undefined;
1246
- originalActionId?: string | undefined;
1394
+ }[] | [string, string] | null | undefined> | null | undefined;
1395
+ originalActionId?: string | null | undefined;
1247
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1248
- id: z.ZodString;
1397
+ id: z.ZodBranded<z.ZodString, "UUID">;
1249
1398
  transactionId: z.ZodString;
1399
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1250
1400
  createdAt: z.ZodString;
1251
1401
  createdBy: z.ZodString;
1252
1402
  createdByRole: z.ZodString;
1403
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1253
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<{
1254
1406
  filename: z.ZodString;
1255
1407
  originalFilename: z.ZodString;
@@ -1363,8 +1515,20 @@ export declare const EventDocument: z.ZodObject<{
1363
1515
  addressLine2?: string | null | undefined;
1364
1516
  addressLine3?: string | null | undefined;
1365
1517
  postcodeOrZip?: string | null | undefined;
1366
- }>]>>;
1367
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1368
1532
  filename: z.ZodString;
1369
1533
  originalFilename: z.ZodString;
1370
1534
  type: z.ZodString;
@@ -1477,17 +1641,29 @@ export declare const EventDocument: z.ZodObject<{
1477
1641
  addressLine2?: string | null | undefined;
1478
1642
  addressLine3?: string | null | undefined;
1479
1643
  postcodeOrZip?: string | null | undefined;
1480
- }>]>>>;
1481
- 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]>]>>>>;
1482
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1483
- originalActionId: z.ZodOptional<z.ZodString>;
1658
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1484
1659
  }, {
1485
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1486
1661
  }>, "strip", z.ZodTypeAny, {
1487
1662
  type: "MARKED_AS_DUPLICATE";
1488
- id: string;
1663
+ id: string & z.BRAND<"UUID">;
1489
1664
  status: "Rejected" | "Requested" | "Accepted";
1490
1665
  transactionId: string;
1666
+ createdByUserType: "system" | "user";
1491
1667
  createdAt: string;
1492
1668
  createdBy: string;
1493
1669
  createdByRole: string;
@@ -1506,6 +1682,10 @@ export declare const EventDocument: z.ZodObject<{
1506
1682
  residentialArea?: string | null | undefined;
1507
1683
  street?: string | null | undefined;
1508
1684
  zipCode?: string | null | undefined;
1685
+ } | {
1686
+ firstname?: string | null | undefined;
1687
+ surname?: string | null | undefined;
1688
+ middlename?: string | null | undefined;
1509
1689
  } | {
1510
1690
  country: string;
1511
1691
  district: string;
@@ -1528,8 +1708,9 @@ export declare const EventDocument: z.ZodObject<{
1528
1708
  option: string;
1529
1709
  filename: string;
1530
1710
  originalFilename: string;
1531
- }[] | [string, string] | undefined>;
1532
- createdAtLocation: string;
1711
+ }[] | [string, string] | null | undefined>;
1712
+ createdBySignature?: string | null | undefined;
1713
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1533
1714
  annotation?: Record<string, string | number | boolean | {
1534
1715
  type: string;
1535
1716
  filename: string;
@@ -1545,6 +1726,10 @@ export declare const EventDocument: z.ZodObject<{
1545
1726
  residentialArea?: string | null | undefined;
1546
1727
  street?: string | null | undefined;
1547
1728
  zipCode?: string | null | undefined;
1729
+ } | {
1730
+ firstname?: string | null | undefined;
1731
+ surname?: string | null | undefined;
1732
+ middlename?: string | null | undefined;
1548
1733
  } | {
1549
1734
  country: string;
1550
1735
  district: string;
@@ -1567,13 +1752,14 @@ export declare const EventDocument: z.ZodObject<{
1567
1752
  option: string;
1568
1753
  filename: string;
1569
1754
  originalFilename: string;
1570
- }[] | [string, string] | undefined> | undefined;
1571
- originalActionId?: string | undefined;
1755
+ }[] | [string, string] | null | undefined> | null | undefined;
1756
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1572
1757
  }, {
1573
1758
  type: "MARKED_AS_DUPLICATE";
1574
1759
  id: string;
1575
1760
  status: "Rejected" | "Requested" | "Accepted";
1576
1761
  transactionId: string;
1762
+ createdByUserType: "system" | "user";
1577
1763
  createdAt: string;
1578
1764
  createdBy: string;
1579
1765
  createdByRole: string;
@@ -1592,6 +1778,10 @@ export declare const EventDocument: z.ZodObject<{
1592
1778
  residentialArea?: string | null | undefined;
1593
1779
  street?: string | null | undefined;
1594
1780
  zipCode?: string | null | undefined;
1781
+ } | {
1782
+ firstname?: string | null | undefined;
1783
+ surname?: string | null | undefined;
1784
+ middlename?: string | null | undefined;
1595
1785
  } | {
1596
1786
  country: string;
1597
1787
  district: string;
@@ -1614,8 +1804,9 @@ export declare const EventDocument: z.ZodObject<{
1614
1804
  option: string;
1615
1805
  filename: string;
1616
1806
  originalFilename: string;
1617
- }[] | [string, string] | undefined>;
1618
- createdAtLocation: string;
1807
+ }[] | [string, string] | null | undefined>;
1808
+ createdBySignature?: string | null | undefined;
1809
+ createdAtLocation?: string | null | undefined;
1619
1810
  annotation?: Record<string, string | number | boolean | {
1620
1811
  type: string;
1621
1812
  filename: string;
@@ -1631,6 +1822,10 @@ export declare const EventDocument: z.ZodObject<{
1631
1822
  residentialArea?: string | null | undefined;
1632
1823
  street?: string | null | undefined;
1633
1824
  zipCode?: string | null | undefined;
1825
+ } | {
1826
+ firstname?: string | null | undefined;
1827
+ surname?: string | null | undefined;
1828
+ middlename?: string | null | undefined;
1634
1829
  } | {
1635
1830
  country: string;
1636
1831
  district: string;
@@ -1653,14 +1848,17 @@ export declare const EventDocument: z.ZodObject<{
1653
1848
  option: string;
1654
1849
  filename: string;
1655
1850
  originalFilename: string;
1656
- }[] | [string, string] | undefined> | undefined;
1657
- originalActionId?: string | undefined;
1851
+ }[] | [string, string] | null | undefined> | null | undefined;
1852
+ originalActionId?: string | null | undefined;
1658
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1659
- id: z.ZodString;
1854
+ id: z.ZodBranded<z.ZodString, "UUID">;
1660
1855
  transactionId: z.ZodString;
1856
+ createdByUserType: z.ZodEnum<["user", "system"]>;
1661
1857
  createdAt: z.ZodString;
1662
1858
  createdBy: z.ZodString;
1663
1859
  createdByRole: z.ZodString;
1860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1664
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<{
1665
1863
  filename: z.ZodString;
1666
1864
  originalFilename: z.ZodString;
@@ -1774,8 +1972,20 @@ export declare const EventDocument: z.ZodObject<{
1774
1972
  addressLine2?: string | null | undefined;
1775
1973
  addressLine3?: string | null | undefined;
1776
1974
  postcodeOrZip?: string | null | undefined;
1777
- }>]>>;
1778
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1779
1989
  filename: z.ZodString;
1780
1990
  originalFilename: z.ZodString;
1781
1991
  type: z.ZodString;
@@ -1888,17 +2098,43 @@ export declare const EventDocument: z.ZodObject<{
1888
2098
  addressLine2?: string | null | undefined;
1889
2099
  addressLine3?: string | null | undefined;
1890
2100
  postcodeOrZip?: string | null | undefined;
1891
- }>]>>>;
1892
- 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]>]>>>>;
1893
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1894
- originalActionId: z.ZodOptional<z.ZodString>;
2115
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1895
2116
  }, {
1896
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
+ }>;
1897
2128
  }>, "strip", z.ZodTypeAny, {
1898
2129
  type: "ARCHIVE";
1899
- id: string;
2130
+ id: string & z.BRAND<"UUID">;
1900
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
+ reason: {
2133
+ message: string;
2134
+ isDuplicate?: boolean | undefined;
2135
+ };
1901
2136
  transactionId: string;
2137
+ createdByUserType: "system" | "user";
1902
2138
  createdAt: string;
1903
2139
  createdBy: string;
1904
2140
  createdByRole: string;
@@ -1917,6 +2153,10 @@ export declare const EventDocument: z.ZodObject<{
1917
2153
  residentialArea?: string | null | undefined;
1918
2154
  street?: string | null | undefined;
1919
2155
  zipCode?: string | null | undefined;
2156
+ } | {
2157
+ firstname?: string | null | undefined;
2158
+ surname?: string | null | undefined;
2159
+ middlename?: string | null | undefined;
1920
2160
  } | {
1921
2161
  country: string;
1922
2162
  district: string;
@@ -1939,8 +2179,9 @@ export declare const EventDocument: z.ZodObject<{
1939
2179
  option: string;
1940
2180
  filename: string;
1941
2181
  originalFilename: string;
1942
- }[] | [string, string] | undefined>;
1943
- createdAtLocation: string;
2182
+ }[] | [string, string] | null | undefined>;
2183
+ createdBySignature?: string | null | undefined;
2184
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1944
2185
  annotation?: Record<string, string | number | boolean | {
1945
2186
  type: string;
1946
2187
  filename: string;
@@ -1956,6 +2197,10 @@ export declare const EventDocument: z.ZodObject<{
1956
2197
  residentialArea?: string | null | undefined;
1957
2198
  street?: string | null | undefined;
1958
2199
  zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname?: string | null | undefined;
2202
+ surname?: string | null | undefined;
2203
+ middlename?: string | null | undefined;
1959
2204
  } | {
1960
2205
  country: string;
1961
2206
  district: string;
@@ -1978,13 +2223,18 @@ export declare const EventDocument: z.ZodObject<{
1978
2223
  option: string;
1979
2224
  filename: string;
1980
2225
  originalFilename: string;
1981
- }[] | [string, string] | undefined> | undefined;
1982
- originalActionId?: string | undefined;
2226
+ }[] | [string, string] | null | undefined> | null | undefined;
2227
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1983
2228
  }, {
1984
2229
  type: "ARCHIVE";
1985
2230
  id: string;
1986
2231
  status: "Rejected" | "Requested" | "Accepted";
2232
+ reason: {
2233
+ message: string;
2234
+ isDuplicate?: boolean | undefined;
2235
+ };
1987
2236
  transactionId: string;
2237
+ createdByUserType: "system" | "user";
1988
2238
  createdAt: string;
1989
2239
  createdBy: string;
1990
2240
  createdByRole: string;
@@ -2003,6 +2253,10 @@ export declare const EventDocument: z.ZodObject<{
2003
2253
  residentialArea?: string | null | undefined;
2004
2254
  street?: string | null | undefined;
2005
2255
  zipCode?: string | null | undefined;
2256
+ } | {
2257
+ firstname?: string | null | undefined;
2258
+ surname?: string | null | undefined;
2259
+ middlename?: string | null | undefined;
2006
2260
  } | {
2007
2261
  country: string;
2008
2262
  district: string;
@@ -2025,8 +2279,9 @@ export declare const EventDocument: z.ZodObject<{
2025
2279
  option: string;
2026
2280
  filename: string;
2027
2281
  originalFilename: string;
2028
- }[] | [string, string] | undefined>;
2029
- createdAtLocation: string;
2282
+ }[] | [string, string] | null | undefined>;
2283
+ createdBySignature?: string | null | undefined;
2284
+ createdAtLocation?: string | null | undefined;
2030
2285
  annotation?: Record<string, string | number | boolean | {
2031
2286
  type: string;
2032
2287
  filename: string;
@@ -2042,6 +2297,10 @@ export declare const EventDocument: z.ZodObject<{
2042
2297
  residentialArea?: string | null | undefined;
2043
2298
  street?: string | null | undefined;
2044
2299
  zipCode?: string | null | undefined;
2300
+ } | {
2301
+ firstname?: string | null | undefined;
2302
+ surname?: string | null | undefined;
2303
+ middlename?: string | null | undefined;
2045
2304
  } | {
2046
2305
  country: string;
2047
2306
  district: string;
@@ -2064,14 +2323,17 @@ export declare const EventDocument: z.ZodObject<{
2064
2323
  option: string;
2065
2324
  filename: string;
2066
2325
  originalFilename: string;
2067
- }[] | [string, string] | undefined> | undefined;
2068
- originalActionId?: string | undefined;
2326
+ }[] | [string, string] | null | undefined> | null | undefined;
2327
+ originalActionId?: string | null | undefined;
2069
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2070
- id: z.ZodString;
2329
+ id: z.ZodBranded<z.ZodString, "UUID">;
2071
2330
  transactionId: z.ZodString;
2331
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2072
2332
  createdAt: z.ZodString;
2073
2333
  createdBy: z.ZodString;
2074
2334
  createdByRole: z.ZodString;
2335
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2075
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<{
2076
2338
  filename: z.ZodString;
2077
2339
  originalFilename: z.ZodString;
@@ -2185,8 +2447,20 @@ export declare const EventDocument: z.ZodObject<{
2185
2447
  addressLine2?: string | null | undefined;
2186
2448
  addressLine3?: string | null | undefined;
2187
2449
  postcodeOrZip?: string | null | undefined;
2188
- }>]>>;
2189
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2190
2464
  filename: z.ZodString;
2191
2465
  originalFilename: z.ZodString;
2192
2466
  type: z.ZodString;
@@ -2299,17 +2573,29 @@ export declare const EventDocument: z.ZodObject<{
2299
2573
  addressLine2?: string | null | undefined;
2300
2574
  addressLine3?: string | null | undefined;
2301
2575
  postcodeOrZip?: string | null | undefined;
2302
- }>]>>>;
2303
- 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]>]>>>>;
2304
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2305
- originalActionId: z.ZodOptional<z.ZodString>;
2590
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2306
2591
  }, {
2307
2592
  type: z.ZodLiteral<"NOTIFY">;
2308
2593
  }>, "strip", z.ZodTypeAny, {
2309
2594
  type: "NOTIFY";
2310
- id: string;
2595
+ id: string & z.BRAND<"UUID">;
2311
2596
  status: "Rejected" | "Requested" | "Accepted";
2312
2597
  transactionId: string;
2598
+ createdByUserType: "system" | "user";
2313
2599
  createdAt: string;
2314
2600
  createdBy: string;
2315
2601
  createdByRole: string;
@@ -2328,6 +2614,10 @@ export declare const EventDocument: z.ZodObject<{
2328
2614
  residentialArea?: string | null | undefined;
2329
2615
  street?: string | null | undefined;
2330
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname?: string | null | undefined;
2619
+ surname?: string | null | undefined;
2620
+ middlename?: string | null | undefined;
2331
2621
  } | {
2332
2622
  country: string;
2333
2623
  district: string;
@@ -2350,8 +2640,9 @@ export declare const EventDocument: z.ZodObject<{
2350
2640
  option: string;
2351
2641
  filename: string;
2352
2642
  originalFilename: string;
2353
- }[] | [string, string] | undefined>;
2354
- createdAtLocation: string;
2643
+ }[] | [string, string] | null | undefined>;
2644
+ createdBySignature?: string | null | undefined;
2645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2355
2646
  annotation?: Record<string, string | number | boolean | {
2356
2647
  type: string;
2357
2648
  filename: string;
@@ -2367,6 +2658,10 @@ export declare const EventDocument: z.ZodObject<{
2367
2658
  residentialArea?: string | null | undefined;
2368
2659
  street?: string | null | undefined;
2369
2660
  zipCode?: string | null | undefined;
2661
+ } | {
2662
+ firstname?: string | null | undefined;
2663
+ surname?: string | null | undefined;
2664
+ middlename?: string | null | undefined;
2370
2665
  } | {
2371
2666
  country: string;
2372
2667
  district: string;
@@ -2389,13 +2684,14 @@ export declare const EventDocument: z.ZodObject<{
2389
2684
  option: string;
2390
2685
  filename: string;
2391
2686
  originalFilename: string;
2392
- }[] | [string, string] | undefined> | undefined;
2393
- originalActionId?: string | undefined;
2687
+ }[] | [string, string] | null | undefined> | null | undefined;
2688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2394
2689
  }, {
2395
2690
  type: "NOTIFY";
2396
2691
  id: string;
2397
2692
  status: "Rejected" | "Requested" | "Accepted";
2398
2693
  transactionId: string;
2694
+ createdByUserType: "system" | "user";
2399
2695
  createdAt: string;
2400
2696
  createdBy: string;
2401
2697
  createdByRole: string;
@@ -2414,6 +2710,10 @@ export declare const EventDocument: z.ZodObject<{
2414
2710
  residentialArea?: string | null | undefined;
2415
2711
  street?: string | null | undefined;
2416
2712
  zipCode?: string | null | undefined;
2713
+ } | {
2714
+ firstname?: string | null | undefined;
2715
+ surname?: string | null | undefined;
2716
+ middlename?: string | null | undefined;
2417
2717
  } | {
2418
2718
  country: string;
2419
2719
  district: string;
@@ -2436,8 +2736,9 @@ export declare const EventDocument: z.ZodObject<{
2436
2736
  option: string;
2437
2737
  filename: string;
2438
2738
  originalFilename: string;
2439
- }[] | [string, string] | undefined>;
2440
- createdAtLocation: string;
2739
+ }[] | [string, string] | null | undefined>;
2740
+ createdBySignature?: string | null | undefined;
2741
+ createdAtLocation?: string | null | undefined;
2441
2742
  annotation?: Record<string, string | number | boolean | {
2442
2743
  type: string;
2443
2744
  filename: string;
@@ -2453,6 +2754,10 @@ export declare const EventDocument: z.ZodObject<{
2453
2754
  residentialArea?: string | null | undefined;
2454
2755
  street?: string | null | undefined;
2455
2756
  zipCode?: string | null | undefined;
2757
+ } | {
2758
+ firstname?: string | null | undefined;
2759
+ surname?: string | null | undefined;
2760
+ middlename?: string | null | undefined;
2456
2761
  } | {
2457
2762
  country: string;
2458
2763
  district: string;
@@ -2475,14 +2780,17 @@ export declare const EventDocument: z.ZodObject<{
2475
2780
  option: string;
2476
2781
  filename: string;
2477
2782
  originalFilename: string;
2478
- }[] | [string, string] | undefined> | undefined;
2479
- originalActionId?: string | undefined;
2783
+ }[] | [string, string] | null | undefined> | null | undefined;
2784
+ originalActionId?: string | null | undefined;
2480
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2481
- id: z.ZodString;
2786
+ id: z.ZodBranded<z.ZodString, "UUID">;
2482
2787
  transactionId: z.ZodString;
2788
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2483
2789
  createdAt: z.ZodString;
2484
2790
  createdBy: z.ZodString;
2485
2791
  createdByRole: z.ZodString;
2792
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2486
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<{
2487
2795
  filename: z.ZodString;
2488
2796
  originalFilename: z.ZodString;
@@ -2596,8 +2904,20 @@ export declare const EventDocument: z.ZodObject<{
2596
2904
  addressLine2?: string | null | undefined;
2597
2905
  addressLine3?: string | null | undefined;
2598
2906
  postcodeOrZip?: string | null | undefined;
2599
- }>]>>;
2600
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2601
2921
  filename: z.ZodString;
2602
2922
  originalFilename: z.ZodString;
2603
2923
  type: z.ZodString;
@@ -2710,18 +3030,30 @@ export declare const EventDocument: z.ZodObject<{
2710
3030
  addressLine2?: string | null | undefined;
2711
3031
  addressLine3?: string | null | undefined;
2712
3032
  postcodeOrZip?: string | null | undefined;
2713
- }>]>>>;
2714
- 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]>]>>>>;
2715
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2716
- originalActionId: z.ZodOptional<z.ZodString>;
3047
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2717
3048
  }, {
2718
3049
  type: z.ZodLiteral<"REGISTER">;
2719
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
2720
3051
  }>, "strip", z.ZodTypeAny, {
2721
3052
  type: "REGISTER";
2722
- id: string;
3053
+ id: string & z.BRAND<"UUID">;
2723
3054
  status: "Rejected" | "Requested" | "Accepted";
2724
3055
  transactionId: string;
3056
+ createdByUserType: "system" | "user";
2725
3057
  createdAt: string;
2726
3058
  createdBy: string;
2727
3059
  createdByRole: string;
@@ -2740,6 +3072,10 @@ export declare const EventDocument: z.ZodObject<{
2740
3072
  residentialArea?: string | null | undefined;
2741
3073
  street?: string | null | undefined;
2742
3074
  zipCode?: string | null | undefined;
3075
+ } | {
3076
+ firstname?: string | null | undefined;
3077
+ surname?: string | null | undefined;
3078
+ middlename?: string | null | undefined;
2743
3079
  } | {
2744
3080
  country: string;
2745
3081
  district: string;
@@ -2762,8 +3098,9 @@ export declare const EventDocument: z.ZodObject<{
2762
3098
  option: string;
2763
3099
  filename: string;
2764
3100
  originalFilename: string;
2765
- }[] | [string, string] | undefined>;
2766
- createdAtLocation: string;
3101
+ }[] | [string, string] | null | undefined>;
3102
+ createdBySignature?: string | null | undefined;
3103
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2767
3104
  annotation?: Record<string, string | number | boolean | {
2768
3105
  type: string;
2769
3106
  filename: string;
@@ -2779,6 +3116,10 @@ export declare const EventDocument: z.ZodObject<{
2779
3116
  residentialArea?: string | null | undefined;
2780
3117
  street?: string | null | undefined;
2781
3118
  zipCode?: string | null | undefined;
3119
+ } | {
3120
+ firstname?: string | null | undefined;
3121
+ surname?: string | null | undefined;
3122
+ middlename?: string | null | undefined;
2782
3123
  } | {
2783
3124
  country: string;
2784
3125
  district: string;
@@ -2801,14 +3142,15 @@ export declare const EventDocument: z.ZodObject<{
2801
3142
  option: string;
2802
3143
  filename: string;
2803
3144
  originalFilename: string;
2804
- }[] | [string, string] | undefined> | undefined;
2805
- originalActionId?: string | undefined;
3145
+ }[] | [string, string] | null | undefined> | null | undefined;
3146
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2806
3147
  registrationNumber?: string | undefined;
2807
3148
  }, {
2808
3149
  type: "REGISTER";
2809
3150
  id: string;
2810
3151
  status: "Rejected" | "Requested" | "Accepted";
2811
3152
  transactionId: string;
3153
+ createdByUserType: "system" | "user";
2812
3154
  createdAt: string;
2813
3155
  createdBy: string;
2814
3156
  createdByRole: string;
@@ -2827,6 +3169,10 @@ export declare const EventDocument: z.ZodObject<{
2827
3169
  residentialArea?: string | null | undefined;
2828
3170
  street?: string | null | undefined;
2829
3171
  zipCode?: string | null | undefined;
3172
+ } | {
3173
+ firstname?: string | null | undefined;
3174
+ surname?: string | null | undefined;
3175
+ middlename?: string | null | undefined;
2830
3176
  } | {
2831
3177
  country: string;
2832
3178
  district: string;
@@ -2849,8 +3195,9 @@ export declare const EventDocument: z.ZodObject<{
2849
3195
  option: string;
2850
3196
  filename: string;
2851
3197
  originalFilename: string;
2852
- }[] | [string, string] | undefined>;
2853
- createdAtLocation: string;
3198
+ }[] | [string, string] | null | undefined>;
3199
+ createdBySignature?: string | null | undefined;
3200
+ createdAtLocation?: string | null | undefined;
2854
3201
  annotation?: Record<string, string | number | boolean | {
2855
3202
  type: string;
2856
3203
  filename: string;
@@ -2866,6 +3213,10 @@ export declare const EventDocument: z.ZodObject<{
2866
3213
  residentialArea?: string | null | undefined;
2867
3214
  street?: string | null | undefined;
2868
3215
  zipCode?: string | null | undefined;
3216
+ } | {
3217
+ firstname?: string | null | undefined;
3218
+ surname?: string | null | undefined;
3219
+ middlename?: string | null | undefined;
2869
3220
  } | {
2870
3221
  country: string;
2871
3222
  district: string;
@@ -2888,15 +3239,18 @@ export declare const EventDocument: z.ZodObject<{
2888
3239
  option: string;
2889
3240
  filename: string;
2890
3241
  originalFilename: string;
2891
- }[] | [string, string] | undefined> | undefined;
2892
- originalActionId?: string | undefined;
3242
+ }[] | [string, string] | null | undefined> | null | undefined;
3243
+ originalActionId?: string | null | undefined;
2893
3244
  registrationNumber?: string | undefined;
2894
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2895
- id: z.ZodString;
3246
+ id: z.ZodBranded<z.ZodString, "UUID">;
2896
3247
  transactionId: z.ZodString;
3248
+ createdByUserType: z.ZodEnum<["user", "system"]>;
2897
3249
  createdAt: z.ZodString;
2898
3250
  createdBy: z.ZodString;
2899
3251
  createdByRole: z.ZodString;
3252
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2900
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<{
2901
3255
  filename: z.ZodString;
2902
3256
  originalFilename: z.ZodString;
@@ -3010,8 +3364,20 @@ export declare const EventDocument: z.ZodObject<{
3010
3364
  addressLine2?: string | null | undefined;
3011
3365
  addressLine3?: string | null | undefined;
3012
3366
  postcodeOrZip?: string | null | undefined;
3013
- }>]>>;
3014
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3015
3381
  filename: z.ZodString;
3016
3382
  originalFilename: z.ZodString;
3017
3383
  type: z.ZodString;
@@ -3124,17 +3490,29 @@ export declare const EventDocument: z.ZodObject<{
3124
3490
  addressLine2?: string | null | undefined;
3125
3491
  addressLine3?: string | null | undefined;
3126
3492
  postcodeOrZip?: string | null | undefined;
3127
- }>]>>>;
3128
- 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]>]>>>>;
3129
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3130
- originalActionId: z.ZodOptional<z.ZodString>;
3507
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3131
3508
  }, {
3132
3509
  type: z.ZodLiteral<"DECLARE">;
3133
3510
  }>, "strip", z.ZodTypeAny, {
3134
3511
  type: "DECLARE";
3135
- id: string;
3512
+ id: string & z.BRAND<"UUID">;
3136
3513
  status: "Rejected" | "Requested" | "Accepted";
3137
3514
  transactionId: string;
3515
+ createdByUserType: "system" | "user";
3138
3516
  createdAt: string;
3139
3517
  createdBy: string;
3140
3518
  createdByRole: string;
@@ -3153,6 +3531,10 @@ export declare const EventDocument: z.ZodObject<{
3153
3531
  residentialArea?: string | null | undefined;
3154
3532
  street?: string | null | undefined;
3155
3533
  zipCode?: string | null | undefined;
3534
+ } | {
3535
+ firstname?: string | null | undefined;
3536
+ surname?: string | null | undefined;
3537
+ middlename?: string | null | undefined;
3156
3538
  } | {
3157
3539
  country: string;
3158
3540
  district: string;
@@ -3175,8 +3557,9 @@ export declare const EventDocument: z.ZodObject<{
3175
3557
  option: string;
3176
3558
  filename: string;
3177
3559
  originalFilename: string;
3178
- }[] | [string, string] | undefined>;
3179
- createdAtLocation: string;
3560
+ }[] | [string, string] | null | undefined>;
3561
+ createdBySignature?: string | null | undefined;
3562
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3180
3563
  annotation?: Record<string, string | number | boolean | {
3181
3564
  type: string;
3182
3565
  filename: string;
@@ -3192,6 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
3192
3575
  residentialArea?: string | null | undefined;
3193
3576
  street?: string | null | undefined;
3194
3577
  zipCode?: string | null | undefined;
3578
+ } | {
3579
+ firstname?: string | null | undefined;
3580
+ surname?: string | null | undefined;
3581
+ middlename?: string | null | undefined;
3195
3582
  } | {
3196
3583
  country: string;
3197
3584
  district: string;
@@ -3214,13 +3601,14 @@ export declare const EventDocument: z.ZodObject<{
3214
3601
  option: string;
3215
3602
  filename: string;
3216
3603
  originalFilename: string;
3217
- }[] | [string, string] | undefined> | undefined;
3218
- originalActionId?: string | undefined;
3604
+ }[] | [string, string] | null | undefined> | null | undefined;
3605
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3219
3606
  }, {
3220
3607
  type: "DECLARE";
3221
3608
  id: string;
3222
3609
  status: "Rejected" | "Requested" | "Accepted";
3223
3610
  transactionId: string;
3611
+ createdByUserType: "system" | "user";
3224
3612
  createdAt: string;
3225
3613
  createdBy: string;
3226
3614
  createdByRole: string;
@@ -3239,6 +3627,10 @@ export declare const EventDocument: z.ZodObject<{
3239
3627
  residentialArea?: string | null | undefined;
3240
3628
  street?: string | null | undefined;
3241
3629
  zipCode?: string | null | undefined;
3630
+ } | {
3631
+ firstname?: string | null | undefined;
3632
+ surname?: string | null | undefined;
3633
+ middlename?: string | null | undefined;
3242
3634
  } | {
3243
3635
  country: string;
3244
3636
  district: string;
@@ -3261,8 +3653,9 @@ export declare const EventDocument: z.ZodObject<{
3261
3653
  option: string;
3262
3654
  filename: string;
3263
3655
  originalFilename: string;
3264
- }[] | [string, string] | undefined>;
3265
- createdAtLocation: string;
3656
+ }[] | [string, string] | null | undefined>;
3657
+ createdBySignature?: string | null | undefined;
3658
+ createdAtLocation?: string | null | undefined;
3266
3659
  annotation?: Record<string, string | number | boolean | {
3267
3660
  type: string;
3268
3661
  filename: string;
@@ -3278,6 +3671,10 @@ export declare const EventDocument: z.ZodObject<{
3278
3671
  residentialArea?: string | null | undefined;
3279
3672
  street?: string | null | undefined;
3280
3673
  zipCode?: string | null | undefined;
3674
+ } | {
3675
+ firstname?: string | null | undefined;
3676
+ surname?: string | null | undefined;
3677
+ middlename?: string | null | undefined;
3281
3678
  } | {
3282
3679
  country: string;
3283
3680
  district: string;
@@ -3300,14 +3697,17 @@ export declare const EventDocument: z.ZodObject<{
3300
3697
  option: string;
3301
3698
  filename: string;
3302
3699
  originalFilename: string;
3303
- }[] | [string, string] | undefined> | undefined;
3304
- originalActionId?: string | undefined;
3700
+ }[] | [string, string] | null | undefined> | null | undefined;
3701
+ originalActionId?: string | null | undefined;
3305
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3306
- id: z.ZodString;
3703
+ id: z.ZodBranded<z.ZodString, "UUID">;
3307
3704
  transactionId: z.ZodString;
3705
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3308
3706
  createdAt: z.ZodString;
3309
3707
  createdBy: z.ZodString;
3310
3708
  createdByRole: z.ZodString;
3709
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3311
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<{
3312
3712
  filename: z.ZodString;
3313
3713
  originalFilename: z.ZodString;
@@ -3421,8 +3821,20 @@ export declare const EventDocument: z.ZodObject<{
3421
3821
  addressLine2?: string | null | undefined;
3422
3822
  addressLine3?: string | null | undefined;
3423
3823
  postcodeOrZip?: string | null | undefined;
3424
- }>]>>;
3425
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3426
3838
  filename: z.ZodString;
3427
3839
  originalFilename: z.ZodString;
3428
3840
  type: z.ZodString;
@@ -3535,18 +3947,30 @@ export declare const EventDocument: z.ZodObject<{
3535
3947
  addressLine2?: string | null | undefined;
3536
3948
  addressLine3?: string | null | undefined;
3537
3949
  postcodeOrZip?: string | null | undefined;
3538
- }>]>>>;
3539
- 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]>]>>>>;
3540
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3541
- originalActionId: z.ZodOptional<z.ZodString>;
3964
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3542
3965
  }, {
3543
3966
  type: z.ZodLiteral<"ASSIGN">;
3544
3967
  assignedTo: z.ZodString;
3545
3968
  }>, "strip", z.ZodTypeAny, {
3546
3969
  type: "ASSIGN";
3547
- id: string;
3970
+ id: string & z.BRAND<"UUID">;
3548
3971
  status: "Rejected" | "Requested" | "Accepted";
3549
3972
  transactionId: string;
3973
+ createdByUserType: "system" | "user";
3550
3974
  createdAt: string;
3551
3975
  createdBy: string;
3552
3976
  createdByRole: string;
@@ -3565,6 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3565
3989
  residentialArea?: string | null | undefined;
3566
3990
  street?: string | null | undefined;
3567
3991
  zipCode?: string | null | undefined;
3992
+ } | {
3993
+ firstname?: string | null | undefined;
3994
+ surname?: string | null | undefined;
3995
+ middlename?: string | null | undefined;
3568
3996
  } | {
3569
3997
  country: string;
3570
3998
  district: string;
@@ -3587,9 +4015,10 @@ export declare const EventDocument: z.ZodObject<{
3587
4015
  option: string;
3588
4016
  filename: string;
3589
4017
  originalFilename: string;
3590
- }[] | [string, string] | undefined>;
3591
- createdAtLocation: string;
4018
+ }[] | [string, string] | null | undefined>;
3592
4019
  assignedTo: string;
4020
+ createdBySignature?: string | null | undefined;
4021
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3593
4022
  annotation?: Record<string, string | number | boolean | {
3594
4023
  type: string;
3595
4024
  filename: string;
@@ -3605,6 +4034,10 @@ export declare const EventDocument: z.ZodObject<{
3605
4034
  residentialArea?: string | null | undefined;
3606
4035
  street?: string | null | undefined;
3607
4036
  zipCode?: string | null | undefined;
4037
+ } | {
4038
+ firstname?: string | null | undefined;
4039
+ surname?: string | null | undefined;
4040
+ middlename?: string | null | undefined;
3608
4041
  } | {
3609
4042
  country: string;
3610
4043
  district: string;
@@ -3627,13 +4060,14 @@ export declare const EventDocument: z.ZodObject<{
3627
4060
  option: string;
3628
4061
  filename: string;
3629
4062
  originalFilename: string;
3630
- }[] | [string, string] | undefined> | undefined;
3631
- originalActionId?: string | undefined;
4063
+ }[] | [string, string] | null | undefined> | null | undefined;
4064
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3632
4065
  }, {
3633
4066
  type: "ASSIGN";
3634
4067
  id: string;
3635
4068
  status: "Rejected" | "Requested" | "Accepted";
3636
4069
  transactionId: string;
4070
+ createdByUserType: "system" | "user";
3637
4071
  createdAt: string;
3638
4072
  createdBy: string;
3639
4073
  createdByRole: string;
@@ -3652,6 +4086,10 @@ export declare const EventDocument: z.ZodObject<{
3652
4086
  residentialArea?: string | null | undefined;
3653
4087
  street?: string | null | undefined;
3654
4088
  zipCode?: string | null | undefined;
4089
+ } | {
4090
+ firstname?: string | null | undefined;
4091
+ surname?: string | null | undefined;
4092
+ middlename?: string | null | undefined;
3655
4093
  } | {
3656
4094
  country: string;
3657
4095
  district: string;
@@ -3674,9 +4112,10 @@ export declare const EventDocument: z.ZodObject<{
3674
4112
  option: string;
3675
4113
  filename: string;
3676
4114
  originalFilename: string;
3677
- }[] | [string, string] | undefined>;
3678
- createdAtLocation: string;
4115
+ }[] | [string, string] | null | undefined>;
3679
4116
  assignedTo: string;
4117
+ createdBySignature?: string | null | undefined;
4118
+ createdAtLocation?: string | null | undefined;
3680
4119
  annotation?: Record<string, string | number | boolean | {
3681
4120
  type: string;
3682
4121
  filename: string;
@@ -3692,6 +4131,10 @@ export declare const EventDocument: z.ZodObject<{
3692
4131
  residentialArea?: string | null | undefined;
3693
4132
  street?: string | null | undefined;
3694
4133
  zipCode?: string | null | undefined;
4134
+ } | {
4135
+ firstname?: string | null | undefined;
4136
+ surname?: string | null | undefined;
4137
+ middlename?: string | null | undefined;
3695
4138
  } | {
3696
4139
  country: string;
3697
4140
  district: string;
@@ -3714,14 +4157,17 @@ export declare const EventDocument: z.ZodObject<{
3714
4157
  option: string;
3715
4158
  filename: string;
3716
4159
  originalFilename: string;
3717
- }[] | [string, string] | undefined> | undefined;
3718
- originalActionId?: string | undefined;
4160
+ }[] | [string, string] | null | undefined> | null | undefined;
4161
+ originalActionId?: string | null | undefined;
3719
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3720
- id: z.ZodString;
4163
+ id: z.ZodBranded<z.ZodString, "UUID">;
3721
4164
  transactionId: z.ZodString;
4165
+ createdByUserType: z.ZodEnum<["user", "system"]>;
3722
4166
  createdAt: z.ZodString;
3723
4167
  createdBy: z.ZodString;
3724
4168
  createdByRole: z.ZodString;
4169
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3725
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<{
3726
4172
  filename: z.ZodString;
3727
4173
  originalFilename: z.ZodString;
@@ -3835,8 +4281,20 @@ export declare const EventDocument: z.ZodObject<{
3835
4281
  addressLine2?: string | null | undefined;
3836
4282
  addressLine3?: string | null | undefined;
3837
4283
  postcodeOrZip?: string | null | undefined;
3838
- }>]>>;
3839
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3840
4298
  filename: z.ZodString;
3841
4299
  originalFilename: z.ZodString;
3842
4300
  type: z.ZodString;
@@ -3949,17 +4407,29 @@ export declare const EventDocument: z.ZodObject<{
3949
4407
  addressLine2?: string | null | undefined;
3950
4408
  addressLine3?: string | null | undefined;
3951
4409
  postcodeOrZip?: string | null | undefined;
3952
- }>]>>>;
3953
- 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]>]>>>>;
3954
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3955
- originalActionId: z.ZodOptional<z.ZodString>;
4424
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3956
4425
  }, {
3957
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
3958
4427
  }>, "strip", z.ZodTypeAny, {
3959
4428
  type: "REQUEST_CORRECTION";
3960
- id: string;
4429
+ id: string & z.BRAND<"UUID">;
3961
4430
  status: "Rejected" | "Requested" | "Accepted";
3962
4431
  transactionId: string;
4432
+ createdByUserType: "system" | "user";
3963
4433
  createdAt: string;
3964
4434
  createdBy: string;
3965
4435
  createdByRole: string;
@@ -3978,6 +4448,10 @@ export declare const EventDocument: z.ZodObject<{
3978
4448
  residentialArea?: string | null | undefined;
3979
4449
  street?: string | null | undefined;
3980
4450
  zipCode?: string | null | undefined;
4451
+ } | {
4452
+ firstname?: string | null | undefined;
4453
+ surname?: string | null | undefined;
4454
+ middlename?: string | null | undefined;
3981
4455
  } | {
3982
4456
  country: string;
3983
4457
  district: string;
@@ -4000,8 +4474,9 @@ export declare const EventDocument: z.ZodObject<{
4000
4474
  option: string;
4001
4475
  filename: string;
4002
4476
  originalFilename: string;
4003
- }[] | [string, string] | undefined>;
4004
- createdAtLocation: string;
4477
+ }[] | [string, string] | null | undefined>;
4478
+ createdBySignature?: string | null | undefined;
4479
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4005
4480
  annotation?: Record<string, string | number | boolean | {
4006
4481
  type: string;
4007
4482
  filename: string;
@@ -4017,6 +4492,10 @@ export declare const EventDocument: z.ZodObject<{
4017
4492
  residentialArea?: string | null | undefined;
4018
4493
  street?: string | null | undefined;
4019
4494
  zipCode?: string | null | undefined;
4495
+ } | {
4496
+ firstname?: string | null | undefined;
4497
+ surname?: string | null | undefined;
4498
+ middlename?: string | null | undefined;
4020
4499
  } | {
4021
4500
  country: string;
4022
4501
  district: string;
@@ -4039,13 +4518,14 @@ export declare const EventDocument: z.ZodObject<{
4039
4518
  option: string;
4040
4519
  filename: string;
4041
4520
  originalFilename: string;
4042
- }[] | [string, string] | undefined> | undefined;
4043
- originalActionId?: string | undefined;
4521
+ }[] | [string, string] | null | undefined> | null | undefined;
4522
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4044
4523
  }, {
4045
4524
  type: "REQUEST_CORRECTION";
4046
4525
  id: string;
4047
4526
  status: "Rejected" | "Requested" | "Accepted";
4048
4527
  transactionId: string;
4528
+ createdByUserType: "system" | "user";
4049
4529
  createdAt: string;
4050
4530
  createdBy: string;
4051
4531
  createdByRole: string;
@@ -4064,6 +4544,10 @@ export declare const EventDocument: z.ZodObject<{
4064
4544
  residentialArea?: string | null | undefined;
4065
4545
  street?: string | null | undefined;
4066
4546
  zipCode?: string | null | undefined;
4547
+ } | {
4548
+ firstname?: string | null | undefined;
4549
+ surname?: string | null | undefined;
4550
+ middlename?: string | null | undefined;
4067
4551
  } | {
4068
4552
  country: string;
4069
4553
  district: string;
@@ -4086,8 +4570,9 @@ export declare const EventDocument: z.ZodObject<{
4086
4570
  option: string;
4087
4571
  filename: string;
4088
4572
  originalFilename: string;
4089
- }[] | [string, string] | undefined>;
4090
- createdAtLocation: string;
4573
+ }[] | [string, string] | null | undefined>;
4574
+ createdBySignature?: string | null | undefined;
4575
+ createdAtLocation?: string | null | undefined;
4091
4576
  annotation?: Record<string, string | number | boolean | {
4092
4577
  type: string;
4093
4578
  filename: string;
@@ -4103,6 +4588,10 @@ export declare const EventDocument: z.ZodObject<{
4103
4588
  residentialArea?: string | null | undefined;
4104
4589
  street?: string | null | undefined;
4105
4590
  zipCode?: string | null | undefined;
4591
+ } | {
4592
+ firstname?: string | null | undefined;
4593
+ surname?: string | null | undefined;
4594
+ middlename?: string | null | undefined;
4106
4595
  } | {
4107
4596
  country: string;
4108
4597
  district: string;
@@ -4125,14 +4614,17 @@ export declare const EventDocument: z.ZodObject<{
4125
4614
  option: string;
4126
4615
  filename: string;
4127
4616
  originalFilename: string;
4128
- }[] | [string, string] | undefined> | undefined;
4129
- originalActionId?: string | undefined;
4617
+ }[] | [string, string] | null | undefined> | null | undefined;
4618
+ originalActionId?: string | null | undefined;
4130
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4131
- id: z.ZodString;
4620
+ id: z.ZodBranded<z.ZodString, "UUID">;
4132
4621
  transactionId: z.ZodString;
4622
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4133
4623
  createdAt: z.ZodString;
4134
4624
  createdBy: z.ZodString;
4135
4625
  createdByRole: z.ZodString;
4626
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4136
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<{
4137
4629
  filename: z.ZodString;
4138
4630
  originalFilename: z.ZodString;
@@ -4246,8 +4738,20 @@ export declare const EventDocument: z.ZodObject<{
4246
4738
  addressLine2?: string | null | undefined;
4247
4739
  addressLine3?: string | null | undefined;
4248
4740
  postcodeOrZip?: string | null | undefined;
4249
- }>]>>;
4250
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4251
4755
  filename: z.ZodString;
4252
4756
  originalFilename: z.ZodString;
4253
4757
  type: z.ZodString;
@@ -4360,18 +4864,30 @@ export declare const EventDocument: z.ZodObject<{
4360
4864
  addressLine2?: string | null | undefined;
4361
4865
  addressLine3?: string | null | undefined;
4362
4866
  postcodeOrZip?: string | null | undefined;
4363
- }>]>>>;
4364
- 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]>]>>>>;
4365
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4366
- originalActionId: z.ZodOptional<z.ZodString>;
4881
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4367
4882
  }, {
4368
4883
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4369
4884
  requestId: z.ZodString;
4370
4885
  }>, "strip", z.ZodTypeAny, {
4371
4886
  type: "APPROVE_CORRECTION";
4372
- id: string;
4887
+ id: string & z.BRAND<"UUID">;
4373
4888
  status: "Rejected" | "Requested" | "Accepted";
4374
4889
  transactionId: string;
4890
+ createdByUserType: "system" | "user";
4375
4891
  createdAt: string;
4376
4892
  createdBy: string;
4377
4893
  createdByRole: string;
@@ -4390,6 +4906,10 @@ export declare const EventDocument: z.ZodObject<{
4390
4906
  residentialArea?: string | null | undefined;
4391
4907
  street?: string | null | undefined;
4392
4908
  zipCode?: string | null | undefined;
4909
+ } | {
4910
+ firstname?: string | null | undefined;
4911
+ surname?: string | null | undefined;
4912
+ middlename?: string | null | undefined;
4393
4913
  } | {
4394
4914
  country: string;
4395
4915
  district: string;
@@ -4412,9 +4932,10 @@ export declare const EventDocument: z.ZodObject<{
4412
4932
  option: string;
4413
4933
  filename: string;
4414
4934
  originalFilename: string;
4415
- }[] | [string, string] | undefined>;
4416
- createdAtLocation: string;
4935
+ }[] | [string, string] | null | undefined>;
4417
4936
  requestId: string;
4937
+ createdBySignature?: string | null | undefined;
4938
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4418
4939
  annotation?: Record<string, string | number | boolean | {
4419
4940
  type: string;
4420
4941
  filename: string;
@@ -4430,6 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4430
4951
  residentialArea?: string | null | undefined;
4431
4952
  street?: string | null | undefined;
4432
4953
  zipCode?: string | null | undefined;
4954
+ } | {
4955
+ firstname?: string | null | undefined;
4956
+ surname?: string | null | undefined;
4957
+ middlename?: string | null | undefined;
4433
4958
  } | {
4434
4959
  country: string;
4435
4960
  district: string;
@@ -4452,13 +4977,14 @@ export declare const EventDocument: z.ZodObject<{
4452
4977
  option: string;
4453
4978
  filename: string;
4454
4979
  originalFilename: string;
4455
- }[] | [string, string] | undefined> | undefined;
4456
- originalActionId?: string | undefined;
4980
+ }[] | [string, string] | null | undefined> | null | undefined;
4981
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4457
4982
  }, {
4458
4983
  type: "APPROVE_CORRECTION";
4459
4984
  id: string;
4460
4985
  status: "Rejected" | "Requested" | "Accepted";
4461
4986
  transactionId: string;
4987
+ createdByUserType: "system" | "user";
4462
4988
  createdAt: string;
4463
4989
  createdBy: string;
4464
4990
  createdByRole: string;
@@ -4477,6 +5003,10 @@ export declare const EventDocument: z.ZodObject<{
4477
5003
  residentialArea?: string | null | undefined;
4478
5004
  street?: string | null | undefined;
4479
5005
  zipCode?: string | null | undefined;
5006
+ } | {
5007
+ firstname?: string | null | undefined;
5008
+ surname?: string | null | undefined;
5009
+ middlename?: string | null | undefined;
4480
5010
  } | {
4481
5011
  country: string;
4482
5012
  district: string;
@@ -4499,9 +5029,10 @@ export declare const EventDocument: z.ZodObject<{
4499
5029
  option: string;
4500
5030
  filename: string;
4501
5031
  originalFilename: string;
4502
- }[] | [string, string] | undefined>;
4503
- createdAtLocation: string;
5032
+ }[] | [string, string] | null | undefined>;
4504
5033
  requestId: string;
5034
+ createdBySignature?: string | null | undefined;
5035
+ createdAtLocation?: string | null | undefined;
4505
5036
  annotation?: Record<string, string | number | boolean | {
4506
5037
  type: string;
4507
5038
  filename: string;
@@ -4517,6 +5048,10 @@ export declare const EventDocument: z.ZodObject<{
4517
5048
  residentialArea?: string | null | undefined;
4518
5049
  street?: string | null | undefined;
4519
5050
  zipCode?: string | null | undefined;
5051
+ } | {
5052
+ firstname?: string | null | undefined;
5053
+ surname?: string | null | undefined;
5054
+ middlename?: string | null | undefined;
4520
5055
  } | {
4521
5056
  country: string;
4522
5057
  district: string;
@@ -4539,14 +5074,17 @@ export declare const EventDocument: z.ZodObject<{
4539
5074
  option: string;
4540
5075
  filename: string;
4541
5076
  originalFilename: string;
4542
- }[] | [string, string] | undefined> | undefined;
4543
- originalActionId?: string | undefined;
5077
+ }[] | [string, string] | null | undefined> | null | undefined;
5078
+ originalActionId?: string | null | undefined;
4544
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4545
- id: z.ZodString;
5080
+ id: z.ZodBranded<z.ZodString, "UUID">;
4546
5081
  transactionId: z.ZodString;
5082
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4547
5083
  createdAt: z.ZodString;
4548
5084
  createdBy: z.ZodString;
4549
5085
  createdByRole: z.ZodString;
5086
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4550
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<{
4551
5089
  filename: z.ZodString;
4552
5090
  originalFilename: z.ZodString;
@@ -4660,8 +5198,20 @@ export declare const EventDocument: z.ZodObject<{
4660
5198
  addressLine2?: string | null | undefined;
4661
5199
  addressLine3?: string | null | undefined;
4662
5200
  postcodeOrZip?: string | null | undefined;
4663
- }>]>>;
4664
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4665
5215
  filename: z.ZodString;
4666
5216
  originalFilename: z.ZodString;
4667
5217
  type: z.ZodString;
@@ -4774,18 +5324,30 @@ export declare const EventDocument: z.ZodObject<{
4774
5324
  addressLine2?: string | null | undefined;
4775
5325
  addressLine3?: string | null | undefined;
4776
5326
  postcodeOrZip?: string | null | undefined;
4777
- }>]>>>;
4778
- 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]>]>>>>;
4779
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4780
- originalActionId: z.ZodOptional<z.ZodString>;
5341
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4781
5342
  }, {
4782
5343
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4783
5344
  requestId: z.ZodString;
4784
5345
  }>, "strip", z.ZodTypeAny, {
4785
5346
  type: "REJECT_CORRECTION";
4786
- id: string;
5347
+ id: string & z.BRAND<"UUID">;
4787
5348
  status: "Rejected" | "Requested" | "Accepted";
4788
5349
  transactionId: string;
5350
+ createdByUserType: "system" | "user";
4789
5351
  createdAt: string;
4790
5352
  createdBy: string;
4791
5353
  createdByRole: string;
@@ -4804,6 +5366,10 @@ export declare const EventDocument: z.ZodObject<{
4804
5366
  residentialArea?: string | null | undefined;
4805
5367
  street?: string | null | undefined;
4806
5368
  zipCode?: string | null | undefined;
5369
+ } | {
5370
+ firstname?: string | null | undefined;
5371
+ surname?: string | null | undefined;
5372
+ middlename?: string | null | undefined;
4807
5373
  } | {
4808
5374
  country: string;
4809
5375
  district: string;
@@ -4826,9 +5392,10 @@ export declare const EventDocument: z.ZodObject<{
4826
5392
  option: string;
4827
5393
  filename: string;
4828
5394
  originalFilename: string;
4829
- }[] | [string, string] | undefined>;
4830
- createdAtLocation: string;
5395
+ }[] | [string, string] | null | undefined>;
4831
5396
  requestId: string;
5397
+ createdBySignature?: string | null | undefined;
5398
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4832
5399
  annotation?: Record<string, string | number | boolean | {
4833
5400
  type: string;
4834
5401
  filename: string;
@@ -4844,6 +5411,10 @@ export declare const EventDocument: z.ZodObject<{
4844
5411
  residentialArea?: string | null | undefined;
4845
5412
  street?: string | null | undefined;
4846
5413
  zipCode?: string | null | undefined;
5414
+ } | {
5415
+ firstname?: string | null | undefined;
5416
+ surname?: string | null | undefined;
5417
+ middlename?: string | null | undefined;
4847
5418
  } | {
4848
5419
  country: string;
4849
5420
  district: string;
@@ -4866,13 +5437,14 @@ export declare const EventDocument: z.ZodObject<{
4866
5437
  option: string;
4867
5438
  filename: string;
4868
5439
  originalFilename: string;
4869
- }[] | [string, string] | undefined> | undefined;
4870
- originalActionId?: string | undefined;
5440
+ }[] | [string, string] | null | undefined> | null | undefined;
5441
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4871
5442
  }, {
4872
5443
  type: "REJECT_CORRECTION";
4873
5444
  id: string;
4874
5445
  status: "Rejected" | "Requested" | "Accepted";
4875
5446
  transactionId: string;
5447
+ createdByUserType: "system" | "user";
4876
5448
  createdAt: string;
4877
5449
  createdBy: string;
4878
5450
  createdByRole: string;
@@ -4891,6 +5463,10 @@ export declare const EventDocument: z.ZodObject<{
4891
5463
  residentialArea?: string | null | undefined;
4892
5464
  street?: string | null | undefined;
4893
5465
  zipCode?: string | null | undefined;
5466
+ } | {
5467
+ firstname?: string | null | undefined;
5468
+ surname?: string | null | undefined;
5469
+ middlename?: string | null | undefined;
4894
5470
  } | {
4895
5471
  country: string;
4896
5472
  district: string;
@@ -4913,9 +5489,10 @@ export declare const EventDocument: z.ZodObject<{
4913
5489
  option: string;
4914
5490
  filename: string;
4915
5491
  originalFilename: string;
4916
- }[] | [string, string] | undefined>;
4917
- createdAtLocation: string;
5492
+ }[] | [string, string] | null | undefined>;
4918
5493
  requestId: string;
5494
+ createdBySignature?: string | null | undefined;
5495
+ createdAtLocation?: string | null | undefined;
4919
5496
  annotation?: Record<string, string | number | boolean | {
4920
5497
  type: string;
4921
5498
  filename: string;
@@ -4931,6 +5508,10 @@ export declare const EventDocument: z.ZodObject<{
4931
5508
  residentialArea?: string | null | undefined;
4932
5509
  street?: string | null | undefined;
4933
5510
  zipCode?: string | null | undefined;
5511
+ } | {
5512
+ firstname?: string | null | undefined;
5513
+ surname?: string | null | undefined;
5514
+ middlename?: string | null | undefined;
4934
5515
  } | {
4935
5516
  country: string;
4936
5517
  district: string;
@@ -4953,14 +5534,17 @@ export declare const EventDocument: z.ZodObject<{
4953
5534
  option: string;
4954
5535
  filename: string;
4955
5536
  originalFilename: string;
4956
- }[] | [string, string] | undefined> | undefined;
4957
- originalActionId?: string | undefined;
5537
+ }[] | [string, string] | null | undefined> | null | undefined;
5538
+ originalActionId?: string | null | undefined;
4958
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
4959
- id: z.ZodString;
5540
+ id: z.ZodBranded<z.ZodString, "UUID">;
4960
5541
  transactionId: z.ZodString;
5542
+ createdByUserType: z.ZodEnum<["user", "system"]>;
4961
5543
  createdAt: z.ZodString;
4962
5544
  createdBy: z.ZodString;
4963
5545
  createdByRole: z.ZodString;
5546
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4964
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<{
4965
5549
  filename: z.ZodString;
4966
5550
  originalFilename: z.ZodString;
@@ -5074,8 +5658,20 @@ export declare const EventDocument: z.ZodObject<{
5074
5658
  addressLine2?: string | null | undefined;
5075
5659
  addressLine3?: string | null | undefined;
5076
5660
  postcodeOrZip?: string | null | undefined;
5077
- }>]>>;
5078
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5079
5675
  filename: z.ZodString;
5080
5676
  originalFilename: z.ZodString;
5081
5677
  type: z.ZodString;
@@ -5188,18 +5784,29 @@ export declare const EventDocument: z.ZodObject<{
5188
5784
  addressLine2?: string | null | undefined;
5189
5785
  addressLine3?: string | null | undefined;
5190
5786
  postcodeOrZip?: string | null | undefined;
5191
- }>]>>>;
5192
- 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]>]>>>>;
5193
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5194
- originalActionId: z.ZodOptional<z.ZodString>;
5801
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5195
5802
  }, {
5196
5803
  type: z.ZodLiteral<"UNASSIGN">;
5197
- assignedTo: z.ZodLiteral<null>;
5198
5804
  }>, "strip", z.ZodTypeAny, {
5199
5805
  type: "UNASSIGN";
5200
- id: string;
5806
+ id: string & z.BRAND<"UUID">;
5201
5807
  status: "Rejected" | "Requested" | "Accepted";
5202
5808
  transactionId: string;
5809
+ createdByUserType: "system" | "user";
5203
5810
  createdAt: string;
5204
5811
  createdBy: string;
5205
5812
  createdByRole: string;
@@ -5218,6 +5825,10 @@ export declare const EventDocument: z.ZodObject<{
5218
5825
  residentialArea?: string | null | undefined;
5219
5826
  street?: string | null | undefined;
5220
5827
  zipCode?: string | null | undefined;
5828
+ } | {
5829
+ firstname?: string | null | undefined;
5830
+ surname?: string | null | undefined;
5831
+ middlename?: string | null | undefined;
5221
5832
  } | {
5222
5833
  country: string;
5223
5834
  district: string;
@@ -5240,9 +5851,9 @@ export declare const EventDocument: z.ZodObject<{
5240
5851
  option: string;
5241
5852
  filename: string;
5242
5853
  originalFilename: string;
5243
- }[] | [string, string] | undefined>;
5244
- createdAtLocation: string;
5245
- assignedTo: null;
5854
+ }[] | [string, string] | null | undefined>;
5855
+ createdBySignature?: string | null | undefined;
5856
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5246
5857
  annotation?: Record<string, string | number | boolean | {
5247
5858
  type: string;
5248
5859
  filename: string;
@@ -5258,6 +5869,10 @@ export declare const EventDocument: z.ZodObject<{
5258
5869
  residentialArea?: string | null | undefined;
5259
5870
  street?: string | null | undefined;
5260
5871
  zipCode?: string | null | undefined;
5872
+ } | {
5873
+ firstname?: string | null | undefined;
5874
+ surname?: string | null | undefined;
5875
+ middlename?: string | null | undefined;
5261
5876
  } | {
5262
5877
  country: string;
5263
5878
  district: string;
@@ -5280,13 +5895,14 @@ export declare const EventDocument: z.ZodObject<{
5280
5895
  option: string;
5281
5896
  filename: string;
5282
5897
  originalFilename: string;
5283
- }[] | [string, string] | undefined> | undefined;
5284
- originalActionId?: string | undefined;
5898
+ }[] | [string, string] | null | undefined> | null | undefined;
5899
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5285
5900
  }, {
5286
5901
  type: "UNASSIGN";
5287
5902
  id: string;
5288
5903
  status: "Rejected" | "Requested" | "Accepted";
5289
5904
  transactionId: string;
5905
+ createdByUserType: "system" | "user";
5290
5906
  createdAt: string;
5291
5907
  createdBy: string;
5292
5908
  createdByRole: string;
@@ -5305,6 +5921,10 @@ export declare const EventDocument: z.ZodObject<{
5305
5921
  residentialArea?: string | null | undefined;
5306
5922
  street?: string | null | undefined;
5307
5923
  zipCode?: string | null | undefined;
5924
+ } | {
5925
+ firstname?: string | null | undefined;
5926
+ surname?: string | null | undefined;
5927
+ middlename?: string | null | undefined;
5308
5928
  } | {
5309
5929
  country: string;
5310
5930
  district: string;
@@ -5327,9 +5947,9 @@ export declare const EventDocument: z.ZodObject<{
5327
5947
  option: string;
5328
5948
  filename: string;
5329
5949
  originalFilename: string;
5330
- }[] | [string, string] | undefined>;
5331
- createdAtLocation: string;
5332
- assignedTo: null;
5950
+ }[] | [string, string] | null | undefined>;
5951
+ createdBySignature?: string | null | undefined;
5952
+ createdAtLocation?: string | null | undefined;
5333
5953
  annotation?: Record<string, string | number | boolean | {
5334
5954
  type: string;
5335
5955
  filename: string;
@@ -5345,6 +5965,10 @@ export declare const EventDocument: z.ZodObject<{
5345
5965
  residentialArea?: string | null | undefined;
5346
5966
  street?: string | null | undefined;
5347
5967
  zipCode?: string | null | undefined;
5968
+ } | {
5969
+ firstname?: string | null | undefined;
5970
+ surname?: string | null | undefined;
5971
+ middlename?: string | null | undefined;
5348
5972
  } | {
5349
5973
  country: string;
5350
5974
  district: string;
@@ -5367,14 +5991,17 @@ export declare const EventDocument: z.ZodObject<{
5367
5991
  option: string;
5368
5992
  filename: string;
5369
5993
  originalFilename: string;
5370
- }[] | [string, string] | undefined> | undefined;
5371
- originalActionId?: string | undefined;
5994
+ }[] | [string, string] | null | undefined> | null | undefined;
5995
+ originalActionId?: string | null | undefined;
5372
5996
  }>, z.ZodObject<z.objectUtil.extendShape<{
5373
- id: z.ZodString;
5997
+ id: z.ZodBranded<z.ZodString, "UUID">;
5374
5998
  transactionId: z.ZodString;
5999
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5375
6000
  createdAt: z.ZodString;
5376
6001
  createdBy: z.ZodString;
5377
6002
  createdByRole: z.ZodString;
6003
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5378
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<{
5379
6006
  filename: z.ZodString;
5380
6007
  originalFilename: z.ZodString;
@@ -5488,8 +6115,20 @@ export declare const EventDocument: z.ZodObject<{
5488
6115
  addressLine2?: string | null | undefined;
5489
6116
  addressLine3?: string | null | undefined;
5490
6117
  postcodeOrZip?: string | null | undefined;
5491
- }>]>>;
5492
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5493
6132
  filename: z.ZodString;
5494
6133
  originalFilename: z.ZodString;
5495
6134
  type: z.ZodString;
@@ -5602,17 +6241,29 @@ export declare const EventDocument: z.ZodObject<{
5602
6241
  addressLine2?: string | null | undefined;
5603
6242
  addressLine3?: string | null | undefined;
5604
6243
  postcodeOrZip?: string | null | undefined;
5605
- }>]>>>;
5606
- 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]>]>>>>;
5607
6257
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5608
- originalActionId: z.ZodOptional<z.ZodString>;
6258
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5609
6259
  }, {
5610
6260
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5611
6261
  }>, "strip", z.ZodTypeAny, {
5612
6262
  type: "PRINT_CERTIFICATE";
5613
- id: string;
6263
+ id: string & z.BRAND<"UUID">;
5614
6264
  status: "Rejected" | "Requested" | "Accepted";
5615
6265
  transactionId: string;
6266
+ createdByUserType: "system" | "user";
5616
6267
  createdAt: string;
5617
6268
  createdBy: string;
5618
6269
  createdByRole: string;
@@ -5631,6 +6282,10 @@ export declare const EventDocument: z.ZodObject<{
5631
6282
  residentialArea?: string | null | undefined;
5632
6283
  street?: string | null | undefined;
5633
6284
  zipCode?: string | null | undefined;
6285
+ } | {
6286
+ firstname?: string | null | undefined;
6287
+ surname?: string | null | undefined;
6288
+ middlename?: string | null | undefined;
5634
6289
  } | {
5635
6290
  country: string;
5636
6291
  district: string;
@@ -5653,8 +6308,9 @@ export declare const EventDocument: z.ZodObject<{
5653
6308
  option: string;
5654
6309
  filename: string;
5655
6310
  originalFilename: string;
5656
- }[] | [string, string] | undefined>;
5657
- createdAtLocation: string;
6311
+ }[] | [string, string] | null | undefined>;
6312
+ createdBySignature?: string | null | undefined;
6313
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5658
6314
  annotation?: Record<string, string | number | boolean | {
5659
6315
  type: string;
5660
6316
  filename: string;
@@ -5670,6 +6326,10 @@ export declare const EventDocument: z.ZodObject<{
5670
6326
  residentialArea?: string | null | undefined;
5671
6327
  street?: string | null | undefined;
5672
6328
  zipCode?: string | null | undefined;
6329
+ } | {
6330
+ firstname?: string | null | undefined;
6331
+ surname?: string | null | undefined;
6332
+ middlename?: string | null | undefined;
5673
6333
  } | {
5674
6334
  country: string;
5675
6335
  district: string;
@@ -5692,13 +6352,14 @@ export declare const EventDocument: z.ZodObject<{
5692
6352
  option: string;
5693
6353
  filename: string;
5694
6354
  originalFilename: string;
5695
- }[] | [string, string] | undefined> | undefined;
5696
- originalActionId?: string | undefined;
6355
+ }[] | [string, string] | null | undefined> | null | undefined;
6356
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5697
6357
  }, {
5698
6358
  type: "PRINT_CERTIFICATE";
5699
6359
  id: string;
5700
6360
  status: "Rejected" | "Requested" | "Accepted";
5701
6361
  transactionId: string;
6362
+ createdByUserType: "system" | "user";
5702
6363
  createdAt: string;
5703
6364
  createdBy: string;
5704
6365
  createdByRole: string;
@@ -5717,6 +6378,10 @@ export declare const EventDocument: z.ZodObject<{
5717
6378
  residentialArea?: string | null | undefined;
5718
6379
  street?: string | null | undefined;
5719
6380
  zipCode?: string | null | undefined;
6381
+ } | {
6382
+ firstname?: string | null | undefined;
6383
+ surname?: string | null | undefined;
6384
+ middlename?: string | null | undefined;
5720
6385
  } | {
5721
6386
  country: string;
5722
6387
  district: string;
@@ -5739,8 +6404,9 @@ export declare const EventDocument: z.ZodObject<{
5739
6404
  option: string;
5740
6405
  filename: string;
5741
6406
  originalFilename: string;
5742
- }[] | [string, string] | undefined>;
5743
- createdAtLocation: string;
6407
+ }[] | [string, string] | null | undefined>;
6408
+ createdBySignature?: string | null | undefined;
6409
+ createdAtLocation?: string | null | undefined;
5744
6410
  annotation?: Record<string, string | number | boolean | {
5745
6411
  type: string;
5746
6412
  filename: string;
@@ -5756,6 +6422,10 @@ export declare const EventDocument: z.ZodObject<{
5756
6422
  residentialArea?: string | null | undefined;
5757
6423
  street?: string | null | undefined;
5758
6424
  zipCode?: string | null | undefined;
6425
+ } | {
6426
+ firstname?: string | null | undefined;
6427
+ surname?: string | null | undefined;
6428
+ middlename?: string | null | undefined;
5759
6429
  } | {
5760
6430
  country: string;
5761
6431
  district: string;
@@ -5778,14 +6448,17 @@ export declare const EventDocument: z.ZodObject<{
5778
6448
  option: string;
5779
6449
  filename: string;
5780
6450
  originalFilename: string;
5781
- }[] | [string, string] | undefined> | undefined;
5782
- originalActionId?: string | undefined;
6451
+ }[] | [string, string] | null | undefined> | null | undefined;
6452
+ originalActionId?: string | null | undefined;
5783
6453
  }>, z.ZodObject<z.objectUtil.extendShape<{
5784
- id: z.ZodString;
6454
+ id: z.ZodBranded<z.ZodString, "UUID">;
5785
6455
  transactionId: z.ZodString;
6456
+ createdByUserType: z.ZodEnum<["user", "system"]>;
5786
6457
  createdAt: z.ZodString;
5787
6458
  createdBy: z.ZodString;
5788
6459
  createdByRole: z.ZodString;
6460
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5789
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<{
5790
6463
  filename: z.ZodString;
5791
6464
  originalFilename: z.ZodString;
@@ -5899,8 +6572,20 @@ export declare const EventDocument: z.ZodObject<{
5899
6572
  addressLine2?: string | null | undefined;
5900
6573
  addressLine3?: string | null | undefined;
5901
6574
  postcodeOrZip?: string | null | undefined;
5902
- }>]>>;
5903
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5904
6589
  filename: z.ZodString;
5905
6590
  originalFilename: z.ZodString;
5906
6591
  type: z.ZodString;
@@ -6013,17 +6698,29 @@ export declare const EventDocument: z.ZodObject<{
6013
6698
  addressLine2?: string | null | undefined;
6014
6699
  addressLine3?: string | null | undefined;
6015
6700
  postcodeOrZip?: string | null | undefined;
6016
- }>]>>>;
6017
- 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]>]>>>>;
6018
6714
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6019
- originalActionId: z.ZodOptional<z.ZodString>;
6715
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6020
6716
  }, {
6021
6717
  type: z.ZodLiteral<"READ">;
6022
6718
  }>, "strip", z.ZodTypeAny, {
6023
6719
  type: "READ";
6024
- id: string;
6720
+ id: string & z.BRAND<"UUID">;
6025
6721
  status: "Rejected" | "Requested" | "Accepted";
6026
6722
  transactionId: string;
6723
+ createdByUserType: "system" | "user";
6027
6724
  createdAt: string;
6028
6725
  createdBy: string;
6029
6726
  createdByRole: string;
@@ -6042,6 +6739,10 @@ export declare const EventDocument: z.ZodObject<{
6042
6739
  residentialArea?: string | null | undefined;
6043
6740
  street?: string | null | undefined;
6044
6741
  zipCode?: string | null | undefined;
6742
+ } | {
6743
+ firstname?: string | null | undefined;
6744
+ surname?: string | null | undefined;
6745
+ middlename?: string | null | undefined;
6045
6746
  } | {
6046
6747
  country: string;
6047
6748
  district: string;
@@ -6064,8 +6765,9 @@ export declare const EventDocument: z.ZodObject<{
6064
6765
  option: string;
6065
6766
  filename: string;
6066
6767
  originalFilename: string;
6067
- }[] | [string, string] | undefined>;
6068
- createdAtLocation: string;
6768
+ }[] | [string, string] | null | undefined>;
6769
+ createdBySignature?: string | null | undefined;
6770
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6069
6771
  annotation?: Record<string, string | number | boolean | {
6070
6772
  type: string;
6071
6773
  filename: string;
@@ -6081,6 +6783,10 @@ export declare const EventDocument: z.ZodObject<{
6081
6783
  residentialArea?: string | null | undefined;
6082
6784
  street?: string | null | undefined;
6083
6785
  zipCode?: string | null | undefined;
6786
+ } | {
6787
+ firstname?: string | null | undefined;
6788
+ surname?: string | null | undefined;
6789
+ middlename?: string | null | undefined;
6084
6790
  } | {
6085
6791
  country: string;
6086
6792
  district: string;
@@ -6103,13 +6809,14 @@ export declare const EventDocument: z.ZodObject<{
6103
6809
  option: string;
6104
6810
  filename: string;
6105
6811
  originalFilename: string;
6106
- }[] | [string, string] | undefined> | undefined;
6107
- originalActionId?: string | undefined;
6812
+ }[] | [string, string] | null | undefined> | null | undefined;
6813
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6108
6814
  }, {
6109
6815
  type: "READ";
6110
6816
  id: string;
6111
6817
  status: "Rejected" | "Requested" | "Accepted";
6112
6818
  transactionId: string;
6819
+ createdByUserType: "system" | "user";
6113
6820
  createdAt: string;
6114
6821
  createdBy: string;
6115
6822
  createdByRole: string;
@@ -6128,6 +6835,10 @@ export declare const EventDocument: z.ZodObject<{
6128
6835
  residentialArea?: string | null | undefined;
6129
6836
  street?: string | null | undefined;
6130
6837
  zipCode?: string | null | undefined;
6838
+ } | {
6839
+ firstname?: string | null | undefined;
6840
+ surname?: string | null | undefined;
6841
+ middlename?: string | null | undefined;
6131
6842
  } | {
6132
6843
  country: string;
6133
6844
  district: string;
@@ -6150,8 +6861,9 @@ export declare const EventDocument: z.ZodObject<{
6150
6861
  option: string;
6151
6862
  filename: string;
6152
6863
  originalFilename: string;
6153
- }[] | [string, string] | undefined>;
6154
- createdAtLocation: string;
6864
+ }[] | [string, string] | null | undefined>;
6865
+ createdBySignature?: string | null | undefined;
6866
+ createdAtLocation?: string | null | undefined;
6155
6867
  annotation?: Record<string, string | number | boolean | {
6156
6868
  type: string;
6157
6869
  filename: string;
@@ -6167,6 +6879,10 @@ export declare const EventDocument: z.ZodObject<{
6167
6879
  residentialArea?: string | null | undefined;
6168
6880
  street?: string | null | undefined;
6169
6881
  zipCode?: string | null | undefined;
6882
+ } | {
6883
+ firstname?: string | null | undefined;
6884
+ surname?: string | null | undefined;
6885
+ middlename?: string | null | undefined;
6170
6886
  } | {
6171
6887
  country: string;
6172
6888
  district: string;
@@ -6189,14 +6905,17 @@ export declare const EventDocument: z.ZodObject<{
6189
6905
  option: string;
6190
6906
  filename: string;
6191
6907
  originalFilename: string;
6192
- }[] | [string, string] | undefined> | undefined;
6193
- originalActionId?: string | undefined;
6908
+ }[] | [string, string] | null | undefined> | null | undefined;
6909
+ originalActionId?: string | null | undefined;
6194
6910
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6195
- id: z.ZodString;
6911
+ id: z.ZodBranded<z.ZodString, "UUID">;
6196
6912
  transactionId: z.ZodString;
6913
+ createdByUserType: z.ZodEnum<["user", "system"]>;
6197
6914
  createdAt: z.ZodString;
6198
6915
  createdBy: z.ZodString;
6199
6916
  createdByRole: z.ZodString;
6917
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6200
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<{
6201
6920
  filename: z.ZodString;
6202
6921
  originalFilename: z.ZodString;
@@ -6310,8 +7029,20 @@ export declare const EventDocument: z.ZodObject<{
6310
7029
  addressLine2?: string | null | undefined;
6311
7030
  addressLine3?: string | null | undefined;
6312
7031
  postcodeOrZip?: string | null | undefined;
6313
- }>]>>;
6314
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6315
7046
  filename: z.ZodString;
6316
7047
  originalFilename: z.ZodString;
6317
7048
  type: z.ZodString;
@@ -6424,45 +7155,61 @@ export declare const EventDocument: z.ZodObject<{
6424
7155
  addressLine2?: string | null | undefined;
6425
7156
  addressLine3?: string | null | undefined;
6426
7157
  postcodeOrZip?: string | null | undefined;
6427
- }>]>>>;
6428
- 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]>]>>>>;
6429
7171
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6430
- originalActionId: z.ZodOptional<z.ZodString>;
7172
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6431
7173
  }, "declaration" | "annotation">, {
6432
7174
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6433
7175
  status: z.ZodLiteral<"Rejected">;
6434
7176
  }>, "strip", z.ZodTypeAny, {
6435
7177
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6436
- id: string;
7178
+ id: string & z.BRAND<"UUID">;
6437
7179
  status: "Rejected";
6438
7180
  transactionId: string;
7181
+ createdByUserType: "system" | "user";
6439
7182
  createdAt: string;
6440
7183
  createdBy: string;
6441
7184
  createdByRole: string;
6442
- createdAtLocation: string;
6443
- originalActionId?: string | undefined;
7185
+ createdBySignature?: string | null | undefined;
7186
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6444
7188
  }, {
6445
7189
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6446
7190
  id: string;
6447
7191
  status: "Rejected";
6448
7192
  transactionId: string;
7193
+ createdByUserType: "system" | "user";
6449
7194
  createdAt: string;
6450
7195
  createdBy: string;
6451
7196
  createdByRole: string;
6452
- createdAtLocation: string;
6453
- originalActionId?: string | undefined;
7197
+ createdBySignature?: string | null | undefined;
7198
+ createdAtLocation?: string | null | undefined;
7199
+ originalActionId?: string | null | undefined;
6454
7200
  }>]>, "many">;
6455
7201
  trackingId: z.ZodString;
6456
7202
  }, "strip", z.ZodTypeAny, {
6457
7203
  type: string;
6458
- id: string;
7204
+ id: string & z.BRAND<"UUID">;
6459
7205
  createdAt: string;
6460
7206
  updatedAt: string;
6461
7207
  actions: ({
6462
7208
  type: "ASSIGN";
6463
- id: string;
7209
+ id: string & z.BRAND<"UUID">;
6464
7210
  status: "Rejected" | "Requested" | "Accepted";
6465
7211
  transactionId: string;
7212
+ createdByUserType: "system" | "user";
6466
7213
  createdAt: string;
6467
7214
  createdBy: string;
6468
7215
  createdByRole: string;
@@ -6481,6 +7228,10 @@ export declare const EventDocument: z.ZodObject<{
6481
7228
  residentialArea?: string | null | undefined;
6482
7229
  street?: string | null | undefined;
6483
7230
  zipCode?: string | null | undefined;
7231
+ } | {
7232
+ firstname?: string | null | undefined;
7233
+ surname?: string | null | undefined;
7234
+ middlename?: string | null | undefined;
6484
7235
  } | {
6485
7236
  country: string;
6486
7237
  district: string;
@@ -6503,9 +7254,10 @@ export declare const EventDocument: z.ZodObject<{
6503
7254
  option: string;
6504
7255
  filename: string;
6505
7256
  originalFilename: string;
6506
- }[] | [string, string] | undefined>;
6507
- createdAtLocation: string;
7257
+ }[] | [string, string] | null | undefined>;
6508
7258
  assignedTo: string;
7259
+ createdBySignature?: string | null | undefined;
7260
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6509
7261
  annotation?: Record<string, string | number | boolean | {
6510
7262
  type: string;
6511
7263
  filename: string;
@@ -6521,6 +7273,10 @@ export declare const EventDocument: z.ZodObject<{
6521
7273
  residentialArea?: string | null | undefined;
6522
7274
  street?: string | null | undefined;
6523
7275
  zipCode?: string | null | undefined;
7276
+ } | {
7277
+ firstname?: string | null | undefined;
7278
+ surname?: string | null | undefined;
7279
+ middlename?: string | null | undefined;
6524
7280
  } | {
6525
7281
  country: string;
6526
7282
  district: string;
@@ -6543,13 +7299,14 @@ export declare const EventDocument: z.ZodObject<{
6543
7299
  option: string;
6544
7300
  filename: string;
6545
7301
  originalFilename: string;
6546
- }[] | [string, string] | undefined> | undefined;
6547
- originalActionId?: string | undefined;
7302
+ }[] | [string, string] | null | undefined> | null | undefined;
7303
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6548
7304
  } | {
6549
7305
  type: "UNASSIGN";
6550
- id: string;
7306
+ id: string & z.BRAND<"UUID">;
6551
7307
  status: "Rejected" | "Requested" | "Accepted";
6552
7308
  transactionId: string;
7309
+ createdByUserType: "system" | "user";
6553
7310
  createdAt: string;
6554
7311
  createdBy: string;
6555
7312
  createdByRole: string;
@@ -6568,6 +7325,10 @@ export declare const EventDocument: z.ZodObject<{
6568
7325
  residentialArea?: string | null | undefined;
6569
7326
  street?: string | null | undefined;
6570
7327
  zipCode?: string | null | undefined;
7328
+ } | {
7329
+ firstname?: string | null | undefined;
7330
+ surname?: string | null | undefined;
7331
+ middlename?: string | null | undefined;
6571
7332
  } | {
6572
7333
  country: string;
6573
7334
  district: string;
@@ -6590,9 +7351,9 @@ export declare const EventDocument: z.ZodObject<{
6590
7351
  option: string;
6591
7352
  filename: string;
6592
7353
  originalFilename: string;
6593
- }[] | [string, string] | undefined>;
6594
- createdAtLocation: string;
6595
- assignedTo: null;
7354
+ }[] | [string, string] | null | undefined>;
7355
+ createdBySignature?: string | null | undefined;
7356
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6596
7357
  annotation?: Record<string, string | number | boolean | {
6597
7358
  type: string;
6598
7359
  filename: string;
@@ -6608,6 +7369,10 @@ export declare const EventDocument: z.ZodObject<{
6608
7369
  residentialArea?: string | null | undefined;
6609
7370
  street?: string | null | undefined;
6610
7371
  zipCode?: string | null | undefined;
7372
+ } | {
7373
+ firstname?: string | null | undefined;
7374
+ surname?: string | null | undefined;
7375
+ middlename?: string | null | undefined;
6611
7376
  } | {
6612
7377
  country: string;
6613
7378
  district: string;
@@ -6630,13 +7395,14 @@ export declare const EventDocument: z.ZodObject<{
6630
7395
  option: string;
6631
7396
  filename: string;
6632
7397
  originalFilename: string;
6633
- }[] | [string, string] | undefined> | undefined;
6634
- originalActionId?: string | undefined;
7398
+ }[] | [string, string] | null | undefined> | null | undefined;
7399
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6635
7400
  } | {
6636
7401
  type: "REGISTER";
6637
- id: string;
7402
+ id: string & z.BRAND<"UUID">;
6638
7403
  status: "Rejected" | "Requested" | "Accepted";
6639
7404
  transactionId: string;
7405
+ createdByUserType: "system" | "user";
6640
7406
  createdAt: string;
6641
7407
  createdBy: string;
6642
7408
  createdByRole: string;
@@ -6655,6 +7421,10 @@ export declare const EventDocument: z.ZodObject<{
6655
7421
  residentialArea?: string | null | undefined;
6656
7422
  street?: string | null | undefined;
6657
7423
  zipCode?: string | null | undefined;
7424
+ } | {
7425
+ firstname?: string | null | undefined;
7426
+ surname?: string | null | undefined;
7427
+ middlename?: string | null | undefined;
6658
7428
  } | {
6659
7429
  country: string;
6660
7430
  district: string;
@@ -6677,8 +7447,9 @@ export declare const EventDocument: z.ZodObject<{
6677
7447
  option: string;
6678
7448
  filename: string;
6679
7449
  originalFilename: string;
6680
- }[] | [string, string] | undefined>;
6681
- createdAtLocation: string;
7450
+ }[] | [string, string] | null | undefined>;
7451
+ createdBySignature?: string | null | undefined;
7452
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6682
7453
  annotation?: Record<string, string | number | boolean | {
6683
7454
  type: string;
6684
7455
  filename: string;
@@ -6694,6 +7465,10 @@ export declare const EventDocument: z.ZodObject<{
6694
7465
  residentialArea?: string | null | undefined;
6695
7466
  street?: string | null | undefined;
6696
7467
  zipCode?: string | null | undefined;
7468
+ } | {
7469
+ firstname?: string | null | undefined;
7470
+ surname?: string | null | undefined;
7471
+ middlename?: string | null | undefined;
6697
7472
  } | {
6698
7473
  country: string;
6699
7474
  district: string;
@@ -6716,14 +7491,15 @@ export declare const EventDocument: z.ZodObject<{
6716
7491
  option: string;
6717
7492
  filename: string;
6718
7493
  originalFilename: string;
6719
- }[] | [string, string] | undefined> | undefined;
6720
- originalActionId?: string | undefined;
7494
+ }[] | [string, string] | null | undefined> | null | undefined;
7495
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6721
7496
  registrationNumber?: string | undefined;
6722
7497
  } | {
6723
7498
  type: "DECLARE";
6724
- id: string;
7499
+ id: string & z.BRAND<"UUID">;
6725
7500
  status: "Rejected" | "Requested" | "Accepted";
6726
7501
  transactionId: string;
7502
+ createdByUserType: "system" | "user";
6727
7503
  createdAt: string;
6728
7504
  createdBy: string;
6729
7505
  createdByRole: string;
@@ -6742,6 +7518,10 @@ export declare const EventDocument: z.ZodObject<{
6742
7518
  residentialArea?: string | null | undefined;
6743
7519
  street?: string | null | undefined;
6744
7520
  zipCode?: string | null | undefined;
7521
+ } | {
7522
+ firstname?: string | null | undefined;
7523
+ surname?: string | null | undefined;
7524
+ middlename?: string | null | undefined;
6745
7525
  } | {
6746
7526
  country: string;
6747
7527
  district: string;
@@ -6764,8 +7544,9 @@ export declare const EventDocument: z.ZodObject<{
6764
7544
  option: string;
6765
7545
  filename: string;
6766
7546
  originalFilename: string;
6767
- }[] | [string, string] | undefined>;
6768
- createdAtLocation: string;
7547
+ }[] | [string, string] | null | undefined>;
7548
+ createdBySignature?: string | null | undefined;
7549
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6769
7550
  annotation?: Record<string, string | number | boolean | {
6770
7551
  type: string;
6771
7552
  filename: string;
@@ -6781,6 +7562,10 @@ export declare const EventDocument: z.ZodObject<{
6781
7562
  residentialArea?: string | null | undefined;
6782
7563
  street?: string | null | undefined;
6783
7564
  zipCode?: string | null | undefined;
7565
+ } | {
7566
+ firstname?: string | null | undefined;
7567
+ surname?: string | null | undefined;
7568
+ middlename?: string | null | undefined;
6784
7569
  } | {
6785
7570
  country: string;
6786
7571
  district: string;
@@ -6803,13 +7588,14 @@ export declare const EventDocument: z.ZodObject<{
6803
7588
  option: string;
6804
7589
  filename: string;
6805
7590
  originalFilename: string;
6806
- }[] | [string, string] | undefined> | undefined;
6807
- originalActionId?: string | undefined;
7591
+ }[] | [string, string] | null | undefined> | null | undefined;
7592
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6808
7593
  } | {
6809
7594
  type: "VALIDATE";
6810
- id: string;
7595
+ id: string & z.BRAND<"UUID">;
6811
7596
  status: "Rejected" | "Requested" | "Accepted";
6812
7597
  transactionId: string;
7598
+ createdByUserType: "system" | "user";
6813
7599
  createdAt: string;
6814
7600
  createdBy: string;
6815
7601
  createdByRole: string;
@@ -6828,6 +7614,10 @@ export declare const EventDocument: z.ZodObject<{
6828
7614
  residentialArea?: string | null | undefined;
6829
7615
  street?: string | null | undefined;
6830
7616
  zipCode?: string | null | undefined;
7617
+ } | {
7618
+ firstname?: string | null | undefined;
7619
+ surname?: string | null | undefined;
7620
+ middlename?: string | null | undefined;
6831
7621
  } | {
6832
7622
  country: string;
6833
7623
  district: string;
@@ -6850,8 +7640,9 @@ export declare const EventDocument: z.ZodObject<{
6850
7640
  option: string;
6851
7641
  filename: string;
6852
7642
  originalFilename: string;
6853
- }[] | [string, string] | undefined>;
6854
- createdAtLocation: string;
7643
+ }[] | [string, string] | null | undefined>;
7644
+ createdBySignature?: string | null | undefined;
7645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6855
7646
  annotation?: Record<string, string | number | boolean | {
6856
7647
  type: string;
6857
7648
  filename: string;
@@ -6867,6 +7658,10 @@ export declare const EventDocument: z.ZodObject<{
6867
7658
  residentialArea?: string | null | undefined;
6868
7659
  street?: string | null | undefined;
6869
7660
  zipCode?: string | null | undefined;
7661
+ } | {
7662
+ firstname?: string | null | undefined;
7663
+ surname?: string | null | undefined;
7664
+ middlename?: string | null | undefined;
6870
7665
  } | {
6871
7666
  country: string;
6872
7667
  district: string;
@@ -6889,13 +7684,18 @@ export declare const EventDocument: z.ZodObject<{
6889
7684
  option: string;
6890
7685
  filename: string;
6891
7686
  originalFilename: string;
6892
- }[] | [string, string] | undefined> | undefined;
6893
- originalActionId?: string | undefined;
7687
+ }[] | [string, string] | null | undefined> | null | undefined;
7688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6894
7689
  } | {
6895
7690
  type: "REJECT";
6896
- id: string;
7691
+ id: string & z.BRAND<"UUID">;
6897
7692
  status: "Rejected" | "Requested" | "Accepted";
7693
+ reason: {
7694
+ message: string;
7695
+ isDuplicate?: boolean | undefined;
7696
+ };
6898
7697
  transactionId: string;
7698
+ createdByUserType: "system" | "user";
6899
7699
  createdAt: string;
6900
7700
  createdBy: string;
6901
7701
  createdByRole: string;
@@ -6914,6 +7714,10 @@ export declare const EventDocument: z.ZodObject<{
6914
7714
  residentialArea?: string | null | undefined;
6915
7715
  street?: string | null | undefined;
6916
7716
  zipCode?: string | null | undefined;
7717
+ } | {
7718
+ firstname?: string | null | undefined;
7719
+ surname?: string | null | undefined;
7720
+ middlename?: string | null | undefined;
6917
7721
  } | {
6918
7722
  country: string;
6919
7723
  district: string;
@@ -6936,8 +7740,9 @@ export declare const EventDocument: z.ZodObject<{
6936
7740
  option: string;
6937
7741
  filename: string;
6938
7742
  originalFilename: string;
6939
- }[] | [string, string] | undefined>;
6940
- createdAtLocation: string;
7743
+ }[] | [string, string] | null | undefined>;
7744
+ createdBySignature?: string | null | undefined;
7745
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6941
7746
  annotation?: Record<string, string | number | boolean | {
6942
7747
  type: string;
6943
7748
  filename: string;
@@ -6953,6 +7758,10 @@ export declare const EventDocument: z.ZodObject<{
6953
7758
  residentialArea?: string | null | undefined;
6954
7759
  street?: string | null | undefined;
6955
7760
  zipCode?: string | null | undefined;
7761
+ } | {
7762
+ firstname?: string | null | undefined;
7763
+ surname?: string | null | undefined;
7764
+ middlename?: string | null | undefined;
6956
7765
  } | {
6957
7766
  country: string;
6958
7767
  district: string;
@@ -6975,13 +7784,14 @@ export declare const EventDocument: z.ZodObject<{
6975
7784
  option: string;
6976
7785
  filename: string;
6977
7786
  originalFilename: string;
6978
- }[] | [string, string] | undefined> | undefined;
6979
- originalActionId?: string | undefined;
7787
+ }[] | [string, string] | null | undefined> | null | undefined;
7788
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6980
7789
  } | {
6981
7790
  type: "MARKED_AS_DUPLICATE";
6982
- id: string;
7791
+ id: string & z.BRAND<"UUID">;
6983
7792
  status: "Rejected" | "Requested" | "Accepted";
6984
7793
  transactionId: string;
7794
+ createdByUserType: "system" | "user";
6985
7795
  createdAt: string;
6986
7796
  createdBy: string;
6987
7797
  createdByRole: string;
@@ -7000,6 +7810,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7810
  residentialArea?: string | null | undefined;
7001
7811
  street?: string | null | undefined;
7002
7812
  zipCode?: string | null | undefined;
7813
+ } | {
7814
+ firstname?: string | null | undefined;
7815
+ surname?: string | null | undefined;
7816
+ middlename?: string | null | undefined;
7003
7817
  } | {
7004
7818
  country: string;
7005
7819
  district: string;
@@ -7022,8 +7836,9 @@ export declare const EventDocument: z.ZodObject<{
7022
7836
  option: string;
7023
7837
  filename: string;
7024
7838
  originalFilename: string;
7025
- }[] | [string, string] | undefined>;
7026
- createdAtLocation: string;
7839
+ }[] | [string, string] | null | undefined>;
7840
+ createdBySignature?: string | null | undefined;
7841
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7027
7842
  annotation?: Record<string, string | number | boolean | {
7028
7843
  type: string;
7029
7844
  filename: string;
@@ -7039,6 +7854,10 @@ export declare const EventDocument: z.ZodObject<{
7039
7854
  residentialArea?: string | null | undefined;
7040
7855
  street?: string | null | undefined;
7041
7856
  zipCode?: string | null | undefined;
7857
+ } | {
7858
+ firstname?: string | null | undefined;
7859
+ surname?: string | null | undefined;
7860
+ middlename?: string | null | undefined;
7042
7861
  } | {
7043
7862
  country: string;
7044
7863
  district: string;
@@ -7061,13 +7880,18 @@ export declare const EventDocument: z.ZodObject<{
7061
7880
  option: string;
7062
7881
  filename: string;
7063
7882
  originalFilename: string;
7064
- }[] | [string, string] | undefined> | undefined;
7065
- originalActionId?: string | undefined;
7883
+ }[] | [string, string] | null | undefined> | null | undefined;
7884
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7066
7885
  } | {
7067
7886
  type: "ARCHIVE";
7068
- id: string;
7887
+ id: string & z.BRAND<"UUID">;
7069
7888
  status: "Rejected" | "Requested" | "Accepted";
7889
+ reason: {
7890
+ message: string;
7891
+ isDuplicate?: boolean | undefined;
7892
+ };
7070
7893
  transactionId: string;
7894
+ createdByUserType: "system" | "user";
7071
7895
  createdAt: string;
7072
7896
  createdBy: string;
7073
7897
  createdByRole: string;
@@ -7086,6 +7910,10 @@ export declare const EventDocument: z.ZodObject<{
7086
7910
  residentialArea?: string | null | undefined;
7087
7911
  street?: string | null | undefined;
7088
7912
  zipCode?: string | null | undefined;
7913
+ } | {
7914
+ firstname?: string | null | undefined;
7915
+ surname?: string | null | undefined;
7916
+ middlename?: string | null | undefined;
7089
7917
  } | {
7090
7918
  country: string;
7091
7919
  district: string;
@@ -7108,8 +7936,9 @@ export declare const EventDocument: z.ZodObject<{
7108
7936
  option: string;
7109
7937
  filename: string;
7110
7938
  originalFilename: string;
7111
- }[] | [string, string] | undefined>;
7112
- createdAtLocation: string;
7939
+ }[] | [string, string] | null | undefined>;
7940
+ createdBySignature?: string | null | undefined;
7941
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7113
7942
  annotation?: Record<string, string | number | boolean | {
7114
7943
  type: string;
7115
7944
  filename: string;
@@ -7125,6 +7954,10 @@ export declare const EventDocument: z.ZodObject<{
7125
7954
  residentialArea?: string | null | undefined;
7126
7955
  street?: string | null | undefined;
7127
7956
  zipCode?: string | null | undefined;
7957
+ } | {
7958
+ firstname?: string | null | undefined;
7959
+ surname?: string | null | undefined;
7960
+ middlename?: string | null | undefined;
7128
7961
  } | {
7129
7962
  country: string;
7130
7963
  district: string;
@@ -7147,13 +7980,14 @@ export declare const EventDocument: z.ZodObject<{
7147
7980
  option: string;
7148
7981
  filename: string;
7149
7982
  originalFilename: string;
7150
- }[] | [string, string] | undefined> | undefined;
7151
- originalActionId?: string | undefined;
7983
+ }[] | [string, string] | null | undefined> | null | undefined;
7984
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7152
7985
  } | {
7153
7986
  type: "CREATE";
7154
- id: string;
7987
+ id: string & z.BRAND<"UUID">;
7155
7988
  status: "Rejected" | "Requested" | "Accepted";
7156
7989
  transactionId: string;
7990
+ createdByUserType: "system" | "user";
7157
7991
  createdAt: string;
7158
7992
  createdBy: string;
7159
7993
  createdByRole: string;
@@ -7172,6 +8006,10 @@ export declare const EventDocument: z.ZodObject<{
7172
8006
  residentialArea?: string | null | undefined;
7173
8007
  street?: string | null | undefined;
7174
8008
  zipCode?: string | null | undefined;
8009
+ } | {
8010
+ firstname?: string | null | undefined;
8011
+ surname?: string | null | undefined;
8012
+ middlename?: string | null | undefined;
7175
8013
  } | {
7176
8014
  country: string;
7177
8015
  district: string;
@@ -7194,8 +8032,9 @@ export declare const EventDocument: z.ZodObject<{
7194
8032
  option: string;
7195
8033
  filename: string;
7196
8034
  originalFilename: string;
7197
- }[] | [string, string] | undefined>;
7198
- createdAtLocation: string;
8035
+ }[] | [string, string] | null | undefined>;
8036
+ createdBySignature?: string | null | undefined;
8037
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7199
8038
  annotation?: Record<string, string | number | boolean | {
7200
8039
  type: string;
7201
8040
  filename: string;
@@ -7211,6 +8050,10 @@ export declare const EventDocument: z.ZodObject<{
7211
8050
  residentialArea?: string | null | undefined;
7212
8051
  street?: string | null | undefined;
7213
8052
  zipCode?: string | null | undefined;
8053
+ } | {
8054
+ firstname?: string | null | undefined;
8055
+ surname?: string | null | undefined;
8056
+ middlename?: string | null | undefined;
7214
8057
  } | {
7215
8058
  country: string;
7216
8059
  district: string;
@@ -7233,13 +8076,14 @@ export declare const EventDocument: z.ZodObject<{
7233
8076
  option: string;
7234
8077
  filename: string;
7235
8078
  originalFilename: string;
7236
- }[] | [string, string] | undefined> | undefined;
7237
- originalActionId?: string | undefined;
8079
+ }[] | [string, string] | null | undefined> | null | undefined;
8080
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7238
8081
  } | {
7239
8082
  type: "NOTIFY";
7240
- id: string;
8083
+ id: string & z.BRAND<"UUID">;
7241
8084
  status: "Rejected" | "Requested" | "Accepted";
7242
8085
  transactionId: string;
8086
+ createdByUserType: "system" | "user";
7243
8087
  createdAt: string;
7244
8088
  createdBy: string;
7245
8089
  createdByRole: string;
@@ -7258,6 +8102,10 @@ export declare const EventDocument: z.ZodObject<{
7258
8102
  residentialArea?: string | null | undefined;
7259
8103
  street?: string | null | undefined;
7260
8104
  zipCode?: string | null | undefined;
8105
+ } | {
8106
+ firstname?: string | null | undefined;
8107
+ surname?: string | null | undefined;
8108
+ middlename?: string | null | undefined;
7261
8109
  } | {
7262
8110
  country: string;
7263
8111
  district: string;
@@ -7280,8 +8128,9 @@ export declare const EventDocument: z.ZodObject<{
7280
8128
  option: string;
7281
8129
  filename: string;
7282
8130
  originalFilename: string;
7283
- }[] | [string, string] | undefined>;
7284
- createdAtLocation: string;
8131
+ }[] | [string, string] | null | undefined>;
8132
+ createdBySignature?: string | null | undefined;
8133
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7285
8134
  annotation?: Record<string, string | number | boolean | {
7286
8135
  type: string;
7287
8136
  filename: string;
@@ -7297,6 +8146,10 @@ export declare const EventDocument: z.ZodObject<{
7297
8146
  residentialArea?: string | null | undefined;
7298
8147
  street?: string | null | undefined;
7299
8148
  zipCode?: string | null | undefined;
8149
+ } | {
8150
+ firstname?: string | null | undefined;
8151
+ surname?: string | null | undefined;
8152
+ middlename?: string | null | undefined;
7300
8153
  } | {
7301
8154
  country: string;
7302
8155
  district: string;
@@ -7319,13 +8172,14 @@ export declare const EventDocument: z.ZodObject<{
7319
8172
  option: string;
7320
8173
  filename: string;
7321
8174
  originalFilename: string;
7322
- }[] | [string, string] | undefined> | undefined;
7323
- originalActionId?: string | undefined;
8175
+ }[] | [string, string] | null | undefined> | null | undefined;
8176
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7324
8177
  } | {
7325
8178
  type: "PRINT_CERTIFICATE";
7326
- id: string;
8179
+ id: string & z.BRAND<"UUID">;
7327
8180
  status: "Rejected" | "Requested" | "Accepted";
7328
8181
  transactionId: string;
8182
+ createdByUserType: "system" | "user";
7329
8183
  createdAt: string;
7330
8184
  createdBy: string;
7331
8185
  createdByRole: string;
@@ -7344,6 +8198,10 @@ export declare const EventDocument: z.ZodObject<{
7344
8198
  residentialArea?: string | null | undefined;
7345
8199
  street?: string | null | undefined;
7346
8200
  zipCode?: string | null | undefined;
8201
+ } | {
8202
+ firstname?: string | null | undefined;
8203
+ surname?: string | null | undefined;
8204
+ middlename?: string | null | undefined;
7347
8205
  } | {
7348
8206
  country: string;
7349
8207
  district: string;
@@ -7366,8 +8224,9 @@ export declare const EventDocument: z.ZodObject<{
7366
8224
  option: string;
7367
8225
  filename: string;
7368
8226
  originalFilename: string;
7369
- }[] | [string, string] | undefined>;
7370
- createdAtLocation: string;
8227
+ }[] | [string, string] | null | undefined>;
8228
+ createdBySignature?: string | null | undefined;
8229
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7371
8230
  annotation?: Record<string, string | number | boolean | {
7372
8231
  type: string;
7373
8232
  filename: string;
@@ -7383,6 +8242,10 @@ export declare const EventDocument: z.ZodObject<{
7383
8242
  residentialArea?: string | null | undefined;
7384
8243
  street?: string | null | undefined;
7385
8244
  zipCode?: string | null | undefined;
8245
+ } | {
8246
+ firstname?: string | null | undefined;
8247
+ surname?: string | null | undefined;
8248
+ middlename?: string | null | undefined;
7386
8249
  } | {
7387
8250
  country: string;
7388
8251
  district: string;
@@ -7405,13 +8268,14 @@ export declare const EventDocument: z.ZodObject<{
7405
8268
  option: string;
7406
8269
  filename: string;
7407
8270
  originalFilename: string;
7408
- }[] | [string, string] | undefined> | undefined;
7409
- originalActionId?: string | undefined;
8271
+ }[] | [string, string] | null | undefined> | null | undefined;
8272
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7410
8273
  } | {
7411
8274
  type: "REQUEST_CORRECTION";
7412
- id: string;
8275
+ id: string & z.BRAND<"UUID">;
7413
8276
  status: "Rejected" | "Requested" | "Accepted";
7414
8277
  transactionId: string;
8278
+ createdByUserType: "system" | "user";
7415
8279
  createdAt: string;
7416
8280
  createdBy: string;
7417
8281
  createdByRole: string;
@@ -7430,6 +8294,10 @@ export declare const EventDocument: z.ZodObject<{
7430
8294
  residentialArea?: string | null | undefined;
7431
8295
  street?: string | null | undefined;
7432
8296
  zipCode?: string | null | undefined;
8297
+ } | {
8298
+ firstname?: string | null | undefined;
8299
+ surname?: string | null | undefined;
8300
+ middlename?: string | null | undefined;
7433
8301
  } | {
7434
8302
  country: string;
7435
8303
  district: string;
@@ -7452,8 +8320,9 @@ export declare const EventDocument: z.ZodObject<{
7452
8320
  option: string;
7453
8321
  filename: string;
7454
8322
  originalFilename: string;
7455
- }[] | [string, string] | undefined>;
7456
- createdAtLocation: string;
8323
+ }[] | [string, string] | null | undefined>;
8324
+ createdBySignature?: string | null | undefined;
8325
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7457
8326
  annotation?: Record<string, string | number | boolean | {
7458
8327
  type: string;
7459
8328
  filename: string;
@@ -7469,6 +8338,10 @@ export declare const EventDocument: z.ZodObject<{
7469
8338
  residentialArea?: string | null | undefined;
7470
8339
  street?: string | null | undefined;
7471
8340
  zipCode?: string | null | undefined;
8341
+ } | {
8342
+ firstname?: string | null | undefined;
8343
+ surname?: string | null | undefined;
8344
+ middlename?: string | null | undefined;
7472
8345
  } | {
7473
8346
  country: string;
7474
8347
  district: string;
@@ -7491,13 +8364,14 @@ export declare const EventDocument: z.ZodObject<{
7491
8364
  option: string;
7492
8365
  filename: string;
7493
8366
  originalFilename: string;
7494
- }[] | [string, string] | undefined> | undefined;
7495
- originalActionId?: string | undefined;
8367
+ }[] | [string, string] | null | undefined> | null | undefined;
8368
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7496
8369
  } | {
7497
8370
  type: "APPROVE_CORRECTION";
7498
- id: string;
8371
+ id: string & z.BRAND<"UUID">;
7499
8372
  status: "Rejected" | "Requested" | "Accepted";
7500
8373
  transactionId: string;
8374
+ createdByUserType: "system" | "user";
7501
8375
  createdAt: string;
7502
8376
  createdBy: string;
7503
8377
  createdByRole: string;
@@ -7516,6 +8390,10 @@ export declare const EventDocument: z.ZodObject<{
7516
8390
  residentialArea?: string | null | undefined;
7517
8391
  street?: string | null | undefined;
7518
8392
  zipCode?: string | null | undefined;
8393
+ } | {
8394
+ firstname?: string | null | undefined;
8395
+ surname?: string | null | undefined;
8396
+ middlename?: string | null | undefined;
7519
8397
  } | {
7520
8398
  country: string;
7521
8399
  district: string;
@@ -7538,9 +8416,10 @@ export declare const EventDocument: z.ZodObject<{
7538
8416
  option: string;
7539
8417
  filename: string;
7540
8418
  originalFilename: string;
7541
- }[] | [string, string] | undefined>;
7542
- createdAtLocation: string;
8419
+ }[] | [string, string] | null | undefined>;
7543
8420
  requestId: string;
8421
+ createdBySignature?: string | null | undefined;
8422
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7544
8423
  annotation?: Record<string, string | number | boolean | {
7545
8424
  type: string;
7546
8425
  filename: string;
@@ -7556,6 +8435,10 @@ export declare const EventDocument: z.ZodObject<{
7556
8435
  residentialArea?: string | null | undefined;
7557
8436
  street?: string | null | undefined;
7558
8437
  zipCode?: string | null | undefined;
8438
+ } | {
8439
+ firstname?: string | null | undefined;
8440
+ surname?: string | null | undefined;
8441
+ middlename?: string | null | undefined;
7559
8442
  } | {
7560
8443
  country: string;
7561
8444
  district: string;
@@ -7578,13 +8461,14 @@ export declare const EventDocument: z.ZodObject<{
7578
8461
  option: string;
7579
8462
  filename: string;
7580
8463
  originalFilename: string;
7581
- }[] | [string, string] | undefined> | undefined;
7582
- originalActionId?: string | undefined;
8464
+ }[] | [string, string] | null | undefined> | null | undefined;
8465
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7583
8466
  } | {
7584
8467
  type: "REJECT_CORRECTION";
7585
- id: string;
8468
+ id: string & z.BRAND<"UUID">;
7586
8469
  status: "Rejected" | "Requested" | "Accepted";
7587
8470
  transactionId: string;
8471
+ createdByUserType: "system" | "user";
7588
8472
  createdAt: string;
7589
8473
  createdBy: string;
7590
8474
  createdByRole: string;
@@ -7603,6 +8487,10 @@ export declare const EventDocument: z.ZodObject<{
7603
8487
  residentialArea?: string | null | undefined;
7604
8488
  street?: string | null | undefined;
7605
8489
  zipCode?: string | null | undefined;
8490
+ } | {
8491
+ firstname?: string | null | undefined;
8492
+ surname?: string | null | undefined;
8493
+ middlename?: string | null | undefined;
7606
8494
  } | {
7607
8495
  country: string;
7608
8496
  district: string;
@@ -7625,9 +8513,10 @@ export declare const EventDocument: z.ZodObject<{
7625
8513
  option: string;
7626
8514
  filename: string;
7627
8515
  originalFilename: string;
7628
- }[] | [string, string] | undefined>;
7629
- createdAtLocation: string;
8516
+ }[] | [string, string] | null | undefined>;
7630
8517
  requestId: string;
8518
+ createdBySignature?: string | null | undefined;
8519
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7631
8520
  annotation?: Record<string, string | number | boolean | {
7632
8521
  type: string;
7633
8522
  filename: string;
@@ -7643,6 +8532,10 @@ export declare const EventDocument: z.ZodObject<{
7643
8532
  residentialArea?: string | null | undefined;
7644
8533
  street?: string | null | undefined;
7645
8534
  zipCode?: string | null | undefined;
8535
+ } | {
8536
+ firstname?: string | null | undefined;
8537
+ surname?: string | null | undefined;
8538
+ middlename?: string | null | undefined;
7646
8539
  } | {
7647
8540
  country: string;
7648
8541
  district: string;
@@ -7665,13 +8558,14 @@ export declare const EventDocument: z.ZodObject<{
7665
8558
  option: string;
7666
8559
  filename: string;
7667
8560
  originalFilename: string;
7668
- }[] | [string, string] | undefined> | undefined;
7669
- originalActionId?: string | undefined;
8561
+ }[] | [string, string] | null | undefined> | null | undefined;
8562
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7670
8563
  } | {
7671
8564
  type: "READ";
7672
- id: string;
8565
+ id: string & z.BRAND<"UUID">;
7673
8566
  status: "Rejected" | "Requested" | "Accepted";
7674
8567
  transactionId: string;
8568
+ createdByUserType: "system" | "user";
7675
8569
  createdAt: string;
7676
8570
  createdBy: string;
7677
8571
  createdByRole: string;
@@ -7690,6 +8584,10 @@ export declare const EventDocument: z.ZodObject<{
7690
8584
  residentialArea?: string | null | undefined;
7691
8585
  street?: string | null | undefined;
7692
8586
  zipCode?: string | null | undefined;
8587
+ } | {
8588
+ firstname?: string | null | undefined;
8589
+ surname?: string | null | undefined;
8590
+ middlename?: string | null | undefined;
7693
8591
  } | {
7694
8592
  country: string;
7695
8593
  district: string;
@@ -7712,8 +8610,9 @@ export declare const EventDocument: z.ZodObject<{
7712
8610
  option: string;
7713
8611
  filename: string;
7714
8612
  originalFilename: string;
7715
- }[] | [string, string] | undefined>;
7716
- createdAtLocation: string;
8613
+ }[] | [string, string] | null | undefined>;
8614
+ createdBySignature?: string | null | undefined;
8615
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7717
8616
  annotation?: Record<string, string | number | boolean | {
7718
8617
  type: string;
7719
8618
  filename: string;
@@ -7729,6 +8628,10 @@ export declare const EventDocument: z.ZodObject<{
7729
8628
  residentialArea?: string | null | undefined;
7730
8629
  street?: string | null | undefined;
7731
8630
  zipCode?: string | null | undefined;
8631
+ } | {
8632
+ firstname?: string | null | undefined;
8633
+ surname?: string | null | undefined;
8634
+ middlename?: string | null | undefined;
7732
8635
  } | {
7733
8636
  country: string;
7734
8637
  district: string;
@@ -7751,23 +8654,22 @@ export declare const EventDocument: z.ZodObject<{
7751
8654
  option: string;
7752
8655
  filename: string;
7753
8656
  originalFilename: string;
7754
- }[] | [string, string] | undefined> | undefined;
7755
- originalActionId?: string | undefined;
8657
+ }[] | [string, string] | null | undefined> | null | undefined;
8658
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7756
8659
  } | {
7757
8660
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7758
- id: string;
8661
+ id: string & z.BRAND<"UUID">;
7759
8662
  status: "Rejected";
7760
8663
  transactionId: string;
8664
+ createdByUserType: "system" | "user";
7761
8665
  createdAt: string;
7762
8666
  createdBy: string;
7763
8667
  createdByRole: string;
7764
- createdAtLocation: string;
7765
- originalActionId?: string | undefined;
8668
+ createdBySignature?: string | null | undefined;
8669
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7766
8671
  })[];
7767
8672
  trackingId: string;
7768
- dateOfEvent?: {
7769
- fieldId: string;
7770
- } | undefined;
7771
8673
  }, {
7772
8674
  type: string;
7773
8675
  id: string;
@@ -7778,6 +8680,7 @@ export declare const EventDocument: z.ZodObject<{
7778
8680
  id: string;
7779
8681
  status: "Rejected" | "Requested" | "Accepted";
7780
8682
  transactionId: string;
8683
+ createdByUserType: "system" | "user";
7781
8684
  createdAt: string;
7782
8685
  createdBy: string;
7783
8686
  createdByRole: string;
@@ -7796,6 +8699,10 @@ export declare const EventDocument: z.ZodObject<{
7796
8699
  residentialArea?: string | null | undefined;
7797
8700
  street?: string | null | undefined;
7798
8701
  zipCode?: string | null | undefined;
8702
+ } | {
8703
+ firstname?: string | null | undefined;
8704
+ surname?: string | null | undefined;
8705
+ middlename?: string | null | undefined;
7799
8706
  } | {
7800
8707
  country: string;
7801
8708
  district: string;
@@ -7818,9 +8725,10 @@ export declare const EventDocument: z.ZodObject<{
7818
8725
  option: string;
7819
8726
  filename: string;
7820
8727
  originalFilename: string;
7821
- }[] | [string, string] | undefined>;
7822
- createdAtLocation: string;
8728
+ }[] | [string, string] | null | undefined>;
7823
8729
  assignedTo: string;
8730
+ createdBySignature?: string | null | undefined;
8731
+ createdAtLocation?: string | null | undefined;
7824
8732
  annotation?: Record<string, string | number | boolean | {
7825
8733
  type: string;
7826
8734
  filename: string;
@@ -7836,6 +8744,10 @@ export declare const EventDocument: z.ZodObject<{
7836
8744
  residentialArea?: string | null | undefined;
7837
8745
  street?: string | null | undefined;
7838
8746
  zipCode?: string | null | undefined;
8747
+ } | {
8748
+ firstname?: string | null | undefined;
8749
+ surname?: string | null | undefined;
8750
+ middlename?: string | null | undefined;
7839
8751
  } | {
7840
8752
  country: string;
7841
8753
  district: string;
@@ -7858,13 +8770,14 @@ export declare const EventDocument: z.ZodObject<{
7858
8770
  option: string;
7859
8771
  filename: string;
7860
8772
  originalFilename: string;
7861
- }[] | [string, string] | undefined> | undefined;
7862
- originalActionId?: string | undefined;
8773
+ }[] | [string, string] | null | undefined> | null | undefined;
8774
+ originalActionId?: string | null | undefined;
7863
8775
  } | {
7864
8776
  type: "UNASSIGN";
7865
8777
  id: string;
7866
8778
  status: "Rejected" | "Requested" | "Accepted";
7867
8779
  transactionId: string;
8780
+ createdByUserType: "system" | "user";
7868
8781
  createdAt: string;
7869
8782
  createdBy: string;
7870
8783
  createdByRole: string;
@@ -7883,6 +8796,10 @@ export declare const EventDocument: z.ZodObject<{
7883
8796
  residentialArea?: string | null | undefined;
7884
8797
  street?: string | null | undefined;
7885
8798
  zipCode?: string | null | undefined;
8799
+ } | {
8800
+ firstname?: string | null | undefined;
8801
+ surname?: string | null | undefined;
8802
+ middlename?: string | null | undefined;
7886
8803
  } | {
7887
8804
  country: string;
7888
8805
  district: string;
@@ -7905,9 +8822,9 @@ export declare const EventDocument: z.ZodObject<{
7905
8822
  option: string;
7906
8823
  filename: string;
7907
8824
  originalFilename: string;
7908
- }[] | [string, string] | undefined>;
7909
- createdAtLocation: string;
7910
- assignedTo: null;
8825
+ }[] | [string, string] | null | undefined>;
8826
+ createdBySignature?: string | null | undefined;
8827
+ createdAtLocation?: string | null | undefined;
7911
8828
  annotation?: Record<string, string | number | boolean | {
7912
8829
  type: string;
7913
8830
  filename: string;
@@ -7923,6 +8840,10 @@ export declare const EventDocument: z.ZodObject<{
7923
8840
  residentialArea?: string | null | undefined;
7924
8841
  street?: string | null | undefined;
7925
8842
  zipCode?: string | null | undefined;
8843
+ } | {
8844
+ firstname?: string | null | undefined;
8845
+ surname?: string | null | undefined;
8846
+ middlename?: string | null | undefined;
7926
8847
  } | {
7927
8848
  country: string;
7928
8849
  district: string;
@@ -7945,13 +8866,14 @@ export declare const EventDocument: z.ZodObject<{
7945
8866
  option: string;
7946
8867
  filename: string;
7947
8868
  originalFilename: string;
7948
- }[] | [string, string] | undefined> | undefined;
7949
- originalActionId?: string | undefined;
8869
+ }[] | [string, string] | null | undefined> | null | undefined;
8870
+ originalActionId?: string | null | undefined;
7950
8871
  } | {
7951
8872
  type: "REGISTER";
7952
8873
  id: string;
7953
8874
  status: "Rejected" | "Requested" | "Accepted";
7954
8875
  transactionId: string;
8876
+ createdByUserType: "system" | "user";
7955
8877
  createdAt: string;
7956
8878
  createdBy: string;
7957
8879
  createdByRole: string;
@@ -7970,6 +8892,10 @@ export declare const EventDocument: z.ZodObject<{
7970
8892
  residentialArea?: string | null | undefined;
7971
8893
  street?: string | null | undefined;
7972
8894
  zipCode?: string | null | undefined;
8895
+ } | {
8896
+ firstname?: string | null | undefined;
8897
+ surname?: string | null | undefined;
8898
+ middlename?: string | null | undefined;
7973
8899
  } | {
7974
8900
  country: string;
7975
8901
  district: string;
@@ -7992,8 +8918,9 @@ export declare const EventDocument: z.ZodObject<{
7992
8918
  option: string;
7993
8919
  filename: string;
7994
8920
  originalFilename: string;
7995
- }[] | [string, string] | undefined>;
7996
- createdAtLocation: string;
8921
+ }[] | [string, string] | null | undefined>;
8922
+ createdBySignature?: string | null | undefined;
8923
+ createdAtLocation?: string | null | undefined;
7997
8924
  annotation?: Record<string, string | number | boolean | {
7998
8925
  type: string;
7999
8926
  filename: string;
@@ -8009,6 +8936,10 @@ export declare const EventDocument: z.ZodObject<{
8009
8936
  residentialArea?: string | null | undefined;
8010
8937
  street?: string | null | undefined;
8011
8938
  zipCode?: string | null | undefined;
8939
+ } | {
8940
+ firstname?: string | null | undefined;
8941
+ surname?: string | null | undefined;
8942
+ middlename?: string | null | undefined;
8012
8943
  } | {
8013
8944
  country: string;
8014
8945
  district: string;
@@ -8031,14 +8962,15 @@ export declare const EventDocument: z.ZodObject<{
8031
8962
  option: string;
8032
8963
  filename: string;
8033
8964
  originalFilename: string;
8034
- }[] | [string, string] | undefined> | undefined;
8035
- originalActionId?: string | undefined;
8965
+ }[] | [string, string] | null | undefined> | null | undefined;
8966
+ originalActionId?: string | null | undefined;
8036
8967
  registrationNumber?: string | undefined;
8037
8968
  } | {
8038
8969
  type: "DECLARE";
8039
8970
  id: string;
8040
8971
  status: "Rejected" | "Requested" | "Accepted";
8041
8972
  transactionId: string;
8973
+ createdByUserType: "system" | "user";
8042
8974
  createdAt: string;
8043
8975
  createdBy: string;
8044
8976
  createdByRole: string;
@@ -8057,6 +8989,10 @@ export declare const EventDocument: z.ZodObject<{
8057
8989
  residentialArea?: string | null | undefined;
8058
8990
  street?: string | null | undefined;
8059
8991
  zipCode?: string | null | undefined;
8992
+ } | {
8993
+ firstname?: string | null | undefined;
8994
+ surname?: string | null | undefined;
8995
+ middlename?: string | null | undefined;
8060
8996
  } | {
8061
8997
  country: string;
8062
8998
  district: string;
@@ -8079,8 +9015,9 @@ export declare const EventDocument: z.ZodObject<{
8079
9015
  option: string;
8080
9016
  filename: string;
8081
9017
  originalFilename: string;
8082
- }[] | [string, string] | undefined>;
8083
- createdAtLocation: string;
9018
+ }[] | [string, string] | null | undefined>;
9019
+ createdBySignature?: string | null | undefined;
9020
+ createdAtLocation?: string | null | undefined;
8084
9021
  annotation?: Record<string, string | number | boolean | {
8085
9022
  type: string;
8086
9023
  filename: string;
@@ -8096,6 +9033,10 @@ export declare const EventDocument: z.ZodObject<{
8096
9033
  residentialArea?: string | null | undefined;
8097
9034
  street?: string | null | undefined;
8098
9035
  zipCode?: string | null | undefined;
9036
+ } | {
9037
+ firstname?: string | null | undefined;
9038
+ surname?: string | null | undefined;
9039
+ middlename?: string | null | undefined;
8099
9040
  } | {
8100
9041
  country: string;
8101
9042
  district: string;
@@ -8118,13 +9059,14 @@ export declare const EventDocument: z.ZodObject<{
8118
9059
  option: string;
8119
9060
  filename: string;
8120
9061
  originalFilename: string;
8121
- }[] | [string, string] | undefined> | undefined;
8122
- originalActionId?: string | undefined;
9062
+ }[] | [string, string] | null | undefined> | null | undefined;
9063
+ originalActionId?: string | null | undefined;
8123
9064
  } | {
8124
9065
  type: "VALIDATE";
8125
9066
  id: string;
8126
9067
  status: "Rejected" | "Requested" | "Accepted";
8127
9068
  transactionId: string;
9069
+ createdByUserType: "system" | "user";
8128
9070
  createdAt: string;
8129
9071
  createdBy: string;
8130
9072
  createdByRole: string;
@@ -8143,6 +9085,10 @@ export declare const EventDocument: z.ZodObject<{
8143
9085
  residentialArea?: string | null | undefined;
8144
9086
  street?: string | null | undefined;
8145
9087
  zipCode?: string | null | undefined;
9088
+ } | {
9089
+ firstname?: string | null | undefined;
9090
+ surname?: string | null | undefined;
9091
+ middlename?: string | null | undefined;
8146
9092
  } | {
8147
9093
  country: string;
8148
9094
  district: string;
@@ -8165,8 +9111,9 @@ export declare const EventDocument: z.ZodObject<{
8165
9111
  option: string;
8166
9112
  filename: string;
8167
9113
  originalFilename: string;
8168
- }[] | [string, string] | undefined>;
8169
- createdAtLocation: string;
9114
+ }[] | [string, string] | null | undefined>;
9115
+ createdBySignature?: string | null | undefined;
9116
+ createdAtLocation?: string | null | undefined;
8170
9117
  annotation?: Record<string, string | number | boolean | {
8171
9118
  type: string;
8172
9119
  filename: string;
@@ -8182,6 +9129,10 @@ export declare const EventDocument: z.ZodObject<{
8182
9129
  residentialArea?: string | null | undefined;
8183
9130
  street?: string | null | undefined;
8184
9131
  zipCode?: string | null | undefined;
9132
+ } | {
9133
+ firstname?: string | null | undefined;
9134
+ surname?: string | null | undefined;
9135
+ middlename?: string | null | undefined;
8185
9136
  } | {
8186
9137
  country: string;
8187
9138
  district: string;
@@ -8204,13 +9155,18 @@ export declare const EventDocument: z.ZodObject<{
8204
9155
  option: string;
8205
9156
  filename: string;
8206
9157
  originalFilename: string;
8207
- }[] | [string, string] | undefined> | undefined;
8208
- originalActionId?: string | undefined;
9158
+ }[] | [string, string] | null | undefined> | null | undefined;
9159
+ originalActionId?: string | null | undefined;
8209
9160
  } | {
8210
9161
  type: "REJECT";
8211
9162
  id: string;
8212
9163
  status: "Rejected" | "Requested" | "Accepted";
9164
+ reason: {
9165
+ message: string;
9166
+ isDuplicate?: boolean | undefined;
9167
+ };
8213
9168
  transactionId: string;
9169
+ createdByUserType: "system" | "user";
8214
9170
  createdAt: string;
8215
9171
  createdBy: string;
8216
9172
  createdByRole: string;
@@ -8229,6 +9185,10 @@ export declare const EventDocument: z.ZodObject<{
8229
9185
  residentialArea?: string | null | undefined;
8230
9186
  street?: string | null | undefined;
8231
9187
  zipCode?: string | null | undefined;
9188
+ } | {
9189
+ firstname?: string | null | undefined;
9190
+ surname?: string | null | undefined;
9191
+ middlename?: string | null | undefined;
8232
9192
  } | {
8233
9193
  country: string;
8234
9194
  district: string;
@@ -8251,8 +9211,9 @@ export declare const EventDocument: z.ZodObject<{
8251
9211
  option: string;
8252
9212
  filename: string;
8253
9213
  originalFilename: string;
8254
- }[] | [string, string] | undefined>;
8255
- createdAtLocation: string;
9214
+ }[] | [string, string] | null | undefined>;
9215
+ createdBySignature?: string | null | undefined;
9216
+ createdAtLocation?: string | null | undefined;
8256
9217
  annotation?: Record<string, string | number | boolean | {
8257
9218
  type: string;
8258
9219
  filename: string;
@@ -8268,6 +9229,10 @@ export declare const EventDocument: z.ZodObject<{
8268
9229
  residentialArea?: string | null | undefined;
8269
9230
  street?: string | null | undefined;
8270
9231
  zipCode?: string | null | undefined;
9232
+ } | {
9233
+ firstname?: string | null | undefined;
9234
+ surname?: string | null | undefined;
9235
+ middlename?: string | null | undefined;
8271
9236
  } | {
8272
9237
  country: string;
8273
9238
  district: string;
@@ -8290,13 +9255,14 @@ export declare const EventDocument: z.ZodObject<{
8290
9255
  option: string;
8291
9256
  filename: string;
8292
9257
  originalFilename: string;
8293
- }[] | [string, string] | undefined> | undefined;
8294
- originalActionId?: string | undefined;
9258
+ }[] | [string, string] | null | undefined> | null | undefined;
9259
+ originalActionId?: string | null | undefined;
8295
9260
  } | {
8296
9261
  type: "MARKED_AS_DUPLICATE";
8297
9262
  id: string;
8298
9263
  status: "Rejected" | "Requested" | "Accepted";
8299
9264
  transactionId: string;
9265
+ createdByUserType: "system" | "user";
8300
9266
  createdAt: string;
8301
9267
  createdBy: string;
8302
9268
  createdByRole: string;
@@ -8315,6 +9281,10 @@ export declare const EventDocument: z.ZodObject<{
8315
9281
  residentialArea?: string | null | undefined;
8316
9282
  street?: string | null | undefined;
8317
9283
  zipCode?: string | null | undefined;
9284
+ } | {
9285
+ firstname?: string | null | undefined;
9286
+ surname?: string | null | undefined;
9287
+ middlename?: string | null | undefined;
8318
9288
  } | {
8319
9289
  country: string;
8320
9290
  district: string;
@@ -8337,8 +9307,9 @@ export declare const EventDocument: z.ZodObject<{
8337
9307
  option: string;
8338
9308
  filename: string;
8339
9309
  originalFilename: string;
8340
- }[] | [string, string] | undefined>;
8341
- createdAtLocation: string;
9310
+ }[] | [string, string] | null | undefined>;
9311
+ createdBySignature?: string | null | undefined;
9312
+ createdAtLocation?: string | null | undefined;
8342
9313
  annotation?: Record<string, string | number | boolean | {
8343
9314
  type: string;
8344
9315
  filename: string;
@@ -8354,6 +9325,10 @@ export declare const EventDocument: z.ZodObject<{
8354
9325
  residentialArea?: string | null | undefined;
8355
9326
  street?: string | null | undefined;
8356
9327
  zipCode?: string | null | undefined;
9328
+ } | {
9329
+ firstname?: string | null | undefined;
9330
+ surname?: string | null | undefined;
9331
+ middlename?: string | null | undefined;
8357
9332
  } | {
8358
9333
  country: string;
8359
9334
  district: string;
@@ -8376,13 +9351,18 @@ export declare const EventDocument: z.ZodObject<{
8376
9351
  option: string;
8377
9352
  filename: string;
8378
9353
  originalFilename: string;
8379
- }[] | [string, string] | undefined> | undefined;
8380
- originalActionId?: string | undefined;
9354
+ }[] | [string, string] | null | undefined> | null | undefined;
9355
+ originalActionId?: string | null | undefined;
8381
9356
  } | {
8382
9357
  type: "ARCHIVE";
8383
9358
  id: string;
8384
9359
  status: "Rejected" | "Requested" | "Accepted";
9360
+ reason: {
9361
+ message: string;
9362
+ isDuplicate?: boolean | undefined;
9363
+ };
8385
9364
  transactionId: string;
9365
+ createdByUserType: "system" | "user";
8386
9366
  createdAt: string;
8387
9367
  createdBy: string;
8388
9368
  createdByRole: string;
@@ -8401,6 +9381,10 @@ export declare const EventDocument: z.ZodObject<{
8401
9381
  residentialArea?: string | null | undefined;
8402
9382
  street?: string | null | undefined;
8403
9383
  zipCode?: string | null | undefined;
9384
+ } | {
9385
+ firstname?: string | null | undefined;
9386
+ surname?: string | null | undefined;
9387
+ middlename?: string | null | undefined;
8404
9388
  } | {
8405
9389
  country: string;
8406
9390
  district: string;
@@ -8423,8 +9407,9 @@ export declare const EventDocument: z.ZodObject<{
8423
9407
  option: string;
8424
9408
  filename: string;
8425
9409
  originalFilename: string;
8426
- }[] | [string, string] | undefined>;
8427
- createdAtLocation: string;
9410
+ }[] | [string, string] | null | undefined>;
9411
+ createdBySignature?: string | null | undefined;
9412
+ createdAtLocation?: string | null | undefined;
8428
9413
  annotation?: Record<string, string | number | boolean | {
8429
9414
  type: string;
8430
9415
  filename: string;
@@ -8440,6 +9425,10 @@ export declare const EventDocument: z.ZodObject<{
8440
9425
  residentialArea?: string | null | undefined;
8441
9426
  street?: string | null | undefined;
8442
9427
  zipCode?: string | null | undefined;
9428
+ } | {
9429
+ firstname?: string | null | undefined;
9430
+ surname?: string | null | undefined;
9431
+ middlename?: string | null | undefined;
8443
9432
  } | {
8444
9433
  country: string;
8445
9434
  district: string;
@@ -8462,13 +9451,14 @@ export declare const EventDocument: z.ZodObject<{
8462
9451
  option: string;
8463
9452
  filename: string;
8464
9453
  originalFilename: string;
8465
- }[] | [string, string] | undefined> | undefined;
8466
- originalActionId?: string | undefined;
9454
+ }[] | [string, string] | null | undefined> | null | undefined;
9455
+ originalActionId?: string | null | undefined;
8467
9456
  } | {
8468
9457
  type: "CREATE";
8469
9458
  id: string;
8470
9459
  status: "Rejected" | "Requested" | "Accepted";
8471
9460
  transactionId: string;
9461
+ createdByUserType: "system" | "user";
8472
9462
  createdAt: string;
8473
9463
  createdBy: string;
8474
9464
  createdByRole: string;
@@ -8487,6 +9477,10 @@ export declare const EventDocument: z.ZodObject<{
8487
9477
  residentialArea?: string | null | undefined;
8488
9478
  street?: string | null | undefined;
8489
9479
  zipCode?: string | null | undefined;
9480
+ } | {
9481
+ firstname?: string | null | undefined;
9482
+ surname?: string | null | undefined;
9483
+ middlename?: string | null | undefined;
8490
9484
  } | {
8491
9485
  country: string;
8492
9486
  district: string;
@@ -8509,8 +9503,9 @@ export declare const EventDocument: z.ZodObject<{
8509
9503
  option: string;
8510
9504
  filename: string;
8511
9505
  originalFilename: string;
8512
- }[] | [string, string] | undefined>;
8513
- createdAtLocation: string;
9506
+ }[] | [string, string] | null | undefined>;
9507
+ createdBySignature?: string | null | undefined;
9508
+ createdAtLocation?: string | null | undefined;
8514
9509
  annotation?: Record<string, string | number | boolean | {
8515
9510
  type: string;
8516
9511
  filename: string;
@@ -8526,6 +9521,10 @@ export declare const EventDocument: z.ZodObject<{
8526
9521
  residentialArea?: string | null | undefined;
8527
9522
  street?: string | null | undefined;
8528
9523
  zipCode?: string | null | undefined;
9524
+ } | {
9525
+ firstname?: string | null | undefined;
9526
+ surname?: string | null | undefined;
9527
+ middlename?: string | null | undefined;
8529
9528
  } | {
8530
9529
  country: string;
8531
9530
  district: string;
@@ -8548,13 +9547,14 @@ export declare const EventDocument: z.ZodObject<{
8548
9547
  option: string;
8549
9548
  filename: string;
8550
9549
  originalFilename: string;
8551
- }[] | [string, string] | undefined> | undefined;
8552
- originalActionId?: string | undefined;
9550
+ }[] | [string, string] | null | undefined> | null | undefined;
9551
+ originalActionId?: string | null | undefined;
8553
9552
  } | {
8554
9553
  type: "NOTIFY";
8555
9554
  id: string;
8556
9555
  status: "Rejected" | "Requested" | "Accepted";
8557
9556
  transactionId: string;
9557
+ createdByUserType: "system" | "user";
8558
9558
  createdAt: string;
8559
9559
  createdBy: string;
8560
9560
  createdByRole: string;
@@ -8573,6 +9573,10 @@ export declare const EventDocument: z.ZodObject<{
8573
9573
  residentialArea?: string | null | undefined;
8574
9574
  street?: string | null | undefined;
8575
9575
  zipCode?: string | null | undefined;
9576
+ } | {
9577
+ firstname?: string | null | undefined;
9578
+ surname?: string | null | undefined;
9579
+ middlename?: string | null | undefined;
8576
9580
  } | {
8577
9581
  country: string;
8578
9582
  district: string;
@@ -8595,8 +9599,9 @@ export declare const EventDocument: z.ZodObject<{
8595
9599
  option: string;
8596
9600
  filename: string;
8597
9601
  originalFilename: string;
8598
- }[] | [string, string] | undefined>;
8599
- createdAtLocation: string;
9602
+ }[] | [string, string] | null | undefined>;
9603
+ createdBySignature?: string | null | undefined;
9604
+ createdAtLocation?: string | null | undefined;
8600
9605
  annotation?: Record<string, string | number | boolean | {
8601
9606
  type: string;
8602
9607
  filename: string;
@@ -8612,6 +9617,10 @@ export declare const EventDocument: z.ZodObject<{
8612
9617
  residentialArea?: string | null | undefined;
8613
9618
  street?: string | null | undefined;
8614
9619
  zipCode?: string | null | undefined;
9620
+ } | {
9621
+ firstname?: string | null | undefined;
9622
+ surname?: string | null | undefined;
9623
+ middlename?: string | null | undefined;
8615
9624
  } | {
8616
9625
  country: string;
8617
9626
  district: string;
@@ -8634,13 +9643,14 @@ export declare const EventDocument: z.ZodObject<{
8634
9643
  option: string;
8635
9644
  filename: string;
8636
9645
  originalFilename: string;
8637
- }[] | [string, string] | undefined> | undefined;
8638
- originalActionId?: string | undefined;
9646
+ }[] | [string, string] | null | undefined> | null | undefined;
9647
+ originalActionId?: string | null | undefined;
8639
9648
  } | {
8640
9649
  type: "PRINT_CERTIFICATE";
8641
9650
  id: string;
8642
9651
  status: "Rejected" | "Requested" | "Accepted";
8643
9652
  transactionId: string;
9653
+ createdByUserType: "system" | "user";
8644
9654
  createdAt: string;
8645
9655
  createdBy: string;
8646
9656
  createdByRole: string;
@@ -8659,6 +9669,10 @@ export declare const EventDocument: z.ZodObject<{
8659
9669
  residentialArea?: string | null | undefined;
8660
9670
  street?: string | null | undefined;
8661
9671
  zipCode?: string | null | undefined;
9672
+ } | {
9673
+ firstname?: string | null | undefined;
9674
+ surname?: string | null | undefined;
9675
+ middlename?: string | null | undefined;
8662
9676
  } | {
8663
9677
  country: string;
8664
9678
  district: string;
@@ -8681,8 +9695,9 @@ export declare const EventDocument: z.ZodObject<{
8681
9695
  option: string;
8682
9696
  filename: string;
8683
9697
  originalFilename: string;
8684
- }[] | [string, string] | undefined>;
8685
- createdAtLocation: string;
9698
+ }[] | [string, string] | null | undefined>;
9699
+ createdBySignature?: string | null | undefined;
9700
+ createdAtLocation?: string | null | undefined;
8686
9701
  annotation?: Record<string, string | number | boolean | {
8687
9702
  type: string;
8688
9703
  filename: string;
@@ -8698,6 +9713,10 @@ export declare const EventDocument: z.ZodObject<{
8698
9713
  residentialArea?: string | null | undefined;
8699
9714
  street?: string | null | undefined;
8700
9715
  zipCode?: string | null | undefined;
9716
+ } | {
9717
+ firstname?: string | null | undefined;
9718
+ surname?: string | null | undefined;
9719
+ middlename?: string | null | undefined;
8701
9720
  } | {
8702
9721
  country: string;
8703
9722
  district: string;
@@ -8720,13 +9739,14 @@ export declare const EventDocument: z.ZodObject<{
8720
9739
  option: string;
8721
9740
  filename: string;
8722
9741
  originalFilename: string;
8723
- }[] | [string, string] | undefined> | undefined;
8724
- originalActionId?: string | undefined;
9742
+ }[] | [string, string] | null | undefined> | null | undefined;
9743
+ originalActionId?: string | null | undefined;
8725
9744
  } | {
8726
9745
  type: "REQUEST_CORRECTION";
8727
9746
  id: string;
8728
9747
  status: "Rejected" | "Requested" | "Accepted";
8729
9748
  transactionId: string;
9749
+ createdByUserType: "system" | "user";
8730
9750
  createdAt: string;
8731
9751
  createdBy: string;
8732
9752
  createdByRole: string;
@@ -8745,6 +9765,10 @@ export declare const EventDocument: z.ZodObject<{
8745
9765
  residentialArea?: string | null | undefined;
8746
9766
  street?: string | null | undefined;
8747
9767
  zipCode?: string | null | undefined;
9768
+ } | {
9769
+ firstname?: string | null | undefined;
9770
+ surname?: string | null | undefined;
9771
+ middlename?: string | null | undefined;
8748
9772
  } | {
8749
9773
  country: string;
8750
9774
  district: string;
@@ -8767,8 +9791,9 @@ export declare const EventDocument: z.ZodObject<{
8767
9791
  option: string;
8768
9792
  filename: string;
8769
9793
  originalFilename: string;
8770
- }[] | [string, string] | undefined>;
8771
- createdAtLocation: string;
9794
+ }[] | [string, string] | null | undefined>;
9795
+ createdBySignature?: string | null | undefined;
9796
+ createdAtLocation?: string | null | undefined;
8772
9797
  annotation?: Record<string, string | number | boolean | {
8773
9798
  type: string;
8774
9799
  filename: string;
@@ -8784,6 +9809,10 @@ export declare const EventDocument: z.ZodObject<{
8784
9809
  residentialArea?: string | null | undefined;
8785
9810
  street?: string | null | undefined;
8786
9811
  zipCode?: string | null | undefined;
9812
+ } | {
9813
+ firstname?: string | null | undefined;
9814
+ surname?: string | null | undefined;
9815
+ middlename?: string | null | undefined;
8787
9816
  } | {
8788
9817
  country: string;
8789
9818
  district: string;
@@ -8806,13 +9835,14 @@ export declare const EventDocument: z.ZodObject<{
8806
9835
  option: string;
8807
9836
  filename: string;
8808
9837
  originalFilename: string;
8809
- }[] | [string, string] | undefined> | undefined;
8810
- originalActionId?: string | undefined;
9838
+ }[] | [string, string] | null | undefined> | null | undefined;
9839
+ originalActionId?: string | null | undefined;
8811
9840
  } | {
8812
9841
  type: "APPROVE_CORRECTION";
8813
9842
  id: string;
8814
9843
  status: "Rejected" | "Requested" | "Accepted";
8815
9844
  transactionId: string;
9845
+ createdByUserType: "system" | "user";
8816
9846
  createdAt: string;
8817
9847
  createdBy: string;
8818
9848
  createdByRole: string;
@@ -8831,6 +9861,10 @@ export declare const EventDocument: z.ZodObject<{
8831
9861
  residentialArea?: string | null | undefined;
8832
9862
  street?: string | null | undefined;
8833
9863
  zipCode?: string | null | undefined;
9864
+ } | {
9865
+ firstname?: string | null | undefined;
9866
+ surname?: string | null | undefined;
9867
+ middlename?: string | null | undefined;
8834
9868
  } | {
8835
9869
  country: string;
8836
9870
  district: string;
@@ -8853,9 +9887,10 @@ export declare const EventDocument: z.ZodObject<{
8853
9887
  option: string;
8854
9888
  filename: string;
8855
9889
  originalFilename: string;
8856
- }[] | [string, string] | undefined>;
8857
- createdAtLocation: string;
9890
+ }[] | [string, string] | null | undefined>;
8858
9891
  requestId: string;
9892
+ createdBySignature?: string | null | undefined;
9893
+ createdAtLocation?: string | null | undefined;
8859
9894
  annotation?: Record<string, string | number | boolean | {
8860
9895
  type: string;
8861
9896
  filename: string;
@@ -8871,6 +9906,10 @@ export declare const EventDocument: z.ZodObject<{
8871
9906
  residentialArea?: string | null | undefined;
8872
9907
  street?: string | null | undefined;
8873
9908
  zipCode?: string | null | undefined;
9909
+ } | {
9910
+ firstname?: string | null | undefined;
9911
+ surname?: string | null | undefined;
9912
+ middlename?: string | null | undefined;
8874
9913
  } | {
8875
9914
  country: string;
8876
9915
  district: string;
@@ -8893,13 +9932,14 @@ export declare const EventDocument: z.ZodObject<{
8893
9932
  option: string;
8894
9933
  filename: string;
8895
9934
  originalFilename: string;
8896
- }[] | [string, string] | undefined> | undefined;
8897
- originalActionId?: string | undefined;
9935
+ }[] | [string, string] | null | undefined> | null | undefined;
9936
+ originalActionId?: string | null | undefined;
8898
9937
  } | {
8899
9938
  type: "REJECT_CORRECTION";
8900
9939
  id: string;
8901
9940
  status: "Rejected" | "Requested" | "Accepted";
8902
9941
  transactionId: string;
9942
+ createdByUserType: "system" | "user";
8903
9943
  createdAt: string;
8904
9944
  createdBy: string;
8905
9945
  createdByRole: string;
@@ -8918,6 +9958,10 @@ export declare const EventDocument: z.ZodObject<{
8918
9958
  residentialArea?: string | null | undefined;
8919
9959
  street?: string | null | undefined;
8920
9960
  zipCode?: string | null | undefined;
9961
+ } | {
9962
+ firstname?: string | null | undefined;
9963
+ surname?: string | null | undefined;
9964
+ middlename?: string | null | undefined;
8921
9965
  } | {
8922
9966
  country: string;
8923
9967
  district: string;
@@ -8940,9 +9984,10 @@ export declare const EventDocument: z.ZodObject<{
8940
9984
  option: string;
8941
9985
  filename: string;
8942
9986
  originalFilename: string;
8943
- }[] | [string, string] | undefined>;
8944
- createdAtLocation: string;
9987
+ }[] | [string, string] | null | undefined>;
8945
9988
  requestId: string;
9989
+ createdBySignature?: string | null | undefined;
9990
+ createdAtLocation?: string | null | undefined;
8946
9991
  annotation?: Record<string, string | number | boolean | {
8947
9992
  type: string;
8948
9993
  filename: string;
@@ -8958,6 +10003,10 @@ export declare const EventDocument: z.ZodObject<{
8958
10003
  residentialArea?: string | null | undefined;
8959
10004
  street?: string | null | undefined;
8960
10005
  zipCode?: string | null | undefined;
10006
+ } | {
10007
+ firstname?: string | null | undefined;
10008
+ surname?: string | null | undefined;
10009
+ middlename?: string | null | undefined;
8961
10010
  } | {
8962
10011
  country: string;
8963
10012
  district: string;
@@ -8980,13 +10029,14 @@ export declare const EventDocument: z.ZodObject<{
8980
10029
  option: string;
8981
10030
  filename: string;
8982
10031
  originalFilename: string;
8983
- }[] | [string, string] | undefined> | undefined;
8984
- originalActionId?: string | undefined;
10032
+ }[] | [string, string] | null | undefined> | null | undefined;
10033
+ originalActionId?: string | null | undefined;
8985
10034
  } | {
8986
10035
  type: "READ";
8987
10036
  id: string;
8988
10037
  status: "Rejected" | "Requested" | "Accepted";
8989
10038
  transactionId: string;
10039
+ createdByUserType: "system" | "user";
8990
10040
  createdAt: string;
8991
10041
  createdBy: string;
8992
10042
  createdByRole: string;
@@ -9005,6 +10055,10 @@ export declare const EventDocument: z.ZodObject<{
9005
10055
  residentialArea?: string | null | undefined;
9006
10056
  street?: string | null | undefined;
9007
10057
  zipCode?: string | null | undefined;
10058
+ } | {
10059
+ firstname?: string | null | undefined;
10060
+ surname?: string | null | undefined;
10061
+ middlename?: string | null | undefined;
9008
10062
  } | {
9009
10063
  country: string;
9010
10064
  district: string;
@@ -9027,8 +10081,9 @@ export declare const EventDocument: z.ZodObject<{
9027
10081
  option: string;
9028
10082
  filename: string;
9029
10083
  originalFilename: string;
9030
- }[] | [string, string] | undefined>;
9031
- createdAtLocation: string;
10084
+ }[] | [string, string] | null | undefined>;
10085
+ createdBySignature?: string | null | undefined;
10086
+ createdAtLocation?: string | null | undefined;
9032
10087
  annotation?: Record<string, string | number | boolean | {
9033
10088
  type: string;
9034
10089
  filename: string;
@@ -9044,6 +10099,10 @@ export declare const EventDocument: z.ZodObject<{
9044
10099
  residentialArea?: string | null | undefined;
9045
10100
  street?: string | null | undefined;
9046
10101
  zipCode?: string | null | undefined;
10102
+ } | {
10103
+ firstname?: string | null | undefined;
10104
+ surname?: string | null | undefined;
10105
+ middlename?: string | null | undefined;
9047
10106
  } | {
9048
10107
  country: string;
9049
10108
  district: string;
@@ -9066,23 +10125,22 @@ export declare const EventDocument: z.ZodObject<{
9066
10125
  option: string;
9067
10126
  filename: string;
9068
10127
  originalFilename: string;
9069
- }[] | [string, string] | undefined> | undefined;
9070
- originalActionId?: string | undefined;
10128
+ }[] | [string, string] | null | undefined> | null | undefined;
10129
+ originalActionId?: string | null | undefined;
9071
10130
  } | {
9072
10131
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9073
10132
  id: string;
9074
10133
  status: "Rejected";
9075
10134
  transactionId: string;
10135
+ createdByUserType: "system" | "user";
9076
10136
  createdAt: string;
9077
10137
  createdBy: string;
9078
10138
  createdByRole: string;
9079
- createdAtLocation: string;
9080
- originalActionId?: string | undefined;
10139
+ createdBySignature?: string | null | undefined;
10140
+ createdAtLocation?: string | null | undefined;
10141
+ originalActionId?: string | null | undefined;
9081
10142
  })[];
9082
10143
  trackingId: string;
9083
- dateOfEvent?: {
9084
- fieldId: string;
9085
- } | undefined;
9086
10144
  }>;
9087
10145
  export type EventDocument = z.infer<typeof EventDocument>;
9088
10146
  //# sourceMappingURL=EventDocument.d.ts.map