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

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 +1335 -10468
  2. package/dist/commons/events/ActionConfig.d.ts +2600 -0
  3. package/dist/commons/events/ActionDocument.d.ts +1081 -1087
  4. package/dist/commons/events/ActionInput.d.ts +726 -726
  5. package/dist/commons/events/ActionType.d.ts +0 -2
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +222 -18
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +1234 -572
  9. package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
  10. package/dist/commons/events/Draft.d.ts +77 -77
  11. package/dist/commons/events/EventConfig.d.ts +1458 -0
  12. package/dist/commons/events/EventDocument.d.ts +706 -711
  13. package/dist/commons/events/EventIndex.d.ts +135 -151
  14. package/dist/commons/events/EventMetadata.d.ts +38 -29
  15. package/dist/commons/events/FieldConfig.d.ts +178 -0
  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 +1092 -0
  19. package/dist/commons/events/PageConfig.d.ts +260 -0
  20. package/dist/commons/events/User.d.ts +6 -3
  21. package/dist/commons/events/WorkqueueConfig.d.ts +2043 -1033
  22. package/dist/commons/events/defineConfig.d.ts +294 -0
  23. package/dist/commons/events/field.d.ts +5 -0
  24. package/dist/commons/events/test.utils.d.ts +30 -19
  25. package/dist/commons/events/transactions.d.ts +1 -1
  26. package/dist/commons/events/utils.d.ts +440 -15
  27. package/dist/conditionals/index.js +22 -18
  28. package/dist/events/index.js +303 -185
  29. package/dist/scopes/index.d.ts +92 -6
  30. package/dist/scopes/index.js +38 -9
  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.ZodString;
3
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString;
8
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
15
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
131
- surname: z.ZodString;
130
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
132
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
133
  }, "strip", z.ZodTypeAny, {
134
- firstname: string;
135
- surname: string;
134
+ firstname?: string | null | undefined;
135
+ surname?: string | null | undefined;
136
136
  middlename?: string | null | undefined;
137
137
  }, {
138
- firstname: string;
139
- surname: string;
138
+ firstname?: string | null | undefined;
139
+ surname?: string | null | undefined;
140
140
  middlename?: string | null | undefined;
141
141
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
142
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
257
- surname: z.ZodString;
256
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
258
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- firstname: string;
261
- surname: string;
260
+ firstname?: string | null | undefined;
261
+ surname?: string | null | undefined;
262
262
  middlename?: string | null | undefined;
263
263
  }, {
264
- firstname: string;
265
- surname: string;
264
+ firstname?: string | null | undefined;
265
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
269
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
270
270
  }, {
271
271
  type: z.ZodLiteral<"CREATE">;
272
272
  }>, "strip", z.ZodTypeAny, {
273
273
  type: "CREATE";
274
- id: string;
274
+ id: string & z.BRAND<"UUID">;
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;
298
- surname: string;
297
+ firstname?: string | null | undefined;
298
+ surname?: string | null | undefined;
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 | null | undefined;
324
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
342
- surname: string;
341
+ firstname?: string | null | undefined;
342
+ surname?: string | null | undefined;
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> | undefined;
367
- originalActionId?: string | undefined;
366
+ }[] | [string, string] | null | undefined> | null | undefined;
367
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
394
- surname: string;
393
+ firstname?: string | null | undefined;
394
+ surname?: string | null | undefined;
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;
438
- surname: string;
437
+ firstname?: string | null | undefined;
438
+ surname?: string | null | undefined;
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> | undefined;
463
- originalActionId?: string | undefined;
462
+ }[] | [string, string] | null | undefined> | null | undefined;
463
+ originalActionId?: string | null | undefined;
464
464
  }>, z.ZodObject<z.objectUtil.extendShape<{
465
- id: z.ZodString;
465
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
472
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
588
- surname: z.ZodString;
587
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
589
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
590
  }, "strip", z.ZodTypeAny, {
591
- firstname: string;
592
- surname: string;
591
+ firstname?: string | null | undefined;
592
+ surname?: string | null | undefined;
593
593
  middlename?: string | null | undefined;
594
594
  }, {
595
- firstname: string;
596
- surname: string;
595
+ firstname?: string | null | undefined;
596
+ surname?: string | null | undefined;
597
597
  middlename?: string | null | undefined;
598
598
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
599
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
714
- surname: z.ZodString;
713
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
715
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
716
716
  }, "strip", z.ZodTypeAny, {
717
- firstname: string;
718
- surname: string;
717
+ firstname?: string | null | undefined;
718
+ surname?: string | null | undefined;
719
719
  middlename?: string | null | undefined;
720
720
  }, {
721
- firstname: string;
722
- surname: string;
721
+ firstname?: string | null | undefined;
722
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
726
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
727
727
  }, {
728
728
  type: z.ZodLiteral<"VALIDATE">;
729
729
  }>, "strip", z.ZodTypeAny, {
730
730
  type: "VALIDATE";
731
- id: string;
731
+ id: string & z.BRAND<"UUID">;
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;
755
- surname: string;
754
+ firstname?: string | null | undefined;
755
+ surname?: string | null | undefined;
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 | null | undefined;
781
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
799
- surname: string;
798
+ firstname?: string | null | undefined;
799
+ surname?: string | null | undefined;
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> | undefined;
824
- originalActionId?: string | undefined;
823
+ }[] | [string, string] | null | undefined> | null | undefined;
824
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
851
- surname: string;
850
+ firstname?: string | null | undefined;
851
+ surname?: string | null | undefined;
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;
895
- surname: string;
894
+ firstname?: string | null | undefined;
895
+ surname?: string | null | undefined;
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> | undefined;
920
- originalActionId?: string | undefined;
919
+ }[] | [string, string] | null | undefined> | null | undefined;
920
+ originalActionId?: string | null | undefined;
921
921
  }>, z.ZodObject<z.objectUtil.extendShape<{
922
- id: z.ZodString;
922
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
929
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
1045
- surname: z.ZodString;
1044
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
1046
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1047
1047
  }, "strip", z.ZodTypeAny, {
1048
- firstname: string;
1049
- surname: string;
1048
+ firstname?: string | null | undefined;
1049
+ surname?: string | null | undefined;
1050
1050
  middlename?: string | null | undefined;
1051
1051
  }, {
1052
- firstname: string;
1053
- surname: string;
1052
+ firstname?: string | null | undefined;
1053
+ surname?: string | null | undefined;
1054
1054
  middlename?: string | null | undefined;
1055
1055
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1056
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
1171
- surname: z.ZodString;
1170
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
1172
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
1173
  }, "strip", z.ZodTypeAny, {
1174
- firstname: string;
1175
- surname: string;
1174
+ firstname?: string | null | undefined;
1175
+ surname?: string | null | undefined;
1176
1176
  middlename?: string | null | undefined;
1177
1177
  }, {
1178
- firstname: string;
1179
- surname: string;
1178
+ firstname?: string | null | undefined;
1179
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
1183
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
1198
+ id: string & z.BRAND<"UUID">;
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;
1226
- surname: string;
1225
+ firstname?: string | null | undefined;
1226
+ surname?: string | null | undefined;
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 | null | undefined;
1252
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
1270
- surname: string;
1269
+ firstname?: string | null | undefined;
1270
+ surname?: string | null | undefined;
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> | undefined;
1295
- originalActionId?: string | undefined;
1294
+ }[] | [string, string] | null | undefined> | null | undefined;
1295
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
1326
- surname: string;
1325
+ firstname?: string | null | undefined;
1326
+ surname?: string | null | undefined;
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;
1370
- surname: string;
1369
+ firstname?: string | null | undefined;
1370
+ surname?: string | null | undefined;
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> | undefined;
1395
- originalActionId?: string | undefined;
1394
+ }[] | [string, string] | null | undefined> | null | undefined;
1395
+ originalActionId?: string | null | undefined;
1396
1396
  }>, z.ZodObject<z.objectUtil.extendShape<{
1397
- id: z.ZodString;
1397
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
1404
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
1520
- surname: z.ZodString;
1519
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1521
1521
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1522
1522
  }, "strip", z.ZodTypeAny, {
1523
- firstname: string;
1524
- surname: string;
1523
+ firstname?: string | null | undefined;
1524
+ surname?: string | null | undefined;
1525
1525
  middlename?: string | null | undefined;
1526
1526
  }, {
1527
- firstname: string;
1528
- surname: string;
1527
+ firstname?: string | null | undefined;
1528
+ surname?: string | null | undefined;
1529
1529
  middlename?: string | null | undefined;
1530
1530
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1531
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
1646
- surname: z.ZodString;
1645
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1646
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1647
1647
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
1648
  }, "strip", z.ZodTypeAny, {
1649
- firstname: string;
1650
- surname: string;
1649
+ firstname?: string | null | undefined;
1650
+ surname?: string | null | undefined;
1651
1651
  middlename?: string | null | undefined;
1652
1652
  }, {
1653
- firstname: string;
1654
- surname: string;
1653
+ firstname?: string | null | undefined;
1654
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
1658
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
1659
1659
  }, {
1660
1660
  type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
1661
1661
  }>, "strip", z.ZodTypeAny, {
1662
1662
  type: "MARKED_AS_DUPLICATE";
1663
- id: string;
1663
+ id: string & z.BRAND<"UUID">;
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;
1687
- surname: string;
1686
+ firstname?: string | null | undefined;
1687
+ surname?: string | null | undefined;
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 | null | undefined;
1713
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
1731
- surname: string;
1730
+ firstname?: string | null | undefined;
1731
+ surname?: string | null | undefined;
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> | undefined;
1756
- originalActionId?: string | undefined;
1755
+ }[] | [string, string] | null | undefined> | null | undefined;
1756
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
1783
- surname: string;
1782
+ firstname?: string | null | undefined;
1783
+ surname?: string | null | undefined;
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;
1827
- surname: string;
1826
+ firstname?: string | null | undefined;
1827
+ surname?: string | null | undefined;
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> | undefined;
1852
- originalActionId?: string | undefined;
1851
+ }[] | [string, string] | null | undefined> | null | undefined;
1852
+ originalActionId?: string | null | undefined;
1853
1853
  }>, z.ZodObject<z.objectUtil.extendShape<{
1854
- id: z.ZodString;
1854
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
1861
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
1977
- surname: z.ZodString;
1976
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1977
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1978
1978
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1979
1979
  }, "strip", z.ZodTypeAny, {
1980
- firstname: string;
1981
- surname: string;
1980
+ firstname?: string | null | undefined;
1981
+ surname?: string | null | undefined;
1982
1982
  middlename?: string | null | undefined;
1983
1983
  }, {
1984
- firstname: string;
1985
- surname: string;
1984
+ firstname?: string | null | undefined;
1985
+ surname?: string | null | undefined;
1986
1986
  middlename?: string | null | undefined;
1987
1987
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
1988
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
2103
- surname: z.ZodString;
2102
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
2104
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
2105
  }, "strip", z.ZodTypeAny, {
2106
- firstname: string;
2107
- surname: string;
2106
+ firstname?: string | null | undefined;
2107
+ surname?: string | null | undefined;
2108
2108
  middlename?: string | null | undefined;
2109
2109
  }, {
2110
- firstname: string;
2111
- surname: string;
2110
+ firstname?: string | null | undefined;
2111
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
2115
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
2130
+ id: string & z.BRAND<"UUID">;
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;
2158
- surname: string;
2157
+ firstname?: string | null | undefined;
2158
+ surname?: string | null | undefined;
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 | null | undefined;
2184
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
2202
- surname: string;
2201
+ firstname?: string | null | undefined;
2202
+ surname?: string | null | undefined;
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> | undefined;
2227
- originalActionId?: string | undefined;
2226
+ }[] | [string, string] | null | undefined> | null | undefined;
2227
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
2258
- surname: string;
2257
+ firstname?: string | null | undefined;
2258
+ surname?: string | null | undefined;
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;
2302
- surname: string;
2301
+ firstname?: string | null | undefined;
2302
+ surname?: string | null | undefined;
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> | undefined;
2327
- originalActionId?: string | undefined;
2326
+ }[] | [string, string] | null | undefined> | null | undefined;
2327
+ originalActionId?: string | null | undefined;
2328
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2329
- id: z.ZodString;
2329
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
2336
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
2452
- surname: z.ZodString;
2451
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
2453
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2454
2454
  }, "strip", z.ZodTypeAny, {
2455
- firstname: string;
2456
- surname: string;
2455
+ firstname?: string | null | undefined;
2456
+ surname?: string | null | undefined;
2457
2457
  middlename?: string | null | undefined;
2458
2458
  }, {
2459
- firstname: string;
2460
- surname: string;
2459
+ firstname?: string | null | undefined;
2460
+ surname?: string | null | undefined;
2461
2461
  middlename?: string | null | undefined;
2462
2462
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2463
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
2578
- surname: z.ZodString;
2577
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2578
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2579
2579
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2580
2580
  }, "strip", z.ZodTypeAny, {
2581
- firstname: string;
2582
- surname: string;
2581
+ firstname?: string | null | undefined;
2582
+ surname?: string | null | undefined;
2583
2583
  middlename?: string | null | undefined;
2584
2584
  }, {
2585
- firstname: string;
2586
- surname: string;
2585
+ firstname?: string | null | undefined;
2586
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
2590
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
2591
2591
  }, {
2592
2592
  type: z.ZodLiteral<"NOTIFY">;
2593
2593
  }>, "strip", z.ZodTypeAny, {
2594
2594
  type: "NOTIFY";
2595
- id: string;
2595
+ id: string & z.BRAND<"UUID">;
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;
2619
- surname: string;
2618
+ firstname?: string | null | undefined;
2619
+ surname?: string | null | undefined;
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 | null | undefined;
2645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
2663
- surname: string;
2662
+ firstname?: string | null | undefined;
2663
+ surname?: string | null | undefined;
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> | undefined;
2688
- originalActionId?: string | undefined;
2687
+ }[] | [string, string] | null | undefined> | null | undefined;
2688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
2715
- surname: string;
2714
+ firstname?: string | null | undefined;
2715
+ surname?: string | null | undefined;
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;
2759
- surname: string;
2758
+ firstname?: string | null | undefined;
2759
+ surname?: string | null | undefined;
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> | undefined;
2784
- originalActionId?: string | undefined;
2783
+ }[] | [string, string] | null | undefined> | null | undefined;
2784
+ originalActionId?: string | null | undefined;
2785
2785
  }>, z.ZodObject<z.objectUtil.extendShape<{
2786
- id: z.ZodString;
2786
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
2793
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
2909
- surname: z.ZodString;
2908
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2910
2910
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2911
2911
  }, "strip", z.ZodTypeAny, {
2912
- firstname: string;
2913
- surname: string;
2912
+ firstname?: string | null | undefined;
2913
+ surname?: string | null | undefined;
2914
2914
  middlename?: string | null | undefined;
2915
2915
  }, {
2916
- firstname: string;
2917
- surname: string;
2916
+ firstname?: string | null | undefined;
2917
+ surname?: string | null | undefined;
2918
2918
  middlename?: string | null | undefined;
2919
2919
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
2920
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
3035
- surname: z.ZodString;
3034
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
3036
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
- firstname: string;
3039
- surname: string;
3038
+ firstname?: string | null | undefined;
3039
+ surname?: string | null | undefined;
3040
3040
  middlename?: string | null | undefined;
3041
3041
  }, {
3042
- firstname: string;
3043
- surname: string;
3042
+ firstname?: string | null | undefined;
3043
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
3047
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
3053
+ id: string & z.BRAND<"UUID">;
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;
3077
- surname: string;
3076
+ firstname?: string | null | undefined;
3077
+ surname?: string | null | undefined;
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 | null | undefined;
3103
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
3121
- surname: string;
3120
+ firstname?: string | null | undefined;
3121
+ surname?: string | null | undefined;
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> | undefined;
3146
- originalActionId?: string | undefined;
3145
+ }[] | [string, string] | null | undefined> | null | undefined;
3146
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
3174
- surname: string;
3173
+ firstname?: string | null | undefined;
3174
+ surname?: string | null | undefined;
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;
3218
- surname: string;
3217
+ firstname?: string | null | undefined;
3218
+ surname?: string | null | undefined;
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> | undefined;
3243
- originalActionId?: string | undefined;
3242
+ }[] | [string, string] | null | undefined> | null | undefined;
3243
+ originalActionId?: string | null | undefined;
3244
3244
  registrationNumber?: string | undefined;
3245
3245
  }>, z.ZodObject<z.objectUtil.extendShape<{
3246
- id: z.ZodString;
3246
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
3253
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
3369
- surname: z.ZodString;
3368
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3370
3370
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
3371
  }, "strip", z.ZodTypeAny, {
3372
- firstname: string;
3373
- surname: string;
3372
+ firstname?: string | null | undefined;
3373
+ surname?: string | null | undefined;
3374
3374
  middlename?: string | null | undefined;
3375
3375
  }, {
3376
- firstname: string;
3377
- surname: string;
3376
+ firstname?: string | null | undefined;
3377
+ surname?: string | null | undefined;
3378
3378
  middlename?: string | null | undefined;
3379
3379
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3380
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
3495
- surname: z.ZodString;
3494
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3495
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3496
3496
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3497
3497
  }, "strip", z.ZodTypeAny, {
3498
- firstname: string;
3499
- surname: string;
3498
+ firstname?: string | null | undefined;
3499
+ surname?: string | null | undefined;
3500
3500
  middlename?: string | null | undefined;
3501
3501
  }, {
3502
- firstname: string;
3503
- surname: string;
3502
+ firstname?: string | null | undefined;
3503
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
3507
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
3508
3508
  }, {
3509
3509
  type: z.ZodLiteral<"DECLARE">;
3510
3510
  }>, "strip", z.ZodTypeAny, {
3511
3511
  type: "DECLARE";
3512
- id: string;
3512
+ id: string & z.BRAND<"UUID">;
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;
3536
- surname: string;
3535
+ firstname?: string | null | undefined;
3536
+ surname?: string | null | undefined;
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 | null | undefined;
3562
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
3580
- surname: string;
3579
+ firstname?: string | null | undefined;
3580
+ surname?: string | null | undefined;
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> | undefined;
3605
- originalActionId?: string | undefined;
3604
+ }[] | [string, string] | null | undefined> | null | undefined;
3605
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
3632
- surname: string;
3631
+ firstname?: string | null | undefined;
3632
+ surname?: string | null | undefined;
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;
3676
- surname: string;
3675
+ firstname?: string | null | undefined;
3676
+ surname?: string | null | undefined;
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> | undefined;
3701
- originalActionId?: string | undefined;
3700
+ }[] | [string, string] | null | undefined> | null | undefined;
3701
+ originalActionId?: string | null | undefined;
3702
3702
  }>, z.ZodObject<z.objectUtil.extendShape<{
3703
- id: z.ZodString;
3703
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
3710
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
3826
- surname: z.ZodString;
3825
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3827
3827
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
3828
  }, "strip", z.ZodTypeAny, {
3829
- firstname: string;
3830
- surname: string;
3829
+ firstname?: string | null | undefined;
3830
+ surname?: string | null | undefined;
3831
3831
  middlename?: string | null | undefined;
3832
3832
  }, {
3833
- firstname: string;
3834
- surname: string;
3833
+ firstname?: string | null | undefined;
3834
+ surname?: string | null | undefined;
3835
3835
  middlename?: string | null | undefined;
3836
3836
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
3837
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
3952
- surname: z.ZodString;
3951
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3952
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3953
3953
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3954
3954
  }, "strip", z.ZodTypeAny, {
3955
- firstname: string;
3956
- surname: string;
3955
+ firstname?: string | null | undefined;
3956
+ surname?: string | null | undefined;
3957
3957
  middlename?: string | null | undefined;
3958
3958
  }, {
3959
- firstname: string;
3960
- surname: string;
3959
+ firstname?: string | null | undefined;
3960
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
3964
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
3970
+ id: string & z.BRAND<"UUID">;
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;
3994
- surname: string;
3993
+ firstname?: string | null | undefined;
3994
+ surname?: string | null | undefined;
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 | null | undefined;
4021
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
4039
- surname: string;
4038
+ firstname?: string | null | undefined;
4039
+ surname?: string | null | undefined;
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> | undefined;
4064
- originalActionId?: string | undefined;
4063
+ }[] | [string, string] | null | undefined> | null | undefined;
4064
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
4091
- surname: string;
4090
+ firstname?: string | null | undefined;
4091
+ surname?: string | null | undefined;
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;
4136
- surname: string;
4135
+ firstname?: string | null | undefined;
4136
+ surname?: string | null | undefined;
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> | undefined;
4161
- originalActionId?: string | undefined;
4160
+ }[] | [string, string] | null | undefined> | null | undefined;
4161
+ originalActionId?: string | null | undefined;
4162
4162
  }>, z.ZodObject<z.objectUtil.extendShape<{
4163
- id: z.ZodString;
4163
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
4170
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
4286
- surname: z.ZodString;
4285
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4286
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
4287
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
4288
  }, "strip", z.ZodTypeAny, {
4289
- firstname: string;
4290
- surname: string;
4289
+ firstname?: string | null | undefined;
4290
+ surname?: string | null | undefined;
4291
4291
  middlename?: string | null | undefined;
4292
4292
  }, {
4293
- firstname: string;
4294
- surname: string;
4293
+ firstname?: string | null | undefined;
4294
+ surname?: string | null | undefined;
4295
4295
  middlename?: string | null | undefined;
4296
4296
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4297
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
4412
- surname: z.ZodString;
4411
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4412
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4413
4413
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4414
4414
  }, "strip", z.ZodTypeAny, {
4415
- firstname: string;
4416
- surname: string;
4415
+ firstname?: string | null | undefined;
4416
+ surname?: string | null | undefined;
4417
4417
  middlename?: string | null | undefined;
4418
4418
  }, {
4419
- firstname: string;
4420
- surname: string;
4419
+ firstname?: string | null | undefined;
4420
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
4424
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
4425
4425
  }, {
4426
4426
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
4427
4427
  }>, "strip", z.ZodTypeAny, {
4428
4428
  type: "REQUEST_CORRECTION";
4429
- id: string;
4429
+ id: string & z.BRAND<"UUID">;
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;
4453
- surname: string;
4452
+ firstname?: string | null | undefined;
4453
+ surname?: string | null | undefined;
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 | null | undefined;
4479
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
4497
- surname: string;
4496
+ firstname?: string | null | undefined;
4497
+ surname?: string | null | undefined;
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> | undefined;
4522
- originalActionId?: string | undefined;
4521
+ }[] | [string, string] | null | undefined> | null | undefined;
4522
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
4549
- surname: string;
4548
+ firstname?: string | null | undefined;
4549
+ surname?: string | null | undefined;
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;
4593
- surname: string;
4592
+ firstname?: string | null | undefined;
4593
+ surname?: string | null | undefined;
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> | undefined;
4618
- originalActionId?: string | undefined;
4617
+ }[] | [string, string] | null | undefined> | null | undefined;
4618
+ originalActionId?: string | null | undefined;
4619
4619
  }>, z.ZodObject<z.objectUtil.extendShape<{
4620
- id: z.ZodString;
4620
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
4627
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
4743
- surname: z.ZodString;
4742
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4744
4744
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4745
4745
  }, "strip", z.ZodTypeAny, {
4746
- firstname: string;
4747
- surname: string;
4746
+ firstname?: string | null | undefined;
4747
+ surname?: string | null | undefined;
4748
4748
  middlename?: string | null | undefined;
4749
4749
  }, {
4750
- firstname: string;
4751
- surname: string;
4750
+ firstname?: string | null | undefined;
4751
+ surname?: string | null | undefined;
4752
4752
  middlename?: string | null | undefined;
4753
4753
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
4754
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
4869
- surname: z.ZodString;
4868
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4869
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4870
4870
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4871
4871
  }, "strip", z.ZodTypeAny, {
4872
- firstname: string;
4873
- surname: string;
4872
+ firstname?: string | null | undefined;
4873
+ surname?: string | null | undefined;
4874
4874
  middlename?: string | null | undefined;
4875
4875
  }, {
4876
- firstname: string;
4877
- surname: string;
4876
+ firstname?: string | null | undefined;
4877
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
4881
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
4887
+ id: string & z.BRAND<"UUID">;
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;
4911
- surname: string;
4910
+ firstname?: string | null | undefined;
4911
+ surname?: string | null | undefined;
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 | null | undefined;
4938
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
4956
- surname: string;
4955
+ firstname?: string | null | undefined;
4956
+ surname?: string | null | undefined;
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> | undefined;
4981
- originalActionId?: string | undefined;
4980
+ }[] | [string, string] | null | undefined> | null | undefined;
4981
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
5008
- surname: string;
5007
+ firstname?: string | null | undefined;
5008
+ surname?: string | null | undefined;
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;
5053
- surname: string;
5052
+ firstname?: string | null | undefined;
5053
+ surname?: string | null | undefined;
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> | undefined;
5078
- originalActionId?: string | undefined;
5077
+ }[] | [string, string] | null | undefined> | null | undefined;
5078
+ originalActionId?: string | null | undefined;
5079
5079
  }>, z.ZodObject<z.objectUtil.extendShape<{
5080
- id: z.ZodString;
5080
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
5087
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
5203
- surname: z.ZodString;
5202
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5203
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5204
5204
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5205
5205
  }, "strip", z.ZodTypeAny, {
5206
- firstname: string;
5207
- surname: string;
5206
+ firstname?: string | null | undefined;
5207
+ surname?: string | null | undefined;
5208
5208
  middlename?: string | null | undefined;
5209
5209
  }, {
5210
- firstname: string;
5211
- surname: string;
5210
+ firstname?: string | null | undefined;
5211
+ surname?: string | null | undefined;
5212
5212
  middlename?: string | null | undefined;
5213
5213
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5214
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
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.ZodString;
5329
- surname: z.ZodString;
5328
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5329
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5330
5330
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5331
  }, "strip", z.ZodTypeAny, {
5332
- firstname: string;
5333
- surname: string;
5332
+ firstname?: string | null | undefined;
5333
+ surname?: string | null | undefined;
5334
5334
  middlename?: string | null | undefined;
5335
5335
  }, {
5336
- firstname: string;
5337
- surname: string;
5336
+ firstname?: string | null | undefined;
5337
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
5341
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
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;
5347
+ id: string & z.BRAND<"UUID">;
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;
5371
- surname: string;
5370
+ firstname?: string | null | undefined;
5371
+ surname?: string | null | undefined;
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 | null | undefined;
5398
+ createdAtLocation?: (string & z.BRAND<"UUID">) | 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;
5416
- surname: string;
5415
+ firstname?: string | null | undefined;
5416
+ surname?: string | null | undefined;
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> | undefined;
5441
- originalActionId?: string | undefined;
5440
+ }[] | [string, string] | null | undefined> | null | undefined;
5441
+ originalActionId?: (string & z.BRAND<"UUID">) | null | 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;
5468
- surname: string;
5467
+ firstname?: string | null | undefined;
5468
+ surname?: string | null | undefined;
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;
5513
- surname: string;
5512
+ firstname?: string | null | undefined;
5513
+ surname?: string | null | undefined;
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> | undefined;
5538
- originalActionId?: string | undefined;
5537
+ }[] | [string, string] | null | undefined> | null | undefined;
5538
+ originalActionId?: string | null | undefined;
5539
5539
  }>, z.ZodObject<z.objectUtil.extendShape<{
5540
- id: z.ZodString;
5540
+ id: z.ZodBranded<z.ZodString, "UUID">;
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.ZodString>>;
5547
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
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.ZodString;
5663
- surname: z.ZodString;
5662
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5663
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5664
5664
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5665
5665
  }, "strip", z.ZodTypeAny, {
5666
- firstname: string;
5667
- surname: string;
5666
+ firstname?: string | null | undefined;
5667
+ surname?: string | null | undefined;
5668
5668
  middlename?: string | null | undefined;
5669
5669
  }, {
5670
- firstname: string;
5671
- surname: string;
5670
+ firstname?: string | null | undefined;
5671
+ surname?: string | null | undefined;
5672
5672
  middlename?: string | null | undefined;
5673
5673
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
5674
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5675
5675
  filename: z.ZodString;
5676
5676
  originalFilename: z.ZodString;
5677
5677
  type: z.ZodString;
@@ -5785,26 +5785,25 @@ 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.ZodString;
5789
- surname: z.ZodString;
5788
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5789
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5790
5790
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5791
5791
  }, "strip", z.ZodTypeAny, {
5792
- firstname: string;
5793
- surname: string;
5792
+ firstname?: string | null | undefined;
5793
+ surname?: string | null | undefined;
5794
5794
  middlename?: string | null | undefined;
5795
5795
  }, {
5796
- firstname: string;
5797
- surname: string;
5796
+ firstname?: string | null | undefined;
5797
+ surname?: string | null | undefined;
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.ZodOptional<z.ZodString>;
5801
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
5802
5802
  }, {
5803
5803
  type: z.ZodLiteral<"UNASSIGN">;
5804
- assignedTo: z.ZodLiteral<null>;
5805
5804
  }>, "strip", z.ZodTypeAny, {
5806
5805
  type: "UNASSIGN";
5807
- id: string;
5806
+ id: string & z.BRAND<"UUID">;
5808
5807
  status: "Rejected" | "Requested" | "Accepted";
5809
5808
  transactionId: string;
5810
5809
  createdByUserType: "system" | "user";
@@ -5827,8 +5826,8 @@ export declare const EventDocument: z.ZodObject<{
5827
5826
  street?: string | null | undefined;
5828
5827
  zipCode?: string | null | undefined;
5829
5828
  } | {
5830
- firstname: string;
5831
- surname: string;
5829
+ firstname?: string | null | undefined;
5830
+ surname?: string | null | undefined;
5832
5831
  middlename?: string | null | undefined;
5833
5832
  } | {
5834
5833
  country: string;
@@ -5853,9 +5852,8 @@ export declare const EventDocument: z.ZodObject<{
5853
5852
  filename: string;
5854
5853
  originalFilename: string;
5855
5854
  }[] | [string, string] | null | undefined>;
5856
- assignedTo: null;
5857
5855
  createdBySignature?: string | null | undefined;
5858
- createdAtLocation?: string | null | undefined;
5856
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
5859
5857
  annotation?: Record<string, string | number | boolean | {
5860
5858
  type: string;
5861
5859
  filename: string;
@@ -5872,8 +5870,8 @@ export declare const EventDocument: z.ZodObject<{
5872
5870
  street?: string | null | undefined;
5873
5871
  zipCode?: string | null | undefined;
5874
5872
  } | {
5875
- firstname: string;
5876
- surname: string;
5873
+ firstname?: string | null | undefined;
5874
+ surname?: string | null | undefined;
5877
5875
  middlename?: string | null | undefined;
5878
5876
  } | {
5879
5877
  country: string;
@@ -5897,8 +5895,8 @@ export declare const EventDocument: z.ZodObject<{
5897
5895
  option: string;
5898
5896
  filename: string;
5899
5897
  originalFilename: string;
5900
- }[] | [string, string] | null | undefined> | undefined;
5901
- originalActionId?: string | undefined;
5898
+ }[] | [string, string] | null | undefined> | null | undefined;
5899
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
5902
5900
  }, {
5903
5901
  type: "UNASSIGN";
5904
5902
  id: string;
@@ -5924,8 +5922,8 @@ export declare const EventDocument: z.ZodObject<{
5924
5922
  street?: string | null | undefined;
5925
5923
  zipCode?: string | null | undefined;
5926
5924
  } | {
5927
- firstname: string;
5928
- surname: string;
5925
+ firstname?: string | null | undefined;
5926
+ surname?: string | null | undefined;
5929
5927
  middlename?: string | null | undefined;
5930
5928
  } | {
5931
5929
  country: string;
@@ -5950,7 +5948,6 @@ export declare const EventDocument: z.ZodObject<{
5950
5948
  filename: string;
5951
5949
  originalFilename: string;
5952
5950
  }[] | [string, string] | null | undefined>;
5953
- assignedTo: null;
5954
5951
  createdBySignature?: string | null | undefined;
5955
5952
  createdAtLocation?: string | null | undefined;
5956
5953
  annotation?: Record<string, string | number | boolean | {
@@ -5969,8 +5966,8 @@ export declare const EventDocument: z.ZodObject<{
5969
5966
  street?: string | null | undefined;
5970
5967
  zipCode?: string | null | undefined;
5971
5968
  } | {
5972
- firstname: string;
5973
- surname: string;
5969
+ firstname?: string | null | undefined;
5970
+ surname?: string | null | undefined;
5974
5971
  middlename?: string | null | undefined;
5975
5972
  } | {
5976
5973
  country: string;
@@ -5994,17 +5991,17 @@ export declare const EventDocument: z.ZodObject<{
5994
5991
  option: string;
5995
5992
  filename: string;
5996
5993
  originalFilename: string;
5997
- }[] | [string, string] | null | undefined> | undefined;
5998
- originalActionId?: string | undefined;
5994
+ }[] | [string, string] | null | undefined> | null | undefined;
5995
+ originalActionId?: string | null | undefined;
5999
5996
  }>, z.ZodObject<z.objectUtil.extendShape<{
6000
- id: z.ZodString;
5997
+ id: z.ZodBranded<z.ZodString, "UUID">;
6001
5998
  transactionId: z.ZodString;
6002
5999
  createdByUserType: z.ZodEnum<["user", "system"]>;
6003
6000
  createdAt: z.ZodString;
6004
6001
  createdBy: z.ZodString;
6005
6002
  createdByRole: z.ZodString;
6006
6003
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6007
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6004
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6008
6005
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6009
6006
  filename: z.ZodString;
6010
6007
  originalFilename: z.ZodString;
@@ -6119,19 +6116,19 @@ export declare const EventDocument: z.ZodObject<{
6119
6116
  addressLine3?: string | null | undefined;
6120
6117
  postcodeOrZip?: string | null | undefined;
6121
6118
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6122
- firstname: z.ZodString;
6123
- surname: z.ZodString;
6119
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6120
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6124
6121
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
6122
  }, "strip", z.ZodTypeAny, {
6126
- firstname: string;
6127
- surname: string;
6123
+ firstname?: string | null | undefined;
6124
+ surname?: string | null | undefined;
6128
6125
  middlename?: string | null | undefined;
6129
6126
  }, {
6130
- firstname: string;
6131
- surname: string;
6127
+ firstname?: string | null | undefined;
6128
+ surname?: string | null | undefined;
6132
6129
  middlename?: string | null | undefined;
6133
6130
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6134
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6135
6132
  filename: z.ZodString;
6136
6133
  originalFilename: z.ZodString;
6137
6134
  type: z.ZodString;
@@ -6245,25 +6242,25 @@ export declare const EventDocument: z.ZodObject<{
6245
6242
  addressLine3?: string | null | undefined;
6246
6243
  postcodeOrZip?: string | null | undefined;
6247
6244
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6248
- firstname: z.ZodString;
6249
- surname: z.ZodString;
6245
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6246
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6250
6247
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6251
6248
  }, "strip", z.ZodTypeAny, {
6252
- firstname: string;
6253
- surname: string;
6249
+ firstname?: string | null | undefined;
6250
+ surname?: string | null | undefined;
6254
6251
  middlename?: string | null | undefined;
6255
6252
  }, {
6256
- firstname: string;
6257
- surname: string;
6253
+ firstname?: string | null | undefined;
6254
+ surname?: string | null | undefined;
6258
6255
  middlename?: string | null | undefined;
6259
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6260
6257
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6261
- originalActionId: z.ZodOptional<z.ZodString>;
6258
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6262
6259
  }, {
6263
6260
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6264
6261
  }>, "strip", z.ZodTypeAny, {
6265
6262
  type: "PRINT_CERTIFICATE";
6266
- id: string;
6263
+ id: string & z.BRAND<"UUID">;
6267
6264
  status: "Rejected" | "Requested" | "Accepted";
6268
6265
  transactionId: string;
6269
6266
  createdByUserType: "system" | "user";
@@ -6286,8 +6283,8 @@ export declare const EventDocument: z.ZodObject<{
6286
6283
  street?: string | null | undefined;
6287
6284
  zipCode?: string | null | undefined;
6288
6285
  } | {
6289
- firstname: string;
6290
- surname: string;
6286
+ firstname?: string | null | undefined;
6287
+ surname?: string | null | undefined;
6291
6288
  middlename?: string | null | undefined;
6292
6289
  } | {
6293
6290
  country: string;
@@ -6313,7 +6310,7 @@ export declare const EventDocument: z.ZodObject<{
6313
6310
  originalFilename: string;
6314
6311
  }[] | [string, string] | null | undefined>;
6315
6312
  createdBySignature?: string | null | undefined;
6316
- createdAtLocation?: string | null | undefined;
6313
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6317
6314
  annotation?: Record<string, string | number | boolean | {
6318
6315
  type: string;
6319
6316
  filename: string;
@@ -6330,8 +6327,8 @@ export declare const EventDocument: z.ZodObject<{
6330
6327
  street?: string | null | undefined;
6331
6328
  zipCode?: string | null | undefined;
6332
6329
  } | {
6333
- firstname: string;
6334
- surname: string;
6330
+ firstname?: string | null | undefined;
6331
+ surname?: string | null | undefined;
6335
6332
  middlename?: string | null | undefined;
6336
6333
  } | {
6337
6334
  country: string;
@@ -6355,8 +6352,8 @@ export declare const EventDocument: z.ZodObject<{
6355
6352
  option: string;
6356
6353
  filename: string;
6357
6354
  originalFilename: string;
6358
- }[] | [string, string] | null | undefined> | undefined;
6359
- originalActionId?: string | undefined;
6355
+ }[] | [string, string] | null | undefined> | null | undefined;
6356
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6360
6357
  }, {
6361
6358
  type: "PRINT_CERTIFICATE";
6362
6359
  id: string;
@@ -6382,8 +6379,8 @@ export declare const EventDocument: z.ZodObject<{
6382
6379
  street?: string | null | undefined;
6383
6380
  zipCode?: string | null | undefined;
6384
6381
  } | {
6385
- firstname: string;
6386
- surname: string;
6382
+ firstname?: string | null | undefined;
6383
+ surname?: string | null | undefined;
6387
6384
  middlename?: string | null | undefined;
6388
6385
  } | {
6389
6386
  country: string;
@@ -6426,8 +6423,8 @@ export declare const EventDocument: z.ZodObject<{
6426
6423
  street?: string | null | undefined;
6427
6424
  zipCode?: string | null | undefined;
6428
6425
  } | {
6429
- firstname: string;
6430
- surname: string;
6426
+ firstname?: string | null | undefined;
6427
+ surname?: string | null | undefined;
6431
6428
  middlename?: string | null | undefined;
6432
6429
  } | {
6433
6430
  country: string;
@@ -6451,17 +6448,17 @@ export declare const EventDocument: z.ZodObject<{
6451
6448
  option: string;
6452
6449
  filename: string;
6453
6450
  originalFilename: string;
6454
- }[] | [string, string] | null | undefined> | undefined;
6455
- originalActionId?: string | undefined;
6451
+ }[] | [string, string] | null | undefined> | null | undefined;
6452
+ originalActionId?: string | null | undefined;
6456
6453
  }>, z.ZodObject<z.objectUtil.extendShape<{
6457
- id: z.ZodString;
6454
+ id: z.ZodBranded<z.ZodString, "UUID">;
6458
6455
  transactionId: z.ZodString;
6459
6456
  createdByUserType: z.ZodEnum<["user", "system"]>;
6460
6457
  createdAt: z.ZodString;
6461
6458
  createdBy: z.ZodString;
6462
6459
  createdByRole: z.ZodString;
6463
6460
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6464
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6461
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6465
6462
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6466
6463
  filename: z.ZodString;
6467
6464
  originalFilename: z.ZodString;
@@ -6576,19 +6573,19 @@ export declare const EventDocument: z.ZodObject<{
6576
6573
  addressLine3?: string | null | undefined;
6577
6574
  postcodeOrZip?: string | null | undefined;
6578
6575
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6579
- firstname: z.ZodString;
6580
- surname: z.ZodString;
6576
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6581
6578
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6582
6579
  }, "strip", z.ZodTypeAny, {
6583
- firstname: string;
6584
- surname: string;
6580
+ firstname?: string | null | undefined;
6581
+ surname?: string | null | undefined;
6585
6582
  middlename?: string | null | undefined;
6586
6583
  }, {
6587
- firstname: string;
6588
- surname: string;
6584
+ firstname?: string | null | undefined;
6585
+ surname?: string | null | undefined;
6589
6586
  middlename?: string | null | undefined;
6590
6587
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
6591
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6592
6589
  filename: z.ZodString;
6593
6590
  originalFilename: z.ZodString;
6594
6591
  type: z.ZodString;
@@ -6702,25 +6699,25 @@ export declare const EventDocument: z.ZodObject<{
6702
6699
  addressLine3?: string | null | undefined;
6703
6700
  postcodeOrZip?: string | null | undefined;
6704
6701
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6705
- firstname: z.ZodString;
6706
- surname: z.ZodString;
6702
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6703
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6707
6704
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6708
6705
  }, "strip", z.ZodTypeAny, {
6709
- firstname: string;
6710
- surname: string;
6706
+ firstname?: string | null | undefined;
6707
+ surname?: string | null | undefined;
6711
6708
  middlename?: string | null | undefined;
6712
6709
  }, {
6713
- firstname: string;
6714
- surname: string;
6710
+ firstname?: string | null | undefined;
6711
+ surname?: string | null | undefined;
6715
6712
  middlename?: string | null | undefined;
6716
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6713
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
6717
6714
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6718
- originalActionId: z.ZodOptional<z.ZodString>;
6715
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6719
6716
  }, {
6720
6717
  type: z.ZodLiteral<"READ">;
6721
6718
  }>, "strip", z.ZodTypeAny, {
6722
6719
  type: "READ";
6723
- id: string;
6720
+ id: string & z.BRAND<"UUID">;
6724
6721
  status: "Rejected" | "Requested" | "Accepted";
6725
6722
  transactionId: string;
6726
6723
  createdByUserType: "system" | "user";
@@ -6743,8 +6740,8 @@ export declare const EventDocument: z.ZodObject<{
6743
6740
  street?: string | null | undefined;
6744
6741
  zipCode?: string | null | undefined;
6745
6742
  } | {
6746
- firstname: string;
6747
- surname: string;
6743
+ firstname?: string | null | undefined;
6744
+ surname?: string | null | undefined;
6748
6745
  middlename?: string | null | undefined;
6749
6746
  } | {
6750
6747
  country: string;
@@ -6770,7 +6767,7 @@ export declare const EventDocument: z.ZodObject<{
6770
6767
  originalFilename: string;
6771
6768
  }[] | [string, string] | null | undefined>;
6772
6769
  createdBySignature?: string | null | undefined;
6773
- createdAtLocation?: string | null | undefined;
6770
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6774
6771
  annotation?: Record<string, string | number | boolean | {
6775
6772
  type: string;
6776
6773
  filename: string;
@@ -6787,8 +6784,8 @@ export declare const EventDocument: z.ZodObject<{
6787
6784
  street?: string | null | undefined;
6788
6785
  zipCode?: string | null | undefined;
6789
6786
  } | {
6790
- firstname: string;
6791
- surname: string;
6787
+ firstname?: string | null | undefined;
6788
+ surname?: string | null | undefined;
6792
6789
  middlename?: string | null | undefined;
6793
6790
  } | {
6794
6791
  country: string;
@@ -6812,8 +6809,8 @@ export declare const EventDocument: z.ZodObject<{
6812
6809
  option: string;
6813
6810
  filename: string;
6814
6811
  originalFilename: string;
6815
- }[] | [string, string] | null | undefined> | undefined;
6816
- originalActionId?: string | undefined;
6812
+ }[] | [string, string] | null | undefined> | null | undefined;
6813
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
6817
6814
  }, {
6818
6815
  type: "READ";
6819
6816
  id: string;
@@ -6839,8 +6836,8 @@ export declare const EventDocument: z.ZodObject<{
6839
6836
  street?: string | null | undefined;
6840
6837
  zipCode?: string | null | undefined;
6841
6838
  } | {
6842
- firstname: string;
6843
- surname: string;
6839
+ firstname?: string | null | undefined;
6840
+ surname?: string | null | undefined;
6844
6841
  middlename?: string | null | undefined;
6845
6842
  } | {
6846
6843
  country: string;
@@ -6883,8 +6880,8 @@ export declare const EventDocument: z.ZodObject<{
6883
6880
  street?: string | null | undefined;
6884
6881
  zipCode?: string | null | undefined;
6885
6882
  } | {
6886
- firstname: string;
6887
- surname: string;
6883
+ firstname?: string | null | undefined;
6884
+ surname?: string | null | undefined;
6888
6885
  middlename?: string | null | undefined;
6889
6886
  } | {
6890
6887
  country: string;
@@ -6908,17 +6905,17 @@ export declare const EventDocument: z.ZodObject<{
6908
6905
  option: string;
6909
6906
  filename: string;
6910
6907
  originalFilename: string;
6911
- }[] | [string, string] | null | undefined> | undefined;
6912
- originalActionId?: string | undefined;
6908
+ }[] | [string, string] | null | undefined> | null | undefined;
6909
+ originalActionId?: string | null | undefined;
6913
6910
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
6914
- id: z.ZodString;
6911
+ id: z.ZodBranded<z.ZodString, "UUID">;
6915
6912
  transactionId: z.ZodString;
6916
6913
  createdByUserType: z.ZodEnum<["user", "system"]>;
6917
6914
  createdAt: z.ZodString;
6918
6915
  createdBy: z.ZodString;
6919
6916
  createdByRole: z.ZodString;
6920
6917
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6921
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6918
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6922
6919
  declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6923
6920
  filename: z.ZodString;
6924
6921
  originalFilename: z.ZodString;
@@ -7033,19 +7030,19 @@ export declare const EventDocument: z.ZodObject<{
7033
7030
  addressLine3?: string | null | undefined;
7034
7031
  postcodeOrZip?: string | null | undefined;
7035
7032
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7036
- firstname: z.ZodString;
7037
- surname: z.ZodString;
7033
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7034
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7038
7035
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
7036
  }, "strip", z.ZodTypeAny, {
7040
- firstname: string;
7041
- surname: string;
7037
+ firstname?: string | null | undefined;
7038
+ surname?: string | null | undefined;
7042
7039
  middlename?: string | null | undefined;
7043
7040
  }, {
7044
- firstname: string;
7045
- surname: string;
7041
+ firstname?: string | null | undefined;
7042
+ surname?: string | null | undefined;
7046
7043
  middlename?: string | null | undefined;
7047
7044
  }>, z.ZodNull]>, z.ZodUndefined]>]>>;
7048
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7049
7046
  filename: z.ZodString;
7050
7047
  originalFilename: z.ZodString;
7051
7048
  type: z.ZodString;
@@ -7159,26 +7156,26 @@ export declare const EventDocument: z.ZodObject<{
7159
7156
  addressLine3?: string | null | undefined;
7160
7157
  postcodeOrZip?: string | null | undefined;
7161
7158
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7162
- firstname: z.ZodString;
7163
- surname: z.ZodString;
7159
+ firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7160
+ surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7164
7161
  middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7165
7162
  }, "strip", z.ZodTypeAny, {
7166
- firstname: string;
7167
- surname: string;
7163
+ firstname?: string | null | undefined;
7164
+ surname?: string | null | undefined;
7168
7165
  middlename?: string | null | undefined;
7169
7166
  }, {
7170
- firstname: string;
7171
- surname: string;
7167
+ firstname?: string | null | undefined;
7168
+ surname?: string | null | undefined;
7172
7169
  middlename?: string | null | undefined;
7173
- }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7170
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
7174
7171
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7175
- originalActionId: z.ZodOptional<z.ZodString>;
7172
+ originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
7176
7173
  }, "declaration" | "annotation">, {
7177
7174
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7178
7175
  status: z.ZodLiteral<"Rejected">;
7179
7176
  }>, "strip", z.ZodTypeAny, {
7180
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7181
- id: string;
7177
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7178
+ id: string & z.BRAND<"UUID">;
7182
7179
  status: "Rejected";
7183
7180
  transactionId: string;
7184
7181
  createdByUserType: "system" | "user";
@@ -7186,10 +7183,10 @@ export declare const EventDocument: z.ZodObject<{
7186
7183
  createdBy: string;
7187
7184
  createdByRole: string;
7188
7185
  createdBySignature?: string | null | undefined;
7189
- createdAtLocation?: string | null | undefined;
7190
- originalActionId?: string | undefined;
7186
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7187
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7191
7188
  }, {
7192
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7189
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7193
7190
  id: string;
7194
7191
  status: "Rejected";
7195
7192
  transactionId: string;
@@ -7199,17 +7196,17 @@ export declare const EventDocument: z.ZodObject<{
7199
7196
  createdByRole: string;
7200
7197
  createdBySignature?: string | null | undefined;
7201
7198
  createdAtLocation?: string | null | undefined;
7202
- originalActionId?: string | undefined;
7199
+ originalActionId?: string | null | undefined;
7203
7200
  }>]>, "many">;
7204
7201
  trackingId: z.ZodString;
7205
7202
  }, "strip", z.ZodTypeAny, {
7206
7203
  type: string;
7207
- id: string;
7204
+ id: string & z.BRAND<"UUID">;
7208
7205
  createdAt: string;
7209
7206
  updatedAt: string;
7210
7207
  actions: ({
7211
7208
  type: "ASSIGN";
7212
- id: string;
7209
+ id: string & z.BRAND<"UUID">;
7213
7210
  status: "Rejected" | "Requested" | "Accepted";
7214
7211
  transactionId: string;
7215
7212
  createdByUserType: "system" | "user";
@@ -7232,8 +7229,8 @@ export declare const EventDocument: z.ZodObject<{
7232
7229
  street?: string | null | undefined;
7233
7230
  zipCode?: string | null | undefined;
7234
7231
  } | {
7235
- firstname: string;
7236
- surname: string;
7232
+ firstname?: string | null | undefined;
7233
+ surname?: string | null | undefined;
7237
7234
  middlename?: string | null | undefined;
7238
7235
  } | {
7239
7236
  country: string;
@@ -7260,7 +7257,7 @@ export declare const EventDocument: z.ZodObject<{
7260
7257
  }[] | [string, string] | null | undefined>;
7261
7258
  assignedTo: string;
7262
7259
  createdBySignature?: string | null | undefined;
7263
- createdAtLocation?: string | null | undefined;
7260
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7264
7261
  annotation?: Record<string, string | number | boolean | {
7265
7262
  type: string;
7266
7263
  filename: string;
@@ -7277,8 +7274,8 @@ export declare const EventDocument: z.ZodObject<{
7277
7274
  street?: string | null | undefined;
7278
7275
  zipCode?: string | null | undefined;
7279
7276
  } | {
7280
- firstname: string;
7281
- surname: string;
7277
+ firstname?: string | null | undefined;
7278
+ surname?: string | null | undefined;
7282
7279
  middlename?: string | null | undefined;
7283
7280
  } | {
7284
7281
  country: string;
@@ -7302,11 +7299,11 @@ export declare const EventDocument: z.ZodObject<{
7302
7299
  option: string;
7303
7300
  filename: string;
7304
7301
  originalFilename: string;
7305
- }[] | [string, string] | null | undefined> | undefined;
7306
- originalActionId?: string | undefined;
7302
+ }[] | [string, string] | null | undefined> | null | undefined;
7303
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7307
7304
  } | {
7308
7305
  type: "UNASSIGN";
7309
- id: string;
7306
+ id: string & z.BRAND<"UUID">;
7310
7307
  status: "Rejected" | "Requested" | "Accepted";
7311
7308
  transactionId: string;
7312
7309
  createdByUserType: "system" | "user";
@@ -7329,8 +7326,8 @@ export declare const EventDocument: z.ZodObject<{
7329
7326
  street?: string | null | undefined;
7330
7327
  zipCode?: string | null | undefined;
7331
7328
  } | {
7332
- firstname: string;
7333
- surname: string;
7329
+ firstname?: string | null | undefined;
7330
+ surname?: string | null | undefined;
7334
7331
  middlename?: string | null | undefined;
7335
7332
  } | {
7336
7333
  country: string;
@@ -7355,9 +7352,8 @@ export declare const EventDocument: z.ZodObject<{
7355
7352
  filename: string;
7356
7353
  originalFilename: string;
7357
7354
  }[] | [string, string] | null | undefined>;
7358
- assignedTo: null;
7359
7355
  createdBySignature?: string | null | undefined;
7360
- createdAtLocation?: string | null | undefined;
7356
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7361
7357
  annotation?: Record<string, string | number | boolean | {
7362
7358
  type: string;
7363
7359
  filename: string;
@@ -7374,8 +7370,8 @@ export declare const EventDocument: z.ZodObject<{
7374
7370
  street?: string | null | undefined;
7375
7371
  zipCode?: string | null | undefined;
7376
7372
  } | {
7377
- firstname: string;
7378
- surname: string;
7373
+ firstname?: string | null | undefined;
7374
+ surname?: string | null | undefined;
7379
7375
  middlename?: string | null | undefined;
7380
7376
  } | {
7381
7377
  country: string;
@@ -7399,11 +7395,11 @@ export declare const EventDocument: z.ZodObject<{
7399
7395
  option: string;
7400
7396
  filename: string;
7401
7397
  originalFilename: string;
7402
- }[] | [string, string] | null | undefined> | undefined;
7403
- originalActionId?: string | undefined;
7398
+ }[] | [string, string] | null | undefined> | null | undefined;
7399
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7404
7400
  } | {
7405
7401
  type: "REGISTER";
7406
- id: string;
7402
+ id: string & z.BRAND<"UUID">;
7407
7403
  status: "Rejected" | "Requested" | "Accepted";
7408
7404
  transactionId: string;
7409
7405
  createdByUserType: "system" | "user";
@@ -7426,8 +7422,8 @@ export declare const EventDocument: z.ZodObject<{
7426
7422
  street?: string | null | undefined;
7427
7423
  zipCode?: string | null | undefined;
7428
7424
  } | {
7429
- firstname: string;
7430
- surname: string;
7425
+ firstname?: string | null | undefined;
7426
+ surname?: string | null | undefined;
7431
7427
  middlename?: string | null | undefined;
7432
7428
  } | {
7433
7429
  country: string;
@@ -7453,7 +7449,7 @@ export declare const EventDocument: z.ZodObject<{
7453
7449
  originalFilename: string;
7454
7450
  }[] | [string, string] | null | undefined>;
7455
7451
  createdBySignature?: string | null | undefined;
7456
- createdAtLocation?: string | null | undefined;
7452
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7457
7453
  annotation?: Record<string, string | number | boolean | {
7458
7454
  type: string;
7459
7455
  filename: string;
@@ -7470,8 +7466,8 @@ export declare const EventDocument: z.ZodObject<{
7470
7466
  street?: string | null | undefined;
7471
7467
  zipCode?: string | null | undefined;
7472
7468
  } | {
7473
- firstname: string;
7474
- surname: string;
7469
+ firstname?: string | null | undefined;
7470
+ surname?: string | null | undefined;
7475
7471
  middlename?: string | null | undefined;
7476
7472
  } | {
7477
7473
  country: string;
@@ -7495,12 +7491,12 @@ export declare const EventDocument: z.ZodObject<{
7495
7491
  option: string;
7496
7492
  filename: string;
7497
7493
  originalFilename: string;
7498
- }[] | [string, string] | null | undefined> | undefined;
7499
- originalActionId?: string | undefined;
7494
+ }[] | [string, string] | null | undefined> | null | undefined;
7495
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7500
7496
  registrationNumber?: string | undefined;
7501
7497
  } | {
7502
7498
  type: "DECLARE";
7503
- id: string;
7499
+ id: string & z.BRAND<"UUID">;
7504
7500
  status: "Rejected" | "Requested" | "Accepted";
7505
7501
  transactionId: string;
7506
7502
  createdByUserType: "system" | "user";
@@ -7523,8 +7519,8 @@ export declare const EventDocument: z.ZodObject<{
7523
7519
  street?: string | null | undefined;
7524
7520
  zipCode?: string | null | undefined;
7525
7521
  } | {
7526
- firstname: string;
7527
- surname: string;
7522
+ firstname?: string | null | undefined;
7523
+ surname?: string | null | undefined;
7528
7524
  middlename?: string | null | undefined;
7529
7525
  } | {
7530
7526
  country: string;
@@ -7550,7 +7546,7 @@ export declare const EventDocument: z.ZodObject<{
7550
7546
  originalFilename: string;
7551
7547
  }[] | [string, string] | null | undefined>;
7552
7548
  createdBySignature?: string | null | undefined;
7553
- createdAtLocation?: string | null | undefined;
7549
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7554
7550
  annotation?: Record<string, string | number | boolean | {
7555
7551
  type: string;
7556
7552
  filename: string;
@@ -7567,8 +7563,8 @@ export declare const EventDocument: z.ZodObject<{
7567
7563
  street?: string | null | undefined;
7568
7564
  zipCode?: string | null | undefined;
7569
7565
  } | {
7570
- firstname: string;
7571
- surname: string;
7566
+ firstname?: string | null | undefined;
7567
+ surname?: string | null | undefined;
7572
7568
  middlename?: string | null | undefined;
7573
7569
  } | {
7574
7570
  country: string;
@@ -7592,11 +7588,11 @@ export declare const EventDocument: z.ZodObject<{
7592
7588
  option: string;
7593
7589
  filename: string;
7594
7590
  originalFilename: string;
7595
- }[] | [string, string] | null | undefined> | undefined;
7596
- originalActionId?: string | undefined;
7591
+ }[] | [string, string] | null | undefined> | null | undefined;
7592
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7597
7593
  } | {
7598
7594
  type: "VALIDATE";
7599
- id: string;
7595
+ id: string & z.BRAND<"UUID">;
7600
7596
  status: "Rejected" | "Requested" | "Accepted";
7601
7597
  transactionId: string;
7602
7598
  createdByUserType: "system" | "user";
@@ -7619,8 +7615,8 @@ export declare const EventDocument: z.ZodObject<{
7619
7615
  street?: string | null | undefined;
7620
7616
  zipCode?: string | null | undefined;
7621
7617
  } | {
7622
- firstname: string;
7623
- surname: string;
7618
+ firstname?: string | null | undefined;
7619
+ surname?: string | null | undefined;
7624
7620
  middlename?: string | null | undefined;
7625
7621
  } | {
7626
7622
  country: string;
@@ -7646,7 +7642,7 @@ export declare const EventDocument: z.ZodObject<{
7646
7642
  originalFilename: string;
7647
7643
  }[] | [string, string] | null | undefined>;
7648
7644
  createdBySignature?: string | null | undefined;
7649
- createdAtLocation?: string | null | undefined;
7645
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7650
7646
  annotation?: Record<string, string | number | boolean | {
7651
7647
  type: string;
7652
7648
  filename: string;
@@ -7663,8 +7659,8 @@ export declare const EventDocument: z.ZodObject<{
7663
7659
  street?: string | null | undefined;
7664
7660
  zipCode?: string | null | undefined;
7665
7661
  } | {
7666
- firstname: string;
7667
- surname: string;
7662
+ firstname?: string | null | undefined;
7663
+ surname?: string | null | undefined;
7668
7664
  middlename?: string | null | undefined;
7669
7665
  } | {
7670
7666
  country: string;
@@ -7688,11 +7684,11 @@ export declare const EventDocument: z.ZodObject<{
7688
7684
  option: string;
7689
7685
  filename: string;
7690
7686
  originalFilename: string;
7691
- }[] | [string, string] | null | undefined> | undefined;
7692
- originalActionId?: string | undefined;
7687
+ }[] | [string, string] | null | undefined> | null | undefined;
7688
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7693
7689
  } | {
7694
7690
  type: "REJECT";
7695
- id: string;
7691
+ id: string & z.BRAND<"UUID">;
7696
7692
  status: "Rejected" | "Requested" | "Accepted";
7697
7693
  reason: {
7698
7694
  message: string;
@@ -7719,8 +7715,8 @@ export declare const EventDocument: z.ZodObject<{
7719
7715
  street?: string | null | undefined;
7720
7716
  zipCode?: string | null | undefined;
7721
7717
  } | {
7722
- firstname: string;
7723
- surname: string;
7718
+ firstname?: string | null | undefined;
7719
+ surname?: string | null | undefined;
7724
7720
  middlename?: string | null | undefined;
7725
7721
  } | {
7726
7722
  country: string;
@@ -7746,7 +7742,7 @@ export declare const EventDocument: z.ZodObject<{
7746
7742
  originalFilename: string;
7747
7743
  }[] | [string, string] | null | undefined>;
7748
7744
  createdBySignature?: string | null | undefined;
7749
- createdAtLocation?: string | null | undefined;
7745
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7750
7746
  annotation?: Record<string, string | number | boolean | {
7751
7747
  type: string;
7752
7748
  filename: string;
@@ -7763,8 +7759,8 @@ export declare const EventDocument: z.ZodObject<{
7763
7759
  street?: string | null | undefined;
7764
7760
  zipCode?: string | null | undefined;
7765
7761
  } | {
7766
- firstname: string;
7767
- surname: string;
7762
+ firstname?: string | null | undefined;
7763
+ surname?: string | null | undefined;
7768
7764
  middlename?: string | null | undefined;
7769
7765
  } | {
7770
7766
  country: string;
@@ -7788,11 +7784,11 @@ export declare const EventDocument: z.ZodObject<{
7788
7784
  option: string;
7789
7785
  filename: string;
7790
7786
  originalFilename: string;
7791
- }[] | [string, string] | null | undefined> | undefined;
7792
- originalActionId?: string | undefined;
7787
+ }[] | [string, string] | null | undefined> | null | undefined;
7788
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7793
7789
  } | {
7794
7790
  type: "MARKED_AS_DUPLICATE";
7795
- id: string;
7791
+ id: string & z.BRAND<"UUID">;
7796
7792
  status: "Rejected" | "Requested" | "Accepted";
7797
7793
  transactionId: string;
7798
7794
  createdByUserType: "system" | "user";
@@ -7815,8 +7811,8 @@ export declare const EventDocument: z.ZodObject<{
7815
7811
  street?: string | null | undefined;
7816
7812
  zipCode?: string | null | undefined;
7817
7813
  } | {
7818
- firstname: string;
7819
- surname: string;
7814
+ firstname?: string | null | undefined;
7815
+ surname?: string | null | undefined;
7820
7816
  middlename?: string | null | undefined;
7821
7817
  } | {
7822
7818
  country: string;
@@ -7842,7 +7838,7 @@ export declare const EventDocument: z.ZodObject<{
7842
7838
  originalFilename: string;
7843
7839
  }[] | [string, string] | null | undefined>;
7844
7840
  createdBySignature?: string | null | undefined;
7845
- createdAtLocation?: string | null | undefined;
7841
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7846
7842
  annotation?: Record<string, string | number | boolean | {
7847
7843
  type: string;
7848
7844
  filename: string;
@@ -7859,8 +7855,8 @@ export declare const EventDocument: z.ZodObject<{
7859
7855
  street?: string | null | undefined;
7860
7856
  zipCode?: string | null | undefined;
7861
7857
  } | {
7862
- firstname: string;
7863
- surname: string;
7858
+ firstname?: string | null | undefined;
7859
+ surname?: string | null | undefined;
7864
7860
  middlename?: string | null | undefined;
7865
7861
  } | {
7866
7862
  country: string;
@@ -7884,11 +7880,11 @@ export declare const EventDocument: z.ZodObject<{
7884
7880
  option: string;
7885
7881
  filename: string;
7886
7882
  originalFilename: string;
7887
- }[] | [string, string] | null | undefined> | undefined;
7888
- originalActionId?: string | undefined;
7883
+ }[] | [string, string] | null | undefined> | null | undefined;
7884
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7889
7885
  } | {
7890
7886
  type: "ARCHIVE";
7891
- id: string;
7887
+ id: string & z.BRAND<"UUID">;
7892
7888
  status: "Rejected" | "Requested" | "Accepted";
7893
7889
  reason: {
7894
7890
  message: string;
@@ -7915,8 +7911,8 @@ export declare const EventDocument: z.ZodObject<{
7915
7911
  street?: string | null | undefined;
7916
7912
  zipCode?: string | null | undefined;
7917
7913
  } | {
7918
- firstname: string;
7919
- surname: string;
7914
+ firstname?: string | null | undefined;
7915
+ surname?: string | null | undefined;
7920
7916
  middlename?: string | null | undefined;
7921
7917
  } | {
7922
7918
  country: string;
@@ -7942,7 +7938,7 @@ export declare const EventDocument: z.ZodObject<{
7942
7938
  originalFilename: string;
7943
7939
  }[] | [string, string] | null | undefined>;
7944
7940
  createdBySignature?: string | null | undefined;
7945
- createdAtLocation?: string | null | undefined;
7941
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
7946
7942
  annotation?: Record<string, string | number | boolean | {
7947
7943
  type: string;
7948
7944
  filename: string;
@@ -7959,8 +7955,8 @@ export declare const EventDocument: z.ZodObject<{
7959
7955
  street?: string | null | undefined;
7960
7956
  zipCode?: string | null | undefined;
7961
7957
  } | {
7962
- firstname: string;
7963
- surname: string;
7958
+ firstname?: string | null | undefined;
7959
+ surname?: string | null | undefined;
7964
7960
  middlename?: string | null | undefined;
7965
7961
  } | {
7966
7962
  country: string;
@@ -7984,11 +7980,11 @@ export declare const EventDocument: z.ZodObject<{
7984
7980
  option: string;
7985
7981
  filename: string;
7986
7982
  originalFilename: string;
7987
- }[] | [string, string] | null | undefined> | undefined;
7988
- originalActionId?: string | undefined;
7983
+ }[] | [string, string] | null | undefined> | null | undefined;
7984
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
7989
7985
  } | {
7990
7986
  type: "CREATE";
7991
- id: string;
7987
+ id: string & z.BRAND<"UUID">;
7992
7988
  status: "Rejected" | "Requested" | "Accepted";
7993
7989
  transactionId: string;
7994
7990
  createdByUserType: "system" | "user";
@@ -8011,8 +8007,8 @@ export declare const EventDocument: z.ZodObject<{
8011
8007
  street?: string | null | undefined;
8012
8008
  zipCode?: string | null | undefined;
8013
8009
  } | {
8014
- firstname: string;
8015
- surname: string;
8010
+ firstname?: string | null | undefined;
8011
+ surname?: string | null | undefined;
8016
8012
  middlename?: string | null | undefined;
8017
8013
  } | {
8018
8014
  country: string;
@@ -8038,7 +8034,7 @@ export declare const EventDocument: z.ZodObject<{
8038
8034
  originalFilename: string;
8039
8035
  }[] | [string, string] | null | undefined>;
8040
8036
  createdBySignature?: string | null | undefined;
8041
- createdAtLocation?: string | null | undefined;
8037
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8042
8038
  annotation?: Record<string, string | number | boolean | {
8043
8039
  type: string;
8044
8040
  filename: string;
@@ -8055,8 +8051,8 @@ export declare const EventDocument: z.ZodObject<{
8055
8051
  street?: string | null | undefined;
8056
8052
  zipCode?: string | null | undefined;
8057
8053
  } | {
8058
- firstname: string;
8059
- surname: string;
8054
+ firstname?: string | null | undefined;
8055
+ surname?: string | null | undefined;
8060
8056
  middlename?: string | null | undefined;
8061
8057
  } | {
8062
8058
  country: string;
@@ -8080,11 +8076,11 @@ export declare const EventDocument: z.ZodObject<{
8080
8076
  option: string;
8081
8077
  filename: string;
8082
8078
  originalFilename: string;
8083
- }[] | [string, string] | null | undefined> | undefined;
8084
- originalActionId?: string | undefined;
8079
+ }[] | [string, string] | null | undefined> | null | undefined;
8080
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8085
8081
  } | {
8086
8082
  type: "NOTIFY";
8087
- id: string;
8083
+ id: string & z.BRAND<"UUID">;
8088
8084
  status: "Rejected" | "Requested" | "Accepted";
8089
8085
  transactionId: string;
8090
8086
  createdByUserType: "system" | "user";
@@ -8107,8 +8103,8 @@ export declare const EventDocument: z.ZodObject<{
8107
8103
  street?: string | null | undefined;
8108
8104
  zipCode?: string | null | undefined;
8109
8105
  } | {
8110
- firstname: string;
8111
- surname: string;
8106
+ firstname?: string | null | undefined;
8107
+ surname?: string | null | undefined;
8112
8108
  middlename?: string | null | undefined;
8113
8109
  } | {
8114
8110
  country: string;
@@ -8134,7 +8130,7 @@ export declare const EventDocument: z.ZodObject<{
8134
8130
  originalFilename: string;
8135
8131
  }[] | [string, string] | null | undefined>;
8136
8132
  createdBySignature?: string | null | undefined;
8137
- createdAtLocation?: string | null | undefined;
8133
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8138
8134
  annotation?: Record<string, string | number | boolean | {
8139
8135
  type: string;
8140
8136
  filename: string;
@@ -8151,8 +8147,8 @@ export declare const EventDocument: z.ZodObject<{
8151
8147
  street?: string | null | undefined;
8152
8148
  zipCode?: string | null | undefined;
8153
8149
  } | {
8154
- firstname: string;
8155
- surname: string;
8150
+ firstname?: string | null | undefined;
8151
+ surname?: string | null | undefined;
8156
8152
  middlename?: string | null | undefined;
8157
8153
  } | {
8158
8154
  country: string;
@@ -8176,11 +8172,11 @@ export declare const EventDocument: z.ZodObject<{
8176
8172
  option: string;
8177
8173
  filename: string;
8178
8174
  originalFilename: string;
8179
- }[] | [string, string] | null | undefined> | undefined;
8180
- originalActionId?: string | undefined;
8175
+ }[] | [string, string] | null | undefined> | null | undefined;
8176
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8181
8177
  } | {
8182
8178
  type: "PRINT_CERTIFICATE";
8183
- id: string;
8179
+ id: string & z.BRAND<"UUID">;
8184
8180
  status: "Rejected" | "Requested" | "Accepted";
8185
8181
  transactionId: string;
8186
8182
  createdByUserType: "system" | "user";
@@ -8203,8 +8199,8 @@ export declare const EventDocument: z.ZodObject<{
8203
8199
  street?: string | null | undefined;
8204
8200
  zipCode?: string | null | undefined;
8205
8201
  } | {
8206
- firstname: string;
8207
- surname: string;
8202
+ firstname?: string | null | undefined;
8203
+ surname?: string | null | undefined;
8208
8204
  middlename?: string | null | undefined;
8209
8205
  } | {
8210
8206
  country: string;
@@ -8230,7 +8226,7 @@ export declare const EventDocument: z.ZodObject<{
8230
8226
  originalFilename: string;
8231
8227
  }[] | [string, string] | null | undefined>;
8232
8228
  createdBySignature?: string | null | undefined;
8233
- createdAtLocation?: string | null | undefined;
8229
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8234
8230
  annotation?: Record<string, string | number | boolean | {
8235
8231
  type: string;
8236
8232
  filename: string;
@@ -8247,8 +8243,8 @@ export declare const EventDocument: z.ZodObject<{
8247
8243
  street?: string | null | undefined;
8248
8244
  zipCode?: string | null | undefined;
8249
8245
  } | {
8250
- firstname: string;
8251
- surname: string;
8246
+ firstname?: string | null | undefined;
8247
+ surname?: string | null | undefined;
8252
8248
  middlename?: string | null | undefined;
8253
8249
  } | {
8254
8250
  country: string;
@@ -8272,11 +8268,11 @@ export declare const EventDocument: z.ZodObject<{
8272
8268
  option: string;
8273
8269
  filename: string;
8274
8270
  originalFilename: string;
8275
- }[] | [string, string] | null | undefined> | undefined;
8276
- originalActionId?: string | undefined;
8271
+ }[] | [string, string] | null | undefined> | null | undefined;
8272
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8277
8273
  } | {
8278
8274
  type: "REQUEST_CORRECTION";
8279
- id: string;
8275
+ id: string & z.BRAND<"UUID">;
8280
8276
  status: "Rejected" | "Requested" | "Accepted";
8281
8277
  transactionId: string;
8282
8278
  createdByUserType: "system" | "user";
@@ -8299,8 +8295,8 @@ export declare const EventDocument: z.ZodObject<{
8299
8295
  street?: string | null | undefined;
8300
8296
  zipCode?: string | null | undefined;
8301
8297
  } | {
8302
- firstname: string;
8303
- surname: string;
8298
+ firstname?: string | null | undefined;
8299
+ surname?: string | null | undefined;
8304
8300
  middlename?: string | null | undefined;
8305
8301
  } | {
8306
8302
  country: string;
@@ -8326,7 +8322,7 @@ export declare const EventDocument: z.ZodObject<{
8326
8322
  originalFilename: string;
8327
8323
  }[] | [string, string] | null | undefined>;
8328
8324
  createdBySignature?: string | null | undefined;
8329
- createdAtLocation?: string | null | undefined;
8325
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8330
8326
  annotation?: Record<string, string | number | boolean | {
8331
8327
  type: string;
8332
8328
  filename: string;
@@ -8343,8 +8339,8 @@ export declare const EventDocument: z.ZodObject<{
8343
8339
  street?: string | null | undefined;
8344
8340
  zipCode?: string | null | undefined;
8345
8341
  } | {
8346
- firstname: string;
8347
- surname: string;
8342
+ firstname?: string | null | undefined;
8343
+ surname?: string | null | undefined;
8348
8344
  middlename?: string | null | undefined;
8349
8345
  } | {
8350
8346
  country: string;
@@ -8368,11 +8364,11 @@ export declare const EventDocument: z.ZodObject<{
8368
8364
  option: string;
8369
8365
  filename: string;
8370
8366
  originalFilename: string;
8371
- }[] | [string, string] | null | undefined> | undefined;
8372
- originalActionId?: string | undefined;
8367
+ }[] | [string, string] | null | undefined> | null | undefined;
8368
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8373
8369
  } | {
8374
8370
  type: "APPROVE_CORRECTION";
8375
- id: string;
8371
+ id: string & z.BRAND<"UUID">;
8376
8372
  status: "Rejected" | "Requested" | "Accepted";
8377
8373
  transactionId: string;
8378
8374
  createdByUserType: "system" | "user";
@@ -8395,8 +8391,8 @@ export declare const EventDocument: z.ZodObject<{
8395
8391
  street?: string | null | undefined;
8396
8392
  zipCode?: string | null | undefined;
8397
8393
  } | {
8398
- firstname: string;
8399
- surname: string;
8394
+ firstname?: string | null | undefined;
8395
+ surname?: string | null | undefined;
8400
8396
  middlename?: string | null | undefined;
8401
8397
  } | {
8402
8398
  country: string;
@@ -8423,7 +8419,7 @@ export declare const EventDocument: z.ZodObject<{
8423
8419
  }[] | [string, string] | null | undefined>;
8424
8420
  requestId: string;
8425
8421
  createdBySignature?: string | null | undefined;
8426
- createdAtLocation?: string | null | undefined;
8422
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8427
8423
  annotation?: Record<string, string | number | boolean | {
8428
8424
  type: string;
8429
8425
  filename: string;
@@ -8440,8 +8436,8 @@ export declare const EventDocument: z.ZodObject<{
8440
8436
  street?: string | null | undefined;
8441
8437
  zipCode?: string | null | undefined;
8442
8438
  } | {
8443
- firstname: string;
8444
- surname: string;
8439
+ firstname?: string | null | undefined;
8440
+ surname?: string | null | undefined;
8445
8441
  middlename?: string | null | undefined;
8446
8442
  } | {
8447
8443
  country: string;
@@ -8465,11 +8461,11 @@ export declare const EventDocument: z.ZodObject<{
8465
8461
  option: string;
8466
8462
  filename: string;
8467
8463
  originalFilename: string;
8468
- }[] | [string, string] | null | undefined> | undefined;
8469
- originalActionId?: string | undefined;
8464
+ }[] | [string, string] | null | undefined> | null | undefined;
8465
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8470
8466
  } | {
8471
8467
  type: "REJECT_CORRECTION";
8472
- id: string;
8468
+ id: string & z.BRAND<"UUID">;
8473
8469
  status: "Rejected" | "Requested" | "Accepted";
8474
8470
  transactionId: string;
8475
8471
  createdByUserType: "system" | "user";
@@ -8492,8 +8488,8 @@ export declare const EventDocument: z.ZodObject<{
8492
8488
  street?: string | null | undefined;
8493
8489
  zipCode?: string | null | undefined;
8494
8490
  } | {
8495
- firstname: string;
8496
- surname: string;
8491
+ firstname?: string | null | undefined;
8492
+ surname?: string | null | undefined;
8497
8493
  middlename?: string | null | undefined;
8498
8494
  } | {
8499
8495
  country: string;
@@ -8520,7 +8516,7 @@ export declare const EventDocument: z.ZodObject<{
8520
8516
  }[] | [string, string] | null | undefined>;
8521
8517
  requestId: string;
8522
8518
  createdBySignature?: string | null | undefined;
8523
- createdAtLocation?: string | null | undefined;
8519
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8524
8520
  annotation?: Record<string, string | number | boolean | {
8525
8521
  type: string;
8526
8522
  filename: string;
@@ -8537,8 +8533,8 @@ export declare const EventDocument: z.ZodObject<{
8537
8533
  street?: string | null | undefined;
8538
8534
  zipCode?: string | null | undefined;
8539
8535
  } | {
8540
- firstname: string;
8541
- surname: string;
8536
+ firstname?: string | null | undefined;
8537
+ surname?: string | null | undefined;
8542
8538
  middlename?: string | null | undefined;
8543
8539
  } | {
8544
8540
  country: string;
@@ -8562,11 +8558,11 @@ export declare const EventDocument: z.ZodObject<{
8562
8558
  option: string;
8563
8559
  filename: string;
8564
8560
  originalFilename: string;
8565
- }[] | [string, string] | null | undefined> | undefined;
8566
- originalActionId?: string | undefined;
8561
+ }[] | [string, string] | null | undefined> | null | undefined;
8562
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8567
8563
  } | {
8568
8564
  type: "READ";
8569
- id: string;
8565
+ id: string & z.BRAND<"UUID">;
8570
8566
  status: "Rejected" | "Requested" | "Accepted";
8571
8567
  transactionId: string;
8572
8568
  createdByUserType: "system" | "user";
@@ -8589,8 +8585,8 @@ export declare const EventDocument: z.ZodObject<{
8589
8585
  street?: string | null | undefined;
8590
8586
  zipCode?: string | null | undefined;
8591
8587
  } | {
8592
- firstname: string;
8593
- surname: string;
8588
+ firstname?: string | null | undefined;
8589
+ surname?: string | null | undefined;
8594
8590
  middlename?: string | null | undefined;
8595
8591
  } | {
8596
8592
  country: string;
@@ -8616,7 +8612,7 @@ export declare const EventDocument: z.ZodObject<{
8616
8612
  originalFilename: string;
8617
8613
  }[] | [string, string] | null | undefined>;
8618
8614
  createdBySignature?: string | null | undefined;
8619
- createdAtLocation?: string | null | undefined;
8615
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8620
8616
  annotation?: Record<string, string | number | boolean | {
8621
8617
  type: string;
8622
8618
  filename: string;
@@ -8633,8 +8629,8 @@ export declare const EventDocument: z.ZodObject<{
8633
8629
  street?: string | null | undefined;
8634
8630
  zipCode?: string | null | undefined;
8635
8631
  } | {
8636
- firstname: string;
8637
- surname: string;
8632
+ firstname?: string | null | undefined;
8633
+ surname?: string | null | undefined;
8638
8634
  middlename?: string | null | undefined;
8639
8635
  } | {
8640
8636
  country: string;
@@ -8658,11 +8654,11 @@ export declare const EventDocument: z.ZodObject<{
8658
8654
  option: string;
8659
8655
  filename: string;
8660
8656
  originalFilename: string;
8661
- }[] | [string, string] | null | undefined> | undefined;
8662
- originalActionId?: string | undefined;
8657
+ }[] | [string, string] | null | undefined> | null | undefined;
8658
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8663
8659
  } | {
8664
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8665
- id: string;
8660
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
8661
+ id: string & z.BRAND<"UUID">;
8666
8662
  status: "Rejected";
8667
8663
  transactionId: string;
8668
8664
  createdByUserType: "system" | "user";
@@ -8670,8 +8666,8 @@ export declare const EventDocument: z.ZodObject<{
8670
8666
  createdBy: string;
8671
8667
  createdByRole: string;
8672
8668
  createdBySignature?: string | null | undefined;
8673
- createdAtLocation?: string | null | undefined;
8674
- originalActionId?: string | undefined;
8669
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8670
+ originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
8675
8671
  })[];
8676
8672
  trackingId: string;
8677
8673
  }, {
@@ -8704,8 +8700,8 @@ export declare const EventDocument: z.ZodObject<{
8704
8700
  street?: string | null | undefined;
8705
8701
  zipCode?: string | null | undefined;
8706
8702
  } | {
8707
- firstname: string;
8708
- surname: string;
8703
+ firstname?: string | null | undefined;
8704
+ surname?: string | null | undefined;
8709
8705
  middlename?: string | null | undefined;
8710
8706
  } | {
8711
8707
  country: string;
@@ -8749,8 +8745,8 @@ export declare const EventDocument: z.ZodObject<{
8749
8745
  street?: string | null | undefined;
8750
8746
  zipCode?: string | null | undefined;
8751
8747
  } | {
8752
- firstname: string;
8753
- surname: string;
8748
+ firstname?: string | null | undefined;
8749
+ surname?: string | null | undefined;
8754
8750
  middlename?: string | null | undefined;
8755
8751
  } | {
8756
8752
  country: string;
@@ -8774,8 +8770,8 @@ export declare const EventDocument: z.ZodObject<{
8774
8770
  option: string;
8775
8771
  filename: string;
8776
8772
  originalFilename: string;
8777
- }[] | [string, string] | null | undefined> | undefined;
8778
- originalActionId?: string | undefined;
8773
+ }[] | [string, string] | null | undefined> | null | undefined;
8774
+ originalActionId?: string | null | undefined;
8779
8775
  } | {
8780
8776
  type: "UNASSIGN";
8781
8777
  id: string;
@@ -8801,8 +8797,8 @@ export declare const EventDocument: z.ZodObject<{
8801
8797
  street?: string | null | undefined;
8802
8798
  zipCode?: string | null | undefined;
8803
8799
  } | {
8804
- firstname: string;
8805
- surname: string;
8800
+ firstname?: string | null | undefined;
8801
+ surname?: string | null | undefined;
8806
8802
  middlename?: string | null | undefined;
8807
8803
  } | {
8808
8804
  country: string;
@@ -8827,7 +8823,6 @@ export declare const EventDocument: z.ZodObject<{
8827
8823
  filename: string;
8828
8824
  originalFilename: string;
8829
8825
  }[] | [string, string] | null | undefined>;
8830
- assignedTo: null;
8831
8826
  createdBySignature?: string | null | undefined;
8832
8827
  createdAtLocation?: string | null | undefined;
8833
8828
  annotation?: Record<string, string | number | boolean | {
@@ -8846,8 +8841,8 @@ export declare const EventDocument: z.ZodObject<{
8846
8841
  street?: string | null | undefined;
8847
8842
  zipCode?: string | null | undefined;
8848
8843
  } | {
8849
- firstname: string;
8850
- surname: string;
8844
+ firstname?: string | null | undefined;
8845
+ surname?: string | null | undefined;
8851
8846
  middlename?: string | null | undefined;
8852
8847
  } | {
8853
8848
  country: string;
@@ -8871,8 +8866,8 @@ export declare const EventDocument: z.ZodObject<{
8871
8866
  option: string;
8872
8867
  filename: string;
8873
8868
  originalFilename: string;
8874
- }[] | [string, string] | null | undefined> | undefined;
8875
- originalActionId?: string | undefined;
8869
+ }[] | [string, string] | null | undefined> | null | undefined;
8870
+ originalActionId?: string | null | undefined;
8876
8871
  } | {
8877
8872
  type: "REGISTER";
8878
8873
  id: string;
@@ -8898,8 +8893,8 @@ export declare const EventDocument: z.ZodObject<{
8898
8893
  street?: string | null | undefined;
8899
8894
  zipCode?: string | null | undefined;
8900
8895
  } | {
8901
- firstname: string;
8902
- surname: string;
8896
+ firstname?: string | null | undefined;
8897
+ surname?: string | null | undefined;
8903
8898
  middlename?: string | null | undefined;
8904
8899
  } | {
8905
8900
  country: string;
@@ -8942,8 +8937,8 @@ export declare const EventDocument: z.ZodObject<{
8942
8937
  street?: string | null | undefined;
8943
8938
  zipCode?: string | null | undefined;
8944
8939
  } | {
8945
- firstname: string;
8946
- surname: string;
8940
+ firstname?: string | null | undefined;
8941
+ surname?: string | null | undefined;
8947
8942
  middlename?: string | null | undefined;
8948
8943
  } | {
8949
8944
  country: string;
@@ -8967,8 +8962,8 @@ export declare const EventDocument: z.ZodObject<{
8967
8962
  option: string;
8968
8963
  filename: string;
8969
8964
  originalFilename: string;
8970
- }[] | [string, string] | null | undefined> | undefined;
8971
- originalActionId?: string | undefined;
8965
+ }[] | [string, string] | null | undefined> | null | undefined;
8966
+ originalActionId?: string | null | undefined;
8972
8967
  registrationNumber?: string | undefined;
8973
8968
  } | {
8974
8969
  type: "DECLARE";
@@ -8995,8 +8990,8 @@ export declare const EventDocument: z.ZodObject<{
8995
8990
  street?: string | null | undefined;
8996
8991
  zipCode?: string | null | undefined;
8997
8992
  } | {
8998
- firstname: string;
8999
- surname: string;
8993
+ firstname?: string | null | undefined;
8994
+ surname?: string | null | undefined;
9000
8995
  middlename?: string | null | undefined;
9001
8996
  } | {
9002
8997
  country: string;
@@ -9039,8 +9034,8 @@ export declare const EventDocument: z.ZodObject<{
9039
9034
  street?: string | null | undefined;
9040
9035
  zipCode?: string | null | undefined;
9041
9036
  } | {
9042
- firstname: string;
9043
- surname: string;
9037
+ firstname?: string | null | undefined;
9038
+ surname?: string | null | undefined;
9044
9039
  middlename?: string | null | undefined;
9045
9040
  } | {
9046
9041
  country: string;
@@ -9064,8 +9059,8 @@ export declare const EventDocument: z.ZodObject<{
9064
9059
  option: string;
9065
9060
  filename: string;
9066
9061
  originalFilename: string;
9067
- }[] | [string, string] | null | undefined> | undefined;
9068
- originalActionId?: string | undefined;
9062
+ }[] | [string, string] | null | undefined> | null | undefined;
9063
+ originalActionId?: string | null | undefined;
9069
9064
  } | {
9070
9065
  type: "VALIDATE";
9071
9066
  id: string;
@@ -9091,8 +9086,8 @@ export declare const EventDocument: z.ZodObject<{
9091
9086
  street?: string | null | undefined;
9092
9087
  zipCode?: string | null | undefined;
9093
9088
  } | {
9094
- firstname: string;
9095
- surname: string;
9089
+ firstname?: string | null | undefined;
9090
+ surname?: string | null | undefined;
9096
9091
  middlename?: string | null | undefined;
9097
9092
  } | {
9098
9093
  country: string;
@@ -9135,8 +9130,8 @@ export declare const EventDocument: z.ZodObject<{
9135
9130
  street?: string | null | undefined;
9136
9131
  zipCode?: string | null | undefined;
9137
9132
  } | {
9138
- firstname: string;
9139
- surname: string;
9133
+ firstname?: string | null | undefined;
9134
+ surname?: string | null | undefined;
9140
9135
  middlename?: string | null | undefined;
9141
9136
  } | {
9142
9137
  country: string;
@@ -9160,8 +9155,8 @@ export declare const EventDocument: z.ZodObject<{
9160
9155
  option: string;
9161
9156
  filename: string;
9162
9157
  originalFilename: string;
9163
- }[] | [string, string] | null | undefined> | undefined;
9164
- originalActionId?: string | undefined;
9158
+ }[] | [string, string] | null | undefined> | null | undefined;
9159
+ originalActionId?: string | null | undefined;
9165
9160
  } | {
9166
9161
  type: "REJECT";
9167
9162
  id: string;
@@ -9191,8 +9186,8 @@ export declare const EventDocument: z.ZodObject<{
9191
9186
  street?: string | null | undefined;
9192
9187
  zipCode?: string | null | undefined;
9193
9188
  } | {
9194
- firstname: string;
9195
- surname: string;
9189
+ firstname?: string | null | undefined;
9190
+ surname?: string | null | undefined;
9196
9191
  middlename?: string | null | undefined;
9197
9192
  } | {
9198
9193
  country: string;
@@ -9235,8 +9230,8 @@ export declare const EventDocument: z.ZodObject<{
9235
9230
  street?: string | null | undefined;
9236
9231
  zipCode?: string | null | undefined;
9237
9232
  } | {
9238
- firstname: string;
9239
- surname: string;
9233
+ firstname?: string | null | undefined;
9234
+ surname?: string | null | undefined;
9240
9235
  middlename?: string | null | undefined;
9241
9236
  } | {
9242
9237
  country: string;
@@ -9260,8 +9255,8 @@ export declare const EventDocument: z.ZodObject<{
9260
9255
  option: string;
9261
9256
  filename: string;
9262
9257
  originalFilename: string;
9263
- }[] | [string, string] | null | undefined> | undefined;
9264
- originalActionId?: string | undefined;
9258
+ }[] | [string, string] | null | undefined> | null | undefined;
9259
+ originalActionId?: string | null | undefined;
9265
9260
  } | {
9266
9261
  type: "MARKED_AS_DUPLICATE";
9267
9262
  id: string;
@@ -9287,8 +9282,8 @@ export declare const EventDocument: z.ZodObject<{
9287
9282
  street?: string | null | undefined;
9288
9283
  zipCode?: string | null | undefined;
9289
9284
  } | {
9290
- firstname: string;
9291
- surname: string;
9285
+ firstname?: string | null | undefined;
9286
+ surname?: string | null | undefined;
9292
9287
  middlename?: string | null | undefined;
9293
9288
  } | {
9294
9289
  country: string;
@@ -9331,8 +9326,8 @@ export declare const EventDocument: z.ZodObject<{
9331
9326
  street?: string | null | undefined;
9332
9327
  zipCode?: string | null | undefined;
9333
9328
  } | {
9334
- firstname: string;
9335
- surname: string;
9329
+ firstname?: string | null | undefined;
9330
+ surname?: string | null | undefined;
9336
9331
  middlename?: string | null | undefined;
9337
9332
  } | {
9338
9333
  country: string;
@@ -9356,8 +9351,8 @@ export declare const EventDocument: z.ZodObject<{
9356
9351
  option: string;
9357
9352
  filename: string;
9358
9353
  originalFilename: string;
9359
- }[] | [string, string] | null | undefined> | undefined;
9360
- originalActionId?: string | undefined;
9354
+ }[] | [string, string] | null | undefined> | null | undefined;
9355
+ originalActionId?: string | null | undefined;
9361
9356
  } | {
9362
9357
  type: "ARCHIVE";
9363
9358
  id: string;
@@ -9387,8 +9382,8 @@ export declare const EventDocument: z.ZodObject<{
9387
9382
  street?: string | null | undefined;
9388
9383
  zipCode?: string | null | undefined;
9389
9384
  } | {
9390
- firstname: string;
9391
- surname: string;
9385
+ firstname?: string | null | undefined;
9386
+ surname?: string | null | undefined;
9392
9387
  middlename?: string | null | undefined;
9393
9388
  } | {
9394
9389
  country: string;
@@ -9431,8 +9426,8 @@ export declare const EventDocument: z.ZodObject<{
9431
9426
  street?: string | null | undefined;
9432
9427
  zipCode?: string | null | undefined;
9433
9428
  } | {
9434
- firstname: string;
9435
- surname: string;
9429
+ firstname?: string | null | undefined;
9430
+ surname?: string | null | undefined;
9436
9431
  middlename?: string | null | undefined;
9437
9432
  } | {
9438
9433
  country: string;
@@ -9456,8 +9451,8 @@ export declare const EventDocument: z.ZodObject<{
9456
9451
  option: string;
9457
9452
  filename: string;
9458
9453
  originalFilename: string;
9459
- }[] | [string, string] | null | undefined> | undefined;
9460
- originalActionId?: string | undefined;
9454
+ }[] | [string, string] | null | undefined> | null | undefined;
9455
+ originalActionId?: string | null | undefined;
9461
9456
  } | {
9462
9457
  type: "CREATE";
9463
9458
  id: string;
@@ -9483,8 +9478,8 @@ export declare const EventDocument: z.ZodObject<{
9483
9478
  street?: string | null | undefined;
9484
9479
  zipCode?: string | null | undefined;
9485
9480
  } | {
9486
- firstname: string;
9487
- surname: string;
9481
+ firstname?: string | null | undefined;
9482
+ surname?: string | null | undefined;
9488
9483
  middlename?: string | null | undefined;
9489
9484
  } | {
9490
9485
  country: string;
@@ -9527,8 +9522,8 @@ export declare const EventDocument: z.ZodObject<{
9527
9522
  street?: string | null | undefined;
9528
9523
  zipCode?: string | null | undefined;
9529
9524
  } | {
9530
- firstname: string;
9531
- surname: string;
9525
+ firstname?: string | null | undefined;
9526
+ surname?: string | null | undefined;
9532
9527
  middlename?: string | null | undefined;
9533
9528
  } | {
9534
9529
  country: string;
@@ -9552,8 +9547,8 @@ export declare const EventDocument: z.ZodObject<{
9552
9547
  option: string;
9553
9548
  filename: string;
9554
9549
  originalFilename: string;
9555
- }[] | [string, string] | null | undefined> | undefined;
9556
- originalActionId?: string | undefined;
9550
+ }[] | [string, string] | null | undefined> | null | undefined;
9551
+ originalActionId?: string | null | undefined;
9557
9552
  } | {
9558
9553
  type: "NOTIFY";
9559
9554
  id: string;
@@ -9579,8 +9574,8 @@ export declare const EventDocument: z.ZodObject<{
9579
9574
  street?: string | null | undefined;
9580
9575
  zipCode?: string | null | undefined;
9581
9576
  } | {
9582
- firstname: string;
9583
- surname: string;
9577
+ firstname?: string | null | undefined;
9578
+ surname?: string | null | undefined;
9584
9579
  middlename?: string | null | undefined;
9585
9580
  } | {
9586
9581
  country: string;
@@ -9623,8 +9618,8 @@ export declare const EventDocument: z.ZodObject<{
9623
9618
  street?: string | null | undefined;
9624
9619
  zipCode?: string | null | undefined;
9625
9620
  } | {
9626
- firstname: string;
9627
- surname: string;
9621
+ firstname?: string | null | undefined;
9622
+ surname?: string | null | undefined;
9628
9623
  middlename?: string | null | undefined;
9629
9624
  } | {
9630
9625
  country: string;
@@ -9648,8 +9643,8 @@ export declare const EventDocument: z.ZodObject<{
9648
9643
  option: string;
9649
9644
  filename: string;
9650
9645
  originalFilename: string;
9651
- }[] | [string, string] | null | undefined> | undefined;
9652
- originalActionId?: string | undefined;
9646
+ }[] | [string, string] | null | undefined> | null | undefined;
9647
+ originalActionId?: string | null | undefined;
9653
9648
  } | {
9654
9649
  type: "PRINT_CERTIFICATE";
9655
9650
  id: string;
@@ -9675,8 +9670,8 @@ export declare const EventDocument: z.ZodObject<{
9675
9670
  street?: string | null | undefined;
9676
9671
  zipCode?: string | null | undefined;
9677
9672
  } | {
9678
- firstname: string;
9679
- surname: string;
9673
+ firstname?: string | null | undefined;
9674
+ surname?: string | null | undefined;
9680
9675
  middlename?: string | null | undefined;
9681
9676
  } | {
9682
9677
  country: string;
@@ -9719,8 +9714,8 @@ export declare const EventDocument: z.ZodObject<{
9719
9714
  street?: string | null | undefined;
9720
9715
  zipCode?: string | null | undefined;
9721
9716
  } | {
9722
- firstname: string;
9723
- surname: string;
9717
+ firstname?: string | null | undefined;
9718
+ surname?: string | null | undefined;
9724
9719
  middlename?: string | null | undefined;
9725
9720
  } | {
9726
9721
  country: string;
@@ -9744,8 +9739,8 @@ export declare const EventDocument: z.ZodObject<{
9744
9739
  option: string;
9745
9740
  filename: string;
9746
9741
  originalFilename: string;
9747
- }[] | [string, string] | null | undefined> | undefined;
9748
- originalActionId?: string | undefined;
9742
+ }[] | [string, string] | null | undefined> | null | undefined;
9743
+ originalActionId?: string | null | undefined;
9749
9744
  } | {
9750
9745
  type: "REQUEST_CORRECTION";
9751
9746
  id: string;
@@ -9771,8 +9766,8 @@ export declare const EventDocument: z.ZodObject<{
9771
9766
  street?: string | null | undefined;
9772
9767
  zipCode?: string | null | undefined;
9773
9768
  } | {
9774
- firstname: string;
9775
- surname: string;
9769
+ firstname?: string | null | undefined;
9770
+ surname?: string | null | undefined;
9776
9771
  middlename?: string | null | undefined;
9777
9772
  } | {
9778
9773
  country: string;
@@ -9815,8 +9810,8 @@ export declare const EventDocument: z.ZodObject<{
9815
9810
  street?: string | null | undefined;
9816
9811
  zipCode?: string | null | undefined;
9817
9812
  } | {
9818
- firstname: string;
9819
- surname: string;
9813
+ firstname?: string | null | undefined;
9814
+ surname?: string | null | undefined;
9820
9815
  middlename?: string | null | undefined;
9821
9816
  } | {
9822
9817
  country: string;
@@ -9840,8 +9835,8 @@ export declare const EventDocument: z.ZodObject<{
9840
9835
  option: string;
9841
9836
  filename: string;
9842
9837
  originalFilename: string;
9843
- }[] | [string, string] | null | undefined> | undefined;
9844
- originalActionId?: string | undefined;
9838
+ }[] | [string, string] | null | undefined> | null | undefined;
9839
+ originalActionId?: string | null | undefined;
9845
9840
  } | {
9846
9841
  type: "APPROVE_CORRECTION";
9847
9842
  id: string;
@@ -9867,8 +9862,8 @@ export declare const EventDocument: z.ZodObject<{
9867
9862
  street?: string | null | undefined;
9868
9863
  zipCode?: string | null | undefined;
9869
9864
  } | {
9870
- firstname: string;
9871
- surname: string;
9865
+ firstname?: string | null | undefined;
9866
+ surname?: string | null | undefined;
9872
9867
  middlename?: string | null | undefined;
9873
9868
  } | {
9874
9869
  country: string;
@@ -9912,8 +9907,8 @@ export declare const EventDocument: z.ZodObject<{
9912
9907
  street?: string | null | undefined;
9913
9908
  zipCode?: string | null | undefined;
9914
9909
  } | {
9915
- firstname: string;
9916
- surname: string;
9910
+ firstname?: string | null | undefined;
9911
+ surname?: string | null | undefined;
9917
9912
  middlename?: string | null | undefined;
9918
9913
  } | {
9919
9914
  country: string;
@@ -9937,8 +9932,8 @@ export declare const EventDocument: z.ZodObject<{
9937
9932
  option: string;
9938
9933
  filename: string;
9939
9934
  originalFilename: string;
9940
- }[] | [string, string] | null | undefined> | undefined;
9941
- originalActionId?: string | undefined;
9935
+ }[] | [string, string] | null | undefined> | null | undefined;
9936
+ originalActionId?: string | null | undefined;
9942
9937
  } | {
9943
9938
  type: "REJECT_CORRECTION";
9944
9939
  id: string;
@@ -9964,8 +9959,8 @@ export declare const EventDocument: z.ZodObject<{
9964
9959
  street?: string | null | undefined;
9965
9960
  zipCode?: string | null | undefined;
9966
9961
  } | {
9967
- firstname: string;
9968
- surname: string;
9962
+ firstname?: string | null | undefined;
9963
+ surname?: string | null | undefined;
9969
9964
  middlename?: string | null | undefined;
9970
9965
  } | {
9971
9966
  country: string;
@@ -10009,8 +10004,8 @@ export declare const EventDocument: z.ZodObject<{
10009
10004
  street?: string | null | undefined;
10010
10005
  zipCode?: string | null | undefined;
10011
10006
  } | {
10012
- firstname: string;
10013
- surname: string;
10007
+ firstname?: string | null | undefined;
10008
+ surname?: string | null | undefined;
10014
10009
  middlename?: string | null | undefined;
10015
10010
  } | {
10016
10011
  country: string;
@@ -10034,8 +10029,8 @@ export declare const EventDocument: z.ZodObject<{
10034
10029
  option: string;
10035
10030
  filename: string;
10036
10031
  originalFilename: string;
10037
- }[] | [string, string] | null | undefined> | undefined;
10038
- originalActionId?: string | undefined;
10032
+ }[] | [string, string] | null | undefined> | null | undefined;
10033
+ originalActionId?: string | null | undefined;
10039
10034
  } | {
10040
10035
  type: "READ";
10041
10036
  id: string;
@@ -10061,8 +10056,8 @@ export declare const EventDocument: z.ZodObject<{
10061
10056
  street?: string | null | undefined;
10062
10057
  zipCode?: string | null | undefined;
10063
10058
  } | {
10064
- firstname: string;
10065
- surname: string;
10059
+ firstname?: string | null | undefined;
10060
+ surname?: string | null | undefined;
10066
10061
  middlename?: string | null | undefined;
10067
10062
  } | {
10068
10063
  country: string;
@@ -10105,8 +10100,8 @@ export declare const EventDocument: z.ZodObject<{
10105
10100
  street?: string | null | undefined;
10106
10101
  zipCode?: string | null | undefined;
10107
10102
  } | {
10108
- firstname: string;
10109
- surname: string;
10103
+ firstname?: string | null | undefined;
10104
+ surname?: string | null | undefined;
10110
10105
  middlename?: string | null | undefined;
10111
10106
  } | {
10112
10107
  country: string;
@@ -10130,10 +10125,10 @@ export declare const EventDocument: z.ZodObject<{
10130
10125
  option: string;
10131
10126
  filename: string;
10132
10127
  originalFilename: string;
10133
- }[] | [string, string] | null | undefined> | undefined;
10134
- originalActionId?: string | undefined;
10128
+ }[] | [string, string] | null | undefined> | null | undefined;
10129
+ originalActionId?: string | null | undefined;
10135
10130
  } | {
10136
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10131
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
10137
10132
  id: string;
10138
10133
  status: "Rejected";
10139
10134
  transactionId: string;
@@ -10143,7 +10138,7 @@ export declare const EventDocument: z.ZodObject<{
10143
10138
  createdByRole: string;
10144
10139
  createdBySignature?: string | null | undefined;
10145
10140
  createdAtLocation?: string | null | undefined;
10146
- originalActionId?: string | undefined;
10141
+ originalActionId?: string | null | undefined;
10147
10142
  })[];
10148
10143
  trackingId: string;
10149
10144
  }>;