@opencrvs/toolkit 1.8.0-rc.fef85f2 → 1.8.0-rc.ff0a1b5

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +7684 -4215
  2. package/dist/commons/conditionals/conditionals.d.ts +9 -6
  3. package/dist/commons/events/ActionConfig.d.ts +90025 -1680
  4. package/dist/commons/events/ActionDocument.d.ts +542 -211
  5. package/dist/commons/events/ActionInput.d.ts +248 -240
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +369 -25
  7. package/dist/commons/events/Draft.d.ts +33 -20
  8. package/dist/commons/events/EventConfig.d.ts +42730 -1400
  9. package/dist/commons/events/EventDocument.d.ts +337 -159
  10. package/dist/commons/events/EventIndex.d.ts +1462 -16
  11. package/dist/commons/events/EventInput.d.ts +13 -0
  12. package/dist/commons/events/EventMetadata.d.ts +273 -14
  13. package/dist/commons/events/FieldConfig.d.ts +3682 -714
  14. package/dist/commons/events/FieldType.d.ts +3 -3
  15. package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
  16. package/dist/commons/events/FieldValue.d.ts +7 -4
  17. package/dist/commons/events/FormConfig.d.ts +40417 -439
  18. package/dist/commons/events/PageConfig.d.ts +10077 -203
  19. package/dist/commons/events/SummaryConfig.d.ts +17 -47
  20. package/dist/commons/events/WorkqueueConfig.d.ts +1257 -19
  21. package/dist/commons/events/defineConfig.d.ts +6952 -32
  22. package/dist/commons/events/event.d.ts +27 -0
  23. package/dist/commons/events/field.d.ts +68 -0
  24. package/dist/commons/events/index.d.ts +2 -0
  25. package/dist/commons/events/scopes.d.ts +1 -0
  26. package/dist/commons/events/test.utils.d.ts +7 -44
  27. package/dist/commons/events/utils.d.ts +3550 -67
  28. package/dist/conditionals/index.js +36 -33
  29. package/dist/events/index.js +1446 -949
  30. package/dist/scopes/index.d.ts +70 -1
  31. package/dist/scopes/index.js +130 -0
  32. 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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -116,7 +116,7 @@ export declare const BaseActionInput: z.ZodObject<{
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
118
  }>]>>>;
119
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
@@ -233,6 +233,7 @@ export declare const BaseActionInput: z.ZodObject<{
233
233
  originalActionId: z.ZodOptional<z.ZodString>;
234
234
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
235
235
  }, "strip", z.ZodTypeAny, {
236
+ transactionId: string;
236
237
  declaration: Record<string, string | number | boolean | {
237
238
  type: string;
238
239
  filename: string;
@@ -270,9 +271,8 @@ export declare const BaseActionInput: z.ZodObject<{
270
271
  option: string;
271
272
  filename: string;
272
273
  originalFilename: string;
273
- }[] | undefined>;
274
+ }[] | [string, string] | undefined>;
274
275
  eventId: string;
275
- transactionId: string;
276
276
  annotation?: Record<string, string | number | boolean | {
277
277
  type: string;
278
278
  filename: string;
@@ -310,12 +310,12 @@ export declare const BaseActionInput: z.ZodObject<{
310
310
  option: string;
311
311
  filename: string;
312
312
  originalFilename: string;
313
- }[] | undefined> | undefined;
313
+ }[] | [string, string] | undefined> | undefined;
314
314
  originalActionId?: string | undefined;
315
315
  keepAssignment?: boolean | undefined;
316
316
  }, {
317
- eventId: string;
318
317
  transactionId: string;
318
+ eventId: string;
319
319
  declaration?: Record<string, string | number | boolean | {
320
320
  type: string;
321
321
  filename: string;
@@ -353,7 +353,7 @@ export declare const BaseActionInput: z.ZodObject<{
353
353
  option: string;
354
354
  filename: string;
355
355
  originalFilename: string;
356
- }[] | undefined> | undefined;
356
+ }[] | [string, string] | undefined> | undefined;
357
357
  annotation?: Record<string, string | number | boolean | {
358
358
  type: string;
359
359
  filename: string;
@@ -391,14 +391,14 @@ export declare const BaseActionInput: z.ZodObject<{
391
391
  option: string;
392
392
  filename: string;
393
393
  originalFilename: string;
394
- }[] | undefined> | undefined;
394
+ }[] | [string, string] | undefined> | undefined;
395
395
  originalActionId?: string | undefined;
396
396
  keepAssignment?: boolean | undefined;
397
397
  }>;
398
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
399
399
  eventId: z.ZodString;
400
400
  transactionId: z.ZodString;
401
- declaration: z.ZodDefault<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<{
402
402
  filename: z.ZodString;
403
403
  originalFilename: z.ZodString;
404
404
  type: z.ZodString;
@@ -512,7 +512,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
512
512
  addressLine3?: string | null | undefined;
513
513
  postcodeOrZip?: string | null | undefined;
514
514
  }>]>>>;
515
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
516
516
  filename: z.ZodString;
517
517
  originalFilename: z.ZodString;
518
518
  type: z.ZodString;
@@ -633,6 +633,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
633
633
  registrationNumber: z.ZodOptional<z.ZodString>;
634
634
  }>, "strip", z.ZodTypeAny, {
635
635
  type: "REGISTER";
636
+ transactionId: string;
636
637
  declaration: Record<string, string | number | boolean | {
637
638
  type: string;
638
639
  filename: string;
@@ -670,9 +671,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
670
671
  option: string;
671
672
  filename: string;
672
673
  originalFilename: string;
673
- }[] | undefined>;
674
+ }[] | [string, string] | undefined>;
674
675
  eventId: string;
675
- transactionId: string;
676
676
  annotation?: Record<string, string | number | boolean | {
677
677
  type: string;
678
678
  filename: string;
@@ -710,13 +710,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
710
710
  option: string;
711
711
  filename: string;
712
712
  originalFilename: string;
713
- }[] | undefined> | undefined;
713
+ }[] | [string, string] | undefined> | undefined;
714
714
  originalActionId?: string | undefined;
715
715
  registrationNumber?: string | undefined;
716
716
  keepAssignment?: boolean | undefined;
717
717
  }, {
718
- eventId: string;
719
718
  transactionId: string;
719
+ eventId: string;
720
720
  type?: "REGISTER" | undefined;
721
721
  declaration?: Record<string, string | number | boolean | {
722
722
  type: string;
@@ -755,7 +755,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
755
755
  option: string;
756
756
  filename: string;
757
757
  originalFilename: string;
758
- }[] | undefined> | undefined;
758
+ }[] | [string, string] | undefined> | undefined;
759
759
  annotation?: Record<string, string | number | boolean | {
760
760
  type: string;
761
761
  filename: string;
@@ -793,7 +793,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
793
793
  option: string;
794
794
  filename: string;
795
795
  originalFilename: string;
796
- }[] | undefined> | undefined;
796
+ }[] | [string, string] | undefined> | undefined;
797
797
  originalActionId?: string | undefined;
798
798
  registrationNumber?: string | undefined;
799
799
  keepAssignment?: boolean | undefined;
@@ -802,7 +802,7 @@ export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
802
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
803
803
  eventId: z.ZodString;
804
804
  transactionId: z.ZodString;
805
- declaration: z.ZodDefault<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<{
806
806
  filename: z.ZodString;
807
807
  originalFilename: z.ZodString;
808
808
  type: z.ZodString;
@@ -916,7 +916,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
916
916
  addressLine3?: string | null | undefined;
917
917
  postcodeOrZip?: string | null | undefined;
918
918
  }>]>>>;
919
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
920
920
  filename: z.ZodString;
921
921
  originalFilename: z.ZodString;
922
922
  type: z.ZodString;
@@ -1037,6 +1037,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1037
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1038
1038
  }>, "strip", z.ZodTypeAny, {
1039
1039
  type: "VALIDATE";
1040
+ transactionId: string;
1040
1041
  declaration: Record<string, string | number | boolean | {
1041
1042
  type: string;
1042
1043
  filename: string;
@@ -1074,9 +1075,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1074
1075
  option: string;
1075
1076
  filename: string;
1076
1077
  originalFilename: string;
1077
- }[] | undefined>;
1078
+ }[] | [string, string] | undefined>;
1078
1079
  eventId: string;
1079
- transactionId: string;
1080
1080
  duplicates: string[];
1081
1081
  annotation?: Record<string, string | number | boolean | {
1082
1082
  type: string;
@@ -1115,12 +1115,12 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1115
1115
  option: string;
1116
1116
  filename: string;
1117
1117
  originalFilename: string;
1118
- }[] | undefined> | undefined;
1118
+ }[] | [string, string] | undefined> | undefined;
1119
1119
  originalActionId?: string | undefined;
1120
1120
  keepAssignment?: boolean | undefined;
1121
1121
  }, {
1122
- eventId: string;
1123
1122
  transactionId: string;
1123
+ eventId: string;
1124
1124
  duplicates: string[];
1125
1125
  type?: "VALIDATE" | undefined;
1126
1126
  declaration?: Record<string, string | number | boolean | {
@@ -1160,7 +1160,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1160
1160
  option: string;
1161
1161
  filename: string;
1162
1162
  originalFilename: string;
1163
- }[] | undefined> | undefined;
1163
+ }[] | [string, string] | undefined> | undefined;
1164
1164
  annotation?: Record<string, string | number | boolean | {
1165
1165
  type: string;
1166
1166
  filename: string;
@@ -1198,7 +1198,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1198
  option: string;
1199
1199
  filename: string;
1200
1200
  originalFilename: string;
1201
- }[] | undefined> | undefined;
1201
+ }[] | [string, string] | undefined> | undefined;
1202
1202
  originalActionId?: string | undefined;
1203
1203
  keepAssignment?: boolean | undefined;
1204
1204
  }>;
@@ -1206,7 +1206,7 @@ export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1206
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1207
1207
  eventId: z.ZodString;
1208
1208
  transactionId: z.ZodString;
1209
- declaration: z.ZodDefault<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<{
1210
1210
  filename: z.ZodString;
1211
1211
  originalFilename: z.ZodString;
1212
1212
  type: z.ZodString;
@@ -1320,7 +1320,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1320
1320
  addressLine3?: string | null | undefined;
1321
1321
  postcodeOrZip?: string | null | undefined;
1322
1322
  }>]>>>;
1323
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1324
1324
  filename: z.ZodString;
1325
1325
  originalFilename: z.ZodString;
1326
1326
  type: z.ZodString;
@@ -1440,6 +1440,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1440
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1441
1441
  }>, "strip", z.ZodTypeAny, {
1442
1442
  type: "NOTIFY";
1443
+ transactionId: string;
1443
1444
  declaration: Record<string, string | number | boolean | {
1444
1445
  type: string;
1445
1446
  filename: string;
@@ -1477,9 +1478,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1477
1478
  option: string;
1478
1479
  filename: string;
1479
1480
  originalFilename: string;
1480
- }[] | undefined>;
1481
+ }[] | [string, string] | undefined>;
1481
1482
  eventId: string;
1482
- transactionId: string;
1483
1483
  annotation?: Record<string, string | number | boolean | {
1484
1484
  type: string;
1485
1485
  filename: string;
@@ -1517,12 +1517,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1517
1517
  option: string;
1518
1518
  filename: string;
1519
1519
  originalFilename: string;
1520
- }[] | undefined> | undefined;
1520
+ }[] | [string, string] | undefined> | undefined;
1521
1521
  originalActionId?: string | undefined;
1522
1522
  keepAssignment?: boolean | undefined;
1523
1523
  }, {
1524
- eventId: string;
1525
1524
  transactionId: string;
1525
+ eventId: string;
1526
1526
  type?: "NOTIFY" | undefined;
1527
1527
  declaration?: Record<string, string | number | boolean | {
1528
1528
  type: string;
@@ -1561,7 +1561,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1561
1561
  option: string;
1562
1562
  filename: string;
1563
1563
  originalFilename: string;
1564
- }[] | undefined> | undefined;
1564
+ }[] | [string, string] | undefined> | undefined;
1565
1565
  annotation?: Record<string, string | number | boolean | {
1566
1566
  type: string;
1567
1567
  filename: string;
@@ -1599,7 +1599,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1599
  option: string;
1600
1600
  filename: string;
1601
1601
  originalFilename: string;
1602
- }[] | undefined> | undefined;
1602
+ }[] | [string, string] | undefined> | undefined;
1603
1603
  originalActionId?: string | undefined;
1604
1604
  keepAssignment?: boolean | undefined;
1605
1605
  }>;
@@ -1607,7 +1607,7 @@ export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1607
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1608
1608
  eventId: z.ZodString;
1609
1609
  transactionId: z.ZodString;
1610
- declaration: z.ZodDefault<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<{
1611
1611
  filename: z.ZodString;
1612
1612
  originalFilename: z.ZodString;
1613
1613
  type: z.ZodString;
@@ -1721,7 +1721,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1721
1721
  addressLine3?: string | null | undefined;
1722
1722
  postcodeOrZip?: string | null | undefined;
1723
1723
  }>]>>>;
1724
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1725
1725
  filename: z.ZodString;
1726
1726
  originalFilename: z.ZodString;
1727
1727
  type: z.ZodString;
@@ -1841,6 +1841,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1841
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1842
1842
  }>, "strip", z.ZodTypeAny, {
1843
1843
  type: "DECLARE";
1844
+ transactionId: string;
1844
1845
  declaration: Record<string, string | number | boolean | {
1845
1846
  type: string;
1846
1847
  filename: string;
@@ -1878,9 +1879,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1878
1879
  option: string;
1879
1880
  filename: string;
1880
1881
  originalFilename: string;
1881
- }[] | undefined>;
1882
+ }[] | [string, string] | undefined>;
1882
1883
  eventId: string;
1883
- transactionId: string;
1884
1884
  annotation?: Record<string, string | number | boolean | {
1885
1885
  type: string;
1886
1886
  filename: string;
@@ -1918,12 +1918,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1918
1918
  option: string;
1919
1919
  filename: string;
1920
1920
  originalFilename: string;
1921
- }[] | undefined> | undefined;
1921
+ }[] | [string, string] | undefined> | undefined;
1922
1922
  originalActionId?: string | undefined;
1923
1923
  keepAssignment?: boolean | undefined;
1924
1924
  }, {
1925
- eventId: string;
1926
1925
  transactionId: string;
1926
+ eventId: string;
1927
1927
  type?: "DECLARE" | undefined;
1928
1928
  declaration?: Record<string, string | number | boolean | {
1929
1929
  type: string;
@@ -1962,7 +1962,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1962
1962
  option: string;
1963
1963
  filename: string;
1964
1964
  originalFilename: string;
1965
- }[] | undefined> | undefined;
1965
+ }[] | [string, string] | undefined> | undefined;
1966
1966
  annotation?: Record<string, string | number | boolean | {
1967
1967
  type: string;
1968
1968
  filename: string;
@@ -2000,14 +2000,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
2000
2000
  option: string;
2001
2001
  filename: string;
2002
2002
  originalFilename: string;
2003
- }[] | undefined> | undefined;
2003
+ }[] | [string, string] | undefined> | undefined;
2004
2004
  originalActionId?: string | undefined;
2005
2005
  keepAssignment?: boolean | undefined;
2006
2006
  }>;
2007
2007
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2008
2008
  eventId: z.ZodString;
2009
2009
  transactionId: z.ZodString;
2010
- declaration: z.ZodDefault<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<{
2011
2011
  filename: z.ZodString;
2012
2012
  originalFilename: z.ZodString;
2013
2013
  type: z.ZodString;
@@ -2121,7 +2121,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2121
2121
  addressLine3?: string | null | undefined;
2122
2122
  postcodeOrZip?: string | null | undefined;
2123
2123
  }>]>>>;
2124
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2125
2125
  filename: z.ZodString;
2126
2126
  originalFilename: z.ZodString;
2127
2127
  type: z.ZodString;
@@ -2241,6 +2241,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2241
2241
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2242
2242
  }>, "strip", z.ZodTypeAny, {
2243
2243
  type: "PRINT_CERTIFICATE";
2244
+ transactionId: string;
2244
2245
  declaration: Record<string, string | number | boolean | {
2245
2246
  type: string;
2246
2247
  filename: string;
@@ -2278,9 +2279,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2278
2279
  option: string;
2279
2280
  filename: string;
2280
2281
  originalFilename: string;
2281
- }[] | undefined>;
2282
+ }[] | [string, string] | undefined>;
2282
2283
  eventId: string;
2283
- transactionId: string;
2284
2284
  annotation?: Record<string, string | number | boolean | {
2285
2285
  type: string;
2286
2286
  filename: string;
@@ -2318,12 +2318,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2318
2318
  option: string;
2319
2319
  filename: string;
2320
2320
  originalFilename: string;
2321
- }[] | undefined> | undefined;
2321
+ }[] | [string, string] | undefined> | undefined;
2322
2322
  originalActionId?: string | undefined;
2323
2323
  keepAssignment?: boolean | undefined;
2324
2324
  }, {
2325
- eventId: string;
2326
2325
  transactionId: string;
2326
+ eventId: string;
2327
2327
  type?: "PRINT_CERTIFICATE" | undefined;
2328
2328
  declaration?: Record<string, string | number | boolean | {
2329
2329
  type: string;
@@ -2362,7 +2362,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2362
2362
  option: string;
2363
2363
  filename: string;
2364
2364
  originalFilename: string;
2365
- }[] | undefined> | undefined;
2365
+ }[] | [string, string] | undefined> | undefined;
2366
2366
  annotation?: Record<string, string | number | boolean | {
2367
2367
  type: string;
2368
2368
  filename: string;
@@ -2400,7 +2400,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2400
2400
  option: string;
2401
2401
  filename: string;
2402
2402
  originalFilename: string;
2403
- }[] | undefined> | undefined;
2403
+ }[] | [string, string] | undefined> | undefined;
2404
2404
  originalActionId?: string | undefined;
2405
2405
  keepAssignment?: boolean | undefined;
2406
2406
  }>;
@@ -2408,7 +2408,7 @@ export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2408
2408
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2409
2409
  eventId: z.ZodString;
2410
2410
  transactionId: z.ZodString;
2411
- declaration: z.ZodDefault<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<{
2412
2412
  filename: z.ZodString;
2413
2413
  originalFilename: z.ZodString;
2414
2414
  type: z.ZodString;
@@ -2522,7 +2522,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2522
2522
  addressLine3?: string | null | undefined;
2523
2523
  postcodeOrZip?: string | null | undefined;
2524
2524
  }>]>>>;
2525
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2526
2526
  filename: z.ZodString;
2527
2527
  originalFilename: z.ZodString;
2528
2528
  type: z.ZodString;
@@ -2642,6 +2642,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2642
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
2643
  }>, "strip", z.ZodTypeAny, {
2644
2644
  type: "REJECT";
2645
+ transactionId: string;
2645
2646
  declaration: Record<string, string | number | boolean | {
2646
2647
  type: string;
2647
2648
  filename: string;
@@ -2679,9 +2680,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2679
2680
  option: string;
2680
2681
  filename: string;
2681
2682
  originalFilename: string;
2682
- }[] | undefined>;
2683
+ }[] | [string, string] | undefined>;
2683
2684
  eventId: string;
2684
- transactionId: string;
2685
2685
  annotation?: Record<string, string | number | boolean | {
2686
2686
  type: string;
2687
2687
  filename: string;
@@ -2719,12 +2719,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2719
2719
  option: string;
2720
2720
  filename: string;
2721
2721
  originalFilename: string;
2722
- }[] | undefined> | undefined;
2722
+ }[] | [string, string] | undefined> | undefined;
2723
2723
  originalActionId?: string | undefined;
2724
2724
  keepAssignment?: boolean | undefined;
2725
2725
  }, {
2726
- eventId: string;
2727
2726
  transactionId: string;
2727
+ eventId: string;
2728
2728
  type?: "REJECT" | undefined;
2729
2729
  declaration?: Record<string, string | number | boolean | {
2730
2730
  type: string;
@@ -2763,7 +2763,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2763
2763
  option: string;
2764
2764
  filename: string;
2765
2765
  originalFilename: string;
2766
- }[] | undefined> | undefined;
2766
+ }[] | [string, string] | undefined> | undefined;
2767
2767
  annotation?: Record<string, string | number | boolean | {
2768
2768
  type: string;
2769
2769
  filename: string;
@@ -2801,7 +2801,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2801
2801
  option: string;
2802
2802
  filename: string;
2803
2803
  originalFilename: string;
2804
- }[] | undefined> | undefined;
2804
+ }[] | [string, string] | undefined> | undefined;
2805
2805
  originalActionId?: string | undefined;
2806
2806
  keepAssignment?: boolean | undefined;
2807
2807
  }>;
@@ -2809,7 +2809,7 @@ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActio
2809
2809
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2810
2810
  eventId: z.ZodString;
2811
2811
  transactionId: z.ZodString;
2812
- declaration: z.ZodDefault<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<{
2813
2813
  filename: z.ZodString;
2814
2814
  originalFilename: z.ZodString;
2815
2815
  type: z.ZodString;
@@ -2923,7 +2923,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2923
2923
  addressLine3?: string | null | undefined;
2924
2924
  postcodeOrZip?: string | null | undefined;
2925
2925
  }>]>>>;
2926
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2927
2927
  filename: z.ZodString;
2928
2928
  originalFilename: z.ZodString;
2929
2929
  type: z.ZodString;
@@ -3043,6 +3043,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3043
3043
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3044
3044
  }>, "strip", z.ZodTypeAny, {
3045
3045
  type: "MARKED_AS_DUPLICATE";
3046
+ transactionId: string;
3046
3047
  declaration: Record<string, string | number | boolean | {
3047
3048
  type: string;
3048
3049
  filename: string;
@@ -3080,9 +3081,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3080
3081
  option: string;
3081
3082
  filename: string;
3082
3083
  originalFilename: string;
3083
- }[] | undefined>;
3084
+ }[] | [string, string] | undefined>;
3084
3085
  eventId: string;
3085
- transactionId: string;
3086
3086
  annotation?: Record<string, string | number | boolean | {
3087
3087
  type: string;
3088
3088
  filename: string;
@@ -3120,12 +3120,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3120
3120
  option: string;
3121
3121
  filename: string;
3122
3122
  originalFilename: string;
3123
- }[] | undefined> | undefined;
3123
+ }[] | [string, string] | undefined> | undefined;
3124
3124
  originalActionId?: string | undefined;
3125
3125
  keepAssignment?: boolean | undefined;
3126
3126
  }, {
3127
- eventId: string;
3128
3127
  transactionId: string;
3128
+ eventId: string;
3129
3129
  type?: "MARKED_AS_DUPLICATE" | undefined;
3130
3130
  declaration?: Record<string, string | number | boolean | {
3131
3131
  type: string;
@@ -3164,7 +3164,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3164
3164
  option: string;
3165
3165
  filename: string;
3166
3166
  originalFilename: string;
3167
- }[] | undefined> | undefined;
3167
+ }[] | [string, string] | undefined> | undefined;
3168
3168
  annotation?: Record<string, string | number | boolean | {
3169
3169
  type: string;
3170
3170
  filename: string;
@@ -3202,7 +3202,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3202
3202
  option: string;
3203
3203
  filename: string;
3204
3204
  originalFilename: string;
3205
- }[] | undefined> | undefined;
3205
+ }[] | [string, string] | undefined> | undefined;
3206
3206
  originalActionId?: string | undefined;
3207
3207
  keepAssignment?: boolean | undefined;
3208
3208
  }>;
@@ -3210,7 +3210,7 @@ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActio
3210
3210
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3211
3211
  eventId: z.ZodString;
3212
3212
  transactionId: z.ZodString;
3213
- declaration: z.ZodDefault<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<{
3214
3214
  filename: z.ZodString;
3215
3215
  originalFilename: z.ZodString;
3216
3216
  type: z.ZodString;
@@ -3324,7 +3324,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3324
3324
  addressLine3?: string | null | undefined;
3325
3325
  postcodeOrZip?: string | null | undefined;
3326
3326
  }>]>>>;
3327
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3328
3328
  filename: z.ZodString;
3329
3329
  originalFilename: z.ZodString;
3330
3330
  type: z.ZodString;
@@ -3444,6 +3444,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3444
3444
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3445
3445
  }>, "strip", z.ZodTypeAny, {
3446
3446
  type: "ARCHIVE";
3447
+ transactionId: string;
3447
3448
  declaration: Record<string, string | number | boolean | {
3448
3449
  type: string;
3449
3450
  filename: string;
@@ -3481,9 +3482,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3481
3482
  option: string;
3482
3483
  filename: string;
3483
3484
  originalFilename: string;
3484
- }[] | undefined>;
3485
+ }[] | [string, string] | undefined>;
3485
3486
  eventId: string;
3486
- transactionId: string;
3487
3487
  annotation?: Record<string, string | number | boolean | {
3488
3488
  type: string;
3489
3489
  filename: string;
@@ -3521,12 +3521,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3521
3521
  option: string;
3522
3522
  filename: string;
3523
3523
  originalFilename: string;
3524
- }[] | undefined> | undefined;
3524
+ }[] | [string, string] | undefined> | undefined;
3525
3525
  originalActionId?: string | undefined;
3526
3526
  keepAssignment?: boolean | undefined;
3527
3527
  }, {
3528
- eventId: string;
3529
3528
  transactionId: string;
3529
+ eventId: string;
3530
3530
  type?: "ARCHIVE" | undefined;
3531
3531
  declaration?: Record<string, string | number | boolean | {
3532
3532
  type: string;
@@ -3565,7 +3565,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3565
3565
  option: string;
3566
3566
  filename: string;
3567
3567
  originalFilename: string;
3568
- }[] | undefined> | undefined;
3568
+ }[] | [string, string] | undefined> | undefined;
3569
3569
  annotation?: Record<string, string | number | boolean | {
3570
3570
  type: string;
3571
3571
  filename: string;
@@ -3603,7 +3603,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3603
3603
  option: string;
3604
3604
  filename: string;
3605
3605
  originalFilename: string;
3606
- }[] | undefined> | undefined;
3606
+ }[] | [string, string] | undefined> | undefined;
3607
3607
  originalActionId?: string | undefined;
3608
3608
  keepAssignment?: boolean | undefined;
3609
3609
  }>;
@@ -3611,7 +3611,7 @@ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
3611
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3612
3612
  eventId: z.ZodString;
3613
3613
  transactionId: z.ZodString;
3614
- declaration: z.ZodDefault<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<{
3615
3615
  filename: z.ZodString;
3616
3616
  originalFilename: z.ZodString;
3617
3617
  type: z.ZodString;
@@ -3725,7 +3725,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3725
3725
  addressLine3?: string | null | undefined;
3726
3726
  postcodeOrZip?: string | null | undefined;
3727
3727
  }>]>>>;
3728
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3729
3729
  filename: z.ZodString;
3730
3730
  originalFilename: z.ZodString;
3731
3731
  type: z.ZodString;
@@ -3846,6 +3846,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3846
3846
  assignedTo: z.ZodString;
3847
3847
  }>, "strip", z.ZodTypeAny, {
3848
3848
  type: "ASSIGN";
3849
+ transactionId: string;
3849
3850
  declaration: Record<string, string | number | boolean | {
3850
3851
  type: string;
3851
3852
  filename: string;
@@ -3883,10 +3884,9 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3883
3884
  option: string;
3884
3885
  filename: string;
3885
3886
  originalFilename: string;
3886
- }[] | undefined>;
3887
+ }[] | [string, string] | undefined>;
3887
3888
  assignedTo: string;
3888
3889
  eventId: string;
3889
- transactionId: string;
3890
3890
  annotation?: Record<string, string | number | boolean | {
3891
3891
  type: string;
3892
3892
  filename: string;
@@ -3924,13 +3924,13 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3924
3924
  option: string;
3925
3925
  filename: string;
3926
3926
  originalFilename: string;
3927
- }[] | undefined> | undefined;
3927
+ }[] | [string, string] | undefined> | undefined;
3928
3928
  originalActionId?: string | undefined;
3929
3929
  keepAssignment?: boolean | undefined;
3930
3930
  }, {
3931
+ transactionId: string;
3931
3932
  assignedTo: string;
3932
3933
  eventId: string;
3933
- transactionId: string;
3934
3934
  type?: "ASSIGN" | undefined;
3935
3935
  declaration?: Record<string, string | number | boolean | {
3936
3936
  type: string;
@@ -3969,7 +3969,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3969
3969
  option: string;
3970
3970
  filename: string;
3971
3971
  originalFilename: string;
3972
- }[] | undefined> | undefined;
3972
+ }[] | [string, string] | undefined> | undefined;
3973
3973
  annotation?: Record<string, string | number | boolean | {
3974
3974
  type: string;
3975
3975
  filename: string;
@@ -4007,7 +4007,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4007
4007
  option: string;
4008
4008
  filename: string;
4009
4009
  originalFilename: string;
4010
- }[] | undefined> | undefined;
4010
+ }[] | [string, string] | undefined> | undefined;
4011
4011
  originalActionId?: string | undefined;
4012
4012
  keepAssignment?: boolean | undefined;
4013
4013
  }>;
@@ -4015,7 +4015,7 @@ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
4015
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4016
4016
  eventId: z.ZodString;
4017
4017
  transactionId: z.ZodString;
4018
- declaration: z.ZodDefault<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<{
4019
4019
  filename: z.ZodString;
4020
4020
  originalFilename: z.ZodString;
4021
4021
  type: z.ZodString;
@@ -4129,7 +4129,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4129
4129
  addressLine3?: string | null | undefined;
4130
4130
  postcodeOrZip?: string | null | undefined;
4131
4131
  }>]>>>;
4132
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4133
4133
  filename: z.ZodString;
4134
4134
  originalFilename: z.ZodString;
4135
4135
  type: z.ZodString;
@@ -4250,6 +4250,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4250
4250
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4251
4251
  }>, "strip", z.ZodTypeAny, {
4252
4252
  type: "UNASSIGN";
4253
+ transactionId: string;
4253
4254
  declaration: Record<string, string | number | boolean | {
4254
4255
  type: string;
4255
4256
  filename: string;
@@ -4287,10 +4288,9 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4287
4288
  option: string;
4288
4289
  filename: string;
4289
4290
  originalFilename: string;
4290
- }[] | undefined>;
4291
+ }[] | [string, string] | undefined>;
4291
4292
  assignedTo: null;
4292
4293
  eventId: string;
4293
- transactionId: string;
4294
4294
  annotation?: Record<string, string | number | boolean | {
4295
4295
  type: string;
4296
4296
  filename: string;
@@ -4328,12 +4328,12 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4328
4328
  option: string;
4329
4329
  filename: string;
4330
4330
  originalFilename: string;
4331
- }[] | undefined> | undefined;
4331
+ }[] | [string, string] | undefined> | undefined;
4332
4332
  originalActionId?: string | undefined;
4333
4333
  keepAssignment?: boolean | undefined;
4334
4334
  }, {
4335
- eventId: string;
4336
4335
  transactionId: string;
4336
+ eventId: string;
4337
4337
  type?: "UNASSIGN" | undefined;
4338
4338
  declaration?: Record<string, string | number | boolean | {
4339
4339
  type: string;
@@ -4372,7 +4372,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4372
4372
  option: string;
4373
4373
  filename: string;
4374
4374
  originalFilename: string;
4375
- }[] | undefined> | undefined;
4375
+ }[] | [string, string] | undefined> | undefined;
4376
4376
  annotation?: Record<string, string | number | boolean | {
4377
4377
  type: string;
4378
4378
  filename: string;
@@ -4410,7 +4410,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4410
4410
  option: string;
4411
4411
  filename: string;
4412
4412
  originalFilename: string;
4413
- }[] | undefined> | undefined;
4413
+ }[] | [string, string] | undefined> | undefined;
4414
4414
  originalActionId?: string | undefined;
4415
4415
  assignedTo?: null | undefined;
4416
4416
  keepAssignment?: boolean | undefined;
@@ -4419,7 +4419,7 @@ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4419
4419
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4420
4420
  eventId: z.ZodString;
4421
4421
  transactionId: z.ZodString;
4422
- declaration: z.ZodDefault<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<{
4423
4423
  filename: z.ZodString;
4424
4424
  originalFilename: z.ZodString;
4425
4425
  type: z.ZodString;
@@ -4533,7 +4533,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4533
4533
  addressLine3?: string | null | undefined;
4534
4534
  postcodeOrZip?: string | null | undefined;
4535
4535
  }>]>>>;
4536
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4537
4537
  filename: z.ZodString;
4538
4538
  originalFilename: z.ZodString;
4539
4539
  type: z.ZodString;
@@ -4653,6 +4653,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4653
4653
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
4654
4654
  }>, "strip", z.ZodTypeAny, {
4655
4655
  type: "REQUEST_CORRECTION";
4656
+ transactionId: string;
4656
4657
  declaration: Record<string, string | number | boolean | {
4657
4658
  type: string;
4658
4659
  filename: string;
@@ -4690,9 +4691,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4690
4691
  option: string;
4691
4692
  filename: string;
4692
4693
  originalFilename: string;
4693
- }[] | undefined>;
4694
+ }[] | [string, string] | undefined>;
4694
4695
  eventId: string;
4695
- transactionId: string;
4696
4696
  annotation?: Record<string, string | number | boolean | {
4697
4697
  type: string;
4698
4698
  filename: string;
@@ -4730,12 +4730,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4730
4730
  option: string;
4731
4731
  filename: string;
4732
4732
  originalFilename: string;
4733
- }[] | undefined> | undefined;
4733
+ }[] | [string, string] | undefined> | undefined;
4734
4734
  originalActionId?: string | undefined;
4735
4735
  keepAssignment?: boolean | undefined;
4736
4736
  }, {
4737
- eventId: string;
4738
4737
  transactionId: string;
4738
+ eventId: string;
4739
4739
  type?: "REQUEST_CORRECTION" | undefined;
4740
4740
  declaration?: Record<string, string | number | boolean | {
4741
4741
  type: string;
@@ -4774,7 +4774,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4774
4774
  option: string;
4775
4775
  filename: string;
4776
4776
  originalFilename: string;
4777
- }[] | undefined> | undefined;
4777
+ }[] | [string, string] | undefined> | undefined;
4778
4778
  annotation?: Record<string, string | number | boolean | {
4779
4779
  type: string;
4780
4780
  filename: string;
@@ -4812,7 +4812,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4812
4812
  option: string;
4813
4813
  filename: string;
4814
4814
  originalFilename: string;
4815
- }[] | undefined> | undefined;
4815
+ }[] | [string, string] | undefined> | undefined;
4816
4816
  originalActionId?: string | undefined;
4817
4817
  keepAssignment?: boolean | undefined;
4818
4818
  }>;
@@ -4820,7 +4820,7 @@ export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActio
4820
4820
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4821
4821
  eventId: z.ZodString;
4822
4822
  transactionId: z.ZodString;
4823
- declaration: z.ZodDefault<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<{
4824
4824
  filename: z.ZodString;
4825
4825
  originalFilename: z.ZodString;
4826
4826
  type: z.ZodString;
@@ -4934,7 +4934,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4934
4934
  addressLine3?: string | null | undefined;
4935
4935
  postcodeOrZip?: string | null | undefined;
4936
4936
  }>]>>>;
4937
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4938
4938
  filename: z.ZodString;
4939
4939
  originalFilename: z.ZodString;
4940
4940
  type: z.ZodString;
@@ -5055,6 +5055,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5055
5055
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
5056
5056
  }>, "strip", z.ZodTypeAny, {
5057
5057
  type: "REJECT_CORRECTION";
5058
+ transactionId: string;
5058
5059
  declaration: Record<string, string | number | boolean | {
5059
5060
  type: string;
5060
5061
  filename: string;
@@ -5092,10 +5093,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5092
5093
  option: string;
5093
5094
  filename: string;
5094
5095
  originalFilename: string;
5095
- }[] | undefined>;
5096
+ }[] | [string, string] | undefined>;
5096
5097
  requestId: string;
5097
5098
  eventId: string;
5098
- transactionId: string;
5099
5099
  annotation?: Record<string, string | number | boolean | {
5100
5100
  type: string;
5101
5101
  filename: string;
@@ -5133,13 +5133,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5133
5133
  option: string;
5134
5134
  filename: string;
5135
5135
  originalFilename: string;
5136
- }[] | undefined> | undefined;
5136
+ }[] | [string, string] | undefined> | undefined;
5137
5137
  originalActionId?: string | undefined;
5138
5138
  keepAssignment?: boolean | undefined;
5139
5139
  }, {
5140
+ transactionId: string;
5140
5141
  requestId: string;
5141
5142
  eventId: string;
5142
- transactionId: string;
5143
5143
  type?: "REJECT_CORRECTION" | undefined;
5144
5144
  declaration?: Record<string, string | number | boolean | {
5145
5145
  type: string;
@@ -5178,7 +5178,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5178
  option: string;
5179
5179
  filename: string;
5180
5180
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5181
+ }[] | [string, string] | undefined> | undefined;
5182
5182
  annotation?: Record<string, string | number | boolean | {
5183
5183
  type: string;
5184
5184
  filename: string;
@@ -5216,7 +5216,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5216
5216
  option: string;
5217
5217
  filename: string;
5218
5218
  originalFilename: string;
5219
- }[] | undefined> | undefined;
5219
+ }[] | [string, string] | undefined> | undefined;
5220
5220
  originalActionId?: string | undefined;
5221
5221
  keepAssignment?: boolean | undefined;
5222
5222
  }>;
@@ -5224,7 +5224,7 @@ export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionI
5224
5224
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5225
5225
  eventId: z.ZodString;
5226
5226
  transactionId: z.ZodString;
5227
- declaration: z.ZodDefault<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<{
5228
5228
  filename: z.ZodString;
5229
5229
  originalFilename: z.ZodString;
5230
5230
  type: z.ZodString;
@@ -5338,7 +5338,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5338
5338
  addressLine3?: string | null | undefined;
5339
5339
  postcodeOrZip?: string | null | undefined;
5340
5340
  }>]>>>;
5341
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5342
5342
  filename: z.ZodString;
5343
5343
  originalFilename: z.ZodString;
5344
5344
  type: z.ZodString;
@@ -5459,6 +5459,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5459
5459
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
5460
5460
  }>, "strip", z.ZodTypeAny, {
5461
5461
  type: "APPROVE_CORRECTION";
5462
+ transactionId: string;
5462
5463
  declaration: Record<string, string | number | boolean | {
5463
5464
  type: string;
5464
5465
  filename: string;
@@ -5496,10 +5497,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5496
5497
  option: string;
5497
5498
  filename: string;
5498
5499
  originalFilename: string;
5499
- }[] | undefined>;
5500
+ }[] | [string, string] | undefined>;
5500
5501
  requestId: string;
5501
5502
  eventId: string;
5502
- transactionId: string;
5503
5503
  annotation?: Record<string, string | number | boolean | {
5504
5504
  type: string;
5505
5505
  filename: string;
@@ -5537,13 +5537,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5537
5537
  option: string;
5538
5538
  filename: string;
5539
5539
  originalFilename: string;
5540
- }[] | undefined> | undefined;
5540
+ }[] | [string, string] | undefined> | undefined;
5541
5541
  originalActionId?: string | undefined;
5542
5542
  keepAssignment?: boolean | undefined;
5543
5543
  }, {
5544
+ transactionId: string;
5544
5545
  requestId: string;
5545
5546
  eventId: string;
5546
- transactionId: string;
5547
5547
  type?: "APPROVE_CORRECTION" | undefined;
5548
5548
  declaration?: Record<string, string | number | boolean | {
5549
5549
  type: string;
@@ -5582,7 +5582,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5582
5582
  option: string;
5583
5583
  filename: string;
5584
5584
  originalFilename: string;
5585
- }[] | undefined> | undefined;
5585
+ }[] | [string, string] | undefined> | undefined;
5586
5586
  annotation?: Record<string, string | number | boolean | {
5587
5587
  type: string;
5588
5588
  filename: string;
@@ -5620,7 +5620,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5620
5620
  option: string;
5621
5621
  filename: string;
5622
5622
  originalFilename: string;
5623
- }[] | undefined> | undefined;
5623
+ }[] | [string, string] | undefined> | undefined;
5624
5624
  originalActionId?: string | undefined;
5625
5625
  keepAssignment?: boolean | undefined;
5626
5626
  }>;
@@ -5628,7 +5628,7 @@ export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActio
5628
5628
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5629
5629
  eventId: z.ZodString;
5630
5630
  transactionId: z.ZodString;
5631
- declaration: z.ZodDefault<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<{
5632
5632
  filename: z.ZodString;
5633
5633
  originalFilename: z.ZodString;
5634
5634
  type: z.ZodString;
@@ -5742,7 +5742,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5742
5742
  addressLine3?: string | null | undefined;
5743
5743
  postcodeOrZip?: string | null | undefined;
5744
5744
  }>]>>>;
5745
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5746
5746
  filename: z.ZodString;
5747
5747
  originalFilename: z.ZodString;
5748
5748
  type: z.ZodString;
@@ -5862,6 +5862,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5862
5862
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5863
5863
  }>, "strip", z.ZodTypeAny, {
5864
5864
  type: "READ";
5865
+ transactionId: string;
5865
5866
  declaration: Record<string, string | number | boolean | {
5866
5867
  type: string;
5867
5868
  filename: string;
@@ -5899,9 +5900,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5899
5900
  option: string;
5900
5901
  filename: string;
5901
5902
  originalFilename: string;
5902
- }[] | undefined>;
5903
+ }[] | [string, string] | undefined>;
5903
5904
  eventId: string;
5904
- transactionId: string;
5905
5905
  annotation?: Record<string, string | number | boolean | {
5906
5906
  type: string;
5907
5907
  filename: string;
@@ -5939,12 +5939,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5939
5939
  option: string;
5940
5940
  filename: string;
5941
5941
  originalFilename: string;
5942
- }[] | undefined> | undefined;
5942
+ }[] | [string, string] | undefined> | undefined;
5943
5943
  originalActionId?: string | undefined;
5944
5944
  keepAssignment?: boolean | undefined;
5945
5945
  }, {
5946
- eventId: string;
5947
5946
  transactionId: string;
5947
+ eventId: string;
5948
5948
  type?: "READ" | undefined;
5949
5949
  declaration?: Record<string, string | number | boolean | {
5950
5950
  type: string;
@@ -5983,7 +5983,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5983
5983
  option: string;
5984
5984
  filename: string;
5985
5985
  originalFilename: string;
5986
- }[] | undefined> | undefined;
5986
+ }[] | [string, string] | undefined> | undefined;
5987
5987
  annotation?: Record<string, string | number | boolean | {
5988
5988
  type: string;
5989
5989
  filename: string;
@@ -6021,11 +6021,19 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
6021
6021
  option: string;
6022
6022
  filename: string;
6023
6023
  originalFilename: string;
6024
- }[] | undefined> | undefined;
6024
+ }[] | [string, string] | undefined> | undefined;
6025
6025
  originalActionId?: string | undefined;
6026
6026
  keepAssignment?: boolean | undefined;
6027
6027
  }>;
6028
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>;
6029
6037
  /**
6030
6038
  * ActionInput types are used to validate the input data for the action.
6031
6039
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -6037,7 +6045,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
6037
6045
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
6038
6046
  eventId: z.ZodString;
6039
6047
  transactionId: z.ZodString;
6040
- declaration: z.ZodDefault<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<{
6041
6049
  filename: z.ZodString;
6042
6050
  originalFilename: z.ZodString;
6043
6051
  type: z.ZodString;
@@ -6151,7 +6159,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6151
6159
  addressLine3?: string | null | undefined;
6152
6160
  postcodeOrZip?: string | null | undefined;
6153
6161
  }>]>>>;
6154
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6155
6163
  filename: z.ZodString;
6156
6164
  originalFilename: z.ZodString;
6157
6165
  type: z.ZodString;
@@ -6272,6 +6280,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6272
6280
  createdAtLocation: z.ZodString;
6273
6281
  }>, "strip", z.ZodTypeAny, {
6274
6282
  type: "CREATE";
6283
+ transactionId: string;
6275
6284
  declaration: Record<string, string | number | boolean | {
6276
6285
  type: string;
6277
6286
  filename: string;
@@ -6309,10 +6318,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6309
6318
  option: string;
6310
6319
  filename: string;
6311
6320
  originalFilename: string;
6312
- }[] | undefined>;
6321
+ }[] | [string, string] | undefined>;
6313
6322
  createdAtLocation: string;
6314
6323
  eventId: string;
6315
- transactionId: string;
6316
6324
  annotation?: Record<string, string | number | boolean | {
6317
6325
  type: string;
6318
6326
  filename: string;
@@ -6350,13 +6358,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6350
6358
  option: string;
6351
6359
  filename: string;
6352
6360
  originalFilename: string;
6353
- }[] | undefined> | undefined;
6361
+ }[] | [string, string] | undefined> | undefined;
6354
6362
  originalActionId?: string | undefined;
6355
6363
  keepAssignment?: boolean | undefined;
6356
6364
  }, {
6365
+ transactionId: string;
6357
6366
  createdAtLocation: string;
6358
6367
  eventId: string;
6359
- transactionId: string;
6360
6368
  type?: "CREATE" | undefined;
6361
6369
  declaration?: Record<string, string | number | boolean | {
6362
6370
  type: string;
@@ -6395,7 +6403,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6395
6403
  option: string;
6396
6404
  filename: string;
6397
6405
  originalFilename: string;
6398
- }[] | undefined> | undefined;
6406
+ }[] | [string, string] | undefined> | undefined;
6399
6407
  annotation?: Record<string, string | number | boolean | {
6400
6408
  type: string;
6401
6409
  filename: string;
@@ -6433,13 +6441,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6433
6441
  option: string;
6434
6442
  filename: string;
6435
6443
  originalFilename: string;
6436
- }[] | undefined> | undefined;
6444
+ }[] | [string, string] | undefined> | undefined;
6437
6445
  originalActionId?: string | undefined;
6438
6446
  keepAssignment?: boolean | undefined;
6439
6447
  }>, z.ZodObject<z.objectUtil.extendShape<{
6440
6448
  eventId: z.ZodString;
6441
6449
  transactionId: z.ZodString;
6442
- declaration: z.ZodDefault<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<{
6443
6451
  filename: z.ZodString;
6444
6452
  originalFilename: z.ZodString;
6445
6453
  type: z.ZodString;
@@ -6553,7 +6561,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6553
6561
  addressLine3?: string | null | undefined;
6554
6562
  postcodeOrZip?: string | null | undefined;
6555
6563
  }>]>>>;
6556
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6557
6565
  filename: z.ZodString;
6558
6566
  originalFilename: z.ZodString;
6559
6567
  type: z.ZodString;
@@ -6674,6 +6682,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6674
6682
  duplicates: z.ZodArray<z.ZodString, "many">;
6675
6683
  }>, "strip", z.ZodTypeAny, {
6676
6684
  type: "VALIDATE";
6685
+ transactionId: string;
6677
6686
  declaration: Record<string, string | number | boolean | {
6678
6687
  type: string;
6679
6688
  filename: string;
@@ -6711,9 +6720,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6711
6720
  option: string;
6712
6721
  filename: string;
6713
6722
  originalFilename: string;
6714
- }[] | undefined>;
6723
+ }[] | [string, string] | undefined>;
6715
6724
  eventId: string;
6716
- transactionId: string;
6717
6725
  duplicates: string[];
6718
6726
  annotation?: Record<string, string | number | boolean | {
6719
6727
  type: string;
@@ -6752,12 +6760,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6752
6760
  option: string;
6753
6761
  filename: string;
6754
6762
  originalFilename: string;
6755
- }[] | undefined> | undefined;
6763
+ }[] | [string, string] | undefined> | undefined;
6756
6764
  originalActionId?: string | undefined;
6757
6765
  keepAssignment?: boolean | undefined;
6758
6766
  }, {
6759
- eventId: string;
6760
6767
  transactionId: string;
6768
+ eventId: string;
6761
6769
  duplicates: string[];
6762
6770
  type?: "VALIDATE" | undefined;
6763
6771
  declaration?: Record<string, string | number | boolean | {
@@ -6797,7 +6805,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6797
6805
  option: string;
6798
6806
  filename: string;
6799
6807
  originalFilename: string;
6800
- }[] | undefined> | undefined;
6808
+ }[] | [string, string] | undefined> | undefined;
6801
6809
  annotation?: Record<string, string | number | boolean | {
6802
6810
  type: string;
6803
6811
  filename: string;
@@ -6835,13 +6843,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6835
6843
  option: string;
6836
6844
  filename: string;
6837
6845
  originalFilename: string;
6838
- }[] | undefined> | undefined;
6846
+ }[] | [string, string] | undefined> | undefined;
6839
6847
  originalActionId?: string | undefined;
6840
6848
  keepAssignment?: boolean | undefined;
6841
6849
  }>, z.ZodObject<z.objectUtil.extendShape<{
6842
6850
  eventId: z.ZodString;
6843
6851
  transactionId: z.ZodString;
6844
- declaration: z.ZodDefault<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<{
6845
6853
  filename: z.ZodString;
6846
6854
  originalFilename: z.ZodString;
6847
6855
  type: z.ZodString;
@@ -6955,7 +6963,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6955
6963
  addressLine3?: string | null | undefined;
6956
6964
  postcodeOrZip?: string | null | undefined;
6957
6965
  }>]>>>;
6958
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6959
6967
  filename: z.ZodString;
6960
6968
  originalFilename: z.ZodString;
6961
6969
  type: z.ZodString;
@@ -7076,6 +7084,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7076
7084
  registrationNumber: z.ZodOptional<z.ZodString>;
7077
7085
  }>, "strip", z.ZodTypeAny, {
7078
7086
  type: "REGISTER";
7087
+ transactionId: string;
7079
7088
  declaration: Record<string, string | number | boolean | {
7080
7089
  type: string;
7081
7090
  filename: string;
@@ -7113,9 +7122,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7113
7122
  option: string;
7114
7123
  filename: string;
7115
7124
  originalFilename: string;
7116
- }[] | undefined>;
7125
+ }[] | [string, string] | undefined>;
7117
7126
  eventId: string;
7118
- transactionId: string;
7119
7127
  annotation?: Record<string, string | number | boolean | {
7120
7128
  type: string;
7121
7129
  filename: string;
@@ -7153,13 +7161,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7153
7161
  option: string;
7154
7162
  filename: string;
7155
7163
  originalFilename: string;
7156
- }[] | undefined> | undefined;
7164
+ }[] | [string, string] | undefined> | undefined;
7157
7165
  originalActionId?: string | undefined;
7158
7166
  registrationNumber?: string | undefined;
7159
7167
  keepAssignment?: boolean | undefined;
7160
7168
  }, {
7161
- eventId: string;
7162
7169
  transactionId: string;
7170
+ eventId: string;
7163
7171
  type?: "REGISTER" | undefined;
7164
7172
  declaration?: Record<string, string | number | boolean | {
7165
7173
  type: string;
@@ -7198,7 +7206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7198
7206
  option: string;
7199
7207
  filename: string;
7200
7208
  originalFilename: string;
7201
- }[] | undefined> | undefined;
7209
+ }[] | [string, string] | undefined> | undefined;
7202
7210
  annotation?: Record<string, string | number | boolean | {
7203
7211
  type: string;
7204
7212
  filename: string;
@@ -7236,14 +7244,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7236
7244
  option: string;
7237
7245
  filename: string;
7238
7246
  originalFilename: string;
7239
- }[] | undefined> | undefined;
7247
+ }[] | [string, string] | undefined> | undefined;
7240
7248
  originalActionId?: string | undefined;
7241
7249
  registrationNumber?: string | undefined;
7242
7250
  keepAssignment?: boolean | undefined;
7243
7251
  }>, z.ZodObject<z.objectUtil.extendShape<{
7244
7252
  eventId: z.ZodString;
7245
7253
  transactionId: z.ZodString;
7246
- declaration: z.ZodDefault<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<{
7247
7255
  filename: z.ZodString;
7248
7256
  originalFilename: z.ZodString;
7249
7257
  type: z.ZodString;
@@ -7357,7 +7365,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7357
7365
  addressLine3?: string | null | undefined;
7358
7366
  postcodeOrZip?: string | null | undefined;
7359
7367
  }>]>>>;
7360
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7361
7369
  filename: z.ZodString;
7362
7370
  originalFilename: z.ZodString;
7363
7371
  type: z.ZodString;
@@ -7477,6 +7485,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7477
7485
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
7478
7486
  }>, "strip", z.ZodTypeAny, {
7479
7487
  type: "NOTIFY";
7488
+ transactionId: string;
7480
7489
  declaration: Record<string, string | number | boolean | {
7481
7490
  type: string;
7482
7491
  filename: string;
@@ -7514,9 +7523,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7514
7523
  option: string;
7515
7524
  filename: string;
7516
7525
  originalFilename: string;
7517
- }[] | undefined>;
7526
+ }[] | [string, string] | undefined>;
7518
7527
  eventId: string;
7519
- transactionId: string;
7520
7528
  annotation?: Record<string, string | number | boolean | {
7521
7529
  type: string;
7522
7530
  filename: string;
@@ -7554,12 +7562,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7554
7562
  option: string;
7555
7563
  filename: string;
7556
7564
  originalFilename: string;
7557
- }[] | undefined> | undefined;
7565
+ }[] | [string, string] | undefined> | undefined;
7558
7566
  originalActionId?: string | undefined;
7559
7567
  keepAssignment?: boolean | undefined;
7560
7568
  }, {
7561
- eventId: string;
7562
7569
  transactionId: string;
7570
+ eventId: string;
7563
7571
  type?: "NOTIFY" | undefined;
7564
7572
  declaration?: Record<string, string | number | boolean | {
7565
7573
  type: string;
@@ -7598,7 +7606,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7598
7606
  option: string;
7599
7607
  filename: string;
7600
7608
  originalFilename: string;
7601
- }[] | undefined> | undefined;
7609
+ }[] | [string, string] | undefined> | undefined;
7602
7610
  annotation?: Record<string, string | number | boolean | {
7603
7611
  type: string;
7604
7612
  filename: string;
@@ -7636,13 +7644,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7636
7644
  option: string;
7637
7645
  filename: string;
7638
7646
  originalFilename: string;
7639
- }[] | undefined> | undefined;
7647
+ }[] | [string, string] | undefined> | undefined;
7640
7648
  originalActionId?: string | undefined;
7641
7649
  keepAssignment?: boolean | undefined;
7642
7650
  }>, z.ZodObject<z.objectUtil.extendShape<{
7643
7651
  eventId: z.ZodString;
7644
7652
  transactionId: z.ZodString;
7645
- declaration: z.ZodDefault<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<{
7646
7654
  filename: z.ZodString;
7647
7655
  originalFilename: z.ZodString;
7648
7656
  type: z.ZodString;
@@ -7756,7 +7764,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7756
7764
  addressLine3?: string | null | undefined;
7757
7765
  postcodeOrZip?: string | null | undefined;
7758
7766
  }>]>>>;
7759
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7760
7768
  filename: z.ZodString;
7761
7769
  originalFilename: z.ZodString;
7762
7770
  type: z.ZodString;
@@ -7876,6 +7884,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7876
7884
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7877
7885
  }>, "strip", z.ZodTypeAny, {
7878
7886
  type: "DECLARE";
7887
+ transactionId: string;
7879
7888
  declaration: Record<string, string | number | boolean | {
7880
7889
  type: string;
7881
7890
  filename: string;
@@ -7913,9 +7922,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7913
7922
  option: string;
7914
7923
  filename: string;
7915
7924
  originalFilename: string;
7916
- }[] | undefined>;
7925
+ }[] | [string, string] | undefined>;
7917
7926
  eventId: string;
7918
- transactionId: string;
7919
7927
  annotation?: Record<string, string | number | boolean | {
7920
7928
  type: string;
7921
7929
  filename: string;
@@ -7953,12 +7961,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7953
7961
  option: string;
7954
7962
  filename: string;
7955
7963
  originalFilename: string;
7956
- }[] | undefined> | undefined;
7964
+ }[] | [string, string] | undefined> | undefined;
7957
7965
  originalActionId?: string | undefined;
7958
7966
  keepAssignment?: boolean | undefined;
7959
7967
  }, {
7960
- eventId: string;
7961
7968
  transactionId: string;
7969
+ eventId: string;
7962
7970
  type?: "DECLARE" | undefined;
7963
7971
  declaration?: Record<string, string | number | boolean | {
7964
7972
  type: string;
@@ -7997,7 +8005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7997
8005
  option: string;
7998
8006
  filename: string;
7999
8007
  originalFilename: string;
8000
- }[] | undefined> | undefined;
8008
+ }[] | [string, string] | undefined> | undefined;
8001
8009
  annotation?: Record<string, string | number | boolean | {
8002
8010
  type: string;
8003
8011
  filename: string;
@@ -8035,13 +8043,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8035
8043
  option: string;
8036
8044
  filename: string;
8037
8045
  originalFilename: string;
8038
- }[] | undefined> | undefined;
8046
+ }[] | [string, string] | undefined> | undefined;
8039
8047
  originalActionId?: string | undefined;
8040
8048
  keepAssignment?: boolean | undefined;
8041
8049
  }>, z.ZodObject<z.objectUtil.extendShape<{
8042
8050
  eventId: z.ZodString;
8043
8051
  transactionId: z.ZodString;
8044
- declaration: z.ZodDefault<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<{
8045
8053
  filename: z.ZodString;
8046
8054
  originalFilename: z.ZodString;
8047
8055
  type: z.ZodString;
@@ -8155,7 +8163,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8155
8163
  addressLine3?: string | null | undefined;
8156
8164
  postcodeOrZip?: string | null | undefined;
8157
8165
  }>]>>>;
8158
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8159
8167
  filename: z.ZodString;
8160
8168
  originalFilename: z.ZodString;
8161
8169
  type: z.ZodString;
@@ -8275,6 +8283,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8275
8283
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8276
8284
  }>, "strip", z.ZodTypeAny, {
8277
8285
  type: "REJECT";
8286
+ transactionId: string;
8278
8287
  declaration: Record<string, string | number | boolean | {
8279
8288
  type: string;
8280
8289
  filename: string;
@@ -8312,9 +8321,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8312
8321
  option: string;
8313
8322
  filename: string;
8314
8323
  originalFilename: string;
8315
- }[] | undefined>;
8324
+ }[] | [string, string] | undefined>;
8316
8325
  eventId: string;
8317
- transactionId: string;
8318
8326
  annotation?: Record<string, string | number | boolean | {
8319
8327
  type: string;
8320
8328
  filename: string;
@@ -8352,12 +8360,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8352
8360
  option: string;
8353
8361
  filename: string;
8354
8362
  originalFilename: string;
8355
- }[] | undefined> | undefined;
8363
+ }[] | [string, string] | undefined> | undefined;
8356
8364
  originalActionId?: string | undefined;
8357
8365
  keepAssignment?: boolean | undefined;
8358
8366
  }, {
8359
- eventId: string;
8360
8367
  transactionId: string;
8368
+ eventId: string;
8361
8369
  type?: "REJECT" | undefined;
8362
8370
  declaration?: Record<string, string | number | boolean | {
8363
8371
  type: string;
@@ -8396,7 +8404,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8396
8404
  option: string;
8397
8405
  filename: string;
8398
8406
  originalFilename: string;
8399
- }[] | undefined> | undefined;
8407
+ }[] | [string, string] | undefined> | undefined;
8400
8408
  annotation?: Record<string, string | number | boolean | {
8401
8409
  type: string;
8402
8410
  filename: string;
@@ -8434,13 +8442,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8434
8442
  option: string;
8435
8443
  filename: string;
8436
8444
  originalFilename: string;
8437
- }[] | undefined> | undefined;
8445
+ }[] | [string, string] | undefined> | undefined;
8438
8446
  originalActionId?: string | undefined;
8439
8447
  keepAssignment?: boolean | undefined;
8440
8448
  }>, z.ZodObject<z.objectUtil.extendShape<{
8441
8449
  eventId: z.ZodString;
8442
8450
  transactionId: z.ZodString;
8443
- declaration: z.ZodDefault<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<{
8444
8452
  filename: z.ZodString;
8445
8453
  originalFilename: z.ZodString;
8446
8454
  type: z.ZodString;
@@ -8554,7 +8562,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8554
8562
  addressLine3?: string | null | undefined;
8555
8563
  postcodeOrZip?: string | null | undefined;
8556
8564
  }>]>>>;
8557
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8558
8566
  filename: z.ZodString;
8559
8567
  originalFilename: z.ZodString;
8560
8568
  type: z.ZodString;
@@ -8674,6 +8682,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8674
8682
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
8675
8683
  }>, "strip", z.ZodTypeAny, {
8676
8684
  type: "MARKED_AS_DUPLICATE";
8685
+ transactionId: string;
8677
8686
  declaration: Record<string, string | number | boolean | {
8678
8687
  type: string;
8679
8688
  filename: string;
@@ -8711,9 +8720,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8711
8720
  option: string;
8712
8721
  filename: string;
8713
8722
  originalFilename: string;
8714
- }[] | undefined>;
8723
+ }[] | [string, string] | undefined>;
8715
8724
  eventId: string;
8716
- transactionId: string;
8717
8725
  annotation?: Record<string, string | number | boolean | {
8718
8726
  type: string;
8719
8727
  filename: string;
@@ -8751,12 +8759,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8751
8759
  option: string;
8752
8760
  filename: string;
8753
8761
  originalFilename: string;
8754
- }[] | undefined> | undefined;
8762
+ }[] | [string, string] | undefined> | undefined;
8755
8763
  originalActionId?: string | undefined;
8756
8764
  keepAssignment?: boolean | undefined;
8757
8765
  }, {
8758
- eventId: string;
8759
8766
  transactionId: string;
8767
+ eventId: string;
8760
8768
  type?: "MARKED_AS_DUPLICATE" | undefined;
8761
8769
  declaration?: Record<string, string | number | boolean | {
8762
8770
  type: string;
@@ -8795,7 +8803,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8795
8803
  option: string;
8796
8804
  filename: string;
8797
8805
  originalFilename: string;
8798
- }[] | undefined> | undefined;
8806
+ }[] | [string, string] | undefined> | undefined;
8799
8807
  annotation?: Record<string, string | number | boolean | {
8800
8808
  type: string;
8801
8809
  filename: string;
@@ -8833,13 +8841,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8833
8841
  option: string;
8834
8842
  filename: string;
8835
8843
  originalFilename: string;
8836
- }[] | undefined> | undefined;
8844
+ }[] | [string, string] | undefined> | undefined;
8837
8845
  originalActionId?: string | undefined;
8838
8846
  keepAssignment?: boolean | undefined;
8839
8847
  }>, z.ZodObject<z.objectUtil.extendShape<{
8840
8848
  eventId: z.ZodString;
8841
8849
  transactionId: z.ZodString;
8842
- declaration: z.ZodDefault<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<{
8843
8851
  filename: z.ZodString;
8844
8852
  originalFilename: z.ZodString;
8845
8853
  type: z.ZodString;
@@ -8953,7 +8961,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8953
8961
  addressLine3?: string | null | undefined;
8954
8962
  postcodeOrZip?: string | null | undefined;
8955
8963
  }>]>>>;
8956
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8957
8965
  filename: z.ZodString;
8958
8966
  originalFilename: z.ZodString;
8959
8967
  type: z.ZodString;
@@ -9073,6 +9081,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9073
9081
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9074
9082
  }>, "strip", z.ZodTypeAny, {
9075
9083
  type: "ARCHIVE";
9084
+ transactionId: string;
9076
9085
  declaration: Record<string, string | number | boolean | {
9077
9086
  type: string;
9078
9087
  filename: string;
@@ -9110,9 +9119,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9110
9119
  option: string;
9111
9120
  filename: string;
9112
9121
  originalFilename: string;
9113
- }[] | undefined>;
9122
+ }[] | [string, string] | undefined>;
9114
9123
  eventId: string;
9115
- transactionId: string;
9116
9124
  annotation?: Record<string, string | number | boolean | {
9117
9125
  type: string;
9118
9126
  filename: string;
@@ -9150,12 +9158,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9150
9158
  option: string;
9151
9159
  filename: string;
9152
9160
  originalFilename: string;
9153
- }[] | undefined> | undefined;
9161
+ }[] | [string, string] | undefined> | undefined;
9154
9162
  originalActionId?: string | undefined;
9155
9163
  keepAssignment?: boolean | undefined;
9156
9164
  }, {
9157
- eventId: string;
9158
9165
  transactionId: string;
9166
+ eventId: string;
9159
9167
  type?: "ARCHIVE" | undefined;
9160
9168
  declaration?: Record<string, string | number | boolean | {
9161
9169
  type: string;
@@ -9194,7 +9202,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9194
9202
  option: string;
9195
9203
  filename: string;
9196
9204
  originalFilename: string;
9197
- }[] | undefined> | undefined;
9205
+ }[] | [string, string] | undefined> | undefined;
9198
9206
  annotation?: Record<string, string | number | boolean | {
9199
9207
  type: string;
9200
9208
  filename: string;
@@ -9232,13 +9240,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9232
9240
  option: string;
9233
9241
  filename: string;
9234
9242
  originalFilename: string;
9235
- }[] | undefined> | undefined;
9243
+ }[] | [string, string] | undefined> | undefined;
9236
9244
  originalActionId?: string | undefined;
9237
9245
  keepAssignment?: boolean | undefined;
9238
9246
  }>, z.ZodObject<z.objectUtil.extendShape<{
9239
9247
  eventId: z.ZodString;
9240
9248
  transactionId: z.ZodString;
9241
- declaration: z.ZodDefault<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<{
9242
9250
  filename: z.ZodString;
9243
9251
  originalFilename: z.ZodString;
9244
9252
  type: z.ZodString;
@@ -9352,7 +9360,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9352
9360
  addressLine3?: string | null | undefined;
9353
9361
  postcodeOrZip?: string | null | undefined;
9354
9362
  }>]>>>;
9355
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9356
9364
  filename: z.ZodString;
9357
9365
  originalFilename: z.ZodString;
9358
9366
  type: z.ZodString;
@@ -9473,6 +9481,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9473
9481
  assignedTo: z.ZodString;
9474
9482
  }>, "strip", z.ZodTypeAny, {
9475
9483
  type: "ASSIGN";
9484
+ transactionId: string;
9476
9485
  declaration: Record<string, string | number | boolean | {
9477
9486
  type: string;
9478
9487
  filename: string;
@@ -9510,10 +9519,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9510
9519
  option: string;
9511
9520
  filename: string;
9512
9521
  originalFilename: string;
9513
- }[] | undefined>;
9522
+ }[] | [string, string] | undefined>;
9514
9523
  assignedTo: string;
9515
9524
  eventId: string;
9516
- transactionId: string;
9517
9525
  annotation?: Record<string, string | number | boolean | {
9518
9526
  type: string;
9519
9527
  filename: string;
@@ -9551,13 +9559,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9551
9559
  option: string;
9552
9560
  filename: string;
9553
9561
  originalFilename: string;
9554
- }[] | undefined> | undefined;
9562
+ }[] | [string, string] | undefined> | undefined;
9555
9563
  originalActionId?: string | undefined;
9556
9564
  keepAssignment?: boolean | undefined;
9557
9565
  }, {
9566
+ transactionId: string;
9558
9567
  assignedTo: string;
9559
9568
  eventId: string;
9560
- transactionId: string;
9561
9569
  type?: "ASSIGN" | undefined;
9562
9570
  declaration?: Record<string, string | number | boolean | {
9563
9571
  type: string;
@@ -9596,7 +9604,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9596
9604
  option: string;
9597
9605
  filename: string;
9598
9606
  originalFilename: string;
9599
- }[] | undefined> | undefined;
9607
+ }[] | [string, string] | undefined> | undefined;
9600
9608
  annotation?: Record<string, string | number | boolean | {
9601
9609
  type: string;
9602
9610
  filename: string;
@@ -9634,13 +9642,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9634
9642
  option: string;
9635
9643
  filename: string;
9636
9644
  originalFilename: string;
9637
- }[] | undefined> | undefined;
9645
+ }[] | [string, string] | undefined> | undefined;
9638
9646
  originalActionId?: string | undefined;
9639
9647
  keepAssignment?: boolean | undefined;
9640
9648
  }>, z.ZodObject<z.objectUtil.extendShape<{
9641
9649
  eventId: z.ZodString;
9642
9650
  transactionId: z.ZodString;
9643
- declaration: z.ZodDefault<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<{
9644
9652
  filename: z.ZodString;
9645
9653
  originalFilename: z.ZodString;
9646
9654
  type: z.ZodString;
@@ -9754,7 +9762,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9754
9762
  addressLine3?: string | null | undefined;
9755
9763
  postcodeOrZip?: string | null | undefined;
9756
9764
  }>]>>>;
9757
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9758
9766
  filename: z.ZodString;
9759
9767
  originalFilename: z.ZodString;
9760
9768
  type: z.ZodString;
@@ -9875,6 +9883,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9875
9883
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9876
9884
  }>, "strip", z.ZodTypeAny, {
9877
9885
  type: "UNASSIGN";
9886
+ transactionId: string;
9878
9887
  declaration: Record<string, string | number | boolean | {
9879
9888
  type: string;
9880
9889
  filename: string;
@@ -9912,10 +9921,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9912
9921
  option: string;
9913
9922
  filename: string;
9914
9923
  originalFilename: string;
9915
- }[] | undefined>;
9924
+ }[] | [string, string] | undefined>;
9916
9925
  assignedTo: null;
9917
9926
  eventId: string;
9918
- transactionId: string;
9919
9927
  annotation?: Record<string, string | number | boolean | {
9920
9928
  type: string;
9921
9929
  filename: string;
@@ -9953,12 +9961,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9953
9961
  option: string;
9954
9962
  filename: string;
9955
9963
  originalFilename: string;
9956
- }[] | undefined> | undefined;
9964
+ }[] | [string, string] | undefined> | undefined;
9957
9965
  originalActionId?: string | undefined;
9958
9966
  keepAssignment?: boolean | undefined;
9959
9967
  }, {
9960
- eventId: string;
9961
9968
  transactionId: string;
9969
+ eventId: string;
9962
9970
  type?: "UNASSIGN" | undefined;
9963
9971
  declaration?: Record<string, string | number | boolean | {
9964
9972
  type: string;
@@ -9997,7 +10005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9997
10005
  option: string;
9998
10006
  filename: string;
9999
10007
  originalFilename: string;
10000
- }[] | undefined> | undefined;
10008
+ }[] | [string, string] | undefined> | undefined;
10001
10009
  annotation?: Record<string, string | number | boolean | {
10002
10010
  type: string;
10003
10011
  filename: string;
@@ -10035,14 +10043,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10035
10043
  option: string;
10036
10044
  filename: string;
10037
10045
  originalFilename: string;
10038
- }[] | undefined> | undefined;
10046
+ }[] | [string, string] | undefined> | undefined;
10039
10047
  originalActionId?: string | undefined;
10040
10048
  assignedTo?: null | undefined;
10041
10049
  keepAssignment?: boolean | undefined;
10042
10050
  }>, z.ZodObject<z.objectUtil.extendShape<{
10043
10051
  eventId: z.ZodString;
10044
10052
  transactionId: z.ZodString;
10045
- declaration: z.ZodDefault<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<{
10046
10054
  filename: z.ZodString;
10047
10055
  originalFilename: z.ZodString;
10048
10056
  type: z.ZodString;
@@ -10156,7 +10164,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10156
10164
  addressLine3?: string | null | undefined;
10157
10165
  postcodeOrZip?: string | null | undefined;
10158
10166
  }>]>>>;
10159
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10160
10168
  filename: z.ZodString;
10161
10169
  originalFilename: z.ZodString;
10162
10170
  type: z.ZodString;
@@ -10276,6 +10284,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10276
10284
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
10277
10285
  }>, "strip", z.ZodTypeAny, {
10278
10286
  type: "PRINT_CERTIFICATE";
10287
+ transactionId: string;
10279
10288
  declaration: Record<string, string | number | boolean | {
10280
10289
  type: string;
10281
10290
  filename: string;
@@ -10313,9 +10322,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10313
10322
  option: string;
10314
10323
  filename: string;
10315
10324
  originalFilename: string;
10316
- }[] | undefined>;
10325
+ }[] | [string, string] | undefined>;
10317
10326
  eventId: string;
10318
- transactionId: string;
10319
10327
  annotation?: Record<string, string | number | boolean | {
10320
10328
  type: string;
10321
10329
  filename: string;
@@ -10353,12 +10361,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10353
10361
  option: string;
10354
10362
  filename: string;
10355
10363
  originalFilename: string;
10356
- }[] | undefined> | undefined;
10364
+ }[] | [string, string] | undefined> | undefined;
10357
10365
  originalActionId?: string | undefined;
10358
10366
  keepAssignment?: boolean | undefined;
10359
10367
  }, {
10360
- eventId: string;
10361
10368
  transactionId: string;
10369
+ eventId: string;
10362
10370
  type?: "PRINT_CERTIFICATE" | undefined;
10363
10371
  declaration?: Record<string, string | number | boolean | {
10364
10372
  type: string;
@@ -10397,7 +10405,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10397
10405
  option: string;
10398
10406
  filename: string;
10399
10407
  originalFilename: string;
10400
- }[] | undefined> | undefined;
10408
+ }[] | [string, string] | undefined> | undefined;
10401
10409
  annotation?: Record<string, string | number | boolean | {
10402
10410
  type: string;
10403
10411
  filename: string;
@@ -10435,13 +10443,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10435
10443
  option: string;
10436
10444
  filename: string;
10437
10445
  originalFilename: string;
10438
- }[] | undefined> | undefined;
10446
+ }[] | [string, string] | undefined> | undefined;
10439
10447
  originalActionId?: string | undefined;
10440
10448
  keepAssignment?: boolean | undefined;
10441
10449
  }>, z.ZodObject<z.objectUtil.extendShape<{
10442
10450
  eventId: z.ZodString;
10443
10451
  transactionId: z.ZodString;
10444
- declaration: z.ZodDefault<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<{
10445
10453
  filename: z.ZodString;
10446
10454
  originalFilename: z.ZodString;
10447
10455
  type: z.ZodString;
@@ -10555,7 +10563,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10555
10563
  addressLine3?: string | null | undefined;
10556
10564
  postcodeOrZip?: string | null | undefined;
10557
10565
  }>]>>>;
10558
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10559
10567
  filename: z.ZodString;
10560
10568
  originalFilename: z.ZodString;
10561
10569
  type: z.ZodString;
@@ -10675,6 +10683,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10675
10683
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
10676
10684
  }>, "strip", z.ZodTypeAny, {
10677
10685
  type: "REQUEST_CORRECTION";
10686
+ transactionId: string;
10678
10687
  declaration: Record<string, string | number | boolean | {
10679
10688
  type: string;
10680
10689
  filename: string;
@@ -10712,9 +10721,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10712
10721
  option: string;
10713
10722
  filename: string;
10714
10723
  originalFilename: string;
10715
- }[] | undefined>;
10724
+ }[] | [string, string] | undefined>;
10716
10725
  eventId: string;
10717
- transactionId: string;
10718
10726
  annotation?: Record<string, string | number | boolean | {
10719
10727
  type: string;
10720
10728
  filename: string;
@@ -10752,12 +10760,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10752
10760
  option: string;
10753
10761
  filename: string;
10754
10762
  originalFilename: string;
10755
- }[] | undefined> | undefined;
10763
+ }[] | [string, string] | undefined> | undefined;
10756
10764
  originalActionId?: string | undefined;
10757
10765
  keepAssignment?: boolean | undefined;
10758
10766
  }, {
10759
- eventId: string;
10760
10767
  transactionId: string;
10768
+ eventId: string;
10761
10769
  type?: "REQUEST_CORRECTION" | undefined;
10762
10770
  declaration?: Record<string, string | number | boolean | {
10763
10771
  type: string;
@@ -10796,7 +10804,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10796
10804
  option: string;
10797
10805
  filename: string;
10798
10806
  originalFilename: string;
10799
- }[] | undefined> | undefined;
10807
+ }[] | [string, string] | undefined> | undefined;
10800
10808
  annotation?: Record<string, string | number | boolean | {
10801
10809
  type: string;
10802
10810
  filename: string;
@@ -10834,13 +10842,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10834
10842
  option: string;
10835
10843
  filename: string;
10836
10844
  originalFilename: string;
10837
- }[] | undefined> | undefined;
10845
+ }[] | [string, string] | undefined> | undefined;
10838
10846
  originalActionId?: string | undefined;
10839
10847
  keepAssignment?: boolean | undefined;
10840
10848
  }>, z.ZodObject<z.objectUtil.extendShape<{
10841
10849
  eventId: z.ZodString;
10842
10850
  transactionId: z.ZodString;
10843
- declaration: z.ZodDefault<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<{
10844
10852
  filename: z.ZodString;
10845
10853
  originalFilename: z.ZodString;
10846
10854
  type: z.ZodString;
@@ -10954,7 +10962,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10954
10962
  addressLine3?: string | null | undefined;
10955
10963
  postcodeOrZip?: string | null | undefined;
10956
10964
  }>]>>>;
10957
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10958
10966
  filename: z.ZodString;
10959
10967
  originalFilename: z.ZodString;
10960
10968
  type: z.ZodString;
@@ -11075,6 +11083,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11075
11083
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
11076
11084
  }>, "strip", z.ZodTypeAny, {
11077
11085
  type: "REJECT_CORRECTION";
11086
+ transactionId: string;
11078
11087
  declaration: Record<string, string | number | boolean | {
11079
11088
  type: string;
11080
11089
  filename: string;
@@ -11112,10 +11121,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11112
11121
  option: string;
11113
11122
  filename: string;
11114
11123
  originalFilename: string;
11115
- }[] | undefined>;
11124
+ }[] | [string, string] | undefined>;
11116
11125
  requestId: string;
11117
11126
  eventId: string;
11118
- transactionId: string;
11119
11127
  annotation?: Record<string, string | number | boolean | {
11120
11128
  type: string;
11121
11129
  filename: string;
@@ -11153,13 +11161,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11153
11161
  option: string;
11154
11162
  filename: string;
11155
11163
  originalFilename: string;
11156
- }[] | undefined> | undefined;
11164
+ }[] | [string, string] | undefined> | undefined;
11157
11165
  originalActionId?: string | undefined;
11158
11166
  keepAssignment?: boolean | undefined;
11159
11167
  }, {
11168
+ transactionId: string;
11160
11169
  requestId: string;
11161
11170
  eventId: string;
11162
- transactionId: string;
11163
11171
  type?: "REJECT_CORRECTION" | undefined;
11164
11172
  declaration?: Record<string, string | number | boolean | {
11165
11173
  type: string;
@@ -11198,7 +11206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11198
11206
  option: string;
11199
11207
  filename: string;
11200
11208
  originalFilename: string;
11201
- }[] | undefined> | undefined;
11209
+ }[] | [string, string] | undefined> | undefined;
11202
11210
  annotation?: Record<string, string | number | boolean | {
11203
11211
  type: string;
11204
11212
  filename: string;
@@ -11236,13 +11244,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11236
11244
  option: string;
11237
11245
  filename: string;
11238
11246
  originalFilename: string;
11239
- }[] | undefined> | undefined;
11247
+ }[] | [string, string] | undefined> | undefined;
11240
11248
  originalActionId?: string | undefined;
11241
11249
  keepAssignment?: boolean | undefined;
11242
11250
  }>, z.ZodObject<z.objectUtil.extendShape<{
11243
11251
  eventId: z.ZodString;
11244
11252
  transactionId: z.ZodString;
11245
- declaration: z.ZodDefault<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<{
11246
11254
  filename: z.ZodString;
11247
11255
  originalFilename: z.ZodString;
11248
11256
  type: z.ZodString;
@@ -11356,7 +11364,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11356
11364
  addressLine3?: string | null | undefined;
11357
11365
  postcodeOrZip?: string | null | undefined;
11358
11366
  }>]>>>;
11359
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11360
11368
  filename: z.ZodString;
11361
11369
  originalFilename: z.ZodString;
11362
11370
  type: z.ZodString;
@@ -11477,6 +11485,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11477
11485
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
11478
11486
  }>, "strip", z.ZodTypeAny, {
11479
11487
  type: "APPROVE_CORRECTION";
11488
+ transactionId: string;
11480
11489
  declaration: Record<string, string | number | boolean | {
11481
11490
  type: string;
11482
11491
  filename: string;
@@ -11514,10 +11523,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11514
11523
  option: string;
11515
11524
  filename: string;
11516
11525
  originalFilename: string;
11517
- }[] | undefined>;
11526
+ }[] | [string, string] | undefined>;
11518
11527
  requestId: string;
11519
11528
  eventId: string;
11520
- transactionId: string;
11521
11529
  annotation?: Record<string, string | number | boolean | {
11522
11530
  type: string;
11523
11531
  filename: string;
@@ -11555,13 +11563,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11555
11563
  option: string;
11556
11564
  filename: string;
11557
11565
  originalFilename: string;
11558
- }[] | undefined> | undefined;
11566
+ }[] | [string, string] | undefined> | undefined;
11559
11567
  originalActionId?: string | undefined;
11560
11568
  keepAssignment?: boolean | undefined;
11561
11569
  }, {
11570
+ transactionId: string;
11562
11571
  requestId: string;
11563
11572
  eventId: string;
11564
- transactionId: string;
11565
11573
  type?: "APPROVE_CORRECTION" | undefined;
11566
11574
  declaration?: Record<string, string | number | boolean | {
11567
11575
  type: string;
@@ -11600,7 +11608,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11600
11608
  option: string;
11601
11609
  filename: string;
11602
11610
  originalFilename: string;
11603
- }[] | undefined> | undefined;
11611
+ }[] | [string, string] | undefined> | undefined;
11604
11612
  annotation?: Record<string, string | number | boolean | {
11605
11613
  type: string;
11606
11614
  filename: string;
@@ -11638,13 +11646,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11638
11646
  option: string;
11639
11647
  filename: string;
11640
11648
  originalFilename: string;
11641
- }[] | undefined> | undefined;
11649
+ }[] | [string, string] | undefined> | undefined;
11642
11650
  originalActionId?: string | undefined;
11643
11651
  keepAssignment?: boolean | undefined;
11644
11652
  }>, z.ZodObject<z.objectUtil.extendShape<{
11645
11653
  eventId: z.ZodString;
11646
11654
  transactionId: z.ZodString;
11647
- declaration: z.ZodDefault<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<{
11648
11656
  filename: z.ZodString;
11649
11657
  originalFilename: z.ZodString;
11650
11658
  type: z.ZodString;
@@ -11758,7 +11766,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11758
11766
  addressLine3?: string | null | undefined;
11759
11767
  postcodeOrZip?: string | null | undefined;
11760
11768
  }>]>>>;
11761
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11762
11770
  filename: z.ZodString;
11763
11771
  originalFilename: z.ZodString;
11764
11772
  type: z.ZodString;
@@ -11878,6 +11886,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11878
11886
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
11879
11887
  }>, "strip", z.ZodTypeAny, {
11880
11888
  type: "READ";
11889
+ transactionId: string;
11881
11890
  declaration: Record<string, string | number | boolean | {
11882
11891
  type: string;
11883
11892
  filename: string;
@@ -11915,9 +11924,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11915
11924
  option: string;
11916
11925
  filename: string;
11917
11926
  originalFilename: string;
11918
- }[] | undefined>;
11927
+ }[] | [string, string] | undefined>;
11919
11928
  eventId: string;
11920
- transactionId: string;
11921
11929
  annotation?: Record<string, string | number | boolean | {
11922
11930
  type: string;
11923
11931
  filename: string;
@@ -11955,12 +11963,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11955
11963
  option: string;
11956
11964
  filename: string;
11957
11965
  originalFilename: string;
11958
- }[] | undefined> | undefined;
11966
+ }[] | [string, string] | undefined> | undefined;
11959
11967
  originalActionId?: string | undefined;
11960
11968
  keepAssignment?: boolean | undefined;
11961
11969
  }, {
11962
- eventId: string;
11963
11970
  transactionId: string;
11971
+ eventId: string;
11964
11972
  type?: "READ" | undefined;
11965
11973
  declaration?: Record<string, string | number | boolean | {
11966
11974
  type: string;
@@ -11999,7 +12007,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11999
12007
  option: string;
12000
12008
  filename: string;
12001
12009
  originalFilename: string;
12002
- }[] | undefined> | undefined;
12010
+ }[] | [string, string] | undefined> | undefined;
12003
12011
  annotation?: Record<string, string | number | boolean | {
12004
12012
  type: string;
12005
12013
  filename: string;
@@ -12037,7 +12045,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12037
12045
  option: string;
12038
12046
  filename: string;
12039
12047
  originalFilename: string;
12040
- }[] | undefined> | undefined;
12048
+ }[] | [string, string] | undefined> | undefined;
12041
12049
  originalActionId?: string | undefined;
12042
12050
  keepAssignment?: boolean | undefined;
12043
12051
  }>]>;