@opencrvs/toolkit 1.8.0-rc.fd31705 → 1.8.0-rc.fd754eb

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 (38) hide show
  1. package/dist/commons/api/router.d.ts +7717 -4214
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -6
  3. package/dist/commons/conditionals/validate.d.ts +5 -11
  4. package/dist/commons/events/ActionConfig.d.ts +90025 -1680
  5. package/dist/commons/events/ActionDocument.d.ts +544 -207
  6. package/dist/commons/events/ActionInput.d.ts +466 -368
  7. package/dist/commons/events/ActionType.d.ts +2 -0
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +369 -25
  9. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +39 -23
  11. package/dist/commons/events/EventConfig.d.ts +42812 -1344
  12. package/dist/commons/events/EventDocument.d.ts +339 -153
  13. package/dist/commons/events/EventIndex.d.ts +1346 -13
  14. package/dist/commons/events/EventInput.d.ts +13 -0
  15. package/dist/commons/events/EventMetadata.d.ts +273 -11
  16. package/dist/commons/events/FieldConfig.d.ts +3733 -724
  17. package/dist/commons/events/FieldType.d.ts +3 -3
  18. package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
  19. package/dist/commons/events/FieldValue.d.ts +7 -4
  20. package/dist/commons/events/FormConfig.d.ts +40417 -439
  21. package/dist/commons/events/PageConfig.d.ts +10077 -203
  22. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  23. package/dist/commons/events/TemplateConfig.d.ts +4 -4
  24. package/dist/commons/events/User.d.ts +5 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +1135 -19
  26. package/dist/commons/events/defineConfig.d.ts +6971 -40
  27. package/dist/commons/events/event.d.ts +27 -0
  28. package/dist/commons/events/field.d.ts +68 -0
  29. package/dist/commons/events/index.d.ts +3 -0
  30. package/dist/commons/events/scopes.d.ts +26 -0
  31. package/dist/commons/events/test.utils.d.ts +8 -45
  32. package/dist/commons/events/utils.d.ts +3562 -71
  33. package/dist/commons/events/utils.test.d.ts +2 -0
  34. package/dist/conditionals/index.js +36 -33
  35. package/dist/events/index.js +1864 -1099
  36. package/dist/scopes/index.d.ts +70 -1
  37. package/dist/scopes/index.js +130 -0
  38. 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;
@@ -231,7 +231,9 @@ export declare const BaseActionInput: z.ZodObject<{
231
231
  postcodeOrZip?: string | null | undefined;
232
232
  }>]>>>;
233
233
  originalActionId: z.ZodOptional<z.ZodString>;
234
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
234
235
  }, "strip", z.ZodTypeAny, {
236
+ transactionId: string;
235
237
  declaration: Record<string, string | number | boolean | {
236
238
  type: string;
237
239
  filename: string;
@@ -269,9 +271,8 @@ export declare const BaseActionInput: z.ZodObject<{
269
271
  option: string;
270
272
  filename: string;
271
273
  originalFilename: string;
272
- }[] | undefined>;
274
+ }[] | [string, string] | undefined>;
273
275
  eventId: string;
274
- transactionId: string;
275
276
  annotation?: Record<string, string | number | boolean | {
276
277
  type: string;
277
278
  filename: string;
@@ -309,10 +310,13 @@ export declare const BaseActionInput: z.ZodObject<{
309
310
  option: string;
310
311
  filename: string;
311
312
  originalFilename: string;
312
- }[] | undefined> | undefined;
313
+ }[] | [string, string] | undefined> | undefined;
313
314
  originalActionId?: string | undefined;
315
+ keepAssignment?: boolean | undefined;
314
316
  }, {
315
- declaration: Record<string, string | number | boolean | {
317
+ transactionId: string;
318
+ eventId: string;
319
+ declaration?: Record<string, string | number | boolean | {
316
320
  type: string;
317
321
  filename: string;
318
322
  originalFilename: string;
@@ -349,9 +353,7 @@ export declare const BaseActionInput: z.ZodObject<{
349
353
  option: string;
350
354
  filename: string;
351
355
  originalFilename: string;
352
- }[] | undefined>;
353
- eventId: string;
354
- transactionId: string;
356
+ }[] | [string, string] | undefined> | undefined;
355
357
  annotation?: Record<string, string | number | boolean | {
356
358
  type: string;
357
359
  filename: string;
@@ -389,13 +391,14 @@ export declare const BaseActionInput: z.ZodObject<{
389
391
  option: string;
390
392
  filename: string;
391
393
  originalFilename: string;
392
- }[] | undefined> | undefined;
394
+ }[] | [string, string] | undefined> | undefined;
393
395
  originalActionId?: string | undefined;
396
+ keepAssignment?: boolean | undefined;
394
397
  }>;
395
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
396
399
  eventId: z.ZodString;
397
400
  transactionId: z.ZodString;
398
- 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<{
399
402
  filename: z.ZodString;
400
403
  originalFilename: z.ZodString;
401
404
  type: z.ZodString;
@@ -508,8 +511,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
508
511
  addressLine2?: string | null | undefined;
509
512
  addressLine3?: string | null | undefined;
510
513
  postcodeOrZip?: string | null | undefined;
511
- }>]>>;
512
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
513
516
  filename: z.ZodString;
514
517
  originalFilename: z.ZodString;
515
518
  type: z.ZodString;
@@ -624,11 +627,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
624
627
  postcodeOrZip?: string | null | undefined;
625
628
  }>]>>>;
626
629
  originalActionId: z.ZodOptional<z.ZodString>;
630
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
627
631
  }, {
628
632
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
629
633
  registrationNumber: z.ZodOptional<z.ZodString>;
630
634
  }>, "strip", z.ZodTypeAny, {
631
635
  type: "REGISTER";
636
+ transactionId: string;
632
637
  declaration: Record<string, string | number | boolean | {
633
638
  type: string;
634
639
  filename: string;
@@ -666,9 +671,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
666
671
  option: string;
667
672
  filename: string;
668
673
  originalFilename: string;
669
- }[] | undefined>;
674
+ }[] | [string, string] | undefined>;
670
675
  eventId: string;
671
- transactionId: string;
672
676
  annotation?: Record<string, string | number | boolean | {
673
677
  type: string;
674
678
  filename: string;
@@ -706,11 +710,15 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
706
710
  option: string;
707
711
  filename: string;
708
712
  originalFilename: string;
709
- }[] | undefined> | undefined;
713
+ }[] | [string, string] | undefined> | undefined;
710
714
  originalActionId?: string | undefined;
711
715
  registrationNumber?: string | undefined;
716
+ keepAssignment?: boolean | undefined;
712
717
  }, {
713
- declaration: Record<string, string | number | boolean | {
718
+ transactionId: string;
719
+ eventId: string;
720
+ type?: "REGISTER" | undefined;
721
+ declaration?: Record<string, string | number | boolean | {
714
722
  type: string;
715
723
  filename: string;
716
724
  originalFilename: string;
@@ -747,10 +755,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
747
755
  option: string;
748
756
  filename: string;
749
757
  originalFilename: string;
750
- }[] | undefined>;
751
- eventId: string;
752
- transactionId: string;
753
- type?: "REGISTER" | undefined;
758
+ }[] | [string, string] | undefined> | undefined;
754
759
  annotation?: Record<string, string | number | boolean | {
755
760
  type: string;
756
761
  filename: string;
@@ -788,15 +793,16 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
788
793
  option: string;
789
794
  filename: string;
790
795
  originalFilename: string;
791
- }[] | undefined> | undefined;
796
+ }[] | [string, string] | undefined> | undefined;
792
797
  originalActionId?: string | undefined;
793
798
  registrationNumber?: string | undefined;
799
+ keepAssignment?: boolean | undefined;
794
800
  }>;
795
801
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
796
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
797
803
  eventId: z.ZodString;
798
804
  transactionId: z.ZodString;
799
- 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<{
800
806
  filename: z.ZodString;
801
807
  originalFilename: z.ZodString;
802
808
  type: z.ZodString;
@@ -909,8 +915,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
909
915
  addressLine2?: string | null | undefined;
910
916
  addressLine3?: string | null | undefined;
911
917
  postcodeOrZip?: string | null | undefined;
912
- }>]>>;
913
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
914
920
  filename: z.ZodString;
915
921
  originalFilename: z.ZodString;
916
922
  type: z.ZodString;
@@ -1025,11 +1031,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1025
1031
  postcodeOrZip?: string | null | undefined;
1026
1032
  }>]>>>;
1027
1033
  originalActionId: z.ZodOptional<z.ZodString>;
1034
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1028
1035
  }, {
1029
1036
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1030
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1031
1038
  }>, "strip", z.ZodTypeAny, {
1032
1039
  type: "VALIDATE";
1040
+ transactionId: string;
1033
1041
  declaration: Record<string, string | number | boolean | {
1034
1042
  type: string;
1035
1043
  filename: string;
@@ -1067,9 +1075,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1067
1075
  option: string;
1068
1076
  filename: string;
1069
1077
  originalFilename: string;
1070
- }[] | undefined>;
1078
+ }[] | [string, string] | undefined>;
1071
1079
  eventId: string;
1072
- transactionId: string;
1073
1080
  duplicates: string[];
1074
1081
  annotation?: Record<string, string | number | boolean | {
1075
1082
  type: string;
@@ -1108,10 +1115,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1108
1115
  option: string;
1109
1116
  filename: string;
1110
1117
  originalFilename: string;
1111
- }[] | undefined> | undefined;
1118
+ }[] | [string, string] | undefined> | undefined;
1112
1119
  originalActionId?: string | undefined;
1120
+ keepAssignment?: boolean | undefined;
1113
1121
  }, {
1114
- 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 | {
1115
1127
  type: string;
1116
1128
  filename: string;
1117
1129
  originalFilename: string;
@@ -1148,11 +1160,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1148
1160
  option: string;
1149
1161
  filename: string;
1150
1162
  originalFilename: string;
1151
- }[] | undefined>;
1152
- eventId: string;
1153
- transactionId: string;
1154
- duplicates: string[];
1155
- type?: "VALIDATE" | undefined;
1163
+ }[] | [string, string] | undefined> | undefined;
1156
1164
  annotation?: Record<string, string | number | boolean | {
1157
1165
  type: string;
1158
1166
  filename: string;
@@ -1190,14 +1198,15 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1190
1198
  option: string;
1191
1199
  filename: string;
1192
1200
  originalFilename: string;
1193
- }[] | undefined> | undefined;
1201
+ }[] | [string, string] | undefined> | undefined;
1194
1202
  originalActionId?: string | undefined;
1203
+ keepAssignment?: boolean | undefined;
1195
1204
  }>;
1196
1205
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1197
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1207
  eventId: z.ZodString;
1199
1208
  transactionId: z.ZodString;
1200
- 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<{
1201
1210
  filename: z.ZodString;
1202
1211
  originalFilename: z.ZodString;
1203
1212
  type: z.ZodString;
@@ -1310,8 +1319,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1310
1319
  addressLine2?: string | null | undefined;
1311
1320
  addressLine3?: string | null | undefined;
1312
1321
  postcodeOrZip?: string | null | undefined;
1313
- }>]>>;
1314
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1315
1324
  filename: z.ZodString;
1316
1325
  originalFilename: z.ZodString;
1317
1326
  type: z.ZodString;
@@ -1426,10 +1435,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1426
1435
  postcodeOrZip?: string | null | undefined;
1427
1436
  }>]>>>;
1428
1437
  originalActionId: z.ZodOptional<z.ZodString>;
1438
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1429
1439
  }, {
1430
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1431
1441
  }>, "strip", z.ZodTypeAny, {
1432
1442
  type: "NOTIFY";
1443
+ transactionId: string;
1433
1444
  declaration: Record<string, string | number | boolean | {
1434
1445
  type: string;
1435
1446
  filename: string;
@@ -1467,9 +1478,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1467
1478
  option: string;
1468
1479
  filename: string;
1469
1480
  originalFilename: string;
1470
- }[] | undefined>;
1481
+ }[] | [string, string] | undefined>;
1471
1482
  eventId: string;
1472
- transactionId: string;
1473
1483
  annotation?: Record<string, string | number | boolean | {
1474
1484
  type: string;
1475
1485
  filename: string;
@@ -1507,10 +1517,14 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1507
1517
  option: string;
1508
1518
  filename: string;
1509
1519
  originalFilename: string;
1510
- }[] | undefined> | undefined;
1520
+ }[] | [string, string] | undefined> | undefined;
1511
1521
  originalActionId?: string | undefined;
1522
+ keepAssignment?: boolean | undefined;
1512
1523
  }, {
1513
- declaration: Record<string, string | number | boolean | {
1524
+ transactionId: string;
1525
+ eventId: string;
1526
+ type?: "NOTIFY" | undefined;
1527
+ declaration?: Record<string, string | number | boolean | {
1514
1528
  type: string;
1515
1529
  filename: string;
1516
1530
  originalFilename: string;
@@ -1547,10 +1561,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1547
1561
  option: string;
1548
1562
  filename: string;
1549
1563
  originalFilename: string;
1550
- }[] | undefined>;
1551
- eventId: string;
1552
- transactionId: string;
1553
- type?: "NOTIFY" | undefined;
1564
+ }[] | [string, string] | undefined> | undefined;
1554
1565
  annotation?: Record<string, string | number | boolean | {
1555
1566
  type: string;
1556
1567
  filename: string;
@@ -1588,14 +1599,15 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1588
1599
  option: string;
1589
1600
  filename: string;
1590
1601
  originalFilename: string;
1591
- }[] | undefined> | undefined;
1602
+ }[] | [string, string] | undefined> | undefined;
1592
1603
  originalActionId?: string | undefined;
1604
+ keepAssignment?: boolean | undefined;
1593
1605
  }>;
1594
1606
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1595
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1596
1608
  eventId: z.ZodString;
1597
1609
  transactionId: z.ZodString;
1598
- 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<{
1599
1611
  filename: z.ZodString;
1600
1612
  originalFilename: z.ZodString;
1601
1613
  type: z.ZodString;
@@ -1708,8 +1720,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1708
1720
  addressLine2?: string | null | undefined;
1709
1721
  addressLine3?: string | null | undefined;
1710
1722
  postcodeOrZip?: string | null | undefined;
1711
- }>]>>;
1712
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1713
1725
  filename: z.ZodString;
1714
1726
  originalFilename: z.ZodString;
1715
1727
  type: z.ZodString;
@@ -1824,10 +1836,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1824
1836
  postcodeOrZip?: string | null | undefined;
1825
1837
  }>]>>>;
1826
1838
  originalActionId: z.ZodOptional<z.ZodString>;
1839
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1827
1840
  }, {
1828
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1829
1842
  }>, "strip", z.ZodTypeAny, {
1830
1843
  type: "DECLARE";
1844
+ transactionId: string;
1831
1845
  declaration: Record<string, string | number | boolean | {
1832
1846
  type: string;
1833
1847
  filename: string;
@@ -1865,9 +1879,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1865
1879
  option: string;
1866
1880
  filename: string;
1867
1881
  originalFilename: string;
1868
- }[] | undefined>;
1882
+ }[] | [string, string] | undefined>;
1869
1883
  eventId: string;
1870
- transactionId: string;
1871
1884
  annotation?: Record<string, string | number | boolean | {
1872
1885
  type: string;
1873
1886
  filename: string;
@@ -1905,10 +1918,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1905
1918
  option: string;
1906
1919
  filename: string;
1907
1920
  originalFilename: string;
1908
- }[] | undefined> | undefined;
1921
+ }[] | [string, string] | undefined> | undefined;
1909
1922
  originalActionId?: string | undefined;
1923
+ keepAssignment?: boolean | undefined;
1910
1924
  }, {
1911
- declaration: Record<string, string | number | boolean | {
1925
+ transactionId: string;
1926
+ eventId: string;
1927
+ type?: "DECLARE" | undefined;
1928
+ declaration?: Record<string, string | number | boolean | {
1912
1929
  type: string;
1913
1930
  filename: string;
1914
1931
  originalFilename: string;
@@ -1945,10 +1962,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1945
1962
  option: string;
1946
1963
  filename: string;
1947
1964
  originalFilename: string;
1948
- }[] | undefined>;
1949
- eventId: string;
1950
- transactionId: string;
1951
- type?: "DECLARE" | undefined;
1965
+ }[] | [string, string] | undefined> | undefined;
1952
1966
  annotation?: Record<string, string | number | boolean | {
1953
1967
  type: string;
1954
1968
  filename: string;
@@ -1986,13 +2000,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1986
2000
  option: string;
1987
2001
  filename: string;
1988
2002
  originalFilename: string;
1989
- }[] | undefined> | undefined;
2003
+ }[] | [string, string] | undefined> | undefined;
1990
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;
@@ -2221,10 +2236,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2221
2236
  postcodeOrZip?: string | null | undefined;
2222
2237
  }>]>>>;
2223
2238
  originalActionId: z.ZodOptional<z.ZodString>;
2239
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2224
2240
  }, {
2225
2241
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2226
2242
  }>, "strip", z.ZodTypeAny, {
2227
2243
  type: "PRINT_CERTIFICATE";
2244
+ transactionId: string;
2228
2245
  declaration: Record<string, string | number | boolean | {
2229
2246
  type: string;
2230
2247
  filename: string;
@@ -2262,9 +2279,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2262
2279
  option: string;
2263
2280
  filename: string;
2264
2281
  originalFilename: string;
2265
- }[] | undefined>;
2282
+ }[] | [string, string] | undefined>;
2266
2283
  eventId: string;
2267
- transactionId: string;
2268
2284
  annotation?: Record<string, string | number | boolean | {
2269
2285
  type: string;
2270
2286
  filename: string;
@@ -2302,10 +2318,14 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2302
2318
  option: string;
2303
2319
  filename: string;
2304
2320
  originalFilename: string;
2305
- }[] | undefined> | undefined;
2321
+ }[] | [string, string] | undefined> | undefined;
2306
2322
  originalActionId?: string | undefined;
2323
+ keepAssignment?: boolean | undefined;
2307
2324
  }, {
2308
- declaration: Record<string, string | number | boolean | {
2325
+ transactionId: string;
2326
+ eventId: string;
2327
+ type?: "PRINT_CERTIFICATE" | undefined;
2328
+ declaration?: Record<string, string | number | boolean | {
2309
2329
  type: string;
2310
2330
  filename: string;
2311
2331
  originalFilename: string;
@@ -2342,10 +2362,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2342
2362
  option: string;
2343
2363
  filename: string;
2344
2364
  originalFilename: string;
2345
- }[] | undefined>;
2346
- eventId: string;
2347
- transactionId: string;
2348
- type?: "PRINT_CERTIFICATE" | undefined;
2365
+ }[] | [string, string] | undefined> | undefined;
2349
2366
  annotation?: Record<string, string | number | boolean | {
2350
2367
  type: string;
2351
2368
  filename: string;
@@ -2383,14 +2400,15 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2383
2400
  option: string;
2384
2401
  filename: string;
2385
2402
  originalFilename: string;
2386
- }[] | undefined> | undefined;
2403
+ }[] | [string, string] | undefined> | undefined;
2387
2404
  originalActionId?: string | undefined;
2405
+ keepAssignment?: boolean | undefined;
2388
2406
  }>;
2389
2407
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2390
2408
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2391
2409
  eventId: z.ZodString;
2392
2410
  transactionId: z.ZodString;
2393
- 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<{
2394
2412
  filename: z.ZodString;
2395
2413
  originalFilename: z.ZodString;
2396
2414
  type: z.ZodString;
@@ -2503,8 +2521,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2503
2521
  addressLine2?: string | null | undefined;
2504
2522
  addressLine3?: string | null | undefined;
2505
2523
  postcodeOrZip?: string | null | undefined;
2506
- }>]>>;
2507
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2508
2526
  filename: z.ZodString;
2509
2527
  originalFilename: z.ZodString;
2510
2528
  type: z.ZodString;
@@ -2619,10 +2637,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2619
2637
  postcodeOrZip?: string | null | undefined;
2620
2638
  }>]>>>;
2621
2639
  originalActionId: z.ZodOptional<z.ZodString>;
2640
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2622
2641
  }, {
2623
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2624
2643
  }>, "strip", z.ZodTypeAny, {
2625
2644
  type: "REJECT";
2645
+ transactionId: string;
2626
2646
  declaration: Record<string, string | number | boolean | {
2627
2647
  type: string;
2628
2648
  filename: string;
@@ -2660,9 +2680,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2660
2680
  option: string;
2661
2681
  filename: string;
2662
2682
  originalFilename: string;
2663
- }[] | undefined>;
2683
+ }[] | [string, string] | undefined>;
2664
2684
  eventId: string;
2665
- transactionId: string;
2666
2685
  annotation?: Record<string, string | number | boolean | {
2667
2686
  type: string;
2668
2687
  filename: string;
@@ -2700,10 +2719,14 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2700
2719
  option: string;
2701
2720
  filename: string;
2702
2721
  originalFilename: string;
2703
- }[] | undefined> | undefined;
2722
+ }[] | [string, string] | undefined> | undefined;
2704
2723
  originalActionId?: string | undefined;
2724
+ keepAssignment?: boolean | undefined;
2705
2725
  }, {
2706
- declaration: Record<string, string | number | boolean | {
2726
+ transactionId: string;
2727
+ eventId: string;
2728
+ type?: "REJECT" | undefined;
2729
+ declaration?: Record<string, string | number | boolean | {
2707
2730
  type: string;
2708
2731
  filename: string;
2709
2732
  originalFilename: string;
@@ -2740,10 +2763,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2740
2763
  option: string;
2741
2764
  filename: string;
2742
2765
  originalFilename: string;
2743
- }[] | undefined>;
2744
- eventId: string;
2745
- transactionId: string;
2746
- type?: "REJECT" | undefined;
2766
+ }[] | [string, string] | undefined> | undefined;
2747
2767
  annotation?: Record<string, string | number | boolean | {
2748
2768
  type: string;
2749
2769
  filename: string;
@@ -2781,14 +2801,15 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2781
2801
  option: string;
2782
2802
  filename: string;
2783
2803
  originalFilename: string;
2784
- }[] | undefined> | undefined;
2804
+ }[] | [string, string] | undefined> | undefined;
2785
2805
  originalActionId?: string | undefined;
2806
+ keepAssignment?: boolean | undefined;
2786
2807
  }>;
2787
2808
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
2809
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2789
2810
  eventId: z.ZodString;
2790
2811
  transactionId: z.ZodString;
2791
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2812
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2792
2813
  filename: z.ZodString;
2793
2814
  originalFilename: z.ZodString;
2794
2815
  type: z.ZodString;
@@ -2901,8 +2922,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2901
2922
  addressLine2?: string | null | undefined;
2902
2923
  addressLine3?: string | null | undefined;
2903
2924
  postcodeOrZip?: string | null | undefined;
2904
- }>]>>;
2905
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2925
+ }>]>>>;
2926
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2906
2927
  filename: z.ZodString;
2907
2928
  originalFilename: z.ZodString;
2908
2929
  type: z.ZodString;
@@ -3017,10 +3038,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3017
3038
  postcodeOrZip?: string | null | undefined;
3018
3039
  }>]>>>;
3019
3040
  originalActionId: z.ZodOptional<z.ZodString>;
3041
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3020
3042
  }, {
3021
3043
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3022
3044
  }>, "strip", z.ZodTypeAny, {
3023
3045
  type: "MARKED_AS_DUPLICATE";
3046
+ transactionId: string;
3024
3047
  declaration: Record<string, string | number | boolean | {
3025
3048
  type: string;
3026
3049
  filename: string;
@@ -3058,9 +3081,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3058
3081
  option: string;
3059
3082
  filename: string;
3060
3083
  originalFilename: string;
3061
- }[] | undefined>;
3084
+ }[] | [string, string] | undefined>;
3062
3085
  eventId: string;
3063
- transactionId: string;
3064
3086
  annotation?: Record<string, string | number | boolean | {
3065
3087
  type: string;
3066
3088
  filename: string;
@@ -3098,10 +3120,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3098
3120
  option: string;
3099
3121
  filename: string;
3100
3122
  originalFilename: string;
3101
- }[] | undefined> | undefined;
3123
+ }[] | [string, string] | undefined> | undefined;
3102
3124
  originalActionId?: string | undefined;
3125
+ keepAssignment?: boolean | undefined;
3103
3126
  }, {
3104
- declaration: Record<string, string | number | boolean | {
3127
+ transactionId: string;
3128
+ eventId: string;
3129
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3130
+ declaration?: Record<string, string | number | boolean | {
3105
3131
  type: string;
3106
3132
  filename: string;
3107
3133
  originalFilename: string;
@@ -3138,10 +3164,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3138
3164
  option: string;
3139
3165
  filename: string;
3140
3166
  originalFilename: string;
3141
- }[] | undefined>;
3142
- eventId: string;
3143
- transactionId: string;
3144
- type?: "MARKED_AS_DUPLICATE" | undefined;
3167
+ }[] | [string, string] | undefined> | undefined;
3145
3168
  annotation?: Record<string, string | number | boolean | {
3146
3169
  type: string;
3147
3170
  filename: string;
@@ -3179,14 +3202,15 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3179
3202
  option: string;
3180
3203
  filename: string;
3181
3204
  originalFilename: string;
3182
- }[] | undefined> | undefined;
3205
+ }[] | [string, string] | undefined> | undefined;
3183
3206
  originalActionId?: string | undefined;
3207
+ keepAssignment?: boolean | undefined;
3184
3208
  }>;
3185
3209
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
3210
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3187
3211
  eventId: z.ZodString;
3188
3212
  transactionId: z.ZodString;
3189
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3213
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3190
3214
  filename: z.ZodString;
3191
3215
  originalFilename: z.ZodString;
3192
3216
  type: z.ZodString;
@@ -3299,8 +3323,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3299
3323
  addressLine2?: string | null | undefined;
3300
3324
  addressLine3?: string | null | undefined;
3301
3325
  postcodeOrZip?: string | null | undefined;
3302
- }>]>>;
3303
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3326
+ }>]>>>;
3327
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3304
3328
  filename: z.ZodString;
3305
3329
  originalFilename: z.ZodString;
3306
3330
  type: z.ZodString;
@@ -3415,10 +3439,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3415
3439
  postcodeOrZip?: string | null | undefined;
3416
3440
  }>]>>>;
3417
3441
  originalActionId: z.ZodOptional<z.ZodString>;
3442
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3418
3443
  }, {
3419
3444
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3420
3445
  }>, "strip", z.ZodTypeAny, {
3421
3446
  type: "ARCHIVE";
3447
+ transactionId: string;
3422
3448
  declaration: Record<string, string | number | boolean | {
3423
3449
  type: string;
3424
3450
  filename: string;
@@ -3456,9 +3482,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3456
3482
  option: string;
3457
3483
  filename: string;
3458
3484
  originalFilename: string;
3459
- }[] | undefined>;
3485
+ }[] | [string, string] | undefined>;
3460
3486
  eventId: string;
3461
- transactionId: string;
3462
3487
  annotation?: Record<string, string | number | boolean | {
3463
3488
  type: string;
3464
3489
  filename: string;
@@ -3496,10 +3521,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3496
3521
  option: string;
3497
3522
  filename: string;
3498
3523
  originalFilename: string;
3499
- }[] | undefined> | undefined;
3524
+ }[] | [string, string] | undefined> | undefined;
3500
3525
  originalActionId?: string | undefined;
3526
+ keepAssignment?: boolean | undefined;
3501
3527
  }, {
3502
- declaration: Record<string, string | number | boolean | {
3528
+ transactionId: string;
3529
+ eventId: string;
3530
+ type?: "ARCHIVE" | undefined;
3531
+ declaration?: Record<string, string | number | boolean | {
3503
3532
  type: string;
3504
3533
  filename: string;
3505
3534
  originalFilename: string;
@@ -3536,10 +3565,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3536
3565
  option: string;
3537
3566
  filename: string;
3538
3567
  originalFilename: string;
3539
- }[] | undefined>;
3540
- eventId: string;
3541
- transactionId: string;
3542
- type?: "ARCHIVE" | undefined;
3568
+ }[] | [string, string] | undefined> | undefined;
3543
3569
  annotation?: Record<string, string | number | boolean | {
3544
3570
  type: string;
3545
3571
  filename: string;
@@ -3577,14 +3603,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3577
3603
  option: string;
3578
3604
  filename: string;
3579
3605
  originalFilename: string;
3580
- }[] | undefined> | undefined;
3606
+ }[] | [string, string] | undefined> | undefined;
3581
3607
  originalActionId?: string | undefined;
3608
+ keepAssignment?: boolean | undefined;
3582
3609
  }>;
3583
3610
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3584
3611
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3585
3612
  eventId: z.ZodString;
3586
3613
  transactionId: z.ZodString;
3587
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3614
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3588
3615
  filename: z.ZodString;
3589
3616
  originalFilename: z.ZodString;
3590
3617
  type: z.ZodString;
@@ -3697,8 +3724,8 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3697
3724
  addressLine2?: string | null | undefined;
3698
3725
  addressLine3?: string | null | undefined;
3699
3726
  postcodeOrZip?: string | null | undefined;
3700
- }>]>>;
3701
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3727
+ }>]>>>;
3728
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3702
3729
  filename: z.ZodString;
3703
3730
  originalFilename: z.ZodString;
3704
3731
  type: z.ZodString;
@@ -3813,11 +3840,13 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3813
3840
  postcodeOrZip?: string | null | undefined;
3814
3841
  }>]>>>;
3815
3842
  originalActionId: z.ZodOptional<z.ZodString>;
3843
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3816
3844
  }, {
3817
3845
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3818
3846
  assignedTo: z.ZodString;
3819
3847
  }>, "strip", z.ZodTypeAny, {
3820
3848
  type: "ASSIGN";
3849
+ transactionId: string;
3821
3850
  declaration: Record<string, string | number | boolean | {
3822
3851
  type: string;
3823
3852
  filename: string;
@@ -3855,10 +3884,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3855
3884
  option: string;
3856
3885
  filename: string;
3857
3886
  originalFilename: string;
3858
- }[] | undefined>;
3887
+ }[] | [string, string] | undefined>;
3859
3888
  assignedTo: string;
3860
3889
  eventId: string;
3861
- transactionId: string;
3862
3890
  annotation?: Record<string, string | number | boolean | {
3863
3891
  type: string;
3864
3892
  filename: string;
@@ -3896,10 +3924,15 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3896
3924
  option: string;
3897
3925
  filename: string;
3898
3926
  originalFilename: string;
3899
- }[] | undefined> | undefined;
3927
+ }[] | [string, string] | undefined> | undefined;
3900
3928
  originalActionId?: string | undefined;
3929
+ keepAssignment?: boolean | undefined;
3901
3930
  }, {
3902
- declaration: Record<string, string | number | boolean | {
3931
+ transactionId: string;
3932
+ assignedTo: string;
3933
+ eventId: string;
3934
+ type?: "ASSIGN" | undefined;
3935
+ declaration?: Record<string, string | number | boolean | {
3903
3936
  type: string;
3904
3937
  filename: string;
3905
3938
  originalFilename: string;
@@ -3936,11 +3969,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3936
3969
  option: string;
3937
3970
  filename: string;
3938
3971
  originalFilename: string;
3939
- }[] | undefined>;
3940
- assignedTo: string;
3941
- eventId: string;
3942
- transactionId: string;
3943
- type?: "ASSIGN" | undefined;
3972
+ }[] | [string, string] | undefined> | undefined;
3944
3973
  annotation?: Record<string, string | number | boolean | {
3945
3974
  type: string;
3946
3975
  filename: string;
@@ -3978,14 +4007,15 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3978
4007
  option: string;
3979
4008
  filename: string;
3980
4009
  originalFilename: string;
3981
- }[] | undefined> | undefined;
4010
+ }[] | [string, string] | undefined> | undefined;
3982
4011
  originalActionId?: string | undefined;
4012
+ keepAssignment?: boolean | undefined;
3983
4013
  }>;
3984
4014
  export type AssignActionInput = z.infer<typeof AssignActionInput>;
3985
4015
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3986
4016
  eventId: z.ZodString;
3987
4017
  transactionId: z.ZodString;
3988
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4018
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3989
4019
  filename: z.ZodString;
3990
4020
  originalFilename: z.ZodString;
3991
4021
  type: z.ZodString;
@@ -4098,8 +4128,8 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4098
4128
  addressLine2?: string | null | undefined;
4099
4129
  addressLine3?: string | null | undefined;
4100
4130
  postcodeOrZip?: string | null | undefined;
4101
- }>]>>;
4102
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4131
+ }>]>>>;
4132
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4103
4133
  filename: z.ZodString;
4104
4134
  originalFilename: z.ZodString;
4105
4135
  type: z.ZodString;
@@ -4214,11 +4244,13 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4214
4244
  postcodeOrZip?: string | null | undefined;
4215
4245
  }>]>>>;
4216
4246
  originalActionId: z.ZodOptional<z.ZodString>;
4247
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4217
4248
  }, {
4218
4249
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4219
4250
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4220
4251
  }>, "strip", z.ZodTypeAny, {
4221
4252
  type: "UNASSIGN";
4253
+ transactionId: string;
4222
4254
  declaration: Record<string, string | number | boolean | {
4223
4255
  type: string;
4224
4256
  filename: string;
@@ -4256,10 +4288,9 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4256
4288
  option: string;
4257
4289
  filename: string;
4258
4290
  originalFilename: string;
4259
- }[] | undefined>;
4291
+ }[] | [string, string] | undefined>;
4260
4292
  assignedTo: null;
4261
4293
  eventId: string;
4262
- transactionId: string;
4263
4294
  annotation?: Record<string, string | number | boolean | {
4264
4295
  type: string;
4265
4296
  filename: string;
@@ -4297,10 +4328,14 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4297
4328
  option: string;
4298
4329
  filename: string;
4299
4330
  originalFilename: string;
4300
- }[] | undefined> | undefined;
4331
+ }[] | [string, string] | undefined> | undefined;
4301
4332
  originalActionId?: string | undefined;
4333
+ keepAssignment?: boolean | undefined;
4302
4334
  }, {
4303
- declaration: Record<string, string | number | boolean | {
4335
+ transactionId: string;
4336
+ eventId: string;
4337
+ type?: "UNASSIGN" | undefined;
4338
+ declaration?: Record<string, string | number | boolean | {
4304
4339
  type: string;
4305
4340
  filename: string;
4306
4341
  originalFilename: string;
@@ -4337,10 +4372,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4337
4372
  option: string;
4338
4373
  filename: string;
4339
4374
  originalFilename: string;
4340
- }[] | undefined>;
4341
- eventId: string;
4342
- transactionId: string;
4343
- type?: "UNASSIGN" | undefined;
4375
+ }[] | [string, string] | undefined> | undefined;
4344
4376
  annotation?: Record<string, string | number | boolean | {
4345
4377
  type: string;
4346
4378
  filename: string;
@@ -4378,15 +4410,16 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4378
4410
  option: string;
4379
4411
  filename: string;
4380
4412
  originalFilename: string;
4381
- }[] | undefined> | undefined;
4413
+ }[] | [string, string] | undefined> | undefined;
4382
4414
  originalActionId?: string | undefined;
4383
4415
  assignedTo?: null | undefined;
4416
+ keepAssignment?: boolean | undefined;
4384
4417
  }>;
4385
4418
  export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4386
4419
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4387
4420
  eventId: z.ZodString;
4388
4421
  transactionId: z.ZodString;
4389
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4422
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4390
4423
  filename: z.ZodString;
4391
4424
  originalFilename: z.ZodString;
4392
4425
  type: z.ZodString;
@@ -4499,8 +4532,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4499
4532
  addressLine2?: string | null | undefined;
4500
4533
  addressLine3?: string | null | undefined;
4501
4534
  postcodeOrZip?: string | null | undefined;
4502
- }>]>>;
4503
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4535
+ }>]>>>;
4536
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4504
4537
  filename: z.ZodString;
4505
4538
  originalFilename: z.ZodString;
4506
4539
  type: z.ZodString;
@@ -4615,10 +4648,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4615
4648
  postcodeOrZip?: string | null | undefined;
4616
4649
  }>]>>>;
4617
4650
  originalActionId: z.ZodOptional<z.ZodString>;
4651
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4618
4652
  }, {
4619
4653
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4620
4654
  }>, "strip", z.ZodTypeAny, {
4621
4655
  type: "REQUEST_CORRECTION";
4656
+ transactionId: string;
4622
4657
  declaration: Record<string, string | number | boolean | {
4623
4658
  type: string;
4624
4659
  filename: string;
@@ -4656,9 +4691,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4656
4691
  option: string;
4657
4692
  filename: string;
4658
4693
  originalFilename: string;
4659
- }[] | undefined>;
4694
+ }[] | [string, string] | undefined>;
4660
4695
  eventId: string;
4661
- transactionId: string;
4662
4696
  annotation?: Record<string, string | number | boolean | {
4663
4697
  type: string;
4664
4698
  filename: string;
@@ -4696,10 +4730,14 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4696
4730
  option: string;
4697
4731
  filename: string;
4698
4732
  originalFilename: string;
4699
- }[] | undefined> | undefined;
4733
+ }[] | [string, string] | undefined> | undefined;
4700
4734
  originalActionId?: string | undefined;
4735
+ keepAssignment?: boolean | undefined;
4701
4736
  }, {
4702
- declaration: Record<string, string | number | boolean | {
4737
+ transactionId: string;
4738
+ eventId: string;
4739
+ type?: "REQUEST_CORRECTION" | undefined;
4740
+ declaration?: Record<string, string | number | boolean | {
4703
4741
  type: string;
4704
4742
  filename: string;
4705
4743
  originalFilename: string;
@@ -4736,10 +4774,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4736
4774
  option: string;
4737
4775
  filename: string;
4738
4776
  originalFilename: string;
4739
- }[] | undefined>;
4740
- eventId: string;
4741
- transactionId: string;
4742
- type?: "REQUEST_CORRECTION" | undefined;
4777
+ }[] | [string, string] | undefined> | undefined;
4743
4778
  annotation?: Record<string, string | number | boolean | {
4744
4779
  type: string;
4745
4780
  filename: string;
@@ -4777,14 +4812,15 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4777
4812
  option: string;
4778
4813
  filename: string;
4779
4814
  originalFilename: string;
4780
- }[] | undefined> | undefined;
4815
+ }[] | [string, string] | undefined> | undefined;
4781
4816
  originalActionId?: string | undefined;
4817
+ keepAssignment?: boolean | undefined;
4782
4818
  }>;
4783
4819
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
4784
4820
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4785
4821
  eventId: z.ZodString;
4786
4822
  transactionId: z.ZodString;
4787
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4823
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4788
4824
  filename: z.ZodString;
4789
4825
  originalFilename: z.ZodString;
4790
4826
  type: z.ZodString;
@@ -4897,8 +4933,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4897
4933
  addressLine2?: string | null | undefined;
4898
4934
  addressLine3?: string | null | undefined;
4899
4935
  postcodeOrZip?: string | null | undefined;
4900
- }>]>>;
4901
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4936
+ }>]>>>;
4937
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4902
4938
  filename: z.ZodString;
4903
4939
  originalFilename: z.ZodString;
4904
4940
  type: z.ZodString;
@@ -5013,11 +5049,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5013
5049
  postcodeOrZip?: string | null | undefined;
5014
5050
  }>]>>>;
5015
5051
  originalActionId: z.ZodOptional<z.ZodString>;
5052
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5016
5053
  }, {
5017
5054
  requestId: z.ZodString;
5018
5055
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5019
5056
  }>, "strip", z.ZodTypeAny, {
5020
5057
  type: "REJECT_CORRECTION";
5058
+ transactionId: string;
5021
5059
  declaration: Record<string, string | number | boolean | {
5022
5060
  type: string;
5023
5061
  filename: string;
@@ -5055,10 +5093,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5055
5093
  option: string;
5056
5094
  filename: string;
5057
5095
  originalFilename: string;
5058
- }[] | undefined>;
5096
+ }[] | [string, string] | undefined>;
5059
5097
  requestId: string;
5060
5098
  eventId: string;
5061
- transactionId: string;
5062
5099
  annotation?: Record<string, string | number | boolean | {
5063
5100
  type: string;
5064
5101
  filename: string;
@@ -5096,10 +5133,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5096
5133
  option: string;
5097
5134
  filename: string;
5098
5135
  originalFilename: string;
5099
- }[] | undefined> | undefined;
5136
+ }[] | [string, string] | undefined> | undefined;
5100
5137
  originalActionId?: string | undefined;
5138
+ keepAssignment?: boolean | undefined;
5101
5139
  }, {
5102
- declaration: Record<string, string | number | boolean | {
5140
+ transactionId: string;
5141
+ requestId: string;
5142
+ eventId: string;
5143
+ type?: "REJECT_CORRECTION" | undefined;
5144
+ declaration?: Record<string, string | number | boolean | {
5103
5145
  type: string;
5104
5146
  filename: string;
5105
5147
  originalFilename: string;
@@ -5136,11 +5178,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5136
5178
  option: string;
5137
5179
  filename: string;
5138
5180
  originalFilename: string;
5139
- }[] | undefined>;
5140
- requestId: string;
5141
- eventId: string;
5142
- transactionId: string;
5143
- type?: "REJECT_CORRECTION" | undefined;
5181
+ }[] | [string, string] | undefined> | undefined;
5144
5182
  annotation?: Record<string, string | number | boolean | {
5145
5183
  type: string;
5146
5184
  filename: string;
@@ -5178,14 +5216,15 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5216
  option: string;
5179
5217
  filename: string;
5180
5218
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5219
+ }[] | [string, string] | undefined> | undefined;
5182
5220
  originalActionId?: string | undefined;
5221
+ keepAssignment?: boolean | undefined;
5183
5222
  }>;
5184
5223
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
5185
5224
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5186
5225
  eventId: z.ZodString;
5187
5226
  transactionId: z.ZodString;
5188
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5227
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5189
5228
  filename: z.ZodString;
5190
5229
  originalFilename: z.ZodString;
5191
5230
  type: z.ZodString;
@@ -5298,8 +5337,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5298
5337
  addressLine2?: string | null | undefined;
5299
5338
  addressLine3?: string | null | undefined;
5300
5339
  postcodeOrZip?: string | null | undefined;
5301
- }>]>>;
5302
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5340
+ }>]>>>;
5341
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5303
5342
  filename: z.ZodString;
5304
5343
  originalFilename: z.ZodString;
5305
5344
  type: z.ZodString;
@@ -5414,11 +5453,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5414
5453
  postcodeOrZip?: string | null | undefined;
5415
5454
  }>]>>>;
5416
5455
  originalActionId: z.ZodOptional<z.ZodString>;
5456
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5417
5457
  }, {
5418
5458
  requestId: z.ZodString;
5419
5459
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5420
5460
  }>, "strip", z.ZodTypeAny, {
5421
5461
  type: "APPROVE_CORRECTION";
5462
+ transactionId: string;
5422
5463
  declaration: Record<string, string | number | boolean | {
5423
5464
  type: string;
5424
5465
  filename: string;
@@ -5456,10 +5497,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5456
5497
  option: string;
5457
5498
  filename: string;
5458
5499
  originalFilename: string;
5459
- }[] | undefined>;
5500
+ }[] | [string, string] | undefined>;
5460
5501
  requestId: string;
5461
5502
  eventId: string;
5462
- transactionId: string;
5463
5503
  annotation?: Record<string, string | number | boolean | {
5464
5504
  type: string;
5465
5505
  filename: string;
@@ -5497,10 +5537,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5497
5537
  option: string;
5498
5538
  filename: string;
5499
5539
  originalFilename: string;
5500
- }[] | undefined> | undefined;
5540
+ }[] | [string, string] | undefined> | undefined;
5501
5541
  originalActionId?: string | undefined;
5542
+ keepAssignment?: boolean | undefined;
5502
5543
  }, {
5503
- declaration: Record<string, string | number | boolean | {
5544
+ transactionId: string;
5545
+ requestId: string;
5546
+ eventId: string;
5547
+ type?: "APPROVE_CORRECTION" | undefined;
5548
+ declaration?: Record<string, string | number | boolean | {
5504
5549
  type: string;
5505
5550
  filename: string;
5506
5551
  originalFilename: string;
@@ -5537,11 +5582,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5537
5582
  option: string;
5538
5583
  filename: string;
5539
5584
  originalFilename: string;
5540
- }[] | undefined>;
5541
- requestId: string;
5542
- eventId: string;
5543
- transactionId: string;
5544
- type?: "APPROVE_CORRECTION" | undefined;
5585
+ }[] | [string, string] | undefined> | undefined;
5545
5586
  annotation?: Record<string, string | number | boolean | {
5546
5587
  type: string;
5547
5588
  filename: string;
@@ -5579,14 +5620,15 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5579
5620
  option: string;
5580
5621
  filename: string;
5581
5622
  originalFilename: string;
5582
- }[] | undefined> | undefined;
5623
+ }[] | [string, string] | undefined> | undefined;
5583
5624
  originalActionId?: string | undefined;
5625
+ keepAssignment?: boolean | undefined;
5584
5626
  }>;
5585
5627
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
5586
5628
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5587
5629
  eventId: z.ZodString;
5588
5630
  transactionId: z.ZodString;
5589
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5631
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5590
5632
  filename: z.ZodString;
5591
5633
  originalFilename: z.ZodString;
5592
5634
  type: z.ZodString;
@@ -5699,8 +5741,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5699
5741
  addressLine2?: string | null | undefined;
5700
5742
  addressLine3?: string | null | undefined;
5701
5743
  postcodeOrZip?: string | null | undefined;
5702
- }>]>>;
5703
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5744
+ }>]>>>;
5745
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5704
5746
  filename: z.ZodString;
5705
5747
  originalFilename: z.ZodString;
5706
5748
  type: z.ZodString;
@@ -5815,10 +5857,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5815
5857
  postcodeOrZip?: string | null | undefined;
5816
5858
  }>]>>>;
5817
5859
  originalActionId: z.ZodOptional<z.ZodString>;
5860
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5818
5861
  }, {
5819
5862
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5820
5863
  }>, "strip", z.ZodTypeAny, {
5821
5864
  type: "READ";
5865
+ transactionId: string;
5822
5866
  declaration: Record<string, string | number | boolean | {
5823
5867
  type: string;
5824
5868
  filename: string;
@@ -5856,9 +5900,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5856
5900
  option: string;
5857
5901
  filename: string;
5858
5902
  originalFilename: string;
5859
- }[] | undefined>;
5903
+ }[] | [string, string] | undefined>;
5860
5904
  eventId: string;
5861
- transactionId: string;
5862
5905
  annotation?: Record<string, string | number | boolean | {
5863
5906
  type: string;
5864
5907
  filename: string;
@@ -5896,10 +5939,14 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5896
5939
  option: string;
5897
5940
  filename: string;
5898
5941
  originalFilename: string;
5899
- }[] | undefined> | undefined;
5942
+ }[] | [string, string] | undefined> | undefined;
5900
5943
  originalActionId?: string | undefined;
5944
+ keepAssignment?: boolean | undefined;
5901
5945
  }, {
5902
- declaration: Record<string, string | number | boolean | {
5946
+ transactionId: string;
5947
+ eventId: string;
5948
+ type?: "READ" | undefined;
5949
+ declaration?: Record<string, string | number | boolean | {
5903
5950
  type: string;
5904
5951
  filename: string;
5905
5952
  originalFilename: string;
@@ -5936,10 +5983,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5936
5983
  option: string;
5937
5984
  filename: string;
5938
5985
  originalFilename: string;
5939
- }[] | undefined>;
5940
- eventId: string;
5941
- transactionId: string;
5942
- type?: "READ" | undefined;
5986
+ }[] | [string, string] | undefined> | undefined;
5943
5987
  annotation?: Record<string, string | number | boolean | {
5944
5988
  type: string;
5945
5989
  filename: string;
@@ -5977,10 +6021,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5977
6021
  option: string;
5978
6022
  filename: string;
5979
6023
  originalFilename: string;
5980
- }[] | undefined> | undefined;
6024
+ }[] | [string, string] | undefined> | undefined;
5981
6025
  originalActionId?: string | undefined;
6026
+ keepAssignment?: boolean | undefined;
5982
6027
  }>;
5983
6028
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
6029
+ export declare const DeleteActionInput: z.ZodObject<{
6030
+ eventId: z.ZodString;
6031
+ }, "strip", z.ZodTypeAny, {
6032
+ eventId: string;
6033
+ }, {
6034
+ eventId: string;
6035
+ }>;
6036
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
5984
6037
  /**
5985
6038
  * ActionInput types are used to validate the input data for the action.
5986
6039
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -5992,7 +6045,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5992
6045
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5993
6046
  eventId: z.ZodString;
5994
6047
  transactionId: z.ZodString;
5995
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6048
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5996
6049
  filename: z.ZodString;
5997
6050
  originalFilename: z.ZodString;
5998
6051
  type: z.ZodString;
@@ -6105,8 +6158,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6105
6158
  addressLine2?: string | null | undefined;
6106
6159
  addressLine3?: string | null | undefined;
6107
6160
  postcodeOrZip?: string | null | undefined;
6108
- }>]>>;
6109
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6161
+ }>]>>>;
6162
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6110
6163
  filename: z.ZodString;
6111
6164
  originalFilename: z.ZodString;
6112
6165
  type: z.ZodString;
@@ -6221,11 +6274,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6221
6274
  postcodeOrZip?: string | null | undefined;
6222
6275
  }>]>>>;
6223
6276
  originalActionId: z.ZodOptional<z.ZodString>;
6277
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6224
6278
  }, {
6225
6279
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6226
6280
  createdAtLocation: z.ZodString;
6227
6281
  }>, "strip", z.ZodTypeAny, {
6228
6282
  type: "CREATE";
6283
+ transactionId: string;
6229
6284
  declaration: Record<string, string | number | boolean | {
6230
6285
  type: string;
6231
6286
  filename: string;
@@ -6263,10 +6318,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6263
6318
  option: string;
6264
6319
  filename: string;
6265
6320
  originalFilename: string;
6266
- }[] | undefined>;
6321
+ }[] | [string, string] | undefined>;
6267
6322
  createdAtLocation: string;
6268
6323
  eventId: string;
6269
- transactionId: string;
6270
6324
  annotation?: Record<string, string | number | boolean | {
6271
6325
  type: string;
6272
6326
  filename: string;
@@ -6304,10 +6358,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6304
6358
  option: string;
6305
6359
  filename: string;
6306
6360
  originalFilename: string;
6307
- }[] | undefined> | undefined;
6361
+ }[] | [string, string] | undefined> | undefined;
6308
6362
  originalActionId?: string | undefined;
6363
+ keepAssignment?: boolean | undefined;
6309
6364
  }, {
6310
- declaration: Record<string, string | number | boolean | {
6365
+ transactionId: string;
6366
+ createdAtLocation: string;
6367
+ eventId: string;
6368
+ type?: "CREATE" | undefined;
6369
+ declaration?: Record<string, string | number | boolean | {
6311
6370
  type: string;
6312
6371
  filename: string;
6313
6372
  originalFilename: string;
@@ -6344,11 +6403,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6344
6403
  option: string;
6345
6404
  filename: string;
6346
6405
  originalFilename: string;
6347
- }[] | undefined>;
6348
- createdAtLocation: string;
6349
- eventId: string;
6350
- transactionId: string;
6351
- type?: "CREATE" | undefined;
6406
+ }[] | [string, string] | undefined> | undefined;
6352
6407
  annotation?: Record<string, string | number | boolean | {
6353
6408
  type: string;
6354
6409
  filename: string;
@@ -6386,12 +6441,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6386
6441
  option: string;
6387
6442
  filename: string;
6388
6443
  originalFilename: string;
6389
- }[] | undefined> | undefined;
6444
+ }[] | [string, string] | undefined> | undefined;
6390
6445
  originalActionId?: string | undefined;
6446
+ keepAssignment?: boolean | undefined;
6391
6447
  }>, z.ZodObject<z.objectUtil.extendShape<{
6392
6448
  eventId: z.ZodString;
6393
6449
  transactionId: z.ZodString;
6394
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6450
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6395
6451
  filename: z.ZodString;
6396
6452
  originalFilename: z.ZodString;
6397
6453
  type: z.ZodString;
@@ -6504,8 +6560,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6504
6560
  addressLine2?: string | null | undefined;
6505
6561
  addressLine3?: string | null | undefined;
6506
6562
  postcodeOrZip?: string | null | undefined;
6507
- }>]>>;
6508
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6563
+ }>]>>>;
6564
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6509
6565
  filename: z.ZodString;
6510
6566
  originalFilename: z.ZodString;
6511
6567
  type: z.ZodString;
@@ -6620,11 +6676,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6620
6676
  postcodeOrZip?: string | null | undefined;
6621
6677
  }>]>>>;
6622
6678
  originalActionId: z.ZodOptional<z.ZodString>;
6679
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6623
6680
  }, {
6624
6681
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
6625
6682
  duplicates: z.ZodArray<z.ZodString, "many">;
6626
6683
  }>, "strip", z.ZodTypeAny, {
6627
6684
  type: "VALIDATE";
6685
+ transactionId: string;
6628
6686
  declaration: Record<string, string | number | boolean | {
6629
6687
  type: string;
6630
6688
  filename: string;
@@ -6662,9 +6720,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6662
6720
  option: string;
6663
6721
  filename: string;
6664
6722
  originalFilename: string;
6665
- }[] | undefined>;
6723
+ }[] | [string, string] | undefined>;
6666
6724
  eventId: string;
6667
- transactionId: string;
6668
6725
  duplicates: string[];
6669
6726
  annotation?: Record<string, string | number | boolean | {
6670
6727
  type: string;
@@ -6703,10 +6760,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6703
6760
  option: string;
6704
6761
  filename: string;
6705
6762
  originalFilename: string;
6706
- }[] | undefined> | undefined;
6763
+ }[] | [string, string] | undefined> | undefined;
6707
6764
  originalActionId?: string | undefined;
6765
+ keepAssignment?: boolean | undefined;
6708
6766
  }, {
6709
- declaration: Record<string, string | number | boolean | {
6767
+ transactionId: string;
6768
+ eventId: string;
6769
+ duplicates: string[];
6770
+ type?: "VALIDATE" | undefined;
6771
+ declaration?: Record<string, string | number | boolean | {
6710
6772
  type: string;
6711
6773
  filename: string;
6712
6774
  originalFilename: string;
@@ -6743,11 +6805,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6743
6805
  option: string;
6744
6806
  filename: string;
6745
6807
  originalFilename: string;
6746
- }[] | undefined>;
6747
- eventId: string;
6748
- transactionId: string;
6749
- duplicates: string[];
6750
- type?: "VALIDATE" | undefined;
6808
+ }[] | [string, string] | undefined> | undefined;
6751
6809
  annotation?: Record<string, string | number | boolean | {
6752
6810
  type: string;
6753
6811
  filename: string;
@@ -6785,12 +6843,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6785
6843
  option: string;
6786
6844
  filename: string;
6787
6845
  originalFilename: string;
6788
- }[] | undefined> | undefined;
6846
+ }[] | [string, string] | undefined> | undefined;
6789
6847
  originalActionId?: string | undefined;
6848
+ keepAssignment?: boolean | undefined;
6790
6849
  }>, z.ZodObject<z.objectUtil.extendShape<{
6791
6850
  eventId: z.ZodString;
6792
6851
  transactionId: z.ZodString;
6793
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6852
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6794
6853
  filename: z.ZodString;
6795
6854
  originalFilename: z.ZodString;
6796
6855
  type: z.ZodString;
@@ -6903,8 +6962,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6903
6962
  addressLine2?: string | null | undefined;
6904
6963
  addressLine3?: string | null | undefined;
6905
6964
  postcodeOrZip?: string | null | undefined;
6906
- }>]>>;
6907
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6965
+ }>]>>>;
6966
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6908
6967
  filename: z.ZodString;
6909
6968
  originalFilename: z.ZodString;
6910
6969
  type: z.ZodString;
@@ -7019,11 +7078,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7019
7078
  postcodeOrZip?: string | null | undefined;
7020
7079
  }>]>>>;
7021
7080
  originalActionId: z.ZodOptional<z.ZodString>;
7081
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7022
7082
  }, {
7023
7083
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
7024
7084
  registrationNumber: z.ZodOptional<z.ZodString>;
7025
7085
  }>, "strip", z.ZodTypeAny, {
7026
7086
  type: "REGISTER";
7087
+ transactionId: string;
7027
7088
  declaration: Record<string, string | number | boolean | {
7028
7089
  type: string;
7029
7090
  filename: string;
@@ -7061,9 +7122,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7061
7122
  option: string;
7062
7123
  filename: string;
7063
7124
  originalFilename: string;
7064
- }[] | undefined>;
7125
+ }[] | [string, string] | undefined>;
7065
7126
  eventId: string;
7066
- transactionId: string;
7067
7127
  annotation?: Record<string, string | number | boolean | {
7068
7128
  type: string;
7069
7129
  filename: string;
@@ -7101,11 +7161,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7101
7161
  option: string;
7102
7162
  filename: string;
7103
7163
  originalFilename: string;
7104
- }[] | undefined> | undefined;
7164
+ }[] | [string, string] | undefined> | undefined;
7105
7165
  originalActionId?: string | undefined;
7106
7166
  registrationNumber?: string | undefined;
7167
+ keepAssignment?: boolean | undefined;
7107
7168
  }, {
7108
- declaration: Record<string, string | number | boolean | {
7169
+ transactionId: string;
7170
+ eventId: string;
7171
+ type?: "REGISTER" | undefined;
7172
+ declaration?: Record<string, string | number | boolean | {
7109
7173
  type: string;
7110
7174
  filename: string;
7111
7175
  originalFilename: string;
@@ -7142,10 +7206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7142
7206
  option: string;
7143
7207
  filename: string;
7144
7208
  originalFilename: string;
7145
- }[] | undefined>;
7146
- eventId: string;
7147
- transactionId: string;
7148
- type?: "REGISTER" | undefined;
7209
+ }[] | [string, string] | undefined> | undefined;
7149
7210
  annotation?: Record<string, string | number | boolean | {
7150
7211
  type: string;
7151
7212
  filename: string;
@@ -7183,13 +7244,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7183
7244
  option: string;
7184
7245
  filename: string;
7185
7246
  originalFilename: string;
7186
- }[] | undefined> | undefined;
7247
+ }[] | [string, string] | undefined> | undefined;
7187
7248
  originalActionId?: string | undefined;
7188
7249
  registrationNumber?: string | undefined;
7250
+ keepAssignment?: boolean | undefined;
7189
7251
  }>, z.ZodObject<z.objectUtil.extendShape<{
7190
7252
  eventId: z.ZodString;
7191
7253
  transactionId: z.ZodString;
7192
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7254
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7193
7255
  filename: z.ZodString;
7194
7256
  originalFilename: z.ZodString;
7195
7257
  type: z.ZodString;
@@ -7302,8 +7364,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7302
7364
  addressLine2?: string | null | undefined;
7303
7365
  addressLine3?: string | null | undefined;
7304
7366
  postcodeOrZip?: string | null | undefined;
7305
- }>]>>;
7306
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7367
+ }>]>>>;
7368
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7307
7369
  filename: z.ZodString;
7308
7370
  originalFilename: z.ZodString;
7309
7371
  type: z.ZodString;
@@ -7418,10 +7480,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7418
7480
  postcodeOrZip?: string | null | undefined;
7419
7481
  }>]>>>;
7420
7482
  originalActionId: z.ZodOptional<z.ZodString>;
7483
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7421
7484
  }, {
7422
7485
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7423
7486
  }>, "strip", z.ZodTypeAny, {
7424
7487
  type: "NOTIFY";
7488
+ transactionId: string;
7425
7489
  declaration: Record<string, string | number | boolean | {
7426
7490
  type: string;
7427
7491
  filename: string;
@@ -7459,9 +7523,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7459
7523
  option: string;
7460
7524
  filename: string;
7461
7525
  originalFilename: string;
7462
- }[] | undefined>;
7526
+ }[] | [string, string] | undefined>;
7463
7527
  eventId: string;
7464
- transactionId: string;
7465
7528
  annotation?: Record<string, string | number | boolean | {
7466
7529
  type: string;
7467
7530
  filename: string;
@@ -7499,10 +7562,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7499
7562
  option: string;
7500
7563
  filename: string;
7501
7564
  originalFilename: string;
7502
- }[] | undefined> | undefined;
7565
+ }[] | [string, string] | undefined> | undefined;
7503
7566
  originalActionId?: string | undefined;
7567
+ keepAssignment?: boolean | undefined;
7504
7568
  }, {
7505
- declaration: Record<string, string | number | boolean | {
7569
+ transactionId: string;
7570
+ eventId: string;
7571
+ type?: "NOTIFY" | undefined;
7572
+ declaration?: Record<string, string | number | boolean | {
7506
7573
  type: string;
7507
7574
  filename: string;
7508
7575
  originalFilename: string;
@@ -7539,10 +7606,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7539
7606
  option: string;
7540
7607
  filename: string;
7541
7608
  originalFilename: string;
7542
- }[] | undefined>;
7543
- eventId: string;
7544
- transactionId: string;
7545
- type?: "NOTIFY" | undefined;
7609
+ }[] | [string, string] | undefined> | undefined;
7546
7610
  annotation?: Record<string, string | number | boolean | {
7547
7611
  type: string;
7548
7612
  filename: string;
@@ -7580,12 +7644,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7580
7644
  option: string;
7581
7645
  filename: string;
7582
7646
  originalFilename: string;
7583
- }[] | undefined> | undefined;
7647
+ }[] | [string, string] | undefined> | undefined;
7584
7648
  originalActionId?: string | undefined;
7649
+ keepAssignment?: boolean | undefined;
7585
7650
  }>, z.ZodObject<z.objectUtil.extendShape<{
7586
7651
  eventId: z.ZodString;
7587
7652
  transactionId: z.ZodString;
7588
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7653
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7589
7654
  filename: z.ZodString;
7590
7655
  originalFilename: z.ZodString;
7591
7656
  type: z.ZodString;
@@ -7698,8 +7763,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7698
7763
  addressLine2?: string | null | undefined;
7699
7764
  addressLine3?: string | null | undefined;
7700
7765
  postcodeOrZip?: string | null | undefined;
7701
- }>]>>;
7702
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7766
+ }>]>>>;
7767
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7703
7768
  filename: z.ZodString;
7704
7769
  originalFilename: z.ZodString;
7705
7770
  type: z.ZodString;
@@ -7814,10 +7879,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7814
7879
  postcodeOrZip?: string | null | undefined;
7815
7880
  }>]>>>;
7816
7881
  originalActionId: z.ZodOptional<z.ZodString>;
7882
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7817
7883
  }, {
7818
7884
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7819
7885
  }>, "strip", z.ZodTypeAny, {
7820
7886
  type: "DECLARE";
7887
+ transactionId: string;
7821
7888
  declaration: Record<string, string | number | boolean | {
7822
7889
  type: string;
7823
7890
  filename: string;
@@ -7855,9 +7922,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7855
7922
  option: string;
7856
7923
  filename: string;
7857
7924
  originalFilename: string;
7858
- }[] | undefined>;
7925
+ }[] | [string, string] | undefined>;
7859
7926
  eventId: string;
7860
- transactionId: string;
7861
7927
  annotation?: Record<string, string | number | boolean | {
7862
7928
  type: string;
7863
7929
  filename: string;
@@ -7895,10 +7961,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7895
7961
  option: string;
7896
7962
  filename: string;
7897
7963
  originalFilename: string;
7898
- }[] | undefined> | undefined;
7964
+ }[] | [string, string] | undefined> | undefined;
7899
7965
  originalActionId?: string | undefined;
7966
+ keepAssignment?: boolean | undefined;
7900
7967
  }, {
7901
- declaration: Record<string, string | number | boolean | {
7968
+ transactionId: string;
7969
+ eventId: string;
7970
+ type?: "DECLARE" | undefined;
7971
+ declaration?: Record<string, string | number | boolean | {
7902
7972
  type: string;
7903
7973
  filename: string;
7904
7974
  originalFilename: string;
@@ -7935,10 +8005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7935
8005
  option: string;
7936
8006
  filename: string;
7937
8007
  originalFilename: string;
7938
- }[] | undefined>;
7939
- eventId: string;
7940
- transactionId: string;
7941
- type?: "DECLARE" | undefined;
8008
+ }[] | [string, string] | undefined> | undefined;
7942
8009
  annotation?: Record<string, string | number | boolean | {
7943
8010
  type: string;
7944
8011
  filename: string;
@@ -7976,12 +8043,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7976
8043
  option: string;
7977
8044
  filename: string;
7978
8045
  originalFilename: string;
7979
- }[] | undefined> | undefined;
8046
+ }[] | [string, string] | undefined> | undefined;
7980
8047
  originalActionId?: string | undefined;
8048
+ keepAssignment?: boolean | undefined;
7981
8049
  }>, z.ZodObject<z.objectUtil.extendShape<{
7982
8050
  eventId: z.ZodString;
7983
8051
  transactionId: z.ZodString;
7984
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8052
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7985
8053
  filename: z.ZodString;
7986
8054
  originalFilename: z.ZodString;
7987
8055
  type: z.ZodString;
@@ -8094,8 +8162,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8094
8162
  addressLine2?: string | null | undefined;
8095
8163
  addressLine3?: string | null | undefined;
8096
8164
  postcodeOrZip?: string | null | undefined;
8097
- }>]>>;
8098
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8165
+ }>]>>>;
8166
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8099
8167
  filename: z.ZodString;
8100
8168
  originalFilename: z.ZodString;
8101
8169
  type: z.ZodString;
@@ -8210,10 +8278,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8210
8278
  postcodeOrZip?: string | null | undefined;
8211
8279
  }>]>>>;
8212
8280
  originalActionId: z.ZodOptional<z.ZodString>;
8281
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8213
8282
  }, {
8214
8283
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8215
8284
  }>, "strip", z.ZodTypeAny, {
8216
8285
  type: "REJECT";
8286
+ transactionId: string;
8217
8287
  declaration: Record<string, string | number | boolean | {
8218
8288
  type: string;
8219
8289
  filename: string;
@@ -8251,9 +8321,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
8321
  option: string;
8252
8322
  filename: string;
8253
8323
  originalFilename: string;
8254
- }[] | undefined>;
8324
+ }[] | [string, string] | undefined>;
8255
8325
  eventId: string;
8256
- transactionId: string;
8257
8326
  annotation?: Record<string, string | number | boolean | {
8258
8327
  type: string;
8259
8328
  filename: string;
@@ -8291,10 +8360,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8291
8360
  option: string;
8292
8361
  filename: string;
8293
8362
  originalFilename: string;
8294
- }[] | undefined> | undefined;
8363
+ }[] | [string, string] | undefined> | undefined;
8295
8364
  originalActionId?: string | undefined;
8365
+ keepAssignment?: boolean | undefined;
8296
8366
  }, {
8297
- declaration: Record<string, string | number | boolean | {
8367
+ transactionId: string;
8368
+ eventId: string;
8369
+ type?: "REJECT" | undefined;
8370
+ declaration?: Record<string, string | number | boolean | {
8298
8371
  type: string;
8299
8372
  filename: string;
8300
8373
  originalFilename: string;
@@ -8331,10 +8404,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8331
8404
  option: string;
8332
8405
  filename: string;
8333
8406
  originalFilename: string;
8334
- }[] | undefined>;
8335
- eventId: string;
8336
- transactionId: string;
8337
- type?: "REJECT" | undefined;
8407
+ }[] | [string, string] | undefined> | undefined;
8338
8408
  annotation?: Record<string, string | number | boolean | {
8339
8409
  type: string;
8340
8410
  filename: string;
@@ -8372,12 +8442,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8372
8442
  option: string;
8373
8443
  filename: string;
8374
8444
  originalFilename: string;
8375
- }[] | undefined> | undefined;
8445
+ }[] | [string, string] | undefined> | undefined;
8376
8446
  originalActionId?: string | undefined;
8447
+ keepAssignment?: boolean | undefined;
8377
8448
  }>, z.ZodObject<z.objectUtil.extendShape<{
8378
8449
  eventId: z.ZodString;
8379
8450
  transactionId: z.ZodString;
8380
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8451
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8381
8452
  filename: z.ZodString;
8382
8453
  originalFilename: z.ZodString;
8383
8454
  type: z.ZodString;
@@ -8490,8 +8561,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8490
8561
  addressLine2?: string | null | undefined;
8491
8562
  addressLine3?: string | null | undefined;
8492
8563
  postcodeOrZip?: string | null | undefined;
8493
- }>]>>;
8494
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8564
+ }>]>>>;
8565
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8495
8566
  filename: z.ZodString;
8496
8567
  originalFilename: z.ZodString;
8497
8568
  type: z.ZodString;
@@ -8606,10 +8677,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8606
8677
  postcodeOrZip?: string | null | undefined;
8607
8678
  }>]>>>;
8608
8679
  originalActionId: z.ZodOptional<z.ZodString>;
8680
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8609
8681
  }, {
8610
8682
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8611
8683
  }>, "strip", z.ZodTypeAny, {
8612
8684
  type: "MARKED_AS_DUPLICATE";
8685
+ transactionId: string;
8613
8686
  declaration: Record<string, string | number | boolean | {
8614
8687
  type: string;
8615
8688
  filename: string;
@@ -8647,9 +8720,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8647
8720
  option: string;
8648
8721
  filename: string;
8649
8722
  originalFilename: string;
8650
- }[] | undefined>;
8723
+ }[] | [string, string] | undefined>;
8651
8724
  eventId: string;
8652
- transactionId: string;
8653
8725
  annotation?: Record<string, string | number | boolean | {
8654
8726
  type: string;
8655
8727
  filename: string;
@@ -8687,10 +8759,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8687
8759
  option: string;
8688
8760
  filename: string;
8689
8761
  originalFilename: string;
8690
- }[] | undefined> | undefined;
8762
+ }[] | [string, string] | undefined> | undefined;
8691
8763
  originalActionId?: string | undefined;
8764
+ keepAssignment?: boolean | undefined;
8692
8765
  }, {
8693
- declaration: Record<string, string | number | boolean | {
8766
+ transactionId: string;
8767
+ eventId: string;
8768
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8769
+ declaration?: Record<string, string | number | boolean | {
8694
8770
  type: string;
8695
8771
  filename: string;
8696
8772
  originalFilename: string;
@@ -8727,10 +8803,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8727
8803
  option: string;
8728
8804
  filename: string;
8729
8805
  originalFilename: string;
8730
- }[] | undefined>;
8731
- eventId: string;
8732
- transactionId: string;
8733
- type?: "MARKED_AS_DUPLICATE" | undefined;
8806
+ }[] | [string, string] | undefined> | undefined;
8734
8807
  annotation?: Record<string, string | number | boolean | {
8735
8808
  type: string;
8736
8809
  filename: string;
@@ -8768,12 +8841,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8768
8841
  option: string;
8769
8842
  filename: string;
8770
8843
  originalFilename: string;
8771
- }[] | undefined> | undefined;
8844
+ }[] | [string, string] | undefined> | undefined;
8772
8845
  originalActionId?: string | undefined;
8846
+ keepAssignment?: boolean | undefined;
8773
8847
  }>, z.ZodObject<z.objectUtil.extendShape<{
8774
8848
  eventId: z.ZodString;
8775
8849
  transactionId: z.ZodString;
8776
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8850
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8777
8851
  filename: z.ZodString;
8778
8852
  originalFilename: z.ZodString;
8779
8853
  type: z.ZodString;
@@ -8886,8 +8960,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8886
8960
  addressLine2?: string | null | undefined;
8887
8961
  addressLine3?: string | null | undefined;
8888
8962
  postcodeOrZip?: string | null | undefined;
8889
- }>]>>;
8890
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8963
+ }>]>>>;
8964
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8891
8965
  filename: z.ZodString;
8892
8966
  originalFilename: z.ZodString;
8893
8967
  type: z.ZodString;
@@ -9002,10 +9076,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9002
9076
  postcodeOrZip?: string | null | undefined;
9003
9077
  }>]>>>;
9004
9078
  originalActionId: z.ZodOptional<z.ZodString>;
9079
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9005
9080
  }, {
9006
9081
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9007
9082
  }>, "strip", z.ZodTypeAny, {
9008
9083
  type: "ARCHIVE";
9084
+ transactionId: string;
9009
9085
  declaration: Record<string, string | number | boolean | {
9010
9086
  type: string;
9011
9087
  filename: string;
@@ -9043,9 +9119,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9043
9119
  option: string;
9044
9120
  filename: string;
9045
9121
  originalFilename: string;
9046
- }[] | undefined>;
9122
+ }[] | [string, string] | undefined>;
9047
9123
  eventId: string;
9048
- transactionId: string;
9049
9124
  annotation?: Record<string, string | number | boolean | {
9050
9125
  type: string;
9051
9126
  filename: string;
@@ -9083,10 +9158,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9083
9158
  option: string;
9084
9159
  filename: string;
9085
9160
  originalFilename: string;
9086
- }[] | undefined> | undefined;
9161
+ }[] | [string, string] | undefined> | undefined;
9087
9162
  originalActionId?: string | undefined;
9163
+ keepAssignment?: boolean | undefined;
9088
9164
  }, {
9089
- declaration: Record<string, string | number | boolean | {
9165
+ transactionId: string;
9166
+ eventId: string;
9167
+ type?: "ARCHIVE" | undefined;
9168
+ declaration?: Record<string, string | number | boolean | {
9090
9169
  type: string;
9091
9170
  filename: string;
9092
9171
  originalFilename: string;
@@ -9123,10 +9202,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9123
9202
  option: string;
9124
9203
  filename: string;
9125
9204
  originalFilename: string;
9126
- }[] | undefined>;
9127
- eventId: string;
9128
- transactionId: string;
9129
- type?: "ARCHIVE" | undefined;
9205
+ }[] | [string, string] | undefined> | undefined;
9130
9206
  annotation?: Record<string, string | number | boolean | {
9131
9207
  type: string;
9132
9208
  filename: string;
@@ -9164,12 +9240,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9164
9240
  option: string;
9165
9241
  filename: string;
9166
9242
  originalFilename: string;
9167
- }[] | undefined> | undefined;
9243
+ }[] | [string, string] | undefined> | undefined;
9168
9244
  originalActionId?: string | undefined;
9245
+ keepAssignment?: boolean | undefined;
9169
9246
  }>, z.ZodObject<z.objectUtil.extendShape<{
9170
9247
  eventId: z.ZodString;
9171
9248
  transactionId: z.ZodString;
9172
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9249
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9173
9250
  filename: z.ZodString;
9174
9251
  originalFilename: z.ZodString;
9175
9252
  type: z.ZodString;
@@ -9282,8 +9359,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9282
9359
  addressLine2?: string | null | undefined;
9283
9360
  addressLine3?: string | null | undefined;
9284
9361
  postcodeOrZip?: string | null | undefined;
9285
- }>]>>;
9286
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9362
+ }>]>>>;
9363
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9287
9364
  filename: z.ZodString;
9288
9365
  originalFilename: z.ZodString;
9289
9366
  type: z.ZodString;
@@ -9398,11 +9475,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9398
9475
  postcodeOrZip?: string | null | undefined;
9399
9476
  }>]>>>;
9400
9477
  originalActionId: z.ZodOptional<z.ZodString>;
9478
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9401
9479
  }, {
9402
9480
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
9403
9481
  assignedTo: z.ZodString;
9404
9482
  }>, "strip", z.ZodTypeAny, {
9405
9483
  type: "ASSIGN";
9484
+ transactionId: string;
9406
9485
  declaration: Record<string, string | number | boolean | {
9407
9486
  type: string;
9408
9487
  filename: string;
@@ -9440,10 +9519,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9440
9519
  option: string;
9441
9520
  filename: string;
9442
9521
  originalFilename: string;
9443
- }[] | undefined>;
9522
+ }[] | [string, string] | undefined>;
9444
9523
  assignedTo: string;
9445
9524
  eventId: string;
9446
- transactionId: string;
9447
9525
  annotation?: Record<string, string | number | boolean | {
9448
9526
  type: string;
9449
9527
  filename: string;
@@ -9481,10 +9559,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9481
9559
  option: string;
9482
9560
  filename: string;
9483
9561
  originalFilename: string;
9484
- }[] | undefined> | undefined;
9562
+ }[] | [string, string] | undefined> | undefined;
9485
9563
  originalActionId?: string | undefined;
9564
+ keepAssignment?: boolean | undefined;
9486
9565
  }, {
9487
- declaration: Record<string, string | number | boolean | {
9566
+ transactionId: string;
9567
+ assignedTo: string;
9568
+ eventId: string;
9569
+ type?: "ASSIGN" | undefined;
9570
+ declaration?: Record<string, string | number | boolean | {
9488
9571
  type: string;
9489
9572
  filename: string;
9490
9573
  originalFilename: string;
@@ -9521,11 +9604,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9521
9604
  option: string;
9522
9605
  filename: string;
9523
9606
  originalFilename: string;
9524
- }[] | undefined>;
9525
- assignedTo: string;
9526
- eventId: string;
9527
- transactionId: string;
9528
- type?: "ASSIGN" | undefined;
9607
+ }[] | [string, string] | undefined> | undefined;
9529
9608
  annotation?: Record<string, string | number | boolean | {
9530
9609
  type: string;
9531
9610
  filename: string;
@@ -9563,12 +9642,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9563
9642
  option: string;
9564
9643
  filename: string;
9565
9644
  originalFilename: string;
9566
- }[] | undefined> | undefined;
9645
+ }[] | [string, string] | undefined> | undefined;
9567
9646
  originalActionId?: string | undefined;
9647
+ keepAssignment?: boolean | undefined;
9568
9648
  }>, z.ZodObject<z.objectUtil.extendShape<{
9569
9649
  eventId: z.ZodString;
9570
9650
  transactionId: z.ZodString;
9571
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9651
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9572
9652
  filename: z.ZodString;
9573
9653
  originalFilename: z.ZodString;
9574
9654
  type: z.ZodString;
@@ -9681,8 +9761,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9681
9761
  addressLine2?: string | null | undefined;
9682
9762
  addressLine3?: string | null | undefined;
9683
9763
  postcodeOrZip?: string | null | undefined;
9684
- }>]>>;
9685
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9764
+ }>]>>>;
9765
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9686
9766
  filename: z.ZodString;
9687
9767
  originalFilename: z.ZodString;
9688
9768
  type: z.ZodString;
@@ -9797,11 +9877,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9797
9877
  postcodeOrZip?: string | null | undefined;
9798
9878
  }>]>>>;
9799
9879
  originalActionId: z.ZodOptional<z.ZodString>;
9880
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9800
9881
  }, {
9801
9882
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9802
9883
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9803
9884
  }>, "strip", z.ZodTypeAny, {
9804
9885
  type: "UNASSIGN";
9886
+ transactionId: string;
9805
9887
  declaration: Record<string, string | number | boolean | {
9806
9888
  type: string;
9807
9889
  filename: string;
@@ -9839,10 +9921,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9839
9921
  option: string;
9840
9922
  filename: string;
9841
9923
  originalFilename: string;
9842
- }[] | undefined>;
9924
+ }[] | [string, string] | undefined>;
9843
9925
  assignedTo: null;
9844
9926
  eventId: string;
9845
- transactionId: string;
9846
9927
  annotation?: Record<string, string | number | boolean | {
9847
9928
  type: string;
9848
9929
  filename: string;
@@ -9880,10 +9961,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9880
9961
  option: string;
9881
9962
  filename: string;
9882
9963
  originalFilename: string;
9883
- }[] | undefined> | undefined;
9964
+ }[] | [string, string] | undefined> | undefined;
9884
9965
  originalActionId?: string | undefined;
9966
+ keepAssignment?: boolean | undefined;
9885
9967
  }, {
9886
- declaration: Record<string, string | number | boolean | {
9968
+ transactionId: string;
9969
+ eventId: string;
9970
+ type?: "UNASSIGN" | undefined;
9971
+ declaration?: Record<string, string | number | boolean | {
9887
9972
  type: string;
9888
9973
  filename: string;
9889
9974
  originalFilename: string;
@@ -9920,10 +10005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9920
10005
  option: string;
9921
10006
  filename: string;
9922
10007
  originalFilename: string;
9923
- }[] | undefined>;
9924
- eventId: string;
9925
- transactionId: string;
9926
- type?: "UNASSIGN" | undefined;
10008
+ }[] | [string, string] | undefined> | undefined;
9927
10009
  annotation?: Record<string, string | number | boolean | {
9928
10010
  type: string;
9929
10011
  filename: string;
@@ -9961,13 +10043,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9961
10043
  option: string;
9962
10044
  filename: string;
9963
10045
  originalFilename: string;
9964
- }[] | undefined> | undefined;
10046
+ }[] | [string, string] | undefined> | undefined;
9965
10047
  originalActionId?: string | undefined;
9966
10048
  assignedTo?: null | undefined;
10049
+ keepAssignment?: boolean | undefined;
9967
10050
  }>, z.ZodObject<z.objectUtil.extendShape<{
9968
10051
  eventId: z.ZodString;
9969
10052
  transactionId: z.ZodString;
9970
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10053
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9971
10054
  filename: z.ZodString;
9972
10055
  originalFilename: z.ZodString;
9973
10056
  type: z.ZodString;
@@ -10080,8 +10163,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10080
10163
  addressLine2?: string | null | undefined;
10081
10164
  addressLine3?: string | null | undefined;
10082
10165
  postcodeOrZip?: string | null | undefined;
10083
- }>]>>;
10084
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10166
+ }>]>>>;
10167
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10085
10168
  filename: z.ZodString;
10086
10169
  originalFilename: z.ZodString;
10087
10170
  type: z.ZodString;
@@ -10196,10 +10279,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10196
10279
  postcodeOrZip?: string | null | undefined;
10197
10280
  }>]>>>;
10198
10281
  originalActionId: z.ZodOptional<z.ZodString>;
10282
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10199
10283
  }, {
10200
10284
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10201
10285
  }>, "strip", z.ZodTypeAny, {
10202
10286
  type: "PRINT_CERTIFICATE";
10287
+ transactionId: string;
10203
10288
  declaration: Record<string, string | number | boolean | {
10204
10289
  type: string;
10205
10290
  filename: string;
@@ -10237,9 +10322,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10237
10322
  option: string;
10238
10323
  filename: string;
10239
10324
  originalFilename: string;
10240
- }[] | undefined>;
10325
+ }[] | [string, string] | undefined>;
10241
10326
  eventId: string;
10242
- transactionId: string;
10243
10327
  annotation?: Record<string, string | number | boolean | {
10244
10328
  type: string;
10245
10329
  filename: string;
@@ -10277,10 +10361,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10277
10361
  option: string;
10278
10362
  filename: string;
10279
10363
  originalFilename: string;
10280
- }[] | undefined> | undefined;
10364
+ }[] | [string, string] | undefined> | undefined;
10281
10365
  originalActionId?: string | undefined;
10366
+ keepAssignment?: boolean | undefined;
10282
10367
  }, {
10283
- declaration: Record<string, string | number | boolean | {
10368
+ transactionId: string;
10369
+ eventId: string;
10370
+ type?: "PRINT_CERTIFICATE" | undefined;
10371
+ declaration?: Record<string, string | number | boolean | {
10284
10372
  type: string;
10285
10373
  filename: string;
10286
10374
  originalFilename: string;
@@ -10317,10 +10405,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10317
10405
  option: string;
10318
10406
  filename: string;
10319
10407
  originalFilename: string;
10320
- }[] | undefined>;
10321
- eventId: string;
10322
- transactionId: string;
10323
- type?: "PRINT_CERTIFICATE" | undefined;
10408
+ }[] | [string, string] | undefined> | undefined;
10324
10409
  annotation?: Record<string, string | number | boolean | {
10325
10410
  type: string;
10326
10411
  filename: string;
@@ -10358,12 +10443,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10358
10443
  option: string;
10359
10444
  filename: string;
10360
10445
  originalFilename: string;
10361
- }[] | undefined> | undefined;
10446
+ }[] | [string, string] | undefined> | undefined;
10362
10447
  originalActionId?: string | undefined;
10448
+ keepAssignment?: boolean | undefined;
10363
10449
  }>, z.ZodObject<z.objectUtil.extendShape<{
10364
10450
  eventId: z.ZodString;
10365
10451
  transactionId: z.ZodString;
10366
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10452
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10367
10453
  filename: z.ZodString;
10368
10454
  originalFilename: z.ZodString;
10369
10455
  type: z.ZodString;
@@ -10476,8 +10562,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10476
10562
  addressLine2?: string | null | undefined;
10477
10563
  addressLine3?: string | null | undefined;
10478
10564
  postcodeOrZip?: string | null | undefined;
10479
- }>]>>;
10480
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10565
+ }>]>>>;
10566
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10481
10567
  filename: z.ZodString;
10482
10568
  originalFilename: z.ZodString;
10483
10569
  type: z.ZodString;
@@ -10592,10 +10678,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10592
10678
  postcodeOrZip?: string | null | undefined;
10593
10679
  }>]>>>;
10594
10680
  originalActionId: z.ZodOptional<z.ZodString>;
10681
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10595
10682
  }, {
10596
10683
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10597
10684
  }>, "strip", z.ZodTypeAny, {
10598
10685
  type: "REQUEST_CORRECTION";
10686
+ transactionId: string;
10599
10687
  declaration: Record<string, string | number | boolean | {
10600
10688
  type: string;
10601
10689
  filename: string;
@@ -10633,9 +10721,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10633
10721
  option: string;
10634
10722
  filename: string;
10635
10723
  originalFilename: string;
10636
- }[] | undefined>;
10724
+ }[] | [string, string] | undefined>;
10637
10725
  eventId: string;
10638
- transactionId: string;
10639
10726
  annotation?: Record<string, string | number | boolean | {
10640
10727
  type: string;
10641
10728
  filename: string;
@@ -10673,10 +10760,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10673
10760
  option: string;
10674
10761
  filename: string;
10675
10762
  originalFilename: string;
10676
- }[] | undefined> | undefined;
10763
+ }[] | [string, string] | undefined> | undefined;
10677
10764
  originalActionId?: string | undefined;
10765
+ keepAssignment?: boolean | undefined;
10678
10766
  }, {
10679
- declaration: Record<string, string | number | boolean | {
10767
+ transactionId: string;
10768
+ eventId: string;
10769
+ type?: "REQUEST_CORRECTION" | undefined;
10770
+ declaration?: Record<string, string | number | boolean | {
10680
10771
  type: string;
10681
10772
  filename: string;
10682
10773
  originalFilename: string;
@@ -10713,10 +10804,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10713
10804
  option: string;
10714
10805
  filename: string;
10715
10806
  originalFilename: string;
10716
- }[] | undefined>;
10717
- eventId: string;
10718
- transactionId: string;
10719
- type?: "REQUEST_CORRECTION" | undefined;
10807
+ }[] | [string, string] | undefined> | undefined;
10720
10808
  annotation?: Record<string, string | number | boolean | {
10721
10809
  type: string;
10722
10810
  filename: string;
@@ -10754,12 +10842,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10754
10842
  option: string;
10755
10843
  filename: string;
10756
10844
  originalFilename: string;
10757
- }[] | undefined> | undefined;
10845
+ }[] | [string, string] | undefined> | undefined;
10758
10846
  originalActionId?: string | undefined;
10847
+ keepAssignment?: boolean | undefined;
10759
10848
  }>, z.ZodObject<z.objectUtil.extendShape<{
10760
10849
  eventId: z.ZodString;
10761
10850
  transactionId: z.ZodString;
10762
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10851
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10763
10852
  filename: z.ZodString;
10764
10853
  originalFilename: z.ZodString;
10765
10854
  type: z.ZodString;
@@ -10872,8 +10961,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10872
10961
  addressLine2?: string | null | undefined;
10873
10962
  addressLine3?: string | null | undefined;
10874
10963
  postcodeOrZip?: string | null | undefined;
10875
- }>]>>;
10876
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10964
+ }>]>>>;
10965
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10877
10966
  filename: z.ZodString;
10878
10967
  originalFilename: z.ZodString;
10879
10968
  type: z.ZodString;
@@ -10988,11 +11077,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10988
11077
  postcodeOrZip?: string | null | undefined;
10989
11078
  }>]>>>;
10990
11079
  originalActionId: z.ZodOptional<z.ZodString>;
11080
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10991
11081
  }, {
10992
11082
  requestId: z.ZodString;
10993
11083
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10994
11084
  }>, "strip", z.ZodTypeAny, {
10995
11085
  type: "REJECT_CORRECTION";
11086
+ transactionId: string;
10996
11087
  declaration: Record<string, string | number | boolean | {
10997
11088
  type: string;
10998
11089
  filename: string;
@@ -11030,10 +11121,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11030
11121
  option: string;
11031
11122
  filename: string;
11032
11123
  originalFilename: string;
11033
- }[] | undefined>;
11124
+ }[] | [string, string] | undefined>;
11034
11125
  requestId: string;
11035
11126
  eventId: string;
11036
- transactionId: string;
11037
11127
  annotation?: Record<string, string | number | boolean | {
11038
11128
  type: string;
11039
11129
  filename: string;
@@ -11071,10 +11161,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11071
11161
  option: string;
11072
11162
  filename: string;
11073
11163
  originalFilename: string;
11074
- }[] | undefined> | undefined;
11164
+ }[] | [string, string] | undefined> | undefined;
11075
11165
  originalActionId?: string | undefined;
11166
+ keepAssignment?: boolean | undefined;
11076
11167
  }, {
11077
- declaration: Record<string, string | number | boolean | {
11168
+ transactionId: string;
11169
+ requestId: string;
11170
+ eventId: string;
11171
+ type?: "REJECT_CORRECTION" | undefined;
11172
+ declaration?: Record<string, string | number | boolean | {
11078
11173
  type: string;
11079
11174
  filename: string;
11080
11175
  originalFilename: string;
@@ -11111,11 +11206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11111
11206
  option: string;
11112
11207
  filename: string;
11113
11208
  originalFilename: string;
11114
- }[] | undefined>;
11115
- requestId: string;
11116
- eventId: string;
11117
- transactionId: string;
11118
- type?: "REJECT_CORRECTION" | undefined;
11209
+ }[] | [string, string] | undefined> | undefined;
11119
11210
  annotation?: Record<string, string | number | boolean | {
11120
11211
  type: string;
11121
11212
  filename: string;
@@ -11153,12 +11244,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11153
11244
  option: string;
11154
11245
  filename: string;
11155
11246
  originalFilename: string;
11156
- }[] | undefined> | undefined;
11247
+ }[] | [string, string] | undefined> | undefined;
11157
11248
  originalActionId?: string | undefined;
11249
+ keepAssignment?: boolean | undefined;
11158
11250
  }>, z.ZodObject<z.objectUtil.extendShape<{
11159
11251
  eventId: z.ZodString;
11160
11252
  transactionId: z.ZodString;
11161
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11253
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11162
11254
  filename: z.ZodString;
11163
11255
  originalFilename: z.ZodString;
11164
11256
  type: z.ZodString;
@@ -11271,8 +11363,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11271
11363
  addressLine2?: string | null | undefined;
11272
11364
  addressLine3?: string | null | undefined;
11273
11365
  postcodeOrZip?: string | null | undefined;
11274
- }>]>>;
11275
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11366
+ }>]>>>;
11367
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11276
11368
  filename: z.ZodString;
11277
11369
  originalFilename: z.ZodString;
11278
11370
  type: z.ZodString;
@@ -11387,11 +11479,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11387
11479
  postcodeOrZip?: string | null | undefined;
11388
11480
  }>]>>>;
11389
11481
  originalActionId: z.ZodOptional<z.ZodString>;
11482
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
11390
11483
  }, {
11391
11484
  requestId: z.ZodString;
11392
11485
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11393
11486
  }>, "strip", z.ZodTypeAny, {
11394
11487
  type: "APPROVE_CORRECTION";
11488
+ transactionId: string;
11395
11489
  declaration: Record<string, string | number | boolean | {
11396
11490
  type: string;
11397
11491
  filename: string;
@@ -11429,10 +11523,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11429
11523
  option: string;
11430
11524
  filename: string;
11431
11525
  originalFilename: string;
11432
- }[] | undefined>;
11526
+ }[] | [string, string] | undefined>;
11433
11527
  requestId: string;
11434
11528
  eventId: string;
11435
- transactionId: string;
11436
11529
  annotation?: Record<string, string | number | boolean | {
11437
11530
  type: string;
11438
11531
  filename: string;
@@ -11470,10 +11563,15 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11470
11563
  option: string;
11471
11564
  filename: string;
11472
11565
  originalFilename: string;
11473
- }[] | undefined> | undefined;
11566
+ }[] | [string, string] | undefined> | undefined;
11474
11567
  originalActionId?: string | undefined;
11568
+ keepAssignment?: boolean | undefined;
11475
11569
  }, {
11476
- declaration: Record<string, string | number | boolean | {
11570
+ transactionId: string;
11571
+ requestId: string;
11572
+ eventId: string;
11573
+ type?: "APPROVE_CORRECTION" | undefined;
11574
+ declaration?: Record<string, string | number | boolean | {
11477
11575
  type: string;
11478
11576
  filename: string;
11479
11577
  originalFilename: string;
@@ -11510,11 +11608,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11510
11608
  option: string;
11511
11609
  filename: string;
11512
11610
  originalFilename: string;
11513
- }[] | undefined>;
11514
- requestId: string;
11515
- eventId: string;
11516
- transactionId: string;
11517
- type?: "APPROVE_CORRECTION" | undefined;
11611
+ }[] | [string, string] | undefined> | undefined;
11518
11612
  annotation?: Record<string, string | number | boolean | {
11519
11613
  type: string;
11520
11614
  filename: string;
@@ -11552,12 +11646,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11552
11646
  option: string;
11553
11647
  filename: string;
11554
11648
  originalFilename: string;
11555
- }[] | undefined> | undefined;
11649
+ }[] | [string, string] | undefined> | undefined;
11556
11650
  originalActionId?: string | undefined;
11651
+ keepAssignment?: boolean | undefined;
11557
11652
  }>, z.ZodObject<z.objectUtil.extendShape<{
11558
11653
  eventId: z.ZodString;
11559
11654
  transactionId: z.ZodString;
11560
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11655
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11561
11656
  filename: z.ZodString;
11562
11657
  originalFilename: z.ZodString;
11563
11658
  type: z.ZodString;
@@ -11670,8 +11765,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11670
11765
  addressLine2?: string | null | undefined;
11671
11766
  addressLine3?: string | null | undefined;
11672
11767
  postcodeOrZip?: string | null | undefined;
11673
- }>]>>;
11674
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11768
+ }>]>>>;
11769
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11675
11770
  filename: z.ZodString;
11676
11771
  originalFilename: z.ZodString;
11677
11772
  type: z.ZodString;
@@ -11786,10 +11881,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11786
11881
  postcodeOrZip?: string | null | undefined;
11787
11882
  }>]>>>;
11788
11883
  originalActionId: z.ZodOptional<z.ZodString>;
11884
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
11789
11885
  }, {
11790
11886
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11791
11887
  }>, "strip", z.ZodTypeAny, {
11792
11888
  type: "READ";
11889
+ transactionId: string;
11793
11890
  declaration: Record<string, string | number | boolean | {
11794
11891
  type: string;
11795
11892
  filename: string;
@@ -11827,9 +11924,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11827
11924
  option: string;
11828
11925
  filename: string;
11829
11926
  originalFilename: string;
11830
- }[] | undefined>;
11927
+ }[] | [string, string] | undefined>;
11831
11928
  eventId: string;
11832
- transactionId: string;
11833
11929
  annotation?: Record<string, string | number | boolean | {
11834
11930
  type: string;
11835
11931
  filename: string;
@@ -11867,10 +11963,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11867
11963
  option: string;
11868
11964
  filename: string;
11869
11965
  originalFilename: string;
11870
- }[] | undefined> | undefined;
11966
+ }[] | [string, string] | undefined> | undefined;
11871
11967
  originalActionId?: string | undefined;
11968
+ keepAssignment?: boolean | undefined;
11872
11969
  }, {
11873
- declaration: Record<string, string | number | boolean | {
11970
+ transactionId: string;
11971
+ eventId: string;
11972
+ type?: "READ" | undefined;
11973
+ declaration?: Record<string, string | number | boolean | {
11874
11974
  type: string;
11875
11975
  filename: string;
11876
11976
  originalFilename: string;
@@ -11907,10 +12007,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11907
12007
  option: string;
11908
12008
  filename: string;
11909
12009
  originalFilename: string;
11910
- }[] | undefined>;
11911
- eventId: string;
11912
- transactionId: string;
11913
- type?: "READ" | undefined;
12010
+ }[] | [string, string] | undefined> | undefined;
11914
12011
  annotation?: Record<string, string | number | boolean | {
11915
12012
  type: string;
11916
12013
  filename: string;
@@ -11948,8 +12045,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11948
12045
  option: string;
11949
12046
  filename: string;
11950
12047
  originalFilename: string;
11951
- }[] | undefined> | undefined;
12048
+ }[] | [string, string] | undefined> | undefined;
11952
12049
  originalActionId?: string | undefined;
12050
+ keepAssignment?: boolean | undefined;
11953
12051
  }>]>;
11954
12052
  export type ActionInput = z.input<typeof ActionInput>;
11955
12053
  export type ActionInputWithType = z.infer<typeof ActionInput>;