@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8b1f33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/commons/api/router.d.ts +978 -5785
  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 -120271
  5. package/dist/commons/events/ActionDocument.d.ts +564 -2585
  6. package/dist/commons/events/ActionInput.d.ts +425 -1705
  7. package/dist/commons/events/ActionType.d.ts +0 -4
  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 +49 -168
  11. package/dist/commons/events/EventConfig.d.ts +1362 -57941
  12. package/dist/commons/events/EventDocument.d.ts +400 -1639
  13. package/dist/commons/events/EventIndex.d.ts +27 -2012
  14. package/dist/commons/events/EventMetadata.d.ts +45 -343
  15. package/dist/commons/events/FieldConfig.d.ts +1059 -5655
  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 -50366
  20. package/dist/commons/events/PageConfig.d.ts +208 -12498
  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 -7300
  24. package/dist/commons/events/defineConfig.d.ts +75 -9326
  25. package/dist/commons/events/index.d.ts +0 -8
  26. package/dist/commons/events/test.utils.d.ts +79 -171
  27. package/dist/commons/events/transactions.d.ts +1 -1
  28. package/dist/commons/events/utils.d.ts +72 -13814
  29. package/dist/conditionals/index.js +52 -95
  30. package/dist/events/index.js +1522 -4190
  31. package/dist/scopes/index.d.ts +7 -184
  32. package/dist/scopes/index.js +40 -140
  33. package/package.json +3 -4
  34. package/dist/commons/events/Constants.d.ts +0 -3
  35. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -3730
  36. package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
  37. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
  38. package/dist/commons/events/event.d.ts +0 -54
  39. package/dist/commons/events/field.d.ts +0 -82
  40. package/dist/commons/events/scopes.d.ts +0 -44
  41. package/dist/commons/events/serializer.d.ts +0 -2
  42. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -1,19 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  export declare const EventDocument: z.ZodObject<{
3
- id: z.ZodBranded<z.ZodString, "UUID">;
3
+ id: z.ZodString;
4
4
  type: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
7
7
  actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
8
- id: z.ZodBranded<z.ZodString, "UUID">;
9
- transactionId: z.ZodString;
10
- createdByUserType: z.ZodEnum<["user", "system"]>;
8
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
- }, "strip", z.ZodTypeAny, {
134
- firstname?: string | null | undefined;
135
- surname?: string | null | undefined;
136
- middlename?: string | null | undefined;
137
- }, {
138
- firstname?: string | null | undefined;
139
- surname?: string | null | undefined;
140
- middlename?: string | null | undefined;
141
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +235,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
- }, "strip", z.ZodTypeAny, {
260
- firstname?: string | null | undefined;
261
- surname?: string | null | undefined;
262
- middlename?: string | null | undefined;
263
- }, {
264
- firstname?: string | null | undefined;
265
- surname?: string | null | undefined;
266
- middlename?: string | null | undefined;
267
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
238
+ }>]>>>;
239
+ createdAtLocation: z.ZodString;
268
240
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
269
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
241
+ originalActionId: z.ZodOptional<z.ZodString>;
270
242
  }, {
271
243
  type: z.ZodLiteral<"CREATE">;
272
244
  }>, "strip", z.ZodTypeAny, {
273
245
  type: "CREATE";
274
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
298
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
342
- surname?: string | null | undefined;
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> | null | undefined;
367
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
326
+ }[] | undefined> | undefined;
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 | null | undefined;
394
- surname?: string | null | undefined;
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 | null | undefined;
438
- surname?: string | null | undefined;
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> | null | undefined;
463
- originalActionId?: string | null | undefined;
410
+ }[] | undefined> | undefined;
411
+ originalActionId?: string | undefined;
464
412
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
- id: z.ZodBranded<z.ZodString, "UUID">;
466
- transactionId: z.ZodString;
467
- createdByUserType: z.ZodEnum<["user", "system"]>;
413
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
588
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
- }, "strip", z.ZodTypeAny, {
591
- firstname?: string | null | undefined;
592
- surname?: string | null | undefined;
593
- middlename?: string | null | undefined;
594
- }, {
595
- firstname?: string | null | undefined;
596
- surname?: string | null | undefined;
597
- middlename?: string | null | undefined;
598
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +640,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
714
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
- }, "strip", z.ZodTypeAny, {
717
- firstname?: string | null | undefined;
718
- surname?: string | null | undefined;
719
- middlename?: string | null | undefined;
720
- }, {
721
- firstname?: string | null | undefined;
722
- surname?: string | null | undefined;
723
- middlename?: string | null | undefined;
724
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
643
+ }>]>>>;
644
+ createdAtLocation: z.ZodString;
725
645
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
726
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
646
+ originalActionId: z.ZodOptional<z.ZodString>;
727
647
  }, {
728
648
  type: z.ZodLiteral<"VALIDATE">;
729
649
  }>, "strip", z.ZodTypeAny, {
730
650
  type: "VALIDATE";
731
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
755
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
799
- surname?: string | null | undefined;
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> | null | undefined;
824
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
731
+ }[] | undefined> | undefined;
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 | null | undefined;
851
- surname?: string | null | undefined;
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 | null | undefined;
895
- surname?: string | null | undefined;
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> | null | undefined;
920
- originalActionId?: string | null | undefined;
815
+ }[] | undefined> | undefined;
816
+ originalActionId?: string | undefined;
921
817
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
- id: z.ZodBranded<z.ZodString, "UUID">;
923
- transactionId: z.ZodString;
924
- createdByUserType: z.ZodEnum<["user", "system"]>;
818
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
- }, "strip", z.ZodTypeAny, {
1048
- firstname?: string | null | undefined;
1049
- surname?: string | null | undefined;
1050
- middlename?: string | null | undefined;
1051
- }, {
1052
- firstname?: string | null | undefined;
1053
- surname?: string | null | undefined;
1054
- middlename?: string | null | undefined;
1055
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
- }, "strip", z.ZodTypeAny, {
1174
- firstname?: string | null | undefined;
1175
- surname?: string | null | undefined;
1176
- middlename?: string | null | undefined;
1177
- }, {
1178
- firstname?: string | null | undefined;
1179
- surname?: string | null | undefined;
1180
- middlename?: string | null | undefined;
1181
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1048
+ }>]>>>;
1049
+ createdAtLocation: z.ZodString;
1182
1050
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1183
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
1226
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
1270
- surname?: string | null | undefined;
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> | null | undefined;
1295
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1136
+ }[] | undefined> | undefined;
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 | null | undefined;
1326
- surname?: string | null | undefined;
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 | null | undefined;
1370
- surname?: string | null | undefined;
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> | null | undefined;
1395
- originalActionId?: string | null | undefined;
1220
+ }[] | undefined> | undefined;
1221
+ originalActionId?: string | undefined;
1396
1222
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
- id: z.ZodBranded<z.ZodString, "UUID">;
1398
- transactionId: z.ZodString;
1399
- createdByUserType: z.ZodEnum<["user", "system"]>;
1223
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
- }, "strip", z.ZodTypeAny, {
1523
- firstname?: string | null | undefined;
1524
- surname?: string | null | undefined;
1525
- middlename?: string | null | undefined;
1526
- }, {
1527
- firstname?: string | null | undefined;
1528
- surname?: string | null | undefined;
1529
- middlename?: string | null | undefined;
1530
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +1450,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1647
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
- }, "strip", z.ZodTypeAny, {
1649
- firstname?: string | null | undefined;
1650
- surname?: string | null | undefined;
1651
- middlename?: string | null | undefined;
1652
- }, {
1653
- firstname?: string | null | undefined;
1654
- surname?: string | null | undefined;
1655
- middlename?: string | null | undefined;
1656
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1453
+ }>]>>>;
1454
+ createdAtLocation: z.ZodString;
1657
1455
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1658
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1456
+ originalActionId: z.ZodOptional<z.ZodString>;
1659
1457
  }, {
1660
1458
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1661
1459
  }>, "strip", z.ZodTypeAny, {
1662
1460
  type: "MARKED_AS_DUPLICATE";
1663
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
1687
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
1731
- surname?: string | null | undefined;
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> | null | undefined;
1756
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1541
+ }[] | undefined> | undefined;
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 | null | undefined;
1783
- surname?: string | null | undefined;
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 | null | undefined;
1827
- surname?: string | null | undefined;
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> | null | undefined;
1852
- originalActionId?: string | null | undefined;
1625
+ }[] | undefined> | undefined;
1626
+ originalActionId?: string | undefined;
1853
1627
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
- id: z.ZodBranded<z.ZodString, "UUID">;
1855
- transactionId: z.ZodString;
1856
- createdByUserType: z.ZodEnum<["user", "system"]>;
1628
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1978
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
- }, "strip", z.ZodTypeAny, {
1980
- firstname?: string | null | undefined;
1981
- surname?: string | null | undefined;
1982
- middlename?: string | null | undefined;
1983
- }, {
1984
- firstname?: string | null | undefined;
1985
- surname?: string | null | undefined;
1986
- middlename?: string | null | undefined;
1987
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
- }, "strip", z.ZodTypeAny, {
2106
- firstname?: string | null | undefined;
2107
- surname?: string | null | undefined;
2108
- middlename?: string | null | undefined;
2109
- }, {
2110
- firstname?: string | null | undefined;
2111
- surname?: string | null | undefined;
2112
- middlename?: string | null | undefined;
2113
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1858
+ }>]>>>;
1859
+ createdAtLocation: z.ZodString;
2114
1860
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2115
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
2158
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
2202
- surname?: string | null | undefined;
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> | null | undefined;
2227
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1946
+ }[] | undefined> | undefined;
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 | null | undefined;
2258
- surname?: string | null | undefined;
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 | null | undefined;
2302
- surname?: string | null | undefined;
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> | null | undefined;
2327
- originalActionId?: string | null | undefined;
2030
+ }[] | undefined> | undefined;
2031
+ originalActionId?: string | undefined;
2328
2032
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
- id: z.ZodBranded<z.ZodString, "UUID">;
2330
- transactionId: z.ZodString;
2331
- createdByUserType: z.ZodEnum<["user", "system"]>;
2033
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
- }, "strip", z.ZodTypeAny, {
2455
- firstname?: string | null | undefined;
2456
- surname?: string | null | undefined;
2457
- middlename?: string | null | undefined;
2458
- }, {
2459
- firstname?: string | null | undefined;
2460
- surname?: string | null | undefined;
2461
- middlename?: string | null | undefined;
2462
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +2260,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
- }, "strip", z.ZodTypeAny, {
2581
- firstname?: string | null | undefined;
2582
- surname?: string | null | undefined;
2583
- middlename?: string | null | undefined;
2584
- }, {
2585
- firstname?: string | null | undefined;
2586
- surname?: string | null | undefined;
2587
- middlename?: string | null | undefined;
2588
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2263
+ }>]>>>;
2264
+ createdAtLocation: z.ZodString;
2589
2265
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2590
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2266
+ originalActionId: z.ZodOptional<z.ZodString>;
2591
2267
  }, {
2592
2268
  type: z.ZodLiteral<"NOTIFY">;
2593
2269
  }>, "strip", z.ZodTypeAny, {
2594
2270
  type: "NOTIFY";
2595
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
2619
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
2663
- surname?: string | null | undefined;
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> | null | undefined;
2688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2351
+ }[] | undefined> | undefined;
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 | null | undefined;
2715
- surname?: string | null | undefined;
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 | null | undefined;
2759
- surname?: string | null | undefined;
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> | null | undefined;
2784
- originalActionId?: string | null | undefined;
2435
+ }[] | undefined> | undefined;
2436
+ originalActionId?: string | undefined;
2785
2437
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
- id: z.ZodBranded<z.ZodString, "UUID">;
2787
- transactionId: z.ZodString;
2788
- createdByUserType: z.ZodEnum<["user", "system"]>;
2438
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2910
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
- }, "strip", z.ZodTypeAny, {
2912
- firstname?: string | null | undefined;
2913
- surname?: string | null | undefined;
2914
- middlename?: string | null | undefined;
2915
- }, {
2916
- firstname?: string | null | undefined;
2917
- surname?: string | null | undefined;
2918
- middlename?: string | null | undefined;
2919
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,33 +2665,19 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
- }, "strip", z.ZodTypeAny, {
3038
- firstname?: string | null | undefined;
3039
- surname?: string | null | undefined;
3040
- middlename?: string | null | undefined;
3041
- }, {
3042
- firstname?: string | null | undefined;
3043
- surname?: string | null | undefined;
3044
- middlename?: string | null | undefined;
3045
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2668
+ }>]>>>;
2669
+ createdAtLocation: z.ZodString;
3046
2670
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3047
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2671
+ originalActionId: z.ZodOptional<z.ZodString>;
3048
2672
  }, {
3049
2673
  type: z.ZodLiteral<"REGISTER">;
3050
2674
  registrationNumber: z.ZodOptional<z.ZodString>;
3051
2675
  }>, "strip", z.ZodTypeAny, {
3052
2676
  type: "REGISTER";
3053
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
3077
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
3121
- surname?: string | null | undefined;
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> | null | undefined;
3146
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2757
+ }[] | undefined> | undefined;
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 | null | undefined;
3174
- surname?: string | null | undefined;
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 | null | undefined;
3218
- surname?: string | null | undefined;
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> | null | undefined;
3243
- originalActionId?: string | null | undefined;
2842
+ }[] | undefined> | undefined;
2843
+ originalActionId?: string | undefined;
3244
2844
  registrationNumber?: string | undefined;
3245
2845
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
- id: z.ZodBranded<z.ZodString, "UUID">;
3247
- transactionId: z.ZodString;
3248
- createdByUserType: z.ZodEnum<["user", "system"]>;
2846
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3370
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
- }, "strip", z.ZodTypeAny, {
3372
- firstname?: string | null | undefined;
3373
- surname?: string | null | undefined;
3374
- middlename?: string | null | undefined;
3375
- }, {
3376
- firstname?: string | null | undefined;
3377
- surname?: string | null | undefined;
3378
- middlename?: string | null | undefined;
3379
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +3073,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3496
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
- }, "strip", z.ZodTypeAny, {
3498
- firstname?: string | null | undefined;
3499
- surname?: string | null | undefined;
3500
- middlename?: string | null | undefined;
3501
- }, {
3502
- firstname?: string | null | undefined;
3503
- surname?: string | null | undefined;
3504
- middlename?: string | null | undefined;
3505
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3076
+ }>]>>>;
3077
+ createdAtLocation: z.ZodString;
3506
3078
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3507
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3079
+ originalActionId: z.ZodOptional<z.ZodString>;
3508
3080
  }, {
3509
3081
  type: z.ZodLiteral<"DECLARE">;
3510
3082
  }>, "strip", z.ZodTypeAny, {
3511
3083
  type: "DECLARE";
3512
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
3536
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
3580
- surname?: string | null | undefined;
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> | null | undefined;
3605
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3164
+ }[] | undefined> | undefined;
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 | null | undefined;
3632
- surname?: string | null | undefined;
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 | null | undefined;
3676
- surname?: string | null | undefined;
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> | null | undefined;
3701
- originalActionId?: string | null | undefined;
3248
+ }[] | undefined> | undefined;
3249
+ originalActionId?: string | undefined;
3702
3250
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
- id: z.ZodBranded<z.ZodString, "UUID">;
3704
- transactionId: z.ZodString;
3705
- createdByUserType: z.ZodEnum<["user", "system"]>;
3251
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3827
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
- }, "strip", z.ZodTypeAny, {
3829
- firstname?: string | null | undefined;
3830
- surname?: string | null | undefined;
3831
- middlename?: string | null | undefined;
3832
- }, {
3833
- firstname?: string | null | undefined;
3834
- surname?: string | null | undefined;
3835
- middlename?: string | null | undefined;
3836
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,33 +3478,19 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3953
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
- }, "strip", z.ZodTypeAny, {
3955
- firstname?: string | null | undefined;
3956
- surname?: string | null | undefined;
3957
- middlename?: string | null | undefined;
3958
- }, {
3959
- firstname?: string | null | undefined;
3960
- surname?: string | null | undefined;
3961
- middlename?: string | null | undefined;
3962
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3481
+ }>]>>>;
3482
+ createdAtLocation: z.ZodString;
3963
3483
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3964
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3484
+ originalActionId: z.ZodOptional<z.ZodString>;
3965
3485
  }, {
3966
3486
  type: z.ZodLiteral<"ASSIGN">;
3967
3487
  assignedTo: z.ZodString;
3968
3488
  }>, "strip", z.ZodTypeAny, {
3969
3489
  type: "ASSIGN";
3970
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
3994
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
4039
- surname?: string | null | undefined;
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> | null | undefined;
4064
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3571
+ }[] | undefined> | undefined;
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 | null | undefined;
4091
- surname?: string | null | undefined;
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 | null | undefined;
4136
- surname?: string | null | undefined;
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> | null | undefined;
4161
- originalActionId?: string | null | undefined;
3656
+ }[] | undefined> | undefined;
3657
+ originalActionId?: string | undefined;
4162
3658
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
- id: z.ZodBranded<z.ZodString, "UUID">;
4164
- transactionId: z.ZodString;
4165
- createdByUserType: z.ZodEnum<["user", "system"]>;
3659
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
- }, "strip", z.ZodTypeAny, {
4289
- firstname?: string | null | undefined;
4290
- surname?: string | null | undefined;
4291
- middlename?: string | null | undefined;
4292
- }, {
4293
- firstname?: string | null | undefined;
4294
- surname?: string | null | undefined;
4295
- middlename?: string | null | undefined;
4296
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +3886,18 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4413
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
- }, "strip", z.ZodTypeAny, {
4415
- firstname?: string | null | undefined;
4416
- surname?: string | null | undefined;
4417
- middlename?: string | null | undefined;
4418
- }, {
4419
- firstname?: string | null | undefined;
4420
- surname?: string | null | undefined;
4421
- middlename?: string | null | undefined;
4422
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3889
+ }>]>>>;
3890
+ createdAtLocation: z.ZodString;
4423
3891
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4424
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3892
+ originalActionId: z.ZodOptional<z.ZodString>;
4425
3893
  }, {
4426
3894
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4427
3895
  }>, "strip", z.ZodTypeAny, {
4428
3896
  type: "REQUEST_CORRECTION";
4429
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
4453
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
4497
- surname?: string | null | undefined;
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> | null | undefined;
4522
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3977
+ }[] | undefined> | undefined;
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 | null | undefined;
4549
- surname?: string | null | undefined;
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 | null | undefined;
4593
- surname?: string | null | undefined;
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> | null | undefined;
4618
- originalActionId?: string | null | undefined;
4061
+ }[] | undefined> | undefined;
4062
+ originalActionId?: string | undefined;
4619
4063
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
- id: z.ZodBranded<z.ZodString, "UUID">;
4621
- transactionId: z.ZodString;
4622
- createdByUserType: z.ZodEnum<["user", "system"]>;
4064
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4744
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
- }, "strip", z.ZodTypeAny, {
4746
- firstname?: string | null | undefined;
4747
- surname?: string | null | undefined;
4748
- middlename?: string | null | undefined;
4749
- }, {
4750
- firstname?: string | null | undefined;
4751
- surname?: string | null | undefined;
4752
- middlename?: string | null | undefined;
4753
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,33 +4291,19 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4870
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
- }, "strip", z.ZodTypeAny, {
4872
- firstname?: string | null | undefined;
4873
- surname?: string | null | undefined;
4874
- middlename?: string | null | undefined;
4875
- }, {
4876
- firstname?: string | null | undefined;
4877
- surname?: string | null | undefined;
4878
- middlename?: string | null | undefined;
4879
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4294
+ }>]>>>;
4295
+ createdAtLocation: z.ZodString;
4880
4296
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4881
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4297
+ originalActionId: z.ZodOptional<z.ZodString>;
4882
4298
  }, {
4883
4299
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4884
4300
  requestId: z.ZodString;
4885
4301
  }>, "strip", z.ZodTypeAny, {
4886
4302
  type: "APPROVE_CORRECTION";
4887
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
4911
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
4956
- surname?: string | null | undefined;
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> | null | undefined;
4981
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4384
+ }[] | undefined> | undefined;
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 | null | undefined;
5008
- surname?: string | null | undefined;
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 | null | undefined;
5053
- surname?: string | null | undefined;
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> | null | undefined;
5078
- originalActionId?: string | null | undefined;
4469
+ }[] | undefined> | undefined;
4470
+ originalActionId?: string | undefined;
5079
4471
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
- id: z.ZodBranded<z.ZodString, "UUID">;
5081
- transactionId: z.ZodString;
5082
- createdByUserType: z.ZodEnum<["user", "system"]>;
4472
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5204
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
- }, "strip", z.ZodTypeAny, {
5206
- firstname?: string | null | undefined;
5207
- surname?: string | null | undefined;
5208
- middlename?: string | null | undefined;
5209
- }, {
5210
- firstname?: string | null | undefined;
5211
- surname?: string | null | undefined;
5212
- middlename?: string | null | undefined;
5213
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,33 +4699,19 @@ 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.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5330
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
- }, "strip", z.ZodTypeAny, {
5332
- firstname?: string | null | undefined;
5333
- surname?: string | null | undefined;
5334
- middlename?: string | null | undefined;
5335
- }, {
5336
- firstname?: string | null | undefined;
5337
- surname?: string | null | undefined;
5338
- middlename?: string | null | undefined;
5339
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4702
+ }>]>>>;
4703
+ createdAtLocation: z.ZodString;
5340
4704
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5341
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4705
+ originalActionId: z.ZodOptional<z.ZodString>;
5342
4706
  }, {
5343
4707
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5344
4708
  requestId: z.ZodString;
5345
4709
  }>, "strip", z.ZodTypeAny, {
5346
4710
  type: "REJECT_CORRECTION";
5347
- id: string & z.BRAND<"UUID">;
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 | null | undefined;
5371
- surname?: string | null | undefined;
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 & z.BRAND<"UUID">) | 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 | null | undefined;
5416
- surname?: string | null | undefined;
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> | null | undefined;
5441
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4792
+ }[] | undefined> | undefined;
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 | null | undefined;
5468
- surname?: string | null | undefined;
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 | null | undefined;
5513
- surname?: string | null | undefined;
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> | null | undefined;
5538
- originalActionId?: string | null | undefined;
4877
+ }[] | undefined> | undefined;
4878
+ originalActionId?: string | undefined;
5539
4879
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
- id: z.ZodBranded<z.ZodString, "UUID">;
5541
- transactionId: z.ZodString;
5542
- createdByUserType: z.ZodEnum<["user", "system"]>;
4880
+ id: z.ZodString;
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.ZodBranded<z.ZodString, "UUID">>>;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5664
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
- }, "strip", z.ZodTypeAny, {
5666
- firstname?: string | null | undefined;
5667
- surname?: string | null | undefined;
5668
- middlename?: string | null | undefined;
5669
- }, {
5670
- firstname?: string | null | undefined;
5671
- surname?: string | null | undefined;
5672
- middlename?: string | null | undefined;
5673
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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,32 +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.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5790
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
- }, "strip", z.ZodTypeAny, {
5792
- firstname?: string | null | undefined;
5793
- surname?: string | null | undefined;
5794
- middlename?: string | null | undefined;
5795
- }, {
5796
- firstname?: string | null | undefined;
5797
- surname?: string | null | undefined;
5798
- middlename?: string | null | undefined;
5799
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5110
+ }>]>>>;
5111
+ createdAtLocation: z.ZodString;
5800
5112
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5113
+ originalActionId: z.ZodOptional<z.ZodString>;
5802
5114
  }, {
5803
5115
  type: z.ZodLiteral<"UNASSIGN">;
5116
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
5804
5117
  }>, "strip", z.ZodTypeAny, {
5805
5118
  type: "UNASSIGN";
5806
- id: string & z.BRAND<"UUID">;
5119
+ id: string;
5807
5120
  status: "Rejected" | "Requested" | "Accepted";
5808
- transactionId: string;
5809
- createdByUserType: "system" | "user";
5810
5121
  createdAt: string;
5811
5122
  createdBy: string;
5812
- createdByRole: string;
5813
5123
  declaration: Record<string, string | number | boolean | {
5814
5124
  type: string;
5815
5125
  filename: string;
@@ -5825,10 +5135,6 @@ export declare const EventDocument: z.ZodObject<{
5825
5135
  residentialArea?: string | null | undefined;
5826
5136
  street?: string | null | undefined;
5827
5137
  zipCode?: string | null | undefined;
5828
- } | {
5829
- firstname?: string | null | undefined;
5830
- surname?: string | null | undefined;
5831
- middlename?: string | null | undefined;
5832
5138
  } | {
5833
5139
  country: string;
5834
5140
  district: string;
@@ -5851,9 +5157,9 @@ export declare const EventDocument: z.ZodObject<{
5851
5157
  option: string;
5852
5158
  filename: string;
5853
5159
  originalFilename: string;
5854
- }[] | [string, string] | null | undefined>;
5855
- createdBySignature?: string | null | undefined;
5856
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5160
+ }[] | undefined>;
5161
+ createdAtLocation: string;
5162
+ assignedTo: null;
5857
5163
  annotation?: Record<string, string | number | boolean | {
5858
5164
  type: string;
5859
5165
  filename: string;
@@ -5869,10 +5175,6 @@ export declare const EventDocument: z.ZodObject<{
5869
5175
  residentialArea?: string | null | undefined;
5870
5176
  street?: string | null | undefined;
5871
5177
  zipCode?: string | null | undefined;
5872
- } | {
5873
- firstname?: string | null | undefined;
5874
- surname?: string | null | undefined;
5875
- middlename?: string | null | undefined;
5876
5178
  } | {
5877
5179
  country: string;
5878
5180
  district: string;
@@ -5895,17 +5197,14 @@ export declare const EventDocument: z.ZodObject<{
5895
5197
  option: string;
5896
5198
  filename: string;
5897
5199
  originalFilename: string;
5898
- }[] | [string, string] | null | undefined> | null | undefined;
5899
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5200
+ }[] | undefined> | undefined;
5201
+ originalActionId?: string | undefined;
5900
5202
  }, {
5901
5203
  type: "UNASSIGN";
5902
5204
  id: string;
5903
5205
  status: "Rejected" | "Requested" | "Accepted";
5904
- transactionId: string;
5905
- createdByUserType: "system" | "user";
5906
5206
  createdAt: string;
5907
5207
  createdBy: string;
5908
- createdByRole: string;
5909
5208
  declaration: Record<string, string | number | boolean | {
5910
5209
  type: string;
5911
5210
  filename: string;
@@ -5921,10 +5220,6 @@ export declare const EventDocument: z.ZodObject<{
5921
5220
  residentialArea?: string | null | undefined;
5922
5221
  street?: string | null | undefined;
5923
5222
  zipCode?: string | null | undefined;
5924
- } | {
5925
- firstname?: string | null | undefined;
5926
- surname?: string | null | undefined;
5927
- middlename?: string | null | undefined;
5928
5223
  } | {
5929
5224
  country: string;
5930
5225
  district: string;
@@ -5947,9 +5242,8 @@ export declare const EventDocument: z.ZodObject<{
5947
5242
  option: string;
5948
5243
  filename: string;
5949
5244
  originalFilename: string;
5950
- }[] | [string, string] | null | undefined>;
5951
- createdBySignature?: string | null | undefined;
5952
- createdAtLocation?: string | null | undefined;
5245
+ }[] | undefined>;
5246
+ createdAtLocation: string;
5953
5247
  annotation?: Record<string, string | number | boolean | {
5954
5248
  type: string;
5955
5249
  filename: string;
@@ -5965,10 +5259,6 @@ export declare const EventDocument: z.ZodObject<{
5965
5259
  residentialArea?: string | null | undefined;
5966
5260
  street?: string | null | undefined;
5967
5261
  zipCode?: string | null | undefined;
5968
- } | {
5969
- firstname?: string | null | undefined;
5970
- surname?: string | null | undefined;
5971
- middlename?: string | null | undefined;
5972
5262
  } | {
5973
5263
  country: string;
5974
5264
  district: string;
@@ -5991,18 +5281,14 @@ export declare const EventDocument: z.ZodObject<{
5991
5281
  option: string;
5992
5282
  filename: string;
5993
5283
  originalFilename: string;
5994
- }[] | [string, string] | null | undefined> | null | undefined;
5995
- originalActionId?: string | null | undefined;
5284
+ }[] | undefined> | undefined;
5285
+ originalActionId?: string | undefined;
5286
+ assignedTo?: null | undefined;
5996
5287
  }>, z.ZodObject<z.objectUtil.extendShape<{
5997
- id: z.ZodBranded<z.ZodString, "UUID">;
5998
- transactionId: z.ZodString;
5999
- createdByUserType: z.ZodEnum<["user", "system"]>;
5288
+ id: z.ZodString;
6000
5289
  createdAt: z.ZodString;
6001
5290
  createdBy: z.ZodString;
6002
- createdByRole: z.ZodString;
6003
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6005
- 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<{
6006
5292
  filename: z.ZodString;
6007
5293
  originalFilename: z.ZodString;
6008
5294
  type: z.ZodString;
@@ -6115,20 +5401,8 @@ export declare const EventDocument: z.ZodObject<{
6115
5401
  addressLine2?: string | null | undefined;
6116
5402
  addressLine3?: string | null | undefined;
6117
5403
  postcodeOrZip?: string | null | undefined;
6118
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6121
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
- }, "strip", z.ZodTypeAny, {
6123
- firstname?: string | null | undefined;
6124
- surname?: string | null | undefined;
6125
- middlename?: string | null | undefined;
6126
- }, {
6127
- firstname?: string | null | undefined;
6128
- surname?: string | null | undefined;
6129
- middlename?: string | null | undefined;
6130
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6131
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5404
+ }>]>>;
5405
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6132
5406
  filename: z.ZodString;
6133
5407
  originalFilename: z.ZodString;
6134
5408
  type: z.ZodString;
@@ -6241,32 +5515,18 @@ export declare const EventDocument: z.ZodObject<{
6241
5515
  addressLine2?: string | null | undefined;
6242
5516
  addressLine3?: string | null | undefined;
6243
5517
  postcodeOrZip?: string | null | undefined;
6244
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6247
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
- }, "strip", z.ZodTypeAny, {
6249
- firstname?: string | null | undefined;
6250
- surname?: string | null | undefined;
6251
- middlename?: string | null | undefined;
6252
- }, {
6253
- firstname?: string | null | undefined;
6254
- surname?: string | null | undefined;
6255
- middlename?: string | null | undefined;
6256
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5518
+ }>]>>>;
5519
+ createdAtLocation: z.ZodString;
6257
5520
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6258
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5521
+ originalActionId: z.ZodOptional<z.ZodString>;
6259
5522
  }, {
6260
5523
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6261
5524
  }>, "strip", z.ZodTypeAny, {
6262
5525
  type: "PRINT_CERTIFICATE";
6263
- id: string & z.BRAND<"UUID">;
5526
+ id: string;
6264
5527
  status: "Rejected" | "Requested" | "Accepted";
6265
- transactionId: string;
6266
- createdByUserType: "system" | "user";
6267
5528
  createdAt: string;
6268
5529
  createdBy: string;
6269
- createdByRole: string;
6270
5530
  declaration: Record<string, string | number | boolean | {
6271
5531
  type: string;
6272
5532
  filename: string;
@@ -6282,10 +5542,6 @@ export declare const EventDocument: z.ZodObject<{
6282
5542
  residentialArea?: string | null | undefined;
6283
5543
  street?: string | null | undefined;
6284
5544
  zipCode?: string | null | undefined;
6285
- } | {
6286
- firstname?: string | null | undefined;
6287
- surname?: string | null | undefined;
6288
- middlename?: string | null | undefined;
6289
5545
  } | {
6290
5546
  country: string;
6291
5547
  district: string;
@@ -6308,9 +5564,8 @@ export declare const EventDocument: z.ZodObject<{
6308
5564
  option: string;
6309
5565
  filename: string;
6310
5566
  originalFilename: string;
6311
- }[] | [string, string] | null | undefined>;
6312
- createdBySignature?: string | null | undefined;
6313
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5567
+ }[] | undefined>;
5568
+ createdAtLocation: string;
6314
5569
  annotation?: Record<string, string | number | boolean | {
6315
5570
  type: string;
6316
5571
  filename: string;
@@ -6326,10 +5581,6 @@ export declare const EventDocument: z.ZodObject<{
6326
5581
  residentialArea?: string | null | undefined;
6327
5582
  street?: string | null | undefined;
6328
5583
  zipCode?: string | null | undefined;
6329
- } | {
6330
- firstname?: string | null | undefined;
6331
- surname?: string | null | undefined;
6332
- middlename?: string | null | undefined;
6333
5584
  } | {
6334
5585
  country: string;
6335
5586
  district: string;
@@ -6352,17 +5603,14 @@ export declare const EventDocument: z.ZodObject<{
6352
5603
  option: string;
6353
5604
  filename: string;
6354
5605
  originalFilename: string;
6355
- }[] | [string, string] | null | undefined> | null | undefined;
6356
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5606
+ }[] | undefined> | undefined;
5607
+ originalActionId?: string | undefined;
6357
5608
  }, {
6358
5609
  type: "PRINT_CERTIFICATE";
6359
5610
  id: string;
6360
5611
  status: "Rejected" | "Requested" | "Accepted";
6361
- transactionId: string;
6362
- createdByUserType: "system" | "user";
6363
5612
  createdAt: string;
6364
5613
  createdBy: string;
6365
- createdByRole: string;
6366
5614
  declaration: Record<string, string | number | boolean | {
6367
5615
  type: string;
6368
5616
  filename: string;
@@ -6378,10 +5626,6 @@ export declare const EventDocument: z.ZodObject<{
6378
5626
  residentialArea?: string | null | undefined;
6379
5627
  street?: string | null | undefined;
6380
5628
  zipCode?: string | null | undefined;
6381
- } | {
6382
- firstname?: string | null | undefined;
6383
- surname?: string | null | undefined;
6384
- middlename?: string | null | undefined;
6385
5629
  } | {
6386
5630
  country: string;
6387
5631
  district: string;
@@ -6404,9 +5648,8 @@ export declare const EventDocument: z.ZodObject<{
6404
5648
  option: string;
6405
5649
  filename: string;
6406
5650
  originalFilename: string;
6407
- }[] | [string, string] | null | undefined>;
6408
- createdBySignature?: string | null | undefined;
6409
- createdAtLocation?: string | null | undefined;
5651
+ }[] | undefined>;
5652
+ createdAtLocation: string;
6410
5653
  annotation?: Record<string, string | number | boolean | {
6411
5654
  type: string;
6412
5655
  filename: string;
@@ -6422,10 +5665,6 @@ export declare const EventDocument: z.ZodObject<{
6422
5665
  residentialArea?: string | null | undefined;
6423
5666
  street?: string | null | undefined;
6424
5667
  zipCode?: string | null | undefined;
6425
- } | {
6426
- firstname?: string | null | undefined;
6427
- surname?: string | null | undefined;
6428
- middlename?: string | null | undefined;
6429
5668
  } | {
6430
5669
  country: string;
6431
5670
  district: string;
@@ -6448,18 +5687,13 @@ export declare const EventDocument: z.ZodObject<{
6448
5687
  option: string;
6449
5688
  filename: string;
6450
5689
  originalFilename: string;
6451
- }[] | [string, string] | null | undefined> | null | undefined;
6452
- originalActionId?: string | null | undefined;
5690
+ }[] | undefined> | undefined;
5691
+ originalActionId?: string | undefined;
6453
5692
  }>, z.ZodObject<z.objectUtil.extendShape<{
6454
- id: z.ZodBranded<z.ZodString, "UUID">;
6455
- transactionId: z.ZodString;
6456
- createdByUserType: z.ZodEnum<["user", "system"]>;
5693
+ id: z.ZodString;
6457
5694
  createdAt: z.ZodString;
6458
5695
  createdBy: z.ZodString;
6459
- createdByRole: z.ZodString;
6460
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6462
- 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<{
6463
5697
  filename: z.ZodString;
6464
5698
  originalFilename: z.ZodString;
6465
5699
  type: z.ZodString;
@@ -6572,20 +5806,8 @@ export declare const EventDocument: z.ZodObject<{
6572
5806
  addressLine2?: string | null | undefined;
6573
5807
  addressLine3?: string | null | undefined;
6574
5808
  postcodeOrZip?: string | null | undefined;
6575
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6578
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
- }, "strip", z.ZodTypeAny, {
6580
- firstname?: string | null | undefined;
6581
- surname?: string | null | undefined;
6582
- middlename?: string | null | undefined;
6583
- }, {
6584
- firstname?: string | null | undefined;
6585
- surname?: string | null | undefined;
6586
- middlename?: string | null | undefined;
6587
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6588
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5809
+ }>]>>;
5810
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6589
5811
  filename: z.ZodString;
6590
5812
  originalFilename: z.ZodString;
6591
5813
  type: z.ZodString;
@@ -6698,32 +5920,18 @@ export declare const EventDocument: z.ZodObject<{
6698
5920
  addressLine2?: string | null | undefined;
6699
5921
  addressLine3?: string | null | undefined;
6700
5922
  postcodeOrZip?: string | null | undefined;
6701
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6704
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
- }, "strip", z.ZodTypeAny, {
6706
- firstname?: string | null | undefined;
6707
- surname?: string | null | undefined;
6708
- middlename?: string | null | undefined;
6709
- }, {
6710
- firstname?: string | null | undefined;
6711
- surname?: string | null | undefined;
6712
- middlename?: string | null | undefined;
6713
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5923
+ }>]>>>;
5924
+ createdAtLocation: z.ZodString;
6714
5925
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6715
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5926
+ originalActionId: z.ZodOptional<z.ZodString>;
6716
5927
  }, {
6717
5928
  type: z.ZodLiteral<"READ">;
6718
5929
  }>, "strip", z.ZodTypeAny, {
6719
5930
  type: "READ";
6720
- id: string & z.BRAND<"UUID">;
5931
+ id: string;
6721
5932
  status: "Rejected" | "Requested" | "Accepted";
6722
- transactionId: string;
6723
- createdByUserType: "system" | "user";
6724
5933
  createdAt: string;
6725
5934
  createdBy: string;
6726
- createdByRole: string;
6727
5935
  declaration: Record<string, string | number | boolean | {
6728
5936
  type: string;
6729
5937
  filename: string;
@@ -6739,10 +5947,6 @@ export declare const EventDocument: z.ZodObject<{
6739
5947
  residentialArea?: string | null | undefined;
6740
5948
  street?: string | null | undefined;
6741
5949
  zipCode?: string | null | undefined;
6742
- } | {
6743
- firstname?: string | null | undefined;
6744
- surname?: string | null | undefined;
6745
- middlename?: string | null | undefined;
6746
5950
  } | {
6747
5951
  country: string;
6748
5952
  district: string;
@@ -6765,9 +5969,8 @@ export declare const EventDocument: z.ZodObject<{
6765
5969
  option: string;
6766
5970
  filename: string;
6767
5971
  originalFilename: string;
6768
- }[] | [string, string] | null | undefined>;
6769
- createdBySignature?: string | null | undefined;
6770
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5972
+ }[] | undefined>;
5973
+ createdAtLocation: string;
6771
5974
  annotation?: Record<string, string | number | boolean | {
6772
5975
  type: string;
6773
5976
  filename: string;
@@ -6783,10 +5986,6 @@ export declare const EventDocument: z.ZodObject<{
6783
5986
  residentialArea?: string | null | undefined;
6784
5987
  street?: string | null | undefined;
6785
5988
  zipCode?: string | null | undefined;
6786
- } | {
6787
- firstname?: string | null | undefined;
6788
- surname?: string | null | undefined;
6789
- middlename?: string | null | undefined;
6790
5989
  } | {
6791
5990
  country: string;
6792
5991
  district: string;
@@ -6809,17 +6008,14 @@ export declare const EventDocument: z.ZodObject<{
6809
6008
  option: string;
6810
6009
  filename: string;
6811
6010
  originalFilename: string;
6812
- }[] | [string, string] | null | undefined> | null | undefined;
6813
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6011
+ }[] | undefined> | undefined;
6012
+ originalActionId?: string | undefined;
6814
6013
  }, {
6815
6014
  type: "READ";
6816
6015
  id: string;
6817
6016
  status: "Rejected" | "Requested" | "Accepted";
6818
- transactionId: string;
6819
- createdByUserType: "system" | "user";
6820
6017
  createdAt: string;
6821
6018
  createdBy: string;
6822
- createdByRole: string;
6823
6019
  declaration: Record<string, string | number | boolean | {
6824
6020
  type: string;
6825
6021
  filename: string;
@@ -6835,10 +6031,6 @@ export declare const EventDocument: z.ZodObject<{
6835
6031
  residentialArea?: string | null | undefined;
6836
6032
  street?: string | null | undefined;
6837
6033
  zipCode?: string | null | undefined;
6838
- } | {
6839
- firstname?: string | null | undefined;
6840
- surname?: string | null | undefined;
6841
- middlename?: string | null | undefined;
6842
6034
  } | {
6843
6035
  country: string;
6844
6036
  district: string;
@@ -6861,9 +6053,8 @@ export declare const EventDocument: z.ZodObject<{
6861
6053
  option: string;
6862
6054
  filename: string;
6863
6055
  originalFilename: string;
6864
- }[] | [string, string] | null | undefined>;
6865
- createdBySignature?: string | null | undefined;
6866
- createdAtLocation?: string | null | undefined;
6056
+ }[] | undefined>;
6057
+ createdAtLocation: string;
6867
6058
  annotation?: Record<string, string | number | boolean | {
6868
6059
  type: string;
6869
6060
  filename: string;
@@ -6879,10 +6070,6 @@ export declare const EventDocument: z.ZodObject<{
6879
6070
  residentialArea?: string | null | undefined;
6880
6071
  street?: string | null | undefined;
6881
6072
  zipCode?: string | null | undefined;
6882
- } | {
6883
- firstname?: string | null | undefined;
6884
- surname?: string | null | undefined;
6885
- middlename?: string | null | undefined;
6886
6073
  } | {
6887
6074
  country: string;
6888
6075
  district: string;
@@ -6905,18 +6092,13 @@ export declare const EventDocument: z.ZodObject<{
6905
6092
  option: string;
6906
6093
  filename: string;
6907
6094
  originalFilename: string;
6908
- }[] | [string, string] | null | undefined> | null | undefined;
6909
- originalActionId?: string | null | undefined;
6095
+ }[] | undefined> | undefined;
6096
+ originalActionId?: string | undefined;
6910
6097
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6911
- id: z.ZodBranded<z.ZodString, "UUID">;
6912
- transactionId: z.ZodString;
6913
- createdByUserType: z.ZodEnum<["user", "system"]>;
6098
+ id: z.ZodString;
6914
6099
  createdAt: z.ZodString;
6915
6100
  createdBy: z.ZodString;
6916
- createdByRole: z.ZodString;
6917
- createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6919
- 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<{
6920
6102
  filename: z.ZodString;
6921
6103
  originalFilename: z.ZodString;
6922
6104
  type: z.ZodString;
@@ -7029,20 +6211,8 @@ export declare const EventDocument: z.ZodObject<{
7029
6211
  addressLine2?: string | null | undefined;
7030
6212
  addressLine3?: string | null | undefined;
7031
6213
  postcodeOrZip?: string | null | undefined;
7032
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7035
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
- }, "strip", z.ZodTypeAny, {
7037
- firstname?: string | null | undefined;
7038
- surname?: string | null | undefined;
7039
- middlename?: string | null | undefined;
7040
- }, {
7041
- firstname?: string | null | undefined;
7042
- surname?: string | null | undefined;
7043
- middlename?: string | null | undefined;
7044
- }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7045
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6214
+ }>]>>;
6215
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7046
6216
  filename: z.ZodString;
7047
6217
  originalFilename: z.ZodString;
7048
6218
  type: z.ZodString;
@@ -7155,64 +6325,38 @@ export declare const EventDocument: z.ZodObject<{
7155
6325
  addressLine2?: string | null | undefined;
7156
6326
  addressLine3?: string | null | undefined;
7157
6327
  postcodeOrZip?: string | null | undefined;
7158
- }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7161
- middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
- }, "strip", z.ZodTypeAny, {
7163
- firstname?: string | null | undefined;
7164
- surname?: string | null | undefined;
7165
- middlename?: string | null | undefined;
7166
- }, {
7167
- firstname?: string | null | undefined;
7168
- surname?: string | null | undefined;
7169
- middlename?: string | null | undefined;
7170
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6328
+ }>]>>>;
6329
+ createdAtLocation: z.ZodString;
7171
6330
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7172
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7173
- }, "declaration" | "annotation">, {
6331
+ originalActionId: z.ZodOptional<z.ZodString>;
6332
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7174
6333
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7175
6334
  status: z.ZodLiteral<"Rejected">;
7176
6335
  }>, "strip", z.ZodTypeAny, {
7177
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
- id: string & z.BRAND<"UUID">;
6336
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6337
+ id: string;
7179
6338
  status: "Rejected";
7180
- transactionId: string;
7181
- createdByUserType: "system" | "user";
7182
6339
  createdAt: string;
7183
- createdBy: string;
7184
- createdByRole: string;
7185
- createdBySignature?: string | null | undefined;
7186
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6340
+ originalActionId?: string | undefined;
7188
6341
  }, {
7189
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6342
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7190
6343
  id: string;
7191
6344
  status: "Rejected";
7192
- transactionId: string;
7193
- createdByUserType: "system" | "user";
7194
6345
  createdAt: string;
7195
- createdBy: string;
7196
- createdByRole: string;
7197
- createdBySignature?: string | null | undefined;
7198
- createdAtLocation?: string | null | undefined;
7199
- originalActionId?: string | null | undefined;
6346
+ originalActionId?: string | undefined;
7200
6347
  }>]>, "many">;
7201
6348
  trackingId: z.ZodString;
7202
6349
  }, "strip", z.ZodTypeAny, {
7203
6350
  type: string;
7204
- id: string & z.BRAND<"UUID">;
6351
+ id: string;
7205
6352
  createdAt: string;
7206
6353
  updatedAt: string;
7207
6354
  actions: ({
7208
6355
  type: "ASSIGN";
7209
- id: string & z.BRAND<"UUID">;
6356
+ id: string;
7210
6357
  status: "Rejected" | "Requested" | "Accepted";
7211
- transactionId: string;
7212
- createdByUserType: "system" | "user";
7213
6358
  createdAt: string;
7214
6359
  createdBy: string;
7215
- createdByRole: string;
7216
6360
  declaration: Record<string, string | number | boolean | {
7217
6361
  type: string;
7218
6362
  filename: string;
@@ -7228,10 +6372,6 @@ export declare const EventDocument: z.ZodObject<{
7228
6372
  residentialArea?: string | null | undefined;
7229
6373
  street?: string | null | undefined;
7230
6374
  zipCode?: string | null | undefined;
7231
- } | {
7232
- firstname?: string | null | undefined;
7233
- surname?: string | null | undefined;
7234
- middlename?: string | null | undefined;
7235
6375
  } | {
7236
6376
  country: string;
7237
6377
  district: string;
@@ -7254,10 +6394,9 @@ export declare const EventDocument: z.ZodObject<{
7254
6394
  option: string;
7255
6395
  filename: string;
7256
6396
  originalFilename: string;
7257
- }[] | [string, string] | null | undefined>;
6397
+ }[] | undefined>;
6398
+ createdAtLocation: string;
7258
6399
  assignedTo: string;
7259
- createdBySignature?: string | null | undefined;
7260
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7261
6400
  annotation?: Record<string, string | number | boolean | {
7262
6401
  type: string;
7263
6402
  filename: string;
@@ -7273,10 +6412,6 @@ export declare const EventDocument: z.ZodObject<{
7273
6412
  residentialArea?: string | null | undefined;
7274
6413
  street?: string | null | undefined;
7275
6414
  zipCode?: string | null | undefined;
7276
- } | {
7277
- firstname?: string | null | undefined;
7278
- surname?: string | null | undefined;
7279
- middlename?: string | null | undefined;
7280
6415
  } | {
7281
6416
  country: string;
7282
6417
  district: string;
@@ -7299,17 +6434,14 @@ export declare const EventDocument: z.ZodObject<{
7299
6434
  option: string;
7300
6435
  filename: string;
7301
6436
  originalFilename: string;
7302
- }[] | [string, string] | null | undefined> | null | undefined;
7303
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6437
+ }[] | undefined> | undefined;
6438
+ originalActionId?: string | undefined;
7304
6439
  } | {
7305
6440
  type: "UNASSIGN";
7306
- id: string & z.BRAND<"UUID">;
6441
+ id: string;
7307
6442
  status: "Rejected" | "Requested" | "Accepted";
7308
- transactionId: string;
7309
- createdByUserType: "system" | "user";
7310
6443
  createdAt: string;
7311
6444
  createdBy: string;
7312
- createdByRole: string;
7313
6445
  declaration: Record<string, string | number | boolean | {
7314
6446
  type: string;
7315
6447
  filename: string;
@@ -7325,10 +6457,6 @@ export declare const EventDocument: z.ZodObject<{
7325
6457
  residentialArea?: string | null | undefined;
7326
6458
  street?: string | null | undefined;
7327
6459
  zipCode?: string | null | undefined;
7328
- } | {
7329
- firstname?: string | null | undefined;
7330
- surname?: string | null | undefined;
7331
- middlename?: string | null | undefined;
7332
6460
  } | {
7333
6461
  country: string;
7334
6462
  district: string;
@@ -7351,9 +6479,9 @@ export declare const EventDocument: z.ZodObject<{
7351
6479
  option: string;
7352
6480
  filename: string;
7353
6481
  originalFilename: string;
7354
- }[] | [string, string] | null | undefined>;
7355
- createdBySignature?: string | null | undefined;
7356
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6482
+ }[] | undefined>;
6483
+ createdAtLocation: string;
6484
+ assignedTo: null;
7357
6485
  annotation?: Record<string, string | number | boolean | {
7358
6486
  type: string;
7359
6487
  filename: string;
@@ -7369,10 +6497,6 @@ export declare const EventDocument: z.ZodObject<{
7369
6497
  residentialArea?: string | null | undefined;
7370
6498
  street?: string | null | undefined;
7371
6499
  zipCode?: string | null | undefined;
7372
- } | {
7373
- firstname?: string | null | undefined;
7374
- surname?: string | null | undefined;
7375
- middlename?: string | null | undefined;
7376
6500
  } | {
7377
6501
  country: string;
7378
6502
  district: string;
@@ -7395,17 +6519,14 @@ export declare const EventDocument: z.ZodObject<{
7395
6519
  option: string;
7396
6520
  filename: string;
7397
6521
  originalFilename: string;
7398
- }[] | [string, string] | null | undefined> | null | undefined;
7399
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6522
+ }[] | undefined> | undefined;
6523
+ originalActionId?: string | undefined;
7400
6524
  } | {
7401
6525
  type: "REGISTER";
7402
- id: string & z.BRAND<"UUID">;
6526
+ id: string;
7403
6527
  status: "Rejected" | "Requested" | "Accepted";
7404
- transactionId: string;
7405
- createdByUserType: "system" | "user";
7406
6528
  createdAt: string;
7407
6529
  createdBy: string;
7408
- createdByRole: string;
7409
6530
  declaration: Record<string, string | number | boolean | {
7410
6531
  type: string;
7411
6532
  filename: string;
@@ -7421,10 +6542,6 @@ export declare const EventDocument: z.ZodObject<{
7421
6542
  residentialArea?: string | null | undefined;
7422
6543
  street?: string | null | undefined;
7423
6544
  zipCode?: string | null | undefined;
7424
- } | {
7425
- firstname?: string | null | undefined;
7426
- surname?: string | null | undefined;
7427
- middlename?: string | null | undefined;
7428
6545
  } | {
7429
6546
  country: string;
7430
6547
  district: string;
@@ -7447,9 +6564,8 @@ export declare const EventDocument: z.ZodObject<{
7447
6564
  option: string;
7448
6565
  filename: string;
7449
6566
  originalFilename: string;
7450
- }[] | [string, string] | null | undefined>;
7451
- createdBySignature?: string | null | undefined;
7452
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6567
+ }[] | undefined>;
6568
+ createdAtLocation: string;
7453
6569
  annotation?: Record<string, string | number | boolean | {
7454
6570
  type: string;
7455
6571
  filename: string;
@@ -7465,10 +6581,6 @@ export declare const EventDocument: z.ZodObject<{
7465
6581
  residentialArea?: string | null | undefined;
7466
6582
  street?: string | null | undefined;
7467
6583
  zipCode?: string | null | undefined;
7468
- } | {
7469
- firstname?: string | null | undefined;
7470
- surname?: string | null | undefined;
7471
- middlename?: string | null | undefined;
7472
6584
  } | {
7473
6585
  country: string;
7474
6586
  district: string;
@@ -7491,18 +6603,15 @@ export declare const EventDocument: z.ZodObject<{
7491
6603
  option: string;
7492
6604
  filename: string;
7493
6605
  originalFilename: string;
7494
- }[] | [string, string] | null | undefined> | null | undefined;
7495
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6606
+ }[] | undefined> | undefined;
6607
+ originalActionId?: string | undefined;
7496
6608
  registrationNumber?: string | undefined;
7497
6609
  } | {
7498
6610
  type: "DECLARE";
7499
- id: string & z.BRAND<"UUID">;
6611
+ id: string;
7500
6612
  status: "Rejected" | "Requested" | "Accepted";
7501
- transactionId: string;
7502
- createdByUserType: "system" | "user";
7503
6613
  createdAt: string;
7504
6614
  createdBy: string;
7505
- createdByRole: string;
7506
6615
  declaration: Record<string, string | number | boolean | {
7507
6616
  type: string;
7508
6617
  filename: string;
@@ -7518,10 +6627,6 @@ export declare const EventDocument: z.ZodObject<{
7518
6627
  residentialArea?: string | null | undefined;
7519
6628
  street?: string | null | undefined;
7520
6629
  zipCode?: string | null | undefined;
7521
- } | {
7522
- firstname?: string | null | undefined;
7523
- surname?: string | null | undefined;
7524
- middlename?: string | null | undefined;
7525
6630
  } | {
7526
6631
  country: string;
7527
6632
  district: string;
@@ -7544,9 +6649,8 @@ export declare const EventDocument: z.ZodObject<{
7544
6649
  option: string;
7545
6650
  filename: string;
7546
6651
  originalFilename: string;
7547
- }[] | [string, string] | null | undefined>;
7548
- createdBySignature?: string | null | undefined;
7549
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6652
+ }[] | undefined>;
6653
+ createdAtLocation: string;
7550
6654
  annotation?: Record<string, string | number | boolean | {
7551
6655
  type: string;
7552
6656
  filename: string;
@@ -7562,10 +6666,6 @@ export declare const EventDocument: z.ZodObject<{
7562
6666
  residentialArea?: string | null | undefined;
7563
6667
  street?: string | null | undefined;
7564
6668
  zipCode?: string | null | undefined;
7565
- } | {
7566
- firstname?: string | null | undefined;
7567
- surname?: string | null | undefined;
7568
- middlename?: string | null | undefined;
7569
6669
  } | {
7570
6670
  country: string;
7571
6671
  district: string;
@@ -7588,17 +6688,14 @@ export declare const EventDocument: z.ZodObject<{
7588
6688
  option: string;
7589
6689
  filename: string;
7590
6690
  originalFilename: string;
7591
- }[] | [string, string] | null | undefined> | null | undefined;
7592
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6691
+ }[] | undefined> | undefined;
6692
+ originalActionId?: string | undefined;
7593
6693
  } | {
7594
6694
  type: "VALIDATE";
7595
- id: string & z.BRAND<"UUID">;
6695
+ id: string;
7596
6696
  status: "Rejected" | "Requested" | "Accepted";
7597
- transactionId: string;
7598
- createdByUserType: "system" | "user";
7599
6697
  createdAt: string;
7600
6698
  createdBy: string;
7601
- createdByRole: string;
7602
6699
  declaration: Record<string, string | number | boolean | {
7603
6700
  type: string;
7604
6701
  filename: string;
@@ -7614,10 +6711,6 @@ export declare const EventDocument: z.ZodObject<{
7614
6711
  residentialArea?: string | null | undefined;
7615
6712
  street?: string | null | undefined;
7616
6713
  zipCode?: string | null | undefined;
7617
- } | {
7618
- firstname?: string | null | undefined;
7619
- surname?: string | null | undefined;
7620
- middlename?: string | null | undefined;
7621
6714
  } | {
7622
6715
  country: string;
7623
6716
  district: string;
@@ -7640,9 +6733,8 @@ export declare const EventDocument: z.ZodObject<{
7640
6733
  option: string;
7641
6734
  filename: string;
7642
6735
  originalFilename: string;
7643
- }[] | [string, string] | null | undefined>;
7644
- createdBySignature?: string | null | undefined;
7645
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6736
+ }[] | undefined>;
6737
+ createdAtLocation: string;
7646
6738
  annotation?: Record<string, string | number | boolean | {
7647
6739
  type: string;
7648
6740
  filename: string;
@@ -7658,10 +6750,6 @@ export declare const EventDocument: z.ZodObject<{
7658
6750
  residentialArea?: string | null | undefined;
7659
6751
  street?: string | null | undefined;
7660
6752
  zipCode?: string | null | undefined;
7661
- } | {
7662
- firstname?: string | null | undefined;
7663
- surname?: string | null | undefined;
7664
- middlename?: string | null | undefined;
7665
6753
  } | {
7666
6754
  country: string;
7667
6755
  district: string;
@@ -7684,21 +6772,14 @@ export declare const EventDocument: z.ZodObject<{
7684
6772
  option: string;
7685
6773
  filename: string;
7686
6774
  originalFilename: string;
7687
- }[] | [string, string] | null | undefined> | null | undefined;
7688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6775
+ }[] | undefined> | undefined;
6776
+ originalActionId?: string | undefined;
7689
6777
  } | {
7690
6778
  type: "REJECT";
7691
- id: string & z.BRAND<"UUID">;
6779
+ id: string;
7692
6780
  status: "Rejected" | "Requested" | "Accepted";
7693
- reason: {
7694
- message: string;
7695
- isDuplicate?: boolean | undefined;
7696
- };
7697
- transactionId: string;
7698
- createdByUserType: "system" | "user";
7699
6781
  createdAt: string;
7700
6782
  createdBy: string;
7701
- createdByRole: string;
7702
6783
  declaration: Record<string, string | number | boolean | {
7703
6784
  type: string;
7704
6785
  filename: string;
@@ -7714,10 +6795,6 @@ export declare const EventDocument: z.ZodObject<{
7714
6795
  residentialArea?: string | null | undefined;
7715
6796
  street?: string | null | undefined;
7716
6797
  zipCode?: string | null | undefined;
7717
- } | {
7718
- firstname?: string | null | undefined;
7719
- surname?: string | null | undefined;
7720
- middlename?: string | null | undefined;
7721
6798
  } | {
7722
6799
  country: string;
7723
6800
  district: string;
@@ -7740,9 +6817,8 @@ export declare const EventDocument: z.ZodObject<{
7740
6817
  option: string;
7741
6818
  filename: string;
7742
6819
  originalFilename: string;
7743
- }[] | [string, string] | null | undefined>;
7744
- createdBySignature?: string | null | undefined;
7745
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6820
+ }[] | undefined>;
6821
+ createdAtLocation: string;
7746
6822
  annotation?: Record<string, string | number | boolean | {
7747
6823
  type: string;
7748
6824
  filename: string;
@@ -7758,10 +6834,6 @@ export declare const EventDocument: z.ZodObject<{
7758
6834
  residentialArea?: string | null | undefined;
7759
6835
  street?: string | null | undefined;
7760
6836
  zipCode?: string | null | undefined;
7761
- } | {
7762
- firstname?: string | null | undefined;
7763
- surname?: string | null | undefined;
7764
- middlename?: string | null | undefined;
7765
6837
  } | {
7766
6838
  country: string;
7767
6839
  district: string;
@@ -7784,17 +6856,14 @@ export declare const EventDocument: z.ZodObject<{
7784
6856
  option: string;
7785
6857
  filename: string;
7786
6858
  originalFilename: string;
7787
- }[] | [string, string] | null | undefined> | null | undefined;
7788
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6859
+ }[] | undefined> | undefined;
6860
+ originalActionId?: string | undefined;
7789
6861
  } | {
7790
6862
  type: "MARKED_AS_DUPLICATE";
7791
- id: string & z.BRAND<"UUID">;
6863
+ id: string;
7792
6864
  status: "Rejected" | "Requested" | "Accepted";
7793
- transactionId: string;
7794
- createdByUserType: "system" | "user";
7795
6865
  createdAt: string;
7796
6866
  createdBy: string;
7797
- createdByRole: string;
7798
6867
  declaration: Record<string, string | number | boolean | {
7799
6868
  type: string;
7800
6869
  filename: string;
@@ -7810,10 +6879,6 @@ export declare const EventDocument: z.ZodObject<{
7810
6879
  residentialArea?: string | null | undefined;
7811
6880
  street?: string | null | undefined;
7812
6881
  zipCode?: string | null | undefined;
7813
- } | {
7814
- firstname?: string | null | undefined;
7815
- surname?: string | null | undefined;
7816
- middlename?: string | null | undefined;
7817
6882
  } | {
7818
6883
  country: string;
7819
6884
  district: string;
@@ -7836,9 +6901,8 @@ export declare const EventDocument: z.ZodObject<{
7836
6901
  option: string;
7837
6902
  filename: string;
7838
6903
  originalFilename: string;
7839
- }[] | [string, string] | null | undefined>;
7840
- createdBySignature?: string | null | undefined;
7841
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6904
+ }[] | undefined>;
6905
+ createdAtLocation: string;
7842
6906
  annotation?: Record<string, string | number | boolean | {
7843
6907
  type: string;
7844
6908
  filename: string;
@@ -7854,10 +6918,6 @@ export declare const EventDocument: z.ZodObject<{
7854
6918
  residentialArea?: string | null | undefined;
7855
6919
  street?: string | null | undefined;
7856
6920
  zipCode?: string | null | undefined;
7857
- } | {
7858
- firstname?: string | null | undefined;
7859
- surname?: string | null | undefined;
7860
- middlename?: string | null | undefined;
7861
6921
  } | {
7862
6922
  country: string;
7863
6923
  district: string;
@@ -7880,21 +6940,14 @@ export declare const EventDocument: z.ZodObject<{
7880
6940
  option: string;
7881
6941
  filename: string;
7882
6942
  originalFilename: string;
7883
- }[] | [string, string] | null | undefined> | null | undefined;
7884
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6943
+ }[] | undefined> | undefined;
6944
+ originalActionId?: string | undefined;
7885
6945
  } | {
7886
6946
  type: "ARCHIVE";
7887
- id: string & z.BRAND<"UUID">;
6947
+ id: string;
7888
6948
  status: "Rejected" | "Requested" | "Accepted";
7889
- reason: {
7890
- message: string;
7891
- isDuplicate?: boolean | undefined;
7892
- };
7893
- transactionId: string;
7894
- createdByUserType: "system" | "user";
7895
6949
  createdAt: string;
7896
6950
  createdBy: string;
7897
- createdByRole: string;
7898
6951
  declaration: Record<string, string | number | boolean | {
7899
6952
  type: string;
7900
6953
  filename: string;
@@ -7910,10 +6963,6 @@ export declare const EventDocument: z.ZodObject<{
7910
6963
  residentialArea?: string | null | undefined;
7911
6964
  street?: string | null | undefined;
7912
6965
  zipCode?: string | null | undefined;
7913
- } | {
7914
- firstname?: string | null | undefined;
7915
- surname?: string | null | undefined;
7916
- middlename?: string | null | undefined;
7917
6966
  } | {
7918
6967
  country: string;
7919
6968
  district: string;
@@ -7936,9 +6985,8 @@ export declare const EventDocument: z.ZodObject<{
7936
6985
  option: string;
7937
6986
  filename: string;
7938
6987
  originalFilename: string;
7939
- }[] | [string, string] | null | undefined>;
7940
- createdBySignature?: string | null | undefined;
7941
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6988
+ }[] | undefined>;
6989
+ createdAtLocation: string;
7942
6990
  annotation?: Record<string, string | number | boolean | {
7943
6991
  type: string;
7944
6992
  filename: string;
@@ -7954,10 +7002,6 @@ export declare const EventDocument: z.ZodObject<{
7954
7002
  residentialArea?: string | null | undefined;
7955
7003
  street?: string | null | undefined;
7956
7004
  zipCode?: string | null | undefined;
7957
- } | {
7958
- firstname?: string | null | undefined;
7959
- surname?: string | null | undefined;
7960
- middlename?: string | null | undefined;
7961
7005
  } | {
7962
7006
  country: string;
7963
7007
  district: string;
@@ -7980,17 +7024,14 @@ export declare const EventDocument: z.ZodObject<{
7980
7024
  option: string;
7981
7025
  filename: string;
7982
7026
  originalFilename: string;
7983
- }[] | [string, string] | null | undefined> | null | undefined;
7984
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7027
+ }[] | undefined> | undefined;
7028
+ originalActionId?: string | undefined;
7985
7029
  } | {
7986
7030
  type: "CREATE";
7987
- id: string & z.BRAND<"UUID">;
7031
+ id: string;
7988
7032
  status: "Rejected" | "Requested" | "Accepted";
7989
- transactionId: string;
7990
- createdByUserType: "system" | "user";
7991
7033
  createdAt: string;
7992
7034
  createdBy: string;
7993
- createdByRole: string;
7994
7035
  declaration: Record<string, string | number | boolean | {
7995
7036
  type: string;
7996
7037
  filename: string;
@@ -8006,10 +7047,6 @@ export declare const EventDocument: z.ZodObject<{
8006
7047
  residentialArea?: string | null | undefined;
8007
7048
  street?: string | null | undefined;
8008
7049
  zipCode?: string | null | undefined;
8009
- } | {
8010
- firstname?: string | null | undefined;
8011
- surname?: string | null | undefined;
8012
- middlename?: string | null | undefined;
8013
7050
  } | {
8014
7051
  country: string;
8015
7052
  district: string;
@@ -8032,9 +7069,8 @@ export declare const EventDocument: z.ZodObject<{
8032
7069
  option: string;
8033
7070
  filename: string;
8034
7071
  originalFilename: string;
8035
- }[] | [string, string] | null | undefined>;
8036
- createdBySignature?: string | null | undefined;
8037
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7072
+ }[] | undefined>;
7073
+ createdAtLocation: string;
8038
7074
  annotation?: Record<string, string | number | boolean | {
8039
7075
  type: string;
8040
7076
  filename: string;
@@ -8050,10 +7086,6 @@ export declare const EventDocument: z.ZodObject<{
8050
7086
  residentialArea?: string | null | undefined;
8051
7087
  street?: string | null | undefined;
8052
7088
  zipCode?: string | null | undefined;
8053
- } | {
8054
- firstname?: string | null | undefined;
8055
- surname?: string | null | undefined;
8056
- middlename?: string | null | undefined;
8057
7089
  } | {
8058
7090
  country: string;
8059
7091
  district: string;
@@ -8076,17 +7108,14 @@ export declare const EventDocument: z.ZodObject<{
8076
7108
  option: string;
8077
7109
  filename: string;
8078
7110
  originalFilename: string;
8079
- }[] | [string, string] | null | undefined> | null | undefined;
8080
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7111
+ }[] | undefined> | undefined;
7112
+ originalActionId?: string | undefined;
8081
7113
  } | {
8082
7114
  type: "NOTIFY";
8083
- id: string & z.BRAND<"UUID">;
7115
+ id: string;
8084
7116
  status: "Rejected" | "Requested" | "Accepted";
8085
- transactionId: string;
8086
- createdByUserType: "system" | "user";
8087
7117
  createdAt: string;
8088
7118
  createdBy: string;
8089
- createdByRole: string;
8090
7119
  declaration: Record<string, string | number | boolean | {
8091
7120
  type: string;
8092
7121
  filename: string;
@@ -8102,10 +7131,6 @@ export declare const EventDocument: z.ZodObject<{
8102
7131
  residentialArea?: string | null | undefined;
8103
7132
  street?: string | null | undefined;
8104
7133
  zipCode?: string | null | undefined;
8105
- } | {
8106
- firstname?: string | null | undefined;
8107
- surname?: string | null | undefined;
8108
- middlename?: string | null | undefined;
8109
7134
  } | {
8110
7135
  country: string;
8111
7136
  district: string;
@@ -8128,9 +7153,8 @@ export declare const EventDocument: z.ZodObject<{
8128
7153
  option: string;
8129
7154
  filename: string;
8130
7155
  originalFilename: string;
8131
- }[] | [string, string] | null | undefined>;
8132
- createdBySignature?: string | null | undefined;
8133
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7156
+ }[] | undefined>;
7157
+ createdAtLocation: string;
8134
7158
  annotation?: Record<string, string | number | boolean | {
8135
7159
  type: string;
8136
7160
  filename: string;
@@ -8146,10 +7170,6 @@ export declare const EventDocument: z.ZodObject<{
8146
7170
  residentialArea?: string | null | undefined;
8147
7171
  street?: string | null | undefined;
8148
7172
  zipCode?: string | null | undefined;
8149
- } | {
8150
- firstname?: string | null | undefined;
8151
- surname?: string | null | undefined;
8152
- middlename?: string | null | undefined;
8153
7173
  } | {
8154
7174
  country: string;
8155
7175
  district: string;
@@ -8172,17 +7192,14 @@ export declare const EventDocument: z.ZodObject<{
8172
7192
  option: string;
8173
7193
  filename: string;
8174
7194
  originalFilename: string;
8175
- }[] | [string, string] | null | undefined> | null | undefined;
8176
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7195
+ }[] | undefined> | undefined;
7196
+ originalActionId?: string | undefined;
8177
7197
  } | {
8178
7198
  type: "PRINT_CERTIFICATE";
8179
- id: string & z.BRAND<"UUID">;
7199
+ id: string;
8180
7200
  status: "Rejected" | "Requested" | "Accepted";
8181
- transactionId: string;
8182
- createdByUserType: "system" | "user";
8183
7201
  createdAt: string;
8184
7202
  createdBy: string;
8185
- createdByRole: string;
8186
7203
  declaration: Record<string, string | number | boolean | {
8187
7204
  type: string;
8188
7205
  filename: string;
@@ -8198,10 +7215,6 @@ export declare const EventDocument: z.ZodObject<{
8198
7215
  residentialArea?: string | null | undefined;
8199
7216
  street?: string | null | undefined;
8200
7217
  zipCode?: string | null | undefined;
8201
- } | {
8202
- firstname?: string | null | undefined;
8203
- surname?: string | null | undefined;
8204
- middlename?: string | null | undefined;
8205
7218
  } | {
8206
7219
  country: string;
8207
7220
  district: string;
@@ -8224,9 +7237,8 @@ export declare const EventDocument: z.ZodObject<{
8224
7237
  option: string;
8225
7238
  filename: string;
8226
7239
  originalFilename: string;
8227
- }[] | [string, string] | null | undefined>;
8228
- createdBySignature?: string | null | undefined;
8229
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7240
+ }[] | undefined>;
7241
+ createdAtLocation: string;
8230
7242
  annotation?: Record<string, string | number | boolean | {
8231
7243
  type: string;
8232
7244
  filename: string;
@@ -8242,10 +7254,6 @@ export declare const EventDocument: z.ZodObject<{
8242
7254
  residentialArea?: string | null | undefined;
8243
7255
  street?: string | null | undefined;
8244
7256
  zipCode?: string | null | undefined;
8245
- } | {
8246
- firstname?: string | null | undefined;
8247
- surname?: string | null | undefined;
8248
- middlename?: string | null | undefined;
8249
7257
  } | {
8250
7258
  country: string;
8251
7259
  district: string;
@@ -8268,17 +7276,14 @@ export declare const EventDocument: z.ZodObject<{
8268
7276
  option: string;
8269
7277
  filename: string;
8270
7278
  originalFilename: string;
8271
- }[] | [string, string] | null | undefined> | null | undefined;
8272
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7279
+ }[] | undefined> | undefined;
7280
+ originalActionId?: string | undefined;
8273
7281
  } | {
8274
7282
  type: "REQUEST_CORRECTION";
8275
- id: string & z.BRAND<"UUID">;
7283
+ id: string;
8276
7284
  status: "Rejected" | "Requested" | "Accepted";
8277
- transactionId: string;
8278
- createdByUserType: "system" | "user";
8279
7285
  createdAt: string;
8280
7286
  createdBy: string;
8281
- createdByRole: string;
8282
7287
  declaration: Record<string, string | number | boolean | {
8283
7288
  type: string;
8284
7289
  filename: string;
@@ -8294,10 +7299,6 @@ export declare const EventDocument: z.ZodObject<{
8294
7299
  residentialArea?: string | null | undefined;
8295
7300
  street?: string | null | undefined;
8296
7301
  zipCode?: string | null | undefined;
8297
- } | {
8298
- firstname?: string | null | undefined;
8299
- surname?: string | null | undefined;
8300
- middlename?: string | null | undefined;
8301
7302
  } | {
8302
7303
  country: string;
8303
7304
  district: string;
@@ -8320,9 +7321,8 @@ export declare const EventDocument: z.ZodObject<{
8320
7321
  option: string;
8321
7322
  filename: string;
8322
7323
  originalFilename: string;
8323
- }[] | [string, string] | null | undefined>;
8324
- createdBySignature?: string | null | undefined;
8325
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7324
+ }[] | undefined>;
7325
+ createdAtLocation: string;
8326
7326
  annotation?: Record<string, string | number | boolean | {
8327
7327
  type: string;
8328
7328
  filename: string;
@@ -8338,10 +7338,6 @@ export declare const EventDocument: z.ZodObject<{
8338
7338
  residentialArea?: string | null | undefined;
8339
7339
  street?: string | null | undefined;
8340
7340
  zipCode?: string | null | undefined;
8341
- } | {
8342
- firstname?: string | null | undefined;
8343
- surname?: string | null | undefined;
8344
- middlename?: string | null | undefined;
8345
7341
  } | {
8346
7342
  country: string;
8347
7343
  district: string;
@@ -8364,17 +7360,14 @@ export declare const EventDocument: z.ZodObject<{
8364
7360
  option: string;
8365
7361
  filename: string;
8366
7362
  originalFilename: string;
8367
- }[] | [string, string] | null | undefined> | null | undefined;
8368
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7363
+ }[] | undefined> | undefined;
7364
+ originalActionId?: string | undefined;
8369
7365
  } | {
8370
7366
  type: "APPROVE_CORRECTION";
8371
- id: string & z.BRAND<"UUID">;
7367
+ id: string;
8372
7368
  status: "Rejected" | "Requested" | "Accepted";
8373
- transactionId: string;
8374
- createdByUserType: "system" | "user";
8375
7369
  createdAt: string;
8376
7370
  createdBy: string;
8377
- createdByRole: string;
8378
7371
  declaration: Record<string, string | number | boolean | {
8379
7372
  type: string;
8380
7373
  filename: string;
@@ -8390,10 +7383,6 @@ export declare const EventDocument: z.ZodObject<{
8390
7383
  residentialArea?: string | null | undefined;
8391
7384
  street?: string | null | undefined;
8392
7385
  zipCode?: string | null | undefined;
8393
- } | {
8394
- firstname?: string | null | undefined;
8395
- surname?: string | null | undefined;
8396
- middlename?: string | null | undefined;
8397
7386
  } | {
8398
7387
  country: string;
8399
7388
  district: string;
@@ -8416,10 +7405,9 @@ export declare const EventDocument: z.ZodObject<{
8416
7405
  option: string;
8417
7406
  filename: string;
8418
7407
  originalFilename: string;
8419
- }[] | [string, string] | null | undefined>;
7408
+ }[] | undefined>;
7409
+ createdAtLocation: string;
8420
7410
  requestId: string;
8421
- createdBySignature?: string | null | undefined;
8422
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8423
7411
  annotation?: Record<string, string | number | boolean | {
8424
7412
  type: string;
8425
7413
  filename: string;
@@ -8435,10 +7423,6 @@ export declare const EventDocument: z.ZodObject<{
8435
7423
  residentialArea?: string | null | undefined;
8436
7424
  street?: string | null | undefined;
8437
7425
  zipCode?: string | null | undefined;
8438
- } | {
8439
- firstname?: string | null | undefined;
8440
- surname?: string | null | undefined;
8441
- middlename?: string | null | undefined;
8442
7426
  } | {
8443
7427
  country: string;
8444
7428
  district: string;
@@ -8461,17 +7445,14 @@ export declare const EventDocument: z.ZodObject<{
8461
7445
  option: string;
8462
7446
  filename: string;
8463
7447
  originalFilename: string;
8464
- }[] | [string, string] | null | undefined> | null | undefined;
8465
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7448
+ }[] | undefined> | undefined;
7449
+ originalActionId?: string | undefined;
8466
7450
  } | {
8467
7451
  type: "REJECT_CORRECTION";
8468
- id: string & z.BRAND<"UUID">;
7452
+ id: string;
8469
7453
  status: "Rejected" | "Requested" | "Accepted";
8470
- transactionId: string;
8471
- createdByUserType: "system" | "user";
8472
7454
  createdAt: string;
8473
7455
  createdBy: string;
8474
- createdByRole: string;
8475
7456
  declaration: Record<string, string | number | boolean | {
8476
7457
  type: string;
8477
7458
  filename: string;
@@ -8487,10 +7468,6 @@ export declare const EventDocument: z.ZodObject<{
8487
7468
  residentialArea?: string | null | undefined;
8488
7469
  street?: string | null | undefined;
8489
7470
  zipCode?: string | null | undefined;
8490
- } | {
8491
- firstname?: string | null | undefined;
8492
- surname?: string | null | undefined;
8493
- middlename?: string | null | undefined;
8494
7471
  } | {
8495
7472
  country: string;
8496
7473
  district: string;
@@ -8513,10 +7490,9 @@ export declare const EventDocument: z.ZodObject<{
8513
7490
  option: string;
8514
7491
  filename: string;
8515
7492
  originalFilename: string;
8516
- }[] | [string, string] | null | undefined>;
7493
+ }[] | undefined>;
7494
+ createdAtLocation: string;
8517
7495
  requestId: string;
8518
- createdBySignature?: string | null | undefined;
8519
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8520
7496
  annotation?: Record<string, string | number | boolean | {
8521
7497
  type: string;
8522
7498
  filename: string;
@@ -8532,10 +7508,6 @@ export declare const EventDocument: z.ZodObject<{
8532
7508
  residentialArea?: string | null | undefined;
8533
7509
  street?: string | null | undefined;
8534
7510
  zipCode?: string | null | undefined;
8535
- } | {
8536
- firstname?: string | null | undefined;
8537
- surname?: string | null | undefined;
8538
- middlename?: string | null | undefined;
8539
7511
  } | {
8540
7512
  country: string;
8541
7513
  district: string;
@@ -8558,17 +7530,14 @@ export declare const EventDocument: z.ZodObject<{
8558
7530
  option: string;
8559
7531
  filename: string;
8560
7532
  originalFilename: string;
8561
- }[] | [string, string] | null | undefined> | null | undefined;
8562
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7533
+ }[] | undefined> | undefined;
7534
+ originalActionId?: string | undefined;
8563
7535
  } | {
8564
7536
  type: "READ";
8565
- id: string & z.BRAND<"UUID">;
7537
+ id: string;
8566
7538
  status: "Rejected" | "Requested" | "Accepted";
8567
- transactionId: string;
8568
- createdByUserType: "system" | "user";
8569
7539
  createdAt: string;
8570
7540
  createdBy: string;
8571
- createdByRole: string;
8572
7541
  declaration: Record<string, string | number | boolean | {
8573
7542
  type: string;
8574
7543
  filename: string;
@@ -8584,10 +7553,6 @@ export declare const EventDocument: z.ZodObject<{
8584
7553
  residentialArea?: string | null | undefined;
8585
7554
  street?: string | null | undefined;
8586
7555
  zipCode?: string | null | undefined;
8587
- } | {
8588
- firstname?: string | null | undefined;
8589
- surname?: string | null | undefined;
8590
- middlename?: string | null | undefined;
8591
7556
  } | {
8592
7557
  country: string;
8593
7558
  district: string;
@@ -8610,9 +7575,8 @@ export declare const EventDocument: z.ZodObject<{
8610
7575
  option: string;
8611
7576
  filename: string;
8612
7577
  originalFilename: string;
8613
- }[] | [string, string] | null | undefined>;
8614
- createdBySignature?: string | null | undefined;
8615
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7578
+ }[] | undefined>;
7579
+ createdAtLocation: string;
8616
7580
  annotation?: Record<string, string | number | boolean | {
8617
7581
  type: string;
8618
7582
  filename: string;
@@ -8628,10 +7592,6 @@ export declare const EventDocument: z.ZodObject<{
8628
7592
  residentialArea?: string | null | undefined;
8629
7593
  street?: string | null | undefined;
8630
7594
  zipCode?: string | null | undefined;
8631
- } | {
8632
- firstname?: string | null | undefined;
8633
- surname?: string | null | undefined;
8634
- middlename?: string | null | undefined;
8635
7595
  } | {
8636
7596
  country: string;
8637
7597
  district: string;
@@ -8654,20 +7614,14 @@ export declare const EventDocument: z.ZodObject<{
8654
7614
  option: string;
8655
7615
  filename: string;
8656
7616
  originalFilename: string;
8657
- }[] | [string, string] | null | undefined> | null | undefined;
8658
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7617
+ }[] | undefined> | undefined;
7618
+ originalActionId?: string | undefined;
8659
7619
  } | {
8660
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
- id: string & z.BRAND<"UUID">;
7620
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7621
+ id: string;
8662
7622
  status: "Rejected";
8663
- transactionId: string;
8664
- createdByUserType: "system" | "user";
8665
7623
  createdAt: string;
8666
- createdBy: string;
8667
- createdByRole: string;
8668
- createdBySignature?: string | null | undefined;
8669
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7624
+ originalActionId?: string | undefined;
8671
7625
  })[];
8672
7626
  trackingId: string;
8673
7627
  }, {
@@ -8679,11 +7633,8 @@ export declare const EventDocument: z.ZodObject<{
8679
7633
  type: "ASSIGN";
8680
7634
  id: string;
8681
7635
  status: "Rejected" | "Requested" | "Accepted";
8682
- transactionId: string;
8683
- createdByUserType: "system" | "user";
8684
7636
  createdAt: string;
8685
7637
  createdBy: string;
8686
- createdByRole: string;
8687
7638
  declaration: Record<string, string | number | boolean | {
8688
7639
  type: string;
8689
7640
  filename: string;
@@ -8699,10 +7650,6 @@ export declare const EventDocument: z.ZodObject<{
8699
7650
  residentialArea?: string | null | undefined;
8700
7651
  street?: string | null | undefined;
8701
7652
  zipCode?: string | null | undefined;
8702
- } | {
8703
- firstname?: string | null | undefined;
8704
- surname?: string | null | undefined;
8705
- middlename?: string | null | undefined;
8706
7653
  } | {
8707
7654
  country: string;
8708
7655
  district: string;
@@ -8725,10 +7672,9 @@ export declare const EventDocument: z.ZodObject<{
8725
7672
  option: string;
8726
7673
  filename: string;
8727
7674
  originalFilename: string;
8728
- }[] | [string, string] | null | undefined>;
7675
+ }[] | undefined>;
7676
+ createdAtLocation: string;
8729
7677
  assignedTo: string;
8730
- createdBySignature?: string | null | undefined;
8731
- createdAtLocation?: string | null | undefined;
8732
7678
  annotation?: Record<string, string | number | boolean | {
8733
7679
  type: string;
8734
7680
  filename: string;
@@ -8744,10 +7690,6 @@ export declare const EventDocument: z.ZodObject<{
8744
7690
  residentialArea?: string | null | undefined;
8745
7691
  street?: string | null | undefined;
8746
7692
  zipCode?: string | null | undefined;
8747
- } | {
8748
- firstname?: string | null | undefined;
8749
- surname?: string | null | undefined;
8750
- middlename?: string | null | undefined;
8751
7693
  } | {
8752
7694
  country: string;
8753
7695
  district: string;
@@ -8770,17 +7712,14 @@ export declare const EventDocument: z.ZodObject<{
8770
7712
  option: string;
8771
7713
  filename: string;
8772
7714
  originalFilename: string;
8773
- }[] | [string, string] | null | undefined> | null | undefined;
8774
- originalActionId?: string | null | undefined;
7715
+ }[] | undefined> | undefined;
7716
+ originalActionId?: string | undefined;
8775
7717
  } | {
8776
7718
  type: "UNASSIGN";
8777
7719
  id: string;
8778
7720
  status: "Rejected" | "Requested" | "Accepted";
8779
- transactionId: string;
8780
- createdByUserType: "system" | "user";
8781
7721
  createdAt: string;
8782
7722
  createdBy: string;
8783
- createdByRole: string;
8784
7723
  declaration: Record<string, string | number | boolean | {
8785
7724
  type: string;
8786
7725
  filename: string;
@@ -8796,10 +7735,6 @@ export declare const EventDocument: z.ZodObject<{
8796
7735
  residentialArea?: string | null | undefined;
8797
7736
  street?: string | null | undefined;
8798
7737
  zipCode?: string | null | undefined;
8799
- } | {
8800
- firstname?: string | null | undefined;
8801
- surname?: string | null | undefined;
8802
- middlename?: string | null | undefined;
8803
7738
  } | {
8804
7739
  country: string;
8805
7740
  district: string;
@@ -8822,9 +7757,8 @@ export declare const EventDocument: z.ZodObject<{
8822
7757
  option: string;
8823
7758
  filename: string;
8824
7759
  originalFilename: string;
8825
- }[] | [string, string] | null | undefined>;
8826
- createdBySignature?: string | null | undefined;
8827
- createdAtLocation?: string | null | undefined;
7760
+ }[] | undefined>;
7761
+ createdAtLocation: string;
8828
7762
  annotation?: Record<string, string | number | boolean | {
8829
7763
  type: string;
8830
7764
  filename: string;
@@ -8840,10 +7774,6 @@ export declare const EventDocument: z.ZodObject<{
8840
7774
  residentialArea?: string | null | undefined;
8841
7775
  street?: string | null | undefined;
8842
7776
  zipCode?: string | null | undefined;
8843
- } | {
8844
- firstname?: string | null | undefined;
8845
- surname?: string | null | undefined;
8846
- middlename?: string | null | undefined;
8847
7777
  } | {
8848
7778
  country: string;
8849
7779
  district: string;
@@ -8866,17 +7796,15 @@ export declare const EventDocument: z.ZodObject<{
8866
7796
  option: string;
8867
7797
  filename: string;
8868
7798
  originalFilename: string;
8869
- }[] | [string, string] | null | undefined> | null | undefined;
8870
- originalActionId?: string | null | undefined;
7799
+ }[] | undefined> | undefined;
7800
+ originalActionId?: string | undefined;
7801
+ assignedTo?: null | undefined;
8871
7802
  } | {
8872
7803
  type: "REGISTER";
8873
7804
  id: string;
8874
7805
  status: "Rejected" | "Requested" | "Accepted";
8875
- transactionId: string;
8876
- createdByUserType: "system" | "user";
8877
7806
  createdAt: string;
8878
7807
  createdBy: string;
8879
- createdByRole: string;
8880
7808
  declaration: Record<string, string | number | boolean | {
8881
7809
  type: string;
8882
7810
  filename: string;
@@ -8892,10 +7820,6 @@ export declare const EventDocument: z.ZodObject<{
8892
7820
  residentialArea?: string | null | undefined;
8893
7821
  street?: string | null | undefined;
8894
7822
  zipCode?: string | null | undefined;
8895
- } | {
8896
- firstname?: string | null | undefined;
8897
- surname?: string | null | undefined;
8898
- middlename?: string | null | undefined;
8899
7823
  } | {
8900
7824
  country: string;
8901
7825
  district: string;
@@ -8918,9 +7842,8 @@ export declare const EventDocument: z.ZodObject<{
8918
7842
  option: string;
8919
7843
  filename: string;
8920
7844
  originalFilename: string;
8921
- }[] | [string, string] | null | undefined>;
8922
- createdBySignature?: string | null | undefined;
8923
- createdAtLocation?: string | null | undefined;
7845
+ }[] | undefined>;
7846
+ createdAtLocation: string;
8924
7847
  annotation?: Record<string, string | number | boolean | {
8925
7848
  type: string;
8926
7849
  filename: string;
@@ -8936,10 +7859,6 @@ export declare const EventDocument: z.ZodObject<{
8936
7859
  residentialArea?: string | null | undefined;
8937
7860
  street?: string | null | undefined;
8938
7861
  zipCode?: string | null | undefined;
8939
- } | {
8940
- firstname?: string | null | undefined;
8941
- surname?: string | null | undefined;
8942
- middlename?: string | null | undefined;
8943
7862
  } | {
8944
7863
  country: string;
8945
7864
  district: string;
@@ -8962,18 +7881,15 @@ export declare const EventDocument: z.ZodObject<{
8962
7881
  option: string;
8963
7882
  filename: string;
8964
7883
  originalFilename: string;
8965
- }[] | [string, string] | null | undefined> | null | undefined;
8966
- originalActionId?: string | null | undefined;
7884
+ }[] | undefined> | undefined;
7885
+ originalActionId?: string | undefined;
8967
7886
  registrationNumber?: string | undefined;
8968
7887
  } | {
8969
7888
  type: "DECLARE";
8970
7889
  id: string;
8971
7890
  status: "Rejected" | "Requested" | "Accepted";
8972
- transactionId: string;
8973
- createdByUserType: "system" | "user";
8974
7891
  createdAt: string;
8975
7892
  createdBy: string;
8976
- createdByRole: string;
8977
7893
  declaration: Record<string, string | number | boolean | {
8978
7894
  type: string;
8979
7895
  filename: string;
@@ -8989,10 +7905,6 @@ export declare const EventDocument: z.ZodObject<{
8989
7905
  residentialArea?: string | null | undefined;
8990
7906
  street?: string | null | undefined;
8991
7907
  zipCode?: string | null | undefined;
8992
- } | {
8993
- firstname?: string | null | undefined;
8994
- surname?: string | null | undefined;
8995
- middlename?: string | null | undefined;
8996
7908
  } | {
8997
7909
  country: string;
8998
7910
  district: string;
@@ -9015,9 +7927,8 @@ export declare const EventDocument: z.ZodObject<{
9015
7927
  option: string;
9016
7928
  filename: string;
9017
7929
  originalFilename: string;
9018
- }[] | [string, string] | null | undefined>;
9019
- createdBySignature?: string | null | undefined;
9020
- createdAtLocation?: string | null | undefined;
7930
+ }[] | undefined>;
7931
+ createdAtLocation: string;
9021
7932
  annotation?: Record<string, string | number | boolean | {
9022
7933
  type: string;
9023
7934
  filename: string;
@@ -9033,10 +7944,6 @@ export declare const EventDocument: z.ZodObject<{
9033
7944
  residentialArea?: string | null | undefined;
9034
7945
  street?: string | null | undefined;
9035
7946
  zipCode?: string | null | undefined;
9036
- } | {
9037
- firstname?: string | null | undefined;
9038
- surname?: string | null | undefined;
9039
- middlename?: string | null | undefined;
9040
7947
  } | {
9041
7948
  country: string;
9042
7949
  district: string;
@@ -9059,17 +7966,14 @@ export declare const EventDocument: z.ZodObject<{
9059
7966
  option: string;
9060
7967
  filename: string;
9061
7968
  originalFilename: string;
9062
- }[] | [string, string] | null | undefined> | null | undefined;
9063
- originalActionId?: string | null | undefined;
7969
+ }[] | undefined> | undefined;
7970
+ originalActionId?: string | undefined;
9064
7971
  } | {
9065
7972
  type: "VALIDATE";
9066
7973
  id: string;
9067
7974
  status: "Rejected" | "Requested" | "Accepted";
9068
- transactionId: string;
9069
- createdByUserType: "system" | "user";
9070
7975
  createdAt: string;
9071
7976
  createdBy: string;
9072
- createdByRole: string;
9073
7977
  declaration: Record<string, string | number | boolean | {
9074
7978
  type: string;
9075
7979
  filename: string;
@@ -9085,10 +7989,6 @@ export declare const EventDocument: z.ZodObject<{
9085
7989
  residentialArea?: string | null | undefined;
9086
7990
  street?: string | null | undefined;
9087
7991
  zipCode?: string | null | undefined;
9088
- } | {
9089
- firstname?: string | null | undefined;
9090
- surname?: string | null | undefined;
9091
- middlename?: string | null | undefined;
9092
7992
  } | {
9093
7993
  country: string;
9094
7994
  district: string;
@@ -9111,9 +8011,8 @@ export declare const EventDocument: z.ZodObject<{
9111
8011
  option: string;
9112
8012
  filename: string;
9113
8013
  originalFilename: string;
9114
- }[] | [string, string] | null | undefined>;
9115
- createdBySignature?: string | null | undefined;
9116
- createdAtLocation?: string | null | undefined;
8014
+ }[] | undefined>;
8015
+ createdAtLocation: string;
9117
8016
  annotation?: Record<string, string | number | boolean | {
9118
8017
  type: string;
9119
8018
  filename: string;
@@ -9129,10 +8028,6 @@ export declare const EventDocument: z.ZodObject<{
9129
8028
  residentialArea?: string | null | undefined;
9130
8029
  street?: string | null | undefined;
9131
8030
  zipCode?: string | null | undefined;
9132
- } | {
9133
- firstname?: string | null | undefined;
9134
- surname?: string | null | undefined;
9135
- middlename?: string | null | undefined;
9136
8031
  } | {
9137
8032
  country: string;
9138
8033
  district: string;
@@ -9155,21 +8050,14 @@ export declare const EventDocument: z.ZodObject<{
9155
8050
  option: string;
9156
8051
  filename: string;
9157
8052
  originalFilename: string;
9158
- }[] | [string, string] | null | undefined> | null | undefined;
9159
- originalActionId?: string | null | undefined;
8053
+ }[] | undefined> | undefined;
8054
+ originalActionId?: string | undefined;
9160
8055
  } | {
9161
8056
  type: "REJECT";
9162
8057
  id: string;
9163
8058
  status: "Rejected" | "Requested" | "Accepted";
9164
- reason: {
9165
- message: string;
9166
- isDuplicate?: boolean | undefined;
9167
- };
9168
- transactionId: string;
9169
- createdByUserType: "system" | "user";
9170
8059
  createdAt: string;
9171
8060
  createdBy: string;
9172
- createdByRole: string;
9173
8061
  declaration: Record<string, string | number | boolean | {
9174
8062
  type: string;
9175
8063
  filename: string;
@@ -9185,10 +8073,6 @@ export declare const EventDocument: z.ZodObject<{
9185
8073
  residentialArea?: string | null | undefined;
9186
8074
  street?: string | null | undefined;
9187
8075
  zipCode?: string | null | undefined;
9188
- } | {
9189
- firstname?: string | null | undefined;
9190
- surname?: string | null | undefined;
9191
- middlename?: string | null | undefined;
9192
8076
  } | {
9193
8077
  country: string;
9194
8078
  district: string;
@@ -9211,9 +8095,8 @@ export declare const EventDocument: z.ZodObject<{
9211
8095
  option: string;
9212
8096
  filename: string;
9213
8097
  originalFilename: string;
9214
- }[] | [string, string] | null | undefined>;
9215
- createdBySignature?: string | null | undefined;
9216
- createdAtLocation?: string | null | undefined;
8098
+ }[] | undefined>;
8099
+ createdAtLocation: string;
9217
8100
  annotation?: Record<string, string | number | boolean | {
9218
8101
  type: string;
9219
8102
  filename: string;
@@ -9229,10 +8112,6 @@ export declare const EventDocument: z.ZodObject<{
9229
8112
  residentialArea?: string | null | undefined;
9230
8113
  street?: string | null | undefined;
9231
8114
  zipCode?: string | null | undefined;
9232
- } | {
9233
- firstname?: string | null | undefined;
9234
- surname?: string | null | undefined;
9235
- middlename?: string | null | undefined;
9236
8115
  } | {
9237
8116
  country: string;
9238
8117
  district: string;
@@ -9255,17 +8134,14 @@ export declare const EventDocument: z.ZodObject<{
9255
8134
  option: string;
9256
8135
  filename: string;
9257
8136
  originalFilename: string;
9258
- }[] | [string, string] | null | undefined> | null | undefined;
9259
- originalActionId?: string | null | undefined;
8137
+ }[] | undefined> | undefined;
8138
+ originalActionId?: string | undefined;
9260
8139
  } | {
9261
8140
  type: "MARKED_AS_DUPLICATE";
9262
8141
  id: string;
9263
8142
  status: "Rejected" | "Requested" | "Accepted";
9264
- transactionId: string;
9265
- createdByUserType: "system" | "user";
9266
8143
  createdAt: string;
9267
8144
  createdBy: string;
9268
- createdByRole: string;
9269
8145
  declaration: Record<string, string | number | boolean | {
9270
8146
  type: string;
9271
8147
  filename: string;
@@ -9281,10 +8157,6 @@ export declare const EventDocument: z.ZodObject<{
9281
8157
  residentialArea?: string | null | undefined;
9282
8158
  street?: string | null | undefined;
9283
8159
  zipCode?: string | null | undefined;
9284
- } | {
9285
- firstname?: string | null | undefined;
9286
- surname?: string | null | undefined;
9287
- middlename?: string | null | undefined;
9288
8160
  } | {
9289
8161
  country: string;
9290
8162
  district: string;
@@ -9307,9 +8179,8 @@ export declare const EventDocument: z.ZodObject<{
9307
8179
  option: string;
9308
8180
  filename: string;
9309
8181
  originalFilename: string;
9310
- }[] | [string, string] | null | undefined>;
9311
- createdBySignature?: string | null | undefined;
9312
- createdAtLocation?: string | null | undefined;
8182
+ }[] | undefined>;
8183
+ createdAtLocation: string;
9313
8184
  annotation?: Record<string, string | number | boolean | {
9314
8185
  type: string;
9315
8186
  filename: string;
@@ -9325,10 +8196,6 @@ export declare const EventDocument: z.ZodObject<{
9325
8196
  residentialArea?: string | null | undefined;
9326
8197
  street?: string | null | undefined;
9327
8198
  zipCode?: string | null | undefined;
9328
- } | {
9329
- firstname?: string | null | undefined;
9330
- surname?: string | null | undefined;
9331
- middlename?: string | null | undefined;
9332
8199
  } | {
9333
8200
  country: string;
9334
8201
  district: string;
@@ -9351,21 +8218,14 @@ export declare const EventDocument: z.ZodObject<{
9351
8218
  option: string;
9352
8219
  filename: string;
9353
8220
  originalFilename: string;
9354
- }[] | [string, string] | null | undefined> | null | undefined;
9355
- originalActionId?: string | null | undefined;
8221
+ }[] | undefined> | undefined;
8222
+ originalActionId?: string | undefined;
9356
8223
  } | {
9357
8224
  type: "ARCHIVE";
9358
8225
  id: string;
9359
8226
  status: "Rejected" | "Requested" | "Accepted";
9360
- reason: {
9361
- message: string;
9362
- isDuplicate?: boolean | undefined;
9363
- };
9364
- transactionId: string;
9365
- createdByUserType: "system" | "user";
9366
8227
  createdAt: string;
9367
8228
  createdBy: string;
9368
- createdByRole: string;
9369
8229
  declaration: Record<string, string | number | boolean | {
9370
8230
  type: string;
9371
8231
  filename: string;
@@ -9381,10 +8241,6 @@ export declare const EventDocument: z.ZodObject<{
9381
8241
  residentialArea?: string | null | undefined;
9382
8242
  street?: string | null | undefined;
9383
8243
  zipCode?: string | null | undefined;
9384
- } | {
9385
- firstname?: string | null | undefined;
9386
- surname?: string | null | undefined;
9387
- middlename?: string | null | undefined;
9388
8244
  } | {
9389
8245
  country: string;
9390
8246
  district: string;
@@ -9407,9 +8263,8 @@ export declare const EventDocument: z.ZodObject<{
9407
8263
  option: string;
9408
8264
  filename: string;
9409
8265
  originalFilename: string;
9410
- }[] | [string, string] | null | undefined>;
9411
- createdBySignature?: string | null | undefined;
9412
- createdAtLocation?: string | null | undefined;
8266
+ }[] | undefined>;
8267
+ createdAtLocation: string;
9413
8268
  annotation?: Record<string, string | number | boolean | {
9414
8269
  type: string;
9415
8270
  filename: string;
@@ -9425,10 +8280,6 @@ export declare const EventDocument: z.ZodObject<{
9425
8280
  residentialArea?: string | null | undefined;
9426
8281
  street?: string | null | undefined;
9427
8282
  zipCode?: string | null | undefined;
9428
- } | {
9429
- firstname?: string | null | undefined;
9430
- surname?: string | null | undefined;
9431
- middlename?: string | null | undefined;
9432
8283
  } | {
9433
8284
  country: string;
9434
8285
  district: string;
@@ -9451,17 +8302,14 @@ export declare const EventDocument: z.ZodObject<{
9451
8302
  option: string;
9452
8303
  filename: string;
9453
8304
  originalFilename: string;
9454
- }[] | [string, string] | null | undefined> | null | undefined;
9455
- originalActionId?: string | null | undefined;
8305
+ }[] | undefined> | undefined;
8306
+ originalActionId?: string | undefined;
9456
8307
  } | {
9457
8308
  type: "CREATE";
9458
8309
  id: string;
9459
8310
  status: "Rejected" | "Requested" | "Accepted";
9460
- transactionId: string;
9461
- createdByUserType: "system" | "user";
9462
8311
  createdAt: string;
9463
8312
  createdBy: string;
9464
- createdByRole: string;
9465
8313
  declaration: Record<string, string | number | boolean | {
9466
8314
  type: string;
9467
8315
  filename: string;
@@ -9477,10 +8325,6 @@ export declare const EventDocument: z.ZodObject<{
9477
8325
  residentialArea?: string | null | undefined;
9478
8326
  street?: string | null | undefined;
9479
8327
  zipCode?: string | null | undefined;
9480
- } | {
9481
- firstname?: string | null | undefined;
9482
- surname?: string | null | undefined;
9483
- middlename?: string | null | undefined;
9484
8328
  } | {
9485
8329
  country: string;
9486
8330
  district: string;
@@ -9503,9 +8347,8 @@ export declare const EventDocument: z.ZodObject<{
9503
8347
  option: string;
9504
8348
  filename: string;
9505
8349
  originalFilename: string;
9506
- }[] | [string, string] | null | undefined>;
9507
- createdBySignature?: string | null | undefined;
9508
- createdAtLocation?: string | null | undefined;
8350
+ }[] | undefined>;
8351
+ createdAtLocation: string;
9509
8352
  annotation?: Record<string, string | number | boolean | {
9510
8353
  type: string;
9511
8354
  filename: string;
@@ -9521,10 +8364,6 @@ export declare const EventDocument: z.ZodObject<{
9521
8364
  residentialArea?: string | null | undefined;
9522
8365
  street?: string | null | undefined;
9523
8366
  zipCode?: string | null | undefined;
9524
- } | {
9525
- firstname?: string | null | undefined;
9526
- surname?: string | null | undefined;
9527
- middlename?: string | null | undefined;
9528
8367
  } | {
9529
8368
  country: string;
9530
8369
  district: string;
@@ -9547,17 +8386,14 @@ export declare const EventDocument: z.ZodObject<{
9547
8386
  option: string;
9548
8387
  filename: string;
9549
8388
  originalFilename: string;
9550
- }[] | [string, string] | null | undefined> | null | undefined;
9551
- originalActionId?: string | null | undefined;
8389
+ }[] | undefined> | undefined;
8390
+ originalActionId?: string | undefined;
9552
8391
  } | {
9553
8392
  type: "NOTIFY";
9554
8393
  id: string;
9555
8394
  status: "Rejected" | "Requested" | "Accepted";
9556
- transactionId: string;
9557
- createdByUserType: "system" | "user";
9558
8395
  createdAt: string;
9559
8396
  createdBy: string;
9560
- createdByRole: string;
9561
8397
  declaration: Record<string, string | number | boolean | {
9562
8398
  type: string;
9563
8399
  filename: string;
@@ -9573,10 +8409,6 @@ export declare const EventDocument: z.ZodObject<{
9573
8409
  residentialArea?: string | null | undefined;
9574
8410
  street?: string | null | undefined;
9575
8411
  zipCode?: string | null | undefined;
9576
- } | {
9577
- firstname?: string | null | undefined;
9578
- surname?: string | null | undefined;
9579
- middlename?: string | null | undefined;
9580
8412
  } | {
9581
8413
  country: string;
9582
8414
  district: string;
@@ -9599,9 +8431,8 @@ export declare const EventDocument: z.ZodObject<{
9599
8431
  option: string;
9600
8432
  filename: string;
9601
8433
  originalFilename: string;
9602
- }[] | [string, string] | null | undefined>;
9603
- createdBySignature?: string | null | undefined;
9604
- createdAtLocation?: string | null | undefined;
8434
+ }[] | undefined>;
8435
+ createdAtLocation: string;
9605
8436
  annotation?: Record<string, string | number | boolean | {
9606
8437
  type: string;
9607
8438
  filename: string;
@@ -9617,10 +8448,6 @@ export declare const EventDocument: z.ZodObject<{
9617
8448
  residentialArea?: string | null | undefined;
9618
8449
  street?: string | null | undefined;
9619
8450
  zipCode?: string | null | undefined;
9620
- } | {
9621
- firstname?: string | null | undefined;
9622
- surname?: string | null | undefined;
9623
- middlename?: string | null | undefined;
9624
8451
  } | {
9625
8452
  country: string;
9626
8453
  district: string;
@@ -9643,17 +8470,14 @@ export declare const EventDocument: z.ZodObject<{
9643
8470
  option: string;
9644
8471
  filename: string;
9645
8472
  originalFilename: string;
9646
- }[] | [string, string] | null | undefined> | null | undefined;
9647
- originalActionId?: string | null | undefined;
8473
+ }[] | undefined> | undefined;
8474
+ originalActionId?: string | undefined;
9648
8475
  } | {
9649
8476
  type: "PRINT_CERTIFICATE";
9650
8477
  id: string;
9651
8478
  status: "Rejected" | "Requested" | "Accepted";
9652
- transactionId: string;
9653
- createdByUserType: "system" | "user";
9654
8479
  createdAt: string;
9655
8480
  createdBy: string;
9656
- createdByRole: string;
9657
8481
  declaration: Record<string, string | number | boolean | {
9658
8482
  type: string;
9659
8483
  filename: string;
@@ -9669,10 +8493,6 @@ export declare const EventDocument: z.ZodObject<{
9669
8493
  residentialArea?: string | null | undefined;
9670
8494
  street?: string | null | undefined;
9671
8495
  zipCode?: string | null | undefined;
9672
- } | {
9673
- firstname?: string | null | undefined;
9674
- surname?: string | null | undefined;
9675
- middlename?: string | null | undefined;
9676
8496
  } | {
9677
8497
  country: string;
9678
8498
  district: string;
@@ -9695,9 +8515,8 @@ export declare const EventDocument: z.ZodObject<{
9695
8515
  option: string;
9696
8516
  filename: string;
9697
8517
  originalFilename: string;
9698
- }[] | [string, string] | null | undefined>;
9699
- createdBySignature?: string | null | undefined;
9700
- createdAtLocation?: string | null | undefined;
8518
+ }[] | undefined>;
8519
+ createdAtLocation: string;
9701
8520
  annotation?: Record<string, string | number | boolean | {
9702
8521
  type: string;
9703
8522
  filename: string;
@@ -9713,10 +8532,6 @@ export declare const EventDocument: z.ZodObject<{
9713
8532
  residentialArea?: string | null | undefined;
9714
8533
  street?: string | null | undefined;
9715
8534
  zipCode?: string | null | undefined;
9716
- } | {
9717
- firstname?: string | null | undefined;
9718
- surname?: string | null | undefined;
9719
- middlename?: string | null | undefined;
9720
8535
  } | {
9721
8536
  country: string;
9722
8537
  district: string;
@@ -9739,17 +8554,14 @@ export declare const EventDocument: z.ZodObject<{
9739
8554
  option: string;
9740
8555
  filename: string;
9741
8556
  originalFilename: string;
9742
- }[] | [string, string] | null | undefined> | null | undefined;
9743
- originalActionId?: string | null | undefined;
8557
+ }[] | undefined> | undefined;
8558
+ originalActionId?: string | undefined;
9744
8559
  } | {
9745
8560
  type: "REQUEST_CORRECTION";
9746
8561
  id: string;
9747
8562
  status: "Rejected" | "Requested" | "Accepted";
9748
- transactionId: string;
9749
- createdByUserType: "system" | "user";
9750
8563
  createdAt: string;
9751
8564
  createdBy: string;
9752
- createdByRole: string;
9753
8565
  declaration: Record<string, string | number | boolean | {
9754
8566
  type: string;
9755
8567
  filename: string;
@@ -9765,10 +8577,6 @@ export declare const EventDocument: z.ZodObject<{
9765
8577
  residentialArea?: string | null | undefined;
9766
8578
  street?: string | null | undefined;
9767
8579
  zipCode?: string | null | undefined;
9768
- } | {
9769
- firstname?: string | null | undefined;
9770
- surname?: string | null | undefined;
9771
- middlename?: string | null | undefined;
9772
8580
  } | {
9773
8581
  country: string;
9774
8582
  district: string;
@@ -9791,9 +8599,8 @@ export declare const EventDocument: z.ZodObject<{
9791
8599
  option: string;
9792
8600
  filename: string;
9793
8601
  originalFilename: string;
9794
- }[] | [string, string] | null | undefined>;
9795
- createdBySignature?: string | null | undefined;
9796
- createdAtLocation?: string | null | undefined;
8602
+ }[] | undefined>;
8603
+ createdAtLocation: string;
9797
8604
  annotation?: Record<string, string | number | boolean | {
9798
8605
  type: string;
9799
8606
  filename: string;
@@ -9809,10 +8616,6 @@ export declare const EventDocument: z.ZodObject<{
9809
8616
  residentialArea?: string | null | undefined;
9810
8617
  street?: string | null | undefined;
9811
8618
  zipCode?: string | null | undefined;
9812
- } | {
9813
- firstname?: string | null | undefined;
9814
- surname?: string | null | undefined;
9815
- middlename?: string | null | undefined;
9816
8619
  } | {
9817
8620
  country: string;
9818
8621
  district: string;
@@ -9835,17 +8638,14 @@ export declare const EventDocument: z.ZodObject<{
9835
8638
  option: string;
9836
8639
  filename: string;
9837
8640
  originalFilename: string;
9838
- }[] | [string, string] | null | undefined> | null | undefined;
9839
- originalActionId?: string | null | undefined;
8641
+ }[] | undefined> | undefined;
8642
+ originalActionId?: string | undefined;
9840
8643
  } | {
9841
8644
  type: "APPROVE_CORRECTION";
9842
8645
  id: string;
9843
8646
  status: "Rejected" | "Requested" | "Accepted";
9844
- transactionId: string;
9845
- createdByUserType: "system" | "user";
9846
8647
  createdAt: string;
9847
8648
  createdBy: string;
9848
- createdByRole: string;
9849
8649
  declaration: Record<string, string | number | boolean | {
9850
8650
  type: string;
9851
8651
  filename: string;
@@ -9861,10 +8661,6 @@ export declare const EventDocument: z.ZodObject<{
9861
8661
  residentialArea?: string | null | undefined;
9862
8662
  street?: string | null | undefined;
9863
8663
  zipCode?: string | null | undefined;
9864
- } | {
9865
- firstname?: string | null | undefined;
9866
- surname?: string | null | undefined;
9867
- middlename?: string | null | undefined;
9868
8664
  } | {
9869
8665
  country: string;
9870
8666
  district: string;
@@ -9887,10 +8683,9 @@ export declare const EventDocument: z.ZodObject<{
9887
8683
  option: string;
9888
8684
  filename: string;
9889
8685
  originalFilename: string;
9890
- }[] | [string, string] | null | undefined>;
8686
+ }[] | undefined>;
8687
+ createdAtLocation: string;
9891
8688
  requestId: string;
9892
- createdBySignature?: string | null | undefined;
9893
- createdAtLocation?: string | null | undefined;
9894
8689
  annotation?: Record<string, string | number | boolean | {
9895
8690
  type: string;
9896
8691
  filename: string;
@@ -9906,10 +8701,6 @@ export declare const EventDocument: z.ZodObject<{
9906
8701
  residentialArea?: string | null | undefined;
9907
8702
  street?: string | null | undefined;
9908
8703
  zipCode?: string | null | undefined;
9909
- } | {
9910
- firstname?: string | null | undefined;
9911
- surname?: string | null | undefined;
9912
- middlename?: string | null | undefined;
9913
8704
  } | {
9914
8705
  country: string;
9915
8706
  district: string;
@@ -9932,17 +8723,14 @@ export declare const EventDocument: z.ZodObject<{
9932
8723
  option: string;
9933
8724
  filename: string;
9934
8725
  originalFilename: string;
9935
- }[] | [string, string] | null | undefined> | null | undefined;
9936
- originalActionId?: string | null | undefined;
8726
+ }[] | undefined> | undefined;
8727
+ originalActionId?: string | undefined;
9937
8728
  } | {
9938
8729
  type: "REJECT_CORRECTION";
9939
8730
  id: string;
9940
8731
  status: "Rejected" | "Requested" | "Accepted";
9941
- transactionId: string;
9942
- createdByUserType: "system" | "user";
9943
8732
  createdAt: string;
9944
8733
  createdBy: string;
9945
- createdByRole: string;
9946
8734
  declaration: Record<string, string | number | boolean | {
9947
8735
  type: string;
9948
8736
  filename: string;
@@ -9958,10 +8746,6 @@ export declare const EventDocument: z.ZodObject<{
9958
8746
  residentialArea?: string | null | undefined;
9959
8747
  street?: string | null | undefined;
9960
8748
  zipCode?: string | null | undefined;
9961
- } | {
9962
- firstname?: string | null | undefined;
9963
- surname?: string | null | undefined;
9964
- middlename?: string | null | undefined;
9965
8749
  } | {
9966
8750
  country: string;
9967
8751
  district: string;
@@ -9984,10 +8768,9 @@ export declare const EventDocument: z.ZodObject<{
9984
8768
  option: string;
9985
8769
  filename: string;
9986
8770
  originalFilename: string;
9987
- }[] | [string, string] | null | undefined>;
8771
+ }[] | undefined>;
8772
+ createdAtLocation: string;
9988
8773
  requestId: string;
9989
- createdBySignature?: string | null | undefined;
9990
- createdAtLocation?: string | null | undefined;
9991
8774
  annotation?: Record<string, string | number | boolean | {
9992
8775
  type: string;
9993
8776
  filename: string;
@@ -10003,10 +8786,6 @@ export declare const EventDocument: z.ZodObject<{
10003
8786
  residentialArea?: string | null | undefined;
10004
8787
  street?: string | null | undefined;
10005
8788
  zipCode?: string | null | undefined;
10006
- } | {
10007
- firstname?: string | null | undefined;
10008
- surname?: string | null | undefined;
10009
- middlename?: string | null | undefined;
10010
8789
  } | {
10011
8790
  country: string;
10012
8791
  district: string;
@@ -10029,17 +8808,14 @@ export declare const EventDocument: z.ZodObject<{
10029
8808
  option: string;
10030
8809
  filename: string;
10031
8810
  originalFilename: string;
10032
- }[] | [string, string] | null | undefined> | null | undefined;
10033
- originalActionId?: string | null | undefined;
8811
+ }[] | undefined> | undefined;
8812
+ originalActionId?: string | undefined;
10034
8813
  } | {
10035
8814
  type: "READ";
10036
8815
  id: string;
10037
8816
  status: "Rejected" | "Requested" | "Accepted";
10038
- transactionId: string;
10039
- createdByUserType: "system" | "user";
10040
8817
  createdAt: string;
10041
8818
  createdBy: string;
10042
- createdByRole: string;
10043
8819
  declaration: Record<string, string | number | boolean | {
10044
8820
  type: string;
10045
8821
  filename: string;
@@ -10055,10 +8831,6 @@ export declare const EventDocument: z.ZodObject<{
10055
8831
  residentialArea?: string | null | undefined;
10056
8832
  street?: string | null | undefined;
10057
8833
  zipCode?: string | null | undefined;
10058
- } | {
10059
- firstname?: string | null | undefined;
10060
- surname?: string | null | undefined;
10061
- middlename?: string | null | undefined;
10062
8834
  } | {
10063
8835
  country: string;
10064
8836
  district: string;
@@ -10081,9 +8853,8 @@ export declare const EventDocument: z.ZodObject<{
10081
8853
  option: string;
10082
8854
  filename: string;
10083
8855
  originalFilename: string;
10084
- }[] | [string, string] | null | undefined>;
10085
- createdBySignature?: string | null | undefined;
10086
- createdAtLocation?: string | null | undefined;
8856
+ }[] | undefined>;
8857
+ createdAtLocation: string;
10087
8858
  annotation?: Record<string, string | number | boolean | {
10088
8859
  type: string;
10089
8860
  filename: string;
@@ -10099,10 +8870,6 @@ export declare const EventDocument: z.ZodObject<{
10099
8870
  residentialArea?: string | null | undefined;
10100
8871
  street?: string | null | undefined;
10101
8872
  zipCode?: string | null | undefined;
10102
- } | {
10103
- firstname?: string | null | undefined;
10104
- surname?: string | null | undefined;
10105
- middlename?: string | null | undefined;
10106
8873
  } | {
10107
8874
  country: string;
10108
8875
  district: string;
@@ -10125,20 +8892,14 @@ export declare const EventDocument: z.ZodObject<{
10125
8892
  option: string;
10126
8893
  filename: string;
10127
8894
  originalFilename: string;
10128
- }[] | [string, string] | null | undefined> | null | undefined;
10129
- originalActionId?: string | null | undefined;
8895
+ }[] | undefined> | undefined;
8896
+ originalActionId?: string | undefined;
10130
8897
  } | {
10131
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8898
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10132
8899
  id: string;
10133
8900
  status: "Rejected";
10134
- transactionId: string;
10135
- createdByUserType: "system" | "user";
10136
8901
  createdAt: string;
10137
- createdBy: string;
10138
- createdByRole: string;
10139
- createdBySignature?: string | null | undefined;
10140
- createdAtLocation?: string | null | undefined;
10141
- originalActionId?: string | null | undefined;
8902
+ originalActionId?: string | undefined;
10142
8903
  })[];
10143
8904
  trackingId: string;
10144
8905
  }>;