@opencrvs/toolkit 1.8.0-rc.f9911ed → 1.8.0-rc.f9c5526
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.
- package/README.md +1 -1
- package/dist/commons/api/router.d.ts +6092 -14020
- package/dist/commons/conditionals/conditionals.d.ts +25 -3
- package/dist/commons/conditionals/validate.d.ts +14 -17
- package/dist/commons/events/ActionConfig.d.ts +1255 -6456
- package/dist/commons/events/ActionDocument.d.ts +7338 -244
- package/dist/commons/events/ActionInput.d.ts +2039 -392
- package/dist/commons/events/ActionType.d.ts +24 -16
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +49 -37
- package/dist/commons/events/EventConfig.d.ts +614 -2837
- package/dist/commons/events/EventConfigInput.d.ts +5 -2
- package/dist/commons/events/EventDocument.d.ts +695 -304
- package/dist/commons/events/EventIndex.d.ts +6 -3
- package/dist/commons/events/EventMetadata.d.ts +3 -0
- package/dist/commons/events/FieldConfig.d.ts +245 -45
- package/dist/commons/events/FormConfig.d.ts +520 -273
- package/dist/commons/events/PageConfig.d.ts +335 -0
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/defineConfig.d.ts +34 -411
- package/dist/commons/events/index.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +63 -284
- package/dist/commons/events/utils.d.ts +84 -153
- package/dist/conditionals/index.js +161 -93
- package/dist/events/index.js +1124 -806
- package/package.json +1 -1
@@ -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
|
-
|
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
|
-
|
118
|
+
}>]>>>;
|
119
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
120
120
|
filename: z.ZodString;
|
121
121
|
originalFilename: z.ZodString;
|
122
122
|
type: z.ZodString;
|
@@ -230,8 +230,9 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
230
230
|
addressLine3?: string | null | undefined;
|
231
231
|
postcodeOrZip?: string | null | undefined;
|
232
232
|
}>]>>>;
|
233
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
233
234
|
}, "strip", z.ZodTypeAny, {
|
234
|
-
|
235
|
+
declaration: Record<string, string | number | boolean | {
|
235
236
|
type: string;
|
236
237
|
filename: string;
|
237
238
|
originalFilename: string;
|
@@ -271,7 +272,7 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
271
272
|
}[] | undefined>;
|
272
273
|
eventId: string;
|
273
274
|
transactionId: string;
|
274
|
-
|
275
|
+
annotation?: Record<string, string | number | boolean | {
|
275
276
|
type: string;
|
276
277
|
filename: string;
|
277
278
|
originalFilename: string;
|
@@ -309,8 +310,11 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
309
310
|
filename: string;
|
310
311
|
originalFilename: string;
|
311
312
|
}[] | undefined> | undefined;
|
313
|
+
originalActionId?: string | undefined;
|
312
314
|
}, {
|
313
|
-
|
315
|
+
eventId: string;
|
316
|
+
transactionId: string;
|
317
|
+
declaration?: Record<string, string | number | boolean | {
|
314
318
|
type: string;
|
315
319
|
filename: string;
|
316
320
|
originalFilename: string;
|
@@ -347,10 +351,8 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
347
351
|
option: string;
|
348
352
|
filename: string;
|
349
353
|
originalFilename: string;
|
350
|
-
}[] | undefined
|
351
|
-
|
352
|
-
transactionId: string;
|
353
|
-
metadata?: Record<string, string | number | boolean | {
|
354
|
+
}[] | undefined> | undefined;
|
355
|
+
annotation?: Record<string, string | number | boolean | {
|
354
356
|
type: string;
|
355
357
|
filename: string;
|
356
358
|
originalFilename: string;
|
@@ -388,11 +390,12 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
388
390
|
filename: string;
|
389
391
|
originalFilename: string;
|
390
392
|
}[] | undefined> | undefined;
|
393
|
+
originalActionId?: string | undefined;
|
391
394
|
}>;
|
392
395
|
export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
393
396
|
eventId: z.ZodString;
|
394
397
|
transactionId: z.ZodString;
|
395
|
-
|
398
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
396
399
|
filename: z.ZodString;
|
397
400
|
originalFilename: z.ZodString;
|
398
401
|
type: z.ZodString;
|
@@ -505,8 +508,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
505
508
|
addressLine2?: string | null | undefined;
|
506
509
|
addressLine3?: string | null | undefined;
|
507
510
|
postcodeOrZip?: string | null | undefined;
|
508
|
-
}>]
|
509
|
-
|
511
|
+
}>]>>>;
|
512
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
510
513
|
filename: z.ZodString;
|
511
514
|
originalFilename: z.ZodString;
|
512
515
|
type: z.ZodString;
|
@@ -620,21 +623,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
620
623
|
addressLine3?: string | null | undefined;
|
621
624
|
postcodeOrZip?: string | null | undefined;
|
622
625
|
}>]>>>;
|
626
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
623
627
|
}, {
|
624
628
|
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
625
|
-
|
626
|
-
trackingId: z.ZodString;
|
627
|
-
registrationNumber: z.ZodString;
|
628
|
-
}, "strip", z.ZodTypeAny, {
|
629
|
-
trackingId: string;
|
630
|
-
registrationNumber: string;
|
631
|
-
}, {
|
632
|
-
trackingId: string;
|
633
|
-
registrationNumber: string;
|
634
|
-
}>;
|
629
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
635
630
|
}>, "strip", z.ZodTypeAny, {
|
636
631
|
type: "REGISTER";
|
637
|
-
|
632
|
+
declaration: Record<string, string | number | boolean | {
|
638
633
|
type: string;
|
639
634
|
filename: string;
|
640
635
|
originalFilename: string;
|
@@ -672,13 +667,9 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
672
667
|
filename: string;
|
673
668
|
originalFilename: string;
|
674
669
|
}[] | undefined>;
|
675
|
-
identifiers: {
|
676
|
-
trackingId: string;
|
677
|
-
registrationNumber: string;
|
678
|
-
};
|
679
670
|
eventId: string;
|
680
671
|
transactionId: string;
|
681
|
-
|
672
|
+
annotation?: Record<string, string | number | boolean | {
|
682
673
|
type: string;
|
683
674
|
filename: string;
|
684
675
|
originalFilename: string;
|
@@ -716,8 +707,13 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
716
707
|
filename: string;
|
717
708
|
originalFilename: string;
|
718
709
|
}[] | undefined> | undefined;
|
710
|
+
originalActionId?: string | undefined;
|
711
|
+
registrationNumber?: string | undefined;
|
719
712
|
}, {
|
720
|
-
|
713
|
+
eventId: string;
|
714
|
+
transactionId: string;
|
715
|
+
type?: "REGISTER" | undefined;
|
716
|
+
declaration?: Record<string, string | number | boolean | {
|
721
717
|
type: string;
|
722
718
|
filename: string;
|
723
719
|
originalFilename: string;
|
@@ -754,15 +750,8 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
754
750
|
option: string;
|
755
751
|
filename: string;
|
756
752
|
originalFilename: string;
|
757
|
-
}[] | undefined
|
758
|
-
|
759
|
-
trackingId: string;
|
760
|
-
registrationNumber: string;
|
761
|
-
};
|
762
|
-
eventId: string;
|
763
|
-
transactionId: string;
|
764
|
-
type?: "REGISTER" | undefined;
|
765
|
-
metadata?: Record<string, string | number | boolean | {
|
753
|
+
}[] | undefined> | undefined;
|
754
|
+
annotation?: Record<string, string | number | boolean | {
|
766
755
|
type: string;
|
767
756
|
filename: string;
|
768
757
|
originalFilename: string;
|
@@ -800,12 +789,14 @@ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
800
789
|
filename: string;
|
801
790
|
originalFilename: string;
|
802
791
|
}[] | undefined> | undefined;
|
792
|
+
originalActionId?: string | undefined;
|
793
|
+
registrationNumber?: string | undefined;
|
803
794
|
}>;
|
804
795
|
export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
|
805
796
|
export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
806
797
|
eventId: z.ZodString;
|
807
798
|
transactionId: z.ZodString;
|
808
|
-
|
799
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
809
800
|
filename: z.ZodString;
|
810
801
|
originalFilename: z.ZodString;
|
811
802
|
type: z.ZodString;
|
@@ -918,8 +909,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
918
909
|
addressLine2?: string | null | undefined;
|
919
910
|
addressLine3?: string | null | undefined;
|
920
911
|
postcodeOrZip?: string | null | undefined;
|
921
|
-
}>]
|
922
|
-
|
912
|
+
}>]>>>;
|
913
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
923
914
|
filename: z.ZodString;
|
924
915
|
originalFilename: z.ZodString;
|
925
916
|
type: z.ZodString;
|
@@ -1033,12 +1024,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1033
1024
|
addressLine3?: string | null | undefined;
|
1034
1025
|
postcodeOrZip?: string | null | undefined;
|
1035
1026
|
}>]>>>;
|
1027
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1036
1028
|
}, {
|
1037
1029
|
type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
|
1038
1030
|
duplicates: z.ZodArray<z.ZodString, "many">;
|
1039
1031
|
}>, "strip", z.ZodTypeAny, {
|
1040
1032
|
type: "VALIDATE";
|
1041
|
-
|
1033
|
+
declaration: Record<string, string | number | boolean | {
|
1042
1034
|
type: string;
|
1043
1035
|
filename: string;
|
1044
1036
|
originalFilename: string;
|
@@ -1079,7 +1071,7 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1079
1071
|
eventId: string;
|
1080
1072
|
transactionId: string;
|
1081
1073
|
duplicates: string[];
|
1082
|
-
|
1074
|
+
annotation?: Record<string, string | number | boolean | {
|
1083
1075
|
type: string;
|
1084
1076
|
filename: string;
|
1085
1077
|
originalFilename: string;
|
@@ -1117,8 +1109,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1117
1109
|
filename: string;
|
1118
1110
|
originalFilename: string;
|
1119
1111
|
}[] | undefined> | undefined;
|
1112
|
+
originalActionId?: string | undefined;
|
1120
1113
|
}, {
|
1121
|
-
|
1114
|
+
eventId: string;
|
1115
|
+
transactionId: string;
|
1116
|
+
duplicates: string[];
|
1117
|
+
type?: "VALIDATE" | undefined;
|
1118
|
+
declaration?: Record<string, string | number | boolean | {
|
1122
1119
|
type: string;
|
1123
1120
|
filename: string;
|
1124
1121
|
originalFilename: string;
|
@@ -1155,12 +1152,8 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1155
1152
|
option: string;
|
1156
1153
|
filename: string;
|
1157
1154
|
originalFilename: string;
|
1158
|
-
}[] | undefined
|
1159
|
-
|
1160
|
-
transactionId: string;
|
1161
|
-
duplicates: string[];
|
1162
|
-
type?: "VALIDATE" | undefined;
|
1163
|
-
metadata?: Record<string, string | number | boolean | {
|
1155
|
+
}[] | undefined> | undefined;
|
1156
|
+
annotation?: Record<string, string | number | boolean | {
|
1164
1157
|
type: string;
|
1165
1158
|
filename: string;
|
1166
1159
|
originalFilename: string;
|
@@ -1198,12 +1191,13 @@ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1198
1191
|
filename: string;
|
1199
1192
|
originalFilename: string;
|
1200
1193
|
}[] | undefined> | undefined;
|
1194
|
+
originalActionId?: string | undefined;
|
1201
1195
|
}>;
|
1202
1196
|
export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
|
1203
1197
|
export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1204
1198
|
eventId: z.ZodString;
|
1205
1199
|
transactionId: z.ZodString;
|
1206
|
-
|
1200
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1207
1201
|
filename: z.ZodString;
|
1208
1202
|
originalFilename: z.ZodString;
|
1209
1203
|
type: z.ZodString;
|
@@ -1316,8 +1310,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1316
1310
|
addressLine2?: string | null | undefined;
|
1317
1311
|
addressLine3?: string | null | undefined;
|
1318
1312
|
postcodeOrZip?: string | null | undefined;
|
1319
|
-
}>]
|
1320
|
-
|
1313
|
+
}>]>>>;
|
1314
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1321
1315
|
filename: z.ZodString;
|
1322
1316
|
originalFilename: z.ZodString;
|
1323
1317
|
type: z.ZodString;
|
@@ -1431,11 +1425,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1431
1425
|
addressLine3?: string | null | undefined;
|
1432
1426
|
postcodeOrZip?: string | null | undefined;
|
1433
1427
|
}>]>>>;
|
1428
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1434
1429
|
}, {
|
1435
1430
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
1436
1431
|
}>, "strip", z.ZodTypeAny, {
|
1437
1432
|
type: "NOTIFY";
|
1438
|
-
|
1433
|
+
declaration: Record<string, string | number | boolean | {
|
1439
1434
|
type: string;
|
1440
1435
|
filename: string;
|
1441
1436
|
originalFilename: string;
|
@@ -1475,7 +1470,7 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1475
1470
|
}[] | undefined>;
|
1476
1471
|
eventId: string;
|
1477
1472
|
transactionId: string;
|
1478
|
-
|
1473
|
+
annotation?: Record<string, string | number | boolean | {
|
1479
1474
|
type: string;
|
1480
1475
|
filename: string;
|
1481
1476
|
originalFilename: string;
|
@@ -1513,8 +1508,12 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1513
1508
|
filename: string;
|
1514
1509
|
originalFilename: string;
|
1515
1510
|
}[] | undefined> | undefined;
|
1511
|
+
originalActionId?: string | undefined;
|
1516
1512
|
}, {
|
1517
|
-
|
1513
|
+
eventId: string;
|
1514
|
+
transactionId: string;
|
1515
|
+
type?: "NOTIFY" | undefined;
|
1516
|
+
declaration?: Record<string, string | number | boolean | {
|
1518
1517
|
type: string;
|
1519
1518
|
filename: string;
|
1520
1519
|
originalFilename: string;
|
@@ -1551,11 +1550,8 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1551
1550
|
option: string;
|
1552
1551
|
filename: string;
|
1553
1552
|
originalFilename: string;
|
1554
|
-
}[] | undefined
|
1555
|
-
|
1556
|
-
transactionId: string;
|
1557
|
-
type?: "NOTIFY" | undefined;
|
1558
|
-
metadata?: Record<string, string | number | boolean | {
|
1553
|
+
}[] | undefined> | undefined;
|
1554
|
+
annotation?: Record<string, string | number | boolean | {
|
1559
1555
|
type: string;
|
1560
1556
|
filename: string;
|
1561
1557
|
originalFilename: string;
|
@@ -1593,12 +1589,13 @@ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1593
1589
|
filename: string;
|
1594
1590
|
originalFilename: string;
|
1595
1591
|
}[] | undefined> | undefined;
|
1592
|
+
originalActionId?: string | undefined;
|
1596
1593
|
}>;
|
1597
1594
|
export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
|
1598
1595
|
export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1599
1596
|
eventId: z.ZodString;
|
1600
1597
|
transactionId: z.ZodString;
|
1601
|
-
|
1598
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1602
1599
|
filename: z.ZodString;
|
1603
1600
|
originalFilename: z.ZodString;
|
1604
1601
|
type: z.ZodString;
|
@@ -1711,8 +1708,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1711
1708
|
addressLine2?: string | null | undefined;
|
1712
1709
|
addressLine3?: string | null | undefined;
|
1713
1710
|
postcodeOrZip?: string | null | undefined;
|
1714
|
-
}>]
|
1715
|
-
|
1711
|
+
}>]>>>;
|
1712
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1716
1713
|
filename: z.ZodString;
|
1717
1714
|
originalFilename: z.ZodString;
|
1718
1715
|
type: z.ZodString;
|
@@ -1826,11 +1823,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1826
1823
|
addressLine3?: string | null | undefined;
|
1827
1824
|
postcodeOrZip?: string | null | undefined;
|
1828
1825
|
}>]>>>;
|
1826
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1829
1827
|
}, {
|
1830
1828
|
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
1831
1829
|
}>, "strip", z.ZodTypeAny, {
|
1832
1830
|
type: "DECLARE";
|
1833
|
-
|
1831
|
+
declaration: Record<string, string | number | boolean | {
|
1834
1832
|
type: string;
|
1835
1833
|
filename: string;
|
1836
1834
|
originalFilename: string;
|
@@ -1870,7 +1868,7 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1870
1868
|
}[] | undefined>;
|
1871
1869
|
eventId: string;
|
1872
1870
|
transactionId: string;
|
1873
|
-
|
1871
|
+
annotation?: Record<string, string | number | boolean | {
|
1874
1872
|
type: string;
|
1875
1873
|
filename: string;
|
1876
1874
|
originalFilename: string;
|
@@ -1908,8 +1906,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1908
1906
|
filename: string;
|
1909
1907
|
originalFilename: string;
|
1910
1908
|
}[] | undefined> | undefined;
|
1909
|
+
originalActionId?: string | undefined;
|
1911
1910
|
}, {
|
1912
|
-
|
1911
|
+
eventId: string;
|
1912
|
+
transactionId: string;
|
1913
|
+
type?: "DECLARE" | undefined;
|
1914
|
+
declaration?: Record<string, string | number | boolean | {
|
1913
1915
|
type: string;
|
1914
1916
|
filename: string;
|
1915
1917
|
originalFilename: string;
|
@@ -1946,11 +1948,8 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1946
1948
|
option: string;
|
1947
1949
|
filename: string;
|
1948
1950
|
originalFilename: string;
|
1949
|
-
}[] | undefined
|
1950
|
-
|
1951
|
-
transactionId: string;
|
1952
|
-
type?: "DECLARE" | undefined;
|
1953
|
-
metadata?: Record<string, string | number | boolean | {
|
1951
|
+
}[] | undefined> | undefined;
|
1952
|
+
annotation?: Record<string, string | number | boolean | {
|
1954
1953
|
type: string;
|
1955
1954
|
filename: string;
|
1956
1955
|
originalFilename: string;
|
@@ -1988,11 +1987,12 @@ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1988
1987
|
filename: string;
|
1989
1988
|
originalFilename: string;
|
1990
1989
|
}[] | undefined> | undefined;
|
1990
|
+
originalActionId?: string | undefined;
|
1991
1991
|
}>;
|
1992
1992
|
export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
1993
1993
|
eventId: z.ZodString;
|
1994
1994
|
transactionId: z.ZodString;
|
1995
|
-
|
1995
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1996
1996
|
filename: z.ZodString;
|
1997
1997
|
originalFilename: z.ZodString;
|
1998
1998
|
type: z.ZodString;
|
@@ -2105,8 +2105,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2105
2105
|
addressLine2?: string | null | undefined;
|
2106
2106
|
addressLine3?: string | null | undefined;
|
2107
2107
|
postcodeOrZip?: string | null | undefined;
|
2108
|
-
}>]
|
2109
|
-
|
2108
|
+
}>]>>>;
|
2109
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2110
2110
|
filename: z.ZodString;
|
2111
2111
|
originalFilename: z.ZodString;
|
2112
2112
|
type: z.ZodString;
|
@@ -2220,11 +2220,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2220
2220
|
addressLine3?: string | null | undefined;
|
2221
2221
|
postcodeOrZip?: string | null | undefined;
|
2222
2222
|
}>]>>>;
|
2223
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2223
2224
|
}, {
|
2224
2225
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
2225
2226
|
}>, "strip", z.ZodTypeAny, {
|
2226
2227
|
type: "PRINT_CERTIFICATE";
|
2227
|
-
|
2228
|
+
declaration: Record<string, string | number | boolean | {
|
2228
2229
|
type: string;
|
2229
2230
|
filename: string;
|
2230
2231
|
originalFilename: string;
|
@@ -2264,7 +2265,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2264
2265
|
}[] | undefined>;
|
2265
2266
|
eventId: string;
|
2266
2267
|
transactionId: string;
|
2267
|
-
|
2268
|
+
annotation?: Record<string, string | number | boolean | {
|
2268
2269
|
type: string;
|
2269
2270
|
filename: string;
|
2270
2271
|
originalFilename: string;
|
@@ -2302,8 +2303,12 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2302
2303
|
filename: string;
|
2303
2304
|
originalFilename: string;
|
2304
2305
|
}[] | undefined> | undefined;
|
2306
|
+
originalActionId?: string | undefined;
|
2305
2307
|
}, {
|
2306
|
-
|
2308
|
+
eventId: string;
|
2309
|
+
transactionId: string;
|
2310
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
2311
|
+
declaration?: Record<string, string | number | boolean | {
|
2307
2312
|
type: string;
|
2308
2313
|
filename: string;
|
2309
2314
|
originalFilename: string;
|
@@ -2340,11 +2345,8 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2340
2345
|
option: string;
|
2341
2346
|
filename: string;
|
2342
2347
|
originalFilename: string;
|
2343
|
-
}[] | undefined
|
2344
|
-
|
2345
|
-
transactionId: string;
|
2346
|
-
type?: "PRINT_CERTIFICATE" | undefined;
|
2347
|
-
metadata?: Record<string, string | number | boolean | {
|
2348
|
+
}[] | undefined> | undefined;
|
2349
|
+
annotation?: Record<string, string | number | boolean | {
|
2348
2350
|
type: string;
|
2349
2351
|
filename: string;
|
2350
2352
|
originalFilename: string;
|
@@ -2382,12 +2384,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2382
2384
|
filename: string;
|
2383
2385
|
originalFilename: string;
|
2384
2386
|
}[] | undefined> | undefined;
|
2387
|
+
originalActionId?: string | undefined;
|
2385
2388
|
}>;
|
2386
2389
|
export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
|
2387
2390
|
export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
2388
2391
|
eventId: z.ZodString;
|
2389
2392
|
transactionId: z.ZodString;
|
2390
|
-
|
2393
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2391
2394
|
filename: z.ZodString;
|
2392
2395
|
originalFilename: z.ZodString;
|
2393
2396
|
type: z.ZodString;
|
@@ -2500,8 +2503,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2500
2503
|
addressLine2?: string | null | undefined;
|
2501
2504
|
addressLine3?: string | null | undefined;
|
2502
2505
|
postcodeOrZip?: string | null | undefined;
|
2503
|
-
}>]
|
2504
|
-
|
2506
|
+
}>]>>>;
|
2507
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2505
2508
|
filename: z.ZodString;
|
2506
2509
|
originalFilename: z.ZodString;
|
2507
2510
|
type: z.ZodString;
|
@@ -2615,11 +2618,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2615
2618
|
addressLine3?: string | null | undefined;
|
2616
2619
|
postcodeOrZip?: string | null | undefined;
|
2617
2620
|
}>]>>>;
|
2621
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2618
2622
|
}, {
|
2619
2623
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
2620
2624
|
}>, "strip", z.ZodTypeAny, {
|
2621
2625
|
type: "REJECT";
|
2622
|
-
|
2626
|
+
declaration: Record<string, string | number | boolean | {
|
2623
2627
|
type: string;
|
2624
2628
|
filename: string;
|
2625
2629
|
originalFilename: string;
|
@@ -2659,7 +2663,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2659
2663
|
}[] | undefined>;
|
2660
2664
|
eventId: string;
|
2661
2665
|
transactionId: string;
|
2662
|
-
|
2666
|
+
annotation?: Record<string, string | number | boolean | {
|
2663
2667
|
type: string;
|
2664
2668
|
filename: string;
|
2665
2669
|
originalFilename: string;
|
@@ -2697,8 +2701,12 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2697
2701
|
filename: string;
|
2698
2702
|
originalFilename: string;
|
2699
2703
|
}[] | undefined> | undefined;
|
2704
|
+
originalActionId?: string | undefined;
|
2700
2705
|
}, {
|
2701
|
-
|
2706
|
+
eventId: string;
|
2707
|
+
transactionId: string;
|
2708
|
+
type?: "REJECT" | undefined;
|
2709
|
+
declaration?: Record<string, string | number | boolean | {
|
2702
2710
|
type: string;
|
2703
2711
|
filename: string;
|
2704
2712
|
originalFilename: string;
|
@@ -2735,11 +2743,8 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2735
2743
|
option: string;
|
2736
2744
|
filename: string;
|
2737
2745
|
originalFilename: string;
|
2738
|
-
}[] | undefined
|
2739
|
-
|
2740
|
-
transactionId: string;
|
2741
|
-
type?: "REJECT" | undefined;
|
2742
|
-
metadata?: Record<string, string | number | boolean | {
|
2746
|
+
}[] | undefined> | undefined;
|
2747
|
+
annotation?: Record<string, string | number | boolean | {
|
2743
2748
|
type: string;
|
2744
2749
|
filename: string;
|
2745
2750
|
originalFilename: string;
|
@@ -2777,12 +2782,13 @@ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.exte
|
|
2777
2782
|
filename: string;
|
2778
2783
|
originalFilename: string;
|
2779
2784
|
}[] | undefined> | undefined;
|
2785
|
+
originalActionId?: string | undefined;
|
2780
2786
|
}>;
|
2781
2787
|
export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
|
2782
2788
|
export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
2783
2789
|
eventId: z.ZodString;
|
2784
2790
|
transactionId: z.ZodString;
|
2785
|
-
|
2791
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2786
2792
|
filename: z.ZodString;
|
2787
2793
|
originalFilename: z.ZodString;
|
2788
2794
|
type: z.ZodString;
|
@@ -2895,8 +2901,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
2895
2901
|
addressLine2?: string | null | undefined;
|
2896
2902
|
addressLine3?: string | null | undefined;
|
2897
2903
|
postcodeOrZip?: string | null | undefined;
|
2898
|
-
}>]
|
2899
|
-
|
2904
|
+
}>]>>>;
|
2905
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2900
2906
|
filename: z.ZodString;
|
2901
2907
|
originalFilename: z.ZodString;
|
2902
2908
|
type: z.ZodString;
|
@@ -3010,11 +3016,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
3010
3016
|
addressLine3?: string | null | undefined;
|
3011
3017
|
postcodeOrZip?: string | null | undefined;
|
3012
3018
|
}>]>>>;
|
3019
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3013
3020
|
}, {
|
3014
3021
|
type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
|
3015
3022
|
}>, "strip", z.ZodTypeAny, {
|
3016
3023
|
type: "MARKED_AS_DUPLICATE";
|
3017
|
-
|
3024
|
+
declaration: Record<string, string | number | boolean | {
|
3018
3025
|
type: string;
|
3019
3026
|
filename: string;
|
3020
3027
|
originalFilename: string;
|
@@ -3054,7 +3061,7 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
3054
3061
|
}[] | undefined>;
|
3055
3062
|
eventId: string;
|
3056
3063
|
transactionId: string;
|
3057
|
-
|
3064
|
+
annotation?: Record<string, string | number | boolean | {
|
3058
3065
|
type: string;
|
3059
3066
|
filename: string;
|
3060
3067
|
originalFilename: string;
|
@@ -3092,8 +3099,12 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
3092
3099
|
filename: string;
|
3093
3100
|
originalFilename: string;
|
3094
3101
|
}[] | undefined> | undefined;
|
3102
|
+
originalActionId?: string | undefined;
|
3095
3103
|
}, {
|
3096
|
-
|
3104
|
+
eventId: string;
|
3105
|
+
transactionId: string;
|
3106
|
+
type?: "MARKED_AS_DUPLICATE" | undefined;
|
3107
|
+
declaration?: Record<string, string | number | boolean | {
|
3097
3108
|
type: string;
|
3098
3109
|
filename: string;
|
3099
3110
|
originalFilename: string;
|
@@ -3130,11 +3141,8 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
3130
3141
|
option: string;
|
3131
3142
|
filename: string;
|
3132
3143
|
originalFilename: string;
|
3133
|
-
}[] | undefined
|
3134
|
-
|
3135
|
-
transactionId: string;
|
3136
|
-
type?: "MARKED_AS_DUPLICATE" | undefined;
|
3137
|
-
metadata?: Record<string, string | number | boolean | {
|
3144
|
+
}[] | undefined> | undefined;
|
3145
|
+
annotation?: Record<string, string | number | boolean | {
|
3138
3146
|
type: string;
|
3139
3147
|
filename: string;
|
3140
3148
|
originalFilename: string;
|
@@ -3172,12 +3180,13 @@ export declare const MarkedAsDuplicateActionInput: z.ZodObject<z.objectUtil.exte
|
|
3172
3180
|
filename: string;
|
3173
3181
|
originalFilename: string;
|
3174
3182
|
}[] | undefined> | undefined;
|
3183
|
+
originalActionId?: string | undefined;
|
3175
3184
|
}>;
|
3176
3185
|
export type MarkedAsDuplicateActionInput = z.infer<typeof MarkedAsDuplicateActionInput>;
|
3177
3186
|
export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
3178
3187
|
eventId: z.ZodString;
|
3179
3188
|
transactionId: z.ZodString;
|
3180
|
-
|
3189
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3181
3190
|
filename: z.ZodString;
|
3182
3191
|
originalFilename: z.ZodString;
|
3183
3192
|
type: z.ZodString;
|
@@ -3290,8 +3299,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3290
3299
|
addressLine2?: string | null | undefined;
|
3291
3300
|
addressLine3?: string | null | undefined;
|
3292
3301
|
postcodeOrZip?: string | null | undefined;
|
3293
|
-
}>]
|
3294
|
-
|
3302
|
+
}>]>>>;
|
3303
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3295
3304
|
filename: z.ZodString;
|
3296
3305
|
originalFilename: z.ZodString;
|
3297
3306
|
type: z.ZodString;
|
@@ -3405,11 +3414,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3405
3414
|
addressLine3?: string | null | undefined;
|
3406
3415
|
postcodeOrZip?: string | null | undefined;
|
3407
3416
|
}>]>>>;
|
3417
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3408
3418
|
}, {
|
3409
3419
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
3410
3420
|
}>, "strip", z.ZodTypeAny, {
|
3411
3421
|
type: "ARCHIVE";
|
3412
|
-
|
3422
|
+
declaration: Record<string, string | number | boolean | {
|
3413
3423
|
type: string;
|
3414
3424
|
filename: string;
|
3415
3425
|
originalFilename: string;
|
@@ -3449,7 +3459,7 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3449
3459
|
}[] | undefined>;
|
3450
3460
|
eventId: string;
|
3451
3461
|
transactionId: string;
|
3452
|
-
|
3462
|
+
annotation?: Record<string, string | number | boolean | {
|
3453
3463
|
type: string;
|
3454
3464
|
filename: string;
|
3455
3465
|
originalFilename: string;
|
@@ -3487,8 +3497,12 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3487
3497
|
filename: string;
|
3488
3498
|
originalFilename: string;
|
3489
3499
|
}[] | undefined> | undefined;
|
3500
|
+
originalActionId?: string | undefined;
|
3490
3501
|
}, {
|
3491
|
-
|
3502
|
+
eventId: string;
|
3503
|
+
transactionId: string;
|
3504
|
+
type?: "ARCHIVE" | undefined;
|
3505
|
+
declaration?: Record<string, string | number | boolean | {
|
3492
3506
|
type: string;
|
3493
3507
|
filename: string;
|
3494
3508
|
originalFilename: string;
|
@@ -3525,11 +3539,8 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3525
3539
|
option: string;
|
3526
3540
|
filename: string;
|
3527
3541
|
originalFilename: string;
|
3528
|
-
}[] | undefined
|
3529
|
-
|
3530
|
-
transactionId: string;
|
3531
|
-
type?: "ARCHIVE" | undefined;
|
3532
|
-
metadata?: Record<string, string | number | boolean | {
|
3542
|
+
}[] | undefined> | undefined;
|
3543
|
+
annotation?: Record<string, string | number | boolean | {
|
3533
3544
|
type: string;
|
3534
3545
|
filename: string;
|
3535
3546
|
originalFilename: string;
|
@@ -3567,12 +3578,13 @@ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
3567
3578
|
filename: string;
|
3568
3579
|
originalFilename: string;
|
3569
3580
|
}[] | undefined> | undefined;
|
3581
|
+
originalActionId?: string | undefined;
|
3570
3582
|
}>;
|
3571
3583
|
export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
|
3572
|
-
export declare const
|
3584
|
+
export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
3573
3585
|
eventId: z.ZodString;
|
3574
3586
|
transactionId: z.ZodString;
|
3575
|
-
|
3587
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3576
3588
|
filename: z.ZodString;
|
3577
3589
|
originalFilename: z.ZodString;
|
3578
3590
|
type: z.ZodString;
|
@@ -3685,8 +3697,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3685
3697
|
addressLine2?: string | null | undefined;
|
3686
3698
|
addressLine3?: string | null | undefined;
|
3687
3699
|
postcodeOrZip?: string | null | undefined;
|
3688
|
-
}>]
|
3689
|
-
|
3700
|
+
}>]>>>;
|
3701
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3690
3702
|
filename: z.ZodString;
|
3691
3703
|
originalFilename: z.ZodString;
|
3692
3704
|
type: z.ZodString;
|
@@ -3800,11 +3812,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3800
3812
|
addressLine3?: string | null | undefined;
|
3801
3813
|
postcodeOrZip?: string | null | undefined;
|
3802
3814
|
}>]>>>;
|
3815
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3803
3816
|
}, {
|
3804
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
3817
|
+
type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
|
3818
|
+
assignedTo: z.ZodString;
|
3805
3819
|
}>, "strip", z.ZodTypeAny, {
|
3806
|
-
type: "
|
3807
|
-
|
3820
|
+
type: "ASSIGN";
|
3821
|
+
declaration: Record<string, string | number | boolean | {
|
3808
3822
|
type: string;
|
3809
3823
|
filename: string;
|
3810
3824
|
originalFilename: string;
|
@@ -3842,9 +3856,10 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3842
3856
|
filename: string;
|
3843
3857
|
originalFilename: string;
|
3844
3858
|
}[] | undefined>;
|
3859
|
+
assignedTo: string;
|
3845
3860
|
eventId: string;
|
3846
3861
|
transactionId: string;
|
3847
|
-
|
3862
|
+
annotation?: Record<string, string | number | boolean | {
|
3848
3863
|
type: string;
|
3849
3864
|
filename: string;
|
3850
3865
|
originalFilename: string;
|
@@ -3882,8 +3897,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3882
3897
|
filename: string;
|
3883
3898
|
originalFilename: string;
|
3884
3899
|
}[] | undefined> | undefined;
|
3900
|
+
originalActionId?: string | undefined;
|
3885
3901
|
}, {
|
3886
|
-
|
3902
|
+
assignedTo: string;
|
3903
|
+
eventId: string;
|
3904
|
+
transactionId: string;
|
3905
|
+
type?: "ASSIGN" | undefined;
|
3906
|
+
declaration?: Record<string, string | number | boolean | {
|
3887
3907
|
type: string;
|
3888
3908
|
filename: string;
|
3889
3909
|
originalFilename: string;
|
@@ -3920,11 +3940,8 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3920
3940
|
option: string;
|
3921
3941
|
filename: string;
|
3922
3942
|
originalFilename: string;
|
3923
|
-
}[] | undefined
|
3924
|
-
|
3925
|
-
transactionId: string;
|
3926
|
-
type?: "REQUEST_CORRECTION" | undefined;
|
3927
|
-
metadata?: Record<string, string | number | boolean | {
|
3943
|
+
}[] | undefined> | undefined;
|
3944
|
+
annotation?: Record<string, string | number | boolean | {
|
3928
3945
|
type: string;
|
3929
3946
|
filename: string;
|
3930
3947
|
originalFilename: string;
|
@@ -3962,12 +3979,13 @@ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
3962
3979
|
filename: string;
|
3963
3980
|
originalFilename: string;
|
3964
3981
|
}[] | undefined> | undefined;
|
3982
|
+
originalActionId?: string | undefined;
|
3965
3983
|
}>;
|
3966
|
-
export type
|
3967
|
-
export declare const
|
3984
|
+
export type AssignActionInput = z.infer<typeof AssignActionInput>;
|
3985
|
+
export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
3968
3986
|
eventId: z.ZodString;
|
3969
3987
|
transactionId: z.ZodString;
|
3970
|
-
|
3988
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3971
3989
|
filename: z.ZodString;
|
3972
3990
|
originalFilename: z.ZodString;
|
3973
3991
|
type: z.ZodString;
|
@@ -4080,8 +4098,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4080
4098
|
addressLine2?: string | null | undefined;
|
4081
4099
|
addressLine3?: string | null | undefined;
|
4082
4100
|
postcodeOrZip?: string | null | undefined;
|
4083
|
-
}>]
|
4084
|
-
|
4101
|
+
}>]>>>;
|
4102
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4085
4103
|
filename: z.ZodString;
|
4086
4104
|
originalFilename: z.ZodString;
|
4087
4105
|
type: z.ZodString;
|
@@ -4195,12 +4213,13 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4195
4213
|
addressLine3?: string | null | undefined;
|
4196
4214
|
postcodeOrZip?: string | null | undefined;
|
4197
4215
|
}>]>>>;
|
4216
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4198
4217
|
}, {
|
4199
|
-
|
4200
|
-
|
4218
|
+
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
4219
|
+
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
4201
4220
|
}>, "strip", z.ZodTypeAny, {
|
4202
|
-
type: "
|
4203
|
-
|
4221
|
+
type: "UNASSIGN";
|
4222
|
+
declaration: Record<string, string | number | boolean | {
|
4204
4223
|
type: string;
|
4205
4224
|
filename: string;
|
4206
4225
|
originalFilename: string;
|
@@ -4238,10 +4257,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4238
4257
|
filename: string;
|
4239
4258
|
originalFilename: string;
|
4240
4259
|
}[] | undefined>;
|
4241
|
-
|
4260
|
+
assignedTo: null;
|
4242
4261
|
eventId: string;
|
4243
4262
|
transactionId: string;
|
4244
|
-
|
4263
|
+
annotation?: Record<string, string | number | boolean | {
|
4245
4264
|
type: string;
|
4246
4265
|
filename: string;
|
4247
4266
|
originalFilename: string;
|
@@ -4279,8 +4298,12 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4279
4298
|
filename: string;
|
4280
4299
|
originalFilename: string;
|
4281
4300
|
}[] | undefined> | undefined;
|
4301
|
+
originalActionId?: string | undefined;
|
4282
4302
|
}, {
|
4283
|
-
|
4303
|
+
eventId: string;
|
4304
|
+
transactionId: string;
|
4305
|
+
type?: "UNASSIGN" | undefined;
|
4306
|
+
declaration?: Record<string, string | number | boolean | {
|
4284
4307
|
type: string;
|
4285
4308
|
filename: string;
|
4286
4309
|
originalFilename: string;
|
@@ -4317,12 +4340,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4317
4340
|
option: string;
|
4318
4341
|
filename: string;
|
4319
4342
|
originalFilename: string;
|
4320
|
-
}[] | undefined
|
4321
|
-
|
4322
|
-
eventId: string;
|
4323
|
-
transactionId: string;
|
4324
|
-
type?: "REJECT_CORRECTION" | undefined;
|
4325
|
-
metadata?: Record<string, string | number | boolean | {
|
4343
|
+
}[] | undefined> | undefined;
|
4344
|
+
annotation?: Record<string, string | number | boolean | {
|
4326
4345
|
type: string;
|
4327
4346
|
filename: string;
|
4328
4347
|
originalFilename: string;
|
@@ -4360,12 +4379,14 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
4360
4379
|
filename: string;
|
4361
4380
|
originalFilename: string;
|
4362
4381
|
}[] | undefined> | undefined;
|
4382
|
+
originalActionId?: string | undefined;
|
4383
|
+
assignedTo?: null | undefined;
|
4363
4384
|
}>;
|
4364
|
-
export type
|
4365
|
-
export declare const
|
4385
|
+
export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
|
4386
|
+
export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
4366
4387
|
eventId: z.ZodString;
|
4367
4388
|
transactionId: z.ZodString;
|
4368
|
-
|
4389
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4369
4390
|
filename: z.ZodString;
|
4370
4391
|
originalFilename: z.ZodString;
|
4371
4392
|
type: z.ZodString;
|
@@ -4478,8 +4499,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4478
4499
|
addressLine2?: string | null | undefined;
|
4479
4500
|
addressLine3?: string | null | undefined;
|
4480
4501
|
postcodeOrZip?: string | null | undefined;
|
4481
|
-
}>]
|
4482
|
-
|
4502
|
+
}>]>>>;
|
4503
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4483
4504
|
filename: z.ZodString;
|
4484
4505
|
originalFilename: z.ZodString;
|
4485
4506
|
type: z.ZodString;
|
@@ -4593,12 +4614,12 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4593
4614
|
addressLine3?: string | null | undefined;
|
4594
4615
|
postcodeOrZip?: string | null | undefined;
|
4595
4616
|
}>]>>>;
|
4617
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4596
4618
|
}, {
|
4597
|
-
|
4598
|
-
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
4619
|
+
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
4599
4620
|
}>, "strip", z.ZodTypeAny, {
|
4600
|
-
type: "
|
4601
|
-
|
4621
|
+
type: "REQUEST_CORRECTION";
|
4622
|
+
declaration: Record<string, string | number | boolean | {
|
4602
4623
|
type: string;
|
4603
4624
|
filename: string;
|
4604
4625
|
originalFilename: string;
|
@@ -4636,10 +4657,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4636
4657
|
filename: string;
|
4637
4658
|
originalFilename: string;
|
4638
4659
|
}[] | undefined>;
|
4639
|
-
requestId: string;
|
4640
4660
|
eventId: string;
|
4641
4661
|
transactionId: string;
|
4642
|
-
|
4662
|
+
annotation?: Record<string, string | number | boolean | {
|
4643
4663
|
type: string;
|
4644
4664
|
filename: string;
|
4645
4665
|
originalFilename: string;
|
@@ -4677,8 +4697,12 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4677
4697
|
filename: string;
|
4678
4698
|
originalFilename: string;
|
4679
4699
|
}[] | undefined> | undefined;
|
4700
|
+
originalActionId?: string | undefined;
|
4680
4701
|
}, {
|
4681
|
-
|
4702
|
+
eventId: string;
|
4703
|
+
transactionId: string;
|
4704
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
4705
|
+
declaration?: Record<string, string | number | boolean | {
|
4682
4706
|
type: string;
|
4683
4707
|
filename: string;
|
4684
4708
|
originalFilename: string;
|
@@ -4715,12 +4739,8 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4715
4739
|
option: string;
|
4716
4740
|
filename: string;
|
4717
4741
|
originalFilename: string;
|
4718
|
-
}[] | undefined
|
4719
|
-
|
4720
|
-
eventId: string;
|
4721
|
-
transactionId: string;
|
4722
|
-
type?: "APPROVE_CORRECTION" | undefined;
|
4723
|
-
metadata?: Record<string, string | number | boolean | {
|
4742
|
+
}[] | undefined> | undefined;
|
4743
|
+
annotation?: Record<string, string | number | boolean | {
|
4724
4744
|
type: string;
|
4725
4745
|
filename: string;
|
4726
4746
|
originalFilename: string;
|
@@ -4758,20 +4778,13 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.exte
|
|
4758
4778
|
filename: string;
|
4759
4779
|
originalFilename: string;
|
4760
4780
|
}[] | undefined> | undefined;
|
4781
|
+
originalActionId?: string | undefined;
|
4761
4782
|
}>;
|
4762
|
-
export type
|
4763
|
-
|
4764
|
-
* ActionInput types are used to validate the input data for the action.
|
4765
|
-
* In our use case, we use it directly with TRPC to validate the input data for the action.
|
4766
|
-
* using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
|
4767
|
-
* without having to pass the type in the input data, when it's defined in the method.
|
4768
|
-
*
|
4769
|
-
* e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
|
4770
|
-
*/
|
4771
|
-
export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4783
|
+
export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
|
4784
|
+
export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
4772
4785
|
eventId: z.ZodString;
|
4773
4786
|
transactionId: z.ZodString;
|
4774
|
-
|
4787
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4775
4788
|
filename: z.ZodString;
|
4776
4789
|
originalFilename: z.ZodString;
|
4777
4790
|
type: z.ZodString;
|
@@ -4884,8 +4897,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4884
4897
|
addressLine2?: string | null | undefined;
|
4885
4898
|
addressLine3?: string | null | undefined;
|
4886
4899
|
postcodeOrZip?: string | null | undefined;
|
4887
|
-
}>]
|
4888
|
-
|
4900
|
+
}>]>>>;
|
4901
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4889
4902
|
filename: z.ZodString;
|
4890
4903
|
originalFilename: z.ZodString;
|
4891
4904
|
type: z.ZodString;
|
@@ -4999,12 +5012,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
4999
5012
|
addressLine3?: string | null | undefined;
|
5000
5013
|
postcodeOrZip?: string | null | undefined;
|
5001
5014
|
}>]>>>;
|
5015
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5002
5016
|
}, {
|
5003
|
-
|
5004
|
-
|
5017
|
+
requestId: z.ZodString;
|
5018
|
+
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
5005
5019
|
}>, "strip", z.ZodTypeAny, {
|
5006
|
-
type: "
|
5007
|
-
|
5020
|
+
type: "REJECT_CORRECTION";
|
5021
|
+
declaration: Record<string, string | number | boolean | {
|
5008
5022
|
type: string;
|
5009
5023
|
filename: string;
|
5010
5024
|
originalFilename: string;
|
@@ -5042,10 +5056,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5042
5056
|
filename: string;
|
5043
5057
|
originalFilename: string;
|
5044
5058
|
}[] | undefined>;
|
5045
|
-
|
5059
|
+
requestId: string;
|
5046
5060
|
eventId: string;
|
5047
5061
|
transactionId: string;
|
5048
|
-
|
5062
|
+
annotation?: Record<string, string | number | boolean | {
|
5049
5063
|
type: string;
|
5050
5064
|
filename: string;
|
5051
5065
|
originalFilename: string;
|
@@ -5083,8 +5097,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5083
5097
|
filename: string;
|
5084
5098
|
originalFilename: string;
|
5085
5099
|
}[] | undefined> | undefined;
|
5100
|
+
originalActionId?: string | undefined;
|
5086
5101
|
}, {
|
5087
|
-
|
5102
|
+
requestId: string;
|
5103
|
+
eventId: string;
|
5104
|
+
transactionId: string;
|
5105
|
+
type?: "REJECT_CORRECTION" | undefined;
|
5106
|
+
declaration?: Record<string, string | number | boolean | {
|
5088
5107
|
type: string;
|
5089
5108
|
filename: string;
|
5090
5109
|
originalFilename: string;
|
@@ -5121,12 +5140,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5121
5140
|
option: string;
|
5122
5141
|
filename: string;
|
5123
5142
|
originalFilename: string;
|
5124
|
-
}[] | undefined
|
5125
|
-
|
5126
|
-
eventId: string;
|
5127
|
-
transactionId: string;
|
5128
|
-
type?: "CREATE" | undefined;
|
5129
|
-
metadata?: Record<string, string | number | boolean | {
|
5143
|
+
}[] | undefined> | undefined;
|
5144
|
+
annotation?: Record<string, string | number | boolean | {
|
5130
5145
|
type: string;
|
5131
5146
|
filename: string;
|
5132
5147
|
originalFilename: string;
|
@@ -5164,10 +5179,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5164
5179
|
filename: string;
|
5165
5180
|
originalFilename: string;
|
5166
5181
|
}[] | undefined> | undefined;
|
5167
|
-
|
5182
|
+
originalActionId?: string | undefined;
|
5183
|
+
}>;
|
5184
|
+
export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
|
5185
|
+
export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
5168
5186
|
eventId: z.ZodString;
|
5169
5187
|
transactionId: z.ZodString;
|
5170
|
-
|
5188
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5171
5189
|
filename: z.ZodString;
|
5172
5190
|
originalFilename: z.ZodString;
|
5173
5191
|
type: z.ZodString;
|
@@ -5280,8 +5298,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5280
5298
|
addressLine2?: string | null | undefined;
|
5281
5299
|
addressLine3?: string | null | undefined;
|
5282
5300
|
postcodeOrZip?: string | null | undefined;
|
5283
|
-
}>]
|
5284
|
-
|
5301
|
+
}>]>>>;
|
5302
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5285
5303
|
filename: z.ZodString;
|
5286
5304
|
originalFilename: z.ZodString;
|
5287
5305
|
type: z.ZodString;
|
@@ -5395,12 +5413,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5395
5413
|
addressLine3?: string | null | undefined;
|
5396
5414
|
postcodeOrZip?: string | null | undefined;
|
5397
5415
|
}>]>>>;
|
5416
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5398
5417
|
}, {
|
5399
|
-
|
5400
|
-
|
5418
|
+
requestId: z.ZodString;
|
5419
|
+
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
5401
5420
|
}>, "strip", z.ZodTypeAny, {
|
5402
|
-
type: "
|
5403
|
-
|
5421
|
+
type: "APPROVE_CORRECTION";
|
5422
|
+
declaration: Record<string, string | number | boolean | {
|
5404
5423
|
type: string;
|
5405
5424
|
filename: string;
|
5406
5425
|
originalFilename: string;
|
@@ -5438,10 +5457,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5438
5457
|
filename: string;
|
5439
5458
|
originalFilename: string;
|
5440
5459
|
}[] | undefined>;
|
5460
|
+
requestId: string;
|
5441
5461
|
eventId: string;
|
5442
5462
|
transactionId: string;
|
5443
|
-
|
5444
|
-
metadata?: Record<string, string | number | boolean | {
|
5463
|
+
annotation?: Record<string, string | number | boolean | {
|
5445
5464
|
type: string;
|
5446
5465
|
filename: string;
|
5447
5466
|
originalFilename: string;
|
@@ -5479,8 +5498,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5479
5498
|
filename: string;
|
5480
5499
|
originalFilename: string;
|
5481
5500
|
}[] | undefined> | undefined;
|
5501
|
+
originalActionId?: string | undefined;
|
5482
5502
|
}, {
|
5483
|
-
|
5503
|
+
requestId: string;
|
5504
|
+
eventId: string;
|
5505
|
+
transactionId: string;
|
5506
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
5507
|
+
declaration?: Record<string, string | number | boolean | {
|
5484
5508
|
type: string;
|
5485
5509
|
filename: string;
|
5486
5510
|
originalFilename: string;
|
@@ -5517,12 +5541,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5517
5541
|
option: string;
|
5518
5542
|
filename: string;
|
5519
5543
|
originalFilename: string;
|
5520
|
-
}[] | undefined
|
5521
|
-
|
5522
|
-
transactionId: string;
|
5523
|
-
duplicates: string[];
|
5524
|
-
type?: "VALIDATE" | undefined;
|
5525
|
-
metadata?: Record<string, string | number | boolean | {
|
5544
|
+
}[] | undefined> | undefined;
|
5545
|
+
annotation?: Record<string, string | number | boolean | {
|
5526
5546
|
type: string;
|
5527
5547
|
filename: string;
|
5528
5548
|
originalFilename: string;
|
@@ -5560,10 +5580,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5560
5580
|
filename: string;
|
5561
5581
|
originalFilename: string;
|
5562
5582
|
}[] | undefined> | undefined;
|
5563
|
-
|
5583
|
+
originalActionId?: string | undefined;
|
5584
|
+
}>;
|
5585
|
+
export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
|
5586
|
+
export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
|
5564
5587
|
eventId: z.ZodString;
|
5565
5588
|
transactionId: z.ZodString;
|
5566
|
-
|
5589
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5567
5590
|
filename: z.ZodString;
|
5568
5591
|
originalFilename: z.ZodString;
|
5569
5592
|
type: z.ZodString;
|
@@ -5676,8 +5699,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5676
5699
|
addressLine2?: string | null | undefined;
|
5677
5700
|
addressLine3?: string | null | undefined;
|
5678
5701
|
postcodeOrZip?: string | null | undefined;
|
5679
|
-
}>]
|
5680
|
-
|
5702
|
+
}>]>>>;
|
5703
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5681
5704
|
filename: z.ZodString;
|
5682
5705
|
originalFilename: z.ZodString;
|
5683
5706
|
type: z.ZodString;
|
@@ -5791,21 +5814,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5791
5814
|
addressLine3?: string | null | undefined;
|
5792
5815
|
postcodeOrZip?: string | null | undefined;
|
5793
5816
|
}>]>>>;
|
5817
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5794
5818
|
}, {
|
5795
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
5796
|
-
identifiers: z.ZodObject<{
|
5797
|
-
trackingId: z.ZodString;
|
5798
|
-
registrationNumber: z.ZodString;
|
5799
|
-
}, "strip", z.ZodTypeAny, {
|
5800
|
-
trackingId: string;
|
5801
|
-
registrationNumber: string;
|
5802
|
-
}, {
|
5803
|
-
trackingId: string;
|
5804
|
-
registrationNumber: string;
|
5805
|
-
}>;
|
5819
|
+
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
5806
5820
|
}>, "strip", z.ZodTypeAny, {
|
5807
|
-
type: "
|
5808
|
-
|
5821
|
+
type: "READ";
|
5822
|
+
declaration: Record<string, string | number | boolean | {
|
5809
5823
|
type: string;
|
5810
5824
|
filename: string;
|
5811
5825
|
originalFilename: string;
|
@@ -5843,13 +5857,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5843
5857
|
filename: string;
|
5844
5858
|
originalFilename: string;
|
5845
5859
|
}[] | undefined>;
|
5846
|
-
identifiers: {
|
5847
|
-
trackingId: string;
|
5848
|
-
registrationNumber: string;
|
5849
|
-
};
|
5850
5860
|
eventId: string;
|
5851
5861
|
transactionId: string;
|
5852
|
-
|
5862
|
+
annotation?: Record<string, string | number | boolean | {
|
5853
5863
|
type: string;
|
5854
5864
|
filename: string;
|
5855
5865
|
originalFilename: string;
|
@@ -5887,8 +5897,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5887
5897
|
filename: string;
|
5888
5898
|
originalFilename: string;
|
5889
5899
|
}[] | undefined> | undefined;
|
5900
|
+
originalActionId?: string | undefined;
|
5890
5901
|
}, {
|
5891
|
-
|
5902
|
+
eventId: string;
|
5903
|
+
transactionId: string;
|
5904
|
+
type?: "READ" | undefined;
|
5905
|
+
declaration?: Record<string, string | number | boolean | {
|
5892
5906
|
type: string;
|
5893
5907
|
filename: string;
|
5894
5908
|
originalFilename: string;
|
@@ -5925,15 +5939,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5925
5939
|
option: string;
|
5926
5940
|
filename: string;
|
5927
5941
|
originalFilename: string;
|
5928
|
-
}[] | undefined
|
5929
|
-
|
5930
|
-
trackingId: string;
|
5931
|
-
registrationNumber: string;
|
5932
|
-
};
|
5933
|
-
eventId: string;
|
5934
|
-
transactionId: string;
|
5935
|
-
type?: "REGISTER" | undefined;
|
5936
|
-
metadata?: Record<string, string | number | boolean | {
|
5942
|
+
}[] | undefined> | undefined;
|
5943
|
+
annotation?: Record<string, string | number | boolean | {
|
5937
5944
|
type: string;
|
5938
5945
|
filename: string;
|
5939
5946
|
originalFilename: string;
|
@@ -5971,10 +5978,21 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5971
5978
|
filename: string;
|
5972
5979
|
originalFilename: string;
|
5973
5980
|
}[] | undefined> | undefined;
|
5974
|
-
|
5981
|
+
originalActionId?: string | undefined;
|
5982
|
+
}>;
|
5983
|
+
export type ReadActionInput = z.infer<typeof ReadActionInput>;
|
5984
|
+
/**
|
5985
|
+
* ActionInput types are used to validate the input data for the action.
|
5986
|
+
* In our use case, we use it directly with TRPC to validate the input data for the action.
|
5987
|
+
* using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
|
5988
|
+
* without having to pass the type in the input data, when it's defined in the method.
|
5989
|
+
*
|
5990
|
+
* e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
|
5991
|
+
*/
|
5992
|
+
export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
5975
5993
|
eventId: z.ZodString;
|
5976
5994
|
transactionId: z.ZodString;
|
5977
|
-
|
5995
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5978
5996
|
filename: z.ZodString;
|
5979
5997
|
originalFilename: z.ZodString;
|
5980
5998
|
type: z.ZodString;
|
@@ -6087,8 +6105,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6087
6105
|
addressLine2?: string | null | undefined;
|
6088
6106
|
addressLine3?: string | null | undefined;
|
6089
6107
|
postcodeOrZip?: string | null | undefined;
|
6090
|
-
}>]
|
6091
|
-
|
6108
|
+
}>]>>>;
|
6109
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6092
6110
|
filename: z.ZodString;
|
6093
6111
|
originalFilename: z.ZodString;
|
6094
6112
|
type: z.ZodString;
|
@@ -6202,11 +6220,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6202
6220
|
addressLine3?: string | null | undefined;
|
6203
6221
|
postcodeOrZip?: string | null | undefined;
|
6204
6222
|
}>]>>>;
|
6223
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
6205
6224
|
}, {
|
6206
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
6225
|
+
type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
|
6226
|
+
createdAtLocation: z.ZodString;
|
6207
6227
|
}>, "strip", z.ZodTypeAny, {
|
6208
|
-
type: "
|
6209
|
-
|
6228
|
+
type: "CREATE";
|
6229
|
+
declaration: Record<string, string | number | boolean | {
|
6210
6230
|
type: string;
|
6211
6231
|
filename: string;
|
6212
6232
|
originalFilename: string;
|
@@ -6244,9 +6264,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6244
6264
|
filename: string;
|
6245
6265
|
originalFilename: string;
|
6246
6266
|
}[] | undefined>;
|
6267
|
+
createdAtLocation: string;
|
6247
6268
|
eventId: string;
|
6248
6269
|
transactionId: string;
|
6249
|
-
|
6270
|
+
annotation?: Record<string, string | number | boolean | {
|
6250
6271
|
type: string;
|
6251
6272
|
filename: string;
|
6252
6273
|
originalFilename: string;
|
@@ -6284,8 +6305,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6284
6305
|
filename: string;
|
6285
6306
|
originalFilename: string;
|
6286
6307
|
}[] | undefined> | undefined;
|
6308
|
+
originalActionId?: string | undefined;
|
6287
6309
|
}, {
|
6288
|
-
|
6310
|
+
createdAtLocation: string;
|
6311
|
+
eventId: string;
|
6312
|
+
transactionId: string;
|
6313
|
+
type?: "CREATE" | undefined;
|
6314
|
+
declaration?: Record<string, string | number | boolean | {
|
6289
6315
|
type: string;
|
6290
6316
|
filename: string;
|
6291
6317
|
originalFilename: string;
|
@@ -6322,11 +6348,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6322
6348
|
option: string;
|
6323
6349
|
filename: string;
|
6324
6350
|
originalFilename: string;
|
6325
|
-
}[] | undefined
|
6326
|
-
|
6327
|
-
transactionId: string;
|
6328
|
-
type?: "NOTIFY" | undefined;
|
6329
|
-
metadata?: Record<string, string | number | boolean | {
|
6351
|
+
}[] | undefined> | undefined;
|
6352
|
+
annotation?: Record<string, string | number | boolean | {
|
6330
6353
|
type: string;
|
6331
6354
|
filename: string;
|
6332
6355
|
originalFilename: string;
|
@@ -6364,10 +6387,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6364
6387
|
filename: string;
|
6365
6388
|
originalFilename: string;
|
6366
6389
|
}[] | undefined> | undefined;
|
6390
|
+
originalActionId?: string | undefined;
|
6367
6391
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6368
6392
|
eventId: z.ZodString;
|
6369
6393
|
transactionId: z.ZodString;
|
6370
|
-
|
6394
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6371
6395
|
filename: z.ZodString;
|
6372
6396
|
originalFilename: z.ZodString;
|
6373
6397
|
type: z.ZodString;
|
@@ -6480,8 +6504,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6480
6504
|
addressLine2?: string | null | undefined;
|
6481
6505
|
addressLine3?: string | null | undefined;
|
6482
6506
|
postcodeOrZip?: string | null | undefined;
|
6483
|
-
}>]
|
6484
|
-
|
6507
|
+
}>]>>>;
|
6508
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6485
6509
|
filename: z.ZodString;
|
6486
6510
|
originalFilename: z.ZodString;
|
6487
6511
|
type: z.ZodString;
|
@@ -6595,11 +6619,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6595
6619
|
addressLine3?: string | null | undefined;
|
6596
6620
|
postcodeOrZip?: string | null | undefined;
|
6597
6621
|
}>]>>>;
|
6622
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
6598
6623
|
}, {
|
6599
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
6624
|
+
type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
|
6625
|
+
duplicates: z.ZodArray<z.ZodString, "many">;
|
6600
6626
|
}>, "strip", z.ZodTypeAny, {
|
6601
|
-
type: "
|
6602
|
-
|
6627
|
+
type: "VALIDATE";
|
6628
|
+
declaration: Record<string, string | number | boolean | {
|
6603
6629
|
type: string;
|
6604
6630
|
filename: string;
|
6605
6631
|
originalFilename: string;
|
@@ -6639,7 +6665,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6639
6665
|
}[] | undefined>;
|
6640
6666
|
eventId: string;
|
6641
6667
|
transactionId: string;
|
6642
|
-
|
6668
|
+
duplicates: string[];
|
6669
|
+
annotation?: Record<string, string | number | boolean | {
|
6643
6670
|
type: string;
|
6644
6671
|
filename: string;
|
6645
6672
|
originalFilename: string;
|
@@ -6677,8 +6704,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6677
6704
|
filename: string;
|
6678
6705
|
originalFilename: string;
|
6679
6706
|
}[] | undefined> | undefined;
|
6707
|
+
originalActionId?: string | undefined;
|
6680
6708
|
}, {
|
6681
|
-
|
6709
|
+
eventId: string;
|
6710
|
+
transactionId: string;
|
6711
|
+
duplicates: string[];
|
6712
|
+
type?: "VALIDATE" | undefined;
|
6713
|
+
declaration?: Record<string, string | number | boolean | {
|
6682
6714
|
type: string;
|
6683
6715
|
filename: string;
|
6684
6716
|
originalFilename: string;
|
@@ -6715,11 +6747,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6715
6747
|
option: string;
|
6716
6748
|
filename: string;
|
6717
6749
|
originalFilename: string;
|
6718
|
-
}[] | undefined
|
6719
|
-
|
6720
|
-
transactionId: string;
|
6721
|
-
type?: "DECLARE" | undefined;
|
6722
|
-
metadata?: Record<string, string | number | boolean | {
|
6750
|
+
}[] | undefined> | undefined;
|
6751
|
+
annotation?: Record<string, string | number | boolean | {
|
6723
6752
|
type: string;
|
6724
6753
|
filename: string;
|
6725
6754
|
originalFilename: string;
|
@@ -6757,10 +6786,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6757
6786
|
filename: string;
|
6758
6787
|
originalFilename: string;
|
6759
6788
|
}[] | undefined> | undefined;
|
6789
|
+
originalActionId?: string | undefined;
|
6760
6790
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6761
6791
|
eventId: z.ZodString;
|
6762
6792
|
transactionId: z.ZodString;
|
6763
|
-
|
6793
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6764
6794
|
filename: z.ZodString;
|
6765
6795
|
originalFilename: z.ZodString;
|
6766
6796
|
type: z.ZodString;
|
@@ -6873,8 +6903,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6873
6903
|
addressLine2?: string | null | undefined;
|
6874
6904
|
addressLine3?: string | null | undefined;
|
6875
6905
|
postcodeOrZip?: string | null | undefined;
|
6876
|
-
}>]
|
6877
|
-
|
6906
|
+
}>]>>>;
|
6907
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6878
6908
|
filename: z.ZodString;
|
6879
6909
|
originalFilename: z.ZodString;
|
6880
6910
|
type: z.ZodString;
|
@@ -6988,11 +7018,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
6988
7018
|
addressLine3?: string | null | undefined;
|
6989
7019
|
postcodeOrZip?: string | null | undefined;
|
6990
7020
|
}>]>>>;
|
7021
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
6991
7022
|
}, {
|
6992
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
7023
|
+
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
7024
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
6993
7025
|
}>, "strip", z.ZodTypeAny, {
|
6994
|
-
type: "
|
6995
|
-
|
7026
|
+
type: "REGISTER";
|
7027
|
+
declaration: Record<string, string | number | boolean | {
|
6996
7028
|
type: string;
|
6997
7029
|
filename: string;
|
6998
7030
|
originalFilename: string;
|
@@ -7032,7 +7064,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7032
7064
|
}[] | undefined>;
|
7033
7065
|
eventId: string;
|
7034
7066
|
transactionId: string;
|
7035
|
-
|
7067
|
+
annotation?: Record<string, string | number | boolean | {
|
7036
7068
|
type: string;
|
7037
7069
|
filename: string;
|
7038
7070
|
originalFilename: string;
|
@@ -7070,10 +7102,1517 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7070
7102
|
filename: string;
|
7071
7103
|
originalFilename: string;
|
7072
7104
|
}[] | undefined> | undefined;
|
7105
|
+
originalActionId?: string | undefined;
|
7106
|
+
registrationNumber?: string | undefined;
|
7073
7107
|
}, {
|
7074
|
-
|
7075
|
-
|
7076
|
-
|
7108
|
+
eventId: string;
|
7109
|
+
transactionId: string;
|
7110
|
+
type?: "REGISTER" | undefined;
|
7111
|
+
declaration?: Record<string, string | number | boolean | {
|
7112
|
+
type: string;
|
7113
|
+
filename: string;
|
7114
|
+
originalFilename: string;
|
7115
|
+
} | {
|
7116
|
+
country: string;
|
7117
|
+
district: string;
|
7118
|
+
addressType: "DOMESTIC";
|
7119
|
+
province: string;
|
7120
|
+
urbanOrRural: "URBAN";
|
7121
|
+
number?: string | null | undefined;
|
7122
|
+
town?: string | null | undefined;
|
7123
|
+
residentialArea?: string | null | undefined;
|
7124
|
+
street?: string | null | undefined;
|
7125
|
+
zipCode?: string | null | undefined;
|
7126
|
+
} | {
|
7127
|
+
country: string;
|
7128
|
+
district: string;
|
7129
|
+
addressType: "DOMESTIC";
|
7130
|
+
province: string;
|
7131
|
+
urbanOrRural: "RURAL";
|
7132
|
+
village?: string | null | undefined;
|
7133
|
+
} | {
|
7134
|
+
country: string;
|
7135
|
+
state: string;
|
7136
|
+
addressType: "INTERNATIONAL";
|
7137
|
+
district2: string;
|
7138
|
+
cityOrTown?: string | null | undefined;
|
7139
|
+
addressLine1?: string | null | undefined;
|
7140
|
+
addressLine2?: string | null | undefined;
|
7141
|
+
addressLine3?: string | null | undefined;
|
7142
|
+
postcodeOrZip?: string | null | undefined;
|
7143
|
+
} | {
|
7144
|
+
type: string;
|
7145
|
+
option: string;
|
7146
|
+
filename: string;
|
7147
|
+
originalFilename: string;
|
7148
|
+
}[] | undefined> | undefined;
|
7149
|
+
annotation?: Record<string, string | number | boolean | {
|
7150
|
+
type: string;
|
7151
|
+
filename: string;
|
7152
|
+
originalFilename: string;
|
7153
|
+
} | {
|
7154
|
+
country: string;
|
7155
|
+
district: string;
|
7156
|
+
addressType: "DOMESTIC";
|
7157
|
+
province: string;
|
7158
|
+
urbanOrRural: "URBAN";
|
7159
|
+
number?: string | null | undefined;
|
7160
|
+
town?: string | null | undefined;
|
7161
|
+
residentialArea?: string | null | undefined;
|
7162
|
+
street?: string | null | undefined;
|
7163
|
+
zipCode?: string | null | undefined;
|
7164
|
+
} | {
|
7165
|
+
country: string;
|
7166
|
+
district: string;
|
7167
|
+
addressType: "DOMESTIC";
|
7168
|
+
province: string;
|
7169
|
+
urbanOrRural: "RURAL";
|
7170
|
+
village?: string | null | undefined;
|
7171
|
+
} | {
|
7172
|
+
country: string;
|
7173
|
+
state: string;
|
7174
|
+
addressType: "INTERNATIONAL";
|
7175
|
+
district2: string;
|
7176
|
+
cityOrTown?: string | null | undefined;
|
7177
|
+
addressLine1?: string | null | undefined;
|
7178
|
+
addressLine2?: string | null | undefined;
|
7179
|
+
addressLine3?: string | null | undefined;
|
7180
|
+
postcodeOrZip?: string | null | undefined;
|
7181
|
+
} | {
|
7182
|
+
type: string;
|
7183
|
+
option: string;
|
7184
|
+
filename: string;
|
7185
|
+
originalFilename: string;
|
7186
|
+
}[] | undefined> | undefined;
|
7187
|
+
originalActionId?: string | undefined;
|
7188
|
+
registrationNumber?: string | undefined;
|
7189
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7190
|
+
eventId: z.ZodString;
|
7191
|
+
transactionId: z.ZodString;
|
7192
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7193
|
+
filename: z.ZodString;
|
7194
|
+
originalFilename: z.ZodString;
|
7195
|
+
type: z.ZodString;
|
7196
|
+
}, "strip", z.ZodTypeAny, {
|
7197
|
+
type: string;
|
7198
|
+
filename: string;
|
7199
|
+
originalFilename: string;
|
7200
|
+
}, {
|
7201
|
+
type: string;
|
7202
|
+
filename: string;
|
7203
|
+
originalFilename: string;
|
7204
|
+
}>, z.ZodArray<z.ZodObject<{
|
7205
|
+
filename: z.ZodString;
|
7206
|
+
originalFilename: z.ZodString;
|
7207
|
+
type: z.ZodString;
|
7208
|
+
option: z.ZodString;
|
7209
|
+
}, "strip", z.ZodTypeAny, {
|
7210
|
+
type: string;
|
7211
|
+
option: string;
|
7212
|
+
filename: string;
|
7213
|
+
originalFilename: string;
|
7214
|
+
}, {
|
7215
|
+
type: string;
|
7216
|
+
option: string;
|
7217
|
+
filename: string;
|
7218
|
+
originalFilename: string;
|
7219
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
7220
|
+
country: z.ZodString;
|
7221
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7222
|
+
province: z.ZodString;
|
7223
|
+
district: z.ZodString;
|
7224
|
+
}, {
|
7225
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
7226
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7227
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7228
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7229
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7230
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7231
|
+
}>, "strip", z.ZodTypeAny, {
|
7232
|
+
country: string;
|
7233
|
+
district: string;
|
7234
|
+
addressType: "DOMESTIC";
|
7235
|
+
province: string;
|
7236
|
+
urbanOrRural: "URBAN";
|
7237
|
+
number?: string | null | undefined;
|
7238
|
+
town?: string | null | undefined;
|
7239
|
+
residentialArea?: string | null | undefined;
|
7240
|
+
street?: string | null | undefined;
|
7241
|
+
zipCode?: string | null | undefined;
|
7242
|
+
}, {
|
7243
|
+
country: string;
|
7244
|
+
district: string;
|
7245
|
+
addressType: "DOMESTIC";
|
7246
|
+
province: string;
|
7247
|
+
urbanOrRural: "URBAN";
|
7248
|
+
number?: string | null | undefined;
|
7249
|
+
town?: string | null | undefined;
|
7250
|
+
residentialArea?: string | null | undefined;
|
7251
|
+
street?: string | null | undefined;
|
7252
|
+
zipCode?: string | null | undefined;
|
7253
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7254
|
+
country: z.ZodString;
|
7255
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7256
|
+
province: z.ZodString;
|
7257
|
+
district: z.ZodString;
|
7258
|
+
}, {
|
7259
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
7260
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7261
|
+
}>, "strip", z.ZodTypeAny, {
|
7262
|
+
country: string;
|
7263
|
+
district: string;
|
7264
|
+
addressType: "DOMESTIC";
|
7265
|
+
province: string;
|
7266
|
+
urbanOrRural: "RURAL";
|
7267
|
+
village?: string | null | undefined;
|
7268
|
+
}, {
|
7269
|
+
country: string;
|
7270
|
+
district: string;
|
7271
|
+
addressType: "DOMESTIC";
|
7272
|
+
province: string;
|
7273
|
+
urbanOrRural: "RURAL";
|
7274
|
+
village?: string | null | undefined;
|
7275
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
7276
|
+
country: z.ZodString;
|
7277
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
7278
|
+
state: z.ZodString;
|
7279
|
+
district2: z.ZodString;
|
7280
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7281
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7282
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7283
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7284
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7285
|
+
}, "strip", z.ZodTypeAny, {
|
7286
|
+
country: string;
|
7287
|
+
state: string;
|
7288
|
+
addressType: "INTERNATIONAL";
|
7289
|
+
district2: string;
|
7290
|
+
cityOrTown?: string | null | undefined;
|
7291
|
+
addressLine1?: string | null | undefined;
|
7292
|
+
addressLine2?: string | null | undefined;
|
7293
|
+
addressLine3?: string | null | undefined;
|
7294
|
+
postcodeOrZip?: string | null | undefined;
|
7295
|
+
}, {
|
7296
|
+
country: string;
|
7297
|
+
state: string;
|
7298
|
+
addressType: "INTERNATIONAL";
|
7299
|
+
district2: string;
|
7300
|
+
cityOrTown?: string | null | undefined;
|
7301
|
+
addressLine1?: string | null | undefined;
|
7302
|
+
addressLine2?: string | null | undefined;
|
7303
|
+
addressLine3?: string | null | undefined;
|
7304
|
+
postcodeOrZip?: string | null | undefined;
|
7305
|
+
}>]>>>;
|
7306
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7307
|
+
filename: z.ZodString;
|
7308
|
+
originalFilename: z.ZodString;
|
7309
|
+
type: z.ZodString;
|
7310
|
+
}, "strip", z.ZodTypeAny, {
|
7311
|
+
type: string;
|
7312
|
+
filename: string;
|
7313
|
+
originalFilename: string;
|
7314
|
+
}, {
|
7315
|
+
type: string;
|
7316
|
+
filename: string;
|
7317
|
+
originalFilename: string;
|
7318
|
+
}>, z.ZodArray<z.ZodObject<{
|
7319
|
+
filename: z.ZodString;
|
7320
|
+
originalFilename: z.ZodString;
|
7321
|
+
type: z.ZodString;
|
7322
|
+
option: z.ZodString;
|
7323
|
+
}, "strip", z.ZodTypeAny, {
|
7324
|
+
type: string;
|
7325
|
+
option: string;
|
7326
|
+
filename: string;
|
7327
|
+
originalFilename: string;
|
7328
|
+
}, {
|
7329
|
+
type: string;
|
7330
|
+
option: string;
|
7331
|
+
filename: string;
|
7332
|
+
originalFilename: string;
|
7333
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
7334
|
+
country: z.ZodString;
|
7335
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7336
|
+
province: z.ZodString;
|
7337
|
+
district: z.ZodString;
|
7338
|
+
}, {
|
7339
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
7340
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7341
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7342
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7343
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7344
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7345
|
+
}>, "strip", z.ZodTypeAny, {
|
7346
|
+
country: string;
|
7347
|
+
district: string;
|
7348
|
+
addressType: "DOMESTIC";
|
7349
|
+
province: string;
|
7350
|
+
urbanOrRural: "URBAN";
|
7351
|
+
number?: string | null | undefined;
|
7352
|
+
town?: string | null | undefined;
|
7353
|
+
residentialArea?: string | null | undefined;
|
7354
|
+
street?: string | null | undefined;
|
7355
|
+
zipCode?: string | null | undefined;
|
7356
|
+
}, {
|
7357
|
+
country: string;
|
7358
|
+
district: string;
|
7359
|
+
addressType: "DOMESTIC";
|
7360
|
+
province: string;
|
7361
|
+
urbanOrRural: "URBAN";
|
7362
|
+
number?: string | null | undefined;
|
7363
|
+
town?: string | null | undefined;
|
7364
|
+
residentialArea?: string | null | undefined;
|
7365
|
+
street?: string | null | undefined;
|
7366
|
+
zipCode?: string | null | undefined;
|
7367
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7368
|
+
country: z.ZodString;
|
7369
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7370
|
+
province: z.ZodString;
|
7371
|
+
district: z.ZodString;
|
7372
|
+
}, {
|
7373
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
7374
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7375
|
+
}>, "strip", z.ZodTypeAny, {
|
7376
|
+
country: string;
|
7377
|
+
district: string;
|
7378
|
+
addressType: "DOMESTIC";
|
7379
|
+
province: string;
|
7380
|
+
urbanOrRural: "RURAL";
|
7381
|
+
village?: string | null | undefined;
|
7382
|
+
}, {
|
7383
|
+
country: string;
|
7384
|
+
district: string;
|
7385
|
+
addressType: "DOMESTIC";
|
7386
|
+
province: string;
|
7387
|
+
urbanOrRural: "RURAL";
|
7388
|
+
village?: string | null | undefined;
|
7389
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
7390
|
+
country: z.ZodString;
|
7391
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
7392
|
+
state: z.ZodString;
|
7393
|
+
district2: z.ZodString;
|
7394
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7395
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7396
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7397
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7398
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7399
|
+
}, "strip", z.ZodTypeAny, {
|
7400
|
+
country: string;
|
7401
|
+
state: string;
|
7402
|
+
addressType: "INTERNATIONAL";
|
7403
|
+
district2: string;
|
7404
|
+
cityOrTown?: string | null | undefined;
|
7405
|
+
addressLine1?: string | null | undefined;
|
7406
|
+
addressLine2?: string | null | undefined;
|
7407
|
+
addressLine3?: string | null | undefined;
|
7408
|
+
postcodeOrZip?: string | null | undefined;
|
7409
|
+
}, {
|
7410
|
+
country: string;
|
7411
|
+
state: string;
|
7412
|
+
addressType: "INTERNATIONAL";
|
7413
|
+
district2: string;
|
7414
|
+
cityOrTown?: string | null | undefined;
|
7415
|
+
addressLine1?: string | null | undefined;
|
7416
|
+
addressLine2?: string | null | undefined;
|
7417
|
+
addressLine3?: string | null | undefined;
|
7418
|
+
postcodeOrZip?: string | null | undefined;
|
7419
|
+
}>]>>>;
|
7420
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
7421
|
+
}, {
|
7422
|
+
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
7423
|
+
}>, "strip", z.ZodTypeAny, {
|
7424
|
+
type: "NOTIFY";
|
7425
|
+
declaration: Record<string, string | number | boolean | {
|
7426
|
+
type: string;
|
7427
|
+
filename: string;
|
7428
|
+
originalFilename: string;
|
7429
|
+
} | {
|
7430
|
+
country: string;
|
7431
|
+
district: string;
|
7432
|
+
addressType: "DOMESTIC";
|
7433
|
+
province: string;
|
7434
|
+
urbanOrRural: "URBAN";
|
7435
|
+
number?: string | null | undefined;
|
7436
|
+
town?: string | null | undefined;
|
7437
|
+
residentialArea?: string | null | undefined;
|
7438
|
+
street?: string | null | undefined;
|
7439
|
+
zipCode?: string | null | undefined;
|
7440
|
+
} | {
|
7441
|
+
country: string;
|
7442
|
+
district: string;
|
7443
|
+
addressType: "DOMESTIC";
|
7444
|
+
province: string;
|
7445
|
+
urbanOrRural: "RURAL";
|
7446
|
+
village?: string | null | undefined;
|
7447
|
+
} | {
|
7448
|
+
country: string;
|
7449
|
+
state: string;
|
7450
|
+
addressType: "INTERNATIONAL";
|
7451
|
+
district2: string;
|
7452
|
+
cityOrTown?: string | null | undefined;
|
7453
|
+
addressLine1?: string | null | undefined;
|
7454
|
+
addressLine2?: string | null | undefined;
|
7455
|
+
addressLine3?: string | null | undefined;
|
7456
|
+
postcodeOrZip?: string | null | undefined;
|
7457
|
+
} | {
|
7458
|
+
type: string;
|
7459
|
+
option: string;
|
7460
|
+
filename: string;
|
7461
|
+
originalFilename: string;
|
7462
|
+
}[] | undefined>;
|
7463
|
+
eventId: string;
|
7464
|
+
transactionId: string;
|
7465
|
+
annotation?: Record<string, string | number | boolean | {
|
7466
|
+
type: string;
|
7467
|
+
filename: string;
|
7468
|
+
originalFilename: string;
|
7469
|
+
} | {
|
7470
|
+
country: string;
|
7471
|
+
district: string;
|
7472
|
+
addressType: "DOMESTIC";
|
7473
|
+
province: string;
|
7474
|
+
urbanOrRural: "URBAN";
|
7475
|
+
number?: string | null | undefined;
|
7476
|
+
town?: string | null | undefined;
|
7477
|
+
residentialArea?: string | null | undefined;
|
7478
|
+
street?: string | null | undefined;
|
7479
|
+
zipCode?: string | null | undefined;
|
7480
|
+
} | {
|
7481
|
+
country: string;
|
7482
|
+
district: string;
|
7483
|
+
addressType: "DOMESTIC";
|
7484
|
+
province: string;
|
7485
|
+
urbanOrRural: "RURAL";
|
7486
|
+
village?: string | null | undefined;
|
7487
|
+
} | {
|
7488
|
+
country: string;
|
7489
|
+
state: string;
|
7490
|
+
addressType: "INTERNATIONAL";
|
7491
|
+
district2: string;
|
7492
|
+
cityOrTown?: string | null | undefined;
|
7493
|
+
addressLine1?: string | null | undefined;
|
7494
|
+
addressLine2?: string | null | undefined;
|
7495
|
+
addressLine3?: string | null | undefined;
|
7496
|
+
postcodeOrZip?: string | null | undefined;
|
7497
|
+
} | {
|
7498
|
+
type: string;
|
7499
|
+
option: string;
|
7500
|
+
filename: string;
|
7501
|
+
originalFilename: string;
|
7502
|
+
}[] | undefined> | undefined;
|
7503
|
+
originalActionId?: string | undefined;
|
7504
|
+
}, {
|
7505
|
+
eventId: string;
|
7506
|
+
transactionId: string;
|
7507
|
+
type?: "NOTIFY" | undefined;
|
7508
|
+
declaration?: Record<string, string | number | boolean | {
|
7509
|
+
type: string;
|
7510
|
+
filename: string;
|
7511
|
+
originalFilename: string;
|
7512
|
+
} | {
|
7513
|
+
country: string;
|
7514
|
+
district: string;
|
7515
|
+
addressType: "DOMESTIC";
|
7516
|
+
province: string;
|
7517
|
+
urbanOrRural: "URBAN";
|
7518
|
+
number?: string | null | undefined;
|
7519
|
+
town?: string | null | undefined;
|
7520
|
+
residentialArea?: string | null | undefined;
|
7521
|
+
street?: string | null | undefined;
|
7522
|
+
zipCode?: string | null | undefined;
|
7523
|
+
} | {
|
7524
|
+
country: string;
|
7525
|
+
district: string;
|
7526
|
+
addressType: "DOMESTIC";
|
7527
|
+
province: string;
|
7528
|
+
urbanOrRural: "RURAL";
|
7529
|
+
village?: string | null | undefined;
|
7530
|
+
} | {
|
7531
|
+
country: string;
|
7532
|
+
state: string;
|
7533
|
+
addressType: "INTERNATIONAL";
|
7534
|
+
district2: string;
|
7535
|
+
cityOrTown?: string | null | undefined;
|
7536
|
+
addressLine1?: string | null | undefined;
|
7537
|
+
addressLine2?: string | null | undefined;
|
7538
|
+
addressLine3?: string | null | undefined;
|
7539
|
+
postcodeOrZip?: string | null | undefined;
|
7540
|
+
} | {
|
7541
|
+
type: string;
|
7542
|
+
option: string;
|
7543
|
+
filename: string;
|
7544
|
+
originalFilename: string;
|
7545
|
+
}[] | undefined> | undefined;
|
7546
|
+
annotation?: Record<string, string | number | boolean | {
|
7547
|
+
type: string;
|
7548
|
+
filename: string;
|
7549
|
+
originalFilename: string;
|
7550
|
+
} | {
|
7551
|
+
country: string;
|
7552
|
+
district: string;
|
7553
|
+
addressType: "DOMESTIC";
|
7554
|
+
province: string;
|
7555
|
+
urbanOrRural: "URBAN";
|
7556
|
+
number?: string | null | undefined;
|
7557
|
+
town?: string | null | undefined;
|
7558
|
+
residentialArea?: string | null | undefined;
|
7559
|
+
street?: string | null | undefined;
|
7560
|
+
zipCode?: string | null | undefined;
|
7561
|
+
} | {
|
7562
|
+
country: string;
|
7563
|
+
district: string;
|
7564
|
+
addressType: "DOMESTIC";
|
7565
|
+
province: string;
|
7566
|
+
urbanOrRural: "RURAL";
|
7567
|
+
village?: string | null | undefined;
|
7568
|
+
} | {
|
7569
|
+
country: string;
|
7570
|
+
state: string;
|
7571
|
+
addressType: "INTERNATIONAL";
|
7572
|
+
district2: string;
|
7573
|
+
cityOrTown?: string | null | undefined;
|
7574
|
+
addressLine1?: string | null | undefined;
|
7575
|
+
addressLine2?: string | null | undefined;
|
7576
|
+
addressLine3?: string | null | undefined;
|
7577
|
+
postcodeOrZip?: string | null | undefined;
|
7578
|
+
} | {
|
7579
|
+
type: string;
|
7580
|
+
option: string;
|
7581
|
+
filename: string;
|
7582
|
+
originalFilename: string;
|
7583
|
+
}[] | undefined> | undefined;
|
7584
|
+
originalActionId?: string | undefined;
|
7585
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7586
|
+
eventId: z.ZodString;
|
7587
|
+
transactionId: z.ZodString;
|
7588
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7589
|
+
filename: z.ZodString;
|
7590
|
+
originalFilename: z.ZodString;
|
7591
|
+
type: z.ZodString;
|
7592
|
+
}, "strip", z.ZodTypeAny, {
|
7593
|
+
type: string;
|
7594
|
+
filename: string;
|
7595
|
+
originalFilename: string;
|
7596
|
+
}, {
|
7597
|
+
type: string;
|
7598
|
+
filename: string;
|
7599
|
+
originalFilename: string;
|
7600
|
+
}>, z.ZodArray<z.ZodObject<{
|
7601
|
+
filename: z.ZodString;
|
7602
|
+
originalFilename: z.ZodString;
|
7603
|
+
type: z.ZodString;
|
7604
|
+
option: z.ZodString;
|
7605
|
+
}, "strip", z.ZodTypeAny, {
|
7606
|
+
type: string;
|
7607
|
+
option: string;
|
7608
|
+
filename: string;
|
7609
|
+
originalFilename: string;
|
7610
|
+
}, {
|
7611
|
+
type: string;
|
7612
|
+
option: string;
|
7613
|
+
filename: string;
|
7614
|
+
originalFilename: string;
|
7615
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
7616
|
+
country: z.ZodString;
|
7617
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7618
|
+
province: z.ZodString;
|
7619
|
+
district: z.ZodString;
|
7620
|
+
}, {
|
7621
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
7622
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7623
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7624
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7625
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7626
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7627
|
+
}>, "strip", z.ZodTypeAny, {
|
7628
|
+
country: string;
|
7629
|
+
district: string;
|
7630
|
+
addressType: "DOMESTIC";
|
7631
|
+
province: string;
|
7632
|
+
urbanOrRural: "URBAN";
|
7633
|
+
number?: string | null | undefined;
|
7634
|
+
town?: string | null | undefined;
|
7635
|
+
residentialArea?: string | null | undefined;
|
7636
|
+
street?: string | null | undefined;
|
7637
|
+
zipCode?: string | null | undefined;
|
7638
|
+
}, {
|
7639
|
+
country: string;
|
7640
|
+
district: string;
|
7641
|
+
addressType: "DOMESTIC";
|
7642
|
+
province: string;
|
7643
|
+
urbanOrRural: "URBAN";
|
7644
|
+
number?: string | null | undefined;
|
7645
|
+
town?: string | null | undefined;
|
7646
|
+
residentialArea?: string | null | undefined;
|
7647
|
+
street?: string | null | undefined;
|
7648
|
+
zipCode?: string | null | undefined;
|
7649
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7650
|
+
country: z.ZodString;
|
7651
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7652
|
+
province: z.ZodString;
|
7653
|
+
district: z.ZodString;
|
7654
|
+
}, {
|
7655
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
7656
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7657
|
+
}>, "strip", z.ZodTypeAny, {
|
7658
|
+
country: string;
|
7659
|
+
district: string;
|
7660
|
+
addressType: "DOMESTIC";
|
7661
|
+
province: string;
|
7662
|
+
urbanOrRural: "RURAL";
|
7663
|
+
village?: string | null | undefined;
|
7664
|
+
}, {
|
7665
|
+
country: string;
|
7666
|
+
district: string;
|
7667
|
+
addressType: "DOMESTIC";
|
7668
|
+
province: string;
|
7669
|
+
urbanOrRural: "RURAL";
|
7670
|
+
village?: string | null | undefined;
|
7671
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
7672
|
+
country: z.ZodString;
|
7673
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
7674
|
+
state: z.ZodString;
|
7675
|
+
district2: z.ZodString;
|
7676
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7677
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7678
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7679
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7680
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7681
|
+
}, "strip", z.ZodTypeAny, {
|
7682
|
+
country: string;
|
7683
|
+
state: string;
|
7684
|
+
addressType: "INTERNATIONAL";
|
7685
|
+
district2: string;
|
7686
|
+
cityOrTown?: string | null | undefined;
|
7687
|
+
addressLine1?: string | null | undefined;
|
7688
|
+
addressLine2?: string | null | undefined;
|
7689
|
+
addressLine3?: string | null | undefined;
|
7690
|
+
postcodeOrZip?: string | null | undefined;
|
7691
|
+
}, {
|
7692
|
+
country: string;
|
7693
|
+
state: string;
|
7694
|
+
addressType: "INTERNATIONAL";
|
7695
|
+
district2: string;
|
7696
|
+
cityOrTown?: string | null | undefined;
|
7697
|
+
addressLine1?: string | null | undefined;
|
7698
|
+
addressLine2?: string | null | undefined;
|
7699
|
+
addressLine3?: string | null | undefined;
|
7700
|
+
postcodeOrZip?: string | null | undefined;
|
7701
|
+
}>]>>>;
|
7702
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7703
|
+
filename: z.ZodString;
|
7704
|
+
originalFilename: z.ZodString;
|
7705
|
+
type: z.ZodString;
|
7706
|
+
}, "strip", z.ZodTypeAny, {
|
7707
|
+
type: string;
|
7708
|
+
filename: string;
|
7709
|
+
originalFilename: string;
|
7710
|
+
}, {
|
7711
|
+
type: string;
|
7712
|
+
filename: string;
|
7713
|
+
originalFilename: string;
|
7714
|
+
}>, z.ZodArray<z.ZodObject<{
|
7715
|
+
filename: z.ZodString;
|
7716
|
+
originalFilename: z.ZodString;
|
7717
|
+
type: z.ZodString;
|
7718
|
+
option: z.ZodString;
|
7719
|
+
}, "strip", z.ZodTypeAny, {
|
7720
|
+
type: string;
|
7721
|
+
option: string;
|
7722
|
+
filename: string;
|
7723
|
+
originalFilename: string;
|
7724
|
+
}, {
|
7725
|
+
type: string;
|
7726
|
+
option: string;
|
7727
|
+
filename: string;
|
7728
|
+
originalFilename: string;
|
7729
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
7730
|
+
country: z.ZodString;
|
7731
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7732
|
+
province: z.ZodString;
|
7733
|
+
district: z.ZodString;
|
7734
|
+
}, {
|
7735
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
7736
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7737
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7738
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7739
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7740
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7741
|
+
}>, "strip", z.ZodTypeAny, {
|
7742
|
+
country: string;
|
7743
|
+
district: string;
|
7744
|
+
addressType: "DOMESTIC";
|
7745
|
+
province: string;
|
7746
|
+
urbanOrRural: "URBAN";
|
7747
|
+
number?: string | null | undefined;
|
7748
|
+
town?: string | null | undefined;
|
7749
|
+
residentialArea?: string | null | undefined;
|
7750
|
+
street?: string | null | undefined;
|
7751
|
+
zipCode?: string | null | undefined;
|
7752
|
+
}, {
|
7753
|
+
country: string;
|
7754
|
+
district: string;
|
7755
|
+
addressType: "DOMESTIC";
|
7756
|
+
province: string;
|
7757
|
+
urbanOrRural: "URBAN";
|
7758
|
+
number?: string | null | undefined;
|
7759
|
+
town?: string | null | undefined;
|
7760
|
+
residentialArea?: string | null | undefined;
|
7761
|
+
street?: string | null | undefined;
|
7762
|
+
zipCode?: string | null | undefined;
|
7763
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7764
|
+
country: z.ZodString;
|
7765
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
7766
|
+
province: z.ZodString;
|
7767
|
+
district: z.ZodString;
|
7768
|
+
}, {
|
7769
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
7770
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7771
|
+
}>, "strip", z.ZodTypeAny, {
|
7772
|
+
country: string;
|
7773
|
+
district: string;
|
7774
|
+
addressType: "DOMESTIC";
|
7775
|
+
province: string;
|
7776
|
+
urbanOrRural: "RURAL";
|
7777
|
+
village?: string | null | undefined;
|
7778
|
+
}, {
|
7779
|
+
country: string;
|
7780
|
+
district: string;
|
7781
|
+
addressType: "DOMESTIC";
|
7782
|
+
province: string;
|
7783
|
+
urbanOrRural: "RURAL";
|
7784
|
+
village?: string | null | undefined;
|
7785
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
7786
|
+
country: z.ZodString;
|
7787
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
7788
|
+
state: z.ZodString;
|
7789
|
+
district2: z.ZodString;
|
7790
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7791
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7792
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7793
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7794
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7795
|
+
}, "strip", z.ZodTypeAny, {
|
7796
|
+
country: string;
|
7797
|
+
state: string;
|
7798
|
+
addressType: "INTERNATIONAL";
|
7799
|
+
district2: string;
|
7800
|
+
cityOrTown?: string | null | undefined;
|
7801
|
+
addressLine1?: string | null | undefined;
|
7802
|
+
addressLine2?: string | null | undefined;
|
7803
|
+
addressLine3?: string | null | undefined;
|
7804
|
+
postcodeOrZip?: string | null | undefined;
|
7805
|
+
}, {
|
7806
|
+
country: string;
|
7807
|
+
state: string;
|
7808
|
+
addressType: "INTERNATIONAL";
|
7809
|
+
district2: string;
|
7810
|
+
cityOrTown?: string | null | undefined;
|
7811
|
+
addressLine1?: string | null | undefined;
|
7812
|
+
addressLine2?: string | null | undefined;
|
7813
|
+
addressLine3?: string | null | undefined;
|
7814
|
+
postcodeOrZip?: string | null | undefined;
|
7815
|
+
}>]>>>;
|
7816
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
7817
|
+
}, {
|
7818
|
+
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
7819
|
+
}>, "strip", z.ZodTypeAny, {
|
7820
|
+
type: "DECLARE";
|
7821
|
+
declaration: Record<string, string | number | boolean | {
|
7822
|
+
type: string;
|
7823
|
+
filename: string;
|
7824
|
+
originalFilename: string;
|
7825
|
+
} | {
|
7826
|
+
country: string;
|
7827
|
+
district: string;
|
7828
|
+
addressType: "DOMESTIC";
|
7829
|
+
province: string;
|
7830
|
+
urbanOrRural: "URBAN";
|
7831
|
+
number?: string | null | undefined;
|
7832
|
+
town?: string | null | undefined;
|
7833
|
+
residentialArea?: string | null | undefined;
|
7834
|
+
street?: string | null | undefined;
|
7835
|
+
zipCode?: string | null | undefined;
|
7836
|
+
} | {
|
7837
|
+
country: string;
|
7838
|
+
district: string;
|
7839
|
+
addressType: "DOMESTIC";
|
7840
|
+
province: string;
|
7841
|
+
urbanOrRural: "RURAL";
|
7842
|
+
village?: string | null | undefined;
|
7843
|
+
} | {
|
7844
|
+
country: string;
|
7845
|
+
state: string;
|
7846
|
+
addressType: "INTERNATIONAL";
|
7847
|
+
district2: string;
|
7848
|
+
cityOrTown?: string | null | undefined;
|
7849
|
+
addressLine1?: string | null | undefined;
|
7850
|
+
addressLine2?: string | null | undefined;
|
7851
|
+
addressLine3?: string | null | undefined;
|
7852
|
+
postcodeOrZip?: string | null | undefined;
|
7853
|
+
} | {
|
7854
|
+
type: string;
|
7855
|
+
option: string;
|
7856
|
+
filename: string;
|
7857
|
+
originalFilename: string;
|
7858
|
+
}[] | undefined>;
|
7859
|
+
eventId: string;
|
7860
|
+
transactionId: string;
|
7861
|
+
annotation?: Record<string, string | number | boolean | {
|
7862
|
+
type: string;
|
7863
|
+
filename: string;
|
7864
|
+
originalFilename: string;
|
7865
|
+
} | {
|
7866
|
+
country: string;
|
7867
|
+
district: string;
|
7868
|
+
addressType: "DOMESTIC";
|
7869
|
+
province: string;
|
7870
|
+
urbanOrRural: "URBAN";
|
7871
|
+
number?: string | null | undefined;
|
7872
|
+
town?: string | null | undefined;
|
7873
|
+
residentialArea?: string | null | undefined;
|
7874
|
+
street?: string | null | undefined;
|
7875
|
+
zipCode?: string | null | undefined;
|
7876
|
+
} | {
|
7877
|
+
country: string;
|
7878
|
+
district: string;
|
7879
|
+
addressType: "DOMESTIC";
|
7880
|
+
province: string;
|
7881
|
+
urbanOrRural: "RURAL";
|
7882
|
+
village?: string | null | undefined;
|
7883
|
+
} | {
|
7884
|
+
country: string;
|
7885
|
+
state: string;
|
7886
|
+
addressType: "INTERNATIONAL";
|
7887
|
+
district2: string;
|
7888
|
+
cityOrTown?: string | null | undefined;
|
7889
|
+
addressLine1?: string | null | undefined;
|
7890
|
+
addressLine2?: string | null | undefined;
|
7891
|
+
addressLine3?: string | null | undefined;
|
7892
|
+
postcodeOrZip?: string | null | undefined;
|
7893
|
+
} | {
|
7894
|
+
type: string;
|
7895
|
+
option: string;
|
7896
|
+
filename: string;
|
7897
|
+
originalFilename: string;
|
7898
|
+
}[] | undefined> | undefined;
|
7899
|
+
originalActionId?: string | undefined;
|
7900
|
+
}, {
|
7901
|
+
eventId: string;
|
7902
|
+
transactionId: string;
|
7903
|
+
type?: "DECLARE" | undefined;
|
7904
|
+
declaration?: Record<string, string | number | boolean | {
|
7905
|
+
type: string;
|
7906
|
+
filename: string;
|
7907
|
+
originalFilename: string;
|
7908
|
+
} | {
|
7909
|
+
country: string;
|
7910
|
+
district: string;
|
7911
|
+
addressType: "DOMESTIC";
|
7912
|
+
province: string;
|
7913
|
+
urbanOrRural: "URBAN";
|
7914
|
+
number?: string | null | undefined;
|
7915
|
+
town?: string | null | undefined;
|
7916
|
+
residentialArea?: string | null | undefined;
|
7917
|
+
street?: string | null | undefined;
|
7918
|
+
zipCode?: string | null | undefined;
|
7919
|
+
} | {
|
7920
|
+
country: string;
|
7921
|
+
district: string;
|
7922
|
+
addressType: "DOMESTIC";
|
7923
|
+
province: string;
|
7924
|
+
urbanOrRural: "RURAL";
|
7925
|
+
village?: string | null | undefined;
|
7926
|
+
} | {
|
7927
|
+
country: string;
|
7928
|
+
state: string;
|
7929
|
+
addressType: "INTERNATIONAL";
|
7930
|
+
district2: string;
|
7931
|
+
cityOrTown?: string | null | undefined;
|
7932
|
+
addressLine1?: string | null | undefined;
|
7933
|
+
addressLine2?: string | null | undefined;
|
7934
|
+
addressLine3?: string | null | undefined;
|
7935
|
+
postcodeOrZip?: string | null | undefined;
|
7936
|
+
} | {
|
7937
|
+
type: string;
|
7938
|
+
option: string;
|
7939
|
+
filename: string;
|
7940
|
+
originalFilename: string;
|
7941
|
+
}[] | undefined> | undefined;
|
7942
|
+
annotation?: Record<string, string | number | boolean | {
|
7943
|
+
type: string;
|
7944
|
+
filename: string;
|
7945
|
+
originalFilename: string;
|
7946
|
+
} | {
|
7947
|
+
country: string;
|
7948
|
+
district: string;
|
7949
|
+
addressType: "DOMESTIC";
|
7950
|
+
province: string;
|
7951
|
+
urbanOrRural: "URBAN";
|
7952
|
+
number?: string | null | undefined;
|
7953
|
+
town?: string | null | undefined;
|
7954
|
+
residentialArea?: string | null | undefined;
|
7955
|
+
street?: string | null | undefined;
|
7956
|
+
zipCode?: string | null | undefined;
|
7957
|
+
} | {
|
7958
|
+
country: string;
|
7959
|
+
district: string;
|
7960
|
+
addressType: "DOMESTIC";
|
7961
|
+
province: string;
|
7962
|
+
urbanOrRural: "RURAL";
|
7963
|
+
village?: string | null | undefined;
|
7964
|
+
} | {
|
7965
|
+
country: string;
|
7966
|
+
state: string;
|
7967
|
+
addressType: "INTERNATIONAL";
|
7968
|
+
district2: string;
|
7969
|
+
cityOrTown?: string | null | undefined;
|
7970
|
+
addressLine1?: string | null | undefined;
|
7971
|
+
addressLine2?: string | null | undefined;
|
7972
|
+
addressLine3?: string | null | undefined;
|
7973
|
+
postcodeOrZip?: string | null | undefined;
|
7974
|
+
} | {
|
7975
|
+
type: string;
|
7976
|
+
option: string;
|
7977
|
+
filename: string;
|
7978
|
+
originalFilename: string;
|
7979
|
+
}[] | undefined> | undefined;
|
7980
|
+
originalActionId?: string | undefined;
|
7981
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7982
|
+
eventId: z.ZodString;
|
7983
|
+
transactionId: z.ZodString;
|
7984
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7985
|
+
filename: z.ZodString;
|
7986
|
+
originalFilename: z.ZodString;
|
7987
|
+
type: z.ZodString;
|
7988
|
+
}, "strip", z.ZodTypeAny, {
|
7989
|
+
type: string;
|
7990
|
+
filename: string;
|
7991
|
+
originalFilename: string;
|
7992
|
+
}, {
|
7993
|
+
type: string;
|
7994
|
+
filename: string;
|
7995
|
+
originalFilename: string;
|
7996
|
+
}>, z.ZodArray<z.ZodObject<{
|
7997
|
+
filename: z.ZodString;
|
7998
|
+
originalFilename: z.ZodString;
|
7999
|
+
type: z.ZodString;
|
8000
|
+
option: z.ZodString;
|
8001
|
+
}, "strip", z.ZodTypeAny, {
|
8002
|
+
type: string;
|
8003
|
+
option: string;
|
8004
|
+
filename: string;
|
8005
|
+
originalFilename: string;
|
8006
|
+
}, {
|
8007
|
+
type: string;
|
8008
|
+
option: string;
|
8009
|
+
filename: string;
|
8010
|
+
originalFilename: string;
|
8011
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
8012
|
+
country: z.ZodString;
|
8013
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8014
|
+
province: z.ZodString;
|
8015
|
+
district: z.ZodString;
|
8016
|
+
}, {
|
8017
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
8018
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8019
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8020
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8021
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8022
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8023
|
+
}>, "strip", z.ZodTypeAny, {
|
8024
|
+
country: string;
|
8025
|
+
district: string;
|
8026
|
+
addressType: "DOMESTIC";
|
8027
|
+
province: string;
|
8028
|
+
urbanOrRural: "URBAN";
|
8029
|
+
number?: string | null | undefined;
|
8030
|
+
town?: string | null | undefined;
|
8031
|
+
residentialArea?: string | null | undefined;
|
8032
|
+
street?: string | null | undefined;
|
8033
|
+
zipCode?: string | null | undefined;
|
8034
|
+
}, {
|
8035
|
+
country: string;
|
8036
|
+
district: string;
|
8037
|
+
addressType: "DOMESTIC";
|
8038
|
+
province: string;
|
8039
|
+
urbanOrRural: "URBAN";
|
8040
|
+
number?: string | null | undefined;
|
8041
|
+
town?: string | null | undefined;
|
8042
|
+
residentialArea?: string | null | undefined;
|
8043
|
+
street?: string | null | undefined;
|
8044
|
+
zipCode?: string | null | undefined;
|
8045
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8046
|
+
country: z.ZodString;
|
8047
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8048
|
+
province: z.ZodString;
|
8049
|
+
district: z.ZodString;
|
8050
|
+
}, {
|
8051
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
8052
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8053
|
+
}>, "strip", z.ZodTypeAny, {
|
8054
|
+
country: string;
|
8055
|
+
district: string;
|
8056
|
+
addressType: "DOMESTIC";
|
8057
|
+
province: string;
|
8058
|
+
urbanOrRural: "RURAL";
|
8059
|
+
village?: string | null | undefined;
|
8060
|
+
}, {
|
8061
|
+
country: string;
|
8062
|
+
district: string;
|
8063
|
+
addressType: "DOMESTIC";
|
8064
|
+
province: string;
|
8065
|
+
urbanOrRural: "RURAL";
|
8066
|
+
village?: string | null | undefined;
|
8067
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
8068
|
+
country: z.ZodString;
|
8069
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
8070
|
+
state: z.ZodString;
|
8071
|
+
district2: z.ZodString;
|
8072
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8073
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8074
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8075
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8076
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8077
|
+
}, "strip", z.ZodTypeAny, {
|
8078
|
+
country: string;
|
8079
|
+
state: string;
|
8080
|
+
addressType: "INTERNATIONAL";
|
8081
|
+
district2: string;
|
8082
|
+
cityOrTown?: string | null | undefined;
|
8083
|
+
addressLine1?: string | null | undefined;
|
8084
|
+
addressLine2?: string | null | undefined;
|
8085
|
+
addressLine3?: string | null | undefined;
|
8086
|
+
postcodeOrZip?: string | null | undefined;
|
8087
|
+
}, {
|
8088
|
+
country: string;
|
8089
|
+
state: string;
|
8090
|
+
addressType: "INTERNATIONAL";
|
8091
|
+
district2: string;
|
8092
|
+
cityOrTown?: string | null | undefined;
|
8093
|
+
addressLine1?: string | null | undefined;
|
8094
|
+
addressLine2?: string | null | undefined;
|
8095
|
+
addressLine3?: string | null | undefined;
|
8096
|
+
postcodeOrZip?: string | null | undefined;
|
8097
|
+
}>]>>>;
|
8098
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8099
|
+
filename: z.ZodString;
|
8100
|
+
originalFilename: z.ZodString;
|
8101
|
+
type: z.ZodString;
|
8102
|
+
}, "strip", z.ZodTypeAny, {
|
8103
|
+
type: string;
|
8104
|
+
filename: string;
|
8105
|
+
originalFilename: string;
|
8106
|
+
}, {
|
8107
|
+
type: string;
|
8108
|
+
filename: string;
|
8109
|
+
originalFilename: string;
|
8110
|
+
}>, z.ZodArray<z.ZodObject<{
|
8111
|
+
filename: z.ZodString;
|
8112
|
+
originalFilename: z.ZodString;
|
8113
|
+
type: z.ZodString;
|
8114
|
+
option: z.ZodString;
|
8115
|
+
}, "strip", z.ZodTypeAny, {
|
8116
|
+
type: string;
|
8117
|
+
option: string;
|
8118
|
+
filename: string;
|
8119
|
+
originalFilename: string;
|
8120
|
+
}, {
|
8121
|
+
type: string;
|
8122
|
+
option: string;
|
8123
|
+
filename: string;
|
8124
|
+
originalFilename: string;
|
8125
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
8126
|
+
country: z.ZodString;
|
8127
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8128
|
+
province: z.ZodString;
|
8129
|
+
district: z.ZodString;
|
8130
|
+
}, {
|
8131
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
8132
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8133
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8134
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8135
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8136
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8137
|
+
}>, "strip", z.ZodTypeAny, {
|
8138
|
+
country: string;
|
8139
|
+
district: string;
|
8140
|
+
addressType: "DOMESTIC";
|
8141
|
+
province: string;
|
8142
|
+
urbanOrRural: "URBAN";
|
8143
|
+
number?: string | null | undefined;
|
8144
|
+
town?: string | null | undefined;
|
8145
|
+
residentialArea?: string | null | undefined;
|
8146
|
+
street?: string | null | undefined;
|
8147
|
+
zipCode?: string | null | undefined;
|
8148
|
+
}, {
|
8149
|
+
country: string;
|
8150
|
+
district: string;
|
8151
|
+
addressType: "DOMESTIC";
|
8152
|
+
province: string;
|
8153
|
+
urbanOrRural: "URBAN";
|
8154
|
+
number?: string | null | undefined;
|
8155
|
+
town?: string | null | undefined;
|
8156
|
+
residentialArea?: string | null | undefined;
|
8157
|
+
street?: string | null | undefined;
|
8158
|
+
zipCode?: string | null | undefined;
|
8159
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8160
|
+
country: z.ZodString;
|
8161
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8162
|
+
province: z.ZodString;
|
8163
|
+
district: z.ZodString;
|
8164
|
+
}, {
|
8165
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
8166
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8167
|
+
}>, "strip", z.ZodTypeAny, {
|
8168
|
+
country: string;
|
8169
|
+
district: string;
|
8170
|
+
addressType: "DOMESTIC";
|
8171
|
+
province: string;
|
8172
|
+
urbanOrRural: "RURAL";
|
8173
|
+
village?: string | null | undefined;
|
8174
|
+
}, {
|
8175
|
+
country: string;
|
8176
|
+
district: string;
|
8177
|
+
addressType: "DOMESTIC";
|
8178
|
+
province: string;
|
8179
|
+
urbanOrRural: "RURAL";
|
8180
|
+
village?: string | null | undefined;
|
8181
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
8182
|
+
country: z.ZodString;
|
8183
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
8184
|
+
state: z.ZodString;
|
8185
|
+
district2: z.ZodString;
|
8186
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8187
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8188
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8189
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8190
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8191
|
+
}, "strip", z.ZodTypeAny, {
|
8192
|
+
country: string;
|
8193
|
+
state: string;
|
8194
|
+
addressType: "INTERNATIONAL";
|
8195
|
+
district2: string;
|
8196
|
+
cityOrTown?: string | null | undefined;
|
8197
|
+
addressLine1?: string | null | undefined;
|
8198
|
+
addressLine2?: string | null | undefined;
|
8199
|
+
addressLine3?: string | null | undefined;
|
8200
|
+
postcodeOrZip?: string | null | undefined;
|
8201
|
+
}, {
|
8202
|
+
country: string;
|
8203
|
+
state: string;
|
8204
|
+
addressType: "INTERNATIONAL";
|
8205
|
+
district2: string;
|
8206
|
+
cityOrTown?: string | null | undefined;
|
8207
|
+
addressLine1?: string | null | undefined;
|
8208
|
+
addressLine2?: string | null | undefined;
|
8209
|
+
addressLine3?: string | null | undefined;
|
8210
|
+
postcodeOrZip?: string | null | undefined;
|
8211
|
+
}>]>>>;
|
8212
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
8213
|
+
}, {
|
8214
|
+
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
8215
|
+
}>, "strip", z.ZodTypeAny, {
|
8216
|
+
type: "REJECT";
|
8217
|
+
declaration: Record<string, string | number | boolean | {
|
8218
|
+
type: string;
|
8219
|
+
filename: string;
|
8220
|
+
originalFilename: string;
|
8221
|
+
} | {
|
8222
|
+
country: string;
|
8223
|
+
district: string;
|
8224
|
+
addressType: "DOMESTIC";
|
8225
|
+
province: string;
|
8226
|
+
urbanOrRural: "URBAN";
|
8227
|
+
number?: string | null | undefined;
|
8228
|
+
town?: string | null | undefined;
|
8229
|
+
residentialArea?: string | null | undefined;
|
8230
|
+
street?: string | null | undefined;
|
8231
|
+
zipCode?: string | null | undefined;
|
8232
|
+
} | {
|
8233
|
+
country: string;
|
8234
|
+
district: string;
|
8235
|
+
addressType: "DOMESTIC";
|
8236
|
+
province: string;
|
8237
|
+
urbanOrRural: "RURAL";
|
8238
|
+
village?: string | null | undefined;
|
8239
|
+
} | {
|
8240
|
+
country: string;
|
8241
|
+
state: string;
|
8242
|
+
addressType: "INTERNATIONAL";
|
8243
|
+
district2: string;
|
8244
|
+
cityOrTown?: string | null | undefined;
|
8245
|
+
addressLine1?: string | null | undefined;
|
8246
|
+
addressLine2?: string | null | undefined;
|
8247
|
+
addressLine3?: string | null | undefined;
|
8248
|
+
postcodeOrZip?: string | null | undefined;
|
8249
|
+
} | {
|
8250
|
+
type: string;
|
8251
|
+
option: string;
|
8252
|
+
filename: string;
|
8253
|
+
originalFilename: string;
|
8254
|
+
}[] | undefined>;
|
8255
|
+
eventId: string;
|
8256
|
+
transactionId: string;
|
8257
|
+
annotation?: Record<string, string | number | boolean | {
|
8258
|
+
type: string;
|
8259
|
+
filename: string;
|
8260
|
+
originalFilename: string;
|
8261
|
+
} | {
|
8262
|
+
country: string;
|
8263
|
+
district: string;
|
8264
|
+
addressType: "DOMESTIC";
|
8265
|
+
province: string;
|
8266
|
+
urbanOrRural: "URBAN";
|
8267
|
+
number?: string | null | undefined;
|
8268
|
+
town?: string | null | undefined;
|
8269
|
+
residentialArea?: string | null | undefined;
|
8270
|
+
street?: string | null | undefined;
|
8271
|
+
zipCode?: string | null | undefined;
|
8272
|
+
} | {
|
8273
|
+
country: string;
|
8274
|
+
district: string;
|
8275
|
+
addressType: "DOMESTIC";
|
8276
|
+
province: string;
|
8277
|
+
urbanOrRural: "RURAL";
|
8278
|
+
village?: string | null | undefined;
|
8279
|
+
} | {
|
8280
|
+
country: string;
|
8281
|
+
state: string;
|
8282
|
+
addressType: "INTERNATIONAL";
|
8283
|
+
district2: string;
|
8284
|
+
cityOrTown?: string | null | undefined;
|
8285
|
+
addressLine1?: string | null | undefined;
|
8286
|
+
addressLine2?: string | null | undefined;
|
8287
|
+
addressLine3?: string | null | undefined;
|
8288
|
+
postcodeOrZip?: string | null | undefined;
|
8289
|
+
} | {
|
8290
|
+
type: string;
|
8291
|
+
option: string;
|
8292
|
+
filename: string;
|
8293
|
+
originalFilename: string;
|
8294
|
+
}[] | undefined> | undefined;
|
8295
|
+
originalActionId?: string | undefined;
|
8296
|
+
}, {
|
8297
|
+
eventId: string;
|
8298
|
+
transactionId: string;
|
8299
|
+
type?: "REJECT" | undefined;
|
8300
|
+
declaration?: Record<string, string | number | boolean | {
|
8301
|
+
type: string;
|
8302
|
+
filename: string;
|
8303
|
+
originalFilename: string;
|
8304
|
+
} | {
|
8305
|
+
country: string;
|
8306
|
+
district: string;
|
8307
|
+
addressType: "DOMESTIC";
|
8308
|
+
province: string;
|
8309
|
+
urbanOrRural: "URBAN";
|
8310
|
+
number?: string | null | undefined;
|
8311
|
+
town?: string | null | undefined;
|
8312
|
+
residentialArea?: string | null | undefined;
|
8313
|
+
street?: string | null | undefined;
|
8314
|
+
zipCode?: string | null | undefined;
|
8315
|
+
} | {
|
8316
|
+
country: string;
|
8317
|
+
district: string;
|
8318
|
+
addressType: "DOMESTIC";
|
8319
|
+
province: string;
|
8320
|
+
urbanOrRural: "RURAL";
|
8321
|
+
village?: string | null | undefined;
|
8322
|
+
} | {
|
8323
|
+
country: string;
|
8324
|
+
state: string;
|
8325
|
+
addressType: "INTERNATIONAL";
|
8326
|
+
district2: string;
|
8327
|
+
cityOrTown?: string | null | undefined;
|
8328
|
+
addressLine1?: string | null | undefined;
|
8329
|
+
addressLine2?: string | null | undefined;
|
8330
|
+
addressLine3?: string | null | undefined;
|
8331
|
+
postcodeOrZip?: string | null | undefined;
|
8332
|
+
} | {
|
8333
|
+
type: string;
|
8334
|
+
option: string;
|
8335
|
+
filename: string;
|
8336
|
+
originalFilename: string;
|
8337
|
+
}[] | undefined> | undefined;
|
8338
|
+
annotation?: Record<string, string | number | boolean | {
|
8339
|
+
type: string;
|
8340
|
+
filename: string;
|
8341
|
+
originalFilename: string;
|
8342
|
+
} | {
|
8343
|
+
country: string;
|
8344
|
+
district: string;
|
8345
|
+
addressType: "DOMESTIC";
|
8346
|
+
province: string;
|
8347
|
+
urbanOrRural: "URBAN";
|
8348
|
+
number?: string | null | undefined;
|
8349
|
+
town?: string | null | undefined;
|
8350
|
+
residentialArea?: string | null | undefined;
|
8351
|
+
street?: string | null | undefined;
|
8352
|
+
zipCode?: string | null | undefined;
|
8353
|
+
} | {
|
8354
|
+
country: string;
|
8355
|
+
district: string;
|
8356
|
+
addressType: "DOMESTIC";
|
8357
|
+
province: string;
|
8358
|
+
urbanOrRural: "RURAL";
|
8359
|
+
village?: string | null | undefined;
|
8360
|
+
} | {
|
8361
|
+
country: string;
|
8362
|
+
state: string;
|
8363
|
+
addressType: "INTERNATIONAL";
|
8364
|
+
district2: string;
|
8365
|
+
cityOrTown?: string | null | undefined;
|
8366
|
+
addressLine1?: string | null | undefined;
|
8367
|
+
addressLine2?: string | null | undefined;
|
8368
|
+
addressLine3?: string | null | undefined;
|
8369
|
+
postcodeOrZip?: string | null | undefined;
|
8370
|
+
} | {
|
8371
|
+
type: string;
|
8372
|
+
option: string;
|
8373
|
+
filename: string;
|
8374
|
+
originalFilename: string;
|
8375
|
+
}[] | undefined> | undefined;
|
8376
|
+
originalActionId?: string | undefined;
|
8377
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8378
|
+
eventId: z.ZodString;
|
8379
|
+
transactionId: z.ZodString;
|
8380
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8381
|
+
filename: z.ZodString;
|
8382
|
+
originalFilename: z.ZodString;
|
8383
|
+
type: z.ZodString;
|
8384
|
+
}, "strip", z.ZodTypeAny, {
|
8385
|
+
type: string;
|
8386
|
+
filename: string;
|
8387
|
+
originalFilename: string;
|
8388
|
+
}, {
|
8389
|
+
type: string;
|
8390
|
+
filename: string;
|
8391
|
+
originalFilename: string;
|
8392
|
+
}>, z.ZodArray<z.ZodObject<{
|
8393
|
+
filename: z.ZodString;
|
8394
|
+
originalFilename: z.ZodString;
|
8395
|
+
type: z.ZodString;
|
8396
|
+
option: z.ZodString;
|
8397
|
+
}, "strip", z.ZodTypeAny, {
|
8398
|
+
type: string;
|
8399
|
+
option: string;
|
8400
|
+
filename: string;
|
8401
|
+
originalFilename: string;
|
8402
|
+
}, {
|
8403
|
+
type: string;
|
8404
|
+
option: string;
|
8405
|
+
filename: string;
|
8406
|
+
originalFilename: string;
|
8407
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
8408
|
+
country: z.ZodString;
|
8409
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8410
|
+
province: z.ZodString;
|
8411
|
+
district: z.ZodString;
|
8412
|
+
}, {
|
8413
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
8414
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8415
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8416
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8417
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8418
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8419
|
+
}>, "strip", z.ZodTypeAny, {
|
8420
|
+
country: string;
|
8421
|
+
district: string;
|
8422
|
+
addressType: "DOMESTIC";
|
8423
|
+
province: string;
|
8424
|
+
urbanOrRural: "URBAN";
|
8425
|
+
number?: string | null | undefined;
|
8426
|
+
town?: string | null | undefined;
|
8427
|
+
residentialArea?: string | null | undefined;
|
8428
|
+
street?: string | null | undefined;
|
8429
|
+
zipCode?: string | null | undefined;
|
8430
|
+
}, {
|
8431
|
+
country: string;
|
8432
|
+
district: string;
|
8433
|
+
addressType: "DOMESTIC";
|
8434
|
+
province: string;
|
8435
|
+
urbanOrRural: "URBAN";
|
8436
|
+
number?: string | null | undefined;
|
8437
|
+
town?: string | null | undefined;
|
8438
|
+
residentialArea?: string | null | undefined;
|
8439
|
+
street?: string | null | undefined;
|
8440
|
+
zipCode?: string | null | undefined;
|
8441
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8442
|
+
country: z.ZodString;
|
8443
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8444
|
+
province: z.ZodString;
|
8445
|
+
district: z.ZodString;
|
8446
|
+
}, {
|
8447
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
8448
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8449
|
+
}>, "strip", z.ZodTypeAny, {
|
8450
|
+
country: string;
|
8451
|
+
district: string;
|
8452
|
+
addressType: "DOMESTIC";
|
8453
|
+
province: string;
|
8454
|
+
urbanOrRural: "RURAL";
|
8455
|
+
village?: string | null | undefined;
|
8456
|
+
}, {
|
8457
|
+
country: string;
|
8458
|
+
district: string;
|
8459
|
+
addressType: "DOMESTIC";
|
8460
|
+
province: string;
|
8461
|
+
urbanOrRural: "RURAL";
|
8462
|
+
village?: string | null | undefined;
|
8463
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
8464
|
+
country: z.ZodString;
|
8465
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
8466
|
+
state: z.ZodString;
|
8467
|
+
district2: z.ZodString;
|
8468
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8469
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8470
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8471
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8472
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8473
|
+
}, "strip", z.ZodTypeAny, {
|
8474
|
+
country: string;
|
8475
|
+
state: string;
|
8476
|
+
addressType: "INTERNATIONAL";
|
8477
|
+
district2: string;
|
8478
|
+
cityOrTown?: string | null | undefined;
|
8479
|
+
addressLine1?: string | null | undefined;
|
8480
|
+
addressLine2?: string | null | undefined;
|
8481
|
+
addressLine3?: string | null | undefined;
|
8482
|
+
postcodeOrZip?: string | null | undefined;
|
8483
|
+
}, {
|
8484
|
+
country: string;
|
8485
|
+
state: string;
|
8486
|
+
addressType: "INTERNATIONAL";
|
8487
|
+
district2: string;
|
8488
|
+
cityOrTown?: string | null | undefined;
|
8489
|
+
addressLine1?: string | null | undefined;
|
8490
|
+
addressLine2?: string | null | undefined;
|
8491
|
+
addressLine3?: string | null | undefined;
|
8492
|
+
postcodeOrZip?: string | null | undefined;
|
8493
|
+
}>]>>>;
|
8494
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8495
|
+
filename: z.ZodString;
|
8496
|
+
originalFilename: z.ZodString;
|
8497
|
+
type: z.ZodString;
|
8498
|
+
}, "strip", z.ZodTypeAny, {
|
8499
|
+
type: string;
|
8500
|
+
filename: string;
|
8501
|
+
originalFilename: string;
|
8502
|
+
}, {
|
8503
|
+
type: string;
|
8504
|
+
filename: string;
|
8505
|
+
originalFilename: string;
|
8506
|
+
}>, z.ZodArray<z.ZodObject<{
|
8507
|
+
filename: z.ZodString;
|
8508
|
+
originalFilename: z.ZodString;
|
8509
|
+
type: z.ZodString;
|
8510
|
+
option: z.ZodString;
|
8511
|
+
}, "strip", z.ZodTypeAny, {
|
8512
|
+
type: string;
|
8513
|
+
option: string;
|
8514
|
+
filename: string;
|
8515
|
+
originalFilename: string;
|
8516
|
+
}, {
|
8517
|
+
type: string;
|
8518
|
+
option: string;
|
8519
|
+
filename: string;
|
8520
|
+
originalFilename: string;
|
8521
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
8522
|
+
country: z.ZodString;
|
8523
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8524
|
+
province: z.ZodString;
|
8525
|
+
district: z.ZodString;
|
8526
|
+
}, {
|
8527
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
8528
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8529
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8530
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8531
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8532
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8533
|
+
}>, "strip", z.ZodTypeAny, {
|
8534
|
+
country: string;
|
8535
|
+
district: string;
|
8536
|
+
addressType: "DOMESTIC";
|
8537
|
+
province: string;
|
8538
|
+
urbanOrRural: "URBAN";
|
8539
|
+
number?: string | null | undefined;
|
8540
|
+
town?: string | null | undefined;
|
8541
|
+
residentialArea?: string | null | undefined;
|
8542
|
+
street?: string | null | undefined;
|
8543
|
+
zipCode?: string | null | undefined;
|
8544
|
+
}, {
|
8545
|
+
country: string;
|
8546
|
+
district: string;
|
8547
|
+
addressType: "DOMESTIC";
|
8548
|
+
province: string;
|
8549
|
+
urbanOrRural: "URBAN";
|
8550
|
+
number?: string | null | undefined;
|
8551
|
+
town?: string | null | undefined;
|
8552
|
+
residentialArea?: string | null | undefined;
|
8553
|
+
street?: string | null | undefined;
|
8554
|
+
zipCode?: string | null | undefined;
|
8555
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8556
|
+
country: z.ZodString;
|
8557
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
8558
|
+
province: z.ZodString;
|
8559
|
+
district: z.ZodString;
|
8560
|
+
}, {
|
8561
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
8562
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8563
|
+
}>, "strip", z.ZodTypeAny, {
|
8564
|
+
country: string;
|
8565
|
+
district: string;
|
8566
|
+
addressType: "DOMESTIC";
|
8567
|
+
province: string;
|
8568
|
+
urbanOrRural: "RURAL";
|
8569
|
+
village?: string | null | undefined;
|
8570
|
+
}, {
|
8571
|
+
country: string;
|
8572
|
+
district: string;
|
8573
|
+
addressType: "DOMESTIC";
|
8574
|
+
province: string;
|
8575
|
+
urbanOrRural: "RURAL";
|
8576
|
+
village?: string | null | undefined;
|
8577
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
8578
|
+
country: z.ZodString;
|
8579
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
8580
|
+
state: z.ZodString;
|
8581
|
+
district2: z.ZodString;
|
8582
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8583
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8584
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8585
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8586
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8587
|
+
}, "strip", z.ZodTypeAny, {
|
8588
|
+
country: string;
|
8589
|
+
state: string;
|
8590
|
+
addressType: "INTERNATIONAL";
|
8591
|
+
district2: string;
|
8592
|
+
cityOrTown?: string | null | undefined;
|
8593
|
+
addressLine1?: string | null | undefined;
|
8594
|
+
addressLine2?: string | null | undefined;
|
8595
|
+
addressLine3?: string | null | undefined;
|
8596
|
+
postcodeOrZip?: string | null | undefined;
|
8597
|
+
}, {
|
8598
|
+
country: string;
|
8599
|
+
state: string;
|
8600
|
+
addressType: "INTERNATIONAL";
|
8601
|
+
district2: string;
|
8602
|
+
cityOrTown?: string | null | undefined;
|
8603
|
+
addressLine1?: string | null | undefined;
|
8604
|
+
addressLine2?: string | null | undefined;
|
8605
|
+
addressLine3?: string | null | undefined;
|
8606
|
+
postcodeOrZip?: string | null | undefined;
|
8607
|
+
}>]>>>;
|
8608
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
8609
|
+
}, {
|
8610
|
+
type: z.ZodDefault<z.ZodLiteral<"MARKED_AS_DUPLICATE">>;
|
8611
|
+
}>, "strip", z.ZodTypeAny, {
|
8612
|
+
type: "MARKED_AS_DUPLICATE";
|
8613
|
+
declaration: Record<string, string | number | boolean | {
|
8614
|
+
type: string;
|
8615
|
+
filename: string;
|
7077
8616
|
originalFilename: string;
|
7078
8617
|
} | {
|
7079
8618
|
country: string;
|
@@ -7111,8 +8650,88 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7111
8650
|
}[] | undefined>;
|
7112
8651
|
eventId: string;
|
7113
8652
|
transactionId: string;
|
7114
|
-
|
7115
|
-
|
8653
|
+
annotation?: Record<string, string | number | boolean | {
|
8654
|
+
type: string;
|
8655
|
+
filename: string;
|
8656
|
+
originalFilename: string;
|
8657
|
+
} | {
|
8658
|
+
country: string;
|
8659
|
+
district: string;
|
8660
|
+
addressType: "DOMESTIC";
|
8661
|
+
province: string;
|
8662
|
+
urbanOrRural: "URBAN";
|
8663
|
+
number?: string | null | undefined;
|
8664
|
+
town?: string | null | undefined;
|
8665
|
+
residentialArea?: string | null | undefined;
|
8666
|
+
street?: string | null | undefined;
|
8667
|
+
zipCode?: string | null | undefined;
|
8668
|
+
} | {
|
8669
|
+
country: string;
|
8670
|
+
district: string;
|
8671
|
+
addressType: "DOMESTIC";
|
8672
|
+
province: string;
|
8673
|
+
urbanOrRural: "RURAL";
|
8674
|
+
village?: string | null | undefined;
|
8675
|
+
} | {
|
8676
|
+
country: string;
|
8677
|
+
state: string;
|
8678
|
+
addressType: "INTERNATIONAL";
|
8679
|
+
district2: string;
|
8680
|
+
cityOrTown?: string | null | undefined;
|
8681
|
+
addressLine1?: string | null | undefined;
|
8682
|
+
addressLine2?: string | null | undefined;
|
8683
|
+
addressLine3?: string | null | undefined;
|
8684
|
+
postcodeOrZip?: string | null | undefined;
|
8685
|
+
} | {
|
8686
|
+
type: string;
|
8687
|
+
option: string;
|
8688
|
+
filename: string;
|
8689
|
+
originalFilename: string;
|
8690
|
+
}[] | undefined> | undefined;
|
8691
|
+
originalActionId?: string | undefined;
|
8692
|
+
}, {
|
8693
|
+
eventId: string;
|
8694
|
+
transactionId: string;
|
8695
|
+
type?: "MARKED_AS_DUPLICATE" | undefined;
|
8696
|
+
declaration?: Record<string, string | number | boolean | {
|
8697
|
+
type: string;
|
8698
|
+
filename: string;
|
8699
|
+
originalFilename: string;
|
8700
|
+
} | {
|
8701
|
+
country: string;
|
8702
|
+
district: string;
|
8703
|
+
addressType: "DOMESTIC";
|
8704
|
+
province: string;
|
8705
|
+
urbanOrRural: "URBAN";
|
8706
|
+
number?: string | null | undefined;
|
8707
|
+
town?: string | null | undefined;
|
8708
|
+
residentialArea?: string | null | undefined;
|
8709
|
+
street?: string | null | undefined;
|
8710
|
+
zipCode?: string | null | undefined;
|
8711
|
+
} | {
|
8712
|
+
country: string;
|
8713
|
+
district: string;
|
8714
|
+
addressType: "DOMESTIC";
|
8715
|
+
province: string;
|
8716
|
+
urbanOrRural: "RURAL";
|
8717
|
+
village?: string | null | undefined;
|
8718
|
+
} | {
|
8719
|
+
country: string;
|
8720
|
+
state: string;
|
8721
|
+
addressType: "INTERNATIONAL";
|
8722
|
+
district2: string;
|
8723
|
+
cityOrTown?: string | null | undefined;
|
8724
|
+
addressLine1?: string | null | undefined;
|
8725
|
+
addressLine2?: string | null | undefined;
|
8726
|
+
addressLine3?: string | null | undefined;
|
8727
|
+
postcodeOrZip?: string | null | undefined;
|
8728
|
+
} | {
|
8729
|
+
type: string;
|
8730
|
+
option: string;
|
8731
|
+
filename: string;
|
8732
|
+
originalFilename: string;
|
8733
|
+
}[] | undefined> | undefined;
|
8734
|
+
annotation?: Record<string, string | number | boolean | {
|
7116
8735
|
type: string;
|
7117
8736
|
filename: string;
|
7118
8737
|
originalFilename: string;
|
@@ -7150,10 +8769,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7150
8769
|
filename: string;
|
7151
8770
|
originalFilename: string;
|
7152
8771
|
}[] | undefined> | undefined;
|
8772
|
+
originalActionId?: string | undefined;
|
7153
8773
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7154
8774
|
eventId: z.ZodString;
|
7155
8775
|
transactionId: z.ZodString;
|
7156
|
-
|
8776
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7157
8777
|
filename: z.ZodString;
|
7158
8778
|
originalFilename: z.ZodString;
|
7159
8779
|
type: z.ZodString;
|
@@ -7266,8 +8886,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7266
8886
|
addressLine2?: string | null | undefined;
|
7267
8887
|
addressLine3?: string | null | undefined;
|
7268
8888
|
postcodeOrZip?: string | null | undefined;
|
7269
|
-
}>]
|
7270
|
-
|
8889
|
+
}>]>>>;
|
8890
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7271
8891
|
filename: z.ZodString;
|
7272
8892
|
originalFilename: z.ZodString;
|
7273
8893
|
type: z.ZodString;
|
@@ -7381,11 +9001,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7381
9001
|
addressLine3?: string | null | undefined;
|
7382
9002
|
postcodeOrZip?: string | null | undefined;
|
7383
9003
|
}>]>>>;
|
9004
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
7384
9005
|
}, {
|
7385
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
9006
|
+
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
7386
9007
|
}>, "strip", z.ZodTypeAny, {
|
7387
|
-
type: "
|
7388
|
-
|
9008
|
+
type: "ARCHIVE";
|
9009
|
+
declaration: Record<string, string | number | boolean | {
|
7389
9010
|
type: string;
|
7390
9011
|
filename: string;
|
7391
9012
|
originalFilename: string;
|
@@ -7425,7 +9046,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7425
9046
|
}[] | undefined>;
|
7426
9047
|
eventId: string;
|
7427
9048
|
transactionId: string;
|
7428
|
-
|
9049
|
+
annotation?: Record<string, string | number | boolean | {
|
7429
9050
|
type: string;
|
7430
9051
|
filename: string;
|
7431
9052
|
originalFilename: string;
|
@@ -7463,8 +9084,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7463
9084
|
filename: string;
|
7464
9085
|
originalFilename: string;
|
7465
9086
|
}[] | undefined> | undefined;
|
9087
|
+
originalActionId?: string | undefined;
|
7466
9088
|
}, {
|
7467
|
-
|
9089
|
+
eventId: string;
|
9090
|
+
transactionId: string;
|
9091
|
+
type?: "ARCHIVE" | undefined;
|
9092
|
+
declaration?: Record<string, string | number | boolean | {
|
7468
9093
|
type: string;
|
7469
9094
|
filename: string;
|
7470
9095
|
originalFilename: string;
|
@@ -7501,11 +9126,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7501
9126
|
option: string;
|
7502
9127
|
filename: string;
|
7503
9128
|
originalFilename: string;
|
7504
|
-
}[] | undefined
|
7505
|
-
|
7506
|
-
transactionId: string;
|
7507
|
-
type?: "MARKED_AS_DUPLICATE" | undefined;
|
7508
|
-
metadata?: Record<string, string | number | boolean | {
|
9129
|
+
}[] | undefined> | undefined;
|
9130
|
+
annotation?: Record<string, string | number | boolean | {
|
7509
9131
|
type: string;
|
7510
9132
|
filename: string;
|
7511
9133
|
originalFilename: string;
|
@@ -7543,10 +9165,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7543
9165
|
filename: string;
|
7544
9166
|
originalFilename: string;
|
7545
9167
|
}[] | undefined> | undefined;
|
9168
|
+
originalActionId?: string | undefined;
|
7546
9169
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7547
9170
|
eventId: z.ZodString;
|
7548
9171
|
transactionId: z.ZodString;
|
7549
|
-
|
9172
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7550
9173
|
filename: z.ZodString;
|
7551
9174
|
originalFilename: z.ZodString;
|
7552
9175
|
type: z.ZodString;
|
@@ -7659,8 +9282,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7659
9282
|
addressLine2?: string | null | undefined;
|
7660
9283
|
addressLine3?: string | null | undefined;
|
7661
9284
|
postcodeOrZip?: string | null | undefined;
|
7662
|
-
}>]
|
7663
|
-
|
9285
|
+
}>]>>>;
|
9286
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7664
9287
|
filename: z.ZodString;
|
7665
9288
|
originalFilename: z.ZodString;
|
7666
9289
|
type: z.ZodString;
|
@@ -7774,11 +9397,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7774
9397
|
addressLine3?: string | null | undefined;
|
7775
9398
|
postcodeOrZip?: string | null | undefined;
|
7776
9399
|
}>]>>>;
|
9400
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
7777
9401
|
}, {
|
7778
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
9402
|
+
type: z.ZodDefault<z.ZodLiteral<"ASSIGN">>;
|
9403
|
+
assignedTo: z.ZodString;
|
7779
9404
|
}>, "strip", z.ZodTypeAny, {
|
7780
|
-
type: "
|
7781
|
-
|
9405
|
+
type: "ASSIGN";
|
9406
|
+
declaration: Record<string, string | number | boolean | {
|
7782
9407
|
type: string;
|
7783
9408
|
filename: string;
|
7784
9409
|
originalFilename: string;
|
@@ -7816,9 +9441,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7816
9441
|
filename: string;
|
7817
9442
|
originalFilename: string;
|
7818
9443
|
}[] | undefined>;
|
9444
|
+
assignedTo: string;
|
7819
9445
|
eventId: string;
|
7820
9446
|
transactionId: string;
|
7821
|
-
|
9447
|
+
annotation?: Record<string, string | number | boolean | {
|
7822
9448
|
type: string;
|
7823
9449
|
filename: string;
|
7824
9450
|
originalFilename: string;
|
@@ -7856,8 +9482,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7856
9482
|
filename: string;
|
7857
9483
|
originalFilename: string;
|
7858
9484
|
}[] | undefined> | undefined;
|
9485
|
+
originalActionId?: string | undefined;
|
7859
9486
|
}, {
|
7860
|
-
|
9487
|
+
assignedTo: string;
|
9488
|
+
eventId: string;
|
9489
|
+
transactionId: string;
|
9490
|
+
type?: "ASSIGN" | undefined;
|
9491
|
+
declaration?: Record<string, string | number | boolean | {
|
7861
9492
|
type: string;
|
7862
9493
|
filename: string;
|
7863
9494
|
originalFilename: string;
|
@@ -7894,11 +9525,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7894
9525
|
option: string;
|
7895
9526
|
filename: string;
|
7896
9527
|
originalFilename: string;
|
7897
|
-
}[] | undefined
|
7898
|
-
|
7899
|
-
transactionId: string;
|
7900
|
-
type?: "ARCHIVE" | undefined;
|
7901
|
-
metadata?: Record<string, string | number | boolean | {
|
9528
|
+
}[] | undefined> | undefined;
|
9529
|
+
annotation?: Record<string, string | number | boolean | {
|
7902
9530
|
type: string;
|
7903
9531
|
filename: string;
|
7904
9532
|
originalFilename: string;
|
@@ -7936,10 +9564,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7936
9564
|
filename: string;
|
7937
9565
|
originalFilename: string;
|
7938
9566
|
}[] | undefined> | undefined;
|
9567
|
+
originalActionId?: string | undefined;
|
7939
9568
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7940
9569
|
eventId: z.ZodString;
|
7941
9570
|
transactionId: z.ZodString;
|
7942
|
-
|
9571
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
7943
9572
|
filename: z.ZodString;
|
7944
9573
|
originalFilename: z.ZodString;
|
7945
9574
|
type: z.ZodString;
|
@@ -8052,8 +9681,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8052
9681
|
addressLine2?: string | null | undefined;
|
8053
9682
|
addressLine3?: string | null | undefined;
|
8054
9683
|
postcodeOrZip?: string | null | undefined;
|
8055
|
-
}>]
|
8056
|
-
|
9684
|
+
}>]>>>;
|
9685
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8057
9686
|
filename: z.ZodString;
|
8058
9687
|
originalFilename: z.ZodString;
|
8059
9688
|
type: z.ZodString;
|
@@ -8167,12 +9796,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8167
9796
|
addressLine3?: string | null | undefined;
|
8168
9797
|
postcodeOrZip?: string | null | undefined;
|
8169
9798
|
}>]>>>;
|
9799
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
8170
9800
|
}, {
|
8171
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
8172
|
-
assignedTo: z.
|
9801
|
+
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
9802
|
+
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
8173
9803
|
}>, "strip", z.ZodTypeAny, {
|
8174
|
-
type: "
|
8175
|
-
|
9804
|
+
type: "UNASSIGN";
|
9805
|
+
declaration: Record<string, string | number | boolean | {
|
8176
9806
|
type: string;
|
8177
9807
|
filename: string;
|
8178
9808
|
originalFilename: string;
|
@@ -8210,10 +9840,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8210
9840
|
filename: string;
|
8211
9841
|
originalFilename: string;
|
8212
9842
|
}[] | undefined>;
|
8213
|
-
assignedTo:
|
9843
|
+
assignedTo: null;
|
8214
9844
|
eventId: string;
|
8215
9845
|
transactionId: string;
|
8216
|
-
|
9846
|
+
annotation?: Record<string, string | number | boolean | {
|
8217
9847
|
type: string;
|
8218
9848
|
filename: string;
|
8219
9849
|
originalFilename: string;
|
@@ -8251,8 +9881,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8251
9881
|
filename: string;
|
8252
9882
|
originalFilename: string;
|
8253
9883
|
}[] | undefined> | undefined;
|
9884
|
+
originalActionId?: string | undefined;
|
8254
9885
|
}, {
|
8255
|
-
|
9886
|
+
eventId: string;
|
9887
|
+
transactionId: string;
|
9888
|
+
type?: "UNASSIGN" | undefined;
|
9889
|
+
declaration?: Record<string, string | number | boolean | {
|
8256
9890
|
type: string;
|
8257
9891
|
filename: string;
|
8258
9892
|
originalFilename: string;
|
@@ -8289,12 +9923,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8289
9923
|
option: string;
|
8290
9924
|
filename: string;
|
8291
9925
|
originalFilename: string;
|
8292
|
-
}[] | undefined
|
8293
|
-
|
8294
|
-
eventId: string;
|
8295
|
-
transactionId: string;
|
8296
|
-
type?: "ASSIGN" | undefined;
|
8297
|
-
metadata?: Record<string, string | number | boolean | {
|
9926
|
+
}[] | undefined> | undefined;
|
9927
|
+
annotation?: Record<string, string | number | boolean | {
|
8298
9928
|
type: string;
|
8299
9929
|
filename: string;
|
8300
9930
|
originalFilename: string;
|
@@ -8332,10 +9962,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8332
9962
|
filename: string;
|
8333
9963
|
originalFilename: string;
|
8334
9964
|
}[] | undefined> | undefined;
|
9965
|
+
originalActionId?: string | undefined;
|
9966
|
+
assignedTo?: null | undefined;
|
8335
9967
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8336
9968
|
eventId: z.ZodString;
|
8337
9969
|
transactionId: z.ZodString;
|
8338
|
-
|
9970
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8339
9971
|
filename: z.ZodString;
|
8340
9972
|
originalFilename: z.ZodString;
|
8341
9973
|
type: z.ZodString;
|
@@ -8448,8 +10080,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8448
10080
|
addressLine2?: string | null | undefined;
|
8449
10081
|
addressLine3?: string | null | undefined;
|
8450
10082
|
postcodeOrZip?: string | null | undefined;
|
8451
|
-
}>]
|
8452
|
-
|
10083
|
+
}>]>>>;
|
10084
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8453
10085
|
filename: z.ZodString;
|
8454
10086
|
originalFilename: z.ZodString;
|
8455
10087
|
type: z.ZodString;
|
@@ -8563,11 +10195,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8563
10195
|
addressLine3?: string | null | undefined;
|
8564
10196
|
postcodeOrZip?: string | null | undefined;
|
8565
10197
|
}>]>>>;
|
10198
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
8566
10199
|
}, {
|
8567
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
10200
|
+
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
8568
10201
|
}>, "strip", z.ZodTypeAny, {
|
8569
|
-
type: "
|
8570
|
-
|
10202
|
+
type: "PRINT_CERTIFICATE";
|
10203
|
+
declaration: Record<string, string | number | boolean | {
|
8571
10204
|
type: string;
|
8572
10205
|
filename: string;
|
8573
10206
|
originalFilename: string;
|
@@ -8607,7 +10240,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8607
10240
|
}[] | undefined>;
|
8608
10241
|
eventId: string;
|
8609
10242
|
transactionId: string;
|
8610
|
-
|
10243
|
+
annotation?: Record<string, string | number | boolean | {
|
8611
10244
|
type: string;
|
8612
10245
|
filename: string;
|
8613
10246
|
originalFilename: string;
|
@@ -8645,8 +10278,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8645
10278
|
filename: string;
|
8646
10279
|
originalFilename: string;
|
8647
10280
|
}[] | undefined> | undefined;
|
10281
|
+
originalActionId?: string | undefined;
|
8648
10282
|
}, {
|
8649
|
-
|
10283
|
+
eventId: string;
|
10284
|
+
transactionId: string;
|
10285
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
10286
|
+
declaration?: Record<string, string | number | boolean | {
|
8650
10287
|
type: string;
|
8651
10288
|
filename: string;
|
8652
10289
|
originalFilename: string;
|
@@ -8683,11 +10320,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8683
10320
|
option: string;
|
8684
10321
|
filename: string;
|
8685
10322
|
originalFilename: string;
|
8686
|
-
}[] | undefined
|
8687
|
-
|
8688
|
-
transactionId: string;
|
8689
|
-
type?: "UNASSIGN" | undefined;
|
8690
|
-
metadata?: Record<string, string | number | boolean | {
|
10323
|
+
}[] | undefined> | undefined;
|
10324
|
+
annotation?: Record<string, string | number | boolean | {
|
8691
10325
|
type: string;
|
8692
10326
|
filename: string;
|
8693
10327
|
originalFilename: string;
|
@@ -8725,10 +10359,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8725
10359
|
filename: string;
|
8726
10360
|
originalFilename: string;
|
8727
10361
|
}[] | undefined> | undefined;
|
10362
|
+
originalActionId?: string | undefined;
|
8728
10363
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8729
10364
|
eventId: z.ZodString;
|
8730
10365
|
transactionId: z.ZodString;
|
8731
|
-
|
10366
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8732
10367
|
filename: z.ZodString;
|
8733
10368
|
originalFilename: z.ZodString;
|
8734
10369
|
type: z.ZodString;
|
@@ -8841,8 +10476,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8841
10476
|
addressLine2?: string | null | undefined;
|
8842
10477
|
addressLine3?: string | null | undefined;
|
8843
10478
|
postcodeOrZip?: string | null | undefined;
|
8844
|
-
}>]
|
8845
|
-
|
10479
|
+
}>]>>>;
|
10480
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
8846
10481
|
filename: z.ZodString;
|
8847
10482
|
originalFilename: z.ZodString;
|
8848
10483
|
type: z.ZodString;
|
@@ -8956,11 +10591,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8956
10591
|
addressLine3?: string | null | undefined;
|
8957
10592
|
postcodeOrZip?: string | null | undefined;
|
8958
10593
|
}>]>>>;
|
10594
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
8959
10595
|
}, {
|
8960
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
10596
|
+
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
8961
10597
|
}>, "strip", z.ZodTypeAny, {
|
8962
|
-
type: "
|
8963
|
-
|
10598
|
+
type: "REQUEST_CORRECTION";
|
10599
|
+
declaration: Record<string, string | number | boolean | {
|
8964
10600
|
type: string;
|
8965
10601
|
filename: string;
|
8966
10602
|
originalFilename: string;
|
@@ -9000,7 +10636,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9000
10636
|
}[] | undefined>;
|
9001
10637
|
eventId: string;
|
9002
10638
|
transactionId: string;
|
9003
|
-
|
10639
|
+
annotation?: Record<string, string | number | boolean | {
|
9004
10640
|
type: string;
|
9005
10641
|
filename: string;
|
9006
10642
|
originalFilename: string;
|
@@ -9038,8 +10674,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9038
10674
|
filename: string;
|
9039
10675
|
originalFilename: string;
|
9040
10676
|
}[] | undefined> | undefined;
|
10677
|
+
originalActionId?: string | undefined;
|
9041
10678
|
}, {
|
9042
|
-
|
10679
|
+
eventId: string;
|
10680
|
+
transactionId: string;
|
10681
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
10682
|
+
declaration?: Record<string, string | number | boolean | {
|
9043
10683
|
type: string;
|
9044
10684
|
filename: string;
|
9045
10685
|
originalFilename: string;
|
@@ -9076,11 +10716,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9076
10716
|
option: string;
|
9077
10717
|
filename: string;
|
9078
10718
|
originalFilename: string;
|
9079
|
-
}[] | undefined
|
9080
|
-
|
9081
|
-
transactionId: string;
|
9082
|
-
type?: "PRINT_CERTIFICATE" | undefined;
|
9083
|
-
metadata?: Record<string, string | number | boolean | {
|
10719
|
+
}[] | undefined> | undefined;
|
10720
|
+
annotation?: Record<string, string | number | boolean | {
|
9084
10721
|
type: string;
|
9085
10722
|
filename: string;
|
9086
10723
|
originalFilename: string;
|
@@ -9118,10 +10755,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9118
10755
|
filename: string;
|
9119
10756
|
originalFilename: string;
|
9120
10757
|
}[] | undefined> | undefined;
|
10758
|
+
originalActionId?: string | undefined;
|
9121
10759
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9122
10760
|
eventId: z.ZodString;
|
9123
10761
|
transactionId: z.ZodString;
|
9124
|
-
|
10762
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9125
10763
|
filename: z.ZodString;
|
9126
10764
|
originalFilename: z.ZodString;
|
9127
10765
|
type: z.ZodString;
|
@@ -9234,8 +10872,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9234
10872
|
addressLine2?: string | null | undefined;
|
9235
10873
|
addressLine3?: string | null | undefined;
|
9236
10874
|
postcodeOrZip?: string | null | undefined;
|
9237
|
-
}>]
|
9238
|
-
|
10875
|
+
}>]>>>;
|
10876
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9239
10877
|
filename: z.ZodString;
|
9240
10878
|
originalFilename: z.ZodString;
|
9241
10879
|
type: z.ZodString;
|
@@ -9349,11 +10987,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9349
10987
|
addressLine3?: string | null | undefined;
|
9350
10988
|
postcodeOrZip?: string | null | undefined;
|
9351
10989
|
}>]>>>;
|
10990
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
9352
10991
|
}, {
|
9353
|
-
|
10992
|
+
requestId: z.ZodString;
|
10993
|
+
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
9354
10994
|
}>, "strip", z.ZodTypeAny, {
|
9355
|
-
type: "
|
9356
|
-
|
10995
|
+
type: "REJECT_CORRECTION";
|
10996
|
+
declaration: Record<string, string | number | boolean | {
|
9357
10997
|
type: string;
|
9358
10998
|
filename: string;
|
9359
10999
|
originalFilename: string;
|
@@ -9391,9 +11031,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9391
11031
|
filename: string;
|
9392
11032
|
originalFilename: string;
|
9393
11033
|
}[] | undefined>;
|
11034
|
+
requestId: string;
|
9394
11035
|
eventId: string;
|
9395
11036
|
transactionId: string;
|
9396
|
-
|
11037
|
+
annotation?: Record<string, string | number | boolean | {
|
9397
11038
|
type: string;
|
9398
11039
|
filename: string;
|
9399
11040
|
originalFilename: string;
|
@@ -9431,8 +11072,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9431
11072
|
filename: string;
|
9432
11073
|
originalFilename: string;
|
9433
11074
|
}[] | undefined> | undefined;
|
11075
|
+
originalActionId?: string | undefined;
|
9434
11076
|
}, {
|
9435
|
-
|
11077
|
+
requestId: string;
|
11078
|
+
eventId: string;
|
11079
|
+
transactionId: string;
|
11080
|
+
type?: "REJECT_CORRECTION" | undefined;
|
11081
|
+
declaration?: Record<string, string | number | boolean | {
|
9436
11082
|
type: string;
|
9437
11083
|
filename: string;
|
9438
11084
|
originalFilename: string;
|
@@ -9469,11 +11115,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9469
11115
|
option: string;
|
9470
11116
|
filename: string;
|
9471
11117
|
originalFilename: string;
|
9472
|
-
}[] | undefined
|
9473
|
-
|
9474
|
-
transactionId: string;
|
9475
|
-
type?: "REQUEST_CORRECTION" | undefined;
|
9476
|
-
metadata?: Record<string, string | number | boolean | {
|
11118
|
+
}[] | undefined> | undefined;
|
11119
|
+
annotation?: Record<string, string | number | boolean | {
|
9477
11120
|
type: string;
|
9478
11121
|
filename: string;
|
9479
11122
|
originalFilename: string;
|
@@ -9511,10 +11154,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9511
11154
|
filename: string;
|
9512
11155
|
originalFilename: string;
|
9513
11156
|
}[] | undefined> | undefined;
|
11157
|
+
originalActionId?: string | undefined;
|
9514
11158
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9515
11159
|
eventId: z.ZodString;
|
9516
11160
|
transactionId: z.ZodString;
|
9517
|
-
|
11161
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9518
11162
|
filename: z.ZodString;
|
9519
11163
|
originalFilename: z.ZodString;
|
9520
11164
|
type: z.ZodString;
|
@@ -9627,8 +11271,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9627
11271
|
addressLine2?: string | null | undefined;
|
9628
11272
|
addressLine3?: string | null | undefined;
|
9629
11273
|
postcodeOrZip?: string | null | undefined;
|
9630
|
-
}>]
|
9631
|
-
|
11274
|
+
}>]>>>;
|
11275
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9632
11276
|
filename: z.ZodString;
|
9633
11277
|
originalFilename: z.ZodString;
|
9634
11278
|
type: z.ZodString;
|
@@ -9742,12 +11386,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9742
11386
|
addressLine3?: string | null | undefined;
|
9743
11387
|
postcodeOrZip?: string | null | undefined;
|
9744
11388
|
}>]>>>;
|
11389
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
9745
11390
|
}, {
|
9746
11391
|
requestId: z.ZodString;
|
9747
|
-
type: z.ZodDefault<z.ZodLiteral<"
|
11392
|
+
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
9748
11393
|
}>, "strip", z.ZodTypeAny, {
|
9749
|
-
type: "
|
9750
|
-
|
11394
|
+
type: "APPROVE_CORRECTION";
|
11395
|
+
declaration: Record<string, string | number | boolean | {
|
9751
11396
|
type: string;
|
9752
11397
|
filename: string;
|
9753
11398
|
originalFilename: string;
|
@@ -9788,7 +11433,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9788
11433
|
requestId: string;
|
9789
11434
|
eventId: string;
|
9790
11435
|
transactionId: string;
|
9791
|
-
|
11436
|
+
annotation?: Record<string, string | number | boolean | {
|
9792
11437
|
type: string;
|
9793
11438
|
filename: string;
|
9794
11439
|
originalFilename: string;
|
@@ -9826,8 +11471,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9826
11471
|
filename: string;
|
9827
11472
|
originalFilename: string;
|
9828
11473
|
}[] | undefined> | undefined;
|
11474
|
+
originalActionId?: string | undefined;
|
9829
11475
|
}, {
|
9830
|
-
|
11476
|
+
requestId: string;
|
11477
|
+
eventId: string;
|
11478
|
+
transactionId: string;
|
11479
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
11480
|
+
declaration?: Record<string, string | number | boolean | {
|
9831
11481
|
type: string;
|
9832
11482
|
filename: string;
|
9833
11483
|
originalFilename: string;
|
@@ -9864,12 +11514,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9864
11514
|
option: string;
|
9865
11515
|
filename: string;
|
9866
11516
|
originalFilename: string;
|
9867
|
-
}[] | undefined
|
9868
|
-
|
9869
|
-
eventId: string;
|
9870
|
-
transactionId: string;
|
9871
|
-
type?: "REJECT_CORRECTION" | undefined;
|
9872
|
-
metadata?: Record<string, string | number | boolean | {
|
11517
|
+
}[] | undefined> | undefined;
|
11518
|
+
annotation?: Record<string, string | number | boolean | {
|
9873
11519
|
type: string;
|
9874
11520
|
filename: string;
|
9875
11521
|
originalFilename: string;
|
@@ -9907,10 +11553,11 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9907
11553
|
filename: string;
|
9908
11554
|
originalFilename: string;
|
9909
11555
|
}[] | undefined> | undefined;
|
11556
|
+
originalActionId?: string | undefined;
|
9910
11557
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9911
11558
|
eventId: z.ZodString;
|
9912
11559
|
transactionId: z.ZodString;
|
9913
|
-
|
11560
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
9914
11561
|
filename: z.ZodString;
|
9915
11562
|
originalFilename: z.ZodString;
|
9916
11563
|
type: z.ZodString;
|
@@ -10023,8 +11670,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10023
11670
|
addressLine2?: string | null | undefined;
|
10024
11671
|
addressLine3?: string | null | undefined;
|
10025
11672
|
postcodeOrZip?: string | null | undefined;
|
10026
|
-
}>]
|
10027
|
-
|
11673
|
+
}>]>>>;
|
11674
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
10028
11675
|
filename: z.ZodString;
|
10029
11676
|
originalFilename: z.ZodString;
|
10030
11677
|
type: z.ZodString;
|
@@ -10138,12 +11785,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10138
11785
|
addressLine3?: string | null | undefined;
|
10139
11786
|
postcodeOrZip?: string | null | undefined;
|
10140
11787
|
}>]>>>;
|
11788
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
10141
11789
|
}, {
|
10142
|
-
|
10143
|
-
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
11790
|
+
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
10144
11791
|
}>, "strip", z.ZodTypeAny, {
|
10145
|
-
type: "
|
10146
|
-
|
11792
|
+
type: "READ";
|
11793
|
+
declaration: Record<string, string | number | boolean | {
|
10147
11794
|
type: string;
|
10148
11795
|
filename: string;
|
10149
11796
|
originalFilename: string;
|
@@ -10181,10 +11828,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10181
11828
|
filename: string;
|
10182
11829
|
originalFilename: string;
|
10183
11830
|
}[] | undefined>;
|
10184
|
-
requestId: string;
|
10185
11831
|
eventId: string;
|
10186
11832
|
transactionId: string;
|
10187
|
-
|
11833
|
+
annotation?: Record<string, string | number | boolean | {
|
10188
11834
|
type: string;
|
10189
11835
|
filename: string;
|
10190
11836
|
originalFilename: string;
|
@@ -10222,8 +11868,12 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10222
11868
|
filename: string;
|
10223
11869
|
originalFilename: string;
|
10224
11870
|
}[] | undefined> | undefined;
|
11871
|
+
originalActionId?: string | undefined;
|
10225
11872
|
}, {
|
10226
|
-
|
11873
|
+
eventId: string;
|
11874
|
+
transactionId: string;
|
11875
|
+
type?: "READ" | undefined;
|
11876
|
+
declaration?: Record<string, string | number | boolean | {
|
10227
11877
|
type: string;
|
10228
11878
|
filename: string;
|
10229
11879
|
originalFilename: string;
|
@@ -10260,12 +11910,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10260
11910
|
option: string;
|
10261
11911
|
filename: string;
|
10262
11912
|
originalFilename: string;
|
10263
|
-
}[] | undefined
|
10264
|
-
|
10265
|
-
eventId: string;
|
10266
|
-
transactionId: string;
|
10267
|
-
type?: "APPROVE_CORRECTION" | undefined;
|
10268
|
-
metadata?: Record<string, string | number | boolean | {
|
11913
|
+
}[] | undefined> | undefined;
|
11914
|
+
annotation?: Record<string, string | number | boolean | {
|
10269
11915
|
type: string;
|
10270
11916
|
filename: string;
|
10271
11917
|
originalFilename: string;
|
@@ -10303,6 +11949,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
10303
11949
|
filename: string;
|
10304
11950
|
originalFilename: string;
|
10305
11951
|
}[] | undefined> | undefined;
|
11952
|
+
originalActionId?: string | undefined;
|
10306
11953
|
}>]>;
|
10307
11954
|
export type ActionInput = z.input<typeof ActionInput>;
|
10308
11955
|
export type ActionInputWithType = z.infer<typeof ActionInput>;
|