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

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,10 @@ 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>;
234
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
233
235
  }, "strip", z.ZodTypeAny, {
234
- data: Record<string, string | number | boolean | {
236
+ declaration: Record<string, string | number | boolean | {
235
237
  type: string;
236
238
  filename: string;
237
239
  originalFilename: string;
@@ -271,7 +273,7 @@ export declare const BaseActionInput: z.ZodObject<{
271
273
  }[] | undefined>;
272
274
  eventId: string;
273
275
  transactionId: string;
274
- metadata?: Record<string, string | number | boolean | {
276
+ annotation?: Record<string, string | number | boolean | {
275
277
  type: string;
276
278
  filename: string;
277
279
  originalFilename: string;
@@ -309,8 +311,12 @@ export declare const BaseActionInput: z.ZodObject<{
309
311
  filename: string;
310
312
  originalFilename: string;
311
313
  }[] | undefined> | undefined;
314
+ originalActionId?: string | undefined;
315
+ keepAssignment?: boolean | undefined;
312
316
  }, {
313
- data: Record<string, string | number | boolean | {
317
+ eventId: string;
318
+ transactionId: string;
319
+ declaration?: Record<string, string | number | boolean | {
314
320
  type: string;
315
321
  filename: string;
316
322
  originalFilename: string;
@@ -347,10 +353,8 @@ export declare const BaseActionInput: z.ZodObject<{
347
353
  option: string;
348
354
  filename: string;
349
355
  originalFilename: string;
350
- }[] | undefined>;
351
- eventId: string;
352
- transactionId: string;
353
- metadata?: Record<string, string | number | boolean | {
356
+ }[] | undefined> | undefined;
357
+ annotation?: Record<string, string | number | boolean | {
354
358
  type: string;
355
359
  filename: string;
356
360
  originalFilename: string;
@@ -388,11 +392,13 @@ export declare const BaseActionInput: z.ZodObject<{
388
392
  filename: string;
389
393
  originalFilename: string;
390
394
  }[] | undefined> | undefined;
395
+ originalActionId?: string | undefined;
396
+ keepAssignment?: boolean | undefined;
391
397
  }>;
392
398
  export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
393
399
  eventId: z.ZodString;
394
400
  transactionId: z.ZodString;
395
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
401
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
396
402
  filename: z.ZodString;
397
403
  originalFilename: z.ZodString;
398
404
  type: z.ZodString;
@@ -505,8 +511,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
505
511
  addressLine2?: string | null | undefined;
506
512
  addressLine3?: string | null | undefined;
507
513
  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<{
514
+ }>]>>>;
515
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
510
516
  filename: z.ZodString;
511
517
  originalFilename: z.ZodString;
512
518
  type: z.ZodString;
@@ -620,21 +626,14 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
620
626
  addressLine3?: string | null | undefined;
621
627
  postcodeOrZip?: string | null | undefined;
622
628
  }>]>>>;
629
+ originalActionId: z.ZodOptional<z.ZodString>;
630
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
623
631
  }, {
624
632
  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
- }>;
633
+ registrationNumber: z.ZodOptional<z.ZodString>;
635
634
  }>, "strip", z.ZodTypeAny, {
636
635
  type: "REGISTER";
637
- data: Record<string, string | number | boolean | {
636
+ declaration: Record<string, string | number | boolean | {
638
637
  type: string;
639
638
  filename: string;
640
639
  originalFilename: string;
@@ -672,13 +671,9 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
672
671
  filename: string;
673
672
  originalFilename: string;
674
673
  }[] | undefined>;
675
- identifiers: {
676
- trackingId: string;
677
- registrationNumber: string;
678
- };
679
674
  eventId: string;
680
675
  transactionId: string;
681
- metadata?: Record<string, string | number | boolean | {
676
+ annotation?: Record<string, string | number | boolean | {
682
677
  type: string;
683
678
  filename: string;
684
679
  originalFilename: string;
@@ -716,8 +711,14 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
716
711
  filename: string;
717
712
  originalFilename: string;
718
713
  }[] | undefined> | undefined;
714
+ originalActionId?: string | undefined;
715
+ registrationNumber?: string | undefined;
716
+ keepAssignment?: boolean | undefined;
719
717
  }, {
720
- data: Record<string, string | number | boolean | {
718
+ eventId: string;
719
+ transactionId: string;
720
+ type?: "REGISTER" | undefined;
721
+ declaration?: Record<string, string | number | boolean | {
721
722
  type: string;
722
723
  filename: string;
723
724
  originalFilename: string;
@@ -754,15 +755,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
754
755
  option: string;
755
756
  filename: string;
756
757
  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 | {
758
+ }[] | undefined> | undefined;
759
+ annotation?: Record<string, string | number | boolean | {
766
760
  type: string;
767
761
  filename: string;
768
762
  originalFilename: string;
@@ -800,12 +794,15 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
800
794
  filename: string;
801
795
  originalFilename: string;
802
796
  }[] | undefined> | undefined;
797
+ originalActionId?: string | undefined;
798
+ registrationNumber?: string | undefined;
799
+ keepAssignment?: boolean | undefined;
803
800
  }>;
804
801
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
805
802
  export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
806
803
  eventId: z.ZodString;
807
804
  transactionId: z.ZodString;
808
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
805
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
809
806
  filename: z.ZodString;
810
807
  originalFilename: z.ZodString;
811
808
  type: z.ZodString;
@@ -918,8 +915,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
918
915
  addressLine2?: string | null | undefined;
919
916
  addressLine3?: string | null | undefined;
920
917
  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<{
918
+ }>]>>>;
919
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
923
920
  filename: z.ZodString;
924
921
  originalFilename: z.ZodString;
925
922
  type: z.ZodString;
@@ -1033,12 +1030,14 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1033
1030
  addressLine3?: string | null | undefined;
1034
1031
  postcodeOrZip?: string | null | undefined;
1035
1032
  }>]>>>;
1033
+ originalActionId: z.ZodOptional<z.ZodString>;
1034
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1036
1035
  }, {
1037
1036
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
1038
1037
  duplicates: z.ZodArray<z.ZodString, "many">;
1039
1038
  }>, "strip", z.ZodTypeAny, {
1040
1039
  type: "VALIDATE";
1041
- data: Record<string, string | number | boolean | {
1040
+ declaration: Record<string, string | number | boolean | {
1042
1041
  type: string;
1043
1042
  filename: string;
1044
1043
  originalFilename: string;
@@ -1079,7 +1078,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1079
1078
  eventId: string;
1080
1079
  transactionId: string;
1081
1080
  duplicates: string[];
1082
- metadata?: Record<string, string | number | boolean | {
1081
+ annotation?: Record<string, string | number | boolean | {
1083
1082
  type: string;
1084
1083
  filename: string;
1085
1084
  originalFilename: string;
@@ -1117,8 +1116,14 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1117
1116
  filename: string;
1118
1117
  originalFilename: string;
1119
1118
  }[] | undefined> | undefined;
1119
+ originalActionId?: string | undefined;
1120
+ keepAssignment?: boolean | undefined;
1120
1121
  }, {
1121
- data: Record<string, string | number | boolean | {
1122
+ eventId: string;
1123
+ transactionId: string;
1124
+ duplicates: string[];
1125
+ type?: "VALIDATE" | undefined;
1126
+ declaration?: Record<string, string | number | boolean | {
1122
1127
  type: string;
1123
1128
  filename: string;
1124
1129
  originalFilename: string;
@@ -1155,12 +1160,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1155
1160
  option: string;
1156
1161
  filename: string;
1157
1162
  originalFilename: string;
1158
- }[] | undefined>;
1159
- eventId: string;
1160
- transactionId: string;
1161
- duplicates: string[];
1162
- type?: "VALIDATE" | undefined;
1163
- metadata?: Record<string, string | number | boolean | {
1163
+ }[] | undefined> | undefined;
1164
+ annotation?: Record<string, string | number | boolean | {
1164
1165
  type: string;
1165
1166
  filename: string;
1166
1167
  originalFilename: string;
@@ -1198,12 +1199,14 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1198
1199
  filename: string;
1199
1200
  originalFilename: string;
1200
1201
  }[] | undefined> | undefined;
1202
+ originalActionId?: string | undefined;
1203
+ keepAssignment?: boolean | undefined;
1201
1204
  }>;
1202
1205
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
1203
1206
  export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1204
1207
  eventId: z.ZodString;
1205
1208
  transactionId: z.ZodString;
1206
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1209
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1207
1210
  filename: z.ZodString;
1208
1211
  originalFilename: z.ZodString;
1209
1212
  type: z.ZodString;
@@ -1316,8 +1319,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1316
1319
  addressLine2?: string | null | undefined;
1317
1320
  addressLine3?: string | null | undefined;
1318
1321
  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<{
1322
+ }>]>>>;
1323
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1321
1324
  filename: z.ZodString;
1322
1325
  originalFilename: z.ZodString;
1323
1326
  type: z.ZodString;
@@ -1431,11 +1434,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1431
1434
  addressLine3?: string | null | undefined;
1432
1435
  postcodeOrZip?: string | null | undefined;
1433
1436
  }>]>>>;
1437
+ originalActionId: z.ZodOptional<z.ZodString>;
1438
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1434
1439
  }, {
1435
1440
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
1436
1441
  }>, "strip", z.ZodTypeAny, {
1437
1442
  type: "NOTIFY";
1438
- data: Record<string, string | number | boolean | {
1443
+ declaration: Record<string, string | number | boolean | {
1439
1444
  type: string;
1440
1445
  filename: string;
1441
1446
  originalFilename: string;
@@ -1475,7 +1480,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1475
1480
  }[] | undefined>;
1476
1481
  eventId: string;
1477
1482
  transactionId: string;
1478
- metadata?: Record<string, string | number | boolean | {
1483
+ annotation?: Record<string, string | number | boolean | {
1479
1484
  type: string;
1480
1485
  filename: string;
1481
1486
  originalFilename: string;
@@ -1513,8 +1518,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1513
1518
  filename: string;
1514
1519
  originalFilename: string;
1515
1520
  }[] | undefined> | undefined;
1521
+ originalActionId?: string | undefined;
1522
+ keepAssignment?: boolean | undefined;
1516
1523
  }, {
1517
- data: Record<string, string | number | boolean | {
1524
+ eventId: string;
1525
+ transactionId: string;
1526
+ type?: "NOTIFY" | undefined;
1527
+ declaration?: Record<string, string | number | boolean | {
1518
1528
  type: string;
1519
1529
  filename: string;
1520
1530
  originalFilename: string;
@@ -1551,11 +1561,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1551
1561
  option: string;
1552
1562
  filename: string;
1553
1563
  originalFilename: string;
1554
- }[] | undefined>;
1555
- eventId: string;
1556
- transactionId: string;
1557
- type?: "NOTIFY" | undefined;
1558
- metadata?: Record<string, string | number | boolean | {
1564
+ }[] | undefined> | undefined;
1565
+ annotation?: Record<string, string | number | boolean | {
1559
1566
  type: string;
1560
1567
  filename: string;
1561
1568
  originalFilename: string;
@@ -1593,12 +1600,14 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
1593
1600
  filename: string;
1594
1601
  originalFilename: string;
1595
1602
  }[] | undefined> | undefined;
1603
+ originalActionId?: string | undefined;
1604
+ keepAssignment?: boolean | undefined;
1596
1605
  }>;
1597
1606
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
1598
1607
  export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1599
1608
  eventId: z.ZodString;
1600
1609
  transactionId: z.ZodString;
1601
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1610
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1602
1611
  filename: z.ZodString;
1603
1612
  originalFilename: z.ZodString;
1604
1613
  type: z.ZodString;
@@ -1711,8 +1720,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1711
1720
  addressLine2?: string | null | undefined;
1712
1721
  addressLine3?: string | null | undefined;
1713
1722
  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<{
1723
+ }>]>>>;
1724
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1716
1725
  filename: z.ZodString;
1717
1726
  originalFilename: z.ZodString;
1718
1727
  type: z.ZodString;
@@ -1826,11 +1835,13 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1826
1835
  addressLine3?: string | null | undefined;
1827
1836
  postcodeOrZip?: string | null | undefined;
1828
1837
  }>]>>>;
1838
+ originalActionId: z.ZodOptional<z.ZodString>;
1839
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1829
1840
  }, {
1830
1841
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
1831
1842
  }>, "strip", z.ZodTypeAny, {
1832
1843
  type: "DECLARE";
1833
- data: Record<string, string | number | boolean | {
1844
+ declaration: Record<string, string | number | boolean | {
1834
1845
  type: string;
1835
1846
  filename: string;
1836
1847
  originalFilename: string;
@@ -1870,7 +1881,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1870
1881
  }[] | undefined>;
1871
1882
  eventId: string;
1872
1883
  transactionId: string;
1873
- metadata?: Record<string, string | number | boolean | {
1884
+ annotation?: Record<string, string | number | boolean | {
1874
1885
  type: string;
1875
1886
  filename: string;
1876
1887
  originalFilename: string;
@@ -1908,8 +1919,13 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1908
1919
  filename: string;
1909
1920
  originalFilename: string;
1910
1921
  }[] | undefined> | undefined;
1922
+ originalActionId?: string | undefined;
1923
+ keepAssignment?: boolean | undefined;
1911
1924
  }, {
1912
- data: Record<string, string | number | boolean | {
1925
+ eventId: string;
1926
+ transactionId: string;
1927
+ type?: "DECLARE" | undefined;
1928
+ declaration?: Record<string, string | number | boolean | {
1913
1929
  type: string;
1914
1930
  filename: string;
1915
1931
  originalFilename: string;
@@ -1946,11 +1962,809 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1946
1962
  option: string;
1947
1963
  filename: string;
1948
1964
  originalFilename: string;
1949
- }[] | undefined>;
1950
- eventId: string;
1951
- transactionId: string;
1952
- type?: "DECLARE" | undefined;
1953
- metadata?: Record<string, string | number | boolean | {
1965
+ }[] | undefined> | undefined;
1966
+ annotation?: Record<string, string | number | boolean | {
1967
+ type: string;
1968
+ filename: string;
1969
+ originalFilename: string;
1970
+ } | {
1971
+ country: string;
1972
+ district: string;
1973
+ addressType: "DOMESTIC";
1974
+ province: string;
1975
+ urbanOrRural: "URBAN";
1976
+ number?: string | null | undefined;
1977
+ town?: string | null | undefined;
1978
+ residentialArea?: string | null | undefined;
1979
+ street?: string | null | undefined;
1980
+ zipCode?: string | null | undefined;
1981
+ } | {
1982
+ country: string;
1983
+ district: string;
1984
+ addressType: "DOMESTIC";
1985
+ province: string;
1986
+ urbanOrRural: "RURAL";
1987
+ village?: string | null | undefined;
1988
+ } | {
1989
+ country: string;
1990
+ state: string;
1991
+ addressType: "INTERNATIONAL";
1992
+ district2: string;
1993
+ cityOrTown?: string | null | undefined;
1994
+ addressLine1?: string | null | undefined;
1995
+ addressLine2?: string | null | undefined;
1996
+ addressLine3?: string | null | undefined;
1997
+ postcodeOrZip?: string | null | undefined;
1998
+ } | {
1999
+ type: string;
2000
+ option: string;
2001
+ filename: string;
2002
+ originalFilename: string;
2003
+ }[] | undefined> | undefined;
2004
+ originalActionId?: string | undefined;
2005
+ keepAssignment?: boolean | undefined;
2006
+ }>;
2007
+ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2008
+ eventId: z.ZodString;
2009
+ transactionId: z.ZodString;
2010
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2011
+ filename: z.ZodString;
2012
+ originalFilename: z.ZodString;
2013
+ type: z.ZodString;
2014
+ }, "strip", z.ZodTypeAny, {
2015
+ type: string;
2016
+ filename: string;
2017
+ originalFilename: string;
2018
+ }, {
2019
+ type: string;
2020
+ filename: string;
2021
+ originalFilename: string;
2022
+ }>, z.ZodArray<z.ZodObject<{
2023
+ filename: z.ZodString;
2024
+ originalFilename: z.ZodString;
2025
+ type: z.ZodString;
2026
+ option: z.ZodString;
2027
+ }, "strip", z.ZodTypeAny, {
2028
+ type: string;
2029
+ option: string;
2030
+ filename: string;
2031
+ originalFilename: string;
2032
+ }, {
2033
+ type: string;
2034
+ option: string;
2035
+ filename: string;
2036
+ originalFilename: string;
2037
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2038
+ country: z.ZodString;
2039
+ addressType: z.ZodLiteral<"DOMESTIC">;
2040
+ province: z.ZodString;
2041
+ district: z.ZodString;
2042
+ }, {
2043
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2044
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2045
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2046
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2047
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2049
+ }>, "strip", z.ZodTypeAny, {
2050
+ country: string;
2051
+ district: string;
2052
+ addressType: "DOMESTIC";
2053
+ province: string;
2054
+ urbanOrRural: "URBAN";
2055
+ number?: string | null | undefined;
2056
+ town?: string | null | undefined;
2057
+ residentialArea?: string | null | undefined;
2058
+ street?: string | null | undefined;
2059
+ zipCode?: string | null | undefined;
2060
+ }, {
2061
+ country: string;
2062
+ district: string;
2063
+ addressType: "DOMESTIC";
2064
+ province: string;
2065
+ urbanOrRural: "URBAN";
2066
+ number?: string | null | undefined;
2067
+ town?: string | null | undefined;
2068
+ residentialArea?: string | null | undefined;
2069
+ street?: string | null | undefined;
2070
+ zipCode?: string | null | undefined;
2071
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2072
+ country: z.ZodString;
2073
+ addressType: z.ZodLiteral<"DOMESTIC">;
2074
+ province: z.ZodString;
2075
+ district: z.ZodString;
2076
+ }, {
2077
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2078
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2079
+ }>, "strip", z.ZodTypeAny, {
2080
+ country: string;
2081
+ district: string;
2082
+ addressType: "DOMESTIC";
2083
+ province: string;
2084
+ urbanOrRural: "RURAL";
2085
+ village?: string | null | undefined;
2086
+ }, {
2087
+ country: string;
2088
+ district: string;
2089
+ addressType: "DOMESTIC";
2090
+ province: string;
2091
+ urbanOrRural: "RURAL";
2092
+ village?: string | null | undefined;
2093
+ }>, z.ZodUndefined, z.ZodObject<{
2094
+ country: z.ZodString;
2095
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2096
+ state: z.ZodString;
2097
+ district2: z.ZodString;
2098
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2099
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2100
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2101
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2102
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2103
+ }, "strip", z.ZodTypeAny, {
2104
+ country: string;
2105
+ state: string;
2106
+ addressType: "INTERNATIONAL";
2107
+ district2: string;
2108
+ cityOrTown?: string | null | undefined;
2109
+ addressLine1?: string | null | undefined;
2110
+ addressLine2?: string | null | undefined;
2111
+ addressLine3?: string | null | undefined;
2112
+ postcodeOrZip?: string | null | undefined;
2113
+ }, {
2114
+ country: string;
2115
+ state: string;
2116
+ addressType: "INTERNATIONAL";
2117
+ district2: string;
2118
+ cityOrTown?: string | null | undefined;
2119
+ addressLine1?: string | null | undefined;
2120
+ addressLine2?: string | null | undefined;
2121
+ addressLine3?: string | null | undefined;
2122
+ postcodeOrZip?: string | null | undefined;
2123
+ }>]>>>;
2124
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2125
+ filename: z.ZodString;
2126
+ originalFilename: z.ZodString;
2127
+ type: z.ZodString;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ type: string;
2130
+ filename: string;
2131
+ originalFilename: string;
2132
+ }, {
2133
+ type: string;
2134
+ filename: string;
2135
+ originalFilename: string;
2136
+ }>, z.ZodArray<z.ZodObject<{
2137
+ filename: z.ZodString;
2138
+ originalFilename: z.ZodString;
2139
+ type: z.ZodString;
2140
+ option: z.ZodString;
2141
+ }, "strip", z.ZodTypeAny, {
2142
+ type: string;
2143
+ option: string;
2144
+ filename: string;
2145
+ originalFilename: string;
2146
+ }, {
2147
+ type: string;
2148
+ option: string;
2149
+ filename: string;
2150
+ originalFilename: string;
2151
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2152
+ country: z.ZodString;
2153
+ addressType: z.ZodLiteral<"DOMESTIC">;
2154
+ province: z.ZodString;
2155
+ district: z.ZodString;
2156
+ }, {
2157
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2158
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2159
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2160
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2161
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2162
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2163
+ }>, "strip", z.ZodTypeAny, {
2164
+ country: string;
2165
+ district: string;
2166
+ addressType: "DOMESTIC";
2167
+ province: string;
2168
+ urbanOrRural: "URBAN";
2169
+ number?: string | null | undefined;
2170
+ town?: string | null | undefined;
2171
+ residentialArea?: string | null | undefined;
2172
+ street?: string | null | undefined;
2173
+ zipCode?: string | null | undefined;
2174
+ }, {
2175
+ country: string;
2176
+ district: string;
2177
+ addressType: "DOMESTIC";
2178
+ province: string;
2179
+ urbanOrRural: "URBAN";
2180
+ number?: string | null | undefined;
2181
+ town?: string | null | undefined;
2182
+ residentialArea?: string | null | undefined;
2183
+ street?: string | null | undefined;
2184
+ zipCode?: string | null | undefined;
2185
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2186
+ country: z.ZodString;
2187
+ addressType: z.ZodLiteral<"DOMESTIC">;
2188
+ province: z.ZodString;
2189
+ district: z.ZodString;
2190
+ }, {
2191
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2192
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2193
+ }>, "strip", z.ZodTypeAny, {
2194
+ country: string;
2195
+ district: string;
2196
+ addressType: "DOMESTIC";
2197
+ province: string;
2198
+ urbanOrRural: "RURAL";
2199
+ village?: string | null | undefined;
2200
+ }, {
2201
+ country: string;
2202
+ district: string;
2203
+ addressType: "DOMESTIC";
2204
+ province: string;
2205
+ urbanOrRural: "RURAL";
2206
+ village?: string | null | undefined;
2207
+ }>, z.ZodUndefined, z.ZodObject<{
2208
+ country: z.ZodString;
2209
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2210
+ state: z.ZodString;
2211
+ district2: z.ZodString;
2212
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2213
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2214
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2215
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ country: string;
2219
+ state: string;
2220
+ addressType: "INTERNATIONAL";
2221
+ district2: string;
2222
+ cityOrTown?: string | null | undefined;
2223
+ addressLine1?: string | null | undefined;
2224
+ addressLine2?: string | null | undefined;
2225
+ addressLine3?: string | null | undefined;
2226
+ postcodeOrZip?: string | null | undefined;
2227
+ }, {
2228
+ country: string;
2229
+ state: string;
2230
+ addressType: "INTERNATIONAL";
2231
+ district2: string;
2232
+ cityOrTown?: string | null | undefined;
2233
+ addressLine1?: string | null | undefined;
2234
+ addressLine2?: string | null | undefined;
2235
+ addressLine3?: string | null | undefined;
2236
+ postcodeOrZip?: string | null | undefined;
2237
+ }>]>>>;
2238
+ originalActionId: z.ZodOptional<z.ZodString>;
2239
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2240
+ }, {
2241
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
2242
+ }>, "strip", z.ZodTypeAny, {
2243
+ type: "PRINT_CERTIFICATE";
2244
+ declaration: Record<string, string | number | boolean | {
2245
+ type: string;
2246
+ filename: string;
2247
+ originalFilename: string;
2248
+ } | {
2249
+ country: string;
2250
+ district: string;
2251
+ addressType: "DOMESTIC";
2252
+ province: string;
2253
+ urbanOrRural: "URBAN";
2254
+ number?: string | null | undefined;
2255
+ town?: string | null | undefined;
2256
+ residentialArea?: string | null | undefined;
2257
+ street?: string | null | undefined;
2258
+ zipCode?: string | null | undefined;
2259
+ } | {
2260
+ country: string;
2261
+ district: string;
2262
+ addressType: "DOMESTIC";
2263
+ province: string;
2264
+ urbanOrRural: "RURAL";
2265
+ village?: string | null | undefined;
2266
+ } | {
2267
+ country: string;
2268
+ state: string;
2269
+ addressType: "INTERNATIONAL";
2270
+ district2: string;
2271
+ cityOrTown?: string | null | undefined;
2272
+ addressLine1?: string | null | undefined;
2273
+ addressLine2?: string | null | undefined;
2274
+ addressLine3?: string | null | undefined;
2275
+ postcodeOrZip?: string | null | undefined;
2276
+ } | {
2277
+ type: string;
2278
+ option: string;
2279
+ filename: string;
2280
+ originalFilename: string;
2281
+ }[] | undefined>;
2282
+ eventId: string;
2283
+ transactionId: string;
2284
+ annotation?: Record<string, string | number | boolean | {
2285
+ type: string;
2286
+ filename: string;
2287
+ originalFilename: string;
2288
+ } | {
2289
+ country: string;
2290
+ district: string;
2291
+ addressType: "DOMESTIC";
2292
+ province: string;
2293
+ urbanOrRural: "URBAN";
2294
+ number?: string | null | undefined;
2295
+ town?: string | null | undefined;
2296
+ residentialArea?: string | null | undefined;
2297
+ street?: string | null | undefined;
2298
+ zipCode?: string | null | undefined;
2299
+ } | {
2300
+ country: string;
2301
+ district: string;
2302
+ addressType: "DOMESTIC";
2303
+ province: string;
2304
+ urbanOrRural: "RURAL";
2305
+ village?: string | null | undefined;
2306
+ } | {
2307
+ country: string;
2308
+ state: string;
2309
+ addressType: "INTERNATIONAL";
2310
+ district2: string;
2311
+ cityOrTown?: string | null | undefined;
2312
+ addressLine1?: string | null | undefined;
2313
+ addressLine2?: string | null | undefined;
2314
+ addressLine3?: string | null | undefined;
2315
+ postcodeOrZip?: string | null | undefined;
2316
+ } | {
2317
+ type: string;
2318
+ option: string;
2319
+ filename: string;
2320
+ originalFilename: string;
2321
+ }[] | undefined> | undefined;
2322
+ originalActionId?: string | undefined;
2323
+ keepAssignment?: boolean | undefined;
2324
+ }, {
2325
+ eventId: string;
2326
+ transactionId: string;
2327
+ type?: "PRINT_CERTIFICATE" | undefined;
2328
+ declaration?: Record<string, string | number | boolean | {
2329
+ type: string;
2330
+ filename: string;
2331
+ originalFilename: string;
2332
+ } | {
2333
+ country: string;
2334
+ district: string;
2335
+ addressType: "DOMESTIC";
2336
+ province: string;
2337
+ urbanOrRural: "URBAN";
2338
+ number?: string | null | undefined;
2339
+ town?: string | null | undefined;
2340
+ residentialArea?: string | null | undefined;
2341
+ street?: string | null | undefined;
2342
+ zipCode?: string | null | undefined;
2343
+ } | {
2344
+ country: string;
2345
+ district: string;
2346
+ addressType: "DOMESTIC";
2347
+ province: string;
2348
+ urbanOrRural: "RURAL";
2349
+ village?: string | null | undefined;
2350
+ } | {
2351
+ country: string;
2352
+ state: string;
2353
+ addressType: "INTERNATIONAL";
2354
+ district2: string;
2355
+ cityOrTown?: string | null | undefined;
2356
+ addressLine1?: string | null | undefined;
2357
+ addressLine2?: string | null | undefined;
2358
+ addressLine3?: string | null | undefined;
2359
+ postcodeOrZip?: string | null | undefined;
2360
+ } | {
2361
+ type: string;
2362
+ option: string;
2363
+ filename: string;
2364
+ originalFilename: string;
2365
+ }[] | undefined> | undefined;
2366
+ annotation?: Record<string, string | number | boolean | {
2367
+ type: string;
2368
+ filename: string;
2369
+ originalFilename: string;
2370
+ } | {
2371
+ country: string;
2372
+ district: string;
2373
+ addressType: "DOMESTIC";
2374
+ province: string;
2375
+ urbanOrRural: "URBAN";
2376
+ number?: string | null | undefined;
2377
+ town?: string | null | undefined;
2378
+ residentialArea?: string | null | undefined;
2379
+ street?: string | null | undefined;
2380
+ zipCode?: string | null | undefined;
2381
+ } | {
2382
+ country: string;
2383
+ district: string;
2384
+ addressType: "DOMESTIC";
2385
+ province: string;
2386
+ urbanOrRural: "RURAL";
2387
+ village?: string | null | undefined;
2388
+ } | {
2389
+ country: string;
2390
+ state: string;
2391
+ addressType: "INTERNATIONAL";
2392
+ district2: string;
2393
+ cityOrTown?: string | null | undefined;
2394
+ addressLine1?: string | null | undefined;
2395
+ addressLine2?: string | null | undefined;
2396
+ addressLine3?: string | null | undefined;
2397
+ postcodeOrZip?: string | null | undefined;
2398
+ } | {
2399
+ type: string;
2400
+ option: string;
2401
+ filename: string;
2402
+ originalFilename: string;
2403
+ }[] | undefined> | undefined;
2404
+ originalActionId?: string | undefined;
2405
+ keepAssignment?: boolean | undefined;
2406
+ }>;
2407
+ export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2408
+ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
2409
+ eventId: z.ZodString;
2410
+ transactionId: z.ZodString;
2411
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2412
+ filename: z.ZodString;
2413
+ originalFilename: z.ZodString;
2414
+ type: z.ZodString;
2415
+ }, "strip", z.ZodTypeAny, {
2416
+ type: string;
2417
+ filename: string;
2418
+ originalFilename: string;
2419
+ }, {
2420
+ type: string;
2421
+ filename: string;
2422
+ originalFilename: string;
2423
+ }>, z.ZodArray<z.ZodObject<{
2424
+ filename: z.ZodString;
2425
+ originalFilename: z.ZodString;
2426
+ type: z.ZodString;
2427
+ option: z.ZodString;
2428
+ }, "strip", z.ZodTypeAny, {
2429
+ type: string;
2430
+ option: string;
2431
+ filename: string;
2432
+ originalFilename: string;
2433
+ }, {
2434
+ type: string;
2435
+ option: string;
2436
+ filename: string;
2437
+ originalFilename: string;
2438
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2439
+ country: z.ZodString;
2440
+ addressType: z.ZodLiteral<"DOMESTIC">;
2441
+ province: z.ZodString;
2442
+ district: z.ZodString;
2443
+ }, {
2444
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2445
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2446
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2447
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2448
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2449
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2450
+ }>, "strip", z.ZodTypeAny, {
2451
+ country: string;
2452
+ district: string;
2453
+ addressType: "DOMESTIC";
2454
+ province: string;
2455
+ urbanOrRural: "URBAN";
2456
+ number?: string | null | undefined;
2457
+ town?: string | null | undefined;
2458
+ residentialArea?: string | null | undefined;
2459
+ street?: string | null | undefined;
2460
+ zipCode?: string | null | undefined;
2461
+ }, {
2462
+ country: string;
2463
+ district: string;
2464
+ addressType: "DOMESTIC";
2465
+ province: string;
2466
+ urbanOrRural: "URBAN";
2467
+ number?: string | null | undefined;
2468
+ town?: string | null | undefined;
2469
+ residentialArea?: string | null | undefined;
2470
+ street?: string | null | undefined;
2471
+ zipCode?: string | null | undefined;
2472
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2473
+ country: z.ZodString;
2474
+ addressType: z.ZodLiteral<"DOMESTIC">;
2475
+ province: z.ZodString;
2476
+ district: z.ZodString;
2477
+ }, {
2478
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2479
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2480
+ }>, "strip", z.ZodTypeAny, {
2481
+ country: string;
2482
+ district: string;
2483
+ addressType: "DOMESTIC";
2484
+ province: string;
2485
+ urbanOrRural: "RURAL";
2486
+ village?: string | null | undefined;
2487
+ }, {
2488
+ country: string;
2489
+ district: string;
2490
+ addressType: "DOMESTIC";
2491
+ province: string;
2492
+ urbanOrRural: "RURAL";
2493
+ village?: string | null | undefined;
2494
+ }>, z.ZodUndefined, z.ZodObject<{
2495
+ country: z.ZodString;
2496
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2497
+ state: z.ZodString;
2498
+ district2: z.ZodString;
2499
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2500
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2501
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2502
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2503
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2504
+ }, "strip", z.ZodTypeAny, {
2505
+ country: string;
2506
+ state: string;
2507
+ addressType: "INTERNATIONAL";
2508
+ district2: string;
2509
+ cityOrTown?: string | null | undefined;
2510
+ addressLine1?: string | null | undefined;
2511
+ addressLine2?: string | null | undefined;
2512
+ addressLine3?: string | null | undefined;
2513
+ postcodeOrZip?: string | null | undefined;
2514
+ }, {
2515
+ country: string;
2516
+ state: string;
2517
+ addressType: "INTERNATIONAL";
2518
+ district2: string;
2519
+ cityOrTown?: string | null | undefined;
2520
+ addressLine1?: string | null | undefined;
2521
+ addressLine2?: string | null | undefined;
2522
+ addressLine3?: string | null | undefined;
2523
+ postcodeOrZip?: string | null | undefined;
2524
+ }>]>>>;
2525
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2526
+ filename: z.ZodString;
2527
+ originalFilename: z.ZodString;
2528
+ type: z.ZodString;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ type: string;
2531
+ filename: string;
2532
+ originalFilename: string;
2533
+ }, {
2534
+ type: string;
2535
+ filename: string;
2536
+ originalFilename: string;
2537
+ }>, z.ZodArray<z.ZodObject<{
2538
+ filename: z.ZodString;
2539
+ originalFilename: z.ZodString;
2540
+ type: z.ZodString;
2541
+ option: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ type: string;
2544
+ option: string;
2545
+ filename: string;
2546
+ originalFilename: string;
2547
+ }, {
2548
+ type: string;
2549
+ option: string;
2550
+ filename: string;
2551
+ originalFilename: string;
2552
+ }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
2553
+ country: z.ZodString;
2554
+ addressType: z.ZodLiteral<"DOMESTIC">;
2555
+ province: z.ZodString;
2556
+ district: z.ZodString;
2557
+ }, {
2558
+ urbanOrRural: z.ZodLiteral<"URBAN">;
2559
+ town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2560
+ residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2561
+ street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2562
+ number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2563
+ zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ }>, "strip", z.ZodTypeAny, {
2565
+ country: string;
2566
+ district: string;
2567
+ addressType: "DOMESTIC";
2568
+ province: string;
2569
+ urbanOrRural: "URBAN";
2570
+ number?: string | null | undefined;
2571
+ town?: string | null | undefined;
2572
+ residentialArea?: string | null | undefined;
2573
+ street?: string | null | undefined;
2574
+ zipCode?: string | null | undefined;
2575
+ }, {
2576
+ country: string;
2577
+ district: string;
2578
+ addressType: "DOMESTIC";
2579
+ province: string;
2580
+ urbanOrRural: "URBAN";
2581
+ number?: string | null | undefined;
2582
+ town?: string | null | undefined;
2583
+ residentialArea?: string | null | undefined;
2584
+ street?: string | null | undefined;
2585
+ zipCode?: string | null | undefined;
2586
+ }>, z.ZodObject<z.objectUtil.extendShape<{
2587
+ country: z.ZodString;
2588
+ addressType: z.ZodLiteral<"DOMESTIC">;
2589
+ province: z.ZodString;
2590
+ district: z.ZodString;
2591
+ }, {
2592
+ urbanOrRural: z.ZodLiteral<"RURAL">;
2593
+ village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2594
+ }>, "strip", z.ZodTypeAny, {
2595
+ country: string;
2596
+ district: string;
2597
+ addressType: "DOMESTIC";
2598
+ province: string;
2599
+ urbanOrRural: "RURAL";
2600
+ village?: string | null | undefined;
2601
+ }, {
2602
+ country: string;
2603
+ district: string;
2604
+ addressType: "DOMESTIC";
2605
+ province: string;
2606
+ urbanOrRural: "RURAL";
2607
+ village?: string | null | undefined;
2608
+ }>, z.ZodUndefined, z.ZodObject<{
2609
+ country: z.ZodString;
2610
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
2611
+ state: z.ZodString;
2612
+ district2: z.ZodString;
2613
+ cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2614
+ addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2615
+ addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2616
+ addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2617
+ postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2618
+ }, "strip", z.ZodTypeAny, {
2619
+ country: string;
2620
+ state: string;
2621
+ addressType: "INTERNATIONAL";
2622
+ district2: string;
2623
+ cityOrTown?: string | null | undefined;
2624
+ addressLine1?: string | null | undefined;
2625
+ addressLine2?: string | null | undefined;
2626
+ addressLine3?: string | null | undefined;
2627
+ postcodeOrZip?: string | null | undefined;
2628
+ }, {
2629
+ country: string;
2630
+ state: string;
2631
+ addressType: "INTERNATIONAL";
2632
+ district2: string;
2633
+ cityOrTown?: string | null | undefined;
2634
+ addressLine1?: string | null | undefined;
2635
+ addressLine2?: string | null | undefined;
2636
+ addressLine3?: string | null | undefined;
2637
+ postcodeOrZip?: string | null | undefined;
2638
+ }>]>>>;
2639
+ originalActionId: z.ZodOptional<z.ZodString>;
2640
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2641
+ }, {
2642
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
2643
+ }>, "strip", z.ZodTypeAny, {
2644
+ type: "REJECT";
2645
+ declaration: Record<string, string | number | boolean | {
2646
+ type: string;
2647
+ filename: string;
2648
+ originalFilename: string;
2649
+ } | {
2650
+ country: string;
2651
+ district: string;
2652
+ addressType: "DOMESTIC";
2653
+ province: string;
2654
+ urbanOrRural: "URBAN";
2655
+ number?: string | null | undefined;
2656
+ town?: string | null | undefined;
2657
+ residentialArea?: string | null | undefined;
2658
+ street?: string | null | undefined;
2659
+ zipCode?: string | null | undefined;
2660
+ } | {
2661
+ country: string;
2662
+ district: string;
2663
+ addressType: "DOMESTIC";
2664
+ province: string;
2665
+ urbanOrRural: "RURAL";
2666
+ village?: string | null | undefined;
2667
+ } | {
2668
+ country: string;
2669
+ state: string;
2670
+ addressType: "INTERNATIONAL";
2671
+ district2: string;
2672
+ cityOrTown?: string | null | undefined;
2673
+ addressLine1?: string | null | undefined;
2674
+ addressLine2?: string | null | undefined;
2675
+ addressLine3?: string | null | undefined;
2676
+ postcodeOrZip?: string | null | undefined;
2677
+ } | {
2678
+ type: string;
2679
+ option: string;
2680
+ filename: string;
2681
+ originalFilename: string;
2682
+ }[] | undefined>;
2683
+ eventId: string;
2684
+ transactionId: string;
2685
+ annotation?: Record<string, string | number | boolean | {
2686
+ type: string;
2687
+ filename: string;
2688
+ originalFilename: string;
2689
+ } | {
2690
+ country: string;
2691
+ district: string;
2692
+ addressType: "DOMESTIC";
2693
+ province: string;
2694
+ urbanOrRural: "URBAN";
2695
+ number?: string | null | undefined;
2696
+ town?: string | null | undefined;
2697
+ residentialArea?: string | null | undefined;
2698
+ street?: string | null | undefined;
2699
+ zipCode?: string | null | undefined;
2700
+ } | {
2701
+ country: string;
2702
+ district: string;
2703
+ addressType: "DOMESTIC";
2704
+ province: string;
2705
+ urbanOrRural: "RURAL";
2706
+ village?: string | null | undefined;
2707
+ } | {
2708
+ country: string;
2709
+ state: string;
2710
+ addressType: "INTERNATIONAL";
2711
+ district2: string;
2712
+ cityOrTown?: string | null | undefined;
2713
+ addressLine1?: string | null | undefined;
2714
+ addressLine2?: string | null | undefined;
2715
+ addressLine3?: string | null | undefined;
2716
+ postcodeOrZip?: string | null | undefined;
2717
+ } | {
2718
+ type: string;
2719
+ option: string;
2720
+ filename: string;
2721
+ originalFilename: string;
2722
+ }[] | undefined> | undefined;
2723
+ originalActionId?: string | undefined;
2724
+ keepAssignment?: boolean | undefined;
2725
+ }, {
2726
+ eventId: string;
2727
+ transactionId: string;
2728
+ type?: "REJECT" | undefined;
2729
+ declaration?: Record<string, string | number | boolean | {
2730
+ type: string;
2731
+ filename: string;
2732
+ originalFilename: string;
2733
+ } | {
2734
+ country: string;
2735
+ district: string;
2736
+ addressType: "DOMESTIC";
2737
+ province: string;
2738
+ urbanOrRural: "URBAN";
2739
+ number?: string | null | undefined;
2740
+ town?: string | null | undefined;
2741
+ residentialArea?: string | null | undefined;
2742
+ street?: string | null | undefined;
2743
+ zipCode?: string | null | undefined;
2744
+ } | {
2745
+ country: string;
2746
+ district: string;
2747
+ addressType: "DOMESTIC";
2748
+ province: string;
2749
+ urbanOrRural: "RURAL";
2750
+ village?: string | null | undefined;
2751
+ } | {
2752
+ country: string;
2753
+ state: string;
2754
+ addressType: "INTERNATIONAL";
2755
+ district2: string;
2756
+ cityOrTown?: string | null | undefined;
2757
+ addressLine1?: string | null | undefined;
2758
+ addressLine2?: string | null | undefined;
2759
+ addressLine3?: string | null | undefined;
2760
+ postcodeOrZip?: string | null | undefined;
2761
+ } | {
2762
+ type: string;
2763
+ option: string;
2764
+ filename: string;
2765
+ originalFilename: string;
2766
+ }[] | undefined> | undefined;
2767
+ annotation?: Record<string, string | number | boolean | {
1954
2768
  type: string;
1955
2769
  filename: string;
1956
2770
  originalFilename: string;
@@ -1988,11 +2802,14 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
1988
2802
  filename: string;
1989
2803
  originalFilename: string;
1990
2804
  }[] | undefined> | undefined;
2805
+ originalActionId?: string | undefined;
2806
+ keepAssignment?: boolean | undefined;
1991
2807
  }>;
1992
- export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
2808
+ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2809
+ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
1993
2810
  eventId: z.ZodString;
1994
2811
  transactionId: z.ZodString;
1995
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2812
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1996
2813
  filename: z.ZodString;
1997
2814
  originalFilename: z.ZodString;
1998
2815
  type: z.ZodString;
@@ -2105,8 +2922,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2105
2922
  addressLine2?: string | null | undefined;
2106
2923
  addressLine3?: string | null | undefined;
2107
2924
  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<{
2925
+ }>]>>>;
2926
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2110
2927
  filename: z.ZodString;
2111
2928
  originalFilename: z.ZodString;
2112
2929
  type: z.ZodString;
@@ -2220,11 +3037,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2220
3037
  addressLine3?: string | null | undefined;
2221
3038
  postcodeOrZip?: string | null | undefined;
2222
3039
  }>]>>>;
3040
+ originalActionId: z.ZodOptional<z.ZodString>;
3041
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2223
3042
  }, {
2224
- type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
3043
+ type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
2225
3044
  }>, "strip", z.ZodTypeAny, {
2226
- type: "PRINT_CERTIFICATE";
2227
- data: Record<string, string | number | boolean | {
3045
+ type: "MARKED_AS_DUPLICATE";
3046
+ declaration: Record<string, string | number | boolean | {
2228
3047
  type: string;
2229
3048
  filename: string;
2230
3049
  originalFilename: string;
@@ -2264,7 +3083,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2264
3083
  }[] | undefined>;
2265
3084
  eventId: string;
2266
3085
  transactionId: string;
2267
- metadata?: Record<string, string | number | boolean | {
3086
+ annotation?: Record<string, string | number | boolean | {
2268
3087
  type: string;
2269
3088
  filename: string;
2270
3089
  originalFilename: string;
@@ -2302,8 +3121,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2302
3121
  filename: string;
2303
3122
  originalFilename: string;
2304
3123
  }[] | undefined> | undefined;
3124
+ originalActionId?: string | undefined;
3125
+ keepAssignment?: boolean | undefined;
2305
3126
  }, {
2306
- data: Record<string, string | number | boolean | {
3127
+ eventId: string;
3128
+ transactionId: string;
3129
+ type?: "MARKED_AS_DUPLICATE" | undefined;
3130
+ declaration?: Record<string, string | number | boolean | {
2307
3131
  type: string;
2308
3132
  filename: string;
2309
3133
  originalFilename: string;
@@ -2340,11 +3164,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2340
3164
  option: string;
2341
3165
  filename: string;
2342
3166
  originalFilename: string;
2343
- }[] | undefined>;
2344
- eventId: string;
2345
- transactionId: string;
2346
- type?: "PRINT_CERTIFICATE" | undefined;
2347
- metadata?: Record<string, string | number | boolean | {
3167
+ }[] | undefined> | undefined;
3168
+ annotation?: Record<string, string | number | boolean | {
2348
3169
  type: string;
2349
3170
  filename: string;
2350
3171
  originalFilename: string;
@@ -2382,12 +3203,14 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2382
3203
  filename: string;
2383
3204
  originalFilename: string;
2384
3205
  }[] | undefined> | undefined;
3206
+ originalActionId?: string | undefined;
3207
+ keepAssignment?: boolean | undefined;
2385
3208
  }>;
2386
- export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
2387
- export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
3209
+ export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3210
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
2388
3211
  eventId: z.ZodString;
2389
3212
  transactionId: z.ZodString;
2390
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3213
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2391
3214
  filename: z.ZodString;
2392
3215
  originalFilename: z.ZodString;
2393
3216
  type: z.ZodString;
@@ -2500,8 +3323,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2500
3323
  addressLine2?: string | null | undefined;
2501
3324
  addressLine3?: string | null | undefined;
2502
3325
  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<{
3326
+ }>]>>>;
3327
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2505
3328
  filename: z.ZodString;
2506
3329
  originalFilename: z.ZodString;
2507
3330
  type: z.ZodString;
@@ -2615,11 +3438,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2615
3438
  addressLine3?: string | null | undefined;
2616
3439
  postcodeOrZip?: string | null | undefined;
2617
3440
  }>]>>>;
3441
+ originalActionId: z.ZodOptional<z.ZodString>;
3442
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
2618
3443
  }, {
2619
- type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
3444
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
2620
3445
  }>, "strip", z.ZodTypeAny, {
2621
- type: "REJECT";
2622
- data: Record<string, string | number | boolean | {
3446
+ type: "ARCHIVE";
3447
+ declaration: Record<string, string | number | boolean | {
2623
3448
  type: string;
2624
3449
  filename: string;
2625
3450
  originalFilename: string;
@@ -2659,7 +3484,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2659
3484
  }[] | undefined>;
2660
3485
  eventId: string;
2661
3486
  transactionId: string;
2662
- metadata?: Record<string, string | number | boolean | {
3487
+ annotation?: Record<string, string | number | boolean | {
2663
3488
  type: string;
2664
3489
  filename: string;
2665
3490
  originalFilename: string;
@@ -2697,8 +3522,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2697
3522
  filename: string;
2698
3523
  originalFilename: string;
2699
3524
  }[] | undefined> | undefined;
3525
+ originalActionId?: string | undefined;
3526
+ keepAssignment?: boolean | undefined;
2700
3527
  }, {
2701
- data: Record<string, string | number | boolean | {
3528
+ eventId: string;
3529
+ transactionId: string;
3530
+ type?: "ARCHIVE" | undefined;
3531
+ declaration?: Record<string, string | number | boolean | {
2702
3532
  type: string;
2703
3533
  filename: string;
2704
3534
  originalFilename: string;
@@ -2735,11 +3565,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2735
3565
  option: string;
2736
3566
  filename: string;
2737
3567
  originalFilename: string;
2738
- }[] | undefined>;
2739
- eventId: string;
2740
- transactionId: string;
2741
- type?: "REJECT" | undefined;
2742
- metadata?: Record<string, string | number | boolean | {
3568
+ }[] | undefined> | undefined;
3569
+ annotation?: Record<string, string | number | boolean | {
2743
3570
  type: string;
2744
3571
  filename: string;
2745
3572
  originalFilename: string;
@@ -2777,12 +3604,14 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
2777
3604
  filename: string;
2778
3605
  originalFilename: string;
2779
3606
  }[] | undefined> | undefined;
3607
+ originalActionId?: string | undefined;
3608
+ keepAssignment?: boolean | undefined;
2780
3609
  }>;
2781
- export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
2782
- export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
3610
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
3611
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
2783
3612
  eventId: z.ZodString;
2784
3613
  transactionId: z.ZodString;
2785
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3614
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2786
3615
  filename: z.ZodString;
2787
3616
  originalFilename: z.ZodString;
2788
3617
  type: z.ZodString;
@@ -2895,8 +3724,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
2895
3724
  addressLine2?: string | null | undefined;
2896
3725
  addressLine3?: string | null | undefined;
2897
3726
  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<{
3727
+ }>]>>>;
3728
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2900
3729
  filename: z.ZodString;
2901
3730
  originalFilename: z.ZodString;
2902
3731
  type: z.ZodString;
@@ -3010,11 +3839,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3010
3839
  addressLine3?: string | null | undefined;
3011
3840
  postcodeOrZip?: string | null | undefined;
3012
3841
  }>]>>>;
3842
+ originalActionId: z.ZodOptional<z.ZodString>;
3843
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3013
3844
  }, {
3014
- type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
3845
+ type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
3846
+ assignedTo: z.ZodString;
3015
3847
  }>, "strip", z.ZodTypeAny, {
3016
- type: "MARKED_AS_DUPLICATE";
3017
- data: Record<string, string | number | boolean | {
3848
+ type: "ASSIGN";
3849
+ declaration: Record<string, string | number | boolean | {
3018
3850
  type: string;
3019
3851
  filename: string;
3020
3852
  originalFilename: string;
@@ -3052,9 +3884,10 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3052
3884
  filename: string;
3053
3885
  originalFilename: string;
3054
3886
  }[] | undefined>;
3887
+ assignedTo: string;
3055
3888
  eventId: string;
3056
3889
  transactionId: string;
3057
- metadata?: Record<string, string | number | boolean | {
3890
+ annotation?: Record<string, string | number | boolean | {
3058
3891
  type: string;
3059
3892
  filename: string;
3060
3893
  originalFilename: string;
@@ -3092,8 +3925,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3092
3925
  filename: string;
3093
3926
  originalFilename: string;
3094
3927
  }[] | undefined> | undefined;
3928
+ originalActionId?: string | undefined;
3929
+ keepAssignment?: boolean | undefined;
3095
3930
  }, {
3096
- data: Record<string, string | number | boolean | {
3931
+ assignedTo: string;
3932
+ eventId: string;
3933
+ transactionId: string;
3934
+ type?: "ASSIGN" | undefined;
3935
+ declaration?: Record<string, string | number | boolean | {
3097
3936
  type: string;
3098
3937
  filename: string;
3099
3938
  originalFilename: string;
@@ -3130,11 +3969,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3130
3969
  option: string;
3131
3970
  filename: string;
3132
3971
  originalFilename: string;
3133
- }[] | undefined>;
3134
- eventId: string;
3135
- transactionId: string;
3136
- type?: "MARKED_AS_DUPLICATE" | undefined;
3137
- metadata?: Record<string, string | number | boolean | {
3972
+ }[] | undefined> | undefined;
3973
+ annotation?: Record<string, string | number | boolean | {
3138
3974
  type: string;
3139
3975
  filename: string;
3140
3976
  originalFilename: string;
@@ -3172,12 +4008,14 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
3172
4008
  filename: string;
3173
4009
  originalFilename: string;
3174
4010
  }[] | undefined> | undefined;
4011
+ originalActionId?: string | undefined;
4012
+ keepAssignment?: boolean | undefined;
3175
4013
  }>;
3176
- export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
3177
- export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
4014
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
4015
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
3178
4016
  eventId: z.ZodString;
3179
4017
  transactionId: z.ZodString;
3180
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4018
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3181
4019
  filename: z.ZodString;
3182
4020
  originalFilename: z.ZodString;
3183
4021
  type: z.ZodString;
@@ -3290,8 +4128,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3290
4128
  addressLine2?: string | null | undefined;
3291
4129
  addressLine3?: string | null | undefined;
3292
4130
  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<{
4131
+ }>]>>>;
4132
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3295
4133
  filename: z.ZodString;
3296
4134
  originalFilename: z.ZodString;
3297
4135
  type: z.ZodString;
@@ -3405,11 +4243,14 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3405
4243
  addressLine3?: string | null | undefined;
3406
4244
  postcodeOrZip?: string | null | undefined;
3407
4245
  }>]>>>;
4246
+ originalActionId: z.ZodOptional<z.ZodString>;
4247
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3408
4248
  }, {
3409
- type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
4249
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
4250
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
3410
4251
  }>, "strip", z.ZodTypeAny, {
3411
- type: "ARCHIVE";
3412
- data: Record<string, string | number | boolean | {
4252
+ type: "UNASSIGN";
4253
+ declaration: Record<string, string | number | boolean | {
3413
4254
  type: string;
3414
4255
  filename: string;
3415
4256
  originalFilename: string;
@@ -3447,9 +4288,10 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3447
4288
  filename: string;
3448
4289
  originalFilename: string;
3449
4290
  }[] | undefined>;
4291
+ assignedTo: null;
3450
4292
  eventId: string;
3451
4293
  transactionId: string;
3452
- metadata?: Record<string, string | number | boolean | {
4294
+ annotation?: Record<string, string | number | boolean | {
3453
4295
  type: string;
3454
4296
  filename: string;
3455
4297
  originalFilename: string;
@@ -3487,8 +4329,13 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3487
4329
  filename: string;
3488
4330
  originalFilename: string;
3489
4331
  }[] | undefined> | undefined;
4332
+ originalActionId?: string | undefined;
4333
+ keepAssignment?: boolean | undefined;
3490
4334
  }, {
3491
- data: Record<string, string | number | boolean | {
4335
+ eventId: string;
4336
+ transactionId: string;
4337
+ type?: "UNASSIGN" | undefined;
4338
+ declaration?: Record<string, string | number | boolean | {
3492
4339
  type: string;
3493
4340
  filename: string;
3494
4341
  originalFilename: string;
@@ -3525,11 +4372,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3525
4372
  option: string;
3526
4373
  filename: string;
3527
4374
  originalFilename: string;
3528
- }[] | undefined>;
3529
- eventId: string;
3530
- transactionId: string;
3531
- type?: "ARCHIVE" | undefined;
3532
- metadata?: Record<string, string | number | boolean | {
4375
+ }[] | undefined> | undefined;
4376
+ annotation?: Record<string, string | number | boolean | {
3533
4377
  type: string;
3534
4378
  filename: string;
3535
4379
  originalFilename: string;
@@ -3567,12 +4411,15 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
3567
4411
  filename: string;
3568
4412
  originalFilename: string;
3569
4413
  }[] | undefined> | undefined;
4414
+ originalActionId?: string | undefined;
4415
+ assignedTo?: null | undefined;
4416
+ keepAssignment?: boolean | undefined;
3570
4417
  }>;
3571
- export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
4418
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
3572
4419
  export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3573
4420
  eventId: z.ZodString;
3574
4421
  transactionId: z.ZodString;
3575
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4422
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3576
4423
  filename: z.ZodString;
3577
4424
  originalFilename: z.ZodString;
3578
4425
  type: z.ZodString;
@@ -3685,8 +4532,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3685
4532
  addressLine2?: string | null | undefined;
3686
4533
  addressLine3?: string | null | undefined;
3687
4534
  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<{
4535
+ }>]>>>;
4536
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3690
4537
  filename: z.ZodString;
3691
4538
  originalFilename: z.ZodString;
3692
4539
  type: z.ZodString;
@@ -3800,11 +4647,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3800
4647
  addressLine3?: string | null | undefined;
3801
4648
  postcodeOrZip?: string | null | undefined;
3802
4649
  }>]>>>;
4650
+ originalActionId: z.ZodOptional<z.ZodString>;
4651
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
3803
4652
  }, {
3804
4653
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
3805
4654
  }>, "strip", z.ZodTypeAny, {
3806
4655
  type: "REQUEST_CORRECTION";
3807
- data: Record<string, string | number | boolean | {
4656
+ declaration: Record<string, string | number | boolean | {
3808
4657
  type: string;
3809
4658
  filename: string;
3810
4659
  originalFilename: string;
@@ -3844,7 +4693,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3844
4693
  }[] | undefined>;
3845
4694
  eventId: string;
3846
4695
  transactionId: string;
3847
- metadata?: Record<string, string | number | boolean | {
4696
+ annotation?: Record<string, string | number | boolean | {
3848
4697
  type: string;
3849
4698
  filename: string;
3850
4699
  originalFilename: string;
@@ -3882,8 +4731,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3882
4731
  filename: string;
3883
4732
  originalFilename: string;
3884
4733
  }[] | undefined> | undefined;
4734
+ originalActionId?: string | undefined;
4735
+ keepAssignment?: boolean | undefined;
3885
4736
  }, {
3886
- data: Record<string, string | number | boolean | {
4737
+ eventId: string;
4738
+ transactionId: string;
4739
+ type?: "REQUEST_CORRECTION" | undefined;
4740
+ declaration?: Record<string, string | number | boolean | {
3887
4741
  type: string;
3888
4742
  filename: string;
3889
4743
  originalFilename: string;
@@ -3920,11 +4774,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3920
4774
  option: string;
3921
4775
  filename: string;
3922
4776
  originalFilename: string;
3923
- }[] | undefined>;
3924
- eventId: string;
3925
- transactionId: string;
3926
- type?: "REQUEST_CORRECTION" | undefined;
3927
- metadata?: Record<string, string | number | boolean | {
4777
+ }[] | undefined> | undefined;
4778
+ annotation?: Record<string, string | number | boolean | {
3928
4779
  type: string;
3929
4780
  filename: string;
3930
4781
  originalFilename: string;
@@ -3962,12 +4813,14 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
3962
4813
  filename: string;
3963
4814
  originalFilename: string;
3964
4815
  }[] | undefined> | undefined;
4816
+ originalActionId?: string | undefined;
4817
+ keepAssignment?: boolean | undefined;
3965
4818
  }>;
3966
4819
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
3967
4820
  export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
3968
4821
  eventId: z.ZodString;
3969
4822
  transactionId: z.ZodString;
3970
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4823
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3971
4824
  filename: z.ZodString;
3972
4825
  originalFilename: z.ZodString;
3973
4826
  type: z.ZodString;
@@ -4080,8 +4933,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4080
4933
  addressLine2?: string | null | undefined;
4081
4934
  addressLine3?: string | null | undefined;
4082
4935
  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<{
4936
+ }>]>>>;
4937
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4085
4938
  filename: z.ZodString;
4086
4939
  originalFilename: z.ZodString;
4087
4940
  type: z.ZodString;
@@ -4195,12 +5048,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4195
5048
  addressLine3?: string | null | undefined;
4196
5049
  postcodeOrZip?: string | null | undefined;
4197
5050
  }>]>>>;
5051
+ originalActionId: z.ZodOptional<z.ZodString>;
5052
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4198
5053
  }, {
4199
5054
  requestId: z.ZodString;
4200
5055
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
4201
5056
  }>, "strip", z.ZodTypeAny, {
4202
5057
  type: "REJECT_CORRECTION";
4203
- data: Record<string, string | number | boolean | {
5058
+ declaration: Record<string, string | number | boolean | {
4204
5059
  type: string;
4205
5060
  filename: string;
4206
5061
  originalFilename: string;
@@ -4241,7 +5096,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4241
5096
  requestId: string;
4242
5097
  eventId: string;
4243
5098
  transactionId: string;
4244
- metadata?: Record<string, string | number | boolean | {
5099
+ annotation?: Record<string, string | number | boolean | {
4245
5100
  type: string;
4246
5101
  filename: string;
4247
5102
  originalFilename: string;
@@ -4279,8 +5134,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4279
5134
  filename: string;
4280
5135
  originalFilename: string;
4281
5136
  }[] | undefined> | undefined;
5137
+ originalActionId?: string | undefined;
5138
+ keepAssignment?: boolean | undefined;
4282
5139
  }, {
4283
- data: Record<string, string | number | boolean | {
5140
+ requestId: string;
5141
+ eventId: string;
5142
+ transactionId: string;
5143
+ type?: "REJECT_CORRECTION" | undefined;
5144
+ declaration?: Record<string, string | number | boolean | {
4284
5145
  type: string;
4285
5146
  filename: string;
4286
5147
  originalFilename: string;
@@ -4317,12 +5178,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4317
5178
  option: string;
4318
5179
  filename: string;
4319
5180
  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 | {
5181
+ }[] | undefined> | undefined;
5182
+ annotation?: Record<string, string | number | boolean | {
4326
5183
  type: string;
4327
5184
  filename: string;
4328
5185
  originalFilename: string;
@@ -4360,12 +5217,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
4360
5217
  filename: string;
4361
5218
  originalFilename: string;
4362
5219
  }[] | undefined> | undefined;
5220
+ originalActionId?: string | undefined;
5221
+ keepAssignment?: boolean | undefined;
4363
5222
  }>;
4364
5223
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
4365
5224
  export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
4366
5225
  eventId: z.ZodString;
4367
5226
  transactionId: z.ZodString;
4368
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5227
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4369
5228
  filename: z.ZodString;
4370
5229
  originalFilename: z.ZodString;
4371
5230
  type: z.ZodString;
@@ -4478,8 +5337,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4478
5337
  addressLine2?: string | null | undefined;
4479
5338
  addressLine3?: string | null | undefined;
4480
5339
  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<{
5340
+ }>]>>>;
5341
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4483
5342
  filename: z.ZodString;
4484
5343
  originalFilename: z.ZodString;
4485
5344
  type: z.ZodString;
@@ -4593,12 +5452,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4593
5452
  addressLine3?: string | null | undefined;
4594
5453
  postcodeOrZip?: string | null | undefined;
4595
5454
  }>]>>>;
5455
+ originalActionId: z.ZodOptional<z.ZodString>;
5456
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4596
5457
  }, {
4597
5458
  requestId: z.ZodString;
4598
5459
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
4599
5460
  }>, "strip", z.ZodTypeAny, {
4600
5461
  type: "APPROVE_CORRECTION";
4601
- data: Record<string, string | number | boolean | {
5462
+ declaration: Record<string, string | number | boolean | {
4602
5463
  type: string;
4603
5464
  filename: string;
4604
5465
  originalFilename: string;
@@ -4639,7 +5500,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4639
5500
  requestId: string;
4640
5501
  eventId: string;
4641
5502
  transactionId: string;
4642
- metadata?: Record<string, string | number | boolean | {
5503
+ annotation?: Record<string, string | number | boolean | {
4643
5504
  type: string;
4644
5505
  filename: string;
4645
5506
  originalFilename: string;
@@ -4677,8 +5538,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4677
5538
  filename: string;
4678
5539
  originalFilename: string;
4679
5540
  }[] | undefined> | undefined;
5541
+ originalActionId?: string | undefined;
5542
+ keepAssignment?: boolean | undefined;
4680
5543
  }, {
4681
- data: Record<string, string | number | boolean | {
5544
+ requestId: string;
5545
+ eventId: string;
5546
+ transactionId: string;
5547
+ type?: "APPROVE_CORRECTION" | undefined;
5548
+ declaration?: Record<string, string | number | boolean | {
4682
5549
  type: string;
4683
5550
  filename: string;
4684
5551
  originalFilename: string;
@@ -4715,12 +5582,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4715
5582
  option: string;
4716
5583
  filename: string;
4717
5584
  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 | {
5585
+ }[] | undefined> | undefined;
5586
+ annotation?: Record<string, string | number | boolean | {
4724
5587
  type: string;
4725
5588
  filename: string;
4726
5589
  originalFilename: string;
@@ -4758,12 +5621,14 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
4758
5621
  filename: string;
4759
5622
  originalFilename: string;
4760
5623
  }[] | undefined> | undefined;
5624
+ originalActionId?: string | undefined;
5625
+ keepAssignment?: boolean | undefined;
4761
5626
  }>;
4762
5627
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
4763
5628
  export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4764
5629
  eventId: z.ZodString;
4765
5630
  transactionId: z.ZodString;
4766
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5631
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4767
5632
  filename: z.ZodString;
4768
5633
  originalFilename: z.ZodString;
4769
5634
  type: z.ZodString;
@@ -4876,8 +5741,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4876
5741
  addressLine2?: string | null | undefined;
4877
5742
  addressLine3?: string | null | undefined;
4878
5743
  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<{
5744
+ }>]>>>;
5745
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4881
5746
  filename: z.ZodString;
4882
5747
  originalFilename: z.ZodString;
4883
5748
  type: z.ZodString;
@@ -4991,11 +5856,13 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
4991
5856
  addressLine3?: string | null | undefined;
4992
5857
  postcodeOrZip?: string | null | undefined;
4993
5858
  }>]>>>;
5859
+ originalActionId: z.ZodOptional<z.ZodString>;
5860
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
4994
5861
  }, {
4995
5862
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
4996
5863
  }>, "strip", z.ZodTypeAny, {
4997
5864
  type: "READ";
4998
- data: Record<string, string | number | boolean | {
5865
+ declaration: Record<string, string | number | boolean | {
4999
5866
  type: string;
5000
5867
  filename: string;
5001
5868
  originalFilename: string;
@@ -5035,7 +5902,7 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5035
5902
  }[] | undefined>;
5036
5903
  eventId: string;
5037
5904
  transactionId: string;
5038
- metadata?: Record<string, string | number | boolean | {
5905
+ annotation?: Record<string, string | number | boolean | {
5039
5906
  type: string;
5040
5907
  filename: string;
5041
5908
  originalFilename: string;
@@ -5073,8 +5940,13 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5073
5940
  filename: string;
5074
5941
  originalFilename: string;
5075
5942
  }[] | undefined> | undefined;
5943
+ originalActionId?: string | undefined;
5944
+ keepAssignment?: boolean | undefined;
5076
5945
  }, {
5077
- data: Record<string, string | number | boolean | {
5946
+ eventId: string;
5947
+ transactionId: string;
5948
+ type?: "READ" | undefined;
5949
+ declaration?: Record<string, string | number | boolean | {
5078
5950
  type: string;
5079
5951
  filename: string;
5080
5952
  originalFilename: string;
@@ -5111,11 +5983,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5111
5983
  option: string;
5112
5984
  filename: string;
5113
5985
  originalFilename: string;
5114
- }[] | undefined>;
5115
- eventId: string;
5116
- transactionId: string;
5117
- type?: "READ" | undefined;
5118
- metadata?: Record<string, string | number | boolean | {
5986
+ }[] | undefined> | undefined;
5987
+ annotation?: Record<string, string | number | boolean | {
5119
5988
  type: string;
5120
5989
  filename: string;
5121
5990
  originalFilename: string;
@@ -5153,6 +6022,8 @@ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
5153
6022
  filename: string;
5154
6023
  originalFilename: string;
5155
6024
  }[] | undefined> | undefined;
6025
+ originalActionId?: string | undefined;
6026
+ keepAssignment?: boolean | undefined;
5156
6027
  }>;
5157
6028
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
5158
6029
  /**
@@ -5166,7 +6037,7 @@ export type ReadActionInput = z.infer<typeof ReadActionInput>;
5166
6037
  export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5167
6038
  eventId: z.ZodString;
5168
6039
  transactionId: z.ZodString;
5169
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6040
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5170
6041
  filename: z.ZodString;
5171
6042
  originalFilename: z.ZodString;
5172
6043
  type: z.ZodString;
@@ -5279,8 +6150,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5279
6150
  addressLine2?: string | null | undefined;
5280
6151
  addressLine3?: string | null | undefined;
5281
6152
  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<{
6153
+ }>]>>>;
6154
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5284
6155
  filename: z.ZodString;
5285
6156
  originalFilename: z.ZodString;
5286
6157
  type: z.ZodString;
@@ -5394,12 +6265,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5394
6265
  addressLine3?: string | null | undefined;
5395
6266
  postcodeOrZip?: string | null | undefined;
5396
6267
  }>]>>>;
6268
+ originalActionId: z.ZodOptional<z.ZodString>;
6269
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5397
6270
  }, {
5398
6271
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
5399
6272
  createdAtLocation: z.ZodString;
5400
6273
  }>, "strip", z.ZodTypeAny, {
5401
6274
  type: "CREATE";
5402
- data: Record<string, string | number | boolean | {
6275
+ declaration: Record<string, string | number | boolean | {
5403
6276
  type: string;
5404
6277
  filename: string;
5405
6278
  originalFilename: string;
@@ -5440,7 +6313,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5440
6313
  createdAtLocation: string;
5441
6314
  eventId: string;
5442
6315
  transactionId: string;
5443
- metadata?: Record<string, string | number | boolean | {
6316
+ annotation?: Record<string, string | number | boolean | {
5444
6317
  type: string;
5445
6318
  filename: string;
5446
6319
  originalFilename: string;
@@ -5478,8 +6351,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5478
6351
  filename: string;
5479
6352
  originalFilename: string;
5480
6353
  }[] | undefined> | undefined;
6354
+ originalActionId?: string | undefined;
6355
+ keepAssignment?: boolean | undefined;
5481
6356
  }, {
5482
- data: Record<string, string | number | boolean | {
6357
+ createdAtLocation: string;
6358
+ eventId: string;
6359
+ transactionId: string;
6360
+ type?: "CREATE" | undefined;
6361
+ declaration?: Record<string, string | number | boolean | {
5483
6362
  type: string;
5484
6363
  filename: string;
5485
6364
  originalFilename: string;
@@ -5516,12 +6395,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5516
6395
  option: string;
5517
6396
  filename: string;
5518
6397
  originalFilename: string;
5519
- }[] | undefined>;
5520
- createdAtLocation: string;
5521
- eventId: string;
5522
- transactionId: string;
5523
- type?: "CREATE" | undefined;
5524
- metadata?: Record<string, string | number | boolean | {
6398
+ }[] | undefined> | undefined;
6399
+ annotation?: Record<string, string | number | boolean | {
5525
6400
  type: string;
5526
6401
  filename: string;
5527
6402
  originalFilename: string;
@@ -5559,10 +6434,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5559
6434
  filename: string;
5560
6435
  originalFilename: string;
5561
6436
  }[] | undefined> | undefined;
6437
+ originalActionId?: string | undefined;
6438
+ keepAssignment?: boolean | undefined;
5562
6439
  }>, z.ZodObject<z.objectUtil.extendShape<{
5563
6440
  eventId: z.ZodString;
5564
6441
  transactionId: z.ZodString;
5565
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6442
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5566
6443
  filename: z.ZodString;
5567
6444
  originalFilename: z.ZodString;
5568
6445
  type: z.ZodString;
@@ -5675,8 +6552,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5675
6552
  addressLine2?: string | null | undefined;
5676
6553
  addressLine3?: string | null | undefined;
5677
6554
  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<{
6555
+ }>]>>>;
6556
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5680
6557
  filename: z.ZodString;
5681
6558
  originalFilename: z.ZodString;
5682
6559
  type: z.ZodString;
@@ -5790,12 +6667,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5790
6667
  addressLine3?: string | null | undefined;
5791
6668
  postcodeOrZip?: string | null | undefined;
5792
6669
  }>]>>>;
6670
+ originalActionId: z.ZodOptional<z.ZodString>;
6671
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
5793
6672
  }, {
5794
6673
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
5795
6674
  duplicates: z.ZodArray<z.ZodString, "many">;
5796
6675
  }>, "strip", z.ZodTypeAny, {
5797
6676
  type: "VALIDATE";
5798
- data: Record<string, string | number | boolean | {
6677
+ declaration: Record<string, string | number | boolean | {
5799
6678
  type: string;
5800
6679
  filename: string;
5801
6680
  originalFilename: string;
@@ -5836,7 +6715,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5836
6715
  eventId: string;
5837
6716
  transactionId: string;
5838
6717
  duplicates: string[];
5839
- metadata?: Record<string, string | number | boolean | {
6718
+ annotation?: Record<string, string | number | boolean | {
5840
6719
  type: string;
5841
6720
  filename: string;
5842
6721
  originalFilename: string;
@@ -5874,8 +6753,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5874
6753
  filename: string;
5875
6754
  originalFilename: string;
5876
6755
  }[] | undefined> | undefined;
6756
+ originalActionId?: string | undefined;
6757
+ keepAssignment?: boolean | undefined;
5877
6758
  }, {
5878
- data: Record<string, string | number | boolean | {
6759
+ eventId: string;
6760
+ transactionId: string;
6761
+ duplicates: string[];
6762
+ type?: "VALIDATE" | undefined;
6763
+ declaration?: Record<string, string | number | boolean | {
5879
6764
  type: string;
5880
6765
  filename: string;
5881
6766
  originalFilename: string;
@@ -5912,12 +6797,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
6797
  option: string;
5913
6798
  filename: string;
5914
6799
  originalFilename: string;
5915
- }[] | undefined>;
5916
- eventId: string;
5917
- transactionId: string;
5918
- duplicates: string[];
5919
- type?: "VALIDATE" | undefined;
5920
- metadata?: Record<string, string | number | boolean | {
6800
+ }[] | undefined> | undefined;
6801
+ annotation?: Record<string, string | number | boolean | {
5921
6802
  type: string;
5922
6803
  filename: string;
5923
6804
  originalFilename: string;
@@ -5955,10 +6836,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5955
6836
  filename: string;
5956
6837
  originalFilename: string;
5957
6838
  }[] | undefined> | undefined;
6839
+ originalActionId?: string | undefined;
6840
+ keepAssignment?: boolean | undefined;
5958
6841
  }>, z.ZodObject<z.objectUtil.extendShape<{
5959
6842
  eventId: z.ZodString;
5960
6843
  transactionId: z.ZodString;
5961
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6844
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5962
6845
  filename: z.ZodString;
5963
6846
  originalFilename: z.ZodString;
5964
6847
  type: z.ZodString;
@@ -6071,8 +6954,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6071
6954
  addressLine2?: string | null | undefined;
6072
6955
  addressLine3?: string | null | undefined;
6073
6956
  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<{
6957
+ }>]>>>;
6958
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6076
6959
  filename: z.ZodString;
6077
6960
  originalFilename: z.ZodString;
6078
6961
  type: z.ZodString;
@@ -6186,21 +7069,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6186
7069
  addressLine3?: string | null | undefined;
6187
7070
  postcodeOrZip?: string | null | undefined;
6188
7071
  }>]>>>;
7072
+ originalActionId: z.ZodOptional<z.ZodString>;
7073
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6189
7074
  }, {
6190
7075
  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
- }>;
7076
+ registrationNumber: z.ZodOptional<z.ZodString>;
6201
7077
  }>, "strip", z.ZodTypeAny, {
6202
7078
  type: "REGISTER";
6203
- data: Record<string, string | number | boolean | {
7079
+ declaration: Record<string, string | number | boolean | {
6204
7080
  type: string;
6205
7081
  filename: string;
6206
7082
  originalFilename: string;
@@ -6238,13 +7114,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6238
7114
  filename: string;
6239
7115
  originalFilename: string;
6240
7116
  }[] | undefined>;
6241
- identifiers: {
6242
- trackingId: string;
6243
- registrationNumber: string;
6244
- };
6245
7117
  eventId: string;
6246
7118
  transactionId: string;
6247
- metadata?: Record<string, string | number | boolean | {
7119
+ annotation?: Record<string, string | number | boolean | {
6248
7120
  type: string;
6249
7121
  filename: string;
6250
7122
  originalFilename: string;
@@ -6282,8 +7154,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6282
7154
  filename: string;
6283
7155
  originalFilename: string;
6284
7156
  }[] | undefined> | undefined;
7157
+ originalActionId?: string | undefined;
7158
+ registrationNumber?: string | undefined;
7159
+ keepAssignment?: boolean | undefined;
6285
7160
  }, {
6286
- data: Record<string, string | number | boolean | {
7161
+ eventId: string;
7162
+ transactionId: string;
7163
+ type?: "REGISTER" | undefined;
7164
+ declaration?: Record<string, string | number | boolean | {
6287
7165
  type: string;
6288
7166
  filename: string;
6289
7167
  originalFilename: string;
@@ -6320,15 +7198,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6320
7198
  option: string;
6321
7199
  filename: string;
6322
7200
  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 | {
7201
+ }[] | undefined> | undefined;
7202
+ annotation?: Record<string, string | number | boolean | {
6332
7203
  type: string;
6333
7204
  filename: string;
6334
7205
  originalFilename: string;
@@ -6366,10 +7237,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6366
7237
  filename: string;
6367
7238
  originalFilename: string;
6368
7239
  }[] | undefined> | undefined;
7240
+ originalActionId?: string | undefined;
7241
+ registrationNumber?: string | undefined;
7242
+ keepAssignment?: boolean | undefined;
6369
7243
  }>, z.ZodObject<z.objectUtil.extendShape<{
6370
7244
  eventId: z.ZodString;
6371
7245
  transactionId: z.ZodString;
6372
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7246
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6373
7247
  filename: z.ZodString;
6374
7248
  originalFilename: z.ZodString;
6375
7249
  type: z.ZodString;
@@ -6482,8 +7356,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6482
7356
  addressLine2?: string | null | undefined;
6483
7357
  addressLine3?: string | null | undefined;
6484
7358
  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<{
7359
+ }>]>>>;
7360
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6487
7361
  filename: z.ZodString;
6488
7362
  originalFilename: z.ZodString;
6489
7363
  type: z.ZodString;
@@ -6597,11 +7471,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6597
7471
  addressLine3?: string | null | undefined;
6598
7472
  postcodeOrZip?: string | null | undefined;
6599
7473
  }>]>>>;
7474
+ originalActionId: z.ZodOptional<z.ZodString>;
7475
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6600
7476
  }, {
6601
7477
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
6602
7478
  }>, "strip", z.ZodTypeAny, {
6603
7479
  type: "NOTIFY";
6604
- data: Record<string, string | number | boolean | {
7480
+ declaration: Record<string, string | number | boolean | {
6605
7481
  type: string;
6606
7482
  filename: string;
6607
7483
  originalFilename: string;
@@ -6641,7 +7517,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6641
7517
  }[] | undefined>;
6642
7518
  eventId: string;
6643
7519
  transactionId: string;
6644
- metadata?: Record<string, string | number | boolean | {
7520
+ annotation?: Record<string, string | number | boolean | {
6645
7521
  type: string;
6646
7522
  filename: string;
6647
7523
  originalFilename: string;
@@ -6679,8 +7555,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6679
7555
  filename: string;
6680
7556
  originalFilename: string;
6681
7557
  }[] | undefined> | undefined;
7558
+ originalActionId?: string | undefined;
7559
+ keepAssignment?: boolean | undefined;
6682
7560
  }, {
6683
- data: Record<string, string | number | boolean | {
7561
+ eventId: string;
7562
+ transactionId: string;
7563
+ type?: "NOTIFY" | undefined;
7564
+ declaration?: Record<string, string | number | boolean | {
6684
7565
  type: string;
6685
7566
  filename: string;
6686
7567
  originalFilename: string;
@@ -6717,11 +7598,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6717
7598
  option: string;
6718
7599
  filename: string;
6719
7600
  originalFilename: string;
6720
- }[] | undefined>;
6721
- eventId: string;
6722
- transactionId: string;
6723
- type?: "NOTIFY" | undefined;
6724
- metadata?: Record<string, string | number | boolean | {
7601
+ }[] | undefined> | undefined;
7602
+ annotation?: Record<string, string | number | boolean | {
6725
7603
  type: string;
6726
7604
  filename: string;
6727
7605
  originalFilename: string;
@@ -6759,10 +7637,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6759
7637
  filename: string;
6760
7638
  originalFilename: string;
6761
7639
  }[] | undefined> | undefined;
7640
+ originalActionId?: string | undefined;
7641
+ keepAssignment?: boolean | undefined;
6762
7642
  }>, z.ZodObject<z.objectUtil.extendShape<{
6763
7643
  eventId: z.ZodString;
6764
7644
  transactionId: z.ZodString;
6765
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7645
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6766
7646
  filename: z.ZodString;
6767
7647
  originalFilename: z.ZodString;
6768
7648
  type: z.ZodString;
@@ -6875,8 +7755,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6875
7755
  addressLine2?: string | null | undefined;
6876
7756
  addressLine3?: string | null | undefined;
6877
7757
  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<{
7758
+ }>]>>>;
7759
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6880
7760
  filename: z.ZodString;
6881
7761
  originalFilename: z.ZodString;
6882
7762
  type: z.ZodString;
@@ -6990,11 +7870,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6990
7870
  addressLine3?: string | null | undefined;
6991
7871
  postcodeOrZip?: string | null | undefined;
6992
7872
  }>]>>>;
7873
+ originalActionId: z.ZodOptional<z.ZodString>;
7874
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
6993
7875
  }, {
6994
7876
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
6995
7877
  }>, "strip", z.ZodTypeAny, {
6996
7878
  type: "DECLARE";
6997
- data: Record<string, string | number | boolean | {
7879
+ declaration: Record<string, string | number | boolean | {
6998
7880
  type: string;
6999
7881
  filename: string;
7000
7882
  originalFilename: string;
@@ -7034,7 +7916,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7034
7916
  }[] | undefined>;
7035
7917
  eventId: string;
7036
7918
  transactionId: string;
7037
- metadata?: Record<string, string | number | boolean | {
7919
+ annotation?: Record<string, string | number | boolean | {
7038
7920
  type: string;
7039
7921
  filename: string;
7040
7922
  originalFilename: string;
@@ -7072,8 +7954,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7072
7954
  filename: string;
7073
7955
  originalFilename: string;
7074
7956
  }[] | undefined> | undefined;
7957
+ originalActionId?: string | undefined;
7958
+ keepAssignment?: boolean | undefined;
7075
7959
  }, {
7076
- data: Record<string, string | number | boolean | {
7960
+ eventId: string;
7961
+ transactionId: string;
7962
+ type?: "DECLARE" | undefined;
7963
+ declaration?: Record<string, string | number | boolean | {
7077
7964
  type: string;
7078
7965
  filename: string;
7079
7966
  originalFilename: string;
@@ -7110,11 +7997,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7110
7997
  option: string;
7111
7998
  filename: string;
7112
7999
  originalFilename: string;
7113
- }[] | undefined>;
7114
- eventId: string;
7115
- transactionId: string;
7116
- type?: "DECLARE" | undefined;
7117
- metadata?: Record<string, string | number | boolean | {
8000
+ }[] | undefined> | undefined;
8001
+ annotation?: Record<string, string | number | boolean | {
7118
8002
  type: string;
7119
8003
  filename: string;
7120
8004
  originalFilename: string;
@@ -7152,10 +8036,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7152
8036
  filename: string;
7153
8037
  originalFilename: string;
7154
8038
  }[] | undefined> | undefined;
8039
+ originalActionId?: string | undefined;
8040
+ keepAssignment?: boolean | undefined;
7155
8041
  }>, z.ZodObject<z.objectUtil.extendShape<{
7156
8042
  eventId: z.ZodString;
7157
8043
  transactionId: z.ZodString;
7158
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8044
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7159
8045
  filename: z.ZodString;
7160
8046
  originalFilename: z.ZodString;
7161
8047
  type: z.ZodString;
@@ -7268,8 +8154,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
8154
  addressLine2?: string | null | undefined;
7269
8155
  addressLine3?: string | null | undefined;
7270
8156
  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<{
8157
+ }>]>>>;
8158
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7273
8159
  filename: z.ZodString;
7274
8160
  originalFilename: z.ZodString;
7275
8161
  type: z.ZodString;
@@ -7383,11 +8269,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7383
8269
  addressLine3?: string | null | undefined;
7384
8270
  postcodeOrZip?: string | null | undefined;
7385
8271
  }>]>>>;
8272
+ originalActionId: z.ZodOptional<z.ZodString>;
8273
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7386
8274
  }, {
7387
8275
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
7388
8276
  }>, "strip", z.ZodTypeAny, {
7389
8277
  type: "REJECT";
7390
- data: Record<string, string | number | boolean | {
8278
+ declaration: Record<string, string | number | boolean | {
7391
8279
  type: string;
7392
8280
  filename: string;
7393
8281
  originalFilename: string;
@@ -7427,7 +8315,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7427
8315
  }[] | undefined>;
7428
8316
  eventId: string;
7429
8317
  transactionId: string;
7430
- metadata?: Record<string, string | number | boolean | {
8318
+ annotation?: Record<string, string | number | boolean | {
7431
8319
  type: string;
7432
8320
  filename: string;
7433
8321
  originalFilename: string;
@@ -7465,8 +8353,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7465
8353
  filename: string;
7466
8354
  originalFilename: string;
7467
8355
  }[] | undefined> | undefined;
8356
+ originalActionId?: string | undefined;
8357
+ keepAssignment?: boolean | undefined;
7468
8358
  }, {
7469
- data: Record<string, string | number | boolean | {
8359
+ eventId: string;
8360
+ transactionId: string;
8361
+ type?: "REJECT" | undefined;
8362
+ declaration?: Record<string, string | number | boolean | {
7470
8363
  type: string;
7471
8364
  filename: string;
7472
8365
  originalFilename: string;
@@ -7503,11 +8396,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7503
8396
  option: string;
7504
8397
  filename: string;
7505
8398
  originalFilename: string;
7506
- }[] | undefined>;
7507
- eventId: string;
7508
- transactionId: string;
7509
- type?: "REJECT" | undefined;
7510
- metadata?: Record<string, string | number | boolean | {
8399
+ }[] | undefined> | undefined;
8400
+ annotation?: Record<string, string | number | boolean | {
7511
8401
  type: string;
7512
8402
  filename: string;
7513
8403
  originalFilename: string;
@@ -7545,10 +8435,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7545
8435
  filename: string;
7546
8436
  originalFilename: string;
7547
8437
  }[] | undefined> | undefined;
8438
+ originalActionId?: string | undefined;
8439
+ keepAssignment?: boolean | undefined;
7548
8440
  }>, z.ZodObject<z.objectUtil.extendShape<{
7549
8441
  eventId: z.ZodString;
7550
8442
  transactionId: z.ZodString;
7551
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8443
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7552
8444
  filename: z.ZodString;
7553
8445
  originalFilename: z.ZodString;
7554
8446
  type: z.ZodString;
@@ -7661,8 +8553,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7661
8553
  addressLine2?: string | null | undefined;
7662
8554
  addressLine3?: string | null | undefined;
7663
8555
  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<{
8556
+ }>]>>>;
8557
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7666
8558
  filename: z.ZodString;
7667
8559
  originalFilename: z.ZodString;
7668
8560
  type: z.ZodString;
@@ -7776,11 +8668,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7776
8668
  addressLine3?: string | null | undefined;
7777
8669
  postcodeOrZip?: string | null | undefined;
7778
8670
  }>]>>>;
8671
+ originalActionId: z.ZodOptional<z.ZodString>;
8672
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
7779
8673
  }, {
7780
8674
  type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
7781
8675
  }>, "strip", z.ZodTypeAny, {
7782
8676
  type: "MARKED_AS_DUPLICATE";
7783
- data: Record<string, string | number | boolean | {
8677
+ declaration: Record<string, string | number | boolean | {
7784
8678
  type: string;
7785
8679
  filename: string;
7786
8680
  originalFilename: string;
@@ -7820,7 +8714,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7820
8714
  }[] | undefined>;
7821
8715
  eventId: string;
7822
8716
  transactionId: string;
7823
- metadata?: Record<string, string | number | boolean | {
8717
+ annotation?: Record<string, string | number | boolean | {
7824
8718
  type: string;
7825
8719
  filename: string;
7826
8720
  originalFilename: string;
@@ -7858,8 +8752,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7858
8752
  filename: string;
7859
8753
  originalFilename: string;
7860
8754
  }[] | undefined> | undefined;
8755
+ originalActionId?: string | undefined;
8756
+ keepAssignment?: boolean | undefined;
7861
8757
  }, {
7862
- data: Record<string, string | number | boolean | {
8758
+ eventId: string;
8759
+ transactionId: string;
8760
+ type?: "MARKED_AS_DUPLICATE" | undefined;
8761
+ declaration?: Record<string, string | number | boolean | {
7863
8762
  type: string;
7864
8763
  filename: string;
7865
8764
  originalFilename: string;
@@ -7896,11 +8795,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7896
8795
  option: string;
7897
8796
  filename: string;
7898
8797
  originalFilename: string;
7899
- }[] | undefined>;
7900
- eventId: string;
7901
- transactionId: string;
7902
- type?: "MARKED_AS_DUPLICATE" | undefined;
7903
- metadata?: Record<string, string | number | boolean | {
8798
+ }[] | undefined> | undefined;
8799
+ annotation?: Record<string, string | number | boolean | {
7904
8800
  type: string;
7905
8801
  filename: string;
7906
8802
  originalFilename: string;
@@ -7938,10 +8834,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7938
8834
  filename: string;
7939
8835
  originalFilename: string;
7940
8836
  }[] | undefined> | undefined;
8837
+ originalActionId?: string | undefined;
8838
+ keepAssignment?: boolean | undefined;
7941
8839
  }>, z.ZodObject<z.objectUtil.extendShape<{
7942
8840
  eventId: z.ZodString;
7943
8841
  transactionId: z.ZodString;
7944
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8842
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7945
8843
  filename: z.ZodString;
7946
8844
  originalFilename: z.ZodString;
7947
8845
  type: z.ZodString;
@@ -8054,8 +8952,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8054
8952
  addressLine2?: string | null | undefined;
8055
8953
  addressLine3?: string | null | undefined;
8056
8954
  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<{
8955
+ }>]>>>;
8956
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8059
8957
  filename: z.ZodString;
8060
8958
  originalFilename: z.ZodString;
8061
8959
  type: z.ZodString;
@@ -8169,11 +9067,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8169
9067
  addressLine3?: string | null | undefined;
8170
9068
  postcodeOrZip?: string | null | undefined;
8171
9069
  }>]>>>;
9070
+ originalActionId: z.ZodOptional<z.ZodString>;
9071
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8172
9072
  }, {
8173
9073
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
8174
9074
  }>, "strip", z.ZodTypeAny, {
8175
9075
  type: "ARCHIVE";
8176
- data: Record<string, string | number | boolean | {
9076
+ declaration: Record<string, string | number | boolean | {
8177
9077
  type: string;
8178
9078
  filename: string;
8179
9079
  originalFilename: string;
@@ -8213,7 +9113,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8213
9113
  }[] | undefined>;
8214
9114
  eventId: string;
8215
9115
  transactionId: string;
8216
- metadata?: Record<string, string | number | boolean | {
9116
+ annotation?: Record<string, string | number | boolean | {
8217
9117
  type: string;
8218
9118
  filename: string;
8219
9119
  originalFilename: string;
@@ -8251,8 +9151,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8251
9151
  filename: string;
8252
9152
  originalFilename: string;
8253
9153
  }[] | undefined> | undefined;
9154
+ originalActionId?: string | undefined;
9155
+ keepAssignment?: boolean | undefined;
8254
9156
  }, {
8255
- data: Record<string, string | number | boolean | {
9157
+ eventId: string;
9158
+ transactionId: string;
9159
+ type?: "ARCHIVE" | undefined;
9160
+ declaration?: Record<string, string | number | boolean | {
8256
9161
  type: string;
8257
9162
  filename: string;
8258
9163
  originalFilename: string;
@@ -8289,11 +9194,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8289
9194
  option: string;
8290
9195
  filename: string;
8291
9196
  originalFilename: string;
8292
- }[] | undefined>;
8293
- eventId: string;
8294
- transactionId: string;
8295
- type?: "ARCHIVE" | undefined;
8296
- metadata?: Record<string, string | number | boolean | {
9197
+ }[] | undefined> | undefined;
9198
+ annotation?: Record<string, string | number | boolean | {
8297
9199
  type: string;
8298
9200
  filename: string;
8299
9201
  originalFilename: string;
@@ -8331,10 +9233,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8331
9233
  filename: string;
8332
9234
  originalFilename: string;
8333
9235
  }[] | undefined> | undefined;
9236
+ originalActionId?: string | undefined;
9237
+ keepAssignment?: boolean | undefined;
8334
9238
  }>, z.ZodObject<z.objectUtil.extendShape<{
8335
9239
  eventId: z.ZodString;
8336
9240
  transactionId: z.ZodString;
8337
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9241
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8338
9242
  filename: z.ZodString;
8339
9243
  originalFilename: z.ZodString;
8340
9244
  type: z.ZodString;
@@ -8447,8 +9351,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8447
9351
  addressLine2?: string | null | undefined;
8448
9352
  addressLine3?: string | null | undefined;
8449
9353
  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<{
9354
+ }>]>>>;
9355
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8452
9356
  filename: z.ZodString;
8453
9357
  originalFilename: z.ZodString;
8454
9358
  type: z.ZodString;
@@ -8562,12 +9466,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8562
9466
  addressLine3?: string | null | undefined;
8563
9467
  postcodeOrZip?: string | null | undefined;
8564
9468
  }>]>>>;
9469
+ originalActionId: z.ZodOptional<z.ZodString>;
9470
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8565
9471
  }, {
8566
9472
  type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
8567
9473
  assignedTo: z.ZodString;
8568
9474
  }>, "strip", z.ZodTypeAny, {
8569
9475
  type: "ASSIGN";
8570
- data: Record<string, string | number | boolean | {
9476
+ declaration: Record<string, string | number | boolean | {
8571
9477
  type: string;
8572
9478
  filename: string;
8573
9479
  originalFilename: string;
@@ -8608,7 +9514,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8608
9514
  assignedTo: string;
8609
9515
  eventId: string;
8610
9516
  transactionId: string;
8611
- metadata?: Record<string, string | number | boolean | {
9517
+ annotation?: Record<string, string | number | boolean | {
8612
9518
  type: string;
8613
9519
  filename: string;
8614
9520
  originalFilename: string;
@@ -8646,8 +9552,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8646
9552
  filename: string;
8647
9553
  originalFilename: string;
8648
9554
  }[] | undefined> | undefined;
9555
+ originalActionId?: string | undefined;
9556
+ keepAssignment?: boolean | undefined;
8649
9557
  }, {
8650
- data: Record<string, string | number | boolean | {
9558
+ assignedTo: string;
9559
+ eventId: string;
9560
+ transactionId: string;
9561
+ type?: "ASSIGN" | undefined;
9562
+ declaration?: Record<string, string | number | boolean | {
8651
9563
  type: string;
8652
9564
  filename: string;
8653
9565
  originalFilename: string;
@@ -8684,12 +9596,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8684
9596
  option: string;
8685
9597
  filename: string;
8686
9598
  originalFilename: string;
8687
- }[] | undefined>;
8688
- assignedTo: string;
8689
- eventId: string;
8690
- transactionId: string;
8691
- type?: "ASSIGN" | undefined;
8692
- metadata?: Record<string, string | number | boolean | {
9599
+ }[] | undefined> | undefined;
9600
+ annotation?: Record<string, string | number | boolean | {
8693
9601
  type: string;
8694
9602
  filename: string;
8695
9603
  originalFilename: string;
@@ -8727,10 +9635,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8727
9635
  filename: string;
8728
9636
  originalFilename: string;
8729
9637
  }[] | undefined> | undefined;
9638
+ originalActionId?: string | undefined;
9639
+ keepAssignment?: boolean | undefined;
8730
9640
  }>, z.ZodObject<z.objectUtil.extendShape<{
8731
9641
  eventId: z.ZodString;
8732
9642
  transactionId: z.ZodString;
8733
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9643
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8734
9644
  filename: z.ZodString;
8735
9645
  originalFilename: z.ZodString;
8736
9646
  type: z.ZodString;
@@ -8843,8 +9753,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8843
9753
  addressLine2?: string | null | undefined;
8844
9754
  addressLine3?: string | null | undefined;
8845
9755
  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<{
9756
+ }>]>>>;
9757
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8848
9758
  filename: z.ZodString;
8849
9759
  originalFilename: z.ZodString;
8850
9760
  type: z.ZodString;
@@ -8958,11 +9868,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8958
9868
  addressLine3?: string | null | undefined;
8959
9869
  postcodeOrZip?: string | null | undefined;
8960
9870
  }>]>>>;
9871
+ originalActionId: z.ZodOptional<z.ZodString>;
9872
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
8961
9873
  }, {
8962
9874
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
9875
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
8963
9876
  }>, "strip", z.ZodTypeAny, {
8964
9877
  type: "UNASSIGN";
8965
- data: Record<string, string | number | boolean | {
9878
+ declaration: Record<string, string | number | boolean | {
8966
9879
  type: string;
8967
9880
  filename: string;
8968
9881
  originalFilename: string;
@@ -9000,9 +9913,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9000
9913
  filename: string;
9001
9914
  originalFilename: string;
9002
9915
  }[] | undefined>;
9916
+ assignedTo: null;
9003
9917
  eventId: string;
9004
9918
  transactionId: string;
9005
- metadata?: Record<string, string | number | boolean | {
9919
+ annotation?: Record<string, string | number | boolean | {
9006
9920
  type: string;
9007
9921
  filename: string;
9008
9922
  originalFilename: string;
@@ -9040,8 +9954,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9040
9954
  filename: string;
9041
9955
  originalFilename: string;
9042
9956
  }[] | undefined> | undefined;
9957
+ originalActionId?: string | undefined;
9958
+ keepAssignment?: boolean | undefined;
9043
9959
  }, {
9044
- data: Record<string, string | number | boolean | {
9960
+ eventId: string;
9961
+ transactionId: string;
9962
+ type?: "UNASSIGN" | undefined;
9963
+ declaration?: Record<string, string | number | boolean | {
9045
9964
  type: string;
9046
9965
  filename: string;
9047
9966
  originalFilename: string;
@@ -9078,11 +9997,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9078
9997
  option: string;
9079
9998
  filename: string;
9080
9999
  originalFilename: string;
9081
- }[] | undefined>;
9082
- eventId: string;
9083
- transactionId: string;
9084
- type?: "UNASSIGN" | undefined;
9085
- metadata?: Record<string, string | number | boolean | {
10000
+ }[] | undefined> | undefined;
10001
+ annotation?: Record<string, string | number | boolean | {
9086
10002
  type: string;
9087
10003
  filename: string;
9088
10004
  originalFilename: string;
@@ -9120,10 +10036,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9120
10036
  filename: string;
9121
10037
  originalFilename: string;
9122
10038
  }[] | undefined> | undefined;
10039
+ originalActionId?: string | undefined;
10040
+ assignedTo?: null | undefined;
10041
+ keepAssignment?: boolean | undefined;
9123
10042
  }>, z.ZodObject<z.objectUtil.extendShape<{
9124
10043
  eventId: z.ZodString;
9125
10044
  transactionId: z.ZodString;
9126
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10045
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9127
10046
  filename: z.ZodString;
9128
10047
  originalFilename: z.ZodString;
9129
10048
  type: z.ZodString;
@@ -9236,8 +10155,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9236
10155
  addressLine2?: string | null | undefined;
9237
10156
  addressLine3?: string | null | undefined;
9238
10157
  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<{
10158
+ }>]>>>;
10159
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9241
10160
  filename: z.ZodString;
9242
10161
  originalFilename: z.ZodString;
9243
10162
  type: z.ZodString;
@@ -9351,11 +10270,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9351
10270
  addressLine3?: string | null | undefined;
9352
10271
  postcodeOrZip?: string | null | undefined;
9353
10272
  }>]>>>;
10273
+ originalActionId: z.ZodOptional<z.ZodString>;
10274
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9354
10275
  }, {
9355
10276
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
9356
10277
  }>, "strip", z.ZodTypeAny, {
9357
10278
  type: "PRINT_CERTIFICATE";
9358
- data: Record<string, string | number | boolean | {
10279
+ declaration: Record<string, string | number | boolean | {
9359
10280
  type: string;
9360
10281
  filename: string;
9361
10282
  originalFilename: string;
@@ -9395,7 +10316,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9395
10316
  }[] | undefined>;
9396
10317
  eventId: string;
9397
10318
  transactionId: string;
9398
- metadata?: Record<string, string | number | boolean | {
10319
+ annotation?: Record<string, string | number | boolean | {
9399
10320
  type: string;
9400
10321
  filename: string;
9401
10322
  originalFilename: string;
@@ -9433,8 +10354,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9433
10354
  filename: string;
9434
10355
  originalFilename: string;
9435
10356
  }[] | undefined> | undefined;
10357
+ originalActionId?: string | undefined;
10358
+ keepAssignment?: boolean | undefined;
9436
10359
  }, {
9437
- data: Record<string, string | number | boolean | {
10360
+ eventId: string;
10361
+ transactionId: string;
10362
+ type?: "PRINT_CERTIFICATE" | undefined;
10363
+ declaration?: Record<string, string | number | boolean | {
9438
10364
  type: string;
9439
10365
  filename: string;
9440
10366
  originalFilename: string;
@@ -9471,11 +10397,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9471
10397
  option: string;
9472
10398
  filename: string;
9473
10399
  originalFilename: string;
9474
- }[] | undefined>;
9475
- eventId: string;
9476
- transactionId: string;
9477
- type?: "PRINT_CERTIFICATE" | undefined;
9478
- metadata?: Record<string, string | number | boolean | {
10400
+ }[] | undefined> | undefined;
10401
+ annotation?: Record<string, string | number | boolean | {
9479
10402
  type: string;
9480
10403
  filename: string;
9481
10404
  originalFilename: string;
@@ -9513,10 +10436,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9513
10436
  filename: string;
9514
10437
  originalFilename: string;
9515
10438
  }[] | undefined> | undefined;
10439
+ originalActionId?: string | undefined;
10440
+ keepAssignment?: boolean | undefined;
9516
10441
  }>, z.ZodObject<z.objectUtil.extendShape<{
9517
10442
  eventId: z.ZodString;
9518
10443
  transactionId: z.ZodString;
9519
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10444
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9520
10445
  filename: z.ZodString;
9521
10446
  originalFilename: z.ZodString;
9522
10447
  type: z.ZodString;
@@ -9629,8 +10554,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9629
10554
  addressLine2?: string | null | undefined;
9630
10555
  addressLine3?: string | null | undefined;
9631
10556
  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<{
10557
+ }>]>>>;
10558
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9634
10559
  filename: z.ZodString;
9635
10560
  originalFilename: z.ZodString;
9636
10561
  type: z.ZodString;
@@ -9744,11 +10669,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9744
10669
  addressLine3?: string | null | undefined;
9745
10670
  postcodeOrZip?: string | null | undefined;
9746
10671
  }>]>>>;
10672
+ originalActionId: z.ZodOptional<z.ZodString>;
10673
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9747
10674
  }, {
9748
10675
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
9749
10676
  }>, "strip", z.ZodTypeAny, {
9750
10677
  type: "REQUEST_CORRECTION";
9751
- data: Record<string, string | number | boolean | {
10678
+ declaration: Record<string, string | number | boolean | {
9752
10679
  type: string;
9753
10680
  filename: string;
9754
10681
  originalFilename: string;
@@ -9788,7 +10715,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9788
10715
  }[] | undefined>;
9789
10716
  eventId: string;
9790
10717
  transactionId: string;
9791
- metadata?: Record<string, string | number | boolean | {
10718
+ annotation?: Record<string, string | number | boolean | {
9792
10719
  type: string;
9793
10720
  filename: string;
9794
10721
  originalFilename: string;
@@ -9826,8 +10753,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9826
10753
  filename: string;
9827
10754
  originalFilename: string;
9828
10755
  }[] | undefined> | undefined;
10756
+ originalActionId?: string | undefined;
10757
+ keepAssignment?: boolean | undefined;
9829
10758
  }, {
9830
- data: Record<string, string | number | boolean | {
10759
+ eventId: string;
10760
+ transactionId: string;
10761
+ type?: "REQUEST_CORRECTION" | undefined;
10762
+ declaration?: Record<string, string | number | boolean | {
9831
10763
  type: string;
9832
10764
  filename: string;
9833
10765
  originalFilename: string;
@@ -9864,11 +10796,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9864
10796
  option: string;
9865
10797
  filename: string;
9866
10798
  originalFilename: string;
9867
- }[] | undefined>;
9868
- eventId: string;
9869
- transactionId: string;
9870
- type?: "REQUEST_CORRECTION" | undefined;
9871
- metadata?: Record<string, string | number | boolean | {
10799
+ }[] | undefined> | undefined;
10800
+ annotation?: Record<string, string | number | boolean | {
9872
10801
  type: string;
9873
10802
  filename: string;
9874
10803
  originalFilename: string;
@@ -9906,10 +10835,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9906
10835
  filename: string;
9907
10836
  originalFilename: string;
9908
10837
  }[] | undefined> | undefined;
10838
+ originalActionId?: string | undefined;
10839
+ keepAssignment?: boolean | undefined;
9909
10840
  }>, z.ZodObject<z.objectUtil.extendShape<{
9910
10841
  eventId: z.ZodString;
9911
10842
  transactionId: z.ZodString;
9912
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10843
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9913
10844
  filename: z.ZodString;
9914
10845
  originalFilename: z.ZodString;
9915
10846
  type: z.ZodString;
@@ -10022,8 +10953,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10022
10953
  addressLine2?: string | null | undefined;
10023
10954
  addressLine3?: string | null | undefined;
10024
10955
  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<{
10956
+ }>]>>>;
10957
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10027
10958
  filename: z.ZodString;
10028
10959
  originalFilename: z.ZodString;
10029
10960
  type: z.ZodString;
@@ -10137,12 +11068,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10137
11068
  addressLine3?: string | null | undefined;
10138
11069
  postcodeOrZip?: string | null | undefined;
10139
11070
  }>]>>>;
11071
+ originalActionId: z.ZodOptional<z.ZodString>;
11072
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10140
11073
  }, {
10141
11074
  requestId: z.ZodString;
10142
11075
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
10143
11076
  }>, "strip", z.ZodTypeAny, {
10144
11077
  type: "REJECT_CORRECTION";
10145
- data: Record<string, string | number | boolean | {
11078
+ declaration: Record<string, string | number | boolean | {
10146
11079
  type: string;
10147
11080
  filename: string;
10148
11081
  originalFilename: string;
@@ -10183,7 +11116,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10183
11116
  requestId: string;
10184
11117
  eventId: string;
10185
11118
  transactionId: string;
10186
- metadata?: Record<string, string | number | boolean | {
11119
+ annotation?: Record<string, string | number | boolean | {
10187
11120
  type: string;
10188
11121
  filename: string;
10189
11122
  originalFilename: string;
@@ -10221,8 +11154,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10221
11154
  filename: string;
10222
11155
  originalFilename: string;
10223
11156
  }[] | undefined> | undefined;
11157
+ originalActionId?: string | undefined;
11158
+ keepAssignment?: boolean | undefined;
10224
11159
  }, {
10225
- data: Record<string, string | number | boolean | {
11160
+ requestId: string;
11161
+ eventId: string;
11162
+ transactionId: string;
11163
+ type?: "REJECT_CORRECTION" | undefined;
11164
+ declaration?: Record<string, string | number | boolean | {
10226
11165
  type: string;
10227
11166
  filename: string;
10228
11167
  originalFilename: string;
@@ -10259,12 +11198,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10259
11198
  option: string;
10260
11199
  filename: string;
10261
11200
  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 | {
11201
+ }[] | undefined> | undefined;
11202
+ annotation?: Record<string, string | number | boolean | {
10268
11203
  type: string;
10269
11204
  filename: string;
10270
11205
  originalFilename: string;
@@ -10302,10 +11237,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10302
11237
  filename: string;
10303
11238
  originalFilename: string;
10304
11239
  }[] | undefined> | undefined;
11240
+ originalActionId?: string | undefined;
11241
+ keepAssignment?: boolean | undefined;
10305
11242
  }>, z.ZodObject<z.objectUtil.extendShape<{
10306
11243
  eventId: z.ZodString;
10307
11244
  transactionId: z.ZodString;
10308
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11245
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10309
11246
  filename: z.ZodString;
10310
11247
  originalFilename: z.ZodString;
10311
11248
  type: z.ZodString;
@@ -10418,8 +11355,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10418
11355
  addressLine2?: string | null | undefined;
10419
11356
  addressLine3?: string | null | undefined;
10420
11357
  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<{
11358
+ }>]>>>;
11359
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10423
11360
  filename: z.ZodString;
10424
11361
  originalFilename: z.ZodString;
10425
11362
  type: z.ZodString;
@@ -10533,12 +11470,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10533
11470
  addressLine3?: string | null | undefined;
10534
11471
  postcodeOrZip?: string | null | undefined;
10535
11472
  }>]>>>;
11473
+ originalActionId: z.ZodOptional<z.ZodString>;
11474
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10536
11475
  }, {
10537
11476
  requestId: z.ZodString;
10538
11477
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
10539
11478
  }>, "strip", z.ZodTypeAny, {
10540
11479
  type: "APPROVE_CORRECTION";
10541
- data: Record<string, string | number | boolean | {
11480
+ declaration: Record<string, string | number | boolean | {
10542
11481
  type: string;
10543
11482
  filename: string;
10544
11483
  originalFilename: string;
@@ -10579,7 +11518,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10579
11518
  requestId: string;
10580
11519
  eventId: string;
10581
11520
  transactionId: string;
10582
- metadata?: Record<string, string | number | boolean | {
11521
+ annotation?: Record<string, string | number | boolean | {
10583
11522
  type: string;
10584
11523
  filename: string;
10585
11524
  originalFilename: string;
@@ -10617,8 +11556,14 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10617
11556
  filename: string;
10618
11557
  originalFilename: string;
10619
11558
  }[] | undefined> | undefined;
11559
+ originalActionId?: string | undefined;
11560
+ keepAssignment?: boolean | undefined;
10620
11561
  }, {
10621
- data: Record<string, string | number | boolean | {
11562
+ requestId: string;
11563
+ eventId: string;
11564
+ transactionId: string;
11565
+ type?: "APPROVE_CORRECTION" | undefined;
11566
+ declaration?: Record<string, string | number | boolean | {
10622
11567
  type: string;
10623
11568
  filename: string;
10624
11569
  originalFilename: string;
@@ -10655,12 +11600,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10655
11600
  option: string;
10656
11601
  filename: string;
10657
11602
  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 | {
11603
+ }[] | undefined> | undefined;
11604
+ annotation?: Record<string, string | number | boolean | {
10664
11605
  type: string;
10665
11606
  filename: string;
10666
11607
  originalFilename: string;
@@ -10698,10 +11639,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10698
11639
  filename: string;
10699
11640
  originalFilename: string;
10700
11641
  }[] | undefined> | undefined;
11642
+ originalActionId?: string | undefined;
11643
+ keepAssignment?: boolean | undefined;
10701
11644
  }>, z.ZodObject<z.objectUtil.extendShape<{
10702
11645
  eventId: z.ZodString;
10703
11646
  transactionId: z.ZodString;
10704
- data: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11647
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10705
11648
  filename: z.ZodString;
10706
11649
  originalFilename: z.ZodString;
10707
11650
  type: z.ZodString;
@@ -10814,8 +11757,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10814
11757
  addressLine2?: string | null | undefined;
10815
11758
  addressLine3?: string | null | undefined;
10816
11759
  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<{
11760
+ }>]>>>;
11761
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10819
11762
  filename: z.ZodString;
10820
11763
  originalFilename: z.ZodString;
10821
11764
  type: z.ZodString;
@@ -10929,11 +11872,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10929
11872
  addressLine3?: string | null | undefined;
10930
11873
  postcodeOrZip?: string | null | undefined;
10931
11874
  }>]>>>;
11875
+ originalActionId: z.ZodOptional<z.ZodString>;
11876
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
10932
11877
  }, {
10933
11878
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
10934
11879
  }>, "strip", z.ZodTypeAny, {
10935
11880
  type: "READ";
10936
- data: Record<string, string | number | boolean | {
11881
+ declaration: Record<string, string | number | boolean | {
10937
11882
  type: string;
10938
11883
  filename: string;
10939
11884
  originalFilename: string;
@@ -10973,7 +11918,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10973
11918
  }[] | undefined>;
10974
11919
  eventId: string;
10975
11920
  transactionId: string;
10976
- metadata?: Record<string, string | number | boolean | {
11921
+ annotation?: Record<string, string | number | boolean | {
10977
11922
  type: string;
10978
11923
  filename: string;
10979
11924
  originalFilename: string;
@@ -11011,8 +11956,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11011
11956
  filename: string;
11012
11957
  originalFilename: string;
11013
11958
  }[] | undefined> | undefined;
11959
+ originalActionId?: string | undefined;
11960
+ keepAssignment?: boolean | undefined;
11014
11961
  }, {
11015
- data: Record<string, string | number | boolean | {
11962
+ eventId: string;
11963
+ transactionId: string;
11964
+ type?: "READ" | undefined;
11965
+ declaration?: Record<string, string | number | boolean | {
11016
11966
  type: string;
11017
11967
  filename: string;
11018
11968
  originalFilename: string;
@@ -11049,11 +11999,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11049
11999
  option: string;
11050
12000
  filename: string;
11051
12001
  originalFilename: string;
11052
- }[] | undefined>;
11053
- eventId: string;
11054
- transactionId: string;
11055
- type?: "READ" | undefined;
11056
- metadata?: Record<string, string | number | boolean | {
12002
+ }[] | undefined> | undefined;
12003
+ annotation?: Record<string, string | number | boolean | {
11057
12004
  type: string;
11058
12005
  filename: string;
11059
12006
  originalFilename: string;
@@ -11091,6 +12038,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
11091
12038
  filename: string;
11092
12039
  originalFilename: string;
11093
12040
  }[] | undefined> | undefined;
12041
+ originalActionId?: string | undefined;
12042
+ keepAssignment?: boolean | undefined;
11094
12043
  }>]>;
11095
12044
  export type ActionInput = z.input<typeof ActionInput>;
11096
12045
  export type ActionInputWithType = z.infer<typeof ActionInput>;