@opencrvs/toolkit 1.8.0-rc.ff62f9e → 1.8.0-rc.ffb4f66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/commons/api/router.d.ts +6496 -15505
- 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 +1202 -6605
- package/dist/commons/events/ActionDocument.d.ts +6956 -255
- package/dist/commons/events/ActionInput.d.ts +1316 -367
- package/dist/commons/events/ActionType.d.ts +25 -16
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +52 -37
- package/dist/commons/events/EventConfig.d.ts +648 -2983
- package/dist/commons/events/EventConfigInput.d.ts +5 -2
- package/dist/commons/events/EventDocument.d.ts +495 -662
- 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 +559 -322
- 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 +28 -433
- 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 +83 -178
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +161 -93
- package/dist/events/index.js +1103 -819
- package/package.json +1 -1
@@ -4,11 +4,11 @@ export declare const EventDocument: z.ZodObject<{
|
|
4
4
|
type: z.ZodString;
|
5
5
|
createdAt: z.ZodString;
|
6
6
|
updatedAt: z.ZodString;
|
7
|
-
actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
7
|
+
actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
8
8
|
id: z.ZodString;
|
9
9
|
createdAt: z.ZodString;
|
10
10
|
createdBy: z.ZodString;
|
11
|
-
|
11
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12
12
|
filename: z.ZodString;
|
13
13
|
originalFilename: z.ZodString;
|
14
14
|
type: z.ZodString;
|
@@ -122,7 +122,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
122
122
|
addressLine3?: string | null | undefined;
|
123
123
|
postcodeOrZip?: string | null | undefined;
|
124
124
|
}>]>>;
|
125
|
-
|
125
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
126
126
|
filename: z.ZodString;
|
127
127
|
originalFilename: z.ZodString;
|
128
128
|
type: z.ZodString;
|
@@ -237,12 +237,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
237
237
|
postcodeOrZip?: string | null | undefined;
|
238
238
|
}>]>>>;
|
239
239
|
createdAtLocation: z.ZodString;
|
240
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
241
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
240
242
|
}, {
|
241
243
|
type: z.ZodLiteral<"CREATE">;
|
242
244
|
}>, "strip", z.ZodTypeAny, {
|
243
245
|
type: "CREATE";
|
244
246
|
id: string;
|
245
|
-
|
247
|
+
status: "Rejected" | "Requested" | "Accepted";
|
248
|
+
createdAt: string;
|
249
|
+
createdBy: string;
|
250
|
+
declaration: Record<string, string | number | boolean | {
|
246
251
|
type: string;
|
247
252
|
filename: string;
|
248
253
|
originalFilename: string;
|
@@ -280,10 +285,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
280
285
|
filename: string;
|
281
286
|
originalFilename: string;
|
282
287
|
}[] | undefined>;
|
283
|
-
createdAt: string;
|
284
|
-
createdBy: string;
|
285
288
|
createdAtLocation: string;
|
286
|
-
|
289
|
+
annotation?: Record<string, string | number | boolean | {
|
287
290
|
type: string;
|
288
291
|
filename: string;
|
289
292
|
originalFilename: string;
|
@@ -321,10 +324,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
321
324
|
filename: string;
|
322
325
|
originalFilename: string;
|
323
326
|
}[] | undefined> | undefined;
|
327
|
+
originalActionId?: string | undefined;
|
324
328
|
}, {
|
325
329
|
type: "CREATE";
|
326
330
|
id: string;
|
327
|
-
|
331
|
+
status: "Rejected" | "Requested" | "Accepted";
|
332
|
+
createdAt: string;
|
333
|
+
createdBy: string;
|
334
|
+
declaration: Record<string, string | number | boolean | {
|
328
335
|
type: string;
|
329
336
|
filename: string;
|
330
337
|
originalFilename: string;
|
@@ -362,10 +369,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
362
369
|
filename: string;
|
363
370
|
originalFilename: string;
|
364
371
|
}[] | undefined>;
|
365
|
-
createdAt: string;
|
366
|
-
createdBy: string;
|
367
372
|
createdAtLocation: string;
|
368
|
-
|
373
|
+
annotation?: Record<string, string | number | boolean | {
|
369
374
|
type: string;
|
370
375
|
filename: string;
|
371
376
|
originalFilename: string;
|
@@ -403,11 +408,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
403
408
|
filename: string;
|
404
409
|
originalFilename: string;
|
405
410
|
}[] | undefined> | undefined;
|
411
|
+
originalActionId?: string | undefined;
|
406
412
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
407
413
|
id: z.ZodString;
|
408
414
|
createdAt: z.ZodString;
|
409
415
|
createdBy: z.ZodString;
|
410
|
-
|
416
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
411
417
|
filename: z.ZodString;
|
412
418
|
originalFilename: z.ZodString;
|
413
419
|
type: z.ZodString;
|
@@ -521,7 +527,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
521
527
|
addressLine3?: string | null | undefined;
|
522
528
|
postcodeOrZip?: string | null | undefined;
|
523
529
|
}>]>>;
|
524
|
-
|
530
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
525
531
|
filename: z.ZodString;
|
526
532
|
originalFilename: z.ZodString;
|
527
533
|
type: z.ZodString;
|
@@ -636,12 +642,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
636
642
|
postcodeOrZip?: string | null | undefined;
|
637
643
|
}>]>>>;
|
638
644
|
createdAtLocation: z.ZodString;
|
645
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
646
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
639
647
|
}, {
|
640
648
|
type: z.ZodLiteral<"VALIDATE">;
|
641
649
|
}>, "strip", z.ZodTypeAny, {
|
642
650
|
type: "VALIDATE";
|
643
651
|
id: string;
|
644
|
-
|
652
|
+
status: "Rejected" | "Requested" | "Accepted";
|
653
|
+
createdAt: string;
|
654
|
+
createdBy: string;
|
655
|
+
declaration: Record<string, string | number | boolean | {
|
645
656
|
type: string;
|
646
657
|
filename: string;
|
647
658
|
originalFilename: string;
|
@@ -679,10 +690,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
679
690
|
filename: string;
|
680
691
|
originalFilename: string;
|
681
692
|
}[] | undefined>;
|
682
|
-
createdAt: string;
|
683
|
-
createdBy: string;
|
684
693
|
createdAtLocation: string;
|
685
|
-
|
694
|
+
annotation?: Record<string, string | number | boolean | {
|
686
695
|
type: string;
|
687
696
|
filename: string;
|
688
697
|
originalFilename: string;
|
@@ -720,10 +729,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
720
729
|
filename: string;
|
721
730
|
originalFilename: string;
|
722
731
|
}[] | undefined> | undefined;
|
732
|
+
originalActionId?: string | undefined;
|
723
733
|
}, {
|
724
734
|
type: "VALIDATE";
|
725
735
|
id: string;
|
726
|
-
|
736
|
+
status: "Rejected" | "Requested" | "Accepted";
|
737
|
+
createdAt: string;
|
738
|
+
createdBy: string;
|
739
|
+
declaration: Record<string, string | number | boolean | {
|
727
740
|
type: string;
|
728
741
|
filename: string;
|
729
742
|
originalFilename: string;
|
@@ -761,10 +774,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
761
774
|
filename: string;
|
762
775
|
originalFilename: string;
|
763
776
|
}[] | undefined>;
|
764
|
-
createdAt: string;
|
765
|
-
createdBy: string;
|
766
777
|
createdAtLocation: string;
|
767
|
-
|
778
|
+
annotation?: Record<string, string | number | boolean | {
|
768
779
|
type: string;
|
769
780
|
filename: string;
|
770
781
|
originalFilename: string;
|
@@ -802,11 +813,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
802
813
|
filename: string;
|
803
814
|
originalFilename: string;
|
804
815
|
}[] | undefined> | undefined;
|
816
|
+
originalActionId?: string | undefined;
|
805
817
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
806
818
|
id: z.ZodString;
|
807
819
|
createdAt: z.ZodString;
|
808
820
|
createdBy: z.ZodString;
|
809
|
-
|
821
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
810
822
|
filename: z.ZodString;
|
811
823
|
originalFilename: z.ZodString;
|
812
824
|
type: z.ZodString;
|
@@ -920,7 +932,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
920
932
|
addressLine3?: string | null | undefined;
|
921
933
|
postcodeOrZip?: string | null | undefined;
|
922
934
|
}>]>>;
|
923
|
-
|
935
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
924
936
|
filename: z.ZodString;
|
925
937
|
originalFilename: z.ZodString;
|
926
938
|
type: z.ZodString;
|
@@ -1035,12 +1047,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1035
1047
|
postcodeOrZip?: string | null | undefined;
|
1036
1048
|
}>]>>>;
|
1037
1049
|
createdAtLocation: z.ZodString;
|
1050
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1051
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1038
1052
|
}, {
|
1039
1053
|
type: z.ZodLiteral<"REJECT">;
|
1040
1054
|
}>, "strip", z.ZodTypeAny, {
|
1041
1055
|
type: "REJECT";
|
1042
1056
|
id: string;
|
1043
|
-
|
1057
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1058
|
+
createdAt: string;
|
1059
|
+
createdBy: string;
|
1060
|
+
declaration: Record<string, string | number | boolean | {
|
1044
1061
|
type: string;
|
1045
1062
|
filename: string;
|
1046
1063
|
originalFilename: string;
|
@@ -1078,10 +1095,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1078
1095
|
filename: string;
|
1079
1096
|
originalFilename: string;
|
1080
1097
|
}[] | undefined>;
|
1081
|
-
createdAt: string;
|
1082
|
-
createdBy: string;
|
1083
1098
|
createdAtLocation: string;
|
1084
|
-
|
1099
|
+
annotation?: Record<string, string | number | boolean | {
|
1085
1100
|
type: string;
|
1086
1101
|
filename: string;
|
1087
1102
|
originalFilename: string;
|
@@ -1119,10 +1134,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1119
1134
|
filename: string;
|
1120
1135
|
originalFilename: string;
|
1121
1136
|
}[] | undefined> | undefined;
|
1137
|
+
originalActionId?: string | undefined;
|
1122
1138
|
}, {
|
1123
1139
|
type: "REJECT";
|
1124
1140
|
id: string;
|
1125
|
-
|
1141
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1142
|
+
createdAt: string;
|
1143
|
+
createdBy: string;
|
1144
|
+
declaration: Record<string, string | number | boolean | {
|
1126
1145
|
type: string;
|
1127
1146
|
filename: string;
|
1128
1147
|
originalFilename: string;
|
@@ -1160,10 +1179,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1160
1179
|
filename: string;
|
1161
1180
|
originalFilename: string;
|
1162
1181
|
}[] | undefined>;
|
1163
|
-
createdAt: string;
|
1164
|
-
createdBy: string;
|
1165
1182
|
createdAtLocation: string;
|
1166
|
-
|
1183
|
+
annotation?: Record<string, string | number | boolean | {
|
1167
1184
|
type: string;
|
1168
1185
|
filename: string;
|
1169
1186
|
originalFilename: string;
|
@@ -1201,11 +1218,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1201
1218
|
filename: string;
|
1202
1219
|
originalFilename: string;
|
1203
1220
|
}[] | undefined> | undefined;
|
1221
|
+
originalActionId?: string | undefined;
|
1204
1222
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1205
1223
|
id: z.ZodString;
|
1206
1224
|
createdAt: z.ZodString;
|
1207
1225
|
createdBy: z.ZodString;
|
1208
|
-
|
1226
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1209
1227
|
filename: z.ZodString;
|
1210
1228
|
originalFilename: z.ZodString;
|
1211
1229
|
type: z.ZodString;
|
@@ -1319,7 +1337,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1319
1337
|
addressLine3?: string | null | undefined;
|
1320
1338
|
postcodeOrZip?: string | null | undefined;
|
1321
1339
|
}>]>>;
|
1322
|
-
|
1340
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1323
1341
|
filename: z.ZodString;
|
1324
1342
|
originalFilename: z.ZodString;
|
1325
1343
|
type: z.ZodString;
|
@@ -1434,12 +1452,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1434
1452
|
postcodeOrZip?: string | null | undefined;
|
1435
1453
|
}>]>>>;
|
1436
1454
|
createdAtLocation: z.ZodString;
|
1455
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1456
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1437
1457
|
}, {
|
1438
1458
|
type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
|
1439
1459
|
}>, "strip", z.ZodTypeAny, {
|
1440
1460
|
type: "MARKED_AS_DUPLICATE";
|
1441
1461
|
id: string;
|
1442
|
-
|
1462
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1463
|
+
createdAt: string;
|
1464
|
+
createdBy: string;
|
1465
|
+
declaration: Record<string, string | number | boolean | {
|
1443
1466
|
type: string;
|
1444
1467
|
filename: string;
|
1445
1468
|
originalFilename: string;
|
@@ -1477,10 +1500,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1477
1500
|
filename: string;
|
1478
1501
|
originalFilename: string;
|
1479
1502
|
}[] | undefined>;
|
1480
|
-
createdAt: string;
|
1481
|
-
createdBy: string;
|
1482
1503
|
createdAtLocation: string;
|
1483
|
-
|
1504
|
+
annotation?: Record<string, string | number | boolean | {
|
1484
1505
|
type: string;
|
1485
1506
|
filename: string;
|
1486
1507
|
originalFilename: string;
|
@@ -1518,10 +1539,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1518
1539
|
filename: string;
|
1519
1540
|
originalFilename: string;
|
1520
1541
|
}[] | undefined> | undefined;
|
1542
|
+
originalActionId?: string | undefined;
|
1521
1543
|
}, {
|
1522
1544
|
type: "MARKED_AS_DUPLICATE";
|
1523
1545
|
id: string;
|
1524
|
-
|
1546
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1547
|
+
createdAt: string;
|
1548
|
+
createdBy: string;
|
1549
|
+
declaration: Record<string, string | number | boolean | {
|
1525
1550
|
type: string;
|
1526
1551
|
filename: string;
|
1527
1552
|
originalFilename: string;
|
@@ -1559,10 +1584,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1559
1584
|
filename: string;
|
1560
1585
|
originalFilename: string;
|
1561
1586
|
}[] | undefined>;
|
1562
|
-
createdAt: string;
|
1563
|
-
createdBy: string;
|
1564
1587
|
createdAtLocation: string;
|
1565
|
-
|
1588
|
+
annotation?: Record<string, string | number | boolean | {
|
1566
1589
|
type: string;
|
1567
1590
|
filename: string;
|
1568
1591
|
originalFilename: string;
|
@@ -1600,11 +1623,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1600
1623
|
filename: string;
|
1601
1624
|
originalFilename: string;
|
1602
1625
|
}[] | undefined> | undefined;
|
1626
|
+
originalActionId?: string | undefined;
|
1603
1627
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1604
1628
|
id: z.ZodString;
|
1605
1629
|
createdAt: z.ZodString;
|
1606
1630
|
createdBy: z.ZodString;
|
1607
|
-
|
1631
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1608
1632
|
filename: z.ZodString;
|
1609
1633
|
originalFilename: z.ZodString;
|
1610
1634
|
type: z.ZodString;
|
@@ -1718,7 +1742,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1718
1742
|
addressLine3?: string | null | undefined;
|
1719
1743
|
postcodeOrZip?: string | null | undefined;
|
1720
1744
|
}>]>>;
|
1721
|
-
|
1745
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1722
1746
|
filename: z.ZodString;
|
1723
1747
|
originalFilename: z.ZodString;
|
1724
1748
|
type: z.ZodString;
|
@@ -1833,12 +1857,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1833
1857
|
postcodeOrZip?: string | null | undefined;
|
1834
1858
|
}>]>>>;
|
1835
1859
|
createdAtLocation: z.ZodString;
|
1860
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1861
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1836
1862
|
}, {
|
1837
1863
|
type: z.ZodLiteral<"ARCHIVE">;
|
1838
1864
|
}>, "strip", z.ZodTypeAny, {
|
1839
1865
|
type: "ARCHIVE";
|
1840
1866
|
id: string;
|
1841
|
-
|
1867
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1868
|
+
createdAt: string;
|
1869
|
+
createdBy: string;
|
1870
|
+
declaration: Record<string, string | number | boolean | {
|
1842
1871
|
type: string;
|
1843
1872
|
filename: string;
|
1844
1873
|
originalFilename: string;
|
@@ -1876,10 +1905,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1876
1905
|
filename: string;
|
1877
1906
|
originalFilename: string;
|
1878
1907
|
}[] | undefined>;
|
1879
|
-
createdAt: string;
|
1880
|
-
createdBy: string;
|
1881
1908
|
createdAtLocation: string;
|
1882
|
-
|
1909
|
+
annotation?: Record<string, string | number | boolean | {
|
1883
1910
|
type: string;
|
1884
1911
|
filename: string;
|
1885
1912
|
originalFilename: string;
|
@@ -1917,10 +1944,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1917
1944
|
filename: string;
|
1918
1945
|
originalFilename: string;
|
1919
1946
|
}[] | undefined> | undefined;
|
1947
|
+
originalActionId?: string | undefined;
|
1920
1948
|
}, {
|
1921
1949
|
type: "ARCHIVE";
|
1922
1950
|
id: string;
|
1923
|
-
|
1951
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1952
|
+
createdAt: string;
|
1953
|
+
createdBy: string;
|
1954
|
+
declaration: Record<string, string | number | boolean | {
|
1924
1955
|
type: string;
|
1925
1956
|
filename: string;
|
1926
1957
|
originalFilename: string;
|
@@ -1958,10 +1989,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1958
1989
|
filename: string;
|
1959
1990
|
originalFilename: string;
|
1960
1991
|
}[] | undefined>;
|
1961
|
-
createdAt: string;
|
1962
|
-
createdBy: string;
|
1963
1992
|
createdAtLocation: string;
|
1964
|
-
|
1993
|
+
annotation?: Record<string, string | number | boolean | {
|
1965
1994
|
type: string;
|
1966
1995
|
filename: string;
|
1967
1996
|
originalFilename: string;
|
@@ -1999,11 +2028,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1999
2028
|
filename: string;
|
2000
2029
|
originalFilename: string;
|
2001
2030
|
}[] | undefined> | undefined;
|
2031
|
+
originalActionId?: string | undefined;
|
2002
2032
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2003
2033
|
id: z.ZodString;
|
2004
2034
|
createdAt: z.ZodString;
|
2005
2035
|
createdBy: z.ZodString;
|
2006
|
-
|
2036
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2007
2037
|
filename: z.ZodString;
|
2008
2038
|
originalFilename: z.ZodString;
|
2009
2039
|
type: z.ZodString;
|
@@ -2117,7 +2147,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2117
2147
|
addressLine3?: string | null | undefined;
|
2118
2148
|
postcodeOrZip?: string | null | undefined;
|
2119
2149
|
}>]>>;
|
2120
|
-
|
2150
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2121
2151
|
filename: z.ZodString;
|
2122
2152
|
originalFilename: z.ZodString;
|
2123
2153
|
type: z.ZodString;
|
@@ -2232,12 +2262,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
2232
2262
|
postcodeOrZip?: string | null | undefined;
|
2233
2263
|
}>]>>>;
|
2234
2264
|
createdAtLocation: z.ZodString;
|
2265
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2266
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2235
2267
|
}, {
|
2236
2268
|
type: z.ZodLiteral<"NOTIFY">;
|
2237
2269
|
}>, "strip", z.ZodTypeAny, {
|
2238
2270
|
type: "NOTIFY";
|
2239
2271
|
id: string;
|
2240
|
-
|
2272
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2273
|
+
createdAt: string;
|
2274
|
+
createdBy: string;
|
2275
|
+
declaration: Record<string, string | number | boolean | {
|
2241
2276
|
type: string;
|
2242
2277
|
filename: string;
|
2243
2278
|
originalFilename: string;
|
@@ -2275,10 +2310,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2275
2310
|
filename: string;
|
2276
2311
|
originalFilename: string;
|
2277
2312
|
}[] | undefined>;
|
2278
|
-
createdAt: string;
|
2279
|
-
createdBy: string;
|
2280
2313
|
createdAtLocation: string;
|
2281
|
-
|
2314
|
+
annotation?: Record<string, string | number | boolean | {
|
2282
2315
|
type: string;
|
2283
2316
|
filename: string;
|
2284
2317
|
originalFilename: string;
|
@@ -2316,10 +2349,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
2316
2349
|
filename: string;
|
2317
2350
|
originalFilename: string;
|
2318
2351
|
}[] | undefined> | undefined;
|
2352
|
+
originalActionId?: string | undefined;
|
2319
2353
|
}, {
|
2320
2354
|
type: "NOTIFY";
|
2321
2355
|
id: string;
|
2322
|
-
|
2356
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2357
|
+
createdAt: string;
|
2358
|
+
createdBy: string;
|
2359
|
+
declaration: Record<string, string | number | boolean | {
|
2323
2360
|
type: string;
|
2324
2361
|
filename: string;
|
2325
2362
|
originalFilename: string;
|
@@ -2357,10 +2394,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2357
2394
|
filename: string;
|
2358
2395
|
originalFilename: string;
|
2359
2396
|
}[] | undefined>;
|
2360
|
-
createdAt: string;
|
2361
|
-
createdBy: string;
|
2362
2397
|
createdAtLocation: string;
|
2363
|
-
|
2398
|
+
annotation?: Record<string, string | number | boolean | {
|
2364
2399
|
type: string;
|
2365
2400
|
filename: string;
|
2366
2401
|
originalFilename: string;
|
@@ -2398,11 +2433,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
2398
2433
|
filename: string;
|
2399
2434
|
originalFilename: string;
|
2400
2435
|
}[] | undefined> | undefined;
|
2436
|
+
originalActionId?: string | undefined;
|
2401
2437
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2402
2438
|
id: z.ZodString;
|
2403
2439
|
createdAt: z.ZodString;
|
2404
2440
|
createdBy: z.ZodString;
|
2405
|
-
|
2441
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2406
2442
|
filename: z.ZodString;
|
2407
2443
|
originalFilename: z.ZodString;
|
2408
2444
|
type: z.ZodString;
|
@@ -2516,7 +2552,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2516
2552
|
addressLine3?: string | null | undefined;
|
2517
2553
|
postcodeOrZip?: string | null | undefined;
|
2518
2554
|
}>]>>;
|
2519
|
-
|
2555
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2520
2556
|
filename: z.ZodString;
|
2521
2557
|
originalFilename: z.ZodString;
|
2522
2558
|
type: z.ZodString;
|
@@ -2631,22 +2667,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
2631
2667
|
postcodeOrZip?: string | null | undefined;
|
2632
2668
|
}>]>>>;
|
2633
2669
|
createdAtLocation: z.ZodString;
|
2670
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2671
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2634
2672
|
}, {
|
2635
2673
|
type: z.ZodLiteral<"REGISTER">;
|
2636
|
-
|
2637
|
-
trackingId: z.ZodString;
|
2638
|
-
registrationNumber: z.ZodString;
|
2639
|
-
}, "strip", z.ZodTypeAny, {
|
2640
|
-
trackingId: string;
|
2641
|
-
registrationNumber: string;
|
2642
|
-
}, {
|
2643
|
-
trackingId: string;
|
2644
|
-
registrationNumber: string;
|
2645
|
-
}>;
|
2674
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
2646
2675
|
}>, "strip", z.ZodTypeAny, {
|
2647
2676
|
type: "REGISTER";
|
2648
2677
|
id: string;
|
2649
|
-
|
2678
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2679
|
+
createdAt: string;
|
2680
|
+
createdBy: string;
|
2681
|
+
declaration: Record<string, string | number | boolean | {
|
2650
2682
|
type: string;
|
2651
2683
|
filename: string;
|
2652
2684
|
originalFilename: string;
|
@@ -2684,14 +2716,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2684
2716
|
filename: string;
|
2685
2717
|
originalFilename: string;
|
2686
2718
|
}[] | undefined>;
|
2687
|
-
createdAt: string;
|
2688
|
-
createdBy: string;
|
2689
2719
|
createdAtLocation: string;
|
2690
|
-
|
2691
|
-
trackingId: string;
|
2692
|
-
registrationNumber: string;
|
2693
|
-
};
|
2694
|
-
metadata?: Record<string, string | number | boolean | {
|
2720
|
+
annotation?: Record<string, string | number | boolean | {
|
2695
2721
|
type: string;
|
2696
2722
|
filename: string;
|
2697
2723
|
originalFilename: string;
|
@@ -2729,10 +2755,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
2729
2755
|
filename: string;
|
2730
2756
|
originalFilename: string;
|
2731
2757
|
}[] | undefined> | undefined;
|
2758
|
+
originalActionId?: string | undefined;
|
2759
|
+
registrationNumber?: string | undefined;
|
2732
2760
|
}, {
|
2733
2761
|
type: "REGISTER";
|
2734
2762
|
id: string;
|
2735
|
-
|
2763
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2764
|
+
createdAt: string;
|
2765
|
+
createdBy: string;
|
2766
|
+
declaration: Record<string, string | number | boolean | {
|
2736
2767
|
type: string;
|
2737
2768
|
filename: string;
|
2738
2769
|
originalFilename: string;
|
@@ -2770,14 +2801,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2770
2801
|
filename: string;
|
2771
2802
|
originalFilename: string;
|
2772
2803
|
}[] | undefined>;
|
2773
|
-
createdAt: string;
|
2774
|
-
createdBy: string;
|
2775
2804
|
createdAtLocation: string;
|
2776
|
-
|
2777
|
-
trackingId: string;
|
2778
|
-
registrationNumber: string;
|
2779
|
-
};
|
2780
|
-
metadata?: Record<string, string | number | boolean | {
|
2805
|
+
annotation?: Record<string, string | number | boolean | {
|
2781
2806
|
type: string;
|
2782
2807
|
filename: string;
|
2783
2808
|
originalFilename: string;
|
@@ -2815,11 +2840,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
2815
2840
|
filename: string;
|
2816
2841
|
originalFilename: string;
|
2817
2842
|
}[] | undefined> | undefined;
|
2843
|
+
originalActionId?: string | undefined;
|
2844
|
+
registrationNumber?: string | undefined;
|
2818
2845
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2819
2846
|
id: z.ZodString;
|
2820
2847
|
createdAt: z.ZodString;
|
2821
2848
|
createdBy: z.ZodString;
|
2822
|
-
|
2849
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2823
2850
|
filename: z.ZodString;
|
2824
2851
|
originalFilename: z.ZodString;
|
2825
2852
|
type: z.ZodString;
|
@@ -2933,7 +2960,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2933
2960
|
addressLine3?: string | null | undefined;
|
2934
2961
|
postcodeOrZip?: string | null | undefined;
|
2935
2962
|
}>]>>;
|
2936
|
-
|
2963
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2937
2964
|
filename: z.ZodString;
|
2938
2965
|
originalFilename: z.ZodString;
|
2939
2966
|
type: z.ZodString;
|
@@ -3048,12 +3075,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
3048
3075
|
postcodeOrZip?: string | null | undefined;
|
3049
3076
|
}>]>>>;
|
3050
3077
|
createdAtLocation: z.ZodString;
|
3078
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3079
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3051
3080
|
}, {
|
3052
3081
|
type: z.ZodLiteral<"DECLARE">;
|
3053
3082
|
}>, "strip", z.ZodTypeAny, {
|
3054
3083
|
type: "DECLARE";
|
3055
3084
|
id: string;
|
3056
|
-
|
3085
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3086
|
+
createdAt: string;
|
3087
|
+
createdBy: string;
|
3088
|
+
declaration: Record<string, string | number | boolean | {
|
3057
3089
|
type: string;
|
3058
3090
|
filename: string;
|
3059
3091
|
originalFilename: string;
|
@@ -3091,10 +3123,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3091
3123
|
filename: string;
|
3092
3124
|
originalFilename: string;
|
3093
3125
|
}[] | undefined>;
|
3094
|
-
createdAt: string;
|
3095
|
-
createdBy: string;
|
3096
3126
|
createdAtLocation: string;
|
3097
|
-
|
3127
|
+
annotation?: Record<string, string | number | boolean | {
|
3098
3128
|
type: string;
|
3099
3129
|
filename: string;
|
3100
3130
|
originalFilename: string;
|
@@ -3132,10 +3162,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3132
3162
|
filename: string;
|
3133
3163
|
originalFilename: string;
|
3134
3164
|
}[] | undefined> | undefined;
|
3165
|
+
originalActionId?: string | undefined;
|
3135
3166
|
}, {
|
3136
3167
|
type: "DECLARE";
|
3137
3168
|
id: string;
|
3138
|
-
|
3169
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3170
|
+
createdAt: string;
|
3171
|
+
createdBy: string;
|
3172
|
+
declaration: Record<string, string | number | boolean | {
|
3139
3173
|
type: string;
|
3140
3174
|
filename: string;
|
3141
3175
|
originalFilename: string;
|
@@ -3173,10 +3207,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3173
3207
|
filename: string;
|
3174
3208
|
originalFilename: string;
|
3175
3209
|
}[] | undefined>;
|
3176
|
-
createdAt: string;
|
3177
|
-
createdBy: string;
|
3178
3210
|
createdAtLocation: string;
|
3179
|
-
|
3211
|
+
annotation?: Record<string, string | number | boolean | {
|
3180
3212
|
type: string;
|
3181
3213
|
filename: string;
|
3182
3214
|
originalFilename: string;
|
@@ -3214,11 +3246,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
3214
3246
|
filename: string;
|
3215
3247
|
originalFilename: string;
|
3216
3248
|
}[] | undefined> | undefined;
|
3249
|
+
originalActionId?: string | undefined;
|
3217
3250
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3218
3251
|
id: z.ZodString;
|
3219
3252
|
createdAt: z.ZodString;
|
3220
3253
|
createdBy: z.ZodString;
|
3221
|
-
|
3254
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3222
3255
|
filename: z.ZodString;
|
3223
3256
|
originalFilename: z.ZodString;
|
3224
3257
|
type: z.ZodString;
|
@@ -3332,7 +3365,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3332
3365
|
addressLine3?: string | null | undefined;
|
3333
3366
|
postcodeOrZip?: string | null | undefined;
|
3334
3367
|
}>]>>;
|
3335
|
-
|
3368
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3336
3369
|
filename: z.ZodString;
|
3337
3370
|
originalFilename: z.ZodString;
|
3338
3371
|
type: z.ZodString;
|
@@ -3447,13 +3480,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
3447
3480
|
postcodeOrZip?: string | null | undefined;
|
3448
3481
|
}>]>>>;
|
3449
3482
|
createdAtLocation: z.ZodString;
|
3483
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3484
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3450
3485
|
}, {
|
3451
3486
|
type: z.ZodLiteral<"ASSIGN">;
|
3452
3487
|
assignedTo: z.ZodString;
|
3453
3488
|
}>, "strip", z.ZodTypeAny, {
|
3454
3489
|
type: "ASSIGN";
|
3455
3490
|
id: string;
|
3456
|
-
|
3491
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3492
|
+
createdAt: string;
|
3493
|
+
createdBy: string;
|
3494
|
+
declaration: Record<string, string | number | boolean | {
|
3457
3495
|
type: string;
|
3458
3496
|
filename: string;
|
3459
3497
|
originalFilename: string;
|
@@ -3491,11 +3529,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3491
3529
|
filename: string;
|
3492
3530
|
originalFilename: string;
|
3493
3531
|
}[] | undefined>;
|
3494
|
-
createdAt: string;
|
3495
|
-
createdBy: string;
|
3496
3532
|
createdAtLocation: string;
|
3497
3533
|
assignedTo: string;
|
3498
|
-
|
3534
|
+
annotation?: Record<string, string | number | boolean | {
|
3499
3535
|
type: string;
|
3500
3536
|
filename: string;
|
3501
3537
|
originalFilename: string;
|
@@ -3533,10 +3569,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3533
3569
|
filename: string;
|
3534
3570
|
originalFilename: string;
|
3535
3571
|
}[] | undefined> | undefined;
|
3572
|
+
originalActionId?: string | undefined;
|
3536
3573
|
}, {
|
3537
3574
|
type: "ASSIGN";
|
3538
3575
|
id: string;
|
3539
|
-
|
3576
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3577
|
+
createdAt: string;
|
3578
|
+
createdBy: string;
|
3579
|
+
declaration: Record<string, string | number | boolean | {
|
3540
3580
|
type: string;
|
3541
3581
|
filename: string;
|
3542
3582
|
originalFilename: string;
|
@@ -3574,11 +3614,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3574
3614
|
filename: string;
|
3575
3615
|
originalFilename: string;
|
3576
3616
|
}[] | undefined>;
|
3577
|
-
createdAt: string;
|
3578
|
-
createdBy: string;
|
3579
3617
|
createdAtLocation: string;
|
3580
3618
|
assignedTo: string;
|
3581
|
-
|
3619
|
+
annotation?: Record<string, string | number | boolean | {
|
3582
3620
|
type: string;
|
3583
3621
|
filename: string;
|
3584
3622
|
originalFilename: string;
|
@@ -3616,11 +3654,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
3616
3654
|
filename: string;
|
3617
3655
|
originalFilename: string;
|
3618
3656
|
}[] | undefined> | undefined;
|
3657
|
+
originalActionId?: string | undefined;
|
3619
3658
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3620
3659
|
id: z.ZodString;
|
3621
3660
|
createdAt: z.ZodString;
|
3622
3661
|
createdBy: z.ZodString;
|
3623
|
-
|
3662
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3624
3663
|
filename: z.ZodString;
|
3625
3664
|
originalFilename: z.ZodString;
|
3626
3665
|
type: z.ZodString;
|
@@ -3734,7 +3773,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3734
3773
|
addressLine3?: string | null | undefined;
|
3735
3774
|
postcodeOrZip?: string | null | undefined;
|
3736
3775
|
}>]>>;
|
3737
|
-
|
3776
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3738
3777
|
filename: z.ZodString;
|
3739
3778
|
originalFilename: z.ZodString;
|
3740
3779
|
type: z.ZodString;
|
@@ -3849,12 +3888,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
3849
3888
|
postcodeOrZip?: string | null | undefined;
|
3850
3889
|
}>]>>>;
|
3851
3890
|
createdAtLocation: z.ZodString;
|
3891
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3892
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3852
3893
|
}, {
|
3853
3894
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
3854
3895
|
}>, "strip", z.ZodTypeAny, {
|
3855
3896
|
type: "REQUEST_CORRECTION";
|
3856
3897
|
id: string;
|
3857
|
-
|
3898
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3899
|
+
createdAt: string;
|
3900
|
+
createdBy: string;
|
3901
|
+
declaration: Record<string, string | number | boolean | {
|
3858
3902
|
type: string;
|
3859
3903
|
filename: string;
|
3860
3904
|
originalFilename: string;
|
@@ -3892,10 +3936,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3892
3936
|
filename: string;
|
3893
3937
|
originalFilename: string;
|
3894
3938
|
}[] | undefined>;
|
3895
|
-
createdAt: string;
|
3896
|
-
createdBy: string;
|
3897
3939
|
createdAtLocation: string;
|
3898
|
-
|
3940
|
+
annotation?: Record<string, string | number | boolean | {
|
3899
3941
|
type: string;
|
3900
3942
|
filename: string;
|
3901
3943
|
originalFilename: string;
|
@@ -3933,10 +3975,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3933
3975
|
filename: string;
|
3934
3976
|
originalFilename: string;
|
3935
3977
|
}[] | undefined> | undefined;
|
3978
|
+
originalActionId?: string | undefined;
|
3936
3979
|
}, {
|
3937
3980
|
type: "REQUEST_CORRECTION";
|
3938
3981
|
id: string;
|
3939
|
-
|
3982
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3983
|
+
createdAt: string;
|
3984
|
+
createdBy: string;
|
3985
|
+
declaration: Record<string, string | number | boolean | {
|
3940
3986
|
type: string;
|
3941
3987
|
filename: string;
|
3942
3988
|
originalFilename: string;
|
@@ -3974,10 +4020,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3974
4020
|
filename: string;
|
3975
4021
|
originalFilename: string;
|
3976
4022
|
}[] | undefined>;
|
3977
|
-
createdAt: string;
|
3978
|
-
createdBy: string;
|
3979
4023
|
createdAtLocation: string;
|
3980
|
-
|
4024
|
+
annotation?: Record<string, string | number | boolean | {
|
3981
4025
|
type: string;
|
3982
4026
|
filename: string;
|
3983
4027
|
originalFilename: string;
|
@@ -4015,11 +4059,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4015
4059
|
filename: string;
|
4016
4060
|
originalFilename: string;
|
4017
4061
|
}[] | undefined> | undefined;
|
4062
|
+
originalActionId?: string | undefined;
|
4018
4063
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4019
4064
|
id: z.ZodString;
|
4020
4065
|
createdAt: z.ZodString;
|
4021
4066
|
createdBy: z.ZodString;
|
4022
|
-
|
4067
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4023
4068
|
filename: z.ZodString;
|
4024
4069
|
originalFilename: z.ZodString;
|
4025
4070
|
type: z.ZodString;
|
@@ -4133,7 +4178,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4133
4178
|
addressLine3?: string | null | undefined;
|
4134
4179
|
postcodeOrZip?: string | null | undefined;
|
4135
4180
|
}>]>>;
|
4136
|
-
|
4181
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4137
4182
|
filename: z.ZodString;
|
4138
4183
|
originalFilename: z.ZodString;
|
4139
4184
|
type: z.ZodString;
|
@@ -4248,13 +4293,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
4248
4293
|
postcodeOrZip?: string | null | undefined;
|
4249
4294
|
}>]>>>;
|
4250
4295
|
createdAtLocation: z.ZodString;
|
4296
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4297
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4251
4298
|
}, {
|
4252
4299
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
4253
4300
|
requestId: z.ZodString;
|
4254
4301
|
}>, "strip", z.ZodTypeAny, {
|
4255
4302
|
type: "APPROVE_CORRECTION";
|
4256
4303
|
id: string;
|
4257
|
-
|
4304
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4305
|
+
createdAt: string;
|
4306
|
+
createdBy: string;
|
4307
|
+
declaration: Record<string, string | number | boolean | {
|
4258
4308
|
type: string;
|
4259
4309
|
filename: string;
|
4260
4310
|
originalFilename: string;
|
@@ -4292,11 +4342,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4292
4342
|
filename: string;
|
4293
4343
|
originalFilename: string;
|
4294
4344
|
}[] | undefined>;
|
4295
|
-
createdAt: string;
|
4296
|
-
createdBy: string;
|
4297
4345
|
createdAtLocation: string;
|
4298
4346
|
requestId: string;
|
4299
|
-
|
4347
|
+
annotation?: Record<string, string | number | boolean | {
|
4300
4348
|
type: string;
|
4301
4349
|
filename: string;
|
4302
4350
|
originalFilename: string;
|
@@ -4334,10 +4382,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
4334
4382
|
filename: string;
|
4335
4383
|
originalFilename: string;
|
4336
4384
|
}[] | undefined> | undefined;
|
4385
|
+
originalActionId?: string | undefined;
|
4337
4386
|
}, {
|
4338
4387
|
type: "APPROVE_CORRECTION";
|
4339
4388
|
id: string;
|
4340
|
-
|
4389
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4390
|
+
createdAt: string;
|
4391
|
+
createdBy: string;
|
4392
|
+
declaration: Record<string, string | number | boolean | {
|
4341
4393
|
type: string;
|
4342
4394
|
filename: string;
|
4343
4395
|
originalFilename: string;
|
@@ -4375,11 +4427,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4375
4427
|
filename: string;
|
4376
4428
|
originalFilename: string;
|
4377
4429
|
}[] | undefined>;
|
4378
|
-
createdAt: string;
|
4379
|
-
createdBy: string;
|
4380
4430
|
createdAtLocation: string;
|
4381
4431
|
requestId: string;
|
4382
|
-
|
4432
|
+
annotation?: Record<string, string | number | boolean | {
|
4383
4433
|
type: string;
|
4384
4434
|
filename: string;
|
4385
4435
|
originalFilename: string;
|
@@ -4417,11 +4467,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4417
4467
|
filename: string;
|
4418
4468
|
originalFilename: string;
|
4419
4469
|
}[] | undefined> | undefined;
|
4470
|
+
originalActionId?: string | undefined;
|
4420
4471
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4421
4472
|
id: z.ZodString;
|
4422
4473
|
createdAt: z.ZodString;
|
4423
4474
|
createdBy: z.ZodString;
|
4424
|
-
|
4475
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4425
4476
|
filename: z.ZodString;
|
4426
4477
|
originalFilename: z.ZodString;
|
4427
4478
|
type: z.ZodString;
|
@@ -4535,7 +4586,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4535
4586
|
addressLine3?: string | null | undefined;
|
4536
4587
|
postcodeOrZip?: string | null | undefined;
|
4537
4588
|
}>]>>;
|
4538
|
-
|
4589
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4539
4590
|
filename: z.ZodString;
|
4540
4591
|
originalFilename: z.ZodString;
|
4541
4592
|
type: z.ZodString;
|
@@ -4650,13 +4701,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
4650
4701
|
postcodeOrZip?: string | null | undefined;
|
4651
4702
|
}>]>>>;
|
4652
4703
|
createdAtLocation: z.ZodString;
|
4704
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4705
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4653
4706
|
}, {
|
4654
4707
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
4655
4708
|
requestId: z.ZodString;
|
4656
4709
|
}>, "strip", z.ZodTypeAny, {
|
4657
4710
|
type: "REJECT_CORRECTION";
|
4658
4711
|
id: string;
|
4659
|
-
|
4712
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4713
|
+
createdAt: string;
|
4714
|
+
createdBy: string;
|
4715
|
+
declaration: Record<string, string | number | boolean | {
|
4660
4716
|
type: string;
|
4661
4717
|
filename: string;
|
4662
4718
|
originalFilename: string;
|
@@ -4694,11 +4750,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4694
4750
|
filename: string;
|
4695
4751
|
originalFilename: string;
|
4696
4752
|
}[] | undefined>;
|
4697
|
-
createdAt: string;
|
4698
|
-
createdBy: string;
|
4699
4753
|
createdAtLocation: string;
|
4700
4754
|
requestId: string;
|
4701
|
-
|
4755
|
+
annotation?: Record<string, string | number | boolean | {
|
4702
4756
|
type: string;
|
4703
4757
|
filename: string;
|
4704
4758
|
originalFilename: string;
|
@@ -4736,10 +4790,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
4736
4790
|
filename: string;
|
4737
4791
|
originalFilename: string;
|
4738
4792
|
}[] | undefined> | undefined;
|
4793
|
+
originalActionId?: string | undefined;
|
4739
4794
|
}, {
|
4740
4795
|
type: "REJECT_CORRECTION";
|
4741
4796
|
id: string;
|
4742
|
-
|
4797
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4798
|
+
createdAt: string;
|
4799
|
+
createdBy: string;
|
4800
|
+
declaration: Record<string, string | number | boolean | {
|
4743
4801
|
type: string;
|
4744
4802
|
filename: string;
|
4745
4803
|
originalFilename: string;
|
@@ -4777,11 +4835,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4777
4835
|
filename: string;
|
4778
4836
|
originalFilename: string;
|
4779
4837
|
}[] | undefined>;
|
4780
|
-
createdAt: string;
|
4781
|
-
createdBy: string;
|
4782
4838
|
createdAtLocation: string;
|
4783
4839
|
requestId: string;
|
4784
|
-
|
4840
|
+
annotation?: Record<string, string | number | boolean | {
|
4785
4841
|
type: string;
|
4786
4842
|
filename: string;
|
4787
4843
|
originalFilename: string;
|
@@ -4819,11 +4875,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4819
4875
|
filename: string;
|
4820
4876
|
originalFilename: string;
|
4821
4877
|
}[] | undefined> | undefined;
|
4878
|
+
originalActionId?: string | undefined;
|
4822
4879
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4823
4880
|
id: z.ZodString;
|
4824
4881
|
createdAt: z.ZodString;
|
4825
4882
|
createdBy: z.ZodString;
|
4826
|
-
|
4883
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4827
4884
|
filename: z.ZodString;
|
4828
4885
|
originalFilename: z.ZodString;
|
4829
4886
|
type: z.ZodString;
|
@@ -4937,7 +4994,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4937
4994
|
addressLine3?: string | null | undefined;
|
4938
4995
|
postcodeOrZip?: string | null | undefined;
|
4939
4996
|
}>]>>;
|
4940
|
-
|
4997
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4941
4998
|
filename: z.ZodString;
|
4942
4999
|
originalFilename: z.ZodString;
|
4943
5000
|
type: z.ZodString;
|
@@ -5052,12 +5109,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
5052
5109
|
postcodeOrZip?: string | null | undefined;
|
5053
5110
|
}>]>>>;
|
5054
5111
|
createdAtLocation: z.ZodString;
|
5112
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5113
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5055
5114
|
}, {
|
5056
5115
|
type: z.ZodLiteral<"UNASSIGN">;
|
5116
|
+
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
5057
5117
|
}>, "strip", z.ZodTypeAny, {
|
5058
5118
|
type: "UNASSIGN";
|
5059
5119
|
id: string;
|
5060
|
-
|
5120
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5121
|
+
createdAt: string;
|
5122
|
+
createdBy: string;
|
5123
|
+
declaration: Record<string, string | number | boolean | {
|
5061
5124
|
type: string;
|
5062
5125
|
filename: string;
|
5063
5126
|
originalFilename: string;
|
@@ -5095,10 +5158,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
5095
5158
|
filename: string;
|
5096
5159
|
originalFilename: string;
|
5097
5160
|
}[] | undefined>;
|
5098
|
-
createdAt: string;
|
5099
|
-
createdBy: string;
|
5100
5161
|
createdAtLocation: string;
|
5101
|
-
|
5162
|
+
assignedTo: null;
|
5163
|
+
annotation?: Record<string, string | number | boolean | {
|
5102
5164
|
type: string;
|
5103
5165
|
filename: string;
|
5104
5166
|
originalFilename: string;
|
@@ -5136,10 +5198,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5136
5198
|
filename: string;
|
5137
5199
|
originalFilename: string;
|
5138
5200
|
}[] | undefined> | undefined;
|
5201
|
+
originalActionId?: string | undefined;
|
5139
5202
|
}, {
|
5140
5203
|
type: "UNASSIGN";
|
5141
5204
|
id: string;
|
5142
|
-
|
5205
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5206
|
+
createdAt: string;
|
5207
|
+
createdBy: string;
|
5208
|
+
declaration: Record<string, string | number | boolean | {
|
5143
5209
|
type: string;
|
5144
5210
|
filename: string;
|
5145
5211
|
originalFilename: string;
|
@@ -5177,10 +5243,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5177
5243
|
filename: string;
|
5178
5244
|
originalFilename: string;
|
5179
5245
|
}[] | undefined>;
|
5180
|
-
createdAt: string;
|
5181
|
-
createdBy: string;
|
5182
5246
|
createdAtLocation: string;
|
5183
|
-
|
5247
|
+
annotation?: Record<string, string | number | boolean | {
|
5184
5248
|
type: string;
|
5185
5249
|
filename: string;
|
5186
5250
|
originalFilename: string;
|
@@ -5218,11 +5282,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
5218
5282
|
filename: string;
|
5219
5283
|
originalFilename: string;
|
5220
5284
|
}[] | undefined> | undefined;
|
5285
|
+
originalActionId?: string | undefined;
|
5286
|
+
assignedTo?: null | undefined;
|
5221
5287
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5222
5288
|
id: z.ZodString;
|
5223
5289
|
createdAt: z.ZodString;
|
5224
5290
|
createdBy: z.ZodString;
|
5225
|
-
|
5291
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5226
5292
|
filename: z.ZodString;
|
5227
5293
|
originalFilename: z.ZodString;
|
5228
5294
|
type: z.ZodString;
|
@@ -5336,7 +5402,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5336
5402
|
addressLine3?: string | null | undefined;
|
5337
5403
|
postcodeOrZip?: string | null | undefined;
|
5338
5404
|
}>]>>;
|
5339
|
-
|
5405
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5340
5406
|
filename: z.ZodString;
|
5341
5407
|
originalFilename: z.ZodString;
|
5342
5408
|
type: z.ZodString;
|
@@ -5451,12 +5517,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
5451
5517
|
postcodeOrZip?: string | null | undefined;
|
5452
5518
|
}>]>>>;
|
5453
5519
|
createdAtLocation: z.ZodString;
|
5520
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5521
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5454
5522
|
}, {
|
5455
5523
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
5456
5524
|
}>, "strip", z.ZodTypeAny, {
|
5457
5525
|
type: "PRINT_CERTIFICATE";
|
5458
5526
|
id: string;
|
5459
|
-
|
5527
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5528
|
+
createdAt: string;
|
5529
|
+
createdBy: string;
|
5530
|
+
declaration: Record<string, string | number | boolean | {
|
5460
5531
|
type: string;
|
5461
5532
|
filename: string;
|
5462
5533
|
originalFilename: string;
|
@@ -5494,10 +5565,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5494
5565
|
filename: string;
|
5495
5566
|
originalFilename: string;
|
5496
5567
|
}[] | undefined>;
|
5497
|
-
createdAt: string;
|
5498
|
-
createdBy: string;
|
5499
5568
|
createdAtLocation: string;
|
5500
|
-
|
5569
|
+
annotation?: Record<string, string | number | boolean | {
|
5501
5570
|
type: string;
|
5502
5571
|
filename: string;
|
5503
5572
|
originalFilename: string;
|
@@ -5535,10 +5604,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5535
5604
|
filename: string;
|
5536
5605
|
originalFilename: string;
|
5537
5606
|
}[] | undefined> | undefined;
|
5607
|
+
originalActionId?: string | undefined;
|
5538
5608
|
}, {
|
5539
5609
|
type: "PRINT_CERTIFICATE";
|
5540
5610
|
id: string;
|
5541
|
-
|
5611
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5612
|
+
createdAt: string;
|
5613
|
+
createdBy: string;
|
5614
|
+
declaration: Record<string, string | number | boolean | {
|
5542
5615
|
type: string;
|
5543
5616
|
filename: string;
|
5544
5617
|
originalFilename: string;
|
@@ -5576,10 +5649,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5576
5649
|
filename: string;
|
5577
5650
|
originalFilename: string;
|
5578
5651
|
}[] | undefined>;
|
5579
|
-
createdAt: string;
|
5580
|
-
createdBy: string;
|
5581
5652
|
createdAtLocation: string;
|
5582
|
-
|
5653
|
+
annotation?: Record<string, string | number | boolean | {
|
5583
5654
|
type: string;
|
5584
5655
|
filename: string;
|
5585
5656
|
originalFilename: string;
|
@@ -5617,11 +5688,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
5617
5688
|
filename: string;
|
5618
5689
|
originalFilename: string;
|
5619
5690
|
}[] | undefined> | undefined;
|
5691
|
+
originalActionId?: string | undefined;
|
5620
5692
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5621
5693
|
id: z.ZodString;
|
5622
5694
|
createdAt: z.ZodString;
|
5623
5695
|
createdBy: z.ZodString;
|
5624
|
-
|
5696
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5625
5697
|
filename: z.ZodString;
|
5626
5698
|
originalFilename: z.ZodString;
|
5627
5699
|
type: z.ZodString;
|
@@ -5735,7 +5807,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5735
5807
|
addressLine3?: string | null | undefined;
|
5736
5808
|
postcodeOrZip?: string | null | undefined;
|
5737
5809
|
}>]>>;
|
5738
|
-
|
5810
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5739
5811
|
filename: z.ZodString;
|
5740
5812
|
originalFilename: z.ZodString;
|
5741
5813
|
type: z.ZodString;
|
@@ -5850,12 +5922,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
5850
5922
|
postcodeOrZip?: string | null | undefined;
|
5851
5923
|
}>]>>>;
|
5852
5924
|
createdAtLocation: z.ZodString;
|
5925
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5926
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5853
5927
|
}, {
|
5854
5928
|
type: z.ZodLiteral<"READ">;
|
5855
5929
|
}>, "strip", z.ZodTypeAny, {
|
5856
5930
|
type: "READ";
|
5857
5931
|
id: string;
|
5858
|
-
|
5932
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5933
|
+
createdAt: string;
|
5934
|
+
createdBy: string;
|
5935
|
+
declaration: Record<string, string | number | boolean | {
|
5859
5936
|
type: string;
|
5860
5937
|
filename: string;
|
5861
5938
|
originalFilename: string;
|
@@ -5893,10 +5970,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5893
5970
|
filename: string;
|
5894
5971
|
originalFilename: string;
|
5895
5972
|
}[] | undefined>;
|
5896
|
-
createdAt: string;
|
5897
|
-
createdBy: string;
|
5898
5973
|
createdAtLocation: string;
|
5899
|
-
|
5974
|
+
annotation?: Record<string, string | number | boolean | {
|
5900
5975
|
type: string;
|
5901
5976
|
filename: string;
|
5902
5977
|
originalFilename: string;
|
@@ -5934,10 +6009,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5934
6009
|
filename: string;
|
5935
6010
|
originalFilename: string;
|
5936
6011
|
}[] | undefined> | undefined;
|
6012
|
+
originalActionId?: string | undefined;
|
5937
6013
|
}, {
|
5938
6014
|
type: "READ";
|
5939
6015
|
id: string;
|
5940
|
-
|
6016
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6017
|
+
createdAt: string;
|
6018
|
+
createdBy: string;
|
6019
|
+
declaration: Record<string, string | number | boolean | {
|
5941
6020
|
type: string;
|
5942
6021
|
filename: string;
|
5943
6022
|
originalFilename: string;
|
@@ -5975,10 +6054,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5975
6054
|
filename: string;
|
5976
6055
|
originalFilename: string;
|
5977
6056
|
}[] | undefined>;
|
5978
|
-
createdAt: string;
|
5979
|
-
createdBy: string;
|
5980
6057
|
createdAtLocation: string;
|
5981
|
-
|
6058
|
+
annotation?: Record<string, string | number | boolean | {
|
5982
6059
|
type: string;
|
5983
6060
|
filename: string;
|
5984
6061
|
originalFilename: string;
|
@@ -6016,11 +6093,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
6016
6093
|
filename: string;
|
6017
6094
|
originalFilename: string;
|
6018
6095
|
}[] | undefined> | undefined;
|
6019
|
-
|
6096
|
+
originalActionId?: string | undefined;
|
6097
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
6020
6098
|
id: z.ZodString;
|
6021
6099
|
createdAt: z.ZodString;
|
6022
6100
|
createdBy: z.ZodString;
|
6023
|
-
|
6101
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6024
6102
|
filename: z.ZodString;
|
6025
6103
|
originalFilename: z.ZodString;
|
6026
6104
|
type: z.ZodString;
|
@@ -6134,7 +6212,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6134
6212
|
addressLine3?: string | null | undefined;
|
6135
6213
|
postcodeOrZip?: string | null | undefined;
|
6136
6214
|
}>]>>;
|
6137
|
-
|
6215
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6138
6216
|
filename: z.ZodString;
|
6139
6217
|
originalFilename: z.ZodString;
|
6140
6218
|
type: z.ZodString;
|
@@ -6249,12 +6327,37 @@ export declare const EventDocument: z.ZodObject<{
|
|
6249
6327
|
postcodeOrZip?: string | null | undefined;
|
6250
6328
|
}>]>>>;
|
6251
6329
|
createdAtLocation: z.ZodString;
|
6252
|
-
|
6253
|
-
|
6330
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
6331
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
6332
|
+
}, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
|
6333
|
+
type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
|
6334
|
+
status: z.ZodLiteral<"Rejected">;
|
6254
6335
|
}>, "strip", z.ZodTypeAny, {
|
6255
|
-
type: "
|
6336
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6337
|
+
id: string;
|
6338
|
+
status: "Rejected";
|
6339
|
+
createdAt: string;
|
6340
|
+
originalActionId?: string | undefined;
|
6341
|
+
}, {
|
6342
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6343
|
+
id: string;
|
6344
|
+
status: "Rejected";
|
6345
|
+
createdAt: string;
|
6346
|
+
originalActionId?: string | undefined;
|
6347
|
+
}>]>, "many">;
|
6348
|
+
trackingId: z.ZodString;
|
6349
|
+
}, "strip", z.ZodTypeAny, {
|
6350
|
+
type: string;
|
6351
|
+
id: string;
|
6352
|
+
createdAt: string;
|
6353
|
+
updatedAt: string;
|
6354
|
+
actions: ({
|
6355
|
+
type: "ASSIGN";
|
6256
6356
|
id: string;
|
6257
|
-
|
6357
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6358
|
+
createdAt: string;
|
6359
|
+
createdBy: string;
|
6360
|
+
declaration: Record<string, string | number | boolean | {
|
6258
6361
|
type: string;
|
6259
6362
|
filename: string;
|
6260
6363
|
originalFilename: string;
|
@@ -6292,10 +6395,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6292
6395
|
filename: string;
|
6293
6396
|
originalFilename: string;
|
6294
6397
|
}[] | undefined>;
|
6295
|
-
createdAt: string;
|
6296
|
-
createdBy: string;
|
6297
6398
|
createdAtLocation: string;
|
6298
|
-
|
6399
|
+
assignedTo: string;
|
6400
|
+
annotation?: Record<string, string | number | boolean | {
|
6299
6401
|
type: string;
|
6300
6402
|
filename: string;
|
6301
6403
|
originalFilename: string;
|
@@ -6333,10 +6435,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6333
6435
|
filename: string;
|
6334
6436
|
originalFilename: string;
|
6335
6437
|
}[] | undefined> | undefined;
|
6336
|
-
|
6337
|
-
|
6438
|
+
originalActionId?: string | undefined;
|
6439
|
+
} | {
|
6440
|
+
type: "UNASSIGN";
|
6338
6441
|
id: string;
|
6339
|
-
|
6442
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6443
|
+
createdAt: string;
|
6444
|
+
createdBy: string;
|
6445
|
+
declaration: Record<string, string | number | boolean | {
|
6340
6446
|
type: string;
|
6341
6447
|
filename: string;
|
6342
6448
|
originalFilename: string;
|
@@ -6374,10 +6480,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6374
6480
|
filename: string;
|
6375
6481
|
originalFilename: string;
|
6376
6482
|
}[] | undefined>;
|
6377
|
-
createdAt: string;
|
6378
|
-
createdBy: string;
|
6379
6483
|
createdAtLocation: string;
|
6380
|
-
|
6484
|
+
assignedTo: null;
|
6485
|
+
annotation?: Record<string, string | number | boolean | {
|
6381
6486
|
type: string;
|
6382
6487
|
filename: string;
|
6383
6488
|
originalFilename: string;
|
@@ -6415,18 +6520,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6415
6520
|
filename: string;
|
6416
6521
|
originalFilename: string;
|
6417
6522
|
}[] | undefined> | undefined;
|
6418
|
-
|
6419
|
-
|
6420
|
-
|
6421
|
-
type: string;
|
6422
|
-
id: string;
|
6423
|
-
createdAt: string;
|
6424
|
-
trackingId: string;
|
6425
|
-
updatedAt: string;
|
6426
|
-
actions: ({
|
6427
|
-
type: "ASSIGN";
|
6523
|
+
originalActionId?: string | undefined;
|
6524
|
+
} | {
|
6525
|
+
type: "REGISTER";
|
6428
6526
|
id: string;
|
6429
|
-
|
6527
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6528
|
+
createdAt: string;
|
6529
|
+
createdBy: string;
|
6530
|
+
declaration: Record<string, string | number | boolean | {
|
6430
6531
|
type: string;
|
6431
6532
|
filename: string;
|
6432
6533
|
originalFilename: string;
|
@@ -6464,11 +6565,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6464
6565
|
filename: string;
|
6465
6566
|
originalFilename: string;
|
6466
6567
|
}[] | undefined>;
|
6467
|
-
createdAt: string;
|
6468
|
-
createdBy: string;
|
6469
6568
|
createdAtLocation: string;
|
6470
|
-
|
6471
|
-
metadata?: Record<string, string | number | boolean | {
|
6569
|
+
annotation?: Record<string, string | number | boolean | {
|
6472
6570
|
type: string;
|
6473
6571
|
filename: string;
|
6474
6572
|
originalFilename: string;
|
@@ -6506,10 +6604,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
6506
6604
|
filename: string;
|
6507
6605
|
originalFilename: string;
|
6508
6606
|
}[] | undefined> | undefined;
|
6607
|
+
originalActionId?: string | undefined;
|
6608
|
+
registrationNumber?: string | undefined;
|
6509
6609
|
} | {
|
6510
|
-
type: "
|
6610
|
+
type: "DECLARE";
|
6511
6611
|
id: string;
|
6512
|
-
|
6612
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6613
|
+
createdAt: string;
|
6614
|
+
createdBy: string;
|
6615
|
+
declaration: Record<string, string | number | boolean | {
|
6513
6616
|
type: string;
|
6514
6617
|
filename: string;
|
6515
6618
|
originalFilename: string;
|
@@ -6547,10 +6650,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6547
6650
|
filename: string;
|
6548
6651
|
originalFilename: string;
|
6549
6652
|
}[] | undefined>;
|
6550
|
-
createdAt: string;
|
6551
|
-
createdBy: string;
|
6552
6653
|
createdAtLocation: string;
|
6553
|
-
|
6654
|
+
annotation?: Record<string, string | number | boolean | {
|
6554
6655
|
type: string;
|
6555
6656
|
filename: string;
|
6556
6657
|
originalFilename: string;
|
@@ -6588,10 +6689,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6588
6689
|
filename: string;
|
6589
6690
|
originalFilename: string;
|
6590
6691
|
}[] | undefined> | undefined;
|
6692
|
+
originalActionId?: string | undefined;
|
6591
6693
|
} | {
|
6592
|
-
type: "
|
6694
|
+
type: "VALIDATE";
|
6593
6695
|
id: string;
|
6594
|
-
|
6696
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6697
|
+
createdAt: string;
|
6698
|
+
createdBy: string;
|
6699
|
+
declaration: Record<string, string | number | boolean | {
|
6595
6700
|
type: string;
|
6596
6701
|
filename: string;
|
6597
6702
|
originalFilename: string;
|
@@ -6629,14 +6734,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6629
6734
|
filename: string;
|
6630
6735
|
originalFilename: string;
|
6631
6736
|
}[] | undefined>;
|
6632
|
-
createdAt: string;
|
6633
|
-
createdBy: string;
|
6634
6737
|
createdAtLocation: string;
|
6635
|
-
|
6636
|
-
trackingId: string;
|
6637
|
-
registrationNumber: string;
|
6638
|
-
};
|
6639
|
-
metadata?: Record<string, string | number | boolean | {
|
6738
|
+
annotation?: Record<string, string | number | boolean | {
|
6640
6739
|
type: string;
|
6641
6740
|
filename: string;
|
6642
6741
|
originalFilename: string;
|
@@ -6674,10 +6773,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6674
6773
|
filename: string;
|
6675
6774
|
originalFilename: string;
|
6676
6775
|
}[] | undefined> | undefined;
|
6776
|
+
originalActionId?: string | undefined;
|
6677
6777
|
} | {
|
6678
|
-
type: "
|
6778
|
+
type: "REJECT";
|
6679
6779
|
id: string;
|
6680
|
-
|
6780
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6781
|
+
createdAt: string;
|
6782
|
+
createdBy: string;
|
6783
|
+
declaration: Record<string, string | number | boolean | {
|
6681
6784
|
type: string;
|
6682
6785
|
filename: string;
|
6683
6786
|
originalFilename: string;
|
@@ -6715,10 +6818,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6715
6818
|
filename: string;
|
6716
6819
|
originalFilename: string;
|
6717
6820
|
}[] | undefined>;
|
6718
|
-
createdAt: string;
|
6719
|
-
createdBy: string;
|
6720
6821
|
createdAtLocation: string;
|
6721
|
-
|
6822
|
+
annotation?: Record<string, string | number | boolean | {
|
6722
6823
|
type: string;
|
6723
6824
|
filename: string;
|
6724
6825
|
originalFilename: string;
|
@@ -6756,10 +6857,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6756
6857
|
filename: string;
|
6757
6858
|
originalFilename: string;
|
6758
6859
|
}[] | undefined> | undefined;
|
6860
|
+
originalActionId?: string | undefined;
|
6759
6861
|
} | {
|
6760
|
-
type: "
|
6862
|
+
type: "MARKED_AS_DUPLICATE";
|
6761
6863
|
id: string;
|
6762
|
-
|
6864
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6865
|
+
createdAt: string;
|
6866
|
+
createdBy: string;
|
6867
|
+
declaration: Record<string, string | number | boolean | {
|
6763
6868
|
type: string;
|
6764
6869
|
filename: string;
|
6765
6870
|
originalFilename: string;
|
@@ -6797,10 +6902,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6797
6902
|
filename: string;
|
6798
6903
|
originalFilename: string;
|
6799
6904
|
}[] | undefined>;
|
6800
|
-
createdAt: string;
|
6801
|
-
createdBy: string;
|
6802
6905
|
createdAtLocation: string;
|
6803
|
-
|
6906
|
+
annotation?: Record<string, string | number | boolean | {
|
6804
6907
|
type: string;
|
6805
6908
|
filename: string;
|
6806
6909
|
originalFilename: string;
|
@@ -6838,10 +6941,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6838
6941
|
filename: string;
|
6839
6942
|
originalFilename: string;
|
6840
6943
|
}[] | undefined> | undefined;
|
6944
|
+
originalActionId?: string | undefined;
|
6841
6945
|
} | {
|
6842
|
-
type: "
|
6946
|
+
type: "ARCHIVE";
|
6843
6947
|
id: string;
|
6844
|
-
|
6948
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6949
|
+
createdAt: string;
|
6950
|
+
createdBy: string;
|
6951
|
+
declaration: Record<string, string | number | boolean | {
|
6845
6952
|
type: string;
|
6846
6953
|
filename: string;
|
6847
6954
|
originalFilename: string;
|
@@ -6879,10 +6986,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6879
6986
|
filename: string;
|
6880
6987
|
originalFilename: string;
|
6881
6988
|
}[] | undefined>;
|
6882
|
-
createdAt: string;
|
6883
|
-
createdBy: string;
|
6884
6989
|
createdAtLocation: string;
|
6885
|
-
|
6990
|
+
annotation?: Record<string, string | number | boolean | {
|
6886
6991
|
type: string;
|
6887
6992
|
filename: string;
|
6888
6993
|
originalFilename: string;
|
@@ -6920,10 +7025,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6920
7025
|
filename: string;
|
6921
7026
|
originalFilename: string;
|
6922
7027
|
}[] | undefined> | undefined;
|
7028
|
+
originalActionId?: string | undefined;
|
6923
7029
|
} | {
|
6924
|
-
type: "
|
7030
|
+
type: "CREATE";
|
6925
7031
|
id: string;
|
6926
|
-
|
7032
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7033
|
+
createdAt: string;
|
7034
|
+
createdBy: string;
|
7035
|
+
declaration: Record<string, string | number | boolean | {
|
6927
7036
|
type: string;
|
6928
7037
|
filename: string;
|
6929
7038
|
originalFilename: string;
|
@@ -6961,10 +7070,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6961
7070
|
filename: string;
|
6962
7071
|
originalFilename: string;
|
6963
7072
|
}[] | undefined>;
|
6964
|
-
createdAt: string;
|
6965
|
-
createdBy: string;
|
6966
7073
|
createdAtLocation: string;
|
6967
|
-
|
7074
|
+
annotation?: Record<string, string | number | boolean | {
|
6968
7075
|
type: string;
|
6969
7076
|
filename: string;
|
6970
7077
|
originalFilename: string;
|
@@ -7002,10 +7109,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7002
7109
|
filename: string;
|
7003
7110
|
originalFilename: string;
|
7004
7111
|
}[] | undefined> | undefined;
|
7112
|
+
originalActionId?: string | undefined;
|
7005
7113
|
} | {
|
7006
|
-
type: "
|
7114
|
+
type: "NOTIFY";
|
7007
7115
|
id: string;
|
7008
|
-
|
7116
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7117
|
+
createdAt: string;
|
7118
|
+
createdBy: string;
|
7119
|
+
declaration: Record<string, string | number | boolean | {
|
7009
7120
|
type: string;
|
7010
7121
|
filename: string;
|
7011
7122
|
originalFilename: string;
|
@@ -7043,10 +7154,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7043
7154
|
filename: string;
|
7044
7155
|
originalFilename: string;
|
7045
7156
|
}[] | undefined>;
|
7046
|
-
createdAt: string;
|
7047
|
-
createdBy: string;
|
7048
7157
|
createdAtLocation: string;
|
7049
|
-
|
7158
|
+
annotation?: Record<string, string | number | boolean | {
|
7050
7159
|
type: string;
|
7051
7160
|
filename: string;
|
7052
7161
|
originalFilename: string;
|
@@ -7084,10 +7193,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7084
7193
|
filename: string;
|
7085
7194
|
originalFilename: string;
|
7086
7195
|
}[] | undefined> | undefined;
|
7196
|
+
originalActionId?: string | undefined;
|
7087
7197
|
} | {
|
7088
|
-
type: "
|
7198
|
+
type: "PRINT_CERTIFICATE";
|
7089
7199
|
id: string;
|
7090
|
-
|
7200
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7201
|
+
createdAt: string;
|
7202
|
+
createdBy: string;
|
7203
|
+
declaration: Record<string, string | number | boolean | {
|
7091
7204
|
type: string;
|
7092
7205
|
filename: string;
|
7093
7206
|
originalFilename: string;
|
@@ -7125,10 +7238,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7125
7238
|
filename: string;
|
7126
7239
|
originalFilename: string;
|
7127
7240
|
}[] | undefined>;
|
7128
|
-
createdAt: string;
|
7129
|
-
createdBy: string;
|
7130
7241
|
createdAtLocation: string;
|
7131
|
-
|
7242
|
+
annotation?: Record<string, string | number | boolean | {
|
7132
7243
|
type: string;
|
7133
7244
|
filename: string;
|
7134
7245
|
originalFilename: string;
|
@@ -7166,10 +7277,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7166
7277
|
filename: string;
|
7167
7278
|
originalFilename: string;
|
7168
7279
|
}[] | undefined> | undefined;
|
7280
|
+
originalActionId?: string | undefined;
|
7169
7281
|
} | {
|
7170
|
-
type: "
|
7282
|
+
type: "REQUEST_CORRECTION";
|
7171
7283
|
id: string;
|
7172
|
-
|
7284
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7285
|
+
createdAt: string;
|
7286
|
+
createdBy: string;
|
7287
|
+
declaration: Record<string, string | number | boolean | {
|
7173
7288
|
type: string;
|
7174
7289
|
filename: string;
|
7175
7290
|
originalFilename: string;
|
@@ -7207,10 +7322,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7207
7322
|
filename: string;
|
7208
7323
|
originalFilename: string;
|
7209
7324
|
}[] | undefined>;
|
7210
|
-
createdAt: string;
|
7211
|
-
createdBy: string;
|
7212
7325
|
createdAtLocation: string;
|
7213
|
-
|
7326
|
+
annotation?: Record<string, string | number | boolean | {
|
7214
7327
|
type: string;
|
7215
7328
|
filename: string;
|
7216
7329
|
originalFilename: string;
|
@@ -7248,10 +7361,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7248
7361
|
filename: string;
|
7249
7362
|
originalFilename: string;
|
7250
7363
|
}[] | undefined> | undefined;
|
7364
|
+
originalActionId?: string | undefined;
|
7251
7365
|
} | {
|
7252
|
-
type: "
|
7366
|
+
type: "APPROVE_CORRECTION";
|
7253
7367
|
id: string;
|
7254
|
-
|
7368
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7369
|
+
createdAt: string;
|
7370
|
+
createdBy: string;
|
7371
|
+
declaration: Record<string, string | number | boolean | {
|
7255
7372
|
type: string;
|
7256
7373
|
filename: string;
|
7257
7374
|
originalFilename: string;
|
@@ -7289,10 +7406,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7289
7406
|
filename: string;
|
7290
7407
|
originalFilename: string;
|
7291
7408
|
}[] | undefined>;
|
7292
|
-
createdAt: string;
|
7293
|
-
createdBy: string;
|
7294
7409
|
createdAtLocation: string;
|
7295
|
-
|
7410
|
+
requestId: string;
|
7411
|
+
annotation?: Record<string, string | number | boolean | {
|
7296
7412
|
type: string;
|
7297
7413
|
filename: string;
|
7298
7414
|
originalFilename: string;
|
@@ -7330,10 +7446,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7330
7446
|
filename: string;
|
7331
7447
|
originalFilename: string;
|
7332
7448
|
}[] | undefined> | undefined;
|
7449
|
+
originalActionId?: string | undefined;
|
7333
7450
|
} | {
|
7334
|
-
type: "
|
7451
|
+
type: "REJECT_CORRECTION";
|
7335
7452
|
id: string;
|
7336
|
-
|
7453
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7454
|
+
createdAt: string;
|
7455
|
+
createdBy: string;
|
7456
|
+
declaration: Record<string, string | number | boolean | {
|
7337
7457
|
type: string;
|
7338
7458
|
filename: string;
|
7339
7459
|
originalFilename: string;
|
@@ -7371,10 +7491,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7371
7491
|
filename: string;
|
7372
7492
|
originalFilename: string;
|
7373
7493
|
}[] | undefined>;
|
7374
|
-
createdAt: string;
|
7375
|
-
createdBy: string;
|
7376
7494
|
createdAtLocation: string;
|
7377
|
-
|
7495
|
+
requestId: string;
|
7496
|
+
annotation?: Record<string, string | number | boolean | {
|
7378
7497
|
type: string;
|
7379
7498
|
filename: string;
|
7380
7499
|
originalFilename: string;
|
@@ -7412,10 +7531,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7412
7531
|
filename: string;
|
7413
7532
|
originalFilename: string;
|
7414
7533
|
}[] | undefined> | undefined;
|
7534
|
+
originalActionId?: string | undefined;
|
7415
7535
|
} | {
|
7416
|
-
type: "
|
7536
|
+
type: "READ";
|
7417
7537
|
id: string;
|
7418
|
-
|
7538
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7539
|
+
createdAt: string;
|
7540
|
+
createdBy: string;
|
7541
|
+
declaration: Record<string, string | number | boolean | {
|
7419
7542
|
type: string;
|
7420
7543
|
filename: string;
|
7421
7544
|
originalFilename: string;
|
@@ -7453,11 +7576,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7453
7576
|
filename: string;
|
7454
7577
|
originalFilename: string;
|
7455
7578
|
}[] | undefined>;
|
7456
|
-
createdAt: string;
|
7457
|
-
createdBy: string;
|
7458
7579
|
createdAtLocation: string;
|
7459
|
-
|
7460
|
-
metadata?: Record<string, string | number | boolean | {
|
7580
|
+
annotation?: Record<string, string | number | boolean | {
|
7461
7581
|
type: string;
|
7462
7582
|
filename: string;
|
7463
7583
|
originalFilename: string;
|
@@ -7495,10 +7615,27 @@ export declare const EventDocument: z.ZodObject<{
|
|
7495
7615
|
filename: string;
|
7496
7616
|
originalFilename: string;
|
7497
7617
|
}[] | undefined> | undefined;
|
7618
|
+
originalActionId?: string | undefined;
|
7498
7619
|
} | {
|
7499
|
-
type: "
|
7620
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7621
|
+
id: string;
|
7622
|
+
status: "Rejected";
|
7623
|
+
createdAt: string;
|
7624
|
+
originalActionId?: string | undefined;
|
7625
|
+
})[];
|
7626
|
+
trackingId: string;
|
7627
|
+
}, {
|
7628
|
+
type: string;
|
7629
|
+
id: string;
|
7630
|
+
createdAt: string;
|
7631
|
+
updatedAt: string;
|
7632
|
+
actions: ({
|
7633
|
+
type: "ASSIGN";
|
7500
7634
|
id: string;
|
7501
|
-
|
7635
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7636
|
+
createdAt: string;
|
7637
|
+
createdBy: string;
|
7638
|
+
declaration: Record<string, string | number | boolean | {
|
7502
7639
|
type: string;
|
7503
7640
|
filename: string;
|
7504
7641
|
originalFilename: string;
|
@@ -7536,93 +7673,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7536
7673
|
filename: string;
|
7537
7674
|
originalFilename: string;
|
7538
7675
|
}[] | undefined>;
|
7539
|
-
createdAt: string;
|
7540
|
-
createdBy: string;
|
7541
7676
|
createdAtLocation: string;
|
7542
|
-
|
7543
|
-
|
7544
|
-
type: string;
|
7545
|
-
filename: string;
|
7546
|
-
originalFilename: string;
|
7547
|
-
} | {
|
7548
|
-
country: string;
|
7549
|
-
district: string;
|
7550
|
-
addressType: "DOMESTIC";
|
7551
|
-
province: string;
|
7552
|
-
urbanOrRural: "URBAN";
|
7553
|
-
number?: string | null | undefined;
|
7554
|
-
town?: string | null | undefined;
|
7555
|
-
residentialArea?: string | null | undefined;
|
7556
|
-
street?: string | null | undefined;
|
7557
|
-
zipCode?: string | null | undefined;
|
7558
|
-
} | {
|
7559
|
-
country: string;
|
7560
|
-
district: string;
|
7561
|
-
addressType: "DOMESTIC";
|
7562
|
-
province: string;
|
7563
|
-
urbanOrRural: "RURAL";
|
7564
|
-
village?: string | null | undefined;
|
7565
|
-
} | {
|
7566
|
-
country: string;
|
7567
|
-
state: string;
|
7568
|
-
addressType: "INTERNATIONAL";
|
7569
|
-
district2: string;
|
7570
|
-
cityOrTown?: string | null | undefined;
|
7571
|
-
addressLine1?: string | null | undefined;
|
7572
|
-
addressLine2?: string | null | undefined;
|
7573
|
-
addressLine3?: string | null | undefined;
|
7574
|
-
postcodeOrZip?: string | null | undefined;
|
7575
|
-
} | {
|
7576
|
-
type: string;
|
7577
|
-
option: string;
|
7578
|
-
filename: string;
|
7579
|
-
originalFilename: string;
|
7580
|
-
}[] | undefined> | undefined;
|
7581
|
-
} | {
|
7582
|
-
type: "READ";
|
7583
|
-
id: string;
|
7584
|
-
data: Record<string, string | number | boolean | {
|
7585
|
-
type: string;
|
7586
|
-
filename: string;
|
7587
|
-
originalFilename: string;
|
7588
|
-
} | {
|
7589
|
-
country: string;
|
7590
|
-
district: string;
|
7591
|
-
addressType: "DOMESTIC";
|
7592
|
-
province: string;
|
7593
|
-
urbanOrRural: "URBAN";
|
7594
|
-
number?: string | null | undefined;
|
7595
|
-
town?: string | null | undefined;
|
7596
|
-
residentialArea?: string | null | undefined;
|
7597
|
-
street?: string | null | undefined;
|
7598
|
-
zipCode?: string | null | undefined;
|
7599
|
-
} | {
|
7600
|
-
country: string;
|
7601
|
-
district: string;
|
7602
|
-
addressType: "DOMESTIC";
|
7603
|
-
province: string;
|
7604
|
-
urbanOrRural: "RURAL";
|
7605
|
-
village?: string | null | undefined;
|
7606
|
-
} | {
|
7607
|
-
country: string;
|
7608
|
-
state: string;
|
7609
|
-
addressType: "INTERNATIONAL";
|
7610
|
-
district2: string;
|
7611
|
-
cityOrTown?: string | null | undefined;
|
7612
|
-
addressLine1?: string | null | undefined;
|
7613
|
-
addressLine2?: string | null | undefined;
|
7614
|
-
addressLine3?: string | null | undefined;
|
7615
|
-
postcodeOrZip?: string | null | undefined;
|
7616
|
-
} | {
|
7617
|
-
type: string;
|
7618
|
-
option: string;
|
7619
|
-
filename: string;
|
7620
|
-
originalFilename: string;
|
7621
|
-
}[] | undefined>;
|
7622
|
-
createdAt: string;
|
7623
|
-
createdBy: string;
|
7624
|
-
createdAtLocation: string;
|
7625
|
-
metadata?: Record<string, string | number | boolean | {
|
7677
|
+
assignedTo: string;
|
7678
|
+
annotation?: Record<string, string | number | boolean | {
|
7626
7679
|
type: string;
|
7627
7680
|
filename: string;
|
7628
7681
|
originalFilename: string;
|
@@ -7660,99 +7713,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7660
7713
|
filename: string;
|
7661
7714
|
originalFilename: string;
|
7662
7715
|
}[] | undefined> | undefined;
|
7716
|
+
originalActionId?: string | undefined;
|
7663
7717
|
} | {
|
7664
|
-
type: "
|
7718
|
+
type: "UNASSIGN";
|
7665
7719
|
id: string;
|
7666
|
-
|
7667
|
-
type: string;
|
7668
|
-
filename: string;
|
7669
|
-
originalFilename: string;
|
7670
|
-
} | {
|
7671
|
-
country: string;
|
7672
|
-
district: string;
|
7673
|
-
addressType: "DOMESTIC";
|
7674
|
-
province: string;
|
7675
|
-
urbanOrRural: "URBAN";
|
7676
|
-
number?: string | null | undefined;
|
7677
|
-
town?: string | null | undefined;
|
7678
|
-
residentialArea?: string | null | undefined;
|
7679
|
-
street?: string | null | undefined;
|
7680
|
-
zipCode?: string | null | undefined;
|
7681
|
-
} | {
|
7682
|
-
country: string;
|
7683
|
-
district: string;
|
7684
|
-
addressType: "DOMESTIC";
|
7685
|
-
province: string;
|
7686
|
-
urbanOrRural: "RURAL";
|
7687
|
-
village?: string | null | undefined;
|
7688
|
-
} | {
|
7689
|
-
country: string;
|
7690
|
-
state: string;
|
7691
|
-
addressType: "INTERNATIONAL";
|
7692
|
-
district2: string;
|
7693
|
-
cityOrTown?: string | null | undefined;
|
7694
|
-
addressLine1?: string | null | undefined;
|
7695
|
-
addressLine2?: string | null | undefined;
|
7696
|
-
addressLine3?: string | null | undefined;
|
7697
|
-
postcodeOrZip?: string | null | undefined;
|
7698
|
-
} | {
|
7699
|
-
type: string;
|
7700
|
-
option: string;
|
7701
|
-
filename: string;
|
7702
|
-
originalFilename: string;
|
7703
|
-
}[] | undefined>;
|
7720
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7704
7721
|
createdAt: string;
|
7705
7722
|
createdBy: string;
|
7706
|
-
|
7707
|
-
metadata?: Record<string, string | number | boolean | {
|
7708
|
-
type: string;
|
7709
|
-
filename: string;
|
7710
|
-
originalFilename: string;
|
7711
|
-
} | {
|
7712
|
-
country: string;
|
7713
|
-
district: string;
|
7714
|
-
addressType: "DOMESTIC";
|
7715
|
-
province: string;
|
7716
|
-
urbanOrRural: "URBAN";
|
7717
|
-
number?: string | null | undefined;
|
7718
|
-
town?: string | null | undefined;
|
7719
|
-
residentialArea?: string | null | undefined;
|
7720
|
-
street?: string | null | undefined;
|
7721
|
-
zipCode?: string | null | undefined;
|
7722
|
-
} | {
|
7723
|
-
country: string;
|
7724
|
-
district: string;
|
7725
|
-
addressType: "DOMESTIC";
|
7726
|
-
province: string;
|
7727
|
-
urbanOrRural: "RURAL";
|
7728
|
-
village?: string | null | undefined;
|
7729
|
-
} | {
|
7730
|
-
country: string;
|
7731
|
-
state: string;
|
7732
|
-
addressType: "INTERNATIONAL";
|
7733
|
-
district2: string;
|
7734
|
-
cityOrTown?: string | null | undefined;
|
7735
|
-
addressLine1?: string | null | undefined;
|
7736
|
-
addressLine2?: string | null | undefined;
|
7737
|
-
addressLine3?: string | null | undefined;
|
7738
|
-
postcodeOrZip?: string | null | undefined;
|
7739
|
-
} | {
|
7740
|
-
type: string;
|
7741
|
-
option: string;
|
7742
|
-
filename: string;
|
7743
|
-
originalFilename: string;
|
7744
|
-
}[] | undefined> | undefined;
|
7745
|
-
})[];
|
7746
|
-
}, {
|
7747
|
-
type: string;
|
7748
|
-
id: string;
|
7749
|
-
createdAt: string;
|
7750
|
-
trackingId: string;
|
7751
|
-
updatedAt: string;
|
7752
|
-
actions: ({
|
7753
|
-
type: "ASSIGN";
|
7754
|
-
id: string;
|
7755
|
-
data: Record<string, string | number | boolean | {
|
7723
|
+
declaration: Record<string, string | number | boolean | {
|
7756
7724
|
type: string;
|
7757
7725
|
filename: string;
|
7758
7726
|
originalFilename: string;
|
@@ -7790,11 +7758,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7790
7758
|
filename: string;
|
7791
7759
|
originalFilename: string;
|
7792
7760
|
}[] | undefined>;
|
7793
|
-
createdAt: string;
|
7794
|
-
createdBy: string;
|
7795
7761
|
createdAtLocation: string;
|
7796
|
-
|
7797
|
-
metadata?: Record<string, string | number | boolean | {
|
7762
|
+
annotation?: Record<string, string | number | boolean | {
|
7798
7763
|
type: string;
|
7799
7764
|
filename: string;
|
7800
7765
|
originalFilename: string;
|
@@ -7832,92 +7797,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
7832
7797
|
filename: string;
|
7833
7798
|
originalFilename: string;
|
7834
7799
|
}[] | undefined> | undefined;
|
7800
|
+
originalActionId?: string | undefined;
|
7801
|
+
assignedTo?: null | undefined;
|
7835
7802
|
} | {
|
7836
|
-
type: "
|
7803
|
+
type: "REGISTER";
|
7837
7804
|
id: string;
|
7838
|
-
|
7839
|
-
type: string;
|
7840
|
-
filename: string;
|
7841
|
-
originalFilename: string;
|
7842
|
-
} | {
|
7843
|
-
country: string;
|
7844
|
-
district: string;
|
7845
|
-
addressType: "DOMESTIC";
|
7846
|
-
province: string;
|
7847
|
-
urbanOrRural: "URBAN";
|
7848
|
-
number?: string | null | undefined;
|
7849
|
-
town?: string | null | undefined;
|
7850
|
-
residentialArea?: string | null | undefined;
|
7851
|
-
street?: string | null | undefined;
|
7852
|
-
zipCode?: string | null | undefined;
|
7853
|
-
} | {
|
7854
|
-
country: string;
|
7855
|
-
district: string;
|
7856
|
-
addressType: "DOMESTIC";
|
7857
|
-
province: string;
|
7858
|
-
urbanOrRural: "RURAL";
|
7859
|
-
village?: string | null | undefined;
|
7860
|
-
} | {
|
7861
|
-
country: string;
|
7862
|
-
state: string;
|
7863
|
-
addressType: "INTERNATIONAL";
|
7864
|
-
district2: string;
|
7865
|
-
cityOrTown?: string | null | undefined;
|
7866
|
-
addressLine1?: string | null | undefined;
|
7867
|
-
addressLine2?: string | null | undefined;
|
7868
|
-
addressLine3?: string | null | undefined;
|
7869
|
-
postcodeOrZip?: string | null | undefined;
|
7870
|
-
} | {
|
7871
|
-
type: string;
|
7872
|
-
option: string;
|
7873
|
-
filename: string;
|
7874
|
-
originalFilename: string;
|
7875
|
-
}[] | undefined>;
|
7805
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7876
7806
|
createdAt: string;
|
7877
7807
|
createdBy: string;
|
7878
|
-
|
7879
|
-
metadata?: Record<string, string | number | boolean | {
|
7880
|
-
type: string;
|
7881
|
-
filename: string;
|
7882
|
-
originalFilename: string;
|
7883
|
-
} | {
|
7884
|
-
country: string;
|
7885
|
-
district: string;
|
7886
|
-
addressType: "DOMESTIC";
|
7887
|
-
province: string;
|
7888
|
-
urbanOrRural: "URBAN";
|
7889
|
-
number?: string | null | undefined;
|
7890
|
-
town?: string | null | undefined;
|
7891
|
-
residentialArea?: string | null | undefined;
|
7892
|
-
street?: string | null | undefined;
|
7893
|
-
zipCode?: string | null | undefined;
|
7894
|
-
} | {
|
7895
|
-
country: string;
|
7896
|
-
district: string;
|
7897
|
-
addressType: "DOMESTIC";
|
7898
|
-
province: string;
|
7899
|
-
urbanOrRural: "RURAL";
|
7900
|
-
village?: string | null | undefined;
|
7901
|
-
} | {
|
7902
|
-
country: string;
|
7903
|
-
state: string;
|
7904
|
-
addressType: "INTERNATIONAL";
|
7905
|
-
district2: string;
|
7906
|
-
cityOrTown?: string | null | undefined;
|
7907
|
-
addressLine1?: string | null | undefined;
|
7908
|
-
addressLine2?: string | null | undefined;
|
7909
|
-
addressLine3?: string | null | undefined;
|
7910
|
-
postcodeOrZip?: string | null | undefined;
|
7911
|
-
} | {
|
7912
|
-
type: string;
|
7913
|
-
option: string;
|
7914
|
-
filename: string;
|
7915
|
-
originalFilename: string;
|
7916
|
-
}[] | undefined> | undefined;
|
7917
|
-
} | {
|
7918
|
-
type: "REGISTER";
|
7919
|
-
id: string;
|
7920
|
-
data: Record<string, string | number | boolean | {
|
7808
|
+
declaration: Record<string, string | number | boolean | {
|
7921
7809
|
type: string;
|
7922
7810
|
filename: string;
|
7923
7811
|
originalFilename: string;
|
@@ -7955,14 +7843,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7955
7843
|
filename: string;
|
7956
7844
|
originalFilename: string;
|
7957
7845
|
}[] | undefined>;
|
7958
|
-
createdAt: string;
|
7959
|
-
createdBy: string;
|
7960
7846
|
createdAtLocation: string;
|
7961
|
-
|
7962
|
-
trackingId: string;
|
7963
|
-
registrationNumber: string;
|
7964
|
-
};
|
7965
|
-
metadata?: Record<string, string | number | boolean | {
|
7847
|
+
annotation?: Record<string, string | number | boolean | {
|
7966
7848
|
type: string;
|
7967
7849
|
filename: string;
|
7968
7850
|
originalFilename: string;
|
@@ -8000,10 +7882,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
8000
7882
|
filename: string;
|
8001
7883
|
originalFilename: string;
|
8002
7884
|
}[] | undefined> | undefined;
|
7885
|
+
originalActionId?: string | undefined;
|
7886
|
+
registrationNumber?: string | undefined;
|
8003
7887
|
} | {
|
8004
7888
|
type: "DECLARE";
|
8005
7889
|
id: string;
|
8006
|
-
|
7890
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7891
|
+
createdAt: string;
|
7892
|
+
createdBy: string;
|
7893
|
+
declaration: Record<string, string | number | boolean | {
|
8007
7894
|
type: string;
|
8008
7895
|
filename: string;
|
8009
7896
|
originalFilename: string;
|
@@ -8041,10 +7928,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8041
7928
|
filename: string;
|
8042
7929
|
originalFilename: string;
|
8043
7930
|
}[] | undefined>;
|
8044
|
-
createdAt: string;
|
8045
|
-
createdBy: string;
|
8046
7931
|
createdAtLocation: string;
|
8047
|
-
|
7932
|
+
annotation?: Record<string, string | number | boolean | {
|
8048
7933
|
type: string;
|
8049
7934
|
filename: string;
|
8050
7935
|
originalFilename: string;
|
@@ -8082,10 +7967,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8082
7967
|
filename: string;
|
8083
7968
|
originalFilename: string;
|
8084
7969
|
}[] | undefined> | undefined;
|
7970
|
+
originalActionId?: string | undefined;
|
8085
7971
|
} | {
|
8086
7972
|
type: "VALIDATE";
|
8087
7973
|
id: string;
|
8088
|
-
|
7974
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7975
|
+
createdAt: string;
|
7976
|
+
createdBy: string;
|
7977
|
+
declaration: Record<string, string | number | boolean | {
|
8089
7978
|
type: string;
|
8090
7979
|
filename: string;
|
8091
7980
|
originalFilename: string;
|
@@ -8123,10 +8012,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8123
8012
|
filename: string;
|
8124
8013
|
originalFilename: string;
|
8125
8014
|
}[] | undefined>;
|
8126
|
-
createdAt: string;
|
8127
|
-
createdBy: string;
|
8128
8015
|
createdAtLocation: string;
|
8129
|
-
|
8016
|
+
annotation?: Record<string, string | number | boolean | {
|
8130
8017
|
type: string;
|
8131
8018
|
filename: string;
|
8132
8019
|
originalFilename: string;
|
@@ -8164,10 +8051,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8164
8051
|
filename: string;
|
8165
8052
|
originalFilename: string;
|
8166
8053
|
}[] | undefined> | undefined;
|
8054
|
+
originalActionId?: string | undefined;
|
8167
8055
|
} | {
|
8168
8056
|
type: "REJECT";
|
8169
8057
|
id: string;
|
8170
|
-
|
8058
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8059
|
+
createdAt: string;
|
8060
|
+
createdBy: string;
|
8061
|
+
declaration: Record<string, string | number | boolean | {
|
8171
8062
|
type: string;
|
8172
8063
|
filename: string;
|
8173
8064
|
originalFilename: string;
|
@@ -8205,10 +8096,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8205
8096
|
filename: string;
|
8206
8097
|
originalFilename: string;
|
8207
8098
|
}[] | undefined>;
|
8208
|
-
createdAt: string;
|
8209
|
-
createdBy: string;
|
8210
8099
|
createdAtLocation: string;
|
8211
|
-
|
8100
|
+
annotation?: Record<string, string | number | boolean | {
|
8212
8101
|
type: string;
|
8213
8102
|
filename: string;
|
8214
8103
|
originalFilename: string;
|
@@ -8246,10 +8135,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8246
8135
|
filename: string;
|
8247
8136
|
originalFilename: string;
|
8248
8137
|
}[] | undefined> | undefined;
|
8138
|
+
originalActionId?: string | undefined;
|
8249
8139
|
} | {
|
8250
8140
|
type: "MARKED_AS_DUPLICATE";
|
8251
8141
|
id: string;
|
8252
|
-
|
8142
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8143
|
+
createdAt: string;
|
8144
|
+
createdBy: string;
|
8145
|
+
declaration: Record<string, string | number | boolean | {
|
8253
8146
|
type: string;
|
8254
8147
|
filename: string;
|
8255
8148
|
originalFilename: string;
|
@@ -8287,10 +8180,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8287
8180
|
filename: string;
|
8288
8181
|
originalFilename: string;
|
8289
8182
|
}[] | undefined>;
|
8290
|
-
createdAt: string;
|
8291
|
-
createdBy: string;
|
8292
8183
|
createdAtLocation: string;
|
8293
|
-
|
8184
|
+
annotation?: Record<string, string | number | boolean | {
|
8294
8185
|
type: string;
|
8295
8186
|
filename: string;
|
8296
8187
|
originalFilename: string;
|
@@ -8328,10 +8219,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8328
8219
|
filename: string;
|
8329
8220
|
originalFilename: string;
|
8330
8221
|
}[] | undefined> | undefined;
|
8222
|
+
originalActionId?: string | undefined;
|
8331
8223
|
} | {
|
8332
8224
|
type: "ARCHIVE";
|
8333
8225
|
id: string;
|
8334
|
-
|
8226
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8227
|
+
createdAt: string;
|
8228
|
+
createdBy: string;
|
8229
|
+
declaration: Record<string, string | number | boolean | {
|
8335
8230
|
type: string;
|
8336
8231
|
filename: string;
|
8337
8232
|
originalFilename: string;
|
@@ -8369,10 +8264,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8369
8264
|
filename: string;
|
8370
8265
|
originalFilename: string;
|
8371
8266
|
}[] | undefined>;
|
8372
|
-
createdAt: string;
|
8373
|
-
createdBy: string;
|
8374
8267
|
createdAtLocation: string;
|
8375
|
-
|
8268
|
+
annotation?: Record<string, string | number | boolean | {
|
8376
8269
|
type: string;
|
8377
8270
|
filename: string;
|
8378
8271
|
originalFilename: string;
|
@@ -8410,10 +8303,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8410
8303
|
filename: string;
|
8411
8304
|
originalFilename: string;
|
8412
8305
|
}[] | undefined> | undefined;
|
8306
|
+
originalActionId?: string | undefined;
|
8413
8307
|
} | {
|
8414
8308
|
type: "CREATE";
|
8415
8309
|
id: string;
|
8416
|
-
|
8310
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8311
|
+
createdAt: string;
|
8312
|
+
createdBy: string;
|
8313
|
+
declaration: Record<string, string | number | boolean | {
|
8417
8314
|
type: string;
|
8418
8315
|
filename: string;
|
8419
8316
|
originalFilename: string;
|
@@ -8451,10 +8348,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8451
8348
|
filename: string;
|
8452
8349
|
originalFilename: string;
|
8453
8350
|
}[] | undefined>;
|
8454
|
-
createdAt: string;
|
8455
|
-
createdBy: string;
|
8456
8351
|
createdAtLocation: string;
|
8457
|
-
|
8352
|
+
annotation?: Record<string, string | number | boolean | {
|
8458
8353
|
type: string;
|
8459
8354
|
filename: string;
|
8460
8355
|
originalFilename: string;
|
@@ -8492,10 +8387,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8492
8387
|
filename: string;
|
8493
8388
|
originalFilename: string;
|
8494
8389
|
}[] | undefined> | undefined;
|
8390
|
+
originalActionId?: string | undefined;
|
8495
8391
|
} | {
|
8496
8392
|
type: "NOTIFY";
|
8497
8393
|
id: string;
|
8498
|
-
|
8394
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8395
|
+
createdAt: string;
|
8396
|
+
createdBy: string;
|
8397
|
+
declaration: Record<string, string | number | boolean | {
|
8499
8398
|
type: string;
|
8500
8399
|
filename: string;
|
8501
8400
|
originalFilename: string;
|
@@ -8533,10 +8432,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8533
8432
|
filename: string;
|
8534
8433
|
originalFilename: string;
|
8535
8434
|
}[] | undefined>;
|
8536
|
-
createdAt: string;
|
8537
|
-
createdBy: string;
|
8538
8435
|
createdAtLocation: string;
|
8539
|
-
|
8436
|
+
annotation?: Record<string, string | number | boolean | {
|
8540
8437
|
type: string;
|
8541
8438
|
filename: string;
|
8542
8439
|
originalFilename: string;
|
@@ -8574,10 +8471,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8574
8471
|
filename: string;
|
8575
8472
|
originalFilename: string;
|
8576
8473
|
}[] | undefined> | undefined;
|
8474
|
+
originalActionId?: string | undefined;
|
8577
8475
|
} | {
|
8578
8476
|
type: "PRINT_CERTIFICATE";
|
8579
8477
|
id: string;
|
8580
|
-
|
8478
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8479
|
+
createdAt: string;
|
8480
|
+
createdBy: string;
|
8481
|
+
declaration: Record<string, string | number | boolean | {
|
8581
8482
|
type: string;
|
8582
8483
|
filename: string;
|
8583
8484
|
originalFilename: string;
|
@@ -8615,10 +8516,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8615
8516
|
filename: string;
|
8616
8517
|
originalFilename: string;
|
8617
8518
|
}[] | undefined>;
|
8618
|
-
createdAt: string;
|
8619
|
-
createdBy: string;
|
8620
8519
|
createdAtLocation: string;
|
8621
|
-
|
8520
|
+
annotation?: Record<string, string | number | boolean | {
|
8622
8521
|
type: string;
|
8623
8522
|
filename: string;
|
8624
8523
|
originalFilename: string;
|
@@ -8656,10 +8555,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8656
8555
|
filename: string;
|
8657
8556
|
originalFilename: string;
|
8658
8557
|
}[] | undefined> | undefined;
|
8558
|
+
originalActionId?: string | undefined;
|
8659
8559
|
} | {
|
8660
8560
|
type: "REQUEST_CORRECTION";
|
8661
8561
|
id: string;
|
8662
|
-
|
8562
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8563
|
+
createdAt: string;
|
8564
|
+
createdBy: string;
|
8565
|
+
declaration: Record<string, string | number | boolean | {
|
8663
8566
|
type: string;
|
8664
8567
|
filename: string;
|
8665
8568
|
originalFilename: string;
|
@@ -8697,10 +8600,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8697
8600
|
filename: string;
|
8698
8601
|
originalFilename: string;
|
8699
8602
|
}[] | undefined>;
|
8700
|
-
createdAt: string;
|
8701
|
-
createdBy: string;
|
8702
8603
|
createdAtLocation: string;
|
8703
|
-
|
8604
|
+
annotation?: Record<string, string | number | boolean | {
|
8704
8605
|
type: string;
|
8705
8606
|
filename: string;
|
8706
8607
|
originalFilename: string;
|
@@ -8738,10 +8639,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8738
8639
|
filename: string;
|
8739
8640
|
originalFilename: string;
|
8740
8641
|
}[] | undefined> | undefined;
|
8642
|
+
originalActionId?: string | undefined;
|
8741
8643
|
} | {
|
8742
8644
|
type: "APPROVE_CORRECTION";
|
8743
8645
|
id: string;
|
8744
|
-
|
8646
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8647
|
+
createdAt: string;
|
8648
|
+
createdBy: string;
|
8649
|
+
declaration: Record<string, string | number | boolean | {
|
8745
8650
|
type: string;
|
8746
8651
|
filename: string;
|
8747
8652
|
originalFilename: string;
|
@@ -8779,11 +8684,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8779
8684
|
filename: string;
|
8780
8685
|
originalFilename: string;
|
8781
8686
|
}[] | undefined>;
|
8782
|
-
createdAt: string;
|
8783
|
-
createdBy: string;
|
8784
8687
|
createdAtLocation: string;
|
8785
8688
|
requestId: string;
|
8786
|
-
|
8689
|
+
annotation?: Record<string, string | number | boolean | {
|
8787
8690
|
type: string;
|
8788
8691
|
filename: string;
|
8789
8692
|
originalFilename: string;
|
@@ -8821,10 +8724,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8821
8724
|
filename: string;
|
8822
8725
|
originalFilename: string;
|
8823
8726
|
}[] | undefined> | undefined;
|
8727
|
+
originalActionId?: string | undefined;
|
8824
8728
|
} | {
|
8825
8729
|
type: "REJECT_CORRECTION";
|
8826
8730
|
id: string;
|
8827
|
-
|
8731
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8732
|
+
createdAt: string;
|
8733
|
+
createdBy: string;
|
8734
|
+
declaration: Record<string, string | number | boolean | {
|
8828
8735
|
type: string;
|
8829
8736
|
filename: string;
|
8830
8737
|
originalFilename: string;
|
@@ -8862,11 +8769,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8862
8769
|
filename: string;
|
8863
8770
|
originalFilename: string;
|
8864
8771
|
}[] | undefined>;
|
8865
|
-
createdAt: string;
|
8866
|
-
createdBy: string;
|
8867
8772
|
createdAtLocation: string;
|
8868
8773
|
requestId: string;
|
8869
|
-
|
8774
|
+
annotation?: Record<string, string | number | boolean | {
|
8870
8775
|
type: string;
|
8871
8776
|
filename: string;
|
8872
8777
|
originalFilename: string;
|
@@ -8904,10 +8809,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8904
8809
|
filename: string;
|
8905
8810
|
originalFilename: string;
|
8906
8811
|
}[] | undefined> | undefined;
|
8812
|
+
originalActionId?: string | undefined;
|
8907
8813
|
} | {
|
8908
8814
|
type: "READ";
|
8909
8815
|
id: string;
|
8910
|
-
|
8816
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8817
|
+
createdAt: string;
|
8818
|
+
createdBy: string;
|
8819
|
+
declaration: Record<string, string | number | boolean | {
|
8911
8820
|
type: string;
|
8912
8821
|
filename: string;
|
8913
8822
|
originalFilename: string;
|
@@ -8945,10 +8854,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8945
8854
|
filename: string;
|
8946
8855
|
originalFilename: string;
|
8947
8856
|
}[] | undefined>;
|
8948
|
-
createdAt: string;
|
8949
|
-
createdBy: string;
|
8950
8857
|
createdAtLocation: string;
|
8951
|
-
|
8858
|
+
annotation?: Record<string, string | number | boolean | {
|
8952
8859
|
type: string;
|
8953
8860
|
filename: string;
|
8954
8861
|
originalFilename: string;
|
@@ -8986,89 +8893,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
8986
8893
|
filename: string;
|
8987
8894
|
originalFilename: string;
|
8988
8895
|
}[] | undefined> | undefined;
|
8896
|
+
originalActionId?: string | undefined;
|
8989
8897
|
} | {
|
8990
|
-
type: "
|
8898
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
8991
8899
|
id: string;
|
8992
|
-
|
8993
|
-
type: string;
|
8994
|
-
filename: string;
|
8995
|
-
originalFilename: string;
|
8996
|
-
} | {
|
8997
|
-
country: string;
|
8998
|
-
district: string;
|
8999
|
-
addressType: "DOMESTIC";
|
9000
|
-
province: string;
|
9001
|
-
urbanOrRural: "URBAN";
|
9002
|
-
number?: string | null | undefined;
|
9003
|
-
town?: string | null | undefined;
|
9004
|
-
residentialArea?: string | null | undefined;
|
9005
|
-
street?: string | null | undefined;
|
9006
|
-
zipCode?: string | null | undefined;
|
9007
|
-
} | {
|
9008
|
-
country: string;
|
9009
|
-
district: string;
|
9010
|
-
addressType: "DOMESTIC";
|
9011
|
-
province: string;
|
9012
|
-
urbanOrRural: "RURAL";
|
9013
|
-
village?: string | null | undefined;
|
9014
|
-
} | {
|
9015
|
-
country: string;
|
9016
|
-
state: string;
|
9017
|
-
addressType: "INTERNATIONAL";
|
9018
|
-
district2: string;
|
9019
|
-
cityOrTown?: string | null | undefined;
|
9020
|
-
addressLine1?: string | null | undefined;
|
9021
|
-
addressLine2?: string | null | undefined;
|
9022
|
-
addressLine3?: string | null | undefined;
|
9023
|
-
postcodeOrZip?: string | null | undefined;
|
9024
|
-
} | {
|
9025
|
-
type: string;
|
9026
|
-
option: string;
|
9027
|
-
filename: string;
|
9028
|
-
originalFilename: string;
|
9029
|
-
}[] | undefined>;
|
8900
|
+
status: "Rejected";
|
9030
8901
|
createdAt: string;
|
9031
|
-
|
9032
|
-
createdAtLocation: string;
|
9033
|
-
metadata?: Record<string, string | number | boolean | {
|
9034
|
-
type: string;
|
9035
|
-
filename: string;
|
9036
|
-
originalFilename: string;
|
9037
|
-
} | {
|
9038
|
-
country: string;
|
9039
|
-
district: string;
|
9040
|
-
addressType: "DOMESTIC";
|
9041
|
-
province: string;
|
9042
|
-
urbanOrRural: "URBAN";
|
9043
|
-
number?: string | null | undefined;
|
9044
|
-
town?: string | null | undefined;
|
9045
|
-
residentialArea?: string | null | undefined;
|
9046
|
-
street?: string | null | undefined;
|
9047
|
-
zipCode?: string | null | undefined;
|
9048
|
-
} | {
|
9049
|
-
country: string;
|
9050
|
-
district: string;
|
9051
|
-
addressType: "DOMESTIC";
|
9052
|
-
province: string;
|
9053
|
-
urbanOrRural: "RURAL";
|
9054
|
-
village?: string | null | undefined;
|
9055
|
-
} | {
|
9056
|
-
country: string;
|
9057
|
-
state: string;
|
9058
|
-
addressType: "INTERNATIONAL";
|
9059
|
-
district2: string;
|
9060
|
-
cityOrTown?: string | null | undefined;
|
9061
|
-
addressLine1?: string | null | undefined;
|
9062
|
-
addressLine2?: string | null | undefined;
|
9063
|
-
addressLine3?: string | null | undefined;
|
9064
|
-
postcodeOrZip?: string | null | undefined;
|
9065
|
-
} | {
|
9066
|
-
type: string;
|
9067
|
-
option: string;
|
9068
|
-
filename: string;
|
9069
|
-
originalFilename: string;
|
9070
|
-
}[] | undefined> | undefined;
|
8902
|
+
originalActionId?: string | undefined;
|
9071
8903
|
})[];
|
8904
|
+
trackingId: string;
|
9072
8905
|
}>;
|
9073
8906
|
export type EventDocument = z.infer<typeof EventDocument>;
|
9074
8907
|
//# sourceMappingURL=EventDocument.d.ts.map
|