@opencrvs/toolkit 1.8.0-rc.f8296f8 → 1.8.0-rc.f84146e

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +2944 -1117
  2. package/dist/commons/conditionals/conditionals.d.ts +6 -2
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +24179 -11127
  5. package/dist/commons/events/ActionDocument.d.ts +1818 -414
  6. package/dist/commons/events/ActionInput.d.ts +1504 -304
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +1 -0
  11. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  12. package/dist/commons/events/Draft.d.ts +129 -33
  13. package/dist/commons/events/EventConfig.d.ts +12161 -5927
  14. package/dist/commons/events/EventDocument.d.ts +1162 -298
  15. package/dist/commons/events/EventIndex.d.ts +284 -31
  16. package/dist/commons/events/EventMetadata.d.ts +57 -57
  17. package/dist/commons/events/FieldConfig.d.ts +2074 -1202
  18. package/dist/commons/events/FieldType.d.ts +4 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  20. package/dist/commons/events/FieldValue.d.ts +43 -5
  21. package/dist/commons/events/FormConfig.d.ts +10259 -4769
  22. package/dist/commons/events/PageConfig.d.ts +3480 -2134
  23. package/dist/commons/events/SummaryConfig.d.ts +0 -5
  24. package/dist/commons/events/WorkqueueConfig.d.ts +297 -19
  25. package/dist/commons/events/defineConfig.d.ts +1724 -701
  26. package/dist/commons/events/field.d.ts +5 -10
  27. package/dist/commons/events/test.utils.d.ts +125 -40
  28. package/dist/commons/events/transactions.d.ts +1 -1
  29. package/dist/commons/events/utils.d.ts +10015 -331
  30. package/dist/conditionals/index.js +26 -6
  31. package/dist/events/index.js +760 -491
  32. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "UUID">;
3
+ id: z.ZodString;
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
@@ -11,7 +11,7 @@ export declare const EventDocument: z.ZodObject<{
11
11
  createdBy: z.ZodString;
12
12
  createdByRole: z.ZodString;
13
13
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
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<{
16
16
  filename: z.ZodString;
17
17
  originalFilename: z.ZodString;
@@ -125,8 +125,20 @@ export declare const EventDocument: z.ZodObject<{
125
125
  addressLine2?: string | null | undefined;
126
126
  addressLine3?: string | null | undefined;
127
127
  postcodeOrZip?: string | null | undefined;
128
- }>]>>;
129
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
130
142
  filename: z.ZodString;
131
143
  originalFilename: z.ZodString;
132
144
  type: z.ZodString;
@@ -239,9 +251,21 @@ export declare const EventDocument: z.ZodObject<{
239
251
  addressLine2?: string | null | undefined;
240
252
  addressLine3?: string | null | undefined;
241
253
  postcodeOrZip?: string | null | undefined;
242
- }>]>>>>;
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]>]>>>;
243
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
244
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
268
+ originalActionId: z.ZodOptional<z.ZodString>;
245
269
  }, {
246
270
  type: z.ZodLiteral<"CREATE">;
247
271
  }>, "strip", z.ZodTypeAny, {
@@ -267,6 +291,10 @@ export declare const EventDocument: z.ZodObject<{
267
291
  residentialArea?: string | null | undefined;
268
292
  street?: string | null | undefined;
269
293
  zipCode?: string | null | undefined;
294
+ } | {
295
+ firstname: string;
296
+ surname: string;
297
+ middlename?: string | null | undefined;
270
298
  } | {
271
299
  country: string;
272
300
  district: string;
@@ -289,9 +317,9 @@ export declare const EventDocument: z.ZodObject<{
289
317
  option: string;
290
318
  filename: string;
291
319
  originalFilename: string;
292
- }[] | [string, string] | undefined>;
320
+ }[] | [string, string] | null | undefined>;
293
321
  createdBySignature?: string | null | undefined;
294
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
322
+ createdAtLocation?: string | null | undefined;
295
323
  annotation?: Record<string, string | number | boolean | {
296
324
  type: string;
297
325
  filename: string;
@@ -307,6 +335,10 @@ export declare const EventDocument: z.ZodObject<{
307
335
  residentialArea?: string | null | undefined;
308
336
  street?: string | null | undefined;
309
337
  zipCode?: string | null | undefined;
338
+ } | {
339
+ firstname: string;
340
+ surname: string;
341
+ middlename?: string | null | undefined;
310
342
  } | {
311
343
  country: string;
312
344
  district: string;
@@ -329,8 +361,8 @@ export declare const EventDocument: z.ZodObject<{
329
361
  option: string;
330
362
  filename: string;
331
363
  originalFilename: string;
332
- }[] | [string, string] | undefined> | null | undefined;
333
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
364
+ }[] | [string, string] | null | undefined> | undefined;
365
+ originalActionId?: string | undefined;
334
366
  }, {
335
367
  type: "CREATE";
336
368
  id: string;
@@ -354,6 +386,10 @@ export declare const EventDocument: z.ZodObject<{
354
386
  residentialArea?: string | null | undefined;
355
387
  street?: string | null | undefined;
356
388
  zipCode?: string | null | undefined;
389
+ } | {
390
+ firstname: string;
391
+ surname: string;
392
+ middlename?: string | null | undefined;
357
393
  } | {
358
394
  country: string;
359
395
  district: string;
@@ -376,7 +412,7 @@ export declare const EventDocument: z.ZodObject<{
376
412
  option: string;
377
413
  filename: string;
378
414
  originalFilename: string;
379
- }[] | [string, string] | undefined>;
415
+ }[] | [string, string] | null | undefined>;
380
416
  createdBySignature?: string | null | undefined;
381
417
  createdAtLocation?: string | null | undefined;
382
418
  annotation?: Record<string, string | number | boolean | {
@@ -394,6 +430,10 @@ export declare const EventDocument: z.ZodObject<{
394
430
  residentialArea?: string | null | undefined;
395
431
  street?: string | null | undefined;
396
432
  zipCode?: string | null | undefined;
433
+ } | {
434
+ firstname: string;
435
+ surname: string;
436
+ middlename?: string | null | undefined;
397
437
  } | {
398
438
  country: string;
399
439
  district: string;
@@ -416,8 +456,8 @@ export declare const EventDocument: z.ZodObject<{
416
456
  option: string;
417
457
  filename: string;
418
458
  originalFilename: string;
419
- }[] | [string, string] | undefined> | null | undefined;
420
- originalActionId?: string | null | undefined;
459
+ }[] | [string, string] | null | undefined> | undefined;
460
+ originalActionId?: string | undefined;
421
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
422
462
  id: z.ZodString;
423
463
  transactionId: z.ZodString;
@@ -425,7 +465,7 @@ export declare const EventDocument: z.ZodObject<{
425
465
  createdBy: z.ZodString;
426
466
  createdByRole: z.ZodString;
427
467
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
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<{
430
470
  filename: z.ZodString;
431
471
  originalFilename: z.ZodString;
@@ -539,8 +579,20 @@ export declare const EventDocument: z.ZodObject<{
539
579
  addressLine2?: string | null | undefined;
540
580
  addressLine3?: string | null | undefined;
541
581
  postcodeOrZip?: string | null | undefined;
542
- }>]>>;
543
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
544
596
  filename: z.ZodString;
545
597
  originalFilename: z.ZodString;
546
598
  type: z.ZodString;
@@ -653,9 +705,21 @@ export declare const EventDocument: z.ZodObject<{
653
705
  addressLine2?: string | null | undefined;
654
706
  addressLine3?: string | null | undefined;
655
707
  postcodeOrZip?: string | null | undefined;
656
- }>]>>>>;
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]>]>>>;
657
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
658
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
722
+ originalActionId: z.ZodOptional<z.ZodString>;
659
723
  }, {
660
724
  type: z.ZodLiteral<"VALIDATE">;
661
725
  }>, "strip", z.ZodTypeAny, {
@@ -681,6 +745,10 @@ export declare const EventDocument: z.ZodObject<{
681
745
  residentialArea?: string | null | undefined;
682
746
  street?: string | null | undefined;
683
747
  zipCode?: string | null | undefined;
748
+ } | {
749
+ firstname: string;
750
+ surname: string;
751
+ middlename?: string | null | undefined;
684
752
  } | {
685
753
  country: string;
686
754
  district: string;
@@ -703,9 +771,9 @@ export declare const EventDocument: z.ZodObject<{
703
771
  option: string;
704
772
  filename: string;
705
773
  originalFilename: string;
706
- }[] | [string, string] | undefined>;
774
+ }[] | [string, string] | null | undefined>;
707
775
  createdBySignature?: string | null | undefined;
708
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
776
+ createdAtLocation?: string | null | undefined;
709
777
  annotation?: Record<string, string | number | boolean | {
710
778
  type: string;
711
779
  filename: string;
@@ -721,6 +789,10 @@ export declare const EventDocument: z.ZodObject<{
721
789
  residentialArea?: string | null | undefined;
722
790
  street?: string | null | undefined;
723
791
  zipCode?: string | null | undefined;
792
+ } | {
793
+ firstname: string;
794
+ surname: string;
795
+ middlename?: string | null | undefined;
724
796
  } | {
725
797
  country: string;
726
798
  district: string;
@@ -743,8 +815,8 @@ export declare const EventDocument: z.ZodObject<{
743
815
  option: string;
744
816
  filename: string;
745
817
  originalFilename: string;
746
- }[] | [string, string] | undefined> | null | undefined;
747
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
818
+ }[] | [string, string] | null | undefined> | undefined;
819
+ originalActionId?: string | undefined;
748
820
  }, {
749
821
  type: "VALIDATE";
750
822
  id: string;
@@ -768,6 +840,10 @@ export declare const EventDocument: z.ZodObject<{
768
840
  residentialArea?: string | null | undefined;
769
841
  street?: string | null | undefined;
770
842
  zipCode?: string | null | undefined;
843
+ } | {
844
+ firstname: string;
845
+ surname: string;
846
+ middlename?: string | null | undefined;
771
847
  } | {
772
848
  country: string;
773
849
  district: string;
@@ -790,7 +866,7 @@ export declare const EventDocument: z.ZodObject<{
790
866
  option: string;
791
867
  filename: string;
792
868
  originalFilename: string;
793
- }[] | [string, string] | undefined>;
869
+ }[] | [string, string] | null | undefined>;
794
870
  createdBySignature?: string | null | undefined;
795
871
  createdAtLocation?: string | null | undefined;
796
872
  annotation?: Record<string, string | number | boolean | {
@@ -808,6 +884,10 @@ export declare const EventDocument: z.ZodObject<{
808
884
  residentialArea?: string | null | undefined;
809
885
  street?: string | null | undefined;
810
886
  zipCode?: string | null | undefined;
887
+ } | {
888
+ firstname: string;
889
+ surname: string;
890
+ middlename?: string | null | undefined;
811
891
  } | {
812
892
  country: string;
813
893
  district: string;
@@ -830,8 +910,8 @@ export declare const EventDocument: z.ZodObject<{
830
910
  option: string;
831
911
  filename: string;
832
912
  originalFilename: string;
833
- }[] | [string, string] | undefined> | null | undefined;
834
- originalActionId?: string | null | undefined;
913
+ }[] | [string, string] | null | undefined> | undefined;
914
+ originalActionId?: string | undefined;
835
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
836
916
  id: z.ZodString;
837
917
  transactionId: z.ZodString;
@@ -839,7 +919,7 @@ export declare const EventDocument: z.ZodObject<{
839
919
  createdBy: z.ZodString;
840
920
  createdByRole: z.ZodString;
841
921
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
842
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
843
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<{
844
924
  filename: z.ZodString;
845
925
  originalFilename: z.ZodString;
@@ -953,8 +1033,20 @@ export declare const EventDocument: z.ZodObject<{
953
1033
  addressLine2?: string | null | undefined;
954
1034
  addressLine3?: string | null | undefined;
955
1035
  postcodeOrZip?: string | null | undefined;
956
- }>]>>;
957
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
958
1050
  filename: z.ZodString;
959
1051
  originalFilename: z.ZodString;
960
1052
  type: z.ZodString;
@@ -1067,9 +1159,21 @@ export declare const EventDocument: z.ZodObject<{
1067
1159
  addressLine2?: string | null | undefined;
1068
1160
  addressLine3?: string | null | undefined;
1069
1161
  postcodeOrZip?: string | null | undefined;
1070
- }>]>>>>;
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.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1176
+ originalActionId: z.ZodOptional<z.ZodString>;
1073
1177
  }, {
1074
1178
  type: z.ZodLiteral<"REJECT">;
1075
1179
  reason: z.ZodObject<{
@@ -1109,6 +1213,10 @@ export declare const EventDocument: z.ZodObject<{
1109
1213
  residentialArea?: string | null | undefined;
1110
1214
  street?: string | null | undefined;
1111
1215
  zipCode?: string | null | undefined;
1216
+ } | {
1217
+ firstname: string;
1218
+ surname: string;
1219
+ middlename?: string | null | undefined;
1112
1220
  } | {
1113
1221
  country: string;
1114
1222
  district: string;
@@ -1131,9 +1239,9 @@ export declare const EventDocument: z.ZodObject<{
1131
1239
  option: string;
1132
1240
  filename: string;
1133
1241
  originalFilename: string;
1134
- }[] | [string, string] | undefined>;
1242
+ }[] | [string, string] | null | undefined>;
1135
1243
  createdBySignature?: string | null | undefined;
1136
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1244
+ createdAtLocation?: string | null | undefined;
1137
1245
  annotation?: Record<string, string | number | boolean | {
1138
1246
  type: string;
1139
1247
  filename: string;
@@ -1149,6 +1257,10 @@ export declare const EventDocument: z.ZodObject<{
1149
1257
  residentialArea?: string | null | undefined;
1150
1258
  street?: string | null | undefined;
1151
1259
  zipCode?: string | null | undefined;
1260
+ } | {
1261
+ firstname: string;
1262
+ surname: string;
1263
+ middlename?: string | null | undefined;
1152
1264
  } | {
1153
1265
  country: string;
1154
1266
  district: string;
@@ -1171,8 +1283,8 @@ export declare const EventDocument: z.ZodObject<{
1171
1283
  option: string;
1172
1284
  filename: string;
1173
1285
  originalFilename: string;
1174
- }[] | [string, string] | undefined> | null | undefined;
1175
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1286
+ }[] | [string, string] | null | undefined> | undefined;
1287
+ originalActionId?: string | undefined;
1176
1288
  }, {
1177
1289
  type: "REJECT";
1178
1290
  id: string;
@@ -1200,6 +1312,10 @@ export declare const EventDocument: z.ZodObject<{
1200
1312
  residentialArea?: string | null | undefined;
1201
1313
  street?: string | null | undefined;
1202
1314
  zipCode?: string | null | undefined;
1315
+ } | {
1316
+ firstname: string;
1317
+ surname: string;
1318
+ middlename?: string | null | undefined;
1203
1319
  } | {
1204
1320
  country: string;
1205
1321
  district: string;
@@ -1222,7 +1338,7 @@ export declare const EventDocument: z.ZodObject<{
1222
1338
  option: string;
1223
1339
  filename: string;
1224
1340
  originalFilename: string;
1225
- }[] | [string, string] | undefined>;
1341
+ }[] | [string, string] | null | undefined>;
1226
1342
  createdBySignature?: string | null | undefined;
1227
1343
  createdAtLocation?: string | null | undefined;
1228
1344
  annotation?: Record<string, string | number | boolean | {
@@ -1240,6 +1356,10 @@ export declare const EventDocument: z.ZodObject<{
1240
1356
  residentialArea?: string | null | undefined;
1241
1357
  street?: string | null | undefined;
1242
1358
  zipCode?: string | null | undefined;
1359
+ } | {
1360
+ firstname: string;
1361
+ surname: string;
1362
+ middlename?: string | null | undefined;
1243
1363
  } | {
1244
1364
  country: string;
1245
1365
  district: string;
@@ -1262,8 +1382,8 @@ export declare const EventDocument: z.ZodObject<{
1262
1382
  option: string;
1263
1383
  filename: string;
1264
1384
  originalFilename: string;
1265
- }[] | [string, string] | undefined> | null | undefined;
1266
- originalActionId?: string | null | undefined;
1385
+ }[] | [string, string] | null | undefined> | undefined;
1386
+ originalActionId?: string | undefined;
1267
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1268
1388
  id: z.ZodString;
1269
1389
  transactionId: z.ZodString;
@@ -1271,7 +1391,7 @@ export declare const EventDocument: z.ZodObject<{
1271
1391
  createdBy: z.ZodString;
1272
1392
  createdByRole: z.ZodString;
1273
1393
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1275
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<{
1276
1396
  filename: z.ZodString;
1277
1397
  originalFilename: z.ZodString;
@@ -1385,8 +1505,20 @@ export declare const EventDocument: z.ZodObject<{
1385
1505
  addressLine2?: string | null | undefined;
1386
1506
  addressLine3?: string | null | undefined;
1387
1507
  postcodeOrZip?: string | null | undefined;
1388
- }>]>>;
1389
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1390
1522
  filename: z.ZodString;
1391
1523
  originalFilename: z.ZodString;
1392
1524
  type: z.ZodString;
@@ -1499,9 +1631,21 @@ export declare const EventDocument: z.ZodObject<{
1499
1631
  addressLine2?: string | null | undefined;
1500
1632
  addressLine3?: string | null | undefined;
1501
1633
  postcodeOrZip?: string | null | undefined;
1502
- }>]>>>>;
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]>]>>>;
1503
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1504
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1648
+ originalActionId: z.ZodOptional<z.ZodString>;
1505
1649
  }, {
1506
1650
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1507
1651
  }>, "strip", z.ZodTypeAny, {
@@ -1527,6 +1671,10 @@ export declare const EventDocument: z.ZodObject<{
1527
1671
  residentialArea?: string | null | undefined;
1528
1672
  street?: string | null | undefined;
1529
1673
  zipCode?: string | null | undefined;
1674
+ } | {
1675
+ firstname: string;
1676
+ surname: string;
1677
+ middlename?: string | null | undefined;
1530
1678
  } | {
1531
1679
  country: string;
1532
1680
  district: string;
@@ -1549,9 +1697,9 @@ export declare const EventDocument: z.ZodObject<{
1549
1697
  option: string;
1550
1698
  filename: string;
1551
1699
  originalFilename: string;
1552
- }[] | [string, string] | undefined>;
1700
+ }[] | [string, string] | null | undefined>;
1553
1701
  createdBySignature?: string | null | undefined;
1554
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1702
+ createdAtLocation?: string | null | undefined;
1555
1703
  annotation?: Record<string, string | number | boolean | {
1556
1704
  type: string;
1557
1705
  filename: string;
@@ -1567,6 +1715,10 @@ export declare const EventDocument: z.ZodObject<{
1567
1715
  residentialArea?: string | null | undefined;
1568
1716
  street?: string | null | undefined;
1569
1717
  zipCode?: string | null | undefined;
1718
+ } | {
1719
+ firstname: string;
1720
+ surname: string;
1721
+ middlename?: string | null | undefined;
1570
1722
  } | {
1571
1723
  country: string;
1572
1724
  district: string;
@@ -1589,8 +1741,8 @@ export declare const EventDocument: z.ZodObject<{
1589
1741
  option: string;
1590
1742
  filename: string;
1591
1743
  originalFilename: string;
1592
- }[] | [string, string] | undefined> | null | undefined;
1593
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1744
+ }[] | [string, string] | null | undefined> | undefined;
1745
+ originalActionId?: string | undefined;
1594
1746
  }, {
1595
1747
  type: "MARKED_AS_DUPLICATE";
1596
1748
  id: string;
@@ -1614,6 +1766,10 @@ export declare const EventDocument: z.ZodObject<{
1614
1766
  residentialArea?: string | null | undefined;
1615
1767
  street?: string | null | undefined;
1616
1768
  zipCode?: string | null | undefined;
1769
+ } | {
1770
+ firstname: string;
1771
+ surname: string;
1772
+ middlename?: string | null | undefined;
1617
1773
  } | {
1618
1774
  country: string;
1619
1775
  district: string;
@@ -1636,7 +1792,7 @@ export declare const EventDocument: z.ZodObject<{
1636
1792
  option: string;
1637
1793
  filename: string;
1638
1794
  originalFilename: string;
1639
- }[] | [string, string] | undefined>;
1795
+ }[] | [string, string] | null | undefined>;
1640
1796
  createdBySignature?: string | null | undefined;
1641
1797
  createdAtLocation?: string | null | undefined;
1642
1798
  annotation?: Record<string, string | number | boolean | {
@@ -1654,6 +1810,10 @@ export declare const EventDocument: z.ZodObject<{
1654
1810
  residentialArea?: string | null | undefined;
1655
1811
  street?: string | null | undefined;
1656
1812
  zipCode?: string | null | undefined;
1813
+ } | {
1814
+ firstname: string;
1815
+ surname: string;
1816
+ middlename?: string | null | undefined;
1657
1817
  } | {
1658
1818
  country: string;
1659
1819
  district: string;
@@ -1676,8 +1836,8 @@ export declare const EventDocument: z.ZodObject<{
1676
1836
  option: string;
1677
1837
  filename: string;
1678
1838
  originalFilename: string;
1679
- }[] | [string, string] | undefined> | null | undefined;
1680
- originalActionId?: string | null | undefined;
1839
+ }[] | [string, string] | null | undefined> | undefined;
1840
+ originalActionId?: string | undefined;
1681
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1682
1842
  id: z.ZodString;
1683
1843
  transactionId: z.ZodString;
@@ -1685,7 +1845,7 @@ export declare const EventDocument: z.ZodObject<{
1685
1845
  createdBy: z.ZodString;
1686
1846
  createdByRole: z.ZodString;
1687
1847
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1688
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1689
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<{
1690
1850
  filename: z.ZodString;
1691
1851
  originalFilename: z.ZodString;
@@ -1799,8 +1959,20 @@ export declare const EventDocument: z.ZodObject<{
1799
1959
  addressLine2?: string | null | undefined;
1800
1960
  addressLine3?: string | null | undefined;
1801
1961
  postcodeOrZip?: string | null | undefined;
1802
- }>]>>;
1803
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1804
1976
  filename: z.ZodString;
1805
1977
  originalFilename: z.ZodString;
1806
1978
  type: z.ZodString;
@@ -1913,9 +2085,21 @@ export declare const EventDocument: z.ZodObject<{
1913
2085
  addressLine2?: string | null | undefined;
1914
2086
  addressLine3?: string | null | undefined;
1915
2087
  postcodeOrZip?: string | null | undefined;
1916
- }>]>>>>;
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]>]>>>;
1917
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1918
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2102
+ originalActionId: z.ZodOptional<z.ZodString>;
1919
2103
  }, {
1920
2104
  type: z.ZodLiteral<"ARCHIVE">;
1921
2105
  reason: z.ZodObject<{
@@ -1955,6 +2139,10 @@ export declare const EventDocument: z.ZodObject<{
1955
2139
  residentialArea?: string | null | undefined;
1956
2140
  street?: string | null | undefined;
1957
2141
  zipCode?: string | null | undefined;
2142
+ } | {
2143
+ firstname: string;
2144
+ surname: string;
2145
+ middlename?: string | null | undefined;
1958
2146
  } | {
1959
2147
  country: string;
1960
2148
  district: string;
@@ -1977,9 +2165,9 @@ export declare const EventDocument: z.ZodObject<{
1977
2165
  option: string;
1978
2166
  filename: string;
1979
2167
  originalFilename: string;
1980
- }[] | [string, string] | undefined>;
2168
+ }[] | [string, string] | null | undefined>;
1981
2169
  createdBySignature?: string | null | undefined;
1982
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2170
+ createdAtLocation?: string | null | undefined;
1983
2171
  annotation?: Record<string, string | number | boolean | {
1984
2172
  type: string;
1985
2173
  filename: string;
@@ -1995,6 +2183,10 @@ export declare const EventDocument: z.ZodObject<{
1995
2183
  residentialArea?: string | null | undefined;
1996
2184
  street?: string | null | undefined;
1997
2185
  zipCode?: string | null | undefined;
2186
+ } | {
2187
+ firstname: string;
2188
+ surname: string;
2189
+ middlename?: string | null | undefined;
1998
2190
  } | {
1999
2191
  country: string;
2000
2192
  district: string;
@@ -2017,8 +2209,8 @@ export declare const EventDocument: z.ZodObject<{
2017
2209
  option: string;
2018
2210
  filename: string;
2019
2211
  originalFilename: string;
2020
- }[] | [string, string] | undefined> | null | undefined;
2021
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2212
+ }[] | [string, string] | null | undefined> | undefined;
2213
+ originalActionId?: string | undefined;
2022
2214
  }, {
2023
2215
  type: "ARCHIVE";
2024
2216
  id: string;
@@ -2046,6 +2238,10 @@ export declare const EventDocument: z.ZodObject<{
2046
2238
  residentialArea?: string | null | undefined;
2047
2239
  street?: string | null | undefined;
2048
2240
  zipCode?: string | null | undefined;
2241
+ } | {
2242
+ firstname: string;
2243
+ surname: string;
2244
+ middlename?: string | null | undefined;
2049
2245
  } | {
2050
2246
  country: string;
2051
2247
  district: string;
@@ -2068,7 +2264,7 @@ export declare const EventDocument: z.ZodObject<{
2068
2264
  option: string;
2069
2265
  filename: string;
2070
2266
  originalFilename: string;
2071
- }[] | [string, string] | undefined>;
2267
+ }[] | [string, string] | null | undefined>;
2072
2268
  createdBySignature?: string | null | undefined;
2073
2269
  createdAtLocation?: string | null | undefined;
2074
2270
  annotation?: Record<string, string | number | boolean | {
@@ -2086,6 +2282,10 @@ export declare const EventDocument: z.ZodObject<{
2086
2282
  residentialArea?: string | null | undefined;
2087
2283
  street?: string | null | undefined;
2088
2284
  zipCode?: string | null | undefined;
2285
+ } | {
2286
+ firstname: string;
2287
+ surname: string;
2288
+ middlename?: string | null | undefined;
2089
2289
  } | {
2090
2290
  country: string;
2091
2291
  district: string;
@@ -2108,8 +2308,8 @@ export declare const EventDocument: z.ZodObject<{
2108
2308
  option: string;
2109
2309
  filename: string;
2110
2310
  originalFilename: string;
2111
- }[] | [string, string] | undefined> | null | undefined;
2112
- originalActionId?: string | null | undefined;
2311
+ }[] | [string, string] | null | undefined> | undefined;
2312
+ originalActionId?: string | undefined;
2113
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2114
2314
  id: z.ZodString;
2115
2315
  transactionId: z.ZodString;
@@ -2117,7 +2317,7 @@ export declare const EventDocument: z.ZodObject<{
2117
2317
  createdBy: z.ZodString;
2118
2318
  createdByRole: z.ZodString;
2119
2319
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2120
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2121
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<{
2122
2322
  filename: z.ZodString;
2123
2323
  originalFilename: z.ZodString;
@@ -2231,8 +2431,20 @@ export declare const EventDocument: z.ZodObject<{
2231
2431
  addressLine2?: string | null | undefined;
2232
2432
  addressLine3?: string | null | undefined;
2233
2433
  postcodeOrZip?: string | null | undefined;
2234
- }>]>>;
2235
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2236
2448
  filename: z.ZodString;
2237
2449
  originalFilename: z.ZodString;
2238
2450
  type: z.ZodString;
@@ -2345,9 +2557,21 @@ export declare const EventDocument: z.ZodObject<{
2345
2557
  addressLine2?: string | null | undefined;
2346
2558
  addressLine3?: string | null | undefined;
2347
2559
  postcodeOrZip?: string | null | undefined;
2348
- }>]>>>>;
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]>]>>>;
2349
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2350
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2574
+ originalActionId: z.ZodOptional<z.ZodString>;
2351
2575
  }, {
2352
2576
  type: z.ZodLiteral<"NOTIFY">;
2353
2577
  }>, "strip", z.ZodTypeAny, {
@@ -2373,6 +2597,10 @@ export declare const EventDocument: z.ZodObject<{
2373
2597
  residentialArea?: string | null | undefined;
2374
2598
  street?: string | null | undefined;
2375
2599
  zipCode?: string | null | undefined;
2600
+ } | {
2601
+ firstname: string;
2602
+ surname: string;
2603
+ middlename?: string | null | undefined;
2376
2604
  } | {
2377
2605
  country: string;
2378
2606
  district: string;
@@ -2395,9 +2623,9 @@ export declare const EventDocument: z.ZodObject<{
2395
2623
  option: string;
2396
2624
  filename: string;
2397
2625
  originalFilename: string;
2398
- }[] | [string, string] | undefined>;
2626
+ }[] | [string, string] | null | undefined>;
2399
2627
  createdBySignature?: string | null | undefined;
2400
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2628
+ createdAtLocation?: string | null | undefined;
2401
2629
  annotation?: Record<string, string | number | boolean | {
2402
2630
  type: string;
2403
2631
  filename: string;
@@ -2413,6 +2641,10 @@ export declare const EventDocument: z.ZodObject<{
2413
2641
  residentialArea?: string | null | undefined;
2414
2642
  street?: string | null | undefined;
2415
2643
  zipCode?: string | null | undefined;
2644
+ } | {
2645
+ firstname: string;
2646
+ surname: string;
2647
+ middlename?: string | null | undefined;
2416
2648
  } | {
2417
2649
  country: string;
2418
2650
  district: string;
@@ -2435,8 +2667,8 @@ export declare const EventDocument: z.ZodObject<{
2435
2667
  option: string;
2436
2668
  filename: string;
2437
2669
  originalFilename: string;
2438
- }[] | [string, string] | undefined> | null | undefined;
2439
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2670
+ }[] | [string, string] | null | undefined> | undefined;
2671
+ originalActionId?: string | undefined;
2440
2672
  }, {
2441
2673
  type: "NOTIFY";
2442
2674
  id: string;
@@ -2460,6 +2692,10 @@ export declare const EventDocument: z.ZodObject<{
2460
2692
  residentialArea?: string | null | undefined;
2461
2693
  street?: string | null | undefined;
2462
2694
  zipCode?: string | null | undefined;
2695
+ } | {
2696
+ firstname: string;
2697
+ surname: string;
2698
+ middlename?: string | null | undefined;
2463
2699
  } | {
2464
2700
  country: string;
2465
2701
  district: string;
@@ -2482,7 +2718,7 @@ export declare const EventDocument: z.ZodObject<{
2482
2718
  option: string;
2483
2719
  filename: string;
2484
2720
  originalFilename: string;
2485
- }[] | [string, string] | undefined>;
2721
+ }[] | [string, string] | null | undefined>;
2486
2722
  createdBySignature?: string | null | undefined;
2487
2723
  createdAtLocation?: string | null | undefined;
2488
2724
  annotation?: Record<string, string | number | boolean | {
@@ -2500,6 +2736,10 @@ export declare const EventDocument: z.ZodObject<{
2500
2736
  residentialArea?: string | null | undefined;
2501
2737
  street?: string | null | undefined;
2502
2738
  zipCode?: string | null | undefined;
2739
+ } | {
2740
+ firstname: string;
2741
+ surname: string;
2742
+ middlename?: string | null | undefined;
2503
2743
  } | {
2504
2744
  country: string;
2505
2745
  district: string;
@@ -2522,8 +2762,8 @@ export declare const EventDocument: z.ZodObject<{
2522
2762
  option: string;
2523
2763
  filename: string;
2524
2764
  originalFilename: string;
2525
- }[] | [string, string] | undefined> | null | undefined;
2526
- originalActionId?: string | null | undefined;
2765
+ }[] | [string, string] | null | undefined> | undefined;
2766
+ originalActionId?: string | undefined;
2527
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2528
2768
  id: z.ZodString;
2529
2769
  transactionId: z.ZodString;
@@ -2531,7 +2771,7 @@ export declare const EventDocument: z.ZodObject<{
2531
2771
  createdBy: z.ZodString;
2532
2772
  createdByRole: z.ZodString;
2533
2773
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2534
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2535
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<{
2536
2776
  filename: z.ZodString;
2537
2777
  originalFilename: z.ZodString;
@@ -2645,8 +2885,20 @@ export declare const EventDocument: z.ZodObject<{
2645
2885
  addressLine2?: string | null | undefined;
2646
2886
  addressLine3?: string | null | undefined;
2647
2887
  postcodeOrZip?: string | null | undefined;
2648
- }>]>>;
2649
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2650
2902
  filename: z.ZodString;
2651
2903
  originalFilename: z.ZodString;
2652
2904
  type: z.ZodString;
@@ -2759,9 +3011,21 @@ export declare const EventDocument: z.ZodObject<{
2759
3011
  addressLine2?: string | null | undefined;
2760
3012
  addressLine3?: string | null | undefined;
2761
3013
  postcodeOrZip?: string | null | undefined;
2762
- }>]>>>>;
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]>]>>>;
2763
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2764
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3028
+ originalActionId: z.ZodOptional<z.ZodString>;
2765
3029
  }, {
2766
3030
  type: z.ZodLiteral<"REGISTER">;
2767
3031
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -2788,6 +3052,10 @@ export declare const EventDocument: z.ZodObject<{
2788
3052
  residentialArea?: string | null | undefined;
2789
3053
  street?: string | null | undefined;
2790
3054
  zipCode?: string | null | undefined;
3055
+ } | {
3056
+ firstname: string;
3057
+ surname: string;
3058
+ middlename?: string | null | undefined;
2791
3059
  } | {
2792
3060
  country: string;
2793
3061
  district: string;
@@ -2810,9 +3078,9 @@ export declare const EventDocument: z.ZodObject<{
2810
3078
  option: string;
2811
3079
  filename: string;
2812
3080
  originalFilename: string;
2813
- }[] | [string, string] | undefined>;
3081
+ }[] | [string, string] | null | undefined>;
2814
3082
  createdBySignature?: string | null | undefined;
2815
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3083
+ createdAtLocation?: string | null | undefined;
2816
3084
  annotation?: Record<string, string | number | boolean | {
2817
3085
  type: string;
2818
3086
  filename: string;
@@ -2828,6 +3096,10 @@ export declare const EventDocument: z.ZodObject<{
2828
3096
  residentialArea?: string | null | undefined;
2829
3097
  street?: string | null | undefined;
2830
3098
  zipCode?: string | null | undefined;
3099
+ } | {
3100
+ firstname: string;
3101
+ surname: string;
3102
+ middlename?: string | null | undefined;
2831
3103
  } | {
2832
3104
  country: string;
2833
3105
  district: string;
@@ -2850,8 +3122,8 @@ export declare const EventDocument: z.ZodObject<{
2850
3122
  option: string;
2851
3123
  filename: string;
2852
3124
  originalFilename: string;
2853
- }[] | [string, string] | undefined> | null | undefined;
2854
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3125
+ }[] | [string, string] | null | undefined> | undefined;
3126
+ originalActionId?: string | undefined;
2855
3127
  registrationNumber?: string | undefined;
2856
3128
  }, {
2857
3129
  type: "REGISTER";
@@ -2876,6 +3148,10 @@ export declare const EventDocument: z.ZodObject<{
2876
3148
  residentialArea?: string | null | undefined;
2877
3149
  street?: string | null | undefined;
2878
3150
  zipCode?: string | null | undefined;
3151
+ } | {
3152
+ firstname: string;
3153
+ surname: string;
3154
+ middlename?: string | null | undefined;
2879
3155
  } | {
2880
3156
  country: string;
2881
3157
  district: string;
@@ -2898,7 +3174,7 @@ export declare const EventDocument: z.ZodObject<{
2898
3174
  option: string;
2899
3175
  filename: string;
2900
3176
  originalFilename: string;
2901
- }[] | [string, string] | undefined>;
3177
+ }[] | [string, string] | null | undefined>;
2902
3178
  createdBySignature?: string | null | undefined;
2903
3179
  createdAtLocation?: string | null | undefined;
2904
3180
  annotation?: Record<string, string | number | boolean | {
@@ -2916,6 +3192,10 @@ export declare const EventDocument: z.ZodObject<{
2916
3192
  residentialArea?: string | null | undefined;
2917
3193
  street?: string | null | undefined;
2918
3194
  zipCode?: string | null | undefined;
3195
+ } | {
3196
+ firstname: string;
3197
+ surname: string;
3198
+ middlename?: string | null | undefined;
2919
3199
  } | {
2920
3200
  country: string;
2921
3201
  district: string;
@@ -2938,8 +3218,8 @@ export declare const EventDocument: z.ZodObject<{
2938
3218
  option: string;
2939
3219
  filename: string;
2940
3220
  originalFilename: string;
2941
- }[] | [string, string] | undefined> | null | undefined;
2942
- originalActionId?: string | null | undefined;
3221
+ }[] | [string, string] | null | undefined> | undefined;
3222
+ originalActionId?: string | undefined;
2943
3223
  registrationNumber?: string | undefined;
2944
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
2945
3225
  id: z.ZodString;
@@ -2948,7 +3228,7 @@ export declare const EventDocument: z.ZodObject<{
2948
3228
  createdBy: z.ZodString;
2949
3229
  createdByRole: z.ZodString;
2950
3230
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2951
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2952
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<{
2953
3233
  filename: z.ZodString;
2954
3234
  originalFilename: z.ZodString;
@@ -3062,8 +3342,20 @@ export declare const EventDocument: z.ZodObject<{
3062
3342
  addressLine2?: string | null | undefined;
3063
3343
  addressLine3?: string | null | undefined;
3064
3344
  postcodeOrZip?: string | null | undefined;
3065
- }>]>>;
3066
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3067
3359
  filename: z.ZodString;
3068
3360
  originalFilename: z.ZodString;
3069
3361
  type: z.ZodString;
@@ -3176,9 +3468,21 @@ export declare const EventDocument: z.ZodObject<{
3176
3468
  addressLine2?: string | null | undefined;
3177
3469
  addressLine3?: string | null | undefined;
3178
3470
  postcodeOrZip?: string | null | undefined;
3179
- }>]>>>>;
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]>]>>>;
3180
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3181
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3485
+ originalActionId: z.ZodOptional<z.ZodString>;
3182
3486
  }, {
3183
3487
  type: z.ZodLiteral<"DECLARE">;
3184
3488
  }>, "strip", z.ZodTypeAny, {
@@ -3204,6 +3508,10 @@ export declare const EventDocument: z.ZodObject<{
3204
3508
  residentialArea?: string | null | undefined;
3205
3509
  street?: string | null | undefined;
3206
3510
  zipCode?: string | null | undefined;
3511
+ } | {
3512
+ firstname: string;
3513
+ surname: string;
3514
+ middlename?: string | null | undefined;
3207
3515
  } | {
3208
3516
  country: string;
3209
3517
  district: string;
@@ -3226,9 +3534,9 @@ export declare const EventDocument: z.ZodObject<{
3226
3534
  option: string;
3227
3535
  filename: string;
3228
3536
  originalFilename: string;
3229
- }[] | [string, string] | undefined>;
3537
+ }[] | [string, string] | null | undefined>;
3230
3538
  createdBySignature?: string | null | undefined;
3231
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3539
+ createdAtLocation?: string | null | undefined;
3232
3540
  annotation?: Record<string, string | number | boolean | {
3233
3541
  type: string;
3234
3542
  filename: string;
@@ -3244,6 +3552,10 @@ export declare const EventDocument: z.ZodObject<{
3244
3552
  residentialArea?: string | null | undefined;
3245
3553
  street?: string | null | undefined;
3246
3554
  zipCode?: string | null | undefined;
3555
+ } | {
3556
+ firstname: string;
3557
+ surname: string;
3558
+ middlename?: string | null | undefined;
3247
3559
  } | {
3248
3560
  country: string;
3249
3561
  district: string;
@@ -3266,8 +3578,8 @@ export declare const EventDocument: z.ZodObject<{
3266
3578
  option: string;
3267
3579
  filename: string;
3268
3580
  originalFilename: string;
3269
- }[] | [string, string] | undefined> | null | undefined;
3270
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3581
+ }[] | [string, string] | null | undefined> | undefined;
3582
+ originalActionId?: string | undefined;
3271
3583
  }, {
3272
3584
  type: "DECLARE";
3273
3585
  id: string;
@@ -3291,6 +3603,10 @@ export declare const EventDocument: z.ZodObject<{
3291
3603
  residentialArea?: string | null | undefined;
3292
3604
  street?: string | null | undefined;
3293
3605
  zipCode?: string | null | undefined;
3606
+ } | {
3607
+ firstname: string;
3608
+ surname: string;
3609
+ middlename?: string | null | undefined;
3294
3610
  } | {
3295
3611
  country: string;
3296
3612
  district: string;
@@ -3313,7 +3629,7 @@ export declare const EventDocument: z.ZodObject<{
3313
3629
  option: string;
3314
3630
  filename: string;
3315
3631
  originalFilename: string;
3316
- }[] | [string, string] | undefined>;
3632
+ }[] | [string, string] | null | undefined>;
3317
3633
  createdBySignature?: string | null | undefined;
3318
3634
  createdAtLocation?: string | null | undefined;
3319
3635
  annotation?: Record<string, string | number | boolean | {
@@ -3331,6 +3647,10 @@ export declare const EventDocument: z.ZodObject<{
3331
3647
  residentialArea?: string | null | undefined;
3332
3648
  street?: string | null | undefined;
3333
3649
  zipCode?: string | null | undefined;
3650
+ } | {
3651
+ firstname: string;
3652
+ surname: string;
3653
+ middlename?: string | null | undefined;
3334
3654
  } | {
3335
3655
  country: string;
3336
3656
  district: string;
@@ -3353,8 +3673,8 @@ export declare const EventDocument: z.ZodObject<{
3353
3673
  option: string;
3354
3674
  filename: string;
3355
3675
  originalFilename: string;
3356
- }[] | [string, string] | undefined> | null | undefined;
3357
- originalActionId?: string | null | undefined;
3676
+ }[] | [string, string] | null | undefined> | undefined;
3677
+ originalActionId?: string | undefined;
3358
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3359
3679
  id: z.ZodString;
3360
3680
  transactionId: z.ZodString;
@@ -3362,7 +3682,7 @@ export declare const EventDocument: z.ZodObject<{
3362
3682
  createdBy: z.ZodString;
3363
3683
  createdByRole: z.ZodString;
3364
3684
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3366
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<{
3367
3687
  filename: z.ZodString;
3368
3688
  originalFilename: z.ZodString;
@@ -3476,8 +3796,20 @@ export declare const EventDocument: z.ZodObject<{
3476
3796
  addressLine2?: string | null | undefined;
3477
3797
  addressLine3?: string | null | undefined;
3478
3798
  postcodeOrZip?: string | null | undefined;
3479
- }>]>>;
3480
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3481
3813
  filename: z.ZodString;
3482
3814
  originalFilename: z.ZodString;
3483
3815
  type: z.ZodString;
@@ -3590,9 +3922,21 @@ export declare const EventDocument: z.ZodObject<{
3590
3922
  addressLine2?: string | null | undefined;
3591
3923
  addressLine3?: string | null | undefined;
3592
3924
  postcodeOrZip?: string | null | undefined;
3593
- }>]>>>>;
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]>]>>>;
3594
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3595
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3939
+ originalActionId: z.ZodOptional<z.ZodString>;
3596
3940
  }, {
3597
3941
  type: z.ZodLiteral<"ASSIGN">;
3598
3942
  assignedTo: z.ZodString;
@@ -3619,6 +3963,10 @@ export declare const EventDocument: z.ZodObject<{
3619
3963
  residentialArea?: string | null | undefined;
3620
3964
  street?: string | null | undefined;
3621
3965
  zipCode?: string | null | undefined;
3966
+ } | {
3967
+ firstname: string;
3968
+ surname: string;
3969
+ middlename?: string | null | undefined;
3622
3970
  } | {
3623
3971
  country: string;
3624
3972
  district: string;
@@ -3641,10 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3641
3989
  option: string;
3642
3990
  filename: string;
3643
3991
  originalFilename: string;
3644
- }[] | [string, string] | undefined>;
3992
+ }[] | [string, string] | null | undefined>;
3645
3993
  assignedTo: string;
3646
3994
  createdBySignature?: string | null | undefined;
3647
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3995
+ createdAtLocation?: string | null | undefined;
3648
3996
  annotation?: Record<string, string | number | boolean | {
3649
3997
  type: string;
3650
3998
  filename: string;
@@ -3660,6 +4008,10 @@ export declare const EventDocument: z.ZodObject<{
3660
4008
  residentialArea?: string | null | undefined;
3661
4009
  street?: string | null | undefined;
3662
4010
  zipCode?: string | null | undefined;
4011
+ } | {
4012
+ firstname: string;
4013
+ surname: string;
4014
+ middlename?: string | null | undefined;
3663
4015
  } | {
3664
4016
  country: string;
3665
4017
  district: string;
@@ -3682,8 +4034,8 @@ export declare const EventDocument: z.ZodObject<{
3682
4034
  option: string;
3683
4035
  filename: string;
3684
4036
  originalFilename: string;
3685
- }[] | [string, string] | undefined> | null | undefined;
3686
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4037
+ }[] | [string, string] | null | undefined> | undefined;
4038
+ originalActionId?: string | undefined;
3687
4039
  }, {
3688
4040
  type: "ASSIGN";
3689
4041
  id: string;
@@ -3707,6 +4059,10 @@ export declare const EventDocument: z.ZodObject<{
3707
4059
  residentialArea?: string | null | undefined;
3708
4060
  street?: string | null | undefined;
3709
4061
  zipCode?: string | null | undefined;
4062
+ } | {
4063
+ firstname: string;
4064
+ surname: string;
4065
+ middlename?: string | null | undefined;
3710
4066
  } | {
3711
4067
  country: string;
3712
4068
  district: string;
@@ -3729,7 +4085,7 @@ export declare const EventDocument: z.ZodObject<{
3729
4085
  option: string;
3730
4086
  filename: string;
3731
4087
  originalFilename: string;
3732
- }[] | [string, string] | undefined>;
4088
+ }[] | [string, string] | null | undefined>;
3733
4089
  assignedTo: string;
3734
4090
  createdBySignature?: string | null | undefined;
3735
4091
  createdAtLocation?: string | null | undefined;
@@ -3748,6 +4104,10 @@ export declare const EventDocument: z.ZodObject<{
3748
4104
  residentialArea?: string | null | undefined;
3749
4105
  street?: string | null | undefined;
3750
4106
  zipCode?: string | null | undefined;
4107
+ } | {
4108
+ firstname: string;
4109
+ surname: string;
4110
+ middlename?: string | null | undefined;
3751
4111
  } | {
3752
4112
  country: string;
3753
4113
  district: string;
@@ -3770,8 +4130,8 @@ export declare const EventDocument: z.ZodObject<{
3770
4130
  option: string;
3771
4131
  filename: string;
3772
4132
  originalFilename: string;
3773
- }[] | [string, string] | undefined> | null | undefined;
3774
- originalActionId?: string | null | undefined;
4133
+ }[] | [string, string] | null | undefined> | undefined;
4134
+ originalActionId?: string | undefined;
3775
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
3776
4136
  id: z.ZodString;
3777
4137
  transactionId: z.ZodString;
@@ -3779,7 +4139,7 @@ export declare const EventDocument: z.ZodObject<{
3779
4139
  createdBy: z.ZodString;
3780
4140
  createdByRole: z.ZodString;
3781
4141
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3782
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3783
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<{
3784
4144
  filename: z.ZodString;
3785
4145
  originalFilename: z.ZodString;
@@ -3893,8 +4253,20 @@ export declare const EventDocument: z.ZodObject<{
3893
4253
  addressLine2?: string | null | undefined;
3894
4254
  addressLine3?: string | null | undefined;
3895
4255
  postcodeOrZip?: string | null | undefined;
3896
- }>]>>;
3897
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3898
4270
  filename: z.ZodString;
3899
4271
  originalFilename: z.ZodString;
3900
4272
  type: z.ZodString;
@@ -4007,9 +4379,21 @@ export declare const EventDocument: z.ZodObject<{
4007
4379
  addressLine2?: string | null | undefined;
4008
4380
  addressLine3?: string | null | undefined;
4009
4381
  postcodeOrZip?: string | null | undefined;
4010
- }>]>>>>;
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]>]>>>;
4011
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4012
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4396
+ originalActionId: z.ZodOptional<z.ZodString>;
4013
4397
  }, {
4014
4398
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4015
4399
  }>, "strip", z.ZodTypeAny, {
@@ -4035,6 +4419,10 @@ export declare const EventDocument: z.ZodObject<{
4035
4419
  residentialArea?: string | null | undefined;
4036
4420
  street?: string | null | undefined;
4037
4421
  zipCode?: string | null | undefined;
4422
+ } | {
4423
+ firstname: string;
4424
+ surname: string;
4425
+ middlename?: string | null | undefined;
4038
4426
  } | {
4039
4427
  country: string;
4040
4428
  district: string;
@@ -4057,9 +4445,9 @@ export declare const EventDocument: z.ZodObject<{
4057
4445
  option: string;
4058
4446
  filename: string;
4059
4447
  originalFilename: string;
4060
- }[] | [string, string] | undefined>;
4448
+ }[] | [string, string] | null | undefined>;
4061
4449
  createdBySignature?: string | null | undefined;
4062
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4450
+ createdAtLocation?: string | null | undefined;
4063
4451
  annotation?: Record<string, string | number | boolean | {
4064
4452
  type: string;
4065
4453
  filename: string;
@@ -4075,6 +4463,10 @@ export declare const EventDocument: z.ZodObject<{
4075
4463
  residentialArea?: string | null | undefined;
4076
4464
  street?: string | null | undefined;
4077
4465
  zipCode?: string | null | undefined;
4466
+ } | {
4467
+ firstname: string;
4468
+ surname: string;
4469
+ middlename?: string | null | undefined;
4078
4470
  } | {
4079
4471
  country: string;
4080
4472
  district: string;
@@ -4097,8 +4489,8 @@ export declare const EventDocument: z.ZodObject<{
4097
4489
  option: string;
4098
4490
  filename: string;
4099
4491
  originalFilename: string;
4100
- }[] | [string, string] | undefined> | null | undefined;
4101
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4492
+ }[] | [string, string] | null | undefined> | undefined;
4493
+ originalActionId?: string | undefined;
4102
4494
  }, {
4103
4495
  type: "REQUEST_CORRECTION";
4104
4496
  id: string;
@@ -4122,6 +4514,10 @@ export declare const EventDocument: z.ZodObject<{
4122
4514
  residentialArea?: string | null | undefined;
4123
4515
  street?: string | null | undefined;
4124
4516
  zipCode?: string | null | undefined;
4517
+ } | {
4518
+ firstname: string;
4519
+ surname: string;
4520
+ middlename?: string | null | undefined;
4125
4521
  } | {
4126
4522
  country: string;
4127
4523
  district: string;
@@ -4144,7 +4540,7 @@ export declare const EventDocument: z.ZodObject<{
4144
4540
  option: string;
4145
4541
  filename: string;
4146
4542
  originalFilename: string;
4147
- }[] | [string, string] | undefined>;
4543
+ }[] | [string, string] | null | undefined>;
4148
4544
  createdBySignature?: string | null | undefined;
4149
4545
  createdAtLocation?: string | null | undefined;
4150
4546
  annotation?: Record<string, string | number | boolean | {
@@ -4162,6 +4558,10 @@ export declare const EventDocument: z.ZodObject<{
4162
4558
  residentialArea?: string | null | undefined;
4163
4559
  street?: string | null | undefined;
4164
4560
  zipCode?: string | null | undefined;
4561
+ } | {
4562
+ firstname: string;
4563
+ surname: string;
4564
+ middlename?: string | null | undefined;
4165
4565
  } | {
4166
4566
  country: string;
4167
4567
  district: string;
@@ -4184,8 +4584,8 @@ export declare const EventDocument: z.ZodObject<{
4184
4584
  option: string;
4185
4585
  filename: string;
4186
4586
  originalFilename: string;
4187
- }[] | [string, string] | undefined> | null | undefined;
4188
- originalActionId?: string | null | undefined;
4587
+ }[] | [string, string] | null | undefined> | undefined;
4588
+ originalActionId?: string | undefined;
4189
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4190
4590
  id: z.ZodString;
4191
4591
  transactionId: z.ZodString;
@@ -4193,7 +4593,7 @@ export declare const EventDocument: z.ZodObject<{
4193
4593
  createdBy: z.ZodString;
4194
4594
  createdByRole: z.ZodString;
4195
4595
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4196
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4197
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<{
4198
4598
  filename: z.ZodString;
4199
4599
  originalFilename: z.ZodString;
@@ -4307,8 +4707,20 @@ export declare const EventDocument: z.ZodObject<{
4307
4707
  addressLine2?: string | null | undefined;
4308
4708
  addressLine3?: string | null | undefined;
4309
4709
  postcodeOrZip?: string | null | undefined;
4310
- }>]>>;
4311
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4312
4724
  filename: z.ZodString;
4313
4725
  originalFilename: z.ZodString;
4314
4726
  type: z.ZodString;
@@ -4421,9 +4833,21 @@ export declare const EventDocument: z.ZodObject<{
4421
4833
  addressLine2?: string | null | undefined;
4422
4834
  addressLine3?: string | null | undefined;
4423
4835
  postcodeOrZip?: string | null | undefined;
4424
- }>]>>>>;
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]>]>>>;
4425
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4426
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4850
+ originalActionId: z.ZodOptional<z.ZodString>;
4427
4851
  }, {
4428
4852
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4429
4853
  requestId: z.ZodString;
@@ -4450,6 +4874,10 @@ export declare const EventDocument: z.ZodObject<{
4450
4874
  residentialArea?: string | null | undefined;
4451
4875
  street?: string | null | undefined;
4452
4876
  zipCode?: string | null | undefined;
4877
+ } | {
4878
+ firstname: string;
4879
+ surname: string;
4880
+ middlename?: string | null | undefined;
4453
4881
  } | {
4454
4882
  country: string;
4455
4883
  district: string;
@@ -4472,10 +4900,10 @@ export declare const EventDocument: z.ZodObject<{
4472
4900
  option: string;
4473
4901
  filename: string;
4474
4902
  originalFilename: string;
4475
- }[] | [string, string] | undefined>;
4903
+ }[] | [string, string] | null | undefined>;
4476
4904
  requestId: string;
4477
4905
  createdBySignature?: string | null | undefined;
4478
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4906
+ createdAtLocation?: string | null | undefined;
4479
4907
  annotation?: Record<string, string | number | boolean | {
4480
4908
  type: string;
4481
4909
  filename: string;
@@ -4491,6 +4919,10 @@ export declare const EventDocument: z.ZodObject<{
4491
4919
  residentialArea?: string | null | undefined;
4492
4920
  street?: string | null | undefined;
4493
4921
  zipCode?: string | null | undefined;
4922
+ } | {
4923
+ firstname: string;
4924
+ surname: string;
4925
+ middlename?: string | null | undefined;
4494
4926
  } | {
4495
4927
  country: string;
4496
4928
  district: string;
@@ -4513,8 +4945,8 @@ export declare const EventDocument: z.ZodObject<{
4513
4945
  option: string;
4514
4946
  filename: string;
4515
4947
  originalFilename: string;
4516
- }[] | [string, string] | undefined> | null | undefined;
4517
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4948
+ }[] | [string, string] | null | undefined> | undefined;
4949
+ originalActionId?: string | undefined;
4518
4950
  }, {
4519
4951
  type: "APPROVE_CORRECTION";
4520
4952
  id: string;
@@ -4538,6 +4970,10 @@ export declare const EventDocument: z.ZodObject<{
4538
4970
  residentialArea?: string | null | undefined;
4539
4971
  street?: string | null | undefined;
4540
4972
  zipCode?: string | null | undefined;
4973
+ } | {
4974
+ firstname: string;
4975
+ surname: string;
4976
+ middlename?: string | null | undefined;
4541
4977
  } | {
4542
4978
  country: string;
4543
4979
  district: string;
@@ -4560,7 +4996,7 @@ export declare const EventDocument: z.ZodObject<{
4560
4996
  option: string;
4561
4997
  filename: string;
4562
4998
  originalFilename: string;
4563
- }[] | [string, string] | undefined>;
4999
+ }[] | [string, string] | null | undefined>;
4564
5000
  requestId: string;
4565
5001
  createdBySignature?: string | null | undefined;
4566
5002
  createdAtLocation?: string | null | undefined;
@@ -4579,6 +5015,10 @@ export declare const EventDocument: z.ZodObject<{
4579
5015
  residentialArea?: string | null | undefined;
4580
5016
  street?: string | null | undefined;
4581
5017
  zipCode?: string | null | undefined;
5018
+ } | {
5019
+ firstname: string;
5020
+ surname: string;
5021
+ middlename?: string | null | undefined;
4582
5022
  } | {
4583
5023
  country: string;
4584
5024
  district: string;
@@ -4601,8 +5041,8 @@ export declare const EventDocument: z.ZodObject<{
4601
5041
  option: string;
4602
5042
  filename: string;
4603
5043
  originalFilename: string;
4604
- }[] | [string, string] | undefined> | null | undefined;
4605
- originalActionId?: string | null | undefined;
5044
+ }[] | [string, string] | null | undefined> | undefined;
5045
+ originalActionId?: string | undefined;
4606
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
4607
5047
  id: z.ZodString;
4608
5048
  transactionId: z.ZodString;
@@ -4610,7 +5050,7 @@ export declare const EventDocument: z.ZodObject<{
4610
5050
  createdBy: z.ZodString;
4611
5051
  createdByRole: z.ZodString;
4612
5052
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4613
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4614
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<{
4615
5055
  filename: z.ZodString;
4616
5056
  originalFilename: z.ZodString;
@@ -4724,8 +5164,20 @@ export declare const EventDocument: z.ZodObject<{
4724
5164
  addressLine2?: string | null | undefined;
4725
5165
  addressLine3?: string | null | undefined;
4726
5166
  postcodeOrZip?: string | null | undefined;
4727
- }>]>>;
4728
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4729
5181
  filename: z.ZodString;
4730
5182
  originalFilename: z.ZodString;
4731
5183
  type: z.ZodString;
@@ -4838,9 +5290,21 @@ export declare const EventDocument: z.ZodObject<{
4838
5290
  addressLine2?: string | null | undefined;
4839
5291
  addressLine3?: string | null | undefined;
4840
5292
  postcodeOrZip?: string | null | undefined;
4841
- }>]>>>>;
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]>]>>>;
4842
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4843
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5307
+ originalActionId: z.ZodOptional<z.ZodString>;
4844
5308
  }, {
4845
5309
  type: z.ZodLiteral<"REJECT_CORRECTION">;
4846
5310
  requestId: z.ZodString;
@@ -4867,6 +5331,10 @@ export declare const EventDocument: z.ZodObject<{
4867
5331
  residentialArea?: string | null | undefined;
4868
5332
  street?: string | null | undefined;
4869
5333
  zipCode?: string | null | undefined;
5334
+ } | {
5335
+ firstname: string;
5336
+ surname: string;
5337
+ middlename?: string | null | undefined;
4870
5338
  } | {
4871
5339
  country: string;
4872
5340
  district: string;
@@ -4889,10 +5357,10 @@ export declare const EventDocument: z.ZodObject<{
4889
5357
  option: string;
4890
5358
  filename: string;
4891
5359
  originalFilename: string;
4892
- }[] | [string, string] | undefined>;
5360
+ }[] | [string, string] | null | undefined>;
4893
5361
  requestId: string;
4894
5362
  createdBySignature?: string | null | undefined;
4895
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5363
+ createdAtLocation?: string | null | undefined;
4896
5364
  annotation?: Record<string, string | number | boolean | {
4897
5365
  type: string;
4898
5366
  filename: string;
@@ -4908,6 +5376,10 @@ export declare const EventDocument: z.ZodObject<{
4908
5376
  residentialArea?: string | null | undefined;
4909
5377
  street?: string | null | undefined;
4910
5378
  zipCode?: string | null | undefined;
5379
+ } | {
5380
+ firstname: string;
5381
+ surname: string;
5382
+ middlename?: string | null | undefined;
4911
5383
  } | {
4912
5384
  country: string;
4913
5385
  district: string;
@@ -4930,8 +5402,8 @@ export declare const EventDocument: z.ZodObject<{
4930
5402
  option: string;
4931
5403
  filename: string;
4932
5404
  originalFilename: string;
4933
- }[] | [string, string] | undefined> | null | undefined;
4934
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5405
+ }[] | [string, string] | null | undefined> | undefined;
5406
+ originalActionId?: string | undefined;
4935
5407
  }, {
4936
5408
  type: "REJECT_CORRECTION";
4937
5409
  id: string;
@@ -4955,6 +5427,10 @@ export declare const EventDocument: z.ZodObject<{
4955
5427
  residentialArea?: string | null | undefined;
4956
5428
  street?: string | null | undefined;
4957
5429
  zipCode?: string | null | undefined;
5430
+ } | {
5431
+ firstname: string;
5432
+ surname: string;
5433
+ middlename?: string | null | undefined;
4958
5434
  } | {
4959
5435
  country: string;
4960
5436
  district: string;
@@ -4977,7 +5453,7 @@ export declare const EventDocument: z.ZodObject<{
4977
5453
  option: string;
4978
5454
  filename: string;
4979
5455
  originalFilename: string;
4980
- }[] | [string, string] | undefined>;
5456
+ }[] | [string, string] | null | undefined>;
4981
5457
  requestId: string;
4982
5458
  createdBySignature?: string | null | undefined;
4983
5459
  createdAtLocation?: string | null | undefined;
@@ -4996,6 +5472,10 @@ export declare const EventDocument: z.ZodObject<{
4996
5472
  residentialArea?: string | null | undefined;
4997
5473
  street?: string | null | undefined;
4998
5474
  zipCode?: string | null | undefined;
5475
+ } | {
5476
+ firstname: string;
5477
+ surname: string;
5478
+ middlename?: string | null | undefined;
4999
5479
  } | {
5000
5480
  country: string;
5001
5481
  district: string;
@@ -5018,8 +5498,8 @@ export declare const EventDocument: z.ZodObject<{
5018
5498
  option: string;
5019
5499
  filename: string;
5020
5500
  originalFilename: string;
5021
- }[] | [string, string] | undefined> | null | undefined;
5022
- originalActionId?: string | null | undefined;
5501
+ }[] | [string, string] | null | undefined> | undefined;
5502
+ originalActionId?: string | undefined;
5023
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
5024
5504
  id: z.ZodString;
5025
5505
  transactionId: z.ZodString;
@@ -5027,7 +5507,7 @@ export declare const EventDocument: z.ZodObject<{
5027
5507
  createdBy: z.ZodString;
5028
5508
  createdByRole: z.ZodString;
5029
5509
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5030
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5031
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<{
5032
5512
  filename: z.ZodString;
5033
5513
  originalFilename: z.ZodString;
@@ -5141,8 +5621,20 @@ export declare const EventDocument: z.ZodObject<{
5141
5621
  addressLine2?: string | null | undefined;
5142
5622
  addressLine3?: string | null | undefined;
5143
5623
  postcodeOrZip?: string | null | undefined;
5144
- }>]>>;
5145
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5146
5638
  filename: z.ZodString;
5147
5639
  originalFilename: z.ZodString;
5148
5640
  type: z.ZodString;
@@ -5255,9 +5747,21 @@ export declare const EventDocument: z.ZodObject<{
5255
5747
  addressLine2?: string | null | undefined;
5256
5748
  addressLine3?: string | null | undefined;
5257
5749
  postcodeOrZip?: string | null | undefined;
5258
- }>]>>>>;
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]>]>>>;
5259
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5260
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5764
+ originalActionId: z.ZodOptional<z.ZodString>;
5261
5765
  }, {
5262
5766
  type: z.ZodLiteral<"UNASSIGN">;
5263
5767
  assignedTo: z.ZodLiteral<null>;
@@ -5284,6 +5788,10 @@ export declare const EventDocument: z.ZodObject<{
5284
5788
  residentialArea?: string | null | undefined;
5285
5789
  street?: string | null | undefined;
5286
5790
  zipCode?: string | null | undefined;
5791
+ } | {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5287
5795
  } | {
5288
5796
  country: string;
5289
5797
  district: string;
@@ -5306,10 +5814,10 @@ export declare const EventDocument: z.ZodObject<{
5306
5814
  option: string;
5307
5815
  filename: string;
5308
5816
  originalFilename: string;
5309
- }[] | [string, string] | undefined>;
5817
+ }[] | [string, string] | null | undefined>;
5310
5818
  assignedTo: null;
5311
5819
  createdBySignature?: string | null | undefined;
5312
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5820
+ createdAtLocation?: string | null | undefined;
5313
5821
  annotation?: Record<string, string | number | boolean | {
5314
5822
  type: string;
5315
5823
  filename: string;
@@ -5325,6 +5833,10 @@ export declare const EventDocument: z.ZodObject<{
5325
5833
  residentialArea?: string | null | undefined;
5326
5834
  street?: string | null | undefined;
5327
5835
  zipCode?: string | null | undefined;
5836
+ } | {
5837
+ firstname: string;
5838
+ surname: string;
5839
+ middlename?: string | null | undefined;
5328
5840
  } | {
5329
5841
  country: string;
5330
5842
  district: string;
@@ -5347,8 +5859,8 @@ export declare const EventDocument: z.ZodObject<{
5347
5859
  option: string;
5348
5860
  filename: string;
5349
5861
  originalFilename: string;
5350
- }[] | [string, string] | undefined> | null | undefined;
5351
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5862
+ }[] | [string, string] | null | undefined> | undefined;
5863
+ originalActionId?: string | undefined;
5352
5864
  }, {
5353
5865
  type: "UNASSIGN";
5354
5866
  id: string;
@@ -5372,6 +5884,10 @@ export declare const EventDocument: z.ZodObject<{
5372
5884
  residentialArea?: string | null | undefined;
5373
5885
  street?: string | null | undefined;
5374
5886
  zipCode?: string | null | undefined;
5887
+ } | {
5888
+ firstname: string;
5889
+ surname: string;
5890
+ middlename?: string | null | undefined;
5375
5891
  } | {
5376
5892
  country: string;
5377
5893
  district: string;
@@ -5394,7 +5910,7 @@ export declare const EventDocument: z.ZodObject<{
5394
5910
  option: string;
5395
5911
  filename: string;
5396
5912
  originalFilename: string;
5397
- }[] | [string, string] | undefined>;
5913
+ }[] | [string, string] | null | undefined>;
5398
5914
  assignedTo: null;
5399
5915
  createdBySignature?: string | null | undefined;
5400
5916
  createdAtLocation?: string | null | undefined;
@@ -5413,6 +5929,10 @@ export declare const EventDocument: z.ZodObject<{
5413
5929
  residentialArea?: string | null | undefined;
5414
5930
  street?: string | null | undefined;
5415
5931
  zipCode?: string | null | undefined;
5932
+ } | {
5933
+ firstname: string;
5934
+ surname: string;
5935
+ middlename?: string | null | undefined;
5416
5936
  } | {
5417
5937
  country: string;
5418
5938
  district: string;
@@ -5435,8 +5955,8 @@ export declare const EventDocument: z.ZodObject<{
5435
5955
  option: string;
5436
5956
  filename: string;
5437
5957
  originalFilename: string;
5438
- }[] | [string, string] | undefined> | null | undefined;
5439
- originalActionId?: string | null | undefined;
5958
+ }[] | [string, string] | null | undefined> | undefined;
5959
+ originalActionId?: string | undefined;
5440
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5441
5961
  id: z.ZodString;
5442
5962
  transactionId: z.ZodString;
@@ -5444,7 +5964,7 @@ export declare const EventDocument: z.ZodObject<{
5444
5964
  createdBy: z.ZodString;
5445
5965
  createdByRole: z.ZodString;
5446
5966
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5447
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5448
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<{
5449
5969
  filename: z.ZodString;
5450
5970
  originalFilename: z.ZodString;
@@ -5558,8 +6078,20 @@ export declare const EventDocument: z.ZodObject<{
5558
6078
  addressLine2?: string | null | undefined;
5559
6079
  addressLine3?: string | null | undefined;
5560
6080
  postcodeOrZip?: string | null | undefined;
5561
- }>]>>;
5562
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5563
6095
  filename: z.ZodString;
5564
6096
  originalFilename: z.ZodString;
5565
6097
  type: z.ZodString;
@@ -5672,9 +6204,21 @@ export declare const EventDocument: z.ZodObject<{
5672
6204
  addressLine2?: string | null | undefined;
5673
6205
  addressLine3?: string | null | undefined;
5674
6206
  postcodeOrZip?: string | null | undefined;
5675
- }>]>>>>;
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]>]>>>;
5676
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5677
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6221
+ originalActionId: z.ZodOptional<z.ZodString>;
5678
6222
  }, {
5679
6223
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
5680
6224
  }>, "strip", z.ZodTypeAny, {
@@ -5700,6 +6244,10 @@ export declare const EventDocument: z.ZodObject<{
5700
6244
  residentialArea?: string | null | undefined;
5701
6245
  street?: string | null | undefined;
5702
6246
  zipCode?: string | null | undefined;
6247
+ } | {
6248
+ firstname: string;
6249
+ surname: string;
6250
+ middlename?: string | null | undefined;
5703
6251
  } | {
5704
6252
  country: string;
5705
6253
  district: string;
@@ -5722,9 +6270,9 @@ export declare const EventDocument: z.ZodObject<{
5722
6270
  option: string;
5723
6271
  filename: string;
5724
6272
  originalFilename: string;
5725
- }[] | [string, string] | undefined>;
6273
+ }[] | [string, string] | null | undefined>;
5726
6274
  createdBySignature?: string | null | undefined;
5727
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6275
+ createdAtLocation?: string | null | undefined;
5728
6276
  annotation?: Record<string, string | number | boolean | {
5729
6277
  type: string;
5730
6278
  filename: string;
@@ -5740,6 +6288,10 @@ export declare const EventDocument: z.ZodObject<{
5740
6288
  residentialArea?: string | null | undefined;
5741
6289
  street?: string | null | undefined;
5742
6290
  zipCode?: string | null | undefined;
6291
+ } | {
6292
+ firstname: string;
6293
+ surname: string;
6294
+ middlename?: string | null | undefined;
5743
6295
  } | {
5744
6296
  country: string;
5745
6297
  district: string;
@@ -5762,8 +6314,8 @@ export declare const EventDocument: z.ZodObject<{
5762
6314
  option: string;
5763
6315
  filename: string;
5764
6316
  originalFilename: string;
5765
- }[] | [string, string] | undefined> | null | undefined;
5766
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6317
+ }[] | [string, string] | null | undefined> | undefined;
6318
+ originalActionId?: string | undefined;
5767
6319
  }, {
5768
6320
  type: "PRINT_CERTIFICATE";
5769
6321
  id: string;
@@ -5787,6 +6339,10 @@ export declare const EventDocument: z.ZodObject<{
5787
6339
  residentialArea?: string | null | undefined;
5788
6340
  street?: string | null | undefined;
5789
6341
  zipCode?: string | null | undefined;
6342
+ } | {
6343
+ firstname: string;
6344
+ surname: string;
6345
+ middlename?: string | null | undefined;
5790
6346
  } | {
5791
6347
  country: string;
5792
6348
  district: string;
@@ -5809,7 +6365,7 @@ export declare const EventDocument: z.ZodObject<{
5809
6365
  option: string;
5810
6366
  filename: string;
5811
6367
  originalFilename: string;
5812
- }[] | [string, string] | undefined>;
6368
+ }[] | [string, string] | null | undefined>;
5813
6369
  createdBySignature?: string | null | undefined;
5814
6370
  createdAtLocation?: string | null | undefined;
5815
6371
  annotation?: Record<string, string | number | boolean | {
@@ -5827,6 +6383,10 @@ export declare const EventDocument: z.ZodObject<{
5827
6383
  residentialArea?: string | null | undefined;
5828
6384
  street?: string | null | undefined;
5829
6385
  zipCode?: string | null | undefined;
6386
+ } | {
6387
+ firstname: string;
6388
+ surname: string;
6389
+ middlename?: string | null | undefined;
5830
6390
  } | {
5831
6391
  country: string;
5832
6392
  district: string;
@@ -5849,8 +6409,8 @@ export declare const EventDocument: z.ZodObject<{
5849
6409
  option: string;
5850
6410
  filename: string;
5851
6411
  originalFilename: string;
5852
- }[] | [string, string] | undefined> | null | undefined;
5853
- originalActionId?: string | null | undefined;
6412
+ }[] | [string, string] | null | undefined> | undefined;
6413
+ originalActionId?: string | undefined;
5854
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
5855
6415
  id: z.ZodString;
5856
6416
  transactionId: z.ZodString;
@@ -5858,7 +6418,7 @@ export declare const EventDocument: z.ZodObject<{
5858
6418
  createdBy: z.ZodString;
5859
6419
  createdByRole: z.ZodString;
5860
6420
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5862
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<{
5863
6423
  filename: z.ZodString;
5864
6424
  originalFilename: z.ZodString;
@@ -5972,8 +6532,20 @@ export declare const EventDocument: z.ZodObject<{
5972
6532
  addressLine2?: string | null | undefined;
5973
6533
  addressLine3?: string | null | undefined;
5974
6534
  postcodeOrZip?: string | null | undefined;
5975
- }>]>>;
5976
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5977
6549
  filename: z.ZodString;
5978
6550
  originalFilename: z.ZodString;
5979
6551
  type: z.ZodString;
@@ -6086,9 +6658,21 @@ export declare const EventDocument: z.ZodObject<{
6086
6658
  addressLine2?: string | null | undefined;
6087
6659
  addressLine3?: string | null | undefined;
6088
6660
  postcodeOrZip?: string | null | undefined;
6089
- }>]>>>>;
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]>]>>>;
6090
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6091
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6675
+ originalActionId: z.ZodOptional<z.ZodString>;
6092
6676
  }, {
6093
6677
  type: z.ZodLiteral<"READ">;
6094
6678
  }>, "strip", z.ZodTypeAny, {
@@ -6114,6 +6698,10 @@ export declare const EventDocument: z.ZodObject<{
6114
6698
  residentialArea?: string | null | undefined;
6115
6699
  street?: string | null | undefined;
6116
6700
  zipCode?: string | null | undefined;
6701
+ } | {
6702
+ firstname: string;
6703
+ surname: string;
6704
+ middlename?: string | null | undefined;
6117
6705
  } | {
6118
6706
  country: string;
6119
6707
  district: string;
@@ -6136,9 +6724,9 @@ export declare const EventDocument: z.ZodObject<{
6136
6724
  option: string;
6137
6725
  filename: string;
6138
6726
  originalFilename: string;
6139
- }[] | [string, string] | undefined>;
6727
+ }[] | [string, string] | null | undefined>;
6140
6728
  createdBySignature?: string | null | undefined;
6141
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6729
+ createdAtLocation?: string | null | undefined;
6142
6730
  annotation?: Record<string, string | number | boolean | {
6143
6731
  type: string;
6144
6732
  filename: string;
@@ -6154,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
6154
6742
  residentialArea?: string | null | undefined;
6155
6743
  street?: string | null | undefined;
6156
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
6157
6749
  } | {
6158
6750
  country: string;
6159
6751
  district: string;
@@ -6176,8 +6768,8 @@ export declare const EventDocument: z.ZodObject<{
6176
6768
  option: string;
6177
6769
  filename: string;
6178
6770
  originalFilename: string;
6179
- }[] | [string, string] | undefined> | null | undefined;
6180
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6771
+ }[] | [string, string] | null | undefined> | undefined;
6772
+ originalActionId?: string | undefined;
6181
6773
  }, {
6182
6774
  type: "READ";
6183
6775
  id: string;
@@ -6201,6 +6793,10 @@ export declare const EventDocument: z.ZodObject<{
6201
6793
  residentialArea?: string | null | undefined;
6202
6794
  street?: string | null | undefined;
6203
6795
  zipCode?: string | null | undefined;
6796
+ } | {
6797
+ firstname: string;
6798
+ surname: string;
6799
+ middlename?: string | null | undefined;
6204
6800
  } | {
6205
6801
  country: string;
6206
6802
  district: string;
@@ -6223,7 +6819,7 @@ export declare const EventDocument: z.ZodObject<{
6223
6819
  option: string;
6224
6820
  filename: string;
6225
6821
  originalFilename: string;
6226
- }[] | [string, string] | undefined>;
6822
+ }[] | [string, string] | null | undefined>;
6227
6823
  createdBySignature?: string | null | undefined;
6228
6824
  createdAtLocation?: string | null | undefined;
6229
6825
  annotation?: Record<string, string | number | boolean | {
@@ -6241,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6241
6837
  residentialArea?: string | null | undefined;
6242
6838
  street?: string | null | undefined;
6243
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6244
6844
  } | {
6245
6845
  country: string;
6246
6846
  district: string;
@@ -6263,8 +6863,8 @@ export declare const EventDocument: z.ZodObject<{
6263
6863
  option: string;
6264
6864
  filename: string;
6265
6865
  originalFilename: string;
6266
- }[] | [string, string] | undefined> | null | undefined;
6267
- originalActionId?: string | null | undefined;
6866
+ }[] | [string, string] | null | undefined> | undefined;
6867
+ originalActionId?: string | undefined;
6268
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6269
6869
  id: z.ZodString;
6270
6870
  transactionId: z.ZodString;
@@ -6272,7 +6872,7 @@ export declare const EventDocument: z.ZodObject<{
6272
6872
  createdBy: z.ZodString;
6273
6873
  createdByRole: z.ZodString;
6274
6874
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6275
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6276
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<{
6277
6877
  filename: z.ZodString;
6278
6878
  originalFilename: z.ZodString;
@@ -6386,8 +6986,20 @@ export declare const EventDocument: z.ZodObject<{
6386
6986
  addressLine2?: string | null | undefined;
6387
6987
  addressLine3?: string | null | undefined;
6388
6988
  postcodeOrZip?: string | null | undefined;
6389
- }>]>>;
6390
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6391
7003
  filename: z.ZodString;
6392
7004
  originalFilename: z.ZodString;
6393
7005
  type: z.ZodString;
@@ -6500,9 +7112,21 @@ export declare const EventDocument: z.ZodObject<{
6500
7112
  addressLine2?: string | null | undefined;
6501
7113
  addressLine3?: string | null | undefined;
6502
7114
  postcodeOrZip?: string | null | undefined;
6503
- }>]>>>>;
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]>]>>>;
6504
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6505
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7129
+ originalActionId: z.ZodOptional<z.ZodString>;
6506
7130
  }, "declaration" | "annotation">, {
6507
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6508
7132
  status: z.ZodLiteral<"Rejected">;
@@ -6515,8 +7139,8 @@ export declare const EventDocument: z.ZodObject<{
6515
7139
  createdBy: string;
6516
7140
  createdByRole: string;
6517
7141
  createdBySignature?: string | null | undefined;
6518
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6519
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7142
+ createdAtLocation?: string | null | undefined;
7143
+ originalActionId?: string | undefined;
6520
7144
  }, {
6521
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6522
7146
  id: string;
@@ -6527,12 +7151,12 @@ export declare const EventDocument: z.ZodObject<{
6527
7151
  createdByRole: string;
6528
7152
  createdBySignature?: string | null | undefined;
6529
7153
  createdAtLocation?: string | null | undefined;
6530
- originalActionId?: string | null | undefined;
7154
+ originalActionId?: string | undefined;
6531
7155
  }>]>, "many">;
6532
7156
  trackingId: z.ZodString;
6533
7157
  }, "strip", z.ZodTypeAny, {
6534
7158
  type: string;
6535
- id: string & z.BRAND<"UUID">;
7159
+ id: string;
6536
7160
  createdAt: string;
6537
7161
  updatedAt: string;
6538
7162
  actions: ({
@@ -6558,6 +7182,10 @@ export declare const EventDocument: z.ZodObject<{
6558
7182
  residentialArea?: string | null | undefined;
6559
7183
  street?: string | null | undefined;
6560
7184
  zipCode?: string | null | undefined;
7185
+ } | {
7186
+ firstname: string;
7187
+ surname: string;
7188
+ middlename?: string | null | undefined;
6561
7189
  } | {
6562
7190
  country: string;
6563
7191
  district: string;
@@ -6580,10 +7208,10 @@ export declare const EventDocument: z.ZodObject<{
6580
7208
  option: string;
6581
7209
  filename: string;
6582
7210
  originalFilename: string;
6583
- }[] | [string, string] | undefined>;
7211
+ }[] | [string, string] | null | undefined>;
6584
7212
  assignedTo: string;
6585
7213
  createdBySignature?: string | null | undefined;
6586
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7214
+ createdAtLocation?: string | null | undefined;
6587
7215
  annotation?: Record<string, string | number | boolean | {
6588
7216
  type: string;
6589
7217
  filename: string;
@@ -6599,6 +7227,10 @@ export declare const EventDocument: z.ZodObject<{
6599
7227
  residentialArea?: string | null | undefined;
6600
7228
  street?: string | null | undefined;
6601
7229
  zipCode?: string | null | undefined;
7230
+ } | {
7231
+ firstname: string;
7232
+ surname: string;
7233
+ middlename?: string | null | undefined;
6602
7234
  } | {
6603
7235
  country: string;
6604
7236
  district: string;
@@ -6621,8 +7253,8 @@ export declare const EventDocument: z.ZodObject<{
6621
7253
  option: string;
6622
7254
  filename: string;
6623
7255
  originalFilename: string;
6624
- }[] | [string, string] | undefined> | null | undefined;
6625
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7256
+ }[] | [string, string] | null | undefined> | undefined;
7257
+ originalActionId?: string | undefined;
6626
7258
  } | {
6627
7259
  type: "UNASSIGN";
6628
7260
  id: string;
@@ -6646,6 +7278,10 @@ export declare const EventDocument: z.ZodObject<{
6646
7278
  residentialArea?: string | null | undefined;
6647
7279
  street?: string | null | undefined;
6648
7280
  zipCode?: string | null | undefined;
7281
+ } | {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
6649
7285
  } | {
6650
7286
  country: string;
6651
7287
  district: string;
@@ -6668,10 +7304,10 @@ export declare const EventDocument: z.ZodObject<{
6668
7304
  option: string;
6669
7305
  filename: string;
6670
7306
  originalFilename: string;
6671
- }[] | [string, string] | undefined>;
7307
+ }[] | [string, string] | null | undefined>;
6672
7308
  assignedTo: null;
6673
7309
  createdBySignature?: string | null | undefined;
6674
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7310
+ createdAtLocation?: string | null | undefined;
6675
7311
  annotation?: Record<string, string | number | boolean | {
6676
7312
  type: string;
6677
7313
  filename: string;
@@ -6687,6 +7323,10 @@ export declare const EventDocument: z.ZodObject<{
6687
7323
  residentialArea?: string | null | undefined;
6688
7324
  street?: string | null | undefined;
6689
7325
  zipCode?: string | null | undefined;
7326
+ } | {
7327
+ firstname: string;
7328
+ surname: string;
7329
+ middlename?: string | null | undefined;
6690
7330
  } | {
6691
7331
  country: string;
6692
7332
  district: string;
@@ -6709,8 +7349,8 @@ export declare const EventDocument: z.ZodObject<{
6709
7349
  option: string;
6710
7350
  filename: string;
6711
7351
  originalFilename: string;
6712
- }[] | [string, string] | undefined> | null | undefined;
6713
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7352
+ }[] | [string, string] | null | undefined> | undefined;
7353
+ originalActionId?: string | undefined;
6714
7354
  } | {
6715
7355
  type: "REGISTER";
6716
7356
  id: string;
@@ -6734,6 +7374,10 @@ export declare const EventDocument: z.ZodObject<{
6734
7374
  residentialArea?: string | null | undefined;
6735
7375
  street?: string | null | undefined;
6736
7376
  zipCode?: string | null | undefined;
7377
+ } | {
7378
+ firstname: string;
7379
+ surname: string;
7380
+ middlename?: string | null | undefined;
6737
7381
  } | {
6738
7382
  country: string;
6739
7383
  district: string;
@@ -6756,9 +7400,9 @@ export declare const EventDocument: z.ZodObject<{
6756
7400
  option: string;
6757
7401
  filename: string;
6758
7402
  originalFilename: string;
6759
- }[] | [string, string] | undefined>;
7403
+ }[] | [string, string] | null | undefined>;
6760
7404
  createdBySignature?: string | null | undefined;
6761
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7405
+ createdAtLocation?: string | null | undefined;
6762
7406
  annotation?: Record<string, string | number | boolean | {
6763
7407
  type: string;
6764
7408
  filename: string;
@@ -6774,6 +7418,10 @@ export declare const EventDocument: z.ZodObject<{
6774
7418
  residentialArea?: string | null | undefined;
6775
7419
  street?: string | null | undefined;
6776
7420
  zipCode?: string | null | undefined;
7421
+ } | {
7422
+ firstname: string;
7423
+ surname: string;
7424
+ middlename?: string | null | undefined;
6777
7425
  } | {
6778
7426
  country: string;
6779
7427
  district: string;
@@ -6796,8 +7444,8 @@ export declare const EventDocument: z.ZodObject<{
6796
7444
  option: string;
6797
7445
  filename: string;
6798
7446
  originalFilename: string;
6799
- }[] | [string, string] | undefined> | null | undefined;
6800
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7447
+ }[] | [string, string] | null | undefined> | undefined;
7448
+ originalActionId?: string | undefined;
6801
7449
  registrationNumber?: string | undefined;
6802
7450
  } | {
6803
7451
  type: "DECLARE";
@@ -6822,6 +7470,10 @@ export declare const EventDocument: z.ZodObject<{
6822
7470
  residentialArea?: string | null | undefined;
6823
7471
  street?: string | null | undefined;
6824
7472
  zipCode?: string | null | undefined;
7473
+ } | {
7474
+ firstname: string;
7475
+ surname: string;
7476
+ middlename?: string | null | undefined;
6825
7477
  } | {
6826
7478
  country: string;
6827
7479
  district: string;
@@ -6844,9 +7496,9 @@ export declare const EventDocument: z.ZodObject<{
6844
7496
  option: string;
6845
7497
  filename: string;
6846
7498
  originalFilename: string;
6847
- }[] | [string, string] | undefined>;
7499
+ }[] | [string, string] | null | undefined>;
6848
7500
  createdBySignature?: string | null | undefined;
6849
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7501
+ createdAtLocation?: string | null | undefined;
6850
7502
  annotation?: Record<string, string | number | boolean | {
6851
7503
  type: string;
6852
7504
  filename: string;
@@ -6862,6 +7514,10 @@ export declare const EventDocument: z.ZodObject<{
6862
7514
  residentialArea?: string | null | undefined;
6863
7515
  street?: string | null | undefined;
6864
7516
  zipCode?: string | null | undefined;
7517
+ } | {
7518
+ firstname: string;
7519
+ surname: string;
7520
+ middlename?: string | null | undefined;
6865
7521
  } | {
6866
7522
  country: string;
6867
7523
  district: string;
@@ -6884,8 +7540,8 @@ export declare const EventDocument: z.ZodObject<{
6884
7540
  option: string;
6885
7541
  filename: string;
6886
7542
  originalFilename: string;
6887
- }[] | [string, string] | undefined> | null | undefined;
6888
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7543
+ }[] | [string, string] | null | undefined> | undefined;
7544
+ originalActionId?: string | undefined;
6889
7545
  } | {
6890
7546
  type: "VALIDATE";
6891
7547
  id: string;
@@ -6909,6 +7565,10 @@ export declare const EventDocument: z.ZodObject<{
6909
7565
  residentialArea?: string | null | undefined;
6910
7566
  street?: string | null | undefined;
6911
7567
  zipCode?: string | null | undefined;
7568
+ } | {
7569
+ firstname: string;
7570
+ surname: string;
7571
+ middlename?: string | null | undefined;
6912
7572
  } | {
6913
7573
  country: string;
6914
7574
  district: string;
@@ -6931,9 +7591,9 @@ export declare const EventDocument: z.ZodObject<{
6931
7591
  option: string;
6932
7592
  filename: string;
6933
7593
  originalFilename: string;
6934
- }[] | [string, string] | undefined>;
7594
+ }[] | [string, string] | null | undefined>;
6935
7595
  createdBySignature?: string | null | undefined;
6936
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7596
+ createdAtLocation?: string | null | undefined;
6937
7597
  annotation?: Record<string, string | number | boolean | {
6938
7598
  type: string;
6939
7599
  filename: string;
@@ -6949,6 +7609,10 @@ export declare const EventDocument: z.ZodObject<{
6949
7609
  residentialArea?: string | null | undefined;
6950
7610
  street?: string | null | undefined;
6951
7611
  zipCode?: string | null | undefined;
7612
+ } | {
7613
+ firstname: string;
7614
+ surname: string;
7615
+ middlename?: string | null | undefined;
6952
7616
  } | {
6953
7617
  country: string;
6954
7618
  district: string;
@@ -6971,8 +7635,8 @@ export declare const EventDocument: z.ZodObject<{
6971
7635
  option: string;
6972
7636
  filename: string;
6973
7637
  originalFilename: string;
6974
- }[] | [string, string] | undefined> | null | undefined;
6975
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7638
+ }[] | [string, string] | null | undefined> | undefined;
7639
+ originalActionId?: string | undefined;
6976
7640
  } | {
6977
7641
  type: "REJECT";
6978
7642
  id: string;
@@ -7000,6 +7664,10 @@ export declare const EventDocument: z.ZodObject<{
7000
7664
  residentialArea?: string | null | undefined;
7001
7665
  street?: string | null | undefined;
7002
7666
  zipCode?: string | null | undefined;
7667
+ } | {
7668
+ firstname: string;
7669
+ surname: string;
7670
+ middlename?: string | null | undefined;
7003
7671
  } | {
7004
7672
  country: string;
7005
7673
  district: string;
@@ -7022,9 +7690,9 @@ export declare const EventDocument: z.ZodObject<{
7022
7690
  option: string;
7023
7691
  filename: string;
7024
7692
  originalFilename: string;
7025
- }[] | [string, string] | undefined>;
7693
+ }[] | [string, string] | null | undefined>;
7026
7694
  createdBySignature?: string | null | undefined;
7027
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7695
+ createdAtLocation?: string | null | undefined;
7028
7696
  annotation?: Record<string, string | number | boolean | {
7029
7697
  type: string;
7030
7698
  filename: string;
@@ -7040,6 +7708,10 @@ export declare const EventDocument: z.ZodObject<{
7040
7708
  residentialArea?: string | null | undefined;
7041
7709
  street?: string | null | undefined;
7042
7710
  zipCode?: string | null | undefined;
7711
+ } | {
7712
+ firstname: string;
7713
+ surname: string;
7714
+ middlename?: string | null | undefined;
7043
7715
  } | {
7044
7716
  country: string;
7045
7717
  district: string;
@@ -7062,8 +7734,8 @@ export declare const EventDocument: z.ZodObject<{
7062
7734
  option: string;
7063
7735
  filename: string;
7064
7736
  originalFilename: string;
7065
- }[] | [string, string] | undefined> | null | undefined;
7066
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7737
+ }[] | [string, string] | null | undefined> | undefined;
7738
+ originalActionId?: string | undefined;
7067
7739
  } | {
7068
7740
  type: "MARKED_AS_DUPLICATE";
7069
7741
  id: string;
@@ -7087,6 +7759,10 @@ export declare const EventDocument: z.ZodObject<{
7087
7759
  residentialArea?: string | null | undefined;
7088
7760
  street?: string | null | undefined;
7089
7761
  zipCode?: string | null | undefined;
7762
+ } | {
7763
+ firstname: string;
7764
+ surname: string;
7765
+ middlename?: string | null | undefined;
7090
7766
  } | {
7091
7767
  country: string;
7092
7768
  district: string;
@@ -7109,9 +7785,9 @@ export declare const EventDocument: z.ZodObject<{
7109
7785
  option: string;
7110
7786
  filename: string;
7111
7787
  originalFilename: string;
7112
- }[] | [string, string] | undefined>;
7788
+ }[] | [string, string] | null | undefined>;
7113
7789
  createdBySignature?: string | null | undefined;
7114
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7790
+ createdAtLocation?: string | null | undefined;
7115
7791
  annotation?: Record<string, string | number | boolean | {
7116
7792
  type: string;
7117
7793
  filename: string;
@@ -7127,6 +7803,10 @@ export declare const EventDocument: z.ZodObject<{
7127
7803
  residentialArea?: string | null | undefined;
7128
7804
  street?: string | null | undefined;
7129
7805
  zipCode?: string | null | undefined;
7806
+ } | {
7807
+ firstname: string;
7808
+ surname: string;
7809
+ middlename?: string | null | undefined;
7130
7810
  } | {
7131
7811
  country: string;
7132
7812
  district: string;
@@ -7149,8 +7829,8 @@ export declare const EventDocument: z.ZodObject<{
7149
7829
  option: string;
7150
7830
  filename: string;
7151
7831
  originalFilename: string;
7152
- }[] | [string, string] | undefined> | null | undefined;
7153
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7832
+ }[] | [string, string] | null | undefined> | undefined;
7833
+ originalActionId?: string | undefined;
7154
7834
  } | {
7155
7835
  type: "ARCHIVE";
7156
7836
  id: string;
@@ -7178,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7178
7858
  residentialArea?: string | null | undefined;
7179
7859
  street?: string | null | undefined;
7180
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7181
7865
  } | {
7182
7866
  country: string;
7183
7867
  district: string;
@@ -7200,9 +7884,9 @@ export declare const EventDocument: z.ZodObject<{
7200
7884
  option: string;
7201
7885
  filename: string;
7202
7886
  originalFilename: string;
7203
- }[] | [string, string] | undefined>;
7887
+ }[] | [string, string] | null | undefined>;
7204
7888
  createdBySignature?: string | null | undefined;
7205
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7889
+ createdAtLocation?: string | null | undefined;
7206
7890
  annotation?: Record<string, string | number | boolean | {
7207
7891
  type: string;
7208
7892
  filename: string;
@@ -7218,6 +7902,10 @@ export declare const EventDocument: z.ZodObject<{
7218
7902
  residentialArea?: string | null | undefined;
7219
7903
  street?: string | null | undefined;
7220
7904
  zipCode?: string | null | undefined;
7905
+ } | {
7906
+ firstname: string;
7907
+ surname: string;
7908
+ middlename?: string | null | undefined;
7221
7909
  } | {
7222
7910
  country: string;
7223
7911
  district: string;
@@ -7240,8 +7928,8 @@ export declare const EventDocument: z.ZodObject<{
7240
7928
  option: string;
7241
7929
  filename: string;
7242
7930
  originalFilename: string;
7243
- }[] | [string, string] | undefined> | null | undefined;
7244
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7931
+ }[] | [string, string] | null | undefined> | undefined;
7932
+ originalActionId?: string | undefined;
7245
7933
  } | {
7246
7934
  type: "CREATE";
7247
7935
  id: string;
@@ -7265,6 +7953,10 @@ export declare const EventDocument: z.ZodObject<{
7265
7953
  residentialArea?: string | null | undefined;
7266
7954
  street?: string | null | undefined;
7267
7955
  zipCode?: string | null | undefined;
7956
+ } | {
7957
+ firstname: string;
7958
+ surname: string;
7959
+ middlename?: string | null | undefined;
7268
7960
  } | {
7269
7961
  country: string;
7270
7962
  district: string;
@@ -7287,9 +7979,9 @@ export declare const EventDocument: z.ZodObject<{
7287
7979
  option: string;
7288
7980
  filename: string;
7289
7981
  originalFilename: string;
7290
- }[] | [string, string] | undefined>;
7982
+ }[] | [string, string] | null | undefined>;
7291
7983
  createdBySignature?: string | null | undefined;
7292
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7984
+ createdAtLocation?: string | null | undefined;
7293
7985
  annotation?: Record<string, string | number | boolean | {
7294
7986
  type: string;
7295
7987
  filename: string;
@@ -7305,6 +7997,10 @@ export declare const EventDocument: z.ZodObject<{
7305
7997
  residentialArea?: string | null | undefined;
7306
7998
  street?: string | null | undefined;
7307
7999
  zipCode?: string | null | undefined;
8000
+ } | {
8001
+ firstname: string;
8002
+ surname: string;
8003
+ middlename?: string | null | undefined;
7308
8004
  } | {
7309
8005
  country: string;
7310
8006
  district: string;
@@ -7327,8 +8023,8 @@ export declare const EventDocument: z.ZodObject<{
7327
8023
  option: string;
7328
8024
  filename: string;
7329
8025
  originalFilename: string;
7330
- }[] | [string, string] | undefined> | null | undefined;
7331
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8026
+ }[] | [string, string] | null | undefined> | undefined;
8027
+ originalActionId?: string | undefined;
7332
8028
  } | {
7333
8029
  type: "NOTIFY";
7334
8030
  id: string;
@@ -7352,6 +8048,10 @@ export declare const EventDocument: z.ZodObject<{
7352
8048
  residentialArea?: string | null | undefined;
7353
8049
  street?: string | null | undefined;
7354
8050
  zipCode?: string | null | undefined;
8051
+ } | {
8052
+ firstname: string;
8053
+ surname: string;
8054
+ middlename?: string | null | undefined;
7355
8055
  } | {
7356
8056
  country: string;
7357
8057
  district: string;
@@ -7374,9 +8074,9 @@ export declare const EventDocument: z.ZodObject<{
7374
8074
  option: string;
7375
8075
  filename: string;
7376
8076
  originalFilename: string;
7377
- }[] | [string, string] | undefined>;
8077
+ }[] | [string, string] | null | undefined>;
7378
8078
  createdBySignature?: string | null | undefined;
7379
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8079
+ createdAtLocation?: string | null | undefined;
7380
8080
  annotation?: Record<string, string | number | boolean | {
7381
8081
  type: string;
7382
8082
  filename: string;
@@ -7392,6 +8092,10 @@ export declare const EventDocument: z.ZodObject<{
7392
8092
  residentialArea?: string | null | undefined;
7393
8093
  street?: string | null | undefined;
7394
8094
  zipCode?: string | null | undefined;
8095
+ } | {
8096
+ firstname: string;
8097
+ surname: string;
8098
+ middlename?: string | null | undefined;
7395
8099
  } | {
7396
8100
  country: string;
7397
8101
  district: string;
@@ -7414,8 +8118,8 @@ export declare const EventDocument: z.ZodObject<{
7414
8118
  option: string;
7415
8119
  filename: string;
7416
8120
  originalFilename: string;
7417
- }[] | [string, string] | undefined> | null | undefined;
7418
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8121
+ }[] | [string, string] | null | undefined> | undefined;
8122
+ originalActionId?: string | undefined;
7419
8123
  } | {
7420
8124
  type: "PRINT_CERTIFICATE";
7421
8125
  id: string;
@@ -7439,6 +8143,10 @@ export declare const EventDocument: z.ZodObject<{
7439
8143
  residentialArea?: string | null | undefined;
7440
8144
  street?: string | null | undefined;
7441
8145
  zipCode?: string | null | undefined;
8146
+ } | {
8147
+ firstname: string;
8148
+ surname: string;
8149
+ middlename?: string | null | undefined;
7442
8150
  } | {
7443
8151
  country: string;
7444
8152
  district: string;
@@ -7461,9 +8169,9 @@ export declare const EventDocument: z.ZodObject<{
7461
8169
  option: string;
7462
8170
  filename: string;
7463
8171
  originalFilename: string;
7464
- }[] | [string, string] | undefined>;
8172
+ }[] | [string, string] | null | undefined>;
7465
8173
  createdBySignature?: string | null | undefined;
7466
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8174
+ createdAtLocation?: string | null | undefined;
7467
8175
  annotation?: Record<string, string | number | boolean | {
7468
8176
  type: string;
7469
8177
  filename: string;
@@ -7479,6 +8187,10 @@ export declare const EventDocument: z.ZodObject<{
7479
8187
  residentialArea?: string | null | undefined;
7480
8188
  street?: string | null | undefined;
7481
8189
  zipCode?: string | null | undefined;
8190
+ } | {
8191
+ firstname: string;
8192
+ surname: string;
8193
+ middlename?: string | null | undefined;
7482
8194
  } | {
7483
8195
  country: string;
7484
8196
  district: string;
@@ -7501,8 +8213,8 @@ export declare const EventDocument: z.ZodObject<{
7501
8213
  option: string;
7502
8214
  filename: string;
7503
8215
  originalFilename: string;
7504
- }[] | [string, string] | undefined> | null | undefined;
7505
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8216
+ }[] | [string, string] | null | undefined> | undefined;
8217
+ originalActionId?: string | undefined;
7506
8218
  } | {
7507
8219
  type: "REQUEST_CORRECTION";
7508
8220
  id: string;
@@ -7526,6 +8238,10 @@ export declare const EventDocument: z.ZodObject<{
7526
8238
  residentialArea?: string | null | undefined;
7527
8239
  street?: string | null | undefined;
7528
8240
  zipCode?: string | null | undefined;
8241
+ } | {
8242
+ firstname: string;
8243
+ surname: string;
8244
+ middlename?: string | null | undefined;
7529
8245
  } | {
7530
8246
  country: string;
7531
8247
  district: string;
@@ -7548,9 +8264,9 @@ export declare const EventDocument: z.ZodObject<{
7548
8264
  option: string;
7549
8265
  filename: string;
7550
8266
  originalFilename: string;
7551
- }[] | [string, string] | undefined>;
8267
+ }[] | [string, string] | null | undefined>;
7552
8268
  createdBySignature?: string | null | undefined;
7553
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8269
+ createdAtLocation?: string | null | undefined;
7554
8270
  annotation?: Record<string, string | number | boolean | {
7555
8271
  type: string;
7556
8272
  filename: string;
@@ -7566,6 +8282,10 @@ export declare const EventDocument: z.ZodObject<{
7566
8282
  residentialArea?: string | null | undefined;
7567
8283
  street?: string | null | undefined;
7568
8284
  zipCode?: string | null | undefined;
8285
+ } | {
8286
+ firstname: string;
8287
+ surname: string;
8288
+ middlename?: string | null | undefined;
7569
8289
  } | {
7570
8290
  country: string;
7571
8291
  district: string;
@@ -7588,8 +8308,8 @@ export declare const EventDocument: z.ZodObject<{
7588
8308
  option: string;
7589
8309
  filename: string;
7590
8310
  originalFilename: string;
7591
- }[] | [string, string] | undefined> | null | undefined;
7592
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8311
+ }[] | [string, string] | null | undefined> | undefined;
8312
+ originalActionId?: string | undefined;
7593
8313
  } | {
7594
8314
  type: "APPROVE_CORRECTION";
7595
8315
  id: string;
@@ -7613,6 +8333,10 @@ export declare const EventDocument: z.ZodObject<{
7613
8333
  residentialArea?: string | null | undefined;
7614
8334
  street?: string | null | undefined;
7615
8335
  zipCode?: string | null | undefined;
8336
+ } | {
8337
+ firstname: string;
8338
+ surname: string;
8339
+ middlename?: string | null | undefined;
7616
8340
  } | {
7617
8341
  country: string;
7618
8342
  district: string;
@@ -7635,10 +8359,10 @@ export declare const EventDocument: z.ZodObject<{
7635
8359
  option: string;
7636
8360
  filename: string;
7637
8361
  originalFilename: string;
7638
- }[] | [string, string] | undefined>;
8362
+ }[] | [string, string] | null | undefined>;
7639
8363
  requestId: string;
7640
8364
  createdBySignature?: string | null | undefined;
7641
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8365
+ createdAtLocation?: string | null | undefined;
7642
8366
  annotation?: Record<string, string | number | boolean | {
7643
8367
  type: string;
7644
8368
  filename: string;
@@ -7654,6 +8378,10 @@ export declare const EventDocument: z.ZodObject<{
7654
8378
  residentialArea?: string | null | undefined;
7655
8379
  street?: string | null | undefined;
7656
8380
  zipCode?: string | null | undefined;
8381
+ } | {
8382
+ firstname: string;
8383
+ surname: string;
8384
+ middlename?: string | null | undefined;
7657
8385
  } | {
7658
8386
  country: string;
7659
8387
  district: string;
@@ -7676,8 +8404,8 @@ export declare const EventDocument: z.ZodObject<{
7676
8404
  option: string;
7677
8405
  filename: string;
7678
8406
  originalFilename: string;
7679
- }[] | [string, string] | undefined> | null | undefined;
7680
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8407
+ }[] | [string, string] | null | undefined> | undefined;
8408
+ originalActionId?: string | undefined;
7681
8409
  } | {
7682
8410
  type: "REJECT_CORRECTION";
7683
8411
  id: string;
@@ -7701,6 +8429,10 @@ export declare const EventDocument: z.ZodObject<{
7701
8429
  residentialArea?: string | null | undefined;
7702
8430
  street?: string | null | undefined;
7703
8431
  zipCode?: string | null | undefined;
8432
+ } | {
8433
+ firstname: string;
8434
+ surname: string;
8435
+ middlename?: string | null | undefined;
7704
8436
  } | {
7705
8437
  country: string;
7706
8438
  district: string;
@@ -7723,10 +8455,10 @@ export declare const EventDocument: z.ZodObject<{
7723
8455
  option: string;
7724
8456
  filename: string;
7725
8457
  originalFilename: string;
7726
- }[] | [string, string] | undefined>;
8458
+ }[] | [string, string] | null | undefined>;
7727
8459
  requestId: string;
7728
8460
  createdBySignature?: string | null | undefined;
7729
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8461
+ createdAtLocation?: string | null | undefined;
7730
8462
  annotation?: Record<string, string | number | boolean | {
7731
8463
  type: string;
7732
8464
  filename: string;
@@ -7742,6 +8474,10 @@ export declare const EventDocument: z.ZodObject<{
7742
8474
  residentialArea?: string | null | undefined;
7743
8475
  street?: string | null | undefined;
7744
8476
  zipCode?: string | null | undefined;
8477
+ } | {
8478
+ firstname: string;
8479
+ surname: string;
8480
+ middlename?: string | null | undefined;
7745
8481
  } | {
7746
8482
  country: string;
7747
8483
  district: string;
@@ -7764,8 +8500,8 @@ export declare const EventDocument: z.ZodObject<{
7764
8500
  option: string;
7765
8501
  filename: string;
7766
8502
  originalFilename: string;
7767
- }[] | [string, string] | undefined> | null | undefined;
7768
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8503
+ }[] | [string, string] | null | undefined> | undefined;
8504
+ originalActionId?: string | undefined;
7769
8505
  } | {
7770
8506
  type: "READ";
7771
8507
  id: string;
@@ -7789,6 +8525,10 @@ export declare const EventDocument: z.ZodObject<{
7789
8525
  residentialArea?: string | null | undefined;
7790
8526
  street?: string | null | undefined;
7791
8527
  zipCode?: string | null | undefined;
8528
+ } | {
8529
+ firstname: string;
8530
+ surname: string;
8531
+ middlename?: string | null | undefined;
7792
8532
  } | {
7793
8533
  country: string;
7794
8534
  district: string;
@@ -7811,9 +8551,9 @@ export declare const EventDocument: z.ZodObject<{
7811
8551
  option: string;
7812
8552
  filename: string;
7813
8553
  originalFilename: string;
7814
- }[] | [string, string] | undefined>;
8554
+ }[] | [string, string] | null | undefined>;
7815
8555
  createdBySignature?: string | null | undefined;
7816
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8556
+ createdAtLocation?: string | null | undefined;
7817
8557
  annotation?: Record<string, string | number | boolean | {
7818
8558
  type: string;
7819
8559
  filename: string;
@@ -7829,6 +8569,10 @@ export declare const EventDocument: z.ZodObject<{
7829
8569
  residentialArea?: string | null | undefined;
7830
8570
  street?: string | null | undefined;
7831
8571
  zipCode?: string | null | undefined;
8572
+ } | {
8573
+ firstname: string;
8574
+ surname: string;
8575
+ middlename?: string | null | undefined;
7832
8576
  } | {
7833
8577
  country: string;
7834
8578
  district: string;
@@ -7851,8 +8595,8 @@ export declare const EventDocument: z.ZodObject<{
7851
8595
  option: string;
7852
8596
  filename: string;
7853
8597
  originalFilename: string;
7854
- }[] | [string, string] | undefined> | null | undefined;
7855
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8598
+ }[] | [string, string] | null | undefined> | undefined;
8599
+ originalActionId?: string | undefined;
7856
8600
  } | {
7857
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7858
8602
  id: string;
@@ -7862,8 +8606,8 @@ export declare const EventDocument: z.ZodObject<{
7862
8606
  createdBy: string;
7863
8607
  createdByRole: string;
7864
8608
  createdBySignature?: string | null | undefined;
7865
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7866
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8609
+ createdAtLocation?: string | null | undefined;
8610
+ originalActionId?: string | undefined;
7867
8611
  })[];
7868
8612
  trackingId: string;
7869
8613
  }, {
@@ -7894,6 +8638,10 @@ export declare const EventDocument: z.ZodObject<{
7894
8638
  residentialArea?: string | null | undefined;
7895
8639
  street?: string | null | undefined;
7896
8640
  zipCode?: string | null | undefined;
8641
+ } | {
8642
+ firstname: string;
8643
+ surname: string;
8644
+ middlename?: string | null | undefined;
7897
8645
  } | {
7898
8646
  country: string;
7899
8647
  district: string;
@@ -7916,7 +8664,7 @@ export declare const EventDocument: z.ZodObject<{
7916
8664
  option: string;
7917
8665
  filename: string;
7918
8666
  originalFilename: string;
7919
- }[] | [string, string] | undefined>;
8667
+ }[] | [string, string] | null | undefined>;
7920
8668
  assignedTo: string;
7921
8669
  createdBySignature?: string | null | undefined;
7922
8670
  createdAtLocation?: string | null | undefined;
@@ -7935,6 +8683,10 @@ export declare const EventDocument: z.ZodObject<{
7935
8683
  residentialArea?: string | null | undefined;
7936
8684
  street?: string | null | undefined;
7937
8685
  zipCode?: string | null | undefined;
8686
+ } | {
8687
+ firstname: string;
8688
+ surname: string;
8689
+ middlename?: string | null | undefined;
7938
8690
  } | {
7939
8691
  country: string;
7940
8692
  district: string;
@@ -7957,8 +8709,8 @@ export declare const EventDocument: z.ZodObject<{
7957
8709
  option: string;
7958
8710
  filename: string;
7959
8711
  originalFilename: string;
7960
- }[] | [string, string] | undefined> | null | undefined;
7961
- originalActionId?: string | null | undefined;
8712
+ }[] | [string, string] | null | undefined> | undefined;
8713
+ originalActionId?: string | undefined;
7962
8714
  } | {
7963
8715
  type: "UNASSIGN";
7964
8716
  id: string;
@@ -7982,6 +8734,10 @@ export declare const EventDocument: z.ZodObject<{
7982
8734
  residentialArea?: string | null | undefined;
7983
8735
  street?: string | null | undefined;
7984
8736
  zipCode?: string | null | undefined;
8737
+ } | {
8738
+ firstname: string;
8739
+ surname: string;
8740
+ middlename?: string | null | undefined;
7985
8741
  } | {
7986
8742
  country: string;
7987
8743
  district: string;
@@ -8004,7 +8760,7 @@ export declare const EventDocument: z.ZodObject<{
8004
8760
  option: string;
8005
8761
  filename: string;
8006
8762
  originalFilename: string;
8007
- }[] | [string, string] | undefined>;
8763
+ }[] | [string, string] | null | undefined>;
8008
8764
  assignedTo: null;
8009
8765
  createdBySignature?: string | null | undefined;
8010
8766
  createdAtLocation?: string | null | undefined;
@@ -8023,6 +8779,10 @@ export declare const EventDocument: z.ZodObject<{
8023
8779
  residentialArea?: string | null | undefined;
8024
8780
  street?: string | null | undefined;
8025
8781
  zipCode?: string | null | undefined;
8782
+ } | {
8783
+ firstname: string;
8784
+ surname: string;
8785
+ middlename?: string | null | undefined;
8026
8786
  } | {
8027
8787
  country: string;
8028
8788
  district: string;
@@ -8045,8 +8805,8 @@ export declare const EventDocument: z.ZodObject<{
8045
8805
  option: string;
8046
8806
  filename: string;
8047
8807
  originalFilename: string;
8048
- }[] | [string, string] | undefined> | null | undefined;
8049
- originalActionId?: string | null | undefined;
8808
+ }[] | [string, string] | null | undefined> | undefined;
8809
+ originalActionId?: string | undefined;
8050
8810
  } | {
8051
8811
  type: "REGISTER";
8052
8812
  id: string;
@@ -8070,6 +8830,10 @@ export declare const EventDocument: z.ZodObject<{
8070
8830
  residentialArea?: string | null | undefined;
8071
8831
  street?: string | null | undefined;
8072
8832
  zipCode?: string | null | undefined;
8833
+ } | {
8834
+ firstname: string;
8835
+ surname: string;
8836
+ middlename?: string | null | undefined;
8073
8837
  } | {
8074
8838
  country: string;
8075
8839
  district: string;
@@ -8092,7 +8856,7 @@ export declare const EventDocument: z.ZodObject<{
8092
8856
  option: string;
8093
8857
  filename: string;
8094
8858
  originalFilename: string;
8095
- }[] | [string, string] | undefined>;
8859
+ }[] | [string, string] | null | undefined>;
8096
8860
  createdBySignature?: string | null | undefined;
8097
8861
  createdAtLocation?: string | null | undefined;
8098
8862
  annotation?: Record<string, string | number | boolean | {
@@ -8110,6 +8874,10 @@ export declare const EventDocument: z.ZodObject<{
8110
8874
  residentialArea?: string | null | undefined;
8111
8875
  street?: string | null | undefined;
8112
8876
  zipCode?: string | null | undefined;
8877
+ } | {
8878
+ firstname: string;
8879
+ surname: string;
8880
+ middlename?: string | null | undefined;
8113
8881
  } | {
8114
8882
  country: string;
8115
8883
  district: string;
@@ -8132,8 +8900,8 @@ export declare const EventDocument: z.ZodObject<{
8132
8900
  option: string;
8133
8901
  filename: string;
8134
8902
  originalFilename: string;
8135
- }[] | [string, string] | undefined> | null | undefined;
8136
- originalActionId?: string | null | undefined;
8903
+ }[] | [string, string] | null | undefined> | undefined;
8904
+ originalActionId?: string | undefined;
8137
8905
  registrationNumber?: string | undefined;
8138
8906
  } | {
8139
8907
  type: "DECLARE";
@@ -8158,6 +8926,10 @@ export declare const EventDocument: z.ZodObject<{
8158
8926
  residentialArea?: string | null | undefined;
8159
8927
  street?: string | null | undefined;
8160
8928
  zipCode?: string | null | undefined;
8929
+ } | {
8930
+ firstname: string;
8931
+ surname: string;
8932
+ middlename?: string | null | undefined;
8161
8933
  } | {
8162
8934
  country: string;
8163
8935
  district: string;
@@ -8180,7 +8952,7 @@ export declare const EventDocument: z.ZodObject<{
8180
8952
  option: string;
8181
8953
  filename: string;
8182
8954
  originalFilename: string;
8183
- }[] | [string, string] | undefined>;
8955
+ }[] | [string, string] | null | undefined>;
8184
8956
  createdBySignature?: string | null | undefined;
8185
8957
  createdAtLocation?: string | null | undefined;
8186
8958
  annotation?: Record<string, string | number | boolean | {
@@ -8198,6 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8198
8970
  residentialArea?: string | null | undefined;
8199
8971
  street?: string | null | undefined;
8200
8972
  zipCode?: string | null | undefined;
8973
+ } | {
8974
+ firstname: string;
8975
+ surname: string;
8976
+ middlename?: string | null | undefined;
8201
8977
  } | {
8202
8978
  country: string;
8203
8979
  district: string;
@@ -8220,8 +8996,8 @@ export declare const EventDocument: z.ZodObject<{
8220
8996
  option: string;
8221
8997
  filename: string;
8222
8998
  originalFilename: string;
8223
- }[] | [string, string] | undefined> | null | undefined;
8224
- originalActionId?: string | null | undefined;
8999
+ }[] | [string, string] | null | undefined> | undefined;
9000
+ originalActionId?: string | undefined;
8225
9001
  } | {
8226
9002
  type: "VALIDATE";
8227
9003
  id: string;
@@ -8245,6 +9021,10 @@ export declare const EventDocument: z.ZodObject<{
8245
9021
  residentialArea?: string | null | undefined;
8246
9022
  street?: string | null | undefined;
8247
9023
  zipCode?: string | null | undefined;
9024
+ } | {
9025
+ firstname: string;
9026
+ surname: string;
9027
+ middlename?: string | null | undefined;
8248
9028
  } | {
8249
9029
  country: string;
8250
9030
  district: string;
@@ -8267,7 +9047,7 @@ export declare const EventDocument: z.ZodObject<{
8267
9047
  option: string;
8268
9048
  filename: string;
8269
9049
  originalFilename: string;
8270
- }[] | [string, string] | undefined>;
9050
+ }[] | [string, string] | null | undefined>;
8271
9051
  createdBySignature?: string | null | undefined;
8272
9052
  createdAtLocation?: string | null | undefined;
8273
9053
  annotation?: Record<string, string | number | boolean | {
@@ -8285,6 +9065,10 @@ export declare const EventDocument: z.ZodObject<{
8285
9065
  residentialArea?: string | null | undefined;
8286
9066
  street?: string | null | undefined;
8287
9067
  zipCode?: string | null | undefined;
9068
+ } | {
9069
+ firstname: string;
9070
+ surname: string;
9071
+ middlename?: string | null | undefined;
8288
9072
  } | {
8289
9073
  country: string;
8290
9074
  district: string;
@@ -8307,8 +9091,8 @@ export declare const EventDocument: z.ZodObject<{
8307
9091
  option: string;
8308
9092
  filename: string;
8309
9093
  originalFilename: string;
8310
- }[] | [string, string] | undefined> | null | undefined;
8311
- originalActionId?: string | null | undefined;
9094
+ }[] | [string, string] | null | undefined> | undefined;
9095
+ originalActionId?: string | undefined;
8312
9096
  } | {
8313
9097
  type: "REJECT";
8314
9098
  id: string;
@@ -8336,6 +9120,10 @@ export declare const EventDocument: z.ZodObject<{
8336
9120
  residentialArea?: string | null | undefined;
8337
9121
  street?: string | null | undefined;
8338
9122
  zipCode?: string | null | undefined;
9123
+ } | {
9124
+ firstname: string;
9125
+ surname: string;
9126
+ middlename?: string | null | undefined;
8339
9127
  } | {
8340
9128
  country: string;
8341
9129
  district: string;
@@ -8358,7 +9146,7 @@ export declare const EventDocument: z.ZodObject<{
8358
9146
  option: string;
8359
9147
  filename: string;
8360
9148
  originalFilename: string;
8361
- }[] | [string, string] | undefined>;
9149
+ }[] | [string, string] | null | undefined>;
8362
9150
  createdBySignature?: string | null | undefined;
8363
9151
  createdAtLocation?: string | null | undefined;
8364
9152
  annotation?: Record<string, string | number | boolean | {
@@ -8376,6 +9164,10 @@ export declare const EventDocument: z.ZodObject<{
8376
9164
  residentialArea?: string | null | undefined;
8377
9165
  street?: string | null | undefined;
8378
9166
  zipCode?: string | null | undefined;
9167
+ } | {
9168
+ firstname: string;
9169
+ surname: string;
9170
+ middlename?: string | null | undefined;
8379
9171
  } | {
8380
9172
  country: string;
8381
9173
  district: string;
@@ -8398,8 +9190,8 @@ export declare const EventDocument: z.ZodObject<{
8398
9190
  option: string;
8399
9191
  filename: string;
8400
9192
  originalFilename: string;
8401
- }[] | [string, string] | undefined> | null | undefined;
8402
- originalActionId?: string | null | undefined;
9193
+ }[] | [string, string] | null | undefined> | undefined;
9194
+ originalActionId?: string | undefined;
8403
9195
  } | {
8404
9196
  type: "MARKED_AS_DUPLICATE";
8405
9197
  id: string;
@@ -8423,6 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8423
9215
  residentialArea?: string | null | undefined;
8424
9216
  street?: string | null | undefined;
8425
9217
  zipCode?: string | null | undefined;
9218
+ } | {
9219
+ firstname: string;
9220
+ surname: string;
9221
+ middlename?: string | null | undefined;
8426
9222
  } | {
8427
9223
  country: string;
8428
9224
  district: string;
@@ -8445,7 +9241,7 @@ export declare const EventDocument: z.ZodObject<{
8445
9241
  option: string;
8446
9242
  filename: string;
8447
9243
  originalFilename: string;
8448
- }[] | [string, string] | undefined>;
9244
+ }[] | [string, string] | null | undefined>;
8449
9245
  createdBySignature?: string | null | undefined;
8450
9246
  createdAtLocation?: string | null | undefined;
8451
9247
  annotation?: Record<string, string | number | boolean | {
@@ -8463,6 +9259,10 @@ export declare const EventDocument: z.ZodObject<{
8463
9259
  residentialArea?: string | null | undefined;
8464
9260
  street?: string | null | undefined;
8465
9261
  zipCode?: string | null | undefined;
9262
+ } | {
9263
+ firstname: string;
9264
+ surname: string;
9265
+ middlename?: string | null | undefined;
8466
9266
  } | {
8467
9267
  country: string;
8468
9268
  district: string;
@@ -8485,8 +9285,8 @@ export declare const EventDocument: z.ZodObject<{
8485
9285
  option: string;
8486
9286
  filename: string;
8487
9287
  originalFilename: string;
8488
- }[] | [string, string] | undefined> | null | undefined;
8489
- originalActionId?: string | null | undefined;
9288
+ }[] | [string, string] | null | undefined> | undefined;
9289
+ originalActionId?: string | undefined;
8490
9290
  } | {
8491
9291
  type: "ARCHIVE";
8492
9292
  id: string;
@@ -8514,6 +9314,10 @@ export declare const EventDocument: z.ZodObject<{
8514
9314
  residentialArea?: string | null | undefined;
8515
9315
  street?: string | null | undefined;
8516
9316
  zipCode?: string | null | undefined;
9317
+ } | {
9318
+ firstname: string;
9319
+ surname: string;
9320
+ middlename?: string | null | undefined;
8517
9321
  } | {
8518
9322
  country: string;
8519
9323
  district: string;
@@ -8536,7 +9340,7 @@ export declare const EventDocument: z.ZodObject<{
8536
9340
  option: string;
8537
9341
  filename: string;
8538
9342
  originalFilename: string;
8539
- }[] | [string, string] | undefined>;
9343
+ }[] | [string, string] | null | undefined>;
8540
9344
  createdBySignature?: string | null | undefined;
8541
9345
  createdAtLocation?: string | null | undefined;
8542
9346
  annotation?: Record<string, string | number | boolean | {
@@ -8554,6 +9358,10 @@ export declare const EventDocument: z.ZodObject<{
8554
9358
  residentialArea?: string | null | undefined;
8555
9359
  street?: string | null | undefined;
8556
9360
  zipCode?: string | null | undefined;
9361
+ } | {
9362
+ firstname: string;
9363
+ surname: string;
9364
+ middlename?: string | null | undefined;
8557
9365
  } | {
8558
9366
  country: string;
8559
9367
  district: string;
@@ -8576,8 +9384,8 @@ export declare const EventDocument: z.ZodObject<{
8576
9384
  option: string;
8577
9385
  filename: string;
8578
9386
  originalFilename: string;
8579
- }[] | [string, string] | undefined> | null | undefined;
8580
- originalActionId?: string | null | undefined;
9387
+ }[] | [string, string] | null | undefined> | undefined;
9388
+ originalActionId?: string | undefined;
8581
9389
  } | {
8582
9390
  type: "CREATE";
8583
9391
  id: string;
@@ -8601,6 +9409,10 @@ export declare const EventDocument: z.ZodObject<{
8601
9409
  residentialArea?: string | null | undefined;
8602
9410
  street?: string | null | undefined;
8603
9411
  zipCode?: string | null | undefined;
9412
+ } | {
9413
+ firstname: string;
9414
+ surname: string;
9415
+ middlename?: string | null | undefined;
8604
9416
  } | {
8605
9417
  country: string;
8606
9418
  district: string;
@@ -8623,7 +9435,7 @@ export declare const EventDocument: z.ZodObject<{
8623
9435
  option: string;
8624
9436
  filename: string;
8625
9437
  originalFilename: string;
8626
- }[] | [string, string] | undefined>;
9438
+ }[] | [string, string] | null | undefined>;
8627
9439
  createdBySignature?: string | null | undefined;
8628
9440
  createdAtLocation?: string | null | undefined;
8629
9441
  annotation?: Record<string, string | number | boolean | {
@@ -8641,6 +9453,10 @@ export declare const EventDocument: z.ZodObject<{
8641
9453
  residentialArea?: string | null | undefined;
8642
9454
  street?: string | null | undefined;
8643
9455
  zipCode?: string | null | undefined;
9456
+ } | {
9457
+ firstname: string;
9458
+ surname: string;
9459
+ middlename?: string | null | undefined;
8644
9460
  } | {
8645
9461
  country: string;
8646
9462
  district: string;
@@ -8663,8 +9479,8 @@ export declare const EventDocument: z.ZodObject<{
8663
9479
  option: string;
8664
9480
  filename: string;
8665
9481
  originalFilename: string;
8666
- }[] | [string, string] | undefined> | null | undefined;
8667
- originalActionId?: string | null | undefined;
9482
+ }[] | [string, string] | null | undefined> | undefined;
9483
+ originalActionId?: string | undefined;
8668
9484
  } | {
8669
9485
  type: "NOTIFY";
8670
9486
  id: string;
@@ -8688,6 +9504,10 @@ export declare const EventDocument: z.ZodObject<{
8688
9504
  residentialArea?: string | null | undefined;
8689
9505
  street?: string | null | undefined;
8690
9506
  zipCode?: string | null | undefined;
9507
+ } | {
9508
+ firstname: string;
9509
+ surname: string;
9510
+ middlename?: string | null | undefined;
8691
9511
  } | {
8692
9512
  country: string;
8693
9513
  district: string;
@@ -8710,7 +9530,7 @@ export declare const EventDocument: z.ZodObject<{
8710
9530
  option: string;
8711
9531
  filename: string;
8712
9532
  originalFilename: string;
8713
- }[] | [string, string] | undefined>;
9533
+ }[] | [string, string] | null | undefined>;
8714
9534
  createdBySignature?: string | null | undefined;
8715
9535
  createdAtLocation?: string | null | undefined;
8716
9536
  annotation?: Record<string, string | number | boolean | {
@@ -8728,6 +9548,10 @@ export declare const EventDocument: z.ZodObject<{
8728
9548
  residentialArea?: string | null | undefined;
8729
9549
  street?: string | null | undefined;
8730
9550
  zipCode?: string | null | undefined;
9551
+ } | {
9552
+ firstname: string;
9553
+ surname: string;
9554
+ middlename?: string | null | undefined;
8731
9555
  } | {
8732
9556
  country: string;
8733
9557
  district: string;
@@ -8750,8 +9574,8 @@ export declare const EventDocument: z.ZodObject<{
8750
9574
  option: string;
8751
9575
  filename: string;
8752
9576
  originalFilename: string;
8753
- }[] | [string, string] | undefined> | null | undefined;
8754
- originalActionId?: string | null | undefined;
9577
+ }[] | [string, string] | null | undefined> | undefined;
9578
+ originalActionId?: string | undefined;
8755
9579
  } | {
8756
9580
  type: "PRINT_CERTIFICATE";
8757
9581
  id: string;
@@ -8775,6 +9599,10 @@ export declare const EventDocument: z.ZodObject<{
8775
9599
  residentialArea?: string | null | undefined;
8776
9600
  street?: string | null | undefined;
8777
9601
  zipCode?: string | null | undefined;
9602
+ } | {
9603
+ firstname: string;
9604
+ surname: string;
9605
+ middlename?: string | null | undefined;
8778
9606
  } | {
8779
9607
  country: string;
8780
9608
  district: string;
@@ -8797,7 +9625,7 @@ export declare const EventDocument: z.ZodObject<{
8797
9625
  option: string;
8798
9626
  filename: string;
8799
9627
  originalFilename: string;
8800
- }[] | [string, string] | undefined>;
9628
+ }[] | [string, string] | null | undefined>;
8801
9629
  createdBySignature?: string | null | undefined;
8802
9630
  createdAtLocation?: string | null | undefined;
8803
9631
  annotation?: Record<string, string | number | boolean | {
@@ -8815,6 +9643,10 @@ export declare const EventDocument: z.ZodObject<{
8815
9643
  residentialArea?: string | null | undefined;
8816
9644
  street?: string | null | undefined;
8817
9645
  zipCode?: string | null | undefined;
9646
+ } | {
9647
+ firstname: string;
9648
+ surname: string;
9649
+ middlename?: string | null | undefined;
8818
9650
  } | {
8819
9651
  country: string;
8820
9652
  district: string;
@@ -8837,8 +9669,8 @@ export declare const EventDocument: z.ZodObject<{
8837
9669
  option: string;
8838
9670
  filename: string;
8839
9671
  originalFilename: string;
8840
- }[] | [string, string] | undefined> | null | undefined;
8841
- originalActionId?: string | null | undefined;
9672
+ }[] | [string, string] | null | undefined> | undefined;
9673
+ originalActionId?: string | undefined;
8842
9674
  } | {
8843
9675
  type: "REQUEST_CORRECTION";
8844
9676
  id: string;
@@ -8862,6 +9694,10 @@ export declare const EventDocument: z.ZodObject<{
8862
9694
  residentialArea?: string | null | undefined;
8863
9695
  street?: string | null | undefined;
8864
9696
  zipCode?: string | null | undefined;
9697
+ } | {
9698
+ firstname: string;
9699
+ surname: string;
9700
+ middlename?: string | null | undefined;
8865
9701
  } | {
8866
9702
  country: string;
8867
9703
  district: string;
@@ -8884,7 +9720,7 @@ export declare const EventDocument: z.ZodObject<{
8884
9720
  option: string;
8885
9721
  filename: string;
8886
9722
  originalFilename: string;
8887
- }[] | [string, string] | undefined>;
9723
+ }[] | [string, string] | null | undefined>;
8888
9724
  createdBySignature?: string | null | undefined;
8889
9725
  createdAtLocation?: string | null | undefined;
8890
9726
  annotation?: Record<string, string | number | boolean | {
@@ -8902,6 +9738,10 @@ export declare const EventDocument: z.ZodObject<{
8902
9738
  residentialArea?: string | null | undefined;
8903
9739
  street?: string | null | undefined;
8904
9740
  zipCode?: string | null | undefined;
9741
+ } | {
9742
+ firstname: string;
9743
+ surname: string;
9744
+ middlename?: string | null | undefined;
8905
9745
  } | {
8906
9746
  country: string;
8907
9747
  district: string;
@@ -8924,8 +9764,8 @@ export declare const EventDocument: z.ZodObject<{
8924
9764
  option: string;
8925
9765
  filename: string;
8926
9766
  originalFilename: string;
8927
- }[] | [string, string] | undefined> | null | undefined;
8928
- originalActionId?: string | null | undefined;
9767
+ }[] | [string, string] | null | undefined> | undefined;
9768
+ originalActionId?: string | undefined;
8929
9769
  } | {
8930
9770
  type: "APPROVE_CORRECTION";
8931
9771
  id: string;
@@ -8949,6 +9789,10 @@ export declare const EventDocument: z.ZodObject<{
8949
9789
  residentialArea?: string | null | undefined;
8950
9790
  street?: string | null | undefined;
8951
9791
  zipCode?: string | null | undefined;
9792
+ } | {
9793
+ firstname: string;
9794
+ surname: string;
9795
+ middlename?: string | null | undefined;
8952
9796
  } | {
8953
9797
  country: string;
8954
9798
  district: string;
@@ -8971,7 +9815,7 @@ export declare const EventDocument: z.ZodObject<{
8971
9815
  option: string;
8972
9816
  filename: string;
8973
9817
  originalFilename: string;
8974
- }[] | [string, string] | undefined>;
9818
+ }[] | [string, string] | null | undefined>;
8975
9819
  requestId: string;
8976
9820
  createdBySignature?: string | null | undefined;
8977
9821
  createdAtLocation?: string | null | undefined;
@@ -8990,6 +9834,10 @@ export declare const EventDocument: z.ZodObject<{
8990
9834
  residentialArea?: string | null | undefined;
8991
9835
  street?: string | null | undefined;
8992
9836
  zipCode?: string | null | undefined;
9837
+ } | {
9838
+ firstname: string;
9839
+ surname: string;
9840
+ middlename?: string | null | undefined;
8993
9841
  } | {
8994
9842
  country: string;
8995
9843
  district: string;
@@ -9012,8 +9860,8 @@ export declare const EventDocument: z.ZodObject<{
9012
9860
  option: string;
9013
9861
  filename: string;
9014
9862
  originalFilename: string;
9015
- }[] | [string, string] | undefined> | null | undefined;
9016
- originalActionId?: string | null | undefined;
9863
+ }[] | [string, string] | null | undefined> | undefined;
9864
+ originalActionId?: string | undefined;
9017
9865
  } | {
9018
9866
  type: "REJECT_CORRECTION";
9019
9867
  id: string;
@@ -9037,6 +9885,10 @@ export declare const EventDocument: z.ZodObject<{
9037
9885
  residentialArea?: string | null | undefined;
9038
9886
  street?: string | null | undefined;
9039
9887
  zipCode?: string | null | undefined;
9888
+ } | {
9889
+ firstname: string;
9890
+ surname: string;
9891
+ middlename?: string | null | undefined;
9040
9892
  } | {
9041
9893
  country: string;
9042
9894
  district: string;
@@ -9059,7 +9911,7 @@ export declare const EventDocument: z.ZodObject<{
9059
9911
  option: string;
9060
9912
  filename: string;
9061
9913
  originalFilename: string;
9062
- }[] | [string, string] | undefined>;
9914
+ }[] | [string, string] | null | undefined>;
9063
9915
  requestId: string;
9064
9916
  createdBySignature?: string | null | undefined;
9065
9917
  createdAtLocation?: string | null | undefined;
@@ -9078,6 +9930,10 @@ export declare const EventDocument: z.ZodObject<{
9078
9930
  residentialArea?: string | null | undefined;
9079
9931
  street?: string | null | undefined;
9080
9932
  zipCode?: string | null | undefined;
9933
+ } | {
9934
+ firstname: string;
9935
+ surname: string;
9936
+ middlename?: string | null | undefined;
9081
9937
  } | {
9082
9938
  country: string;
9083
9939
  district: string;
@@ -9100,8 +9956,8 @@ export declare const EventDocument: z.ZodObject<{
9100
9956
  option: string;
9101
9957
  filename: string;
9102
9958
  originalFilename: string;
9103
- }[] | [string, string] | undefined> | null | undefined;
9104
- originalActionId?: string | null | undefined;
9959
+ }[] | [string, string] | null | undefined> | undefined;
9960
+ originalActionId?: string | undefined;
9105
9961
  } | {
9106
9962
  type: "READ";
9107
9963
  id: string;
@@ -9125,6 +9981,10 @@ export declare const EventDocument: z.ZodObject<{
9125
9981
  residentialArea?: string | null | undefined;
9126
9982
  street?: string | null | undefined;
9127
9983
  zipCode?: string | null | undefined;
9984
+ } | {
9985
+ firstname: string;
9986
+ surname: string;
9987
+ middlename?: string | null | undefined;
9128
9988
  } | {
9129
9989
  country: string;
9130
9990
  district: string;
@@ -9147,7 +10007,7 @@ export declare const EventDocument: z.ZodObject<{
9147
10007
  option: string;
9148
10008
  filename: string;
9149
10009
  originalFilename: string;
9150
- }[] | [string, string] | undefined>;
10010
+ }[] | [string, string] | null | undefined>;
9151
10011
  createdBySignature?: string | null | undefined;
9152
10012
  createdAtLocation?: string | null | undefined;
9153
10013
  annotation?: Record<string, string | number | boolean | {
@@ -9165,6 +10025,10 @@ export declare const EventDocument: z.ZodObject<{
9165
10025
  residentialArea?: string | null | undefined;
9166
10026
  street?: string | null | undefined;
9167
10027
  zipCode?: string | null | undefined;
10028
+ } | {
10029
+ firstname: string;
10030
+ surname: string;
10031
+ middlename?: string | null | undefined;
9168
10032
  } | {
9169
10033
  country: string;
9170
10034
  district: string;
@@ -9187,8 +10051,8 @@ export declare const EventDocument: z.ZodObject<{
9187
10051
  option: string;
9188
10052
  filename: string;
9189
10053
  originalFilename: string;
9190
- }[] | [string, string] | undefined> | null | undefined;
9191
- originalActionId?: string | null | undefined;
10054
+ }[] | [string, string] | null | undefined> | undefined;
10055
+ originalActionId?: string | undefined;
9192
10056
  } | {
9193
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
9194
10058
  id: string;
@@ -9199,7 +10063,7 @@ export declare const EventDocument: z.ZodObject<{
9199
10063
  createdByRole: string;
9200
10064
  createdBySignature?: string | null | undefined;
9201
10065
  createdAtLocation?: string | null | undefined;
9202
- originalActionId?: string | null | undefined;
10066
+ originalActionId?: string | undefined;
9203
10067
  })[];
9204
10068
  trackingId: string;
9205
10069
  }>;