@opencrvs/toolkit 1.8.0-rc.fe7c504 → 1.8.0-rc.fe8c092

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 (31) hide show
  1. package/dist/commons/api/router.d.ts +10468 -1335
  2. package/dist/commons/events/ActionConfig.d.ts +0 -2600
  3. package/dist/commons/events/ActionDocument.d.ts +1087 -1081
  4. package/dist/commons/events/ActionInput.d.ts +726 -726
  5. package/dist/commons/events/ActionType.d.ts +2 -0
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -222
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +572 -1234
  9. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  10. package/dist/commons/events/Draft.d.ts +77 -77
  11. package/dist/commons/events/EventConfig.d.ts +0 -1458
  12. package/dist/commons/events/EventDocument.d.ts +711 -706
  13. package/dist/commons/events/EventIndex.d.ts +151 -135
  14. package/dist/commons/events/EventMetadata.d.ts +29 -38
  15. package/dist/commons/events/FieldConfig.d.ts +0 -178
  16. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  17. package/dist/commons/events/FieldValue.d.ts +12 -12
  18. package/dist/commons/events/FormConfig.d.ts +0 -1092
  19. package/dist/commons/events/PageConfig.d.ts +0 -260
  20. package/dist/commons/events/User.d.ts +3 -6
  21. package/dist/commons/events/WorkqueueConfig.d.ts +1028 -2038
  22. package/dist/commons/events/defineConfig.d.ts +0 -294
  23. package/dist/commons/events/field.d.ts +0 -5
  24. package/dist/commons/events/test.utils.d.ts +19 -30
  25. package/dist/commons/events/transactions.d.ts +1 -1
  26. package/dist/commons/events/utils.d.ts +15 -440
  27. package/dist/conditionals/index.js +18 -22
  28. package/dist/events/index.js +185 -303
  29. package/dist/scopes/index.d.ts +6 -92
  30. package/dist/scopes/index.js +9 -38
  31. package/package.json +3 -3
@@ -1,18 +1,18 @@
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
10
  createdByUserType: z.ZodEnum<["user", "system"]>;
11
11
  createdAt: z.ZodString;
12
12
  createdBy: z.ZodString;
13
13
  createdByRole: z.ZodString;
14
14
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
17
17
  filename: z.ZodString;
18
18
  originalFilename: z.ZodString;
@@ -127,19 +127,19 @@ export declare const EventDocument: z.ZodObject<{
127
127
  addressLine3?: string | null | undefined;
128
128
  postcodeOrZip?: string | null | undefined;
129
129
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
130
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ firstname: z.ZodString;
131
+ surname: z.ZodString;
132
132
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
133
  }, "strip", z.ZodTypeAny, {
134
- firstname?: string | null | undefined;
135
- surname?: string | null | undefined;
134
+ firstname: string;
135
+ surname: string;
136
136
  middlename?: string | null | undefined;
137
137
  }, {
138
- firstname?: string | null | undefined;
139
- surname?: string | null | undefined;
138
+ firstname: string;
139
+ surname: string;
140
140
  middlename?: string | null | undefined;
141
141
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
142
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
143
143
  filename: z.ZodString;
144
144
  originalFilename: z.ZodString;
145
145
  type: z.ZodString;
@@ -253,25 +253,25 @@ export declare const EventDocument: z.ZodObject<{
253
253
  addressLine3?: string | null | undefined;
254
254
  postcodeOrZip?: string | null | undefined;
255
255
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
256
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ firstname: z.ZodString;
257
+ surname: z.ZodString;
258
258
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- firstname?: string | null | undefined;
261
- surname?: string | null | undefined;
260
+ firstname: string;
261
+ surname: string;
262
262
  middlename?: string | null | undefined;
263
263
  }, {
264
- firstname?: string | null | undefined;
265
- surname?: string | null | undefined;
264
+ firstname: string;
265
+ surname: string;
266
266
  middlename?: string | null | undefined;
267
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
267
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
268
268
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
269
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
269
+ originalActionId: z.ZodOptional<z.ZodString>;
270
270
  }, {
271
271
  type: z.ZodLiteral<"CREATE">;
272
272
  }>, "strip", z.ZodTypeAny, {
273
273
  type: "CREATE";
274
- id: string & z.BRAND<"UUID">;
274
+ id: string;
275
275
  status: "Rejected" | "Requested" | "Accepted";
276
276
  transactionId: string;
277
277
  createdByUserType: "system" | "user";
@@ -294,8 +294,8 @@ export declare const EventDocument: z.ZodObject<{
294
294
  street?: string | null | undefined;
295
295
  zipCode?: string | null | undefined;
296
296
  } | {
297
- firstname?: string | null | undefined;
298
- surname?: string | null | undefined;
297
+ firstname: string;
298
+ surname: string;
299
299
  middlename?: string | null | undefined;
300
300
  } | {
301
301
  country: string;
@@ -321,7 +321,7 @@ export declare const EventDocument: z.ZodObject<{
321
321
  originalFilename: string;
322
322
  }[] | [string, string] | null | undefined>;
323
323
  createdBySignature?: string | null | undefined;
324
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
324
+ createdAtLocation?: string | null | undefined;
325
325
  annotation?: Record<string, string | number | boolean | {
326
326
  type: string;
327
327
  filename: string;
@@ -338,8 +338,8 @@ export declare const EventDocument: z.ZodObject<{
338
338
  street?: string | null | undefined;
339
339
  zipCode?: string | null | undefined;
340
340
  } | {
341
- firstname?: string | null | undefined;
342
- surname?: string | null | undefined;
341
+ firstname: string;
342
+ surname: string;
343
343
  middlename?: string | null | undefined;
344
344
  } | {
345
345
  country: string;
@@ -363,8 +363,8 @@ export declare const EventDocument: z.ZodObject<{
363
363
  option: string;
364
364
  filename: string;
365
365
  originalFilename: string;
366
- }[] | [string, string] | null | undefined> | null | undefined;
367
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
366
+ }[] | [string, string] | null | undefined> | undefined;
367
+ originalActionId?: string | undefined;
368
368
  }, {
369
369
  type: "CREATE";
370
370
  id: string;
@@ -390,8 +390,8 @@ export declare const EventDocument: z.ZodObject<{
390
390
  street?: string | null | undefined;
391
391
  zipCode?: string | null | undefined;
392
392
  } | {
393
- firstname?: string | null | undefined;
394
- surname?: string | null | undefined;
393
+ firstname: string;
394
+ surname: string;
395
395
  middlename?: string | null | undefined;
396
396
  } | {
397
397
  country: string;
@@ -434,8 +434,8 @@ export declare const EventDocument: z.ZodObject<{
434
434
  street?: string | null | undefined;
435
435
  zipCode?: string | null | undefined;
436
436
  } | {
437
- firstname?: string | null | undefined;
438
- surname?: string | null | undefined;
437
+ firstname: string;
438
+ surname: string;
439
439
  middlename?: string | null | undefined;
440
440
  } | {
441
441
  country: string;
@@ -459,17 +459,17 @@ export declare const EventDocument: z.ZodObject<{
459
459
  option: string;
460
460
  filename: string;
461
461
  originalFilename: string;
462
- }[] | [string, string] | null | undefined> | null | undefined;
463
- originalActionId?: string | null | undefined;
462
+ }[] | [string, string] | null | undefined> | undefined;
463
+ originalActionId?: string | undefined;
464
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
- id: z.ZodBranded<z.ZodString, "UUID">;
465
+ id: z.ZodString;
466
466
  transactionId: z.ZodString;
467
467
  createdByUserType: z.ZodEnum<["user", "system"]>;
468
468
  createdAt: z.ZodString;
469
469
  createdBy: z.ZodString;
470
470
  createdByRole: z.ZodString;
471
471
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
473
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
474
474
  filename: z.ZodString;
475
475
  originalFilename: z.ZodString;
@@ -584,19 +584,19 @@ export declare const EventDocument: z.ZodObject<{
584
584
  addressLine3?: string | null | undefined;
585
585
  postcodeOrZip?: string | null | undefined;
586
586
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
587
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
587
+ firstname: z.ZodString;
588
+ surname: z.ZodString;
589
589
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
590
  }, "strip", z.ZodTypeAny, {
591
- firstname?: string | null | undefined;
592
- surname?: string | null | undefined;
591
+ firstname: string;
592
+ surname: string;
593
593
  middlename?: string | null | undefined;
594
594
  }, {
595
- firstname?: string | null | undefined;
596
- surname?: string | null | undefined;
595
+ firstname: string;
596
+ surname: string;
597
597
  middlename?: string | null | undefined;
598
598
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
599
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
600
600
  filename: z.ZodString;
601
601
  originalFilename: z.ZodString;
602
602
  type: z.ZodString;
@@ -710,25 +710,25 @@ export declare const EventDocument: z.ZodObject<{
710
710
  addressLine3?: string | null | undefined;
711
711
  postcodeOrZip?: string | null | undefined;
712
712
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
713
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
713
+ firstname: z.ZodString;
714
+ surname: z.ZodString;
715
715
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
716
  }, "strip", z.ZodTypeAny, {
717
- firstname?: string | null | undefined;
718
- surname?: string | null | undefined;
717
+ firstname: string;
718
+ surname: string;
719
719
  middlename?: string | null | undefined;
720
720
  }, {
721
- firstname?: string | null | undefined;
722
- surname?: string | null | undefined;
721
+ firstname: string;
722
+ surname: string;
723
723
  middlename?: string | null | undefined;
724
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
724
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
725
725
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
726
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
726
+ originalActionId: z.ZodOptional<z.ZodString>;
727
727
  }, {
728
728
  type: z.ZodLiteral<"VALIDATE">;
729
729
  }>, "strip", z.ZodTypeAny, {
730
730
  type: "VALIDATE";
731
- id: string & z.BRAND<"UUID">;
731
+ id: string;
732
732
  status: "Rejected" | "Requested" | "Accepted";
733
733
  transactionId: string;
734
734
  createdByUserType: "system" | "user";
@@ -751,8 +751,8 @@ export declare const EventDocument: z.ZodObject<{
751
751
  street?: string | null | undefined;
752
752
  zipCode?: string | null | undefined;
753
753
  } | {
754
- firstname?: string | null | undefined;
755
- surname?: string | null | undefined;
754
+ firstname: string;
755
+ surname: string;
756
756
  middlename?: string | null | undefined;
757
757
  } | {
758
758
  country: string;
@@ -778,7 +778,7 @@ export declare const EventDocument: z.ZodObject<{
778
778
  originalFilename: string;
779
779
  }[] | [string, string] | null | undefined>;
780
780
  createdBySignature?: string | null | undefined;
781
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
781
+ createdAtLocation?: string | null | undefined;
782
782
  annotation?: Record<string, string | number | boolean | {
783
783
  type: string;
784
784
  filename: string;
@@ -795,8 +795,8 @@ export declare const EventDocument: z.ZodObject<{
795
795
  street?: string | null | undefined;
796
796
  zipCode?: string | null | undefined;
797
797
  } | {
798
- firstname?: string | null | undefined;
799
- surname?: string | null | undefined;
798
+ firstname: string;
799
+ surname: string;
800
800
  middlename?: string | null | undefined;
801
801
  } | {
802
802
  country: string;
@@ -820,8 +820,8 @@ export declare const EventDocument: z.ZodObject<{
820
820
  option: string;
821
821
  filename: string;
822
822
  originalFilename: string;
823
- }[] | [string, string] | null | undefined> | null | undefined;
824
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
823
+ }[] | [string, string] | null | undefined> | undefined;
824
+ originalActionId?: string | undefined;
825
825
  }, {
826
826
  type: "VALIDATE";
827
827
  id: string;
@@ -847,8 +847,8 @@ export declare const EventDocument: z.ZodObject<{
847
847
  street?: string | null | undefined;
848
848
  zipCode?: string | null | undefined;
849
849
  } | {
850
- firstname?: string | null | undefined;
851
- surname?: string | null | undefined;
850
+ firstname: string;
851
+ surname: string;
852
852
  middlename?: string | null | undefined;
853
853
  } | {
854
854
  country: string;
@@ -891,8 +891,8 @@ export declare const EventDocument: z.ZodObject<{
891
891
  street?: string | null | undefined;
892
892
  zipCode?: string | null | undefined;
893
893
  } | {
894
- firstname?: string | null | undefined;
895
- surname?: string | null | undefined;
894
+ firstname: string;
895
+ surname: string;
896
896
  middlename?: string | null | undefined;
897
897
  } | {
898
898
  country: string;
@@ -916,17 +916,17 @@ export declare const EventDocument: z.ZodObject<{
916
916
  option: string;
917
917
  filename: string;
918
918
  originalFilename: string;
919
- }[] | [string, string] | null | undefined> | null | undefined;
920
- originalActionId?: string | null | undefined;
919
+ }[] | [string, string] | null | undefined> | undefined;
920
+ originalActionId?: string | undefined;
921
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
- id: z.ZodBranded<z.ZodString, "UUID">;
922
+ id: z.ZodString;
923
923
  transactionId: z.ZodString;
924
924
  createdByUserType: z.ZodEnum<["user", "system"]>;
925
925
  createdAt: z.ZodString;
926
926
  createdBy: z.ZodString;
927
927
  createdByRole: z.ZodString;
928
928
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
929
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
930
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
931
931
  filename: z.ZodString;
932
932
  originalFilename: z.ZodString;
@@ -1041,19 +1041,19 @@ export declare const EventDocument: z.ZodObject<{
1041
1041
  addressLine3?: string | null | undefined;
1042
1042
  postcodeOrZip?: string | null | undefined;
1043
1043
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1044
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1044
+ firstname: z.ZodString;
1045
+ surname: z.ZodString;
1046
1046
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
1047
  }, "strip", z.ZodTypeAny, {
1048
- firstname?: string | null | undefined;
1049
- surname?: string | null | undefined;
1048
+ firstname: string;
1049
+ surname: string;
1050
1050
  middlename?: string | null | undefined;
1051
1051
  }, {
1052
- firstname?: string | null | undefined;
1053
- surname?: string | null | undefined;
1052
+ firstname: string;
1053
+ surname: string;
1054
1054
  middlename?: string | null | undefined;
1055
1055
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1056
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1057
1057
  filename: z.ZodString;
1058
1058
  originalFilename: z.ZodString;
1059
1059
  type: z.ZodString;
@@ -1167,20 +1167,20 @@ export declare const EventDocument: z.ZodObject<{
1167
1167
  addressLine3?: string | null | undefined;
1168
1168
  postcodeOrZip?: string | null | undefined;
1169
1169
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1170
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ firstname: z.ZodString;
1171
+ surname: z.ZodString;
1172
1172
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
1173
  }, "strip", z.ZodTypeAny, {
1174
- firstname?: string | null | undefined;
1175
- surname?: string | null | undefined;
1174
+ firstname: string;
1175
+ surname: string;
1176
1176
  middlename?: string | null | undefined;
1177
1177
  }, {
1178
- firstname?: string | null | undefined;
1179
- surname?: string | null | undefined;
1178
+ firstname: string;
1179
+ surname: string;
1180
1180
  middlename?: string | null | undefined;
1181
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1181
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1182
1182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1183
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1183
+ originalActionId: z.ZodOptional<z.ZodString>;
1184
1184
  }, {
1185
1185
  type: z.ZodLiteral<"REJECT">;
1186
1186
  reason: z.ZodObject<{
@@ -1195,7 +1195,7 @@ export declare const EventDocument: z.ZodObject<{
1195
1195
  }>;
1196
1196
  }>, "strip", z.ZodTypeAny, {
1197
1197
  type: "REJECT";
1198
- id: string & z.BRAND<"UUID">;
1198
+ id: string;
1199
1199
  status: "Rejected" | "Requested" | "Accepted";
1200
1200
  reason: {
1201
1201
  message: string;
@@ -1222,8 +1222,8 @@ export declare const EventDocument: z.ZodObject<{
1222
1222
  street?: string | null | undefined;
1223
1223
  zipCode?: string | null | undefined;
1224
1224
  } | {
1225
- firstname?: string | null | undefined;
1226
- surname?: string | null | undefined;
1225
+ firstname: string;
1226
+ surname: string;
1227
1227
  middlename?: string | null | undefined;
1228
1228
  } | {
1229
1229
  country: string;
@@ -1249,7 +1249,7 @@ export declare const EventDocument: z.ZodObject<{
1249
1249
  originalFilename: string;
1250
1250
  }[] | [string, string] | null | undefined>;
1251
1251
  createdBySignature?: string | null | undefined;
1252
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1252
+ createdAtLocation?: string | null | undefined;
1253
1253
  annotation?: Record<string, string | number | boolean | {
1254
1254
  type: string;
1255
1255
  filename: string;
@@ -1266,8 +1266,8 @@ export declare const EventDocument: z.ZodObject<{
1266
1266
  street?: string | null | undefined;
1267
1267
  zipCode?: string | null | undefined;
1268
1268
  } | {
1269
- firstname?: string | null | undefined;
1270
- surname?: string | null | undefined;
1269
+ firstname: string;
1270
+ surname: string;
1271
1271
  middlename?: string | null | undefined;
1272
1272
  } | {
1273
1273
  country: string;
@@ -1291,8 +1291,8 @@ export declare const EventDocument: z.ZodObject<{
1291
1291
  option: string;
1292
1292
  filename: string;
1293
1293
  originalFilename: string;
1294
- }[] | [string, string] | null | undefined> | null | undefined;
1295
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1294
+ }[] | [string, string] | null | undefined> | undefined;
1295
+ originalActionId?: string | undefined;
1296
1296
  }, {
1297
1297
  type: "REJECT";
1298
1298
  id: string;
@@ -1322,8 +1322,8 @@ export declare const EventDocument: z.ZodObject<{
1322
1322
  street?: string | null | undefined;
1323
1323
  zipCode?: string | null | undefined;
1324
1324
  } | {
1325
- firstname?: string | null | undefined;
1326
- surname?: string | null | undefined;
1325
+ firstname: string;
1326
+ surname: string;
1327
1327
  middlename?: string | null | undefined;
1328
1328
  } | {
1329
1329
  country: string;
@@ -1366,8 +1366,8 @@ export declare const EventDocument: z.ZodObject<{
1366
1366
  street?: string | null | undefined;
1367
1367
  zipCode?: string | null | undefined;
1368
1368
  } | {
1369
- firstname?: string | null | undefined;
1370
- surname?: string | null | undefined;
1369
+ firstname: string;
1370
+ surname: string;
1371
1371
  middlename?: string | null | undefined;
1372
1372
  } | {
1373
1373
  country: string;
@@ -1391,17 +1391,17 @@ export declare const EventDocument: z.ZodObject<{
1391
1391
  option: string;
1392
1392
  filename: string;
1393
1393
  originalFilename: string;
1394
- }[] | [string, string] | null | undefined> | null | undefined;
1395
- originalActionId?: string | null | undefined;
1394
+ }[] | [string, string] | null | undefined> | undefined;
1395
+ originalActionId?: string | undefined;
1396
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
- id: z.ZodBranded<z.ZodString, "UUID">;
1397
+ id: z.ZodString;
1398
1398
  transactionId: z.ZodString;
1399
1399
  createdByUserType: z.ZodEnum<["user", "system"]>;
1400
1400
  createdAt: z.ZodString;
1401
1401
  createdBy: z.ZodString;
1402
1402
  createdByRole: z.ZodString;
1403
1403
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
1405
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1406
1406
  filename: z.ZodString;
1407
1407
  originalFilename: z.ZodString;
@@ -1516,19 +1516,19 @@ export declare const EventDocument: z.ZodObject<{
1516
1516
  addressLine3?: string | null | undefined;
1517
1517
  postcodeOrZip?: string | null | undefined;
1518
1518
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1519
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1519
+ firstname: z.ZodString;
1520
+ surname: z.ZodString;
1521
1521
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
1522
  }, "strip", z.ZodTypeAny, {
1523
- firstname?: string | null | undefined;
1524
- surname?: string | null | undefined;
1523
+ firstname: string;
1524
+ surname: string;
1525
1525
  middlename?: string | null | undefined;
1526
1526
  }, {
1527
- firstname?: string | null | undefined;
1528
- surname?: string | null | undefined;
1527
+ firstname: string;
1528
+ surname: string;
1529
1529
  middlename?: string | null | undefined;
1530
1530
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1531
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1532
1532
  filename: z.ZodString;
1533
1533
  originalFilename: z.ZodString;
1534
1534
  type: z.ZodString;
@@ -1642,25 +1642,25 @@ export declare const EventDocument: z.ZodObject<{
1642
1642
  addressLine3?: string | null | undefined;
1643
1643
  postcodeOrZip?: string | null | undefined;
1644
1644
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1645
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1645
+ firstname: z.ZodString;
1646
+ surname: z.ZodString;
1647
1647
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
1648
  }, "strip", z.ZodTypeAny, {
1649
- firstname?: string | null | undefined;
1650
- surname?: string | null | undefined;
1649
+ firstname: string;
1650
+ surname: string;
1651
1651
  middlename?: string | null | undefined;
1652
1652
  }, {
1653
- firstname?: string | null | undefined;
1654
- surname?: string | null | undefined;
1653
+ firstname: string;
1654
+ surname: string;
1655
1655
  middlename?: string | null | undefined;
1656
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
1656
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1657
1657
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1658
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1658
+ originalActionId: z.ZodOptional<z.ZodString>;
1659
1659
  }, {
1660
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1661
1661
  }>, "strip", z.ZodTypeAny, {
1662
1662
  type: "MARKED_AS_DUPLICATE";
1663
- id: string & z.BRAND<"UUID">;
1663
+ id: string;
1664
1664
  status: "Rejected" | "Requested" | "Accepted";
1665
1665
  transactionId: string;
1666
1666
  createdByUserType: "system" | "user";
@@ -1683,8 +1683,8 @@ export declare const EventDocument: z.ZodObject<{
1683
1683
  street?: string | null | undefined;
1684
1684
  zipCode?: string | null | undefined;
1685
1685
  } | {
1686
- firstname?: string | null | undefined;
1687
- surname?: string | null | undefined;
1686
+ firstname: string;
1687
+ surname: string;
1688
1688
  middlename?: string | null | undefined;
1689
1689
  } | {
1690
1690
  country: string;
@@ -1710,7 +1710,7 @@ export declare const EventDocument: z.ZodObject<{
1710
1710
  originalFilename: string;
1711
1711
  }[] | [string, string] | null | undefined>;
1712
1712
  createdBySignature?: string | null | undefined;
1713
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1713
+ createdAtLocation?: string | null | undefined;
1714
1714
  annotation?: Record<string, string | number | boolean | {
1715
1715
  type: string;
1716
1716
  filename: string;
@@ -1727,8 +1727,8 @@ export declare const EventDocument: z.ZodObject<{
1727
1727
  street?: string | null | undefined;
1728
1728
  zipCode?: string | null | undefined;
1729
1729
  } | {
1730
- firstname?: string | null | undefined;
1731
- surname?: string | null | undefined;
1730
+ firstname: string;
1731
+ surname: string;
1732
1732
  middlename?: string | null | undefined;
1733
1733
  } | {
1734
1734
  country: string;
@@ -1752,8 +1752,8 @@ export declare const EventDocument: z.ZodObject<{
1752
1752
  option: string;
1753
1753
  filename: string;
1754
1754
  originalFilename: string;
1755
- }[] | [string, string] | null | undefined> | null | undefined;
1756
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
1755
+ }[] | [string, string] | null | undefined> | undefined;
1756
+ originalActionId?: string | undefined;
1757
1757
  }, {
1758
1758
  type: "MARKED_AS_DUPLICATE";
1759
1759
  id: string;
@@ -1779,8 +1779,8 @@ export declare const EventDocument: z.ZodObject<{
1779
1779
  street?: string | null | undefined;
1780
1780
  zipCode?: string | null | undefined;
1781
1781
  } | {
1782
- firstname?: string | null | undefined;
1783
- surname?: string | null | undefined;
1782
+ firstname: string;
1783
+ surname: string;
1784
1784
  middlename?: string | null | undefined;
1785
1785
  } | {
1786
1786
  country: string;
@@ -1823,8 +1823,8 @@ export declare const EventDocument: z.ZodObject<{
1823
1823
  street?: string | null | undefined;
1824
1824
  zipCode?: string | null | undefined;
1825
1825
  } | {
1826
- firstname?: string | null | undefined;
1827
- surname?: string | null | undefined;
1826
+ firstname: string;
1827
+ surname: string;
1828
1828
  middlename?: string | null | undefined;
1829
1829
  } | {
1830
1830
  country: string;
@@ -1848,17 +1848,17 @@ export declare const EventDocument: z.ZodObject<{
1848
1848
  option: string;
1849
1849
  filename: string;
1850
1850
  originalFilename: string;
1851
- }[] | [string, string] | null | undefined> | null | undefined;
1852
- originalActionId?: string | null | undefined;
1851
+ }[] | [string, string] | null | undefined> | undefined;
1852
+ originalActionId?: string | undefined;
1853
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
- id: z.ZodBranded<z.ZodString, "UUID">;
1854
+ id: z.ZodString;
1855
1855
  transactionId: z.ZodString;
1856
1856
  createdByUserType: z.ZodEnum<["user", "system"]>;
1857
1857
  createdAt: z.ZodString;
1858
1858
  createdBy: z.ZodString;
1859
1859
  createdByRole: z.ZodString;
1860
1860
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
1862
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1863
1863
  filename: z.ZodString;
1864
1864
  originalFilename: z.ZodString;
@@ -1973,19 +1973,19 @@ export declare const EventDocument: z.ZodObject<{
1973
1973
  addressLine3?: string | null | undefined;
1974
1974
  postcodeOrZip?: string | null | undefined;
1975
1975
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1976
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1976
+ firstname: z.ZodString;
1977
+ surname: z.ZodString;
1978
1978
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
1979
  }, "strip", z.ZodTypeAny, {
1980
- firstname?: string | null | undefined;
1981
- surname?: string | null | undefined;
1980
+ firstname: string;
1981
+ surname: string;
1982
1982
  middlename?: string | null | undefined;
1983
1983
  }, {
1984
- firstname?: string | null | undefined;
1985
- surname?: string | null | undefined;
1984
+ firstname: string;
1985
+ surname: string;
1986
1986
  middlename?: string | null | undefined;
1987
1987
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1988
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1989
1989
  filename: z.ZodString;
1990
1990
  originalFilename: z.ZodString;
1991
1991
  type: z.ZodString;
@@ -2099,20 +2099,20 @@ export declare const EventDocument: z.ZodObject<{
2099
2099
  addressLine3?: string | null | undefined;
2100
2100
  postcodeOrZip?: string | null | undefined;
2101
2101
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2102
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2102
+ firstname: z.ZodString;
2103
+ surname: z.ZodString;
2104
2104
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
2105
  }, "strip", z.ZodTypeAny, {
2106
- firstname?: string | null | undefined;
2107
- surname?: string | null | undefined;
2106
+ firstname: string;
2107
+ surname: string;
2108
2108
  middlename?: string | null | undefined;
2109
2109
  }, {
2110
- firstname?: string | null | undefined;
2111
- surname?: string | null | undefined;
2110
+ firstname: string;
2111
+ surname: string;
2112
2112
  middlename?: string | null | undefined;
2113
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2113
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2114
2114
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2115
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2115
+ originalActionId: z.ZodOptional<z.ZodString>;
2116
2116
  }, {
2117
2117
  type: z.ZodLiteral<"ARCHIVE">;
2118
2118
  reason: z.ZodObject<{
@@ -2127,7 +2127,7 @@ export declare const EventDocument: z.ZodObject<{
2127
2127
  }>;
2128
2128
  }>, "strip", z.ZodTypeAny, {
2129
2129
  type: "ARCHIVE";
2130
- id: string & z.BRAND<"UUID">;
2130
+ id: string;
2131
2131
  status: "Rejected" | "Requested" | "Accepted";
2132
2132
  reason: {
2133
2133
  message: string;
@@ -2154,8 +2154,8 @@ export declare const EventDocument: z.ZodObject<{
2154
2154
  street?: string | null | undefined;
2155
2155
  zipCode?: string | null | undefined;
2156
2156
  } | {
2157
- firstname?: string | null | undefined;
2158
- surname?: string | null | undefined;
2157
+ firstname: string;
2158
+ surname: string;
2159
2159
  middlename?: string | null | undefined;
2160
2160
  } | {
2161
2161
  country: string;
@@ -2181,7 +2181,7 @@ export declare const EventDocument: z.ZodObject<{
2181
2181
  originalFilename: string;
2182
2182
  }[] | [string, string] | null | undefined>;
2183
2183
  createdBySignature?: string | null | undefined;
2184
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2184
+ createdAtLocation?: string | null | undefined;
2185
2185
  annotation?: Record<string, string | number | boolean | {
2186
2186
  type: string;
2187
2187
  filename: string;
@@ -2198,8 +2198,8 @@ export declare const EventDocument: z.ZodObject<{
2198
2198
  street?: string | null | undefined;
2199
2199
  zipCode?: string | null | undefined;
2200
2200
  } | {
2201
- firstname?: string | null | undefined;
2202
- surname?: string | null | undefined;
2201
+ firstname: string;
2202
+ surname: string;
2203
2203
  middlename?: string | null | undefined;
2204
2204
  } | {
2205
2205
  country: string;
@@ -2223,8 +2223,8 @@ export declare const EventDocument: z.ZodObject<{
2223
2223
  option: string;
2224
2224
  filename: string;
2225
2225
  originalFilename: string;
2226
- }[] | [string, string] | null | undefined> | null | undefined;
2227
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2226
+ }[] | [string, string] | null | undefined> | undefined;
2227
+ originalActionId?: string | undefined;
2228
2228
  }, {
2229
2229
  type: "ARCHIVE";
2230
2230
  id: string;
@@ -2254,8 +2254,8 @@ export declare const EventDocument: z.ZodObject<{
2254
2254
  street?: string | null | undefined;
2255
2255
  zipCode?: string | null | undefined;
2256
2256
  } | {
2257
- firstname?: string | null | undefined;
2258
- surname?: string | null | undefined;
2257
+ firstname: string;
2258
+ surname: string;
2259
2259
  middlename?: string | null | undefined;
2260
2260
  } | {
2261
2261
  country: string;
@@ -2298,8 +2298,8 @@ export declare const EventDocument: z.ZodObject<{
2298
2298
  street?: string | null | undefined;
2299
2299
  zipCode?: string | null | undefined;
2300
2300
  } | {
2301
- firstname?: string | null | undefined;
2302
- surname?: string | null | undefined;
2301
+ firstname: string;
2302
+ surname: string;
2303
2303
  middlename?: string | null | undefined;
2304
2304
  } | {
2305
2305
  country: string;
@@ -2323,17 +2323,17 @@ export declare const EventDocument: z.ZodObject<{
2323
2323
  option: string;
2324
2324
  filename: string;
2325
2325
  originalFilename: string;
2326
- }[] | [string, string] | null | undefined> | null | undefined;
2327
- originalActionId?: string | null | undefined;
2326
+ }[] | [string, string] | null | undefined> | undefined;
2327
+ originalActionId?: string | undefined;
2328
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
- id: z.ZodBranded<z.ZodString, "UUID">;
2329
+ id: z.ZodString;
2330
2330
  transactionId: z.ZodString;
2331
2331
  createdByUserType: z.ZodEnum<["user", "system"]>;
2332
2332
  createdAt: z.ZodString;
2333
2333
  createdBy: z.ZodString;
2334
2334
  createdByRole: z.ZodString;
2335
2335
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2337
2337
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2338
2338
  filename: z.ZodString;
2339
2339
  originalFilename: z.ZodString;
@@ -2448,19 +2448,19 @@ export declare const EventDocument: z.ZodObject<{
2448
2448
  addressLine3?: string | null | undefined;
2449
2449
  postcodeOrZip?: string | null | undefined;
2450
2450
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2451
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2451
+ firstname: z.ZodString;
2452
+ surname: z.ZodString;
2453
2453
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
2454
  }, "strip", z.ZodTypeAny, {
2455
- firstname?: string | null | undefined;
2456
- surname?: string | null | undefined;
2455
+ firstname: string;
2456
+ surname: string;
2457
2457
  middlename?: string | null | undefined;
2458
2458
  }, {
2459
- firstname?: string | null | undefined;
2460
- surname?: string | null | undefined;
2459
+ firstname: string;
2460
+ surname: string;
2461
2461
  middlename?: string | null | undefined;
2462
2462
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2463
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2464
2464
  filename: z.ZodString;
2465
2465
  originalFilename: z.ZodString;
2466
2466
  type: z.ZodString;
@@ -2574,25 +2574,25 @@ export declare const EventDocument: z.ZodObject<{
2574
2574
  addressLine3?: string | null | undefined;
2575
2575
  postcodeOrZip?: string | null | undefined;
2576
2576
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2577
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2577
+ firstname: z.ZodString;
2578
+ surname: z.ZodString;
2579
2579
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
2580
  }, "strip", z.ZodTypeAny, {
2581
- firstname?: string | null | undefined;
2582
- surname?: string | null | undefined;
2581
+ firstname: string;
2582
+ surname: string;
2583
2583
  middlename?: string | null | undefined;
2584
2584
  }, {
2585
- firstname?: string | null | undefined;
2586
- surname?: string | null | undefined;
2585
+ firstname: string;
2586
+ surname: string;
2587
2587
  middlename?: string | null | undefined;
2588
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
2588
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2589
2589
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2590
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2590
+ originalActionId: z.ZodOptional<z.ZodString>;
2591
2591
  }, {
2592
2592
  type: z.ZodLiteral<"NOTIFY">;
2593
2593
  }>, "strip", z.ZodTypeAny, {
2594
2594
  type: "NOTIFY";
2595
- id: string & z.BRAND<"UUID">;
2595
+ id: string;
2596
2596
  status: "Rejected" | "Requested" | "Accepted";
2597
2597
  transactionId: string;
2598
2598
  createdByUserType: "system" | "user";
@@ -2615,8 +2615,8 @@ export declare const EventDocument: z.ZodObject<{
2615
2615
  street?: string | null | undefined;
2616
2616
  zipCode?: string | null | undefined;
2617
2617
  } | {
2618
- firstname?: string | null | undefined;
2619
- surname?: string | null | undefined;
2618
+ firstname: string;
2619
+ surname: string;
2620
2620
  middlename?: string | null | undefined;
2621
2621
  } | {
2622
2622
  country: string;
@@ -2642,7 +2642,7 @@ export declare const EventDocument: z.ZodObject<{
2642
2642
  originalFilename: string;
2643
2643
  }[] | [string, string] | null | undefined>;
2644
2644
  createdBySignature?: string | null | undefined;
2645
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
2645
+ createdAtLocation?: string | null | undefined;
2646
2646
  annotation?: Record<string, string | number | boolean | {
2647
2647
  type: string;
2648
2648
  filename: string;
@@ -2659,8 +2659,8 @@ export declare const EventDocument: z.ZodObject<{
2659
2659
  street?: string | null | undefined;
2660
2660
  zipCode?: string | null | undefined;
2661
2661
  } | {
2662
- firstname?: string | null | undefined;
2663
- surname?: string | null | undefined;
2662
+ firstname: string;
2663
+ surname: string;
2664
2664
  middlename?: string | null | undefined;
2665
2665
  } | {
2666
2666
  country: string;
@@ -2684,8 +2684,8 @@ export declare const EventDocument: z.ZodObject<{
2684
2684
  option: string;
2685
2685
  filename: string;
2686
2686
  originalFilename: string;
2687
- }[] | [string, string] | null | undefined> | null | undefined;
2688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
2687
+ }[] | [string, string] | null | undefined> | undefined;
2688
+ originalActionId?: string | undefined;
2689
2689
  }, {
2690
2690
  type: "NOTIFY";
2691
2691
  id: string;
@@ -2711,8 +2711,8 @@ export declare const EventDocument: z.ZodObject<{
2711
2711
  street?: string | null | undefined;
2712
2712
  zipCode?: string | null | undefined;
2713
2713
  } | {
2714
- firstname?: string | null | undefined;
2715
- surname?: string | null | undefined;
2714
+ firstname: string;
2715
+ surname: string;
2716
2716
  middlename?: string | null | undefined;
2717
2717
  } | {
2718
2718
  country: string;
@@ -2755,8 +2755,8 @@ export declare const EventDocument: z.ZodObject<{
2755
2755
  street?: string | null | undefined;
2756
2756
  zipCode?: string | null | undefined;
2757
2757
  } | {
2758
- firstname?: string | null | undefined;
2759
- surname?: string | null | undefined;
2758
+ firstname: string;
2759
+ surname: string;
2760
2760
  middlename?: string | null | undefined;
2761
2761
  } | {
2762
2762
  country: string;
@@ -2780,17 +2780,17 @@ export declare const EventDocument: z.ZodObject<{
2780
2780
  option: string;
2781
2781
  filename: string;
2782
2782
  originalFilename: string;
2783
- }[] | [string, string] | null | undefined> | null | undefined;
2784
- originalActionId?: string | null | undefined;
2783
+ }[] | [string, string] | null | undefined> | undefined;
2784
+ originalActionId?: string | undefined;
2785
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
- id: z.ZodBranded<z.ZodString, "UUID">;
2786
+ id: z.ZodString;
2787
2787
  transactionId: z.ZodString;
2788
2788
  createdByUserType: z.ZodEnum<["user", "system"]>;
2789
2789
  createdAt: z.ZodString;
2790
2790
  createdBy: z.ZodString;
2791
2791
  createdByRole: z.ZodString;
2792
2792
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2793
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2794
2794
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2795
2795
  filename: z.ZodString;
2796
2796
  originalFilename: z.ZodString;
@@ -2905,19 +2905,19 @@ export declare const EventDocument: z.ZodObject<{
2905
2905
  addressLine3?: string | null | undefined;
2906
2906
  postcodeOrZip?: string | null | undefined;
2907
2907
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2908
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2908
+ firstname: z.ZodString;
2909
+ surname: z.ZodString;
2910
2910
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
2911
  }, "strip", z.ZodTypeAny, {
2912
- firstname?: string | null | undefined;
2913
- surname?: string | null | undefined;
2912
+ firstname: string;
2913
+ surname: string;
2914
2914
  middlename?: string | null | undefined;
2915
2915
  }, {
2916
- firstname?: string | null | undefined;
2917
- surname?: string | null | undefined;
2916
+ firstname: string;
2917
+ surname: string;
2918
2918
  middlename?: string | null | undefined;
2919
2919
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2920
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2921
2921
  filename: z.ZodString;
2922
2922
  originalFilename: z.ZodString;
2923
2923
  type: z.ZodString;
@@ -3031,26 +3031,26 @@ export declare const EventDocument: z.ZodObject<{
3031
3031
  addressLine3?: string | null | undefined;
3032
3032
  postcodeOrZip?: string | null | undefined;
3033
3033
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3034
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3034
+ firstname: z.ZodString;
3035
+ surname: z.ZodString;
3036
3036
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
- firstname?: string | null | undefined;
3039
- surname?: string | null | undefined;
3038
+ firstname: string;
3039
+ surname: string;
3040
3040
  middlename?: string | null | undefined;
3041
3041
  }, {
3042
- firstname?: string | null | undefined;
3043
- surname?: string | null | undefined;
3042
+ firstname: string;
3043
+ surname: string;
3044
3044
  middlename?: string | null | undefined;
3045
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3045
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3046
3046
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3047
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3047
+ originalActionId: z.ZodOptional<z.ZodString>;
3048
3048
  }, {
3049
3049
  type: z.ZodLiteral<"REGISTER">;
3050
3050
  registrationNumber: z.ZodOptional<z.ZodString>;
3051
3051
  }>, "strip", z.ZodTypeAny, {
3052
3052
  type: "REGISTER";
3053
- id: string & z.BRAND<"UUID">;
3053
+ id: string;
3054
3054
  status: "Rejected" | "Requested" | "Accepted";
3055
3055
  transactionId: string;
3056
3056
  createdByUserType: "system" | "user";
@@ -3073,8 +3073,8 @@ export declare const EventDocument: z.ZodObject<{
3073
3073
  street?: string | null | undefined;
3074
3074
  zipCode?: string | null | undefined;
3075
3075
  } | {
3076
- firstname?: string | null | undefined;
3077
- surname?: string | null | undefined;
3076
+ firstname: string;
3077
+ surname: string;
3078
3078
  middlename?: string | null | undefined;
3079
3079
  } | {
3080
3080
  country: string;
@@ -3100,7 +3100,7 @@ export declare const EventDocument: z.ZodObject<{
3100
3100
  originalFilename: string;
3101
3101
  }[] | [string, string] | null | undefined>;
3102
3102
  createdBySignature?: string | null | undefined;
3103
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3103
+ createdAtLocation?: string | null | undefined;
3104
3104
  annotation?: Record<string, string | number | boolean | {
3105
3105
  type: string;
3106
3106
  filename: string;
@@ -3117,8 +3117,8 @@ export declare const EventDocument: z.ZodObject<{
3117
3117
  street?: string | null | undefined;
3118
3118
  zipCode?: string | null | undefined;
3119
3119
  } | {
3120
- firstname?: string | null | undefined;
3121
- surname?: string | null | undefined;
3120
+ firstname: string;
3121
+ surname: string;
3122
3122
  middlename?: string | null | undefined;
3123
3123
  } | {
3124
3124
  country: string;
@@ -3142,8 +3142,8 @@ export declare const EventDocument: z.ZodObject<{
3142
3142
  option: string;
3143
3143
  filename: string;
3144
3144
  originalFilename: string;
3145
- }[] | [string, string] | null | undefined> | null | undefined;
3146
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3145
+ }[] | [string, string] | null | undefined> | undefined;
3146
+ originalActionId?: string | undefined;
3147
3147
  registrationNumber?: string | undefined;
3148
3148
  }, {
3149
3149
  type: "REGISTER";
@@ -3170,8 +3170,8 @@ export declare const EventDocument: z.ZodObject<{
3170
3170
  street?: string | null | undefined;
3171
3171
  zipCode?: string | null | undefined;
3172
3172
  } | {
3173
- firstname?: string | null | undefined;
3174
- surname?: string | null | undefined;
3173
+ firstname: string;
3174
+ surname: string;
3175
3175
  middlename?: string | null | undefined;
3176
3176
  } | {
3177
3177
  country: string;
@@ -3214,8 +3214,8 @@ export declare const EventDocument: z.ZodObject<{
3214
3214
  street?: string | null | undefined;
3215
3215
  zipCode?: string | null | undefined;
3216
3216
  } | {
3217
- firstname?: string | null | undefined;
3218
- surname?: string | null | undefined;
3217
+ firstname: string;
3218
+ surname: string;
3219
3219
  middlename?: string | null | undefined;
3220
3220
  } | {
3221
3221
  country: string;
@@ -3239,18 +3239,18 @@ export declare const EventDocument: z.ZodObject<{
3239
3239
  option: string;
3240
3240
  filename: string;
3241
3241
  originalFilename: string;
3242
- }[] | [string, string] | null | undefined> | null | undefined;
3243
- originalActionId?: string | null | undefined;
3242
+ }[] | [string, string] | null | undefined> | undefined;
3243
+ originalActionId?: string | undefined;
3244
3244
  registrationNumber?: string | undefined;
3245
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
- id: z.ZodBranded<z.ZodString, "UUID">;
3246
+ id: z.ZodString;
3247
3247
  transactionId: z.ZodString;
3248
3248
  createdByUserType: z.ZodEnum<["user", "system"]>;
3249
3249
  createdAt: z.ZodString;
3250
3250
  createdBy: z.ZodString;
3251
3251
  createdByRole: z.ZodString;
3252
3252
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3253
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3254
3254
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3255
3255
  filename: z.ZodString;
3256
3256
  originalFilename: z.ZodString;
@@ -3365,19 +3365,19 @@ export declare const EventDocument: z.ZodObject<{
3365
3365
  addressLine3?: string | null | undefined;
3366
3366
  postcodeOrZip?: string | null | undefined;
3367
3367
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3368
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3368
+ firstname: z.ZodString;
3369
+ surname: z.ZodString;
3370
3370
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
3371
  }, "strip", z.ZodTypeAny, {
3372
- firstname?: string | null | undefined;
3373
- surname?: string | null | undefined;
3372
+ firstname: string;
3373
+ surname: string;
3374
3374
  middlename?: string | null | undefined;
3375
3375
  }, {
3376
- firstname?: string | null | undefined;
3377
- surname?: string | null | undefined;
3376
+ firstname: string;
3377
+ surname: string;
3378
3378
  middlename?: string | null | undefined;
3379
3379
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3380
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3381
3381
  filename: z.ZodString;
3382
3382
  originalFilename: z.ZodString;
3383
3383
  type: z.ZodString;
@@ -3491,25 +3491,25 @@ export declare const EventDocument: z.ZodObject<{
3491
3491
  addressLine3?: string | null | undefined;
3492
3492
  postcodeOrZip?: string | null | undefined;
3493
3493
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3494
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3494
+ firstname: z.ZodString;
3495
+ surname: z.ZodString;
3496
3496
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
3497
  }, "strip", z.ZodTypeAny, {
3498
- firstname?: string | null | undefined;
3499
- surname?: string | null | undefined;
3498
+ firstname: string;
3499
+ surname: string;
3500
3500
  middlename?: string | null | undefined;
3501
3501
  }, {
3502
- firstname?: string | null | undefined;
3503
- surname?: string | null | undefined;
3502
+ firstname: string;
3503
+ surname: string;
3504
3504
  middlename?: string | null | undefined;
3505
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3505
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3506
3506
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3507
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3507
+ originalActionId: z.ZodOptional<z.ZodString>;
3508
3508
  }, {
3509
3509
  type: z.ZodLiteral<"DECLARE">;
3510
3510
  }>, "strip", z.ZodTypeAny, {
3511
3511
  type: "DECLARE";
3512
- id: string & z.BRAND<"UUID">;
3512
+ id: string;
3513
3513
  status: "Rejected" | "Requested" | "Accepted";
3514
3514
  transactionId: string;
3515
3515
  createdByUserType: "system" | "user";
@@ -3532,8 +3532,8 @@ export declare const EventDocument: z.ZodObject<{
3532
3532
  street?: string | null | undefined;
3533
3533
  zipCode?: string | null | undefined;
3534
3534
  } | {
3535
- firstname?: string | null | undefined;
3536
- surname?: string | null | undefined;
3535
+ firstname: string;
3536
+ surname: string;
3537
3537
  middlename?: string | null | undefined;
3538
3538
  } | {
3539
3539
  country: string;
@@ -3559,7 +3559,7 @@ export declare const EventDocument: z.ZodObject<{
3559
3559
  originalFilename: string;
3560
3560
  }[] | [string, string] | null | undefined>;
3561
3561
  createdBySignature?: string | null | undefined;
3562
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
3562
+ createdAtLocation?: string | null | undefined;
3563
3563
  annotation?: Record<string, string | number | boolean | {
3564
3564
  type: string;
3565
3565
  filename: string;
@@ -3576,8 +3576,8 @@ export declare const EventDocument: z.ZodObject<{
3576
3576
  street?: string | null | undefined;
3577
3577
  zipCode?: string | null | undefined;
3578
3578
  } | {
3579
- firstname?: string | null | undefined;
3580
- surname?: string | null | undefined;
3579
+ firstname: string;
3580
+ surname: string;
3581
3581
  middlename?: string | null | undefined;
3582
3582
  } | {
3583
3583
  country: string;
@@ -3601,8 +3601,8 @@ export declare const EventDocument: z.ZodObject<{
3601
3601
  option: string;
3602
3602
  filename: string;
3603
3603
  originalFilename: string;
3604
- }[] | [string, string] | null | undefined> | null | undefined;
3605
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
3604
+ }[] | [string, string] | null | undefined> | undefined;
3605
+ originalActionId?: string | undefined;
3606
3606
  }, {
3607
3607
  type: "DECLARE";
3608
3608
  id: string;
@@ -3628,8 +3628,8 @@ export declare const EventDocument: z.ZodObject<{
3628
3628
  street?: string | null | undefined;
3629
3629
  zipCode?: string | null | undefined;
3630
3630
  } | {
3631
- firstname?: string | null | undefined;
3632
- surname?: string | null | undefined;
3631
+ firstname: string;
3632
+ surname: string;
3633
3633
  middlename?: string | null | undefined;
3634
3634
  } | {
3635
3635
  country: string;
@@ -3672,8 +3672,8 @@ export declare const EventDocument: z.ZodObject<{
3672
3672
  street?: string | null | undefined;
3673
3673
  zipCode?: string | null | undefined;
3674
3674
  } | {
3675
- firstname?: string | null | undefined;
3676
- surname?: string | null | undefined;
3675
+ firstname: string;
3676
+ surname: string;
3677
3677
  middlename?: string | null | undefined;
3678
3678
  } | {
3679
3679
  country: string;
@@ -3697,17 +3697,17 @@ export declare const EventDocument: z.ZodObject<{
3697
3697
  option: string;
3698
3698
  filename: string;
3699
3699
  originalFilename: string;
3700
- }[] | [string, string] | null | undefined> | null | undefined;
3701
- originalActionId?: string | null | undefined;
3700
+ }[] | [string, string] | null | undefined> | undefined;
3701
+ originalActionId?: string | undefined;
3702
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
- id: z.ZodBranded<z.ZodString, "UUID">;
3703
+ id: z.ZodString;
3704
3704
  transactionId: z.ZodString;
3705
3705
  createdByUserType: z.ZodEnum<["user", "system"]>;
3706
3706
  createdAt: z.ZodString;
3707
3707
  createdBy: z.ZodString;
3708
3708
  createdByRole: z.ZodString;
3709
3709
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3710
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3711
3711
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3712
3712
  filename: z.ZodString;
3713
3713
  originalFilename: z.ZodString;
@@ -3822,19 +3822,19 @@ export declare const EventDocument: z.ZodObject<{
3822
3822
  addressLine3?: string | null | undefined;
3823
3823
  postcodeOrZip?: string | null | undefined;
3824
3824
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3825
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3825
+ firstname: z.ZodString;
3826
+ surname: z.ZodString;
3827
3827
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
3828
  }, "strip", z.ZodTypeAny, {
3829
- firstname?: string | null | undefined;
3830
- surname?: string | null | undefined;
3829
+ firstname: string;
3830
+ surname: string;
3831
3831
  middlename?: string | null | undefined;
3832
3832
  }, {
3833
- firstname?: string | null | undefined;
3834
- surname?: string | null | undefined;
3833
+ firstname: string;
3834
+ surname: string;
3835
3835
  middlename?: string | null | undefined;
3836
3836
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3837
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3838
3838
  filename: z.ZodString;
3839
3839
  originalFilename: z.ZodString;
3840
3840
  type: z.ZodString;
@@ -3948,26 +3948,26 @@ export declare const EventDocument: z.ZodObject<{
3948
3948
  addressLine3?: string | null | undefined;
3949
3949
  postcodeOrZip?: string | null | undefined;
3950
3950
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3951
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3951
+ firstname: z.ZodString;
3952
+ surname: z.ZodString;
3953
3953
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
3954
  }, "strip", z.ZodTypeAny, {
3955
- firstname?: string | null | undefined;
3956
- surname?: string | null | undefined;
3955
+ firstname: string;
3956
+ surname: string;
3957
3957
  middlename?: string | null | undefined;
3958
3958
  }, {
3959
- firstname?: string | null | undefined;
3960
- surname?: string | null | undefined;
3959
+ firstname: string;
3960
+ surname: string;
3961
3961
  middlename?: string | null | undefined;
3962
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
3962
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3963
3963
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3964
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3964
+ originalActionId: z.ZodOptional<z.ZodString>;
3965
3965
  }, {
3966
3966
  type: z.ZodLiteral<"ASSIGN">;
3967
3967
  assignedTo: z.ZodString;
3968
3968
  }>, "strip", z.ZodTypeAny, {
3969
3969
  type: "ASSIGN";
3970
- id: string & z.BRAND<"UUID">;
3970
+ id: string;
3971
3971
  status: "Rejected" | "Requested" | "Accepted";
3972
3972
  transactionId: string;
3973
3973
  createdByUserType: "system" | "user";
@@ -3990,8 +3990,8 @@ export declare const EventDocument: z.ZodObject<{
3990
3990
  street?: string | null | undefined;
3991
3991
  zipCode?: string | null | undefined;
3992
3992
  } | {
3993
- firstname?: string | null | undefined;
3994
- surname?: string | null | undefined;
3993
+ firstname: string;
3994
+ surname: string;
3995
3995
  middlename?: string | null | undefined;
3996
3996
  } | {
3997
3997
  country: string;
@@ -4018,7 +4018,7 @@ export declare const EventDocument: z.ZodObject<{
4018
4018
  }[] | [string, string] | null | undefined>;
4019
4019
  assignedTo: string;
4020
4020
  createdBySignature?: string | null | undefined;
4021
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4021
+ createdAtLocation?: string | null | undefined;
4022
4022
  annotation?: Record<string, string | number | boolean | {
4023
4023
  type: string;
4024
4024
  filename: string;
@@ -4035,8 +4035,8 @@ export declare const EventDocument: z.ZodObject<{
4035
4035
  street?: string | null | undefined;
4036
4036
  zipCode?: string | null | undefined;
4037
4037
  } | {
4038
- firstname?: string | null | undefined;
4039
- surname?: string | null | undefined;
4038
+ firstname: string;
4039
+ surname: string;
4040
4040
  middlename?: string | null | undefined;
4041
4041
  } | {
4042
4042
  country: string;
@@ -4060,8 +4060,8 @@ export declare const EventDocument: z.ZodObject<{
4060
4060
  option: string;
4061
4061
  filename: string;
4062
4062
  originalFilename: string;
4063
- }[] | [string, string] | null | undefined> | null | undefined;
4064
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4063
+ }[] | [string, string] | null | undefined> | undefined;
4064
+ originalActionId?: string | undefined;
4065
4065
  }, {
4066
4066
  type: "ASSIGN";
4067
4067
  id: string;
@@ -4087,8 +4087,8 @@ export declare const EventDocument: z.ZodObject<{
4087
4087
  street?: string | null | undefined;
4088
4088
  zipCode?: string | null | undefined;
4089
4089
  } | {
4090
- firstname?: string | null | undefined;
4091
- surname?: string | null | undefined;
4090
+ firstname: string;
4091
+ surname: string;
4092
4092
  middlename?: string | null | undefined;
4093
4093
  } | {
4094
4094
  country: string;
@@ -4132,8 +4132,8 @@ export declare const EventDocument: z.ZodObject<{
4132
4132
  street?: string | null | undefined;
4133
4133
  zipCode?: string | null | undefined;
4134
4134
  } | {
4135
- firstname?: string | null | undefined;
4136
- surname?: string | null | undefined;
4135
+ firstname: string;
4136
+ surname: string;
4137
4137
  middlename?: string | null | undefined;
4138
4138
  } | {
4139
4139
  country: string;
@@ -4157,17 +4157,17 @@ export declare const EventDocument: z.ZodObject<{
4157
4157
  option: string;
4158
4158
  filename: string;
4159
4159
  originalFilename: string;
4160
- }[] | [string, string] | null | undefined> | null | undefined;
4161
- originalActionId?: string | null | undefined;
4160
+ }[] | [string, string] | null | undefined> | undefined;
4161
+ originalActionId?: string | undefined;
4162
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
- id: z.ZodBranded<z.ZodString, "UUID">;
4163
+ id: z.ZodString;
4164
4164
  transactionId: z.ZodString;
4165
4165
  createdByUserType: z.ZodEnum<["user", "system"]>;
4166
4166
  createdAt: z.ZodString;
4167
4167
  createdBy: z.ZodString;
4168
4168
  createdByRole: z.ZodString;
4169
4169
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
4171
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4172
4172
  filename: z.ZodString;
4173
4173
  originalFilename: z.ZodString;
@@ -4282,19 +4282,19 @@ export declare const EventDocument: z.ZodObject<{
4282
4282
  addressLine3?: string | null | undefined;
4283
4283
  postcodeOrZip?: string | null | undefined;
4284
4284
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4285
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4285
+ firstname: z.ZodString;
4286
+ surname: z.ZodString;
4287
4287
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
4288
  }, "strip", z.ZodTypeAny, {
4289
- firstname?: string | null | undefined;
4290
- surname?: string | null | undefined;
4289
+ firstname: string;
4290
+ surname: string;
4291
4291
  middlename?: string | null | undefined;
4292
4292
  }, {
4293
- firstname?: string | null | undefined;
4294
- surname?: string | null | undefined;
4293
+ firstname: string;
4294
+ surname: string;
4295
4295
  middlename?: string | null | undefined;
4296
4296
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4297
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4298
4298
  filename: z.ZodString;
4299
4299
  originalFilename: z.ZodString;
4300
4300
  type: z.ZodString;
@@ -4408,25 +4408,25 @@ export declare const EventDocument: z.ZodObject<{
4408
4408
  addressLine3?: string | null | undefined;
4409
4409
  postcodeOrZip?: string | null | undefined;
4410
4410
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4411
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4411
+ firstname: z.ZodString;
4412
+ surname: z.ZodString;
4413
4413
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
4414
  }, "strip", z.ZodTypeAny, {
4415
- firstname?: string | null | undefined;
4416
- surname?: string | null | undefined;
4415
+ firstname: string;
4416
+ surname: string;
4417
4417
  middlename?: string | null | undefined;
4418
4418
  }, {
4419
- firstname?: string | null | undefined;
4420
- surname?: string | null | undefined;
4419
+ firstname: string;
4420
+ surname: string;
4421
4421
  middlename?: string | null | undefined;
4422
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4422
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4423
4423
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4424
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4424
+ originalActionId: z.ZodOptional<z.ZodString>;
4425
4425
  }, {
4426
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4427
4427
  }>, "strip", z.ZodTypeAny, {
4428
4428
  type: "REQUEST_CORRECTION";
4429
- id: string & z.BRAND<"UUID">;
4429
+ id: string;
4430
4430
  status: "Rejected" | "Requested" | "Accepted";
4431
4431
  transactionId: string;
4432
4432
  createdByUserType: "system" | "user";
@@ -4449,8 +4449,8 @@ export declare const EventDocument: z.ZodObject<{
4449
4449
  street?: string | null | undefined;
4450
4450
  zipCode?: string | null | undefined;
4451
4451
  } | {
4452
- firstname?: string | null | undefined;
4453
- surname?: string | null | undefined;
4452
+ firstname: string;
4453
+ surname: string;
4454
4454
  middlename?: string | null | undefined;
4455
4455
  } | {
4456
4456
  country: string;
@@ -4476,7 +4476,7 @@ export declare const EventDocument: z.ZodObject<{
4476
4476
  originalFilename: string;
4477
4477
  }[] | [string, string] | null | undefined>;
4478
4478
  createdBySignature?: string | null | undefined;
4479
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4479
+ createdAtLocation?: string | null | undefined;
4480
4480
  annotation?: Record<string, string | number | boolean | {
4481
4481
  type: string;
4482
4482
  filename: string;
@@ -4493,8 +4493,8 @@ export declare const EventDocument: z.ZodObject<{
4493
4493
  street?: string | null | undefined;
4494
4494
  zipCode?: string | null | undefined;
4495
4495
  } | {
4496
- firstname?: string | null | undefined;
4497
- surname?: string | null | undefined;
4496
+ firstname: string;
4497
+ surname: string;
4498
4498
  middlename?: string | null | undefined;
4499
4499
  } | {
4500
4500
  country: string;
@@ -4518,8 +4518,8 @@ export declare const EventDocument: z.ZodObject<{
4518
4518
  option: string;
4519
4519
  filename: string;
4520
4520
  originalFilename: string;
4521
- }[] | [string, string] | null | undefined> | null | undefined;
4522
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4521
+ }[] | [string, string] | null | undefined> | undefined;
4522
+ originalActionId?: string | undefined;
4523
4523
  }, {
4524
4524
  type: "REQUEST_CORRECTION";
4525
4525
  id: string;
@@ -4545,8 +4545,8 @@ export declare const EventDocument: z.ZodObject<{
4545
4545
  street?: string | null | undefined;
4546
4546
  zipCode?: string | null | undefined;
4547
4547
  } | {
4548
- firstname?: string | null | undefined;
4549
- surname?: string | null | undefined;
4548
+ firstname: string;
4549
+ surname: string;
4550
4550
  middlename?: string | null | undefined;
4551
4551
  } | {
4552
4552
  country: string;
@@ -4589,8 +4589,8 @@ export declare const EventDocument: z.ZodObject<{
4589
4589
  street?: string | null | undefined;
4590
4590
  zipCode?: string | null | undefined;
4591
4591
  } | {
4592
- firstname?: string | null | undefined;
4593
- surname?: string | null | undefined;
4592
+ firstname: string;
4593
+ surname: string;
4594
4594
  middlename?: string | null | undefined;
4595
4595
  } | {
4596
4596
  country: string;
@@ -4614,17 +4614,17 @@ export declare const EventDocument: z.ZodObject<{
4614
4614
  option: string;
4615
4615
  filename: string;
4616
4616
  originalFilename: string;
4617
- }[] | [string, string] | null | undefined> | null | undefined;
4618
- originalActionId?: string | null | undefined;
4617
+ }[] | [string, string] | null | undefined> | undefined;
4618
+ originalActionId?: string | undefined;
4619
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
- id: z.ZodBranded<z.ZodString, "UUID">;
4620
+ id: z.ZodString;
4621
4621
  transactionId: z.ZodString;
4622
4622
  createdByUserType: z.ZodEnum<["user", "system"]>;
4623
4623
  createdAt: z.ZodString;
4624
4624
  createdBy: z.ZodString;
4625
4625
  createdByRole: z.ZodString;
4626
4626
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4627
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4628
4628
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4629
4629
  filename: z.ZodString;
4630
4630
  originalFilename: z.ZodString;
@@ -4739,19 +4739,19 @@ export declare const EventDocument: z.ZodObject<{
4739
4739
  addressLine3?: string | null | undefined;
4740
4740
  postcodeOrZip?: string | null | undefined;
4741
4741
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4742
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4742
+ firstname: z.ZodString;
4743
+ surname: z.ZodString;
4744
4744
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
4745
  }, "strip", z.ZodTypeAny, {
4746
- firstname?: string | null | undefined;
4747
- surname?: string | null | undefined;
4746
+ firstname: string;
4747
+ surname: string;
4748
4748
  middlename?: string | null | undefined;
4749
4749
  }, {
4750
- firstname?: string | null | undefined;
4751
- surname?: string | null | undefined;
4750
+ firstname: string;
4751
+ surname: string;
4752
4752
  middlename?: string | null | undefined;
4753
4753
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4754
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4755
4755
  filename: z.ZodString;
4756
4756
  originalFilename: z.ZodString;
4757
4757
  type: z.ZodString;
@@ -4865,26 +4865,26 @@ export declare const EventDocument: z.ZodObject<{
4865
4865
  addressLine3?: string | null | undefined;
4866
4866
  postcodeOrZip?: string | null | undefined;
4867
4867
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4868
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4868
+ firstname: z.ZodString;
4869
+ surname: z.ZodString;
4870
4870
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
4871
  }, "strip", z.ZodTypeAny, {
4872
- firstname?: string | null | undefined;
4873
- surname?: string | null | undefined;
4872
+ firstname: string;
4873
+ surname: string;
4874
4874
  middlename?: string | null | undefined;
4875
4875
  }, {
4876
- firstname?: string | null | undefined;
4877
- surname?: string | null | undefined;
4876
+ firstname: string;
4877
+ surname: string;
4878
4878
  middlename?: string | null | undefined;
4879
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
4879
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4880
4880
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4881
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4881
+ originalActionId: z.ZodOptional<z.ZodString>;
4882
4882
  }, {
4883
4883
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
4884
4884
  requestId: z.ZodString;
4885
4885
  }>, "strip", z.ZodTypeAny, {
4886
4886
  type: "APPROVE_CORRECTION";
4887
- id: string & z.BRAND<"UUID">;
4887
+ id: string;
4888
4888
  status: "Rejected" | "Requested" | "Accepted";
4889
4889
  transactionId: string;
4890
4890
  createdByUserType: "system" | "user";
@@ -4907,8 +4907,8 @@ export declare const EventDocument: z.ZodObject<{
4907
4907
  street?: string | null | undefined;
4908
4908
  zipCode?: string | null | undefined;
4909
4909
  } | {
4910
- firstname?: string | null | undefined;
4911
- surname?: string | null | undefined;
4910
+ firstname: string;
4911
+ surname: string;
4912
4912
  middlename?: string | null | undefined;
4913
4913
  } | {
4914
4914
  country: string;
@@ -4935,7 +4935,7 @@ export declare const EventDocument: z.ZodObject<{
4935
4935
  }[] | [string, string] | null | undefined>;
4936
4936
  requestId: string;
4937
4937
  createdBySignature?: string | null | undefined;
4938
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
4938
+ createdAtLocation?: string | null | undefined;
4939
4939
  annotation?: Record<string, string | number | boolean | {
4940
4940
  type: string;
4941
4941
  filename: string;
@@ -4952,8 +4952,8 @@ export declare const EventDocument: z.ZodObject<{
4952
4952
  street?: string | null | undefined;
4953
4953
  zipCode?: string | null | undefined;
4954
4954
  } | {
4955
- firstname?: string | null | undefined;
4956
- surname?: string | null | undefined;
4955
+ firstname: string;
4956
+ surname: string;
4957
4957
  middlename?: string | null | undefined;
4958
4958
  } | {
4959
4959
  country: string;
@@ -4977,8 +4977,8 @@ export declare const EventDocument: z.ZodObject<{
4977
4977
  option: string;
4978
4978
  filename: string;
4979
4979
  originalFilename: string;
4980
- }[] | [string, string] | null | undefined> | null | undefined;
4981
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
4980
+ }[] | [string, string] | null | undefined> | undefined;
4981
+ originalActionId?: string | undefined;
4982
4982
  }, {
4983
4983
  type: "APPROVE_CORRECTION";
4984
4984
  id: string;
@@ -5004,8 +5004,8 @@ export declare const EventDocument: z.ZodObject<{
5004
5004
  street?: string | null | undefined;
5005
5005
  zipCode?: string | null | undefined;
5006
5006
  } | {
5007
- firstname?: string | null | undefined;
5008
- surname?: string | null | undefined;
5007
+ firstname: string;
5008
+ surname: string;
5009
5009
  middlename?: string | null | undefined;
5010
5010
  } | {
5011
5011
  country: string;
@@ -5049,8 +5049,8 @@ export declare const EventDocument: z.ZodObject<{
5049
5049
  street?: string | null | undefined;
5050
5050
  zipCode?: string | null | undefined;
5051
5051
  } | {
5052
- firstname?: string | null | undefined;
5053
- surname?: string | null | undefined;
5052
+ firstname: string;
5053
+ surname: string;
5054
5054
  middlename?: string | null | undefined;
5055
5055
  } | {
5056
5056
  country: string;
@@ -5074,17 +5074,17 @@ export declare const EventDocument: z.ZodObject<{
5074
5074
  option: string;
5075
5075
  filename: string;
5076
5076
  originalFilename: string;
5077
- }[] | [string, string] | null | undefined> | null | undefined;
5078
- originalActionId?: string | null | undefined;
5077
+ }[] | [string, string] | null | undefined> | undefined;
5078
+ originalActionId?: string | undefined;
5079
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
- id: z.ZodBranded<z.ZodString, "UUID">;
5080
+ id: z.ZodString;
5081
5081
  transactionId: z.ZodString;
5082
5082
  createdByUserType: z.ZodEnum<["user", "system"]>;
5083
5083
  createdAt: z.ZodString;
5084
5084
  createdBy: z.ZodString;
5085
5085
  createdByRole: z.ZodString;
5086
5086
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5087
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5088
5088
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5089
5089
  filename: z.ZodString;
5090
5090
  originalFilename: z.ZodString;
@@ -5199,19 +5199,19 @@ export declare const EventDocument: z.ZodObject<{
5199
5199
  addressLine3?: string | null | undefined;
5200
5200
  postcodeOrZip?: string | null | undefined;
5201
5201
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5202
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5202
+ firstname: z.ZodString;
5203
+ surname: z.ZodString;
5204
5204
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
5205
  }, "strip", z.ZodTypeAny, {
5206
- firstname?: string | null | undefined;
5207
- surname?: string | null | undefined;
5206
+ firstname: string;
5207
+ surname: string;
5208
5208
  middlename?: string | null | undefined;
5209
5209
  }, {
5210
- firstname?: string | null | undefined;
5211
- surname?: string | null | undefined;
5210
+ firstname: string;
5211
+ surname: string;
5212
5212
  middlename?: string | null | undefined;
5213
5213
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5214
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5215
5215
  filename: z.ZodString;
5216
5216
  originalFilename: z.ZodString;
5217
5217
  type: z.ZodString;
@@ -5325,26 +5325,26 @@ export declare const EventDocument: z.ZodObject<{
5325
5325
  addressLine3?: string | null | undefined;
5326
5326
  postcodeOrZip?: string | null | undefined;
5327
5327
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5328
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5328
+ firstname: z.ZodString;
5329
+ surname: z.ZodString;
5330
5330
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5331
  }, "strip", z.ZodTypeAny, {
5332
- firstname?: string | null | undefined;
5333
- surname?: string | null | undefined;
5332
+ firstname: string;
5333
+ surname: string;
5334
5334
  middlename?: string | null | undefined;
5335
5335
  }, {
5336
- firstname?: string | null | undefined;
5337
- surname?: string | null | undefined;
5336
+ firstname: string;
5337
+ surname: string;
5338
5338
  middlename?: string | null | undefined;
5339
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5339
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5340
5340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5341
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5341
+ originalActionId: z.ZodOptional<z.ZodString>;
5342
5342
  }, {
5343
5343
  type: z.ZodLiteral<"REJECT_CORRECTION">;
5344
5344
  requestId: z.ZodString;
5345
5345
  }>, "strip", z.ZodTypeAny, {
5346
5346
  type: "REJECT_CORRECTION";
5347
- id: string & z.BRAND<"UUID">;
5347
+ id: string;
5348
5348
  status: "Rejected" | "Requested" | "Accepted";
5349
5349
  transactionId: string;
5350
5350
  createdByUserType: "system" | "user";
@@ -5367,8 +5367,8 @@ export declare const EventDocument: z.ZodObject<{
5367
5367
  street?: string | null | undefined;
5368
5368
  zipCode?: string | null | undefined;
5369
5369
  } | {
5370
- firstname?: string | null | undefined;
5371
- surname?: string | null | undefined;
5370
+ firstname: string;
5371
+ surname: string;
5372
5372
  middlename?: string | null | undefined;
5373
5373
  } | {
5374
5374
  country: string;
@@ -5395,7 +5395,7 @@ export declare const EventDocument: z.ZodObject<{
5395
5395
  }[] | [string, string] | null | undefined>;
5396
5396
  requestId: string;
5397
5397
  createdBySignature?: string | null | undefined;
5398
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5398
+ createdAtLocation?: string | null | undefined;
5399
5399
  annotation?: Record<string, string | number | boolean | {
5400
5400
  type: string;
5401
5401
  filename: string;
@@ -5412,8 +5412,8 @@ export declare const EventDocument: z.ZodObject<{
5412
5412
  street?: string | null | undefined;
5413
5413
  zipCode?: string | null | undefined;
5414
5414
  } | {
5415
- firstname?: string | null | undefined;
5416
- surname?: string | null | undefined;
5415
+ firstname: string;
5416
+ surname: string;
5417
5417
  middlename?: string | null | undefined;
5418
5418
  } | {
5419
5419
  country: string;
@@ -5437,8 +5437,8 @@ export declare const EventDocument: z.ZodObject<{
5437
5437
  option: string;
5438
5438
  filename: string;
5439
5439
  originalFilename: string;
5440
- }[] | [string, string] | null | undefined> | null | undefined;
5441
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5440
+ }[] | [string, string] | null | undefined> | undefined;
5441
+ originalActionId?: string | undefined;
5442
5442
  }, {
5443
5443
  type: "REJECT_CORRECTION";
5444
5444
  id: string;
@@ -5464,8 +5464,8 @@ export declare const EventDocument: z.ZodObject<{
5464
5464
  street?: string | null | undefined;
5465
5465
  zipCode?: string | null | undefined;
5466
5466
  } | {
5467
- firstname?: string | null | undefined;
5468
- surname?: string | null | undefined;
5467
+ firstname: string;
5468
+ surname: string;
5469
5469
  middlename?: string | null | undefined;
5470
5470
  } | {
5471
5471
  country: string;
@@ -5509,8 +5509,8 @@ export declare const EventDocument: z.ZodObject<{
5509
5509
  street?: string | null | undefined;
5510
5510
  zipCode?: string | null | undefined;
5511
5511
  } | {
5512
- firstname?: string | null | undefined;
5513
- surname?: string | null | undefined;
5512
+ firstname: string;
5513
+ surname: string;
5514
5514
  middlename?: string | null | undefined;
5515
5515
  } | {
5516
5516
  country: string;
@@ -5534,17 +5534,17 @@ export declare const EventDocument: z.ZodObject<{
5534
5534
  option: string;
5535
5535
  filename: string;
5536
5536
  originalFilename: string;
5537
- }[] | [string, string] | null | undefined> | null | undefined;
5538
- originalActionId?: string | null | undefined;
5537
+ }[] | [string, string] | null | undefined> | undefined;
5538
+ originalActionId?: string | undefined;
5539
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
- id: z.ZodBranded<z.ZodString, "UUID">;
5540
+ id: z.ZodString;
5541
5541
  transactionId: z.ZodString;
5542
5542
  createdByUserType: z.ZodEnum<["user", "system"]>;
5543
5543
  createdAt: z.ZodString;
5544
5544
  createdBy: z.ZodString;
5545
5545
  createdByRole: z.ZodString;
5546
5546
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5547
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5548
5548
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5549
5549
  filename: z.ZodString;
5550
5550
  originalFilename: z.ZodString;
@@ -5659,19 +5659,19 @@ export declare const EventDocument: z.ZodObject<{
5659
5659
  addressLine3?: string | null | undefined;
5660
5660
  postcodeOrZip?: string | null | undefined;
5661
5661
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5662
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5662
+ firstname: z.ZodString;
5663
+ surname: z.ZodString;
5664
5664
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
5665
  }, "strip", z.ZodTypeAny, {
5666
- firstname?: string | null | undefined;
5667
- surname?: string | null | undefined;
5666
+ firstname: string;
5667
+ surname: string;
5668
5668
  middlename?: string | null | undefined;
5669
5669
  }, {
5670
- firstname?: string | null | undefined;
5671
- surname?: string | null | undefined;
5670
+ firstname: string;
5671
+ surname: string;
5672
5672
  middlename?: string | null | undefined;
5673
5673
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
- annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5674
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5675
5675
  filename: z.ZodString;
5676
5676
  originalFilename: z.ZodString;
5677
5677
  type: z.ZodString;
@@ -5785,25 +5785,26 @@ export declare const EventDocument: z.ZodObject<{
5785
5785
  addressLine3?: string | null | undefined;
5786
5786
  postcodeOrZip?: string | null | undefined;
5787
5787
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5788
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5788
+ firstname: z.ZodString;
5789
+ surname: z.ZodString;
5790
5790
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
5791
  }, "strip", z.ZodTypeAny, {
5792
- firstname?: string | null | undefined;
5793
- surname?: string | null | undefined;
5792
+ firstname: string;
5793
+ surname: string;
5794
5794
  middlename?: string | null | undefined;
5795
5795
  }, {
5796
- firstname?: string | null | undefined;
5797
- surname?: string | null | undefined;
5796
+ firstname: string;
5797
+ surname: string;
5798
5798
  middlename?: string | null | undefined;
5799
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
5799
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5800
5800
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5801
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5801
+ originalActionId: z.ZodOptional<z.ZodString>;
5802
5802
  }, {
5803
5803
  type: z.ZodLiteral<"UNASSIGN">;
5804
+ assignedTo: z.ZodLiteral<null>;
5804
5805
  }>, "strip", z.ZodTypeAny, {
5805
5806
  type: "UNASSIGN";
5806
- id: string & z.BRAND<"UUID">;
5807
+ id: string;
5807
5808
  status: "Rejected" | "Requested" | "Accepted";
5808
5809
  transactionId: string;
5809
5810
  createdByUserType: "system" | "user";
@@ -5826,8 +5827,8 @@ export declare const EventDocument: z.ZodObject<{
5826
5827
  street?: string | null | undefined;
5827
5828
  zipCode?: string | null | undefined;
5828
5829
  } | {
5829
- firstname?: string | null | undefined;
5830
- surname?: string | null | undefined;
5830
+ firstname: string;
5831
+ surname: string;
5831
5832
  middlename?: string | null | undefined;
5832
5833
  } | {
5833
5834
  country: string;
@@ -5852,8 +5853,9 @@ export declare const EventDocument: z.ZodObject<{
5852
5853
  filename: string;
5853
5854
  originalFilename: string;
5854
5855
  }[] | [string, string] | null | undefined>;
5856
+ assignedTo: null;
5855
5857
  createdBySignature?: string | null | undefined;
5856
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5858
+ createdAtLocation?: string | null | undefined;
5857
5859
  annotation?: Record<string, string | number | boolean | {
5858
5860
  type: string;
5859
5861
  filename: string;
@@ -5870,8 +5872,8 @@ export declare const EventDocument: z.ZodObject<{
5870
5872
  street?: string | null | undefined;
5871
5873
  zipCode?: string | null | undefined;
5872
5874
  } | {
5873
- firstname?: string | null | undefined;
5874
- surname?: string | null | undefined;
5875
+ firstname: string;
5876
+ surname: string;
5875
5877
  middlename?: string | null | undefined;
5876
5878
  } | {
5877
5879
  country: string;
@@ -5895,8 +5897,8 @@ export declare const EventDocument: z.ZodObject<{
5895
5897
  option: string;
5896
5898
  filename: string;
5897
5899
  originalFilename: string;
5898
- }[] | [string, string] | null | undefined> | null | undefined;
5899
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5900
+ }[] | [string, string] | null | undefined> | undefined;
5901
+ originalActionId?: string | undefined;
5900
5902
  }, {
5901
5903
  type: "UNASSIGN";
5902
5904
  id: string;
@@ -5922,8 +5924,8 @@ export declare const EventDocument: z.ZodObject<{
5922
5924
  street?: string | null | undefined;
5923
5925
  zipCode?: string | null | undefined;
5924
5926
  } | {
5925
- firstname?: string | null | undefined;
5926
- surname?: string | null | undefined;
5927
+ firstname: string;
5928
+ surname: string;
5927
5929
  middlename?: string | null | undefined;
5928
5930
  } | {
5929
5931
  country: string;
@@ -5948,6 +5950,7 @@ export declare const EventDocument: z.ZodObject<{
5948
5950
  filename: string;
5949
5951
  originalFilename: string;
5950
5952
  }[] | [string, string] | null | undefined>;
5953
+ assignedTo: null;
5951
5954
  createdBySignature?: string | null | undefined;
5952
5955
  createdAtLocation?: string | null | undefined;
5953
5956
  annotation?: Record<string, string | number | boolean | {
@@ -5966,8 +5969,8 @@ export declare const EventDocument: z.ZodObject<{
5966
5969
  street?: string | null | undefined;
5967
5970
  zipCode?: string | null | undefined;
5968
5971
  } | {
5969
- firstname?: string | null | undefined;
5970
- surname?: string | null | undefined;
5972
+ firstname: string;
5973
+ surname: string;
5971
5974
  middlename?: string | null | undefined;
5972
5975
  } | {
5973
5976
  country: string;
@@ -5991,17 +5994,17 @@ export declare const EventDocument: z.ZodObject<{
5991
5994
  option: string;
5992
5995
  filename: string;
5993
5996
  originalFilename: string;
5994
- }[] | [string, string] | null | undefined> | null | undefined;
5995
- originalActionId?: string | null | undefined;
5997
+ }[] | [string, string] | null | undefined> | undefined;
5998
+ originalActionId?: string | undefined;
5996
5999
  }>, z.ZodObject<z.objectUtil.extendShape<{
5997
- id: z.ZodBranded<z.ZodString, "UUID">;
6000
+ id: z.ZodString;
5998
6001
  transactionId: z.ZodString;
5999
6002
  createdByUserType: z.ZodEnum<["user", "system"]>;
6000
6003
  createdAt: z.ZodString;
6001
6004
  createdBy: z.ZodString;
6002
6005
  createdByRole: z.ZodString;
6003
6006
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6007
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6005
6008
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6006
6009
  filename: z.ZodString;
6007
6010
  originalFilename: z.ZodString;
@@ -6116,19 +6119,19 @@ export declare const EventDocument: z.ZodObject<{
6116
6119
  addressLine3?: string | null | undefined;
6117
6120
  postcodeOrZip?: string | null | undefined;
6118
6121
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6119
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
+ firstname: z.ZodString;
6123
+ surname: z.ZodString;
6121
6124
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
6125
  }, "strip", z.ZodTypeAny, {
6123
- firstname?: string | null | undefined;
6124
- surname?: string | null | undefined;
6126
+ firstname: string;
6127
+ surname: string;
6125
6128
  middlename?: string | null | undefined;
6126
6129
  }, {
6127
- firstname?: string | null | undefined;
6128
- surname?: string | null | undefined;
6130
+ firstname: string;
6131
+ surname: string;
6129
6132
  middlename?: string | null | undefined;
6130
6133
  }>, 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<{
6134
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6132
6135
  filename: z.ZodString;
6133
6136
  originalFilename: z.ZodString;
6134
6137
  type: z.ZodString;
@@ -6242,25 +6245,25 @@ export declare const EventDocument: z.ZodObject<{
6242
6245
  addressLine3?: string | null | undefined;
6243
6246
  postcodeOrZip?: string | null | undefined;
6244
6247
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6245
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
+ firstname: z.ZodString;
6249
+ surname: z.ZodString;
6247
6250
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6248
6251
  }, "strip", z.ZodTypeAny, {
6249
- firstname?: string | null | undefined;
6250
- surname?: string | null | undefined;
6252
+ firstname: string;
6253
+ surname: string;
6251
6254
  middlename?: string | null | undefined;
6252
6255
  }, {
6253
- firstname?: string | null | undefined;
6254
- surname?: string | null | undefined;
6256
+ firstname: string;
6257
+ surname: string;
6255
6258
  middlename?: string | null | undefined;
6256
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6259
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6257
6260
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6258
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6261
+ originalActionId: z.ZodOptional<z.ZodString>;
6259
6262
  }, {
6260
6263
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6261
6264
  }>, "strip", z.ZodTypeAny, {
6262
6265
  type: "PRINT_CERTIFICATE";
6263
- id: string & z.BRAND<"UUID">;
6266
+ id: string;
6264
6267
  status: "Rejected" | "Requested" | "Accepted";
6265
6268
  transactionId: string;
6266
6269
  createdByUserType: "system" | "user";
@@ -6283,8 +6286,8 @@ export declare const EventDocument: z.ZodObject<{
6283
6286
  street?: string | null | undefined;
6284
6287
  zipCode?: string | null | undefined;
6285
6288
  } | {
6286
- firstname?: string | null | undefined;
6287
- surname?: string | null | undefined;
6289
+ firstname: string;
6290
+ surname: string;
6288
6291
  middlename?: string | null | undefined;
6289
6292
  } | {
6290
6293
  country: string;
@@ -6310,7 +6313,7 @@ export declare const EventDocument: z.ZodObject<{
6310
6313
  originalFilename: string;
6311
6314
  }[] | [string, string] | null | undefined>;
6312
6315
  createdBySignature?: string | null | undefined;
6313
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6316
+ createdAtLocation?: string | null | undefined;
6314
6317
  annotation?: Record<string, string | number | boolean | {
6315
6318
  type: string;
6316
6319
  filename: string;
@@ -6327,8 +6330,8 @@ export declare const EventDocument: z.ZodObject<{
6327
6330
  street?: string | null | undefined;
6328
6331
  zipCode?: string | null | undefined;
6329
6332
  } | {
6330
- firstname?: string | null | undefined;
6331
- surname?: string | null | undefined;
6333
+ firstname: string;
6334
+ surname: string;
6332
6335
  middlename?: string | null | undefined;
6333
6336
  } | {
6334
6337
  country: string;
@@ -6352,8 +6355,8 @@ export declare const EventDocument: z.ZodObject<{
6352
6355
  option: string;
6353
6356
  filename: string;
6354
6357
  originalFilename: string;
6355
- }[] | [string, string] | null | undefined> | null | undefined;
6356
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6358
+ }[] | [string, string] | null | undefined> | undefined;
6359
+ originalActionId?: string | undefined;
6357
6360
  }, {
6358
6361
  type: "PRINT_CERTIFICATE";
6359
6362
  id: string;
@@ -6379,8 +6382,8 @@ export declare const EventDocument: z.ZodObject<{
6379
6382
  street?: string | null | undefined;
6380
6383
  zipCode?: string | null | undefined;
6381
6384
  } | {
6382
- firstname?: string | null | undefined;
6383
- surname?: string | null | undefined;
6385
+ firstname: string;
6386
+ surname: string;
6384
6387
  middlename?: string | null | undefined;
6385
6388
  } | {
6386
6389
  country: string;
@@ -6423,8 +6426,8 @@ export declare const EventDocument: z.ZodObject<{
6423
6426
  street?: string | null | undefined;
6424
6427
  zipCode?: string | null | undefined;
6425
6428
  } | {
6426
- firstname?: string | null | undefined;
6427
- surname?: string | null | undefined;
6429
+ firstname: string;
6430
+ surname: string;
6428
6431
  middlename?: string | null | undefined;
6429
6432
  } | {
6430
6433
  country: string;
@@ -6448,17 +6451,17 @@ export declare const EventDocument: z.ZodObject<{
6448
6451
  option: string;
6449
6452
  filename: string;
6450
6453
  originalFilename: string;
6451
- }[] | [string, string] | null | undefined> | null | undefined;
6452
- originalActionId?: string | null | undefined;
6454
+ }[] | [string, string] | null | undefined> | undefined;
6455
+ originalActionId?: string | undefined;
6453
6456
  }>, z.ZodObject<z.objectUtil.extendShape<{
6454
- id: z.ZodBranded<z.ZodString, "UUID">;
6457
+ id: z.ZodString;
6455
6458
  transactionId: z.ZodString;
6456
6459
  createdByUserType: z.ZodEnum<["user", "system"]>;
6457
6460
  createdAt: z.ZodString;
6458
6461
  createdBy: z.ZodString;
6459
6462
  createdByRole: z.ZodString;
6460
6463
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6464
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6462
6465
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6463
6466
  filename: z.ZodString;
6464
6467
  originalFilename: z.ZodString;
@@ -6573,19 +6576,19 @@ export declare const EventDocument: z.ZodObject<{
6573
6576
  addressLine3?: string | null | undefined;
6574
6577
  postcodeOrZip?: string | null | undefined;
6575
6578
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6576
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
+ firstname: z.ZodString;
6580
+ surname: z.ZodString;
6578
6581
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6579
6582
  }, "strip", z.ZodTypeAny, {
6580
- firstname?: string | null | undefined;
6581
- surname?: string | null | undefined;
6583
+ firstname: string;
6584
+ surname: string;
6582
6585
  middlename?: string | null | undefined;
6583
6586
  }, {
6584
- firstname?: string | null | undefined;
6585
- surname?: string | null | undefined;
6587
+ firstname: string;
6588
+ surname: string;
6586
6589
  middlename?: string | null | undefined;
6587
6590
  }>, 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<{
6591
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6589
6592
  filename: z.ZodString;
6590
6593
  originalFilename: z.ZodString;
6591
6594
  type: z.ZodString;
@@ -6699,25 +6702,25 @@ export declare const EventDocument: z.ZodObject<{
6699
6702
  addressLine3?: string | null | undefined;
6700
6703
  postcodeOrZip?: string | null | undefined;
6701
6704
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6702
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
+ firstname: z.ZodString;
6706
+ surname: z.ZodString;
6704
6707
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6705
6708
  }, "strip", z.ZodTypeAny, {
6706
- firstname?: string | null | undefined;
6707
- surname?: string | null | undefined;
6709
+ firstname: string;
6710
+ surname: string;
6708
6711
  middlename?: string | null | undefined;
6709
6712
  }, {
6710
- firstname?: string | null | undefined;
6711
- surname?: string | null | undefined;
6713
+ firstname: string;
6714
+ surname: string;
6712
6715
  middlename?: string | null | undefined;
6713
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6716
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6714
6717
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6715
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6718
+ originalActionId: z.ZodOptional<z.ZodString>;
6716
6719
  }, {
6717
6720
  type: z.ZodLiteral<"READ">;
6718
6721
  }>, "strip", z.ZodTypeAny, {
6719
6722
  type: "READ";
6720
- id: string & z.BRAND<"UUID">;
6723
+ id: string;
6721
6724
  status: "Rejected" | "Requested" | "Accepted";
6722
6725
  transactionId: string;
6723
6726
  createdByUserType: "system" | "user";
@@ -6740,8 +6743,8 @@ export declare const EventDocument: z.ZodObject<{
6740
6743
  street?: string | null | undefined;
6741
6744
  zipCode?: string | null | undefined;
6742
6745
  } | {
6743
- firstname?: string | null | undefined;
6744
- surname?: string | null | undefined;
6746
+ firstname: string;
6747
+ surname: string;
6745
6748
  middlename?: string | null | undefined;
6746
6749
  } | {
6747
6750
  country: string;
@@ -6767,7 +6770,7 @@ export declare const EventDocument: z.ZodObject<{
6767
6770
  originalFilename: string;
6768
6771
  }[] | [string, string] | null | undefined>;
6769
6772
  createdBySignature?: string | null | undefined;
6770
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6773
+ createdAtLocation?: string | null | undefined;
6771
6774
  annotation?: Record<string, string | number | boolean | {
6772
6775
  type: string;
6773
6776
  filename: string;
@@ -6784,8 +6787,8 @@ export declare const EventDocument: z.ZodObject<{
6784
6787
  street?: string | null | undefined;
6785
6788
  zipCode?: string | null | undefined;
6786
6789
  } | {
6787
- firstname?: string | null | undefined;
6788
- surname?: string | null | undefined;
6790
+ firstname: string;
6791
+ surname: string;
6789
6792
  middlename?: string | null | undefined;
6790
6793
  } | {
6791
6794
  country: string;
@@ -6809,8 +6812,8 @@ export declare const EventDocument: z.ZodObject<{
6809
6812
  option: string;
6810
6813
  filename: string;
6811
6814
  originalFilename: string;
6812
- }[] | [string, string] | null | undefined> | null | undefined;
6813
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6815
+ }[] | [string, string] | null | undefined> | undefined;
6816
+ originalActionId?: string | undefined;
6814
6817
  }, {
6815
6818
  type: "READ";
6816
6819
  id: string;
@@ -6836,8 +6839,8 @@ export declare const EventDocument: z.ZodObject<{
6836
6839
  street?: string | null | undefined;
6837
6840
  zipCode?: string | null | undefined;
6838
6841
  } | {
6839
- firstname?: string | null | undefined;
6840
- surname?: string | null | undefined;
6842
+ firstname: string;
6843
+ surname: string;
6841
6844
  middlename?: string | null | undefined;
6842
6845
  } | {
6843
6846
  country: string;
@@ -6880,8 +6883,8 @@ export declare const EventDocument: z.ZodObject<{
6880
6883
  street?: string | null | undefined;
6881
6884
  zipCode?: string | null | undefined;
6882
6885
  } | {
6883
- firstname?: string | null | undefined;
6884
- surname?: string | null | undefined;
6886
+ firstname: string;
6887
+ surname: string;
6885
6888
  middlename?: string | null | undefined;
6886
6889
  } | {
6887
6890
  country: string;
@@ -6905,17 +6908,17 @@ export declare const EventDocument: z.ZodObject<{
6905
6908
  option: string;
6906
6909
  filename: string;
6907
6910
  originalFilename: string;
6908
- }[] | [string, string] | null | undefined> | null | undefined;
6909
- originalActionId?: string | null | undefined;
6911
+ }[] | [string, string] | null | undefined> | undefined;
6912
+ originalActionId?: string | undefined;
6910
6913
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6911
- id: z.ZodBranded<z.ZodString, "UUID">;
6914
+ id: z.ZodString;
6912
6915
  transactionId: z.ZodString;
6913
6916
  createdByUserType: z.ZodEnum<["user", "system"]>;
6914
6917
  createdAt: z.ZodString;
6915
6918
  createdBy: z.ZodString;
6916
6919
  createdByRole: z.ZodString;
6917
6920
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6919
6922
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6920
6923
  filename: z.ZodString;
6921
6924
  originalFilename: z.ZodString;
@@ -7030,19 +7033,19 @@ export declare const EventDocument: z.ZodObject<{
7030
7033
  addressLine3?: string | null | undefined;
7031
7034
  postcodeOrZip?: string | null | undefined;
7032
7035
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7033
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
+ firstname: z.ZodString;
7037
+ surname: z.ZodString;
7035
7038
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7036
7039
  }, "strip", z.ZodTypeAny, {
7037
- firstname?: string | null | undefined;
7038
- surname?: string | null | undefined;
7040
+ firstname: string;
7041
+ surname: string;
7039
7042
  middlename?: string | null | undefined;
7040
7043
  }, {
7041
- firstname?: string | null | undefined;
7042
- surname?: string | null | undefined;
7044
+ firstname: string;
7045
+ surname: string;
7043
7046
  middlename?: string | null | undefined;
7044
7047
  }>, 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<{
7048
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7046
7049
  filename: z.ZodString;
7047
7050
  originalFilename: z.ZodString;
7048
7051
  type: z.ZodString;
@@ -7156,26 +7159,26 @@ export declare const EventDocument: z.ZodObject<{
7156
7159
  addressLine3?: string | null | undefined;
7157
7160
  postcodeOrZip?: string | null | undefined;
7158
7161
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7159
- firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
- surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
+ firstname: z.ZodString;
7163
+ surname: z.ZodString;
7161
7164
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7162
7165
  }, "strip", z.ZodTypeAny, {
7163
- firstname?: string | null | undefined;
7164
- surname?: string | null | undefined;
7166
+ firstname: string;
7167
+ surname: string;
7165
7168
  middlename?: string | null | undefined;
7166
7169
  }, {
7167
- firstname?: string | null | undefined;
7168
- surname?: string | null | undefined;
7170
+ firstname: string;
7171
+ surname: string;
7169
7172
  middlename?: string | null | undefined;
7170
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7173
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7171
7174
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7172
- originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7175
+ originalActionId: z.ZodOptional<z.ZodString>;
7173
7176
  }, "declaration" | "annotation">, {
7174
7177
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7175
7178
  status: z.ZodLiteral<"Rejected">;
7176
7179
  }>, "strip", z.ZodTypeAny, {
7177
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
- id: string & z.BRAND<"UUID">;
7180
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7181
+ id: string;
7179
7182
  status: "Rejected";
7180
7183
  transactionId: string;
7181
7184
  createdByUserType: "system" | "user";
@@ -7183,10 +7186,10 @@ export declare const EventDocument: z.ZodObject<{
7183
7186
  createdBy: string;
7184
7187
  createdByRole: string;
7185
7188
  createdBySignature?: string | null | undefined;
7186
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7189
+ createdAtLocation?: string | null | undefined;
7190
+ originalActionId?: string | undefined;
7188
7191
  }, {
7189
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7192
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7190
7193
  id: string;
7191
7194
  status: "Rejected";
7192
7195
  transactionId: string;
@@ -7196,17 +7199,17 @@ export declare const EventDocument: z.ZodObject<{
7196
7199
  createdByRole: string;
7197
7200
  createdBySignature?: string | null | undefined;
7198
7201
  createdAtLocation?: string | null | undefined;
7199
- originalActionId?: string | null | undefined;
7202
+ originalActionId?: string | undefined;
7200
7203
  }>]>, "many">;
7201
7204
  trackingId: z.ZodString;
7202
7205
  }, "strip", z.ZodTypeAny, {
7203
7206
  type: string;
7204
- id: string & z.BRAND<"UUID">;
7207
+ id: string;
7205
7208
  createdAt: string;
7206
7209
  updatedAt: string;
7207
7210
  actions: ({
7208
7211
  type: "ASSIGN";
7209
- id: string & z.BRAND<"UUID">;
7212
+ id: string;
7210
7213
  status: "Rejected" | "Requested" | "Accepted";
7211
7214
  transactionId: string;
7212
7215
  createdByUserType: "system" | "user";
@@ -7229,8 +7232,8 @@ export declare const EventDocument: z.ZodObject<{
7229
7232
  street?: string | null | undefined;
7230
7233
  zipCode?: string | null | undefined;
7231
7234
  } | {
7232
- firstname?: string | null | undefined;
7233
- surname?: string | null | undefined;
7235
+ firstname: string;
7236
+ surname: string;
7234
7237
  middlename?: string | null | undefined;
7235
7238
  } | {
7236
7239
  country: string;
@@ -7257,7 +7260,7 @@ export declare const EventDocument: z.ZodObject<{
7257
7260
  }[] | [string, string] | null | undefined>;
7258
7261
  assignedTo: string;
7259
7262
  createdBySignature?: string | null | undefined;
7260
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7263
+ createdAtLocation?: string | null | undefined;
7261
7264
  annotation?: Record<string, string | number | boolean | {
7262
7265
  type: string;
7263
7266
  filename: string;
@@ -7274,8 +7277,8 @@ export declare const EventDocument: z.ZodObject<{
7274
7277
  street?: string | null | undefined;
7275
7278
  zipCode?: string | null | undefined;
7276
7279
  } | {
7277
- firstname?: string | null | undefined;
7278
- surname?: string | null | undefined;
7280
+ firstname: string;
7281
+ surname: string;
7279
7282
  middlename?: string | null | undefined;
7280
7283
  } | {
7281
7284
  country: string;
@@ -7299,11 +7302,11 @@ export declare const EventDocument: z.ZodObject<{
7299
7302
  option: string;
7300
7303
  filename: string;
7301
7304
  originalFilename: string;
7302
- }[] | [string, string] | null | undefined> | null | undefined;
7303
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7305
+ }[] | [string, string] | null | undefined> | undefined;
7306
+ originalActionId?: string | undefined;
7304
7307
  } | {
7305
7308
  type: "UNASSIGN";
7306
- id: string & z.BRAND<"UUID">;
7309
+ id: string;
7307
7310
  status: "Rejected" | "Requested" | "Accepted";
7308
7311
  transactionId: string;
7309
7312
  createdByUserType: "system" | "user";
@@ -7326,8 +7329,8 @@ export declare const EventDocument: z.ZodObject<{
7326
7329
  street?: string | null | undefined;
7327
7330
  zipCode?: string | null | undefined;
7328
7331
  } | {
7329
- firstname?: string | null | undefined;
7330
- surname?: string | null | undefined;
7332
+ firstname: string;
7333
+ surname: string;
7331
7334
  middlename?: string | null | undefined;
7332
7335
  } | {
7333
7336
  country: string;
@@ -7352,8 +7355,9 @@ export declare const EventDocument: z.ZodObject<{
7352
7355
  filename: string;
7353
7356
  originalFilename: string;
7354
7357
  }[] | [string, string] | null | undefined>;
7358
+ assignedTo: null;
7355
7359
  createdBySignature?: string | null | undefined;
7356
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7360
+ createdAtLocation?: string | null | undefined;
7357
7361
  annotation?: Record<string, string | number | boolean | {
7358
7362
  type: string;
7359
7363
  filename: string;
@@ -7370,8 +7374,8 @@ export declare const EventDocument: z.ZodObject<{
7370
7374
  street?: string | null | undefined;
7371
7375
  zipCode?: string | null | undefined;
7372
7376
  } | {
7373
- firstname?: string | null | undefined;
7374
- surname?: string | null | undefined;
7377
+ firstname: string;
7378
+ surname: string;
7375
7379
  middlename?: string | null | undefined;
7376
7380
  } | {
7377
7381
  country: string;
@@ -7395,11 +7399,11 @@ export declare const EventDocument: z.ZodObject<{
7395
7399
  option: string;
7396
7400
  filename: string;
7397
7401
  originalFilename: string;
7398
- }[] | [string, string] | null | undefined> | null | undefined;
7399
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7402
+ }[] | [string, string] | null | undefined> | undefined;
7403
+ originalActionId?: string | undefined;
7400
7404
  } | {
7401
7405
  type: "REGISTER";
7402
- id: string & z.BRAND<"UUID">;
7406
+ id: string;
7403
7407
  status: "Rejected" | "Requested" | "Accepted";
7404
7408
  transactionId: string;
7405
7409
  createdByUserType: "system" | "user";
@@ -7422,8 +7426,8 @@ export declare const EventDocument: z.ZodObject<{
7422
7426
  street?: string | null | undefined;
7423
7427
  zipCode?: string | null | undefined;
7424
7428
  } | {
7425
- firstname?: string | null | undefined;
7426
- surname?: string | null | undefined;
7429
+ firstname: string;
7430
+ surname: string;
7427
7431
  middlename?: string | null | undefined;
7428
7432
  } | {
7429
7433
  country: string;
@@ -7449,7 +7453,7 @@ export declare const EventDocument: z.ZodObject<{
7449
7453
  originalFilename: string;
7450
7454
  }[] | [string, string] | null | undefined>;
7451
7455
  createdBySignature?: string | null | undefined;
7452
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7456
+ createdAtLocation?: string | null | undefined;
7453
7457
  annotation?: Record<string, string | number | boolean | {
7454
7458
  type: string;
7455
7459
  filename: string;
@@ -7466,8 +7470,8 @@ export declare const EventDocument: z.ZodObject<{
7466
7470
  street?: string | null | undefined;
7467
7471
  zipCode?: string | null | undefined;
7468
7472
  } | {
7469
- firstname?: string | null | undefined;
7470
- surname?: string | null | undefined;
7473
+ firstname: string;
7474
+ surname: string;
7471
7475
  middlename?: string | null | undefined;
7472
7476
  } | {
7473
7477
  country: string;
@@ -7491,12 +7495,12 @@ export declare const EventDocument: z.ZodObject<{
7491
7495
  option: string;
7492
7496
  filename: string;
7493
7497
  originalFilename: string;
7494
- }[] | [string, string] | null | undefined> | null | undefined;
7495
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7498
+ }[] | [string, string] | null | undefined> | undefined;
7499
+ originalActionId?: string | undefined;
7496
7500
  registrationNumber?: string | undefined;
7497
7501
  } | {
7498
7502
  type: "DECLARE";
7499
- id: string & z.BRAND<"UUID">;
7503
+ id: string;
7500
7504
  status: "Rejected" | "Requested" | "Accepted";
7501
7505
  transactionId: string;
7502
7506
  createdByUserType: "system" | "user";
@@ -7519,8 +7523,8 @@ export declare const EventDocument: z.ZodObject<{
7519
7523
  street?: string | null | undefined;
7520
7524
  zipCode?: string | null | undefined;
7521
7525
  } | {
7522
- firstname?: string | null | undefined;
7523
- surname?: string | null | undefined;
7526
+ firstname: string;
7527
+ surname: string;
7524
7528
  middlename?: string | null | undefined;
7525
7529
  } | {
7526
7530
  country: string;
@@ -7546,7 +7550,7 @@ export declare const EventDocument: z.ZodObject<{
7546
7550
  originalFilename: string;
7547
7551
  }[] | [string, string] | null | undefined>;
7548
7552
  createdBySignature?: string | null | undefined;
7549
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7553
+ createdAtLocation?: string | null | undefined;
7550
7554
  annotation?: Record<string, string | number | boolean | {
7551
7555
  type: string;
7552
7556
  filename: string;
@@ -7563,8 +7567,8 @@ export declare const EventDocument: z.ZodObject<{
7563
7567
  street?: string | null | undefined;
7564
7568
  zipCode?: string | null | undefined;
7565
7569
  } | {
7566
- firstname?: string | null | undefined;
7567
- surname?: string | null | undefined;
7570
+ firstname: string;
7571
+ surname: string;
7568
7572
  middlename?: string | null | undefined;
7569
7573
  } | {
7570
7574
  country: string;
@@ -7588,11 +7592,11 @@ export declare const EventDocument: z.ZodObject<{
7588
7592
  option: string;
7589
7593
  filename: string;
7590
7594
  originalFilename: string;
7591
- }[] | [string, string] | null | undefined> | null | undefined;
7592
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7595
+ }[] | [string, string] | null | undefined> | undefined;
7596
+ originalActionId?: string | undefined;
7593
7597
  } | {
7594
7598
  type: "VALIDATE";
7595
- id: string & z.BRAND<"UUID">;
7599
+ id: string;
7596
7600
  status: "Rejected" | "Requested" | "Accepted";
7597
7601
  transactionId: string;
7598
7602
  createdByUserType: "system" | "user";
@@ -7615,8 +7619,8 @@ export declare const EventDocument: z.ZodObject<{
7615
7619
  street?: string | null | undefined;
7616
7620
  zipCode?: string | null | undefined;
7617
7621
  } | {
7618
- firstname?: string | null | undefined;
7619
- surname?: string | null | undefined;
7622
+ firstname: string;
7623
+ surname: string;
7620
7624
  middlename?: string | null | undefined;
7621
7625
  } | {
7622
7626
  country: string;
@@ -7642,7 +7646,7 @@ export declare const EventDocument: z.ZodObject<{
7642
7646
  originalFilename: string;
7643
7647
  }[] | [string, string] | null | undefined>;
7644
7648
  createdBySignature?: string | null | undefined;
7645
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7649
+ createdAtLocation?: string | null | undefined;
7646
7650
  annotation?: Record<string, string | number | boolean | {
7647
7651
  type: string;
7648
7652
  filename: string;
@@ -7659,8 +7663,8 @@ export declare const EventDocument: z.ZodObject<{
7659
7663
  street?: string | null | undefined;
7660
7664
  zipCode?: string | null | undefined;
7661
7665
  } | {
7662
- firstname?: string | null | undefined;
7663
- surname?: string | null | undefined;
7666
+ firstname: string;
7667
+ surname: string;
7664
7668
  middlename?: string | null | undefined;
7665
7669
  } | {
7666
7670
  country: string;
@@ -7684,11 +7688,11 @@ export declare const EventDocument: z.ZodObject<{
7684
7688
  option: string;
7685
7689
  filename: string;
7686
7690
  originalFilename: string;
7687
- }[] | [string, string] | null | undefined> | null | undefined;
7688
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7691
+ }[] | [string, string] | null | undefined> | undefined;
7692
+ originalActionId?: string | undefined;
7689
7693
  } | {
7690
7694
  type: "REJECT";
7691
- id: string & z.BRAND<"UUID">;
7695
+ id: string;
7692
7696
  status: "Rejected" | "Requested" | "Accepted";
7693
7697
  reason: {
7694
7698
  message: string;
@@ -7715,8 +7719,8 @@ export declare const EventDocument: z.ZodObject<{
7715
7719
  street?: string | null | undefined;
7716
7720
  zipCode?: string | null | undefined;
7717
7721
  } | {
7718
- firstname?: string | null | undefined;
7719
- surname?: string | null | undefined;
7722
+ firstname: string;
7723
+ surname: string;
7720
7724
  middlename?: string | null | undefined;
7721
7725
  } | {
7722
7726
  country: string;
@@ -7742,7 +7746,7 @@ export declare const EventDocument: z.ZodObject<{
7742
7746
  originalFilename: string;
7743
7747
  }[] | [string, string] | null | undefined>;
7744
7748
  createdBySignature?: string | null | undefined;
7745
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7749
+ createdAtLocation?: string | null | undefined;
7746
7750
  annotation?: Record<string, string | number | boolean | {
7747
7751
  type: string;
7748
7752
  filename: string;
@@ -7759,8 +7763,8 @@ export declare const EventDocument: z.ZodObject<{
7759
7763
  street?: string | null | undefined;
7760
7764
  zipCode?: string | null | undefined;
7761
7765
  } | {
7762
- firstname?: string | null | undefined;
7763
- surname?: string | null | undefined;
7766
+ firstname: string;
7767
+ surname: string;
7764
7768
  middlename?: string | null | undefined;
7765
7769
  } | {
7766
7770
  country: string;
@@ -7784,11 +7788,11 @@ export declare const EventDocument: z.ZodObject<{
7784
7788
  option: string;
7785
7789
  filename: string;
7786
7790
  originalFilename: string;
7787
- }[] | [string, string] | null | undefined> | null | undefined;
7788
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7791
+ }[] | [string, string] | null | undefined> | undefined;
7792
+ originalActionId?: string | undefined;
7789
7793
  } | {
7790
7794
  type: "MARKED_AS_DUPLICATE";
7791
- id: string & z.BRAND<"UUID">;
7795
+ id: string;
7792
7796
  status: "Rejected" | "Requested" | "Accepted";
7793
7797
  transactionId: string;
7794
7798
  createdByUserType: "system" | "user";
@@ -7811,8 +7815,8 @@ export declare const EventDocument: z.ZodObject<{
7811
7815
  street?: string | null | undefined;
7812
7816
  zipCode?: string | null | undefined;
7813
7817
  } | {
7814
- firstname?: string | null | undefined;
7815
- surname?: string | null | undefined;
7818
+ firstname: string;
7819
+ surname: string;
7816
7820
  middlename?: string | null | undefined;
7817
7821
  } | {
7818
7822
  country: string;
@@ -7838,7 +7842,7 @@ export declare const EventDocument: z.ZodObject<{
7838
7842
  originalFilename: string;
7839
7843
  }[] | [string, string] | null | undefined>;
7840
7844
  createdBySignature?: string | null | undefined;
7841
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7845
+ createdAtLocation?: string | null | undefined;
7842
7846
  annotation?: Record<string, string | number | boolean | {
7843
7847
  type: string;
7844
7848
  filename: string;
@@ -7855,8 +7859,8 @@ export declare const EventDocument: z.ZodObject<{
7855
7859
  street?: string | null | undefined;
7856
7860
  zipCode?: string | null | undefined;
7857
7861
  } | {
7858
- firstname?: string | null | undefined;
7859
- surname?: string | null | undefined;
7862
+ firstname: string;
7863
+ surname: string;
7860
7864
  middlename?: string | null | undefined;
7861
7865
  } | {
7862
7866
  country: string;
@@ -7880,11 +7884,11 @@ export declare const EventDocument: z.ZodObject<{
7880
7884
  option: string;
7881
7885
  filename: string;
7882
7886
  originalFilename: string;
7883
- }[] | [string, string] | null | undefined> | null | undefined;
7884
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7887
+ }[] | [string, string] | null | undefined> | undefined;
7888
+ originalActionId?: string | undefined;
7885
7889
  } | {
7886
7890
  type: "ARCHIVE";
7887
- id: string & z.BRAND<"UUID">;
7891
+ id: string;
7888
7892
  status: "Rejected" | "Requested" | "Accepted";
7889
7893
  reason: {
7890
7894
  message: string;
@@ -7911,8 +7915,8 @@ export declare const EventDocument: z.ZodObject<{
7911
7915
  street?: string | null | undefined;
7912
7916
  zipCode?: string | null | undefined;
7913
7917
  } | {
7914
- firstname?: string | null | undefined;
7915
- surname?: string | null | undefined;
7918
+ firstname: string;
7919
+ surname: string;
7916
7920
  middlename?: string | null | undefined;
7917
7921
  } | {
7918
7922
  country: string;
@@ -7938,7 +7942,7 @@ export declare const EventDocument: z.ZodObject<{
7938
7942
  originalFilename: string;
7939
7943
  }[] | [string, string] | null | undefined>;
7940
7944
  createdBySignature?: string | null | undefined;
7941
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7945
+ createdAtLocation?: string | null | undefined;
7942
7946
  annotation?: Record<string, string | number | boolean | {
7943
7947
  type: string;
7944
7948
  filename: string;
@@ -7955,8 +7959,8 @@ export declare const EventDocument: z.ZodObject<{
7955
7959
  street?: string | null | undefined;
7956
7960
  zipCode?: string | null | undefined;
7957
7961
  } | {
7958
- firstname?: string | null | undefined;
7959
- surname?: string | null | undefined;
7962
+ firstname: string;
7963
+ surname: string;
7960
7964
  middlename?: string | null | undefined;
7961
7965
  } | {
7962
7966
  country: string;
@@ -7980,11 +7984,11 @@ export declare const EventDocument: z.ZodObject<{
7980
7984
  option: string;
7981
7985
  filename: string;
7982
7986
  originalFilename: string;
7983
- }[] | [string, string] | null | undefined> | null | undefined;
7984
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7987
+ }[] | [string, string] | null | undefined> | undefined;
7988
+ originalActionId?: string | undefined;
7985
7989
  } | {
7986
7990
  type: "CREATE";
7987
- id: string & z.BRAND<"UUID">;
7991
+ id: string;
7988
7992
  status: "Rejected" | "Requested" | "Accepted";
7989
7993
  transactionId: string;
7990
7994
  createdByUserType: "system" | "user";
@@ -8007,8 +8011,8 @@ export declare const EventDocument: z.ZodObject<{
8007
8011
  street?: string | null | undefined;
8008
8012
  zipCode?: string | null | undefined;
8009
8013
  } | {
8010
- firstname?: string | null | undefined;
8011
- surname?: string | null | undefined;
8014
+ firstname: string;
8015
+ surname: string;
8012
8016
  middlename?: string | null | undefined;
8013
8017
  } | {
8014
8018
  country: string;
@@ -8034,7 +8038,7 @@ export declare const EventDocument: z.ZodObject<{
8034
8038
  originalFilename: string;
8035
8039
  }[] | [string, string] | null | undefined>;
8036
8040
  createdBySignature?: string | null | undefined;
8037
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8041
+ createdAtLocation?: string | null | undefined;
8038
8042
  annotation?: Record<string, string | number | boolean | {
8039
8043
  type: string;
8040
8044
  filename: string;
@@ -8051,8 +8055,8 @@ export declare const EventDocument: z.ZodObject<{
8051
8055
  street?: string | null | undefined;
8052
8056
  zipCode?: string | null | undefined;
8053
8057
  } | {
8054
- firstname?: string | null | undefined;
8055
- surname?: string | null | undefined;
8058
+ firstname: string;
8059
+ surname: string;
8056
8060
  middlename?: string | null | undefined;
8057
8061
  } | {
8058
8062
  country: string;
@@ -8076,11 +8080,11 @@ export declare const EventDocument: z.ZodObject<{
8076
8080
  option: string;
8077
8081
  filename: string;
8078
8082
  originalFilename: string;
8079
- }[] | [string, string] | null | undefined> | null | undefined;
8080
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8083
+ }[] | [string, string] | null | undefined> | undefined;
8084
+ originalActionId?: string | undefined;
8081
8085
  } | {
8082
8086
  type: "NOTIFY";
8083
- id: string & z.BRAND<"UUID">;
8087
+ id: string;
8084
8088
  status: "Rejected" | "Requested" | "Accepted";
8085
8089
  transactionId: string;
8086
8090
  createdByUserType: "system" | "user";
@@ -8103,8 +8107,8 @@ export declare const EventDocument: z.ZodObject<{
8103
8107
  street?: string | null | undefined;
8104
8108
  zipCode?: string | null | undefined;
8105
8109
  } | {
8106
- firstname?: string | null | undefined;
8107
- surname?: string | null | undefined;
8110
+ firstname: string;
8111
+ surname: string;
8108
8112
  middlename?: string | null | undefined;
8109
8113
  } | {
8110
8114
  country: string;
@@ -8130,7 +8134,7 @@ export declare const EventDocument: z.ZodObject<{
8130
8134
  originalFilename: string;
8131
8135
  }[] | [string, string] | null | undefined>;
8132
8136
  createdBySignature?: string | null | undefined;
8133
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8137
+ createdAtLocation?: string | null | undefined;
8134
8138
  annotation?: Record<string, string | number | boolean | {
8135
8139
  type: string;
8136
8140
  filename: string;
@@ -8147,8 +8151,8 @@ export declare const EventDocument: z.ZodObject<{
8147
8151
  street?: string | null | undefined;
8148
8152
  zipCode?: string | null | undefined;
8149
8153
  } | {
8150
- firstname?: string | null | undefined;
8151
- surname?: string | null | undefined;
8154
+ firstname: string;
8155
+ surname: string;
8152
8156
  middlename?: string | null | undefined;
8153
8157
  } | {
8154
8158
  country: string;
@@ -8172,11 +8176,11 @@ export declare const EventDocument: z.ZodObject<{
8172
8176
  option: string;
8173
8177
  filename: string;
8174
8178
  originalFilename: string;
8175
- }[] | [string, string] | null | undefined> | null | undefined;
8176
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8179
+ }[] | [string, string] | null | undefined> | undefined;
8180
+ originalActionId?: string | undefined;
8177
8181
  } | {
8178
8182
  type: "PRINT_CERTIFICATE";
8179
- id: string & z.BRAND<"UUID">;
8183
+ id: string;
8180
8184
  status: "Rejected" | "Requested" | "Accepted";
8181
8185
  transactionId: string;
8182
8186
  createdByUserType: "system" | "user";
@@ -8199,8 +8203,8 @@ export declare const EventDocument: z.ZodObject<{
8199
8203
  street?: string | null | undefined;
8200
8204
  zipCode?: string | null | undefined;
8201
8205
  } | {
8202
- firstname?: string | null | undefined;
8203
- surname?: string | null | undefined;
8206
+ firstname: string;
8207
+ surname: string;
8204
8208
  middlename?: string | null | undefined;
8205
8209
  } | {
8206
8210
  country: string;
@@ -8226,7 +8230,7 @@ export declare const EventDocument: z.ZodObject<{
8226
8230
  originalFilename: string;
8227
8231
  }[] | [string, string] | null | undefined>;
8228
8232
  createdBySignature?: string | null | undefined;
8229
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8233
+ createdAtLocation?: string | null | undefined;
8230
8234
  annotation?: Record<string, string | number | boolean | {
8231
8235
  type: string;
8232
8236
  filename: string;
@@ -8243,8 +8247,8 @@ export declare const EventDocument: z.ZodObject<{
8243
8247
  street?: string | null | undefined;
8244
8248
  zipCode?: string | null | undefined;
8245
8249
  } | {
8246
- firstname?: string | null | undefined;
8247
- surname?: string | null | undefined;
8250
+ firstname: string;
8251
+ surname: string;
8248
8252
  middlename?: string | null | undefined;
8249
8253
  } | {
8250
8254
  country: string;
@@ -8268,11 +8272,11 @@ export declare const EventDocument: z.ZodObject<{
8268
8272
  option: string;
8269
8273
  filename: string;
8270
8274
  originalFilename: string;
8271
- }[] | [string, string] | null | undefined> | null | undefined;
8272
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8275
+ }[] | [string, string] | null | undefined> | undefined;
8276
+ originalActionId?: string | undefined;
8273
8277
  } | {
8274
8278
  type: "REQUEST_CORRECTION";
8275
- id: string & z.BRAND<"UUID">;
8279
+ id: string;
8276
8280
  status: "Rejected" | "Requested" | "Accepted";
8277
8281
  transactionId: string;
8278
8282
  createdByUserType: "system" | "user";
@@ -8295,8 +8299,8 @@ export declare const EventDocument: z.ZodObject<{
8295
8299
  street?: string | null | undefined;
8296
8300
  zipCode?: string | null | undefined;
8297
8301
  } | {
8298
- firstname?: string | null | undefined;
8299
- surname?: string | null | undefined;
8302
+ firstname: string;
8303
+ surname: string;
8300
8304
  middlename?: string | null | undefined;
8301
8305
  } | {
8302
8306
  country: string;
@@ -8322,7 +8326,7 @@ export declare const EventDocument: z.ZodObject<{
8322
8326
  originalFilename: string;
8323
8327
  }[] | [string, string] | null | undefined>;
8324
8328
  createdBySignature?: string | null | undefined;
8325
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8329
+ createdAtLocation?: string | null | undefined;
8326
8330
  annotation?: Record<string, string | number | boolean | {
8327
8331
  type: string;
8328
8332
  filename: string;
@@ -8339,8 +8343,8 @@ export declare const EventDocument: z.ZodObject<{
8339
8343
  street?: string | null | undefined;
8340
8344
  zipCode?: string | null | undefined;
8341
8345
  } | {
8342
- firstname?: string | null | undefined;
8343
- surname?: string | null | undefined;
8346
+ firstname: string;
8347
+ surname: string;
8344
8348
  middlename?: string | null | undefined;
8345
8349
  } | {
8346
8350
  country: string;
@@ -8364,11 +8368,11 @@ export declare const EventDocument: z.ZodObject<{
8364
8368
  option: string;
8365
8369
  filename: string;
8366
8370
  originalFilename: string;
8367
- }[] | [string, string] | null | undefined> | null | undefined;
8368
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8371
+ }[] | [string, string] | null | undefined> | undefined;
8372
+ originalActionId?: string | undefined;
8369
8373
  } | {
8370
8374
  type: "APPROVE_CORRECTION";
8371
- id: string & z.BRAND<"UUID">;
8375
+ id: string;
8372
8376
  status: "Rejected" | "Requested" | "Accepted";
8373
8377
  transactionId: string;
8374
8378
  createdByUserType: "system" | "user";
@@ -8391,8 +8395,8 @@ export declare const EventDocument: z.ZodObject<{
8391
8395
  street?: string | null | undefined;
8392
8396
  zipCode?: string | null | undefined;
8393
8397
  } | {
8394
- firstname?: string | null | undefined;
8395
- surname?: string | null | undefined;
8398
+ firstname: string;
8399
+ surname: string;
8396
8400
  middlename?: string | null | undefined;
8397
8401
  } | {
8398
8402
  country: string;
@@ -8419,7 +8423,7 @@ export declare const EventDocument: z.ZodObject<{
8419
8423
  }[] | [string, string] | null | undefined>;
8420
8424
  requestId: string;
8421
8425
  createdBySignature?: string | null | undefined;
8422
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8426
+ createdAtLocation?: string | null | undefined;
8423
8427
  annotation?: Record<string, string | number | boolean | {
8424
8428
  type: string;
8425
8429
  filename: string;
@@ -8436,8 +8440,8 @@ export declare const EventDocument: z.ZodObject<{
8436
8440
  street?: string | null | undefined;
8437
8441
  zipCode?: string | null | undefined;
8438
8442
  } | {
8439
- firstname?: string | null | undefined;
8440
- surname?: string | null | undefined;
8443
+ firstname: string;
8444
+ surname: string;
8441
8445
  middlename?: string | null | undefined;
8442
8446
  } | {
8443
8447
  country: string;
@@ -8461,11 +8465,11 @@ export declare const EventDocument: z.ZodObject<{
8461
8465
  option: string;
8462
8466
  filename: string;
8463
8467
  originalFilename: string;
8464
- }[] | [string, string] | null | undefined> | null | undefined;
8465
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8468
+ }[] | [string, string] | null | undefined> | undefined;
8469
+ originalActionId?: string | undefined;
8466
8470
  } | {
8467
8471
  type: "REJECT_CORRECTION";
8468
- id: string & z.BRAND<"UUID">;
8472
+ id: string;
8469
8473
  status: "Rejected" | "Requested" | "Accepted";
8470
8474
  transactionId: string;
8471
8475
  createdByUserType: "system" | "user";
@@ -8488,8 +8492,8 @@ export declare const EventDocument: z.ZodObject<{
8488
8492
  street?: string | null | undefined;
8489
8493
  zipCode?: string | null | undefined;
8490
8494
  } | {
8491
- firstname?: string | null | undefined;
8492
- surname?: string | null | undefined;
8495
+ firstname: string;
8496
+ surname: string;
8493
8497
  middlename?: string | null | undefined;
8494
8498
  } | {
8495
8499
  country: string;
@@ -8516,7 +8520,7 @@ export declare const EventDocument: z.ZodObject<{
8516
8520
  }[] | [string, string] | null | undefined>;
8517
8521
  requestId: string;
8518
8522
  createdBySignature?: string | null | undefined;
8519
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8523
+ createdAtLocation?: string | null | undefined;
8520
8524
  annotation?: Record<string, string | number | boolean | {
8521
8525
  type: string;
8522
8526
  filename: string;
@@ -8533,8 +8537,8 @@ export declare const EventDocument: z.ZodObject<{
8533
8537
  street?: string | null | undefined;
8534
8538
  zipCode?: string | null | undefined;
8535
8539
  } | {
8536
- firstname?: string | null | undefined;
8537
- surname?: string | null | undefined;
8540
+ firstname: string;
8541
+ surname: string;
8538
8542
  middlename?: string | null | undefined;
8539
8543
  } | {
8540
8544
  country: string;
@@ -8558,11 +8562,11 @@ export declare const EventDocument: z.ZodObject<{
8558
8562
  option: string;
8559
8563
  filename: string;
8560
8564
  originalFilename: string;
8561
- }[] | [string, string] | null | undefined> | null | undefined;
8562
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8565
+ }[] | [string, string] | null | undefined> | undefined;
8566
+ originalActionId?: string | undefined;
8563
8567
  } | {
8564
8568
  type: "READ";
8565
- id: string & z.BRAND<"UUID">;
8569
+ id: string;
8566
8570
  status: "Rejected" | "Requested" | "Accepted";
8567
8571
  transactionId: string;
8568
8572
  createdByUserType: "system" | "user";
@@ -8585,8 +8589,8 @@ export declare const EventDocument: z.ZodObject<{
8585
8589
  street?: string | null | undefined;
8586
8590
  zipCode?: string | null | undefined;
8587
8591
  } | {
8588
- firstname?: string | null | undefined;
8589
- surname?: string | null | undefined;
8592
+ firstname: string;
8593
+ surname: string;
8590
8594
  middlename?: string | null | undefined;
8591
8595
  } | {
8592
8596
  country: string;
@@ -8612,7 +8616,7 @@ export declare const EventDocument: z.ZodObject<{
8612
8616
  originalFilename: string;
8613
8617
  }[] | [string, string] | null | undefined>;
8614
8618
  createdBySignature?: string | null | undefined;
8615
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8619
+ createdAtLocation?: string | null | undefined;
8616
8620
  annotation?: Record<string, string | number | boolean | {
8617
8621
  type: string;
8618
8622
  filename: string;
@@ -8629,8 +8633,8 @@ export declare const EventDocument: z.ZodObject<{
8629
8633
  street?: string | null | undefined;
8630
8634
  zipCode?: string | null | undefined;
8631
8635
  } | {
8632
- firstname?: string | null | undefined;
8633
- surname?: string | null | undefined;
8636
+ firstname: string;
8637
+ surname: string;
8634
8638
  middlename?: string | null | undefined;
8635
8639
  } | {
8636
8640
  country: string;
@@ -8654,11 +8658,11 @@ export declare const EventDocument: z.ZodObject<{
8654
8658
  option: string;
8655
8659
  filename: string;
8656
8660
  originalFilename: string;
8657
- }[] | [string, string] | null | undefined> | null | undefined;
8658
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8661
+ }[] | [string, string] | null | undefined> | undefined;
8662
+ originalActionId?: string | undefined;
8659
8663
  } | {
8660
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
- id: string & z.BRAND<"UUID">;
8664
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8665
+ id: string;
8662
8666
  status: "Rejected";
8663
8667
  transactionId: string;
8664
8668
  createdByUserType: "system" | "user";
@@ -8666,8 +8670,8 @@ export declare const EventDocument: z.ZodObject<{
8666
8670
  createdBy: string;
8667
8671
  createdByRole: string;
8668
8672
  createdBySignature?: string | null | undefined;
8669
- createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
- originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8673
+ createdAtLocation?: string | null | undefined;
8674
+ originalActionId?: string | undefined;
8671
8675
  })[];
8672
8676
  trackingId: string;
8673
8677
  }, {
@@ -8700,8 +8704,8 @@ export declare const EventDocument: z.ZodObject<{
8700
8704
  street?: string | null | undefined;
8701
8705
  zipCode?: string | null | undefined;
8702
8706
  } | {
8703
- firstname?: string | null | undefined;
8704
- surname?: string | null | undefined;
8707
+ firstname: string;
8708
+ surname: string;
8705
8709
  middlename?: string | null | undefined;
8706
8710
  } | {
8707
8711
  country: string;
@@ -8745,8 +8749,8 @@ export declare const EventDocument: z.ZodObject<{
8745
8749
  street?: string | null | undefined;
8746
8750
  zipCode?: string | null | undefined;
8747
8751
  } | {
8748
- firstname?: string | null | undefined;
8749
- surname?: string | null | undefined;
8752
+ firstname: string;
8753
+ surname: string;
8750
8754
  middlename?: string | null | undefined;
8751
8755
  } | {
8752
8756
  country: string;
@@ -8770,8 +8774,8 @@ export declare const EventDocument: z.ZodObject<{
8770
8774
  option: string;
8771
8775
  filename: string;
8772
8776
  originalFilename: string;
8773
- }[] | [string, string] | null | undefined> | null | undefined;
8774
- originalActionId?: string | null | undefined;
8777
+ }[] | [string, string] | null | undefined> | undefined;
8778
+ originalActionId?: string | undefined;
8775
8779
  } | {
8776
8780
  type: "UNASSIGN";
8777
8781
  id: string;
@@ -8797,8 +8801,8 @@ export declare const EventDocument: z.ZodObject<{
8797
8801
  street?: string | null | undefined;
8798
8802
  zipCode?: string | null | undefined;
8799
8803
  } | {
8800
- firstname?: string | null | undefined;
8801
- surname?: string | null | undefined;
8804
+ firstname: string;
8805
+ surname: string;
8802
8806
  middlename?: string | null | undefined;
8803
8807
  } | {
8804
8808
  country: string;
@@ -8823,6 +8827,7 @@ export declare const EventDocument: z.ZodObject<{
8823
8827
  filename: string;
8824
8828
  originalFilename: string;
8825
8829
  }[] | [string, string] | null | undefined>;
8830
+ assignedTo: null;
8826
8831
  createdBySignature?: string | null | undefined;
8827
8832
  createdAtLocation?: string | null | undefined;
8828
8833
  annotation?: Record<string, string | number | boolean | {
@@ -8841,8 +8846,8 @@ export declare const EventDocument: z.ZodObject<{
8841
8846
  street?: string | null | undefined;
8842
8847
  zipCode?: string | null | undefined;
8843
8848
  } | {
8844
- firstname?: string | null | undefined;
8845
- surname?: string | null | undefined;
8849
+ firstname: string;
8850
+ surname: string;
8846
8851
  middlename?: string | null | undefined;
8847
8852
  } | {
8848
8853
  country: string;
@@ -8866,8 +8871,8 @@ export declare const EventDocument: z.ZodObject<{
8866
8871
  option: string;
8867
8872
  filename: string;
8868
8873
  originalFilename: string;
8869
- }[] | [string, string] | null | undefined> | null | undefined;
8870
- originalActionId?: string | null | undefined;
8874
+ }[] | [string, string] | null | undefined> | undefined;
8875
+ originalActionId?: string | undefined;
8871
8876
  } | {
8872
8877
  type: "REGISTER";
8873
8878
  id: string;
@@ -8893,8 +8898,8 @@ export declare const EventDocument: z.ZodObject<{
8893
8898
  street?: string | null | undefined;
8894
8899
  zipCode?: string | null | undefined;
8895
8900
  } | {
8896
- firstname?: string | null | undefined;
8897
- surname?: string | null | undefined;
8901
+ firstname: string;
8902
+ surname: string;
8898
8903
  middlename?: string | null | undefined;
8899
8904
  } | {
8900
8905
  country: string;
@@ -8937,8 +8942,8 @@ export declare const EventDocument: z.ZodObject<{
8937
8942
  street?: string | null | undefined;
8938
8943
  zipCode?: string | null | undefined;
8939
8944
  } | {
8940
- firstname?: string | null | undefined;
8941
- surname?: string | null | undefined;
8945
+ firstname: string;
8946
+ surname: string;
8942
8947
  middlename?: string | null | undefined;
8943
8948
  } | {
8944
8949
  country: string;
@@ -8962,8 +8967,8 @@ export declare const EventDocument: z.ZodObject<{
8962
8967
  option: string;
8963
8968
  filename: string;
8964
8969
  originalFilename: string;
8965
- }[] | [string, string] | null | undefined> | null | undefined;
8966
- originalActionId?: string | null | undefined;
8970
+ }[] | [string, string] | null | undefined> | undefined;
8971
+ originalActionId?: string | undefined;
8967
8972
  registrationNumber?: string | undefined;
8968
8973
  } | {
8969
8974
  type: "DECLARE";
@@ -8990,8 +8995,8 @@ export declare const EventDocument: z.ZodObject<{
8990
8995
  street?: string | null | undefined;
8991
8996
  zipCode?: string | null | undefined;
8992
8997
  } | {
8993
- firstname?: string | null | undefined;
8994
- surname?: string | null | undefined;
8998
+ firstname: string;
8999
+ surname: string;
8995
9000
  middlename?: string | null | undefined;
8996
9001
  } | {
8997
9002
  country: string;
@@ -9034,8 +9039,8 @@ export declare const EventDocument: z.ZodObject<{
9034
9039
  street?: string | null | undefined;
9035
9040
  zipCode?: string | null | undefined;
9036
9041
  } | {
9037
- firstname?: string | null | undefined;
9038
- surname?: string | null | undefined;
9042
+ firstname: string;
9043
+ surname: string;
9039
9044
  middlename?: string | null | undefined;
9040
9045
  } | {
9041
9046
  country: string;
@@ -9059,8 +9064,8 @@ export declare const EventDocument: z.ZodObject<{
9059
9064
  option: string;
9060
9065
  filename: string;
9061
9066
  originalFilename: string;
9062
- }[] | [string, string] | null | undefined> | null | undefined;
9063
- originalActionId?: string | null | undefined;
9067
+ }[] | [string, string] | null | undefined> | undefined;
9068
+ originalActionId?: string | undefined;
9064
9069
  } | {
9065
9070
  type: "VALIDATE";
9066
9071
  id: string;
@@ -9086,8 +9091,8 @@ export declare const EventDocument: z.ZodObject<{
9086
9091
  street?: string | null | undefined;
9087
9092
  zipCode?: string | null | undefined;
9088
9093
  } | {
9089
- firstname?: string | null | undefined;
9090
- surname?: string | null | undefined;
9094
+ firstname: string;
9095
+ surname: string;
9091
9096
  middlename?: string | null | undefined;
9092
9097
  } | {
9093
9098
  country: string;
@@ -9130,8 +9135,8 @@ export declare const EventDocument: z.ZodObject<{
9130
9135
  street?: string | null | undefined;
9131
9136
  zipCode?: string | null | undefined;
9132
9137
  } | {
9133
- firstname?: string | null | undefined;
9134
- surname?: string | null | undefined;
9138
+ firstname: string;
9139
+ surname: string;
9135
9140
  middlename?: string | null | undefined;
9136
9141
  } | {
9137
9142
  country: string;
@@ -9155,8 +9160,8 @@ export declare const EventDocument: z.ZodObject<{
9155
9160
  option: string;
9156
9161
  filename: string;
9157
9162
  originalFilename: string;
9158
- }[] | [string, string] | null | undefined> | null | undefined;
9159
- originalActionId?: string | null | undefined;
9163
+ }[] | [string, string] | null | undefined> | undefined;
9164
+ originalActionId?: string | undefined;
9160
9165
  } | {
9161
9166
  type: "REJECT";
9162
9167
  id: string;
@@ -9186,8 +9191,8 @@ export declare const EventDocument: z.ZodObject<{
9186
9191
  street?: string | null | undefined;
9187
9192
  zipCode?: string | null | undefined;
9188
9193
  } | {
9189
- firstname?: string | null | undefined;
9190
- surname?: string | null | undefined;
9194
+ firstname: string;
9195
+ surname: string;
9191
9196
  middlename?: string | null | undefined;
9192
9197
  } | {
9193
9198
  country: string;
@@ -9230,8 +9235,8 @@ export declare const EventDocument: z.ZodObject<{
9230
9235
  street?: string | null | undefined;
9231
9236
  zipCode?: string | null | undefined;
9232
9237
  } | {
9233
- firstname?: string | null | undefined;
9234
- surname?: string | null | undefined;
9238
+ firstname: string;
9239
+ surname: string;
9235
9240
  middlename?: string | null | undefined;
9236
9241
  } | {
9237
9242
  country: string;
@@ -9255,8 +9260,8 @@ export declare const EventDocument: z.ZodObject<{
9255
9260
  option: string;
9256
9261
  filename: string;
9257
9262
  originalFilename: string;
9258
- }[] | [string, string] | null | undefined> | null | undefined;
9259
- originalActionId?: string | null | undefined;
9263
+ }[] | [string, string] | null | undefined> | undefined;
9264
+ originalActionId?: string | undefined;
9260
9265
  } | {
9261
9266
  type: "MARKED_AS_DUPLICATE";
9262
9267
  id: string;
@@ -9282,8 +9287,8 @@ export declare const EventDocument: z.ZodObject<{
9282
9287
  street?: string | null | undefined;
9283
9288
  zipCode?: string | null | undefined;
9284
9289
  } | {
9285
- firstname?: string | null | undefined;
9286
- surname?: string | null | undefined;
9290
+ firstname: string;
9291
+ surname: string;
9287
9292
  middlename?: string | null | undefined;
9288
9293
  } | {
9289
9294
  country: string;
@@ -9326,8 +9331,8 @@ export declare const EventDocument: z.ZodObject<{
9326
9331
  street?: string | null | undefined;
9327
9332
  zipCode?: string | null | undefined;
9328
9333
  } | {
9329
- firstname?: string | null | undefined;
9330
- surname?: string | null | undefined;
9334
+ firstname: string;
9335
+ surname: string;
9331
9336
  middlename?: string | null | undefined;
9332
9337
  } | {
9333
9338
  country: string;
@@ -9351,8 +9356,8 @@ export declare const EventDocument: z.ZodObject<{
9351
9356
  option: string;
9352
9357
  filename: string;
9353
9358
  originalFilename: string;
9354
- }[] | [string, string] | null | undefined> | null | undefined;
9355
- originalActionId?: string | null | undefined;
9359
+ }[] | [string, string] | null | undefined> | undefined;
9360
+ originalActionId?: string | undefined;
9356
9361
  } | {
9357
9362
  type: "ARCHIVE";
9358
9363
  id: string;
@@ -9382,8 +9387,8 @@ export declare const EventDocument: z.ZodObject<{
9382
9387
  street?: string | null | undefined;
9383
9388
  zipCode?: string | null | undefined;
9384
9389
  } | {
9385
- firstname?: string | null | undefined;
9386
- surname?: string | null | undefined;
9390
+ firstname: string;
9391
+ surname: string;
9387
9392
  middlename?: string | null | undefined;
9388
9393
  } | {
9389
9394
  country: string;
@@ -9426,8 +9431,8 @@ export declare const EventDocument: z.ZodObject<{
9426
9431
  street?: string | null | undefined;
9427
9432
  zipCode?: string | null | undefined;
9428
9433
  } | {
9429
- firstname?: string | null | undefined;
9430
- surname?: string | null | undefined;
9434
+ firstname: string;
9435
+ surname: string;
9431
9436
  middlename?: string | null | undefined;
9432
9437
  } | {
9433
9438
  country: string;
@@ -9451,8 +9456,8 @@ export declare const EventDocument: z.ZodObject<{
9451
9456
  option: string;
9452
9457
  filename: string;
9453
9458
  originalFilename: string;
9454
- }[] | [string, string] | null | undefined> | null | undefined;
9455
- originalActionId?: string | null | undefined;
9459
+ }[] | [string, string] | null | undefined> | undefined;
9460
+ originalActionId?: string | undefined;
9456
9461
  } | {
9457
9462
  type: "CREATE";
9458
9463
  id: string;
@@ -9478,8 +9483,8 @@ export declare const EventDocument: z.ZodObject<{
9478
9483
  street?: string | null | undefined;
9479
9484
  zipCode?: string | null | undefined;
9480
9485
  } | {
9481
- firstname?: string | null | undefined;
9482
- surname?: string | null | undefined;
9486
+ firstname: string;
9487
+ surname: string;
9483
9488
  middlename?: string | null | undefined;
9484
9489
  } | {
9485
9490
  country: string;
@@ -9522,8 +9527,8 @@ export declare const EventDocument: z.ZodObject<{
9522
9527
  street?: string | null | undefined;
9523
9528
  zipCode?: string | null | undefined;
9524
9529
  } | {
9525
- firstname?: string | null | undefined;
9526
- surname?: string | null | undefined;
9530
+ firstname: string;
9531
+ surname: string;
9527
9532
  middlename?: string | null | undefined;
9528
9533
  } | {
9529
9534
  country: string;
@@ -9547,8 +9552,8 @@ export declare const EventDocument: z.ZodObject<{
9547
9552
  option: string;
9548
9553
  filename: string;
9549
9554
  originalFilename: string;
9550
- }[] | [string, string] | null | undefined> | null | undefined;
9551
- originalActionId?: string | null | undefined;
9555
+ }[] | [string, string] | null | undefined> | undefined;
9556
+ originalActionId?: string | undefined;
9552
9557
  } | {
9553
9558
  type: "NOTIFY";
9554
9559
  id: string;
@@ -9574,8 +9579,8 @@ export declare const EventDocument: z.ZodObject<{
9574
9579
  street?: string | null | undefined;
9575
9580
  zipCode?: string | null | undefined;
9576
9581
  } | {
9577
- firstname?: string | null | undefined;
9578
- surname?: string | null | undefined;
9582
+ firstname: string;
9583
+ surname: string;
9579
9584
  middlename?: string | null | undefined;
9580
9585
  } | {
9581
9586
  country: string;
@@ -9618,8 +9623,8 @@ export declare const EventDocument: z.ZodObject<{
9618
9623
  street?: string | null | undefined;
9619
9624
  zipCode?: string | null | undefined;
9620
9625
  } | {
9621
- firstname?: string | null | undefined;
9622
- surname?: string | null | undefined;
9626
+ firstname: string;
9627
+ surname: string;
9623
9628
  middlename?: string | null | undefined;
9624
9629
  } | {
9625
9630
  country: string;
@@ -9643,8 +9648,8 @@ export declare const EventDocument: z.ZodObject<{
9643
9648
  option: string;
9644
9649
  filename: string;
9645
9650
  originalFilename: string;
9646
- }[] | [string, string] | null | undefined> | null | undefined;
9647
- originalActionId?: string | null | undefined;
9651
+ }[] | [string, string] | null | undefined> | undefined;
9652
+ originalActionId?: string | undefined;
9648
9653
  } | {
9649
9654
  type: "PRINT_CERTIFICATE";
9650
9655
  id: string;
@@ -9670,8 +9675,8 @@ export declare const EventDocument: z.ZodObject<{
9670
9675
  street?: string | null | undefined;
9671
9676
  zipCode?: string | null | undefined;
9672
9677
  } | {
9673
- firstname?: string | null | undefined;
9674
- surname?: string | null | undefined;
9678
+ firstname: string;
9679
+ surname: string;
9675
9680
  middlename?: string | null | undefined;
9676
9681
  } | {
9677
9682
  country: string;
@@ -9714,8 +9719,8 @@ export declare const EventDocument: z.ZodObject<{
9714
9719
  street?: string | null | undefined;
9715
9720
  zipCode?: string | null | undefined;
9716
9721
  } | {
9717
- firstname?: string | null | undefined;
9718
- surname?: string | null | undefined;
9722
+ firstname: string;
9723
+ surname: string;
9719
9724
  middlename?: string | null | undefined;
9720
9725
  } | {
9721
9726
  country: string;
@@ -9739,8 +9744,8 @@ export declare const EventDocument: z.ZodObject<{
9739
9744
  option: string;
9740
9745
  filename: string;
9741
9746
  originalFilename: string;
9742
- }[] | [string, string] | null | undefined> | null | undefined;
9743
- originalActionId?: string | null | undefined;
9747
+ }[] | [string, string] | null | undefined> | undefined;
9748
+ originalActionId?: string | undefined;
9744
9749
  } | {
9745
9750
  type: "REQUEST_CORRECTION";
9746
9751
  id: string;
@@ -9766,8 +9771,8 @@ export declare const EventDocument: z.ZodObject<{
9766
9771
  street?: string | null | undefined;
9767
9772
  zipCode?: string | null | undefined;
9768
9773
  } | {
9769
- firstname?: string | null | undefined;
9770
- surname?: string | null | undefined;
9774
+ firstname: string;
9775
+ surname: string;
9771
9776
  middlename?: string | null | undefined;
9772
9777
  } | {
9773
9778
  country: string;
@@ -9810,8 +9815,8 @@ export declare const EventDocument: z.ZodObject<{
9810
9815
  street?: string | null | undefined;
9811
9816
  zipCode?: string | null | undefined;
9812
9817
  } | {
9813
- firstname?: string | null | undefined;
9814
- surname?: string | null | undefined;
9818
+ firstname: string;
9819
+ surname: string;
9815
9820
  middlename?: string | null | undefined;
9816
9821
  } | {
9817
9822
  country: string;
@@ -9835,8 +9840,8 @@ export declare const EventDocument: z.ZodObject<{
9835
9840
  option: string;
9836
9841
  filename: string;
9837
9842
  originalFilename: string;
9838
- }[] | [string, string] | null | undefined> | null | undefined;
9839
- originalActionId?: string | null | undefined;
9843
+ }[] | [string, string] | null | undefined> | undefined;
9844
+ originalActionId?: string | undefined;
9840
9845
  } | {
9841
9846
  type: "APPROVE_CORRECTION";
9842
9847
  id: string;
@@ -9862,8 +9867,8 @@ export declare const EventDocument: z.ZodObject<{
9862
9867
  street?: string | null | undefined;
9863
9868
  zipCode?: string | null | undefined;
9864
9869
  } | {
9865
- firstname?: string | null | undefined;
9866
- surname?: string | null | undefined;
9870
+ firstname: string;
9871
+ surname: string;
9867
9872
  middlename?: string | null | undefined;
9868
9873
  } | {
9869
9874
  country: string;
@@ -9907,8 +9912,8 @@ export declare const EventDocument: z.ZodObject<{
9907
9912
  street?: string | null | undefined;
9908
9913
  zipCode?: string | null | undefined;
9909
9914
  } | {
9910
- firstname?: string | null | undefined;
9911
- surname?: string | null | undefined;
9915
+ firstname: string;
9916
+ surname: string;
9912
9917
  middlename?: string | null | undefined;
9913
9918
  } | {
9914
9919
  country: string;
@@ -9932,8 +9937,8 @@ export declare const EventDocument: z.ZodObject<{
9932
9937
  option: string;
9933
9938
  filename: string;
9934
9939
  originalFilename: string;
9935
- }[] | [string, string] | null | undefined> | null | undefined;
9936
- originalActionId?: string | null | undefined;
9940
+ }[] | [string, string] | null | undefined> | undefined;
9941
+ originalActionId?: string | undefined;
9937
9942
  } | {
9938
9943
  type: "REJECT_CORRECTION";
9939
9944
  id: string;
@@ -9959,8 +9964,8 @@ export declare const EventDocument: z.ZodObject<{
9959
9964
  street?: string | null | undefined;
9960
9965
  zipCode?: string | null | undefined;
9961
9966
  } | {
9962
- firstname?: string | null | undefined;
9963
- surname?: string | null | undefined;
9967
+ firstname: string;
9968
+ surname: string;
9964
9969
  middlename?: string | null | undefined;
9965
9970
  } | {
9966
9971
  country: string;
@@ -10004,8 +10009,8 @@ export declare const EventDocument: z.ZodObject<{
10004
10009
  street?: string | null | undefined;
10005
10010
  zipCode?: string | null | undefined;
10006
10011
  } | {
10007
- firstname?: string | null | undefined;
10008
- surname?: string | null | undefined;
10012
+ firstname: string;
10013
+ surname: string;
10009
10014
  middlename?: string | null | undefined;
10010
10015
  } | {
10011
10016
  country: string;
@@ -10029,8 +10034,8 @@ export declare const EventDocument: z.ZodObject<{
10029
10034
  option: string;
10030
10035
  filename: string;
10031
10036
  originalFilename: string;
10032
- }[] | [string, string] | null | undefined> | null | undefined;
10033
- originalActionId?: string | null | undefined;
10037
+ }[] | [string, string] | null | undefined> | undefined;
10038
+ originalActionId?: string | undefined;
10034
10039
  } | {
10035
10040
  type: "READ";
10036
10041
  id: string;
@@ -10056,8 +10061,8 @@ export declare const EventDocument: z.ZodObject<{
10056
10061
  street?: string | null | undefined;
10057
10062
  zipCode?: string | null | undefined;
10058
10063
  } | {
10059
- firstname?: string | null | undefined;
10060
- surname?: string | null | undefined;
10064
+ firstname: string;
10065
+ surname: string;
10061
10066
  middlename?: string | null | undefined;
10062
10067
  } | {
10063
10068
  country: string;
@@ -10100,8 +10105,8 @@ export declare const EventDocument: z.ZodObject<{
10100
10105
  street?: string | null | undefined;
10101
10106
  zipCode?: string | null | undefined;
10102
10107
  } | {
10103
- firstname?: string | null | undefined;
10104
- surname?: string | null | undefined;
10108
+ firstname: string;
10109
+ surname: string;
10105
10110
  middlename?: string | null | undefined;
10106
10111
  } | {
10107
10112
  country: string;
@@ -10125,10 +10130,10 @@ export declare const EventDocument: z.ZodObject<{
10125
10130
  option: string;
10126
10131
  filename: string;
10127
10132
  originalFilename: string;
10128
- }[] | [string, string] | null | undefined> | null | undefined;
10129
- originalActionId?: string | null | undefined;
10133
+ }[] | [string, string] | null | undefined> | undefined;
10134
+ originalActionId?: string | undefined;
10130
10135
  } | {
10131
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10136
+ type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10132
10137
  id: string;
10133
10138
  status: "Rejected";
10134
10139
  transactionId: string;
@@ -10138,7 +10143,7 @@ export declare const EventDocument: z.ZodObject<{
10138
10143
  createdByRole: string;
10139
10144
  createdBySignature?: string | null | undefined;
10140
10145
  createdAtLocation?: string | null | undefined;
10141
- originalActionId?: string | null | undefined;
10146
+ originalActionId?: string | undefined;
10142
10147
  })[];
10143
10148
  trackingId: string;
10144
10149
  }>;