@opencrvs/toolkit 1.8.0-rc.f9fb039 → 1.8.0-rc.fa49ae3

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 +15058 -4901
  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 +32976 -12647
  5. package/dist/commons/events/ActionDocument.d.ts +2005 -309
  6. package/dist/commons/events/ActionInput.d.ts +1455 -183
  7. package/dist/commons/events/ActionType.d.ts +4 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +509 -12
  9. package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +3008 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  13. package/dist/commons/events/Draft.d.ts +127 -21
  14. package/dist/commons/events/EventConfig.d.ts +27068 -16943
  15. package/dist/commons/events/EventDocument.d.ts +1308 -251
  16. package/dist/commons/events/EventIndex.d.ts +502 -486
  17. package/dist/commons/events/EventInput.d.ts +0 -13
  18. package/dist/commons/events/EventMetadata.d.ts +104 -77
  19. package/dist/commons/events/FieldConfig.d.ts +2074 -1202
  20. package/dist/commons/events/FieldType.d.ts +4 -1
  21. package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
  22. package/dist/commons/events/FieldValue.d.ts +43 -5
  23. package/dist/commons/events/FormConfig.d.ts +10259 -4769
  24. package/dist/commons/events/PageConfig.d.ts +3480 -2134
  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 +4110 -659
  29. package/dist/commons/events/defineConfig.d.ts +2435 -680
  30. package/dist/commons/events/event.d.ts +5 -5
  31. package/dist/commons/events/field.d.ts +10 -10
  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 +10013 -326
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +45 -8
  39. package/dist/events/index.js +2836 -1172
  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
- registeredAt: z.ZodOptional<z.ZodString>;
15
- registeredAtLocation: z.ZodOptional<z.ZodString>;
16
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
17
8
  id: z.ZodString;
18
9
  transactionId: z.ZodString;
10
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
19
11
  createdAt: z.ZodString;
20
12
  createdBy: z.ZodString;
21
13
  createdByRole: z.ZodString;
14
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
16
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
23
17
  filename: z.ZodString;
24
18
  originalFilename: z.ZodString;
@@ -132,7 +126,19 @@ export declare const EventDocument: z.ZodObject<{
132
126
  addressLine2?: string | null | undefined;
133
127
  addressLine3?: string | null | undefined;
134
128
  postcodeOrZip?: string | null | undefined;
135
- }>]>>;
129
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
+ firstname: z.ZodString;
131
+ surname: z.ZodString;
132
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
+ }, "strip", z.ZodTypeAny, {
134
+ firstname: string;
135
+ surname: string;
136
+ middlename?: string | null | undefined;
137
+ }, {
138
+ firstname: string;
139
+ surname: string;
140
+ middlename?: string | null | undefined;
141
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
136
142
  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<{
137
143
  filename: z.ZodString;
138
144
  originalFilename: z.ZodString;
@@ -246,8 +252,19 @@ export declare const EventDocument: z.ZodObject<{
246
252
  addressLine2?: string | null | undefined;
247
253
  addressLine3?: string | null | undefined;
248
254
  postcodeOrZip?: string | null | undefined;
249
- }>]>>>;
250
- createdAtLocation: z.ZodString;
255
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
+ firstname: z.ZodString;
257
+ surname: z.ZodString;
258
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ firstname: string;
261
+ surname: string;
262
+ middlename?: string | null | undefined;
263
+ }, {
264
+ firstname: string;
265
+ surname: string;
266
+ middlename?: string | null | undefined;
267
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
251
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
252
269
  originalActionId: z.ZodOptional<z.ZodString>;
253
270
  }, {
@@ -275,6 +292,10 @@ export declare const EventDocument: z.ZodObject<{
275
292
  residentialArea?: string | null | undefined;
276
293
  street?: string | null | undefined;
277
294
  zipCode?: string | null | undefined;
295
+ } | {
296
+ firstname: string;
297
+ surname: string;
298
+ middlename?: string | null | undefined;
278
299
  } | {
279
300
  country: string;
280
301
  district: string;
@@ -297,8 +318,10 @@ export declare const EventDocument: z.ZodObject<{
297
318
  option: string;
298
319
  filename: string;
299
320
  originalFilename: string;
300
- }[] | [string, string] | undefined>;
301
- createdAtLocation: string;
321
+ }[] | [string, string] | null | undefined>;
322
+ creator?: "system" | "user" | undefined;
323
+ createdBySignature?: string | null | undefined;
324
+ createdAtLocation?: string | null | undefined;
302
325
  annotation?: Record<string, string | number | boolean | {
303
326
  type: string;
304
327
  filename: string;
@@ -314,6 +337,10 @@ export declare const EventDocument: z.ZodObject<{
314
337
  residentialArea?: string | null | undefined;
315
338
  street?: string | null | undefined;
316
339
  zipCode?: string | null | undefined;
340
+ } | {
341
+ firstname: string;
342
+ surname: string;
343
+ middlename?: string | null | undefined;
317
344
  } | {
318
345
  country: string;
319
346
  district: string;
@@ -336,7 +363,7 @@ export declare const EventDocument: z.ZodObject<{
336
363
  option: string;
337
364
  filename: string;
338
365
  originalFilename: string;
339
- }[] | [string, string] | undefined> | undefined;
366
+ }[] | [string, string] | null | undefined> | undefined;
340
367
  originalActionId?: string | undefined;
341
368
  }, {
342
369
  type: "CREATE";
@@ -361,6 +388,10 @@ export declare const EventDocument: z.ZodObject<{
361
388
  residentialArea?: string | null | undefined;
362
389
  street?: string | null | undefined;
363
390
  zipCode?: string | null | undefined;
391
+ } | {
392
+ firstname: string;
393
+ surname: string;
394
+ middlename?: string | null | undefined;
364
395
  } | {
365
396
  country: string;
366
397
  district: string;
@@ -383,8 +414,10 @@ export declare const EventDocument: z.ZodObject<{
383
414
  option: string;
384
415
  filename: string;
385
416
  originalFilename: string;
386
- }[] | [string, string] | undefined>;
387
- createdAtLocation: string;
417
+ }[] | [string, string] | null | undefined>;
418
+ creator?: "system" | "user" | undefined;
419
+ createdBySignature?: string | null | undefined;
420
+ createdAtLocation?: string | null | undefined;
388
421
  annotation?: Record<string, string | number | boolean | {
389
422
  type: string;
390
423
  filename: string;
@@ -400,6 +433,10 @@ export declare const EventDocument: z.ZodObject<{
400
433
  residentialArea?: string | null | undefined;
401
434
  street?: string | null | undefined;
402
435
  zipCode?: string | null | undefined;
436
+ } | {
437
+ firstname: string;
438
+ surname: string;
439
+ middlename?: string | null | undefined;
403
440
  } | {
404
441
  country: string;
405
442
  district: string;
@@ -422,14 +459,17 @@ export declare const EventDocument: z.ZodObject<{
422
459
  option: string;
423
460
  filename: string;
424
461
  originalFilename: string;
425
- }[] | [string, string] | undefined> | undefined;
462
+ }[] | [string, string] | null | undefined> | undefined;
426
463
  originalActionId?: string | undefined;
427
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
428
465
  id: z.ZodString;
429
466
  transactionId: z.ZodString;
467
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
430
468
  createdAt: z.ZodString;
431
469
  createdBy: z.ZodString;
432
470
  createdByRole: z.ZodString;
471
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
473
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
434
474
  filename: z.ZodString;
435
475
  originalFilename: z.ZodString;
@@ -543,7 +583,19 @@ export declare const EventDocument: z.ZodObject<{
543
583
  addressLine2?: string | null | undefined;
544
584
  addressLine3?: string | null | undefined;
545
585
  postcodeOrZip?: string | null | undefined;
546
- }>]>>;
586
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
+ firstname: z.ZodString;
588
+ surname: z.ZodString;
589
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ firstname: string;
592
+ surname: string;
593
+ middlename?: string | null | undefined;
594
+ }, {
595
+ firstname: string;
596
+ surname: string;
597
+ middlename?: string | null | undefined;
598
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
547
599
  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<{
548
600
  filename: z.ZodString;
549
601
  originalFilename: z.ZodString;
@@ -657,8 +709,19 @@ export declare const EventDocument: z.ZodObject<{
657
709
  addressLine2?: string | null | undefined;
658
710
  addressLine3?: string | null | undefined;
659
711
  postcodeOrZip?: string | null | undefined;
660
- }>]>>>;
661
- createdAtLocation: z.ZodString;
712
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
+ firstname: z.ZodString;
714
+ surname: z.ZodString;
715
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
720
+ }, {
721
+ firstname: string;
722
+ surname: string;
723
+ middlename?: string | null | undefined;
724
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
662
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
663
726
  originalActionId: z.ZodOptional<z.ZodString>;
664
727
  }, {
@@ -686,6 +749,10 @@ export declare const EventDocument: z.ZodObject<{
686
749
  residentialArea?: string | null | undefined;
687
750
  street?: string | null | undefined;
688
751
  zipCode?: string | null | undefined;
752
+ } | {
753
+ firstname: string;
754
+ surname: string;
755
+ middlename?: string | null | undefined;
689
756
  } | {
690
757
  country: string;
691
758
  district: string;
@@ -708,8 +775,10 @@ export declare const EventDocument: z.ZodObject<{
708
775
  option: string;
709
776
  filename: string;
710
777
  originalFilename: string;
711
- }[] | [string, string] | undefined>;
712
- createdAtLocation: string;
778
+ }[] | [string, string] | null | undefined>;
779
+ creator?: "system" | "user" | undefined;
780
+ createdBySignature?: string | null | undefined;
781
+ createdAtLocation?: string | null | undefined;
713
782
  annotation?: Record<string, string | number | boolean | {
714
783
  type: string;
715
784
  filename: string;
@@ -725,6 +794,10 @@ export declare const EventDocument: z.ZodObject<{
725
794
  residentialArea?: string | null | undefined;
726
795
  street?: string | null | undefined;
727
796
  zipCode?: string | null | undefined;
797
+ } | {
798
+ firstname: string;
799
+ surname: string;
800
+ middlename?: string | null | undefined;
728
801
  } | {
729
802
  country: string;
730
803
  district: string;
@@ -747,7 +820,7 @@ export declare const EventDocument: z.ZodObject<{
747
820
  option: string;
748
821
  filename: string;
749
822
  originalFilename: string;
750
- }[] | [string, string] | undefined> | undefined;
823
+ }[] | [string, string] | null | undefined> | undefined;
751
824
  originalActionId?: string | undefined;
752
825
  }, {
753
826
  type: "VALIDATE";
@@ -772,6 +845,10 @@ export declare const EventDocument: z.ZodObject<{
772
845
  residentialArea?: string | null | undefined;
773
846
  street?: string | null | undefined;
774
847
  zipCode?: string | null | undefined;
848
+ } | {
849
+ firstname: string;
850
+ surname: string;
851
+ middlename?: string | null | undefined;
775
852
  } | {
776
853
  country: string;
777
854
  district: string;
@@ -794,8 +871,10 @@ export declare const EventDocument: z.ZodObject<{
794
871
  option: string;
795
872
  filename: string;
796
873
  originalFilename: string;
797
- }[] | [string, string] | undefined>;
798
- createdAtLocation: string;
874
+ }[] | [string, string] | null | undefined>;
875
+ creator?: "system" | "user" | undefined;
876
+ createdBySignature?: string | null | undefined;
877
+ createdAtLocation?: string | null | undefined;
799
878
  annotation?: Record<string, string | number | boolean | {
800
879
  type: string;
801
880
  filename: string;
@@ -811,6 +890,10 @@ export declare const EventDocument: z.ZodObject<{
811
890
  residentialArea?: string | null | undefined;
812
891
  street?: string | null | undefined;
813
892
  zipCode?: string | null | undefined;
893
+ } | {
894
+ firstname: string;
895
+ surname: string;
896
+ middlename?: string | null | undefined;
814
897
  } | {
815
898
  country: string;
816
899
  district: string;
@@ -833,14 +916,17 @@ export declare const EventDocument: z.ZodObject<{
833
916
  option: string;
834
917
  filename: string;
835
918
  originalFilename: string;
836
- }[] | [string, string] | undefined> | undefined;
919
+ }[] | [string, string] | null | undefined> | undefined;
837
920
  originalActionId?: string | undefined;
838
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
839
922
  id: z.ZodString;
840
923
  transactionId: z.ZodString;
924
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
841
925
  createdAt: z.ZodString;
842
926
  createdBy: z.ZodString;
843
927
  createdByRole: z.ZodString;
928
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
930
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
845
931
  filename: z.ZodString;
846
932
  originalFilename: z.ZodString;
@@ -954,7 +1040,19 @@ export declare const EventDocument: z.ZodObject<{
954
1040
  addressLine2?: string | null | undefined;
955
1041
  addressLine3?: string | null | undefined;
956
1042
  postcodeOrZip?: string | null | undefined;
957
- }>]>>;
1043
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
+ firstname: z.ZodString;
1045
+ surname: z.ZodString;
1046
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ firstname: string;
1049
+ surname: string;
1050
+ middlename?: string | null | undefined;
1051
+ }, {
1052
+ firstname: string;
1053
+ surname: string;
1054
+ middlename?: string | null | undefined;
1055
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
958
1056
  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<{
959
1057
  filename: z.ZodString;
960
1058
  originalFilename: z.ZodString;
@@ -1068,16 +1166,41 @@ export declare const EventDocument: z.ZodObject<{
1068
1166
  addressLine2?: string | null | undefined;
1069
1167
  addressLine3?: string | null | undefined;
1070
1168
  postcodeOrZip?: string | null | undefined;
1071
- }>]>>>;
1072
- createdAtLocation: z.ZodString;
1169
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
+ firstname: z.ZodString;
1171
+ surname: z.ZodString;
1172
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ }, "strip", z.ZodTypeAny, {
1174
+ firstname: string;
1175
+ surname: string;
1176
+ middlename?: string | null | undefined;
1177
+ }, {
1178
+ firstname: string;
1179
+ surname: string;
1180
+ middlename?: string | null | undefined;
1181
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1073
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1074
1183
  originalActionId: z.ZodOptional<z.ZodString>;
1075
1184
  }, {
1076
1185
  type: z.ZodLiteral<"REJECT">;
1186
+ reason: z.ZodObject<{
1187
+ message: z.ZodString;
1188
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ message: string;
1191
+ isDuplicate?: boolean | undefined;
1192
+ }, {
1193
+ message: string;
1194
+ isDuplicate?: boolean | undefined;
1195
+ }>;
1077
1196
  }>, "strip", z.ZodTypeAny, {
1078
1197
  type: "REJECT";
1079
1198
  id: string;
1080
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
+ reason: {
1201
+ message: string;
1202
+ isDuplicate?: boolean | undefined;
1203
+ };
1081
1204
  transactionId: string;
1082
1205
  createdAt: string;
1083
1206
  createdBy: string;
@@ -1097,6 +1220,10 @@ export declare const EventDocument: z.ZodObject<{
1097
1220
  residentialArea?: string | null | undefined;
1098
1221
  street?: string | null | undefined;
1099
1222
  zipCode?: string | null | undefined;
1223
+ } | {
1224
+ firstname: string;
1225
+ surname: string;
1226
+ middlename?: string | null | undefined;
1100
1227
  } | {
1101
1228
  country: string;
1102
1229
  district: string;
@@ -1119,8 +1246,10 @@ export declare const EventDocument: z.ZodObject<{
1119
1246
  option: string;
1120
1247
  filename: string;
1121
1248
  originalFilename: string;
1122
- }[] | [string, string] | undefined>;
1123
- createdAtLocation: string;
1249
+ }[] | [string, string] | null | undefined>;
1250
+ creator?: "system" | "user" | undefined;
1251
+ createdBySignature?: string | null | undefined;
1252
+ createdAtLocation?: string | null | undefined;
1124
1253
  annotation?: Record<string, string | number | boolean | {
1125
1254
  type: string;
1126
1255
  filename: string;
@@ -1136,6 +1265,10 @@ export declare const EventDocument: z.ZodObject<{
1136
1265
  residentialArea?: string | null | undefined;
1137
1266
  street?: string | null | undefined;
1138
1267
  zipCode?: string | null | undefined;
1268
+ } | {
1269
+ firstname: string;
1270
+ surname: string;
1271
+ middlename?: string | null | undefined;
1139
1272
  } | {
1140
1273
  country: string;
1141
1274
  district: string;
@@ -1158,12 +1291,16 @@ export declare const EventDocument: z.ZodObject<{
1158
1291
  option: string;
1159
1292
  filename: string;
1160
1293
  originalFilename: string;
1161
- }[] | [string, string] | undefined> | undefined;
1294
+ }[] | [string, string] | null | undefined> | undefined;
1162
1295
  originalActionId?: string | undefined;
1163
1296
  }, {
1164
1297
  type: "REJECT";
1165
1298
  id: string;
1166
1299
  status: "Rejected" | "Requested" | "Accepted";
1300
+ reason: {
1301
+ message: string;
1302
+ isDuplicate?: boolean | undefined;
1303
+ };
1167
1304
  transactionId: string;
1168
1305
  createdAt: string;
1169
1306
  createdBy: string;
@@ -1183,6 +1320,10 @@ export declare const EventDocument: z.ZodObject<{
1183
1320
  residentialArea?: string | null | undefined;
1184
1321
  street?: string | null | undefined;
1185
1322
  zipCode?: string | null | undefined;
1323
+ } | {
1324
+ firstname: string;
1325
+ surname: string;
1326
+ middlename?: string | null | undefined;
1186
1327
  } | {
1187
1328
  country: string;
1188
1329
  district: string;
@@ -1205,8 +1346,10 @@ export declare const EventDocument: z.ZodObject<{
1205
1346
  option: string;
1206
1347
  filename: string;
1207
1348
  originalFilename: string;
1208
- }[] | [string, string] | undefined>;
1209
- createdAtLocation: string;
1349
+ }[] | [string, string] | null | undefined>;
1350
+ creator?: "system" | "user" | undefined;
1351
+ createdBySignature?: string | null | undefined;
1352
+ createdAtLocation?: string | null | undefined;
1210
1353
  annotation?: Record<string, string | number | boolean | {
1211
1354
  type: string;
1212
1355
  filename: string;
@@ -1222,6 +1365,10 @@ export declare const EventDocument: z.ZodObject<{
1222
1365
  residentialArea?: string | null | undefined;
1223
1366
  street?: string | null | undefined;
1224
1367
  zipCode?: string | null | undefined;
1368
+ } | {
1369
+ firstname: string;
1370
+ surname: string;
1371
+ middlename?: string | null | undefined;
1225
1372
  } | {
1226
1373
  country: string;
1227
1374
  district: string;
@@ -1244,14 +1391,17 @@ export declare const EventDocument: z.ZodObject<{
1244
1391
  option: string;
1245
1392
  filename: string;
1246
1393
  originalFilename: string;
1247
- }[] | [string, string] | undefined> | undefined;
1394
+ }[] | [string, string] | null | undefined> | undefined;
1248
1395
  originalActionId?: string | undefined;
1249
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1250
1397
  id: z.ZodString;
1251
1398
  transactionId: z.ZodString;
1399
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1252
1400
  createdAt: z.ZodString;
1253
1401
  createdBy: z.ZodString;
1254
1402
  createdByRole: z.ZodString;
1403
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1255
1405
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1256
1406
  filename: z.ZodString;
1257
1407
  originalFilename: z.ZodString;
@@ -1365,7 +1515,19 @@ export declare const EventDocument: z.ZodObject<{
1365
1515
  addressLine2?: string | null | undefined;
1366
1516
  addressLine3?: string | null | undefined;
1367
1517
  postcodeOrZip?: string | null | undefined;
1368
- }>]>>;
1518
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
+ firstname: z.ZodString;
1520
+ surname: z.ZodString;
1521
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
+ }, "strip", z.ZodTypeAny, {
1523
+ firstname: string;
1524
+ surname: string;
1525
+ middlename?: string | null | undefined;
1526
+ }, {
1527
+ firstname: string;
1528
+ surname: string;
1529
+ middlename?: string | null | undefined;
1530
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1369
1531
  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<{
1370
1532
  filename: z.ZodString;
1371
1533
  originalFilename: z.ZodString;
@@ -1479,8 +1641,19 @@ export declare const EventDocument: z.ZodObject<{
1479
1641
  addressLine2?: string | null | undefined;
1480
1642
  addressLine3?: string | null | undefined;
1481
1643
  postcodeOrZip?: string | null | undefined;
1482
- }>]>>>;
1483
- createdAtLocation: z.ZodString;
1644
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
+ firstname: z.ZodString;
1646
+ surname: z.ZodString;
1647
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ firstname: string;
1650
+ surname: string;
1651
+ middlename?: string | null | undefined;
1652
+ }, {
1653
+ firstname: string;
1654
+ surname: string;
1655
+ middlename?: string | null | undefined;
1656
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1484
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1485
1658
  originalActionId: z.ZodOptional<z.ZodString>;
1486
1659
  }, {
@@ -1508,6 +1681,10 @@ export declare const EventDocument: z.ZodObject<{
1508
1681
  residentialArea?: string | null | undefined;
1509
1682
  street?: string | null | undefined;
1510
1683
  zipCode?: string | null | undefined;
1684
+ } | {
1685
+ firstname: string;
1686
+ surname: string;
1687
+ middlename?: string | null | undefined;
1511
1688
  } | {
1512
1689
  country: string;
1513
1690
  district: string;
@@ -1530,8 +1707,10 @@ export declare const EventDocument: z.ZodObject<{
1530
1707
  option: string;
1531
1708
  filename: string;
1532
1709
  originalFilename: string;
1533
- }[] | [string, string] | undefined>;
1534
- createdAtLocation: string;
1710
+ }[] | [string, string] | null | undefined>;
1711
+ creator?: "system" | "user" | undefined;
1712
+ createdBySignature?: string | null | undefined;
1713
+ createdAtLocation?: string | null | undefined;
1535
1714
  annotation?: Record<string, string | number | boolean | {
1536
1715
  type: string;
1537
1716
  filename: string;
@@ -1547,6 +1726,10 @@ export declare const EventDocument: z.ZodObject<{
1547
1726
  residentialArea?: string | null | undefined;
1548
1727
  street?: string | null | undefined;
1549
1728
  zipCode?: string | null | undefined;
1729
+ } | {
1730
+ firstname: string;
1731
+ surname: string;
1732
+ middlename?: string | null | undefined;
1550
1733
  } | {
1551
1734
  country: string;
1552
1735
  district: string;
@@ -1569,7 +1752,7 @@ export declare const EventDocument: z.ZodObject<{
1569
1752
  option: string;
1570
1753
  filename: string;
1571
1754
  originalFilename: string;
1572
- }[] | [string, string] | undefined> | undefined;
1755
+ }[] | [string, string] | null | undefined> | undefined;
1573
1756
  originalActionId?: string | undefined;
1574
1757
  }, {
1575
1758
  type: "MARKED_AS_DUPLICATE";
@@ -1594,6 +1777,10 @@ export declare const EventDocument: z.ZodObject<{
1594
1777
  residentialArea?: string | null | undefined;
1595
1778
  street?: string | null | undefined;
1596
1779
  zipCode?: string | null | undefined;
1780
+ } | {
1781
+ firstname: string;
1782
+ surname: string;
1783
+ middlename?: string | null | undefined;
1597
1784
  } | {
1598
1785
  country: string;
1599
1786
  district: string;
@@ -1616,8 +1803,10 @@ export declare const EventDocument: z.ZodObject<{
1616
1803
  option: string;
1617
1804
  filename: string;
1618
1805
  originalFilename: string;
1619
- }[] | [string, string] | undefined>;
1620
- createdAtLocation: string;
1806
+ }[] | [string, string] | null | undefined>;
1807
+ creator?: "system" | "user" | undefined;
1808
+ createdBySignature?: string | null | undefined;
1809
+ createdAtLocation?: string | null | undefined;
1621
1810
  annotation?: Record<string, string | number | boolean | {
1622
1811
  type: string;
1623
1812
  filename: string;
@@ -1633,6 +1822,10 @@ export declare const EventDocument: z.ZodObject<{
1633
1822
  residentialArea?: string | null | undefined;
1634
1823
  street?: string | null | undefined;
1635
1824
  zipCode?: string | null | undefined;
1825
+ } | {
1826
+ firstname: string;
1827
+ surname: string;
1828
+ middlename?: string | null | undefined;
1636
1829
  } | {
1637
1830
  country: string;
1638
1831
  district: string;
@@ -1655,14 +1848,17 @@ export declare const EventDocument: z.ZodObject<{
1655
1848
  option: string;
1656
1849
  filename: string;
1657
1850
  originalFilename: string;
1658
- }[] | [string, string] | undefined> | undefined;
1851
+ }[] | [string, string] | null | undefined> | undefined;
1659
1852
  originalActionId?: string | undefined;
1660
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1661
1854
  id: z.ZodString;
1662
1855
  transactionId: z.ZodString;
1856
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1663
1857
  createdAt: z.ZodString;
1664
1858
  createdBy: z.ZodString;
1665
1859
  createdByRole: z.ZodString;
1860
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1666
1862
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1667
1863
  filename: z.ZodString;
1668
1864
  originalFilename: z.ZodString;
@@ -1776,7 +1972,19 @@ export declare const EventDocument: z.ZodObject<{
1776
1972
  addressLine2?: string | null | undefined;
1777
1973
  addressLine3?: string | null | undefined;
1778
1974
  postcodeOrZip?: string | null | undefined;
1779
- }>]>>;
1975
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
+ firstname: z.ZodString;
1977
+ surname: z.ZodString;
1978
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
+ }, "strip", z.ZodTypeAny, {
1980
+ firstname: string;
1981
+ surname: string;
1982
+ middlename?: string | null | undefined;
1983
+ }, {
1984
+ firstname: string;
1985
+ surname: string;
1986
+ middlename?: string | null | undefined;
1987
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1780
1988
  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<{
1781
1989
  filename: z.ZodString;
1782
1990
  originalFilename: z.ZodString;
@@ -1890,16 +2098,41 @@ export declare const EventDocument: z.ZodObject<{
1890
2098
  addressLine2?: string | null | undefined;
1891
2099
  addressLine3?: string | null | undefined;
1892
2100
  postcodeOrZip?: string | null | undefined;
1893
- }>]>>>;
1894
- createdAtLocation: z.ZodString;
2101
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
+ firstname: z.ZodString;
2103
+ surname: z.ZodString;
2104
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ firstname: string;
2107
+ surname: string;
2108
+ middlename?: string | null | undefined;
2109
+ }, {
2110
+ firstname: string;
2111
+ surname: string;
2112
+ middlename?: string | null | undefined;
2113
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1895
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1896
2115
  originalActionId: z.ZodOptional<z.ZodString>;
1897
2116
  }, {
1898
2117
  type: z.ZodLiteral<"ARCHIVE">;
2118
+ reason: z.ZodObject<{
2119
+ message: z.ZodString;
2120
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ message: string;
2123
+ isDuplicate?: boolean | undefined;
2124
+ }, {
2125
+ message: string;
2126
+ isDuplicate?: boolean | undefined;
2127
+ }>;
1899
2128
  }>, "strip", z.ZodTypeAny, {
1900
2129
  type: "ARCHIVE";
1901
2130
  id: string;
1902
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
+ reason: {
2133
+ message: string;
2134
+ isDuplicate?: boolean | undefined;
2135
+ };
1903
2136
  transactionId: string;
1904
2137
  createdAt: string;
1905
2138
  createdBy: string;
@@ -1919,6 +2152,10 @@ export declare const EventDocument: z.ZodObject<{
1919
2152
  residentialArea?: string | null | undefined;
1920
2153
  street?: string | null | undefined;
1921
2154
  zipCode?: string | null | undefined;
2155
+ } | {
2156
+ firstname: string;
2157
+ surname: string;
2158
+ middlename?: string | null | undefined;
1922
2159
  } | {
1923
2160
  country: string;
1924
2161
  district: string;
@@ -1941,8 +2178,10 @@ export declare const EventDocument: z.ZodObject<{
1941
2178
  option: string;
1942
2179
  filename: string;
1943
2180
  originalFilename: string;
1944
- }[] | [string, string] | undefined>;
1945
- createdAtLocation: string;
2181
+ }[] | [string, string] | null | undefined>;
2182
+ creator?: "system" | "user" | undefined;
2183
+ createdBySignature?: string | null | undefined;
2184
+ createdAtLocation?: string | null | undefined;
1946
2185
  annotation?: Record<string, string | number | boolean | {
1947
2186
  type: string;
1948
2187
  filename: string;
@@ -1958,6 +2197,10 @@ export declare const EventDocument: z.ZodObject<{
1958
2197
  residentialArea?: string | null | undefined;
1959
2198
  street?: string | null | undefined;
1960
2199
  zipCode?: string | null | undefined;
2200
+ } | {
2201
+ firstname: string;
2202
+ surname: string;
2203
+ middlename?: string | null | undefined;
1961
2204
  } | {
1962
2205
  country: string;
1963
2206
  district: string;
@@ -1980,12 +2223,16 @@ export declare const EventDocument: z.ZodObject<{
1980
2223
  option: string;
1981
2224
  filename: string;
1982
2225
  originalFilename: string;
1983
- }[] | [string, string] | undefined> | undefined;
2226
+ }[] | [string, string] | null | undefined> | undefined;
1984
2227
  originalActionId?: string | undefined;
1985
2228
  }, {
1986
2229
  type: "ARCHIVE";
1987
2230
  id: string;
1988
2231
  status: "Rejected" | "Requested" | "Accepted";
2232
+ reason: {
2233
+ message: string;
2234
+ isDuplicate?: boolean | undefined;
2235
+ };
1989
2236
  transactionId: string;
1990
2237
  createdAt: string;
1991
2238
  createdBy: string;
@@ -2005,6 +2252,10 @@ export declare const EventDocument: z.ZodObject<{
2005
2252
  residentialArea?: string | null | undefined;
2006
2253
  street?: string | null | undefined;
2007
2254
  zipCode?: string | null | undefined;
2255
+ } | {
2256
+ firstname: string;
2257
+ surname: string;
2258
+ middlename?: string | null | undefined;
2008
2259
  } | {
2009
2260
  country: string;
2010
2261
  district: string;
@@ -2027,8 +2278,10 @@ export declare const EventDocument: z.ZodObject<{
2027
2278
  option: string;
2028
2279
  filename: string;
2029
2280
  originalFilename: string;
2030
- }[] | [string, string] | undefined>;
2031
- createdAtLocation: string;
2281
+ }[] | [string, string] | null | undefined>;
2282
+ creator?: "system" | "user" | undefined;
2283
+ createdBySignature?: string | null | undefined;
2284
+ createdAtLocation?: string | null | undefined;
2032
2285
  annotation?: Record<string, string | number | boolean | {
2033
2286
  type: string;
2034
2287
  filename: string;
@@ -2044,6 +2297,10 @@ export declare const EventDocument: z.ZodObject<{
2044
2297
  residentialArea?: string | null | undefined;
2045
2298
  street?: string | null | undefined;
2046
2299
  zipCode?: string | null | undefined;
2300
+ } | {
2301
+ firstname: string;
2302
+ surname: string;
2303
+ middlename?: string | null | undefined;
2047
2304
  } | {
2048
2305
  country: string;
2049
2306
  district: string;
@@ -2066,14 +2323,17 @@ export declare const EventDocument: z.ZodObject<{
2066
2323
  option: string;
2067
2324
  filename: string;
2068
2325
  originalFilename: string;
2069
- }[] | [string, string] | undefined> | undefined;
2326
+ }[] | [string, string] | null | undefined> | undefined;
2070
2327
  originalActionId?: string | undefined;
2071
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2072
2329
  id: z.ZodString;
2073
2330
  transactionId: z.ZodString;
2331
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2074
2332
  createdAt: z.ZodString;
2075
2333
  createdBy: z.ZodString;
2076
2334
  createdByRole: z.ZodString;
2335
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2077
2337
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2078
2338
  filename: z.ZodString;
2079
2339
  originalFilename: z.ZodString;
@@ -2187,7 +2447,19 @@ export declare const EventDocument: z.ZodObject<{
2187
2447
  addressLine2?: string | null | undefined;
2188
2448
  addressLine3?: string | null | undefined;
2189
2449
  postcodeOrZip?: string | null | undefined;
2190
- }>]>>;
2450
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
+ firstname: z.ZodString;
2452
+ surname: z.ZodString;
2453
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
+ }, "strip", z.ZodTypeAny, {
2455
+ firstname: string;
2456
+ surname: string;
2457
+ middlename?: string | null | undefined;
2458
+ }, {
2459
+ firstname: string;
2460
+ surname: string;
2461
+ middlename?: string | null | undefined;
2462
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2191
2463
  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<{
2192
2464
  filename: z.ZodString;
2193
2465
  originalFilename: z.ZodString;
@@ -2301,8 +2573,19 @@ export declare const EventDocument: z.ZodObject<{
2301
2573
  addressLine2?: string | null | undefined;
2302
2574
  addressLine3?: string | null | undefined;
2303
2575
  postcodeOrZip?: string | null | undefined;
2304
- }>]>>>;
2305
- createdAtLocation: z.ZodString;
2576
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
+ firstname: z.ZodString;
2578
+ surname: z.ZodString;
2579
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ firstname: string;
2582
+ surname: string;
2583
+ middlename?: string | null | undefined;
2584
+ }, {
2585
+ firstname: string;
2586
+ surname: string;
2587
+ middlename?: string | null | undefined;
2588
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2306
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2307
2590
  originalActionId: z.ZodOptional<z.ZodString>;
2308
2591
  }, {
@@ -2330,6 +2613,10 @@ export declare const EventDocument: z.ZodObject<{
2330
2613
  residentialArea?: string | null | undefined;
2331
2614
  street?: string | null | undefined;
2332
2615
  zipCode?: string | null | undefined;
2616
+ } | {
2617
+ firstname: string;
2618
+ surname: string;
2619
+ middlename?: string | null | undefined;
2333
2620
  } | {
2334
2621
  country: string;
2335
2622
  district: string;
@@ -2352,8 +2639,10 @@ export declare const EventDocument: z.ZodObject<{
2352
2639
  option: string;
2353
2640
  filename: string;
2354
2641
  originalFilename: string;
2355
- }[] | [string, string] | undefined>;
2356
- createdAtLocation: string;
2642
+ }[] | [string, string] | null | undefined>;
2643
+ creator?: "system" | "user" | undefined;
2644
+ createdBySignature?: string | null | undefined;
2645
+ createdAtLocation?: string | null | undefined;
2357
2646
  annotation?: Record<string, string | number | boolean | {
2358
2647
  type: string;
2359
2648
  filename: string;
@@ -2369,6 +2658,10 @@ export declare const EventDocument: z.ZodObject<{
2369
2658
  residentialArea?: string | null | undefined;
2370
2659
  street?: string | null | undefined;
2371
2660
  zipCode?: string | null | undefined;
2661
+ } | {
2662
+ firstname: string;
2663
+ surname: string;
2664
+ middlename?: string | null | undefined;
2372
2665
  } | {
2373
2666
  country: string;
2374
2667
  district: string;
@@ -2391,7 +2684,7 @@ export declare const EventDocument: z.ZodObject<{
2391
2684
  option: string;
2392
2685
  filename: string;
2393
2686
  originalFilename: string;
2394
- }[] | [string, string] | undefined> | undefined;
2687
+ }[] | [string, string] | null | undefined> | undefined;
2395
2688
  originalActionId?: string | undefined;
2396
2689
  }, {
2397
2690
  type: "NOTIFY";
@@ -2416,6 +2709,10 @@ export declare const EventDocument: z.ZodObject<{
2416
2709
  residentialArea?: string | null | undefined;
2417
2710
  street?: string | null | undefined;
2418
2711
  zipCode?: string | null | undefined;
2712
+ } | {
2713
+ firstname: string;
2714
+ surname: string;
2715
+ middlename?: string | null | undefined;
2419
2716
  } | {
2420
2717
  country: string;
2421
2718
  district: string;
@@ -2438,8 +2735,10 @@ export declare const EventDocument: z.ZodObject<{
2438
2735
  option: string;
2439
2736
  filename: string;
2440
2737
  originalFilename: string;
2441
- }[] | [string, string] | undefined>;
2442
- createdAtLocation: string;
2738
+ }[] | [string, string] | null | undefined>;
2739
+ creator?: "system" | "user" | undefined;
2740
+ createdBySignature?: string | null | undefined;
2741
+ createdAtLocation?: string | null | undefined;
2443
2742
  annotation?: Record<string, string | number | boolean | {
2444
2743
  type: string;
2445
2744
  filename: string;
@@ -2455,6 +2754,10 @@ export declare const EventDocument: z.ZodObject<{
2455
2754
  residentialArea?: string | null | undefined;
2456
2755
  street?: string | null | undefined;
2457
2756
  zipCode?: string | null | undefined;
2757
+ } | {
2758
+ firstname: string;
2759
+ surname: string;
2760
+ middlename?: string | null | undefined;
2458
2761
  } | {
2459
2762
  country: string;
2460
2763
  district: string;
@@ -2477,14 +2780,17 @@ export declare const EventDocument: z.ZodObject<{
2477
2780
  option: string;
2478
2781
  filename: string;
2479
2782
  originalFilename: string;
2480
- }[] | [string, string] | undefined> | undefined;
2783
+ }[] | [string, string] | null | undefined> | undefined;
2481
2784
  originalActionId?: string | undefined;
2482
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2483
2786
  id: z.ZodString;
2484
2787
  transactionId: z.ZodString;
2788
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2485
2789
  createdAt: z.ZodString;
2486
2790
  createdBy: z.ZodString;
2487
2791
  createdByRole: z.ZodString;
2792
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2488
2794
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2489
2795
  filename: z.ZodString;
2490
2796
  originalFilename: z.ZodString;
@@ -2598,7 +2904,19 @@ export declare const EventDocument: z.ZodObject<{
2598
2904
  addressLine2?: string | null | undefined;
2599
2905
  addressLine3?: string | null | undefined;
2600
2906
  postcodeOrZip?: string | null | undefined;
2601
- }>]>>;
2907
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
+ firstname: z.ZodString;
2909
+ surname: z.ZodString;
2910
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
+ }, "strip", z.ZodTypeAny, {
2912
+ firstname: string;
2913
+ surname: string;
2914
+ middlename?: string | null | undefined;
2915
+ }, {
2916
+ firstname: string;
2917
+ surname: string;
2918
+ middlename?: string | null | undefined;
2919
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2602
2920
  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<{
2603
2921
  filename: z.ZodString;
2604
2922
  originalFilename: z.ZodString;
@@ -2712,8 +3030,19 @@ export declare const EventDocument: z.ZodObject<{
2712
3030
  addressLine2?: string | null | undefined;
2713
3031
  addressLine3?: string | null | undefined;
2714
3032
  postcodeOrZip?: string | null | undefined;
2715
- }>]>>>;
2716
- createdAtLocation: z.ZodString;
3033
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
+ firstname: z.ZodString;
3035
+ surname: z.ZodString;
3036
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
+ }, "strip", z.ZodTypeAny, {
3038
+ firstname: string;
3039
+ surname: string;
3040
+ middlename?: string | null | undefined;
3041
+ }, {
3042
+ firstname: string;
3043
+ surname: string;
3044
+ middlename?: string | null | undefined;
3045
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2717
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2718
3047
  originalActionId: z.ZodOptional<z.ZodString>;
2719
3048
  }, {
@@ -2742,6 +3071,10 @@ export declare const EventDocument: z.ZodObject<{
2742
3071
  residentialArea?: string | null | undefined;
2743
3072
  street?: string | null | undefined;
2744
3073
  zipCode?: string | null | undefined;
3074
+ } | {
3075
+ firstname: string;
3076
+ surname: string;
3077
+ middlename?: string | null | undefined;
2745
3078
  } | {
2746
3079
  country: string;
2747
3080
  district: string;
@@ -2764,8 +3097,10 @@ export declare const EventDocument: z.ZodObject<{
2764
3097
  option: string;
2765
3098
  filename: string;
2766
3099
  originalFilename: string;
2767
- }[] | [string, string] | undefined>;
2768
- createdAtLocation: string;
3100
+ }[] | [string, string] | null | undefined>;
3101
+ creator?: "system" | "user" | undefined;
3102
+ createdBySignature?: string | null | undefined;
3103
+ createdAtLocation?: string | null | undefined;
2769
3104
  annotation?: Record<string, string | number | boolean | {
2770
3105
  type: string;
2771
3106
  filename: string;
@@ -2781,6 +3116,10 @@ export declare const EventDocument: z.ZodObject<{
2781
3116
  residentialArea?: string | null | undefined;
2782
3117
  street?: string | null | undefined;
2783
3118
  zipCode?: string | null | undefined;
3119
+ } | {
3120
+ firstname: string;
3121
+ surname: string;
3122
+ middlename?: string | null | undefined;
2784
3123
  } | {
2785
3124
  country: string;
2786
3125
  district: string;
@@ -2803,7 +3142,7 @@ export declare const EventDocument: z.ZodObject<{
2803
3142
  option: string;
2804
3143
  filename: string;
2805
3144
  originalFilename: string;
2806
- }[] | [string, string] | undefined> | undefined;
3145
+ }[] | [string, string] | null | undefined> | undefined;
2807
3146
  originalActionId?: string | undefined;
2808
3147
  registrationNumber?: string | undefined;
2809
3148
  }, {
@@ -2829,6 +3168,10 @@ export declare const EventDocument: z.ZodObject<{
2829
3168
  residentialArea?: string | null | undefined;
2830
3169
  street?: string | null | undefined;
2831
3170
  zipCode?: string | null | undefined;
3171
+ } | {
3172
+ firstname: string;
3173
+ surname: string;
3174
+ middlename?: string | null | undefined;
2832
3175
  } | {
2833
3176
  country: string;
2834
3177
  district: string;
@@ -2851,8 +3194,10 @@ export declare const EventDocument: z.ZodObject<{
2851
3194
  option: string;
2852
3195
  filename: string;
2853
3196
  originalFilename: string;
2854
- }[] | [string, string] | undefined>;
2855
- createdAtLocation: string;
3197
+ }[] | [string, string] | null | undefined>;
3198
+ creator?: "system" | "user" | undefined;
3199
+ createdBySignature?: string | null | undefined;
3200
+ createdAtLocation?: string | null | undefined;
2856
3201
  annotation?: Record<string, string | number | boolean | {
2857
3202
  type: string;
2858
3203
  filename: string;
@@ -2868,6 +3213,10 @@ export declare const EventDocument: z.ZodObject<{
2868
3213
  residentialArea?: string | null | undefined;
2869
3214
  street?: string | null | undefined;
2870
3215
  zipCode?: string | null | undefined;
3216
+ } | {
3217
+ firstname: string;
3218
+ surname: string;
3219
+ middlename?: string | null | undefined;
2871
3220
  } | {
2872
3221
  country: string;
2873
3222
  district: string;
@@ -2890,15 +3239,18 @@ export declare const EventDocument: z.ZodObject<{
2890
3239
  option: string;
2891
3240
  filename: string;
2892
3241
  originalFilename: string;
2893
- }[] | [string, string] | undefined> | undefined;
3242
+ }[] | [string, string] | null | undefined> | undefined;
2894
3243
  originalActionId?: string | undefined;
2895
3244
  registrationNumber?: string | undefined;
2896
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
2897
3246
  id: z.ZodString;
2898
3247
  transactionId: z.ZodString;
3248
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2899
3249
  createdAt: z.ZodString;
2900
3250
  createdBy: z.ZodString;
2901
3251
  createdByRole: z.ZodString;
3252
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
3254
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2903
3255
  filename: z.ZodString;
2904
3256
  originalFilename: z.ZodString;
@@ -3012,7 +3364,19 @@ export declare const EventDocument: z.ZodObject<{
3012
3364
  addressLine2?: string | null | undefined;
3013
3365
  addressLine3?: string | null | undefined;
3014
3366
  postcodeOrZip?: string | null | undefined;
3015
- }>]>>;
3367
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
+ firstname: z.ZodString;
3369
+ surname: z.ZodString;
3370
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ firstname: string;
3373
+ surname: string;
3374
+ middlename?: string | null | undefined;
3375
+ }, {
3376
+ firstname: string;
3377
+ surname: string;
3378
+ middlename?: string | null | undefined;
3379
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3016
3380
  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<{
3017
3381
  filename: z.ZodString;
3018
3382
  originalFilename: z.ZodString;
@@ -3126,8 +3490,19 @@ export declare const EventDocument: z.ZodObject<{
3126
3490
  addressLine2?: string | null | undefined;
3127
3491
  addressLine3?: string | null | undefined;
3128
3492
  postcodeOrZip?: string | null | undefined;
3129
- }>]>>>;
3130
- createdAtLocation: z.ZodString;
3493
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
+ firstname: z.ZodString;
3495
+ surname: z.ZodString;
3496
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ firstname: string;
3499
+ surname: string;
3500
+ middlename?: string | null | undefined;
3501
+ }, {
3502
+ firstname: string;
3503
+ surname: string;
3504
+ middlename?: string | null | undefined;
3505
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3131
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3132
3507
  originalActionId: z.ZodOptional<z.ZodString>;
3133
3508
  }, {
@@ -3155,6 +3530,10 @@ export declare const EventDocument: z.ZodObject<{
3155
3530
  residentialArea?: string | null | undefined;
3156
3531
  street?: string | null | undefined;
3157
3532
  zipCode?: string | null | undefined;
3533
+ } | {
3534
+ firstname: string;
3535
+ surname: string;
3536
+ middlename?: string | null | undefined;
3158
3537
  } | {
3159
3538
  country: string;
3160
3539
  district: string;
@@ -3177,8 +3556,10 @@ export declare const EventDocument: z.ZodObject<{
3177
3556
  option: string;
3178
3557
  filename: string;
3179
3558
  originalFilename: string;
3180
- }[] | [string, string] | undefined>;
3181
- createdAtLocation: string;
3559
+ }[] | [string, string] | null | undefined>;
3560
+ creator?: "system" | "user" | undefined;
3561
+ createdBySignature?: string | null | undefined;
3562
+ createdAtLocation?: string | null | undefined;
3182
3563
  annotation?: Record<string, string | number | boolean | {
3183
3564
  type: string;
3184
3565
  filename: string;
@@ -3194,6 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
3194
3575
  residentialArea?: string | null | undefined;
3195
3576
  street?: string | null | undefined;
3196
3577
  zipCode?: string | null | undefined;
3578
+ } | {
3579
+ firstname: string;
3580
+ surname: string;
3581
+ middlename?: string | null | undefined;
3197
3582
  } | {
3198
3583
  country: string;
3199
3584
  district: string;
@@ -3216,7 +3601,7 @@ export declare const EventDocument: z.ZodObject<{
3216
3601
  option: string;
3217
3602
  filename: string;
3218
3603
  originalFilename: string;
3219
- }[] | [string, string] | undefined> | undefined;
3604
+ }[] | [string, string] | null | undefined> | undefined;
3220
3605
  originalActionId?: string | undefined;
3221
3606
  }, {
3222
3607
  type: "DECLARE";
@@ -3241,6 +3626,10 @@ export declare const EventDocument: z.ZodObject<{
3241
3626
  residentialArea?: string | null | undefined;
3242
3627
  street?: string | null | undefined;
3243
3628
  zipCode?: string | null | undefined;
3629
+ } | {
3630
+ firstname: string;
3631
+ surname: string;
3632
+ middlename?: string | null | undefined;
3244
3633
  } | {
3245
3634
  country: string;
3246
3635
  district: string;
@@ -3263,8 +3652,10 @@ export declare const EventDocument: z.ZodObject<{
3263
3652
  option: string;
3264
3653
  filename: string;
3265
3654
  originalFilename: string;
3266
- }[] | [string, string] | undefined>;
3267
- createdAtLocation: string;
3655
+ }[] | [string, string] | null | undefined>;
3656
+ creator?: "system" | "user" | undefined;
3657
+ createdBySignature?: string | null | undefined;
3658
+ createdAtLocation?: string | null | undefined;
3268
3659
  annotation?: Record<string, string | number | boolean | {
3269
3660
  type: string;
3270
3661
  filename: string;
@@ -3280,6 +3671,10 @@ export declare const EventDocument: z.ZodObject<{
3280
3671
  residentialArea?: string | null | undefined;
3281
3672
  street?: string | null | undefined;
3282
3673
  zipCode?: string | null | undefined;
3674
+ } | {
3675
+ firstname: string;
3676
+ surname: string;
3677
+ middlename?: string | null | undefined;
3283
3678
  } | {
3284
3679
  country: string;
3285
3680
  district: string;
@@ -3302,14 +3697,17 @@ export declare const EventDocument: z.ZodObject<{
3302
3697
  option: string;
3303
3698
  filename: string;
3304
3699
  originalFilename: string;
3305
- }[] | [string, string] | undefined> | undefined;
3700
+ }[] | [string, string] | null | undefined> | undefined;
3306
3701
  originalActionId?: string | undefined;
3307
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3308
3703
  id: z.ZodString;
3309
3704
  transactionId: z.ZodString;
3705
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3310
3706
  createdAt: z.ZodString;
3311
3707
  createdBy: z.ZodString;
3312
3708
  createdByRole: z.ZodString;
3709
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3313
3711
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3314
3712
  filename: z.ZodString;
3315
3713
  originalFilename: z.ZodString;
@@ -3423,7 +3821,19 @@ export declare const EventDocument: z.ZodObject<{
3423
3821
  addressLine2?: string | null | undefined;
3424
3822
  addressLine3?: string | null | undefined;
3425
3823
  postcodeOrZip?: string | null | undefined;
3426
- }>]>>;
3824
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
+ firstname: z.ZodString;
3826
+ surname: z.ZodString;
3827
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
+ }, "strip", z.ZodTypeAny, {
3829
+ firstname: string;
3830
+ surname: string;
3831
+ middlename?: string | null | undefined;
3832
+ }, {
3833
+ firstname: string;
3834
+ surname: string;
3835
+ middlename?: string | null | undefined;
3836
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3427
3837
  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<{
3428
3838
  filename: z.ZodString;
3429
3839
  originalFilename: z.ZodString;
@@ -3537,8 +3947,19 @@ export declare const EventDocument: z.ZodObject<{
3537
3947
  addressLine2?: string | null | undefined;
3538
3948
  addressLine3?: string | null | undefined;
3539
3949
  postcodeOrZip?: string | null | undefined;
3540
- }>]>>>;
3541
- createdAtLocation: z.ZodString;
3950
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
+ firstname: z.ZodString;
3952
+ surname: z.ZodString;
3953
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
+ }, "strip", z.ZodTypeAny, {
3955
+ firstname: string;
3956
+ surname: string;
3957
+ middlename?: string | null | undefined;
3958
+ }, {
3959
+ firstname: string;
3960
+ surname: string;
3961
+ middlename?: string | null | undefined;
3962
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3542
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3543
3964
  originalActionId: z.ZodOptional<z.ZodString>;
3544
3965
  }, {
@@ -3567,6 +3988,10 @@ export declare const EventDocument: z.ZodObject<{
3567
3988
  residentialArea?: string | null | undefined;
3568
3989
  street?: string | null | undefined;
3569
3990
  zipCode?: string | null | undefined;
3991
+ } | {
3992
+ firstname: string;
3993
+ surname: string;
3994
+ middlename?: string | null | undefined;
3570
3995
  } | {
3571
3996
  country: string;
3572
3997
  district: string;
@@ -3589,9 +4014,11 @@ export declare const EventDocument: z.ZodObject<{
3589
4014
  option: string;
3590
4015
  filename: string;
3591
4016
  originalFilename: string;
3592
- }[] | [string, string] | undefined>;
3593
- createdAtLocation: string;
4017
+ }[] | [string, string] | null | undefined>;
3594
4018
  assignedTo: string;
4019
+ creator?: "system" | "user" | undefined;
4020
+ createdBySignature?: string | null | undefined;
4021
+ createdAtLocation?: string | null | undefined;
3595
4022
  annotation?: Record<string, string | number | boolean | {
3596
4023
  type: string;
3597
4024
  filename: string;
@@ -3607,6 +4034,10 @@ export declare const EventDocument: z.ZodObject<{
3607
4034
  residentialArea?: string | null | undefined;
3608
4035
  street?: string | null | undefined;
3609
4036
  zipCode?: string | null | undefined;
4037
+ } | {
4038
+ firstname: string;
4039
+ surname: string;
4040
+ middlename?: string | null | undefined;
3610
4041
  } | {
3611
4042
  country: string;
3612
4043
  district: string;
@@ -3629,7 +4060,7 @@ export declare const EventDocument: z.ZodObject<{
3629
4060
  option: string;
3630
4061
  filename: string;
3631
4062
  originalFilename: string;
3632
- }[] | [string, string] | undefined> | undefined;
4063
+ }[] | [string, string] | null | undefined> | undefined;
3633
4064
  originalActionId?: string | undefined;
3634
4065
  }, {
3635
4066
  type: "ASSIGN";
@@ -3654,6 +4085,10 @@ export declare const EventDocument: z.ZodObject<{
3654
4085
  residentialArea?: string | null | undefined;
3655
4086
  street?: string | null | undefined;
3656
4087
  zipCode?: string | null | undefined;
4088
+ } | {
4089
+ firstname: string;
4090
+ surname: string;
4091
+ middlename?: string | null | undefined;
3657
4092
  } | {
3658
4093
  country: string;
3659
4094
  district: string;
@@ -3676,9 +4111,11 @@ export declare const EventDocument: z.ZodObject<{
3676
4111
  option: string;
3677
4112
  filename: string;
3678
4113
  originalFilename: string;
3679
- }[] | [string, string] | undefined>;
3680
- createdAtLocation: string;
4114
+ }[] | [string, string] | null | undefined>;
3681
4115
  assignedTo: string;
4116
+ creator?: "system" | "user" | undefined;
4117
+ createdBySignature?: string | null | undefined;
4118
+ createdAtLocation?: string | null | undefined;
3682
4119
  annotation?: Record<string, string | number | boolean | {
3683
4120
  type: string;
3684
4121
  filename: string;
@@ -3694,6 +4131,10 @@ export declare const EventDocument: z.ZodObject<{
3694
4131
  residentialArea?: string | null | undefined;
3695
4132
  street?: string | null | undefined;
3696
4133
  zipCode?: string | null | undefined;
4134
+ } | {
4135
+ firstname: string;
4136
+ surname: string;
4137
+ middlename?: string | null | undefined;
3697
4138
  } | {
3698
4139
  country: string;
3699
4140
  district: string;
@@ -3716,14 +4157,17 @@ export declare const EventDocument: z.ZodObject<{
3716
4157
  option: string;
3717
4158
  filename: string;
3718
4159
  originalFilename: string;
3719
- }[] | [string, string] | undefined> | undefined;
4160
+ }[] | [string, string] | null | undefined> | undefined;
3720
4161
  originalActionId?: string | undefined;
3721
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
3722
4163
  id: z.ZodString;
3723
4164
  transactionId: z.ZodString;
4165
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3724
4166
  createdAt: z.ZodString;
3725
4167
  createdBy: z.ZodString;
3726
4168
  createdByRole: z.ZodString;
4169
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3727
4171
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3728
4172
  filename: z.ZodString;
3729
4173
  originalFilename: z.ZodString;
@@ -3837,7 +4281,19 @@ export declare const EventDocument: z.ZodObject<{
3837
4281
  addressLine2?: string | null | undefined;
3838
4282
  addressLine3?: string | null | undefined;
3839
4283
  postcodeOrZip?: string | null | undefined;
3840
- }>]>>;
4284
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
+ firstname: z.ZodString;
4286
+ surname: z.ZodString;
4287
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ firstname: string;
4290
+ surname: string;
4291
+ middlename?: string | null | undefined;
4292
+ }, {
4293
+ firstname: string;
4294
+ surname: string;
4295
+ middlename?: string | null | undefined;
4296
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3841
4297
  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<{
3842
4298
  filename: z.ZodString;
3843
4299
  originalFilename: z.ZodString;
@@ -3951,8 +4407,19 @@ export declare const EventDocument: z.ZodObject<{
3951
4407
  addressLine2?: string | null | undefined;
3952
4408
  addressLine3?: string | null | undefined;
3953
4409
  postcodeOrZip?: string | null | undefined;
3954
- }>]>>>;
3955
- createdAtLocation: z.ZodString;
4410
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
+ firstname: z.ZodString;
4412
+ surname: z.ZodString;
4413
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
+ }, "strip", z.ZodTypeAny, {
4415
+ firstname: string;
4416
+ surname: string;
4417
+ middlename?: string | null | undefined;
4418
+ }, {
4419
+ firstname: string;
4420
+ surname: string;
4421
+ middlename?: string | null | undefined;
4422
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3956
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3957
4424
  originalActionId: z.ZodOptional<z.ZodString>;
3958
4425
  }, {
@@ -3980,6 +4447,10 @@ export declare const EventDocument: z.ZodObject<{
3980
4447
  residentialArea?: string | null | undefined;
3981
4448
  street?: string | null | undefined;
3982
4449
  zipCode?: string | null | undefined;
4450
+ } | {
4451
+ firstname: string;
4452
+ surname: string;
4453
+ middlename?: string | null | undefined;
3983
4454
  } | {
3984
4455
  country: string;
3985
4456
  district: string;
@@ -4002,8 +4473,10 @@ export declare const EventDocument: z.ZodObject<{
4002
4473
  option: string;
4003
4474
  filename: string;
4004
4475
  originalFilename: string;
4005
- }[] | [string, string] | undefined>;
4006
- createdAtLocation: string;
4476
+ }[] | [string, string] | null | undefined>;
4477
+ creator?: "system" | "user" | undefined;
4478
+ createdBySignature?: string | null | undefined;
4479
+ createdAtLocation?: string | null | undefined;
4007
4480
  annotation?: Record<string, string | number | boolean | {
4008
4481
  type: string;
4009
4482
  filename: string;
@@ -4019,6 +4492,10 @@ export declare const EventDocument: z.ZodObject<{
4019
4492
  residentialArea?: string | null | undefined;
4020
4493
  street?: string | null | undefined;
4021
4494
  zipCode?: string | null | undefined;
4495
+ } | {
4496
+ firstname: string;
4497
+ surname: string;
4498
+ middlename?: string | null | undefined;
4022
4499
  } | {
4023
4500
  country: string;
4024
4501
  district: string;
@@ -4041,7 +4518,7 @@ export declare const EventDocument: z.ZodObject<{
4041
4518
  option: string;
4042
4519
  filename: string;
4043
4520
  originalFilename: string;
4044
- }[] | [string, string] | undefined> | undefined;
4521
+ }[] | [string, string] | null | undefined> | undefined;
4045
4522
  originalActionId?: string | undefined;
4046
4523
  }, {
4047
4524
  type: "REQUEST_CORRECTION";
@@ -4066,6 +4543,10 @@ export declare const EventDocument: z.ZodObject<{
4066
4543
  residentialArea?: string | null | undefined;
4067
4544
  street?: string | null | undefined;
4068
4545
  zipCode?: string | null | undefined;
4546
+ } | {
4547
+ firstname: string;
4548
+ surname: string;
4549
+ middlename?: string | null | undefined;
4069
4550
  } | {
4070
4551
  country: string;
4071
4552
  district: string;
@@ -4088,8 +4569,10 @@ export declare const EventDocument: z.ZodObject<{
4088
4569
  option: string;
4089
4570
  filename: string;
4090
4571
  originalFilename: string;
4091
- }[] | [string, string] | undefined>;
4092
- createdAtLocation: string;
4572
+ }[] | [string, string] | null | undefined>;
4573
+ creator?: "system" | "user" | undefined;
4574
+ createdBySignature?: string | null | undefined;
4575
+ createdAtLocation?: string | null | undefined;
4093
4576
  annotation?: Record<string, string | number | boolean | {
4094
4577
  type: string;
4095
4578
  filename: string;
@@ -4105,6 +4588,10 @@ export declare const EventDocument: z.ZodObject<{
4105
4588
  residentialArea?: string | null | undefined;
4106
4589
  street?: string | null | undefined;
4107
4590
  zipCode?: string | null | undefined;
4591
+ } | {
4592
+ firstname: string;
4593
+ surname: string;
4594
+ middlename?: string | null | undefined;
4108
4595
  } | {
4109
4596
  country: string;
4110
4597
  district: string;
@@ -4127,14 +4614,17 @@ export declare const EventDocument: z.ZodObject<{
4127
4614
  option: string;
4128
4615
  filename: string;
4129
4616
  originalFilename: string;
4130
- }[] | [string, string] | undefined> | undefined;
4617
+ }[] | [string, string] | null | undefined> | undefined;
4131
4618
  originalActionId?: string | undefined;
4132
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4133
4620
  id: z.ZodString;
4134
4621
  transactionId: z.ZodString;
4622
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
4135
4623
  createdAt: z.ZodString;
4136
4624
  createdBy: z.ZodString;
4137
4625
  createdByRole: z.ZodString;
4626
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4138
4628
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4139
4629
  filename: z.ZodString;
4140
4630
  originalFilename: z.ZodString;
@@ -4248,7 +4738,19 @@ export declare const EventDocument: z.ZodObject<{
4248
4738
  addressLine2?: string | null | undefined;
4249
4739
  addressLine3?: string | null | undefined;
4250
4740
  postcodeOrZip?: string | null | undefined;
4251
- }>]>>;
4741
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
+ firstname: z.ZodString;
4743
+ surname: z.ZodString;
4744
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
+ }, "strip", z.ZodTypeAny, {
4746
+ firstname: string;
4747
+ surname: string;
4748
+ middlename?: string | null | undefined;
4749
+ }, {
4750
+ firstname: string;
4751
+ surname: string;
4752
+ middlename?: string | null | undefined;
4753
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4252
4754
  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<{
4253
4755
  filename: z.ZodString;
4254
4756
  originalFilename: z.ZodString;
@@ -4362,8 +4864,19 @@ export declare const EventDocument: z.ZodObject<{
4362
4864
  addressLine2?: string | null | undefined;
4363
4865
  addressLine3?: string | null | undefined;
4364
4866
  postcodeOrZip?: string | null | undefined;
4365
- }>]>>>;
4366
- createdAtLocation: z.ZodString;
4867
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
+ firstname: z.ZodString;
4869
+ surname: z.ZodString;
4870
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
+ }, "strip", z.ZodTypeAny, {
4872
+ firstname: string;
4873
+ surname: string;
4874
+ middlename?: string | null | undefined;
4875
+ }, {
4876
+ firstname: string;
4877
+ surname: string;
4878
+ middlename?: string | null | undefined;
4879
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4367
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4368
4881
  originalActionId: z.ZodOptional<z.ZodString>;
4369
4882
  }, {
@@ -4392,6 +4905,10 @@ export declare const EventDocument: z.ZodObject<{
4392
4905
  residentialArea?: string | null | undefined;
4393
4906
  street?: string | null | undefined;
4394
4907
  zipCode?: string | null | undefined;
4908
+ } | {
4909
+ firstname: string;
4910
+ surname: string;
4911
+ middlename?: string | null | undefined;
4395
4912
  } | {
4396
4913
  country: string;
4397
4914
  district: string;
@@ -4414,9 +4931,11 @@ export declare const EventDocument: z.ZodObject<{
4414
4931
  option: string;
4415
4932
  filename: string;
4416
4933
  originalFilename: string;
4417
- }[] | [string, string] | undefined>;
4418
- createdAtLocation: string;
4934
+ }[] | [string, string] | null | undefined>;
4419
4935
  requestId: string;
4936
+ creator?: "system" | "user" | undefined;
4937
+ createdBySignature?: string | null | undefined;
4938
+ createdAtLocation?: string | null | undefined;
4420
4939
  annotation?: Record<string, string | number | boolean | {
4421
4940
  type: string;
4422
4941
  filename: string;
@@ -4432,6 +4951,10 @@ export declare const EventDocument: z.ZodObject<{
4432
4951
  residentialArea?: string | null | undefined;
4433
4952
  street?: string | null | undefined;
4434
4953
  zipCode?: string | null | undefined;
4954
+ } | {
4955
+ firstname: string;
4956
+ surname: string;
4957
+ middlename?: string | null | undefined;
4435
4958
  } | {
4436
4959
  country: string;
4437
4960
  district: string;
@@ -4454,7 +4977,7 @@ export declare const EventDocument: z.ZodObject<{
4454
4977
  option: string;
4455
4978
  filename: string;
4456
4979
  originalFilename: string;
4457
- }[] | [string, string] | undefined> | undefined;
4980
+ }[] | [string, string] | null | undefined> | undefined;
4458
4981
  originalActionId?: string | undefined;
4459
4982
  }, {
4460
4983
  type: "APPROVE_CORRECTION";
@@ -4479,6 +5002,10 @@ export declare const EventDocument: z.ZodObject<{
4479
5002
  residentialArea?: string | null | undefined;
4480
5003
  street?: string | null | undefined;
4481
5004
  zipCode?: string | null | undefined;
5005
+ } | {
5006
+ firstname: string;
5007
+ surname: string;
5008
+ middlename?: string | null | undefined;
4482
5009
  } | {
4483
5010
  country: string;
4484
5011
  district: string;
@@ -4501,9 +5028,11 @@ export declare const EventDocument: z.ZodObject<{
4501
5028
  option: string;
4502
5029
  filename: string;
4503
5030
  originalFilename: string;
4504
- }[] | [string, string] | undefined>;
4505
- createdAtLocation: string;
5031
+ }[] | [string, string] | null | undefined>;
4506
5032
  requestId: string;
5033
+ creator?: "system" | "user" | undefined;
5034
+ createdBySignature?: string | null | undefined;
5035
+ createdAtLocation?: string | null | undefined;
4507
5036
  annotation?: Record<string, string | number | boolean | {
4508
5037
  type: string;
4509
5038
  filename: string;
@@ -4519,6 +5048,10 @@ export declare const EventDocument: z.ZodObject<{
4519
5048
  residentialArea?: string | null | undefined;
4520
5049
  street?: string | null | undefined;
4521
5050
  zipCode?: string | null | undefined;
5051
+ } | {
5052
+ firstname: string;
5053
+ surname: string;
5054
+ middlename?: string | null | undefined;
4522
5055
  } | {
4523
5056
  country: string;
4524
5057
  district: string;
@@ -4541,14 +5074,17 @@ export declare const EventDocument: z.ZodObject<{
4541
5074
  option: string;
4542
5075
  filename: string;
4543
5076
  originalFilename: string;
4544
- }[] | [string, string] | undefined> | undefined;
5077
+ }[] | [string, string] | null | undefined> | undefined;
4545
5078
  originalActionId?: string | undefined;
4546
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
4547
5080
  id: z.ZodString;
4548
5081
  transactionId: z.ZodString;
5082
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
4549
5083
  createdAt: z.ZodString;
4550
5084
  createdBy: z.ZodString;
4551
5085
  createdByRole: z.ZodString;
5086
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4552
5088
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4553
5089
  filename: z.ZodString;
4554
5090
  originalFilename: z.ZodString;
@@ -4662,7 +5198,19 @@ export declare const EventDocument: z.ZodObject<{
4662
5198
  addressLine2?: string | null | undefined;
4663
5199
  addressLine3?: string | null | undefined;
4664
5200
  postcodeOrZip?: string | null | undefined;
4665
- }>]>>;
5201
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
+ firstname: z.ZodString;
5203
+ surname: z.ZodString;
5204
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ firstname: string;
5207
+ surname: string;
5208
+ middlename?: string | null | undefined;
5209
+ }, {
5210
+ firstname: string;
5211
+ surname: string;
5212
+ middlename?: string | null | undefined;
5213
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4666
5214
  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<{
4667
5215
  filename: z.ZodString;
4668
5216
  originalFilename: z.ZodString;
@@ -4776,8 +5324,19 @@ export declare const EventDocument: z.ZodObject<{
4776
5324
  addressLine2?: string | null | undefined;
4777
5325
  addressLine3?: string | null | undefined;
4778
5326
  postcodeOrZip?: string | null | undefined;
4779
- }>]>>>;
4780
- createdAtLocation: z.ZodString;
5327
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
+ firstname: z.ZodString;
5329
+ surname: z.ZodString;
5330
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
+ }, "strip", z.ZodTypeAny, {
5332
+ firstname: string;
5333
+ surname: string;
5334
+ middlename?: string | null | undefined;
5335
+ }, {
5336
+ firstname: string;
5337
+ surname: string;
5338
+ middlename?: string | null | undefined;
5339
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4781
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4782
5341
  originalActionId: z.ZodOptional<z.ZodString>;
4783
5342
  }, {
@@ -4806,6 +5365,10 @@ export declare const EventDocument: z.ZodObject<{
4806
5365
  residentialArea?: string | null | undefined;
4807
5366
  street?: string | null | undefined;
4808
5367
  zipCode?: string | null | undefined;
5368
+ } | {
5369
+ firstname: string;
5370
+ surname: string;
5371
+ middlename?: string | null | undefined;
4809
5372
  } | {
4810
5373
  country: string;
4811
5374
  district: string;
@@ -4828,9 +5391,11 @@ export declare const EventDocument: z.ZodObject<{
4828
5391
  option: string;
4829
5392
  filename: string;
4830
5393
  originalFilename: string;
4831
- }[] | [string, string] | undefined>;
4832
- createdAtLocation: string;
5394
+ }[] | [string, string] | null | undefined>;
4833
5395
  requestId: string;
5396
+ creator?: "system" | "user" | undefined;
5397
+ createdBySignature?: string | null | undefined;
5398
+ createdAtLocation?: string | null | undefined;
4834
5399
  annotation?: Record<string, string | number | boolean | {
4835
5400
  type: string;
4836
5401
  filename: string;
@@ -4846,6 +5411,10 @@ export declare const EventDocument: z.ZodObject<{
4846
5411
  residentialArea?: string | null | undefined;
4847
5412
  street?: string | null | undefined;
4848
5413
  zipCode?: string | null | undefined;
5414
+ } | {
5415
+ firstname: string;
5416
+ surname: string;
5417
+ middlename?: string | null | undefined;
4849
5418
  } | {
4850
5419
  country: string;
4851
5420
  district: string;
@@ -4868,7 +5437,7 @@ export declare const EventDocument: z.ZodObject<{
4868
5437
  option: string;
4869
5438
  filename: string;
4870
5439
  originalFilename: string;
4871
- }[] | [string, string] | undefined> | undefined;
5440
+ }[] | [string, string] | null | undefined> | undefined;
4872
5441
  originalActionId?: string | undefined;
4873
5442
  }, {
4874
5443
  type: "REJECT_CORRECTION";
@@ -4893,6 +5462,10 @@ export declare const EventDocument: z.ZodObject<{
4893
5462
  residentialArea?: string | null | undefined;
4894
5463
  street?: string | null | undefined;
4895
5464
  zipCode?: string | null | undefined;
5465
+ } | {
5466
+ firstname: string;
5467
+ surname: string;
5468
+ middlename?: string | null | undefined;
4896
5469
  } | {
4897
5470
  country: string;
4898
5471
  district: string;
@@ -4915,9 +5488,11 @@ export declare const EventDocument: z.ZodObject<{
4915
5488
  option: string;
4916
5489
  filename: string;
4917
5490
  originalFilename: string;
4918
- }[] | [string, string] | undefined>;
4919
- createdAtLocation: string;
5491
+ }[] | [string, string] | null | undefined>;
4920
5492
  requestId: string;
5493
+ creator?: "system" | "user" | undefined;
5494
+ createdBySignature?: string | null | undefined;
5495
+ createdAtLocation?: string | null | undefined;
4921
5496
  annotation?: Record<string, string | number | boolean | {
4922
5497
  type: string;
4923
5498
  filename: string;
@@ -4933,6 +5508,10 @@ export declare const EventDocument: z.ZodObject<{
4933
5508
  residentialArea?: string | null | undefined;
4934
5509
  street?: string | null | undefined;
4935
5510
  zipCode?: string | null | undefined;
5511
+ } | {
5512
+ firstname: string;
5513
+ surname: string;
5514
+ middlename?: string | null | undefined;
4936
5515
  } | {
4937
5516
  country: string;
4938
5517
  district: string;
@@ -4955,14 +5534,17 @@ export declare const EventDocument: z.ZodObject<{
4955
5534
  option: string;
4956
5535
  filename: string;
4957
5536
  originalFilename: string;
4958
- }[] | [string, string] | undefined> | undefined;
5537
+ }[] | [string, string] | null | undefined> | undefined;
4959
5538
  originalActionId?: string | undefined;
4960
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
4961
5540
  id: z.ZodString;
4962
5541
  transactionId: z.ZodString;
5542
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
4963
5543
  createdAt: z.ZodString;
4964
5544
  createdBy: z.ZodString;
4965
5545
  createdByRole: z.ZodString;
5546
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4966
5548
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4967
5549
  filename: z.ZodString;
4968
5550
  originalFilename: z.ZodString;
@@ -5076,7 +5658,19 @@ export declare const EventDocument: z.ZodObject<{
5076
5658
  addressLine2?: string | null | undefined;
5077
5659
  addressLine3?: string | null | undefined;
5078
5660
  postcodeOrZip?: string | null | undefined;
5079
- }>]>>;
5661
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
+ firstname: z.ZodString;
5663
+ surname: z.ZodString;
5664
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
+ }, "strip", z.ZodTypeAny, {
5666
+ firstname: string;
5667
+ surname: string;
5668
+ middlename?: string | null | undefined;
5669
+ }, {
5670
+ firstname: string;
5671
+ surname: string;
5672
+ middlename?: string | null | undefined;
5673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5080
5674
  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<{
5081
5675
  filename: z.ZodString;
5082
5676
  originalFilename: z.ZodString;
@@ -5190,8 +5784,19 @@ export declare const EventDocument: z.ZodObject<{
5190
5784
  addressLine2?: string | null | undefined;
5191
5785
  addressLine3?: string | null | undefined;
5192
5786
  postcodeOrZip?: string | null | undefined;
5193
- }>]>>>;
5194
- createdAtLocation: z.ZodString;
5787
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
+ firstname: z.ZodString;
5789
+ surname: z.ZodString;
5790
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
+ }, "strip", z.ZodTypeAny, {
5792
+ firstname: string;
5793
+ surname: string;
5794
+ middlename?: string | null | undefined;
5795
+ }, {
5796
+ firstname: string;
5797
+ surname: string;
5798
+ middlename?: string | null | undefined;
5799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5195
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5196
5801
  originalActionId: z.ZodOptional<z.ZodString>;
5197
5802
  }, {
@@ -5220,6 +5825,10 @@ export declare const EventDocument: z.ZodObject<{
5220
5825
  residentialArea?: string | null | undefined;
5221
5826
  street?: string | null | undefined;
5222
5827
  zipCode?: string | null | undefined;
5828
+ } | {
5829
+ firstname: string;
5830
+ surname: string;
5831
+ middlename?: string | null | undefined;
5223
5832
  } | {
5224
5833
  country: string;
5225
5834
  district: string;
@@ -5242,9 +5851,11 @@ export declare const EventDocument: z.ZodObject<{
5242
5851
  option: string;
5243
5852
  filename: string;
5244
5853
  originalFilename: string;
5245
- }[] | [string, string] | undefined>;
5246
- createdAtLocation: string;
5854
+ }[] | [string, string] | null | undefined>;
5247
5855
  assignedTo: null;
5856
+ creator?: "system" | "user" | undefined;
5857
+ createdBySignature?: string | null | undefined;
5858
+ createdAtLocation?: string | null | undefined;
5248
5859
  annotation?: Record<string, string | number | boolean | {
5249
5860
  type: string;
5250
5861
  filename: string;
@@ -5260,6 +5871,10 @@ export declare const EventDocument: z.ZodObject<{
5260
5871
  residentialArea?: string | null | undefined;
5261
5872
  street?: string | null | undefined;
5262
5873
  zipCode?: string | null | undefined;
5874
+ } | {
5875
+ firstname: string;
5876
+ surname: string;
5877
+ middlename?: string | null | undefined;
5263
5878
  } | {
5264
5879
  country: string;
5265
5880
  district: string;
@@ -5282,7 +5897,7 @@ export declare const EventDocument: z.ZodObject<{
5282
5897
  option: string;
5283
5898
  filename: string;
5284
5899
  originalFilename: string;
5285
- }[] | [string, string] | undefined> | undefined;
5900
+ }[] | [string, string] | null | undefined> | undefined;
5286
5901
  originalActionId?: string | undefined;
5287
5902
  }, {
5288
5903
  type: "UNASSIGN";
@@ -5307,6 +5922,10 @@ export declare const EventDocument: z.ZodObject<{
5307
5922
  residentialArea?: string | null | undefined;
5308
5923
  street?: string | null | undefined;
5309
5924
  zipCode?: string | null | undefined;
5925
+ } | {
5926
+ firstname: string;
5927
+ surname: string;
5928
+ middlename?: string | null | undefined;
5310
5929
  } | {
5311
5930
  country: string;
5312
5931
  district: string;
@@ -5329,9 +5948,11 @@ export declare const EventDocument: z.ZodObject<{
5329
5948
  option: string;
5330
5949
  filename: string;
5331
5950
  originalFilename: string;
5332
- }[] | [string, string] | undefined>;
5333
- createdAtLocation: string;
5951
+ }[] | [string, string] | null | undefined>;
5334
5952
  assignedTo: null;
5953
+ creator?: "system" | "user" | undefined;
5954
+ createdBySignature?: string | null | undefined;
5955
+ createdAtLocation?: string | null | undefined;
5335
5956
  annotation?: Record<string, string | number | boolean | {
5336
5957
  type: string;
5337
5958
  filename: string;
@@ -5347,6 +5968,10 @@ export declare const EventDocument: z.ZodObject<{
5347
5968
  residentialArea?: string | null | undefined;
5348
5969
  street?: string | null | undefined;
5349
5970
  zipCode?: string | null | undefined;
5971
+ } | {
5972
+ firstname: string;
5973
+ surname: string;
5974
+ middlename?: string | null | undefined;
5350
5975
  } | {
5351
5976
  country: string;
5352
5977
  district: string;
@@ -5369,14 +5994,17 @@ export declare const EventDocument: z.ZodObject<{
5369
5994
  option: string;
5370
5995
  filename: string;
5371
5996
  originalFilename: string;
5372
- }[] | [string, string] | undefined> | undefined;
5997
+ }[] | [string, string] | null | undefined> | undefined;
5373
5998
  originalActionId?: string | undefined;
5374
5999
  }>, z.ZodObject<z.objectUtil.extendShape<{
5375
6000
  id: z.ZodString;
5376
6001
  transactionId: z.ZodString;
6002
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
5377
6003
  createdAt: z.ZodString;
5378
6004
  createdBy: z.ZodString;
5379
6005
  createdByRole: z.ZodString;
6006
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6007
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5380
6008
  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<{
5381
6009
  filename: z.ZodString;
5382
6010
  originalFilename: z.ZodString;
@@ -5490,7 +6118,19 @@ export declare const EventDocument: z.ZodObject<{
5490
6118
  addressLine2?: string | null | undefined;
5491
6119
  addressLine3?: string | null | undefined;
5492
6120
  postcodeOrZip?: string | null | undefined;
5493
- }>]>>;
6121
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6122
+ firstname: z.ZodString;
6123
+ surname: z.ZodString;
6124
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
+ }, "strip", z.ZodTypeAny, {
6126
+ firstname: string;
6127
+ surname: string;
6128
+ middlename?: string | null | undefined;
6129
+ }, {
6130
+ firstname: string;
6131
+ surname: string;
6132
+ middlename?: string | null | undefined;
6133
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5494
6134
  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<{
5495
6135
  filename: z.ZodString;
5496
6136
  originalFilename: z.ZodString;
@@ -5604,8 +6244,19 @@ export declare const EventDocument: z.ZodObject<{
5604
6244
  addressLine2?: string | null | undefined;
5605
6245
  addressLine3?: string | null | undefined;
5606
6246
  postcodeOrZip?: string | null | undefined;
5607
- }>]>>>;
5608
- createdAtLocation: z.ZodString;
6247
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6248
+ firstname: z.ZodString;
6249
+ surname: z.ZodString;
6250
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6251
+ }, "strip", z.ZodTypeAny, {
6252
+ firstname: string;
6253
+ surname: string;
6254
+ middlename?: string | null | undefined;
6255
+ }, {
6256
+ firstname: string;
6257
+ surname: string;
6258
+ middlename?: string | null | undefined;
6259
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5609
6260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5610
6261
  originalActionId: z.ZodOptional<z.ZodString>;
5611
6262
  }, {
@@ -5633,6 +6284,10 @@ export declare const EventDocument: z.ZodObject<{
5633
6284
  residentialArea?: string | null | undefined;
5634
6285
  street?: string | null | undefined;
5635
6286
  zipCode?: string | null | undefined;
6287
+ } | {
6288
+ firstname: string;
6289
+ surname: string;
6290
+ middlename?: string | null | undefined;
5636
6291
  } | {
5637
6292
  country: string;
5638
6293
  district: string;
@@ -5655,8 +6310,10 @@ export declare const EventDocument: z.ZodObject<{
5655
6310
  option: string;
5656
6311
  filename: string;
5657
6312
  originalFilename: string;
5658
- }[] | [string, string] | undefined>;
5659
- createdAtLocation: string;
6313
+ }[] | [string, string] | null | undefined>;
6314
+ creator?: "system" | "user" | undefined;
6315
+ createdBySignature?: string | null | undefined;
6316
+ createdAtLocation?: string | null | undefined;
5660
6317
  annotation?: Record<string, string | number | boolean | {
5661
6318
  type: string;
5662
6319
  filename: string;
@@ -5672,6 +6329,10 @@ export declare const EventDocument: z.ZodObject<{
5672
6329
  residentialArea?: string | null | undefined;
5673
6330
  street?: string | null | undefined;
5674
6331
  zipCode?: string | null | undefined;
6332
+ } | {
6333
+ firstname: string;
6334
+ surname: string;
6335
+ middlename?: string | null | undefined;
5675
6336
  } | {
5676
6337
  country: string;
5677
6338
  district: string;
@@ -5694,7 +6355,7 @@ export declare const EventDocument: z.ZodObject<{
5694
6355
  option: string;
5695
6356
  filename: string;
5696
6357
  originalFilename: string;
5697
- }[] | [string, string] | undefined> | undefined;
6358
+ }[] | [string, string] | null | undefined> | undefined;
5698
6359
  originalActionId?: string | undefined;
5699
6360
  }, {
5700
6361
  type: "PRINT_CERTIFICATE";
@@ -5719,6 +6380,10 @@ export declare const EventDocument: z.ZodObject<{
5719
6380
  residentialArea?: string | null | undefined;
5720
6381
  street?: string | null | undefined;
5721
6382
  zipCode?: string | null | undefined;
6383
+ } | {
6384
+ firstname: string;
6385
+ surname: string;
6386
+ middlename?: string | null | undefined;
5722
6387
  } | {
5723
6388
  country: string;
5724
6389
  district: string;
@@ -5741,8 +6406,10 @@ export declare const EventDocument: z.ZodObject<{
5741
6406
  option: string;
5742
6407
  filename: string;
5743
6408
  originalFilename: string;
5744
- }[] | [string, string] | undefined>;
5745
- createdAtLocation: string;
6409
+ }[] | [string, string] | null | undefined>;
6410
+ creator?: "system" | "user" | undefined;
6411
+ createdBySignature?: string | null | undefined;
6412
+ createdAtLocation?: string | null | undefined;
5746
6413
  annotation?: Record<string, string | number | boolean | {
5747
6414
  type: string;
5748
6415
  filename: string;
@@ -5758,6 +6425,10 @@ export declare const EventDocument: z.ZodObject<{
5758
6425
  residentialArea?: string | null | undefined;
5759
6426
  street?: string | null | undefined;
5760
6427
  zipCode?: string | null | undefined;
6428
+ } | {
6429
+ firstname: string;
6430
+ surname: string;
6431
+ middlename?: string | null | undefined;
5761
6432
  } | {
5762
6433
  country: string;
5763
6434
  district: string;
@@ -5780,14 +6451,17 @@ export declare const EventDocument: z.ZodObject<{
5780
6451
  option: string;
5781
6452
  filename: string;
5782
6453
  originalFilename: string;
5783
- }[] | [string, string] | undefined> | undefined;
6454
+ }[] | [string, string] | null | undefined> | undefined;
5784
6455
  originalActionId?: string | undefined;
5785
6456
  }>, z.ZodObject<z.objectUtil.extendShape<{
5786
6457
  id: z.ZodString;
5787
6458
  transactionId: z.ZodString;
6459
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
5788
6460
  createdAt: z.ZodString;
5789
6461
  createdBy: z.ZodString;
5790
6462
  createdByRole: z.ZodString;
6463
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6464
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
6465
  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<{
5792
6466
  filename: z.ZodString;
5793
6467
  originalFilename: z.ZodString;
@@ -5901,7 +6575,19 @@ export declare const EventDocument: z.ZodObject<{
5901
6575
  addressLine2?: string | null | undefined;
5902
6576
  addressLine3?: string | null | undefined;
5903
6577
  postcodeOrZip?: string | null | undefined;
5904
- }>]>>;
6578
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6579
+ firstname: z.ZodString;
6580
+ surname: z.ZodString;
6581
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6582
+ }, "strip", z.ZodTypeAny, {
6583
+ firstname: string;
6584
+ surname: string;
6585
+ middlename?: string | null | undefined;
6586
+ }, {
6587
+ firstname: string;
6588
+ surname: string;
6589
+ middlename?: string | null | undefined;
6590
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5905
6591
  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<{
5906
6592
  filename: z.ZodString;
5907
6593
  originalFilename: z.ZodString;
@@ -6015,8 +6701,19 @@ export declare const EventDocument: z.ZodObject<{
6015
6701
  addressLine2?: string | null | undefined;
6016
6702
  addressLine3?: string | null | undefined;
6017
6703
  postcodeOrZip?: string | null | undefined;
6018
- }>]>>>;
6019
- createdAtLocation: z.ZodString;
6704
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6705
+ firstname: z.ZodString;
6706
+ surname: z.ZodString;
6707
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6708
+ }, "strip", z.ZodTypeAny, {
6709
+ firstname: string;
6710
+ surname: string;
6711
+ middlename?: string | null | undefined;
6712
+ }, {
6713
+ firstname: string;
6714
+ surname: string;
6715
+ middlename?: string | null | undefined;
6716
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6020
6717
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6021
6718
  originalActionId: z.ZodOptional<z.ZodString>;
6022
6719
  }, {
@@ -6044,6 +6741,10 @@ export declare const EventDocument: z.ZodObject<{
6044
6741
  residentialArea?: string | null | undefined;
6045
6742
  street?: string | null | undefined;
6046
6743
  zipCode?: string | null | undefined;
6744
+ } | {
6745
+ firstname: string;
6746
+ surname: string;
6747
+ middlename?: string | null | undefined;
6047
6748
  } | {
6048
6749
  country: string;
6049
6750
  district: string;
@@ -6066,8 +6767,10 @@ export declare const EventDocument: z.ZodObject<{
6066
6767
  option: string;
6067
6768
  filename: string;
6068
6769
  originalFilename: string;
6069
- }[] | [string, string] | undefined>;
6070
- createdAtLocation: string;
6770
+ }[] | [string, string] | null | undefined>;
6771
+ creator?: "system" | "user" | undefined;
6772
+ createdBySignature?: string | null | undefined;
6773
+ createdAtLocation?: string | null | undefined;
6071
6774
  annotation?: Record<string, string | number | boolean | {
6072
6775
  type: string;
6073
6776
  filename: string;
@@ -6083,6 +6786,10 @@ export declare const EventDocument: z.ZodObject<{
6083
6786
  residentialArea?: string | null | undefined;
6084
6787
  street?: string | null | undefined;
6085
6788
  zipCode?: string | null | undefined;
6789
+ } | {
6790
+ firstname: string;
6791
+ surname: string;
6792
+ middlename?: string | null | undefined;
6086
6793
  } | {
6087
6794
  country: string;
6088
6795
  district: string;
@@ -6105,7 +6812,7 @@ export declare const EventDocument: z.ZodObject<{
6105
6812
  option: string;
6106
6813
  filename: string;
6107
6814
  originalFilename: string;
6108
- }[] | [string, string] | undefined> | undefined;
6815
+ }[] | [string, string] | null | undefined> | undefined;
6109
6816
  originalActionId?: string | undefined;
6110
6817
  }, {
6111
6818
  type: "READ";
@@ -6130,6 +6837,10 @@ export declare const EventDocument: z.ZodObject<{
6130
6837
  residentialArea?: string | null | undefined;
6131
6838
  street?: string | null | undefined;
6132
6839
  zipCode?: string | null | undefined;
6840
+ } | {
6841
+ firstname: string;
6842
+ surname: string;
6843
+ middlename?: string | null | undefined;
6133
6844
  } | {
6134
6845
  country: string;
6135
6846
  district: string;
@@ -6152,8 +6863,10 @@ export declare const EventDocument: z.ZodObject<{
6152
6863
  option: string;
6153
6864
  filename: string;
6154
6865
  originalFilename: string;
6155
- }[] | [string, string] | undefined>;
6156
- createdAtLocation: string;
6866
+ }[] | [string, string] | null | undefined>;
6867
+ creator?: "system" | "user" | undefined;
6868
+ createdBySignature?: string | null | undefined;
6869
+ createdAtLocation?: string | null | undefined;
6157
6870
  annotation?: Record<string, string | number | boolean | {
6158
6871
  type: string;
6159
6872
  filename: string;
@@ -6169,6 +6882,10 @@ export declare const EventDocument: z.ZodObject<{
6169
6882
  residentialArea?: string | null | undefined;
6170
6883
  street?: string | null | undefined;
6171
6884
  zipCode?: string | null | undefined;
6885
+ } | {
6886
+ firstname: string;
6887
+ surname: string;
6888
+ middlename?: string | null | undefined;
6172
6889
  } | {
6173
6890
  country: string;
6174
6891
  district: string;
@@ -6191,14 +6908,17 @@ export declare const EventDocument: z.ZodObject<{
6191
6908
  option: string;
6192
6909
  filename: string;
6193
6910
  originalFilename: string;
6194
- }[] | [string, string] | undefined> | undefined;
6911
+ }[] | [string, string] | null | undefined> | undefined;
6195
6912
  originalActionId?: string | undefined;
6196
6913
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6197
6914
  id: z.ZodString;
6198
6915
  transactionId: z.ZodString;
6916
+ creator: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
6199
6917
  createdAt: z.ZodString;
6200
6918
  createdBy: z.ZodString;
6201
6919
  createdByRole: z.ZodString;
6920
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6202
6922
  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<{
6203
6923
  filename: z.ZodString;
6204
6924
  originalFilename: z.ZodString;
@@ -6312,7 +7032,19 @@ export declare const EventDocument: z.ZodObject<{
6312
7032
  addressLine2?: string | null | undefined;
6313
7033
  addressLine3?: string | null | undefined;
6314
7034
  postcodeOrZip?: string | null | undefined;
6315
- }>]>>;
7035
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7038
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
+ }, "strip", z.ZodTypeAny, {
7040
+ firstname: string;
7041
+ surname: string;
7042
+ middlename?: string | null | undefined;
7043
+ }, {
7044
+ firstname: string;
7045
+ surname: string;
7046
+ middlename?: string | null | undefined;
7047
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6316
7048
  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<{
6317
7049
  filename: z.ZodString;
6318
7050
  originalFilename: z.ZodString;
@@ -6426,8 +7158,19 @@ export declare const EventDocument: z.ZodObject<{
6426
7158
  addressLine2?: string | null | undefined;
6427
7159
  addressLine3?: string | null | undefined;
6428
7160
  postcodeOrZip?: string | null | undefined;
6429
- }>]>>>;
6430
- createdAtLocation: z.ZodString;
7161
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7162
+ firstname: z.ZodString;
7163
+ surname: z.ZodString;
7164
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7165
+ }, "strip", z.ZodTypeAny, {
7166
+ firstname: string;
7167
+ surname: string;
7168
+ middlename?: string | null | undefined;
7169
+ }, {
7170
+ firstname: string;
7171
+ surname: string;
7172
+ middlename?: string | null | undefined;
7173
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6431
7174
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6432
7175
  originalActionId: z.ZodOptional<z.ZodString>;
6433
7176
  }, "declaration" | "annotation">, {
@@ -6441,7 +7184,9 @@ export declare const EventDocument: z.ZodObject<{
6441
7184
  createdAt: string;
6442
7185
  createdBy: string;
6443
7186
  createdByRole: string;
6444
- createdAtLocation: string;
7187
+ creator?: "system" | "user" | undefined;
7188
+ createdBySignature?: string | null | undefined;
7189
+ createdAtLocation?: string | null | undefined;
6445
7190
  originalActionId?: string | undefined;
6446
7191
  }, {
6447
7192
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -6451,7 +7196,9 @@ export declare const EventDocument: z.ZodObject<{
6451
7196
  createdAt: string;
6452
7197
  createdBy: string;
6453
7198
  createdByRole: string;
6454
- createdAtLocation: string;
7199
+ creator?: "system" | "user" | undefined;
7200
+ createdBySignature?: string | null | undefined;
7201
+ createdAtLocation?: string | null | undefined;
6455
7202
  originalActionId?: string | undefined;
6456
7203
  }>]>, "many">;
6457
7204
  trackingId: z.ZodString;
@@ -6483,6 +7230,10 @@ export declare const EventDocument: z.ZodObject<{
6483
7230
  residentialArea?: string | null | undefined;
6484
7231
  street?: string | null | undefined;
6485
7232
  zipCode?: string | null | undefined;
7233
+ } | {
7234
+ firstname: string;
7235
+ surname: string;
7236
+ middlename?: string | null | undefined;
6486
7237
  } | {
6487
7238
  country: string;
6488
7239
  district: string;
@@ -6505,9 +7256,11 @@ export declare const EventDocument: z.ZodObject<{
6505
7256
  option: string;
6506
7257
  filename: string;
6507
7258
  originalFilename: string;
6508
- }[] | [string, string] | undefined>;
6509
- createdAtLocation: string;
7259
+ }[] | [string, string] | null | undefined>;
6510
7260
  assignedTo: string;
7261
+ creator?: "system" | "user" | undefined;
7262
+ createdBySignature?: string | null | undefined;
7263
+ createdAtLocation?: string | null | undefined;
6511
7264
  annotation?: Record<string, string | number | boolean | {
6512
7265
  type: string;
6513
7266
  filename: string;
@@ -6523,6 +7276,10 @@ export declare const EventDocument: z.ZodObject<{
6523
7276
  residentialArea?: string | null | undefined;
6524
7277
  street?: string | null | undefined;
6525
7278
  zipCode?: string | null | undefined;
7279
+ } | {
7280
+ firstname: string;
7281
+ surname: string;
7282
+ middlename?: string | null | undefined;
6526
7283
  } | {
6527
7284
  country: string;
6528
7285
  district: string;
@@ -6545,7 +7302,7 @@ export declare const EventDocument: z.ZodObject<{
6545
7302
  option: string;
6546
7303
  filename: string;
6547
7304
  originalFilename: string;
6548
- }[] | [string, string] | undefined> | undefined;
7305
+ }[] | [string, string] | null | undefined> | undefined;
6549
7306
  originalActionId?: string | undefined;
6550
7307
  } | {
6551
7308
  type: "UNASSIGN";
@@ -6570,6 +7327,10 @@ export declare const EventDocument: z.ZodObject<{
6570
7327
  residentialArea?: string | null | undefined;
6571
7328
  street?: string | null | undefined;
6572
7329
  zipCode?: string | null | undefined;
7330
+ } | {
7331
+ firstname: string;
7332
+ surname: string;
7333
+ middlename?: string | null | undefined;
6573
7334
  } | {
6574
7335
  country: string;
6575
7336
  district: string;
@@ -6592,9 +7353,11 @@ export declare const EventDocument: z.ZodObject<{
6592
7353
  option: string;
6593
7354
  filename: string;
6594
7355
  originalFilename: string;
6595
- }[] | [string, string] | undefined>;
6596
- createdAtLocation: string;
7356
+ }[] | [string, string] | null | undefined>;
6597
7357
  assignedTo: null;
7358
+ creator?: "system" | "user" | undefined;
7359
+ createdBySignature?: string | null | undefined;
7360
+ createdAtLocation?: string | null | undefined;
6598
7361
  annotation?: Record<string, string | number | boolean | {
6599
7362
  type: string;
6600
7363
  filename: string;
@@ -6610,6 +7373,10 @@ export declare const EventDocument: z.ZodObject<{
6610
7373
  residentialArea?: string | null | undefined;
6611
7374
  street?: string | null | undefined;
6612
7375
  zipCode?: string | null | undefined;
7376
+ } | {
7377
+ firstname: string;
7378
+ surname: string;
7379
+ middlename?: string | null | undefined;
6613
7380
  } | {
6614
7381
  country: string;
6615
7382
  district: string;
@@ -6632,7 +7399,7 @@ export declare const EventDocument: z.ZodObject<{
6632
7399
  option: string;
6633
7400
  filename: string;
6634
7401
  originalFilename: string;
6635
- }[] | [string, string] | undefined> | undefined;
7402
+ }[] | [string, string] | null | undefined> | undefined;
6636
7403
  originalActionId?: string | undefined;
6637
7404
  } | {
6638
7405
  type: "REGISTER";
@@ -6657,6 +7424,10 @@ export declare const EventDocument: z.ZodObject<{
6657
7424
  residentialArea?: string | null | undefined;
6658
7425
  street?: string | null | undefined;
6659
7426
  zipCode?: string | null | undefined;
7427
+ } | {
7428
+ firstname: string;
7429
+ surname: string;
7430
+ middlename?: string | null | undefined;
6660
7431
  } | {
6661
7432
  country: string;
6662
7433
  district: string;
@@ -6679,8 +7450,10 @@ export declare const EventDocument: z.ZodObject<{
6679
7450
  option: string;
6680
7451
  filename: string;
6681
7452
  originalFilename: string;
6682
- }[] | [string, string] | undefined>;
6683
- createdAtLocation: string;
7453
+ }[] | [string, string] | null | undefined>;
7454
+ creator?: "system" | "user" | undefined;
7455
+ createdBySignature?: string | null | undefined;
7456
+ createdAtLocation?: string | null | undefined;
6684
7457
  annotation?: Record<string, string | number | boolean | {
6685
7458
  type: string;
6686
7459
  filename: string;
@@ -6696,6 +7469,10 @@ export declare const EventDocument: z.ZodObject<{
6696
7469
  residentialArea?: string | null | undefined;
6697
7470
  street?: string | null | undefined;
6698
7471
  zipCode?: string | null | undefined;
7472
+ } | {
7473
+ firstname: string;
7474
+ surname: string;
7475
+ middlename?: string | null | undefined;
6699
7476
  } | {
6700
7477
  country: string;
6701
7478
  district: string;
@@ -6718,7 +7495,7 @@ export declare const EventDocument: z.ZodObject<{
6718
7495
  option: string;
6719
7496
  filename: string;
6720
7497
  originalFilename: string;
6721
- }[] | [string, string] | undefined> | undefined;
7498
+ }[] | [string, string] | null | undefined> | undefined;
6722
7499
  originalActionId?: string | undefined;
6723
7500
  registrationNumber?: string | undefined;
6724
7501
  } | {
@@ -6744,6 +7521,10 @@ export declare const EventDocument: z.ZodObject<{
6744
7521
  residentialArea?: string | null | undefined;
6745
7522
  street?: string | null | undefined;
6746
7523
  zipCode?: string | null | undefined;
7524
+ } | {
7525
+ firstname: string;
7526
+ surname: string;
7527
+ middlename?: string | null | undefined;
6747
7528
  } | {
6748
7529
  country: string;
6749
7530
  district: string;
@@ -6766,8 +7547,10 @@ export declare const EventDocument: z.ZodObject<{
6766
7547
  option: string;
6767
7548
  filename: string;
6768
7549
  originalFilename: string;
6769
- }[] | [string, string] | undefined>;
6770
- createdAtLocation: string;
7550
+ }[] | [string, string] | null | undefined>;
7551
+ creator?: "system" | "user" | undefined;
7552
+ createdBySignature?: string | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
6771
7554
  annotation?: Record<string, string | number | boolean | {
6772
7555
  type: string;
6773
7556
  filename: string;
@@ -6783,6 +7566,10 @@ export declare const EventDocument: z.ZodObject<{
6783
7566
  residentialArea?: string | null | undefined;
6784
7567
  street?: string | null | undefined;
6785
7568
  zipCode?: string | null | undefined;
7569
+ } | {
7570
+ firstname: string;
7571
+ surname: string;
7572
+ middlename?: string | null | undefined;
6786
7573
  } | {
6787
7574
  country: string;
6788
7575
  district: string;
@@ -6805,7 +7592,7 @@ export declare const EventDocument: z.ZodObject<{
6805
7592
  option: string;
6806
7593
  filename: string;
6807
7594
  originalFilename: string;
6808
- }[] | [string, string] | undefined> | undefined;
7595
+ }[] | [string, string] | null | undefined> | undefined;
6809
7596
  originalActionId?: string | undefined;
6810
7597
  } | {
6811
7598
  type: "VALIDATE";
@@ -6830,6 +7617,10 @@ export declare const EventDocument: z.ZodObject<{
6830
7617
  residentialArea?: string | null | undefined;
6831
7618
  street?: string | null | undefined;
6832
7619
  zipCode?: string | null | undefined;
7620
+ } | {
7621
+ firstname: string;
7622
+ surname: string;
7623
+ middlename?: string | null | undefined;
6833
7624
  } | {
6834
7625
  country: string;
6835
7626
  district: string;
@@ -6852,8 +7643,10 @@ export declare const EventDocument: z.ZodObject<{
6852
7643
  option: string;
6853
7644
  filename: string;
6854
7645
  originalFilename: string;
6855
- }[] | [string, string] | undefined>;
6856
- createdAtLocation: string;
7646
+ }[] | [string, string] | null | undefined>;
7647
+ creator?: "system" | "user" | undefined;
7648
+ createdBySignature?: string | null | undefined;
7649
+ createdAtLocation?: string | null | undefined;
6857
7650
  annotation?: Record<string, string | number | boolean | {
6858
7651
  type: string;
6859
7652
  filename: string;
@@ -6869,6 +7662,10 @@ export declare const EventDocument: z.ZodObject<{
6869
7662
  residentialArea?: string | null | undefined;
6870
7663
  street?: string | null | undefined;
6871
7664
  zipCode?: string | null | undefined;
7665
+ } | {
7666
+ firstname: string;
7667
+ surname: string;
7668
+ middlename?: string | null | undefined;
6872
7669
  } | {
6873
7670
  country: string;
6874
7671
  district: string;
@@ -6891,12 +7688,16 @@ export declare const EventDocument: z.ZodObject<{
6891
7688
  option: string;
6892
7689
  filename: string;
6893
7690
  originalFilename: string;
6894
- }[] | [string, string] | undefined> | undefined;
7691
+ }[] | [string, string] | null | undefined> | undefined;
6895
7692
  originalActionId?: string | undefined;
6896
7693
  } | {
6897
7694
  type: "REJECT";
6898
7695
  id: string;
6899
7696
  status: "Rejected" | "Requested" | "Accepted";
7697
+ reason: {
7698
+ message: string;
7699
+ isDuplicate?: boolean | undefined;
7700
+ };
6900
7701
  transactionId: string;
6901
7702
  createdAt: string;
6902
7703
  createdBy: string;
@@ -6916,6 +7717,10 @@ export declare const EventDocument: z.ZodObject<{
6916
7717
  residentialArea?: string | null | undefined;
6917
7718
  street?: string | null | undefined;
6918
7719
  zipCode?: string | null | undefined;
7720
+ } | {
7721
+ firstname: string;
7722
+ surname: string;
7723
+ middlename?: string | null | undefined;
6919
7724
  } | {
6920
7725
  country: string;
6921
7726
  district: string;
@@ -6938,8 +7743,10 @@ export declare const EventDocument: z.ZodObject<{
6938
7743
  option: string;
6939
7744
  filename: string;
6940
7745
  originalFilename: string;
6941
- }[] | [string, string] | undefined>;
6942
- createdAtLocation: string;
7746
+ }[] | [string, string] | null | undefined>;
7747
+ creator?: "system" | "user" | undefined;
7748
+ createdBySignature?: string | null | undefined;
7749
+ createdAtLocation?: string | null | undefined;
6943
7750
  annotation?: Record<string, string | number | boolean | {
6944
7751
  type: string;
6945
7752
  filename: string;
@@ -6955,6 +7762,10 @@ export declare const EventDocument: z.ZodObject<{
6955
7762
  residentialArea?: string | null | undefined;
6956
7763
  street?: string | null | undefined;
6957
7764
  zipCode?: string | null | undefined;
7765
+ } | {
7766
+ firstname: string;
7767
+ surname: string;
7768
+ middlename?: string | null | undefined;
6958
7769
  } | {
6959
7770
  country: string;
6960
7771
  district: string;
@@ -6977,7 +7788,7 @@ export declare const EventDocument: z.ZodObject<{
6977
7788
  option: string;
6978
7789
  filename: string;
6979
7790
  originalFilename: string;
6980
- }[] | [string, string] | undefined> | undefined;
7791
+ }[] | [string, string] | null | undefined> | undefined;
6981
7792
  originalActionId?: string | undefined;
6982
7793
  } | {
6983
7794
  type: "MARKED_AS_DUPLICATE";
@@ -7002,6 +7813,10 @@ export declare const EventDocument: z.ZodObject<{
7002
7813
  residentialArea?: string | null | undefined;
7003
7814
  street?: string | null | undefined;
7004
7815
  zipCode?: string | null | undefined;
7816
+ } | {
7817
+ firstname: string;
7818
+ surname: string;
7819
+ middlename?: string | null | undefined;
7005
7820
  } | {
7006
7821
  country: string;
7007
7822
  district: string;
@@ -7024,8 +7839,10 @@ export declare const EventDocument: z.ZodObject<{
7024
7839
  option: string;
7025
7840
  filename: string;
7026
7841
  originalFilename: string;
7027
- }[] | [string, string] | undefined>;
7028
- createdAtLocation: string;
7842
+ }[] | [string, string] | null | undefined>;
7843
+ creator?: "system" | "user" | undefined;
7844
+ createdBySignature?: string | null | undefined;
7845
+ createdAtLocation?: string | null | undefined;
7029
7846
  annotation?: Record<string, string | number | boolean | {
7030
7847
  type: string;
7031
7848
  filename: string;
@@ -7041,6 +7858,10 @@ export declare const EventDocument: z.ZodObject<{
7041
7858
  residentialArea?: string | null | undefined;
7042
7859
  street?: string | null | undefined;
7043
7860
  zipCode?: string | null | undefined;
7861
+ } | {
7862
+ firstname: string;
7863
+ surname: string;
7864
+ middlename?: string | null | undefined;
7044
7865
  } | {
7045
7866
  country: string;
7046
7867
  district: string;
@@ -7063,12 +7884,16 @@ export declare const EventDocument: z.ZodObject<{
7063
7884
  option: string;
7064
7885
  filename: string;
7065
7886
  originalFilename: string;
7066
- }[] | [string, string] | undefined> | undefined;
7887
+ }[] | [string, string] | null | undefined> | undefined;
7067
7888
  originalActionId?: string | undefined;
7068
7889
  } | {
7069
7890
  type: "ARCHIVE";
7070
7891
  id: string;
7071
7892
  status: "Rejected" | "Requested" | "Accepted";
7893
+ reason: {
7894
+ message: string;
7895
+ isDuplicate?: boolean | undefined;
7896
+ };
7072
7897
  transactionId: string;
7073
7898
  createdAt: string;
7074
7899
  createdBy: string;
@@ -7088,6 +7913,10 @@ export declare const EventDocument: z.ZodObject<{
7088
7913
  residentialArea?: string | null | undefined;
7089
7914
  street?: string | null | undefined;
7090
7915
  zipCode?: string | null | undefined;
7916
+ } | {
7917
+ firstname: string;
7918
+ surname: string;
7919
+ middlename?: string | null | undefined;
7091
7920
  } | {
7092
7921
  country: string;
7093
7922
  district: string;
@@ -7110,8 +7939,10 @@ export declare const EventDocument: z.ZodObject<{
7110
7939
  option: string;
7111
7940
  filename: string;
7112
7941
  originalFilename: string;
7113
- }[] | [string, string] | undefined>;
7114
- createdAtLocation: string;
7942
+ }[] | [string, string] | null | undefined>;
7943
+ creator?: "system" | "user" | undefined;
7944
+ createdBySignature?: string | null | undefined;
7945
+ createdAtLocation?: string | null | undefined;
7115
7946
  annotation?: Record<string, string | number | boolean | {
7116
7947
  type: string;
7117
7948
  filename: string;
@@ -7127,6 +7958,10 @@ export declare const EventDocument: z.ZodObject<{
7127
7958
  residentialArea?: string | null | undefined;
7128
7959
  street?: string | null | undefined;
7129
7960
  zipCode?: string | null | undefined;
7961
+ } | {
7962
+ firstname: string;
7963
+ surname: string;
7964
+ middlename?: string | null | undefined;
7130
7965
  } | {
7131
7966
  country: string;
7132
7967
  district: string;
@@ -7149,7 +7984,7 @@ export declare const EventDocument: z.ZodObject<{
7149
7984
  option: string;
7150
7985
  filename: string;
7151
7986
  originalFilename: string;
7152
- }[] | [string, string] | undefined> | undefined;
7987
+ }[] | [string, string] | null | undefined> | undefined;
7153
7988
  originalActionId?: string | undefined;
7154
7989
  } | {
7155
7990
  type: "CREATE";
@@ -7174,6 +8009,10 @@ export declare const EventDocument: z.ZodObject<{
7174
8009
  residentialArea?: string | null | undefined;
7175
8010
  street?: string | null | undefined;
7176
8011
  zipCode?: string | null | undefined;
8012
+ } | {
8013
+ firstname: string;
8014
+ surname: string;
8015
+ middlename?: string | null | undefined;
7177
8016
  } | {
7178
8017
  country: string;
7179
8018
  district: string;
@@ -7196,8 +8035,10 @@ export declare const EventDocument: z.ZodObject<{
7196
8035
  option: string;
7197
8036
  filename: string;
7198
8037
  originalFilename: string;
7199
- }[] | [string, string] | undefined>;
7200
- createdAtLocation: string;
8038
+ }[] | [string, string] | null | undefined>;
8039
+ creator?: "system" | "user" | undefined;
8040
+ createdBySignature?: string | null | undefined;
8041
+ createdAtLocation?: string | null | undefined;
7201
8042
  annotation?: Record<string, string | number | boolean | {
7202
8043
  type: string;
7203
8044
  filename: string;
@@ -7213,6 +8054,10 @@ export declare const EventDocument: z.ZodObject<{
7213
8054
  residentialArea?: string | null | undefined;
7214
8055
  street?: string | null | undefined;
7215
8056
  zipCode?: string | null | undefined;
8057
+ } | {
8058
+ firstname: string;
8059
+ surname: string;
8060
+ middlename?: string | null | undefined;
7216
8061
  } | {
7217
8062
  country: string;
7218
8063
  district: string;
@@ -7235,7 +8080,7 @@ export declare const EventDocument: z.ZodObject<{
7235
8080
  option: string;
7236
8081
  filename: string;
7237
8082
  originalFilename: string;
7238
- }[] | [string, string] | undefined> | undefined;
8083
+ }[] | [string, string] | null | undefined> | undefined;
7239
8084
  originalActionId?: string | undefined;
7240
8085
  } | {
7241
8086
  type: "NOTIFY";
@@ -7260,6 +8105,10 @@ export declare const EventDocument: z.ZodObject<{
7260
8105
  residentialArea?: string | null | undefined;
7261
8106
  street?: string | null | undefined;
7262
8107
  zipCode?: string | null | undefined;
8108
+ } | {
8109
+ firstname: string;
8110
+ surname: string;
8111
+ middlename?: string | null | undefined;
7263
8112
  } | {
7264
8113
  country: string;
7265
8114
  district: string;
@@ -7282,8 +8131,10 @@ export declare const EventDocument: z.ZodObject<{
7282
8131
  option: string;
7283
8132
  filename: string;
7284
8133
  originalFilename: string;
7285
- }[] | [string, string] | undefined>;
7286
- createdAtLocation: string;
8134
+ }[] | [string, string] | null | undefined>;
8135
+ creator?: "system" | "user" | undefined;
8136
+ createdBySignature?: string | null | undefined;
8137
+ createdAtLocation?: string | null | undefined;
7287
8138
  annotation?: Record<string, string | number | boolean | {
7288
8139
  type: string;
7289
8140
  filename: string;
@@ -7299,6 +8150,10 @@ export declare const EventDocument: z.ZodObject<{
7299
8150
  residentialArea?: string | null | undefined;
7300
8151
  street?: string | null | undefined;
7301
8152
  zipCode?: string | null | undefined;
8153
+ } | {
8154
+ firstname: string;
8155
+ surname: string;
8156
+ middlename?: string | null | undefined;
7302
8157
  } | {
7303
8158
  country: string;
7304
8159
  district: string;
@@ -7321,7 +8176,7 @@ export declare const EventDocument: z.ZodObject<{
7321
8176
  option: string;
7322
8177
  filename: string;
7323
8178
  originalFilename: string;
7324
- }[] | [string, string] | undefined> | undefined;
8179
+ }[] | [string, string] | null | undefined> | undefined;
7325
8180
  originalActionId?: string | undefined;
7326
8181
  } | {
7327
8182
  type: "PRINT_CERTIFICATE";
@@ -7346,6 +8201,10 @@ export declare const EventDocument: z.ZodObject<{
7346
8201
  residentialArea?: string | null | undefined;
7347
8202
  street?: string | null | undefined;
7348
8203
  zipCode?: string | null | undefined;
8204
+ } | {
8205
+ firstname: string;
8206
+ surname: string;
8207
+ middlename?: string | null | undefined;
7349
8208
  } | {
7350
8209
  country: string;
7351
8210
  district: string;
@@ -7368,8 +8227,10 @@ export declare const EventDocument: z.ZodObject<{
7368
8227
  option: string;
7369
8228
  filename: string;
7370
8229
  originalFilename: string;
7371
- }[] | [string, string] | undefined>;
7372
- createdAtLocation: string;
8230
+ }[] | [string, string] | null | undefined>;
8231
+ creator?: "system" | "user" | undefined;
8232
+ createdBySignature?: string | null | undefined;
8233
+ createdAtLocation?: string | null | undefined;
7373
8234
  annotation?: Record<string, string | number | boolean | {
7374
8235
  type: string;
7375
8236
  filename: string;
@@ -7385,6 +8246,10 @@ export declare const EventDocument: z.ZodObject<{
7385
8246
  residentialArea?: string | null | undefined;
7386
8247
  street?: string | null | undefined;
7387
8248
  zipCode?: string | null | undefined;
8249
+ } | {
8250
+ firstname: string;
8251
+ surname: string;
8252
+ middlename?: string | null | undefined;
7388
8253
  } | {
7389
8254
  country: string;
7390
8255
  district: string;
@@ -7407,7 +8272,7 @@ export declare const EventDocument: z.ZodObject<{
7407
8272
  option: string;
7408
8273
  filename: string;
7409
8274
  originalFilename: string;
7410
- }[] | [string, string] | undefined> | undefined;
8275
+ }[] | [string, string] | null | undefined> | undefined;
7411
8276
  originalActionId?: string | undefined;
7412
8277
  } | {
7413
8278
  type: "REQUEST_CORRECTION";
@@ -7432,6 +8297,10 @@ export declare const EventDocument: z.ZodObject<{
7432
8297
  residentialArea?: string | null | undefined;
7433
8298
  street?: string | null | undefined;
7434
8299
  zipCode?: string | null | undefined;
8300
+ } | {
8301
+ firstname: string;
8302
+ surname: string;
8303
+ middlename?: string | null | undefined;
7435
8304
  } | {
7436
8305
  country: string;
7437
8306
  district: string;
@@ -7454,8 +8323,10 @@ export declare const EventDocument: z.ZodObject<{
7454
8323
  option: string;
7455
8324
  filename: string;
7456
8325
  originalFilename: string;
7457
- }[] | [string, string] | undefined>;
7458
- createdAtLocation: string;
8326
+ }[] | [string, string] | null | undefined>;
8327
+ creator?: "system" | "user" | undefined;
8328
+ createdBySignature?: string | null | undefined;
8329
+ createdAtLocation?: string | null | undefined;
7459
8330
  annotation?: Record<string, string | number | boolean | {
7460
8331
  type: string;
7461
8332
  filename: string;
@@ -7471,6 +8342,10 @@ export declare const EventDocument: z.ZodObject<{
7471
8342
  residentialArea?: string | null | undefined;
7472
8343
  street?: string | null | undefined;
7473
8344
  zipCode?: string | null | undefined;
8345
+ } | {
8346
+ firstname: string;
8347
+ surname: string;
8348
+ middlename?: string | null | undefined;
7474
8349
  } | {
7475
8350
  country: string;
7476
8351
  district: string;
@@ -7493,7 +8368,7 @@ export declare const EventDocument: z.ZodObject<{
7493
8368
  option: string;
7494
8369
  filename: string;
7495
8370
  originalFilename: string;
7496
- }[] | [string, string] | undefined> | undefined;
8371
+ }[] | [string, string] | null | undefined> | undefined;
7497
8372
  originalActionId?: string | undefined;
7498
8373
  } | {
7499
8374
  type: "APPROVE_CORRECTION";
@@ -7518,6 +8393,10 @@ export declare const EventDocument: z.ZodObject<{
7518
8393
  residentialArea?: string | null | undefined;
7519
8394
  street?: string | null | undefined;
7520
8395
  zipCode?: string | null | undefined;
8396
+ } | {
8397
+ firstname: string;
8398
+ surname: string;
8399
+ middlename?: string | null | undefined;
7521
8400
  } | {
7522
8401
  country: string;
7523
8402
  district: string;
@@ -7540,9 +8419,11 @@ export declare const EventDocument: z.ZodObject<{
7540
8419
  option: string;
7541
8420
  filename: string;
7542
8421
  originalFilename: string;
7543
- }[] | [string, string] | undefined>;
7544
- createdAtLocation: string;
8422
+ }[] | [string, string] | null | undefined>;
7545
8423
  requestId: string;
8424
+ creator?: "system" | "user" | undefined;
8425
+ createdBySignature?: string | null | undefined;
8426
+ createdAtLocation?: string | null | undefined;
7546
8427
  annotation?: Record<string, string | number | boolean | {
7547
8428
  type: string;
7548
8429
  filename: string;
@@ -7558,6 +8439,10 @@ export declare const EventDocument: z.ZodObject<{
7558
8439
  residentialArea?: string | null | undefined;
7559
8440
  street?: string | null | undefined;
7560
8441
  zipCode?: string | null | undefined;
8442
+ } | {
8443
+ firstname: string;
8444
+ surname: string;
8445
+ middlename?: string | null | undefined;
7561
8446
  } | {
7562
8447
  country: string;
7563
8448
  district: string;
@@ -7580,7 +8465,7 @@ export declare const EventDocument: z.ZodObject<{
7580
8465
  option: string;
7581
8466
  filename: string;
7582
8467
  originalFilename: string;
7583
- }[] | [string, string] | undefined> | undefined;
8468
+ }[] | [string, string] | null | undefined> | undefined;
7584
8469
  originalActionId?: string | undefined;
7585
8470
  } | {
7586
8471
  type: "REJECT_CORRECTION";
@@ -7605,6 +8490,10 @@ export declare const EventDocument: z.ZodObject<{
7605
8490
  residentialArea?: string | null | undefined;
7606
8491
  street?: string | null | undefined;
7607
8492
  zipCode?: string | null | undefined;
8493
+ } | {
8494
+ firstname: string;
8495
+ surname: string;
8496
+ middlename?: string | null | undefined;
7608
8497
  } | {
7609
8498
  country: string;
7610
8499
  district: string;
@@ -7627,9 +8516,11 @@ export declare const EventDocument: z.ZodObject<{
7627
8516
  option: string;
7628
8517
  filename: string;
7629
8518
  originalFilename: string;
7630
- }[] | [string, string] | undefined>;
7631
- createdAtLocation: string;
8519
+ }[] | [string, string] | null | undefined>;
7632
8520
  requestId: string;
8521
+ creator?: "system" | "user" | undefined;
8522
+ createdBySignature?: string | null | undefined;
8523
+ createdAtLocation?: string | null | undefined;
7633
8524
  annotation?: Record<string, string | number | boolean | {
7634
8525
  type: string;
7635
8526
  filename: string;
@@ -7645,6 +8536,10 @@ export declare const EventDocument: z.ZodObject<{
7645
8536
  residentialArea?: string | null | undefined;
7646
8537
  street?: string | null | undefined;
7647
8538
  zipCode?: string | null | undefined;
8539
+ } | {
8540
+ firstname: string;
8541
+ surname: string;
8542
+ middlename?: string | null | undefined;
7648
8543
  } | {
7649
8544
  country: string;
7650
8545
  district: string;
@@ -7667,7 +8562,7 @@ export declare const EventDocument: z.ZodObject<{
7667
8562
  option: string;
7668
8563
  filename: string;
7669
8564
  originalFilename: string;
7670
- }[] | [string, string] | undefined> | undefined;
8565
+ }[] | [string, string] | null | undefined> | undefined;
7671
8566
  originalActionId?: string | undefined;
7672
8567
  } | {
7673
8568
  type: "READ";
@@ -7692,6 +8587,10 @@ export declare const EventDocument: z.ZodObject<{
7692
8587
  residentialArea?: string | null | undefined;
7693
8588
  street?: string | null | undefined;
7694
8589
  zipCode?: string | null | undefined;
8590
+ } | {
8591
+ firstname: string;
8592
+ surname: string;
8593
+ middlename?: string | null | undefined;
7695
8594
  } | {
7696
8595
  country: string;
7697
8596
  district: string;
@@ -7714,8 +8613,10 @@ export declare const EventDocument: z.ZodObject<{
7714
8613
  option: string;
7715
8614
  filename: string;
7716
8615
  originalFilename: string;
7717
- }[] | [string, string] | undefined>;
7718
- createdAtLocation: string;
8616
+ }[] | [string, string] | null | undefined>;
8617
+ creator?: "system" | "user" | undefined;
8618
+ createdBySignature?: string | null | undefined;
8619
+ createdAtLocation?: string | null | undefined;
7719
8620
  annotation?: Record<string, string | number | boolean | {
7720
8621
  type: string;
7721
8622
  filename: string;
@@ -7731,6 +8632,10 @@ export declare const EventDocument: z.ZodObject<{
7731
8632
  residentialArea?: string | null | undefined;
7732
8633
  street?: string | null | undefined;
7733
8634
  zipCode?: string | null | undefined;
8635
+ } | {
8636
+ firstname: string;
8637
+ surname: string;
8638
+ middlename?: string | null | undefined;
7734
8639
  } | {
7735
8640
  country: string;
7736
8641
  district: string;
@@ -7753,7 +8658,7 @@ export declare const EventDocument: z.ZodObject<{
7753
8658
  option: string;
7754
8659
  filename: string;
7755
8660
  originalFilename: string;
7756
- }[] | [string, string] | undefined> | undefined;
8661
+ }[] | [string, string] | null | undefined> | undefined;
7757
8662
  originalActionId?: string | undefined;
7758
8663
  } | {
7759
8664
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7763,15 +8668,12 @@ export declare const EventDocument: z.ZodObject<{
7763
8668
  createdAt: string;
7764
8669
  createdBy: string;
7765
8670
  createdByRole: string;
7766
- createdAtLocation: string;
8671
+ creator?: "system" | "user" | undefined;
8672
+ createdBySignature?: string | null | undefined;
8673
+ createdAtLocation?: string | null | undefined;
7767
8674
  originalActionId?: string | undefined;
7768
8675
  })[];
7769
8676
  trackingId: string;
7770
- dateOfEvent?: {
7771
- fieldId: string;
7772
- } | undefined;
7773
- registeredAt?: string | undefined;
7774
- registeredAtLocation?: string | undefined;
7775
8677
  }, {
7776
8678
  type: string;
7777
8679
  id: string;
@@ -7800,6 +8702,10 @@ export declare const EventDocument: z.ZodObject<{
7800
8702
  residentialArea?: string | null | undefined;
7801
8703
  street?: string | null | undefined;
7802
8704
  zipCode?: string | null | undefined;
8705
+ } | {
8706
+ firstname: string;
8707
+ surname: string;
8708
+ middlename?: string | null | undefined;
7803
8709
  } | {
7804
8710
  country: string;
7805
8711
  district: string;
@@ -7822,9 +8728,11 @@ export declare const EventDocument: z.ZodObject<{
7822
8728
  option: string;
7823
8729
  filename: string;
7824
8730
  originalFilename: string;
7825
- }[] | [string, string] | undefined>;
7826
- createdAtLocation: string;
8731
+ }[] | [string, string] | null | undefined>;
7827
8732
  assignedTo: string;
8733
+ creator?: "system" | "user" | undefined;
8734
+ createdBySignature?: string | null | undefined;
8735
+ createdAtLocation?: string | null | undefined;
7828
8736
  annotation?: Record<string, string | number | boolean | {
7829
8737
  type: string;
7830
8738
  filename: string;
@@ -7840,6 +8748,10 @@ export declare const EventDocument: z.ZodObject<{
7840
8748
  residentialArea?: string | null | undefined;
7841
8749
  street?: string | null | undefined;
7842
8750
  zipCode?: string | null | undefined;
8751
+ } | {
8752
+ firstname: string;
8753
+ surname: string;
8754
+ middlename?: string | null | undefined;
7843
8755
  } | {
7844
8756
  country: string;
7845
8757
  district: string;
@@ -7862,7 +8774,7 @@ export declare const EventDocument: z.ZodObject<{
7862
8774
  option: string;
7863
8775
  filename: string;
7864
8776
  originalFilename: string;
7865
- }[] | [string, string] | undefined> | undefined;
8777
+ }[] | [string, string] | null | undefined> | undefined;
7866
8778
  originalActionId?: string | undefined;
7867
8779
  } | {
7868
8780
  type: "UNASSIGN";
@@ -7887,6 +8799,10 @@ export declare const EventDocument: z.ZodObject<{
7887
8799
  residentialArea?: string | null | undefined;
7888
8800
  street?: string | null | undefined;
7889
8801
  zipCode?: string | null | undefined;
8802
+ } | {
8803
+ firstname: string;
8804
+ surname: string;
8805
+ middlename?: string | null | undefined;
7890
8806
  } | {
7891
8807
  country: string;
7892
8808
  district: string;
@@ -7909,9 +8825,11 @@ export declare const EventDocument: z.ZodObject<{
7909
8825
  option: string;
7910
8826
  filename: string;
7911
8827
  originalFilename: string;
7912
- }[] | [string, string] | undefined>;
7913
- createdAtLocation: string;
8828
+ }[] | [string, string] | null | undefined>;
7914
8829
  assignedTo: null;
8830
+ creator?: "system" | "user" | undefined;
8831
+ createdBySignature?: string | null | undefined;
8832
+ createdAtLocation?: string | null | undefined;
7915
8833
  annotation?: Record<string, string | number | boolean | {
7916
8834
  type: string;
7917
8835
  filename: string;
@@ -7927,6 +8845,10 @@ export declare const EventDocument: z.ZodObject<{
7927
8845
  residentialArea?: string | null | undefined;
7928
8846
  street?: string | null | undefined;
7929
8847
  zipCode?: string | null | undefined;
8848
+ } | {
8849
+ firstname: string;
8850
+ surname: string;
8851
+ middlename?: string | null | undefined;
7930
8852
  } | {
7931
8853
  country: string;
7932
8854
  district: string;
@@ -7949,7 +8871,7 @@ export declare const EventDocument: z.ZodObject<{
7949
8871
  option: string;
7950
8872
  filename: string;
7951
8873
  originalFilename: string;
7952
- }[] | [string, string] | undefined> | undefined;
8874
+ }[] | [string, string] | null | undefined> | undefined;
7953
8875
  originalActionId?: string | undefined;
7954
8876
  } | {
7955
8877
  type: "REGISTER";
@@ -7974,6 +8896,10 @@ export declare const EventDocument: z.ZodObject<{
7974
8896
  residentialArea?: string | null | undefined;
7975
8897
  street?: string | null | undefined;
7976
8898
  zipCode?: string | null | undefined;
8899
+ } | {
8900
+ firstname: string;
8901
+ surname: string;
8902
+ middlename?: string | null | undefined;
7977
8903
  } | {
7978
8904
  country: string;
7979
8905
  district: string;
@@ -7996,8 +8922,10 @@ export declare const EventDocument: z.ZodObject<{
7996
8922
  option: string;
7997
8923
  filename: string;
7998
8924
  originalFilename: string;
7999
- }[] | [string, string] | undefined>;
8000
- createdAtLocation: string;
8925
+ }[] | [string, string] | null | undefined>;
8926
+ creator?: "system" | "user" | undefined;
8927
+ createdBySignature?: string | null | undefined;
8928
+ createdAtLocation?: string | null | undefined;
8001
8929
  annotation?: Record<string, string | number | boolean | {
8002
8930
  type: string;
8003
8931
  filename: string;
@@ -8013,6 +8941,10 @@ export declare const EventDocument: z.ZodObject<{
8013
8941
  residentialArea?: string | null | undefined;
8014
8942
  street?: string | null | undefined;
8015
8943
  zipCode?: string | null | undefined;
8944
+ } | {
8945
+ firstname: string;
8946
+ surname: string;
8947
+ middlename?: string | null | undefined;
8016
8948
  } | {
8017
8949
  country: string;
8018
8950
  district: string;
@@ -8035,7 +8967,7 @@ export declare const EventDocument: z.ZodObject<{
8035
8967
  option: string;
8036
8968
  filename: string;
8037
8969
  originalFilename: string;
8038
- }[] | [string, string] | undefined> | undefined;
8970
+ }[] | [string, string] | null | undefined> | undefined;
8039
8971
  originalActionId?: string | undefined;
8040
8972
  registrationNumber?: string | undefined;
8041
8973
  } | {
@@ -8061,6 +8993,10 @@ export declare const EventDocument: z.ZodObject<{
8061
8993
  residentialArea?: string | null | undefined;
8062
8994
  street?: string | null | undefined;
8063
8995
  zipCode?: string | null | undefined;
8996
+ } | {
8997
+ firstname: string;
8998
+ surname: string;
8999
+ middlename?: string | null | undefined;
8064
9000
  } | {
8065
9001
  country: string;
8066
9002
  district: string;
@@ -8083,8 +9019,10 @@ export declare const EventDocument: z.ZodObject<{
8083
9019
  option: string;
8084
9020
  filename: string;
8085
9021
  originalFilename: string;
8086
- }[] | [string, string] | undefined>;
8087
- createdAtLocation: string;
9022
+ }[] | [string, string] | null | undefined>;
9023
+ creator?: "system" | "user" | undefined;
9024
+ createdBySignature?: string | null | undefined;
9025
+ createdAtLocation?: string | null | undefined;
8088
9026
  annotation?: Record<string, string | number | boolean | {
8089
9027
  type: string;
8090
9028
  filename: string;
@@ -8100,6 +9038,10 @@ export declare const EventDocument: z.ZodObject<{
8100
9038
  residentialArea?: string | null | undefined;
8101
9039
  street?: string | null | undefined;
8102
9040
  zipCode?: string | null | undefined;
9041
+ } | {
9042
+ firstname: string;
9043
+ surname: string;
9044
+ middlename?: string | null | undefined;
8103
9045
  } | {
8104
9046
  country: string;
8105
9047
  district: string;
@@ -8122,7 +9064,7 @@ export declare const EventDocument: z.ZodObject<{
8122
9064
  option: string;
8123
9065
  filename: string;
8124
9066
  originalFilename: string;
8125
- }[] | [string, string] | undefined> | undefined;
9067
+ }[] | [string, string] | null | undefined> | undefined;
8126
9068
  originalActionId?: string | undefined;
8127
9069
  } | {
8128
9070
  type: "VALIDATE";
@@ -8147,6 +9089,10 @@ export declare const EventDocument: z.ZodObject<{
8147
9089
  residentialArea?: string | null | undefined;
8148
9090
  street?: string | null | undefined;
8149
9091
  zipCode?: string | null | undefined;
9092
+ } | {
9093
+ firstname: string;
9094
+ surname: string;
9095
+ middlename?: string | null | undefined;
8150
9096
  } | {
8151
9097
  country: string;
8152
9098
  district: string;
@@ -8169,8 +9115,10 @@ export declare const EventDocument: z.ZodObject<{
8169
9115
  option: string;
8170
9116
  filename: string;
8171
9117
  originalFilename: string;
8172
- }[] | [string, string] | undefined>;
8173
- createdAtLocation: string;
9118
+ }[] | [string, string] | null | undefined>;
9119
+ creator?: "system" | "user" | undefined;
9120
+ createdBySignature?: string | null | undefined;
9121
+ createdAtLocation?: string | null | undefined;
8174
9122
  annotation?: Record<string, string | number | boolean | {
8175
9123
  type: string;
8176
9124
  filename: string;
@@ -8186,6 +9134,10 @@ export declare const EventDocument: z.ZodObject<{
8186
9134
  residentialArea?: string | null | undefined;
8187
9135
  street?: string | null | undefined;
8188
9136
  zipCode?: string | null | undefined;
9137
+ } | {
9138
+ firstname: string;
9139
+ surname: string;
9140
+ middlename?: string | null | undefined;
8189
9141
  } | {
8190
9142
  country: string;
8191
9143
  district: string;
@@ -8208,12 +9160,16 @@ export declare const EventDocument: z.ZodObject<{
8208
9160
  option: string;
8209
9161
  filename: string;
8210
9162
  originalFilename: string;
8211
- }[] | [string, string] | undefined> | undefined;
9163
+ }[] | [string, string] | null | undefined> | undefined;
8212
9164
  originalActionId?: string | undefined;
8213
9165
  } | {
8214
9166
  type: "REJECT";
8215
9167
  id: string;
8216
9168
  status: "Rejected" | "Requested" | "Accepted";
9169
+ reason: {
9170
+ message: string;
9171
+ isDuplicate?: boolean | undefined;
9172
+ };
8217
9173
  transactionId: string;
8218
9174
  createdAt: string;
8219
9175
  createdBy: string;
@@ -8233,6 +9189,10 @@ export declare const EventDocument: z.ZodObject<{
8233
9189
  residentialArea?: string | null | undefined;
8234
9190
  street?: string | null | undefined;
8235
9191
  zipCode?: string | null | undefined;
9192
+ } | {
9193
+ firstname: string;
9194
+ surname: string;
9195
+ middlename?: string | null | undefined;
8236
9196
  } | {
8237
9197
  country: string;
8238
9198
  district: string;
@@ -8255,8 +9215,10 @@ export declare const EventDocument: z.ZodObject<{
8255
9215
  option: string;
8256
9216
  filename: string;
8257
9217
  originalFilename: string;
8258
- }[] | [string, string] | undefined>;
8259
- createdAtLocation: string;
9218
+ }[] | [string, string] | null | undefined>;
9219
+ creator?: "system" | "user" | undefined;
9220
+ createdBySignature?: string | null | undefined;
9221
+ createdAtLocation?: string | null | undefined;
8260
9222
  annotation?: Record<string, string | number | boolean | {
8261
9223
  type: string;
8262
9224
  filename: string;
@@ -8272,6 +9234,10 @@ export declare const EventDocument: z.ZodObject<{
8272
9234
  residentialArea?: string | null | undefined;
8273
9235
  street?: string | null | undefined;
8274
9236
  zipCode?: string | null | undefined;
9237
+ } | {
9238
+ firstname: string;
9239
+ surname: string;
9240
+ middlename?: string | null | undefined;
8275
9241
  } | {
8276
9242
  country: string;
8277
9243
  district: string;
@@ -8294,7 +9260,7 @@ export declare const EventDocument: z.ZodObject<{
8294
9260
  option: string;
8295
9261
  filename: string;
8296
9262
  originalFilename: string;
8297
- }[] | [string, string] | undefined> | undefined;
9263
+ }[] | [string, string] | null | undefined> | undefined;
8298
9264
  originalActionId?: string | undefined;
8299
9265
  } | {
8300
9266
  type: "MARKED_AS_DUPLICATE";
@@ -8319,6 +9285,10 @@ export declare const EventDocument: z.ZodObject<{
8319
9285
  residentialArea?: string | null | undefined;
8320
9286
  street?: string | null | undefined;
8321
9287
  zipCode?: string | null | undefined;
9288
+ } | {
9289
+ firstname: string;
9290
+ surname: string;
9291
+ middlename?: string | null | undefined;
8322
9292
  } | {
8323
9293
  country: string;
8324
9294
  district: string;
@@ -8341,8 +9311,10 @@ export declare const EventDocument: z.ZodObject<{
8341
9311
  option: string;
8342
9312
  filename: string;
8343
9313
  originalFilename: string;
8344
- }[] | [string, string] | undefined>;
8345
- createdAtLocation: string;
9314
+ }[] | [string, string] | null | undefined>;
9315
+ creator?: "system" | "user" | undefined;
9316
+ createdBySignature?: string | null | undefined;
9317
+ createdAtLocation?: string | null | undefined;
8346
9318
  annotation?: Record<string, string | number | boolean | {
8347
9319
  type: string;
8348
9320
  filename: string;
@@ -8358,6 +9330,10 @@ export declare const EventDocument: z.ZodObject<{
8358
9330
  residentialArea?: string | null | undefined;
8359
9331
  street?: string | null | undefined;
8360
9332
  zipCode?: string | null | undefined;
9333
+ } | {
9334
+ firstname: string;
9335
+ surname: string;
9336
+ middlename?: string | null | undefined;
8361
9337
  } | {
8362
9338
  country: string;
8363
9339
  district: string;
@@ -8380,12 +9356,16 @@ export declare const EventDocument: z.ZodObject<{
8380
9356
  option: string;
8381
9357
  filename: string;
8382
9358
  originalFilename: string;
8383
- }[] | [string, string] | undefined> | undefined;
9359
+ }[] | [string, string] | null | undefined> | undefined;
8384
9360
  originalActionId?: string | undefined;
8385
9361
  } | {
8386
9362
  type: "ARCHIVE";
8387
9363
  id: string;
8388
9364
  status: "Rejected" | "Requested" | "Accepted";
9365
+ reason: {
9366
+ message: string;
9367
+ isDuplicate?: boolean | undefined;
9368
+ };
8389
9369
  transactionId: string;
8390
9370
  createdAt: string;
8391
9371
  createdBy: string;
@@ -8405,6 +9385,10 @@ export declare const EventDocument: z.ZodObject<{
8405
9385
  residentialArea?: string | null | undefined;
8406
9386
  street?: string | null | undefined;
8407
9387
  zipCode?: string | null | undefined;
9388
+ } | {
9389
+ firstname: string;
9390
+ surname: string;
9391
+ middlename?: string | null | undefined;
8408
9392
  } | {
8409
9393
  country: string;
8410
9394
  district: string;
@@ -8427,8 +9411,10 @@ export declare const EventDocument: z.ZodObject<{
8427
9411
  option: string;
8428
9412
  filename: string;
8429
9413
  originalFilename: string;
8430
- }[] | [string, string] | undefined>;
8431
- createdAtLocation: string;
9414
+ }[] | [string, string] | null | undefined>;
9415
+ creator?: "system" | "user" | undefined;
9416
+ createdBySignature?: string | null | undefined;
9417
+ createdAtLocation?: string | null | undefined;
8432
9418
  annotation?: Record<string, string | number | boolean | {
8433
9419
  type: string;
8434
9420
  filename: string;
@@ -8444,6 +9430,10 @@ export declare const EventDocument: z.ZodObject<{
8444
9430
  residentialArea?: string | null | undefined;
8445
9431
  street?: string | null | undefined;
8446
9432
  zipCode?: string | null | undefined;
9433
+ } | {
9434
+ firstname: string;
9435
+ surname: string;
9436
+ middlename?: string | null | undefined;
8447
9437
  } | {
8448
9438
  country: string;
8449
9439
  district: string;
@@ -8466,7 +9456,7 @@ export declare const EventDocument: z.ZodObject<{
8466
9456
  option: string;
8467
9457
  filename: string;
8468
9458
  originalFilename: string;
8469
- }[] | [string, string] | undefined> | undefined;
9459
+ }[] | [string, string] | null | undefined> | undefined;
8470
9460
  originalActionId?: string | undefined;
8471
9461
  } | {
8472
9462
  type: "CREATE";
@@ -8491,6 +9481,10 @@ export declare const EventDocument: z.ZodObject<{
8491
9481
  residentialArea?: string | null | undefined;
8492
9482
  street?: string | null | undefined;
8493
9483
  zipCode?: string | null | undefined;
9484
+ } | {
9485
+ firstname: string;
9486
+ surname: string;
9487
+ middlename?: string | null | undefined;
8494
9488
  } | {
8495
9489
  country: string;
8496
9490
  district: string;
@@ -8513,8 +9507,10 @@ export declare const EventDocument: z.ZodObject<{
8513
9507
  option: string;
8514
9508
  filename: string;
8515
9509
  originalFilename: string;
8516
- }[] | [string, string] | undefined>;
8517
- createdAtLocation: string;
9510
+ }[] | [string, string] | null | undefined>;
9511
+ creator?: "system" | "user" | undefined;
9512
+ createdBySignature?: string | null | undefined;
9513
+ createdAtLocation?: string | null | undefined;
8518
9514
  annotation?: Record<string, string | number | boolean | {
8519
9515
  type: string;
8520
9516
  filename: string;
@@ -8530,6 +9526,10 @@ export declare const EventDocument: z.ZodObject<{
8530
9526
  residentialArea?: string | null | undefined;
8531
9527
  street?: string | null | undefined;
8532
9528
  zipCode?: string | null | undefined;
9529
+ } | {
9530
+ firstname: string;
9531
+ surname: string;
9532
+ middlename?: string | null | undefined;
8533
9533
  } | {
8534
9534
  country: string;
8535
9535
  district: string;
@@ -8552,7 +9552,7 @@ export declare const EventDocument: z.ZodObject<{
8552
9552
  option: string;
8553
9553
  filename: string;
8554
9554
  originalFilename: string;
8555
- }[] | [string, string] | undefined> | undefined;
9555
+ }[] | [string, string] | null | undefined> | undefined;
8556
9556
  originalActionId?: string | undefined;
8557
9557
  } | {
8558
9558
  type: "NOTIFY";
@@ -8577,6 +9577,10 @@ export declare const EventDocument: z.ZodObject<{
8577
9577
  residentialArea?: string | null | undefined;
8578
9578
  street?: string | null | undefined;
8579
9579
  zipCode?: string | null | undefined;
9580
+ } | {
9581
+ firstname: string;
9582
+ surname: string;
9583
+ middlename?: string | null | undefined;
8580
9584
  } | {
8581
9585
  country: string;
8582
9586
  district: string;
@@ -8599,8 +9603,10 @@ export declare const EventDocument: z.ZodObject<{
8599
9603
  option: string;
8600
9604
  filename: string;
8601
9605
  originalFilename: string;
8602
- }[] | [string, string] | undefined>;
8603
- createdAtLocation: string;
9606
+ }[] | [string, string] | null | undefined>;
9607
+ creator?: "system" | "user" | undefined;
9608
+ createdBySignature?: string | null | undefined;
9609
+ createdAtLocation?: string | null | undefined;
8604
9610
  annotation?: Record<string, string | number | boolean | {
8605
9611
  type: string;
8606
9612
  filename: string;
@@ -8616,6 +9622,10 @@ export declare const EventDocument: z.ZodObject<{
8616
9622
  residentialArea?: string | null | undefined;
8617
9623
  street?: string | null | undefined;
8618
9624
  zipCode?: string | null | undefined;
9625
+ } | {
9626
+ firstname: string;
9627
+ surname: string;
9628
+ middlename?: string | null | undefined;
8619
9629
  } | {
8620
9630
  country: string;
8621
9631
  district: string;
@@ -8638,7 +9648,7 @@ export declare const EventDocument: z.ZodObject<{
8638
9648
  option: string;
8639
9649
  filename: string;
8640
9650
  originalFilename: string;
8641
- }[] | [string, string] | undefined> | undefined;
9651
+ }[] | [string, string] | null | undefined> | undefined;
8642
9652
  originalActionId?: string | undefined;
8643
9653
  } | {
8644
9654
  type: "PRINT_CERTIFICATE";
@@ -8663,6 +9673,10 @@ export declare const EventDocument: z.ZodObject<{
8663
9673
  residentialArea?: string | null | undefined;
8664
9674
  street?: string | null | undefined;
8665
9675
  zipCode?: string | null | undefined;
9676
+ } | {
9677
+ firstname: string;
9678
+ surname: string;
9679
+ middlename?: string | null | undefined;
8666
9680
  } | {
8667
9681
  country: string;
8668
9682
  district: string;
@@ -8685,8 +9699,10 @@ export declare const EventDocument: z.ZodObject<{
8685
9699
  option: string;
8686
9700
  filename: string;
8687
9701
  originalFilename: string;
8688
- }[] | [string, string] | undefined>;
8689
- createdAtLocation: string;
9702
+ }[] | [string, string] | null | undefined>;
9703
+ creator?: "system" | "user" | undefined;
9704
+ createdBySignature?: string | null | undefined;
9705
+ createdAtLocation?: string | null | undefined;
8690
9706
  annotation?: Record<string, string | number | boolean | {
8691
9707
  type: string;
8692
9708
  filename: string;
@@ -8702,6 +9718,10 @@ export declare const EventDocument: z.ZodObject<{
8702
9718
  residentialArea?: string | null | undefined;
8703
9719
  street?: string | null | undefined;
8704
9720
  zipCode?: string | null | undefined;
9721
+ } | {
9722
+ firstname: string;
9723
+ surname: string;
9724
+ middlename?: string | null | undefined;
8705
9725
  } | {
8706
9726
  country: string;
8707
9727
  district: string;
@@ -8724,7 +9744,7 @@ export declare const EventDocument: z.ZodObject<{
8724
9744
  option: string;
8725
9745
  filename: string;
8726
9746
  originalFilename: string;
8727
- }[] | [string, string] | undefined> | undefined;
9747
+ }[] | [string, string] | null | undefined> | undefined;
8728
9748
  originalActionId?: string | undefined;
8729
9749
  } | {
8730
9750
  type: "REQUEST_CORRECTION";
@@ -8749,6 +9769,10 @@ export declare const EventDocument: z.ZodObject<{
8749
9769
  residentialArea?: string | null | undefined;
8750
9770
  street?: string | null | undefined;
8751
9771
  zipCode?: string | null | undefined;
9772
+ } | {
9773
+ firstname: string;
9774
+ surname: string;
9775
+ middlename?: string | null | undefined;
8752
9776
  } | {
8753
9777
  country: string;
8754
9778
  district: string;
@@ -8771,8 +9795,10 @@ export declare const EventDocument: z.ZodObject<{
8771
9795
  option: string;
8772
9796
  filename: string;
8773
9797
  originalFilename: string;
8774
- }[] | [string, string] | undefined>;
8775
- createdAtLocation: string;
9798
+ }[] | [string, string] | null | undefined>;
9799
+ creator?: "system" | "user" | undefined;
9800
+ createdBySignature?: string | null | undefined;
9801
+ createdAtLocation?: string | null | undefined;
8776
9802
  annotation?: Record<string, string | number | boolean | {
8777
9803
  type: string;
8778
9804
  filename: string;
@@ -8788,6 +9814,10 @@ export declare const EventDocument: z.ZodObject<{
8788
9814
  residentialArea?: string | null | undefined;
8789
9815
  street?: string | null | undefined;
8790
9816
  zipCode?: string | null | undefined;
9817
+ } | {
9818
+ firstname: string;
9819
+ surname: string;
9820
+ middlename?: string | null | undefined;
8791
9821
  } | {
8792
9822
  country: string;
8793
9823
  district: string;
@@ -8810,7 +9840,7 @@ export declare const EventDocument: z.ZodObject<{
8810
9840
  option: string;
8811
9841
  filename: string;
8812
9842
  originalFilename: string;
8813
- }[] | [string, string] | undefined> | undefined;
9843
+ }[] | [string, string] | null | undefined> | undefined;
8814
9844
  originalActionId?: string | undefined;
8815
9845
  } | {
8816
9846
  type: "APPROVE_CORRECTION";
@@ -8835,6 +9865,10 @@ export declare const EventDocument: z.ZodObject<{
8835
9865
  residentialArea?: string | null | undefined;
8836
9866
  street?: string | null | undefined;
8837
9867
  zipCode?: string | null | undefined;
9868
+ } | {
9869
+ firstname: string;
9870
+ surname: string;
9871
+ middlename?: string | null | undefined;
8838
9872
  } | {
8839
9873
  country: string;
8840
9874
  district: string;
@@ -8857,9 +9891,11 @@ export declare const EventDocument: z.ZodObject<{
8857
9891
  option: string;
8858
9892
  filename: string;
8859
9893
  originalFilename: string;
8860
- }[] | [string, string] | undefined>;
8861
- createdAtLocation: string;
9894
+ }[] | [string, string] | null | undefined>;
8862
9895
  requestId: string;
9896
+ creator?: "system" | "user" | undefined;
9897
+ createdBySignature?: string | null | undefined;
9898
+ createdAtLocation?: string | null | undefined;
8863
9899
  annotation?: Record<string, string | number | boolean | {
8864
9900
  type: string;
8865
9901
  filename: string;
@@ -8875,6 +9911,10 @@ export declare const EventDocument: z.ZodObject<{
8875
9911
  residentialArea?: string | null | undefined;
8876
9912
  street?: string | null | undefined;
8877
9913
  zipCode?: string | null | undefined;
9914
+ } | {
9915
+ firstname: string;
9916
+ surname: string;
9917
+ middlename?: string | null | undefined;
8878
9918
  } | {
8879
9919
  country: string;
8880
9920
  district: string;
@@ -8897,7 +9937,7 @@ export declare const EventDocument: z.ZodObject<{
8897
9937
  option: string;
8898
9938
  filename: string;
8899
9939
  originalFilename: string;
8900
- }[] | [string, string] | undefined> | undefined;
9940
+ }[] | [string, string] | null | undefined> | undefined;
8901
9941
  originalActionId?: string | undefined;
8902
9942
  } | {
8903
9943
  type: "REJECT_CORRECTION";
@@ -8922,6 +9962,10 @@ export declare const EventDocument: z.ZodObject<{
8922
9962
  residentialArea?: string | null | undefined;
8923
9963
  street?: string | null | undefined;
8924
9964
  zipCode?: string | null | undefined;
9965
+ } | {
9966
+ firstname: string;
9967
+ surname: string;
9968
+ middlename?: string | null | undefined;
8925
9969
  } | {
8926
9970
  country: string;
8927
9971
  district: string;
@@ -8944,9 +9988,11 @@ export declare const EventDocument: z.ZodObject<{
8944
9988
  option: string;
8945
9989
  filename: string;
8946
9990
  originalFilename: string;
8947
- }[] | [string, string] | undefined>;
8948
- createdAtLocation: string;
9991
+ }[] | [string, string] | null | undefined>;
8949
9992
  requestId: string;
9993
+ creator?: "system" | "user" | undefined;
9994
+ createdBySignature?: string | null | undefined;
9995
+ createdAtLocation?: string | null | undefined;
8950
9996
  annotation?: Record<string, string | number | boolean | {
8951
9997
  type: string;
8952
9998
  filename: string;
@@ -8962,6 +10008,10 @@ export declare const EventDocument: z.ZodObject<{
8962
10008
  residentialArea?: string | null | undefined;
8963
10009
  street?: string | null | undefined;
8964
10010
  zipCode?: string | null | undefined;
10011
+ } | {
10012
+ firstname: string;
10013
+ surname: string;
10014
+ middlename?: string | null | undefined;
8965
10015
  } | {
8966
10016
  country: string;
8967
10017
  district: string;
@@ -8984,7 +10034,7 @@ export declare const EventDocument: z.ZodObject<{
8984
10034
  option: string;
8985
10035
  filename: string;
8986
10036
  originalFilename: string;
8987
- }[] | [string, string] | undefined> | undefined;
10037
+ }[] | [string, string] | null | undefined> | undefined;
8988
10038
  originalActionId?: string | undefined;
8989
10039
  } | {
8990
10040
  type: "READ";
@@ -9009,6 +10059,10 @@ export declare const EventDocument: z.ZodObject<{
9009
10059
  residentialArea?: string | null | undefined;
9010
10060
  street?: string | null | undefined;
9011
10061
  zipCode?: string | null | undefined;
10062
+ } | {
10063
+ firstname: string;
10064
+ surname: string;
10065
+ middlename?: string | null | undefined;
9012
10066
  } | {
9013
10067
  country: string;
9014
10068
  district: string;
@@ -9031,8 +10085,10 @@ export declare const EventDocument: z.ZodObject<{
9031
10085
  option: string;
9032
10086
  filename: string;
9033
10087
  originalFilename: string;
9034
- }[] | [string, string] | undefined>;
9035
- createdAtLocation: string;
10088
+ }[] | [string, string] | null | undefined>;
10089
+ creator?: "system" | "user" | undefined;
10090
+ createdBySignature?: string | null | undefined;
10091
+ createdAtLocation?: string | null | undefined;
9036
10092
  annotation?: Record<string, string | number | boolean | {
9037
10093
  type: string;
9038
10094
  filename: string;
@@ -9048,6 +10104,10 @@ export declare const EventDocument: z.ZodObject<{
9048
10104
  residentialArea?: string | null | undefined;
9049
10105
  street?: string | null | undefined;
9050
10106
  zipCode?: string | null | undefined;
10107
+ } | {
10108
+ firstname: string;
10109
+ surname: string;
10110
+ middlename?: string | null | undefined;
9051
10111
  } | {
9052
10112
  country: string;
9053
10113
  district: string;
@@ -9070,7 +10130,7 @@ export declare const EventDocument: z.ZodObject<{
9070
10130
  option: string;
9071
10131
  filename: string;
9072
10132
  originalFilename: string;
9073
- }[] | [string, string] | undefined> | undefined;
10133
+ }[] | [string, string] | null | undefined> | undefined;
9074
10134
  originalActionId?: string | undefined;
9075
10135
  } | {
9076
10136
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -9080,15 +10140,12 @@ export declare const EventDocument: z.ZodObject<{
9080
10140
  createdAt: string;
9081
10141
  createdBy: string;
9082
10142
  createdByRole: string;
9083
- createdAtLocation: string;
10143
+ creator?: "system" | "user" | undefined;
10144
+ createdBySignature?: string | null | undefined;
10145
+ createdAtLocation?: string | null | undefined;
9084
10146
  originalActionId?: string | undefined;
9085
10147
  })[];
9086
10148
  trackingId: string;
9087
- dateOfEvent?: {
9088
- fieldId: string;
9089
- } | undefined;
9090
- registeredAt?: string | undefined;
9091
- registeredAtLocation?: string | undefined;
9092
10149
  }>;
9093
10150
  export type EventDocument = z.infer<typeof EventDocument>;
9094
10151
  //# sourceMappingURL=EventDocument.d.ts.map