@opencrvs/toolkit 1.8.0-rc.fca3e39 → 1.8.0-rc.fcb9386

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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/commons/api/router.d.ts +12639 -14167
  3. package/dist/commons/conditionals/conditionals.d.ts +32 -6
  4. package/dist/commons/conditionals/validate.d.ts +12 -17
  5. package/dist/commons/events/ActionConfig.d.ts +92869 -2005
  6. package/dist/commons/events/ActionDocument.d.ts +8019 -401
  7. package/dist/commons/events/ActionInput.d.ts +2365 -548
  8. package/dist/commons/events/ActionType.d.ts +26 -16
  9. package/dist/commons/events/AdvancedSearchConfig.d.ts +957 -22
  10. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  11. package/dist/commons/events/Conditional.d.ts +21 -5
  12. package/dist/commons/events/Constants.d.ts +2 -0
  13. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  14. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  15. package/dist/commons/events/Draft.d.ts +93 -60
  16. package/dist/commons/events/EventConfig.d.ts +42302 -1760
  17. package/dist/commons/events/EventConfigInput.d.ts +6 -3
  18. package/dist/commons/events/EventDocument.d.ts +1225 -529
  19. package/dist/commons/events/EventIndex.d.ts +1328 -13
  20. package/dist/commons/events/EventMetadata.d.ts +270 -11
  21. package/dist/commons/events/FieldConfig.d.ts +4704 -786
  22. package/dist/commons/events/FieldType.d.ts +4 -3
  23. package/dist/commons/events/FieldTypeMapping.d.ts +33 -5
  24. package/dist/commons/events/FieldValue.d.ts +12 -7
  25. package/dist/commons/events/FormConfig.d.ts +43810 -73
  26. package/dist/commons/events/PageConfig.d.ts +10991 -0
  27. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  28. package/dist/commons/events/TemplateConfig.d.ts +5 -5
  29. package/dist/commons/events/User.d.ts +31 -2
  30. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  31. package/dist/commons/events/WorkqueueConfig.d.ts +4525 -20
  32. package/dist/commons/events/defineConfig.d.ts +6560 -223
  33. package/dist/commons/events/event.d.ts +54 -0
  34. package/dist/commons/events/field.d.ts +82 -0
  35. package/dist/commons/events/index.d.ts +9 -1
  36. package/dist/commons/events/scopes.d.ts +45 -0
  37. package/dist/commons/events/serializer.d.ts +2 -0
  38. package/dist/commons/events/test.utils.d.ts +93 -327
  39. package/dist/commons/events/utils.d.ts +3701 -96
  40. package/dist/commons/events/utils.test.d.ts +2 -0
  41. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  42. package/dist/conditionals/index.js +210 -122
  43. package/dist/events/index.js +4464 -1981
  44. package/dist/scopes/index.d.ts +158 -1
  45. package/dist/scopes/index.js +152 -1
  46. package/package.json +3 -2
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const BaseActionInput: z.ZodObject<{
3
3
  eventId: z.ZodString;
4
4
  transactionId: z.ZodString;
5
- data: 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;
@@ -85,7 +85,7 @@ export declare const BaseActionInput: z.ZodObject<{
85
85
  province: string;
86
86
  urbanOrRural: "RURAL";
87
87
  village?: string | null | undefined;
88
- }>, z.ZodObject<{
88
+ }>, z.ZodUndefined, z.ZodObject<{
89
89
  country: z.ZodString;
90
90
  addressType: z.ZodLiteral<"INTERNATIONAL">;
91
91
  state: z.ZodString;
@@ -115,8 +115,8 @@ 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
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
118
+ }>]>>>;
119
+ 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
120
  filename: z.ZodString;
121
121
  originalFilename: z.ZodString;
122
122
  type: z.ZodString;
@@ -199,7 +199,7 @@ export declare const BaseActionInput: z.ZodObject<{
199
199
  province: string;
200
200
  urbanOrRural: "RURAL";
201
201
  village?: string | null | undefined;
202
- }>, z.ZodObject<{
202
+ }>, z.ZodUndefined, z.ZodObject<{
203
203
  country: z.ZodString;
204
204
  addressType: z.ZodLiteral<"INTERNATIONAL">;
205
205
  state: z.ZodString;
@@ -230,8 +230,11 @@ export declare const BaseActionInput: z.ZodObject<{
230
230
  addressLine3?: string | null | undefined;
231
231
  postcodeOrZip?: string | null | undefined;
232
232
  }>]>>>;
233
+ originalActionId: z.ZodOptional<z.ZodString>;
234
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
233
235
  }, "strip", z.ZodTypeAny, {
234
- data: Record<string, string | number | boolean | {
236
+ transactionId: string;
237
+ declaration: Record<string, string | number | boolean | {
235
238
  type: string;
236
239
  filename: string;
237
240
  originalFilename: string;
@@ -268,10 +271,9 @@ export declare const BaseActionInput: z.ZodObject<{
268
271
  option: string;
269
272
  filename: string;
270
273
  originalFilename: string;
271
- }[]>;
274
+ }[] | [string, string] | undefined>;
272
275
  eventId: string;
273
- transactionId: string;
274
- metadata?: Record<string, string | number | boolean | {
276
+ annotation?: Record<string, string | number | boolean | {
275
277
  type: string;
276
278
  filename: string;
277
279
  originalFilename: string;
@@ -308,9 +310,13 @@ export declare const BaseActionInput: z.ZodObject<{
308
310
  option: string;
309
311
  filename: string;
310
312
  originalFilename: string;
311
- }[]> | undefined;
313
+ }[] | [string, string] | undefined> | undefined;
314
+ originalActionId?: string | undefined;
315
+ keepAssignment?: boolean | undefined;
312
316
  }, {
313
- data: Record<string, string | number | boolean | {
317
+ transactionId: string;
318
+ eventId: string;
319
+ declaration?: Record<string, string | number | boolean | {
314
320
  type: string;
315
321
  filename: string;
316
322
  originalFilename: string;
@@ -347,10 +353,8 @@ export declare const BaseActionInput: z.ZodObject<{
347
353
  option: string;
348
354
  filename: string;
349
355
  originalFilename: string;
350
- }[]>;
351
- eventId: string;
352
- transactionId: string;
353
- metadata?: Record<string, string | number | boolean | {
356
+ }[] | [string, string] | undefined> | undefined;
357
+ annotation?: Record<string, string | number | boolean | {
354
358
  type: string;
355
359
  filename: string;
356
360
  originalFilename: string;
@@ -387,12 +391,14 @@ export declare const BaseActionInput: z.ZodObject<{
387
391
  option: string;
388
392
  filename: string;
389
393
  originalFilename: string;
390
- }[]> | undefined;
394
+ }[] | [string, string] | undefined> | undefined;
395
+ originalActionId?: string | undefined;
396
+ keepAssignment?: boolean | undefined;
391
397
  }>;
392
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
393
399
  eventId: z.ZodString;
394
400
  transactionId: z.ZodString;
395
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
401
+ 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<{
396
402
  filename: z.ZodString;
397
403
  originalFilename: z.ZodString;
398
404
  type: z.ZodString;
@@ -475,7 +481,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
475
481
  province: string;
476
482
  urbanOrRural: "RURAL";
477
483
  village?: string | null | undefined;
478
- }>, z.ZodObject<{
484
+ }>, z.ZodUndefined, z.ZodObject<{
479
485
  country: z.ZodString;
480
486
  addressType: z.ZodLiteral<"INTERNATIONAL">;
481
487
  state: z.ZodString;
@@ -505,8 +511,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
505
511
  addressLine2?: string | null | undefined;
506
512
  addressLine3?: string | null | undefined;
507
513
  postcodeOrZip?: string | null | undefined;
508
- }>]>>;
509
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
514
+ }>]>>>;
515
+ 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<{
510
516
  filename: z.ZodString;
511
517
  originalFilename: z.ZodString;
512
518
  type: z.ZodString;
@@ -589,7 +595,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
589
595
  province: string;
590
596
  urbanOrRural: "RURAL";
591
597
  village?: string | null | undefined;
592
- }>, z.ZodObject<{
598
+ }>, z.ZodUndefined, z.ZodObject<{
593
599
  country: z.ZodString;
594
600
  addressType: z.ZodLiteral<"INTERNATIONAL">;
595
601
  state: z.ZodString;
@@ -620,21 +626,15 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
620
626
  addressLine3?: string | null | undefined;
621
627
  postcodeOrZip?: string | null | undefined;
622
628
  }>]>>>;
629
+ originalActionId: z.ZodOptional<z.ZodString>;
630
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
623
631
  }, {
624
632
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
625
- identifiers: z.ZodObject<{
626
- trackingId: z.ZodString;
627
- registrationNumber: z.ZodString;
628
- }, "strip", z.ZodTypeAny, {
629
- trackingId: string;
630
- registrationNumber: string;
631
- }, {
632
- trackingId: string;
633
- registrationNumber: string;
634
- }>;
633
+ registrationNumber: z.ZodOptional<z.ZodString>;
635
634
  }>, "strip", z.ZodTypeAny, {
636
635
  type: "REGISTER";
637
- data: Record<string, string | number | boolean | {
636
+ transactionId: string;
637
+ declaration: Record<string, string | number | boolean | {
638
638
  type: string;
639
639
  filename: string;
640
640
  originalFilename: string;
@@ -671,14 +671,9 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
671
671
  option: string;
672
672
  filename: string;
673
673
  originalFilename: string;
674
- }[]>;
675
- identifiers: {
676
- trackingId: string;
677
- registrationNumber: string;
678
- };
674
+ }[] | [string, string] | undefined>;
679
675
  eventId: string;
680
- transactionId: string;
681
- metadata?: Record<string, string | number | boolean | {
676
+ annotation?: Record<string, string | number | boolean | {
682
677
  type: string;
683
678
  filename: string;
684
679
  originalFilename: string;
@@ -715,9 +710,15 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
715
710
  option: string;
716
711
  filename: string;
717
712
  originalFilename: string;
718
- }[]> | undefined;
713
+ }[] | [string, string] | undefined> | undefined;
714
+ originalActionId?: string | undefined;
715
+ registrationNumber?: string | undefined;
716
+ keepAssignment?: boolean | undefined;
719
717
  }, {
720
- data: Record<string, string | number | boolean | {
718
+ transactionId: string;
719
+ eventId: string;
720
+ type?: "REGISTER" | undefined;
721
+ declaration?: Record<string, string | number | boolean | {
721
722
  type: string;
722
723
  filename: string;
723
724
  originalFilename: string;
@@ -754,15 +755,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
754
755
  option: string;
755
756
  filename: string;
756
757
  originalFilename: string;
757
- }[]>;
758
- identifiers: {
759
- trackingId: string;
760
- registrationNumber: string;
761
- };
762
- eventId: string;
763
- transactionId: string;
764
- type?: "REGISTER" | undefined;
765
- metadata?: Record<string, string | number | boolean | {
758
+ }[] | [string, string] | undefined> | undefined;
759
+ annotation?: Record<string, string | number | boolean | {
766
760
  type: string;
767
761
  filename: string;
768
762
  originalFilename: string;
@@ -799,13 +793,16 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
799
793
  option: string;
800
794
  filename: string;
801
795
  originalFilename: string;
802
- }[]> | undefined;
796
+ }[] | [string, string] | undefined> | undefined;
797
+ originalActionId?: string | undefined;
798
+ registrationNumber?: string | undefined;
799
+ keepAssignment?: boolean | undefined;
803
800
  }>;
804
801
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
805
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
806
803
  eventId: z.ZodString;
807
804
  transactionId: z.ZodString;
808
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
805
+ 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<{
809
806
  filename: z.ZodString;
810
807
  originalFilename: z.ZodString;
811
808
  type: z.ZodString;
@@ -888,7 +885,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
888
885
  province: string;
889
886
  urbanOrRural: "RURAL";
890
887
  village?: string | null | undefined;
891
- }>, z.ZodObject<{
888
+ }>, z.ZodUndefined, z.ZodObject<{
892
889
  country: z.ZodString;
893
890
  addressType: z.ZodLiteral<"INTERNATIONAL">;
894
891
  state: z.ZodString;
@@ -918,8 +915,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
918
915
  addressLine2?: string | null | undefined;
919
916
  addressLine3?: string | null | undefined;
920
917
  postcodeOrZip?: string | null | undefined;
921
- }>]>>;
922
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
918
+ }>]>>>;
919
+ 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<{
923
920
  filename: z.ZodString;
924
921
  originalFilename: z.ZodString;
925
922
  type: z.ZodString;
@@ -1002,7 +999,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1002
999
  province: string;
1003
1000
  urbanOrRural: "RURAL";
1004
1001
  village?: string | null | undefined;
1005
- }>, z.ZodObject<{
1002
+ }>, z.ZodUndefined, z.ZodObject<{
1006
1003
  country: z.ZodString;
1007
1004
  addressType: z.ZodLiteral<"INTERNATIONAL">;
1008
1005
  state: z.ZodString;
@@ -1033,12 +1030,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1033
1030
  addressLine3?: string | null | undefined;
1034
1031
  postcodeOrZip?: string | null | undefined;
1035
1032
  }>]>>>;
1033
+ originalActionId: z.ZodOptional<z.ZodString>;
1034
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1036
1035
  }, {
1037
1036
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1038
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1039
1038
  }>, "strip", z.ZodTypeAny, {
1040
1039
  type: "VALIDATE";
1041
- data: Record<string, string | number | boolean | {
1040
+ transactionId: string;
1041
+ declaration: Record<string, string | number | boolean | {
1042
1042
  type: string;
1043
1043
  filename: string;
1044
1044
  originalFilename: string;
@@ -1075,11 +1075,10 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1075
1075
  option: string;
1076
1076
  filename: string;
1077
1077
  originalFilename: string;
1078
- }[]>;
1078
+ }[] | [string, string] | undefined>;
1079
1079
  eventId: string;
1080
- transactionId: string;
1081
1080
  duplicates: string[];
1082
- metadata?: Record<string, string | number | boolean | {
1081
+ annotation?: Record<string, string | number | boolean | {
1083
1082
  type: string;
1084
1083
  filename: string;
1085
1084
  originalFilename: string;
@@ -1116,9 +1115,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1116
1115
  option: string;
1117
1116
  filename: string;
1118
1117
  originalFilename: string;
1119
- }[]> | undefined;
1118
+ }[] | [string, string] | undefined> | undefined;
1119
+ originalActionId?: string | undefined;
1120
+ keepAssignment?: boolean | undefined;
1120
1121
  }, {
1121
- data: Record<string, string | number | boolean | {
1122
+ transactionId: string;
1123
+ eventId: string;
1124
+ duplicates: string[];
1125
+ type?: "VALIDATE" | undefined;
1126
+ declaration?: Record<string, string | number | boolean | {
1122
1127
  type: string;
1123
1128
  filename: string;
1124
1129
  originalFilename: string;
@@ -1155,12 +1160,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1155
1160
  option: string;
1156
1161
  filename: string;
1157
1162
  originalFilename: string;
1158
- }[]>;
1159
- eventId: string;
1160
- transactionId: string;
1161
- duplicates: string[];
1162
- type?: "VALIDATE" | undefined;
1163
- metadata?: Record<string, string | number | boolean | {
1163
+ }[] | [string, string] | undefined> | undefined;
1164
+ annotation?: Record<string, string | number | boolean | {
1164
1165
  type: string;
1165
1166
  filename: string;
1166
1167
  originalFilename: string;
@@ -1197,13 +1198,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1197
1198
  option: string;
1198
1199
  filename: string;
1199
1200
  originalFilename: string;
1200
- }[]> | undefined;
1201
+ }[] | [string, string] | undefined> | undefined;
1202
+ originalActionId?: string | undefined;
1203
+ keepAssignment?: boolean | undefined;
1201
1204
  }>;
1202
1205
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1203
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1204
1207
  eventId: z.ZodString;
1205
1208
  transactionId: z.ZodString;
1206
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1209
+ 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<{
1207
1210
  filename: z.ZodString;
1208
1211
  originalFilename: z.ZodString;
1209
1212
  type: z.ZodString;
@@ -1286,7 +1289,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1286
1289
  province: string;
1287
1290
  urbanOrRural: "RURAL";
1288
1291
  village?: string | null | undefined;
1289
- }>, z.ZodObject<{
1292
+ }>, z.ZodUndefined, z.ZodObject<{
1290
1293
  country: z.ZodString;
1291
1294
  addressType: z.ZodLiteral<"INTERNATIONAL">;
1292
1295
  state: z.ZodString;
@@ -1316,8 +1319,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1316
1319
  addressLine2?: string | null | undefined;
1317
1320
  addressLine3?: string | null | undefined;
1318
1321
  postcodeOrZip?: string | null | undefined;
1319
- }>]>>;
1320
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1322
+ }>]>>>;
1323
+ 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<{
1321
1324
  filename: z.ZodString;
1322
1325
  originalFilename: z.ZodString;
1323
1326
  type: z.ZodString;
@@ -1400,7 +1403,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1400
1403
  province: string;
1401
1404
  urbanOrRural: "RURAL";
1402
1405
  village?: string | null | undefined;
1403
- }>, z.ZodObject<{
1406
+ }>, z.ZodUndefined, z.ZodObject<{
1404
1407
  country: z.ZodString;
1405
1408
  addressType: z.ZodLiteral<"INTERNATIONAL">;
1406
1409
  state: z.ZodString;
@@ -1431,11 +1434,14 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1431
1434
  addressLine3?: string | null | undefined;
1432
1435
  postcodeOrZip?: string | null | undefined;
1433
1436
  }>]>>>;
1437
+ originalActionId: z.ZodOptional<z.ZodString>;
1438
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1434
1439
  }, {
1435
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1436
1441
  }>, "strip", z.ZodTypeAny, {
1437
1442
  type: "NOTIFY";
1438
- data: Record<string, string | number | boolean | {
1443
+ transactionId: string;
1444
+ declaration: Record<string, string | number | boolean | {
1439
1445
  type: string;
1440
1446
  filename: string;
1441
1447
  originalFilename: string;
@@ -1472,10 +1478,9 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1472
1478
  option: string;
1473
1479
  filename: string;
1474
1480
  originalFilename: string;
1475
- }[]>;
1481
+ }[] | [string, string] | undefined>;
1476
1482
  eventId: string;
1477
- transactionId: string;
1478
- metadata?: Record<string, string | number | boolean | {
1483
+ annotation?: Record<string, string | number | boolean | {
1479
1484
  type: string;
1480
1485
  filename: string;
1481
1486
  originalFilename: string;
@@ -1512,9 +1517,14 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1512
1517
  option: string;
1513
1518
  filename: string;
1514
1519
  originalFilename: string;
1515
- }[]> | undefined;
1520
+ }[] | [string, string] | undefined> | undefined;
1521
+ originalActionId?: string | undefined;
1522
+ keepAssignment?: boolean | undefined;
1516
1523
  }, {
1517
- data: Record<string, string | number | boolean | {
1524
+ transactionId: string;
1525
+ eventId: string;
1526
+ type?: "NOTIFY" | undefined;
1527
+ declaration?: Record<string, string | number | boolean | {
1518
1528
  type: string;
1519
1529
  filename: string;
1520
1530
  originalFilename: string;
@@ -1551,11 +1561,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1551
1561
  option: string;
1552
1562
  filename: string;
1553
1563
  originalFilename: string;
1554
- }[]>;
1555
- eventId: string;
1556
- transactionId: string;
1557
- type?: "NOTIFY" | undefined;
1558
- metadata?: Record<string, string | number | boolean | {
1564
+ }[] | [string, string] | undefined> | undefined;
1565
+ annotation?: Record<string, string | number | boolean | {
1559
1566
  type: string;
1560
1567
  filename: string;
1561
1568
  originalFilename: string;
@@ -1592,13 +1599,15 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1592
1599
  option: string;
1593
1600
  filename: string;
1594
1601
  originalFilename: string;
1595
- }[]> | undefined;
1602
+ }[] | [string, string] | undefined> | undefined;
1603
+ originalActionId?: string | undefined;
1604
+ keepAssignment?: boolean | undefined;
1596
1605
  }>;
1597
1606
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1598
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1608
  eventId: z.ZodString;
1600
1609
  transactionId: z.ZodString;
1601
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1610
+ 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<{
1602
1611
  filename: z.ZodString;
1603
1612
  originalFilename: z.ZodString;
1604
1613
  type: z.ZodString;
@@ -1681,7 +1690,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1681
1690
  province: string;
1682
1691
  urbanOrRural: "RURAL";
1683
1692
  village?: string | null | undefined;
1684
- }>, z.ZodObject<{
1693
+ }>, z.ZodUndefined, z.ZodObject<{
1685
1694
  country: z.ZodString;
1686
1695
  addressType: z.ZodLiteral<"INTERNATIONAL">;
1687
1696
  state: z.ZodString;
@@ -1711,8 +1720,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1711
1720
  addressLine2?: string | null | undefined;
1712
1721
  addressLine3?: string | null | undefined;
1713
1722
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>;
1715
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1723
+ }>]>>>;
1724
+ 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<{
1716
1725
  filename: z.ZodString;
1717
1726
  originalFilename: z.ZodString;
1718
1727
  type: z.ZodString;
@@ -1795,7 +1804,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1795
1804
  province: string;
1796
1805
  urbanOrRural: "RURAL";
1797
1806
  village?: string | null | undefined;
1798
- }>, z.ZodObject<{
1807
+ }>, z.ZodUndefined, z.ZodObject<{
1799
1808
  country: z.ZodString;
1800
1809
  addressType: z.ZodLiteral<"INTERNATIONAL">;
1801
1810
  state: z.ZodString;
@@ -1826,11 +1835,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1826
1835
  addressLine3?: string | null | undefined;
1827
1836
  postcodeOrZip?: string | null | undefined;
1828
1837
  }>]>>>;
1838
+ originalActionId: z.ZodOptional<z.ZodString>;
1839
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1829
1840
  }, {
1830
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1831
1842
  }>, "strip", z.ZodTypeAny, {
1832
1843
  type: "DECLARE";
1833
- data: Record<string, string | number | boolean | {
1844
+ transactionId: string;
1845
+ declaration: Record<string, string | number | boolean | {
1834
1846
  type: string;
1835
1847
  filename: string;
1836
1848
  originalFilename: string;
@@ -1867,10 +1879,9 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1867
1879
  option: string;
1868
1880
  filename: string;
1869
1881
  originalFilename: string;
1870
- }[]>;
1882
+ }[] | [string, string] | undefined>;
1871
1883
  eventId: string;
1872
- transactionId: string;
1873
- metadata?: Record<string, string | number | boolean | {
1884
+ annotation?: Record<string, string | number | boolean | {
1874
1885
  type: string;
1875
1886
  filename: string;
1876
1887
  originalFilename: string;
@@ -1907,9 +1918,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1907
1918
  option: string;
1908
1919
  filename: string;
1909
1920
  originalFilename: string;
1910
- }[]> | undefined;
1921
+ }[] | [string, string] | undefined> | undefined;
1922
+ originalActionId?: string | undefined;
1923
+ keepAssignment?: boolean | undefined;
1911
1924
  }, {
1912
- data: Record<string, string | number | boolean | {
1925
+ transactionId: string;
1926
+ eventId: string;
1927
+ type?: "DECLARE" | undefined;
1928
+ declaration?: Record<string, string | number | boolean | {
1913
1929
  type: string;
1914
1930
  filename: string;
1915
1931
  originalFilename: string;
@@ -1946,11 +1962,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1946
1962
  option: string;
1947
1963
  filename: string;
1948
1964
  originalFilename: string;
1949
- }[]>;
1950
- eventId: string;
1951
- transactionId: string;
1952
- type?: "DECLARE" | undefined;
1953
- metadata?: Record<string, string | number | boolean | {
1965
+ }[] | [string, string] | undefined> | undefined;
1966
+ annotation?: Record<string, string | number | boolean | {
1954
1967
  type: string;
1955
1968
  filename: string;
1956
1969
  originalFilename: string;
@@ -1987,12 +2000,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1987
2000
  option: string;
1988
2001
  filename: string;
1989
2002
  originalFilename: string;
1990
- }[]> | undefined;
2003
+ }[] | [string, string] | undefined> | undefined;
2004
+ originalActionId?: string | undefined;
2005
+ keepAssignment?: boolean | undefined;
1991
2006
  }>;
1992
2007
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
2008
  eventId: z.ZodString;
1994
2009
  transactionId: z.ZodString;
1995
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2010
+ 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
2011
  filename: z.ZodString;
1997
2012
  originalFilename: z.ZodString;
1998
2013
  type: z.ZodString;
@@ -2075,7 +2090,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2075
2090
  province: string;
2076
2091
  urbanOrRural: "RURAL";
2077
2092
  village?: string | null | undefined;
2078
- }>, z.ZodObject<{
2093
+ }>, z.ZodUndefined, z.ZodObject<{
2079
2094
  country: z.ZodString;
2080
2095
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2081
2096
  state: z.ZodString;
@@ -2105,8 +2120,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2120
  addressLine2?: string | null | undefined;
2106
2121
  addressLine3?: string | null | undefined;
2107
2122
  postcodeOrZip?: string | null | undefined;
2108
- }>]>>;
2109
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2123
+ }>]>>>;
2124
+ 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
2125
  filename: z.ZodString;
2111
2126
  originalFilename: z.ZodString;
2112
2127
  type: z.ZodString;
@@ -2189,7 +2204,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2189
2204
  province: string;
2190
2205
  urbanOrRural: "RURAL";
2191
2206
  village?: string | null | undefined;
2192
- }>, z.ZodObject<{
2207
+ }>, z.ZodUndefined, z.ZodObject<{
2193
2208
  country: z.ZodString;
2194
2209
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2195
2210
  state: z.ZodString;
@@ -2220,11 +2235,14 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2220
2235
  addressLine3?: string | null | undefined;
2221
2236
  postcodeOrZip?: string | null | undefined;
2222
2237
  }>]>>>;
2238
+ originalActionId: z.ZodOptional<z.ZodString>;
2239
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2223
2240
  }, {
2224
2241
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2225
2242
  }>, "strip", z.ZodTypeAny, {
2226
2243
  type: "PRINT_CERTIFICATE";
2227
- data: Record<string, string | number | boolean | {
2244
+ transactionId: string;
2245
+ declaration: Record<string, string | number | boolean | {
2228
2246
  type: string;
2229
2247
  filename: string;
2230
2248
  originalFilename: string;
@@ -2261,10 +2279,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2261
2279
  option: string;
2262
2280
  filename: string;
2263
2281
  originalFilename: string;
2264
- }[]>;
2282
+ }[] | [string, string] | undefined>;
2265
2283
  eventId: string;
2266
- transactionId: string;
2267
- metadata?: Record<string, string | number | boolean | {
2284
+ annotation?: Record<string, string | number | boolean | {
2268
2285
  type: string;
2269
2286
  filename: string;
2270
2287
  originalFilename: string;
@@ -2301,9 +2318,14 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2301
2318
  option: string;
2302
2319
  filename: string;
2303
2320
  originalFilename: string;
2304
- }[]> | undefined;
2321
+ }[] | [string, string] | undefined> | undefined;
2322
+ originalActionId?: string | undefined;
2323
+ keepAssignment?: boolean | undefined;
2305
2324
  }, {
2306
- data: Record<string, string | number | boolean | {
2325
+ transactionId: string;
2326
+ eventId: string;
2327
+ type?: "PRINT_CERTIFICATE" | undefined;
2328
+ declaration?: Record<string, string | number | boolean | {
2307
2329
  type: string;
2308
2330
  filename: string;
2309
2331
  originalFilename: string;
@@ -2340,11 +2362,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
2362
  option: string;
2341
2363
  filename: string;
2342
2364
  originalFilename: string;
2343
- }[]>;
2344
- eventId: string;
2345
- transactionId: string;
2346
- type?: "PRINT_CERTIFICATE" | undefined;
2347
- metadata?: Record<string, string | number | boolean | {
2365
+ }[] | [string, string] | undefined> | undefined;
2366
+ annotation?: Record<string, string | number | boolean | {
2348
2367
  type: string;
2349
2368
  filename: string;
2350
2369
  originalFilename: string;
@@ -2381,13 +2400,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2381
2400
  option: string;
2382
2401
  filename: string;
2383
2402
  originalFilename: string;
2384
- }[]> | undefined;
2403
+ }[] | [string, string] | undefined> | undefined;
2404
+ originalActionId?: string | undefined;
2405
+ keepAssignment?: boolean | undefined;
2385
2406
  }>;
2386
2407
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2387
2408
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2388
2409
  eventId: z.ZodString;
2389
2410
  transactionId: z.ZodString;
2390
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2411
+ 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<{
2391
2412
  filename: z.ZodString;
2392
2413
  originalFilename: z.ZodString;
2393
2414
  type: z.ZodString;
@@ -2470,7 +2491,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2470
2491
  province: string;
2471
2492
  urbanOrRural: "RURAL";
2472
2493
  village?: string | null | undefined;
2473
- }>, z.ZodObject<{
2494
+ }>, z.ZodUndefined, z.ZodObject<{
2474
2495
  country: z.ZodString;
2475
2496
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2476
2497
  state: z.ZodString;
@@ -2500,8 +2521,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2500
2521
  addressLine2?: string | null | undefined;
2501
2522
  addressLine3?: string | null | undefined;
2502
2523
  postcodeOrZip?: string | null | undefined;
2503
- }>]>>;
2504
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2524
+ }>]>>>;
2525
+ 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<{
2505
2526
  filename: z.ZodString;
2506
2527
  originalFilename: z.ZodString;
2507
2528
  type: z.ZodString;
@@ -2584,7 +2605,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2584
2605
  province: string;
2585
2606
  urbanOrRural: "RURAL";
2586
2607
  village?: string | null | undefined;
2587
- }>, z.ZodObject<{
2608
+ }>, z.ZodUndefined, z.ZodObject<{
2588
2609
  country: z.ZodString;
2589
2610
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2590
2611
  state: z.ZodString;
@@ -2615,11 +2636,28 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2615
2636
  addressLine3?: string | null | undefined;
2616
2637
  postcodeOrZip?: string | null | undefined;
2617
2638
  }>]>>>;
2639
+ originalActionId: z.ZodOptional<z.ZodString>;
2640
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2618
2641
  }, {
2619
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
+ reason: z.ZodObject<{
2644
+ message: z.ZodString;
2645
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2646
+ }, "strip", z.ZodTypeAny, {
2647
+ message: string;
2648
+ isDuplicate?: boolean | undefined;
2649
+ }, {
2650
+ message: string;
2651
+ isDuplicate?: boolean | undefined;
2652
+ }>;
2620
2653
  }>, "strip", z.ZodTypeAny, {
2621
2654
  type: "REJECT";
2622
- data: Record<string, string | number | boolean | {
2655
+ reason: {
2656
+ message: string;
2657
+ isDuplicate?: boolean | undefined;
2658
+ };
2659
+ transactionId: string;
2660
+ declaration: Record<string, string | number | boolean | {
2623
2661
  type: string;
2624
2662
  filename: string;
2625
2663
  originalFilename: string;
@@ -2656,10 +2694,9 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2656
2694
  option: string;
2657
2695
  filename: string;
2658
2696
  originalFilename: string;
2659
- }[]>;
2697
+ }[] | [string, string] | undefined>;
2660
2698
  eventId: string;
2661
- transactionId: string;
2662
- metadata?: Record<string, string | number | boolean | {
2699
+ annotation?: Record<string, string | number | boolean | {
2663
2700
  type: string;
2664
2701
  filename: string;
2665
2702
  originalFilename: string;
@@ -2696,9 +2733,18 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2696
2733
  option: string;
2697
2734
  filename: string;
2698
2735
  originalFilename: string;
2699
- }[]> | undefined;
2736
+ }[] | [string, string] | undefined> | undefined;
2737
+ originalActionId?: string | undefined;
2738
+ keepAssignment?: boolean | undefined;
2700
2739
  }, {
2701
- data: Record<string, string | number | boolean | {
2740
+ reason: {
2741
+ message: string;
2742
+ isDuplicate?: boolean | undefined;
2743
+ };
2744
+ transactionId: string;
2745
+ eventId: string;
2746
+ type?: "REJECT" | undefined;
2747
+ declaration?: Record<string, string | number | boolean | {
2702
2748
  type: string;
2703
2749
  filename: string;
2704
2750
  originalFilename: string;
@@ -2735,11 +2781,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2735
2781
  option: string;
2736
2782
  filename: string;
2737
2783
  originalFilename: string;
2738
- }[]>;
2739
- eventId: string;
2740
- transactionId: string;
2741
- type?: "REJECT" | undefined;
2742
- metadata?: Record<string, string | number | boolean | {
2784
+ }[] | [string, string] | undefined> | undefined;
2785
+ annotation?: Record<string, string | number | boolean | {
2743
2786
  type: string;
2744
2787
  filename: string;
2745
2788
  originalFilename: string;
@@ -2776,13 +2819,15 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2776
2819
  option: string;
2777
2820
  filename: string;
2778
2821
  originalFilename: string;
2779
- }[]> | undefined;
2822
+ }[] | [string, string] | undefined> | undefined;
2823
+ originalActionId?: string | undefined;
2824
+ keepAssignment?: boolean | undefined;
2780
2825
  }>;
2781
2826
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2782
2827
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2783
2828
  eventId: z.ZodString;
2784
2829
  transactionId: z.ZodString;
2785
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2830
+ 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<{
2786
2831
  filename: z.ZodString;
2787
2832
  originalFilename: z.ZodString;
2788
2833
  type: z.ZodString;
@@ -2865,7 +2910,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2865
2910
  province: string;
2866
2911
  urbanOrRural: "RURAL";
2867
2912
  village?: string | null | undefined;
2868
- }>, z.ZodObject<{
2913
+ }>, z.ZodUndefined, z.ZodObject<{
2869
2914
  country: z.ZodString;
2870
2915
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2871
2916
  state: z.ZodString;
@@ -2895,8 +2940,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2895
2940
  addressLine2?: string | null | undefined;
2896
2941
  addressLine3?: string | null | undefined;
2897
2942
  postcodeOrZip?: string | null | undefined;
2898
- }>]>>;
2899
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2943
+ }>]>>>;
2944
+ 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<{
2900
2945
  filename: z.ZodString;
2901
2946
  originalFilename: z.ZodString;
2902
2947
  type: z.ZodString;
@@ -2979,7 +3024,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2979
3024
  province: string;
2980
3025
  urbanOrRural: "RURAL";
2981
3026
  village?: string | null | undefined;
2982
- }>, z.ZodObject<{
3027
+ }>, z.ZodUndefined, z.ZodObject<{
2983
3028
  country: z.ZodString;
2984
3029
  addressType: z.ZodLiteral<"INTERNATIONAL">;
2985
3030
  state: z.ZodString;
@@ -3010,11 +3055,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3055
  addressLine3?: string | null | undefined;
3011
3056
  postcodeOrZip?: string | null | undefined;
3012
3057
  }>]>>>;
3058
+ originalActionId: z.ZodOptional<z.ZodString>;
3059
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3013
3060
  }, {
3014
3061
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3015
3062
  }>, "strip", z.ZodTypeAny, {
3016
3063
  type: "MARKED_AS_DUPLICATE";
3017
- data: Record<string, string | number | boolean | {
3064
+ transactionId: string;
3065
+ declaration: Record<string, string | number | boolean | {
3018
3066
  type: string;
3019
3067
  filename: string;
3020
3068
  originalFilename: string;
@@ -3051,10 +3099,9 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3051
3099
  option: string;
3052
3100
  filename: string;
3053
3101
  originalFilename: string;
3054
- }[]>;
3102
+ }[] | [string, string] | undefined>;
3055
3103
  eventId: string;
3056
- transactionId: string;
3057
- metadata?: Record<string, string | number | boolean | {
3104
+ annotation?: Record<string, string | number | boolean | {
3058
3105
  type: string;
3059
3106
  filename: string;
3060
3107
  originalFilename: string;
@@ -3091,9 +3138,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3091
3138
  option: string;
3092
3139
  filename: string;
3093
3140
  originalFilename: string;
3094
- }[]> | undefined;
3141
+ }[] | [string, string] | undefined> | undefined;
3142
+ originalActionId?: string | undefined;
3143
+ keepAssignment?: boolean | undefined;
3095
3144
  }, {
3096
- data: Record<string, string | number | boolean | {
3145
+ transactionId: string;
3146
+ eventId: string;
3147
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3148
+ declaration?: Record<string, string | number | boolean | {
3097
3149
  type: string;
3098
3150
  filename: string;
3099
3151
  originalFilename: string;
@@ -3130,11 +3182,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3130
3182
  option: string;
3131
3183
  filename: string;
3132
3184
  originalFilename: string;
3133
- }[]>;
3134
- eventId: string;
3135
- transactionId: string;
3136
- type?: "MARKED_AS_DUPLICATE" | undefined;
3137
- metadata?: Record<string, string | number | boolean | {
3185
+ }[] | [string, string] | undefined> | undefined;
3186
+ annotation?: Record<string, string | number | boolean | {
3138
3187
  type: string;
3139
3188
  filename: string;
3140
3189
  originalFilename: string;
@@ -3171,13 +3220,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3171
3220
  option: string;
3172
3221
  filename: string;
3173
3222
  originalFilename: string;
3174
- }[]> | undefined;
3223
+ }[] | [string, string] | undefined> | undefined;
3224
+ originalActionId?: string | undefined;
3225
+ keepAssignment?: boolean | undefined;
3175
3226
  }>;
3176
3227
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
3228
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
3229
  eventId: z.ZodString;
3179
3230
  transactionId: z.ZodString;
3180
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3231
+ 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<{
3181
3232
  filename: z.ZodString;
3182
3233
  originalFilename: z.ZodString;
3183
3234
  type: z.ZodString;
@@ -3260,7 +3311,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3260
3311
  province: string;
3261
3312
  urbanOrRural: "RURAL";
3262
3313
  village?: string | null | undefined;
3263
- }>, z.ZodObject<{
3314
+ }>, z.ZodUndefined, z.ZodObject<{
3264
3315
  country: z.ZodString;
3265
3316
  addressType: z.ZodLiteral<"INTERNATIONAL">;
3266
3317
  state: z.ZodString;
@@ -3290,8 +3341,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3290
3341
  addressLine2?: string | null | undefined;
3291
3342
  addressLine3?: string | null | undefined;
3292
3343
  postcodeOrZip?: string | null | undefined;
3293
- }>]>>;
3294
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3344
+ }>]>>>;
3345
+ 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<{
3295
3346
  filename: z.ZodString;
3296
3347
  originalFilename: z.ZodString;
3297
3348
  type: z.ZodString;
@@ -3374,7 +3425,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3374
3425
  province: string;
3375
3426
  urbanOrRural: "RURAL";
3376
3427
  village?: string | null | undefined;
3377
- }>, z.ZodObject<{
3428
+ }>, z.ZodUndefined, z.ZodObject<{
3378
3429
  country: z.ZodString;
3379
3430
  addressType: z.ZodLiteral<"INTERNATIONAL">;
3380
3431
  state: z.ZodString;
@@ -3405,11 +3456,28 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
3456
  addressLine3?: string | null | undefined;
3406
3457
  postcodeOrZip?: string | null | undefined;
3407
3458
  }>]>>>;
3459
+ originalActionId: z.ZodOptional<z.ZodString>;
3460
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3408
3461
  }, {
3409
3462
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3463
+ reason: z.ZodObject<{
3464
+ message: z.ZodString;
3465
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ message: string;
3468
+ isDuplicate?: boolean | undefined;
3469
+ }, {
3470
+ message: string;
3471
+ isDuplicate?: boolean | undefined;
3472
+ }>;
3410
3473
  }>, "strip", z.ZodTypeAny, {
3411
3474
  type: "ARCHIVE";
3412
- data: Record<string, string | number | boolean | {
3475
+ reason: {
3476
+ message: string;
3477
+ isDuplicate?: boolean | undefined;
3478
+ };
3479
+ transactionId: string;
3480
+ declaration: Record<string, string | number | boolean | {
3413
3481
  type: string;
3414
3482
  filename: string;
3415
3483
  originalFilename: string;
@@ -3446,10 +3514,9 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3446
3514
  option: string;
3447
3515
  filename: string;
3448
3516
  originalFilename: string;
3449
- }[]>;
3517
+ }[] | [string, string] | undefined>;
3450
3518
  eventId: string;
3451
- transactionId: string;
3452
- metadata?: Record<string, string | number | boolean | {
3519
+ annotation?: Record<string, string | number | boolean | {
3453
3520
  type: string;
3454
3521
  filename: string;
3455
3522
  originalFilename: string;
@@ -3486,9 +3553,18 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3486
3553
  option: string;
3487
3554
  filename: string;
3488
3555
  originalFilename: string;
3489
- }[]> | undefined;
3556
+ }[] | [string, string] | undefined> | undefined;
3557
+ originalActionId?: string | undefined;
3558
+ keepAssignment?: boolean | undefined;
3490
3559
  }, {
3491
- data: Record<string, string | number | boolean | {
3560
+ reason: {
3561
+ message: string;
3562
+ isDuplicate?: boolean | undefined;
3563
+ };
3564
+ transactionId: string;
3565
+ eventId: string;
3566
+ type?: "ARCHIVE" | undefined;
3567
+ declaration?: Record<string, string | number | boolean | {
3492
3568
  type: string;
3493
3569
  filename: string;
3494
3570
  originalFilename: string;
@@ -3525,11 +3601,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
3601
  option: string;
3526
3602
  filename: string;
3527
3603
  originalFilename: string;
3528
- }[]>;
3529
- eventId: string;
3530
- transactionId: string;
3531
- type?: "ARCHIVE" | undefined;
3532
- metadata?: Record<string, string | number | boolean | {
3604
+ }[] | [string, string] | undefined> | undefined;
3605
+ annotation?: Record<string, string | number | boolean | {
3533
3606
  type: string;
3534
3607
  filename: string;
3535
3608
  originalFilename: string;
@@ -3566,13 +3639,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3566
3639
  option: string;
3567
3640
  filename: string;
3568
3641
  originalFilename: string;
3569
- }[]> | undefined;
3642
+ }[] | [string, string] | undefined> | undefined;
3643
+ originalActionId?: string | undefined;
3644
+ keepAssignment?: boolean | undefined;
3570
3645
  }>;
3571
3646
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3572
- export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3647
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
3648
  eventId: z.ZodString;
3574
3649
  transactionId: z.ZodString;
3575
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3650
+ 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<{
3576
3651
  filename: z.ZodString;
3577
3652
  originalFilename: z.ZodString;
3578
3653
  type: z.ZodString;
@@ -3655,7 +3730,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3655
3730
  province: string;
3656
3731
  urbanOrRural: "RURAL";
3657
3732
  village?: string | null | undefined;
3658
- }>, z.ZodObject<{
3733
+ }>, z.ZodUndefined, z.ZodObject<{
3659
3734
  country: z.ZodString;
3660
3735
  addressType: z.ZodLiteral<"INTERNATIONAL">;
3661
3736
  state: z.ZodString;
@@ -3685,8 +3760,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3685
3760
  addressLine2?: string | null | undefined;
3686
3761
  addressLine3?: string | null | undefined;
3687
3762
  postcodeOrZip?: string | null | undefined;
3688
- }>]>>;
3689
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3763
+ }>]>>>;
3764
+ 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<{
3690
3765
  filename: z.ZodString;
3691
3766
  originalFilename: z.ZodString;
3692
3767
  type: z.ZodString;
@@ -3769,7 +3844,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3769
3844
  province: string;
3770
3845
  urbanOrRural: "RURAL";
3771
3846
  village?: string | null | undefined;
3772
- }>, z.ZodObject<{
3847
+ }>, z.ZodUndefined, z.ZodObject<{
3773
3848
  country: z.ZodString;
3774
3849
  addressType: z.ZodLiteral<"INTERNATIONAL">;
3775
3850
  state: z.ZodString;
@@ -3800,11 +3875,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
3875
  addressLine3?: string | null | undefined;
3801
3876
  postcodeOrZip?: string | null | undefined;
3802
3877
  }>]>>>;
3878
+ originalActionId: z.ZodOptional<z.ZodString>;
3879
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3803
3880
  }, {
3804
- type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3881
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3882
+ assignedTo: z.ZodString;
3805
3883
  }>, "strip", z.ZodTypeAny, {
3806
- type: "REQUEST_CORRECTION";
3807
- data: Record<string, string | number | boolean | {
3884
+ type: "ASSIGN";
3885
+ transactionId: string;
3886
+ declaration: Record<string, string | number | boolean | {
3808
3887
  type: string;
3809
3888
  filename: string;
3810
3889
  originalFilename: string;
@@ -3841,10 +3920,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3841
3920
  option: string;
3842
3921
  filename: string;
3843
3922
  originalFilename: string;
3844
- }[]>;
3923
+ }[] | [string, string] | undefined>;
3924
+ assignedTo: string;
3845
3925
  eventId: string;
3846
- transactionId: string;
3847
- metadata?: Record<string, string | number | boolean | {
3926
+ annotation?: Record<string, string | number | boolean | {
3848
3927
  type: string;
3849
3928
  filename: string;
3850
3929
  originalFilename: string;
@@ -3881,9 +3960,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3881
3960
  option: string;
3882
3961
  filename: string;
3883
3962
  originalFilename: string;
3884
- }[]> | undefined;
3963
+ }[] | [string, string] | undefined> | undefined;
3964
+ originalActionId?: string | undefined;
3965
+ keepAssignment?: boolean | undefined;
3885
3966
  }, {
3886
- data: Record<string, string | number | boolean | {
3967
+ transactionId: string;
3968
+ assignedTo: string;
3969
+ eventId: string;
3970
+ type?: "ASSIGN" | undefined;
3971
+ declaration?: Record<string, string | number | boolean | {
3887
3972
  type: string;
3888
3973
  filename: string;
3889
3974
  originalFilename: string;
@@ -3920,11 +4005,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3920
4005
  option: string;
3921
4006
  filename: string;
3922
4007
  originalFilename: string;
3923
- }[]>;
3924
- eventId: string;
3925
- transactionId: string;
3926
- type?: "REQUEST_CORRECTION" | undefined;
3927
- metadata?: Record<string, string | number | boolean | {
4008
+ }[] | [string, string] | undefined> | undefined;
4009
+ annotation?: Record<string, string | number | boolean | {
3928
4010
  type: string;
3929
4011
  filename: string;
3930
4012
  originalFilename: string;
@@ -3961,13 +4043,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3961
4043
  option: string;
3962
4044
  filename: string;
3963
4045
  originalFilename: string;
3964
- }[]> | undefined;
4046
+ }[] | [string, string] | undefined> | undefined;
4047
+ originalActionId?: string | undefined;
4048
+ keepAssignment?: boolean | undefined;
3965
4049
  }>;
3966
- export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
- export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4050
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4051
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
4052
  eventId: z.ZodString;
3969
4053
  transactionId: z.ZodString;
3970
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4054
+ 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<{
3971
4055
  filename: z.ZodString;
3972
4056
  originalFilename: z.ZodString;
3973
4057
  type: z.ZodString;
@@ -4050,7 +4134,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4050
4134
  province: string;
4051
4135
  urbanOrRural: "RURAL";
4052
4136
  village?: string | null | undefined;
4053
- }>, z.ZodObject<{
4137
+ }>, z.ZodUndefined, z.ZodObject<{
4054
4138
  country: z.ZodString;
4055
4139
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4056
4140
  state: z.ZodString;
@@ -4080,8 +4164,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4080
4164
  addressLine2?: string | null | undefined;
4081
4165
  addressLine3?: string | null | undefined;
4082
4166
  postcodeOrZip?: string | null | undefined;
4083
- }>]>>;
4084
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4167
+ }>]>>>;
4168
+ 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<{
4085
4169
  filename: z.ZodString;
4086
4170
  originalFilename: z.ZodString;
4087
4171
  type: z.ZodString;
@@ -4164,7 +4248,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4164
4248
  province: string;
4165
4249
  urbanOrRural: "RURAL";
4166
4250
  village?: string | null | undefined;
4167
- }>, z.ZodObject<{
4251
+ }>, z.ZodUndefined, z.ZodObject<{
4168
4252
  country: z.ZodString;
4169
4253
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4170
4254
  state: z.ZodString;
@@ -4195,12 +4279,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
4279
  addressLine3?: string | null | undefined;
4196
4280
  postcodeOrZip?: string | null | undefined;
4197
4281
  }>]>>>;
4282
+ originalActionId: z.ZodOptional<z.ZodString>;
4283
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4198
4284
  }, {
4199
- requestId: z.ZodString;
4200
- type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4285
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4286
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4201
4287
  }>, "strip", z.ZodTypeAny, {
4202
- type: "REJECT_CORRECTION";
4203
- data: Record<string, string | number | boolean | {
4288
+ type: "UNASSIGN";
4289
+ transactionId: string;
4290
+ declaration: Record<string, string | number | boolean | {
4204
4291
  type: string;
4205
4292
  filename: string;
4206
4293
  originalFilename: string;
@@ -4237,11 +4324,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4237
4324
  option: string;
4238
4325
  filename: string;
4239
4326
  originalFilename: string;
4240
- }[]>;
4241
- requestId: string;
4327
+ }[] | [string, string] | undefined>;
4328
+ assignedTo: null;
4242
4329
  eventId: string;
4243
- transactionId: string;
4244
- metadata?: Record<string, string | number | boolean | {
4330
+ annotation?: Record<string, string | number | boolean | {
4245
4331
  type: string;
4246
4332
  filename: string;
4247
4333
  originalFilename: string;
@@ -4278,9 +4364,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4278
4364
  option: string;
4279
4365
  filename: string;
4280
4366
  originalFilename: string;
4281
- }[]> | undefined;
4367
+ }[] | [string, string] | undefined> | undefined;
4368
+ originalActionId?: string | undefined;
4369
+ keepAssignment?: boolean | undefined;
4282
4370
  }, {
4283
- data: Record<string, string | number | boolean | {
4371
+ transactionId: string;
4372
+ eventId: string;
4373
+ type?: "UNASSIGN" | undefined;
4374
+ declaration?: Record<string, string | number | boolean | {
4284
4375
  type: string;
4285
4376
  filename: string;
4286
4377
  originalFilename: string;
@@ -4317,12 +4408,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4317
4408
  option: string;
4318
4409
  filename: string;
4319
4410
  originalFilename: string;
4320
- }[]>;
4321
- requestId: string;
4322
- eventId: string;
4323
- transactionId: string;
4324
- type?: "REJECT_CORRECTION" | undefined;
4325
- metadata?: Record<string, string | number | boolean | {
4411
+ }[] | [string, string] | undefined> | undefined;
4412
+ annotation?: Record<string, string | number | boolean | {
4326
4413
  type: string;
4327
4414
  filename: string;
4328
4415
  originalFilename: string;
@@ -4359,13 +4446,16 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4359
4446
  option: string;
4360
4447
  filename: string;
4361
4448
  originalFilename: string;
4362
- }[]> | undefined;
4449
+ }[] | [string, string] | undefined> | undefined;
4450
+ originalActionId?: string | undefined;
4451
+ assignedTo?: null | undefined;
4452
+ keepAssignment?: boolean | undefined;
4363
4453
  }>;
4364
- export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
- export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4454
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4455
+ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
4456
  eventId: z.ZodString;
4367
4457
  transactionId: z.ZodString;
4368
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4458
+ 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<{
4369
4459
  filename: z.ZodString;
4370
4460
  originalFilename: z.ZodString;
4371
4461
  type: z.ZodString;
@@ -4448,7 +4538,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4448
4538
  province: string;
4449
4539
  urbanOrRural: "RURAL";
4450
4540
  village?: string | null | undefined;
4451
- }>, z.ZodObject<{
4541
+ }>, z.ZodUndefined, z.ZodObject<{
4452
4542
  country: z.ZodString;
4453
4543
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4454
4544
  state: z.ZodString;
@@ -4478,8 +4568,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4478
4568
  addressLine2?: string | null | undefined;
4479
4569
  addressLine3?: string | null | undefined;
4480
4570
  postcodeOrZip?: string | null | undefined;
4481
- }>]>>;
4482
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4571
+ }>]>>>;
4572
+ 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<{
4483
4573
  filename: z.ZodString;
4484
4574
  originalFilename: z.ZodString;
4485
4575
  type: z.ZodString;
@@ -4562,7 +4652,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4562
4652
  province: string;
4563
4653
  urbanOrRural: "RURAL";
4564
4654
  village?: string | null | undefined;
4565
- }>, z.ZodObject<{
4655
+ }>, z.ZodUndefined, z.ZodObject<{
4566
4656
  country: z.ZodString;
4567
4657
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4568
4658
  state: z.ZodString;
@@ -4593,12 +4683,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
4683
  addressLine3?: string | null | undefined;
4594
4684
  postcodeOrZip?: string | null | undefined;
4595
4685
  }>]>>>;
4686
+ originalActionId: z.ZodOptional<z.ZodString>;
4687
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4596
4688
  }, {
4597
- requestId: z.ZodString;
4598
- type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4689
+ type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4599
4690
  }>, "strip", z.ZodTypeAny, {
4600
- type: "APPROVE_CORRECTION";
4601
- data: Record<string, string | number | boolean | {
4691
+ type: "REQUEST_CORRECTION";
4692
+ transactionId: string;
4693
+ declaration: Record<string, string | number | boolean | {
4602
4694
  type: string;
4603
4695
  filename: string;
4604
4696
  originalFilename: string;
@@ -4635,11 +4727,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4635
4727
  option: string;
4636
4728
  filename: string;
4637
4729
  originalFilename: string;
4638
- }[]>;
4639
- requestId: string;
4730
+ }[] | [string, string] | undefined>;
4640
4731
  eventId: string;
4641
- transactionId: string;
4642
- metadata?: Record<string, string | number | boolean | {
4732
+ annotation?: Record<string, string | number | boolean | {
4643
4733
  type: string;
4644
4734
  filename: string;
4645
4735
  originalFilename: string;
@@ -4676,9 +4766,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4676
4766
  option: string;
4677
4767
  filename: string;
4678
4768
  originalFilename: string;
4679
- }[]> | undefined;
4769
+ }[] | [string, string] | undefined> | undefined;
4770
+ originalActionId?: string | undefined;
4771
+ keepAssignment?: boolean | undefined;
4680
4772
  }, {
4681
- data: Record<string, string | number | boolean | {
4773
+ transactionId: string;
4774
+ eventId: string;
4775
+ type?: "REQUEST_CORRECTION" | undefined;
4776
+ declaration?: Record<string, string | number | boolean | {
4682
4777
  type: string;
4683
4778
  filename: string;
4684
4779
  originalFilename: string;
@@ -4715,12 +4810,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4715
4810
  option: string;
4716
4811
  filename: string;
4717
4812
  originalFilename: string;
4718
- }[]>;
4719
- requestId: string;
4720
- eventId: string;
4721
- transactionId: string;
4722
- type?: "APPROVE_CORRECTION" | undefined;
4723
- metadata?: Record<string, string | number | boolean | {
4813
+ }[] | [string, string] | undefined> | undefined;
4814
+ annotation?: Record<string, string | number | boolean | {
4724
4815
  type: string;
4725
4816
  filename: string;
4726
4817
  originalFilename: string;
@@ -4757,21 +4848,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4757
4848
  option: string;
4758
4849
  filename: string;
4759
4850
  originalFilename: string;
4760
- }[]> | undefined;
4851
+ }[] | [string, string] | undefined> | undefined;
4852
+ originalActionId?: string | undefined;
4853
+ keepAssignment?: boolean | undefined;
4761
4854
  }>;
4762
- export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
- /**
4764
- * ActionInput types are used to validate the input data for the action.
4765
- * In our use case, we use it directly with TRPC to validate the input data for the action.
4766
- * using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
4767
- * without having to pass the type in the input data, when it's defined in the method.
4768
- *
4769
- * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
4770
- */
4771
- export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4855
+ export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
4856
+ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4772
4857
  eventId: z.ZodString;
4773
4858
  transactionId: z.ZodString;
4774
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4859
+ 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<{
4775
4860
  filename: z.ZodString;
4776
4861
  originalFilename: z.ZodString;
4777
4862
  type: z.ZodString;
@@ -4854,7 +4939,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4854
4939
  province: string;
4855
4940
  urbanOrRural: "RURAL";
4856
4941
  village?: string | null | undefined;
4857
- }>, z.ZodObject<{
4942
+ }>, z.ZodUndefined, z.ZodObject<{
4858
4943
  country: z.ZodString;
4859
4944
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4860
4945
  state: z.ZodString;
@@ -4884,8 +4969,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4884
4969
  addressLine2?: string | null | undefined;
4885
4970
  addressLine3?: string | null | undefined;
4886
4971
  postcodeOrZip?: string | null | undefined;
4887
- }>]>>;
4888
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4972
+ }>]>>>;
4973
+ 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<{
4889
4974
  filename: z.ZodString;
4890
4975
  originalFilename: z.ZodString;
4891
4976
  type: z.ZodString;
@@ -4968,7 +5053,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4968
5053
  province: string;
4969
5054
  urbanOrRural: "RURAL";
4970
5055
  village?: string | null | undefined;
4971
- }>, z.ZodObject<{
5056
+ }>, z.ZodUndefined, z.ZodObject<{
4972
5057
  country: z.ZodString;
4973
5058
  addressType: z.ZodLiteral<"INTERNATIONAL">;
4974
5059
  state: z.ZodString;
@@ -4999,12 +5084,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4999
5084
  addressLine3?: string | null | undefined;
5000
5085
  postcodeOrZip?: string | null | undefined;
5001
5086
  }>]>>>;
5087
+ originalActionId: z.ZodOptional<z.ZodString>;
5088
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5002
5089
  }, {
5003
- type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5004
- createdAtLocation: z.ZodString;
5090
+ requestId: z.ZodString;
5091
+ type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5005
5092
  }>, "strip", z.ZodTypeAny, {
5006
- type: "CREATE";
5007
- data: Record<string, string | number | boolean | {
5093
+ type: "REJECT_CORRECTION";
5094
+ transactionId: string;
5095
+ declaration: Record<string, string | number | boolean | {
5008
5096
  type: string;
5009
5097
  filename: string;
5010
5098
  originalFilename: string;
@@ -5041,11 +5129,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5041
5129
  option: string;
5042
5130
  filename: string;
5043
5131
  originalFilename: string;
5044
- }[]>;
5045
- createdAtLocation: string;
5132
+ }[] | [string, string] | undefined>;
5133
+ requestId: string;
5046
5134
  eventId: string;
5047
- transactionId: string;
5048
- metadata?: Record<string, string | number | boolean | {
5135
+ annotation?: Record<string, string | number | boolean | {
5049
5136
  type: string;
5050
5137
  filename: string;
5051
5138
  originalFilename: string;
@@ -5082,9 +5169,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5082
5169
  option: string;
5083
5170
  filename: string;
5084
5171
  originalFilename: string;
5085
- }[]> | undefined;
5172
+ }[] | [string, string] | undefined> | undefined;
5173
+ originalActionId?: string | undefined;
5174
+ keepAssignment?: boolean | undefined;
5086
5175
  }, {
5087
- data: Record<string, string | number | boolean | {
5176
+ transactionId: string;
5177
+ requestId: string;
5178
+ eventId: string;
5179
+ type?: "REJECT_CORRECTION" | undefined;
5180
+ declaration?: Record<string, string | number | boolean | {
5088
5181
  type: string;
5089
5182
  filename: string;
5090
5183
  originalFilename: string;
@@ -5121,12 +5214,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5121
5214
  option: string;
5122
5215
  filename: string;
5123
5216
  originalFilename: string;
5124
- }[]>;
5125
- createdAtLocation: string;
5126
- eventId: string;
5127
- transactionId: string;
5128
- type?: "CREATE" | undefined;
5129
- metadata?: Record<string, string | number | boolean | {
5217
+ }[] | [string, string] | undefined> | undefined;
5218
+ annotation?: Record<string, string | number | boolean | {
5130
5219
  type: string;
5131
5220
  filename: string;
5132
5221
  originalFilename: string;
@@ -5163,11 +5252,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5163
5252
  option: string;
5164
5253
  filename: string;
5165
5254
  originalFilename: string;
5166
- }[]> | undefined;
5167
- }>, z.ZodObject<z.objectUtil.extendShape<{
5255
+ }[] | [string, string] | undefined> | undefined;
5256
+ originalActionId?: string | undefined;
5257
+ keepAssignment?: boolean | undefined;
5258
+ }>;
5259
+ export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
5260
+ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5168
5261
  eventId: z.ZodString;
5169
5262
  transactionId: z.ZodString;
5170
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5263
+ 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<{
5171
5264
  filename: z.ZodString;
5172
5265
  originalFilename: z.ZodString;
5173
5266
  type: z.ZodString;
@@ -5250,7 +5343,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5250
5343
  province: string;
5251
5344
  urbanOrRural: "RURAL";
5252
5345
  village?: string | null | undefined;
5253
- }>, z.ZodObject<{
5346
+ }>, z.ZodUndefined, z.ZodObject<{
5254
5347
  country: z.ZodString;
5255
5348
  addressType: z.ZodLiteral<"INTERNATIONAL">;
5256
5349
  state: z.ZodString;
@@ -5280,8 +5373,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5280
5373
  addressLine2?: string | null | undefined;
5281
5374
  addressLine3?: string | null | undefined;
5282
5375
  postcodeOrZip?: string | null | undefined;
5283
- }>]>>;
5284
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5376
+ }>]>>>;
5377
+ 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<{
5285
5378
  filename: z.ZodString;
5286
5379
  originalFilename: z.ZodString;
5287
5380
  type: z.ZodString;
@@ -5364,7 +5457,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5364
5457
  province: string;
5365
5458
  urbanOrRural: "RURAL";
5366
5459
  village?: string | null | undefined;
5367
- }>, z.ZodObject<{
5460
+ }>, z.ZodUndefined, z.ZodObject<{
5368
5461
  country: z.ZodString;
5369
5462
  addressType: z.ZodLiteral<"INTERNATIONAL">;
5370
5463
  state: z.ZodString;
@@ -5395,12 +5488,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5395
5488
  addressLine3?: string | null | undefined;
5396
5489
  postcodeOrZip?: string | null | undefined;
5397
5490
  }>]>>>;
5491
+ originalActionId: z.ZodOptional<z.ZodString>;
5492
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5398
5493
  }, {
5399
- type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5400
- duplicates: z.ZodArray<z.ZodString, "many">;
5494
+ requestId: z.ZodString;
5495
+ type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5401
5496
  }>, "strip", z.ZodTypeAny, {
5402
- type: "VALIDATE";
5403
- data: Record<string, string | number | boolean | {
5497
+ type: "APPROVE_CORRECTION";
5498
+ transactionId: string;
5499
+ declaration: Record<string, string | number | boolean | {
5404
5500
  type: string;
5405
5501
  filename: string;
5406
5502
  originalFilename: string;
@@ -5437,11 +5533,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5437
5533
  option: string;
5438
5534
  filename: string;
5439
5535
  originalFilename: string;
5440
- }[]>;
5536
+ }[] | [string, string] | undefined>;
5537
+ requestId: string;
5441
5538
  eventId: string;
5442
- transactionId: string;
5443
- duplicates: string[];
5444
- metadata?: Record<string, string | number | boolean | {
5539
+ annotation?: Record<string, string | number | boolean | {
5445
5540
  type: string;
5446
5541
  filename: string;
5447
5542
  originalFilename: string;
@@ -5478,9 +5573,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5478
5573
  option: string;
5479
5574
  filename: string;
5480
5575
  originalFilename: string;
5481
- }[]> | undefined;
5576
+ }[] | [string, string] | undefined> | undefined;
5577
+ originalActionId?: string | undefined;
5578
+ keepAssignment?: boolean | undefined;
5482
5579
  }, {
5483
- data: Record<string, string | number | boolean | {
5580
+ transactionId: string;
5581
+ requestId: string;
5582
+ eventId: string;
5583
+ type?: "APPROVE_CORRECTION" | undefined;
5584
+ declaration?: Record<string, string | number | boolean | {
5484
5585
  type: string;
5485
5586
  filename: string;
5486
5587
  originalFilename: string;
@@ -5517,12 +5618,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5517
5618
  option: string;
5518
5619
  filename: string;
5519
5620
  originalFilename: string;
5520
- }[]>;
5521
- eventId: string;
5522
- transactionId: string;
5523
- duplicates: string[];
5524
- type?: "VALIDATE" | undefined;
5525
- metadata?: Record<string, string | number | boolean | {
5621
+ }[] | [string, string] | undefined> | undefined;
5622
+ annotation?: Record<string, string | number | boolean | {
5526
5623
  type: string;
5527
5624
  filename: string;
5528
5625
  originalFilename: string;
@@ -5559,11 +5656,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5559
5656
  option: string;
5560
5657
  filename: string;
5561
5658
  originalFilename: string;
5562
- }[]> | undefined;
5563
- }>, z.ZodObject<z.objectUtil.extendShape<{
5659
+ }[] | [string, string] | undefined> | undefined;
5660
+ originalActionId?: string | undefined;
5661
+ keepAssignment?: boolean | undefined;
5662
+ }>;
5663
+ export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
5664
+ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5564
5665
  eventId: z.ZodString;
5565
5666
  transactionId: z.ZodString;
5566
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5667
+ 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<{
5567
5668
  filename: z.ZodString;
5568
5669
  originalFilename: z.ZodString;
5569
5670
  type: z.ZodString;
@@ -5646,7 +5747,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5646
5747
  province: string;
5647
5748
  urbanOrRural: "RURAL";
5648
5749
  village?: string | null | undefined;
5649
- }>, z.ZodObject<{
5750
+ }>, z.ZodUndefined, z.ZodObject<{
5650
5751
  country: z.ZodString;
5651
5752
  addressType: z.ZodLiteral<"INTERNATIONAL">;
5652
5753
  state: z.ZodString;
@@ -5676,8 +5777,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5676
5777
  addressLine2?: string | null | undefined;
5677
5778
  addressLine3?: string | null | undefined;
5678
5779
  postcodeOrZip?: string | null | undefined;
5679
- }>]>>;
5680
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5780
+ }>]>>>;
5781
+ 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<{
5681
5782
  filename: z.ZodString;
5682
5783
  originalFilename: z.ZodString;
5683
5784
  type: z.ZodString;
@@ -5760,7 +5861,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5760
5861
  province: string;
5761
5862
  urbanOrRural: "RURAL";
5762
5863
  village?: string | null | undefined;
5763
- }>, z.ZodObject<{
5864
+ }>, z.ZodUndefined, z.ZodObject<{
5764
5865
  country: z.ZodString;
5765
5866
  addressType: z.ZodLiteral<"INTERNATIONAL">;
5766
5867
  state: z.ZodString;
@@ -5791,21 +5892,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5791
5892
  addressLine3?: string | null | undefined;
5792
5893
  postcodeOrZip?: string | null | undefined;
5793
5894
  }>]>>>;
5895
+ originalActionId: z.ZodOptional<z.ZodString>;
5896
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5794
5897
  }, {
5795
- type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
5796
- identifiers: z.ZodObject<{
5797
- trackingId: z.ZodString;
5798
- registrationNumber: z.ZodString;
5799
- }, "strip", z.ZodTypeAny, {
5800
- trackingId: string;
5801
- registrationNumber: string;
5802
- }, {
5803
- trackingId: string;
5804
- registrationNumber: string;
5805
- }>;
5898
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
5806
5899
  }>, "strip", z.ZodTypeAny, {
5807
- type: "REGISTER";
5808
- data: Record<string, string | number | boolean | {
5900
+ type: "READ";
5901
+ transactionId: string;
5902
+ declaration: Record<string, string | number | boolean | {
5809
5903
  type: string;
5810
5904
  filename: string;
5811
5905
  originalFilename: string;
@@ -5842,14 +5936,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5842
5936
  option: string;
5843
5937
  filename: string;
5844
5938
  originalFilename: string;
5845
- }[]>;
5846
- identifiers: {
5847
- trackingId: string;
5848
- registrationNumber: string;
5849
- };
5939
+ }[] | [string, string] | undefined>;
5850
5940
  eventId: string;
5851
- transactionId: string;
5852
- metadata?: Record<string, string | number | boolean | {
5941
+ annotation?: Record<string, string | number | boolean | {
5853
5942
  type: string;
5854
5943
  filename: string;
5855
5944
  originalFilename: string;
@@ -5886,9 +5975,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5886
5975
  option: string;
5887
5976
  filename: string;
5888
5977
  originalFilename: string;
5889
- }[]> | undefined;
5978
+ }[] | [string, string] | undefined> | undefined;
5979
+ originalActionId?: string | undefined;
5980
+ keepAssignment?: boolean | undefined;
5890
5981
  }, {
5891
- data: Record<string, string | number | boolean | {
5982
+ transactionId: string;
5983
+ eventId: string;
5984
+ type?: "READ" | undefined;
5985
+ declaration?: Record<string, string | number | boolean | {
5892
5986
  type: string;
5893
5987
  filename: string;
5894
5988
  originalFilename: string;
@@ -5925,15 +6019,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5925
6019
  option: string;
5926
6020
  filename: string;
5927
6021
  originalFilename: string;
5928
- }[]>;
5929
- identifiers: {
5930
- trackingId: string;
5931
- registrationNumber: string;
5932
- };
5933
- eventId: string;
5934
- transactionId: string;
5935
- type?: "REGISTER" | undefined;
5936
- metadata?: Record<string, string | number | boolean | {
6022
+ }[] | [string, string] | undefined> | undefined;
6023
+ annotation?: Record<string, string | number | boolean | {
5937
6024
  type: string;
5938
6025
  filename: string;
5939
6026
  originalFilename: string;
@@ -5970,11 +6057,31 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5970
6057
  option: string;
5971
6058
  filename: string;
5972
6059
  originalFilename: string;
5973
- }[]> | undefined;
5974
- }>, z.ZodObject<z.objectUtil.extendShape<{
6060
+ }[] | [string, string] | undefined> | undefined;
6061
+ originalActionId?: string | undefined;
6062
+ keepAssignment?: boolean | undefined;
6063
+ }>;
6064
+ export type ReadActionInput = z.infer<typeof ReadActionInput>;
6065
+ export declare const DeleteActionInput: z.ZodObject<{
6066
+ eventId: z.ZodString;
6067
+ }, "strip", z.ZodTypeAny, {
6068
+ eventId: string;
6069
+ }, {
6070
+ eventId: string;
6071
+ }>;
6072
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
6073
+ /**
6074
+ * ActionInput types are used to validate the input data for the action.
6075
+ * In our use case, we use it directly with TRPC to validate the input data for the action.
6076
+ * using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
6077
+ * without having to pass the type in the input data, when it's defined in the method.
6078
+ *
6079
+ * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
6080
+ */
6081
+ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5975
6082
  eventId: z.ZodString;
5976
6083
  transactionId: z.ZodString;
5977
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6084
+ 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<{
5978
6085
  filename: z.ZodString;
5979
6086
  originalFilename: z.ZodString;
5980
6087
  type: z.ZodString;
@@ -6057,7 +6164,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6057
6164
  province: string;
6058
6165
  urbanOrRural: "RURAL";
6059
6166
  village?: string | null | undefined;
6060
- }>, z.ZodObject<{
6167
+ }>, z.ZodUndefined, z.ZodObject<{
6061
6168
  country: z.ZodString;
6062
6169
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6063
6170
  state: z.ZodString;
@@ -6087,8 +6194,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6087
6194
  addressLine2?: string | null | undefined;
6088
6195
  addressLine3?: string | null | undefined;
6089
6196
  postcodeOrZip?: string | null | undefined;
6090
- }>]>>;
6091
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6197
+ }>]>>>;
6198
+ 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<{
6092
6199
  filename: z.ZodString;
6093
6200
  originalFilename: z.ZodString;
6094
6201
  type: z.ZodString;
@@ -6171,7 +6278,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6171
6278
  province: string;
6172
6279
  urbanOrRural: "RURAL";
6173
6280
  village?: string | null | undefined;
6174
- }>, z.ZodObject<{
6281
+ }>, z.ZodUndefined, z.ZodObject<{
6175
6282
  country: z.ZodString;
6176
6283
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6177
6284
  state: z.ZodString;
@@ -6202,11 +6309,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6202
6309
  addressLine3?: string | null | undefined;
6203
6310
  postcodeOrZip?: string | null | undefined;
6204
6311
  }>]>>>;
6312
+ originalActionId: z.ZodOptional<z.ZodString>;
6313
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6205
6314
  }, {
6206
- type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6315
+ type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6316
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6207
6317
  }>, "strip", z.ZodTypeAny, {
6208
- type: "NOTIFY";
6209
- data: Record<string, string | number | boolean | {
6318
+ type: "CREATE";
6319
+ transactionId: string;
6320
+ declaration: Record<string, string | number | boolean | {
6210
6321
  type: string;
6211
6322
  filename: string;
6212
6323
  originalFilename: string;
@@ -6243,10 +6354,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6243
6354
  option: string;
6244
6355
  filename: string;
6245
6356
  originalFilename: string;
6246
- }[]>;
6357
+ }[] | [string, string] | undefined>;
6247
6358
  eventId: string;
6248
- transactionId: string;
6249
- metadata?: Record<string, string | number | boolean | {
6359
+ createdAtLocation?: string | null | undefined;
6360
+ annotation?: Record<string, string | number | boolean | {
6250
6361
  type: string;
6251
6362
  filename: string;
6252
6363
  originalFilename: string;
@@ -6283,9 +6394,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6283
6394
  option: string;
6284
6395
  filename: string;
6285
6396
  originalFilename: string;
6286
- }[]> | undefined;
6397
+ }[] | [string, string] | undefined> | undefined;
6398
+ originalActionId?: string | undefined;
6399
+ keepAssignment?: boolean | undefined;
6287
6400
  }, {
6288
- data: Record<string, string | number | boolean | {
6401
+ transactionId: string;
6402
+ eventId: string;
6403
+ type?: "CREATE" | undefined;
6404
+ createdAtLocation?: string | null | undefined;
6405
+ declaration?: Record<string, string | number | boolean | {
6289
6406
  type: string;
6290
6407
  filename: string;
6291
6408
  originalFilename: string;
@@ -6322,11 +6439,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6322
6439
  option: string;
6323
6440
  filename: string;
6324
6441
  originalFilename: string;
6325
- }[]>;
6326
- eventId: string;
6327
- transactionId: string;
6328
- type?: "NOTIFY" | undefined;
6329
- metadata?: Record<string, string | number | boolean | {
6442
+ }[] | [string, string] | undefined> | undefined;
6443
+ annotation?: Record<string, string | number | boolean | {
6330
6444
  type: string;
6331
6445
  filename: string;
6332
6446
  originalFilename: string;
@@ -6363,11 +6477,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6363
6477
  option: string;
6364
6478
  filename: string;
6365
6479
  originalFilename: string;
6366
- }[]> | undefined;
6480
+ }[] | [string, string] | undefined> | undefined;
6481
+ originalActionId?: string | undefined;
6482
+ keepAssignment?: boolean | undefined;
6367
6483
  }>, z.ZodObject<z.objectUtil.extendShape<{
6368
6484
  eventId: z.ZodString;
6369
6485
  transactionId: z.ZodString;
6370
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6486
+ 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<{
6371
6487
  filename: z.ZodString;
6372
6488
  originalFilename: z.ZodString;
6373
6489
  type: z.ZodString;
@@ -6450,7 +6566,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6450
6566
  province: string;
6451
6567
  urbanOrRural: "RURAL";
6452
6568
  village?: string | null | undefined;
6453
- }>, z.ZodObject<{
6569
+ }>, z.ZodUndefined, z.ZodObject<{
6454
6570
  country: z.ZodString;
6455
6571
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6456
6572
  state: z.ZodString;
@@ -6480,8 +6596,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6480
6596
  addressLine2?: string | null | undefined;
6481
6597
  addressLine3?: string | null | undefined;
6482
6598
  postcodeOrZip?: string | null | undefined;
6483
- }>]>>;
6484
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6599
+ }>]>>>;
6600
+ 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<{
6485
6601
  filename: z.ZodString;
6486
6602
  originalFilename: z.ZodString;
6487
6603
  type: z.ZodString;
@@ -6564,7 +6680,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6564
6680
  province: string;
6565
6681
  urbanOrRural: "RURAL";
6566
6682
  village?: string | null | undefined;
6567
- }>, z.ZodObject<{
6683
+ }>, z.ZodUndefined, z.ZodObject<{
6568
6684
  country: z.ZodString;
6569
6685
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6570
6686
  state: z.ZodString;
@@ -6595,11 +6711,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6595
6711
  addressLine3?: string | null | undefined;
6596
6712
  postcodeOrZip?: string | null | undefined;
6597
6713
  }>]>>>;
6714
+ originalActionId: z.ZodOptional<z.ZodString>;
6715
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6598
6716
  }, {
6599
- type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6717
+ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
6718
+ duplicates: z.ZodArray<z.ZodString, "many">;
6600
6719
  }>, "strip", z.ZodTypeAny, {
6601
- type: "DECLARE";
6602
- data: Record<string, string | number | boolean | {
6720
+ type: "VALIDATE";
6721
+ transactionId: string;
6722
+ declaration: Record<string, string | number | boolean | {
6603
6723
  type: string;
6604
6724
  filename: string;
6605
6725
  originalFilename: string;
@@ -6636,10 +6756,1585 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6636
6756
  option: string;
6637
6757
  filename: string;
6638
6758
  originalFilename: string;
6639
- }[]>;
6759
+ }[] | [string, string] | undefined>;
6640
6760
  eventId: string;
6761
+ duplicates: string[];
6762
+ annotation?: Record<string, string | number | boolean | {
6763
+ type: string;
6764
+ filename: string;
6765
+ originalFilename: string;
6766
+ } | {
6767
+ country: string;
6768
+ district: string;
6769
+ addressType: "DOMESTIC";
6770
+ province: string;
6771
+ urbanOrRural: "URBAN";
6772
+ number?: string | null | undefined;
6773
+ town?: string | null | undefined;
6774
+ residentialArea?: string | null | undefined;
6775
+ street?: string | null | undefined;
6776
+ zipCode?: string | null | undefined;
6777
+ } | {
6778
+ country: string;
6779
+ district: string;
6780
+ addressType: "DOMESTIC";
6781
+ province: string;
6782
+ urbanOrRural: "RURAL";
6783
+ village?: string | null | undefined;
6784
+ } | {
6785
+ country: string;
6786
+ state: string;
6787
+ addressType: "INTERNATIONAL";
6788
+ district2: string;
6789
+ cityOrTown?: string | null | undefined;
6790
+ addressLine1?: string | null | undefined;
6791
+ addressLine2?: string | null | undefined;
6792
+ addressLine3?: string | null | undefined;
6793
+ postcodeOrZip?: string | null | undefined;
6794
+ } | {
6795
+ type: string;
6796
+ option: string;
6797
+ filename: string;
6798
+ originalFilename: string;
6799
+ }[] | [string, string] | undefined> | undefined;
6800
+ originalActionId?: string | undefined;
6801
+ keepAssignment?: boolean | undefined;
6802
+ }, {
6803
+ transactionId: string;
6804
+ eventId: string;
6805
+ duplicates: string[];
6806
+ type?: "VALIDATE" | undefined;
6807
+ declaration?: Record<string, string | number | boolean | {
6808
+ type: string;
6809
+ filename: string;
6810
+ originalFilename: string;
6811
+ } | {
6812
+ country: string;
6813
+ district: string;
6814
+ addressType: "DOMESTIC";
6815
+ province: string;
6816
+ urbanOrRural: "URBAN";
6817
+ number?: string | null | undefined;
6818
+ town?: string | null | undefined;
6819
+ residentialArea?: string | null | undefined;
6820
+ street?: string | null | undefined;
6821
+ zipCode?: string | null | undefined;
6822
+ } | {
6823
+ country: string;
6824
+ district: string;
6825
+ addressType: "DOMESTIC";
6826
+ province: string;
6827
+ urbanOrRural: "RURAL";
6828
+ village?: string | null | undefined;
6829
+ } | {
6830
+ country: string;
6831
+ state: string;
6832
+ addressType: "INTERNATIONAL";
6833
+ district2: string;
6834
+ cityOrTown?: string | null | undefined;
6835
+ addressLine1?: string | null | undefined;
6836
+ addressLine2?: string | null | undefined;
6837
+ addressLine3?: string | null | undefined;
6838
+ postcodeOrZip?: string | null | undefined;
6839
+ } | {
6840
+ type: string;
6841
+ option: string;
6842
+ filename: string;
6843
+ originalFilename: string;
6844
+ }[] | [string, string] | undefined> | undefined;
6845
+ annotation?: Record<string, string | number | boolean | {
6846
+ type: string;
6847
+ filename: string;
6848
+ originalFilename: string;
6849
+ } | {
6850
+ country: string;
6851
+ district: string;
6852
+ addressType: "DOMESTIC";
6853
+ province: string;
6854
+ urbanOrRural: "URBAN";
6855
+ number?: string | null | undefined;
6856
+ town?: string | null | undefined;
6857
+ residentialArea?: string | null | undefined;
6858
+ street?: string | null | undefined;
6859
+ zipCode?: string | null | undefined;
6860
+ } | {
6861
+ country: string;
6862
+ district: string;
6863
+ addressType: "DOMESTIC";
6864
+ province: string;
6865
+ urbanOrRural: "RURAL";
6866
+ village?: string | null | undefined;
6867
+ } | {
6868
+ country: string;
6869
+ state: string;
6870
+ addressType: "INTERNATIONAL";
6871
+ district2: string;
6872
+ cityOrTown?: string | null | undefined;
6873
+ addressLine1?: string | null | undefined;
6874
+ addressLine2?: string | null | undefined;
6875
+ addressLine3?: string | null | undefined;
6876
+ postcodeOrZip?: string | null | undefined;
6877
+ } | {
6878
+ type: string;
6879
+ option: string;
6880
+ filename: string;
6881
+ originalFilename: string;
6882
+ }[] | [string, string] | undefined> | undefined;
6883
+ originalActionId?: string | undefined;
6884
+ keepAssignment?: boolean | undefined;
6885
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6886
+ eventId: z.ZodString;
6887
+ transactionId: z.ZodString;
6888
+ 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<{
6889
+ filename: z.ZodString;
6890
+ originalFilename: z.ZodString;
6891
+ type: z.ZodString;
6892
+ }, "strip", z.ZodTypeAny, {
6893
+ type: string;
6894
+ filename: string;
6895
+ originalFilename: string;
6896
+ }, {
6897
+ type: string;
6898
+ filename: string;
6899
+ originalFilename: string;
6900
+ }>, z.ZodArray<z.ZodObject<{
6901
+ filename: z.ZodString;
6902
+ originalFilename: z.ZodString;
6903
+ type: z.ZodString;
6904
+ option: z.ZodString;
6905
+ }, "strip", z.ZodTypeAny, {
6906
+ type: string;
6907
+ option: string;
6908
+ filename: string;
6909
+ originalFilename: string;
6910
+ }, {
6911
+ type: string;
6912
+ option: string;
6913
+ filename: string;
6914
+ originalFilename: string;
6915
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
6916
+ country: z.ZodString;
6917
+ addressType: z.ZodLiteral<"DOMESTIC">;
6918
+ province: z.ZodString;
6919
+ district: z.ZodString;
6920
+ }, {
6921
+ urbanOrRural: z.ZodLiteral<"URBAN">;
6922
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6923
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6924
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6925
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6926
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6927
+ }>, "strip", z.ZodTypeAny, {
6928
+ country: string;
6929
+ district: string;
6930
+ addressType: "DOMESTIC";
6931
+ province: string;
6932
+ urbanOrRural: "URBAN";
6933
+ number?: string | null | undefined;
6934
+ town?: string | null | undefined;
6935
+ residentialArea?: string | null | undefined;
6936
+ street?: string | null | undefined;
6937
+ zipCode?: string | null | undefined;
6938
+ }, {
6939
+ country: string;
6940
+ district: string;
6941
+ addressType: "DOMESTIC";
6942
+ province: string;
6943
+ urbanOrRural: "URBAN";
6944
+ number?: string | null | undefined;
6945
+ town?: string | null | undefined;
6946
+ residentialArea?: string | null | undefined;
6947
+ street?: string | null | undefined;
6948
+ zipCode?: string | null | undefined;
6949
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6950
+ country: z.ZodString;
6951
+ addressType: z.ZodLiteral<"DOMESTIC">;
6952
+ province: z.ZodString;
6953
+ district: z.ZodString;
6954
+ }, {
6955
+ urbanOrRural: z.ZodLiteral<"RURAL">;
6956
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6957
+ }>, "strip", z.ZodTypeAny, {
6958
+ country: string;
6959
+ district: string;
6960
+ addressType: "DOMESTIC";
6961
+ province: string;
6962
+ urbanOrRural: "RURAL";
6963
+ village?: string | null | undefined;
6964
+ }, {
6965
+ country: string;
6966
+ district: string;
6967
+ addressType: "DOMESTIC";
6968
+ province: string;
6969
+ urbanOrRural: "RURAL";
6970
+ village?: string | null | undefined;
6971
+ }>, z.ZodUndefined, z.ZodObject<{
6972
+ country: z.ZodString;
6973
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
6974
+ state: z.ZodString;
6975
+ district2: z.ZodString;
6976
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6977
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6978
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6979
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6980
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6981
+ }, "strip", z.ZodTypeAny, {
6982
+ country: string;
6983
+ state: string;
6984
+ addressType: "INTERNATIONAL";
6985
+ district2: string;
6986
+ cityOrTown?: string | null | undefined;
6987
+ addressLine1?: string | null | undefined;
6988
+ addressLine2?: string | null | undefined;
6989
+ addressLine3?: string | null | undefined;
6990
+ postcodeOrZip?: string | null | undefined;
6991
+ }, {
6992
+ country: string;
6993
+ state: string;
6994
+ addressType: "INTERNATIONAL";
6995
+ district2: string;
6996
+ cityOrTown?: string | null | undefined;
6997
+ addressLine1?: string | null | undefined;
6998
+ addressLine2?: string | null | undefined;
6999
+ addressLine3?: string | null | undefined;
7000
+ postcodeOrZip?: string | null | undefined;
7001
+ }>]>>>;
7002
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7003
+ filename: z.ZodString;
7004
+ originalFilename: z.ZodString;
7005
+ type: z.ZodString;
7006
+ }, "strip", z.ZodTypeAny, {
7007
+ type: string;
7008
+ filename: string;
7009
+ originalFilename: string;
7010
+ }, {
7011
+ type: string;
7012
+ filename: string;
7013
+ originalFilename: string;
7014
+ }>, z.ZodArray<z.ZodObject<{
7015
+ filename: z.ZodString;
7016
+ originalFilename: z.ZodString;
7017
+ type: z.ZodString;
7018
+ option: z.ZodString;
7019
+ }, "strip", z.ZodTypeAny, {
7020
+ type: string;
7021
+ option: string;
7022
+ filename: string;
7023
+ originalFilename: string;
7024
+ }, {
7025
+ type: string;
7026
+ option: string;
7027
+ filename: string;
7028
+ originalFilename: string;
7029
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
7030
+ country: z.ZodString;
7031
+ addressType: z.ZodLiteral<"DOMESTIC">;
7032
+ province: z.ZodString;
7033
+ district: z.ZodString;
7034
+ }, {
7035
+ urbanOrRural: z.ZodLiteral<"URBAN">;
7036
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7037
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7038
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7039
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7040
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7041
+ }>, "strip", z.ZodTypeAny, {
7042
+ country: string;
7043
+ district: string;
7044
+ addressType: "DOMESTIC";
7045
+ province: string;
7046
+ urbanOrRural: "URBAN";
7047
+ number?: string | null | undefined;
7048
+ town?: string | null | undefined;
7049
+ residentialArea?: string | null | undefined;
7050
+ street?: string | null | undefined;
7051
+ zipCode?: string | null | undefined;
7052
+ }, {
7053
+ country: string;
7054
+ district: string;
7055
+ addressType: "DOMESTIC";
7056
+ province: string;
7057
+ urbanOrRural: "URBAN";
7058
+ number?: string | null | undefined;
7059
+ town?: string | null | undefined;
7060
+ residentialArea?: string | null | undefined;
7061
+ street?: string | null | undefined;
7062
+ zipCode?: string | null | undefined;
7063
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7064
+ country: z.ZodString;
7065
+ addressType: z.ZodLiteral<"DOMESTIC">;
7066
+ province: z.ZodString;
7067
+ district: z.ZodString;
7068
+ }, {
7069
+ urbanOrRural: z.ZodLiteral<"RURAL">;
7070
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7071
+ }>, "strip", z.ZodTypeAny, {
7072
+ country: string;
7073
+ district: string;
7074
+ addressType: "DOMESTIC";
7075
+ province: string;
7076
+ urbanOrRural: "RURAL";
7077
+ village?: string | null | undefined;
7078
+ }, {
7079
+ country: string;
7080
+ district: string;
7081
+ addressType: "DOMESTIC";
7082
+ province: string;
7083
+ urbanOrRural: "RURAL";
7084
+ village?: string | null | undefined;
7085
+ }>, z.ZodUndefined, z.ZodObject<{
7086
+ country: z.ZodString;
7087
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
7088
+ state: z.ZodString;
7089
+ district2: z.ZodString;
7090
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7091
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7092
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7093
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7094
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7095
+ }, "strip", z.ZodTypeAny, {
7096
+ country: string;
7097
+ state: string;
7098
+ addressType: "INTERNATIONAL";
7099
+ district2: string;
7100
+ cityOrTown?: string | null | undefined;
7101
+ addressLine1?: string | null | undefined;
7102
+ addressLine2?: string | null | undefined;
7103
+ addressLine3?: string | null | undefined;
7104
+ postcodeOrZip?: string | null | undefined;
7105
+ }, {
7106
+ country: string;
7107
+ state: string;
7108
+ addressType: "INTERNATIONAL";
7109
+ district2: string;
7110
+ cityOrTown?: string | null | undefined;
7111
+ addressLine1?: string | null | undefined;
7112
+ addressLine2?: string | null | undefined;
7113
+ addressLine3?: string | null | undefined;
7114
+ postcodeOrZip?: string | null | undefined;
7115
+ }>]>>>;
7116
+ originalActionId: z.ZodOptional<z.ZodString>;
7117
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7118
+ }, {
7119
+ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
7120
+ registrationNumber: z.ZodOptional<z.ZodString>;
7121
+ }>, "strip", z.ZodTypeAny, {
7122
+ type: "REGISTER";
7123
+ transactionId: string;
7124
+ declaration: Record<string, string | number | boolean | {
7125
+ type: string;
7126
+ filename: string;
7127
+ originalFilename: string;
7128
+ } | {
7129
+ country: string;
7130
+ district: string;
7131
+ addressType: "DOMESTIC";
7132
+ province: string;
7133
+ urbanOrRural: "URBAN";
7134
+ number?: string | null | undefined;
7135
+ town?: string | null | undefined;
7136
+ residentialArea?: string | null | undefined;
7137
+ street?: string | null | undefined;
7138
+ zipCode?: string | null | undefined;
7139
+ } | {
7140
+ country: string;
7141
+ district: string;
7142
+ addressType: "DOMESTIC";
7143
+ province: string;
7144
+ urbanOrRural: "RURAL";
7145
+ village?: string | null | undefined;
7146
+ } | {
7147
+ country: string;
7148
+ state: string;
7149
+ addressType: "INTERNATIONAL";
7150
+ district2: string;
7151
+ cityOrTown?: string | null | undefined;
7152
+ addressLine1?: string | null | undefined;
7153
+ addressLine2?: string | null | undefined;
7154
+ addressLine3?: string | null | undefined;
7155
+ postcodeOrZip?: string | null | undefined;
7156
+ } | {
7157
+ type: string;
7158
+ option: string;
7159
+ filename: string;
7160
+ originalFilename: string;
7161
+ }[] | [string, string] | undefined>;
7162
+ eventId: string;
7163
+ annotation?: Record<string, string | number | boolean | {
7164
+ type: string;
7165
+ filename: string;
7166
+ originalFilename: string;
7167
+ } | {
7168
+ country: string;
7169
+ district: string;
7170
+ addressType: "DOMESTIC";
7171
+ province: string;
7172
+ urbanOrRural: "URBAN";
7173
+ number?: string | null | undefined;
7174
+ town?: string | null | undefined;
7175
+ residentialArea?: string | null | undefined;
7176
+ street?: string | null | undefined;
7177
+ zipCode?: string | null | undefined;
7178
+ } | {
7179
+ country: string;
7180
+ district: string;
7181
+ addressType: "DOMESTIC";
7182
+ province: string;
7183
+ urbanOrRural: "RURAL";
7184
+ village?: string | null | undefined;
7185
+ } | {
7186
+ country: string;
7187
+ state: string;
7188
+ addressType: "INTERNATIONAL";
7189
+ district2: string;
7190
+ cityOrTown?: string | null | undefined;
7191
+ addressLine1?: string | null | undefined;
7192
+ addressLine2?: string | null | undefined;
7193
+ addressLine3?: string | null | undefined;
7194
+ postcodeOrZip?: string | null | undefined;
7195
+ } | {
7196
+ type: string;
7197
+ option: string;
7198
+ filename: string;
7199
+ originalFilename: string;
7200
+ }[] | [string, string] | undefined> | undefined;
7201
+ originalActionId?: string | undefined;
7202
+ registrationNumber?: string | undefined;
7203
+ keepAssignment?: boolean | undefined;
7204
+ }, {
7205
+ transactionId: string;
7206
+ eventId: string;
7207
+ type?: "REGISTER" | undefined;
7208
+ declaration?: Record<string, string | number | boolean | {
7209
+ type: string;
7210
+ filename: string;
7211
+ originalFilename: string;
7212
+ } | {
7213
+ country: string;
7214
+ district: string;
7215
+ addressType: "DOMESTIC";
7216
+ province: string;
7217
+ urbanOrRural: "URBAN";
7218
+ number?: string | null | undefined;
7219
+ town?: string | null | undefined;
7220
+ residentialArea?: string | null | undefined;
7221
+ street?: string | null | undefined;
7222
+ zipCode?: string | null | undefined;
7223
+ } | {
7224
+ country: string;
7225
+ district: string;
7226
+ addressType: "DOMESTIC";
7227
+ province: string;
7228
+ urbanOrRural: "RURAL";
7229
+ village?: string | null | undefined;
7230
+ } | {
7231
+ country: string;
7232
+ state: string;
7233
+ addressType: "INTERNATIONAL";
7234
+ district2: string;
7235
+ cityOrTown?: string | null | undefined;
7236
+ addressLine1?: string | null | undefined;
7237
+ addressLine2?: string | null | undefined;
7238
+ addressLine3?: string | null | undefined;
7239
+ postcodeOrZip?: string | null | undefined;
7240
+ } | {
7241
+ type: string;
7242
+ option: string;
7243
+ filename: string;
7244
+ originalFilename: string;
7245
+ }[] | [string, string] | undefined> | undefined;
7246
+ annotation?: Record<string, string | number | boolean | {
7247
+ type: string;
7248
+ filename: string;
7249
+ originalFilename: string;
7250
+ } | {
7251
+ country: string;
7252
+ district: string;
7253
+ addressType: "DOMESTIC";
7254
+ province: string;
7255
+ urbanOrRural: "URBAN";
7256
+ number?: string | null | undefined;
7257
+ town?: string | null | undefined;
7258
+ residentialArea?: string | null | undefined;
7259
+ street?: string | null | undefined;
7260
+ zipCode?: string | null | undefined;
7261
+ } | {
7262
+ country: string;
7263
+ district: string;
7264
+ addressType: "DOMESTIC";
7265
+ province: string;
7266
+ urbanOrRural: "RURAL";
7267
+ village?: string | null | undefined;
7268
+ } | {
7269
+ country: string;
7270
+ state: string;
7271
+ addressType: "INTERNATIONAL";
7272
+ district2: string;
7273
+ cityOrTown?: string | null | undefined;
7274
+ addressLine1?: string | null | undefined;
7275
+ addressLine2?: string | null | undefined;
7276
+ addressLine3?: string | null | undefined;
7277
+ postcodeOrZip?: string | null | undefined;
7278
+ } | {
7279
+ type: string;
7280
+ option: string;
7281
+ filename: string;
7282
+ originalFilename: string;
7283
+ }[] | [string, string] | undefined> | undefined;
7284
+ originalActionId?: string | undefined;
7285
+ registrationNumber?: string | undefined;
7286
+ keepAssignment?: boolean | undefined;
7287
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7288
+ eventId: z.ZodString;
7289
+ transactionId: z.ZodString;
7290
+ 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<{
7291
+ filename: z.ZodString;
7292
+ originalFilename: z.ZodString;
7293
+ type: z.ZodString;
7294
+ }, "strip", z.ZodTypeAny, {
7295
+ type: string;
7296
+ filename: string;
7297
+ originalFilename: string;
7298
+ }, {
7299
+ type: string;
7300
+ filename: string;
7301
+ originalFilename: string;
7302
+ }>, z.ZodArray<z.ZodObject<{
7303
+ filename: z.ZodString;
7304
+ originalFilename: z.ZodString;
7305
+ type: z.ZodString;
7306
+ option: z.ZodString;
7307
+ }, "strip", z.ZodTypeAny, {
7308
+ type: string;
7309
+ option: string;
7310
+ filename: string;
7311
+ originalFilename: string;
7312
+ }, {
7313
+ type: string;
7314
+ option: string;
7315
+ filename: string;
7316
+ originalFilename: string;
7317
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
7318
+ country: z.ZodString;
7319
+ addressType: z.ZodLiteral<"DOMESTIC">;
7320
+ province: z.ZodString;
7321
+ district: z.ZodString;
7322
+ }, {
7323
+ urbanOrRural: z.ZodLiteral<"URBAN">;
7324
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7325
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7326
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7327
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7328
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7329
+ }>, "strip", z.ZodTypeAny, {
7330
+ country: string;
7331
+ district: string;
7332
+ addressType: "DOMESTIC";
7333
+ province: string;
7334
+ urbanOrRural: "URBAN";
7335
+ number?: string | null | undefined;
7336
+ town?: string | null | undefined;
7337
+ residentialArea?: string | null | undefined;
7338
+ street?: string | null | undefined;
7339
+ zipCode?: string | null | undefined;
7340
+ }, {
7341
+ country: string;
7342
+ district: string;
7343
+ addressType: "DOMESTIC";
7344
+ province: string;
7345
+ urbanOrRural: "URBAN";
7346
+ number?: string | null | undefined;
7347
+ town?: string | null | undefined;
7348
+ residentialArea?: string | null | undefined;
7349
+ street?: string | null | undefined;
7350
+ zipCode?: string | null | undefined;
7351
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7352
+ country: z.ZodString;
7353
+ addressType: z.ZodLiteral<"DOMESTIC">;
7354
+ province: z.ZodString;
7355
+ district: z.ZodString;
7356
+ }, {
7357
+ urbanOrRural: z.ZodLiteral<"RURAL">;
7358
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7359
+ }>, "strip", z.ZodTypeAny, {
7360
+ country: string;
7361
+ district: string;
7362
+ addressType: "DOMESTIC";
7363
+ province: string;
7364
+ urbanOrRural: "RURAL";
7365
+ village?: string | null | undefined;
7366
+ }, {
7367
+ country: string;
7368
+ district: string;
7369
+ addressType: "DOMESTIC";
7370
+ province: string;
7371
+ urbanOrRural: "RURAL";
7372
+ village?: string | null | undefined;
7373
+ }>, z.ZodUndefined, z.ZodObject<{
7374
+ country: z.ZodString;
7375
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
7376
+ state: z.ZodString;
7377
+ district2: z.ZodString;
7378
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7379
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7380
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7381
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7382
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7383
+ }, "strip", z.ZodTypeAny, {
7384
+ country: string;
7385
+ state: string;
7386
+ addressType: "INTERNATIONAL";
7387
+ district2: string;
7388
+ cityOrTown?: string | null | undefined;
7389
+ addressLine1?: string | null | undefined;
7390
+ addressLine2?: string | null | undefined;
7391
+ addressLine3?: string | null | undefined;
7392
+ postcodeOrZip?: string | null | undefined;
7393
+ }, {
7394
+ country: string;
7395
+ state: string;
7396
+ addressType: "INTERNATIONAL";
7397
+ district2: string;
7398
+ cityOrTown?: string | null | undefined;
7399
+ addressLine1?: string | null | undefined;
7400
+ addressLine2?: string | null | undefined;
7401
+ addressLine3?: string | null | undefined;
7402
+ postcodeOrZip?: string | null | undefined;
7403
+ }>]>>>;
7404
+ 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<{
7405
+ filename: z.ZodString;
7406
+ originalFilename: z.ZodString;
7407
+ type: z.ZodString;
7408
+ }, "strip", z.ZodTypeAny, {
7409
+ type: string;
7410
+ filename: string;
7411
+ originalFilename: string;
7412
+ }, {
7413
+ type: string;
7414
+ filename: string;
7415
+ originalFilename: string;
7416
+ }>, z.ZodArray<z.ZodObject<{
7417
+ filename: z.ZodString;
7418
+ originalFilename: z.ZodString;
7419
+ type: z.ZodString;
7420
+ option: z.ZodString;
7421
+ }, "strip", z.ZodTypeAny, {
7422
+ type: string;
7423
+ option: string;
7424
+ filename: string;
7425
+ originalFilename: string;
7426
+ }, {
7427
+ type: string;
7428
+ option: string;
7429
+ filename: string;
7430
+ originalFilename: string;
7431
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
7432
+ country: z.ZodString;
7433
+ addressType: z.ZodLiteral<"DOMESTIC">;
7434
+ province: z.ZodString;
7435
+ district: z.ZodString;
7436
+ }, {
7437
+ urbanOrRural: z.ZodLiteral<"URBAN">;
7438
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7439
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7440
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7441
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7442
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7443
+ }>, "strip", z.ZodTypeAny, {
7444
+ country: string;
7445
+ district: string;
7446
+ addressType: "DOMESTIC";
7447
+ province: string;
7448
+ urbanOrRural: "URBAN";
7449
+ number?: string | null | undefined;
7450
+ town?: string | null | undefined;
7451
+ residentialArea?: string | null | undefined;
7452
+ street?: string | null | undefined;
7453
+ zipCode?: string | null | undefined;
7454
+ }, {
7455
+ country: string;
7456
+ district: string;
7457
+ addressType: "DOMESTIC";
7458
+ province: string;
7459
+ urbanOrRural: "URBAN";
7460
+ number?: string | null | undefined;
7461
+ town?: string | null | undefined;
7462
+ residentialArea?: string | null | undefined;
7463
+ street?: string | null | undefined;
7464
+ zipCode?: string | null | undefined;
7465
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7466
+ country: z.ZodString;
7467
+ addressType: z.ZodLiteral<"DOMESTIC">;
7468
+ province: z.ZodString;
7469
+ district: z.ZodString;
7470
+ }, {
7471
+ urbanOrRural: z.ZodLiteral<"RURAL">;
7472
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7473
+ }>, "strip", z.ZodTypeAny, {
7474
+ country: string;
7475
+ district: string;
7476
+ addressType: "DOMESTIC";
7477
+ province: string;
7478
+ urbanOrRural: "RURAL";
7479
+ village?: string | null | undefined;
7480
+ }, {
7481
+ country: string;
7482
+ district: string;
7483
+ addressType: "DOMESTIC";
7484
+ province: string;
7485
+ urbanOrRural: "RURAL";
7486
+ village?: string | null | undefined;
7487
+ }>, z.ZodUndefined, z.ZodObject<{
7488
+ country: z.ZodString;
7489
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
7490
+ state: z.ZodString;
7491
+ district2: z.ZodString;
7492
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7493
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7494
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7495
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7496
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7497
+ }, "strip", z.ZodTypeAny, {
7498
+ country: string;
7499
+ state: string;
7500
+ addressType: "INTERNATIONAL";
7501
+ district2: string;
7502
+ cityOrTown?: string | null | undefined;
7503
+ addressLine1?: string | null | undefined;
7504
+ addressLine2?: string | null | undefined;
7505
+ addressLine3?: string | null | undefined;
7506
+ postcodeOrZip?: string | null | undefined;
7507
+ }, {
7508
+ country: string;
7509
+ state: string;
7510
+ addressType: "INTERNATIONAL";
7511
+ district2: string;
7512
+ cityOrTown?: string | null | undefined;
7513
+ addressLine1?: string | null | undefined;
7514
+ addressLine2?: string | null | undefined;
7515
+ addressLine3?: string | null | undefined;
7516
+ postcodeOrZip?: string | null | undefined;
7517
+ }>]>>>;
7518
+ originalActionId: z.ZodOptional<z.ZodString>;
7519
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7520
+ }, {
7521
+ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7522
+ }>, "strip", z.ZodTypeAny, {
7523
+ type: "NOTIFY";
7524
+ transactionId: string;
7525
+ declaration: Record<string, string | number | boolean | {
7526
+ type: string;
7527
+ filename: string;
7528
+ originalFilename: string;
7529
+ } | {
7530
+ country: string;
7531
+ district: string;
7532
+ addressType: "DOMESTIC";
7533
+ province: string;
7534
+ urbanOrRural: "URBAN";
7535
+ number?: string | null | undefined;
7536
+ town?: string | null | undefined;
7537
+ residentialArea?: string | null | undefined;
7538
+ street?: string | null | undefined;
7539
+ zipCode?: string | null | undefined;
7540
+ } | {
7541
+ country: string;
7542
+ district: string;
7543
+ addressType: "DOMESTIC";
7544
+ province: string;
7545
+ urbanOrRural: "RURAL";
7546
+ village?: string | null | undefined;
7547
+ } | {
7548
+ country: string;
7549
+ state: string;
7550
+ addressType: "INTERNATIONAL";
7551
+ district2: string;
7552
+ cityOrTown?: string | null | undefined;
7553
+ addressLine1?: string | null | undefined;
7554
+ addressLine2?: string | null | undefined;
7555
+ addressLine3?: string | null | undefined;
7556
+ postcodeOrZip?: string | null | undefined;
7557
+ } | {
7558
+ type: string;
7559
+ option: string;
7560
+ filename: string;
7561
+ originalFilename: string;
7562
+ }[] | [string, string] | undefined>;
7563
+ eventId: string;
7564
+ annotation?: Record<string, string | number | boolean | {
7565
+ type: string;
7566
+ filename: string;
7567
+ originalFilename: string;
7568
+ } | {
7569
+ country: string;
7570
+ district: string;
7571
+ addressType: "DOMESTIC";
7572
+ province: string;
7573
+ urbanOrRural: "URBAN";
7574
+ number?: string | null | undefined;
7575
+ town?: string | null | undefined;
7576
+ residentialArea?: string | null | undefined;
7577
+ street?: string | null | undefined;
7578
+ zipCode?: string | null | undefined;
7579
+ } | {
7580
+ country: string;
7581
+ district: string;
7582
+ addressType: "DOMESTIC";
7583
+ province: string;
7584
+ urbanOrRural: "RURAL";
7585
+ village?: string | null | undefined;
7586
+ } | {
7587
+ country: string;
7588
+ state: string;
7589
+ addressType: "INTERNATIONAL";
7590
+ district2: string;
7591
+ cityOrTown?: string | null | undefined;
7592
+ addressLine1?: string | null | undefined;
7593
+ addressLine2?: string | null | undefined;
7594
+ addressLine3?: string | null | undefined;
7595
+ postcodeOrZip?: string | null | undefined;
7596
+ } | {
7597
+ type: string;
7598
+ option: string;
7599
+ filename: string;
7600
+ originalFilename: string;
7601
+ }[] | [string, string] | undefined> | undefined;
7602
+ originalActionId?: string | undefined;
7603
+ keepAssignment?: boolean | undefined;
7604
+ }, {
7605
+ transactionId: string;
7606
+ eventId: string;
7607
+ type?: "NOTIFY" | undefined;
7608
+ declaration?: Record<string, string | number | boolean | {
7609
+ type: string;
7610
+ filename: string;
7611
+ originalFilename: string;
7612
+ } | {
7613
+ country: string;
7614
+ district: string;
7615
+ addressType: "DOMESTIC";
7616
+ province: string;
7617
+ urbanOrRural: "URBAN";
7618
+ number?: string | null | undefined;
7619
+ town?: string | null | undefined;
7620
+ residentialArea?: string | null | undefined;
7621
+ street?: string | null | undefined;
7622
+ zipCode?: string | null | undefined;
7623
+ } | {
7624
+ country: string;
7625
+ district: string;
7626
+ addressType: "DOMESTIC";
7627
+ province: string;
7628
+ urbanOrRural: "RURAL";
7629
+ village?: string | null | undefined;
7630
+ } | {
7631
+ country: string;
7632
+ state: string;
7633
+ addressType: "INTERNATIONAL";
7634
+ district2: string;
7635
+ cityOrTown?: string | null | undefined;
7636
+ addressLine1?: string | null | undefined;
7637
+ addressLine2?: string | null | undefined;
7638
+ addressLine3?: string | null | undefined;
7639
+ postcodeOrZip?: string | null | undefined;
7640
+ } | {
7641
+ type: string;
7642
+ option: string;
7643
+ filename: string;
7644
+ originalFilename: string;
7645
+ }[] | [string, string] | undefined> | undefined;
7646
+ annotation?: Record<string, string | number | boolean | {
7647
+ type: string;
7648
+ filename: string;
7649
+ originalFilename: string;
7650
+ } | {
7651
+ country: string;
7652
+ district: string;
7653
+ addressType: "DOMESTIC";
7654
+ province: string;
7655
+ urbanOrRural: "URBAN";
7656
+ number?: string | null | undefined;
7657
+ town?: string | null | undefined;
7658
+ residentialArea?: string | null | undefined;
7659
+ street?: string | null | undefined;
7660
+ zipCode?: string | null | undefined;
7661
+ } | {
7662
+ country: string;
7663
+ district: string;
7664
+ addressType: "DOMESTIC";
7665
+ province: string;
7666
+ urbanOrRural: "RURAL";
7667
+ village?: string | null | undefined;
7668
+ } | {
7669
+ country: string;
7670
+ state: string;
7671
+ addressType: "INTERNATIONAL";
7672
+ district2: string;
7673
+ cityOrTown?: string | null | undefined;
7674
+ addressLine1?: string | null | undefined;
7675
+ addressLine2?: string | null | undefined;
7676
+ addressLine3?: string | null | undefined;
7677
+ postcodeOrZip?: string | null | undefined;
7678
+ } | {
7679
+ type: string;
7680
+ option: string;
7681
+ filename: string;
7682
+ originalFilename: string;
7683
+ }[] | [string, string] | undefined> | undefined;
7684
+ originalActionId?: string | undefined;
7685
+ keepAssignment?: boolean | undefined;
7686
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7687
+ eventId: z.ZodString;
7688
+ transactionId: z.ZodString;
7689
+ 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<{
7690
+ filename: z.ZodString;
7691
+ originalFilename: z.ZodString;
7692
+ type: z.ZodString;
7693
+ }, "strip", z.ZodTypeAny, {
7694
+ type: string;
7695
+ filename: string;
7696
+ originalFilename: string;
7697
+ }, {
7698
+ type: string;
7699
+ filename: string;
7700
+ originalFilename: string;
7701
+ }>, z.ZodArray<z.ZodObject<{
7702
+ filename: z.ZodString;
7703
+ originalFilename: z.ZodString;
7704
+ type: z.ZodString;
7705
+ option: z.ZodString;
7706
+ }, "strip", z.ZodTypeAny, {
7707
+ type: string;
7708
+ option: string;
7709
+ filename: string;
7710
+ originalFilename: string;
7711
+ }, {
7712
+ type: string;
7713
+ option: string;
7714
+ filename: string;
7715
+ originalFilename: string;
7716
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
7717
+ country: z.ZodString;
7718
+ addressType: z.ZodLiteral<"DOMESTIC">;
7719
+ province: z.ZodString;
7720
+ district: z.ZodString;
7721
+ }, {
7722
+ urbanOrRural: z.ZodLiteral<"URBAN">;
7723
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7724
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7725
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7726
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7727
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7728
+ }>, "strip", z.ZodTypeAny, {
7729
+ country: string;
7730
+ district: string;
7731
+ addressType: "DOMESTIC";
7732
+ province: string;
7733
+ urbanOrRural: "URBAN";
7734
+ number?: string | null | undefined;
7735
+ town?: string | null | undefined;
7736
+ residentialArea?: string | null | undefined;
7737
+ street?: string | null | undefined;
7738
+ zipCode?: string | null | undefined;
7739
+ }, {
7740
+ country: string;
7741
+ district: string;
7742
+ addressType: "DOMESTIC";
7743
+ province: string;
7744
+ urbanOrRural: "URBAN";
7745
+ number?: string | null | undefined;
7746
+ town?: string | null | undefined;
7747
+ residentialArea?: string | null | undefined;
7748
+ street?: string | null | undefined;
7749
+ zipCode?: string | null | undefined;
7750
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7751
+ country: z.ZodString;
7752
+ addressType: z.ZodLiteral<"DOMESTIC">;
7753
+ province: z.ZodString;
7754
+ district: z.ZodString;
7755
+ }, {
7756
+ urbanOrRural: z.ZodLiteral<"RURAL">;
7757
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7758
+ }>, "strip", z.ZodTypeAny, {
7759
+ country: string;
7760
+ district: string;
7761
+ addressType: "DOMESTIC";
7762
+ province: string;
7763
+ urbanOrRural: "RURAL";
7764
+ village?: string | null | undefined;
7765
+ }, {
7766
+ country: string;
7767
+ district: string;
7768
+ addressType: "DOMESTIC";
7769
+ province: string;
7770
+ urbanOrRural: "RURAL";
7771
+ village?: string | null | undefined;
7772
+ }>, z.ZodUndefined, z.ZodObject<{
7773
+ country: z.ZodString;
7774
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
7775
+ state: z.ZodString;
7776
+ district2: z.ZodString;
7777
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7778
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7779
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7780
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7781
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7782
+ }, "strip", z.ZodTypeAny, {
7783
+ country: string;
7784
+ state: string;
7785
+ addressType: "INTERNATIONAL";
7786
+ district2: string;
7787
+ cityOrTown?: string | null | undefined;
7788
+ addressLine1?: string | null | undefined;
7789
+ addressLine2?: string | null | undefined;
7790
+ addressLine3?: string | null | undefined;
7791
+ postcodeOrZip?: string | null | undefined;
7792
+ }, {
7793
+ country: string;
7794
+ state: string;
7795
+ addressType: "INTERNATIONAL";
7796
+ district2: string;
7797
+ cityOrTown?: string | null | undefined;
7798
+ addressLine1?: string | null | undefined;
7799
+ addressLine2?: string | null | undefined;
7800
+ addressLine3?: string | null | undefined;
7801
+ postcodeOrZip?: string | null | undefined;
7802
+ }>]>>>;
7803
+ 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<{
7804
+ filename: z.ZodString;
7805
+ originalFilename: z.ZodString;
7806
+ type: z.ZodString;
7807
+ }, "strip", z.ZodTypeAny, {
7808
+ type: string;
7809
+ filename: string;
7810
+ originalFilename: string;
7811
+ }, {
7812
+ type: string;
7813
+ filename: string;
7814
+ originalFilename: string;
7815
+ }>, z.ZodArray<z.ZodObject<{
7816
+ filename: z.ZodString;
7817
+ originalFilename: z.ZodString;
7818
+ type: z.ZodString;
7819
+ option: z.ZodString;
7820
+ }, "strip", z.ZodTypeAny, {
7821
+ type: string;
7822
+ option: string;
7823
+ filename: string;
7824
+ originalFilename: string;
7825
+ }, {
7826
+ type: string;
7827
+ option: string;
7828
+ filename: string;
7829
+ originalFilename: string;
7830
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
7831
+ country: z.ZodString;
7832
+ addressType: z.ZodLiteral<"DOMESTIC">;
7833
+ province: z.ZodString;
7834
+ district: z.ZodString;
7835
+ }, {
7836
+ urbanOrRural: z.ZodLiteral<"URBAN">;
7837
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7838
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7839
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7840
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7841
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7842
+ }>, "strip", z.ZodTypeAny, {
7843
+ country: string;
7844
+ district: string;
7845
+ addressType: "DOMESTIC";
7846
+ province: string;
7847
+ urbanOrRural: "URBAN";
7848
+ number?: string | null | undefined;
7849
+ town?: string | null | undefined;
7850
+ residentialArea?: string | null | undefined;
7851
+ street?: string | null | undefined;
7852
+ zipCode?: string | null | undefined;
7853
+ }, {
7854
+ country: string;
7855
+ district: string;
7856
+ addressType: "DOMESTIC";
7857
+ province: string;
7858
+ urbanOrRural: "URBAN";
7859
+ number?: string | null | undefined;
7860
+ town?: string | null | undefined;
7861
+ residentialArea?: string | null | undefined;
7862
+ street?: string | null | undefined;
7863
+ zipCode?: string | null | undefined;
7864
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7865
+ country: z.ZodString;
7866
+ addressType: z.ZodLiteral<"DOMESTIC">;
7867
+ province: z.ZodString;
7868
+ district: z.ZodString;
7869
+ }, {
7870
+ urbanOrRural: z.ZodLiteral<"RURAL">;
7871
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7872
+ }>, "strip", z.ZodTypeAny, {
7873
+ country: string;
7874
+ district: string;
7875
+ addressType: "DOMESTIC";
7876
+ province: string;
7877
+ urbanOrRural: "RURAL";
7878
+ village?: string | null | undefined;
7879
+ }, {
7880
+ country: string;
7881
+ district: string;
7882
+ addressType: "DOMESTIC";
7883
+ province: string;
7884
+ urbanOrRural: "RURAL";
7885
+ village?: string | null | undefined;
7886
+ }>, z.ZodUndefined, z.ZodObject<{
7887
+ country: z.ZodString;
7888
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
7889
+ state: z.ZodString;
7890
+ district2: z.ZodString;
7891
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7892
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7893
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7894
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7895
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7896
+ }, "strip", z.ZodTypeAny, {
7897
+ country: string;
7898
+ state: string;
7899
+ addressType: "INTERNATIONAL";
7900
+ district2: string;
7901
+ cityOrTown?: string | null | undefined;
7902
+ addressLine1?: string | null | undefined;
7903
+ addressLine2?: string | null | undefined;
7904
+ addressLine3?: string | null | undefined;
7905
+ postcodeOrZip?: string | null | undefined;
7906
+ }, {
7907
+ country: string;
7908
+ state: string;
7909
+ addressType: "INTERNATIONAL";
7910
+ district2: string;
7911
+ cityOrTown?: string | null | undefined;
7912
+ addressLine1?: string | null | undefined;
7913
+ addressLine2?: string | null | undefined;
7914
+ addressLine3?: string | null | undefined;
7915
+ postcodeOrZip?: string | null | undefined;
7916
+ }>]>>>;
7917
+ originalActionId: z.ZodOptional<z.ZodString>;
7918
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7919
+ }, {
7920
+ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7921
+ }>, "strip", z.ZodTypeAny, {
7922
+ type: "DECLARE";
7923
+ transactionId: string;
7924
+ declaration: Record<string, string | number | boolean | {
7925
+ type: string;
7926
+ filename: string;
7927
+ originalFilename: string;
7928
+ } | {
7929
+ country: string;
7930
+ district: string;
7931
+ addressType: "DOMESTIC";
7932
+ province: string;
7933
+ urbanOrRural: "URBAN";
7934
+ number?: string | null | undefined;
7935
+ town?: string | null | undefined;
7936
+ residentialArea?: string | null | undefined;
7937
+ street?: string | null | undefined;
7938
+ zipCode?: string | null | undefined;
7939
+ } | {
7940
+ country: string;
7941
+ district: string;
7942
+ addressType: "DOMESTIC";
7943
+ province: string;
7944
+ urbanOrRural: "RURAL";
7945
+ village?: string | null | undefined;
7946
+ } | {
7947
+ country: string;
7948
+ state: string;
7949
+ addressType: "INTERNATIONAL";
7950
+ district2: string;
7951
+ cityOrTown?: string | null | undefined;
7952
+ addressLine1?: string | null | undefined;
7953
+ addressLine2?: string | null | undefined;
7954
+ addressLine3?: string | null | undefined;
7955
+ postcodeOrZip?: string | null | undefined;
7956
+ } | {
7957
+ type: string;
7958
+ option: string;
7959
+ filename: string;
7960
+ originalFilename: string;
7961
+ }[] | [string, string] | undefined>;
7962
+ eventId: string;
7963
+ annotation?: Record<string, string | number | boolean | {
7964
+ type: string;
7965
+ filename: string;
7966
+ originalFilename: string;
7967
+ } | {
7968
+ country: string;
7969
+ district: string;
7970
+ addressType: "DOMESTIC";
7971
+ province: string;
7972
+ urbanOrRural: "URBAN";
7973
+ number?: string | null | undefined;
7974
+ town?: string | null | undefined;
7975
+ residentialArea?: string | null | undefined;
7976
+ street?: string | null | undefined;
7977
+ zipCode?: string | null | undefined;
7978
+ } | {
7979
+ country: string;
7980
+ district: string;
7981
+ addressType: "DOMESTIC";
7982
+ province: string;
7983
+ urbanOrRural: "RURAL";
7984
+ village?: string | null | undefined;
7985
+ } | {
7986
+ country: string;
7987
+ state: string;
7988
+ addressType: "INTERNATIONAL";
7989
+ district2: string;
7990
+ cityOrTown?: string | null | undefined;
7991
+ addressLine1?: string | null | undefined;
7992
+ addressLine2?: string | null | undefined;
7993
+ addressLine3?: string | null | undefined;
7994
+ postcodeOrZip?: string | null | undefined;
7995
+ } | {
7996
+ type: string;
7997
+ option: string;
7998
+ filename: string;
7999
+ originalFilename: string;
8000
+ }[] | [string, string] | undefined> | undefined;
8001
+ originalActionId?: string | undefined;
8002
+ keepAssignment?: boolean | undefined;
8003
+ }, {
8004
+ transactionId: string;
8005
+ eventId: string;
8006
+ type?: "DECLARE" | undefined;
8007
+ declaration?: Record<string, string | number | boolean | {
8008
+ type: string;
8009
+ filename: string;
8010
+ originalFilename: string;
8011
+ } | {
8012
+ country: string;
8013
+ district: string;
8014
+ addressType: "DOMESTIC";
8015
+ province: string;
8016
+ urbanOrRural: "URBAN";
8017
+ number?: string | null | undefined;
8018
+ town?: string | null | undefined;
8019
+ residentialArea?: string | null | undefined;
8020
+ street?: string | null | undefined;
8021
+ zipCode?: string | null | undefined;
8022
+ } | {
8023
+ country: string;
8024
+ district: string;
8025
+ addressType: "DOMESTIC";
8026
+ province: string;
8027
+ urbanOrRural: "RURAL";
8028
+ village?: string | null | undefined;
8029
+ } | {
8030
+ country: string;
8031
+ state: string;
8032
+ addressType: "INTERNATIONAL";
8033
+ district2: string;
8034
+ cityOrTown?: string | null | undefined;
8035
+ addressLine1?: string | null | undefined;
8036
+ addressLine2?: string | null | undefined;
8037
+ addressLine3?: string | null | undefined;
8038
+ postcodeOrZip?: string | null | undefined;
8039
+ } | {
8040
+ type: string;
8041
+ option: string;
8042
+ filename: string;
8043
+ originalFilename: string;
8044
+ }[] | [string, string] | undefined> | undefined;
8045
+ annotation?: Record<string, string | number | boolean | {
8046
+ type: string;
8047
+ filename: string;
8048
+ originalFilename: string;
8049
+ } | {
8050
+ country: string;
8051
+ district: string;
8052
+ addressType: "DOMESTIC";
8053
+ province: string;
8054
+ urbanOrRural: "URBAN";
8055
+ number?: string | null | undefined;
8056
+ town?: string | null | undefined;
8057
+ residentialArea?: string | null | undefined;
8058
+ street?: string | null | undefined;
8059
+ zipCode?: string | null | undefined;
8060
+ } | {
8061
+ country: string;
8062
+ district: string;
8063
+ addressType: "DOMESTIC";
8064
+ province: string;
8065
+ urbanOrRural: "RURAL";
8066
+ village?: string | null | undefined;
8067
+ } | {
8068
+ country: string;
8069
+ state: string;
8070
+ addressType: "INTERNATIONAL";
8071
+ district2: string;
8072
+ cityOrTown?: string | null | undefined;
8073
+ addressLine1?: string | null | undefined;
8074
+ addressLine2?: string | null | undefined;
8075
+ addressLine3?: string | null | undefined;
8076
+ postcodeOrZip?: string | null | undefined;
8077
+ } | {
8078
+ type: string;
8079
+ option: string;
8080
+ filename: string;
8081
+ originalFilename: string;
8082
+ }[] | [string, string] | undefined> | undefined;
8083
+ originalActionId?: string | undefined;
8084
+ keepAssignment?: boolean | undefined;
8085
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8086
+ eventId: z.ZodString;
8087
+ transactionId: z.ZodString;
8088
+ 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<{
8089
+ filename: z.ZodString;
8090
+ originalFilename: z.ZodString;
8091
+ type: z.ZodString;
8092
+ }, "strip", z.ZodTypeAny, {
8093
+ type: string;
8094
+ filename: string;
8095
+ originalFilename: string;
8096
+ }, {
8097
+ type: string;
8098
+ filename: string;
8099
+ originalFilename: string;
8100
+ }>, z.ZodArray<z.ZodObject<{
8101
+ filename: z.ZodString;
8102
+ originalFilename: z.ZodString;
8103
+ type: z.ZodString;
8104
+ option: z.ZodString;
8105
+ }, "strip", z.ZodTypeAny, {
8106
+ type: string;
8107
+ option: string;
8108
+ filename: string;
8109
+ originalFilename: string;
8110
+ }, {
8111
+ type: string;
8112
+ option: string;
8113
+ filename: string;
8114
+ originalFilename: string;
8115
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
8116
+ country: z.ZodString;
8117
+ addressType: z.ZodLiteral<"DOMESTIC">;
8118
+ province: z.ZodString;
8119
+ district: z.ZodString;
8120
+ }, {
8121
+ urbanOrRural: z.ZodLiteral<"URBAN">;
8122
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8123
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8124
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8125
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8126
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8127
+ }>, "strip", z.ZodTypeAny, {
8128
+ country: string;
8129
+ district: string;
8130
+ addressType: "DOMESTIC";
8131
+ province: string;
8132
+ urbanOrRural: "URBAN";
8133
+ number?: string | null | undefined;
8134
+ town?: string | null | undefined;
8135
+ residentialArea?: string | null | undefined;
8136
+ street?: string | null | undefined;
8137
+ zipCode?: string | null | undefined;
8138
+ }, {
8139
+ country: string;
8140
+ district: string;
8141
+ addressType: "DOMESTIC";
8142
+ province: string;
8143
+ urbanOrRural: "URBAN";
8144
+ number?: string | null | undefined;
8145
+ town?: string | null | undefined;
8146
+ residentialArea?: string | null | undefined;
8147
+ street?: string | null | undefined;
8148
+ zipCode?: string | null | undefined;
8149
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8150
+ country: z.ZodString;
8151
+ addressType: z.ZodLiteral<"DOMESTIC">;
8152
+ province: z.ZodString;
8153
+ district: z.ZodString;
8154
+ }, {
8155
+ urbanOrRural: z.ZodLiteral<"RURAL">;
8156
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8157
+ }>, "strip", z.ZodTypeAny, {
8158
+ country: string;
8159
+ district: string;
8160
+ addressType: "DOMESTIC";
8161
+ province: string;
8162
+ urbanOrRural: "RURAL";
8163
+ village?: string | null | undefined;
8164
+ }, {
8165
+ country: string;
8166
+ district: string;
8167
+ addressType: "DOMESTIC";
8168
+ province: string;
8169
+ urbanOrRural: "RURAL";
8170
+ village?: string | null | undefined;
8171
+ }>, z.ZodUndefined, z.ZodObject<{
8172
+ country: z.ZodString;
8173
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
8174
+ state: z.ZodString;
8175
+ district2: z.ZodString;
8176
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8177
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8178
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8179
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8180
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8181
+ }, "strip", z.ZodTypeAny, {
8182
+ country: string;
8183
+ state: string;
8184
+ addressType: "INTERNATIONAL";
8185
+ district2: string;
8186
+ cityOrTown?: string | null | undefined;
8187
+ addressLine1?: string | null | undefined;
8188
+ addressLine2?: string | null | undefined;
8189
+ addressLine3?: string | null | undefined;
8190
+ postcodeOrZip?: string | null | undefined;
8191
+ }, {
8192
+ country: string;
8193
+ state: string;
8194
+ addressType: "INTERNATIONAL";
8195
+ district2: string;
8196
+ cityOrTown?: string | null | undefined;
8197
+ addressLine1?: string | null | undefined;
8198
+ addressLine2?: string | null | undefined;
8199
+ addressLine3?: string | null | undefined;
8200
+ postcodeOrZip?: string | null | undefined;
8201
+ }>]>>>;
8202
+ 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<{
8203
+ filename: z.ZodString;
8204
+ originalFilename: z.ZodString;
8205
+ type: z.ZodString;
8206
+ }, "strip", z.ZodTypeAny, {
8207
+ type: string;
8208
+ filename: string;
8209
+ originalFilename: string;
8210
+ }, {
8211
+ type: string;
8212
+ filename: string;
8213
+ originalFilename: string;
8214
+ }>, z.ZodArray<z.ZodObject<{
8215
+ filename: z.ZodString;
8216
+ originalFilename: z.ZodString;
8217
+ type: z.ZodString;
8218
+ option: z.ZodString;
8219
+ }, "strip", z.ZodTypeAny, {
8220
+ type: string;
8221
+ option: string;
8222
+ filename: string;
8223
+ originalFilename: string;
8224
+ }, {
8225
+ type: string;
8226
+ option: string;
8227
+ filename: string;
8228
+ originalFilename: string;
8229
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
8230
+ country: z.ZodString;
8231
+ addressType: z.ZodLiteral<"DOMESTIC">;
8232
+ province: z.ZodString;
8233
+ district: z.ZodString;
8234
+ }, {
8235
+ urbanOrRural: z.ZodLiteral<"URBAN">;
8236
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8237
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8238
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8239
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8240
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8241
+ }>, "strip", z.ZodTypeAny, {
8242
+ country: string;
8243
+ district: string;
8244
+ addressType: "DOMESTIC";
8245
+ province: string;
8246
+ urbanOrRural: "URBAN";
8247
+ number?: string | null | undefined;
8248
+ town?: string | null | undefined;
8249
+ residentialArea?: string | null | undefined;
8250
+ street?: string | null | undefined;
8251
+ zipCode?: string | null | undefined;
8252
+ }, {
8253
+ country: string;
8254
+ district: string;
8255
+ addressType: "DOMESTIC";
8256
+ province: string;
8257
+ urbanOrRural: "URBAN";
8258
+ number?: string | null | undefined;
8259
+ town?: string | null | undefined;
8260
+ residentialArea?: string | null | undefined;
8261
+ street?: string | null | undefined;
8262
+ zipCode?: string | null | undefined;
8263
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8264
+ country: z.ZodString;
8265
+ addressType: z.ZodLiteral<"DOMESTIC">;
8266
+ province: z.ZodString;
8267
+ district: z.ZodString;
8268
+ }, {
8269
+ urbanOrRural: z.ZodLiteral<"RURAL">;
8270
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8271
+ }>, "strip", z.ZodTypeAny, {
8272
+ country: string;
8273
+ district: string;
8274
+ addressType: "DOMESTIC";
8275
+ province: string;
8276
+ urbanOrRural: "RURAL";
8277
+ village?: string | null | undefined;
8278
+ }, {
8279
+ country: string;
8280
+ district: string;
8281
+ addressType: "DOMESTIC";
8282
+ province: string;
8283
+ urbanOrRural: "RURAL";
8284
+ village?: string | null | undefined;
8285
+ }>, z.ZodUndefined, z.ZodObject<{
8286
+ country: z.ZodString;
8287
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
8288
+ state: z.ZodString;
8289
+ district2: z.ZodString;
8290
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8291
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8292
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8293
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8294
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8295
+ }, "strip", z.ZodTypeAny, {
8296
+ country: string;
8297
+ state: string;
8298
+ addressType: "INTERNATIONAL";
8299
+ district2: string;
8300
+ cityOrTown?: string | null | undefined;
8301
+ addressLine1?: string | null | undefined;
8302
+ addressLine2?: string | null | undefined;
8303
+ addressLine3?: string | null | undefined;
8304
+ postcodeOrZip?: string | null | undefined;
8305
+ }, {
8306
+ country: string;
8307
+ state: string;
8308
+ addressType: "INTERNATIONAL";
8309
+ district2: string;
8310
+ cityOrTown?: string | null | undefined;
8311
+ addressLine1?: string | null | undefined;
8312
+ addressLine2?: string | null | undefined;
8313
+ addressLine3?: string | null | undefined;
8314
+ postcodeOrZip?: string | null | undefined;
8315
+ }>]>>>;
8316
+ originalActionId: z.ZodOptional<z.ZodString>;
8317
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8318
+ }, {
8319
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8320
+ reason: z.ZodObject<{
8321
+ message: z.ZodString;
8322
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
8323
+ }, "strip", z.ZodTypeAny, {
8324
+ message: string;
8325
+ isDuplicate?: boolean | undefined;
8326
+ }, {
8327
+ message: string;
8328
+ isDuplicate?: boolean | undefined;
8329
+ }>;
8330
+ }>, "strip", z.ZodTypeAny, {
8331
+ type: "REJECT";
8332
+ reason: {
8333
+ message: string;
8334
+ isDuplicate?: boolean | undefined;
8335
+ };
6641
8336
  transactionId: string;
6642
- metadata?: Record<string, string | number | boolean | {
8337
+ declaration: Record<string, string | number | boolean | {
6643
8338
  type: string;
6644
8339
  filename: string;
6645
8340
  originalFilename: string;
@@ -6676,9 +8371,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6676
8371
  option: string;
6677
8372
  filename: string;
6678
8373
  originalFilename: string;
6679
- }[]> | undefined;
6680
- }, {
6681
- data: Record<string, string | number | boolean | {
8374
+ }[] | [string, string] | undefined>;
8375
+ eventId: string;
8376
+ annotation?: Record<string, string | number | boolean | {
6682
8377
  type: string;
6683
8378
  filename: string;
6684
8379
  originalFilename: string;
@@ -6715,11 +8410,56 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6715
8410
  option: string;
6716
8411
  filename: string;
6717
8412
  originalFilename: string;
6718
- }[]>;
6719
- eventId: string;
8413
+ }[] | [string, string] | undefined> | undefined;
8414
+ originalActionId?: string | undefined;
8415
+ keepAssignment?: boolean | undefined;
8416
+ }, {
8417
+ reason: {
8418
+ message: string;
8419
+ isDuplicate?: boolean | undefined;
8420
+ };
6720
8421
  transactionId: string;
6721
- type?: "DECLARE" | undefined;
6722
- metadata?: Record<string, string | number | boolean | {
8422
+ eventId: string;
8423
+ type?: "REJECT" | undefined;
8424
+ declaration?: Record<string, string | number | boolean | {
8425
+ type: string;
8426
+ filename: string;
8427
+ originalFilename: string;
8428
+ } | {
8429
+ country: string;
8430
+ district: string;
8431
+ addressType: "DOMESTIC";
8432
+ province: string;
8433
+ urbanOrRural: "URBAN";
8434
+ number?: string | null | undefined;
8435
+ town?: string | null | undefined;
8436
+ residentialArea?: string | null | undefined;
8437
+ street?: string | null | undefined;
8438
+ zipCode?: string | null | undefined;
8439
+ } | {
8440
+ country: string;
8441
+ district: string;
8442
+ addressType: "DOMESTIC";
8443
+ province: string;
8444
+ urbanOrRural: "RURAL";
8445
+ village?: string | null | undefined;
8446
+ } | {
8447
+ country: string;
8448
+ state: string;
8449
+ addressType: "INTERNATIONAL";
8450
+ district2: string;
8451
+ cityOrTown?: string | null | undefined;
8452
+ addressLine1?: string | null | undefined;
8453
+ addressLine2?: string | null | undefined;
8454
+ addressLine3?: string | null | undefined;
8455
+ postcodeOrZip?: string | null | undefined;
8456
+ } | {
8457
+ type: string;
8458
+ option: string;
8459
+ filename: string;
8460
+ originalFilename: string;
8461
+ }[] | [string, string] | undefined> | undefined;
8462
+ annotation?: Record<string, string | number | boolean | {
6723
8463
  type: string;
6724
8464
  filename: string;
6725
8465
  originalFilename: string;
@@ -6756,11 +8496,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6756
8496
  option: string;
6757
8497
  filename: string;
6758
8498
  originalFilename: string;
6759
- }[]> | undefined;
8499
+ }[] | [string, string] | undefined> | undefined;
8500
+ originalActionId?: string | undefined;
8501
+ keepAssignment?: boolean | undefined;
6760
8502
  }>, z.ZodObject<z.objectUtil.extendShape<{
6761
8503
  eventId: z.ZodString;
6762
8504
  transactionId: z.ZodString;
6763
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8505
+ 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<{
6764
8506
  filename: z.ZodString;
6765
8507
  originalFilename: z.ZodString;
6766
8508
  type: z.ZodString;
@@ -6843,7 +8585,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6843
8585
  province: string;
6844
8586
  urbanOrRural: "RURAL";
6845
8587
  village?: string | null | undefined;
6846
- }>, z.ZodObject<{
8588
+ }>, z.ZodUndefined, z.ZodObject<{
6847
8589
  country: z.ZodString;
6848
8590
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6849
8591
  state: z.ZodString;
@@ -6873,8 +8615,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6873
8615
  addressLine2?: string | null | undefined;
6874
8616
  addressLine3?: string | null | undefined;
6875
8617
  postcodeOrZip?: string | null | undefined;
6876
- }>]>>;
6877
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8618
+ }>]>>>;
8619
+ 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<{
6878
8620
  filename: z.ZodString;
6879
8621
  originalFilename: z.ZodString;
6880
8622
  type: z.ZodString;
@@ -6957,7 +8699,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6957
8699
  province: string;
6958
8700
  urbanOrRural: "RURAL";
6959
8701
  village?: string | null | undefined;
6960
- }>, z.ZodObject<{
8702
+ }>, z.ZodUndefined, z.ZodObject<{
6961
8703
  country: z.ZodString;
6962
8704
  addressType: z.ZodLiteral<"INTERNATIONAL">;
6963
8705
  state: z.ZodString;
@@ -6988,11 +8730,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6988
8730
  addressLine3?: string | null | undefined;
6989
8731
  postcodeOrZip?: string | null | undefined;
6990
8732
  }>]>>>;
8733
+ originalActionId: z.ZodOptional<z.ZodString>;
8734
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6991
8735
  }, {
6992
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8736
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
6993
8737
  }>, "strip", z.ZodTypeAny, {
6994
- type: "REJECT";
6995
- data: Record<string, string | number | boolean | {
8738
+ type: "MARKED_AS_DUPLICATE";
8739
+ transactionId: string;
8740
+ declaration: Record<string, string | number | boolean | {
6996
8741
  type: string;
6997
8742
  filename: string;
6998
8743
  originalFilename: string;
@@ -7029,10 +8774,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7029
8774
  option: string;
7030
8775
  filename: string;
7031
8776
  originalFilename: string;
7032
- }[]>;
8777
+ }[] | [string, string] | undefined>;
7033
8778
  eventId: string;
7034
- transactionId: string;
7035
- metadata?: Record<string, string | number | boolean | {
8779
+ annotation?: Record<string, string | number | boolean | {
7036
8780
  type: string;
7037
8781
  filename: string;
7038
8782
  originalFilename: string;
@@ -7069,9 +8813,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7069
8813
  option: string;
7070
8814
  filename: string;
7071
8815
  originalFilename: string;
7072
- }[]> | undefined;
8816
+ }[] | [string, string] | undefined> | undefined;
8817
+ originalActionId?: string | undefined;
8818
+ keepAssignment?: boolean | undefined;
7073
8819
  }, {
7074
- data: Record<string, string | number | boolean | {
8820
+ transactionId: string;
8821
+ eventId: string;
8822
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8823
+ declaration?: Record<string, string | number | boolean | {
7075
8824
  type: string;
7076
8825
  filename: string;
7077
8826
  originalFilename: string;
@@ -7108,11 +8857,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7108
8857
  option: string;
7109
8858
  filename: string;
7110
8859
  originalFilename: string;
7111
- }[]>;
7112
- eventId: string;
7113
- transactionId: string;
7114
- type?: "REJECT" | undefined;
7115
- metadata?: Record<string, string | number | boolean | {
8860
+ }[] | [string, string] | undefined> | undefined;
8861
+ annotation?: Record<string, string | number | boolean | {
7116
8862
  type: string;
7117
8863
  filename: string;
7118
8864
  originalFilename: string;
@@ -7149,11 +8895,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7149
8895
  option: string;
7150
8896
  filename: string;
7151
8897
  originalFilename: string;
7152
- }[]> | undefined;
8898
+ }[] | [string, string] | undefined> | undefined;
8899
+ originalActionId?: string | undefined;
8900
+ keepAssignment?: boolean | undefined;
7153
8901
  }>, z.ZodObject<z.objectUtil.extendShape<{
7154
8902
  eventId: z.ZodString;
7155
8903
  transactionId: z.ZodString;
7156
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8904
+ 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<{
7157
8905
  filename: z.ZodString;
7158
8906
  originalFilename: z.ZodString;
7159
8907
  type: z.ZodString;
@@ -7236,7 +8984,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7236
8984
  province: string;
7237
8985
  urbanOrRural: "RURAL";
7238
8986
  village?: string | null | undefined;
7239
- }>, z.ZodObject<{
8987
+ }>, z.ZodUndefined, z.ZodObject<{
7240
8988
  country: z.ZodString;
7241
8989
  addressType: z.ZodLiteral<"INTERNATIONAL">;
7242
8990
  state: z.ZodString;
@@ -7266,8 +9014,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7266
9014
  addressLine2?: string | null | undefined;
7267
9015
  addressLine3?: string | null | undefined;
7268
9016
  postcodeOrZip?: string | null | undefined;
7269
- }>]>>;
7270
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9017
+ }>]>>>;
9018
+ 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<{
7271
9019
  filename: z.ZodString;
7272
9020
  originalFilename: z.ZodString;
7273
9021
  type: z.ZodString;
@@ -7350,7 +9098,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7350
9098
  province: string;
7351
9099
  urbanOrRural: "RURAL";
7352
9100
  village?: string | null | undefined;
7353
- }>, z.ZodObject<{
9101
+ }>, z.ZodUndefined, z.ZodObject<{
7354
9102
  country: z.ZodString;
7355
9103
  addressType: z.ZodLiteral<"INTERNATIONAL">;
7356
9104
  state: z.ZodString;
@@ -7381,11 +9129,28 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7381
9129
  addressLine3?: string | null | undefined;
7382
9130
  postcodeOrZip?: string | null | undefined;
7383
9131
  }>]>>>;
9132
+ originalActionId: z.ZodOptional<z.ZodString>;
9133
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7384
9134
  }, {
7385
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
9135
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9136
+ reason: z.ZodObject<{
9137
+ message: z.ZodString;
9138
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9139
+ }, "strip", z.ZodTypeAny, {
9140
+ message: string;
9141
+ isDuplicate?: boolean | undefined;
9142
+ }, {
9143
+ message: string;
9144
+ isDuplicate?: boolean | undefined;
9145
+ }>;
7386
9146
  }>, "strip", z.ZodTypeAny, {
7387
- type: "MARKED_AS_DUPLICATE";
7388
- data: Record<string, string | number | boolean | {
9147
+ type: "ARCHIVE";
9148
+ reason: {
9149
+ message: string;
9150
+ isDuplicate?: boolean | undefined;
9151
+ };
9152
+ transactionId: string;
9153
+ declaration: Record<string, string | number | boolean | {
7389
9154
  type: string;
7390
9155
  filename: string;
7391
9156
  originalFilename: string;
@@ -7422,10 +9187,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7422
9187
  option: string;
7423
9188
  filename: string;
7424
9189
  originalFilename: string;
7425
- }[]>;
9190
+ }[] | [string, string] | undefined>;
7426
9191
  eventId: string;
7427
- transactionId: string;
7428
- metadata?: Record<string, string | number | boolean | {
9192
+ annotation?: Record<string, string | number | boolean | {
7429
9193
  type: string;
7430
9194
  filename: string;
7431
9195
  originalFilename: string;
@@ -7462,9 +9226,18 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7462
9226
  option: string;
7463
9227
  filename: string;
7464
9228
  originalFilename: string;
7465
- }[]> | undefined;
9229
+ }[] | [string, string] | undefined> | undefined;
9230
+ originalActionId?: string | undefined;
9231
+ keepAssignment?: boolean | undefined;
7466
9232
  }, {
7467
- data: Record<string, string | number | boolean | {
9233
+ reason: {
9234
+ message: string;
9235
+ isDuplicate?: boolean | undefined;
9236
+ };
9237
+ transactionId: string;
9238
+ eventId: string;
9239
+ type?: "ARCHIVE" | undefined;
9240
+ declaration?: Record<string, string | number | boolean | {
7468
9241
  type: string;
7469
9242
  filename: string;
7470
9243
  originalFilename: string;
@@ -7501,11 +9274,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7501
9274
  option: string;
7502
9275
  filename: string;
7503
9276
  originalFilename: string;
7504
- }[]>;
7505
- eventId: string;
7506
- transactionId: string;
7507
- type?: "MARKED_AS_DUPLICATE" | undefined;
7508
- metadata?: Record<string, string | number | boolean | {
9277
+ }[] | [string, string] | undefined> | undefined;
9278
+ annotation?: Record<string, string | number | boolean | {
7509
9279
  type: string;
7510
9280
  filename: string;
7511
9281
  originalFilename: string;
@@ -7542,11 +9312,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7542
9312
  option: string;
7543
9313
  filename: string;
7544
9314
  originalFilename: string;
7545
- }[]> | undefined;
9315
+ }[] | [string, string] | undefined> | undefined;
9316
+ originalActionId?: string | undefined;
9317
+ keepAssignment?: boolean | undefined;
7546
9318
  }>, z.ZodObject<z.objectUtil.extendShape<{
7547
9319
  eventId: z.ZodString;
7548
9320
  transactionId: z.ZodString;
7549
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9321
+ 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<{
7550
9322
  filename: z.ZodString;
7551
9323
  originalFilename: z.ZodString;
7552
9324
  type: z.ZodString;
@@ -7629,7 +9401,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7629
9401
  province: string;
7630
9402
  urbanOrRural: "RURAL";
7631
9403
  village?: string | null | undefined;
7632
- }>, z.ZodObject<{
9404
+ }>, z.ZodUndefined, z.ZodObject<{
7633
9405
  country: z.ZodString;
7634
9406
  addressType: z.ZodLiteral<"INTERNATIONAL">;
7635
9407
  state: z.ZodString;
@@ -7659,8 +9431,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7659
9431
  addressLine2?: string | null | undefined;
7660
9432
  addressLine3?: string | null | undefined;
7661
9433
  postcodeOrZip?: string | null | undefined;
7662
- }>]>>;
7663
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9434
+ }>]>>>;
9435
+ 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<{
7664
9436
  filename: z.ZodString;
7665
9437
  originalFilename: z.ZodString;
7666
9438
  type: z.ZodString;
@@ -7743,7 +9515,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7743
9515
  province: string;
7744
9516
  urbanOrRural: "RURAL";
7745
9517
  village?: string | null | undefined;
7746
- }>, z.ZodObject<{
9518
+ }>, z.ZodUndefined, z.ZodObject<{
7747
9519
  country: z.ZodString;
7748
9520
  addressType: z.ZodLiteral<"INTERNATIONAL">;
7749
9521
  state: z.ZodString;
@@ -7774,11 +9546,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7774
9546
  addressLine3?: string | null | undefined;
7775
9547
  postcodeOrZip?: string | null | undefined;
7776
9548
  }>]>>>;
9549
+ originalActionId: z.ZodOptional<z.ZodString>;
9550
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7777
9551
  }, {
7778
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9552
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
9553
+ assignedTo: z.ZodString;
7779
9554
  }>, "strip", z.ZodTypeAny, {
7780
- type: "ARCHIVE";
7781
- data: Record<string, string | number | boolean | {
9555
+ type: "ASSIGN";
9556
+ transactionId: string;
9557
+ declaration: Record<string, string | number | boolean | {
7782
9558
  type: string;
7783
9559
  filename: string;
7784
9560
  originalFilename: string;
@@ -7815,10 +9591,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7815
9591
  option: string;
7816
9592
  filename: string;
7817
9593
  originalFilename: string;
7818
- }[]>;
9594
+ }[] | [string, string] | undefined>;
9595
+ assignedTo: string;
7819
9596
  eventId: string;
7820
- transactionId: string;
7821
- metadata?: Record<string, string | number | boolean | {
9597
+ annotation?: Record<string, string | number | boolean | {
7822
9598
  type: string;
7823
9599
  filename: string;
7824
9600
  originalFilename: string;
@@ -7855,9 +9631,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7855
9631
  option: string;
7856
9632
  filename: string;
7857
9633
  originalFilename: string;
7858
- }[]> | undefined;
9634
+ }[] | [string, string] | undefined> | undefined;
9635
+ originalActionId?: string | undefined;
9636
+ keepAssignment?: boolean | undefined;
7859
9637
  }, {
7860
- data: Record<string, string | number | boolean | {
9638
+ transactionId: string;
9639
+ assignedTo: string;
9640
+ eventId: string;
9641
+ type?: "ASSIGN" | undefined;
9642
+ declaration?: Record<string, string | number | boolean | {
7861
9643
  type: string;
7862
9644
  filename: string;
7863
9645
  originalFilename: string;
@@ -7894,11 +9676,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7894
9676
  option: string;
7895
9677
  filename: string;
7896
9678
  originalFilename: string;
7897
- }[]>;
7898
- eventId: string;
7899
- transactionId: string;
7900
- type?: "ARCHIVE" | undefined;
7901
- metadata?: Record<string, string | number | boolean | {
9679
+ }[] | [string, string] | undefined> | undefined;
9680
+ annotation?: Record<string, string | number | boolean | {
7902
9681
  type: string;
7903
9682
  filename: string;
7904
9683
  originalFilename: string;
@@ -7935,11 +9714,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7935
9714
  option: string;
7936
9715
  filename: string;
7937
9716
  originalFilename: string;
7938
- }[]> | undefined;
9717
+ }[] | [string, string] | undefined> | undefined;
9718
+ originalActionId?: string | undefined;
9719
+ keepAssignment?: boolean | undefined;
7939
9720
  }>, z.ZodObject<z.objectUtil.extendShape<{
7940
9721
  eventId: z.ZodString;
7941
9722
  transactionId: z.ZodString;
7942
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9723
+ 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<{
7943
9724
  filename: z.ZodString;
7944
9725
  originalFilename: z.ZodString;
7945
9726
  type: z.ZodString;
@@ -8022,7 +9803,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8022
9803
  province: string;
8023
9804
  urbanOrRural: "RURAL";
8024
9805
  village?: string | null | undefined;
8025
- }>, z.ZodObject<{
9806
+ }>, z.ZodUndefined, z.ZodObject<{
8026
9807
  country: z.ZodString;
8027
9808
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8028
9809
  state: z.ZodString;
@@ -8052,8 +9833,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8052
9833
  addressLine2?: string | null | undefined;
8053
9834
  addressLine3?: string | null | undefined;
8054
9835
  postcodeOrZip?: string | null | undefined;
8055
- }>]>>;
8056
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9836
+ }>]>>>;
9837
+ 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<{
8057
9838
  filename: z.ZodString;
8058
9839
  originalFilename: z.ZodString;
8059
9840
  type: z.ZodString;
@@ -8136,7 +9917,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8136
9917
  province: string;
8137
9918
  urbanOrRural: "RURAL";
8138
9919
  village?: string | null | undefined;
8139
- }>, z.ZodObject<{
9920
+ }>, z.ZodUndefined, z.ZodObject<{
8140
9921
  country: z.ZodString;
8141
9922
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8142
9923
  state: z.ZodString;
@@ -8167,12 +9948,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8167
9948
  addressLine3?: string | null | undefined;
8168
9949
  postcodeOrZip?: string | null | undefined;
8169
9950
  }>]>>>;
9951
+ originalActionId: z.ZodOptional<z.ZodString>;
9952
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8170
9953
  }, {
8171
- type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8172
- assignedTo: z.ZodString;
9954
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9955
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
8173
9956
  }>, "strip", z.ZodTypeAny, {
8174
- type: "ASSIGN";
8175
- data: Record<string, string | number | boolean | {
9957
+ type: "UNASSIGN";
9958
+ transactionId: string;
9959
+ declaration: Record<string, string | number | boolean | {
8176
9960
  type: string;
8177
9961
  filename: string;
8178
9962
  originalFilename: string;
@@ -8209,11 +9993,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8209
9993
  option: string;
8210
9994
  filename: string;
8211
9995
  originalFilename: string;
8212
- }[]>;
8213
- assignedTo: string;
9996
+ }[] | [string, string] | undefined>;
9997
+ assignedTo: null;
8214
9998
  eventId: string;
8215
- transactionId: string;
8216
- metadata?: Record<string, string | number | boolean | {
9999
+ annotation?: Record<string, string | number | boolean | {
8217
10000
  type: string;
8218
10001
  filename: string;
8219
10002
  originalFilename: string;
@@ -8250,9 +10033,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8250
10033
  option: string;
8251
10034
  filename: string;
8252
10035
  originalFilename: string;
8253
- }[]> | undefined;
10036
+ }[] | [string, string] | undefined> | undefined;
10037
+ originalActionId?: string | undefined;
10038
+ keepAssignment?: boolean | undefined;
8254
10039
  }, {
8255
- data: Record<string, string | number | boolean | {
10040
+ transactionId: string;
10041
+ eventId: string;
10042
+ type?: "UNASSIGN" | undefined;
10043
+ declaration?: Record<string, string | number | boolean | {
8256
10044
  type: string;
8257
10045
  filename: string;
8258
10046
  originalFilename: string;
@@ -8289,12 +10077,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8289
10077
  option: string;
8290
10078
  filename: string;
8291
10079
  originalFilename: string;
8292
- }[]>;
8293
- assignedTo: string;
8294
- eventId: string;
8295
- transactionId: string;
8296
- type?: "ASSIGN" | undefined;
8297
- metadata?: Record<string, string | number | boolean | {
10080
+ }[] | [string, string] | undefined> | undefined;
10081
+ annotation?: Record<string, string | number | boolean | {
8298
10082
  type: string;
8299
10083
  filename: string;
8300
10084
  originalFilename: string;
@@ -8331,11 +10115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8331
10115
  option: string;
8332
10116
  filename: string;
8333
10117
  originalFilename: string;
8334
- }[]> | undefined;
10118
+ }[] | [string, string] | undefined> | undefined;
10119
+ originalActionId?: string | undefined;
10120
+ assignedTo?: null | undefined;
10121
+ keepAssignment?: boolean | undefined;
8335
10122
  }>, z.ZodObject<z.objectUtil.extendShape<{
8336
10123
  eventId: z.ZodString;
8337
10124
  transactionId: z.ZodString;
8338
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10125
+ 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<{
8339
10126
  filename: z.ZodString;
8340
10127
  originalFilename: z.ZodString;
8341
10128
  type: z.ZodString;
@@ -8418,7 +10205,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8418
10205
  province: string;
8419
10206
  urbanOrRural: "RURAL";
8420
10207
  village?: string | null | undefined;
8421
- }>, z.ZodObject<{
10208
+ }>, z.ZodUndefined, z.ZodObject<{
8422
10209
  country: z.ZodString;
8423
10210
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8424
10211
  state: z.ZodString;
@@ -8448,8 +10235,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8448
10235
  addressLine2?: string | null | undefined;
8449
10236
  addressLine3?: string | null | undefined;
8450
10237
  postcodeOrZip?: string | null | undefined;
8451
- }>]>>;
8452
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10238
+ }>]>>>;
10239
+ 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<{
8453
10240
  filename: z.ZodString;
8454
10241
  originalFilename: z.ZodString;
8455
10242
  type: z.ZodString;
@@ -8532,7 +10319,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8532
10319
  province: string;
8533
10320
  urbanOrRural: "RURAL";
8534
10321
  village?: string | null | undefined;
8535
- }>, z.ZodObject<{
10322
+ }>, z.ZodUndefined, z.ZodObject<{
8536
10323
  country: z.ZodString;
8537
10324
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8538
10325
  state: z.ZodString;
@@ -8563,11 +10350,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8563
10350
  addressLine3?: string | null | undefined;
8564
10351
  postcodeOrZip?: string | null | undefined;
8565
10352
  }>]>>>;
10353
+ originalActionId: z.ZodOptional<z.ZodString>;
10354
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8566
10355
  }, {
8567
- type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
10356
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
8568
10357
  }>, "strip", z.ZodTypeAny, {
8569
- type: "UNASSIGN";
8570
- data: Record<string, string | number | boolean | {
10358
+ type: "PRINT_CERTIFICATE";
10359
+ transactionId: string;
10360
+ declaration: Record<string, string | number | boolean | {
8571
10361
  type: string;
8572
10362
  filename: string;
8573
10363
  originalFilename: string;
@@ -8604,10 +10394,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8604
10394
  option: string;
8605
10395
  filename: string;
8606
10396
  originalFilename: string;
8607
- }[]>;
10397
+ }[] | [string, string] | undefined>;
8608
10398
  eventId: string;
8609
- transactionId: string;
8610
- metadata?: Record<string, string | number | boolean | {
10399
+ annotation?: Record<string, string | number | boolean | {
8611
10400
  type: string;
8612
10401
  filename: string;
8613
10402
  originalFilename: string;
@@ -8644,9 +10433,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8644
10433
  option: string;
8645
10434
  filename: string;
8646
10435
  originalFilename: string;
8647
- }[]> | undefined;
10436
+ }[] | [string, string] | undefined> | undefined;
10437
+ originalActionId?: string | undefined;
10438
+ keepAssignment?: boolean | undefined;
8648
10439
  }, {
8649
- data: Record<string, string | number | boolean | {
10440
+ transactionId: string;
10441
+ eventId: string;
10442
+ type?: "PRINT_CERTIFICATE" | undefined;
10443
+ declaration?: Record<string, string | number | boolean | {
8650
10444
  type: string;
8651
10445
  filename: string;
8652
10446
  originalFilename: string;
@@ -8683,11 +10477,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8683
10477
  option: string;
8684
10478
  filename: string;
8685
10479
  originalFilename: string;
8686
- }[]>;
8687
- eventId: string;
8688
- transactionId: string;
8689
- type?: "UNASSIGN" | undefined;
8690
- metadata?: Record<string, string | number | boolean | {
10480
+ }[] | [string, string] | undefined> | undefined;
10481
+ annotation?: Record<string, string | number | boolean | {
8691
10482
  type: string;
8692
10483
  filename: string;
8693
10484
  originalFilename: string;
@@ -8724,11 +10515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8724
10515
  option: string;
8725
10516
  filename: string;
8726
10517
  originalFilename: string;
8727
- }[]> | undefined;
10518
+ }[] | [string, string] | undefined> | undefined;
10519
+ originalActionId?: string | undefined;
10520
+ keepAssignment?: boolean | undefined;
8728
10521
  }>, z.ZodObject<z.objectUtil.extendShape<{
8729
10522
  eventId: z.ZodString;
8730
10523
  transactionId: z.ZodString;
8731
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10524
+ 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<{
8732
10525
  filename: z.ZodString;
8733
10526
  originalFilename: z.ZodString;
8734
10527
  type: z.ZodString;
@@ -8811,7 +10604,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8811
10604
  province: string;
8812
10605
  urbanOrRural: "RURAL";
8813
10606
  village?: string | null | undefined;
8814
- }>, z.ZodObject<{
10607
+ }>, z.ZodUndefined, z.ZodObject<{
8815
10608
  country: z.ZodString;
8816
10609
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8817
10610
  state: z.ZodString;
@@ -8841,8 +10634,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8841
10634
  addressLine2?: string | null | undefined;
8842
10635
  addressLine3?: string | null | undefined;
8843
10636
  postcodeOrZip?: string | null | undefined;
8844
- }>]>>;
8845
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10637
+ }>]>>>;
10638
+ 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<{
8846
10639
  filename: z.ZodString;
8847
10640
  originalFilename: z.ZodString;
8848
10641
  type: z.ZodString;
@@ -8925,7 +10718,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8925
10718
  province: string;
8926
10719
  urbanOrRural: "RURAL";
8927
10720
  village?: string | null | undefined;
8928
- }>, z.ZodObject<{
10721
+ }>, z.ZodUndefined, z.ZodObject<{
8929
10722
  country: z.ZodString;
8930
10723
  addressType: z.ZodLiteral<"INTERNATIONAL">;
8931
10724
  state: z.ZodString;
@@ -8956,11 +10749,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8956
10749
  addressLine3?: string | null | undefined;
8957
10750
  postcodeOrZip?: string | null | undefined;
8958
10751
  }>]>>>;
10752
+ originalActionId: z.ZodOptional<z.ZodString>;
10753
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8959
10754
  }, {
8960
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10755
+ type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
8961
10756
  }>, "strip", z.ZodTypeAny, {
8962
- type: "PRINT_CERTIFICATE";
8963
- data: Record<string, string | number | boolean | {
10757
+ type: "REQUEST_CORRECTION";
10758
+ transactionId: string;
10759
+ declaration: Record<string, string | number | boolean | {
8964
10760
  type: string;
8965
10761
  filename: string;
8966
10762
  originalFilename: string;
@@ -8997,10 +10793,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8997
10793
  option: string;
8998
10794
  filename: string;
8999
10795
  originalFilename: string;
9000
- }[]>;
10796
+ }[] | [string, string] | undefined>;
9001
10797
  eventId: string;
9002
- transactionId: string;
9003
- metadata?: Record<string, string | number | boolean | {
10798
+ annotation?: Record<string, string | number | boolean | {
9004
10799
  type: string;
9005
10800
  filename: string;
9006
10801
  originalFilename: string;
@@ -9037,9 +10832,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9037
10832
  option: string;
9038
10833
  filename: string;
9039
10834
  originalFilename: string;
9040
- }[]> | undefined;
10835
+ }[] | [string, string] | undefined> | undefined;
10836
+ originalActionId?: string | undefined;
10837
+ keepAssignment?: boolean | undefined;
9041
10838
  }, {
9042
- data: Record<string, string | number | boolean | {
10839
+ transactionId: string;
10840
+ eventId: string;
10841
+ type?: "REQUEST_CORRECTION" | undefined;
10842
+ declaration?: Record<string, string | number | boolean | {
9043
10843
  type: string;
9044
10844
  filename: string;
9045
10845
  originalFilename: string;
@@ -9076,11 +10876,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9076
10876
  option: string;
9077
10877
  filename: string;
9078
10878
  originalFilename: string;
9079
- }[]>;
9080
- eventId: string;
9081
- transactionId: string;
9082
- type?: "PRINT_CERTIFICATE" | undefined;
9083
- metadata?: Record<string, string | number | boolean | {
10879
+ }[] | [string, string] | undefined> | undefined;
10880
+ annotation?: Record<string, string | number | boolean | {
9084
10881
  type: string;
9085
10882
  filename: string;
9086
10883
  originalFilename: string;
@@ -9117,11 +10914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9117
10914
  option: string;
9118
10915
  filename: string;
9119
10916
  originalFilename: string;
9120
- }[]> | undefined;
10917
+ }[] | [string, string] | undefined> | undefined;
10918
+ originalActionId?: string | undefined;
10919
+ keepAssignment?: boolean | undefined;
9121
10920
  }>, z.ZodObject<z.objectUtil.extendShape<{
9122
10921
  eventId: z.ZodString;
9123
10922
  transactionId: z.ZodString;
9124
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10923
+ 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<{
9125
10924
  filename: z.ZodString;
9126
10925
  originalFilename: z.ZodString;
9127
10926
  type: z.ZodString;
@@ -9204,7 +11003,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9204
11003
  province: string;
9205
11004
  urbanOrRural: "RURAL";
9206
11005
  village?: string | null | undefined;
9207
- }>, z.ZodObject<{
11006
+ }>, z.ZodUndefined, z.ZodObject<{
9208
11007
  country: z.ZodString;
9209
11008
  addressType: z.ZodLiteral<"INTERNATIONAL">;
9210
11009
  state: z.ZodString;
@@ -9234,8 +11033,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9234
11033
  addressLine2?: string | null | undefined;
9235
11034
  addressLine3?: string | null | undefined;
9236
11035
  postcodeOrZip?: string | null | undefined;
9237
- }>]>>;
9238
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11036
+ }>]>>>;
11037
+ 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<{
9239
11038
  filename: z.ZodString;
9240
11039
  originalFilename: z.ZodString;
9241
11040
  type: z.ZodString;
@@ -9318,7 +11117,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9318
11117
  province: string;
9319
11118
  urbanOrRural: "RURAL";
9320
11119
  village?: string | null | undefined;
9321
- }>, z.ZodObject<{
11120
+ }>, z.ZodUndefined, z.ZodObject<{
9322
11121
  country: z.ZodString;
9323
11122
  addressType: z.ZodLiteral<"INTERNATIONAL">;
9324
11123
  state: z.ZodString;
@@ -9349,11 +11148,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9349
11148
  addressLine3?: string | null | undefined;
9350
11149
  postcodeOrZip?: string | null | undefined;
9351
11150
  }>]>>>;
11151
+ originalActionId: z.ZodOptional<z.ZodString>;
11152
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9352
11153
  }, {
9353
- type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
11154
+ requestId: z.ZodString;
11155
+ type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
9354
11156
  }>, "strip", z.ZodTypeAny, {
9355
- type: "REQUEST_CORRECTION";
9356
- data: Record<string, string | number | boolean | {
11157
+ type: "REJECT_CORRECTION";
11158
+ transactionId: string;
11159
+ declaration: Record<string, string | number | boolean | {
9357
11160
  type: string;
9358
11161
  filename: string;
9359
11162
  originalFilename: string;
@@ -9390,10 +11193,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9390
11193
  option: string;
9391
11194
  filename: string;
9392
11195
  originalFilename: string;
9393
- }[]>;
11196
+ }[] | [string, string] | undefined>;
11197
+ requestId: string;
9394
11198
  eventId: string;
9395
- transactionId: string;
9396
- metadata?: Record<string, string | number | boolean | {
11199
+ annotation?: Record<string, string | number | boolean | {
9397
11200
  type: string;
9398
11201
  filename: string;
9399
11202
  originalFilename: string;
@@ -9430,9 +11233,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9430
11233
  option: string;
9431
11234
  filename: string;
9432
11235
  originalFilename: string;
9433
- }[]> | undefined;
11236
+ }[] | [string, string] | undefined> | undefined;
11237
+ originalActionId?: string | undefined;
11238
+ keepAssignment?: boolean | undefined;
9434
11239
  }, {
9435
- data: Record<string, string | number | boolean | {
11240
+ transactionId: string;
11241
+ requestId: string;
11242
+ eventId: string;
11243
+ type?: "REJECT_CORRECTION" | undefined;
11244
+ declaration?: Record<string, string | number | boolean | {
9436
11245
  type: string;
9437
11246
  filename: string;
9438
11247
  originalFilename: string;
@@ -9469,11 +11278,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9469
11278
  option: string;
9470
11279
  filename: string;
9471
11280
  originalFilename: string;
9472
- }[]>;
9473
- eventId: string;
9474
- transactionId: string;
9475
- type?: "REQUEST_CORRECTION" | undefined;
9476
- metadata?: Record<string, string | number | boolean | {
11281
+ }[] | [string, string] | undefined> | undefined;
11282
+ annotation?: Record<string, string | number | boolean | {
9477
11283
  type: string;
9478
11284
  filename: string;
9479
11285
  originalFilename: string;
@@ -9510,11 +11316,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9510
11316
  option: string;
9511
11317
  filename: string;
9512
11318
  originalFilename: string;
9513
- }[]> | undefined;
11319
+ }[] | [string, string] | undefined> | undefined;
11320
+ originalActionId?: string | undefined;
11321
+ keepAssignment?: boolean | undefined;
9514
11322
  }>, z.ZodObject<z.objectUtil.extendShape<{
9515
11323
  eventId: z.ZodString;
9516
11324
  transactionId: z.ZodString;
9517
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11325
+ 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<{
9518
11326
  filename: z.ZodString;
9519
11327
  originalFilename: z.ZodString;
9520
11328
  type: z.ZodString;
@@ -9597,7 +11405,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9597
11405
  province: string;
9598
11406
  urbanOrRural: "RURAL";
9599
11407
  village?: string | null | undefined;
9600
- }>, z.ZodObject<{
11408
+ }>, z.ZodUndefined, z.ZodObject<{
9601
11409
  country: z.ZodString;
9602
11410
  addressType: z.ZodLiteral<"INTERNATIONAL">;
9603
11411
  state: z.ZodString;
@@ -9627,8 +11435,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9627
11435
  addressLine2?: string | null | undefined;
9628
11436
  addressLine3?: string | null | undefined;
9629
11437
  postcodeOrZip?: string | null | undefined;
9630
- }>]>>;
9631
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11438
+ }>]>>>;
11439
+ 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<{
9632
11440
  filename: z.ZodString;
9633
11441
  originalFilename: z.ZodString;
9634
11442
  type: z.ZodString;
@@ -9711,7 +11519,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9711
11519
  province: string;
9712
11520
  urbanOrRural: "RURAL";
9713
11521
  village?: string | null | undefined;
9714
- }>, z.ZodObject<{
11522
+ }>, z.ZodUndefined, z.ZodObject<{
9715
11523
  country: z.ZodString;
9716
11524
  addressType: z.ZodLiteral<"INTERNATIONAL">;
9717
11525
  state: z.ZodString;
@@ -9742,12 +11550,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9742
11550
  addressLine3?: string | null | undefined;
9743
11551
  postcodeOrZip?: string | null | undefined;
9744
11552
  }>]>>>;
11553
+ originalActionId: z.ZodOptional<z.ZodString>;
11554
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9745
11555
  }, {
9746
11556
  requestId: z.ZodString;
9747
- type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
11557
+ type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
9748
11558
  }>, "strip", z.ZodTypeAny, {
9749
- type: "REJECT_CORRECTION";
9750
- data: Record<string, string | number | boolean | {
11559
+ type: "APPROVE_CORRECTION";
11560
+ transactionId: string;
11561
+ declaration: Record<string, string | number | boolean | {
9751
11562
  type: string;
9752
11563
  filename: string;
9753
11564
  originalFilename: string;
@@ -9784,11 +11595,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9784
11595
  option: string;
9785
11596
  filename: string;
9786
11597
  originalFilename: string;
9787
- }[]>;
11598
+ }[] | [string, string] | undefined>;
9788
11599
  requestId: string;
9789
11600
  eventId: string;
9790
- transactionId: string;
9791
- metadata?: Record<string, string | number | boolean | {
11601
+ annotation?: Record<string, string | number | boolean | {
9792
11602
  type: string;
9793
11603
  filename: string;
9794
11604
  originalFilename: string;
@@ -9825,9 +11635,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9825
11635
  option: string;
9826
11636
  filename: string;
9827
11637
  originalFilename: string;
9828
- }[]> | undefined;
11638
+ }[] | [string, string] | undefined> | undefined;
11639
+ originalActionId?: string | undefined;
11640
+ keepAssignment?: boolean | undefined;
9829
11641
  }, {
9830
- data: Record<string, string | number | boolean | {
11642
+ transactionId: string;
11643
+ requestId: string;
11644
+ eventId: string;
11645
+ type?: "APPROVE_CORRECTION" | undefined;
11646
+ declaration?: Record<string, string | number | boolean | {
9831
11647
  type: string;
9832
11648
  filename: string;
9833
11649
  originalFilename: string;
@@ -9864,12 +11680,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9864
11680
  option: string;
9865
11681
  filename: string;
9866
11682
  originalFilename: string;
9867
- }[]>;
9868
- requestId: string;
9869
- eventId: string;
9870
- transactionId: string;
9871
- type?: "REJECT_CORRECTION" | undefined;
9872
- metadata?: Record<string, string | number | boolean | {
11683
+ }[] | [string, string] | undefined> | undefined;
11684
+ annotation?: Record<string, string | number | boolean | {
9873
11685
  type: string;
9874
11686
  filename: string;
9875
11687
  originalFilename: string;
@@ -9906,11 +11718,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9906
11718
  option: string;
9907
11719
  filename: string;
9908
11720
  originalFilename: string;
9909
- }[]> | undefined;
11721
+ }[] | [string, string] | undefined> | undefined;
11722
+ originalActionId?: string | undefined;
11723
+ keepAssignment?: boolean | undefined;
9910
11724
  }>, z.ZodObject<z.objectUtil.extendShape<{
9911
11725
  eventId: z.ZodString;
9912
11726
  transactionId: z.ZodString;
9913
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11727
+ 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<{
9914
11728
  filename: z.ZodString;
9915
11729
  originalFilename: z.ZodString;
9916
11730
  type: z.ZodString;
@@ -9993,7 +11807,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9993
11807
  province: string;
9994
11808
  urbanOrRural: "RURAL";
9995
11809
  village?: string | null | undefined;
9996
- }>, z.ZodObject<{
11810
+ }>, z.ZodUndefined, z.ZodObject<{
9997
11811
  country: z.ZodString;
9998
11812
  addressType: z.ZodLiteral<"INTERNATIONAL">;
9999
11813
  state: z.ZodString;
@@ -10023,8 +11837,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10023
11837
  addressLine2?: string | null | undefined;
10024
11838
  addressLine3?: string | null | undefined;
10025
11839
  postcodeOrZip?: string | null | undefined;
10026
- }>]>>;
10027
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11840
+ }>]>>>;
11841
+ 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<{
10028
11842
  filename: z.ZodString;
10029
11843
  originalFilename: z.ZodString;
10030
11844
  type: z.ZodString;
@@ -10107,7 +11921,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10107
11921
  province: string;
10108
11922
  urbanOrRural: "RURAL";
10109
11923
  village?: string | null | undefined;
10110
- }>, z.ZodObject<{
11924
+ }>, z.ZodUndefined, z.ZodObject<{
10111
11925
  country: z.ZodString;
10112
11926
  addressType: z.ZodLiteral<"INTERNATIONAL">;
10113
11927
  state: z.ZodString;
@@ -10138,12 +11952,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10138
11952
  addressLine3?: string | null | undefined;
10139
11953
  postcodeOrZip?: string | null | undefined;
10140
11954
  }>]>>>;
11955
+ originalActionId: z.ZodOptional<z.ZodString>;
11956
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10141
11957
  }, {
10142
- requestId: z.ZodString;
10143
- type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11958
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
10144
11959
  }>, "strip", z.ZodTypeAny, {
10145
- type: "APPROVE_CORRECTION";
10146
- data: Record<string, string | number | boolean | {
11960
+ type: "READ";
11961
+ transactionId: string;
11962
+ declaration: Record<string, string | number | boolean | {
10147
11963
  type: string;
10148
11964
  filename: string;
10149
11965
  originalFilename: string;
@@ -10180,11 +11996,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10180
11996
  option: string;
10181
11997
  filename: string;
10182
11998
  originalFilename: string;
10183
- }[]>;
10184
- requestId: string;
11999
+ }[] | [string, string] | undefined>;
10185
12000
  eventId: string;
10186
- transactionId: string;
10187
- metadata?: Record<string, string | number | boolean | {
12001
+ annotation?: Record<string, string | number | boolean | {
10188
12002
  type: string;
10189
12003
  filename: string;
10190
12004
  originalFilename: string;
@@ -10221,9 +12035,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10221
12035
  option: string;
10222
12036
  filename: string;
10223
12037
  originalFilename: string;
10224
- }[]> | undefined;
12038
+ }[] | [string, string] | undefined> | undefined;
12039
+ originalActionId?: string | undefined;
12040
+ keepAssignment?: boolean | undefined;
10225
12041
  }, {
10226
- data: Record<string, string | number | boolean | {
12042
+ transactionId: string;
12043
+ eventId: string;
12044
+ type?: "READ" | undefined;
12045
+ declaration?: Record<string, string | number | boolean | {
10227
12046
  type: string;
10228
12047
  filename: string;
10229
12048
  originalFilename: string;
@@ -10260,12 +12079,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10260
12079
  option: string;
10261
12080
  filename: string;
10262
12081
  originalFilename: string;
10263
- }[]>;
10264
- requestId: string;
10265
- eventId: string;
10266
- transactionId: string;
10267
- type?: "APPROVE_CORRECTION" | undefined;
10268
- metadata?: Record<string, string | number | boolean | {
12082
+ }[] | [string, string] | undefined> | undefined;
12083
+ annotation?: Record<string, string | number | boolean | {
10269
12084
  type: string;
10270
12085
  filename: string;
10271
12086
  originalFilename: string;
@@ -10302,7 +12117,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10302
12117
  option: string;
10303
12118
  filename: string;
10304
12119
  originalFilename: string;
10305
- }[]> | undefined;
12120
+ }[] | [string, string] | undefined> | undefined;
12121
+ originalActionId?: string | undefined;
12122
+ keepAssignment?: boolean | undefined;
10306
12123
  }>]>;
10307
12124
  export type ActionInput = z.input<typeof ActionInput>;
10308
12125
  export type ActionInputWithType = z.infer<typeof ActionInput>;