@opencrvs/toolkit 1.8.0-rc.f7aaf07 → 1.8.0-rc.f7bcb31

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 (41) hide show
  1. package/dist/commons/api/router.d.ts +447 -14391
  2. package/dist/commons/conditionals/conditionals.d.ts +6 -14
  3. package/dist/commons/conditionals/validate.d.ts +6 -10
  4. package/dist/commons/events/ActionConfig.d.ts +1726 -117415
  5. package/dist/commons/events/ActionDocument.d.ts +383 -2410
  6. package/dist/commons/events/ActionInput.d.ts +303 -1583
  7. package/dist/commons/events/ActionType.d.ts +0 -6
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1233
  9. package/dist/commons/events/CompositeFieldValue.d.ts +0 -31
  10. package/dist/commons/events/Draft.d.ts +29 -148
  11. package/dist/commons/events/EventConfig.d.ts +1362 -56509
  12. package/dist/commons/events/EventDocument.d.ts +264 -1508
  13. package/dist/commons/events/EventIndex.d.ts +25 -2026
  14. package/dist/commons/events/EventMetadata.d.ts +43 -332
  15. package/dist/commons/events/FieldConfig.d.ts +1059 -5476
  16. package/dist/commons/events/FieldType.d.ts +3 -6
  17. package/dist/commons/events/FieldTypeMapping.d.ts +54 -103
  18. package/dist/commons/events/FieldValue.d.ts +8 -49
  19. package/dist/commons/events/FormConfig.d.ts +524 -49166
  20. package/dist/commons/events/PageConfig.d.ts +208 -12210
  21. package/dist/commons/events/SummaryConfig.d.ts +42 -93
  22. package/dist/commons/events/User.d.ts +2 -31
  23. package/dist/commons/events/WorkqueueConfig.d.ts +20 -6290
  24. package/dist/commons/events/defineConfig.d.ts +75 -9018
  25. package/dist/commons/events/index.d.ts +0 -8
  26. package/dist/commons/events/test.utils.d.ts +78 -160
  27. package/dist/commons/events/utils.d.ts +68 -13361
  28. package/dist/conditionals/index.js +36 -76
  29. package/dist/events/index.js +1500 -4070
  30. package/dist/scopes/index.d.ts +6 -97
  31. package/dist/scopes/index.js +38 -109
  32. package/package.json +2 -3
  33. package/dist/commons/events/Constants.d.ts +0 -3
  34. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -3068
  35. package/dist/commons/events/CreatedAtLocation.d.ts +0 -3
  36. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
  37. package/dist/commons/events/event.d.ts +0 -54
  38. package/dist/commons/events/field.d.ts +0 -82
  39. package/dist/commons/events/scopes.d.ts +0 -44
  40. package/dist/commons/events/serializer.d.ts +0 -2
  41. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -6,14 +6,9 @@ export declare const EventDocument: z.ZodObject<{
6
6
  updatedAt: z.ZodString;
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
8
  id: z.ZodString;
9
- transactionId: z.ZodString;
10
- createdByUserType: z.ZodEnum<["user", "system"]>;
11
9
  createdAt: z.ZodString;
12
10
  createdBy: z.ZodString;
13
- createdByRole: z.ZodString;
14
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
11
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
17
12
  filename: z.ZodString;
18
13
  originalFilename: z.ZodString;
19
14
  type: z.ZodString;
@@ -126,20 +121,8 @@ export declare const EventDocument: z.ZodObject<{
126
121
  addressLine2?: string | null | undefined;
127
122
  addressLine3?: string | null | undefined;
128
123
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
124
+ }>]>>;
125
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
143
126
  filename: z.ZodString;
144
127
  originalFilename: z.ZodString;
145
128
  type: z.ZodString;
@@ -252,19 +235,8 @@ export declare const EventDocument: z.ZodObject<{
252
235
  addressLine2?: string | null | undefined;
253
236
  addressLine3?: string | null | undefined;
254
237
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
238
+ }>]>>>;
239
+ createdAtLocation: z.ZodString;
268
240
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
269
241
  originalActionId: z.ZodOptional<z.ZodString>;
270
242
  }, {
@@ -273,11 +245,8 @@ export declare const EventDocument: z.ZodObject<{
273
245
  type: "CREATE";
274
246
  id: string;
275
247
  status: "Rejected" | "Requested" | "Accepted";
276
- transactionId: string;
277
- createdByUserType: "system" | "user";
278
248
  createdAt: string;
279
249
  createdBy: string;
280
- createdByRole: string;
281
250
  declaration: Record<string, string | number | boolean | {
282
251
  type: string;
283
252
  filename: string;
@@ -293,10 +262,6 @@ export declare const EventDocument: z.ZodObject<{
293
262
  residentialArea?: string | null | undefined;
294
263
  street?: string | null | undefined;
295
264
  zipCode?: string | null | undefined;
296
- } | {
297
- firstname: string;
298
- surname: string;
299
- middlename?: string | null | undefined;
300
265
  } | {
301
266
  country: string;
302
267
  district: string;
@@ -319,9 +284,8 @@ export declare const EventDocument: z.ZodObject<{
319
284
  option: string;
320
285
  filename: string;
321
286
  originalFilename: string;
322
- }[] | [string, string] | null | undefined>;
323
- createdBySignature?: string | null | undefined;
324
- createdAtLocation?: string | null | undefined;
287
+ }[] | undefined>;
288
+ createdAtLocation: string;
325
289
  annotation?: Record<string, string | number | boolean | {
326
290
  type: string;
327
291
  filename: string;
@@ -337,10 +301,6 @@ export declare const EventDocument: z.ZodObject<{
337
301
  residentialArea?: string | null | undefined;
338
302
  street?: string | null | undefined;
339
303
  zipCode?: string | null | undefined;
340
- } | {
341
- firstname: string;
342
- surname: string;
343
- middlename?: string | null | undefined;
344
304
  } | {
345
305
  country: string;
346
306
  district: string;
@@ -363,17 +323,14 @@ export declare const EventDocument: z.ZodObject<{
363
323
  option: string;
364
324
  filename: string;
365
325
  originalFilename: string;
366
- }[] | [string, string] | null | undefined> | undefined;
326
+ }[] | undefined> | undefined;
367
327
  originalActionId?: string | undefined;
368
328
  }, {
369
329
  type: "CREATE";
370
330
  id: string;
371
331
  status: "Rejected" | "Requested" | "Accepted";
372
- transactionId: string;
373
- createdByUserType: "system" | "user";
374
332
  createdAt: string;
375
333
  createdBy: string;
376
- createdByRole: string;
377
334
  declaration: Record<string, string | number | boolean | {
378
335
  type: string;
379
336
  filename: string;
@@ -389,10 +346,6 @@ export declare const EventDocument: z.ZodObject<{
389
346
  residentialArea?: string | null | undefined;
390
347
  street?: string | null | undefined;
391
348
  zipCode?: string | null | undefined;
392
- } | {
393
- firstname: string;
394
- surname: string;
395
- middlename?: string | null | undefined;
396
349
  } | {
397
350
  country: string;
398
351
  district: string;
@@ -415,9 +368,8 @@ export declare const EventDocument: z.ZodObject<{
415
368
  option: string;
416
369
  filename: string;
417
370
  originalFilename: string;
418
- }[] | [string, string] | null | undefined>;
419
- createdBySignature?: string | null | undefined;
420
- createdAtLocation?: string | null | undefined;
371
+ }[] | undefined>;
372
+ createdAtLocation: string;
421
373
  annotation?: Record<string, string | number | boolean | {
422
374
  type: string;
423
375
  filename: string;
@@ -433,10 +385,6 @@ export declare const EventDocument: z.ZodObject<{
433
385
  residentialArea?: string | null | undefined;
434
386
  street?: string | null | undefined;
435
387
  zipCode?: string | null | undefined;
436
- } | {
437
- firstname: string;
438
- surname: string;
439
- middlename?: string | null | undefined;
440
388
  } | {
441
389
  country: string;
442
390
  district: string;
@@ -459,18 +407,13 @@ export declare const EventDocument: z.ZodObject<{
459
407
  option: string;
460
408
  filename: string;
461
409
  originalFilename: string;
462
- }[] | [string, string] | null | undefined> | undefined;
410
+ }[] | undefined> | undefined;
463
411
  originalActionId?: string | undefined;
464
412
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
413
  id: z.ZodString;
466
- transactionId: z.ZodString;
467
- createdByUserType: z.ZodEnum<["user", "system"]>;
468
414
  createdAt: z.ZodString;
469
415
  createdBy: z.ZodString;
470
- createdByRole: z.ZodString;
471
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
416
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
474
417
  filename: z.ZodString;
475
418
  originalFilename: z.ZodString;
476
419
  type: z.ZodString;
@@ -583,20 +526,8 @@ export declare const EventDocument: z.ZodObject<{
583
526
  addressLine2?: string | null | undefined;
584
527
  addressLine3?: string | null | undefined;
585
528
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
529
+ }>]>>;
530
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
600
531
  filename: z.ZodString;
601
532
  originalFilename: z.ZodString;
602
533
  type: z.ZodString;
@@ -709,19 +640,8 @@ export declare const EventDocument: z.ZodObject<{
709
640
  addressLine2?: string | null | undefined;
710
641
  addressLine3?: string | null | undefined;
711
642
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
643
+ }>]>>>;
644
+ createdAtLocation: z.ZodString;
725
645
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
726
646
  originalActionId: z.ZodOptional<z.ZodString>;
727
647
  }, {
@@ -730,11 +650,8 @@ export declare const EventDocument: z.ZodObject<{
730
650
  type: "VALIDATE";
731
651
  id: string;
732
652
  status: "Rejected" | "Requested" | "Accepted";
733
- transactionId: string;
734
- createdByUserType: "system" | "user";
735
653
  createdAt: string;
736
654
  createdBy: string;
737
- createdByRole: string;
738
655
  declaration: Record<string, string | number | boolean | {
739
656
  type: string;
740
657
  filename: string;
@@ -750,10 +667,6 @@ export declare const EventDocument: z.ZodObject<{
750
667
  residentialArea?: string | null | undefined;
751
668
  street?: string | null | undefined;
752
669
  zipCode?: string | null | undefined;
753
- } | {
754
- firstname: string;
755
- surname: string;
756
- middlename?: string | null | undefined;
757
670
  } | {
758
671
  country: string;
759
672
  district: string;
@@ -776,9 +689,8 @@ export declare const EventDocument: z.ZodObject<{
776
689
  option: string;
777
690
  filename: string;
778
691
  originalFilename: string;
779
- }[] | [string, string] | null | undefined>;
780
- createdBySignature?: string | null | undefined;
781
- createdAtLocation?: string | null | undefined;
692
+ }[] | undefined>;
693
+ createdAtLocation: string;
782
694
  annotation?: Record<string, string | number | boolean | {
783
695
  type: string;
784
696
  filename: string;
@@ -794,10 +706,6 @@ export declare const EventDocument: z.ZodObject<{
794
706
  residentialArea?: string | null | undefined;
795
707
  street?: string | null | undefined;
796
708
  zipCode?: string | null | undefined;
797
- } | {
798
- firstname: string;
799
- surname: string;
800
- middlename?: string | null | undefined;
801
709
  } | {
802
710
  country: string;
803
711
  district: string;
@@ -820,17 +728,14 @@ export declare const EventDocument: z.ZodObject<{
820
728
  option: string;
821
729
  filename: string;
822
730
  originalFilename: string;
823
- }[] | [string, string] | null | undefined> | undefined;
731
+ }[] | undefined> | undefined;
824
732
  originalActionId?: string | undefined;
825
733
  }, {
826
734
  type: "VALIDATE";
827
735
  id: string;
828
736
  status: "Rejected" | "Requested" | "Accepted";
829
- transactionId: string;
830
- createdByUserType: "system" | "user";
831
737
  createdAt: string;
832
738
  createdBy: string;
833
- createdByRole: string;
834
739
  declaration: Record<string, string | number | boolean | {
835
740
  type: string;
836
741
  filename: string;
@@ -846,10 +751,6 @@ export declare const EventDocument: z.ZodObject<{
846
751
  residentialArea?: string | null | undefined;
847
752
  street?: string | null | undefined;
848
753
  zipCode?: string | null | undefined;
849
- } | {
850
- firstname: string;
851
- surname: string;
852
- middlename?: string | null | undefined;
853
754
  } | {
854
755
  country: string;
855
756
  district: string;
@@ -872,9 +773,8 @@ export declare const EventDocument: z.ZodObject<{
872
773
  option: string;
873
774
  filename: string;
874
775
  originalFilename: string;
875
- }[] | [string, string] | null | undefined>;
876
- createdBySignature?: string | null | undefined;
877
- createdAtLocation?: string | null | undefined;
776
+ }[] | undefined>;
777
+ createdAtLocation: string;
878
778
  annotation?: Record<string, string | number | boolean | {
879
779
  type: string;
880
780
  filename: string;
@@ -890,10 +790,6 @@ export declare const EventDocument: z.ZodObject<{
890
790
  residentialArea?: string | null | undefined;
891
791
  street?: string | null | undefined;
892
792
  zipCode?: string | null | undefined;
893
- } | {
894
- firstname: string;
895
- surname: string;
896
- middlename?: string | null | undefined;
897
793
  } | {
898
794
  country: string;
899
795
  district: string;
@@ -916,18 +812,13 @@ export declare const EventDocument: z.ZodObject<{
916
812
  option: string;
917
813
  filename: string;
918
814
  originalFilename: string;
919
- }[] | [string, string] | null | undefined> | undefined;
815
+ }[] | undefined> | undefined;
920
816
  originalActionId?: string | undefined;
921
817
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
818
  id: z.ZodString;
923
- transactionId: z.ZodString;
924
- createdByUserType: z.ZodEnum<["user", "system"]>;
925
819
  createdAt: z.ZodString;
926
820
  createdBy: z.ZodString;
927
- createdByRole: z.ZodString;
928
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
821
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
931
822
  filename: z.ZodString;
932
823
  originalFilename: z.ZodString;
933
824
  type: z.ZodString;
@@ -1040,20 +931,8 @@ export declare const EventDocument: z.ZodObject<{
1040
931
  addressLine2?: string | null | undefined;
1041
932
  addressLine3?: string | null | undefined;
1042
933
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
934
+ }>]>>;
935
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1057
936
  filename: z.ZodString;
1058
937
  originalFilename: z.ZodString;
1059
938
  type: z.ZodString;
@@ -1166,46 +1045,18 @@ export declare const EventDocument: z.ZodObject<{
1166
1045
  addressLine2?: string | null | undefined;
1167
1046
  addressLine3?: string | null | undefined;
1168
1047
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
1048
+ }>]>>>;
1049
+ createdAtLocation: z.ZodString;
1182
1050
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1183
1051
  originalActionId: z.ZodOptional<z.ZodString>;
1184
1052
  }, {
1185
1053
  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
- }>;
1196
1054
  }>, "strip", z.ZodTypeAny, {
1197
1055
  type: "REJECT";
1198
1056
  id: string;
1199
1057
  status: "Rejected" | "Requested" | "Accepted";
1200
- reason: {
1201
- message: string;
1202
- isDuplicate?: boolean | undefined;
1203
- };
1204
- transactionId: string;
1205
- createdByUserType: "system" | "user";
1206
1058
  createdAt: string;
1207
1059
  createdBy: string;
1208
- createdByRole: string;
1209
1060
  declaration: Record<string, string | number | boolean | {
1210
1061
  type: string;
1211
1062
  filename: string;
@@ -1221,10 +1072,6 @@ export declare const EventDocument: z.ZodObject<{
1221
1072
  residentialArea?: string | null | undefined;
1222
1073
  street?: string | null | undefined;
1223
1074
  zipCode?: string | null | undefined;
1224
- } | {
1225
- firstname: string;
1226
- surname: string;
1227
- middlename?: string | null | undefined;
1228
1075
  } | {
1229
1076
  country: string;
1230
1077
  district: string;
@@ -1247,9 +1094,8 @@ export declare const EventDocument: z.ZodObject<{
1247
1094
  option: string;
1248
1095
  filename: string;
1249
1096
  originalFilename: string;
1250
- }[] | [string, string] | null | undefined>;
1251
- createdBySignature?: string | null | undefined;
1252
- createdAtLocation?: string | null | undefined;
1097
+ }[] | undefined>;
1098
+ createdAtLocation: string;
1253
1099
  annotation?: Record<string, string | number | boolean | {
1254
1100
  type: string;
1255
1101
  filename: string;
@@ -1265,10 +1111,6 @@ export declare const EventDocument: z.ZodObject<{
1265
1111
  residentialArea?: string | null | undefined;
1266
1112
  street?: string | null | undefined;
1267
1113
  zipCode?: string | null | undefined;
1268
- } | {
1269
- firstname: string;
1270
- surname: string;
1271
- middlename?: string | null | undefined;
1272
1114
  } | {
1273
1115
  country: string;
1274
1116
  district: string;
@@ -1291,21 +1133,14 @@ export declare const EventDocument: z.ZodObject<{
1291
1133
  option: string;
1292
1134
  filename: string;
1293
1135
  originalFilename: string;
1294
- }[] | [string, string] | null | undefined> | undefined;
1136
+ }[] | undefined> | undefined;
1295
1137
  originalActionId?: string | undefined;
1296
1138
  }, {
1297
1139
  type: "REJECT";
1298
1140
  id: string;
1299
1141
  status: "Rejected" | "Requested" | "Accepted";
1300
- reason: {
1301
- message: string;
1302
- isDuplicate?: boolean | undefined;
1303
- };
1304
- transactionId: string;
1305
- createdByUserType: "system" | "user";
1306
1142
  createdAt: string;
1307
1143
  createdBy: string;
1308
- createdByRole: string;
1309
1144
  declaration: Record<string, string | number | boolean | {
1310
1145
  type: string;
1311
1146
  filename: string;
@@ -1321,10 +1156,6 @@ export declare const EventDocument: z.ZodObject<{
1321
1156
  residentialArea?: string | null | undefined;
1322
1157
  street?: string | null | undefined;
1323
1158
  zipCode?: string | null | undefined;
1324
- } | {
1325
- firstname: string;
1326
- surname: string;
1327
- middlename?: string | null | undefined;
1328
1159
  } | {
1329
1160
  country: string;
1330
1161
  district: string;
@@ -1347,9 +1178,8 @@ export declare const EventDocument: z.ZodObject<{
1347
1178
  option: string;
1348
1179
  filename: string;
1349
1180
  originalFilename: string;
1350
- }[] | [string, string] | null | undefined>;
1351
- createdBySignature?: string | null | undefined;
1352
- createdAtLocation?: string | null | undefined;
1181
+ }[] | undefined>;
1182
+ createdAtLocation: string;
1353
1183
  annotation?: Record<string, string | number | boolean | {
1354
1184
  type: string;
1355
1185
  filename: string;
@@ -1365,10 +1195,6 @@ export declare const EventDocument: z.ZodObject<{
1365
1195
  residentialArea?: string | null | undefined;
1366
1196
  street?: string | null | undefined;
1367
1197
  zipCode?: string | null | undefined;
1368
- } | {
1369
- firstname: string;
1370
- surname: string;
1371
- middlename?: string | null | undefined;
1372
1198
  } | {
1373
1199
  country: string;
1374
1200
  district: string;
@@ -1391,18 +1217,13 @@ export declare const EventDocument: z.ZodObject<{
1391
1217
  option: string;
1392
1218
  filename: string;
1393
1219
  originalFilename: string;
1394
- }[] | [string, string] | null | undefined> | undefined;
1220
+ }[] | undefined> | undefined;
1395
1221
  originalActionId?: string | undefined;
1396
1222
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
1223
  id: z.ZodString;
1398
- transactionId: z.ZodString;
1399
- createdByUserType: z.ZodEnum<["user", "system"]>;
1400
1224
  createdAt: z.ZodString;
1401
1225
  createdBy: z.ZodString;
1402
- createdByRole: z.ZodString;
1403
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1226
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1406
1227
  filename: z.ZodString;
1407
1228
  originalFilename: z.ZodString;
1408
1229
  type: z.ZodString;
@@ -1515,20 +1336,8 @@ export declare const EventDocument: z.ZodObject<{
1515
1336
  addressLine2?: string | null | undefined;
1516
1337
  addressLine3?: string | null | undefined;
1517
1338
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
1339
+ }>]>>;
1340
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1532
1341
  filename: z.ZodString;
1533
1342
  originalFilename: z.ZodString;
1534
1343
  type: z.ZodString;
@@ -1641,19 +1450,8 @@ export declare const EventDocument: z.ZodObject<{
1641
1450
  addressLine2?: string | null | undefined;
1642
1451
  addressLine3?: string | null | undefined;
1643
1452
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
1453
+ }>]>>>;
1454
+ createdAtLocation: z.ZodString;
1657
1455
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1658
1456
  originalActionId: z.ZodOptional<z.ZodString>;
1659
1457
  }, {
@@ -1662,11 +1460,8 @@ export declare const EventDocument: z.ZodObject<{
1662
1460
  type: "MARKED_AS_DUPLICATE";
1663
1461
  id: string;
1664
1462
  status: "Rejected" | "Requested" | "Accepted";
1665
- transactionId: string;
1666
- createdByUserType: "system" | "user";
1667
1463
  createdAt: string;
1668
1464
  createdBy: string;
1669
- createdByRole: string;
1670
1465
  declaration: Record<string, string | number | boolean | {
1671
1466
  type: string;
1672
1467
  filename: string;
@@ -1682,10 +1477,6 @@ export declare const EventDocument: z.ZodObject<{
1682
1477
  residentialArea?: string | null | undefined;
1683
1478
  street?: string | null | undefined;
1684
1479
  zipCode?: string | null | undefined;
1685
- } | {
1686
- firstname: string;
1687
- surname: string;
1688
- middlename?: string | null | undefined;
1689
1480
  } | {
1690
1481
  country: string;
1691
1482
  district: string;
@@ -1708,9 +1499,8 @@ export declare const EventDocument: z.ZodObject<{
1708
1499
  option: string;
1709
1500
  filename: string;
1710
1501
  originalFilename: string;
1711
- }[] | [string, string] | null | undefined>;
1712
- createdBySignature?: string | null | undefined;
1713
- createdAtLocation?: string | null | undefined;
1502
+ }[] | undefined>;
1503
+ createdAtLocation: string;
1714
1504
  annotation?: Record<string, string | number | boolean | {
1715
1505
  type: string;
1716
1506
  filename: string;
@@ -1726,10 +1516,6 @@ export declare const EventDocument: z.ZodObject<{
1726
1516
  residentialArea?: string | null | undefined;
1727
1517
  street?: string | null | undefined;
1728
1518
  zipCode?: string | null | undefined;
1729
- } | {
1730
- firstname: string;
1731
- surname: string;
1732
- middlename?: string | null | undefined;
1733
1519
  } | {
1734
1520
  country: string;
1735
1521
  district: string;
@@ -1752,17 +1538,14 @@ export declare const EventDocument: z.ZodObject<{
1752
1538
  option: string;
1753
1539
  filename: string;
1754
1540
  originalFilename: string;
1755
- }[] | [string, string] | null | undefined> | undefined;
1541
+ }[] | undefined> | undefined;
1756
1542
  originalActionId?: string | undefined;
1757
1543
  }, {
1758
1544
  type: "MARKED_AS_DUPLICATE";
1759
1545
  id: string;
1760
1546
  status: "Rejected" | "Requested" | "Accepted";
1761
- transactionId: string;
1762
- createdByUserType: "system" | "user";
1763
1547
  createdAt: string;
1764
1548
  createdBy: string;
1765
- createdByRole: string;
1766
1549
  declaration: Record<string, string | number | boolean | {
1767
1550
  type: string;
1768
1551
  filename: string;
@@ -1778,10 +1561,6 @@ export declare const EventDocument: z.ZodObject<{
1778
1561
  residentialArea?: string | null | undefined;
1779
1562
  street?: string | null | undefined;
1780
1563
  zipCode?: string | null | undefined;
1781
- } | {
1782
- firstname: string;
1783
- surname: string;
1784
- middlename?: string | null | undefined;
1785
1564
  } | {
1786
1565
  country: string;
1787
1566
  district: string;
@@ -1804,9 +1583,8 @@ export declare const EventDocument: z.ZodObject<{
1804
1583
  option: string;
1805
1584
  filename: string;
1806
1585
  originalFilename: string;
1807
- }[] | [string, string] | null | undefined>;
1808
- createdBySignature?: string | null | undefined;
1809
- createdAtLocation?: string | null | undefined;
1586
+ }[] | undefined>;
1587
+ createdAtLocation: string;
1810
1588
  annotation?: Record<string, string | number | boolean | {
1811
1589
  type: string;
1812
1590
  filename: string;
@@ -1822,10 +1600,6 @@ export declare const EventDocument: z.ZodObject<{
1822
1600
  residentialArea?: string | null | undefined;
1823
1601
  street?: string | null | undefined;
1824
1602
  zipCode?: string | null | undefined;
1825
- } | {
1826
- firstname: string;
1827
- surname: string;
1828
- middlename?: string | null | undefined;
1829
1603
  } | {
1830
1604
  country: string;
1831
1605
  district: string;
@@ -1848,18 +1622,13 @@ export declare const EventDocument: z.ZodObject<{
1848
1622
  option: string;
1849
1623
  filename: string;
1850
1624
  originalFilename: string;
1851
- }[] | [string, string] | null | undefined> | undefined;
1625
+ }[] | undefined> | undefined;
1852
1626
  originalActionId?: string | undefined;
1853
1627
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
1628
  id: z.ZodString;
1855
- transactionId: z.ZodString;
1856
- createdByUserType: z.ZodEnum<["user", "system"]>;
1857
1629
  createdAt: z.ZodString;
1858
1630
  createdBy: z.ZodString;
1859
- createdByRole: z.ZodString;
1860
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
1631
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1863
1632
  filename: z.ZodString;
1864
1633
  originalFilename: z.ZodString;
1865
1634
  type: z.ZodString;
@@ -1972,20 +1741,8 @@ export declare const EventDocument: z.ZodObject<{
1972
1741
  addressLine2?: string | null | undefined;
1973
1742
  addressLine3?: string | null | undefined;
1974
1743
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
1744
+ }>]>>;
1745
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1989
1746
  filename: z.ZodString;
1990
1747
  originalFilename: z.ZodString;
1991
1748
  type: z.ZodString;
@@ -2098,46 +1855,18 @@ export declare const EventDocument: z.ZodObject<{
2098
1855
  addressLine2?: string | null | undefined;
2099
1856
  addressLine3?: string | null | undefined;
2100
1857
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
1858
+ }>]>>>;
1859
+ createdAtLocation: z.ZodString;
2114
1860
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2115
1861
  originalActionId: z.ZodOptional<z.ZodString>;
2116
1862
  }, {
2117
1863
  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
- }>;
2128
1864
  }>, "strip", z.ZodTypeAny, {
2129
1865
  type: "ARCHIVE";
2130
1866
  id: string;
2131
1867
  status: "Rejected" | "Requested" | "Accepted";
2132
- reason: {
2133
- message: string;
2134
- isDuplicate?: boolean | undefined;
2135
- };
2136
- transactionId: string;
2137
- createdByUserType: "system" | "user";
2138
1868
  createdAt: string;
2139
1869
  createdBy: string;
2140
- createdByRole: string;
2141
1870
  declaration: Record<string, string | number | boolean | {
2142
1871
  type: string;
2143
1872
  filename: string;
@@ -2153,10 +1882,6 @@ export declare const EventDocument: z.ZodObject<{
2153
1882
  residentialArea?: string | null | undefined;
2154
1883
  street?: string | null | undefined;
2155
1884
  zipCode?: string | null | undefined;
2156
- } | {
2157
- firstname: string;
2158
- surname: string;
2159
- middlename?: string | null | undefined;
2160
1885
  } | {
2161
1886
  country: string;
2162
1887
  district: string;
@@ -2179,9 +1904,8 @@ export declare const EventDocument: z.ZodObject<{
2179
1904
  option: string;
2180
1905
  filename: string;
2181
1906
  originalFilename: string;
2182
- }[] | [string, string] | null | undefined>;
2183
- createdBySignature?: string | null | undefined;
2184
- createdAtLocation?: string | null | undefined;
1907
+ }[] | undefined>;
1908
+ createdAtLocation: string;
2185
1909
  annotation?: Record<string, string | number | boolean | {
2186
1910
  type: string;
2187
1911
  filename: string;
@@ -2197,10 +1921,6 @@ export declare const EventDocument: z.ZodObject<{
2197
1921
  residentialArea?: string | null | undefined;
2198
1922
  street?: string | null | undefined;
2199
1923
  zipCode?: string | null | undefined;
2200
- } | {
2201
- firstname: string;
2202
- surname: string;
2203
- middlename?: string | null | undefined;
2204
1924
  } | {
2205
1925
  country: string;
2206
1926
  district: string;
@@ -2223,21 +1943,14 @@ export declare const EventDocument: z.ZodObject<{
2223
1943
  option: string;
2224
1944
  filename: string;
2225
1945
  originalFilename: string;
2226
- }[] | [string, string] | null | undefined> | undefined;
1946
+ }[] | undefined> | undefined;
2227
1947
  originalActionId?: string | undefined;
2228
1948
  }, {
2229
1949
  type: "ARCHIVE";
2230
1950
  id: string;
2231
1951
  status: "Rejected" | "Requested" | "Accepted";
2232
- reason: {
2233
- message: string;
2234
- isDuplicate?: boolean | undefined;
2235
- };
2236
- transactionId: string;
2237
- createdByUserType: "system" | "user";
2238
1952
  createdAt: string;
2239
1953
  createdBy: string;
2240
- createdByRole: string;
2241
1954
  declaration: Record<string, string | number | boolean | {
2242
1955
  type: string;
2243
1956
  filename: string;
@@ -2253,10 +1966,6 @@ export declare const EventDocument: z.ZodObject<{
2253
1966
  residentialArea?: string | null | undefined;
2254
1967
  street?: string | null | undefined;
2255
1968
  zipCode?: string | null | undefined;
2256
- } | {
2257
- firstname: string;
2258
- surname: string;
2259
- middlename?: string | null | undefined;
2260
1969
  } | {
2261
1970
  country: string;
2262
1971
  district: string;
@@ -2279,9 +1988,8 @@ export declare const EventDocument: z.ZodObject<{
2279
1988
  option: string;
2280
1989
  filename: string;
2281
1990
  originalFilename: string;
2282
- }[] | [string, string] | null | undefined>;
2283
- createdBySignature?: string | null | undefined;
2284
- createdAtLocation?: string | null | undefined;
1991
+ }[] | undefined>;
1992
+ createdAtLocation: string;
2285
1993
  annotation?: Record<string, string | number | boolean | {
2286
1994
  type: string;
2287
1995
  filename: string;
@@ -2297,10 +2005,6 @@ export declare const EventDocument: z.ZodObject<{
2297
2005
  residentialArea?: string | null | undefined;
2298
2006
  street?: string | null | undefined;
2299
2007
  zipCode?: string | null | undefined;
2300
- } | {
2301
- firstname: string;
2302
- surname: string;
2303
- middlename?: string | null | undefined;
2304
2008
  } | {
2305
2009
  country: string;
2306
2010
  district: string;
@@ -2323,18 +2027,13 @@ export declare const EventDocument: z.ZodObject<{
2323
2027
  option: string;
2324
2028
  filename: string;
2325
2029
  originalFilename: string;
2326
- }[] | [string, string] | null | undefined> | undefined;
2030
+ }[] | undefined> | undefined;
2327
2031
  originalActionId?: string | undefined;
2328
2032
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
2033
  id: z.ZodString;
2330
- transactionId: z.ZodString;
2331
- createdByUserType: z.ZodEnum<["user", "system"]>;
2332
2034
  createdAt: z.ZodString;
2333
2035
  createdBy: z.ZodString;
2334
- createdByRole: z.ZodString;
2335
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2036
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2338
2037
  filename: z.ZodString;
2339
2038
  originalFilename: z.ZodString;
2340
2039
  type: z.ZodString;
@@ -2447,20 +2146,8 @@ export declare const EventDocument: z.ZodObject<{
2447
2146
  addressLine2?: string | null | undefined;
2448
2147
  addressLine3?: string | null | undefined;
2449
2148
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
2149
+ }>]>>;
2150
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2464
2151
  filename: z.ZodString;
2465
2152
  originalFilename: z.ZodString;
2466
2153
  type: z.ZodString;
@@ -2573,19 +2260,8 @@ export declare const EventDocument: z.ZodObject<{
2573
2260
  addressLine2?: string | null | undefined;
2574
2261
  addressLine3?: string | null | undefined;
2575
2262
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
2263
+ }>]>>>;
2264
+ createdAtLocation: z.ZodString;
2589
2265
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2590
2266
  originalActionId: z.ZodOptional<z.ZodString>;
2591
2267
  }, {
@@ -2594,11 +2270,8 @@ export declare const EventDocument: z.ZodObject<{
2594
2270
  type: "NOTIFY";
2595
2271
  id: string;
2596
2272
  status: "Rejected" | "Requested" | "Accepted";
2597
- transactionId: string;
2598
- createdByUserType: "system" | "user";
2599
2273
  createdAt: string;
2600
2274
  createdBy: string;
2601
- createdByRole: string;
2602
2275
  declaration: Record<string, string | number | boolean | {
2603
2276
  type: string;
2604
2277
  filename: string;
@@ -2614,10 +2287,6 @@ export declare const EventDocument: z.ZodObject<{
2614
2287
  residentialArea?: string | null | undefined;
2615
2288
  street?: string | null | undefined;
2616
2289
  zipCode?: string | null | undefined;
2617
- } | {
2618
- firstname: string;
2619
- surname: string;
2620
- middlename?: string | null | undefined;
2621
2290
  } | {
2622
2291
  country: string;
2623
2292
  district: string;
@@ -2640,9 +2309,8 @@ export declare const EventDocument: z.ZodObject<{
2640
2309
  option: string;
2641
2310
  filename: string;
2642
2311
  originalFilename: string;
2643
- }[] | [string, string] | null | undefined>;
2644
- createdBySignature?: string | null | undefined;
2645
- createdAtLocation?: string | null | undefined;
2312
+ }[] | undefined>;
2313
+ createdAtLocation: string;
2646
2314
  annotation?: Record<string, string | number | boolean | {
2647
2315
  type: string;
2648
2316
  filename: string;
@@ -2658,10 +2326,6 @@ export declare const EventDocument: z.ZodObject<{
2658
2326
  residentialArea?: string | null | undefined;
2659
2327
  street?: string | null | undefined;
2660
2328
  zipCode?: string | null | undefined;
2661
- } | {
2662
- firstname: string;
2663
- surname: string;
2664
- middlename?: string | null | undefined;
2665
2329
  } | {
2666
2330
  country: string;
2667
2331
  district: string;
@@ -2684,17 +2348,14 @@ export declare const EventDocument: z.ZodObject<{
2684
2348
  option: string;
2685
2349
  filename: string;
2686
2350
  originalFilename: string;
2687
- }[] | [string, string] | null | undefined> | undefined;
2351
+ }[] | undefined> | undefined;
2688
2352
  originalActionId?: string | undefined;
2689
2353
  }, {
2690
2354
  type: "NOTIFY";
2691
2355
  id: string;
2692
2356
  status: "Rejected" | "Requested" | "Accepted";
2693
- transactionId: string;
2694
- createdByUserType: "system" | "user";
2695
2357
  createdAt: string;
2696
2358
  createdBy: string;
2697
- createdByRole: string;
2698
2359
  declaration: Record<string, string | number | boolean | {
2699
2360
  type: string;
2700
2361
  filename: string;
@@ -2710,10 +2371,6 @@ export declare const EventDocument: z.ZodObject<{
2710
2371
  residentialArea?: string | null | undefined;
2711
2372
  street?: string | null | undefined;
2712
2373
  zipCode?: string | null | undefined;
2713
- } | {
2714
- firstname: string;
2715
- surname: string;
2716
- middlename?: string | null | undefined;
2717
2374
  } | {
2718
2375
  country: string;
2719
2376
  district: string;
@@ -2736,9 +2393,8 @@ export declare const EventDocument: z.ZodObject<{
2736
2393
  option: string;
2737
2394
  filename: string;
2738
2395
  originalFilename: string;
2739
- }[] | [string, string] | null | undefined>;
2740
- createdBySignature?: string | null | undefined;
2741
- createdAtLocation?: string | null | undefined;
2396
+ }[] | undefined>;
2397
+ createdAtLocation: string;
2742
2398
  annotation?: Record<string, string | number | boolean | {
2743
2399
  type: string;
2744
2400
  filename: string;
@@ -2754,10 +2410,6 @@ export declare const EventDocument: z.ZodObject<{
2754
2410
  residentialArea?: string | null | undefined;
2755
2411
  street?: string | null | undefined;
2756
2412
  zipCode?: string | null | undefined;
2757
- } | {
2758
- firstname: string;
2759
- surname: string;
2760
- middlename?: string | null | undefined;
2761
2413
  } | {
2762
2414
  country: string;
2763
2415
  district: string;
@@ -2780,18 +2432,13 @@ export declare const EventDocument: z.ZodObject<{
2780
2432
  option: string;
2781
2433
  filename: string;
2782
2434
  originalFilename: string;
2783
- }[] | [string, string] | null | undefined> | undefined;
2435
+ }[] | undefined> | undefined;
2784
2436
  originalActionId?: string | undefined;
2785
2437
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
2438
  id: z.ZodString;
2787
- transactionId: z.ZodString;
2788
- createdByUserType: z.ZodEnum<["user", "system"]>;
2789
2439
  createdAt: z.ZodString;
2790
2440
  createdBy: z.ZodString;
2791
- createdByRole: z.ZodString;
2792
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2441
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2795
2442
  filename: z.ZodString;
2796
2443
  originalFilename: z.ZodString;
2797
2444
  type: z.ZodString;
@@ -2904,20 +2551,8 @@ export declare const EventDocument: z.ZodObject<{
2904
2551
  addressLine2?: string | null | undefined;
2905
2552
  addressLine3?: string | null | undefined;
2906
2553
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
2554
+ }>]>>;
2555
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2921
2556
  filename: z.ZodString;
2922
2557
  originalFilename: z.ZodString;
2923
2558
  type: z.ZodString;
@@ -3030,19 +2665,8 @@ export declare const EventDocument: z.ZodObject<{
3030
2665
  addressLine2?: string | null | undefined;
3031
2666
  addressLine3?: string | null | undefined;
3032
2667
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
2668
+ }>]>>>;
2669
+ createdAtLocation: z.ZodString;
3046
2670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3047
2671
  originalActionId: z.ZodOptional<z.ZodString>;
3048
2672
  }, {
@@ -3052,11 +2676,8 @@ export declare const EventDocument: z.ZodObject<{
3052
2676
  type: "REGISTER";
3053
2677
  id: string;
3054
2678
  status: "Rejected" | "Requested" | "Accepted";
3055
- transactionId: string;
3056
- createdByUserType: "system" | "user";
3057
2679
  createdAt: string;
3058
2680
  createdBy: string;
3059
- createdByRole: string;
3060
2681
  declaration: Record<string, string | number | boolean | {
3061
2682
  type: string;
3062
2683
  filename: string;
@@ -3072,10 +2693,6 @@ export declare const EventDocument: z.ZodObject<{
3072
2693
  residentialArea?: string | null | undefined;
3073
2694
  street?: string | null | undefined;
3074
2695
  zipCode?: string | null | undefined;
3075
- } | {
3076
- firstname: string;
3077
- surname: string;
3078
- middlename?: string | null | undefined;
3079
2696
  } | {
3080
2697
  country: string;
3081
2698
  district: string;
@@ -3098,9 +2715,8 @@ export declare const EventDocument: z.ZodObject<{
3098
2715
  option: string;
3099
2716
  filename: string;
3100
2717
  originalFilename: string;
3101
- }[] | [string, string] | null | undefined>;
3102
- createdBySignature?: string | null | undefined;
3103
- createdAtLocation?: string | null | undefined;
2718
+ }[] | undefined>;
2719
+ createdAtLocation: string;
3104
2720
  annotation?: Record<string, string | number | boolean | {
3105
2721
  type: string;
3106
2722
  filename: string;
@@ -3116,10 +2732,6 @@ export declare const EventDocument: z.ZodObject<{
3116
2732
  residentialArea?: string | null | undefined;
3117
2733
  street?: string | null | undefined;
3118
2734
  zipCode?: string | null | undefined;
3119
- } | {
3120
- firstname: string;
3121
- surname: string;
3122
- middlename?: string | null | undefined;
3123
2735
  } | {
3124
2736
  country: string;
3125
2737
  district: string;
@@ -3142,18 +2754,15 @@ export declare const EventDocument: z.ZodObject<{
3142
2754
  option: string;
3143
2755
  filename: string;
3144
2756
  originalFilename: string;
3145
- }[] | [string, string] | null | undefined> | undefined;
2757
+ }[] | undefined> | undefined;
3146
2758
  originalActionId?: string | undefined;
3147
2759
  registrationNumber?: string | undefined;
3148
2760
  }, {
3149
2761
  type: "REGISTER";
3150
2762
  id: string;
3151
2763
  status: "Rejected" | "Requested" | "Accepted";
3152
- transactionId: string;
3153
- createdByUserType: "system" | "user";
3154
2764
  createdAt: string;
3155
2765
  createdBy: string;
3156
- createdByRole: string;
3157
2766
  declaration: Record<string, string | number | boolean | {
3158
2767
  type: string;
3159
2768
  filename: string;
@@ -3169,10 +2778,6 @@ export declare const EventDocument: z.ZodObject<{
3169
2778
  residentialArea?: string | null | undefined;
3170
2779
  street?: string | null | undefined;
3171
2780
  zipCode?: string | null | undefined;
3172
- } | {
3173
- firstname: string;
3174
- surname: string;
3175
- middlename?: string | null | undefined;
3176
2781
  } | {
3177
2782
  country: string;
3178
2783
  district: string;
@@ -3195,9 +2800,8 @@ export declare const EventDocument: z.ZodObject<{
3195
2800
  option: string;
3196
2801
  filename: string;
3197
2802
  originalFilename: string;
3198
- }[] | [string, string] | null | undefined>;
3199
- createdBySignature?: string | null | undefined;
3200
- createdAtLocation?: string | null | undefined;
2803
+ }[] | undefined>;
2804
+ createdAtLocation: string;
3201
2805
  annotation?: Record<string, string | number | boolean | {
3202
2806
  type: string;
3203
2807
  filename: string;
@@ -3213,10 +2817,6 @@ export declare const EventDocument: z.ZodObject<{
3213
2817
  residentialArea?: string | null | undefined;
3214
2818
  street?: string | null | undefined;
3215
2819
  zipCode?: string | null | undefined;
3216
- } | {
3217
- firstname: string;
3218
- surname: string;
3219
- middlename?: string | null | undefined;
3220
2820
  } | {
3221
2821
  country: string;
3222
2822
  district: string;
@@ -3239,19 +2839,14 @@ export declare const EventDocument: z.ZodObject<{
3239
2839
  option: string;
3240
2840
  filename: string;
3241
2841
  originalFilename: string;
3242
- }[] | [string, string] | null | undefined> | undefined;
2842
+ }[] | undefined> | undefined;
3243
2843
  originalActionId?: string | undefined;
3244
2844
  registrationNumber?: string | undefined;
3245
2845
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
2846
  id: z.ZodString;
3247
- transactionId: z.ZodString;
3248
- createdByUserType: z.ZodEnum<["user", "system"]>;
3249
2847
  createdAt: z.ZodString;
3250
2848
  createdBy: z.ZodString;
3251
- createdByRole: z.ZodString;
3252
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
2849
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3255
2850
  filename: z.ZodString;
3256
2851
  originalFilename: z.ZodString;
3257
2852
  type: z.ZodString;
@@ -3364,20 +2959,8 @@ export declare const EventDocument: z.ZodObject<{
3364
2959
  addressLine2?: string | null | undefined;
3365
2960
  addressLine3?: string | null | undefined;
3366
2961
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
2962
+ }>]>>;
2963
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3381
2964
  filename: z.ZodString;
3382
2965
  originalFilename: z.ZodString;
3383
2966
  type: z.ZodString;
@@ -3490,19 +3073,8 @@ export declare const EventDocument: z.ZodObject<{
3490
3073
  addressLine2?: string | null | undefined;
3491
3074
  addressLine3?: string | null | undefined;
3492
3075
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
3076
+ }>]>>>;
3077
+ createdAtLocation: z.ZodString;
3506
3078
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3507
3079
  originalActionId: z.ZodOptional<z.ZodString>;
3508
3080
  }, {
@@ -3511,11 +3083,8 @@ export declare const EventDocument: z.ZodObject<{
3511
3083
  type: "DECLARE";
3512
3084
  id: string;
3513
3085
  status: "Rejected" | "Requested" | "Accepted";
3514
- transactionId: string;
3515
- createdByUserType: "system" | "user";
3516
3086
  createdAt: string;
3517
3087
  createdBy: string;
3518
- createdByRole: string;
3519
3088
  declaration: Record<string, string | number | boolean | {
3520
3089
  type: string;
3521
3090
  filename: string;
@@ -3531,10 +3100,6 @@ export declare const EventDocument: z.ZodObject<{
3531
3100
  residentialArea?: string | null | undefined;
3532
3101
  street?: string | null | undefined;
3533
3102
  zipCode?: string | null | undefined;
3534
- } | {
3535
- firstname: string;
3536
- surname: string;
3537
- middlename?: string | null | undefined;
3538
3103
  } | {
3539
3104
  country: string;
3540
3105
  district: string;
@@ -3557,9 +3122,8 @@ export declare const EventDocument: z.ZodObject<{
3557
3122
  option: string;
3558
3123
  filename: string;
3559
3124
  originalFilename: string;
3560
- }[] | [string, string] | null | undefined>;
3561
- createdBySignature?: string | null | undefined;
3562
- createdAtLocation?: string | null | undefined;
3125
+ }[] | undefined>;
3126
+ createdAtLocation: string;
3563
3127
  annotation?: Record<string, string | number | boolean | {
3564
3128
  type: string;
3565
3129
  filename: string;
@@ -3575,10 +3139,6 @@ export declare const EventDocument: z.ZodObject<{
3575
3139
  residentialArea?: string | null | undefined;
3576
3140
  street?: string | null | undefined;
3577
3141
  zipCode?: string | null | undefined;
3578
- } | {
3579
- firstname: string;
3580
- surname: string;
3581
- middlename?: string | null | undefined;
3582
3142
  } | {
3583
3143
  country: string;
3584
3144
  district: string;
@@ -3601,17 +3161,14 @@ export declare const EventDocument: z.ZodObject<{
3601
3161
  option: string;
3602
3162
  filename: string;
3603
3163
  originalFilename: string;
3604
- }[] | [string, string] | null | undefined> | undefined;
3164
+ }[] | undefined> | undefined;
3605
3165
  originalActionId?: string | undefined;
3606
3166
  }, {
3607
3167
  type: "DECLARE";
3608
3168
  id: string;
3609
3169
  status: "Rejected" | "Requested" | "Accepted";
3610
- transactionId: string;
3611
- createdByUserType: "system" | "user";
3612
3170
  createdAt: string;
3613
3171
  createdBy: string;
3614
- createdByRole: string;
3615
3172
  declaration: Record<string, string | number | boolean | {
3616
3173
  type: string;
3617
3174
  filename: string;
@@ -3627,10 +3184,6 @@ export declare const EventDocument: z.ZodObject<{
3627
3184
  residentialArea?: string | null | undefined;
3628
3185
  street?: string | null | undefined;
3629
3186
  zipCode?: string | null | undefined;
3630
- } | {
3631
- firstname: string;
3632
- surname: string;
3633
- middlename?: string | null | undefined;
3634
3187
  } | {
3635
3188
  country: string;
3636
3189
  district: string;
@@ -3653,9 +3206,8 @@ export declare const EventDocument: z.ZodObject<{
3653
3206
  option: string;
3654
3207
  filename: string;
3655
3208
  originalFilename: string;
3656
- }[] | [string, string] | null | undefined>;
3657
- createdBySignature?: string | null | undefined;
3658
- createdAtLocation?: string | null | undefined;
3209
+ }[] | undefined>;
3210
+ createdAtLocation: string;
3659
3211
  annotation?: Record<string, string | number | boolean | {
3660
3212
  type: string;
3661
3213
  filename: string;
@@ -3671,10 +3223,6 @@ export declare const EventDocument: z.ZodObject<{
3671
3223
  residentialArea?: string | null | undefined;
3672
3224
  street?: string | null | undefined;
3673
3225
  zipCode?: string | null | undefined;
3674
- } | {
3675
- firstname: string;
3676
- surname: string;
3677
- middlename?: string | null | undefined;
3678
3226
  } | {
3679
3227
  country: string;
3680
3228
  district: string;
@@ -3697,18 +3245,13 @@ export declare const EventDocument: z.ZodObject<{
3697
3245
  option: string;
3698
3246
  filename: string;
3699
3247
  originalFilename: string;
3700
- }[] | [string, string] | null | undefined> | undefined;
3248
+ }[] | undefined> | undefined;
3701
3249
  originalActionId?: string | undefined;
3702
3250
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
3251
  id: z.ZodString;
3704
- transactionId: z.ZodString;
3705
- createdByUserType: z.ZodEnum<["user", "system"]>;
3706
3252
  createdAt: z.ZodString;
3707
3253
  createdBy: z.ZodString;
3708
- createdByRole: z.ZodString;
3709
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3254
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3712
3255
  filename: z.ZodString;
3713
3256
  originalFilename: z.ZodString;
3714
3257
  type: z.ZodString;
@@ -3821,20 +3364,8 @@ export declare const EventDocument: z.ZodObject<{
3821
3364
  addressLine2?: string | null | undefined;
3822
3365
  addressLine3?: string | null | undefined;
3823
3366
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
3367
+ }>]>>;
3368
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3838
3369
  filename: z.ZodString;
3839
3370
  originalFilename: z.ZodString;
3840
3371
  type: z.ZodString;
@@ -3947,19 +3478,8 @@ export declare const EventDocument: z.ZodObject<{
3947
3478
  addressLine2?: string | null | undefined;
3948
3479
  addressLine3?: string | null | undefined;
3949
3480
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
3481
+ }>]>>>;
3482
+ createdAtLocation: z.ZodString;
3963
3483
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3964
3484
  originalActionId: z.ZodOptional<z.ZodString>;
3965
3485
  }, {
@@ -3969,11 +3489,8 @@ export declare const EventDocument: z.ZodObject<{
3969
3489
  type: "ASSIGN";
3970
3490
  id: string;
3971
3491
  status: "Rejected" | "Requested" | "Accepted";
3972
- transactionId: string;
3973
- createdByUserType: "system" | "user";
3974
3492
  createdAt: string;
3975
3493
  createdBy: string;
3976
- createdByRole: string;
3977
3494
  declaration: Record<string, string | number | boolean | {
3978
3495
  type: string;
3979
3496
  filename: string;
@@ -3989,10 +3506,6 @@ export declare const EventDocument: z.ZodObject<{
3989
3506
  residentialArea?: string | null | undefined;
3990
3507
  street?: string | null | undefined;
3991
3508
  zipCode?: string | null | undefined;
3992
- } | {
3993
- firstname: string;
3994
- surname: string;
3995
- middlename?: string | null | undefined;
3996
3509
  } | {
3997
3510
  country: string;
3998
3511
  district: string;
@@ -4015,10 +3528,9 @@ export declare const EventDocument: z.ZodObject<{
4015
3528
  option: string;
4016
3529
  filename: string;
4017
3530
  originalFilename: string;
4018
- }[] | [string, string] | null | undefined>;
3531
+ }[] | undefined>;
3532
+ createdAtLocation: string;
4019
3533
  assignedTo: string;
4020
- createdBySignature?: string | null | undefined;
4021
- createdAtLocation?: string | null | undefined;
4022
3534
  annotation?: Record<string, string | number | boolean | {
4023
3535
  type: string;
4024
3536
  filename: string;
@@ -4034,10 +3546,6 @@ export declare const EventDocument: z.ZodObject<{
4034
3546
  residentialArea?: string | null | undefined;
4035
3547
  street?: string | null | undefined;
4036
3548
  zipCode?: string | null | undefined;
4037
- } | {
4038
- firstname: string;
4039
- surname: string;
4040
- middlename?: string | null | undefined;
4041
3549
  } | {
4042
3550
  country: string;
4043
3551
  district: string;
@@ -4060,17 +3568,14 @@ export declare const EventDocument: z.ZodObject<{
4060
3568
  option: string;
4061
3569
  filename: string;
4062
3570
  originalFilename: string;
4063
- }[] | [string, string] | null | undefined> | undefined;
3571
+ }[] | undefined> | undefined;
4064
3572
  originalActionId?: string | undefined;
4065
3573
  }, {
4066
3574
  type: "ASSIGN";
4067
3575
  id: string;
4068
3576
  status: "Rejected" | "Requested" | "Accepted";
4069
- transactionId: string;
4070
- createdByUserType: "system" | "user";
4071
3577
  createdAt: string;
4072
3578
  createdBy: string;
4073
- createdByRole: string;
4074
3579
  declaration: Record<string, string | number | boolean | {
4075
3580
  type: string;
4076
3581
  filename: string;
@@ -4086,10 +3591,6 @@ export declare const EventDocument: z.ZodObject<{
4086
3591
  residentialArea?: string | null | undefined;
4087
3592
  street?: string | null | undefined;
4088
3593
  zipCode?: string | null | undefined;
4089
- } | {
4090
- firstname: string;
4091
- surname: string;
4092
- middlename?: string | null | undefined;
4093
3594
  } | {
4094
3595
  country: string;
4095
3596
  district: string;
@@ -4112,10 +3613,9 @@ export declare const EventDocument: z.ZodObject<{
4112
3613
  option: string;
4113
3614
  filename: string;
4114
3615
  originalFilename: string;
4115
- }[] | [string, string] | null | undefined>;
3616
+ }[] | undefined>;
3617
+ createdAtLocation: string;
4116
3618
  assignedTo: string;
4117
- createdBySignature?: string | null | undefined;
4118
- createdAtLocation?: string | null | undefined;
4119
3619
  annotation?: Record<string, string | number | boolean | {
4120
3620
  type: string;
4121
3621
  filename: string;
@@ -4131,10 +3631,6 @@ export declare const EventDocument: z.ZodObject<{
4131
3631
  residentialArea?: string | null | undefined;
4132
3632
  street?: string | null | undefined;
4133
3633
  zipCode?: string | null | undefined;
4134
- } | {
4135
- firstname: string;
4136
- surname: string;
4137
- middlename?: string | null | undefined;
4138
3634
  } | {
4139
3635
  country: string;
4140
3636
  district: string;
@@ -4157,18 +3653,13 @@ export declare const EventDocument: z.ZodObject<{
4157
3653
  option: string;
4158
3654
  filename: string;
4159
3655
  originalFilename: string;
4160
- }[] | [string, string] | null | undefined> | undefined;
3656
+ }[] | undefined> | undefined;
4161
3657
  originalActionId?: string | undefined;
4162
3658
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
3659
  id: z.ZodString;
4164
- transactionId: z.ZodString;
4165
- createdByUserType: z.ZodEnum<["user", "system"]>;
4166
3660
  createdAt: z.ZodString;
4167
3661
  createdBy: z.ZodString;
4168
- createdByRole: z.ZodString;
4169
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
3662
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4172
3663
  filename: z.ZodString;
4173
3664
  originalFilename: z.ZodString;
4174
3665
  type: z.ZodString;
@@ -4281,20 +3772,8 @@ export declare const EventDocument: z.ZodObject<{
4281
3772
  addressLine2?: string | null | undefined;
4282
3773
  addressLine3?: string | null | undefined;
4283
3774
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
3775
+ }>]>>;
3776
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4298
3777
  filename: z.ZodString;
4299
3778
  originalFilename: z.ZodString;
4300
3779
  type: z.ZodString;
@@ -4407,19 +3886,8 @@ export declare const EventDocument: z.ZodObject<{
4407
3886
  addressLine2?: string | null | undefined;
4408
3887
  addressLine3?: string | null | undefined;
4409
3888
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
3889
+ }>]>>>;
3890
+ createdAtLocation: z.ZodString;
4423
3891
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4424
3892
  originalActionId: z.ZodOptional<z.ZodString>;
4425
3893
  }, {
@@ -4428,11 +3896,8 @@ export declare const EventDocument: z.ZodObject<{
4428
3896
  type: "REQUEST_CORRECTION";
4429
3897
  id: string;
4430
3898
  status: "Rejected" | "Requested" | "Accepted";
4431
- transactionId: string;
4432
- createdByUserType: "system" | "user";
4433
3899
  createdAt: string;
4434
3900
  createdBy: string;
4435
- createdByRole: string;
4436
3901
  declaration: Record<string, string | number | boolean | {
4437
3902
  type: string;
4438
3903
  filename: string;
@@ -4448,10 +3913,6 @@ export declare const EventDocument: z.ZodObject<{
4448
3913
  residentialArea?: string | null | undefined;
4449
3914
  street?: string | null | undefined;
4450
3915
  zipCode?: string | null | undefined;
4451
- } | {
4452
- firstname: string;
4453
- surname: string;
4454
- middlename?: string | null | undefined;
4455
3916
  } | {
4456
3917
  country: string;
4457
3918
  district: string;
@@ -4474,9 +3935,8 @@ export declare const EventDocument: z.ZodObject<{
4474
3935
  option: string;
4475
3936
  filename: string;
4476
3937
  originalFilename: string;
4477
- }[] | [string, string] | null | undefined>;
4478
- createdBySignature?: string | null | undefined;
4479
- createdAtLocation?: string | null | undefined;
3938
+ }[] | undefined>;
3939
+ createdAtLocation: string;
4480
3940
  annotation?: Record<string, string | number | boolean | {
4481
3941
  type: string;
4482
3942
  filename: string;
@@ -4492,10 +3952,6 @@ export declare const EventDocument: z.ZodObject<{
4492
3952
  residentialArea?: string | null | undefined;
4493
3953
  street?: string | null | undefined;
4494
3954
  zipCode?: string | null | undefined;
4495
- } | {
4496
- firstname: string;
4497
- surname: string;
4498
- middlename?: string | null | undefined;
4499
3955
  } | {
4500
3956
  country: string;
4501
3957
  district: string;
@@ -4518,17 +3974,14 @@ export declare const EventDocument: z.ZodObject<{
4518
3974
  option: string;
4519
3975
  filename: string;
4520
3976
  originalFilename: string;
4521
- }[] | [string, string] | null | undefined> | undefined;
3977
+ }[] | undefined> | undefined;
4522
3978
  originalActionId?: string | undefined;
4523
3979
  }, {
4524
3980
  type: "REQUEST_CORRECTION";
4525
3981
  id: string;
4526
3982
  status: "Rejected" | "Requested" | "Accepted";
4527
- transactionId: string;
4528
- createdByUserType: "system" | "user";
4529
3983
  createdAt: string;
4530
3984
  createdBy: string;
4531
- createdByRole: string;
4532
3985
  declaration: Record<string, string | number | boolean | {
4533
3986
  type: string;
4534
3987
  filename: string;
@@ -4544,10 +3997,6 @@ export declare const EventDocument: z.ZodObject<{
4544
3997
  residentialArea?: string | null | undefined;
4545
3998
  street?: string | null | undefined;
4546
3999
  zipCode?: string | null | undefined;
4547
- } | {
4548
- firstname: string;
4549
- surname: string;
4550
- middlename?: string | null | undefined;
4551
4000
  } | {
4552
4001
  country: string;
4553
4002
  district: string;
@@ -4570,9 +4019,8 @@ export declare const EventDocument: z.ZodObject<{
4570
4019
  option: string;
4571
4020
  filename: string;
4572
4021
  originalFilename: string;
4573
- }[] | [string, string] | null | undefined>;
4574
- createdBySignature?: string | null | undefined;
4575
- createdAtLocation?: string | null | undefined;
4022
+ }[] | undefined>;
4023
+ createdAtLocation: string;
4576
4024
  annotation?: Record<string, string | number | boolean | {
4577
4025
  type: string;
4578
4026
  filename: string;
@@ -4588,10 +4036,6 @@ export declare const EventDocument: z.ZodObject<{
4588
4036
  residentialArea?: string | null | undefined;
4589
4037
  street?: string | null | undefined;
4590
4038
  zipCode?: string | null | undefined;
4591
- } | {
4592
- firstname: string;
4593
- surname: string;
4594
- middlename?: string | null | undefined;
4595
4039
  } | {
4596
4040
  country: string;
4597
4041
  district: string;
@@ -4614,18 +4058,13 @@ export declare const EventDocument: z.ZodObject<{
4614
4058
  option: string;
4615
4059
  filename: string;
4616
4060
  originalFilename: string;
4617
- }[] | [string, string] | null | undefined> | undefined;
4061
+ }[] | undefined> | undefined;
4618
4062
  originalActionId?: string | undefined;
4619
4063
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
4064
  id: z.ZodString;
4621
- transactionId: z.ZodString;
4622
- createdByUserType: z.ZodEnum<["user", "system"]>;
4623
4065
  createdAt: z.ZodString;
4624
4066
  createdBy: z.ZodString;
4625
- createdByRole: z.ZodString;
4626
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4067
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4629
4068
  filename: z.ZodString;
4630
4069
  originalFilename: z.ZodString;
4631
4070
  type: z.ZodString;
@@ -4738,20 +4177,8 @@ export declare const EventDocument: z.ZodObject<{
4738
4177
  addressLine2?: string | null | undefined;
4739
4178
  addressLine3?: string | null | undefined;
4740
4179
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
4180
+ }>]>>;
4181
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4755
4182
  filename: z.ZodString;
4756
4183
  originalFilename: z.ZodString;
4757
4184
  type: z.ZodString;
@@ -4864,19 +4291,8 @@ export declare const EventDocument: z.ZodObject<{
4864
4291
  addressLine2?: string | null | undefined;
4865
4292
  addressLine3?: string | null | undefined;
4866
4293
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
4294
+ }>]>>>;
4295
+ createdAtLocation: z.ZodString;
4880
4296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4881
4297
  originalActionId: z.ZodOptional<z.ZodString>;
4882
4298
  }, {
@@ -4886,11 +4302,8 @@ export declare const EventDocument: z.ZodObject<{
4886
4302
  type: "APPROVE_CORRECTION";
4887
4303
  id: string;
4888
4304
  status: "Rejected" | "Requested" | "Accepted";
4889
- transactionId: string;
4890
- createdByUserType: "system" | "user";
4891
4305
  createdAt: string;
4892
4306
  createdBy: string;
4893
- createdByRole: string;
4894
4307
  declaration: Record<string, string | number | boolean | {
4895
4308
  type: string;
4896
4309
  filename: string;
@@ -4906,10 +4319,6 @@ export declare const EventDocument: z.ZodObject<{
4906
4319
  residentialArea?: string | null | undefined;
4907
4320
  street?: string | null | undefined;
4908
4321
  zipCode?: string | null | undefined;
4909
- } | {
4910
- firstname: string;
4911
- surname: string;
4912
- middlename?: string | null | undefined;
4913
4322
  } | {
4914
4323
  country: string;
4915
4324
  district: string;
@@ -4932,10 +4341,9 @@ export declare const EventDocument: z.ZodObject<{
4932
4341
  option: string;
4933
4342
  filename: string;
4934
4343
  originalFilename: string;
4935
- }[] | [string, string] | null | undefined>;
4344
+ }[] | undefined>;
4345
+ createdAtLocation: string;
4936
4346
  requestId: string;
4937
- createdBySignature?: string | null | undefined;
4938
- createdAtLocation?: string | null | undefined;
4939
4347
  annotation?: Record<string, string | number | boolean | {
4940
4348
  type: string;
4941
4349
  filename: string;
@@ -4951,10 +4359,6 @@ export declare const EventDocument: z.ZodObject<{
4951
4359
  residentialArea?: string | null | undefined;
4952
4360
  street?: string | null | undefined;
4953
4361
  zipCode?: string | null | undefined;
4954
- } | {
4955
- firstname: string;
4956
- surname: string;
4957
- middlename?: string | null | undefined;
4958
4362
  } | {
4959
4363
  country: string;
4960
4364
  district: string;
@@ -4977,17 +4381,14 @@ export declare const EventDocument: z.ZodObject<{
4977
4381
  option: string;
4978
4382
  filename: string;
4979
4383
  originalFilename: string;
4980
- }[] | [string, string] | null | undefined> | undefined;
4384
+ }[] | undefined> | undefined;
4981
4385
  originalActionId?: string | undefined;
4982
4386
  }, {
4983
4387
  type: "APPROVE_CORRECTION";
4984
4388
  id: string;
4985
4389
  status: "Rejected" | "Requested" | "Accepted";
4986
- transactionId: string;
4987
- createdByUserType: "system" | "user";
4988
4390
  createdAt: string;
4989
4391
  createdBy: string;
4990
- createdByRole: string;
4991
4392
  declaration: Record<string, string | number | boolean | {
4992
4393
  type: string;
4993
4394
  filename: string;
@@ -5003,10 +4404,6 @@ export declare const EventDocument: z.ZodObject<{
5003
4404
  residentialArea?: string | null | undefined;
5004
4405
  street?: string | null | undefined;
5005
4406
  zipCode?: string | null | undefined;
5006
- } | {
5007
- firstname: string;
5008
- surname: string;
5009
- middlename?: string | null | undefined;
5010
4407
  } | {
5011
4408
  country: string;
5012
4409
  district: string;
@@ -5029,10 +4426,9 @@ export declare const EventDocument: z.ZodObject<{
5029
4426
  option: string;
5030
4427
  filename: string;
5031
4428
  originalFilename: string;
5032
- }[] | [string, string] | null | undefined>;
4429
+ }[] | undefined>;
4430
+ createdAtLocation: string;
5033
4431
  requestId: string;
5034
- createdBySignature?: string | null | undefined;
5035
- createdAtLocation?: string | null | undefined;
5036
4432
  annotation?: Record<string, string | number | boolean | {
5037
4433
  type: string;
5038
4434
  filename: string;
@@ -5048,10 +4444,6 @@ export declare const EventDocument: z.ZodObject<{
5048
4444
  residentialArea?: string | null | undefined;
5049
4445
  street?: string | null | undefined;
5050
4446
  zipCode?: string | null | undefined;
5051
- } | {
5052
- firstname: string;
5053
- surname: string;
5054
- middlename?: string | null | undefined;
5055
4447
  } | {
5056
4448
  country: string;
5057
4449
  district: string;
@@ -5074,18 +4466,13 @@ export declare const EventDocument: z.ZodObject<{
5074
4466
  option: string;
5075
4467
  filename: string;
5076
4468
  originalFilename: string;
5077
- }[] | [string, string] | null | undefined> | undefined;
4469
+ }[] | undefined> | undefined;
5078
4470
  originalActionId?: string | undefined;
5079
4471
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
4472
  id: z.ZodString;
5081
- transactionId: z.ZodString;
5082
- createdByUserType: z.ZodEnum<["user", "system"]>;
5083
4473
  createdAt: z.ZodString;
5084
4474
  createdBy: z.ZodString;
5085
- createdByRole: z.ZodString;
5086
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4475
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5089
4476
  filename: z.ZodString;
5090
4477
  originalFilename: z.ZodString;
5091
4478
  type: z.ZodString;
@@ -5198,20 +4585,8 @@ export declare const EventDocument: z.ZodObject<{
5198
4585
  addressLine2?: string | null | undefined;
5199
4586
  addressLine3?: string | null | undefined;
5200
4587
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
4588
+ }>]>>;
4589
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5215
4590
  filename: z.ZodString;
5216
4591
  originalFilename: z.ZodString;
5217
4592
  type: z.ZodString;
@@ -5324,19 +4699,8 @@ export declare const EventDocument: z.ZodObject<{
5324
4699
  addressLine2?: string | null | undefined;
5325
4700
  addressLine3?: string | null | undefined;
5326
4701
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
4702
+ }>]>>>;
4703
+ createdAtLocation: z.ZodString;
5340
4704
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5341
4705
  originalActionId: z.ZodOptional<z.ZodString>;
5342
4706
  }, {
@@ -5346,11 +4710,8 @@ export declare const EventDocument: z.ZodObject<{
5346
4710
  type: "REJECT_CORRECTION";
5347
4711
  id: string;
5348
4712
  status: "Rejected" | "Requested" | "Accepted";
5349
- transactionId: string;
5350
- createdByUserType: "system" | "user";
5351
4713
  createdAt: string;
5352
4714
  createdBy: string;
5353
- createdByRole: string;
5354
4715
  declaration: Record<string, string | number | boolean | {
5355
4716
  type: string;
5356
4717
  filename: string;
@@ -5366,10 +4727,6 @@ export declare const EventDocument: z.ZodObject<{
5366
4727
  residentialArea?: string | null | undefined;
5367
4728
  street?: string | null | undefined;
5368
4729
  zipCode?: string | null | undefined;
5369
- } | {
5370
- firstname: string;
5371
- surname: string;
5372
- middlename?: string | null | undefined;
5373
4730
  } | {
5374
4731
  country: string;
5375
4732
  district: string;
@@ -5392,10 +4749,9 @@ export declare const EventDocument: z.ZodObject<{
5392
4749
  option: string;
5393
4750
  filename: string;
5394
4751
  originalFilename: string;
5395
- }[] | [string, string] | null | undefined>;
4752
+ }[] | undefined>;
4753
+ createdAtLocation: string;
5396
4754
  requestId: string;
5397
- createdBySignature?: string | null | undefined;
5398
- createdAtLocation?: string | null | undefined;
5399
4755
  annotation?: Record<string, string | number | boolean | {
5400
4756
  type: string;
5401
4757
  filename: string;
@@ -5411,10 +4767,6 @@ export declare const EventDocument: z.ZodObject<{
5411
4767
  residentialArea?: string | null | undefined;
5412
4768
  street?: string | null | undefined;
5413
4769
  zipCode?: string | null | undefined;
5414
- } | {
5415
- firstname: string;
5416
- surname: string;
5417
- middlename?: string | null | undefined;
5418
4770
  } | {
5419
4771
  country: string;
5420
4772
  district: string;
@@ -5437,17 +4789,14 @@ export declare const EventDocument: z.ZodObject<{
5437
4789
  option: string;
5438
4790
  filename: string;
5439
4791
  originalFilename: string;
5440
- }[] | [string, string] | null | undefined> | undefined;
4792
+ }[] | undefined> | undefined;
5441
4793
  originalActionId?: string | undefined;
5442
4794
  }, {
5443
4795
  type: "REJECT_CORRECTION";
5444
4796
  id: string;
5445
4797
  status: "Rejected" | "Requested" | "Accepted";
5446
- transactionId: string;
5447
- createdByUserType: "system" | "user";
5448
4798
  createdAt: string;
5449
4799
  createdBy: string;
5450
- createdByRole: string;
5451
4800
  declaration: Record<string, string | number | boolean | {
5452
4801
  type: string;
5453
4802
  filename: string;
@@ -5463,10 +4812,6 @@ export declare const EventDocument: z.ZodObject<{
5463
4812
  residentialArea?: string | null | undefined;
5464
4813
  street?: string | null | undefined;
5465
4814
  zipCode?: string | null | undefined;
5466
- } | {
5467
- firstname: string;
5468
- surname: string;
5469
- middlename?: string | null | undefined;
5470
4815
  } | {
5471
4816
  country: string;
5472
4817
  district: string;
@@ -5489,10 +4834,9 @@ export declare const EventDocument: z.ZodObject<{
5489
4834
  option: string;
5490
4835
  filename: string;
5491
4836
  originalFilename: string;
5492
- }[] | [string, string] | null | undefined>;
4837
+ }[] | undefined>;
4838
+ createdAtLocation: string;
5493
4839
  requestId: string;
5494
- createdBySignature?: string | null | undefined;
5495
- createdAtLocation?: string | null | undefined;
5496
4840
  annotation?: Record<string, string | number | boolean | {
5497
4841
  type: string;
5498
4842
  filename: string;
@@ -5508,10 +4852,6 @@ export declare const EventDocument: z.ZodObject<{
5508
4852
  residentialArea?: string | null | undefined;
5509
4853
  street?: string | null | undefined;
5510
4854
  zipCode?: string | null | undefined;
5511
- } | {
5512
- firstname: string;
5513
- surname: string;
5514
- middlename?: string | null | undefined;
5515
4855
  } | {
5516
4856
  country: string;
5517
4857
  district: string;
@@ -5534,18 +4874,13 @@ export declare const EventDocument: z.ZodObject<{
5534
4874
  option: string;
5535
4875
  filename: string;
5536
4876
  originalFilename: string;
5537
- }[] | [string, string] | null | undefined> | undefined;
4877
+ }[] | undefined> | undefined;
5538
4878
  originalActionId?: string | undefined;
5539
4879
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
4880
  id: z.ZodString;
5541
- transactionId: z.ZodString;
5542
- createdByUserType: z.ZodEnum<["user", "system"]>;
5543
4881
  createdAt: z.ZodString;
5544
4882
  createdBy: z.ZodString;
5545
- createdByRole: z.ZodString;
5546
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
4883
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5549
4884
  filename: z.ZodString;
5550
4885
  originalFilename: z.ZodString;
5551
4886
  type: z.ZodString;
@@ -5658,20 +4993,8 @@ export declare const EventDocument: z.ZodObject<{
5658
4993
  addressLine2?: string | null | undefined;
5659
4994
  addressLine3?: string | null | undefined;
5660
4995
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
4996
+ }>]>>;
4997
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5675
4998
  filename: z.ZodString;
5676
4999
  originalFilename: z.ZodString;
5677
5000
  type: z.ZodString;
@@ -5784,33 +5107,19 @@ export declare const EventDocument: z.ZodObject<{
5784
5107
  addressLine2?: string | null | undefined;
5785
5108
  addressLine3?: string | null | undefined;
5786
5109
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
5110
+ }>]>>>;
5111
+ createdAtLocation: z.ZodString;
5800
5112
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
5113
  originalActionId: z.ZodOptional<z.ZodString>;
5802
5114
  }, {
5803
5115
  type: z.ZodLiteral<"UNASSIGN">;
5804
- assignedTo: z.ZodLiteral<null>;
5116
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5805
5117
  }>, "strip", z.ZodTypeAny, {
5806
5118
  type: "UNASSIGN";
5807
5119
  id: string;
5808
5120
  status: "Rejected" | "Requested" | "Accepted";
5809
- transactionId: string;
5810
- createdByUserType: "system" | "user";
5811
5121
  createdAt: string;
5812
5122
  createdBy: string;
5813
- createdByRole: string;
5814
5123
  declaration: Record<string, string | number | boolean | {
5815
5124
  type: string;
5816
5125
  filename: string;
@@ -5826,10 +5135,6 @@ export declare const EventDocument: z.ZodObject<{
5826
5135
  residentialArea?: string | null | undefined;
5827
5136
  street?: string | null | undefined;
5828
5137
  zipCode?: string | null | undefined;
5829
- } | {
5830
- firstname: string;
5831
- surname: string;
5832
- middlename?: string | null | undefined;
5833
5138
  } | {
5834
5139
  country: string;
5835
5140
  district: string;
@@ -5852,10 +5157,9 @@ export declare const EventDocument: z.ZodObject<{
5852
5157
  option: string;
5853
5158
  filename: string;
5854
5159
  originalFilename: string;
5855
- }[] | [string, string] | null | undefined>;
5160
+ }[] | undefined>;
5161
+ createdAtLocation: string;
5856
5162
  assignedTo: null;
5857
- createdBySignature?: string | null | undefined;
5858
- createdAtLocation?: string | null | undefined;
5859
5163
  annotation?: Record<string, string | number | boolean | {
5860
5164
  type: string;
5861
5165
  filename: string;
@@ -5871,10 +5175,6 @@ export declare const EventDocument: z.ZodObject<{
5871
5175
  residentialArea?: string | null | undefined;
5872
5176
  street?: string | null | undefined;
5873
5177
  zipCode?: string | null | undefined;
5874
- } | {
5875
- firstname: string;
5876
- surname: string;
5877
- middlename?: string | null | undefined;
5878
5178
  } | {
5879
5179
  country: string;
5880
5180
  district: string;
@@ -5897,17 +5197,14 @@ export declare const EventDocument: z.ZodObject<{
5897
5197
  option: string;
5898
5198
  filename: string;
5899
5199
  originalFilename: string;
5900
- }[] | [string, string] | null | undefined> | undefined;
5200
+ }[] | undefined> | undefined;
5901
5201
  originalActionId?: string | undefined;
5902
5202
  }, {
5903
5203
  type: "UNASSIGN";
5904
5204
  id: string;
5905
5205
  status: "Rejected" | "Requested" | "Accepted";
5906
- transactionId: string;
5907
- createdByUserType: "system" | "user";
5908
5206
  createdAt: string;
5909
5207
  createdBy: string;
5910
- createdByRole: string;
5911
5208
  declaration: Record<string, string | number | boolean | {
5912
5209
  type: string;
5913
5210
  filename: string;
@@ -5923,10 +5220,6 @@ export declare const EventDocument: z.ZodObject<{
5923
5220
  residentialArea?: string | null | undefined;
5924
5221
  street?: string | null | undefined;
5925
5222
  zipCode?: string | null | undefined;
5926
- } | {
5927
- firstname: string;
5928
- surname: string;
5929
- middlename?: string | null | undefined;
5930
5223
  } | {
5931
5224
  country: string;
5932
5225
  district: string;
@@ -5949,10 +5242,8 @@ export declare const EventDocument: z.ZodObject<{
5949
5242
  option: string;
5950
5243
  filename: string;
5951
5244
  originalFilename: string;
5952
- }[] | [string, string] | null | undefined>;
5953
- assignedTo: null;
5954
- createdBySignature?: string | null | undefined;
5955
- createdAtLocation?: string | null | undefined;
5245
+ }[] | undefined>;
5246
+ createdAtLocation: string;
5956
5247
  annotation?: Record<string, string | number | boolean | {
5957
5248
  type: string;
5958
5249
  filename: string;
@@ -5968,10 +5259,6 @@ export declare const EventDocument: z.ZodObject<{
5968
5259
  residentialArea?: string | null | undefined;
5969
5260
  street?: string | null | undefined;
5970
5261
  zipCode?: string | null | undefined;
5971
- } | {
5972
- firstname: string;
5973
- surname: string;
5974
- middlename?: string | null | undefined;
5975
5262
  } | {
5976
5263
  country: string;
5977
5264
  district: string;
@@ -5994,18 +5281,14 @@ export declare const EventDocument: z.ZodObject<{
5994
5281
  option: string;
5995
5282
  filename: string;
5996
5283
  originalFilename: string;
5997
- }[] | [string, string] | null | undefined> | undefined;
5284
+ }[] | undefined> | undefined;
5998
5285
  originalActionId?: string | undefined;
5286
+ assignedTo?: null | undefined;
5999
5287
  }>, z.ZodObject<z.objectUtil.extendShape<{
6000
5288
  id: z.ZodString;
6001
- transactionId: z.ZodString;
6002
- createdByUserType: z.ZodEnum<["user", "system"]>;
6003
5289
  createdAt: z.ZodString;
6004
5290
  createdBy: z.ZodString;
6005
- createdByRole: z.ZodString;
6006
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6007
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5291
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6009
5292
  filename: z.ZodString;
6010
5293
  originalFilename: z.ZodString;
6011
5294
  type: z.ZodString;
@@ -6118,20 +5401,8 @@ export declare const EventDocument: z.ZodObject<{
6118
5401
  addressLine2?: string | null | undefined;
6119
5402
  addressLine3?: string | null | undefined;
6120
5403
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
5404
+ }>]>>;
5405
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6135
5406
  filename: z.ZodString;
6136
5407
  originalFilename: z.ZodString;
6137
5408
  type: z.ZodString;
@@ -6244,19 +5515,8 @@ export declare const EventDocument: z.ZodObject<{
6244
5515
  addressLine2?: string | null | undefined;
6245
5516
  addressLine3?: string | null | undefined;
6246
5517
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
5518
+ }>]>>>;
5519
+ createdAtLocation: z.ZodString;
6260
5520
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6261
5521
  originalActionId: z.ZodOptional<z.ZodString>;
6262
5522
  }, {
@@ -6265,11 +5525,8 @@ export declare const EventDocument: z.ZodObject<{
6265
5525
  type: "PRINT_CERTIFICATE";
6266
5526
  id: string;
6267
5527
  status: "Rejected" | "Requested" | "Accepted";
6268
- transactionId: string;
6269
- createdByUserType: "system" | "user";
6270
5528
  createdAt: string;
6271
5529
  createdBy: string;
6272
- createdByRole: string;
6273
5530
  declaration: Record<string, string | number | boolean | {
6274
5531
  type: string;
6275
5532
  filename: string;
@@ -6285,10 +5542,6 @@ export declare const EventDocument: z.ZodObject<{
6285
5542
  residentialArea?: string | null | undefined;
6286
5543
  street?: string | null | undefined;
6287
5544
  zipCode?: string | null | undefined;
6288
- } | {
6289
- firstname: string;
6290
- surname: string;
6291
- middlename?: string | null | undefined;
6292
5545
  } | {
6293
5546
  country: string;
6294
5547
  district: string;
@@ -6311,9 +5564,8 @@ export declare const EventDocument: z.ZodObject<{
6311
5564
  option: string;
6312
5565
  filename: string;
6313
5566
  originalFilename: string;
6314
- }[] | [string, string] | null | undefined>;
6315
- createdBySignature?: string | null | undefined;
6316
- createdAtLocation?: string | null | undefined;
5567
+ }[] | undefined>;
5568
+ createdAtLocation: string;
6317
5569
  annotation?: Record<string, string | number | boolean | {
6318
5570
  type: string;
6319
5571
  filename: string;
@@ -6329,10 +5581,6 @@ export declare const EventDocument: z.ZodObject<{
6329
5581
  residentialArea?: string | null | undefined;
6330
5582
  street?: string | null | undefined;
6331
5583
  zipCode?: string | null | undefined;
6332
- } | {
6333
- firstname: string;
6334
- surname: string;
6335
- middlename?: string | null | undefined;
6336
5584
  } | {
6337
5585
  country: string;
6338
5586
  district: string;
@@ -6355,17 +5603,14 @@ export declare const EventDocument: z.ZodObject<{
6355
5603
  option: string;
6356
5604
  filename: string;
6357
5605
  originalFilename: string;
6358
- }[] | [string, string] | null | undefined> | undefined;
5606
+ }[] | undefined> | undefined;
6359
5607
  originalActionId?: string | undefined;
6360
5608
  }, {
6361
5609
  type: "PRINT_CERTIFICATE";
6362
5610
  id: string;
6363
5611
  status: "Rejected" | "Requested" | "Accepted";
6364
- transactionId: string;
6365
- createdByUserType: "system" | "user";
6366
5612
  createdAt: string;
6367
5613
  createdBy: string;
6368
- createdByRole: string;
6369
5614
  declaration: Record<string, string | number | boolean | {
6370
5615
  type: string;
6371
5616
  filename: string;
@@ -6381,10 +5626,6 @@ export declare const EventDocument: z.ZodObject<{
6381
5626
  residentialArea?: string | null | undefined;
6382
5627
  street?: string | null | undefined;
6383
5628
  zipCode?: string | null | undefined;
6384
- } | {
6385
- firstname: string;
6386
- surname: string;
6387
- middlename?: string | null | undefined;
6388
5629
  } | {
6389
5630
  country: string;
6390
5631
  district: string;
@@ -6407,9 +5648,8 @@ export declare const EventDocument: z.ZodObject<{
6407
5648
  option: string;
6408
5649
  filename: string;
6409
5650
  originalFilename: string;
6410
- }[] | [string, string] | null | undefined>;
6411
- createdBySignature?: string | null | undefined;
6412
- createdAtLocation?: string | null | undefined;
5651
+ }[] | undefined>;
5652
+ createdAtLocation: string;
6413
5653
  annotation?: Record<string, string | number | boolean | {
6414
5654
  type: string;
6415
5655
  filename: string;
@@ -6425,10 +5665,6 @@ export declare const EventDocument: z.ZodObject<{
6425
5665
  residentialArea?: string | null | undefined;
6426
5666
  street?: string | null | undefined;
6427
5667
  zipCode?: string | null | undefined;
6428
- } | {
6429
- firstname: string;
6430
- surname: string;
6431
- middlename?: string | null | undefined;
6432
5668
  } | {
6433
5669
  country: string;
6434
5670
  district: string;
@@ -6451,18 +5687,13 @@ export declare const EventDocument: z.ZodObject<{
6451
5687
  option: string;
6452
5688
  filename: string;
6453
5689
  originalFilename: string;
6454
- }[] | [string, string] | null | undefined> | undefined;
5690
+ }[] | undefined> | undefined;
6455
5691
  originalActionId?: string | undefined;
6456
5692
  }>, z.ZodObject<z.objectUtil.extendShape<{
6457
5693
  id: z.ZodString;
6458
- transactionId: z.ZodString;
6459
- createdByUserType: z.ZodEnum<["user", "system"]>;
6460
5694
  createdAt: z.ZodString;
6461
5695
  createdBy: z.ZodString;
6462
- createdByRole: z.ZodString;
6463
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6464
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
5696
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6466
5697
  filename: z.ZodString;
6467
5698
  originalFilename: z.ZodString;
6468
5699
  type: z.ZodString;
@@ -6575,20 +5806,8 @@ export declare const EventDocument: z.ZodObject<{
6575
5806
  addressLine2?: string | null | undefined;
6576
5807
  addressLine3?: string | null | undefined;
6577
5808
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
5809
+ }>]>>;
5810
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6592
5811
  filename: z.ZodString;
6593
5812
  originalFilename: z.ZodString;
6594
5813
  type: z.ZodString;
@@ -6701,19 +5920,8 @@ export declare const EventDocument: z.ZodObject<{
6701
5920
  addressLine2?: string | null | undefined;
6702
5921
  addressLine3?: string | null | undefined;
6703
5922
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
5923
+ }>]>>>;
5924
+ createdAtLocation: z.ZodString;
6717
5925
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6718
5926
  originalActionId: z.ZodOptional<z.ZodString>;
6719
5927
  }, {
@@ -6722,11 +5930,8 @@ export declare const EventDocument: z.ZodObject<{
6722
5930
  type: "READ";
6723
5931
  id: string;
6724
5932
  status: "Rejected" | "Requested" | "Accepted";
6725
- transactionId: string;
6726
- createdByUserType: "system" | "user";
6727
5933
  createdAt: string;
6728
5934
  createdBy: string;
6729
- createdByRole: string;
6730
5935
  declaration: Record<string, string | number | boolean | {
6731
5936
  type: string;
6732
5937
  filename: string;
@@ -6742,10 +5947,6 @@ export declare const EventDocument: z.ZodObject<{
6742
5947
  residentialArea?: string | null | undefined;
6743
5948
  street?: string | null | undefined;
6744
5949
  zipCode?: string | null | undefined;
6745
- } | {
6746
- firstname: string;
6747
- surname: string;
6748
- middlename?: string | null | undefined;
6749
5950
  } | {
6750
5951
  country: string;
6751
5952
  district: string;
@@ -6768,9 +5969,8 @@ export declare const EventDocument: z.ZodObject<{
6768
5969
  option: string;
6769
5970
  filename: string;
6770
5971
  originalFilename: string;
6771
- }[] | [string, string] | null | undefined>;
6772
- createdBySignature?: string | null | undefined;
6773
- createdAtLocation?: string | null | undefined;
5972
+ }[] | undefined>;
5973
+ createdAtLocation: string;
6774
5974
  annotation?: Record<string, string | number | boolean | {
6775
5975
  type: string;
6776
5976
  filename: string;
@@ -6786,10 +5986,6 @@ export declare const EventDocument: z.ZodObject<{
6786
5986
  residentialArea?: string | null | undefined;
6787
5987
  street?: string | null | undefined;
6788
5988
  zipCode?: string | null | undefined;
6789
- } | {
6790
- firstname: string;
6791
- surname: string;
6792
- middlename?: string | null | undefined;
6793
5989
  } | {
6794
5990
  country: string;
6795
5991
  district: string;
@@ -6812,17 +6008,14 @@ export declare const EventDocument: z.ZodObject<{
6812
6008
  option: string;
6813
6009
  filename: string;
6814
6010
  originalFilename: string;
6815
- }[] | [string, string] | null | undefined> | undefined;
6011
+ }[] | undefined> | undefined;
6816
6012
  originalActionId?: string | undefined;
6817
6013
  }, {
6818
6014
  type: "READ";
6819
6015
  id: string;
6820
6016
  status: "Rejected" | "Requested" | "Accepted";
6821
- transactionId: string;
6822
- createdByUserType: "system" | "user";
6823
6017
  createdAt: string;
6824
6018
  createdBy: string;
6825
- createdByRole: string;
6826
6019
  declaration: Record<string, string | number | boolean | {
6827
6020
  type: string;
6828
6021
  filename: string;
@@ -6838,10 +6031,6 @@ export declare const EventDocument: z.ZodObject<{
6838
6031
  residentialArea?: string | null | undefined;
6839
6032
  street?: string | null | undefined;
6840
6033
  zipCode?: string | null | undefined;
6841
- } | {
6842
- firstname: string;
6843
- surname: string;
6844
- middlename?: string | null | undefined;
6845
6034
  } | {
6846
6035
  country: string;
6847
6036
  district: string;
@@ -6864,9 +6053,8 @@ export declare const EventDocument: z.ZodObject<{
6864
6053
  option: string;
6865
6054
  filename: string;
6866
6055
  originalFilename: string;
6867
- }[] | [string, string] | null | undefined>;
6868
- createdBySignature?: string | null | undefined;
6869
- createdAtLocation?: string | null | undefined;
6056
+ }[] | undefined>;
6057
+ createdAtLocation: string;
6870
6058
  annotation?: Record<string, string | number | boolean | {
6871
6059
  type: string;
6872
6060
  filename: string;
@@ -6882,10 +6070,6 @@ export declare const EventDocument: z.ZodObject<{
6882
6070
  residentialArea?: string | null | undefined;
6883
6071
  street?: string | null | undefined;
6884
6072
  zipCode?: string | null | undefined;
6885
- } | {
6886
- firstname: string;
6887
- surname: string;
6888
- middlename?: string | null | undefined;
6889
6073
  } | {
6890
6074
  country: string;
6891
6075
  district: string;
@@ -6908,18 +6092,13 @@ export declare const EventDocument: z.ZodObject<{
6908
6092
  option: string;
6909
6093
  filename: string;
6910
6094
  originalFilename: string;
6911
- }[] | [string, string] | null | undefined> | undefined;
6095
+ }[] | undefined> | undefined;
6912
6096
  originalActionId?: string | undefined;
6913
6097
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6914
6098
  id: z.ZodString;
6915
- transactionId: z.ZodString;
6916
- createdByUserType: z.ZodEnum<["user", "system"]>;
6917
6099
  createdAt: z.ZodString;
6918
6100
  createdBy: z.ZodString;
6919
- createdByRole: z.ZodString;
6920
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
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<{
6101
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6923
6102
  filename: z.ZodString;
6924
6103
  originalFilename: z.ZodString;
6925
6104
  type: z.ZodString;
@@ -7032,20 +6211,8 @@ export declare const EventDocument: z.ZodObject<{
7032
6211
  addressLine2?: string | null | undefined;
7033
6212
  addressLine3?: string | null | undefined;
7034
6213
  postcodeOrZip?: string | null | undefined;
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]>]>>;
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<{
6214
+ }>]>>;
6215
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7049
6216
  filename: z.ZodString;
7050
6217
  originalFilename: z.ZodString;
7051
6218
  type: z.ZodString;
@@ -7158,47 +6325,24 @@ export declare const EventDocument: z.ZodObject<{
7158
6325
  addressLine2?: string | null | undefined;
7159
6326
  addressLine3?: string | null | undefined;
7160
6327
  postcodeOrZip?: string | null | undefined;
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]>]>>>;
6328
+ }>]>>>;
6329
+ createdAtLocation: z.ZodString;
7174
6330
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7175
6331
  originalActionId: z.ZodOptional<z.ZodString>;
7176
- }, "declaration" | "annotation">, {
6332
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7177
6333
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7178
6334
  status: z.ZodLiteral<"Rejected">;
7179
6335
  }>, "strip", z.ZodTypeAny, {
7180
6336
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7181
6337
  id: string;
7182
6338
  status: "Rejected";
7183
- transactionId: string;
7184
- createdByUserType: "system" | "user";
7185
6339
  createdAt: string;
7186
- createdBy: string;
7187
- createdByRole: string;
7188
- createdBySignature?: string | null | undefined;
7189
- createdAtLocation?: string | null | undefined;
7190
6340
  originalActionId?: string | undefined;
7191
6341
  }, {
7192
6342
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7193
6343
  id: string;
7194
6344
  status: "Rejected";
7195
- transactionId: string;
7196
- createdByUserType: "system" | "user";
7197
6345
  createdAt: string;
7198
- createdBy: string;
7199
- createdByRole: string;
7200
- createdBySignature?: string | null | undefined;
7201
- createdAtLocation?: string | null | undefined;
7202
6346
  originalActionId?: string | undefined;
7203
6347
  }>]>, "many">;
7204
6348
  trackingId: z.ZodString;
@@ -7211,11 +6355,8 @@ export declare const EventDocument: z.ZodObject<{
7211
6355
  type: "ASSIGN";
7212
6356
  id: string;
7213
6357
  status: "Rejected" | "Requested" | "Accepted";
7214
- transactionId: string;
7215
- createdByUserType: "system" | "user";
7216
6358
  createdAt: string;
7217
6359
  createdBy: string;
7218
- createdByRole: string;
7219
6360
  declaration: Record<string, string | number | boolean | {
7220
6361
  type: string;
7221
6362
  filename: string;
@@ -7231,10 +6372,6 @@ export declare const EventDocument: z.ZodObject<{
7231
6372
  residentialArea?: string | null | undefined;
7232
6373
  street?: string | null | undefined;
7233
6374
  zipCode?: string | null | undefined;
7234
- } | {
7235
- firstname: string;
7236
- surname: string;
7237
- middlename?: string | null | undefined;
7238
6375
  } | {
7239
6376
  country: string;
7240
6377
  district: string;
@@ -7257,10 +6394,9 @@ export declare const EventDocument: z.ZodObject<{
7257
6394
  option: string;
7258
6395
  filename: string;
7259
6396
  originalFilename: string;
7260
- }[] | [string, string] | null | undefined>;
6397
+ }[] | undefined>;
6398
+ createdAtLocation: string;
7261
6399
  assignedTo: string;
7262
- createdBySignature?: string | null | undefined;
7263
- createdAtLocation?: string | null | undefined;
7264
6400
  annotation?: Record<string, string | number | boolean | {
7265
6401
  type: string;
7266
6402
  filename: string;
@@ -7276,10 +6412,6 @@ export declare const EventDocument: z.ZodObject<{
7276
6412
  residentialArea?: string | null | undefined;
7277
6413
  street?: string | null | undefined;
7278
6414
  zipCode?: string | null | undefined;
7279
- } | {
7280
- firstname: string;
7281
- surname: string;
7282
- middlename?: string | null | undefined;
7283
6415
  } | {
7284
6416
  country: string;
7285
6417
  district: string;
@@ -7302,17 +6434,14 @@ export declare const EventDocument: z.ZodObject<{
7302
6434
  option: string;
7303
6435
  filename: string;
7304
6436
  originalFilename: string;
7305
- }[] | [string, string] | null | undefined> | undefined;
6437
+ }[] | undefined> | undefined;
7306
6438
  originalActionId?: string | undefined;
7307
6439
  } | {
7308
6440
  type: "UNASSIGN";
7309
6441
  id: string;
7310
6442
  status: "Rejected" | "Requested" | "Accepted";
7311
- transactionId: string;
7312
- createdByUserType: "system" | "user";
7313
6443
  createdAt: string;
7314
6444
  createdBy: string;
7315
- createdByRole: string;
7316
6445
  declaration: Record<string, string | number | boolean | {
7317
6446
  type: string;
7318
6447
  filename: string;
@@ -7328,10 +6457,6 @@ export declare const EventDocument: z.ZodObject<{
7328
6457
  residentialArea?: string | null | undefined;
7329
6458
  street?: string | null | undefined;
7330
6459
  zipCode?: string | null | undefined;
7331
- } | {
7332
- firstname: string;
7333
- surname: string;
7334
- middlename?: string | null | undefined;
7335
6460
  } | {
7336
6461
  country: string;
7337
6462
  district: string;
@@ -7354,10 +6479,9 @@ export declare const EventDocument: z.ZodObject<{
7354
6479
  option: string;
7355
6480
  filename: string;
7356
6481
  originalFilename: string;
7357
- }[] | [string, string] | null | undefined>;
6482
+ }[] | undefined>;
6483
+ createdAtLocation: string;
7358
6484
  assignedTo: null;
7359
- createdBySignature?: string | null | undefined;
7360
- createdAtLocation?: string | null | undefined;
7361
6485
  annotation?: Record<string, string | number | boolean | {
7362
6486
  type: string;
7363
6487
  filename: string;
@@ -7373,10 +6497,6 @@ export declare const EventDocument: z.ZodObject<{
7373
6497
  residentialArea?: string | null | undefined;
7374
6498
  street?: string | null | undefined;
7375
6499
  zipCode?: string | null | undefined;
7376
- } | {
7377
- firstname: string;
7378
- surname: string;
7379
- middlename?: string | null | undefined;
7380
6500
  } | {
7381
6501
  country: string;
7382
6502
  district: string;
@@ -7399,17 +6519,14 @@ export declare const EventDocument: z.ZodObject<{
7399
6519
  option: string;
7400
6520
  filename: string;
7401
6521
  originalFilename: string;
7402
- }[] | [string, string] | null | undefined> | undefined;
6522
+ }[] | undefined> | undefined;
7403
6523
  originalActionId?: string | undefined;
7404
6524
  } | {
7405
6525
  type: "REGISTER";
7406
6526
  id: string;
7407
6527
  status: "Rejected" | "Requested" | "Accepted";
7408
- transactionId: string;
7409
- createdByUserType: "system" | "user";
7410
6528
  createdAt: string;
7411
6529
  createdBy: string;
7412
- createdByRole: string;
7413
6530
  declaration: Record<string, string | number | boolean | {
7414
6531
  type: string;
7415
6532
  filename: string;
@@ -7425,10 +6542,6 @@ export declare const EventDocument: z.ZodObject<{
7425
6542
  residentialArea?: string | null | undefined;
7426
6543
  street?: string | null | undefined;
7427
6544
  zipCode?: string | null | undefined;
7428
- } | {
7429
- firstname: string;
7430
- surname: string;
7431
- middlename?: string | null | undefined;
7432
6545
  } | {
7433
6546
  country: string;
7434
6547
  district: string;
@@ -7451,9 +6564,8 @@ export declare const EventDocument: z.ZodObject<{
7451
6564
  option: string;
7452
6565
  filename: string;
7453
6566
  originalFilename: string;
7454
- }[] | [string, string] | null | undefined>;
7455
- createdBySignature?: string | null | undefined;
7456
- createdAtLocation?: string | null | undefined;
6567
+ }[] | undefined>;
6568
+ createdAtLocation: string;
7457
6569
  annotation?: Record<string, string | number | boolean | {
7458
6570
  type: string;
7459
6571
  filename: string;
@@ -7469,10 +6581,6 @@ export declare const EventDocument: z.ZodObject<{
7469
6581
  residentialArea?: string | null | undefined;
7470
6582
  street?: string | null | undefined;
7471
6583
  zipCode?: string | null | undefined;
7472
- } | {
7473
- firstname: string;
7474
- surname: string;
7475
- middlename?: string | null | undefined;
7476
6584
  } | {
7477
6585
  country: string;
7478
6586
  district: string;
@@ -7495,18 +6603,15 @@ export declare const EventDocument: z.ZodObject<{
7495
6603
  option: string;
7496
6604
  filename: string;
7497
6605
  originalFilename: string;
7498
- }[] | [string, string] | null | undefined> | undefined;
6606
+ }[] | undefined> | undefined;
7499
6607
  originalActionId?: string | undefined;
7500
6608
  registrationNumber?: string | undefined;
7501
6609
  } | {
7502
6610
  type: "DECLARE";
7503
6611
  id: string;
7504
6612
  status: "Rejected" | "Requested" | "Accepted";
7505
- transactionId: string;
7506
- createdByUserType: "system" | "user";
7507
6613
  createdAt: string;
7508
6614
  createdBy: string;
7509
- createdByRole: string;
7510
6615
  declaration: Record<string, string | number | boolean | {
7511
6616
  type: string;
7512
6617
  filename: string;
@@ -7522,10 +6627,6 @@ export declare const EventDocument: z.ZodObject<{
7522
6627
  residentialArea?: string | null | undefined;
7523
6628
  street?: string | null | undefined;
7524
6629
  zipCode?: string | null | undefined;
7525
- } | {
7526
- firstname: string;
7527
- surname: string;
7528
- middlename?: string | null | undefined;
7529
6630
  } | {
7530
6631
  country: string;
7531
6632
  district: string;
@@ -7548,9 +6649,8 @@ export declare const EventDocument: z.ZodObject<{
7548
6649
  option: string;
7549
6650
  filename: string;
7550
6651
  originalFilename: string;
7551
- }[] | [string, string] | null | undefined>;
7552
- createdBySignature?: string | null | undefined;
7553
- createdAtLocation?: string | null | undefined;
6652
+ }[] | undefined>;
6653
+ createdAtLocation: string;
7554
6654
  annotation?: Record<string, string | number | boolean | {
7555
6655
  type: string;
7556
6656
  filename: string;
@@ -7566,10 +6666,6 @@ export declare const EventDocument: z.ZodObject<{
7566
6666
  residentialArea?: string | null | undefined;
7567
6667
  street?: string | null | undefined;
7568
6668
  zipCode?: string | null | undefined;
7569
- } | {
7570
- firstname: string;
7571
- surname: string;
7572
- middlename?: string | null | undefined;
7573
6669
  } | {
7574
6670
  country: string;
7575
6671
  district: string;
@@ -7592,17 +6688,14 @@ export declare const EventDocument: z.ZodObject<{
7592
6688
  option: string;
7593
6689
  filename: string;
7594
6690
  originalFilename: string;
7595
- }[] | [string, string] | null | undefined> | undefined;
6691
+ }[] | undefined> | undefined;
7596
6692
  originalActionId?: string | undefined;
7597
6693
  } | {
7598
6694
  type: "VALIDATE";
7599
6695
  id: string;
7600
6696
  status: "Rejected" | "Requested" | "Accepted";
7601
- transactionId: string;
7602
- createdByUserType: "system" | "user";
7603
6697
  createdAt: string;
7604
6698
  createdBy: string;
7605
- createdByRole: string;
7606
6699
  declaration: Record<string, string | number | boolean | {
7607
6700
  type: string;
7608
6701
  filename: string;
@@ -7618,10 +6711,6 @@ export declare const EventDocument: z.ZodObject<{
7618
6711
  residentialArea?: string | null | undefined;
7619
6712
  street?: string | null | undefined;
7620
6713
  zipCode?: string | null | undefined;
7621
- } | {
7622
- firstname: string;
7623
- surname: string;
7624
- middlename?: string | null | undefined;
7625
6714
  } | {
7626
6715
  country: string;
7627
6716
  district: string;
@@ -7644,9 +6733,8 @@ export declare const EventDocument: z.ZodObject<{
7644
6733
  option: string;
7645
6734
  filename: string;
7646
6735
  originalFilename: string;
7647
- }[] | [string, string] | null | undefined>;
7648
- createdBySignature?: string | null | undefined;
7649
- createdAtLocation?: string | null | undefined;
6736
+ }[] | undefined>;
6737
+ createdAtLocation: string;
7650
6738
  annotation?: Record<string, string | number | boolean | {
7651
6739
  type: string;
7652
6740
  filename: string;
@@ -7662,10 +6750,6 @@ export declare const EventDocument: z.ZodObject<{
7662
6750
  residentialArea?: string | null | undefined;
7663
6751
  street?: string | null | undefined;
7664
6752
  zipCode?: string | null | undefined;
7665
- } | {
7666
- firstname: string;
7667
- surname: string;
7668
- middlename?: string | null | undefined;
7669
6753
  } | {
7670
6754
  country: string;
7671
6755
  district: string;
@@ -7688,21 +6772,14 @@ export declare const EventDocument: z.ZodObject<{
7688
6772
  option: string;
7689
6773
  filename: string;
7690
6774
  originalFilename: string;
7691
- }[] | [string, string] | null | undefined> | undefined;
6775
+ }[] | undefined> | undefined;
7692
6776
  originalActionId?: string | undefined;
7693
6777
  } | {
7694
6778
  type: "REJECT";
7695
6779
  id: string;
7696
6780
  status: "Rejected" | "Requested" | "Accepted";
7697
- reason: {
7698
- message: string;
7699
- isDuplicate?: boolean | undefined;
7700
- };
7701
- transactionId: string;
7702
- createdByUserType: "system" | "user";
7703
6781
  createdAt: string;
7704
6782
  createdBy: string;
7705
- createdByRole: string;
7706
6783
  declaration: Record<string, string | number | boolean | {
7707
6784
  type: string;
7708
6785
  filename: string;
@@ -7718,10 +6795,6 @@ export declare const EventDocument: z.ZodObject<{
7718
6795
  residentialArea?: string | null | undefined;
7719
6796
  street?: string | null | undefined;
7720
6797
  zipCode?: string | null | undefined;
7721
- } | {
7722
- firstname: string;
7723
- surname: string;
7724
- middlename?: string | null | undefined;
7725
6798
  } | {
7726
6799
  country: string;
7727
6800
  district: string;
@@ -7744,9 +6817,8 @@ export declare const EventDocument: z.ZodObject<{
7744
6817
  option: string;
7745
6818
  filename: string;
7746
6819
  originalFilename: string;
7747
- }[] | [string, string] | null | undefined>;
7748
- createdBySignature?: string | null | undefined;
7749
- createdAtLocation?: string | null | undefined;
6820
+ }[] | undefined>;
6821
+ createdAtLocation: string;
7750
6822
  annotation?: Record<string, string | number | boolean | {
7751
6823
  type: string;
7752
6824
  filename: string;
@@ -7762,10 +6834,6 @@ export declare const EventDocument: z.ZodObject<{
7762
6834
  residentialArea?: string | null | undefined;
7763
6835
  street?: string | null | undefined;
7764
6836
  zipCode?: string | null | undefined;
7765
- } | {
7766
- firstname: string;
7767
- surname: string;
7768
- middlename?: string | null | undefined;
7769
6837
  } | {
7770
6838
  country: string;
7771
6839
  district: string;
@@ -7788,17 +6856,14 @@ export declare const EventDocument: z.ZodObject<{
7788
6856
  option: string;
7789
6857
  filename: string;
7790
6858
  originalFilename: string;
7791
- }[] | [string, string] | null | undefined> | undefined;
6859
+ }[] | undefined> | undefined;
7792
6860
  originalActionId?: string | undefined;
7793
6861
  } | {
7794
6862
  type: "MARKED_AS_DUPLICATE";
7795
6863
  id: string;
7796
6864
  status: "Rejected" | "Requested" | "Accepted";
7797
- transactionId: string;
7798
- createdByUserType: "system" | "user";
7799
6865
  createdAt: string;
7800
6866
  createdBy: string;
7801
- createdByRole: string;
7802
6867
  declaration: Record<string, string | number | boolean | {
7803
6868
  type: string;
7804
6869
  filename: string;
@@ -7814,10 +6879,6 @@ export declare const EventDocument: z.ZodObject<{
7814
6879
  residentialArea?: string | null | undefined;
7815
6880
  street?: string | null | undefined;
7816
6881
  zipCode?: string | null | undefined;
7817
- } | {
7818
- firstname: string;
7819
- surname: string;
7820
- middlename?: string | null | undefined;
7821
6882
  } | {
7822
6883
  country: string;
7823
6884
  district: string;
@@ -7840,9 +6901,8 @@ export declare const EventDocument: z.ZodObject<{
7840
6901
  option: string;
7841
6902
  filename: string;
7842
6903
  originalFilename: string;
7843
- }[] | [string, string] | null | undefined>;
7844
- createdBySignature?: string | null | undefined;
7845
- createdAtLocation?: string | null | undefined;
6904
+ }[] | undefined>;
6905
+ createdAtLocation: string;
7846
6906
  annotation?: Record<string, string | number | boolean | {
7847
6907
  type: string;
7848
6908
  filename: string;
@@ -7858,10 +6918,6 @@ export declare const EventDocument: z.ZodObject<{
7858
6918
  residentialArea?: string | null | undefined;
7859
6919
  street?: string | null | undefined;
7860
6920
  zipCode?: string | null | undefined;
7861
- } | {
7862
- firstname: string;
7863
- surname: string;
7864
- middlename?: string | null | undefined;
7865
6921
  } | {
7866
6922
  country: string;
7867
6923
  district: string;
@@ -7884,21 +6940,14 @@ export declare const EventDocument: z.ZodObject<{
7884
6940
  option: string;
7885
6941
  filename: string;
7886
6942
  originalFilename: string;
7887
- }[] | [string, string] | null | undefined> | undefined;
6943
+ }[] | undefined> | undefined;
7888
6944
  originalActionId?: string | undefined;
7889
6945
  } | {
7890
6946
  type: "ARCHIVE";
7891
6947
  id: string;
7892
6948
  status: "Rejected" | "Requested" | "Accepted";
7893
- reason: {
7894
- message: string;
7895
- isDuplicate?: boolean | undefined;
7896
- };
7897
- transactionId: string;
7898
- createdByUserType: "system" | "user";
7899
6949
  createdAt: string;
7900
6950
  createdBy: string;
7901
- createdByRole: string;
7902
6951
  declaration: Record<string, string | number | boolean | {
7903
6952
  type: string;
7904
6953
  filename: string;
@@ -7914,10 +6963,6 @@ export declare const EventDocument: z.ZodObject<{
7914
6963
  residentialArea?: string | null | undefined;
7915
6964
  street?: string | null | undefined;
7916
6965
  zipCode?: string | null | undefined;
7917
- } | {
7918
- firstname: string;
7919
- surname: string;
7920
- middlename?: string | null | undefined;
7921
6966
  } | {
7922
6967
  country: string;
7923
6968
  district: string;
@@ -7940,9 +6985,8 @@ export declare const EventDocument: z.ZodObject<{
7940
6985
  option: string;
7941
6986
  filename: string;
7942
6987
  originalFilename: string;
7943
- }[] | [string, string] | null | undefined>;
7944
- createdBySignature?: string | null | undefined;
7945
- createdAtLocation?: string | null | undefined;
6988
+ }[] | undefined>;
6989
+ createdAtLocation: string;
7946
6990
  annotation?: Record<string, string | number | boolean | {
7947
6991
  type: string;
7948
6992
  filename: string;
@@ -7958,10 +7002,6 @@ export declare const EventDocument: z.ZodObject<{
7958
7002
  residentialArea?: string | null | undefined;
7959
7003
  street?: string | null | undefined;
7960
7004
  zipCode?: string | null | undefined;
7961
- } | {
7962
- firstname: string;
7963
- surname: string;
7964
- middlename?: string | null | undefined;
7965
7005
  } | {
7966
7006
  country: string;
7967
7007
  district: string;
@@ -7984,17 +7024,14 @@ export declare const EventDocument: z.ZodObject<{
7984
7024
  option: string;
7985
7025
  filename: string;
7986
7026
  originalFilename: string;
7987
- }[] | [string, string] | null | undefined> | undefined;
7027
+ }[] | undefined> | undefined;
7988
7028
  originalActionId?: string | undefined;
7989
7029
  } | {
7990
7030
  type: "CREATE";
7991
7031
  id: string;
7992
7032
  status: "Rejected" | "Requested" | "Accepted";
7993
- transactionId: string;
7994
- createdByUserType: "system" | "user";
7995
7033
  createdAt: string;
7996
7034
  createdBy: string;
7997
- createdByRole: string;
7998
7035
  declaration: Record<string, string | number | boolean | {
7999
7036
  type: string;
8000
7037
  filename: string;
@@ -8010,10 +7047,6 @@ export declare const EventDocument: z.ZodObject<{
8010
7047
  residentialArea?: string | null | undefined;
8011
7048
  street?: string | null | undefined;
8012
7049
  zipCode?: string | null | undefined;
8013
- } | {
8014
- firstname: string;
8015
- surname: string;
8016
- middlename?: string | null | undefined;
8017
7050
  } | {
8018
7051
  country: string;
8019
7052
  district: string;
@@ -8036,9 +7069,8 @@ export declare const EventDocument: z.ZodObject<{
8036
7069
  option: string;
8037
7070
  filename: string;
8038
7071
  originalFilename: string;
8039
- }[] | [string, string] | null | undefined>;
8040
- createdBySignature?: string | null | undefined;
8041
- createdAtLocation?: string | null | undefined;
7072
+ }[] | undefined>;
7073
+ createdAtLocation: string;
8042
7074
  annotation?: Record<string, string | number | boolean | {
8043
7075
  type: string;
8044
7076
  filename: string;
@@ -8054,10 +7086,6 @@ export declare const EventDocument: z.ZodObject<{
8054
7086
  residentialArea?: string | null | undefined;
8055
7087
  street?: string | null | undefined;
8056
7088
  zipCode?: string | null | undefined;
8057
- } | {
8058
- firstname: string;
8059
- surname: string;
8060
- middlename?: string | null | undefined;
8061
7089
  } | {
8062
7090
  country: string;
8063
7091
  district: string;
@@ -8080,17 +7108,14 @@ export declare const EventDocument: z.ZodObject<{
8080
7108
  option: string;
8081
7109
  filename: string;
8082
7110
  originalFilename: string;
8083
- }[] | [string, string] | null | undefined> | undefined;
7111
+ }[] | undefined> | undefined;
8084
7112
  originalActionId?: string | undefined;
8085
7113
  } | {
8086
7114
  type: "NOTIFY";
8087
7115
  id: string;
8088
7116
  status: "Rejected" | "Requested" | "Accepted";
8089
- transactionId: string;
8090
- createdByUserType: "system" | "user";
8091
7117
  createdAt: string;
8092
7118
  createdBy: string;
8093
- createdByRole: string;
8094
7119
  declaration: Record<string, string | number | boolean | {
8095
7120
  type: string;
8096
7121
  filename: string;
@@ -8106,10 +7131,6 @@ export declare const EventDocument: z.ZodObject<{
8106
7131
  residentialArea?: string | null | undefined;
8107
7132
  street?: string | null | undefined;
8108
7133
  zipCode?: string | null | undefined;
8109
- } | {
8110
- firstname: string;
8111
- surname: string;
8112
- middlename?: string | null | undefined;
8113
7134
  } | {
8114
7135
  country: string;
8115
7136
  district: string;
@@ -8132,9 +7153,8 @@ export declare const EventDocument: z.ZodObject<{
8132
7153
  option: string;
8133
7154
  filename: string;
8134
7155
  originalFilename: string;
8135
- }[] | [string, string] | null | undefined>;
8136
- createdBySignature?: string | null | undefined;
8137
- createdAtLocation?: string | null | undefined;
7156
+ }[] | undefined>;
7157
+ createdAtLocation: string;
8138
7158
  annotation?: Record<string, string | number | boolean | {
8139
7159
  type: string;
8140
7160
  filename: string;
@@ -8150,10 +7170,6 @@ export declare const EventDocument: z.ZodObject<{
8150
7170
  residentialArea?: string | null | undefined;
8151
7171
  street?: string | null | undefined;
8152
7172
  zipCode?: string | null | undefined;
8153
- } | {
8154
- firstname: string;
8155
- surname: string;
8156
- middlename?: string | null | undefined;
8157
7173
  } | {
8158
7174
  country: string;
8159
7175
  district: string;
@@ -8176,17 +7192,14 @@ export declare const EventDocument: z.ZodObject<{
8176
7192
  option: string;
8177
7193
  filename: string;
8178
7194
  originalFilename: string;
8179
- }[] | [string, string] | null | undefined> | undefined;
7195
+ }[] | undefined> | undefined;
8180
7196
  originalActionId?: string | undefined;
8181
7197
  } | {
8182
7198
  type: "PRINT_CERTIFICATE";
8183
7199
  id: string;
8184
7200
  status: "Rejected" | "Requested" | "Accepted";
8185
- transactionId: string;
8186
- createdByUserType: "system" | "user";
8187
7201
  createdAt: string;
8188
7202
  createdBy: string;
8189
- createdByRole: string;
8190
7203
  declaration: Record<string, string | number | boolean | {
8191
7204
  type: string;
8192
7205
  filename: string;
@@ -8202,10 +7215,6 @@ export declare const EventDocument: z.ZodObject<{
8202
7215
  residentialArea?: string | null | undefined;
8203
7216
  street?: string | null | undefined;
8204
7217
  zipCode?: string | null | undefined;
8205
- } | {
8206
- firstname: string;
8207
- surname: string;
8208
- middlename?: string | null | undefined;
8209
7218
  } | {
8210
7219
  country: string;
8211
7220
  district: string;
@@ -8228,9 +7237,8 @@ export declare const EventDocument: z.ZodObject<{
8228
7237
  option: string;
8229
7238
  filename: string;
8230
7239
  originalFilename: string;
8231
- }[] | [string, string] | null | undefined>;
8232
- createdBySignature?: string | null | undefined;
8233
- createdAtLocation?: string | null | undefined;
7240
+ }[] | undefined>;
7241
+ createdAtLocation: string;
8234
7242
  annotation?: Record<string, string | number | boolean | {
8235
7243
  type: string;
8236
7244
  filename: string;
@@ -8246,10 +7254,6 @@ export declare const EventDocument: z.ZodObject<{
8246
7254
  residentialArea?: string | null | undefined;
8247
7255
  street?: string | null | undefined;
8248
7256
  zipCode?: string | null | undefined;
8249
- } | {
8250
- firstname: string;
8251
- surname: string;
8252
- middlename?: string | null | undefined;
8253
7257
  } | {
8254
7258
  country: string;
8255
7259
  district: string;
@@ -8272,17 +7276,14 @@ export declare const EventDocument: z.ZodObject<{
8272
7276
  option: string;
8273
7277
  filename: string;
8274
7278
  originalFilename: string;
8275
- }[] | [string, string] | null | undefined> | undefined;
7279
+ }[] | undefined> | undefined;
8276
7280
  originalActionId?: string | undefined;
8277
7281
  } | {
8278
7282
  type: "REQUEST_CORRECTION";
8279
7283
  id: string;
8280
7284
  status: "Rejected" | "Requested" | "Accepted";
8281
- transactionId: string;
8282
- createdByUserType: "system" | "user";
8283
7285
  createdAt: string;
8284
7286
  createdBy: string;
8285
- createdByRole: string;
8286
7287
  declaration: Record<string, string | number | boolean | {
8287
7288
  type: string;
8288
7289
  filename: string;
@@ -8298,10 +7299,6 @@ export declare const EventDocument: z.ZodObject<{
8298
7299
  residentialArea?: string | null | undefined;
8299
7300
  street?: string | null | undefined;
8300
7301
  zipCode?: string | null | undefined;
8301
- } | {
8302
- firstname: string;
8303
- surname: string;
8304
- middlename?: string | null | undefined;
8305
7302
  } | {
8306
7303
  country: string;
8307
7304
  district: string;
@@ -8324,9 +7321,8 @@ export declare const EventDocument: z.ZodObject<{
8324
7321
  option: string;
8325
7322
  filename: string;
8326
7323
  originalFilename: string;
8327
- }[] | [string, string] | null | undefined>;
8328
- createdBySignature?: string | null | undefined;
8329
- createdAtLocation?: string | null | undefined;
7324
+ }[] | undefined>;
7325
+ createdAtLocation: string;
8330
7326
  annotation?: Record<string, string | number | boolean | {
8331
7327
  type: string;
8332
7328
  filename: string;
@@ -8342,10 +7338,6 @@ export declare const EventDocument: z.ZodObject<{
8342
7338
  residentialArea?: string | null | undefined;
8343
7339
  street?: string | null | undefined;
8344
7340
  zipCode?: string | null | undefined;
8345
- } | {
8346
- firstname: string;
8347
- surname: string;
8348
- middlename?: string | null | undefined;
8349
7341
  } | {
8350
7342
  country: string;
8351
7343
  district: string;
@@ -8368,17 +7360,14 @@ export declare const EventDocument: z.ZodObject<{
8368
7360
  option: string;
8369
7361
  filename: string;
8370
7362
  originalFilename: string;
8371
- }[] | [string, string] | null | undefined> | undefined;
7363
+ }[] | undefined> | undefined;
8372
7364
  originalActionId?: string | undefined;
8373
7365
  } | {
8374
7366
  type: "APPROVE_CORRECTION";
8375
7367
  id: string;
8376
7368
  status: "Rejected" | "Requested" | "Accepted";
8377
- transactionId: string;
8378
- createdByUserType: "system" | "user";
8379
7369
  createdAt: string;
8380
7370
  createdBy: string;
8381
- createdByRole: string;
8382
7371
  declaration: Record<string, string | number | boolean | {
8383
7372
  type: string;
8384
7373
  filename: string;
@@ -8394,10 +7383,6 @@ export declare const EventDocument: z.ZodObject<{
8394
7383
  residentialArea?: string | null | undefined;
8395
7384
  street?: string | null | undefined;
8396
7385
  zipCode?: string | null | undefined;
8397
- } | {
8398
- firstname: string;
8399
- surname: string;
8400
- middlename?: string | null | undefined;
8401
7386
  } | {
8402
7387
  country: string;
8403
7388
  district: string;
@@ -8420,10 +7405,9 @@ export declare const EventDocument: z.ZodObject<{
8420
7405
  option: string;
8421
7406
  filename: string;
8422
7407
  originalFilename: string;
8423
- }[] | [string, string] | null | undefined>;
7408
+ }[] | undefined>;
7409
+ createdAtLocation: string;
8424
7410
  requestId: string;
8425
- createdBySignature?: string | null | undefined;
8426
- createdAtLocation?: string | null | undefined;
8427
7411
  annotation?: Record<string, string | number | boolean | {
8428
7412
  type: string;
8429
7413
  filename: string;
@@ -8439,10 +7423,6 @@ export declare const EventDocument: z.ZodObject<{
8439
7423
  residentialArea?: string | null | undefined;
8440
7424
  street?: string | null | undefined;
8441
7425
  zipCode?: string | null | undefined;
8442
- } | {
8443
- firstname: string;
8444
- surname: string;
8445
- middlename?: string | null | undefined;
8446
7426
  } | {
8447
7427
  country: string;
8448
7428
  district: string;
@@ -8465,17 +7445,14 @@ export declare const EventDocument: z.ZodObject<{
8465
7445
  option: string;
8466
7446
  filename: string;
8467
7447
  originalFilename: string;
8468
- }[] | [string, string] | null | undefined> | undefined;
7448
+ }[] | undefined> | undefined;
8469
7449
  originalActionId?: string | undefined;
8470
7450
  } | {
8471
7451
  type: "REJECT_CORRECTION";
8472
7452
  id: string;
8473
7453
  status: "Rejected" | "Requested" | "Accepted";
8474
- transactionId: string;
8475
- createdByUserType: "system" | "user";
8476
7454
  createdAt: string;
8477
7455
  createdBy: string;
8478
- createdByRole: string;
8479
7456
  declaration: Record<string, string | number | boolean | {
8480
7457
  type: string;
8481
7458
  filename: string;
@@ -8491,10 +7468,6 @@ export declare const EventDocument: z.ZodObject<{
8491
7468
  residentialArea?: string | null | undefined;
8492
7469
  street?: string | null | undefined;
8493
7470
  zipCode?: string | null | undefined;
8494
- } | {
8495
- firstname: string;
8496
- surname: string;
8497
- middlename?: string | null | undefined;
8498
7471
  } | {
8499
7472
  country: string;
8500
7473
  district: string;
@@ -8517,10 +7490,9 @@ export declare const EventDocument: z.ZodObject<{
8517
7490
  option: string;
8518
7491
  filename: string;
8519
7492
  originalFilename: string;
8520
- }[] | [string, string] | null | undefined>;
7493
+ }[] | undefined>;
7494
+ createdAtLocation: string;
8521
7495
  requestId: string;
8522
- createdBySignature?: string | null | undefined;
8523
- createdAtLocation?: string | null | undefined;
8524
7496
  annotation?: Record<string, string | number | boolean | {
8525
7497
  type: string;
8526
7498
  filename: string;
@@ -8536,10 +7508,6 @@ export declare const EventDocument: z.ZodObject<{
8536
7508
  residentialArea?: string | null | undefined;
8537
7509
  street?: string | null | undefined;
8538
7510
  zipCode?: string | null | undefined;
8539
- } | {
8540
- firstname: string;
8541
- surname: string;
8542
- middlename?: string | null | undefined;
8543
7511
  } | {
8544
7512
  country: string;
8545
7513
  district: string;
@@ -8562,17 +7530,14 @@ export declare const EventDocument: z.ZodObject<{
8562
7530
  option: string;
8563
7531
  filename: string;
8564
7532
  originalFilename: string;
8565
- }[] | [string, string] | null | undefined> | undefined;
7533
+ }[] | undefined> | undefined;
8566
7534
  originalActionId?: string | undefined;
8567
7535
  } | {
8568
7536
  type: "READ";
8569
7537
  id: string;
8570
7538
  status: "Rejected" | "Requested" | "Accepted";
8571
- transactionId: string;
8572
- createdByUserType: "system" | "user";
8573
7539
  createdAt: string;
8574
7540
  createdBy: string;
8575
- createdByRole: string;
8576
7541
  declaration: Record<string, string | number | boolean | {
8577
7542
  type: string;
8578
7543
  filename: string;
@@ -8588,10 +7553,6 @@ export declare const EventDocument: z.ZodObject<{
8588
7553
  residentialArea?: string | null | undefined;
8589
7554
  street?: string | null | undefined;
8590
7555
  zipCode?: string | null | undefined;
8591
- } | {
8592
- firstname: string;
8593
- surname: string;
8594
- middlename?: string | null | undefined;
8595
7556
  } | {
8596
7557
  country: string;
8597
7558
  district: string;
@@ -8614,9 +7575,8 @@ export declare const EventDocument: z.ZodObject<{
8614
7575
  option: string;
8615
7576
  filename: string;
8616
7577
  originalFilename: string;
8617
- }[] | [string, string] | null | undefined>;
8618
- createdBySignature?: string | null | undefined;
8619
- createdAtLocation?: string | null | undefined;
7578
+ }[] | undefined>;
7579
+ createdAtLocation: string;
8620
7580
  annotation?: Record<string, string | number | boolean | {
8621
7581
  type: string;
8622
7582
  filename: string;
@@ -8632,10 +7592,6 @@ export declare const EventDocument: z.ZodObject<{
8632
7592
  residentialArea?: string | null | undefined;
8633
7593
  street?: string | null | undefined;
8634
7594
  zipCode?: string | null | undefined;
8635
- } | {
8636
- firstname: string;
8637
- surname: string;
8638
- middlename?: string | null | undefined;
8639
7595
  } | {
8640
7596
  country: string;
8641
7597
  district: string;
@@ -8658,19 +7614,13 @@ export declare const EventDocument: z.ZodObject<{
8658
7614
  option: string;
8659
7615
  filename: string;
8660
7616
  originalFilename: string;
8661
- }[] | [string, string] | null | undefined> | undefined;
7617
+ }[] | undefined> | undefined;
8662
7618
  originalActionId?: string | undefined;
8663
7619
  } | {
8664
7620
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8665
7621
  id: string;
8666
7622
  status: "Rejected";
8667
- transactionId: string;
8668
- createdByUserType: "system" | "user";
8669
7623
  createdAt: string;
8670
- createdBy: string;
8671
- createdByRole: string;
8672
- createdBySignature?: string | null | undefined;
8673
- createdAtLocation?: string | null | undefined;
8674
7624
  originalActionId?: string | undefined;
8675
7625
  })[];
8676
7626
  trackingId: string;
@@ -8683,11 +7633,8 @@ export declare const EventDocument: z.ZodObject<{
8683
7633
  type: "ASSIGN";
8684
7634
  id: string;
8685
7635
  status: "Rejected" | "Requested" | "Accepted";
8686
- transactionId: string;
8687
- createdByUserType: "system" | "user";
8688
7636
  createdAt: string;
8689
7637
  createdBy: string;
8690
- createdByRole: string;
8691
7638
  declaration: Record<string, string | number | boolean | {
8692
7639
  type: string;
8693
7640
  filename: string;
@@ -8703,10 +7650,6 @@ export declare const EventDocument: z.ZodObject<{
8703
7650
  residentialArea?: string | null | undefined;
8704
7651
  street?: string | null | undefined;
8705
7652
  zipCode?: string | null | undefined;
8706
- } | {
8707
- firstname: string;
8708
- surname: string;
8709
- middlename?: string | null | undefined;
8710
7653
  } | {
8711
7654
  country: string;
8712
7655
  district: string;
@@ -8729,10 +7672,9 @@ export declare const EventDocument: z.ZodObject<{
8729
7672
  option: string;
8730
7673
  filename: string;
8731
7674
  originalFilename: string;
8732
- }[] | [string, string] | null | undefined>;
7675
+ }[] | undefined>;
7676
+ createdAtLocation: string;
8733
7677
  assignedTo: string;
8734
- createdBySignature?: string | null | undefined;
8735
- createdAtLocation?: string | null | undefined;
8736
7678
  annotation?: Record<string, string | number | boolean | {
8737
7679
  type: string;
8738
7680
  filename: string;
@@ -8748,10 +7690,6 @@ export declare const EventDocument: z.ZodObject<{
8748
7690
  residentialArea?: string | null | undefined;
8749
7691
  street?: string | null | undefined;
8750
7692
  zipCode?: string | null | undefined;
8751
- } | {
8752
- firstname: string;
8753
- surname: string;
8754
- middlename?: string | null | undefined;
8755
7693
  } | {
8756
7694
  country: string;
8757
7695
  district: string;
@@ -8774,17 +7712,14 @@ export declare const EventDocument: z.ZodObject<{
8774
7712
  option: string;
8775
7713
  filename: string;
8776
7714
  originalFilename: string;
8777
- }[] | [string, string] | null | undefined> | undefined;
7715
+ }[] | undefined> | undefined;
8778
7716
  originalActionId?: string | undefined;
8779
7717
  } | {
8780
7718
  type: "UNASSIGN";
8781
7719
  id: string;
8782
7720
  status: "Rejected" | "Requested" | "Accepted";
8783
- transactionId: string;
8784
- createdByUserType: "system" | "user";
8785
7721
  createdAt: string;
8786
7722
  createdBy: string;
8787
- createdByRole: string;
8788
7723
  declaration: Record<string, string | number | boolean | {
8789
7724
  type: string;
8790
7725
  filename: string;
@@ -8800,10 +7735,6 @@ export declare const EventDocument: z.ZodObject<{
8800
7735
  residentialArea?: string | null | undefined;
8801
7736
  street?: string | null | undefined;
8802
7737
  zipCode?: string | null | undefined;
8803
- } | {
8804
- firstname: string;
8805
- surname: string;
8806
- middlename?: string | null | undefined;
8807
7738
  } | {
8808
7739
  country: string;
8809
7740
  district: string;
@@ -8826,10 +7757,8 @@ export declare const EventDocument: z.ZodObject<{
8826
7757
  option: string;
8827
7758
  filename: string;
8828
7759
  originalFilename: string;
8829
- }[] | [string, string] | null | undefined>;
8830
- assignedTo: null;
8831
- createdBySignature?: string | null | undefined;
8832
- createdAtLocation?: string | null | undefined;
7760
+ }[] | undefined>;
7761
+ createdAtLocation: string;
8833
7762
  annotation?: Record<string, string | number | boolean | {
8834
7763
  type: string;
8835
7764
  filename: string;
@@ -8845,10 +7774,6 @@ export declare const EventDocument: z.ZodObject<{
8845
7774
  residentialArea?: string | null | undefined;
8846
7775
  street?: string | null | undefined;
8847
7776
  zipCode?: string | null | undefined;
8848
- } | {
8849
- firstname: string;
8850
- surname: string;
8851
- middlename?: string | null | undefined;
8852
7777
  } | {
8853
7778
  country: string;
8854
7779
  district: string;
@@ -8871,17 +7796,15 @@ export declare const EventDocument: z.ZodObject<{
8871
7796
  option: string;
8872
7797
  filename: string;
8873
7798
  originalFilename: string;
8874
- }[] | [string, string] | null | undefined> | undefined;
7799
+ }[] | undefined> | undefined;
8875
7800
  originalActionId?: string | undefined;
7801
+ assignedTo?: null | undefined;
8876
7802
  } | {
8877
7803
  type: "REGISTER";
8878
7804
  id: string;
8879
7805
  status: "Rejected" | "Requested" | "Accepted";
8880
- transactionId: string;
8881
- createdByUserType: "system" | "user";
8882
7806
  createdAt: string;
8883
7807
  createdBy: string;
8884
- createdByRole: string;
8885
7808
  declaration: Record<string, string | number | boolean | {
8886
7809
  type: string;
8887
7810
  filename: string;
@@ -8897,10 +7820,6 @@ export declare const EventDocument: z.ZodObject<{
8897
7820
  residentialArea?: string | null | undefined;
8898
7821
  street?: string | null | undefined;
8899
7822
  zipCode?: string | null | undefined;
8900
- } | {
8901
- firstname: string;
8902
- surname: string;
8903
- middlename?: string | null | undefined;
8904
7823
  } | {
8905
7824
  country: string;
8906
7825
  district: string;
@@ -8923,9 +7842,8 @@ export declare const EventDocument: z.ZodObject<{
8923
7842
  option: string;
8924
7843
  filename: string;
8925
7844
  originalFilename: string;
8926
- }[] | [string, string] | null | undefined>;
8927
- createdBySignature?: string | null | undefined;
8928
- createdAtLocation?: string | null | undefined;
7845
+ }[] | undefined>;
7846
+ createdAtLocation: string;
8929
7847
  annotation?: Record<string, string | number | boolean | {
8930
7848
  type: string;
8931
7849
  filename: string;
@@ -8941,10 +7859,6 @@ export declare const EventDocument: z.ZodObject<{
8941
7859
  residentialArea?: string | null | undefined;
8942
7860
  street?: string | null | undefined;
8943
7861
  zipCode?: string | null | undefined;
8944
- } | {
8945
- firstname: string;
8946
- surname: string;
8947
- middlename?: string | null | undefined;
8948
7862
  } | {
8949
7863
  country: string;
8950
7864
  district: string;
@@ -8967,18 +7881,15 @@ export declare const EventDocument: z.ZodObject<{
8967
7881
  option: string;
8968
7882
  filename: string;
8969
7883
  originalFilename: string;
8970
- }[] | [string, string] | null | undefined> | undefined;
7884
+ }[] | undefined> | undefined;
8971
7885
  originalActionId?: string | undefined;
8972
7886
  registrationNumber?: string | undefined;
8973
7887
  } | {
8974
7888
  type: "DECLARE";
8975
7889
  id: string;
8976
7890
  status: "Rejected" | "Requested" | "Accepted";
8977
- transactionId: string;
8978
- createdByUserType: "system" | "user";
8979
7891
  createdAt: string;
8980
7892
  createdBy: string;
8981
- createdByRole: string;
8982
7893
  declaration: Record<string, string | number | boolean | {
8983
7894
  type: string;
8984
7895
  filename: string;
@@ -8994,10 +7905,6 @@ export declare const EventDocument: z.ZodObject<{
8994
7905
  residentialArea?: string | null | undefined;
8995
7906
  street?: string | null | undefined;
8996
7907
  zipCode?: string | null | undefined;
8997
- } | {
8998
- firstname: string;
8999
- surname: string;
9000
- middlename?: string | null | undefined;
9001
7908
  } | {
9002
7909
  country: string;
9003
7910
  district: string;
@@ -9020,9 +7927,8 @@ export declare const EventDocument: z.ZodObject<{
9020
7927
  option: string;
9021
7928
  filename: string;
9022
7929
  originalFilename: string;
9023
- }[] | [string, string] | null | undefined>;
9024
- createdBySignature?: string | null | undefined;
9025
- createdAtLocation?: string | null | undefined;
7930
+ }[] | undefined>;
7931
+ createdAtLocation: string;
9026
7932
  annotation?: Record<string, string | number | boolean | {
9027
7933
  type: string;
9028
7934
  filename: string;
@@ -9038,10 +7944,6 @@ export declare const EventDocument: z.ZodObject<{
9038
7944
  residentialArea?: string | null | undefined;
9039
7945
  street?: string | null | undefined;
9040
7946
  zipCode?: string | null | undefined;
9041
- } | {
9042
- firstname: string;
9043
- surname: string;
9044
- middlename?: string | null | undefined;
9045
7947
  } | {
9046
7948
  country: string;
9047
7949
  district: string;
@@ -9064,17 +7966,14 @@ export declare const EventDocument: z.ZodObject<{
9064
7966
  option: string;
9065
7967
  filename: string;
9066
7968
  originalFilename: string;
9067
- }[] | [string, string] | null | undefined> | undefined;
7969
+ }[] | undefined> | undefined;
9068
7970
  originalActionId?: string | undefined;
9069
7971
  } | {
9070
7972
  type: "VALIDATE";
9071
7973
  id: string;
9072
7974
  status: "Rejected" | "Requested" | "Accepted";
9073
- transactionId: string;
9074
- createdByUserType: "system" | "user";
9075
7975
  createdAt: string;
9076
7976
  createdBy: string;
9077
- createdByRole: string;
9078
7977
  declaration: Record<string, string | number | boolean | {
9079
7978
  type: string;
9080
7979
  filename: string;
@@ -9090,10 +7989,6 @@ export declare const EventDocument: z.ZodObject<{
9090
7989
  residentialArea?: string | null | undefined;
9091
7990
  street?: string | null | undefined;
9092
7991
  zipCode?: string | null | undefined;
9093
- } | {
9094
- firstname: string;
9095
- surname: string;
9096
- middlename?: string | null | undefined;
9097
7992
  } | {
9098
7993
  country: string;
9099
7994
  district: string;
@@ -9116,9 +8011,8 @@ export declare const EventDocument: z.ZodObject<{
9116
8011
  option: string;
9117
8012
  filename: string;
9118
8013
  originalFilename: string;
9119
- }[] | [string, string] | null | undefined>;
9120
- createdBySignature?: string | null | undefined;
9121
- createdAtLocation?: string | null | undefined;
8014
+ }[] | undefined>;
8015
+ createdAtLocation: string;
9122
8016
  annotation?: Record<string, string | number | boolean | {
9123
8017
  type: string;
9124
8018
  filename: string;
@@ -9134,10 +8028,6 @@ export declare const EventDocument: z.ZodObject<{
9134
8028
  residentialArea?: string | null | undefined;
9135
8029
  street?: string | null | undefined;
9136
8030
  zipCode?: string | null | undefined;
9137
- } | {
9138
- firstname: string;
9139
- surname: string;
9140
- middlename?: string | null | undefined;
9141
8031
  } | {
9142
8032
  country: string;
9143
8033
  district: string;
@@ -9160,21 +8050,14 @@ export declare const EventDocument: z.ZodObject<{
9160
8050
  option: string;
9161
8051
  filename: string;
9162
8052
  originalFilename: string;
9163
- }[] | [string, string] | null | undefined> | undefined;
8053
+ }[] | undefined> | undefined;
9164
8054
  originalActionId?: string | undefined;
9165
8055
  } | {
9166
8056
  type: "REJECT";
9167
8057
  id: string;
9168
8058
  status: "Rejected" | "Requested" | "Accepted";
9169
- reason: {
9170
- message: string;
9171
- isDuplicate?: boolean | undefined;
9172
- };
9173
- transactionId: string;
9174
- createdByUserType: "system" | "user";
9175
8059
  createdAt: string;
9176
8060
  createdBy: string;
9177
- createdByRole: string;
9178
8061
  declaration: Record<string, string | number | boolean | {
9179
8062
  type: string;
9180
8063
  filename: string;
@@ -9190,10 +8073,6 @@ export declare const EventDocument: z.ZodObject<{
9190
8073
  residentialArea?: string | null | undefined;
9191
8074
  street?: string | null | undefined;
9192
8075
  zipCode?: string | null | undefined;
9193
- } | {
9194
- firstname: string;
9195
- surname: string;
9196
- middlename?: string | null | undefined;
9197
8076
  } | {
9198
8077
  country: string;
9199
8078
  district: string;
@@ -9216,9 +8095,8 @@ export declare const EventDocument: z.ZodObject<{
9216
8095
  option: string;
9217
8096
  filename: string;
9218
8097
  originalFilename: string;
9219
- }[] | [string, string] | null | undefined>;
9220
- createdBySignature?: string | null | undefined;
9221
- createdAtLocation?: string | null | undefined;
8098
+ }[] | undefined>;
8099
+ createdAtLocation: string;
9222
8100
  annotation?: Record<string, string | number | boolean | {
9223
8101
  type: string;
9224
8102
  filename: string;
@@ -9234,10 +8112,6 @@ export declare const EventDocument: z.ZodObject<{
9234
8112
  residentialArea?: string | null | undefined;
9235
8113
  street?: string | null | undefined;
9236
8114
  zipCode?: string | null | undefined;
9237
- } | {
9238
- firstname: string;
9239
- surname: string;
9240
- middlename?: string | null | undefined;
9241
8115
  } | {
9242
8116
  country: string;
9243
8117
  district: string;
@@ -9260,17 +8134,14 @@ export declare const EventDocument: z.ZodObject<{
9260
8134
  option: string;
9261
8135
  filename: string;
9262
8136
  originalFilename: string;
9263
- }[] | [string, string] | null | undefined> | undefined;
8137
+ }[] | undefined> | undefined;
9264
8138
  originalActionId?: string | undefined;
9265
8139
  } | {
9266
8140
  type: "MARKED_AS_DUPLICATE";
9267
8141
  id: string;
9268
8142
  status: "Rejected" | "Requested" | "Accepted";
9269
- transactionId: string;
9270
- createdByUserType: "system" | "user";
9271
8143
  createdAt: string;
9272
8144
  createdBy: string;
9273
- createdByRole: string;
9274
8145
  declaration: Record<string, string | number | boolean | {
9275
8146
  type: string;
9276
8147
  filename: string;
@@ -9286,10 +8157,6 @@ export declare const EventDocument: z.ZodObject<{
9286
8157
  residentialArea?: string | null | undefined;
9287
8158
  street?: string | null | undefined;
9288
8159
  zipCode?: string | null | undefined;
9289
- } | {
9290
- firstname: string;
9291
- surname: string;
9292
- middlename?: string | null | undefined;
9293
8160
  } | {
9294
8161
  country: string;
9295
8162
  district: string;
@@ -9312,9 +8179,8 @@ export declare const EventDocument: z.ZodObject<{
9312
8179
  option: string;
9313
8180
  filename: string;
9314
8181
  originalFilename: string;
9315
- }[] | [string, string] | null | undefined>;
9316
- createdBySignature?: string | null | undefined;
9317
- createdAtLocation?: string | null | undefined;
8182
+ }[] | undefined>;
8183
+ createdAtLocation: string;
9318
8184
  annotation?: Record<string, string | number | boolean | {
9319
8185
  type: string;
9320
8186
  filename: string;
@@ -9330,10 +8196,6 @@ export declare const EventDocument: z.ZodObject<{
9330
8196
  residentialArea?: string | null | undefined;
9331
8197
  street?: string | null | undefined;
9332
8198
  zipCode?: string | null | undefined;
9333
- } | {
9334
- firstname: string;
9335
- surname: string;
9336
- middlename?: string | null | undefined;
9337
8199
  } | {
9338
8200
  country: string;
9339
8201
  district: string;
@@ -9356,21 +8218,14 @@ export declare const EventDocument: z.ZodObject<{
9356
8218
  option: string;
9357
8219
  filename: string;
9358
8220
  originalFilename: string;
9359
- }[] | [string, string] | null | undefined> | undefined;
8221
+ }[] | undefined> | undefined;
9360
8222
  originalActionId?: string | undefined;
9361
8223
  } | {
9362
8224
  type: "ARCHIVE";
9363
8225
  id: string;
9364
8226
  status: "Rejected" | "Requested" | "Accepted";
9365
- reason: {
9366
- message: string;
9367
- isDuplicate?: boolean | undefined;
9368
- };
9369
- transactionId: string;
9370
- createdByUserType: "system" | "user";
9371
8227
  createdAt: string;
9372
8228
  createdBy: string;
9373
- createdByRole: string;
9374
8229
  declaration: Record<string, string | number | boolean | {
9375
8230
  type: string;
9376
8231
  filename: string;
@@ -9386,10 +8241,6 @@ export declare const EventDocument: z.ZodObject<{
9386
8241
  residentialArea?: string | null | undefined;
9387
8242
  street?: string | null | undefined;
9388
8243
  zipCode?: string | null | undefined;
9389
- } | {
9390
- firstname: string;
9391
- surname: string;
9392
- middlename?: string | null | undefined;
9393
8244
  } | {
9394
8245
  country: string;
9395
8246
  district: string;
@@ -9412,9 +8263,8 @@ export declare const EventDocument: z.ZodObject<{
9412
8263
  option: string;
9413
8264
  filename: string;
9414
8265
  originalFilename: string;
9415
- }[] | [string, string] | null | undefined>;
9416
- createdBySignature?: string | null | undefined;
9417
- createdAtLocation?: string | null | undefined;
8266
+ }[] | undefined>;
8267
+ createdAtLocation: string;
9418
8268
  annotation?: Record<string, string | number | boolean | {
9419
8269
  type: string;
9420
8270
  filename: string;
@@ -9430,10 +8280,6 @@ export declare const EventDocument: z.ZodObject<{
9430
8280
  residentialArea?: string | null | undefined;
9431
8281
  street?: string | null | undefined;
9432
8282
  zipCode?: string | null | undefined;
9433
- } | {
9434
- firstname: string;
9435
- surname: string;
9436
- middlename?: string | null | undefined;
9437
8283
  } | {
9438
8284
  country: string;
9439
8285
  district: string;
@@ -9456,17 +8302,14 @@ export declare const EventDocument: z.ZodObject<{
9456
8302
  option: string;
9457
8303
  filename: string;
9458
8304
  originalFilename: string;
9459
- }[] | [string, string] | null | undefined> | undefined;
8305
+ }[] | undefined> | undefined;
9460
8306
  originalActionId?: string | undefined;
9461
8307
  } | {
9462
8308
  type: "CREATE";
9463
8309
  id: string;
9464
8310
  status: "Rejected" | "Requested" | "Accepted";
9465
- transactionId: string;
9466
- createdByUserType: "system" | "user";
9467
8311
  createdAt: string;
9468
8312
  createdBy: string;
9469
- createdByRole: string;
9470
8313
  declaration: Record<string, string | number | boolean | {
9471
8314
  type: string;
9472
8315
  filename: string;
@@ -9482,10 +8325,6 @@ export declare const EventDocument: z.ZodObject<{
9482
8325
  residentialArea?: string | null | undefined;
9483
8326
  street?: string | null | undefined;
9484
8327
  zipCode?: string | null | undefined;
9485
- } | {
9486
- firstname: string;
9487
- surname: string;
9488
- middlename?: string | null | undefined;
9489
8328
  } | {
9490
8329
  country: string;
9491
8330
  district: string;
@@ -9508,9 +8347,8 @@ export declare const EventDocument: z.ZodObject<{
9508
8347
  option: string;
9509
8348
  filename: string;
9510
8349
  originalFilename: string;
9511
- }[] | [string, string] | null | undefined>;
9512
- createdBySignature?: string | null | undefined;
9513
- createdAtLocation?: string | null | undefined;
8350
+ }[] | undefined>;
8351
+ createdAtLocation: string;
9514
8352
  annotation?: Record<string, string | number | boolean | {
9515
8353
  type: string;
9516
8354
  filename: string;
@@ -9526,10 +8364,6 @@ export declare const EventDocument: z.ZodObject<{
9526
8364
  residentialArea?: string | null | undefined;
9527
8365
  street?: string | null | undefined;
9528
8366
  zipCode?: string | null | undefined;
9529
- } | {
9530
- firstname: string;
9531
- surname: string;
9532
- middlename?: string | null | undefined;
9533
8367
  } | {
9534
8368
  country: string;
9535
8369
  district: string;
@@ -9552,17 +8386,14 @@ export declare const EventDocument: z.ZodObject<{
9552
8386
  option: string;
9553
8387
  filename: string;
9554
8388
  originalFilename: string;
9555
- }[] | [string, string] | null | undefined> | undefined;
8389
+ }[] | undefined> | undefined;
9556
8390
  originalActionId?: string | undefined;
9557
8391
  } | {
9558
8392
  type: "NOTIFY";
9559
8393
  id: string;
9560
8394
  status: "Rejected" | "Requested" | "Accepted";
9561
- transactionId: string;
9562
- createdByUserType: "system" | "user";
9563
8395
  createdAt: string;
9564
8396
  createdBy: string;
9565
- createdByRole: string;
9566
8397
  declaration: Record<string, string | number | boolean | {
9567
8398
  type: string;
9568
8399
  filename: string;
@@ -9578,10 +8409,6 @@ export declare const EventDocument: z.ZodObject<{
9578
8409
  residentialArea?: string | null | undefined;
9579
8410
  street?: string | null | undefined;
9580
8411
  zipCode?: string | null | undefined;
9581
- } | {
9582
- firstname: string;
9583
- surname: string;
9584
- middlename?: string | null | undefined;
9585
8412
  } | {
9586
8413
  country: string;
9587
8414
  district: string;
@@ -9604,9 +8431,8 @@ export declare const EventDocument: z.ZodObject<{
9604
8431
  option: string;
9605
8432
  filename: string;
9606
8433
  originalFilename: string;
9607
- }[] | [string, string] | null | undefined>;
9608
- createdBySignature?: string | null | undefined;
9609
- createdAtLocation?: string | null | undefined;
8434
+ }[] | undefined>;
8435
+ createdAtLocation: string;
9610
8436
  annotation?: Record<string, string | number | boolean | {
9611
8437
  type: string;
9612
8438
  filename: string;
@@ -9622,10 +8448,6 @@ export declare const EventDocument: z.ZodObject<{
9622
8448
  residentialArea?: string | null | undefined;
9623
8449
  street?: string | null | undefined;
9624
8450
  zipCode?: string | null | undefined;
9625
- } | {
9626
- firstname: string;
9627
- surname: string;
9628
- middlename?: string | null | undefined;
9629
8451
  } | {
9630
8452
  country: string;
9631
8453
  district: string;
@@ -9648,17 +8470,14 @@ export declare const EventDocument: z.ZodObject<{
9648
8470
  option: string;
9649
8471
  filename: string;
9650
8472
  originalFilename: string;
9651
- }[] | [string, string] | null | undefined> | undefined;
8473
+ }[] | undefined> | undefined;
9652
8474
  originalActionId?: string | undefined;
9653
8475
  } | {
9654
8476
  type: "PRINT_CERTIFICATE";
9655
8477
  id: string;
9656
8478
  status: "Rejected" | "Requested" | "Accepted";
9657
- transactionId: string;
9658
- createdByUserType: "system" | "user";
9659
8479
  createdAt: string;
9660
8480
  createdBy: string;
9661
- createdByRole: string;
9662
8481
  declaration: Record<string, string | number | boolean | {
9663
8482
  type: string;
9664
8483
  filename: string;
@@ -9674,10 +8493,6 @@ export declare const EventDocument: z.ZodObject<{
9674
8493
  residentialArea?: string | null | undefined;
9675
8494
  street?: string | null | undefined;
9676
8495
  zipCode?: string | null | undefined;
9677
- } | {
9678
- firstname: string;
9679
- surname: string;
9680
- middlename?: string | null | undefined;
9681
8496
  } | {
9682
8497
  country: string;
9683
8498
  district: string;
@@ -9700,9 +8515,8 @@ export declare const EventDocument: z.ZodObject<{
9700
8515
  option: string;
9701
8516
  filename: string;
9702
8517
  originalFilename: string;
9703
- }[] | [string, string] | null | undefined>;
9704
- createdBySignature?: string | null | undefined;
9705
- createdAtLocation?: string | null | undefined;
8518
+ }[] | undefined>;
8519
+ createdAtLocation: string;
9706
8520
  annotation?: Record<string, string | number | boolean | {
9707
8521
  type: string;
9708
8522
  filename: string;
@@ -9718,10 +8532,6 @@ export declare const EventDocument: z.ZodObject<{
9718
8532
  residentialArea?: string | null | undefined;
9719
8533
  street?: string | null | undefined;
9720
8534
  zipCode?: string | null | undefined;
9721
- } | {
9722
- firstname: string;
9723
- surname: string;
9724
- middlename?: string | null | undefined;
9725
8535
  } | {
9726
8536
  country: string;
9727
8537
  district: string;
@@ -9744,17 +8554,14 @@ export declare const EventDocument: z.ZodObject<{
9744
8554
  option: string;
9745
8555
  filename: string;
9746
8556
  originalFilename: string;
9747
- }[] | [string, string] | null | undefined> | undefined;
8557
+ }[] | undefined> | undefined;
9748
8558
  originalActionId?: string | undefined;
9749
8559
  } | {
9750
8560
  type: "REQUEST_CORRECTION";
9751
8561
  id: string;
9752
8562
  status: "Rejected" | "Requested" | "Accepted";
9753
- transactionId: string;
9754
- createdByUserType: "system" | "user";
9755
8563
  createdAt: string;
9756
8564
  createdBy: string;
9757
- createdByRole: string;
9758
8565
  declaration: Record<string, string | number | boolean | {
9759
8566
  type: string;
9760
8567
  filename: string;
@@ -9770,10 +8577,6 @@ export declare const EventDocument: z.ZodObject<{
9770
8577
  residentialArea?: string | null | undefined;
9771
8578
  street?: string | null | undefined;
9772
8579
  zipCode?: string | null | undefined;
9773
- } | {
9774
- firstname: string;
9775
- surname: string;
9776
- middlename?: string | null | undefined;
9777
8580
  } | {
9778
8581
  country: string;
9779
8582
  district: string;
@@ -9796,9 +8599,8 @@ export declare const EventDocument: z.ZodObject<{
9796
8599
  option: string;
9797
8600
  filename: string;
9798
8601
  originalFilename: string;
9799
- }[] | [string, string] | null | undefined>;
9800
- createdBySignature?: string | null | undefined;
9801
- createdAtLocation?: string | null | undefined;
8602
+ }[] | undefined>;
8603
+ createdAtLocation: string;
9802
8604
  annotation?: Record<string, string | number | boolean | {
9803
8605
  type: string;
9804
8606
  filename: string;
@@ -9814,10 +8616,6 @@ export declare const EventDocument: z.ZodObject<{
9814
8616
  residentialArea?: string | null | undefined;
9815
8617
  street?: string | null | undefined;
9816
8618
  zipCode?: string | null | undefined;
9817
- } | {
9818
- firstname: string;
9819
- surname: string;
9820
- middlename?: string | null | undefined;
9821
8619
  } | {
9822
8620
  country: string;
9823
8621
  district: string;
@@ -9840,17 +8638,14 @@ export declare const EventDocument: z.ZodObject<{
9840
8638
  option: string;
9841
8639
  filename: string;
9842
8640
  originalFilename: string;
9843
- }[] | [string, string] | null | undefined> | undefined;
8641
+ }[] | undefined> | undefined;
9844
8642
  originalActionId?: string | undefined;
9845
8643
  } | {
9846
8644
  type: "APPROVE_CORRECTION";
9847
8645
  id: string;
9848
8646
  status: "Rejected" | "Requested" | "Accepted";
9849
- transactionId: string;
9850
- createdByUserType: "system" | "user";
9851
8647
  createdAt: string;
9852
8648
  createdBy: string;
9853
- createdByRole: string;
9854
8649
  declaration: Record<string, string | number | boolean | {
9855
8650
  type: string;
9856
8651
  filename: string;
@@ -9866,10 +8661,6 @@ export declare const EventDocument: z.ZodObject<{
9866
8661
  residentialArea?: string | null | undefined;
9867
8662
  street?: string | null | undefined;
9868
8663
  zipCode?: string | null | undefined;
9869
- } | {
9870
- firstname: string;
9871
- surname: string;
9872
- middlename?: string | null | undefined;
9873
8664
  } | {
9874
8665
  country: string;
9875
8666
  district: string;
@@ -9892,10 +8683,9 @@ export declare const EventDocument: z.ZodObject<{
9892
8683
  option: string;
9893
8684
  filename: string;
9894
8685
  originalFilename: string;
9895
- }[] | [string, string] | null | undefined>;
8686
+ }[] | undefined>;
8687
+ createdAtLocation: string;
9896
8688
  requestId: string;
9897
- createdBySignature?: string | null | undefined;
9898
- createdAtLocation?: string | null | undefined;
9899
8689
  annotation?: Record<string, string | number | boolean | {
9900
8690
  type: string;
9901
8691
  filename: string;
@@ -9911,10 +8701,6 @@ export declare const EventDocument: z.ZodObject<{
9911
8701
  residentialArea?: string | null | undefined;
9912
8702
  street?: string | null | undefined;
9913
8703
  zipCode?: string | null | undefined;
9914
- } | {
9915
- firstname: string;
9916
- surname: string;
9917
- middlename?: string | null | undefined;
9918
8704
  } | {
9919
8705
  country: string;
9920
8706
  district: string;
@@ -9937,17 +8723,14 @@ export declare const EventDocument: z.ZodObject<{
9937
8723
  option: string;
9938
8724
  filename: string;
9939
8725
  originalFilename: string;
9940
- }[] | [string, string] | null | undefined> | undefined;
8726
+ }[] | undefined> | undefined;
9941
8727
  originalActionId?: string | undefined;
9942
8728
  } | {
9943
8729
  type: "REJECT_CORRECTION";
9944
8730
  id: string;
9945
8731
  status: "Rejected" | "Requested" | "Accepted";
9946
- transactionId: string;
9947
- createdByUserType: "system" | "user";
9948
8732
  createdAt: string;
9949
8733
  createdBy: string;
9950
- createdByRole: string;
9951
8734
  declaration: Record<string, string | number | boolean | {
9952
8735
  type: string;
9953
8736
  filename: string;
@@ -9963,10 +8746,6 @@ export declare const EventDocument: z.ZodObject<{
9963
8746
  residentialArea?: string | null | undefined;
9964
8747
  street?: string | null | undefined;
9965
8748
  zipCode?: string | null | undefined;
9966
- } | {
9967
- firstname: string;
9968
- surname: string;
9969
- middlename?: string | null | undefined;
9970
8749
  } | {
9971
8750
  country: string;
9972
8751
  district: string;
@@ -9989,10 +8768,9 @@ export declare const EventDocument: z.ZodObject<{
9989
8768
  option: string;
9990
8769
  filename: string;
9991
8770
  originalFilename: string;
9992
- }[] | [string, string] | null | undefined>;
8771
+ }[] | undefined>;
8772
+ createdAtLocation: string;
9993
8773
  requestId: string;
9994
- createdBySignature?: string | null | undefined;
9995
- createdAtLocation?: string | null | undefined;
9996
8774
  annotation?: Record<string, string | number | boolean | {
9997
8775
  type: string;
9998
8776
  filename: string;
@@ -10008,10 +8786,6 @@ export declare const EventDocument: z.ZodObject<{
10008
8786
  residentialArea?: string | null | undefined;
10009
8787
  street?: string | null | undefined;
10010
8788
  zipCode?: string | null | undefined;
10011
- } | {
10012
- firstname: string;
10013
- surname: string;
10014
- middlename?: string | null | undefined;
10015
8789
  } | {
10016
8790
  country: string;
10017
8791
  district: string;
@@ -10034,17 +8808,14 @@ export declare const EventDocument: z.ZodObject<{
10034
8808
  option: string;
10035
8809
  filename: string;
10036
8810
  originalFilename: string;
10037
- }[] | [string, string] | null | undefined> | undefined;
8811
+ }[] | undefined> | undefined;
10038
8812
  originalActionId?: string | undefined;
10039
8813
  } | {
10040
8814
  type: "READ";
10041
8815
  id: string;
10042
8816
  status: "Rejected" | "Requested" | "Accepted";
10043
- transactionId: string;
10044
- createdByUserType: "system" | "user";
10045
8817
  createdAt: string;
10046
8818
  createdBy: string;
10047
- createdByRole: string;
10048
8819
  declaration: Record<string, string | number | boolean | {
10049
8820
  type: string;
10050
8821
  filename: string;
@@ -10060,10 +8831,6 @@ export declare const EventDocument: z.ZodObject<{
10060
8831
  residentialArea?: string | null | undefined;
10061
8832
  street?: string | null | undefined;
10062
8833
  zipCode?: string | null | undefined;
10063
- } | {
10064
- firstname: string;
10065
- surname: string;
10066
- middlename?: string | null | undefined;
10067
8834
  } | {
10068
8835
  country: string;
10069
8836
  district: string;
@@ -10086,9 +8853,8 @@ export declare const EventDocument: z.ZodObject<{
10086
8853
  option: string;
10087
8854
  filename: string;
10088
8855
  originalFilename: string;
10089
- }[] | [string, string] | null | undefined>;
10090
- createdBySignature?: string | null | undefined;
10091
- createdAtLocation?: string | null | undefined;
8856
+ }[] | undefined>;
8857
+ createdAtLocation: string;
10092
8858
  annotation?: Record<string, string | number | boolean | {
10093
8859
  type: string;
10094
8860
  filename: string;
@@ -10104,10 +8870,6 @@ export declare const EventDocument: z.ZodObject<{
10104
8870
  residentialArea?: string | null | undefined;
10105
8871
  street?: string | null | undefined;
10106
8872
  zipCode?: string | null | undefined;
10107
- } | {
10108
- firstname: string;
10109
- surname: string;
10110
- middlename?: string | null | undefined;
10111
8873
  } | {
10112
8874
  country: string;
10113
8875
  district: string;
@@ -10130,19 +8892,13 @@ export declare const EventDocument: z.ZodObject<{
10130
8892
  option: string;
10131
8893
  filename: string;
10132
8894
  originalFilename: string;
10133
- }[] | [string, string] | null | undefined> | undefined;
8895
+ }[] | undefined> | undefined;
10134
8896
  originalActionId?: string | undefined;
10135
8897
  } | {
10136
8898
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10137
8899
  id: string;
10138
8900
  status: "Rejected";
10139
- transactionId: string;
10140
- createdByUserType: "system" | "user";
10141
8901
  createdAt: string;
10142
- createdBy: string;
10143
- createdByRole: string;
10144
- createdBySignature?: string | null | undefined;
10145
- createdAtLocation?: string | null | undefined;
10146
8902
  originalActionId?: string | undefined;
10147
8903
  })[];
10148
8904
  trackingId: string;