@opencrvs/toolkit 1.8.0-rc.faacbde → 1.8.0-rc.facf9d6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/commons/api/router.d.ts +12657 -13930
  2. package/dist/commons/conditionals/conditionals.d.ts +25 -6
  3. package/dist/commons/conditionals/validate.d.ts +12 -17
  4. package/dist/commons/events/ActionConfig.d.ts +94298 -1733
  5. package/dist/commons/events/ActionDocument.d.ts +7848 -230
  6. package/dist/commons/events/ActionInput.d.ts +1417 -388
  7. package/dist/commons/events/ActionType.d.ts +6 -3
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +957 -22
  9. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  10. package/dist/commons/events/Conditional.d.ts +21 -5
  11. package/dist/commons/events/Constants.d.ts +2 -0
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  13. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  14. package/dist/commons/events/Draft.d.ts +62 -28
  15. package/dist/commons/events/EventConfig.d.ts +42895 -1350
  16. package/dist/commons/events/EventDocument.d.ts +950 -254
  17. package/dist/commons/events/EventIndex.d.ts +1342 -13
  18. package/dist/commons/events/EventMetadata.d.ts +300 -11
  19. package/dist/commons/events/FieldConfig.d.ts +4549 -802
  20. package/dist/commons/events/FieldType.d.ts +3 -3
  21. package/dist/commons/events/FieldTypeMapping.d.ts +16 -6
  22. package/dist/commons/events/FieldValue.d.ts +9 -4
  23. package/dist/commons/events/FormConfig.d.ts +43951 -439
  24. package/dist/commons/events/PageConfig.d.ts +10954 -234
  25. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  26. package/dist/commons/events/TemplateConfig.d.ts +5 -5
  27. package/dist/commons/events/User.d.ts +31 -2
  28. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  29. package/dist/commons/events/WorkqueueConfig.d.ts +4525 -20
  30. package/dist/commons/events/defineConfig.d.ts +6600 -66
  31. package/dist/commons/events/event.d.ts +54 -0
  32. package/dist/commons/events/field.d.ts +73 -0
  33. package/dist/commons/events/index.d.ts +7 -0
  34. package/dist/commons/events/scopes.d.ts +45 -0
  35. package/dist/commons/events/serializer.d.ts +2 -0
  36. package/dist/commons/events/test.utils.d.ts +52 -160
  37. package/dist/commons/events/utils.d.ts +3726 -39
  38. package/dist/commons/events/utils.test.d.ts +2 -0
  39. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  40. package/dist/conditionals/index.js +197 -144
  41. package/dist/events/index.js +4233 -2017
  42. package/dist/scopes/index.d.ts +158 -1
  43. package/dist/scopes/index.js +152 -1
  44. 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
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -115,8 +115,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
- annotation: 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;
@@ -230,7 +230,10 @@ 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, {
236
+ transactionId: string;
234
237
  declaration: Record<string, string | number | boolean | {
235
238
  type: string;
236
239
  filename: string;
@@ -268,9 +271,8 @@ export declare const BaseActionInput: z.ZodObject<{
268
271
  option: string;
269
272
  filename: string;
270
273
  originalFilename: string;
271
- }[] | undefined>;
274
+ }[] | [string, string] | undefined>;
272
275
  eventId: string;
273
- transactionId: string;
274
276
  annotation?: Record<string, string | number | boolean | {
275
277
  type: string;
276
278
  filename: 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> | undefined;
313
+ }[] | [string, string] | undefined> | undefined;
314
+ originalActionId?: string | undefined;
315
+ keepAssignment?: boolean | undefined;
312
316
  }, {
313
- declaration: 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,9 +353,7 @@ export declare const BaseActionInput: z.ZodObject<{
347
353
  option: string;
348
354
  filename: string;
349
355
  originalFilename: string;
350
- }[] | undefined>;
351
- eventId: string;
352
- transactionId: string;
356
+ }[] | [string, string] | undefined> | undefined;
353
357
  annotation?: Record<string, string | number | boolean | {
354
358
  type: string;
355
359
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -620,20 +626,14 @@ 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";
636
+ transactionId: string;
637
637
  declaration: Record<string, string | number | boolean | {
638
638
  type: string;
639
639
  filename: string;
@@ -671,13 +671,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
671
671
  option: string;
672
672
  filename: string;
673
673
  originalFilename: string;
674
- }[] | undefined>;
675
- identifiers: {
676
- trackingId: string;
677
- registrationNumber: string;
678
- };
674
+ }[] | [string, string] | undefined>;
679
675
  eventId: string;
680
- transactionId: string;
681
676
  annotation?: Record<string, string | number | boolean | {
682
677
  type: string;
683
678
  filename: 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> | undefined;
713
+ }[] | [string, string] | undefined> | undefined;
714
+ originalActionId?: string | undefined;
715
+ registrationNumber?: string | undefined;
716
+ keepAssignment?: boolean | undefined;
719
717
  }, {
720
- declaration: 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,14 +755,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
754
755
  option: string;
755
756
  filename: string;
756
757
  originalFilename: string;
757
- }[] | undefined>;
758
- identifiers: {
759
- trackingId: string;
760
- registrationNumber: string;
761
- };
762
- eventId: string;
763
- transactionId: string;
764
- type?: "REGISTER" | undefined;
758
+ }[] | [string, string] | undefined> | undefined;
765
759
  annotation?: Record<string, string | number | boolean | {
766
760
  type: string;
767
761
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -1033,11 +1030,14 @@ 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";
1040
+ transactionId: string;
1041
1041
  declaration: Record<string, string | number | boolean | {
1042
1042
  type: string;
1043
1043
  filename: string;
@@ -1075,9 +1075,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1075
1075
  option: string;
1076
1076
  filename: string;
1077
1077
  originalFilename: string;
1078
- }[] | undefined>;
1078
+ }[] | [string, string] | undefined>;
1079
1079
  eventId: string;
1080
- transactionId: string;
1081
1080
  duplicates: string[];
1082
1081
  annotation?: Record<string, string | number | boolean | {
1083
1082
  type: 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> | undefined;
1118
+ }[] | [string, string] | undefined> | undefined;
1119
+ originalActionId?: string | undefined;
1120
+ keepAssignment?: boolean | undefined;
1120
1121
  }, {
1121
- declaration: 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,11 +1160,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1155
1160
  option: string;
1156
1161
  filename: string;
1157
1162
  originalFilename: string;
1158
- }[] | undefined>;
1159
- eventId: string;
1160
- transactionId: string;
1161
- duplicates: string[];
1162
- type?: "VALIDATE" | undefined;
1163
+ }[] | [string, string] | undefined> | undefined;
1163
1164
  annotation?: Record<string, string | number | boolean | {
1164
1165
  type: string;
1165
1166
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -1431,10 +1434,13 @@ 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";
1443
+ transactionId: string;
1438
1444
  declaration: Record<string, string | number | boolean | {
1439
1445
  type: string;
1440
1446
  filename: string;
@@ -1472,9 +1478,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1472
1478
  option: string;
1473
1479
  filename: string;
1474
1480
  originalFilename: string;
1475
- }[] | undefined>;
1481
+ }[] | [string, string] | undefined>;
1476
1482
  eventId: string;
1477
- transactionId: string;
1478
1483
  annotation?: Record<string, string | number | boolean | {
1479
1484
  type: string;
1480
1485
  filename: 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> | undefined;
1520
+ }[] | [string, string] | undefined> | undefined;
1521
+ originalActionId?: string | undefined;
1522
+ keepAssignment?: boolean | undefined;
1516
1523
  }, {
1517
- declaration: 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,10 +1561,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1551
1561
  option: string;
1552
1562
  filename: string;
1553
1563
  originalFilename: string;
1554
- }[] | undefined>;
1555
- eventId: string;
1556
- transactionId: string;
1557
- type?: "NOTIFY" | undefined;
1564
+ }[] | [string, string] | undefined> | undefined;
1558
1565
  annotation?: Record<string, string | number | boolean | {
1559
1566
  type: string;
1560
1567
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -1826,10 +1835,13 @@ 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";
1844
+ transactionId: string;
1833
1845
  declaration: Record<string, string | number | boolean | {
1834
1846
  type: string;
1835
1847
  filename: string;
@@ -1867,9 +1879,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1867
1879
  option: string;
1868
1880
  filename: string;
1869
1881
  originalFilename: string;
1870
- }[] | undefined>;
1882
+ }[] | [string, string] | undefined>;
1871
1883
  eventId: string;
1872
- transactionId: string;
1873
1884
  annotation?: Record<string, string | number | boolean | {
1874
1885
  type: string;
1875
1886
  filename: 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> | undefined;
1921
+ }[] | [string, string] | undefined> | undefined;
1922
+ originalActionId?: string | undefined;
1923
+ keepAssignment?: boolean | undefined;
1911
1924
  }, {
1912
- declaration: 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,10 +1962,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1946
1962
  option: string;
1947
1963
  filename: string;
1948
1964
  originalFilename: string;
1949
- }[] | undefined>;
1950
- eventId: string;
1951
- transactionId: string;
1952
- type?: "DECLARE" | undefined;
1965
+ }[] | [string, string] | undefined> | undefined;
1953
1966
  annotation?: Record<string, string | number | boolean | {
1954
1967
  type: string;
1955
1968
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -2220,10 +2235,13 @@ 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";
2244
+ transactionId: string;
2227
2245
  declaration: Record<string, string | number | boolean | {
2228
2246
  type: string;
2229
2247
  filename: string;
@@ -2261,9 +2279,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2261
2279
  option: string;
2262
2280
  filename: string;
2263
2281
  originalFilename: string;
2264
- }[] | undefined>;
2282
+ }[] | [string, string] | undefined>;
2265
2283
  eventId: string;
2266
- transactionId: string;
2267
2284
  annotation?: Record<string, string | number | boolean | {
2268
2285
  type: string;
2269
2286
  filename: 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> | undefined;
2321
+ }[] | [string, string] | undefined> | undefined;
2322
+ originalActionId?: string | undefined;
2323
+ keepAssignment?: boolean | undefined;
2305
2324
  }, {
2306
- declaration: 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,10 +2362,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
2362
  option: string;
2341
2363
  filename: string;
2342
2364
  originalFilename: string;
2343
- }[] | undefined>;
2344
- eventId: string;
2345
- transactionId: string;
2346
- type?: "PRINT_CERTIFICATE" | undefined;
2365
+ }[] | [string, string] | undefined> | undefined;
2347
2366
  annotation?: Record<string, string | number | boolean | {
2348
2367
  type: string;
2349
2368
  filename: 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> | 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
- declaration: 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;
@@ -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
- annotation: 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;
@@ -2615,10 +2636,27 @@ 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";
2655
+ reason: {
2656
+ message: string;
2657
+ isDuplicate?: boolean | undefined;
2658
+ };
2659
+ transactionId: string;
2622
2660
  declaration: Record<string, string | number | boolean | {
2623
2661
  type: string;
2624
2662
  filename: string;
@@ -2656,9 +2694,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2656
2694
  option: string;
2657
2695
  filename: string;
2658
2696
  originalFilename: string;
2659
- }[] | undefined>;
2697
+ }[] | [string, string] | undefined>;
2660
2698
  eventId: string;
2661
- transactionId: string;
2662
2699
  annotation?: Record<string, string | number | boolean | {
2663
2700
  type: string;
2664
2701
  filename: 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> | undefined;
2736
+ }[] | [string, string] | undefined> | undefined;
2737
+ originalActionId?: string | undefined;
2738
+ keepAssignment?: boolean | undefined;
2700
2739
  }, {
2701
- declaration: 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,10 +2781,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2735
2781
  option: string;
2736
2782
  filename: string;
2737
2783
  originalFilename: string;
2738
- }[] | undefined>;
2739
- eventId: string;
2740
- transactionId: string;
2741
- type?: "REJECT" | undefined;
2784
+ }[] | [string, string] | undefined> | undefined;
2742
2785
  annotation?: Record<string, string | number | boolean | {
2743
2786
  type: string;
2744
2787
  filename: string;
@@ -2776,13 +2819,129 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2776
2819
  option: string;
2777
2820
  filename: string;
2778
2821
  originalFilename: string;
2779
- }[] | undefined> | 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
- declaration: 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<{
2831
+ filename: z.ZodString;
2832
+ originalFilename: z.ZodString;
2833
+ type: z.ZodString;
2834
+ }, "strip", z.ZodTypeAny, {
2835
+ type: string;
2836
+ filename: string;
2837
+ originalFilename: string;
2838
+ }, {
2839
+ type: string;
2840
+ filename: string;
2841
+ originalFilename: string;
2842
+ }>, z.ZodArray<z.ZodObject<{
2843
+ filename: z.ZodString;
2844
+ originalFilename: z.ZodString;
2845
+ type: z.ZodString;
2846
+ option: z.ZodString;
2847
+ }, "strip", z.ZodTypeAny, {
2848
+ type: string;
2849
+ option: string;
2850
+ filename: string;
2851
+ originalFilename: string;
2852
+ }, {
2853
+ type: string;
2854
+ option: string;
2855
+ filename: string;
2856
+ originalFilename: string;
2857
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2858
+ country: z.ZodString;
2859
+ addressType: z.ZodLiteral<"DOMESTIC">;
2860
+ province: z.ZodString;
2861
+ district: z.ZodString;
2862
+ }, {
2863
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2864
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2865
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2866
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2867
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2868
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2869
+ }>, "strip", z.ZodTypeAny, {
2870
+ country: string;
2871
+ district: string;
2872
+ addressType: "DOMESTIC";
2873
+ province: string;
2874
+ urbanOrRural: "URBAN";
2875
+ number?: string | null | undefined;
2876
+ town?: string | null | undefined;
2877
+ residentialArea?: string | null | undefined;
2878
+ street?: string | null | undefined;
2879
+ zipCode?: string | null | undefined;
2880
+ }, {
2881
+ country: string;
2882
+ district: string;
2883
+ addressType: "DOMESTIC";
2884
+ province: string;
2885
+ urbanOrRural: "URBAN";
2886
+ number?: string | null | undefined;
2887
+ town?: string | null | undefined;
2888
+ residentialArea?: string | null | undefined;
2889
+ street?: string | null | undefined;
2890
+ zipCode?: string | null | undefined;
2891
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2892
+ country: z.ZodString;
2893
+ addressType: z.ZodLiteral<"DOMESTIC">;
2894
+ province: z.ZodString;
2895
+ district: z.ZodString;
2896
+ }, {
2897
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2898
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2899
+ }>, "strip", z.ZodTypeAny, {
2900
+ country: string;
2901
+ district: string;
2902
+ addressType: "DOMESTIC";
2903
+ province: string;
2904
+ urbanOrRural: "RURAL";
2905
+ village?: string | null | undefined;
2906
+ }, {
2907
+ country: string;
2908
+ district: string;
2909
+ addressType: "DOMESTIC";
2910
+ province: string;
2911
+ urbanOrRural: "RURAL";
2912
+ village?: string | null | undefined;
2913
+ }>, z.ZodUndefined, z.ZodObject<{
2914
+ country: z.ZodString;
2915
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2916
+ state: z.ZodString;
2917
+ district2: z.ZodString;
2918
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2919
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2920
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2921
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2922
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2923
+ }, "strip", z.ZodTypeAny, {
2924
+ country: string;
2925
+ state: string;
2926
+ addressType: "INTERNATIONAL";
2927
+ district2: string;
2928
+ cityOrTown?: string | null | undefined;
2929
+ addressLine1?: string | null | undefined;
2930
+ addressLine2?: string | null | undefined;
2931
+ addressLine3?: string | null | undefined;
2932
+ postcodeOrZip?: string | null | undefined;
2933
+ }, {
2934
+ country: string;
2935
+ state: string;
2936
+ addressType: "INTERNATIONAL";
2937
+ district2: string;
2938
+ cityOrTown?: string | null | undefined;
2939
+ addressLine1?: string | null | undefined;
2940
+ addressLine2?: string | null | undefined;
2941
+ addressLine3?: string | null | undefined;
2942
+ postcodeOrZip?: string | null | undefined;
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<{
2786
2945
  filename: z.ZodString;
2787
2946
  originalFilename: z.ZodString;
2788
2947
  type: z.ZodString;
@@ -2895,8 +3054,714 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2895
3054
  addressLine2?: string | null | undefined;
2896
3055
  addressLine3?: string | null | undefined;
2897
3056
  postcodeOrZip?: string | null | undefined;
2898
- }>]>>;
2899
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3057
+ }>]>>>;
3058
+ originalActionId: z.ZodOptional<z.ZodString>;
3059
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3060
+ }, {
3061
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3062
+ }>, "strip", z.ZodTypeAny, {
3063
+ type: "MARKED_AS_DUPLICATE";
3064
+ transactionId: string;
3065
+ declaration: Record<string, string | number | boolean | {
3066
+ type: string;
3067
+ filename: string;
3068
+ originalFilename: string;
3069
+ } | {
3070
+ country: string;
3071
+ district: string;
3072
+ addressType: "DOMESTIC";
3073
+ province: string;
3074
+ urbanOrRural: "URBAN";
3075
+ number?: string | null | undefined;
3076
+ town?: string | null | undefined;
3077
+ residentialArea?: string | null | undefined;
3078
+ street?: string | null | undefined;
3079
+ zipCode?: string | null | undefined;
3080
+ } | {
3081
+ country: string;
3082
+ district: string;
3083
+ addressType: "DOMESTIC";
3084
+ province: string;
3085
+ urbanOrRural: "RURAL";
3086
+ village?: string | null | undefined;
3087
+ } | {
3088
+ country: string;
3089
+ state: string;
3090
+ addressType: "INTERNATIONAL";
3091
+ district2: string;
3092
+ cityOrTown?: string | null | undefined;
3093
+ addressLine1?: string | null | undefined;
3094
+ addressLine2?: string | null | undefined;
3095
+ addressLine3?: string | null | undefined;
3096
+ postcodeOrZip?: string | null | undefined;
3097
+ } | {
3098
+ type: string;
3099
+ option: string;
3100
+ filename: string;
3101
+ originalFilename: string;
3102
+ }[] | [string, string] | undefined>;
3103
+ eventId: string;
3104
+ annotation?: Record<string, string | number | boolean | {
3105
+ type: string;
3106
+ filename: string;
3107
+ originalFilename: string;
3108
+ } | {
3109
+ country: string;
3110
+ district: string;
3111
+ addressType: "DOMESTIC";
3112
+ province: string;
3113
+ urbanOrRural: "URBAN";
3114
+ number?: string | null | undefined;
3115
+ town?: string | null | undefined;
3116
+ residentialArea?: string | null | undefined;
3117
+ street?: string | null | undefined;
3118
+ zipCode?: string | null | undefined;
3119
+ } | {
3120
+ country: string;
3121
+ district: string;
3122
+ addressType: "DOMESTIC";
3123
+ province: string;
3124
+ urbanOrRural: "RURAL";
3125
+ village?: string | null | undefined;
3126
+ } | {
3127
+ country: string;
3128
+ state: string;
3129
+ addressType: "INTERNATIONAL";
3130
+ district2: string;
3131
+ cityOrTown?: string | null | undefined;
3132
+ addressLine1?: string | null | undefined;
3133
+ addressLine2?: string | null | undefined;
3134
+ addressLine3?: string | null | undefined;
3135
+ postcodeOrZip?: string | null | undefined;
3136
+ } | {
3137
+ type: string;
3138
+ option: string;
3139
+ filename: string;
3140
+ originalFilename: string;
3141
+ }[] | [string, string] | undefined> | undefined;
3142
+ originalActionId?: string | undefined;
3143
+ keepAssignment?: boolean | undefined;
3144
+ }, {
3145
+ transactionId: string;
3146
+ eventId: string;
3147
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3148
+ declaration?: Record<string, string | number | boolean | {
3149
+ type: string;
3150
+ filename: string;
3151
+ originalFilename: string;
3152
+ } | {
3153
+ country: string;
3154
+ district: string;
3155
+ addressType: "DOMESTIC";
3156
+ province: string;
3157
+ urbanOrRural: "URBAN";
3158
+ number?: string | null | undefined;
3159
+ town?: string | null | undefined;
3160
+ residentialArea?: string | null | undefined;
3161
+ street?: string | null | undefined;
3162
+ zipCode?: string | null | undefined;
3163
+ } | {
3164
+ country: string;
3165
+ district: string;
3166
+ addressType: "DOMESTIC";
3167
+ province: string;
3168
+ urbanOrRural: "RURAL";
3169
+ village?: string | null | undefined;
3170
+ } | {
3171
+ country: string;
3172
+ state: string;
3173
+ addressType: "INTERNATIONAL";
3174
+ district2: string;
3175
+ cityOrTown?: string | null | undefined;
3176
+ addressLine1?: string | null | undefined;
3177
+ addressLine2?: string | null | undefined;
3178
+ addressLine3?: string | null | undefined;
3179
+ postcodeOrZip?: string | null | undefined;
3180
+ } | {
3181
+ type: string;
3182
+ option: string;
3183
+ filename: string;
3184
+ originalFilename: string;
3185
+ }[] | [string, string] | undefined> | undefined;
3186
+ annotation?: Record<string, string | number | boolean | {
3187
+ type: string;
3188
+ filename: string;
3189
+ originalFilename: string;
3190
+ } | {
3191
+ country: string;
3192
+ district: string;
3193
+ addressType: "DOMESTIC";
3194
+ province: string;
3195
+ urbanOrRural: "URBAN";
3196
+ number?: string | null | undefined;
3197
+ town?: string | null | undefined;
3198
+ residentialArea?: string | null | undefined;
3199
+ street?: string | null | undefined;
3200
+ zipCode?: string | null | undefined;
3201
+ } | {
3202
+ country: string;
3203
+ district: string;
3204
+ addressType: "DOMESTIC";
3205
+ province: string;
3206
+ urbanOrRural: "RURAL";
3207
+ village?: string | null | undefined;
3208
+ } | {
3209
+ country: string;
3210
+ state: string;
3211
+ addressType: "INTERNATIONAL";
3212
+ district2: string;
3213
+ cityOrTown?: string | null | undefined;
3214
+ addressLine1?: string | null | undefined;
3215
+ addressLine2?: string | null | undefined;
3216
+ addressLine3?: string | null | undefined;
3217
+ postcodeOrZip?: string | null | undefined;
3218
+ } | {
3219
+ type: string;
3220
+ option: string;
3221
+ filename: string;
3222
+ originalFilename: string;
3223
+ }[] | [string, string] | undefined> | undefined;
3224
+ originalActionId?: string | undefined;
3225
+ keepAssignment?: boolean | undefined;
3226
+ }>;
3227
+ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3228
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3229
+ eventId: z.ZodString;
3230
+ transactionId: z.ZodString;
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<{
3232
+ filename: z.ZodString;
3233
+ originalFilename: z.ZodString;
3234
+ type: z.ZodString;
3235
+ }, "strip", z.ZodTypeAny, {
3236
+ type: string;
3237
+ filename: string;
3238
+ originalFilename: string;
3239
+ }, {
3240
+ type: string;
3241
+ filename: string;
3242
+ originalFilename: string;
3243
+ }>, z.ZodArray<z.ZodObject<{
3244
+ filename: z.ZodString;
3245
+ originalFilename: z.ZodString;
3246
+ type: z.ZodString;
3247
+ option: z.ZodString;
3248
+ }, "strip", z.ZodTypeAny, {
3249
+ type: string;
3250
+ option: string;
3251
+ filename: string;
3252
+ originalFilename: string;
3253
+ }, {
3254
+ type: string;
3255
+ option: string;
3256
+ filename: string;
3257
+ originalFilename: string;
3258
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3259
+ country: z.ZodString;
3260
+ addressType: z.ZodLiteral<"DOMESTIC">;
3261
+ province: z.ZodString;
3262
+ district: z.ZodString;
3263
+ }, {
3264
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3265
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3267
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3268
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3269
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3270
+ }>, "strip", z.ZodTypeAny, {
3271
+ country: string;
3272
+ district: string;
3273
+ addressType: "DOMESTIC";
3274
+ province: string;
3275
+ urbanOrRural: "URBAN";
3276
+ number?: string | null | undefined;
3277
+ town?: string | null | undefined;
3278
+ residentialArea?: string | null | undefined;
3279
+ street?: string | null | undefined;
3280
+ zipCode?: string | null | undefined;
3281
+ }, {
3282
+ country: string;
3283
+ district: string;
3284
+ addressType: "DOMESTIC";
3285
+ province: string;
3286
+ urbanOrRural: "URBAN";
3287
+ number?: string | null | undefined;
3288
+ town?: string | null | undefined;
3289
+ residentialArea?: string | null | undefined;
3290
+ street?: string | null | undefined;
3291
+ zipCode?: string | null | undefined;
3292
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3293
+ country: z.ZodString;
3294
+ addressType: z.ZodLiteral<"DOMESTIC">;
3295
+ province: z.ZodString;
3296
+ district: z.ZodString;
3297
+ }, {
3298
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3299
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3300
+ }>, "strip", z.ZodTypeAny, {
3301
+ country: string;
3302
+ district: string;
3303
+ addressType: "DOMESTIC";
3304
+ province: string;
3305
+ urbanOrRural: "RURAL";
3306
+ village?: string | null | undefined;
3307
+ }, {
3308
+ country: string;
3309
+ district: string;
3310
+ addressType: "DOMESTIC";
3311
+ province: string;
3312
+ urbanOrRural: "RURAL";
3313
+ village?: string | null | undefined;
3314
+ }>, z.ZodUndefined, z.ZodObject<{
3315
+ country: z.ZodString;
3316
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3317
+ state: z.ZodString;
3318
+ district2: z.ZodString;
3319
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3320
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3321
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3322
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3324
+ }, "strip", z.ZodTypeAny, {
3325
+ country: string;
3326
+ state: string;
3327
+ addressType: "INTERNATIONAL";
3328
+ district2: string;
3329
+ cityOrTown?: string | null | undefined;
3330
+ addressLine1?: string | null | undefined;
3331
+ addressLine2?: string | null | undefined;
3332
+ addressLine3?: string | null | undefined;
3333
+ postcodeOrZip?: string | null | undefined;
3334
+ }, {
3335
+ country: string;
3336
+ state: string;
3337
+ addressType: "INTERNATIONAL";
3338
+ district2: string;
3339
+ cityOrTown?: string | null | undefined;
3340
+ addressLine1?: string | null | undefined;
3341
+ addressLine2?: string | null | undefined;
3342
+ addressLine3?: string | null | undefined;
3343
+ postcodeOrZip?: string | null | undefined;
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<{
3346
+ filename: z.ZodString;
3347
+ originalFilename: z.ZodString;
3348
+ type: z.ZodString;
3349
+ }, "strip", z.ZodTypeAny, {
3350
+ type: string;
3351
+ filename: string;
3352
+ originalFilename: string;
3353
+ }, {
3354
+ type: string;
3355
+ filename: string;
3356
+ originalFilename: string;
3357
+ }>, z.ZodArray<z.ZodObject<{
3358
+ filename: z.ZodString;
3359
+ originalFilename: z.ZodString;
3360
+ type: z.ZodString;
3361
+ option: z.ZodString;
3362
+ }, "strip", z.ZodTypeAny, {
3363
+ type: string;
3364
+ option: string;
3365
+ filename: string;
3366
+ originalFilename: string;
3367
+ }, {
3368
+ type: string;
3369
+ option: string;
3370
+ filename: string;
3371
+ originalFilename: string;
3372
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3373
+ country: z.ZodString;
3374
+ addressType: z.ZodLiteral<"DOMESTIC">;
3375
+ province: z.ZodString;
3376
+ district: z.ZodString;
3377
+ }, {
3378
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3379
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3380
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3381
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3382
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3383
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3384
+ }>, "strip", z.ZodTypeAny, {
3385
+ country: string;
3386
+ district: string;
3387
+ addressType: "DOMESTIC";
3388
+ province: string;
3389
+ urbanOrRural: "URBAN";
3390
+ number?: string | null | undefined;
3391
+ town?: string | null | undefined;
3392
+ residentialArea?: string | null | undefined;
3393
+ street?: string | null | undefined;
3394
+ zipCode?: string | null | undefined;
3395
+ }, {
3396
+ country: string;
3397
+ district: string;
3398
+ addressType: "DOMESTIC";
3399
+ province: string;
3400
+ urbanOrRural: "URBAN";
3401
+ number?: string | null | undefined;
3402
+ town?: string | null | undefined;
3403
+ residentialArea?: string | null | undefined;
3404
+ street?: string | null | undefined;
3405
+ zipCode?: string | null | undefined;
3406
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3407
+ country: z.ZodString;
3408
+ addressType: z.ZodLiteral<"DOMESTIC">;
3409
+ province: z.ZodString;
3410
+ district: z.ZodString;
3411
+ }, {
3412
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3413
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3414
+ }>, "strip", z.ZodTypeAny, {
3415
+ country: string;
3416
+ district: string;
3417
+ addressType: "DOMESTIC";
3418
+ province: string;
3419
+ urbanOrRural: "RURAL";
3420
+ village?: string | null | undefined;
3421
+ }, {
3422
+ country: string;
3423
+ district: string;
3424
+ addressType: "DOMESTIC";
3425
+ province: string;
3426
+ urbanOrRural: "RURAL";
3427
+ village?: string | null | undefined;
3428
+ }>, z.ZodUndefined, z.ZodObject<{
3429
+ country: z.ZodString;
3430
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3431
+ state: z.ZodString;
3432
+ district2: z.ZodString;
3433
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3434
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3435
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3436
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3437
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
+ }, "strip", z.ZodTypeAny, {
3439
+ country: string;
3440
+ state: string;
3441
+ addressType: "INTERNATIONAL";
3442
+ district2: string;
3443
+ cityOrTown?: string | null | undefined;
3444
+ addressLine1?: string | null | undefined;
3445
+ addressLine2?: string | null | undefined;
3446
+ addressLine3?: string | null | undefined;
3447
+ postcodeOrZip?: string | null | undefined;
3448
+ }, {
3449
+ country: string;
3450
+ state: string;
3451
+ addressType: "INTERNATIONAL";
3452
+ district2: string;
3453
+ cityOrTown?: string | null | undefined;
3454
+ addressLine1?: string | null | undefined;
3455
+ addressLine2?: string | null | undefined;
3456
+ addressLine3?: string | null | undefined;
3457
+ postcodeOrZip?: string | null | undefined;
3458
+ }>]>>>;
3459
+ originalActionId: z.ZodOptional<z.ZodString>;
3460
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3461
+ }, {
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
+ }>;
3473
+ }>, "strip", z.ZodTypeAny, {
3474
+ type: "ARCHIVE";
3475
+ reason: {
3476
+ message: string;
3477
+ isDuplicate?: boolean | undefined;
3478
+ };
3479
+ transactionId: string;
3480
+ declaration: Record<string, string | number | boolean | {
3481
+ type: string;
3482
+ filename: string;
3483
+ originalFilename: string;
3484
+ } | {
3485
+ country: string;
3486
+ district: string;
3487
+ addressType: "DOMESTIC";
3488
+ province: string;
3489
+ urbanOrRural: "URBAN";
3490
+ number?: string | null | undefined;
3491
+ town?: string | null | undefined;
3492
+ residentialArea?: string | null | undefined;
3493
+ street?: string | null | undefined;
3494
+ zipCode?: string | null | undefined;
3495
+ } | {
3496
+ country: string;
3497
+ district: string;
3498
+ addressType: "DOMESTIC";
3499
+ province: string;
3500
+ urbanOrRural: "RURAL";
3501
+ village?: string | null | undefined;
3502
+ } | {
3503
+ country: string;
3504
+ state: string;
3505
+ addressType: "INTERNATIONAL";
3506
+ district2: string;
3507
+ cityOrTown?: string | null | undefined;
3508
+ addressLine1?: string | null | undefined;
3509
+ addressLine2?: string | null | undefined;
3510
+ addressLine3?: string | null | undefined;
3511
+ postcodeOrZip?: string | null | undefined;
3512
+ } | {
3513
+ type: string;
3514
+ option: string;
3515
+ filename: string;
3516
+ originalFilename: string;
3517
+ }[] | [string, string] | undefined>;
3518
+ eventId: string;
3519
+ annotation?: Record<string, string | number | boolean | {
3520
+ type: string;
3521
+ filename: string;
3522
+ originalFilename: string;
3523
+ } | {
3524
+ country: string;
3525
+ district: string;
3526
+ addressType: "DOMESTIC";
3527
+ province: string;
3528
+ urbanOrRural: "URBAN";
3529
+ number?: string | null | undefined;
3530
+ town?: string | null | undefined;
3531
+ residentialArea?: string | null | undefined;
3532
+ street?: string | null | undefined;
3533
+ zipCode?: string | null | undefined;
3534
+ } | {
3535
+ country: string;
3536
+ district: string;
3537
+ addressType: "DOMESTIC";
3538
+ province: string;
3539
+ urbanOrRural: "RURAL";
3540
+ village?: string | null | undefined;
3541
+ } | {
3542
+ country: string;
3543
+ state: string;
3544
+ addressType: "INTERNATIONAL";
3545
+ district2: string;
3546
+ cityOrTown?: string | null | undefined;
3547
+ addressLine1?: string | null | undefined;
3548
+ addressLine2?: string | null | undefined;
3549
+ addressLine3?: string | null | undefined;
3550
+ postcodeOrZip?: string | null | undefined;
3551
+ } | {
3552
+ type: string;
3553
+ option: string;
3554
+ filename: string;
3555
+ originalFilename: string;
3556
+ }[] | [string, string] | undefined> | undefined;
3557
+ originalActionId?: string | undefined;
3558
+ keepAssignment?: boolean | undefined;
3559
+ }, {
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 | {
3568
+ type: string;
3569
+ filename: string;
3570
+ originalFilename: string;
3571
+ } | {
3572
+ country: string;
3573
+ district: string;
3574
+ addressType: "DOMESTIC";
3575
+ province: string;
3576
+ urbanOrRural: "URBAN";
3577
+ number?: string | null | undefined;
3578
+ town?: string | null | undefined;
3579
+ residentialArea?: string | null | undefined;
3580
+ street?: string | null | undefined;
3581
+ zipCode?: string | null | undefined;
3582
+ } | {
3583
+ country: string;
3584
+ district: string;
3585
+ addressType: "DOMESTIC";
3586
+ province: string;
3587
+ urbanOrRural: "RURAL";
3588
+ village?: string | null | undefined;
3589
+ } | {
3590
+ country: string;
3591
+ state: string;
3592
+ addressType: "INTERNATIONAL";
3593
+ district2: string;
3594
+ cityOrTown?: string | null | undefined;
3595
+ addressLine1?: string | null | undefined;
3596
+ addressLine2?: string | null | undefined;
3597
+ addressLine3?: string | null | undefined;
3598
+ postcodeOrZip?: string | null | undefined;
3599
+ } | {
3600
+ type: string;
3601
+ option: string;
3602
+ filename: string;
3603
+ originalFilename: string;
3604
+ }[] | [string, string] | undefined> | undefined;
3605
+ annotation?: Record<string, string | number | boolean | {
3606
+ type: string;
3607
+ filename: string;
3608
+ originalFilename: string;
3609
+ } | {
3610
+ country: string;
3611
+ district: string;
3612
+ addressType: "DOMESTIC";
3613
+ province: string;
3614
+ urbanOrRural: "URBAN";
3615
+ number?: string | null | undefined;
3616
+ town?: string | null | undefined;
3617
+ residentialArea?: string | null | undefined;
3618
+ street?: string | null | undefined;
3619
+ zipCode?: string | null | undefined;
3620
+ } | {
3621
+ country: string;
3622
+ district: string;
3623
+ addressType: "DOMESTIC";
3624
+ province: string;
3625
+ urbanOrRural: "RURAL";
3626
+ village?: string | null | undefined;
3627
+ } | {
3628
+ country: string;
3629
+ state: string;
3630
+ addressType: "INTERNATIONAL";
3631
+ district2: string;
3632
+ cityOrTown?: string | null | undefined;
3633
+ addressLine1?: string | null | undefined;
3634
+ addressLine2?: string | null | undefined;
3635
+ addressLine3?: string | null | undefined;
3636
+ postcodeOrZip?: string | null | undefined;
3637
+ } | {
3638
+ type: string;
3639
+ option: string;
3640
+ filename: string;
3641
+ originalFilename: string;
3642
+ }[] | [string, string] | undefined> | undefined;
3643
+ originalActionId?: string | undefined;
3644
+ keepAssignment?: boolean | undefined;
3645
+ }>;
3646
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3647
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3648
+ eventId: z.ZodString;
3649
+ transactionId: z.ZodString;
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<{
3651
+ filename: z.ZodString;
3652
+ originalFilename: z.ZodString;
3653
+ type: z.ZodString;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ type: string;
3656
+ filename: string;
3657
+ originalFilename: string;
3658
+ }, {
3659
+ type: string;
3660
+ filename: string;
3661
+ originalFilename: string;
3662
+ }>, z.ZodArray<z.ZodObject<{
3663
+ filename: z.ZodString;
3664
+ originalFilename: z.ZodString;
3665
+ type: z.ZodString;
3666
+ option: z.ZodString;
3667
+ }, "strip", z.ZodTypeAny, {
3668
+ type: string;
3669
+ option: string;
3670
+ filename: string;
3671
+ originalFilename: string;
3672
+ }, {
3673
+ type: string;
3674
+ option: string;
3675
+ filename: string;
3676
+ originalFilename: string;
3677
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3678
+ country: z.ZodString;
3679
+ addressType: z.ZodLiteral<"DOMESTIC">;
3680
+ province: z.ZodString;
3681
+ district: z.ZodString;
3682
+ }, {
3683
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3684
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3685
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3686
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3687
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3688
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3689
+ }>, "strip", z.ZodTypeAny, {
3690
+ country: string;
3691
+ district: string;
3692
+ addressType: "DOMESTIC";
3693
+ province: string;
3694
+ urbanOrRural: "URBAN";
3695
+ number?: string | null | undefined;
3696
+ town?: string | null | undefined;
3697
+ residentialArea?: string | null | undefined;
3698
+ street?: string | null | undefined;
3699
+ zipCode?: string | null | undefined;
3700
+ }, {
3701
+ country: string;
3702
+ district: string;
3703
+ addressType: "DOMESTIC";
3704
+ province: string;
3705
+ urbanOrRural: "URBAN";
3706
+ number?: string | null | undefined;
3707
+ town?: string | null | undefined;
3708
+ residentialArea?: string | null | undefined;
3709
+ street?: string | null | undefined;
3710
+ zipCode?: string | null | undefined;
3711
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3712
+ country: z.ZodString;
3713
+ addressType: z.ZodLiteral<"DOMESTIC">;
3714
+ province: z.ZodString;
3715
+ district: z.ZodString;
3716
+ }, {
3717
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3718
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3719
+ }>, "strip", z.ZodTypeAny, {
3720
+ country: string;
3721
+ district: string;
3722
+ addressType: "DOMESTIC";
3723
+ province: string;
3724
+ urbanOrRural: "RURAL";
3725
+ village?: string | null | undefined;
3726
+ }, {
3727
+ country: string;
3728
+ district: string;
3729
+ addressType: "DOMESTIC";
3730
+ province: string;
3731
+ urbanOrRural: "RURAL";
3732
+ village?: string | null | undefined;
3733
+ }>, z.ZodUndefined, z.ZodObject<{
3734
+ country: z.ZodString;
3735
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3736
+ state: z.ZodString;
3737
+ district2: z.ZodString;
3738
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3739
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3740
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3741
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3742
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3743
+ }, "strip", z.ZodTypeAny, {
3744
+ country: string;
3745
+ state: string;
3746
+ addressType: "INTERNATIONAL";
3747
+ district2: string;
3748
+ cityOrTown?: string | null | undefined;
3749
+ addressLine1?: string | null | undefined;
3750
+ addressLine2?: string | null | undefined;
3751
+ addressLine3?: string | null | undefined;
3752
+ postcodeOrZip?: string | null | undefined;
3753
+ }, {
3754
+ country: string;
3755
+ state: string;
3756
+ addressType: "INTERNATIONAL";
3757
+ district2: string;
3758
+ cityOrTown?: string | null | undefined;
3759
+ addressLine1?: string | null | undefined;
3760
+ addressLine2?: string | null | undefined;
3761
+ addressLine3?: string | null | undefined;
3762
+ postcodeOrZip?: string | null | undefined;
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<{
2900
3765
  filename: z.ZodString;
2901
3766
  originalFilename: z.ZodString;
2902
3767
  type: z.ZodString;
@@ -3010,10 +3875,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3875
  addressLine3?: string | null | undefined;
3011
3876
  postcodeOrZip?: string | null | undefined;
3012
3877
  }>]>>>;
3878
+ originalActionId: z.ZodOptional<z.ZodString>;
3879
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3013
3880
  }, {
3014
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3881
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3882
+ assignedTo: z.ZodString;
3015
3883
  }>, "strip", z.ZodTypeAny, {
3016
- type: "MARKED_AS_DUPLICATE";
3884
+ type: "ASSIGN";
3885
+ transactionId: string;
3017
3886
  declaration: Record<string, string | number | boolean | {
3018
3887
  type: string;
3019
3888
  filename: string;
@@ -3051,9 +3920,9 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3051
3920
  option: string;
3052
3921
  filename: string;
3053
3922
  originalFilename: string;
3054
- }[] | undefined>;
3923
+ }[] | [string, string] | undefined>;
3924
+ assignedTo: string;
3055
3925
  eventId: string;
3056
- transactionId: string;
3057
3926
  annotation?: Record<string, string | number | boolean | {
3058
3927
  type: string;
3059
3928
  filename: string;
@@ -3091,9 +3960,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3091
3960
  option: string;
3092
3961
  filename: string;
3093
3962
  originalFilename: string;
3094
- }[] | undefined> | undefined;
3963
+ }[] | [string, string] | undefined> | undefined;
3964
+ originalActionId?: string | undefined;
3965
+ keepAssignment?: boolean | undefined;
3095
3966
  }, {
3096
- declaration: 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 | {
3097
3972
  type: string;
3098
3973
  filename: string;
3099
3974
  originalFilename: string;
@@ -3130,10 +4005,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3130
4005
  option: string;
3131
4006
  filename: string;
3132
4007
  originalFilename: string;
3133
- }[] | undefined>;
3134
- eventId: string;
3135
- transactionId: string;
3136
- type?: "MARKED_AS_DUPLICATE" | undefined;
4008
+ }[] | [string, string] | undefined> | undefined;
3137
4009
  annotation?: Record<string, string | number | boolean | {
3138
4010
  type: string;
3139
4011
  filename: string;
@@ -3171,13 +4043,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3171
4043
  option: string;
3172
4044
  filename: string;
3173
4045
  originalFilename: string;
3174
- }[] | undefined> | undefined;
4046
+ }[] | [string, string] | undefined> | undefined;
4047
+ originalActionId?: string | undefined;
4048
+ keepAssignment?: boolean | undefined;
3175
4049
  }>;
3176
- export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
- export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4050
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4051
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
4052
  eventId: z.ZodString;
3179
4053
  transactionId: z.ZodString;
3180
- declaration: 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<{
3181
4055
  filename: z.ZodString;
3182
4056
  originalFilename: z.ZodString;
3183
4057
  type: z.ZodString;
@@ -3290,8 +4164,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3290
4164
  addressLine2?: string | null | undefined;
3291
4165
  addressLine3?: string | null | undefined;
3292
4166
  postcodeOrZip?: string | null | undefined;
3293
- }>]>>;
3294
- annotation: 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<{
3295
4169
  filename: z.ZodString;
3296
4170
  originalFilename: z.ZodString;
3297
4171
  type: z.ZodString;
@@ -3405,10 +4279,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
4279
  addressLine3?: string | null | undefined;
3406
4280
  postcodeOrZip?: string | null | undefined;
3407
4281
  }>]>>>;
4282
+ originalActionId: z.ZodOptional<z.ZodString>;
4283
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3408
4284
  }, {
3409
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
4285
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4286
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
3410
4287
  }>, "strip", z.ZodTypeAny, {
3411
- type: "ARCHIVE";
4288
+ type: "UNASSIGN";
4289
+ transactionId: string;
3412
4290
  declaration: Record<string, string | number | boolean | {
3413
4291
  type: string;
3414
4292
  filename: string;
@@ -3446,9 +4324,9 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3446
4324
  option: string;
3447
4325
  filename: string;
3448
4326
  originalFilename: string;
3449
- }[] | undefined>;
4327
+ }[] | [string, string] | undefined>;
4328
+ assignedTo: null;
3450
4329
  eventId: string;
3451
- transactionId: string;
3452
4330
  annotation?: Record<string, string | number | boolean | {
3453
4331
  type: string;
3454
4332
  filename: string;
@@ -3486,9 +4364,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3486
4364
  option: string;
3487
4365
  filename: string;
3488
4366
  originalFilename: string;
3489
- }[] | undefined> | undefined;
4367
+ }[] | [string, string] | undefined> | undefined;
4368
+ originalActionId?: string | undefined;
4369
+ keepAssignment?: boolean | undefined;
3490
4370
  }, {
3491
- declaration: Record<string, string | number | boolean | {
4371
+ transactionId: string;
4372
+ eventId: string;
4373
+ type?: "UNASSIGN" | undefined;
4374
+ declaration?: Record<string, string | number | boolean | {
3492
4375
  type: string;
3493
4376
  filename: string;
3494
4377
  originalFilename: string;
@@ -3525,10 +4408,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
4408
  option: string;
3526
4409
  filename: string;
3527
4410
  originalFilename: string;
3528
- }[] | undefined>;
3529
- eventId: string;
3530
- transactionId: string;
3531
- type?: "ARCHIVE" | undefined;
4411
+ }[] | [string, string] | undefined> | undefined;
3532
4412
  annotation?: Record<string, string | number | boolean | {
3533
4413
  type: string;
3534
4414
  filename: string;
@@ -3566,13 +4446,16 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3566
4446
  option: string;
3567
4447
  filename: string;
3568
4448
  originalFilename: string;
3569
- }[] | undefined> | undefined;
4449
+ }[] | [string, string] | undefined> | undefined;
4450
+ originalActionId?: string | undefined;
4451
+ assignedTo?: null | undefined;
4452
+ keepAssignment?: boolean | undefined;
3570
4453
  }>;
3571
- export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
4454
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
3572
4455
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
4456
  eventId: z.ZodString;
3574
4457
  transactionId: z.ZodString;
3575
- declaration: 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<{
3576
4459
  filename: z.ZodString;
3577
4460
  originalFilename: z.ZodString;
3578
4461
  type: z.ZodString;
@@ -3685,8 +4568,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3685
4568
  addressLine2?: string | null | undefined;
3686
4569
  addressLine3?: string | null | undefined;
3687
4570
  postcodeOrZip?: string | null | undefined;
3688
- }>]>>;
3689
- annotation: 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<{
3690
4573
  filename: z.ZodString;
3691
4574
  originalFilename: z.ZodString;
3692
4575
  type: z.ZodString;
@@ -3800,10 +4683,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
4683
  addressLine3?: string | null | undefined;
3801
4684
  postcodeOrZip?: string | null | undefined;
3802
4685
  }>]>>>;
4686
+ originalActionId: z.ZodOptional<z.ZodString>;
4687
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3803
4688
  }, {
3804
4689
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3805
4690
  }>, "strip", z.ZodTypeAny, {
3806
4691
  type: "REQUEST_CORRECTION";
4692
+ transactionId: string;
3807
4693
  declaration: Record<string, string | number | boolean | {
3808
4694
  type: string;
3809
4695
  filename: string;
@@ -3841,9 +4727,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3841
4727
  option: string;
3842
4728
  filename: string;
3843
4729
  originalFilename: string;
3844
- }[] | undefined>;
4730
+ }[] | [string, string] | undefined>;
3845
4731
  eventId: string;
3846
- transactionId: string;
3847
4732
  annotation?: Record<string, string | number | boolean | {
3848
4733
  type: string;
3849
4734
  filename: string;
@@ -3881,9 +4766,14 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3881
4766
  option: string;
3882
4767
  filename: string;
3883
4768
  originalFilename: string;
3884
- }[] | undefined> | undefined;
4769
+ }[] | [string, string] | undefined> | undefined;
4770
+ originalActionId?: string | undefined;
4771
+ keepAssignment?: boolean | undefined;
3885
4772
  }, {
3886
- declaration: Record<string, string | number | boolean | {
4773
+ transactionId: string;
4774
+ eventId: string;
4775
+ type?: "REQUEST_CORRECTION" | undefined;
4776
+ declaration?: Record<string, string | number | boolean | {
3887
4777
  type: string;
3888
4778
  filename: string;
3889
4779
  originalFilename: string;
@@ -3920,10 +4810,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3920
4810
  option: string;
3921
4811
  filename: string;
3922
4812
  originalFilename: string;
3923
- }[] | undefined>;
3924
- eventId: string;
3925
- transactionId: string;
3926
- type?: "REQUEST_CORRECTION" | undefined;
4813
+ }[] | [string, string] | undefined> | undefined;
3927
4814
  annotation?: Record<string, string | number | boolean | {
3928
4815
  type: string;
3929
4816
  filename: string;
@@ -3961,13 +4848,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3961
4848
  option: string;
3962
4849
  filename: string;
3963
4850
  originalFilename: string;
3964
- }[] | undefined> | undefined;
4851
+ }[] | [string, string] | undefined> | undefined;
4852
+ originalActionId?: string | undefined;
4853
+ keepAssignment?: boolean | undefined;
3965
4854
  }>;
3966
4855
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
4856
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
4857
  eventId: z.ZodString;
3969
4858
  transactionId: z.ZodString;
3970
- declaration: 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<{
3971
4860
  filename: z.ZodString;
3972
4861
  originalFilename: z.ZodString;
3973
4862
  type: z.ZodString;
@@ -4080,8 +4969,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4080
4969
  addressLine2?: string | null | undefined;
4081
4970
  addressLine3?: string | null | undefined;
4082
4971
  postcodeOrZip?: string | null | undefined;
4083
- }>]>>;
4084
- annotation: 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<{
4085
4974
  filename: z.ZodString;
4086
4975
  originalFilename: z.ZodString;
4087
4976
  type: z.ZodString;
@@ -4195,11 +5084,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
5084
  addressLine3?: string | null | undefined;
4196
5085
  postcodeOrZip?: string | null | undefined;
4197
5086
  }>]>>>;
5087
+ originalActionId: z.ZodOptional<z.ZodString>;
5088
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4198
5089
  }, {
4199
5090
  requestId: z.ZodString;
4200
5091
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4201
5092
  }>, "strip", z.ZodTypeAny, {
4202
5093
  type: "REJECT_CORRECTION";
5094
+ transactionId: string;
4203
5095
  declaration: Record<string, string | number | boolean | {
4204
5096
  type: string;
4205
5097
  filename: string;
@@ -4237,10 +5129,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4237
5129
  option: string;
4238
5130
  filename: string;
4239
5131
  originalFilename: string;
4240
- }[] | undefined>;
5132
+ }[] | [string, string] | undefined>;
4241
5133
  requestId: string;
4242
5134
  eventId: string;
4243
- transactionId: string;
4244
5135
  annotation?: Record<string, string | number | boolean | {
4245
5136
  type: string;
4246
5137
  filename: string;
@@ -4278,9 +5169,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4278
5169
  option: string;
4279
5170
  filename: string;
4280
5171
  originalFilename: string;
4281
- }[] | undefined> | undefined;
5172
+ }[] | [string, string] | undefined> | undefined;
5173
+ originalActionId?: string | undefined;
5174
+ keepAssignment?: boolean | undefined;
4282
5175
  }, {
4283
- declaration: 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 | {
4284
5181
  type: string;
4285
5182
  filename: string;
4286
5183
  originalFilename: string;
@@ -4317,11 +5214,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4317
5214
  option: string;
4318
5215
  filename: string;
4319
5216
  originalFilename: string;
4320
- }[] | undefined>;
4321
- requestId: string;
4322
- eventId: string;
4323
- transactionId: string;
4324
- type?: "REJECT_CORRECTION" | undefined;
5217
+ }[] | [string, string] | undefined> | undefined;
4325
5218
  annotation?: Record<string, string | number | boolean | {
4326
5219
  type: string;
4327
5220
  filename: string;
@@ -4359,13 +5252,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4359
5252
  option: string;
4360
5253
  filename: string;
4361
5254
  originalFilename: string;
4362
- }[] | undefined> | undefined;
5255
+ }[] | [string, string] | undefined> | undefined;
5256
+ originalActionId?: string | undefined;
5257
+ keepAssignment?: boolean | undefined;
4363
5258
  }>;
4364
5259
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
5260
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
5261
  eventId: z.ZodString;
4367
5262
  transactionId: z.ZodString;
4368
- declaration: 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<{
4369
5264
  filename: z.ZodString;
4370
5265
  originalFilename: z.ZodString;
4371
5266
  type: z.ZodString;
@@ -4478,8 +5373,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4478
5373
  addressLine2?: string | null | undefined;
4479
5374
  addressLine3?: string | null | undefined;
4480
5375
  postcodeOrZip?: string | null | undefined;
4481
- }>]>>;
4482
- annotation: 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<{
4483
5378
  filename: z.ZodString;
4484
5379
  originalFilename: z.ZodString;
4485
5380
  type: z.ZodString;
@@ -4593,11 +5488,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
5488
  addressLine3?: string | null | undefined;
4594
5489
  postcodeOrZip?: string | null | undefined;
4595
5490
  }>]>>>;
5491
+ originalActionId: z.ZodOptional<z.ZodString>;
5492
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4596
5493
  }, {
4597
5494
  requestId: z.ZodString;
4598
5495
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4599
5496
  }>, "strip", z.ZodTypeAny, {
4600
5497
  type: "APPROVE_CORRECTION";
5498
+ transactionId: string;
4601
5499
  declaration: Record<string, string | number | boolean | {
4602
5500
  type: string;
4603
5501
  filename: string;
@@ -4635,10 +5533,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4635
5533
  option: string;
4636
5534
  filename: string;
4637
5535
  originalFilename: string;
4638
- }[] | undefined>;
5536
+ }[] | [string, string] | undefined>;
4639
5537
  requestId: string;
4640
5538
  eventId: string;
4641
- transactionId: string;
4642
5539
  annotation?: Record<string, string | number | boolean | {
4643
5540
  type: string;
4644
5541
  filename: string;
@@ -4676,9 +5573,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4676
5573
  option: string;
4677
5574
  filename: string;
4678
5575
  originalFilename: string;
4679
- }[] | undefined> | undefined;
5576
+ }[] | [string, string] | undefined> | undefined;
5577
+ originalActionId?: string | undefined;
5578
+ keepAssignment?: boolean | undefined;
4680
5579
  }, {
4681
- declaration: 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 | {
4682
5585
  type: string;
4683
5586
  filename: string;
4684
5587
  originalFilename: string;
@@ -4715,11 +5618,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4715
5618
  option: string;
4716
5619
  filename: string;
4717
5620
  originalFilename: string;
4718
- }[] | undefined>;
4719
- requestId: string;
4720
- eventId: string;
4721
- transactionId: string;
4722
- type?: "APPROVE_CORRECTION" | undefined;
5621
+ }[] | [string, string] | undefined> | undefined;
4723
5622
  annotation?: Record<string, string | number | boolean | {
4724
5623
  type: string;
4725
5624
  filename: string;
@@ -4757,13 +5656,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4757
5656
  option: string;
4758
5657
  filename: string;
4759
5658
  originalFilename: string;
4760
- }[] | undefined> | undefined;
5659
+ }[] | [string, string] | undefined> | undefined;
5660
+ originalActionId?: string | undefined;
5661
+ keepAssignment?: boolean | undefined;
4761
5662
  }>;
4762
5663
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
5664
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4764
5665
  eventId: z.ZodString;
4765
5666
  transactionId: z.ZodString;
4766
- declaration: 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<{
4767
5668
  filename: z.ZodString;
4768
5669
  originalFilename: z.ZodString;
4769
5670
  type: z.ZodString;
@@ -4876,8 +5777,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4876
5777
  addressLine2?: string | null | undefined;
4877
5778
  addressLine3?: string | null | undefined;
4878
5779
  postcodeOrZip?: string | null | undefined;
4879
- }>]>>;
4880
- annotation: 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<{
4881
5782
  filename: z.ZodString;
4882
5783
  originalFilename: z.ZodString;
4883
5784
  type: z.ZodString;
@@ -4991,10 +5892,13 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4991
5892
  addressLine3?: string | null | undefined;
4992
5893
  postcodeOrZip?: string | null | undefined;
4993
5894
  }>]>>>;
5895
+ originalActionId: z.ZodOptional<z.ZodString>;
5896
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4994
5897
  }, {
4995
5898
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
4996
5899
  }>, "strip", z.ZodTypeAny, {
4997
5900
  type: "READ";
5901
+ transactionId: string;
4998
5902
  declaration: Record<string, string | number | boolean | {
4999
5903
  type: string;
5000
5904
  filename: string;
@@ -5032,9 +5936,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5032
5936
  option: string;
5033
5937
  filename: string;
5034
5938
  originalFilename: string;
5035
- }[] | undefined>;
5939
+ }[] | [string, string] | undefined>;
5036
5940
  eventId: string;
5037
- transactionId: string;
5038
5941
  annotation?: Record<string, string | number | boolean | {
5039
5942
  type: string;
5040
5943
  filename: string;
@@ -5072,9 +5975,14 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5072
5975
  option: string;
5073
5976
  filename: string;
5074
5977
  originalFilename: string;
5075
- }[] | undefined> | undefined;
5978
+ }[] | [string, string] | undefined> | undefined;
5979
+ originalActionId?: string | undefined;
5980
+ keepAssignment?: boolean | undefined;
5076
5981
  }, {
5077
- declaration: Record<string, string | number | boolean | {
5982
+ transactionId: string;
5983
+ eventId: string;
5984
+ type?: "READ" | undefined;
5985
+ declaration?: Record<string, string | number | boolean | {
5078
5986
  type: string;
5079
5987
  filename: string;
5080
5988
  originalFilename: string;
@@ -5111,10 +6019,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5111
6019
  option: string;
5112
6020
  filename: string;
5113
6021
  originalFilename: string;
5114
- }[] | undefined>;
5115
- eventId: string;
5116
- transactionId: string;
5117
- type?: "READ" | undefined;
6022
+ }[] | [string, string] | undefined> | undefined;
5118
6023
  annotation?: Record<string, string | number | boolean | {
5119
6024
  type: string;
5120
6025
  filename: string;
@@ -5152,9 +6057,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5152
6057
  option: string;
5153
6058
  filename: string;
5154
6059
  originalFilename: string;
5155
- }[] | undefined> | undefined;
6060
+ }[] | [string, string] | undefined> | undefined;
6061
+ originalActionId?: string | undefined;
6062
+ keepAssignment?: boolean | undefined;
5156
6063
  }>;
5157
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>;
5158
6073
  /**
5159
6074
  * ActionInput types are used to validate the input data for the action.
5160
6075
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -5166,7 +6081,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5166
6081
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5167
6082
  eventId: z.ZodString;
5168
6083
  transactionId: z.ZodString;
5169
- declaration: 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<{
5170
6085
  filename: z.ZodString;
5171
6086
  originalFilename: z.ZodString;
5172
6087
  type: z.ZodString;
@@ -5279,8 +6194,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5279
6194
  addressLine2?: string | null | undefined;
5280
6195
  addressLine3?: string | null | undefined;
5281
6196
  postcodeOrZip?: string | null | undefined;
5282
- }>]>>;
5283
- annotation: 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<{
5284
6199
  filename: z.ZodString;
5285
6200
  originalFilename: z.ZodString;
5286
6201
  type: z.ZodString;
@@ -5394,11 +6309,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5394
6309
  addressLine3?: string | null | undefined;
5395
6310
  postcodeOrZip?: string | null | undefined;
5396
6311
  }>]>>>;
6312
+ originalActionId: z.ZodOptional<z.ZodString>;
6313
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5397
6314
  }, {
5398
6315
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5399
- createdAtLocation: z.ZodString;
6316
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5400
6317
  }>, "strip", z.ZodTypeAny, {
5401
6318
  type: "CREATE";
6319
+ transactionId: string;
5402
6320
  declaration: Record<string, string | number | boolean | {
5403
6321
  type: string;
5404
6322
  filename: string;
@@ -5436,10 +6354,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5436
6354
  option: string;
5437
6355
  filename: string;
5438
6356
  originalFilename: string;
5439
- }[] | undefined>;
5440
- createdAtLocation: string;
6357
+ }[] | [string, string] | undefined>;
5441
6358
  eventId: string;
5442
- transactionId: string;
6359
+ createdAtLocation?: string | null | undefined;
5443
6360
  annotation?: Record<string, string | number | boolean | {
5444
6361
  type: string;
5445
6362
  filename: string;
@@ -5477,9 +6394,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5477
6394
  option: string;
5478
6395
  filename: string;
5479
6396
  originalFilename: string;
5480
- }[] | undefined> | undefined;
6397
+ }[] | [string, string] | undefined> | undefined;
6398
+ originalActionId?: string | undefined;
6399
+ keepAssignment?: boolean | undefined;
5481
6400
  }, {
5482
- declaration: 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 | {
5483
6406
  type: string;
5484
6407
  filename: string;
5485
6408
  originalFilename: string;
@@ -5516,11 +6439,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5516
6439
  option: string;
5517
6440
  filename: string;
5518
6441
  originalFilename: string;
5519
- }[] | undefined>;
5520
- createdAtLocation: string;
5521
- eventId: string;
5522
- transactionId: string;
5523
- type?: "CREATE" | undefined;
6442
+ }[] | [string, string] | undefined> | undefined;
5524
6443
  annotation?: Record<string, string | number | boolean | {
5525
6444
  type: string;
5526
6445
  filename: string;
@@ -5558,11 +6477,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5558
6477
  option: string;
5559
6478
  filename: string;
5560
6479
  originalFilename: string;
5561
- }[] | undefined> | undefined;
6480
+ }[] | [string, string] | undefined> | undefined;
6481
+ originalActionId?: string | undefined;
6482
+ keepAssignment?: boolean | undefined;
5562
6483
  }>, z.ZodObject<z.objectUtil.extendShape<{
5563
6484
  eventId: z.ZodString;
5564
6485
  transactionId: z.ZodString;
5565
- declaration: 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<{
5566
6487
  filename: z.ZodString;
5567
6488
  originalFilename: z.ZodString;
5568
6489
  type: z.ZodString;
@@ -5675,8 +6596,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5675
6596
  addressLine2?: string | null | undefined;
5676
6597
  addressLine3?: string | null | undefined;
5677
6598
  postcodeOrZip?: string | null | undefined;
5678
- }>]>>;
5679
- annotation: 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<{
5680
6601
  filename: z.ZodString;
5681
6602
  originalFilename: z.ZodString;
5682
6603
  type: z.ZodString;
@@ -5790,11 +6711,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5790
6711
  addressLine3?: string | null | undefined;
5791
6712
  postcodeOrZip?: string | null | undefined;
5792
6713
  }>]>>>;
6714
+ originalActionId: z.ZodOptional<z.ZodString>;
6715
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5793
6716
  }, {
5794
6717
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5795
6718
  duplicates: z.ZodArray<z.ZodString, "many">;
5796
6719
  }>, "strip", z.ZodTypeAny, {
5797
6720
  type: "VALIDATE";
6721
+ transactionId: string;
5798
6722
  declaration: Record<string, string | number | boolean | {
5799
6723
  type: string;
5800
6724
  filename: string;
@@ -5832,9 +6756,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5832
6756
  option: string;
5833
6757
  filename: string;
5834
6758
  originalFilename: string;
5835
- }[] | undefined>;
6759
+ }[] | [string, string] | undefined>;
5836
6760
  eventId: string;
5837
- transactionId: string;
5838
6761
  duplicates: string[];
5839
6762
  annotation?: Record<string, string | number | boolean | {
5840
6763
  type: string;
@@ -5873,9 +6796,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5873
6796
  option: string;
5874
6797
  filename: string;
5875
6798
  originalFilename: string;
5876
- }[] | undefined> | undefined;
6799
+ }[] | [string, string] | undefined> | undefined;
6800
+ originalActionId?: string | undefined;
6801
+ keepAssignment?: boolean | undefined;
5877
6802
  }, {
5878
- declaration: Record<string, string | number | boolean | {
6803
+ transactionId: string;
6804
+ eventId: string;
6805
+ duplicates: string[];
6806
+ type?: "VALIDATE" | undefined;
6807
+ declaration?: Record<string, string | number | boolean | {
5879
6808
  type: string;
5880
6809
  filename: string;
5881
6810
  originalFilename: string;
@@ -5912,11 +6841,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
6841
  option: string;
5913
6842
  filename: string;
5914
6843
  originalFilename: string;
5915
- }[] | undefined>;
5916
- eventId: string;
5917
- transactionId: string;
5918
- duplicates: string[];
5919
- type?: "VALIDATE" | undefined;
6844
+ }[] | [string, string] | undefined> | undefined;
5920
6845
  annotation?: Record<string, string | number | boolean | {
5921
6846
  type: string;
5922
6847
  filename: string;
@@ -5954,11 +6879,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5954
6879
  option: string;
5955
6880
  filename: string;
5956
6881
  originalFilename: string;
5957
- }[] | undefined> | undefined;
6882
+ }[] | [string, string] | undefined> | undefined;
6883
+ originalActionId?: string | undefined;
6884
+ keepAssignment?: boolean | undefined;
5958
6885
  }>, z.ZodObject<z.objectUtil.extendShape<{
5959
6886
  eventId: z.ZodString;
5960
6887
  transactionId: z.ZodString;
5961
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5962
6889
  filename: z.ZodString;
5963
6890
  originalFilename: z.ZodString;
5964
6891
  type: z.ZodString;
@@ -6071,8 +6998,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6071
6998
  addressLine2?: string | null | undefined;
6072
6999
  addressLine3?: string | null | undefined;
6073
7000
  postcodeOrZip?: string | null | undefined;
6074
- }>]>>;
6075
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6076
7003
  filename: z.ZodString;
6077
7004
  originalFilename: z.ZodString;
6078
7005
  type: z.ZodString;
@@ -6186,20 +7113,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7113
  addressLine3?: string | null | undefined;
6187
7114
  postcodeOrZip?: string | null | undefined;
6188
7115
  }>]>>>;
7116
+ originalActionId: z.ZodOptional<z.ZodString>;
7117
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6189
7118
  }, {
6190
7119
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6191
- identifiers: z.ZodObject<{
6192
- trackingId: z.ZodString;
6193
- registrationNumber: z.ZodString;
6194
- }, "strip", z.ZodTypeAny, {
6195
- trackingId: string;
6196
- registrationNumber: string;
6197
- }, {
6198
- trackingId: string;
6199
- registrationNumber: string;
6200
- }>;
7120
+ registrationNumber: z.ZodOptional<z.ZodString>;
6201
7121
  }>, "strip", z.ZodTypeAny, {
6202
7122
  type: "REGISTER";
7123
+ transactionId: string;
6203
7124
  declaration: Record<string, string | number | boolean | {
6204
7125
  type: string;
6205
7126
  filename: string;
@@ -6237,13 +7158,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6237
7158
  option: string;
6238
7159
  filename: string;
6239
7160
  originalFilename: string;
6240
- }[] | undefined>;
6241
- identifiers: {
6242
- trackingId: string;
6243
- registrationNumber: string;
6244
- };
7161
+ }[] | [string, string] | undefined>;
6245
7162
  eventId: string;
6246
- transactionId: string;
6247
7163
  annotation?: Record<string, string | number | boolean | {
6248
7164
  type: string;
6249
7165
  filename: string;
@@ -6281,9 +7197,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6281
7197
  option: string;
6282
7198
  filename: string;
6283
7199
  originalFilename: string;
6284
- }[] | undefined> | undefined;
7200
+ }[] | [string, string] | undefined> | undefined;
7201
+ originalActionId?: string | undefined;
7202
+ registrationNumber?: string | undefined;
7203
+ keepAssignment?: boolean | undefined;
6285
7204
  }, {
6286
- declaration: Record<string, string | number | boolean | {
7205
+ transactionId: string;
7206
+ eventId: string;
7207
+ type?: "REGISTER" | undefined;
7208
+ declaration?: Record<string, string | number | boolean | {
6287
7209
  type: string;
6288
7210
  filename: string;
6289
7211
  originalFilename: string;
@@ -6320,14 +7242,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6320
7242
  option: string;
6321
7243
  filename: string;
6322
7244
  originalFilename: string;
6323
- }[] | undefined>;
6324
- identifiers: {
6325
- trackingId: string;
6326
- registrationNumber: string;
6327
- };
6328
- eventId: string;
6329
- transactionId: string;
6330
- type?: "REGISTER" | undefined;
7245
+ }[] | [string, string] | undefined> | undefined;
6331
7246
  annotation?: Record<string, string | number | boolean | {
6332
7247
  type: string;
6333
7248
  filename: string;
@@ -6365,11 +7280,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6365
7280
  option: string;
6366
7281
  filename: string;
6367
7282
  originalFilename: string;
6368
- }[] | undefined> | undefined;
7283
+ }[] | [string, string] | undefined> | undefined;
7284
+ originalActionId?: string | undefined;
7285
+ registrationNumber?: string | undefined;
7286
+ keepAssignment?: boolean | undefined;
6369
7287
  }>, z.ZodObject<z.objectUtil.extendShape<{
6370
7288
  eventId: z.ZodString;
6371
7289
  transactionId: z.ZodString;
6372
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6373
7291
  filename: z.ZodString;
6374
7292
  originalFilename: z.ZodString;
6375
7293
  type: z.ZodString;
@@ -6482,8 +7400,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6482
7400
  addressLine2?: string | null | undefined;
6483
7401
  addressLine3?: string | null | undefined;
6484
7402
  postcodeOrZip?: string | null | undefined;
6485
- }>]>>;
6486
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6487
7405
  filename: z.ZodString;
6488
7406
  originalFilename: z.ZodString;
6489
7407
  type: z.ZodString;
@@ -6597,10 +7515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6597
7515
  addressLine3?: string | null | undefined;
6598
7516
  postcodeOrZip?: string | null | undefined;
6599
7517
  }>]>>>;
7518
+ originalActionId: z.ZodOptional<z.ZodString>;
7519
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6600
7520
  }, {
6601
7521
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6602
7522
  }>, "strip", z.ZodTypeAny, {
6603
7523
  type: "NOTIFY";
7524
+ transactionId: string;
6604
7525
  declaration: Record<string, string | number | boolean | {
6605
7526
  type: string;
6606
7527
  filename: string;
@@ -6638,9 +7559,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6638
7559
  option: string;
6639
7560
  filename: string;
6640
7561
  originalFilename: string;
6641
- }[] | undefined>;
7562
+ }[] | [string, string] | undefined>;
6642
7563
  eventId: string;
6643
- transactionId: string;
6644
7564
  annotation?: Record<string, string | number | boolean | {
6645
7565
  type: string;
6646
7566
  filename: string;
@@ -6678,9 +7598,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6678
7598
  option: string;
6679
7599
  filename: string;
6680
7600
  originalFilename: string;
6681
- }[] | undefined> | undefined;
7601
+ }[] | [string, string] | undefined> | undefined;
7602
+ originalActionId?: string | undefined;
7603
+ keepAssignment?: boolean | undefined;
6682
7604
  }, {
6683
- declaration: Record<string, string | number | boolean | {
7605
+ transactionId: string;
7606
+ eventId: string;
7607
+ type?: "NOTIFY" | undefined;
7608
+ declaration?: Record<string, string | number | boolean | {
6684
7609
  type: string;
6685
7610
  filename: string;
6686
7611
  originalFilename: string;
@@ -6717,10 +7642,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6717
7642
  option: string;
6718
7643
  filename: string;
6719
7644
  originalFilename: string;
6720
- }[] | undefined>;
6721
- eventId: string;
6722
- transactionId: string;
6723
- type?: "NOTIFY" | undefined;
7645
+ }[] | [string, string] | undefined> | undefined;
6724
7646
  annotation?: Record<string, string | number | boolean | {
6725
7647
  type: string;
6726
7648
  filename: string;
@@ -6758,11 +7680,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6758
7680
  option: string;
6759
7681
  filename: string;
6760
7682
  originalFilename: string;
6761
- }[] | undefined> | undefined;
7683
+ }[] | [string, string] | undefined> | undefined;
7684
+ originalActionId?: string | undefined;
7685
+ keepAssignment?: boolean | undefined;
6762
7686
  }>, z.ZodObject<z.objectUtil.extendShape<{
6763
7687
  eventId: z.ZodString;
6764
7688
  transactionId: z.ZodString;
6765
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6766
7690
  filename: z.ZodString;
6767
7691
  originalFilename: z.ZodString;
6768
7692
  type: z.ZodString;
@@ -6875,8 +7799,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6875
7799
  addressLine2?: string | null | undefined;
6876
7800
  addressLine3?: string | null | undefined;
6877
7801
  postcodeOrZip?: string | null | undefined;
6878
- }>]>>;
6879
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6880
7804
  filename: z.ZodString;
6881
7805
  originalFilename: z.ZodString;
6882
7806
  type: z.ZodString;
@@ -6990,10 +7914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6990
7914
  addressLine3?: string | null | undefined;
6991
7915
  postcodeOrZip?: string | null | undefined;
6992
7916
  }>]>>>;
7917
+ originalActionId: z.ZodOptional<z.ZodString>;
7918
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6993
7919
  }, {
6994
7920
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6995
7921
  }>, "strip", z.ZodTypeAny, {
6996
7922
  type: "DECLARE";
7923
+ transactionId: string;
6997
7924
  declaration: Record<string, string | number | boolean | {
6998
7925
  type: string;
6999
7926
  filename: string;
@@ -7031,9 +7958,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7031
7958
  option: string;
7032
7959
  filename: string;
7033
7960
  originalFilename: string;
7034
- }[] | undefined>;
7961
+ }[] | [string, string] | undefined>;
7035
7962
  eventId: string;
7036
- transactionId: string;
7037
7963
  annotation?: Record<string, string | number | boolean | {
7038
7964
  type: string;
7039
7965
  filename: string;
@@ -7071,9 +7997,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7071
7997
  option: string;
7072
7998
  filename: string;
7073
7999
  originalFilename: string;
7074
- }[] | undefined> | undefined;
8000
+ }[] | [string, string] | undefined> | undefined;
8001
+ originalActionId?: string | undefined;
8002
+ keepAssignment?: boolean | undefined;
7075
8003
  }, {
7076
- declaration: Record<string, string | number | boolean | {
8004
+ transactionId: string;
8005
+ eventId: string;
8006
+ type?: "DECLARE" | undefined;
8007
+ declaration?: Record<string, string | number | boolean | {
7077
8008
  type: string;
7078
8009
  filename: string;
7079
8010
  originalFilename: string;
@@ -7110,10 +8041,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7110
8041
  option: string;
7111
8042
  filename: string;
7112
8043
  originalFilename: string;
7113
- }[] | undefined>;
7114
- eventId: string;
7115
- transactionId: string;
7116
- type?: "DECLARE" | undefined;
8044
+ }[] | [string, string] | undefined> | undefined;
7117
8045
  annotation?: Record<string, string | number | boolean | {
7118
8046
  type: string;
7119
8047
  filename: string;
@@ -7151,11 +8079,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7151
8079
  option: string;
7152
8080
  filename: string;
7153
8081
  originalFilename: string;
7154
- }[] | undefined> | undefined;
8082
+ }[] | [string, string] | undefined> | undefined;
8083
+ originalActionId?: string | undefined;
8084
+ keepAssignment?: boolean | undefined;
7155
8085
  }>, z.ZodObject<z.objectUtil.extendShape<{
7156
8086
  eventId: z.ZodString;
7157
8087
  transactionId: z.ZodString;
7158
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7159
8089
  filename: z.ZodString;
7160
8090
  originalFilename: z.ZodString;
7161
8091
  type: z.ZodString;
@@ -7268,8 +8198,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
8198
  addressLine2?: string | null | undefined;
7269
8199
  addressLine3?: string | null | undefined;
7270
8200
  postcodeOrZip?: string | null | undefined;
7271
- }>]>>;
7272
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7273
8203
  filename: z.ZodString;
7274
8204
  originalFilename: z.ZodString;
7275
8205
  type: z.ZodString;
@@ -7383,10 +8313,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7383
8313
  addressLine3?: string | null | undefined;
7384
8314
  postcodeOrZip?: string | null | undefined;
7385
8315
  }>]>>>;
8316
+ originalActionId: z.ZodOptional<z.ZodString>;
8317
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7386
8318
  }, {
7387
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
+ }>;
7388
8330
  }>, "strip", z.ZodTypeAny, {
7389
8331
  type: "REJECT";
8332
+ reason: {
8333
+ message: string;
8334
+ isDuplicate?: boolean | undefined;
8335
+ };
8336
+ transactionId: string;
7390
8337
  declaration: Record<string, string | number | boolean | {
7391
8338
  type: string;
7392
8339
  filename: string;
@@ -7424,9 +8371,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7424
8371
  option: string;
7425
8372
  filename: string;
7426
8373
  originalFilename: string;
7427
- }[] | undefined>;
8374
+ }[] | [string, string] | undefined>;
7428
8375
  eventId: string;
7429
- transactionId: string;
7430
8376
  annotation?: Record<string, string | number | boolean | {
7431
8377
  type: string;
7432
8378
  filename: string;
@@ -7464,9 +8410,18 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7464
8410
  option: string;
7465
8411
  filename: string;
7466
8412
  originalFilename: string;
7467
- }[] | undefined> | undefined;
8413
+ }[] | [string, string] | undefined> | undefined;
8414
+ originalActionId?: string | undefined;
8415
+ keepAssignment?: boolean | undefined;
7468
8416
  }, {
7469
- declaration: Record<string, string | number | boolean | {
8417
+ reason: {
8418
+ message: string;
8419
+ isDuplicate?: boolean | undefined;
8420
+ };
8421
+ transactionId: string;
8422
+ eventId: string;
8423
+ type?: "REJECT" | undefined;
8424
+ declaration?: Record<string, string | number | boolean | {
7470
8425
  type: string;
7471
8426
  filename: string;
7472
8427
  originalFilename: string;
@@ -7503,10 +8458,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7503
8458
  option: string;
7504
8459
  filename: string;
7505
8460
  originalFilename: string;
7506
- }[] | undefined>;
7507
- eventId: string;
7508
- transactionId: string;
7509
- type?: "REJECT" | undefined;
8461
+ }[] | [string, string] | undefined> | undefined;
7510
8462
  annotation?: Record<string, string | number | boolean | {
7511
8463
  type: string;
7512
8464
  filename: string;
@@ -7544,11 +8496,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7544
8496
  option: string;
7545
8497
  filename: string;
7546
8498
  originalFilename: string;
7547
- }[] | undefined> | undefined;
8499
+ }[] | [string, string] | undefined> | undefined;
8500
+ originalActionId?: string | undefined;
8501
+ keepAssignment?: boolean | undefined;
7548
8502
  }>, z.ZodObject<z.objectUtil.extendShape<{
7549
8503
  eventId: z.ZodString;
7550
8504
  transactionId: z.ZodString;
7551
- declaration: 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<{
7552
8506
  filename: z.ZodString;
7553
8507
  originalFilename: z.ZodString;
7554
8508
  type: z.ZodString;
@@ -7661,8 +8615,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7661
8615
  addressLine2?: string | null | undefined;
7662
8616
  addressLine3?: string | null | undefined;
7663
8617
  postcodeOrZip?: string | null | undefined;
7664
- }>]>>;
7665
- annotation: 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<{
7666
8620
  filename: z.ZodString;
7667
8621
  originalFilename: z.ZodString;
7668
8622
  type: z.ZodString;
@@ -7776,10 +8730,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7776
8730
  addressLine3?: string | null | undefined;
7777
8731
  postcodeOrZip?: string | null | undefined;
7778
8732
  }>]>>>;
8733
+ originalActionId: z.ZodOptional<z.ZodString>;
8734
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7779
8735
  }, {
7780
8736
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7781
8737
  }>, "strip", z.ZodTypeAny, {
7782
8738
  type: "MARKED_AS_DUPLICATE";
8739
+ transactionId: string;
7783
8740
  declaration: Record<string, string | number | boolean | {
7784
8741
  type: string;
7785
8742
  filename: string;
@@ -7817,9 +8774,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7817
8774
  option: string;
7818
8775
  filename: string;
7819
8776
  originalFilename: string;
7820
- }[] | undefined>;
8777
+ }[] | [string, string] | undefined>;
7821
8778
  eventId: string;
7822
- transactionId: string;
7823
8779
  annotation?: Record<string, string | number | boolean | {
7824
8780
  type: string;
7825
8781
  filename: string;
@@ -7857,9 +8813,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7857
8813
  option: string;
7858
8814
  filename: string;
7859
8815
  originalFilename: string;
7860
- }[] | undefined> | undefined;
8816
+ }[] | [string, string] | undefined> | undefined;
8817
+ originalActionId?: string | undefined;
8818
+ keepAssignment?: boolean | undefined;
7861
8819
  }, {
7862
- declaration: Record<string, string | number | boolean | {
8820
+ transactionId: string;
8821
+ eventId: string;
8822
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8823
+ declaration?: Record<string, string | number | boolean | {
7863
8824
  type: string;
7864
8825
  filename: string;
7865
8826
  originalFilename: string;
@@ -7896,10 +8857,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7896
8857
  option: string;
7897
8858
  filename: string;
7898
8859
  originalFilename: string;
7899
- }[] | undefined>;
7900
- eventId: string;
7901
- transactionId: string;
7902
- type?: "MARKED_AS_DUPLICATE" | undefined;
8860
+ }[] | [string, string] | undefined> | undefined;
7903
8861
  annotation?: Record<string, string | number | boolean | {
7904
8862
  type: string;
7905
8863
  filename: string;
@@ -7937,11 +8895,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7937
8895
  option: string;
7938
8896
  filename: string;
7939
8897
  originalFilename: string;
7940
- }[] | undefined> | undefined;
8898
+ }[] | [string, string] | undefined> | undefined;
8899
+ originalActionId?: string | undefined;
8900
+ keepAssignment?: boolean | undefined;
7941
8901
  }>, z.ZodObject<z.objectUtil.extendShape<{
7942
8902
  eventId: z.ZodString;
7943
8903
  transactionId: z.ZodString;
7944
- declaration: 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<{
7945
8905
  filename: z.ZodString;
7946
8906
  originalFilename: z.ZodString;
7947
8907
  type: z.ZodString;
@@ -8054,8 +9014,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8054
9014
  addressLine2?: string | null | undefined;
8055
9015
  addressLine3?: string | null | undefined;
8056
9016
  postcodeOrZip?: string | null | undefined;
8057
- }>]>>;
8058
- annotation: 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<{
8059
9019
  filename: z.ZodString;
8060
9020
  originalFilename: z.ZodString;
8061
9021
  type: z.ZodString;
@@ -8169,10 +9129,27 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8169
9129
  addressLine3?: string | null | undefined;
8170
9130
  postcodeOrZip?: string | null | undefined;
8171
9131
  }>]>>>;
9132
+ originalActionId: z.ZodOptional<z.ZodString>;
9133
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8172
9134
  }, {
8173
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
+ }>;
8174
9146
  }>, "strip", z.ZodTypeAny, {
8175
9147
  type: "ARCHIVE";
9148
+ reason: {
9149
+ message: string;
9150
+ isDuplicate?: boolean | undefined;
9151
+ };
9152
+ transactionId: string;
8176
9153
  declaration: Record<string, string | number | boolean | {
8177
9154
  type: string;
8178
9155
  filename: string;
@@ -8210,9 +9187,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8210
9187
  option: string;
8211
9188
  filename: string;
8212
9189
  originalFilename: string;
8213
- }[] | undefined>;
9190
+ }[] | [string, string] | undefined>;
8214
9191
  eventId: string;
8215
- transactionId: string;
8216
9192
  annotation?: Record<string, string | number | boolean | {
8217
9193
  type: string;
8218
9194
  filename: string;
@@ -8250,9 +9226,18 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8250
9226
  option: string;
8251
9227
  filename: string;
8252
9228
  originalFilename: string;
8253
- }[] | undefined> | undefined;
9229
+ }[] | [string, string] | undefined> | undefined;
9230
+ originalActionId?: string | undefined;
9231
+ keepAssignment?: boolean | undefined;
8254
9232
  }, {
8255
- declaration: 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 | {
8256
9241
  type: string;
8257
9242
  filename: string;
8258
9243
  originalFilename: string;
@@ -8289,10 +9274,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8289
9274
  option: string;
8290
9275
  filename: string;
8291
9276
  originalFilename: string;
8292
- }[] | undefined>;
8293
- eventId: string;
8294
- transactionId: string;
8295
- type?: "ARCHIVE" | undefined;
9277
+ }[] | [string, string] | undefined> | undefined;
8296
9278
  annotation?: Record<string, string | number | boolean | {
8297
9279
  type: string;
8298
9280
  filename: string;
@@ -8330,11 +9312,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8330
9312
  option: string;
8331
9313
  filename: string;
8332
9314
  originalFilename: string;
8333
- }[] | undefined> | undefined;
9315
+ }[] | [string, string] | undefined> | undefined;
9316
+ originalActionId?: string | undefined;
9317
+ keepAssignment?: boolean | undefined;
8334
9318
  }>, z.ZodObject<z.objectUtil.extendShape<{
8335
9319
  eventId: z.ZodString;
8336
9320
  transactionId: z.ZodString;
8337
- declaration: 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<{
8338
9322
  filename: z.ZodString;
8339
9323
  originalFilename: z.ZodString;
8340
9324
  type: z.ZodString;
@@ -8447,8 +9431,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8447
9431
  addressLine2?: string | null | undefined;
8448
9432
  addressLine3?: string | null | undefined;
8449
9433
  postcodeOrZip?: string | null | undefined;
8450
- }>]>>;
8451
- annotation: 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<{
8452
9436
  filename: z.ZodString;
8453
9437
  originalFilename: z.ZodString;
8454
9438
  type: z.ZodString;
@@ -8562,11 +9546,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8562
9546
  addressLine3?: string | null | undefined;
8563
9547
  postcodeOrZip?: string | null | undefined;
8564
9548
  }>]>>>;
9549
+ originalActionId: z.ZodOptional<z.ZodString>;
9550
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8565
9551
  }, {
8566
9552
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8567
9553
  assignedTo: z.ZodString;
8568
9554
  }>, "strip", z.ZodTypeAny, {
8569
9555
  type: "ASSIGN";
9556
+ transactionId: string;
8570
9557
  declaration: Record<string, string | number | boolean | {
8571
9558
  type: string;
8572
9559
  filename: string;
@@ -8604,10 +9591,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8604
9591
  option: string;
8605
9592
  filename: string;
8606
9593
  originalFilename: string;
8607
- }[] | undefined>;
9594
+ }[] | [string, string] | undefined>;
8608
9595
  assignedTo: string;
8609
9596
  eventId: string;
8610
- transactionId: string;
8611
9597
  annotation?: Record<string, string | number | boolean | {
8612
9598
  type: string;
8613
9599
  filename: string;
@@ -8645,9 +9631,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8645
9631
  option: string;
8646
9632
  filename: string;
8647
9633
  originalFilename: string;
8648
- }[] | undefined> | undefined;
9634
+ }[] | [string, string] | undefined> | undefined;
9635
+ originalActionId?: string | undefined;
9636
+ keepAssignment?: boolean | undefined;
8649
9637
  }, {
8650
- declaration: 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 | {
8651
9643
  type: string;
8652
9644
  filename: string;
8653
9645
  originalFilename: string;
@@ -8684,11 +9676,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8684
9676
  option: string;
8685
9677
  filename: string;
8686
9678
  originalFilename: string;
8687
- }[] | undefined>;
8688
- assignedTo: string;
8689
- eventId: string;
8690
- transactionId: string;
8691
- type?: "ASSIGN" | undefined;
9679
+ }[] | [string, string] | undefined> | undefined;
8692
9680
  annotation?: Record<string, string | number | boolean | {
8693
9681
  type: string;
8694
9682
  filename: string;
@@ -8726,11 +9714,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8726
9714
  option: string;
8727
9715
  filename: string;
8728
9716
  originalFilename: string;
8729
- }[] | undefined> | undefined;
9717
+ }[] | [string, string] | undefined> | undefined;
9718
+ originalActionId?: string | undefined;
9719
+ keepAssignment?: boolean | undefined;
8730
9720
  }>, z.ZodObject<z.objectUtil.extendShape<{
8731
9721
  eventId: z.ZodString;
8732
9722
  transactionId: z.ZodString;
8733
- declaration: 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<{
8734
9724
  filename: z.ZodString;
8735
9725
  originalFilename: z.ZodString;
8736
9726
  type: z.ZodString;
@@ -8843,8 +9833,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8843
9833
  addressLine2?: string | null | undefined;
8844
9834
  addressLine3?: string | null | undefined;
8845
9835
  postcodeOrZip?: string | null | undefined;
8846
- }>]>>;
8847
- annotation: 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<{
8848
9838
  filename: z.ZodString;
8849
9839
  originalFilename: z.ZodString;
8850
9840
  type: z.ZodString;
@@ -8958,10 +9948,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8958
9948
  addressLine3?: string | null | undefined;
8959
9949
  postcodeOrZip?: string | null | undefined;
8960
9950
  }>]>>>;
9951
+ originalActionId: z.ZodOptional<z.ZodString>;
9952
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8961
9953
  }, {
8962
9954
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9955
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
8963
9956
  }>, "strip", z.ZodTypeAny, {
8964
9957
  type: "UNASSIGN";
9958
+ transactionId: string;
8965
9959
  declaration: Record<string, string | number | boolean | {
8966
9960
  type: string;
8967
9961
  filename: string;
@@ -8999,9 +9993,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8999
9993
  option: string;
9000
9994
  filename: string;
9001
9995
  originalFilename: string;
9002
- }[] | undefined>;
9996
+ }[] | [string, string] | undefined>;
9997
+ assignedTo: null;
9003
9998
  eventId: string;
9004
- transactionId: string;
9005
9999
  annotation?: Record<string, string | number | boolean | {
9006
10000
  type: string;
9007
10001
  filename: string;
@@ -9039,9 +10033,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9039
10033
  option: string;
9040
10034
  filename: string;
9041
10035
  originalFilename: string;
9042
- }[] | undefined> | undefined;
10036
+ }[] | [string, string] | undefined> | undefined;
10037
+ originalActionId?: string | undefined;
10038
+ keepAssignment?: boolean | undefined;
9043
10039
  }, {
9044
- declaration: Record<string, string | number | boolean | {
10040
+ transactionId: string;
10041
+ eventId: string;
10042
+ type?: "UNASSIGN" | undefined;
10043
+ declaration?: Record<string, string | number | boolean | {
9045
10044
  type: string;
9046
10045
  filename: string;
9047
10046
  originalFilename: string;
@@ -9078,10 +10077,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
10077
  option: string;
9079
10078
  filename: string;
9080
10079
  originalFilename: string;
9081
- }[] | undefined>;
9082
- eventId: string;
9083
- transactionId: string;
9084
- type?: "UNASSIGN" | undefined;
10080
+ }[] | [string, string] | undefined> | undefined;
9085
10081
  annotation?: Record<string, string | number | boolean | {
9086
10082
  type: string;
9087
10083
  filename: string;
@@ -9119,11 +10115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9119
10115
  option: string;
9120
10116
  filename: string;
9121
10117
  originalFilename: string;
9122
- }[] | undefined> | undefined;
10118
+ }[] | [string, string] | undefined> | undefined;
10119
+ originalActionId?: string | undefined;
10120
+ assignedTo?: null | undefined;
10121
+ keepAssignment?: boolean | undefined;
9123
10122
  }>, z.ZodObject<z.objectUtil.extendShape<{
9124
10123
  eventId: z.ZodString;
9125
10124
  transactionId: z.ZodString;
9126
- declaration: 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<{
9127
10126
  filename: z.ZodString;
9128
10127
  originalFilename: z.ZodString;
9129
10128
  type: z.ZodString;
@@ -9236,8 +10235,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9236
10235
  addressLine2?: string | null | undefined;
9237
10236
  addressLine3?: string | null | undefined;
9238
10237
  postcodeOrZip?: string | null | undefined;
9239
- }>]>>;
9240
- annotation: 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<{
9241
10240
  filename: z.ZodString;
9242
10241
  originalFilename: z.ZodString;
9243
10242
  type: z.ZodString;
@@ -9351,10 +10350,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9351
10350
  addressLine3?: string | null | undefined;
9352
10351
  postcodeOrZip?: string | null | undefined;
9353
10352
  }>]>>>;
10353
+ originalActionId: z.ZodOptional<z.ZodString>;
10354
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9354
10355
  }, {
9355
10356
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9356
10357
  }>, "strip", z.ZodTypeAny, {
9357
10358
  type: "PRINT_CERTIFICATE";
10359
+ transactionId: string;
9358
10360
  declaration: Record<string, string | number | boolean | {
9359
10361
  type: string;
9360
10362
  filename: string;
@@ -9392,9 +10394,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9392
10394
  option: string;
9393
10395
  filename: string;
9394
10396
  originalFilename: string;
9395
- }[] | undefined>;
10397
+ }[] | [string, string] | undefined>;
9396
10398
  eventId: string;
9397
- transactionId: string;
9398
10399
  annotation?: Record<string, string | number | boolean | {
9399
10400
  type: string;
9400
10401
  filename: string;
@@ -9432,9 +10433,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9432
10433
  option: string;
9433
10434
  filename: string;
9434
10435
  originalFilename: string;
9435
- }[] | undefined> | undefined;
10436
+ }[] | [string, string] | undefined> | undefined;
10437
+ originalActionId?: string | undefined;
10438
+ keepAssignment?: boolean | undefined;
9436
10439
  }, {
9437
- declaration: Record<string, string | number | boolean | {
10440
+ transactionId: string;
10441
+ eventId: string;
10442
+ type?: "PRINT_CERTIFICATE" | undefined;
10443
+ declaration?: Record<string, string | number | boolean | {
9438
10444
  type: string;
9439
10445
  filename: string;
9440
10446
  originalFilename: string;
@@ -9471,10 +10477,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9471
10477
  option: string;
9472
10478
  filename: string;
9473
10479
  originalFilename: string;
9474
- }[] | undefined>;
9475
- eventId: string;
9476
- transactionId: string;
9477
- type?: "PRINT_CERTIFICATE" | undefined;
10480
+ }[] | [string, string] | undefined> | undefined;
9478
10481
  annotation?: Record<string, string | number | boolean | {
9479
10482
  type: string;
9480
10483
  filename: string;
@@ -9512,11 +10515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9512
10515
  option: string;
9513
10516
  filename: string;
9514
10517
  originalFilename: string;
9515
- }[] | undefined> | undefined;
10518
+ }[] | [string, string] | undefined> | undefined;
10519
+ originalActionId?: string | undefined;
10520
+ keepAssignment?: boolean | undefined;
9516
10521
  }>, z.ZodObject<z.objectUtil.extendShape<{
9517
10522
  eventId: z.ZodString;
9518
10523
  transactionId: z.ZodString;
9519
- declaration: 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<{
9520
10525
  filename: z.ZodString;
9521
10526
  originalFilename: z.ZodString;
9522
10527
  type: z.ZodString;
@@ -9629,8 +10634,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9629
10634
  addressLine2?: string | null | undefined;
9630
10635
  addressLine3?: string | null | undefined;
9631
10636
  postcodeOrZip?: string | null | undefined;
9632
- }>]>>;
9633
- annotation: 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<{
9634
10639
  filename: z.ZodString;
9635
10640
  originalFilename: z.ZodString;
9636
10641
  type: z.ZodString;
@@ -9744,10 +10749,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9744
10749
  addressLine3?: string | null | undefined;
9745
10750
  postcodeOrZip?: string | null | undefined;
9746
10751
  }>]>>>;
10752
+ originalActionId: z.ZodOptional<z.ZodString>;
10753
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9747
10754
  }, {
9748
10755
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9749
10756
  }>, "strip", z.ZodTypeAny, {
9750
10757
  type: "REQUEST_CORRECTION";
10758
+ transactionId: string;
9751
10759
  declaration: Record<string, string | number | boolean | {
9752
10760
  type: string;
9753
10761
  filename: string;
@@ -9785,9 +10793,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9785
10793
  option: string;
9786
10794
  filename: string;
9787
10795
  originalFilename: string;
9788
- }[] | undefined>;
10796
+ }[] | [string, string] | undefined>;
9789
10797
  eventId: string;
9790
- transactionId: string;
9791
10798
  annotation?: Record<string, string | number | boolean | {
9792
10799
  type: string;
9793
10800
  filename: string;
@@ -9825,9 +10832,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9825
10832
  option: string;
9826
10833
  filename: string;
9827
10834
  originalFilename: string;
9828
- }[] | undefined> | undefined;
10835
+ }[] | [string, string] | undefined> | undefined;
10836
+ originalActionId?: string | undefined;
10837
+ keepAssignment?: boolean | undefined;
9829
10838
  }, {
9830
- declaration: Record<string, string | number | boolean | {
10839
+ transactionId: string;
10840
+ eventId: string;
10841
+ type?: "REQUEST_CORRECTION" | undefined;
10842
+ declaration?: Record<string, string | number | boolean | {
9831
10843
  type: string;
9832
10844
  filename: string;
9833
10845
  originalFilename: string;
@@ -9864,10 +10876,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9864
10876
  option: string;
9865
10877
  filename: string;
9866
10878
  originalFilename: string;
9867
- }[] | undefined>;
9868
- eventId: string;
9869
- transactionId: string;
9870
- type?: "REQUEST_CORRECTION" | undefined;
10879
+ }[] | [string, string] | undefined> | undefined;
9871
10880
  annotation?: Record<string, string | number | boolean | {
9872
10881
  type: string;
9873
10882
  filename: string;
@@ -9905,11 +10914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9905
10914
  option: string;
9906
10915
  filename: string;
9907
10916
  originalFilename: string;
9908
- }[] | undefined> | undefined;
10917
+ }[] | [string, string] | undefined> | undefined;
10918
+ originalActionId?: string | undefined;
10919
+ keepAssignment?: boolean | undefined;
9909
10920
  }>, z.ZodObject<z.objectUtil.extendShape<{
9910
10921
  eventId: z.ZodString;
9911
10922
  transactionId: z.ZodString;
9912
- declaration: 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<{
9913
10924
  filename: z.ZodString;
9914
10925
  originalFilename: z.ZodString;
9915
10926
  type: z.ZodString;
@@ -10022,8 +11033,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10022
11033
  addressLine2?: string | null | undefined;
10023
11034
  addressLine3?: string | null | undefined;
10024
11035
  postcodeOrZip?: string | null | undefined;
10025
- }>]>>;
10026
- annotation: 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<{
10027
11038
  filename: z.ZodString;
10028
11039
  originalFilename: z.ZodString;
10029
11040
  type: z.ZodString;
@@ -10137,11 +11148,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10137
11148
  addressLine3?: string | null | undefined;
10138
11149
  postcodeOrZip?: string | null | undefined;
10139
11150
  }>]>>>;
11151
+ originalActionId: z.ZodOptional<z.ZodString>;
11152
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10140
11153
  }, {
10141
11154
  requestId: z.ZodString;
10142
11155
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10143
11156
  }>, "strip", z.ZodTypeAny, {
10144
11157
  type: "REJECT_CORRECTION";
11158
+ transactionId: string;
10145
11159
  declaration: Record<string, string | number | boolean | {
10146
11160
  type: string;
10147
11161
  filename: string;
@@ -10179,10 +11193,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10179
11193
  option: string;
10180
11194
  filename: string;
10181
11195
  originalFilename: string;
10182
- }[] | undefined>;
11196
+ }[] | [string, string] | undefined>;
10183
11197
  requestId: string;
10184
11198
  eventId: string;
10185
- transactionId: string;
10186
11199
  annotation?: Record<string, string | number | boolean | {
10187
11200
  type: string;
10188
11201
  filename: string;
@@ -10220,9 +11233,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10220
11233
  option: string;
10221
11234
  filename: string;
10222
11235
  originalFilename: string;
10223
- }[] | undefined> | undefined;
11236
+ }[] | [string, string] | undefined> | undefined;
11237
+ originalActionId?: string | undefined;
11238
+ keepAssignment?: boolean | undefined;
10224
11239
  }, {
10225
- declaration: 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 | {
10226
11245
  type: string;
10227
11246
  filename: string;
10228
11247
  originalFilename: string;
@@ -10259,11 +11278,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10259
11278
  option: string;
10260
11279
  filename: string;
10261
11280
  originalFilename: string;
10262
- }[] | undefined>;
10263
- requestId: string;
10264
- eventId: string;
10265
- transactionId: string;
10266
- type?: "REJECT_CORRECTION" | undefined;
11281
+ }[] | [string, string] | undefined> | undefined;
10267
11282
  annotation?: Record<string, string | number | boolean | {
10268
11283
  type: string;
10269
11284
  filename: string;
@@ -10301,11 +11316,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10301
11316
  option: string;
10302
11317
  filename: string;
10303
11318
  originalFilename: string;
10304
- }[] | undefined> | undefined;
11319
+ }[] | [string, string] | undefined> | undefined;
11320
+ originalActionId?: string | undefined;
11321
+ keepAssignment?: boolean | undefined;
10305
11322
  }>, z.ZodObject<z.objectUtil.extendShape<{
10306
11323
  eventId: z.ZodString;
10307
11324
  transactionId: z.ZodString;
10308
- declaration: 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<{
10309
11326
  filename: z.ZodString;
10310
11327
  originalFilename: z.ZodString;
10311
11328
  type: z.ZodString;
@@ -10418,8 +11435,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10418
11435
  addressLine2?: string | null | undefined;
10419
11436
  addressLine3?: string | null | undefined;
10420
11437
  postcodeOrZip?: string | null | undefined;
10421
- }>]>>;
10422
- annotation: 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<{
10423
11440
  filename: z.ZodString;
10424
11441
  originalFilename: z.ZodString;
10425
11442
  type: z.ZodString;
@@ -10533,11 +11550,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10533
11550
  addressLine3?: string | null | undefined;
10534
11551
  postcodeOrZip?: string | null | undefined;
10535
11552
  }>]>>>;
11553
+ originalActionId: z.ZodOptional<z.ZodString>;
11554
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10536
11555
  }, {
10537
11556
  requestId: z.ZodString;
10538
11557
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10539
11558
  }>, "strip", z.ZodTypeAny, {
10540
11559
  type: "APPROVE_CORRECTION";
11560
+ transactionId: string;
10541
11561
  declaration: Record<string, string | number | boolean | {
10542
11562
  type: string;
10543
11563
  filename: string;
@@ -10575,10 +11595,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10575
11595
  option: string;
10576
11596
  filename: string;
10577
11597
  originalFilename: string;
10578
- }[] | undefined>;
11598
+ }[] | [string, string] | undefined>;
10579
11599
  requestId: string;
10580
11600
  eventId: string;
10581
- transactionId: string;
10582
11601
  annotation?: Record<string, string | number | boolean | {
10583
11602
  type: string;
10584
11603
  filename: string;
@@ -10616,9 +11635,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10616
11635
  option: string;
10617
11636
  filename: string;
10618
11637
  originalFilename: string;
10619
- }[] | undefined> | undefined;
11638
+ }[] | [string, string] | undefined> | undefined;
11639
+ originalActionId?: string | undefined;
11640
+ keepAssignment?: boolean | undefined;
10620
11641
  }, {
10621
- declaration: 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 | {
10622
11647
  type: string;
10623
11648
  filename: string;
10624
11649
  originalFilename: string;
@@ -10655,11 +11680,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10655
11680
  option: string;
10656
11681
  filename: string;
10657
11682
  originalFilename: string;
10658
- }[] | undefined>;
10659
- requestId: string;
10660
- eventId: string;
10661
- transactionId: string;
10662
- type?: "APPROVE_CORRECTION" | undefined;
11683
+ }[] | [string, string] | undefined> | undefined;
10663
11684
  annotation?: Record<string, string | number | boolean | {
10664
11685
  type: string;
10665
11686
  filename: string;
@@ -10697,11 +11718,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10697
11718
  option: string;
10698
11719
  filename: string;
10699
11720
  originalFilename: string;
10700
- }[] | undefined> | undefined;
11721
+ }[] | [string, string] | undefined> | undefined;
11722
+ originalActionId?: string | undefined;
11723
+ keepAssignment?: boolean | undefined;
10701
11724
  }>, z.ZodObject<z.objectUtil.extendShape<{
10702
11725
  eventId: z.ZodString;
10703
11726
  transactionId: z.ZodString;
10704
- declaration: 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<{
10705
11728
  filename: z.ZodString;
10706
11729
  originalFilename: z.ZodString;
10707
11730
  type: z.ZodString;
@@ -10814,8 +11837,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10814
11837
  addressLine2?: string | null | undefined;
10815
11838
  addressLine3?: string | null | undefined;
10816
11839
  postcodeOrZip?: string | null | undefined;
10817
- }>]>>;
10818
- annotation: 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<{
10819
11842
  filename: z.ZodString;
10820
11843
  originalFilename: z.ZodString;
10821
11844
  type: z.ZodString;
@@ -10929,10 +11952,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10929
11952
  addressLine3?: string | null | undefined;
10930
11953
  postcodeOrZip?: string | null | undefined;
10931
11954
  }>]>>>;
11955
+ originalActionId: z.ZodOptional<z.ZodString>;
11956
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10932
11957
  }, {
10933
11958
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10934
11959
  }>, "strip", z.ZodTypeAny, {
10935
11960
  type: "READ";
11961
+ transactionId: string;
10936
11962
  declaration: Record<string, string | number | boolean | {
10937
11963
  type: string;
10938
11964
  filename: string;
@@ -10970,9 +11996,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10970
11996
  option: string;
10971
11997
  filename: string;
10972
11998
  originalFilename: string;
10973
- }[] | undefined>;
11999
+ }[] | [string, string] | undefined>;
10974
12000
  eventId: string;
10975
- transactionId: string;
10976
12001
  annotation?: Record<string, string | number | boolean | {
10977
12002
  type: string;
10978
12003
  filename: string;
@@ -11010,9 +12035,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11010
12035
  option: string;
11011
12036
  filename: string;
11012
12037
  originalFilename: string;
11013
- }[] | undefined> | undefined;
12038
+ }[] | [string, string] | undefined> | undefined;
12039
+ originalActionId?: string | undefined;
12040
+ keepAssignment?: boolean | undefined;
11014
12041
  }, {
11015
- declaration: Record<string, string | number | boolean | {
12042
+ transactionId: string;
12043
+ eventId: string;
12044
+ type?: "READ" | undefined;
12045
+ declaration?: Record<string, string | number | boolean | {
11016
12046
  type: string;
11017
12047
  filename: string;
11018
12048
  originalFilename: string;
@@ -11049,10 +12079,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11049
12079
  option: string;
11050
12080
  filename: string;
11051
12081
  originalFilename: string;
11052
- }[] | undefined>;
11053
- eventId: string;
11054
- transactionId: string;
11055
- type?: "READ" | undefined;
12082
+ }[] | [string, string] | undefined> | undefined;
11056
12083
  annotation?: Record<string, string | number | boolean | {
11057
12084
  type: string;
11058
12085
  filename: string;
@@ -11090,7 +12117,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11090
12117
  option: string;
11091
12118
  filename: string;
11092
12119
  originalFilename: string;
11093
- }[] | undefined> | undefined;
12120
+ }[] | [string, string] | undefined> | undefined;
12121
+ originalActionId?: string | undefined;
12122
+ keepAssignment?: boolean | undefined;
11094
12123
  }>]>;
11095
12124
  export type ActionInput = z.input<typeof ActionInput>;
11096
12125
  export type ActionInputWithType = z.infer<typeof ActionInput>;