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

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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5
+ declaration: 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;
@@ -116,7 +116,7 @@ export declare const BaseActionInput: z.ZodObject<{
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
118
  }>]>>;
119
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
119
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
120
120
  filename: z.ZodString;
121
121
  originalFilename: z.ZodString;
122
122
  type: z.ZodString;
@@ -230,8 +230,9 @@ 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
- data: Record<string, string | number | boolean | {
235
+ declaration: Record<string, string | number | boolean | {
235
236
  type: string;
236
237
  filename: string;
237
238
  originalFilename: string;
@@ -271,7 +272,7 @@ export declare const BaseActionInput: z.ZodObject<{
271
272
  }[] | undefined>;
272
273
  eventId: string;
273
274
  transactionId: string;
274
- metadata?: Record<string, string | number | boolean | {
275
+ annotation?: Record<string, string | number | boolean | {
275
276
  type: string;
276
277
  filename: string;
277
278
  originalFilename: string;
@@ -309,8 +310,9 @@ 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
- data: Record<string, string | number | boolean | {
315
+ declaration: Record<string, string | number | boolean | {
314
316
  type: string;
315
317
  filename: string;
316
318
  originalFilename: string;
@@ -350,7 +352,7 @@ export declare const BaseActionInput: z.ZodObject<{
350
352
  }[] | undefined>;
351
353
  eventId: string;
352
354
  transactionId: string;
353
- metadata?: Record<string, string | number | boolean | {
355
+ annotation?: Record<string, string | number | boolean | {
354
356
  type: string;
355
357
  filename: string;
356
358
  originalFilename: 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
398
+ declaration: 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;
@@ -506,7 +509,7 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
506
509
  addressLine3?: string | null | undefined;
507
510
  postcodeOrZip?: string | null | undefined;
508
511
  }>]>>;
509
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
512
515
  type: z.ZodString;
@@ -620,21 +623,13 @@ 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
- data: Record<string, string | number | boolean | {
632
+ declaration: Record<string, string | number | boolean | {
638
633
  type: string;
639
634
  filename: string;
640
635
  originalFilename: string;
@@ -672,13 +667,9 @@ 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
- metadata?: Record<string, string | number | boolean | {
672
+ annotation?: Record<string, string | number | boolean | {
682
673
  type: string;
683
674
  filename: string;
684
675
  originalFilename: string;
@@ -716,8 +707,10 @@ 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
- data: Record<string, string | number | boolean | {
713
+ declaration: Record<string, string | number | boolean | {
721
714
  type: string;
722
715
  filename: string;
723
716
  originalFilename: string;
@@ -755,14 +748,10 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
755
748
  filename: string;
756
749
  originalFilename: string;
757
750
  }[] | undefined>;
758
- identifiers: {
759
- trackingId: string;
760
- registrationNumber: string;
761
- };
762
751
  eventId: string;
763
752
  transactionId: string;
764
753
  type?: "REGISTER" | undefined;
765
- metadata?: Record<string, string | number | boolean | {
754
+ annotation?: Record<string, string | number | boolean | {
766
755
  type: string;
767
756
  filename: string;
768
757
  originalFilename: 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
799
+ declaration: 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;
@@ -919,7 +910,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
919
910
  addressLine3?: string | null | undefined;
920
911
  postcodeOrZip?: string | null | undefined;
921
912
  }>]>>;
922
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
925
916
  type: z.ZodString;
@@ -1033,12 +1024,13 @@ 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">;
1039
1031
  }>, "strip", z.ZodTypeAny, {
1040
1032
  type: "VALIDATE";
1041
- data: Record<string, string | number | boolean | {
1033
+ declaration: Record<string, string | number | boolean | {
1042
1034
  type: string;
1043
1035
  filename: string;
1044
1036
  originalFilename: string;
@@ -1079,7 +1071,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1079
1071
  eventId: string;
1080
1072
  transactionId: string;
1081
1073
  duplicates: string[];
1082
- metadata?: Record<string, string | number | boolean | {
1074
+ annotation?: Record<string, string | number | boolean | {
1083
1075
  type: string;
1084
1076
  filename: string;
1085
1077
  originalFilename: string;
@@ -1117,8 +1109,9 @@ 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
- data: Record<string, string | number | boolean | {
1114
+ declaration: Record<string, string | number | boolean | {
1122
1115
  type: string;
1123
1116
  filename: string;
1124
1117
  originalFilename: string;
@@ -1160,7 +1153,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1160
1153
  transactionId: string;
1161
1154
  duplicates: string[];
1162
1155
  type?: "VALIDATE" | undefined;
1163
- metadata?: Record<string, string | number | boolean | {
1156
+ annotation?: Record<string, string | number | boolean | {
1164
1157
  type: string;
1165
1158
  filename: string;
1166
1159
  originalFilename: 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1200
+ declaration: 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;
@@ -1317,7 +1311,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1317
1311
  addressLine3?: string | null | undefined;
1318
1312
  postcodeOrZip?: string | null | undefined;
1319
1313
  }>]>>;
1320
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
1323
1317
  type: z.ZodString;
@@ -1431,11 +1425,12 @@ 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, {
1437
1432
  type: "NOTIFY";
1438
- data: Record<string, string | number | boolean | {
1433
+ declaration: Record<string, string | number | boolean | {
1439
1434
  type: string;
1440
1435
  filename: string;
1441
1436
  originalFilename: string;
@@ -1475,7 +1470,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1475
1470
  }[] | undefined>;
1476
1471
  eventId: string;
1477
1472
  transactionId: string;
1478
- metadata?: Record<string, string | number | boolean | {
1473
+ annotation?: Record<string, string | number | boolean | {
1479
1474
  type: string;
1480
1475
  filename: string;
1481
1476
  originalFilename: string;
@@ -1513,8 +1508,9 @@ 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
- data: Record<string, string | number | boolean | {
1513
+ declaration: Record<string, string | number | boolean | {
1518
1514
  type: string;
1519
1515
  filename: string;
1520
1516
  originalFilename: string;
@@ -1555,7 +1551,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1555
1551
  eventId: string;
1556
1552
  transactionId: string;
1557
1553
  type?: "NOTIFY" | undefined;
1558
- metadata?: Record<string, string | number | boolean | {
1554
+ annotation?: Record<string, string | number | boolean | {
1559
1555
  type: string;
1560
1556
  filename: string;
1561
1557
  originalFilename: 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1598
+ declaration: 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;
@@ -1712,7 +1709,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1712
1709
  addressLine3?: string | null | undefined;
1713
1710
  postcodeOrZip?: string | null | undefined;
1714
1711
  }>]>>;
1715
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
1718
1715
  type: z.ZodString;
@@ -1826,11 +1823,12 @@ 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, {
1832
1830
  type: "DECLARE";
1833
- data: Record<string, string | number | boolean | {
1831
+ declaration: Record<string, string | number | boolean | {
1834
1832
  type: string;
1835
1833
  filename: string;
1836
1834
  originalFilename: string;
@@ -1870,7 +1868,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1870
1868
  }[] | undefined>;
1871
1869
  eventId: string;
1872
1870
  transactionId: string;
1873
- metadata?: Record<string, string | number | boolean | {
1871
+ annotation?: Record<string, string | number | boolean | {
1874
1872
  type: string;
1875
1873
  filename: string;
1876
1874
  originalFilename: string;
@@ -1908,8 +1906,9 @@ 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
- data: Record<string, string | number | boolean | {
1911
+ declaration: Record<string, string | number | boolean | {
1913
1912
  type: string;
1914
1913
  filename: string;
1915
1914
  originalFilename: string;
@@ -1950,7 +1949,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1950
1949
  eventId: string;
1951
1950
  transactionId: string;
1952
1951
  type?: "DECLARE" | undefined;
1953
- metadata?: Record<string, string | number | boolean | {
1952
+ annotation?: Record<string, string | number | boolean | {
1954
1953
  type: string;
1955
1954
  filename: string;
1956
1955
  originalFilename: 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1995
+ declaration: 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;
@@ -2106,7 +2106,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2106
2106
  addressLine3?: string | null | undefined;
2107
2107
  postcodeOrZip?: string | null | undefined;
2108
2108
  }>]>>;
2109
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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;
2112
2112
  type: z.ZodString;
@@ -2220,11 +2220,12 @@ 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, {
2226
2227
  type: "PRINT_CERTIFICATE";
2227
- data: Record<string, string | number | boolean | {
2228
+ declaration: Record<string, string | number | boolean | {
2228
2229
  type: string;
2229
2230
  filename: string;
2230
2231
  originalFilename: string;
@@ -2264,7 +2265,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2264
2265
  }[] | undefined>;
2265
2266
  eventId: string;
2266
2267
  transactionId: string;
2267
- metadata?: Record<string, string | number | boolean | {
2268
+ annotation?: Record<string, string | number | boolean | {
2268
2269
  type: string;
2269
2270
  filename: string;
2270
2271
  originalFilename: string;
@@ -2302,8 +2303,9 @@ 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
- data: Record<string, string | number | boolean | {
2308
+ declaration: Record<string, string | number | boolean | {
2307
2309
  type: string;
2308
2310
  filename: string;
2309
2311
  originalFilename: string;
@@ -2344,7 +2346,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2344
2346
  eventId: string;
2345
2347
  transactionId: string;
2346
2348
  type?: "PRINT_CERTIFICATE" | undefined;
2347
- metadata?: Record<string, string | number | boolean | {
2349
+ annotation?: Record<string, string | number | boolean | {
2348
2350
  type: string;
2349
2351
  filename: string;
2350
2352
  originalFilename: string;
@@ -2382,12 +2384,13 @@ 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
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2393
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2391
2394
  filename: z.ZodString;
2392
2395
  originalFilename: z.ZodString;
2393
2396
  type: z.ZodString;
@@ -2501,7 +2504,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2501
2504
  addressLine3?: string | null | undefined;
2502
2505
  postcodeOrZip?: string | null | undefined;
2503
2506
  }>]>>;
2504
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2507
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2505
2508
  filename: z.ZodString;
2506
2509
  originalFilename: z.ZodString;
2507
2510
  type: z.ZodString;
@@ -2615,11 +2618,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2615
2618
  addressLine3?: string | null | undefined;
2616
2619
  postcodeOrZip?: string | null | undefined;
2617
2620
  }>]>>>;
2621
+ originalActionId: z.ZodOptional<z.ZodString>;
2618
2622
  }, {
2619
2623
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2620
2624
  }>, "strip", z.ZodTypeAny, {
2621
2625
  type: "REJECT";
2622
- data: Record<string, string | number | boolean | {
2626
+ declaration: Record<string, string | number | boolean | {
2623
2627
  type: string;
2624
2628
  filename: string;
2625
2629
  originalFilename: string;
@@ -2659,7 +2663,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2659
2663
  }[] | undefined>;
2660
2664
  eventId: string;
2661
2665
  transactionId: string;
2662
- metadata?: Record<string, string | number | boolean | {
2666
+ annotation?: Record<string, string | number | boolean | {
2663
2667
  type: string;
2664
2668
  filename: string;
2665
2669
  originalFilename: string;
@@ -2697,8 +2701,9 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2697
2701
  filename: string;
2698
2702
  originalFilename: string;
2699
2703
  }[] | undefined> | undefined;
2704
+ originalActionId?: string | undefined;
2700
2705
  }, {
2701
- data: Record<string, string | number | boolean | {
2706
+ declaration: Record<string, string | number | boolean | {
2702
2707
  type: string;
2703
2708
  filename: string;
2704
2709
  originalFilename: string;
@@ -2739,7 +2744,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2739
2744
  eventId: string;
2740
2745
  transactionId: string;
2741
2746
  type?: "REJECT" | undefined;
2742
- metadata?: Record<string, string | number | boolean | {
2747
+ annotation?: Record<string, string | number | boolean | {
2743
2748
  type: string;
2744
2749
  filename: string;
2745
2750
  originalFilename: string;
@@ -2777,12 +2782,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2777
2782
  filename: string;
2778
2783
  originalFilename: string;
2779
2784
  }[] | undefined> | undefined;
2785
+ originalActionId?: string | undefined;
2780
2786
  }>;
2781
2787
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2782
2788
  export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2783
2789
  eventId: z.ZodString;
2784
2790
  transactionId: z.ZodString;
2785
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2791
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2786
2792
  filename: z.ZodString;
2787
2793
  originalFilename: z.ZodString;
2788
2794
  type: z.ZodString;
@@ -2896,7 +2902,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2896
2902
  addressLine3?: string | null | undefined;
2897
2903
  postcodeOrZip?: string | null | undefined;
2898
2904
  }>]>>;
2899
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2905
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2900
2906
  filename: z.ZodString;
2901
2907
  originalFilename: z.ZodString;
2902
2908
  type: z.ZodString;
@@ -3010,11 +3016,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3016
  addressLine3?: string | null | undefined;
3011
3017
  postcodeOrZip?: string | null | undefined;
3012
3018
  }>]>>>;
3019
+ originalActionId: z.ZodOptional<z.ZodString>;
3013
3020
  }, {
3014
3021
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3015
3022
  }>, "strip", z.ZodTypeAny, {
3016
3023
  type: "MARKED_AS_DUPLICATE";
3017
- data: Record<string, string | number | boolean | {
3024
+ declaration: Record<string, string | number | boolean | {
3018
3025
  type: string;
3019
3026
  filename: string;
3020
3027
  originalFilename: string;
@@ -3054,7 +3061,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3054
3061
  }[] | undefined>;
3055
3062
  eventId: string;
3056
3063
  transactionId: string;
3057
- metadata?: Record<string, string | number | boolean | {
3064
+ annotation?: Record<string, string | number | boolean | {
3058
3065
  type: string;
3059
3066
  filename: string;
3060
3067
  originalFilename: string;
@@ -3092,8 +3099,9 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3092
3099
  filename: string;
3093
3100
  originalFilename: string;
3094
3101
  }[] | undefined> | undefined;
3102
+ originalActionId?: string | undefined;
3095
3103
  }, {
3096
- data: Record<string, string | number | boolean | {
3104
+ declaration: Record<string, string | number | boolean | {
3097
3105
  type: string;
3098
3106
  filename: string;
3099
3107
  originalFilename: string;
@@ -3134,7 +3142,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3134
3142
  eventId: string;
3135
3143
  transactionId: string;
3136
3144
  type?: "MARKED_AS_DUPLICATE" | undefined;
3137
- metadata?: Record<string, string | number | boolean | {
3145
+ annotation?: Record<string, string | number | boolean | {
3138
3146
  type: string;
3139
3147
  filename: string;
3140
3148
  originalFilename: string;
@@ -3172,12 +3180,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3172
3180
  filename: string;
3173
3181
  originalFilename: string;
3174
3182
  }[] | undefined> | undefined;
3183
+ originalActionId?: string | undefined;
3175
3184
  }>;
3176
3185
  export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
3186
  export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
3187
  eventId: z.ZodString;
3179
3188
  transactionId: z.ZodString;
3180
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3189
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3181
3190
  filename: z.ZodString;
3182
3191
  originalFilename: z.ZodString;
3183
3192
  type: z.ZodString;
@@ -3291,7 +3300,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3291
3300
  addressLine3?: string | null | undefined;
3292
3301
  postcodeOrZip?: string | null | undefined;
3293
3302
  }>]>>;
3294
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3303
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3295
3304
  filename: z.ZodString;
3296
3305
  originalFilename: z.ZodString;
3297
3306
  type: z.ZodString;
@@ -3405,11 +3414,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
3414
  addressLine3?: string | null | undefined;
3406
3415
  postcodeOrZip?: string | null | undefined;
3407
3416
  }>]>>>;
3417
+ originalActionId: z.ZodOptional<z.ZodString>;
3408
3418
  }, {
3409
3419
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
3410
3420
  }>, "strip", z.ZodTypeAny, {
3411
3421
  type: "ARCHIVE";
3412
- data: Record<string, string | number | boolean | {
3422
+ declaration: Record<string, string | number | boolean | {
3413
3423
  type: string;
3414
3424
  filename: string;
3415
3425
  originalFilename: string;
@@ -3449,7 +3459,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3449
3459
  }[] | undefined>;
3450
3460
  eventId: string;
3451
3461
  transactionId: string;
3452
- metadata?: Record<string, string | number | boolean | {
3462
+ annotation?: Record<string, string | number | boolean | {
3453
3463
  type: string;
3454
3464
  filename: string;
3455
3465
  originalFilename: string;
@@ -3487,8 +3497,9 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3487
3497
  filename: string;
3488
3498
  originalFilename: string;
3489
3499
  }[] | undefined> | undefined;
3500
+ originalActionId?: string | undefined;
3490
3501
  }, {
3491
- data: Record<string, string | number | boolean | {
3502
+ declaration: Record<string, string | number | boolean | {
3492
3503
  type: string;
3493
3504
  filename: string;
3494
3505
  originalFilename: string;
@@ -3529,7 +3540,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3529
3540
  eventId: string;
3530
3541
  transactionId: string;
3531
3542
  type?: "ARCHIVE" | undefined;
3532
- metadata?: Record<string, string | number | boolean | {
3543
+ annotation?: Record<string, string | number | boolean | {
3533
3544
  type: string;
3534
3545
  filename: string;
3535
3546
  originalFilename: string;
@@ -3567,12 +3578,13 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3567
3578
  filename: string;
3568
3579
  originalFilename: string;
3569
3580
  }[] | undefined> | undefined;
3581
+ originalActionId?: string | undefined;
3570
3582
  }>;
3571
3583
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3572
3584
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
3585
  eventId: z.ZodString;
3574
3586
  transactionId: z.ZodString;
3575
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3587
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3576
3588
  filename: z.ZodString;
3577
3589
  originalFilename: z.ZodString;
3578
3590
  type: z.ZodString;
@@ -3686,7 +3698,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3686
3698
  addressLine3?: string | null | undefined;
3687
3699
  postcodeOrZip?: string | null | undefined;
3688
3700
  }>]>>;
3689
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3701
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3690
3702
  filename: z.ZodString;
3691
3703
  originalFilename: z.ZodString;
3692
3704
  type: z.ZodString;
@@ -3800,11 +3812,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
3812
  addressLine3?: string | null | undefined;
3801
3813
  postcodeOrZip?: string | null | undefined;
3802
3814
  }>]>>>;
3815
+ originalActionId: z.ZodOptional<z.ZodString>;
3803
3816
  }, {
3804
3817
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3805
3818
  }>, "strip", z.ZodTypeAny, {
3806
3819
  type: "REQUEST_CORRECTION";
3807
- data: Record<string, string | number | boolean | {
3820
+ declaration: Record<string, string | number | boolean | {
3808
3821
  type: string;
3809
3822
  filename: string;
3810
3823
  originalFilename: string;
@@ -3844,7 +3857,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3844
3857
  }[] | undefined>;
3845
3858
  eventId: string;
3846
3859
  transactionId: string;
3847
- metadata?: Record<string, string | number | boolean | {
3860
+ annotation?: Record<string, string | number | boolean | {
3848
3861
  type: string;
3849
3862
  filename: string;
3850
3863
  originalFilename: string;
@@ -3882,8 +3895,9 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3882
3895
  filename: string;
3883
3896
  originalFilename: string;
3884
3897
  }[] | undefined> | undefined;
3898
+ originalActionId?: string | undefined;
3885
3899
  }, {
3886
- data: Record<string, string | number | boolean | {
3900
+ declaration: Record<string, string | number | boolean | {
3887
3901
  type: string;
3888
3902
  filename: string;
3889
3903
  originalFilename: string;
@@ -3924,7 +3938,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3924
3938
  eventId: string;
3925
3939
  transactionId: string;
3926
3940
  type?: "REQUEST_CORRECTION" | undefined;
3927
- metadata?: Record<string, string | number | boolean | {
3941
+ annotation?: Record<string, string | number | boolean | {
3928
3942
  type: string;
3929
3943
  filename: string;
3930
3944
  originalFilename: string;
@@ -3962,12 +3976,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3962
3976
  filename: string;
3963
3977
  originalFilename: string;
3964
3978
  }[] | undefined> | undefined;
3979
+ originalActionId?: string | undefined;
3965
3980
  }>;
3966
3981
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
3982
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
3983
  eventId: z.ZodString;
3969
3984
  transactionId: z.ZodString;
3970
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3985
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3971
3986
  filename: z.ZodString;
3972
3987
  originalFilename: z.ZodString;
3973
3988
  type: z.ZodString;
@@ -4081,7 +4096,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4081
4096
  addressLine3?: string | null | undefined;
4082
4097
  postcodeOrZip?: string | null | undefined;
4083
4098
  }>]>>;
4084
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4099
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4085
4100
  filename: z.ZodString;
4086
4101
  originalFilename: z.ZodString;
4087
4102
  type: z.ZodString;
@@ -4195,12 +4210,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
4210
  addressLine3?: string | null | undefined;
4196
4211
  postcodeOrZip?: string | null | undefined;
4197
4212
  }>]>>>;
4213
+ originalActionId: z.ZodOptional<z.ZodString>;
4198
4214
  }, {
4199
4215
  requestId: z.ZodString;
4200
4216
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4201
4217
  }>, "strip", z.ZodTypeAny, {
4202
4218
  type: "REJECT_CORRECTION";
4203
- data: Record<string, string | number | boolean | {
4219
+ declaration: Record<string, string | number | boolean | {
4204
4220
  type: string;
4205
4221
  filename: string;
4206
4222
  originalFilename: string;
@@ -4241,7 +4257,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4241
4257
  requestId: string;
4242
4258
  eventId: string;
4243
4259
  transactionId: string;
4244
- metadata?: Record<string, string | number | boolean | {
4260
+ annotation?: Record<string, string | number | boolean | {
4245
4261
  type: string;
4246
4262
  filename: string;
4247
4263
  originalFilename: string;
@@ -4279,8 +4295,9 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4279
4295
  filename: string;
4280
4296
  originalFilename: string;
4281
4297
  }[] | undefined> | undefined;
4298
+ originalActionId?: string | undefined;
4282
4299
  }, {
4283
- data: Record<string, string | number | boolean | {
4300
+ declaration: Record<string, string | number | boolean | {
4284
4301
  type: string;
4285
4302
  filename: string;
4286
4303
  originalFilename: string;
@@ -4322,7 +4339,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4322
4339
  eventId: string;
4323
4340
  transactionId: string;
4324
4341
  type?: "REJECT_CORRECTION" | undefined;
4325
- metadata?: Record<string, string | number | boolean | {
4342
+ annotation?: Record<string, string | number | boolean | {
4326
4343
  type: string;
4327
4344
  filename: string;
4328
4345
  originalFilename: string;
@@ -4360,12 +4377,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4360
4377
  filename: string;
4361
4378
  originalFilename: string;
4362
4379
  }[] | undefined> | undefined;
4380
+ originalActionId?: string | undefined;
4363
4381
  }>;
4364
4382
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
4383
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
4384
  eventId: z.ZodString;
4367
4385
  transactionId: z.ZodString;
4368
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4386
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4369
4387
  filename: z.ZodString;
4370
4388
  originalFilename: z.ZodString;
4371
4389
  type: z.ZodString;
@@ -4479,7 +4497,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4479
4497
  addressLine3?: string | null | undefined;
4480
4498
  postcodeOrZip?: string | null | undefined;
4481
4499
  }>]>>;
4482
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4500
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4483
4501
  filename: z.ZodString;
4484
4502
  originalFilename: z.ZodString;
4485
4503
  type: z.ZodString;
@@ -4593,12 +4611,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
4611
  addressLine3?: string | null | undefined;
4594
4612
  postcodeOrZip?: string | null | undefined;
4595
4613
  }>]>>>;
4614
+ originalActionId: z.ZodOptional<z.ZodString>;
4596
4615
  }, {
4597
4616
  requestId: z.ZodString;
4598
4617
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4599
4618
  }>, "strip", z.ZodTypeAny, {
4600
4619
  type: "APPROVE_CORRECTION";
4601
- data: Record<string, string | number | boolean | {
4620
+ declaration: Record<string, string | number | boolean | {
4602
4621
  type: string;
4603
4622
  filename: string;
4604
4623
  originalFilename: string;
@@ -4639,7 +4658,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4639
4658
  requestId: string;
4640
4659
  eventId: string;
4641
4660
  transactionId: string;
4642
- metadata?: Record<string, string | number | boolean | {
4661
+ annotation?: Record<string, string | number | boolean | {
4643
4662
  type: string;
4644
4663
  filename: string;
4645
4664
  originalFilename: string;
@@ -4677,8 +4696,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4677
4696
  filename: string;
4678
4697
  originalFilename: string;
4679
4698
  }[] | undefined> | undefined;
4699
+ originalActionId?: string | undefined;
4680
4700
  }, {
4681
- data: Record<string, string | number | boolean | {
4701
+ declaration: Record<string, string | number | boolean | {
4682
4702
  type: string;
4683
4703
  filename: string;
4684
4704
  originalFilename: string;
@@ -4720,7 +4740,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4720
4740
  eventId: string;
4721
4741
  transactionId: string;
4722
4742
  type?: "APPROVE_CORRECTION" | undefined;
4723
- metadata?: Record<string, string | number | boolean | {
4743
+ annotation?: Record<string, string | number | boolean | {
4724
4744
  type: string;
4725
4745
  filename: string;
4726
4746
  originalFilename: string;
@@ -4758,20 +4778,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4758
4778
  filename: string;
4759
4779
  originalFilename: string;
4760
4780
  }[] | undefined> | undefined;
4781
+ originalActionId?: string | undefined;
4761
4782
  }>;
4762
4783
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
- /**
4764
- * ActionInput types are used to validate the input data for the action.
4765
- * In our use case, we use it directly with TRPC to validate the input data for the action.
4766
- * using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
4767
- * without having to pass the type in the input data, when it's defined in the method.
4768
- *
4769
- * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
4770
- */
4771
- export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4784
+ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4772
4785
  eventId: z.ZodString;
4773
4786
  transactionId: z.ZodString;
4774
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4787
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4775
4788
  filename: z.ZodString;
4776
4789
  originalFilename: z.ZodString;
4777
4790
  type: z.ZodString;
@@ -4885,7 +4898,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4885
4898
  addressLine3?: string | null | undefined;
4886
4899
  postcodeOrZip?: string | null | undefined;
4887
4900
  }>]>>;
4888
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4901
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4889
4902
  filename: z.ZodString;
4890
4903
  originalFilename: z.ZodString;
4891
4904
  type: z.ZodString;
@@ -4999,12 +5012,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
4999
5012
  addressLine3?: string | null | undefined;
5000
5013
  postcodeOrZip?: string | null | undefined;
5001
5014
  }>]>>>;
5015
+ originalActionId: z.ZodOptional<z.ZodString>;
5002
5016
  }, {
5003
- type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5004
- createdAtLocation: z.ZodString;
5017
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
5005
5018
  }>, "strip", z.ZodTypeAny, {
5006
- type: "CREATE";
5007
- data: Record<string, string | number | boolean | {
5019
+ type: "READ";
5020
+ declaration: Record<string, string | number | boolean | {
5008
5021
  type: string;
5009
5022
  filename: string;
5010
5023
  originalFilename: string;
@@ -5042,10 +5055,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5042
5055
  filename: string;
5043
5056
  originalFilename: string;
5044
5057
  }[] | undefined>;
5045
- createdAtLocation: string;
5046
5058
  eventId: string;
5047
5059
  transactionId: string;
5048
- metadata?: Record<string, string | number | boolean | {
5060
+ annotation?: Record<string, string | number | boolean | {
5049
5061
  type: string;
5050
5062
  filename: string;
5051
5063
  originalFilename: string;
@@ -5083,8 +5095,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5083
5095
  filename: string;
5084
5096
  originalFilename: string;
5085
5097
  }[] | undefined> | undefined;
5098
+ originalActionId?: string | undefined;
5086
5099
  }, {
5087
- data: Record<string, string | number | boolean | {
5100
+ declaration: Record<string, string | number | boolean | {
5088
5101
  type: string;
5089
5102
  filename: string;
5090
5103
  originalFilename: string;
@@ -5122,11 +5135,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5122
5135
  filename: string;
5123
5136
  originalFilename: string;
5124
5137
  }[] | undefined>;
5125
- createdAtLocation: string;
5126
5138
  eventId: string;
5127
5139
  transactionId: string;
5128
- type?: "CREATE" | undefined;
5129
- metadata?: Record<string, string | number | boolean | {
5140
+ type?: "READ" | undefined;
5141
+ annotation?: Record<string, string | number | boolean | {
5130
5142
  type: string;
5131
5143
  filename: string;
5132
5144
  originalFilename: string;
@@ -5164,10 +5176,21 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5164
5176
  filename: string;
5165
5177
  originalFilename: string;
5166
5178
  }[] | undefined> | undefined;
5167
- }>, z.ZodObject<z.objectUtil.extendShape<{
5179
+ originalActionId?: string | undefined;
5180
+ }>;
5181
+ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5182
+ /**
5183
+ * ActionInput types are used to validate the input data for the action.
5184
+ * In our use case, we use it directly with TRPC to validate the input data for the action.
5185
+ * using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
5186
+ * without having to pass the type in the input data, when it's defined in the method.
5187
+ *
5188
+ * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
5189
+ */
5190
+ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5168
5191
  eventId: z.ZodString;
5169
5192
  transactionId: z.ZodString;
5170
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5193
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5171
5194
  filename: z.ZodString;
5172
5195
  originalFilename: z.ZodString;
5173
5196
  type: z.ZodString;
@@ -5281,7 +5304,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5281
5304
  addressLine3?: string | null | undefined;
5282
5305
  postcodeOrZip?: string | null | undefined;
5283
5306
  }>]>>;
5284
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5307
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5285
5308
  filename: z.ZodString;
5286
5309
  originalFilename: z.ZodString;
5287
5310
  type: z.ZodString;
@@ -5395,12 +5418,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5395
5418
  addressLine3?: string | null | undefined;
5396
5419
  postcodeOrZip?: string | null | undefined;
5397
5420
  }>]>>>;
5421
+ originalActionId: z.ZodOptional<z.ZodString>;
5398
5422
  }, {
5399
- type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5400
- duplicates: z.ZodArray<z.ZodString, "many">;
5423
+ type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5424
+ createdAtLocation: z.ZodString;
5401
5425
  }>, "strip", z.ZodTypeAny, {
5402
- type: "VALIDATE";
5403
- data: Record<string, string | number | boolean | {
5426
+ type: "CREATE";
5427
+ declaration: Record<string, string | number | boolean | {
5404
5428
  type: string;
5405
5429
  filename: string;
5406
5430
  originalFilename: string;
@@ -5438,10 +5462,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5438
5462
  filename: string;
5439
5463
  originalFilename: string;
5440
5464
  }[] | undefined>;
5465
+ createdAtLocation: string;
5441
5466
  eventId: string;
5442
5467
  transactionId: string;
5443
- duplicates: string[];
5444
- metadata?: Record<string, string | number | boolean | {
5468
+ annotation?: Record<string, string | number | boolean | {
5445
5469
  type: string;
5446
5470
  filename: string;
5447
5471
  originalFilename: string;
@@ -5479,8 +5503,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5479
5503
  filename: string;
5480
5504
  originalFilename: string;
5481
5505
  }[] | undefined> | undefined;
5506
+ originalActionId?: string | undefined;
5482
5507
  }, {
5483
- data: Record<string, string | number | boolean | {
5508
+ declaration: Record<string, string | number | boolean | {
5484
5509
  type: string;
5485
5510
  filename: string;
5486
5511
  originalFilename: string;
@@ -5518,11 +5543,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5518
5543
  filename: string;
5519
5544
  originalFilename: string;
5520
5545
  }[] | undefined>;
5546
+ createdAtLocation: string;
5521
5547
  eventId: string;
5522
5548
  transactionId: string;
5523
- duplicates: string[];
5524
- type?: "VALIDATE" | undefined;
5525
- metadata?: Record<string, string | number | boolean | {
5549
+ type?: "CREATE" | undefined;
5550
+ annotation?: Record<string, string | number | boolean | {
5526
5551
  type: string;
5527
5552
  filename: string;
5528
5553
  originalFilename: string;
@@ -5560,10 +5585,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5560
5585
  filename: string;
5561
5586
  originalFilename: string;
5562
5587
  }[] | undefined> | undefined;
5588
+ originalActionId?: string | undefined;
5563
5589
  }>, z.ZodObject<z.objectUtil.extendShape<{
5564
5590
  eventId: z.ZodString;
5565
5591
  transactionId: z.ZodString;
5566
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5592
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5567
5593
  filename: z.ZodString;
5568
5594
  originalFilename: z.ZodString;
5569
5595
  type: z.ZodString;
@@ -5677,7 +5703,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5677
5703
  addressLine3?: string | null | undefined;
5678
5704
  postcodeOrZip?: string | null | undefined;
5679
5705
  }>]>>;
5680
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5706
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5681
5707
  filename: z.ZodString;
5682
5708
  originalFilename: z.ZodString;
5683
5709
  type: z.ZodString;
@@ -5791,21 +5817,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5791
5817
  addressLine3?: string | null | undefined;
5792
5818
  postcodeOrZip?: string | null | undefined;
5793
5819
  }>]>>>;
5820
+ originalActionId: z.ZodOptional<z.ZodString>;
5794
5821
  }, {
5795
- type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
5796
- identifiers: z.ZodObject<{
5797
- trackingId: z.ZodString;
5798
- registrationNumber: z.ZodString;
5799
- }, "strip", z.ZodTypeAny, {
5800
- trackingId: string;
5801
- registrationNumber: string;
5802
- }, {
5803
- trackingId: string;
5804
- registrationNumber: string;
5805
- }>;
5822
+ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5823
+ duplicates: z.ZodArray<z.ZodString, "many">;
5806
5824
  }>, "strip", z.ZodTypeAny, {
5807
- type: "REGISTER";
5808
- data: Record<string, string | number | boolean | {
5825
+ type: "VALIDATE";
5826
+ declaration: Record<string, string | number | boolean | {
5809
5827
  type: string;
5810
5828
  filename: string;
5811
5829
  originalFilename: string;
@@ -5843,13 +5861,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5843
5861
  filename: string;
5844
5862
  originalFilename: string;
5845
5863
  }[] | undefined>;
5846
- identifiers: {
5847
- trackingId: string;
5848
- registrationNumber: string;
5849
- };
5850
5864
  eventId: string;
5851
5865
  transactionId: string;
5852
- metadata?: Record<string, string | number | boolean | {
5866
+ duplicates: string[];
5867
+ annotation?: Record<string, string | number | boolean | {
5853
5868
  type: string;
5854
5869
  filename: string;
5855
5870
  originalFilename: string;
@@ -5887,8 +5902,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5887
5902
  filename: string;
5888
5903
  originalFilename: string;
5889
5904
  }[] | undefined> | undefined;
5905
+ originalActionId?: string | undefined;
5890
5906
  }, {
5891
- data: Record<string, string | number | boolean | {
5907
+ declaration: Record<string, string | number | boolean | {
5892
5908
  type: string;
5893
5909
  filename: string;
5894
5910
  originalFilename: string;
@@ -5926,14 +5942,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5926
5942
  filename: string;
5927
5943
  originalFilename: string;
5928
5944
  }[] | undefined>;
5929
- identifiers: {
5930
- trackingId: string;
5931
- registrationNumber: string;
5932
- };
5933
5945
  eventId: string;
5934
5946
  transactionId: string;
5935
- type?: "REGISTER" | undefined;
5936
- metadata?: Record<string, string | number | boolean | {
5947
+ duplicates: string[];
5948
+ type?: "VALIDATE" | undefined;
5949
+ annotation?: Record<string, string | number | boolean | {
5937
5950
  type: string;
5938
5951
  filename: string;
5939
5952
  originalFilename: string;
@@ -5971,10 +5984,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5971
5984
  filename: string;
5972
5985
  originalFilename: string;
5973
5986
  }[] | undefined> | undefined;
5987
+ originalActionId?: string | undefined;
5974
5988
  }>, z.ZodObject<z.objectUtil.extendShape<{
5975
5989
  eventId: z.ZodString;
5976
5990
  transactionId: z.ZodString;
5977
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5991
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5978
5992
  filename: z.ZodString;
5979
5993
  originalFilename: z.ZodString;
5980
5994
  type: z.ZodString;
@@ -6088,7 +6102,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6088
6102
  addressLine3?: string | null | undefined;
6089
6103
  postcodeOrZip?: string | null | undefined;
6090
6104
  }>]>>;
6091
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6105
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6092
6106
  filename: z.ZodString;
6093
6107
  originalFilename: z.ZodString;
6094
6108
  type: z.ZodString;
@@ -6202,11 +6216,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6202
6216
  addressLine3?: string | null | undefined;
6203
6217
  postcodeOrZip?: string | null | undefined;
6204
6218
  }>]>>>;
6219
+ originalActionId: z.ZodOptional<z.ZodString>;
6205
6220
  }, {
6206
- type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6221
+ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6222
+ registrationNumber: z.ZodOptional<z.ZodString>;
6207
6223
  }>, "strip", z.ZodTypeAny, {
6208
- type: "NOTIFY";
6209
- data: Record<string, string | number | boolean | {
6224
+ type: "REGISTER";
6225
+ declaration: Record<string, string | number | boolean | {
6210
6226
  type: string;
6211
6227
  filename: string;
6212
6228
  originalFilename: string;
@@ -6246,7 +6262,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6246
6262
  }[] | undefined>;
6247
6263
  eventId: string;
6248
6264
  transactionId: string;
6249
- metadata?: Record<string, string | number | boolean | {
6265
+ annotation?: Record<string, string | number | boolean | {
6250
6266
  type: string;
6251
6267
  filename: string;
6252
6268
  originalFilename: string;
@@ -6284,8 +6300,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6284
6300
  filename: string;
6285
6301
  originalFilename: string;
6286
6302
  }[] | undefined> | undefined;
6303
+ originalActionId?: string | undefined;
6304
+ registrationNumber?: string | undefined;
6287
6305
  }, {
6288
- data: Record<string, string | number | boolean | {
6306
+ declaration: Record<string, string | number | boolean | {
6289
6307
  type: string;
6290
6308
  filename: string;
6291
6309
  originalFilename: string;
@@ -6325,8 +6343,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6325
6343
  }[] | undefined>;
6326
6344
  eventId: string;
6327
6345
  transactionId: string;
6328
- type?: "NOTIFY" | undefined;
6329
- metadata?: Record<string, string | number | boolean | {
6346
+ type?: "REGISTER" | undefined;
6347
+ annotation?: Record<string, string | number | boolean | {
6330
6348
  type: string;
6331
6349
  filename: string;
6332
6350
  originalFilename: string;
@@ -6364,10 +6382,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6364
6382
  filename: string;
6365
6383
  originalFilename: string;
6366
6384
  }[] | undefined> | undefined;
6385
+ originalActionId?: string | undefined;
6386
+ registrationNumber?: string | undefined;
6367
6387
  }>, z.ZodObject<z.objectUtil.extendShape<{
6368
6388
  eventId: z.ZodString;
6369
6389
  transactionId: z.ZodString;
6370
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6390
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6371
6391
  filename: z.ZodString;
6372
6392
  originalFilename: z.ZodString;
6373
6393
  type: z.ZodString;
@@ -6481,7 +6501,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6481
6501
  addressLine3?: string | null | undefined;
6482
6502
  postcodeOrZip?: string | null | undefined;
6483
6503
  }>]>>;
6484
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6504
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6485
6505
  filename: z.ZodString;
6486
6506
  originalFilename: z.ZodString;
6487
6507
  type: z.ZodString;
@@ -6595,11 +6615,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6595
6615
  addressLine3?: string | null | undefined;
6596
6616
  postcodeOrZip?: string | null | undefined;
6597
6617
  }>]>>>;
6618
+ originalActionId: z.ZodOptional<z.ZodString>;
6598
6619
  }, {
6599
- type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6620
+ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6600
6621
  }>, "strip", z.ZodTypeAny, {
6601
- type: "DECLARE";
6602
- data: Record<string, string | number | boolean | {
6622
+ type: "NOTIFY";
6623
+ declaration: Record<string, string | number | boolean | {
6603
6624
  type: string;
6604
6625
  filename: string;
6605
6626
  originalFilename: string;
@@ -6639,7 +6660,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6639
6660
  }[] | undefined>;
6640
6661
  eventId: string;
6641
6662
  transactionId: string;
6642
- metadata?: Record<string, string | number | boolean | {
6663
+ annotation?: Record<string, string | number | boolean | {
6643
6664
  type: string;
6644
6665
  filename: string;
6645
6666
  originalFilename: string;
@@ -6677,8 +6698,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6677
6698
  filename: string;
6678
6699
  originalFilename: string;
6679
6700
  }[] | undefined> | undefined;
6701
+ originalActionId?: string | undefined;
6680
6702
  }, {
6681
- data: Record<string, string | number | boolean | {
6703
+ declaration: Record<string, string | number | boolean | {
6682
6704
  type: string;
6683
6705
  filename: string;
6684
6706
  originalFilename: string;
@@ -6718,8 +6740,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6718
6740
  }[] | undefined>;
6719
6741
  eventId: string;
6720
6742
  transactionId: string;
6721
- type?: "DECLARE" | undefined;
6722
- metadata?: Record<string, string | number | boolean | {
6743
+ type?: "NOTIFY" | undefined;
6744
+ annotation?: Record<string, string | number | boolean | {
6723
6745
  type: string;
6724
6746
  filename: string;
6725
6747
  originalFilename: string;
@@ -6757,10 +6779,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6757
6779
  filename: string;
6758
6780
  originalFilename: string;
6759
6781
  }[] | undefined> | undefined;
6782
+ originalActionId?: string | undefined;
6760
6783
  }>, z.ZodObject<z.objectUtil.extendShape<{
6761
6784
  eventId: z.ZodString;
6762
6785
  transactionId: z.ZodString;
6763
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6786
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6764
6787
  filename: z.ZodString;
6765
6788
  originalFilename: z.ZodString;
6766
6789
  type: z.ZodString;
@@ -6874,7 +6897,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6874
6897
  addressLine3?: string | null | undefined;
6875
6898
  postcodeOrZip?: string | null | undefined;
6876
6899
  }>]>>;
6877
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6900
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6878
6901
  filename: z.ZodString;
6879
6902
  originalFilename: z.ZodString;
6880
6903
  type: z.ZodString;
@@ -6988,11 +7011,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6988
7011
  addressLine3?: string | null | undefined;
6989
7012
  postcodeOrZip?: string | null | undefined;
6990
7013
  }>]>>>;
7014
+ originalActionId: z.ZodOptional<z.ZodString>;
6991
7015
  }, {
6992
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7016
+ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6993
7017
  }>, "strip", z.ZodTypeAny, {
6994
- type: "REJECT";
6995
- data: Record<string, string | number | boolean | {
7018
+ type: "DECLARE";
7019
+ declaration: Record<string, string | number | boolean | {
6996
7020
  type: string;
6997
7021
  filename: string;
6998
7022
  originalFilename: string;
@@ -7032,7 +7056,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7032
7056
  }[] | undefined>;
7033
7057
  eventId: string;
7034
7058
  transactionId: string;
7035
- metadata?: Record<string, string | number | boolean | {
7059
+ annotation?: Record<string, string | number | boolean | {
7036
7060
  type: string;
7037
7061
  filename: string;
7038
7062
  originalFilename: string;
@@ -7070,8 +7094,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7070
7094
  filename: string;
7071
7095
  originalFilename: string;
7072
7096
  }[] | undefined> | undefined;
7097
+ originalActionId?: string | undefined;
7073
7098
  }, {
7074
- data: Record<string, string | number | boolean | {
7099
+ declaration: Record<string, string | number | boolean | {
7075
7100
  type: string;
7076
7101
  filename: string;
7077
7102
  originalFilename: string;
@@ -7111,8 +7136,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7111
7136
  }[] | undefined>;
7112
7137
  eventId: string;
7113
7138
  transactionId: string;
7114
- type?: "REJECT" | undefined;
7115
- metadata?: Record<string, string | number | boolean | {
7139
+ type?: "DECLARE" | undefined;
7140
+ annotation?: Record<string, string | number | boolean | {
7116
7141
  type: string;
7117
7142
  filename: string;
7118
7143
  originalFilename: string;
@@ -7150,10 +7175,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7150
7175
  filename: string;
7151
7176
  originalFilename: string;
7152
7177
  }[] | undefined> | undefined;
7178
+ originalActionId?: string | undefined;
7153
7179
  }>, z.ZodObject<z.objectUtil.extendShape<{
7154
7180
  eventId: z.ZodString;
7155
7181
  transactionId: z.ZodString;
7156
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7182
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7157
7183
  filename: z.ZodString;
7158
7184
  originalFilename: z.ZodString;
7159
7185
  type: z.ZodString;
@@ -7267,7 +7293,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7267
7293
  addressLine3?: string | null | undefined;
7268
7294
  postcodeOrZip?: string | null | undefined;
7269
7295
  }>]>>;
7270
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7296
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7271
7297
  filename: z.ZodString;
7272
7298
  originalFilename: z.ZodString;
7273
7299
  type: z.ZodString;
@@ -7381,11 +7407,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7381
7407
  addressLine3?: string | null | undefined;
7382
7408
  postcodeOrZip?: string | null | undefined;
7383
7409
  }>]>>>;
7410
+ originalActionId: z.ZodOptional<z.ZodString>;
7384
7411
  }, {
7385
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7412
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7386
7413
  }>, "strip", z.ZodTypeAny, {
7387
- type: "MARKED_AS_DUPLICATE";
7388
- data: Record<string, string | number | boolean | {
7414
+ type: "REJECT";
7415
+ declaration: Record<string, string | number | boolean | {
7389
7416
  type: string;
7390
7417
  filename: string;
7391
7418
  originalFilename: string;
@@ -7425,7 +7452,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7425
7452
  }[] | undefined>;
7426
7453
  eventId: string;
7427
7454
  transactionId: string;
7428
- metadata?: Record<string, string | number | boolean | {
7455
+ annotation?: Record<string, string | number | boolean | {
7429
7456
  type: string;
7430
7457
  filename: string;
7431
7458
  originalFilename: string;
@@ -7463,8 +7490,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7463
7490
  filename: string;
7464
7491
  originalFilename: string;
7465
7492
  }[] | undefined> | undefined;
7493
+ originalActionId?: string | undefined;
7466
7494
  }, {
7467
- data: Record<string, string | number | boolean | {
7495
+ declaration: Record<string, string | number | boolean | {
7468
7496
  type: string;
7469
7497
  filename: string;
7470
7498
  originalFilename: string;
@@ -7504,8 +7532,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7504
7532
  }[] | undefined>;
7505
7533
  eventId: string;
7506
7534
  transactionId: string;
7507
- type?: "MARKED_AS_DUPLICATE" | undefined;
7508
- metadata?: Record<string, string | number | boolean | {
7535
+ type?: "REJECT" | undefined;
7536
+ annotation?: Record<string, string | number | boolean | {
7509
7537
  type: string;
7510
7538
  filename: string;
7511
7539
  originalFilename: string;
@@ -7543,10 +7571,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7543
7571
  filename: string;
7544
7572
  originalFilename: string;
7545
7573
  }[] | undefined> | undefined;
7574
+ originalActionId?: string | undefined;
7546
7575
  }>, z.ZodObject<z.objectUtil.extendShape<{
7547
7576
  eventId: z.ZodString;
7548
7577
  transactionId: z.ZodString;
7549
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7578
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7550
7579
  filename: z.ZodString;
7551
7580
  originalFilename: z.ZodString;
7552
7581
  type: z.ZodString;
@@ -7660,7 +7689,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7660
7689
  addressLine3?: string | null | undefined;
7661
7690
  postcodeOrZip?: string | null | undefined;
7662
7691
  }>]>>;
7663
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7692
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7664
7693
  filename: z.ZodString;
7665
7694
  originalFilename: z.ZodString;
7666
7695
  type: z.ZodString;
@@ -7774,11 +7803,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7774
7803
  addressLine3?: string | null | undefined;
7775
7804
  postcodeOrZip?: string | null | undefined;
7776
7805
  }>]>>>;
7806
+ originalActionId: z.ZodOptional<z.ZodString>;
7777
7807
  }, {
7778
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
7808
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7779
7809
  }>, "strip", z.ZodTypeAny, {
7780
- type: "ARCHIVE";
7781
- data: Record<string, string | number | boolean | {
7810
+ type: "MARKED_AS_DUPLICATE";
7811
+ declaration: Record<string, string | number | boolean | {
7782
7812
  type: string;
7783
7813
  filename: string;
7784
7814
  originalFilename: string;
@@ -7818,7 +7848,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7818
7848
  }[] | undefined>;
7819
7849
  eventId: string;
7820
7850
  transactionId: string;
7821
- metadata?: Record<string, string | number | boolean | {
7851
+ annotation?: Record<string, string | number | boolean | {
7822
7852
  type: string;
7823
7853
  filename: string;
7824
7854
  originalFilename: string;
@@ -7856,8 +7886,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7856
7886
  filename: string;
7857
7887
  originalFilename: string;
7858
7888
  }[] | undefined> | undefined;
7889
+ originalActionId?: string | undefined;
7859
7890
  }, {
7860
- data: Record<string, string | number | boolean | {
7891
+ declaration: Record<string, string | number | boolean | {
7861
7892
  type: string;
7862
7893
  filename: string;
7863
7894
  originalFilename: string;
@@ -7897,8 +7928,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7897
7928
  }[] | undefined>;
7898
7929
  eventId: string;
7899
7930
  transactionId: string;
7900
- type?: "ARCHIVE" | undefined;
7901
- metadata?: Record<string, string | number | boolean | {
7931
+ type?: "MARKED_AS_DUPLICATE" | undefined;
7932
+ annotation?: Record<string, string | number | boolean | {
7902
7933
  type: string;
7903
7934
  filename: string;
7904
7935
  originalFilename: string;
@@ -7936,10 +7967,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7936
7967
  filename: string;
7937
7968
  originalFilename: string;
7938
7969
  }[] | undefined> | undefined;
7970
+ originalActionId?: string | undefined;
7939
7971
  }>, z.ZodObject<z.objectUtil.extendShape<{
7940
7972
  eventId: z.ZodString;
7941
7973
  transactionId: z.ZodString;
7942
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7974
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7943
7975
  filename: z.ZodString;
7944
7976
  originalFilename: z.ZodString;
7945
7977
  type: z.ZodString;
@@ -8053,7 +8085,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8053
8085
  addressLine3?: string | null | undefined;
8054
8086
  postcodeOrZip?: string | null | undefined;
8055
8087
  }>]>>;
8056
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8088
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8057
8089
  filename: z.ZodString;
8058
8090
  originalFilename: z.ZodString;
8059
8091
  type: z.ZodString;
@@ -8167,12 +8199,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8167
8199
  addressLine3?: string | null | undefined;
8168
8200
  postcodeOrZip?: string | null | undefined;
8169
8201
  }>]>>>;
8202
+ originalActionId: z.ZodOptional<z.ZodString>;
8170
8203
  }, {
8171
- type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8172
- assignedTo: z.ZodString;
8204
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8173
8205
  }>, "strip", z.ZodTypeAny, {
8174
- type: "ASSIGN";
8175
- data: Record<string, string | number | boolean | {
8206
+ type: "ARCHIVE";
8207
+ declaration: Record<string, string | number | boolean | {
8176
8208
  type: string;
8177
8209
  filename: string;
8178
8210
  originalFilename: string;
@@ -8210,10 +8242,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8210
8242
  filename: string;
8211
8243
  originalFilename: string;
8212
8244
  }[] | undefined>;
8213
- assignedTo: string;
8214
8245
  eventId: string;
8215
8246
  transactionId: string;
8216
- metadata?: Record<string, string | number | boolean | {
8247
+ annotation?: Record<string, string | number | boolean | {
8217
8248
  type: string;
8218
8249
  filename: string;
8219
8250
  originalFilename: string;
@@ -8251,8 +8282,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
8282
  filename: string;
8252
8283
  originalFilename: string;
8253
8284
  }[] | undefined> | undefined;
8285
+ originalActionId?: string | undefined;
8254
8286
  }, {
8255
- data: Record<string, string | number | boolean | {
8287
+ declaration: Record<string, string | number | boolean | {
8256
8288
  type: string;
8257
8289
  filename: string;
8258
8290
  originalFilename: string;
@@ -8290,11 +8322,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8290
8322
  filename: string;
8291
8323
  originalFilename: string;
8292
8324
  }[] | undefined>;
8293
- assignedTo: string;
8294
8325
  eventId: string;
8295
8326
  transactionId: string;
8296
- type?: "ASSIGN" | undefined;
8297
- metadata?: Record<string, string | number | boolean | {
8327
+ type?: "ARCHIVE" | undefined;
8328
+ annotation?: Record<string, string | number | boolean | {
8298
8329
  type: string;
8299
8330
  filename: string;
8300
8331
  originalFilename: string;
@@ -8332,10 +8363,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8332
8363
  filename: string;
8333
8364
  originalFilename: string;
8334
8365
  }[] | undefined> | undefined;
8366
+ originalActionId?: string | undefined;
8335
8367
  }>, z.ZodObject<z.objectUtil.extendShape<{
8336
8368
  eventId: z.ZodString;
8337
8369
  transactionId: z.ZodString;
8338
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8370
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8339
8371
  filename: z.ZodString;
8340
8372
  originalFilename: z.ZodString;
8341
8373
  type: z.ZodString;
@@ -8449,7 +8481,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8449
8481
  addressLine3?: string | null | undefined;
8450
8482
  postcodeOrZip?: string | null | undefined;
8451
8483
  }>]>>;
8452
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8484
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8453
8485
  filename: z.ZodString;
8454
8486
  originalFilename: z.ZodString;
8455
8487
  type: z.ZodString;
@@ -8563,11 +8595,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8563
8595
  addressLine3?: string | null | undefined;
8564
8596
  postcodeOrZip?: string | null | undefined;
8565
8597
  }>]>>>;
8598
+ originalActionId: z.ZodOptional<z.ZodString>;
8566
8599
  }, {
8567
- type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
8600
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8601
+ assignedTo: z.ZodString;
8568
8602
  }>, "strip", z.ZodTypeAny, {
8569
- type: "UNASSIGN";
8570
- data: Record<string, string | number | boolean | {
8603
+ type: "ASSIGN";
8604
+ declaration: Record<string, string | number | boolean | {
8571
8605
  type: string;
8572
8606
  filename: string;
8573
8607
  originalFilename: string;
@@ -8605,9 +8639,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8605
8639
  filename: string;
8606
8640
  originalFilename: string;
8607
8641
  }[] | undefined>;
8642
+ assignedTo: string;
8608
8643
  eventId: string;
8609
8644
  transactionId: string;
8610
- metadata?: Record<string, string | number | boolean | {
8645
+ annotation?: Record<string, string | number | boolean | {
8611
8646
  type: string;
8612
8647
  filename: string;
8613
8648
  originalFilename: string;
@@ -8645,8 +8680,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8645
8680
  filename: string;
8646
8681
  originalFilename: string;
8647
8682
  }[] | undefined> | undefined;
8683
+ originalActionId?: string | undefined;
8648
8684
  }, {
8649
- data: Record<string, string | number | boolean | {
8685
+ declaration: Record<string, string | number | boolean | {
8650
8686
  type: string;
8651
8687
  filename: string;
8652
8688
  originalFilename: string;
@@ -8684,10 +8720,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8684
8720
  filename: string;
8685
8721
  originalFilename: string;
8686
8722
  }[] | undefined>;
8723
+ assignedTo: string;
8687
8724
  eventId: string;
8688
8725
  transactionId: string;
8689
- type?: "UNASSIGN" | undefined;
8690
- metadata?: Record<string, string | number | boolean | {
8726
+ type?: "ASSIGN" | undefined;
8727
+ annotation?: Record<string, string | number | boolean | {
8691
8728
  type: string;
8692
8729
  filename: string;
8693
8730
  originalFilename: string;
@@ -8725,10 +8762,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8725
8762
  filename: string;
8726
8763
  originalFilename: string;
8727
8764
  }[] | undefined> | undefined;
8765
+ originalActionId?: string | undefined;
8728
8766
  }>, z.ZodObject<z.objectUtil.extendShape<{
8729
8767
  eventId: z.ZodString;
8730
8768
  transactionId: z.ZodString;
8731
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8769
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8732
8770
  filename: z.ZodString;
8733
8771
  originalFilename: z.ZodString;
8734
8772
  type: z.ZodString;
@@ -8842,7 +8880,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8842
8880
  addressLine3?: string | null | undefined;
8843
8881
  postcodeOrZip?: string | null | undefined;
8844
8882
  }>]>>;
8845
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8883
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8846
8884
  filename: z.ZodString;
8847
8885
  originalFilename: z.ZodString;
8848
8886
  type: z.ZodString;
@@ -8956,11 +8994,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8956
8994
  addressLine3?: string | null | undefined;
8957
8995
  postcodeOrZip?: string | null | undefined;
8958
8996
  }>]>>>;
8997
+ originalActionId: z.ZodOptional<z.ZodString>;
8959
8998
  }, {
8960
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
8999
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
8961
9000
  }>, "strip", z.ZodTypeAny, {
8962
- type: "PRINT_CERTIFICATE";
8963
- data: Record<string, string | number | boolean | {
9001
+ type: "UNASSIGN";
9002
+ declaration: Record<string, string | number | boolean | {
8964
9003
  type: string;
8965
9004
  filename: string;
8966
9005
  originalFilename: string;
@@ -9000,7 +9039,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9000
9039
  }[] | undefined>;
9001
9040
  eventId: string;
9002
9041
  transactionId: string;
9003
- metadata?: Record<string, string | number | boolean | {
9042
+ annotation?: Record<string, string | number | boolean | {
9004
9043
  type: string;
9005
9044
  filename: string;
9006
9045
  originalFilename: string;
@@ -9038,8 +9077,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9038
9077
  filename: string;
9039
9078
  originalFilename: string;
9040
9079
  }[] | undefined> | undefined;
9080
+ originalActionId?: string | undefined;
9041
9081
  }, {
9042
- data: Record<string, string | number | boolean | {
9082
+ declaration: Record<string, string | number | boolean | {
9043
9083
  type: string;
9044
9084
  filename: string;
9045
9085
  originalFilename: string;
@@ -9079,8 +9119,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9079
9119
  }[] | undefined>;
9080
9120
  eventId: string;
9081
9121
  transactionId: string;
9082
- type?: "PRINT_CERTIFICATE" | undefined;
9083
- metadata?: Record<string, string | number | boolean | {
9122
+ type?: "UNASSIGN" | undefined;
9123
+ annotation?: Record<string, string | number | boolean | {
9084
9124
  type: string;
9085
9125
  filename: string;
9086
9126
  originalFilename: string;
@@ -9118,10 +9158,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9118
9158
  filename: string;
9119
9159
  originalFilename: string;
9120
9160
  }[] | undefined> | undefined;
9161
+ originalActionId?: string | undefined;
9121
9162
  }>, z.ZodObject<z.objectUtil.extendShape<{
9122
9163
  eventId: z.ZodString;
9123
9164
  transactionId: z.ZodString;
9124
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9165
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9125
9166
  filename: z.ZodString;
9126
9167
  originalFilename: z.ZodString;
9127
9168
  type: z.ZodString;
@@ -9235,7 +9276,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9235
9276
  addressLine3?: string | null | undefined;
9236
9277
  postcodeOrZip?: string | null | undefined;
9237
9278
  }>]>>;
9238
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9279
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9239
9280
  filename: z.ZodString;
9240
9281
  originalFilename: z.ZodString;
9241
9282
  type: z.ZodString;
@@ -9349,11 +9390,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9349
9390
  addressLine3?: string | null | undefined;
9350
9391
  postcodeOrZip?: string | null | undefined;
9351
9392
  }>]>>>;
9393
+ originalActionId: z.ZodOptional<z.ZodString>;
9352
9394
  }, {
9353
- type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9395
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9354
9396
  }>, "strip", z.ZodTypeAny, {
9355
- type: "REQUEST_CORRECTION";
9356
- data: Record<string, string | number | boolean | {
9397
+ type: "PRINT_CERTIFICATE";
9398
+ declaration: Record<string, string | number | boolean | {
9357
9399
  type: string;
9358
9400
  filename: string;
9359
9401
  originalFilename: string;
@@ -9393,7 +9435,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9393
9435
  }[] | undefined>;
9394
9436
  eventId: string;
9395
9437
  transactionId: string;
9396
- metadata?: Record<string, string | number | boolean | {
9438
+ annotation?: Record<string, string | number | boolean | {
9397
9439
  type: string;
9398
9440
  filename: string;
9399
9441
  originalFilename: string;
@@ -9431,8 +9473,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9431
9473
  filename: string;
9432
9474
  originalFilename: string;
9433
9475
  }[] | undefined> | undefined;
9476
+ originalActionId?: string | undefined;
9434
9477
  }, {
9435
- data: Record<string, string | number | boolean | {
9478
+ declaration: Record<string, string | number | boolean | {
9436
9479
  type: string;
9437
9480
  filename: string;
9438
9481
  originalFilename: string;
@@ -9472,8 +9515,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9472
9515
  }[] | undefined>;
9473
9516
  eventId: string;
9474
9517
  transactionId: string;
9475
- type?: "REQUEST_CORRECTION" | undefined;
9476
- metadata?: Record<string, string | number | boolean | {
9518
+ type?: "PRINT_CERTIFICATE" | undefined;
9519
+ annotation?: Record<string, string | number | boolean | {
9477
9520
  type: string;
9478
9521
  filename: string;
9479
9522
  originalFilename: string;
@@ -9511,10 +9554,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9511
9554
  filename: string;
9512
9555
  originalFilename: string;
9513
9556
  }[] | undefined> | undefined;
9557
+ originalActionId?: string | undefined;
9514
9558
  }>, z.ZodObject<z.objectUtil.extendShape<{
9515
9559
  eventId: z.ZodString;
9516
9560
  transactionId: z.ZodString;
9517
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9561
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9518
9562
  filename: z.ZodString;
9519
9563
  originalFilename: z.ZodString;
9520
9564
  type: z.ZodString;
@@ -9628,7 +9672,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9628
9672
  addressLine3?: string | null | undefined;
9629
9673
  postcodeOrZip?: string | null | undefined;
9630
9674
  }>]>>;
9631
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9675
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9632
9676
  filename: z.ZodString;
9633
9677
  originalFilename: z.ZodString;
9634
9678
  type: z.ZodString;
@@ -9742,12 +9786,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9742
9786
  addressLine3?: string | null | undefined;
9743
9787
  postcodeOrZip?: string | null | undefined;
9744
9788
  }>]>>>;
9789
+ originalActionId: z.ZodOptional<z.ZodString>;
9745
9790
  }, {
9746
- requestId: z.ZodString;
9747
- type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
9791
+ type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9748
9792
  }>, "strip", z.ZodTypeAny, {
9749
- type: "REJECT_CORRECTION";
9750
- data: Record<string, string | number | boolean | {
9793
+ type: "REQUEST_CORRECTION";
9794
+ declaration: Record<string, string | number | boolean | {
9751
9795
  type: string;
9752
9796
  filename: string;
9753
9797
  originalFilename: string;
@@ -9785,10 +9829,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9785
9829
  filename: string;
9786
9830
  originalFilename: string;
9787
9831
  }[] | undefined>;
9788
- requestId: string;
9789
9832
  eventId: string;
9790
9833
  transactionId: string;
9791
- metadata?: Record<string, string | number | boolean | {
9834
+ annotation?: Record<string, string | number | boolean | {
9792
9835
  type: string;
9793
9836
  filename: string;
9794
9837
  originalFilename: string;
@@ -9826,8 +9869,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9826
9869
  filename: string;
9827
9870
  originalFilename: string;
9828
9871
  }[] | undefined> | undefined;
9872
+ originalActionId?: string | undefined;
9829
9873
  }, {
9830
- data: Record<string, string | number | boolean | {
9874
+ declaration: Record<string, string | number | boolean | {
9831
9875
  type: string;
9832
9876
  filename: string;
9833
9877
  originalFilename: string;
@@ -9865,11 +9909,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9865
9909
  filename: string;
9866
9910
  originalFilename: string;
9867
9911
  }[] | undefined>;
9868
- requestId: string;
9869
9912
  eventId: string;
9870
9913
  transactionId: string;
9871
- type?: "REJECT_CORRECTION" | undefined;
9872
- metadata?: Record<string, string | number | boolean | {
9914
+ type?: "REQUEST_CORRECTION" | undefined;
9915
+ annotation?: Record<string, string | number | boolean | {
9873
9916
  type: string;
9874
9917
  filename: string;
9875
9918
  originalFilename: string;
@@ -9907,10 +9950,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9907
9950
  filename: string;
9908
9951
  originalFilename: string;
9909
9952
  }[] | undefined> | undefined;
9953
+ originalActionId?: string | undefined;
9910
9954
  }>, z.ZodObject<z.objectUtil.extendShape<{
9911
9955
  eventId: z.ZodString;
9912
9956
  transactionId: z.ZodString;
9913
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9957
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9914
9958
  filename: z.ZodString;
9915
9959
  originalFilename: z.ZodString;
9916
9960
  type: z.ZodString;
@@ -10024,7 +10068,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10024
10068
  addressLine3?: string | null | undefined;
10025
10069
  postcodeOrZip?: string | null | undefined;
10026
10070
  }>]>>;
10027
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10071
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10028
10072
  filename: z.ZodString;
10029
10073
  originalFilename: z.ZodString;
10030
10074
  type: z.ZodString;
@@ -10138,12 +10182,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10138
10182
  addressLine3?: string | null | undefined;
10139
10183
  postcodeOrZip?: string | null | undefined;
10140
10184
  }>]>>>;
10185
+ originalActionId: z.ZodOptional<z.ZodString>;
10141
10186
  }, {
10142
10187
  requestId: z.ZodString;
10143
- type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10188
+ type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10144
10189
  }>, "strip", z.ZodTypeAny, {
10145
- type: "APPROVE_CORRECTION";
10146
- data: Record<string, string | number | boolean | {
10190
+ type: "REJECT_CORRECTION";
10191
+ declaration: Record<string, string | number | boolean | {
10147
10192
  type: string;
10148
10193
  filename: string;
10149
10194
  originalFilename: string;
@@ -10184,7 +10229,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10184
10229
  requestId: string;
10185
10230
  eventId: string;
10186
10231
  transactionId: string;
10187
- metadata?: Record<string, string | number | boolean | {
10232
+ annotation?: Record<string, string | number | boolean | {
10188
10233
  type: string;
10189
10234
  filename: string;
10190
10235
  originalFilename: string;
@@ -10222,8 +10267,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10222
10267
  filename: string;
10223
10268
  originalFilename: string;
10224
10269
  }[] | undefined> | undefined;
10270
+ originalActionId?: string | undefined;
10225
10271
  }, {
10226
- data: Record<string, string | number | boolean | {
10272
+ declaration: Record<string, string | number | boolean | {
10227
10273
  type: string;
10228
10274
  filename: string;
10229
10275
  originalFilename: string;
@@ -10264,8 +10310,803 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10264
10310
  requestId: string;
10265
10311
  eventId: string;
10266
10312
  transactionId: string;
10267
- type?: "APPROVE_CORRECTION" | undefined;
10268
- metadata?: Record<string, string | number | boolean | {
10313
+ type?: "REJECT_CORRECTION" | undefined;
10314
+ annotation?: Record<string, string | number | boolean | {
10315
+ type: string;
10316
+ filename: string;
10317
+ originalFilename: string;
10318
+ } | {
10319
+ country: string;
10320
+ district: string;
10321
+ addressType: "DOMESTIC";
10322
+ province: string;
10323
+ urbanOrRural: "URBAN";
10324
+ number?: string | null | undefined;
10325
+ town?: string | null | undefined;
10326
+ residentialArea?: string | null | undefined;
10327
+ street?: string | null | undefined;
10328
+ zipCode?: string | null | undefined;
10329
+ } | {
10330
+ country: string;
10331
+ district: string;
10332
+ addressType: "DOMESTIC";
10333
+ province: string;
10334
+ urbanOrRural: "RURAL";
10335
+ village?: string | null | undefined;
10336
+ } | {
10337
+ country: string;
10338
+ state: string;
10339
+ addressType: "INTERNATIONAL";
10340
+ district2: string;
10341
+ cityOrTown?: string | null | undefined;
10342
+ addressLine1?: string | null | undefined;
10343
+ addressLine2?: string | null | undefined;
10344
+ addressLine3?: string | null | undefined;
10345
+ postcodeOrZip?: string | null | undefined;
10346
+ } | {
10347
+ type: string;
10348
+ option: string;
10349
+ filename: string;
10350
+ originalFilename: string;
10351
+ }[] | undefined> | undefined;
10352
+ originalActionId?: string | undefined;
10353
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10354
+ eventId: z.ZodString;
10355
+ transactionId: z.ZodString;
10356
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10357
+ filename: z.ZodString;
10358
+ originalFilename: z.ZodString;
10359
+ type: z.ZodString;
10360
+ }, "strip", z.ZodTypeAny, {
10361
+ type: string;
10362
+ filename: string;
10363
+ originalFilename: string;
10364
+ }, {
10365
+ type: string;
10366
+ filename: string;
10367
+ originalFilename: string;
10368
+ }>, z.ZodArray<z.ZodObject<{
10369
+ filename: z.ZodString;
10370
+ originalFilename: z.ZodString;
10371
+ type: z.ZodString;
10372
+ option: z.ZodString;
10373
+ }, "strip", z.ZodTypeAny, {
10374
+ type: string;
10375
+ option: string;
10376
+ filename: string;
10377
+ originalFilename: string;
10378
+ }, {
10379
+ type: string;
10380
+ option: string;
10381
+ filename: string;
10382
+ originalFilename: string;
10383
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
10384
+ country: z.ZodString;
10385
+ addressType: z.ZodLiteral<"DOMESTIC">;
10386
+ province: z.ZodString;
10387
+ district: z.ZodString;
10388
+ }, {
10389
+ urbanOrRural: z.ZodLiteral<"URBAN">;
10390
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10391
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10392
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10393
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10394
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10395
+ }>, "strip", z.ZodTypeAny, {
10396
+ country: string;
10397
+ district: string;
10398
+ addressType: "DOMESTIC";
10399
+ province: string;
10400
+ urbanOrRural: "URBAN";
10401
+ number?: string | null | undefined;
10402
+ town?: string | null | undefined;
10403
+ residentialArea?: string | null | undefined;
10404
+ street?: string | null | undefined;
10405
+ zipCode?: string | null | undefined;
10406
+ }, {
10407
+ country: string;
10408
+ district: string;
10409
+ addressType: "DOMESTIC";
10410
+ province: string;
10411
+ urbanOrRural: "URBAN";
10412
+ number?: string | null | undefined;
10413
+ town?: string | null | undefined;
10414
+ residentialArea?: string | null | undefined;
10415
+ street?: string | null | undefined;
10416
+ zipCode?: string | null | undefined;
10417
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10418
+ country: z.ZodString;
10419
+ addressType: z.ZodLiteral<"DOMESTIC">;
10420
+ province: z.ZodString;
10421
+ district: z.ZodString;
10422
+ }, {
10423
+ urbanOrRural: z.ZodLiteral<"RURAL">;
10424
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10425
+ }>, "strip", z.ZodTypeAny, {
10426
+ country: string;
10427
+ district: string;
10428
+ addressType: "DOMESTIC";
10429
+ province: string;
10430
+ urbanOrRural: "RURAL";
10431
+ village?: string | null | undefined;
10432
+ }, {
10433
+ country: string;
10434
+ district: string;
10435
+ addressType: "DOMESTIC";
10436
+ province: string;
10437
+ urbanOrRural: "RURAL";
10438
+ village?: string | null | undefined;
10439
+ }>, z.ZodUndefined, z.ZodObject<{
10440
+ country: z.ZodString;
10441
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
10442
+ state: z.ZodString;
10443
+ district2: z.ZodString;
10444
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10445
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10446
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10447
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10448
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10449
+ }, "strip", z.ZodTypeAny, {
10450
+ country: string;
10451
+ state: string;
10452
+ addressType: "INTERNATIONAL";
10453
+ district2: string;
10454
+ cityOrTown?: string | null | undefined;
10455
+ addressLine1?: string | null | undefined;
10456
+ addressLine2?: string | null | undefined;
10457
+ addressLine3?: string | null | undefined;
10458
+ postcodeOrZip?: string | null | undefined;
10459
+ }, {
10460
+ country: string;
10461
+ state: string;
10462
+ addressType: "INTERNATIONAL";
10463
+ district2: string;
10464
+ cityOrTown?: string | null | undefined;
10465
+ addressLine1?: string | null | undefined;
10466
+ addressLine2?: string | null | undefined;
10467
+ addressLine3?: string | null | undefined;
10468
+ postcodeOrZip?: string | null | undefined;
10469
+ }>]>>;
10470
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10471
+ filename: z.ZodString;
10472
+ originalFilename: z.ZodString;
10473
+ type: z.ZodString;
10474
+ }, "strip", z.ZodTypeAny, {
10475
+ type: string;
10476
+ filename: string;
10477
+ originalFilename: string;
10478
+ }, {
10479
+ type: string;
10480
+ filename: string;
10481
+ originalFilename: string;
10482
+ }>, z.ZodArray<z.ZodObject<{
10483
+ filename: z.ZodString;
10484
+ originalFilename: z.ZodString;
10485
+ type: z.ZodString;
10486
+ option: z.ZodString;
10487
+ }, "strip", z.ZodTypeAny, {
10488
+ type: string;
10489
+ option: string;
10490
+ filename: string;
10491
+ originalFilename: string;
10492
+ }, {
10493
+ type: string;
10494
+ option: string;
10495
+ filename: string;
10496
+ originalFilename: string;
10497
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
10498
+ country: z.ZodString;
10499
+ addressType: z.ZodLiteral<"DOMESTIC">;
10500
+ province: z.ZodString;
10501
+ district: z.ZodString;
10502
+ }, {
10503
+ urbanOrRural: z.ZodLiteral<"URBAN">;
10504
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10505
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10506
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10507
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10508
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10509
+ }>, "strip", z.ZodTypeAny, {
10510
+ country: string;
10511
+ district: string;
10512
+ addressType: "DOMESTIC";
10513
+ province: string;
10514
+ urbanOrRural: "URBAN";
10515
+ number?: string | null | undefined;
10516
+ town?: string | null | undefined;
10517
+ residentialArea?: string | null | undefined;
10518
+ street?: string | null | undefined;
10519
+ zipCode?: string | null | undefined;
10520
+ }, {
10521
+ country: string;
10522
+ district: string;
10523
+ addressType: "DOMESTIC";
10524
+ province: string;
10525
+ urbanOrRural: "URBAN";
10526
+ number?: string | null | undefined;
10527
+ town?: string | null | undefined;
10528
+ residentialArea?: string | null | undefined;
10529
+ street?: string | null | undefined;
10530
+ zipCode?: string | null | undefined;
10531
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10532
+ country: z.ZodString;
10533
+ addressType: z.ZodLiteral<"DOMESTIC">;
10534
+ province: z.ZodString;
10535
+ district: z.ZodString;
10536
+ }, {
10537
+ urbanOrRural: z.ZodLiteral<"RURAL">;
10538
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10539
+ }>, "strip", z.ZodTypeAny, {
10540
+ country: string;
10541
+ district: string;
10542
+ addressType: "DOMESTIC";
10543
+ province: string;
10544
+ urbanOrRural: "RURAL";
10545
+ village?: string | null | undefined;
10546
+ }, {
10547
+ country: string;
10548
+ district: string;
10549
+ addressType: "DOMESTIC";
10550
+ province: string;
10551
+ urbanOrRural: "RURAL";
10552
+ village?: string | null | undefined;
10553
+ }>, z.ZodUndefined, z.ZodObject<{
10554
+ country: z.ZodString;
10555
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
10556
+ state: z.ZodString;
10557
+ district2: z.ZodString;
10558
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10559
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10560
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10561
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10562
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10563
+ }, "strip", z.ZodTypeAny, {
10564
+ country: string;
10565
+ state: string;
10566
+ addressType: "INTERNATIONAL";
10567
+ district2: string;
10568
+ cityOrTown?: string | null | undefined;
10569
+ addressLine1?: string | null | undefined;
10570
+ addressLine2?: string | null | undefined;
10571
+ addressLine3?: string | null | undefined;
10572
+ postcodeOrZip?: string | null | undefined;
10573
+ }, {
10574
+ country: string;
10575
+ state: string;
10576
+ addressType: "INTERNATIONAL";
10577
+ district2: string;
10578
+ cityOrTown?: string | null | undefined;
10579
+ addressLine1?: string | null | undefined;
10580
+ addressLine2?: string | null | undefined;
10581
+ addressLine3?: string | null | undefined;
10582
+ postcodeOrZip?: string | null | undefined;
10583
+ }>]>>>;
10584
+ originalActionId: z.ZodOptional<z.ZodString>;
10585
+ }, {
10586
+ requestId: z.ZodString;
10587
+ type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10588
+ }>, "strip", z.ZodTypeAny, {
10589
+ type: "APPROVE_CORRECTION";
10590
+ declaration: Record<string, string | number | boolean | {
10591
+ type: string;
10592
+ filename: string;
10593
+ originalFilename: string;
10594
+ } | {
10595
+ country: string;
10596
+ district: string;
10597
+ addressType: "DOMESTIC";
10598
+ province: string;
10599
+ urbanOrRural: "URBAN";
10600
+ number?: string | null | undefined;
10601
+ town?: string | null | undefined;
10602
+ residentialArea?: string | null | undefined;
10603
+ street?: string | null | undefined;
10604
+ zipCode?: string | null | undefined;
10605
+ } | {
10606
+ country: string;
10607
+ district: string;
10608
+ addressType: "DOMESTIC";
10609
+ province: string;
10610
+ urbanOrRural: "RURAL";
10611
+ village?: string | null | undefined;
10612
+ } | {
10613
+ country: string;
10614
+ state: string;
10615
+ addressType: "INTERNATIONAL";
10616
+ district2: string;
10617
+ cityOrTown?: string | null | undefined;
10618
+ addressLine1?: string | null | undefined;
10619
+ addressLine2?: string | null | undefined;
10620
+ addressLine3?: string | null | undefined;
10621
+ postcodeOrZip?: string | null | undefined;
10622
+ } | {
10623
+ type: string;
10624
+ option: string;
10625
+ filename: string;
10626
+ originalFilename: string;
10627
+ }[] | undefined>;
10628
+ requestId: string;
10629
+ eventId: string;
10630
+ transactionId: string;
10631
+ annotation?: Record<string, string | number | boolean | {
10632
+ type: string;
10633
+ filename: string;
10634
+ originalFilename: string;
10635
+ } | {
10636
+ country: string;
10637
+ district: string;
10638
+ addressType: "DOMESTIC";
10639
+ province: string;
10640
+ urbanOrRural: "URBAN";
10641
+ number?: string | null | undefined;
10642
+ town?: string | null | undefined;
10643
+ residentialArea?: string | null | undefined;
10644
+ street?: string | null | undefined;
10645
+ zipCode?: string | null | undefined;
10646
+ } | {
10647
+ country: string;
10648
+ district: string;
10649
+ addressType: "DOMESTIC";
10650
+ province: string;
10651
+ urbanOrRural: "RURAL";
10652
+ village?: string | null | undefined;
10653
+ } | {
10654
+ country: string;
10655
+ state: string;
10656
+ addressType: "INTERNATIONAL";
10657
+ district2: string;
10658
+ cityOrTown?: string | null | undefined;
10659
+ addressLine1?: string | null | undefined;
10660
+ addressLine2?: string | null | undefined;
10661
+ addressLine3?: string | null | undefined;
10662
+ postcodeOrZip?: string | null | undefined;
10663
+ } | {
10664
+ type: string;
10665
+ option: string;
10666
+ filename: string;
10667
+ originalFilename: string;
10668
+ }[] | undefined> | undefined;
10669
+ originalActionId?: string | undefined;
10670
+ }, {
10671
+ declaration: Record<string, string | number | boolean | {
10672
+ type: string;
10673
+ filename: string;
10674
+ originalFilename: string;
10675
+ } | {
10676
+ country: string;
10677
+ district: string;
10678
+ addressType: "DOMESTIC";
10679
+ province: string;
10680
+ urbanOrRural: "URBAN";
10681
+ number?: string | null | undefined;
10682
+ town?: string | null | undefined;
10683
+ residentialArea?: string | null | undefined;
10684
+ street?: string | null | undefined;
10685
+ zipCode?: string | null | undefined;
10686
+ } | {
10687
+ country: string;
10688
+ district: string;
10689
+ addressType: "DOMESTIC";
10690
+ province: string;
10691
+ urbanOrRural: "RURAL";
10692
+ village?: string | null | undefined;
10693
+ } | {
10694
+ country: string;
10695
+ state: string;
10696
+ addressType: "INTERNATIONAL";
10697
+ district2: string;
10698
+ cityOrTown?: string | null | undefined;
10699
+ addressLine1?: string | null | undefined;
10700
+ addressLine2?: string | null | undefined;
10701
+ addressLine3?: string | null | undefined;
10702
+ postcodeOrZip?: string | null | undefined;
10703
+ } | {
10704
+ type: string;
10705
+ option: string;
10706
+ filename: string;
10707
+ originalFilename: string;
10708
+ }[] | undefined>;
10709
+ requestId: string;
10710
+ eventId: string;
10711
+ transactionId: string;
10712
+ type?: "APPROVE_CORRECTION" | undefined;
10713
+ annotation?: Record<string, string | number | boolean | {
10714
+ type: string;
10715
+ filename: string;
10716
+ originalFilename: string;
10717
+ } | {
10718
+ country: string;
10719
+ district: string;
10720
+ addressType: "DOMESTIC";
10721
+ province: string;
10722
+ urbanOrRural: "URBAN";
10723
+ number?: string | null | undefined;
10724
+ town?: string | null | undefined;
10725
+ residentialArea?: string | null | undefined;
10726
+ street?: string | null | undefined;
10727
+ zipCode?: string | null | undefined;
10728
+ } | {
10729
+ country: string;
10730
+ district: string;
10731
+ addressType: "DOMESTIC";
10732
+ province: string;
10733
+ urbanOrRural: "RURAL";
10734
+ village?: string | null | undefined;
10735
+ } | {
10736
+ country: string;
10737
+ state: string;
10738
+ addressType: "INTERNATIONAL";
10739
+ district2: string;
10740
+ cityOrTown?: string | null | undefined;
10741
+ addressLine1?: string | null | undefined;
10742
+ addressLine2?: string | null | undefined;
10743
+ addressLine3?: string | null | undefined;
10744
+ postcodeOrZip?: string | null | undefined;
10745
+ } | {
10746
+ type: string;
10747
+ option: string;
10748
+ filename: string;
10749
+ originalFilename: string;
10750
+ }[] | undefined> | undefined;
10751
+ originalActionId?: string | undefined;
10752
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10753
+ eventId: z.ZodString;
10754
+ transactionId: z.ZodString;
10755
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10756
+ filename: z.ZodString;
10757
+ originalFilename: z.ZodString;
10758
+ type: z.ZodString;
10759
+ }, "strip", z.ZodTypeAny, {
10760
+ type: string;
10761
+ filename: string;
10762
+ originalFilename: string;
10763
+ }, {
10764
+ type: string;
10765
+ filename: string;
10766
+ originalFilename: string;
10767
+ }>, z.ZodArray<z.ZodObject<{
10768
+ filename: z.ZodString;
10769
+ originalFilename: z.ZodString;
10770
+ type: z.ZodString;
10771
+ option: z.ZodString;
10772
+ }, "strip", z.ZodTypeAny, {
10773
+ type: string;
10774
+ option: string;
10775
+ filename: string;
10776
+ originalFilename: string;
10777
+ }, {
10778
+ type: string;
10779
+ option: string;
10780
+ filename: string;
10781
+ originalFilename: string;
10782
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
10783
+ country: z.ZodString;
10784
+ addressType: z.ZodLiteral<"DOMESTIC">;
10785
+ province: z.ZodString;
10786
+ district: z.ZodString;
10787
+ }, {
10788
+ urbanOrRural: z.ZodLiteral<"URBAN">;
10789
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10790
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10791
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10792
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10793
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10794
+ }>, "strip", z.ZodTypeAny, {
10795
+ country: string;
10796
+ district: string;
10797
+ addressType: "DOMESTIC";
10798
+ province: string;
10799
+ urbanOrRural: "URBAN";
10800
+ number?: string | null | undefined;
10801
+ town?: string | null | undefined;
10802
+ residentialArea?: string | null | undefined;
10803
+ street?: string | null | undefined;
10804
+ zipCode?: string | null | undefined;
10805
+ }, {
10806
+ country: string;
10807
+ district: string;
10808
+ addressType: "DOMESTIC";
10809
+ province: string;
10810
+ urbanOrRural: "URBAN";
10811
+ number?: string | null | undefined;
10812
+ town?: string | null | undefined;
10813
+ residentialArea?: string | null | undefined;
10814
+ street?: string | null | undefined;
10815
+ zipCode?: string | null | undefined;
10816
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10817
+ country: z.ZodString;
10818
+ addressType: z.ZodLiteral<"DOMESTIC">;
10819
+ province: z.ZodString;
10820
+ district: z.ZodString;
10821
+ }, {
10822
+ urbanOrRural: z.ZodLiteral<"RURAL">;
10823
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10824
+ }>, "strip", z.ZodTypeAny, {
10825
+ country: string;
10826
+ district: string;
10827
+ addressType: "DOMESTIC";
10828
+ province: string;
10829
+ urbanOrRural: "RURAL";
10830
+ village?: string | null | undefined;
10831
+ }, {
10832
+ country: string;
10833
+ district: string;
10834
+ addressType: "DOMESTIC";
10835
+ province: string;
10836
+ urbanOrRural: "RURAL";
10837
+ village?: string | null | undefined;
10838
+ }>, z.ZodUndefined, z.ZodObject<{
10839
+ country: z.ZodString;
10840
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
10841
+ state: z.ZodString;
10842
+ district2: z.ZodString;
10843
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10844
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10845
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10846
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10847
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10848
+ }, "strip", z.ZodTypeAny, {
10849
+ country: string;
10850
+ state: string;
10851
+ addressType: "INTERNATIONAL";
10852
+ district2: string;
10853
+ cityOrTown?: string | null | undefined;
10854
+ addressLine1?: string | null | undefined;
10855
+ addressLine2?: string | null | undefined;
10856
+ addressLine3?: string | null | undefined;
10857
+ postcodeOrZip?: string | null | undefined;
10858
+ }, {
10859
+ country: string;
10860
+ state: string;
10861
+ addressType: "INTERNATIONAL";
10862
+ district2: string;
10863
+ cityOrTown?: string | null | undefined;
10864
+ addressLine1?: string | null | undefined;
10865
+ addressLine2?: string | null | undefined;
10866
+ addressLine3?: string | null | undefined;
10867
+ postcodeOrZip?: string | null | undefined;
10868
+ }>]>>;
10869
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10870
+ filename: z.ZodString;
10871
+ originalFilename: z.ZodString;
10872
+ type: z.ZodString;
10873
+ }, "strip", z.ZodTypeAny, {
10874
+ type: string;
10875
+ filename: string;
10876
+ originalFilename: string;
10877
+ }, {
10878
+ type: string;
10879
+ filename: string;
10880
+ originalFilename: string;
10881
+ }>, z.ZodArray<z.ZodObject<{
10882
+ filename: z.ZodString;
10883
+ originalFilename: z.ZodString;
10884
+ type: z.ZodString;
10885
+ option: z.ZodString;
10886
+ }, "strip", z.ZodTypeAny, {
10887
+ type: string;
10888
+ option: string;
10889
+ filename: string;
10890
+ originalFilename: string;
10891
+ }, {
10892
+ type: string;
10893
+ option: string;
10894
+ filename: string;
10895
+ originalFilename: string;
10896
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
10897
+ country: z.ZodString;
10898
+ addressType: z.ZodLiteral<"DOMESTIC">;
10899
+ province: z.ZodString;
10900
+ district: z.ZodString;
10901
+ }, {
10902
+ urbanOrRural: z.ZodLiteral<"URBAN">;
10903
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10904
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10905
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10906
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10907
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10908
+ }>, "strip", z.ZodTypeAny, {
10909
+ country: string;
10910
+ district: string;
10911
+ addressType: "DOMESTIC";
10912
+ province: string;
10913
+ urbanOrRural: "URBAN";
10914
+ number?: string | null | undefined;
10915
+ town?: string | null | undefined;
10916
+ residentialArea?: string | null | undefined;
10917
+ street?: string | null | undefined;
10918
+ zipCode?: string | null | undefined;
10919
+ }, {
10920
+ country: string;
10921
+ district: string;
10922
+ addressType: "DOMESTIC";
10923
+ province: string;
10924
+ urbanOrRural: "URBAN";
10925
+ number?: string | null | undefined;
10926
+ town?: string | null | undefined;
10927
+ residentialArea?: string | null | undefined;
10928
+ street?: string | null | undefined;
10929
+ zipCode?: string | null | undefined;
10930
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10931
+ country: z.ZodString;
10932
+ addressType: z.ZodLiteral<"DOMESTIC">;
10933
+ province: z.ZodString;
10934
+ district: z.ZodString;
10935
+ }, {
10936
+ urbanOrRural: z.ZodLiteral<"RURAL">;
10937
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10938
+ }>, "strip", z.ZodTypeAny, {
10939
+ country: string;
10940
+ district: string;
10941
+ addressType: "DOMESTIC";
10942
+ province: string;
10943
+ urbanOrRural: "RURAL";
10944
+ village?: string | null | undefined;
10945
+ }, {
10946
+ country: string;
10947
+ district: string;
10948
+ addressType: "DOMESTIC";
10949
+ province: string;
10950
+ urbanOrRural: "RURAL";
10951
+ village?: string | null | undefined;
10952
+ }>, z.ZodUndefined, z.ZodObject<{
10953
+ country: z.ZodString;
10954
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
10955
+ state: z.ZodString;
10956
+ district2: z.ZodString;
10957
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10958
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10959
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10960
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10961
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10962
+ }, "strip", z.ZodTypeAny, {
10963
+ country: string;
10964
+ state: string;
10965
+ addressType: "INTERNATIONAL";
10966
+ district2: string;
10967
+ cityOrTown?: string | null | undefined;
10968
+ addressLine1?: string | null | undefined;
10969
+ addressLine2?: string | null | undefined;
10970
+ addressLine3?: string | null | undefined;
10971
+ postcodeOrZip?: string | null | undefined;
10972
+ }, {
10973
+ country: string;
10974
+ state: string;
10975
+ addressType: "INTERNATIONAL";
10976
+ district2: string;
10977
+ cityOrTown?: string | null | undefined;
10978
+ addressLine1?: string | null | undefined;
10979
+ addressLine2?: string | null | undefined;
10980
+ addressLine3?: string | null | undefined;
10981
+ postcodeOrZip?: string | null | undefined;
10982
+ }>]>>>;
10983
+ originalActionId: z.ZodOptional<z.ZodString>;
10984
+ }, {
10985
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
10986
+ }>, "strip", z.ZodTypeAny, {
10987
+ type: "READ";
10988
+ declaration: Record<string, string | number | boolean | {
10989
+ type: string;
10990
+ filename: string;
10991
+ originalFilename: string;
10992
+ } | {
10993
+ country: string;
10994
+ district: string;
10995
+ addressType: "DOMESTIC";
10996
+ province: string;
10997
+ urbanOrRural: "URBAN";
10998
+ number?: string | null | undefined;
10999
+ town?: string | null | undefined;
11000
+ residentialArea?: string | null | undefined;
11001
+ street?: string | null | undefined;
11002
+ zipCode?: string | null | undefined;
11003
+ } | {
11004
+ country: string;
11005
+ district: string;
11006
+ addressType: "DOMESTIC";
11007
+ province: string;
11008
+ urbanOrRural: "RURAL";
11009
+ village?: string | null | undefined;
11010
+ } | {
11011
+ country: string;
11012
+ state: string;
11013
+ addressType: "INTERNATIONAL";
11014
+ district2: string;
11015
+ cityOrTown?: string | null | undefined;
11016
+ addressLine1?: string | null | undefined;
11017
+ addressLine2?: string | null | undefined;
11018
+ addressLine3?: string | null | undefined;
11019
+ postcodeOrZip?: string | null | undefined;
11020
+ } | {
11021
+ type: string;
11022
+ option: string;
11023
+ filename: string;
11024
+ originalFilename: string;
11025
+ }[] | undefined>;
11026
+ eventId: string;
11027
+ transactionId: string;
11028
+ annotation?: Record<string, string | number | boolean | {
11029
+ type: string;
11030
+ filename: string;
11031
+ originalFilename: string;
11032
+ } | {
11033
+ country: string;
11034
+ district: string;
11035
+ addressType: "DOMESTIC";
11036
+ province: string;
11037
+ urbanOrRural: "URBAN";
11038
+ number?: string | null | undefined;
11039
+ town?: string | null | undefined;
11040
+ residentialArea?: string | null | undefined;
11041
+ street?: string | null | undefined;
11042
+ zipCode?: string | null | undefined;
11043
+ } | {
11044
+ country: string;
11045
+ district: string;
11046
+ addressType: "DOMESTIC";
11047
+ province: string;
11048
+ urbanOrRural: "RURAL";
11049
+ village?: string | null | undefined;
11050
+ } | {
11051
+ country: string;
11052
+ state: string;
11053
+ addressType: "INTERNATIONAL";
11054
+ district2: string;
11055
+ cityOrTown?: string | null | undefined;
11056
+ addressLine1?: string | null | undefined;
11057
+ addressLine2?: string | null | undefined;
11058
+ addressLine3?: string | null | undefined;
11059
+ postcodeOrZip?: string | null | undefined;
11060
+ } | {
11061
+ type: string;
11062
+ option: string;
11063
+ filename: string;
11064
+ originalFilename: string;
11065
+ }[] | undefined> | undefined;
11066
+ originalActionId?: string | undefined;
11067
+ }, {
11068
+ declaration: Record<string, string | number | boolean | {
11069
+ type: string;
11070
+ filename: string;
11071
+ originalFilename: string;
11072
+ } | {
11073
+ country: string;
11074
+ district: string;
11075
+ addressType: "DOMESTIC";
11076
+ province: string;
11077
+ urbanOrRural: "URBAN";
11078
+ number?: string | null | undefined;
11079
+ town?: string | null | undefined;
11080
+ residentialArea?: string | null | undefined;
11081
+ street?: string | null | undefined;
11082
+ zipCode?: string | null | undefined;
11083
+ } | {
11084
+ country: string;
11085
+ district: string;
11086
+ addressType: "DOMESTIC";
11087
+ province: string;
11088
+ urbanOrRural: "RURAL";
11089
+ village?: string | null | undefined;
11090
+ } | {
11091
+ country: string;
11092
+ state: string;
11093
+ addressType: "INTERNATIONAL";
11094
+ district2: string;
11095
+ cityOrTown?: string | null | undefined;
11096
+ addressLine1?: string | null | undefined;
11097
+ addressLine2?: string | null | undefined;
11098
+ addressLine3?: string | null | undefined;
11099
+ postcodeOrZip?: string | null | undefined;
11100
+ } | {
11101
+ type: string;
11102
+ option: string;
11103
+ filename: string;
11104
+ originalFilename: string;
11105
+ }[] | undefined>;
11106
+ eventId: string;
11107
+ transactionId: string;
11108
+ type?: "READ" | undefined;
11109
+ annotation?: Record<string, string | number | boolean | {
10269
11110
  type: string;
10270
11111
  filename: string;
10271
11112
  originalFilename: string;
@@ -10303,6 +11144,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10303
11144
  filename: string;
10304
11145
  originalFilename: string;
10305
11146
  }[] | undefined> | undefined;
11147
+ originalActionId?: string | undefined;
10306
11148
  }>]>;
10307
11149
  export type ActionInput = z.input<typeof ActionInput>;
10308
11150
  export type ActionInputWithType = z.infer<typeof ActionInput>;