@opencrvs/toolkit 1.8.0-rc.ffbb9d7 → 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 (44) hide show
  1. package/dist/commons/api/router.d.ts +14748 -727
  2. package/dist/commons/conditionals/conditionals.d.ts +14 -6
  3. package/dist/commons/conditionals/validate.d.ts +11 -11
  4. package/dist/commons/events/ActionConfig.d.ts +117418 -1729
  5. package/dist/commons/events/ActionDocument.d.ts +2581 -554
  6. package/dist/commons/events/ActionInput.d.ts +1795 -425
  7. package/dist/commons/events/ActionType.d.ts +8 -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 +165 -43
  14. package/dist/commons/events/EventConfig.d.ts +56501 -1354
  15. package/dist/commons/events/EventDocument.d.ts +1635 -391
  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/TemplateConfig.d.ts +4 -4
  26. package/dist/commons/events/User.d.ts +31 -2
  27. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  28. package/dist/commons/events/WorkqueueConfig.d.ts +7300 -20
  29. package/dist/commons/events/defineConfig.d.ts +9001 -58
  30. package/dist/commons/events/event.d.ts +54 -0
  31. package/dist/commons/events/field.d.ts +82 -0
  32. package/dist/commons/events/index.d.ts +8 -0
  33. package/dist/commons/events/scopes.d.ts +44 -0
  34. package/dist/commons/events/serializer.d.ts +2 -0
  35. package/dist/commons/events/test.utils.d.ts +171 -79
  36. package/dist/commons/events/transactions.d.ts +1 -1
  37. package/dist/commons/events/utils.d.ts +13375 -73
  38. package/dist/commons/events/utils.test.d.ts +2 -0
  39. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  40. package/dist/conditionals/index.js +76 -36
  41. package/dist/events/index.js +4630 -1941
  42. package/dist/scopes/index.d.ts +161 -1
  43. package/dist/scopes/index.js +202 -1
  44. 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,9 +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">>;
258
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
234
259
  }, "strip", z.ZodTypeAny, {
260
+ transactionId: string;
235
261
  declaration: Record<string, string | number | boolean | {
236
262
  type: string;
237
263
  filename: string;
@@ -247,6 +273,10 @@ export declare const BaseActionInput: z.ZodObject<{
247
273
  residentialArea?: string | null | undefined;
248
274
  street?: string | null | undefined;
249
275
  zipCode?: string | null | undefined;
276
+ } | {
277
+ firstname: string;
278
+ surname: string;
279
+ middlename?: string | null | undefined;
250
280
  } | {
251
281
  country: string;
252
282
  district: string;
@@ -269,9 +299,8 @@ export declare const BaseActionInput: z.ZodObject<{
269
299
  option: string;
270
300
  filename: string;
271
301
  originalFilename: string;
272
- }[] | undefined>;
273
- eventId: string;
274
- transactionId: string;
302
+ }[] | [string, string] | null | undefined>;
303
+ eventId: string & z.BRAND<"UUID">;
275
304
  annotation?: Record<string, string | number | boolean | {
276
305
  type: string;
277
306
  filename: string;
@@ -287,6 +316,10 @@ export declare const BaseActionInput: z.ZodObject<{
287
316
  residentialArea?: string | null | undefined;
288
317
  street?: string | null | undefined;
289
318
  zipCode?: string | null | undefined;
319
+ } | {
320
+ firstname: string;
321
+ surname: string;
322
+ middlename?: string | null | undefined;
290
323
  } | {
291
324
  country: string;
292
325
  district: string;
@@ -309,11 +342,12 @@ export declare const BaseActionInput: z.ZodObject<{
309
342
  option: string;
310
343
  filename: string;
311
344
  originalFilename: string;
312
- }[] | undefined> | undefined;
313
- originalActionId?: string | undefined;
345
+ }[] | [string, string] | null | undefined> | undefined;
346
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
347
+ keepAssignment?: boolean | undefined;
314
348
  }, {
315
- eventId: string;
316
349
  transactionId: string;
350
+ eventId: string;
317
351
  declaration?: Record<string, string | number | boolean | {
318
352
  type: string;
319
353
  filename: string;
@@ -329,6 +363,10 @@ export declare const BaseActionInput: z.ZodObject<{
329
363
  residentialArea?: string | null | undefined;
330
364
  street?: string | null | undefined;
331
365
  zipCode?: string | null | undefined;
366
+ } | {
367
+ firstname: string;
368
+ surname: string;
369
+ middlename?: string | null | undefined;
332
370
  } | {
333
371
  country: string;
334
372
  district: string;
@@ -351,7 +389,7 @@ export declare const BaseActionInput: z.ZodObject<{
351
389
  option: string;
352
390
  filename: string;
353
391
  originalFilename: string;
354
- }[] | undefined> | undefined;
392
+ }[] | [string, string] | null | undefined> | undefined;
355
393
  annotation?: Record<string, string | number | boolean | {
356
394
  type: string;
357
395
  filename: string;
@@ -367,6 +405,10 @@ export declare const BaseActionInput: z.ZodObject<{
367
405
  residentialArea?: string | null | undefined;
368
406
  street?: string | null | undefined;
369
407
  zipCode?: string | null | undefined;
408
+ } | {
409
+ firstname: string;
410
+ surname: string;
411
+ middlename?: string | null | undefined;
370
412
  } | {
371
413
  country: string;
372
414
  district: string;
@@ -389,13 +431,14 @@ export declare const BaseActionInput: z.ZodObject<{
389
431
  option: string;
390
432
  filename: string;
391
433
  originalFilename: string;
392
- }[] | undefined> | undefined;
434
+ }[] | [string, string] | null | undefined> | undefined;
393
435
  originalActionId?: string | undefined;
436
+ keepAssignment?: boolean | undefined;
394
437
  }>;
395
438
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
396
- eventId: z.ZodString;
439
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
397
440
  transactionId: z.ZodString;
398
- 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<{
399
442
  filename: z.ZodString;
400
443
  originalFilename: z.ZodString;
401
444
  type: z.ZodString;
@@ -508,8 +551,20 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
508
551
  addressLine2?: string | null | undefined;
509
552
  addressLine3?: string | null | undefined;
510
553
  postcodeOrZip?: string | null | undefined;
511
- }>]>>>;
512
- 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<{
513
568
  filename: z.ZodString;
514
569
  originalFilename: z.ZodString;
515
570
  type: z.ZodString;
@@ -622,13 +677,27 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
622
677
  addressLine2?: string | null | undefined;
623
678
  addressLine3?: string | null | undefined;
624
679
  postcodeOrZip?: string | null | undefined;
625
- }>]>>>;
626
- 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">>;
694
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
627
695
  }, {
628
696
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
629
697
  registrationNumber: z.ZodOptional<z.ZodString>;
630
- }>, "strip", z.ZodTypeAny, {
698
+ }>, "strict", z.ZodTypeAny, {
631
699
  type: "REGISTER";
700
+ transactionId: string;
632
701
  declaration: Record<string, string | number | boolean | {
633
702
  type: string;
634
703
  filename: string;
@@ -644,6 +713,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
644
713
  residentialArea?: string | null | undefined;
645
714
  street?: string | null | undefined;
646
715
  zipCode?: string | null | undefined;
716
+ } | {
717
+ firstname: string;
718
+ surname: string;
719
+ middlename?: string | null | undefined;
647
720
  } | {
648
721
  country: string;
649
722
  district: string;
@@ -666,9 +739,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
666
739
  option: string;
667
740
  filename: string;
668
741
  originalFilename: string;
669
- }[] | undefined>;
670
- eventId: string;
671
- transactionId: string;
742
+ }[] | [string, string] | null | undefined>;
743
+ eventId: string & z.BRAND<"UUID">;
672
744
  annotation?: Record<string, string | number | boolean | {
673
745
  type: string;
674
746
  filename: string;
@@ -684,6 +756,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
684
756
  residentialArea?: string | null | undefined;
685
757
  street?: string | null | undefined;
686
758
  zipCode?: string | null | undefined;
759
+ } | {
760
+ firstname: string;
761
+ surname: string;
762
+ middlename?: string | null | undefined;
687
763
  } | {
688
764
  country: string;
689
765
  district: string;
@@ -706,12 +782,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
706
782
  option: string;
707
783
  filename: string;
708
784
  originalFilename: string;
709
- }[] | undefined> | undefined;
710
- originalActionId?: string | undefined;
785
+ }[] | [string, string] | null | undefined> | undefined;
786
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
711
787
  registrationNumber?: string | undefined;
788
+ keepAssignment?: boolean | undefined;
712
789
  }, {
713
- eventId: string;
714
790
  transactionId: string;
791
+ eventId: string;
715
792
  type?: "REGISTER" | undefined;
716
793
  declaration?: Record<string, string | number | boolean | {
717
794
  type: string;
@@ -728,6 +805,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
728
805
  residentialArea?: string | null | undefined;
729
806
  street?: string | null | undefined;
730
807
  zipCode?: string | null | undefined;
808
+ } | {
809
+ firstname: string;
810
+ surname: string;
811
+ middlename?: string | null | undefined;
731
812
  } | {
732
813
  country: string;
733
814
  district: string;
@@ -750,7 +831,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
750
831
  option: string;
751
832
  filename: string;
752
833
  originalFilename: string;
753
- }[] | undefined> | undefined;
834
+ }[] | [string, string] | null | undefined> | undefined;
754
835
  annotation?: Record<string, string | number | boolean | {
755
836
  type: string;
756
837
  filename: string;
@@ -766,6 +847,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
766
847
  residentialArea?: string | null | undefined;
767
848
  street?: string | null | undefined;
768
849
  zipCode?: string | null | undefined;
850
+ } | {
851
+ firstname: string;
852
+ surname: string;
853
+ middlename?: string | null | undefined;
769
854
  } | {
770
855
  country: string;
771
856
  district: string;
@@ -788,15 +873,16 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
788
873
  option: string;
789
874
  filename: string;
790
875
  originalFilename: string;
791
- }[] | undefined> | undefined;
876
+ }[] | [string, string] | null | undefined> | undefined;
792
877
  originalActionId?: string | undefined;
793
878
  registrationNumber?: string | undefined;
879
+ keepAssignment?: boolean | undefined;
794
880
  }>;
795
881
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
796
882
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
797
- eventId: z.ZodString;
883
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
798
884
  transactionId: z.ZodString;
799
- 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<{
800
886
  filename: z.ZodString;
801
887
  originalFilename: z.ZodString;
802
888
  type: z.ZodString;
@@ -909,8 +995,20 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
909
995
  addressLine2?: string | null | undefined;
910
996
  addressLine3?: string | null | undefined;
911
997
  postcodeOrZip?: string | null | undefined;
912
- }>]>>>;
913
- 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<{
914
1012
  filename: z.ZodString;
915
1013
  originalFilename: z.ZodString;
916
1014
  type: z.ZodString;
@@ -1023,13 +1121,27 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1023
1121
  addressLine2?: string | null | undefined;
1024
1122
  addressLine3?: string | null | undefined;
1025
1123
  postcodeOrZip?: string | null | undefined;
1026
- }>]>>>;
1027
- 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">>;
1138
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1028
1139
  }, {
1029
1140
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1030
1141
  duplicates: z.ZodArray<z.ZodString, "many">;
1031
1142
  }>, "strip", z.ZodTypeAny, {
1032
1143
  type: "VALIDATE";
1144
+ transactionId: string;
1033
1145
  declaration: Record<string, string | number | boolean | {
1034
1146
  type: string;
1035
1147
  filename: string;
@@ -1045,6 +1157,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1045
1157
  residentialArea?: string | null | undefined;
1046
1158
  street?: string | null | undefined;
1047
1159
  zipCode?: string | null | undefined;
1160
+ } | {
1161
+ firstname: string;
1162
+ surname: string;
1163
+ middlename?: string | null | undefined;
1048
1164
  } | {
1049
1165
  country: string;
1050
1166
  district: string;
@@ -1067,9 +1183,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1067
1183
  option: string;
1068
1184
  filename: string;
1069
1185
  originalFilename: string;
1070
- }[] | undefined>;
1071
- eventId: string;
1072
- transactionId: string;
1186
+ }[] | [string, string] | null | undefined>;
1187
+ eventId: string & z.BRAND<"UUID">;
1073
1188
  duplicates: string[];
1074
1189
  annotation?: Record<string, string | number | boolean | {
1075
1190
  type: string;
@@ -1086,6 +1201,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1086
1201
  residentialArea?: string | null | undefined;
1087
1202
  street?: string | null | undefined;
1088
1203
  zipCode?: string | null | undefined;
1204
+ } | {
1205
+ firstname: string;
1206
+ surname: string;
1207
+ middlename?: string | null | undefined;
1089
1208
  } | {
1090
1209
  country: string;
1091
1210
  district: string;
@@ -1108,11 +1227,12 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1108
1227
  option: string;
1109
1228
  filename: string;
1110
1229
  originalFilename: string;
1111
- }[] | undefined> | undefined;
1112
- originalActionId?: string | undefined;
1230
+ }[] | [string, string] | null | undefined> | undefined;
1231
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1232
+ keepAssignment?: boolean | undefined;
1113
1233
  }, {
1114
- eventId: string;
1115
1234
  transactionId: string;
1235
+ eventId: string;
1116
1236
  duplicates: string[];
1117
1237
  type?: "VALIDATE" | undefined;
1118
1238
  declaration?: Record<string, string | number | boolean | {
@@ -1130,6 +1250,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1130
1250
  residentialArea?: string | null | undefined;
1131
1251
  street?: string | null | undefined;
1132
1252
  zipCode?: string | null | undefined;
1253
+ } | {
1254
+ firstname: string;
1255
+ surname: string;
1256
+ middlename?: string | null | undefined;
1133
1257
  } | {
1134
1258
  country: string;
1135
1259
  district: string;
@@ -1152,7 +1276,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1152
1276
  option: string;
1153
1277
  filename: string;
1154
1278
  originalFilename: string;
1155
- }[] | undefined> | undefined;
1279
+ }[] | [string, string] | null | undefined> | undefined;
1156
1280
  annotation?: Record<string, string | number | boolean | {
1157
1281
  type: string;
1158
1282
  filename: string;
@@ -1168,6 +1292,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1168
1292
  residentialArea?: string | null | undefined;
1169
1293
  street?: string | null | undefined;
1170
1294
  zipCode?: string | null | undefined;
1295
+ } | {
1296
+ firstname: string;
1297
+ surname: string;
1298
+ middlename?: string | null | undefined;
1171
1299
  } | {
1172
1300
  country: string;
1173
1301
  district: string;
@@ -1190,14 +1318,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1190
1318
  option: string;
1191
1319
  filename: string;
1192
1320
  originalFilename: string;
1193
- }[] | undefined> | undefined;
1321
+ }[] | [string, string] | null | undefined> | undefined;
1194
1322
  originalActionId?: string | undefined;
1323
+ keepAssignment?: boolean | undefined;
1195
1324
  }>;
1196
1325
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1197
1326
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
- eventId: z.ZodString;
1327
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1199
1328
  transactionId: z.ZodString;
1200
- 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<{
1201
1330
  filename: z.ZodString;
1202
1331
  originalFilename: z.ZodString;
1203
1332
  type: z.ZodString;
@@ -1310,8 +1439,20 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1310
1439
  addressLine2?: string | null | undefined;
1311
1440
  addressLine3?: string | null | undefined;
1312
1441
  postcodeOrZip?: string | null | undefined;
1313
- }>]>>>;
1314
- 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<{
1315
1456
  filename: z.ZodString;
1316
1457
  originalFilename: z.ZodString;
1317
1458
  type: z.ZodString;
@@ -1424,12 +1565,26 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1424
1565
  addressLine2?: string | null | undefined;
1425
1566
  addressLine3?: string | null | undefined;
1426
1567
  postcodeOrZip?: string | null | undefined;
1427
- }>]>>>;
1428
- 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">>;
1582
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1429
1583
  }, {
1430
1584
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1431
1585
  }>, "strip", z.ZodTypeAny, {
1432
1586
  type: "NOTIFY";
1587
+ transactionId: string;
1433
1588
  declaration: Record<string, string | number | boolean | {
1434
1589
  type: string;
1435
1590
  filename: string;
@@ -1445,6 +1600,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1445
1600
  residentialArea?: string | null | undefined;
1446
1601
  street?: string | null | undefined;
1447
1602
  zipCode?: string | null | undefined;
1603
+ } | {
1604
+ firstname: string;
1605
+ surname: string;
1606
+ middlename?: string | null | undefined;
1448
1607
  } | {
1449
1608
  country: string;
1450
1609
  district: string;
@@ -1467,9 +1626,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1467
1626
  option: string;
1468
1627
  filename: string;
1469
1628
  originalFilename: string;
1470
- }[] | undefined>;
1471
- eventId: string;
1472
- transactionId: string;
1629
+ }[] | [string, string] | null | undefined>;
1630
+ eventId: string & z.BRAND<"UUID">;
1473
1631
  annotation?: Record<string, string | number | boolean | {
1474
1632
  type: string;
1475
1633
  filename: string;
@@ -1485,6 +1643,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1485
1643
  residentialArea?: string | null | undefined;
1486
1644
  street?: string | null | undefined;
1487
1645
  zipCode?: string | null | undefined;
1646
+ } | {
1647
+ firstname: string;
1648
+ surname: string;
1649
+ middlename?: string | null | undefined;
1488
1650
  } | {
1489
1651
  country: string;
1490
1652
  district: string;
@@ -1507,11 +1669,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1507
1669
  option: string;
1508
1670
  filename: string;
1509
1671
  originalFilename: string;
1510
- }[] | undefined> | undefined;
1511
- originalActionId?: string | undefined;
1672
+ }[] | [string, string] | null | undefined> | undefined;
1673
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1674
+ keepAssignment?: boolean | undefined;
1512
1675
  }, {
1513
- eventId: string;
1514
1676
  transactionId: string;
1677
+ eventId: string;
1515
1678
  type?: "NOTIFY" | undefined;
1516
1679
  declaration?: Record<string, string | number | boolean | {
1517
1680
  type: string;
@@ -1528,6 +1691,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1528
1691
  residentialArea?: string | null | undefined;
1529
1692
  street?: string | null | undefined;
1530
1693
  zipCode?: string | null | undefined;
1694
+ } | {
1695
+ firstname: string;
1696
+ surname: string;
1697
+ middlename?: string | null | undefined;
1531
1698
  } | {
1532
1699
  country: string;
1533
1700
  district: string;
@@ -1550,7 +1717,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1550
1717
  option: string;
1551
1718
  filename: string;
1552
1719
  originalFilename: string;
1553
- }[] | undefined> | undefined;
1720
+ }[] | [string, string] | null | undefined> | undefined;
1554
1721
  annotation?: Record<string, string | number | boolean | {
1555
1722
  type: string;
1556
1723
  filename: string;
@@ -1566,6 +1733,10 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1566
1733
  residentialArea?: string | null | undefined;
1567
1734
  street?: string | null | undefined;
1568
1735
  zipCode?: string | null | undefined;
1736
+ } | {
1737
+ firstname: string;
1738
+ surname: string;
1739
+ middlename?: string | null | undefined;
1569
1740
  } | {
1570
1741
  country: string;
1571
1742
  district: string;
@@ -1588,14 +1759,15 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1588
1759
  option: string;
1589
1760
  filename: string;
1590
1761
  originalFilename: string;
1591
- }[] | undefined> | undefined;
1762
+ }[] | [string, string] | null | undefined> | undefined;
1592
1763
  originalActionId?: string | undefined;
1764
+ keepAssignment?: boolean | undefined;
1593
1765
  }>;
1594
1766
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1595
1767
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1596
- eventId: z.ZodString;
1768
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1597
1769
  transactionId: z.ZodString;
1598
- 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<{
1599
1771
  filename: z.ZodString;
1600
1772
  originalFilename: z.ZodString;
1601
1773
  type: z.ZodString;
@@ -1708,8 +1880,20 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1708
1880
  addressLine2?: string | null | undefined;
1709
1881
  addressLine3?: string | null | undefined;
1710
1882
  postcodeOrZip?: string | null | undefined;
1711
- }>]>>>;
1712
- 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<{
1713
1897
  filename: z.ZodString;
1714
1898
  originalFilename: z.ZodString;
1715
1899
  type: z.ZodString;
@@ -1822,12 +2006,26 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1822
2006
  addressLine2?: string | null | undefined;
1823
2007
  addressLine3?: string | null | undefined;
1824
2008
  postcodeOrZip?: string | null | undefined;
1825
- }>]>>>;
1826
- 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">>;
2023
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1827
2024
  }, {
1828
2025
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1829
2026
  }>, "strip", z.ZodTypeAny, {
1830
2027
  type: "DECLARE";
2028
+ transactionId: string;
1831
2029
  declaration: Record<string, string | number | boolean | {
1832
2030
  type: string;
1833
2031
  filename: string;
@@ -1843,6 +2041,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1843
2041
  residentialArea?: string | null | undefined;
1844
2042
  street?: string | null | undefined;
1845
2043
  zipCode?: string | null | undefined;
2044
+ } | {
2045
+ firstname: string;
2046
+ surname: string;
2047
+ middlename?: string | null | undefined;
1846
2048
  } | {
1847
2049
  country: string;
1848
2050
  district: string;
@@ -1865,9 +2067,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1865
2067
  option: string;
1866
2068
  filename: string;
1867
2069
  originalFilename: string;
1868
- }[] | undefined>;
1869
- eventId: string;
1870
- transactionId: string;
2070
+ }[] | [string, string] | null | undefined>;
2071
+ eventId: string & z.BRAND<"UUID">;
1871
2072
  annotation?: Record<string, string | number | boolean | {
1872
2073
  type: string;
1873
2074
  filename: string;
@@ -1883,6 +2084,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1883
2084
  residentialArea?: string | null | undefined;
1884
2085
  street?: string | null | undefined;
1885
2086
  zipCode?: string | null | undefined;
2087
+ } | {
2088
+ firstname: string;
2089
+ surname: string;
2090
+ middlename?: string | null | undefined;
1886
2091
  } | {
1887
2092
  country: string;
1888
2093
  district: string;
@@ -1905,11 +2110,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1905
2110
  option: string;
1906
2111
  filename: string;
1907
2112
  originalFilename: string;
1908
- }[] | undefined> | undefined;
1909
- originalActionId?: string | undefined;
2113
+ }[] | [string, string] | null | undefined> | undefined;
2114
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2115
+ keepAssignment?: boolean | undefined;
1910
2116
  }, {
1911
- eventId: string;
1912
2117
  transactionId: string;
2118
+ eventId: string;
1913
2119
  type?: "DECLARE" | undefined;
1914
2120
  declaration?: Record<string, string | number | boolean | {
1915
2121
  type: string;
@@ -1926,6 +2132,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1926
2132
  residentialArea?: string | null | undefined;
1927
2133
  street?: string | null | undefined;
1928
2134
  zipCode?: string | null | undefined;
2135
+ } | {
2136
+ firstname: string;
2137
+ surname: string;
2138
+ middlename?: string | null | undefined;
1929
2139
  } | {
1930
2140
  country: string;
1931
2141
  district: string;
@@ -1948,7 +2158,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1948
2158
  option: string;
1949
2159
  filename: string;
1950
2160
  originalFilename: string;
1951
- }[] | undefined> | undefined;
2161
+ }[] | [string, string] | null | undefined> | undefined;
1952
2162
  annotation?: Record<string, string | number | boolean | {
1953
2163
  type: string;
1954
2164
  filename: string;
@@ -1964,6 +2174,10 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1964
2174
  residentialArea?: string | null | undefined;
1965
2175
  street?: string | null | undefined;
1966
2176
  zipCode?: string | null | undefined;
2177
+ } | {
2178
+ firstname: string;
2179
+ surname: string;
2180
+ middlename?: string | null | undefined;
1967
2181
  } | {
1968
2182
  country: string;
1969
2183
  district: string;
@@ -1986,13 +2200,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1986
2200
  option: string;
1987
2201
  filename: string;
1988
2202
  originalFilename: string;
1989
- }[] | undefined> | undefined;
2203
+ }[] | [string, string] | null | undefined> | undefined;
1990
2204
  originalActionId?: string | undefined;
2205
+ keepAssignment?: boolean | undefined;
1991
2206
  }>;
1992
2207
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
- eventId: z.ZodString;
2208
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1994
2209
  transactionId: z.ZodString;
1995
- 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<{
1996
2211
  filename: z.ZodString;
1997
2212
  originalFilename: z.ZodString;
1998
2213
  type: z.ZodString;
@@ -2105,8 +2320,20 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2320
  addressLine2?: string | null | undefined;
2106
2321
  addressLine3?: string | null | undefined;
2107
2322
  postcodeOrZip?: string | null | undefined;
2108
- }>]>>>;
2109
- 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<{
2110
2337
  filename: z.ZodString;
2111
2338
  originalFilename: z.ZodString;
2112
2339
  type: z.ZodString;
@@ -2219,12 +2446,26 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2219
2446
  addressLine2?: string | null | undefined;
2220
2447
  addressLine3?: string | null | undefined;
2221
2448
  postcodeOrZip?: string | null | undefined;
2222
- }>]>>>;
2223
- 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">>;
2463
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2224
2464
  }, {
2225
2465
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2226
2466
  }>, "strip", z.ZodTypeAny, {
2227
2467
  type: "PRINT_CERTIFICATE";
2468
+ transactionId: string;
2228
2469
  declaration: Record<string, string | number | boolean | {
2229
2470
  type: string;
2230
2471
  filename: string;
@@ -2240,6 +2481,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2240
2481
  residentialArea?: string | null | undefined;
2241
2482
  street?: string | null | undefined;
2242
2483
  zipCode?: string | null | undefined;
2484
+ } | {
2485
+ firstname: string;
2486
+ surname: string;
2487
+ middlename?: string | null | undefined;
2243
2488
  } | {
2244
2489
  country: string;
2245
2490
  district: string;
@@ -2262,9 +2507,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2262
2507
  option: string;
2263
2508
  filename: string;
2264
2509
  originalFilename: string;
2265
- }[] | undefined>;
2266
- eventId: string;
2267
- transactionId: string;
2510
+ }[] | [string, string] | null | undefined>;
2511
+ eventId: string & z.BRAND<"UUID">;
2268
2512
  annotation?: Record<string, string | number | boolean | {
2269
2513
  type: string;
2270
2514
  filename: string;
@@ -2280,6 +2524,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2280
2524
  residentialArea?: string | null | undefined;
2281
2525
  street?: string | null | undefined;
2282
2526
  zipCode?: string | null | undefined;
2527
+ } | {
2528
+ firstname: string;
2529
+ surname: string;
2530
+ middlename?: string | null | undefined;
2283
2531
  } | {
2284
2532
  country: string;
2285
2533
  district: string;
@@ -2302,11 +2550,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2302
2550
  option: string;
2303
2551
  filename: string;
2304
2552
  originalFilename: string;
2305
- }[] | undefined> | undefined;
2306
- originalActionId?: string | undefined;
2553
+ }[] | [string, string] | null | undefined> | undefined;
2554
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
2555
+ keepAssignment?: boolean | undefined;
2307
2556
  }, {
2308
- eventId: string;
2309
2557
  transactionId: string;
2558
+ eventId: string;
2310
2559
  type?: "PRINT_CERTIFICATE" | undefined;
2311
2560
  declaration?: Record<string, string | number | boolean | {
2312
2561
  type: string;
@@ -2323,6 +2572,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2323
2572
  residentialArea?: string | null | undefined;
2324
2573
  street?: string | null | undefined;
2325
2574
  zipCode?: string | null | undefined;
2575
+ } | {
2576
+ firstname: string;
2577
+ surname: string;
2578
+ middlename?: string | null | undefined;
2326
2579
  } | {
2327
2580
  country: string;
2328
2581
  district: string;
@@ -2345,7 +2598,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2345
2598
  option: string;
2346
2599
  filename: string;
2347
2600
  originalFilename: string;
2348
- }[] | undefined> | undefined;
2601
+ }[] | [string, string] | null | undefined> | undefined;
2349
2602
  annotation?: Record<string, string | number | boolean | {
2350
2603
  type: string;
2351
2604
  filename: string;
@@ -2361,6 +2614,10 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2361
2614
  residentialArea?: string | null | undefined;
2362
2615
  street?: string | null | undefined;
2363
2616
  zipCode?: string | null | undefined;
2617
+ } | {
2618
+ firstname: string;
2619
+ surname: string;
2620
+ middlename?: string | null | undefined;
2364
2621
  } | {
2365
2622
  country: string;
2366
2623
  district: string;
@@ -2383,14 +2640,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2383
2640
  option: string;
2384
2641
  filename: string;
2385
2642
  originalFilename: string;
2386
- }[] | undefined> | undefined;
2643
+ }[] | [string, string] | null | undefined> | undefined;
2387
2644
  originalActionId?: string | undefined;
2645
+ keepAssignment?: boolean | undefined;
2388
2646
  }>;
2389
2647
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2390
2648
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2391
- eventId: z.ZodString;
2649
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2392
2650
  transactionId: z.ZodString;
2393
- 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<{
2394
2652
  filename: z.ZodString;
2395
2653
  originalFilename: z.ZodString;
2396
2654
  type: z.ZodString;
@@ -2503,8 +2761,20 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2503
2761
  addressLine2?: string | null | undefined;
2504
2762
  addressLine3?: string | null | undefined;
2505
2763
  postcodeOrZip?: string | null | undefined;
2506
- }>]>>>;
2507
- 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<{
2508
2778
  filename: z.ZodString;
2509
2779
  originalFilename: z.ZodString;
2510
2780
  type: z.ZodString;
@@ -2617,12 +2887,40 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2617
2887
  addressLine2?: string | null | undefined;
2618
2888
  addressLine3?: string | null | undefined;
2619
2889
  postcodeOrZip?: string | null | undefined;
2620
- }>]>>>;
2621
- 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">>;
2904
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2622
2905
  }, {
2623
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
+ }>;
2624
2917
  }>, "strip", z.ZodTypeAny, {
2625
2918
  type: "REJECT";
2919
+ reason: {
2920
+ message: string;
2921
+ isDuplicate?: boolean | undefined;
2922
+ };
2923
+ transactionId: string;
2626
2924
  declaration: Record<string, string | number | boolean | {
2627
2925
  type: string;
2628
2926
  filename: string;
@@ -2638,6 +2936,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2638
2936
  residentialArea?: string | null | undefined;
2639
2937
  street?: string | null | undefined;
2640
2938
  zipCode?: string | null | undefined;
2939
+ } | {
2940
+ firstname: string;
2941
+ surname: string;
2942
+ middlename?: string | null | undefined;
2641
2943
  } | {
2642
2944
  country: string;
2643
2945
  district: string;
@@ -2660,9 +2962,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2660
2962
  option: string;
2661
2963
  filename: string;
2662
2964
  originalFilename: string;
2663
- }[] | undefined>;
2664
- eventId: string;
2665
- transactionId: string;
2965
+ }[] | [string, string] | null | undefined>;
2966
+ eventId: string & z.BRAND<"UUID">;
2666
2967
  annotation?: Record<string, string | number | boolean | {
2667
2968
  type: string;
2668
2969
  filename: string;
@@ -2678,6 +2979,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2678
2979
  residentialArea?: string | null | undefined;
2679
2980
  street?: string | null | undefined;
2680
2981
  zipCode?: string | null | undefined;
2982
+ } | {
2983
+ firstname: string;
2984
+ surname: string;
2985
+ middlename?: string | null | undefined;
2681
2986
  } | {
2682
2987
  country: string;
2683
2988
  district: string;
@@ -2700,11 +3005,16 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2700
3005
  option: string;
2701
3006
  filename: string;
2702
3007
  originalFilename: string;
2703
- }[] | undefined> | undefined;
2704
- originalActionId?: string | undefined;
3008
+ }[] | [string, string] | null | undefined> | undefined;
3009
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3010
+ keepAssignment?: boolean | undefined;
2705
3011
  }, {
2706
- eventId: string;
3012
+ reason: {
3013
+ message: string;
3014
+ isDuplicate?: boolean | undefined;
3015
+ };
2707
3016
  transactionId: string;
3017
+ eventId: string;
2708
3018
  type?: "REJECT" | undefined;
2709
3019
  declaration?: Record<string, string | number | boolean | {
2710
3020
  type: string;
@@ -2721,6 +3031,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2721
3031
  residentialArea?: string | null | undefined;
2722
3032
  street?: string | null | undefined;
2723
3033
  zipCode?: string | null | undefined;
3034
+ } | {
3035
+ firstname: string;
3036
+ surname: string;
3037
+ middlename?: string | null | undefined;
2724
3038
  } | {
2725
3039
  country: string;
2726
3040
  district: string;
@@ -2743,7 +3057,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2743
3057
  option: string;
2744
3058
  filename: string;
2745
3059
  originalFilename: string;
2746
- }[] | undefined> | undefined;
3060
+ }[] | [string, string] | null | undefined> | undefined;
2747
3061
  annotation?: Record<string, string | number | boolean | {
2748
3062
  type: string;
2749
3063
  filename: string;
@@ -2759,6 +3073,10 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2759
3073
  residentialArea?: string | null | undefined;
2760
3074
  street?: string | null | undefined;
2761
3075
  zipCode?: string | null | undefined;
3076
+ } | {
3077
+ firstname: string;
3078
+ surname: string;
3079
+ middlename?: string | null | undefined;
2762
3080
  } | {
2763
3081
  country: string;
2764
3082
  district: string;
@@ -2781,14 +3099,15 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2781
3099
  option: string;
2782
3100
  filename: string;
2783
3101
  originalFilename: string;
2784
- }[] | undefined> | undefined;
3102
+ }[] | [string, string] | null | undefined> | undefined;
2785
3103
  originalActionId?: string | undefined;
3104
+ keepAssignment?: boolean | undefined;
2786
3105
  }>;
2787
3106
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
3107
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2789
- eventId: z.ZodString;
3108
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
2790
3109
  transactionId: z.ZodString;
2791
- 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<{
2792
3111
  filename: z.ZodString;
2793
3112
  originalFilename: z.ZodString;
2794
3113
  type: z.ZodString;
@@ -2901,8 +3220,20 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2901
3220
  addressLine2?: string | null | undefined;
2902
3221
  addressLine3?: string | null | undefined;
2903
3222
  postcodeOrZip?: string | null | undefined;
2904
- }>]>>>;
2905
- 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<{
2906
3237
  filename: z.ZodString;
2907
3238
  originalFilename: z.ZodString;
2908
3239
  type: z.ZodString;
@@ -3015,12 +3346,26 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3015
3346
  addressLine2?: string | null | undefined;
3016
3347
  addressLine3?: string | null | undefined;
3017
3348
  postcodeOrZip?: string | null | undefined;
3018
- }>]>>>;
3019
- 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">>;
3363
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3020
3364
  }, {
3021
3365
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3022
3366
  }>, "strip", z.ZodTypeAny, {
3023
3367
  type: "MARKED_AS_DUPLICATE";
3368
+ transactionId: string;
3024
3369
  declaration: Record<string, string | number | boolean | {
3025
3370
  type: string;
3026
3371
  filename: string;
@@ -3036,6 +3381,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3036
3381
  residentialArea?: string | null | undefined;
3037
3382
  street?: string | null | undefined;
3038
3383
  zipCode?: string | null | undefined;
3384
+ } | {
3385
+ firstname: string;
3386
+ surname: string;
3387
+ middlename?: string | null | undefined;
3039
3388
  } | {
3040
3389
  country: string;
3041
3390
  district: string;
@@ -3058,9 +3407,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3058
3407
  option: string;
3059
3408
  filename: string;
3060
3409
  originalFilename: string;
3061
- }[] | undefined>;
3062
- eventId: string;
3063
- transactionId: string;
3410
+ }[] | [string, string] | null | undefined>;
3411
+ eventId: string & z.BRAND<"UUID">;
3064
3412
  annotation?: Record<string, string | number | boolean | {
3065
3413
  type: string;
3066
3414
  filename: string;
@@ -3076,6 +3424,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3076
3424
  residentialArea?: string | null | undefined;
3077
3425
  street?: string | null | undefined;
3078
3426
  zipCode?: string | null | undefined;
3427
+ } | {
3428
+ firstname: string;
3429
+ surname: string;
3430
+ middlename?: string | null | undefined;
3079
3431
  } | {
3080
3432
  country: string;
3081
3433
  district: string;
@@ -3098,11 +3450,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3098
3450
  option: string;
3099
3451
  filename: string;
3100
3452
  originalFilename: string;
3101
- }[] | undefined> | undefined;
3102
- originalActionId?: string | undefined;
3453
+ }[] | [string, string] | null | undefined> | undefined;
3454
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3455
+ keepAssignment?: boolean | undefined;
3103
3456
  }, {
3104
- eventId: string;
3105
3457
  transactionId: string;
3458
+ eventId: string;
3106
3459
  type?: "MARKED_AS_DUPLICATE" | undefined;
3107
3460
  declaration?: Record<string, string | number | boolean | {
3108
3461
  type: string;
@@ -3119,6 +3472,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3119
3472
  residentialArea?: string | null | undefined;
3120
3473
  street?: string | null | undefined;
3121
3474
  zipCode?: string | null | undefined;
3475
+ } | {
3476
+ firstname: string;
3477
+ surname: string;
3478
+ middlename?: string | null | undefined;
3122
3479
  } | {
3123
3480
  country: string;
3124
3481
  district: string;
@@ -3141,7 +3498,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3141
3498
  option: string;
3142
3499
  filename: string;
3143
3500
  originalFilename: string;
3144
- }[] | undefined> | undefined;
3501
+ }[] | [string, string] | null | undefined> | undefined;
3145
3502
  annotation?: Record<string, string | number | boolean | {
3146
3503
  type: string;
3147
3504
  filename: string;
@@ -3157,6 +3514,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3157
3514
  residentialArea?: string | null | undefined;
3158
3515
  street?: string | null | undefined;
3159
3516
  zipCode?: string | null | undefined;
3517
+ } | {
3518
+ firstname: string;
3519
+ surname: string;
3520
+ middlename?: string | null | undefined;
3160
3521
  } | {
3161
3522
  country: string;
3162
3523
  district: string;
@@ -3179,14 +3540,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3179
3540
  option: string;
3180
3541
  filename: string;
3181
3542
  originalFilename: string;
3182
- }[] | undefined> | undefined;
3543
+ }[] | [string, string] | null | undefined> | undefined;
3183
3544
  originalActionId?: string | undefined;
3545
+ keepAssignment?: boolean | undefined;
3184
3546
  }>;
3185
3547
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
3548
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3187
- eventId: z.ZodString;
3549
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3188
3550
  transactionId: z.ZodString;
3189
- 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<{
3190
3552
  filename: z.ZodString;
3191
3553
  originalFilename: z.ZodString;
3192
3554
  type: z.ZodString;
@@ -3299,8 +3661,20 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3299
3661
  addressLine2?: string | null | undefined;
3300
3662
  addressLine3?: string | null | undefined;
3301
3663
  postcodeOrZip?: string | null | undefined;
3302
- }>]>>>;
3303
- 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<{
3304
3678
  filename: z.ZodString;
3305
3679
  originalFilename: z.ZodString;
3306
3680
  type: z.ZodString;
@@ -3413,12 +3787,40 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3413
3787
  addressLine2?: string | null | undefined;
3414
3788
  addressLine3?: string | null | undefined;
3415
3789
  postcodeOrZip?: string | null | undefined;
3416
- }>]>>>;
3417
- 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">>;
3804
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3418
3805
  }, {
3419
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
+ }>;
3420
3817
  }>, "strip", z.ZodTypeAny, {
3421
3818
  type: "ARCHIVE";
3819
+ reason: {
3820
+ message: string;
3821
+ isDuplicate?: boolean | undefined;
3822
+ };
3823
+ transactionId: string;
3422
3824
  declaration: Record<string, string | number | boolean | {
3423
3825
  type: string;
3424
3826
  filename: string;
@@ -3434,6 +3836,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3434
3836
  residentialArea?: string | null | undefined;
3435
3837
  street?: string | null | undefined;
3436
3838
  zipCode?: string | null | undefined;
3839
+ } | {
3840
+ firstname: string;
3841
+ surname: string;
3842
+ middlename?: string | null | undefined;
3437
3843
  } | {
3438
3844
  country: string;
3439
3845
  district: string;
@@ -3456,9 +3862,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3456
3862
  option: string;
3457
3863
  filename: string;
3458
3864
  originalFilename: string;
3459
- }[] | undefined>;
3460
- eventId: string;
3461
- transactionId: string;
3865
+ }[] | [string, string] | null | undefined>;
3866
+ eventId: string & z.BRAND<"UUID">;
3462
3867
  annotation?: Record<string, string | number | boolean | {
3463
3868
  type: string;
3464
3869
  filename: string;
@@ -3474,6 +3879,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3474
3879
  residentialArea?: string | null | undefined;
3475
3880
  street?: string | null | undefined;
3476
3881
  zipCode?: string | null | undefined;
3882
+ } | {
3883
+ firstname: string;
3884
+ surname: string;
3885
+ middlename?: string | null | undefined;
3477
3886
  } | {
3478
3887
  country: string;
3479
3888
  district: string;
@@ -3496,11 +3905,16 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3496
3905
  option: string;
3497
3906
  filename: string;
3498
3907
  originalFilename: string;
3499
- }[] | undefined> | undefined;
3500
- originalActionId?: string | undefined;
3908
+ }[] | [string, string] | null | undefined> | undefined;
3909
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
3910
+ keepAssignment?: boolean | undefined;
3501
3911
  }, {
3502
- eventId: string;
3912
+ reason: {
3913
+ message: string;
3914
+ isDuplicate?: boolean | undefined;
3915
+ };
3503
3916
  transactionId: string;
3917
+ eventId: string;
3504
3918
  type?: "ARCHIVE" | undefined;
3505
3919
  declaration?: Record<string, string | number | boolean | {
3506
3920
  type: string;
@@ -3517,6 +3931,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3517
3931
  residentialArea?: string | null | undefined;
3518
3932
  street?: string | null | undefined;
3519
3933
  zipCode?: string | null | undefined;
3934
+ } | {
3935
+ firstname: string;
3936
+ surname: string;
3937
+ middlename?: string | null | undefined;
3520
3938
  } | {
3521
3939
  country: string;
3522
3940
  district: string;
@@ -3539,7 +3957,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3539
3957
  option: string;
3540
3958
  filename: string;
3541
3959
  originalFilename: string;
3542
- }[] | undefined> | undefined;
3960
+ }[] | [string, string] | null | undefined> | undefined;
3543
3961
  annotation?: Record<string, string | number | boolean | {
3544
3962
  type: string;
3545
3963
  filename: string;
@@ -3555,6 +3973,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3555
3973
  residentialArea?: string | null | undefined;
3556
3974
  street?: string | null | undefined;
3557
3975
  zipCode?: string | null | undefined;
3976
+ } | {
3977
+ firstname: string;
3978
+ surname: string;
3979
+ middlename?: string | null | undefined;
3558
3980
  } | {
3559
3981
  country: string;
3560
3982
  district: string;
@@ -3577,14 +3999,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3577
3999
  option: string;
3578
4000
  filename: string;
3579
4001
  originalFilename: string;
3580
- }[] | undefined> | undefined;
4002
+ }[] | [string, string] | null | undefined> | undefined;
3581
4003
  originalActionId?: string | undefined;
4004
+ keepAssignment?: boolean | undefined;
3582
4005
  }>;
3583
4006
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3584
4007
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3585
- eventId: z.ZodString;
4008
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3586
4009
  transactionId: z.ZodString;
3587
- 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<{
3588
4011
  filename: z.ZodString;
3589
4012
  originalFilename: z.ZodString;
3590
4013
  type: z.ZodString;
@@ -3697,8 +4120,20 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3697
4120
  addressLine2?: string | null | undefined;
3698
4121
  addressLine3?: string | null | undefined;
3699
4122
  postcodeOrZip?: string | null | undefined;
3700
- }>]>>>;
3701
- 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<{
3702
4137
  filename: z.ZodString;
3703
4138
  originalFilename: z.ZodString;
3704
4139
  type: z.ZodString;
@@ -3811,13 +4246,27 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3811
4246
  addressLine2?: string | null | undefined;
3812
4247
  addressLine3?: string | null | undefined;
3813
4248
  postcodeOrZip?: string | null | undefined;
3814
- }>]>>>;
3815
- 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">>;
4263
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3816
4264
  }, {
3817
4265
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3818
4266
  assignedTo: z.ZodString;
3819
4267
  }>, "strip", z.ZodTypeAny, {
3820
4268
  type: "ASSIGN";
4269
+ transactionId: string;
3821
4270
  declaration: Record<string, string | number | boolean | {
3822
4271
  type: string;
3823
4272
  filename: string;
@@ -3833,6 +4282,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3833
4282
  residentialArea?: string | null | undefined;
3834
4283
  street?: string | null | undefined;
3835
4284
  zipCode?: string | null | undefined;
4285
+ } | {
4286
+ firstname: string;
4287
+ surname: string;
4288
+ middlename?: string | null | undefined;
3836
4289
  } | {
3837
4290
  country: string;
3838
4291
  district: string;
@@ -3855,10 +4308,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3855
4308
  option: string;
3856
4309
  filename: string;
3857
4310
  originalFilename: string;
3858
- }[] | undefined>;
4311
+ }[] | [string, string] | null | undefined>;
3859
4312
  assignedTo: string;
3860
- eventId: string;
3861
- transactionId: string;
4313
+ eventId: string & z.BRAND<"UUID">;
3862
4314
  annotation?: Record<string, string | number | boolean | {
3863
4315
  type: string;
3864
4316
  filename: string;
@@ -3874,6 +4326,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3874
4326
  residentialArea?: string | null | undefined;
3875
4327
  street?: string | null | undefined;
3876
4328
  zipCode?: string | null | undefined;
4329
+ } | {
4330
+ firstname: string;
4331
+ surname: string;
4332
+ middlename?: string | null | undefined;
3877
4333
  } | {
3878
4334
  country: string;
3879
4335
  district: string;
@@ -3896,12 +4352,13 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3896
4352
  option: string;
3897
4353
  filename: string;
3898
4354
  originalFilename: string;
3899
- }[] | undefined> | undefined;
3900
- originalActionId?: string | undefined;
4355
+ }[] | [string, string] | null | undefined> | undefined;
4356
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4357
+ keepAssignment?: boolean | undefined;
3901
4358
  }, {
4359
+ transactionId: string;
3902
4360
  assignedTo: string;
3903
4361
  eventId: string;
3904
- transactionId: string;
3905
4362
  type?: "ASSIGN" | undefined;
3906
4363
  declaration?: Record<string, string | number | boolean | {
3907
4364
  type: string;
@@ -3918,6 +4375,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3918
4375
  residentialArea?: string | null | undefined;
3919
4376
  street?: string | null | undefined;
3920
4377
  zipCode?: string | null | undefined;
4378
+ } | {
4379
+ firstname: string;
4380
+ surname: string;
4381
+ middlename?: string | null | undefined;
3921
4382
  } | {
3922
4383
  country: string;
3923
4384
  district: string;
@@ -3940,7 +4401,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3940
4401
  option: string;
3941
4402
  filename: string;
3942
4403
  originalFilename: string;
3943
- }[] | undefined> | undefined;
4404
+ }[] | [string, string] | null | undefined> | undefined;
3944
4405
  annotation?: Record<string, string | number | boolean | {
3945
4406
  type: string;
3946
4407
  filename: string;
@@ -3956,6 +4417,10 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3956
4417
  residentialArea?: string | null | undefined;
3957
4418
  street?: string | null | undefined;
3958
4419
  zipCode?: string | null | undefined;
4420
+ } | {
4421
+ firstname: string;
4422
+ surname: string;
4423
+ middlename?: string | null | undefined;
3959
4424
  } | {
3960
4425
  country: string;
3961
4426
  district: string;
@@ -3978,14 +4443,15 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3978
4443
  option: string;
3979
4444
  filename: string;
3980
4445
  originalFilename: string;
3981
- }[] | undefined> | undefined;
4446
+ }[] | [string, string] | null | undefined> | undefined;
3982
4447
  originalActionId?: string | undefined;
4448
+ keepAssignment?: boolean | undefined;
3983
4449
  }>;
3984
4450
  export type AssignActionInput = z.infer<typeof AssignActionInput>;
3985
4451
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3986
- eventId: z.ZodString;
4452
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
3987
4453
  transactionId: z.ZodString;
3988
- 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<{
3989
4455
  filename: z.ZodString;
3990
4456
  originalFilename: z.ZodString;
3991
4457
  type: z.ZodString;
@@ -4098,8 +4564,20 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4098
4564
  addressLine2?: string | null | undefined;
4099
4565
  addressLine3?: string | null | undefined;
4100
4566
  postcodeOrZip?: string | null | undefined;
4101
- }>]>>>;
4102
- 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<{
4103
4581
  filename: z.ZodString;
4104
4582
  originalFilename: z.ZodString;
4105
4583
  type: z.ZodString;
@@ -4212,13 +4690,27 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4212
4690
  addressLine2?: string | null | undefined;
4213
4691
  addressLine3?: string | null | undefined;
4214
4692
  postcodeOrZip?: string | null | undefined;
4215
- }>]>>>;
4216
- 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">>;
4707
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4217
4708
  }, {
4218
4709
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4219
4710
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4220
4711
  }>, "strip", z.ZodTypeAny, {
4221
4712
  type: "UNASSIGN";
4713
+ transactionId: string;
4222
4714
  declaration: Record<string, string | number | boolean | {
4223
4715
  type: string;
4224
4716
  filename: string;
@@ -4234,6 +4726,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4234
4726
  residentialArea?: string | null | undefined;
4235
4727
  street?: string | null | undefined;
4236
4728
  zipCode?: string | null | undefined;
4729
+ } | {
4730
+ firstname: string;
4731
+ surname: string;
4732
+ middlename?: string | null | undefined;
4237
4733
  } | {
4238
4734
  country: string;
4239
4735
  district: string;
@@ -4256,10 +4752,9 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4256
4752
  option: string;
4257
4753
  filename: string;
4258
4754
  originalFilename: string;
4259
- }[] | undefined>;
4755
+ }[] | [string, string] | null | undefined>;
4260
4756
  assignedTo: null;
4261
- eventId: string;
4262
- transactionId: string;
4757
+ eventId: string & z.BRAND<"UUID">;
4263
4758
  annotation?: Record<string, string | number | boolean | {
4264
4759
  type: string;
4265
4760
  filename: string;
@@ -4275,6 +4770,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4275
4770
  residentialArea?: string | null | undefined;
4276
4771
  street?: string | null | undefined;
4277
4772
  zipCode?: string | null | undefined;
4773
+ } | {
4774
+ firstname: string;
4775
+ surname: string;
4776
+ middlename?: string | null | undefined;
4278
4777
  } | {
4279
4778
  country: string;
4280
4779
  district: string;
@@ -4297,11 +4796,12 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4297
4796
  option: string;
4298
4797
  filename: string;
4299
4798
  originalFilename: string;
4300
- }[] | undefined> | undefined;
4301
- originalActionId?: string | undefined;
4799
+ }[] | [string, string] | null | undefined> | undefined;
4800
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
4801
+ keepAssignment?: boolean | undefined;
4302
4802
  }, {
4303
- eventId: string;
4304
4803
  transactionId: string;
4804
+ eventId: string;
4305
4805
  type?: "UNASSIGN" | undefined;
4306
4806
  declaration?: Record<string, string | number | boolean | {
4307
4807
  type: string;
@@ -4318,6 +4818,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4318
4818
  residentialArea?: string | null | undefined;
4319
4819
  street?: string | null | undefined;
4320
4820
  zipCode?: string | null | undefined;
4821
+ } | {
4822
+ firstname: string;
4823
+ surname: string;
4824
+ middlename?: string | null | undefined;
4321
4825
  } | {
4322
4826
  country: string;
4323
4827
  district: string;
@@ -4340,7 +4844,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4340
4844
  option: string;
4341
4845
  filename: string;
4342
4846
  originalFilename: string;
4343
- }[] | undefined> | undefined;
4847
+ }[] | [string, string] | null | undefined> | undefined;
4344
4848
  annotation?: Record<string, string | number | boolean | {
4345
4849
  type: string;
4346
4850
  filename: string;
@@ -4356,6 +4860,10 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4356
4860
  residentialArea?: string | null | undefined;
4357
4861
  street?: string | null | undefined;
4358
4862
  zipCode?: string | null | undefined;
4863
+ } | {
4864
+ firstname: string;
4865
+ surname: string;
4866
+ middlename?: string | null | undefined;
4359
4867
  } | {
4360
4868
  country: string;
4361
4869
  district: string;
@@ -4378,15 +4886,16 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4378
4886
  option: string;
4379
4887
  filename: string;
4380
4888
  originalFilename: string;
4381
- }[] | undefined> | undefined;
4889
+ }[] | [string, string] | null | undefined> | undefined;
4382
4890
  originalActionId?: string | undefined;
4383
4891
  assignedTo?: null | undefined;
4892
+ keepAssignment?: boolean | undefined;
4384
4893
  }>;
4385
4894
  export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4386
4895
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4387
- eventId: z.ZodString;
4896
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4388
4897
  transactionId: z.ZodString;
4389
- 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<{
4390
4899
  filename: z.ZodString;
4391
4900
  originalFilename: z.ZodString;
4392
4901
  type: z.ZodString;
@@ -4499,8 +5008,20 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4499
5008
  addressLine2?: string | null | undefined;
4500
5009
  addressLine3?: string | null | undefined;
4501
5010
  postcodeOrZip?: string | null | undefined;
4502
- }>]>>>;
4503
- 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<{
4504
5025
  filename: z.ZodString;
4505
5026
  originalFilename: z.ZodString;
4506
5027
  type: z.ZodString;
@@ -4613,12 +5134,26 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4613
5134
  addressLine2?: string | null | undefined;
4614
5135
  addressLine3?: string | null | undefined;
4615
5136
  postcodeOrZip?: string | null | undefined;
4616
- }>]>>>;
4617
- 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">>;
5151
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4618
5152
  }, {
4619
5153
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4620
5154
  }>, "strip", z.ZodTypeAny, {
4621
5155
  type: "REQUEST_CORRECTION";
5156
+ transactionId: string;
4622
5157
  declaration: Record<string, string | number | boolean | {
4623
5158
  type: string;
4624
5159
  filename: string;
@@ -4634,6 +5169,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4634
5169
  residentialArea?: string | null | undefined;
4635
5170
  street?: string | null | undefined;
4636
5171
  zipCode?: string | null | undefined;
5172
+ } | {
5173
+ firstname: string;
5174
+ surname: string;
5175
+ middlename?: string | null | undefined;
4637
5176
  } | {
4638
5177
  country: string;
4639
5178
  district: string;
@@ -4656,9 +5195,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4656
5195
  option: string;
4657
5196
  filename: string;
4658
5197
  originalFilename: string;
4659
- }[] | undefined>;
4660
- eventId: string;
4661
- transactionId: string;
5198
+ }[] | [string, string] | null | undefined>;
5199
+ eventId: string & z.BRAND<"UUID">;
4662
5200
  annotation?: Record<string, string | number | boolean | {
4663
5201
  type: string;
4664
5202
  filename: string;
@@ -4674,6 +5212,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4674
5212
  residentialArea?: string | null | undefined;
4675
5213
  street?: string | null | undefined;
4676
5214
  zipCode?: string | null | undefined;
5215
+ } | {
5216
+ firstname: string;
5217
+ surname: string;
5218
+ middlename?: string | null | undefined;
4677
5219
  } | {
4678
5220
  country: string;
4679
5221
  district: string;
@@ -4696,11 +5238,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4696
5238
  option: string;
4697
5239
  filename: string;
4698
5240
  originalFilename: string;
4699
- }[] | undefined> | undefined;
4700
- originalActionId?: string | undefined;
5241
+ }[] | [string, string] | null | undefined> | undefined;
5242
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5243
+ keepAssignment?: boolean | undefined;
4701
5244
  }, {
4702
- eventId: string;
4703
5245
  transactionId: string;
5246
+ eventId: string;
4704
5247
  type?: "REQUEST_CORRECTION" | undefined;
4705
5248
  declaration?: Record<string, string | number | boolean | {
4706
5249
  type: string;
@@ -4717,6 +5260,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4717
5260
  residentialArea?: string | null | undefined;
4718
5261
  street?: string | null | undefined;
4719
5262
  zipCode?: string | null | undefined;
5263
+ } | {
5264
+ firstname: string;
5265
+ surname: string;
5266
+ middlename?: string | null | undefined;
4720
5267
  } | {
4721
5268
  country: string;
4722
5269
  district: string;
@@ -4739,7 +5286,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4739
5286
  option: string;
4740
5287
  filename: string;
4741
5288
  originalFilename: string;
4742
- }[] | undefined> | undefined;
5289
+ }[] | [string, string] | null | undefined> | undefined;
4743
5290
  annotation?: Record<string, string | number | boolean | {
4744
5291
  type: string;
4745
5292
  filename: string;
@@ -4755,6 +5302,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4755
5302
  residentialArea?: string | null | undefined;
4756
5303
  street?: string | null | undefined;
4757
5304
  zipCode?: string | null | undefined;
5305
+ } | {
5306
+ firstname: string;
5307
+ surname: string;
5308
+ middlename?: string | null | undefined;
4758
5309
  } | {
4759
5310
  country: string;
4760
5311
  district: string;
@@ -4777,14 +5328,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4777
5328
  option: string;
4778
5329
  filename: string;
4779
5330
  originalFilename: string;
4780
- }[] | undefined> | undefined;
5331
+ }[] | [string, string] | null | undefined> | undefined;
4781
5332
  originalActionId?: string | undefined;
5333
+ keepAssignment?: boolean | undefined;
4782
5334
  }>;
4783
5335
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
4784
5336
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4785
- eventId: z.ZodString;
5337
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4786
5338
  transactionId: z.ZodString;
4787
- 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<{
4788
5340
  filename: z.ZodString;
4789
5341
  originalFilename: z.ZodString;
4790
5342
  type: z.ZodString;
@@ -4897,8 +5449,20 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4897
5449
  addressLine2?: string | null | undefined;
4898
5450
  addressLine3?: string | null | undefined;
4899
5451
  postcodeOrZip?: string | null | undefined;
4900
- }>]>>>;
4901
- 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<{
4902
5466
  filename: z.ZodString;
4903
5467
  originalFilename: z.ZodString;
4904
5468
  type: z.ZodString;
@@ -5011,13 +5575,27 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5011
5575
  addressLine2?: string | null | undefined;
5012
5576
  addressLine3?: string | null | undefined;
5013
5577
  postcodeOrZip?: string | null | undefined;
5014
- }>]>>>;
5015
- 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">>;
5592
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5016
5593
  }, {
5017
5594
  requestId: z.ZodString;
5018
5595
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5019
5596
  }>, "strip", z.ZodTypeAny, {
5020
5597
  type: "REJECT_CORRECTION";
5598
+ transactionId: string;
5021
5599
  declaration: Record<string, string | number | boolean | {
5022
5600
  type: string;
5023
5601
  filename: string;
@@ -5033,6 +5611,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5033
5611
  residentialArea?: string | null | undefined;
5034
5612
  street?: string | null | undefined;
5035
5613
  zipCode?: string | null | undefined;
5614
+ } | {
5615
+ firstname: string;
5616
+ surname: string;
5617
+ middlename?: string | null | undefined;
5036
5618
  } | {
5037
5619
  country: string;
5038
5620
  district: string;
@@ -5055,10 +5637,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5055
5637
  option: string;
5056
5638
  filename: string;
5057
5639
  originalFilename: string;
5058
- }[] | undefined>;
5640
+ }[] | [string, string] | null | undefined>;
5059
5641
  requestId: string;
5060
- eventId: string;
5061
- transactionId: string;
5642
+ eventId: string & z.BRAND<"UUID">;
5062
5643
  annotation?: Record<string, string | number | boolean | {
5063
5644
  type: string;
5064
5645
  filename: string;
@@ -5074,6 +5655,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5074
5655
  residentialArea?: string | null | undefined;
5075
5656
  street?: string | null | undefined;
5076
5657
  zipCode?: string | null | undefined;
5658
+ } | {
5659
+ firstname: string;
5660
+ surname: string;
5661
+ middlename?: string | null | undefined;
5077
5662
  } | {
5078
5663
  country: string;
5079
5664
  district: string;
@@ -5096,12 +5681,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5096
5681
  option: string;
5097
5682
  filename: string;
5098
5683
  originalFilename: string;
5099
- }[] | undefined> | undefined;
5100
- originalActionId?: string | undefined;
5684
+ }[] | [string, string] | null | undefined> | undefined;
5685
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
5686
+ keepAssignment?: boolean | undefined;
5101
5687
  }, {
5688
+ transactionId: string;
5102
5689
  requestId: string;
5103
5690
  eventId: string;
5104
- transactionId: string;
5105
5691
  type?: "REJECT_CORRECTION" | undefined;
5106
5692
  declaration?: Record<string, string | number | boolean | {
5107
5693
  type: string;
@@ -5118,6 +5704,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5118
5704
  residentialArea?: string | null | undefined;
5119
5705
  street?: string | null | undefined;
5120
5706
  zipCode?: string | null | undefined;
5707
+ } | {
5708
+ firstname: string;
5709
+ surname: string;
5710
+ middlename?: string | null | undefined;
5121
5711
  } | {
5122
5712
  country: string;
5123
5713
  district: string;
@@ -5140,7 +5730,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5140
5730
  option: string;
5141
5731
  filename: string;
5142
5732
  originalFilename: string;
5143
- }[] | undefined> | undefined;
5733
+ }[] | [string, string] | null | undefined> | undefined;
5144
5734
  annotation?: Record<string, string | number | boolean | {
5145
5735
  type: string;
5146
5736
  filename: string;
@@ -5156,6 +5746,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5156
5746
  residentialArea?: string | null | undefined;
5157
5747
  street?: string | null | undefined;
5158
5748
  zipCode?: string | null | undefined;
5749
+ } | {
5750
+ firstname: string;
5751
+ surname: string;
5752
+ middlename?: string | null | undefined;
5159
5753
  } | {
5160
5754
  country: string;
5161
5755
  district: string;
@@ -5178,14 +5772,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5772
  option: string;
5179
5773
  filename: string;
5180
5774
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5775
+ }[] | [string, string] | null | undefined> | undefined;
5182
5776
  originalActionId?: string | undefined;
5777
+ keepAssignment?: boolean | undefined;
5183
5778
  }>;
5184
5779
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
5185
5780
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5186
- eventId: z.ZodString;
5781
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5187
5782
  transactionId: z.ZodString;
5188
- 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<{
5189
5784
  filename: z.ZodString;
5190
5785
  originalFilename: z.ZodString;
5191
5786
  type: z.ZodString;
@@ -5298,8 +5893,20 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5298
5893
  addressLine2?: string | null | undefined;
5299
5894
  addressLine3?: string | null | undefined;
5300
5895
  postcodeOrZip?: string | null | undefined;
5301
- }>]>>>;
5302
- 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<{
5303
5910
  filename: z.ZodString;
5304
5911
  originalFilename: z.ZodString;
5305
5912
  type: z.ZodString;
@@ -5412,13 +6019,27 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5412
6019
  addressLine2?: string | null | undefined;
5413
6020
  addressLine3?: string | null | undefined;
5414
6021
  postcodeOrZip?: string | null | undefined;
5415
- }>]>>>;
5416
- 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">>;
6036
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5417
6037
  }, {
5418
6038
  requestId: z.ZodString;
5419
6039
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5420
6040
  }>, "strip", z.ZodTypeAny, {
5421
6041
  type: "APPROVE_CORRECTION";
6042
+ transactionId: string;
5422
6043
  declaration: Record<string, string | number | boolean | {
5423
6044
  type: string;
5424
6045
  filename: string;
@@ -5434,6 +6055,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5434
6055
  residentialArea?: string | null | undefined;
5435
6056
  street?: string | null | undefined;
5436
6057
  zipCode?: string | null | undefined;
6058
+ } | {
6059
+ firstname: string;
6060
+ surname: string;
6061
+ middlename?: string | null | undefined;
5437
6062
  } | {
5438
6063
  country: string;
5439
6064
  district: string;
@@ -5456,10 +6081,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5456
6081
  option: string;
5457
6082
  filename: string;
5458
6083
  originalFilename: string;
5459
- }[] | undefined>;
6084
+ }[] | [string, string] | null | undefined>;
5460
6085
  requestId: string;
5461
- eventId: string;
5462
- transactionId: string;
6086
+ eventId: string & z.BRAND<"UUID">;
5463
6087
  annotation?: Record<string, string | number | boolean | {
5464
6088
  type: string;
5465
6089
  filename: string;
@@ -5475,6 +6099,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5475
6099
  residentialArea?: string | null | undefined;
5476
6100
  street?: string | null | undefined;
5477
6101
  zipCode?: string | null | undefined;
6102
+ } | {
6103
+ firstname: string;
6104
+ surname: string;
6105
+ middlename?: string | null | undefined;
5478
6106
  } | {
5479
6107
  country: string;
5480
6108
  district: string;
@@ -5497,12 +6125,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5497
6125
  option: string;
5498
6126
  filename: string;
5499
6127
  originalFilename: string;
5500
- }[] | undefined> | undefined;
5501
- originalActionId?: string | undefined;
6128
+ }[] | [string, string] | null | undefined> | undefined;
6129
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6130
+ keepAssignment?: boolean | undefined;
5502
6131
  }, {
6132
+ transactionId: string;
5503
6133
  requestId: string;
5504
6134
  eventId: string;
5505
- transactionId: string;
5506
6135
  type?: "APPROVE_CORRECTION" | undefined;
5507
6136
  declaration?: Record<string, string | number | boolean | {
5508
6137
  type: string;
@@ -5519,6 +6148,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5519
6148
  residentialArea?: string | null | undefined;
5520
6149
  street?: string | null | undefined;
5521
6150
  zipCode?: string | null | undefined;
6151
+ } | {
6152
+ firstname: string;
6153
+ surname: string;
6154
+ middlename?: string | null | undefined;
5522
6155
  } | {
5523
6156
  country: string;
5524
6157
  district: string;
@@ -5541,7 +6174,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5541
6174
  option: string;
5542
6175
  filename: string;
5543
6176
  originalFilename: string;
5544
- }[] | undefined> | undefined;
6177
+ }[] | [string, string] | null | undefined> | undefined;
5545
6178
  annotation?: Record<string, string | number | boolean | {
5546
6179
  type: string;
5547
6180
  filename: string;
@@ -5557,6 +6190,10 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5557
6190
  residentialArea?: string | null | undefined;
5558
6191
  street?: string | null | undefined;
5559
6192
  zipCode?: string | null | undefined;
6193
+ } | {
6194
+ firstname: string;
6195
+ surname: string;
6196
+ middlename?: string | null | undefined;
5560
6197
  } | {
5561
6198
  country: string;
5562
6199
  district: string;
@@ -5579,14 +6216,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5579
6216
  option: string;
5580
6217
  filename: string;
5581
6218
  originalFilename: string;
5582
- }[] | undefined> | undefined;
6219
+ }[] | [string, string] | null | undefined> | undefined;
5583
6220
  originalActionId?: string | undefined;
6221
+ keepAssignment?: boolean | undefined;
5584
6222
  }>;
5585
6223
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
5586
6224
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5587
- eventId: z.ZodString;
6225
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5588
6226
  transactionId: z.ZodString;
5589
- 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<{
5590
6228
  filename: z.ZodString;
5591
6229
  originalFilename: z.ZodString;
5592
6230
  type: z.ZodString;
@@ -5699,8 +6337,20 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5699
6337
  addressLine2?: string | null | undefined;
5700
6338
  addressLine3?: string | null | undefined;
5701
6339
  postcodeOrZip?: string | null | undefined;
5702
- }>]>>>;
5703
- 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<{
5704
6354
  filename: z.ZodString;
5705
6355
  originalFilename: z.ZodString;
5706
6356
  type: z.ZodString;
@@ -5813,12 +6463,26 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5813
6463
  addressLine2?: string | null | undefined;
5814
6464
  addressLine3?: string | null | undefined;
5815
6465
  postcodeOrZip?: string | null | undefined;
5816
- }>]>>>;
5817
- 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">>;
6480
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5818
6481
  }, {
5819
6482
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5820
6483
  }>, "strip", z.ZodTypeAny, {
5821
6484
  type: "READ";
6485
+ transactionId: string;
5822
6486
  declaration: Record<string, string | number | boolean | {
5823
6487
  type: string;
5824
6488
  filename: string;
@@ -5834,6 +6498,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5834
6498
  residentialArea?: string | null | undefined;
5835
6499
  street?: string | null | undefined;
5836
6500
  zipCode?: string | null | undefined;
6501
+ } | {
6502
+ firstname: string;
6503
+ surname: string;
6504
+ middlename?: string | null | undefined;
5837
6505
  } | {
5838
6506
  country: string;
5839
6507
  district: string;
@@ -5856,9 +6524,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5856
6524
  option: string;
5857
6525
  filename: string;
5858
6526
  originalFilename: string;
5859
- }[] | undefined>;
5860
- eventId: string;
5861
- transactionId: string;
6527
+ }[] | [string, string] | null | undefined>;
6528
+ eventId: string & z.BRAND<"UUID">;
5862
6529
  annotation?: Record<string, string | number | boolean | {
5863
6530
  type: string;
5864
6531
  filename: string;
@@ -5874,6 +6541,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5874
6541
  residentialArea?: string | null | undefined;
5875
6542
  street?: string | null | undefined;
5876
6543
  zipCode?: string | null | undefined;
6544
+ } | {
6545
+ firstname: string;
6546
+ surname: string;
6547
+ middlename?: string | null | undefined;
5877
6548
  } | {
5878
6549
  country: string;
5879
6550
  district: string;
@@ -5896,11 +6567,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5896
6567
  option: string;
5897
6568
  filename: string;
5898
6569
  originalFilename: string;
5899
- }[] | undefined> | undefined;
5900
- originalActionId?: string | undefined;
6570
+ }[] | [string, string] | null | undefined> | undefined;
6571
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6572
+ keepAssignment?: boolean | undefined;
5901
6573
  }, {
5902
- eventId: string;
5903
6574
  transactionId: string;
6575
+ eventId: string;
5904
6576
  type?: "READ" | undefined;
5905
6577
  declaration?: Record<string, string | number | boolean | {
5906
6578
  type: string;
@@ -5917,6 +6589,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5917
6589
  residentialArea?: string | null | undefined;
5918
6590
  street?: string | null | undefined;
5919
6591
  zipCode?: string | null | undefined;
6592
+ } | {
6593
+ firstname: string;
6594
+ surname: string;
6595
+ middlename?: string | null | undefined;
5920
6596
  } | {
5921
6597
  country: string;
5922
6598
  district: string;
@@ -5939,7 +6615,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5939
6615
  option: string;
5940
6616
  filename: string;
5941
6617
  originalFilename: string;
5942
- }[] | undefined> | undefined;
6618
+ }[] | [string, string] | null | undefined> | undefined;
5943
6619
  annotation?: Record<string, string | number | boolean | {
5944
6620
  type: string;
5945
6621
  filename: string;
@@ -5955,6 +6631,10 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5955
6631
  residentialArea?: string | null | undefined;
5956
6632
  street?: string | null | undefined;
5957
6633
  zipCode?: string | null | undefined;
6634
+ } | {
6635
+ firstname: string;
6636
+ surname: string;
6637
+ middlename?: string | null | undefined;
5958
6638
  } | {
5959
6639
  country: string;
5960
6640
  district: string;
@@ -5977,10 +6657,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5977
6657
  option: string;
5978
6658
  filename: string;
5979
6659
  originalFilename: string;
5980
- }[] | undefined> | undefined;
6660
+ }[] | [string, string] | null | undefined> | undefined;
5981
6661
  originalActionId?: string | undefined;
6662
+ keepAssignment?: boolean | undefined;
5982
6663
  }>;
5983
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>;
5984
6673
  /**
5985
6674
  * ActionInput types are used to validate the input data for the action.
5986
6675
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -5990,9 +6679,9 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5990
6679
  * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
5991
6680
  */
5992
6681
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5993
- eventId: z.ZodString;
6682
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
5994
6683
  transactionId: z.ZodString;
5995
- 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<{
5996
6685
  filename: z.ZodString;
5997
6686
  originalFilename: z.ZodString;
5998
6687
  type: z.ZodString;
@@ -6105,8 +6794,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6105
6794
  addressLine2?: string | null | undefined;
6106
6795
  addressLine3?: string | null | undefined;
6107
6796
  postcodeOrZip?: string | null | undefined;
6108
- }>]>>>;
6109
- 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<{
6110
6811
  filename: z.ZodString;
6111
6812
  originalFilename: z.ZodString;
6112
6813
  type: z.ZodString;
@@ -6219,13 +6920,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6219
6920
  addressLine2?: string | null | undefined;
6220
6921
  addressLine3?: string | null | undefined;
6221
6922
  postcodeOrZip?: string | null | undefined;
6222
- }>]>>>;
6223
- 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">>;
6937
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6224
6938
  }, {
6225
6939
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6226
- createdAtLocation: z.ZodString;
6940
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
6227
6941
  }>, "strip", z.ZodTypeAny, {
6228
6942
  type: "CREATE";
6943
+ transactionId: string;
6229
6944
  declaration: Record<string, string | number | boolean | {
6230
6945
  type: string;
6231
6946
  filename: string;
@@ -6241,6 +6956,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6241
6956
  residentialArea?: string | null | undefined;
6242
6957
  street?: string | null | undefined;
6243
6958
  zipCode?: string | null | undefined;
6959
+ } | {
6960
+ firstname: string;
6961
+ surname: string;
6962
+ middlename?: string | null | undefined;
6244
6963
  } | {
6245
6964
  country: string;
6246
6965
  district: string;
@@ -6263,10 +6982,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6263
6982
  option: string;
6264
6983
  filename: string;
6265
6984
  originalFilename: string;
6266
- }[] | undefined>;
6267
- createdAtLocation: string;
6268
- eventId: string;
6269
- transactionId: string;
6985
+ }[] | [string, string] | null | undefined>;
6986
+ eventId: string & z.BRAND<"UUID">;
6987
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6270
6988
  annotation?: Record<string, string | number | boolean | {
6271
6989
  type: string;
6272
6990
  filename: string;
@@ -6282,6 +7000,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6282
7000
  residentialArea?: string | null | undefined;
6283
7001
  street?: string | null | undefined;
6284
7002
  zipCode?: string | null | undefined;
7003
+ } | {
7004
+ firstname: string;
7005
+ surname: string;
7006
+ middlename?: string | null | undefined;
6285
7007
  } | {
6286
7008
  country: string;
6287
7009
  district: string;
@@ -6304,13 +7026,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6304
7026
  option: string;
6305
7027
  filename: string;
6306
7028
  originalFilename: string;
6307
- }[] | undefined> | undefined;
6308
- originalActionId?: string | undefined;
7029
+ }[] | [string, string] | null | undefined> | undefined;
7030
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7031
+ keepAssignment?: boolean | undefined;
6309
7032
  }, {
6310
- createdAtLocation: string;
6311
- eventId: string;
6312
7033
  transactionId: string;
7034
+ eventId: string;
6313
7035
  type?: "CREATE" | undefined;
7036
+ createdAtLocation?: string | null | undefined;
6314
7037
  declaration?: Record<string, string | number | boolean | {
6315
7038
  type: string;
6316
7039
  filename: string;
@@ -6326,6 +7049,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6326
7049
  residentialArea?: string | null | undefined;
6327
7050
  street?: string | null | undefined;
6328
7051
  zipCode?: string | null | undefined;
7052
+ } | {
7053
+ firstname: string;
7054
+ surname: string;
7055
+ middlename?: string | null | undefined;
6329
7056
  } | {
6330
7057
  country: string;
6331
7058
  district: string;
@@ -6348,7 +7075,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6348
7075
  option: string;
6349
7076
  filename: string;
6350
7077
  originalFilename: string;
6351
- }[] | undefined> | undefined;
7078
+ }[] | [string, string] | null | undefined> | undefined;
6352
7079
  annotation?: Record<string, string | number | boolean | {
6353
7080
  type: string;
6354
7081
  filename: string;
@@ -6364,6 +7091,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6364
7091
  residentialArea?: string | null | undefined;
6365
7092
  street?: string | null | undefined;
6366
7093
  zipCode?: string | null | undefined;
7094
+ } | {
7095
+ firstname: string;
7096
+ surname: string;
7097
+ middlename?: string | null | undefined;
6367
7098
  } | {
6368
7099
  country: string;
6369
7100
  district: string;
@@ -6386,12 +7117,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6386
7117
  option: string;
6387
7118
  filename: string;
6388
7119
  originalFilename: string;
6389
- }[] | undefined> | undefined;
7120
+ }[] | [string, string] | null | undefined> | undefined;
6390
7121
  originalActionId?: string | undefined;
7122
+ keepAssignment?: boolean | undefined;
6391
7123
  }>, z.ZodObject<z.objectUtil.extendShape<{
6392
- eventId: z.ZodString;
7124
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6393
7125
  transactionId: z.ZodString;
6394
- 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<{
6395
7127
  filename: z.ZodString;
6396
7128
  originalFilename: z.ZodString;
6397
7129
  type: z.ZodString;
@@ -6504,8 +7236,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6504
7236
  addressLine2?: string | null | undefined;
6505
7237
  addressLine3?: string | null | undefined;
6506
7238
  postcodeOrZip?: string | null | undefined;
6507
- }>]>>>;
6508
- 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<{
6509
7253
  filename: z.ZodString;
6510
7254
  originalFilename: z.ZodString;
6511
7255
  type: z.ZodString;
@@ -6618,13 +7362,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6618
7362
  addressLine2?: string | null | undefined;
6619
7363
  addressLine3?: string | null | undefined;
6620
7364
  postcodeOrZip?: string | null | undefined;
6621
- }>]>>>;
6622
- 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">>;
7379
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6623
7380
  }, {
6624
7381
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
6625
7382
  duplicates: z.ZodArray<z.ZodString, "many">;
6626
7383
  }>, "strip", z.ZodTypeAny, {
6627
7384
  type: "VALIDATE";
7385
+ transactionId: string;
6628
7386
  declaration: Record<string, string | number | boolean | {
6629
7387
  type: string;
6630
7388
  filename: string;
@@ -6640,6 +7398,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6640
7398
  residentialArea?: string | null | undefined;
6641
7399
  street?: string | null | undefined;
6642
7400
  zipCode?: string | null | undefined;
7401
+ } | {
7402
+ firstname: string;
7403
+ surname: string;
7404
+ middlename?: string | null | undefined;
6643
7405
  } | {
6644
7406
  country: string;
6645
7407
  district: string;
@@ -6662,9 +7424,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6662
7424
  option: string;
6663
7425
  filename: string;
6664
7426
  originalFilename: string;
6665
- }[] | undefined>;
6666
- eventId: string;
6667
- transactionId: string;
7427
+ }[] | [string, string] | null | undefined>;
7428
+ eventId: string & z.BRAND<"UUID">;
6668
7429
  duplicates: string[];
6669
7430
  annotation?: Record<string, string | number | boolean | {
6670
7431
  type: string;
@@ -6681,6 +7442,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6681
7442
  residentialArea?: string | null | undefined;
6682
7443
  street?: string | null | undefined;
6683
7444
  zipCode?: string | null | undefined;
7445
+ } | {
7446
+ firstname: string;
7447
+ surname: string;
7448
+ middlename?: string | null | undefined;
6684
7449
  } | {
6685
7450
  country: string;
6686
7451
  district: string;
@@ -6703,11 +7468,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6703
7468
  option: string;
6704
7469
  filename: string;
6705
7470
  originalFilename: string;
6706
- }[] | undefined> | undefined;
6707
- originalActionId?: string | undefined;
7471
+ }[] | [string, string] | null | undefined> | undefined;
7472
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7473
+ keepAssignment?: boolean | undefined;
6708
7474
  }, {
6709
- eventId: string;
6710
7475
  transactionId: string;
7476
+ eventId: string;
6711
7477
  duplicates: string[];
6712
7478
  type?: "VALIDATE" | undefined;
6713
7479
  declaration?: Record<string, string | number | boolean | {
@@ -6725,6 +7491,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6725
7491
  residentialArea?: string | null | undefined;
6726
7492
  street?: string | null | undefined;
6727
7493
  zipCode?: string | null | undefined;
7494
+ } | {
7495
+ firstname: string;
7496
+ surname: string;
7497
+ middlename?: string | null | undefined;
6728
7498
  } | {
6729
7499
  country: string;
6730
7500
  district: string;
@@ -6747,7 +7517,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6747
7517
  option: string;
6748
7518
  filename: string;
6749
7519
  originalFilename: string;
6750
- }[] | undefined> | undefined;
7520
+ }[] | [string, string] | null | undefined> | undefined;
6751
7521
  annotation?: Record<string, string | number | boolean | {
6752
7522
  type: string;
6753
7523
  filename: string;
@@ -6763,6 +7533,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6763
7533
  residentialArea?: string | null | undefined;
6764
7534
  street?: string | null | undefined;
6765
7535
  zipCode?: string | null | undefined;
7536
+ } | {
7537
+ firstname: string;
7538
+ surname: string;
7539
+ middlename?: string | null | undefined;
6766
7540
  } | {
6767
7541
  country: string;
6768
7542
  district: string;
@@ -6785,12 +7559,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6785
7559
  option: string;
6786
7560
  filename: string;
6787
7561
  originalFilename: string;
6788
- }[] | undefined> | undefined;
7562
+ }[] | [string, string] | null | undefined> | undefined;
6789
7563
  originalActionId?: string | undefined;
7564
+ keepAssignment?: boolean | undefined;
6790
7565
  }>, z.ZodObject<z.objectUtil.extendShape<{
6791
- eventId: z.ZodString;
7566
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
6792
7567
  transactionId: z.ZodString;
6793
- 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<{
6794
7569
  filename: z.ZodString;
6795
7570
  originalFilename: z.ZodString;
6796
7571
  type: z.ZodString;
@@ -6903,8 +7678,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6903
7678
  addressLine2?: string | null | undefined;
6904
7679
  addressLine3?: string | null | undefined;
6905
7680
  postcodeOrZip?: string | null | undefined;
6906
- }>]>>>;
6907
- 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<{
6908
7695
  filename: z.ZodString;
6909
7696
  originalFilename: z.ZodString;
6910
7697
  type: z.ZodString;
@@ -7017,13 +7804,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7017
7804
  addressLine2?: string | null | undefined;
7018
7805
  addressLine3?: string | null | undefined;
7019
7806
  postcodeOrZip?: string | null | undefined;
7020
- }>]>>>;
7021
- 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">>;
7821
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7022
7822
  }, {
7023
7823
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
7024
7824
  registrationNumber: z.ZodOptional<z.ZodString>;
7025
- }>, "strip", z.ZodTypeAny, {
7825
+ }>, "strict", z.ZodTypeAny, {
7026
7826
  type: "REGISTER";
7827
+ transactionId: string;
7027
7828
  declaration: Record<string, string | number | boolean | {
7028
7829
  type: string;
7029
7830
  filename: string;
@@ -7039,6 +7840,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7039
7840
  residentialArea?: string | null | undefined;
7040
7841
  street?: string | null | undefined;
7041
7842
  zipCode?: string | null | undefined;
7843
+ } | {
7844
+ firstname: string;
7845
+ surname: string;
7846
+ middlename?: string | null | undefined;
7042
7847
  } | {
7043
7848
  country: string;
7044
7849
  district: string;
@@ -7061,9 +7866,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7061
7866
  option: string;
7062
7867
  filename: string;
7063
7868
  originalFilename: string;
7064
- }[] | undefined>;
7065
- eventId: string;
7066
- transactionId: string;
7869
+ }[] | [string, string] | null | undefined>;
7870
+ eventId: string & z.BRAND<"UUID">;
7067
7871
  annotation?: Record<string, string | number | boolean | {
7068
7872
  type: string;
7069
7873
  filename: string;
@@ -7079,6 +7883,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7079
7883
  residentialArea?: string | null | undefined;
7080
7884
  street?: string | null | undefined;
7081
7885
  zipCode?: string | null | undefined;
7886
+ } | {
7887
+ firstname: string;
7888
+ surname: string;
7889
+ middlename?: string | null | undefined;
7082
7890
  } | {
7083
7891
  country: string;
7084
7892
  district: string;
@@ -7101,12 +7909,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7101
7909
  option: string;
7102
7910
  filename: string;
7103
7911
  originalFilename: string;
7104
- }[] | undefined> | undefined;
7105
- originalActionId?: string | undefined;
7912
+ }[] | [string, string] | null | undefined> | undefined;
7913
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
7106
7914
  registrationNumber?: string | undefined;
7915
+ keepAssignment?: boolean | undefined;
7107
7916
  }, {
7108
- eventId: string;
7109
7917
  transactionId: string;
7918
+ eventId: string;
7110
7919
  type?: "REGISTER" | undefined;
7111
7920
  declaration?: Record<string, string | number | boolean | {
7112
7921
  type: string;
@@ -7123,6 +7932,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7123
7932
  residentialArea?: string | null | undefined;
7124
7933
  street?: string | null | undefined;
7125
7934
  zipCode?: string | null | undefined;
7935
+ } | {
7936
+ firstname: string;
7937
+ surname: string;
7938
+ middlename?: string | null | undefined;
7126
7939
  } | {
7127
7940
  country: string;
7128
7941
  district: string;
@@ -7145,7 +7958,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7145
7958
  option: string;
7146
7959
  filename: string;
7147
7960
  originalFilename: string;
7148
- }[] | undefined> | undefined;
7961
+ }[] | [string, string] | null | undefined> | undefined;
7149
7962
  annotation?: Record<string, string | number | boolean | {
7150
7963
  type: string;
7151
7964
  filename: string;
@@ -7161,6 +7974,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7161
7974
  residentialArea?: string | null | undefined;
7162
7975
  street?: string | null | undefined;
7163
7976
  zipCode?: string | null | undefined;
7977
+ } | {
7978
+ firstname: string;
7979
+ surname: string;
7980
+ middlename?: string | null | undefined;
7164
7981
  } | {
7165
7982
  country: string;
7166
7983
  district: string;
@@ -7183,13 +8000,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7183
8000
  option: string;
7184
8001
  filename: string;
7185
8002
  originalFilename: string;
7186
- }[] | undefined> | undefined;
8003
+ }[] | [string, string] | null | undefined> | undefined;
7187
8004
  originalActionId?: string | undefined;
7188
8005
  registrationNumber?: string | undefined;
8006
+ keepAssignment?: boolean | undefined;
7189
8007
  }>, z.ZodObject<z.objectUtil.extendShape<{
7190
- eventId: z.ZodString;
8008
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7191
8009
  transactionId: z.ZodString;
7192
- 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<{
7193
8011
  filename: z.ZodString;
7194
8012
  originalFilename: z.ZodString;
7195
8013
  type: z.ZodString;
@@ -7302,8 +8120,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7302
8120
  addressLine2?: string | null | undefined;
7303
8121
  addressLine3?: string | null | undefined;
7304
8122
  postcodeOrZip?: string | null | undefined;
7305
- }>]>>>;
7306
- 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<{
7307
8137
  filename: z.ZodString;
7308
8138
  originalFilename: z.ZodString;
7309
8139
  type: z.ZodString;
@@ -7416,12 +8246,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7416
8246
  addressLine2?: string | null | undefined;
7417
8247
  addressLine3?: string | null | undefined;
7418
8248
  postcodeOrZip?: string | null | undefined;
7419
- }>]>>>;
7420
- 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">>;
8263
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7421
8264
  }, {
7422
8265
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7423
8266
  }>, "strip", z.ZodTypeAny, {
7424
8267
  type: "NOTIFY";
8268
+ transactionId: string;
7425
8269
  declaration: Record<string, string | number | boolean | {
7426
8270
  type: string;
7427
8271
  filename: string;
@@ -7437,6 +8281,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7437
8281
  residentialArea?: string | null | undefined;
7438
8282
  street?: string | null | undefined;
7439
8283
  zipCode?: string | null | undefined;
8284
+ } | {
8285
+ firstname: string;
8286
+ surname: string;
8287
+ middlename?: string | null | undefined;
7440
8288
  } | {
7441
8289
  country: string;
7442
8290
  district: string;
@@ -7459,9 +8307,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7459
8307
  option: string;
7460
8308
  filename: string;
7461
8309
  originalFilename: string;
7462
- }[] | undefined>;
7463
- eventId: string;
7464
- transactionId: string;
8310
+ }[] | [string, string] | null | undefined>;
8311
+ eventId: string & z.BRAND<"UUID">;
7465
8312
  annotation?: Record<string, string | number | boolean | {
7466
8313
  type: string;
7467
8314
  filename: string;
@@ -7477,6 +8324,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7477
8324
  residentialArea?: string | null | undefined;
7478
8325
  street?: string | null | undefined;
7479
8326
  zipCode?: string | null | undefined;
8327
+ } | {
8328
+ firstname: string;
8329
+ surname: string;
8330
+ middlename?: string | null | undefined;
7480
8331
  } | {
7481
8332
  country: string;
7482
8333
  district: string;
@@ -7499,11 +8350,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7499
8350
  option: string;
7500
8351
  filename: string;
7501
8352
  originalFilename: string;
7502
- }[] | undefined> | undefined;
7503
- originalActionId?: string | undefined;
8353
+ }[] | [string, string] | null | undefined> | undefined;
8354
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8355
+ keepAssignment?: boolean | undefined;
7504
8356
  }, {
7505
- eventId: string;
7506
8357
  transactionId: string;
8358
+ eventId: string;
7507
8359
  type?: "NOTIFY" | undefined;
7508
8360
  declaration?: Record<string, string | number | boolean | {
7509
8361
  type: string;
@@ -7520,6 +8372,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7520
8372
  residentialArea?: string | null | undefined;
7521
8373
  street?: string | null | undefined;
7522
8374
  zipCode?: string | null | undefined;
8375
+ } | {
8376
+ firstname: string;
8377
+ surname: string;
8378
+ middlename?: string | null | undefined;
7523
8379
  } | {
7524
8380
  country: string;
7525
8381
  district: string;
@@ -7542,7 +8398,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7542
8398
  option: string;
7543
8399
  filename: string;
7544
8400
  originalFilename: string;
7545
- }[] | undefined> | undefined;
8401
+ }[] | [string, string] | null | undefined> | undefined;
7546
8402
  annotation?: Record<string, string | number | boolean | {
7547
8403
  type: string;
7548
8404
  filename: string;
@@ -7558,6 +8414,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7558
8414
  residentialArea?: string | null | undefined;
7559
8415
  street?: string | null | undefined;
7560
8416
  zipCode?: string | null | undefined;
8417
+ } | {
8418
+ firstname: string;
8419
+ surname: string;
8420
+ middlename?: string | null | undefined;
7561
8421
  } | {
7562
8422
  country: string;
7563
8423
  district: string;
@@ -7580,12 +8440,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7580
8440
  option: string;
7581
8441
  filename: string;
7582
8442
  originalFilename: string;
7583
- }[] | undefined> | undefined;
8443
+ }[] | [string, string] | null | undefined> | undefined;
7584
8444
  originalActionId?: string | undefined;
8445
+ keepAssignment?: boolean | undefined;
7585
8446
  }>, z.ZodObject<z.objectUtil.extendShape<{
7586
- eventId: z.ZodString;
8447
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7587
8448
  transactionId: z.ZodString;
7588
- 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<{
7589
8450
  filename: z.ZodString;
7590
8451
  originalFilename: z.ZodString;
7591
8452
  type: z.ZodString;
@@ -7698,8 +8559,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7698
8559
  addressLine2?: string | null | undefined;
7699
8560
  addressLine3?: string | null | undefined;
7700
8561
  postcodeOrZip?: string | null | undefined;
7701
- }>]>>>;
7702
- 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<{
7703
8576
  filename: z.ZodString;
7704
8577
  originalFilename: z.ZodString;
7705
8578
  type: z.ZodString;
@@ -7812,12 +8685,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7812
8685
  addressLine2?: string | null | undefined;
7813
8686
  addressLine3?: string | null | undefined;
7814
8687
  postcodeOrZip?: string | null | undefined;
7815
- }>]>>>;
7816
- 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">>;
8702
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7817
8703
  }, {
7818
8704
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7819
8705
  }>, "strip", z.ZodTypeAny, {
7820
8706
  type: "DECLARE";
8707
+ transactionId: string;
7821
8708
  declaration: Record<string, string | number | boolean | {
7822
8709
  type: string;
7823
8710
  filename: string;
@@ -7833,6 +8720,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7833
8720
  residentialArea?: string | null | undefined;
7834
8721
  street?: string | null | undefined;
7835
8722
  zipCode?: string | null | undefined;
8723
+ } | {
8724
+ firstname: string;
8725
+ surname: string;
8726
+ middlename?: string | null | undefined;
7836
8727
  } | {
7837
8728
  country: string;
7838
8729
  district: string;
@@ -7855,9 +8746,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7855
8746
  option: string;
7856
8747
  filename: string;
7857
8748
  originalFilename: string;
7858
- }[] | undefined>;
7859
- eventId: string;
7860
- transactionId: string;
8749
+ }[] | [string, string] | null | undefined>;
8750
+ eventId: string & z.BRAND<"UUID">;
7861
8751
  annotation?: Record<string, string | number | boolean | {
7862
8752
  type: string;
7863
8753
  filename: string;
@@ -7873,6 +8763,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7873
8763
  residentialArea?: string | null | undefined;
7874
8764
  street?: string | null | undefined;
7875
8765
  zipCode?: string | null | undefined;
8766
+ } | {
8767
+ firstname: string;
8768
+ surname: string;
8769
+ middlename?: string | null | undefined;
7876
8770
  } | {
7877
8771
  country: string;
7878
8772
  district: string;
@@ -7895,11 +8789,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7895
8789
  option: string;
7896
8790
  filename: string;
7897
8791
  originalFilename: string;
7898
- }[] | undefined> | undefined;
7899
- originalActionId?: string | undefined;
8792
+ }[] | [string, string] | null | undefined> | undefined;
8793
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
8794
+ keepAssignment?: boolean | undefined;
7900
8795
  }, {
7901
- eventId: string;
7902
8796
  transactionId: string;
8797
+ eventId: string;
7903
8798
  type?: "DECLARE" | undefined;
7904
8799
  declaration?: Record<string, string | number | boolean | {
7905
8800
  type: string;
@@ -7916,6 +8811,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7916
8811
  residentialArea?: string | null | undefined;
7917
8812
  street?: string | null | undefined;
7918
8813
  zipCode?: string | null | undefined;
8814
+ } | {
8815
+ firstname: string;
8816
+ surname: string;
8817
+ middlename?: string | null | undefined;
7919
8818
  } | {
7920
8819
  country: string;
7921
8820
  district: string;
@@ -7938,7 +8837,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7938
8837
  option: string;
7939
8838
  filename: string;
7940
8839
  originalFilename: string;
7941
- }[] | undefined> | undefined;
8840
+ }[] | [string, string] | null | undefined> | undefined;
7942
8841
  annotation?: Record<string, string | number | boolean | {
7943
8842
  type: string;
7944
8843
  filename: string;
@@ -7954,6 +8853,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7954
8853
  residentialArea?: string | null | undefined;
7955
8854
  street?: string | null | undefined;
7956
8855
  zipCode?: string | null | undefined;
8856
+ } | {
8857
+ firstname: string;
8858
+ surname: string;
8859
+ middlename?: string | null | undefined;
7957
8860
  } | {
7958
8861
  country: string;
7959
8862
  district: string;
@@ -7976,12 +8879,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7976
8879
  option: string;
7977
8880
  filename: string;
7978
8881
  originalFilename: string;
7979
- }[] | undefined> | undefined;
8882
+ }[] | [string, string] | null | undefined> | undefined;
7980
8883
  originalActionId?: string | undefined;
8884
+ keepAssignment?: boolean | undefined;
7981
8885
  }>, z.ZodObject<z.objectUtil.extendShape<{
7982
- eventId: z.ZodString;
8886
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
7983
8887
  transactionId: z.ZodString;
7984
- 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<{
7985
8889
  filename: z.ZodString;
7986
8890
  originalFilename: z.ZodString;
7987
8891
  type: z.ZodString;
@@ -8094,8 +8998,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8094
8998
  addressLine2?: string | null | undefined;
8095
8999
  addressLine3?: string | null | undefined;
8096
9000
  postcodeOrZip?: string | null | undefined;
8097
- }>]>>>;
8098
- 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<{
8099
9015
  filename: z.ZodString;
8100
9016
  originalFilename: z.ZodString;
8101
9017
  type: z.ZodString;
@@ -8208,12 +9124,40 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8208
9124
  addressLine2?: string | null | undefined;
8209
9125
  addressLine3?: string | null | undefined;
8210
9126
  postcodeOrZip?: string | null | undefined;
8211
- }>]>>>;
8212
- 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">>;
9141
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8213
9142
  }, {
8214
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
+ }>;
8215
9154
  }>, "strip", z.ZodTypeAny, {
8216
9155
  type: "REJECT";
9156
+ reason: {
9157
+ message: string;
9158
+ isDuplicate?: boolean | undefined;
9159
+ };
9160
+ transactionId: string;
8217
9161
  declaration: Record<string, string | number | boolean | {
8218
9162
  type: string;
8219
9163
  filename: string;
@@ -8229,6 +9173,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8229
9173
  residentialArea?: string | null | undefined;
8230
9174
  street?: string | null | undefined;
8231
9175
  zipCode?: string | null | undefined;
9176
+ } | {
9177
+ firstname: string;
9178
+ surname: string;
9179
+ middlename?: string | null | undefined;
8232
9180
  } | {
8233
9181
  country: string;
8234
9182
  district: string;
@@ -8251,9 +9199,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
9199
  option: string;
8252
9200
  filename: string;
8253
9201
  originalFilename: string;
8254
- }[] | undefined>;
8255
- eventId: string;
8256
- transactionId: string;
9202
+ }[] | [string, string] | null | undefined>;
9203
+ eventId: string & z.BRAND<"UUID">;
8257
9204
  annotation?: Record<string, string | number | boolean | {
8258
9205
  type: string;
8259
9206
  filename: string;
@@ -8269,6 +9216,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8269
9216
  residentialArea?: string | null | undefined;
8270
9217
  street?: string | null | undefined;
8271
9218
  zipCode?: string | null | undefined;
9219
+ } | {
9220
+ firstname: string;
9221
+ surname: string;
9222
+ middlename?: string | null | undefined;
8272
9223
  } | {
8273
9224
  country: string;
8274
9225
  district: string;
@@ -8291,11 +9242,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8291
9242
  option: string;
8292
9243
  filename: string;
8293
9244
  originalFilename: string;
8294
- }[] | undefined> | undefined;
8295
- originalActionId?: string | undefined;
9245
+ }[] | [string, string] | null | undefined> | undefined;
9246
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9247
+ keepAssignment?: boolean | undefined;
8296
9248
  }, {
8297
- eventId: string;
9249
+ reason: {
9250
+ message: string;
9251
+ isDuplicate?: boolean | undefined;
9252
+ };
8298
9253
  transactionId: string;
9254
+ eventId: string;
8299
9255
  type?: "REJECT" | undefined;
8300
9256
  declaration?: Record<string, string | number | boolean | {
8301
9257
  type: string;
@@ -8312,6 +9268,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8312
9268
  residentialArea?: string | null | undefined;
8313
9269
  street?: string | null | undefined;
8314
9270
  zipCode?: string | null | undefined;
9271
+ } | {
9272
+ firstname: string;
9273
+ surname: string;
9274
+ middlename?: string | null | undefined;
8315
9275
  } | {
8316
9276
  country: string;
8317
9277
  district: string;
@@ -8334,7 +9294,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8334
9294
  option: string;
8335
9295
  filename: string;
8336
9296
  originalFilename: string;
8337
- }[] | undefined> | undefined;
9297
+ }[] | [string, string] | null | undefined> | undefined;
8338
9298
  annotation?: Record<string, string | number | boolean | {
8339
9299
  type: string;
8340
9300
  filename: string;
@@ -8350,6 +9310,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8350
9310
  residentialArea?: string | null | undefined;
8351
9311
  street?: string | null | undefined;
8352
9312
  zipCode?: string | null | undefined;
9313
+ } | {
9314
+ firstname: string;
9315
+ surname: string;
9316
+ middlename?: string | null | undefined;
8353
9317
  } | {
8354
9318
  country: string;
8355
9319
  district: string;
@@ -8372,12 +9336,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8372
9336
  option: string;
8373
9337
  filename: string;
8374
9338
  originalFilename: string;
8375
- }[] | undefined> | undefined;
9339
+ }[] | [string, string] | null | undefined> | undefined;
8376
9340
  originalActionId?: string | undefined;
9341
+ keepAssignment?: boolean | undefined;
8377
9342
  }>, z.ZodObject<z.objectUtil.extendShape<{
8378
- eventId: z.ZodString;
9343
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8379
9344
  transactionId: z.ZodString;
8380
- 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<{
8381
9346
  filename: z.ZodString;
8382
9347
  originalFilename: z.ZodString;
8383
9348
  type: z.ZodString;
@@ -8490,8 +9455,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8490
9455
  addressLine2?: string | null | undefined;
8491
9456
  addressLine3?: string | null | undefined;
8492
9457
  postcodeOrZip?: string | null | undefined;
8493
- }>]>>>;
8494
- 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<{
8495
9472
  filename: z.ZodString;
8496
9473
  originalFilename: z.ZodString;
8497
9474
  type: z.ZodString;
@@ -8604,12 +9581,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8604
9581
  addressLine2?: string | null | undefined;
8605
9582
  addressLine3?: string | null | undefined;
8606
9583
  postcodeOrZip?: string | null | undefined;
8607
- }>]>>>;
8608
- 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">>;
9598
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8609
9599
  }, {
8610
9600
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8611
9601
  }>, "strip", z.ZodTypeAny, {
8612
9602
  type: "MARKED_AS_DUPLICATE";
9603
+ transactionId: string;
8613
9604
  declaration: Record<string, string | number | boolean | {
8614
9605
  type: string;
8615
9606
  filename: string;
@@ -8625,6 +9616,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8625
9616
  residentialArea?: string | null | undefined;
8626
9617
  street?: string | null | undefined;
8627
9618
  zipCode?: string | null | undefined;
9619
+ } | {
9620
+ firstname: string;
9621
+ surname: string;
9622
+ middlename?: string | null | undefined;
8628
9623
  } | {
8629
9624
  country: string;
8630
9625
  district: string;
@@ -8647,9 +9642,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8647
9642
  option: string;
8648
9643
  filename: string;
8649
9644
  originalFilename: string;
8650
- }[] | undefined>;
8651
- eventId: string;
8652
- transactionId: string;
9645
+ }[] | [string, string] | null | undefined>;
9646
+ eventId: string & z.BRAND<"UUID">;
8653
9647
  annotation?: Record<string, string | number | boolean | {
8654
9648
  type: string;
8655
9649
  filename: string;
@@ -8665,6 +9659,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8665
9659
  residentialArea?: string | null | undefined;
8666
9660
  street?: string | null | undefined;
8667
9661
  zipCode?: string | null | undefined;
9662
+ } | {
9663
+ firstname: string;
9664
+ surname: string;
9665
+ middlename?: string | null | undefined;
8668
9666
  } | {
8669
9667
  country: string;
8670
9668
  district: string;
@@ -8687,11 +9685,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8687
9685
  option: string;
8688
9686
  filename: string;
8689
9687
  originalFilename: string;
8690
- }[] | undefined> | undefined;
8691
- originalActionId?: string | undefined;
9688
+ }[] | [string, string] | null | undefined> | undefined;
9689
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
9690
+ keepAssignment?: boolean | undefined;
8692
9691
  }, {
8693
- eventId: string;
8694
9692
  transactionId: string;
9693
+ eventId: string;
8695
9694
  type?: "MARKED_AS_DUPLICATE" | undefined;
8696
9695
  declaration?: Record<string, string | number | boolean | {
8697
9696
  type: string;
@@ -8708,6 +9707,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8708
9707
  residentialArea?: string | null | undefined;
8709
9708
  street?: string | null | undefined;
8710
9709
  zipCode?: string | null | undefined;
9710
+ } | {
9711
+ firstname: string;
9712
+ surname: string;
9713
+ middlename?: string | null | undefined;
8711
9714
  } | {
8712
9715
  country: string;
8713
9716
  district: string;
@@ -8730,7 +9733,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8730
9733
  option: string;
8731
9734
  filename: string;
8732
9735
  originalFilename: string;
8733
- }[] | undefined> | undefined;
9736
+ }[] | [string, string] | null | undefined> | undefined;
8734
9737
  annotation?: Record<string, string | number | boolean | {
8735
9738
  type: string;
8736
9739
  filename: string;
@@ -8746,6 +9749,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8746
9749
  residentialArea?: string | null | undefined;
8747
9750
  street?: string | null | undefined;
8748
9751
  zipCode?: string | null | undefined;
9752
+ } | {
9753
+ firstname: string;
9754
+ surname: string;
9755
+ middlename?: string | null | undefined;
8749
9756
  } | {
8750
9757
  country: string;
8751
9758
  district: string;
@@ -8768,12 +9775,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8768
9775
  option: string;
8769
9776
  filename: string;
8770
9777
  originalFilename: string;
8771
- }[] | undefined> | undefined;
9778
+ }[] | [string, string] | null | undefined> | undefined;
8772
9779
  originalActionId?: string | undefined;
9780
+ keepAssignment?: boolean | undefined;
8773
9781
  }>, z.ZodObject<z.objectUtil.extendShape<{
8774
- eventId: z.ZodString;
9782
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
8775
9783
  transactionId: z.ZodString;
8776
- 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<{
8777
9785
  filename: z.ZodString;
8778
9786
  originalFilename: z.ZodString;
8779
9787
  type: z.ZodString;
@@ -8886,8 +9894,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8886
9894
  addressLine2?: string | null | undefined;
8887
9895
  addressLine3?: string | null | undefined;
8888
9896
  postcodeOrZip?: string | null | undefined;
8889
- }>]>>>;
8890
- 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<{
8891
9911
  filename: z.ZodString;
8892
9912
  originalFilename: z.ZodString;
8893
9913
  type: z.ZodString;
@@ -9000,12 +10020,40 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9000
10020
  addressLine2?: string | null | undefined;
9001
10021
  addressLine3?: string | null | undefined;
9002
10022
  postcodeOrZip?: string | null | undefined;
9003
- }>]>>>;
9004
- 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">>;
10037
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9005
10038
  }, {
9006
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
+ }>;
9007
10050
  }>, "strip", z.ZodTypeAny, {
9008
10051
  type: "ARCHIVE";
10052
+ reason: {
10053
+ message: string;
10054
+ isDuplicate?: boolean | undefined;
10055
+ };
10056
+ transactionId: string;
9009
10057
  declaration: Record<string, string | number | boolean | {
9010
10058
  type: string;
9011
10059
  filename: string;
@@ -9021,6 +10069,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9021
10069
  residentialArea?: string | null | undefined;
9022
10070
  street?: string | null | undefined;
9023
10071
  zipCode?: string | null | undefined;
10072
+ } | {
10073
+ firstname: string;
10074
+ surname: string;
10075
+ middlename?: string | null | undefined;
9024
10076
  } | {
9025
10077
  country: string;
9026
10078
  district: string;
@@ -9043,9 +10095,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9043
10095
  option: string;
9044
10096
  filename: string;
9045
10097
  originalFilename: string;
9046
- }[] | undefined>;
9047
- eventId: string;
9048
- transactionId: string;
10098
+ }[] | [string, string] | null | undefined>;
10099
+ eventId: string & z.BRAND<"UUID">;
9049
10100
  annotation?: Record<string, string | number | boolean | {
9050
10101
  type: string;
9051
10102
  filename: string;
@@ -9061,6 +10112,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9061
10112
  residentialArea?: string | null | undefined;
9062
10113
  street?: string | null | undefined;
9063
10114
  zipCode?: string | null | undefined;
10115
+ } | {
10116
+ firstname: string;
10117
+ surname: string;
10118
+ middlename?: string | null | undefined;
9064
10119
  } | {
9065
10120
  country: string;
9066
10121
  district: string;
@@ -9083,11 +10138,16 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9083
10138
  option: string;
9084
10139
  filename: string;
9085
10140
  originalFilename: string;
9086
- }[] | undefined> | undefined;
9087
- originalActionId?: string | undefined;
10141
+ }[] | [string, string] | null | undefined> | undefined;
10142
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10143
+ keepAssignment?: boolean | undefined;
9088
10144
  }, {
9089
- eventId: string;
10145
+ reason: {
10146
+ message: string;
10147
+ isDuplicate?: boolean | undefined;
10148
+ };
9090
10149
  transactionId: string;
10150
+ eventId: string;
9091
10151
  type?: "ARCHIVE" | undefined;
9092
10152
  declaration?: Record<string, string | number | boolean | {
9093
10153
  type: string;
@@ -9104,6 +10164,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9104
10164
  residentialArea?: string | null | undefined;
9105
10165
  street?: string | null | undefined;
9106
10166
  zipCode?: string | null | undefined;
10167
+ } | {
10168
+ firstname: string;
10169
+ surname: string;
10170
+ middlename?: string | null | undefined;
9107
10171
  } | {
9108
10172
  country: string;
9109
10173
  district: string;
@@ -9126,7 +10190,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9126
10190
  option: string;
9127
10191
  filename: string;
9128
10192
  originalFilename: string;
9129
- }[] | undefined> | undefined;
10193
+ }[] | [string, string] | null | undefined> | undefined;
9130
10194
  annotation?: Record<string, string | number | boolean | {
9131
10195
  type: string;
9132
10196
  filename: string;
@@ -9142,6 +10206,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9142
10206
  residentialArea?: string | null | undefined;
9143
10207
  street?: string | null | undefined;
9144
10208
  zipCode?: string | null | undefined;
10209
+ } | {
10210
+ firstname: string;
10211
+ surname: string;
10212
+ middlename?: string | null | undefined;
9145
10213
  } | {
9146
10214
  country: string;
9147
10215
  district: string;
@@ -9164,12 +10232,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9164
10232
  option: string;
9165
10233
  filename: string;
9166
10234
  originalFilename: string;
9167
- }[] | undefined> | undefined;
10235
+ }[] | [string, string] | null | undefined> | undefined;
9168
10236
  originalActionId?: string | undefined;
10237
+ keepAssignment?: boolean | undefined;
9169
10238
  }>, z.ZodObject<z.objectUtil.extendShape<{
9170
- eventId: z.ZodString;
10239
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9171
10240
  transactionId: z.ZodString;
9172
- 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<{
9173
10242
  filename: z.ZodString;
9174
10243
  originalFilename: z.ZodString;
9175
10244
  type: z.ZodString;
@@ -9282,8 +10351,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9282
10351
  addressLine2?: string | null | undefined;
9283
10352
  addressLine3?: string | null | undefined;
9284
10353
  postcodeOrZip?: string | null | undefined;
9285
- }>]>>>;
9286
- 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<{
9287
10368
  filename: z.ZodString;
9288
10369
  originalFilename: z.ZodString;
9289
10370
  type: z.ZodString;
@@ -9396,13 +10477,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9396
10477
  addressLine2?: string | null | undefined;
9397
10478
  addressLine3?: string | null | undefined;
9398
10479
  postcodeOrZip?: string | null | undefined;
9399
- }>]>>>;
9400
- 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">>;
10494
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9401
10495
  }, {
9402
10496
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
9403
10497
  assignedTo: z.ZodString;
9404
10498
  }>, "strip", z.ZodTypeAny, {
9405
10499
  type: "ASSIGN";
10500
+ transactionId: string;
9406
10501
  declaration: Record<string, string | number | boolean | {
9407
10502
  type: string;
9408
10503
  filename: string;
@@ -9418,6 +10513,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9418
10513
  residentialArea?: string | null | undefined;
9419
10514
  street?: string | null | undefined;
9420
10515
  zipCode?: string | null | undefined;
10516
+ } | {
10517
+ firstname: string;
10518
+ surname: string;
10519
+ middlename?: string | null | undefined;
9421
10520
  } | {
9422
10521
  country: string;
9423
10522
  district: string;
@@ -9440,10 +10539,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9440
10539
  option: string;
9441
10540
  filename: string;
9442
10541
  originalFilename: string;
9443
- }[] | undefined>;
10542
+ }[] | [string, string] | null | undefined>;
9444
10543
  assignedTo: string;
9445
- eventId: string;
9446
- transactionId: string;
10544
+ eventId: string & z.BRAND<"UUID">;
9447
10545
  annotation?: Record<string, string | number | boolean | {
9448
10546
  type: string;
9449
10547
  filename: string;
@@ -9459,6 +10557,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9459
10557
  residentialArea?: string | null | undefined;
9460
10558
  street?: string | null | undefined;
9461
10559
  zipCode?: string | null | undefined;
10560
+ } | {
10561
+ firstname: string;
10562
+ surname: string;
10563
+ middlename?: string | null | undefined;
9462
10564
  } | {
9463
10565
  country: string;
9464
10566
  district: string;
@@ -9481,12 +10583,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9481
10583
  option: string;
9482
10584
  filename: string;
9483
10585
  originalFilename: string;
9484
- }[] | undefined> | undefined;
9485
- originalActionId?: string | undefined;
10586
+ }[] | [string, string] | null | undefined> | undefined;
10587
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
10588
+ keepAssignment?: boolean | undefined;
9486
10589
  }, {
10590
+ transactionId: string;
9487
10591
  assignedTo: string;
9488
10592
  eventId: string;
9489
- transactionId: string;
9490
10593
  type?: "ASSIGN" | undefined;
9491
10594
  declaration?: Record<string, string | number | boolean | {
9492
10595
  type: string;
@@ -9503,6 +10606,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9503
10606
  residentialArea?: string | null | undefined;
9504
10607
  street?: string | null | undefined;
9505
10608
  zipCode?: string | null | undefined;
10609
+ } | {
10610
+ firstname: string;
10611
+ surname: string;
10612
+ middlename?: string | null | undefined;
9506
10613
  } | {
9507
10614
  country: string;
9508
10615
  district: string;
@@ -9525,7 +10632,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9525
10632
  option: string;
9526
10633
  filename: string;
9527
10634
  originalFilename: string;
9528
- }[] | undefined> | undefined;
10635
+ }[] | [string, string] | null | undefined> | undefined;
9529
10636
  annotation?: Record<string, string | number | boolean | {
9530
10637
  type: string;
9531
10638
  filename: string;
@@ -9541,6 +10648,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9541
10648
  residentialArea?: string | null | undefined;
9542
10649
  street?: string | null | undefined;
9543
10650
  zipCode?: string | null | undefined;
10651
+ } | {
10652
+ firstname: string;
10653
+ surname: string;
10654
+ middlename?: string | null | undefined;
9544
10655
  } | {
9545
10656
  country: string;
9546
10657
  district: string;
@@ -9563,12 +10674,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9563
10674
  option: string;
9564
10675
  filename: string;
9565
10676
  originalFilename: string;
9566
- }[] | undefined> | undefined;
10677
+ }[] | [string, string] | null | undefined> | undefined;
9567
10678
  originalActionId?: string | undefined;
10679
+ keepAssignment?: boolean | undefined;
9568
10680
  }>, z.ZodObject<z.objectUtil.extendShape<{
9569
- eventId: z.ZodString;
10681
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9570
10682
  transactionId: z.ZodString;
9571
- 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<{
9572
10684
  filename: z.ZodString;
9573
10685
  originalFilename: z.ZodString;
9574
10686
  type: z.ZodString;
@@ -9681,8 +10793,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9681
10793
  addressLine2?: string | null | undefined;
9682
10794
  addressLine3?: string | null | undefined;
9683
10795
  postcodeOrZip?: string | null | undefined;
9684
- }>]>>>;
9685
- 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<{
9686
10810
  filename: z.ZodString;
9687
10811
  originalFilename: z.ZodString;
9688
10812
  type: z.ZodString;
@@ -9795,13 +10919,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9795
10919
  addressLine2?: string | null | undefined;
9796
10920
  addressLine3?: string | null | undefined;
9797
10921
  postcodeOrZip?: string | null | undefined;
9798
- }>]>>>;
9799
- 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">>;
10936
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9800
10937
  }, {
9801
10938
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9802
10939
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9803
10940
  }>, "strip", z.ZodTypeAny, {
9804
10941
  type: "UNASSIGN";
10942
+ transactionId: string;
9805
10943
  declaration: Record<string, string | number | boolean | {
9806
10944
  type: string;
9807
10945
  filename: string;
@@ -9817,6 +10955,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9817
10955
  residentialArea?: string | null | undefined;
9818
10956
  street?: string | null | undefined;
9819
10957
  zipCode?: string | null | undefined;
10958
+ } | {
10959
+ firstname: string;
10960
+ surname: string;
10961
+ middlename?: string | null | undefined;
9820
10962
  } | {
9821
10963
  country: string;
9822
10964
  district: string;
@@ -9839,10 +10981,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9839
10981
  option: string;
9840
10982
  filename: string;
9841
10983
  originalFilename: string;
9842
- }[] | undefined>;
10984
+ }[] | [string, string] | null | undefined>;
9843
10985
  assignedTo: null;
9844
- eventId: string;
9845
- transactionId: string;
10986
+ eventId: string & z.BRAND<"UUID">;
9846
10987
  annotation?: Record<string, string | number | boolean | {
9847
10988
  type: string;
9848
10989
  filename: string;
@@ -9858,6 +10999,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9858
10999
  residentialArea?: string | null | undefined;
9859
11000
  street?: string | null | undefined;
9860
11001
  zipCode?: string | null | undefined;
11002
+ } | {
11003
+ firstname: string;
11004
+ surname: string;
11005
+ middlename?: string | null | undefined;
9861
11006
  } | {
9862
11007
  country: string;
9863
11008
  district: string;
@@ -9880,11 +11025,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9880
11025
  option: string;
9881
11026
  filename: string;
9882
11027
  originalFilename: string;
9883
- }[] | undefined> | undefined;
9884
- originalActionId?: string | undefined;
11028
+ }[] | [string, string] | null | undefined> | undefined;
11029
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11030
+ keepAssignment?: boolean | undefined;
9885
11031
  }, {
9886
- eventId: string;
9887
11032
  transactionId: string;
11033
+ eventId: string;
9888
11034
  type?: "UNASSIGN" | undefined;
9889
11035
  declaration?: Record<string, string | number | boolean | {
9890
11036
  type: string;
@@ -9901,6 +11047,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9901
11047
  residentialArea?: string | null | undefined;
9902
11048
  street?: string | null | undefined;
9903
11049
  zipCode?: string | null | undefined;
11050
+ } | {
11051
+ firstname: string;
11052
+ surname: string;
11053
+ middlename?: string | null | undefined;
9904
11054
  } | {
9905
11055
  country: string;
9906
11056
  district: string;
@@ -9923,7 +11073,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9923
11073
  option: string;
9924
11074
  filename: string;
9925
11075
  originalFilename: string;
9926
- }[] | undefined> | undefined;
11076
+ }[] | [string, string] | null | undefined> | undefined;
9927
11077
  annotation?: Record<string, string | number | boolean | {
9928
11078
  type: string;
9929
11079
  filename: string;
@@ -9939,6 +11089,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9939
11089
  residentialArea?: string | null | undefined;
9940
11090
  street?: string | null | undefined;
9941
11091
  zipCode?: string | null | undefined;
11092
+ } | {
11093
+ firstname: string;
11094
+ surname: string;
11095
+ middlename?: string | null | undefined;
9942
11096
  } | {
9943
11097
  country: string;
9944
11098
  district: string;
@@ -9961,13 +11115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9961
11115
  option: string;
9962
11116
  filename: string;
9963
11117
  originalFilename: string;
9964
- }[] | undefined> | undefined;
11118
+ }[] | [string, string] | null | undefined> | undefined;
9965
11119
  originalActionId?: string | undefined;
9966
11120
  assignedTo?: null | undefined;
11121
+ keepAssignment?: boolean | undefined;
9967
11122
  }>, z.ZodObject<z.objectUtil.extendShape<{
9968
- eventId: z.ZodString;
11123
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
9969
11124
  transactionId: z.ZodString;
9970
- 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<{
9971
11126
  filename: z.ZodString;
9972
11127
  originalFilename: z.ZodString;
9973
11128
  type: z.ZodString;
@@ -10080,8 +11235,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10080
11235
  addressLine2?: string | null | undefined;
10081
11236
  addressLine3?: string | null | undefined;
10082
11237
  postcodeOrZip?: string | null | undefined;
10083
- }>]>>>;
10084
- 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<{
10085
11252
  filename: z.ZodString;
10086
11253
  originalFilename: z.ZodString;
10087
11254
  type: z.ZodString;
@@ -10194,12 +11361,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10194
11361
  addressLine2?: string | null | undefined;
10195
11362
  addressLine3?: string | null | undefined;
10196
11363
  postcodeOrZip?: string | null | undefined;
10197
- }>]>>>;
10198
- 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">>;
11378
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10199
11379
  }, {
10200
11380
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10201
11381
  }>, "strip", z.ZodTypeAny, {
10202
11382
  type: "PRINT_CERTIFICATE";
11383
+ transactionId: string;
10203
11384
  declaration: Record<string, string | number | boolean | {
10204
11385
  type: string;
10205
11386
  filename: string;
@@ -10215,6 +11396,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10215
11396
  residentialArea?: string | null | undefined;
10216
11397
  street?: string | null | undefined;
10217
11398
  zipCode?: string | null | undefined;
11399
+ } | {
11400
+ firstname: string;
11401
+ surname: string;
11402
+ middlename?: string | null | undefined;
10218
11403
  } | {
10219
11404
  country: string;
10220
11405
  district: string;
@@ -10237,9 +11422,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10237
11422
  option: string;
10238
11423
  filename: string;
10239
11424
  originalFilename: string;
10240
- }[] | undefined>;
10241
- eventId: string;
10242
- transactionId: string;
11425
+ }[] | [string, string] | null | undefined>;
11426
+ eventId: string & z.BRAND<"UUID">;
10243
11427
  annotation?: Record<string, string | number | boolean | {
10244
11428
  type: string;
10245
11429
  filename: string;
@@ -10255,6 +11439,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10255
11439
  residentialArea?: string | null | undefined;
10256
11440
  street?: string | null | undefined;
10257
11441
  zipCode?: string | null | undefined;
11442
+ } | {
11443
+ firstname: string;
11444
+ surname: string;
11445
+ middlename?: string | null | undefined;
10258
11446
  } | {
10259
11447
  country: string;
10260
11448
  district: string;
@@ -10277,11 +11465,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10277
11465
  option: string;
10278
11466
  filename: string;
10279
11467
  originalFilename: string;
10280
- }[] | undefined> | undefined;
10281
- originalActionId?: string | undefined;
11468
+ }[] | [string, string] | null | undefined> | undefined;
11469
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11470
+ keepAssignment?: boolean | undefined;
10282
11471
  }, {
10283
- eventId: string;
10284
11472
  transactionId: string;
11473
+ eventId: string;
10285
11474
  type?: "PRINT_CERTIFICATE" | undefined;
10286
11475
  declaration?: Record<string, string | number | boolean | {
10287
11476
  type: string;
@@ -10298,6 +11487,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10298
11487
  residentialArea?: string | null | undefined;
10299
11488
  street?: string | null | undefined;
10300
11489
  zipCode?: string | null | undefined;
11490
+ } | {
11491
+ firstname: string;
11492
+ surname: string;
11493
+ middlename?: string | null | undefined;
10301
11494
  } | {
10302
11495
  country: string;
10303
11496
  district: string;
@@ -10320,7 +11513,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10320
11513
  option: string;
10321
11514
  filename: string;
10322
11515
  originalFilename: string;
10323
- }[] | undefined> | undefined;
11516
+ }[] | [string, string] | null | undefined> | undefined;
10324
11517
  annotation?: Record<string, string | number | boolean | {
10325
11518
  type: string;
10326
11519
  filename: string;
@@ -10336,6 +11529,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10336
11529
  residentialArea?: string | null | undefined;
10337
11530
  street?: string | null | undefined;
10338
11531
  zipCode?: string | null | undefined;
11532
+ } | {
11533
+ firstname: string;
11534
+ surname: string;
11535
+ middlename?: string | null | undefined;
10339
11536
  } | {
10340
11537
  country: string;
10341
11538
  district: string;
@@ -10358,12 +11555,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10358
11555
  option: string;
10359
11556
  filename: string;
10360
11557
  originalFilename: string;
10361
- }[] | undefined> | undefined;
11558
+ }[] | [string, string] | null | undefined> | undefined;
10362
11559
  originalActionId?: string | undefined;
11560
+ keepAssignment?: boolean | undefined;
10363
11561
  }>, z.ZodObject<z.objectUtil.extendShape<{
10364
- eventId: z.ZodString;
11562
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10365
11563
  transactionId: z.ZodString;
10366
- 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<{
10367
11565
  filename: z.ZodString;
10368
11566
  originalFilename: z.ZodString;
10369
11567
  type: z.ZodString;
@@ -10476,8 +11674,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10476
11674
  addressLine2?: string | null | undefined;
10477
11675
  addressLine3?: string | null | undefined;
10478
11676
  postcodeOrZip?: string | null | undefined;
10479
- }>]>>>;
10480
- 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<{
10481
11691
  filename: z.ZodString;
10482
11692
  originalFilename: z.ZodString;
10483
11693
  type: z.ZodString;
@@ -10590,12 +11800,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10590
11800
  addressLine2?: string | null | undefined;
10591
11801
  addressLine3?: string | null | undefined;
10592
11802
  postcodeOrZip?: string | null | undefined;
10593
- }>]>>>;
10594
- 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">>;
11817
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10595
11818
  }, {
10596
11819
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10597
11820
  }>, "strip", z.ZodTypeAny, {
10598
11821
  type: "REQUEST_CORRECTION";
11822
+ transactionId: string;
10599
11823
  declaration: Record<string, string | number | boolean | {
10600
11824
  type: string;
10601
11825
  filename: string;
@@ -10611,6 +11835,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10611
11835
  residentialArea?: string | null | undefined;
10612
11836
  street?: string | null | undefined;
10613
11837
  zipCode?: string | null | undefined;
11838
+ } | {
11839
+ firstname: string;
11840
+ surname: string;
11841
+ middlename?: string | null | undefined;
10614
11842
  } | {
10615
11843
  country: string;
10616
11844
  district: string;
@@ -10633,9 +11861,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10633
11861
  option: string;
10634
11862
  filename: string;
10635
11863
  originalFilename: string;
10636
- }[] | undefined>;
10637
- eventId: string;
10638
- transactionId: string;
11864
+ }[] | [string, string] | null | undefined>;
11865
+ eventId: string & z.BRAND<"UUID">;
10639
11866
  annotation?: Record<string, string | number | boolean | {
10640
11867
  type: string;
10641
11868
  filename: string;
@@ -10651,6 +11878,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10651
11878
  residentialArea?: string | null | undefined;
10652
11879
  street?: string | null | undefined;
10653
11880
  zipCode?: string | null | undefined;
11881
+ } | {
11882
+ firstname: string;
11883
+ surname: string;
11884
+ middlename?: string | null | undefined;
10654
11885
  } | {
10655
11886
  country: string;
10656
11887
  district: string;
@@ -10673,11 +11904,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10673
11904
  option: string;
10674
11905
  filename: string;
10675
11906
  originalFilename: string;
10676
- }[] | undefined> | undefined;
10677
- originalActionId?: string | undefined;
11907
+ }[] | [string, string] | null | undefined> | undefined;
11908
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
11909
+ keepAssignment?: boolean | undefined;
10678
11910
  }, {
10679
- eventId: string;
10680
11911
  transactionId: string;
11912
+ eventId: string;
10681
11913
  type?: "REQUEST_CORRECTION" | undefined;
10682
11914
  declaration?: Record<string, string | number | boolean | {
10683
11915
  type: string;
@@ -10694,6 +11926,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10694
11926
  residentialArea?: string | null | undefined;
10695
11927
  street?: string | null | undefined;
10696
11928
  zipCode?: string | null | undefined;
11929
+ } | {
11930
+ firstname: string;
11931
+ surname: string;
11932
+ middlename?: string | null | undefined;
10697
11933
  } | {
10698
11934
  country: string;
10699
11935
  district: string;
@@ -10716,7 +11952,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10716
11952
  option: string;
10717
11953
  filename: string;
10718
11954
  originalFilename: string;
10719
- }[] | undefined> | undefined;
11955
+ }[] | [string, string] | null | undefined> | undefined;
10720
11956
  annotation?: Record<string, string | number | boolean | {
10721
11957
  type: string;
10722
11958
  filename: string;
@@ -10732,6 +11968,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10732
11968
  residentialArea?: string | null | undefined;
10733
11969
  street?: string | null | undefined;
10734
11970
  zipCode?: string | null | undefined;
11971
+ } | {
11972
+ firstname: string;
11973
+ surname: string;
11974
+ middlename?: string | null | undefined;
10735
11975
  } | {
10736
11976
  country: string;
10737
11977
  district: string;
@@ -10754,12 +11994,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10754
11994
  option: string;
10755
11995
  filename: string;
10756
11996
  originalFilename: string;
10757
- }[] | undefined> | undefined;
11997
+ }[] | [string, string] | null | undefined> | undefined;
10758
11998
  originalActionId?: string | undefined;
11999
+ keepAssignment?: boolean | undefined;
10759
12000
  }>, z.ZodObject<z.objectUtil.extendShape<{
10760
- eventId: z.ZodString;
12001
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
10761
12002
  transactionId: z.ZodString;
10762
- 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<{
10763
12004
  filename: z.ZodString;
10764
12005
  originalFilename: z.ZodString;
10765
12006
  type: z.ZodString;
@@ -10872,8 +12113,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10872
12113
  addressLine2?: string | null | undefined;
10873
12114
  addressLine3?: string | null | undefined;
10874
12115
  postcodeOrZip?: string | null | undefined;
10875
- }>]>>>;
10876
- 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<{
10877
12130
  filename: z.ZodString;
10878
12131
  originalFilename: z.ZodString;
10879
12132
  type: z.ZodString;
@@ -10986,13 +12239,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10986
12239
  addressLine2?: string | null | undefined;
10987
12240
  addressLine3?: string | null | undefined;
10988
12241
  postcodeOrZip?: string | null | undefined;
10989
- }>]>>>;
10990
- 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">>;
12256
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10991
12257
  }, {
10992
12258
  requestId: z.ZodString;
10993
12259
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10994
12260
  }>, "strip", z.ZodTypeAny, {
10995
12261
  type: "REJECT_CORRECTION";
12262
+ transactionId: string;
10996
12263
  declaration: Record<string, string | number | boolean | {
10997
12264
  type: string;
10998
12265
  filename: string;
@@ -11008,6 +12275,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11008
12275
  residentialArea?: string | null | undefined;
11009
12276
  street?: string | null | undefined;
11010
12277
  zipCode?: string | null | undefined;
12278
+ } | {
12279
+ firstname: string;
12280
+ surname: string;
12281
+ middlename?: string | null | undefined;
11011
12282
  } | {
11012
12283
  country: string;
11013
12284
  district: string;
@@ -11030,10 +12301,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11030
12301
  option: string;
11031
12302
  filename: string;
11032
12303
  originalFilename: string;
11033
- }[] | undefined>;
12304
+ }[] | [string, string] | null | undefined>;
11034
12305
  requestId: string;
11035
- eventId: string;
11036
- transactionId: string;
12306
+ eventId: string & z.BRAND<"UUID">;
11037
12307
  annotation?: Record<string, string | number | boolean | {
11038
12308
  type: string;
11039
12309
  filename: string;
@@ -11049,6 +12319,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11049
12319
  residentialArea?: string | null | undefined;
11050
12320
  street?: string | null | undefined;
11051
12321
  zipCode?: string | null | undefined;
12322
+ } | {
12323
+ firstname: string;
12324
+ surname: string;
12325
+ middlename?: string | null | undefined;
11052
12326
  } | {
11053
12327
  country: string;
11054
12328
  district: string;
@@ -11071,12 +12345,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11071
12345
  option: string;
11072
12346
  filename: string;
11073
12347
  originalFilename: string;
11074
- }[] | undefined> | undefined;
11075
- originalActionId?: string | undefined;
12348
+ }[] | [string, string] | null | undefined> | undefined;
12349
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12350
+ keepAssignment?: boolean | undefined;
11076
12351
  }, {
12352
+ transactionId: string;
11077
12353
  requestId: string;
11078
12354
  eventId: string;
11079
- transactionId: string;
11080
12355
  type?: "REJECT_CORRECTION" | undefined;
11081
12356
  declaration?: Record<string, string | number | boolean | {
11082
12357
  type: string;
@@ -11093,6 +12368,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11093
12368
  residentialArea?: string | null | undefined;
11094
12369
  street?: string | null | undefined;
11095
12370
  zipCode?: string | null | undefined;
12371
+ } | {
12372
+ firstname: string;
12373
+ surname: string;
12374
+ middlename?: string | null | undefined;
11096
12375
  } | {
11097
12376
  country: string;
11098
12377
  district: string;
@@ -11115,7 +12394,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11115
12394
  option: string;
11116
12395
  filename: string;
11117
12396
  originalFilename: string;
11118
- }[] | undefined> | undefined;
12397
+ }[] | [string, string] | null | undefined> | undefined;
11119
12398
  annotation?: Record<string, string | number | boolean | {
11120
12399
  type: string;
11121
12400
  filename: string;
@@ -11131,6 +12410,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11131
12410
  residentialArea?: string | null | undefined;
11132
12411
  street?: string | null | undefined;
11133
12412
  zipCode?: string | null | undefined;
12413
+ } | {
12414
+ firstname: string;
12415
+ surname: string;
12416
+ middlename?: string | null | undefined;
11134
12417
  } | {
11135
12418
  country: string;
11136
12419
  district: string;
@@ -11153,12 +12436,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11153
12436
  option: string;
11154
12437
  filename: string;
11155
12438
  originalFilename: string;
11156
- }[] | undefined> | undefined;
12439
+ }[] | [string, string] | null | undefined> | undefined;
11157
12440
  originalActionId?: string | undefined;
12441
+ keepAssignment?: boolean | undefined;
11158
12442
  }>, z.ZodObject<z.objectUtil.extendShape<{
11159
- eventId: z.ZodString;
12443
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11160
12444
  transactionId: z.ZodString;
11161
- 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<{
11162
12446
  filename: z.ZodString;
11163
12447
  originalFilename: z.ZodString;
11164
12448
  type: z.ZodString;
@@ -11271,8 +12555,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11271
12555
  addressLine2?: string | null | undefined;
11272
12556
  addressLine3?: string | null | undefined;
11273
12557
  postcodeOrZip?: string | null | undefined;
11274
- }>]>>>;
11275
- 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<{
11276
12572
  filename: z.ZodString;
11277
12573
  originalFilename: z.ZodString;
11278
12574
  type: z.ZodString;
@@ -11385,13 +12681,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11385
12681
  addressLine2?: string | null | undefined;
11386
12682
  addressLine3?: string | null | undefined;
11387
12683
  postcodeOrZip?: string | null | undefined;
11388
- }>]>>>;
11389
- 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">>;
12698
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
11390
12699
  }, {
11391
12700
  requestId: z.ZodString;
11392
12701
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11393
12702
  }>, "strip", z.ZodTypeAny, {
11394
12703
  type: "APPROVE_CORRECTION";
12704
+ transactionId: string;
11395
12705
  declaration: Record<string, string | number | boolean | {
11396
12706
  type: string;
11397
12707
  filename: string;
@@ -11407,6 +12717,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11407
12717
  residentialArea?: string | null | undefined;
11408
12718
  street?: string | null | undefined;
11409
12719
  zipCode?: string | null | undefined;
12720
+ } | {
12721
+ firstname: string;
12722
+ surname: string;
12723
+ middlename?: string | null | undefined;
11410
12724
  } | {
11411
12725
  country: string;
11412
12726
  district: string;
@@ -11429,10 +12743,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11429
12743
  option: string;
11430
12744
  filename: string;
11431
12745
  originalFilename: string;
11432
- }[] | undefined>;
12746
+ }[] | [string, string] | null | undefined>;
11433
12747
  requestId: string;
11434
- eventId: string;
11435
- transactionId: string;
12748
+ eventId: string & z.BRAND<"UUID">;
11436
12749
  annotation?: Record<string, string | number | boolean | {
11437
12750
  type: string;
11438
12751
  filename: string;
@@ -11448,6 +12761,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11448
12761
  residentialArea?: string | null | undefined;
11449
12762
  street?: string | null | undefined;
11450
12763
  zipCode?: string | null | undefined;
12764
+ } | {
12765
+ firstname: string;
12766
+ surname: string;
12767
+ middlename?: string | null | undefined;
11451
12768
  } | {
11452
12769
  country: string;
11453
12770
  district: string;
@@ -11470,12 +12787,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11470
12787
  option: string;
11471
12788
  filename: string;
11472
12789
  originalFilename: string;
11473
- }[] | undefined> | undefined;
11474
- originalActionId?: string | undefined;
12790
+ }[] | [string, string] | null | undefined> | undefined;
12791
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
12792
+ keepAssignment?: boolean | undefined;
11475
12793
  }, {
12794
+ transactionId: string;
11476
12795
  requestId: string;
11477
12796
  eventId: string;
11478
- transactionId: string;
11479
12797
  type?: "APPROVE_CORRECTION" | undefined;
11480
12798
  declaration?: Record<string, string | number | boolean | {
11481
12799
  type: string;
@@ -11492,6 +12810,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11492
12810
  residentialArea?: string | null | undefined;
11493
12811
  street?: string | null | undefined;
11494
12812
  zipCode?: string | null | undefined;
12813
+ } | {
12814
+ firstname: string;
12815
+ surname: string;
12816
+ middlename?: string | null | undefined;
11495
12817
  } | {
11496
12818
  country: string;
11497
12819
  district: string;
@@ -11514,7 +12836,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11514
12836
  option: string;
11515
12837
  filename: string;
11516
12838
  originalFilename: string;
11517
- }[] | undefined> | undefined;
12839
+ }[] | [string, string] | null | undefined> | undefined;
11518
12840
  annotation?: Record<string, string | number | boolean | {
11519
12841
  type: string;
11520
12842
  filename: string;
@@ -11530,6 +12852,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11530
12852
  residentialArea?: string | null | undefined;
11531
12853
  street?: string | null | undefined;
11532
12854
  zipCode?: string | null | undefined;
12855
+ } | {
12856
+ firstname: string;
12857
+ surname: string;
12858
+ middlename?: string | null | undefined;
11533
12859
  } | {
11534
12860
  country: string;
11535
12861
  district: string;
@@ -11552,12 +12878,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11552
12878
  option: string;
11553
12879
  filename: string;
11554
12880
  originalFilename: string;
11555
- }[] | undefined> | undefined;
12881
+ }[] | [string, string] | null | undefined> | undefined;
11556
12882
  originalActionId?: string | undefined;
12883
+ keepAssignment?: boolean | undefined;
11557
12884
  }>, z.ZodObject<z.objectUtil.extendShape<{
11558
- eventId: z.ZodString;
12885
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
11559
12886
  transactionId: z.ZodString;
11560
- 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<{
11561
12888
  filename: z.ZodString;
11562
12889
  originalFilename: z.ZodString;
11563
12890
  type: z.ZodString;
@@ -11670,8 +12997,20 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11670
12997
  addressLine2?: string | null | undefined;
11671
12998
  addressLine3?: string | null | undefined;
11672
12999
  postcodeOrZip?: string | null | undefined;
11673
- }>]>>>;
11674
- 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<{
11675
13014
  filename: z.ZodString;
11676
13015
  originalFilename: z.ZodString;
11677
13016
  type: z.ZodString;
@@ -11784,12 +13123,26 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11784
13123
  addressLine2?: string | null | undefined;
11785
13124
  addressLine3?: string | null | undefined;
11786
13125
  postcodeOrZip?: string | null | undefined;
11787
- }>]>>>;
11788
- 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">>;
13140
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
11789
13141
  }, {
11790
13142
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11791
13143
  }>, "strip", z.ZodTypeAny, {
11792
13144
  type: "READ";
13145
+ transactionId: string;
11793
13146
  declaration: Record<string, string | number | boolean | {
11794
13147
  type: string;
11795
13148
  filename: string;
@@ -11805,6 +13158,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11805
13158
  residentialArea?: string | null | undefined;
11806
13159
  street?: string | null | undefined;
11807
13160
  zipCode?: string | null | undefined;
13161
+ } | {
13162
+ firstname: string;
13163
+ surname: string;
13164
+ middlename?: string | null | undefined;
11808
13165
  } | {
11809
13166
  country: string;
11810
13167
  district: string;
@@ -11827,9 +13184,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11827
13184
  option: string;
11828
13185
  filename: string;
11829
13186
  originalFilename: string;
11830
- }[] | undefined>;
11831
- eventId: string;
11832
- transactionId: string;
13187
+ }[] | [string, string] | null | undefined>;
13188
+ eventId: string & z.BRAND<"UUID">;
11833
13189
  annotation?: Record<string, string | number | boolean | {
11834
13190
  type: string;
11835
13191
  filename: string;
@@ -11845,6 +13201,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11845
13201
  residentialArea?: string | null | undefined;
11846
13202
  street?: string | null | undefined;
11847
13203
  zipCode?: string | null | undefined;
13204
+ } | {
13205
+ firstname: string;
13206
+ surname: string;
13207
+ middlename?: string | null | undefined;
11848
13208
  } | {
11849
13209
  country: string;
11850
13210
  district: string;
@@ -11867,11 +13227,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11867
13227
  option: string;
11868
13228
  filename: string;
11869
13229
  originalFilename: string;
11870
- }[] | undefined> | undefined;
11871
- originalActionId?: string | undefined;
13230
+ }[] | [string, string] | null | undefined> | undefined;
13231
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13232
+ keepAssignment?: boolean | undefined;
11872
13233
  }, {
11873
- eventId: string;
11874
13234
  transactionId: string;
13235
+ eventId: string;
11875
13236
  type?: "READ" | undefined;
11876
13237
  declaration?: Record<string, string | number | boolean | {
11877
13238
  type: string;
@@ -11888,6 +13249,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11888
13249
  residentialArea?: string | null | undefined;
11889
13250
  street?: string | null | undefined;
11890
13251
  zipCode?: string | null | undefined;
13252
+ } | {
13253
+ firstname: string;
13254
+ surname: string;
13255
+ middlename?: string | null | undefined;
11891
13256
  } | {
11892
13257
  country: string;
11893
13258
  district: string;
@@ -11910,7 +13275,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11910
13275
  option: string;
11911
13276
  filename: string;
11912
13277
  originalFilename: string;
11913
- }[] | undefined> | undefined;
13278
+ }[] | [string, string] | null | undefined> | undefined;
11914
13279
  annotation?: Record<string, string | number | boolean | {
11915
13280
  type: string;
11916
13281
  filename: string;
@@ -11926,6 +13291,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11926
13291
  residentialArea?: string | null | undefined;
11927
13292
  street?: string | null | undefined;
11928
13293
  zipCode?: string | null | undefined;
13294
+ } | {
13295
+ firstname: string;
13296
+ surname: string;
13297
+ middlename?: string | null | undefined;
11929
13298
  } | {
11930
13299
  country: string;
11931
13300
  district: string;
@@ -11948,8 +13317,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11948
13317
  option: string;
11949
13318
  filename: string;
11950
13319
  originalFilename: string;
11951
- }[] | undefined> | undefined;
13320
+ }[] | [string, string] | null | undefined> | undefined;
11952
13321
  originalActionId?: string | undefined;
13322
+ keepAssignment?: boolean | undefined;
11953
13323
  }>]>;
11954
13324
  export type ActionInput = z.input<typeof ActionInput>;
11955
13325
  export type ActionInputWithType = z.infer<typeof ActionInput>;