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

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,6 +231,7 @@ 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, {
235
236
  declaration: Record<string, string | number | boolean | {
236
237
  type: 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
+ eventId: string;
318
+ transactionId: 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,6 +627,7 @@ 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>;
@@ -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
+ eventId: string;
719
+ transactionId: 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,6 +1031,7 @@ 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">;
@@ -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
+ eventId: string;
1123
+ transactionId: 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,6 +1435,7 @@ 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, {
@@ -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
+ eventId: string;
1525
+ transactionId: 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,6 +1836,7 @@ 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, {
@@ -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
+ eventId: string;
1926
+ transactionId: 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,6 +2236,7 @@ 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, {
@@ -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
+ eventId: string;
2326
+ transactionId: 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,815 @@ 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<{
2412
+ filename: z.ZodString;
2413
+ originalFilename: z.ZodString;
2414
+ type: z.ZodString;
2415
+ }, "strip", z.ZodTypeAny, {
2416
+ type: string;
2417
+ filename: string;
2418
+ originalFilename: string;
2419
+ }, {
2420
+ type: string;
2421
+ filename: string;
2422
+ originalFilename: string;
2423
+ }>, z.ZodArray<z.ZodObject<{
2424
+ filename: z.ZodString;
2425
+ originalFilename: z.ZodString;
2426
+ type: z.ZodString;
2427
+ option: z.ZodString;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ type: string;
2430
+ option: string;
2431
+ filename: string;
2432
+ originalFilename: string;
2433
+ }, {
2434
+ type: string;
2435
+ option: string;
2436
+ filename: string;
2437
+ originalFilename: string;
2438
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2439
+ country: z.ZodString;
2440
+ addressType: z.ZodLiteral<"DOMESTIC">;
2441
+ province: z.ZodString;
2442
+ district: z.ZodString;
2443
+ }, {
2444
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2445
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2446
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2447
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2448
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2449
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2450
+ }>, "strip", z.ZodTypeAny, {
2451
+ country: string;
2452
+ district: string;
2453
+ addressType: "DOMESTIC";
2454
+ province: string;
2455
+ urbanOrRural: "URBAN";
2456
+ number?: string | null | undefined;
2457
+ town?: string | null | undefined;
2458
+ residentialArea?: string | null | undefined;
2459
+ street?: string | null | undefined;
2460
+ zipCode?: string | null | undefined;
2461
+ }, {
2462
+ country: string;
2463
+ district: string;
2464
+ addressType: "DOMESTIC";
2465
+ province: string;
2466
+ urbanOrRural: "URBAN";
2467
+ number?: string | null | undefined;
2468
+ town?: string | null | undefined;
2469
+ residentialArea?: string | null | undefined;
2470
+ street?: string | null | undefined;
2471
+ zipCode?: string | null | undefined;
2472
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2473
+ country: z.ZodString;
2474
+ addressType: z.ZodLiteral<"DOMESTIC">;
2475
+ province: z.ZodString;
2476
+ district: z.ZodString;
2477
+ }, {
2478
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2479
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
+ }>, "strip", z.ZodTypeAny, {
2481
+ country: string;
2482
+ district: string;
2483
+ addressType: "DOMESTIC";
2484
+ province: string;
2485
+ urbanOrRural: "RURAL";
2486
+ village?: string | null | undefined;
2487
+ }, {
2488
+ country: string;
2489
+ district: string;
2490
+ addressType: "DOMESTIC";
2491
+ province: string;
2492
+ urbanOrRural: "RURAL";
2493
+ village?: string | null | undefined;
2494
+ }>, z.ZodUndefined, z.ZodObject<{
2495
+ country: z.ZodString;
2496
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2497
+ state: z.ZodString;
2498
+ district2: z.ZodString;
2499
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2500
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2501
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2502
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2503
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2504
+ }, "strip", z.ZodTypeAny, {
2505
+ country: string;
2506
+ state: string;
2507
+ addressType: "INTERNATIONAL";
2508
+ district2: string;
2509
+ cityOrTown?: string | null | undefined;
2510
+ addressLine1?: string | null | undefined;
2511
+ addressLine2?: string | null | undefined;
2512
+ addressLine3?: string | null | undefined;
2513
+ postcodeOrZip?: string | null | undefined;
2514
+ }, {
2515
+ country: string;
2516
+ state: string;
2517
+ addressType: "INTERNATIONAL";
2518
+ district2: string;
2519
+ cityOrTown?: string | null | undefined;
2520
+ addressLine1?: string | null | undefined;
2521
+ addressLine2?: string | null | undefined;
2522
+ addressLine3?: string | null | undefined;
2523
+ postcodeOrZip?: string | null | undefined;
2524
+ }>]>>>;
2525
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2526
+ filename: z.ZodString;
2527
+ originalFilename: z.ZodString;
2528
+ type: z.ZodString;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ type: string;
2531
+ filename: string;
2532
+ originalFilename: string;
2533
+ }, {
2534
+ type: string;
2535
+ filename: string;
2536
+ originalFilename: string;
2537
+ }>, z.ZodArray<z.ZodObject<{
2538
+ filename: z.ZodString;
2539
+ originalFilename: z.ZodString;
2540
+ type: z.ZodString;
2541
+ option: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ type: string;
2544
+ option: string;
2545
+ filename: string;
2546
+ originalFilename: string;
2547
+ }, {
2548
+ type: string;
2549
+ option: string;
2550
+ filename: string;
2551
+ originalFilename: string;
2552
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2553
+ country: z.ZodString;
2554
+ addressType: z.ZodLiteral<"DOMESTIC">;
2555
+ province: z.ZodString;
2556
+ district: z.ZodString;
2557
+ }, {
2558
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2559
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2560
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2562
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2563
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ }>, "strip", z.ZodTypeAny, {
2565
+ country: string;
2566
+ district: string;
2567
+ addressType: "DOMESTIC";
2568
+ province: string;
2569
+ urbanOrRural: "URBAN";
2570
+ number?: string | null | undefined;
2571
+ town?: string | null | undefined;
2572
+ residentialArea?: string | null | undefined;
2573
+ street?: string | null | undefined;
2574
+ zipCode?: string | null | undefined;
2575
+ }, {
2576
+ country: string;
2577
+ district: string;
2578
+ addressType: "DOMESTIC";
2579
+ province: string;
2580
+ urbanOrRural: "URBAN";
2581
+ number?: string | null | undefined;
2582
+ town?: string | null | undefined;
2583
+ residentialArea?: string | null | undefined;
2584
+ street?: string | null | undefined;
2585
+ zipCode?: string | null | undefined;
2586
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2587
+ country: z.ZodString;
2588
+ addressType: z.ZodLiteral<"DOMESTIC">;
2589
+ province: z.ZodString;
2590
+ district: z.ZodString;
2591
+ }, {
2592
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2593
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2594
+ }>, "strip", z.ZodTypeAny, {
2595
+ country: string;
2596
+ district: string;
2597
+ addressType: "DOMESTIC";
2598
+ province: string;
2599
+ urbanOrRural: "RURAL";
2600
+ village?: string | null | undefined;
2601
+ }, {
2602
+ country: string;
2603
+ district: string;
2604
+ addressType: "DOMESTIC";
2605
+ province: string;
2606
+ urbanOrRural: "RURAL";
2607
+ village?: string | null | undefined;
2608
+ }>, z.ZodUndefined, z.ZodObject<{
2609
+ country: z.ZodString;
2610
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2611
+ state: z.ZodString;
2612
+ district2: z.ZodString;
2613
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2614
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2615
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2616
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2617
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2618
+ }, "strip", z.ZodTypeAny, {
2619
+ country: string;
2620
+ state: string;
2621
+ addressType: "INTERNATIONAL";
2622
+ district2: string;
2623
+ cityOrTown?: string | null | undefined;
2624
+ addressLine1?: string | null | undefined;
2625
+ addressLine2?: string | null | undefined;
2626
+ addressLine3?: string | null | undefined;
2627
+ postcodeOrZip?: string | null | undefined;
2628
+ }, {
2629
+ country: string;
2630
+ state: string;
2631
+ addressType: "INTERNATIONAL";
2632
+ district2: string;
2633
+ cityOrTown?: string | null | undefined;
2634
+ addressLine1?: string | null | undefined;
2635
+ addressLine2?: string | null | undefined;
2636
+ addressLine3?: string | null | undefined;
2637
+ postcodeOrZip?: string | null | undefined;
2638
+ }>]>>>;
2639
+ originalActionId: z.ZodOptional<z.ZodString>;
2640
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2641
+ }, {
2642
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
+ }>, "strip", z.ZodTypeAny, {
2644
+ type: "REJECT";
2645
+ declaration: Record<string, string | number | boolean | {
2646
+ type: string;
2647
+ filename: string;
2648
+ originalFilename: string;
2649
+ } | {
2650
+ country: string;
2651
+ district: string;
2652
+ addressType: "DOMESTIC";
2653
+ province: string;
2654
+ urbanOrRural: "URBAN";
2655
+ number?: string | null | undefined;
2656
+ town?: string | null | undefined;
2657
+ residentialArea?: string | null | undefined;
2658
+ street?: string | null | undefined;
2659
+ zipCode?: string | null | undefined;
2660
+ } | {
2661
+ country: string;
2662
+ district: string;
2663
+ addressType: "DOMESTIC";
2664
+ province: string;
2665
+ urbanOrRural: "RURAL";
2666
+ village?: string | null | undefined;
2667
+ } | {
2668
+ country: string;
2669
+ state: string;
2670
+ addressType: "INTERNATIONAL";
2671
+ district2: string;
2672
+ cityOrTown?: string | null | undefined;
2673
+ addressLine1?: string | null | undefined;
2674
+ addressLine2?: string | null | undefined;
2675
+ addressLine3?: string | null | undefined;
2676
+ postcodeOrZip?: string | null | undefined;
2677
+ } | {
2678
+ type: string;
2679
+ option: string;
2680
+ filename: string;
2681
+ originalFilename: string;
2682
+ }[] | undefined>;
2683
+ eventId: string;
2684
+ transactionId: string;
2685
+ annotation?: Record<string, string | number | boolean | {
2686
+ type: string;
2687
+ filename: string;
2688
+ originalFilename: string;
2689
+ } | {
2690
+ country: string;
2691
+ district: string;
2692
+ addressType: "DOMESTIC";
2693
+ province: string;
2694
+ urbanOrRural: "URBAN";
2695
+ number?: string | null | undefined;
2696
+ town?: string | null | undefined;
2697
+ residentialArea?: string | null | undefined;
2698
+ street?: string | null | undefined;
2699
+ zipCode?: string | null | undefined;
2700
+ } | {
2701
+ country: string;
2702
+ district: string;
2703
+ addressType: "DOMESTIC";
2704
+ province: string;
2705
+ urbanOrRural: "RURAL";
2706
+ village?: string | null | undefined;
2707
+ } | {
2708
+ country: string;
2709
+ state: string;
2710
+ addressType: "INTERNATIONAL";
2711
+ district2: string;
2712
+ cityOrTown?: string | null | undefined;
2713
+ addressLine1?: string | null | undefined;
2714
+ addressLine2?: string | null | undefined;
2715
+ addressLine3?: string | null | undefined;
2716
+ postcodeOrZip?: string | null | undefined;
2717
+ } | {
2718
+ type: string;
2719
+ option: string;
2720
+ filename: string;
2721
+ originalFilename: string;
2722
+ }[] | undefined> | undefined;
2723
+ originalActionId?: string | undefined;
2724
+ keepAssignment?: boolean | undefined;
2725
+ }, {
2726
+ eventId: string;
2727
+ transactionId: string;
2728
+ type?: "REJECT" | undefined;
2729
+ declaration?: Record<string, string | number | boolean | {
2730
+ type: string;
2731
+ filename: string;
2732
+ originalFilename: string;
2733
+ } | {
2734
+ country: string;
2735
+ district: string;
2736
+ addressType: "DOMESTIC";
2737
+ province: string;
2738
+ urbanOrRural: "URBAN";
2739
+ number?: string | null | undefined;
2740
+ town?: string | null | undefined;
2741
+ residentialArea?: string | null | undefined;
2742
+ street?: string | null | undefined;
2743
+ zipCode?: string | null | undefined;
2744
+ } | {
2745
+ country: string;
2746
+ district: string;
2747
+ addressType: "DOMESTIC";
2748
+ province: string;
2749
+ urbanOrRural: "RURAL";
2750
+ village?: string | null | undefined;
2751
+ } | {
2752
+ country: string;
2753
+ state: string;
2754
+ addressType: "INTERNATIONAL";
2755
+ district2: string;
2756
+ cityOrTown?: string | null | undefined;
2757
+ addressLine1?: string | null | undefined;
2758
+ addressLine2?: string | null | undefined;
2759
+ addressLine3?: string | null | undefined;
2760
+ postcodeOrZip?: string | null | undefined;
2761
+ } | {
2762
+ type: string;
2763
+ option: string;
2764
+ filename: string;
2765
+ originalFilename: string;
2766
+ }[] | undefined> | undefined;
2767
+ annotation?: Record<string, string | number | boolean | {
2768
+ type: string;
2769
+ filename: string;
2770
+ originalFilename: string;
2771
+ } | {
2772
+ country: string;
2773
+ district: string;
2774
+ addressType: "DOMESTIC";
2775
+ province: string;
2776
+ urbanOrRural: "URBAN";
2777
+ number?: string | null | undefined;
2778
+ town?: string | null | undefined;
2779
+ residentialArea?: string | null | undefined;
2780
+ street?: string | null | undefined;
2781
+ zipCode?: string | null | undefined;
2782
+ } | {
2783
+ country: string;
2784
+ district: string;
2785
+ addressType: "DOMESTIC";
2786
+ province: string;
2787
+ urbanOrRural: "RURAL";
2788
+ village?: string | null | undefined;
2789
+ } | {
2790
+ country: string;
2791
+ state: string;
2792
+ addressType: "INTERNATIONAL";
2793
+ district2: string;
2794
+ cityOrTown?: string | null | undefined;
2795
+ addressLine1?: string | null | undefined;
2796
+ addressLine2?: string | null | undefined;
2797
+ addressLine3?: string | null | undefined;
2798
+ postcodeOrZip?: string | null | undefined;
2799
+ } | {
2800
+ type: string;
2801
+ option: string;
2802
+ filename: string;
2803
+ originalFilename: string;
2804
+ }[] | undefined> | undefined;
2805
+ originalActionId?: string | undefined;
2806
+ keepAssignment?: boolean | undefined;
2807
+ }>;
2808
+ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2809
+ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2810
+ eventId: z.ZodString;
2811
+ transactionId: z.ZodString;
2812
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2813
+ filename: z.ZodString;
2814
+ originalFilename: z.ZodString;
2815
+ type: z.ZodString;
2816
+ }, "strip", z.ZodTypeAny, {
2817
+ type: string;
2818
+ filename: string;
2819
+ originalFilename: string;
2820
+ }, {
2821
+ type: string;
2822
+ filename: string;
2823
+ originalFilename: string;
2824
+ }>, z.ZodArray<z.ZodObject<{
2825
+ filename: z.ZodString;
2826
+ originalFilename: z.ZodString;
2827
+ type: z.ZodString;
2828
+ option: z.ZodString;
2829
+ }, "strip", z.ZodTypeAny, {
2830
+ type: string;
2831
+ option: string;
2832
+ filename: string;
2833
+ originalFilename: string;
2834
+ }, {
2835
+ type: string;
2836
+ option: string;
2837
+ filename: string;
2838
+ originalFilename: string;
2839
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2840
+ country: z.ZodString;
2841
+ addressType: z.ZodLiteral<"DOMESTIC">;
2842
+ province: z.ZodString;
2843
+ district: z.ZodString;
2844
+ }, {
2845
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2846
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2847
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2848
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2849
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2850
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2851
+ }>, "strip", z.ZodTypeAny, {
2852
+ country: string;
2853
+ district: string;
2854
+ addressType: "DOMESTIC";
2855
+ province: string;
2856
+ urbanOrRural: "URBAN";
2857
+ number?: string | null | undefined;
2858
+ town?: string | null | undefined;
2859
+ residentialArea?: string | null | undefined;
2860
+ street?: string | null | undefined;
2861
+ zipCode?: string | null | undefined;
2862
+ }, {
2863
+ country: string;
2864
+ district: string;
2865
+ addressType: "DOMESTIC";
2866
+ province: string;
2867
+ urbanOrRural: "URBAN";
2868
+ number?: string | null | undefined;
2869
+ town?: string | null | undefined;
2870
+ residentialArea?: string | null | undefined;
2871
+ street?: string | null | undefined;
2872
+ zipCode?: string | null | undefined;
2873
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2874
+ country: z.ZodString;
2875
+ addressType: z.ZodLiteral<"DOMESTIC">;
2876
+ province: z.ZodString;
2877
+ district: z.ZodString;
2878
+ }, {
2879
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2880
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
+ }>, "strip", z.ZodTypeAny, {
2882
+ country: string;
2883
+ district: string;
2884
+ addressType: "DOMESTIC";
2885
+ province: string;
2886
+ urbanOrRural: "RURAL";
2887
+ village?: string | null | undefined;
2888
+ }, {
2889
+ country: string;
2890
+ district: string;
2891
+ addressType: "DOMESTIC";
2892
+ province: string;
2893
+ urbanOrRural: "RURAL";
2894
+ village?: string | null | undefined;
2895
+ }>, z.ZodUndefined, z.ZodObject<{
2896
+ country: z.ZodString;
2897
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2898
+ state: z.ZodString;
2899
+ district2: z.ZodString;
2900
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2901
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2902
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2903
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2904
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2905
+ }, "strip", z.ZodTypeAny, {
2906
+ country: string;
2907
+ state: string;
2908
+ addressType: "INTERNATIONAL";
2909
+ district2: string;
2910
+ cityOrTown?: string | null | undefined;
2911
+ addressLine1?: string | null | undefined;
2912
+ addressLine2?: string | null | undefined;
2913
+ addressLine3?: string | null | undefined;
2914
+ postcodeOrZip?: string | null | undefined;
2915
+ }, {
2916
+ country: string;
2917
+ state: string;
2918
+ addressType: "INTERNATIONAL";
2919
+ district2: string;
2920
+ cityOrTown?: string | null | undefined;
2921
+ addressLine1?: string | null | undefined;
2922
+ addressLine2?: string | null | undefined;
2923
+ addressLine3?: string | null | undefined;
2924
+ postcodeOrZip?: string | null | undefined;
2925
+ }>]>>>;
2926
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2927
+ filename: z.ZodString;
2928
+ originalFilename: z.ZodString;
2929
+ type: z.ZodString;
2930
+ }, "strip", z.ZodTypeAny, {
2931
+ type: string;
2932
+ filename: string;
2933
+ originalFilename: string;
2934
+ }, {
2935
+ type: string;
2936
+ filename: string;
2937
+ originalFilename: string;
2938
+ }>, z.ZodArray<z.ZodObject<{
2939
+ filename: z.ZodString;
2940
+ originalFilename: z.ZodString;
2941
+ type: z.ZodString;
2942
+ option: z.ZodString;
2943
+ }, "strip", z.ZodTypeAny, {
2944
+ type: string;
2945
+ option: string;
2946
+ filename: string;
2947
+ originalFilename: string;
2948
+ }, {
2949
+ type: string;
2950
+ option: string;
2951
+ filename: string;
2952
+ originalFilename: string;
2953
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2954
+ country: z.ZodString;
2955
+ addressType: z.ZodLiteral<"DOMESTIC">;
2956
+ province: z.ZodString;
2957
+ district: z.ZodString;
2958
+ }, {
2959
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2960
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2961
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2962
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2963
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2964
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2965
+ }>, "strip", z.ZodTypeAny, {
2966
+ country: string;
2967
+ district: string;
2968
+ addressType: "DOMESTIC";
2969
+ province: string;
2970
+ urbanOrRural: "URBAN";
2971
+ number?: string | null | undefined;
2972
+ town?: string | null | undefined;
2973
+ residentialArea?: string | null | undefined;
2974
+ street?: string | null | undefined;
2975
+ zipCode?: string | null | undefined;
2976
+ }, {
2977
+ country: string;
2978
+ district: string;
2979
+ addressType: "DOMESTIC";
2980
+ province: string;
2981
+ urbanOrRural: "URBAN";
2982
+ number?: string | null | undefined;
2983
+ town?: string | null | undefined;
2984
+ residentialArea?: string | null | undefined;
2985
+ street?: string | null | undefined;
2986
+ zipCode?: string | null | undefined;
2987
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2988
+ country: z.ZodString;
2989
+ addressType: z.ZodLiteral<"DOMESTIC">;
2990
+ province: z.ZodString;
2991
+ district: z.ZodString;
2992
+ }, {
2993
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2994
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2995
+ }>, "strip", z.ZodTypeAny, {
2996
+ country: string;
2997
+ district: string;
2998
+ addressType: "DOMESTIC";
2999
+ province: string;
3000
+ urbanOrRural: "RURAL";
3001
+ village?: string | null | undefined;
3002
+ }, {
3003
+ country: string;
3004
+ district: string;
3005
+ addressType: "DOMESTIC";
3006
+ province: string;
3007
+ urbanOrRural: "RURAL";
3008
+ village?: string | null | undefined;
3009
+ }>, z.ZodUndefined, z.ZodObject<{
3010
+ country: z.ZodString;
3011
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3012
+ state: z.ZodString;
3013
+ district2: z.ZodString;
3014
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3015
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3016
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3017
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3018
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3019
+ }, "strip", z.ZodTypeAny, {
3020
+ country: string;
3021
+ state: string;
3022
+ addressType: "INTERNATIONAL";
3023
+ district2: string;
3024
+ cityOrTown?: string | null | undefined;
3025
+ addressLine1?: string | null | undefined;
3026
+ addressLine2?: string | null | undefined;
3027
+ addressLine3?: string | null | undefined;
3028
+ postcodeOrZip?: string | null | undefined;
3029
+ }, {
3030
+ country: string;
3031
+ state: string;
3032
+ addressType: "INTERNATIONAL";
3033
+ district2: string;
3034
+ cityOrTown?: string | null | undefined;
3035
+ addressLine1?: string | null | undefined;
3036
+ addressLine2?: string | null | undefined;
3037
+ addressLine3?: string | null | undefined;
3038
+ postcodeOrZip?: string | null | undefined;
3039
+ }>]>>>;
3040
+ originalActionId: z.ZodOptional<z.ZodString>;
3041
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3042
+ }, {
3043
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3044
+ }>, "strip", z.ZodTypeAny, {
3045
+ type: "MARKED_AS_DUPLICATE";
3046
+ declaration: Record<string, string | number | boolean | {
3047
+ type: string;
3048
+ filename: string;
3049
+ originalFilename: string;
3050
+ } | {
3051
+ country: string;
3052
+ district: string;
3053
+ addressType: "DOMESTIC";
3054
+ province: string;
3055
+ urbanOrRural: "URBAN";
3056
+ number?: string | null | undefined;
3057
+ town?: string | null | undefined;
3058
+ residentialArea?: string | null | undefined;
3059
+ street?: string | null | undefined;
3060
+ zipCode?: string | null | undefined;
3061
+ } | {
3062
+ country: string;
3063
+ district: string;
3064
+ addressType: "DOMESTIC";
3065
+ province: string;
3066
+ urbanOrRural: "RURAL";
3067
+ village?: string | null | undefined;
3068
+ } | {
3069
+ country: string;
3070
+ state: string;
3071
+ addressType: "INTERNATIONAL";
3072
+ district2: string;
3073
+ cityOrTown?: string | null | undefined;
3074
+ addressLine1?: string | null | undefined;
3075
+ addressLine2?: string | null | undefined;
3076
+ addressLine3?: string | null | undefined;
3077
+ postcodeOrZip?: string | null | undefined;
3078
+ } | {
3079
+ type: string;
3080
+ option: string;
3081
+ filename: string;
3082
+ originalFilename: string;
3083
+ }[] | undefined>;
3084
+ eventId: string;
3085
+ transactionId: string;
3086
+ annotation?: Record<string, string | number | boolean | {
3087
+ type: string;
3088
+ filename: string;
3089
+ originalFilename: string;
3090
+ } | {
3091
+ country: string;
3092
+ district: string;
3093
+ addressType: "DOMESTIC";
3094
+ province: string;
3095
+ urbanOrRural: "URBAN";
3096
+ number?: string | null | undefined;
3097
+ town?: string | null | undefined;
3098
+ residentialArea?: string | null | undefined;
3099
+ street?: string | null | undefined;
3100
+ zipCode?: string | null | undefined;
3101
+ } | {
3102
+ country: string;
3103
+ district: string;
3104
+ addressType: "DOMESTIC";
3105
+ province: string;
3106
+ urbanOrRural: "RURAL";
3107
+ village?: string | null | undefined;
3108
+ } | {
3109
+ country: string;
3110
+ state: string;
3111
+ addressType: "INTERNATIONAL";
3112
+ district2: string;
3113
+ cityOrTown?: string | null | undefined;
3114
+ addressLine1?: string | null | undefined;
3115
+ addressLine2?: string | null | undefined;
3116
+ addressLine3?: string | null | undefined;
3117
+ postcodeOrZip?: string | null | undefined;
3118
+ } | {
3119
+ type: string;
3120
+ option: string;
3121
+ filename: string;
3122
+ originalFilename: string;
3123
+ }[] | undefined> | undefined;
3124
+ originalActionId?: string | undefined;
3125
+ keepAssignment?: boolean | undefined;
3126
+ }, {
3127
+ eventId: string;
3128
+ transactionId: string;
3129
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3130
+ declaration?: Record<string, string | number | boolean | {
3131
+ type: string;
3132
+ filename: string;
3133
+ originalFilename: string;
3134
+ } | {
3135
+ country: string;
3136
+ district: string;
3137
+ addressType: "DOMESTIC";
3138
+ province: string;
3139
+ urbanOrRural: "URBAN";
3140
+ number?: string | null | undefined;
3141
+ town?: string | null | undefined;
3142
+ residentialArea?: string | null | undefined;
3143
+ street?: string | null | undefined;
3144
+ zipCode?: string | null | undefined;
3145
+ } | {
3146
+ country: string;
3147
+ district: string;
3148
+ addressType: "DOMESTIC";
3149
+ province: string;
3150
+ urbanOrRural: "RURAL";
3151
+ village?: string | null | undefined;
3152
+ } | {
3153
+ country: string;
3154
+ state: string;
3155
+ addressType: "INTERNATIONAL";
3156
+ district2: string;
3157
+ cityOrTown?: string | null | undefined;
3158
+ addressLine1?: string | null | undefined;
3159
+ addressLine2?: string | null | undefined;
3160
+ addressLine3?: string | null | undefined;
3161
+ postcodeOrZip?: string | null | undefined;
3162
+ } | {
3163
+ type: string;
3164
+ option: string;
3165
+ filename: string;
3166
+ originalFilename: string;
3167
+ }[] | undefined> | undefined;
3168
+ annotation?: Record<string, string | number | boolean | {
3169
+ type: string;
3170
+ filename: string;
3171
+ originalFilename: string;
3172
+ } | {
3173
+ country: string;
3174
+ district: string;
3175
+ addressType: "DOMESTIC";
3176
+ province: string;
3177
+ urbanOrRural: "URBAN";
3178
+ number?: string | null | undefined;
3179
+ town?: string | null | undefined;
3180
+ residentialArea?: string | null | undefined;
3181
+ street?: string | null | undefined;
3182
+ zipCode?: string | null | undefined;
3183
+ } | {
3184
+ country: string;
3185
+ district: string;
3186
+ addressType: "DOMESTIC";
3187
+ province: string;
3188
+ urbanOrRural: "RURAL";
3189
+ village?: string | null | undefined;
3190
+ } | {
3191
+ country: string;
3192
+ state: string;
3193
+ addressType: "INTERNATIONAL";
3194
+ district2: string;
3195
+ cityOrTown?: string | null | undefined;
3196
+ addressLine1?: string | null | undefined;
3197
+ addressLine2?: string | null | undefined;
3198
+ addressLine3?: string | null | undefined;
3199
+ postcodeOrZip?: string | null | undefined;
3200
+ } | {
3201
+ type: string;
3202
+ option: string;
3203
+ filename: string;
3204
+ originalFilename: string;
3205
+ }[] | undefined> | undefined;
3206
+ originalActionId?: string | undefined;
3207
+ keepAssignment?: boolean | undefined;
3208
+ }>;
3209
+ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3210
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3211
+ eventId: z.ZodString;
3212
+ transactionId: z.ZodString;
3213
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2394
3214
  filename: z.ZodString;
2395
3215
  originalFilename: z.ZodString;
2396
3216
  type: z.ZodString;
@@ -2503,7 +3323,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2503
3323
  addressLine2?: string | null | undefined;
2504
3324
  addressLine3?: string | null | undefined;
2505
3325
  postcodeOrZip?: string | null | undefined;
2506
- }>]>>;
3326
+ }>]>>>;
2507
3327
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2508
3328
  filename: z.ZodString;
2509
3329
  originalFilename: z.ZodString;
@@ -2619,10 +3439,11 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2619
3439
  postcodeOrZip?: string | null | undefined;
2620
3440
  }>]>>>;
2621
3441
  originalActionId: z.ZodOptional<z.ZodString>;
3442
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2622
3443
  }, {
2623
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
3444
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
2624
3445
  }>, "strip", z.ZodTypeAny, {
2625
- type: "REJECT";
3446
+ type: "ARCHIVE";
2626
3447
  declaration: Record<string, string | number | boolean | {
2627
3448
  type: string;
2628
3449
  filename: string;
@@ -2702,8 +3523,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2702
3523
  originalFilename: string;
2703
3524
  }[] | undefined> | undefined;
2704
3525
  originalActionId?: string | undefined;
3526
+ keepAssignment?: boolean | undefined;
2705
3527
  }, {
2706
- declaration: Record<string, string | number | boolean | {
3528
+ eventId: string;
3529
+ transactionId: string;
3530
+ type?: "ARCHIVE" | undefined;
3531
+ declaration?: Record<string, string | number | boolean | {
2707
3532
  type: string;
2708
3533
  filename: string;
2709
3534
  originalFilename: string;
@@ -2740,10 +3565,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2740
3565
  option: string;
2741
3566
  filename: string;
2742
3567
  originalFilename: string;
2743
- }[] | undefined>;
2744
- eventId: string;
2745
- transactionId: string;
2746
- type?: "REJECT" | undefined;
3568
+ }[] | undefined> | undefined;
2747
3569
  annotation?: Record<string, string | number | boolean | {
2748
3570
  type: string;
2749
3571
  filename: string;
@@ -2783,12 +3605,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2783
3605
  originalFilename: string;
2784
3606
  }[] | undefined> | undefined;
2785
3607
  originalActionId?: string | undefined;
3608
+ keepAssignment?: boolean | undefined;
2786
3609
  }>;
2787
- export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
- export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
3610
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
2789
3612
  eventId: z.ZodString;
2790
3613
  transactionId: z.ZodString;
2791
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3614
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2792
3615
  filename: z.ZodString;
2793
3616
  originalFilename: z.ZodString;
2794
3617
  type: z.ZodString;
@@ -2901,7 +3724,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2901
3724
  addressLine2?: string | null | undefined;
2902
3725
  addressLine3?: string | null | undefined;
2903
3726
  postcodeOrZip?: string | null | undefined;
2904
- }>]>>;
3727
+ }>]>>>;
2905
3728
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2906
3729
  filename: z.ZodString;
2907
3730
  originalFilename: z.ZodString;
@@ -3017,10 +3840,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3017
3840
  postcodeOrZip?: string | null | undefined;
3018
3841
  }>]>>>;
3019
3842
  originalActionId: z.ZodOptional<z.ZodString>;
3843
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3020
3844
  }, {
3021
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3845
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3846
+ assignedTo: z.ZodString;
3022
3847
  }>, "strip", z.ZodTypeAny, {
3023
- type: "MARKED_AS_DUPLICATE";
3848
+ type: "ASSIGN";
3024
3849
  declaration: Record<string, string | number | boolean | {
3025
3850
  type: string;
3026
3851
  filename: string;
@@ -3059,6 +3884,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3059
3884
  filename: string;
3060
3885
  originalFilename: string;
3061
3886
  }[] | undefined>;
3887
+ assignedTo: string;
3062
3888
  eventId: string;
3063
3889
  transactionId: string;
3064
3890
  annotation?: Record<string, string | number | boolean | {
@@ -3100,8 +3926,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3100
3926
  originalFilename: string;
3101
3927
  }[] | undefined> | undefined;
3102
3928
  originalActionId?: string | undefined;
3929
+ keepAssignment?: boolean | undefined;
3103
3930
  }, {
3104
- declaration: Record<string, string | number | boolean | {
3931
+ assignedTo: string;
3932
+ eventId: string;
3933
+ transactionId: string;
3934
+ type?: "ASSIGN" | undefined;
3935
+ declaration?: Record<string, string | number | boolean | {
3105
3936
  type: string;
3106
3937
  filename: string;
3107
3938
  originalFilename: string;
@@ -3138,10 +3969,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3138
3969
  option: string;
3139
3970
  filename: string;
3140
3971
  originalFilename: string;
3141
- }[] | undefined>;
3142
- eventId: string;
3143
- transactionId: string;
3144
- type?: "MARKED_AS_DUPLICATE" | undefined;
3972
+ }[] | undefined> | undefined;
3145
3973
  annotation?: Record<string, string | number | boolean | {
3146
3974
  type: string;
3147
3975
  filename: string;
@@ -3181,12 +4009,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3181
4009
  originalFilename: string;
3182
4010
  }[] | undefined> | undefined;
3183
4011
  originalActionId?: string | undefined;
4012
+ keepAssignment?: boolean | undefined;
3184
4013
  }>;
3185
- export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
- export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4014
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3187
4016
  eventId: z.ZodString;
3188
4017
  transactionId: z.ZodString;
3189
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4018
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3190
4019
  filename: z.ZodString;
3191
4020
  originalFilename: z.ZodString;
3192
4021
  type: z.ZodString;
@@ -3299,7 +4128,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3299
4128
  addressLine2?: string | null | undefined;
3300
4129
  addressLine3?: string | null | undefined;
3301
4130
  postcodeOrZip?: string | null | undefined;
3302
- }>]>>;
4131
+ }>]>>>;
3303
4132
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3304
4133
  filename: z.ZodString;
3305
4134
  originalFilename: z.ZodString;
@@ -3415,10 +4244,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3415
4244
  postcodeOrZip?: string | null | undefined;
3416
4245
  }>]>>>;
3417
4246
  originalActionId: z.ZodOptional<z.ZodString>;
4247
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3418
4248
  }, {
3419
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
4249
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4250
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
3420
4251
  }>, "strip", z.ZodTypeAny, {
3421
- type: "ARCHIVE";
4252
+ type: "UNASSIGN";
3422
4253
  declaration: Record<string, string | number | boolean | {
3423
4254
  type: string;
3424
4255
  filename: string;
@@ -3457,6 +4288,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3457
4288
  filename: string;
3458
4289
  originalFilename: string;
3459
4290
  }[] | undefined>;
4291
+ assignedTo: null;
3460
4292
  eventId: string;
3461
4293
  transactionId: string;
3462
4294
  annotation?: Record<string, string | number | boolean | {
@@ -3498,8 +4330,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3498
4330
  originalFilename: string;
3499
4331
  }[] | undefined> | undefined;
3500
4332
  originalActionId?: string | undefined;
4333
+ keepAssignment?: boolean | undefined;
3501
4334
  }, {
3502
- declaration: Record<string, string | number | boolean | {
4335
+ eventId: string;
4336
+ transactionId: 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,6 +4648,7 @@ 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, {
@@ -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
+ eventId: string;
4738
+ transactionId: 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,6 +5049,7 @@ 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">>;
@@ -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
+ requestId: string;
5141
+ eventId: string;
5142
+ transactionId: 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,6 +5453,7 @@ 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">>;
@@ -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
+ requestId: string;
5545
+ eventId: string;
5546
+ transactionId: 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,6 +5857,7 @@ 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, {
@@ -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
+ eventId: string;
5947
+ transactionId: 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,6 +6023,7 @@ 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>;
5182
6029
  /**
@@ -5190,7 +6037,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5190
6037
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5191
6038
  eventId: z.ZodString;
5192
6039
  transactionId: z.ZodString;
5193
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6040
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5194
6041
  filename: z.ZodString;
5195
6042
  originalFilename: z.ZodString;
5196
6043
  type: z.ZodString;
@@ -5303,7 +6150,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5303
6150
  addressLine2?: string | null | undefined;
5304
6151
  addressLine3?: string | null | undefined;
5305
6152
  postcodeOrZip?: string | null | undefined;
5306
- }>]>>;
6153
+ }>]>>>;
5307
6154
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5308
6155
  filename: z.ZodString;
5309
6156
  originalFilename: z.ZodString;
@@ -5419,6 +6266,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5419
6266
  postcodeOrZip?: string | null | undefined;
5420
6267
  }>]>>>;
5421
6268
  originalActionId: z.ZodOptional<z.ZodString>;
6269
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5422
6270
  }, {
5423
6271
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5424
6272
  createdAtLocation: z.ZodString;
@@ -5504,8 +6352,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5504
6352
  originalFilename: string;
5505
6353
  }[] | undefined> | undefined;
5506
6354
  originalActionId?: string | undefined;
6355
+ keepAssignment?: boolean | undefined;
5507
6356
  }, {
5508
- declaration: Record<string, string | number | boolean | {
6357
+ createdAtLocation: string;
6358
+ eventId: string;
6359
+ transactionId: string;
6360
+ type?: "CREATE" | undefined;
6361
+ declaration?: Record<string, string | number | boolean | {
5509
6362
  type: string;
5510
6363
  filename: string;
5511
6364
  originalFilename: string;
@@ -5542,11 +6395,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5542
6395
  option: string;
5543
6396
  filename: string;
5544
6397
  originalFilename: string;
5545
- }[] | undefined>;
5546
- createdAtLocation: string;
5547
- eventId: string;
5548
- transactionId: string;
5549
- type?: "CREATE" | undefined;
6398
+ }[] | undefined> | undefined;
5550
6399
  annotation?: Record<string, string | number | boolean | {
5551
6400
  type: string;
5552
6401
  filename: string;
@@ -5586,10 +6435,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5586
6435
  originalFilename: string;
5587
6436
  }[] | undefined> | undefined;
5588
6437
  originalActionId?: string | undefined;
6438
+ keepAssignment?: boolean | undefined;
5589
6439
  }>, z.ZodObject<z.objectUtil.extendShape<{
5590
6440
  eventId: z.ZodString;
5591
6441
  transactionId: z.ZodString;
5592
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6442
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5593
6443
  filename: z.ZodString;
5594
6444
  originalFilename: z.ZodString;
5595
6445
  type: z.ZodString;
@@ -5702,7 +6552,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5702
6552
  addressLine2?: string | null | undefined;
5703
6553
  addressLine3?: string | null | undefined;
5704
6554
  postcodeOrZip?: string | null | undefined;
5705
- }>]>>;
6555
+ }>]>>>;
5706
6556
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5707
6557
  filename: z.ZodString;
5708
6558
  originalFilename: z.ZodString;
@@ -5818,6 +6668,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5818
6668
  postcodeOrZip?: string | null | undefined;
5819
6669
  }>]>>>;
5820
6670
  originalActionId: z.ZodOptional<z.ZodString>;
6671
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5821
6672
  }, {
5822
6673
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5823
6674
  duplicates: z.ZodArray<z.ZodString, "many">;
@@ -5903,8 +6754,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5903
6754
  originalFilename: string;
5904
6755
  }[] | undefined> | undefined;
5905
6756
  originalActionId?: string | undefined;
6757
+ keepAssignment?: boolean | undefined;
5906
6758
  }, {
5907
- declaration: Record<string, string | number | boolean | {
6759
+ eventId: string;
6760
+ transactionId: string;
6761
+ duplicates: string[];
6762
+ type?: "VALIDATE" | undefined;
6763
+ declaration?: Record<string, string | number | boolean | {
5908
6764
  type: string;
5909
6765
  filename: string;
5910
6766
  originalFilename: string;
@@ -5941,11 +6797,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5941
6797
  option: string;
5942
6798
  filename: string;
5943
6799
  originalFilename: string;
5944
- }[] | undefined>;
5945
- eventId: string;
5946
- transactionId: string;
5947
- duplicates: string[];
5948
- type?: "VALIDATE" | undefined;
6800
+ }[] | undefined> | undefined;
5949
6801
  annotation?: Record<string, string | number | boolean | {
5950
6802
  type: string;
5951
6803
  filename: string;
@@ -5985,10 +6837,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5985
6837
  originalFilename: string;
5986
6838
  }[] | undefined> | undefined;
5987
6839
  originalActionId?: string | undefined;
6840
+ keepAssignment?: boolean | undefined;
5988
6841
  }>, z.ZodObject<z.objectUtil.extendShape<{
5989
6842
  eventId: z.ZodString;
5990
6843
  transactionId: z.ZodString;
5991
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6844
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5992
6845
  filename: z.ZodString;
5993
6846
  originalFilename: z.ZodString;
5994
6847
  type: z.ZodString;
@@ -6101,7 +6954,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6101
6954
  addressLine2?: string | null | undefined;
6102
6955
  addressLine3?: string | null | undefined;
6103
6956
  postcodeOrZip?: string | null | undefined;
6104
- }>]>>;
6957
+ }>]>>>;
6105
6958
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6106
6959
  filename: z.ZodString;
6107
6960
  originalFilename: z.ZodString;
@@ -6217,6 +7070,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6217
7070
  postcodeOrZip?: string | null | undefined;
6218
7071
  }>]>>>;
6219
7072
  originalActionId: z.ZodOptional<z.ZodString>;
7073
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6220
7074
  }, {
6221
7075
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6222
7076
  registrationNumber: z.ZodOptional<z.ZodString>;
@@ -6302,8 +7156,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6302
7156
  }[] | undefined> | undefined;
6303
7157
  originalActionId?: string | undefined;
6304
7158
  registrationNumber?: string | undefined;
7159
+ keepAssignment?: boolean | undefined;
6305
7160
  }, {
6306
- declaration: Record<string, string | number | boolean | {
7161
+ eventId: string;
7162
+ transactionId: string;
7163
+ type?: "REGISTER" | undefined;
7164
+ declaration?: Record<string, string | number | boolean | {
6307
7165
  type: string;
6308
7166
  filename: string;
6309
7167
  originalFilename: string;
@@ -6340,10 +7198,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6340
7198
  option: string;
6341
7199
  filename: string;
6342
7200
  originalFilename: string;
6343
- }[] | undefined>;
6344
- eventId: string;
6345
- transactionId: string;
6346
- type?: "REGISTER" | undefined;
7201
+ }[] | undefined> | undefined;
6347
7202
  annotation?: Record<string, string | number | boolean | {
6348
7203
  type: string;
6349
7204
  filename: string;
@@ -6384,10 +7239,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6384
7239
  }[] | undefined> | undefined;
6385
7240
  originalActionId?: string | undefined;
6386
7241
  registrationNumber?: string | undefined;
7242
+ keepAssignment?: boolean | undefined;
6387
7243
  }>, z.ZodObject<z.objectUtil.extendShape<{
6388
7244
  eventId: z.ZodString;
6389
7245
  transactionId: z.ZodString;
6390
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7246
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6391
7247
  filename: z.ZodString;
6392
7248
  originalFilename: z.ZodString;
6393
7249
  type: z.ZodString;
@@ -6500,7 +7356,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6500
7356
  addressLine2?: string | null | undefined;
6501
7357
  addressLine3?: string | null | undefined;
6502
7358
  postcodeOrZip?: string | null | undefined;
6503
- }>]>>;
7359
+ }>]>>>;
6504
7360
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6505
7361
  filename: z.ZodString;
6506
7362
  originalFilename: z.ZodString;
@@ -6616,6 +7472,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6616
7472
  postcodeOrZip?: string | null | undefined;
6617
7473
  }>]>>>;
6618
7474
  originalActionId: z.ZodOptional<z.ZodString>;
7475
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6619
7476
  }, {
6620
7477
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6621
7478
  }>, "strip", z.ZodTypeAny, {
@@ -6699,8 +7556,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6699
7556
  originalFilename: string;
6700
7557
  }[] | undefined> | undefined;
6701
7558
  originalActionId?: string | undefined;
7559
+ keepAssignment?: boolean | undefined;
6702
7560
  }, {
6703
- declaration: Record<string, string | number | boolean | {
7561
+ eventId: string;
7562
+ transactionId: string;
7563
+ type?: "NOTIFY" | undefined;
7564
+ declaration?: Record<string, string | number | boolean | {
6704
7565
  type: string;
6705
7566
  filename: string;
6706
7567
  originalFilename: string;
@@ -6737,10 +7598,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6737
7598
  option: string;
6738
7599
  filename: string;
6739
7600
  originalFilename: string;
6740
- }[] | undefined>;
6741
- eventId: string;
6742
- transactionId: string;
6743
- type?: "NOTIFY" | undefined;
7601
+ }[] | undefined> | undefined;
6744
7602
  annotation?: Record<string, string | number | boolean | {
6745
7603
  type: string;
6746
7604
  filename: string;
@@ -6780,10 +7638,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6780
7638
  originalFilename: string;
6781
7639
  }[] | undefined> | undefined;
6782
7640
  originalActionId?: string | undefined;
7641
+ keepAssignment?: boolean | undefined;
6783
7642
  }>, z.ZodObject<z.objectUtil.extendShape<{
6784
7643
  eventId: z.ZodString;
6785
7644
  transactionId: z.ZodString;
6786
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7645
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6787
7646
  filename: z.ZodString;
6788
7647
  originalFilename: z.ZodString;
6789
7648
  type: z.ZodString;
@@ -6896,7 +7755,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6896
7755
  addressLine2?: string | null | undefined;
6897
7756
  addressLine3?: string | null | undefined;
6898
7757
  postcodeOrZip?: string | null | undefined;
6899
- }>]>>;
7758
+ }>]>>>;
6900
7759
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6901
7760
  filename: z.ZodString;
6902
7761
  originalFilename: z.ZodString;
@@ -7012,6 +7871,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7012
7871
  postcodeOrZip?: string | null | undefined;
7013
7872
  }>]>>>;
7014
7873
  originalActionId: z.ZodOptional<z.ZodString>;
7874
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7015
7875
  }, {
7016
7876
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
7017
7877
  }>, "strip", z.ZodTypeAny, {
@@ -7095,8 +7955,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7095
7955
  originalFilename: string;
7096
7956
  }[] | undefined> | undefined;
7097
7957
  originalActionId?: string | undefined;
7958
+ keepAssignment?: boolean | undefined;
7098
7959
  }, {
7099
- declaration: Record<string, string | number | boolean | {
7960
+ eventId: string;
7961
+ transactionId: string;
7962
+ type?: "DECLARE" | undefined;
7963
+ declaration?: Record<string, string | number | boolean | {
7100
7964
  type: string;
7101
7965
  filename: string;
7102
7966
  originalFilename: string;
@@ -7133,10 +7997,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7133
7997
  option: string;
7134
7998
  filename: string;
7135
7999
  originalFilename: string;
7136
- }[] | undefined>;
7137
- eventId: string;
7138
- transactionId: string;
7139
- type?: "DECLARE" | undefined;
8000
+ }[] | undefined> | undefined;
7140
8001
  annotation?: Record<string, string | number | boolean | {
7141
8002
  type: string;
7142
8003
  filename: string;
@@ -7176,10 +8037,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7176
8037
  originalFilename: string;
7177
8038
  }[] | undefined> | undefined;
7178
8039
  originalActionId?: string | undefined;
8040
+ keepAssignment?: boolean | undefined;
7179
8041
  }>, z.ZodObject<z.objectUtil.extendShape<{
7180
8042
  eventId: z.ZodString;
7181
8043
  transactionId: z.ZodString;
7182
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8044
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7183
8045
  filename: z.ZodString;
7184
8046
  originalFilename: z.ZodString;
7185
8047
  type: z.ZodString;
@@ -7292,7 +8154,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7292
8154
  addressLine2?: string | null | undefined;
7293
8155
  addressLine3?: string | null | undefined;
7294
8156
  postcodeOrZip?: string | null | undefined;
7295
- }>]>>;
8157
+ }>]>>>;
7296
8158
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7297
8159
  filename: z.ZodString;
7298
8160
  originalFilename: z.ZodString;
@@ -7408,6 +8270,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7408
8270
  postcodeOrZip?: string | null | undefined;
7409
8271
  }>]>>>;
7410
8272
  originalActionId: z.ZodOptional<z.ZodString>;
8273
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7411
8274
  }, {
7412
8275
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7413
8276
  }>, "strip", z.ZodTypeAny, {
@@ -7491,8 +8354,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7491
8354
  originalFilename: string;
7492
8355
  }[] | undefined> | undefined;
7493
8356
  originalActionId?: string | undefined;
8357
+ keepAssignment?: boolean | undefined;
7494
8358
  }, {
7495
- declaration: Record<string, string | number | boolean | {
8359
+ eventId: string;
8360
+ transactionId: string;
8361
+ type?: "REJECT" | undefined;
8362
+ declaration?: Record<string, string | number | boolean | {
7496
8363
  type: string;
7497
8364
  filename: string;
7498
8365
  originalFilename: string;
@@ -7529,10 +8396,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7529
8396
  option: string;
7530
8397
  filename: string;
7531
8398
  originalFilename: string;
7532
- }[] | undefined>;
7533
- eventId: string;
7534
- transactionId: string;
7535
- type?: "REJECT" | undefined;
8399
+ }[] | undefined> | undefined;
7536
8400
  annotation?: Record<string, string | number | boolean | {
7537
8401
  type: string;
7538
8402
  filename: string;
@@ -7572,10 +8436,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7572
8436
  originalFilename: string;
7573
8437
  }[] | undefined> | undefined;
7574
8438
  originalActionId?: string | undefined;
8439
+ keepAssignment?: boolean | undefined;
7575
8440
  }>, z.ZodObject<z.objectUtil.extendShape<{
7576
8441
  eventId: z.ZodString;
7577
8442
  transactionId: z.ZodString;
7578
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8443
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7579
8444
  filename: z.ZodString;
7580
8445
  originalFilename: z.ZodString;
7581
8446
  type: z.ZodString;
@@ -7688,7 +8553,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7688
8553
  addressLine2?: string | null | undefined;
7689
8554
  addressLine3?: string | null | undefined;
7690
8555
  postcodeOrZip?: string | null | undefined;
7691
- }>]>>;
8556
+ }>]>>>;
7692
8557
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7693
8558
  filename: z.ZodString;
7694
8559
  originalFilename: z.ZodString;
@@ -7804,6 +8669,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7804
8669
  postcodeOrZip?: string | null | undefined;
7805
8670
  }>]>>>;
7806
8671
  originalActionId: z.ZodOptional<z.ZodString>;
8672
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7807
8673
  }, {
7808
8674
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7809
8675
  }>, "strip", z.ZodTypeAny, {
@@ -7887,8 +8753,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7887
8753
  originalFilename: string;
7888
8754
  }[] | undefined> | undefined;
7889
8755
  originalActionId?: string | undefined;
8756
+ keepAssignment?: boolean | undefined;
7890
8757
  }, {
7891
- declaration: Record<string, string | number | boolean | {
8758
+ eventId: string;
8759
+ transactionId: string;
8760
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8761
+ declaration?: Record<string, string | number | boolean | {
7892
8762
  type: string;
7893
8763
  filename: string;
7894
8764
  originalFilename: string;
@@ -7925,10 +8795,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7925
8795
  option: string;
7926
8796
  filename: string;
7927
8797
  originalFilename: string;
7928
- }[] | undefined>;
7929
- eventId: string;
7930
- transactionId: string;
7931
- type?: "MARKED_AS_DUPLICATE" | undefined;
8798
+ }[] | undefined> | undefined;
7932
8799
  annotation?: Record<string, string | number | boolean | {
7933
8800
  type: string;
7934
8801
  filename: string;
@@ -7968,10 +8835,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7968
8835
  originalFilename: string;
7969
8836
  }[] | undefined> | undefined;
7970
8837
  originalActionId?: string | undefined;
8838
+ keepAssignment?: boolean | undefined;
7971
8839
  }>, z.ZodObject<z.objectUtil.extendShape<{
7972
8840
  eventId: z.ZodString;
7973
8841
  transactionId: z.ZodString;
7974
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8842
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7975
8843
  filename: z.ZodString;
7976
8844
  originalFilename: z.ZodString;
7977
8845
  type: z.ZodString;
@@ -8084,7 +8952,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8084
8952
  addressLine2?: string | null | undefined;
8085
8953
  addressLine3?: string | null | undefined;
8086
8954
  postcodeOrZip?: string | null | undefined;
8087
- }>]>>;
8955
+ }>]>>>;
8088
8956
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8089
8957
  filename: z.ZodString;
8090
8958
  originalFilename: z.ZodString;
@@ -8200,6 +9068,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8200
9068
  postcodeOrZip?: string | null | undefined;
8201
9069
  }>]>>>;
8202
9070
  originalActionId: z.ZodOptional<z.ZodString>;
9071
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8203
9072
  }, {
8204
9073
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8205
9074
  }>, "strip", z.ZodTypeAny, {
@@ -8283,8 +9152,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8283
9152
  originalFilename: string;
8284
9153
  }[] | undefined> | undefined;
8285
9154
  originalActionId?: string | undefined;
9155
+ keepAssignment?: boolean | undefined;
8286
9156
  }, {
8287
- declaration: Record<string, string | number | boolean | {
9157
+ eventId: string;
9158
+ transactionId: string;
9159
+ type?: "ARCHIVE" | undefined;
9160
+ declaration?: Record<string, string | number | boolean | {
8288
9161
  type: string;
8289
9162
  filename: string;
8290
9163
  originalFilename: string;
@@ -8321,10 +9194,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8321
9194
  option: string;
8322
9195
  filename: string;
8323
9196
  originalFilename: string;
8324
- }[] | undefined>;
8325
- eventId: string;
8326
- transactionId: string;
8327
- type?: "ARCHIVE" | undefined;
9197
+ }[] | undefined> | undefined;
8328
9198
  annotation?: Record<string, string | number | boolean | {
8329
9199
  type: string;
8330
9200
  filename: string;
@@ -8364,10 +9234,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8364
9234
  originalFilename: string;
8365
9235
  }[] | undefined> | undefined;
8366
9236
  originalActionId?: string | undefined;
9237
+ keepAssignment?: boolean | undefined;
8367
9238
  }>, z.ZodObject<z.objectUtil.extendShape<{
8368
9239
  eventId: z.ZodString;
8369
9240
  transactionId: z.ZodString;
8370
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9241
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8371
9242
  filename: z.ZodString;
8372
9243
  originalFilename: z.ZodString;
8373
9244
  type: z.ZodString;
@@ -8480,7 +9351,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8480
9351
  addressLine2?: string | null | undefined;
8481
9352
  addressLine3?: string | null | undefined;
8482
9353
  postcodeOrZip?: string | null | undefined;
8483
- }>]>>;
9354
+ }>]>>>;
8484
9355
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8485
9356
  filename: z.ZodString;
8486
9357
  originalFilename: z.ZodString;
@@ -8596,6 +9467,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8596
9467
  postcodeOrZip?: string | null | undefined;
8597
9468
  }>]>>>;
8598
9469
  originalActionId: z.ZodOptional<z.ZodString>;
9470
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8599
9471
  }, {
8600
9472
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8601
9473
  assignedTo: z.ZodString;
@@ -8681,8 +9553,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8681
9553
  originalFilename: string;
8682
9554
  }[] | undefined> | undefined;
8683
9555
  originalActionId?: string | undefined;
9556
+ keepAssignment?: boolean | undefined;
8684
9557
  }, {
8685
- declaration: Record<string, string | number | boolean | {
9558
+ assignedTo: string;
9559
+ eventId: string;
9560
+ transactionId: string;
9561
+ type?: "ASSIGN" | undefined;
9562
+ declaration?: Record<string, string | number | boolean | {
8686
9563
  type: string;
8687
9564
  filename: string;
8688
9565
  originalFilename: string;
@@ -8719,11 +9596,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8719
9596
  option: string;
8720
9597
  filename: string;
8721
9598
  originalFilename: string;
8722
- }[] | undefined>;
8723
- assignedTo: string;
8724
- eventId: string;
8725
- transactionId: string;
8726
- type?: "ASSIGN" | undefined;
9599
+ }[] | undefined> | undefined;
8727
9600
  annotation?: Record<string, string | number | boolean | {
8728
9601
  type: string;
8729
9602
  filename: string;
@@ -8763,10 +9636,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8763
9636
  originalFilename: string;
8764
9637
  }[] | undefined> | undefined;
8765
9638
  originalActionId?: string | undefined;
9639
+ keepAssignment?: boolean | undefined;
8766
9640
  }>, z.ZodObject<z.objectUtil.extendShape<{
8767
9641
  eventId: z.ZodString;
8768
9642
  transactionId: z.ZodString;
8769
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9643
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8770
9644
  filename: z.ZodString;
8771
9645
  originalFilename: z.ZodString;
8772
9646
  type: z.ZodString;
@@ -8879,7 +9753,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8879
9753
  addressLine2?: string | null | undefined;
8880
9754
  addressLine3?: string | null | undefined;
8881
9755
  postcodeOrZip?: string | null | undefined;
8882
- }>]>>;
9756
+ }>]>>>;
8883
9757
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8884
9758
  filename: z.ZodString;
8885
9759
  originalFilename: z.ZodString;
@@ -8995,8 +9869,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8995
9869
  postcodeOrZip?: string | null | undefined;
8996
9870
  }>]>>>;
8997
9871
  originalActionId: z.ZodOptional<z.ZodString>;
9872
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8998
9873
  }, {
8999
9874
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9875
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
9000
9876
  }>, "strip", z.ZodTypeAny, {
9001
9877
  type: "UNASSIGN";
9002
9878
  declaration: Record<string, string | number | boolean | {
@@ -9037,6 +9913,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9037
9913
  filename: string;
9038
9914
  originalFilename: string;
9039
9915
  }[] | undefined>;
9916
+ assignedTo: null;
9040
9917
  eventId: string;
9041
9918
  transactionId: string;
9042
9919
  annotation?: Record<string, string | number | boolean | {
@@ -9078,8 +9955,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
9955
  originalFilename: string;
9079
9956
  }[] | undefined> | undefined;
9080
9957
  originalActionId?: string | undefined;
9958
+ keepAssignment?: boolean | undefined;
9081
9959
  }, {
9082
- declaration: Record<string, string | number | boolean | {
9960
+ eventId: string;
9961
+ transactionId: string;
9962
+ type?: "UNASSIGN" | undefined;
9963
+ declaration?: Record<string, string | number | boolean | {
9083
9964
  type: string;
9084
9965
  filename: string;
9085
9966
  originalFilename: string;
@@ -9116,10 +9997,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9116
9997
  option: string;
9117
9998
  filename: string;
9118
9999
  originalFilename: string;
9119
- }[] | undefined>;
9120
- eventId: string;
9121
- transactionId: string;
9122
- type?: "UNASSIGN" | undefined;
10000
+ }[] | undefined> | undefined;
9123
10001
  annotation?: Record<string, string | number | boolean | {
9124
10002
  type: string;
9125
10003
  filename: string;
@@ -9159,10 +10037,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9159
10037
  originalFilename: string;
9160
10038
  }[] | undefined> | undefined;
9161
10039
  originalActionId?: string | undefined;
10040
+ assignedTo?: null | undefined;
10041
+ keepAssignment?: boolean | undefined;
9162
10042
  }>, z.ZodObject<z.objectUtil.extendShape<{
9163
10043
  eventId: z.ZodString;
9164
10044
  transactionId: z.ZodString;
9165
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10045
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9166
10046
  filename: z.ZodString;
9167
10047
  originalFilename: z.ZodString;
9168
10048
  type: z.ZodString;
@@ -9275,7 +10155,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9275
10155
  addressLine2?: string | null | undefined;
9276
10156
  addressLine3?: string | null | undefined;
9277
10157
  postcodeOrZip?: string | null | undefined;
9278
- }>]>>;
10158
+ }>]>>>;
9279
10159
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9280
10160
  filename: z.ZodString;
9281
10161
  originalFilename: z.ZodString;
@@ -9391,6 +10271,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9391
10271
  postcodeOrZip?: string | null | undefined;
9392
10272
  }>]>>>;
9393
10273
  originalActionId: z.ZodOptional<z.ZodString>;
10274
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9394
10275
  }, {
9395
10276
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9396
10277
  }>, "strip", z.ZodTypeAny, {
@@ -9474,8 +10355,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9474
10355
  originalFilename: string;
9475
10356
  }[] | undefined> | undefined;
9476
10357
  originalActionId?: string | undefined;
10358
+ keepAssignment?: boolean | undefined;
9477
10359
  }, {
9478
- declaration: Record<string, string | number | boolean | {
10360
+ eventId: string;
10361
+ transactionId: string;
10362
+ type?: "PRINT_CERTIFICATE" | undefined;
10363
+ declaration?: Record<string, string | number | boolean | {
9479
10364
  type: string;
9480
10365
  filename: string;
9481
10366
  originalFilename: string;
@@ -9512,10 +10397,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9512
10397
  option: string;
9513
10398
  filename: string;
9514
10399
  originalFilename: string;
9515
- }[] | undefined>;
9516
- eventId: string;
9517
- transactionId: string;
9518
- type?: "PRINT_CERTIFICATE" | undefined;
10400
+ }[] | undefined> | undefined;
9519
10401
  annotation?: Record<string, string | number | boolean | {
9520
10402
  type: string;
9521
10403
  filename: string;
@@ -9555,10 +10437,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9555
10437
  originalFilename: string;
9556
10438
  }[] | undefined> | undefined;
9557
10439
  originalActionId?: string | undefined;
10440
+ keepAssignment?: boolean | undefined;
9558
10441
  }>, z.ZodObject<z.objectUtil.extendShape<{
9559
10442
  eventId: z.ZodString;
9560
10443
  transactionId: z.ZodString;
9561
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10444
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9562
10445
  filename: z.ZodString;
9563
10446
  originalFilename: z.ZodString;
9564
10447
  type: z.ZodString;
@@ -9671,7 +10554,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9671
10554
  addressLine2?: string | null | undefined;
9672
10555
  addressLine3?: string | null | undefined;
9673
10556
  postcodeOrZip?: string | null | undefined;
9674
- }>]>>;
10557
+ }>]>>>;
9675
10558
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9676
10559
  filename: z.ZodString;
9677
10560
  originalFilename: z.ZodString;
@@ -9787,6 +10670,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9787
10670
  postcodeOrZip?: string | null | undefined;
9788
10671
  }>]>>>;
9789
10672
  originalActionId: z.ZodOptional<z.ZodString>;
10673
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9790
10674
  }, {
9791
10675
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9792
10676
  }>, "strip", z.ZodTypeAny, {
@@ -9870,8 +10754,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9870
10754
  originalFilename: string;
9871
10755
  }[] | undefined> | undefined;
9872
10756
  originalActionId?: string | undefined;
10757
+ keepAssignment?: boolean | undefined;
9873
10758
  }, {
9874
- declaration: Record<string, string | number | boolean | {
10759
+ eventId: string;
10760
+ transactionId: string;
10761
+ type?: "REQUEST_CORRECTION" | undefined;
10762
+ declaration?: Record<string, string | number | boolean | {
9875
10763
  type: string;
9876
10764
  filename: string;
9877
10765
  originalFilename: string;
@@ -9908,10 +10796,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9908
10796
  option: string;
9909
10797
  filename: string;
9910
10798
  originalFilename: string;
9911
- }[] | undefined>;
9912
- eventId: string;
9913
- transactionId: string;
9914
- type?: "REQUEST_CORRECTION" | undefined;
10799
+ }[] | undefined> | undefined;
9915
10800
  annotation?: Record<string, string | number | boolean | {
9916
10801
  type: string;
9917
10802
  filename: string;
@@ -9951,10 +10836,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9951
10836
  originalFilename: string;
9952
10837
  }[] | undefined> | undefined;
9953
10838
  originalActionId?: string | undefined;
10839
+ keepAssignment?: boolean | undefined;
9954
10840
  }>, z.ZodObject<z.objectUtil.extendShape<{
9955
10841
  eventId: z.ZodString;
9956
10842
  transactionId: z.ZodString;
9957
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10843
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9958
10844
  filename: z.ZodString;
9959
10845
  originalFilename: z.ZodString;
9960
10846
  type: z.ZodString;
@@ -10067,7 +10953,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10067
10953
  addressLine2?: string | null | undefined;
10068
10954
  addressLine3?: string | null | undefined;
10069
10955
  postcodeOrZip?: string | null | undefined;
10070
- }>]>>;
10956
+ }>]>>>;
10071
10957
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10072
10958
  filename: z.ZodString;
10073
10959
  originalFilename: z.ZodString;
@@ -10183,6 +11069,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10183
11069
  postcodeOrZip?: string | null | undefined;
10184
11070
  }>]>>>;
10185
11071
  originalActionId: z.ZodOptional<z.ZodString>;
11072
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10186
11073
  }, {
10187
11074
  requestId: z.ZodString;
10188
11075
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
@@ -10268,8 +11155,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10268
11155
  originalFilename: string;
10269
11156
  }[] | undefined> | undefined;
10270
11157
  originalActionId?: string | undefined;
11158
+ keepAssignment?: boolean | undefined;
10271
11159
  }, {
10272
- declaration: Record<string, string | number | boolean | {
11160
+ requestId: string;
11161
+ eventId: string;
11162
+ transactionId: string;
11163
+ type?: "REJECT_CORRECTION" | undefined;
11164
+ declaration?: Record<string, string | number | boolean | {
10273
11165
  type: string;
10274
11166
  filename: string;
10275
11167
  originalFilename: string;
@@ -10306,11 +11198,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10306
11198
  option: string;
10307
11199
  filename: string;
10308
11200
  originalFilename: string;
10309
- }[] | undefined>;
10310
- requestId: string;
10311
- eventId: string;
10312
- transactionId: string;
10313
- type?: "REJECT_CORRECTION" | undefined;
11201
+ }[] | undefined> | undefined;
10314
11202
  annotation?: Record<string, string | number | boolean | {
10315
11203
  type: string;
10316
11204
  filename: string;
@@ -10350,10 +11238,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10350
11238
  originalFilename: string;
10351
11239
  }[] | undefined> | undefined;
10352
11240
  originalActionId?: string | undefined;
11241
+ keepAssignment?: boolean | undefined;
10353
11242
  }>, z.ZodObject<z.objectUtil.extendShape<{
10354
11243
  eventId: z.ZodString;
10355
11244
  transactionId: z.ZodString;
10356
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11245
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10357
11246
  filename: z.ZodString;
10358
11247
  originalFilename: z.ZodString;
10359
11248
  type: z.ZodString;
@@ -10466,7 +11355,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10466
11355
  addressLine2?: string | null | undefined;
10467
11356
  addressLine3?: string | null | undefined;
10468
11357
  postcodeOrZip?: string | null | undefined;
10469
- }>]>>;
11358
+ }>]>>>;
10470
11359
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10471
11360
  filename: z.ZodString;
10472
11361
  originalFilename: z.ZodString;
@@ -10582,6 +11471,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10582
11471
  postcodeOrZip?: string | null | undefined;
10583
11472
  }>]>>>;
10584
11473
  originalActionId: z.ZodOptional<z.ZodString>;
11474
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10585
11475
  }, {
10586
11476
  requestId: z.ZodString;
10587
11477
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
@@ -10667,8 +11557,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10667
11557
  originalFilename: string;
10668
11558
  }[] | undefined> | undefined;
10669
11559
  originalActionId?: string | undefined;
11560
+ keepAssignment?: boolean | undefined;
10670
11561
  }, {
10671
- declaration: Record<string, string | number | boolean | {
11562
+ requestId: string;
11563
+ eventId: string;
11564
+ transactionId: string;
11565
+ type?: "APPROVE_CORRECTION" | undefined;
11566
+ declaration?: Record<string, string | number | boolean | {
10672
11567
  type: string;
10673
11568
  filename: string;
10674
11569
  originalFilename: string;
@@ -10705,11 +11600,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10705
11600
  option: string;
10706
11601
  filename: string;
10707
11602
  originalFilename: string;
10708
- }[] | undefined>;
10709
- requestId: string;
10710
- eventId: string;
10711
- transactionId: string;
10712
- type?: "APPROVE_CORRECTION" | undefined;
11603
+ }[] | undefined> | undefined;
10713
11604
  annotation?: Record<string, string | number | boolean | {
10714
11605
  type: string;
10715
11606
  filename: string;
@@ -10749,10 +11640,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10749
11640
  originalFilename: string;
10750
11641
  }[] | undefined> | undefined;
10751
11642
  originalActionId?: string | undefined;
11643
+ keepAssignment?: boolean | undefined;
10752
11644
  }>, z.ZodObject<z.objectUtil.extendShape<{
10753
11645
  eventId: z.ZodString;
10754
11646
  transactionId: z.ZodString;
10755
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11647
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10756
11648
  filename: z.ZodString;
10757
11649
  originalFilename: z.ZodString;
10758
11650
  type: z.ZodString;
@@ -10865,7 +11757,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10865
11757
  addressLine2?: string | null | undefined;
10866
11758
  addressLine3?: string | null | undefined;
10867
11759
  postcodeOrZip?: string | null | undefined;
10868
- }>]>>;
11760
+ }>]>>>;
10869
11761
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10870
11762
  filename: z.ZodString;
10871
11763
  originalFilename: z.ZodString;
@@ -10981,6 +11873,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10981
11873
  postcodeOrZip?: string | null | undefined;
10982
11874
  }>]>>>;
10983
11875
  originalActionId: z.ZodOptional<z.ZodString>;
11876
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10984
11877
  }, {
10985
11878
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10986
11879
  }>, "strip", z.ZodTypeAny, {
@@ -11064,8 +11957,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11064
11957
  originalFilename: string;
11065
11958
  }[] | undefined> | undefined;
11066
11959
  originalActionId?: string | undefined;
11960
+ keepAssignment?: boolean | undefined;
11067
11961
  }, {
11068
- declaration: Record<string, string | number | boolean | {
11962
+ eventId: string;
11963
+ transactionId: string;
11964
+ type?: "READ" | undefined;
11965
+ declaration?: Record<string, string | number | boolean | {
11069
11966
  type: string;
11070
11967
  filename: string;
11071
11968
  originalFilename: string;
@@ -11102,10 +11999,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11102
11999
  option: string;
11103
12000
  filename: string;
11104
12001
  originalFilename: string;
11105
- }[] | undefined>;
11106
- eventId: string;
11107
- transactionId: string;
11108
- type?: "READ" | undefined;
12002
+ }[] | undefined> | undefined;
11109
12003
  annotation?: Record<string, string | number | boolean | {
11110
12004
  type: string;
11111
12005
  filename: string;
@@ -11145,6 +12039,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11145
12039
  originalFilename: string;
11146
12040
  }[] | undefined> | undefined;
11147
12041
  originalActionId?: string | undefined;
12042
+ keepAssignment?: boolean | undefined;
11148
12043
  }>]>;
11149
12044
  export type ActionInput = z.input<typeof ActionInput>;
11150
12045
  export type ActionInputWithType = z.infer<typeof ActionInput>;