@opencrvs/toolkit 1.8.0-rc.faacbde → 1.8.0-rc.fb0e687

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;
@@ -230,6 +230,7 @@ export declare const BaseActionInput: z.ZodObject<{
230
230
  addressLine3?: string | null | undefined;
231
231
  postcodeOrZip?: string | null | undefined;
232
232
  }>]>>>;
233
+ originalActionId: z.ZodOptional<z.ZodString>;
233
234
  }, "strip", z.ZodTypeAny, {
234
235
  declaration: Record<string, string | number | boolean | {
235
236
  type: string;
@@ -309,8 +310,11 @@ export declare const BaseActionInput: z.ZodObject<{
309
310
  filename: string;
310
311
  originalFilename: string;
311
312
  }[] | undefined> | undefined;
313
+ originalActionId?: string | undefined;
312
314
  }, {
313
- declaration: Record<string, string | number | boolean | {
315
+ eventId: string;
316
+ transactionId: string;
317
+ declaration?: Record<string, string | number | boolean | {
314
318
  type: string;
315
319
  filename: string;
316
320
  originalFilename: string;
@@ -347,9 +351,7 @@ export declare const BaseActionInput: z.ZodObject<{
347
351
  option: string;
348
352
  filename: string;
349
353
  originalFilename: string;
350
- }[] | undefined>;
351
- eventId: string;
352
- transactionId: string;
354
+ }[] | undefined> | undefined;
353
355
  annotation?: Record<string, string | number | boolean | {
354
356
  type: string;
355
357
  filename: string;
@@ -388,11 +390,12 @@ export declare const BaseActionInput: z.ZodObject<{
388
390
  filename: string;
389
391
  originalFilename: string;
390
392
  }[] | undefined> | undefined;
393
+ originalActionId?: string | undefined;
391
394
  }>;
392
395
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
393
396
  eventId: z.ZodString;
394
397
  transactionId: z.ZodString;
395
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
398
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
396
399
  filename: z.ZodString;
397
400
  originalFilename: z.ZodString;
398
401
  type: z.ZodString;
@@ -505,7 +508,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
505
508
  addressLine2?: string | null | undefined;
506
509
  addressLine3?: string | null | undefined;
507
510
  postcodeOrZip?: string | null | undefined;
508
- }>]>>;
511
+ }>]>>>;
509
512
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
510
513
  filename: z.ZodString;
511
514
  originalFilename: z.ZodString;
@@ -620,18 +623,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
620
623
  addressLine3?: string | null | undefined;
621
624
  postcodeOrZip?: string | null | undefined;
622
625
  }>]>>>;
626
+ originalActionId: z.ZodOptional<z.ZodString>;
623
627
  }, {
624
628
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
625
- identifiers: z.ZodObject<{
626
- trackingId: z.ZodString;
627
- registrationNumber: z.ZodString;
628
- }, "strip", z.ZodTypeAny, {
629
- trackingId: string;
630
- registrationNumber: string;
631
- }, {
632
- trackingId: string;
633
- registrationNumber: string;
634
- }>;
629
+ registrationNumber: z.ZodOptional<z.ZodString>;
635
630
  }>, "strip", z.ZodTypeAny, {
636
631
  type: "REGISTER";
637
632
  declaration: Record<string, string | number | boolean | {
@@ -672,10 +667,6 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
672
667
  filename: string;
673
668
  originalFilename: string;
674
669
  }[] | undefined>;
675
- identifiers: {
676
- trackingId: string;
677
- registrationNumber: string;
678
- };
679
670
  eventId: string;
680
671
  transactionId: string;
681
672
  annotation?: Record<string, string | number | boolean | {
@@ -716,8 +707,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
716
707
  filename: string;
717
708
  originalFilename: string;
718
709
  }[] | undefined> | undefined;
710
+ originalActionId?: string | undefined;
711
+ registrationNumber?: string | undefined;
719
712
  }, {
720
- declaration: Record<string, string | number | boolean | {
713
+ eventId: string;
714
+ transactionId: string;
715
+ type?: "REGISTER" | undefined;
716
+ declaration?: Record<string, string | number | boolean | {
721
717
  type: string;
722
718
  filename: string;
723
719
  originalFilename: string;
@@ -754,14 +750,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
754
750
  option: string;
755
751
  filename: string;
756
752
  originalFilename: string;
757
- }[] | undefined>;
758
- identifiers: {
759
- trackingId: string;
760
- registrationNumber: string;
761
- };
762
- eventId: string;
763
- transactionId: string;
764
- type?: "REGISTER" | undefined;
753
+ }[] | undefined> | undefined;
765
754
  annotation?: Record<string, string | number | boolean | {
766
755
  type: string;
767
756
  filename: string;
@@ -800,12 +789,14 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
800
789
  filename: string;
801
790
  originalFilename: string;
802
791
  }[] | undefined> | undefined;
792
+ originalActionId?: string | undefined;
793
+ registrationNumber?: string | undefined;
803
794
  }>;
804
795
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
805
796
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
806
797
  eventId: z.ZodString;
807
798
  transactionId: z.ZodString;
808
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
799
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
809
800
  filename: z.ZodString;
810
801
  originalFilename: z.ZodString;
811
802
  type: z.ZodString;
@@ -918,7 +909,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
918
909
  addressLine2?: string | null | undefined;
919
910
  addressLine3?: string | null | undefined;
920
911
  postcodeOrZip?: string | null | undefined;
921
- }>]>>;
912
+ }>]>>>;
922
913
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
923
914
  filename: z.ZodString;
924
915
  originalFilename: z.ZodString;
@@ -1033,6 +1024,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1033
1024
  addressLine3?: string | null | undefined;
1034
1025
  postcodeOrZip?: string | null | undefined;
1035
1026
  }>]>>>;
1027
+ originalActionId: z.ZodOptional<z.ZodString>;
1036
1028
  }, {
1037
1029
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1038
1030
  duplicates: z.ZodArray<z.ZodString, "many">;
@@ -1117,8 +1109,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1117
1109
  filename: string;
1118
1110
  originalFilename: string;
1119
1111
  }[] | undefined> | undefined;
1112
+ originalActionId?: string | undefined;
1120
1113
  }, {
1121
- declaration: Record<string, string | number | boolean | {
1114
+ eventId: string;
1115
+ transactionId: string;
1116
+ duplicates: string[];
1117
+ type?: "VALIDATE" | undefined;
1118
+ declaration?: Record<string, string | number | boolean | {
1122
1119
  type: string;
1123
1120
  filename: string;
1124
1121
  originalFilename: string;
@@ -1155,11 +1152,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1155
1152
  option: string;
1156
1153
  filename: string;
1157
1154
  originalFilename: string;
1158
- }[] | undefined>;
1159
- eventId: string;
1160
- transactionId: string;
1161
- duplicates: string[];
1162
- type?: "VALIDATE" | undefined;
1155
+ }[] | undefined> | undefined;
1163
1156
  annotation?: Record<string, string | number | boolean | {
1164
1157
  type: string;
1165
1158
  filename: string;
@@ -1198,12 +1191,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1191
  filename: string;
1199
1192
  originalFilename: string;
1200
1193
  }[] | undefined> | undefined;
1194
+ originalActionId?: string | undefined;
1201
1195
  }>;
1202
1196
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1203
1197
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1204
1198
  eventId: z.ZodString;
1205
1199
  transactionId: z.ZodString;
1206
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1200
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1207
1201
  filename: z.ZodString;
1208
1202
  originalFilename: z.ZodString;
1209
1203
  type: z.ZodString;
@@ -1316,7 +1310,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1316
1310
  addressLine2?: string | null | undefined;
1317
1311
  addressLine3?: string | null | undefined;
1318
1312
  postcodeOrZip?: string | null | undefined;
1319
- }>]>>;
1313
+ }>]>>>;
1320
1314
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1321
1315
  filename: z.ZodString;
1322
1316
  originalFilename: z.ZodString;
@@ -1431,6 +1425,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1431
1425
  addressLine3?: string | null | undefined;
1432
1426
  postcodeOrZip?: string | null | undefined;
1433
1427
  }>]>>>;
1428
+ originalActionId: z.ZodOptional<z.ZodString>;
1434
1429
  }, {
1435
1430
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1436
1431
  }>, "strip", z.ZodTypeAny, {
@@ -1513,8 +1508,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1513
1508
  filename: string;
1514
1509
  originalFilename: string;
1515
1510
  }[] | undefined> | undefined;
1511
+ originalActionId?: string | undefined;
1516
1512
  }, {
1517
- declaration: Record<string, string | number | boolean | {
1513
+ eventId: string;
1514
+ transactionId: string;
1515
+ type?: "NOTIFY" | undefined;
1516
+ declaration?: Record<string, string | number | boolean | {
1518
1517
  type: string;
1519
1518
  filename: string;
1520
1519
  originalFilename: string;
@@ -1551,10 +1550,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1551
1550
  option: string;
1552
1551
  filename: string;
1553
1552
  originalFilename: string;
1554
- }[] | undefined>;
1555
- eventId: string;
1556
- transactionId: string;
1557
- type?: "NOTIFY" | undefined;
1553
+ }[] | undefined> | undefined;
1558
1554
  annotation?: Record<string, string | number | boolean | {
1559
1555
  type: string;
1560
1556
  filename: string;
@@ -1593,12 +1589,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1593
1589
  filename: string;
1594
1590
  originalFilename: string;
1595
1591
  }[] | undefined> | undefined;
1592
+ originalActionId?: string | undefined;
1596
1593
  }>;
1597
1594
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1598
1595
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1596
  eventId: z.ZodString;
1600
1597
  transactionId: z.ZodString;
1601
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1598
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1602
1599
  filename: z.ZodString;
1603
1600
  originalFilename: z.ZodString;
1604
1601
  type: z.ZodString;
@@ -1711,7 +1708,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1711
1708
  addressLine2?: string | null | undefined;
1712
1709
  addressLine3?: string | null | undefined;
1713
1710
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>;
1711
+ }>]>>>;
1715
1712
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1716
1713
  filename: z.ZodString;
1717
1714
  originalFilename: z.ZodString;
@@ -1826,6 +1823,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1826
1823
  addressLine3?: string | null | undefined;
1827
1824
  postcodeOrZip?: string | null | undefined;
1828
1825
  }>]>>>;
1826
+ originalActionId: z.ZodOptional<z.ZodString>;
1829
1827
  }, {
1830
1828
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1831
1829
  }>, "strip", z.ZodTypeAny, {
@@ -1908,8 +1906,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1908
1906
  filename: string;
1909
1907
  originalFilename: string;
1910
1908
  }[] | undefined> | undefined;
1909
+ originalActionId?: string | undefined;
1911
1910
  }, {
1912
- declaration: Record<string, string | number | boolean | {
1911
+ eventId: string;
1912
+ transactionId: string;
1913
+ type?: "DECLARE" | undefined;
1914
+ declaration?: Record<string, string | number | boolean | {
1913
1915
  type: string;
1914
1916
  filename: string;
1915
1917
  originalFilename: string;
@@ -1946,10 +1948,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1946
1948
  option: string;
1947
1949
  filename: string;
1948
1950
  originalFilename: string;
1949
- }[] | undefined>;
1950
- eventId: string;
1951
- transactionId: string;
1952
- type?: "DECLARE" | undefined;
1951
+ }[] | undefined> | undefined;
1953
1952
  annotation?: Record<string, string | number | boolean | {
1954
1953
  type: string;
1955
1954
  filename: string;
@@ -1988,11 +1987,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1988
1987
  filename: string;
1989
1988
  originalFilename: string;
1990
1989
  }[] | undefined> | undefined;
1990
+ originalActionId?: string | undefined;
1991
1991
  }>;
1992
1992
  export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
1993
  eventId: z.ZodString;
1994
1994
  transactionId: z.ZodString;
1995
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1995
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1996
1996
  filename: z.ZodString;
1997
1997
  originalFilename: z.ZodString;
1998
1998
  type: z.ZodString;
@@ -2105,7 +2105,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2105
  addressLine2?: string | null | undefined;
2106
2106
  addressLine3?: string | null | undefined;
2107
2107
  postcodeOrZip?: string | null | undefined;
2108
- }>]>>;
2108
+ }>]>>>;
2109
2109
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2110
2110
  filename: z.ZodString;
2111
2111
  originalFilename: z.ZodString;
@@ -2220,6 +2220,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2220
2220
  addressLine3?: string | null | undefined;
2221
2221
  postcodeOrZip?: string | null | undefined;
2222
2222
  }>]>>>;
2223
+ originalActionId: z.ZodOptional<z.ZodString>;
2223
2224
  }, {
2224
2225
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2225
2226
  }>, "strip", z.ZodTypeAny, {
@@ -2302,8 +2303,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2302
2303
  filename: string;
2303
2304
  originalFilename: string;
2304
2305
  }[] | undefined> | undefined;
2306
+ originalActionId?: string | undefined;
2305
2307
  }, {
2306
- declaration: Record<string, string | number | boolean | {
2308
+ eventId: string;
2309
+ transactionId: string;
2310
+ type?: "PRINT_CERTIFICATE" | undefined;
2311
+ declaration?: Record<string, string | number | boolean | {
2307
2312
  type: string;
2308
2313
  filename: string;
2309
2314
  originalFilename: string;
@@ -2340,10 +2345,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
2345
  option: string;
2341
2346
  filename: string;
2342
2347
  originalFilename: string;
2343
- }[] | undefined>;
2344
- eventId: string;
2345
- transactionId: string;
2346
- type?: "PRINT_CERTIFICATE" | undefined;
2348
+ }[] | undefined> | undefined;
2347
2349
  annotation?: Record<string, string | number | boolean | {
2348
2350
  type: string;
2349
2351
  filename: string;
@@ -2382,12 +2384,127 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2382
2384
  filename: string;
2383
2385
  originalFilename: string;
2384
2386
  }[] | undefined> | undefined;
2387
+ originalActionId?: string | undefined;
2385
2388
  }>;
2386
2389
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2387
2390
  export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2388
2391
  eventId: z.ZodString;
2389
2392
  transactionId: z.ZodString;
2390
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2393
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2394
+ filename: z.ZodString;
2395
+ originalFilename: z.ZodString;
2396
+ type: z.ZodString;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ type: string;
2399
+ filename: string;
2400
+ originalFilename: string;
2401
+ }, {
2402
+ type: string;
2403
+ filename: string;
2404
+ originalFilename: string;
2405
+ }>, z.ZodArray<z.ZodObject<{
2406
+ filename: z.ZodString;
2407
+ originalFilename: z.ZodString;
2408
+ type: z.ZodString;
2409
+ option: z.ZodString;
2410
+ }, "strip", z.ZodTypeAny, {
2411
+ type: string;
2412
+ option: string;
2413
+ filename: string;
2414
+ originalFilename: string;
2415
+ }, {
2416
+ type: string;
2417
+ option: string;
2418
+ filename: string;
2419
+ originalFilename: string;
2420
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2421
+ country: z.ZodString;
2422
+ addressType: z.ZodLiteral<"DOMESTIC">;
2423
+ province: z.ZodString;
2424
+ district: z.ZodString;
2425
+ }, {
2426
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2427
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2428
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2430
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2431
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2432
+ }>, "strip", z.ZodTypeAny, {
2433
+ country: string;
2434
+ district: string;
2435
+ addressType: "DOMESTIC";
2436
+ province: string;
2437
+ urbanOrRural: "URBAN";
2438
+ number?: string | null | undefined;
2439
+ town?: string | null | undefined;
2440
+ residentialArea?: string | null | undefined;
2441
+ street?: string | null | undefined;
2442
+ zipCode?: string | null | undefined;
2443
+ }, {
2444
+ country: string;
2445
+ district: string;
2446
+ addressType: "DOMESTIC";
2447
+ province: string;
2448
+ urbanOrRural: "URBAN";
2449
+ number?: string | null | undefined;
2450
+ town?: string | null | undefined;
2451
+ residentialArea?: string | null | undefined;
2452
+ street?: string | null | undefined;
2453
+ zipCode?: string | null | undefined;
2454
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2455
+ country: z.ZodString;
2456
+ addressType: z.ZodLiteral<"DOMESTIC">;
2457
+ province: z.ZodString;
2458
+ district: z.ZodString;
2459
+ }, {
2460
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2461
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2462
+ }>, "strip", z.ZodTypeAny, {
2463
+ country: string;
2464
+ district: string;
2465
+ addressType: "DOMESTIC";
2466
+ province: string;
2467
+ urbanOrRural: "RURAL";
2468
+ village?: string | null | undefined;
2469
+ }, {
2470
+ country: string;
2471
+ district: string;
2472
+ addressType: "DOMESTIC";
2473
+ province: string;
2474
+ urbanOrRural: "RURAL";
2475
+ village?: string | null | undefined;
2476
+ }>, z.ZodUndefined, z.ZodObject<{
2477
+ country: z.ZodString;
2478
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2479
+ state: z.ZodString;
2480
+ district2: z.ZodString;
2481
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2482
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2483
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2484
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ country: string;
2488
+ state: string;
2489
+ addressType: "INTERNATIONAL";
2490
+ district2: string;
2491
+ cityOrTown?: string | null | undefined;
2492
+ addressLine1?: string | null | undefined;
2493
+ addressLine2?: string | null | undefined;
2494
+ addressLine3?: string | null | undefined;
2495
+ postcodeOrZip?: string | null | undefined;
2496
+ }, {
2497
+ country: string;
2498
+ state: string;
2499
+ addressType: "INTERNATIONAL";
2500
+ district2: string;
2501
+ cityOrTown?: string | null | undefined;
2502
+ addressLine1?: string | null | undefined;
2503
+ addressLine2?: string | null | undefined;
2504
+ addressLine3?: string | null | undefined;
2505
+ postcodeOrZip?: string | null | undefined;
2506
+ }>]>>>;
2507
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2391
2508
  filename: z.ZodString;
2392
2509
  originalFilename: z.ZodString;
2393
2510
  type: z.ZodString;
@@ -2500,7 +2617,689 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2500
2617
  addressLine2?: string | null | undefined;
2501
2618
  addressLine3?: string | null | undefined;
2502
2619
  postcodeOrZip?: string | null | undefined;
2503
- }>]>>;
2620
+ }>]>>>;
2621
+ originalActionId: z.ZodOptional<z.ZodString>;
2622
+ }, {
2623
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2624
+ }>, "strip", z.ZodTypeAny, {
2625
+ type: "REJECT";
2626
+ declaration: Record<string, string | number | boolean | {
2627
+ type: string;
2628
+ filename: string;
2629
+ originalFilename: string;
2630
+ } | {
2631
+ country: string;
2632
+ district: string;
2633
+ addressType: "DOMESTIC";
2634
+ province: string;
2635
+ urbanOrRural: "URBAN";
2636
+ number?: string | null | undefined;
2637
+ town?: string | null | undefined;
2638
+ residentialArea?: string | null | undefined;
2639
+ street?: string | null | undefined;
2640
+ zipCode?: string | null | undefined;
2641
+ } | {
2642
+ country: string;
2643
+ district: string;
2644
+ addressType: "DOMESTIC";
2645
+ province: string;
2646
+ urbanOrRural: "RURAL";
2647
+ village?: string | null | undefined;
2648
+ } | {
2649
+ country: string;
2650
+ state: string;
2651
+ addressType: "INTERNATIONAL";
2652
+ district2: string;
2653
+ cityOrTown?: string | null | undefined;
2654
+ addressLine1?: string | null | undefined;
2655
+ addressLine2?: string | null | undefined;
2656
+ addressLine3?: string | null | undefined;
2657
+ postcodeOrZip?: string | null | undefined;
2658
+ } | {
2659
+ type: string;
2660
+ option: string;
2661
+ filename: string;
2662
+ originalFilename: string;
2663
+ }[] | undefined>;
2664
+ eventId: string;
2665
+ transactionId: string;
2666
+ annotation?: Record<string, string | number | boolean | {
2667
+ type: string;
2668
+ filename: string;
2669
+ originalFilename: string;
2670
+ } | {
2671
+ country: string;
2672
+ district: string;
2673
+ addressType: "DOMESTIC";
2674
+ province: string;
2675
+ urbanOrRural: "URBAN";
2676
+ number?: string | null | undefined;
2677
+ town?: string | null | undefined;
2678
+ residentialArea?: string | null | undefined;
2679
+ street?: string | null | undefined;
2680
+ zipCode?: string | null | undefined;
2681
+ } | {
2682
+ country: string;
2683
+ district: string;
2684
+ addressType: "DOMESTIC";
2685
+ province: string;
2686
+ urbanOrRural: "RURAL";
2687
+ village?: string | null | undefined;
2688
+ } | {
2689
+ country: string;
2690
+ state: string;
2691
+ addressType: "INTERNATIONAL";
2692
+ district2: string;
2693
+ cityOrTown?: string | null | undefined;
2694
+ addressLine1?: string | null | undefined;
2695
+ addressLine2?: string | null | undefined;
2696
+ addressLine3?: string | null | undefined;
2697
+ postcodeOrZip?: string | null | undefined;
2698
+ } | {
2699
+ type: string;
2700
+ option: string;
2701
+ filename: string;
2702
+ originalFilename: string;
2703
+ }[] | undefined> | undefined;
2704
+ originalActionId?: string | undefined;
2705
+ }, {
2706
+ eventId: string;
2707
+ transactionId: string;
2708
+ type?: "REJECT" | undefined;
2709
+ declaration?: Record<string, string | number | boolean | {
2710
+ type: string;
2711
+ filename: string;
2712
+ originalFilename: string;
2713
+ } | {
2714
+ country: string;
2715
+ district: string;
2716
+ addressType: "DOMESTIC";
2717
+ province: string;
2718
+ urbanOrRural: "URBAN";
2719
+ number?: string | null | undefined;
2720
+ town?: string | null | undefined;
2721
+ residentialArea?: string | null | undefined;
2722
+ street?: string | null | undefined;
2723
+ zipCode?: string | null | undefined;
2724
+ } | {
2725
+ country: string;
2726
+ district: string;
2727
+ addressType: "DOMESTIC";
2728
+ province: string;
2729
+ urbanOrRural: "RURAL";
2730
+ village?: string | null | undefined;
2731
+ } | {
2732
+ country: string;
2733
+ state: string;
2734
+ addressType: "INTERNATIONAL";
2735
+ district2: string;
2736
+ cityOrTown?: string | null | undefined;
2737
+ addressLine1?: string | null | undefined;
2738
+ addressLine2?: string | null | undefined;
2739
+ addressLine3?: string | null | undefined;
2740
+ postcodeOrZip?: string | null | undefined;
2741
+ } | {
2742
+ type: string;
2743
+ option: string;
2744
+ filename: string;
2745
+ originalFilename: string;
2746
+ }[] | undefined> | undefined;
2747
+ annotation?: Record<string, string | number | boolean | {
2748
+ type: string;
2749
+ filename: string;
2750
+ originalFilename: string;
2751
+ } | {
2752
+ country: string;
2753
+ district: string;
2754
+ addressType: "DOMESTIC";
2755
+ province: string;
2756
+ urbanOrRural: "URBAN";
2757
+ number?: string | null | undefined;
2758
+ town?: string | null | undefined;
2759
+ residentialArea?: string | null | undefined;
2760
+ street?: string | null | undefined;
2761
+ zipCode?: string | null | undefined;
2762
+ } | {
2763
+ country: string;
2764
+ district: string;
2765
+ addressType: "DOMESTIC";
2766
+ province: string;
2767
+ urbanOrRural: "RURAL";
2768
+ village?: string | null | undefined;
2769
+ } | {
2770
+ country: string;
2771
+ state: string;
2772
+ addressType: "INTERNATIONAL";
2773
+ district2: string;
2774
+ cityOrTown?: string | null | undefined;
2775
+ addressLine1?: string | null | undefined;
2776
+ addressLine2?: string | null | undefined;
2777
+ addressLine3?: string | null | undefined;
2778
+ postcodeOrZip?: string | null | undefined;
2779
+ } | {
2780
+ type: string;
2781
+ option: string;
2782
+ filename: string;
2783
+ originalFilename: string;
2784
+ }[] | undefined> | undefined;
2785
+ originalActionId?: string | undefined;
2786
+ }>;
2787
+ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
+ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2789
+ eventId: z.ZodString;
2790
+ transactionId: z.ZodString;
2791
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2792
+ filename: z.ZodString;
2793
+ originalFilename: z.ZodString;
2794
+ type: z.ZodString;
2795
+ }, "strip", z.ZodTypeAny, {
2796
+ type: string;
2797
+ filename: string;
2798
+ originalFilename: string;
2799
+ }, {
2800
+ type: string;
2801
+ filename: string;
2802
+ originalFilename: string;
2803
+ }>, z.ZodArray<z.ZodObject<{
2804
+ filename: z.ZodString;
2805
+ originalFilename: z.ZodString;
2806
+ type: z.ZodString;
2807
+ option: z.ZodString;
2808
+ }, "strip", z.ZodTypeAny, {
2809
+ type: string;
2810
+ option: string;
2811
+ filename: string;
2812
+ originalFilename: string;
2813
+ }, {
2814
+ type: string;
2815
+ option: string;
2816
+ filename: string;
2817
+ originalFilename: string;
2818
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2819
+ country: z.ZodString;
2820
+ addressType: z.ZodLiteral<"DOMESTIC">;
2821
+ province: z.ZodString;
2822
+ district: z.ZodString;
2823
+ }, {
2824
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2825
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2826
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2827
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2828
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2829
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2830
+ }>, "strip", z.ZodTypeAny, {
2831
+ country: string;
2832
+ district: string;
2833
+ addressType: "DOMESTIC";
2834
+ province: string;
2835
+ urbanOrRural: "URBAN";
2836
+ number?: string | null | undefined;
2837
+ town?: string | null | undefined;
2838
+ residentialArea?: string | null | undefined;
2839
+ street?: string | null | undefined;
2840
+ zipCode?: string | null | undefined;
2841
+ }, {
2842
+ country: string;
2843
+ district: string;
2844
+ addressType: "DOMESTIC";
2845
+ province: string;
2846
+ urbanOrRural: "URBAN";
2847
+ number?: string | null | undefined;
2848
+ town?: string | null | undefined;
2849
+ residentialArea?: string | null | undefined;
2850
+ street?: string | null | undefined;
2851
+ zipCode?: string | null | undefined;
2852
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2853
+ country: z.ZodString;
2854
+ addressType: z.ZodLiteral<"DOMESTIC">;
2855
+ province: z.ZodString;
2856
+ district: z.ZodString;
2857
+ }, {
2858
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2859
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2860
+ }>, "strip", z.ZodTypeAny, {
2861
+ country: string;
2862
+ district: string;
2863
+ addressType: "DOMESTIC";
2864
+ province: string;
2865
+ urbanOrRural: "RURAL";
2866
+ village?: string | null | undefined;
2867
+ }, {
2868
+ country: string;
2869
+ district: string;
2870
+ addressType: "DOMESTIC";
2871
+ province: string;
2872
+ urbanOrRural: "RURAL";
2873
+ village?: string | null | undefined;
2874
+ }>, z.ZodUndefined, z.ZodObject<{
2875
+ country: z.ZodString;
2876
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2877
+ state: z.ZodString;
2878
+ district2: z.ZodString;
2879
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2880
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2881
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2882
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2883
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2884
+ }, "strip", z.ZodTypeAny, {
2885
+ country: string;
2886
+ state: string;
2887
+ addressType: "INTERNATIONAL";
2888
+ district2: string;
2889
+ cityOrTown?: string | null | undefined;
2890
+ addressLine1?: string | null | undefined;
2891
+ addressLine2?: string | null | undefined;
2892
+ addressLine3?: string | null | undefined;
2893
+ postcodeOrZip?: string | null | undefined;
2894
+ }, {
2895
+ country: string;
2896
+ state: string;
2897
+ addressType: "INTERNATIONAL";
2898
+ district2: string;
2899
+ cityOrTown?: string | null | undefined;
2900
+ addressLine1?: string | null | undefined;
2901
+ addressLine2?: string | null | undefined;
2902
+ addressLine3?: string | null | undefined;
2903
+ postcodeOrZip?: string | null | undefined;
2904
+ }>]>>>;
2905
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2906
+ filename: z.ZodString;
2907
+ originalFilename: z.ZodString;
2908
+ type: z.ZodString;
2909
+ }, "strip", z.ZodTypeAny, {
2910
+ type: string;
2911
+ filename: string;
2912
+ originalFilename: string;
2913
+ }, {
2914
+ type: string;
2915
+ filename: string;
2916
+ originalFilename: string;
2917
+ }>, z.ZodArray<z.ZodObject<{
2918
+ filename: z.ZodString;
2919
+ originalFilename: z.ZodString;
2920
+ type: z.ZodString;
2921
+ option: z.ZodString;
2922
+ }, "strip", z.ZodTypeAny, {
2923
+ type: string;
2924
+ option: string;
2925
+ filename: string;
2926
+ originalFilename: string;
2927
+ }, {
2928
+ type: string;
2929
+ option: string;
2930
+ filename: string;
2931
+ originalFilename: string;
2932
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2933
+ country: z.ZodString;
2934
+ addressType: z.ZodLiteral<"DOMESTIC">;
2935
+ province: z.ZodString;
2936
+ district: z.ZodString;
2937
+ }, {
2938
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2939
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2940
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2941
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2942
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2943
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2944
+ }>, "strip", z.ZodTypeAny, {
2945
+ country: string;
2946
+ district: string;
2947
+ addressType: "DOMESTIC";
2948
+ province: string;
2949
+ urbanOrRural: "URBAN";
2950
+ number?: string | null | undefined;
2951
+ town?: string | null | undefined;
2952
+ residentialArea?: string | null | undefined;
2953
+ street?: string | null | undefined;
2954
+ zipCode?: string | null | undefined;
2955
+ }, {
2956
+ country: string;
2957
+ district: string;
2958
+ addressType: "DOMESTIC";
2959
+ province: string;
2960
+ urbanOrRural: "URBAN";
2961
+ number?: string | null | undefined;
2962
+ town?: string | null | undefined;
2963
+ residentialArea?: string | null | undefined;
2964
+ street?: string | null | undefined;
2965
+ zipCode?: string | null | undefined;
2966
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2967
+ country: z.ZodString;
2968
+ addressType: z.ZodLiteral<"DOMESTIC">;
2969
+ province: z.ZodString;
2970
+ district: z.ZodString;
2971
+ }, {
2972
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2973
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2974
+ }>, "strip", z.ZodTypeAny, {
2975
+ country: string;
2976
+ district: string;
2977
+ addressType: "DOMESTIC";
2978
+ province: string;
2979
+ urbanOrRural: "RURAL";
2980
+ village?: string | null | undefined;
2981
+ }, {
2982
+ country: string;
2983
+ district: string;
2984
+ addressType: "DOMESTIC";
2985
+ province: string;
2986
+ urbanOrRural: "RURAL";
2987
+ village?: string | null | undefined;
2988
+ }>, z.ZodUndefined, z.ZodObject<{
2989
+ country: z.ZodString;
2990
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2991
+ state: z.ZodString;
2992
+ district2: z.ZodString;
2993
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2994
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2995
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2996
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2997
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2998
+ }, "strip", z.ZodTypeAny, {
2999
+ country: string;
3000
+ state: string;
3001
+ addressType: "INTERNATIONAL";
3002
+ district2: string;
3003
+ cityOrTown?: string | null | undefined;
3004
+ addressLine1?: string | null | undefined;
3005
+ addressLine2?: string | null | undefined;
3006
+ addressLine3?: string | null | undefined;
3007
+ postcodeOrZip?: string | null | undefined;
3008
+ }, {
3009
+ country: string;
3010
+ state: string;
3011
+ addressType: "INTERNATIONAL";
3012
+ district2: string;
3013
+ cityOrTown?: string | null | undefined;
3014
+ addressLine1?: string | null | undefined;
3015
+ addressLine2?: string | null | undefined;
3016
+ addressLine3?: string | null | undefined;
3017
+ postcodeOrZip?: string | null | undefined;
3018
+ }>]>>>;
3019
+ originalActionId: z.ZodOptional<z.ZodString>;
3020
+ }, {
3021
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3022
+ }>, "strip", z.ZodTypeAny, {
3023
+ type: "MARKED_AS_DUPLICATE";
3024
+ declaration: Record<string, string | number | boolean | {
3025
+ type: string;
3026
+ filename: string;
3027
+ originalFilename: string;
3028
+ } | {
3029
+ country: string;
3030
+ district: string;
3031
+ addressType: "DOMESTIC";
3032
+ province: string;
3033
+ urbanOrRural: "URBAN";
3034
+ number?: string | null | undefined;
3035
+ town?: string | null | undefined;
3036
+ residentialArea?: string | null | undefined;
3037
+ street?: string | null | undefined;
3038
+ zipCode?: string | null | undefined;
3039
+ } | {
3040
+ country: string;
3041
+ district: string;
3042
+ addressType: "DOMESTIC";
3043
+ province: string;
3044
+ urbanOrRural: "RURAL";
3045
+ village?: string | null | undefined;
3046
+ } | {
3047
+ country: string;
3048
+ state: string;
3049
+ addressType: "INTERNATIONAL";
3050
+ district2: string;
3051
+ cityOrTown?: string | null | undefined;
3052
+ addressLine1?: string | null | undefined;
3053
+ addressLine2?: string | null | undefined;
3054
+ addressLine3?: string | null | undefined;
3055
+ postcodeOrZip?: string | null | undefined;
3056
+ } | {
3057
+ type: string;
3058
+ option: string;
3059
+ filename: string;
3060
+ originalFilename: string;
3061
+ }[] | undefined>;
3062
+ eventId: string;
3063
+ transactionId: string;
3064
+ annotation?: Record<string, string | number | boolean | {
3065
+ type: string;
3066
+ filename: string;
3067
+ originalFilename: string;
3068
+ } | {
3069
+ country: string;
3070
+ district: string;
3071
+ addressType: "DOMESTIC";
3072
+ province: string;
3073
+ urbanOrRural: "URBAN";
3074
+ number?: string | null | undefined;
3075
+ town?: string | null | undefined;
3076
+ residentialArea?: string | null | undefined;
3077
+ street?: string | null | undefined;
3078
+ zipCode?: string | null | undefined;
3079
+ } | {
3080
+ country: string;
3081
+ district: string;
3082
+ addressType: "DOMESTIC";
3083
+ province: string;
3084
+ urbanOrRural: "RURAL";
3085
+ village?: string | null | undefined;
3086
+ } | {
3087
+ country: string;
3088
+ state: string;
3089
+ addressType: "INTERNATIONAL";
3090
+ district2: string;
3091
+ cityOrTown?: string | null | undefined;
3092
+ addressLine1?: string | null | undefined;
3093
+ addressLine2?: string | null | undefined;
3094
+ addressLine3?: string | null | undefined;
3095
+ postcodeOrZip?: string | null | undefined;
3096
+ } | {
3097
+ type: string;
3098
+ option: string;
3099
+ filename: string;
3100
+ originalFilename: string;
3101
+ }[] | undefined> | undefined;
3102
+ originalActionId?: string | undefined;
3103
+ }, {
3104
+ eventId: string;
3105
+ transactionId: string;
3106
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3107
+ declaration?: Record<string, string | number | boolean | {
3108
+ type: string;
3109
+ filename: string;
3110
+ originalFilename: string;
3111
+ } | {
3112
+ country: string;
3113
+ district: string;
3114
+ addressType: "DOMESTIC";
3115
+ province: string;
3116
+ urbanOrRural: "URBAN";
3117
+ number?: string | null | undefined;
3118
+ town?: string | null | undefined;
3119
+ residentialArea?: string | null | undefined;
3120
+ street?: string | null | undefined;
3121
+ zipCode?: string | null | undefined;
3122
+ } | {
3123
+ country: string;
3124
+ district: string;
3125
+ addressType: "DOMESTIC";
3126
+ province: string;
3127
+ urbanOrRural: "RURAL";
3128
+ village?: string | null | undefined;
3129
+ } | {
3130
+ country: string;
3131
+ state: string;
3132
+ addressType: "INTERNATIONAL";
3133
+ district2: string;
3134
+ cityOrTown?: string | null | undefined;
3135
+ addressLine1?: string | null | undefined;
3136
+ addressLine2?: string | null | undefined;
3137
+ addressLine3?: string | null | undefined;
3138
+ postcodeOrZip?: string | null | undefined;
3139
+ } | {
3140
+ type: string;
3141
+ option: string;
3142
+ filename: string;
3143
+ originalFilename: string;
3144
+ }[] | undefined> | undefined;
3145
+ annotation?: Record<string, string | number | boolean | {
3146
+ type: string;
3147
+ filename: string;
3148
+ originalFilename: string;
3149
+ } | {
3150
+ country: string;
3151
+ district: string;
3152
+ addressType: "DOMESTIC";
3153
+ province: string;
3154
+ urbanOrRural: "URBAN";
3155
+ number?: string | null | undefined;
3156
+ town?: string | null | undefined;
3157
+ residentialArea?: string | null | undefined;
3158
+ street?: string | null | undefined;
3159
+ zipCode?: string | null | undefined;
3160
+ } | {
3161
+ country: string;
3162
+ district: string;
3163
+ addressType: "DOMESTIC";
3164
+ province: string;
3165
+ urbanOrRural: "RURAL";
3166
+ village?: string | null | undefined;
3167
+ } | {
3168
+ country: string;
3169
+ state: string;
3170
+ addressType: "INTERNATIONAL";
3171
+ district2: string;
3172
+ cityOrTown?: string | null | undefined;
3173
+ addressLine1?: string | null | undefined;
3174
+ addressLine2?: string | null | undefined;
3175
+ addressLine3?: string | null | undefined;
3176
+ postcodeOrZip?: string | null | undefined;
3177
+ } | {
3178
+ type: string;
3179
+ option: string;
3180
+ filename: string;
3181
+ originalFilename: string;
3182
+ }[] | undefined> | undefined;
3183
+ originalActionId?: string | undefined;
3184
+ }>;
3185
+ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3187
+ eventId: z.ZodString;
3188
+ transactionId: z.ZodString;
3189
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3190
+ filename: z.ZodString;
3191
+ originalFilename: z.ZodString;
3192
+ type: z.ZodString;
3193
+ }, "strip", z.ZodTypeAny, {
3194
+ type: string;
3195
+ filename: string;
3196
+ originalFilename: string;
3197
+ }, {
3198
+ type: string;
3199
+ filename: string;
3200
+ originalFilename: string;
3201
+ }>, z.ZodArray<z.ZodObject<{
3202
+ filename: z.ZodString;
3203
+ originalFilename: z.ZodString;
3204
+ type: z.ZodString;
3205
+ option: z.ZodString;
3206
+ }, "strip", z.ZodTypeAny, {
3207
+ type: string;
3208
+ option: string;
3209
+ filename: string;
3210
+ originalFilename: string;
3211
+ }, {
3212
+ type: string;
3213
+ option: string;
3214
+ filename: string;
3215
+ originalFilename: string;
3216
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
3217
+ country: z.ZodString;
3218
+ addressType: z.ZodLiteral<"DOMESTIC">;
3219
+ province: z.ZodString;
3220
+ district: z.ZodString;
3221
+ }, {
3222
+ urbanOrRural: z.ZodLiteral<"URBAN">;
3223
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3225
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3226
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3227
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3228
+ }>, "strip", z.ZodTypeAny, {
3229
+ country: string;
3230
+ district: string;
3231
+ addressType: "DOMESTIC";
3232
+ province: string;
3233
+ urbanOrRural: "URBAN";
3234
+ number?: string | null | undefined;
3235
+ town?: string | null | undefined;
3236
+ residentialArea?: string | null | undefined;
3237
+ street?: string | null | undefined;
3238
+ zipCode?: string | null | undefined;
3239
+ }, {
3240
+ country: string;
3241
+ district: string;
3242
+ addressType: "DOMESTIC";
3243
+ province: string;
3244
+ urbanOrRural: "URBAN";
3245
+ number?: string | null | undefined;
3246
+ town?: string | null | undefined;
3247
+ residentialArea?: string | null | undefined;
3248
+ street?: string | null | undefined;
3249
+ zipCode?: string | null | undefined;
3250
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3251
+ country: z.ZodString;
3252
+ addressType: z.ZodLiteral<"DOMESTIC">;
3253
+ province: z.ZodString;
3254
+ district: z.ZodString;
3255
+ }, {
3256
+ urbanOrRural: z.ZodLiteral<"RURAL">;
3257
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3258
+ }>, "strip", z.ZodTypeAny, {
3259
+ country: string;
3260
+ district: string;
3261
+ addressType: "DOMESTIC";
3262
+ province: string;
3263
+ urbanOrRural: "RURAL";
3264
+ village?: string | null | undefined;
3265
+ }, {
3266
+ country: string;
3267
+ district: string;
3268
+ addressType: "DOMESTIC";
3269
+ province: string;
3270
+ urbanOrRural: "RURAL";
3271
+ village?: string | null | undefined;
3272
+ }>, z.ZodUndefined, z.ZodObject<{
3273
+ country: z.ZodString;
3274
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
3275
+ state: z.ZodString;
3276
+ district2: z.ZodString;
3277
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3278
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3279
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3280
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3281
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ country: string;
3284
+ state: string;
3285
+ addressType: "INTERNATIONAL";
3286
+ district2: string;
3287
+ cityOrTown?: string | null | undefined;
3288
+ addressLine1?: string | null | undefined;
3289
+ addressLine2?: string | null | undefined;
3290
+ addressLine3?: string | null | undefined;
3291
+ postcodeOrZip?: string | null | undefined;
3292
+ }, {
3293
+ country: string;
3294
+ state: string;
3295
+ addressType: "INTERNATIONAL";
3296
+ district2: string;
3297
+ cityOrTown?: string | null | undefined;
3298
+ addressLine1?: string | null | undefined;
3299
+ addressLine2?: string | null | undefined;
3300
+ addressLine3?: string | null | undefined;
3301
+ postcodeOrZip?: string | null | undefined;
3302
+ }>]>>>;
2504
3303
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2505
3304
  filename: z.ZodString;
2506
3305
  originalFilename: z.ZodString;
@@ -2615,10 +3414,11 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2615
3414
  addressLine3?: string | null | undefined;
2616
3415
  postcodeOrZip?: string | null | undefined;
2617
3416
  }>]>>>;
3417
+ originalActionId: z.ZodOptional<z.ZodString>;
2618
3418
  }, {
2619
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
3419
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
2620
3420
  }>, "strip", z.ZodTypeAny, {
2621
- type: "REJECT";
3421
+ type: "ARCHIVE";
2622
3422
  declaration: Record<string, string | number | boolean | {
2623
3423
  type: string;
2624
3424
  filename: string;
@@ -2697,8 +3497,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2697
3497
  filename: string;
2698
3498
  originalFilename: string;
2699
3499
  }[] | undefined> | undefined;
3500
+ originalActionId?: string | undefined;
2700
3501
  }, {
2701
- declaration: Record<string, string | number | boolean | {
3502
+ eventId: string;
3503
+ transactionId: string;
3504
+ type?: "ARCHIVE" | undefined;
3505
+ declaration?: Record<string, string | number | boolean | {
2702
3506
  type: string;
2703
3507
  filename: string;
2704
3508
  originalFilename: string;
@@ -2735,10 +3539,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2735
3539
  option: string;
2736
3540
  filename: string;
2737
3541
  originalFilename: string;
2738
- }[] | undefined>;
2739
- eventId: string;
2740
- transactionId: string;
2741
- type?: "REJECT" | undefined;
3542
+ }[] | undefined> | undefined;
2742
3543
  annotation?: Record<string, string | number | boolean | {
2743
3544
  type: string;
2744
3545
  filename: string;
@@ -2777,12 +3578,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2777
3578
  filename: string;
2778
3579
  originalFilename: string;
2779
3580
  }[] | undefined> | undefined;
3581
+ originalActionId?: string | undefined;
2780
3582
  }>;
2781
- export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2782
- export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
3583
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3584
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
2783
3585
  eventId: z.ZodString;
2784
3586
  transactionId: z.ZodString;
2785
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3587
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2786
3588
  filename: z.ZodString;
2787
3589
  originalFilename: z.ZodString;
2788
3590
  type: z.ZodString;
@@ -2895,7 +3697,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2895
3697
  addressLine2?: string | null | undefined;
2896
3698
  addressLine3?: string | null | undefined;
2897
3699
  postcodeOrZip?: string | null | undefined;
2898
- }>]>>;
3700
+ }>]>>>;
2899
3701
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2900
3702
  filename: z.ZodString;
2901
3703
  originalFilename: z.ZodString;
@@ -3010,10 +3812,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3812
  addressLine3?: string | null | undefined;
3011
3813
  postcodeOrZip?: string | null | undefined;
3012
3814
  }>]>>>;
3815
+ originalActionId: z.ZodOptional<z.ZodString>;
3013
3816
  }, {
3014
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3817
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3818
+ assignedTo: z.ZodString;
3015
3819
  }>, "strip", z.ZodTypeAny, {
3016
- type: "MARKED_AS_DUPLICATE";
3820
+ type: "ASSIGN";
3017
3821
  declaration: Record<string, string | number | boolean | {
3018
3822
  type: string;
3019
3823
  filename: string;
@@ -3052,6 +3856,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3052
3856
  filename: string;
3053
3857
  originalFilename: string;
3054
3858
  }[] | undefined>;
3859
+ assignedTo: string;
3055
3860
  eventId: string;
3056
3861
  transactionId: string;
3057
3862
  annotation?: Record<string, string | number | boolean | {
@@ -3092,8 +3897,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3092
3897
  filename: string;
3093
3898
  originalFilename: string;
3094
3899
  }[] | undefined> | undefined;
3900
+ originalActionId?: string | undefined;
3095
3901
  }, {
3096
- declaration: Record<string, string | number | boolean | {
3902
+ assignedTo: string;
3903
+ eventId: string;
3904
+ transactionId: string;
3905
+ type?: "ASSIGN" | undefined;
3906
+ declaration?: Record<string, string | number | boolean | {
3097
3907
  type: string;
3098
3908
  filename: string;
3099
3909
  originalFilename: string;
@@ -3130,10 +3940,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3130
3940
  option: string;
3131
3941
  filename: string;
3132
3942
  originalFilename: string;
3133
- }[] | undefined>;
3134
- eventId: string;
3135
- transactionId: string;
3136
- type?: "MARKED_AS_DUPLICATE" | undefined;
3943
+ }[] | undefined> | undefined;
3137
3944
  annotation?: Record<string, string | number | boolean | {
3138
3945
  type: string;
3139
3946
  filename: string;
@@ -3172,12 +3979,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3172
3979
  filename: string;
3173
3980
  originalFilename: string;
3174
3981
  }[] | undefined> | undefined;
3982
+ originalActionId?: string | undefined;
3175
3983
  }>;
3176
- export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
- export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3984
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
3985
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
3986
  eventId: z.ZodString;
3179
3987
  transactionId: z.ZodString;
3180
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3988
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3181
3989
  filename: z.ZodString;
3182
3990
  originalFilename: z.ZodString;
3183
3991
  type: z.ZodString;
@@ -3290,7 +4098,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3290
4098
  addressLine2?: string | null | undefined;
3291
4099
  addressLine3?: string | null | undefined;
3292
4100
  postcodeOrZip?: string | null | undefined;
3293
- }>]>>;
4101
+ }>]>>>;
3294
4102
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3295
4103
  filename: z.ZodString;
3296
4104
  originalFilename: z.ZodString;
@@ -3405,10 +4213,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
4213
  addressLine3?: string | null | undefined;
3406
4214
  postcodeOrZip?: string | null | undefined;
3407
4215
  }>]>>>;
4216
+ originalActionId: z.ZodOptional<z.ZodString>;
3408
4217
  }, {
3409
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
4218
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4219
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
3410
4220
  }>, "strip", z.ZodTypeAny, {
3411
- type: "ARCHIVE";
4221
+ type: "UNASSIGN";
3412
4222
  declaration: Record<string, string | number | boolean | {
3413
4223
  type: string;
3414
4224
  filename: string;
@@ -3447,6 +4257,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3447
4257
  filename: string;
3448
4258
  originalFilename: string;
3449
4259
  }[] | undefined>;
4260
+ assignedTo: null;
3450
4261
  eventId: string;
3451
4262
  transactionId: string;
3452
4263
  annotation?: Record<string, string | number | boolean | {
@@ -3487,8 +4298,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3487
4298
  filename: string;
3488
4299
  originalFilename: string;
3489
4300
  }[] | undefined> | undefined;
4301
+ originalActionId?: string | undefined;
3490
4302
  }, {
3491
- declaration: Record<string, string | number | boolean | {
4303
+ eventId: string;
4304
+ transactionId: string;
4305
+ type?: "UNASSIGN" | undefined;
4306
+ declaration?: Record<string, string | number | boolean | {
3492
4307
  type: string;
3493
4308
  filename: string;
3494
4309
  originalFilename: string;
@@ -3525,10 +4340,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
4340
  option: string;
3526
4341
  filename: string;
3527
4342
  originalFilename: string;
3528
- }[] | undefined>;
3529
- eventId: string;
3530
- transactionId: string;
3531
- type?: "ARCHIVE" | undefined;
4343
+ }[] | undefined> | undefined;
3532
4344
  annotation?: Record<string, string | number | boolean | {
3533
4345
  type: string;
3534
4346
  filename: string;
@@ -3567,12 +4379,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3567
4379
  filename: string;
3568
4380
  originalFilename: string;
3569
4381
  }[] | undefined> | undefined;
4382
+ originalActionId?: string | undefined;
4383
+ assignedTo?: null | undefined;
3570
4384
  }>;
3571
- export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
4385
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
3572
4386
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
4387
  eventId: z.ZodString;
3574
4388
  transactionId: z.ZodString;
3575
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4389
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3576
4390
  filename: z.ZodString;
3577
4391
  originalFilename: z.ZodString;
3578
4392
  type: z.ZodString;
@@ -3685,7 +4499,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3685
4499
  addressLine2?: string | null | undefined;
3686
4500
  addressLine3?: string | null | undefined;
3687
4501
  postcodeOrZip?: string | null | undefined;
3688
- }>]>>;
4502
+ }>]>>>;
3689
4503
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3690
4504
  filename: z.ZodString;
3691
4505
  originalFilename: z.ZodString;
@@ -3800,6 +4614,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
4614
  addressLine3?: string | null | undefined;
3801
4615
  postcodeOrZip?: string | null | undefined;
3802
4616
  }>]>>>;
4617
+ originalActionId: z.ZodOptional<z.ZodString>;
3803
4618
  }, {
3804
4619
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3805
4620
  }>, "strip", z.ZodTypeAny, {
@@ -3882,8 +4697,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3882
4697
  filename: string;
3883
4698
  originalFilename: string;
3884
4699
  }[] | undefined> | undefined;
4700
+ originalActionId?: string | undefined;
3885
4701
  }, {
3886
- declaration: Record<string, string | number | boolean | {
4702
+ eventId: string;
4703
+ transactionId: string;
4704
+ type?: "REQUEST_CORRECTION" | undefined;
4705
+ declaration?: Record<string, string | number | boolean | {
3887
4706
  type: string;
3888
4707
  filename: string;
3889
4708
  originalFilename: string;
@@ -3920,10 +4739,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3920
4739
  option: string;
3921
4740
  filename: string;
3922
4741
  originalFilename: string;
3923
- }[] | undefined>;
3924
- eventId: string;
3925
- transactionId: string;
3926
- type?: "REQUEST_CORRECTION" | undefined;
4742
+ }[] | undefined> | undefined;
3927
4743
  annotation?: Record<string, string | number | boolean | {
3928
4744
  type: string;
3929
4745
  filename: string;
@@ -3962,12 +4778,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3962
4778
  filename: string;
3963
4779
  originalFilename: string;
3964
4780
  }[] | undefined> | undefined;
4781
+ originalActionId?: string | undefined;
3965
4782
  }>;
3966
4783
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
4784
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
4785
  eventId: z.ZodString;
3969
4786
  transactionId: z.ZodString;
3970
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4787
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3971
4788
  filename: z.ZodString;
3972
4789
  originalFilename: z.ZodString;
3973
4790
  type: z.ZodString;
@@ -4080,7 +4897,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4080
4897
  addressLine2?: string | null | undefined;
4081
4898
  addressLine3?: string | null | undefined;
4082
4899
  postcodeOrZip?: string | null | undefined;
4083
- }>]>>;
4900
+ }>]>>>;
4084
4901
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4085
4902
  filename: z.ZodString;
4086
4903
  originalFilename: z.ZodString;
@@ -4195,6 +5012,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
5012
  addressLine3?: string | null | undefined;
4196
5013
  postcodeOrZip?: string | null | undefined;
4197
5014
  }>]>>>;
5015
+ originalActionId: z.ZodOptional<z.ZodString>;
4198
5016
  }, {
4199
5017
  requestId: z.ZodString;
4200
5018
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
@@ -4279,8 +5097,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4279
5097
  filename: string;
4280
5098
  originalFilename: string;
4281
5099
  }[] | undefined> | undefined;
5100
+ originalActionId?: string | undefined;
4282
5101
  }, {
4283
- declaration: Record<string, string | number | boolean | {
5102
+ requestId: string;
5103
+ eventId: string;
5104
+ transactionId: string;
5105
+ type?: "REJECT_CORRECTION" | undefined;
5106
+ declaration?: Record<string, string | number | boolean | {
4284
5107
  type: string;
4285
5108
  filename: string;
4286
5109
  originalFilename: string;
@@ -4317,11 +5140,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4317
5140
  option: string;
4318
5141
  filename: string;
4319
5142
  originalFilename: string;
4320
- }[] | undefined>;
4321
- requestId: string;
4322
- eventId: string;
4323
- transactionId: string;
4324
- type?: "REJECT_CORRECTION" | undefined;
5143
+ }[] | undefined> | undefined;
4325
5144
  annotation?: Record<string, string | number | boolean | {
4326
5145
  type: string;
4327
5146
  filename: string;
@@ -4360,12 +5179,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4360
5179
  filename: string;
4361
5180
  originalFilename: string;
4362
5181
  }[] | undefined> | undefined;
5182
+ originalActionId?: string | undefined;
4363
5183
  }>;
4364
5184
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
5185
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
5186
  eventId: z.ZodString;
4367
5187
  transactionId: z.ZodString;
4368
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5188
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4369
5189
  filename: z.ZodString;
4370
5190
  originalFilename: z.ZodString;
4371
5191
  type: z.ZodString;
@@ -4478,7 +5298,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4478
5298
  addressLine2?: string | null | undefined;
4479
5299
  addressLine3?: string | null | undefined;
4480
5300
  postcodeOrZip?: string | null | undefined;
4481
- }>]>>;
5301
+ }>]>>>;
4482
5302
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4483
5303
  filename: z.ZodString;
4484
5304
  originalFilename: z.ZodString;
@@ -4593,6 +5413,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
5413
  addressLine3?: string | null | undefined;
4594
5414
  postcodeOrZip?: string | null | undefined;
4595
5415
  }>]>>>;
5416
+ originalActionId: z.ZodOptional<z.ZodString>;
4596
5417
  }, {
4597
5418
  requestId: z.ZodString;
4598
5419
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
@@ -4677,8 +5498,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4677
5498
  filename: string;
4678
5499
  originalFilename: string;
4679
5500
  }[] | undefined> | undefined;
5501
+ originalActionId?: string | undefined;
4680
5502
  }, {
4681
- declaration: Record<string, string | number | boolean | {
5503
+ requestId: string;
5504
+ eventId: string;
5505
+ transactionId: string;
5506
+ type?: "APPROVE_CORRECTION" | undefined;
5507
+ declaration?: Record<string, string | number | boolean | {
4682
5508
  type: string;
4683
5509
  filename: string;
4684
5510
  originalFilename: string;
@@ -4715,11 +5541,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4715
5541
  option: string;
4716
5542
  filename: string;
4717
5543
  originalFilename: string;
4718
- }[] | undefined>;
4719
- requestId: string;
4720
- eventId: string;
4721
- transactionId: string;
4722
- type?: "APPROVE_CORRECTION" | undefined;
5544
+ }[] | undefined> | undefined;
4723
5545
  annotation?: Record<string, string | number | boolean | {
4724
5546
  type: string;
4725
5547
  filename: string;
@@ -4758,12 +5580,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4758
5580
  filename: string;
4759
5581
  originalFilename: string;
4760
5582
  }[] | undefined> | undefined;
5583
+ originalActionId?: string | undefined;
4761
5584
  }>;
4762
5585
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
5586
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4764
5587
  eventId: z.ZodString;
4765
5588
  transactionId: z.ZodString;
4766
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5589
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4767
5590
  filename: z.ZodString;
4768
5591
  originalFilename: z.ZodString;
4769
5592
  type: z.ZodString;
@@ -4876,7 +5699,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4876
5699
  addressLine2?: string | null | undefined;
4877
5700
  addressLine3?: string | null | undefined;
4878
5701
  postcodeOrZip?: string | null | undefined;
4879
- }>]>>;
5702
+ }>]>>>;
4880
5703
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4881
5704
  filename: z.ZodString;
4882
5705
  originalFilename: z.ZodString;
@@ -4991,6 +5814,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4991
5814
  addressLine3?: string | null | undefined;
4992
5815
  postcodeOrZip?: string | null | undefined;
4993
5816
  }>]>>>;
5817
+ originalActionId: z.ZodOptional<z.ZodString>;
4994
5818
  }, {
4995
5819
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
4996
5820
  }>, "strip", z.ZodTypeAny, {
@@ -5073,8 +5897,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5073
5897
  filename: string;
5074
5898
  originalFilename: string;
5075
5899
  }[] | undefined> | undefined;
5900
+ originalActionId?: string | undefined;
5076
5901
  }, {
5077
- declaration: Record<string, string | number | boolean | {
5902
+ eventId: string;
5903
+ transactionId: string;
5904
+ type?: "READ" | undefined;
5905
+ declaration?: Record<string, string | number | boolean | {
5078
5906
  type: string;
5079
5907
  filename: string;
5080
5908
  originalFilename: string;
@@ -5111,10 +5939,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5111
5939
  option: string;
5112
5940
  filename: string;
5113
5941
  originalFilename: string;
5114
- }[] | undefined>;
5115
- eventId: string;
5116
- transactionId: string;
5117
- type?: "READ" | undefined;
5942
+ }[] | undefined> | undefined;
5118
5943
  annotation?: Record<string, string | number | boolean | {
5119
5944
  type: string;
5120
5945
  filename: string;
@@ -5153,6 +5978,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5153
5978
  filename: string;
5154
5979
  originalFilename: string;
5155
5980
  }[] | undefined> | undefined;
5981
+ originalActionId?: string | undefined;
5156
5982
  }>;
5157
5983
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
5158
5984
  /**
@@ -5166,7 +5992,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5166
5992
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5167
5993
  eventId: z.ZodString;
5168
5994
  transactionId: z.ZodString;
5169
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5995
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5170
5996
  filename: z.ZodString;
5171
5997
  originalFilename: z.ZodString;
5172
5998
  type: z.ZodString;
@@ -5279,7 +6105,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5279
6105
  addressLine2?: string | null | undefined;
5280
6106
  addressLine3?: string | null | undefined;
5281
6107
  postcodeOrZip?: string | null | undefined;
5282
- }>]>>;
6108
+ }>]>>>;
5283
6109
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5284
6110
  filename: z.ZodString;
5285
6111
  originalFilename: z.ZodString;
@@ -5394,6 +6220,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5394
6220
  addressLine3?: string | null | undefined;
5395
6221
  postcodeOrZip?: string | null | undefined;
5396
6222
  }>]>>>;
6223
+ originalActionId: z.ZodOptional<z.ZodString>;
5397
6224
  }, {
5398
6225
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5399
6226
  createdAtLocation: z.ZodString;
@@ -5478,8 +6305,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5478
6305
  filename: string;
5479
6306
  originalFilename: string;
5480
6307
  }[] | undefined> | undefined;
6308
+ originalActionId?: string | undefined;
5481
6309
  }, {
5482
- declaration: Record<string, string | number | boolean | {
6310
+ createdAtLocation: string;
6311
+ eventId: string;
6312
+ transactionId: string;
6313
+ type?: "CREATE" | undefined;
6314
+ declaration?: Record<string, string | number | boolean | {
5483
6315
  type: string;
5484
6316
  filename: string;
5485
6317
  originalFilename: string;
@@ -5516,11 +6348,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5516
6348
  option: string;
5517
6349
  filename: string;
5518
6350
  originalFilename: string;
5519
- }[] | undefined>;
5520
- createdAtLocation: string;
5521
- eventId: string;
5522
- transactionId: string;
5523
- type?: "CREATE" | undefined;
6351
+ }[] | undefined> | undefined;
5524
6352
  annotation?: Record<string, string | number | boolean | {
5525
6353
  type: string;
5526
6354
  filename: string;
@@ -5559,10 +6387,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5559
6387
  filename: string;
5560
6388
  originalFilename: string;
5561
6389
  }[] | undefined> | undefined;
6390
+ originalActionId?: string | undefined;
5562
6391
  }>, z.ZodObject<z.objectUtil.extendShape<{
5563
6392
  eventId: z.ZodString;
5564
6393
  transactionId: z.ZodString;
5565
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6394
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5566
6395
  filename: z.ZodString;
5567
6396
  originalFilename: z.ZodString;
5568
6397
  type: z.ZodString;
@@ -5675,7 +6504,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5675
6504
  addressLine2?: string | null | undefined;
5676
6505
  addressLine3?: string | null | undefined;
5677
6506
  postcodeOrZip?: string | null | undefined;
5678
- }>]>>;
6507
+ }>]>>>;
5679
6508
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5680
6509
  filename: z.ZodString;
5681
6510
  originalFilename: z.ZodString;
@@ -5790,6 +6619,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5790
6619
  addressLine3?: string | null | undefined;
5791
6620
  postcodeOrZip?: string | null | undefined;
5792
6621
  }>]>>>;
6622
+ originalActionId: z.ZodOptional<z.ZodString>;
5793
6623
  }, {
5794
6624
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5795
6625
  duplicates: z.ZodArray<z.ZodString, "many">;
@@ -5874,8 +6704,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5874
6704
  filename: string;
5875
6705
  originalFilename: string;
5876
6706
  }[] | undefined> | undefined;
6707
+ originalActionId?: string | undefined;
5877
6708
  }, {
5878
- declaration: Record<string, string | number | boolean | {
6709
+ eventId: string;
6710
+ transactionId: string;
6711
+ duplicates: string[];
6712
+ type?: "VALIDATE" | undefined;
6713
+ declaration?: Record<string, string | number | boolean | {
5879
6714
  type: string;
5880
6715
  filename: string;
5881
6716
  originalFilename: string;
@@ -5912,11 +6747,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
6747
  option: string;
5913
6748
  filename: string;
5914
6749
  originalFilename: string;
5915
- }[] | undefined>;
5916
- eventId: string;
5917
- transactionId: string;
5918
- duplicates: string[];
5919
- type?: "VALIDATE" | undefined;
6750
+ }[] | undefined> | undefined;
5920
6751
  annotation?: Record<string, string | number | boolean | {
5921
6752
  type: string;
5922
6753
  filename: string;
@@ -5955,10 +6786,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5955
6786
  filename: string;
5956
6787
  originalFilename: string;
5957
6788
  }[] | undefined> | undefined;
6789
+ originalActionId?: string | undefined;
5958
6790
  }>, z.ZodObject<z.objectUtil.extendShape<{
5959
6791
  eventId: z.ZodString;
5960
6792
  transactionId: z.ZodString;
5961
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6793
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5962
6794
  filename: z.ZodString;
5963
6795
  originalFilename: z.ZodString;
5964
6796
  type: z.ZodString;
@@ -6071,7 +6903,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6071
6903
  addressLine2?: string | null | undefined;
6072
6904
  addressLine3?: string | null | undefined;
6073
6905
  postcodeOrZip?: string | null | undefined;
6074
- }>]>>;
6906
+ }>]>>>;
6075
6907
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6076
6908
  filename: z.ZodString;
6077
6909
  originalFilename: z.ZodString;
@@ -6186,18 +7018,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7018
  addressLine3?: string | null | undefined;
6187
7019
  postcodeOrZip?: string | null | undefined;
6188
7020
  }>]>>>;
7021
+ originalActionId: z.ZodOptional<z.ZodString>;
6189
7022
  }, {
6190
7023
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6191
- identifiers: z.ZodObject<{
6192
- trackingId: z.ZodString;
6193
- registrationNumber: z.ZodString;
6194
- }, "strip", z.ZodTypeAny, {
6195
- trackingId: string;
6196
- registrationNumber: string;
6197
- }, {
6198
- trackingId: string;
6199
- registrationNumber: string;
6200
- }>;
7024
+ registrationNumber: z.ZodOptional<z.ZodString>;
6201
7025
  }>, "strip", z.ZodTypeAny, {
6202
7026
  type: "REGISTER";
6203
7027
  declaration: Record<string, string | number | boolean | {
@@ -6238,10 +7062,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6238
7062
  filename: string;
6239
7063
  originalFilename: string;
6240
7064
  }[] | undefined>;
6241
- identifiers: {
6242
- trackingId: string;
6243
- registrationNumber: string;
6244
- };
6245
7065
  eventId: string;
6246
7066
  transactionId: string;
6247
7067
  annotation?: Record<string, string | number | boolean | {
@@ -6282,8 +7102,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6282
7102
  filename: string;
6283
7103
  originalFilename: string;
6284
7104
  }[] | undefined> | undefined;
7105
+ originalActionId?: string | undefined;
7106
+ registrationNumber?: string | undefined;
6285
7107
  }, {
6286
- declaration: Record<string, string | number | boolean | {
7108
+ eventId: string;
7109
+ transactionId: string;
7110
+ type?: "REGISTER" | undefined;
7111
+ declaration?: Record<string, string | number | boolean | {
6287
7112
  type: string;
6288
7113
  filename: string;
6289
7114
  originalFilename: string;
@@ -6320,14 +7145,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6320
7145
  option: string;
6321
7146
  filename: string;
6322
7147
  originalFilename: string;
6323
- }[] | undefined>;
6324
- identifiers: {
6325
- trackingId: string;
6326
- registrationNumber: string;
6327
- };
6328
- eventId: string;
6329
- transactionId: string;
6330
- type?: "REGISTER" | undefined;
7148
+ }[] | undefined> | undefined;
6331
7149
  annotation?: Record<string, string | number | boolean | {
6332
7150
  type: string;
6333
7151
  filename: string;
@@ -6366,10 +7184,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6366
7184
  filename: string;
6367
7185
  originalFilename: string;
6368
7186
  }[] | undefined> | undefined;
7187
+ originalActionId?: string | undefined;
7188
+ registrationNumber?: string | undefined;
6369
7189
  }>, z.ZodObject<z.objectUtil.extendShape<{
6370
7190
  eventId: z.ZodString;
6371
7191
  transactionId: z.ZodString;
6372
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7192
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6373
7193
  filename: z.ZodString;
6374
7194
  originalFilename: z.ZodString;
6375
7195
  type: z.ZodString;
@@ -6482,7 +7302,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6482
7302
  addressLine2?: string | null | undefined;
6483
7303
  addressLine3?: string | null | undefined;
6484
7304
  postcodeOrZip?: string | null | undefined;
6485
- }>]>>;
7305
+ }>]>>>;
6486
7306
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6487
7307
  filename: z.ZodString;
6488
7308
  originalFilename: z.ZodString;
@@ -6597,6 +7417,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6597
7417
  addressLine3?: string | null | undefined;
6598
7418
  postcodeOrZip?: string | null | undefined;
6599
7419
  }>]>>>;
7420
+ originalActionId: z.ZodOptional<z.ZodString>;
6600
7421
  }, {
6601
7422
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6602
7423
  }>, "strip", z.ZodTypeAny, {
@@ -6679,8 +7500,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6679
7500
  filename: string;
6680
7501
  originalFilename: string;
6681
7502
  }[] | undefined> | undefined;
7503
+ originalActionId?: string | undefined;
6682
7504
  }, {
6683
- declaration: Record<string, string | number | boolean | {
7505
+ eventId: string;
7506
+ transactionId: string;
7507
+ type?: "NOTIFY" | undefined;
7508
+ declaration?: Record<string, string | number | boolean | {
6684
7509
  type: string;
6685
7510
  filename: string;
6686
7511
  originalFilename: string;
@@ -6717,10 +7542,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6717
7542
  option: string;
6718
7543
  filename: string;
6719
7544
  originalFilename: string;
6720
- }[] | undefined>;
6721
- eventId: string;
6722
- transactionId: string;
6723
- type?: "NOTIFY" | undefined;
7545
+ }[] | undefined> | undefined;
6724
7546
  annotation?: Record<string, string | number | boolean | {
6725
7547
  type: string;
6726
7548
  filename: string;
@@ -6759,10 +7581,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6759
7581
  filename: string;
6760
7582
  originalFilename: string;
6761
7583
  }[] | undefined> | undefined;
7584
+ originalActionId?: string | undefined;
6762
7585
  }>, z.ZodObject<z.objectUtil.extendShape<{
6763
7586
  eventId: z.ZodString;
6764
7587
  transactionId: z.ZodString;
6765
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7588
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6766
7589
  filename: z.ZodString;
6767
7590
  originalFilename: z.ZodString;
6768
7591
  type: z.ZodString;
@@ -6875,7 +7698,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6875
7698
  addressLine2?: string | null | undefined;
6876
7699
  addressLine3?: string | null | undefined;
6877
7700
  postcodeOrZip?: string | null | undefined;
6878
- }>]>>;
7701
+ }>]>>>;
6879
7702
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6880
7703
  filename: z.ZodString;
6881
7704
  originalFilename: z.ZodString;
@@ -6990,6 +7813,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6990
7813
  addressLine3?: string | null | undefined;
6991
7814
  postcodeOrZip?: string | null | undefined;
6992
7815
  }>]>>>;
7816
+ originalActionId: z.ZodOptional<z.ZodString>;
6993
7817
  }, {
6994
7818
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6995
7819
  }>, "strip", z.ZodTypeAny, {
@@ -7072,8 +7896,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7072
7896
  filename: string;
7073
7897
  originalFilename: string;
7074
7898
  }[] | undefined> | undefined;
7899
+ originalActionId?: string | undefined;
7075
7900
  }, {
7076
- declaration: Record<string, string | number | boolean | {
7901
+ eventId: string;
7902
+ transactionId: string;
7903
+ type?: "DECLARE" | undefined;
7904
+ declaration?: Record<string, string | number | boolean | {
7077
7905
  type: string;
7078
7906
  filename: string;
7079
7907
  originalFilename: string;
@@ -7110,10 +7938,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7110
7938
  option: string;
7111
7939
  filename: string;
7112
7940
  originalFilename: string;
7113
- }[] | undefined>;
7114
- eventId: string;
7115
- transactionId: string;
7116
- type?: "DECLARE" | undefined;
7941
+ }[] | undefined> | undefined;
7117
7942
  annotation?: Record<string, string | number | boolean | {
7118
7943
  type: string;
7119
7944
  filename: string;
@@ -7152,10 +7977,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7152
7977
  filename: string;
7153
7978
  originalFilename: string;
7154
7979
  }[] | undefined> | undefined;
7980
+ originalActionId?: string | undefined;
7155
7981
  }>, z.ZodObject<z.objectUtil.extendShape<{
7156
7982
  eventId: z.ZodString;
7157
7983
  transactionId: z.ZodString;
7158
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7984
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7159
7985
  filename: z.ZodString;
7160
7986
  originalFilename: z.ZodString;
7161
7987
  type: z.ZodString;
@@ -7268,7 +8094,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
8094
  addressLine2?: string | null | undefined;
7269
8095
  addressLine3?: string | null | undefined;
7270
8096
  postcodeOrZip?: string | null | undefined;
7271
- }>]>>;
8097
+ }>]>>>;
7272
8098
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7273
8099
  filename: z.ZodString;
7274
8100
  originalFilename: z.ZodString;
@@ -7383,6 +8209,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7383
8209
  addressLine3?: string | null | undefined;
7384
8210
  postcodeOrZip?: string | null | undefined;
7385
8211
  }>]>>>;
8212
+ originalActionId: z.ZodOptional<z.ZodString>;
7386
8213
  }, {
7387
8214
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7388
8215
  }>, "strip", z.ZodTypeAny, {
@@ -7465,8 +8292,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7465
8292
  filename: string;
7466
8293
  originalFilename: string;
7467
8294
  }[] | undefined> | undefined;
8295
+ originalActionId?: string | undefined;
7468
8296
  }, {
7469
- declaration: Record<string, string | number | boolean | {
8297
+ eventId: string;
8298
+ transactionId: string;
8299
+ type?: "REJECT" | undefined;
8300
+ declaration?: Record<string, string | number | boolean | {
7470
8301
  type: string;
7471
8302
  filename: string;
7472
8303
  originalFilename: string;
@@ -7503,10 +8334,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7503
8334
  option: string;
7504
8335
  filename: string;
7505
8336
  originalFilename: string;
7506
- }[] | undefined>;
7507
- eventId: string;
7508
- transactionId: string;
7509
- type?: "REJECT" | undefined;
8337
+ }[] | undefined> | undefined;
7510
8338
  annotation?: Record<string, string | number | boolean | {
7511
8339
  type: string;
7512
8340
  filename: string;
@@ -7545,10 +8373,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7545
8373
  filename: string;
7546
8374
  originalFilename: string;
7547
8375
  }[] | undefined> | undefined;
8376
+ originalActionId?: string | undefined;
7548
8377
  }>, z.ZodObject<z.objectUtil.extendShape<{
7549
8378
  eventId: z.ZodString;
7550
8379
  transactionId: z.ZodString;
7551
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8380
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7552
8381
  filename: z.ZodString;
7553
8382
  originalFilename: z.ZodString;
7554
8383
  type: z.ZodString;
@@ -7661,7 +8490,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7661
8490
  addressLine2?: string | null | undefined;
7662
8491
  addressLine3?: string | null | undefined;
7663
8492
  postcodeOrZip?: string | null | undefined;
7664
- }>]>>;
8493
+ }>]>>>;
7665
8494
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7666
8495
  filename: z.ZodString;
7667
8496
  originalFilename: z.ZodString;
@@ -7776,6 +8605,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7776
8605
  addressLine3?: string | null | undefined;
7777
8606
  postcodeOrZip?: string | null | undefined;
7778
8607
  }>]>>>;
8608
+ originalActionId: z.ZodOptional<z.ZodString>;
7779
8609
  }, {
7780
8610
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7781
8611
  }>, "strip", z.ZodTypeAny, {
@@ -7858,8 +8688,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7858
8688
  filename: string;
7859
8689
  originalFilename: string;
7860
8690
  }[] | undefined> | undefined;
8691
+ originalActionId?: string | undefined;
7861
8692
  }, {
7862
- declaration: Record<string, string | number | boolean | {
8693
+ eventId: string;
8694
+ transactionId: string;
8695
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8696
+ declaration?: Record<string, string | number | boolean | {
7863
8697
  type: string;
7864
8698
  filename: string;
7865
8699
  originalFilename: string;
@@ -7896,10 +8730,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7896
8730
  option: string;
7897
8731
  filename: string;
7898
8732
  originalFilename: string;
7899
- }[] | undefined>;
7900
- eventId: string;
7901
- transactionId: string;
7902
- type?: "MARKED_AS_DUPLICATE" | undefined;
8733
+ }[] | undefined> | undefined;
7903
8734
  annotation?: Record<string, string | number | boolean | {
7904
8735
  type: string;
7905
8736
  filename: string;
@@ -7938,10 +8769,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7938
8769
  filename: string;
7939
8770
  originalFilename: string;
7940
8771
  }[] | undefined> | undefined;
8772
+ originalActionId?: string | undefined;
7941
8773
  }>, z.ZodObject<z.objectUtil.extendShape<{
7942
8774
  eventId: z.ZodString;
7943
8775
  transactionId: z.ZodString;
7944
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8776
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7945
8777
  filename: z.ZodString;
7946
8778
  originalFilename: z.ZodString;
7947
8779
  type: z.ZodString;
@@ -8054,7 +8886,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8054
8886
  addressLine2?: string | null | undefined;
8055
8887
  addressLine3?: string | null | undefined;
8056
8888
  postcodeOrZip?: string | null | undefined;
8057
- }>]>>;
8889
+ }>]>>>;
8058
8890
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8059
8891
  filename: z.ZodString;
8060
8892
  originalFilename: z.ZodString;
@@ -8169,6 +9001,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8169
9001
  addressLine3?: string | null | undefined;
8170
9002
  postcodeOrZip?: string | null | undefined;
8171
9003
  }>]>>>;
9004
+ originalActionId: z.ZodOptional<z.ZodString>;
8172
9005
  }, {
8173
9006
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8174
9007
  }>, "strip", z.ZodTypeAny, {
@@ -8251,8 +9084,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
9084
  filename: string;
8252
9085
  originalFilename: string;
8253
9086
  }[] | undefined> | undefined;
9087
+ originalActionId?: string | undefined;
8254
9088
  }, {
8255
- declaration: Record<string, string | number | boolean | {
9089
+ eventId: string;
9090
+ transactionId: string;
9091
+ type?: "ARCHIVE" | undefined;
9092
+ declaration?: Record<string, string | number | boolean | {
8256
9093
  type: string;
8257
9094
  filename: string;
8258
9095
  originalFilename: string;
@@ -8289,10 +9126,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8289
9126
  option: string;
8290
9127
  filename: string;
8291
9128
  originalFilename: string;
8292
- }[] | undefined>;
8293
- eventId: string;
8294
- transactionId: string;
8295
- type?: "ARCHIVE" | undefined;
9129
+ }[] | undefined> | undefined;
8296
9130
  annotation?: Record<string, string | number | boolean | {
8297
9131
  type: string;
8298
9132
  filename: string;
@@ -8331,10 +9165,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8331
9165
  filename: string;
8332
9166
  originalFilename: string;
8333
9167
  }[] | undefined> | undefined;
9168
+ originalActionId?: string | undefined;
8334
9169
  }>, z.ZodObject<z.objectUtil.extendShape<{
8335
9170
  eventId: z.ZodString;
8336
9171
  transactionId: z.ZodString;
8337
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9172
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8338
9173
  filename: z.ZodString;
8339
9174
  originalFilename: z.ZodString;
8340
9175
  type: z.ZodString;
@@ -8447,7 +9282,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8447
9282
  addressLine2?: string | null | undefined;
8448
9283
  addressLine3?: string | null | undefined;
8449
9284
  postcodeOrZip?: string | null | undefined;
8450
- }>]>>;
9285
+ }>]>>>;
8451
9286
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8452
9287
  filename: z.ZodString;
8453
9288
  originalFilename: z.ZodString;
@@ -8562,6 +9397,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8562
9397
  addressLine3?: string | null | undefined;
8563
9398
  postcodeOrZip?: string | null | undefined;
8564
9399
  }>]>>>;
9400
+ originalActionId: z.ZodOptional<z.ZodString>;
8565
9401
  }, {
8566
9402
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8567
9403
  assignedTo: z.ZodString;
@@ -8646,8 +9482,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8646
9482
  filename: string;
8647
9483
  originalFilename: string;
8648
9484
  }[] | undefined> | undefined;
9485
+ originalActionId?: string | undefined;
8649
9486
  }, {
8650
- declaration: Record<string, string | number | boolean | {
9487
+ assignedTo: string;
9488
+ eventId: string;
9489
+ transactionId: string;
9490
+ type?: "ASSIGN" | undefined;
9491
+ declaration?: Record<string, string | number | boolean | {
8651
9492
  type: string;
8652
9493
  filename: string;
8653
9494
  originalFilename: string;
@@ -8684,11 +9525,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8684
9525
  option: string;
8685
9526
  filename: string;
8686
9527
  originalFilename: string;
8687
- }[] | undefined>;
8688
- assignedTo: string;
8689
- eventId: string;
8690
- transactionId: string;
8691
- type?: "ASSIGN" | undefined;
9528
+ }[] | undefined> | undefined;
8692
9529
  annotation?: Record<string, string | number | boolean | {
8693
9530
  type: string;
8694
9531
  filename: string;
@@ -8727,10 +9564,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8727
9564
  filename: string;
8728
9565
  originalFilename: string;
8729
9566
  }[] | undefined> | undefined;
9567
+ originalActionId?: string | undefined;
8730
9568
  }>, z.ZodObject<z.objectUtil.extendShape<{
8731
9569
  eventId: z.ZodString;
8732
9570
  transactionId: z.ZodString;
8733
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9571
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8734
9572
  filename: z.ZodString;
8735
9573
  originalFilename: z.ZodString;
8736
9574
  type: z.ZodString;
@@ -8843,7 +9681,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8843
9681
  addressLine2?: string | null | undefined;
8844
9682
  addressLine3?: string | null | undefined;
8845
9683
  postcodeOrZip?: string | null | undefined;
8846
- }>]>>;
9684
+ }>]>>>;
8847
9685
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8848
9686
  filename: z.ZodString;
8849
9687
  originalFilename: z.ZodString;
@@ -8958,8 +9796,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8958
9796
  addressLine3?: string | null | undefined;
8959
9797
  postcodeOrZip?: string | null | undefined;
8960
9798
  }>]>>>;
9799
+ originalActionId: z.ZodOptional<z.ZodString>;
8961
9800
  }, {
8962
9801
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9802
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
8963
9803
  }>, "strip", z.ZodTypeAny, {
8964
9804
  type: "UNASSIGN";
8965
9805
  declaration: Record<string, string | number | boolean | {
@@ -9000,6 +9840,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9000
9840
  filename: string;
9001
9841
  originalFilename: string;
9002
9842
  }[] | undefined>;
9843
+ assignedTo: null;
9003
9844
  eventId: string;
9004
9845
  transactionId: string;
9005
9846
  annotation?: Record<string, string | number | boolean | {
@@ -9040,8 +9881,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9040
9881
  filename: string;
9041
9882
  originalFilename: string;
9042
9883
  }[] | undefined> | undefined;
9884
+ originalActionId?: string | undefined;
9043
9885
  }, {
9044
- declaration: Record<string, string | number | boolean | {
9886
+ eventId: string;
9887
+ transactionId: string;
9888
+ type?: "UNASSIGN" | undefined;
9889
+ declaration?: Record<string, string | number | boolean | {
9045
9890
  type: string;
9046
9891
  filename: string;
9047
9892
  originalFilename: string;
@@ -9078,10 +9923,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
9923
  option: string;
9079
9924
  filename: string;
9080
9925
  originalFilename: string;
9081
- }[] | undefined>;
9082
- eventId: string;
9083
- transactionId: string;
9084
- type?: "UNASSIGN" | undefined;
9926
+ }[] | undefined> | undefined;
9085
9927
  annotation?: Record<string, string | number | boolean | {
9086
9928
  type: string;
9087
9929
  filename: string;
@@ -9120,10 +9962,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9120
9962
  filename: string;
9121
9963
  originalFilename: string;
9122
9964
  }[] | undefined> | undefined;
9965
+ originalActionId?: string | undefined;
9966
+ assignedTo?: null | undefined;
9123
9967
  }>, z.ZodObject<z.objectUtil.extendShape<{
9124
9968
  eventId: z.ZodString;
9125
9969
  transactionId: z.ZodString;
9126
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9970
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9127
9971
  filename: z.ZodString;
9128
9972
  originalFilename: z.ZodString;
9129
9973
  type: z.ZodString;
@@ -9236,7 +10080,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9236
10080
  addressLine2?: string | null | undefined;
9237
10081
  addressLine3?: string | null | undefined;
9238
10082
  postcodeOrZip?: string | null | undefined;
9239
- }>]>>;
10083
+ }>]>>>;
9240
10084
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9241
10085
  filename: z.ZodString;
9242
10086
  originalFilename: z.ZodString;
@@ -9351,6 +10195,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9351
10195
  addressLine3?: string | null | undefined;
9352
10196
  postcodeOrZip?: string | null | undefined;
9353
10197
  }>]>>>;
10198
+ originalActionId: z.ZodOptional<z.ZodString>;
9354
10199
  }, {
9355
10200
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9356
10201
  }>, "strip", z.ZodTypeAny, {
@@ -9433,8 +10278,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9433
10278
  filename: string;
9434
10279
  originalFilename: string;
9435
10280
  }[] | undefined> | undefined;
10281
+ originalActionId?: string | undefined;
9436
10282
  }, {
9437
- declaration: Record<string, string | number | boolean | {
10283
+ eventId: string;
10284
+ transactionId: string;
10285
+ type?: "PRINT_CERTIFICATE" | undefined;
10286
+ declaration?: Record<string, string | number | boolean | {
9438
10287
  type: string;
9439
10288
  filename: string;
9440
10289
  originalFilename: string;
@@ -9471,10 +10320,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9471
10320
  option: string;
9472
10321
  filename: string;
9473
10322
  originalFilename: string;
9474
- }[] | undefined>;
9475
- eventId: string;
9476
- transactionId: string;
9477
- type?: "PRINT_CERTIFICATE" | undefined;
10323
+ }[] | undefined> | undefined;
9478
10324
  annotation?: Record<string, string | number | boolean | {
9479
10325
  type: string;
9480
10326
  filename: string;
@@ -9513,10 +10359,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9513
10359
  filename: string;
9514
10360
  originalFilename: string;
9515
10361
  }[] | undefined> | undefined;
10362
+ originalActionId?: string | undefined;
9516
10363
  }>, z.ZodObject<z.objectUtil.extendShape<{
9517
10364
  eventId: z.ZodString;
9518
10365
  transactionId: z.ZodString;
9519
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10366
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9520
10367
  filename: z.ZodString;
9521
10368
  originalFilename: z.ZodString;
9522
10369
  type: z.ZodString;
@@ -9629,7 +10476,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9629
10476
  addressLine2?: string | null | undefined;
9630
10477
  addressLine3?: string | null | undefined;
9631
10478
  postcodeOrZip?: string | null | undefined;
9632
- }>]>>;
10479
+ }>]>>>;
9633
10480
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9634
10481
  filename: z.ZodString;
9635
10482
  originalFilename: z.ZodString;
@@ -9744,6 +10591,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9744
10591
  addressLine3?: string | null | undefined;
9745
10592
  postcodeOrZip?: string | null | undefined;
9746
10593
  }>]>>>;
10594
+ originalActionId: z.ZodOptional<z.ZodString>;
9747
10595
  }, {
9748
10596
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9749
10597
  }>, "strip", z.ZodTypeAny, {
@@ -9826,8 +10674,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9826
10674
  filename: string;
9827
10675
  originalFilename: string;
9828
10676
  }[] | undefined> | undefined;
10677
+ originalActionId?: string | undefined;
9829
10678
  }, {
9830
- declaration: Record<string, string | number | boolean | {
10679
+ eventId: string;
10680
+ transactionId: string;
10681
+ type?: "REQUEST_CORRECTION" | undefined;
10682
+ declaration?: Record<string, string | number | boolean | {
9831
10683
  type: string;
9832
10684
  filename: string;
9833
10685
  originalFilename: string;
@@ -9864,10 +10716,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9864
10716
  option: string;
9865
10717
  filename: string;
9866
10718
  originalFilename: string;
9867
- }[] | undefined>;
9868
- eventId: string;
9869
- transactionId: string;
9870
- type?: "REQUEST_CORRECTION" | undefined;
10719
+ }[] | undefined> | undefined;
9871
10720
  annotation?: Record<string, string | number | boolean | {
9872
10721
  type: string;
9873
10722
  filename: string;
@@ -9906,10 +10755,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9906
10755
  filename: string;
9907
10756
  originalFilename: string;
9908
10757
  }[] | undefined> | undefined;
10758
+ originalActionId?: string | undefined;
9909
10759
  }>, z.ZodObject<z.objectUtil.extendShape<{
9910
10760
  eventId: z.ZodString;
9911
10761
  transactionId: z.ZodString;
9912
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10762
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9913
10763
  filename: z.ZodString;
9914
10764
  originalFilename: z.ZodString;
9915
10765
  type: z.ZodString;
@@ -10022,7 +10872,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10022
10872
  addressLine2?: string | null | undefined;
10023
10873
  addressLine3?: string | null | undefined;
10024
10874
  postcodeOrZip?: string | null | undefined;
10025
- }>]>>;
10875
+ }>]>>>;
10026
10876
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10027
10877
  filename: z.ZodString;
10028
10878
  originalFilename: z.ZodString;
@@ -10137,6 +10987,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10137
10987
  addressLine3?: string | null | undefined;
10138
10988
  postcodeOrZip?: string | null | undefined;
10139
10989
  }>]>>>;
10990
+ originalActionId: z.ZodOptional<z.ZodString>;
10140
10991
  }, {
10141
10992
  requestId: z.ZodString;
10142
10993
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
@@ -10221,8 +11072,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10221
11072
  filename: string;
10222
11073
  originalFilename: string;
10223
11074
  }[] | undefined> | undefined;
11075
+ originalActionId?: string | undefined;
10224
11076
  }, {
10225
- declaration: Record<string, string | number | boolean | {
11077
+ requestId: string;
11078
+ eventId: string;
11079
+ transactionId: string;
11080
+ type?: "REJECT_CORRECTION" | undefined;
11081
+ declaration?: Record<string, string | number | boolean | {
10226
11082
  type: string;
10227
11083
  filename: string;
10228
11084
  originalFilename: string;
@@ -10259,11 +11115,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10259
11115
  option: string;
10260
11116
  filename: string;
10261
11117
  originalFilename: string;
10262
- }[] | undefined>;
10263
- requestId: string;
10264
- eventId: string;
10265
- transactionId: string;
10266
- type?: "REJECT_CORRECTION" | undefined;
11118
+ }[] | undefined> | undefined;
10267
11119
  annotation?: Record<string, string | number | boolean | {
10268
11120
  type: string;
10269
11121
  filename: string;
@@ -10302,10 +11154,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10302
11154
  filename: string;
10303
11155
  originalFilename: string;
10304
11156
  }[] | undefined> | undefined;
11157
+ originalActionId?: string | undefined;
10305
11158
  }>, z.ZodObject<z.objectUtil.extendShape<{
10306
11159
  eventId: z.ZodString;
10307
11160
  transactionId: z.ZodString;
10308
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11161
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10309
11162
  filename: z.ZodString;
10310
11163
  originalFilename: z.ZodString;
10311
11164
  type: z.ZodString;
@@ -10418,7 +11271,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10418
11271
  addressLine2?: string | null | undefined;
10419
11272
  addressLine3?: string | null | undefined;
10420
11273
  postcodeOrZip?: string | null | undefined;
10421
- }>]>>;
11274
+ }>]>>>;
10422
11275
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10423
11276
  filename: z.ZodString;
10424
11277
  originalFilename: z.ZodString;
@@ -10533,6 +11386,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10533
11386
  addressLine3?: string | null | undefined;
10534
11387
  postcodeOrZip?: string | null | undefined;
10535
11388
  }>]>>>;
11389
+ originalActionId: z.ZodOptional<z.ZodString>;
10536
11390
  }, {
10537
11391
  requestId: z.ZodString;
10538
11392
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
@@ -10617,8 +11471,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10617
11471
  filename: string;
10618
11472
  originalFilename: string;
10619
11473
  }[] | undefined> | undefined;
11474
+ originalActionId?: string | undefined;
10620
11475
  }, {
10621
- declaration: Record<string, string | number | boolean | {
11476
+ requestId: string;
11477
+ eventId: string;
11478
+ transactionId: string;
11479
+ type?: "APPROVE_CORRECTION" | undefined;
11480
+ declaration?: Record<string, string | number | boolean | {
10622
11481
  type: string;
10623
11482
  filename: string;
10624
11483
  originalFilename: string;
@@ -10655,11 +11514,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10655
11514
  option: string;
10656
11515
  filename: string;
10657
11516
  originalFilename: string;
10658
- }[] | undefined>;
10659
- requestId: string;
10660
- eventId: string;
10661
- transactionId: string;
10662
- type?: "APPROVE_CORRECTION" | undefined;
11517
+ }[] | undefined> | undefined;
10663
11518
  annotation?: Record<string, string | number | boolean | {
10664
11519
  type: string;
10665
11520
  filename: string;
@@ -10698,10 +11553,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10698
11553
  filename: string;
10699
11554
  originalFilename: string;
10700
11555
  }[] | undefined> | undefined;
11556
+ originalActionId?: string | undefined;
10701
11557
  }>, z.ZodObject<z.objectUtil.extendShape<{
10702
11558
  eventId: z.ZodString;
10703
11559
  transactionId: z.ZodString;
10704
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11560
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10705
11561
  filename: z.ZodString;
10706
11562
  originalFilename: z.ZodString;
10707
11563
  type: z.ZodString;
@@ -10814,7 +11670,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10814
11670
  addressLine2?: string | null | undefined;
10815
11671
  addressLine3?: string | null | undefined;
10816
11672
  postcodeOrZip?: string | null | undefined;
10817
- }>]>>;
11673
+ }>]>>>;
10818
11674
  annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10819
11675
  filename: z.ZodString;
10820
11676
  originalFilename: z.ZodString;
@@ -10929,6 +11785,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10929
11785
  addressLine3?: string | null | undefined;
10930
11786
  postcodeOrZip?: string | null | undefined;
10931
11787
  }>]>>>;
11788
+ originalActionId: z.ZodOptional<z.ZodString>;
10932
11789
  }, {
10933
11790
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10934
11791
  }>, "strip", z.ZodTypeAny, {
@@ -11011,8 +11868,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11011
11868
  filename: string;
11012
11869
  originalFilename: string;
11013
11870
  }[] | undefined> | undefined;
11871
+ originalActionId?: string | undefined;
11014
11872
  }, {
11015
- declaration: Record<string, string | number | boolean | {
11873
+ eventId: string;
11874
+ transactionId: string;
11875
+ type?: "READ" | undefined;
11876
+ declaration?: Record<string, string | number | boolean | {
11016
11877
  type: string;
11017
11878
  filename: string;
11018
11879
  originalFilename: string;
@@ -11049,10 +11910,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11049
11910
  option: string;
11050
11911
  filename: string;
11051
11912
  originalFilename: string;
11052
- }[] | undefined>;
11053
- eventId: string;
11054
- transactionId: string;
11055
- type?: "READ" | undefined;
11913
+ }[] | undefined> | undefined;
11056
11914
  annotation?: Record<string, string | number | boolean | {
11057
11915
  type: string;
11058
11916
  filename: string;
@@ -11091,6 +11949,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11091
11949
  filename: string;
11092
11950
  originalFilename: string;
11093
11951
  }[] | undefined> | undefined;
11952
+ originalActionId?: string | undefined;
11094
11953
  }>]>;
11095
11954
  export type ActionInput = z.input<typeof ActionInput>;
11096
11955
  export type ActionInputWithType = z.infer<typeof ActionInput>;