@opencrvs/toolkit 1.8.0-rc.ffb4f66 → 1.8.0-rc.ffe24c3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/commons/api/router.d.ts +14742 -734
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +10 -6
  4. package/dist/commons/events/ActionConfig.d.ts +117418 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2581 -560
  6. package/dist/commons/events/ActionInput.d.ts +1705 -425
  7. package/dist/commons/events/ActionType.d.ts +6 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1233 -22
  9. package/dist/commons/events/CompositeFieldValue.d.ts +31 -0
  10. package/dist/commons/events/Constants.d.ts +3 -0
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +3730 -0
  12. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  13. package/dist/commons/events/Draft.d.ts +162 -43
  14. package/dist/commons/events/EventConfig.d.ts +56501 -1354
  15. package/dist/commons/events/EventDocument.d.ts +1635 -396
  16. package/dist/commons/events/EventIndex.d.ts +2007 -27
  17. package/dist/commons/events/EventMetadata.d.ts +343 -45
  18. package/dist/commons/events/FieldConfig.d.ts +5450 -1033
  19. package/dist/commons/events/FieldType.d.ts +6 -3
  20. package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
  21. package/dist/commons/events/FieldValue.d.ts +49 -8
  22. package/dist/commons/events/FormConfig.d.ts +49156 -514
  23. package/dist/commons/events/PageConfig.d.ts +12206 -204
  24. package/dist/commons/events/SummaryConfig.d.ts +93 -42
  25. package/dist/commons/events/User.d.ts +31 -2
  26. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  27. package/dist/commons/events/WorkqueueConfig.d.ts +7300 -20
  28. package/dist/commons/events/defineConfig.d.ts +9001 -58
  29. package/dist/commons/events/event.d.ts +54 -0
  30. package/dist/commons/events/field.d.ts +82 -0
  31. package/dist/commons/events/index.d.ts +8 -0
  32. package/dist/commons/events/scopes.d.ts +44 -0
  33. package/dist/commons/events/serializer.d.ts +2 -0
  34. package/dist/commons/events/test.utils.d.ts +171 -79
  35. package/dist/commons/events/transactions.d.ts +1 -1
  36. package/dist/commons/events/utils.d.ts +13365 -71
  37. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  38. package/dist/conditionals/index.js +76 -36
  39. package/dist/events/index.js +4114 -1495
  40. package/dist/scopes/index.d.ts +161 -1
  41. package/dist/scopes/index.js +202 -1
  42. package/package.json +4 -3
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BaseActionInput: z.ZodObject<{
3
- eventId: z.ZodString;
3
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4
4
  transactionId: z.ZodString;
5
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: z.ZodDefault<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<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -115,8 +115,20 @@ export declare const BaseActionInput: z.ZodObject<{
115
115
  addressLine2?: string | null | undefined;
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
- }>]>>>;
119
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
118
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
119
+ firstname: z.ZodString;
120
+ surname: z.ZodString;
121
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ firstname: string;
124
+ surname: string;
125
+ middlename?: string | null | undefined;
126
+ }, {
127
+ firstname: string;
128
+ surname: string;
129
+ middlename?: string | null | undefined;
130
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
131
+ 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<{
120
132
  filename: z.ZodString;
121
133
  originalFilename: z.ZodString;
122
134
  type: z.ZodString;
@@ -229,10 +241,23 @@ export declare const BaseActionInput: z.ZodObject<{
229
241
  addressLine2?: string | null | undefined;
230
242
  addressLine3?: string | null | undefined;
231
243
  postcodeOrZip?: string | null | undefined;
232
- }>]>>>;
233
- originalActionId: z.ZodOptional<z.ZodString>;
244
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
245
+ firstname: z.ZodString;
246
+ surname: z.ZodString;
247
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ firstname: string;
250
+ surname: string;
251
+ middlename?: string | null | undefined;
252
+ }, {
253
+ firstname: string;
254
+ surname: string;
255
+ middlename?: string | null | undefined;
256
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
257
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
234
258
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
235
259
  }, "strip", z.ZodTypeAny, {
260
+ transactionId: string;
236
261
  declaration: Record<string, string | number | boolean | {
237
262
  type: string;
238
263
  filename: string;
@@ -248,6 +273,10 @@ export declare const BaseActionInput: z.ZodObject<{
248
273
  residentialArea?: string | null | undefined;
249
274
  street?: string | null | undefined;
250
275
  zipCode?: string | null | undefined;
276
+ } | {
277
+ firstname: string;
278
+ surname: string;
279
+ middlename?: string | null | undefined;
251
280
  } | {
252
281
  country: string;
253
282
  district: string;
@@ -270,9 +299,8 @@ export declare const BaseActionInput: z.ZodObject<{
270
299
  option: string;
271
300
  filename: string;
272
301
  originalFilename: string;
273
- }[] | undefined>;
274
- eventId: string;
275
- transactionId: string;
302
+ }[] | [string, string] | null | undefined>;
303
+ eventId: string & z.BRAND<"UUID">;
276
304
  annotation?: Record<string, string | number | boolean | {
277
305
  type: string;
278
306
  filename: string;
@@ -288,6 +316,10 @@ export declare const BaseActionInput: z.ZodObject<{
288
316
  residentialArea?: string | null | undefined;
289
317
  street?: string | null | undefined;
290
318
  zipCode?: string | null | undefined;
319
+ } | {
320
+ firstname: string;
321
+ surname: string;
322
+ middlename?: string | null | undefined;
291
323
  } | {
292
324
  country: string;
293
325
  district: string;
@@ -310,12 +342,12 @@ export declare const BaseActionInput: z.ZodObject<{
310
342
  option: string;
311
343
  filename: string;
312
344
  originalFilename: string;
313
- }[] | undefined> | undefined;
314
- originalActionId?: string | undefined;
345
+ }[] | [string, string] | null | undefined> | undefined;
346
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
315
347
  keepAssignment?: boolean | undefined;
316
348
  }, {
317
- eventId: string;
318
349
  transactionId: string;
350
+ eventId: string;
319
351
  declaration?: Record<string, string | number | boolean | {
320
352
  type: string;
321
353
  filename: string;
@@ -331,6 +363,10 @@ export declare const BaseActionInput: z.ZodObject<{
331
363
  residentialArea?: string | null | undefined;
332
364
  street?: string | null | undefined;
333
365
  zipCode?: string | null | undefined;
366
+ } | {
367
+ firstname: string;
368
+ surname: string;
369
+ middlename?: string | null | undefined;
334
370
  } | {
335
371
  country: string;
336
372
  district: string;
@@ -353,7 +389,7 @@ export declare const BaseActionInput: z.ZodObject<{
353
389
  option: string;
354
390
  filename: string;
355
391
  originalFilename: string;
356
- }[] | undefined> | undefined;
392
+ }[] | [string, string] | null | undefined> | undefined;
357
393
  annotation?: Record<string, string | number | boolean | {
358
394
  type: string;
359
395
  filename: string;
@@ -369,6 +405,10 @@ export declare const BaseActionInput: z.ZodObject<{
369
405
  residentialArea?: string | null | undefined;
370
406
  street?: string | null | undefined;
371
407
  zipCode?: string | null | undefined;
408
+ } | {
409
+ firstname: string;
410
+ surname: string;
411
+ middlename?: string | null | undefined;
372
412
  } | {
373
413
  country: string;
374
414
  district: string;
@@ -391,14 +431,14 @@ export declare const BaseActionInput: z.ZodObject<{
391
431
  option: string;
392
432
  filename: string;
393
433
  originalFilename: string;
394
- }[] | undefined> | undefined;
434
+ }[] | [string, string] | null | undefined> | undefined;
395
435
  originalActionId?: string | undefined;
396
436
  keepAssignment?: boolean | undefined;
397
437
  }>;
398
438
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
399
- eventId: z.ZodString;
439
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
400
440
  transactionId: z.ZodString;
401
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
441
+ declaration: z.ZodDefault<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<{
402
442
  filename: z.ZodString;
403
443
  originalFilename: z.ZodString;
404
444
  type: z.ZodString;
@@ -511,8 +551,20 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
511
551
  addressLine2?: string | null | undefined;
512
552
  addressLine3?: string | null | undefined;
513
553
  postcodeOrZip?: string | null | undefined;
514
- }>]>>>;
515
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
554
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
555
+ firstname: z.ZodString;
556
+ surname: z.ZodString;
557
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ firstname: string;
560
+ surname: string;
561
+ middlename?: string | null | undefined;
562
+ }, {
563
+ firstname: string;
564
+ surname: string;
565
+ middlename?: string | null | undefined;
566
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
567
+ 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<{
516
568
  filename: z.ZodString;
517
569
  originalFilename: z.ZodString;
518
570
  type: z.ZodString;
@@ -625,14 +677,27 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
625
677
  addressLine2?: string | null | undefined;
626
678
  addressLine3?: string | null | undefined;
627
679
  postcodeOrZip?: string | null | undefined;
628
- }>]>>>;
629
- originalActionId: z.ZodOptional<z.ZodString>;
680
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
681
+ firstname: z.ZodString;
682
+ surname: z.ZodString;
683
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
684
+ }, "strip", z.ZodTypeAny, {
685
+ firstname: string;
686
+ surname: string;
687
+ middlename?: string | null | undefined;
688
+ }, {
689
+ firstname: string;
690
+ surname: string;
691
+ middlename?: string | null | undefined;
692
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
693
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
630
694
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
631
695
  }, {
632
696
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
633
697
  registrationNumber: z.ZodOptional<z.ZodString>;
634
- }>, "strip", z.ZodTypeAny, {
698
+ }>, "strict", z.ZodTypeAny, {
635
699
  type: "REGISTER";
700
+ transactionId: string;
636
701
  declaration: Record<string, string | number | boolean | {
637
702
  type: string;
638
703
  filename: string;
@@ -648,6 +713,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
648
713
  residentialArea?: string | null | undefined;
649
714
  street?: string | null | undefined;
650
715
  zipCode?: string | null | undefined;
716
+ } | {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
651
720
  } | {
652
721
  country: string;
653
722
  district: string;
@@ -670,9 +739,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
670
739
  option: string;
671
740
  filename: string;
672
741
  originalFilename: string;
673
- }[] | undefined>;
674
- eventId: string;
675
- transactionId: string;
742
+ }[] | [string, string] | null | undefined>;
743
+ eventId: string & z.BRAND<"UUID">;
676
744
  annotation?: Record<string, string | number | boolean | {
677
745
  type: string;
678
746
  filename: string;
@@ -688,6 +756,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
688
756
  residentialArea?: string | null | undefined;
689
757
  street?: string | null | undefined;
690
758
  zipCode?: string | null | undefined;
759
+ } | {
760
+ firstname: string;
761
+ surname: string;
762
+ middlename?: string | null | undefined;
691
763
  } | {
692
764
  country: string;
693
765
  district: string;
@@ -710,13 +782,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
710
782
  option: string;
711
783
  filename: string;
712
784
  originalFilename: string;
713
- }[] | undefined> | undefined;
714
- originalActionId?: string | undefined;
785
+ }[] | [string, string] | null | undefined> | undefined;
786
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
715
787
  registrationNumber?: string | undefined;
716
788
  keepAssignment?: boolean | undefined;
717
789
  }, {
718
- eventId: string;
719
790
  transactionId: string;
791
+ eventId: string;
720
792
  type?: "REGISTER" | undefined;
721
793
  declaration?: Record<string, string | number | boolean | {
722
794
  type: string;
@@ -733,6 +805,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
733
805
  residentialArea?: string | null | undefined;
734
806
  street?: string | null | undefined;
735
807
  zipCode?: string | null | undefined;
808
+ } | {
809
+ firstname: string;
810
+ surname: string;
811
+ middlename?: string | null | undefined;
736
812
  } | {
737
813
  country: string;
738
814
  district: string;
@@ -755,7 +831,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
755
831
  option: string;
756
832
  filename: string;
757
833
  originalFilename: string;
758
- }[] | undefined> | undefined;
834
+ }[] | [string, string] | null | undefined> | undefined;
759
835
  annotation?: Record<string, string | number | boolean | {
760
836
  type: string;
761
837
  filename: string;
@@ -771,6 +847,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
771
847
  residentialArea?: string | null | undefined;
772
848
  street?: string | null | undefined;
773
849
  zipCode?: string | null | undefined;
850
+ } | {
851
+ firstname: string;
852
+ surname: string;
853
+ middlename?: string | null | undefined;
774
854
  } | {
775
855
  country: string;
776
856
  district: string;
@@ -793,16 +873,16 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
793
873
  option: string;
794
874
  filename: string;
795
875
  originalFilename: string;
796
- }[] | undefined> | undefined;
876
+ }[] | [string, string] | null | undefined> | undefined;
797
877
  originalActionId?: string | undefined;
798
878
  registrationNumber?: string | undefined;
799
879
  keepAssignment?: boolean | undefined;
800
880
  }>;
801
881
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
802
882
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
803
- eventId: z.ZodString;
883
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
804
884
  transactionId: z.ZodString;
805
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
885
+ declaration: z.ZodDefault<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<{
806
886
  filename: z.ZodString;
807
887
  originalFilename: z.ZodString;
808
888
  type: z.ZodString;
@@ -915,8 +995,20 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
915
995
  addressLine2?: string | null | undefined;
916
996
  addressLine3?: string | null | undefined;
917
997
  postcodeOrZip?: string | null | undefined;
918
- }>]>>>;
919
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
998
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
999
+ firstname: z.ZodString;
1000
+ surname: z.ZodString;
1001
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ firstname: string;
1004
+ surname: string;
1005
+ middlename?: string | null | undefined;
1006
+ }, {
1007
+ firstname: string;
1008
+ surname: string;
1009
+ middlename?: string | null | undefined;
1010
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1011
+ 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<{
920
1012
  filename: z.ZodString;
921
1013
  originalFilename: z.ZodString;
922
1014
  type: z.ZodString;
@@ -1029,14 +1121,27 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1029
1121
  addressLine2?: string | null | undefined;
1030
1122
  addressLine3?: string | null | undefined;
1031
1123
  postcodeOrZip?: string | null | undefined;
1032
- }>]>>>;
1033
- originalActionId: z.ZodOptional<z.ZodString>;
1124
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1125
+ firstname: z.ZodString;
1126
+ surname: z.ZodString;
1127
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ firstname: string;
1130
+ surname: string;
1131
+ middlename?: string | null | undefined;
1132
+ }, {
1133
+ firstname: string;
1134
+ surname: string;
1135
+ middlename?: string | null | undefined;
1136
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1137
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1034
1138
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1035
1139
  }, {
1036
1140
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1037
1141
  duplicates: z.ZodArray<z.ZodString, "many">;
1038
1142
  }>, "strip", z.ZodTypeAny, {
1039
1143
  type: "VALIDATE";
1144
+ transactionId: string;
1040
1145
  declaration: Record<string, string | number | boolean | {
1041
1146
  type: string;
1042
1147
  filename: string;
@@ -1052,6 +1157,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1052
1157
  residentialArea?: string | null | undefined;
1053
1158
  street?: string | null | undefined;
1054
1159
  zipCode?: string | null | undefined;
1160
+ } | {
1161
+ firstname: string;
1162
+ surname: string;
1163
+ middlename?: string | null | undefined;
1055
1164
  } | {
1056
1165
  country: string;
1057
1166
  district: string;
@@ -1074,9 +1183,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1074
1183
  option: string;
1075
1184
  filename: string;
1076
1185
  originalFilename: string;
1077
- }[] | undefined>;
1078
- eventId: string;
1079
- transactionId: string;
1186
+ }[] | [string, string] | null | undefined>;
1187
+ eventId: string & z.BRAND<"UUID">;
1080
1188
  duplicates: string[];
1081
1189
  annotation?: Record<string, string | number | boolean | {
1082
1190
  type: string;
@@ -1093,6 +1201,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1093
1201
  residentialArea?: string | null | undefined;
1094
1202
  street?: string | null | undefined;
1095
1203
  zipCode?: string | null | undefined;
1204
+ } | {
1205
+ firstname: string;
1206
+ surname: string;
1207
+ middlename?: string | null | undefined;
1096
1208
  } | {
1097
1209
  country: string;
1098
1210
  district: string;
@@ -1115,12 +1227,12 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1115
1227
  option: string;
1116
1228
  filename: string;
1117
1229
  originalFilename: string;
1118
- }[] | undefined> | undefined;
1119
- originalActionId?: string | undefined;
1230
+ }[] | [string, string] | null | undefined> | undefined;
1231
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1120
1232
  keepAssignment?: boolean | undefined;
1121
1233
  }, {
1122
- eventId: string;
1123
1234
  transactionId: string;
1235
+ eventId: string;
1124
1236
  duplicates: string[];
1125
1237
  type?: "VALIDATE" | undefined;
1126
1238
  declaration?: Record<string, string | number | boolean | {
@@ -1138,6 +1250,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1138
1250
  residentialArea?: string | null | undefined;
1139
1251
  street?: string | null | undefined;
1140
1252
  zipCode?: string | null | undefined;
1253
+ } | {
1254
+ firstname: string;
1255
+ surname: string;
1256
+ middlename?: string | null | undefined;
1141
1257
  } | {
1142
1258
  country: string;
1143
1259
  district: string;
@@ -1160,7 +1276,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1160
1276
  option: string;
1161
1277
  filename: string;
1162
1278
  originalFilename: string;
1163
- }[] | undefined> | undefined;
1279
+ }[] | [string, string] | null | undefined> | undefined;
1164
1280
  annotation?: Record<string, string | number | boolean | {
1165
1281
  type: string;
1166
1282
  filename: string;
@@ -1176,6 +1292,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1176
1292
  residentialArea?: string | null | undefined;
1177
1293
  street?: string | null | undefined;
1178
1294
  zipCode?: string | null | undefined;
1295
+ } | {
1296
+ firstname: string;
1297
+ surname: string;
1298
+ middlename?: string | null | undefined;
1179
1299
  } | {
1180
1300
  country: string;
1181
1301
  district: string;
@@ -1198,15 +1318,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1318
  option: string;
1199
1319
  filename: string;
1200
1320
  originalFilename: string;
1201
- }[] | undefined> | undefined;
1321
+ }[] | [string, string] | null | undefined> | undefined;
1202
1322
  originalActionId?: string | undefined;
1203
1323
  keepAssignment?: boolean | undefined;
1204
1324
  }>;
1205
1325
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1206
1326
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1207
- eventId: z.ZodString;
1327
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1208
1328
  transactionId: z.ZodString;
1209
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1329
+ declaration: z.ZodDefault<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<{
1210
1330
  filename: z.ZodString;
1211
1331
  originalFilename: z.ZodString;
1212
1332
  type: z.ZodString;
@@ -1319,8 +1439,20 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1319
1439
  addressLine2?: string | null | undefined;
1320
1440
  addressLine3?: string | null | undefined;
1321
1441
  postcodeOrZip?: string | null | undefined;
1322
- }>]>>>;
1323
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1442
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1443
+ firstname: z.ZodString;
1444
+ surname: z.ZodString;
1445
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ firstname: string;
1448
+ surname: string;
1449
+ middlename?: string | null | undefined;
1450
+ }, {
1451
+ firstname: string;
1452
+ surname: string;
1453
+ middlename?: string | null | undefined;
1454
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1455
+ 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<{
1324
1456
  filename: z.ZodString;
1325
1457
  originalFilename: z.ZodString;
1326
1458
  type: z.ZodString;
@@ -1433,13 +1565,26 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1433
1565
  addressLine2?: string | null | undefined;
1434
1566
  addressLine3?: string | null | undefined;
1435
1567
  postcodeOrZip?: string | null | undefined;
1436
- }>]>>>;
1437
- originalActionId: z.ZodOptional<z.ZodString>;
1568
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1569
+ firstname: z.ZodString;
1570
+ surname: z.ZodString;
1571
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ firstname: string;
1574
+ surname: string;
1575
+ middlename?: string | null | undefined;
1576
+ }, {
1577
+ firstname: string;
1578
+ surname: string;
1579
+ middlename?: string | null | undefined;
1580
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1581
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1438
1582
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1439
1583
  }, {
1440
1584
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1441
1585
  }>, "strip", z.ZodTypeAny, {
1442
1586
  type: "NOTIFY";
1587
+ transactionId: string;
1443
1588
  declaration: Record<string, string | number | boolean | {
1444
1589
  type: string;
1445
1590
  filename: string;
@@ -1455,6 +1600,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1455
1600
  residentialArea?: string | null | undefined;
1456
1601
  street?: string | null | undefined;
1457
1602
  zipCode?: string | null | undefined;
1603
+ } | {
1604
+ firstname: string;
1605
+ surname: string;
1606
+ middlename?: string | null | undefined;
1458
1607
  } | {
1459
1608
  country: string;
1460
1609
  district: string;
@@ -1477,9 +1626,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1477
1626
  option: string;
1478
1627
  filename: string;
1479
1628
  originalFilename: string;
1480
- }[] | undefined>;
1481
- eventId: string;
1482
- transactionId: string;
1629
+ }[] | [string, string] | null | undefined>;
1630
+ eventId: string & z.BRAND<"UUID">;
1483
1631
  annotation?: Record<string, string | number | boolean | {
1484
1632
  type: string;
1485
1633
  filename: string;
@@ -1495,6 +1643,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1495
1643
  residentialArea?: string | null | undefined;
1496
1644
  street?: string | null | undefined;
1497
1645
  zipCode?: string | null | undefined;
1646
+ } | {
1647
+ firstname: string;
1648
+ surname: string;
1649
+ middlename?: string | null | undefined;
1498
1650
  } | {
1499
1651
  country: string;
1500
1652
  district: string;
@@ -1517,12 +1669,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1517
1669
  option: string;
1518
1670
  filename: string;
1519
1671
  originalFilename: string;
1520
- }[] | undefined> | undefined;
1521
- originalActionId?: string | undefined;
1672
+ }[] | [string, string] | null | undefined> | undefined;
1673
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1522
1674
  keepAssignment?: boolean | undefined;
1523
1675
  }, {
1524
- eventId: string;
1525
1676
  transactionId: string;
1677
+ eventId: string;
1526
1678
  type?: "NOTIFY" | undefined;
1527
1679
  declaration?: Record<string, string | number | boolean | {
1528
1680
  type: string;
@@ -1539,6 +1691,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1539
1691
  residentialArea?: string | null | undefined;
1540
1692
  street?: string | null | undefined;
1541
1693
  zipCode?: string | null | undefined;
1694
+ } | {
1695
+ firstname: string;
1696
+ surname: string;
1697
+ middlename?: string | null | undefined;
1542
1698
  } | {
1543
1699
  country: string;
1544
1700
  district: string;
@@ -1561,7 +1717,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1561
1717
  option: string;
1562
1718
  filename: string;
1563
1719
  originalFilename: string;
1564
- }[] | undefined> | undefined;
1720
+ }[] | [string, string] | null | undefined> | undefined;
1565
1721
  annotation?: Record<string, string | number | boolean | {
1566
1722
  type: string;
1567
1723
  filename: string;
@@ -1577,6 +1733,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1577
1733
  residentialArea?: string | null | undefined;
1578
1734
  street?: string | null | undefined;
1579
1735
  zipCode?: string | null | undefined;
1736
+ } | {
1737
+ firstname: string;
1738
+ surname: string;
1739
+ middlename?: string | null | undefined;
1580
1740
  } | {
1581
1741
  country: string;
1582
1742
  district: string;
@@ -1599,15 +1759,15 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1759
  option: string;
1600
1760
  filename: string;
1601
1761
  originalFilename: string;
1602
- }[] | undefined> | undefined;
1762
+ }[] | [string, string] | null | undefined> | undefined;
1603
1763
  originalActionId?: string | undefined;
1604
1764
  keepAssignment?: boolean | undefined;
1605
1765
  }>;
1606
1766
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1607
1767
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1608
- eventId: z.ZodString;
1768
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1609
1769
  transactionId: z.ZodString;
1610
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1770
+ declaration: z.ZodDefault<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<{
1611
1771
  filename: z.ZodString;
1612
1772
  originalFilename: z.ZodString;
1613
1773
  type: z.ZodString;
@@ -1720,8 +1880,20 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1720
1880
  addressLine2?: string | null | undefined;
1721
1881
  addressLine3?: string | null | undefined;
1722
1882
  postcodeOrZip?: string | null | undefined;
1723
- }>]>>>;
1724
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1883
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1884
+ firstname: z.ZodString;
1885
+ surname: z.ZodString;
1886
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ firstname: string;
1889
+ surname: string;
1890
+ middlename?: string | null | undefined;
1891
+ }, {
1892
+ firstname: string;
1893
+ surname: string;
1894
+ middlename?: string | null | undefined;
1895
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
1896
+ 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<{
1725
1897
  filename: z.ZodString;
1726
1898
  originalFilename: z.ZodString;
1727
1899
  type: z.ZodString;
@@ -1834,13 +2006,26 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1834
2006
  addressLine2?: string | null | undefined;
1835
2007
  addressLine3?: string | null | undefined;
1836
2008
  postcodeOrZip?: string | null | undefined;
1837
- }>]>>>;
1838
- originalActionId: z.ZodOptional<z.ZodString>;
2009
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2010
+ firstname: z.ZodString;
2011
+ surname: z.ZodString;
2012
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2013
+ }, "strip", z.ZodTypeAny, {
2014
+ firstname: string;
2015
+ surname: string;
2016
+ middlename?: string | null | undefined;
2017
+ }, {
2018
+ firstname: string;
2019
+ surname: string;
2020
+ middlename?: string | null | undefined;
2021
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2022
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1839
2023
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
1840
2024
  }, {
1841
2025
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1842
2026
  }>, "strip", z.ZodTypeAny, {
1843
2027
  type: "DECLARE";
2028
+ transactionId: string;
1844
2029
  declaration: Record<string, string | number | boolean | {
1845
2030
  type: string;
1846
2031
  filename: string;
@@ -1856,6 +2041,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1856
2041
  residentialArea?: string | null | undefined;
1857
2042
  street?: string | null | undefined;
1858
2043
  zipCode?: string | null | undefined;
2044
+ } | {
2045
+ firstname: string;
2046
+ surname: string;
2047
+ middlename?: string | null | undefined;
1859
2048
  } | {
1860
2049
  country: string;
1861
2050
  district: string;
@@ -1878,9 +2067,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1878
2067
  option: string;
1879
2068
  filename: string;
1880
2069
  originalFilename: string;
1881
- }[] | undefined>;
1882
- eventId: string;
1883
- transactionId: string;
2070
+ }[] | [string, string] | null | undefined>;
2071
+ eventId: string & z.BRAND<"UUID">;
1884
2072
  annotation?: Record<string, string | number | boolean | {
1885
2073
  type: string;
1886
2074
  filename: string;
@@ -1896,6 +2084,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1896
2084
  residentialArea?: string | null | undefined;
1897
2085
  street?: string | null | undefined;
1898
2086
  zipCode?: string | null | undefined;
2087
+ } | {
2088
+ firstname: string;
2089
+ surname: string;
2090
+ middlename?: string | null | undefined;
1899
2091
  } | {
1900
2092
  country: string;
1901
2093
  district: string;
@@ -1918,12 +2110,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1918
2110
  option: string;
1919
2111
  filename: string;
1920
2112
  originalFilename: string;
1921
- }[] | undefined> | undefined;
1922
- originalActionId?: string | undefined;
2113
+ }[] | [string, string] | null | undefined> | undefined;
2114
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1923
2115
  keepAssignment?: boolean | undefined;
1924
2116
  }, {
1925
- eventId: string;
1926
2117
  transactionId: string;
2118
+ eventId: string;
1927
2119
  type?: "DECLARE" | undefined;
1928
2120
  declaration?: Record<string, string | number | boolean | {
1929
2121
  type: string;
@@ -1940,6 +2132,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1940
2132
  residentialArea?: string | null | undefined;
1941
2133
  street?: string | null | undefined;
1942
2134
  zipCode?: string | null | undefined;
2135
+ } | {
2136
+ firstname: string;
2137
+ surname: string;
2138
+ middlename?: string | null | undefined;
1943
2139
  } | {
1944
2140
  country: string;
1945
2141
  district: string;
@@ -1962,7 +2158,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1962
2158
  option: string;
1963
2159
  filename: string;
1964
2160
  originalFilename: string;
1965
- }[] | undefined> | undefined;
2161
+ }[] | [string, string] | null | undefined> | undefined;
1966
2162
  annotation?: Record<string, string | number | boolean | {
1967
2163
  type: string;
1968
2164
  filename: string;
@@ -1978,6 +2174,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1978
2174
  residentialArea?: string | null | undefined;
1979
2175
  street?: string | null | undefined;
1980
2176
  zipCode?: string | null | undefined;
2177
+ } | {
2178
+ firstname: string;
2179
+ surname: string;
2180
+ middlename?: string | null | undefined;
1981
2181
  } | {
1982
2182
  country: string;
1983
2183
  district: string;
@@ -2000,14 +2200,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2000
2200
  option: string;
2001
2201
  filename: string;
2002
2202
  originalFilename: string;
2003
- }[] | undefined> | undefined;
2203
+ }[] | [string, string] | null | undefined> | undefined;
2004
2204
  originalActionId?: string | undefined;
2005
2205
  keepAssignment?: boolean | undefined;
2006
2206
  }>;
2007
2207
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2008
- eventId: z.ZodString;
2208
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2009
2209
  transactionId: z.ZodString;
2010
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2210
+ declaration: z.ZodDefault<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<{
2011
2211
  filename: z.ZodString;
2012
2212
  originalFilename: z.ZodString;
2013
2213
  type: z.ZodString;
@@ -2120,8 +2320,20 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2120
2320
  addressLine2?: string | null | undefined;
2121
2321
  addressLine3?: string | null | undefined;
2122
2322
  postcodeOrZip?: string | null | undefined;
2123
- }>]>>>;
2124
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2323
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2324
+ firstname: z.ZodString;
2325
+ surname: z.ZodString;
2326
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2327
+ }, "strip", z.ZodTypeAny, {
2328
+ firstname: string;
2329
+ surname: string;
2330
+ middlename?: string | null | undefined;
2331
+ }, {
2332
+ firstname: string;
2333
+ surname: string;
2334
+ middlename?: string | null | undefined;
2335
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2336
+ 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<{
2125
2337
  filename: z.ZodString;
2126
2338
  originalFilename: z.ZodString;
2127
2339
  type: z.ZodString;
@@ -2234,13 +2446,26 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2234
2446
  addressLine2?: string | null | undefined;
2235
2447
  addressLine3?: string | null | undefined;
2236
2448
  postcodeOrZip?: string | null | undefined;
2237
- }>]>>>;
2238
- originalActionId: z.ZodOptional<z.ZodString>;
2449
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2450
+ firstname: z.ZodString;
2451
+ surname: z.ZodString;
2452
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ firstname: string;
2455
+ surname: string;
2456
+ middlename?: string | null | undefined;
2457
+ }, {
2458
+ firstname: string;
2459
+ surname: string;
2460
+ middlename?: string | null | undefined;
2461
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2462
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2239
2463
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2240
2464
  }, {
2241
2465
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2242
2466
  }>, "strip", z.ZodTypeAny, {
2243
2467
  type: "PRINT_CERTIFICATE";
2468
+ transactionId: string;
2244
2469
  declaration: Record<string, string | number | boolean | {
2245
2470
  type: string;
2246
2471
  filename: string;
@@ -2256,6 +2481,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2256
2481
  residentialArea?: string | null | undefined;
2257
2482
  street?: string | null | undefined;
2258
2483
  zipCode?: string | null | undefined;
2484
+ } | {
2485
+ firstname: string;
2486
+ surname: string;
2487
+ middlename?: string | null | undefined;
2259
2488
  } | {
2260
2489
  country: string;
2261
2490
  district: string;
@@ -2278,9 +2507,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2278
2507
  option: string;
2279
2508
  filename: string;
2280
2509
  originalFilename: string;
2281
- }[] | undefined>;
2282
- eventId: string;
2283
- transactionId: string;
2510
+ }[] | [string, string] | null | undefined>;
2511
+ eventId: string & z.BRAND<"UUID">;
2284
2512
  annotation?: Record<string, string | number | boolean | {
2285
2513
  type: string;
2286
2514
  filename: string;
@@ -2296,6 +2524,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2296
2524
  residentialArea?: string | null | undefined;
2297
2525
  street?: string | null | undefined;
2298
2526
  zipCode?: string | null | undefined;
2527
+ } | {
2528
+ firstname: string;
2529
+ surname: string;
2530
+ middlename?: string | null | undefined;
2299
2531
  } | {
2300
2532
  country: string;
2301
2533
  district: string;
@@ -2318,12 +2550,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2318
2550
  option: string;
2319
2551
  filename: string;
2320
2552
  originalFilename: string;
2321
- }[] | undefined> | undefined;
2322
- originalActionId?: string | undefined;
2553
+ }[] | [string, string] | null | undefined> | undefined;
2554
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2323
2555
  keepAssignment?: boolean | undefined;
2324
2556
  }, {
2325
- eventId: string;
2326
2557
  transactionId: string;
2558
+ eventId: string;
2327
2559
  type?: "PRINT_CERTIFICATE" | undefined;
2328
2560
  declaration?: Record<string, string | number | boolean | {
2329
2561
  type: string;
@@ -2340,6 +2572,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
2572
  residentialArea?: string | null | undefined;
2341
2573
  street?: string | null | undefined;
2342
2574
  zipCode?: string | null | undefined;
2575
+ } | {
2576
+ firstname: string;
2577
+ surname: string;
2578
+ middlename?: string | null | undefined;
2343
2579
  } | {
2344
2580
  country: string;
2345
2581
  district: string;
@@ -2362,7 +2598,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2362
2598
  option: string;
2363
2599
  filename: string;
2364
2600
  originalFilename: string;
2365
- }[] | undefined> | undefined;
2601
+ }[] | [string, string] | null | undefined> | undefined;
2366
2602
  annotation?: Record<string, string | number | boolean | {
2367
2603
  type: string;
2368
2604
  filename: string;
@@ -2378,6 +2614,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2378
2614
  residentialArea?: string | null | undefined;
2379
2615
  street?: string | null | undefined;
2380
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname: string;
2619
+ surname: string;
2620
+ middlename?: string | null | undefined;
2381
2621
  } | {
2382
2622
  country: string;
2383
2623
  district: string;
@@ -2400,15 +2640,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2400
2640
  option: string;
2401
2641
  filename: string;
2402
2642
  originalFilename: string;
2403
- }[] | undefined> | undefined;
2643
+ }[] | [string, string] | null | undefined> | undefined;
2404
2644
  originalActionId?: string | undefined;
2405
2645
  keepAssignment?: boolean | undefined;
2406
2646
  }>;
2407
2647
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2408
2648
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2409
- eventId: z.ZodString;
2649
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2410
2650
  transactionId: z.ZodString;
2411
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2651
+ declaration: z.ZodDefault<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<{
2412
2652
  filename: z.ZodString;
2413
2653
  originalFilename: z.ZodString;
2414
2654
  type: z.ZodString;
@@ -2521,8 +2761,20 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2521
2761
  addressLine2?: string | null | undefined;
2522
2762
  addressLine3?: string | null | undefined;
2523
2763
  postcodeOrZip?: string | null | undefined;
2524
- }>]>>>;
2525
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2764
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2765
+ firstname: z.ZodString;
2766
+ surname: z.ZodString;
2767
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
+ }, "strip", z.ZodTypeAny, {
2769
+ firstname: string;
2770
+ surname: string;
2771
+ middlename?: string | null | undefined;
2772
+ }, {
2773
+ firstname: string;
2774
+ surname: string;
2775
+ middlename?: string | null | undefined;
2776
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2777
+ 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<{
2526
2778
  filename: z.ZodString;
2527
2779
  originalFilename: z.ZodString;
2528
2780
  type: z.ZodString;
@@ -2635,13 +2887,40 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2635
2887
  addressLine2?: string | null | undefined;
2636
2888
  addressLine3?: string | null | undefined;
2637
2889
  postcodeOrZip?: string | null | undefined;
2638
- }>]>>>;
2639
- originalActionId: z.ZodOptional<z.ZodString>;
2890
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2891
+ firstname: z.ZodString;
2892
+ surname: z.ZodString;
2893
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2894
+ }, "strip", z.ZodTypeAny, {
2895
+ firstname: string;
2896
+ surname: string;
2897
+ middlename?: string | null | undefined;
2898
+ }, {
2899
+ firstname: string;
2900
+ surname: string;
2901
+ middlename?: string | null | undefined;
2902
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
2903
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
2640
2904
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2641
2905
  }, {
2642
2906
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2907
+ reason: z.ZodObject<{
2908
+ message: z.ZodString;
2909
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ message: string;
2912
+ isDuplicate?: boolean | undefined;
2913
+ }, {
2914
+ message: string;
2915
+ isDuplicate?: boolean | undefined;
2916
+ }>;
2643
2917
  }>, "strip", z.ZodTypeAny, {
2644
2918
  type: "REJECT";
2919
+ reason: {
2920
+ message: string;
2921
+ isDuplicate?: boolean | undefined;
2922
+ };
2923
+ transactionId: string;
2645
2924
  declaration: Record<string, string | number | boolean | {
2646
2925
  type: string;
2647
2926
  filename: string;
@@ -2657,6 +2936,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2657
2936
  residentialArea?: string | null | undefined;
2658
2937
  street?: string | null | undefined;
2659
2938
  zipCode?: string | null | undefined;
2939
+ } | {
2940
+ firstname: string;
2941
+ surname: string;
2942
+ middlename?: string | null | undefined;
2660
2943
  } | {
2661
2944
  country: string;
2662
2945
  district: string;
@@ -2679,9 +2962,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2679
2962
  option: string;
2680
2963
  filename: string;
2681
2964
  originalFilename: string;
2682
- }[] | undefined>;
2683
- eventId: string;
2684
- transactionId: string;
2965
+ }[] | [string, string] | null | undefined>;
2966
+ eventId: string & z.BRAND<"UUID">;
2685
2967
  annotation?: Record<string, string | number | boolean | {
2686
2968
  type: string;
2687
2969
  filename: string;
@@ -2697,6 +2979,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2697
2979
  residentialArea?: string | null | undefined;
2698
2980
  street?: string | null | undefined;
2699
2981
  zipCode?: string | null | undefined;
2982
+ } | {
2983
+ firstname: string;
2984
+ surname: string;
2985
+ middlename?: string | null | undefined;
2700
2986
  } | {
2701
2987
  country: string;
2702
2988
  district: string;
@@ -2719,12 +3005,16 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2719
3005
  option: string;
2720
3006
  filename: string;
2721
3007
  originalFilename: string;
2722
- }[] | undefined> | undefined;
2723
- originalActionId?: string | undefined;
3008
+ }[] | [string, string] | null | undefined> | undefined;
3009
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2724
3010
  keepAssignment?: boolean | undefined;
2725
3011
  }, {
2726
- eventId: string;
3012
+ reason: {
3013
+ message: string;
3014
+ isDuplicate?: boolean | undefined;
3015
+ };
2727
3016
  transactionId: string;
3017
+ eventId: string;
2728
3018
  type?: "REJECT" | undefined;
2729
3019
  declaration?: Record<string, string | number | boolean | {
2730
3020
  type: string;
@@ -2741,6 +3031,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2741
3031
  residentialArea?: string | null | undefined;
2742
3032
  street?: string | null | undefined;
2743
3033
  zipCode?: string | null | undefined;
3034
+ } | {
3035
+ firstname: string;
3036
+ surname: string;
3037
+ middlename?: string | null | undefined;
2744
3038
  } | {
2745
3039
  country: string;
2746
3040
  district: string;
@@ -2763,7 +3057,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2763
3057
  option: string;
2764
3058
  filename: string;
2765
3059
  originalFilename: string;
2766
- }[] | undefined> | undefined;
3060
+ }[] | [string, string] | null | undefined> | undefined;
2767
3061
  annotation?: Record<string, string | number | boolean | {
2768
3062
  type: string;
2769
3063
  filename: string;
@@ -2779,6 +3073,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2779
3073
  residentialArea?: string | null | undefined;
2780
3074
  street?: string | null | undefined;
2781
3075
  zipCode?: string | null | undefined;
3076
+ } | {
3077
+ firstname: string;
3078
+ surname: string;
3079
+ middlename?: string | null | undefined;
2782
3080
  } | {
2783
3081
  country: string;
2784
3082
  district: string;
@@ -2801,15 +3099,15 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2801
3099
  option: string;
2802
3100
  filename: string;
2803
3101
  originalFilename: string;
2804
- }[] | undefined> | undefined;
3102
+ }[] | [string, string] | null | undefined> | undefined;
2805
3103
  originalActionId?: string | undefined;
2806
3104
  keepAssignment?: boolean | undefined;
2807
3105
  }>;
2808
3106
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2809
3107
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2810
- eventId: z.ZodString;
3108
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2811
3109
  transactionId: z.ZodString;
2812
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3110
+ declaration: z.ZodDefault<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<{
2813
3111
  filename: z.ZodString;
2814
3112
  originalFilename: z.ZodString;
2815
3113
  type: z.ZodString;
@@ -2922,8 +3220,20 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2922
3220
  addressLine2?: string | null | undefined;
2923
3221
  addressLine3?: string | null | undefined;
2924
3222
  postcodeOrZip?: string | null | undefined;
2925
- }>]>>>;
2926
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3223
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3224
+ firstname: z.ZodString;
3225
+ surname: z.ZodString;
3226
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3227
+ }, "strip", z.ZodTypeAny, {
3228
+ firstname: string;
3229
+ surname: string;
3230
+ middlename?: string | null | undefined;
3231
+ }, {
3232
+ firstname: string;
3233
+ surname: string;
3234
+ middlename?: string | null | undefined;
3235
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3236
+ 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<{
2927
3237
  filename: z.ZodString;
2928
3238
  originalFilename: z.ZodString;
2929
3239
  type: z.ZodString;
@@ -3036,13 +3346,26 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3036
3346
  addressLine2?: string | null | undefined;
3037
3347
  addressLine3?: string | null | undefined;
3038
3348
  postcodeOrZip?: string | null | undefined;
3039
- }>]>>>;
3040
- originalActionId: z.ZodOptional<z.ZodString>;
3349
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3350
+ firstname: z.ZodString;
3351
+ surname: z.ZodString;
3352
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3353
+ }, "strip", z.ZodTypeAny, {
3354
+ firstname: string;
3355
+ surname: string;
3356
+ middlename?: string | null | undefined;
3357
+ }, {
3358
+ firstname: string;
3359
+ surname: string;
3360
+ middlename?: string | null | undefined;
3361
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3362
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3041
3363
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3042
3364
  }, {
3043
3365
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3044
3366
  }>, "strip", z.ZodTypeAny, {
3045
3367
  type: "MARKED_AS_DUPLICATE";
3368
+ transactionId: string;
3046
3369
  declaration: Record<string, string | number | boolean | {
3047
3370
  type: string;
3048
3371
  filename: string;
@@ -3058,6 +3381,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3058
3381
  residentialArea?: string | null | undefined;
3059
3382
  street?: string | null | undefined;
3060
3383
  zipCode?: string | null | undefined;
3384
+ } | {
3385
+ firstname: string;
3386
+ surname: string;
3387
+ middlename?: string | null | undefined;
3061
3388
  } | {
3062
3389
  country: string;
3063
3390
  district: string;
@@ -3080,9 +3407,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3080
3407
  option: string;
3081
3408
  filename: string;
3082
3409
  originalFilename: string;
3083
- }[] | undefined>;
3084
- eventId: string;
3085
- transactionId: string;
3410
+ }[] | [string, string] | null | undefined>;
3411
+ eventId: string & z.BRAND<"UUID">;
3086
3412
  annotation?: Record<string, string | number | boolean | {
3087
3413
  type: string;
3088
3414
  filename: string;
@@ -3098,6 +3424,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3098
3424
  residentialArea?: string | null | undefined;
3099
3425
  street?: string | null | undefined;
3100
3426
  zipCode?: string | null | undefined;
3427
+ } | {
3428
+ firstname: string;
3429
+ surname: string;
3430
+ middlename?: string | null | undefined;
3101
3431
  } | {
3102
3432
  country: string;
3103
3433
  district: string;
@@ -3120,12 +3450,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3120
3450
  option: string;
3121
3451
  filename: string;
3122
3452
  originalFilename: string;
3123
- }[] | undefined> | undefined;
3124
- originalActionId?: string | undefined;
3453
+ }[] | [string, string] | null | undefined> | undefined;
3454
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3125
3455
  keepAssignment?: boolean | undefined;
3126
3456
  }, {
3127
- eventId: string;
3128
3457
  transactionId: string;
3458
+ eventId: string;
3129
3459
  type?: "MARKED_AS_DUPLICATE" | undefined;
3130
3460
  declaration?: Record<string, string | number | boolean | {
3131
3461
  type: string;
@@ -3142,6 +3472,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3142
3472
  residentialArea?: string | null | undefined;
3143
3473
  street?: string | null | undefined;
3144
3474
  zipCode?: string | null | undefined;
3475
+ } | {
3476
+ firstname: string;
3477
+ surname: string;
3478
+ middlename?: string | null | undefined;
3145
3479
  } | {
3146
3480
  country: string;
3147
3481
  district: string;
@@ -3164,7 +3498,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3164
3498
  option: string;
3165
3499
  filename: string;
3166
3500
  originalFilename: string;
3167
- }[] | undefined> | undefined;
3501
+ }[] | [string, string] | null | undefined> | undefined;
3168
3502
  annotation?: Record<string, string | number | boolean | {
3169
3503
  type: string;
3170
3504
  filename: string;
@@ -3180,6 +3514,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3180
3514
  residentialArea?: string | null | undefined;
3181
3515
  street?: string | null | undefined;
3182
3516
  zipCode?: string | null | undefined;
3517
+ } | {
3518
+ firstname: string;
3519
+ surname: string;
3520
+ middlename?: string | null | undefined;
3183
3521
  } | {
3184
3522
  country: string;
3185
3523
  district: string;
@@ -3202,15 +3540,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3202
3540
  option: string;
3203
3541
  filename: string;
3204
3542
  originalFilename: string;
3205
- }[] | undefined> | undefined;
3543
+ }[] | [string, string] | null | undefined> | undefined;
3206
3544
  originalActionId?: string | undefined;
3207
3545
  keepAssignment?: boolean | undefined;
3208
3546
  }>;
3209
3547
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3210
3548
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3211
- eventId: z.ZodString;
3549
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3212
3550
  transactionId: z.ZodString;
3213
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3551
+ declaration: z.ZodDefault<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<{
3214
3552
  filename: z.ZodString;
3215
3553
  originalFilename: z.ZodString;
3216
3554
  type: z.ZodString;
@@ -3323,8 +3661,20 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3323
3661
  addressLine2?: string | null | undefined;
3324
3662
  addressLine3?: string | null | undefined;
3325
3663
  postcodeOrZip?: string | null | undefined;
3326
- }>]>>>;
3327
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3664
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3665
+ firstname: z.ZodString;
3666
+ surname: z.ZodString;
3667
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3668
+ }, "strip", z.ZodTypeAny, {
3669
+ firstname: string;
3670
+ surname: string;
3671
+ middlename?: string | null | undefined;
3672
+ }, {
3673
+ firstname: string;
3674
+ surname: string;
3675
+ middlename?: string | null | undefined;
3676
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3677
+ 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<{
3328
3678
  filename: z.ZodString;
3329
3679
  originalFilename: z.ZodString;
3330
3680
  type: z.ZodString;
@@ -3437,13 +3787,40 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3437
3787
  addressLine2?: string | null | undefined;
3438
3788
  addressLine3?: string | null | undefined;
3439
3789
  postcodeOrZip?: string | null | undefined;
3440
- }>]>>>;
3441
- originalActionId: z.ZodOptional<z.ZodString>;
3790
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
3791
+ firstname: z.ZodString;
3792
+ surname: z.ZodString;
3793
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3794
+ }, "strip", z.ZodTypeAny, {
3795
+ firstname: string;
3796
+ surname: string;
3797
+ middlename?: string | null | undefined;
3798
+ }, {
3799
+ firstname: string;
3800
+ surname: string;
3801
+ middlename?: string | null | undefined;
3802
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
3803
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3442
3804
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3443
3805
  }, {
3444
3806
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3807
+ reason: z.ZodObject<{
3808
+ message: z.ZodString;
3809
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3810
+ }, "strip", z.ZodTypeAny, {
3811
+ message: string;
3812
+ isDuplicate?: boolean | undefined;
3813
+ }, {
3814
+ message: string;
3815
+ isDuplicate?: boolean | undefined;
3816
+ }>;
3445
3817
  }>, "strip", z.ZodTypeAny, {
3446
3818
  type: "ARCHIVE";
3819
+ reason: {
3820
+ message: string;
3821
+ isDuplicate?: boolean | undefined;
3822
+ };
3823
+ transactionId: string;
3447
3824
  declaration: Record<string, string | number | boolean | {
3448
3825
  type: string;
3449
3826
  filename: string;
@@ -3459,6 +3836,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3459
3836
  residentialArea?: string | null | undefined;
3460
3837
  street?: string | null | undefined;
3461
3838
  zipCode?: string | null | undefined;
3839
+ } | {
3840
+ firstname: string;
3841
+ surname: string;
3842
+ middlename?: string | null | undefined;
3462
3843
  } | {
3463
3844
  country: string;
3464
3845
  district: string;
@@ -3481,9 +3862,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3481
3862
  option: string;
3482
3863
  filename: string;
3483
3864
  originalFilename: string;
3484
- }[] | undefined>;
3485
- eventId: string;
3486
- transactionId: string;
3865
+ }[] | [string, string] | null | undefined>;
3866
+ eventId: string & z.BRAND<"UUID">;
3487
3867
  annotation?: Record<string, string | number | boolean | {
3488
3868
  type: string;
3489
3869
  filename: string;
@@ -3499,6 +3879,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3499
3879
  residentialArea?: string | null | undefined;
3500
3880
  street?: string | null | undefined;
3501
3881
  zipCode?: string | null | undefined;
3882
+ } | {
3883
+ firstname: string;
3884
+ surname: string;
3885
+ middlename?: string | null | undefined;
3502
3886
  } | {
3503
3887
  country: string;
3504
3888
  district: string;
@@ -3521,12 +3905,16 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3521
3905
  option: string;
3522
3906
  filename: string;
3523
3907
  originalFilename: string;
3524
- }[] | undefined> | undefined;
3525
- originalActionId?: string | undefined;
3908
+ }[] | [string, string] | null | undefined> | undefined;
3909
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3526
3910
  keepAssignment?: boolean | undefined;
3527
3911
  }, {
3528
- eventId: string;
3912
+ reason: {
3913
+ message: string;
3914
+ isDuplicate?: boolean | undefined;
3915
+ };
3529
3916
  transactionId: string;
3917
+ eventId: string;
3530
3918
  type?: "ARCHIVE" | undefined;
3531
3919
  declaration?: Record<string, string | number | boolean | {
3532
3920
  type: string;
@@ -3543,6 +3931,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3543
3931
  residentialArea?: string | null | undefined;
3544
3932
  street?: string | null | undefined;
3545
3933
  zipCode?: string | null | undefined;
3934
+ } | {
3935
+ firstname: string;
3936
+ surname: string;
3937
+ middlename?: string | null | undefined;
3546
3938
  } | {
3547
3939
  country: string;
3548
3940
  district: string;
@@ -3565,7 +3957,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3565
3957
  option: string;
3566
3958
  filename: string;
3567
3959
  originalFilename: string;
3568
- }[] | undefined> | undefined;
3960
+ }[] | [string, string] | null | undefined> | undefined;
3569
3961
  annotation?: Record<string, string | number | boolean | {
3570
3962
  type: string;
3571
3963
  filename: string;
@@ -3581,6 +3973,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3581
3973
  residentialArea?: string | null | undefined;
3582
3974
  street?: string | null | undefined;
3583
3975
  zipCode?: string | null | undefined;
3976
+ } | {
3977
+ firstname: string;
3978
+ surname: string;
3979
+ middlename?: string | null | undefined;
3584
3980
  } | {
3585
3981
  country: string;
3586
3982
  district: string;
@@ -3603,15 +3999,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3603
3999
  option: string;
3604
4000
  filename: string;
3605
4001
  originalFilename: string;
3606
- }[] | undefined> | undefined;
4002
+ }[] | [string, string] | null | undefined> | undefined;
3607
4003
  originalActionId?: string | undefined;
3608
4004
  keepAssignment?: boolean | undefined;
3609
4005
  }>;
3610
4006
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
4007
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3612
- eventId: z.ZodString;
4008
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3613
4009
  transactionId: z.ZodString;
3614
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4010
+ declaration: z.ZodDefault<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<{
3615
4011
  filename: z.ZodString;
3616
4012
  originalFilename: z.ZodString;
3617
4013
  type: z.ZodString;
@@ -3724,8 +4120,20 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3724
4120
  addressLine2?: string | null | undefined;
3725
4121
  addressLine3?: string | null | undefined;
3726
4122
  postcodeOrZip?: string | null | undefined;
3727
- }>]>>>;
3728
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4123
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4124
+ firstname: z.ZodString;
4125
+ surname: z.ZodString;
4126
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4127
+ }, "strip", z.ZodTypeAny, {
4128
+ firstname: string;
4129
+ surname: string;
4130
+ middlename?: string | null | undefined;
4131
+ }, {
4132
+ firstname: string;
4133
+ surname: string;
4134
+ middlename?: string | null | undefined;
4135
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4136
+ 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<{
3729
4137
  filename: z.ZodString;
3730
4138
  originalFilename: z.ZodString;
3731
4139
  type: z.ZodString;
@@ -3838,14 +4246,27 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3838
4246
  addressLine2?: string | null | undefined;
3839
4247
  addressLine3?: string | null | undefined;
3840
4248
  postcodeOrZip?: string | null | undefined;
3841
- }>]>>>;
3842
- originalActionId: z.ZodOptional<z.ZodString>;
4249
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4250
+ firstname: z.ZodString;
4251
+ surname: z.ZodString;
4252
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4253
+ }, "strip", z.ZodTypeAny, {
4254
+ firstname: string;
4255
+ surname: string;
4256
+ middlename?: string | null | undefined;
4257
+ }, {
4258
+ firstname: string;
4259
+ surname: string;
4260
+ middlename?: string | null | undefined;
4261
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4262
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
3843
4263
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3844
4264
  }, {
3845
4265
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3846
4266
  assignedTo: z.ZodString;
3847
4267
  }>, "strip", z.ZodTypeAny, {
3848
4268
  type: "ASSIGN";
4269
+ transactionId: string;
3849
4270
  declaration: Record<string, string | number | boolean | {
3850
4271
  type: string;
3851
4272
  filename: string;
@@ -3861,6 +4282,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3861
4282
  residentialArea?: string | null | undefined;
3862
4283
  street?: string | null | undefined;
3863
4284
  zipCode?: string | null | undefined;
4285
+ } | {
4286
+ firstname: string;
4287
+ surname: string;
4288
+ middlename?: string | null | undefined;
3864
4289
  } | {
3865
4290
  country: string;
3866
4291
  district: string;
@@ -3883,10 +4308,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3883
4308
  option: string;
3884
4309
  filename: string;
3885
4310
  originalFilename: string;
3886
- }[] | undefined>;
4311
+ }[] | [string, string] | null | undefined>;
3887
4312
  assignedTo: string;
3888
- eventId: string;
3889
- transactionId: string;
4313
+ eventId: string & z.BRAND<"UUID">;
3890
4314
  annotation?: Record<string, string | number | boolean | {
3891
4315
  type: string;
3892
4316
  filename: string;
@@ -3902,6 +4326,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3902
4326
  residentialArea?: string | null | undefined;
3903
4327
  street?: string | null | undefined;
3904
4328
  zipCode?: string | null | undefined;
4329
+ } | {
4330
+ firstname: string;
4331
+ surname: string;
4332
+ middlename?: string | null | undefined;
3905
4333
  } | {
3906
4334
  country: string;
3907
4335
  district: string;
@@ -3924,13 +4352,13 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3924
4352
  option: string;
3925
4353
  filename: string;
3926
4354
  originalFilename: string;
3927
- }[] | undefined> | undefined;
3928
- originalActionId?: string | undefined;
4355
+ }[] | [string, string] | null | undefined> | undefined;
4356
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3929
4357
  keepAssignment?: boolean | undefined;
3930
4358
  }, {
4359
+ transactionId: string;
3931
4360
  assignedTo: string;
3932
4361
  eventId: string;
3933
- transactionId: string;
3934
4362
  type?: "ASSIGN" | undefined;
3935
4363
  declaration?: Record<string, string | number | boolean | {
3936
4364
  type: string;
@@ -3947,6 +4375,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3947
4375
  residentialArea?: string | null | undefined;
3948
4376
  street?: string | null | undefined;
3949
4377
  zipCode?: string | null | undefined;
4378
+ } | {
4379
+ firstname: string;
4380
+ surname: string;
4381
+ middlename?: string | null | undefined;
3950
4382
  } | {
3951
4383
  country: string;
3952
4384
  district: string;
@@ -3969,7 +4401,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3969
4401
  option: string;
3970
4402
  filename: string;
3971
4403
  originalFilename: string;
3972
- }[] | undefined> | undefined;
4404
+ }[] | [string, string] | null | undefined> | undefined;
3973
4405
  annotation?: Record<string, string | number | boolean | {
3974
4406
  type: string;
3975
4407
  filename: string;
@@ -3985,6 +4417,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3985
4417
  residentialArea?: string | null | undefined;
3986
4418
  street?: string | null | undefined;
3987
4419
  zipCode?: string | null | undefined;
4420
+ } | {
4421
+ firstname: string;
4422
+ surname: string;
4423
+ middlename?: string | null | undefined;
3988
4424
  } | {
3989
4425
  country: string;
3990
4426
  district: string;
@@ -4007,15 +4443,15 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4007
4443
  option: string;
4008
4444
  filename: string;
4009
4445
  originalFilename: string;
4010
- }[] | undefined> | undefined;
4446
+ }[] | [string, string] | null | undefined> | undefined;
4011
4447
  originalActionId?: string | undefined;
4012
4448
  keepAssignment?: boolean | undefined;
4013
4449
  }>;
4014
4450
  export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
4451
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4016
- eventId: z.ZodString;
4452
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4017
4453
  transactionId: z.ZodString;
4018
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4454
+ declaration: z.ZodDefault<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<{
4019
4455
  filename: z.ZodString;
4020
4456
  originalFilename: z.ZodString;
4021
4457
  type: z.ZodString;
@@ -4128,8 +4564,20 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4128
4564
  addressLine2?: string | null | undefined;
4129
4565
  addressLine3?: string | null | undefined;
4130
4566
  postcodeOrZip?: string | null | undefined;
4131
- }>]>>>;
4132
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4567
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4568
+ firstname: z.ZodString;
4569
+ surname: z.ZodString;
4570
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4571
+ }, "strip", z.ZodTypeAny, {
4572
+ firstname: string;
4573
+ surname: string;
4574
+ middlename?: string | null | undefined;
4575
+ }, {
4576
+ firstname: string;
4577
+ surname: string;
4578
+ middlename?: string | null | undefined;
4579
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4580
+ 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<{
4133
4581
  filename: z.ZodString;
4134
4582
  originalFilename: z.ZodString;
4135
4583
  type: z.ZodString;
@@ -4242,14 +4690,27 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4242
4690
  addressLine2?: string | null | undefined;
4243
4691
  addressLine3?: string | null | undefined;
4244
4692
  postcodeOrZip?: string | null | undefined;
4245
- }>]>>>;
4246
- originalActionId: z.ZodOptional<z.ZodString>;
4693
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
4694
+ firstname: z.ZodString;
4695
+ surname: z.ZodString;
4696
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4697
+ }, "strip", z.ZodTypeAny, {
4698
+ firstname: string;
4699
+ surname: string;
4700
+ middlename?: string | null | undefined;
4701
+ }, {
4702
+ firstname: string;
4703
+ surname: string;
4704
+ middlename?: string | null | undefined;
4705
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
4706
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4247
4707
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4248
4708
  }, {
4249
4709
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4250
4710
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4251
4711
  }>, "strip", z.ZodTypeAny, {
4252
4712
  type: "UNASSIGN";
4713
+ transactionId: string;
4253
4714
  declaration: Record<string, string | number | boolean | {
4254
4715
  type: string;
4255
4716
  filename: string;
@@ -4265,6 +4726,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4265
4726
  residentialArea?: string | null | undefined;
4266
4727
  street?: string | null | undefined;
4267
4728
  zipCode?: string | null | undefined;
4729
+ } | {
4730
+ firstname: string;
4731
+ surname: string;
4732
+ middlename?: string | null | undefined;
4268
4733
  } | {
4269
4734
  country: string;
4270
4735
  district: string;
@@ -4287,10 +4752,9 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4287
4752
  option: string;
4288
4753
  filename: string;
4289
4754
  originalFilename: string;
4290
- }[] | undefined>;
4755
+ }[] | [string, string] | null | undefined>;
4291
4756
  assignedTo: null;
4292
- eventId: string;
4293
- transactionId: string;
4757
+ eventId: string & z.BRAND<"UUID">;
4294
4758
  annotation?: Record<string, string | number | boolean | {
4295
4759
  type: string;
4296
4760
  filename: string;
@@ -4306,6 +4770,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4306
4770
  residentialArea?: string | null | undefined;
4307
4771
  street?: string | null | undefined;
4308
4772
  zipCode?: string | null | undefined;
4773
+ } | {
4774
+ firstname: string;
4775
+ surname: string;
4776
+ middlename?: string | null | undefined;
4309
4777
  } | {
4310
4778
  country: string;
4311
4779
  district: string;
@@ -4328,12 +4796,12 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4328
4796
  option: string;
4329
4797
  filename: string;
4330
4798
  originalFilename: string;
4331
- }[] | undefined> | undefined;
4332
- originalActionId?: string | undefined;
4799
+ }[] | [string, string] | null | undefined> | undefined;
4800
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4333
4801
  keepAssignment?: boolean | undefined;
4334
4802
  }, {
4335
- eventId: string;
4336
4803
  transactionId: string;
4804
+ eventId: string;
4337
4805
  type?: "UNASSIGN" | undefined;
4338
4806
  declaration?: Record<string, string | number | boolean | {
4339
4807
  type: string;
@@ -4350,6 +4818,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4350
4818
  residentialArea?: string | null | undefined;
4351
4819
  street?: string | null | undefined;
4352
4820
  zipCode?: string | null | undefined;
4821
+ } | {
4822
+ firstname: string;
4823
+ surname: string;
4824
+ middlename?: string | null | undefined;
4353
4825
  } | {
4354
4826
  country: string;
4355
4827
  district: string;
@@ -4372,7 +4844,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4372
4844
  option: string;
4373
4845
  filename: string;
4374
4846
  originalFilename: string;
4375
- }[] | undefined> | undefined;
4847
+ }[] | [string, string] | null | undefined> | undefined;
4376
4848
  annotation?: Record<string, string | number | boolean | {
4377
4849
  type: string;
4378
4850
  filename: string;
@@ -4388,6 +4860,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4388
4860
  residentialArea?: string | null | undefined;
4389
4861
  street?: string | null | undefined;
4390
4862
  zipCode?: string | null | undefined;
4863
+ } | {
4864
+ firstname: string;
4865
+ surname: string;
4866
+ middlename?: string | null | undefined;
4391
4867
  } | {
4392
4868
  country: string;
4393
4869
  district: string;
@@ -4410,16 +4886,16 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4410
4886
  option: string;
4411
4887
  filename: string;
4412
4888
  originalFilename: string;
4413
- }[] | undefined> | undefined;
4889
+ }[] | [string, string] | null | undefined> | undefined;
4414
4890
  originalActionId?: string | undefined;
4415
4891
  assignedTo?: null | undefined;
4416
4892
  keepAssignment?: boolean | undefined;
4417
4893
  }>;
4418
4894
  export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4419
4895
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4420
- eventId: z.ZodString;
4896
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4421
4897
  transactionId: z.ZodString;
4422
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4898
+ declaration: z.ZodDefault<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<{
4423
4899
  filename: z.ZodString;
4424
4900
  originalFilename: z.ZodString;
4425
4901
  type: z.ZodString;
@@ -4532,8 +5008,20 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4532
5008
  addressLine2?: string | null | undefined;
4533
5009
  addressLine3?: string | null | undefined;
4534
5010
  postcodeOrZip?: string | null | undefined;
4535
- }>]>>>;
4536
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5011
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5012
+ firstname: z.ZodString;
5013
+ surname: z.ZodString;
5014
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5015
+ }, "strip", z.ZodTypeAny, {
5016
+ firstname: string;
5017
+ surname: string;
5018
+ middlename?: string | null | undefined;
5019
+ }, {
5020
+ firstname: string;
5021
+ surname: string;
5022
+ middlename?: string | null | undefined;
5023
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5024
+ 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<{
4537
5025
  filename: z.ZodString;
4538
5026
  originalFilename: z.ZodString;
4539
5027
  type: z.ZodString;
@@ -4646,13 +5134,26 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4646
5134
  addressLine2?: string | null | undefined;
4647
5135
  addressLine3?: string | null | undefined;
4648
5136
  postcodeOrZip?: string | null | undefined;
4649
- }>]>>>;
4650
- originalActionId: z.ZodOptional<z.ZodString>;
5137
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5138
+ firstname: z.ZodString;
5139
+ surname: z.ZodString;
5140
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5141
+ }, "strip", z.ZodTypeAny, {
5142
+ firstname: string;
5143
+ surname: string;
5144
+ middlename?: string | null | undefined;
5145
+ }, {
5146
+ firstname: string;
5147
+ surname: string;
5148
+ middlename?: string | null | undefined;
5149
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5150
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
4651
5151
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
4652
5152
  }, {
4653
5153
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4654
5154
  }>, "strip", z.ZodTypeAny, {
4655
5155
  type: "REQUEST_CORRECTION";
5156
+ transactionId: string;
4656
5157
  declaration: Record<string, string | number | boolean | {
4657
5158
  type: string;
4658
5159
  filename: string;
@@ -4668,6 +5169,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4668
5169
  residentialArea?: string | null | undefined;
4669
5170
  street?: string | null | undefined;
4670
5171
  zipCode?: string | null | undefined;
5172
+ } | {
5173
+ firstname: string;
5174
+ surname: string;
5175
+ middlename?: string | null | undefined;
4671
5176
  } | {
4672
5177
  country: string;
4673
5178
  district: string;
@@ -4690,9 +5195,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4690
5195
  option: string;
4691
5196
  filename: string;
4692
5197
  originalFilename: string;
4693
- }[] | undefined>;
4694
- eventId: string;
4695
- transactionId: string;
5198
+ }[] | [string, string] | null | undefined>;
5199
+ eventId: string & z.BRAND<"UUID">;
4696
5200
  annotation?: Record<string, string | number | boolean | {
4697
5201
  type: string;
4698
5202
  filename: string;
@@ -4708,6 +5212,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4708
5212
  residentialArea?: string | null | undefined;
4709
5213
  street?: string | null | undefined;
4710
5214
  zipCode?: string | null | undefined;
5215
+ } | {
5216
+ firstname: string;
5217
+ surname: string;
5218
+ middlename?: string | null | undefined;
4711
5219
  } | {
4712
5220
  country: string;
4713
5221
  district: string;
@@ -4730,12 +5238,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4730
5238
  option: string;
4731
5239
  filename: string;
4732
5240
  originalFilename: string;
4733
- }[] | undefined> | undefined;
4734
- originalActionId?: string | undefined;
5241
+ }[] | [string, string] | null | undefined> | undefined;
5242
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4735
5243
  keepAssignment?: boolean | undefined;
4736
5244
  }, {
4737
- eventId: string;
4738
5245
  transactionId: string;
5246
+ eventId: string;
4739
5247
  type?: "REQUEST_CORRECTION" | undefined;
4740
5248
  declaration?: Record<string, string | number | boolean | {
4741
5249
  type: string;
@@ -4752,6 +5260,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4752
5260
  residentialArea?: string | null | undefined;
4753
5261
  street?: string | null | undefined;
4754
5262
  zipCode?: string | null | undefined;
5263
+ } | {
5264
+ firstname: string;
5265
+ surname: string;
5266
+ middlename?: string | null | undefined;
4755
5267
  } | {
4756
5268
  country: string;
4757
5269
  district: string;
@@ -4774,7 +5286,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4774
5286
  option: string;
4775
5287
  filename: string;
4776
5288
  originalFilename: string;
4777
- }[] | undefined> | undefined;
5289
+ }[] | [string, string] | null | undefined> | undefined;
4778
5290
  annotation?: Record<string, string | number | boolean | {
4779
5291
  type: string;
4780
5292
  filename: string;
@@ -4790,6 +5302,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4790
5302
  residentialArea?: string | null | undefined;
4791
5303
  street?: string | null | undefined;
4792
5304
  zipCode?: string | null | undefined;
5305
+ } | {
5306
+ firstname: string;
5307
+ surname: string;
5308
+ middlename?: string | null | undefined;
4793
5309
  } | {
4794
5310
  country: string;
4795
5311
  district: string;
@@ -4812,15 +5328,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4812
5328
  option: string;
4813
5329
  filename: string;
4814
5330
  originalFilename: string;
4815
- }[] | undefined> | undefined;
5331
+ }[] | [string, string] | null | undefined> | undefined;
4816
5332
  originalActionId?: string | undefined;
4817
5333
  keepAssignment?: boolean | undefined;
4818
5334
  }>;
4819
5335
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
4820
5336
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4821
- eventId: z.ZodString;
5337
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4822
5338
  transactionId: z.ZodString;
4823
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5339
+ declaration: z.ZodDefault<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<{
4824
5340
  filename: z.ZodString;
4825
5341
  originalFilename: z.ZodString;
4826
5342
  type: z.ZodString;
@@ -4933,8 +5449,20 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4933
5449
  addressLine2?: string | null | undefined;
4934
5450
  addressLine3?: string | null | undefined;
4935
5451
  postcodeOrZip?: string | null | undefined;
4936
- }>]>>>;
4937
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5452
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5453
+ firstname: z.ZodString;
5454
+ surname: z.ZodString;
5455
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5456
+ }, "strip", z.ZodTypeAny, {
5457
+ firstname: string;
5458
+ surname: string;
5459
+ middlename?: string | null | undefined;
5460
+ }, {
5461
+ firstname: string;
5462
+ surname: string;
5463
+ middlename?: string | null | undefined;
5464
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5465
+ 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<{
4938
5466
  filename: z.ZodString;
4939
5467
  originalFilename: z.ZodString;
4940
5468
  type: z.ZodString;
@@ -5047,14 +5575,27 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5047
5575
  addressLine2?: string | null | undefined;
5048
5576
  addressLine3?: string | null | undefined;
5049
5577
  postcodeOrZip?: string | null | undefined;
5050
- }>]>>>;
5051
- originalActionId: z.ZodOptional<z.ZodString>;
5578
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5579
+ firstname: z.ZodString;
5580
+ surname: z.ZodString;
5581
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5582
+ }, "strip", z.ZodTypeAny, {
5583
+ firstname: string;
5584
+ surname: string;
5585
+ middlename?: string | null | undefined;
5586
+ }, {
5587
+ firstname: string;
5588
+ surname: string;
5589
+ middlename?: string | null | undefined;
5590
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5591
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5052
5592
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5053
5593
  }, {
5054
5594
  requestId: z.ZodString;
5055
5595
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5056
5596
  }>, "strip", z.ZodTypeAny, {
5057
5597
  type: "REJECT_CORRECTION";
5598
+ transactionId: string;
5058
5599
  declaration: Record<string, string | number | boolean | {
5059
5600
  type: string;
5060
5601
  filename: string;
@@ -5070,6 +5611,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5070
5611
  residentialArea?: string | null | undefined;
5071
5612
  street?: string | null | undefined;
5072
5613
  zipCode?: string | null | undefined;
5614
+ } | {
5615
+ firstname: string;
5616
+ surname: string;
5617
+ middlename?: string | null | undefined;
5073
5618
  } | {
5074
5619
  country: string;
5075
5620
  district: string;
@@ -5092,10 +5637,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5092
5637
  option: string;
5093
5638
  filename: string;
5094
5639
  originalFilename: string;
5095
- }[] | undefined>;
5640
+ }[] | [string, string] | null | undefined>;
5096
5641
  requestId: string;
5097
- eventId: string;
5098
- transactionId: string;
5642
+ eventId: string & z.BRAND<"UUID">;
5099
5643
  annotation?: Record<string, string | number | boolean | {
5100
5644
  type: string;
5101
5645
  filename: string;
@@ -5111,6 +5655,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5111
5655
  residentialArea?: string | null | undefined;
5112
5656
  street?: string | null | undefined;
5113
5657
  zipCode?: string | null | undefined;
5658
+ } | {
5659
+ firstname: string;
5660
+ surname: string;
5661
+ middlename?: string | null | undefined;
5114
5662
  } | {
5115
5663
  country: string;
5116
5664
  district: string;
@@ -5133,13 +5681,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5133
5681
  option: string;
5134
5682
  filename: string;
5135
5683
  originalFilename: string;
5136
- }[] | undefined> | undefined;
5137
- originalActionId?: string | undefined;
5684
+ }[] | [string, string] | null | undefined> | undefined;
5685
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5138
5686
  keepAssignment?: boolean | undefined;
5139
5687
  }, {
5688
+ transactionId: string;
5140
5689
  requestId: string;
5141
5690
  eventId: string;
5142
- transactionId: string;
5143
5691
  type?: "REJECT_CORRECTION" | undefined;
5144
5692
  declaration?: Record<string, string | number | boolean | {
5145
5693
  type: string;
@@ -5156,6 +5704,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5156
5704
  residentialArea?: string | null | undefined;
5157
5705
  street?: string | null | undefined;
5158
5706
  zipCode?: string | null | undefined;
5707
+ } | {
5708
+ firstname: string;
5709
+ surname: string;
5710
+ middlename?: string | null | undefined;
5159
5711
  } | {
5160
5712
  country: string;
5161
5713
  district: string;
@@ -5178,7 +5730,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5730
  option: string;
5179
5731
  filename: string;
5180
5732
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5733
+ }[] | [string, string] | null | undefined> | undefined;
5182
5734
  annotation?: Record<string, string | number | boolean | {
5183
5735
  type: string;
5184
5736
  filename: string;
@@ -5194,6 +5746,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5194
5746
  residentialArea?: string | null | undefined;
5195
5747
  street?: string | null | undefined;
5196
5748
  zipCode?: string | null | undefined;
5749
+ } | {
5750
+ firstname: string;
5751
+ surname: string;
5752
+ middlename?: string | null | undefined;
5197
5753
  } | {
5198
5754
  country: string;
5199
5755
  district: string;
@@ -5216,15 +5772,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5216
5772
  option: string;
5217
5773
  filename: string;
5218
5774
  originalFilename: string;
5219
- }[] | undefined> | undefined;
5775
+ }[] | [string, string] | null | undefined> | undefined;
5220
5776
  originalActionId?: string | undefined;
5221
5777
  keepAssignment?: boolean | undefined;
5222
5778
  }>;
5223
5779
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
5224
5780
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5225
- eventId: z.ZodString;
5781
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5226
5782
  transactionId: z.ZodString;
5227
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5783
+ declaration: z.ZodDefault<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<{
5228
5784
  filename: z.ZodString;
5229
5785
  originalFilename: z.ZodString;
5230
5786
  type: z.ZodString;
@@ -5337,8 +5893,20 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5337
5893
  addressLine2?: string | null | undefined;
5338
5894
  addressLine3?: string | null | undefined;
5339
5895
  postcodeOrZip?: string | null | undefined;
5340
- }>]>>>;
5341
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5896
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
5897
+ firstname: z.ZodString;
5898
+ surname: z.ZodString;
5899
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5900
+ }, "strip", z.ZodTypeAny, {
5901
+ firstname: string;
5902
+ surname: string;
5903
+ middlename?: string | null | undefined;
5904
+ }, {
5905
+ firstname: string;
5906
+ surname: string;
5907
+ middlename?: string | null | undefined;
5908
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
5909
+ 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<{
5342
5910
  filename: z.ZodString;
5343
5911
  originalFilename: z.ZodString;
5344
5912
  type: z.ZodString;
@@ -5451,14 +6019,27 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5451
6019
  addressLine2?: string | null | undefined;
5452
6020
  addressLine3?: string | null | undefined;
5453
6021
  postcodeOrZip?: string | null | undefined;
5454
- }>]>>>;
5455
- originalActionId: z.ZodOptional<z.ZodString>;
6022
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6023
+ firstname: z.ZodString;
6024
+ surname: z.ZodString;
6025
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6026
+ }, "strip", z.ZodTypeAny, {
6027
+ firstname: string;
6028
+ surname: string;
6029
+ middlename?: string | null | undefined;
6030
+ }, {
6031
+ firstname: string;
6032
+ surname: string;
6033
+ middlename?: string | null | undefined;
6034
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6035
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5456
6036
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5457
6037
  }, {
5458
6038
  requestId: z.ZodString;
5459
6039
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5460
6040
  }>, "strip", z.ZodTypeAny, {
5461
6041
  type: "APPROVE_CORRECTION";
6042
+ transactionId: string;
5462
6043
  declaration: Record<string, string | number | boolean | {
5463
6044
  type: string;
5464
6045
  filename: string;
@@ -5474,6 +6055,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5474
6055
  residentialArea?: string | null | undefined;
5475
6056
  street?: string | null | undefined;
5476
6057
  zipCode?: string | null | undefined;
6058
+ } | {
6059
+ firstname: string;
6060
+ surname: string;
6061
+ middlename?: string | null | undefined;
5477
6062
  } | {
5478
6063
  country: string;
5479
6064
  district: string;
@@ -5496,10 +6081,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5496
6081
  option: string;
5497
6082
  filename: string;
5498
6083
  originalFilename: string;
5499
- }[] | undefined>;
6084
+ }[] | [string, string] | null | undefined>;
5500
6085
  requestId: string;
5501
- eventId: string;
5502
- transactionId: string;
6086
+ eventId: string & z.BRAND<"UUID">;
5503
6087
  annotation?: Record<string, string | number | boolean | {
5504
6088
  type: string;
5505
6089
  filename: string;
@@ -5515,6 +6099,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5515
6099
  residentialArea?: string | null | undefined;
5516
6100
  street?: string | null | undefined;
5517
6101
  zipCode?: string | null | undefined;
6102
+ } | {
6103
+ firstname: string;
6104
+ surname: string;
6105
+ middlename?: string | null | undefined;
5518
6106
  } | {
5519
6107
  country: string;
5520
6108
  district: string;
@@ -5537,13 +6125,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5537
6125
  option: string;
5538
6126
  filename: string;
5539
6127
  originalFilename: string;
5540
- }[] | undefined> | undefined;
5541
- originalActionId?: string | undefined;
6128
+ }[] | [string, string] | null | undefined> | undefined;
6129
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5542
6130
  keepAssignment?: boolean | undefined;
5543
6131
  }, {
6132
+ transactionId: string;
5544
6133
  requestId: string;
5545
6134
  eventId: string;
5546
- transactionId: string;
5547
6135
  type?: "APPROVE_CORRECTION" | undefined;
5548
6136
  declaration?: Record<string, string | number | boolean | {
5549
6137
  type: string;
@@ -5560,6 +6148,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5560
6148
  residentialArea?: string | null | undefined;
5561
6149
  street?: string | null | undefined;
5562
6150
  zipCode?: string | null | undefined;
6151
+ } | {
6152
+ firstname: string;
6153
+ surname: string;
6154
+ middlename?: string | null | undefined;
5563
6155
  } | {
5564
6156
  country: string;
5565
6157
  district: string;
@@ -5582,7 +6174,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5582
6174
  option: string;
5583
6175
  filename: string;
5584
6176
  originalFilename: string;
5585
- }[] | undefined> | undefined;
6177
+ }[] | [string, string] | null | undefined> | undefined;
5586
6178
  annotation?: Record<string, string | number | boolean | {
5587
6179
  type: string;
5588
6180
  filename: string;
@@ -5598,6 +6190,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5598
6190
  residentialArea?: string | null | undefined;
5599
6191
  street?: string | null | undefined;
5600
6192
  zipCode?: string | null | undefined;
6193
+ } | {
6194
+ firstname: string;
6195
+ surname: string;
6196
+ middlename?: string | null | undefined;
5601
6197
  } | {
5602
6198
  country: string;
5603
6199
  district: string;
@@ -5620,15 +6216,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5620
6216
  option: string;
5621
6217
  filename: string;
5622
6218
  originalFilename: string;
5623
- }[] | undefined> | undefined;
6219
+ }[] | [string, string] | null | undefined> | undefined;
5624
6220
  originalActionId?: string | undefined;
5625
6221
  keepAssignment?: boolean | undefined;
5626
6222
  }>;
5627
6223
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
5628
6224
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5629
- eventId: z.ZodString;
6225
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5630
6226
  transactionId: z.ZodString;
5631
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6227
+ declaration: z.ZodDefault<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<{
5632
6228
  filename: z.ZodString;
5633
6229
  originalFilename: z.ZodString;
5634
6230
  type: z.ZodString;
@@ -5741,8 +6337,20 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5741
6337
  addressLine2?: string | null | undefined;
5742
6338
  addressLine3?: string | null | undefined;
5743
6339
  postcodeOrZip?: string | null | undefined;
5744
- }>]>>>;
5745
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6340
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6341
+ firstname: z.ZodString;
6342
+ surname: z.ZodString;
6343
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6344
+ }, "strip", z.ZodTypeAny, {
6345
+ firstname: string;
6346
+ surname: string;
6347
+ middlename?: string | null | undefined;
6348
+ }, {
6349
+ firstname: string;
6350
+ surname: string;
6351
+ middlename?: string | null | undefined;
6352
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6353
+ 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<{
5746
6354
  filename: z.ZodString;
5747
6355
  originalFilename: z.ZodString;
5748
6356
  type: z.ZodString;
@@ -5855,13 +6463,26 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5855
6463
  addressLine2?: string | null | undefined;
5856
6464
  addressLine3?: string | null | undefined;
5857
6465
  postcodeOrZip?: string | null | undefined;
5858
- }>]>>>;
5859
- originalActionId: z.ZodOptional<z.ZodString>;
6466
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6467
+ firstname: z.ZodString;
6468
+ surname: z.ZodString;
6469
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6470
+ }, "strip", z.ZodTypeAny, {
6471
+ firstname: string;
6472
+ surname: string;
6473
+ middlename?: string | null | undefined;
6474
+ }, {
6475
+ firstname: string;
6476
+ surname: string;
6477
+ middlename?: string | null | undefined;
6478
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6479
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
5860
6480
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
5861
6481
  }, {
5862
6482
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5863
6483
  }>, "strip", z.ZodTypeAny, {
5864
6484
  type: "READ";
6485
+ transactionId: string;
5865
6486
  declaration: Record<string, string | number | boolean | {
5866
6487
  type: string;
5867
6488
  filename: string;
@@ -5877,6 +6498,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5877
6498
  residentialArea?: string | null | undefined;
5878
6499
  street?: string | null | undefined;
5879
6500
  zipCode?: string | null | undefined;
6501
+ } | {
6502
+ firstname: string;
6503
+ surname: string;
6504
+ middlename?: string | null | undefined;
5880
6505
  } | {
5881
6506
  country: string;
5882
6507
  district: string;
@@ -5899,9 +6524,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5899
6524
  option: string;
5900
6525
  filename: string;
5901
6526
  originalFilename: string;
5902
- }[] | undefined>;
5903
- eventId: string;
5904
- transactionId: string;
6527
+ }[] | [string, string] | null | undefined>;
6528
+ eventId: string & z.BRAND<"UUID">;
5905
6529
  annotation?: Record<string, string | number | boolean | {
5906
6530
  type: string;
5907
6531
  filename: string;
@@ -5917,6 +6541,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5917
6541
  residentialArea?: string | null | undefined;
5918
6542
  street?: string | null | undefined;
5919
6543
  zipCode?: string | null | undefined;
6544
+ } | {
6545
+ firstname: string;
6546
+ surname: string;
6547
+ middlename?: string | null | undefined;
5920
6548
  } | {
5921
6549
  country: string;
5922
6550
  district: string;
@@ -5939,12 +6567,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5939
6567
  option: string;
5940
6568
  filename: string;
5941
6569
  originalFilename: string;
5942
- }[] | undefined> | undefined;
5943
- originalActionId?: string | undefined;
6570
+ }[] | [string, string] | null | undefined> | undefined;
6571
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5944
6572
  keepAssignment?: boolean | undefined;
5945
6573
  }, {
5946
- eventId: string;
5947
6574
  transactionId: string;
6575
+ eventId: string;
5948
6576
  type?: "READ" | undefined;
5949
6577
  declaration?: Record<string, string | number | boolean | {
5950
6578
  type: string;
@@ -5961,6 +6589,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5961
6589
  residentialArea?: string | null | undefined;
5962
6590
  street?: string | null | undefined;
5963
6591
  zipCode?: string | null | undefined;
6592
+ } | {
6593
+ firstname: string;
6594
+ surname: string;
6595
+ middlename?: string | null | undefined;
5964
6596
  } | {
5965
6597
  country: string;
5966
6598
  district: string;
@@ -5983,7 +6615,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5983
6615
  option: string;
5984
6616
  filename: string;
5985
6617
  originalFilename: string;
5986
- }[] | undefined> | undefined;
6618
+ }[] | [string, string] | null | undefined> | undefined;
5987
6619
  annotation?: Record<string, string | number | boolean | {
5988
6620
  type: string;
5989
6621
  filename: string;
@@ -5999,6 +6631,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5999
6631
  residentialArea?: string | null | undefined;
6000
6632
  street?: string | null | undefined;
6001
6633
  zipCode?: string | null | undefined;
6634
+ } | {
6635
+ firstname: string;
6636
+ surname: string;
6637
+ middlename?: string | null | undefined;
6002
6638
  } | {
6003
6639
  country: string;
6004
6640
  district: string;
@@ -6021,11 +6657,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
6021
6657
  option: string;
6022
6658
  filename: string;
6023
6659
  originalFilename: string;
6024
- }[] | undefined> | undefined;
6660
+ }[] | [string, string] | null | undefined> | undefined;
6025
6661
  originalActionId?: string | undefined;
6026
6662
  keepAssignment?: boolean | undefined;
6027
6663
  }>;
6028
6664
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
6665
+ export declare const DeleteActionInput: z.ZodObject<{
6666
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6667
+ }, "strip", z.ZodTypeAny, {
6668
+ eventId: string & z.BRAND<"UUID">;
6669
+ }, {
6670
+ eventId: string;
6671
+ }>;
6672
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
6029
6673
  /**
6030
6674
  * ActionInput types are used to validate the input data for the action.
6031
6675
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -6035,9 +6679,9 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
6035
6679
  * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
6036
6680
  */
6037
6681
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
6038
- eventId: z.ZodString;
6682
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6039
6683
  transactionId: z.ZodString;
6040
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6684
+ declaration: z.ZodDefault<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<{
6041
6685
  filename: z.ZodString;
6042
6686
  originalFilename: z.ZodString;
6043
6687
  type: z.ZodString;
@@ -6150,8 +6794,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6150
6794
  addressLine2?: string | null | undefined;
6151
6795
  addressLine3?: string | null | undefined;
6152
6796
  postcodeOrZip?: string | null | undefined;
6153
- }>]>>>;
6154
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6797
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6798
+ firstname: z.ZodString;
6799
+ surname: z.ZodString;
6800
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6801
+ }, "strip", z.ZodTypeAny, {
6802
+ firstname: string;
6803
+ surname: string;
6804
+ middlename?: string | null | undefined;
6805
+ }, {
6806
+ firstname: string;
6807
+ surname: string;
6808
+ middlename?: string | null | undefined;
6809
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6810
+ 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<{
6155
6811
  filename: z.ZodString;
6156
6812
  originalFilename: z.ZodString;
6157
6813
  type: z.ZodString;
@@ -6264,14 +6920,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6264
6920
  addressLine2?: string | null | undefined;
6265
6921
  addressLine3?: string | null | undefined;
6266
6922
  postcodeOrZip?: string | null | undefined;
6267
- }>]>>>;
6268
- originalActionId: z.ZodOptional<z.ZodString>;
6923
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
6924
+ firstname: z.ZodString;
6925
+ surname: z.ZodString;
6926
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6927
+ }, "strip", z.ZodTypeAny, {
6928
+ firstname: string;
6929
+ surname: string;
6930
+ middlename?: string | null | undefined;
6931
+ }, {
6932
+ firstname: string;
6933
+ surname: string;
6934
+ middlename?: string | null | undefined;
6935
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
6936
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6269
6937
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6270
6938
  }, {
6271
6939
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6272
- createdAtLocation: z.ZodString;
6940
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6273
6941
  }>, "strip", z.ZodTypeAny, {
6274
6942
  type: "CREATE";
6943
+ transactionId: string;
6275
6944
  declaration: Record<string, string | number | boolean | {
6276
6945
  type: string;
6277
6946
  filename: string;
@@ -6287,6 +6956,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6287
6956
  residentialArea?: string | null | undefined;
6288
6957
  street?: string | null | undefined;
6289
6958
  zipCode?: string | null | undefined;
6959
+ } | {
6960
+ firstname: string;
6961
+ surname: string;
6962
+ middlename?: string | null | undefined;
6290
6963
  } | {
6291
6964
  country: string;
6292
6965
  district: string;
@@ -6309,10 +6982,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6309
6982
  option: string;
6310
6983
  filename: string;
6311
6984
  originalFilename: string;
6312
- }[] | undefined>;
6313
- createdAtLocation: string;
6314
- eventId: string;
6315
- transactionId: string;
6985
+ }[] | [string, string] | null | undefined>;
6986
+ eventId: string & z.BRAND<"UUID">;
6987
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6316
6988
  annotation?: Record<string, string | number | boolean | {
6317
6989
  type: string;
6318
6990
  filename: string;
@@ -6328,6 +7000,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6328
7000
  residentialArea?: string | null | undefined;
6329
7001
  street?: string | null | undefined;
6330
7002
  zipCode?: string | null | undefined;
7003
+ } | {
7004
+ firstname: string;
7005
+ surname: string;
7006
+ middlename?: string | null | undefined;
6331
7007
  } | {
6332
7008
  country: string;
6333
7009
  district: string;
@@ -6350,14 +7026,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6350
7026
  option: string;
6351
7027
  filename: string;
6352
7028
  originalFilename: string;
6353
- }[] | undefined> | undefined;
6354
- originalActionId?: string | undefined;
7029
+ }[] | [string, string] | null | undefined> | undefined;
7030
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6355
7031
  keepAssignment?: boolean | undefined;
6356
7032
  }, {
6357
- createdAtLocation: string;
6358
- eventId: string;
6359
7033
  transactionId: string;
7034
+ eventId: string;
6360
7035
  type?: "CREATE" | undefined;
7036
+ createdAtLocation?: string | null | undefined;
6361
7037
  declaration?: Record<string, string | number | boolean | {
6362
7038
  type: string;
6363
7039
  filename: string;
@@ -6373,6 +7049,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6373
7049
  residentialArea?: string | null | undefined;
6374
7050
  street?: string | null | undefined;
6375
7051
  zipCode?: string | null | undefined;
7052
+ } | {
7053
+ firstname: string;
7054
+ surname: string;
7055
+ middlename?: string | null | undefined;
6376
7056
  } | {
6377
7057
  country: string;
6378
7058
  district: string;
@@ -6395,7 +7075,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6395
7075
  option: string;
6396
7076
  filename: string;
6397
7077
  originalFilename: string;
6398
- }[] | undefined> | undefined;
7078
+ }[] | [string, string] | null | undefined> | undefined;
6399
7079
  annotation?: Record<string, string | number | boolean | {
6400
7080
  type: string;
6401
7081
  filename: string;
@@ -6411,6 +7091,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6411
7091
  residentialArea?: string | null | undefined;
6412
7092
  street?: string | null | undefined;
6413
7093
  zipCode?: string | null | undefined;
7094
+ } | {
7095
+ firstname: string;
7096
+ surname: string;
7097
+ middlename?: string | null | undefined;
6414
7098
  } | {
6415
7099
  country: string;
6416
7100
  district: string;
@@ -6433,13 +7117,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6433
7117
  option: string;
6434
7118
  filename: string;
6435
7119
  originalFilename: string;
6436
- }[] | undefined> | undefined;
7120
+ }[] | [string, string] | null | undefined> | undefined;
6437
7121
  originalActionId?: string | undefined;
6438
7122
  keepAssignment?: boolean | undefined;
6439
7123
  }>, z.ZodObject<z.objectUtil.extendShape<{
6440
- eventId: z.ZodString;
7124
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6441
7125
  transactionId: z.ZodString;
6442
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7126
+ declaration: z.ZodDefault<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<{
6443
7127
  filename: z.ZodString;
6444
7128
  originalFilename: z.ZodString;
6445
7129
  type: z.ZodString;
@@ -6552,8 +7236,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6552
7236
  addressLine2?: string | null | undefined;
6553
7237
  addressLine3?: string | null | undefined;
6554
7238
  postcodeOrZip?: string | null | undefined;
6555
- }>]>>>;
6556
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7239
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7240
+ firstname: z.ZodString;
7241
+ surname: z.ZodString;
7242
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7243
+ }, "strip", z.ZodTypeAny, {
7244
+ firstname: string;
7245
+ surname: string;
7246
+ middlename?: string | null | undefined;
7247
+ }, {
7248
+ firstname: string;
7249
+ surname: string;
7250
+ middlename?: string | null | undefined;
7251
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7252
+ 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<{
6557
7253
  filename: z.ZodString;
6558
7254
  originalFilename: z.ZodString;
6559
7255
  type: z.ZodString;
@@ -6666,14 +7362,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6666
7362
  addressLine2?: string | null | undefined;
6667
7363
  addressLine3?: string | null | undefined;
6668
7364
  postcodeOrZip?: string | null | undefined;
6669
- }>]>>>;
6670
- originalActionId: z.ZodOptional<z.ZodString>;
7365
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7366
+ firstname: z.ZodString;
7367
+ surname: z.ZodString;
7368
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7369
+ }, "strip", z.ZodTypeAny, {
7370
+ firstname: string;
7371
+ surname: string;
7372
+ middlename?: string | null | undefined;
7373
+ }, {
7374
+ firstname: string;
7375
+ surname: string;
7376
+ middlename?: string | null | undefined;
7377
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7378
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
6671
7379
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6672
7380
  }, {
6673
7381
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
6674
7382
  duplicates: z.ZodArray<z.ZodString, "many">;
6675
7383
  }>, "strip", z.ZodTypeAny, {
6676
7384
  type: "VALIDATE";
7385
+ transactionId: string;
6677
7386
  declaration: Record<string, string | number | boolean | {
6678
7387
  type: string;
6679
7388
  filename: string;
@@ -6689,6 +7398,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6689
7398
  residentialArea?: string | null | undefined;
6690
7399
  street?: string | null | undefined;
6691
7400
  zipCode?: string | null | undefined;
7401
+ } | {
7402
+ firstname: string;
7403
+ surname: string;
7404
+ middlename?: string | null | undefined;
6692
7405
  } | {
6693
7406
  country: string;
6694
7407
  district: string;
@@ -6711,9 +7424,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6711
7424
  option: string;
6712
7425
  filename: string;
6713
7426
  originalFilename: string;
6714
- }[] | undefined>;
6715
- eventId: string;
6716
- transactionId: string;
7427
+ }[] | [string, string] | null | undefined>;
7428
+ eventId: string & z.BRAND<"UUID">;
6717
7429
  duplicates: string[];
6718
7430
  annotation?: Record<string, string | number | boolean | {
6719
7431
  type: string;
@@ -6730,6 +7442,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6730
7442
  residentialArea?: string | null | undefined;
6731
7443
  street?: string | null | undefined;
6732
7444
  zipCode?: string | null | undefined;
7445
+ } | {
7446
+ firstname: string;
7447
+ surname: string;
7448
+ middlename?: string | null | undefined;
6733
7449
  } | {
6734
7450
  country: string;
6735
7451
  district: string;
@@ -6752,12 +7468,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6752
7468
  option: string;
6753
7469
  filename: string;
6754
7470
  originalFilename: string;
6755
- }[] | undefined> | undefined;
6756
- originalActionId?: string | undefined;
7471
+ }[] | [string, string] | null | undefined> | undefined;
7472
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6757
7473
  keepAssignment?: boolean | undefined;
6758
7474
  }, {
6759
- eventId: string;
6760
7475
  transactionId: string;
7476
+ eventId: string;
6761
7477
  duplicates: string[];
6762
7478
  type?: "VALIDATE" | undefined;
6763
7479
  declaration?: Record<string, string | number | boolean | {
@@ -6775,6 +7491,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6775
7491
  residentialArea?: string | null | undefined;
6776
7492
  street?: string | null | undefined;
6777
7493
  zipCode?: string | null | undefined;
7494
+ } | {
7495
+ firstname: string;
7496
+ surname: string;
7497
+ middlename?: string | null | undefined;
6778
7498
  } | {
6779
7499
  country: string;
6780
7500
  district: string;
@@ -6797,7 +7517,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6797
7517
  option: string;
6798
7518
  filename: string;
6799
7519
  originalFilename: string;
6800
- }[] | undefined> | undefined;
7520
+ }[] | [string, string] | null | undefined> | undefined;
6801
7521
  annotation?: Record<string, string | number | boolean | {
6802
7522
  type: string;
6803
7523
  filename: string;
@@ -6813,6 +7533,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6813
7533
  residentialArea?: string | null | undefined;
6814
7534
  street?: string | null | undefined;
6815
7535
  zipCode?: string | null | undefined;
7536
+ } | {
7537
+ firstname: string;
7538
+ surname: string;
7539
+ middlename?: string | null | undefined;
6816
7540
  } | {
6817
7541
  country: string;
6818
7542
  district: string;
@@ -6835,13 +7559,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6835
7559
  option: string;
6836
7560
  filename: string;
6837
7561
  originalFilename: string;
6838
- }[] | undefined> | undefined;
7562
+ }[] | [string, string] | null | undefined> | undefined;
6839
7563
  originalActionId?: string | undefined;
6840
7564
  keepAssignment?: boolean | undefined;
6841
7565
  }>, z.ZodObject<z.objectUtil.extendShape<{
6842
- eventId: z.ZodString;
7566
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6843
7567
  transactionId: z.ZodString;
6844
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7568
+ declaration: z.ZodDefault<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<{
6845
7569
  filename: z.ZodString;
6846
7570
  originalFilename: z.ZodString;
6847
7571
  type: z.ZodString;
@@ -6954,8 +7678,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6954
7678
  addressLine2?: string | null | undefined;
6955
7679
  addressLine3?: string | null | undefined;
6956
7680
  postcodeOrZip?: string | null | undefined;
6957
- }>]>>>;
6958
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7681
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7682
+ firstname: z.ZodString;
7683
+ surname: z.ZodString;
7684
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7685
+ }, "strip", z.ZodTypeAny, {
7686
+ firstname: string;
7687
+ surname: string;
7688
+ middlename?: string | null | undefined;
7689
+ }, {
7690
+ firstname: string;
7691
+ surname: string;
7692
+ middlename?: string | null | undefined;
7693
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7694
+ 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<{
6959
7695
  filename: z.ZodString;
6960
7696
  originalFilename: z.ZodString;
6961
7697
  type: z.ZodString;
@@ -7068,14 +7804,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7068
7804
  addressLine2?: string | null | undefined;
7069
7805
  addressLine3?: string | null | undefined;
7070
7806
  postcodeOrZip?: string | null | undefined;
7071
- }>]>>>;
7072
- originalActionId: z.ZodOptional<z.ZodString>;
7807
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
7808
+ firstname: z.ZodString;
7809
+ surname: z.ZodString;
7810
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7811
+ }, "strip", z.ZodTypeAny, {
7812
+ firstname: string;
7813
+ surname: string;
7814
+ middlename?: string | null | undefined;
7815
+ }, {
7816
+ firstname: string;
7817
+ surname: string;
7818
+ middlename?: string | null | undefined;
7819
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
7820
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7073
7821
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7074
7822
  }, {
7075
7823
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
7076
7824
  registrationNumber: z.ZodOptional<z.ZodString>;
7077
- }>, "strip", z.ZodTypeAny, {
7825
+ }>, "strict", z.ZodTypeAny, {
7078
7826
  type: "REGISTER";
7827
+ transactionId: string;
7079
7828
  declaration: Record<string, string | number | boolean | {
7080
7829
  type: string;
7081
7830
  filename: string;
@@ -7091,6 +7840,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7091
7840
  residentialArea?: string | null | undefined;
7092
7841
  street?: string | null | undefined;
7093
7842
  zipCode?: string | null | undefined;
7843
+ } | {
7844
+ firstname: string;
7845
+ surname: string;
7846
+ middlename?: string | null | undefined;
7094
7847
  } | {
7095
7848
  country: string;
7096
7849
  district: string;
@@ -7113,9 +7866,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7113
7866
  option: string;
7114
7867
  filename: string;
7115
7868
  originalFilename: string;
7116
- }[] | undefined>;
7117
- eventId: string;
7118
- transactionId: string;
7869
+ }[] | [string, string] | null | undefined>;
7870
+ eventId: string & z.BRAND<"UUID">;
7119
7871
  annotation?: Record<string, string | number | boolean | {
7120
7872
  type: string;
7121
7873
  filename: string;
@@ -7131,6 +7883,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7131
7883
  residentialArea?: string | null | undefined;
7132
7884
  street?: string | null | undefined;
7133
7885
  zipCode?: string | null | undefined;
7886
+ } | {
7887
+ firstname: string;
7888
+ surname: string;
7889
+ middlename?: string | null | undefined;
7134
7890
  } | {
7135
7891
  country: string;
7136
7892
  district: string;
@@ -7153,13 +7909,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7153
7909
  option: string;
7154
7910
  filename: string;
7155
7911
  originalFilename: string;
7156
- }[] | undefined> | undefined;
7157
- originalActionId?: string | undefined;
7912
+ }[] | [string, string] | null | undefined> | undefined;
7913
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7158
7914
  registrationNumber?: string | undefined;
7159
7915
  keepAssignment?: boolean | undefined;
7160
7916
  }, {
7161
- eventId: string;
7162
7917
  transactionId: string;
7918
+ eventId: string;
7163
7919
  type?: "REGISTER" | undefined;
7164
7920
  declaration?: Record<string, string | number | boolean | {
7165
7921
  type: string;
@@ -7176,6 +7932,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7176
7932
  residentialArea?: string | null | undefined;
7177
7933
  street?: string | null | undefined;
7178
7934
  zipCode?: string | null | undefined;
7935
+ } | {
7936
+ firstname: string;
7937
+ surname: string;
7938
+ middlename?: string | null | undefined;
7179
7939
  } | {
7180
7940
  country: string;
7181
7941
  district: string;
@@ -7198,7 +7958,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7198
7958
  option: string;
7199
7959
  filename: string;
7200
7960
  originalFilename: string;
7201
- }[] | undefined> | undefined;
7961
+ }[] | [string, string] | null | undefined> | undefined;
7202
7962
  annotation?: Record<string, string | number | boolean | {
7203
7963
  type: string;
7204
7964
  filename: string;
@@ -7214,6 +7974,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7214
7974
  residentialArea?: string | null | undefined;
7215
7975
  street?: string | null | undefined;
7216
7976
  zipCode?: string | null | undefined;
7977
+ } | {
7978
+ firstname: string;
7979
+ surname: string;
7980
+ middlename?: string | null | undefined;
7217
7981
  } | {
7218
7982
  country: string;
7219
7983
  district: string;
@@ -7236,14 +8000,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7236
8000
  option: string;
7237
8001
  filename: string;
7238
8002
  originalFilename: string;
7239
- }[] | undefined> | undefined;
8003
+ }[] | [string, string] | null | undefined> | undefined;
7240
8004
  originalActionId?: string | undefined;
7241
8005
  registrationNumber?: string | undefined;
7242
8006
  keepAssignment?: boolean | undefined;
7243
8007
  }>, z.ZodObject<z.objectUtil.extendShape<{
7244
- eventId: z.ZodString;
8008
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7245
8009
  transactionId: z.ZodString;
7246
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8010
+ declaration: z.ZodDefault<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<{
7247
8011
  filename: z.ZodString;
7248
8012
  originalFilename: z.ZodString;
7249
8013
  type: z.ZodString;
@@ -7356,8 +8120,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7356
8120
  addressLine2?: string | null | undefined;
7357
8121
  addressLine3?: string | null | undefined;
7358
8122
  postcodeOrZip?: string | null | undefined;
7359
- }>]>>>;
7360
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8123
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8124
+ firstname: z.ZodString;
8125
+ surname: z.ZodString;
8126
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8127
+ }, "strip", z.ZodTypeAny, {
8128
+ firstname: string;
8129
+ surname: string;
8130
+ middlename?: string | null | undefined;
8131
+ }, {
8132
+ firstname: string;
8133
+ surname: string;
8134
+ middlename?: string | null | undefined;
8135
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8136
+ 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<{
7361
8137
  filename: z.ZodString;
7362
8138
  originalFilename: z.ZodString;
7363
8139
  type: z.ZodString;
@@ -7470,13 +8246,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7470
8246
  addressLine2?: string | null | undefined;
7471
8247
  addressLine3?: string | null | undefined;
7472
8248
  postcodeOrZip?: string | null | undefined;
7473
- }>]>>>;
7474
- originalActionId: z.ZodOptional<z.ZodString>;
8249
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8250
+ firstname: z.ZodString;
8251
+ surname: z.ZodString;
8252
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8253
+ }, "strip", z.ZodTypeAny, {
8254
+ firstname: string;
8255
+ surname: string;
8256
+ middlename?: string | null | undefined;
8257
+ }, {
8258
+ firstname: string;
8259
+ surname: string;
8260
+ middlename?: string | null | undefined;
8261
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8262
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7475
8263
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7476
8264
  }, {
7477
8265
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7478
8266
  }>, "strip", z.ZodTypeAny, {
7479
8267
  type: "NOTIFY";
8268
+ transactionId: string;
7480
8269
  declaration: Record<string, string | number | boolean | {
7481
8270
  type: string;
7482
8271
  filename: string;
@@ -7492,6 +8281,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7492
8281
  residentialArea?: string | null | undefined;
7493
8282
  street?: string | null | undefined;
7494
8283
  zipCode?: string | null | undefined;
8284
+ } | {
8285
+ firstname: string;
8286
+ surname: string;
8287
+ middlename?: string | null | undefined;
7495
8288
  } | {
7496
8289
  country: string;
7497
8290
  district: string;
@@ -7514,9 +8307,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7514
8307
  option: string;
7515
8308
  filename: string;
7516
8309
  originalFilename: string;
7517
- }[] | undefined>;
7518
- eventId: string;
7519
- transactionId: string;
8310
+ }[] | [string, string] | null | undefined>;
8311
+ eventId: string & z.BRAND<"UUID">;
7520
8312
  annotation?: Record<string, string | number | boolean | {
7521
8313
  type: string;
7522
8314
  filename: string;
@@ -7532,6 +8324,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7532
8324
  residentialArea?: string | null | undefined;
7533
8325
  street?: string | null | undefined;
7534
8326
  zipCode?: string | null | undefined;
8327
+ } | {
8328
+ firstname: string;
8329
+ surname: string;
8330
+ middlename?: string | null | undefined;
7535
8331
  } | {
7536
8332
  country: string;
7537
8333
  district: string;
@@ -7554,12 +8350,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7554
8350
  option: string;
7555
8351
  filename: string;
7556
8352
  originalFilename: string;
7557
- }[] | undefined> | undefined;
7558
- originalActionId?: string | undefined;
8353
+ }[] | [string, string] | null | undefined> | undefined;
8354
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7559
8355
  keepAssignment?: boolean | undefined;
7560
8356
  }, {
7561
- eventId: string;
7562
8357
  transactionId: string;
8358
+ eventId: string;
7563
8359
  type?: "NOTIFY" | undefined;
7564
8360
  declaration?: Record<string, string | number | boolean | {
7565
8361
  type: string;
@@ -7576,6 +8372,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7576
8372
  residentialArea?: string | null | undefined;
7577
8373
  street?: string | null | undefined;
7578
8374
  zipCode?: string | null | undefined;
8375
+ } | {
8376
+ firstname: string;
8377
+ surname: string;
8378
+ middlename?: string | null | undefined;
7579
8379
  } | {
7580
8380
  country: string;
7581
8381
  district: string;
@@ -7598,7 +8398,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7598
8398
  option: string;
7599
8399
  filename: string;
7600
8400
  originalFilename: string;
7601
- }[] | undefined> | undefined;
8401
+ }[] | [string, string] | null | undefined> | undefined;
7602
8402
  annotation?: Record<string, string | number | boolean | {
7603
8403
  type: string;
7604
8404
  filename: string;
@@ -7614,6 +8414,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7614
8414
  residentialArea?: string | null | undefined;
7615
8415
  street?: string | null | undefined;
7616
8416
  zipCode?: string | null | undefined;
8417
+ } | {
8418
+ firstname: string;
8419
+ surname: string;
8420
+ middlename?: string | null | undefined;
7617
8421
  } | {
7618
8422
  country: string;
7619
8423
  district: string;
@@ -7636,13 +8440,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7636
8440
  option: string;
7637
8441
  filename: string;
7638
8442
  originalFilename: string;
7639
- }[] | undefined> | undefined;
8443
+ }[] | [string, string] | null | undefined> | undefined;
7640
8444
  originalActionId?: string | undefined;
7641
8445
  keepAssignment?: boolean | undefined;
7642
8446
  }>, z.ZodObject<z.objectUtil.extendShape<{
7643
- eventId: z.ZodString;
8447
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7644
8448
  transactionId: z.ZodString;
7645
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8449
+ declaration: z.ZodDefault<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<{
7646
8450
  filename: z.ZodString;
7647
8451
  originalFilename: z.ZodString;
7648
8452
  type: z.ZodString;
@@ -7755,8 +8559,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7755
8559
  addressLine2?: string | null | undefined;
7756
8560
  addressLine3?: string | null | undefined;
7757
8561
  postcodeOrZip?: string | null | undefined;
7758
- }>]>>>;
7759
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8562
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8563
+ firstname: z.ZodString;
8564
+ surname: z.ZodString;
8565
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8566
+ }, "strip", z.ZodTypeAny, {
8567
+ firstname: string;
8568
+ surname: string;
8569
+ middlename?: string | null | undefined;
8570
+ }, {
8571
+ firstname: string;
8572
+ surname: string;
8573
+ middlename?: string | null | undefined;
8574
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8575
+ 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<{
7760
8576
  filename: z.ZodString;
7761
8577
  originalFilename: z.ZodString;
7762
8578
  type: z.ZodString;
@@ -7869,13 +8685,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7869
8685
  addressLine2?: string | null | undefined;
7870
8686
  addressLine3?: string | null | undefined;
7871
8687
  postcodeOrZip?: string | null | undefined;
7872
- }>]>>>;
7873
- originalActionId: z.ZodOptional<z.ZodString>;
8688
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
8689
+ firstname: z.ZodString;
8690
+ surname: z.ZodString;
8691
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8692
+ }, "strip", z.ZodTypeAny, {
8693
+ firstname: string;
8694
+ surname: string;
8695
+ middlename?: string | null | undefined;
8696
+ }, {
8697
+ firstname: string;
8698
+ surname: string;
8699
+ middlename?: string | null | undefined;
8700
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
8701
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
7874
8702
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
7875
8703
  }, {
7876
8704
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7877
8705
  }>, "strip", z.ZodTypeAny, {
7878
8706
  type: "DECLARE";
8707
+ transactionId: string;
7879
8708
  declaration: Record<string, string | number | boolean | {
7880
8709
  type: string;
7881
8710
  filename: string;
@@ -7891,6 +8720,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7891
8720
  residentialArea?: string | null | undefined;
7892
8721
  street?: string | null | undefined;
7893
8722
  zipCode?: string | null | undefined;
8723
+ } | {
8724
+ firstname: string;
8725
+ surname: string;
8726
+ middlename?: string | null | undefined;
7894
8727
  } | {
7895
8728
  country: string;
7896
8729
  district: string;
@@ -7913,9 +8746,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7913
8746
  option: string;
7914
8747
  filename: string;
7915
8748
  originalFilename: string;
7916
- }[] | undefined>;
7917
- eventId: string;
7918
- transactionId: string;
8749
+ }[] | [string, string] | null | undefined>;
8750
+ eventId: string & z.BRAND<"UUID">;
7919
8751
  annotation?: Record<string, string | number | boolean | {
7920
8752
  type: string;
7921
8753
  filename: string;
@@ -7931,6 +8763,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7931
8763
  residentialArea?: string | null | undefined;
7932
8764
  street?: string | null | undefined;
7933
8765
  zipCode?: string | null | undefined;
8766
+ } | {
8767
+ firstname: string;
8768
+ surname: string;
8769
+ middlename?: string | null | undefined;
7934
8770
  } | {
7935
8771
  country: string;
7936
8772
  district: string;
@@ -7953,12 +8789,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7953
8789
  option: string;
7954
8790
  filename: string;
7955
8791
  originalFilename: string;
7956
- }[] | undefined> | undefined;
7957
- originalActionId?: string | undefined;
8792
+ }[] | [string, string] | null | undefined> | undefined;
8793
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7958
8794
  keepAssignment?: boolean | undefined;
7959
8795
  }, {
7960
- eventId: string;
7961
8796
  transactionId: string;
8797
+ eventId: string;
7962
8798
  type?: "DECLARE" | undefined;
7963
8799
  declaration?: Record<string, string | number | boolean | {
7964
8800
  type: string;
@@ -7975,6 +8811,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7975
8811
  residentialArea?: string | null | undefined;
7976
8812
  street?: string | null | undefined;
7977
8813
  zipCode?: string | null | undefined;
8814
+ } | {
8815
+ firstname: string;
8816
+ surname: string;
8817
+ middlename?: string | null | undefined;
7978
8818
  } | {
7979
8819
  country: string;
7980
8820
  district: string;
@@ -7997,7 +8837,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7997
8837
  option: string;
7998
8838
  filename: string;
7999
8839
  originalFilename: string;
8000
- }[] | undefined> | undefined;
8840
+ }[] | [string, string] | null | undefined> | undefined;
8001
8841
  annotation?: Record<string, string | number | boolean | {
8002
8842
  type: string;
8003
8843
  filename: string;
@@ -8013,6 +8853,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8013
8853
  residentialArea?: string | null | undefined;
8014
8854
  street?: string | null | undefined;
8015
8855
  zipCode?: string | null | undefined;
8856
+ } | {
8857
+ firstname: string;
8858
+ surname: string;
8859
+ middlename?: string | null | undefined;
8016
8860
  } | {
8017
8861
  country: string;
8018
8862
  district: string;
@@ -8035,13 +8879,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8035
8879
  option: string;
8036
8880
  filename: string;
8037
8881
  originalFilename: string;
8038
- }[] | undefined> | undefined;
8882
+ }[] | [string, string] | null | undefined> | undefined;
8039
8883
  originalActionId?: string | undefined;
8040
8884
  keepAssignment?: boolean | undefined;
8041
8885
  }>, z.ZodObject<z.objectUtil.extendShape<{
8042
- eventId: z.ZodString;
8886
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8043
8887
  transactionId: z.ZodString;
8044
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8888
+ declaration: z.ZodDefault<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<{
8045
8889
  filename: z.ZodString;
8046
8890
  originalFilename: z.ZodString;
8047
8891
  type: z.ZodString;
@@ -8154,8 +8998,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8154
8998
  addressLine2?: string | null | undefined;
8155
8999
  addressLine3?: string | null | undefined;
8156
9000
  postcodeOrZip?: string | null | undefined;
8157
- }>]>>>;
8158
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9001
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9002
+ firstname: z.ZodString;
9003
+ surname: z.ZodString;
9004
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9005
+ }, "strip", z.ZodTypeAny, {
9006
+ firstname: string;
9007
+ surname: string;
9008
+ middlename?: string | null | undefined;
9009
+ }, {
9010
+ firstname: string;
9011
+ surname: string;
9012
+ middlename?: string | null | undefined;
9013
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9014
+ 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<{
8159
9015
  filename: z.ZodString;
8160
9016
  originalFilename: z.ZodString;
8161
9017
  type: z.ZodString;
@@ -8268,13 +9124,40 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8268
9124
  addressLine2?: string | null | undefined;
8269
9125
  addressLine3?: string | null | undefined;
8270
9126
  postcodeOrZip?: string | null | undefined;
8271
- }>]>>>;
8272
- originalActionId: z.ZodOptional<z.ZodString>;
9127
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9128
+ firstname: z.ZodString;
9129
+ surname: z.ZodString;
9130
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9131
+ }, "strip", z.ZodTypeAny, {
9132
+ firstname: string;
9133
+ surname: string;
9134
+ middlename?: string | null | undefined;
9135
+ }, {
9136
+ firstname: string;
9137
+ surname: string;
9138
+ middlename?: string | null | undefined;
9139
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9140
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8273
9141
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8274
9142
  }, {
8275
9143
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
9144
+ reason: z.ZodObject<{
9145
+ message: z.ZodString;
9146
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9147
+ }, "strip", z.ZodTypeAny, {
9148
+ message: string;
9149
+ isDuplicate?: boolean | undefined;
9150
+ }, {
9151
+ message: string;
9152
+ isDuplicate?: boolean | undefined;
9153
+ }>;
8276
9154
  }>, "strip", z.ZodTypeAny, {
8277
9155
  type: "REJECT";
9156
+ reason: {
9157
+ message: string;
9158
+ isDuplicate?: boolean | undefined;
9159
+ };
9160
+ transactionId: string;
8278
9161
  declaration: Record<string, string | number | boolean | {
8279
9162
  type: string;
8280
9163
  filename: string;
@@ -8290,6 +9173,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8290
9173
  residentialArea?: string | null | undefined;
8291
9174
  street?: string | null | undefined;
8292
9175
  zipCode?: string | null | undefined;
9176
+ } | {
9177
+ firstname: string;
9178
+ surname: string;
9179
+ middlename?: string | null | undefined;
8293
9180
  } | {
8294
9181
  country: string;
8295
9182
  district: string;
@@ -8312,9 +9199,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8312
9199
  option: string;
8313
9200
  filename: string;
8314
9201
  originalFilename: string;
8315
- }[] | undefined>;
8316
- eventId: string;
8317
- transactionId: string;
9202
+ }[] | [string, string] | null | undefined>;
9203
+ eventId: string & z.BRAND<"UUID">;
8318
9204
  annotation?: Record<string, string | number | boolean | {
8319
9205
  type: string;
8320
9206
  filename: string;
@@ -8330,6 +9216,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8330
9216
  residentialArea?: string | null | undefined;
8331
9217
  street?: string | null | undefined;
8332
9218
  zipCode?: string | null | undefined;
9219
+ } | {
9220
+ firstname: string;
9221
+ surname: string;
9222
+ middlename?: string | null | undefined;
8333
9223
  } | {
8334
9224
  country: string;
8335
9225
  district: string;
@@ -8352,12 +9242,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8352
9242
  option: string;
8353
9243
  filename: string;
8354
9244
  originalFilename: string;
8355
- }[] | undefined> | undefined;
8356
- originalActionId?: string | undefined;
9245
+ }[] | [string, string] | null | undefined> | undefined;
9246
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8357
9247
  keepAssignment?: boolean | undefined;
8358
9248
  }, {
8359
- eventId: string;
9249
+ reason: {
9250
+ message: string;
9251
+ isDuplicate?: boolean | undefined;
9252
+ };
8360
9253
  transactionId: string;
9254
+ eventId: string;
8361
9255
  type?: "REJECT" | undefined;
8362
9256
  declaration?: Record<string, string | number | boolean | {
8363
9257
  type: string;
@@ -8374,6 +9268,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8374
9268
  residentialArea?: string | null | undefined;
8375
9269
  street?: string | null | undefined;
8376
9270
  zipCode?: string | null | undefined;
9271
+ } | {
9272
+ firstname: string;
9273
+ surname: string;
9274
+ middlename?: string | null | undefined;
8377
9275
  } | {
8378
9276
  country: string;
8379
9277
  district: string;
@@ -8396,7 +9294,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8396
9294
  option: string;
8397
9295
  filename: string;
8398
9296
  originalFilename: string;
8399
- }[] | undefined> | undefined;
9297
+ }[] | [string, string] | null | undefined> | undefined;
8400
9298
  annotation?: Record<string, string | number | boolean | {
8401
9299
  type: string;
8402
9300
  filename: string;
@@ -8412,6 +9310,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8412
9310
  residentialArea?: string | null | undefined;
8413
9311
  street?: string | null | undefined;
8414
9312
  zipCode?: string | null | undefined;
9313
+ } | {
9314
+ firstname: string;
9315
+ surname: string;
9316
+ middlename?: string | null | undefined;
8415
9317
  } | {
8416
9318
  country: string;
8417
9319
  district: string;
@@ -8434,13 +9336,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8434
9336
  option: string;
8435
9337
  filename: string;
8436
9338
  originalFilename: string;
8437
- }[] | undefined> | undefined;
9339
+ }[] | [string, string] | null | undefined> | undefined;
8438
9340
  originalActionId?: string | undefined;
8439
9341
  keepAssignment?: boolean | undefined;
8440
9342
  }>, z.ZodObject<z.objectUtil.extendShape<{
8441
- eventId: z.ZodString;
9343
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8442
9344
  transactionId: z.ZodString;
8443
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9345
+ declaration: z.ZodDefault<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<{
8444
9346
  filename: z.ZodString;
8445
9347
  originalFilename: z.ZodString;
8446
9348
  type: z.ZodString;
@@ -8553,8 +9455,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8553
9455
  addressLine2?: string | null | undefined;
8554
9456
  addressLine3?: string | null | undefined;
8555
9457
  postcodeOrZip?: string | null | undefined;
8556
- }>]>>>;
8557
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9458
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9459
+ firstname: z.ZodString;
9460
+ surname: z.ZodString;
9461
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9462
+ }, "strip", z.ZodTypeAny, {
9463
+ firstname: string;
9464
+ surname: string;
9465
+ middlename?: string | null | undefined;
9466
+ }, {
9467
+ firstname: string;
9468
+ surname: string;
9469
+ middlename?: string | null | undefined;
9470
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9471
+ 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<{
8558
9472
  filename: z.ZodString;
8559
9473
  originalFilename: z.ZodString;
8560
9474
  type: z.ZodString;
@@ -8667,13 +9581,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8667
9581
  addressLine2?: string | null | undefined;
8668
9582
  addressLine3?: string | null | undefined;
8669
9583
  postcodeOrZip?: string | null | undefined;
8670
- }>]>>>;
8671
- originalActionId: z.ZodOptional<z.ZodString>;
9584
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9585
+ firstname: z.ZodString;
9586
+ surname: z.ZodString;
9587
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9588
+ }, "strip", z.ZodTypeAny, {
9589
+ firstname: string;
9590
+ surname: string;
9591
+ middlename?: string | null | undefined;
9592
+ }, {
9593
+ firstname: string;
9594
+ surname: string;
9595
+ middlename?: string | null | undefined;
9596
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9597
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8672
9598
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8673
9599
  }, {
8674
9600
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8675
9601
  }>, "strip", z.ZodTypeAny, {
8676
9602
  type: "MARKED_AS_DUPLICATE";
9603
+ transactionId: string;
8677
9604
  declaration: Record<string, string | number | boolean | {
8678
9605
  type: string;
8679
9606
  filename: string;
@@ -8689,6 +9616,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8689
9616
  residentialArea?: string | null | undefined;
8690
9617
  street?: string | null | undefined;
8691
9618
  zipCode?: string | null | undefined;
9619
+ } | {
9620
+ firstname: string;
9621
+ surname: string;
9622
+ middlename?: string | null | undefined;
8692
9623
  } | {
8693
9624
  country: string;
8694
9625
  district: string;
@@ -8711,9 +9642,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8711
9642
  option: string;
8712
9643
  filename: string;
8713
9644
  originalFilename: string;
8714
- }[] | undefined>;
8715
- eventId: string;
8716
- transactionId: string;
9645
+ }[] | [string, string] | null | undefined>;
9646
+ eventId: string & z.BRAND<"UUID">;
8717
9647
  annotation?: Record<string, string | number | boolean | {
8718
9648
  type: string;
8719
9649
  filename: string;
@@ -8729,6 +9659,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8729
9659
  residentialArea?: string | null | undefined;
8730
9660
  street?: string | null | undefined;
8731
9661
  zipCode?: string | null | undefined;
9662
+ } | {
9663
+ firstname: string;
9664
+ surname: string;
9665
+ middlename?: string | null | undefined;
8732
9666
  } | {
8733
9667
  country: string;
8734
9668
  district: string;
@@ -8751,12 +9685,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8751
9685
  option: string;
8752
9686
  filename: string;
8753
9687
  originalFilename: string;
8754
- }[] | undefined> | undefined;
8755
- originalActionId?: string | undefined;
9688
+ }[] | [string, string] | null | undefined> | undefined;
9689
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8756
9690
  keepAssignment?: boolean | undefined;
8757
9691
  }, {
8758
- eventId: string;
8759
9692
  transactionId: string;
9693
+ eventId: string;
8760
9694
  type?: "MARKED_AS_DUPLICATE" | undefined;
8761
9695
  declaration?: Record<string, string | number | boolean | {
8762
9696
  type: string;
@@ -8773,6 +9707,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8773
9707
  residentialArea?: string | null | undefined;
8774
9708
  street?: string | null | undefined;
8775
9709
  zipCode?: string | null | undefined;
9710
+ } | {
9711
+ firstname: string;
9712
+ surname: string;
9713
+ middlename?: string | null | undefined;
8776
9714
  } | {
8777
9715
  country: string;
8778
9716
  district: string;
@@ -8795,7 +9733,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8795
9733
  option: string;
8796
9734
  filename: string;
8797
9735
  originalFilename: string;
8798
- }[] | undefined> | undefined;
9736
+ }[] | [string, string] | null | undefined> | undefined;
8799
9737
  annotation?: Record<string, string | number | boolean | {
8800
9738
  type: string;
8801
9739
  filename: string;
@@ -8811,6 +9749,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8811
9749
  residentialArea?: string | null | undefined;
8812
9750
  street?: string | null | undefined;
8813
9751
  zipCode?: string | null | undefined;
9752
+ } | {
9753
+ firstname: string;
9754
+ surname: string;
9755
+ middlename?: string | null | undefined;
8814
9756
  } | {
8815
9757
  country: string;
8816
9758
  district: string;
@@ -8833,13 +9775,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8833
9775
  option: string;
8834
9776
  filename: string;
8835
9777
  originalFilename: string;
8836
- }[] | undefined> | undefined;
9778
+ }[] | [string, string] | null | undefined> | undefined;
8837
9779
  originalActionId?: string | undefined;
8838
9780
  keepAssignment?: boolean | undefined;
8839
9781
  }>, z.ZodObject<z.objectUtil.extendShape<{
8840
- eventId: z.ZodString;
9782
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8841
9783
  transactionId: z.ZodString;
8842
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9784
+ declaration: z.ZodDefault<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<{
8843
9785
  filename: z.ZodString;
8844
9786
  originalFilename: z.ZodString;
8845
9787
  type: z.ZodString;
@@ -8952,8 +9894,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8952
9894
  addressLine2?: string | null | undefined;
8953
9895
  addressLine3?: string | null | undefined;
8954
9896
  postcodeOrZip?: string | null | undefined;
8955
- }>]>>>;
8956
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9897
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9898
+ firstname: z.ZodString;
9899
+ surname: z.ZodString;
9900
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9901
+ }, "strip", z.ZodTypeAny, {
9902
+ firstname: string;
9903
+ surname: string;
9904
+ middlename?: string | null | undefined;
9905
+ }, {
9906
+ firstname: string;
9907
+ surname: string;
9908
+ middlename?: string | null | undefined;
9909
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
9910
+ 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<{
8957
9911
  filename: z.ZodString;
8958
9912
  originalFilename: z.ZodString;
8959
9913
  type: z.ZodString;
@@ -9066,13 +10020,40 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9066
10020
  addressLine2?: string | null | undefined;
9067
10021
  addressLine3?: string | null | undefined;
9068
10022
  postcodeOrZip?: string | null | undefined;
9069
- }>]>>>;
9070
- originalActionId: z.ZodOptional<z.ZodString>;
10023
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10024
+ firstname: z.ZodString;
10025
+ surname: z.ZodString;
10026
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10027
+ }, "strip", z.ZodTypeAny, {
10028
+ firstname: string;
10029
+ surname: string;
10030
+ middlename?: string | null | undefined;
10031
+ }, {
10032
+ firstname: string;
10033
+ surname: string;
10034
+ middlename?: string | null | undefined;
10035
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10036
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9071
10037
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9072
10038
  }, {
9073
10039
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
10040
+ reason: z.ZodObject<{
10041
+ message: z.ZodString;
10042
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
10043
+ }, "strip", z.ZodTypeAny, {
10044
+ message: string;
10045
+ isDuplicate?: boolean | undefined;
10046
+ }, {
10047
+ message: string;
10048
+ isDuplicate?: boolean | undefined;
10049
+ }>;
9074
10050
  }>, "strip", z.ZodTypeAny, {
9075
10051
  type: "ARCHIVE";
10052
+ reason: {
10053
+ message: string;
10054
+ isDuplicate?: boolean | undefined;
10055
+ };
10056
+ transactionId: string;
9076
10057
  declaration: Record<string, string | number | boolean | {
9077
10058
  type: string;
9078
10059
  filename: string;
@@ -9088,6 +10069,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9088
10069
  residentialArea?: string | null | undefined;
9089
10070
  street?: string | null | undefined;
9090
10071
  zipCode?: string | null | undefined;
10072
+ } | {
10073
+ firstname: string;
10074
+ surname: string;
10075
+ middlename?: string | null | undefined;
9091
10076
  } | {
9092
10077
  country: string;
9093
10078
  district: string;
@@ -9110,9 +10095,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9110
10095
  option: string;
9111
10096
  filename: string;
9112
10097
  originalFilename: string;
9113
- }[] | undefined>;
9114
- eventId: string;
9115
- transactionId: string;
10098
+ }[] | [string, string] | null | undefined>;
10099
+ eventId: string & z.BRAND<"UUID">;
9116
10100
  annotation?: Record<string, string | number | boolean | {
9117
10101
  type: string;
9118
10102
  filename: string;
@@ -9128,6 +10112,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9128
10112
  residentialArea?: string | null | undefined;
9129
10113
  street?: string | null | undefined;
9130
10114
  zipCode?: string | null | undefined;
10115
+ } | {
10116
+ firstname: string;
10117
+ surname: string;
10118
+ middlename?: string | null | undefined;
9131
10119
  } | {
9132
10120
  country: string;
9133
10121
  district: string;
@@ -9150,12 +10138,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9150
10138
  option: string;
9151
10139
  filename: string;
9152
10140
  originalFilename: string;
9153
- }[] | undefined> | undefined;
9154
- originalActionId?: string | undefined;
10141
+ }[] | [string, string] | null | undefined> | undefined;
10142
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9155
10143
  keepAssignment?: boolean | undefined;
9156
10144
  }, {
9157
- eventId: string;
10145
+ reason: {
10146
+ message: string;
10147
+ isDuplicate?: boolean | undefined;
10148
+ };
9158
10149
  transactionId: string;
10150
+ eventId: string;
9159
10151
  type?: "ARCHIVE" | undefined;
9160
10152
  declaration?: Record<string, string | number | boolean | {
9161
10153
  type: string;
@@ -9172,6 +10164,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9172
10164
  residentialArea?: string | null | undefined;
9173
10165
  street?: string | null | undefined;
9174
10166
  zipCode?: string | null | undefined;
10167
+ } | {
10168
+ firstname: string;
10169
+ surname: string;
10170
+ middlename?: string | null | undefined;
9175
10171
  } | {
9176
10172
  country: string;
9177
10173
  district: string;
@@ -9194,7 +10190,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9194
10190
  option: string;
9195
10191
  filename: string;
9196
10192
  originalFilename: string;
9197
- }[] | undefined> | undefined;
10193
+ }[] | [string, string] | null | undefined> | undefined;
9198
10194
  annotation?: Record<string, string | number | boolean | {
9199
10195
  type: string;
9200
10196
  filename: string;
@@ -9210,6 +10206,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9210
10206
  residentialArea?: string | null | undefined;
9211
10207
  street?: string | null | undefined;
9212
10208
  zipCode?: string | null | undefined;
10209
+ } | {
10210
+ firstname: string;
10211
+ surname: string;
10212
+ middlename?: string | null | undefined;
9213
10213
  } | {
9214
10214
  country: string;
9215
10215
  district: string;
@@ -9232,13 +10232,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9232
10232
  option: string;
9233
10233
  filename: string;
9234
10234
  originalFilename: string;
9235
- }[] | undefined> | undefined;
10235
+ }[] | [string, string] | null | undefined> | undefined;
9236
10236
  originalActionId?: string | undefined;
9237
10237
  keepAssignment?: boolean | undefined;
9238
10238
  }>, z.ZodObject<z.objectUtil.extendShape<{
9239
- eventId: z.ZodString;
10239
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9240
10240
  transactionId: z.ZodString;
9241
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10241
+ declaration: z.ZodDefault<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<{
9242
10242
  filename: z.ZodString;
9243
10243
  originalFilename: z.ZodString;
9244
10244
  type: z.ZodString;
@@ -9351,8 +10351,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9351
10351
  addressLine2?: string | null | undefined;
9352
10352
  addressLine3?: string | null | undefined;
9353
10353
  postcodeOrZip?: string | null | undefined;
9354
- }>]>>>;
9355
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10354
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10355
+ firstname: z.ZodString;
10356
+ surname: z.ZodString;
10357
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10358
+ }, "strip", z.ZodTypeAny, {
10359
+ firstname: string;
10360
+ surname: string;
10361
+ middlename?: string | null | undefined;
10362
+ }, {
10363
+ firstname: string;
10364
+ surname: string;
10365
+ middlename?: string | null | undefined;
10366
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10367
+ 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<{
9356
10368
  filename: z.ZodString;
9357
10369
  originalFilename: z.ZodString;
9358
10370
  type: z.ZodString;
@@ -9465,14 +10477,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9465
10477
  addressLine2?: string | null | undefined;
9466
10478
  addressLine3?: string | null | undefined;
9467
10479
  postcodeOrZip?: string | null | undefined;
9468
- }>]>>>;
9469
- originalActionId: z.ZodOptional<z.ZodString>;
10480
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10481
+ firstname: z.ZodString;
10482
+ surname: z.ZodString;
10483
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10484
+ }, "strip", z.ZodTypeAny, {
10485
+ firstname: string;
10486
+ surname: string;
10487
+ middlename?: string | null | undefined;
10488
+ }, {
10489
+ firstname: string;
10490
+ surname: string;
10491
+ middlename?: string | null | undefined;
10492
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10493
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9470
10494
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9471
10495
  }, {
9472
10496
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
9473
10497
  assignedTo: z.ZodString;
9474
10498
  }>, "strip", z.ZodTypeAny, {
9475
10499
  type: "ASSIGN";
10500
+ transactionId: string;
9476
10501
  declaration: Record<string, string | number | boolean | {
9477
10502
  type: string;
9478
10503
  filename: string;
@@ -9488,6 +10513,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9488
10513
  residentialArea?: string | null | undefined;
9489
10514
  street?: string | null | undefined;
9490
10515
  zipCode?: string | null | undefined;
10516
+ } | {
10517
+ firstname: string;
10518
+ surname: string;
10519
+ middlename?: string | null | undefined;
9491
10520
  } | {
9492
10521
  country: string;
9493
10522
  district: string;
@@ -9510,10 +10539,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9510
10539
  option: string;
9511
10540
  filename: string;
9512
10541
  originalFilename: string;
9513
- }[] | undefined>;
10542
+ }[] | [string, string] | null | undefined>;
9514
10543
  assignedTo: string;
9515
- eventId: string;
9516
- transactionId: string;
10544
+ eventId: string & z.BRAND<"UUID">;
9517
10545
  annotation?: Record<string, string | number | boolean | {
9518
10546
  type: string;
9519
10547
  filename: string;
@@ -9529,6 +10557,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9529
10557
  residentialArea?: string | null | undefined;
9530
10558
  street?: string | null | undefined;
9531
10559
  zipCode?: string | null | undefined;
10560
+ } | {
10561
+ firstname: string;
10562
+ surname: string;
10563
+ middlename?: string | null | undefined;
9532
10564
  } | {
9533
10565
  country: string;
9534
10566
  district: string;
@@ -9551,13 +10583,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9551
10583
  option: string;
9552
10584
  filename: string;
9553
10585
  originalFilename: string;
9554
- }[] | undefined> | undefined;
9555
- originalActionId?: string | undefined;
10586
+ }[] | [string, string] | null | undefined> | undefined;
10587
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9556
10588
  keepAssignment?: boolean | undefined;
9557
10589
  }, {
10590
+ transactionId: string;
9558
10591
  assignedTo: string;
9559
10592
  eventId: string;
9560
- transactionId: string;
9561
10593
  type?: "ASSIGN" | undefined;
9562
10594
  declaration?: Record<string, string | number | boolean | {
9563
10595
  type: string;
@@ -9574,6 +10606,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9574
10606
  residentialArea?: string | null | undefined;
9575
10607
  street?: string | null | undefined;
9576
10608
  zipCode?: string | null | undefined;
10609
+ } | {
10610
+ firstname: string;
10611
+ surname: string;
10612
+ middlename?: string | null | undefined;
9577
10613
  } | {
9578
10614
  country: string;
9579
10615
  district: string;
@@ -9596,7 +10632,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9596
10632
  option: string;
9597
10633
  filename: string;
9598
10634
  originalFilename: string;
9599
- }[] | undefined> | undefined;
10635
+ }[] | [string, string] | null | undefined> | undefined;
9600
10636
  annotation?: Record<string, string | number | boolean | {
9601
10637
  type: string;
9602
10638
  filename: string;
@@ -9612,6 +10648,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9612
10648
  residentialArea?: string | null | undefined;
9613
10649
  street?: string | null | undefined;
9614
10650
  zipCode?: string | null | undefined;
10651
+ } | {
10652
+ firstname: string;
10653
+ surname: string;
10654
+ middlename?: string | null | undefined;
9615
10655
  } | {
9616
10656
  country: string;
9617
10657
  district: string;
@@ -9634,13 +10674,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9634
10674
  option: string;
9635
10675
  filename: string;
9636
10676
  originalFilename: string;
9637
- }[] | undefined> | undefined;
10677
+ }[] | [string, string] | null | undefined> | undefined;
9638
10678
  originalActionId?: string | undefined;
9639
10679
  keepAssignment?: boolean | undefined;
9640
10680
  }>, z.ZodObject<z.objectUtil.extendShape<{
9641
- eventId: z.ZodString;
10681
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9642
10682
  transactionId: z.ZodString;
9643
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10683
+ declaration: z.ZodDefault<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<{
9644
10684
  filename: z.ZodString;
9645
10685
  originalFilename: z.ZodString;
9646
10686
  type: z.ZodString;
@@ -9753,8 +10793,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9753
10793
  addressLine2?: string | null | undefined;
9754
10794
  addressLine3?: string | null | undefined;
9755
10795
  postcodeOrZip?: string | null | undefined;
9756
- }>]>>>;
9757
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10796
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10797
+ firstname: z.ZodString;
10798
+ surname: z.ZodString;
10799
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10800
+ }, "strip", z.ZodTypeAny, {
10801
+ firstname: string;
10802
+ surname: string;
10803
+ middlename?: string | null | undefined;
10804
+ }, {
10805
+ firstname: string;
10806
+ surname: string;
10807
+ middlename?: string | null | undefined;
10808
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10809
+ 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<{
9758
10810
  filename: z.ZodString;
9759
10811
  originalFilename: z.ZodString;
9760
10812
  type: z.ZodString;
@@ -9867,14 +10919,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9867
10919
  addressLine2?: string | null | undefined;
9868
10920
  addressLine3?: string | null | undefined;
9869
10921
  postcodeOrZip?: string | null | undefined;
9870
- }>]>>>;
9871
- originalActionId: z.ZodOptional<z.ZodString>;
10922
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
10923
+ firstname: z.ZodString;
10924
+ surname: z.ZodString;
10925
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10926
+ }, "strip", z.ZodTypeAny, {
10927
+ firstname: string;
10928
+ surname: string;
10929
+ middlename?: string | null | undefined;
10930
+ }, {
10931
+ firstname: string;
10932
+ surname: string;
10933
+ middlename?: string | null | undefined;
10934
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
10935
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
9872
10936
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9873
10937
  }, {
9874
10938
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9875
10939
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9876
10940
  }>, "strip", z.ZodTypeAny, {
9877
10941
  type: "UNASSIGN";
10942
+ transactionId: string;
9878
10943
  declaration: Record<string, string | number | boolean | {
9879
10944
  type: string;
9880
10945
  filename: string;
@@ -9890,6 +10955,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9890
10955
  residentialArea?: string | null | undefined;
9891
10956
  street?: string | null | undefined;
9892
10957
  zipCode?: string | null | undefined;
10958
+ } | {
10959
+ firstname: string;
10960
+ surname: string;
10961
+ middlename?: string | null | undefined;
9893
10962
  } | {
9894
10963
  country: string;
9895
10964
  district: string;
@@ -9912,10 +10981,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9912
10981
  option: string;
9913
10982
  filename: string;
9914
10983
  originalFilename: string;
9915
- }[] | undefined>;
10984
+ }[] | [string, string] | null | undefined>;
9916
10985
  assignedTo: null;
9917
- eventId: string;
9918
- transactionId: string;
10986
+ eventId: string & z.BRAND<"UUID">;
9919
10987
  annotation?: Record<string, string | number | boolean | {
9920
10988
  type: string;
9921
10989
  filename: string;
@@ -9931,6 +10999,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9931
10999
  residentialArea?: string | null | undefined;
9932
11000
  street?: string | null | undefined;
9933
11001
  zipCode?: string | null | undefined;
11002
+ } | {
11003
+ firstname: string;
11004
+ surname: string;
11005
+ middlename?: string | null | undefined;
9934
11006
  } | {
9935
11007
  country: string;
9936
11008
  district: string;
@@ -9953,12 +11025,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9953
11025
  option: string;
9954
11026
  filename: string;
9955
11027
  originalFilename: string;
9956
- }[] | undefined> | undefined;
9957
- originalActionId?: string | undefined;
11028
+ }[] | [string, string] | null | undefined> | undefined;
11029
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9958
11030
  keepAssignment?: boolean | undefined;
9959
11031
  }, {
9960
- eventId: string;
9961
11032
  transactionId: string;
11033
+ eventId: string;
9962
11034
  type?: "UNASSIGN" | undefined;
9963
11035
  declaration?: Record<string, string | number | boolean | {
9964
11036
  type: string;
@@ -9975,6 +11047,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9975
11047
  residentialArea?: string | null | undefined;
9976
11048
  street?: string | null | undefined;
9977
11049
  zipCode?: string | null | undefined;
11050
+ } | {
11051
+ firstname: string;
11052
+ surname: string;
11053
+ middlename?: string | null | undefined;
9978
11054
  } | {
9979
11055
  country: string;
9980
11056
  district: string;
@@ -9997,7 +11073,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9997
11073
  option: string;
9998
11074
  filename: string;
9999
11075
  originalFilename: string;
10000
- }[] | undefined> | undefined;
11076
+ }[] | [string, string] | null | undefined> | undefined;
10001
11077
  annotation?: Record<string, string | number | boolean | {
10002
11078
  type: string;
10003
11079
  filename: string;
@@ -10013,6 +11089,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10013
11089
  residentialArea?: string | null | undefined;
10014
11090
  street?: string | null | undefined;
10015
11091
  zipCode?: string | null | undefined;
11092
+ } | {
11093
+ firstname: string;
11094
+ surname: string;
11095
+ middlename?: string | null | undefined;
10016
11096
  } | {
10017
11097
  country: string;
10018
11098
  district: string;
@@ -10035,14 +11115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10035
11115
  option: string;
10036
11116
  filename: string;
10037
11117
  originalFilename: string;
10038
- }[] | undefined> | undefined;
11118
+ }[] | [string, string] | null | undefined> | undefined;
10039
11119
  originalActionId?: string | undefined;
10040
11120
  assignedTo?: null | undefined;
10041
11121
  keepAssignment?: boolean | undefined;
10042
11122
  }>, z.ZodObject<z.objectUtil.extendShape<{
10043
- eventId: z.ZodString;
11123
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10044
11124
  transactionId: z.ZodString;
10045
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11125
+ declaration: z.ZodDefault<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<{
10046
11126
  filename: z.ZodString;
10047
11127
  originalFilename: z.ZodString;
10048
11128
  type: z.ZodString;
@@ -10155,8 +11235,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10155
11235
  addressLine2?: string | null | undefined;
10156
11236
  addressLine3?: string | null | undefined;
10157
11237
  postcodeOrZip?: string | null | undefined;
10158
- }>]>>>;
10159
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11238
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11239
+ firstname: z.ZodString;
11240
+ surname: z.ZodString;
11241
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11242
+ }, "strip", z.ZodTypeAny, {
11243
+ firstname: string;
11244
+ surname: string;
11245
+ middlename?: string | null | undefined;
11246
+ }, {
11247
+ firstname: string;
11248
+ surname: string;
11249
+ middlename?: string | null | undefined;
11250
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11251
+ 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<{
10160
11252
  filename: z.ZodString;
10161
11253
  originalFilename: z.ZodString;
10162
11254
  type: z.ZodString;
@@ -10269,13 +11361,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10269
11361
  addressLine2?: string | null | undefined;
10270
11362
  addressLine3?: string | null | undefined;
10271
11363
  postcodeOrZip?: string | null | undefined;
10272
- }>]>>>;
10273
- originalActionId: z.ZodOptional<z.ZodString>;
11364
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11365
+ firstname: z.ZodString;
11366
+ surname: z.ZodString;
11367
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11368
+ }, "strip", z.ZodTypeAny, {
11369
+ firstname: string;
11370
+ surname: string;
11371
+ middlename?: string | null | undefined;
11372
+ }, {
11373
+ firstname: string;
11374
+ surname: string;
11375
+ middlename?: string | null | undefined;
11376
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11377
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10274
11378
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10275
11379
  }, {
10276
11380
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10277
11381
  }>, "strip", z.ZodTypeAny, {
10278
11382
  type: "PRINT_CERTIFICATE";
11383
+ transactionId: string;
10279
11384
  declaration: Record<string, string | number | boolean | {
10280
11385
  type: string;
10281
11386
  filename: string;
@@ -10291,6 +11396,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10291
11396
  residentialArea?: string | null | undefined;
10292
11397
  street?: string | null | undefined;
10293
11398
  zipCode?: string | null | undefined;
11399
+ } | {
11400
+ firstname: string;
11401
+ surname: string;
11402
+ middlename?: string | null | undefined;
10294
11403
  } | {
10295
11404
  country: string;
10296
11405
  district: string;
@@ -10313,9 +11422,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10313
11422
  option: string;
10314
11423
  filename: string;
10315
11424
  originalFilename: string;
10316
- }[] | undefined>;
10317
- eventId: string;
10318
- transactionId: string;
11425
+ }[] | [string, string] | null | undefined>;
11426
+ eventId: string & z.BRAND<"UUID">;
10319
11427
  annotation?: Record<string, string | number | boolean | {
10320
11428
  type: string;
10321
11429
  filename: string;
@@ -10331,6 +11439,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10331
11439
  residentialArea?: string | null | undefined;
10332
11440
  street?: string | null | undefined;
10333
11441
  zipCode?: string | null | undefined;
11442
+ } | {
11443
+ firstname: string;
11444
+ surname: string;
11445
+ middlename?: string | null | undefined;
10334
11446
  } | {
10335
11447
  country: string;
10336
11448
  district: string;
@@ -10353,12 +11465,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10353
11465
  option: string;
10354
11466
  filename: string;
10355
11467
  originalFilename: string;
10356
- }[] | undefined> | undefined;
10357
- originalActionId?: string | undefined;
11468
+ }[] | [string, string] | null | undefined> | undefined;
11469
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10358
11470
  keepAssignment?: boolean | undefined;
10359
11471
  }, {
10360
- eventId: string;
10361
11472
  transactionId: string;
11473
+ eventId: string;
10362
11474
  type?: "PRINT_CERTIFICATE" | undefined;
10363
11475
  declaration?: Record<string, string | number | boolean | {
10364
11476
  type: string;
@@ -10375,6 +11487,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10375
11487
  residentialArea?: string | null | undefined;
10376
11488
  street?: string | null | undefined;
10377
11489
  zipCode?: string | null | undefined;
11490
+ } | {
11491
+ firstname: string;
11492
+ surname: string;
11493
+ middlename?: string | null | undefined;
10378
11494
  } | {
10379
11495
  country: string;
10380
11496
  district: string;
@@ -10397,7 +11513,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10397
11513
  option: string;
10398
11514
  filename: string;
10399
11515
  originalFilename: string;
10400
- }[] | undefined> | undefined;
11516
+ }[] | [string, string] | null | undefined> | undefined;
10401
11517
  annotation?: Record<string, string | number | boolean | {
10402
11518
  type: string;
10403
11519
  filename: string;
@@ -10413,6 +11529,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10413
11529
  residentialArea?: string | null | undefined;
10414
11530
  street?: string | null | undefined;
10415
11531
  zipCode?: string | null | undefined;
11532
+ } | {
11533
+ firstname: string;
11534
+ surname: string;
11535
+ middlename?: string | null | undefined;
10416
11536
  } | {
10417
11537
  country: string;
10418
11538
  district: string;
@@ -10435,13 +11555,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10435
11555
  option: string;
10436
11556
  filename: string;
10437
11557
  originalFilename: string;
10438
- }[] | undefined> | undefined;
11558
+ }[] | [string, string] | null | undefined> | undefined;
10439
11559
  originalActionId?: string | undefined;
10440
11560
  keepAssignment?: boolean | undefined;
10441
11561
  }>, z.ZodObject<z.objectUtil.extendShape<{
10442
- eventId: z.ZodString;
11562
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10443
11563
  transactionId: z.ZodString;
10444
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11564
+ declaration: z.ZodDefault<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<{
10445
11565
  filename: z.ZodString;
10446
11566
  originalFilename: z.ZodString;
10447
11567
  type: z.ZodString;
@@ -10554,8 +11674,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10554
11674
  addressLine2?: string | null | undefined;
10555
11675
  addressLine3?: string | null | undefined;
10556
11676
  postcodeOrZip?: string | null | undefined;
10557
- }>]>>>;
10558
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11677
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11678
+ firstname: z.ZodString;
11679
+ surname: z.ZodString;
11680
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11681
+ }, "strip", z.ZodTypeAny, {
11682
+ firstname: string;
11683
+ surname: string;
11684
+ middlename?: string | null | undefined;
11685
+ }, {
11686
+ firstname: string;
11687
+ surname: string;
11688
+ middlename?: string | null | undefined;
11689
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11690
+ 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<{
10559
11691
  filename: z.ZodString;
10560
11692
  originalFilename: z.ZodString;
10561
11693
  type: z.ZodString;
@@ -10668,13 +11800,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10668
11800
  addressLine2?: string | null | undefined;
10669
11801
  addressLine3?: string | null | undefined;
10670
11802
  postcodeOrZip?: string | null | undefined;
10671
- }>]>>>;
10672
- originalActionId: z.ZodOptional<z.ZodString>;
11803
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
11804
+ firstname: z.ZodString;
11805
+ surname: z.ZodString;
11806
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11807
+ }, "strip", z.ZodTypeAny, {
11808
+ firstname: string;
11809
+ surname: string;
11810
+ middlename?: string | null | undefined;
11811
+ }, {
11812
+ firstname: string;
11813
+ surname: string;
11814
+ middlename?: string | null | undefined;
11815
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
11816
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
10673
11817
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
10674
11818
  }, {
10675
11819
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10676
11820
  }>, "strip", z.ZodTypeAny, {
10677
11821
  type: "REQUEST_CORRECTION";
11822
+ transactionId: string;
10678
11823
  declaration: Record<string, string | number | boolean | {
10679
11824
  type: string;
10680
11825
  filename: string;
@@ -10690,6 +11835,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10690
11835
  residentialArea?: string | null | undefined;
10691
11836
  street?: string | null | undefined;
10692
11837
  zipCode?: string | null | undefined;
11838
+ } | {
11839
+ firstname: string;
11840
+ surname: string;
11841
+ middlename?: string | null | undefined;
10693
11842
  } | {
10694
11843
  country: string;
10695
11844
  district: string;
@@ -10712,9 +11861,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10712
11861
  option: string;
10713
11862
  filename: string;
10714
11863
  originalFilename: string;
10715
- }[] | undefined>;
10716
- eventId: string;
10717
- transactionId: string;
11864
+ }[] | [string, string] | null | undefined>;
11865
+ eventId: string & z.BRAND<"UUID">;
10718
11866
  annotation?: Record<string, string | number | boolean | {
10719
11867
  type: string;
10720
11868
  filename: string;
@@ -10730,6 +11878,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10730
11878
  residentialArea?: string | null | undefined;
10731
11879
  street?: string | null | undefined;
10732
11880
  zipCode?: string | null | undefined;
11881
+ } | {
11882
+ firstname: string;
11883
+ surname: string;
11884
+ middlename?: string | null | undefined;
10733
11885
  } | {
10734
11886
  country: string;
10735
11887
  district: string;
@@ -10752,12 +11904,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10752
11904
  option: string;
10753
11905
  filename: string;
10754
11906
  originalFilename: string;
10755
- }[] | undefined> | undefined;
10756
- originalActionId?: string | undefined;
11907
+ }[] | [string, string] | null | undefined> | undefined;
11908
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10757
11909
  keepAssignment?: boolean | undefined;
10758
11910
  }, {
10759
- eventId: string;
10760
11911
  transactionId: string;
11912
+ eventId: string;
10761
11913
  type?: "REQUEST_CORRECTION" | undefined;
10762
11914
  declaration?: Record<string, string | number | boolean | {
10763
11915
  type: string;
@@ -10774,6 +11926,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10774
11926
  residentialArea?: string | null | undefined;
10775
11927
  street?: string | null | undefined;
10776
11928
  zipCode?: string | null | undefined;
11929
+ } | {
11930
+ firstname: string;
11931
+ surname: string;
11932
+ middlename?: string | null | undefined;
10777
11933
  } | {
10778
11934
  country: string;
10779
11935
  district: string;
@@ -10796,7 +11952,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10796
11952
  option: string;
10797
11953
  filename: string;
10798
11954
  originalFilename: string;
10799
- }[] | undefined> | undefined;
11955
+ }[] | [string, string] | null | undefined> | undefined;
10800
11956
  annotation?: Record<string, string | number | boolean | {
10801
11957
  type: string;
10802
11958
  filename: string;
@@ -10812,6 +11968,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10812
11968
  residentialArea?: string | null | undefined;
10813
11969
  street?: string | null | undefined;
10814
11970
  zipCode?: string | null | undefined;
11971
+ } | {
11972
+ firstname: string;
11973
+ surname: string;
11974
+ middlename?: string | null | undefined;
10815
11975
  } | {
10816
11976
  country: string;
10817
11977
  district: string;
@@ -10834,13 +11994,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10834
11994
  option: string;
10835
11995
  filename: string;
10836
11996
  originalFilename: string;
10837
- }[] | undefined> | undefined;
11997
+ }[] | [string, string] | null | undefined> | undefined;
10838
11998
  originalActionId?: string | undefined;
10839
11999
  keepAssignment?: boolean | undefined;
10840
12000
  }>, z.ZodObject<z.objectUtil.extendShape<{
10841
- eventId: z.ZodString;
12001
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10842
12002
  transactionId: z.ZodString;
10843
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12003
+ declaration: z.ZodDefault<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<{
10844
12004
  filename: z.ZodString;
10845
12005
  originalFilename: z.ZodString;
10846
12006
  type: z.ZodString;
@@ -10953,8 +12113,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10953
12113
  addressLine2?: string | null | undefined;
10954
12114
  addressLine3?: string | null | undefined;
10955
12115
  postcodeOrZip?: string | null | undefined;
10956
- }>]>>>;
10957
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12116
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12117
+ firstname: z.ZodString;
12118
+ surname: z.ZodString;
12119
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12120
+ }, "strip", z.ZodTypeAny, {
12121
+ firstname: string;
12122
+ surname: string;
12123
+ middlename?: string | null | undefined;
12124
+ }, {
12125
+ firstname: string;
12126
+ surname: string;
12127
+ middlename?: string | null | undefined;
12128
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12129
+ 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<{
10958
12130
  filename: z.ZodString;
10959
12131
  originalFilename: z.ZodString;
10960
12132
  type: z.ZodString;
@@ -11067,14 +12239,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11067
12239
  addressLine2?: string | null | undefined;
11068
12240
  addressLine3?: string | null | undefined;
11069
12241
  postcodeOrZip?: string | null | undefined;
11070
- }>]>>>;
11071
- originalActionId: z.ZodOptional<z.ZodString>;
12242
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12243
+ firstname: z.ZodString;
12244
+ surname: z.ZodString;
12245
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12246
+ }, "strip", z.ZodTypeAny, {
12247
+ firstname: string;
12248
+ surname: string;
12249
+ middlename?: string | null | undefined;
12250
+ }, {
12251
+ firstname: string;
12252
+ surname: string;
12253
+ middlename?: string | null | undefined;
12254
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12255
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11072
12256
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11073
12257
  }, {
11074
12258
  requestId: z.ZodString;
11075
12259
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
11076
12260
  }>, "strip", z.ZodTypeAny, {
11077
12261
  type: "REJECT_CORRECTION";
12262
+ transactionId: string;
11078
12263
  declaration: Record<string, string | number | boolean | {
11079
12264
  type: string;
11080
12265
  filename: string;
@@ -11090,6 +12275,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11090
12275
  residentialArea?: string | null | undefined;
11091
12276
  street?: string | null | undefined;
11092
12277
  zipCode?: string | null | undefined;
12278
+ } | {
12279
+ firstname: string;
12280
+ surname: string;
12281
+ middlename?: string | null | undefined;
11093
12282
  } | {
11094
12283
  country: string;
11095
12284
  district: string;
@@ -11112,10 +12301,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11112
12301
  option: string;
11113
12302
  filename: string;
11114
12303
  originalFilename: string;
11115
- }[] | undefined>;
12304
+ }[] | [string, string] | null | undefined>;
11116
12305
  requestId: string;
11117
- eventId: string;
11118
- transactionId: string;
12306
+ eventId: string & z.BRAND<"UUID">;
11119
12307
  annotation?: Record<string, string | number | boolean | {
11120
12308
  type: string;
11121
12309
  filename: string;
@@ -11131,6 +12319,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11131
12319
  residentialArea?: string | null | undefined;
11132
12320
  street?: string | null | undefined;
11133
12321
  zipCode?: string | null | undefined;
12322
+ } | {
12323
+ firstname: string;
12324
+ surname: string;
12325
+ middlename?: string | null | undefined;
11134
12326
  } | {
11135
12327
  country: string;
11136
12328
  district: string;
@@ -11153,13 +12345,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11153
12345
  option: string;
11154
12346
  filename: string;
11155
12347
  originalFilename: string;
11156
- }[] | undefined> | undefined;
11157
- originalActionId?: string | undefined;
12348
+ }[] | [string, string] | null | undefined> | undefined;
12349
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11158
12350
  keepAssignment?: boolean | undefined;
11159
12351
  }, {
12352
+ transactionId: string;
11160
12353
  requestId: string;
11161
12354
  eventId: string;
11162
- transactionId: string;
11163
12355
  type?: "REJECT_CORRECTION" | undefined;
11164
12356
  declaration?: Record<string, string | number | boolean | {
11165
12357
  type: string;
@@ -11176,6 +12368,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11176
12368
  residentialArea?: string | null | undefined;
11177
12369
  street?: string | null | undefined;
11178
12370
  zipCode?: string | null | undefined;
12371
+ } | {
12372
+ firstname: string;
12373
+ surname: string;
12374
+ middlename?: string | null | undefined;
11179
12375
  } | {
11180
12376
  country: string;
11181
12377
  district: string;
@@ -11198,7 +12394,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11198
12394
  option: string;
11199
12395
  filename: string;
11200
12396
  originalFilename: string;
11201
- }[] | undefined> | undefined;
12397
+ }[] | [string, string] | null | undefined> | undefined;
11202
12398
  annotation?: Record<string, string | number | boolean | {
11203
12399
  type: string;
11204
12400
  filename: string;
@@ -11214,6 +12410,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11214
12410
  residentialArea?: string | null | undefined;
11215
12411
  street?: string | null | undefined;
11216
12412
  zipCode?: string | null | undefined;
12413
+ } | {
12414
+ firstname: string;
12415
+ surname: string;
12416
+ middlename?: string | null | undefined;
11217
12417
  } | {
11218
12418
  country: string;
11219
12419
  district: string;
@@ -11236,13 +12436,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11236
12436
  option: string;
11237
12437
  filename: string;
11238
12438
  originalFilename: string;
11239
- }[] | undefined> | undefined;
12439
+ }[] | [string, string] | null | undefined> | undefined;
11240
12440
  originalActionId?: string | undefined;
11241
12441
  keepAssignment?: boolean | undefined;
11242
12442
  }>, z.ZodObject<z.objectUtil.extendShape<{
11243
- eventId: z.ZodString;
12443
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11244
12444
  transactionId: z.ZodString;
11245
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12445
+ declaration: z.ZodDefault<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<{
11246
12446
  filename: z.ZodString;
11247
12447
  originalFilename: z.ZodString;
11248
12448
  type: z.ZodString;
@@ -11355,8 +12555,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11355
12555
  addressLine2?: string | null | undefined;
11356
12556
  addressLine3?: string | null | undefined;
11357
12557
  postcodeOrZip?: string | null | undefined;
11358
- }>]>>>;
11359
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12558
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12559
+ firstname: z.ZodString;
12560
+ surname: z.ZodString;
12561
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12562
+ }, "strip", z.ZodTypeAny, {
12563
+ firstname: string;
12564
+ surname: string;
12565
+ middlename?: string | null | undefined;
12566
+ }, {
12567
+ firstname: string;
12568
+ surname: string;
12569
+ middlename?: string | null | undefined;
12570
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12571
+ 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<{
11360
12572
  filename: z.ZodString;
11361
12573
  originalFilename: z.ZodString;
11362
12574
  type: z.ZodString;
@@ -11469,14 +12681,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11469
12681
  addressLine2?: string | null | undefined;
11470
12682
  addressLine3?: string | null | undefined;
11471
12683
  postcodeOrZip?: string | null | undefined;
11472
- }>]>>>;
11473
- originalActionId: z.ZodOptional<z.ZodString>;
12684
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
12685
+ firstname: z.ZodString;
12686
+ surname: z.ZodString;
12687
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12688
+ }, "strip", z.ZodTypeAny, {
12689
+ firstname: string;
12690
+ surname: string;
12691
+ middlename?: string | null | undefined;
12692
+ }, {
12693
+ firstname: string;
12694
+ surname: string;
12695
+ middlename?: string | null | undefined;
12696
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
12697
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11474
12698
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11475
12699
  }, {
11476
12700
  requestId: z.ZodString;
11477
12701
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11478
12702
  }>, "strip", z.ZodTypeAny, {
11479
12703
  type: "APPROVE_CORRECTION";
12704
+ transactionId: string;
11480
12705
  declaration: Record<string, string | number | boolean | {
11481
12706
  type: string;
11482
12707
  filename: string;
@@ -11492,6 +12717,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11492
12717
  residentialArea?: string | null | undefined;
11493
12718
  street?: string | null | undefined;
11494
12719
  zipCode?: string | null | undefined;
12720
+ } | {
12721
+ firstname: string;
12722
+ surname: string;
12723
+ middlename?: string | null | undefined;
11495
12724
  } | {
11496
12725
  country: string;
11497
12726
  district: string;
@@ -11514,10 +12743,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11514
12743
  option: string;
11515
12744
  filename: string;
11516
12745
  originalFilename: string;
11517
- }[] | undefined>;
12746
+ }[] | [string, string] | null | undefined>;
11518
12747
  requestId: string;
11519
- eventId: string;
11520
- transactionId: string;
12748
+ eventId: string & z.BRAND<"UUID">;
11521
12749
  annotation?: Record<string, string | number | boolean | {
11522
12750
  type: string;
11523
12751
  filename: string;
@@ -11533,6 +12761,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11533
12761
  residentialArea?: string | null | undefined;
11534
12762
  street?: string | null | undefined;
11535
12763
  zipCode?: string | null | undefined;
12764
+ } | {
12765
+ firstname: string;
12766
+ surname: string;
12767
+ middlename?: string | null | undefined;
11536
12768
  } | {
11537
12769
  country: string;
11538
12770
  district: string;
@@ -11555,13 +12787,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11555
12787
  option: string;
11556
12788
  filename: string;
11557
12789
  originalFilename: string;
11558
- }[] | undefined> | undefined;
11559
- originalActionId?: string | undefined;
12790
+ }[] | [string, string] | null | undefined> | undefined;
12791
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11560
12792
  keepAssignment?: boolean | undefined;
11561
12793
  }, {
12794
+ transactionId: string;
11562
12795
  requestId: string;
11563
12796
  eventId: string;
11564
- transactionId: string;
11565
12797
  type?: "APPROVE_CORRECTION" | undefined;
11566
12798
  declaration?: Record<string, string | number | boolean | {
11567
12799
  type: string;
@@ -11578,6 +12810,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11578
12810
  residentialArea?: string | null | undefined;
11579
12811
  street?: string | null | undefined;
11580
12812
  zipCode?: string | null | undefined;
12813
+ } | {
12814
+ firstname: string;
12815
+ surname: string;
12816
+ middlename?: string | null | undefined;
11581
12817
  } | {
11582
12818
  country: string;
11583
12819
  district: string;
@@ -11600,7 +12836,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11600
12836
  option: string;
11601
12837
  filename: string;
11602
12838
  originalFilename: string;
11603
- }[] | undefined> | undefined;
12839
+ }[] | [string, string] | null | undefined> | undefined;
11604
12840
  annotation?: Record<string, string | number | boolean | {
11605
12841
  type: string;
11606
12842
  filename: string;
@@ -11616,6 +12852,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11616
12852
  residentialArea?: string | null | undefined;
11617
12853
  street?: string | null | undefined;
11618
12854
  zipCode?: string | null | undefined;
12855
+ } | {
12856
+ firstname: string;
12857
+ surname: string;
12858
+ middlename?: string | null | undefined;
11619
12859
  } | {
11620
12860
  country: string;
11621
12861
  district: string;
@@ -11638,13 +12878,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11638
12878
  option: string;
11639
12879
  filename: string;
11640
12880
  originalFilename: string;
11641
- }[] | undefined> | undefined;
12881
+ }[] | [string, string] | null | undefined> | undefined;
11642
12882
  originalActionId?: string | undefined;
11643
12883
  keepAssignment?: boolean | undefined;
11644
12884
  }>, z.ZodObject<z.objectUtil.extendShape<{
11645
- eventId: z.ZodString;
12885
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11646
12886
  transactionId: z.ZodString;
11647
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12887
+ declaration: z.ZodDefault<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<{
11648
12888
  filename: z.ZodString;
11649
12889
  originalFilename: z.ZodString;
11650
12890
  type: z.ZodString;
@@ -11757,8 +12997,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11757
12997
  addressLine2?: string | null | undefined;
11758
12998
  addressLine3?: string | null | undefined;
11759
12999
  postcodeOrZip?: string | null | undefined;
11760
- }>]>>>;
11761
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13000
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13001
+ firstname: z.ZodString;
13002
+ surname: z.ZodString;
13003
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13004
+ }, "strip", z.ZodTypeAny, {
13005
+ firstname: string;
13006
+ surname: string;
13007
+ middlename?: string | null | undefined;
13008
+ }, {
13009
+ firstname: string;
13010
+ surname: string;
13011
+ middlename?: string | null | undefined;
13012
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13013
+ 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<{
11762
13014
  filename: z.ZodString;
11763
13015
  originalFilename: z.ZodString;
11764
13016
  type: z.ZodString;
@@ -11871,13 +13123,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11871
13123
  addressLine2?: string | null | undefined;
11872
13124
  addressLine3?: string | null | undefined;
11873
13125
  postcodeOrZip?: string | null | undefined;
11874
- }>]>>>;
11875
- originalActionId: z.ZodOptional<z.ZodString>;
13126
+ }>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
13127
+ firstname: z.ZodString;
13128
+ surname: z.ZodString;
13129
+ middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13130
+ }, "strip", z.ZodTypeAny, {
13131
+ firstname: string;
13132
+ surname: string;
13133
+ middlename?: string | null | undefined;
13134
+ }, {
13135
+ firstname: string;
13136
+ surname: string;
13137
+ middlename?: string | null | undefined;
13138
+ }>, z.ZodNull]>, z.ZodUndefined]>]>>>;
13139
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
11876
13140
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
11877
13141
  }, {
11878
13142
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11879
13143
  }>, "strip", z.ZodTypeAny, {
11880
13144
  type: "READ";
13145
+ transactionId: string;
11881
13146
  declaration: Record<string, string | number | boolean | {
11882
13147
  type: string;
11883
13148
  filename: string;
@@ -11893,6 +13158,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11893
13158
  residentialArea?: string | null | undefined;
11894
13159
  street?: string | null | undefined;
11895
13160
  zipCode?: string | null | undefined;
13161
+ } | {
13162
+ firstname: string;
13163
+ surname: string;
13164
+ middlename?: string | null | undefined;
11896
13165
  } | {
11897
13166
  country: string;
11898
13167
  district: string;
@@ -11915,9 +13184,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11915
13184
  option: string;
11916
13185
  filename: string;
11917
13186
  originalFilename: string;
11918
- }[] | undefined>;
11919
- eventId: string;
11920
- transactionId: string;
13187
+ }[] | [string, string] | null | undefined>;
13188
+ eventId: string & z.BRAND<"UUID">;
11921
13189
  annotation?: Record<string, string | number | boolean | {
11922
13190
  type: string;
11923
13191
  filename: string;
@@ -11933,6 +13201,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11933
13201
  residentialArea?: string | null | undefined;
11934
13202
  street?: string | null | undefined;
11935
13203
  zipCode?: string | null | undefined;
13204
+ } | {
13205
+ firstname: string;
13206
+ surname: string;
13207
+ middlename?: string | null | undefined;
11936
13208
  } | {
11937
13209
  country: string;
11938
13210
  district: string;
@@ -11955,12 +13227,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11955
13227
  option: string;
11956
13228
  filename: string;
11957
13229
  originalFilename: string;
11958
- }[] | undefined> | undefined;
11959
- originalActionId?: string | undefined;
13230
+ }[] | [string, string] | null | undefined> | undefined;
13231
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11960
13232
  keepAssignment?: boolean | undefined;
11961
13233
  }, {
11962
- eventId: string;
11963
13234
  transactionId: string;
13235
+ eventId: string;
11964
13236
  type?: "READ" | undefined;
11965
13237
  declaration?: Record<string, string | number | boolean | {
11966
13238
  type: string;
@@ -11977,6 +13249,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11977
13249
  residentialArea?: string | null | undefined;
11978
13250
  street?: string | null | undefined;
11979
13251
  zipCode?: string | null | undefined;
13252
+ } | {
13253
+ firstname: string;
13254
+ surname: string;
13255
+ middlename?: string | null | undefined;
11980
13256
  } | {
11981
13257
  country: string;
11982
13258
  district: string;
@@ -11999,7 +13275,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11999
13275
  option: string;
12000
13276
  filename: string;
12001
13277
  originalFilename: string;
12002
- }[] | undefined> | undefined;
13278
+ }[] | [string, string] | null | undefined> | undefined;
12003
13279
  annotation?: Record<string, string | number | boolean | {
12004
13280
  type: string;
12005
13281
  filename: string;
@@ -12015,6 +13291,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12015
13291
  residentialArea?: string | null | undefined;
12016
13292
  street?: string | null | undefined;
12017
13293
  zipCode?: string | null | undefined;
13294
+ } | {
13295
+ firstname: string;
13296
+ surname: string;
13297
+ middlename?: string | null | undefined;
12018
13298
  } | {
12019
13299
  country: string;
12020
13300
  district: string;
@@ -12037,7 +13317,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12037
13317
  option: string;
12038
13318
  filename: string;
12039
13319
  originalFilename: string;
12040
- }[] | undefined> | undefined;
13320
+ }[] | [string, string] | null | undefined> | undefined;
12041
13321
  originalActionId?: string | undefined;
12042
13322
  keepAssignment?: boolean | undefined;
12043
13323
  }>]>;