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

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