@opencrvs/toolkit 1.8.0-rc.fc4c805 → 1.8.0-rc.fc76588

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/commons/api/router.d.ts +10346 -4518
  2. package/dist/commons/conditionals/conditionals.d.ts +8 -3
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +56387 -29043
  5. package/dist/commons/events/ActionDocument.d.ts +2110 -519
  6. package/dist/commons/events/ActionInput.d.ts +1577 -305
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +675 -12
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  13. package/dist/commons/events/Draft.d.ts +137 -36
  14. package/dist/commons/events/EventConfig.d.ts +27593 -14046
  15. package/dist/commons/events/EventDocument.d.ts +1374 -391
  16. package/dist/commons/events/EventIndex.d.ts +589 -357
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +74 -80
  19. package/dist/commons/events/FieldConfig.d.ts +2500 -1111
  20. package/dist/commons/events/FieldType.d.ts +4 -1
  21. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  22. package/dist/commons/events/FieldValue.d.ts +43 -5
  23. package/dist/commons/events/FormConfig.d.ts +18485 -9821
  24. package/dist/commons/events/PageConfig.d.ts +3600 -1472
  25. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  26. package/dist/commons/events/User.d.ts +31 -7
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +4205 -538
  29. package/dist/commons/events/defineConfig.d.ts +2639 -635
  30. package/dist/commons/events/event.d.ts +37 -10
  31. package/dist/commons/events/field.d.ts +26 -17
  32. package/dist/commons/events/index.d.ts +4 -0
  33. package/dist/commons/events/scopes.d.ts +20 -1
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +149 -42
  36. package/dist/commons/events/transactions.d.ts +1 -1
  37. package/dist/commons/events/utils.d.ts +10115 -313
  38. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  39. package/dist/conditionals/index.js +45 -8
  40. package/dist/events/index.js +2682 -1019
  41. package/dist/scopes/index.d.ts +158 -1
  42. package/dist/scopes/index.js +152 -1
  43. package/package.json +1 -1
@@ -1,22 +1,17 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodString;
3
+ id: z.ZodBranded<z.ZodString, "UUID">;
4
4
  type: z.ZodString;
5
- dateOfEvent: z.ZodOptional<z.ZodObject<{
6
- fieldId: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- fieldId: string;
9
- }, {
10
- fieldId: string;
11
- }>>;
12
5
  createdAt: z.ZodString;
13
6
  updatedAt: z.ZodString;
14
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
15
- id: z.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
16
9
  transactionId: z.ZodString;
17
10
  createdAt: z.ZodString;
18
11
  createdBy: z.ZodString;
19
12
  createdByRole: z.ZodString;
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
20
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<{
21
16
  filename: z.ZodString;
22
17
  originalFilename: z.ZodString;
@@ -130,8 +125,20 @@ export declare const EventDocument: z.ZodObject<{
130
125
  addressLine2?: string | null | undefined;
131
126
  addressLine3?: string | null | undefined;
132
127
  postcodeOrZip?: string | null | undefined;
133
- }>]>>;
134
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
128
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
129
+ firstname: z.ZodString;
130
+ surname: z.ZodString;
131
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ firstname: string;
134
+ surname: string;
135
+ middlename?: string | null | undefined;
136
+ }, {
137
+ firstname: string;
138
+ surname: string;
139
+ middlename?: string | null | undefined;
140
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
141
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
135
142
  filename: z.ZodString;
136
143
  originalFilename: z.ZodString;
137
144
  type: z.ZodString;
@@ -244,15 +251,26 @@ export declare const EventDocument: z.ZodObject<{
244
251
  addressLine2?: string | null | undefined;
245
252
  addressLine3?: string | null | undefined;
246
253
  postcodeOrZip?: string | null | undefined;
247
- }>]>>>;
248
- createdAtLocation: z.ZodString;
254
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
255
+ firstname: z.ZodString;
256
+ surname: z.ZodString;
257
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ firstname: string;
260
+ surname: string;
261
+ middlename?: string | null | undefined;
262
+ }, {
263
+ firstname: string;
264
+ surname: string;
265
+ middlename?: string | null | undefined;
266
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
249
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
250
- originalActionId: z.ZodOptional<z.ZodString>;
268
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
251
269
  }, {
252
270
  type: z.ZodLiteral<"CREATE">;
253
271
  }>, "strip", z.ZodTypeAny, {
254
272
  type: "CREATE";
255
- id: string;
273
+ id: string & z.BRAND<"UUID">;
256
274
  status: "Rejected" | "Requested" | "Accepted";
257
275
  transactionId: string;
258
276
  createdAt: string;
@@ -273,6 +291,10 @@ export declare const EventDocument: z.ZodObject<{
273
291
  residentialArea?: string | null | undefined;
274
292
  street?: string | null | undefined;
275
293
  zipCode?: string | null | undefined;
294
+ } | {
295
+ firstname: string;
296
+ surname: string;
297
+ middlename?: string | null | undefined;
276
298
  } | {
277
299
  country: string;
278
300
  district: string;
@@ -295,8 +317,9 @@ export declare const EventDocument: z.ZodObject<{
295
317
  option: string;
296
318
  filename: string;
297
319
  originalFilename: string;
298
- }[] | [string, string] | undefined>;
299
- createdAtLocation: string;
320
+ }[] | [string, string] | null | undefined>;
321
+ createdBySignature?: string | null | undefined;
322
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
300
323
  annotation?: Record<string, string | number | boolean | {
301
324
  type: string;
302
325
  filename: string;
@@ -312,6 +335,10 @@ export declare const EventDocument: z.ZodObject<{
312
335
  residentialArea?: string | null | undefined;
313
336
  street?: string | null | undefined;
314
337
  zipCode?: string | null | undefined;
338
+ } | {
339
+ firstname: string;
340
+ surname: string;
341
+ middlename?: string | null | undefined;
315
342
  } | {
316
343
  country: string;
317
344
  district: string;
@@ -334,8 +361,8 @@ export declare const EventDocument: z.ZodObject<{
334
361
  option: string;
335
362
  filename: string;
336
363
  originalFilename: string;
337
- }[] | [string, string] | undefined> | undefined;
338
- originalActionId?: string | undefined;
364
+ }[] | [string, string] | null | undefined> | null | undefined;
365
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
339
366
  }, {
340
367
  type: "CREATE";
341
368
  id: string;
@@ -359,6 +386,10 @@ export declare const EventDocument: z.ZodObject<{
359
386
  residentialArea?: string | null | undefined;
360
387
  street?: string | null | undefined;
361
388
  zipCode?: string | null | undefined;
389
+ } | {
390
+ firstname: string;
391
+ surname: string;
392
+ middlename?: string | null | undefined;
362
393
  } | {
363
394
  country: string;
364
395
  district: string;
@@ -381,8 +412,9 @@ export declare const EventDocument: z.ZodObject<{
381
412
  option: string;
382
413
  filename: string;
383
414
  originalFilename: string;
384
- }[] | [string, string] | undefined>;
385
- createdAtLocation: string;
415
+ }[] | [string, string] | null | undefined>;
416
+ createdBySignature?: string | null | undefined;
417
+ createdAtLocation?: string | null | undefined;
386
418
  annotation?: Record<string, string | number | boolean | {
387
419
  type: string;
388
420
  filename: string;
@@ -398,6 +430,10 @@ export declare const EventDocument: z.ZodObject<{
398
430
  residentialArea?: string | null | undefined;
399
431
  street?: string | null | undefined;
400
432
  zipCode?: string | null | undefined;
433
+ } | {
434
+ firstname: string;
435
+ surname: string;
436
+ middlename?: string | null | undefined;
401
437
  } | {
402
438
  country: string;
403
439
  district: string;
@@ -420,14 +456,16 @@ export declare const EventDocument: z.ZodObject<{
420
456
  option: string;
421
457
  filename: string;
422
458
  originalFilename: string;
423
- }[] | [string, string] | undefined> | undefined;
424
- originalActionId?: string | undefined;
459
+ }[] | [string, string] | null | undefined> | null | undefined;
460
+ originalActionId?: string | null | undefined;
425
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
426
- id: z.ZodString;
462
+ id: z.ZodBranded<z.ZodString, "UUID">;
427
463
  transactionId: z.ZodString;
428
464
  createdAt: z.ZodString;
429
465
  createdBy: z.ZodString;
430
466
  createdByRole: z.ZodString;
467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
431
469
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
432
470
  filename: z.ZodString;
433
471
  originalFilename: z.ZodString;
@@ -541,8 +579,20 @@ export declare const EventDocument: z.ZodObject<{
541
579
  addressLine2?: string | null | undefined;
542
580
  addressLine3?: string | null | undefined;
543
581
  postcodeOrZip?: string | null | undefined;
544
- }>]>>;
545
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
582
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
583
+ firstname: z.ZodString;
584
+ surname: z.ZodString;
585
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ firstname: string;
588
+ surname: string;
589
+ middlename?: string | null | undefined;
590
+ }, {
591
+ firstname: string;
592
+ surname: string;
593
+ middlename?: string | null | undefined;
594
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
595
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
546
596
  filename: z.ZodString;
547
597
  originalFilename: z.ZodString;
548
598
  type: z.ZodString;
@@ -655,15 +705,26 @@ export declare const EventDocument: z.ZodObject<{
655
705
  addressLine2?: string | null | undefined;
656
706
  addressLine3?: string | null | undefined;
657
707
  postcodeOrZip?: string | null | undefined;
658
- }>]>>>;
659
- createdAtLocation: z.ZodString;
708
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
709
+ firstname: z.ZodString;
710
+ surname: z.ZodString;
711
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ firstname: string;
714
+ surname: string;
715
+ middlename?: string | null | undefined;
716
+ }, {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
720
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
660
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
661
- originalActionId: z.ZodOptional<z.ZodString>;
722
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
662
723
  }, {
663
724
  type: z.ZodLiteral<"VALIDATE">;
664
725
  }>, "strip", z.ZodTypeAny, {
665
726
  type: "VALIDATE";
666
- id: string;
727
+ id: string & z.BRAND<"UUID">;
667
728
  status: "Rejected" | "Requested" | "Accepted";
668
729
  transactionId: string;
669
730
  createdAt: string;
@@ -684,6 +745,10 @@ export declare const EventDocument: z.ZodObject<{
684
745
  residentialArea?: string | null | undefined;
685
746
  street?: string | null | undefined;
686
747
  zipCode?: string | null | undefined;
748
+ } | {
749
+ firstname: string;
750
+ surname: string;
751
+ middlename?: string | null | undefined;
687
752
  } | {
688
753
  country: string;
689
754
  district: string;
@@ -706,8 +771,9 @@ export declare const EventDocument: z.ZodObject<{
706
771
  option: string;
707
772
  filename: string;
708
773
  originalFilename: string;
709
- }[] | [string, string] | undefined>;
710
- createdAtLocation: string;
774
+ }[] | [string, string] | null | undefined>;
775
+ createdBySignature?: string | null | undefined;
776
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
711
777
  annotation?: Record<string, string | number | boolean | {
712
778
  type: string;
713
779
  filename: string;
@@ -723,6 +789,10 @@ export declare const EventDocument: z.ZodObject<{
723
789
  residentialArea?: string | null | undefined;
724
790
  street?: string | null | undefined;
725
791
  zipCode?: string | null | undefined;
792
+ } | {
793
+ firstname: string;
794
+ surname: string;
795
+ middlename?: string | null | undefined;
726
796
  } | {
727
797
  country: string;
728
798
  district: string;
@@ -745,8 +815,8 @@ export declare const EventDocument: z.ZodObject<{
745
815
  option: string;
746
816
  filename: string;
747
817
  originalFilename: string;
748
- }[] | [string, string] | undefined> | undefined;
749
- originalActionId?: string | undefined;
818
+ }[] | [string, string] | null | undefined> | null | undefined;
819
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
750
820
  }, {
751
821
  type: "VALIDATE";
752
822
  id: string;
@@ -770,6 +840,10 @@ export declare const EventDocument: z.ZodObject<{
770
840
  residentialArea?: string | null | undefined;
771
841
  street?: string | null | undefined;
772
842
  zipCode?: string | null | undefined;
843
+ } | {
844
+ firstname: string;
845
+ surname: string;
846
+ middlename?: string | null | undefined;
773
847
  } | {
774
848
  country: string;
775
849
  district: string;
@@ -792,8 +866,9 @@ export declare const EventDocument: z.ZodObject<{
792
866
  option: string;
793
867
  filename: string;
794
868
  originalFilename: string;
795
- }[] | [string, string] | undefined>;
796
- createdAtLocation: string;
869
+ }[] | [string, string] | null | undefined>;
870
+ createdBySignature?: string | null | undefined;
871
+ createdAtLocation?: string | null | undefined;
797
872
  annotation?: Record<string, string | number | boolean | {
798
873
  type: string;
799
874
  filename: string;
@@ -809,6 +884,10 @@ export declare const EventDocument: z.ZodObject<{
809
884
  residentialArea?: string | null | undefined;
810
885
  street?: string | null | undefined;
811
886
  zipCode?: string | null | undefined;
887
+ } | {
888
+ firstname: string;
889
+ surname: string;
890
+ middlename?: string | null | undefined;
812
891
  } | {
813
892
  country: string;
814
893
  district: string;
@@ -831,14 +910,16 @@ export declare const EventDocument: z.ZodObject<{
831
910
  option: string;
832
911
  filename: string;
833
912
  originalFilename: string;
834
- }[] | [string, string] | undefined> | undefined;
835
- originalActionId?: string | undefined;
913
+ }[] | [string, string] | null | undefined> | null | undefined;
914
+ originalActionId?: string | null | undefined;
836
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
837
- id: z.ZodString;
916
+ id: z.ZodBranded<z.ZodString, "UUID">;
838
917
  transactionId: z.ZodString;
839
918
  createdAt: z.ZodString;
840
919
  createdBy: z.ZodString;
841
920
  createdByRole: z.ZodString;
921
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
842
923
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
843
924
  filename: z.ZodString;
844
925
  originalFilename: z.ZodString;
@@ -952,8 +1033,20 @@ export declare const EventDocument: z.ZodObject<{
952
1033
  addressLine2?: string | null | undefined;
953
1034
  addressLine3?: string | null | undefined;
954
1035
  postcodeOrZip?: string | null | undefined;
955
- }>]>>;
956
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1036
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1037
+ firstname: z.ZodString;
1038
+ surname: z.ZodString;
1039
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ firstname: string;
1042
+ surname: string;
1043
+ middlename?: string | null | undefined;
1044
+ }, {
1045
+ firstname: string;
1046
+ surname: string;
1047
+ middlename?: string | null | undefined;
1048
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1049
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
957
1050
  filename: z.ZodString;
958
1051
  originalFilename: z.ZodString;
959
1052
  type: z.ZodString;
@@ -1066,16 +1159,41 @@ export declare const EventDocument: z.ZodObject<{
1066
1159
  addressLine2?: string | null | undefined;
1067
1160
  addressLine3?: string | null | undefined;
1068
1161
  postcodeOrZip?: string | null | undefined;
1069
- }>]>>>;
1070
- createdAtLocation: z.ZodString;
1162
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1163
+ firstname: z.ZodString;
1164
+ surname: z.ZodString;
1165
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ firstname: string;
1168
+ surname: string;
1169
+ middlename?: string | null | undefined;
1170
+ }, {
1171
+ firstname: string;
1172
+ surname: string;
1173
+ middlename?: string | null | undefined;
1174
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1071
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1072
- originalActionId: z.ZodOptional<z.ZodString>;
1176
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1073
1177
  }, {
1074
1178
  type: z.ZodLiteral<"REJECT">;
1179
+ reason: z.ZodObject<{
1180
+ message: z.ZodString;
1181
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ message: string;
1184
+ isDuplicate?: boolean | undefined;
1185
+ }, {
1186
+ message: string;
1187
+ isDuplicate?: boolean | undefined;
1188
+ }>;
1075
1189
  }>, "strip", z.ZodTypeAny, {
1076
1190
  type: "REJECT";
1077
- id: string;
1191
+ id: string & z.BRAND<"UUID">;
1078
1192
  status: "Rejected" | "Requested" | "Accepted";
1193
+ reason: {
1194
+ message: string;
1195
+ isDuplicate?: boolean | undefined;
1196
+ };
1079
1197
  transactionId: string;
1080
1198
  createdAt: string;
1081
1199
  createdBy: string;
@@ -1095,6 +1213,10 @@ export declare const EventDocument: z.ZodObject<{
1095
1213
  residentialArea?: string | null | undefined;
1096
1214
  street?: string | null | undefined;
1097
1215
  zipCode?: string | null | undefined;
1216
+ } | {
1217
+ firstname: string;
1218
+ surname: string;
1219
+ middlename?: string | null | undefined;
1098
1220
  } | {
1099
1221
  country: string;
1100
1222
  district: string;
@@ -1117,8 +1239,9 @@ export declare const EventDocument: z.ZodObject<{
1117
1239
  option: string;
1118
1240
  filename: string;
1119
1241
  originalFilename: string;
1120
- }[] | [string, string] | undefined>;
1121
- createdAtLocation: string;
1242
+ }[] | [string, string] | null | undefined>;
1243
+ createdBySignature?: string | null | undefined;
1244
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1122
1245
  annotation?: Record<string, string | number | boolean | {
1123
1246
  type: string;
1124
1247
  filename: string;
@@ -1134,6 +1257,10 @@ export declare const EventDocument: z.ZodObject<{
1134
1257
  residentialArea?: string | null | undefined;
1135
1258
  street?: string | null | undefined;
1136
1259
  zipCode?: string | null | undefined;
1260
+ } | {
1261
+ firstname: string;
1262
+ surname: string;
1263
+ middlename?: string | null | undefined;
1137
1264
  } | {
1138
1265
  country: string;
1139
1266
  district: string;
@@ -1156,12 +1283,16 @@ export declare const EventDocument: z.ZodObject<{
1156
1283
  option: string;
1157
1284
  filename: string;
1158
1285
  originalFilename: string;
1159
- }[] | [string, string] | undefined> | undefined;
1160
- originalActionId?: string | undefined;
1286
+ }[] | [string, string] | null | undefined> | null | undefined;
1287
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1161
1288
  }, {
1162
1289
  type: "REJECT";
1163
1290
  id: string;
1164
1291
  status: "Rejected" | "Requested" | "Accepted";
1292
+ reason: {
1293
+ message: string;
1294
+ isDuplicate?: boolean | undefined;
1295
+ };
1165
1296
  transactionId: string;
1166
1297
  createdAt: string;
1167
1298
  createdBy: string;
@@ -1181,6 +1312,10 @@ export declare const EventDocument: z.ZodObject<{
1181
1312
  residentialArea?: string | null | undefined;
1182
1313
  street?: string | null | undefined;
1183
1314
  zipCode?: string | null | undefined;
1315
+ } | {
1316
+ firstname: string;
1317
+ surname: string;
1318
+ middlename?: string | null | undefined;
1184
1319
  } | {
1185
1320
  country: string;
1186
1321
  district: string;
@@ -1203,8 +1338,9 @@ export declare const EventDocument: z.ZodObject<{
1203
1338
  option: string;
1204
1339
  filename: string;
1205
1340
  originalFilename: string;
1206
- }[] | [string, string] | undefined>;
1207
- createdAtLocation: string;
1341
+ }[] | [string, string] | null | undefined>;
1342
+ createdBySignature?: string | null | undefined;
1343
+ createdAtLocation?: string | null | undefined;
1208
1344
  annotation?: Record<string, string | number | boolean | {
1209
1345
  type: string;
1210
1346
  filename: string;
@@ -1220,6 +1356,10 @@ export declare const EventDocument: z.ZodObject<{
1220
1356
  residentialArea?: string | null | undefined;
1221
1357
  street?: string | null | undefined;
1222
1358
  zipCode?: string | null | undefined;
1359
+ } | {
1360
+ firstname: string;
1361
+ surname: string;
1362
+ middlename?: string | null | undefined;
1223
1363
  } | {
1224
1364
  country: string;
1225
1365
  district: string;
@@ -1242,14 +1382,16 @@ export declare const EventDocument: z.ZodObject<{
1242
1382
  option: string;
1243
1383
  filename: string;
1244
1384
  originalFilename: string;
1245
- }[] | [string, string] | undefined> | undefined;
1246
- originalActionId?: string | undefined;
1385
+ }[] | [string, string] | null | undefined> | null | undefined;
1386
+ originalActionId?: string | null | undefined;
1247
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1248
- id: z.ZodString;
1388
+ id: z.ZodBranded<z.ZodString, "UUID">;
1249
1389
  transactionId: z.ZodString;
1250
1390
  createdAt: z.ZodString;
1251
1391
  createdBy: z.ZodString;
1252
1392
  createdByRole: z.ZodString;
1393
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1253
1395
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1254
1396
  filename: z.ZodString;
1255
1397
  originalFilename: z.ZodString;
@@ -1363,8 +1505,20 @@ export declare const EventDocument: z.ZodObject<{
1363
1505
  addressLine2?: string | null | undefined;
1364
1506
  addressLine3?: string | null | undefined;
1365
1507
  postcodeOrZip?: string | null | undefined;
1366
- }>]>>;
1367
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1508
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1509
+ firstname: z.ZodString;
1510
+ surname: z.ZodString;
1511
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ firstname: string;
1514
+ surname: string;
1515
+ middlename?: string | null | undefined;
1516
+ }, {
1517
+ firstname: string;
1518
+ surname: string;
1519
+ middlename?: string | null | undefined;
1520
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1521
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1368
1522
  filename: z.ZodString;
1369
1523
  originalFilename: z.ZodString;
1370
1524
  type: z.ZodString;
@@ -1477,15 +1631,26 @@ export declare const EventDocument: z.ZodObject<{
1477
1631
  addressLine2?: string | null | undefined;
1478
1632
  addressLine3?: string | null | undefined;
1479
1633
  postcodeOrZip?: string | null | undefined;
1480
- }>]>>>;
1481
- createdAtLocation: z.ZodString;
1634
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1635
+ firstname: z.ZodString;
1636
+ surname: z.ZodString;
1637
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ firstname: string;
1640
+ surname: string;
1641
+ middlename?: string | null | undefined;
1642
+ }, {
1643
+ firstname: string;
1644
+ surname: string;
1645
+ middlename?: string | null | undefined;
1646
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1482
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1483
- originalActionId: z.ZodOptional<z.ZodString>;
1648
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1484
1649
  }, {
1485
1650
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1486
1651
  }>, "strip", z.ZodTypeAny, {
1487
1652
  type: "MARKED_AS_DUPLICATE";
1488
- id: string;
1653
+ id: string & z.BRAND<"UUID">;
1489
1654
  status: "Rejected" | "Requested" | "Accepted";
1490
1655
  transactionId: string;
1491
1656
  createdAt: string;
@@ -1506,6 +1671,10 @@ export declare const EventDocument: z.ZodObject<{
1506
1671
  residentialArea?: string | null | undefined;
1507
1672
  street?: string | null | undefined;
1508
1673
  zipCode?: string | null | undefined;
1674
+ } | {
1675
+ firstname: string;
1676
+ surname: string;
1677
+ middlename?: string | null | undefined;
1509
1678
  } | {
1510
1679
  country: string;
1511
1680
  district: string;
@@ -1528,8 +1697,9 @@ export declare const EventDocument: z.ZodObject<{
1528
1697
  option: string;
1529
1698
  filename: string;
1530
1699
  originalFilename: string;
1531
- }[] | [string, string] | undefined>;
1532
- createdAtLocation: string;
1700
+ }[] | [string, string] | null | undefined>;
1701
+ createdBySignature?: string | null | undefined;
1702
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1533
1703
  annotation?: Record<string, string | number | boolean | {
1534
1704
  type: string;
1535
1705
  filename: string;
@@ -1545,6 +1715,10 @@ export declare const EventDocument: z.ZodObject<{
1545
1715
  residentialArea?: string | null | undefined;
1546
1716
  street?: string | null | undefined;
1547
1717
  zipCode?: string | null | undefined;
1718
+ } | {
1719
+ firstname: string;
1720
+ surname: string;
1721
+ middlename?: string | null | undefined;
1548
1722
  } | {
1549
1723
  country: string;
1550
1724
  district: string;
@@ -1567,8 +1741,8 @@ export declare const EventDocument: z.ZodObject<{
1567
1741
  option: string;
1568
1742
  filename: string;
1569
1743
  originalFilename: string;
1570
- }[] | [string, string] | undefined> | undefined;
1571
- originalActionId?: string | undefined;
1744
+ }[] | [string, string] | null | undefined> | null | undefined;
1745
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1572
1746
  }, {
1573
1747
  type: "MARKED_AS_DUPLICATE";
1574
1748
  id: string;
@@ -1592,6 +1766,10 @@ export declare const EventDocument: z.ZodObject<{
1592
1766
  residentialArea?: string | null | undefined;
1593
1767
  street?: string | null | undefined;
1594
1768
  zipCode?: string | null | undefined;
1769
+ } | {
1770
+ firstname: string;
1771
+ surname: string;
1772
+ middlename?: string | null | undefined;
1595
1773
  } | {
1596
1774
  country: string;
1597
1775
  district: string;
@@ -1614,8 +1792,9 @@ export declare const EventDocument: z.ZodObject<{
1614
1792
  option: string;
1615
1793
  filename: string;
1616
1794
  originalFilename: string;
1617
- }[] | [string, string] | undefined>;
1618
- createdAtLocation: string;
1795
+ }[] | [string, string] | null | undefined>;
1796
+ createdBySignature?: string | null | undefined;
1797
+ createdAtLocation?: string | null | undefined;
1619
1798
  annotation?: Record<string, string | number | boolean | {
1620
1799
  type: string;
1621
1800
  filename: string;
@@ -1631,6 +1810,10 @@ export declare const EventDocument: z.ZodObject<{
1631
1810
  residentialArea?: string | null | undefined;
1632
1811
  street?: string | null | undefined;
1633
1812
  zipCode?: string | null | undefined;
1813
+ } | {
1814
+ firstname: string;
1815
+ surname: string;
1816
+ middlename?: string | null | undefined;
1634
1817
  } | {
1635
1818
  country: string;
1636
1819
  district: string;
@@ -1653,14 +1836,16 @@ export declare const EventDocument: z.ZodObject<{
1653
1836
  option: string;
1654
1837
  filename: string;
1655
1838
  originalFilename: string;
1656
- }[] | [string, string] | undefined> | undefined;
1657
- originalActionId?: string | undefined;
1839
+ }[] | [string, string] | null | undefined> | null | undefined;
1840
+ originalActionId?: string | null | undefined;
1658
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1659
- id: z.ZodString;
1842
+ id: z.ZodBranded<z.ZodString, "UUID">;
1660
1843
  transactionId: z.ZodString;
1661
1844
  createdAt: z.ZodString;
1662
1845
  createdBy: z.ZodString;
1663
1846
  createdByRole: z.ZodString;
1847
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1664
1849
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1665
1850
  filename: z.ZodString;
1666
1851
  originalFilename: z.ZodString;
@@ -1774,8 +1959,20 @@ export declare const EventDocument: z.ZodObject<{
1774
1959
  addressLine2?: string | null | undefined;
1775
1960
  addressLine3?: string | null | undefined;
1776
1961
  postcodeOrZip?: string | null | undefined;
1777
- }>]>>;
1778
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1962
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1963
+ firstname: z.ZodString;
1964
+ surname: z.ZodString;
1965
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ firstname: string;
1968
+ surname: string;
1969
+ middlename?: string | null | undefined;
1970
+ }, {
1971
+ firstname: string;
1972
+ surname: string;
1973
+ middlename?: string | null | undefined;
1974
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1975
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1779
1976
  filename: z.ZodString;
1780
1977
  originalFilename: z.ZodString;
1781
1978
  type: z.ZodString;
@@ -1888,16 +2085,41 @@ export declare const EventDocument: z.ZodObject<{
1888
2085
  addressLine2?: string | null | undefined;
1889
2086
  addressLine3?: string | null | undefined;
1890
2087
  postcodeOrZip?: string | null | undefined;
1891
- }>]>>>;
1892
- createdAtLocation: z.ZodString;
2088
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2089
+ firstname: z.ZodString;
2090
+ surname: z.ZodString;
2091
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ firstname: string;
2094
+ surname: string;
2095
+ middlename?: string | null | undefined;
2096
+ }, {
2097
+ firstname: string;
2098
+ surname: string;
2099
+ middlename?: string | null | undefined;
2100
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1893
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1894
- originalActionId: z.ZodOptional<z.ZodString>;
2102
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1895
2103
  }, {
1896
2104
  type: z.ZodLiteral<"ARCHIVE">;
2105
+ reason: z.ZodObject<{
2106
+ message: z.ZodString;
2107
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2108
+ }, "strip", z.ZodTypeAny, {
2109
+ message: string;
2110
+ isDuplicate?: boolean | undefined;
2111
+ }, {
2112
+ message: string;
2113
+ isDuplicate?: boolean | undefined;
2114
+ }>;
1897
2115
  }>, "strip", z.ZodTypeAny, {
1898
2116
  type: "ARCHIVE";
1899
- id: string;
2117
+ id: string & z.BRAND<"UUID">;
1900
2118
  status: "Rejected" | "Requested" | "Accepted";
2119
+ reason: {
2120
+ message: string;
2121
+ isDuplicate?: boolean | undefined;
2122
+ };
1901
2123
  transactionId: string;
1902
2124
  createdAt: string;
1903
2125
  createdBy: string;
@@ -1917,6 +2139,10 @@ export declare const EventDocument: z.ZodObject<{
1917
2139
  residentialArea?: string | null | undefined;
1918
2140
  street?: string | null | undefined;
1919
2141
  zipCode?: string | null | undefined;
2142
+ } | {
2143
+ firstname: string;
2144
+ surname: string;
2145
+ middlename?: string | null | undefined;
1920
2146
  } | {
1921
2147
  country: string;
1922
2148
  district: string;
@@ -1939,8 +2165,9 @@ export declare const EventDocument: z.ZodObject<{
1939
2165
  option: string;
1940
2166
  filename: string;
1941
2167
  originalFilename: string;
1942
- }[] | [string, string] | undefined>;
1943
- createdAtLocation: string;
2168
+ }[] | [string, string] | null | undefined>;
2169
+ createdBySignature?: string | null | undefined;
2170
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1944
2171
  annotation?: Record<string, string | number | boolean | {
1945
2172
  type: string;
1946
2173
  filename: string;
@@ -1956,6 +2183,10 @@ export declare const EventDocument: z.ZodObject<{
1956
2183
  residentialArea?: string | null | undefined;
1957
2184
  street?: string | null | undefined;
1958
2185
  zipCode?: string | null | undefined;
2186
+ } | {
2187
+ firstname: string;
2188
+ surname: string;
2189
+ middlename?: string | null | undefined;
1959
2190
  } | {
1960
2191
  country: string;
1961
2192
  district: string;
@@ -1978,12 +2209,16 @@ export declare const EventDocument: z.ZodObject<{
1978
2209
  option: string;
1979
2210
  filename: string;
1980
2211
  originalFilename: string;
1981
- }[] | [string, string] | undefined> | undefined;
1982
- originalActionId?: string | undefined;
2212
+ }[] | [string, string] | null | undefined> | null | undefined;
2213
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1983
2214
  }, {
1984
2215
  type: "ARCHIVE";
1985
2216
  id: string;
1986
2217
  status: "Rejected" | "Requested" | "Accepted";
2218
+ reason: {
2219
+ message: string;
2220
+ isDuplicate?: boolean | undefined;
2221
+ };
1987
2222
  transactionId: string;
1988
2223
  createdAt: string;
1989
2224
  createdBy: string;
@@ -2003,6 +2238,10 @@ export declare const EventDocument: z.ZodObject<{
2003
2238
  residentialArea?: string | null | undefined;
2004
2239
  street?: string | null | undefined;
2005
2240
  zipCode?: string | null | undefined;
2241
+ } | {
2242
+ firstname: string;
2243
+ surname: string;
2244
+ middlename?: string | null | undefined;
2006
2245
  } | {
2007
2246
  country: string;
2008
2247
  district: string;
@@ -2025,8 +2264,9 @@ export declare const EventDocument: z.ZodObject<{
2025
2264
  option: string;
2026
2265
  filename: string;
2027
2266
  originalFilename: string;
2028
- }[] | [string, string] | undefined>;
2029
- createdAtLocation: string;
2267
+ }[] | [string, string] | null | undefined>;
2268
+ createdBySignature?: string | null | undefined;
2269
+ createdAtLocation?: string | null | undefined;
2030
2270
  annotation?: Record<string, string | number | boolean | {
2031
2271
  type: string;
2032
2272
  filename: string;
@@ -2042,6 +2282,10 @@ export declare const EventDocument: z.ZodObject<{
2042
2282
  residentialArea?: string | null | undefined;
2043
2283
  street?: string | null | undefined;
2044
2284
  zipCode?: string | null | undefined;
2285
+ } | {
2286
+ firstname: string;
2287
+ surname: string;
2288
+ middlename?: string | null | undefined;
2045
2289
  } | {
2046
2290
  country: string;
2047
2291
  district: string;
@@ -2064,14 +2308,16 @@ export declare const EventDocument: z.ZodObject<{
2064
2308
  option: string;
2065
2309
  filename: string;
2066
2310
  originalFilename: string;
2067
- }[] | [string, string] | undefined> | undefined;
2068
- originalActionId?: string | undefined;
2311
+ }[] | [string, string] | null | undefined> | null | undefined;
2312
+ originalActionId?: string | null | undefined;
2069
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2070
- id: z.ZodString;
2314
+ id: z.ZodBranded<z.ZodString, "UUID">;
2071
2315
  transactionId: z.ZodString;
2072
2316
  createdAt: z.ZodString;
2073
2317
  createdBy: z.ZodString;
2074
2318
  createdByRole: z.ZodString;
2319
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2075
2321
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2076
2322
  filename: z.ZodString;
2077
2323
  originalFilename: z.ZodString;
@@ -2185,8 +2431,20 @@ export declare const EventDocument: z.ZodObject<{
2185
2431
  addressLine2?: string | null | undefined;
2186
2432
  addressLine3?: string | null | undefined;
2187
2433
  postcodeOrZip?: string | null | undefined;
2188
- }>]>>;
2189
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2434
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2435
+ firstname: z.ZodString;
2436
+ surname: z.ZodString;
2437
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ firstname: string;
2440
+ surname: string;
2441
+ middlename?: string | null | undefined;
2442
+ }, {
2443
+ firstname: string;
2444
+ surname: string;
2445
+ middlename?: string | null | undefined;
2446
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2447
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2190
2448
  filename: z.ZodString;
2191
2449
  originalFilename: z.ZodString;
2192
2450
  type: z.ZodString;
@@ -2299,15 +2557,26 @@ export declare const EventDocument: z.ZodObject<{
2299
2557
  addressLine2?: string | null | undefined;
2300
2558
  addressLine3?: string | null | undefined;
2301
2559
  postcodeOrZip?: string | null | undefined;
2302
- }>]>>>;
2303
- createdAtLocation: z.ZodString;
2560
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2561
+ firstname: z.ZodString;
2562
+ surname: z.ZodString;
2563
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ firstname: string;
2566
+ surname: string;
2567
+ middlename?: string | null | undefined;
2568
+ }, {
2569
+ firstname: string;
2570
+ surname: string;
2571
+ middlename?: string | null | undefined;
2572
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2304
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2305
- originalActionId: z.ZodOptional<z.ZodString>;
2574
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2306
2575
  }, {
2307
2576
  type: z.ZodLiteral<"NOTIFY">;
2308
2577
  }>, "strip", z.ZodTypeAny, {
2309
2578
  type: "NOTIFY";
2310
- id: string;
2579
+ id: string & z.BRAND<"UUID">;
2311
2580
  status: "Rejected" | "Requested" | "Accepted";
2312
2581
  transactionId: string;
2313
2582
  createdAt: string;
@@ -2328,6 +2597,10 @@ export declare const EventDocument: z.ZodObject<{
2328
2597
  residentialArea?: string | null | undefined;
2329
2598
  street?: string | null | undefined;
2330
2599
  zipCode?: string | null | undefined;
2600
+ } | {
2601
+ firstname: string;
2602
+ surname: string;
2603
+ middlename?: string | null | undefined;
2331
2604
  } | {
2332
2605
  country: string;
2333
2606
  district: string;
@@ -2350,8 +2623,9 @@ export declare const EventDocument: z.ZodObject<{
2350
2623
  option: string;
2351
2624
  filename: string;
2352
2625
  originalFilename: string;
2353
- }[] | [string, string] | undefined>;
2354
- createdAtLocation: string;
2626
+ }[] | [string, string] | null | undefined>;
2627
+ createdBySignature?: string | null | undefined;
2628
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2355
2629
  annotation?: Record<string, string | number | boolean | {
2356
2630
  type: string;
2357
2631
  filename: string;
@@ -2367,6 +2641,10 @@ export declare const EventDocument: z.ZodObject<{
2367
2641
  residentialArea?: string | null | undefined;
2368
2642
  street?: string | null | undefined;
2369
2643
  zipCode?: string | null | undefined;
2644
+ } | {
2645
+ firstname: string;
2646
+ surname: string;
2647
+ middlename?: string | null | undefined;
2370
2648
  } | {
2371
2649
  country: string;
2372
2650
  district: string;
@@ -2389,8 +2667,8 @@ export declare const EventDocument: z.ZodObject<{
2389
2667
  option: string;
2390
2668
  filename: string;
2391
2669
  originalFilename: string;
2392
- }[] | [string, string] | undefined> | undefined;
2393
- originalActionId?: string | undefined;
2670
+ }[] | [string, string] | null | undefined> | null | undefined;
2671
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2394
2672
  }, {
2395
2673
  type: "NOTIFY";
2396
2674
  id: string;
@@ -2414,6 +2692,10 @@ export declare const EventDocument: z.ZodObject<{
2414
2692
  residentialArea?: string | null | undefined;
2415
2693
  street?: string | null | undefined;
2416
2694
  zipCode?: string | null | undefined;
2695
+ } | {
2696
+ firstname: string;
2697
+ surname: string;
2698
+ middlename?: string | null | undefined;
2417
2699
  } | {
2418
2700
  country: string;
2419
2701
  district: string;
@@ -2436,8 +2718,9 @@ export declare const EventDocument: z.ZodObject<{
2436
2718
  option: string;
2437
2719
  filename: string;
2438
2720
  originalFilename: string;
2439
- }[] | [string, string] | undefined>;
2440
- createdAtLocation: string;
2721
+ }[] | [string, string] | null | undefined>;
2722
+ createdBySignature?: string | null | undefined;
2723
+ createdAtLocation?: string | null | undefined;
2441
2724
  annotation?: Record<string, string | number | boolean | {
2442
2725
  type: string;
2443
2726
  filename: string;
@@ -2453,6 +2736,10 @@ export declare const EventDocument: z.ZodObject<{
2453
2736
  residentialArea?: string | null | undefined;
2454
2737
  street?: string | null | undefined;
2455
2738
  zipCode?: string | null | undefined;
2739
+ } | {
2740
+ firstname: string;
2741
+ surname: string;
2742
+ middlename?: string | null | undefined;
2456
2743
  } | {
2457
2744
  country: string;
2458
2745
  district: string;
@@ -2475,14 +2762,16 @@ export declare const EventDocument: z.ZodObject<{
2475
2762
  option: string;
2476
2763
  filename: string;
2477
2764
  originalFilename: string;
2478
- }[] | [string, string] | undefined> | undefined;
2479
- originalActionId?: string | undefined;
2765
+ }[] | [string, string] | null | undefined> | null | undefined;
2766
+ originalActionId?: string | null | undefined;
2480
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2481
- id: z.ZodString;
2768
+ id: z.ZodBranded<z.ZodString, "UUID">;
2482
2769
  transactionId: z.ZodString;
2483
2770
  createdAt: z.ZodString;
2484
2771
  createdBy: z.ZodString;
2485
2772
  createdByRole: z.ZodString;
2773
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2486
2775
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2487
2776
  filename: z.ZodString;
2488
2777
  originalFilename: z.ZodString;
@@ -2596,8 +2885,20 @@ export declare const EventDocument: z.ZodObject<{
2596
2885
  addressLine2?: string | null | undefined;
2597
2886
  addressLine3?: string | null | undefined;
2598
2887
  postcodeOrZip?: string | null | undefined;
2599
- }>]>>;
2600
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2888
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2889
+ firstname: z.ZodString;
2890
+ surname: z.ZodString;
2891
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2892
+ }, "strip", z.ZodTypeAny, {
2893
+ firstname: string;
2894
+ surname: string;
2895
+ middlename?: string | null | undefined;
2896
+ }, {
2897
+ firstname: string;
2898
+ surname: string;
2899
+ middlename?: string | null | undefined;
2900
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2901
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2601
2902
  filename: z.ZodString;
2602
2903
  originalFilename: z.ZodString;
2603
2904
  type: z.ZodString;
@@ -2710,16 +3011,27 @@ export declare const EventDocument: z.ZodObject<{
2710
3011
  addressLine2?: string | null | undefined;
2711
3012
  addressLine3?: string | null | undefined;
2712
3013
  postcodeOrZip?: string | null | undefined;
2713
- }>]>>>;
2714
- createdAtLocation: z.ZodString;
3014
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3015
+ firstname: z.ZodString;
3016
+ surname: z.ZodString;
3017
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ firstname: string;
3020
+ surname: string;
3021
+ middlename?: string | null | undefined;
3022
+ }, {
3023
+ firstname: string;
3024
+ surname: string;
3025
+ middlename?: string | null | undefined;
3026
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2715
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2716
- originalActionId: z.ZodOptional<z.ZodString>;
3028
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2717
3029
  }, {
2718
3030
  type: z.ZodLiteral<"REGISTER">;
2719
3031
  registrationNumber: z.ZodOptional<z.ZodString>;
2720
3032
  }>, "strip", z.ZodTypeAny, {
2721
3033
  type: "REGISTER";
2722
- id: string;
3034
+ id: string & z.BRAND<"UUID">;
2723
3035
  status: "Rejected" | "Requested" | "Accepted";
2724
3036
  transactionId: string;
2725
3037
  createdAt: string;
@@ -2740,6 +3052,10 @@ export declare const EventDocument: z.ZodObject<{
2740
3052
  residentialArea?: string | null | undefined;
2741
3053
  street?: string | null | undefined;
2742
3054
  zipCode?: string | null | undefined;
3055
+ } | {
3056
+ firstname: string;
3057
+ surname: string;
3058
+ middlename?: string | null | undefined;
2743
3059
  } | {
2744
3060
  country: string;
2745
3061
  district: string;
@@ -2762,8 +3078,9 @@ export declare const EventDocument: z.ZodObject<{
2762
3078
  option: string;
2763
3079
  filename: string;
2764
3080
  originalFilename: string;
2765
- }[] | [string, string] | undefined>;
2766
- createdAtLocation: string;
3081
+ }[] | [string, string] | null | undefined>;
3082
+ createdBySignature?: string | null | undefined;
3083
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2767
3084
  annotation?: Record<string, string | number | boolean | {
2768
3085
  type: string;
2769
3086
  filename: string;
@@ -2779,6 +3096,10 @@ export declare const EventDocument: z.ZodObject<{
2779
3096
  residentialArea?: string | null | undefined;
2780
3097
  street?: string | null | undefined;
2781
3098
  zipCode?: string | null | undefined;
3099
+ } | {
3100
+ firstname: string;
3101
+ surname: string;
3102
+ middlename?: string | null | undefined;
2782
3103
  } | {
2783
3104
  country: string;
2784
3105
  district: string;
@@ -2801,8 +3122,8 @@ export declare const EventDocument: z.ZodObject<{
2801
3122
  option: string;
2802
3123
  filename: string;
2803
3124
  originalFilename: string;
2804
- }[] | [string, string] | undefined> | undefined;
2805
- originalActionId?: string | undefined;
3125
+ }[] | [string, string] | null | undefined> | null | undefined;
3126
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2806
3127
  registrationNumber?: string | undefined;
2807
3128
  }, {
2808
3129
  type: "REGISTER";
@@ -2827,6 +3148,10 @@ export declare const EventDocument: z.ZodObject<{
2827
3148
  residentialArea?: string | null | undefined;
2828
3149
  street?: string | null | undefined;
2829
3150
  zipCode?: string | null | undefined;
3151
+ } | {
3152
+ firstname: string;
3153
+ surname: string;
3154
+ middlename?: string | null | undefined;
2830
3155
  } | {
2831
3156
  country: string;
2832
3157
  district: string;
@@ -2849,8 +3174,9 @@ export declare const EventDocument: z.ZodObject<{
2849
3174
  option: string;
2850
3175
  filename: string;
2851
3176
  originalFilename: string;
2852
- }[] | [string, string] | undefined>;
2853
- createdAtLocation: string;
3177
+ }[] | [string, string] | null | undefined>;
3178
+ createdBySignature?: string | null | undefined;
3179
+ createdAtLocation?: string | null | undefined;
2854
3180
  annotation?: Record<string, string | number | boolean | {
2855
3181
  type: string;
2856
3182
  filename: string;
@@ -2866,6 +3192,10 @@ export declare const EventDocument: z.ZodObject<{
2866
3192
  residentialArea?: string | null | undefined;
2867
3193
  street?: string | null | undefined;
2868
3194
  zipCode?: string | null | undefined;
3195
+ } | {
3196
+ firstname: string;
3197
+ surname: string;
3198
+ middlename?: string | null | undefined;
2869
3199
  } | {
2870
3200
  country: string;
2871
3201
  district: string;
@@ -2888,15 +3218,17 @@ export declare const EventDocument: z.ZodObject<{
2888
3218
  option: string;
2889
3219
  filename: string;
2890
3220
  originalFilename: string;
2891
- }[] | [string, string] | undefined> | undefined;
2892
- originalActionId?: string | undefined;
3221
+ }[] | [string, string] | null | undefined> | null | undefined;
3222
+ originalActionId?: string | null | undefined;
2893
3223
  registrationNumber?: string | undefined;
2894
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
2895
- id: z.ZodString;
3225
+ id: z.ZodBranded<z.ZodString, "UUID">;
2896
3226
  transactionId: z.ZodString;
2897
3227
  createdAt: z.ZodString;
2898
3228
  createdBy: z.ZodString;
2899
3229
  createdByRole: z.ZodString;
3230
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2900
3232
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2901
3233
  filename: z.ZodString;
2902
3234
  originalFilename: z.ZodString;
@@ -3010,8 +3342,20 @@ export declare const EventDocument: z.ZodObject<{
3010
3342
  addressLine2?: string | null | undefined;
3011
3343
  addressLine3?: string | null | undefined;
3012
3344
  postcodeOrZip?: string | null | undefined;
3013
- }>]>>;
3014
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3345
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3346
+ firstname: z.ZodString;
3347
+ surname: z.ZodString;
3348
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3349
+ }, "strip", z.ZodTypeAny, {
3350
+ firstname: string;
3351
+ surname: string;
3352
+ middlename?: string | null | undefined;
3353
+ }, {
3354
+ firstname: string;
3355
+ surname: string;
3356
+ middlename?: string | null | undefined;
3357
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3358
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3015
3359
  filename: z.ZodString;
3016
3360
  originalFilename: z.ZodString;
3017
3361
  type: z.ZodString;
@@ -3124,15 +3468,26 @@ export declare const EventDocument: z.ZodObject<{
3124
3468
  addressLine2?: string | null | undefined;
3125
3469
  addressLine3?: string | null | undefined;
3126
3470
  postcodeOrZip?: string | null | undefined;
3127
- }>]>>>;
3128
- createdAtLocation: z.ZodString;
3471
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3472
+ firstname: z.ZodString;
3473
+ surname: z.ZodString;
3474
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3475
+ }, "strip", z.ZodTypeAny, {
3476
+ firstname: string;
3477
+ surname: string;
3478
+ middlename?: string | null | undefined;
3479
+ }, {
3480
+ firstname: string;
3481
+ surname: string;
3482
+ middlename?: string | null | undefined;
3483
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3129
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3130
- originalActionId: z.ZodOptional<z.ZodString>;
3485
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3131
3486
  }, {
3132
3487
  type: z.ZodLiteral<"DECLARE">;
3133
3488
  }>, "strip", z.ZodTypeAny, {
3134
3489
  type: "DECLARE";
3135
- id: string;
3490
+ id: string & z.BRAND<"UUID">;
3136
3491
  status: "Rejected" | "Requested" | "Accepted";
3137
3492
  transactionId: string;
3138
3493
  createdAt: string;
@@ -3153,6 +3508,10 @@ export declare const EventDocument: z.ZodObject<{
3153
3508
  residentialArea?: string | null | undefined;
3154
3509
  street?: string | null | undefined;
3155
3510
  zipCode?: string | null | undefined;
3511
+ } | {
3512
+ firstname: string;
3513
+ surname: string;
3514
+ middlename?: string | null | undefined;
3156
3515
  } | {
3157
3516
  country: string;
3158
3517
  district: string;
@@ -3175,8 +3534,9 @@ export declare const EventDocument: z.ZodObject<{
3175
3534
  option: string;
3176
3535
  filename: string;
3177
3536
  originalFilename: string;
3178
- }[] | [string, string] | undefined>;
3179
- createdAtLocation: string;
3537
+ }[] | [string, string] | null | undefined>;
3538
+ createdBySignature?: string | null | undefined;
3539
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3180
3540
  annotation?: Record<string, string | number | boolean | {
3181
3541
  type: string;
3182
3542
  filename: string;
@@ -3192,6 +3552,10 @@ export declare const EventDocument: z.ZodObject<{
3192
3552
  residentialArea?: string | null | undefined;
3193
3553
  street?: string | null | undefined;
3194
3554
  zipCode?: string | null | undefined;
3555
+ } | {
3556
+ firstname: string;
3557
+ surname: string;
3558
+ middlename?: string | null | undefined;
3195
3559
  } | {
3196
3560
  country: string;
3197
3561
  district: string;
@@ -3214,8 +3578,8 @@ export declare const EventDocument: z.ZodObject<{
3214
3578
  option: string;
3215
3579
  filename: string;
3216
3580
  originalFilename: string;
3217
- }[] | [string, string] | undefined> | undefined;
3218
- originalActionId?: string | undefined;
3581
+ }[] | [string, string] | null | undefined> | null | undefined;
3582
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3219
3583
  }, {
3220
3584
  type: "DECLARE";
3221
3585
  id: string;
@@ -3239,6 +3603,10 @@ export declare const EventDocument: z.ZodObject<{
3239
3603
  residentialArea?: string | null | undefined;
3240
3604
  street?: string | null | undefined;
3241
3605
  zipCode?: string | null | undefined;
3606
+ } | {
3607
+ firstname: string;
3608
+ surname: string;
3609
+ middlename?: string | null | undefined;
3242
3610
  } | {
3243
3611
  country: string;
3244
3612
  district: string;
@@ -3261,8 +3629,9 @@ export declare const EventDocument: z.ZodObject<{
3261
3629
  option: string;
3262
3630
  filename: string;
3263
3631
  originalFilename: string;
3264
- }[] | [string, string] | undefined>;
3265
- createdAtLocation: string;
3632
+ }[] | [string, string] | null | undefined>;
3633
+ createdBySignature?: string | null | undefined;
3634
+ createdAtLocation?: string | null | undefined;
3266
3635
  annotation?: Record<string, string | number | boolean | {
3267
3636
  type: string;
3268
3637
  filename: string;
@@ -3278,6 +3647,10 @@ export declare const EventDocument: z.ZodObject<{
3278
3647
  residentialArea?: string | null | undefined;
3279
3648
  street?: string | null | undefined;
3280
3649
  zipCode?: string | null | undefined;
3650
+ } | {
3651
+ firstname: string;
3652
+ surname: string;
3653
+ middlename?: string | null | undefined;
3281
3654
  } | {
3282
3655
  country: string;
3283
3656
  district: string;
@@ -3300,14 +3673,16 @@ export declare const EventDocument: z.ZodObject<{
3300
3673
  option: string;
3301
3674
  filename: string;
3302
3675
  originalFilename: string;
3303
- }[] | [string, string] | undefined> | undefined;
3304
- originalActionId?: string | undefined;
3676
+ }[] | [string, string] | null | undefined> | null | undefined;
3677
+ originalActionId?: string | null | undefined;
3305
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3306
- id: z.ZodString;
3679
+ id: z.ZodBranded<z.ZodString, "UUID">;
3307
3680
  transactionId: z.ZodString;
3308
3681
  createdAt: z.ZodString;
3309
3682
  createdBy: z.ZodString;
3310
3683
  createdByRole: z.ZodString;
3684
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3311
3686
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3312
3687
  filename: z.ZodString;
3313
3688
  originalFilename: z.ZodString;
@@ -3421,8 +3796,20 @@ export declare const EventDocument: z.ZodObject<{
3421
3796
  addressLine2?: string | null | undefined;
3422
3797
  addressLine3?: string | null | undefined;
3423
3798
  postcodeOrZip?: string | null | undefined;
3424
- }>]>>;
3425
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3799
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3800
+ firstname: z.ZodString;
3801
+ surname: z.ZodString;
3802
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3803
+ }, "strip", z.ZodTypeAny, {
3804
+ firstname: string;
3805
+ surname: string;
3806
+ middlename?: string | null | undefined;
3807
+ }, {
3808
+ firstname: string;
3809
+ surname: string;
3810
+ middlename?: string | null | undefined;
3811
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3812
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3426
3813
  filename: z.ZodString;
3427
3814
  originalFilename: z.ZodString;
3428
3815
  type: z.ZodString;
@@ -3535,16 +3922,27 @@ export declare const EventDocument: z.ZodObject<{
3535
3922
  addressLine2?: string | null | undefined;
3536
3923
  addressLine3?: string | null | undefined;
3537
3924
  postcodeOrZip?: string | null | undefined;
3538
- }>]>>>;
3539
- createdAtLocation: z.ZodString;
3925
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3926
+ firstname: z.ZodString;
3927
+ surname: z.ZodString;
3928
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3929
+ }, "strip", z.ZodTypeAny, {
3930
+ firstname: string;
3931
+ surname: string;
3932
+ middlename?: string | null | undefined;
3933
+ }, {
3934
+ firstname: string;
3935
+ surname: string;
3936
+ middlename?: string | null | undefined;
3937
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3540
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3541
- originalActionId: z.ZodOptional<z.ZodString>;
3939
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3542
3940
  }, {
3543
3941
  type: z.ZodLiteral<"ASSIGN">;
3544
3942
  assignedTo: z.ZodString;
3545
3943
  }>, "strip", z.ZodTypeAny, {
3546
3944
  type: "ASSIGN";
3547
- id: string;
3945
+ id: string & z.BRAND<"UUID">;
3548
3946
  status: "Rejected" | "Requested" | "Accepted";
3549
3947
  transactionId: string;
3550
3948
  createdAt: string;
@@ -3565,6 +3963,10 @@ export declare const EventDocument: z.ZodObject<{
3565
3963
  residentialArea?: string | null | undefined;
3566
3964
  street?: string | null | undefined;
3567
3965
  zipCode?: string | null | undefined;
3966
+ } | {
3967
+ firstname: string;
3968
+ surname: string;
3969
+ middlename?: string | null | undefined;
3568
3970
  } | {
3569
3971
  country: string;
3570
3972
  district: string;
@@ -3587,9 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3587
3989
  option: string;
3588
3990
  filename: string;
3589
3991
  originalFilename: string;
3590
- }[] | [string, string] | undefined>;
3591
- createdAtLocation: string;
3992
+ }[] | [string, string] | null | undefined>;
3592
3993
  assignedTo: string;
3994
+ createdBySignature?: string | null | undefined;
3995
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3593
3996
  annotation?: Record<string, string | number | boolean | {
3594
3997
  type: string;
3595
3998
  filename: string;
@@ -3605,6 +4008,10 @@ export declare const EventDocument: z.ZodObject<{
3605
4008
  residentialArea?: string | null | undefined;
3606
4009
  street?: string | null | undefined;
3607
4010
  zipCode?: string | null | undefined;
4011
+ } | {
4012
+ firstname: string;
4013
+ surname: string;
4014
+ middlename?: string | null | undefined;
3608
4015
  } | {
3609
4016
  country: string;
3610
4017
  district: string;
@@ -3627,8 +4034,8 @@ export declare const EventDocument: z.ZodObject<{
3627
4034
  option: string;
3628
4035
  filename: string;
3629
4036
  originalFilename: string;
3630
- }[] | [string, string] | undefined> | undefined;
3631
- originalActionId?: string | undefined;
4037
+ }[] | [string, string] | null | undefined> | null | undefined;
4038
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3632
4039
  }, {
3633
4040
  type: "ASSIGN";
3634
4041
  id: string;
@@ -3652,6 +4059,10 @@ export declare const EventDocument: z.ZodObject<{
3652
4059
  residentialArea?: string | null | undefined;
3653
4060
  street?: string | null | undefined;
3654
4061
  zipCode?: string | null | undefined;
4062
+ } | {
4063
+ firstname: string;
4064
+ surname: string;
4065
+ middlename?: string | null | undefined;
3655
4066
  } | {
3656
4067
  country: string;
3657
4068
  district: string;
@@ -3674,9 +4085,10 @@ export declare const EventDocument: z.ZodObject<{
3674
4085
  option: string;
3675
4086
  filename: string;
3676
4087
  originalFilename: string;
3677
- }[] | [string, string] | undefined>;
3678
- createdAtLocation: string;
4088
+ }[] | [string, string] | null | undefined>;
3679
4089
  assignedTo: string;
4090
+ createdBySignature?: string | null | undefined;
4091
+ createdAtLocation?: string | null | undefined;
3680
4092
  annotation?: Record<string, string | number | boolean | {
3681
4093
  type: string;
3682
4094
  filename: string;
@@ -3692,6 +4104,10 @@ export declare const EventDocument: z.ZodObject<{
3692
4104
  residentialArea?: string | null | undefined;
3693
4105
  street?: string | null | undefined;
3694
4106
  zipCode?: string | null | undefined;
4107
+ } | {
4108
+ firstname: string;
4109
+ surname: string;
4110
+ middlename?: string | null | undefined;
3695
4111
  } | {
3696
4112
  country: string;
3697
4113
  district: string;
@@ -3714,14 +4130,16 @@ export declare const EventDocument: z.ZodObject<{
3714
4130
  option: string;
3715
4131
  filename: string;
3716
4132
  originalFilename: string;
3717
- }[] | [string, string] | undefined> | undefined;
3718
- originalActionId?: string | undefined;
4133
+ }[] | [string, string] | null | undefined> | null | undefined;
4134
+ originalActionId?: string | null | undefined;
3719
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
3720
- id: z.ZodString;
4136
+ id: z.ZodBranded<z.ZodString, "UUID">;
3721
4137
  transactionId: z.ZodString;
3722
4138
  createdAt: z.ZodString;
3723
4139
  createdBy: z.ZodString;
3724
4140
  createdByRole: z.ZodString;
4141
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3725
4143
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3726
4144
  filename: z.ZodString;
3727
4145
  originalFilename: z.ZodString;
@@ -3835,8 +4253,20 @@ export declare const EventDocument: z.ZodObject<{
3835
4253
  addressLine2?: string | null | undefined;
3836
4254
  addressLine3?: string | null | undefined;
3837
4255
  postcodeOrZip?: string | null | undefined;
3838
- }>]>>;
3839
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4256
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4257
+ firstname: z.ZodString;
4258
+ surname: z.ZodString;
4259
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4260
+ }, "strip", z.ZodTypeAny, {
4261
+ firstname: string;
4262
+ surname: string;
4263
+ middlename?: string | null | undefined;
4264
+ }, {
4265
+ firstname: string;
4266
+ surname: string;
4267
+ middlename?: string | null | undefined;
4268
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4269
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3840
4270
  filename: z.ZodString;
3841
4271
  originalFilename: z.ZodString;
3842
4272
  type: z.ZodString;
@@ -3949,15 +4379,26 @@ export declare const EventDocument: z.ZodObject<{
3949
4379
  addressLine2?: string | null | undefined;
3950
4380
  addressLine3?: string | null | undefined;
3951
4381
  postcodeOrZip?: string | null | undefined;
3952
- }>]>>>;
3953
- createdAtLocation: z.ZodString;
4382
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4383
+ firstname: z.ZodString;
4384
+ surname: z.ZodString;
4385
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
+ }, "strip", z.ZodTypeAny, {
4387
+ firstname: string;
4388
+ surname: string;
4389
+ middlename?: string | null | undefined;
4390
+ }, {
4391
+ firstname: string;
4392
+ surname: string;
4393
+ middlename?: string | null | undefined;
4394
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3954
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3955
- originalActionId: z.ZodOptional<z.ZodString>;
4396
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3956
4397
  }, {
3957
4398
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
3958
4399
  }>, "strip", z.ZodTypeAny, {
3959
4400
  type: "REQUEST_CORRECTION";
3960
- id: string;
4401
+ id: string & z.BRAND<"UUID">;
3961
4402
  status: "Rejected" | "Requested" | "Accepted";
3962
4403
  transactionId: string;
3963
4404
  createdAt: string;
@@ -3978,6 +4419,10 @@ export declare const EventDocument: z.ZodObject<{
3978
4419
  residentialArea?: string | null | undefined;
3979
4420
  street?: string | null | undefined;
3980
4421
  zipCode?: string | null | undefined;
4422
+ } | {
4423
+ firstname: string;
4424
+ surname: string;
4425
+ middlename?: string | null | undefined;
3981
4426
  } | {
3982
4427
  country: string;
3983
4428
  district: string;
@@ -4000,8 +4445,9 @@ export declare const EventDocument: z.ZodObject<{
4000
4445
  option: string;
4001
4446
  filename: string;
4002
4447
  originalFilename: string;
4003
- }[] | [string, string] | undefined>;
4004
- createdAtLocation: string;
4448
+ }[] | [string, string] | null | undefined>;
4449
+ createdBySignature?: string | null | undefined;
4450
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4005
4451
  annotation?: Record<string, string | number | boolean | {
4006
4452
  type: string;
4007
4453
  filename: string;
@@ -4017,6 +4463,10 @@ export declare const EventDocument: z.ZodObject<{
4017
4463
  residentialArea?: string | null | undefined;
4018
4464
  street?: string | null | undefined;
4019
4465
  zipCode?: string | null | undefined;
4466
+ } | {
4467
+ firstname: string;
4468
+ surname: string;
4469
+ middlename?: string | null | undefined;
4020
4470
  } | {
4021
4471
  country: string;
4022
4472
  district: string;
@@ -4039,8 +4489,8 @@ export declare const EventDocument: z.ZodObject<{
4039
4489
  option: string;
4040
4490
  filename: string;
4041
4491
  originalFilename: string;
4042
- }[] | [string, string] | undefined> | undefined;
4043
- originalActionId?: string | undefined;
4492
+ }[] | [string, string] | null | undefined> | null | undefined;
4493
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4044
4494
  }, {
4045
4495
  type: "REQUEST_CORRECTION";
4046
4496
  id: string;
@@ -4064,6 +4514,10 @@ export declare const EventDocument: z.ZodObject<{
4064
4514
  residentialArea?: string | null | undefined;
4065
4515
  street?: string | null | undefined;
4066
4516
  zipCode?: string | null | undefined;
4517
+ } | {
4518
+ firstname: string;
4519
+ surname: string;
4520
+ middlename?: string | null | undefined;
4067
4521
  } | {
4068
4522
  country: string;
4069
4523
  district: string;
@@ -4086,8 +4540,9 @@ export declare const EventDocument: z.ZodObject<{
4086
4540
  option: string;
4087
4541
  filename: string;
4088
4542
  originalFilename: string;
4089
- }[] | [string, string] | undefined>;
4090
- createdAtLocation: string;
4543
+ }[] | [string, string] | null | undefined>;
4544
+ createdBySignature?: string | null | undefined;
4545
+ createdAtLocation?: string | null | undefined;
4091
4546
  annotation?: Record<string, string | number | boolean | {
4092
4547
  type: string;
4093
4548
  filename: string;
@@ -4103,6 +4558,10 @@ export declare const EventDocument: z.ZodObject<{
4103
4558
  residentialArea?: string | null | undefined;
4104
4559
  street?: string | null | undefined;
4105
4560
  zipCode?: string | null | undefined;
4561
+ } | {
4562
+ firstname: string;
4563
+ surname: string;
4564
+ middlename?: string | null | undefined;
4106
4565
  } | {
4107
4566
  country: string;
4108
4567
  district: string;
@@ -4125,14 +4584,16 @@ export declare const EventDocument: z.ZodObject<{
4125
4584
  option: string;
4126
4585
  filename: string;
4127
4586
  originalFilename: string;
4128
- }[] | [string, string] | undefined> | undefined;
4129
- originalActionId?: string | undefined;
4587
+ }[] | [string, string] | null | undefined> | null | undefined;
4588
+ originalActionId?: string | null | undefined;
4130
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4131
- id: z.ZodString;
4590
+ id: z.ZodBranded<z.ZodString, "UUID">;
4132
4591
  transactionId: z.ZodString;
4133
4592
  createdAt: z.ZodString;
4134
4593
  createdBy: z.ZodString;
4135
4594
  createdByRole: z.ZodString;
4595
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4136
4597
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4137
4598
  filename: z.ZodString;
4138
4599
  originalFilename: z.ZodString;
@@ -4246,8 +4707,20 @@ export declare const EventDocument: z.ZodObject<{
4246
4707
  addressLine2?: string | null | undefined;
4247
4708
  addressLine3?: string | null | undefined;
4248
4709
  postcodeOrZip?: string | null | undefined;
4249
- }>]>>;
4250
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4710
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4711
+ firstname: z.ZodString;
4712
+ surname: z.ZodString;
4713
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4714
+ }, "strip", z.ZodTypeAny, {
4715
+ firstname: string;
4716
+ surname: string;
4717
+ middlename?: string | null | undefined;
4718
+ }, {
4719
+ firstname: string;
4720
+ surname: string;
4721
+ middlename?: string | null | undefined;
4722
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4723
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4251
4724
  filename: z.ZodString;
4252
4725
  originalFilename: z.ZodString;
4253
4726
  type: z.ZodString;
@@ -4360,16 +4833,27 @@ export declare const EventDocument: z.ZodObject<{
4360
4833
  addressLine2?: string | null | undefined;
4361
4834
  addressLine3?: string | null | undefined;
4362
4835
  postcodeOrZip?: string | null | undefined;
4363
- }>]>>>;
4364
- createdAtLocation: z.ZodString;
4836
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4837
+ firstname: z.ZodString;
4838
+ surname: z.ZodString;
4839
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4840
+ }, "strip", z.ZodTypeAny, {
4841
+ firstname: string;
4842
+ surname: string;
4843
+ middlename?: string | null | undefined;
4844
+ }, {
4845
+ firstname: string;
4846
+ surname: string;
4847
+ middlename?: string | null | undefined;
4848
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4365
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4366
- originalActionId: z.ZodOptional<z.ZodString>;
4850
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4367
4851
  }, {
4368
4852
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4369
4853
  requestId: z.ZodString;
4370
4854
  }>, "strip", z.ZodTypeAny, {
4371
4855
  type: "APPROVE_CORRECTION";
4372
- id: string;
4856
+ id: string & z.BRAND<"UUID">;
4373
4857
  status: "Rejected" | "Requested" | "Accepted";
4374
4858
  transactionId: string;
4375
4859
  createdAt: string;
@@ -4390,6 +4874,10 @@ export declare const EventDocument: z.ZodObject<{
4390
4874
  residentialArea?: string | null | undefined;
4391
4875
  street?: string | null | undefined;
4392
4876
  zipCode?: string | null | undefined;
4877
+ } | {
4878
+ firstname: string;
4879
+ surname: string;
4880
+ middlename?: string | null | undefined;
4393
4881
  } | {
4394
4882
  country: string;
4395
4883
  district: string;
@@ -4412,9 +4900,10 @@ export declare const EventDocument: z.ZodObject<{
4412
4900
  option: string;
4413
4901
  filename: string;
4414
4902
  originalFilename: string;
4415
- }[] | [string, string] | undefined>;
4416
- createdAtLocation: string;
4903
+ }[] | [string, string] | null | undefined>;
4417
4904
  requestId: string;
4905
+ createdBySignature?: string | null | undefined;
4906
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4418
4907
  annotation?: Record<string, string | number | boolean | {
4419
4908
  type: string;
4420
4909
  filename: string;
@@ -4430,6 +4919,10 @@ export declare const EventDocument: z.ZodObject<{
4430
4919
  residentialArea?: string | null | undefined;
4431
4920
  street?: string | null | undefined;
4432
4921
  zipCode?: string | null | undefined;
4922
+ } | {
4923
+ firstname: string;
4924
+ surname: string;
4925
+ middlename?: string | null | undefined;
4433
4926
  } | {
4434
4927
  country: string;
4435
4928
  district: string;
@@ -4452,8 +4945,8 @@ export declare const EventDocument: z.ZodObject<{
4452
4945
  option: string;
4453
4946
  filename: string;
4454
4947
  originalFilename: string;
4455
- }[] | [string, string] | undefined> | undefined;
4456
- originalActionId?: string | undefined;
4948
+ }[] | [string, string] | null | undefined> | null | undefined;
4949
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4457
4950
  }, {
4458
4951
  type: "APPROVE_CORRECTION";
4459
4952
  id: string;
@@ -4477,6 +4970,10 @@ export declare const EventDocument: z.ZodObject<{
4477
4970
  residentialArea?: string | null | undefined;
4478
4971
  street?: string | null | undefined;
4479
4972
  zipCode?: string | null | undefined;
4973
+ } | {
4974
+ firstname: string;
4975
+ surname: string;
4976
+ middlename?: string | null | undefined;
4480
4977
  } | {
4481
4978
  country: string;
4482
4979
  district: string;
@@ -4499,9 +4996,10 @@ export declare const EventDocument: z.ZodObject<{
4499
4996
  option: string;
4500
4997
  filename: string;
4501
4998
  originalFilename: string;
4502
- }[] | [string, string] | undefined>;
4503
- createdAtLocation: string;
4999
+ }[] | [string, string] | null | undefined>;
4504
5000
  requestId: string;
5001
+ createdBySignature?: string | null | undefined;
5002
+ createdAtLocation?: string | null | undefined;
4505
5003
  annotation?: Record<string, string | number | boolean | {
4506
5004
  type: string;
4507
5005
  filename: string;
@@ -4517,6 +5015,10 @@ export declare const EventDocument: z.ZodObject<{
4517
5015
  residentialArea?: string | null | undefined;
4518
5016
  street?: string | null | undefined;
4519
5017
  zipCode?: string | null | undefined;
5018
+ } | {
5019
+ firstname: string;
5020
+ surname: string;
5021
+ middlename?: string | null | undefined;
4520
5022
  } | {
4521
5023
  country: string;
4522
5024
  district: string;
@@ -4539,14 +5041,16 @@ export declare const EventDocument: z.ZodObject<{
4539
5041
  option: string;
4540
5042
  filename: string;
4541
5043
  originalFilename: string;
4542
- }[] | [string, string] | undefined> | undefined;
4543
- originalActionId?: string | undefined;
5044
+ }[] | [string, string] | null | undefined> | null | undefined;
5045
+ originalActionId?: string | null | undefined;
4544
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
4545
- id: z.ZodString;
5047
+ id: z.ZodBranded<z.ZodString, "UUID">;
4546
5048
  transactionId: z.ZodString;
4547
5049
  createdAt: z.ZodString;
4548
5050
  createdBy: z.ZodString;
4549
5051
  createdByRole: z.ZodString;
5052
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4550
5054
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4551
5055
  filename: z.ZodString;
4552
5056
  originalFilename: z.ZodString;
@@ -4660,8 +5164,20 @@ export declare const EventDocument: z.ZodObject<{
4660
5164
  addressLine2?: string | null | undefined;
4661
5165
  addressLine3?: string | null | undefined;
4662
5166
  postcodeOrZip?: string | null | undefined;
4663
- }>]>>;
4664
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5167
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5168
+ firstname: z.ZodString;
5169
+ surname: z.ZodString;
5170
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5171
+ }, "strip", z.ZodTypeAny, {
5172
+ firstname: string;
5173
+ surname: string;
5174
+ middlename?: string | null | undefined;
5175
+ }, {
5176
+ firstname: string;
5177
+ surname: string;
5178
+ middlename?: string | null | undefined;
5179
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5180
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4665
5181
  filename: z.ZodString;
4666
5182
  originalFilename: z.ZodString;
4667
5183
  type: z.ZodString;
@@ -4774,16 +5290,27 @@ export declare const EventDocument: z.ZodObject<{
4774
5290
  addressLine2?: string | null | undefined;
4775
5291
  addressLine3?: string | null | undefined;
4776
5292
  postcodeOrZip?: string | null | undefined;
4777
- }>]>>>;
4778
- createdAtLocation: z.ZodString;
5293
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5294
+ firstname: z.ZodString;
5295
+ surname: z.ZodString;
5296
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5297
+ }, "strip", z.ZodTypeAny, {
5298
+ firstname: string;
5299
+ surname: string;
5300
+ middlename?: string | null | undefined;
5301
+ }, {
5302
+ firstname: string;
5303
+ surname: string;
5304
+ middlename?: string | null | undefined;
5305
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4779
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4780
- originalActionId: z.ZodOptional<z.ZodString>;
5307
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4781
5308
  }, {
4782
5309
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4783
5310
  requestId: z.ZodString;
4784
5311
  }>, "strip", z.ZodTypeAny, {
4785
5312
  type: "REJECT_CORRECTION";
4786
- id: string;
5313
+ id: string & z.BRAND<"UUID">;
4787
5314
  status: "Rejected" | "Requested" | "Accepted";
4788
5315
  transactionId: string;
4789
5316
  createdAt: string;
@@ -4804,6 +5331,10 @@ export declare const EventDocument: z.ZodObject<{
4804
5331
  residentialArea?: string | null | undefined;
4805
5332
  street?: string | null | undefined;
4806
5333
  zipCode?: string | null | undefined;
5334
+ } | {
5335
+ firstname: string;
5336
+ surname: string;
5337
+ middlename?: string | null | undefined;
4807
5338
  } | {
4808
5339
  country: string;
4809
5340
  district: string;
@@ -4826,9 +5357,10 @@ export declare const EventDocument: z.ZodObject<{
4826
5357
  option: string;
4827
5358
  filename: string;
4828
5359
  originalFilename: string;
4829
- }[] | [string, string] | undefined>;
4830
- createdAtLocation: string;
5360
+ }[] | [string, string] | null | undefined>;
4831
5361
  requestId: string;
5362
+ createdBySignature?: string | null | undefined;
5363
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4832
5364
  annotation?: Record<string, string | number | boolean | {
4833
5365
  type: string;
4834
5366
  filename: string;
@@ -4844,6 +5376,10 @@ export declare const EventDocument: z.ZodObject<{
4844
5376
  residentialArea?: string | null | undefined;
4845
5377
  street?: string | null | undefined;
4846
5378
  zipCode?: string | null | undefined;
5379
+ } | {
5380
+ firstname: string;
5381
+ surname: string;
5382
+ middlename?: string | null | undefined;
4847
5383
  } | {
4848
5384
  country: string;
4849
5385
  district: string;
@@ -4866,8 +5402,8 @@ export declare const EventDocument: z.ZodObject<{
4866
5402
  option: string;
4867
5403
  filename: string;
4868
5404
  originalFilename: string;
4869
- }[] | [string, string] | undefined> | undefined;
4870
- originalActionId?: string | undefined;
5405
+ }[] | [string, string] | null | undefined> | null | undefined;
5406
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4871
5407
  }, {
4872
5408
  type: "REJECT_CORRECTION";
4873
5409
  id: string;
@@ -4891,6 +5427,10 @@ export declare const EventDocument: z.ZodObject<{
4891
5427
  residentialArea?: string | null | undefined;
4892
5428
  street?: string | null | undefined;
4893
5429
  zipCode?: string | null | undefined;
5430
+ } | {
5431
+ firstname: string;
5432
+ surname: string;
5433
+ middlename?: string | null | undefined;
4894
5434
  } | {
4895
5435
  country: string;
4896
5436
  district: string;
@@ -4913,9 +5453,10 @@ export declare const EventDocument: z.ZodObject<{
4913
5453
  option: string;
4914
5454
  filename: string;
4915
5455
  originalFilename: string;
4916
- }[] | [string, string] | undefined>;
4917
- createdAtLocation: string;
5456
+ }[] | [string, string] | null | undefined>;
4918
5457
  requestId: string;
5458
+ createdBySignature?: string | null | undefined;
5459
+ createdAtLocation?: string | null | undefined;
4919
5460
  annotation?: Record<string, string | number | boolean | {
4920
5461
  type: string;
4921
5462
  filename: string;
@@ -4931,6 +5472,10 @@ export declare const EventDocument: z.ZodObject<{
4931
5472
  residentialArea?: string | null | undefined;
4932
5473
  street?: string | null | undefined;
4933
5474
  zipCode?: string | null | undefined;
5475
+ } | {
5476
+ firstname: string;
5477
+ surname: string;
5478
+ middlename?: string | null | undefined;
4934
5479
  } | {
4935
5480
  country: string;
4936
5481
  district: string;
@@ -4953,14 +5498,16 @@ export declare const EventDocument: z.ZodObject<{
4953
5498
  option: string;
4954
5499
  filename: string;
4955
5500
  originalFilename: string;
4956
- }[] | [string, string] | undefined> | undefined;
4957
- originalActionId?: string | undefined;
5501
+ }[] | [string, string] | null | undefined> | null | undefined;
5502
+ originalActionId?: string | null | undefined;
4958
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
4959
- id: z.ZodString;
5504
+ id: z.ZodBranded<z.ZodString, "UUID">;
4960
5505
  transactionId: z.ZodString;
4961
5506
  createdAt: z.ZodString;
4962
5507
  createdBy: z.ZodString;
4963
5508
  createdByRole: z.ZodString;
5509
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4964
5511
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4965
5512
  filename: z.ZodString;
4966
5513
  originalFilename: z.ZodString;
@@ -5074,8 +5621,20 @@ export declare const EventDocument: z.ZodObject<{
5074
5621
  addressLine2?: string | null | undefined;
5075
5622
  addressLine3?: string | null | undefined;
5076
5623
  postcodeOrZip?: string | null | undefined;
5077
- }>]>>;
5078
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5624
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5625
+ firstname: z.ZodString;
5626
+ surname: z.ZodString;
5627
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5628
+ }, "strip", z.ZodTypeAny, {
5629
+ firstname: string;
5630
+ surname: string;
5631
+ middlename?: string | null | undefined;
5632
+ }, {
5633
+ firstname: string;
5634
+ surname: string;
5635
+ middlename?: string | null | undefined;
5636
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5637
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5079
5638
  filename: z.ZodString;
5080
5639
  originalFilename: z.ZodString;
5081
5640
  type: z.ZodString;
@@ -5188,16 +5747,27 @@ export declare const EventDocument: z.ZodObject<{
5188
5747
  addressLine2?: string | null | undefined;
5189
5748
  addressLine3?: string | null | undefined;
5190
5749
  postcodeOrZip?: string | null | undefined;
5191
- }>]>>>;
5192
- createdAtLocation: z.ZodString;
5750
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5751
+ firstname: z.ZodString;
5752
+ surname: z.ZodString;
5753
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ firstname: string;
5756
+ surname: string;
5757
+ middlename?: string | null | undefined;
5758
+ }, {
5759
+ firstname: string;
5760
+ surname: string;
5761
+ middlename?: string | null | undefined;
5762
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5193
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5194
- originalActionId: z.ZodOptional<z.ZodString>;
5764
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5195
5765
  }, {
5196
5766
  type: z.ZodLiteral<"UNASSIGN">;
5197
5767
  assignedTo: z.ZodLiteral<null>;
5198
5768
  }>, "strip", z.ZodTypeAny, {
5199
5769
  type: "UNASSIGN";
5200
- id: string;
5770
+ id: string & z.BRAND<"UUID">;
5201
5771
  status: "Rejected" | "Requested" | "Accepted";
5202
5772
  transactionId: string;
5203
5773
  createdAt: string;
@@ -5218,6 +5788,10 @@ export declare const EventDocument: z.ZodObject<{
5218
5788
  residentialArea?: string | null | undefined;
5219
5789
  street?: string | null | undefined;
5220
5790
  zipCode?: string | null | undefined;
5791
+ } | {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5221
5795
  } | {
5222
5796
  country: string;
5223
5797
  district: string;
@@ -5240,9 +5814,10 @@ export declare const EventDocument: z.ZodObject<{
5240
5814
  option: string;
5241
5815
  filename: string;
5242
5816
  originalFilename: string;
5243
- }[] | [string, string] | undefined>;
5244
- createdAtLocation: string;
5817
+ }[] | [string, string] | null | undefined>;
5245
5818
  assignedTo: null;
5819
+ createdBySignature?: string | null | undefined;
5820
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5246
5821
  annotation?: Record<string, string | number | boolean | {
5247
5822
  type: string;
5248
5823
  filename: string;
@@ -5258,6 +5833,10 @@ export declare const EventDocument: z.ZodObject<{
5258
5833
  residentialArea?: string | null | undefined;
5259
5834
  street?: string | null | undefined;
5260
5835
  zipCode?: string | null | undefined;
5836
+ } | {
5837
+ firstname: string;
5838
+ surname: string;
5839
+ middlename?: string | null | undefined;
5261
5840
  } | {
5262
5841
  country: string;
5263
5842
  district: string;
@@ -5280,8 +5859,8 @@ export declare const EventDocument: z.ZodObject<{
5280
5859
  option: string;
5281
5860
  filename: string;
5282
5861
  originalFilename: string;
5283
- }[] | [string, string] | undefined> | undefined;
5284
- originalActionId?: string | undefined;
5862
+ }[] | [string, string] | null | undefined> | null | undefined;
5863
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5285
5864
  }, {
5286
5865
  type: "UNASSIGN";
5287
5866
  id: string;
@@ -5305,6 +5884,10 @@ export declare const EventDocument: z.ZodObject<{
5305
5884
  residentialArea?: string | null | undefined;
5306
5885
  street?: string | null | undefined;
5307
5886
  zipCode?: string | null | undefined;
5887
+ } | {
5888
+ firstname: string;
5889
+ surname: string;
5890
+ middlename?: string | null | undefined;
5308
5891
  } | {
5309
5892
  country: string;
5310
5893
  district: string;
@@ -5327,9 +5910,10 @@ export declare const EventDocument: z.ZodObject<{
5327
5910
  option: string;
5328
5911
  filename: string;
5329
5912
  originalFilename: string;
5330
- }[] | [string, string] | undefined>;
5331
- createdAtLocation: string;
5913
+ }[] | [string, string] | null | undefined>;
5332
5914
  assignedTo: null;
5915
+ createdBySignature?: string | null | undefined;
5916
+ createdAtLocation?: string | null | undefined;
5333
5917
  annotation?: Record<string, string | number | boolean | {
5334
5918
  type: string;
5335
5919
  filename: string;
@@ -5345,6 +5929,10 @@ export declare const EventDocument: z.ZodObject<{
5345
5929
  residentialArea?: string | null | undefined;
5346
5930
  street?: string | null | undefined;
5347
5931
  zipCode?: string | null | undefined;
5932
+ } | {
5933
+ firstname: string;
5934
+ surname: string;
5935
+ middlename?: string | null | undefined;
5348
5936
  } | {
5349
5937
  country: string;
5350
5938
  district: string;
@@ -5367,14 +5955,16 @@ export declare const EventDocument: z.ZodObject<{
5367
5955
  option: string;
5368
5956
  filename: string;
5369
5957
  originalFilename: string;
5370
- }[] | [string, string] | undefined> | undefined;
5371
- originalActionId?: string | undefined;
5958
+ }[] | [string, string] | null | undefined> | null | undefined;
5959
+ originalActionId?: string | null | undefined;
5372
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5373
- id: z.ZodString;
5961
+ id: z.ZodBranded<z.ZodString, "UUID">;
5374
5962
  transactionId: z.ZodString;
5375
5963
  createdAt: z.ZodString;
5376
5964
  createdBy: z.ZodString;
5377
5965
  createdByRole: z.ZodString;
5966
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5378
5968
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5379
5969
  filename: z.ZodString;
5380
5970
  originalFilename: z.ZodString;
@@ -5488,8 +6078,20 @@ export declare const EventDocument: z.ZodObject<{
5488
6078
  addressLine2?: string | null | undefined;
5489
6079
  addressLine3?: string | null | undefined;
5490
6080
  postcodeOrZip?: string | null | undefined;
5491
- }>]>>;
5492
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6081
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6082
+ firstname: z.ZodString;
6083
+ surname: z.ZodString;
6084
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6085
+ }, "strip", z.ZodTypeAny, {
6086
+ firstname: string;
6087
+ surname: string;
6088
+ middlename?: string | null | undefined;
6089
+ }, {
6090
+ firstname: string;
6091
+ surname: string;
6092
+ middlename?: string | null | undefined;
6093
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6094
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5493
6095
  filename: z.ZodString;
5494
6096
  originalFilename: z.ZodString;
5495
6097
  type: z.ZodString;
@@ -5602,15 +6204,26 @@ export declare const EventDocument: z.ZodObject<{
5602
6204
  addressLine2?: string | null | undefined;
5603
6205
  addressLine3?: string | null | undefined;
5604
6206
  postcodeOrZip?: string | null | undefined;
5605
- }>]>>>;
5606
- createdAtLocation: z.ZodString;
6207
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6208
+ firstname: z.ZodString;
6209
+ surname: z.ZodString;
6210
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6211
+ }, "strip", z.ZodTypeAny, {
6212
+ firstname: string;
6213
+ surname: string;
6214
+ middlename?: string | null | undefined;
6215
+ }, {
6216
+ firstname: string;
6217
+ surname: string;
6218
+ middlename?: string | null | undefined;
6219
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5607
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5608
- originalActionId: z.ZodOptional<z.ZodString>;
6221
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5609
6222
  }, {
5610
6223
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5611
6224
  }>, "strip", z.ZodTypeAny, {
5612
6225
  type: "PRINT_CERTIFICATE";
5613
- id: string;
6226
+ id: string & z.BRAND<"UUID">;
5614
6227
  status: "Rejected" | "Requested" | "Accepted";
5615
6228
  transactionId: string;
5616
6229
  createdAt: string;
@@ -5631,6 +6244,10 @@ export declare const EventDocument: z.ZodObject<{
5631
6244
  residentialArea?: string | null | undefined;
5632
6245
  street?: string | null | undefined;
5633
6246
  zipCode?: string | null | undefined;
6247
+ } | {
6248
+ firstname: string;
6249
+ surname: string;
6250
+ middlename?: string | null | undefined;
5634
6251
  } | {
5635
6252
  country: string;
5636
6253
  district: string;
@@ -5653,8 +6270,9 @@ export declare const EventDocument: z.ZodObject<{
5653
6270
  option: string;
5654
6271
  filename: string;
5655
6272
  originalFilename: string;
5656
- }[] | [string, string] | undefined>;
5657
- createdAtLocation: string;
6273
+ }[] | [string, string] | null | undefined>;
6274
+ createdBySignature?: string | null | undefined;
6275
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5658
6276
  annotation?: Record<string, string | number | boolean | {
5659
6277
  type: string;
5660
6278
  filename: string;
@@ -5670,6 +6288,10 @@ export declare const EventDocument: z.ZodObject<{
5670
6288
  residentialArea?: string | null | undefined;
5671
6289
  street?: string | null | undefined;
5672
6290
  zipCode?: string | null | undefined;
6291
+ } | {
6292
+ firstname: string;
6293
+ surname: string;
6294
+ middlename?: string | null | undefined;
5673
6295
  } | {
5674
6296
  country: string;
5675
6297
  district: string;
@@ -5692,8 +6314,8 @@ export declare const EventDocument: z.ZodObject<{
5692
6314
  option: string;
5693
6315
  filename: string;
5694
6316
  originalFilename: string;
5695
- }[] | [string, string] | undefined> | undefined;
5696
- originalActionId?: string | undefined;
6317
+ }[] | [string, string] | null | undefined> | null | undefined;
6318
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5697
6319
  }, {
5698
6320
  type: "PRINT_CERTIFICATE";
5699
6321
  id: string;
@@ -5717,6 +6339,10 @@ export declare const EventDocument: z.ZodObject<{
5717
6339
  residentialArea?: string | null | undefined;
5718
6340
  street?: string | null | undefined;
5719
6341
  zipCode?: string | null | undefined;
6342
+ } | {
6343
+ firstname: string;
6344
+ surname: string;
6345
+ middlename?: string | null | undefined;
5720
6346
  } | {
5721
6347
  country: string;
5722
6348
  district: string;
@@ -5739,8 +6365,9 @@ export declare const EventDocument: z.ZodObject<{
5739
6365
  option: string;
5740
6366
  filename: string;
5741
6367
  originalFilename: string;
5742
- }[] | [string, string] | undefined>;
5743
- createdAtLocation: string;
6368
+ }[] | [string, string] | null | undefined>;
6369
+ createdBySignature?: string | null | undefined;
6370
+ createdAtLocation?: string | null | undefined;
5744
6371
  annotation?: Record<string, string | number | boolean | {
5745
6372
  type: string;
5746
6373
  filename: string;
@@ -5756,6 +6383,10 @@ export declare const EventDocument: z.ZodObject<{
5756
6383
  residentialArea?: string | null | undefined;
5757
6384
  street?: string | null | undefined;
5758
6385
  zipCode?: string | null | undefined;
6386
+ } | {
6387
+ firstname: string;
6388
+ surname: string;
6389
+ middlename?: string | null | undefined;
5759
6390
  } | {
5760
6391
  country: string;
5761
6392
  district: string;
@@ -5778,14 +6409,16 @@ export declare const EventDocument: z.ZodObject<{
5778
6409
  option: string;
5779
6410
  filename: string;
5780
6411
  originalFilename: string;
5781
- }[] | [string, string] | undefined> | undefined;
5782
- originalActionId?: string | undefined;
6412
+ }[] | [string, string] | null | undefined> | null | undefined;
6413
+ originalActionId?: string | null | undefined;
5783
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
5784
- id: z.ZodString;
6415
+ id: z.ZodBranded<z.ZodString, "UUID">;
5785
6416
  transactionId: z.ZodString;
5786
6417
  createdAt: z.ZodString;
5787
6418
  createdBy: z.ZodString;
5788
6419
  createdByRole: z.ZodString;
6420
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5789
6422
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5790
6423
  filename: z.ZodString;
5791
6424
  originalFilename: z.ZodString;
@@ -5899,8 +6532,20 @@ export declare const EventDocument: z.ZodObject<{
5899
6532
  addressLine2?: string | null | undefined;
5900
6533
  addressLine3?: string | null | undefined;
5901
6534
  postcodeOrZip?: string | null | undefined;
5902
- }>]>>;
5903
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6535
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6538
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6539
+ }, "strip", z.ZodTypeAny, {
6540
+ firstname: string;
6541
+ surname: string;
6542
+ middlename?: string | null | undefined;
6543
+ }, {
6544
+ firstname: string;
6545
+ surname: string;
6546
+ middlename?: string | null | undefined;
6547
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6548
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5904
6549
  filename: z.ZodString;
5905
6550
  originalFilename: z.ZodString;
5906
6551
  type: z.ZodString;
@@ -6013,15 +6658,26 @@ export declare const EventDocument: z.ZodObject<{
6013
6658
  addressLine2?: string | null | undefined;
6014
6659
  addressLine3?: string | null | undefined;
6015
6660
  postcodeOrZip?: string | null | undefined;
6016
- }>]>>>;
6017
- createdAtLocation: z.ZodString;
6661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6662
+ firstname: z.ZodString;
6663
+ surname: z.ZodString;
6664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6665
+ }, "strip", z.ZodTypeAny, {
6666
+ firstname: string;
6667
+ surname: string;
6668
+ middlename?: string | null | undefined;
6669
+ }, {
6670
+ firstname: string;
6671
+ surname: string;
6672
+ middlename?: string | null | undefined;
6673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6018
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6019
- originalActionId: z.ZodOptional<z.ZodString>;
6675
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6020
6676
  }, {
6021
6677
  type: z.ZodLiteral<"READ">;
6022
6678
  }>, "strip", z.ZodTypeAny, {
6023
6679
  type: "READ";
6024
- id: string;
6680
+ id: string & z.BRAND<"UUID">;
6025
6681
  status: "Rejected" | "Requested" | "Accepted";
6026
6682
  transactionId: string;
6027
6683
  createdAt: string;
@@ -6042,6 +6698,10 @@ export declare const EventDocument: z.ZodObject<{
6042
6698
  residentialArea?: string | null | undefined;
6043
6699
  street?: string | null | undefined;
6044
6700
  zipCode?: string | null | undefined;
6701
+ } | {
6702
+ firstname: string;
6703
+ surname: string;
6704
+ middlename?: string | null | undefined;
6045
6705
  } | {
6046
6706
  country: string;
6047
6707
  district: string;
@@ -6064,8 +6724,9 @@ export declare const EventDocument: z.ZodObject<{
6064
6724
  option: string;
6065
6725
  filename: string;
6066
6726
  originalFilename: string;
6067
- }[] | [string, string] | undefined>;
6068
- createdAtLocation: string;
6727
+ }[] | [string, string] | null | undefined>;
6728
+ createdBySignature?: string | null | undefined;
6729
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6069
6730
  annotation?: Record<string, string | number | boolean | {
6070
6731
  type: string;
6071
6732
  filename: string;
@@ -6081,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
6081
6742
  residentialArea?: string | null | undefined;
6082
6743
  street?: string | null | undefined;
6083
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
6084
6749
  } | {
6085
6750
  country: string;
6086
6751
  district: string;
@@ -6103,8 +6768,8 @@ export declare const EventDocument: z.ZodObject<{
6103
6768
  option: string;
6104
6769
  filename: string;
6105
6770
  originalFilename: string;
6106
- }[] | [string, string] | undefined> | undefined;
6107
- originalActionId?: string | undefined;
6771
+ }[] | [string, string] | null | undefined> | null | undefined;
6772
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6108
6773
  }, {
6109
6774
  type: "READ";
6110
6775
  id: string;
@@ -6128,6 +6793,10 @@ export declare const EventDocument: z.ZodObject<{
6128
6793
  residentialArea?: string | null | undefined;
6129
6794
  street?: string | null | undefined;
6130
6795
  zipCode?: string | null | undefined;
6796
+ } | {
6797
+ firstname: string;
6798
+ surname: string;
6799
+ middlename?: string | null | undefined;
6131
6800
  } | {
6132
6801
  country: string;
6133
6802
  district: string;
@@ -6150,8 +6819,9 @@ export declare const EventDocument: z.ZodObject<{
6150
6819
  option: string;
6151
6820
  filename: string;
6152
6821
  originalFilename: string;
6153
- }[] | [string, string] | undefined>;
6154
- createdAtLocation: string;
6822
+ }[] | [string, string] | null | undefined>;
6823
+ createdBySignature?: string | null | undefined;
6824
+ createdAtLocation?: string | null | undefined;
6155
6825
  annotation?: Record<string, string | number | boolean | {
6156
6826
  type: string;
6157
6827
  filename: string;
@@ -6167,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6167
6837
  residentialArea?: string | null | undefined;
6168
6838
  street?: string | null | undefined;
6169
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6170
6844
  } | {
6171
6845
  country: string;
6172
6846
  district: string;
@@ -6189,14 +6863,16 @@ export declare const EventDocument: z.ZodObject<{
6189
6863
  option: string;
6190
6864
  filename: string;
6191
6865
  originalFilename: string;
6192
- }[] | [string, string] | undefined> | undefined;
6193
- originalActionId?: string | undefined;
6866
+ }[] | [string, string] | null | undefined> | null | undefined;
6867
+ originalActionId?: string | null | undefined;
6194
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6195
- id: z.ZodString;
6869
+ id: z.ZodBranded<z.ZodString, "UUID">;
6196
6870
  transactionId: z.ZodString;
6197
6871
  createdAt: z.ZodString;
6198
6872
  createdBy: z.ZodString;
6199
6873
  createdByRole: z.ZodString;
6874
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6200
6876
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6201
6877
  filename: z.ZodString;
6202
6878
  originalFilename: z.ZodString;
@@ -6310,8 +6986,20 @@ export declare const EventDocument: z.ZodObject<{
6310
6986
  addressLine2?: string | null | undefined;
6311
6987
  addressLine3?: string | null | undefined;
6312
6988
  postcodeOrZip?: string | null | undefined;
6313
- }>]>>;
6314
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6989
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6990
+ firstname: z.ZodString;
6991
+ surname: z.ZodString;
6992
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6993
+ }, "strip", z.ZodTypeAny, {
6994
+ firstname: string;
6995
+ surname: string;
6996
+ middlename?: string | null | undefined;
6997
+ }, {
6998
+ firstname: string;
6999
+ surname: string;
7000
+ middlename?: string | null | undefined;
7001
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7002
+ annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6315
7003
  filename: z.ZodString;
6316
7004
  originalFilename: z.ZodString;
6317
7005
  type: z.ZodString;
@@ -6424,23 +7112,35 @@ export declare const EventDocument: z.ZodObject<{
6424
7112
  addressLine2?: string | null | undefined;
6425
7113
  addressLine3?: string | null | undefined;
6426
7114
  postcodeOrZip?: string | null | undefined;
6427
- }>]>>>;
6428
- createdAtLocation: z.ZodString;
7115
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7116
+ firstname: z.ZodString;
7117
+ surname: z.ZodString;
7118
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7119
+ }, "strip", z.ZodTypeAny, {
7120
+ firstname: string;
7121
+ surname: string;
7122
+ middlename?: string | null | undefined;
7123
+ }, {
7124
+ firstname: string;
7125
+ surname: string;
7126
+ middlename?: string | null | undefined;
7127
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6429
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6430
- originalActionId: z.ZodOptional<z.ZodString>;
7129
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6431
7130
  }, "declaration" | "annotation">, {
6432
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6433
7132
  status: z.ZodLiteral<"Rejected">;
6434
7133
  }>, "strip", z.ZodTypeAny, {
6435
7134
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6436
- id: string;
7135
+ id: string & z.BRAND<"UUID">;
6437
7136
  status: "Rejected";
6438
7137
  transactionId: string;
6439
7138
  createdAt: string;
6440
7139
  createdBy: string;
6441
7140
  createdByRole: string;
6442
- createdAtLocation: string;
6443
- originalActionId?: string | undefined;
7141
+ createdBySignature?: string | null | undefined;
7142
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7143
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6444
7144
  }, {
6445
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6446
7146
  id: string;
@@ -6449,18 +7149,19 @@ export declare const EventDocument: z.ZodObject<{
6449
7149
  createdAt: string;
6450
7150
  createdBy: string;
6451
7151
  createdByRole: string;
6452
- createdAtLocation: string;
6453
- originalActionId?: string | undefined;
7152
+ createdBySignature?: string | null | undefined;
7153
+ createdAtLocation?: string | null | undefined;
7154
+ originalActionId?: string | null | undefined;
6454
7155
  }>]>, "many">;
6455
7156
  trackingId: z.ZodString;
6456
7157
  }, "strip", z.ZodTypeAny, {
6457
7158
  type: string;
6458
- id: string;
7159
+ id: string & z.BRAND<"UUID">;
6459
7160
  createdAt: string;
6460
7161
  updatedAt: string;
6461
7162
  actions: ({
6462
7163
  type: "ASSIGN";
6463
- id: string;
7164
+ id: string & z.BRAND<"UUID">;
6464
7165
  status: "Rejected" | "Requested" | "Accepted";
6465
7166
  transactionId: string;
6466
7167
  createdAt: string;
@@ -6481,6 +7182,10 @@ export declare const EventDocument: z.ZodObject<{
6481
7182
  residentialArea?: string | null | undefined;
6482
7183
  street?: string | null | undefined;
6483
7184
  zipCode?: string | null | undefined;
7185
+ } | {
7186
+ firstname: string;
7187
+ surname: string;
7188
+ middlename?: string | null | undefined;
6484
7189
  } | {
6485
7190
  country: string;
6486
7191
  district: string;
@@ -6503,9 +7208,10 @@ export declare const EventDocument: z.ZodObject<{
6503
7208
  option: string;
6504
7209
  filename: string;
6505
7210
  originalFilename: string;
6506
- }[] | [string, string] | undefined>;
6507
- createdAtLocation: string;
7211
+ }[] | [string, string] | null | undefined>;
6508
7212
  assignedTo: string;
7213
+ createdBySignature?: string | null | undefined;
7214
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6509
7215
  annotation?: Record<string, string | number | boolean | {
6510
7216
  type: string;
6511
7217
  filename: string;
@@ -6521,6 +7227,10 @@ export declare const EventDocument: z.ZodObject<{
6521
7227
  residentialArea?: string | null | undefined;
6522
7228
  street?: string | null | undefined;
6523
7229
  zipCode?: string | null | undefined;
7230
+ } | {
7231
+ firstname: string;
7232
+ surname: string;
7233
+ middlename?: string | null | undefined;
6524
7234
  } | {
6525
7235
  country: string;
6526
7236
  district: string;
@@ -6543,11 +7253,11 @@ export declare const EventDocument: z.ZodObject<{
6543
7253
  option: string;
6544
7254
  filename: string;
6545
7255
  originalFilename: string;
6546
- }[] | [string, string] | undefined> | undefined;
6547
- originalActionId?: string | undefined;
7256
+ }[] | [string, string] | null | undefined> | null | undefined;
7257
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6548
7258
  } | {
6549
7259
  type: "UNASSIGN";
6550
- id: string;
7260
+ id: string & z.BRAND<"UUID">;
6551
7261
  status: "Rejected" | "Requested" | "Accepted";
6552
7262
  transactionId: string;
6553
7263
  createdAt: string;
@@ -6568,6 +7278,10 @@ export declare const EventDocument: z.ZodObject<{
6568
7278
  residentialArea?: string | null | undefined;
6569
7279
  street?: string | null | undefined;
6570
7280
  zipCode?: string | null | undefined;
7281
+ } | {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
6571
7285
  } | {
6572
7286
  country: string;
6573
7287
  district: string;
@@ -6590,9 +7304,10 @@ export declare const EventDocument: z.ZodObject<{
6590
7304
  option: string;
6591
7305
  filename: string;
6592
7306
  originalFilename: string;
6593
- }[] | [string, string] | undefined>;
6594
- createdAtLocation: string;
7307
+ }[] | [string, string] | null | undefined>;
6595
7308
  assignedTo: null;
7309
+ createdBySignature?: string | null | undefined;
7310
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6596
7311
  annotation?: Record<string, string | number | boolean | {
6597
7312
  type: string;
6598
7313
  filename: string;
@@ -6608,6 +7323,10 @@ export declare const EventDocument: z.ZodObject<{
6608
7323
  residentialArea?: string | null | undefined;
6609
7324
  street?: string | null | undefined;
6610
7325
  zipCode?: string | null | undefined;
7326
+ } | {
7327
+ firstname: string;
7328
+ surname: string;
7329
+ middlename?: string | null | undefined;
6611
7330
  } | {
6612
7331
  country: string;
6613
7332
  district: string;
@@ -6630,11 +7349,11 @@ export declare const EventDocument: z.ZodObject<{
6630
7349
  option: string;
6631
7350
  filename: string;
6632
7351
  originalFilename: string;
6633
- }[] | [string, string] | undefined> | undefined;
6634
- originalActionId?: string | undefined;
7352
+ }[] | [string, string] | null | undefined> | null | undefined;
7353
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6635
7354
  } | {
6636
7355
  type: "REGISTER";
6637
- id: string;
7356
+ id: string & z.BRAND<"UUID">;
6638
7357
  status: "Rejected" | "Requested" | "Accepted";
6639
7358
  transactionId: string;
6640
7359
  createdAt: string;
@@ -6655,6 +7374,10 @@ export declare const EventDocument: z.ZodObject<{
6655
7374
  residentialArea?: string | null | undefined;
6656
7375
  street?: string | null | undefined;
6657
7376
  zipCode?: string | null | undefined;
7377
+ } | {
7378
+ firstname: string;
7379
+ surname: string;
7380
+ middlename?: string | null | undefined;
6658
7381
  } | {
6659
7382
  country: string;
6660
7383
  district: string;
@@ -6677,8 +7400,9 @@ export declare const EventDocument: z.ZodObject<{
6677
7400
  option: string;
6678
7401
  filename: string;
6679
7402
  originalFilename: string;
6680
- }[] | [string, string] | undefined>;
6681
- createdAtLocation: string;
7403
+ }[] | [string, string] | null | undefined>;
7404
+ createdBySignature?: string | null | undefined;
7405
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6682
7406
  annotation?: Record<string, string | number | boolean | {
6683
7407
  type: string;
6684
7408
  filename: string;
@@ -6694,6 +7418,10 @@ export declare const EventDocument: z.ZodObject<{
6694
7418
  residentialArea?: string | null | undefined;
6695
7419
  street?: string | null | undefined;
6696
7420
  zipCode?: string | null | undefined;
7421
+ } | {
7422
+ firstname: string;
7423
+ surname: string;
7424
+ middlename?: string | null | undefined;
6697
7425
  } | {
6698
7426
  country: string;
6699
7427
  district: string;
@@ -6716,12 +7444,12 @@ export declare const EventDocument: z.ZodObject<{
6716
7444
  option: string;
6717
7445
  filename: string;
6718
7446
  originalFilename: string;
6719
- }[] | [string, string] | undefined> | undefined;
6720
- originalActionId?: string | undefined;
7447
+ }[] | [string, string] | null | undefined> | null | undefined;
7448
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6721
7449
  registrationNumber?: string | undefined;
6722
7450
  } | {
6723
7451
  type: "DECLARE";
6724
- id: string;
7452
+ id: string & z.BRAND<"UUID">;
6725
7453
  status: "Rejected" | "Requested" | "Accepted";
6726
7454
  transactionId: string;
6727
7455
  createdAt: string;
@@ -6742,6 +7470,10 @@ export declare const EventDocument: z.ZodObject<{
6742
7470
  residentialArea?: string | null | undefined;
6743
7471
  street?: string | null | undefined;
6744
7472
  zipCode?: string | null | undefined;
7473
+ } | {
7474
+ firstname: string;
7475
+ surname: string;
7476
+ middlename?: string | null | undefined;
6745
7477
  } | {
6746
7478
  country: string;
6747
7479
  district: string;
@@ -6764,8 +7496,9 @@ export declare const EventDocument: z.ZodObject<{
6764
7496
  option: string;
6765
7497
  filename: string;
6766
7498
  originalFilename: string;
6767
- }[] | [string, string] | undefined>;
6768
- createdAtLocation: string;
7499
+ }[] | [string, string] | null | undefined>;
7500
+ createdBySignature?: string | null | undefined;
7501
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6769
7502
  annotation?: Record<string, string | number | boolean | {
6770
7503
  type: string;
6771
7504
  filename: string;
@@ -6781,6 +7514,10 @@ export declare const EventDocument: z.ZodObject<{
6781
7514
  residentialArea?: string | null | undefined;
6782
7515
  street?: string | null | undefined;
6783
7516
  zipCode?: string | null | undefined;
7517
+ } | {
7518
+ firstname: string;
7519
+ surname: string;
7520
+ middlename?: string | null | undefined;
6784
7521
  } | {
6785
7522
  country: string;
6786
7523
  district: string;
@@ -6803,11 +7540,11 @@ export declare const EventDocument: z.ZodObject<{
6803
7540
  option: string;
6804
7541
  filename: string;
6805
7542
  originalFilename: string;
6806
- }[] | [string, string] | undefined> | undefined;
6807
- originalActionId?: string | undefined;
7543
+ }[] | [string, string] | null | undefined> | null | undefined;
7544
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6808
7545
  } | {
6809
7546
  type: "VALIDATE";
6810
- id: string;
7547
+ id: string & z.BRAND<"UUID">;
6811
7548
  status: "Rejected" | "Requested" | "Accepted";
6812
7549
  transactionId: string;
6813
7550
  createdAt: string;
@@ -6828,6 +7565,10 @@ export declare const EventDocument: z.ZodObject<{
6828
7565
  residentialArea?: string | null | undefined;
6829
7566
  street?: string | null | undefined;
6830
7567
  zipCode?: string | null | undefined;
7568
+ } | {
7569
+ firstname: string;
7570
+ surname: string;
7571
+ middlename?: string | null | undefined;
6831
7572
  } | {
6832
7573
  country: string;
6833
7574
  district: string;
@@ -6850,8 +7591,9 @@ export declare const EventDocument: z.ZodObject<{
6850
7591
  option: string;
6851
7592
  filename: string;
6852
7593
  originalFilename: string;
6853
- }[] | [string, string] | undefined>;
6854
- createdAtLocation: string;
7594
+ }[] | [string, string] | null | undefined>;
7595
+ createdBySignature?: string | null | undefined;
7596
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6855
7597
  annotation?: Record<string, string | number | boolean | {
6856
7598
  type: string;
6857
7599
  filename: string;
@@ -6867,6 +7609,10 @@ export declare const EventDocument: z.ZodObject<{
6867
7609
  residentialArea?: string | null | undefined;
6868
7610
  street?: string | null | undefined;
6869
7611
  zipCode?: string | null | undefined;
7612
+ } | {
7613
+ firstname: string;
7614
+ surname: string;
7615
+ middlename?: string | null | undefined;
6870
7616
  } | {
6871
7617
  country: string;
6872
7618
  district: string;
@@ -6889,12 +7635,16 @@ export declare const EventDocument: z.ZodObject<{
6889
7635
  option: string;
6890
7636
  filename: string;
6891
7637
  originalFilename: string;
6892
- }[] | [string, string] | undefined> | undefined;
6893
- originalActionId?: string | undefined;
7638
+ }[] | [string, string] | null | undefined> | null | undefined;
7639
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6894
7640
  } | {
6895
7641
  type: "REJECT";
6896
- id: string;
7642
+ id: string & z.BRAND<"UUID">;
6897
7643
  status: "Rejected" | "Requested" | "Accepted";
7644
+ reason: {
7645
+ message: string;
7646
+ isDuplicate?: boolean | undefined;
7647
+ };
6898
7648
  transactionId: string;
6899
7649
  createdAt: string;
6900
7650
  createdBy: string;
@@ -6914,6 +7664,10 @@ export declare const EventDocument: z.ZodObject<{
6914
7664
  residentialArea?: string | null | undefined;
6915
7665
  street?: string | null | undefined;
6916
7666
  zipCode?: string | null | undefined;
7667
+ } | {
7668
+ firstname: string;
7669
+ surname: string;
7670
+ middlename?: string | null | undefined;
6917
7671
  } | {
6918
7672
  country: string;
6919
7673
  district: string;
@@ -6936,8 +7690,9 @@ export declare const EventDocument: z.ZodObject<{
6936
7690
  option: string;
6937
7691
  filename: string;
6938
7692
  originalFilename: string;
6939
- }[] | [string, string] | undefined>;
6940
- createdAtLocation: string;
7693
+ }[] | [string, string] | null | undefined>;
7694
+ createdBySignature?: string | null | undefined;
7695
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6941
7696
  annotation?: Record<string, string | number | boolean | {
6942
7697
  type: string;
6943
7698
  filename: string;
@@ -6953,6 +7708,10 @@ export declare const EventDocument: z.ZodObject<{
6953
7708
  residentialArea?: string | null | undefined;
6954
7709
  street?: string | null | undefined;
6955
7710
  zipCode?: string | null | undefined;
7711
+ } | {
7712
+ firstname: string;
7713
+ surname: string;
7714
+ middlename?: string | null | undefined;
6956
7715
  } | {
6957
7716
  country: string;
6958
7717
  district: string;
@@ -6975,11 +7734,11 @@ export declare const EventDocument: z.ZodObject<{
6975
7734
  option: string;
6976
7735
  filename: string;
6977
7736
  originalFilename: string;
6978
- }[] | [string, string] | undefined> | undefined;
6979
- originalActionId?: string | undefined;
7737
+ }[] | [string, string] | null | undefined> | null | undefined;
7738
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6980
7739
  } | {
6981
7740
  type: "MARKED_AS_DUPLICATE";
6982
- id: string;
7741
+ id: string & z.BRAND<"UUID">;
6983
7742
  status: "Rejected" | "Requested" | "Accepted";
6984
7743
  transactionId: string;
6985
7744
  createdAt: string;
@@ -7000,6 +7759,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7759
  residentialArea?: string | null | undefined;
7001
7760
  street?: string | null | undefined;
7002
7761
  zipCode?: string | null | undefined;
7762
+ } | {
7763
+ firstname: string;
7764
+ surname: string;
7765
+ middlename?: string | null | undefined;
7003
7766
  } | {
7004
7767
  country: string;
7005
7768
  district: string;
@@ -7022,8 +7785,9 @@ export declare const EventDocument: z.ZodObject<{
7022
7785
  option: string;
7023
7786
  filename: string;
7024
7787
  originalFilename: string;
7025
- }[] | [string, string] | undefined>;
7026
- createdAtLocation: string;
7788
+ }[] | [string, string] | null | undefined>;
7789
+ createdBySignature?: string | null | undefined;
7790
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7027
7791
  annotation?: Record<string, string | number | boolean | {
7028
7792
  type: string;
7029
7793
  filename: string;
@@ -7039,6 +7803,10 @@ export declare const EventDocument: z.ZodObject<{
7039
7803
  residentialArea?: string | null | undefined;
7040
7804
  street?: string | null | undefined;
7041
7805
  zipCode?: string | null | undefined;
7806
+ } | {
7807
+ firstname: string;
7808
+ surname: string;
7809
+ middlename?: string | null | undefined;
7042
7810
  } | {
7043
7811
  country: string;
7044
7812
  district: string;
@@ -7061,12 +7829,16 @@ export declare const EventDocument: z.ZodObject<{
7061
7829
  option: string;
7062
7830
  filename: string;
7063
7831
  originalFilename: string;
7064
- }[] | [string, string] | undefined> | undefined;
7065
- originalActionId?: string | undefined;
7832
+ }[] | [string, string] | null | undefined> | null | undefined;
7833
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7066
7834
  } | {
7067
7835
  type: "ARCHIVE";
7068
- id: string;
7836
+ id: string & z.BRAND<"UUID">;
7069
7837
  status: "Rejected" | "Requested" | "Accepted";
7838
+ reason: {
7839
+ message: string;
7840
+ isDuplicate?: boolean | undefined;
7841
+ };
7070
7842
  transactionId: string;
7071
7843
  createdAt: string;
7072
7844
  createdBy: string;
@@ -7086,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7086
7858
  residentialArea?: string | null | undefined;
7087
7859
  street?: string | null | undefined;
7088
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7089
7865
  } | {
7090
7866
  country: string;
7091
7867
  district: string;
@@ -7108,8 +7884,9 @@ export declare const EventDocument: z.ZodObject<{
7108
7884
  option: string;
7109
7885
  filename: string;
7110
7886
  originalFilename: string;
7111
- }[] | [string, string] | undefined>;
7112
- createdAtLocation: string;
7887
+ }[] | [string, string] | null | undefined>;
7888
+ createdBySignature?: string | null | undefined;
7889
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7113
7890
  annotation?: Record<string, string | number | boolean | {
7114
7891
  type: string;
7115
7892
  filename: string;
@@ -7125,6 +7902,10 @@ export declare const EventDocument: z.ZodObject<{
7125
7902
  residentialArea?: string | null | undefined;
7126
7903
  street?: string | null | undefined;
7127
7904
  zipCode?: string | null | undefined;
7905
+ } | {
7906
+ firstname: string;
7907
+ surname: string;
7908
+ middlename?: string | null | undefined;
7128
7909
  } | {
7129
7910
  country: string;
7130
7911
  district: string;
@@ -7147,11 +7928,11 @@ export declare const EventDocument: z.ZodObject<{
7147
7928
  option: string;
7148
7929
  filename: string;
7149
7930
  originalFilename: string;
7150
- }[] | [string, string] | undefined> | undefined;
7151
- originalActionId?: string | undefined;
7931
+ }[] | [string, string] | null | undefined> | null | undefined;
7932
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7152
7933
  } | {
7153
7934
  type: "CREATE";
7154
- id: string;
7935
+ id: string & z.BRAND<"UUID">;
7155
7936
  status: "Rejected" | "Requested" | "Accepted";
7156
7937
  transactionId: string;
7157
7938
  createdAt: string;
@@ -7172,6 +7953,10 @@ export declare const EventDocument: z.ZodObject<{
7172
7953
  residentialArea?: string | null | undefined;
7173
7954
  street?: string | null | undefined;
7174
7955
  zipCode?: string | null | undefined;
7956
+ } | {
7957
+ firstname: string;
7958
+ surname: string;
7959
+ middlename?: string | null | undefined;
7175
7960
  } | {
7176
7961
  country: string;
7177
7962
  district: string;
@@ -7194,8 +7979,9 @@ export declare const EventDocument: z.ZodObject<{
7194
7979
  option: string;
7195
7980
  filename: string;
7196
7981
  originalFilename: string;
7197
- }[] | [string, string] | undefined>;
7198
- createdAtLocation: string;
7982
+ }[] | [string, string] | null | undefined>;
7983
+ createdBySignature?: string | null | undefined;
7984
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7199
7985
  annotation?: Record<string, string | number | boolean | {
7200
7986
  type: string;
7201
7987
  filename: string;
@@ -7211,6 +7997,10 @@ export declare const EventDocument: z.ZodObject<{
7211
7997
  residentialArea?: string | null | undefined;
7212
7998
  street?: string | null | undefined;
7213
7999
  zipCode?: string | null | undefined;
8000
+ } | {
8001
+ firstname: string;
8002
+ surname: string;
8003
+ middlename?: string | null | undefined;
7214
8004
  } | {
7215
8005
  country: string;
7216
8006
  district: string;
@@ -7233,11 +8023,11 @@ export declare const EventDocument: z.ZodObject<{
7233
8023
  option: string;
7234
8024
  filename: string;
7235
8025
  originalFilename: string;
7236
- }[] | [string, string] | undefined> | undefined;
7237
- originalActionId?: string | undefined;
8026
+ }[] | [string, string] | null | undefined> | null | undefined;
8027
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7238
8028
  } | {
7239
8029
  type: "NOTIFY";
7240
- id: string;
8030
+ id: string & z.BRAND<"UUID">;
7241
8031
  status: "Rejected" | "Requested" | "Accepted";
7242
8032
  transactionId: string;
7243
8033
  createdAt: string;
@@ -7258,6 +8048,10 @@ export declare const EventDocument: z.ZodObject<{
7258
8048
  residentialArea?: string | null | undefined;
7259
8049
  street?: string | null | undefined;
7260
8050
  zipCode?: string | null | undefined;
8051
+ } | {
8052
+ firstname: string;
8053
+ surname: string;
8054
+ middlename?: string | null | undefined;
7261
8055
  } | {
7262
8056
  country: string;
7263
8057
  district: string;
@@ -7280,8 +8074,9 @@ export declare const EventDocument: z.ZodObject<{
7280
8074
  option: string;
7281
8075
  filename: string;
7282
8076
  originalFilename: string;
7283
- }[] | [string, string] | undefined>;
7284
- createdAtLocation: string;
8077
+ }[] | [string, string] | null | undefined>;
8078
+ createdBySignature?: string | null | undefined;
8079
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7285
8080
  annotation?: Record<string, string | number | boolean | {
7286
8081
  type: string;
7287
8082
  filename: string;
@@ -7297,6 +8092,10 @@ export declare const EventDocument: z.ZodObject<{
7297
8092
  residentialArea?: string | null | undefined;
7298
8093
  street?: string | null | undefined;
7299
8094
  zipCode?: string | null | undefined;
8095
+ } | {
8096
+ firstname: string;
8097
+ surname: string;
8098
+ middlename?: string | null | undefined;
7300
8099
  } | {
7301
8100
  country: string;
7302
8101
  district: string;
@@ -7319,11 +8118,11 @@ export declare const EventDocument: z.ZodObject<{
7319
8118
  option: string;
7320
8119
  filename: string;
7321
8120
  originalFilename: string;
7322
- }[] | [string, string] | undefined> | undefined;
7323
- originalActionId?: string | undefined;
8121
+ }[] | [string, string] | null | undefined> | null | undefined;
8122
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7324
8123
  } | {
7325
8124
  type: "PRINT_CERTIFICATE";
7326
- id: string;
8125
+ id: string & z.BRAND<"UUID">;
7327
8126
  status: "Rejected" | "Requested" | "Accepted";
7328
8127
  transactionId: string;
7329
8128
  createdAt: string;
@@ -7344,6 +8143,10 @@ export declare const EventDocument: z.ZodObject<{
7344
8143
  residentialArea?: string | null | undefined;
7345
8144
  street?: string | null | undefined;
7346
8145
  zipCode?: string | null | undefined;
8146
+ } | {
8147
+ firstname: string;
8148
+ surname: string;
8149
+ middlename?: string | null | undefined;
7347
8150
  } | {
7348
8151
  country: string;
7349
8152
  district: string;
@@ -7366,8 +8169,9 @@ export declare const EventDocument: z.ZodObject<{
7366
8169
  option: string;
7367
8170
  filename: string;
7368
8171
  originalFilename: string;
7369
- }[] | [string, string] | undefined>;
7370
- createdAtLocation: string;
8172
+ }[] | [string, string] | null | undefined>;
8173
+ createdBySignature?: string | null | undefined;
8174
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7371
8175
  annotation?: Record<string, string | number | boolean | {
7372
8176
  type: string;
7373
8177
  filename: string;
@@ -7383,6 +8187,10 @@ export declare const EventDocument: z.ZodObject<{
7383
8187
  residentialArea?: string | null | undefined;
7384
8188
  street?: string | null | undefined;
7385
8189
  zipCode?: string | null | undefined;
8190
+ } | {
8191
+ firstname: string;
8192
+ surname: string;
8193
+ middlename?: string | null | undefined;
7386
8194
  } | {
7387
8195
  country: string;
7388
8196
  district: string;
@@ -7405,11 +8213,11 @@ export declare const EventDocument: z.ZodObject<{
7405
8213
  option: string;
7406
8214
  filename: string;
7407
8215
  originalFilename: string;
7408
- }[] | [string, string] | undefined> | undefined;
7409
- originalActionId?: string | undefined;
8216
+ }[] | [string, string] | null | undefined> | null | undefined;
8217
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7410
8218
  } | {
7411
8219
  type: "REQUEST_CORRECTION";
7412
- id: string;
8220
+ id: string & z.BRAND<"UUID">;
7413
8221
  status: "Rejected" | "Requested" | "Accepted";
7414
8222
  transactionId: string;
7415
8223
  createdAt: string;
@@ -7430,6 +8238,10 @@ export declare const EventDocument: z.ZodObject<{
7430
8238
  residentialArea?: string | null | undefined;
7431
8239
  street?: string | null | undefined;
7432
8240
  zipCode?: string | null | undefined;
8241
+ } | {
8242
+ firstname: string;
8243
+ surname: string;
8244
+ middlename?: string | null | undefined;
7433
8245
  } | {
7434
8246
  country: string;
7435
8247
  district: string;
@@ -7452,8 +8264,9 @@ export declare const EventDocument: z.ZodObject<{
7452
8264
  option: string;
7453
8265
  filename: string;
7454
8266
  originalFilename: string;
7455
- }[] | [string, string] | undefined>;
7456
- createdAtLocation: string;
8267
+ }[] | [string, string] | null | undefined>;
8268
+ createdBySignature?: string | null | undefined;
8269
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7457
8270
  annotation?: Record<string, string | number | boolean | {
7458
8271
  type: string;
7459
8272
  filename: string;
@@ -7469,6 +8282,10 @@ export declare const EventDocument: z.ZodObject<{
7469
8282
  residentialArea?: string | null | undefined;
7470
8283
  street?: string | null | undefined;
7471
8284
  zipCode?: string | null | undefined;
8285
+ } | {
8286
+ firstname: string;
8287
+ surname: string;
8288
+ middlename?: string | null | undefined;
7472
8289
  } | {
7473
8290
  country: string;
7474
8291
  district: string;
@@ -7491,11 +8308,11 @@ export declare const EventDocument: z.ZodObject<{
7491
8308
  option: string;
7492
8309
  filename: string;
7493
8310
  originalFilename: string;
7494
- }[] | [string, string] | undefined> | undefined;
7495
- originalActionId?: string | undefined;
8311
+ }[] | [string, string] | null | undefined> | null | undefined;
8312
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7496
8313
  } | {
7497
8314
  type: "APPROVE_CORRECTION";
7498
- id: string;
8315
+ id: string & z.BRAND<"UUID">;
7499
8316
  status: "Rejected" | "Requested" | "Accepted";
7500
8317
  transactionId: string;
7501
8318
  createdAt: string;
@@ -7516,6 +8333,10 @@ export declare const EventDocument: z.ZodObject<{
7516
8333
  residentialArea?: string | null | undefined;
7517
8334
  street?: string | null | undefined;
7518
8335
  zipCode?: string | null | undefined;
8336
+ } | {
8337
+ firstname: string;
8338
+ surname: string;
8339
+ middlename?: string | null | undefined;
7519
8340
  } | {
7520
8341
  country: string;
7521
8342
  district: string;
@@ -7538,9 +8359,10 @@ export declare const EventDocument: z.ZodObject<{
7538
8359
  option: string;
7539
8360
  filename: string;
7540
8361
  originalFilename: string;
7541
- }[] | [string, string] | undefined>;
7542
- createdAtLocation: string;
8362
+ }[] | [string, string] | null | undefined>;
7543
8363
  requestId: string;
8364
+ createdBySignature?: string | null | undefined;
8365
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7544
8366
  annotation?: Record<string, string | number | boolean | {
7545
8367
  type: string;
7546
8368
  filename: string;
@@ -7556,6 +8378,10 @@ export declare const EventDocument: z.ZodObject<{
7556
8378
  residentialArea?: string | null | undefined;
7557
8379
  street?: string | null | undefined;
7558
8380
  zipCode?: string | null | undefined;
8381
+ } | {
8382
+ firstname: string;
8383
+ surname: string;
8384
+ middlename?: string | null | undefined;
7559
8385
  } | {
7560
8386
  country: string;
7561
8387
  district: string;
@@ -7578,11 +8404,11 @@ export declare const EventDocument: z.ZodObject<{
7578
8404
  option: string;
7579
8405
  filename: string;
7580
8406
  originalFilename: string;
7581
- }[] | [string, string] | undefined> | undefined;
7582
- originalActionId?: string | undefined;
8407
+ }[] | [string, string] | null | undefined> | null | undefined;
8408
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7583
8409
  } | {
7584
8410
  type: "REJECT_CORRECTION";
7585
- id: string;
8411
+ id: string & z.BRAND<"UUID">;
7586
8412
  status: "Rejected" | "Requested" | "Accepted";
7587
8413
  transactionId: string;
7588
8414
  createdAt: string;
@@ -7603,6 +8429,10 @@ export declare const EventDocument: z.ZodObject<{
7603
8429
  residentialArea?: string | null | undefined;
7604
8430
  street?: string | null | undefined;
7605
8431
  zipCode?: string | null | undefined;
8432
+ } | {
8433
+ firstname: string;
8434
+ surname: string;
8435
+ middlename?: string | null | undefined;
7606
8436
  } | {
7607
8437
  country: string;
7608
8438
  district: string;
@@ -7625,9 +8455,10 @@ export declare const EventDocument: z.ZodObject<{
7625
8455
  option: string;
7626
8456
  filename: string;
7627
8457
  originalFilename: string;
7628
- }[] | [string, string] | undefined>;
7629
- createdAtLocation: string;
8458
+ }[] | [string, string] | null | undefined>;
7630
8459
  requestId: string;
8460
+ createdBySignature?: string | null | undefined;
8461
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7631
8462
  annotation?: Record<string, string | number | boolean | {
7632
8463
  type: string;
7633
8464
  filename: string;
@@ -7643,6 +8474,10 @@ export declare const EventDocument: z.ZodObject<{
7643
8474
  residentialArea?: string | null | undefined;
7644
8475
  street?: string | null | undefined;
7645
8476
  zipCode?: string | null | undefined;
8477
+ } | {
8478
+ firstname: string;
8479
+ surname: string;
8480
+ middlename?: string | null | undefined;
7646
8481
  } | {
7647
8482
  country: string;
7648
8483
  district: string;
@@ -7665,11 +8500,11 @@ export declare const EventDocument: z.ZodObject<{
7665
8500
  option: string;
7666
8501
  filename: string;
7667
8502
  originalFilename: string;
7668
- }[] | [string, string] | undefined> | undefined;
7669
- originalActionId?: string | undefined;
8503
+ }[] | [string, string] | null | undefined> | null | undefined;
8504
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7670
8505
  } | {
7671
8506
  type: "READ";
7672
- id: string;
8507
+ id: string & z.BRAND<"UUID">;
7673
8508
  status: "Rejected" | "Requested" | "Accepted";
7674
8509
  transactionId: string;
7675
8510
  createdAt: string;
@@ -7690,6 +8525,10 @@ export declare const EventDocument: z.ZodObject<{
7690
8525
  residentialArea?: string | null | undefined;
7691
8526
  street?: string | null | undefined;
7692
8527
  zipCode?: string | null | undefined;
8528
+ } | {
8529
+ firstname: string;
8530
+ surname: string;
8531
+ middlename?: string | null | undefined;
7693
8532
  } | {
7694
8533
  country: string;
7695
8534
  district: string;
@@ -7712,8 +8551,9 @@ export declare const EventDocument: z.ZodObject<{
7712
8551
  option: string;
7713
8552
  filename: string;
7714
8553
  originalFilename: string;
7715
- }[] | [string, string] | undefined>;
7716
- createdAtLocation: string;
8554
+ }[] | [string, string] | null | undefined>;
8555
+ createdBySignature?: string | null | undefined;
8556
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7717
8557
  annotation?: Record<string, string | number | boolean | {
7718
8558
  type: string;
7719
8559
  filename: string;
@@ -7729,6 +8569,10 @@ export declare const EventDocument: z.ZodObject<{
7729
8569
  residentialArea?: string | null | undefined;
7730
8570
  street?: string | null | undefined;
7731
8571
  zipCode?: string | null | undefined;
8572
+ } | {
8573
+ firstname: string;
8574
+ surname: string;
8575
+ middlename?: string | null | undefined;
7732
8576
  } | {
7733
8577
  country: string;
7734
8578
  district: string;
@@ -7751,23 +8595,21 @@ export declare const EventDocument: z.ZodObject<{
7751
8595
  option: string;
7752
8596
  filename: string;
7753
8597
  originalFilename: string;
7754
- }[] | [string, string] | undefined> | undefined;
7755
- originalActionId?: string | undefined;
8598
+ }[] | [string, string] | null | undefined> | null | undefined;
8599
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7756
8600
  } | {
7757
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7758
- id: string;
8602
+ id: string & z.BRAND<"UUID">;
7759
8603
  status: "Rejected";
7760
8604
  transactionId: string;
7761
8605
  createdAt: string;
7762
8606
  createdBy: string;
7763
8607
  createdByRole: string;
7764
- createdAtLocation: string;
7765
- originalActionId?: string | undefined;
8608
+ createdBySignature?: string | null | undefined;
8609
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8610
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7766
8611
  })[];
7767
8612
  trackingId: string;
7768
- dateOfEvent?: {
7769
- fieldId: string;
7770
- } | undefined;
7771
8613
  }, {
7772
8614
  type: string;
7773
8615
  id: string;
@@ -7796,6 +8638,10 @@ export declare const EventDocument: z.ZodObject<{
7796
8638
  residentialArea?: string | null | undefined;
7797
8639
  street?: string | null | undefined;
7798
8640
  zipCode?: string | null | undefined;
8641
+ } | {
8642
+ firstname: string;
8643
+ surname: string;
8644
+ middlename?: string | null | undefined;
7799
8645
  } | {
7800
8646
  country: string;
7801
8647
  district: string;
@@ -7818,9 +8664,10 @@ export declare const EventDocument: z.ZodObject<{
7818
8664
  option: string;
7819
8665
  filename: string;
7820
8666
  originalFilename: string;
7821
- }[] | [string, string] | undefined>;
7822
- createdAtLocation: string;
8667
+ }[] | [string, string] | null | undefined>;
7823
8668
  assignedTo: string;
8669
+ createdBySignature?: string | null | undefined;
8670
+ createdAtLocation?: string | null | undefined;
7824
8671
  annotation?: Record<string, string | number | boolean | {
7825
8672
  type: string;
7826
8673
  filename: string;
@@ -7836,6 +8683,10 @@ export declare const EventDocument: z.ZodObject<{
7836
8683
  residentialArea?: string | null | undefined;
7837
8684
  street?: string | null | undefined;
7838
8685
  zipCode?: string | null | undefined;
8686
+ } | {
8687
+ firstname: string;
8688
+ surname: string;
8689
+ middlename?: string | null | undefined;
7839
8690
  } | {
7840
8691
  country: string;
7841
8692
  district: string;
@@ -7858,8 +8709,8 @@ export declare const EventDocument: z.ZodObject<{
7858
8709
  option: string;
7859
8710
  filename: string;
7860
8711
  originalFilename: string;
7861
- }[] | [string, string] | undefined> | undefined;
7862
- originalActionId?: string | undefined;
8712
+ }[] | [string, string] | null | undefined> | null | undefined;
8713
+ originalActionId?: string | null | undefined;
7863
8714
  } | {
7864
8715
  type: "UNASSIGN";
7865
8716
  id: string;
@@ -7883,6 +8734,10 @@ export declare const EventDocument: z.ZodObject<{
7883
8734
  residentialArea?: string | null | undefined;
7884
8735
  street?: string | null | undefined;
7885
8736
  zipCode?: string | null | undefined;
8737
+ } | {
8738
+ firstname: string;
8739
+ surname: string;
8740
+ middlename?: string | null | undefined;
7886
8741
  } | {
7887
8742
  country: string;
7888
8743
  district: string;
@@ -7905,9 +8760,10 @@ export declare const EventDocument: z.ZodObject<{
7905
8760
  option: string;
7906
8761
  filename: string;
7907
8762
  originalFilename: string;
7908
- }[] | [string, string] | undefined>;
7909
- createdAtLocation: string;
8763
+ }[] | [string, string] | null | undefined>;
7910
8764
  assignedTo: null;
8765
+ createdBySignature?: string | null | undefined;
8766
+ createdAtLocation?: string | null | undefined;
7911
8767
  annotation?: Record<string, string | number | boolean | {
7912
8768
  type: string;
7913
8769
  filename: string;
@@ -7923,6 +8779,10 @@ export declare const EventDocument: z.ZodObject<{
7923
8779
  residentialArea?: string | null | undefined;
7924
8780
  street?: string | null | undefined;
7925
8781
  zipCode?: string | null | undefined;
8782
+ } | {
8783
+ firstname: string;
8784
+ surname: string;
8785
+ middlename?: string | null | undefined;
7926
8786
  } | {
7927
8787
  country: string;
7928
8788
  district: string;
@@ -7945,8 +8805,8 @@ export declare const EventDocument: z.ZodObject<{
7945
8805
  option: string;
7946
8806
  filename: string;
7947
8807
  originalFilename: string;
7948
- }[] | [string, string] | undefined> | undefined;
7949
- originalActionId?: string | undefined;
8808
+ }[] | [string, string] | null | undefined> | null | undefined;
8809
+ originalActionId?: string | null | undefined;
7950
8810
  } | {
7951
8811
  type: "REGISTER";
7952
8812
  id: string;
@@ -7970,6 +8830,10 @@ export declare const EventDocument: z.ZodObject<{
7970
8830
  residentialArea?: string | null | undefined;
7971
8831
  street?: string | null | undefined;
7972
8832
  zipCode?: string | null | undefined;
8833
+ } | {
8834
+ firstname: string;
8835
+ surname: string;
8836
+ middlename?: string | null | undefined;
7973
8837
  } | {
7974
8838
  country: string;
7975
8839
  district: string;
@@ -7992,8 +8856,9 @@ export declare const EventDocument: z.ZodObject<{
7992
8856
  option: string;
7993
8857
  filename: string;
7994
8858
  originalFilename: string;
7995
- }[] | [string, string] | undefined>;
7996
- createdAtLocation: string;
8859
+ }[] | [string, string] | null | undefined>;
8860
+ createdBySignature?: string | null | undefined;
8861
+ createdAtLocation?: string | null | undefined;
7997
8862
  annotation?: Record<string, string | number | boolean | {
7998
8863
  type: string;
7999
8864
  filename: string;
@@ -8009,6 +8874,10 @@ export declare const EventDocument: z.ZodObject<{
8009
8874
  residentialArea?: string | null | undefined;
8010
8875
  street?: string | null | undefined;
8011
8876
  zipCode?: string | null | undefined;
8877
+ } | {
8878
+ firstname: string;
8879
+ surname: string;
8880
+ middlename?: string | null | undefined;
8012
8881
  } | {
8013
8882
  country: string;
8014
8883
  district: string;
@@ -8031,8 +8900,8 @@ export declare const EventDocument: z.ZodObject<{
8031
8900
  option: string;
8032
8901
  filename: string;
8033
8902
  originalFilename: string;
8034
- }[] | [string, string] | undefined> | undefined;
8035
- originalActionId?: string | undefined;
8903
+ }[] | [string, string] | null | undefined> | null | undefined;
8904
+ originalActionId?: string | null | undefined;
8036
8905
  registrationNumber?: string | undefined;
8037
8906
  } | {
8038
8907
  type: "DECLARE";
@@ -8057,6 +8926,10 @@ export declare const EventDocument: z.ZodObject<{
8057
8926
  residentialArea?: string | null | undefined;
8058
8927
  street?: string | null | undefined;
8059
8928
  zipCode?: string | null | undefined;
8929
+ } | {
8930
+ firstname: string;
8931
+ surname: string;
8932
+ middlename?: string | null | undefined;
8060
8933
  } | {
8061
8934
  country: string;
8062
8935
  district: string;
@@ -8079,8 +8952,9 @@ export declare const EventDocument: z.ZodObject<{
8079
8952
  option: string;
8080
8953
  filename: string;
8081
8954
  originalFilename: string;
8082
- }[] | [string, string] | undefined>;
8083
- createdAtLocation: string;
8955
+ }[] | [string, string] | null | undefined>;
8956
+ createdBySignature?: string | null | undefined;
8957
+ createdAtLocation?: string | null | undefined;
8084
8958
  annotation?: Record<string, string | number | boolean | {
8085
8959
  type: string;
8086
8960
  filename: string;
@@ -8096,6 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8096
8970
  residentialArea?: string | null | undefined;
8097
8971
  street?: string | null | undefined;
8098
8972
  zipCode?: string | null | undefined;
8973
+ } | {
8974
+ firstname: string;
8975
+ surname: string;
8976
+ middlename?: string | null | undefined;
8099
8977
  } | {
8100
8978
  country: string;
8101
8979
  district: string;
@@ -8118,8 +8996,8 @@ export declare const EventDocument: z.ZodObject<{
8118
8996
  option: string;
8119
8997
  filename: string;
8120
8998
  originalFilename: string;
8121
- }[] | [string, string] | undefined> | undefined;
8122
- originalActionId?: string | undefined;
8999
+ }[] | [string, string] | null | undefined> | null | undefined;
9000
+ originalActionId?: string | null | undefined;
8123
9001
  } | {
8124
9002
  type: "VALIDATE";
8125
9003
  id: string;
@@ -8143,6 +9021,10 @@ export declare const EventDocument: z.ZodObject<{
8143
9021
  residentialArea?: string | null | undefined;
8144
9022
  street?: string | null | undefined;
8145
9023
  zipCode?: string | null | undefined;
9024
+ } | {
9025
+ firstname: string;
9026
+ surname: string;
9027
+ middlename?: string | null | undefined;
8146
9028
  } | {
8147
9029
  country: string;
8148
9030
  district: string;
@@ -8165,8 +9047,9 @@ export declare const EventDocument: z.ZodObject<{
8165
9047
  option: string;
8166
9048
  filename: string;
8167
9049
  originalFilename: string;
8168
- }[] | [string, string] | undefined>;
8169
- createdAtLocation: string;
9050
+ }[] | [string, string] | null | undefined>;
9051
+ createdBySignature?: string | null | undefined;
9052
+ createdAtLocation?: string | null | undefined;
8170
9053
  annotation?: Record<string, string | number | boolean | {
8171
9054
  type: string;
8172
9055
  filename: string;
@@ -8182,6 +9065,10 @@ export declare const EventDocument: z.ZodObject<{
8182
9065
  residentialArea?: string | null | undefined;
8183
9066
  street?: string | null | undefined;
8184
9067
  zipCode?: string | null | undefined;
9068
+ } | {
9069
+ firstname: string;
9070
+ surname: string;
9071
+ middlename?: string | null | undefined;
8185
9072
  } | {
8186
9073
  country: string;
8187
9074
  district: string;
@@ -8204,12 +9091,16 @@ export declare const EventDocument: z.ZodObject<{
8204
9091
  option: string;
8205
9092
  filename: string;
8206
9093
  originalFilename: string;
8207
- }[] | [string, string] | undefined> | undefined;
8208
- originalActionId?: string | undefined;
9094
+ }[] | [string, string] | null | undefined> | null | undefined;
9095
+ originalActionId?: string | null | undefined;
8209
9096
  } | {
8210
9097
  type: "REJECT";
8211
9098
  id: string;
8212
9099
  status: "Rejected" | "Requested" | "Accepted";
9100
+ reason: {
9101
+ message: string;
9102
+ isDuplicate?: boolean | undefined;
9103
+ };
8213
9104
  transactionId: string;
8214
9105
  createdAt: string;
8215
9106
  createdBy: string;
@@ -8229,6 +9120,10 @@ export declare const EventDocument: z.ZodObject<{
8229
9120
  residentialArea?: string | null | undefined;
8230
9121
  street?: string | null | undefined;
8231
9122
  zipCode?: string | null | undefined;
9123
+ } | {
9124
+ firstname: string;
9125
+ surname: string;
9126
+ middlename?: string | null | undefined;
8232
9127
  } | {
8233
9128
  country: string;
8234
9129
  district: string;
@@ -8251,8 +9146,9 @@ export declare const EventDocument: z.ZodObject<{
8251
9146
  option: string;
8252
9147
  filename: string;
8253
9148
  originalFilename: string;
8254
- }[] | [string, string] | undefined>;
8255
- createdAtLocation: string;
9149
+ }[] | [string, string] | null | undefined>;
9150
+ createdBySignature?: string | null | undefined;
9151
+ createdAtLocation?: string | null | undefined;
8256
9152
  annotation?: Record<string, string | number | boolean | {
8257
9153
  type: string;
8258
9154
  filename: string;
@@ -8268,6 +9164,10 @@ export declare const EventDocument: z.ZodObject<{
8268
9164
  residentialArea?: string | null | undefined;
8269
9165
  street?: string | null | undefined;
8270
9166
  zipCode?: string | null | undefined;
9167
+ } | {
9168
+ firstname: string;
9169
+ surname: string;
9170
+ middlename?: string | null | undefined;
8271
9171
  } | {
8272
9172
  country: string;
8273
9173
  district: string;
@@ -8290,8 +9190,8 @@ export declare const EventDocument: z.ZodObject<{
8290
9190
  option: string;
8291
9191
  filename: string;
8292
9192
  originalFilename: string;
8293
- }[] | [string, string] | undefined> | undefined;
8294
- originalActionId?: string | undefined;
9193
+ }[] | [string, string] | null | undefined> | null | undefined;
9194
+ originalActionId?: string | null | undefined;
8295
9195
  } | {
8296
9196
  type: "MARKED_AS_DUPLICATE";
8297
9197
  id: string;
@@ -8315,6 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8315
9215
  residentialArea?: string | null | undefined;
8316
9216
  street?: string | null | undefined;
8317
9217
  zipCode?: string | null | undefined;
9218
+ } | {
9219
+ firstname: string;
9220
+ surname: string;
9221
+ middlename?: string | null | undefined;
8318
9222
  } | {
8319
9223
  country: string;
8320
9224
  district: string;
@@ -8337,8 +9241,9 @@ export declare const EventDocument: z.ZodObject<{
8337
9241
  option: string;
8338
9242
  filename: string;
8339
9243
  originalFilename: string;
8340
- }[] | [string, string] | undefined>;
8341
- createdAtLocation: string;
9244
+ }[] | [string, string] | null | undefined>;
9245
+ createdBySignature?: string | null | undefined;
9246
+ createdAtLocation?: string | null | undefined;
8342
9247
  annotation?: Record<string, string | number | boolean | {
8343
9248
  type: string;
8344
9249
  filename: string;
@@ -8354,6 +9259,10 @@ export declare const EventDocument: z.ZodObject<{
8354
9259
  residentialArea?: string | null | undefined;
8355
9260
  street?: string | null | undefined;
8356
9261
  zipCode?: string | null | undefined;
9262
+ } | {
9263
+ firstname: string;
9264
+ surname: string;
9265
+ middlename?: string | null | undefined;
8357
9266
  } | {
8358
9267
  country: string;
8359
9268
  district: string;
@@ -8376,12 +9285,16 @@ export declare const EventDocument: z.ZodObject<{
8376
9285
  option: string;
8377
9286
  filename: string;
8378
9287
  originalFilename: string;
8379
- }[] | [string, string] | undefined> | undefined;
8380
- originalActionId?: string | undefined;
9288
+ }[] | [string, string] | null | undefined> | null | undefined;
9289
+ originalActionId?: string | null | undefined;
8381
9290
  } | {
8382
9291
  type: "ARCHIVE";
8383
9292
  id: string;
8384
9293
  status: "Rejected" | "Requested" | "Accepted";
9294
+ reason: {
9295
+ message: string;
9296
+ isDuplicate?: boolean | undefined;
9297
+ };
8385
9298
  transactionId: string;
8386
9299
  createdAt: string;
8387
9300
  createdBy: string;
@@ -8401,6 +9314,10 @@ export declare const EventDocument: z.ZodObject<{
8401
9314
  residentialArea?: string | null | undefined;
8402
9315
  street?: string | null | undefined;
8403
9316
  zipCode?: string | null | undefined;
9317
+ } | {
9318
+ firstname: string;
9319
+ surname: string;
9320
+ middlename?: string | null | undefined;
8404
9321
  } | {
8405
9322
  country: string;
8406
9323
  district: string;
@@ -8423,8 +9340,9 @@ export declare const EventDocument: z.ZodObject<{
8423
9340
  option: string;
8424
9341
  filename: string;
8425
9342
  originalFilename: string;
8426
- }[] | [string, string] | undefined>;
8427
- createdAtLocation: string;
9343
+ }[] | [string, string] | null | undefined>;
9344
+ createdBySignature?: string | null | undefined;
9345
+ createdAtLocation?: string | null | undefined;
8428
9346
  annotation?: Record<string, string | number | boolean | {
8429
9347
  type: string;
8430
9348
  filename: string;
@@ -8440,6 +9358,10 @@ export declare const EventDocument: z.ZodObject<{
8440
9358
  residentialArea?: string | null | undefined;
8441
9359
  street?: string | null | undefined;
8442
9360
  zipCode?: string | null | undefined;
9361
+ } | {
9362
+ firstname: string;
9363
+ surname: string;
9364
+ middlename?: string | null | undefined;
8443
9365
  } | {
8444
9366
  country: string;
8445
9367
  district: string;
@@ -8462,8 +9384,8 @@ export declare const EventDocument: z.ZodObject<{
8462
9384
  option: string;
8463
9385
  filename: string;
8464
9386
  originalFilename: string;
8465
- }[] | [string, string] | undefined> | undefined;
8466
- originalActionId?: string | undefined;
9387
+ }[] | [string, string] | null | undefined> | null | undefined;
9388
+ originalActionId?: string | null | undefined;
8467
9389
  } | {
8468
9390
  type: "CREATE";
8469
9391
  id: string;
@@ -8487,6 +9409,10 @@ export declare const EventDocument: z.ZodObject<{
8487
9409
  residentialArea?: string | null | undefined;
8488
9410
  street?: string | null | undefined;
8489
9411
  zipCode?: string | null | undefined;
9412
+ } | {
9413
+ firstname: string;
9414
+ surname: string;
9415
+ middlename?: string | null | undefined;
8490
9416
  } | {
8491
9417
  country: string;
8492
9418
  district: string;
@@ -8509,8 +9435,9 @@ export declare const EventDocument: z.ZodObject<{
8509
9435
  option: string;
8510
9436
  filename: string;
8511
9437
  originalFilename: string;
8512
- }[] | [string, string] | undefined>;
8513
- createdAtLocation: string;
9438
+ }[] | [string, string] | null | undefined>;
9439
+ createdBySignature?: string | null | undefined;
9440
+ createdAtLocation?: string | null | undefined;
8514
9441
  annotation?: Record<string, string | number | boolean | {
8515
9442
  type: string;
8516
9443
  filename: string;
@@ -8526,6 +9453,10 @@ export declare const EventDocument: z.ZodObject<{
8526
9453
  residentialArea?: string | null | undefined;
8527
9454
  street?: string | null | undefined;
8528
9455
  zipCode?: string | null | undefined;
9456
+ } | {
9457
+ firstname: string;
9458
+ surname: string;
9459
+ middlename?: string | null | undefined;
8529
9460
  } | {
8530
9461
  country: string;
8531
9462
  district: string;
@@ -8548,8 +9479,8 @@ export declare const EventDocument: z.ZodObject<{
8548
9479
  option: string;
8549
9480
  filename: string;
8550
9481
  originalFilename: string;
8551
- }[] | [string, string] | undefined> | undefined;
8552
- originalActionId?: string | undefined;
9482
+ }[] | [string, string] | null | undefined> | null | undefined;
9483
+ originalActionId?: string | null | undefined;
8553
9484
  } | {
8554
9485
  type: "NOTIFY";
8555
9486
  id: string;
@@ -8573,6 +9504,10 @@ export declare const EventDocument: z.ZodObject<{
8573
9504
  residentialArea?: string | null | undefined;
8574
9505
  street?: string | null | undefined;
8575
9506
  zipCode?: string | null | undefined;
9507
+ } | {
9508
+ firstname: string;
9509
+ surname: string;
9510
+ middlename?: string | null | undefined;
8576
9511
  } | {
8577
9512
  country: string;
8578
9513
  district: string;
@@ -8595,8 +9530,9 @@ export declare const EventDocument: z.ZodObject<{
8595
9530
  option: string;
8596
9531
  filename: string;
8597
9532
  originalFilename: string;
8598
- }[] | [string, string] | undefined>;
8599
- createdAtLocation: string;
9533
+ }[] | [string, string] | null | undefined>;
9534
+ createdBySignature?: string | null | undefined;
9535
+ createdAtLocation?: string | null | undefined;
8600
9536
  annotation?: Record<string, string | number | boolean | {
8601
9537
  type: string;
8602
9538
  filename: string;
@@ -8612,6 +9548,10 @@ export declare const EventDocument: z.ZodObject<{
8612
9548
  residentialArea?: string | null | undefined;
8613
9549
  street?: string | null | undefined;
8614
9550
  zipCode?: string | null | undefined;
9551
+ } | {
9552
+ firstname: string;
9553
+ surname: string;
9554
+ middlename?: string | null | undefined;
8615
9555
  } | {
8616
9556
  country: string;
8617
9557
  district: string;
@@ -8634,8 +9574,8 @@ export declare const EventDocument: z.ZodObject<{
8634
9574
  option: string;
8635
9575
  filename: string;
8636
9576
  originalFilename: string;
8637
- }[] | [string, string] | undefined> | undefined;
8638
- originalActionId?: string | undefined;
9577
+ }[] | [string, string] | null | undefined> | null | undefined;
9578
+ originalActionId?: string | null | undefined;
8639
9579
  } | {
8640
9580
  type: "PRINT_CERTIFICATE";
8641
9581
  id: string;
@@ -8659,6 +9599,10 @@ export declare const EventDocument: z.ZodObject<{
8659
9599
  residentialArea?: string | null | undefined;
8660
9600
  street?: string | null | undefined;
8661
9601
  zipCode?: string | null | undefined;
9602
+ } | {
9603
+ firstname: string;
9604
+ surname: string;
9605
+ middlename?: string | null | undefined;
8662
9606
  } | {
8663
9607
  country: string;
8664
9608
  district: string;
@@ -8681,8 +9625,9 @@ export declare const EventDocument: z.ZodObject<{
8681
9625
  option: string;
8682
9626
  filename: string;
8683
9627
  originalFilename: string;
8684
- }[] | [string, string] | undefined>;
8685
- createdAtLocation: string;
9628
+ }[] | [string, string] | null | undefined>;
9629
+ createdBySignature?: string | null | undefined;
9630
+ createdAtLocation?: string | null | undefined;
8686
9631
  annotation?: Record<string, string | number | boolean | {
8687
9632
  type: string;
8688
9633
  filename: string;
@@ -8698,6 +9643,10 @@ export declare const EventDocument: z.ZodObject<{
8698
9643
  residentialArea?: string | null | undefined;
8699
9644
  street?: string | null | undefined;
8700
9645
  zipCode?: string | null | undefined;
9646
+ } | {
9647
+ firstname: string;
9648
+ surname: string;
9649
+ middlename?: string | null | undefined;
8701
9650
  } | {
8702
9651
  country: string;
8703
9652
  district: string;
@@ -8720,8 +9669,8 @@ export declare const EventDocument: z.ZodObject<{
8720
9669
  option: string;
8721
9670
  filename: string;
8722
9671
  originalFilename: string;
8723
- }[] | [string, string] | undefined> | undefined;
8724
- originalActionId?: string | undefined;
9672
+ }[] | [string, string] | null | undefined> | null | undefined;
9673
+ originalActionId?: string | null | undefined;
8725
9674
  } | {
8726
9675
  type: "REQUEST_CORRECTION";
8727
9676
  id: string;
@@ -8745,6 +9694,10 @@ export declare const EventDocument: z.ZodObject<{
8745
9694
  residentialArea?: string | null | undefined;
8746
9695
  street?: string | null | undefined;
8747
9696
  zipCode?: string | null | undefined;
9697
+ } | {
9698
+ firstname: string;
9699
+ surname: string;
9700
+ middlename?: string | null | undefined;
8748
9701
  } | {
8749
9702
  country: string;
8750
9703
  district: string;
@@ -8767,8 +9720,9 @@ export declare const EventDocument: z.ZodObject<{
8767
9720
  option: string;
8768
9721
  filename: string;
8769
9722
  originalFilename: string;
8770
- }[] | [string, string] | undefined>;
8771
- createdAtLocation: string;
9723
+ }[] | [string, string] | null | undefined>;
9724
+ createdBySignature?: string | null | undefined;
9725
+ createdAtLocation?: string | null | undefined;
8772
9726
  annotation?: Record<string, string | number | boolean | {
8773
9727
  type: string;
8774
9728
  filename: string;
@@ -8784,6 +9738,10 @@ export declare const EventDocument: z.ZodObject<{
8784
9738
  residentialArea?: string | null | undefined;
8785
9739
  street?: string | null | undefined;
8786
9740
  zipCode?: string | null | undefined;
9741
+ } | {
9742
+ firstname: string;
9743
+ surname: string;
9744
+ middlename?: string | null | undefined;
8787
9745
  } | {
8788
9746
  country: string;
8789
9747
  district: string;
@@ -8806,8 +9764,8 @@ export declare const EventDocument: z.ZodObject<{
8806
9764
  option: string;
8807
9765
  filename: string;
8808
9766
  originalFilename: string;
8809
- }[] | [string, string] | undefined> | undefined;
8810
- originalActionId?: string | undefined;
9767
+ }[] | [string, string] | null | undefined> | null | undefined;
9768
+ originalActionId?: string | null | undefined;
8811
9769
  } | {
8812
9770
  type: "APPROVE_CORRECTION";
8813
9771
  id: string;
@@ -8831,6 +9789,10 @@ export declare const EventDocument: z.ZodObject<{
8831
9789
  residentialArea?: string | null | undefined;
8832
9790
  street?: string | null | undefined;
8833
9791
  zipCode?: string | null | undefined;
9792
+ } | {
9793
+ firstname: string;
9794
+ surname: string;
9795
+ middlename?: string | null | undefined;
8834
9796
  } | {
8835
9797
  country: string;
8836
9798
  district: string;
@@ -8853,9 +9815,10 @@ export declare const EventDocument: z.ZodObject<{
8853
9815
  option: string;
8854
9816
  filename: string;
8855
9817
  originalFilename: string;
8856
- }[] | [string, string] | undefined>;
8857
- createdAtLocation: string;
9818
+ }[] | [string, string] | null | undefined>;
8858
9819
  requestId: string;
9820
+ createdBySignature?: string | null | undefined;
9821
+ createdAtLocation?: string | null | undefined;
8859
9822
  annotation?: Record<string, string | number | boolean | {
8860
9823
  type: string;
8861
9824
  filename: string;
@@ -8871,6 +9834,10 @@ export declare const EventDocument: z.ZodObject<{
8871
9834
  residentialArea?: string | null | undefined;
8872
9835
  street?: string | null | undefined;
8873
9836
  zipCode?: string | null | undefined;
9837
+ } | {
9838
+ firstname: string;
9839
+ surname: string;
9840
+ middlename?: string | null | undefined;
8874
9841
  } | {
8875
9842
  country: string;
8876
9843
  district: string;
@@ -8893,8 +9860,8 @@ export declare const EventDocument: z.ZodObject<{
8893
9860
  option: string;
8894
9861
  filename: string;
8895
9862
  originalFilename: string;
8896
- }[] | [string, string] | undefined> | undefined;
8897
- originalActionId?: string | undefined;
9863
+ }[] | [string, string] | null | undefined> | null | undefined;
9864
+ originalActionId?: string | null | undefined;
8898
9865
  } | {
8899
9866
  type: "REJECT_CORRECTION";
8900
9867
  id: string;
@@ -8918,6 +9885,10 @@ export declare const EventDocument: z.ZodObject<{
8918
9885
  residentialArea?: string | null | undefined;
8919
9886
  street?: string | null | undefined;
8920
9887
  zipCode?: string | null | undefined;
9888
+ } | {
9889
+ firstname: string;
9890
+ surname: string;
9891
+ middlename?: string | null | undefined;
8921
9892
  } | {
8922
9893
  country: string;
8923
9894
  district: string;
@@ -8940,9 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8940
9911
  option: string;
8941
9912
  filename: string;
8942
9913
  originalFilename: string;
8943
- }[] | [string, string] | undefined>;
8944
- createdAtLocation: string;
9914
+ }[] | [string, string] | null | undefined>;
8945
9915
  requestId: string;
9916
+ createdBySignature?: string | null | undefined;
9917
+ createdAtLocation?: string | null | undefined;
8946
9918
  annotation?: Record<string, string | number | boolean | {
8947
9919
  type: string;
8948
9920
  filename: string;
@@ -8958,6 +9930,10 @@ export declare const EventDocument: z.ZodObject<{
8958
9930
  residentialArea?: string | null | undefined;
8959
9931
  street?: string | null | undefined;
8960
9932
  zipCode?: string | null | undefined;
9933
+ } | {
9934
+ firstname: string;
9935
+ surname: string;
9936
+ middlename?: string | null | undefined;
8961
9937
  } | {
8962
9938
  country: string;
8963
9939
  district: string;
@@ -8980,8 +9956,8 @@ export declare const EventDocument: z.ZodObject<{
8980
9956
  option: string;
8981
9957
  filename: string;
8982
9958
  originalFilename: string;
8983
- }[] | [string, string] | undefined> | undefined;
8984
- originalActionId?: string | undefined;
9959
+ }[] | [string, string] | null | undefined> | null | undefined;
9960
+ originalActionId?: string | null | undefined;
8985
9961
  } | {
8986
9962
  type: "READ";
8987
9963
  id: string;
@@ -9005,6 +9981,10 @@ export declare const EventDocument: z.ZodObject<{
9005
9981
  residentialArea?: string | null | undefined;
9006
9982
  street?: string | null | undefined;
9007
9983
  zipCode?: string | null | undefined;
9984
+ } | {
9985
+ firstname: string;
9986
+ surname: string;
9987
+ middlename?: string | null | undefined;
9008
9988
  } | {
9009
9989
  country: string;
9010
9990
  district: string;
@@ -9027,8 +10007,9 @@ export declare const EventDocument: z.ZodObject<{
9027
10007
  option: string;
9028
10008
  filename: string;
9029
10009
  originalFilename: string;
9030
- }[] | [string, string] | undefined>;
9031
- createdAtLocation: string;
10010
+ }[] | [string, string] | null | undefined>;
10011
+ createdBySignature?: string | null | undefined;
10012
+ createdAtLocation?: string | null | undefined;
9032
10013
  annotation?: Record<string, string | number | boolean | {
9033
10014
  type: string;
9034
10015
  filename: string;
@@ -9044,6 +10025,10 @@ export declare const EventDocument: z.ZodObject<{
9044
10025
  residentialArea?: string | null | undefined;
9045
10026
  street?: string | null | undefined;
9046
10027
  zipCode?: string | null | undefined;
10028
+ } | {
10029
+ firstname: string;
10030
+ surname: string;
10031
+ middlename?: string | null | undefined;
9047
10032
  } | {
9048
10033
  country: string;
9049
10034
  district: string;
@@ -9066,8 +10051,8 @@ export declare const EventDocument: z.ZodObject<{
9066
10051
  option: string;
9067
10052
  filename: string;
9068
10053
  originalFilename: string;
9069
- }[] | [string, string] | undefined> | undefined;
9070
- originalActionId?: string | undefined;
10054
+ }[] | [string, string] | null | undefined> | null | undefined;
10055
+ originalActionId?: string | null | undefined;
9071
10056
  } | {
9072
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9073
10058
  id: string;
@@ -9076,13 +10061,11 @@ export declare const EventDocument: z.ZodObject<{
9076
10061
  createdAt: string;
9077
10062
  createdBy: string;
9078
10063
  createdByRole: string;
9079
- createdAtLocation: string;
9080
- originalActionId?: string | undefined;
10064
+ createdBySignature?: string | null | undefined;
10065
+ createdAtLocation?: string | null | undefined;
10066
+ originalActionId?: string | null | undefined;
9081
10067
  })[];
9082
10068
  trackingId: string;
9083
- dateOfEvent?: {
9084
- fieldId: string;
9085
- } | undefined;
9086
10069
  }>;
9087
10070
  export type EventDocument = z.infer<typeof EventDocument>;
9088
10071
  //# sourceMappingURL=EventDocument.d.ts.map