@opencrvs/toolkit 1.8.0-rc.fb8e005 → 1.8.0-rc.fbababd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/commons/api/router.d.ts +8621 -5643
  2. package/dist/commons/events/ActionConfig.d.ts +18584 -33488
  3. package/dist/commons/events/ActionDocument.d.ts +1083 -1182
  4. package/dist/commons/events/ActionInput.d.ts +726 -726
  5. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -222
  6. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  7. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  8. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  9. package/dist/commons/events/Draft.d.ts +71 -76
  10. package/dist/commons/events/EventConfig.d.ts +17504 -27573
  11. package/dist/commons/events/EventDocument.d.ts +707 -782
  12. package/dist/commons/events/EventIndex.d.ts +224 -639
  13. package/dist/commons/events/EventMetadata.d.ts +31 -73
  14. package/dist/commons/events/FieldConfig.d.ts +37 -198
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +66 -1200
  18. package/dist/commons/events/PageConfig.d.ts +18 -288
  19. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  20. package/dist/commons/events/WorkqueueConfig.d.ts +740 -3237
  21. package/dist/commons/events/defineConfig.d.ts +1589 -3532
  22. package/dist/commons/events/field.d.ts +0 -5
  23. package/dist/commons/events/index.d.ts +0 -1
  24. package/dist/commons/events/scopes.d.ts +3 -2
  25. package/dist/commons/events/test.utils.d.ts +17 -40
  26. package/dist/commons/events/transactions.d.ts +1 -1
  27. package/dist/commons/events/utils.d.ts +1604 -3684
  28. package/dist/conditionals/index.js +17 -20
  29. package/dist/events/index.js +1323 -1695
  30. package/dist/scopes/index.d.ts +1 -4
  31. package/dist/scopes/index.js +17 -67
  32. package/package.json +3 -3
@@ -1,18 +1,17 @@
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">;
8
+ id: z.ZodString;
9
9
  transactionId: z.ZodString;
10
- createdByUserType: z.ZodEnum<["user", "system"]>;
11
10
  createdAt: z.ZodString;
12
11
  createdBy: z.ZodString;
13
12
  createdByRole: z.ZodString;
14
13
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
14
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
15
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
17
16
  filename: z.ZodString;
18
17
  originalFilename: z.ZodString;
@@ -127,19 +126,19 @@ export declare const EventDocument: z.ZodObject<{
127
126
  addressLine3?: string | null | undefined;
128
127
  postcodeOrZip?: string | null | undefined;
129
128
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ firstname: z.ZodString;
130
+ surname: z.ZodString;
132
131
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
132
  }, "strip", z.ZodTypeAny, {
134
- firstname?: string | null | undefined;
135
- surname?: string | null | undefined;
133
+ firstname: string;
134
+ surname: string;
136
135
  middlename?: string | null | undefined;
137
136
  }, {
138
- firstname?: string | null | undefined;
139
- surname?: string | null | undefined;
137
+ firstname: string;
138
+ surname: string;
140
139
  middlename?: string | null | undefined;
141
140
  }>, 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<{
141
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
143
142
  filename: z.ZodString;
144
143
  originalFilename: z.ZodString;
145
144
  type: z.ZodString;
@@ -253,28 +252,27 @@ export declare const EventDocument: z.ZodObject<{
253
252
  addressLine3?: string | null | undefined;
254
253
  postcodeOrZip?: string | null | undefined;
255
254
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ firstname: z.ZodString;
256
+ surname: z.ZodString;
258
257
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
258
  }, "strip", z.ZodTypeAny, {
260
- firstname?: string | null | undefined;
261
- surname?: string | null | undefined;
259
+ firstname: string;
260
+ surname: string;
262
261
  middlename?: string | null | undefined;
263
262
  }, {
264
- firstname?: string | null | undefined;
265
- surname?: string | null | undefined;
263
+ firstname: string;
264
+ surname: string;
266
265
  middlename?: string | null | undefined;
267
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
266
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
268
267
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
269
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
268
+ originalActionId: z.ZodOptional<z.ZodString>;
270
269
  }, {
271
270
  type: z.ZodLiteral<"CREATE">;
272
271
  }>, "strip", z.ZodTypeAny, {
273
272
  type: "CREATE";
274
- id: string & z.BRAND<"UUID">;
273
+ id: string;
275
274
  status: "Rejected" | "Requested" | "Accepted";
276
275
  transactionId: string;
277
- createdByUserType: "system" | "user";
278
276
  createdAt: string;
279
277
  createdBy: string;
280
278
  createdByRole: string;
@@ -294,8 +292,8 @@ export declare const EventDocument: z.ZodObject<{
294
292
  street?: string | null | undefined;
295
293
  zipCode?: string | null | undefined;
296
294
  } | {
297
- firstname?: string | null | undefined;
298
- surname?: string | null | undefined;
295
+ firstname: string;
296
+ surname: string;
299
297
  middlename?: string | null | undefined;
300
298
  } | {
301
299
  country: string;
@@ -321,7 +319,7 @@ export declare const EventDocument: z.ZodObject<{
321
319
  originalFilename: string;
322
320
  }[] | [string, string] | null | undefined>;
323
321
  createdBySignature?: string | null | undefined;
324
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
322
+ createdAtLocation?: string | null | undefined;
325
323
  annotation?: Record<string, string | number | boolean | {
326
324
  type: string;
327
325
  filename: string;
@@ -338,8 +336,8 @@ export declare const EventDocument: z.ZodObject<{
338
336
  street?: string | null | undefined;
339
337
  zipCode?: string | null | undefined;
340
338
  } | {
341
- firstname?: string | null | undefined;
342
- surname?: string | null | undefined;
339
+ firstname: string;
340
+ surname: string;
343
341
  middlename?: string | null | undefined;
344
342
  } | {
345
343
  country: string;
@@ -363,14 +361,13 @@ export declare const EventDocument: z.ZodObject<{
363
361
  option: string;
364
362
  filename: string;
365
363
  originalFilename: string;
366
- }[] | [string, string] | null | undefined> | null | undefined;
367
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
364
+ }[] | [string, string] | null | undefined> | undefined;
365
+ originalActionId?: string | undefined;
368
366
  }, {
369
367
  type: "CREATE";
370
368
  id: string;
371
369
  status: "Rejected" | "Requested" | "Accepted";
372
370
  transactionId: string;
373
- createdByUserType: "system" | "user";
374
371
  createdAt: string;
375
372
  createdBy: string;
376
373
  createdByRole: string;
@@ -390,8 +387,8 @@ export declare const EventDocument: z.ZodObject<{
390
387
  street?: string | null | undefined;
391
388
  zipCode?: string | null | undefined;
392
389
  } | {
393
- firstname?: string | null | undefined;
394
- surname?: string | null | undefined;
390
+ firstname: string;
391
+ surname: string;
395
392
  middlename?: string | null | undefined;
396
393
  } | {
397
394
  country: string;
@@ -434,8 +431,8 @@ export declare const EventDocument: z.ZodObject<{
434
431
  street?: string | null | undefined;
435
432
  zipCode?: string | null | undefined;
436
433
  } | {
437
- firstname?: string | null | undefined;
438
- surname?: string | null | undefined;
434
+ firstname: string;
435
+ surname: string;
439
436
  middlename?: string | null | undefined;
440
437
  } | {
441
438
  country: string;
@@ -459,17 +456,16 @@ export declare const EventDocument: z.ZodObject<{
459
456
  option: string;
460
457
  filename: string;
461
458
  originalFilename: string;
462
- }[] | [string, string] | null | undefined> | null | undefined;
463
- originalActionId?: string | null | undefined;
459
+ }[] | [string, string] | null | undefined> | undefined;
460
+ originalActionId?: string | undefined;
464
461
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
- id: z.ZodBranded<z.ZodString, "UUID">;
462
+ id: z.ZodString;
466
463
  transactionId: z.ZodString;
467
- createdByUserType: z.ZodEnum<["user", "system"]>;
468
464
  createdAt: z.ZodString;
469
465
  createdBy: z.ZodString;
470
466
  createdByRole: z.ZodString;
471
467
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
469
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
474
470
  filename: z.ZodString;
475
471
  originalFilename: z.ZodString;
@@ -584,19 +580,19 @@ export declare const EventDocument: z.ZodObject<{
584
580
  addressLine3?: string | null | undefined;
585
581
  postcodeOrZip?: string | null | undefined;
586
582
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ firstname: z.ZodString;
584
+ surname: z.ZodString;
589
585
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
586
  }, "strip", z.ZodTypeAny, {
591
- firstname?: string | null | undefined;
592
- surname?: string | null | undefined;
587
+ firstname: string;
588
+ surname: string;
593
589
  middlename?: string | null | undefined;
594
590
  }, {
595
- firstname?: string | null | undefined;
596
- surname?: string | null | undefined;
591
+ firstname: string;
592
+ surname: string;
597
593
  middlename?: string | null | undefined;
598
594
  }>, 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<{
595
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
600
596
  filename: z.ZodString;
601
597
  originalFilename: z.ZodString;
602
598
  type: z.ZodString;
@@ -710,28 +706,27 @@ export declare const EventDocument: z.ZodObject<{
710
706
  addressLine3?: string | null | undefined;
711
707
  postcodeOrZip?: string | null | undefined;
712
708
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
709
+ firstname: z.ZodString;
710
+ surname: z.ZodString;
715
711
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
712
  }, "strip", z.ZodTypeAny, {
717
- firstname?: string | null | undefined;
718
- surname?: string | null | undefined;
713
+ firstname: string;
714
+ surname: string;
719
715
  middlename?: string | null | undefined;
720
716
  }, {
721
- firstname?: string | null | undefined;
722
- surname?: string | null | undefined;
717
+ firstname: string;
718
+ surname: string;
723
719
  middlename?: string | null | undefined;
724
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
720
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
725
721
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
726
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
722
+ originalActionId: z.ZodOptional<z.ZodString>;
727
723
  }, {
728
724
  type: z.ZodLiteral<"VALIDATE">;
729
725
  }>, "strip", z.ZodTypeAny, {
730
726
  type: "VALIDATE";
731
- id: string & z.BRAND<"UUID">;
727
+ id: string;
732
728
  status: "Rejected" | "Requested" | "Accepted";
733
729
  transactionId: string;
734
- createdByUserType: "system" | "user";
735
730
  createdAt: string;
736
731
  createdBy: string;
737
732
  createdByRole: string;
@@ -751,8 +746,8 @@ export declare const EventDocument: z.ZodObject<{
751
746
  street?: string | null | undefined;
752
747
  zipCode?: string | null | undefined;
753
748
  } | {
754
- firstname?: string | null | undefined;
755
- surname?: string | null | undefined;
749
+ firstname: string;
750
+ surname: string;
756
751
  middlename?: string | null | undefined;
757
752
  } | {
758
753
  country: string;
@@ -778,7 +773,7 @@ export declare const EventDocument: z.ZodObject<{
778
773
  originalFilename: string;
779
774
  }[] | [string, string] | null | undefined>;
780
775
  createdBySignature?: string | null | undefined;
781
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
776
+ createdAtLocation?: string | null | undefined;
782
777
  annotation?: Record<string, string | number | boolean | {
783
778
  type: string;
784
779
  filename: string;
@@ -795,8 +790,8 @@ export declare const EventDocument: z.ZodObject<{
795
790
  street?: string | null | undefined;
796
791
  zipCode?: string | null | undefined;
797
792
  } | {
798
- firstname?: string | null | undefined;
799
- surname?: string | null | undefined;
793
+ firstname: string;
794
+ surname: string;
800
795
  middlename?: string | null | undefined;
801
796
  } | {
802
797
  country: string;
@@ -820,14 +815,13 @@ export declare const EventDocument: z.ZodObject<{
820
815
  option: string;
821
816
  filename: string;
822
817
  originalFilename: string;
823
- }[] | [string, string] | null | undefined> | null | undefined;
824
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
818
+ }[] | [string, string] | null | undefined> | undefined;
819
+ originalActionId?: string | undefined;
825
820
  }, {
826
821
  type: "VALIDATE";
827
822
  id: string;
828
823
  status: "Rejected" | "Requested" | "Accepted";
829
824
  transactionId: string;
830
- createdByUserType: "system" | "user";
831
825
  createdAt: string;
832
826
  createdBy: string;
833
827
  createdByRole: string;
@@ -847,8 +841,8 @@ export declare const EventDocument: z.ZodObject<{
847
841
  street?: string | null | undefined;
848
842
  zipCode?: string | null | undefined;
849
843
  } | {
850
- firstname?: string | null | undefined;
851
- surname?: string | null | undefined;
844
+ firstname: string;
845
+ surname: string;
852
846
  middlename?: string | null | undefined;
853
847
  } | {
854
848
  country: string;
@@ -891,8 +885,8 @@ export declare const EventDocument: z.ZodObject<{
891
885
  street?: string | null | undefined;
892
886
  zipCode?: string | null | undefined;
893
887
  } | {
894
- firstname?: string | null | undefined;
895
- surname?: string | null | undefined;
888
+ firstname: string;
889
+ surname: string;
896
890
  middlename?: string | null | undefined;
897
891
  } | {
898
892
  country: string;
@@ -916,17 +910,16 @@ export declare const EventDocument: z.ZodObject<{
916
910
  option: string;
917
911
  filename: string;
918
912
  originalFilename: string;
919
- }[] | [string, string] | null | undefined> | null | undefined;
920
- originalActionId?: string | null | undefined;
913
+ }[] | [string, string] | null | undefined> | undefined;
914
+ originalActionId?: string | undefined;
921
915
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
- id: z.ZodBranded<z.ZodString, "UUID">;
916
+ id: z.ZodString;
923
917
  transactionId: z.ZodString;
924
- createdByUserType: z.ZodEnum<["user", "system"]>;
925
918
  createdAt: z.ZodString;
926
919
  createdBy: z.ZodString;
927
920
  createdByRole: z.ZodString;
928
921
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
922
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
923
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
931
924
  filename: z.ZodString;
932
925
  originalFilename: z.ZodString;
@@ -1041,19 +1034,19 @@ export declare const EventDocument: z.ZodObject<{
1041
1034
  addressLine3?: string | null | undefined;
1042
1035
  postcodeOrZip?: string | null | undefined;
1043
1036
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1037
+ firstname: z.ZodString;
1038
+ surname: z.ZodString;
1046
1039
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
1040
  }, "strip", z.ZodTypeAny, {
1048
- firstname?: string | null | undefined;
1049
- surname?: string | null | undefined;
1041
+ firstname: string;
1042
+ surname: string;
1050
1043
  middlename?: string | null | undefined;
1051
1044
  }, {
1052
- firstname?: string | null | undefined;
1053
- surname?: string | null | undefined;
1045
+ firstname: string;
1046
+ surname: string;
1054
1047
  middlename?: string | null | undefined;
1055
1048
  }>, 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<{
1049
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1057
1050
  filename: z.ZodString;
1058
1051
  originalFilename: z.ZodString;
1059
1052
  type: z.ZodString;
@@ -1167,20 +1160,20 @@ export declare const EventDocument: z.ZodObject<{
1167
1160
  addressLine3?: string | null | undefined;
1168
1161
  postcodeOrZip?: string | null | undefined;
1169
1162
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
+ firstname: z.ZodString;
1164
+ surname: z.ZodString;
1172
1165
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
1166
  }, "strip", z.ZodTypeAny, {
1174
- firstname?: string | null | undefined;
1175
- surname?: string | null | undefined;
1167
+ firstname: string;
1168
+ surname: string;
1176
1169
  middlename?: string | null | undefined;
1177
1170
  }, {
1178
- firstname?: string | null | undefined;
1179
- surname?: string | null | undefined;
1171
+ firstname: string;
1172
+ surname: string;
1180
1173
  middlename?: string | null | undefined;
1181
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1174
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1182
1175
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1183
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1176
+ originalActionId: z.ZodOptional<z.ZodString>;
1184
1177
  }, {
1185
1178
  type: z.ZodLiteral<"REJECT">;
1186
1179
  reason: z.ZodObject<{
@@ -1195,14 +1188,13 @@ export declare const EventDocument: z.ZodObject<{
1195
1188
  }>;
1196
1189
  }>, "strip", z.ZodTypeAny, {
1197
1190
  type: "REJECT";
1198
- id: string & z.BRAND<"UUID">;
1191
+ id: string;
1199
1192
  status: "Rejected" | "Requested" | "Accepted";
1200
1193
  reason: {
1201
1194
  message: string;
1202
1195
  isDuplicate?: boolean | undefined;
1203
1196
  };
1204
1197
  transactionId: string;
1205
- createdByUserType: "system" | "user";
1206
1198
  createdAt: string;
1207
1199
  createdBy: string;
1208
1200
  createdByRole: string;
@@ -1222,8 +1214,8 @@ export declare const EventDocument: z.ZodObject<{
1222
1214
  street?: string | null | undefined;
1223
1215
  zipCode?: string | null | undefined;
1224
1216
  } | {
1225
- firstname?: string | null | undefined;
1226
- surname?: string | null | undefined;
1217
+ firstname: string;
1218
+ surname: string;
1227
1219
  middlename?: string | null | undefined;
1228
1220
  } | {
1229
1221
  country: string;
@@ -1249,7 +1241,7 @@ export declare const EventDocument: z.ZodObject<{
1249
1241
  originalFilename: string;
1250
1242
  }[] | [string, string] | null | undefined>;
1251
1243
  createdBySignature?: string | null | undefined;
1252
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1244
+ createdAtLocation?: string | null | undefined;
1253
1245
  annotation?: Record<string, string | number | boolean | {
1254
1246
  type: string;
1255
1247
  filename: string;
@@ -1266,8 +1258,8 @@ export declare const EventDocument: z.ZodObject<{
1266
1258
  street?: string | null | undefined;
1267
1259
  zipCode?: string | null | undefined;
1268
1260
  } | {
1269
- firstname?: string | null | undefined;
1270
- surname?: string | null | undefined;
1261
+ firstname: string;
1262
+ surname: string;
1271
1263
  middlename?: string | null | undefined;
1272
1264
  } | {
1273
1265
  country: string;
@@ -1291,8 +1283,8 @@ export declare const EventDocument: z.ZodObject<{
1291
1283
  option: string;
1292
1284
  filename: string;
1293
1285
  originalFilename: string;
1294
- }[] | [string, string] | null | undefined> | null | undefined;
1295
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1286
+ }[] | [string, string] | null | undefined> | undefined;
1287
+ originalActionId?: string | undefined;
1296
1288
  }, {
1297
1289
  type: "REJECT";
1298
1290
  id: string;
@@ -1302,7 +1294,6 @@ export declare const EventDocument: z.ZodObject<{
1302
1294
  isDuplicate?: boolean | undefined;
1303
1295
  };
1304
1296
  transactionId: string;
1305
- createdByUserType: "system" | "user";
1306
1297
  createdAt: string;
1307
1298
  createdBy: string;
1308
1299
  createdByRole: string;
@@ -1322,8 +1313,8 @@ export declare const EventDocument: z.ZodObject<{
1322
1313
  street?: string | null | undefined;
1323
1314
  zipCode?: string | null | undefined;
1324
1315
  } | {
1325
- firstname?: string | null | undefined;
1326
- surname?: string | null | undefined;
1316
+ firstname: string;
1317
+ surname: string;
1327
1318
  middlename?: string | null | undefined;
1328
1319
  } | {
1329
1320
  country: string;
@@ -1366,8 +1357,8 @@ export declare const EventDocument: z.ZodObject<{
1366
1357
  street?: string | null | undefined;
1367
1358
  zipCode?: string | null | undefined;
1368
1359
  } | {
1369
- firstname?: string | null | undefined;
1370
- surname?: string | null | undefined;
1360
+ firstname: string;
1361
+ surname: string;
1371
1362
  middlename?: string | null | undefined;
1372
1363
  } | {
1373
1364
  country: string;
@@ -1391,17 +1382,16 @@ export declare const EventDocument: z.ZodObject<{
1391
1382
  option: string;
1392
1383
  filename: string;
1393
1384
  originalFilename: string;
1394
- }[] | [string, string] | null | undefined> | null | undefined;
1395
- originalActionId?: string | null | undefined;
1385
+ }[] | [string, string] | null | undefined> | undefined;
1386
+ originalActionId?: string | undefined;
1396
1387
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
- id: z.ZodBranded<z.ZodString, "UUID">;
1388
+ id: z.ZodString;
1398
1389
  transactionId: z.ZodString;
1399
- createdByUserType: z.ZodEnum<["user", "system"]>;
1400
1390
  createdAt: z.ZodString;
1401
1391
  createdBy: z.ZodString;
1402
1392
  createdByRole: z.ZodString;
1403
1393
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1394
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
1395
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1406
1396
  filename: z.ZodString;
1407
1397
  originalFilename: z.ZodString;
@@ -1516,19 +1506,19 @@ export declare const EventDocument: z.ZodObject<{
1516
1506
  addressLine3?: string | null | undefined;
1517
1507
  postcodeOrZip?: string | null | undefined;
1518
1508
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1509
+ firstname: z.ZodString;
1510
+ surname: z.ZodString;
1521
1511
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
1512
  }, "strip", z.ZodTypeAny, {
1523
- firstname?: string | null | undefined;
1524
- surname?: string | null | undefined;
1513
+ firstname: string;
1514
+ surname: string;
1525
1515
  middlename?: string | null | undefined;
1526
1516
  }, {
1527
- firstname?: string | null | undefined;
1528
- surname?: string | null | undefined;
1517
+ firstname: string;
1518
+ surname: string;
1529
1519
  middlename?: string | null | undefined;
1530
1520
  }>, 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<{
1521
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1532
1522
  filename: z.ZodString;
1533
1523
  originalFilename: z.ZodString;
1534
1524
  type: z.ZodString;
@@ -1642,28 +1632,27 @@ export declare const EventDocument: z.ZodObject<{
1642
1632
  addressLine3?: string | null | undefined;
1643
1633
  postcodeOrZip?: string | null | undefined;
1644
1634
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1635
+ firstname: z.ZodString;
1636
+ surname: z.ZodString;
1647
1637
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
1638
  }, "strip", z.ZodTypeAny, {
1649
- firstname?: string | null | undefined;
1650
- surname?: string | null | undefined;
1639
+ firstname: string;
1640
+ surname: string;
1651
1641
  middlename?: string | null | undefined;
1652
1642
  }, {
1653
- firstname?: string | null | undefined;
1654
- surname?: string | null | undefined;
1643
+ firstname: string;
1644
+ surname: string;
1655
1645
  middlename?: string | null | undefined;
1656
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1646
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1657
1647
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1658
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1648
+ originalActionId: z.ZodOptional<z.ZodString>;
1659
1649
  }, {
1660
1650
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1661
1651
  }>, "strip", z.ZodTypeAny, {
1662
1652
  type: "MARKED_AS_DUPLICATE";
1663
- id: string & z.BRAND<"UUID">;
1653
+ id: string;
1664
1654
  status: "Rejected" | "Requested" | "Accepted";
1665
1655
  transactionId: string;
1666
- createdByUserType: "system" | "user";
1667
1656
  createdAt: string;
1668
1657
  createdBy: string;
1669
1658
  createdByRole: string;
@@ -1683,8 +1672,8 @@ export declare const EventDocument: z.ZodObject<{
1683
1672
  street?: string | null | undefined;
1684
1673
  zipCode?: string | null | undefined;
1685
1674
  } | {
1686
- firstname?: string | null | undefined;
1687
- surname?: string | null | undefined;
1675
+ firstname: string;
1676
+ surname: string;
1688
1677
  middlename?: string | null | undefined;
1689
1678
  } | {
1690
1679
  country: string;
@@ -1710,7 +1699,7 @@ export declare const EventDocument: z.ZodObject<{
1710
1699
  originalFilename: string;
1711
1700
  }[] | [string, string] | null | undefined>;
1712
1701
  createdBySignature?: string | null | undefined;
1713
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1702
+ createdAtLocation?: string | null | undefined;
1714
1703
  annotation?: Record<string, string | number | boolean | {
1715
1704
  type: string;
1716
1705
  filename: string;
@@ -1727,8 +1716,8 @@ export declare const EventDocument: z.ZodObject<{
1727
1716
  street?: string | null | undefined;
1728
1717
  zipCode?: string | null | undefined;
1729
1718
  } | {
1730
- firstname?: string | null | undefined;
1731
- surname?: string | null | undefined;
1719
+ firstname: string;
1720
+ surname: string;
1732
1721
  middlename?: string | null | undefined;
1733
1722
  } | {
1734
1723
  country: string;
@@ -1752,14 +1741,13 @@ export declare const EventDocument: z.ZodObject<{
1752
1741
  option: string;
1753
1742
  filename: string;
1754
1743
  originalFilename: string;
1755
- }[] | [string, string] | null | undefined> | null | undefined;
1756
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1744
+ }[] | [string, string] | null | undefined> | undefined;
1745
+ originalActionId?: string | undefined;
1757
1746
  }, {
1758
1747
  type: "MARKED_AS_DUPLICATE";
1759
1748
  id: string;
1760
1749
  status: "Rejected" | "Requested" | "Accepted";
1761
1750
  transactionId: string;
1762
- createdByUserType: "system" | "user";
1763
1751
  createdAt: string;
1764
1752
  createdBy: string;
1765
1753
  createdByRole: string;
@@ -1779,8 +1767,8 @@ export declare const EventDocument: z.ZodObject<{
1779
1767
  street?: string | null | undefined;
1780
1768
  zipCode?: string | null | undefined;
1781
1769
  } | {
1782
- firstname?: string | null | undefined;
1783
- surname?: string | null | undefined;
1770
+ firstname: string;
1771
+ surname: string;
1784
1772
  middlename?: string | null | undefined;
1785
1773
  } | {
1786
1774
  country: string;
@@ -1823,8 +1811,8 @@ export declare const EventDocument: z.ZodObject<{
1823
1811
  street?: string | null | undefined;
1824
1812
  zipCode?: string | null | undefined;
1825
1813
  } | {
1826
- firstname?: string | null | undefined;
1827
- surname?: string | null | undefined;
1814
+ firstname: string;
1815
+ surname: string;
1828
1816
  middlename?: string | null | undefined;
1829
1817
  } | {
1830
1818
  country: string;
@@ -1848,17 +1836,16 @@ export declare const EventDocument: z.ZodObject<{
1848
1836
  option: string;
1849
1837
  filename: string;
1850
1838
  originalFilename: string;
1851
- }[] | [string, string] | null | undefined> | null | undefined;
1852
- originalActionId?: string | null | undefined;
1839
+ }[] | [string, string] | null | undefined> | undefined;
1840
+ originalActionId?: string | undefined;
1853
1841
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
- id: z.ZodBranded<z.ZodString, "UUID">;
1842
+ id: z.ZodString;
1855
1843
  transactionId: z.ZodString;
1856
- createdByUserType: z.ZodEnum<["user", "system"]>;
1857
1844
  createdAt: z.ZodString;
1858
1845
  createdBy: z.ZodString;
1859
1846
  createdByRole: z.ZodString;
1860
1847
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1848
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
1849
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1863
1850
  filename: z.ZodString;
1864
1851
  originalFilename: z.ZodString;
@@ -1973,19 +1960,19 @@ export declare const EventDocument: z.ZodObject<{
1973
1960
  addressLine3?: string | null | undefined;
1974
1961
  postcodeOrZip?: string | null | undefined;
1975
1962
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1963
+ firstname: z.ZodString;
1964
+ surname: z.ZodString;
1978
1965
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
1966
  }, "strip", z.ZodTypeAny, {
1980
- firstname?: string | null | undefined;
1981
- surname?: string | null | undefined;
1967
+ firstname: string;
1968
+ surname: string;
1982
1969
  middlename?: string | null | undefined;
1983
1970
  }, {
1984
- firstname?: string | null | undefined;
1985
- surname?: string | null | undefined;
1971
+ firstname: string;
1972
+ surname: string;
1986
1973
  middlename?: string | null | undefined;
1987
1974
  }>, 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<{
1975
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1989
1976
  filename: z.ZodString;
1990
1977
  originalFilename: z.ZodString;
1991
1978
  type: z.ZodString;
@@ -2099,20 +2086,20 @@ export declare const EventDocument: z.ZodObject<{
2099
2086
  addressLine3?: string | null | undefined;
2100
2087
  postcodeOrZip?: string | null | undefined;
2101
2088
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2089
+ firstname: z.ZodString;
2090
+ surname: z.ZodString;
2104
2091
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
2092
  }, "strip", z.ZodTypeAny, {
2106
- firstname?: string | null | undefined;
2107
- surname?: string | null | undefined;
2093
+ firstname: string;
2094
+ surname: string;
2108
2095
  middlename?: string | null | undefined;
2109
2096
  }, {
2110
- firstname?: string | null | undefined;
2111
- surname?: string | null | undefined;
2097
+ firstname: string;
2098
+ surname: string;
2112
2099
  middlename?: string | null | undefined;
2113
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2100
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2114
2101
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2115
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2102
+ originalActionId: z.ZodOptional<z.ZodString>;
2116
2103
  }, {
2117
2104
  type: z.ZodLiteral<"ARCHIVE">;
2118
2105
  reason: z.ZodObject<{
@@ -2127,14 +2114,13 @@ export declare const EventDocument: z.ZodObject<{
2127
2114
  }>;
2128
2115
  }>, "strip", z.ZodTypeAny, {
2129
2116
  type: "ARCHIVE";
2130
- id: string & z.BRAND<"UUID">;
2117
+ id: string;
2131
2118
  status: "Rejected" | "Requested" | "Accepted";
2132
2119
  reason: {
2133
2120
  message: string;
2134
2121
  isDuplicate?: boolean | undefined;
2135
2122
  };
2136
2123
  transactionId: string;
2137
- createdByUserType: "system" | "user";
2138
2124
  createdAt: string;
2139
2125
  createdBy: string;
2140
2126
  createdByRole: string;
@@ -2154,8 +2140,8 @@ export declare const EventDocument: z.ZodObject<{
2154
2140
  street?: string | null | undefined;
2155
2141
  zipCode?: string | null | undefined;
2156
2142
  } | {
2157
- firstname?: string | null | undefined;
2158
- surname?: string | null | undefined;
2143
+ firstname: string;
2144
+ surname: string;
2159
2145
  middlename?: string | null | undefined;
2160
2146
  } | {
2161
2147
  country: string;
@@ -2181,7 +2167,7 @@ export declare const EventDocument: z.ZodObject<{
2181
2167
  originalFilename: string;
2182
2168
  }[] | [string, string] | null | undefined>;
2183
2169
  createdBySignature?: string | null | undefined;
2184
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2170
+ createdAtLocation?: string | null | undefined;
2185
2171
  annotation?: Record<string, string | number | boolean | {
2186
2172
  type: string;
2187
2173
  filename: string;
@@ -2198,8 +2184,8 @@ export declare const EventDocument: z.ZodObject<{
2198
2184
  street?: string | null | undefined;
2199
2185
  zipCode?: string | null | undefined;
2200
2186
  } | {
2201
- firstname?: string | null | undefined;
2202
- surname?: string | null | undefined;
2187
+ firstname: string;
2188
+ surname: string;
2203
2189
  middlename?: string | null | undefined;
2204
2190
  } | {
2205
2191
  country: string;
@@ -2223,8 +2209,8 @@ export declare const EventDocument: z.ZodObject<{
2223
2209
  option: string;
2224
2210
  filename: string;
2225
2211
  originalFilename: string;
2226
- }[] | [string, string] | null | undefined> | null | undefined;
2227
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2212
+ }[] | [string, string] | null | undefined> | undefined;
2213
+ originalActionId?: string | undefined;
2228
2214
  }, {
2229
2215
  type: "ARCHIVE";
2230
2216
  id: string;
@@ -2234,7 +2220,6 @@ export declare const EventDocument: z.ZodObject<{
2234
2220
  isDuplicate?: boolean | undefined;
2235
2221
  };
2236
2222
  transactionId: string;
2237
- createdByUserType: "system" | "user";
2238
2223
  createdAt: string;
2239
2224
  createdBy: string;
2240
2225
  createdByRole: string;
@@ -2254,8 +2239,8 @@ export declare const EventDocument: z.ZodObject<{
2254
2239
  street?: string | null | undefined;
2255
2240
  zipCode?: string | null | undefined;
2256
2241
  } | {
2257
- firstname?: string | null | undefined;
2258
- surname?: string | null | undefined;
2242
+ firstname: string;
2243
+ surname: string;
2259
2244
  middlename?: string | null | undefined;
2260
2245
  } | {
2261
2246
  country: string;
@@ -2298,8 +2283,8 @@ export declare const EventDocument: z.ZodObject<{
2298
2283
  street?: string | null | undefined;
2299
2284
  zipCode?: string | null | undefined;
2300
2285
  } | {
2301
- firstname?: string | null | undefined;
2302
- surname?: string | null | undefined;
2286
+ firstname: string;
2287
+ surname: string;
2303
2288
  middlename?: string | null | undefined;
2304
2289
  } | {
2305
2290
  country: string;
@@ -2323,17 +2308,16 @@ export declare const EventDocument: z.ZodObject<{
2323
2308
  option: string;
2324
2309
  filename: string;
2325
2310
  originalFilename: string;
2326
- }[] | [string, string] | null | undefined> | null | undefined;
2327
- originalActionId?: string | null | undefined;
2311
+ }[] | [string, string] | null | undefined> | undefined;
2312
+ originalActionId?: string | undefined;
2328
2313
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
- id: z.ZodBranded<z.ZodString, "UUID">;
2314
+ id: z.ZodString;
2330
2315
  transactionId: z.ZodString;
2331
- createdByUserType: z.ZodEnum<["user", "system"]>;
2332
2316
  createdAt: z.ZodString;
2333
2317
  createdBy: z.ZodString;
2334
2318
  createdByRole: z.ZodString;
2335
2319
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2320
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2337
2321
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2338
2322
  filename: z.ZodString;
2339
2323
  originalFilename: z.ZodString;
@@ -2448,19 +2432,19 @@ export declare const EventDocument: z.ZodObject<{
2448
2432
  addressLine3?: string | null | undefined;
2449
2433
  postcodeOrZip?: string | null | undefined;
2450
2434
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2435
+ firstname: z.ZodString;
2436
+ surname: z.ZodString;
2453
2437
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
2438
  }, "strip", z.ZodTypeAny, {
2455
- firstname?: string | null | undefined;
2456
- surname?: string | null | undefined;
2439
+ firstname: string;
2440
+ surname: string;
2457
2441
  middlename?: string | null | undefined;
2458
2442
  }, {
2459
- firstname?: string | null | undefined;
2460
- surname?: string | null | undefined;
2443
+ firstname: string;
2444
+ surname: string;
2461
2445
  middlename?: string | null | undefined;
2462
2446
  }>, 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<{
2447
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2464
2448
  filename: z.ZodString;
2465
2449
  originalFilename: z.ZodString;
2466
2450
  type: z.ZodString;
@@ -2574,28 +2558,27 @@ export declare const EventDocument: z.ZodObject<{
2574
2558
  addressLine3?: string | null | undefined;
2575
2559
  postcodeOrZip?: string | null | undefined;
2576
2560
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
+ firstname: z.ZodString;
2562
+ surname: z.ZodString;
2579
2563
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
2564
  }, "strip", z.ZodTypeAny, {
2581
- firstname?: string | null | undefined;
2582
- surname?: string | null | undefined;
2565
+ firstname: string;
2566
+ surname: string;
2583
2567
  middlename?: string | null | undefined;
2584
2568
  }, {
2585
- firstname?: string | null | undefined;
2586
- surname?: string | null | undefined;
2569
+ firstname: string;
2570
+ surname: string;
2587
2571
  middlename?: string | null | undefined;
2588
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2572
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2589
2573
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2590
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2574
+ originalActionId: z.ZodOptional<z.ZodString>;
2591
2575
  }, {
2592
2576
  type: z.ZodLiteral<"NOTIFY">;
2593
2577
  }>, "strip", z.ZodTypeAny, {
2594
2578
  type: "NOTIFY";
2595
- id: string & z.BRAND<"UUID">;
2579
+ id: string;
2596
2580
  status: "Rejected" | "Requested" | "Accepted";
2597
2581
  transactionId: string;
2598
- createdByUserType: "system" | "user";
2599
2582
  createdAt: string;
2600
2583
  createdBy: string;
2601
2584
  createdByRole: string;
@@ -2615,8 +2598,8 @@ export declare const EventDocument: z.ZodObject<{
2615
2598
  street?: string | null | undefined;
2616
2599
  zipCode?: string | null | undefined;
2617
2600
  } | {
2618
- firstname?: string | null | undefined;
2619
- surname?: string | null | undefined;
2601
+ firstname: string;
2602
+ surname: string;
2620
2603
  middlename?: string | null | undefined;
2621
2604
  } | {
2622
2605
  country: string;
@@ -2642,7 +2625,7 @@ export declare const EventDocument: z.ZodObject<{
2642
2625
  originalFilename: string;
2643
2626
  }[] | [string, string] | null | undefined>;
2644
2627
  createdBySignature?: string | null | undefined;
2645
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2628
+ createdAtLocation?: string | null | undefined;
2646
2629
  annotation?: Record<string, string | number | boolean | {
2647
2630
  type: string;
2648
2631
  filename: string;
@@ -2659,8 +2642,8 @@ export declare const EventDocument: z.ZodObject<{
2659
2642
  street?: string | null | undefined;
2660
2643
  zipCode?: string | null | undefined;
2661
2644
  } | {
2662
- firstname?: string | null | undefined;
2663
- surname?: string | null | undefined;
2645
+ firstname: string;
2646
+ surname: string;
2664
2647
  middlename?: string | null | undefined;
2665
2648
  } | {
2666
2649
  country: string;
@@ -2684,14 +2667,13 @@ export declare const EventDocument: z.ZodObject<{
2684
2667
  option: string;
2685
2668
  filename: string;
2686
2669
  originalFilename: string;
2687
- }[] | [string, string] | null | undefined> | null | undefined;
2688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2670
+ }[] | [string, string] | null | undefined> | undefined;
2671
+ originalActionId?: string | undefined;
2689
2672
  }, {
2690
2673
  type: "NOTIFY";
2691
2674
  id: string;
2692
2675
  status: "Rejected" | "Requested" | "Accepted";
2693
2676
  transactionId: string;
2694
- createdByUserType: "system" | "user";
2695
2677
  createdAt: string;
2696
2678
  createdBy: string;
2697
2679
  createdByRole: string;
@@ -2711,8 +2693,8 @@ export declare const EventDocument: z.ZodObject<{
2711
2693
  street?: string | null | undefined;
2712
2694
  zipCode?: string | null | undefined;
2713
2695
  } | {
2714
- firstname?: string | null | undefined;
2715
- surname?: string | null | undefined;
2696
+ firstname: string;
2697
+ surname: string;
2716
2698
  middlename?: string | null | undefined;
2717
2699
  } | {
2718
2700
  country: string;
@@ -2755,8 +2737,8 @@ export declare const EventDocument: z.ZodObject<{
2755
2737
  street?: string | null | undefined;
2756
2738
  zipCode?: string | null | undefined;
2757
2739
  } | {
2758
- firstname?: string | null | undefined;
2759
- surname?: string | null | undefined;
2740
+ firstname: string;
2741
+ surname: string;
2760
2742
  middlename?: string | null | undefined;
2761
2743
  } | {
2762
2744
  country: string;
@@ -2780,17 +2762,16 @@ export declare const EventDocument: z.ZodObject<{
2780
2762
  option: string;
2781
2763
  filename: string;
2782
2764
  originalFilename: string;
2783
- }[] | [string, string] | null | undefined> | null | undefined;
2784
- originalActionId?: string | null | undefined;
2765
+ }[] | [string, string] | null | undefined> | undefined;
2766
+ originalActionId?: string | undefined;
2785
2767
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
- id: z.ZodBranded<z.ZodString, "UUID">;
2768
+ id: z.ZodString;
2787
2769
  transactionId: z.ZodString;
2788
- createdByUserType: z.ZodEnum<["user", "system"]>;
2789
2770
  createdAt: z.ZodString;
2790
2771
  createdBy: z.ZodString;
2791
2772
  createdByRole: z.ZodString;
2792
2773
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2774
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2794
2775
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2795
2776
  filename: z.ZodString;
2796
2777
  originalFilename: z.ZodString;
@@ -2905,19 +2886,19 @@ export declare const EventDocument: z.ZodObject<{
2905
2886
  addressLine3?: string | null | undefined;
2906
2887
  postcodeOrZip?: string | null | undefined;
2907
2888
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2889
+ firstname: z.ZodString;
2890
+ surname: z.ZodString;
2910
2891
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
2892
  }, "strip", z.ZodTypeAny, {
2912
- firstname?: string | null | undefined;
2913
- surname?: string | null | undefined;
2893
+ firstname: string;
2894
+ surname: string;
2914
2895
  middlename?: string | null | undefined;
2915
2896
  }, {
2916
- firstname?: string | null | undefined;
2917
- surname?: string | null | undefined;
2897
+ firstname: string;
2898
+ surname: string;
2918
2899
  middlename?: string | null | undefined;
2919
2900
  }>, 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<{
2901
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2921
2902
  filename: z.ZodString;
2922
2903
  originalFilename: z.ZodString;
2923
2904
  type: z.ZodString;
@@ -3031,29 +3012,28 @@ export declare const EventDocument: z.ZodObject<{
3031
3012
  addressLine3?: string | null | undefined;
3032
3013
  postcodeOrZip?: string | null | undefined;
3033
3014
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3015
+ firstname: z.ZodString;
3016
+ surname: z.ZodString;
3036
3017
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
3018
  }, "strip", z.ZodTypeAny, {
3038
- firstname?: string | null | undefined;
3039
- surname?: string | null | undefined;
3019
+ firstname: string;
3020
+ surname: string;
3040
3021
  middlename?: string | null | undefined;
3041
3022
  }, {
3042
- firstname?: string | null | undefined;
3043
- surname?: string | null | undefined;
3023
+ firstname: string;
3024
+ surname: string;
3044
3025
  middlename?: string | null | undefined;
3045
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3026
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3046
3027
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3047
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3028
+ originalActionId: z.ZodOptional<z.ZodString>;
3048
3029
  }, {
3049
3030
  type: z.ZodLiteral<"REGISTER">;
3050
3031
  registrationNumber: z.ZodOptional<z.ZodString>;
3051
3032
  }>, "strip", z.ZodTypeAny, {
3052
3033
  type: "REGISTER";
3053
- id: string & z.BRAND<"UUID">;
3034
+ id: string;
3054
3035
  status: "Rejected" | "Requested" | "Accepted";
3055
3036
  transactionId: string;
3056
- createdByUserType: "system" | "user";
3057
3037
  createdAt: string;
3058
3038
  createdBy: string;
3059
3039
  createdByRole: string;
@@ -3073,8 +3053,8 @@ export declare const EventDocument: z.ZodObject<{
3073
3053
  street?: string | null | undefined;
3074
3054
  zipCode?: string | null | undefined;
3075
3055
  } | {
3076
- firstname?: string | null | undefined;
3077
- surname?: string | null | undefined;
3056
+ firstname: string;
3057
+ surname: string;
3078
3058
  middlename?: string | null | undefined;
3079
3059
  } | {
3080
3060
  country: string;
@@ -3100,7 +3080,7 @@ export declare const EventDocument: z.ZodObject<{
3100
3080
  originalFilename: string;
3101
3081
  }[] | [string, string] | null | undefined>;
3102
3082
  createdBySignature?: string | null | undefined;
3103
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3083
+ createdAtLocation?: string | null | undefined;
3104
3084
  annotation?: Record<string, string | number | boolean | {
3105
3085
  type: string;
3106
3086
  filename: string;
@@ -3117,8 +3097,8 @@ export declare const EventDocument: z.ZodObject<{
3117
3097
  street?: string | null | undefined;
3118
3098
  zipCode?: string | null | undefined;
3119
3099
  } | {
3120
- firstname?: string | null | undefined;
3121
- surname?: string | null | undefined;
3100
+ firstname: string;
3101
+ surname: string;
3122
3102
  middlename?: string | null | undefined;
3123
3103
  } | {
3124
3104
  country: string;
@@ -3142,15 +3122,14 @@ export declare const EventDocument: z.ZodObject<{
3142
3122
  option: string;
3143
3123
  filename: string;
3144
3124
  originalFilename: string;
3145
- }[] | [string, string] | null | undefined> | null | undefined;
3146
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3125
+ }[] | [string, string] | null | undefined> | undefined;
3126
+ originalActionId?: string | undefined;
3147
3127
  registrationNumber?: string | undefined;
3148
3128
  }, {
3149
3129
  type: "REGISTER";
3150
3130
  id: string;
3151
3131
  status: "Rejected" | "Requested" | "Accepted";
3152
3132
  transactionId: string;
3153
- createdByUserType: "system" | "user";
3154
3133
  createdAt: string;
3155
3134
  createdBy: string;
3156
3135
  createdByRole: string;
@@ -3170,8 +3149,8 @@ export declare const EventDocument: z.ZodObject<{
3170
3149
  street?: string | null | undefined;
3171
3150
  zipCode?: string | null | undefined;
3172
3151
  } | {
3173
- firstname?: string | null | undefined;
3174
- surname?: string | null | undefined;
3152
+ firstname: string;
3153
+ surname: string;
3175
3154
  middlename?: string | null | undefined;
3176
3155
  } | {
3177
3156
  country: string;
@@ -3214,8 +3193,8 @@ export declare const EventDocument: z.ZodObject<{
3214
3193
  street?: string | null | undefined;
3215
3194
  zipCode?: string | null | undefined;
3216
3195
  } | {
3217
- firstname?: string | null | undefined;
3218
- surname?: string | null | undefined;
3196
+ firstname: string;
3197
+ surname: string;
3219
3198
  middlename?: string | null | undefined;
3220
3199
  } | {
3221
3200
  country: string;
@@ -3239,18 +3218,17 @@ export declare const EventDocument: z.ZodObject<{
3239
3218
  option: string;
3240
3219
  filename: string;
3241
3220
  originalFilename: string;
3242
- }[] | [string, string] | null | undefined> | null | undefined;
3243
- originalActionId?: string | null | undefined;
3221
+ }[] | [string, string] | null | undefined> | undefined;
3222
+ originalActionId?: string | undefined;
3244
3223
  registrationNumber?: string | undefined;
3245
3224
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
- id: z.ZodBranded<z.ZodString, "UUID">;
3225
+ id: z.ZodString;
3247
3226
  transactionId: z.ZodString;
3248
- createdByUserType: z.ZodEnum<["user", "system"]>;
3249
3227
  createdAt: z.ZodString;
3250
3228
  createdBy: z.ZodString;
3251
3229
  createdByRole: z.ZodString;
3252
3230
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3231
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
3232
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3255
3233
  filename: z.ZodString;
3256
3234
  originalFilename: z.ZodString;
@@ -3365,19 +3343,19 @@ export declare const EventDocument: z.ZodObject<{
3365
3343
  addressLine3?: string | null | undefined;
3366
3344
  postcodeOrZip?: string | null | undefined;
3367
3345
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3346
+ firstname: z.ZodString;
3347
+ surname: z.ZodString;
3370
3348
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
3349
  }, "strip", z.ZodTypeAny, {
3372
- firstname?: string | null | undefined;
3373
- surname?: string | null | undefined;
3350
+ firstname: string;
3351
+ surname: string;
3374
3352
  middlename?: string | null | undefined;
3375
3353
  }, {
3376
- firstname?: string | null | undefined;
3377
- surname?: string | null | undefined;
3354
+ firstname: string;
3355
+ surname: string;
3378
3356
  middlename?: string | null | undefined;
3379
3357
  }>, 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<{
3358
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3381
3359
  filename: z.ZodString;
3382
3360
  originalFilename: z.ZodString;
3383
3361
  type: z.ZodString;
@@ -3491,28 +3469,27 @@ export declare const EventDocument: z.ZodObject<{
3491
3469
  addressLine3?: string | null | undefined;
3492
3470
  postcodeOrZip?: string | null | undefined;
3493
3471
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3472
+ firstname: z.ZodString;
3473
+ surname: z.ZodString;
3496
3474
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
3475
  }, "strip", z.ZodTypeAny, {
3498
- firstname?: string | null | undefined;
3499
- surname?: string | null | undefined;
3476
+ firstname: string;
3477
+ surname: string;
3500
3478
  middlename?: string | null | undefined;
3501
3479
  }, {
3502
- firstname?: string | null | undefined;
3503
- surname?: string | null | undefined;
3480
+ firstname: string;
3481
+ surname: string;
3504
3482
  middlename?: string | null | undefined;
3505
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3483
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3506
3484
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3507
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3485
+ originalActionId: z.ZodOptional<z.ZodString>;
3508
3486
  }, {
3509
3487
  type: z.ZodLiteral<"DECLARE">;
3510
3488
  }>, "strip", z.ZodTypeAny, {
3511
3489
  type: "DECLARE";
3512
- id: string & z.BRAND<"UUID">;
3490
+ id: string;
3513
3491
  status: "Rejected" | "Requested" | "Accepted";
3514
3492
  transactionId: string;
3515
- createdByUserType: "system" | "user";
3516
3493
  createdAt: string;
3517
3494
  createdBy: string;
3518
3495
  createdByRole: string;
@@ -3532,8 +3509,8 @@ export declare const EventDocument: z.ZodObject<{
3532
3509
  street?: string | null | undefined;
3533
3510
  zipCode?: string | null | undefined;
3534
3511
  } | {
3535
- firstname?: string | null | undefined;
3536
- surname?: string | null | undefined;
3512
+ firstname: string;
3513
+ surname: string;
3537
3514
  middlename?: string | null | undefined;
3538
3515
  } | {
3539
3516
  country: string;
@@ -3559,7 +3536,7 @@ export declare const EventDocument: z.ZodObject<{
3559
3536
  originalFilename: string;
3560
3537
  }[] | [string, string] | null | undefined>;
3561
3538
  createdBySignature?: string | null | undefined;
3562
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3539
+ createdAtLocation?: string | null | undefined;
3563
3540
  annotation?: Record<string, string | number | boolean | {
3564
3541
  type: string;
3565
3542
  filename: string;
@@ -3576,8 +3553,8 @@ export declare const EventDocument: z.ZodObject<{
3576
3553
  street?: string | null | undefined;
3577
3554
  zipCode?: string | null | undefined;
3578
3555
  } | {
3579
- firstname?: string | null | undefined;
3580
- surname?: string | null | undefined;
3556
+ firstname: string;
3557
+ surname: string;
3581
3558
  middlename?: string | null | undefined;
3582
3559
  } | {
3583
3560
  country: string;
@@ -3601,14 +3578,13 @@ export declare const EventDocument: z.ZodObject<{
3601
3578
  option: string;
3602
3579
  filename: string;
3603
3580
  originalFilename: string;
3604
- }[] | [string, string] | null | undefined> | null | undefined;
3605
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3581
+ }[] | [string, string] | null | undefined> | undefined;
3582
+ originalActionId?: string | undefined;
3606
3583
  }, {
3607
3584
  type: "DECLARE";
3608
3585
  id: string;
3609
3586
  status: "Rejected" | "Requested" | "Accepted";
3610
3587
  transactionId: string;
3611
- createdByUserType: "system" | "user";
3612
3588
  createdAt: string;
3613
3589
  createdBy: string;
3614
3590
  createdByRole: string;
@@ -3628,8 +3604,8 @@ export declare const EventDocument: z.ZodObject<{
3628
3604
  street?: string | null | undefined;
3629
3605
  zipCode?: string | null | undefined;
3630
3606
  } | {
3631
- firstname?: string | null | undefined;
3632
- surname?: string | null | undefined;
3607
+ firstname: string;
3608
+ surname: string;
3633
3609
  middlename?: string | null | undefined;
3634
3610
  } | {
3635
3611
  country: string;
@@ -3672,8 +3648,8 @@ export declare const EventDocument: z.ZodObject<{
3672
3648
  street?: string | null | undefined;
3673
3649
  zipCode?: string | null | undefined;
3674
3650
  } | {
3675
- firstname?: string | null | undefined;
3676
- surname?: string | null | undefined;
3651
+ firstname: string;
3652
+ surname: string;
3677
3653
  middlename?: string | null | undefined;
3678
3654
  } | {
3679
3655
  country: string;
@@ -3697,17 +3673,16 @@ export declare const EventDocument: z.ZodObject<{
3697
3673
  option: string;
3698
3674
  filename: string;
3699
3675
  originalFilename: string;
3700
- }[] | [string, string] | null | undefined> | null | undefined;
3701
- originalActionId?: string | null | undefined;
3676
+ }[] | [string, string] | null | undefined> | undefined;
3677
+ originalActionId?: string | undefined;
3702
3678
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
- id: z.ZodBranded<z.ZodString, "UUID">;
3679
+ id: z.ZodString;
3704
3680
  transactionId: z.ZodString;
3705
- createdByUserType: z.ZodEnum<["user", "system"]>;
3706
3681
  createdAt: z.ZodString;
3707
3682
  createdBy: z.ZodString;
3708
3683
  createdByRole: z.ZodString;
3709
3684
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3685
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3711
3686
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3712
3687
  filename: z.ZodString;
3713
3688
  originalFilename: z.ZodString;
@@ -3822,19 +3797,19 @@ export declare const EventDocument: z.ZodObject<{
3822
3797
  addressLine3?: string | null | undefined;
3823
3798
  postcodeOrZip?: string | null | undefined;
3824
3799
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3800
+ firstname: z.ZodString;
3801
+ surname: z.ZodString;
3827
3802
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
3803
  }, "strip", z.ZodTypeAny, {
3829
- firstname?: string | null | undefined;
3830
- surname?: string | null | undefined;
3804
+ firstname: string;
3805
+ surname: string;
3831
3806
  middlename?: string | null | undefined;
3832
3807
  }, {
3833
- firstname?: string | null | undefined;
3834
- surname?: string | null | undefined;
3808
+ firstname: string;
3809
+ surname: string;
3835
3810
  middlename?: string | null | undefined;
3836
3811
  }>, 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<{
3812
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3838
3813
  filename: z.ZodString;
3839
3814
  originalFilename: z.ZodString;
3840
3815
  type: z.ZodString;
@@ -3948,29 +3923,28 @@ export declare const EventDocument: z.ZodObject<{
3948
3923
  addressLine3?: string | null | undefined;
3949
3924
  postcodeOrZip?: string | null | undefined;
3950
3925
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3926
+ firstname: z.ZodString;
3927
+ surname: z.ZodString;
3953
3928
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
3929
  }, "strip", z.ZodTypeAny, {
3955
- firstname?: string | null | undefined;
3956
- surname?: string | null | undefined;
3930
+ firstname: string;
3931
+ surname: string;
3957
3932
  middlename?: string | null | undefined;
3958
3933
  }, {
3959
- firstname?: string | null | undefined;
3960
- surname?: string | null | undefined;
3934
+ firstname: string;
3935
+ surname: string;
3961
3936
  middlename?: string | null | undefined;
3962
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3937
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3963
3938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3964
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3939
+ originalActionId: z.ZodOptional<z.ZodString>;
3965
3940
  }, {
3966
3941
  type: z.ZodLiteral<"ASSIGN">;
3967
3942
  assignedTo: z.ZodString;
3968
3943
  }>, "strip", z.ZodTypeAny, {
3969
3944
  type: "ASSIGN";
3970
- id: string & z.BRAND<"UUID">;
3945
+ id: string;
3971
3946
  status: "Rejected" | "Requested" | "Accepted";
3972
3947
  transactionId: string;
3973
- createdByUserType: "system" | "user";
3974
3948
  createdAt: string;
3975
3949
  createdBy: string;
3976
3950
  createdByRole: string;
@@ -3990,8 +3964,8 @@ export declare const EventDocument: z.ZodObject<{
3990
3964
  street?: string | null | undefined;
3991
3965
  zipCode?: string | null | undefined;
3992
3966
  } | {
3993
- firstname?: string | null | undefined;
3994
- surname?: string | null | undefined;
3967
+ firstname: string;
3968
+ surname: string;
3995
3969
  middlename?: string | null | undefined;
3996
3970
  } | {
3997
3971
  country: string;
@@ -4018,7 +3992,7 @@ export declare const EventDocument: z.ZodObject<{
4018
3992
  }[] | [string, string] | null | undefined>;
4019
3993
  assignedTo: string;
4020
3994
  createdBySignature?: string | null | undefined;
4021
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3995
+ createdAtLocation?: string | null | undefined;
4022
3996
  annotation?: Record<string, string | number | boolean | {
4023
3997
  type: string;
4024
3998
  filename: string;
@@ -4035,8 +4009,8 @@ export declare const EventDocument: z.ZodObject<{
4035
4009
  street?: string | null | undefined;
4036
4010
  zipCode?: string | null | undefined;
4037
4011
  } | {
4038
- firstname?: string | null | undefined;
4039
- surname?: string | null | undefined;
4012
+ firstname: string;
4013
+ surname: string;
4040
4014
  middlename?: string | null | undefined;
4041
4015
  } | {
4042
4016
  country: string;
@@ -4060,14 +4034,13 @@ export declare const EventDocument: z.ZodObject<{
4060
4034
  option: string;
4061
4035
  filename: string;
4062
4036
  originalFilename: string;
4063
- }[] | [string, string] | null | undefined> | null | undefined;
4064
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4037
+ }[] | [string, string] | null | undefined> | undefined;
4038
+ originalActionId?: string | undefined;
4065
4039
  }, {
4066
4040
  type: "ASSIGN";
4067
4041
  id: string;
4068
4042
  status: "Rejected" | "Requested" | "Accepted";
4069
4043
  transactionId: string;
4070
- createdByUserType: "system" | "user";
4071
4044
  createdAt: string;
4072
4045
  createdBy: string;
4073
4046
  createdByRole: string;
@@ -4087,8 +4060,8 @@ export declare const EventDocument: z.ZodObject<{
4087
4060
  street?: string | null | undefined;
4088
4061
  zipCode?: string | null | undefined;
4089
4062
  } | {
4090
- firstname?: string | null | undefined;
4091
- surname?: string | null | undefined;
4063
+ firstname: string;
4064
+ surname: string;
4092
4065
  middlename?: string | null | undefined;
4093
4066
  } | {
4094
4067
  country: string;
@@ -4132,8 +4105,8 @@ export declare const EventDocument: z.ZodObject<{
4132
4105
  street?: string | null | undefined;
4133
4106
  zipCode?: string | null | undefined;
4134
4107
  } | {
4135
- firstname?: string | null | undefined;
4136
- surname?: string | null | undefined;
4108
+ firstname: string;
4109
+ surname: string;
4137
4110
  middlename?: string | null | undefined;
4138
4111
  } | {
4139
4112
  country: string;
@@ -4157,17 +4130,16 @@ export declare const EventDocument: z.ZodObject<{
4157
4130
  option: string;
4158
4131
  filename: string;
4159
4132
  originalFilename: string;
4160
- }[] | [string, string] | null | undefined> | null | undefined;
4161
- originalActionId?: string | null | undefined;
4133
+ }[] | [string, string] | null | undefined> | undefined;
4134
+ originalActionId?: string | undefined;
4162
4135
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
- id: z.ZodBranded<z.ZodString, "UUID">;
4136
+ id: z.ZodString;
4164
4137
  transactionId: z.ZodString;
4165
- createdByUserType: z.ZodEnum<["user", "system"]>;
4166
4138
  createdAt: z.ZodString;
4167
4139
  createdBy: z.ZodString;
4168
4140
  createdByRole: z.ZodString;
4169
4141
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4142
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
4143
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4172
4144
  filename: z.ZodString;
4173
4145
  originalFilename: z.ZodString;
@@ -4282,19 +4254,19 @@ export declare const EventDocument: z.ZodObject<{
4282
4254
  addressLine3?: string | null | undefined;
4283
4255
  postcodeOrZip?: string | null | undefined;
4284
4256
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4257
+ firstname: z.ZodString;
4258
+ surname: z.ZodString;
4287
4259
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
4260
  }, "strip", z.ZodTypeAny, {
4289
- firstname?: string | null | undefined;
4290
- surname?: string | null | undefined;
4261
+ firstname: string;
4262
+ surname: string;
4291
4263
  middlename?: string | null | undefined;
4292
4264
  }, {
4293
- firstname?: string | null | undefined;
4294
- surname?: string | null | undefined;
4265
+ firstname: string;
4266
+ surname: string;
4295
4267
  middlename?: string | null | undefined;
4296
4268
  }>, 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<{
4269
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4298
4270
  filename: z.ZodString;
4299
4271
  originalFilename: z.ZodString;
4300
4272
  type: z.ZodString;
@@ -4408,28 +4380,27 @@ export declare const EventDocument: z.ZodObject<{
4408
4380
  addressLine3?: string | null | undefined;
4409
4381
  postcodeOrZip?: string | null | undefined;
4410
4382
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4383
+ firstname: z.ZodString;
4384
+ surname: z.ZodString;
4413
4385
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
4386
  }, "strip", z.ZodTypeAny, {
4415
- firstname?: string | null | undefined;
4416
- surname?: string | null | undefined;
4387
+ firstname: string;
4388
+ surname: string;
4417
4389
  middlename?: string | null | undefined;
4418
4390
  }, {
4419
- firstname?: string | null | undefined;
4420
- surname?: string | null | undefined;
4391
+ firstname: string;
4392
+ surname: string;
4421
4393
  middlename?: string | null | undefined;
4422
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4394
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4423
4395
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4424
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4396
+ originalActionId: z.ZodOptional<z.ZodString>;
4425
4397
  }, {
4426
4398
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4427
4399
  }>, "strip", z.ZodTypeAny, {
4428
4400
  type: "REQUEST_CORRECTION";
4429
- id: string & z.BRAND<"UUID">;
4401
+ id: string;
4430
4402
  status: "Rejected" | "Requested" | "Accepted";
4431
4403
  transactionId: string;
4432
- createdByUserType: "system" | "user";
4433
4404
  createdAt: string;
4434
4405
  createdBy: string;
4435
4406
  createdByRole: string;
@@ -4449,8 +4420,8 @@ export declare const EventDocument: z.ZodObject<{
4449
4420
  street?: string | null | undefined;
4450
4421
  zipCode?: string | null | undefined;
4451
4422
  } | {
4452
- firstname?: string | null | undefined;
4453
- surname?: string | null | undefined;
4423
+ firstname: string;
4424
+ surname: string;
4454
4425
  middlename?: string | null | undefined;
4455
4426
  } | {
4456
4427
  country: string;
@@ -4476,7 +4447,7 @@ export declare const EventDocument: z.ZodObject<{
4476
4447
  originalFilename: string;
4477
4448
  }[] | [string, string] | null | undefined>;
4478
4449
  createdBySignature?: string | null | undefined;
4479
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4450
+ createdAtLocation?: string | null | undefined;
4480
4451
  annotation?: Record<string, string | number | boolean | {
4481
4452
  type: string;
4482
4453
  filename: string;
@@ -4493,8 +4464,8 @@ export declare const EventDocument: z.ZodObject<{
4493
4464
  street?: string | null | undefined;
4494
4465
  zipCode?: string | null | undefined;
4495
4466
  } | {
4496
- firstname?: string | null | undefined;
4497
- surname?: string | null | undefined;
4467
+ firstname: string;
4468
+ surname: string;
4498
4469
  middlename?: string | null | undefined;
4499
4470
  } | {
4500
4471
  country: string;
@@ -4518,14 +4489,13 @@ export declare const EventDocument: z.ZodObject<{
4518
4489
  option: string;
4519
4490
  filename: string;
4520
4491
  originalFilename: string;
4521
- }[] | [string, string] | null | undefined> | null | undefined;
4522
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4492
+ }[] | [string, string] | null | undefined> | undefined;
4493
+ originalActionId?: string | undefined;
4523
4494
  }, {
4524
4495
  type: "REQUEST_CORRECTION";
4525
4496
  id: string;
4526
4497
  status: "Rejected" | "Requested" | "Accepted";
4527
4498
  transactionId: string;
4528
- createdByUserType: "system" | "user";
4529
4499
  createdAt: string;
4530
4500
  createdBy: string;
4531
4501
  createdByRole: string;
@@ -4545,8 +4515,8 @@ export declare const EventDocument: z.ZodObject<{
4545
4515
  street?: string | null | undefined;
4546
4516
  zipCode?: string | null | undefined;
4547
4517
  } | {
4548
- firstname?: string | null | undefined;
4549
- surname?: string | null | undefined;
4518
+ firstname: string;
4519
+ surname: string;
4550
4520
  middlename?: string | null | undefined;
4551
4521
  } | {
4552
4522
  country: string;
@@ -4589,8 +4559,8 @@ export declare const EventDocument: z.ZodObject<{
4589
4559
  street?: string | null | undefined;
4590
4560
  zipCode?: string | null | undefined;
4591
4561
  } | {
4592
- firstname?: string | null | undefined;
4593
- surname?: string | null | undefined;
4562
+ firstname: string;
4563
+ surname: string;
4594
4564
  middlename?: string | null | undefined;
4595
4565
  } | {
4596
4566
  country: string;
@@ -4614,17 +4584,16 @@ export declare const EventDocument: z.ZodObject<{
4614
4584
  option: string;
4615
4585
  filename: string;
4616
4586
  originalFilename: string;
4617
- }[] | [string, string] | null | undefined> | null | undefined;
4618
- originalActionId?: string | null | undefined;
4587
+ }[] | [string, string] | null | undefined> | undefined;
4588
+ originalActionId?: string | undefined;
4619
4589
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
- id: z.ZodBranded<z.ZodString, "UUID">;
4590
+ id: z.ZodString;
4621
4591
  transactionId: z.ZodString;
4622
- createdByUserType: z.ZodEnum<["user", "system"]>;
4623
4592
  createdAt: z.ZodString;
4624
4593
  createdBy: z.ZodString;
4625
4594
  createdByRole: z.ZodString;
4626
4595
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4628
4597
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4629
4598
  filename: z.ZodString;
4630
4599
  originalFilename: z.ZodString;
@@ -4739,19 +4708,19 @@ export declare const EventDocument: z.ZodObject<{
4739
4708
  addressLine3?: string | null | undefined;
4740
4709
  postcodeOrZip?: string | null | undefined;
4741
4710
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4711
+ firstname: z.ZodString;
4712
+ surname: z.ZodString;
4744
4713
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
4714
  }, "strip", z.ZodTypeAny, {
4746
- firstname?: string | null | undefined;
4747
- surname?: string | null | undefined;
4715
+ firstname: string;
4716
+ surname: string;
4748
4717
  middlename?: string | null | undefined;
4749
4718
  }, {
4750
- firstname?: string | null | undefined;
4751
- surname?: string | null | undefined;
4719
+ firstname: string;
4720
+ surname: string;
4752
4721
  middlename?: string | null | undefined;
4753
4722
  }>, 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<{
4723
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4755
4724
  filename: z.ZodString;
4756
4725
  originalFilename: z.ZodString;
4757
4726
  type: z.ZodString;
@@ -4865,29 +4834,28 @@ export declare const EventDocument: z.ZodObject<{
4865
4834
  addressLine3?: string | null | undefined;
4866
4835
  postcodeOrZip?: string | null | undefined;
4867
4836
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
+ firstname: z.ZodString;
4838
+ surname: z.ZodString;
4870
4839
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
4840
  }, "strip", z.ZodTypeAny, {
4872
- firstname?: string | null | undefined;
4873
- surname?: string | null | undefined;
4841
+ firstname: string;
4842
+ surname: string;
4874
4843
  middlename?: string | null | undefined;
4875
4844
  }, {
4876
- firstname?: string | null | undefined;
4877
- surname?: string | null | undefined;
4845
+ firstname: string;
4846
+ surname: string;
4878
4847
  middlename?: string | null | undefined;
4879
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4848
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4880
4849
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4881
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4850
+ originalActionId: z.ZodOptional<z.ZodString>;
4882
4851
  }, {
4883
4852
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4884
4853
  requestId: z.ZodString;
4885
4854
  }>, "strip", z.ZodTypeAny, {
4886
4855
  type: "APPROVE_CORRECTION";
4887
- id: string & z.BRAND<"UUID">;
4856
+ id: string;
4888
4857
  status: "Rejected" | "Requested" | "Accepted";
4889
4858
  transactionId: string;
4890
- createdByUserType: "system" | "user";
4891
4859
  createdAt: string;
4892
4860
  createdBy: string;
4893
4861
  createdByRole: string;
@@ -4907,8 +4875,8 @@ export declare const EventDocument: z.ZodObject<{
4907
4875
  street?: string | null | undefined;
4908
4876
  zipCode?: string | null | undefined;
4909
4877
  } | {
4910
- firstname?: string | null | undefined;
4911
- surname?: string | null | undefined;
4878
+ firstname: string;
4879
+ surname: string;
4912
4880
  middlename?: string | null | undefined;
4913
4881
  } | {
4914
4882
  country: string;
@@ -4935,7 +4903,7 @@ export declare const EventDocument: z.ZodObject<{
4935
4903
  }[] | [string, string] | null | undefined>;
4936
4904
  requestId: string;
4937
4905
  createdBySignature?: string | null | undefined;
4938
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4906
+ createdAtLocation?: string | null | undefined;
4939
4907
  annotation?: Record<string, string | number | boolean | {
4940
4908
  type: string;
4941
4909
  filename: string;
@@ -4952,8 +4920,8 @@ export declare const EventDocument: z.ZodObject<{
4952
4920
  street?: string | null | undefined;
4953
4921
  zipCode?: string | null | undefined;
4954
4922
  } | {
4955
- firstname?: string | null | undefined;
4956
- surname?: string | null | undefined;
4923
+ firstname: string;
4924
+ surname: string;
4957
4925
  middlename?: string | null | undefined;
4958
4926
  } | {
4959
4927
  country: string;
@@ -4977,14 +4945,13 @@ export declare const EventDocument: z.ZodObject<{
4977
4945
  option: string;
4978
4946
  filename: string;
4979
4947
  originalFilename: string;
4980
- }[] | [string, string] | null | undefined> | null | undefined;
4981
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4948
+ }[] | [string, string] | null | undefined> | undefined;
4949
+ originalActionId?: string | undefined;
4982
4950
  }, {
4983
4951
  type: "APPROVE_CORRECTION";
4984
4952
  id: string;
4985
4953
  status: "Rejected" | "Requested" | "Accepted";
4986
4954
  transactionId: string;
4987
- createdByUserType: "system" | "user";
4988
4955
  createdAt: string;
4989
4956
  createdBy: string;
4990
4957
  createdByRole: string;
@@ -5004,8 +4971,8 @@ export declare const EventDocument: z.ZodObject<{
5004
4971
  street?: string | null | undefined;
5005
4972
  zipCode?: string | null | undefined;
5006
4973
  } | {
5007
- firstname?: string | null | undefined;
5008
- surname?: string | null | undefined;
4974
+ firstname: string;
4975
+ surname: string;
5009
4976
  middlename?: string | null | undefined;
5010
4977
  } | {
5011
4978
  country: string;
@@ -5049,8 +5016,8 @@ export declare const EventDocument: z.ZodObject<{
5049
5016
  street?: string | null | undefined;
5050
5017
  zipCode?: string | null | undefined;
5051
5018
  } | {
5052
- firstname?: string | null | undefined;
5053
- surname?: string | null | undefined;
5019
+ firstname: string;
5020
+ surname: string;
5054
5021
  middlename?: string | null | undefined;
5055
5022
  } | {
5056
5023
  country: string;
@@ -5074,17 +5041,16 @@ export declare const EventDocument: z.ZodObject<{
5074
5041
  option: string;
5075
5042
  filename: string;
5076
5043
  originalFilename: string;
5077
- }[] | [string, string] | null | undefined> | null | undefined;
5078
- originalActionId?: string | null | undefined;
5044
+ }[] | [string, string] | null | undefined> | undefined;
5045
+ originalActionId?: string | undefined;
5079
5046
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
- id: z.ZodBranded<z.ZodString, "UUID">;
5047
+ id: z.ZodString;
5081
5048
  transactionId: z.ZodString;
5082
- createdByUserType: z.ZodEnum<["user", "system"]>;
5083
5049
  createdAt: z.ZodString;
5084
5050
  createdBy: z.ZodString;
5085
5051
  createdByRole: z.ZodString;
5086
5052
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5053
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5088
5054
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5089
5055
  filename: z.ZodString;
5090
5056
  originalFilename: z.ZodString;
@@ -5199,19 +5165,19 @@ export declare const EventDocument: z.ZodObject<{
5199
5165
  addressLine3?: string | null | undefined;
5200
5166
  postcodeOrZip?: string | null | undefined;
5201
5167
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5168
+ firstname: z.ZodString;
5169
+ surname: z.ZodString;
5204
5170
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
5171
  }, "strip", z.ZodTypeAny, {
5206
- firstname?: string | null | undefined;
5207
- surname?: string | null | undefined;
5172
+ firstname: string;
5173
+ surname: string;
5208
5174
  middlename?: string | null | undefined;
5209
5175
  }, {
5210
- firstname?: string | null | undefined;
5211
- surname?: string | null | undefined;
5176
+ firstname: string;
5177
+ surname: string;
5212
5178
  middlename?: string | null | undefined;
5213
5179
  }>, 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<{
5180
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5215
5181
  filename: z.ZodString;
5216
5182
  originalFilename: z.ZodString;
5217
5183
  type: z.ZodString;
@@ -5325,29 +5291,28 @@ export declare const EventDocument: z.ZodObject<{
5325
5291
  addressLine3?: string | null | undefined;
5326
5292
  postcodeOrZip?: string | null | undefined;
5327
5293
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5294
+ firstname: z.ZodString;
5295
+ surname: z.ZodString;
5330
5296
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5297
  }, "strip", z.ZodTypeAny, {
5332
- firstname?: string | null | undefined;
5333
- surname?: string | null | undefined;
5298
+ firstname: string;
5299
+ surname: string;
5334
5300
  middlename?: string | null | undefined;
5335
5301
  }, {
5336
- firstname?: string | null | undefined;
5337
- surname?: string | null | undefined;
5302
+ firstname: string;
5303
+ surname: string;
5338
5304
  middlename?: string | null | undefined;
5339
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5305
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5340
5306
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5341
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5307
+ originalActionId: z.ZodOptional<z.ZodString>;
5342
5308
  }, {
5343
5309
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5344
5310
  requestId: z.ZodString;
5345
5311
  }>, "strip", z.ZodTypeAny, {
5346
5312
  type: "REJECT_CORRECTION";
5347
- id: string & z.BRAND<"UUID">;
5313
+ id: string;
5348
5314
  status: "Rejected" | "Requested" | "Accepted";
5349
5315
  transactionId: string;
5350
- createdByUserType: "system" | "user";
5351
5316
  createdAt: string;
5352
5317
  createdBy: string;
5353
5318
  createdByRole: string;
@@ -5367,8 +5332,8 @@ export declare const EventDocument: z.ZodObject<{
5367
5332
  street?: string | null | undefined;
5368
5333
  zipCode?: string | null | undefined;
5369
5334
  } | {
5370
- firstname?: string | null | undefined;
5371
- surname?: string | null | undefined;
5335
+ firstname: string;
5336
+ surname: string;
5372
5337
  middlename?: string | null | undefined;
5373
5338
  } | {
5374
5339
  country: string;
@@ -5395,7 +5360,7 @@ export declare const EventDocument: z.ZodObject<{
5395
5360
  }[] | [string, string] | null | undefined>;
5396
5361
  requestId: string;
5397
5362
  createdBySignature?: string | null | undefined;
5398
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5363
+ createdAtLocation?: string | null | undefined;
5399
5364
  annotation?: Record<string, string | number | boolean | {
5400
5365
  type: string;
5401
5366
  filename: string;
@@ -5412,8 +5377,8 @@ export declare const EventDocument: z.ZodObject<{
5412
5377
  street?: string | null | undefined;
5413
5378
  zipCode?: string | null | undefined;
5414
5379
  } | {
5415
- firstname?: string | null | undefined;
5416
- surname?: string | null | undefined;
5380
+ firstname: string;
5381
+ surname: string;
5417
5382
  middlename?: string | null | undefined;
5418
5383
  } | {
5419
5384
  country: string;
@@ -5437,14 +5402,13 @@ export declare const EventDocument: z.ZodObject<{
5437
5402
  option: string;
5438
5403
  filename: string;
5439
5404
  originalFilename: string;
5440
- }[] | [string, string] | null | undefined> | null | undefined;
5441
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5405
+ }[] | [string, string] | null | undefined> | undefined;
5406
+ originalActionId?: string | undefined;
5442
5407
  }, {
5443
5408
  type: "REJECT_CORRECTION";
5444
5409
  id: string;
5445
5410
  status: "Rejected" | "Requested" | "Accepted";
5446
5411
  transactionId: string;
5447
- createdByUserType: "system" | "user";
5448
5412
  createdAt: string;
5449
5413
  createdBy: string;
5450
5414
  createdByRole: string;
@@ -5464,8 +5428,8 @@ export declare const EventDocument: z.ZodObject<{
5464
5428
  street?: string | null | undefined;
5465
5429
  zipCode?: string | null | undefined;
5466
5430
  } | {
5467
- firstname?: string | null | undefined;
5468
- surname?: string | null | undefined;
5431
+ firstname: string;
5432
+ surname: string;
5469
5433
  middlename?: string | null | undefined;
5470
5434
  } | {
5471
5435
  country: string;
@@ -5509,8 +5473,8 @@ export declare const EventDocument: z.ZodObject<{
5509
5473
  street?: string | null | undefined;
5510
5474
  zipCode?: string | null | undefined;
5511
5475
  } | {
5512
- firstname?: string | null | undefined;
5513
- surname?: string | null | undefined;
5476
+ firstname: string;
5477
+ surname: string;
5514
5478
  middlename?: string | null | undefined;
5515
5479
  } | {
5516
5480
  country: string;
@@ -5534,17 +5498,16 @@ export declare const EventDocument: z.ZodObject<{
5534
5498
  option: string;
5535
5499
  filename: string;
5536
5500
  originalFilename: string;
5537
- }[] | [string, string] | null | undefined> | null | undefined;
5538
- originalActionId?: string | null | undefined;
5501
+ }[] | [string, string] | null | undefined> | undefined;
5502
+ originalActionId?: string | undefined;
5539
5503
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
- id: z.ZodBranded<z.ZodString, "UUID">;
5504
+ id: z.ZodString;
5541
5505
  transactionId: z.ZodString;
5542
- createdByUserType: z.ZodEnum<["user", "system"]>;
5543
5506
  createdAt: z.ZodString;
5544
5507
  createdBy: z.ZodString;
5545
5508
  createdByRole: z.ZodString;
5546
5509
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5510
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5548
5511
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5549
5512
  filename: z.ZodString;
5550
5513
  originalFilename: z.ZodString;
@@ -5659,19 +5622,19 @@ export declare const EventDocument: z.ZodObject<{
5659
5622
  addressLine3?: string | null | undefined;
5660
5623
  postcodeOrZip?: string | null | undefined;
5661
5624
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5625
+ firstname: z.ZodString;
5626
+ surname: z.ZodString;
5664
5627
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
5628
  }, "strip", z.ZodTypeAny, {
5666
- firstname?: string | null | undefined;
5667
- surname?: string | null | undefined;
5629
+ firstname: string;
5630
+ surname: string;
5668
5631
  middlename?: string | null | undefined;
5669
5632
  }, {
5670
- firstname?: string | null | undefined;
5671
- surname?: string | null | undefined;
5633
+ firstname: string;
5634
+ surname: string;
5672
5635
  middlename?: string | null | undefined;
5673
5636
  }>, 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<{
5637
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5675
5638
  filename: z.ZodString;
5676
5639
  originalFilename: z.ZodString;
5677
5640
  type: z.ZodString;
@@ -5785,28 +5748,28 @@ export declare const EventDocument: z.ZodObject<{
5785
5748
  addressLine3?: string | null | undefined;
5786
5749
  postcodeOrZip?: string | null | undefined;
5787
5750
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5751
+ firstname: z.ZodString;
5752
+ surname: z.ZodString;
5790
5753
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
5754
  }, "strip", z.ZodTypeAny, {
5792
- firstname?: string | null | undefined;
5793
- surname?: string | null | undefined;
5755
+ firstname: string;
5756
+ surname: string;
5794
5757
  middlename?: string | null | undefined;
5795
5758
  }, {
5796
- firstname?: string | null | undefined;
5797
- surname?: string | null | undefined;
5759
+ firstname: string;
5760
+ surname: string;
5798
5761
  middlename?: string | null | undefined;
5799
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5762
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5800
5763
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5764
+ originalActionId: z.ZodOptional<z.ZodString>;
5802
5765
  }, {
5803
5766
  type: z.ZodLiteral<"UNASSIGN">;
5767
+ assignedTo: z.ZodLiteral<null>;
5804
5768
  }>, "strip", z.ZodTypeAny, {
5805
5769
  type: "UNASSIGN";
5806
- id: string & z.BRAND<"UUID">;
5770
+ id: string;
5807
5771
  status: "Rejected" | "Requested" | "Accepted";
5808
5772
  transactionId: string;
5809
- createdByUserType: "system" | "user";
5810
5773
  createdAt: string;
5811
5774
  createdBy: string;
5812
5775
  createdByRole: string;
@@ -5826,8 +5789,8 @@ export declare const EventDocument: z.ZodObject<{
5826
5789
  street?: string | null | undefined;
5827
5790
  zipCode?: string | null | undefined;
5828
5791
  } | {
5829
- firstname?: string | null | undefined;
5830
- surname?: string | null | undefined;
5792
+ firstname: string;
5793
+ surname: string;
5831
5794
  middlename?: string | null | undefined;
5832
5795
  } | {
5833
5796
  country: string;
@@ -5852,8 +5815,9 @@ export declare const EventDocument: z.ZodObject<{
5852
5815
  filename: string;
5853
5816
  originalFilename: string;
5854
5817
  }[] | [string, string] | null | undefined>;
5818
+ assignedTo: null;
5855
5819
  createdBySignature?: string | null | undefined;
5856
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5820
+ createdAtLocation?: string | null | undefined;
5857
5821
  annotation?: Record<string, string | number | boolean | {
5858
5822
  type: string;
5859
5823
  filename: string;
@@ -5870,8 +5834,8 @@ export declare const EventDocument: z.ZodObject<{
5870
5834
  street?: string | null | undefined;
5871
5835
  zipCode?: string | null | undefined;
5872
5836
  } | {
5873
- firstname?: string | null | undefined;
5874
- surname?: string | null | undefined;
5837
+ firstname: string;
5838
+ surname: string;
5875
5839
  middlename?: string | null | undefined;
5876
5840
  } | {
5877
5841
  country: string;
@@ -5895,14 +5859,13 @@ export declare const EventDocument: z.ZodObject<{
5895
5859
  option: string;
5896
5860
  filename: string;
5897
5861
  originalFilename: string;
5898
- }[] | [string, string] | null | undefined> | null | undefined;
5899
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5862
+ }[] | [string, string] | null | undefined> | undefined;
5863
+ originalActionId?: string | undefined;
5900
5864
  }, {
5901
5865
  type: "UNASSIGN";
5902
5866
  id: string;
5903
5867
  status: "Rejected" | "Requested" | "Accepted";
5904
5868
  transactionId: string;
5905
- createdByUserType: "system" | "user";
5906
5869
  createdAt: string;
5907
5870
  createdBy: string;
5908
5871
  createdByRole: string;
@@ -5922,8 +5885,8 @@ export declare const EventDocument: z.ZodObject<{
5922
5885
  street?: string | null | undefined;
5923
5886
  zipCode?: string | null | undefined;
5924
5887
  } | {
5925
- firstname?: string | null | undefined;
5926
- surname?: string | null | undefined;
5888
+ firstname: string;
5889
+ surname: string;
5927
5890
  middlename?: string | null | undefined;
5928
5891
  } | {
5929
5892
  country: string;
@@ -5948,6 +5911,7 @@ export declare const EventDocument: z.ZodObject<{
5948
5911
  filename: string;
5949
5912
  originalFilename: string;
5950
5913
  }[] | [string, string] | null | undefined>;
5914
+ assignedTo: null;
5951
5915
  createdBySignature?: string | null | undefined;
5952
5916
  createdAtLocation?: string | null | undefined;
5953
5917
  annotation?: Record<string, string | number | boolean | {
@@ -5966,8 +5930,8 @@ export declare const EventDocument: z.ZodObject<{
5966
5930
  street?: string | null | undefined;
5967
5931
  zipCode?: string | null | undefined;
5968
5932
  } | {
5969
- firstname?: string | null | undefined;
5970
- surname?: string | null | undefined;
5933
+ firstname: string;
5934
+ surname: string;
5971
5935
  middlename?: string | null | undefined;
5972
5936
  } | {
5973
5937
  country: string;
@@ -5991,17 +5955,16 @@ export declare const EventDocument: z.ZodObject<{
5991
5955
  option: string;
5992
5956
  filename: string;
5993
5957
  originalFilename: string;
5994
- }[] | [string, string] | null | undefined> | null | undefined;
5995
- originalActionId?: string | null | undefined;
5958
+ }[] | [string, string] | null | undefined> | undefined;
5959
+ originalActionId?: string | undefined;
5996
5960
  }>, z.ZodObject<z.objectUtil.extendShape<{
5997
- id: z.ZodBranded<z.ZodString, "UUID">;
5961
+ id: z.ZodString;
5998
5962
  transactionId: z.ZodString;
5999
- createdByUserType: z.ZodEnum<["user", "system"]>;
6000
5963
  createdAt: z.ZodString;
6001
5964
  createdBy: z.ZodString;
6002
5965
  createdByRole: z.ZodString;
6003
5966
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5967
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6005
5968
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6006
5969
  filename: z.ZodString;
6007
5970
  originalFilename: z.ZodString;
@@ -6116,19 +6079,19 @@ export declare const EventDocument: z.ZodObject<{
6116
6079
  addressLine3?: string | null | undefined;
6117
6080
  postcodeOrZip?: string | null | undefined;
6118
6081
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6082
+ firstname: z.ZodString;
6083
+ surname: z.ZodString;
6121
6084
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
6085
  }, "strip", z.ZodTypeAny, {
6123
- firstname?: string | null | undefined;
6124
- surname?: string | null | undefined;
6086
+ firstname: string;
6087
+ surname: string;
6125
6088
  middlename?: string | null | undefined;
6126
6089
  }, {
6127
- firstname?: string | null | undefined;
6128
- surname?: string | null | undefined;
6090
+ firstname: string;
6091
+ surname: string;
6129
6092
  middlename?: string | null | undefined;
6130
6093
  }>, 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<{
6094
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6132
6095
  filename: z.ZodString;
6133
6096
  originalFilename: z.ZodString;
6134
6097
  type: z.ZodString;
@@ -6242,28 +6205,27 @@ export declare const EventDocument: z.ZodObject<{
6242
6205
  addressLine3?: string | null | undefined;
6243
6206
  postcodeOrZip?: string | null | undefined;
6244
6207
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6208
+ firstname: z.ZodString;
6209
+ surname: z.ZodString;
6247
6210
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
6211
  }, "strip", z.ZodTypeAny, {
6249
- firstname?: string | null | undefined;
6250
- surname?: string | null | undefined;
6212
+ firstname: string;
6213
+ surname: string;
6251
6214
  middlename?: string | null | undefined;
6252
6215
  }, {
6253
- firstname?: string | null | undefined;
6254
- surname?: string | null | undefined;
6216
+ firstname: string;
6217
+ surname: string;
6255
6218
  middlename?: string | null | undefined;
6256
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6219
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6257
6220
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6258
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6221
+ originalActionId: z.ZodOptional<z.ZodString>;
6259
6222
  }, {
6260
6223
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6261
6224
  }>, "strip", z.ZodTypeAny, {
6262
6225
  type: "PRINT_CERTIFICATE";
6263
- id: string & z.BRAND<"UUID">;
6226
+ id: string;
6264
6227
  status: "Rejected" | "Requested" | "Accepted";
6265
6228
  transactionId: string;
6266
- createdByUserType: "system" | "user";
6267
6229
  createdAt: string;
6268
6230
  createdBy: string;
6269
6231
  createdByRole: string;
@@ -6283,8 +6245,8 @@ export declare const EventDocument: z.ZodObject<{
6283
6245
  street?: string | null | undefined;
6284
6246
  zipCode?: string | null | undefined;
6285
6247
  } | {
6286
- firstname?: string | null | undefined;
6287
- surname?: string | null | undefined;
6248
+ firstname: string;
6249
+ surname: string;
6288
6250
  middlename?: string | null | undefined;
6289
6251
  } | {
6290
6252
  country: string;
@@ -6310,7 +6272,7 @@ export declare const EventDocument: z.ZodObject<{
6310
6272
  originalFilename: string;
6311
6273
  }[] | [string, string] | null | undefined>;
6312
6274
  createdBySignature?: string | null | undefined;
6313
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6275
+ createdAtLocation?: string | null | undefined;
6314
6276
  annotation?: Record<string, string | number | boolean | {
6315
6277
  type: string;
6316
6278
  filename: string;
@@ -6327,8 +6289,8 @@ export declare const EventDocument: z.ZodObject<{
6327
6289
  street?: string | null | undefined;
6328
6290
  zipCode?: string | null | undefined;
6329
6291
  } | {
6330
- firstname?: string | null | undefined;
6331
- surname?: string | null | undefined;
6292
+ firstname: string;
6293
+ surname: string;
6332
6294
  middlename?: string | null | undefined;
6333
6295
  } | {
6334
6296
  country: string;
@@ -6352,14 +6314,13 @@ export declare const EventDocument: z.ZodObject<{
6352
6314
  option: string;
6353
6315
  filename: string;
6354
6316
  originalFilename: string;
6355
- }[] | [string, string] | null | undefined> | null | undefined;
6356
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6317
+ }[] | [string, string] | null | undefined> | undefined;
6318
+ originalActionId?: string | undefined;
6357
6319
  }, {
6358
6320
  type: "PRINT_CERTIFICATE";
6359
6321
  id: string;
6360
6322
  status: "Rejected" | "Requested" | "Accepted";
6361
6323
  transactionId: string;
6362
- createdByUserType: "system" | "user";
6363
6324
  createdAt: string;
6364
6325
  createdBy: string;
6365
6326
  createdByRole: string;
@@ -6379,8 +6340,8 @@ export declare const EventDocument: z.ZodObject<{
6379
6340
  street?: string | null | undefined;
6380
6341
  zipCode?: string | null | undefined;
6381
6342
  } | {
6382
- firstname?: string | null | undefined;
6383
- surname?: string | null | undefined;
6343
+ firstname: string;
6344
+ surname: string;
6384
6345
  middlename?: string | null | undefined;
6385
6346
  } | {
6386
6347
  country: string;
@@ -6423,8 +6384,8 @@ export declare const EventDocument: z.ZodObject<{
6423
6384
  street?: string | null | undefined;
6424
6385
  zipCode?: string | null | undefined;
6425
6386
  } | {
6426
- firstname?: string | null | undefined;
6427
- surname?: string | null | undefined;
6387
+ firstname: string;
6388
+ surname: string;
6428
6389
  middlename?: string | null | undefined;
6429
6390
  } | {
6430
6391
  country: string;
@@ -6448,17 +6409,16 @@ export declare const EventDocument: z.ZodObject<{
6448
6409
  option: string;
6449
6410
  filename: string;
6450
6411
  originalFilename: string;
6451
- }[] | [string, string] | null | undefined> | null | undefined;
6452
- originalActionId?: string | null | undefined;
6412
+ }[] | [string, string] | null | undefined> | undefined;
6413
+ originalActionId?: string | undefined;
6453
6414
  }>, z.ZodObject<z.objectUtil.extendShape<{
6454
- id: z.ZodBranded<z.ZodString, "UUID">;
6415
+ id: z.ZodString;
6455
6416
  transactionId: z.ZodString;
6456
- createdByUserType: z.ZodEnum<["user", "system"]>;
6457
6417
  createdAt: z.ZodString;
6458
6418
  createdBy: z.ZodString;
6459
6419
  createdByRole: z.ZodString;
6460
6420
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6462
6422
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6463
6423
  filename: z.ZodString;
6464
6424
  originalFilename: z.ZodString;
@@ -6573,19 +6533,19 @@ export declare const EventDocument: z.ZodObject<{
6573
6533
  addressLine3?: string | null | undefined;
6574
6534
  postcodeOrZip?: string | null | undefined;
6575
6535
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6536
+ firstname: z.ZodString;
6537
+ surname: z.ZodString;
6578
6538
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
6539
  }, "strip", z.ZodTypeAny, {
6580
- firstname?: string | null | undefined;
6581
- surname?: string | null | undefined;
6540
+ firstname: string;
6541
+ surname: string;
6582
6542
  middlename?: string | null | undefined;
6583
6543
  }, {
6584
- firstname?: string | null | undefined;
6585
- surname?: string | null | undefined;
6544
+ firstname: string;
6545
+ surname: string;
6586
6546
  middlename?: string | null | undefined;
6587
6547
  }>, 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<{
6548
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6589
6549
  filename: z.ZodString;
6590
6550
  originalFilename: z.ZodString;
6591
6551
  type: z.ZodString;
@@ -6699,28 +6659,27 @@ export declare const EventDocument: z.ZodObject<{
6699
6659
  addressLine3?: string | null | undefined;
6700
6660
  postcodeOrZip?: string | null | undefined;
6701
6661
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6662
+ firstname: z.ZodString;
6663
+ surname: z.ZodString;
6704
6664
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
6665
  }, "strip", z.ZodTypeAny, {
6706
- firstname?: string | null | undefined;
6707
- surname?: string | null | undefined;
6666
+ firstname: string;
6667
+ surname: string;
6708
6668
  middlename?: string | null | undefined;
6709
6669
  }, {
6710
- firstname?: string | null | undefined;
6711
- surname?: string | null | undefined;
6670
+ firstname: string;
6671
+ surname: string;
6712
6672
  middlename?: string | null | undefined;
6713
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6673
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6714
6674
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6715
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6675
+ originalActionId: z.ZodOptional<z.ZodString>;
6716
6676
  }, {
6717
6677
  type: z.ZodLiteral<"READ">;
6718
6678
  }>, "strip", z.ZodTypeAny, {
6719
6679
  type: "READ";
6720
- id: string & z.BRAND<"UUID">;
6680
+ id: string;
6721
6681
  status: "Rejected" | "Requested" | "Accepted";
6722
6682
  transactionId: string;
6723
- createdByUserType: "system" | "user";
6724
6683
  createdAt: string;
6725
6684
  createdBy: string;
6726
6685
  createdByRole: string;
@@ -6740,8 +6699,8 @@ export declare const EventDocument: z.ZodObject<{
6740
6699
  street?: string | null | undefined;
6741
6700
  zipCode?: string | null | undefined;
6742
6701
  } | {
6743
- firstname?: string | null | undefined;
6744
- surname?: string | null | undefined;
6702
+ firstname: string;
6703
+ surname: string;
6745
6704
  middlename?: string | null | undefined;
6746
6705
  } | {
6747
6706
  country: string;
@@ -6767,7 +6726,7 @@ export declare const EventDocument: z.ZodObject<{
6767
6726
  originalFilename: string;
6768
6727
  }[] | [string, string] | null | undefined>;
6769
6728
  createdBySignature?: string | null | undefined;
6770
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6729
+ createdAtLocation?: string | null | undefined;
6771
6730
  annotation?: Record<string, string | number | boolean | {
6772
6731
  type: string;
6773
6732
  filename: string;
@@ -6784,8 +6743,8 @@ export declare const EventDocument: z.ZodObject<{
6784
6743
  street?: string | null | undefined;
6785
6744
  zipCode?: string | null | undefined;
6786
6745
  } | {
6787
- firstname?: string | null | undefined;
6788
- surname?: string | null | undefined;
6746
+ firstname: string;
6747
+ surname: string;
6789
6748
  middlename?: string | null | undefined;
6790
6749
  } | {
6791
6750
  country: string;
@@ -6809,14 +6768,13 @@ export declare const EventDocument: z.ZodObject<{
6809
6768
  option: string;
6810
6769
  filename: string;
6811
6770
  originalFilename: string;
6812
- }[] | [string, string] | null | undefined> | null | undefined;
6813
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6771
+ }[] | [string, string] | null | undefined> | undefined;
6772
+ originalActionId?: string | undefined;
6814
6773
  }, {
6815
6774
  type: "READ";
6816
6775
  id: string;
6817
6776
  status: "Rejected" | "Requested" | "Accepted";
6818
6777
  transactionId: string;
6819
- createdByUserType: "system" | "user";
6820
6778
  createdAt: string;
6821
6779
  createdBy: string;
6822
6780
  createdByRole: string;
@@ -6836,8 +6794,8 @@ export declare const EventDocument: z.ZodObject<{
6836
6794
  street?: string | null | undefined;
6837
6795
  zipCode?: string | null | undefined;
6838
6796
  } | {
6839
- firstname?: string | null | undefined;
6840
- surname?: string | null | undefined;
6797
+ firstname: string;
6798
+ surname: string;
6841
6799
  middlename?: string | null | undefined;
6842
6800
  } | {
6843
6801
  country: string;
@@ -6880,8 +6838,8 @@ export declare const EventDocument: z.ZodObject<{
6880
6838
  street?: string | null | undefined;
6881
6839
  zipCode?: string | null | undefined;
6882
6840
  } | {
6883
- firstname?: string | null | undefined;
6884
- surname?: string | null | undefined;
6841
+ firstname: string;
6842
+ surname: string;
6885
6843
  middlename?: string | null | undefined;
6886
6844
  } | {
6887
6845
  country: string;
@@ -6905,17 +6863,16 @@ export declare const EventDocument: z.ZodObject<{
6905
6863
  option: string;
6906
6864
  filename: string;
6907
6865
  originalFilename: string;
6908
- }[] | [string, string] | null | undefined> | null | undefined;
6909
- originalActionId?: string | null | undefined;
6866
+ }[] | [string, string] | null | undefined> | undefined;
6867
+ originalActionId?: string | undefined;
6910
6868
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6911
- id: z.ZodBranded<z.ZodString, "UUID">;
6869
+ id: z.ZodString;
6912
6870
  transactionId: z.ZodString;
6913
- createdByUserType: z.ZodEnum<["user", "system"]>;
6914
6871
  createdAt: z.ZodString;
6915
6872
  createdBy: z.ZodString;
6916
6873
  createdByRole: z.ZodString;
6917
6874
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6875
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6919
6876
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6920
6877
  filename: z.ZodString;
6921
6878
  originalFilename: z.ZodString;
@@ -7030,19 +6987,19 @@ export declare const EventDocument: z.ZodObject<{
7030
6987
  addressLine3?: string | null | undefined;
7031
6988
  postcodeOrZip?: string | null | undefined;
7032
6989
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6990
+ firstname: z.ZodString;
6991
+ surname: z.ZodString;
7035
6992
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
6993
  }, "strip", z.ZodTypeAny, {
7037
- firstname?: string | null | undefined;
7038
- surname?: string | null | undefined;
6994
+ firstname: string;
6995
+ surname: string;
7039
6996
  middlename?: string | null | undefined;
7040
6997
  }, {
7041
- firstname?: string | null | undefined;
7042
- surname?: string | null | undefined;
6998
+ firstname: string;
6999
+ surname: string;
7043
7000
  middlename?: string | null | undefined;
7044
7001
  }>, 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<{
7002
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7046
7003
  filename: z.ZodString;
7047
7004
  originalFilename: z.ZodString;
7048
7005
  type: z.ZodString;
@@ -7156,60 +7113,57 @@ export declare const EventDocument: z.ZodObject<{
7156
7113
  addressLine3?: string | null | undefined;
7157
7114
  postcodeOrZip?: string | null | undefined;
7158
7115
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7116
+ firstname: z.ZodString;
7117
+ surname: z.ZodString;
7161
7118
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
7119
  }, "strip", z.ZodTypeAny, {
7163
- firstname?: string | null | undefined;
7164
- surname?: string | null | undefined;
7120
+ firstname: string;
7121
+ surname: string;
7165
7122
  middlename?: string | null | undefined;
7166
7123
  }, {
7167
- firstname?: string | null | undefined;
7168
- surname?: string | null | undefined;
7124
+ firstname: string;
7125
+ surname: string;
7169
7126
  middlename?: string | null | undefined;
7170
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7127
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7171
7128
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7172
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7129
+ originalActionId: z.ZodOptional<z.ZodString>;
7173
7130
  }, "declaration" | "annotation">, {
7174
7131
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7175
7132
  status: z.ZodLiteral<"Rejected">;
7176
7133
  }>, "strip", z.ZodTypeAny, {
7177
7134
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
- id: string & z.BRAND<"UUID">;
7135
+ id: string;
7179
7136
  status: "Rejected";
7180
7137
  transactionId: string;
7181
- createdByUserType: "system" | "user";
7182
7138
  createdAt: string;
7183
7139
  createdBy: string;
7184
7140
  createdByRole: string;
7185
7141
  createdBySignature?: string | null | undefined;
7186
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7142
+ createdAtLocation?: string | null | undefined;
7143
+ originalActionId?: string | undefined;
7188
7144
  }, {
7189
7145
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7190
7146
  id: string;
7191
7147
  status: "Rejected";
7192
7148
  transactionId: string;
7193
- createdByUserType: "system" | "user";
7194
7149
  createdAt: string;
7195
7150
  createdBy: string;
7196
7151
  createdByRole: string;
7197
7152
  createdBySignature?: string | null | undefined;
7198
7153
  createdAtLocation?: string | null | undefined;
7199
- originalActionId?: string | null | undefined;
7154
+ originalActionId?: string | undefined;
7200
7155
  }>]>, "many">;
7201
7156
  trackingId: z.ZodString;
7202
7157
  }, "strip", z.ZodTypeAny, {
7203
7158
  type: string;
7204
- id: string & z.BRAND<"UUID">;
7159
+ id: string;
7205
7160
  createdAt: string;
7206
7161
  updatedAt: string;
7207
7162
  actions: ({
7208
7163
  type: "ASSIGN";
7209
- id: string & z.BRAND<"UUID">;
7164
+ id: string;
7210
7165
  status: "Rejected" | "Requested" | "Accepted";
7211
7166
  transactionId: string;
7212
- createdByUserType: "system" | "user";
7213
7167
  createdAt: string;
7214
7168
  createdBy: string;
7215
7169
  createdByRole: string;
@@ -7229,8 +7183,8 @@ export declare const EventDocument: z.ZodObject<{
7229
7183
  street?: string | null | undefined;
7230
7184
  zipCode?: string | null | undefined;
7231
7185
  } | {
7232
- firstname?: string | null | undefined;
7233
- surname?: string | null | undefined;
7186
+ firstname: string;
7187
+ surname: string;
7234
7188
  middlename?: string | null | undefined;
7235
7189
  } | {
7236
7190
  country: string;
@@ -7257,7 +7211,7 @@ export declare const EventDocument: z.ZodObject<{
7257
7211
  }[] | [string, string] | null | undefined>;
7258
7212
  assignedTo: string;
7259
7213
  createdBySignature?: string | null | undefined;
7260
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7214
+ createdAtLocation?: string | null | undefined;
7261
7215
  annotation?: Record<string, string | number | boolean | {
7262
7216
  type: string;
7263
7217
  filename: string;
@@ -7274,8 +7228,8 @@ export declare const EventDocument: z.ZodObject<{
7274
7228
  street?: string | null | undefined;
7275
7229
  zipCode?: string | null | undefined;
7276
7230
  } | {
7277
- firstname?: string | null | undefined;
7278
- surname?: string | null | undefined;
7231
+ firstname: string;
7232
+ surname: string;
7279
7233
  middlename?: string | null | undefined;
7280
7234
  } | {
7281
7235
  country: string;
@@ -7299,14 +7253,13 @@ export declare const EventDocument: z.ZodObject<{
7299
7253
  option: string;
7300
7254
  filename: string;
7301
7255
  originalFilename: string;
7302
- }[] | [string, string] | null | undefined> | null | undefined;
7303
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7256
+ }[] | [string, string] | null | undefined> | undefined;
7257
+ originalActionId?: string | undefined;
7304
7258
  } | {
7305
7259
  type: "UNASSIGN";
7306
- id: string & z.BRAND<"UUID">;
7260
+ id: string;
7307
7261
  status: "Rejected" | "Requested" | "Accepted";
7308
7262
  transactionId: string;
7309
- createdByUserType: "system" | "user";
7310
7263
  createdAt: string;
7311
7264
  createdBy: string;
7312
7265
  createdByRole: string;
@@ -7326,8 +7279,8 @@ export declare const EventDocument: z.ZodObject<{
7326
7279
  street?: string | null | undefined;
7327
7280
  zipCode?: string | null | undefined;
7328
7281
  } | {
7329
- firstname?: string | null | undefined;
7330
- surname?: string | null | undefined;
7282
+ firstname: string;
7283
+ surname: string;
7331
7284
  middlename?: string | null | undefined;
7332
7285
  } | {
7333
7286
  country: string;
@@ -7352,8 +7305,9 @@ export declare const EventDocument: z.ZodObject<{
7352
7305
  filename: string;
7353
7306
  originalFilename: string;
7354
7307
  }[] | [string, string] | null | undefined>;
7308
+ assignedTo: null;
7355
7309
  createdBySignature?: string | null | undefined;
7356
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7310
+ createdAtLocation?: string | null | undefined;
7357
7311
  annotation?: Record<string, string | number | boolean | {
7358
7312
  type: string;
7359
7313
  filename: string;
@@ -7370,8 +7324,8 @@ export declare const EventDocument: z.ZodObject<{
7370
7324
  street?: string | null | undefined;
7371
7325
  zipCode?: string | null | undefined;
7372
7326
  } | {
7373
- firstname?: string | null | undefined;
7374
- surname?: string | null | undefined;
7327
+ firstname: string;
7328
+ surname: string;
7375
7329
  middlename?: string | null | undefined;
7376
7330
  } | {
7377
7331
  country: string;
@@ -7395,14 +7349,13 @@ export declare const EventDocument: z.ZodObject<{
7395
7349
  option: string;
7396
7350
  filename: string;
7397
7351
  originalFilename: string;
7398
- }[] | [string, string] | null | undefined> | null | undefined;
7399
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7352
+ }[] | [string, string] | null | undefined> | undefined;
7353
+ originalActionId?: string | undefined;
7400
7354
  } | {
7401
7355
  type: "REGISTER";
7402
- id: string & z.BRAND<"UUID">;
7356
+ id: string;
7403
7357
  status: "Rejected" | "Requested" | "Accepted";
7404
7358
  transactionId: string;
7405
- createdByUserType: "system" | "user";
7406
7359
  createdAt: string;
7407
7360
  createdBy: string;
7408
7361
  createdByRole: string;
@@ -7422,8 +7375,8 @@ export declare const EventDocument: z.ZodObject<{
7422
7375
  street?: string | null | undefined;
7423
7376
  zipCode?: string | null | undefined;
7424
7377
  } | {
7425
- firstname?: string | null | undefined;
7426
- surname?: string | null | undefined;
7378
+ firstname: string;
7379
+ surname: string;
7427
7380
  middlename?: string | null | undefined;
7428
7381
  } | {
7429
7382
  country: string;
@@ -7449,7 +7402,7 @@ export declare const EventDocument: z.ZodObject<{
7449
7402
  originalFilename: string;
7450
7403
  }[] | [string, string] | null | undefined>;
7451
7404
  createdBySignature?: string | null | undefined;
7452
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7405
+ createdAtLocation?: string | null | undefined;
7453
7406
  annotation?: Record<string, string | number | boolean | {
7454
7407
  type: string;
7455
7408
  filename: string;
@@ -7466,8 +7419,8 @@ export declare const EventDocument: z.ZodObject<{
7466
7419
  street?: string | null | undefined;
7467
7420
  zipCode?: string | null | undefined;
7468
7421
  } | {
7469
- firstname?: string | null | undefined;
7470
- surname?: string | null | undefined;
7422
+ firstname: string;
7423
+ surname: string;
7471
7424
  middlename?: string | null | undefined;
7472
7425
  } | {
7473
7426
  country: string;
@@ -7491,15 +7444,14 @@ export declare const EventDocument: z.ZodObject<{
7491
7444
  option: string;
7492
7445
  filename: string;
7493
7446
  originalFilename: string;
7494
- }[] | [string, string] | null | undefined> | null | undefined;
7495
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7447
+ }[] | [string, string] | null | undefined> | undefined;
7448
+ originalActionId?: string | undefined;
7496
7449
  registrationNumber?: string | undefined;
7497
7450
  } | {
7498
7451
  type: "DECLARE";
7499
- id: string & z.BRAND<"UUID">;
7452
+ id: string;
7500
7453
  status: "Rejected" | "Requested" | "Accepted";
7501
7454
  transactionId: string;
7502
- createdByUserType: "system" | "user";
7503
7455
  createdAt: string;
7504
7456
  createdBy: string;
7505
7457
  createdByRole: string;
@@ -7519,8 +7471,8 @@ export declare const EventDocument: z.ZodObject<{
7519
7471
  street?: string | null | undefined;
7520
7472
  zipCode?: string | null | undefined;
7521
7473
  } | {
7522
- firstname?: string | null | undefined;
7523
- surname?: string | null | undefined;
7474
+ firstname: string;
7475
+ surname: string;
7524
7476
  middlename?: string | null | undefined;
7525
7477
  } | {
7526
7478
  country: string;
@@ -7546,7 +7498,7 @@ export declare const EventDocument: z.ZodObject<{
7546
7498
  originalFilename: string;
7547
7499
  }[] | [string, string] | null | undefined>;
7548
7500
  createdBySignature?: string | null | undefined;
7549
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7501
+ createdAtLocation?: string | null | undefined;
7550
7502
  annotation?: Record<string, string | number | boolean | {
7551
7503
  type: string;
7552
7504
  filename: string;
@@ -7563,8 +7515,8 @@ export declare const EventDocument: z.ZodObject<{
7563
7515
  street?: string | null | undefined;
7564
7516
  zipCode?: string | null | undefined;
7565
7517
  } | {
7566
- firstname?: string | null | undefined;
7567
- surname?: string | null | undefined;
7518
+ firstname: string;
7519
+ surname: string;
7568
7520
  middlename?: string | null | undefined;
7569
7521
  } | {
7570
7522
  country: string;
@@ -7588,14 +7540,13 @@ export declare const EventDocument: z.ZodObject<{
7588
7540
  option: string;
7589
7541
  filename: string;
7590
7542
  originalFilename: string;
7591
- }[] | [string, string] | null | undefined> | null | undefined;
7592
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7543
+ }[] | [string, string] | null | undefined> | undefined;
7544
+ originalActionId?: string | undefined;
7593
7545
  } | {
7594
7546
  type: "VALIDATE";
7595
- id: string & z.BRAND<"UUID">;
7547
+ id: string;
7596
7548
  status: "Rejected" | "Requested" | "Accepted";
7597
7549
  transactionId: string;
7598
- createdByUserType: "system" | "user";
7599
7550
  createdAt: string;
7600
7551
  createdBy: string;
7601
7552
  createdByRole: string;
@@ -7615,8 +7566,8 @@ export declare const EventDocument: z.ZodObject<{
7615
7566
  street?: string | null | undefined;
7616
7567
  zipCode?: string | null | undefined;
7617
7568
  } | {
7618
- firstname?: string | null | undefined;
7619
- surname?: string | null | undefined;
7569
+ firstname: string;
7570
+ surname: string;
7620
7571
  middlename?: string | null | undefined;
7621
7572
  } | {
7622
7573
  country: string;
@@ -7642,7 +7593,7 @@ export declare const EventDocument: z.ZodObject<{
7642
7593
  originalFilename: string;
7643
7594
  }[] | [string, string] | null | undefined>;
7644
7595
  createdBySignature?: string | null | undefined;
7645
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7596
+ createdAtLocation?: string | null | undefined;
7646
7597
  annotation?: Record<string, string | number | boolean | {
7647
7598
  type: string;
7648
7599
  filename: string;
@@ -7659,8 +7610,8 @@ export declare const EventDocument: z.ZodObject<{
7659
7610
  street?: string | null | undefined;
7660
7611
  zipCode?: string | null | undefined;
7661
7612
  } | {
7662
- firstname?: string | null | undefined;
7663
- surname?: string | null | undefined;
7613
+ firstname: string;
7614
+ surname: string;
7664
7615
  middlename?: string | null | undefined;
7665
7616
  } | {
7666
7617
  country: string;
@@ -7684,18 +7635,17 @@ export declare const EventDocument: z.ZodObject<{
7684
7635
  option: string;
7685
7636
  filename: string;
7686
7637
  originalFilename: string;
7687
- }[] | [string, string] | null | undefined> | null | undefined;
7688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7638
+ }[] | [string, string] | null | undefined> | undefined;
7639
+ originalActionId?: string | undefined;
7689
7640
  } | {
7690
7641
  type: "REJECT";
7691
- id: string & z.BRAND<"UUID">;
7642
+ id: string;
7692
7643
  status: "Rejected" | "Requested" | "Accepted";
7693
7644
  reason: {
7694
7645
  message: string;
7695
7646
  isDuplicate?: boolean | undefined;
7696
7647
  };
7697
7648
  transactionId: string;
7698
- createdByUserType: "system" | "user";
7699
7649
  createdAt: string;
7700
7650
  createdBy: string;
7701
7651
  createdByRole: string;
@@ -7715,8 +7665,8 @@ export declare const EventDocument: z.ZodObject<{
7715
7665
  street?: string | null | undefined;
7716
7666
  zipCode?: string | null | undefined;
7717
7667
  } | {
7718
- firstname?: string | null | undefined;
7719
- surname?: string | null | undefined;
7668
+ firstname: string;
7669
+ surname: string;
7720
7670
  middlename?: string | null | undefined;
7721
7671
  } | {
7722
7672
  country: string;
@@ -7742,7 +7692,7 @@ export declare const EventDocument: z.ZodObject<{
7742
7692
  originalFilename: string;
7743
7693
  }[] | [string, string] | null | undefined>;
7744
7694
  createdBySignature?: string | null | undefined;
7745
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7695
+ createdAtLocation?: string | null | undefined;
7746
7696
  annotation?: Record<string, string | number | boolean | {
7747
7697
  type: string;
7748
7698
  filename: string;
@@ -7759,8 +7709,8 @@ export declare const EventDocument: z.ZodObject<{
7759
7709
  street?: string | null | undefined;
7760
7710
  zipCode?: string | null | undefined;
7761
7711
  } | {
7762
- firstname?: string | null | undefined;
7763
- surname?: string | null | undefined;
7712
+ firstname: string;
7713
+ surname: string;
7764
7714
  middlename?: string | null | undefined;
7765
7715
  } | {
7766
7716
  country: string;
@@ -7784,14 +7734,13 @@ export declare const EventDocument: z.ZodObject<{
7784
7734
  option: string;
7785
7735
  filename: string;
7786
7736
  originalFilename: string;
7787
- }[] | [string, string] | null | undefined> | null | undefined;
7788
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7737
+ }[] | [string, string] | null | undefined> | undefined;
7738
+ originalActionId?: string | undefined;
7789
7739
  } | {
7790
7740
  type: "MARKED_AS_DUPLICATE";
7791
- id: string & z.BRAND<"UUID">;
7741
+ id: string;
7792
7742
  status: "Rejected" | "Requested" | "Accepted";
7793
7743
  transactionId: string;
7794
- createdByUserType: "system" | "user";
7795
7744
  createdAt: string;
7796
7745
  createdBy: string;
7797
7746
  createdByRole: string;
@@ -7811,8 +7760,8 @@ export declare const EventDocument: z.ZodObject<{
7811
7760
  street?: string | null | undefined;
7812
7761
  zipCode?: string | null | undefined;
7813
7762
  } | {
7814
- firstname?: string | null | undefined;
7815
- surname?: string | null | undefined;
7763
+ firstname: string;
7764
+ surname: string;
7816
7765
  middlename?: string | null | undefined;
7817
7766
  } | {
7818
7767
  country: string;
@@ -7838,7 +7787,7 @@ export declare const EventDocument: z.ZodObject<{
7838
7787
  originalFilename: string;
7839
7788
  }[] | [string, string] | null | undefined>;
7840
7789
  createdBySignature?: string | null | undefined;
7841
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7790
+ createdAtLocation?: string | null | undefined;
7842
7791
  annotation?: Record<string, string | number | boolean | {
7843
7792
  type: string;
7844
7793
  filename: string;
@@ -7855,8 +7804,8 @@ export declare const EventDocument: z.ZodObject<{
7855
7804
  street?: string | null | undefined;
7856
7805
  zipCode?: string | null | undefined;
7857
7806
  } | {
7858
- firstname?: string | null | undefined;
7859
- surname?: string | null | undefined;
7807
+ firstname: string;
7808
+ surname: string;
7860
7809
  middlename?: string | null | undefined;
7861
7810
  } | {
7862
7811
  country: string;
@@ -7880,18 +7829,17 @@ export declare const EventDocument: z.ZodObject<{
7880
7829
  option: string;
7881
7830
  filename: string;
7882
7831
  originalFilename: string;
7883
- }[] | [string, string] | null | undefined> | null | undefined;
7884
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7832
+ }[] | [string, string] | null | undefined> | undefined;
7833
+ originalActionId?: string | undefined;
7885
7834
  } | {
7886
7835
  type: "ARCHIVE";
7887
- id: string & z.BRAND<"UUID">;
7836
+ id: string;
7888
7837
  status: "Rejected" | "Requested" | "Accepted";
7889
7838
  reason: {
7890
7839
  message: string;
7891
7840
  isDuplicate?: boolean | undefined;
7892
7841
  };
7893
7842
  transactionId: string;
7894
- createdByUserType: "system" | "user";
7895
7843
  createdAt: string;
7896
7844
  createdBy: string;
7897
7845
  createdByRole: string;
@@ -7911,8 +7859,8 @@ export declare const EventDocument: z.ZodObject<{
7911
7859
  street?: string | null | undefined;
7912
7860
  zipCode?: string | null | undefined;
7913
7861
  } | {
7914
- firstname?: string | null | undefined;
7915
- surname?: string | null | undefined;
7862
+ firstname: string;
7863
+ surname: string;
7916
7864
  middlename?: string | null | undefined;
7917
7865
  } | {
7918
7866
  country: string;
@@ -7938,7 +7886,7 @@ export declare const EventDocument: z.ZodObject<{
7938
7886
  originalFilename: string;
7939
7887
  }[] | [string, string] | null | undefined>;
7940
7888
  createdBySignature?: string | null | undefined;
7941
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7889
+ createdAtLocation?: string | null | undefined;
7942
7890
  annotation?: Record<string, string | number | boolean | {
7943
7891
  type: string;
7944
7892
  filename: string;
@@ -7955,8 +7903,8 @@ export declare const EventDocument: z.ZodObject<{
7955
7903
  street?: string | null | undefined;
7956
7904
  zipCode?: string | null | undefined;
7957
7905
  } | {
7958
- firstname?: string | null | undefined;
7959
- surname?: string | null | undefined;
7906
+ firstname: string;
7907
+ surname: string;
7960
7908
  middlename?: string | null | undefined;
7961
7909
  } | {
7962
7910
  country: string;
@@ -7980,14 +7928,13 @@ export declare const EventDocument: z.ZodObject<{
7980
7928
  option: string;
7981
7929
  filename: string;
7982
7930
  originalFilename: string;
7983
- }[] | [string, string] | null | undefined> | null | undefined;
7984
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7931
+ }[] | [string, string] | null | undefined> | undefined;
7932
+ originalActionId?: string | undefined;
7985
7933
  } | {
7986
7934
  type: "CREATE";
7987
- id: string & z.BRAND<"UUID">;
7935
+ id: string;
7988
7936
  status: "Rejected" | "Requested" | "Accepted";
7989
7937
  transactionId: string;
7990
- createdByUserType: "system" | "user";
7991
7938
  createdAt: string;
7992
7939
  createdBy: string;
7993
7940
  createdByRole: string;
@@ -8007,8 +7954,8 @@ export declare const EventDocument: z.ZodObject<{
8007
7954
  street?: string | null | undefined;
8008
7955
  zipCode?: string | null | undefined;
8009
7956
  } | {
8010
- firstname?: string | null | undefined;
8011
- surname?: string | null | undefined;
7957
+ firstname: string;
7958
+ surname: string;
8012
7959
  middlename?: string | null | undefined;
8013
7960
  } | {
8014
7961
  country: string;
@@ -8034,7 +7981,7 @@ export declare const EventDocument: z.ZodObject<{
8034
7981
  originalFilename: string;
8035
7982
  }[] | [string, string] | null | undefined>;
8036
7983
  createdBySignature?: string | null | undefined;
8037
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7984
+ createdAtLocation?: string | null | undefined;
8038
7985
  annotation?: Record<string, string | number | boolean | {
8039
7986
  type: string;
8040
7987
  filename: string;
@@ -8051,8 +7998,8 @@ export declare const EventDocument: z.ZodObject<{
8051
7998
  street?: string | null | undefined;
8052
7999
  zipCode?: string | null | undefined;
8053
8000
  } | {
8054
- firstname?: string | null | undefined;
8055
- surname?: string | null | undefined;
8001
+ firstname: string;
8002
+ surname: string;
8056
8003
  middlename?: string | null | undefined;
8057
8004
  } | {
8058
8005
  country: string;
@@ -8076,14 +8023,13 @@ export declare const EventDocument: z.ZodObject<{
8076
8023
  option: string;
8077
8024
  filename: string;
8078
8025
  originalFilename: string;
8079
- }[] | [string, string] | null | undefined> | null | undefined;
8080
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8026
+ }[] | [string, string] | null | undefined> | undefined;
8027
+ originalActionId?: string | undefined;
8081
8028
  } | {
8082
8029
  type: "NOTIFY";
8083
- id: string & z.BRAND<"UUID">;
8030
+ id: string;
8084
8031
  status: "Rejected" | "Requested" | "Accepted";
8085
8032
  transactionId: string;
8086
- createdByUserType: "system" | "user";
8087
8033
  createdAt: string;
8088
8034
  createdBy: string;
8089
8035
  createdByRole: string;
@@ -8103,8 +8049,8 @@ export declare const EventDocument: z.ZodObject<{
8103
8049
  street?: string | null | undefined;
8104
8050
  zipCode?: string | null | undefined;
8105
8051
  } | {
8106
- firstname?: string | null | undefined;
8107
- surname?: string | null | undefined;
8052
+ firstname: string;
8053
+ surname: string;
8108
8054
  middlename?: string | null | undefined;
8109
8055
  } | {
8110
8056
  country: string;
@@ -8130,7 +8076,7 @@ export declare const EventDocument: z.ZodObject<{
8130
8076
  originalFilename: string;
8131
8077
  }[] | [string, string] | null | undefined>;
8132
8078
  createdBySignature?: string | null | undefined;
8133
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8079
+ createdAtLocation?: string | null | undefined;
8134
8080
  annotation?: Record<string, string | number | boolean | {
8135
8081
  type: string;
8136
8082
  filename: string;
@@ -8147,8 +8093,8 @@ export declare const EventDocument: z.ZodObject<{
8147
8093
  street?: string | null | undefined;
8148
8094
  zipCode?: string | null | undefined;
8149
8095
  } | {
8150
- firstname?: string | null | undefined;
8151
- surname?: string | null | undefined;
8096
+ firstname: string;
8097
+ surname: string;
8152
8098
  middlename?: string | null | undefined;
8153
8099
  } | {
8154
8100
  country: string;
@@ -8172,14 +8118,13 @@ export declare const EventDocument: z.ZodObject<{
8172
8118
  option: string;
8173
8119
  filename: string;
8174
8120
  originalFilename: string;
8175
- }[] | [string, string] | null | undefined> | null | undefined;
8176
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8121
+ }[] | [string, string] | null | undefined> | undefined;
8122
+ originalActionId?: string | undefined;
8177
8123
  } | {
8178
8124
  type: "PRINT_CERTIFICATE";
8179
- id: string & z.BRAND<"UUID">;
8125
+ id: string;
8180
8126
  status: "Rejected" | "Requested" | "Accepted";
8181
8127
  transactionId: string;
8182
- createdByUserType: "system" | "user";
8183
8128
  createdAt: string;
8184
8129
  createdBy: string;
8185
8130
  createdByRole: string;
@@ -8199,8 +8144,8 @@ export declare const EventDocument: z.ZodObject<{
8199
8144
  street?: string | null | undefined;
8200
8145
  zipCode?: string | null | undefined;
8201
8146
  } | {
8202
- firstname?: string | null | undefined;
8203
- surname?: string | null | undefined;
8147
+ firstname: string;
8148
+ surname: string;
8204
8149
  middlename?: string | null | undefined;
8205
8150
  } | {
8206
8151
  country: string;
@@ -8226,7 +8171,7 @@ export declare const EventDocument: z.ZodObject<{
8226
8171
  originalFilename: string;
8227
8172
  }[] | [string, string] | null | undefined>;
8228
8173
  createdBySignature?: string | null | undefined;
8229
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8174
+ createdAtLocation?: string | null | undefined;
8230
8175
  annotation?: Record<string, string | number | boolean | {
8231
8176
  type: string;
8232
8177
  filename: string;
@@ -8243,8 +8188,8 @@ export declare const EventDocument: z.ZodObject<{
8243
8188
  street?: string | null | undefined;
8244
8189
  zipCode?: string | null | undefined;
8245
8190
  } | {
8246
- firstname?: string | null | undefined;
8247
- surname?: string | null | undefined;
8191
+ firstname: string;
8192
+ surname: string;
8248
8193
  middlename?: string | null | undefined;
8249
8194
  } | {
8250
8195
  country: string;
@@ -8268,14 +8213,13 @@ export declare const EventDocument: z.ZodObject<{
8268
8213
  option: string;
8269
8214
  filename: string;
8270
8215
  originalFilename: string;
8271
- }[] | [string, string] | null | undefined> | null | undefined;
8272
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8216
+ }[] | [string, string] | null | undefined> | undefined;
8217
+ originalActionId?: string | undefined;
8273
8218
  } | {
8274
8219
  type: "REQUEST_CORRECTION";
8275
- id: string & z.BRAND<"UUID">;
8220
+ id: string;
8276
8221
  status: "Rejected" | "Requested" | "Accepted";
8277
8222
  transactionId: string;
8278
- createdByUserType: "system" | "user";
8279
8223
  createdAt: string;
8280
8224
  createdBy: string;
8281
8225
  createdByRole: string;
@@ -8295,8 +8239,8 @@ export declare const EventDocument: z.ZodObject<{
8295
8239
  street?: string | null | undefined;
8296
8240
  zipCode?: string | null | undefined;
8297
8241
  } | {
8298
- firstname?: string | null | undefined;
8299
- surname?: string | null | undefined;
8242
+ firstname: string;
8243
+ surname: string;
8300
8244
  middlename?: string | null | undefined;
8301
8245
  } | {
8302
8246
  country: string;
@@ -8322,7 +8266,7 @@ export declare const EventDocument: z.ZodObject<{
8322
8266
  originalFilename: string;
8323
8267
  }[] | [string, string] | null | undefined>;
8324
8268
  createdBySignature?: string | null | undefined;
8325
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8269
+ createdAtLocation?: string | null | undefined;
8326
8270
  annotation?: Record<string, string | number | boolean | {
8327
8271
  type: string;
8328
8272
  filename: string;
@@ -8339,8 +8283,8 @@ export declare const EventDocument: z.ZodObject<{
8339
8283
  street?: string | null | undefined;
8340
8284
  zipCode?: string | null | undefined;
8341
8285
  } | {
8342
- firstname?: string | null | undefined;
8343
- surname?: string | null | undefined;
8286
+ firstname: string;
8287
+ surname: string;
8344
8288
  middlename?: string | null | undefined;
8345
8289
  } | {
8346
8290
  country: string;
@@ -8364,14 +8308,13 @@ export declare const EventDocument: z.ZodObject<{
8364
8308
  option: string;
8365
8309
  filename: string;
8366
8310
  originalFilename: string;
8367
- }[] | [string, string] | null | undefined> | null | undefined;
8368
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8311
+ }[] | [string, string] | null | undefined> | undefined;
8312
+ originalActionId?: string | undefined;
8369
8313
  } | {
8370
8314
  type: "APPROVE_CORRECTION";
8371
- id: string & z.BRAND<"UUID">;
8315
+ id: string;
8372
8316
  status: "Rejected" | "Requested" | "Accepted";
8373
8317
  transactionId: string;
8374
- createdByUserType: "system" | "user";
8375
8318
  createdAt: string;
8376
8319
  createdBy: string;
8377
8320
  createdByRole: string;
@@ -8391,8 +8334,8 @@ export declare const EventDocument: z.ZodObject<{
8391
8334
  street?: string | null | undefined;
8392
8335
  zipCode?: string | null | undefined;
8393
8336
  } | {
8394
- firstname?: string | null | undefined;
8395
- surname?: string | null | undefined;
8337
+ firstname: string;
8338
+ surname: string;
8396
8339
  middlename?: string | null | undefined;
8397
8340
  } | {
8398
8341
  country: string;
@@ -8419,7 +8362,7 @@ export declare const EventDocument: z.ZodObject<{
8419
8362
  }[] | [string, string] | null | undefined>;
8420
8363
  requestId: string;
8421
8364
  createdBySignature?: string | null | undefined;
8422
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8365
+ createdAtLocation?: string | null | undefined;
8423
8366
  annotation?: Record<string, string | number | boolean | {
8424
8367
  type: string;
8425
8368
  filename: string;
@@ -8436,8 +8379,8 @@ export declare const EventDocument: z.ZodObject<{
8436
8379
  street?: string | null | undefined;
8437
8380
  zipCode?: string | null | undefined;
8438
8381
  } | {
8439
- firstname?: string | null | undefined;
8440
- surname?: string | null | undefined;
8382
+ firstname: string;
8383
+ surname: string;
8441
8384
  middlename?: string | null | undefined;
8442
8385
  } | {
8443
8386
  country: string;
@@ -8461,14 +8404,13 @@ export declare const EventDocument: z.ZodObject<{
8461
8404
  option: string;
8462
8405
  filename: string;
8463
8406
  originalFilename: string;
8464
- }[] | [string, string] | null | undefined> | null | undefined;
8465
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8407
+ }[] | [string, string] | null | undefined> | undefined;
8408
+ originalActionId?: string | undefined;
8466
8409
  } | {
8467
8410
  type: "REJECT_CORRECTION";
8468
- id: string & z.BRAND<"UUID">;
8411
+ id: string;
8469
8412
  status: "Rejected" | "Requested" | "Accepted";
8470
8413
  transactionId: string;
8471
- createdByUserType: "system" | "user";
8472
8414
  createdAt: string;
8473
8415
  createdBy: string;
8474
8416
  createdByRole: string;
@@ -8488,8 +8430,8 @@ export declare const EventDocument: z.ZodObject<{
8488
8430
  street?: string | null | undefined;
8489
8431
  zipCode?: string | null | undefined;
8490
8432
  } | {
8491
- firstname?: string | null | undefined;
8492
- surname?: string | null | undefined;
8433
+ firstname: string;
8434
+ surname: string;
8493
8435
  middlename?: string | null | undefined;
8494
8436
  } | {
8495
8437
  country: string;
@@ -8516,7 +8458,7 @@ export declare const EventDocument: z.ZodObject<{
8516
8458
  }[] | [string, string] | null | undefined>;
8517
8459
  requestId: string;
8518
8460
  createdBySignature?: string | null | undefined;
8519
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8461
+ createdAtLocation?: string | null | undefined;
8520
8462
  annotation?: Record<string, string | number | boolean | {
8521
8463
  type: string;
8522
8464
  filename: string;
@@ -8533,8 +8475,8 @@ export declare const EventDocument: z.ZodObject<{
8533
8475
  street?: string | null | undefined;
8534
8476
  zipCode?: string | null | undefined;
8535
8477
  } | {
8536
- firstname?: string | null | undefined;
8537
- surname?: string | null | undefined;
8478
+ firstname: string;
8479
+ surname: string;
8538
8480
  middlename?: string | null | undefined;
8539
8481
  } | {
8540
8482
  country: string;
@@ -8558,14 +8500,13 @@ export declare const EventDocument: z.ZodObject<{
8558
8500
  option: string;
8559
8501
  filename: string;
8560
8502
  originalFilename: string;
8561
- }[] | [string, string] | null | undefined> | null | undefined;
8562
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8503
+ }[] | [string, string] | null | undefined> | undefined;
8504
+ originalActionId?: string | undefined;
8563
8505
  } | {
8564
8506
  type: "READ";
8565
- id: string & z.BRAND<"UUID">;
8507
+ id: string;
8566
8508
  status: "Rejected" | "Requested" | "Accepted";
8567
8509
  transactionId: string;
8568
- createdByUserType: "system" | "user";
8569
8510
  createdAt: string;
8570
8511
  createdBy: string;
8571
8512
  createdByRole: string;
@@ -8585,8 +8526,8 @@ export declare const EventDocument: z.ZodObject<{
8585
8526
  street?: string | null | undefined;
8586
8527
  zipCode?: string | null | undefined;
8587
8528
  } | {
8588
- firstname?: string | null | undefined;
8589
- surname?: string | null | undefined;
8529
+ firstname: string;
8530
+ surname: string;
8590
8531
  middlename?: string | null | undefined;
8591
8532
  } | {
8592
8533
  country: string;
@@ -8612,7 +8553,7 @@ export declare const EventDocument: z.ZodObject<{
8612
8553
  originalFilename: string;
8613
8554
  }[] | [string, string] | null | undefined>;
8614
8555
  createdBySignature?: string | null | undefined;
8615
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8556
+ createdAtLocation?: string | null | undefined;
8616
8557
  annotation?: Record<string, string | number | boolean | {
8617
8558
  type: string;
8618
8559
  filename: string;
@@ -8629,8 +8570,8 @@ export declare const EventDocument: z.ZodObject<{
8629
8570
  street?: string | null | undefined;
8630
8571
  zipCode?: string | null | undefined;
8631
8572
  } | {
8632
- firstname?: string | null | undefined;
8633
- surname?: string | null | undefined;
8573
+ firstname: string;
8574
+ surname: string;
8634
8575
  middlename?: string | null | undefined;
8635
8576
  } | {
8636
8577
  country: string;
@@ -8654,20 +8595,19 @@ export declare const EventDocument: z.ZodObject<{
8654
8595
  option: string;
8655
8596
  filename: string;
8656
8597
  originalFilename: string;
8657
- }[] | [string, string] | null | undefined> | null | undefined;
8658
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8598
+ }[] | [string, string] | null | undefined> | undefined;
8599
+ originalActionId?: string | undefined;
8659
8600
  } | {
8660
8601
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
- id: string & z.BRAND<"UUID">;
8602
+ id: string;
8662
8603
  status: "Rejected";
8663
8604
  transactionId: string;
8664
- createdByUserType: "system" | "user";
8665
8605
  createdAt: string;
8666
8606
  createdBy: string;
8667
8607
  createdByRole: string;
8668
8608
  createdBySignature?: string | null | undefined;
8669
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8609
+ createdAtLocation?: string | null | undefined;
8610
+ originalActionId?: string | undefined;
8671
8611
  })[];
8672
8612
  trackingId: string;
8673
8613
  }, {
@@ -8680,7 +8620,6 @@ export declare const EventDocument: z.ZodObject<{
8680
8620
  id: string;
8681
8621
  status: "Rejected" | "Requested" | "Accepted";
8682
8622
  transactionId: string;
8683
- createdByUserType: "system" | "user";
8684
8623
  createdAt: string;
8685
8624
  createdBy: string;
8686
8625
  createdByRole: string;
@@ -8700,8 +8639,8 @@ export declare const EventDocument: z.ZodObject<{
8700
8639
  street?: string | null | undefined;
8701
8640
  zipCode?: string | null | undefined;
8702
8641
  } | {
8703
- firstname?: string | null | undefined;
8704
- surname?: string | null | undefined;
8642
+ firstname: string;
8643
+ surname: string;
8705
8644
  middlename?: string | null | undefined;
8706
8645
  } | {
8707
8646
  country: string;
@@ -8745,8 +8684,8 @@ export declare const EventDocument: z.ZodObject<{
8745
8684
  street?: string | null | undefined;
8746
8685
  zipCode?: string | null | undefined;
8747
8686
  } | {
8748
- firstname?: string | null | undefined;
8749
- surname?: string | null | undefined;
8687
+ firstname: string;
8688
+ surname: string;
8750
8689
  middlename?: string | null | undefined;
8751
8690
  } | {
8752
8691
  country: string;
@@ -8770,14 +8709,13 @@ export declare const EventDocument: z.ZodObject<{
8770
8709
  option: string;
8771
8710
  filename: string;
8772
8711
  originalFilename: string;
8773
- }[] | [string, string] | null | undefined> | null | undefined;
8774
- originalActionId?: string | null | undefined;
8712
+ }[] | [string, string] | null | undefined> | undefined;
8713
+ originalActionId?: string | undefined;
8775
8714
  } | {
8776
8715
  type: "UNASSIGN";
8777
8716
  id: string;
8778
8717
  status: "Rejected" | "Requested" | "Accepted";
8779
8718
  transactionId: string;
8780
- createdByUserType: "system" | "user";
8781
8719
  createdAt: string;
8782
8720
  createdBy: string;
8783
8721
  createdByRole: string;
@@ -8797,8 +8735,8 @@ export declare const EventDocument: z.ZodObject<{
8797
8735
  street?: string | null | undefined;
8798
8736
  zipCode?: string | null | undefined;
8799
8737
  } | {
8800
- firstname?: string | null | undefined;
8801
- surname?: string | null | undefined;
8738
+ firstname: string;
8739
+ surname: string;
8802
8740
  middlename?: string | null | undefined;
8803
8741
  } | {
8804
8742
  country: string;
@@ -8823,6 +8761,7 @@ export declare const EventDocument: z.ZodObject<{
8823
8761
  filename: string;
8824
8762
  originalFilename: string;
8825
8763
  }[] | [string, string] | null | undefined>;
8764
+ assignedTo: null;
8826
8765
  createdBySignature?: string | null | undefined;
8827
8766
  createdAtLocation?: string | null | undefined;
8828
8767
  annotation?: Record<string, string | number | boolean | {
@@ -8841,8 +8780,8 @@ export declare const EventDocument: z.ZodObject<{
8841
8780
  street?: string | null | undefined;
8842
8781
  zipCode?: string | null | undefined;
8843
8782
  } | {
8844
- firstname?: string | null | undefined;
8845
- surname?: string | null | undefined;
8783
+ firstname: string;
8784
+ surname: string;
8846
8785
  middlename?: string | null | undefined;
8847
8786
  } | {
8848
8787
  country: string;
@@ -8866,14 +8805,13 @@ export declare const EventDocument: z.ZodObject<{
8866
8805
  option: string;
8867
8806
  filename: string;
8868
8807
  originalFilename: string;
8869
- }[] | [string, string] | null | undefined> | null | undefined;
8870
- originalActionId?: string | null | undefined;
8808
+ }[] | [string, string] | null | undefined> | undefined;
8809
+ originalActionId?: string | undefined;
8871
8810
  } | {
8872
8811
  type: "REGISTER";
8873
8812
  id: string;
8874
8813
  status: "Rejected" | "Requested" | "Accepted";
8875
8814
  transactionId: string;
8876
- createdByUserType: "system" | "user";
8877
8815
  createdAt: string;
8878
8816
  createdBy: string;
8879
8817
  createdByRole: string;
@@ -8893,8 +8831,8 @@ export declare const EventDocument: z.ZodObject<{
8893
8831
  street?: string | null | undefined;
8894
8832
  zipCode?: string | null | undefined;
8895
8833
  } | {
8896
- firstname?: string | null | undefined;
8897
- surname?: string | null | undefined;
8834
+ firstname: string;
8835
+ surname: string;
8898
8836
  middlename?: string | null | undefined;
8899
8837
  } | {
8900
8838
  country: string;
@@ -8937,8 +8875,8 @@ export declare const EventDocument: z.ZodObject<{
8937
8875
  street?: string | null | undefined;
8938
8876
  zipCode?: string | null | undefined;
8939
8877
  } | {
8940
- firstname?: string | null | undefined;
8941
- surname?: string | null | undefined;
8878
+ firstname: string;
8879
+ surname: string;
8942
8880
  middlename?: string | null | undefined;
8943
8881
  } | {
8944
8882
  country: string;
@@ -8962,15 +8900,14 @@ export declare const EventDocument: z.ZodObject<{
8962
8900
  option: string;
8963
8901
  filename: string;
8964
8902
  originalFilename: string;
8965
- }[] | [string, string] | null | undefined> | null | undefined;
8966
- originalActionId?: string | null | undefined;
8903
+ }[] | [string, string] | null | undefined> | undefined;
8904
+ originalActionId?: string | undefined;
8967
8905
  registrationNumber?: string | undefined;
8968
8906
  } | {
8969
8907
  type: "DECLARE";
8970
8908
  id: string;
8971
8909
  status: "Rejected" | "Requested" | "Accepted";
8972
8910
  transactionId: string;
8973
- createdByUserType: "system" | "user";
8974
8911
  createdAt: string;
8975
8912
  createdBy: string;
8976
8913
  createdByRole: string;
@@ -8990,8 +8927,8 @@ export declare const EventDocument: z.ZodObject<{
8990
8927
  street?: string | null | undefined;
8991
8928
  zipCode?: string | null | undefined;
8992
8929
  } | {
8993
- firstname?: string | null | undefined;
8994
- surname?: string | null | undefined;
8930
+ firstname: string;
8931
+ surname: string;
8995
8932
  middlename?: string | null | undefined;
8996
8933
  } | {
8997
8934
  country: string;
@@ -9034,8 +8971,8 @@ export declare const EventDocument: z.ZodObject<{
9034
8971
  street?: string | null | undefined;
9035
8972
  zipCode?: string | null | undefined;
9036
8973
  } | {
9037
- firstname?: string | null | undefined;
9038
- surname?: string | null | undefined;
8974
+ firstname: string;
8975
+ surname: string;
9039
8976
  middlename?: string | null | undefined;
9040
8977
  } | {
9041
8978
  country: string;
@@ -9059,14 +8996,13 @@ export declare const EventDocument: z.ZodObject<{
9059
8996
  option: string;
9060
8997
  filename: string;
9061
8998
  originalFilename: string;
9062
- }[] | [string, string] | null | undefined> | null | undefined;
9063
- originalActionId?: string | null | undefined;
8999
+ }[] | [string, string] | null | undefined> | undefined;
9000
+ originalActionId?: string | undefined;
9064
9001
  } | {
9065
9002
  type: "VALIDATE";
9066
9003
  id: string;
9067
9004
  status: "Rejected" | "Requested" | "Accepted";
9068
9005
  transactionId: string;
9069
- createdByUserType: "system" | "user";
9070
9006
  createdAt: string;
9071
9007
  createdBy: string;
9072
9008
  createdByRole: string;
@@ -9086,8 +9022,8 @@ export declare const EventDocument: z.ZodObject<{
9086
9022
  street?: string | null | undefined;
9087
9023
  zipCode?: string | null | undefined;
9088
9024
  } | {
9089
- firstname?: string | null | undefined;
9090
- surname?: string | null | undefined;
9025
+ firstname: string;
9026
+ surname: string;
9091
9027
  middlename?: string | null | undefined;
9092
9028
  } | {
9093
9029
  country: string;
@@ -9130,8 +9066,8 @@ export declare const EventDocument: z.ZodObject<{
9130
9066
  street?: string | null | undefined;
9131
9067
  zipCode?: string | null | undefined;
9132
9068
  } | {
9133
- firstname?: string | null | undefined;
9134
- surname?: string | null | undefined;
9069
+ firstname: string;
9070
+ surname: string;
9135
9071
  middlename?: string | null | undefined;
9136
9072
  } | {
9137
9073
  country: string;
@@ -9155,8 +9091,8 @@ export declare const EventDocument: z.ZodObject<{
9155
9091
  option: string;
9156
9092
  filename: string;
9157
9093
  originalFilename: string;
9158
- }[] | [string, string] | null | undefined> | null | undefined;
9159
- originalActionId?: string | null | undefined;
9094
+ }[] | [string, string] | null | undefined> | undefined;
9095
+ originalActionId?: string | undefined;
9160
9096
  } | {
9161
9097
  type: "REJECT";
9162
9098
  id: string;
@@ -9166,7 +9102,6 @@ export declare const EventDocument: z.ZodObject<{
9166
9102
  isDuplicate?: boolean | undefined;
9167
9103
  };
9168
9104
  transactionId: string;
9169
- createdByUserType: "system" | "user";
9170
9105
  createdAt: string;
9171
9106
  createdBy: string;
9172
9107
  createdByRole: string;
@@ -9186,8 +9121,8 @@ export declare const EventDocument: z.ZodObject<{
9186
9121
  street?: string | null | undefined;
9187
9122
  zipCode?: string | null | undefined;
9188
9123
  } | {
9189
- firstname?: string | null | undefined;
9190
- surname?: string | null | undefined;
9124
+ firstname: string;
9125
+ surname: string;
9191
9126
  middlename?: string | null | undefined;
9192
9127
  } | {
9193
9128
  country: string;
@@ -9230,8 +9165,8 @@ export declare const EventDocument: z.ZodObject<{
9230
9165
  street?: string | null | undefined;
9231
9166
  zipCode?: string | null | undefined;
9232
9167
  } | {
9233
- firstname?: string | null | undefined;
9234
- surname?: string | null | undefined;
9168
+ firstname: string;
9169
+ surname: string;
9235
9170
  middlename?: string | null | undefined;
9236
9171
  } | {
9237
9172
  country: string;
@@ -9255,14 +9190,13 @@ export declare const EventDocument: z.ZodObject<{
9255
9190
  option: string;
9256
9191
  filename: string;
9257
9192
  originalFilename: string;
9258
- }[] | [string, string] | null | undefined> | null | undefined;
9259
- originalActionId?: string | null | undefined;
9193
+ }[] | [string, string] | null | undefined> | undefined;
9194
+ originalActionId?: string | undefined;
9260
9195
  } | {
9261
9196
  type: "MARKED_AS_DUPLICATE";
9262
9197
  id: string;
9263
9198
  status: "Rejected" | "Requested" | "Accepted";
9264
9199
  transactionId: string;
9265
- createdByUserType: "system" | "user";
9266
9200
  createdAt: string;
9267
9201
  createdBy: string;
9268
9202
  createdByRole: string;
@@ -9282,8 +9216,8 @@ export declare const EventDocument: z.ZodObject<{
9282
9216
  street?: string | null | undefined;
9283
9217
  zipCode?: string | null | undefined;
9284
9218
  } | {
9285
- firstname?: string | null | undefined;
9286
- surname?: string | null | undefined;
9219
+ firstname: string;
9220
+ surname: string;
9287
9221
  middlename?: string | null | undefined;
9288
9222
  } | {
9289
9223
  country: string;
@@ -9326,8 +9260,8 @@ export declare const EventDocument: z.ZodObject<{
9326
9260
  street?: string | null | undefined;
9327
9261
  zipCode?: string | null | undefined;
9328
9262
  } | {
9329
- firstname?: string | null | undefined;
9330
- surname?: string | null | undefined;
9263
+ firstname: string;
9264
+ surname: string;
9331
9265
  middlename?: string | null | undefined;
9332
9266
  } | {
9333
9267
  country: string;
@@ -9351,8 +9285,8 @@ export declare const EventDocument: z.ZodObject<{
9351
9285
  option: string;
9352
9286
  filename: string;
9353
9287
  originalFilename: string;
9354
- }[] | [string, string] | null | undefined> | null | undefined;
9355
- originalActionId?: string | null | undefined;
9288
+ }[] | [string, string] | null | undefined> | undefined;
9289
+ originalActionId?: string | undefined;
9356
9290
  } | {
9357
9291
  type: "ARCHIVE";
9358
9292
  id: string;
@@ -9362,7 +9296,6 @@ export declare const EventDocument: z.ZodObject<{
9362
9296
  isDuplicate?: boolean | undefined;
9363
9297
  };
9364
9298
  transactionId: string;
9365
- createdByUserType: "system" | "user";
9366
9299
  createdAt: string;
9367
9300
  createdBy: string;
9368
9301
  createdByRole: string;
@@ -9382,8 +9315,8 @@ export declare const EventDocument: z.ZodObject<{
9382
9315
  street?: string | null | undefined;
9383
9316
  zipCode?: string | null | undefined;
9384
9317
  } | {
9385
- firstname?: string | null | undefined;
9386
- surname?: string | null | undefined;
9318
+ firstname: string;
9319
+ surname: string;
9387
9320
  middlename?: string | null | undefined;
9388
9321
  } | {
9389
9322
  country: string;
@@ -9426,8 +9359,8 @@ export declare const EventDocument: z.ZodObject<{
9426
9359
  street?: string | null | undefined;
9427
9360
  zipCode?: string | null | undefined;
9428
9361
  } | {
9429
- firstname?: string | null | undefined;
9430
- surname?: string | null | undefined;
9362
+ firstname: string;
9363
+ surname: string;
9431
9364
  middlename?: string | null | undefined;
9432
9365
  } | {
9433
9366
  country: string;
@@ -9451,14 +9384,13 @@ export declare const EventDocument: z.ZodObject<{
9451
9384
  option: string;
9452
9385
  filename: string;
9453
9386
  originalFilename: string;
9454
- }[] | [string, string] | null | undefined> | null | undefined;
9455
- originalActionId?: string | null | undefined;
9387
+ }[] | [string, string] | null | undefined> | undefined;
9388
+ originalActionId?: string | undefined;
9456
9389
  } | {
9457
9390
  type: "CREATE";
9458
9391
  id: string;
9459
9392
  status: "Rejected" | "Requested" | "Accepted";
9460
9393
  transactionId: string;
9461
- createdByUserType: "system" | "user";
9462
9394
  createdAt: string;
9463
9395
  createdBy: string;
9464
9396
  createdByRole: string;
@@ -9478,8 +9410,8 @@ export declare const EventDocument: z.ZodObject<{
9478
9410
  street?: string | null | undefined;
9479
9411
  zipCode?: string | null | undefined;
9480
9412
  } | {
9481
- firstname?: string | null | undefined;
9482
- surname?: string | null | undefined;
9413
+ firstname: string;
9414
+ surname: string;
9483
9415
  middlename?: string | null | undefined;
9484
9416
  } | {
9485
9417
  country: string;
@@ -9522,8 +9454,8 @@ export declare const EventDocument: z.ZodObject<{
9522
9454
  street?: string | null | undefined;
9523
9455
  zipCode?: string | null | undefined;
9524
9456
  } | {
9525
- firstname?: string | null | undefined;
9526
- surname?: string | null | undefined;
9457
+ firstname: string;
9458
+ surname: string;
9527
9459
  middlename?: string | null | undefined;
9528
9460
  } | {
9529
9461
  country: string;
@@ -9547,14 +9479,13 @@ export declare const EventDocument: z.ZodObject<{
9547
9479
  option: string;
9548
9480
  filename: string;
9549
9481
  originalFilename: string;
9550
- }[] | [string, string] | null | undefined> | null | undefined;
9551
- originalActionId?: string | null | undefined;
9482
+ }[] | [string, string] | null | undefined> | undefined;
9483
+ originalActionId?: string | undefined;
9552
9484
  } | {
9553
9485
  type: "NOTIFY";
9554
9486
  id: string;
9555
9487
  status: "Rejected" | "Requested" | "Accepted";
9556
9488
  transactionId: string;
9557
- createdByUserType: "system" | "user";
9558
9489
  createdAt: string;
9559
9490
  createdBy: string;
9560
9491
  createdByRole: string;
@@ -9574,8 +9505,8 @@ export declare const EventDocument: z.ZodObject<{
9574
9505
  street?: string | null | undefined;
9575
9506
  zipCode?: string | null | undefined;
9576
9507
  } | {
9577
- firstname?: string | null | undefined;
9578
- surname?: string | null | undefined;
9508
+ firstname: string;
9509
+ surname: string;
9579
9510
  middlename?: string | null | undefined;
9580
9511
  } | {
9581
9512
  country: string;
@@ -9618,8 +9549,8 @@ export declare const EventDocument: z.ZodObject<{
9618
9549
  street?: string | null | undefined;
9619
9550
  zipCode?: string | null | undefined;
9620
9551
  } | {
9621
- firstname?: string | null | undefined;
9622
- surname?: string | null | undefined;
9552
+ firstname: string;
9553
+ surname: string;
9623
9554
  middlename?: string | null | undefined;
9624
9555
  } | {
9625
9556
  country: string;
@@ -9643,14 +9574,13 @@ export declare const EventDocument: z.ZodObject<{
9643
9574
  option: string;
9644
9575
  filename: string;
9645
9576
  originalFilename: string;
9646
- }[] | [string, string] | null | undefined> | null | undefined;
9647
- originalActionId?: string | null | undefined;
9577
+ }[] | [string, string] | null | undefined> | undefined;
9578
+ originalActionId?: string | undefined;
9648
9579
  } | {
9649
9580
  type: "PRINT_CERTIFICATE";
9650
9581
  id: string;
9651
9582
  status: "Rejected" | "Requested" | "Accepted";
9652
9583
  transactionId: string;
9653
- createdByUserType: "system" | "user";
9654
9584
  createdAt: string;
9655
9585
  createdBy: string;
9656
9586
  createdByRole: string;
@@ -9670,8 +9600,8 @@ export declare const EventDocument: z.ZodObject<{
9670
9600
  street?: string | null | undefined;
9671
9601
  zipCode?: string | null | undefined;
9672
9602
  } | {
9673
- firstname?: string | null | undefined;
9674
- surname?: string | null | undefined;
9603
+ firstname: string;
9604
+ surname: string;
9675
9605
  middlename?: string | null | undefined;
9676
9606
  } | {
9677
9607
  country: string;
@@ -9714,8 +9644,8 @@ export declare const EventDocument: z.ZodObject<{
9714
9644
  street?: string | null | undefined;
9715
9645
  zipCode?: string | null | undefined;
9716
9646
  } | {
9717
- firstname?: string | null | undefined;
9718
- surname?: string | null | undefined;
9647
+ firstname: string;
9648
+ surname: string;
9719
9649
  middlename?: string | null | undefined;
9720
9650
  } | {
9721
9651
  country: string;
@@ -9739,14 +9669,13 @@ export declare const EventDocument: z.ZodObject<{
9739
9669
  option: string;
9740
9670
  filename: string;
9741
9671
  originalFilename: string;
9742
- }[] | [string, string] | null | undefined> | null | undefined;
9743
- originalActionId?: string | null | undefined;
9672
+ }[] | [string, string] | null | undefined> | undefined;
9673
+ originalActionId?: string | undefined;
9744
9674
  } | {
9745
9675
  type: "REQUEST_CORRECTION";
9746
9676
  id: string;
9747
9677
  status: "Rejected" | "Requested" | "Accepted";
9748
9678
  transactionId: string;
9749
- createdByUserType: "system" | "user";
9750
9679
  createdAt: string;
9751
9680
  createdBy: string;
9752
9681
  createdByRole: string;
@@ -9766,8 +9695,8 @@ export declare const EventDocument: z.ZodObject<{
9766
9695
  street?: string | null | undefined;
9767
9696
  zipCode?: string | null | undefined;
9768
9697
  } | {
9769
- firstname?: string | null | undefined;
9770
- surname?: string | null | undefined;
9698
+ firstname: string;
9699
+ surname: string;
9771
9700
  middlename?: string | null | undefined;
9772
9701
  } | {
9773
9702
  country: string;
@@ -9810,8 +9739,8 @@ export declare const EventDocument: z.ZodObject<{
9810
9739
  street?: string | null | undefined;
9811
9740
  zipCode?: string | null | undefined;
9812
9741
  } | {
9813
- firstname?: string | null | undefined;
9814
- surname?: string | null | undefined;
9742
+ firstname: string;
9743
+ surname: string;
9815
9744
  middlename?: string | null | undefined;
9816
9745
  } | {
9817
9746
  country: string;
@@ -9835,14 +9764,13 @@ export declare const EventDocument: z.ZodObject<{
9835
9764
  option: string;
9836
9765
  filename: string;
9837
9766
  originalFilename: string;
9838
- }[] | [string, string] | null | undefined> | null | undefined;
9839
- originalActionId?: string | null | undefined;
9767
+ }[] | [string, string] | null | undefined> | undefined;
9768
+ originalActionId?: string | undefined;
9840
9769
  } | {
9841
9770
  type: "APPROVE_CORRECTION";
9842
9771
  id: string;
9843
9772
  status: "Rejected" | "Requested" | "Accepted";
9844
9773
  transactionId: string;
9845
- createdByUserType: "system" | "user";
9846
9774
  createdAt: string;
9847
9775
  createdBy: string;
9848
9776
  createdByRole: string;
@@ -9862,8 +9790,8 @@ export declare const EventDocument: z.ZodObject<{
9862
9790
  street?: string | null | undefined;
9863
9791
  zipCode?: string | null | undefined;
9864
9792
  } | {
9865
- firstname?: string | null | undefined;
9866
- surname?: string | null | undefined;
9793
+ firstname: string;
9794
+ surname: string;
9867
9795
  middlename?: string | null | undefined;
9868
9796
  } | {
9869
9797
  country: string;
@@ -9907,8 +9835,8 @@ export declare const EventDocument: z.ZodObject<{
9907
9835
  street?: string | null | undefined;
9908
9836
  zipCode?: string | null | undefined;
9909
9837
  } | {
9910
- firstname?: string | null | undefined;
9911
- surname?: string | null | undefined;
9838
+ firstname: string;
9839
+ surname: string;
9912
9840
  middlename?: string | null | undefined;
9913
9841
  } | {
9914
9842
  country: string;
@@ -9932,14 +9860,13 @@ export declare const EventDocument: z.ZodObject<{
9932
9860
  option: string;
9933
9861
  filename: string;
9934
9862
  originalFilename: string;
9935
- }[] | [string, string] | null | undefined> | null | undefined;
9936
- originalActionId?: string | null | undefined;
9863
+ }[] | [string, string] | null | undefined> | undefined;
9864
+ originalActionId?: string | undefined;
9937
9865
  } | {
9938
9866
  type: "REJECT_CORRECTION";
9939
9867
  id: string;
9940
9868
  status: "Rejected" | "Requested" | "Accepted";
9941
9869
  transactionId: string;
9942
- createdByUserType: "system" | "user";
9943
9870
  createdAt: string;
9944
9871
  createdBy: string;
9945
9872
  createdByRole: string;
@@ -9959,8 +9886,8 @@ export declare const EventDocument: z.ZodObject<{
9959
9886
  street?: string | null | undefined;
9960
9887
  zipCode?: string | null | undefined;
9961
9888
  } | {
9962
- firstname?: string | null | undefined;
9963
- surname?: string | null | undefined;
9889
+ firstname: string;
9890
+ surname: string;
9964
9891
  middlename?: string | null | undefined;
9965
9892
  } | {
9966
9893
  country: string;
@@ -10004,8 +9931,8 @@ export declare const EventDocument: z.ZodObject<{
10004
9931
  street?: string | null | undefined;
10005
9932
  zipCode?: string | null | undefined;
10006
9933
  } | {
10007
- firstname?: string | null | undefined;
10008
- surname?: string | null | undefined;
9934
+ firstname: string;
9935
+ surname: string;
10009
9936
  middlename?: string | null | undefined;
10010
9937
  } | {
10011
9938
  country: string;
@@ -10029,14 +9956,13 @@ export declare const EventDocument: z.ZodObject<{
10029
9956
  option: string;
10030
9957
  filename: string;
10031
9958
  originalFilename: string;
10032
- }[] | [string, string] | null | undefined> | null | undefined;
10033
- originalActionId?: string | null | undefined;
9959
+ }[] | [string, string] | null | undefined> | undefined;
9960
+ originalActionId?: string | undefined;
10034
9961
  } | {
10035
9962
  type: "READ";
10036
9963
  id: string;
10037
9964
  status: "Rejected" | "Requested" | "Accepted";
10038
9965
  transactionId: string;
10039
- createdByUserType: "system" | "user";
10040
9966
  createdAt: string;
10041
9967
  createdBy: string;
10042
9968
  createdByRole: string;
@@ -10056,8 +9982,8 @@ export declare const EventDocument: z.ZodObject<{
10056
9982
  street?: string | null | undefined;
10057
9983
  zipCode?: string | null | undefined;
10058
9984
  } | {
10059
- firstname?: string | null | undefined;
10060
- surname?: string | null | undefined;
9985
+ firstname: string;
9986
+ surname: string;
10061
9987
  middlename?: string | null | undefined;
10062
9988
  } | {
10063
9989
  country: string;
@@ -10100,8 +10026,8 @@ export declare const EventDocument: z.ZodObject<{
10100
10026
  street?: string | null | undefined;
10101
10027
  zipCode?: string | null | undefined;
10102
10028
  } | {
10103
- firstname?: string | null | undefined;
10104
- surname?: string | null | undefined;
10029
+ firstname: string;
10030
+ surname: string;
10105
10031
  middlename?: string | null | undefined;
10106
10032
  } | {
10107
10033
  country: string;
@@ -10125,20 +10051,19 @@ export declare const EventDocument: z.ZodObject<{
10125
10051
  option: string;
10126
10052
  filename: string;
10127
10053
  originalFilename: string;
10128
- }[] | [string, string] | null | undefined> | null | undefined;
10129
- originalActionId?: string | null | undefined;
10054
+ }[] | [string, string] | null | undefined> | undefined;
10055
+ originalActionId?: string | undefined;
10130
10056
  } | {
10131
10057
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10132
10058
  id: string;
10133
10059
  status: "Rejected";
10134
10060
  transactionId: string;
10135
- createdByUserType: "system" | "user";
10136
10061
  createdAt: string;
10137
10062
  createdBy: string;
10138
10063
  createdByRole: string;
10139
10064
  createdBySignature?: string | null | undefined;
10140
10065
  createdAtLocation?: string | null | undefined;
10141
- originalActionId?: string | null | undefined;
10066
+ originalActionId?: string | undefined;
10142
10067
  })[];
10143
10068
  trackingId: string;
10144
10069
  }>;