@opencrvs/toolkit 1.8.0-rc.fea3888 → 1.8.0-rc.fec1d5d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/commons/api/router.d.ts +15788 -4866
  2. package/dist/commons/conditionals/conditionals.d.ts +8 -3
  3. package/dist/commons/conditionals/validate.d.ts +6 -0
  4. package/dist/commons/events/ActionConfig.d.ts +72517 -38926
  5. package/dist/commons/events/ActionDocument.d.ts +2095 -484
  6. package/dist/commons/events/ActionInput.d.ts +1515 -243
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +709 -48
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +129 -30
  14. package/dist/commons/events/EventConfig.d.ts +28812 -12195
  15. package/dist/commons/events/EventDocument.d.ts +1269 -357
  16. package/dist/commons/events/EventIndex.d.ts +980 -316
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +290 -44
  19. package/dist/commons/events/FieldConfig.d.ts +2954 -1142
  20. package/dist/commons/events/FieldType.d.ts +6 -3
  21. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  22. package/dist/commons/events/FieldValue.d.ts +48 -7
  23. package/dist/commons/events/FormConfig.d.ts +20532 -9126
  24. package/dist/commons/events/PageConfig.d.ts +4906 -2112
  25. package/dist/commons/events/SummaryConfig.d.ts +17 -5
  26. package/dist/commons/events/User.d.ts +31 -7
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +4784 -16
  29. package/dist/commons/events/defineConfig.d.ts +3197 -626
  30. package/dist/commons/events/event.d.ts +37 -8
  31. package/dist/commons/events/field.d.ts +29 -20
  32. package/dist/commons/events/index.d.ts +4 -0
  33. package/dist/commons/events/scopes.d.ts +20 -1
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +147 -41
  36. package/dist/commons/events/utils.d.ts +10707 -318
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +45 -8
  39. package/dist/events/index.js +3408 -1469
  40. package/dist/scopes/index.d.ts +158 -1
  41. package/dist/scopes/index.js +152 -1
  42. package/package.json +1 -1
@@ -2,23 +2,17 @@ import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  type: z.ZodString;
5
- dateOfEvent: z.ZodOptional<z.ZodObject<{
6
- fieldId: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- fieldId: string;
9
- }, {
10
- fieldId: string;
11
- }>>;
12
5
  createdAt: z.ZodString;
13
6
  updatedAt: z.ZodString;
14
- updatedAtLocation: z.ZodString;
15
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
16
8
  id: z.ZodString;
17
9
  transactionId: z.ZodString;
18
10
  createdAt: z.ZodString;
19
11
  createdBy: z.ZodString;
20
12
  createdByRole: z.ZodString;
21
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
22
16
  filename: z.ZodString;
23
17
  originalFilename: z.ZodString;
24
18
  type: z.ZodString;
@@ -131,8 +125,20 @@ export declare const EventDocument: z.ZodObject<{
131
125
  addressLine2?: string | null | undefined;
132
126
  addressLine3?: string | null | undefined;
133
127
  postcodeOrZip?: string | null | undefined;
134
- }>]>>;
135
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
136
142
  filename: z.ZodString;
137
143
  originalFilename: z.ZodString;
138
144
  type: z.ZodString;
@@ -245,9 +251,19 @@ export declare const EventDocument: z.ZodObject<{
245
251
  addressLine2?: string | null | undefined;
246
252
  addressLine3?: string | null | undefined;
247
253
  postcodeOrZip?: string | null | undefined;
248
- }>]>>>;
249
- createdAtLocation: z.ZodOptional<z.ZodString>;
250
- updatedAtLocation: z.ZodOptional<z.ZodString>;
254
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
255
+ firstname: z.ZodString;
256
+ surname: z.ZodString;
257
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ firstname: string;
260
+ surname: string;
261
+ middlename?: string | null | undefined;
262
+ }, {
263
+ firstname: string;
264
+ surname: string;
265
+ middlename?: string | null | undefined;
266
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
251
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
252
268
  originalActionId: z.ZodOptional<z.ZodString>;
253
269
  }, {
@@ -275,6 +291,10 @@ export declare const EventDocument: z.ZodObject<{
275
291
  residentialArea?: string | null | undefined;
276
292
  street?: string | null | undefined;
277
293
  zipCode?: string | null | undefined;
294
+ } | {
295
+ firstname: string;
296
+ surname: string;
297
+ middlename?: string | null | undefined;
278
298
  } | {
279
299
  country: string;
280
300
  district: string;
@@ -297,7 +317,9 @@ export declare const EventDocument: z.ZodObject<{
297
317
  option: string;
298
318
  filename: string;
299
319
  originalFilename: string;
300
- }[] | undefined>;
320
+ }[] | [string, string] | null | undefined>;
321
+ createdBySignature?: string | null | undefined;
322
+ createdAtLocation?: string | null | undefined;
301
323
  annotation?: Record<string, string | number | boolean | {
302
324
  type: string;
303
325
  filename: string;
@@ -313,6 +335,10 @@ export declare const EventDocument: z.ZodObject<{
313
335
  residentialArea?: string | null | undefined;
314
336
  street?: string | null | undefined;
315
337
  zipCode?: string | null | undefined;
338
+ } | {
339
+ firstname: string;
340
+ surname: string;
341
+ middlename?: string | null | undefined;
316
342
  } | {
317
343
  country: string;
318
344
  district: string;
@@ -335,9 +361,7 @@ export declare const EventDocument: z.ZodObject<{
335
361
  option: string;
336
362
  filename: string;
337
363
  originalFilename: string;
338
- }[] | undefined> | undefined;
339
- createdAtLocation?: string | undefined;
340
- updatedAtLocation?: string | undefined;
364
+ }[] | [string, string] | null | undefined> | undefined;
341
365
  originalActionId?: string | undefined;
342
366
  }, {
343
367
  type: "CREATE";
@@ -362,6 +386,10 @@ export declare const EventDocument: z.ZodObject<{
362
386
  residentialArea?: string | null | undefined;
363
387
  street?: string | null | undefined;
364
388
  zipCode?: string | null | undefined;
389
+ } | {
390
+ firstname: string;
391
+ surname: string;
392
+ middlename?: string | null | undefined;
365
393
  } | {
366
394
  country: string;
367
395
  district: string;
@@ -384,7 +412,9 @@ export declare const EventDocument: z.ZodObject<{
384
412
  option: string;
385
413
  filename: string;
386
414
  originalFilename: string;
387
- }[] | undefined>;
415
+ }[] | [string, string] | null | undefined>;
416
+ createdBySignature?: string | null | undefined;
417
+ createdAtLocation?: string | null | undefined;
388
418
  annotation?: Record<string, string | number | boolean | {
389
419
  type: string;
390
420
  filename: string;
@@ -400,6 +430,10 @@ export declare const EventDocument: z.ZodObject<{
400
430
  residentialArea?: string | null | undefined;
401
431
  street?: string | null | undefined;
402
432
  zipCode?: string | null | undefined;
433
+ } | {
434
+ firstname: string;
435
+ surname: string;
436
+ middlename?: string | null | undefined;
403
437
  } | {
404
438
  country: string;
405
439
  district: string;
@@ -422,9 +456,7 @@ export declare const EventDocument: z.ZodObject<{
422
456
  option: string;
423
457
  filename: string;
424
458
  originalFilename: string;
425
- }[] | undefined> | undefined;
426
- createdAtLocation?: string | undefined;
427
- updatedAtLocation?: string | undefined;
459
+ }[] | [string, string] | null | undefined> | undefined;
428
460
  originalActionId?: string | undefined;
429
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
430
462
  id: z.ZodString;
@@ -432,7 +464,9 @@ export declare const EventDocument: z.ZodObject<{
432
464
  createdAt: z.ZodString;
433
465
  createdBy: z.ZodString;
434
466
  createdByRole: z.ZodString;
435
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
436
470
  filename: z.ZodString;
437
471
  originalFilename: z.ZodString;
438
472
  type: z.ZodString;
@@ -545,8 +579,20 @@ export declare const EventDocument: z.ZodObject<{
545
579
  addressLine2?: string | null | undefined;
546
580
  addressLine3?: string | null | undefined;
547
581
  postcodeOrZip?: string | null | undefined;
548
- }>]>>;
549
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
550
596
  filename: z.ZodString;
551
597
  originalFilename: z.ZodString;
552
598
  type: z.ZodString;
@@ -659,9 +705,19 @@ export declare const EventDocument: z.ZodObject<{
659
705
  addressLine2?: string | null | undefined;
660
706
  addressLine3?: string | null | undefined;
661
707
  postcodeOrZip?: string | null | undefined;
662
- }>]>>>;
663
- createdAtLocation: z.ZodOptional<z.ZodString>;
664
- updatedAtLocation: z.ZodOptional<z.ZodString>;
708
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
709
+ firstname: z.ZodString;
710
+ surname: z.ZodString;
711
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ firstname: string;
714
+ surname: string;
715
+ middlename?: string | null | undefined;
716
+ }, {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
720
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
665
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
666
722
  originalActionId: z.ZodOptional<z.ZodString>;
667
723
  }, {
@@ -689,6 +745,10 @@ export declare const EventDocument: z.ZodObject<{
689
745
  residentialArea?: string | null | undefined;
690
746
  street?: string | null | undefined;
691
747
  zipCode?: string | null | undefined;
748
+ } | {
749
+ firstname: string;
750
+ surname: string;
751
+ middlename?: string | null | undefined;
692
752
  } | {
693
753
  country: string;
694
754
  district: string;
@@ -711,7 +771,9 @@ export declare const EventDocument: z.ZodObject<{
711
771
  option: string;
712
772
  filename: string;
713
773
  originalFilename: string;
714
- }[] | undefined>;
774
+ }[] | [string, string] | null | undefined>;
775
+ createdBySignature?: string | null | undefined;
776
+ createdAtLocation?: string | null | undefined;
715
777
  annotation?: Record<string, string | number | boolean | {
716
778
  type: string;
717
779
  filename: string;
@@ -727,6 +789,10 @@ export declare const EventDocument: z.ZodObject<{
727
789
  residentialArea?: string | null | undefined;
728
790
  street?: string | null | undefined;
729
791
  zipCode?: string | null | undefined;
792
+ } | {
793
+ firstname: string;
794
+ surname: string;
795
+ middlename?: string | null | undefined;
730
796
  } | {
731
797
  country: string;
732
798
  district: string;
@@ -749,9 +815,7 @@ export declare const EventDocument: z.ZodObject<{
749
815
  option: string;
750
816
  filename: string;
751
817
  originalFilename: string;
752
- }[] | undefined> | undefined;
753
- createdAtLocation?: string | undefined;
754
- updatedAtLocation?: string | undefined;
818
+ }[] | [string, string] | null | undefined> | undefined;
755
819
  originalActionId?: string | undefined;
756
820
  }, {
757
821
  type: "VALIDATE";
@@ -776,6 +840,10 @@ export declare const EventDocument: z.ZodObject<{
776
840
  residentialArea?: string | null | undefined;
777
841
  street?: string | null | undefined;
778
842
  zipCode?: string | null | undefined;
843
+ } | {
844
+ firstname: string;
845
+ surname: string;
846
+ middlename?: string | null | undefined;
779
847
  } | {
780
848
  country: string;
781
849
  district: string;
@@ -798,7 +866,9 @@ export declare const EventDocument: z.ZodObject<{
798
866
  option: string;
799
867
  filename: string;
800
868
  originalFilename: string;
801
- }[] | undefined>;
869
+ }[] | [string, string] | null | undefined>;
870
+ createdBySignature?: string | null | undefined;
871
+ createdAtLocation?: string | null | undefined;
802
872
  annotation?: Record<string, string | number | boolean | {
803
873
  type: string;
804
874
  filename: string;
@@ -814,6 +884,10 @@ export declare const EventDocument: z.ZodObject<{
814
884
  residentialArea?: string | null | undefined;
815
885
  street?: string | null | undefined;
816
886
  zipCode?: string | null | undefined;
887
+ } | {
888
+ firstname: string;
889
+ surname: string;
890
+ middlename?: string | null | undefined;
817
891
  } | {
818
892
  country: string;
819
893
  district: string;
@@ -836,9 +910,7 @@ export declare const EventDocument: z.ZodObject<{
836
910
  option: string;
837
911
  filename: string;
838
912
  originalFilename: string;
839
- }[] | undefined> | undefined;
840
- createdAtLocation?: string | undefined;
841
- updatedAtLocation?: string | undefined;
913
+ }[] | [string, string] | null | undefined> | undefined;
842
914
  originalActionId?: string | undefined;
843
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
844
916
  id: z.ZodString;
@@ -846,7 +918,9 @@ export declare const EventDocument: z.ZodObject<{
846
918
  createdAt: z.ZodString;
847
919
  createdBy: z.ZodString;
848
920
  createdByRole: z.ZodString;
849
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
921
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
850
924
  filename: z.ZodString;
851
925
  originalFilename: z.ZodString;
852
926
  type: z.ZodString;
@@ -959,8 +1033,20 @@ export declare const EventDocument: z.ZodObject<{
959
1033
  addressLine2?: string | null | undefined;
960
1034
  addressLine3?: string | null | undefined;
961
1035
  postcodeOrZip?: string | null | undefined;
962
- }>]>>;
963
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
964
1050
  filename: z.ZodString;
965
1051
  originalFilename: z.ZodString;
966
1052
  type: z.ZodString;
@@ -1073,17 +1159,41 @@ export declare const EventDocument: z.ZodObject<{
1073
1159
  addressLine2?: string | null | undefined;
1074
1160
  addressLine3?: string | null | undefined;
1075
1161
  postcodeOrZip?: string | null | undefined;
1076
- }>]>>>;
1077
- createdAtLocation: z.ZodOptional<z.ZodString>;
1078
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1162
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1163
+ firstname: z.ZodString;
1164
+ surname: z.ZodString;
1165
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ firstname: string;
1168
+ surname: string;
1169
+ middlename?: string | null | undefined;
1170
+ }, {
1171
+ firstname: string;
1172
+ surname: string;
1173
+ middlename?: string | null | undefined;
1174
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1079
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1080
1176
  originalActionId: z.ZodOptional<z.ZodString>;
1081
1177
  }, {
1082
1178
  type: z.ZodLiteral<"REJECT">;
1179
+ reason: z.ZodObject<{
1180
+ message: z.ZodString;
1181
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ message: string;
1184
+ isDuplicate?: boolean | undefined;
1185
+ }, {
1186
+ message: string;
1187
+ isDuplicate?: boolean | undefined;
1188
+ }>;
1083
1189
  }>, "strip", z.ZodTypeAny, {
1084
1190
  type: "REJECT";
1085
1191
  id: string;
1086
1192
  status: "Rejected" | "Requested" | "Accepted";
1193
+ reason: {
1194
+ message: string;
1195
+ isDuplicate?: boolean | undefined;
1196
+ };
1087
1197
  transactionId: string;
1088
1198
  createdAt: string;
1089
1199
  createdBy: string;
@@ -1103,6 +1213,10 @@ export declare const EventDocument: z.ZodObject<{
1103
1213
  residentialArea?: string | null | undefined;
1104
1214
  street?: string | null | undefined;
1105
1215
  zipCode?: string | null | undefined;
1216
+ } | {
1217
+ firstname: string;
1218
+ surname: string;
1219
+ middlename?: string | null | undefined;
1106
1220
  } | {
1107
1221
  country: string;
1108
1222
  district: string;
@@ -1125,7 +1239,9 @@ export declare const EventDocument: z.ZodObject<{
1125
1239
  option: string;
1126
1240
  filename: string;
1127
1241
  originalFilename: string;
1128
- }[] | undefined>;
1242
+ }[] | [string, string] | null | undefined>;
1243
+ createdBySignature?: string | null | undefined;
1244
+ createdAtLocation?: string | null | undefined;
1129
1245
  annotation?: Record<string, string | number | boolean | {
1130
1246
  type: string;
1131
1247
  filename: string;
@@ -1141,6 +1257,10 @@ export declare const EventDocument: z.ZodObject<{
1141
1257
  residentialArea?: string | null | undefined;
1142
1258
  street?: string | null | undefined;
1143
1259
  zipCode?: string | null | undefined;
1260
+ } | {
1261
+ firstname: string;
1262
+ surname: string;
1263
+ middlename?: string | null | undefined;
1144
1264
  } | {
1145
1265
  country: string;
1146
1266
  district: string;
@@ -1163,14 +1283,16 @@ export declare const EventDocument: z.ZodObject<{
1163
1283
  option: string;
1164
1284
  filename: string;
1165
1285
  originalFilename: string;
1166
- }[] | undefined> | undefined;
1167
- createdAtLocation?: string | undefined;
1168
- updatedAtLocation?: string | undefined;
1286
+ }[] | [string, string] | null | undefined> | undefined;
1169
1287
  originalActionId?: string | undefined;
1170
1288
  }, {
1171
1289
  type: "REJECT";
1172
1290
  id: string;
1173
1291
  status: "Rejected" | "Requested" | "Accepted";
1292
+ reason: {
1293
+ message: string;
1294
+ isDuplicate?: boolean | undefined;
1295
+ };
1174
1296
  transactionId: string;
1175
1297
  createdAt: string;
1176
1298
  createdBy: string;
@@ -1190,6 +1312,10 @@ export declare const EventDocument: z.ZodObject<{
1190
1312
  residentialArea?: string | null | undefined;
1191
1313
  street?: string | null | undefined;
1192
1314
  zipCode?: string | null | undefined;
1315
+ } | {
1316
+ firstname: string;
1317
+ surname: string;
1318
+ middlename?: string | null | undefined;
1193
1319
  } | {
1194
1320
  country: string;
1195
1321
  district: string;
@@ -1212,7 +1338,9 @@ export declare const EventDocument: z.ZodObject<{
1212
1338
  option: string;
1213
1339
  filename: string;
1214
1340
  originalFilename: string;
1215
- }[] | undefined>;
1341
+ }[] | [string, string] | null | undefined>;
1342
+ createdBySignature?: string | null | undefined;
1343
+ createdAtLocation?: string | null | undefined;
1216
1344
  annotation?: Record<string, string | number | boolean | {
1217
1345
  type: string;
1218
1346
  filename: string;
@@ -1228,6 +1356,10 @@ export declare const EventDocument: z.ZodObject<{
1228
1356
  residentialArea?: string | null | undefined;
1229
1357
  street?: string | null | undefined;
1230
1358
  zipCode?: string | null | undefined;
1359
+ } | {
1360
+ firstname: string;
1361
+ surname: string;
1362
+ middlename?: string | null | undefined;
1231
1363
  } | {
1232
1364
  country: string;
1233
1365
  district: string;
@@ -1250,9 +1382,7 @@ export declare const EventDocument: z.ZodObject<{
1250
1382
  option: string;
1251
1383
  filename: string;
1252
1384
  originalFilename: string;
1253
- }[] | undefined> | undefined;
1254
- createdAtLocation?: string | undefined;
1255
- updatedAtLocation?: string | undefined;
1385
+ }[] | [string, string] | null | undefined> | undefined;
1256
1386
  originalActionId?: string | undefined;
1257
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1258
1388
  id: z.ZodString;
@@ -1260,7 +1390,9 @@ export declare const EventDocument: z.ZodObject<{
1260
1390
  createdAt: z.ZodString;
1261
1391
  createdBy: z.ZodString;
1262
1392
  createdByRole: z.ZodString;
1263
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1393
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1264
1396
  filename: z.ZodString;
1265
1397
  originalFilename: z.ZodString;
1266
1398
  type: z.ZodString;
@@ -1373,8 +1505,20 @@ export declare const EventDocument: z.ZodObject<{
1373
1505
  addressLine2?: string | null | undefined;
1374
1506
  addressLine3?: string | null | undefined;
1375
1507
  postcodeOrZip?: string | null | undefined;
1376
- }>]>>;
1377
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
1378
1522
  filename: z.ZodString;
1379
1523
  originalFilename: z.ZodString;
1380
1524
  type: z.ZodString;
@@ -1487,9 +1631,19 @@ export declare const EventDocument: z.ZodObject<{
1487
1631
  addressLine2?: string | null | undefined;
1488
1632
  addressLine3?: string | null | undefined;
1489
1633
  postcodeOrZip?: string | null | undefined;
1490
- }>]>>>;
1491
- createdAtLocation: z.ZodOptional<z.ZodString>;
1492
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1634
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1635
+ firstname: z.ZodString;
1636
+ surname: z.ZodString;
1637
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
+ }, "strip", z.ZodTypeAny, {
1639
+ firstname: string;
1640
+ surname: string;
1641
+ middlename?: string | null | undefined;
1642
+ }, {
1643
+ firstname: string;
1644
+ surname: string;
1645
+ middlename?: string | null | undefined;
1646
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1493
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1494
1648
  originalActionId: z.ZodOptional<z.ZodString>;
1495
1649
  }, {
@@ -1517,6 +1671,10 @@ export declare const EventDocument: z.ZodObject<{
1517
1671
  residentialArea?: string | null | undefined;
1518
1672
  street?: string | null | undefined;
1519
1673
  zipCode?: string | null | undefined;
1674
+ } | {
1675
+ firstname: string;
1676
+ surname: string;
1677
+ middlename?: string | null | undefined;
1520
1678
  } | {
1521
1679
  country: string;
1522
1680
  district: string;
@@ -1539,7 +1697,9 @@ export declare const EventDocument: z.ZodObject<{
1539
1697
  option: string;
1540
1698
  filename: string;
1541
1699
  originalFilename: string;
1542
- }[] | undefined>;
1700
+ }[] | [string, string] | null | undefined>;
1701
+ createdBySignature?: string | null | undefined;
1702
+ createdAtLocation?: string | null | undefined;
1543
1703
  annotation?: Record<string, string | number | boolean | {
1544
1704
  type: string;
1545
1705
  filename: string;
@@ -1555,6 +1715,10 @@ export declare const EventDocument: z.ZodObject<{
1555
1715
  residentialArea?: string | null | undefined;
1556
1716
  street?: string | null | undefined;
1557
1717
  zipCode?: string | null | undefined;
1718
+ } | {
1719
+ firstname: string;
1720
+ surname: string;
1721
+ middlename?: string | null | undefined;
1558
1722
  } | {
1559
1723
  country: string;
1560
1724
  district: string;
@@ -1577,9 +1741,7 @@ export declare const EventDocument: z.ZodObject<{
1577
1741
  option: string;
1578
1742
  filename: string;
1579
1743
  originalFilename: string;
1580
- }[] | undefined> | undefined;
1581
- createdAtLocation?: string | undefined;
1582
- updatedAtLocation?: string | undefined;
1744
+ }[] | [string, string] | null | undefined> | undefined;
1583
1745
  originalActionId?: string | undefined;
1584
1746
  }, {
1585
1747
  type: "MARKED_AS_DUPLICATE";
@@ -1604,6 +1766,10 @@ export declare const EventDocument: z.ZodObject<{
1604
1766
  residentialArea?: string | null | undefined;
1605
1767
  street?: string | null | undefined;
1606
1768
  zipCode?: string | null | undefined;
1769
+ } | {
1770
+ firstname: string;
1771
+ surname: string;
1772
+ middlename?: string | null | undefined;
1607
1773
  } | {
1608
1774
  country: string;
1609
1775
  district: string;
@@ -1626,7 +1792,9 @@ export declare const EventDocument: z.ZodObject<{
1626
1792
  option: string;
1627
1793
  filename: string;
1628
1794
  originalFilename: string;
1629
- }[] | undefined>;
1795
+ }[] | [string, string] | null | undefined>;
1796
+ createdBySignature?: string | null | undefined;
1797
+ createdAtLocation?: string | null | undefined;
1630
1798
  annotation?: Record<string, string | number | boolean | {
1631
1799
  type: string;
1632
1800
  filename: string;
@@ -1642,6 +1810,10 @@ export declare const EventDocument: z.ZodObject<{
1642
1810
  residentialArea?: string | null | undefined;
1643
1811
  street?: string | null | undefined;
1644
1812
  zipCode?: string | null | undefined;
1813
+ } | {
1814
+ firstname: string;
1815
+ surname: string;
1816
+ middlename?: string | null | undefined;
1645
1817
  } | {
1646
1818
  country: string;
1647
1819
  district: string;
@@ -1664,9 +1836,7 @@ export declare const EventDocument: z.ZodObject<{
1664
1836
  option: string;
1665
1837
  filename: string;
1666
1838
  originalFilename: string;
1667
- }[] | undefined> | undefined;
1668
- createdAtLocation?: string | undefined;
1669
- updatedAtLocation?: string | undefined;
1839
+ }[] | [string, string] | null | undefined> | undefined;
1670
1840
  originalActionId?: string | undefined;
1671
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1672
1842
  id: z.ZodString;
@@ -1674,7 +1844,9 @@ export declare const EventDocument: z.ZodObject<{
1674
1844
  createdAt: z.ZodString;
1675
1845
  createdBy: z.ZodString;
1676
1846
  createdByRole: z.ZodString;
1677
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1847
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1678
1850
  filename: z.ZodString;
1679
1851
  originalFilename: z.ZodString;
1680
1852
  type: z.ZodString;
@@ -1787,8 +1959,20 @@ export declare const EventDocument: z.ZodObject<{
1787
1959
  addressLine2?: string | null | undefined;
1788
1960
  addressLine3?: string | null | undefined;
1789
1961
  postcodeOrZip?: string | null | undefined;
1790
- }>]>>;
1791
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
1792
1976
  filename: z.ZodString;
1793
1977
  originalFilename: z.ZodString;
1794
1978
  type: z.ZodString;
@@ -1901,17 +2085,41 @@ export declare const EventDocument: z.ZodObject<{
1901
2085
  addressLine2?: string | null | undefined;
1902
2086
  addressLine3?: string | null | undefined;
1903
2087
  postcodeOrZip?: string | null | undefined;
1904
- }>]>>>;
1905
- createdAtLocation: z.ZodOptional<z.ZodString>;
1906
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2088
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2089
+ firstname: z.ZodString;
2090
+ surname: z.ZodString;
2091
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ firstname: string;
2094
+ surname: string;
2095
+ middlename?: string | null | undefined;
2096
+ }, {
2097
+ firstname: string;
2098
+ surname: string;
2099
+ middlename?: string | null | undefined;
2100
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1907
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1908
2102
  originalActionId: z.ZodOptional<z.ZodString>;
1909
2103
  }, {
1910
2104
  type: z.ZodLiteral<"ARCHIVE">;
2105
+ reason: z.ZodObject<{
2106
+ message: z.ZodString;
2107
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2108
+ }, "strip", z.ZodTypeAny, {
2109
+ message: string;
2110
+ isDuplicate?: boolean | undefined;
2111
+ }, {
2112
+ message: string;
2113
+ isDuplicate?: boolean | undefined;
2114
+ }>;
1911
2115
  }>, "strip", z.ZodTypeAny, {
1912
2116
  type: "ARCHIVE";
1913
2117
  id: string;
1914
2118
  status: "Rejected" | "Requested" | "Accepted";
2119
+ reason: {
2120
+ message: string;
2121
+ isDuplicate?: boolean | undefined;
2122
+ };
1915
2123
  transactionId: string;
1916
2124
  createdAt: string;
1917
2125
  createdBy: string;
@@ -1931,6 +2139,10 @@ export declare const EventDocument: z.ZodObject<{
1931
2139
  residentialArea?: string | null | undefined;
1932
2140
  street?: string | null | undefined;
1933
2141
  zipCode?: string | null | undefined;
2142
+ } | {
2143
+ firstname: string;
2144
+ surname: string;
2145
+ middlename?: string | null | undefined;
1934
2146
  } | {
1935
2147
  country: string;
1936
2148
  district: string;
@@ -1953,7 +2165,9 @@ export declare const EventDocument: z.ZodObject<{
1953
2165
  option: string;
1954
2166
  filename: string;
1955
2167
  originalFilename: string;
1956
- }[] | undefined>;
2168
+ }[] | [string, string] | null | undefined>;
2169
+ createdBySignature?: string | null | undefined;
2170
+ createdAtLocation?: string | null | undefined;
1957
2171
  annotation?: Record<string, string | number | boolean | {
1958
2172
  type: string;
1959
2173
  filename: string;
@@ -1969,6 +2183,10 @@ export declare const EventDocument: z.ZodObject<{
1969
2183
  residentialArea?: string | null | undefined;
1970
2184
  street?: string | null | undefined;
1971
2185
  zipCode?: string | null | undefined;
2186
+ } | {
2187
+ firstname: string;
2188
+ surname: string;
2189
+ middlename?: string | null | undefined;
1972
2190
  } | {
1973
2191
  country: string;
1974
2192
  district: string;
@@ -1991,14 +2209,16 @@ export declare const EventDocument: z.ZodObject<{
1991
2209
  option: string;
1992
2210
  filename: string;
1993
2211
  originalFilename: string;
1994
- }[] | undefined> | undefined;
1995
- createdAtLocation?: string | undefined;
1996
- updatedAtLocation?: string | undefined;
2212
+ }[] | [string, string] | null | undefined> | undefined;
1997
2213
  originalActionId?: string | undefined;
1998
2214
  }, {
1999
2215
  type: "ARCHIVE";
2000
2216
  id: string;
2001
2217
  status: "Rejected" | "Requested" | "Accepted";
2218
+ reason: {
2219
+ message: string;
2220
+ isDuplicate?: boolean | undefined;
2221
+ };
2002
2222
  transactionId: string;
2003
2223
  createdAt: string;
2004
2224
  createdBy: string;
@@ -2018,6 +2238,10 @@ export declare const EventDocument: z.ZodObject<{
2018
2238
  residentialArea?: string | null | undefined;
2019
2239
  street?: string | null | undefined;
2020
2240
  zipCode?: string | null | undefined;
2241
+ } | {
2242
+ firstname: string;
2243
+ surname: string;
2244
+ middlename?: string | null | undefined;
2021
2245
  } | {
2022
2246
  country: string;
2023
2247
  district: string;
@@ -2040,7 +2264,9 @@ export declare const EventDocument: z.ZodObject<{
2040
2264
  option: string;
2041
2265
  filename: string;
2042
2266
  originalFilename: string;
2043
- }[] | undefined>;
2267
+ }[] | [string, string] | null | undefined>;
2268
+ createdBySignature?: string | null | undefined;
2269
+ createdAtLocation?: string | null | undefined;
2044
2270
  annotation?: Record<string, string | number | boolean | {
2045
2271
  type: string;
2046
2272
  filename: string;
@@ -2056,6 +2282,10 @@ export declare const EventDocument: z.ZodObject<{
2056
2282
  residentialArea?: string | null | undefined;
2057
2283
  street?: string | null | undefined;
2058
2284
  zipCode?: string | null | undefined;
2285
+ } | {
2286
+ firstname: string;
2287
+ surname: string;
2288
+ middlename?: string | null | undefined;
2059
2289
  } | {
2060
2290
  country: string;
2061
2291
  district: string;
@@ -2078,9 +2308,7 @@ export declare const EventDocument: z.ZodObject<{
2078
2308
  option: string;
2079
2309
  filename: string;
2080
2310
  originalFilename: string;
2081
- }[] | undefined> | undefined;
2082
- createdAtLocation?: string | undefined;
2083
- updatedAtLocation?: string | undefined;
2311
+ }[] | [string, string] | null | undefined> | undefined;
2084
2312
  originalActionId?: string | undefined;
2085
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2086
2314
  id: z.ZodString;
@@ -2088,7 +2316,9 @@ export declare const EventDocument: z.ZodObject<{
2088
2316
  createdAt: z.ZodString;
2089
2317
  createdBy: z.ZodString;
2090
2318
  createdByRole: z.ZodString;
2091
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2319
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2092
2322
  filename: z.ZodString;
2093
2323
  originalFilename: z.ZodString;
2094
2324
  type: z.ZodString;
@@ -2201,8 +2431,20 @@ export declare const EventDocument: z.ZodObject<{
2201
2431
  addressLine2?: string | null | undefined;
2202
2432
  addressLine3?: string | null | undefined;
2203
2433
  postcodeOrZip?: string | null | undefined;
2204
- }>]>>;
2205
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
2206
2448
  filename: z.ZodString;
2207
2449
  originalFilename: z.ZodString;
2208
2450
  type: z.ZodString;
@@ -2315,9 +2557,19 @@ export declare const EventDocument: z.ZodObject<{
2315
2557
  addressLine2?: string | null | undefined;
2316
2558
  addressLine3?: string | null | undefined;
2317
2559
  postcodeOrZip?: string | null | undefined;
2318
- }>]>>>;
2319
- createdAtLocation: z.ZodOptional<z.ZodString>;
2320
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2560
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2561
+ firstname: z.ZodString;
2562
+ surname: z.ZodString;
2563
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ firstname: string;
2566
+ surname: string;
2567
+ middlename?: string | null | undefined;
2568
+ }, {
2569
+ firstname: string;
2570
+ surname: string;
2571
+ middlename?: string | null | undefined;
2572
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2321
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2322
2574
  originalActionId: z.ZodOptional<z.ZodString>;
2323
2575
  }, {
@@ -2345,6 +2597,10 @@ export declare const EventDocument: z.ZodObject<{
2345
2597
  residentialArea?: string | null | undefined;
2346
2598
  street?: string | null | undefined;
2347
2599
  zipCode?: string | null | undefined;
2600
+ } | {
2601
+ firstname: string;
2602
+ surname: string;
2603
+ middlename?: string | null | undefined;
2348
2604
  } | {
2349
2605
  country: string;
2350
2606
  district: string;
@@ -2367,7 +2623,9 @@ export declare const EventDocument: z.ZodObject<{
2367
2623
  option: string;
2368
2624
  filename: string;
2369
2625
  originalFilename: string;
2370
- }[] | undefined>;
2626
+ }[] | [string, string] | null | undefined>;
2627
+ createdBySignature?: string | null | undefined;
2628
+ createdAtLocation?: string | null | undefined;
2371
2629
  annotation?: Record<string, string | number | boolean | {
2372
2630
  type: string;
2373
2631
  filename: string;
@@ -2383,6 +2641,10 @@ export declare const EventDocument: z.ZodObject<{
2383
2641
  residentialArea?: string | null | undefined;
2384
2642
  street?: string | null | undefined;
2385
2643
  zipCode?: string | null | undefined;
2644
+ } | {
2645
+ firstname: string;
2646
+ surname: string;
2647
+ middlename?: string | null | undefined;
2386
2648
  } | {
2387
2649
  country: string;
2388
2650
  district: string;
@@ -2405,9 +2667,7 @@ export declare const EventDocument: z.ZodObject<{
2405
2667
  option: string;
2406
2668
  filename: string;
2407
2669
  originalFilename: string;
2408
- }[] | undefined> | undefined;
2409
- createdAtLocation?: string | undefined;
2410
- updatedAtLocation?: string | undefined;
2670
+ }[] | [string, string] | null | undefined> | undefined;
2411
2671
  originalActionId?: string | undefined;
2412
2672
  }, {
2413
2673
  type: "NOTIFY";
@@ -2432,6 +2692,10 @@ export declare const EventDocument: z.ZodObject<{
2432
2692
  residentialArea?: string | null | undefined;
2433
2693
  street?: string | null | undefined;
2434
2694
  zipCode?: string | null | undefined;
2695
+ } | {
2696
+ firstname: string;
2697
+ surname: string;
2698
+ middlename?: string | null | undefined;
2435
2699
  } | {
2436
2700
  country: string;
2437
2701
  district: string;
@@ -2454,7 +2718,9 @@ export declare const EventDocument: z.ZodObject<{
2454
2718
  option: string;
2455
2719
  filename: string;
2456
2720
  originalFilename: string;
2457
- }[] | undefined>;
2721
+ }[] | [string, string] | null | undefined>;
2722
+ createdBySignature?: string | null | undefined;
2723
+ createdAtLocation?: string | null | undefined;
2458
2724
  annotation?: Record<string, string | number | boolean | {
2459
2725
  type: string;
2460
2726
  filename: string;
@@ -2470,6 +2736,10 @@ export declare const EventDocument: z.ZodObject<{
2470
2736
  residentialArea?: string | null | undefined;
2471
2737
  street?: string | null | undefined;
2472
2738
  zipCode?: string | null | undefined;
2739
+ } | {
2740
+ firstname: string;
2741
+ surname: string;
2742
+ middlename?: string | null | undefined;
2473
2743
  } | {
2474
2744
  country: string;
2475
2745
  district: string;
@@ -2492,9 +2762,7 @@ export declare const EventDocument: z.ZodObject<{
2492
2762
  option: string;
2493
2763
  filename: string;
2494
2764
  originalFilename: string;
2495
- }[] | undefined> | undefined;
2496
- createdAtLocation?: string | undefined;
2497
- updatedAtLocation?: string | undefined;
2765
+ }[] | [string, string] | null | undefined> | undefined;
2498
2766
  originalActionId?: string | undefined;
2499
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2500
2768
  id: z.ZodString;
@@ -2502,7 +2770,9 @@ export declare const EventDocument: z.ZodObject<{
2502
2770
  createdAt: z.ZodString;
2503
2771
  createdBy: z.ZodString;
2504
2772
  createdByRole: z.ZodString;
2505
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2773
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2506
2776
  filename: z.ZodString;
2507
2777
  originalFilename: z.ZodString;
2508
2778
  type: z.ZodString;
@@ -2615,8 +2885,20 @@ export declare const EventDocument: z.ZodObject<{
2615
2885
  addressLine2?: string | null | undefined;
2616
2886
  addressLine3?: string | null | undefined;
2617
2887
  postcodeOrZip?: string | null | undefined;
2618
- }>]>>;
2619
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
2620
2902
  filename: z.ZodString;
2621
2903
  originalFilename: z.ZodString;
2622
2904
  type: z.ZodString;
@@ -2729,9 +3011,19 @@ export declare const EventDocument: z.ZodObject<{
2729
3011
  addressLine2?: string | null | undefined;
2730
3012
  addressLine3?: string | null | undefined;
2731
3013
  postcodeOrZip?: string | null | undefined;
2732
- }>]>>>;
2733
- createdAtLocation: z.ZodOptional<z.ZodString>;
2734
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3014
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3015
+ firstname: z.ZodString;
3016
+ surname: z.ZodString;
3017
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ firstname: string;
3020
+ surname: string;
3021
+ middlename?: string | null | undefined;
3022
+ }, {
3023
+ firstname: string;
3024
+ surname: string;
3025
+ middlename?: string | null | undefined;
3026
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2735
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2736
3028
  originalActionId: z.ZodOptional<z.ZodString>;
2737
3029
  }, {
@@ -2760,6 +3052,10 @@ export declare const EventDocument: z.ZodObject<{
2760
3052
  residentialArea?: string | null | undefined;
2761
3053
  street?: string | null | undefined;
2762
3054
  zipCode?: string | null | undefined;
3055
+ } | {
3056
+ firstname: string;
3057
+ surname: string;
3058
+ middlename?: string | null | undefined;
2763
3059
  } | {
2764
3060
  country: string;
2765
3061
  district: string;
@@ -2782,7 +3078,9 @@ export declare const EventDocument: z.ZodObject<{
2782
3078
  option: string;
2783
3079
  filename: string;
2784
3080
  originalFilename: string;
2785
- }[] | undefined>;
3081
+ }[] | [string, string] | null | undefined>;
3082
+ createdBySignature?: string | null | undefined;
3083
+ createdAtLocation?: string | null | undefined;
2786
3084
  annotation?: Record<string, string | number | boolean | {
2787
3085
  type: string;
2788
3086
  filename: string;
@@ -2798,6 +3096,10 @@ export declare const EventDocument: z.ZodObject<{
2798
3096
  residentialArea?: string | null | undefined;
2799
3097
  street?: string | null | undefined;
2800
3098
  zipCode?: string | null | undefined;
3099
+ } | {
3100
+ firstname: string;
3101
+ surname: string;
3102
+ middlename?: string | null | undefined;
2801
3103
  } | {
2802
3104
  country: string;
2803
3105
  district: string;
@@ -2820,9 +3122,7 @@ export declare const EventDocument: z.ZodObject<{
2820
3122
  option: string;
2821
3123
  filename: string;
2822
3124
  originalFilename: string;
2823
- }[] | undefined> | undefined;
2824
- createdAtLocation?: string | undefined;
2825
- updatedAtLocation?: string | undefined;
3125
+ }[] | [string, string] | null | undefined> | undefined;
2826
3126
  originalActionId?: string | undefined;
2827
3127
  registrationNumber?: string | undefined;
2828
3128
  }, {
@@ -2848,6 +3148,10 @@ export declare const EventDocument: z.ZodObject<{
2848
3148
  residentialArea?: string | null | undefined;
2849
3149
  street?: string | null | undefined;
2850
3150
  zipCode?: string | null | undefined;
3151
+ } | {
3152
+ firstname: string;
3153
+ surname: string;
3154
+ middlename?: string | null | undefined;
2851
3155
  } | {
2852
3156
  country: string;
2853
3157
  district: string;
@@ -2870,7 +3174,9 @@ export declare const EventDocument: z.ZodObject<{
2870
3174
  option: string;
2871
3175
  filename: string;
2872
3176
  originalFilename: string;
2873
- }[] | undefined>;
3177
+ }[] | [string, string] | null | undefined>;
3178
+ createdBySignature?: string | null | undefined;
3179
+ createdAtLocation?: string | null | undefined;
2874
3180
  annotation?: Record<string, string | number | boolean | {
2875
3181
  type: string;
2876
3182
  filename: string;
@@ -2886,6 +3192,10 @@ export declare const EventDocument: z.ZodObject<{
2886
3192
  residentialArea?: string | null | undefined;
2887
3193
  street?: string | null | undefined;
2888
3194
  zipCode?: string | null | undefined;
3195
+ } | {
3196
+ firstname: string;
3197
+ surname: string;
3198
+ middlename?: string | null | undefined;
2889
3199
  } | {
2890
3200
  country: string;
2891
3201
  district: string;
@@ -2908,9 +3218,7 @@ export declare const EventDocument: z.ZodObject<{
2908
3218
  option: string;
2909
3219
  filename: string;
2910
3220
  originalFilename: string;
2911
- }[] | undefined> | undefined;
2912
- createdAtLocation?: string | undefined;
2913
- updatedAtLocation?: string | undefined;
3221
+ }[] | [string, string] | null | undefined> | undefined;
2914
3222
  originalActionId?: string | undefined;
2915
3223
  registrationNumber?: string | undefined;
2916
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -2919,7 +3227,9 @@ export declare const EventDocument: z.ZodObject<{
2919
3227
  createdAt: z.ZodString;
2920
3228
  createdBy: z.ZodString;
2921
3229
  createdByRole: z.ZodString;
2922
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3230
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2923
3233
  filename: z.ZodString;
2924
3234
  originalFilename: z.ZodString;
2925
3235
  type: z.ZodString;
@@ -3032,8 +3342,20 @@ export declare const EventDocument: z.ZodObject<{
3032
3342
  addressLine2?: string | null | undefined;
3033
3343
  addressLine3?: string | null | undefined;
3034
3344
  postcodeOrZip?: string | null | undefined;
3035
- }>]>>;
3036
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
3037
3359
  filename: z.ZodString;
3038
3360
  originalFilename: z.ZodString;
3039
3361
  type: z.ZodString;
@@ -3146,9 +3468,19 @@ export declare const EventDocument: z.ZodObject<{
3146
3468
  addressLine2?: string | null | undefined;
3147
3469
  addressLine3?: string | null | undefined;
3148
3470
  postcodeOrZip?: string | null | undefined;
3149
- }>]>>>;
3150
- createdAtLocation: z.ZodOptional<z.ZodString>;
3151
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3471
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3472
+ firstname: z.ZodString;
3473
+ surname: z.ZodString;
3474
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3475
+ }, "strip", z.ZodTypeAny, {
3476
+ firstname: string;
3477
+ surname: string;
3478
+ middlename?: string | null | undefined;
3479
+ }, {
3480
+ firstname: string;
3481
+ surname: string;
3482
+ middlename?: string | null | undefined;
3483
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3152
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3153
3485
  originalActionId: z.ZodOptional<z.ZodString>;
3154
3486
  }, {
@@ -3176,6 +3508,10 @@ export declare const EventDocument: z.ZodObject<{
3176
3508
  residentialArea?: string | null | undefined;
3177
3509
  street?: string | null | undefined;
3178
3510
  zipCode?: string | null | undefined;
3511
+ } | {
3512
+ firstname: string;
3513
+ surname: string;
3514
+ middlename?: string | null | undefined;
3179
3515
  } | {
3180
3516
  country: string;
3181
3517
  district: string;
@@ -3198,7 +3534,9 @@ export declare const EventDocument: z.ZodObject<{
3198
3534
  option: string;
3199
3535
  filename: string;
3200
3536
  originalFilename: string;
3201
- }[] | undefined>;
3537
+ }[] | [string, string] | null | undefined>;
3538
+ createdBySignature?: string | null | undefined;
3539
+ createdAtLocation?: string | null | undefined;
3202
3540
  annotation?: Record<string, string | number | boolean | {
3203
3541
  type: string;
3204
3542
  filename: string;
@@ -3214,6 +3552,10 @@ export declare const EventDocument: z.ZodObject<{
3214
3552
  residentialArea?: string | null | undefined;
3215
3553
  street?: string | null | undefined;
3216
3554
  zipCode?: string | null | undefined;
3555
+ } | {
3556
+ firstname: string;
3557
+ surname: string;
3558
+ middlename?: string | null | undefined;
3217
3559
  } | {
3218
3560
  country: string;
3219
3561
  district: string;
@@ -3236,9 +3578,7 @@ export declare const EventDocument: z.ZodObject<{
3236
3578
  option: string;
3237
3579
  filename: string;
3238
3580
  originalFilename: string;
3239
- }[] | undefined> | undefined;
3240
- createdAtLocation?: string | undefined;
3241
- updatedAtLocation?: string | undefined;
3581
+ }[] | [string, string] | null | undefined> | undefined;
3242
3582
  originalActionId?: string | undefined;
3243
3583
  }, {
3244
3584
  type: "DECLARE";
@@ -3263,6 +3603,10 @@ export declare const EventDocument: z.ZodObject<{
3263
3603
  residentialArea?: string | null | undefined;
3264
3604
  street?: string | null | undefined;
3265
3605
  zipCode?: string | null | undefined;
3606
+ } | {
3607
+ firstname: string;
3608
+ surname: string;
3609
+ middlename?: string | null | undefined;
3266
3610
  } | {
3267
3611
  country: string;
3268
3612
  district: string;
@@ -3285,7 +3629,9 @@ export declare const EventDocument: z.ZodObject<{
3285
3629
  option: string;
3286
3630
  filename: string;
3287
3631
  originalFilename: string;
3288
- }[] | undefined>;
3632
+ }[] | [string, string] | null | undefined>;
3633
+ createdBySignature?: string | null | undefined;
3634
+ createdAtLocation?: string | null | undefined;
3289
3635
  annotation?: Record<string, string | number | boolean | {
3290
3636
  type: string;
3291
3637
  filename: string;
@@ -3301,6 +3647,10 @@ export declare const EventDocument: z.ZodObject<{
3301
3647
  residentialArea?: string | null | undefined;
3302
3648
  street?: string | null | undefined;
3303
3649
  zipCode?: string | null | undefined;
3650
+ } | {
3651
+ firstname: string;
3652
+ surname: string;
3653
+ middlename?: string | null | undefined;
3304
3654
  } | {
3305
3655
  country: string;
3306
3656
  district: string;
@@ -3323,9 +3673,7 @@ export declare const EventDocument: z.ZodObject<{
3323
3673
  option: string;
3324
3674
  filename: string;
3325
3675
  originalFilename: string;
3326
- }[] | undefined> | undefined;
3327
- createdAtLocation?: string | undefined;
3328
- updatedAtLocation?: string | undefined;
3676
+ }[] | [string, string] | null | undefined> | undefined;
3329
3677
  originalActionId?: string | undefined;
3330
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3331
3679
  id: z.ZodString;
@@ -3333,7 +3681,9 @@ export declare const EventDocument: z.ZodObject<{
3333
3681
  createdAt: z.ZodString;
3334
3682
  createdBy: z.ZodString;
3335
3683
  createdByRole: z.ZodString;
3336
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3684
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3337
3687
  filename: z.ZodString;
3338
3688
  originalFilename: z.ZodString;
3339
3689
  type: z.ZodString;
@@ -3446,8 +3796,20 @@ export declare const EventDocument: z.ZodObject<{
3446
3796
  addressLine2?: string | null | undefined;
3447
3797
  addressLine3?: string | null | undefined;
3448
3798
  postcodeOrZip?: string | null | undefined;
3449
- }>]>>;
3450
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
3451
3813
  filename: z.ZodString;
3452
3814
  originalFilename: z.ZodString;
3453
3815
  type: z.ZodString;
@@ -3560,9 +3922,19 @@ export declare const EventDocument: z.ZodObject<{
3560
3922
  addressLine2?: string | null | undefined;
3561
3923
  addressLine3?: string | null | undefined;
3562
3924
  postcodeOrZip?: string | null | undefined;
3563
- }>]>>>;
3564
- createdAtLocation: z.ZodOptional<z.ZodString>;
3565
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3925
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3926
+ firstname: z.ZodString;
3927
+ surname: z.ZodString;
3928
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3929
+ }, "strip", z.ZodTypeAny, {
3930
+ firstname: string;
3931
+ surname: string;
3932
+ middlename?: string | null | undefined;
3933
+ }, {
3934
+ firstname: string;
3935
+ surname: string;
3936
+ middlename?: string | null | undefined;
3937
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3566
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3567
3939
  originalActionId: z.ZodOptional<z.ZodString>;
3568
3940
  }, {
@@ -3591,6 +3963,10 @@ export declare const EventDocument: z.ZodObject<{
3591
3963
  residentialArea?: string | null | undefined;
3592
3964
  street?: string | null | undefined;
3593
3965
  zipCode?: string | null | undefined;
3966
+ } | {
3967
+ firstname: string;
3968
+ surname: string;
3969
+ middlename?: string | null | undefined;
3594
3970
  } | {
3595
3971
  country: string;
3596
3972
  district: string;
@@ -3613,8 +3989,10 @@ export declare const EventDocument: z.ZodObject<{
3613
3989
  option: string;
3614
3990
  filename: string;
3615
3991
  originalFilename: string;
3616
- }[] | undefined>;
3992
+ }[] | [string, string] | null | undefined>;
3617
3993
  assignedTo: string;
3994
+ createdBySignature?: string | null | undefined;
3995
+ createdAtLocation?: string | null | undefined;
3618
3996
  annotation?: Record<string, string | number | boolean | {
3619
3997
  type: string;
3620
3998
  filename: string;
@@ -3630,6 +4008,10 @@ export declare const EventDocument: z.ZodObject<{
3630
4008
  residentialArea?: string | null | undefined;
3631
4009
  street?: string | null | undefined;
3632
4010
  zipCode?: string | null | undefined;
4011
+ } | {
4012
+ firstname: string;
4013
+ surname: string;
4014
+ middlename?: string | null | undefined;
3633
4015
  } | {
3634
4016
  country: string;
3635
4017
  district: string;
@@ -3652,9 +4034,7 @@ export declare const EventDocument: z.ZodObject<{
3652
4034
  option: string;
3653
4035
  filename: string;
3654
4036
  originalFilename: string;
3655
- }[] | undefined> | undefined;
3656
- createdAtLocation?: string | undefined;
3657
- updatedAtLocation?: string | undefined;
4037
+ }[] | [string, string] | null | undefined> | undefined;
3658
4038
  originalActionId?: string | undefined;
3659
4039
  }, {
3660
4040
  type: "ASSIGN";
@@ -3679,6 +4059,10 @@ export declare const EventDocument: z.ZodObject<{
3679
4059
  residentialArea?: string | null | undefined;
3680
4060
  street?: string | null | undefined;
3681
4061
  zipCode?: string | null | undefined;
4062
+ } | {
4063
+ firstname: string;
4064
+ surname: string;
4065
+ middlename?: string | null | undefined;
3682
4066
  } | {
3683
4067
  country: string;
3684
4068
  district: string;
@@ -3701,8 +4085,10 @@ export declare const EventDocument: z.ZodObject<{
3701
4085
  option: string;
3702
4086
  filename: string;
3703
4087
  originalFilename: string;
3704
- }[] | undefined>;
4088
+ }[] | [string, string] | null | undefined>;
3705
4089
  assignedTo: string;
4090
+ createdBySignature?: string | null | undefined;
4091
+ createdAtLocation?: string | null | undefined;
3706
4092
  annotation?: Record<string, string | number | boolean | {
3707
4093
  type: string;
3708
4094
  filename: string;
@@ -3718,6 +4104,10 @@ export declare const EventDocument: z.ZodObject<{
3718
4104
  residentialArea?: string | null | undefined;
3719
4105
  street?: string | null | undefined;
3720
4106
  zipCode?: string | null | undefined;
4107
+ } | {
4108
+ firstname: string;
4109
+ surname: string;
4110
+ middlename?: string | null | undefined;
3721
4111
  } | {
3722
4112
  country: string;
3723
4113
  district: string;
@@ -3740,9 +4130,7 @@ export declare const EventDocument: z.ZodObject<{
3740
4130
  option: string;
3741
4131
  filename: string;
3742
4132
  originalFilename: string;
3743
- }[] | undefined> | undefined;
3744
- createdAtLocation?: string | undefined;
3745
- updatedAtLocation?: string | undefined;
4133
+ }[] | [string, string] | null | undefined> | undefined;
3746
4134
  originalActionId?: string | undefined;
3747
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
3748
4136
  id: z.ZodString;
@@ -3750,7 +4138,9 @@ export declare const EventDocument: z.ZodObject<{
3750
4138
  createdAt: z.ZodString;
3751
4139
  createdBy: z.ZodString;
3752
4140
  createdByRole: z.ZodString;
3753
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4141
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3754
4144
  filename: z.ZodString;
3755
4145
  originalFilename: z.ZodString;
3756
4146
  type: z.ZodString;
@@ -3863,8 +4253,20 @@ export declare const EventDocument: z.ZodObject<{
3863
4253
  addressLine2?: string | null | undefined;
3864
4254
  addressLine3?: string | null | undefined;
3865
4255
  postcodeOrZip?: string | null | undefined;
3866
- }>]>>;
3867
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
3868
4270
  filename: z.ZodString;
3869
4271
  originalFilename: z.ZodString;
3870
4272
  type: z.ZodString;
@@ -3977,9 +4379,19 @@ export declare const EventDocument: z.ZodObject<{
3977
4379
  addressLine2?: string | null | undefined;
3978
4380
  addressLine3?: string | null | undefined;
3979
4381
  postcodeOrZip?: string | null | undefined;
3980
- }>]>>>;
3981
- createdAtLocation: z.ZodOptional<z.ZodString>;
3982
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4382
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4383
+ firstname: z.ZodString;
4384
+ surname: z.ZodString;
4385
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
+ }, "strip", z.ZodTypeAny, {
4387
+ firstname: string;
4388
+ surname: string;
4389
+ middlename?: string | null | undefined;
4390
+ }, {
4391
+ firstname: string;
4392
+ surname: string;
4393
+ middlename?: string | null | undefined;
4394
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3983
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3984
4396
  originalActionId: z.ZodOptional<z.ZodString>;
3985
4397
  }, {
@@ -4007,6 +4419,10 @@ export declare const EventDocument: z.ZodObject<{
4007
4419
  residentialArea?: string | null | undefined;
4008
4420
  street?: string | null | undefined;
4009
4421
  zipCode?: string | null | undefined;
4422
+ } | {
4423
+ firstname: string;
4424
+ surname: string;
4425
+ middlename?: string | null | undefined;
4010
4426
  } | {
4011
4427
  country: string;
4012
4428
  district: string;
@@ -4029,7 +4445,9 @@ export declare const EventDocument: z.ZodObject<{
4029
4445
  option: string;
4030
4446
  filename: string;
4031
4447
  originalFilename: string;
4032
- }[] | undefined>;
4448
+ }[] | [string, string] | null | undefined>;
4449
+ createdBySignature?: string | null | undefined;
4450
+ createdAtLocation?: string | null | undefined;
4033
4451
  annotation?: Record<string, string | number | boolean | {
4034
4452
  type: string;
4035
4453
  filename: string;
@@ -4045,6 +4463,10 @@ export declare const EventDocument: z.ZodObject<{
4045
4463
  residentialArea?: string | null | undefined;
4046
4464
  street?: string | null | undefined;
4047
4465
  zipCode?: string | null | undefined;
4466
+ } | {
4467
+ firstname: string;
4468
+ surname: string;
4469
+ middlename?: string | null | undefined;
4048
4470
  } | {
4049
4471
  country: string;
4050
4472
  district: string;
@@ -4067,9 +4489,7 @@ export declare const EventDocument: z.ZodObject<{
4067
4489
  option: string;
4068
4490
  filename: string;
4069
4491
  originalFilename: string;
4070
- }[] | undefined> | undefined;
4071
- createdAtLocation?: string | undefined;
4072
- updatedAtLocation?: string | undefined;
4492
+ }[] | [string, string] | null | undefined> | undefined;
4073
4493
  originalActionId?: string | undefined;
4074
4494
  }, {
4075
4495
  type: "REQUEST_CORRECTION";
@@ -4094,6 +4514,10 @@ export declare const EventDocument: z.ZodObject<{
4094
4514
  residentialArea?: string | null | undefined;
4095
4515
  street?: string | null | undefined;
4096
4516
  zipCode?: string | null | undefined;
4517
+ } | {
4518
+ firstname: string;
4519
+ surname: string;
4520
+ middlename?: string | null | undefined;
4097
4521
  } | {
4098
4522
  country: string;
4099
4523
  district: string;
@@ -4116,7 +4540,9 @@ export declare const EventDocument: z.ZodObject<{
4116
4540
  option: string;
4117
4541
  filename: string;
4118
4542
  originalFilename: string;
4119
- }[] | undefined>;
4543
+ }[] | [string, string] | null | undefined>;
4544
+ createdBySignature?: string | null | undefined;
4545
+ createdAtLocation?: string | null | undefined;
4120
4546
  annotation?: Record<string, string | number | boolean | {
4121
4547
  type: string;
4122
4548
  filename: string;
@@ -4132,6 +4558,10 @@ export declare const EventDocument: z.ZodObject<{
4132
4558
  residentialArea?: string | null | undefined;
4133
4559
  street?: string | null | undefined;
4134
4560
  zipCode?: string | null | undefined;
4561
+ } | {
4562
+ firstname: string;
4563
+ surname: string;
4564
+ middlename?: string | null | undefined;
4135
4565
  } | {
4136
4566
  country: string;
4137
4567
  district: string;
@@ -4154,9 +4584,7 @@ export declare const EventDocument: z.ZodObject<{
4154
4584
  option: string;
4155
4585
  filename: string;
4156
4586
  originalFilename: string;
4157
- }[] | undefined> | undefined;
4158
- createdAtLocation?: string | undefined;
4159
- updatedAtLocation?: string | undefined;
4587
+ }[] | [string, string] | null | undefined> | undefined;
4160
4588
  originalActionId?: string | undefined;
4161
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4162
4590
  id: z.ZodString;
@@ -4164,7 +4592,9 @@ export declare const EventDocument: z.ZodObject<{
4164
4592
  createdAt: z.ZodString;
4165
4593
  createdBy: z.ZodString;
4166
4594
  createdByRole: z.ZodString;
4167
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4595
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4168
4598
  filename: z.ZodString;
4169
4599
  originalFilename: z.ZodString;
4170
4600
  type: z.ZodString;
@@ -4277,8 +4707,20 @@ export declare const EventDocument: z.ZodObject<{
4277
4707
  addressLine2?: string | null | undefined;
4278
4708
  addressLine3?: string | null | undefined;
4279
4709
  postcodeOrZip?: string | null | undefined;
4280
- }>]>>;
4281
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
4282
4724
  filename: z.ZodString;
4283
4725
  originalFilename: z.ZodString;
4284
4726
  type: z.ZodString;
@@ -4391,9 +4833,19 @@ export declare const EventDocument: z.ZodObject<{
4391
4833
  addressLine2?: string | null | undefined;
4392
4834
  addressLine3?: string | null | undefined;
4393
4835
  postcodeOrZip?: string | null | undefined;
4394
- }>]>>>;
4395
- createdAtLocation: z.ZodOptional<z.ZodString>;
4396
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4836
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4837
+ firstname: z.ZodString;
4838
+ surname: z.ZodString;
4839
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4840
+ }, "strip", z.ZodTypeAny, {
4841
+ firstname: string;
4842
+ surname: string;
4843
+ middlename?: string | null | undefined;
4844
+ }, {
4845
+ firstname: string;
4846
+ surname: string;
4847
+ middlename?: string | null | undefined;
4848
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4397
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4398
4850
  originalActionId: z.ZodOptional<z.ZodString>;
4399
4851
  }, {
@@ -4422,6 +4874,10 @@ export declare const EventDocument: z.ZodObject<{
4422
4874
  residentialArea?: string | null | undefined;
4423
4875
  street?: string | null | undefined;
4424
4876
  zipCode?: string | null | undefined;
4877
+ } | {
4878
+ firstname: string;
4879
+ surname: string;
4880
+ middlename?: string | null | undefined;
4425
4881
  } | {
4426
4882
  country: string;
4427
4883
  district: string;
@@ -4444,8 +4900,10 @@ export declare const EventDocument: z.ZodObject<{
4444
4900
  option: string;
4445
4901
  filename: string;
4446
4902
  originalFilename: string;
4447
- }[] | undefined>;
4903
+ }[] | [string, string] | null | undefined>;
4448
4904
  requestId: string;
4905
+ createdBySignature?: string | null | undefined;
4906
+ createdAtLocation?: string | null | undefined;
4449
4907
  annotation?: Record<string, string | number | boolean | {
4450
4908
  type: string;
4451
4909
  filename: string;
@@ -4461,6 +4919,10 @@ export declare const EventDocument: z.ZodObject<{
4461
4919
  residentialArea?: string | null | undefined;
4462
4920
  street?: string | null | undefined;
4463
4921
  zipCode?: string | null | undefined;
4922
+ } | {
4923
+ firstname: string;
4924
+ surname: string;
4925
+ middlename?: string | null | undefined;
4464
4926
  } | {
4465
4927
  country: string;
4466
4928
  district: string;
@@ -4483,9 +4945,7 @@ export declare const EventDocument: z.ZodObject<{
4483
4945
  option: string;
4484
4946
  filename: string;
4485
4947
  originalFilename: string;
4486
- }[] | undefined> | undefined;
4487
- createdAtLocation?: string | undefined;
4488
- updatedAtLocation?: string | undefined;
4948
+ }[] | [string, string] | null | undefined> | undefined;
4489
4949
  originalActionId?: string | undefined;
4490
4950
  }, {
4491
4951
  type: "APPROVE_CORRECTION";
@@ -4510,6 +4970,10 @@ export declare const EventDocument: z.ZodObject<{
4510
4970
  residentialArea?: string | null | undefined;
4511
4971
  street?: string | null | undefined;
4512
4972
  zipCode?: string | null | undefined;
4973
+ } | {
4974
+ firstname: string;
4975
+ surname: string;
4976
+ middlename?: string | null | undefined;
4513
4977
  } | {
4514
4978
  country: string;
4515
4979
  district: string;
@@ -4532,8 +4996,10 @@ export declare const EventDocument: z.ZodObject<{
4532
4996
  option: string;
4533
4997
  filename: string;
4534
4998
  originalFilename: string;
4535
- }[] | undefined>;
4999
+ }[] | [string, string] | null | undefined>;
4536
5000
  requestId: string;
5001
+ createdBySignature?: string | null | undefined;
5002
+ createdAtLocation?: string | null | undefined;
4537
5003
  annotation?: Record<string, string | number | boolean | {
4538
5004
  type: string;
4539
5005
  filename: string;
@@ -4549,6 +5015,10 @@ export declare const EventDocument: z.ZodObject<{
4549
5015
  residentialArea?: string | null | undefined;
4550
5016
  street?: string | null | undefined;
4551
5017
  zipCode?: string | null | undefined;
5018
+ } | {
5019
+ firstname: string;
5020
+ surname: string;
5021
+ middlename?: string | null | undefined;
4552
5022
  } | {
4553
5023
  country: string;
4554
5024
  district: string;
@@ -4571,9 +5041,7 @@ export declare const EventDocument: z.ZodObject<{
4571
5041
  option: string;
4572
5042
  filename: string;
4573
5043
  originalFilename: string;
4574
- }[] | undefined> | undefined;
4575
- createdAtLocation?: string | undefined;
4576
- updatedAtLocation?: string | undefined;
5044
+ }[] | [string, string] | null | undefined> | undefined;
4577
5045
  originalActionId?: string | undefined;
4578
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
4579
5047
  id: z.ZodString;
@@ -4581,7 +5049,9 @@ export declare const EventDocument: z.ZodObject<{
4581
5049
  createdAt: z.ZodString;
4582
5050
  createdBy: z.ZodString;
4583
5051
  createdByRole: z.ZodString;
4584
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5052
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4585
5055
  filename: z.ZodString;
4586
5056
  originalFilename: z.ZodString;
4587
5057
  type: z.ZodString;
@@ -4694,8 +5164,20 @@ export declare const EventDocument: z.ZodObject<{
4694
5164
  addressLine2?: string | null | undefined;
4695
5165
  addressLine3?: string | null | undefined;
4696
5166
  postcodeOrZip?: string | null | undefined;
4697
- }>]>>;
4698
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
4699
5181
  filename: z.ZodString;
4700
5182
  originalFilename: z.ZodString;
4701
5183
  type: z.ZodString;
@@ -4808,9 +5290,19 @@ export declare const EventDocument: z.ZodObject<{
4808
5290
  addressLine2?: string | null | undefined;
4809
5291
  addressLine3?: string | null | undefined;
4810
5292
  postcodeOrZip?: string | null | undefined;
4811
- }>]>>>;
4812
- createdAtLocation: z.ZodOptional<z.ZodString>;
4813
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5293
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5294
+ firstname: z.ZodString;
5295
+ surname: z.ZodString;
5296
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5297
+ }, "strip", z.ZodTypeAny, {
5298
+ firstname: string;
5299
+ surname: string;
5300
+ middlename?: string | null | undefined;
5301
+ }, {
5302
+ firstname: string;
5303
+ surname: string;
5304
+ middlename?: string | null | undefined;
5305
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4814
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4815
5307
  originalActionId: z.ZodOptional<z.ZodString>;
4816
5308
  }, {
@@ -4839,6 +5331,10 @@ export declare const EventDocument: z.ZodObject<{
4839
5331
  residentialArea?: string | null | undefined;
4840
5332
  street?: string | null | undefined;
4841
5333
  zipCode?: string | null | undefined;
5334
+ } | {
5335
+ firstname: string;
5336
+ surname: string;
5337
+ middlename?: string | null | undefined;
4842
5338
  } | {
4843
5339
  country: string;
4844
5340
  district: string;
@@ -4861,8 +5357,10 @@ export declare const EventDocument: z.ZodObject<{
4861
5357
  option: string;
4862
5358
  filename: string;
4863
5359
  originalFilename: string;
4864
- }[] | undefined>;
5360
+ }[] | [string, string] | null | undefined>;
4865
5361
  requestId: string;
5362
+ createdBySignature?: string | null | undefined;
5363
+ createdAtLocation?: string | null | undefined;
4866
5364
  annotation?: Record<string, string | number | boolean | {
4867
5365
  type: string;
4868
5366
  filename: string;
@@ -4878,6 +5376,10 @@ export declare const EventDocument: z.ZodObject<{
4878
5376
  residentialArea?: string | null | undefined;
4879
5377
  street?: string | null | undefined;
4880
5378
  zipCode?: string | null | undefined;
5379
+ } | {
5380
+ firstname: string;
5381
+ surname: string;
5382
+ middlename?: string | null | undefined;
4881
5383
  } | {
4882
5384
  country: string;
4883
5385
  district: string;
@@ -4900,9 +5402,7 @@ export declare const EventDocument: z.ZodObject<{
4900
5402
  option: string;
4901
5403
  filename: string;
4902
5404
  originalFilename: string;
4903
- }[] | undefined> | undefined;
4904
- createdAtLocation?: string | undefined;
4905
- updatedAtLocation?: string | undefined;
5405
+ }[] | [string, string] | null | undefined> | undefined;
4906
5406
  originalActionId?: string | undefined;
4907
5407
  }, {
4908
5408
  type: "REJECT_CORRECTION";
@@ -4927,6 +5427,10 @@ export declare const EventDocument: z.ZodObject<{
4927
5427
  residentialArea?: string | null | undefined;
4928
5428
  street?: string | null | undefined;
4929
5429
  zipCode?: string | null | undefined;
5430
+ } | {
5431
+ firstname: string;
5432
+ surname: string;
5433
+ middlename?: string | null | undefined;
4930
5434
  } | {
4931
5435
  country: string;
4932
5436
  district: string;
@@ -4949,8 +5453,10 @@ export declare const EventDocument: z.ZodObject<{
4949
5453
  option: string;
4950
5454
  filename: string;
4951
5455
  originalFilename: string;
4952
- }[] | undefined>;
5456
+ }[] | [string, string] | null | undefined>;
4953
5457
  requestId: string;
5458
+ createdBySignature?: string | null | undefined;
5459
+ createdAtLocation?: string | null | undefined;
4954
5460
  annotation?: Record<string, string | number | boolean | {
4955
5461
  type: string;
4956
5462
  filename: string;
@@ -4966,6 +5472,10 @@ export declare const EventDocument: z.ZodObject<{
4966
5472
  residentialArea?: string | null | undefined;
4967
5473
  street?: string | null | undefined;
4968
5474
  zipCode?: string | null | undefined;
5475
+ } | {
5476
+ firstname: string;
5477
+ surname: string;
5478
+ middlename?: string | null | undefined;
4969
5479
  } | {
4970
5480
  country: string;
4971
5481
  district: string;
@@ -4988,9 +5498,7 @@ export declare const EventDocument: z.ZodObject<{
4988
5498
  option: string;
4989
5499
  filename: string;
4990
5500
  originalFilename: string;
4991
- }[] | undefined> | undefined;
4992
- createdAtLocation?: string | undefined;
4993
- updatedAtLocation?: string | undefined;
5501
+ }[] | [string, string] | null | undefined> | undefined;
4994
5502
  originalActionId?: string | undefined;
4995
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
4996
5504
  id: z.ZodString;
@@ -4998,7 +5506,9 @@ export declare const EventDocument: z.ZodObject<{
4998
5506
  createdAt: z.ZodString;
4999
5507
  createdBy: z.ZodString;
5000
5508
  createdByRole: z.ZodString;
5001
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5509
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5002
5512
  filename: z.ZodString;
5003
5513
  originalFilename: z.ZodString;
5004
5514
  type: z.ZodString;
@@ -5111,8 +5621,20 @@ export declare const EventDocument: z.ZodObject<{
5111
5621
  addressLine2?: string | null | undefined;
5112
5622
  addressLine3?: string | null | undefined;
5113
5623
  postcodeOrZip?: string | null | undefined;
5114
- }>]>>;
5115
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
5116
5638
  filename: z.ZodString;
5117
5639
  originalFilename: z.ZodString;
5118
5640
  type: z.ZodString;
@@ -5225,9 +5747,19 @@ export declare const EventDocument: z.ZodObject<{
5225
5747
  addressLine2?: string | null | undefined;
5226
5748
  addressLine3?: string | null | undefined;
5227
5749
  postcodeOrZip?: string | null | undefined;
5228
- }>]>>>;
5229
- createdAtLocation: z.ZodOptional<z.ZodString>;
5230
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5750
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5751
+ firstname: z.ZodString;
5752
+ surname: z.ZodString;
5753
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ firstname: string;
5756
+ surname: string;
5757
+ middlename?: string | null | undefined;
5758
+ }, {
5759
+ firstname: string;
5760
+ surname: string;
5761
+ middlename?: string | null | undefined;
5762
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5231
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5232
5764
  originalActionId: z.ZodOptional<z.ZodString>;
5233
5765
  }, {
@@ -5256,6 +5788,10 @@ export declare const EventDocument: z.ZodObject<{
5256
5788
  residentialArea?: string | null | undefined;
5257
5789
  street?: string | null | undefined;
5258
5790
  zipCode?: string | null | undefined;
5791
+ } | {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5259
5795
  } | {
5260
5796
  country: string;
5261
5797
  district: string;
@@ -5278,8 +5814,10 @@ export declare const EventDocument: z.ZodObject<{
5278
5814
  option: string;
5279
5815
  filename: string;
5280
5816
  originalFilename: string;
5281
- }[] | undefined>;
5817
+ }[] | [string, string] | null | undefined>;
5282
5818
  assignedTo: null;
5819
+ createdBySignature?: string | null | undefined;
5820
+ createdAtLocation?: string | null | undefined;
5283
5821
  annotation?: Record<string, string | number | boolean | {
5284
5822
  type: string;
5285
5823
  filename: string;
@@ -5295,6 +5833,10 @@ export declare const EventDocument: z.ZodObject<{
5295
5833
  residentialArea?: string | null | undefined;
5296
5834
  street?: string | null | undefined;
5297
5835
  zipCode?: string | null | undefined;
5836
+ } | {
5837
+ firstname: string;
5838
+ surname: string;
5839
+ middlename?: string | null | undefined;
5298
5840
  } | {
5299
5841
  country: string;
5300
5842
  district: string;
@@ -5317,9 +5859,7 @@ export declare const EventDocument: z.ZodObject<{
5317
5859
  option: string;
5318
5860
  filename: string;
5319
5861
  originalFilename: string;
5320
- }[] | undefined> | undefined;
5321
- createdAtLocation?: string | undefined;
5322
- updatedAtLocation?: string | undefined;
5862
+ }[] | [string, string] | null | undefined> | undefined;
5323
5863
  originalActionId?: string | undefined;
5324
5864
  }, {
5325
5865
  type: "UNASSIGN";
@@ -5344,6 +5884,10 @@ export declare const EventDocument: z.ZodObject<{
5344
5884
  residentialArea?: string | null | undefined;
5345
5885
  street?: string | null | undefined;
5346
5886
  zipCode?: string | null | undefined;
5887
+ } | {
5888
+ firstname: string;
5889
+ surname: string;
5890
+ middlename?: string | null | undefined;
5347
5891
  } | {
5348
5892
  country: string;
5349
5893
  district: string;
@@ -5366,8 +5910,10 @@ export declare const EventDocument: z.ZodObject<{
5366
5910
  option: string;
5367
5911
  filename: string;
5368
5912
  originalFilename: string;
5369
- }[] | undefined>;
5913
+ }[] | [string, string] | null | undefined>;
5370
5914
  assignedTo: null;
5915
+ createdBySignature?: string | null | undefined;
5916
+ createdAtLocation?: string | null | undefined;
5371
5917
  annotation?: Record<string, string | number | boolean | {
5372
5918
  type: string;
5373
5919
  filename: string;
@@ -5383,6 +5929,10 @@ export declare const EventDocument: z.ZodObject<{
5383
5929
  residentialArea?: string | null | undefined;
5384
5930
  street?: string | null | undefined;
5385
5931
  zipCode?: string | null | undefined;
5932
+ } | {
5933
+ firstname: string;
5934
+ surname: string;
5935
+ middlename?: string | null | undefined;
5386
5936
  } | {
5387
5937
  country: string;
5388
5938
  district: string;
@@ -5405,9 +5955,7 @@ export declare const EventDocument: z.ZodObject<{
5405
5955
  option: string;
5406
5956
  filename: string;
5407
5957
  originalFilename: string;
5408
- }[] | undefined> | undefined;
5409
- createdAtLocation?: string | undefined;
5410
- updatedAtLocation?: string | undefined;
5958
+ }[] | [string, string] | null | undefined> | undefined;
5411
5959
  originalActionId?: string | undefined;
5412
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5413
5961
  id: z.ZodString;
@@ -5415,7 +5963,9 @@ export declare const EventDocument: z.ZodObject<{
5415
5963
  createdAt: z.ZodString;
5416
5964
  createdBy: z.ZodString;
5417
5965
  createdByRole: z.ZodString;
5418
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5966
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5419
5969
  filename: z.ZodString;
5420
5970
  originalFilename: z.ZodString;
5421
5971
  type: z.ZodString;
@@ -5528,8 +6078,20 @@ export declare const EventDocument: z.ZodObject<{
5528
6078
  addressLine2?: string | null | undefined;
5529
6079
  addressLine3?: string | null | undefined;
5530
6080
  postcodeOrZip?: string | null | undefined;
5531
- }>]>>;
5532
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
5533
6095
  filename: z.ZodString;
5534
6096
  originalFilename: z.ZodString;
5535
6097
  type: z.ZodString;
@@ -5642,9 +6204,19 @@ export declare const EventDocument: z.ZodObject<{
5642
6204
  addressLine2?: string | null | undefined;
5643
6205
  addressLine3?: string | null | undefined;
5644
6206
  postcodeOrZip?: string | null | undefined;
5645
- }>]>>>;
5646
- createdAtLocation: z.ZodOptional<z.ZodString>;
5647
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6207
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6208
+ firstname: z.ZodString;
6209
+ surname: z.ZodString;
6210
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6211
+ }, "strip", z.ZodTypeAny, {
6212
+ firstname: string;
6213
+ surname: string;
6214
+ middlename?: string | null | undefined;
6215
+ }, {
6216
+ firstname: string;
6217
+ surname: string;
6218
+ middlename?: string | null | undefined;
6219
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5648
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5649
6221
  originalActionId: z.ZodOptional<z.ZodString>;
5650
6222
  }, {
@@ -5672,6 +6244,10 @@ export declare const EventDocument: z.ZodObject<{
5672
6244
  residentialArea?: string | null | undefined;
5673
6245
  street?: string | null | undefined;
5674
6246
  zipCode?: string | null | undefined;
6247
+ } | {
6248
+ firstname: string;
6249
+ surname: string;
6250
+ middlename?: string | null | undefined;
5675
6251
  } | {
5676
6252
  country: string;
5677
6253
  district: string;
@@ -5694,7 +6270,9 @@ export declare const EventDocument: z.ZodObject<{
5694
6270
  option: string;
5695
6271
  filename: string;
5696
6272
  originalFilename: string;
5697
- }[] | undefined>;
6273
+ }[] | [string, string] | null | undefined>;
6274
+ createdBySignature?: string | null | undefined;
6275
+ createdAtLocation?: string | null | undefined;
5698
6276
  annotation?: Record<string, string | number | boolean | {
5699
6277
  type: string;
5700
6278
  filename: string;
@@ -5710,6 +6288,10 @@ export declare const EventDocument: z.ZodObject<{
5710
6288
  residentialArea?: string | null | undefined;
5711
6289
  street?: string | null | undefined;
5712
6290
  zipCode?: string | null | undefined;
6291
+ } | {
6292
+ firstname: string;
6293
+ surname: string;
6294
+ middlename?: string | null | undefined;
5713
6295
  } | {
5714
6296
  country: string;
5715
6297
  district: string;
@@ -5732,9 +6314,7 @@ export declare const EventDocument: z.ZodObject<{
5732
6314
  option: string;
5733
6315
  filename: string;
5734
6316
  originalFilename: string;
5735
- }[] | undefined> | undefined;
5736
- createdAtLocation?: string | undefined;
5737
- updatedAtLocation?: string | undefined;
6317
+ }[] | [string, string] | null | undefined> | undefined;
5738
6318
  originalActionId?: string | undefined;
5739
6319
  }, {
5740
6320
  type: "PRINT_CERTIFICATE";
@@ -5759,6 +6339,10 @@ export declare const EventDocument: z.ZodObject<{
5759
6339
  residentialArea?: string | null | undefined;
5760
6340
  street?: string | null | undefined;
5761
6341
  zipCode?: string | null | undefined;
6342
+ } | {
6343
+ firstname: string;
6344
+ surname: string;
6345
+ middlename?: string | null | undefined;
5762
6346
  } | {
5763
6347
  country: string;
5764
6348
  district: string;
@@ -5781,7 +6365,9 @@ export declare const EventDocument: z.ZodObject<{
5781
6365
  option: string;
5782
6366
  filename: string;
5783
6367
  originalFilename: string;
5784
- }[] | undefined>;
6368
+ }[] | [string, string] | null | undefined>;
6369
+ createdBySignature?: string | null | undefined;
6370
+ createdAtLocation?: string | null | undefined;
5785
6371
  annotation?: Record<string, string | number | boolean | {
5786
6372
  type: string;
5787
6373
  filename: string;
@@ -5797,6 +6383,10 @@ export declare const EventDocument: z.ZodObject<{
5797
6383
  residentialArea?: string | null | undefined;
5798
6384
  street?: string | null | undefined;
5799
6385
  zipCode?: string | null | undefined;
6386
+ } | {
6387
+ firstname: string;
6388
+ surname: string;
6389
+ middlename?: string | null | undefined;
5800
6390
  } | {
5801
6391
  country: string;
5802
6392
  district: string;
@@ -5819,9 +6409,7 @@ export declare const EventDocument: z.ZodObject<{
5819
6409
  option: string;
5820
6410
  filename: string;
5821
6411
  originalFilename: string;
5822
- }[] | undefined> | undefined;
5823
- createdAtLocation?: string | undefined;
5824
- updatedAtLocation?: string | undefined;
6412
+ }[] | [string, string] | null | undefined> | undefined;
5825
6413
  originalActionId?: string | undefined;
5826
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
5827
6415
  id: z.ZodString;
@@ -5829,7 +6417,9 @@ export declare const EventDocument: z.ZodObject<{
5829
6417
  createdAt: z.ZodString;
5830
6418
  createdBy: z.ZodString;
5831
6419
  createdByRole: z.ZodString;
5832
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6420
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5833
6423
  filename: z.ZodString;
5834
6424
  originalFilename: z.ZodString;
5835
6425
  type: z.ZodString;
@@ -5942,8 +6532,20 @@ export declare const EventDocument: z.ZodObject<{
5942
6532
  addressLine2?: string | null | undefined;
5943
6533
  addressLine3?: string | null | undefined;
5944
6534
  postcodeOrZip?: string | null | undefined;
5945
- }>]>>;
5946
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
5947
6549
  filename: z.ZodString;
5948
6550
  originalFilename: z.ZodString;
5949
6551
  type: z.ZodString;
@@ -6056,9 +6658,19 @@ export declare const EventDocument: z.ZodObject<{
6056
6658
  addressLine2?: string | null | undefined;
6057
6659
  addressLine3?: string | null | undefined;
6058
6660
  postcodeOrZip?: string | null | undefined;
6059
- }>]>>>;
6060
- createdAtLocation: z.ZodOptional<z.ZodString>;
6061
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6662
+ firstname: z.ZodString;
6663
+ surname: z.ZodString;
6664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6665
+ }, "strip", z.ZodTypeAny, {
6666
+ firstname: string;
6667
+ surname: string;
6668
+ middlename?: string | null | undefined;
6669
+ }, {
6670
+ firstname: string;
6671
+ surname: string;
6672
+ middlename?: string | null | undefined;
6673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6062
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6063
6675
  originalActionId: z.ZodOptional<z.ZodString>;
6064
6676
  }, {
@@ -6086,6 +6698,10 @@ export declare const EventDocument: z.ZodObject<{
6086
6698
  residentialArea?: string | null | undefined;
6087
6699
  street?: string | null | undefined;
6088
6700
  zipCode?: string | null | undefined;
6701
+ } | {
6702
+ firstname: string;
6703
+ surname: string;
6704
+ middlename?: string | null | undefined;
6089
6705
  } | {
6090
6706
  country: string;
6091
6707
  district: string;
@@ -6108,7 +6724,9 @@ export declare const EventDocument: z.ZodObject<{
6108
6724
  option: string;
6109
6725
  filename: string;
6110
6726
  originalFilename: string;
6111
- }[] | undefined>;
6727
+ }[] | [string, string] | null | undefined>;
6728
+ createdBySignature?: string | null | undefined;
6729
+ createdAtLocation?: string | null | undefined;
6112
6730
  annotation?: Record<string, string | number | boolean | {
6113
6731
  type: string;
6114
6732
  filename: string;
@@ -6124,6 +6742,10 @@ export declare const EventDocument: z.ZodObject<{
6124
6742
  residentialArea?: string | null | undefined;
6125
6743
  street?: string | null | undefined;
6126
6744
  zipCode?: string | null | undefined;
6745
+ } | {
6746
+ firstname: string;
6747
+ surname: string;
6748
+ middlename?: string | null | undefined;
6127
6749
  } | {
6128
6750
  country: string;
6129
6751
  district: string;
@@ -6146,9 +6768,7 @@ export declare const EventDocument: z.ZodObject<{
6146
6768
  option: string;
6147
6769
  filename: string;
6148
6770
  originalFilename: string;
6149
- }[] | undefined> | undefined;
6150
- createdAtLocation?: string | undefined;
6151
- updatedAtLocation?: string | undefined;
6771
+ }[] | [string, string] | null | undefined> | undefined;
6152
6772
  originalActionId?: string | undefined;
6153
6773
  }, {
6154
6774
  type: "READ";
@@ -6173,6 +6793,10 @@ export declare const EventDocument: z.ZodObject<{
6173
6793
  residentialArea?: string | null | undefined;
6174
6794
  street?: string | null | undefined;
6175
6795
  zipCode?: string | null | undefined;
6796
+ } | {
6797
+ firstname: string;
6798
+ surname: string;
6799
+ middlename?: string | null | undefined;
6176
6800
  } | {
6177
6801
  country: string;
6178
6802
  district: string;
@@ -6195,7 +6819,9 @@ export declare const EventDocument: z.ZodObject<{
6195
6819
  option: string;
6196
6820
  filename: string;
6197
6821
  originalFilename: string;
6198
- }[] | undefined>;
6822
+ }[] | [string, string] | null | undefined>;
6823
+ createdBySignature?: string | null | undefined;
6824
+ createdAtLocation?: string | null | undefined;
6199
6825
  annotation?: Record<string, string | number | boolean | {
6200
6826
  type: string;
6201
6827
  filename: string;
@@ -6211,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6211
6837
  residentialArea?: string | null | undefined;
6212
6838
  street?: string | null | undefined;
6213
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6214
6844
  } | {
6215
6845
  country: string;
6216
6846
  district: string;
@@ -6233,9 +6863,7 @@ export declare const EventDocument: z.ZodObject<{
6233
6863
  option: string;
6234
6864
  filename: string;
6235
6865
  originalFilename: string;
6236
- }[] | undefined> | undefined;
6237
- createdAtLocation?: string | undefined;
6238
- updatedAtLocation?: string | undefined;
6866
+ }[] | [string, string] | null | undefined> | undefined;
6239
6867
  originalActionId?: string | undefined;
6240
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6241
6869
  id: z.ZodString;
@@ -6243,7 +6871,9 @@ export declare const EventDocument: z.ZodObject<{
6243
6871
  createdAt: z.ZodString;
6244
6872
  createdBy: z.ZodString;
6245
6873
  createdByRole: z.ZodString;
6246
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6874
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
6247
6877
  filename: z.ZodString;
6248
6878
  originalFilename: z.ZodString;
6249
6879
  type: z.ZodString;
@@ -6356,8 +6986,20 @@ export declare const EventDocument: z.ZodObject<{
6356
6986
  addressLine2?: string | null | undefined;
6357
6987
  addressLine3?: string | null | undefined;
6358
6988
  postcodeOrZip?: string | null | undefined;
6359
- }>]>>;
6360
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, 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<{
6361
7003
  filename: z.ZodString;
6362
7004
  originalFilename: z.ZodString;
6363
7005
  type: z.ZodString;
@@ -6470,12 +7112,22 @@ export declare const EventDocument: z.ZodObject<{
6470
7112
  addressLine2?: string | null | undefined;
6471
7113
  addressLine3?: string | null | undefined;
6472
7114
  postcodeOrZip?: string | null | undefined;
6473
- }>]>>>;
6474
- createdAtLocation: z.ZodOptional<z.ZodString>;
6475
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7115
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7116
+ firstname: z.ZodString;
7117
+ surname: z.ZodString;
7118
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7119
+ }, "strip", z.ZodTypeAny, {
7120
+ firstname: string;
7121
+ surname: string;
7122
+ middlename?: string | null | undefined;
7123
+ }, {
7124
+ firstname: string;
7125
+ surname: string;
7126
+ middlename?: string | null | undefined;
7127
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6476
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6477
7129
  originalActionId: z.ZodOptional<z.ZodString>;
6478
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
7130
+ }, "declaration" | "annotation">, {
6479
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
6480
7132
  status: z.ZodLiteral<"Rejected">;
6481
7133
  }>, "strip", z.ZodTypeAny, {
@@ -6484,7 +7136,10 @@ export declare const EventDocument: z.ZodObject<{
6484
7136
  status: "Rejected";
6485
7137
  transactionId: string;
6486
7138
  createdAt: string;
6487
- updatedAtLocation?: string | undefined;
7139
+ createdBy: string;
7140
+ createdByRole: string;
7141
+ createdBySignature?: string | null | undefined;
7142
+ createdAtLocation?: string | null | undefined;
6488
7143
  originalActionId?: string | undefined;
6489
7144
  }, {
6490
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -6492,7 +7147,10 @@ export declare const EventDocument: z.ZodObject<{
6492
7147
  status: "Rejected";
6493
7148
  transactionId: string;
6494
7149
  createdAt: string;
6495
- updatedAtLocation?: string | undefined;
7150
+ createdBy: string;
7151
+ createdByRole: string;
7152
+ createdBySignature?: string | null | undefined;
7153
+ createdAtLocation?: string | null | undefined;
6496
7154
  originalActionId?: string | undefined;
6497
7155
  }>]>, "many">;
6498
7156
  trackingId: z.ZodString;
@@ -6500,7 +7158,6 @@ export declare const EventDocument: z.ZodObject<{
6500
7158
  type: string;
6501
7159
  id: string;
6502
7160
  createdAt: string;
6503
- updatedAtLocation: string;
6504
7161
  updatedAt: string;
6505
7162
  actions: ({
6506
7163
  type: "ASSIGN";
@@ -6525,6 +7182,10 @@ export declare const EventDocument: z.ZodObject<{
6525
7182
  residentialArea?: string | null | undefined;
6526
7183
  street?: string | null | undefined;
6527
7184
  zipCode?: string | null | undefined;
7185
+ } | {
7186
+ firstname: string;
7187
+ surname: string;
7188
+ middlename?: string | null | undefined;
6528
7189
  } | {
6529
7190
  country: string;
6530
7191
  district: string;
@@ -6547,8 +7208,10 @@ export declare const EventDocument: z.ZodObject<{
6547
7208
  option: string;
6548
7209
  filename: string;
6549
7210
  originalFilename: string;
6550
- }[] | undefined>;
7211
+ }[] | [string, string] | null | undefined>;
6551
7212
  assignedTo: string;
7213
+ createdBySignature?: string | null | undefined;
7214
+ createdAtLocation?: string | null | undefined;
6552
7215
  annotation?: Record<string, string | number | boolean | {
6553
7216
  type: string;
6554
7217
  filename: string;
@@ -6564,6 +7227,10 @@ export declare const EventDocument: z.ZodObject<{
6564
7227
  residentialArea?: string | null | undefined;
6565
7228
  street?: string | null | undefined;
6566
7229
  zipCode?: string | null | undefined;
7230
+ } | {
7231
+ firstname: string;
7232
+ surname: string;
7233
+ middlename?: string | null | undefined;
6567
7234
  } | {
6568
7235
  country: string;
6569
7236
  district: string;
@@ -6586,9 +7253,7 @@ export declare const EventDocument: z.ZodObject<{
6586
7253
  option: string;
6587
7254
  filename: string;
6588
7255
  originalFilename: string;
6589
- }[] | undefined> | undefined;
6590
- createdAtLocation?: string | undefined;
6591
- updatedAtLocation?: string | undefined;
7256
+ }[] | [string, string] | null | undefined> | undefined;
6592
7257
  originalActionId?: string | undefined;
6593
7258
  } | {
6594
7259
  type: "UNASSIGN";
@@ -6613,6 +7278,10 @@ export declare const EventDocument: z.ZodObject<{
6613
7278
  residentialArea?: string | null | undefined;
6614
7279
  street?: string | null | undefined;
6615
7280
  zipCode?: string | null | undefined;
7281
+ } | {
7282
+ firstname: string;
7283
+ surname: string;
7284
+ middlename?: string | null | undefined;
6616
7285
  } | {
6617
7286
  country: string;
6618
7287
  district: string;
@@ -6635,8 +7304,10 @@ export declare const EventDocument: z.ZodObject<{
6635
7304
  option: string;
6636
7305
  filename: string;
6637
7306
  originalFilename: string;
6638
- }[] | undefined>;
7307
+ }[] | [string, string] | null | undefined>;
6639
7308
  assignedTo: null;
7309
+ createdBySignature?: string | null | undefined;
7310
+ createdAtLocation?: string | null | undefined;
6640
7311
  annotation?: Record<string, string | number | boolean | {
6641
7312
  type: string;
6642
7313
  filename: string;
@@ -6652,6 +7323,10 @@ export declare const EventDocument: z.ZodObject<{
6652
7323
  residentialArea?: string | null | undefined;
6653
7324
  street?: string | null | undefined;
6654
7325
  zipCode?: string | null | undefined;
7326
+ } | {
7327
+ firstname: string;
7328
+ surname: string;
7329
+ middlename?: string | null | undefined;
6655
7330
  } | {
6656
7331
  country: string;
6657
7332
  district: string;
@@ -6674,9 +7349,7 @@ export declare const EventDocument: z.ZodObject<{
6674
7349
  option: string;
6675
7350
  filename: string;
6676
7351
  originalFilename: string;
6677
- }[] | undefined> | undefined;
6678
- createdAtLocation?: string | undefined;
6679
- updatedAtLocation?: string | undefined;
7352
+ }[] | [string, string] | null | undefined> | undefined;
6680
7353
  originalActionId?: string | undefined;
6681
7354
  } | {
6682
7355
  type: "REGISTER";
@@ -6701,6 +7374,10 @@ export declare const EventDocument: z.ZodObject<{
6701
7374
  residentialArea?: string | null | undefined;
6702
7375
  street?: string | null | undefined;
6703
7376
  zipCode?: string | null | undefined;
7377
+ } | {
7378
+ firstname: string;
7379
+ surname: string;
7380
+ middlename?: string | null | undefined;
6704
7381
  } | {
6705
7382
  country: string;
6706
7383
  district: string;
@@ -6723,7 +7400,9 @@ export declare const EventDocument: z.ZodObject<{
6723
7400
  option: string;
6724
7401
  filename: string;
6725
7402
  originalFilename: string;
6726
- }[] | undefined>;
7403
+ }[] | [string, string] | null | undefined>;
7404
+ createdBySignature?: string | null | undefined;
7405
+ createdAtLocation?: string | null | undefined;
6727
7406
  annotation?: Record<string, string | number | boolean | {
6728
7407
  type: string;
6729
7408
  filename: string;
@@ -6739,6 +7418,10 @@ export declare const EventDocument: z.ZodObject<{
6739
7418
  residentialArea?: string | null | undefined;
6740
7419
  street?: string | null | undefined;
6741
7420
  zipCode?: string | null | undefined;
7421
+ } | {
7422
+ firstname: string;
7423
+ surname: string;
7424
+ middlename?: string | null | undefined;
6742
7425
  } | {
6743
7426
  country: string;
6744
7427
  district: string;
@@ -6761,9 +7444,7 @@ export declare const EventDocument: z.ZodObject<{
6761
7444
  option: string;
6762
7445
  filename: string;
6763
7446
  originalFilename: string;
6764
- }[] | undefined> | undefined;
6765
- createdAtLocation?: string | undefined;
6766
- updatedAtLocation?: string | undefined;
7447
+ }[] | [string, string] | null | undefined> | undefined;
6767
7448
  originalActionId?: string | undefined;
6768
7449
  registrationNumber?: string | undefined;
6769
7450
  } | {
@@ -6789,6 +7470,10 @@ export declare const EventDocument: z.ZodObject<{
6789
7470
  residentialArea?: string | null | undefined;
6790
7471
  street?: string | null | undefined;
6791
7472
  zipCode?: string | null | undefined;
7473
+ } | {
7474
+ firstname: string;
7475
+ surname: string;
7476
+ middlename?: string | null | undefined;
6792
7477
  } | {
6793
7478
  country: string;
6794
7479
  district: string;
@@ -6811,7 +7496,9 @@ export declare const EventDocument: z.ZodObject<{
6811
7496
  option: string;
6812
7497
  filename: string;
6813
7498
  originalFilename: string;
6814
- }[] | undefined>;
7499
+ }[] | [string, string] | null | undefined>;
7500
+ createdBySignature?: string | null | undefined;
7501
+ createdAtLocation?: string | null | undefined;
6815
7502
  annotation?: Record<string, string | number | boolean | {
6816
7503
  type: string;
6817
7504
  filename: string;
@@ -6827,6 +7514,10 @@ export declare const EventDocument: z.ZodObject<{
6827
7514
  residentialArea?: string | null | undefined;
6828
7515
  street?: string | null | undefined;
6829
7516
  zipCode?: string | null | undefined;
7517
+ } | {
7518
+ firstname: string;
7519
+ surname: string;
7520
+ middlename?: string | null | undefined;
6830
7521
  } | {
6831
7522
  country: string;
6832
7523
  district: string;
@@ -6849,9 +7540,7 @@ export declare const EventDocument: z.ZodObject<{
6849
7540
  option: string;
6850
7541
  filename: string;
6851
7542
  originalFilename: string;
6852
- }[] | undefined> | undefined;
6853
- createdAtLocation?: string | undefined;
6854
- updatedAtLocation?: string | undefined;
7543
+ }[] | [string, string] | null | undefined> | undefined;
6855
7544
  originalActionId?: string | undefined;
6856
7545
  } | {
6857
7546
  type: "VALIDATE";
@@ -6876,6 +7565,10 @@ export declare const EventDocument: z.ZodObject<{
6876
7565
  residentialArea?: string | null | undefined;
6877
7566
  street?: string | null | undefined;
6878
7567
  zipCode?: string | null | undefined;
7568
+ } | {
7569
+ firstname: string;
7570
+ surname: string;
7571
+ middlename?: string | null | undefined;
6879
7572
  } | {
6880
7573
  country: string;
6881
7574
  district: string;
@@ -6898,7 +7591,9 @@ export declare const EventDocument: z.ZodObject<{
6898
7591
  option: string;
6899
7592
  filename: string;
6900
7593
  originalFilename: string;
6901
- }[] | undefined>;
7594
+ }[] | [string, string] | null | undefined>;
7595
+ createdBySignature?: string | null | undefined;
7596
+ createdAtLocation?: string | null | undefined;
6902
7597
  annotation?: Record<string, string | number | boolean | {
6903
7598
  type: string;
6904
7599
  filename: string;
@@ -6914,6 +7609,10 @@ export declare const EventDocument: z.ZodObject<{
6914
7609
  residentialArea?: string | null | undefined;
6915
7610
  street?: string | null | undefined;
6916
7611
  zipCode?: string | null | undefined;
7612
+ } | {
7613
+ firstname: string;
7614
+ surname: string;
7615
+ middlename?: string | null | undefined;
6917
7616
  } | {
6918
7617
  country: string;
6919
7618
  district: string;
@@ -6936,14 +7635,16 @@ export declare const EventDocument: z.ZodObject<{
6936
7635
  option: string;
6937
7636
  filename: string;
6938
7637
  originalFilename: string;
6939
- }[] | undefined> | undefined;
6940
- createdAtLocation?: string | undefined;
6941
- updatedAtLocation?: string | undefined;
7638
+ }[] | [string, string] | null | undefined> | undefined;
6942
7639
  originalActionId?: string | undefined;
6943
7640
  } | {
6944
7641
  type: "REJECT";
6945
7642
  id: string;
6946
7643
  status: "Rejected" | "Requested" | "Accepted";
7644
+ reason: {
7645
+ message: string;
7646
+ isDuplicate?: boolean | undefined;
7647
+ };
6947
7648
  transactionId: string;
6948
7649
  createdAt: string;
6949
7650
  createdBy: string;
@@ -6963,6 +7664,10 @@ export declare const EventDocument: z.ZodObject<{
6963
7664
  residentialArea?: string | null | undefined;
6964
7665
  street?: string | null | undefined;
6965
7666
  zipCode?: string | null | undefined;
7667
+ } | {
7668
+ firstname: string;
7669
+ surname: string;
7670
+ middlename?: string | null | undefined;
6966
7671
  } | {
6967
7672
  country: string;
6968
7673
  district: string;
@@ -6985,7 +7690,9 @@ export declare const EventDocument: z.ZodObject<{
6985
7690
  option: string;
6986
7691
  filename: string;
6987
7692
  originalFilename: string;
6988
- }[] | undefined>;
7693
+ }[] | [string, string] | null | undefined>;
7694
+ createdBySignature?: string | null | undefined;
7695
+ createdAtLocation?: string | null | undefined;
6989
7696
  annotation?: Record<string, string | number | boolean | {
6990
7697
  type: string;
6991
7698
  filename: string;
@@ -7001,6 +7708,10 @@ export declare const EventDocument: z.ZodObject<{
7001
7708
  residentialArea?: string | null | undefined;
7002
7709
  street?: string | null | undefined;
7003
7710
  zipCode?: string | null | undefined;
7711
+ } | {
7712
+ firstname: string;
7713
+ surname: string;
7714
+ middlename?: string | null | undefined;
7004
7715
  } | {
7005
7716
  country: string;
7006
7717
  district: string;
@@ -7023,9 +7734,7 @@ export declare const EventDocument: z.ZodObject<{
7023
7734
  option: string;
7024
7735
  filename: string;
7025
7736
  originalFilename: string;
7026
- }[] | undefined> | undefined;
7027
- createdAtLocation?: string | undefined;
7028
- updatedAtLocation?: string | undefined;
7737
+ }[] | [string, string] | null | undefined> | undefined;
7029
7738
  originalActionId?: string | undefined;
7030
7739
  } | {
7031
7740
  type: "MARKED_AS_DUPLICATE";
@@ -7050,6 +7759,10 @@ export declare const EventDocument: z.ZodObject<{
7050
7759
  residentialArea?: string | null | undefined;
7051
7760
  street?: string | null | undefined;
7052
7761
  zipCode?: string | null | undefined;
7762
+ } | {
7763
+ firstname: string;
7764
+ surname: string;
7765
+ middlename?: string | null | undefined;
7053
7766
  } | {
7054
7767
  country: string;
7055
7768
  district: string;
@@ -7072,7 +7785,9 @@ export declare const EventDocument: z.ZodObject<{
7072
7785
  option: string;
7073
7786
  filename: string;
7074
7787
  originalFilename: string;
7075
- }[] | undefined>;
7788
+ }[] | [string, string] | null | undefined>;
7789
+ createdBySignature?: string | null | undefined;
7790
+ createdAtLocation?: string | null | undefined;
7076
7791
  annotation?: Record<string, string | number | boolean | {
7077
7792
  type: string;
7078
7793
  filename: string;
@@ -7088,6 +7803,10 @@ export declare const EventDocument: z.ZodObject<{
7088
7803
  residentialArea?: string | null | undefined;
7089
7804
  street?: string | null | undefined;
7090
7805
  zipCode?: string | null | undefined;
7806
+ } | {
7807
+ firstname: string;
7808
+ surname: string;
7809
+ middlename?: string | null | undefined;
7091
7810
  } | {
7092
7811
  country: string;
7093
7812
  district: string;
@@ -7110,14 +7829,16 @@ export declare const EventDocument: z.ZodObject<{
7110
7829
  option: string;
7111
7830
  filename: string;
7112
7831
  originalFilename: string;
7113
- }[] | undefined> | undefined;
7114
- createdAtLocation?: string | undefined;
7115
- updatedAtLocation?: string | undefined;
7832
+ }[] | [string, string] | null | undefined> | undefined;
7116
7833
  originalActionId?: string | undefined;
7117
7834
  } | {
7118
7835
  type: "ARCHIVE";
7119
7836
  id: string;
7120
7837
  status: "Rejected" | "Requested" | "Accepted";
7838
+ reason: {
7839
+ message: string;
7840
+ isDuplicate?: boolean | undefined;
7841
+ };
7121
7842
  transactionId: string;
7122
7843
  createdAt: string;
7123
7844
  createdBy: string;
@@ -7137,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7137
7858
  residentialArea?: string | null | undefined;
7138
7859
  street?: string | null | undefined;
7139
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7140
7865
  } | {
7141
7866
  country: string;
7142
7867
  district: string;
@@ -7159,7 +7884,9 @@ export declare const EventDocument: z.ZodObject<{
7159
7884
  option: string;
7160
7885
  filename: string;
7161
7886
  originalFilename: string;
7162
- }[] | undefined>;
7887
+ }[] | [string, string] | null | undefined>;
7888
+ createdBySignature?: string | null | undefined;
7889
+ createdAtLocation?: string | null | undefined;
7163
7890
  annotation?: Record<string, string | number | boolean | {
7164
7891
  type: string;
7165
7892
  filename: string;
@@ -7175,6 +7902,10 @@ export declare const EventDocument: z.ZodObject<{
7175
7902
  residentialArea?: string | null | undefined;
7176
7903
  street?: string | null | undefined;
7177
7904
  zipCode?: string | null | undefined;
7905
+ } | {
7906
+ firstname: string;
7907
+ surname: string;
7908
+ middlename?: string | null | undefined;
7178
7909
  } | {
7179
7910
  country: string;
7180
7911
  district: string;
@@ -7197,9 +7928,7 @@ export declare const EventDocument: z.ZodObject<{
7197
7928
  option: string;
7198
7929
  filename: string;
7199
7930
  originalFilename: string;
7200
- }[] | undefined> | undefined;
7201
- createdAtLocation?: string | undefined;
7202
- updatedAtLocation?: string | undefined;
7931
+ }[] | [string, string] | null | undefined> | undefined;
7203
7932
  originalActionId?: string | undefined;
7204
7933
  } | {
7205
7934
  type: "CREATE";
@@ -7224,6 +7953,10 @@ export declare const EventDocument: z.ZodObject<{
7224
7953
  residentialArea?: string | null | undefined;
7225
7954
  street?: string | null | undefined;
7226
7955
  zipCode?: string | null | undefined;
7956
+ } | {
7957
+ firstname: string;
7958
+ surname: string;
7959
+ middlename?: string | null | undefined;
7227
7960
  } | {
7228
7961
  country: string;
7229
7962
  district: string;
@@ -7246,7 +7979,9 @@ export declare const EventDocument: z.ZodObject<{
7246
7979
  option: string;
7247
7980
  filename: string;
7248
7981
  originalFilename: string;
7249
- }[] | undefined>;
7982
+ }[] | [string, string] | null | undefined>;
7983
+ createdBySignature?: string | null | undefined;
7984
+ createdAtLocation?: string | null | undefined;
7250
7985
  annotation?: Record<string, string | number | boolean | {
7251
7986
  type: string;
7252
7987
  filename: string;
@@ -7262,6 +7997,10 @@ export declare const EventDocument: z.ZodObject<{
7262
7997
  residentialArea?: string | null | undefined;
7263
7998
  street?: string | null | undefined;
7264
7999
  zipCode?: string | null | undefined;
8000
+ } | {
8001
+ firstname: string;
8002
+ surname: string;
8003
+ middlename?: string | null | undefined;
7265
8004
  } | {
7266
8005
  country: string;
7267
8006
  district: string;
@@ -7284,9 +8023,7 @@ export declare const EventDocument: z.ZodObject<{
7284
8023
  option: string;
7285
8024
  filename: string;
7286
8025
  originalFilename: string;
7287
- }[] | undefined> | undefined;
7288
- createdAtLocation?: string | undefined;
7289
- updatedAtLocation?: string | undefined;
8026
+ }[] | [string, string] | null | undefined> | undefined;
7290
8027
  originalActionId?: string | undefined;
7291
8028
  } | {
7292
8029
  type: "NOTIFY";
@@ -7311,6 +8048,10 @@ export declare const EventDocument: z.ZodObject<{
7311
8048
  residentialArea?: string | null | undefined;
7312
8049
  street?: string | null | undefined;
7313
8050
  zipCode?: string | null | undefined;
8051
+ } | {
8052
+ firstname: string;
8053
+ surname: string;
8054
+ middlename?: string | null | undefined;
7314
8055
  } | {
7315
8056
  country: string;
7316
8057
  district: string;
@@ -7333,7 +8074,9 @@ export declare const EventDocument: z.ZodObject<{
7333
8074
  option: string;
7334
8075
  filename: string;
7335
8076
  originalFilename: string;
7336
- }[] | undefined>;
8077
+ }[] | [string, string] | null | undefined>;
8078
+ createdBySignature?: string | null | undefined;
8079
+ createdAtLocation?: string | null | undefined;
7337
8080
  annotation?: Record<string, string | number | boolean | {
7338
8081
  type: string;
7339
8082
  filename: string;
@@ -7349,6 +8092,10 @@ export declare const EventDocument: z.ZodObject<{
7349
8092
  residentialArea?: string | null | undefined;
7350
8093
  street?: string | null | undefined;
7351
8094
  zipCode?: string | null | undefined;
8095
+ } | {
8096
+ firstname: string;
8097
+ surname: string;
8098
+ middlename?: string | null | undefined;
7352
8099
  } | {
7353
8100
  country: string;
7354
8101
  district: string;
@@ -7371,9 +8118,7 @@ export declare const EventDocument: z.ZodObject<{
7371
8118
  option: string;
7372
8119
  filename: string;
7373
8120
  originalFilename: string;
7374
- }[] | undefined> | undefined;
7375
- createdAtLocation?: string | undefined;
7376
- updatedAtLocation?: string | undefined;
8121
+ }[] | [string, string] | null | undefined> | undefined;
7377
8122
  originalActionId?: string | undefined;
7378
8123
  } | {
7379
8124
  type: "PRINT_CERTIFICATE";
@@ -7398,6 +8143,10 @@ export declare const EventDocument: z.ZodObject<{
7398
8143
  residentialArea?: string | null | undefined;
7399
8144
  street?: string | null | undefined;
7400
8145
  zipCode?: string | null | undefined;
8146
+ } | {
8147
+ firstname: string;
8148
+ surname: string;
8149
+ middlename?: string | null | undefined;
7401
8150
  } | {
7402
8151
  country: string;
7403
8152
  district: string;
@@ -7420,7 +8169,9 @@ export declare const EventDocument: z.ZodObject<{
7420
8169
  option: string;
7421
8170
  filename: string;
7422
8171
  originalFilename: string;
7423
- }[] | undefined>;
8172
+ }[] | [string, string] | null | undefined>;
8173
+ createdBySignature?: string | null | undefined;
8174
+ createdAtLocation?: string | null | undefined;
7424
8175
  annotation?: Record<string, string | number | boolean | {
7425
8176
  type: string;
7426
8177
  filename: string;
@@ -7436,6 +8187,10 @@ export declare const EventDocument: z.ZodObject<{
7436
8187
  residentialArea?: string | null | undefined;
7437
8188
  street?: string | null | undefined;
7438
8189
  zipCode?: string | null | undefined;
8190
+ } | {
8191
+ firstname: string;
8192
+ surname: string;
8193
+ middlename?: string | null | undefined;
7439
8194
  } | {
7440
8195
  country: string;
7441
8196
  district: string;
@@ -7458,9 +8213,7 @@ export declare const EventDocument: z.ZodObject<{
7458
8213
  option: string;
7459
8214
  filename: string;
7460
8215
  originalFilename: string;
7461
- }[] | undefined> | undefined;
7462
- createdAtLocation?: string | undefined;
7463
- updatedAtLocation?: string | undefined;
8216
+ }[] | [string, string] | null | undefined> | undefined;
7464
8217
  originalActionId?: string | undefined;
7465
8218
  } | {
7466
8219
  type: "REQUEST_CORRECTION";
@@ -7485,6 +8238,10 @@ export declare const EventDocument: z.ZodObject<{
7485
8238
  residentialArea?: string | null | undefined;
7486
8239
  street?: string | null | undefined;
7487
8240
  zipCode?: string | null | undefined;
8241
+ } | {
8242
+ firstname: string;
8243
+ surname: string;
8244
+ middlename?: string | null | undefined;
7488
8245
  } | {
7489
8246
  country: string;
7490
8247
  district: string;
@@ -7507,7 +8264,9 @@ export declare const EventDocument: z.ZodObject<{
7507
8264
  option: string;
7508
8265
  filename: string;
7509
8266
  originalFilename: string;
7510
- }[] | undefined>;
8267
+ }[] | [string, string] | null | undefined>;
8268
+ createdBySignature?: string | null | undefined;
8269
+ createdAtLocation?: string | null | undefined;
7511
8270
  annotation?: Record<string, string | number | boolean | {
7512
8271
  type: string;
7513
8272
  filename: string;
@@ -7523,6 +8282,10 @@ export declare const EventDocument: z.ZodObject<{
7523
8282
  residentialArea?: string | null | undefined;
7524
8283
  street?: string | null | undefined;
7525
8284
  zipCode?: string | null | undefined;
8285
+ } | {
8286
+ firstname: string;
8287
+ surname: string;
8288
+ middlename?: string | null | undefined;
7526
8289
  } | {
7527
8290
  country: string;
7528
8291
  district: string;
@@ -7545,9 +8308,7 @@ export declare const EventDocument: z.ZodObject<{
7545
8308
  option: string;
7546
8309
  filename: string;
7547
8310
  originalFilename: string;
7548
- }[] | undefined> | undefined;
7549
- createdAtLocation?: string | undefined;
7550
- updatedAtLocation?: string | undefined;
8311
+ }[] | [string, string] | null | undefined> | undefined;
7551
8312
  originalActionId?: string | undefined;
7552
8313
  } | {
7553
8314
  type: "APPROVE_CORRECTION";
@@ -7572,6 +8333,10 @@ export declare const EventDocument: z.ZodObject<{
7572
8333
  residentialArea?: string | null | undefined;
7573
8334
  street?: string | null | undefined;
7574
8335
  zipCode?: string | null | undefined;
8336
+ } | {
8337
+ firstname: string;
8338
+ surname: string;
8339
+ middlename?: string | null | undefined;
7575
8340
  } | {
7576
8341
  country: string;
7577
8342
  district: string;
@@ -7594,8 +8359,10 @@ export declare const EventDocument: z.ZodObject<{
7594
8359
  option: string;
7595
8360
  filename: string;
7596
8361
  originalFilename: string;
7597
- }[] | undefined>;
8362
+ }[] | [string, string] | null | undefined>;
7598
8363
  requestId: string;
8364
+ createdBySignature?: string | null | undefined;
8365
+ createdAtLocation?: string | null | undefined;
7599
8366
  annotation?: Record<string, string | number | boolean | {
7600
8367
  type: string;
7601
8368
  filename: string;
@@ -7611,6 +8378,10 @@ export declare const EventDocument: z.ZodObject<{
7611
8378
  residentialArea?: string | null | undefined;
7612
8379
  street?: string | null | undefined;
7613
8380
  zipCode?: string | null | undefined;
8381
+ } | {
8382
+ firstname: string;
8383
+ surname: string;
8384
+ middlename?: string | null | undefined;
7614
8385
  } | {
7615
8386
  country: string;
7616
8387
  district: string;
@@ -7633,9 +8404,7 @@ export declare const EventDocument: z.ZodObject<{
7633
8404
  option: string;
7634
8405
  filename: string;
7635
8406
  originalFilename: string;
7636
- }[] | undefined> | undefined;
7637
- createdAtLocation?: string | undefined;
7638
- updatedAtLocation?: string | undefined;
8407
+ }[] | [string, string] | null | undefined> | undefined;
7639
8408
  originalActionId?: string | undefined;
7640
8409
  } | {
7641
8410
  type: "REJECT_CORRECTION";
@@ -7660,6 +8429,10 @@ export declare const EventDocument: z.ZodObject<{
7660
8429
  residentialArea?: string | null | undefined;
7661
8430
  street?: string | null | undefined;
7662
8431
  zipCode?: string | null | undefined;
8432
+ } | {
8433
+ firstname: string;
8434
+ surname: string;
8435
+ middlename?: string | null | undefined;
7663
8436
  } | {
7664
8437
  country: string;
7665
8438
  district: string;
@@ -7682,8 +8455,10 @@ export declare const EventDocument: z.ZodObject<{
7682
8455
  option: string;
7683
8456
  filename: string;
7684
8457
  originalFilename: string;
7685
- }[] | undefined>;
8458
+ }[] | [string, string] | null | undefined>;
7686
8459
  requestId: string;
8460
+ createdBySignature?: string | null | undefined;
8461
+ createdAtLocation?: string | null | undefined;
7687
8462
  annotation?: Record<string, string | number | boolean | {
7688
8463
  type: string;
7689
8464
  filename: string;
@@ -7699,6 +8474,10 @@ export declare const EventDocument: z.ZodObject<{
7699
8474
  residentialArea?: string | null | undefined;
7700
8475
  street?: string | null | undefined;
7701
8476
  zipCode?: string | null | undefined;
8477
+ } | {
8478
+ firstname: string;
8479
+ surname: string;
8480
+ middlename?: string | null | undefined;
7702
8481
  } | {
7703
8482
  country: string;
7704
8483
  district: string;
@@ -7721,9 +8500,7 @@ export declare const EventDocument: z.ZodObject<{
7721
8500
  option: string;
7722
8501
  filename: string;
7723
8502
  originalFilename: string;
7724
- }[] | undefined> | undefined;
7725
- createdAtLocation?: string | undefined;
7726
- updatedAtLocation?: string | undefined;
8503
+ }[] | [string, string] | null | undefined> | undefined;
7727
8504
  originalActionId?: string | undefined;
7728
8505
  } | {
7729
8506
  type: "READ";
@@ -7748,6 +8525,10 @@ export declare const EventDocument: z.ZodObject<{
7748
8525
  residentialArea?: string | null | undefined;
7749
8526
  street?: string | null | undefined;
7750
8527
  zipCode?: string | null | undefined;
8528
+ } | {
8529
+ firstname: string;
8530
+ surname: string;
8531
+ middlename?: string | null | undefined;
7751
8532
  } | {
7752
8533
  country: string;
7753
8534
  district: string;
@@ -7770,7 +8551,9 @@ export declare const EventDocument: z.ZodObject<{
7770
8551
  option: string;
7771
8552
  filename: string;
7772
8553
  originalFilename: string;
7773
- }[] | undefined>;
8554
+ }[] | [string, string] | null | undefined>;
8555
+ createdBySignature?: string | null | undefined;
8556
+ createdAtLocation?: string | null | undefined;
7774
8557
  annotation?: Record<string, string | number | boolean | {
7775
8558
  type: string;
7776
8559
  filename: string;
@@ -7786,6 +8569,10 @@ export declare const EventDocument: z.ZodObject<{
7786
8569
  residentialArea?: string | null | undefined;
7787
8570
  street?: string | null | undefined;
7788
8571
  zipCode?: string | null | undefined;
8572
+ } | {
8573
+ firstname: string;
8574
+ surname: string;
8575
+ middlename?: string | null | undefined;
7789
8576
  } | {
7790
8577
  country: string;
7791
8578
  district: string;
@@ -7808,9 +8595,7 @@ export declare const EventDocument: z.ZodObject<{
7808
8595
  option: string;
7809
8596
  filename: string;
7810
8597
  originalFilename: string;
7811
- }[] | undefined> | undefined;
7812
- createdAtLocation?: string | undefined;
7813
- updatedAtLocation?: string | undefined;
8598
+ }[] | [string, string] | null | undefined> | undefined;
7814
8599
  originalActionId?: string | undefined;
7815
8600
  } | {
7816
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7818,18 +8603,17 @@ export declare const EventDocument: z.ZodObject<{
7818
8603
  status: "Rejected";
7819
8604
  transactionId: string;
7820
8605
  createdAt: string;
7821
- updatedAtLocation?: string | undefined;
8606
+ createdBy: string;
8607
+ createdByRole: string;
8608
+ createdBySignature?: string | null | undefined;
8609
+ createdAtLocation?: string | null | undefined;
7822
8610
  originalActionId?: string | undefined;
7823
8611
  })[];
7824
8612
  trackingId: string;
7825
- dateOfEvent?: {
7826
- fieldId: string;
7827
- } | undefined;
7828
8613
  }, {
7829
8614
  type: string;
7830
8615
  id: string;
7831
8616
  createdAt: string;
7832
- updatedAtLocation: string;
7833
8617
  updatedAt: string;
7834
8618
  actions: ({
7835
8619
  type: "ASSIGN";
@@ -7854,6 +8638,10 @@ export declare const EventDocument: z.ZodObject<{
7854
8638
  residentialArea?: string | null | undefined;
7855
8639
  street?: string | null | undefined;
7856
8640
  zipCode?: string | null | undefined;
8641
+ } | {
8642
+ firstname: string;
8643
+ surname: string;
8644
+ middlename?: string | null | undefined;
7857
8645
  } | {
7858
8646
  country: string;
7859
8647
  district: string;
@@ -7876,8 +8664,10 @@ export declare const EventDocument: z.ZodObject<{
7876
8664
  option: string;
7877
8665
  filename: string;
7878
8666
  originalFilename: string;
7879
- }[] | undefined>;
8667
+ }[] | [string, string] | null | undefined>;
7880
8668
  assignedTo: string;
8669
+ createdBySignature?: string | null | undefined;
8670
+ createdAtLocation?: string | null | undefined;
7881
8671
  annotation?: Record<string, string | number | boolean | {
7882
8672
  type: string;
7883
8673
  filename: string;
@@ -7893,6 +8683,10 @@ export declare const EventDocument: z.ZodObject<{
7893
8683
  residentialArea?: string | null | undefined;
7894
8684
  street?: string | null | undefined;
7895
8685
  zipCode?: string | null | undefined;
8686
+ } | {
8687
+ firstname: string;
8688
+ surname: string;
8689
+ middlename?: string | null | undefined;
7896
8690
  } | {
7897
8691
  country: string;
7898
8692
  district: string;
@@ -7915,9 +8709,7 @@ export declare const EventDocument: z.ZodObject<{
7915
8709
  option: string;
7916
8710
  filename: string;
7917
8711
  originalFilename: string;
7918
- }[] | undefined> | undefined;
7919
- createdAtLocation?: string | undefined;
7920
- updatedAtLocation?: string | undefined;
8712
+ }[] | [string, string] | null | undefined> | undefined;
7921
8713
  originalActionId?: string | undefined;
7922
8714
  } | {
7923
8715
  type: "UNASSIGN";
@@ -7942,6 +8734,10 @@ export declare const EventDocument: z.ZodObject<{
7942
8734
  residentialArea?: string | null | undefined;
7943
8735
  street?: string | null | undefined;
7944
8736
  zipCode?: string | null | undefined;
8737
+ } | {
8738
+ firstname: string;
8739
+ surname: string;
8740
+ middlename?: string | null | undefined;
7945
8741
  } | {
7946
8742
  country: string;
7947
8743
  district: string;
@@ -7964,8 +8760,10 @@ export declare const EventDocument: z.ZodObject<{
7964
8760
  option: string;
7965
8761
  filename: string;
7966
8762
  originalFilename: string;
7967
- }[] | undefined>;
8763
+ }[] | [string, string] | null | undefined>;
7968
8764
  assignedTo: null;
8765
+ createdBySignature?: string | null | undefined;
8766
+ createdAtLocation?: string | null | undefined;
7969
8767
  annotation?: Record<string, string | number | boolean | {
7970
8768
  type: string;
7971
8769
  filename: string;
@@ -7981,6 +8779,10 @@ export declare const EventDocument: z.ZodObject<{
7981
8779
  residentialArea?: string | null | undefined;
7982
8780
  street?: string | null | undefined;
7983
8781
  zipCode?: string | null | undefined;
8782
+ } | {
8783
+ firstname: string;
8784
+ surname: string;
8785
+ middlename?: string | null | undefined;
7984
8786
  } | {
7985
8787
  country: string;
7986
8788
  district: string;
@@ -8003,9 +8805,7 @@ export declare const EventDocument: z.ZodObject<{
8003
8805
  option: string;
8004
8806
  filename: string;
8005
8807
  originalFilename: string;
8006
- }[] | undefined> | undefined;
8007
- createdAtLocation?: string | undefined;
8008
- updatedAtLocation?: string | undefined;
8808
+ }[] | [string, string] | null | undefined> | undefined;
8009
8809
  originalActionId?: string | undefined;
8010
8810
  } | {
8011
8811
  type: "REGISTER";
@@ -8030,6 +8830,10 @@ export declare const EventDocument: z.ZodObject<{
8030
8830
  residentialArea?: string | null | undefined;
8031
8831
  street?: string | null | undefined;
8032
8832
  zipCode?: string | null | undefined;
8833
+ } | {
8834
+ firstname: string;
8835
+ surname: string;
8836
+ middlename?: string | null | undefined;
8033
8837
  } | {
8034
8838
  country: string;
8035
8839
  district: string;
@@ -8052,7 +8856,9 @@ export declare const EventDocument: z.ZodObject<{
8052
8856
  option: string;
8053
8857
  filename: string;
8054
8858
  originalFilename: string;
8055
- }[] | undefined>;
8859
+ }[] | [string, string] | null | undefined>;
8860
+ createdBySignature?: string | null | undefined;
8861
+ createdAtLocation?: string | null | undefined;
8056
8862
  annotation?: Record<string, string | number | boolean | {
8057
8863
  type: string;
8058
8864
  filename: string;
@@ -8068,6 +8874,10 @@ export declare const EventDocument: z.ZodObject<{
8068
8874
  residentialArea?: string | null | undefined;
8069
8875
  street?: string | null | undefined;
8070
8876
  zipCode?: string | null | undefined;
8877
+ } | {
8878
+ firstname: string;
8879
+ surname: string;
8880
+ middlename?: string | null | undefined;
8071
8881
  } | {
8072
8882
  country: string;
8073
8883
  district: string;
@@ -8090,9 +8900,7 @@ export declare const EventDocument: z.ZodObject<{
8090
8900
  option: string;
8091
8901
  filename: string;
8092
8902
  originalFilename: string;
8093
- }[] | undefined> | undefined;
8094
- createdAtLocation?: string | undefined;
8095
- updatedAtLocation?: string | undefined;
8903
+ }[] | [string, string] | null | undefined> | undefined;
8096
8904
  originalActionId?: string | undefined;
8097
8905
  registrationNumber?: string | undefined;
8098
8906
  } | {
@@ -8118,6 +8926,10 @@ export declare const EventDocument: z.ZodObject<{
8118
8926
  residentialArea?: string | null | undefined;
8119
8927
  street?: string | null | undefined;
8120
8928
  zipCode?: string | null | undefined;
8929
+ } | {
8930
+ firstname: string;
8931
+ surname: string;
8932
+ middlename?: string | null | undefined;
8121
8933
  } | {
8122
8934
  country: string;
8123
8935
  district: string;
@@ -8140,7 +8952,9 @@ export declare const EventDocument: z.ZodObject<{
8140
8952
  option: string;
8141
8953
  filename: string;
8142
8954
  originalFilename: string;
8143
- }[] | undefined>;
8955
+ }[] | [string, string] | null | undefined>;
8956
+ createdBySignature?: string | null | undefined;
8957
+ createdAtLocation?: string | null | undefined;
8144
8958
  annotation?: Record<string, string | number | boolean | {
8145
8959
  type: string;
8146
8960
  filename: string;
@@ -8156,6 +8970,10 @@ export declare const EventDocument: z.ZodObject<{
8156
8970
  residentialArea?: string | null | undefined;
8157
8971
  street?: string | null | undefined;
8158
8972
  zipCode?: string | null | undefined;
8973
+ } | {
8974
+ firstname: string;
8975
+ surname: string;
8976
+ middlename?: string | null | undefined;
8159
8977
  } | {
8160
8978
  country: string;
8161
8979
  district: string;
@@ -8178,9 +8996,7 @@ export declare const EventDocument: z.ZodObject<{
8178
8996
  option: string;
8179
8997
  filename: string;
8180
8998
  originalFilename: string;
8181
- }[] | undefined> | undefined;
8182
- createdAtLocation?: string | undefined;
8183
- updatedAtLocation?: string | undefined;
8999
+ }[] | [string, string] | null | undefined> | undefined;
8184
9000
  originalActionId?: string | undefined;
8185
9001
  } | {
8186
9002
  type: "VALIDATE";
@@ -8205,6 +9021,10 @@ export declare const EventDocument: z.ZodObject<{
8205
9021
  residentialArea?: string | null | undefined;
8206
9022
  street?: string | null | undefined;
8207
9023
  zipCode?: string | null | undefined;
9024
+ } | {
9025
+ firstname: string;
9026
+ surname: string;
9027
+ middlename?: string | null | undefined;
8208
9028
  } | {
8209
9029
  country: string;
8210
9030
  district: string;
@@ -8227,7 +9047,9 @@ export declare const EventDocument: z.ZodObject<{
8227
9047
  option: string;
8228
9048
  filename: string;
8229
9049
  originalFilename: string;
8230
- }[] | undefined>;
9050
+ }[] | [string, string] | null | undefined>;
9051
+ createdBySignature?: string | null | undefined;
9052
+ createdAtLocation?: string | null | undefined;
8231
9053
  annotation?: Record<string, string | number | boolean | {
8232
9054
  type: string;
8233
9055
  filename: string;
@@ -8243,6 +9065,10 @@ export declare const EventDocument: z.ZodObject<{
8243
9065
  residentialArea?: string | null | undefined;
8244
9066
  street?: string | null | undefined;
8245
9067
  zipCode?: string | null | undefined;
9068
+ } | {
9069
+ firstname: string;
9070
+ surname: string;
9071
+ middlename?: string | null | undefined;
8246
9072
  } | {
8247
9073
  country: string;
8248
9074
  district: string;
@@ -8265,14 +9091,16 @@ export declare const EventDocument: z.ZodObject<{
8265
9091
  option: string;
8266
9092
  filename: string;
8267
9093
  originalFilename: string;
8268
- }[] | undefined> | undefined;
8269
- createdAtLocation?: string | undefined;
8270
- updatedAtLocation?: string | undefined;
9094
+ }[] | [string, string] | null | undefined> | undefined;
8271
9095
  originalActionId?: string | undefined;
8272
9096
  } | {
8273
9097
  type: "REJECT";
8274
9098
  id: string;
8275
9099
  status: "Rejected" | "Requested" | "Accepted";
9100
+ reason: {
9101
+ message: string;
9102
+ isDuplicate?: boolean | undefined;
9103
+ };
8276
9104
  transactionId: string;
8277
9105
  createdAt: string;
8278
9106
  createdBy: string;
@@ -8292,6 +9120,10 @@ export declare const EventDocument: z.ZodObject<{
8292
9120
  residentialArea?: string | null | undefined;
8293
9121
  street?: string | null | undefined;
8294
9122
  zipCode?: string | null | undefined;
9123
+ } | {
9124
+ firstname: string;
9125
+ surname: string;
9126
+ middlename?: string | null | undefined;
8295
9127
  } | {
8296
9128
  country: string;
8297
9129
  district: string;
@@ -8314,7 +9146,9 @@ export declare const EventDocument: z.ZodObject<{
8314
9146
  option: string;
8315
9147
  filename: string;
8316
9148
  originalFilename: string;
8317
- }[] | undefined>;
9149
+ }[] | [string, string] | null | undefined>;
9150
+ createdBySignature?: string | null | undefined;
9151
+ createdAtLocation?: string | null | undefined;
8318
9152
  annotation?: Record<string, string | number | boolean | {
8319
9153
  type: string;
8320
9154
  filename: string;
@@ -8330,6 +9164,10 @@ export declare const EventDocument: z.ZodObject<{
8330
9164
  residentialArea?: string | null | undefined;
8331
9165
  street?: string | null | undefined;
8332
9166
  zipCode?: string | null | undefined;
9167
+ } | {
9168
+ firstname: string;
9169
+ surname: string;
9170
+ middlename?: string | null | undefined;
8333
9171
  } | {
8334
9172
  country: string;
8335
9173
  district: string;
@@ -8352,9 +9190,7 @@ export declare const EventDocument: z.ZodObject<{
8352
9190
  option: string;
8353
9191
  filename: string;
8354
9192
  originalFilename: string;
8355
- }[] | undefined> | undefined;
8356
- createdAtLocation?: string | undefined;
8357
- updatedAtLocation?: string | undefined;
9193
+ }[] | [string, string] | null | undefined> | undefined;
8358
9194
  originalActionId?: string | undefined;
8359
9195
  } | {
8360
9196
  type: "MARKED_AS_DUPLICATE";
@@ -8379,6 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8379
9215
  residentialArea?: string | null | undefined;
8380
9216
  street?: string | null | undefined;
8381
9217
  zipCode?: string | null | undefined;
9218
+ } | {
9219
+ firstname: string;
9220
+ surname: string;
9221
+ middlename?: string | null | undefined;
8382
9222
  } | {
8383
9223
  country: string;
8384
9224
  district: string;
@@ -8401,7 +9241,9 @@ export declare const EventDocument: z.ZodObject<{
8401
9241
  option: string;
8402
9242
  filename: string;
8403
9243
  originalFilename: string;
8404
- }[] | undefined>;
9244
+ }[] | [string, string] | null | undefined>;
9245
+ createdBySignature?: string | null | undefined;
9246
+ createdAtLocation?: string | null | undefined;
8405
9247
  annotation?: Record<string, string | number | boolean | {
8406
9248
  type: string;
8407
9249
  filename: string;
@@ -8417,6 +9259,10 @@ export declare const EventDocument: z.ZodObject<{
8417
9259
  residentialArea?: string | null | undefined;
8418
9260
  street?: string | null | undefined;
8419
9261
  zipCode?: string | null | undefined;
9262
+ } | {
9263
+ firstname: string;
9264
+ surname: string;
9265
+ middlename?: string | null | undefined;
8420
9266
  } | {
8421
9267
  country: string;
8422
9268
  district: string;
@@ -8439,14 +9285,16 @@ export declare const EventDocument: z.ZodObject<{
8439
9285
  option: string;
8440
9286
  filename: string;
8441
9287
  originalFilename: string;
8442
- }[] | undefined> | undefined;
8443
- createdAtLocation?: string | undefined;
8444
- updatedAtLocation?: string | undefined;
9288
+ }[] | [string, string] | null | undefined> | undefined;
8445
9289
  originalActionId?: string | undefined;
8446
9290
  } | {
8447
9291
  type: "ARCHIVE";
8448
9292
  id: string;
8449
9293
  status: "Rejected" | "Requested" | "Accepted";
9294
+ reason: {
9295
+ message: string;
9296
+ isDuplicate?: boolean | undefined;
9297
+ };
8450
9298
  transactionId: string;
8451
9299
  createdAt: string;
8452
9300
  createdBy: string;
@@ -8466,6 +9314,10 @@ export declare const EventDocument: z.ZodObject<{
8466
9314
  residentialArea?: string | null | undefined;
8467
9315
  street?: string | null | undefined;
8468
9316
  zipCode?: string | null | undefined;
9317
+ } | {
9318
+ firstname: string;
9319
+ surname: string;
9320
+ middlename?: string | null | undefined;
8469
9321
  } | {
8470
9322
  country: string;
8471
9323
  district: string;
@@ -8488,7 +9340,9 @@ export declare const EventDocument: z.ZodObject<{
8488
9340
  option: string;
8489
9341
  filename: string;
8490
9342
  originalFilename: string;
8491
- }[] | undefined>;
9343
+ }[] | [string, string] | null | undefined>;
9344
+ createdBySignature?: string | null | undefined;
9345
+ createdAtLocation?: string | null | undefined;
8492
9346
  annotation?: Record<string, string | number | boolean | {
8493
9347
  type: string;
8494
9348
  filename: string;
@@ -8504,6 +9358,10 @@ export declare const EventDocument: z.ZodObject<{
8504
9358
  residentialArea?: string | null | undefined;
8505
9359
  street?: string | null | undefined;
8506
9360
  zipCode?: string | null | undefined;
9361
+ } | {
9362
+ firstname: string;
9363
+ surname: string;
9364
+ middlename?: string | null | undefined;
8507
9365
  } | {
8508
9366
  country: string;
8509
9367
  district: string;
@@ -8526,9 +9384,7 @@ export declare const EventDocument: z.ZodObject<{
8526
9384
  option: string;
8527
9385
  filename: string;
8528
9386
  originalFilename: string;
8529
- }[] | undefined> | undefined;
8530
- createdAtLocation?: string | undefined;
8531
- updatedAtLocation?: string | undefined;
9387
+ }[] | [string, string] | null | undefined> | undefined;
8532
9388
  originalActionId?: string | undefined;
8533
9389
  } | {
8534
9390
  type: "CREATE";
@@ -8553,6 +9409,10 @@ export declare const EventDocument: z.ZodObject<{
8553
9409
  residentialArea?: string | null | undefined;
8554
9410
  street?: string | null | undefined;
8555
9411
  zipCode?: string | null | undefined;
9412
+ } | {
9413
+ firstname: string;
9414
+ surname: string;
9415
+ middlename?: string | null | undefined;
8556
9416
  } | {
8557
9417
  country: string;
8558
9418
  district: string;
@@ -8575,7 +9435,9 @@ export declare const EventDocument: z.ZodObject<{
8575
9435
  option: string;
8576
9436
  filename: string;
8577
9437
  originalFilename: string;
8578
- }[] | undefined>;
9438
+ }[] | [string, string] | null | undefined>;
9439
+ createdBySignature?: string | null | undefined;
9440
+ createdAtLocation?: string | null | undefined;
8579
9441
  annotation?: Record<string, string | number | boolean | {
8580
9442
  type: string;
8581
9443
  filename: string;
@@ -8591,6 +9453,10 @@ export declare const EventDocument: z.ZodObject<{
8591
9453
  residentialArea?: string | null | undefined;
8592
9454
  street?: string | null | undefined;
8593
9455
  zipCode?: string | null | undefined;
9456
+ } | {
9457
+ firstname: string;
9458
+ surname: string;
9459
+ middlename?: string | null | undefined;
8594
9460
  } | {
8595
9461
  country: string;
8596
9462
  district: string;
@@ -8613,9 +9479,7 @@ export declare const EventDocument: z.ZodObject<{
8613
9479
  option: string;
8614
9480
  filename: string;
8615
9481
  originalFilename: string;
8616
- }[] | undefined> | undefined;
8617
- createdAtLocation?: string | undefined;
8618
- updatedAtLocation?: string | undefined;
9482
+ }[] | [string, string] | null | undefined> | undefined;
8619
9483
  originalActionId?: string | undefined;
8620
9484
  } | {
8621
9485
  type: "NOTIFY";
@@ -8640,6 +9504,10 @@ export declare const EventDocument: z.ZodObject<{
8640
9504
  residentialArea?: string | null | undefined;
8641
9505
  street?: string | null | undefined;
8642
9506
  zipCode?: string | null | undefined;
9507
+ } | {
9508
+ firstname: string;
9509
+ surname: string;
9510
+ middlename?: string | null | undefined;
8643
9511
  } | {
8644
9512
  country: string;
8645
9513
  district: string;
@@ -8662,7 +9530,9 @@ export declare const EventDocument: z.ZodObject<{
8662
9530
  option: string;
8663
9531
  filename: string;
8664
9532
  originalFilename: string;
8665
- }[] | undefined>;
9533
+ }[] | [string, string] | null | undefined>;
9534
+ createdBySignature?: string | null | undefined;
9535
+ createdAtLocation?: string | null | undefined;
8666
9536
  annotation?: Record<string, string | number | boolean | {
8667
9537
  type: string;
8668
9538
  filename: string;
@@ -8678,6 +9548,10 @@ export declare const EventDocument: z.ZodObject<{
8678
9548
  residentialArea?: string | null | undefined;
8679
9549
  street?: string | null | undefined;
8680
9550
  zipCode?: string | null | undefined;
9551
+ } | {
9552
+ firstname: string;
9553
+ surname: string;
9554
+ middlename?: string | null | undefined;
8681
9555
  } | {
8682
9556
  country: string;
8683
9557
  district: string;
@@ -8700,9 +9574,7 @@ export declare const EventDocument: z.ZodObject<{
8700
9574
  option: string;
8701
9575
  filename: string;
8702
9576
  originalFilename: string;
8703
- }[] | undefined> | undefined;
8704
- createdAtLocation?: string | undefined;
8705
- updatedAtLocation?: string | undefined;
9577
+ }[] | [string, string] | null | undefined> | undefined;
8706
9578
  originalActionId?: string | undefined;
8707
9579
  } | {
8708
9580
  type: "PRINT_CERTIFICATE";
@@ -8727,6 +9599,10 @@ export declare const EventDocument: z.ZodObject<{
8727
9599
  residentialArea?: string | null | undefined;
8728
9600
  street?: string | null | undefined;
8729
9601
  zipCode?: string | null | undefined;
9602
+ } | {
9603
+ firstname: string;
9604
+ surname: string;
9605
+ middlename?: string | null | undefined;
8730
9606
  } | {
8731
9607
  country: string;
8732
9608
  district: string;
@@ -8749,7 +9625,9 @@ export declare const EventDocument: z.ZodObject<{
8749
9625
  option: string;
8750
9626
  filename: string;
8751
9627
  originalFilename: string;
8752
- }[] | undefined>;
9628
+ }[] | [string, string] | null | undefined>;
9629
+ createdBySignature?: string | null | undefined;
9630
+ createdAtLocation?: string | null | undefined;
8753
9631
  annotation?: Record<string, string | number | boolean | {
8754
9632
  type: string;
8755
9633
  filename: string;
@@ -8765,6 +9643,10 @@ export declare const EventDocument: z.ZodObject<{
8765
9643
  residentialArea?: string | null | undefined;
8766
9644
  street?: string | null | undefined;
8767
9645
  zipCode?: string | null | undefined;
9646
+ } | {
9647
+ firstname: string;
9648
+ surname: string;
9649
+ middlename?: string | null | undefined;
8768
9650
  } | {
8769
9651
  country: string;
8770
9652
  district: string;
@@ -8787,9 +9669,7 @@ export declare const EventDocument: z.ZodObject<{
8787
9669
  option: string;
8788
9670
  filename: string;
8789
9671
  originalFilename: string;
8790
- }[] | undefined> | undefined;
8791
- createdAtLocation?: string | undefined;
8792
- updatedAtLocation?: string | undefined;
9672
+ }[] | [string, string] | null | undefined> | undefined;
8793
9673
  originalActionId?: string | undefined;
8794
9674
  } | {
8795
9675
  type: "REQUEST_CORRECTION";
@@ -8814,6 +9694,10 @@ export declare const EventDocument: z.ZodObject<{
8814
9694
  residentialArea?: string | null | undefined;
8815
9695
  street?: string | null | undefined;
8816
9696
  zipCode?: string | null | undefined;
9697
+ } | {
9698
+ firstname: string;
9699
+ surname: string;
9700
+ middlename?: string | null | undefined;
8817
9701
  } | {
8818
9702
  country: string;
8819
9703
  district: string;
@@ -8836,7 +9720,9 @@ export declare const EventDocument: z.ZodObject<{
8836
9720
  option: string;
8837
9721
  filename: string;
8838
9722
  originalFilename: string;
8839
- }[] | undefined>;
9723
+ }[] | [string, string] | null | undefined>;
9724
+ createdBySignature?: string | null | undefined;
9725
+ createdAtLocation?: string | null | undefined;
8840
9726
  annotation?: Record<string, string | number | boolean | {
8841
9727
  type: string;
8842
9728
  filename: string;
@@ -8852,6 +9738,10 @@ export declare const EventDocument: z.ZodObject<{
8852
9738
  residentialArea?: string | null | undefined;
8853
9739
  street?: string | null | undefined;
8854
9740
  zipCode?: string | null | undefined;
9741
+ } | {
9742
+ firstname: string;
9743
+ surname: string;
9744
+ middlename?: string | null | undefined;
8855
9745
  } | {
8856
9746
  country: string;
8857
9747
  district: string;
@@ -8874,9 +9764,7 @@ export declare const EventDocument: z.ZodObject<{
8874
9764
  option: string;
8875
9765
  filename: string;
8876
9766
  originalFilename: string;
8877
- }[] | undefined> | undefined;
8878
- createdAtLocation?: string | undefined;
8879
- updatedAtLocation?: string | undefined;
9767
+ }[] | [string, string] | null | undefined> | undefined;
8880
9768
  originalActionId?: string | undefined;
8881
9769
  } | {
8882
9770
  type: "APPROVE_CORRECTION";
@@ -8901,6 +9789,10 @@ export declare const EventDocument: z.ZodObject<{
8901
9789
  residentialArea?: string | null | undefined;
8902
9790
  street?: string | null | undefined;
8903
9791
  zipCode?: string | null | undefined;
9792
+ } | {
9793
+ firstname: string;
9794
+ surname: string;
9795
+ middlename?: string | null | undefined;
8904
9796
  } | {
8905
9797
  country: string;
8906
9798
  district: string;
@@ -8923,8 +9815,10 @@ export declare const EventDocument: z.ZodObject<{
8923
9815
  option: string;
8924
9816
  filename: string;
8925
9817
  originalFilename: string;
8926
- }[] | undefined>;
9818
+ }[] | [string, string] | null | undefined>;
8927
9819
  requestId: string;
9820
+ createdBySignature?: string | null | undefined;
9821
+ createdAtLocation?: string | null | undefined;
8928
9822
  annotation?: Record<string, string | number | boolean | {
8929
9823
  type: string;
8930
9824
  filename: string;
@@ -8940,6 +9834,10 @@ export declare const EventDocument: z.ZodObject<{
8940
9834
  residentialArea?: string | null | undefined;
8941
9835
  street?: string | null | undefined;
8942
9836
  zipCode?: string | null | undefined;
9837
+ } | {
9838
+ firstname: string;
9839
+ surname: string;
9840
+ middlename?: string | null | undefined;
8943
9841
  } | {
8944
9842
  country: string;
8945
9843
  district: string;
@@ -8962,9 +9860,7 @@ export declare const EventDocument: z.ZodObject<{
8962
9860
  option: string;
8963
9861
  filename: string;
8964
9862
  originalFilename: string;
8965
- }[] | undefined> | undefined;
8966
- createdAtLocation?: string | undefined;
8967
- updatedAtLocation?: string | undefined;
9863
+ }[] | [string, string] | null | undefined> | undefined;
8968
9864
  originalActionId?: string | undefined;
8969
9865
  } | {
8970
9866
  type: "REJECT_CORRECTION";
@@ -8989,6 +9885,10 @@ export declare const EventDocument: z.ZodObject<{
8989
9885
  residentialArea?: string | null | undefined;
8990
9886
  street?: string | null | undefined;
8991
9887
  zipCode?: string | null | undefined;
9888
+ } | {
9889
+ firstname: string;
9890
+ surname: string;
9891
+ middlename?: string | null | undefined;
8992
9892
  } | {
8993
9893
  country: string;
8994
9894
  district: string;
@@ -9011,8 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
9011
9911
  option: string;
9012
9912
  filename: string;
9013
9913
  originalFilename: string;
9014
- }[] | undefined>;
9914
+ }[] | [string, string] | null | undefined>;
9015
9915
  requestId: string;
9916
+ createdBySignature?: string | null | undefined;
9917
+ createdAtLocation?: string | null | undefined;
9016
9918
  annotation?: Record<string, string | number | boolean | {
9017
9919
  type: string;
9018
9920
  filename: string;
@@ -9028,6 +9930,10 @@ export declare const EventDocument: z.ZodObject<{
9028
9930
  residentialArea?: string | null | undefined;
9029
9931
  street?: string | null | undefined;
9030
9932
  zipCode?: string | null | undefined;
9933
+ } | {
9934
+ firstname: string;
9935
+ surname: string;
9936
+ middlename?: string | null | undefined;
9031
9937
  } | {
9032
9938
  country: string;
9033
9939
  district: string;
@@ -9050,9 +9956,7 @@ export declare const EventDocument: z.ZodObject<{
9050
9956
  option: string;
9051
9957
  filename: string;
9052
9958
  originalFilename: string;
9053
- }[] | undefined> | undefined;
9054
- createdAtLocation?: string | undefined;
9055
- updatedAtLocation?: string | undefined;
9959
+ }[] | [string, string] | null | undefined> | undefined;
9056
9960
  originalActionId?: string | undefined;
9057
9961
  } | {
9058
9962
  type: "READ";
@@ -9077,6 +9981,10 @@ export declare const EventDocument: z.ZodObject<{
9077
9981
  residentialArea?: string | null | undefined;
9078
9982
  street?: string | null | undefined;
9079
9983
  zipCode?: string | null | undefined;
9984
+ } | {
9985
+ firstname: string;
9986
+ surname: string;
9987
+ middlename?: string | null | undefined;
9080
9988
  } | {
9081
9989
  country: string;
9082
9990
  district: string;
@@ -9099,7 +10007,9 @@ export declare const EventDocument: z.ZodObject<{
9099
10007
  option: string;
9100
10008
  filename: string;
9101
10009
  originalFilename: string;
9102
- }[] | undefined>;
10010
+ }[] | [string, string] | null | undefined>;
10011
+ createdBySignature?: string | null | undefined;
10012
+ createdAtLocation?: string | null | undefined;
9103
10013
  annotation?: Record<string, string | number | boolean | {
9104
10014
  type: string;
9105
10015
  filename: string;
@@ -9115,6 +10025,10 @@ export declare const EventDocument: z.ZodObject<{
9115
10025
  residentialArea?: string | null | undefined;
9116
10026
  street?: string | null | undefined;
9117
10027
  zipCode?: string | null | undefined;
10028
+ } | {
10029
+ firstname: string;
10030
+ surname: string;
10031
+ middlename?: string | null | undefined;
9118
10032
  } | {
9119
10033
  country: string;
9120
10034
  district: string;
@@ -9137,9 +10051,7 @@ export declare const EventDocument: z.ZodObject<{
9137
10051
  option: string;
9138
10052
  filename: string;
9139
10053
  originalFilename: string;
9140
- }[] | undefined> | undefined;
9141
- createdAtLocation?: string | undefined;
9142
- updatedAtLocation?: string | undefined;
10054
+ }[] | [string, string] | null | undefined> | undefined;
9143
10055
  originalActionId?: string | undefined;
9144
10056
  } | {
9145
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -9147,13 +10059,13 @@ export declare const EventDocument: z.ZodObject<{
9147
10059
  status: "Rejected";
9148
10060
  transactionId: string;
9149
10061
  createdAt: string;
9150
- updatedAtLocation?: string | undefined;
10062
+ createdBy: string;
10063
+ createdByRole: string;
10064
+ createdBySignature?: string | null | undefined;
10065
+ createdAtLocation?: string | null | undefined;
9151
10066
  originalActionId?: string | undefined;
9152
10067
  })[];
9153
10068
  trackingId: string;
9154
- dateOfEvent?: {
9155
- fieldId: string;
9156
- } | undefined;
9157
10069
  }>;
9158
10070
  export type EventDocument = z.infer<typeof EventDocument>;
9159
10071
  //# sourceMappingURL=EventDocument.d.ts.map