@opencrvs/toolkit 1.8.0-rc.ff62f9e → 1.8.0-rc.ffbb9d7

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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
6
  filename: z.ZodString;
7
7
  originalFilename: z.ZodString;
8
8
  type: z.ZodString;
@@ -115,8 +115,8 @@ export declare const BaseActionInput: z.ZodObject<{
115
115
  addressLine2?: string | null | undefined;
116
116
  addressLine3?: string | null | undefined;
117
117
  postcodeOrZip?: string | null | undefined;
118
- }>]>>;
119
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
118
+ }>]>>>;
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,11 @@ export declare const BaseActionInput: z.ZodObject<{
309
310
  filename: string;
310
311
  originalFilename: string;
311
312
  }[] | undefined> | undefined;
313
+ originalActionId?: string | undefined;
312
314
  }, {
313
- data: Record<string, string | number | boolean | {
315
+ eventId: string;
316
+ transactionId: string;
317
+ declaration?: Record<string, string | number | boolean | {
314
318
  type: string;
315
319
  filename: string;
316
320
  originalFilename: string;
@@ -347,10 +351,8 @@ export declare const BaseActionInput: z.ZodObject<{
347
351
  option: string;
348
352
  filename: string;
349
353
  originalFilename: string;
350
- }[] | undefined>;
351
- eventId: string;
352
- transactionId: string;
353
- metadata?: Record<string, string | number | boolean | {
354
+ }[] | undefined> | undefined;
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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
396
399
  filename: z.ZodString;
397
400
  originalFilename: z.ZodString;
398
401
  type: z.ZodString;
@@ -505,8 +508,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
505
508
  addressLine2?: string | null | undefined;
506
509
  addressLine3?: string | null | undefined;
507
510
  postcodeOrZip?: string | null | undefined;
508
- }>]>>;
509
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
511
+ }>]>>>;
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,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
716
707
  filename: string;
717
708
  originalFilename: string;
718
709
  }[] | undefined> | undefined;
710
+ originalActionId?: string | undefined;
711
+ registrationNumber?: string | undefined;
719
712
  }, {
720
- data: Record<string, string | number | boolean | {
713
+ eventId: string;
714
+ transactionId: string;
715
+ type?: "REGISTER" | undefined;
716
+ declaration?: Record<string, string | number | boolean | {
721
717
  type: string;
722
718
  filename: string;
723
719
  originalFilename: string;
@@ -754,15 +750,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
754
750
  option: string;
755
751
  filename: string;
756
752
  originalFilename: string;
757
- }[] | undefined>;
758
- identifiers: {
759
- trackingId: string;
760
- registrationNumber: string;
761
- };
762
- eventId: string;
763
- transactionId: string;
764
- type?: "REGISTER" | undefined;
765
- metadata?: Record<string, string | number | boolean | {
753
+ }[] | undefined> | undefined;
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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
809
800
  filename: z.ZodString;
810
801
  originalFilename: z.ZodString;
811
802
  type: z.ZodString;
@@ -918,8 +909,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
918
909
  addressLine2?: string | null | undefined;
919
910
  addressLine3?: string | null | undefined;
920
911
  postcodeOrZip?: string | null | undefined;
921
- }>]>>;
922
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
912
+ }>]>>>;
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,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1117
1109
  filename: string;
1118
1110
  originalFilename: string;
1119
1111
  }[] | undefined> | undefined;
1112
+ originalActionId?: string | undefined;
1120
1113
  }, {
1121
- data: Record<string, string | number | boolean | {
1114
+ eventId: string;
1115
+ transactionId: string;
1116
+ duplicates: string[];
1117
+ type?: "VALIDATE" | undefined;
1118
+ declaration?: Record<string, string | number | boolean | {
1122
1119
  type: string;
1123
1120
  filename: string;
1124
1121
  originalFilename: string;
@@ -1155,12 +1152,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1155
1152
  option: string;
1156
1153
  filename: string;
1157
1154
  originalFilename: string;
1158
- }[] | undefined>;
1159
- eventId: string;
1160
- transactionId: string;
1161
- duplicates: string[];
1162
- type?: "VALIDATE" | undefined;
1163
- metadata?: Record<string, string | number | boolean | {
1155
+ }[] | undefined> | undefined;
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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1207
1201
  filename: z.ZodString;
1208
1202
  originalFilename: z.ZodString;
1209
1203
  type: z.ZodString;
@@ -1316,8 +1310,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1316
1310
  addressLine2?: string | null | undefined;
1317
1311
  addressLine3?: string | null | undefined;
1318
1312
  postcodeOrZip?: string | null | undefined;
1319
- }>]>>;
1320
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1313
+ }>]>>>;
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,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1513
1508
  filename: string;
1514
1509
  originalFilename: string;
1515
1510
  }[] | undefined> | undefined;
1511
+ originalActionId?: string | undefined;
1516
1512
  }, {
1517
- data: Record<string, string | number | boolean | {
1513
+ eventId: string;
1514
+ transactionId: string;
1515
+ type?: "NOTIFY" | undefined;
1516
+ declaration?: Record<string, string | number | boolean | {
1518
1517
  type: string;
1519
1518
  filename: string;
1520
1519
  originalFilename: string;
@@ -1551,11 +1550,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1551
1550
  option: string;
1552
1551
  filename: string;
1553
1552
  originalFilename: string;
1554
- }[] | undefined>;
1555
- eventId: string;
1556
- transactionId: string;
1557
- type?: "NOTIFY" | undefined;
1558
- metadata?: Record<string, string | number | boolean | {
1553
+ }[] | undefined> | undefined;
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.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1602
1599
  filename: z.ZodString;
1603
1600
  originalFilename: z.ZodString;
1604
1601
  type: z.ZodString;
@@ -1711,8 +1708,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1711
1708
  addressLine2?: string | null | undefined;
1712
1709
  addressLine3?: string | null | undefined;
1713
1710
  postcodeOrZip?: string | null | undefined;
1714
- }>]>>;
1715
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1711
+ }>]>>>;
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,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1908
1906
  filename: string;
1909
1907
  originalFilename: string;
1910
1908
  }[] | undefined> | undefined;
1909
+ originalActionId?: string | undefined;
1911
1910
  }, {
1912
- data: Record<string, string | number | boolean | {
1911
+ eventId: string;
1912
+ transactionId: string;
1913
+ type?: "DECLARE" | undefined;
1914
+ declaration?: Record<string, string | number | boolean | {
1913
1915
  type: string;
1914
1916
  filename: string;
1915
1917
  originalFilename: string;
@@ -1946,11 +1948,803 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1946
1948
  option: string;
1947
1949
  filename: string;
1948
1950
  originalFilename: string;
1949
- }[] | undefined>;
1950
- eventId: string;
1951
- transactionId: string;
1952
- type?: "DECLARE" | undefined;
1953
- metadata?: Record<string, string | number | boolean | {
1951
+ }[] | undefined> | undefined;
1952
+ annotation?: Record<string, string | number | boolean | {
1953
+ type: string;
1954
+ filename: string;
1955
+ originalFilename: string;
1956
+ } | {
1957
+ country: string;
1958
+ district: string;
1959
+ addressType: "DOMESTIC";
1960
+ province: string;
1961
+ urbanOrRural: "URBAN";
1962
+ number?: string | null | undefined;
1963
+ town?: string | null | undefined;
1964
+ residentialArea?: string | null | undefined;
1965
+ street?: string | null | undefined;
1966
+ zipCode?: string | null | undefined;
1967
+ } | {
1968
+ country: string;
1969
+ district: string;
1970
+ addressType: "DOMESTIC";
1971
+ province: string;
1972
+ urbanOrRural: "RURAL";
1973
+ village?: string | null | undefined;
1974
+ } | {
1975
+ country: string;
1976
+ state: string;
1977
+ addressType: "INTERNATIONAL";
1978
+ district2: string;
1979
+ cityOrTown?: string | null | undefined;
1980
+ addressLine1?: string | null | undefined;
1981
+ addressLine2?: string | null | undefined;
1982
+ addressLine3?: string | null | undefined;
1983
+ postcodeOrZip?: string | null | undefined;
1984
+ } | {
1985
+ type: string;
1986
+ option: string;
1987
+ filename: string;
1988
+ originalFilename: string;
1989
+ }[] | undefined> | undefined;
1990
+ originalActionId?: string | undefined;
1991
+ }>;
1992
+ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
+ eventId: z.ZodString;
1994
+ transactionId: z.ZodString;
1995
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1996
+ filename: z.ZodString;
1997
+ originalFilename: z.ZodString;
1998
+ type: z.ZodString;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ type: string;
2001
+ filename: string;
2002
+ originalFilename: string;
2003
+ }, {
2004
+ type: string;
2005
+ filename: string;
2006
+ originalFilename: string;
2007
+ }>, z.ZodArray<z.ZodObject<{
2008
+ filename: z.ZodString;
2009
+ originalFilename: z.ZodString;
2010
+ type: z.ZodString;
2011
+ option: z.ZodString;
2012
+ }, "strip", z.ZodTypeAny, {
2013
+ type: string;
2014
+ option: string;
2015
+ filename: string;
2016
+ originalFilename: string;
2017
+ }, {
2018
+ type: string;
2019
+ option: string;
2020
+ filename: string;
2021
+ originalFilename: string;
2022
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2023
+ country: z.ZodString;
2024
+ addressType: z.ZodLiteral<"DOMESTIC">;
2025
+ province: z.ZodString;
2026
+ district: z.ZodString;
2027
+ }, {
2028
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2029
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2030
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2031
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2033
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2034
+ }>, "strip", z.ZodTypeAny, {
2035
+ country: string;
2036
+ district: string;
2037
+ addressType: "DOMESTIC";
2038
+ province: string;
2039
+ urbanOrRural: "URBAN";
2040
+ number?: string | null | undefined;
2041
+ town?: string | null | undefined;
2042
+ residentialArea?: string | null | undefined;
2043
+ street?: string | null | undefined;
2044
+ zipCode?: string | null | undefined;
2045
+ }, {
2046
+ country: string;
2047
+ district: string;
2048
+ addressType: "DOMESTIC";
2049
+ province: string;
2050
+ urbanOrRural: "URBAN";
2051
+ number?: string | null | undefined;
2052
+ town?: string | null | undefined;
2053
+ residentialArea?: string | null | undefined;
2054
+ street?: string | null | undefined;
2055
+ zipCode?: string | null | undefined;
2056
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2057
+ country: z.ZodString;
2058
+ addressType: z.ZodLiteral<"DOMESTIC">;
2059
+ province: z.ZodString;
2060
+ district: z.ZodString;
2061
+ }, {
2062
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2063
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2064
+ }>, "strip", z.ZodTypeAny, {
2065
+ country: string;
2066
+ district: string;
2067
+ addressType: "DOMESTIC";
2068
+ province: string;
2069
+ urbanOrRural: "RURAL";
2070
+ village?: string | null | undefined;
2071
+ }, {
2072
+ country: string;
2073
+ district: string;
2074
+ addressType: "DOMESTIC";
2075
+ province: string;
2076
+ urbanOrRural: "RURAL";
2077
+ village?: string | null | undefined;
2078
+ }>, z.ZodUndefined, z.ZodObject<{
2079
+ country: z.ZodString;
2080
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2081
+ state: z.ZodString;
2082
+ district2: z.ZodString;
2083
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2084
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2085
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2086
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2087
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ country: string;
2090
+ state: string;
2091
+ addressType: "INTERNATIONAL";
2092
+ district2: string;
2093
+ cityOrTown?: string | null | undefined;
2094
+ addressLine1?: string | null | undefined;
2095
+ addressLine2?: string | null | undefined;
2096
+ addressLine3?: string | null | undefined;
2097
+ postcodeOrZip?: string | null | undefined;
2098
+ }, {
2099
+ country: string;
2100
+ state: string;
2101
+ addressType: "INTERNATIONAL";
2102
+ district2: string;
2103
+ cityOrTown?: string | null | undefined;
2104
+ addressLine1?: string | null | undefined;
2105
+ addressLine2?: string | null | undefined;
2106
+ addressLine3?: string | null | undefined;
2107
+ postcodeOrZip?: string | null | undefined;
2108
+ }>]>>>;
2109
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2110
+ filename: z.ZodString;
2111
+ originalFilename: z.ZodString;
2112
+ type: z.ZodString;
2113
+ }, "strip", z.ZodTypeAny, {
2114
+ type: string;
2115
+ filename: string;
2116
+ originalFilename: string;
2117
+ }, {
2118
+ type: string;
2119
+ filename: string;
2120
+ originalFilename: string;
2121
+ }>, z.ZodArray<z.ZodObject<{
2122
+ filename: z.ZodString;
2123
+ originalFilename: z.ZodString;
2124
+ type: z.ZodString;
2125
+ option: z.ZodString;
2126
+ }, "strip", z.ZodTypeAny, {
2127
+ type: string;
2128
+ option: string;
2129
+ filename: string;
2130
+ originalFilename: string;
2131
+ }, {
2132
+ type: string;
2133
+ option: string;
2134
+ filename: string;
2135
+ originalFilename: string;
2136
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2137
+ country: z.ZodString;
2138
+ addressType: z.ZodLiteral<"DOMESTIC">;
2139
+ province: z.ZodString;
2140
+ district: z.ZodString;
2141
+ }, {
2142
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2143
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2144
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2145
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2146
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2147
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2148
+ }>, "strip", z.ZodTypeAny, {
2149
+ country: string;
2150
+ district: string;
2151
+ addressType: "DOMESTIC";
2152
+ province: string;
2153
+ urbanOrRural: "URBAN";
2154
+ number?: string | null | undefined;
2155
+ town?: string | null | undefined;
2156
+ residentialArea?: string | null | undefined;
2157
+ street?: string | null | undefined;
2158
+ zipCode?: string | null | undefined;
2159
+ }, {
2160
+ country: string;
2161
+ district: string;
2162
+ addressType: "DOMESTIC";
2163
+ province: string;
2164
+ urbanOrRural: "URBAN";
2165
+ number?: string | null | undefined;
2166
+ town?: string | null | undefined;
2167
+ residentialArea?: string | null | undefined;
2168
+ street?: string | null | undefined;
2169
+ zipCode?: string | null | undefined;
2170
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2171
+ country: z.ZodString;
2172
+ addressType: z.ZodLiteral<"DOMESTIC">;
2173
+ province: z.ZodString;
2174
+ district: z.ZodString;
2175
+ }, {
2176
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2177
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2178
+ }>, "strip", z.ZodTypeAny, {
2179
+ country: string;
2180
+ district: string;
2181
+ addressType: "DOMESTIC";
2182
+ province: string;
2183
+ urbanOrRural: "RURAL";
2184
+ village?: string | null | undefined;
2185
+ }, {
2186
+ country: string;
2187
+ district: string;
2188
+ addressType: "DOMESTIC";
2189
+ province: string;
2190
+ urbanOrRural: "RURAL";
2191
+ village?: string | null | undefined;
2192
+ }>, z.ZodUndefined, z.ZodObject<{
2193
+ country: z.ZodString;
2194
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2195
+ state: z.ZodString;
2196
+ district2: z.ZodString;
2197
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2198
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2199
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2200
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2201
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2202
+ }, "strip", z.ZodTypeAny, {
2203
+ country: string;
2204
+ state: string;
2205
+ addressType: "INTERNATIONAL";
2206
+ district2: string;
2207
+ cityOrTown?: string | null | undefined;
2208
+ addressLine1?: string | null | undefined;
2209
+ addressLine2?: string | null | undefined;
2210
+ addressLine3?: string | null | undefined;
2211
+ postcodeOrZip?: string | null | undefined;
2212
+ }, {
2213
+ country: string;
2214
+ state: string;
2215
+ addressType: "INTERNATIONAL";
2216
+ district2: string;
2217
+ cityOrTown?: string | null | undefined;
2218
+ addressLine1?: string | null | undefined;
2219
+ addressLine2?: string | null | undefined;
2220
+ addressLine3?: string | null | undefined;
2221
+ postcodeOrZip?: string | null | undefined;
2222
+ }>]>>>;
2223
+ originalActionId: z.ZodOptional<z.ZodString>;
2224
+ }, {
2225
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2226
+ }>, "strip", z.ZodTypeAny, {
2227
+ type: "PRINT_CERTIFICATE";
2228
+ declaration: Record<string, string | number | boolean | {
2229
+ type: string;
2230
+ filename: string;
2231
+ originalFilename: string;
2232
+ } | {
2233
+ country: string;
2234
+ district: string;
2235
+ addressType: "DOMESTIC";
2236
+ province: string;
2237
+ urbanOrRural: "URBAN";
2238
+ number?: string | null | undefined;
2239
+ town?: string | null | undefined;
2240
+ residentialArea?: string | null | undefined;
2241
+ street?: string | null | undefined;
2242
+ zipCode?: string | null | undefined;
2243
+ } | {
2244
+ country: string;
2245
+ district: string;
2246
+ addressType: "DOMESTIC";
2247
+ province: string;
2248
+ urbanOrRural: "RURAL";
2249
+ village?: string | null | undefined;
2250
+ } | {
2251
+ country: string;
2252
+ state: string;
2253
+ addressType: "INTERNATIONAL";
2254
+ district2: string;
2255
+ cityOrTown?: string | null | undefined;
2256
+ addressLine1?: string | null | undefined;
2257
+ addressLine2?: string | null | undefined;
2258
+ addressLine3?: string | null | undefined;
2259
+ postcodeOrZip?: string | null | undefined;
2260
+ } | {
2261
+ type: string;
2262
+ option: string;
2263
+ filename: string;
2264
+ originalFilename: string;
2265
+ }[] | undefined>;
2266
+ eventId: string;
2267
+ transactionId: string;
2268
+ annotation?: Record<string, string | number | boolean | {
2269
+ type: string;
2270
+ filename: string;
2271
+ originalFilename: string;
2272
+ } | {
2273
+ country: string;
2274
+ district: string;
2275
+ addressType: "DOMESTIC";
2276
+ province: string;
2277
+ urbanOrRural: "URBAN";
2278
+ number?: string | null | undefined;
2279
+ town?: string | null | undefined;
2280
+ residentialArea?: string | null | undefined;
2281
+ street?: string | null | undefined;
2282
+ zipCode?: string | null | undefined;
2283
+ } | {
2284
+ country: string;
2285
+ district: string;
2286
+ addressType: "DOMESTIC";
2287
+ province: string;
2288
+ urbanOrRural: "RURAL";
2289
+ village?: string | null | undefined;
2290
+ } | {
2291
+ country: string;
2292
+ state: string;
2293
+ addressType: "INTERNATIONAL";
2294
+ district2: string;
2295
+ cityOrTown?: string | null | undefined;
2296
+ addressLine1?: string | null | undefined;
2297
+ addressLine2?: string | null | undefined;
2298
+ addressLine3?: string | null | undefined;
2299
+ postcodeOrZip?: string | null | undefined;
2300
+ } | {
2301
+ type: string;
2302
+ option: string;
2303
+ filename: string;
2304
+ originalFilename: string;
2305
+ }[] | undefined> | undefined;
2306
+ originalActionId?: string | undefined;
2307
+ }, {
2308
+ eventId: string;
2309
+ transactionId: string;
2310
+ type?: "PRINT_CERTIFICATE" | undefined;
2311
+ declaration?: Record<string, string | number | boolean | {
2312
+ type: string;
2313
+ filename: string;
2314
+ originalFilename: string;
2315
+ } | {
2316
+ country: string;
2317
+ district: string;
2318
+ addressType: "DOMESTIC";
2319
+ province: string;
2320
+ urbanOrRural: "URBAN";
2321
+ number?: string | null | undefined;
2322
+ town?: string | null | undefined;
2323
+ residentialArea?: string | null | undefined;
2324
+ street?: string | null | undefined;
2325
+ zipCode?: string | null | undefined;
2326
+ } | {
2327
+ country: string;
2328
+ district: string;
2329
+ addressType: "DOMESTIC";
2330
+ province: string;
2331
+ urbanOrRural: "RURAL";
2332
+ village?: string | null | undefined;
2333
+ } | {
2334
+ country: string;
2335
+ state: string;
2336
+ addressType: "INTERNATIONAL";
2337
+ district2: string;
2338
+ cityOrTown?: string | null | undefined;
2339
+ addressLine1?: string | null | undefined;
2340
+ addressLine2?: string | null | undefined;
2341
+ addressLine3?: string | null | undefined;
2342
+ postcodeOrZip?: string | null | undefined;
2343
+ } | {
2344
+ type: string;
2345
+ option: string;
2346
+ filename: string;
2347
+ originalFilename: string;
2348
+ }[] | undefined> | undefined;
2349
+ annotation?: Record<string, string | number | boolean | {
2350
+ type: string;
2351
+ filename: string;
2352
+ originalFilename: string;
2353
+ } | {
2354
+ country: string;
2355
+ district: string;
2356
+ addressType: "DOMESTIC";
2357
+ province: string;
2358
+ urbanOrRural: "URBAN";
2359
+ number?: string | null | undefined;
2360
+ town?: string | null | undefined;
2361
+ residentialArea?: string | null | undefined;
2362
+ street?: string | null | undefined;
2363
+ zipCode?: string | null | undefined;
2364
+ } | {
2365
+ country: string;
2366
+ district: string;
2367
+ addressType: "DOMESTIC";
2368
+ province: string;
2369
+ urbanOrRural: "RURAL";
2370
+ village?: string | null | undefined;
2371
+ } | {
2372
+ country: string;
2373
+ state: string;
2374
+ addressType: "INTERNATIONAL";
2375
+ district2: string;
2376
+ cityOrTown?: string | null | undefined;
2377
+ addressLine1?: string | null | undefined;
2378
+ addressLine2?: string | null | undefined;
2379
+ addressLine3?: string | null | undefined;
2380
+ postcodeOrZip?: string | null | undefined;
2381
+ } | {
2382
+ type: string;
2383
+ option: string;
2384
+ filename: string;
2385
+ originalFilename: string;
2386
+ }[] | undefined> | undefined;
2387
+ originalActionId?: string | undefined;
2388
+ }>;
2389
+ export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2390
+ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2391
+ eventId: z.ZodString;
2392
+ transactionId: z.ZodString;
2393
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2394
+ filename: z.ZodString;
2395
+ originalFilename: z.ZodString;
2396
+ type: z.ZodString;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ type: string;
2399
+ filename: string;
2400
+ originalFilename: string;
2401
+ }, {
2402
+ type: string;
2403
+ filename: string;
2404
+ originalFilename: string;
2405
+ }>, z.ZodArray<z.ZodObject<{
2406
+ filename: z.ZodString;
2407
+ originalFilename: z.ZodString;
2408
+ type: z.ZodString;
2409
+ option: z.ZodString;
2410
+ }, "strip", z.ZodTypeAny, {
2411
+ type: string;
2412
+ option: string;
2413
+ filename: string;
2414
+ originalFilename: string;
2415
+ }, {
2416
+ type: string;
2417
+ option: string;
2418
+ filename: string;
2419
+ originalFilename: string;
2420
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2421
+ country: z.ZodString;
2422
+ addressType: z.ZodLiteral<"DOMESTIC">;
2423
+ province: z.ZodString;
2424
+ district: z.ZodString;
2425
+ }, {
2426
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2427
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2428
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2430
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2431
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2432
+ }>, "strip", z.ZodTypeAny, {
2433
+ country: string;
2434
+ district: string;
2435
+ addressType: "DOMESTIC";
2436
+ province: string;
2437
+ urbanOrRural: "URBAN";
2438
+ number?: string | null | undefined;
2439
+ town?: string | null | undefined;
2440
+ residentialArea?: string | null | undefined;
2441
+ street?: string | null | undefined;
2442
+ zipCode?: string | null | undefined;
2443
+ }, {
2444
+ country: string;
2445
+ district: string;
2446
+ addressType: "DOMESTIC";
2447
+ province: string;
2448
+ urbanOrRural: "URBAN";
2449
+ number?: string | null | undefined;
2450
+ town?: string | null | undefined;
2451
+ residentialArea?: string | null | undefined;
2452
+ street?: string | null | undefined;
2453
+ zipCode?: string | null | undefined;
2454
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2455
+ country: z.ZodString;
2456
+ addressType: z.ZodLiteral<"DOMESTIC">;
2457
+ province: z.ZodString;
2458
+ district: z.ZodString;
2459
+ }, {
2460
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2461
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2462
+ }>, "strip", z.ZodTypeAny, {
2463
+ country: string;
2464
+ district: string;
2465
+ addressType: "DOMESTIC";
2466
+ province: string;
2467
+ urbanOrRural: "RURAL";
2468
+ village?: string | null | undefined;
2469
+ }, {
2470
+ country: string;
2471
+ district: string;
2472
+ addressType: "DOMESTIC";
2473
+ province: string;
2474
+ urbanOrRural: "RURAL";
2475
+ village?: string | null | undefined;
2476
+ }>, z.ZodUndefined, z.ZodObject<{
2477
+ country: z.ZodString;
2478
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2479
+ state: z.ZodString;
2480
+ district2: z.ZodString;
2481
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2482
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2483
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2484
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ country: string;
2488
+ state: string;
2489
+ addressType: "INTERNATIONAL";
2490
+ district2: string;
2491
+ cityOrTown?: string | null | undefined;
2492
+ addressLine1?: string | null | undefined;
2493
+ addressLine2?: string | null | undefined;
2494
+ addressLine3?: string | null | undefined;
2495
+ postcodeOrZip?: string | null | undefined;
2496
+ }, {
2497
+ country: string;
2498
+ state: string;
2499
+ addressType: "INTERNATIONAL";
2500
+ district2: string;
2501
+ cityOrTown?: string | null | undefined;
2502
+ addressLine1?: string | null | undefined;
2503
+ addressLine2?: string | null | undefined;
2504
+ addressLine3?: string | null | undefined;
2505
+ postcodeOrZip?: string | null | undefined;
2506
+ }>]>>>;
2507
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2508
+ filename: z.ZodString;
2509
+ originalFilename: z.ZodString;
2510
+ type: z.ZodString;
2511
+ }, "strip", z.ZodTypeAny, {
2512
+ type: string;
2513
+ filename: string;
2514
+ originalFilename: string;
2515
+ }, {
2516
+ type: string;
2517
+ filename: string;
2518
+ originalFilename: string;
2519
+ }>, z.ZodArray<z.ZodObject<{
2520
+ filename: z.ZodString;
2521
+ originalFilename: z.ZodString;
2522
+ type: z.ZodString;
2523
+ option: z.ZodString;
2524
+ }, "strip", z.ZodTypeAny, {
2525
+ type: string;
2526
+ option: string;
2527
+ filename: string;
2528
+ originalFilename: string;
2529
+ }, {
2530
+ type: string;
2531
+ option: string;
2532
+ filename: string;
2533
+ originalFilename: string;
2534
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2535
+ country: z.ZodString;
2536
+ addressType: z.ZodLiteral<"DOMESTIC">;
2537
+ province: z.ZodString;
2538
+ district: z.ZodString;
2539
+ }, {
2540
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2541
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2542
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2543
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2544
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2545
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2546
+ }>, "strip", z.ZodTypeAny, {
2547
+ country: string;
2548
+ district: string;
2549
+ addressType: "DOMESTIC";
2550
+ province: string;
2551
+ urbanOrRural: "URBAN";
2552
+ number?: string | null | undefined;
2553
+ town?: string | null | undefined;
2554
+ residentialArea?: string | null | undefined;
2555
+ street?: string | null | undefined;
2556
+ zipCode?: string | null | undefined;
2557
+ }, {
2558
+ country: string;
2559
+ district: string;
2560
+ addressType: "DOMESTIC";
2561
+ province: string;
2562
+ urbanOrRural: "URBAN";
2563
+ number?: string | null | undefined;
2564
+ town?: string | null | undefined;
2565
+ residentialArea?: string | null | undefined;
2566
+ street?: string | null | undefined;
2567
+ zipCode?: string | null | undefined;
2568
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2569
+ country: z.ZodString;
2570
+ addressType: z.ZodLiteral<"DOMESTIC">;
2571
+ province: z.ZodString;
2572
+ district: z.ZodString;
2573
+ }, {
2574
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2575
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2576
+ }>, "strip", z.ZodTypeAny, {
2577
+ country: string;
2578
+ district: string;
2579
+ addressType: "DOMESTIC";
2580
+ province: string;
2581
+ urbanOrRural: "RURAL";
2582
+ village?: string | null | undefined;
2583
+ }, {
2584
+ country: string;
2585
+ district: string;
2586
+ addressType: "DOMESTIC";
2587
+ province: string;
2588
+ urbanOrRural: "RURAL";
2589
+ village?: string | null | undefined;
2590
+ }>, z.ZodUndefined, z.ZodObject<{
2591
+ country: z.ZodString;
2592
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2593
+ state: z.ZodString;
2594
+ district2: z.ZodString;
2595
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2596
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2597
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2598
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2599
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ }, "strip", z.ZodTypeAny, {
2601
+ country: string;
2602
+ state: string;
2603
+ addressType: "INTERNATIONAL";
2604
+ district2: string;
2605
+ cityOrTown?: string | null | undefined;
2606
+ addressLine1?: string | null | undefined;
2607
+ addressLine2?: string | null | undefined;
2608
+ addressLine3?: string | null | undefined;
2609
+ postcodeOrZip?: string | null | undefined;
2610
+ }, {
2611
+ country: string;
2612
+ state: string;
2613
+ addressType: "INTERNATIONAL";
2614
+ district2: string;
2615
+ cityOrTown?: string | null | undefined;
2616
+ addressLine1?: string | null | undefined;
2617
+ addressLine2?: string | null | undefined;
2618
+ addressLine3?: string | null | undefined;
2619
+ postcodeOrZip?: string | null | undefined;
2620
+ }>]>>>;
2621
+ originalActionId: z.ZodOptional<z.ZodString>;
2622
+ }, {
2623
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2624
+ }>, "strip", z.ZodTypeAny, {
2625
+ type: "REJECT";
2626
+ declaration: Record<string, string | number | boolean | {
2627
+ type: string;
2628
+ filename: string;
2629
+ originalFilename: string;
2630
+ } | {
2631
+ country: string;
2632
+ district: string;
2633
+ addressType: "DOMESTIC";
2634
+ province: string;
2635
+ urbanOrRural: "URBAN";
2636
+ number?: string | null | undefined;
2637
+ town?: string | null | undefined;
2638
+ residentialArea?: string | null | undefined;
2639
+ street?: string | null | undefined;
2640
+ zipCode?: string | null | undefined;
2641
+ } | {
2642
+ country: string;
2643
+ district: string;
2644
+ addressType: "DOMESTIC";
2645
+ province: string;
2646
+ urbanOrRural: "RURAL";
2647
+ village?: string | null | undefined;
2648
+ } | {
2649
+ country: string;
2650
+ state: string;
2651
+ addressType: "INTERNATIONAL";
2652
+ district2: string;
2653
+ cityOrTown?: string | null | undefined;
2654
+ addressLine1?: string | null | undefined;
2655
+ addressLine2?: string | null | undefined;
2656
+ addressLine3?: string | null | undefined;
2657
+ postcodeOrZip?: string | null | undefined;
2658
+ } | {
2659
+ type: string;
2660
+ option: string;
2661
+ filename: string;
2662
+ originalFilename: string;
2663
+ }[] | undefined>;
2664
+ eventId: string;
2665
+ transactionId: string;
2666
+ annotation?: Record<string, string | number | boolean | {
2667
+ type: string;
2668
+ filename: string;
2669
+ originalFilename: string;
2670
+ } | {
2671
+ country: string;
2672
+ district: string;
2673
+ addressType: "DOMESTIC";
2674
+ province: string;
2675
+ urbanOrRural: "URBAN";
2676
+ number?: string | null | undefined;
2677
+ town?: string | null | undefined;
2678
+ residentialArea?: string | null | undefined;
2679
+ street?: string | null | undefined;
2680
+ zipCode?: string | null | undefined;
2681
+ } | {
2682
+ country: string;
2683
+ district: string;
2684
+ addressType: "DOMESTIC";
2685
+ province: string;
2686
+ urbanOrRural: "RURAL";
2687
+ village?: string | null | undefined;
2688
+ } | {
2689
+ country: string;
2690
+ state: string;
2691
+ addressType: "INTERNATIONAL";
2692
+ district2: string;
2693
+ cityOrTown?: string | null | undefined;
2694
+ addressLine1?: string | null | undefined;
2695
+ addressLine2?: string | null | undefined;
2696
+ addressLine3?: string | null | undefined;
2697
+ postcodeOrZip?: string | null | undefined;
2698
+ } | {
2699
+ type: string;
2700
+ option: string;
2701
+ filename: string;
2702
+ originalFilename: string;
2703
+ }[] | undefined> | undefined;
2704
+ originalActionId?: string | undefined;
2705
+ }, {
2706
+ eventId: string;
2707
+ transactionId: string;
2708
+ type?: "REJECT" | undefined;
2709
+ declaration?: Record<string, string | number | boolean | {
2710
+ type: string;
2711
+ filename: string;
2712
+ originalFilename: string;
2713
+ } | {
2714
+ country: string;
2715
+ district: string;
2716
+ addressType: "DOMESTIC";
2717
+ province: string;
2718
+ urbanOrRural: "URBAN";
2719
+ number?: string | null | undefined;
2720
+ town?: string | null | undefined;
2721
+ residentialArea?: string | null | undefined;
2722
+ street?: string | null | undefined;
2723
+ zipCode?: string | null | undefined;
2724
+ } | {
2725
+ country: string;
2726
+ district: string;
2727
+ addressType: "DOMESTIC";
2728
+ province: string;
2729
+ urbanOrRural: "RURAL";
2730
+ village?: string | null | undefined;
2731
+ } | {
2732
+ country: string;
2733
+ state: string;
2734
+ addressType: "INTERNATIONAL";
2735
+ district2: string;
2736
+ cityOrTown?: string | null | undefined;
2737
+ addressLine1?: string | null | undefined;
2738
+ addressLine2?: string | null | undefined;
2739
+ addressLine3?: string | null | undefined;
2740
+ postcodeOrZip?: string | null | undefined;
2741
+ } | {
2742
+ type: string;
2743
+ option: string;
2744
+ filename: string;
2745
+ originalFilename: string;
2746
+ }[] | undefined> | undefined;
2747
+ annotation?: Record<string, string | number | boolean | {
1954
2748
  type: string;
1955
2749
  filename: string;
1956
2750
  originalFilename: string;
@@ -1988,11 +2782,13 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1988
2782
  filename: string;
1989
2783
  originalFilename: string;
1990
2784
  }[] | undefined> | undefined;
2785
+ originalActionId?: string | undefined;
1991
2786
  }>;
1992
- export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2787
+ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2788
+ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
2789
  eventId: z.ZodString;
1994
2790
  transactionId: z.ZodString;
1995
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2791
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1996
2792
  filename: z.ZodString;
1997
2793
  originalFilename: z.ZodString;
1998
2794
  type: z.ZodString;
@@ -2105,8 +2901,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2901
  addressLine2?: string | null | undefined;
2106
2902
  addressLine3?: string | null | undefined;
2107
2903
  postcodeOrZip?: string | null | undefined;
2108
- }>]>>;
2109
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2904
+ }>]>>>;
2905
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2110
2906
  filename: z.ZodString;
2111
2907
  originalFilename: z.ZodString;
2112
2908
  type: z.ZodString;
@@ -2220,11 +3016,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2220
3016
  addressLine3?: string | null | undefined;
2221
3017
  postcodeOrZip?: string | null | undefined;
2222
3018
  }>]>>>;
3019
+ originalActionId: z.ZodOptional<z.ZodString>;
2223
3020
  }, {
2224
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
3021
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
2225
3022
  }>, "strip", z.ZodTypeAny, {
2226
- type: "PRINT_CERTIFICATE";
2227
- data: Record<string, string | number | boolean | {
3023
+ type: "MARKED_AS_DUPLICATE";
3024
+ declaration: Record<string, string | number | boolean | {
2228
3025
  type: string;
2229
3026
  filename: string;
2230
3027
  originalFilename: string;
@@ -2264,7 +3061,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2264
3061
  }[] | undefined>;
2265
3062
  eventId: string;
2266
3063
  transactionId: string;
2267
- metadata?: Record<string, string | number | boolean | {
3064
+ annotation?: Record<string, string | number | boolean | {
2268
3065
  type: string;
2269
3066
  filename: string;
2270
3067
  originalFilename: string;
@@ -2302,8 +3099,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2302
3099
  filename: string;
2303
3100
  originalFilename: string;
2304
3101
  }[] | undefined> | undefined;
3102
+ originalActionId?: string | undefined;
2305
3103
  }, {
2306
- data: Record<string, string | number | boolean | {
3104
+ eventId: string;
3105
+ transactionId: string;
3106
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3107
+ declaration?: Record<string, string | number | boolean | {
2307
3108
  type: string;
2308
3109
  filename: string;
2309
3110
  originalFilename: string;
@@ -2340,11 +3141,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
3141
  option: string;
2341
3142
  filename: string;
2342
3143
  originalFilename: string;
2343
- }[] | undefined>;
2344
- eventId: string;
2345
- transactionId: string;
2346
- type?: "PRINT_CERTIFICATE" | undefined;
2347
- metadata?: Record<string, string | number | boolean | {
3144
+ }[] | undefined> | undefined;
3145
+ annotation?: Record<string, string | number | boolean | {
2348
3146
  type: string;
2349
3147
  filename: string;
2350
3148
  originalFilename: string;
@@ -2382,12 +3180,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2382
3180
  filename: string;
2383
3181
  originalFilename: string;
2384
3182
  }[] | undefined> | undefined;
3183
+ originalActionId?: string | undefined;
2385
3184
  }>;
2386
- export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2387
- export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
3185
+ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3186
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
2388
3187
  eventId: z.ZodString;
2389
3188
  transactionId: z.ZodString;
2390
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3189
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2391
3190
  filename: z.ZodString;
2392
3191
  originalFilename: z.ZodString;
2393
3192
  type: z.ZodString;
@@ -2500,8 +3299,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2500
3299
  addressLine2?: string | null | undefined;
2501
3300
  addressLine3?: string | null | undefined;
2502
3301
  postcodeOrZip?: string | null | undefined;
2503
- }>]>>;
2504
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3302
+ }>]>>>;
3303
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2505
3304
  filename: z.ZodString;
2506
3305
  originalFilename: z.ZodString;
2507
3306
  type: z.ZodString;
@@ -2615,11 +3414,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2615
3414
  addressLine3?: string | null | undefined;
2616
3415
  postcodeOrZip?: string | null | undefined;
2617
3416
  }>]>>>;
3417
+ originalActionId: z.ZodOptional<z.ZodString>;
2618
3418
  }, {
2619
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
3419
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
2620
3420
  }>, "strip", z.ZodTypeAny, {
2621
- type: "REJECT";
2622
- data: Record<string, string | number | boolean | {
3421
+ type: "ARCHIVE";
3422
+ declaration: Record<string, string | number | boolean | {
2623
3423
  type: string;
2624
3424
  filename: string;
2625
3425
  originalFilename: string;
@@ -2659,7 +3459,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2659
3459
  }[] | undefined>;
2660
3460
  eventId: string;
2661
3461
  transactionId: string;
2662
- metadata?: Record<string, string | number | boolean | {
3462
+ annotation?: Record<string, string | number | boolean | {
2663
3463
  type: string;
2664
3464
  filename: string;
2665
3465
  originalFilename: string;
@@ -2697,8 +3497,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2697
3497
  filename: string;
2698
3498
  originalFilename: string;
2699
3499
  }[] | undefined> | undefined;
3500
+ originalActionId?: string | undefined;
2700
3501
  }, {
2701
- data: Record<string, string | number | boolean | {
3502
+ eventId: string;
3503
+ transactionId: string;
3504
+ type?: "ARCHIVE" | undefined;
3505
+ declaration?: Record<string, string | number | boolean | {
2702
3506
  type: string;
2703
3507
  filename: string;
2704
3508
  originalFilename: string;
@@ -2735,11 +3539,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2735
3539
  option: string;
2736
3540
  filename: string;
2737
3541
  originalFilename: string;
2738
- }[] | undefined>;
2739
- eventId: string;
2740
- transactionId: string;
2741
- type?: "REJECT" | undefined;
2742
- metadata?: Record<string, string | number | boolean | {
3542
+ }[] | undefined> | undefined;
3543
+ annotation?: Record<string, string | number | boolean | {
2743
3544
  type: string;
2744
3545
  filename: string;
2745
3546
  originalFilename: string;
@@ -2777,12 +3578,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2777
3578
  filename: string;
2778
3579
  originalFilename: string;
2779
3580
  }[] | undefined> | undefined;
3581
+ originalActionId?: string | undefined;
2780
3582
  }>;
2781
- export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2782
- export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
3583
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3584
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
2783
3585
  eventId: z.ZodString;
2784
3586
  transactionId: z.ZodString;
2785
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3587
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2786
3588
  filename: z.ZodString;
2787
3589
  originalFilename: z.ZodString;
2788
3590
  type: z.ZodString;
@@ -2895,8 +3697,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2895
3697
  addressLine2?: string | null | undefined;
2896
3698
  addressLine3?: string | null | undefined;
2897
3699
  postcodeOrZip?: string | null | undefined;
2898
- }>]>>;
2899
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3700
+ }>]>>>;
3701
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2900
3702
  filename: z.ZodString;
2901
3703
  originalFilename: z.ZodString;
2902
3704
  type: z.ZodString;
@@ -3010,11 +3812,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3812
  addressLine3?: string | null | undefined;
3011
3813
  postcodeOrZip?: string | null | undefined;
3012
3814
  }>]>>>;
3815
+ originalActionId: z.ZodOptional<z.ZodString>;
3013
3816
  }, {
3014
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3817
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3818
+ assignedTo: z.ZodString;
3015
3819
  }>, "strip", z.ZodTypeAny, {
3016
- type: "MARKED_AS_DUPLICATE";
3017
- data: Record<string, string | number | boolean | {
3820
+ type: "ASSIGN";
3821
+ declaration: Record<string, string | number | boolean | {
3018
3822
  type: string;
3019
3823
  filename: string;
3020
3824
  originalFilename: string;
@@ -3052,9 +3856,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3052
3856
  filename: string;
3053
3857
  originalFilename: string;
3054
3858
  }[] | undefined>;
3859
+ assignedTo: string;
3055
3860
  eventId: string;
3056
3861
  transactionId: string;
3057
- metadata?: Record<string, string | number | boolean | {
3862
+ annotation?: Record<string, string | number | boolean | {
3058
3863
  type: string;
3059
3864
  filename: string;
3060
3865
  originalFilename: string;
@@ -3092,8 +3897,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3092
3897
  filename: string;
3093
3898
  originalFilename: string;
3094
3899
  }[] | undefined> | undefined;
3900
+ originalActionId?: string | undefined;
3095
3901
  }, {
3096
- data: Record<string, string | number | boolean | {
3902
+ assignedTo: string;
3903
+ eventId: string;
3904
+ transactionId: string;
3905
+ type?: "ASSIGN" | undefined;
3906
+ declaration?: Record<string, string | number | boolean | {
3097
3907
  type: string;
3098
3908
  filename: string;
3099
3909
  originalFilename: string;
@@ -3130,11 +3940,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3130
3940
  option: string;
3131
3941
  filename: string;
3132
3942
  originalFilename: string;
3133
- }[] | undefined>;
3134
- eventId: string;
3135
- transactionId: string;
3136
- type?: "MARKED_AS_DUPLICATE" | undefined;
3137
- metadata?: Record<string, string | number | boolean | {
3943
+ }[] | undefined> | undefined;
3944
+ annotation?: Record<string, string | number | boolean | {
3138
3945
  type: string;
3139
3946
  filename: string;
3140
3947
  originalFilename: string;
@@ -3172,12 +3979,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3172
3979
  filename: string;
3173
3980
  originalFilename: string;
3174
3981
  }[] | undefined> | undefined;
3982
+ originalActionId?: string | undefined;
3175
3983
  }>;
3176
- export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
- export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3984
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
3985
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
3986
  eventId: z.ZodString;
3179
3987
  transactionId: z.ZodString;
3180
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3988
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3181
3989
  filename: z.ZodString;
3182
3990
  originalFilename: z.ZodString;
3183
3991
  type: z.ZodString;
@@ -3290,8 +4098,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3290
4098
  addressLine2?: string | null | undefined;
3291
4099
  addressLine3?: string | null | undefined;
3292
4100
  postcodeOrZip?: string | null | undefined;
3293
- }>]>>;
3294
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4101
+ }>]>>>;
4102
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3295
4103
  filename: z.ZodString;
3296
4104
  originalFilename: z.ZodString;
3297
4105
  type: z.ZodString;
@@ -3405,11 +4213,13 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
4213
  addressLine3?: string | null | undefined;
3406
4214
  postcodeOrZip?: string | null | undefined;
3407
4215
  }>]>>>;
4216
+ originalActionId: z.ZodOptional<z.ZodString>;
3408
4217
  }, {
3409
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
4218
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4219
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
3410
4220
  }>, "strip", z.ZodTypeAny, {
3411
- type: "ARCHIVE";
3412
- data: Record<string, string | number | boolean | {
4221
+ type: "UNASSIGN";
4222
+ declaration: Record<string, string | number | boolean | {
3413
4223
  type: string;
3414
4224
  filename: string;
3415
4225
  originalFilename: string;
@@ -3447,9 +4257,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3447
4257
  filename: string;
3448
4258
  originalFilename: string;
3449
4259
  }[] | undefined>;
4260
+ assignedTo: null;
3450
4261
  eventId: string;
3451
4262
  transactionId: string;
3452
- metadata?: Record<string, string | number | boolean | {
4263
+ annotation?: Record<string, string | number | boolean | {
3453
4264
  type: string;
3454
4265
  filename: string;
3455
4266
  originalFilename: string;
@@ -3487,8 +4298,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3487
4298
  filename: string;
3488
4299
  originalFilename: string;
3489
4300
  }[] | undefined> | undefined;
4301
+ originalActionId?: string | undefined;
3490
4302
  }, {
3491
- data: Record<string, string | number | boolean | {
4303
+ eventId: string;
4304
+ transactionId: string;
4305
+ type?: "UNASSIGN" | undefined;
4306
+ declaration?: Record<string, string | number | boolean | {
3492
4307
  type: string;
3493
4308
  filename: string;
3494
4309
  originalFilename: string;
@@ -3525,11 +4340,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
4340
  option: string;
3526
4341
  filename: string;
3527
4342
  originalFilename: string;
3528
- }[] | undefined>;
3529
- eventId: string;
3530
- transactionId: string;
3531
- type?: "ARCHIVE" | undefined;
3532
- metadata?: Record<string, string | number | boolean | {
4343
+ }[] | undefined> | undefined;
4344
+ annotation?: Record<string, string | number | boolean | {
3533
4345
  type: string;
3534
4346
  filename: string;
3535
4347
  originalFilename: string;
@@ -3567,12 +4379,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3567
4379
  filename: string;
3568
4380
  originalFilename: string;
3569
4381
  }[] | undefined> | undefined;
4382
+ originalActionId?: string | undefined;
4383
+ assignedTo?: null | undefined;
3570
4384
  }>;
3571
- export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
4385
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
3572
4386
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
4387
  eventId: z.ZodString;
3574
4388
  transactionId: z.ZodString;
3575
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4389
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3576
4390
  filename: z.ZodString;
3577
4391
  originalFilename: z.ZodString;
3578
4392
  type: z.ZodString;
@@ -3685,8 +4499,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3685
4499
  addressLine2?: string | null | undefined;
3686
4500
  addressLine3?: string | null | undefined;
3687
4501
  postcodeOrZip?: string | null | undefined;
3688
- }>]>>;
3689
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4502
+ }>]>>>;
4503
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3690
4504
  filename: z.ZodString;
3691
4505
  originalFilename: z.ZodString;
3692
4506
  type: z.ZodString;
@@ -3800,11 +4614,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
4614
  addressLine3?: string | null | undefined;
3801
4615
  postcodeOrZip?: string | null | undefined;
3802
4616
  }>]>>>;
4617
+ originalActionId: z.ZodOptional<z.ZodString>;
3803
4618
  }, {
3804
4619
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3805
4620
  }>, "strip", z.ZodTypeAny, {
3806
4621
  type: "REQUEST_CORRECTION";
3807
- data: Record<string, string | number | boolean | {
4622
+ declaration: Record<string, string | number | boolean | {
3808
4623
  type: string;
3809
4624
  filename: string;
3810
4625
  originalFilename: string;
@@ -3844,7 +4659,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3844
4659
  }[] | undefined>;
3845
4660
  eventId: string;
3846
4661
  transactionId: string;
3847
- metadata?: Record<string, string | number | boolean | {
4662
+ annotation?: Record<string, string | number | boolean | {
3848
4663
  type: string;
3849
4664
  filename: string;
3850
4665
  originalFilename: string;
@@ -3882,8 +4697,12 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3882
4697
  filename: string;
3883
4698
  originalFilename: string;
3884
4699
  }[] | undefined> | undefined;
4700
+ originalActionId?: string | undefined;
3885
4701
  }, {
3886
- data: Record<string, string | number | boolean | {
4702
+ eventId: string;
4703
+ transactionId: string;
4704
+ type?: "REQUEST_CORRECTION" | undefined;
4705
+ declaration?: Record<string, string | number | boolean | {
3887
4706
  type: string;
3888
4707
  filename: string;
3889
4708
  originalFilename: string;
@@ -3920,11 +4739,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3920
4739
  option: string;
3921
4740
  filename: string;
3922
4741
  originalFilename: string;
3923
- }[] | undefined>;
3924
- eventId: string;
3925
- transactionId: string;
3926
- type?: "REQUEST_CORRECTION" | undefined;
3927
- metadata?: Record<string, string | number | boolean | {
4742
+ }[] | undefined> | undefined;
4743
+ annotation?: Record<string, string | number | boolean | {
3928
4744
  type: string;
3929
4745
  filename: string;
3930
4746
  originalFilename: string;
@@ -3962,12 +4778,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3962
4778
  filename: string;
3963
4779
  originalFilename: string;
3964
4780
  }[] | undefined> | undefined;
4781
+ originalActionId?: string | undefined;
3965
4782
  }>;
3966
4783
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
4784
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
4785
  eventId: z.ZodString;
3969
4786
  transactionId: z.ZodString;
3970
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4787
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3971
4788
  filename: z.ZodString;
3972
4789
  originalFilename: z.ZodString;
3973
4790
  type: z.ZodString;
@@ -4080,8 +4897,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4080
4897
  addressLine2?: string | null | undefined;
4081
4898
  addressLine3?: string | null | undefined;
4082
4899
  postcodeOrZip?: string | null | undefined;
4083
- }>]>>;
4084
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4900
+ }>]>>>;
4901
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4085
4902
  filename: z.ZodString;
4086
4903
  originalFilename: z.ZodString;
4087
4904
  type: z.ZodString;
@@ -4195,12 +5012,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
5012
  addressLine3?: string | null | undefined;
4196
5013
  postcodeOrZip?: string | null | undefined;
4197
5014
  }>]>>>;
5015
+ originalActionId: z.ZodOptional<z.ZodString>;
4198
5016
  }, {
4199
5017
  requestId: z.ZodString;
4200
5018
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4201
5019
  }>, "strip", z.ZodTypeAny, {
4202
5020
  type: "REJECT_CORRECTION";
4203
- data: Record<string, string | number | boolean | {
5021
+ declaration: Record<string, string | number | boolean | {
4204
5022
  type: string;
4205
5023
  filename: string;
4206
5024
  originalFilename: string;
@@ -4241,7 +5059,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4241
5059
  requestId: string;
4242
5060
  eventId: string;
4243
5061
  transactionId: string;
4244
- metadata?: Record<string, string | number | boolean | {
5062
+ annotation?: Record<string, string | number | boolean | {
4245
5063
  type: string;
4246
5064
  filename: string;
4247
5065
  originalFilename: string;
@@ -4279,8 +5097,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4279
5097
  filename: string;
4280
5098
  originalFilename: string;
4281
5099
  }[] | undefined> | undefined;
5100
+ originalActionId?: string | undefined;
4282
5101
  }, {
4283
- data: Record<string, string | number | boolean | {
5102
+ requestId: string;
5103
+ eventId: string;
5104
+ transactionId: string;
5105
+ type?: "REJECT_CORRECTION" | undefined;
5106
+ declaration?: Record<string, string | number | boolean | {
4284
5107
  type: string;
4285
5108
  filename: string;
4286
5109
  originalFilename: string;
@@ -4317,12 +5140,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4317
5140
  option: string;
4318
5141
  filename: string;
4319
5142
  originalFilename: string;
4320
- }[] | undefined>;
4321
- requestId: string;
4322
- eventId: string;
4323
- transactionId: string;
4324
- type?: "REJECT_CORRECTION" | undefined;
4325
- metadata?: Record<string, string | number | boolean | {
5143
+ }[] | undefined> | undefined;
5144
+ annotation?: Record<string, string | number | boolean | {
4326
5145
  type: string;
4327
5146
  filename: string;
4328
5147
  originalFilename: string;
@@ -4360,12 +5179,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4360
5179
  filename: string;
4361
5180
  originalFilename: string;
4362
5181
  }[] | undefined> | undefined;
5182
+ originalActionId?: string | undefined;
4363
5183
  }>;
4364
5184
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
5185
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
5186
  eventId: z.ZodString;
4367
5187
  transactionId: z.ZodString;
4368
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5188
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4369
5189
  filename: z.ZodString;
4370
5190
  originalFilename: z.ZodString;
4371
5191
  type: z.ZodString;
@@ -4478,8 +5298,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4478
5298
  addressLine2?: string | null | undefined;
4479
5299
  addressLine3?: string | null | undefined;
4480
5300
  postcodeOrZip?: string | null | undefined;
4481
- }>]>>;
4482
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5301
+ }>]>>>;
5302
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4483
5303
  filename: z.ZodString;
4484
5304
  originalFilename: z.ZodString;
4485
5305
  type: z.ZodString;
@@ -4593,12 +5413,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
5413
  addressLine3?: string | null | undefined;
4594
5414
  postcodeOrZip?: string | null | undefined;
4595
5415
  }>]>>>;
5416
+ originalActionId: z.ZodOptional<z.ZodString>;
4596
5417
  }, {
4597
5418
  requestId: z.ZodString;
4598
5419
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4599
5420
  }>, "strip", z.ZodTypeAny, {
4600
5421
  type: "APPROVE_CORRECTION";
4601
- data: Record<string, string | number | boolean | {
5422
+ declaration: Record<string, string | number | boolean | {
4602
5423
  type: string;
4603
5424
  filename: string;
4604
5425
  originalFilename: string;
@@ -4639,7 +5460,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4639
5460
  requestId: string;
4640
5461
  eventId: string;
4641
5462
  transactionId: string;
4642
- metadata?: Record<string, string | number | boolean | {
5463
+ annotation?: Record<string, string | number | boolean | {
4643
5464
  type: string;
4644
5465
  filename: string;
4645
5466
  originalFilename: string;
@@ -4677,8 +5498,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4677
5498
  filename: string;
4678
5499
  originalFilename: string;
4679
5500
  }[] | undefined> | undefined;
5501
+ originalActionId?: string | undefined;
4680
5502
  }, {
4681
- data: Record<string, string | number | boolean | {
5503
+ requestId: string;
5504
+ eventId: string;
5505
+ transactionId: string;
5506
+ type?: "APPROVE_CORRECTION" | undefined;
5507
+ declaration?: Record<string, string | number | boolean | {
4682
5508
  type: string;
4683
5509
  filename: string;
4684
5510
  originalFilename: string;
@@ -4715,12 +5541,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4715
5541
  option: string;
4716
5542
  filename: string;
4717
5543
  originalFilename: string;
4718
- }[] | undefined>;
4719
- requestId: string;
4720
- eventId: string;
4721
- transactionId: string;
4722
- type?: "APPROVE_CORRECTION" | undefined;
4723
- metadata?: Record<string, string | number | boolean | {
5544
+ }[] | undefined> | undefined;
5545
+ annotation?: Record<string, string | number | boolean | {
4724
5546
  type: string;
4725
5547
  filename: string;
4726
5548
  originalFilename: string;
@@ -4758,12 +5580,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4758
5580
  filename: string;
4759
5581
  originalFilename: string;
4760
5582
  }[] | undefined> | undefined;
5583
+ originalActionId?: string | undefined;
4761
5584
  }>;
4762
5585
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
5586
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4764
5587
  eventId: z.ZodString;
4765
5588
  transactionId: z.ZodString;
4766
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5589
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4767
5590
  filename: z.ZodString;
4768
5591
  originalFilename: z.ZodString;
4769
5592
  type: z.ZodString;
@@ -4876,8 +5699,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4876
5699
  addressLine2?: string | null | undefined;
4877
5700
  addressLine3?: string | null | undefined;
4878
5701
  postcodeOrZip?: string | null | undefined;
4879
- }>]>>;
4880
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5702
+ }>]>>>;
5703
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4881
5704
  filename: z.ZodString;
4882
5705
  originalFilename: z.ZodString;
4883
5706
  type: z.ZodString;
@@ -4991,11 +5814,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4991
5814
  addressLine3?: string | null | undefined;
4992
5815
  postcodeOrZip?: string | null | undefined;
4993
5816
  }>]>>>;
5817
+ originalActionId: z.ZodOptional<z.ZodString>;
4994
5818
  }, {
4995
5819
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
4996
5820
  }>, "strip", z.ZodTypeAny, {
4997
5821
  type: "READ";
4998
- data: Record<string, string | number | boolean | {
5822
+ declaration: Record<string, string | number | boolean | {
4999
5823
  type: string;
5000
5824
  filename: string;
5001
5825
  originalFilename: string;
@@ -5035,7 +5859,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5035
5859
  }[] | undefined>;
5036
5860
  eventId: string;
5037
5861
  transactionId: string;
5038
- metadata?: Record<string, string | number | boolean | {
5862
+ annotation?: Record<string, string | number | boolean | {
5039
5863
  type: string;
5040
5864
  filename: string;
5041
5865
  originalFilename: string;
@@ -5073,8 +5897,12 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5073
5897
  filename: string;
5074
5898
  originalFilename: string;
5075
5899
  }[] | undefined> | undefined;
5900
+ originalActionId?: string | undefined;
5076
5901
  }, {
5077
- data: Record<string, string | number | boolean | {
5902
+ eventId: string;
5903
+ transactionId: string;
5904
+ type?: "READ" | undefined;
5905
+ declaration?: Record<string, string | number | boolean | {
5078
5906
  type: string;
5079
5907
  filename: string;
5080
5908
  originalFilename: string;
@@ -5111,11 +5939,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5111
5939
  option: string;
5112
5940
  filename: string;
5113
5941
  originalFilename: string;
5114
- }[] | undefined>;
5115
- eventId: string;
5116
- transactionId: string;
5117
- type?: "READ" | undefined;
5118
- metadata?: Record<string, string | number | boolean | {
5942
+ }[] | undefined> | undefined;
5943
+ annotation?: Record<string, string | number | boolean | {
5119
5944
  type: string;
5120
5945
  filename: string;
5121
5946
  originalFilename: string;
@@ -5153,6 +5978,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5153
5978
  filename: string;
5154
5979
  originalFilename: string;
5155
5980
  }[] | undefined> | undefined;
5981
+ originalActionId?: string | undefined;
5156
5982
  }>;
5157
5983
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
5158
5984
  /**
@@ -5166,7 +5992,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5166
5992
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5167
5993
  eventId: z.ZodString;
5168
5994
  transactionId: z.ZodString;
5169
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5995
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5170
5996
  filename: z.ZodString;
5171
5997
  originalFilename: z.ZodString;
5172
5998
  type: z.ZodString;
@@ -5279,8 +6105,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5279
6105
  addressLine2?: string | null | undefined;
5280
6106
  addressLine3?: string | null | undefined;
5281
6107
  postcodeOrZip?: string | null | undefined;
5282
- }>]>>;
5283
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6108
+ }>]>>>;
6109
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5284
6110
  filename: z.ZodString;
5285
6111
  originalFilename: z.ZodString;
5286
6112
  type: z.ZodString;
@@ -5394,12 +6220,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5394
6220
  addressLine3?: string | null | undefined;
5395
6221
  postcodeOrZip?: string | null | undefined;
5396
6222
  }>]>>>;
6223
+ originalActionId: z.ZodOptional<z.ZodString>;
5397
6224
  }, {
5398
6225
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5399
6226
  createdAtLocation: z.ZodString;
5400
6227
  }>, "strip", z.ZodTypeAny, {
5401
6228
  type: "CREATE";
5402
- data: Record<string, string | number | boolean | {
6229
+ declaration: Record<string, string | number | boolean | {
5403
6230
  type: string;
5404
6231
  filename: string;
5405
6232
  originalFilename: string;
@@ -5440,7 +6267,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5440
6267
  createdAtLocation: string;
5441
6268
  eventId: string;
5442
6269
  transactionId: string;
5443
- metadata?: Record<string, string | number | boolean | {
6270
+ annotation?: Record<string, string | number | boolean | {
5444
6271
  type: string;
5445
6272
  filename: string;
5446
6273
  originalFilename: string;
@@ -5478,8 +6305,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5478
6305
  filename: string;
5479
6306
  originalFilename: string;
5480
6307
  }[] | undefined> | undefined;
6308
+ originalActionId?: string | undefined;
5481
6309
  }, {
5482
- data: Record<string, string | number | boolean | {
6310
+ createdAtLocation: string;
6311
+ eventId: string;
6312
+ transactionId: string;
6313
+ type?: "CREATE" | undefined;
6314
+ declaration?: Record<string, string | number | boolean | {
5483
6315
  type: string;
5484
6316
  filename: string;
5485
6317
  originalFilename: string;
@@ -5516,12 +6348,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5516
6348
  option: string;
5517
6349
  filename: string;
5518
6350
  originalFilename: string;
5519
- }[] | undefined>;
5520
- createdAtLocation: string;
5521
- eventId: string;
5522
- transactionId: string;
5523
- type?: "CREATE" | undefined;
5524
- metadata?: Record<string, string | number | boolean | {
6351
+ }[] | undefined> | undefined;
6352
+ annotation?: Record<string, string | number | boolean | {
5525
6353
  type: string;
5526
6354
  filename: string;
5527
6355
  originalFilename: string;
@@ -5559,10 +6387,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5559
6387
  filename: string;
5560
6388
  originalFilename: string;
5561
6389
  }[] | undefined> | undefined;
6390
+ originalActionId?: string | undefined;
5562
6391
  }>, z.ZodObject<z.objectUtil.extendShape<{
5563
6392
  eventId: z.ZodString;
5564
6393
  transactionId: z.ZodString;
5565
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6394
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5566
6395
  filename: z.ZodString;
5567
6396
  originalFilename: z.ZodString;
5568
6397
  type: z.ZodString;
@@ -5675,8 +6504,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5675
6504
  addressLine2?: string | null | undefined;
5676
6505
  addressLine3?: string | null | undefined;
5677
6506
  postcodeOrZip?: string | null | undefined;
5678
- }>]>>;
5679
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6507
+ }>]>>>;
6508
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5680
6509
  filename: z.ZodString;
5681
6510
  originalFilename: z.ZodString;
5682
6511
  type: z.ZodString;
@@ -5790,12 +6619,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5790
6619
  addressLine3?: string | null | undefined;
5791
6620
  postcodeOrZip?: string | null | undefined;
5792
6621
  }>]>>>;
6622
+ originalActionId: z.ZodOptional<z.ZodString>;
5793
6623
  }, {
5794
6624
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5795
6625
  duplicates: z.ZodArray<z.ZodString, "many">;
5796
6626
  }>, "strip", z.ZodTypeAny, {
5797
6627
  type: "VALIDATE";
5798
- data: Record<string, string | number | boolean | {
6628
+ declaration: Record<string, string | number | boolean | {
5799
6629
  type: string;
5800
6630
  filename: string;
5801
6631
  originalFilename: string;
@@ -5836,7 +6666,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5836
6666
  eventId: string;
5837
6667
  transactionId: string;
5838
6668
  duplicates: string[];
5839
- metadata?: Record<string, string | number | boolean | {
6669
+ annotation?: Record<string, string | number | boolean | {
5840
6670
  type: string;
5841
6671
  filename: string;
5842
6672
  originalFilename: string;
@@ -5874,8 +6704,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5874
6704
  filename: string;
5875
6705
  originalFilename: string;
5876
6706
  }[] | undefined> | undefined;
6707
+ originalActionId?: string | undefined;
5877
6708
  }, {
5878
- data: Record<string, string | number | boolean | {
6709
+ eventId: string;
6710
+ transactionId: string;
6711
+ duplicates: string[];
6712
+ type?: "VALIDATE" | undefined;
6713
+ declaration?: Record<string, string | number | boolean | {
5879
6714
  type: string;
5880
6715
  filename: string;
5881
6716
  originalFilename: string;
@@ -5912,12 +6747,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
6747
  option: string;
5913
6748
  filename: string;
5914
6749
  originalFilename: string;
5915
- }[] | undefined>;
5916
- eventId: string;
5917
- transactionId: string;
5918
- duplicates: string[];
5919
- type?: "VALIDATE" | undefined;
5920
- metadata?: Record<string, string | number | boolean | {
6750
+ }[] | undefined> | undefined;
6751
+ annotation?: Record<string, string | number | boolean | {
5921
6752
  type: string;
5922
6753
  filename: string;
5923
6754
  originalFilename: string;
@@ -5955,10 +6786,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5955
6786
  filename: string;
5956
6787
  originalFilename: string;
5957
6788
  }[] | undefined> | undefined;
6789
+ originalActionId?: string | undefined;
5958
6790
  }>, z.ZodObject<z.objectUtil.extendShape<{
5959
6791
  eventId: z.ZodString;
5960
6792
  transactionId: z.ZodString;
5961
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6793
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5962
6794
  filename: z.ZodString;
5963
6795
  originalFilename: z.ZodString;
5964
6796
  type: z.ZodString;
@@ -6071,8 +6903,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6071
6903
  addressLine2?: string | null | undefined;
6072
6904
  addressLine3?: string | null | undefined;
6073
6905
  postcodeOrZip?: string | null | undefined;
6074
- }>]>>;
6075
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6906
+ }>]>>>;
6907
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6076
6908
  filename: z.ZodString;
6077
6909
  originalFilename: z.ZodString;
6078
6910
  type: z.ZodString;
@@ -6186,21 +7018,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7018
  addressLine3?: string | null | undefined;
6187
7019
  postcodeOrZip?: string | null | undefined;
6188
7020
  }>]>>>;
7021
+ originalActionId: z.ZodOptional<z.ZodString>;
6189
7022
  }, {
6190
7023
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
6191
- identifiers: z.ZodObject<{
6192
- trackingId: z.ZodString;
6193
- registrationNumber: z.ZodString;
6194
- }, "strip", z.ZodTypeAny, {
6195
- trackingId: string;
6196
- registrationNumber: string;
6197
- }, {
6198
- trackingId: string;
6199
- registrationNumber: string;
6200
- }>;
7024
+ registrationNumber: z.ZodOptional<z.ZodString>;
6201
7025
  }>, "strip", z.ZodTypeAny, {
6202
7026
  type: "REGISTER";
6203
- data: Record<string, string | number | boolean | {
7027
+ declaration: Record<string, string | number | boolean | {
6204
7028
  type: string;
6205
7029
  filename: string;
6206
7030
  originalFilename: string;
@@ -6238,13 +7062,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6238
7062
  filename: string;
6239
7063
  originalFilename: string;
6240
7064
  }[] | undefined>;
6241
- identifiers: {
6242
- trackingId: string;
6243
- registrationNumber: string;
6244
- };
6245
7065
  eventId: string;
6246
7066
  transactionId: string;
6247
- metadata?: Record<string, string | number | boolean | {
7067
+ annotation?: Record<string, string | number | boolean | {
6248
7068
  type: string;
6249
7069
  filename: string;
6250
7070
  originalFilename: string;
@@ -6282,8 +7102,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6282
7102
  filename: string;
6283
7103
  originalFilename: string;
6284
7104
  }[] | undefined> | undefined;
7105
+ originalActionId?: string | undefined;
7106
+ registrationNumber?: string | undefined;
6285
7107
  }, {
6286
- data: Record<string, string | number | boolean | {
7108
+ eventId: string;
7109
+ transactionId: string;
7110
+ type?: "REGISTER" | undefined;
7111
+ declaration?: Record<string, string | number | boolean | {
6287
7112
  type: string;
6288
7113
  filename: string;
6289
7114
  originalFilename: string;
@@ -6320,15 +7145,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6320
7145
  option: string;
6321
7146
  filename: string;
6322
7147
  originalFilename: string;
6323
- }[] | undefined>;
6324
- identifiers: {
6325
- trackingId: string;
6326
- registrationNumber: string;
6327
- };
6328
- eventId: string;
6329
- transactionId: string;
6330
- type?: "REGISTER" | undefined;
6331
- metadata?: Record<string, string | number | boolean | {
7148
+ }[] | undefined> | undefined;
7149
+ annotation?: Record<string, string | number | boolean | {
6332
7150
  type: string;
6333
7151
  filename: string;
6334
7152
  originalFilename: string;
@@ -6366,10 +7184,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6366
7184
  filename: string;
6367
7185
  originalFilename: string;
6368
7186
  }[] | undefined> | undefined;
7187
+ originalActionId?: string | undefined;
7188
+ registrationNumber?: string | undefined;
6369
7189
  }>, z.ZodObject<z.objectUtil.extendShape<{
6370
7190
  eventId: z.ZodString;
6371
7191
  transactionId: z.ZodString;
6372
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7192
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6373
7193
  filename: z.ZodString;
6374
7194
  originalFilename: z.ZodString;
6375
7195
  type: z.ZodString;
@@ -6482,8 +7302,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6482
7302
  addressLine2?: string | null | undefined;
6483
7303
  addressLine3?: string | null | undefined;
6484
7304
  postcodeOrZip?: string | null | undefined;
6485
- }>]>>;
6486
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7305
+ }>]>>>;
7306
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6487
7307
  filename: z.ZodString;
6488
7308
  originalFilename: z.ZodString;
6489
7309
  type: z.ZodString;
@@ -6597,11 +7417,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6597
7417
  addressLine3?: string | null | undefined;
6598
7418
  postcodeOrZip?: string | null | undefined;
6599
7419
  }>]>>>;
7420
+ originalActionId: z.ZodOptional<z.ZodString>;
6600
7421
  }, {
6601
7422
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6602
7423
  }>, "strip", z.ZodTypeAny, {
6603
7424
  type: "NOTIFY";
6604
- data: Record<string, string | number | boolean | {
7425
+ declaration: Record<string, string | number | boolean | {
6605
7426
  type: string;
6606
7427
  filename: string;
6607
7428
  originalFilename: string;
@@ -6641,7 +7462,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6641
7462
  }[] | undefined>;
6642
7463
  eventId: string;
6643
7464
  transactionId: string;
6644
- metadata?: Record<string, string | number | boolean | {
7465
+ annotation?: Record<string, string | number | boolean | {
6645
7466
  type: string;
6646
7467
  filename: string;
6647
7468
  originalFilename: string;
@@ -6679,8 +7500,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6679
7500
  filename: string;
6680
7501
  originalFilename: string;
6681
7502
  }[] | undefined> | undefined;
7503
+ originalActionId?: string | undefined;
6682
7504
  }, {
6683
- data: Record<string, string | number | boolean | {
7505
+ eventId: string;
7506
+ transactionId: string;
7507
+ type?: "NOTIFY" | undefined;
7508
+ declaration?: Record<string, string | number | boolean | {
6684
7509
  type: string;
6685
7510
  filename: string;
6686
7511
  originalFilename: string;
@@ -6717,11 +7542,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6717
7542
  option: string;
6718
7543
  filename: string;
6719
7544
  originalFilename: string;
6720
- }[] | undefined>;
6721
- eventId: string;
6722
- transactionId: string;
6723
- type?: "NOTIFY" | undefined;
6724
- metadata?: Record<string, string | number | boolean | {
7545
+ }[] | undefined> | undefined;
7546
+ annotation?: Record<string, string | number | boolean | {
6725
7547
  type: string;
6726
7548
  filename: string;
6727
7549
  originalFilename: string;
@@ -6759,10 +7581,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6759
7581
  filename: string;
6760
7582
  originalFilename: string;
6761
7583
  }[] | undefined> | undefined;
7584
+ originalActionId?: string | undefined;
6762
7585
  }>, z.ZodObject<z.objectUtil.extendShape<{
6763
7586
  eventId: z.ZodString;
6764
7587
  transactionId: z.ZodString;
6765
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7588
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6766
7589
  filename: z.ZodString;
6767
7590
  originalFilename: z.ZodString;
6768
7591
  type: z.ZodString;
@@ -6875,8 +7698,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6875
7698
  addressLine2?: string | null | undefined;
6876
7699
  addressLine3?: string | null | undefined;
6877
7700
  postcodeOrZip?: string | null | undefined;
6878
- }>]>>;
6879
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7701
+ }>]>>>;
7702
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6880
7703
  filename: z.ZodString;
6881
7704
  originalFilename: z.ZodString;
6882
7705
  type: z.ZodString;
@@ -6990,11 +7813,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6990
7813
  addressLine3?: string | null | undefined;
6991
7814
  postcodeOrZip?: string | null | undefined;
6992
7815
  }>]>>>;
7816
+ originalActionId: z.ZodOptional<z.ZodString>;
6993
7817
  }, {
6994
7818
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6995
7819
  }>, "strip", z.ZodTypeAny, {
6996
7820
  type: "DECLARE";
6997
- data: Record<string, string | number | boolean | {
7821
+ declaration: Record<string, string | number | boolean | {
6998
7822
  type: string;
6999
7823
  filename: string;
7000
7824
  originalFilename: string;
@@ -7034,7 +7858,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7034
7858
  }[] | undefined>;
7035
7859
  eventId: string;
7036
7860
  transactionId: string;
7037
- metadata?: Record<string, string | number | boolean | {
7861
+ annotation?: Record<string, string | number | boolean | {
7038
7862
  type: string;
7039
7863
  filename: string;
7040
7864
  originalFilename: string;
@@ -7072,8 +7896,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7072
7896
  filename: string;
7073
7897
  originalFilename: string;
7074
7898
  }[] | undefined> | undefined;
7899
+ originalActionId?: string | undefined;
7075
7900
  }, {
7076
- data: Record<string, string | number | boolean | {
7901
+ eventId: string;
7902
+ transactionId: string;
7903
+ type?: "DECLARE" | undefined;
7904
+ declaration?: Record<string, string | number | boolean | {
7077
7905
  type: string;
7078
7906
  filename: string;
7079
7907
  originalFilename: string;
@@ -7110,11 +7938,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7110
7938
  option: string;
7111
7939
  filename: string;
7112
7940
  originalFilename: string;
7113
- }[] | undefined>;
7114
- eventId: string;
7115
- transactionId: string;
7116
- type?: "DECLARE" | undefined;
7117
- metadata?: Record<string, string | number | boolean | {
7941
+ }[] | undefined> | undefined;
7942
+ annotation?: Record<string, string | number | boolean | {
7118
7943
  type: string;
7119
7944
  filename: string;
7120
7945
  originalFilename: string;
@@ -7152,10 +7977,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7152
7977
  filename: string;
7153
7978
  originalFilename: string;
7154
7979
  }[] | undefined> | undefined;
7980
+ originalActionId?: string | undefined;
7155
7981
  }>, z.ZodObject<z.objectUtil.extendShape<{
7156
7982
  eventId: z.ZodString;
7157
7983
  transactionId: z.ZodString;
7158
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7984
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7159
7985
  filename: z.ZodString;
7160
7986
  originalFilename: z.ZodString;
7161
7987
  type: z.ZodString;
@@ -7268,8 +8094,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
8094
  addressLine2?: string | null | undefined;
7269
8095
  addressLine3?: string | null | undefined;
7270
8096
  postcodeOrZip?: string | null | undefined;
7271
- }>]>>;
7272
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8097
+ }>]>>>;
8098
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7273
8099
  filename: z.ZodString;
7274
8100
  originalFilename: z.ZodString;
7275
8101
  type: z.ZodString;
@@ -7383,11 +8209,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7383
8209
  addressLine3?: string | null | undefined;
7384
8210
  postcodeOrZip?: string | null | undefined;
7385
8211
  }>]>>>;
8212
+ originalActionId: z.ZodOptional<z.ZodString>;
7386
8213
  }, {
7387
8214
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7388
8215
  }>, "strip", z.ZodTypeAny, {
7389
8216
  type: "REJECT";
7390
- data: Record<string, string | number | boolean | {
8217
+ declaration: Record<string, string | number | boolean | {
7391
8218
  type: string;
7392
8219
  filename: string;
7393
8220
  originalFilename: string;
@@ -7427,7 +8254,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7427
8254
  }[] | undefined>;
7428
8255
  eventId: string;
7429
8256
  transactionId: string;
7430
- metadata?: Record<string, string | number | boolean | {
8257
+ annotation?: Record<string, string | number | boolean | {
7431
8258
  type: string;
7432
8259
  filename: string;
7433
8260
  originalFilename: string;
@@ -7465,8 +8292,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7465
8292
  filename: string;
7466
8293
  originalFilename: string;
7467
8294
  }[] | undefined> | undefined;
8295
+ originalActionId?: string | undefined;
7468
8296
  }, {
7469
- data: Record<string, string | number | boolean | {
8297
+ eventId: string;
8298
+ transactionId: string;
8299
+ type?: "REJECT" | undefined;
8300
+ declaration?: Record<string, string | number | boolean | {
7470
8301
  type: string;
7471
8302
  filename: string;
7472
8303
  originalFilename: string;
@@ -7503,11 +8334,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7503
8334
  option: string;
7504
8335
  filename: string;
7505
8336
  originalFilename: string;
7506
- }[] | undefined>;
7507
- eventId: string;
7508
- transactionId: string;
7509
- type?: "REJECT" | undefined;
7510
- metadata?: Record<string, string | number | boolean | {
8337
+ }[] | undefined> | undefined;
8338
+ annotation?: Record<string, string | number | boolean | {
7511
8339
  type: string;
7512
8340
  filename: string;
7513
8341
  originalFilename: string;
@@ -7545,10 +8373,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7545
8373
  filename: string;
7546
8374
  originalFilename: string;
7547
8375
  }[] | undefined> | undefined;
8376
+ originalActionId?: string | undefined;
7548
8377
  }>, z.ZodObject<z.objectUtil.extendShape<{
7549
8378
  eventId: z.ZodString;
7550
8379
  transactionId: z.ZodString;
7551
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8380
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7552
8381
  filename: z.ZodString;
7553
8382
  originalFilename: z.ZodString;
7554
8383
  type: z.ZodString;
@@ -7661,8 +8490,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7661
8490
  addressLine2?: string | null | undefined;
7662
8491
  addressLine3?: string | null | undefined;
7663
8492
  postcodeOrZip?: string | null | undefined;
7664
- }>]>>;
7665
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8493
+ }>]>>>;
8494
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7666
8495
  filename: z.ZodString;
7667
8496
  originalFilename: z.ZodString;
7668
8497
  type: z.ZodString;
@@ -7776,11 +8605,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7776
8605
  addressLine3?: string | null | undefined;
7777
8606
  postcodeOrZip?: string | null | undefined;
7778
8607
  }>]>>>;
8608
+ originalActionId: z.ZodOptional<z.ZodString>;
7779
8609
  }, {
7780
8610
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7781
8611
  }>, "strip", z.ZodTypeAny, {
7782
8612
  type: "MARKED_AS_DUPLICATE";
7783
- data: Record<string, string | number | boolean | {
8613
+ declaration: Record<string, string | number | boolean | {
7784
8614
  type: string;
7785
8615
  filename: string;
7786
8616
  originalFilename: string;
@@ -7820,7 +8650,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7820
8650
  }[] | undefined>;
7821
8651
  eventId: string;
7822
8652
  transactionId: string;
7823
- metadata?: Record<string, string | number | boolean | {
8653
+ annotation?: Record<string, string | number | boolean | {
7824
8654
  type: string;
7825
8655
  filename: string;
7826
8656
  originalFilename: string;
@@ -7858,8 +8688,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7858
8688
  filename: string;
7859
8689
  originalFilename: string;
7860
8690
  }[] | undefined> | undefined;
8691
+ originalActionId?: string | undefined;
7861
8692
  }, {
7862
- data: Record<string, string | number | boolean | {
8693
+ eventId: string;
8694
+ transactionId: string;
8695
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8696
+ declaration?: Record<string, string | number | boolean | {
7863
8697
  type: string;
7864
8698
  filename: string;
7865
8699
  originalFilename: string;
@@ -7896,11 +8730,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7896
8730
  option: string;
7897
8731
  filename: string;
7898
8732
  originalFilename: string;
7899
- }[] | undefined>;
7900
- eventId: string;
7901
- transactionId: string;
7902
- type?: "MARKED_AS_DUPLICATE" | undefined;
7903
- metadata?: Record<string, string | number | boolean | {
8733
+ }[] | undefined> | undefined;
8734
+ annotation?: Record<string, string | number | boolean | {
7904
8735
  type: string;
7905
8736
  filename: string;
7906
8737
  originalFilename: string;
@@ -7938,10 +8769,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7938
8769
  filename: string;
7939
8770
  originalFilename: string;
7940
8771
  }[] | undefined> | undefined;
8772
+ originalActionId?: string | undefined;
7941
8773
  }>, z.ZodObject<z.objectUtil.extendShape<{
7942
8774
  eventId: z.ZodString;
7943
8775
  transactionId: z.ZodString;
7944
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8776
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7945
8777
  filename: z.ZodString;
7946
8778
  originalFilename: z.ZodString;
7947
8779
  type: z.ZodString;
@@ -8054,8 +8886,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8054
8886
  addressLine2?: string | null | undefined;
8055
8887
  addressLine3?: string | null | undefined;
8056
8888
  postcodeOrZip?: string | null | undefined;
8057
- }>]>>;
8058
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8889
+ }>]>>>;
8890
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8059
8891
  filename: z.ZodString;
8060
8892
  originalFilename: z.ZodString;
8061
8893
  type: z.ZodString;
@@ -8169,11 +9001,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8169
9001
  addressLine3?: string | null | undefined;
8170
9002
  postcodeOrZip?: string | null | undefined;
8171
9003
  }>]>>>;
9004
+ originalActionId: z.ZodOptional<z.ZodString>;
8172
9005
  }, {
8173
9006
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8174
9007
  }>, "strip", z.ZodTypeAny, {
8175
9008
  type: "ARCHIVE";
8176
- data: Record<string, string | number | boolean | {
9009
+ declaration: Record<string, string | number | boolean | {
8177
9010
  type: string;
8178
9011
  filename: string;
8179
9012
  originalFilename: string;
@@ -8213,7 +9046,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8213
9046
  }[] | undefined>;
8214
9047
  eventId: string;
8215
9048
  transactionId: string;
8216
- metadata?: Record<string, string | number | boolean | {
9049
+ annotation?: Record<string, string | number | boolean | {
8217
9050
  type: string;
8218
9051
  filename: string;
8219
9052
  originalFilename: string;
@@ -8251,8 +9084,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
9084
  filename: string;
8252
9085
  originalFilename: string;
8253
9086
  }[] | undefined> | undefined;
9087
+ originalActionId?: string | undefined;
8254
9088
  }, {
8255
- data: Record<string, string | number | boolean | {
9089
+ eventId: string;
9090
+ transactionId: string;
9091
+ type?: "ARCHIVE" | undefined;
9092
+ declaration?: Record<string, string | number | boolean | {
8256
9093
  type: string;
8257
9094
  filename: string;
8258
9095
  originalFilename: string;
@@ -8289,11 +9126,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8289
9126
  option: string;
8290
9127
  filename: string;
8291
9128
  originalFilename: string;
8292
- }[] | undefined>;
8293
- eventId: string;
8294
- transactionId: string;
8295
- type?: "ARCHIVE" | undefined;
8296
- metadata?: Record<string, string | number | boolean | {
9129
+ }[] | undefined> | undefined;
9130
+ annotation?: Record<string, string | number | boolean | {
8297
9131
  type: string;
8298
9132
  filename: string;
8299
9133
  originalFilename: string;
@@ -8331,10 +9165,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8331
9165
  filename: string;
8332
9166
  originalFilename: string;
8333
9167
  }[] | undefined> | undefined;
9168
+ originalActionId?: string | undefined;
8334
9169
  }>, z.ZodObject<z.objectUtil.extendShape<{
8335
9170
  eventId: z.ZodString;
8336
9171
  transactionId: z.ZodString;
8337
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9172
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8338
9173
  filename: z.ZodString;
8339
9174
  originalFilename: z.ZodString;
8340
9175
  type: z.ZodString;
@@ -8447,8 +9282,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8447
9282
  addressLine2?: string | null | undefined;
8448
9283
  addressLine3?: string | null | undefined;
8449
9284
  postcodeOrZip?: string | null | undefined;
8450
- }>]>>;
8451
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9285
+ }>]>>>;
9286
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8452
9287
  filename: z.ZodString;
8453
9288
  originalFilename: z.ZodString;
8454
9289
  type: z.ZodString;
@@ -8562,12 +9397,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8562
9397
  addressLine3?: string | null | undefined;
8563
9398
  postcodeOrZip?: string | null | undefined;
8564
9399
  }>]>>>;
9400
+ originalActionId: z.ZodOptional<z.ZodString>;
8565
9401
  }, {
8566
9402
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8567
9403
  assignedTo: z.ZodString;
8568
9404
  }>, "strip", z.ZodTypeAny, {
8569
9405
  type: "ASSIGN";
8570
- data: Record<string, string | number | boolean | {
9406
+ declaration: Record<string, string | number | boolean | {
8571
9407
  type: string;
8572
9408
  filename: string;
8573
9409
  originalFilename: string;
@@ -8608,7 +9444,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8608
9444
  assignedTo: string;
8609
9445
  eventId: string;
8610
9446
  transactionId: string;
8611
- metadata?: Record<string, string | number | boolean | {
9447
+ annotation?: Record<string, string | number | boolean | {
8612
9448
  type: string;
8613
9449
  filename: string;
8614
9450
  originalFilename: string;
@@ -8646,8 +9482,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8646
9482
  filename: string;
8647
9483
  originalFilename: string;
8648
9484
  }[] | undefined> | undefined;
9485
+ originalActionId?: string | undefined;
8649
9486
  }, {
8650
- data: Record<string, string | number | boolean | {
9487
+ assignedTo: string;
9488
+ eventId: string;
9489
+ transactionId: string;
9490
+ type?: "ASSIGN" | undefined;
9491
+ declaration?: Record<string, string | number | boolean | {
8651
9492
  type: string;
8652
9493
  filename: string;
8653
9494
  originalFilename: string;
@@ -8684,12 +9525,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8684
9525
  option: string;
8685
9526
  filename: string;
8686
9527
  originalFilename: string;
8687
- }[] | undefined>;
8688
- assignedTo: string;
8689
- eventId: string;
8690
- transactionId: string;
8691
- type?: "ASSIGN" | undefined;
8692
- metadata?: Record<string, string | number | boolean | {
9528
+ }[] | undefined> | undefined;
9529
+ annotation?: Record<string, string | number | boolean | {
8693
9530
  type: string;
8694
9531
  filename: string;
8695
9532
  originalFilename: string;
@@ -8727,10 +9564,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8727
9564
  filename: string;
8728
9565
  originalFilename: string;
8729
9566
  }[] | undefined> | undefined;
9567
+ originalActionId?: string | undefined;
8730
9568
  }>, z.ZodObject<z.objectUtil.extendShape<{
8731
9569
  eventId: z.ZodString;
8732
9570
  transactionId: z.ZodString;
8733
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9571
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8734
9572
  filename: z.ZodString;
8735
9573
  originalFilename: z.ZodString;
8736
9574
  type: z.ZodString;
@@ -8843,8 +9681,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8843
9681
  addressLine2?: string | null | undefined;
8844
9682
  addressLine3?: string | null | undefined;
8845
9683
  postcodeOrZip?: string | null | undefined;
8846
- }>]>>;
8847
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9684
+ }>]>>>;
9685
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8848
9686
  filename: z.ZodString;
8849
9687
  originalFilename: z.ZodString;
8850
9688
  type: z.ZodString;
@@ -8958,11 +9796,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8958
9796
  addressLine3?: string | null | undefined;
8959
9797
  postcodeOrZip?: string | null | undefined;
8960
9798
  }>]>>>;
9799
+ originalActionId: z.ZodOptional<z.ZodString>;
8961
9800
  }, {
8962
9801
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9802
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
8963
9803
  }>, "strip", z.ZodTypeAny, {
8964
9804
  type: "UNASSIGN";
8965
- data: Record<string, string | number | boolean | {
9805
+ declaration: Record<string, string | number | boolean | {
8966
9806
  type: string;
8967
9807
  filename: string;
8968
9808
  originalFilename: string;
@@ -9000,9 +9840,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9000
9840
  filename: string;
9001
9841
  originalFilename: string;
9002
9842
  }[] | undefined>;
9843
+ assignedTo: null;
9003
9844
  eventId: string;
9004
9845
  transactionId: string;
9005
- metadata?: Record<string, string | number | boolean | {
9846
+ annotation?: Record<string, string | number | boolean | {
9006
9847
  type: string;
9007
9848
  filename: string;
9008
9849
  originalFilename: string;
@@ -9040,8 +9881,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9040
9881
  filename: string;
9041
9882
  originalFilename: string;
9042
9883
  }[] | undefined> | undefined;
9884
+ originalActionId?: string | undefined;
9043
9885
  }, {
9044
- data: Record<string, string | number | boolean | {
9886
+ eventId: string;
9887
+ transactionId: string;
9888
+ type?: "UNASSIGN" | undefined;
9889
+ declaration?: Record<string, string | number | boolean | {
9045
9890
  type: string;
9046
9891
  filename: string;
9047
9892
  originalFilename: string;
@@ -9078,11 +9923,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
9923
  option: string;
9079
9924
  filename: string;
9080
9925
  originalFilename: string;
9081
- }[] | undefined>;
9082
- eventId: string;
9083
- transactionId: string;
9084
- type?: "UNASSIGN" | undefined;
9085
- metadata?: Record<string, string | number | boolean | {
9926
+ }[] | undefined> | undefined;
9927
+ annotation?: Record<string, string | number | boolean | {
9086
9928
  type: string;
9087
9929
  filename: string;
9088
9930
  originalFilename: string;
@@ -9120,10 +9962,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9120
9962
  filename: string;
9121
9963
  originalFilename: string;
9122
9964
  }[] | undefined> | undefined;
9965
+ originalActionId?: string | undefined;
9966
+ assignedTo?: null | undefined;
9123
9967
  }>, z.ZodObject<z.objectUtil.extendShape<{
9124
9968
  eventId: z.ZodString;
9125
9969
  transactionId: z.ZodString;
9126
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9970
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9127
9971
  filename: z.ZodString;
9128
9972
  originalFilename: z.ZodString;
9129
9973
  type: z.ZodString;
@@ -9236,8 +10080,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9236
10080
  addressLine2?: string | null | undefined;
9237
10081
  addressLine3?: string | null | undefined;
9238
10082
  postcodeOrZip?: string | null | undefined;
9239
- }>]>>;
9240
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10083
+ }>]>>>;
10084
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9241
10085
  filename: z.ZodString;
9242
10086
  originalFilename: z.ZodString;
9243
10087
  type: z.ZodString;
@@ -9351,11 +10195,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9351
10195
  addressLine3?: string | null | undefined;
9352
10196
  postcodeOrZip?: string | null | undefined;
9353
10197
  }>]>>>;
10198
+ originalActionId: z.ZodOptional<z.ZodString>;
9354
10199
  }, {
9355
10200
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9356
10201
  }>, "strip", z.ZodTypeAny, {
9357
10202
  type: "PRINT_CERTIFICATE";
9358
- data: Record<string, string | number | boolean | {
10203
+ declaration: Record<string, string | number | boolean | {
9359
10204
  type: string;
9360
10205
  filename: string;
9361
10206
  originalFilename: string;
@@ -9395,7 +10240,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9395
10240
  }[] | undefined>;
9396
10241
  eventId: string;
9397
10242
  transactionId: string;
9398
- metadata?: Record<string, string | number | boolean | {
10243
+ annotation?: Record<string, string | number | boolean | {
9399
10244
  type: string;
9400
10245
  filename: string;
9401
10246
  originalFilename: string;
@@ -9433,8 +10278,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9433
10278
  filename: string;
9434
10279
  originalFilename: string;
9435
10280
  }[] | undefined> | undefined;
10281
+ originalActionId?: string | undefined;
9436
10282
  }, {
9437
- data: Record<string, string | number | boolean | {
10283
+ eventId: string;
10284
+ transactionId: string;
10285
+ type?: "PRINT_CERTIFICATE" | undefined;
10286
+ declaration?: Record<string, string | number | boolean | {
9438
10287
  type: string;
9439
10288
  filename: string;
9440
10289
  originalFilename: string;
@@ -9471,11 +10320,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9471
10320
  option: string;
9472
10321
  filename: string;
9473
10322
  originalFilename: string;
9474
- }[] | undefined>;
9475
- eventId: string;
9476
- transactionId: string;
9477
- type?: "PRINT_CERTIFICATE" | undefined;
9478
- metadata?: Record<string, string | number | boolean | {
10323
+ }[] | undefined> | undefined;
10324
+ annotation?: Record<string, string | number | boolean | {
9479
10325
  type: string;
9480
10326
  filename: string;
9481
10327
  originalFilename: string;
@@ -9513,10 +10359,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9513
10359
  filename: string;
9514
10360
  originalFilename: string;
9515
10361
  }[] | undefined> | undefined;
10362
+ originalActionId?: string | undefined;
9516
10363
  }>, z.ZodObject<z.objectUtil.extendShape<{
9517
10364
  eventId: z.ZodString;
9518
10365
  transactionId: z.ZodString;
9519
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10366
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9520
10367
  filename: z.ZodString;
9521
10368
  originalFilename: z.ZodString;
9522
10369
  type: z.ZodString;
@@ -9629,8 +10476,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9629
10476
  addressLine2?: string | null | undefined;
9630
10477
  addressLine3?: string | null | undefined;
9631
10478
  postcodeOrZip?: string | null | undefined;
9632
- }>]>>;
9633
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10479
+ }>]>>>;
10480
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9634
10481
  filename: z.ZodString;
9635
10482
  originalFilename: z.ZodString;
9636
10483
  type: z.ZodString;
@@ -9744,11 +10591,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9744
10591
  addressLine3?: string | null | undefined;
9745
10592
  postcodeOrZip?: string | null | undefined;
9746
10593
  }>]>>>;
10594
+ originalActionId: z.ZodOptional<z.ZodString>;
9747
10595
  }, {
9748
10596
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9749
10597
  }>, "strip", z.ZodTypeAny, {
9750
10598
  type: "REQUEST_CORRECTION";
9751
- data: Record<string, string | number | boolean | {
10599
+ declaration: Record<string, string | number | boolean | {
9752
10600
  type: string;
9753
10601
  filename: string;
9754
10602
  originalFilename: string;
@@ -9788,7 +10636,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9788
10636
  }[] | undefined>;
9789
10637
  eventId: string;
9790
10638
  transactionId: string;
9791
- metadata?: Record<string, string | number | boolean | {
10639
+ annotation?: Record<string, string | number | boolean | {
9792
10640
  type: string;
9793
10641
  filename: string;
9794
10642
  originalFilename: string;
@@ -9826,8 +10674,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9826
10674
  filename: string;
9827
10675
  originalFilename: string;
9828
10676
  }[] | undefined> | undefined;
10677
+ originalActionId?: string | undefined;
9829
10678
  }, {
9830
- data: Record<string, string | number | boolean | {
10679
+ eventId: string;
10680
+ transactionId: string;
10681
+ type?: "REQUEST_CORRECTION" | undefined;
10682
+ declaration?: Record<string, string | number | boolean | {
9831
10683
  type: string;
9832
10684
  filename: string;
9833
10685
  originalFilename: string;
@@ -9864,11 +10716,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9864
10716
  option: string;
9865
10717
  filename: string;
9866
10718
  originalFilename: string;
9867
- }[] | undefined>;
9868
- eventId: string;
9869
- transactionId: string;
9870
- type?: "REQUEST_CORRECTION" | undefined;
9871
- metadata?: Record<string, string | number | boolean | {
10719
+ }[] | undefined> | undefined;
10720
+ annotation?: Record<string, string | number | boolean | {
9872
10721
  type: string;
9873
10722
  filename: string;
9874
10723
  originalFilename: string;
@@ -9906,10 +10755,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9906
10755
  filename: string;
9907
10756
  originalFilename: string;
9908
10757
  }[] | undefined> | undefined;
10758
+ originalActionId?: string | undefined;
9909
10759
  }>, z.ZodObject<z.objectUtil.extendShape<{
9910
10760
  eventId: z.ZodString;
9911
10761
  transactionId: z.ZodString;
9912
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10762
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9913
10763
  filename: z.ZodString;
9914
10764
  originalFilename: z.ZodString;
9915
10765
  type: z.ZodString;
@@ -10022,8 +10872,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10022
10872
  addressLine2?: string | null | undefined;
10023
10873
  addressLine3?: string | null | undefined;
10024
10874
  postcodeOrZip?: string | null | undefined;
10025
- }>]>>;
10026
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10875
+ }>]>>>;
10876
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10027
10877
  filename: z.ZodString;
10028
10878
  originalFilename: z.ZodString;
10029
10879
  type: z.ZodString;
@@ -10137,12 +10987,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10137
10987
  addressLine3?: string | null | undefined;
10138
10988
  postcodeOrZip?: string | null | undefined;
10139
10989
  }>]>>>;
10990
+ originalActionId: z.ZodOptional<z.ZodString>;
10140
10991
  }, {
10141
10992
  requestId: z.ZodString;
10142
10993
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10143
10994
  }>, "strip", z.ZodTypeAny, {
10144
10995
  type: "REJECT_CORRECTION";
10145
- data: Record<string, string | number | boolean | {
10996
+ declaration: Record<string, string | number | boolean | {
10146
10997
  type: string;
10147
10998
  filename: string;
10148
10999
  originalFilename: string;
@@ -10183,7 +11034,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10183
11034
  requestId: string;
10184
11035
  eventId: string;
10185
11036
  transactionId: string;
10186
- metadata?: Record<string, string | number | boolean | {
11037
+ annotation?: Record<string, string | number | boolean | {
10187
11038
  type: string;
10188
11039
  filename: string;
10189
11040
  originalFilename: string;
@@ -10221,8 +11072,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10221
11072
  filename: string;
10222
11073
  originalFilename: string;
10223
11074
  }[] | undefined> | undefined;
11075
+ originalActionId?: string | undefined;
10224
11076
  }, {
10225
- data: Record<string, string | number | boolean | {
11077
+ requestId: string;
11078
+ eventId: string;
11079
+ transactionId: string;
11080
+ type?: "REJECT_CORRECTION" | undefined;
11081
+ declaration?: Record<string, string | number | boolean | {
10226
11082
  type: string;
10227
11083
  filename: string;
10228
11084
  originalFilename: string;
@@ -10259,12 +11115,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10259
11115
  option: string;
10260
11116
  filename: string;
10261
11117
  originalFilename: string;
10262
- }[] | undefined>;
10263
- requestId: string;
10264
- eventId: string;
10265
- transactionId: string;
10266
- type?: "REJECT_CORRECTION" | undefined;
10267
- metadata?: Record<string, string | number | boolean | {
11118
+ }[] | undefined> | undefined;
11119
+ annotation?: Record<string, string | number | boolean | {
10268
11120
  type: string;
10269
11121
  filename: string;
10270
11122
  originalFilename: string;
@@ -10302,10 +11154,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10302
11154
  filename: string;
10303
11155
  originalFilename: string;
10304
11156
  }[] | undefined> | undefined;
11157
+ originalActionId?: string | undefined;
10305
11158
  }>, z.ZodObject<z.objectUtil.extendShape<{
10306
11159
  eventId: z.ZodString;
10307
11160
  transactionId: z.ZodString;
10308
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11161
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10309
11162
  filename: z.ZodString;
10310
11163
  originalFilename: z.ZodString;
10311
11164
  type: z.ZodString;
@@ -10418,8 +11271,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10418
11271
  addressLine2?: string | null | undefined;
10419
11272
  addressLine3?: string | null | undefined;
10420
11273
  postcodeOrZip?: string | null | undefined;
10421
- }>]>>;
10422
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11274
+ }>]>>>;
11275
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10423
11276
  filename: z.ZodString;
10424
11277
  originalFilename: z.ZodString;
10425
11278
  type: z.ZodString;
@@ -10533,12 +11386,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10533
11386
  addressLine3?: string | null | undefined;
10534
11387
  postcodeOrZip?: string | null | undefined;
10535
11388
  }>]>>>;
11389
+ originalActionId: z.ZodOptional<z.ZodString>;
10536
11390
  }, {
10537
11391
  requestId: z.ZodString;
10538
11392
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10539
11393
  }>, "strip", z.ZodTypeAny, {
10540
11394
  type: "APPROVE_CORRECTION";
10541
- data: Record<string, string | number | boolean | {
11395
+ declaration: Record<string, string | number | boolean | {
10542
11396
  type: string;
10543
11397
  filename: string;
10544
11398
  originalFilename: string;
@@ -10579,7 +11433,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10579
11433
  requestId: string;
10580
11434
  eventId: string;
10581
11435
  transactionId: string;
10582
- metadata?: Record<string, string | number | boolean | {
11436
+ annotation?: Record<string, string | number | boolean | {
10583
11437
  type: string;
10584
11438
  filename: string;
10585
11439
  originalFilename: string;
@@ -10617,8 +11471,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10617
11471
  filename: string;
10618
11472
  originalFilename: string;
10619
11473
  }[] | undefined> | undefined;
11474
+ originalActionId?: string | undefined;
10620
11475
  }, {
10621
- data: Record<string, string | number | boolean | {
11476
+ requestId: string;
11477
+ eventId: string;
11478
+ transactionId: string;
11479
+ type?: "APPROVE_CORRECTION" | undefined;
11480
+ declaration?: Record<string, string | number | boolean | {
10622
11481
  type: string;
10623
11482
  filename: string;
10624
11483
  originalFilename: string;
@@ -10655,12 +11514,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10655
11514
  option: string;
10656
11515
  filename: string;
10657
11516
  originalFilename: string;
10658
- }[] | undefined>;
10659
- requestId: string;
10660
- eventId: string;
10661
- transactionId: string;
10662
- type?: "APPROVE_CORRECTION" | undefined;
10663
- metadata?: Record<string, string | number | boolean | {
11517
+ }[] | undefined> | undefined;
11518
+ annotation?: Record<string, string | number | boolean | {
10664
11519
  type: string;
10665
11520
  filename: string;
10666
11521
  originalFilename: string;
@@ -10698,10 +11553,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10698
11553
  filename: string;
10699
11554
  originalFilename: string;
10700
11555
  }[] | undefined> | undefined;
11556
+ originalActionId?: string | undefined;
10701
11557
  }>, z.ZodObject<z.objectUtil.extendShape<{
10702
11558
  eventId: z.ZodString;
10703
11559
  transactionId: z.ZodString;
10704
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11560
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10705
11561
  filename: z.ZodString;
10706
11562
  originalFilename: z.ZodString;
10707
11563
  type: z.ZodString;
@@ -10814,8 +11670,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10814
11670
  addressLine2?: string | null | undefined;
10815
11671
  addressLine3?: string | null | undefined;
10816
11672
  postcodeOrZip?: string | null | undefined;
10817
- }>]>>;
10818
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11673
+ }>]>>>;
11674
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10819
11675
  filename: z.ZodString;
10820
11676
  originalFilename: z.ZodString;
10821
11677
  type: z.ZodString;
@@ -10929,11 +11785,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10929
11785
  addressLine3?: string | null | undefined;
10930
11786
  postcodeOrZip?: string | null | undefined;
10931
11787
  }>]>>>;
11788
+ originalActionId: z.ZodOptional<z.ZodString>;
10932
11789
  }, {
10933
11790
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10934
11791
  }>, "strip", z.ZodTypeAny, {
10935
11792
  type: "READ";
10936
- data: Record<string, string | number | boolean | {
11793
+ declaration: Record<string, string | number | boolean | {
10937
11794
  type: string;
10938
11795
  filename: string;
10939
11796
  originalFilename: string;
@@ -10973,7 +11830,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10973
11830
  }[] | undefined>;
10974
11831
  eventId: string;
10975
11832
  transactionId: string;
10976
- metadata?: Record<string, string | number | boolean | {
11833
+ annotation?: Record<string, string | number | boolean | {
10977
11834
  type: string;
10978
11835
  filename: string;
10979
11836
  originalFilename: string;
@@ -11011,8 +11868,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11011
11868
  filename: string;
11012
11869
  originalFilename: string;
11013
11870
  }[] | undefined> | undefined;
11871
+ originalActionId?: string | undefined;
11014
11872
  }, {
11015
- data: Record<string, string | number | boolean | {
11873
+ eventId: string;
11874
+ transactionId: string;
11875
+ type?: "READ" | undefined;
11876
+ declaration?: Record<string, string | number | boolean | {
11016
11877
  type: string;
11017
11878
  filename: string;
11018
11879
  originalFilename: string;
@@ -11049,11 +11910,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11049
11910
  option: string;
11050
11911
  filename: string;
11051
11912
  originalFilename: string;
11052
- }[] | undefined>;
11053
- eventId: string;
11054
- transactionId: string;
11055
- type?: "READ" | undefined;
11056
- metadata?: Record<string, string | number | boolean | {
11913
+ }[] | undefined> | undefined;
11914
+ annotation?: Record<string, string | number | boolean | {
11057
11915
  type: string;
11058
11916
  filename: string;
11059
11917
  originalFilename: string;
@@ -11091,6 +11949,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11091
11949
  filename: string;
11092
11950
  originalFilename: string;
11093
11951
  }[] | undefined> | undefined;
11952
+ originalActionId?: string | undefined;
11094
11953
  }>]>;
11095
11954
  export type ActionInput = z.input<typeof ActionInput>;
11096
11955
  export type ActionInputWithType = z.infer<typeof ActionInput>;