@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8a9481

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.
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const BaseActionInput: z.ZodObject<{
3
3
  eventId: z.ZodString;
4
4
  transactionId: z.ZodString;
5
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -115,7 +115,7 @@ export declare const BaseActionInput: z.ZodObject<{
115
115
  addressLine2?: string | null | undefined;
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
- }>]>>;
118
+ }>]>>>;
119
119
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
120
120
  filename: z.ZodString;
121
121
  originalFilename: z.ZodString;
@@ -231,7 +231,9 @@ export declare const BaseActionInput: z.ZodObject<{
231
231
  postcodeOrZip?: string | null | undefined;
232
232
  }>]>>>;
233
233
  originalActionId: z.ZodOptional<z.ZodString>;
234
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
234
235
  }, "strip", z.ZodTypeAny, {
236
+ transactionId: string;
235
237
  declaration: Record<string, string | number | boolean | {
236
238
  type: string;
237
239
  filename: string;
@@ -271,7 +273,6 @@ export declare const BaseActionInput: z.ZodObject<{
271
273
  originalFilename: string;
272
274
  }[] | undefined>;
273
275
  eventId: string;
274
- transactionId: string;
275
276
  annotation?: Record<string, string | number | boolean | {
276
277
  type: string;
277
278
  filename: string;
@@ -311,8 +312,11 @@ export declare const BaseActionInput: z.ZodObject<{
311
312
  originalFilename: string;
312
313
  }[] | undefined> | undefined;
313
314
  originalActionId?: string | undefined;
315
+ keepAssignment?: boolean | undefined;
314
316
  }, {
315
- declaration: Record<string, string | number | boolean | {
317
+ transactionId: string;
318
+ eventId: string;
319
+ declaration?: Record<string, string | number | boolean | {
316
320
  type: string;
317
321
  filename: string;
318
322
  originalFilename: string;
@@ -349,9 +353,7 @@ export declare const BaseActionInput: z.ZodObject<{
349
353
  option: string;
350
354
  filename: string;
351
355
  originalFilename: string;
352
- }[] | undefined>;
353
- eventId: string;
354
- transactionId: string;
356
+ }[] | undefined> | undefined;
355
357
  annotation?: Record<string, string | number | boolean | {
356
358
  type: string;
357
359
  filename: string;
@@ -391,11 +393,12 @@ export declare const BaseActionInput: z.ZodObject<{
391
393
  originalFilename: string;
392
394
  }[] | undefined> | undefined;
393
395
  originalActionId?: string | undefined;
396
+ keepAssignment?: boolean | undefined;
394
397
  }>;
395
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
396
399
  eventId: z.ZodString;
397
400
  transactionId: z.ZodString;
398
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
401
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
399
402
  filename: z.ZodString;
400
403
  originalFilename: z.ZodString;
401
404
  type: z.ZodString;
@@ -508,7 +511,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
508
511
  addressLine2?: string | null | undefined;
509
512
  addressLine3?: string | null | undefined;
510
513
  postcodeOrZip?: string | null | undefined;
511
- }>]>>;
514
+ }>]>>>;
512
515
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
513
516
  filename: z.ZodString;
514
517
  originalFilename: z.ZodString;
@@ -624,11 +627,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
624
627
  postcodeOrZip?: string | null | undefined;
625
628
  }>]>>>;
626
629
  originalActionId: z.ZodOptional<z.ZodString>;
630
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
627
631
  }, {
628
632
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
629
633
  registrationNumber: z.ZodOptional<z.ZodString>;
630
634
  }>, "strip", z.ZodTypeAny, {
631
635
  type: "REGISTER";
636
+ transactionId: string;
632
637
  declaration: Record<string, string | number | boolean | {
633
638
  type: string;
634
639
  filename: string;
@@ -668,7 +673,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
668
673
  originalFilename: string;
669
674
  }[] | undefined>;
670
675
  eventId: string;
671
- transactionId: string;
672
676
  annotation?: Record<string, string | number | boolean | {
673
677
  type: string;
674
678
  filename: string;
@@ -709,8 +713,12 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
709
713
  }[] | undefined> | undefined;
710
714
  originalActionId?: string | undefined;
711
715
  registrationNumber?: string | undefined;
716
+ keepAssignment?: boolean | undefined;
712
717
  }, {
713
- declaration: Record<string, string | number | boolean | {
718
+ transactionId: string;
719
+ eventId: string;
720
+ type?: "REGISTER" | undefined;
721
+ declaration?: Record<string, string | number | boolean | {
714
722
  type: string;
715
723
  filename: string;
716
724
  originalFilename: string;
@@ -747,10 +755,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
747
755
  option: string;
748
756
  filename: string;
749
757
  originalFilename: string;
750
- }[] | undefined>;
751
- eventId: string;
752
- transactionId: string;
753
- type?: "REGISTER" | undefined;
758
+ }[] | undefined> | undefined;
754
759
  annotation?: Record<string, string | number | boolean | {
755
760
  type: string;
756
761
  filename: string;
@@ -791,12 +796,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
791
796
  }[] | undefined> | undefined;
792
797
  originalActionId?: string | undefined;
793
798
  registrationNumber?: string | undefined;
799
+ keepAssignment?: boolean | undefined;
794
800
  }>;
795
801
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
796
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
797
803
  eventId: z.ZodString;
798
804
  transactionId: z.ZodString;
799
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
805
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
800
806
  filename: z.ZodString;
801
807
  originalFilename: z.ZodString;
802
808
  type: z.ZodString;
@@ -909,7 +915,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
909
915
  addressLine2?: string | null | undefined;
910
916
  addressLine3?: string | null | undefined;
911
917
  postcodeOrZip?: string | null | undefined;
912
- }>]>>;
918
+ }>]>>>;
913
919
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
914
920
  filename: z.ZodString;
915
921
  originalFilename: z.ZodString;
@@ -1025,11 +1031,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1025
1031
  postcodeOrZip?: string | null | undefined;
1026
1032
  }>]>>>;
1027
1033
  originalActionId: z.ZodOptional<z.ZodString>;
1034
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1028
1035
  }, {
1029
1036
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1030
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1031
1038
  }>, "strip", z.ZodTypeAny, {
1032
1039
  type: "VALIDATE";
1040
+ transactionId: string;
1033
1041
  declaration: Record<string, string | number | boolean | {
1034
1042
  type: string;
1035
1043
  filename: string;
@@ -1069,7 +1077,6 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1069
1077
  originalFilename: string;
1070
1078
  }[] | undefined>;
1071
1079
  eventId: string;
1072
- transactionId: string;
1073
1080
  duplicates: string[];
1074
1081
  annotation?: Record<string, string | number | boolean | {
1075
1082
  type: string;
@@ -1110,8 +1117,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1110
1117
  originalFilename: string;
1111
1118
  }[] | undefined> | undefined;
1112
1119
  originalActionId?: string | undefined;
1120
+ keepAssignment?: boolean | undefined;
1113
1121
  }, {
1114
- declaration: Record<string, string | number | boolean | {
1122
+ transactionId: string;
1123
+ eventId: string;
1124
+ duplicates: string[];
1125
+ type?: "VALIDATE" | undefined;
1126
+ declaration?: Record<string, string | number | boolean | {
1115
1127
  type: string;
1116
1128
  filename: string;
1117
1129
  originalFilename: string;
@@ -1148,11 +1160,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1148
1160
  option: string;
1149
1161
  filename: string;
1150
1162
  originalFilename: string;
1151
- }[] | undefined>;
1152
- eventId: string;
1153
- transactionId: string;
1154
- duplicates: string[];
1155
- type?: "VALIDATE" | undefined;
1163
+ }[] | undefined> | undefined;
1156
1164
  annotation?: Record<string, string | number | boolean | {
1157
1165
  type: string;
1158
1166
  filename: string;
@@ -1192,12 +1200,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1192
1200
  originalFilename: string;
1193
1201
  }[] | undefined> | undefined;
1194
1202
  originalActionId?: string | undefined;
1203
+ keepAssignment?: boolean | undefined;
1195
1204
  }>;
1196
1205
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1197
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1207
  eventId: z.ZodString;
1199
1208
  transactionId: z.ZodString;
1200
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1209
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1201
1210
  filename: z.ZodString;
1202
1211
  originalFilename: z.ZodString;
1203
1212
  type: z.ZodString;
@@ -1310,7 +1319,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1310
1319
  addressLine2?: string | null | undefined;
1311
1320
  addressLine3?: string | null | undefined;
1312
1321
  postcodeOrZip?: string | null | undefined;
1313
- }>]>>;
1322
+ }>]>>>;
1314
1323
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1315
1324
  filename: z.ZodString;
1316
1325
  originalFilename: z.ZodString;
@@ -1426,10 +1435,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1426
1435
  postcodeOrZip?: string | null | undefined;
1427
1436
  }>]>>>;
1428
1437
  originalActionId: z.ZodOptional<z.ZodString>;
1438
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1429
1439
  }, {
1430
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1431
1441
  }>, "strip", z.ZodTypeAny, {
1432
1442
  type: "NOTIFY";
1443
+ transactionId: string;
1433
1444
  declaration: Record<string, string | number | boolean | {
1434
1445
  type: string;
1435
1446
  filename: string;
@@ -1469,7 +1480,6 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1469
1480
  originalFilename: string;
1470
1481
  }[] | undefined>;
1471
1482
  eventId: string;
1472
- transactionId: string;
1473
1483
  annotation?: Record<string, string | number | boolean | {
1474
1484
  type: string;
1475
1485
  filename: string;
@@ -1509,8 +1519,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1509
1519
  originalFilename: string;
1510
1520
  }[] | undefined> | undefined;
1511
1521
  originalActionId?: string | undefined;
1522
+ keepAssignment?: boolean | undefined;
1512
1523
  }, {
1513
- declaration: Record<string, string | number | boolean | {
1524
+ transactionId: string;
1525
+ eventId: string;
1526
+ type?: "NOTIFY" | undefined;
1527
+ declaration?: Record<string, string | number | boolean | {
1514
1528
  type: string;
1515
1529
  filename: string;
1516
1530
  originalFilename: string;
@@ -1547,10 +1561,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1547
1561
  option: string;
1548
1562
  filename: string;
1549
1563
  originalFilename: string;
1550
- }[] | undefined>;
1551
- eventId: string;
1552
- transactionId: string;
1553
- type?: "NOTIFY" | undefined;
1564
+ }[] | undefined> | undefined;
1554
1565
  annotation?: Record<string, string | number | boolean | {
1555
1566
  type: string;
1556
1567
  filename: string;
@@ -1590,12 +1601,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1590
1601
  originalFilename: string;
1591
1602
  }[] | undefined> | undefined;
1592
1603
  originalActionId?: string | undefined;
1604
+ keepAssignment?: boolean | undefined;
1593
1605
  }>;
1594
1606
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1595
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1596
1608
  eventId: z.ZodString;
1597
1609
  transactionId: z.ZodString;
1598
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1610
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1599
1611
  filename: z.ZodString;
1600
1612
  originalFilename: z.ZodString;
1601
1613
  type: z.ZodString;
@@ -1708,7 +1720,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1708
1720
  addressLine2?: string | null | undefined;
1709
1721
  addressLine3?: string | null | undefined;
1710
1722
  postcodeOrZip?: string | null | undefined;
1711
- }>]>>;
1723
+ }>]>>>;
1712
1724
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1713
1725
  filename: z.ZodString;
1714
1726
  originalFilename: z.ZodString;
@@ -1824,10 +1836,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1824
1836
  postcodeOrZip?: string | null | undefined;
1825
1837
  }>]>>>;
1826
1838
  originalActionId: z.ZodOptional<z.ZodString>;
1839
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1827
1840
  }, {
1828
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1829
1842
  }>, "strip", z.ZodTypeAny, {
1830
1843
  type: "DECLARE";
1844
+ transactionId: string;
1831
1845
  declaration: Record<string, string | number | boolean | {
1832
1846
  type: string;
1833
1847
  filename: string;
@@ -1867,7 +1881,6 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1867
1881
  originalFilename: string;
1868
1882
  }[] | undefined>;
1869
1883
  eventId: string;
1870
- transactionId: string;
1871
1884
  annotation?: Record<string, string | number | boolean | {
1872
1885
  type: string;
1873
1886
  filename: string;
@@ -1907,8 +1920,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1907
1920
  originalFilename: string;
1908
1921
  }[] | undefined> | undefined;
1909
1922
  originalActionId?: string | undefined;
1923
+ keepAssignment?: boolean | undefined;
1910
1924
  }, {
1911
- declaration: Record<string, string | number | boolean | {
1925
+ transactionId: string;
1926
+ eventId: string;
1927
+ type?: "DECLARE" | undefined;
1928
+ declaration?: Record<string, string | number | boolean | {
1912
1929
  type: string;
1913
1930
  filename: string;
1914
1931
  originalFilename: string;
@@ -1945,10 +1962,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1945
1962
  option: string;
1946
1963
  filename: string;
1947
1964
  originalFilename: string;
1948
- }[] | undefined>;
1949
- eventId: string;
1950
- transactionId: string;
1951
- type?: "DECLARE" | undefined;
1965
+ }[] | undefined> | undefined;
1952
1966
  annotation?: Record<string, string | number | boolean | {
1953
1967
  type: string;
1954
1968
  filename: string;
@@ -1988,11 +2002,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1988
2002
  originalFilename: string;
1989
2003
  }[] | undefined> | undefined;
1990
2004
  originalActionId?: string | undefined;
2005
+ keepAssignment?: boolean | undefined;
1991
2006
  }>;
1992
2007
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
2008
  eventId: z.ZodString;
1994
2009
  transactionId: z.ZodString;
1995
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2010
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1996
2011
  filename: z.ZodString;
1997
2012
  originalFilename: z.ZodString;
1998
2013
  type: z.ZodString;
@@ -2105,7 +2120,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2120
  addressLine2?: string | null | undefined;
2106
2121
  addressLine3?: string | null | undefined;
2107
2122
  postcodeOrZip?: string | null | undefined;
2108
- }>]>>;
2123
+ }>]>>>;
2109
2124
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2110
2125
  filename: z.ZodString;
2111
2126
  originalFilename: z.ZodString;
@@ -2221,10 +2236,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2221
2236
  postcodeOrZip?: string | null | undefined;
2222
2237
  }>]>>>;
2223
2238
  originalActionId: z.ZodOptional<z.ZodString>;
2239
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2224
2240
  }, {
2225
2241
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2226
2242
  }>, "strip", z.ZodTypeAny, {
2227
2243
  type: "PRINT_CERTIFICATE";
2244
+ transactionId: string;
2228
2245
  declaration: Record<string, string | number | boolean | {
2229
2246
  type: string;
2230
2247
  filename: string;
@@ -2264,7 +2281,6 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2264
2281
  originalFilename: string;
2265
2282
  }[] | undefined>;
2266
2283
  eventId: string;
2267
- transactionId: string;
2268
2284
  annotation?: Record<string, string | number | boolean | {
2269
2285
  type: string;
2270
2286
  filename: string;
@@ -2304,8 +2320,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2304
2320
  originalFilename: string;
2305
2321
  }[] | undefined> | undefined;
2306
2322
  originalActionId?: string | undefined;
2323
+ keepAssignment?: boolean | undefined;
2307
2324
  }, {
2308
- declaration: Record<string, string | number | boolean | {
2325
+ transactionId: string;
2326
+ eventId: string;
2327
+ type?: "PRINT_CERTIFICATE" | undefined;
2328
+ declaration?: Record<string, string | number | boolean | {
2309
2329
  type: string;
2310
2330
  filename: string;
2311
2331
  originalFilename: string;
@@ -2342,10 +2362,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2342
2362
  option: string;
2343
2363
  filename: string;
2344
2364
  originalFilename: string;
2345
- }[] | undefined>;
2346
- eventId: string;
2347
- transactionId: string;
2348
- type?: "PRINT_CERTIFICATE" | undefined;
2365
+ }[] | undefined> | undefined;
2349
2366
  annotation?: Record<string, string | number | boolean | {
2350
2367
  type: string;
2351
2368
  filename: string;
@@ -2385,12 +2402,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2385
2402
  originalFilename: string;
2386
2403
  }[] | undefined> | undefined;
2387
2404
  originalActionId?: string | undefined;
2405
+ keepAssignment?: boolean | undefined;
2388
2406
  }>;
2389
2407
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2390
2408
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2391
2409
  eventId: z.ZodString;
2392
2410
  transactionId: z.ZodString;
2393
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2411
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2394
2412
  filename: z.ZodString;
2395
2413
  originalFilename: z.ZodString;
2396
2414
  type: z.ZodString;
@@ -2503,7 +2521,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2503
2521
  addressLine2?: string | null | undefined;
2504
2522
  addressLine3?: string | null | undefined;
2505
2523
  postcodeOrZip?: string | null | undefined;
2506
- }>]>>;
2524
+ }>]>>>;
2507
2525
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2508
2526
  filename: z.ZodString;
2509
2527
  originalFilename: z.ZodString;
@@ -2619,10 +2637,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2619
2637
  postcodeOrZip?: string | null | undefined;
2620
2638
  }>]>>>;
2621
2639
  originalActionId: z.ZodOptional<z.ZodString>;
2640
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2622
2641
  }, {
2623
2642
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2624
2643
  }>, "strip", z.ZodTypeAny, {
2625
2644
  type: "REJECT";
2645
+ transactionId: string;
2626
2646
  declaration: Record<string, string | number | boolean | {
2627
2647
  type: string;
2628
2648
  filename: string;
@@ -2662,7 +2682,6 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2662
2682
  originalFilename: string;
2663
2683
  }[] | undefined>;
2664
2684
  eventId: string;
2665
- transactionId: string;
2666
2685
  annotation?: Record<string, string | number | boolean | {
2667
2686
  type: string;
2668
2687
  filename: string;
@@ -2702,8 +2721,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2702
2721
  originalFilename: string;
2703
2722
  }[] | undefined> | undefined;
2704
2723
  originalActionId?: string | undefined;
2724
+ keepAssignment?: boolean | undefined;
2705
2725
  }, {
2706
- declaration: Record<string, string | number | boolean | {
2726
+ transactionId: string;
2727
+ eventId: string;
2728
+ type?: "REJECT" | undefined;
2729
+ declaration?: Record<string, string | number | boolean | {
2707
2730
  type: string;
2708
2731
  filename: string;
2709
2732
  originalFilename: string;
@@ -2740,10 +2763,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2740
2763
  option: string;
2741
2764
  filename: string;
2742
2765
  originalFilename: string;
2743
- }[] | undefined>;
2744
- eventId: string;
2745
- transactionId: string;
2746
- type?: "REJECT" | undefined;
2766
+ }[] | undefined> | undefined;
2747
2767
  annotation?: Record<string, string | number | boolean | {
2748
2768
  type: string;
2749
2769
  filename: string;
@@ -2783,12 +2803,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2783
2803
  originalFilename: string;
2784
2804
  }[] | undefined> | undefined;
2785
2805
  originalActionId?: string | undefined;
2806
+ keepAssignment?: boolean | undefined;
2786
2807
  }>;
2787
2808
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
2809
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2789
2810
  eventId: z.ZodString;
2790
2811
  transactionId: z.ZodString;
2791
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2812
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2792
2813
  filename: z.ZodString;
2793
2814
  originalFilename: z.ZodString;
2794
2815
  type: z.ZodString;
@@ -2901,7 +2922,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2901
2922
  addressLine2?: string | null | undefined;
2902
2923
  addressLine3?: string | null | undefined;
2903
2924
  postcodeOrZip?: string | null | undefined;
2904
- }>]>>;
2925
+ }>]>>>;
2905
2926
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2906
2927
  filename: z.ZodString;
2907
2928
  originalFilename: z.ZodString;
@@ -3017,10 +3038,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3017
3038
  postcodeOrZip?: string | null | undefined;
3018
3039
  }>]>>>;
3019
3040
  originalActionId: z.ZodOptional<z.ZodString>;
3041
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3020
3042
  }, {
3021
3043
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3022
3044
  }>, "strip", z.ZodTypeAny, {
3023
3045
  type: "MARKED_AS_DUPLICATE";
3046
+ transactionId: string;
3024
3047
  declaration: Record<string, string | number | boolean | {
3025
3048
  type: string;
3026
3049
  filename: string;
@@ -3060,7 +3083,6 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3060
3083
  originalFilename: string;
3061
3084
  }[] | undefined>;
3062
3085
  eventId: string;
3063
- transactionId: string;
3064
3086
  annotation?: Record<string, string | number | boolean | {
3065
3087
  type: string;
3066
3088
  filename: string;
@@ -3100,8 +3122,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3100
3122
  originalFilename: string;
3101
3123
  }[] | undefined> | undefined;
3102
3124
  originalActionId?: string | undefined;
3125
+ keepAssignment?: boolean | undefined;
3103
3126
  }, {
3104
- declaration: Record<string, string | number | boolean | {
3127
+ transactionId: string;
3128
+ eventId: string;
3129
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3130
+ declaration?: Record<string, string | number | boolean | {
3105
3131
  type: string;
3106
3132
  filename: string;
3107
3133
  originalFilename: string;
@@ -3138,10 +3164,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3138
3164
  option: string;
3139
3165
  filename: string;
3140
3166
  originalFilename: string;
3141
- }[] | undefined>;
3142
- eventId: string;
3143
- transactionId: string;
3144
- type?: "MARKED_AS_DUPLICATE" | undefined;
3167
+ }[] | undefined> | undefined;
3145
3168
  annotation?: Record<string, string | number | boolean | {
3146
3169
  type: string;
3147
3170
  filename: string;
@@ -3181,12 +3204,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3181
3204
  originalFilename: string;
3182
3205
  }[] | undefined> | undefined;
3183
3206
  originalActionId?: string | undefined;
3207
+ keepAssignment?: boolean | undefined;
3184
3208
  }>;
3185
3209
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
3210
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3187
3211
  eventId: z.ZodString;
3188
3212
  transactionId: z.ZodString;
3189
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3213
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3190
3214
  filename: z.ZodString;
3191
3215
  originalFilename: z.ZodString;
3192
3216
  type: z.ZodString;
@@ -3299,7 +3323,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3299
3323
  addressLine2?: string | null | undefined;
3300
3324
  addressLine3?: string | null | undefined;
3301
3325
  postcodeOrZip?: string | null | undefined;
3302
- }>]>>;
3326
+ }>]>>>;
3303
3327
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3304
3328
  filename: z.ZodString;
3305
3329
  originalFilename: z.ZodString;
@@ -3415,10 +3439,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3415
3439
  postcodeOrZip?: string | null | undefined;
3416
3440
  }>]>>>;
3417
3441
  originalActionId: z.ZodOptional<z.ZodString>;
3442
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3418
3443
  }, {
3419
3444
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3420
3445
  }>, "strip", z.ZodTypeAny, {
3421
3446
  type: "ARCHIVE";
3447
+ transactionId: string;
3422
3448
  declaration: Record<string, string | number | boolean | {
3423
3449
  type: string;
3424
3450
  filename: string;
@@ -3458,7 +3484,6 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3458
3484
  originalFilename: string;
3459
3485
  }[] | undefined>;
3460
3486
  eventId: string;
3461
- transactionId: string;
3462
3487
  annotation?: Record<string, string | number | boolean | {
3463
3488
  type: string;
3464
3489
  filename: string;
@@ -3498,8 +3523,819 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3498
3523
  originalFilename: string;
3499
3524
  }[] | undefined> | undefined;
3500
3525
  originalActionId?: string | undefined;
3526
+ keepAssignment?: boolean | undefined;
3501
3527
  }, {
3502
- declaration: Record<string, string | number | boolean | {
3528
+ transactionId: string;
3529
+ eventId: string;
3530
+ type?: "ARCHIVE" | undefined;
3531
+ declaration?: Record<string, string | number | boolean | {
3532
+ type: string;
3533
+ filename: string;
3534
+ originalFilename: string;
3535
+ } | {
3536
+ country: string;
3537
+ district: string;
3538
+ addressType: "DOMESTIC";
3539
+ province: string;
3540
+ urbanOrRural: "URBAN";
3541
+ number?: string | null | undefined;
3542
+ town?: string | null | undefined;
3543
+ residentialArea?: string | null | undefined;
3544
+ street?: string | null | undefined;
3545
+ zipCode?: string | null | undefined;
3546
+ } | {
3547
+ country: string;
3548
+ district: string;
3549
+ addressType: "DOMESTIC";
3550
+ province: string;
3551
+ urbanOrRural: "RURAL";
3552
+ village?: string | null | undefined;
3553
+ } | {
3554
+ country: string;
3555
+ state: string;
3556
+ addressType: "INTERNATIONAL";
3557
+ district2: string;
3558
+ cityOrTown?: string | null | undefined;
3559
+ addressLine1?: string | null | undefined;
3560
+ addressLine2?: string | null | undefined;
3561
+ addressLine3?: string | null | undefined;
3562
+ postcodeOrZip?: string | null | undefined;
3563
+ } | {
3564
+ type: string;
3565
+ option: string;
3566
+ filename: string;
3567
+ originalFilename: string;
3568
+ }[] | undefined> | undefined;
3569
+ annotation?: Record<string, string | number | boolean | {
3570
+ type: string;
3571
+ filename: string;
3572
+ originalFilename: string;
3573
+ } | {
3574
+ country: string;
3575
+ district: string;
3576
+ addressType: "DOMESTIC";
3577
+ province: string;
3578
+ urbanOrRural: "URBAN";
3579
+ number?: string | null | undefined;
3580
+ town?: string | null | undefined;
3581
+ residentialArea?: string | null | undefined;
3582
+ street?: string | null | undefined;
3583
+ zipCode?: string | null | undefined;
3584
+ } | {
3585
+ country: string;
3586
+ district: string;
3587
+ addressType: "DOMESTIC";
3588
+ province: string;
3589
+ urbanOrRural: "RURAL";
3590
+ village?: string | null | undefined;
3591
+ } | {
3592
+ country: string;
3593
+ state: string;
3594
+ addressType: "INTERNATIONAL";
3595
+ district2: string;
3596
+ cityOrTown?: string | null | undefined;
3597
+ addressLine1?: string | null | undefined;
3598
+ addressLine2?: string | null | undefined;
3599
+ addressLine3?: string | null | undefined;
3600
+ postcodeOrZip?: string | null | undefined;
3601
+ } | {
3602
+ type: string;
3603
+ option: string;
3604
+ filename: string;
3605
+ originalFilename: string;
3606
+ }[] | undefined> | undefined;
3607
+ originalActionId?: string | undefined;
3608
+ keepAssignment?: boolean | undefined;
3609
+ }>;
3610
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3612
+ eventId: z.ZodString;
3613
+ transactionId: z.ZodString;
3614
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3615
+ filename: z.ZodString;
3616
+ originalFilename: z.ZodString;
3617
+ type: z.ZodString;
3618
+ }, "strip", z.ZodTypeAny, {
3619
+ type: string;
3620
+ filename: string;
3621
+ originalFilename: string;
3622
+ }, {
3623
+ type: string;
3624
+ filename: string;
3625
+ originalFilename: string;
3626
+ }>, z.ZodArray<z.ZodObject<{
3627
+ filename: z.ZodString;
3628
+ originalFilename: z.ZodString;
3629
+ type: z.ZodString;
3630
+ option: z.ZodString;
3631
+ }, "strip", z.ZodTypeAny, {
3632
+ type: string;
3633
+ option: string;
3634
+ filename: string;
3635
+ originalFilename: string;
3636
+ }, {
3637
+ type: string;
3638
+ option: string;
3639
+ filename: string;
3640
+ originalFilename: string;
3641
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3642
+ country: z.ZodString;
3643
+ addressType: z.ZodLiteral<"DOMESTIC">;
3644
+ province: z.ZodString;
3645
+ district: z.ZodString;
3646
+ }, {
3647
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3648
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3649
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3650
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3651
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3652
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3653
+ }>, "strip", z.ZodTypeAny, {
3654
+ country: string;
3655
+ district: string;
3656
+ addressType: "DOMESTIC";
3657
+ province: string;
3658
+ urbanOrRural: "URBAN";
3659
+ number?: string | null | undefined;
3660
+ town?: string | null | undefined;
3661
+ residentialArea?: string | null | undefined;
3662
+ street?: string | null | undefined;
3663
+ zipCode?: string | null | undefined;
3664
+ }, {
3665
+ country: string;
3666
+ district: string;
3667
+ addressType: "DOMESTIC";
3668
+ province: string;
3669
+ urbanOrRural: "URBAN";
3670
+ number?: string | null | undefined;
3671
+ town?: string | null | undefined;
3672
+ residentialArea?: string | null | undefined;
3673
+ street?: string | null | undefined;
3674
+ zipCode?: string | null | undefined;
3675
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3676
+ country: z.ZodString;
3677
+ addressType: z.ZodLiteral<"DOMESTIC">;
3678
+ province: z.ZodString;
3679
+ district: z.ZodString;
3680
+ }, {
3681
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3682
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3683
+ }>, "strip", z.ZodTypeAny, {
3684
+ country: string;
3685
+ district: string;
3686
+ addressType: "DOMESTIC";
3687
+ province: string;
3688
+ urbanOrRural: "RURAL";
3689
+ village?: string | null | undefined;
3690
+ }, {
3691
+ country: string;
3692
+ district: string;
3693
+ addressType: "DOMESTIC";
3694
+ province: string;
3695
+ urbanOrRural: "RURAL";
3696
+ village?: string | null | undefined;
3697
+ }>, z.ZodUndefined, z.ZodObject<{
3698
+ country: z.ZodString;
3699
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3700
+ state: z.ZodString;
3701
+ district2: z.ZodString;
3702
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3703
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3704
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3705
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3706
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3707
+ }, "strip", z.ZodTypeAny, {
3708
+ country: string;
3709
+ state: string;
3710
+ addressType: "INTERNATIONAL";
3711
+ district2: string;
3712
+ cityOrTown?: string | null | undefined;
3713
+ addressLine1?: string | null | undefined;
3714
+ addressLine2?: string | null | undefined;
3715
+ addressLine3?: string | null | undefined;
3716
+ postcodeOrZip?: string | null | undefined;
3717
+ }, {
3718
+ country: string;
3719
+ state: string;
3720
+ addressType: "INTERNATIONAL";
3721
+ district2: string;
3722
+ cityOrTown?: string | null | undefined;
3723
+ addressLine1?: string | null | undefined;
3724
+ addressLine2?: string | null | undefined;
3725
+ addressLine3?: string | null | undefined;
3726
+ postcodeOrZip?: string | null | undefined;
3727
+ }>]>>>;
3728
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3729
+ filename: z.ZodString;
3730
+ originalFilename: z.ZodString;
3731
+ type: z.ZodString;
3732
+ }, "strip", z.ZodTypeAny, {
3733
+ type: string;
3734
+ filename: string;
3735
+ originalFilename: string;
3736
+ }, {
3737
+ type: string;
3738
+ filename: string;
3739
+ originalFilename: string;
3740
+ }>, z.ZodArray<z.ZodObject<{
3741
+ filename: z.ZodString;
3742
+ originalFilename: z.ZodString;
3743
+ type: z.ZodString;
3744
+ option: z.ZodString;
3745
+ }, "strip", z.ZodTypeAny, {
3746
+ type: string;
3747
+ option: string;
3748
+ filename: string;
3749
+ originalFilename: string;
3750
+ }, {
3751
+ type: string;
3752
+ option: string;
3753
+ filename: string;
3754
+ originalFilename: string;
3755
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3756
+ country: z.ZodString;
3757
+ addressType: z.ZodLiteral<"DOMESTIC">;
3758
+ province: z.ZodString;
3759
+ district: z.ZodString;
3760
+ }, {
3761
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3762
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3763
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3764
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3765
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3766
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3767
+ }>, "strip", z.ZodTypeAny, {
3768
+ country: string;
3769
+ district: string;
3770
+ addressType: "DOMESTIC";
3771
+ province: string;
3772
+ urbanOrRural: "URBAN";
3773
+ number?: string | null | undefined;
3774
+ town?: string | null | undefined;
3775
+ residentialArea?: string | null | undefined;
3776
+ street?: string | null | undefined;
3777
+ zipCode?: string | null | undefined;
3778
+ }, {
3779
+ country: string;
3780
+ district: string;
3781
+ addressType: "DOMESTIC";
3782
+ province: string;
3783
+ urbanOrRural: "URBAN";
3784
+ number?: string | null | undefined;
3785
+ town?: string | null | undefined;
3786
+ residentialArea?: string | null | undefined;
3787
+ street?: string | null | undefined;
3788
+ zipCode?: string | null | undefined;
3789
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3790
+ country: z.ZodString;
3791
+ addressType: z.ZodLiteral<"DOMESTIC">;
3792
+ province: z.ZodString;
3793
+ district: z.ZodString;
3794
+ }, {
3795
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3796
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3797
+ }>, "strip", z.ZodTypeAny, {
3798
+ country: string;
3799
+ district: string;
3800
+ addressType: "DOMESTIC";
3801
+ province: string;
3802
+ urbanOrRural: "RURAL";
3803
+ village?: string | null | undefined;
3804
+ }, {
3805
+ country: string;
3806
+ district: string;
3807
+ addressType: "DOMESTIC";
3808
+ province: string;
3809
+ urbanOrRural: "RURAL";
3810
+ village?: string | null | undefined;
3811
+ }>, z.ZodUndefined, z.ZodObject<{
3812
+ country: z.ZodString;
3813
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3814
+ state: z.ZodString;
3815
+ district2: z.ZodString;
3816
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3817
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3818
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3819
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3820
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3821
+ }, "strip", z.ZodTypeAny, {
3822
+ country: string;
3823
+ state: string;
3824
+ addressType: "INTERNATIONAL";
3825
+ district2: string;
3826
+ cityOrTown?: string | null | undefined;
3827
+ addressLine1?: string | null | undefined;
3828
+ addressLine2?: string | null | undefined;
3829
+ addressLine3?: string | null | undefined;
3830
+ postcodeOrZip?: string | null | undefined;
3831
+ }, {
3832
+ country: string;
3833
+ state: string;
3834
+ addressType: "INTERNATIONAL";
3835
+ district2: string;
3836
+ cityOrTown?: string | null | undefined;
3837
+ addressLine1?: string | null | undefined;
3838
+ addressLine2?: string | null | undefined;
3839
+ addressLine3?: string | null | undefined;
3840
+ postcodeOrZip?: string | null | undefined;
3841
+ }>]>>>;
3842
+ originalActionId: z.ZodOptional<z.ZodString>;
3843
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3844
+ }, {
3845
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3846
+ assignedTo: z.ZodString;
3847
+ }>, "strip", z.ZodTypeAny, {
3848
+ type: "ASSIGN";
3849
+ transactionId: string;
3850
+ declaration: Record<string, string | number | boolean | {
3851
+ type: string;
3852
+ filename: string;
3853
+ originalFilename: string;
3854
+ } | {
3855
+ country: string;
3856
+ district: string;
3857
+ addressType: "DOMESTIC";
3858
+ province: string;
3859
+ urbanOrRural: "URBAN";
3860
+ number?: string | null | undefined;
3861
+ town?: string | null | undefined;
3862
+ residentialArea?: string | null | undefined;
3863
+ street?: string | null | undefined;
3864
+ zipCode?: string | null | undefined;
3865
+ } | {
3866
+ country: string;
3867
+ district: string;
3868
+ addressType: "DOMESTIC";
3869
+ province: string;
3870
+ urbanOrRural: "RURAL";
3871
+ village?: string | null | undefined;
3872
+ } | {
3873
+ country: string;
3874
+ state: string;
3875
+ addressType: "INTERNATIONAL";
3876
+ district2: string;
3877
+ cityOrTown?: string | null | undefined;
3878
+ addressLine1?: string | null | undefined;
3879
+ addressLine2?: string | null | undefined;
3880
+ addressLine3?: string | null | undefined;
3881
+ postcodeOrZip?: string | null | undefined;
3882
+ } | {
3883
+ type: string;
3884
+ option: string;
3885
+ filename: string;
3886
+ originalFilename: string;
3887
+ }[] | undefined>;
3888
+ assignedTo: string;
3889
+ eventId: string;
3890
+ annotation?: Record<string, string | number | boolean | {
3891
+ type: string;
3892
+ filename: string;
3893
+ originalFilename: string;
3894
+ } | {
3895
+ country: string;
3896
+ district: string;
3897
+ addressType: "DOMESTIC";
3898
+ province: string;
3899
+ urbanOrRural: "URBAN";
3900
+ number?: string | null | undefined;
3901
+ town?: string | null | undefined;
3902
+ residentialArea?: string | null | undefined;
3903
+ street?: string | null | undefined;
3904
+ zipCode?: string | null | undefined;
3905
+ } | {
3906
+ country: string;
3907
+ district: string;
3908
+ addressType: "DOMESTIC";
3909
+ province: string;
3910
+ urbanOrRural: "RURAL";
3911
+ village?: string | null | undefined;
3912
+ } | {
3913
+ country: string;
3914
+ state: string;
3915
+ addressType: "INTERNATIONAL";
3916
+ district2: string;
3917
+ cityOrTown?: string | null | undefined;
3918
+ addressLine1?: string | null | undefined;
3919
+ addressLine2?: string | null | undefined;
3920
+ addressLine3?: string | null | undefined;
3921
+ postcodeOrZip?: string | null | undefined;
3922
+ } | {
3923
+ type: string;
3924
+ option: string;
3925
+ filename: string;
3926
+ originalFilename: string;
3927
+ }[] | undefined> | undefined;
3928
+ originalActionId?: string | undefined;
3929
+ keepAssignment?: boolean | undefined;
3930
+ }, {
3931
+ transactionId: string;
3932
+ assignedTo: string;
3933
+ eventId: string;
3934
+ type?: "ASSIGN" | undefined;
3935
+ declaration?: Record<string, string | number | boolean | {
3936
+ type: string;
3937
+ filename: string;
3938
+ originalFilename: string;
3939
+ } | {
3940
+ country: string;
3941
+ district: string;
3942
+ addressType: "DOMESTIC";
3943
+ province: string;
3944
+ urbanOrRural: "URBAN";
3945
+ number?: string | null | undefined;
3946
+ town?: string | null | undefined;
3947
+ residentialArea?: string | null | undefined;
3948
+ street?: string | null | undefined;
3949
+ zipCode?: string | null | undefined;
3950
+ } | {
3951
+ country: string;
3952
+ district: string;
3953
+ addressType: "DOMESTIC";
3954
+ province: string;
3955
+ urbanOrRural: "RURAL";
3956
+ village?: string | null | undefined;
3957
+ } | {
3958
+ country: string;
3959
+ state: string;
3960
+ addressType: "INTERNATIONAL";
3961
+ district2: string;
3962
+ cityOrTown?: string | null | undefined;
3963
+ addressLine1?: string | null | undefined;
3964
+ addressLine2?: string | null | undefined;
3965
+ addressLine3?: string | null | undefined;
3966
+ postcodeOrZip?: string | null | undefined;
3967
+ } | {
3968
+ type: string;
3969
+ option: string;
3970
+ filename: string;
3971
+ originalFilename: string;
3972
+ }[] | undefined> | undefined;
3973
+ annotation?: Record<string, string | number | boolean | {
3974
+ type: string;
3975
+ filename: string;
3976
+ originalFilename: string;
3977
+ } | {
3978
+ country: string;
3979
+ district: string;
3980
+ addressType: "DOMESTIC";
3981
+ province: string;
3982
+ urbanOrRural: "URBAN";
3983
+ number?: string | null | undefined;
3984
+ town?: string | null | undefined;
3985
+ residentialArea?: string | null | undefined;
3986
+ street?: string | null | undefined;
3987
+ zipCode?: string | null | undefined;
3988
+ } | {
3989
+ country: string;
3990
+ district: string;
3991
+ addressType: "DOMESTIC";
3992
+ province: string;
3993
+ urbanOrRural: "RURAL";
3994
+ village?: string | null | undefined;
3995
+ } | {
3996
+ country: string;
3997
+ state: string;
3998
+ addressType: "INTERNATIONAL";
3999
+ district2: string;
4000
+ cityOrTown?: string | null | undefined;
4001
+ addressLine1?: string | null | undefined;
4002
+ addressLine2?: string | null | undefined;
4003
+ addressLine3?: string | null | undefined;
4004
+ postcodeOrZip?: string | null | undefined;
4005
+ } | {
4006
+ type: string;
4007
+ option: string;
4008
+ filename: string;
4009
+ originalFilename: string;
4010
+ }[] | undefined> | undefined;
4011
+ originalActionId?: string | undefined;
4012
+ keepAssignment?: boolean | undefined;
4013
+ }>;
4014
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
4016
+ eventId: z.ZodString;
4017
+ transactionId: z.ZodString;
4018
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4019
+ filename: z.ZodString;
4020
+ originalFilename: z.ZodString;
4021
+ type: z.ZodString;
4022
+ }, "strip", z.ZodTypeAny, {
4023
+ type: string;
4024
+ filename: string;
4025
+ originalFilename: string;
4026
+ }, {
4027
+ type: string;
4028
+ filename: string;
4029
+ originalFilename: string;
4030
+ }>, z.ZodArray<z.ZodObject<{
4031
+ filename: z.ZodString;
4032
+ originalFilename: z.ZodString;
4033
+ type: z.ZodString;
4034
+ option: z.ZodString;
4035
+ }, "strip", z.ZodTypeAny, {
4036
+ type: string;
4037
+ option: string;
4038
+ filename: string;
4039
+ originalFilename: string;
4040
+ }, {
4041
+ type: string;
4042
+ option: string;
4043
+ filename: string;
4044
+ originalFilename: string;
4045
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
4046
+ country: z.ZodString;
4047
+ addressType: z.ZodLiteral<"DOMESTIC">;
4048
+ province: z.ZodString;
4049
+ district: z.ZodString;
4050
+ }, {
4051
+ urbanOrRural: z.ZodLiteral<"URBAN">;
4052
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4053
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4054
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4055
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4056
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4057
+ }>, "strip", z.ZodTypeAny, {
4058
+ country: string;
4059
+ district: string;
4060
+ addressType: "DOMESTIC";
4061
+ province: string;
4062
+ urbanOrRural: "URBAN";
4063
+ number?: string | null | undefined;
4064
+ town?: string | null | undefined;
4065
+ residentialArea?: string | null | undefined;
4066
+ street?: string | null | undefined;
4067
+ zipCode?: string | null | undefined;
4068
+ }, {
4069
+ country: string;
4070
+ district: string;
4071
+ addressType: "DOMESTIC";
4072
+ province: string;
4073
+ urbanOrRural: "URBAN";
4074
+ number?: string | null | undefined;
4075
+ town?: string | null | undefined;
4076
+ residentialArea?: string | null | undefined;
4077
+ street?: string | null | undefined;
4078
+ zipCode?: string | null | undefined;
4079
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4080
+ country: z.ZodString;
4081
+ addressType: z.ZodLiteral<"DOMESTIC">;
4082
+ province: z.ZodString;
4083
+ district: z.ZodString;
4084
+ }, {
4085
+ urbanOrRural: z.ZodLiteral<"RURAL">;
4086
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4087
+ }>, "strip", z.ZodTypeAny, {
4088
+ country: string;
4089
+ district: string;
4090
+ addressType: "DOMESTIC";
4091
+ province: string;
4092
+ urbanOrRural: "RURAL";
4093
+ village?: string | null | undefined;
4094
+ }, {
4095
+ country: string;
4096
+ district: string;
4097
+ addressType: "DOMESTIC";
4098
+ province: string;
4099
+ urbanOrRural: "RURAL";
4100
+ village?: string | null | undefined;
4101
+ }>, z.ZodUndefined, z.ZodObject<{
4102
+ country: z.ZodString;
4103
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4104
+ state: z.ZodString;
4105
+ district2: z.ZodString;
4106
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4107
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4108
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4109
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4110
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4111
+ }, "strip", z.ZodTypeAny, {
4112
+ country: string;
4113
+ state: string;
4114
+ addressType: "INTERNATIONAL";
4115
+ district2: string;
4116
+ cityOrTown?: string | null | undefined;
4117
+ addressLine1?: string | null | undefined;
4118
+ addressLine2?: string | null | undefined;
4119
+ addressLine3?: string | null | undefined;
4120
+ postcodeOrZip?: string | null | undefined;
4121
+ }, {
4122
+ country: string;
4123
+ state: string;
4124
+ addressType: "INTERNATIONAL";
4125
+ district2: string;
4126
+ cityOrTown?: string | null | undefined;
4127
+ addressLine1?: string | null | undefined;
4128
+ addressLine2?: string | null | undefined;
4129
+ addressLine3?: string | null | undefined;
4130
+ postcodeOrZip?: string | null | undefined;
4131
+ }>]>>>;
4132
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4133
+ filename: z.ZodString;
4134
+ originalFilename: z.ZodString;
4135
+ type: z.ZodString;
4136
+ }, "strip", z.ZodTypeAny, {
4137
+ type: string;
4138
+ filename: string;
4139
+ originalFilename: string;
4140
+ }, {
4141
+ type: string;
4142
+ filename: string;
4143
+ originalFilename: string;
4144
+ }>, z.ZodArray<z.ZodObject<{
4145
+ filename: z.ZodString;
4146
+ originalFilename: z.ZodString;
4147
+ type: z.ZodString;
4148
+ option: z.ZodString;
4149
+ }, "strip", z.ZodTypeAny, {
4150
+ type: string;
4151
+ option: string;
4152
+ filename: string;
4153
+ originalFilename: string;
4154
+ }, {
4155
+ type: string;
4156
+ option: string;
4157
+ filename: string;
4158
+ originalFilename: string;
4159
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
4160
+ country: z.ZodString;
4161
+ addressType: z.ZodLiteral<"DOMESTIC">;
4162
+ province: z.ZodString;
4163
+ district: z.ZodString;
4164
+ }, {
4165
+ urbanOrRural: z.ZodLiteral<"URBAN">;
4166
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4167
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4168
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4169
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4170
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4171
+ }>, "strip", z.ZodTypeAny, {
4172
+ country: string;
4173
+ district: string;
4174
+ addressType: "DOMESTIC";
4175
+ province: string;
4176
+ urbanOrRural: "URBAN";
4177
+ number?: string | null | undefined;
4178
+ town?: string | null | undefined;
4179
+ residentialArea?: string | null | undefined;
4180
+ street?: string | null | undefined;
4181
+ zipCode?: string | null | undefined;
4182
+ }, {
4183
+ country: string;
4184
+ district: string;
4185
+ addressType: "DOMESTIC";
4186
+ province: string;
4187
+ urbanOrRural: "URBAN";
4188
+ number?: string | null | undefined;
4189
+ town?: string | null | undefined;
4190
+ residentialArea?: string | null | undefined;
4191
+ street?: string | null | undefined;
4192
+ zipCode?: string | null | undefined;
4193
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4194
+ country: z.ZodString;
4195
+ addressType: z.ZodLiteral<"DOMESTIC">;
4196
+ province: z.ZodString;
4197
+ district: z.ZodString;
4198
+ }, {
4199
+ urbanOrRural: z.ZodLiteral<"RURAL">;
4200
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4201
+ }>, "strip", z.ZodTypeAny, {
4202
+ country: string;
4203
+ district: string;
4204
+ addressType: "DOMESTIC";
4205
+ province: string;
4206
+ urbanOrRural: "RURAL";
4207
+ village?: string | null | undefined;
4208
+ }, {
4209
+ country: string;
4210
+ district: string;
4211
+ addressType: "DOMESTIC";
4212
+ province: string;
4213
+ urbanOrRural: "RURAL";
4214
+ village?: string | null | undefined;
4215
+ }>, z.ZodUndefined, z.ZodObject<{
4216
+ country: z.ZodString;
4217
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4218
+ state: z.ZodString;
4219
+ district2: z.ZodString;
4220
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4221
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4222
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4223
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4224
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4225
+ }, "strip", z.ZodTypeAny, {
4226
+ country: string;
4227
+ state: string;
4228
+ addressType: "INTERNATIONAL";
4229
+ district2: string;
4230
+ cityOrTown?: string | null | undefined;
4231
+ addressLine1?: string | null | undefined;
4232
+ addressLine2?: string | null | undefined;
4233
+ addressLine3?: string | null | undefined;
4234
+ postcodeOrZip?: string | null | undefined;
4235
+ }, {
4236
+ country: string;
4237
+ state: string;
4238
+ addressType: "INTERNATIONAL";
4239
+ district2: string;
4240
+ cityOrTown?: string | null | undefined;
4241
+ addressLine1?: string | null | undefined;
4242
+ addressLine2?: string | null | undefined;
4243
+ addressLine3?: string | null | undefined;
4244
+ postcodeOrZip?: string | null | undefined;
4245
+ }>]>>>;
4246
+ originalActionId: z.ZodOptional<z.ZodString>;
4247
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4248
+ }, {
4249
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4250
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
4251
+ }>, "strip", z.ZodTypeAny, {
4252
+ type: "UNASSIGN";
4253
+ transactionId: string;
4254
+ declaration: Record<string, string | number | boolean | {
4255
+ type: string;
4256
+ filename: string;
4257
+ originalFilename: string;
4258
+ } | {
4259
+ country: string;
4260
+ district: string;
4261
+ addressType: "DOMESTIC";
4262
+ province: string;
4263
+ urbanOrRural: "URBAN";
4264
+ number?: string | null | undefined;
4265
+ town?: string | null | undefined;
4266
+ residentialArea?: string | null | undefined;
4267
+ street?: string | null | undefined;
4268
+ zipCode?: string | null | undefined;
4269
+ } | {
4270
+ country: string;
4271
+ district: string;
4272
+ addressType: "DOMESTIC";
4273
+ province: string;
4274
+ urbanOrRural: "RURAL";
4275
+ village?: string | null | undefined;
4276
+ } | {
4277
+ country: string;
4278
+ state: string;
4279
+ addressType: "INTERNATIONAL";
4280
+ district2: string;
4281
+ cityOrTown?: string | null | undefined;
4282
+ addressLine1?: string | null | undefined;
4283
+ addressLine2?: string | null | undefined;
4284
+ addressLine3?: string | null | undefined;
4285
+ postcodeOrZip?: string | null | undefined;
4286
+ } | {
4287
+ type: string;
4288
+ option: string;
4289
+ filename: string;
4290
+ originalFilename: string;
4291
+ }[] | undefined>;
4292
+ assignedTo: null;
4293
+ eventId: string;
4294
+ annotation?: Record<string, string | number | boolean | {
4295
+ type: string;
4296
+ filename: string;
4297
+ originalFilename: string;
4298
+ } | {
4299
+ country: string;
4300
+ district: string;
4301
+ addressType: "DOMESTIC";
4302
+ province: string;
4303
+ urbanOrRural: "URBAN";
4304
+ number?: string | null | undefined;
4305
+ town?: string | null | undefined;
4306
+ residentialArea?: string | null | undefined;
4307
+ street?: string | null | undefined;
4308
+ zipCode?: string | null | undefined;
4309
+ } | {
4310
+ country: string;
4311
+ district: string;
4312
+ addressType: "DOMESTIC";
4313
+ province: string;
4314
+ urbanOrRural: "RURAL";
4315
+ village?: string | null | undefined;
4316
+ } | {
4317
+ country: string;
4318
+ state: string;
4319
+ addressType: "INTERNATIONAL";
4320
+ district2: string;
4321
+ cityOrTown?: string | null | undefined;
4322
+ addressLine1?: string | null | undefined;
4323
+ addressLine2?: string | null | undefined;
4324
+ addressLine3?: string | null | undefined;
4325
+ postcodeOrZip?: string | null | undefined;
4326
+ } | {
4327
+ type: string;
4328
+ option: string;
4329
+ filename: string;
4330
+ originalFilename: string;
4331
+ }[] | undefined> | undefined;
4332
+ originalActionId?: string | undefined;
4333
+ keepAssignment?: boolean | undefined;
4334
+ }, {
4335
+ transactionId: string;
4336
+ eventId: string;
4337
+ type?: "UNASSIGN" | undefined;
4338
+ declaration?: Record<string, string | number | boolean | {
3503
4339
  type: string;
3504
4340
  filename: string;
3505
4341
  originalFilename: string;
@@ -3536,10 +4372,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3536
4372
  option: string;
3537
4373
  filename: string;
3538
4374
  originalFilename: string;
3539
- }[] | undefined>;
3540
- eventId: string;
3541
- transactionId: string;
3542
- type?: "ARCHIVE" | undefined;
4375
+ }[] | undefined> | undefined;
3543
4376
  annotation?: Record<string, string | number | boolean | {
3544
4377
  type: string;
3545
4378
  filename: string;
@@ -3579,12 +4412,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3579
4412
  originalFilename: string;
3580
4413
  }[] | undefined> | undefined;
3581
4414
  originalActionId?: string | undefined;
4415
+ assignedTo?: null | undefined;
4416
+ keepAssignment?: boolean | undefined;
3582
4417
  }>;
3583
- export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
4418
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
3584
4419
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3585
4420
  eventId: z.ZodString;
3586
4421
  transactionId: z.ZodString;
3587
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4422
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3588
4423
  filename: z.ZodString;
3589
4424
  originalFilename: z.ZodString;
3590
4425
  type: z.ZodString;
@@ -3697,7 +4532,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3697
4532
  addressLine2?: string | null | undefined;
3698
4533
  addressLine3?: string | null | undefined;
3699
4534
  postcodeOrZip?: string | null | undefined;
3700
- }>]>>;
4535
+ }>]>>>;
3701
4536
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3702
4537
  filename: z.ZodString;
3703
4538
  originalFilename: z.ZodString;
@@ -3813,10 +4648,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3813
4648
  postcodeOrZip?: string | null | undefined;
3814
4649
  }>]>>>;
3815
4650
  originalActionId: z.ZodOptional<z.ZodString>;
4651
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3816
4652
  }, {
3817
4653
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3818
4654
  }>, "strip", z.ZodTypeAny, {
3819
4655
  type: "REQUEST_CORRECTION";
4656
+ transactionId: string;
3820
4657
  declaration: Record<string, string | number | boolean | {
3821
4658
  type: string;
3822
4659
  filename: string;
@@ -3856,7 +4693,6 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3856
4693
  originalFilename: string;
3857
4694
  }[] | undefined>;
3858
4695
  eventId: string;
3859
- transactionId: string;
3860
4696
  annotation?: Record<string, string | number | boolean | {
3861
4697
  type: string;
3862
4698
  filename: string;
@@ -3896,8 +4732,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3896
4732
  originalFilename: string;
3897
4733
  }[] | undefined> | undefined;
3898
4734
  originalActionId?: string | undefined;
4735
+ keepAssignment?: boolean | undefined;
3899
4736
  }, {
3900
- declaration: Record<string, string | number | boolean | {
4737
+ transactionId: string;
4738
+ eventId: string;
4739
+ type?: "REQUEST_CORRECTION" | undefined;
4740
+ declaration?: Record<string, string | number | boolean | {
3901
4741
  type: string;
3902
4742
  filename: string;
3903
4743
  originalFilename: string;
@@ -3934,10 +4774,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3934
4774
  option: string;
3935
4775
  filename: string;
3936
4776
  originalFilename: string;
3937
- }[] | undefined>;
3938
- eventId: string;
3939
- transactionId: string;
3940
- type?: "REQUEST_CORRECTION" | undefined;
4777
+ }[] | undefined> | undefined;
3941
4778
  annotation?: Record<string, string | number | boolean | {
3942
4779
  type: string;
3943
4780
  filename: string;
@@ -3977,12 +4814,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3977
4814
  originalFilename: string;
3978
4815
  }[] | undefined> | undefined;
3979
4816
  originalActionId?: string | undefined;
4817
+ keepAssignment?: boolean | undefined;
3980
4818
  }>;
3981
4819
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3982
4820
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3983
4821
  eventId: z.ZodString;
3984
4822
  transactionId: z.ZodString;
3985
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4823
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3986
4824
  filename: z.ZodString;
3987
4825
  originalFilename: z.ZodString;
3988
4826
  type: z.ZodString;
@@ -4095,7 +4933,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4095
4933
  addressLine2?: string | null | undefined;
4096
4934
  addressLine3?: string | null | undefined;
4097
4935
  postcodeOrZip?: string | null | undefined;
4098
- }>]>>;
4936
+ }>]>>>;
4099
4937
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4100
4938
  filename: z.ZodString;
4101
4939
  originalFilename: z.ZodString;
@@ -4211,11 +5049,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4211
5049
  postcodeOrZip?: string | null | undefined;
4212
5050
  }>]>>>;
4213
5051
  originalActionId: z.ZodOptional<z.ZodString>;
5052
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4214
5053
  }, {
4215
5054
  requestId: z.ZodString;
4216
5055
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4217
5056
  }>, "strip", z.ZodTypeAny, {
4218
5057
  type: "REJECT_CORRECTION";
5058
+ transactionId: string;
4219
5059
  declaration: Record<string, string | number | boolean | {
4220
5060
  type: string;
4221
5061
  filename: string;
@@ -4256,7 +5096,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4256
5096
  }[] | undefined>;
4257
5097
  requestId: string;
4258
5098
  eventId: string;
4259
- transactionId: string;
4260
5099
  annotation?: Record<string, string | number | boolean | {
4261
5100
  type: string;
4262
5101
  filename: string;
@@ -4296,8 +5135,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4296
5135
  originalFilename: string;
4297
5136
  }[] | undefined> | undefined;
4298
5137
  originalActionId?: string | undefined;
5138
+ keepAssignment?: boolean | undefined;
4299
5139
  }, {
4300
- declaration: Record<string, string | number | boolean | {
5140
+ transactionId: string;
5141
+ requestId: string;
5142
+ eventId: string;
5143
+ type?: "REJECT_CORRECTION" | undefined;
5144
+ declaration?: Record<string, string | number | boolean | {
4301
5145
  type: string;
4302
5146
  filename: string;
4303
5147
  originalFilename: string;
@@ -4334,11 +5178,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4334
5178
  option: string;
4335
5179
  filename: string;
4336
5180
  originalFilename: string;
4337
- }[] | undefined>;
4338
- requestId: string;
4339
- eventId: string;
4340
- transactionId: string;
4341
- type?: "REJECT_CORRECTION" | undefined;
5181
+ }[] | undefined> | undefined;
4342
5182
  annotation?: Record<string, string | number | boolean | {
4343
5183
  type: string;
4344
5184
  filename: string;
@@ -4378,12 +5218,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4378
5218
  originalFilename: string;
4379
5219
  }[] | undefined> | undefined;
4380
5220
  originalActionId?: string | undefined;
5221
+ keepAssignment?: boolean | undefined;
4381
5222
  }>;
4382
5223
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4383
5224
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4384
5225
  eventId: z.ZodString;
4385
5226
  transactionId: z.ZodString;
4386
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5227
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4387
5228
  filename: z.ZodString;
4388
5229
  originalFilename: z.ZodString;
4389
5230
  type: z.ZodString;
@@ -4496,7 +5337,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4496
5337
  addressLine2?: string | null | undefined;
4497
5338
  addressLine3?: string | null | undefined;
4498
5339
  postcodeOrZip?: string | null | undefined;
4499
- }>]>>;
5340
+ }>]>>>;
4500
5341
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4501
5342
  filename: z.ZodString;
4502
5343
  originalFilename: z.ZodString;
@@ -4612,11 +5453,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4612
5453
  postcodeOrZip?: string | null | undefined;
4613
5454
  }>]>>>;
4614
5455
  originalActionId: z.ZodOptional<z.ZodString>;
5456
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4615
5457
  }, {
4616
5458
  requestId: z.ZodString;
4617
5459
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4618
5460
  }>, "strip", z.ZodTypeAny, {
4619
5461
  type: "APPROVE_CORRECTION";
5462
+ transactionId: string;
4620
5463
  declaration: Record<string, string | number | boolean | {
4621
5464
  type: string;
4622
5465
  filename: string;
@@ -4657,7 +5500,6 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4657
5500
  }[] | undefined>;
4658
5501
  requestId: string;
4659
5502
  eventId: string;
4660
- transactionId: string;
4661
5503
  annotation?: Record<string, string | number | boolean | {
4662
5504
  type: string;
4663
5505
  filename: string;
@@ -4697,8 +5539,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4697
5539
  originalFilename: string;
4698
5540
  }[] | undefined> | undefined;
4699
5541
  originalActionId?: string | undefined;
5542
+ keepAssignment?: boolean | undefined;
4700
5543
  }, {
4701
- declaration: Record<string, string | number | boolean | {
5544
+ transactionId: string;
5545
+ requestId: string;
5546
+ eventId: string;
5547
+ type?: "APPROVE_CORRECTION" | undefined;
5548
+ declaration?: Record<string, string | number | boolean | {
4702
5549
  type: string;
4703
5550
  filename: string;
4704
5551
  originalFilename: string;
@@ -4735,11 +5582,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4735
5582
  option: string;
4736
5583
  filename: string;
4737
5584
  originalFilename: string;
4738
- }[] | undefined>;
4739
- requestId: string;
4740
- eventId: string;
4741
- transactionId: string;
4742
- type?: "APPROVE_CORRECTION" | undefined;
5585
+ }[] | undefined> | undefined;
4743
5586
  annotation?: Record<string, string | number | boolean | {
4744
5587
  type: string;
4745
5588
  filename: string;
@@ -4779,12 +5622,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4779
5622
  originalFilename: string;
4780
5623
  }[] | undefined> | undefined;
4781
5624
  originalActionId?: string | undefined;
5625
+ keepAssignment?: boolean | undefined;
4782
5626
  }>;
4783
5627
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4784
5628
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4785
5629
  eventId: z.ZodString;
4786
5630
  transactionId: z.ZodString;
4787
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5631
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4788
5632
  filename: z.ZodString;
4789
5633
  originalFilename: z.ZodString;
4790
5634
  type: z.ZodString;
@@ -4897,7 +5741,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4897
5741
  addressLine2?: string | null | undefined;
4898
5742
  addressLine3?: string | null | undefined;
4899
5743
  postcodeOrZip?: string | null | undefined;
4900
- }>]>>;
5744
+ }>]>>>;
4901
5745
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4902
5746
  filename: z.ZodString;
4903
5747
  originalFilename: z.ZodString;
@@ -5013,10 +5857,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5013
5857
  postcodeOrZip?: string | null | undefined;
5014
5858
  }>]>>>;
5015
5859
  originalActionId: z.ZodOptional<z.ZodString>;
5860
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5016
5861
  }, {
5017
5862
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
5018
5863
  }>, "strip", z.ZodTypeAny, {
5019
5864
  type: "READ";
5865
+ transactionId: string;
5020
5866
  declaration: Record<string, string | number | boolean | {
5021
5867
  type: string;
5022
5868
  filename: string;
@@ -5056,7 +5902,6 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5056
5902
  originalFilename: string;
5057
5903
  }[] | undefined>;
5058
5904
  eventId: string;
5059
- transactionId: string;
5060
5905
  annotation?: Record<string, string | number | boolean | {
5061
5906
  type: string;
5062
5907
  filename: string;
@@ -5096,8 +5941,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5096
5941
  originalFilename: string;
5097
5942
  }[] | undefined> | undefined;
5098
5943
  originalActionId?: string | undefined;
5944
+ keepAssignment?: boolean | undefined;
5099
5945
  }, {
5100
- declaration: Record<string, string | number | boolean | {
5946
+ transactionId: string;
5947
+ eventId: string;
5948
+ type?: "READ" | undefined;
5949
+ declaration?: Record<string, string | number | boolean | {
5101
5950
  type: string;
5102
5951
  filename: string;
5103
5952
  originalFilename: string;
@@ -5134,10 +5983,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5134
5983
  option: string;
5135
5984
  filename: string;
5136
5985
  originalFilename: string;
5137
- }[] | undefined>;
5138
- eventId: string;
5139
- transactionId: string;
5140
- type?: "READ" | undefined;
5986
+ }[] | undefined> | undefined;
5141
5987
  annotation?: Record<string, string | number | boolean | {
5142
5988
  type: string;
5143
5989
  filename: string;
@@ -5177,8 +6023,17 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5177
6023
  originalFilename: string;
5178
6024
  }[] | undefined> | undefined;
5179
6025
  originalActionId?: string | undefined;
6026
+ keepAssignment?: boolean | undefined;
5180
6027
  }>;
5181
6028
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
6029
+ export declare const DeleteActionInput: z.ZodObject<{
6030
+ eventId: z.ZodString;
6031
+ }, "strip", z.ZodTypeAny, {
6032
+ eventId: string;
6033
+ }, {
6034
+ eventId: string;
6035
+ }>;
6036
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
5182
6037
  /**
5183
6038
  * ActionInput types are used to validate the input data for the action.
5184
6039
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -5190,7 +6045,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5190
6045
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5191
6046
  eventId: z.ZodString;
5192
6047
  transactionId: z.ZodString;
5193
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6048
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5194
6049
  filename: z.ZodString;
5195
6050
  originalFilename: z.ZodString;
5196
6051
  type: z.ZodString;
@@ -5303,7 +6158,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5303
6158
  addressLine2?: string | null | undefined;
5304
6159
  addressLine3?: string | null | undefined;
5305
6160
  postcodeOrZip?: string | null | undefined;
5306
- }>]>>;
6161
+ }>]>>>;
5307
6162
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5308
6163
  filename: z.ZodString;
5309
6164
  originalFilename: z.ZodString;
@@ -5419,11 +6274,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5419
6274
  postcodeOrZip?: string | null | undefined;
5420
6275
  }>]>>>;
5421
6276
  originalActionId: z.ZodOptional<z.ZodString>;
6277
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5422
6278
  }, {
5423
6279
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5424
6280
  createdAtLocation: z.ZodString;
5425
6281
  }>, "strip", z.ZodTypeAny, {
5426
6282
  type: "CREATE";
6283
+ transactionId: string;
5427
6284
  declaration: Record<string, string | number | boolean | {
5428
6285
  type: string;
5429
6286
  filename: string;
@@ -5464,7 +6321,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5464
6321
  }[] | undefined>;
5465
6322
  createdAtLocation: string;
5466
6323
  eventId: string;
5467
- transactionId: string;
5468
6324
  annotation?: Record<string, string | number | boolean | {
5469
6325
  type: string;
5470
6326
  filename: string;
@@ -5504,8 +6360,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5504
6360
  originalFilename: string;
5505
6361
  }[] | undefined> | undefined;
5506
6362
  originalActionId?: string | undefined;
6363
+ keepAssignment?: boolean | undefined;
5507
6364
  }, {
5508
- declaration: Record<string, string | number | boolean | {
6365
+ transactionId: string;
6366
+ createdAtLocation: string;
6367
+ eventId: string;
6368
+ type?: "CREATE" | undefined;
6369
+ declaration?: Record<string, string | number | boolean | {
5509
6370
  type: string;
5510
6371
  filename: string;
5511
6372
  originalFilename: string;
@@ -5542,11 +6403,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5542
6403
  option: string;
5543
6404
  filename: string;
5544
6405
  originalFilename: string;
5545
- }[] | undefined>;
5546
- createdAtLocation: string;
5547
- eventId: string;
5548
- transactionId: string;
5549
- type?: "CREATE" | undefined;
6406
+ }[] | undefined> | undefined;
5550
6407
  annotation?: Record<string, string | number | boolean | {
5551
6408
  type: string;
5552
6409
  filename: string;
@@ -5586,10 +6443,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5586
6443
  originalFilename: string;
5587
6444
  }[] | undefined> | undefined;
5588
6445
  originalActionId?: string | undefined;
6446
+ keepAssignment?: boolean | undefined;
5589
6447
  }>, z.ZodObject<z.objectUtil.extendShape<{
5590
6448
  eventId: z.ZodString;
5591
6449
  transactionId: z.ZodString;
5592
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6450
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5593
6451
  filename: z.ZodString;
5594
6452
  originalFilename: z.ZodString;
5595
6453
  type: z.ZodString;
@@ -5702,7 +6560,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5702
6560
  addressLine2?: string | null | undefined;
5703
6561
  addressLine3?: string | null | undefined;
5704
6562
  postcodeOrZip?: string | null | undefined;
5705
- }>]>>;
6563
+ }>]>>>;
5706
6564
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5707
6565
  filename: z.ZodString;
5708
6566
  originalFilename: z.ZodString;
@@ -5818,11 +6676,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5818
6676
  postcodeOrZip?: string | null | undefined;
5819
6677
  }>]>>>;
5820
6678
  originalActionId: z.ZodOptional<z.ZodString>;
6679
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5821
6680
  }, {
5822
6681
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5823
6682
  duplicates: z.ZodArray<z.ZodString, "many">;
5824
6683
  }>, "strip", z.ZodTypeAny, {
5825
6684
  type: "VALIDATE";
6685
+ transactionId: string;
5826
6686
  declaration: Record<string, string | number | boolean | {
5827
6687
  type: string;
5828
6688
  filename: string;
@@ -5862,7 +6722,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5862
6722
  originalFilename: string;
5863
6723
  }[] | undefined>;
5864
6724
  eventId: string;
5865
- transactionId: string;
5866
6725
  duplicates: string[];
5867
6726
  annotation?: Record<string, string | number | boolean | {
5868
6727
  type: string;
@@ -5903,8 +6762,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5903
6762
  originalFilename: string;
5904
6763
  }[] | undefined> | undefined;
5905
6764
  originalActionId?: string | undefined;
6765
+ keepAssignment?: boolean | undefined;
5906
6766
  }, {
5907
- declaration: Record<string, string | number | boolean | {
6767
+ transactionId: string;
6768
+ eventId: string;
6769
+ duplicates: string[];
6770
+ type?: "VALIDATE" | undefined;
6771
+ declaration?: Record<string, string | number | boolean | {
5908
6772
  type: string;
5909
6773
  filename: string;
5910
6774
  originalFilename: string;
@@ -5941,11 +6805,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5941
6805
  option: string;
5942
6806
  filename: string;
5943
6807
  originalFilename: string;
5944
- }[] | undefined>;
5945
- eventId: string;
5946
- transactionId: string;
5947
- duplicates: string[];
5948
- type?: "VALIDATE" | undefined;
6808
+ }[] | undefined> | undefined;
5949
6809
  annotation?: Record<string, string | number | boolean | {
5950
6810
  type: string;
5951
6811
  filename: string;
@@ -5985,10 +6845,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5985
6845
  originalFilename: string;
5986
6846
  }[] | undefined> | undefined;
5987
6847
  originalActionId?: string | undefined;
6848
+ keepAssignment?: boolean | undefined;
5988
6849
  }>, z.ZodObject<z.objectUtil.extendShape<{
5989
6850
  eventId: z.ZodString;
5990
6851
  transactionId: z.ZodString;
5991
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6852
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5992
6853
  filename: z.ZodString;
5993
6854
  originalFilename: z.ZodString;
5994
6855
  type: z.ZodString;
@@ -6101,7 +6962,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6101
6962
  addressLine2?: string | null | undefined;
6102
6963
  addressLine3?: string | null | undefined;
6103
6964
  postcodeOrZip?: string | null | undefined;
6104
- }>]>>;
6965
+ }>]>>>;
6105
6966
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6106
6967
  filename: z.ZodString;
6107
6968
  originalFilename: z.ZodString;
@@ -6217,11 +7078,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6217
7078
  postcodeOrZip?: string | null | undefined;
6218
7079
  }>]>>>;
6219
7080
  originalActionId: z.ZodOptional<z.ZodString>;
7081
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6220
7082
  }, {
6221
7083
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6222
7084
  registrationNumber: z.ZodOptional<z.ZodString>;
6223
7085
  }>, "strip", z.ZodTypeAny, {
6224
7086
  type: "REGISTER";
7087
+ transactionId: string;
6225
7088
  declaration: Record<string, string | number | boolean | {
6226
7089
  type: string;
6227
7090
  filename: string;
@@ -6261,7 +7124,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6261
7124
  originalFilename: string;
6262
7125
  }[] | undefined>;
6263
7126
  eventId: string;
6264
- transactionId: string;
6265
7127
  annotation?: Record<string, string | number | boolean | {
6266
7128
  type: string;
6267
7129
  filename: string;
@@ -6302,8 +7164,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6302
7164
  }[] | undefined> | undefined;
6303
7165
  originalActionId?: string | undefined;
6304
7166
  registrationNumber?: string | undefined;
7167
+ keepAssignment?: boolean | undefined;
6305
7168
  }, {
6306
- declaration: Record<string, string | number | boolean | {
7169
+ transactionId: string;
7170
+ eventId: string;
7171
+ type?: "REGISTER" | undefined;
7172
+ declaration?: Record<string, string | number | boolean | {
6307
7173
  type: string;
6308
7174
  filename: string;
6309
7175
  originalFilename: string;
@@ -6340,10 +7206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6340
7206
  option: string;
6341
7207
  filename: string;
6342
7208
  originalFilename: string;
6343
- }[] | undefined>;
6344
- eventId: string;
6345
- transactionId: string;
6346
- type?: "REGISTER" | undefined;
7209
+ }[] | undefined> | undefined;
6347
7210
  annotation?: Record<string, string | number | boolean | {
6348
7211
  type: string;
6349
7212
  filename: string;
@@ -6384,10 +7247,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6384
7247
  }[] | undefined> | undefined;
6385
7248
  originalActionId?: string | undefined;
6386
7249
  registrationNumber?: string | undefined;
7250
+ keepAssignment?: boolean | undefined;
6387
7251
  }>, z.ZodObject<z.objectUtil.extendShape<{
6388
7252
  eventId: z.ZodString;
6389
7253
  transactionId: z.ZodString;
6390
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7254
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6391
7255
  filename: z.ZodString;
6392
7256
  originalFilename: z.ZodString;
6393
7257
  type: z.ZodString;
@@ -6500,7 +7364,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6500
7364
  addressLine2?: string | null | undefined;
6501
7365
  addressLine3?: string | null | undefined;
6502
7366
  postcodeOrZip?: string | null | undefined;
6503
- }>]>>;
7367
+ }>]>>>;
6504
7368
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6505
7369
  filename: z.ZodString;
6506
7370
  originalFilename: z.ZodString;
@@ -6616,10 +7480,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6616
7480
  postcodeOrZip?: string | null | undefined;
6617
7481
  }>]>>>;
6618
7482
  originalActionId: z.ZodOptional<z.ZodString>;
7483
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6619
7484
  }, {
6620
7485
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6621
7486
  }>, "strip", z.ZodTypeAny, {
6622
7487
  type: "NOTIFY";
7488
+ transactionId: string;
6623
7489
  declaration: Record<string, string | number | boolean | {
6624
7490
  type: string;
6625
7491
  filename: string;
@@ -6659,7 +7525,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6659
7525
  originalFilename: string;
6660
7526
  }[] | undefined>;
6661
7527
  eventId: string;
6662
- transactionId: string;
6663
7528
  annotation?: Record<string, string | number | boolean | {
6664
7529
  type: string;
6665
7530
  filename: string;
@@ -6699,8 +7564,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6699
7564
  originalFilename: string;
6700
7565
  }[] | undefined> | undefined;
6701
7566
  originalActionId?: string | undefined;
7567
+ keepAssignment?: boolean | undefined;
6702
7568
  }, {
6703
- declaration: Record<string, string | number | boolean | {
7569
+ transactionId: string;
7570
+ eventId: string;
7571
+ type?: "NOTIFY" | undefined;
7572
+ declaration?: Record<string, string | number | boolean | {
6704
7573
  type: string;
6705
7574
  filename: string;
6706
7575
  originalFilename: string;
@@ -6737,10 +7606,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6737
7606
  option: string;
6738
7607
  filename: string;
6739
7608
  originalFilename: string;
6740
- }[] | undefined>;
6741
- eventId: string;
6742
- transactionId: string;
6743
- type?: "NOTIFY" | undefined;
7609
+ }[] | undefined> | undefined;
6744
7610
  annotation?: Record<string, string | number | boolean | {
6745
7611
  type: string;
6746
7612
  filename: string;
@@ -6780,10 +7646,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6780
7646
  originalFilename: string;
6781
7647
  }[] | undefined> | undefined;
6782
7648
  originalActionId?: string | undefined;
7649
+ keepAssignment?: boolean | undefined;
6783
7650
  }>, z.ZodObject<z.objectUtil.extendShape<{
6784
7651
  eventId: z.ZodString;
6785
7652
  transactionId: z.ZodString;
6786
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7653
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6787
7654
  filename: z.ZodString;
6788
7655
  originalFilename: z.ZodString;
6789
7656
  type: z.ZodString;
@@ -6896,7 +7763,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6896
7763
  addressLine2?: string | null | undefined;
6897
7764
  addressLine3?: string | null | undefined;
6898
7765
  postcodeOrZip?: string | null | undefined;
6899
- }>]>>;
7766
+ }>]>>>;
6900
7767
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6901
7768
  filename: z.ZodString;
6902
7769
  originalFilename: z.ZodString;
@@ -7012,10 +7879,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7012
7879
  postcodeOrZip?: string | null | undefined;
7013
7880
  }>]>>>;
7014
7881
  originalActionId: z.ZodOptional<z.ZodString>;
7882
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7015
7883
  }, {
7016
7884
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7017
7885
  }>, "strip", z.ZodTypeAny, {
7018
7886
  type: "DECLARE";
7887
+ transactionId: string;
7019
7888
  declaration: Record<string, string | number | boolean | {
7020
7889
  type: string;
7021
7890
  filename: string;
@@ -7055,7 +7924,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7055
7924
  originalFilename: string;
7056
7925
  }[] | undefined>;
7057
7926
  eventId: string;
7058
- transactionId: string;
7059
7927
  annotation?: Record<string, string | number | boolean | {
7060
7928
  type: string;
7061
7929
  filename: string;
@@ -7095,8 +7963,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7095
7963
  originalFilename: string;
7096
7964
  }[] | undefined> | undefined;
7097
7965
  originalActionId?: string | undefined;
7966
+ keepAssignment?: boolean | undefined;
7098
7967
  }, {
7099
- declaration: Record<string, string | number | boolean | {
7968
+ transactionId: string;
7969
+ eventId: string;
7970
+ type?: "DECLARE" | undefined;
7971
+ declaration?: Record<string, string | number | boolean | {
7100
7972
  type: string;
7101
7973
  filename: string;
7102
7974
  originalFilename: string;
@@ -7133,10 +8005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7133
8005
  option: string;
7134
8006
  filename: string;
7135
8007
  originalFilename: string;
7136
- }[] | undefined>;
7137
- eventId: string;
7138
- transactionId: string;
7139
- type?: "DECLARE" | undefined;
8008
+ }[] | undefined> | undefined;
7140
8009
  annotation?: Record<string, string | number | boolean | {
7141
8010
  type: string;
7142
8011
  filename: string;
@@ -7176,10 +8045,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7176
8045
  originalFilename: string;
7177
8046
  }[] | undefined> | undefined;
7178
8047
  originalActionId?: string | undefined;
8048
+ keepAssignment?: boolean | undefined;
7179
8049
  }>, z.ZodObject<z.objectUtil.extendShape<{
7180
8050
  eventId: z.ZodString;
7181
8051
  transactionId: z.ZodString;
7182
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8052
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7183
8053
  filename: z.ZodString;
7184
8054
  originalFilename: z.ZodString;
7185
8055
  type: z.ZodString;
@@ -7292,7 +8162,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7292
8162
  addressLine2?: string | null | undefined;
7293
8163
  addressLine3?: string | null | undefined;
7294
8164
  postcodeOrZip?: string | null | undefined;
7295
- }>]>>;
8165
+ }>]>>>;
7296
8166
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7297
8167
  filename: z.ZodString;
7298
8168
  originalFilename: z.ZodString;
@@ -7408,10 +8278,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7408
8278
  postcodeOrZip?: string | null | undefined;
7409
8279
  }>]>>>;
7410
8280
  originalActionId: z.ZodOptional<z.ZodString>;
8281
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7411
8282
  }, {
7412
8283
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7413
8284
  }>, "strip", z.ZodTypeAny, {
7414
8285
  type: "REJECT";
8286
+ transactionId: string;
7415
8287
  declaration: Record<string, string | number | boolean | {
7416
8288
  type: string;
7417
8289
  filename: string;
@@ -7451,7 +8323,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7451
8323
  originalFilename: string;
7452
8324
  }[] | undefined>;
7453
8325
  eventId: string;
7454
- transactionId: string;
7455
8326
  annotation?: Record<string, string | number | boolean | {
7456
8327
  type: string;
7457
8328
  filename: string;
@@ -7491,8 +8362,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7491
8362
  originalFilename: string;
7492
8363
  }[] | undefined> | undefined;
7493
8364
  originalActionId?: string | undefined;
8365
+ keepAssignment?: boolean | undefined;
7494
8366
  }, {
7495
- declaration: Record<string, string | number | boolean | {
8367
+ transactionId: string;
8368
+ eventId: string;
8369
+ type?: "REJECT" | undefined;
8370
+ declaration?: Record<string, string | number | boolean | {
7496
8371
  type: string;
7497
8372
  filename: string;
7498
8373
  originalFilename: string;
@@ -7529,10 +8404,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7529
8404
  option: string;
7530
8405
  filename: string;
7531
8406
  originalFilename: string;
7532
- }[] | undefined>;
7533
- eventId: string;
7534
- transactionId: string;
7535
- type?: "REJECT" | undefined;
8407
+ }[] | undefined> | undefined;
7536
8408
  annotation?: Record<string, string | number | boolean | {
7537
8409
  type: string;
7538
8410
  filename: string;
@@ -7572,10 +8444,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7572
8444
  originalFilename: string;
7573
8445
  }[] | undefined> | undefined;
7574
8446
  originalActionId?: string | undefined;
8447
+ keepAssignment?: boolean | undefined;
7575
8448
  }>, z.ZodObject<z.objectUtil.extendShape<{
7576
8449
  eventId: z.ZodString;
7577
8450
  transactionId: z.ZodString;
7578
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8451
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7579
8452
  filename: z.ZodString;
7580
8453
  originalFilename: z.ZodString;
7581
8454
  type: z.ZodString;
@@ -7688,7 +8561,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7688
8561
  addressLine2?: string | null | undefined;
7689
8562
  addressLine3?: string | null | undefined;
7690
8563
  postcodeOrZip?: string | null | undefined;
7691
- }>]>>;
8564
+ }>]>>>;
7692
8565
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7693
8566
  filename: z.ZodString;
7694
8567
  originalFilename: z.ZodString;
@@ -7804,10 +8677,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7804
8677
  postcodeOrZip?: string | null | undefined;
7805
8678
  }>]>>>;
7806
8679
  originalActionId: z.ZodOptional<z.ZodString>;
8680
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7807
8681
  }, {
7808
8682
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7809
8683
  }>, "strip", z.ZodTypeAny, {
7810
8684
  type: "MARKED_AS_DUPLICATE";
8685
+ transactionId: string;
7811
8686
  declaration: Record<string, string | number | boolean | {
7812
8687
  type: string;
7813
8688
  filename: string;
@@ -7847,7 +8722,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7847
8722
  originalFilename: string;
7848
8723
  }[] | undefined>;
7849
8724
  eventId: string;
7850
- transactionId: string;
7851
8725
  annotation?: Record<string, string | number | boolean | {
7852
8726
  type: string;
7853
8727
  filename: string;
@@ -7887,8 +8761,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7887
8761
  originalFilename: string;
7888
8762
  }[] | undefined> | undefined;
7889
8763
  originalActionId?: string | undefined;
8764
+ keepAssignment?: boolean | undefined;
7890
8765
  }, {
7891
- declaration: Record<string, string | number | boolean | {
8766
+ transactionId: string;
8767
+ eventId: string;
8768
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8769
+ declaration?: Record<string, string | number | boolean | {
7892
8770
  type: string;
7893
8771
  filename: string;
7894
8772
  originalFilename: string;
@@ -7925,10 +8803,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7925
8803
  option: string;
7926
8804
  filename: string;
7927
8805
  originalFilename: string;
7928
- }[] | undefined>;
7929
- eventId: string;
7930
- transactionId: string;
7931
- type?: "MARKED_AS_DUPLICATE" | undefined;
8806
+ }[] | undefined> | undefined;
7932
8807
  annotation?: Record<string, string | number | boolean | {
7933
8808
  type: string;
7934
8809
  filename: string;
@@ -7968,10 +8843,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7968
8843
  originalFilename: string;
7969
8844
  }[] | undefined> | undefined;
7970
8845
  originalActionId?: string | undefined;
8846
+ keepAssignment?: boolean | undefined;
7971
8847
  }>, z.ZodObject<z.objectUtil.extendShape<{
7972
8848
  eventId: z.ZodString;
7973
8849
  transactionId: z.ZodString;
7974
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8850
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7975
8851
  filename: z.ZodString;
7976
8852
  originalFilename: z.ZodString;
7977
8853
  type: z.ZodString;
@@ -8084,7 +8960,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8084
8960
  addressLine2?: string | null | undefined;
8085
8961
  addressLine3?: string | null | undefined;
8086
8962
  postcodeOrZip?: string | null | undefined;
8087
- }>]>>;
8963
+ }>]>>>;
8088
8964
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8089
8965
  filename: z.ZodString;
8090
8966
  originalFilename: z.ZodString;
@@ -8200,10 +9076,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8200
9076
  postcodeOrZip?: string | null | undefined;
8201
9077
  }>]>>>;
8202
9078
  originalActionId: z.ZodOptional<z.ZodString>;
9079
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8203
9080
  }, {
8204
9081
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8205
9082
  }>, "strip", z.ZodTypeAny, {
8206
9083
  type: "ARCHIVE";
9084
+ transactionId: string;
8207
9085
  declaration: Record<string, string | number | boolean | {
8208
9086
  type: string;
8209
9087
  filename: string;
@@ -8243,7 +9121,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8243
9121
  originalFilename: string;
8244
9122
  }[] | undefined>;
8245
9123
  eventId: string;
8246
- transactionId: string;
8247
9124
  annotation?: Record<string, string | number | boolean | {
8248
9125
  type: string;
8249
9126
  filename: string;
@@ -8283,8 +9160,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8283
9160
  originalFilename: string;
8284
9161
  }[] | undefined> | undefined;
8285
9162
  originalActionId?: string | undefined;
9163
+ keepAssignment?: boolean | undefined;
8286
9164
  }, {
8287
- declaration: Record<string, string | number | boolean | {
9165
+ transactionId: string;
9166
+ eventId: string;
9167
+ type?: "ARCHIVE" | undefined;
9168
+ declaration?: Record<string, string | number | boolean | {
8288
9169
  type: string;
8289
9170
  filename: string;
8290
9171
  originalFilename: string;
@@ -8321,10 +9202,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8321
9202
  option: string;
8322
9203
  filename: string;
8323
9204
  originalFilename: string;
8324
- }[] | undefined>;
8325
- eventId: string;
8326
- transactionId: string;
8327
- type?: "ARCHIVE" | undefined;
9205
+ }[] | undefined> | undefined;
8328
9206
  annotation?: Record<string, string | number | boolean | {
8329
9207
  type: string;
8330
9208
  filename: string;
@@ -8364,10 +9242,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8364
9242
  originalFilename: string;
8365
9243
  }[] | undefined> | undefined;
8366
9244
  originalActionId?: string | undefined;
9245
+ keepAssignment?: boolean | undefined;
8367
9246
  }>, z.ZodObject<z.objectUtil.extendShape<{
8368
9247
  eventId: z.ZodString;
8369
9248
  transactionId: z.ZodString;
8370
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9249
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8371
9250
  filename: z.ZodString;
8372
9251
  originalFilename: z.ZodString;
8373
9252
  type: z.ZodString;
@@ -8480,7 +9359,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8480
9359
  addressLine2?: string | null | undefined;
8481
9360
  addressLine3?: string | null | undefined;
8482
9361
  postcodeOrZip?: string | null | undefined;
8483
- }>]>>;
9362
+ }>]>>>;
8484
9363
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8485
9364
  filename: z.ZodString;
8486
9365
  originalFilename: z.ZodString;
@@ -8596,11 +9475,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8596
9475
  postcodeOrZip?: string | null | undefined;
8597
9476
  }>]>>>;
8598
9477
  originalActionId: z.ZodOptional<z.ZodString>;
9478
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8599
9479
  }, {
8600
9480
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8601
9481
  assignedTo: z.ZodString;
8602
9482
  }>, "strip", z.ZodTypeAny, {
8603
9483
  type: "ASSIGN";
9484
+ transactionId: string;
8604
9485
  declaration: Record<string, string | number | boolean | {
8605
9486
  type: string;
8606
9487
  filename: string;
@@ -8641,7 +9522,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8641
9522
  }[] | undefined>;
8642
9523
  assignedTo: string;
8643
9524
  eventId: string;
8644
- transactionId: string;
8645
9525
  annotation?: Record<string, string | number | boolean | {
8646
9526
  type: string;
8647
9527
  filename: string;
@@ -8681,8 +9561,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8681
9561
  originalFilename: string;
8682
9562
  }[] | undefined> | undefined;
8683
9563
  originalActionId?: string | undefined;
9564
+ keepAssignment?: boolean | undefined;
8684
9565
  }, {
8685
- declaration: Record<string, string | number | boolean | {
9566
+ transactionId: string;
9567
+ assignedTo: string;
9568
+ eventId: string;
9569
+ type?: "ASSIGN" | undefined;
9570
+ declaration?: Record<string, string | number | boolean | {
8686
9571
  type: string;
8687
9572
  filename: string;
8688
9573
  originalFilename: string;
@@ -8719,11 +9604,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8719
9604
  option: string;
8720
9605
  filename: string;
8721
9606
  originalFilename: string;
8722
- }[] | undefined>;
8723
- assignedTo: string;
8724
- eventId: string;
8725
- transactionId: string;
8726
- type?: "ASSIGN" | undefined;
9607
+ }[] | undefined> | undefined;
8727
9608
  annotation?: Record<string, string | number | boolean | {
8728
9609
  type: string;
8729
9610
  filename: string;
@@ -8763,10 +9644,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8763
9644
  originalFilename: string;
8764
9645
  }[] | undefined> | undefined;
8765
9646
  originalActionId?: string | undefined;
9647
+ keepAssignment?: boolean | undefined;
8766
9648
  }>, z.ZodObject<z.objectUtil.extendShape<{
8767
9649
  eventId: z.ZodString;
8768
9650
  transactionId: z.ZodString;
8769
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9651
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8770
9652
  filename: z.ZodString;
8771
9653
  originalFilename: z.ZodString;
8772
9654
  type: z.ZodString;
@@ -8879,7 +9761,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8879
9761
  addressLine2?: string | null | undefined;
8880
9762
  addressLine3?: string | null | undefined;
8881
9763
  postcodeOrZip?: string | null | undefined;
8882
- }>]>>;
9764
+ }>]>>>;
8883
9765
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8884
9766
  filename: z.ZodString;
8885
9767
  originalFilename: z.ZodString;
@@ -8995,10 +9877,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8995
9877
  postcodeOrZip?: string | null | undefined;
8996
9878
  }>]>>>;
8997
9879
  originalActionId: z.ZodOptional<z.ZodString>;
9880
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8998
9881
  }, {
8999
9882
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9883
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9000
9884
  }>, "strip", z.ZodTypeAny, {
9001
9885
  type: "UNASSIGN";
9886
+ transactionId: string;
9002
9887
  declaration: Record<string, string | number | boolean | {
9003
9888
  type: string;
9004
9889
  filename: string;
@@ -9037,8 +9922,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9037
9922
  filename: string;
9038
9923
  originalFilename: string;
9039
9924
  }[] | undefined>;
9925
+ assignedTo: null;
9040
9926
  eventId: string;
9041
- transactionId: string;
9042
9927
  annotation?: Record<string, string | number | boolean | {
9043
9928
  type: string;
9044
9929
  filename: string;
@@ -9078,8 +9963,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
9963
  originalFilename: string;
9079
9964
  }[] | undefined> | undefined;
9080
9965
  originalActionId?: string | undefined;
9966
+ keepAssignment?: boolean | undefined;
9081
9967
  }, {
9082
- declaration: Record<string, string | number | boolean | {
9968
+ transactionId: string;
9969
+ eventId: string;
9970
+ type?: "UNASSIGN" | undefined;
9971
+ declaration?: Record<string, string | number | boolean | {
9083
9972
  type: string;
9084
9973
  filename: string;
9085
9974
  originalFilename: string;
@@ -9116,10 +10005,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9116
10005
  option: string;
9117
10006
  filename: string;
9118
10007
  originalFilename: string;
9119
- }[] | undefined>;
9120
- eventId: string;
9121
- transactionId: string;
9122
- type?: "UNASSIGN" | undefined;
10008
+ }[] | undefined> | undefined;
9123
10009
  annotation?: Record<string, string | number | boolean | {
9124
10010
  type: string;
9125
10011
  filename: string;
@@ -9159,10 +10045,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9159
10045
  originalFilename: string;
9160
10046
  }[] | undefined> | undefined;
9161
10047
  originalActionId?: string | undefined;
10048
+ assignedTo?: null | undefined;
10049
+ keepAssignment?: boolean | undefined;
9162
10050
  }>, z.ZodObject<z.objectUtil.extendShape<{
9163
10051
  eventId: z.ZodString;
9164
10052
  transactionId: z.ZodString;
9165
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10053
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9166
10054
  filename: z.ZodString;
9167
10055
  originalFilename: z.ZodString;
9168
10056
  type: z.ZodString;
@@ -9275,7 +10163,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9275
10163
  addressLine2?: string | null | undefined;
9276
10164
  addressLine3?: string | null | undefined;
9277
10165
  postcodeOrZip?: string | null | undefined;
9278
- }>]>>;
10166
+ }>]>>>;
9279
10167
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9280
10168
  filename: z.ZodString;
9281
10169
  originalFilename: z.ZodString;
@@ -9391,10 +10279,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9391
10279
  postcodeOrZip?: string | null | undefined;
9392
10280
  }>]>>>;
9393
10281
  originalActionId: z.ZodOptional<z.ZodString>;
10282
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9394
10283
  }, {
9395
10284
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9396
10285
  }>, "strip", z.ZodTypeAny, {
9397
10286
  type: "PRINT_CERTIFICATE";
10287
+ transactionId: string;
9398
10288
  declaration: Record<string, string | number | boolean | {
9399
10289
  type: string;
9400
10290
  filename: string;
@@ -9434,7 +10324,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9434
10324
  originalFilename: string;
9435
10325
  }[] | undefined>;
9436
10326
  eventId: string;
9437
- transactionId: string;
9438
10327
  annotation?: Record<string, string | number | boolean | {
9439
10328
  type: string;
9440
10329
  filename: string;
@@ -9474,8 +10363,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9474
10363
  originalFilename: string;
9475
10364
  }[] | undefined> | undefined;
9476
10365
  originalActionId?: string | undefined;
10366
+ keepAssignment?: boolean | undefined;
9477
10367
  }, {
9478
- declaration: Record<string, string | number | boolean | {
10368
+ transactionId: string;
10369
+ eventId: string;
10370
+ type?: "PRINT_CERTIFICATE" | undefined;
10371
+ declaration?: Record<string, string | number | boolean | {
9479
10372
  type: string;
9480
10373
  filename: string;
9481
10374
  originalFilename: string;
@@ -9512,10 +10405,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9512
10405
  option: string;
9513
10406
  filename: string;
9514
10407
  originalFilename: string;
9515
- }[] | undefined>;
9516
- eventId: string;
9517
- transactionId: string;
9518
- type?: "PRINT_CERTIFICATE" | undefined;
10408
+ }[] | undefined> | undefined;
9519
10409
  annotation?: Record<string, string | number | boolean | {
9520
10410
  type: string;
9521
10411
  filename: string;
@@ -9555,10 +10445,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9555
10445
  originalFilename: string;
9556
10446
  }[] | undefined> | undefined;
9557
10447
  originalActionId?: string | undefined;
10448
+ keepAssignment?: boolean | undefined;
9558
10449
  }>, z.ZodObject<z.objectUtil.extendShape<{
9559
10450
  eventId: z.ZodString;
9560
10451
  transactionId: z.ZodString;
9561
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10452
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9562
10453
  filename: z.ZodString;
9563
10454
  originalFilename: z.ZodString;
9564
10455
  type: z.ZodString;
@@ -9671,7 +10562,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9671
10562
  addressLine2?: string | null | undefined;
9672
10563
  addressLine3?: string | null | undefined;
9673
10564
  postcodeOrZip?: string | null | undefined;
9674
- }>]>>;
10565
+ }>]>>>;
9675
10566
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9676
10567
  filename: z.ZodString;
9677
10568
  originalFilename: z.ZodString;
@@ -9787,10 +10678,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9787
10678
  postcodeOrZip?: string | null | undefined;
9788
10679
  }>]>>>;
9789
10680
  originalActionId: z.ZodOptional<z.ZodString>;
10681
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9790
10682
  }, {
9791
10683
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9792
10684
  }>, "strip", z.ZodTypeAny, {
9793
10685
  type: "REQUEST_CORRECTION";
10686
+ transactionId: string;
9794
10687
  declaration: Record<string, string | number | boolean | {
9795
10688
  type: string;
9796
10689
  filename: string;
@@ -9830,7 +10723,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9830
10723
  originalFilename: string;
9831
10724
  }[] | undefined>;
9832
10725
  eventId: string;
9833
- transactionId: string;
9834
10726
  annotation?: Record<string, string | number | boolean | {
9835
10727
  type: string;
9836
10728
  filename: string;
@@ -9870,8 +10762,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9870
10762
  originalFilename: string;
9871
10763
  }[] | undefined> | undefined;
9872
10764
  originalActionId?: string | undefined;
10765
+ keepAssignment?: boolean | undefined;
9873
10766
  }, {
9874
- declaration: Record<string, string | number | boolean | {
10767
+ transactionId: string;
10768
+ eventId: string;
10769
+ type?: "REQUEST_CORRECTION" | undefined;
10770
+ declaration?: Record<string, string | number | boolean | {
9875
10771
  type: string;
9876
10772
  filename: string;
9877
10773
  originalFilename: string;
@@ -9908,10 +10804,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9908
10804
  option: string;
9909
10805
  filename: string;
9910
10806
  originalFilename: string;
9911
- }[] | undefined>;
9912
- eventId: string;
9913
- transactionId: string;
9914
- type?: "REQUEST_CORRECTION" | undefined;
10807
+ }[] | undefined> | undefined;
9915
10808
  annotation?: Record<string, string | number | boolean | {
9916
10809
  type: string;
9917
10810
  filename: string;
@@ -9951,10 +10844,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9951
10844
  originalFilename: string;
9952
10845
  }[] | undefined> | undefined;
9953
10846
  originalActionId?: string | undefined;
10847
+ keepAssignment?: boolean | undefined;
9954
10848
  }>, z.ZodObject<z.objectUtil.extendShape<{
9955
10849
  eventId: z.ZodString;
9956
10850
  transactionId: z.ZodString;
9957
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10851
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9958
10852
  filename: z.ZodString;
9959
10853
  originalFilename: z.ZodString;
9960
10854
  type: z.ZodString;
@@ -10067,7 +10961,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10067
10961
  addressLine2?: string | null | undefined;
10068
10962
  addressLine3?: string | null | undefined;
10069
10963
  postcodeOrZip?: string | null | undefined;
10070
- }>]>>;
10964
+ }>]>>>;
10071
10965
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10072
10966
  filename: z.ZodString;
10073
10967
  originalFilename: z.ZodString;
@@ -10183,11 +11077,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10183
11077
  postcodeOrZip?: string | null | undefined;
10184
11078
  }>]>>>;
10185
11079
  originalActionId: z.ZodOptional<z.ZodString>;
11080
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10186
11081
  }, {
10187
11082
  requestId: z.ZodString;
10188
11083
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10189
11084
  }>, "strip", z.ZodTypeAny, {
10190
11085
  type: "REJECT_CORRECTION";
11086
+ transactionId: string;
10191
11087
  declaration: Record<string, string | number | boolean | {
10192
11088
  type: string;
10193
11089
  filename: string;
@@ -10228,7 +11124,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10228
11124
  }[] | undefined>;
10229
11125
  requestId: string;
10230
11126
  eventId: string;
10231
- transactionId: string;
10232
11127
  annotation?: Record<string, string | number | boolean | {
10233
11128
  type: string;
10234
11129
  filename: string;
@@ -10268,8 +11163,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10268
11163
  originalFilename: string;
10269
11164
  }[] | undefined> | undefined;
10270
11165
  originalActionId?: string | undefined;
11166
+ keepAssignment?: boolean | undefined;
10271
11167
  }, {
10272
- declaration: Record<string, string | number | boolean | {
11168
+ transactionId: string;
11169
+ requestId: string;
11170
+ eventId: string;
11171
+ type?: "REJECT_CORRECTION" | undefined;
11172
+ declaration?: Record<string, string | number | boolean | {
10273
11173
  type: string;
10274
11174
  filename: string;
10275
11175
  originalFilename: string;
@@ -10306,11 +11206,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10306
11206
  option: string;
10307
11207
  filename: string;
10308
11208
  originalFilename: string;
10309
- }[] | undefined>;
10310
- requestId: string;
10311
- eventId: string;
10312
- transactionId: string;
10313
- type?: "REJECT_CORRECTION" | undefined;
11209
+ }[] | undefined> | undefined;
10314
11210
  annotation?: Record<string, string | number | boolean | {
10315
11211
  type: string;
10316
11212
  filename: string;
@@ -10350,10 +11246,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10350
11246
  originalFilename: string;
10351
11247
  }[] | undefined> | undefined;
10352
11248
  originalActionId?: string | undefined;
11249
+ keepAssignment?: boolean | undefined;
10353
11250
  }>, z.ZodObject<z.objectUtil.extendShape<{
10354
11251
  eventId: z.ZodString;
10355
11252
  transactionId: z.ZodString;
10356
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11253
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10357
11254
  filename: z.ZodString;
10358
11255
  originalFilename: z.ZodString;
10359
11256
  type: z.ZodString;
@@ -10466,7 +11363,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10466
11363
  addressLine2?: string | null | undefined;
10467
11364
  addressLine3?: string | null | undefined;
10468
11365
  postcodeOrZip?: string | null | undefined;
10469
- }>]>>;
11366
+ }>]>>>;
10470
11367
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10471
11368
  filename: z.ZodString;
10472
11369
  originalFilename: z.ZodString;
@@ -10582,11 +11479,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10582
11479
  postcodeOrZip?: string | null | undefined;
10583
11480
  }>]>>>;
10584
11481
  originalActionId: z.ZodOptional<z.ZodString>;
11482
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10585
11483
  }, {
10586
11484
  requestId: z.ZodString;
10587
11485
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10588
11486
  }>, "strip", z.ZodTypeAny, {
10589
11487
  type: "APPROVE_CORRECTION";
11488
+ transactionId: string;
10590
11489
  declaration: Record<string, string | number | boolean | {
10591
11490
  type: string;
10592
11491
  filename: string;
@@ -10627,7 +11526,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10627
11526
  }[] | undefined>;
10628
11527
  requestId: string;
10629
11528
  eventId: string;
10630
- transactionId: string;
10631
11529
  annotation?: Record<string, string | number | boolean | {
10632
11530
  type: string;
10633
11531
  filename: string;
@@ -10667,8 +11565,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10667
11565
  originalFilename: string;
10668
11566
  }[] | undefined> | undefined;
10669
11567
  originalActionId?: string | undefined;
11568
+ keepAssignment?: boolean | undefined;
10670
11569
  }, {
10671
- declaration: Record<string, string | number | boolean | {
11570
+ transactionId: string;
11571
+ requestId: string;
11572
+ eventId: string;
11573
+ type?: "APPROVE_CORRECTION" | undefined;
11574
+ declaration?: Record<string, string | number | boolean | {
10672
11575
  type: string;
10673
11576
  filename: string;
10674
11577
  originalFilename: string;
@@ -10705,11 +11608,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10705
11608
  option: string;
10706
11609
  filename: string;
10707
11610
  originalFilename: string;
10708
- }[] | undefined>;
10709
- requestId: string;
10710
- eventId: string;
10711
- transactionId: string;
10712
- type?: "APPROVE_CORRECTION" | undefined;
11611
+ }[] | undefined> | undefined;
10713
11612
  annotation?: Record<string, string | number | boolean | {
10714
11613
  type: string;
10715
11614
  filename: string;
@@ -10749,10 +11648,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10749
11648
  originalFilename: string;
10750
11649
  }[] | undefined> | undefined;
10751
11650
  originalActionId?: string | undefined;
11651
+ keepAssignment?: boolean | undefined;
10752
11652
  }>, z.ZodObject<z.objectUtil.extendShape<{
10753
11653
  eventId: z.ZodString;
10754
11654
  transactionId: z.ZodString;
10755
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11655
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10756
11656
  filename: z.ZodString;
10757
11657
  originalFilename: z.ZodString;
10758
11658
  type: z.ZodString;
@@ -10865,7 +11765,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10865
11765
  addressLine2?: string | null | undefined;
10866
11766
  addressLine3?: string | null | undefined;
10867
11767
  postcodeOrZip?: string | null | undefined;
10868
- }>]>>;
11768
+ }>]>>>;
10869
11769
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10870
11770
  filename: z.ZodString;
10871
11771
  originalFilename: z.ZodString;
@@ -10981,10 +11881,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10981
11881
  postcodeOrZip?: string | null | undefined;
10982
11882
  }>]>>>;
10983
11883
  originalActionId: z.ZodOptional<z.ZodString>;
11884
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10984
11885
  }, {
10985
11886
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10986
11887
  }>, "strip", z.ZodTypeAny, {
10987
11888
  type: "READ";
11889
+ transactionId: string;
10988
11890
  declaration: Record<string, string | number | boolean | {
10989
11891
  type: string;
10990
11892
  filename: string;
@@ -11024,7 +11926,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11024
11926
  originalFilename: string;
11025
11927
  }[] | undefined>;
11026
11928
  eventId: string;
11027
- transactionId: string;
11028
11929
  annotation?: Record<string, string | number | boolean | {
11029
11930
  type: string;
11030
11931
  filename: string;
@@ -11064,8 +11965,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11064
11965
  originalFilename: string;
11065
11966
  }[] | undefined> | undefined;
11066
11967
  originalActionId?: string | undefined;
11968
+ keepAssignment?: boolean | undefined;
11067
11969
  }, {
11068
- declaration: Record<string, string | number | boolean | {
11970
+ transactionId: string;
11971
+ eventId: string;
11972
+ type?: "READ" | undefined;
11973
+ declaration?: Record<string, string | number | boolean | {
11069
11974
  type: string;
11070
11975
  filename: string;
11071
11976
  originalFilename: string;
@@ -11102,10 +12007,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11102
12007
  option: string;
11103
12008
  filename: string;
11104
12009
  originalFilename: string;
11105
- }[] | undefined>;
11106
- eventId: string;
11107
- transactionId: string;
11108
- type?: "READ" | undefined;
12010
+ }[] | undefined> | undefined;
11109
12011
  annotation?: Record<string, string | number | boolean | {
11110
12012
  type: string;
11111
12013
  filename: string;
@@ -11145,6 +12047,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11145
12047
  originalFilename: string;
11146
12048
  }[] | undefined> | undefined;
11147
12049
  originalActionId?: string | undefined;
12050
+ keepAssignment?: boolean | undefined;
11148
12051
  }>]>;
11149
12052
  export type ActionInput = z.input<typeof ActionInput>;
11150
12053
  export type ActionInputWithType = z.infer<typeof ActionInput>;