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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/commons/api/router.d.ts +7597 -4530
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -6
  3. package/dist/commons/events/ActionConfig.d.ts +47498 -39631
  4. package/dist/commons/events/ActionDocument.d.ts +620 -413
  5. package/dist/commons/events/ActionInput.d.ts +255 -183
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +637 -48
  7. package/dist/commons/events/Constants.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  9. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +29 -26
  11. package/dist/commons/events/EventConfig.d.ts +18414 -16593
  12. package/dist/commons/events/EventDocument.d.ts +373 -325
  13. package/dist/commons/events/EventIndex.d.ts +706 -291
  14. package/dist/commons/events/EventInput.d.ts +0 -13
  15. package/dist/commons/events/EventMetadata.d.ts +290 -14
  16. package/dist/commons/events/FieldConfig.d.ts +1305 -441
  17. package/dist/commons/events/FieldType.d.ts +3 -2
  18. package/dist/commons/events/FieldTypeMapping.d.ts +16 -6
  19. package/dist/commons/events/FieldValue.d.ts +8 -3
  20. package/dist/commons/events/FormConfig.d.ts +8993 -3809
  21. package/dist/commons/events/PageConfig.d.ts +1912 -636
  22. package/dist/commons/events/SummaryConfig.d.ts +17 -0
  23. package/dist/commons/events/User.d.ts +31 -7
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +4491 -10
  26. package/dist/commons/events/defineConfig.d.ts +3576 -3692
  27. package/dist/commons/events/event.d.ts +37 -8
  28. package/dist/commons/events/field.d.ts +28 -23
  29. package/dist/commons/events/index.d.ts +4 -0
  30. package/dist/commons/events/scopes.d.ts +21 -2
  31. package/dist/commons/events/serializer.d.ts +2 -0
  32. package/dist/commons/events/test.utils.d.ts +33 -13
  33. package/dist/commons/events/utils.d.ts +619 -291
  34. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  35. package/dist/conditionals/index.js +28 -8
  36. package/dist/events/index.js +3204 -1546
  37. package/dist/scopes/index.d.ts +158 -1
  38. package/dist/scopes/index.js +152 -1
  39. package/package.json +1 -1
@@ -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;
@@ -271,7 +271,7 @@ export declare const BaseActionInput: z.ZodObject<{
271
271
  option: string;
272
272
  filename: string;
273
273
  originalFilename: string;
274
- }[] | undefined>;
274
+ }[] | [string, string] | undefined>;
275
275
  eventId: string;
276
276
  annotation?: Record<string, string | number | boolean | {
277
277
  type: string;
@@ -310,7 +310,7 @@ 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
  }, {
@@ -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;
@@ -671,7 +671,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
671
671
  option: string;
672
672
  filename: string;
673
673
  originalFilename: string;
674
- }[] | undefined>;
674
+ }[] | [string, string] | undefined>;
675
675
  eventId: string;
676
676
  annotation?: Record<string, string | number | boolean | {
677
677
  type: string;
@@ -710,7 +710,7 @@ 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;
@@ -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;
@@ -1075,7 +1075,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1075
1075
  option: string;
1076
1076
  filename: string;
1077
1077
  originalFilename: string;
1078
- }[] | undefined>;
1078
+ }[] | [string, string] | undefined>;
1079
1079
  eventId: string;
1080
1080
  duplicates: string[];
1081
1081
  annotation?: Record<string, string | number | boolean | {
@@ -1115,7 +1115,7 @@ 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
  }, {
@@ -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;
@@ -1478,7 +1478,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1478
1478
  option: string;
1479
1479
  filename: string;
1480
1480
  originalFilename: string;
1481
- }[] | undefined>;
1481
+ }[] | [string, string] | undefined>;
1482
1482
  eventId: string;
1483
1483
  annotation?: Record<string, string | number | boolean | {
1484
1484
  type: string;
@@ -1517,7 +1517,7 @@ 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
  }, {
@@ -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;
@@ -1879,7 +1879,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1879
1879
  option: string;
1880
1880
  filename: string;
1881
1881
  originalFilename: string;
1882
- }[] | undefined>;
1882
+ }[] | [string, string] | undefined>;
1883
1883
  eventId: string;
1884
1884
  annotation?: Record<string, string | number | boolean | {
1885
1885
  type: string;
@@ -1918,7 +1918,7 @@ 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
  }, {
@@ -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;
@@ -2279,7 +2279,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2279
2279
  option: string;
2280
2280
  filename: string;
2281
2281
  originalFilename: string;
2282
- }[] | undefined>;
2282
+ }[] | [string, string] | undefined>;
2283
2283
  eventId: string;
2284
2284
  annotation?: Record<string, string | number | boolean | {
2285
2285
  type: string;
@@ -2318,7 +2318,7 @@ 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
  }, {
@@ -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;
@@ -2640,8 +2640,22 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2640
2640
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
2641
2641
  }, {
2642
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
+ reason: z.ZodObject<{
2644
+ message: z.ZodString;
2645
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2646
+ }, "strip", z.ZodTypeAny, {
2647
+ message: string;
2648
+ isDuplicate?: boolean | undefined;
2649
+ }, {
2650
+ message: string;
2651
+ isDuplicate?: boolean | undefined;
2652
+ }>;
2643
2653
  }>, "strip", z.ZodTypeAny, {
2644
2654
  type: "REJECT";
2655
+ reason: {
2656
+ message: string;
2657
+ isDuplicate?: boolean | undefined;
2658
+ };
2645
2659
  transactionId: string;
2646
2660
  declaration: Record<string, string | number | boolean | {
2647
2661
  type: string;
@@ -2680,7 +2694,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2680
2694
  option: string;
2681
2695
  filename: string;
2682
2696
  originalFilename: string;
2683
- }[] | undefined>;
2697
+ }[] | [string, string] | undefined>;
2684
2698
  eventId: string;
2685
2699
  annotation?: Record<string, string | number | boolean | {
2686
2700
  type: string;
@@ -2719,10 +2733,14 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2719
2733
  option: string;
2720
2734
  filename: string;
2721
2735
  originalFilename: string;
2722
- }[] | undefined> | undefined;
2736
+ }[] | [string, string] | undefined> | undefined;
2723
2737
  originalActionId?: string | undefined;
2724
2738
  keepAssignment?: boolean | undefined;
2725
2739
  }, {
2740
+ reason: {
2741
+ message: string;
2742
+ isDuplicate?: boolean | undefined;
2743
+ };
2726
2744
  transactionId: string;
2727
2745
  eventId: string;
2728
2746
  type?: "REJECT" | undefined;
@@ -2763,7 +2781,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2763
2781
  option: string;
2764
2782
  filename: string;
2765
2783
  originalFilename: string;
2766
- }[] | undefined> | undefined;
2784
+ }[] | [string, string] | undefined> | undefined;
2767
2785
  annotation?: Record<string, string | number | boolean | {
2768
2786
  type: string;
2769
2787
  filename: string;
@@ -2801,7 +2819,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2801
2819
  option: string;
2802
2820
  filename: string;
2803
2821
  originalFilename: string;
2804
- }[] | undefined> | undefined;
2822
+ }[] | [string, string] | undefined> | undefined;
2805
2823
  originalActionId?: string | undefined;
2806
2824
  keepAssignment?: boolean | undefined;
2807
2825
  }>;
@@ -2809,7 +2827,7 @@ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActio
2809
2827
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2810
2828
  eventId: z.ZodString;
2811
2829
  transactionId: z.ZodString;
2812
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2830
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2813
2831
  filename: z.ZodString;
2814
2832
  originalFilename: z.ZodString;
2815
2833
  type: z.ZodString;
@@ -2923,7 +2941,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2923
2941
  addressLine3?: string | null | undefined;
2924
2942
  postcodeOrZip?: string | null | undefined;
2925
2943
  }>]>>>;
2926
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2944
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2927
2945
  filename: z.ZodString;
2928
2946
  originalFilename: z.ZodString;
2929
2947
  type: z.ZodString;
@@ -3081,7 +3099,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3081
3099
  option: string;
3082
3100
  filename: string;
3083
3101
  originalFilename: string;
3084
- }[] | undefined>;
3102
+ }[] | [string, string] | undefined>;
3085
3103
  eventId: string;
3086
3104
  annotation?: Record<string, string | number | boolean | {
3087
3105
  type: string;
@@ -3120,7 +3138,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3120
3138
  option: string;
3121
3139
  filename: string;
3122
3140
  originalFilename: string;
3123
- }[] | undefined> | undefined;
3141
+ }[] | [string, string] | undefined> | undefined;
3124
3142
  originalActionId?: string | undefined;
3125
3143
  keepAssignment?: boolean | undefined;
3126
3144
  }, {
@@ -3164,7 +3182,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3164
3182
  option: string;
3165
3183
  filename: string;
3166
3184
  originalFilename: string;
3167
- }[] | undefined> | undefined;
3185
+ }[] | [string, string] | undefined> | undefined;
3168
3186
  annotation?: Record<string, string | number | boolean | {
3169
3187
  type: string;
3170
3188
  filename: string;
@@ -3202,7 +3220,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3202
3220
  option: string;
3203
3221
  filename: string;
3204
3222
  originalFilename: string;
3205
- }[] | undefined> | undefined;
3223
+ }[] | [string, string] | undefined> | undefined;
3206
3224
  originalActionId?: string | undefined;
3207
3225
  keepAssignment?: boolean | undefined;
3208
3226
  }>;
@@ -3210,7 +3228,7 @@ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActio
3210
3228
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3211
3229
  eventId: z.ZodString;
3212
3230
  transactionId: z.ZodString;
3213
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3231
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3214
3232
  filename: z.ZodString;
3215
3233
  originalFilename: z.ZodString;
3216
3234
  type: z.ZodString;
@@ -3324,7 +3342,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3324
3342
  addressLine3?: string | null | undefined;
3325
3343
  postcodeOrZip?: string | null | undefined;
3326
3344
  }>]>>>;
3327
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3345
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3328
3346
  filename: z.ZodString;
3329
3347
  originalFilename: z.ZodString;
3330
3348
  type: z.ZodString;
@@ -3442,8 +3460,22 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3442
3460
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
3443
3461
  }, {
3444
3462
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3463
+ reason: z.ZodObject<{
3464
+ message: z.ZodString;
3465
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3466
+ }, "strip", z.ZodTypeAny, {
3467
+ message: string;
3468
+ isDuplicate?: boolean | undefined;
3469
+ }, {
3470
+ message: string;
3471
+ isDuplicate?: boolean | undefined;
3472
+ }>;
3445
3473
  }>, "strip", z.ZodTypeAny, {
3446
3474
  type: "ARCHIVE";
3475
+ reason: {
3476
+ message: string;
3477
+ isDuplicate?: boolean | undefined;
3478
+ };
3447
3479
  transactionId: string;
3448
3480
  declaration: Record<string, string | number | boolean | {
3449
3481
  type: string;
@@ -3482,7 +3514,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3482
3514
  option: string;
3483
3515
  filename: string;
3484
3516
  originalFilename: string;
3485
- }[] | undefined>;
3517
+ }[] | [string, string] | undefined>;
3486
3518
  eventId: string;
3487
3519
  annotation?: Record<string, string | number | boolean | {
3488
3520
  type: string;
@@ -3521,10 +3553,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3521
3553
  option: string;
3522
3554
  filename: string;
3523
3555
  originalFilename: string;
3524
- }[] | undefined> | undefined;
3556
+ }[] | [string, string] | undefined> | undefined;
3525
3557
  originalActionId?: string | undefined;
3526
3558
  keepAssignment?: boolean | undefined;
3527
3559
  }, {
3560
+ reason: {
3561
+ message: string;
3562
+ isDuplicate?: boolean | undefined;
3563
+ };
3528
3564
  transactionId: string;
3529
3565
  eventId: string;
3530
3566
  type?: "ARCHIVE" | undefined;
@@ -3565,7 +3601,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3565
3601
  option: string;
3566
3602
  filename: string;
3567
3603
  originalFilename: string;
3568
- }[] | undefined> | undefined;
3604
+ }[] | [string, string] | undefined> | undefined;
3569
3605
  annotation?: Record<string, string | number | boolean | {
3570
3606
  type: string;
3571
3607
  filename: string;
@@ -3603,7 +3639,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3603
3639
  option: string;
3604
3640
  filename: string;
3605
3641
  originalFilename: string;
3606
- }[] | undefined> | undefined;
3642
+ }[] | [string, string] | undefined> | undefined;
3607
3643
  originalActionId?: string | undefined;
3608
3644
  keepAssignment?: boolean | undefined;
3609
3645
  }>;
@@ -3611,7 +3647,7 @@ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
3647
  export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3612
3648
  eventId: z.ZodString;
3613
3649
  transactionId: z.ZodString;
3614
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3650
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3615
3651
  filename: z.ZodString;
3616
3652
  originalFilename: z.ZodString;
3617
3653
  type: z.ZodString;
@@ -3725,7 +3761,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3725
3761
  addressLine3?: string | null | undefined;
3726
3762
  postcodeOrZip?: string | null | undefined;
3727
3763
  }>]>>>;
3728
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3764
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3729
3765
  filename: z.ZodString;
3730
3766
  originalFilename: z.ZodString;
3731
3767
  type: z.ZodString;
@@ -3884,7 +3920,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3884
3920
  option: string;
3885
3921
  filename: string;
3886
3922
  originalFilename: string;
3887
- }[] | undefined>;
3923
+ }[] | [string, string] | undefined>;
3888
3924
  assignedTo: string;
3889
3925
  eventId: string;
3890
3926
  annotation?: Record<string, string | number | boolean | {
@@ -3924,7 +3960,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3924
3960
  option: string;
3925
3961
  filename: string;
3926
3962
  originalFilename: string;
3927
- }[] | undefined> | undefined;
3963
+ }[] | [string, string] | undefined> | undefined;
3928
3964
  originalActionId?: string | undefined;
3929
3965
  keepAssignment?: boolean | undefined;
3930
3966
  }, {
@@ -3969,7 +4005,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3969
4005
  option: string;
3970
4006
  filename: string;
3971
4007
  originalFilename: string;
3972
- }[] | undefined> | undefined;
4008
+ }[] | [string, string] | undefined> | undefined;
3973
4009
  annotation?: Record<string, string | number | boolean | {
3974
4010
  type: string;
3975
4011
  filename: string;
@@ -4007,7 +4043,7 @@ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4007
4043
  option: string;
4008
4044
  filename: string;
4009
4045
  originalFilename: string;
4010
- }[] | undefined> | undefined;
4046
+ }[] | [string, string] | undefined> | undefined;
4011
4047
  originalActionId?: string | undefined;
4012
4048
  keepAssignment?: boolean | undefined;
4013
4049
  }>;
@@ -4015,7 +4051,7 @@ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
4051
  export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4016
4052
  eventId: z.ZodString;
4017
4053
  transactionId: z.ZodString;
4018
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4054
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4019
4055
  filename: z.ZodString;
4020
4056
  originalFilename: z.ZodString;
4021
4057
  type: z.ZodString;
@@ -4129,7 +4165,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4129
4165
  addressLine3?: string | null | undefined;
4130
4166
  postcodeOrZip?: string | null | undefined;
4131
4167
  }>]>>>;
4132
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4168
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4133
4169
  filename: z.ZodString;
4134
4170
  originalFilename: z.ZodString;
4135
4171
  type: z.ZodString;
@@ -4288,7 +4324,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4288
4324
  option: string;
4289
4325
  filename: string;
4290
4326
  originalFilename: string;
4291
- }[] | undefined>;
4327
+ }[] | [string, string] | undefined>;
4292
4328
  assignedTo: null;
4293
4329
  eventId: string;
4294
4330
  annotation?: Record<string, string | number | boolean | {
@@ -4328,7 +4364,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4328
4364
  option: string;
4329
4365
  filename: string;
4330
4366
  originalFilename: string;
4331
- }[] | undefined> | undefined;
4367
+ }[] | [string, string] | undefined> | undefined;
4332
4368
  originalActionId?: string | undefined;
4333
4369
  keepAssignment?: boolean | undefined;
4334
4370
  }, {
@@ -4372,7 +4408,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4372
4408
  option: string;
4373
4409
  filename: string;
4374
4410
  originalFilename: string;
4375
- }[] | undefined> | undefined;
4411
+ }[] | [string, string] | undefined> | undefined;
4376
4412
  annotation?: Record<string, string | number | boolean | {
4377
4413
  type: string;
4378
4414
  filename: string;
@@ -4410,7 +4446,7 @@ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4410
4446
  option: string;
4411
4447
  filename: string;
4412
4448
  originalFilename: string;
4413
- }[] | undefined> | undefined;
4449
+ }[] | [string, string] | undefined> | undefined;
4414
4450
  originalActionId?: string | undefined;
4415
4451
  assignedTo?: null | undefined;
4416
4452
  keepAssignment?: boolean | undefined;
@@ -4419,7 +4455,7 @@ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
4419
4455
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4420
4456
  eventId: z.ZodString;
4421
4457
  transactionId: z.ZodString;
4422
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4458
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4423
4459
  filename: z.ZodString;
4424
4460
  originalFilename: z.ZodString;
4425
4461
  type: z.ZodString;
@@ -4533,7 +4569,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4533
4569
  addressLine3?: string | null | undefined;
4534
4570
  postcodeOrZip?: string | null | undefined;
4535
4571
  }>]>>>;
4536
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4572
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4537
4573
  filename: z.ZodString;
4538
4574
  originalFilename: z.ZodString;
4539
4575
  type: z.ZodString;
@@ -4691,7 +4727,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4691
4727
  option: string;
4692
4728
  filename: string;
4693
4729
  originalFilename: string;
4694
- }[] | undefined>;
4730
+ }[] | [string, string] | undefined>;
4695
4731
  eventId: string;
4696
4732
  annotation?: Record<string, string | number | boolean | {
4697
4733
  type: string;
@@ -4730,7 +4766,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4730
4766
  option: string;
4731
4767
  filename: string;
4732
4768
  originalFilename: string;
4733
- }[] | undefined> | undefined;
4769
+ }[] | [string, string] | undefined> | undefined;
4734
4770
  originalActionId?: string | undefined;
4735
4771
  keepAssignment?: boolean | undefined;
4736
4772
  }, {
@@ -4774,7 +4810,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4774
4810
  option: string;
4775
4811
  filename: string;
4776
4812
  originalFilename: string;
4777
- }[] | undefined> | undefined;
4813
+ }[] | [string, string] | undefined> | undefined;
4778
4814
  annotation?: Record<string, string | number | boolean | {
4779
4815
  type: string;
4780
4816
  filename: string;
@@ -4812,7 +4848,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4812
4848
  option: string;
4813
4849
  filename: string;
4814
4850
  originalFilename: string;
4815
- }[] | undefined> | undefined;
4851
+ }[] | [string, string] | undefined> | undefined;
4816
4852
  originalActionId?: string | undefined;
4817
4853
  keepAssignment?: boolean | undefined;
4818
4854
  }>;
@@ -4820,7 +4856,7 @@ export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActio
4820
4856
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4821
4857
  eventId: z.ZodString;
4822
4858
  transactionId: z.ZodString;
4823
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4859
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4824
4860
  filename: z.ZodString;
4825
4861
  originalFilename: z.ZodString;
4826
4862
  type: z.ZodString;
@@ -4934,7 +4970,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4934
4970
  addressLine3?: string | null | undefined;
4935
4971
  postcodeOrZip?: string | null | undefined;
4936
4972
  }>]>>>;
4937
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4973
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4938
4974
  filename: z.ZodString;
4939
4975
  originalFilename: z.ZodString;
4940
4976
  type: z.ZodString;
@@ -5093,7 +5129,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5093
5129
  option: string;
5094
5130
  filename: string;
5095
5131
  originalFilename: string;
5096
- }[] | undefined>;
5132
+ }[] | [string, string] | undefined>;
5097
5133
  requestId: string;
5098
5134
  eventId: string;
5099
5135
  annotation?: Record<string, string | number | boolean | {
@@ -5133,7 +5169,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5133
5169
  option: string;
5134
5170
  filename: string;
5135
5171
  originalFilename: string;
5136
- }[] | undefined> | undefined;
5172
+ }[] | [string, string] | undefined> | undefined;
5137
5173
  originalActionId?: string | undefined;
5138
5174
  keepAssignment?: boolean | undefined;
5139
5175
  }, {
@@ -5178,7 +5214,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5178
5214
  option: string;
5179
5215
  filename: string;
5180
5216
  originalFilename: string;
5181
- }[] | undefined> | undefined;
5217
+ }[] | [string, string] | undefined> | undefined;
5182
5218
  annotation?: Record<string, string | number | boolean | {
5183
5219
  type: string;
5184
5220
  filename: string;
@@ -5216,7 +5252,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
5216
5252
  option: string;
5217
5253
  filename: string;
5218
5254
  originalFilename: string;
5219
- }[] | undefined> | undefined;
5255
+ }[] | [string, string] | undefined> | undefined;
5220
5256
  originalActionId?: string | undefined;
5221
5257
  keepAssignment?: boolean | undefined;
5222
5258
  }>;
@@ -5224,7 +5260,7 @@ export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionI
5224
5260
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
5225
5261
  eventId: z.ZodString;
5226
5262
  transactionId: z.ZodString;
5227
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5263
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5228
5264
  filename: z.ZodString;
5229
5265
  originalFilename: z.ZodString;
5230
5266
  type: z.ZodString;
@@ -5338,7 +5374,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5338
5374
  addressLine3?: string | null | undefined;
5339
5375
  postcodeOrZip?: string | null | undefined;
5340
5376
  }>]>>>;
5341
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5377
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5342
5378
  filename: z.ZodString;
5343
5379
  originalFilename: z.ZodString;
5344
5380
  type: z.ZodString;
@@ -5497,7 +5533,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5497
5533
  option: string;
5498
5534
  filename: string;
5499
5535
  originalFilename: string;
5500
- }[] | undefined>;
5536
+ }[] | [string, string] | undefined>;
5501
5537
  requestId: string;
5502
5538
  eventId: string;
5503
5539
  annotation?: Record<string, string | number | boolean | {
@@ -5537,7 +5573,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5537
5573
  option: string;
5538
5574
  filename: string;
5539
5575
  originalFilename: string;
5540
- }[] | undefined> | undefined;
5576
+ }[] | [string, string] | undefined> | undefined;
5541
5577
  originalActionId?: string | undefined;
5542
5578
  keepAssignment?: boolean | undefined;
5543
5579
  }, {
@@ -5582,7 +5618,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5582
5618
  option: string;
5583
5619
  filename: string;
5584
5620
  originalFilename: string;
5585
- }[] | undefined> | undefined;
5621
+ }[] | [string, string] | undefined> | undefined;
5586
5622
  annotation?: Record<string, string | number | boolean | {
5587
5623
  type: string;
5588
5624
  filename: string;
@@ -5620,7 +5656,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
5620
5656
  option: string;
5621
5657
  filename: string;
5622
5658
  originalFilename: string;
5623
- }[] | undefined> | undefined;
5659
+ }[] | [string, string] | undefined> | undefined;
5624
5660
  originalActionId?: string | undefined;
5625
5661
  keepAssignment?: boolean | undefined;
5626
5662
  }>;
@@ -5628,7 +5664,7 @@ export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActio
5628
5664
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5629
5665
  eventId: z.ZodString;
5630
5666
  transactionId: z.ZodString;
5631
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5667
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5632
5668
  filename: z.ZodString;
5633
5669
  originalFilename: z.ZodString;
5634
5670
  type: z.ZodString;
@@ -5742,7 +5778,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5742
5778
  addressLine3?: string | null | undefined;
5743
5779
  postcodeOrZip?: string | null | undefined;
5744
5780
  }>]>>>;
5745
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5781
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5746
5782
  filename: z.ZodString;
5747
5783
  originalFilename: z.ZodString;
5748
5784
  type: z.ZodString;
@@ -5900,7 +5936,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5900
5936
  option: string;
5901
5937
  filename: string;
5902
5938
  originalFilename: string;
5903
- }[] | undefined>;
5939
+ }[] | [string, string] | undefined>;
5904
5940
  eventId: string;
5905
5941
  annotation?: Record<string, string | number | boolean | {
5906
5942
  type: string;
@@ -5939,7 +5975,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5939
5975
  option: string;
5940
5976
  filename: string;
5941
5977
  originalFilename: string;
5942
- }[] | undefined> | undefined;
5978
+ }[] | [string, string] | undefined> | undefined;
5943
5979
  originalActionId?: string | undefined;
5944
5980
  keepAssignment?: boolean | undefined;
5945
5981
  }, {
@@ -5983,7 +6019,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5983
6019
  option: string;
5984
6020
  filename: string;
5985
6021
  originalFilename: string;
5986
- }[] | undefined> | undefined;
6022
+ }[] | [string, string] | undefined> | undefined;
5987
6023
  annotation?: Record<string, string | number | boolean | {
5988
6024
  type: string;
5989
6025
  filename: string;
@@ -6021,7 +6057,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
6021
6057
  option: string;
6022
6058
  filename: string;
6023
6059
  originalFilename: string;
6024
- }[] | undefined> | undefined;
6060
+ }[] | [string, string] | undefined> | undefined;
6025
6061
  originalActionId?: string | undefined;
6026
6062
  keepAssignment?: boolean | undefined;
6027
6063
  }>;
@@ -6045,7 +6081,7 @@ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
6045
6081
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
6046
6082
  eventId: z.ZodString;
6047
6083
  transactionId: z.ZodString;
6048
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6084
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6049
6085
  filename: z.ZodString;
6050
6086
  originalFilename: z.ZodString;
6051
6087
  type: z.ZodString;
@@ -6159,7 +6195,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6159
6195
  addressLine3?: string | null | undefined;
6160
6196
  postcodeOrZip?: string | null | undefined;
6161
6197
  }>]>>>;
6162
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6198
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6163
6199
  filename: z.ZodString;
6164
6200
  originalFilename: z.ZodString;
6165
6201
  type: z.ZodString;
@@ -6277,7 +6313,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6277
6313
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
6278
6314
  }, {
6279
6315
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
6280
- createdAtLocation: z.ZodString;
6316
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6281
6317
  }>, "strip", z.ZodTypeAny, {
6282
6318
  type: "CREATE";
6283
6319
  transactionId: string;
@@ -6318,9 +6354,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6318
6354
  option: string;
6319
6355
  filename: string;
6320
6356
  originalFilename: string;
6321
- }[] | undefined>;
6322
- createdAtLocation: string;
6357
+ }[] | [string, string] | undefined>;
6323
6358
  eventId: string;
6359
+ createdAtLocation?: string | null | undefined;
6324
6360
  annotation?: Record<string, string | number | boolean | {
6325
6361
  type: string;
6326
6362
  filename: string;
@@ -6358,14 +6394,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6358
6394
  option: string;
6359
6395
  filename: string;
6360
6396
  originalFilename: string;
6361
- }[] | undefined> | undefined;
6397
+ }[] | [string, string] | undefined> | undefined;
6362
6398
  originalActionId?: string | undefined;
6363
6399
  keepAssignment?: boolean | undefined;
6364
6400
  }, {
6365
6401
  transactionId: string;
6366
- createdAtLocation: string;
6367
6402
  eventId: string;
6368
6403
  type?: "CREATE" | undefined;
6404
+ createdAtLocation?: string | null | undefined;
6369
6405
  declaration?: Record<string, string | number | boolean | {
6370
6406
  type: string;
6371
6407
  filename: string;
@@ -6403,7 +6439,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6403
6439
  option: string;
6404
6440
  filename: string;
6405
6441
  originalFilename: string;
6406
- }[] | undefined> | undefined;
6442
+ }[] | [string, string] | undefined> | undefined;
6407
6443
  annotation?: Record<string, string | number | boolean | {
6408
6444
  type: string;
6409
6445
  filename: string;
@@ -6441,13 +6477,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6441
6477
  option: string;
6442
6478
  filename: string;
6443
6479
  originalFilename: string;
6444
- }[] | undefined> | undefined;
6480
+ }[] | [string, string] | undefined> | undefined;
6445
6481
  originalActionId?: string | undefined;
6446
6482
  keepAssignment?: boolean | undefined;
6447
6483
  }>, z.ZodObject<z.objectUtil.extendShape<{
6448
6484
  eventId: z.ZodString;
6449
6485
  transactionId: z.ZodString;
6450
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6486
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6451
6487
  filename: z.ZodString;
6452
6488
  originalFilename: z.ZodString;
6453
6489
  type: z.ZodString;
@@ -6561,7 +6597,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6561
6597
  addressLine3?: string | null | undefined;
6562
6598
  postcodeOrZip?: string | null | undefined;
6563
6599
  }>]>>>;
6564
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6600
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6565
6601
  filename: z.ZodString;
6566
6602
  originalFilename: z.ZodString;
6567
6603
  type: z.ZodString;
@@ -6720,7 +6756,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6720
6756
  option: string;
6721
6757
  filename: string;
6722
6758
  originalFilename: string;
6723
- }[] | undefined>;
6759
+ }[] | [string, string] | undefined>;
6724
6760
  eventId: string;
6725
6761
  duplicates: string[];
6726
6762
  annotation?: Record<string, string | number | boolean | {
@@ -6760,7 +6796,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6760
6796
  option: string;
6761
6797
  filename: string;
6762
6798
  originalFilename: string;
6763
- }[] | undefined> | undefined;
6799
+ }[] | [string, string] | undefined> | undefined;
6764
6800
  originalActionId?: string | undefined;
6765
6801
  keepAssignment?: boolean | undefined;
6766
6802
  }, {
@@ -6805,7 +6841,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6805
6841
  option: string;
6806
6842
  filename: string;
6807
6843
  originalFilename: string;
6808
- }[] | undefined> | undefined;
6844
+ }[] | [string, string] | undefined> | undefined;
6809
6845
  annotation?: Record<string, string | number | boolean | {
6810
6846
  type: string;
6811
6847
  filename: string;
@@ -6843,13 +6879,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6843
6879
  option: string;
6844
6880
  filename: string;
6845
6881
  originalFilename: string;
6846
- }[] | undefined> | undefined;
6882
+ }[] | [string, string] | undefined> | undefined;
6847
6883
  originalActionId?: string | undefined;
6848
6884
  keepAssignment?: boolean | undefined;
6849
6885
  }>, z.ZodObject<z.objectUtil.extendShape<{
6850
6886
  eventId: z.ZodString;
6851
6887
  transactionId: z.ZodString;
6852
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6888
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6853
6889
  filename: z.ZodString;
6854
6890
  originalFilename: z.ZodString;
6855
6891
  type: z.ZodString;
@@ -6963,7 +6999,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6963
6999
  addressLine3?: string | null | undefined;
6964
7000
  postcodeOrZip?: string | null | undefined;
6965
7001
  }>]>>>;
6966
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7002
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6967
7003
  filename: z.ZodString;
6968
7004
  originalFilename: z.ZodString;
6969
7005
  type: z.ZodString;
@@ -7122,7 +7158,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7122
7158
  option: string;
7123
7159
  filename: string;
7124
7160
  originalFilename: string;
7125
- }[] | undefined>;
7161
+ }[] | [string, string] | undefined>;
7126
7162
  eventId: string;
7127
7163
  annotation?: Record<string, string | number | boolean | {
7128
7164
  type: string;
@@ -7161,7 +7197,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7161
7197
  option: string;
7162
7198
  filename: string;
7163
7199
  originalFilename: string;
7164
- }[] | undefined> | undefined;
7200
+ }[] | [string, string] | undefined> | undefined;
7165
7201
  originalActionId?: string | undefined;
7166
7202
  registrationNumber?: string | undefined;
7167
7203
  keepAssignment?: boolean | undefined;
@@ -7206,7 +7242,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7206
7242
  option: string;
7207
7243
  filename: string;
7208
7244
  originalFilename: string;
7209
- }[] | undefined> | undefined;
7245
+ }[] | [string, string] | undefined> | undefined;
7210
7246
  annotation?: Record<string, string | number | boolean | {
7211
7247
  type: string;
7212
7248
  filename: string;
@@ -7244,14 +7280,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7244
7280
  option: string;
7245
7281
  filename: string;
7246
7282
  originalFilename: string;
7247
- }[] | undefined> | undefined;
7283
+ }[] | [string, string] | undefined> | undefined;
7248
7284
  originalActionId?: string | undefined;
7249
7285
  registrationNumber?: string | undefined;
7250
7286
  keepAssignment?: boolean | undefined;
7251
7287
  }>, z.ZodObject<z.objectUtil.extendShape<{
7252
7288
  eventId: z.ZodString;
7253
7289
  transactionId: z.ZodString;
7254
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7290
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7255
7291
  filename: z.ZodString;
7256
7292
  originalFilename: z.ZodString;
7257
7293
  type: z.ZodString;
@@ -7365,7 +7401,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7365
7401
  addressLine3?: string | null | undefined;
7366
7402
  postcodeOrZip?: string | null | undefined;
7367
7403
  }>]>>>;
7368
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7404
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7369
7405
  filename: z.ZodString;
7370
7406
  originalFilename: z.ZodString;
7371
7407
  type: z.ZodString;
@@ -7523,7 +7559,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7523
7559
  option: string;
7524
7560
  filename: string;
7525
7561
  originalFilename: string;
7526
- }[] | undefined>;
7562
+ }[] | [string, string] | undefined>;
7527
7563
  eventId: string;
7528
7564
  annotation?: Record<string, string | number | boolean | {
7529
7565
  type: string;
@@ -7562,7 +7598,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7562
7598
  option: string;
7563
7599
  filename: string;
7564
7600
  originalFilename: string;
7565
- }[] | undefined> | undefined;
7601
+ }[] | [string, string] | undefined> | undefined;
7566
7602
  originalActionId?: string | undefined;
7567
7603
  keepAssignment?: boolean | undefined;
7568
7604
  }, {
@@ -7606,7 +7642,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7606
7642
  option: string;
7607
7643
  filename: string;
7608
7644
  originalFilename: string;
7609
- }[] | undefined> | undefined;
7645
+ }[] | [string, string] | undefined> | undefined;
7610
7646
  annotation?: Record<string, string | number | boolean | {
7611
7647
  type: string;
7612
7648
  filename: string;
@@ -7644,13 +7680,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7644
7680
  option: string;
7645
7681
  filename: string;
7646
7682
  originalFilename: string;
7647
- }[] | undefined> | undefined;
7683
+ }[] | [string, string] | undefined> | undefined;
7648
7684
  originalActionId?: string | undefined;
7649
7685
  keepAssignment?: boolean | undefined;
7650
7686
  }>, z.ZodObject<z.objectUtil.extendShape<{
7651
7687
  eventId: z.ZodString;
7652
7688
  transactionId: z.ZodString;
7653
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7689
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7654
7690
  filename: z.ZodString;
7655
7691
  originalFilename: z.ZodString;
7656
7692
  type: z.ZodString;
@@ -7764,7 +7800,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7764
7800
  addressLine3?: string | null | undefined;
7765
7801
  postcodeOrZip?: string | null | undefined;
7766
7802
  }>]>>>;
7767
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7803
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7768
7804
  filename: z.ZodString;
7769
7805
  originalFilename: z.ZodString;
7770
7806
  type: z.ZodString;
@@ -7922,7 +7958,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7922
7958
  option: string;
7923
7959
  filename: string;
7924
7960
  originalFilename: string;
7925
- }[] | undefined>;
7961
+ }[] | [string, string] | undefined>;
7926
7962
  eventId: string;
7927
7963
  annotation?: Record<string, string | number | boolean | {
7928
7964
  type: string;
@@ -7961,7 +7997,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7961
7997
  option: string;
7962
7998
  filename: string;
7963
7999
  originalFilename: string;
7964
- }[] | undefined> | undefined;
8000
+ }[] | [string, string] | undefined> | undefined;
7965
8001
  originalActionId?: string | undefined;
7966
8002
  keepAssignment?: boolean | undefined;
7967
8003
  }, {
@@ -8005,7 +8041,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8005
8041
  option: string;
8006
8042
  filename: string;
8007
8043
  originalFilename: string;
8008
- }[] | undefined> | undefined;
8044
+ }[] | [string, string] | undefined> | undefined;
8009
8045
  annotation?: Record<string, string | number | boolean | {
8010
8046
  type: string;
8011
8047
  filename: string;
@@ -8043,13 +8079,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8043
8079
  option: string;
8044
8080
  filename: string;
8045
8081
  originalFilename: string;
8046
- }[] | undefined> | undefined;
8082
+ }[] | [string, string] | undefined> | undefined;
8047
8083
  originalActionId?: string | undefined;
8048
8084
  keepAssignment?: boolean | undefined;
8049
8085
  }>, z.ZodObject<z.objectUtil.extendShape<{
8050
8086
  eventId: z.ZodString;
8051
8087
  transactionId: z.ZodString;
8052
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8088
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8053
8089
  filename: z.ZodString;
8054
8090
  originalFilename: z.ZodString;
8055
8091
  type: z.ZodString;
@@ -8163,7 +8199,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8163
8199
  addressLine3?: string | null | undefined;
8164
8200
  postcodeOrZip?: string | null | undefined;
8165
8201
  }>]>>>;
8166
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8202
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8167
8203
  filename: z.ZodString;
8168
8204
  originalFilename: z.ZodString;
8169
8205
  type: z.ZodString;
@@ -8281,8 +8317,22 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8281
8317
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
8282
8318
  }, {
8283
8319
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
8320
+ reason: z.ZodObject<{
8321
+ message: z.ZodString;
8322
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
8323
+ }, "strip", z.ZodTypeAny, {
8324
+ message: string;
8325
+ isDuplicate?: boolean | undefined;
8326
+ }, {
8327
+ message: string;
8328
+ isDuplicate?: boolean | undefined;
8329
+ }>;
8284
8330
  }>, "strip", z.ZodTypeAny, {
8285
8331
  type: "REJECT";
8332
+ reason: {
8333
+ message: string;
8334
+ isDuplicate?: boolean | undefined;
8335
+ };
8286
8336
  transactionId: string;
8287
8337
  declaration: Record<string, string | number | boolean | {
8288
8338
  type: string;
@@ -8321,7 +8371,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8321
8371
  option: string;
8322
8372
  filename: string;
8323
8373
  originalFilename: string;
8324
- }[] | undefined>;
8374
+ }[] | [string, string] | undefined>;
8325
8375
  eventId: string;
8326
8376
  annotation?: Record<string, string | number | boolean | {
8327
8377
  type: string;
@@ -8360,10 +8410,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8360
8410
  option: string;
8361
8411
  filename: string;
8362
8412
  originalFilename: string;
8363
- }[] | undefined> | undefined;
8413
+ }[] | [string, string] | undefined> | undefined;
8364
8414
  originalActionId?: string | undefined;
8365
8415
  keepAssignment?: boolean | undefined;
8366
8416
  }, {
8417
+ reason: {
8418
+ message: string;
8419
+ isDuplicate?: boolean | undefined;
8420
+ };
8367
8421
  transactionId: string;
8368
8422
  eventId: string;
8369
8423
  type?: "REJECT" | undefined;
@@ -8404,7 +8458,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8404
8458
  option: string;
8405
8459
  filename: string;
8406
8460
  originalFilename: string;
8407
- }[] | undefined> | undefined;
8461
+ }[] | [string, string] | undefined> | undefined;
8408
8462
  annotation?: Record<string, string | number | boolean | {
8409
8463
  type: string;
8410
8464
  filename: string;
@@ -8442,13 +8496,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8442
8496
  option: string;
8443
8497
  filename: string;
8444
8498
  originalFilename: string;
8445
- }[] | undefined> | undefined;
8499
+ }[] | [string, string] | undefined> | undefined;
8446
8500
  originalActionId?: string | undefined;
8447
8501
  keepAssignment?: boolean | undefined;
8448
8502
  }>, z.ZodObject<z.objectUtil.extendShape<{
8449
8503
  eventId: z.ZodString;
8450
8504
  transactionId: z.ZodString;
8451
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8505
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8452
8506
  filename: z.ZodString;
8453
8507
  originalFilename: z.ZodString;
8454
8508
  type: z.ZodString;
@@ -8562,7 +8616,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8562
8616
  addressLine3?: string | null | undefined;
8563
8617
  postcodeOrZip?: string | null | undefined;
8564
8618
  }>]>>>;
8565
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8619
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8566
8620
  filename: z.ZodString;
8567
8621
  originalFilename: z.ZodString;
8568
8622
  type: z.ZodString;
@@ -8720,7 +8774,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8720
8774
  option: string;
8721
8775
  filename: string;
8722
8776
  originalFilename: string;
8723
- }[] | undefined>;
8777
+ }[] | [string, string] | undefined>;
8724
8778
  eventId: string;
8725
8779
  annotation?: Record<string, string | number | boolean | {
8726
8780
  type: string;
@@ -8759,7 +8813,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8759
8813
  option: string;
8760
8814
  filename: string;
8761
8815
  originalFilename: string;
8762
- }[] | undefined> | undefined;
8816
+ }[] | [string, string] | undefined> | undefined;
8763
8817
  originalActionId?: string | undefined;
8764
8818
  keepAssignment?: boolean | undefined;
8765
8819
  }, {
@@ -8803,7 +8857,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8803
8857
  option: string;
8804
8858
  filename: string;
8805
8859
  originalFilename: string;
8806
- }[] | undefined> | undefined;
8860
+ }[] | [string, string] | undefined> | undefined;
8807
8861
  annotation?: Record<string, string | number | boolean | {
8808
8862
  type: string;
8809
8863
  filename: string;
@@ -8841,13 +8895,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8841
8895
  option: string;
8842
8896
  filename: string;
8843
8897
  originalFilename: string;
8844
- }[] | undefined> | undefined;
8898
+ }[] | [string, string] | undefined> | undefined;
8845
8899
  originalActionId?: string | undefined;
8846
8900
  keepAssignment?: boolean | undefined;
8847
8901
  }>, z.ZodObject<z.objectUtil.extendShape<{
8848
8902
  eventId: z.ZodString;
8849
8903
  transactionId: z.ZodString;
8850
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8904
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8851
8905
  filename: z.ZodString;
8852
8906
  originalFilename: z.ZodString;
8853
8907
  type: z.ZodString;
@@ -8961,7 +9015,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8961
9015
  addressLine3?: string | null | undefined;
8962
9016
  postcodeOrZip?: string | null | undefined;
8963
9017
  }>]>>>;
8964
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9018
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8965
9019
  filename: z.ZodString;
8966
9020
  originalFilename: z.ZodString;
8967
9021
  type: z.ZodString;
@@ -9079,8 +9133,22 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9079
9133
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9080
9134
  }, {
9081
9135
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
9136
+ reason: z.ZodObject<{
9137
+ message: z.ZodString;
9138
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9139
+ }, "strip", z.ZodTypeAny, {
9140
+ message: string;
9141
+ isDuplicate?: boolean | undefined;
9142
+ }, {
9143
+ message: string;
9144
+ isDuplicate?: boolean | undefined;
9145
+ }>;
9082
9146
  }>, "strip", z.ZodTypeAny, {
9083
9147
  type: "ARCHIVE";
9148
+ reason: {
9149
+ message: string;
9150
+ isDuplicate?: boolean | undefined;
9151
+ };
9084
9152
  transactionId: string;
9085
9153
  declaration: Record<string, string | number | boolean | {
9086
9154
  type: string;
@@ -9119,7 +9187,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9119
9187
  option: string;
9120
9188
  filename: string;
9121
9189
  originalFilename: string;
9122
- }[] | undefined>;
9190
+ }[] | [string, string] | undefined>;
9123
9191
  eventId: string;
9124
9192
  annotation?: Record<string, string | number | boolean | {
9125
9193
  type: string;
@@ -9158,10 +9226,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9158
9226
  option: string;
9159
9227
  filename: string;
9160
9228
  originalFilename: string;
9161
- }[] | undefined> | undefined;
9229
+ }[] | [string, string] | undefined> | undefined;
9162
9230
  originalActionId?: string | undefined;
9163
9231
  keepAssignment?: boolean | undefined;
9164
9232
  }, {
9233
+ reason: {
9234
+ message: string;
9235
+ isDuplicate?: boolean | undefined;
9236
+ };
9165
9237
  transactionId: string;
9166
9238
  eventId: string;
9167
9239
  type?: "ARCHIVE" | undefined;
@@ -9202,7 +9274,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9202
9274
  option: string;
9203
9275
  filename: string;
9204
9276
  originalFilename: string;
9205
- }[] | undefined> | undefined;
9277
+ }[] | [string, string] | undefined> | undefined;
9206
9278
  annotation?: Record<string, string | number | boolean | {
9207
9279
  type: string;
9208
9280
  filename: string;
@@ -9240,13 +9312,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9240
9312
  option: string;
9241
9313
  filename: string;
9242
9314
  originalFilename: string;
9243
- }[] | undefined> | undefined;
9315
+ }[] | [string, string] | undefined> | undefined;
9244
9316
  originalActionId?: string | undefined;
9245
9317
  keepAssignment?: boolean | undefined;
9246
9318
  }>, z.ZodObject<z.objectUtil.extendShape<{
9247
9319
  eventId: z.ZodString;
9248
9320
  transactionId: z.ZodString;
9249
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9321
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9250
9322
  filename: z.ZodString;
9251
9323
  originalFilename: z.ZodString;
9252
9324
  type: z.ZodString;
@@ -9360,7 +9432,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9360
9432
  addressLine3?: string | null | undefined;
9361
9433
  postcodeOrZip?: string | null | undefined;
9362
9434
  }>]>>>;
9363
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9435
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9364
9436
  filename: z.ZodString;
9365
9437
  originalFilename: z.ZodString;
9366
9438
  type: z.ZodString;
@@ -9519,7 +9591,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9519
9591
  option: string;
9520
9592
  filename: string;
9521
9593
  originalFilename: string;
9522
- }[] | undefined>;
9594
+ }[] | [string, string] | undefined>;
9523
9595
  assignedTo: string;
9524
9596
  eventId: string;
9525
9597
  annotation?: Record<string, string | number | boolean | {
@@ -9559,7 +9631,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9559
9631
  option: string;
9560
9632
  filename: string;
9561
9633
  originalFilename: string;
9562
- }[] | undefined> | undefined;
9634
+ }[] | [string, string] | undefined> | undefined;
9563
9635
  originalActionId?: string | undefined;
9564
9636
  keepAssignment?: boolean | undefined;
9565
9637
  }, {
@@ -9604,7 +9676,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9604
9676
  option: string;
9605
9677
  filename: string;
9606
9678
  originalFilename: string;
9607
- }[] | undefined> | undefined;
9679
+ }[] | [string, string] | undefined> | undefined;
9608
9680
  annotation?: Record<string, string | number | boolean | {
9609
9681
  type: string;
9610
9682
  filename: string;
@@ -9642,13 +9714,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9642
9714
  option: string;
9643
9715
  filename: string;
9644
9716
  originalFilename: string;
9645
- }[] | undefined> | undefined;
9717
+ }[] | [string, string] | undefined> | undefined;
9646
9718
  originalActionId?: string | undefined;
9647
9719
  keepAssignment?: boolean | undefined;
9648
9720
  }>, z.ZodObject<z.objectUtil.extendShape<{
9649
9721
  eventId: z.ZodString;
9650
9722
  transactionId: z.ZodString;
9651
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9723
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9652
9724
  filename: z.ZodString;
9653
9725
  originalFilename: z.ZodString;
9654
9726
  type: z.ZodString;
@@ -9762,7 +9834,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9762
9834
  addressLine3?: string | null | undefined;
9763
9835
  postcodeOrZip?: string | null | undefined;
9764
9836
  }>]>>>;
9765
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9837
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9766
9838
  filename: z.ZodString;
9767
9839
  originalFilename: z.ZodString;
9768
9840
  type: z.ZodString;
@@ -9921,7 +9993,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9921
9993
  option: string;
9922
9994
  filename: string;
9923
9995
  originalFilename: string;
9924
- }[] | undefined>;
9996
+ }[] | [string, string] | undefined>;
9925
9997
  assignedTo: null;
9926
9998
  eventId: string;
9927
9999
  annotation?: Record<string, string | number | boolean | {
@@ -9961,7 +10033,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9961
10033
  option: string;
9962
10034
  filename: string;
9963
10035
  originalFilename: string;
9964
- }[] | undefined> | undefined;
10036
+ }[] | [string, string] | undefined> | undefined;
9965
10037
  originalActionId?: string | undefined;
9966
10038
  keepAssignment?: boolean | undefined;
9967
10039
  }, {
@@ -10005,7 +10077,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10005
10077
  option: string;
10006
10078
  filename: string;
10007
10079
  originalFilename: string;
10008
- }[] | undefined> | undefined;
10080
+ }[] | [string, string] | undefined> | undefined;
10009
10081
  annotation?: Record<string, string | number | boolean | {
10010
10082
  type: string;
10011
10083
  filename: string;
@@ -10043,14 +10115,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10043
10115
  option: string;
10044
10116
  filename: string;
10045
10117
  originalFilename: string;
10046
- }[] | undefined> | undefined;
10118
+ }[] | [string, string] | undefined> | undefined;
10047
10119
  originalActionId?: string | undefined;
10048
10120
  assignedTo?: null | undefined;
10049
10121
  keepAssignment?: boolean | undefined;
10050
10122
  }>, z.ZodObject<z.objectUtil.extendShape<{
10051
10123
  eventId: z.ZodString;
10052
10124
  transactionId: z.ZodString;
10053
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10125
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10054
10126
  filename: z.ZodString;
10055
10127
  originalFilename: z.ZodString;
10056
10128
  type: z.ZodString;
@@ -10164,7 +10236,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10164
10236
  addressLine3?: string | null | undefined;
10165
10237
  postcodeOrZip?: string | null | undefined;
10166
10238
  }>]>>>;
10167
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10239
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10168
10240
  filename: z.ZodString;
10169
10241
  originalFilename: z.ZodString;
10170
10242
  type: z.ZodString;
@@ -10322,7 +10394,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10322
10394
  option: string;
10323
10395
  filename: string;
10324
10396
  originalFilename: string;
10325
- }[] | undefined>;
10397
+ }[] | [string, string] | undefined>;
10326
10398
  eventId: string;
10327
10399
  annotation?: Record<string, string | number | boolean | {
10328
10400
  type: string;
@@ -10361,7 +10433,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10361
10433
  option: string;
10362
10434
  filename: string;
10363
10435
  originalFilename: string;
10364
- }[] | undefined> | undefined;
10436
+ }[] | [string, string] | undefined> | undefined;
10365
10437
  originalActionId?: string | undefined;
10366
10438
  keepAssignment?: boolean | undefined;
10367
10439
  }, {
@@ -10405,7 +10477,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10405
10477
  option: string;
10406
10478
  filename: string;
10407
10479
  originalFilename: string;
10408
- }[] | undefined> | undefined;
10480
+ }[] | [string, string] | undefined> | undefined;
10409
10481
  annotation?: Record<string, string | number | boolean | {
10410
10482
  type: string;
10411
10483
  filename: string;
@@ -10443,13 +10515,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10443
10515
  option: string;
10444
10516
  filename: string;
10445
10517
  originalFilename: string;
10446
- }[] | undefined> | undefined;
10518
+ }[] | [string, string] | undefined> | undefined;
10447
10519
  originalActionId?: string | undefined;
10448
10520
  keepAssignment?: boolean | undefined;
10449
10521
  }>, z.ZodObject<z.objectUtil.extendShape<{
10450
10522
  eventId: z.ZodString;
10451
10523
  transactionId: z.ZodString;
10452
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10524
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10453
10525
  filename: z.ZodString;
10454
10526
  originalFilename: z.ZodString;
10455
10527
  type: z.ZodString;
@@ -10563,7 +10635,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10563
10635
  addressLine3?: string | null | undefined;
10564
10636
  postcodeOrZip?: string | null | undefined;
10565
10637
  }>]>>>;
10566
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10638
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10567
10639
  filename: z.ZodString;
10568
10640
  originalFilename: z.ZodString;
10569
10641
  type: z.ZodString;
@@ -10721,7 +10793,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10721
10793
  option: string;
10722
10794
  filename: string;
10723
10795
  originalFilename: string;
10724
- }[] | undefined>;
10796
+ }[] | [string, string] | undefined>;
10725
10797
  eventId: string;
10726
10798
  annotation?: Record<string, string | number | boolean | {
10727
10799
  type: string;
@@ -10760,7 +10832,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10760
10832
  option: string;
10761
10833
  filename: string;
10762
10834
  originalFilename: string;
10763
- }[] | undefined> | undefined;
10835
+ }[] | [string, string] | undefined> | undefined;
10764
10836
  originalActionId?: string | undefined;
10765
10837
  keepAssignment?: boolean | undefined;
10766
10838
  }, {
@@ -10804,7 +10876,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10804
10876
  option: string;
10805
10877
  filename: string;
10806
10878
  originalFilename: string;
10807
- }[] | undefined> | undefined;
10879
+ }[] | [string, string] | undefined> | undefined;
10808
10880
  annotation?: Record<string, string | number | boolean | {
10809
10881
  type: string;
10810
10882
  filename: string;
@@ -10842,13 +10914,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10842
10914
  option: string;
10843
10915
  filename: string;
10844
10916
  originalFilename: string;
10845
- }[] | undefined> | undefined;
10917
+ }[] | [string, string] | undefined> | undefined;
10846
10918
  originalActionId?: string | undefined;
10847
10919
  keepAssignment?: boolean | undefined;
10848
10920
  }>, z.ZodObject<z.objectUtil.extendShape<{
10849
10921
  eventId: z.ZodString;
10850
10922
  transactionId: z.ZodString;
10851
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10923
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10852
10924
  filename: z.ZodString;
10853
10925
  originalFilename: z.ZodString;
10854
10926
  type: z.ZodString;
@@ -10962,7 +11034,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10962
11034
  addressLine3?: string | null | undefined;
10963
11035
  postcodeOrZip?: string | null | undefined;
10964
11036
  }>]>>>;
10965
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11037
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10966
11038
  filename: z.ZodString;
10967
11039
  originalFilename: z.ZodString;
10968
11040
  type: z.ZodString;
@@ -11121,7 +11193,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11121
11193
  option: string;
11122
11194
  filename: string;
11123
11195
  originalFilename: string;
11124
- }[] | undefined>;
11196
+ }[] | [string, string] | undefined>;
11125
11197
  requestId: string;
11126
11198
  eventId: string;
11127
11199
  annotation?: Record<string, string | number | boolean | {
@@ -11161,7 +11233,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11161
11233
  option: string;
11162
11234
  filename: string;
11163
11235
  originalFilename: string;
11164
- }[] | undefined> | undefined;
11236
+ }[] | [string, string] | undefined> | undefined;
11165
11237
  originalActionId?: string | undefined;
11166
11238
  keepAssignment?: boolean | undefined;
11167
11239
  }, {
@@ -11206,7 +11278,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11206
11278
  option: string;
11207
11279
  filename: string;
11208
11280
  originalFilename: string;
11209
- }[] | undefined> | undefined;
11281
+ }[] | [string, string] | undefined> | undefined;
11210
11282
  annotation?: Record<string, string | number | boolean | {
11211
11283
  type: string;
11212
11284
  filename: string;
@@ -11244,13 +11316,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11244
11316
  option: string;
11245
11317
  filename: string;
11246
11318
  originalFilename: string;
11247
- }[] | undefined> | undefined;
11319
+ }[] | [string, string] | undefined> | undefined;
11248
11320
  originalActionId?: string | undefined;
11249
11321
  keepAssignment?: boolean | undefined;
11250
11322
  }>, z.ZodObject<z.objectUtil.extendShape<{
11251
11323
  eventId: z.ZodString;
11252
11324
  transactionId: z.ZodString;
11253
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11325
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11254
11326
  filename: z.ZodString;
11255
11327
  originalFilename: z.ZodString;
11256
11328
  type: z.ZodString;
@@ -11364,7 +11436,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11364
11436
  addressLine3?: string | null | undefined;
11365
11437
  postcodeOrZip?: string | null | undefined;
11366
11438
  }>]>>>;
11367
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11439
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11368
11440
  filename: z.ZodString;
11369
11441
  originalFilename: z.ZodString;
11370
11442
  type: z.ZodString;
@@ -11523,7 +11595,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11523
11595
  option: string;
11524
11596
  filename: string;
11525
11597
  originalFilename: string;
11526
- }[] | undefined>;
11598
+ }[] | [string, string] | undefined>;
11527
11599
  requestId: string;
11528
11600
  eventId: string;
11529
11601
  annotation?: Record<string, string | number | boolean | {
@@ -11563,7 +11635,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11563
11635
  option: string;
11564
11636
  filename: string;
11565
11637
  originalFilename: string;
11566
- }[] | undefined> | undefined;
11638
+ }[] | [string, string] | undefined> | undefined;
11567
11639
  originalActionId?: string | undefined;
11568
11640
  keepAssignment?: boolean | undefined;
11569
11641
  }, {
@@ -11608,7 +11680,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11608
11680
  option: string;
11609
11681
  filename: string;
11610
11682
  originalFilename: string;
11611
- }[] | undefined> | undefined;
11683
+ }[] | [string, string] | undefined> | undefined;
11612
11684
  annotation?: Record<string, string | number | boolean | {
11613
11685
  type: string;
11614
11686
  filename: string;
@@ -11646,13 +11718,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11646
11718
  option: string;
11647
11719
  filename: string;
11648
11720
  originalFilename: string;
11649
- }[] | undefined> | undefined;
11721
+ }[] | [string, string] | undefined> | undefined;
11650
11722
  originalActionId?: string | undefined;
11651
11723
  keepAssignment?: boolean | undefined;
11652
11724
  }>, z.ZodObject<z.objectUtil.extendShape<{
11653
11725
  eventId: z.ZodString;
11654
11726
  transactionId: z.ZodString;
11655
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11727
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11656
11728
  filename: z.ZodString;
11657
11729
  originalFilename: z.ZodString;
11658
11730
  type: z.ZodString;
@@ -11766,7 +11838,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11766
11838
  addressLine3?: string | null | undefined;
11767
11839
  postcodeOrZip?: string | null | undefined;
11768
11840
  }>]>>>;
11769
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11841
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11770
11842
  filename: z.ZodString;
11771
11843
  originalFilename: z.ZodString;
11772
11844
  type: z.ZodString;
@@ -11924,7 +11996,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11924
11996
  option: string;
11925
11997
  filename: string;
11926
11998
  originalFilename: string;
11927
- }[] | undefined>;
11999
+ }[] | [string, string] | undefined>;
11928
12000
  eventId: string;
11929
12001
  annotation?: Record<string, string | number | boolean | {
11930
12002
  type: string;
@@ -11963,7 +12035,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11963
12035
  option: string;
11964
12036
  filename: string;
11965
12037
  originalFilename: string;
11966
- }[] | undefined> | undefined;
12038
+ }[] | [string, string] | undefined> | undefined;
11967
12039
  originalActionId?: string | undefined;
11968
12040
  keepAssignment?: boolean | undefined;
11969
12041
  }, {
@@ -12007,7 +12079,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12007
12079
  option: string;
12008
12080
  filename: string;
12009
12081
  originalFilename: string;
12010
- }[] | undefined> | undefined;
12082
+ }[] | [string, string] | undefined> | undefined;
12011
12083
  annotation?: Record<string, string | number | boolean | {
12012
12084
  type: string;
12013
12085
  filename: string;
@@ -12045,7 +12117,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12045
12117
  option: string;
12046
12118
  filename: string;
12047
12119
  originalFilename: string;
12048
- }[] | undefined> | undefined;
12120
+ }[] | [string, string] | undefined> | undefined;
12049
12121
  originalActionId?: string | undefined;
12050
12122
  keepAssignment?: boolean | undefined;
12051
12123
  }>]>;