@opencrvs/toolkit 1.8.0-rc.f7910f3 → 1.8.0-rc.f872339
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 +5825 -13746
- package/dist/commons/conditionals/conditionals.d.ts +25 -3
- package/dist/commons/conditionals/validate.d.ts +12 -17
- package/dist/commons/events/ActionConfig.d.ts +1202 -6605
- package/dist/commons/events/ActionDocument.d.ts +7344 -244
- package/dist/commons/events/ActionInput.d.ts +2129 -392
- package/dist/commons/events/ActionType.d.ts +26 -16
- package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
- 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 +846 -3043
- package/dist/commons/events/EventConfigInput.d.ts +5 -2
- package/dist/commons/events/EventDocument.d.ts +703 -304
- package/dist/commons/events/EventIndex.d.ts +9 -3
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/FieldConfig.d.ts +286 -45
- package/dist/commons/events/FormConfig.d.ts +559 -322
- package/dist/commons/events/PageConfig.d.ts +335 -0
- package/dist/commons/events/SummaryConfig.d.ts +93 -7
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/User.d.ts +5 -0
- package/dist/commons/events/defineConfig.d.ts +41 -435
- package/dist/commons/events/index.d.ts +3 -1
- package/dist/commons/events/scopes.d.ts +25 -0
- 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 +1348 -849
- package/package.json +1 -1
@@ -4,11 +4,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4
4
|
type: z.ZodString;
|
5
5
|
createdAt: z.ZodString;
|
6
6
|
updatedAt: z.ZodString;
|
7
|
-
|
7
|
+
updatedAtLocation: z.ZodString;
|
8
|
+
actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
8
9
|
id: z.ZodString;
|
9
10
|
createdAt: z.ZodString;
|
10
11
|
createdBy: z.ZodString;
|
11
|
-
|
12
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12
13
|
filename: z.ZodString;
|
13
14
|
originalFilename: z.ZodString;
|
14
15
|
type: z.ZodString;
|
@@ -122,7 +123,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
122
123
|
addressLine3?: string | null | undefined;
|
123
124
|
postcodeOrZip?: string | null | undefined;
|
124
125
|
}>]>>;
|
125
|
-
|
126
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
126
127
|
filename: z.ZodString;
|
127
128
|
originalFilename: z.ZodString;
|
128
129
|
type: z.ZodString;
|
@@ -237,12 +238,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
237
238
|
postcodeOrZip?: string | null | undefined;
|
238
239
|
}>]>>>;
|
239
240
|
createdAtLocation: z.ZodString;
|
241
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
242
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
240
243
|
}, {
|
241
244
|
type: z.ZodLiteral<"CREATE">;
|
242
245
|
}>, "strip", z.ZodTypeAny, {
|
243
246
|
type: "CREATE";
|
244
247
|
id: string;
|
245
|
-
|
248
|
+
status: "Rejected" | "Requested" | "Accepted";
|
249
|
+
createdAt: string;
|
250
|
+
createdBy: string;
|
251
|
+
declaration: Record<string, string | number | boolean | {
|
246
252
|
type: string;
|
247
253
|
filename: string;
|
248
254
|
originalFilename: string;
|
@@ -280,10 +286,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
280
286
|
filename: string;
|
281
287
|
originalFilename: string;
|
282
288
|
}[] | undefined>;
|
283
|
-
createdAt: string;
|
284
|
-
createdBy: string;
|
285
289
|
createdAtLocation: string;
|
286
|
-
|
290
|
+
annotation?: Record<string, string | number | boolean | {
|
287
291
|
type: string;
|
288
292
|
filename: string;
|
289
293
|
originalFilename: string;
|
@@ -321,10 +325,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
321
325
|
filename: string;
|
322
326
|
originalFilename: string;
|
323
327
|
}[] | undefined> | undefined;
|
328
|
+
originalActionId?: string | undefined;
|
324
329
|
}, {
|
325
330
|
type: "CREATE";
|
326
331
|
id: string;
|
327
|
-
|
332
|
+
status: "Rejected" | "Requested" | "Accepted";
|
333
|
+
createdAt: string;
|
334
|
+
createdBy: string;
|
335
|
+
declaration: Record<string, string | number | boolean | {
|
328
336
|
type: string;
|
329
337
|
filename: string;
|
330
338
|
originalFilename: string;
|
@@ -362,10 +370,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
362
370
|
filename: string;
|
363
371
|
originalFilename: string;
|
364
372
|
}[] | undefined>;
|
365
|
-
createdAt: string;
|
366
|
-
createdBy: string;
|
367
373
|
createdAtLocation: string;
|
368
|
-
|
374
|
+
annotation?: Record<string, string | number | boolean | {
|
369
375
|
type: string;
|
370
376
|
filename: string;
|
371
377
|
originalFilename: string;
|
@@ -403,11 +409,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
403
409
|
filename: string;
|
404
410
|
originalFilename: string;
|
405
411
|
}[] | undefined> | undefined;
|
412
|
+
originalActionId?: string | undefined;
|
406
413
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
407
414
|
id: z.ZodString;
|
408
415
|
createdAt: z.ZodString;
|
409
416
|
createdBy: z.ZodString;
|
410
|
-
|
417
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
411
418
|
filename: z.ZodString;
|
412
419
|
originalFilename: z.ZodString;
|
413
420
|
type: z.ZodString;
|
@@ -521,7 +528,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
521
528
|
addressLine3?: string | null | undefined;
|
522
529
|
postcodeOrZip?: string | null | undefined;
|
523
530
|
}>]>>;
|
524
|
-
|
531
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
525
532
|
filename: z.ZodString;
|
526
533
|
originalFilename: z.ZodString;
|
527
534
|
type: z.ZodString;
|
@@ -636,12 +643,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
636
643
|
postcodeOrZip?: string | null | undefined;
|
637
644
|
}>]>>>;
|
638
645
|
createdAtLocation: z.ZodString;
|
646
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
647
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
639
648
|
}, {
|
640
649
|
type: z.ZodLiteral<"VALIDATE">;
|
641
650
|
}>, "strip", z.ZodTypeAny, {
|
642
651
|
type: "VALIDATE";
|
643
652
|
id: string;
|
644
|
-
|
653
|
+
status: "Rejected" | "Requested" | "Accepted";
|
654
|
+
createdAt: string;
|
655
|
+
createdBy: string;
|
656
|
+
declaration: Record<string, string | number | boolean | {
|
645
657
|
type: string;
|
646
658
|
filename: string;
|
647
659
|
originalFilename: string;
|
@@ -679,10 +691,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
679
691
|
filename: string;
|
680
692
|
originalFilename: string;
|
681
693
|
}[] | undefined>;
|
682
|
-
createdAt: string;
|
683
|
-
createdBy: string;
|
684
694
|
createdAtLocation: string;
|
685
|
-
|
695
|
+
annotation?: Record<string, string | number | boolean | {
|
686
696
|
type: string;
|
687
697
|
filename: string;
|
688
698
|
originalFilename: string;
|
@@ -720,10 +730,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
720
730
|
filename: string;
|
721
731
|
originalFilename: string;
|
722
732
|
}[] | undefined> | undefined;
|
733
|
+
originalActionId?: string | undefined;
|
723
734
|
}, {
|
724
735
|
type: "VALIDATE";
|
725
736
|
id: string;
|
726
|
-
|
737
|
+
status: "Rejected" | "Requested" | "Accepted";
|
738
|
+
createdAt: string;
|
739
|
+
createdBy: string;
|
740
|
+
declaration: Record<string, string | number | boolean | {
|
727
741
|
type: string;
|
728
742
|
filename: string;
|
729
743
|
originalFilename: string;
|
@@ -761,10 +775,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
761
775
|
filename: string;
|
762
776
|
originalFilename: string;
|
763
777
|
}[] | undefined>;
|
764
|
-
createdAt: string;
|
765
|
-
createdBy: string;
|
766
778
|
createdAtLocation: string;
|
767
|
-
|
779
|
+
annotation?: Record<string, string | number | boolean | {
|
768
780
|
type: string;
|
769
781
|
filename: string;
|
770
782
|
originalFilename: string;
|
@@ -802,11 +814,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
802
814
|
filename: string;
|
803
815
|
originalFilename: string;
|
804
816
|
}[] | undefined> | undefined;
|
817
|
+
originalActionId?: string | undefined;
|
805
818
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
806
819
|
id: z.ZodString;
|
807
820
|
createdAt: z.ZodString;
|
808
821
|
createdBy: z.ZodString;
|
809
|
-
|
822
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
810
823
|
filename: z.ZodString;
|
811
824
|
originalFilename: z.ZodString;
|
812
825
|
type: z.ZodString;
|
@@ -920,7 +933,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
920
933
|
addressLine3?: string | null | undefined;
|
921
934
|
postcodeOrZip?: string | null | undefined;
|
922
935
|
}>]>>;
|
923
|
-
|
936
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
924
937
|
filename: z.ZodString;
|
925
938
|
originalFilename: z.ZodString;
|
926
939
|
type: z.ZodString;
|
@@ -1035,12 +1048,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1035
1048
|
postcodeOrZip?: string | null | undefined;
|
1036
1049
|
}>]>>>;
|
1037
1050
|
createdAtLocation: z.ZodString;
|
1051
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1052
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1038
1053
|
}, {
|
1039
1054
|
type: z.ZodLiteral<"REJECT">;
|
1040
1055
|
}>, "strip", z.ZodTypeAny, {
|
1041
1056
|
type: "REJECT";
|
1042
1057
|
id: string;
|
1043
|
-
|
1058
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1059
|
+
createdAt: string;
|
1060
|
+
createdBy: string;
|
1061
|
+
declaration: Record<string, string | number | boolean | {
|
1044
1062
|
type: string;
|
1045
1063
|
filename: string;
|
1046
1064
|
originalFilename: string;
|
@@ -1078,10 +1096,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1078
1096
|
filename: string;
|
1079
1097
|
originalFilename: string;
|
1080
1098
|
}[] | undefined>;
|
1081
|
-
createdAt: string;
|
1082
|
-
createdBy: string;
|
1083
1099
|
createdAtLocation: string;
|
1084
|
-
|
1100
|
+
annotation?: Record<string, string | number | boolean | {
|
1085
1101
|
type: string;
|
1086
1102
|
filename: string;
|
1087
1103
|
originalFilename: string;
|
@@ -1119,10 +1135,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1119
1135
|
filename: string;
|
1120
1136
|
originalFilename: string;
|
1121
1137
|
}[] | undefined> | undefined;
|
1138
|
+
originalActionId?: string | undefined;
|
1122
1139
|
}, {
|
1123
1140
|
type: "REJECT";
|
1124
1141
|
id: string;
|
1125
|
-
|
1142
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1143
|
+
createdAt: string;
|
1144
|
+
createdBy: string;
|
1145
|
+
declaration: Record<string, string | number | boolean | {
|
1126
1146
|
type: string;
|
1127
1147
|
filename: string;
|
1128
1148
|
originalFilename: string;
|
@@ -1160,10 +1180,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1160
1180
|
filename: string;
|
1161
1181
|
originalFilename: string;
|
1162
1182
|
}[] | undefined>;
|
1163
|
-
createdAt: string;
|
1164
|
-
createdBy: string;
|
1165
1183
|
createdAtLocation: string;
|
1166
|
-
|
1184
|
+
annotation?: Record<string, string | number | boolean | {
|
1167
1185
|
type: string;
|
1168
1186
|
filename: string;
|
1169
1187
|
originalFilename: string;
|
@@ -1201,11 +1219,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1201
1219
|
filename: string;
|
1202
1220
|
originalFilename: string;
|
1203
1221
|
}[] | undefined> | undefined;
|
1222
|
+
originalActionId?: string | undefined;
|
1204
1223
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1205
1224
|
id: z.ZodString;
|
1206
1225
|
createdAt: z.ZodString;
|
1207
1226
|
createdBy: z.ZodString;
|
1208
|
-
|
1227
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1209
1228
|
filename: z.ZodString;
|
1210
1229
|
originalFilename: z.ZodString;
|
1211
1230
|
type: z.ZodString;
|
@@ -1319,7 +1338,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1319
1338
|
addressLine3?: string | null | undefined;
|
1320
1339
|
postcodeOrZip?: string | null | undefined;
|
1321
1340
|
}>]>>;
|
1322
|
-
|
1341
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1323
1342
|
filename: z.ZodString;
|
1324
1343
|
originalFilename: z.ZodString;
|
1325
1344
|
type: z.ZodString;
|
@@ -1434,12 +1453,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1434
1453
|
postcodeOrZip?: string | null | undefined;
|
1435
1454
|
}>]>>>;
|
1436
1455
|
createdAtLocation: z.ZodString;
|
1456
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1457
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1437
1458
|
}, {
|
1438
1459
|
type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
|
1439
1460
|
}>, "strip", z.ZodTypeAny, {
|
1440
1461
|
type: "MARKED_AS_DUPLICATE";
|
1441
1462
|
id: string;
|
1442
|
-
|
1463
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1464
|
+
createdAt: string;
|
1465
|
+
createdBy: string;
|
1466
|
+
declaration: Record<string, string | number | boolean | {
|
1443
1467
|
type: string;
|
1444
1468
|
filename: string;
|
1445
1469
|
originalFilename: string;
|
@@ -1477,10 +1501,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1477
1501
|
filename: string;
|
1478
1502
|
originalFilename: string;
|
1479
1503
|
}[] | undefined>;
|
1480
|
-
createdAt: string;
|
1481
|
-
createdBy: string;
|
1482
1504
|
createdAtLocation: string;
|
1483
|
-
|
1505
|
+
annotation?: Record<string, string | number | boolean | {
|
1484
1506
|
type: string;
|
1485
1507
|
filename: string;
|
1486
1508
|
originalFilename: string;
|
@@ -1518,10 +1540,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1518
1540
|
filename: string;
|
1519
1541
|
originalFilename: string;
|
1520
1542
|
}[] | undefined> | undefined;
|
1543
|
+
originalActionId?: string | undefined;
|
1521
1544
|
}, {
|
1522
1545
|
type: "MARKED_AS_DUPLICATE";
|
1523
1546
|
id: string;
|
1524
|
-
|
1547
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1548
|
+
createdAt: string;
|
1549
|
+
createdBy: string;
|
1550
|
+
declaration: Record<string, string | number | boolean | {
|
1525
1551
|
type: string;
|
1526
1552
|
filename: string;
|
1527
1553
|
originalFilename: string;
|
@@ -1559,10 +1585,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1559
1585
|
filename: string;
|
1560
1586
|
originalFilename: string;
|
1561
1587
|
}[] | undefined>;
|
1562
|
-
createdAt: string;
|
1563
|
-
createdBy: string;
|
1564
1588
|
createdAtLocation: string;
|
1565
|
-
|
1589
|
+
annotation?: Record<string, string | number | boolean | {
|
1566
1590
|
type: string;
|
1567
1591
|
filename: string;
|
1568
1592
|
originalFilename: string;
|
@@ -1600,11 +1624,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1600
1624
|
filename: string;
|
1601
1625
|
originalFilename: string;
|
1602
1626
|
}[] | undefined> | undefined;
|
1627
|
+
originalActionId?: string | undefined;
|
1603
1628
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1604
1629
|
id: z.ZodString;
|
1605
1630
|
createdAt: z.ZodString;
|
1606
1631
|
createdBy: z.ZodString;
|
1607
|
-
|
1632
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1608
1633
|
filename: z.ZodString;
|
1609
1634
|
originalFilename: z.ZodString;
|
1610
1635
|
type: z.ZodString;
|
@@ -1718,7 +1743,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1718
1743
|
addressLine3?: string | null | undefined;
|
1719
1744
|
postcodeOrZip?: string | null | undefined;
|
1720
1745
|
}>]>>;
|
1721
|
-
|
1746
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1722
1747
|
filename: z.ZodString;
|
1723
1748
|
originalFilename: z.ZodString;
|
1724
1749
|
type: z.ZodString;
|
@@ -1833,12 +1858,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
1833
1858
|
postcodeOrZip?: string | null | undefined;
|
1834
1859
|
}>]>>>;
|
1835
1860
|
createdAtLocation: z.ZodString;
|
1861
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1862
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
1836
1863
|
}, {
|
1837
1864
|
type: z.ZodLiteral<"ARCHIVE">;
|
1838
1865
|
}>, "strip", z.ZodTypeAny, {
|
1839
1866
|
type: "ARCHIVE";
|
1840
1867
|
id: string;
|
1841
|
-
|
1868
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1869
|
+
createdAt: string;
|
1870
|
+
createdBy: string;
|
1871
|
+
declaration: Record<string, string | number | boolean | {
|
1842
1872
|
type: string;
|
1843
1873
|
filename: string;
|
1844
1874
|
originalFilename: string;
|
@@ -1876,10 +1906,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1876
1906
|
filename: string;
|
1877
1907
|
originalFilename: string;
|
1878
1908
|
}[] | undefined>;
|
1879
|
-
createdAt: string;
|
1880
|
-
createdBy: string;
|
1881
1909
|
createdAtLocation: string;
|
1882
|
-
|
1910
|
+
annotation?: Record<string, string | number | boolean | {
|
1883
1911
|
type: string;
|
1884
1912
|
filename: string;
|
1885
1913
|
originalFilename: string;
|
@@ -1917,10 +1945,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
1917
1945
|
filename: string;
|
1918
1946
|
originalFilename: string;
|
1919
1947
|
}[] | undefined> | undefined;
|
1948
|
+
originalActionId?: string | undefined;
|
1920
1949
|
}, {
|
1921
1950
|
type: "ARCHIVE";
|
1922
1951
|
id: string;
|
1923
|
-
|
1952
|
+
status: "Rejected" | "Requested" | "Accepted";
|
1953
|
+
createdAt: string;
|
1954
|
+
createdBy: string;
|
1955
|
+
declaration: Record<string, string | number | boolean | {
|
1924
1956
|
type: string;
|
1925
1957
|
filename: string;
|
1926
1958
|
originalFilename: string;
|
@@ -1958,10 +1990,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1958
1990
|
filename: string;
|
1959
1991
|
originalFilename: string;
|
1960
1992
|
}[] | undefined>;
|
1961
|
-
createdAt: string;
|
1962
|
-
createdBy: string;
|
1963
1993
|
createdAtLocation: string;
|
1964
|
-
|
1994
|
+
annotation?: Record<string, string | number | boolean | {
|
1965
1995
|
type: string;
|
1966
1996
|
filename: string;
|
1967
1997
|
originalFilename: string;
|
@@ -1999,11 +2029,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
1999
2029
|
filename: string;
|
2000
2030
|
originalFilename: string;
|
2001
2031
|
}[] | undefined> | undefined;
|
2032
|
+
originalActionId?: string | undefined;
|
2002
2033
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2003
2034
|
id: z.ZodString;
|
2004
2035
|
createdAt: z.ZodString;
|
2005
2036
|
createdBy: z.ZodString;
|
2006
|
-
|
2037
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2007
2038
|
filename: z.ZodString;
|
2008
2039
|
originalFilename: z.ZodString;
|
2009
2040
|
type: z.ZodString;
|
@@ -2117,7 +2148,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2117
2148
|
addressLine3?: string | null | undefined;
|
2118
2149
|
postcodeOrZip?: string | null | undefined;
|
2119
2150
|
}>]>>;
|
2120
|
-
|
2151
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2121
2152
|
filename: z.ZodString;
|
2122
2153
|
originalFilename: z.ZodString;
|
2123
2154
|
type: z.ZodString;
|
@@ -2232,12 +2263,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
2232
2263
|
postcodeOrZip?: string | null | undefined;
|
2233
2264
|
}>]>>>;
|
2234
2265
|
createdAtLocation: z.ZodString;
|
2266
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2267
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2235
2268
|
}, {
|
2236
2269
|
type: z.ZodLiteral<"NOTIFY">;
|
2237
2270
|
}>, "strip", z.ZodTypeAny, {
|
2238
2271
|
type: "NOTIFY";
|
2239
2272
|
id: string;
|
2240
|
-
|
2273
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2274
|
+
createdAt: string;
|
2275
|
+
createdBy: string;
|
2276
|
+
declaration: Record<string, string | number | boolean | {
|
2241
2277
|
type: string;
|
2242
2278
|
filename: string;
|
2243
2279
|
originalFilename: string;
|
@@ -2275,10 +2311,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2275
2311
|
filename: string;
|
2276
2312
|
originalFilename: string;
|
2277
2313
|
}[] | undefined>;
|
2278
|
-
createdAt: string;
|
2279
|
-
createdBy: string;
|
2280
2314
|
createdAtLocation: string;
|
2281
|
-
|
2315
|
+
annotation?: Record<string, string | number | boolean | {
|
2282
2316
|
type: string;
|
2283
2317
|
filename: string;
|
2284
2318
|
originalFilename: string;
|
@@ -2316,10 +2350,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
2316
2350
|
filename: string;
|
2317
2351
|
originalFilename: string;
|
2318
2352
|
}[] | undefined> | undefined;
|
2353
|
+
originalActionId?: string | undefined;
|
2319
2354
|
}, {
|
2320
2355
|
type: "NOTIFY";
|
2321
2356
|
id: string;
|
2322
|
-
|
2357
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2358
|
+
createdAt: string;
|
2359
|
+
createdBy: string;
|
2360
|
+
declaration: Record<string, string | number | boolean | {
|
2323
2361
|
type: string;
|
2324
2362
|
filename: string;
|
2325
2363
|
originalFilename: string;
|
@@ -2357,10 +2395,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2357
2395
|
filename: string;
|
2358
2396
|
originalFilename: string;
|
2359
2397
|
}[] | undefined>;
|
2360
|
-
createdAt: string;
|
2361
|
-
createdBy: string;
|
2362
2398
|
createdAtLocation: string;
|
2363
|
-
|
2399
|
+
annotation?: Record<string, string | number | boolean | {
|
2364
2400
|
type: string;
|
2365
2401
|
filename: string;
|
2366
2402
|
originalFilename: string;
|
@@ -2398,11 +2434,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
2398
2434
|
filename: string;
|
2399
2435
|
originalFilename: string;
|
2400
2436
|
}[] | undefined> | undefined;
|
2437
|
+
originalActionId?: string | undefined;
|
2401
2438
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2402
2439
|
id: z.ZodString;
|
2403
2440
|
createdAt: z.ZodString;
|
2404
2441
|
createdBy: z.ZodString;
|
2405
|
-
|
2442
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2406
2443
|
filename: z.ZodString;
|
2407
2444
|
originalFilename: z.ZodString;
|
2408
2445
|
type: z.ZodString;
|
@@ -2516,7 +2553,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2516
2553
|
addressLine3?: string | null | undefined;
|
2517
2554
|
postcodeOrZip?: string | null | undefined;
|
2518
2555
|
}>]>>;
|
2519
|
-
|
2556
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2520
2557
|
filename: z.ZodString;
|
2521
2558
|
originalFilename: z.ZodString;
|
2522
2559
|
type: z.ZodString;
|
@@ -2631,22 +2668,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
2631
2668
|
postcodeOrZip?: string | null | undefined;
|
2632
2669
|
}>]>>>;
|
2633
2670
|
createdAtLocation: z.ZodString;
|
2671
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2672
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
2634
2673
|
}, {
|
2635
2674
|
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
|
-
}>;
|
2675
|
+
registrationNumber: z.ZodOptional<z.ZodString>;
|
2646
2676
|
}>, "strip", z.ZodTypeAny, {
|
2647
2677
|
type: "REGISTER";
|
2648
2678
|
id: string;
|
2649
|
-
|
2679
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2680
|
+
createdAt: string;
|
2681
|
+
createdBy: string;
|
2682
|
+
declaration: Record<string, string | number | boolean | {
|
2650
2683
|
type: string;
|
2651
2684
|
filename: string;
|
2652
2685
|
originalFilename: string;
|
@@ -2684,14 +2717,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2684
2717
|
filename: string;
|
2685
2718
|
originalFilename: string;
|
2686
2719
|
}[] | undefined>;
|
2687
|
-
createdAt: string;
|
2688
|
-
createdBy: string;
|
2689
2720
|
createdAtLocation: string;
|
2690
|
-
|
2691
|
-
trackingId: string;
|
2692
|
-
registrationNumber: string;
|
2693
|
-
};
|
2694
|
-
metadata?: Record<string, string | number | boolean | {
|
2721
|
+
annotation?: Record<string, string | number | boolean | {
|
2695
2722
|
type: string;
|
2696
2723
|
filename: string;
|
2697
2724
|
originalFilename: string;
|
@@ -2729,10 +2756,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
2729
2756
|
filename: string;
|
2730
2757
|
originalFilename: string;
|
2731
2758
|
}[] | undefined> | undefined;
|
2759
|
+
originalActionId?: string | undefined;
|
2760
|
+
registrationNumber?: string | undefined;
|
2732
2761
|
}, {
|
2733
2762
|
type: "REGISTER";
|
2734
2763
|
id: string;
|
2735
|
-
|
2764
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2765
|
+
createdAt: string;
|
2766
|
+
createdBy: string;
|
2767
|
+
declaration: Record<string, string | number | boolean | {
|
2736
2768
|
type: string;
|
2737
2769
|
filename: string;
|
2738
2770
|
originalFilename: string;
|
@@ -2770,14 +2802,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2770
2802
|
filename: string;
|
2771
2803
|
originalFilename: string;
|
2772
2804
|
}[] | undefined>;
|
2773
|
-
createdAt: string;
|
2774
|
-
createdBy: string;
|
2775
2805
|
createdAtLocation: string;
|
2776
|
-
|
2777
|
-
trackingId: string;
|
2778
|
-
registrationNumber: string;
|
2779
|
-
};
|
2780
|
-
metadata?: Record<string, string | number | boolean | {
|
2806
|
+
annotation?: Record<string, string | number | boolean | {
|
2781
2807
|
type: string;
|
2782
2808
|
filename: string;
|
2783
2809
|
originalFilename: string;
|
@@ -2815,11 +2841,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
2815
2841
|
filename: string;
|
2816
2842
|
originalFilename: string;
|
2817
2843
|
}[] | undefined> | undefined;
|
2844
|
+
originalActionId?: string | undefined;
|
2845
|
+
registrationNumber?: string | undefined;
|
2818
2846
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2819
2847
|
id: z.ZodString;
|
2820
2848
|
createdAt: z.ZodString;
|
2821
2849
|
createdBy: z.ZodString;
|
2822
|
-
|
2850
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2823
2851
|
filename: z.ZodString;
|
2824
2852
|
originalFilename: z.ZodString;
|
2825
2853
|
type: z.ZodString;
|
@@ -2933,7 +2961,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2933
2961
|
addressLine3?: string | null | undefined;
|
2934
2962
|
postcodeOrZip?: string | null | undefined;
|
2935
2963
|
}>]>>;
|
2936
|
-
|
2964
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2937
2965
|
filename: z.ZodString;
|
2938
2966
|
originalFilename: z.ZodString;
|
2939
2967
|
type: z.ZodString;
|
@@ -3048,12 +3076,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
3048
3076
|
postcodeOrZip?: string | null | undefined;
|
3049
3077
|
}>]>>>;
|
3050
3078
|
createdAtLocation: z.ZodString;
|
3079
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3080
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3051
3081
|
}, {
|
3052
3082
|
type: z.ZodLiteral<"DECLARE">;
|
3053
3083
|
}>, "strip", z.ZodTypeAny, {
|
3054
3084
|
type: "DECLARE";
|
3055
3085
|
id: string;
|
3056
|
-
|
3086
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3087
|
+
createdAt: string;
|
3088
|
+
createdBy: string;
|
3089
|
+
declaration: Record<string, string | number | boolean | {
|
3057
3090
|
type: string;
|
3058
3091
|
filename: string;
|
3059
3092
|
originalFilename: string;
|
@@ -3091,10 +3124,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3091
3124
|
filename: string;
|
3092
3125
|
originalFilename: string;
|
3093
3126
|
}[] | undefined>;
|
3094
|
-
createdAt: string;
|
3095
|
-
createdBy: string;
|
3096
3127
|
createdAtLocation: string;
|
3097
|
-
|
3128
|
+
annotation?: Record<string, string | number | boolean | {
|
3098
3129
|
type: string;
|
3099
3130
|
filename: string;
|
3100
3131
|
originalFilename: string;
|
@@ -3132,10 +3163,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3132
3163
|
filename: string;
|
3133
3164
|
originalFilename: string;
|
3134
3165
|
}[] | undefined> | undefined;
|
3166
|
+
originalActionId?: string | undefined;
|
3135
3167
|
}, {
|
3136
3168
|
type: "DECLARE";
|
3137
3169
|
id: string;
|
3138
|
-
|
3170
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3171
|
+
createdAt: string;
|
3172
|
+
createdBy: string;
|
3173
|
+
declaration: Record<string, string | number | boolean | {
|
3139
3174
|
type: string;
|
3140
3175
|
filename: string;
|
3141
3176
|
originalFilename: string;
|
@@ -3173,10 +3208,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3173
3208
|
filename: string;
|
3174
3209
|
originalFilename: string;
|
3175
3210
|
}[] | undefined>;
|
3176
|
-
createdAt: string;
|
3177
|
-
createdBy: string;
|
3178
3211
|
createdAtLocation: string;
|
3179
|
-
|
3212
|
+
annotation?: Record<string, string | number | boolean | {
|
3180
3213
|
type: string;
|
3181
3214
|
filename: string;
|
3182
3215
|
originalFilename: string;
|
@@ -3214,11 +3247,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
3214
3247
|
filename: string;
|
3215
3248
|
originalFilename: string;
|
3216
3249
|
}[] | undefined> | undefined;
|
3250
|
+
originalActionId?: string | undefined;
|
3217
3251
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3218
3252
|
id: z.ZodString;
|
3219
3253
|
createdAt: z.ZodString;
|
3220
3254
|
createdBy: z.ZodString;
|
3221
|
-
|
3255
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3222
3256
|
filename: z.ZodString;
|
3223
3257
|
originalFilename: z.ZodString;
|
3224
3258
|
type: z.ZodString;
|
@@ -3332,7 +3366,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3332
3366
|
addressLine3?: string | null | undefined;
|
3333
3367
|
postcodeOrZip?: string | null | undefined;
|
3334
3368
|
}>]>>;
|
3335
|
-
|
3369
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3336
3370
|
filename: z.ZodString;
|
3337
3371
|
originalFilename: z.ZodString;
|
3338
3372
|
type: z.ZodString;
|
@@ -3447,13 +3481,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
3447
3481
|
postcodeOrZip?: string | null | undefined;
|
3448
3482
|
}>]>>>;
|
3449
3483
|
createdAtLocation: z.ZodString;
|
3484
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3485
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3450
3486
|
}, {
|
3451
3487
|
type: z.ZodLiteral<"ASSIGN">;
|
3452
3488
|
assignedTo: z.ZodString;
|
3453
3489
|
}>, "strip", z.ZodTypeAny, {
|
3454
3490
|
type: "ASSIGN";
|
3455
3491
|
id: string;
|
3456
|
-
|
3492
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3493
|
+
createdAt: string;
|
3494
|
+
createdBy: string;
|
3495
|
+
declaration: Record<string, string | number | boolean | {
|
3457
3496
|
type: string;
|
3458
3497
|
filename: string;
|
3459
3498
|
originalFilename: string;
|
@@ -3491,11 +3530,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3491
3530
|
filename: string;
|
3492
3531
|
originalFilename: string;
|
3493
3532
|
}[] | undefined>;
|
3494
|
-
createdAt: string;
|
3495
|
-
createdBy: string;
|
3496
3533
|
createdAtLocation: string;
|
3497
3534
|
assignedTo: string;
|
3498
|
-
|
3535
|
+
annotation?: Record<string, string | number | boolean | {
|
3499
3536
|
type: string;
|
3500
3537
|
filename: string;
|
3501
3538
|
originalFilename: string;
|
@@ -3533,10 +3570,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3533
3570
|
filename: string;
|
3534
3571
|
originalFilename: string;
|
3535
3572
|
}[] | undefined> | undefined;
|
3573
|
+
originalActionId?: string | undefined;
|
3536
3574
|
}, {
|
3537
3575
|
type: "ASSIGN";
|
3538
3576
|
id: string;
|
3539
|
-
|
3577
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3578
|
+
createdAt: string;
|
3579
|
+
createdBy: string;
|
3580
|
+
declaration: Record<string, string | number | boolean | {
|
3540
3581
|
type: string;
|
3541
3582
|
filename: string;
|
3542
3583
|
originalFilename: string;
|
@@ -3574,11 +3615,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3574
3615
|
filename: string;
|
3575
3616
|
originalFilename: string;
|
3576
3617
|
}[] | undefined>;
|
3577
|
-
createdAt: string;
|
3578
|
-
createdBy: string;
|
3579
3618
|
createdAtLocation: string;
|
3580
3619
|
assignedTo: string;
|
3581
|
-
|
3620
|
+
annotation?: Record<string, string | number | boolean | {
|
3582
3621
|
type: string;
|
3583
3622
|
filename: string;
|
3584
3623
|
originalFilename: string;
|
@@ -3616,11 +3655,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
3616
3655
|
filename: string;
|
3617
3656
|
originalFilename: string;
|
3618
3657
|
}[] | undefined> | undefined;
|
3658
|
+
originalActionId?: string | undefined;
|
3619
3659
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3620
3660
|
id: z.ZodString;
|
3621
3661
|
createdAt: z.ZodString;
|
3622
3662
|
createdBy: z.ZodString;
|
3623
|
-
|
3663
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3624
3664
|
filename: z.ZodString;
|
3625
3665
|
originalFilename: z.ZodString;
|
3626
3666
|
type: z.ZodString;
|
@@ -3734,7 +3774,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3734
3774
|
addressLine3?: string | null | undefined;
|
3735
3775
|
postcodeOrZip?: string | null | undefined;
|
3736
3776
|
}>]>>;
|
3737
|
-
|
3777
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3738
3778
|
filename: z.ZodString;
|
3739
3779
|
originalFilename: z.ZodString;
|
3740
3780
|
type: z.ZodString;
|
@@ -3849,12 +3889,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
3849
3889
|
postcodeOrZip?: string | null | undefined;
|
3850
3890
|
}>]>>>;
|
3851
3891
|
createdAtLocation: z.ZodString;
|
3892
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3893
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
3852
3894
|
}, {
|
3853
3895
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
3854
3896
|
}>, "strip", z.ZodTypeAny, {
|
3855
3897
|
type: "REQUEST_CORRECTION";
|
3856
3898
|
id: string;
|
3857
|
-
|
3899
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3900
|
+
createdAt: string;
|
3901
|
+
createdBy: string;
|
3902
|
+
declaration: Record<string, string | number | boolean | {
|
3858
3903
|
type: string;
|
3859
3904
|
filename: string;
|
3860
3905
|
originalFilename: string;
|
@@ -3892,10 +3937,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3892
3937
|
filename: string;
|
3893
3938
|
originalFilename: string;
|
3894
3939
|
}[] | undefined>;
|
3895
|
-
createdAt: string;
|
3896
|
-
createdBy: string;
|
3897
3940
|
createdAtLocation: string;
|
3898
|
-
|
3941
|
+
annotation?: Record<string, string | number | boolean | {
|
3899
3942
|
type: string;
|
3900
3943
|
filename: string;
|
3901
3944
|
originalFilename: string;
|
@@ -3933,10 +3976,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
3933
3976
|
filename: string;
|
3934
3977
|
originalFilename: string;
|
3935
3978
|
}[] | undefined> | undefined;
|
3979
|
+
originalActionId?: string | undefined;
|
3936
3980
|
}, {
|
3937
3981
|
type: "REQUEST_CORRECTION";
|
3938
3982
|
id: string;
|
3939
|
-
|
3983
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3984
|
+
createdAt: string;
|
3985
|
+
createdBy: string;
|
3986
|
+
declaration: Record<string, string | number | boolean | {
|
3940
3987
|
type: string;
|
3941
3988
|
filename: string;
|
3942
3989
|
originalFilename: string;
|
@@ -3974,10 +4021,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3974
4021
|
filename: string;
|
3975
4022
|
originalFilename: string;
|
3976
4023
|
}[] | undefined>;
|
3977
|
-
createdAt: string;
|
3978
|
-
createdBy: string;
|
3979
4024
|
createdAtLocation: string;
|
3980
|
-
|
4025
|
+
annotation?: Record<string, string | number | boolean | {
|
3981
4026
|
type: string;
|
3982
4027
|
filename: string;
|
3983
4028
|
originalFilename: string;
|
@@ -4015,11 +4060,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4015
4060
|
filename: string;
|
4016
4061
|
originalFilename: string;
|
4017
4062
|
}[] | undefined> | undefined;
|
4063
|
+
originalActionId?: string | undefined;
|
4018
4064
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4019
4065
|
id: z.ZodString;
|
4020
4066
|
createdAt: z.ZodString;
|
4021
4067
|
createdBy: z.ZodString;
|
4022
|
-
|
4068
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4023
4069
|
filename: z.ZodString;
|
4024
4070
|
originalFilename: z.ZodString;
|
4025
4071
|
type: z.ZodString;
|
@@ -4133,7 +4179,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4133
4179
|
addressLine3?: string | null | undefined;
|
4134
4180
|
postcodeOrZip?: string | null | undefined;
|
4135
4181
|
}>]>>;
|
4136
|
-
|
4182
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4137
4183
|
filename: z.ZodString;
|
4138
4184
|
originalFilename: z.ZodString;
|
4139
4185
|
type: z.ZodString;
|
@@ -4248,13 +4294,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
4248
4294
|
postcodeOrZip?: string | null | undefined;
|
4249
4295
|
}>]>>>;
|
4250
4296
|
createdAtLocation: z.ZodString;
|
4297
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4298
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4251
4299
|
}, {
|
4252
4300
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
4253
4301
|
requestId: z.ZodString;
|
4254
4302
|
}>, "strip", z.ZodTypeAny, {
|
4255
4303
|
type: "APPROVE_CORRECTION";
|
4256
4304
|
id: string;
|
4257
|
-
|
4305
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4306
|
+
createdAt: string;
|
4307
|
+
createdBy: string;
|
4308
|
+
declaration: Record<string, string | number | boolean | {
|
4258
4309
|
type: string;
|
4259
4310
|
filename: string;
|
4260
4311
|
originalFilename: string;
|
@@ -4292,11 +4343,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4292
4343
|
filename: string;
|
4293
4344
|
originalFilename: string;
|
4294
4345
|
}[] | undefined>;
|
4295
|
-
createdAt: string;
|
4296
|
-
createdBy: string;
|
4297
4346
|
createdAtLocation: string;
|
4298
4347
|
requestId: string;
|
4299
|
-
|
4348
|
+
annotation?: Record<string, string | number | boolean | {
|
4300
4349
|
type: string;
|
4301
4350
|
filename: string;
|
4302
4351
|
originalFilename: string;
|
@@ -4334,10 +4383,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
4334
4383
|
filename: string;
|
4335
4384
|
originalFilename: string;
|
4336
4385
|
}[] | undefined> | undefined;
|
4386
|
+
originalActionId?: string | undefined;
|
4337
4387
|
}, {
|
4338
4388
|
type: "APPROVE_CORRECTION";
|
4339
4389
|
id: string;
|
4340
|
-
|
4390
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4391
|
+
createdAt: string;
|
4392
|
+
createdBy: string;
|
4393
|
+
declaration: Record<string, string | number | boolean | {
|
4341
4394
|
type: string;
|
4342
4395
|
filename: string;
|
4343
4396
|
originalFilename: string;
|
@@ -4375,11 +4428,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4375
4428
|
filename: string;
|
4376
4429
|
originalFilename: string;
|
4377
4430
|
}[] | undefined>;
|
4378
|
-
createdAt: string;
|
4379
|
-
createdBy: string;
|
4380
4431
|
createdAtLocation: string;
|
4381
4432
|
requestId: string;
|
4382
|
-
|
4433
|
+
annotation?: Record<string, string | number | boolean | {
|
4383
4434
|
type: string;
|
4384
4435
|
filename: string;
|
4385
4436
|
originalFilename: string;
|
@@ -4417,11 +4468,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4417
4468
|
filename: string;
|
4418
4469
|
originalFilename: string;
|
4419
4470
|
}[] | undefined> | undefined;
|
4471
|
+
originalActionId?: string | undefined;
|
4420
4472
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4421
4473
|
id: z.ZodString;
|
4422
4474
|
createdAt: z.ZodString;
|
4423
4475
|
createdBy: z.ZodString;
|
4424
|
-
|
4476
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4425
4477
|
filename: z.ZodString;
|
4426
4478
|
originalFilename: z.ZodString;
|
4427
4479
|
type: z.ZodString;
|
@@ -4535,7 +4587,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4535
4587
|
addressLine3?: string | null | undefined;
|
4536
4588
|
postcodeOrZip?: string | null | undefined;
|
4537
4589
|
}>]>>;
|
4538
|
-
|
4590
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4539
4591
|
filename: z.ZodString;
|
4540
4592
|
originalFilename: z.ZodString;
|
4541
4593
|
type: z.ZodString;
|
@@ -4650,13 +4702,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
4650
4702
|
postcodeOrZip?: string | null | undefined;
|
4651
4703
|
}>]>>>;
|
4652
4704
|
createdAtLocation: z.ZodString;
|
4705
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4706
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
4653
4707
|
}, {
|
4654
4708
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
4655
4709
|
requestId: z.ZodString;
|
4656
4710
|
}>, "strip", z.ZodTypeAny, {
|
4657
4711
|
type: "REJECT_CORRECTION";
|
4658
4712
|
id: string;
|
4659
|
-
|
4713
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4714
|
+
createdAt: string;
|
4715
|
+
createdBy: string;
|
4716
|
+
declaration: Record<string, string | number | boolean | {
|
4660
4717
|
type: string;
|
4661
4718
|
filename: string;
|
4662
4719
|
originalFilename: string;
|
@@ -4694,11 +4751,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4694
4751
|
filename: string;
|
4695
4752
|
originalFilename: string;
|
4696
4753
|
}[] | undefined>;
|
4697
|
-
createdAt: string;
|
4698
|
-
createdBy: string;
|
4699
4754
|
createdAtLocation: string;
|
4700
4755
|
requestId: string;
|
4701
|
-
|
4756
|
+
annotation?: Record<string, string | number | boolean | {
|
4702
4757
|
type: string;
|
4703
4758
|
filename: string;
|
4704
4759
|
originalFilename: string;
|
@@ -4736,10 +4791,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
4736
4791
|
filename: string;
|
4737
4792
|
originalFilename: string;
|
4738
4793
|
}[] | undefined> | undefined;
|
4794
|
+
originalActionId?: string | undefined;
|
4739
4795
|
}, {
|
4740
4796
|
type: "REJECT_CORRECTION";
|
4741
4797
|
id: string;
|
4742
|
-
|
4798
|
+
status: "Rejected" | "Requested" | "Accepted";
|
4799
|
+
createdAt: string;
|
4800
|
+
createdBy: string;
|
4801
|
+
declaration: Record<string, string | number | boolean | {
|
4743
4802
|
type: string;
|
4744
4803
|
filename: string;
|
4745
4804
|
originalFilename: string;
|
@@ -4777,11 +4836,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4777
4836
|
filename: string;
|
4778
4837
|
originalFilename: string;
|
4779
4838
|
}[] | undefined>;
|
4780
|
-
createdAt: string;
|
4781
|
-
createdBy: string;
|
4782
4839
|
createdAtLocation: string;
|
4783
4840
|
requestId: string;
|
4784
|
-
|
4841
|
+
annotation?: Record<string, string | number | boolean | {
|
4785
4842
|
type: string;
|
4786
4843
|
filename: string;
|
4787
4844
|
originalFilename: string;
|
@@ -4819,11 +4876,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
4819
4876
|
filename: string;
|
4820
4877
|
originalFilename: string;
|
4821
4878
|
}[] | undefined> | undefined;
|
4879
|
+
originalActionId?: string | undefined;
|
4822
4880
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4823
4881
|
id: z.ZodString;
|
4824
4882
|
createdAt: z.ZodString;
|
4825
4883
|
createdBy: z.ZodString;
|
4826
|
-
|
4884
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4827
4885
|
filename: z.ZodString;
|
4828
4886
|
originalFilename: z.ZodString;
|
4829
4887
|
type: z.ZodString;
|
@@ -4937,7 +4995,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4937
4995
|
addressLine3?: string | null | undefined;
|
4938
4996
|
postcodeOrZip?: string | null | undefined;
|
4939
4997
|
}>]>>;
|
4940
|
-
|
4998
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4941
4999
|
filename: z.ZodString;
|
4942
5000
|
originalFilename: z.ZodString;
|
4943
5001
|
type: z.ZodString;
|
@@ -5052,12 +5110,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
5052
5110
|
postcodeOrZip?: string | null | undefined;
|
5053
5111
|
}>]>>>;
|
5054
5112
|
createdAtLocation: z.ZodString;
|
5113
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5114
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5055
5115
|
}, {
|
5056
5116
|
type: z.ZodLiteral<"UNASSIGN">;
|
5117
|
+
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
5057
5118
|
}>, "strip", z.ZodTypeAny, {
|
5058
5119
|
type: "UNASSIGN";
|
5059
5120
|
id: string;
|
5060
|
-
|
5121
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5122
|
+
createdAt: string;
|
5123
|
+
createdBy: string;
|
5124
|
+
declaration: Record<string, string | number | boolean | {
|
5061
5125
|
type: string;
|
5062
5126
|
filename: string;
|
5063
5127
|
originalFilename: string;
|
@@ -5095,10 +5159,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
5095
5159
|
filename: string;
|
5096
5160
|
originalFilename: string;
|
5097
5161
|
}[] | undefined>;
|
5098
|
-
createdAt: string;
|
5099
|
-
createdBy: string;
|
5100
5162
|
createdAtLocation: string;
|
5101
|
-
|
5163
|
+
assignedTo: null;
|
5164
|
+
annotation?: Record<string, string | number | boolean | {
|
5102
5165
|
type: string;
|
5103
5166
|
filename: string;
|
5104
5167
|
originalFilename: string;
|
@@ -5136,10 +5199,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5136
5199
|
filename: string;
|
5137
5200
|
originalFilename: string;
|
5138
5201
|
}[] | undefined> | undefined;
|
5202
|
+
originalActionId?: string | undefined;
|
5139
5203
|
}, {
|
5140
5204
|
type: "UNASSIGN";
|
5141
5205
|
id: string;
|
5142
|
-
|
5206
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5207
|
+
createdAt: string;
|
5208
|
+
createdBy: string;
|
5209
|
+
declaration: Record<string, string | number | boolean | {
|
5143
5210
|
type: string;
|
5144
5211
|
filename: string;
|
5145
5212
|
originalFilename: string;
|
@@ -5177,10 +5244,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5177
5244
|
filename: string;
|
5178
5245
|
originalFilename: string;
|
5179
5246
|
}[] | undefined>;
|
5180
|
-
createdAt: string;
|
5181
|
-
createdBy: string;
|
5182
5247
|
createdAtLocation: string;
|
5183
|
-
|
5248
|
+
annotation?: Record<string, string | number | boolean | {
|
5184
5249
|
type: string;
|
5185
5250
|
filename: string;
|
5186
5251
|
originalFilename: string;
|
@@ -5218,11 +5283,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
5218
5283
|
filename: string;
|
5219
5284
|
originalFilename: string;
|
5220
5285
|
}[] | undefined> | undefined;
|
5286
|
+
originalActionId?: string | undefined;
|
5287
|
+
assignedTo?: null | undefined;
|
5221
5288
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5222
5289
|
id: z.ZodString;
|
5223
5290
|
createdAt: z.ZodString;
|
5224
5291
|
createdBy: z.ZodString;
|
5225
|
-
|
5292
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5226
5293
|
filename: z.ZodString;
|
5227
5294
|
originalFilename: z.ZodString;
|
5228
5295
|
type: z.ZodString;
|
@@ -5336,7 +5403,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5336
5403
|
addressLine3?: string | null | undefined;
|
5337
5404
|
postcodeOrZip?: string | null | undefined;
|
5338
5405
|
}>]>>;
|
5339
|
-
|
5406
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5340
5407
|
filename: z.ZodString;
|
5341
5408
|
originalFilename: z.ZodString;
|
5342
5409
|
type: z.ZodString;
|
@@ -5451,12 +5518,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
5451
5518
|
postcodeOrZip?: string | null | undefined;
|
5452
5519
|
}>]>>>;
|
5453
5520
|
createdAtLocation: z.ZodString;
|
5521
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5522
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5454
5523
|
}, {
|
5455
5524
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
5456
5525
|
}>, "strip", z.ZodTypeAny, {
|
5457
5526
|
type: "PRINT_CERTIFICATE";
|
5458
5527
|
id: string;
|
5459
|
-
|
5528
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5529
|
+
createdAt: string;
|
5530
|
+
createdBy: string;
|
5531
|
+
declaration: Record<string, string | number | boolean | {
|
5460
5532
|
type: string;
|
5461
5533
|
filename: string;
|
5462
5534
|
originalFilename: string;
|
@@ -5494,10 +5566,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5494
5566
|
filename: string;
|
5495
5567
|
originalFilename: string;
|
5496
5568
|
}[] | undefined>;
|
5497
|
-
createdAt: string;
|
5498
|
-
createdBy: string;
|
5499
5569
|
createdAtLocation: string;
|
5500
|
-
|
5570
|
+
annotation?: Record<string, string | number | boolean | {
|
5501
5571
|
type: string;
|
5502
5572
|
filename: string;
|
5503
5573
|
originalFilename: string;
|
@@ -5535,10 +5605,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5535
5605
|
filename: string;
|
5536
5606
|
originalFilename: string;
|
5537
5607
|
}[] | undefined> | undefined;
|
5608
|
+
originalActionId?: string | undefined;
|
5538
5609
|
}, {
|
5539
5610
|
type: "PRINT_CERTIFICATE";
|
5540
5611
|
id: string;
|
5541
|
-
|
5612
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5613
|
+
createdAt: string;
|
5614
|
+
createdBy: string;
|
5615
|
+
declaration: Record<string, string | number | boolean | {
|
5542
5616
|
type: string;
|
5543
5617
|
filename: string;
|
5544
5618
|
originalFilename: string;
|
@@ -5576,10 +5650,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5576
5650
|
filename: string;
|
5577
5651
|
originalFilename: string;
|
5578
5652
|
}[] | undefined>;
|
5579
|
-
createdAt: string;
|
5580
|
-
createdBy: string;
|
5581
5653
|
createdAtLocation: string;
|
5582
|
-
|
5654
|
+
annotation?: Record<string, string | number | boolean | {
|
5583
5655
|
type: string;
|
5584
5656
|
filename: string;
|
5585
5657
|
originalFilename: string;
|
@@ -5617,11 +5689,12 @@ export declare const EventDocument: z.ZodObject<{
|
|
5617
5689
|
filename: string;
|
5618
5690
|
originalFilename: string;
|
5619
5691
|
}[] | undefined> | undefined;
|
5692
|
+
originalActionId?: string | undefined;
|
5620
5693
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5621
5694
|
id: z.ZodString;
|
5622
5695
|
createdAt: z.ZodString;
|
5623
5696
|
createdBy: z.ZodString;
|
5624
|
-
|
5697
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5625
5698
|
filename: z.ZodString;
|
5626
5699
|
originalFilename: z.ZodString;
|
5627
5700
|
type: z.ZodString;
|
@@ -5735,7 +5808,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5735
5808
|
addressLine3?: string | null | undefined;
|
5736
5809
|
postcodeOrZip?: string | null | undefined;
|
5737
5810
|
}>]>>;
|
5738
|
-
|
5811
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5739
5812
|
filename: z.ZodString;
|
5740
5813
|
originalFilename: z.ZodString;
|
5741
5814
|
type: z.ZodString;
|
@@ -5850,12 +5923,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
5850
5923
|
postcodeOrZip?: string | null | undefined;
|
5851
5924
|
}>]>>>;
|
5852
5925
|
createdAtLocation: z.ZodString;
|
5926
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5927
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
5853
5928
|
}, {
|
5854
|
-
type: z.ZodLiteral<"
|
5929
|
+
type: z.ZodLiteral<"READ">;
|
5855
5930
|
}>, "strip", z.ZodTypeAny, {
|
5856
|
-
type: "
|
5931
|
+
type: "READ";
|
5857
5932
|
id: string;
|
5858
|
-
|
5933
|
+
status: "Rejected" | "Requested" | "Accepted";
|
5934
|
+
createdAt: string;
|
5935
|
+
createdBy: string;
|
5936
|
+
declaration: Record<string, string | number | boolean | {
|
5859
5937
|
type: string;
|
5860
5938
|
filename: string;
|
5861
5939
|
originalFilename: string;
|
@@ -5893,10 +5971,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5893
5971
|
filename: string;
|
5894
5972
|
originalFilename: string;
|
5895
5973
|
}[] | undefined>;
|
5896
|
-
createdAt: string;
|
5897
|
-
createdBy: string;
|
5898
5974
|
createdAtLocation: string;
|
5899
|
-
|
5975
|
+
annotation?: Record<string, string | number | boolean | {
|
5900
5976
|
type: string;
|
5901
5977
|
filename: string;
|
5902
5978
|
originalFilename: string;
|
@@ -5934,10 +6010,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
5934
6010
|
filename: string;
|
5935
6011
|
originalFilename: string;
|
5936
6012
|
}[] | undefined> | undefined;
|
6013
|
+
originalActionId?: string | undefined;
|
5937
6014
|
}, {
|
5938
|
-
type: "
|
6015
|
+
type: "READ";
|
5939
6016
|
id: string;
|
5940
|
-
|
6017
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6018
|
+
createdAt: string;
|
6019
|
+
createdBy: string;
|
6020
|
+
declaration: Record<string, string | number | boolean | {
|
5941
6021
|
type: string;
|
5942
6022
|
filename: string;
|
5943
6023
|
originalFilename: string;
|
@@ -5975,10 +6055,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5975
6055
|
filename: string;
|
5976
6056
|
originalFilename: string;
|
5977
6057
|
}[] | undefined>;
|
5978
|
-
createdAt: string;
|
5979
|
-
createdBy: string;
|
5980
6058
|
createdAtLocation: string;
|
5981
|
-
|
6059
|
+
annotation?: Record<string, string | number | boolean | {
|
5982
6060
|
type: string;
|
5983
6061
|
filename: string;
|
5984
6062
|
originalFilename: string;
|
@@ -6016,18 +6094,272 @@ export declare const EventDocument: z.ZodObject<{
|
|
6016
6094
|
filename: string;
|
6017
6095
|
originalFilename: string;
|
6018
6096
|
}[] | undefined> | undefined;
|
6097
|
+
originalActionId?: string | undefined;
|
6098
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
6099
|
+
id: z.ZodString;
|
6100
|
+
createdAt: z.ZodString;
|
6101
|
+
createdBy: z.ZodString;
|
6102
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6103
|
+
filename: z.ZodString;
|
6104
|
+
originalFilename: z.ZodString;
|
6105
|
+
type: z.ZodString;
|
6106
|
+
}, "strip", z.ZodTypeAny, {
|
6107
|
+
type: string;
|
6108
|
+
filename: string;
|
6109
|
+
originalFilename: string;
|
6110
|
+
}, {
|
6111
|
+
type: string;
|
6112
|
+
filename: string;
|
6113
|
+
originalFilename: string;
|
6114
|
+
}>, z.ZodArray<z.ZodObject<{
|
6115
|
+
filename: z.ZodString;
|
6116
|
+
originalFilename: z.ZodString;
|
6117
|
+
type: z.ZodString;
|
6118
|
+
option: z.ZodString;
|
6119
|
+
}, "strip", z.ZodTypeAny, {
|
6120
|
+
type: string;
|
6121
|
+
option: string;
|
6122
|
+
filename: string;
|
6123
|
+
originalFilename: string;
|
6124
|
+
}, {
|
6125
|
+
type: string;
|
6126
|
+
option: string;
|
6127
|
+
filename: string;
|
6128
|
+
originalFilename: string;
|
6129
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
6130
|
+
country: z.ZodString;
|
6131
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
6132
|
+
province: z.ZodString;
|
6133
|
+
district: z.ZodString;
|
6134
|
+
}, {
|
6135
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
6136
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6137
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6138
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6139
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6140
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6141
|
+
}>, "strip", z.ZodTypeAny, {
|
6142
|
+
country: string;
|
6143
|
+
district: string;
|
6144
|
+
addressType: "DOMESTIC";
|
6145
|
+
province: string;
|
6146
|
+
urbanOrRural: "URBAN";
|
6147
|
+
number?: string | null | undefined;
|
6148
|
+
town?: string | null | undefined;
|
6149
|
+
residentialArea?: string | null | undefined;
|
6150
|
+
street?: string | null | undefined;
|
6151
|
+
zipCode?: string | null | undefined;
|
6152
|
+
}, {
|
6153
|
+
country: string;
|
6154
|
+
district: string;
|
6155
|
+
addressType: "DOMESTIC";
|
6156
|
+
province: string;
|
6157
|
+
urbanOrRural: "URBAN";
|
6158
|
+
number?: string | null | undefined;
|
6159
|
+
town?: string | null | undefined;
|
6160
|
+
residentialArea?: string | null | undefined;
|
6161
|
+
street?: string | null | undefined;
|
6162
|
+
zipCode?: string | null | undefined;
|
6163
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6164
|
+
country: z.ZodString;
|
6165
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
6166
|
+
province: z.ZodString;
|
6167
|
+
district: z.ZodString;
|
6168
|
+
}, {
|
6169
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
6170
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6171
|
+
}>, "strip", z.ZodTypeAny, {
|
6172
|
+
country: string;
|
6173
|
+
district: string;
|
6174
|
+
addressType: "DOMESTIC";
|
6175
|
+
province: string;
|
6176
|
+
urbanOrRural: "RURAL";
|
6177
|
+
village?: string | null | undefined;
|
6178
|
+
}, {
|
6179
|
+
country: string;
|
6180
|
+
district: string;
|
6181
|
+
addressType: "DOMESTIC";
|
6182
|
+
province: string;
|
6183
|
+
urbanOrRural: "RURAL";
|
6184
|
+
village?: string | null | undefined;
|
6185
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
6186
|
+
country: z.ZodString;
|
6187
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
6188
|
+
state: z.ZodString;
|
6189
|
+
district2: z.ZodString;
|
6190
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6191
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6192
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6193
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6194
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6195
|
+
}, "strip", z.ZodTypeAny, {
|
6196
|
+
country: string;
|
6197
|
+
state: string;
|
6198
|
+
addressType: "INTERNATIONAL";
|
6199
|
+
district2: string;
|
6200
|
+
cityOrTown?: string | null | undefined;
|
6201
|
+
addressLine1?: string | null | undefined;
|
6202
|
+
addressLine2?: string | null | undefined;
|
6203
|
+
addressLine3?: string | null | undefined;
|
6204
|
+
postcodeOrZip?: string | null | undefined;
|
6205
|
+
}, {
|
6206
|
+
country: string;
|
6207
|
+
state: string;
|
6208
|
+
addressType: "INTERNATIONAL";
|
6209
|
+
district2: string;
|
6210
|
+
cityOrTown?: string | null | undefined;
|
6211
|
+
addressLine1?: string | null | undefined;
|
6212
|
+
addressLine2?: string | null | undefined;
|
6213
|
+
addressLine3?: string | null | undefined;
|
6214
|
+
postcodeOrZip?: string | null | undefined;
|
6215
|
+
}>]>>;
|
6216
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6217
|
+
filename: z.ZodString;
|
6218
|
+
originalFilename: z.ZodString;
|
6219
|
+
type: z.ZodString;
|
6220
|
+
}, "strip", z.ZodTypeAny, {
|
6221
|
+
type: string;
|
6222
|
+
filename: string;
|
6223
|
+
originalFilename: string;
|
6224
|
+
}, {
|
6225
|
+
type: string;
|
6226
|
+
filename: string;
|
6227
|
+
originalFilename: string;
|
6228
|
+
}>, z.ZodArray<z.ZodObject<{
|
6229
|
+
filename: z.ZodString;
|
6230
|
+
originalFilename: z.ZodString;
|
6231
|
+
type: z.ZodString;
|
6232
|
+
option: z.ZodString;
|
6233
|
+
}, "strip", z.ZodTypeAny, {
|
6234
|
+
type: string;
|
6235
|
+
option: string;
|
6236
|
+
filename: string;
|
6237
|
+
originalFilename: string;
|
6238
|
+
}, {
|
6239
|
+
type: string;
|
6240
|
+
option: string;
|
6241
|
+
filename: string;
|
6242
|
+
originalFilename: string;
|
6243
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
6244
|
+
country: z.ZodString;
|
6245
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
6246
|
+
province: z.ZodString;
|
6247
|
+
district: z.ZodString;
|
6248
|
+
}, {
|
6249
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
6250
|
+
town: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6251
|
+
residentialArea: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6252
|
+
street: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6253
|
+
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6254
|
+
zipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6255
|
+
}>, "strip", z.ZodTypeAny, {
|
6256
|
+
country: string;
|
6257
|
+
district: string;
|
6258
|
+
addressType: "DOMESTIC";
|
6259
|
+
province: string;
|
6260
|
+
urbanOrRural: "URBAN";
|
6261
|
+
number?: string | null | undefined;
|
6262
|
+
town?: string | null | undefined;
|
6263
|
+
residentialArea?: string | null | undefined;
|
6264
|
+
street?: string | null | undefined;
|
6265
|
+
zipCode?: string | null | undefined;
|
6266
|
+
}, {
|
6267
|
+
country: string;
|
6268
|
+
district: string;
|
6269
|
+
addressType: "DOMESTIC";
|
6270
|
+
province: string;
|
6271
|
+
urbanOrRural: "URBAN";
|
6272
|
+
number?: string | null | undefined;
|
6273
|
+
town?: string | null | undefined;
|
6274
|
+
residentialArea?: string | null | undefined;
|
6275
|
+
street?: string | null | undefined;
|
6276
|
+
zipCode?: string | null | undefined;
|
6277
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6278
|
+
country: z.ZodString;
|
6279
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
6280
|
+
province: z.ZodString;
|
6281
|
+
district: z.ZodString;
|
6282
|
+
}, {
|
6283
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
6284
|
+
village: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6285
|
+
}>, "strip", z.ZodTypeAny, {
|
6286
|
+
country: string;
|
6287
|
+
district: string;
|
6288
|
+
addressType: "DOMESTIC";
|
6289
|
+
province: string;
|
6290
|
+
urbanOrRural: "RURAL";
|
6291
|
+
village?: string | null | undefined;
|
6292
|
+
}, {
|
6293
|
+
country: string;
|
6294
|
+
district: string;
|
6295
|
+
addressType: "DOMESTIC";
|
6296
|
+
province: string;
|
6297
|
+
urbanOrRural: "RURAL";
|
6298
|
+
village?: string | null | undefined;
|
6299
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
6300
|
+
country: z.ZodString;
|
6301
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
6302
|
+
state: z.ZodString;
|
6303
|
+
district2: z.ZodString;
|
6304
|
+
cityOrTown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6305
|
+
addressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6306
|
+
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6307
|
+
addressLine3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6308
|
+
postcodeOrZip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6309
|
+
}, "strip", z.ZodTypeAny, {
|
6310
|
+
country: string;
|
6311
|
+
state: string;
|
6312
|
+
addressType: "INTERNATIONAL";
|
6313
|
+
district2: string;
|
6314
|
+
cityOrTown?: string | null | undefined;
|
6315
|
+
addressLine1?: string | null | undefined;
|
6316
|
+
addressLine2?: string | null | undefined;
|
6317
|
+
addressLine3?: string | null | undefined;
|
6318
|
+
postcodeOrZip?: string | null | undefined;
|
6319
|
+
}, {
|
6320
|
+
country: string;
|
6321
|
+
state: string;
|
6322
|
+
addressType: "INTERNATIONAL";
|
6323
|
+
district2: string;
|
6324
|
+
cityOrTown?: string | null | undefined;
|
6325
|
+
addressLine1?: string | null | undefined;
|
6326
|
+
addressLine2?: string | null | undefined;
|
6327
|
+
addressLine3?: string | null | undefined;
|
6328
|
+
postcodeOrZip?: string | null | undefined;
|
6329
|
+
}>]>>>;
|
6330
|
+
createdAtLocation: z.ZodString;
|
6331
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
6332
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
6333
|
+
}, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
|
6334
|
+
type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
|
6335
|
+
status: z.ZodLiteral<"Rejected">;
|
6336
|
+
}>, "strip", z.ZodTypeAny, {
|
6337
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6338
|
+
id: string;
|
6339
|
+
status: "Rejected";
|
6340
|
+
createdAt: string;
|
6341
|
+
originalActionId?: string | undefined;
|
6342
|
+
}, {
|
6343
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6344
|
+
id: string;
|
6345
|
+
status: "Rejected";
|
6346
|
+
createdAt: string;
|
6347
|
+
originalActionId?: string | undefined;
|
6019
6348
|
}>]>, "many">;
|
6020
6349
|
trackingId: z.ZodString;
|
6021
6350
|
}, "strip", z.ZodTypeAny, {
|
6022
6351
|
type: string;
|
6023
6352
|
id: string;
|
6024
6353
|
createdAt: string;
|
6025
|
-
trackingId: string;
|
6026
6354
|
updatedAt: string;
|
6355
|
+
updatedAtLocation: string;
|
6027
6356
|
actions: ({
|
6028
6357
|
type: "ASSIGN";
|
6029
6358
|
id: string;
|
6030
|
-
|
6359
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6360
|
+
createdAt: string;
|
6361
|
+
createdBy: string;
|
6362
|
+
declaration: Record<string, string | number | boolean | {
|
6031
6363
|
type: string;
|
6032
6364
|
filename: string;
|
6033
6365
|
originalFilename: string;
|
@@ -6065,11 +6397,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6065
6397
|
filename: string;
|
6066
6398
|
originalFilename: string;
|
6067
6399
|
}[] | undefined>;
|
6068
|
-
createdAt: string;
|
6069
|
-
createdBy: string;
|
6070
6400
|
createdAtLocation: string;
|
6071
6401
|
assignedTo: string;
|
6072
|
-
|
6402
|
+
annotation?: Record<string, string | number | boolean | {
|
6073
6403
|
type: string;
|
6074
6404
|
filename: string;
|
6075
6405
|
originalFilename: string;
|
@@ -6107,10 +6437,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6107
6437
|
filename: string;
|
6108
6438
|
originalFilename: string;
|
6109
6439
|
}[] | undefined> | undefined;
|
6440
|
+
originalActionId?: string | undefined;
|
6110
6441
|
} | {
|
6111
6442
|
type: "UNASSIGN";
|
6112
6443
|
id: string;
|
6113
|
-
|
6444
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6445
|
+
createdAt: string;
|
6446
|
+
createdBy: string;
|
6447
|
+
declaration: Record<string, string | number | boolean | {
|
6114
6448
|
type: string;
|
6115
6449
|
filename: string;
|
6116
6450
|
originalFilename: string;
|
@@ -6148,10 +6482,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6148
6482
|
filename: string;
|
6149
6483
|
originalFilename: string;
|
6150
6484
|
}[] | undefined>;
|
6151
|
-
createdAt: string;
|
6152
|
-
createdBy: string;
|
6153
6485
|
createdAtLocation: string;
|
6154
|
-
|
6486
|
+
assignedTo: null;
|
6487
|
+
annotation?: Record<string, string | number | boolean | {
|
6155
6488
|
type: string;
|
6156
6489
|
filename: string;
|
6157
6490
|
originalFilename: string;
|
@@ -6189,10 +6522,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6189
6522
|
filename: string;
|
6190
6523
|
originalFilename: string;
|
6191
6524
|
}[] | undefined> | undefined;
|
6525
|
+
originalActionId?: string | undefined;
|
6192
6526
|
} | {
|
6193
6527
|
type: "REGISTER";
|
6194
6528
|
id: string;
|
6195
|
-
|
6529
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6530
|
+
createdAt: string;
|
6531
|
+
createdBy: string;
|
6532
|
+
declaration: Record<string, string | number | boolean | {
|
6196
6533
|
type: string;
|
6197
6534
|
filename: string;
|
6198
6535
|
originalFilename: string;
|
@@ -6230,14 +6567,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6230
6567
|
filename: string;
|
6231
6568
|
originalFilename: string;
|
6232
6569
|
}[] | undefined>;
|
6233
|
-
createdAt: string;
|
6234
|
-
createdBy: string;
|
6235
6570
|
createdAtLocation: string;
|
6236
|
-
|
6237
|
-
trackingId: string;
|
6238
|
-
registrationNumber: string;
|
6239
|
-
};
|
6240
|
-
metadata?: Record<string, string | number | boolean | {
|
6571
|
+
annotation?: Record<string, string | number | boolean | {
|
6241
6572
|
type: string;
|
6242
6573
|
filename: string;
|
6243
6574
|
originalFilename: string;
|
@@ -6275,10 +6606,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
6275
6606
|
filename: string;
|
6276
6607
|
originalFilename: string;
|
6277
6608
|
}[] | undefined> | undefined;
|
6609
|
+
originalActionId?: string | undefined;
|
6610
|
+
registrationNumber?: string | undefined;
|
6278
6611
|
} | {
|
6279
6612
|
type: "DECLARE";
|
6280
6613
|
id: string;
|
6281
|
-
|
6614
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6615
|
+
createdAt: string;
|
6616
|
+
createdBy: string;
|
6617
|
+
declaration: Record<string, string | number | boolean | {
|
6282
6618
|
type: string;
|
6283
6619
|
filename: string;
|
6284
6620
|
originalFilename: string;
|
@@ -6316,10 +6652,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6316
6652
|
filename: string;
|
6317
6653
|
originalFilename: string;
|
6318
6654
|
}[] | undefined>;
|
6319
|
-
createdAt: string;
|
6320
|
-
createdBy: string;
|
6321
6655
|
createdAtLocation: string;
|
6322
|
-
|
6656
|
+
annotation?: Record<string, string | number | boolean | {
|
6323
6657
|
type: string;
|
6324
6658
|
filename: string;
|
6325
6659
|
originalFilename: string;
|
@@ -6357,10 +6691,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6357
6691
|
filename: string;
|
6358
6692
|
originalFilename: string;
|
6359
6693
|
}[] | undefined> | undefined;
|
6694
|
+
originalActionId?: string | undefined;
|
6360
6695
|
} | {
|
6361
6696
|
type: "VALIDATE";
|
6362
6697
|
id: string;
|
6363
|
-
|
6698
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6699
|
+
createdAt: string;
|
6700
|
+
createdBy: string;
|
6701
|
+
declaration: Record<string, string | number | boolean | {
|
6364
6702
|
type: string;
|
6365
6703
|
filename: string;
|
6366
6704
|
originalFilename: string;
|
@@ -6398,10 +6736,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6398
6736
|
filename: string;
|
6399
6737
|
originalFilename: string;
|
6400
6738
|
}[] | undefined>;
|
6401
|
-
createdAt: string;
|
6402
|
-
createdBy: string;
|
6403
6739
|
createdAtLocation: string;
|
6404
|
-
|
6740
|
+
annotation?: Record<string, string | number | boolean | {
|
6405
6741
|
type: string;
|
6406
6742
|
filename: string;
|
6407
6743
|
originalFilename: string;
|
@@ -6439,10 +6775,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6439
6775
|
filename: string;
|
6440
6776
|
originalFilename: string;
|
6441
6777
|
}[] | undefined> | undefined;
|
6778
|
+
originalActionId?: string | undefined;
|
6442
6779
|
} | {
|
6443
6780
|
type: "REJECT";
|
6444
6781
|
id: string;
|
6445
|
-
|
6782
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6783
|
+
createdAt: string;
|
6784
|
+
createdBy: string;
|
6785
|
+
declaration: Record<string, string | number | boolean | {
|
6446
6786
|
type: string;
|
6447
6787
|
filename: string;
|
6448
6788
|
originalFilename: string;
|
@@ -6480,10 +6820,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6480
6820
|
filename: string;
|
6481
6821
|
originalFilename: string;
|
6482
6822
|
}[] | undefined>;
|
6483
|
-
createdAt: string;
|
6484
|
-
createdBy: string;
|
6485
6823
|
createdAtLocation: string;
|
6486
|
-
|
6824
|
+
annotation?: Record<string, string | number | boolean | {
|
6487
6825
|
type: string;
|
6488
6826
|
filename: string;
|
6489
6827
|
originalFilename: string;
|
@@ -6521,10 +6859,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6521
6859
|
filename: string;
|
6522
6860
|
originalFilename: string;
|
6523
6861
|
}[] | undefined> | undefined;
|
6862
|
+
originalActionId?: string | undefined;
|
6524
6863
|
} | {
|
6525
6864
|
type: "MARKED_AS_DUPLICATE";
|
6526
6865
|
id: string;
|
6527
|
-
|
6866
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6867
|
+
createdAt: string;
|
6868
|
+
createdBy: string;
|
6869
|
+
declaration: Record<string, string | number | boolean | {
|
6528
6870
|
type: string;
|
6529
6871
|
filename: string;
|
6530
6872
|
originalFilename: string;
|
@@ -6562,10 +6904,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6562
6904
|
filename: string;
|
6563
6905
|
originalFilename: string;
|
6564
6906
|
}[] | undefined>;
|
6565
|
-
createdAt: string;
|
6566
|
-
createdBy: string;
|
6567
6907
|
createdAtLocation: string;
|
6568
|
-
|
6908
|
+
annotation?: Record<string, string | number | boolean | {
|
6569
6909
|
type: string;
|
6570
6910
|
filename: string;
|
6571
6911
|
originalFilename: string;
|
@@ -6603,10 +6943,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6603
6943
|
filename: string;
|
6604
6944
|
originalFilename: string;
|
6605
6945
|
}[] | undefined> | undefined;
|
6946
|
+
originalActionId?: string | undefined;
|
6606
6947
|
} | {
|
6607
6948
|
type: "ARCHIVE";
|
6608
6949
|
id: string;
|
6609
|
-
|
6950
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6951
|
+
createdAt: string;
|
6952
|
+
createdBy: string;
|
6953
|
+
declaration: Record<string, string | number | boolean | {
|
6610
6954
|
type: string;
|
6611
6955
|
filename: string;
|
6612
6956
|
originalFilename: string;
|
@@ -6644,10 +6988,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6644
6988
|
filename: string;
|
6645
6989
|
originalFilename: string;
|
6646
6990
|
}[] | undefined>;
|
6647
|
-
createdAt: string;
|
6648
|
-
createdBy: string;
|
6649
6991
|
createdAtLocation: string;
|
6650
|
-
|
6992
|
+
annotation?: Record<string, string | number | boolean | {
|
6651
6993
|
type: string;
|
6652
6994
|
filename: string;
|
6653
6995
|
originalFilename: string;
|
@@ -6685,10 +7027,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6685
7027
|
filename: string;
|
6686
7028
|
originalFilename: string;
|
6687
7029
|
}[] | undefined> | undefined;
|
7030
|
+
originalActionId?: string | undefined;
|
6688
7031
|
} | {
|
6689
7032
|
type: "CREATE";
|
6690
7033
|
id: string;
|
6691
|
-
|
7034
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7035
|
+
createdAt: string;
|
7036
|
+
createdBy: string;
|
7037
|
+
declaration: Record<string, string | number | boolean | {
|
6692
7038
|
type: string;
|
6693
7039
|
filename: string;
|
6694
7040
|
originalFilename: string;
|
@@ -6726,10 +7072,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6726
7072
|
filename: string;
|
6727
7073
|
originalFilename: string;
|
6728
7074
|
}[] | undefined>;
|
6729
|
-
createdAt: string;
|
6730
|
-
createdBy: string;
|
6731
7075
|
createdAtLocation: string;
|
6732
|
-
|
7076
|
+
annotation?: Record<string, string | number | boolean | {
|
6733
7077
|
type: string;
|
6734
7078
|
filename: string;
|
6735
7079
|
originalFilename: string;
|
@@ -6767,10 +7111,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6767
7111
|
filename: string;
|
6768
7112
|
originalFilename: string;
|
6769
7113
|
}[] | undefined> | undefined;
|
7114
|
+
originalActionId?: string | undefined;
|
6770
7115
|
} | {
|
6771
7116
|
type: "NOTIFY";
|
6772
7117
|
id: string;
|
6773
|
-
|
7118
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7119
|
+
createdAt: string;
|
7120
|
+
createdBy: string;
|
7121
|
+
declaration: Record<string, string | number | boolean | {
|
6774
7122
|
type: string;
|
6775
7123
|
filename: string;
|
6776
7124
|
originalFilename: string;
|
@@ -6808,10 +7156,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6808
7156
|
filename: string;
|
6809
7157
|
originalFilename: string;
|
6810
7158
|
}[] | undefined>;
|
6811
|
-
createdAt: string;
|
6812
|
-
createdBy: string;
|
6813
7159
|
createdAtLocation: string;
|
6814
|
-
|
7160
|
+
annotation?: Record<string, string | number | boolean | {
|
6815
7161
|
type: string;
|
6816
7162
|
filename: string;
|
6817
7163
|
originalFilename: string;
|
@@ -6849,10 +7195,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6849
7195
|
filename: string;
|
6850
7196
|
originalFilename: string;
|
6851
7197
|
}[] | undefined> | undefined;
|
7198
|
+
originalActionId?: string | undefined;
|
6852
7199
|
} | {
|
6853
7200
|
type: "PRINT_CERTIFICATE";
|
6854
7201
|
id: string;
|
6855
|
-
|
7202
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7203
|
+
createdAt: string;
|
7204
|
+
createdBy: string;
|
7205
|
+
declaration: Record<string, string | number | boolean | {
|
6856
7206
|
type: string;
|
6857
7207
|
filename: string;
|
6858
7208
|
originalFilename: string;
|
@@ -6890,10 +7240,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6890
7240
|
filename: string;
|
6891
7241
|
originalFilename: string;
|
6892
7242
|
}[] | undefined>;
|
6893
|
-
createdAt: string;
|
6894
|
-
createdBy: string;
|
6895
7243
|
createdAtLocation: string;
|
6896
|
-
|
7244
|
+
annotation?: Record<string, string | number | boolean | {
|
6897
7245
|
type: string;
|
6898
7246
|
filename: string;
|
6899
7247
|
originalFilename: string;
|
@@ -6931,10 +7279,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
6931
7279
|
filename: string;
|
6932
7280
|
originalFilename: string;
|
6933
7281
|
}[] | undefined> | undefined;
|
7282
|
+
originalActionId?: string | undefined;
|
6934
7283
|
} | {
|
6935
7284
|
type: "REQUEST_CORRECTION";
|
6936
7285
|
id: string;
|
6937
|
-
|
7286
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7287
|
+
createdAt: string;
|
7288
|
+
createdBy: string;
|
7289
|
+
declaration: Record<string, string | number | boolean | {
|
6938
7290
|
type: string;
|
6939
7291
|
filename: string;
|
6940
7292
|
originalFilename: string;
|
@@ -6972,10 +7324,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6972
7324
|
filename: string;
|
6973
7325
|
originalFilename: string;
|
6974
7326
|
}[] | undefined>;
|
6975
|
-
createdAt: string;
|
6976
|
-
createdBy: string;
|
6977
7327
|
createdAtLocation: string;
|
6978
|
-
|
7328
|
+
annotation?: Record<string, string | number | boolean | {
|
6979
7329
|
type: string;
|
6980
7330
|
filename: string;
|
6981
7331
|
originalFilename: string;
|
@@ -7013,10 +7363,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7013
7363
|
filename: string;
|
7014
7364
|
originalFilename: string;
|
7015
7365
|
}[] | undefined> | undefined;
|
7366
|
+
originalActionId?: string | undefined;
|
7016
7367
|
} | {
|
7017
7368
|
type: "APPROVE_CORRECTION";
|
7018
7369
|
id: string;
|
7019
|
-
|
7370
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7371
|
+
createdAt: string;
|
7372
|
+
createdBy: string;
|
7373
|
+
declaration: Record<string, string | number | boolean | {
|
7020
7374
|
type: string;
|
7021
7375
|
filename: string;
|
7022
7376
|
originalFilename: string;
|
@@ -7054,11 +7408,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7054
7408
|
filename: string;
|
7055
7409
|
originalFilename: string;
|
7056
7410
|
}[] | undefined>;
|
7057
|
-
createdAt: string;
|
7058
|
-
createdBy: string;
|
7059
7411
|
createdAtLocation: string;
|
7060
7412
|
requestId: string;
|
7061
|
-
|
7413
|
+
annotation?: Record<string, string | number | boolean | {
|
7062
7414
|
type: string;
|
7063
7415
|
filename: string;
|
7064
7416
|
originalFilename: string;
|
@@ -7096,10 +7448,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7096
7448
|
filename: string;
|
7097
7449
|
originalFilename: string;
|
7098
7450
|
}[] | undefined> | undefined;
|
7451
|
+
originalActionId?: string | undefined;
|
7099
7452
|
} | {
|
7100
7453
|
type: "REJECT_CORRECTION";
|
7101
7454
|
id: string;
|
7102
|
-
|
7455
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7456
|
+
createdAt: string;
|
7457
|
+
createdBy: string;
|
7458
|
+
declaration: Record<string, string | number | boolean | {
|
7103
7459
|
type: string;
|
7104
7460
|
filename: string;
|
7105
7461
|
originalFilename: string;
|
@@ -7137,11 +7493,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7137
7493
|
filename: string;
|
7138
7494
|
originalFilename: string;
|
7139
7495
|
}[] | undefined>;
|
7140
|
-
createdAt: string;
|
7141
|
-
createdBy: string;
|
7142
7496
|
createdAtLocation: string;
|
7143
7497
|
requestId: string;
|
7144
|
-
|
7498
|
+
annotation?: Record<string, string | number | boolean | {
|
7145
7499
|
type: string;
|
7146
7500
|
filename: string;
|
7147
7501
|
originalFilename: string;
|
@@ -7179,10 +7533,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7179
7533
|
filename: string;
|
7180
7534
|
originalFilename: string;
|
7181
7535
|
}[] | undefined> | undefined;
|
7536
|
+
originalActionId?: string | undefined;
|
7182
7537
|
} | {
|
7183
|
-
type: "
|
7538
|
+
type: "READ";
|
7184
7539
|
id: string;
|
7185
|
-
|
7540
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7541
|
+
createdAt: string;
|
7542
|
+
createdBy: string;
|
7543
|
+
declaration: Record<string, string | number | boolean | {
|
7186
7544
|
type: string;
|
7187
7545
|
filename: string;
|
7188
7546
|
originalFilename: string;
|
@@ -7220,10 +7578,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7220
7578
|
filename: string;
|
7221
7579
|
originalFilename: string;
|
7222
7580
|
}[] | undefined>;
|
7223
|
-
createdAt: string;
|
7224
|
-
createdBy: string;
|
7225
7581
|
createdAtLocation: string;
|
7226
|
-
|
7582
|
+
annotation?: Record<string, string | number | boolean | {
|
7227
7583
|
type: string;
|
7228
7584
|
filename: string;
|
7229
7585
|
originalFilename: string;
|
@@ -7261,17 +7617,28 @@ export declare const EventDocument: z.ZodObject<{
|
|
7261
7617
|
filename: string;
|
7262
7618
|
originalFilename: string;
|
7263
7619
|
}[] | undefined> | undefined;
|
7620
|
+
originalActionId?: string | undefined;
|
7621
|
+
} | {
|
7622
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7623
|
+
id: string;
|
7624
|
+
status: "Rejected";
|
7625
|
+
createdAt: string;
|
7626
|
+
originalActionId?: string | undefined;
|
7264
7627
|
})[];
|
7628
|
+
trackingId: string;
|
7265
7629
|
}, {
|
7266
7630
|
type: string;
|
7267
7631
|
id: string;
|
7268
7632
|
createdAt: string;
|
7269
|
-
trackingId: string;
|
7270
7633
|
updatedAt: string;
|
7634
|
+
updatedAtLocation: string;
|
7271
7635
|
actions: ({
|
7272
7636
|
type: "ASSIGN";
|
7273
7637
|
id: string;
|
7274
|
-
|
7638
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7639
|
+
createdAt: string;
|
7640
|
+
createdBy: string;
|
7641
|
+
declaration: Record<string, string | number | boolean | {
|
7275
7642
|
type: string;
|
7276
7643
|
filename: string;
|
7277
7644
|
originalFilename: string;
|
@@ -7309,11 +7676,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7309
7676
|
filename: string;
|
7310
7677
|
originalFilename: string;
|
7311
7678
|
}[] | undefined>;
|
7312
|
-
createdAt: string;
|
7313
|
-
createdBy: string;
|
7314
7679
|
createdAtLocation: string;
|
7315
7680
|
assignedTo: string;
|
7316
|
-
|
7681
|
+
annotation?: Record<string, string | number | boolean | {
|
7317
7682
|
type: string;
|
7318
7683
|
filename: string;
|
7319
7684
|
originalFilename: string;
|
@@ -7351,10 +7716,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7351
7716
|
filename: string;
|
7352
7717
|
originalFilename: string;
|
7353
7718
|
}[] | undefined> | undefined;
|
7719
|
+
originalActionId?: string | undefined;
|
7354
7720
|
} | {
|
7355
7721
|
type: "UNASSIGN";
|
7356
7722
|
id: string;
|
7357
|
-
|
7723
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7724
|
+
createdAt: string;
|
7725
|
+
createdBy: string;
|
7726
|
+
declaration: Record<string, string | number | boolean | {
|
7358
7727
|
type: string;
|
7359
7728
|
filename: string;
|
7360
7729
|
originalFilename: string;
|
@@ -7392,10 +7761,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7392
7761
|
filename: string;
|
7393
7762
|
originalFilename: string;
|
7394
7763
|
}[] | undefined>;
|
7395
|
-
createdAt: string;
|
7396
|
-
createdBy: string;
|
7397
7764
|
createdAtLocation: string;
|
7398
|
-
|
7765
|
+
annotation?: Record<string, string | number | boolean | {
|
7399
7766
|
type: string;
|
7400
7767
|
filename: string;
|
7401
7768
|
originalFilename: string;
|
@@ -7433,10 +7800,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
7433
7800
|
filename: string;
|
7434
7801
|
originalFilename: string;
|
7435
7802
|
}[] | undefined> | undefined;
|
7803
|
+
originalActionId?: string | undefined;
|
7804
|
+
assignedTo?: null | undefined;
|
7436
7805
|
} | {
|
7437
7806
|
type: "REGISTER";
|
7438
7807
|
id: string;
|
7439
|
-
|
7808
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7809
|
+
createdAt: string;
|
7810
|
+
createdBy: string;
|
7811
|
+
declaration: Record<string, string | number | boolean | {
|
7440
7812
|
type: string;
|
7441
7813
|
filename: string;
|
7442
7814
|
originalFilename: string;
|
@@ -7474,14 +7846,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7474
7846
|
filename: string;
|
7475
7847
|
originalFilename: string;
|
7476
7848
|
}[] | undefined>;
|
7477
|
-
createdAt: string;
|
7478
|
-
createdBy: string;
|
7479
7849
|
createdAtLocation: string;
|
7480
|
-
|
7481
|
-
trackingId: string;
|
7482
|
-
registrationNumber: string;
|
7483
|
-
};
|
7484
|
-
metadata?: Record<string, string | number | boolean | {
|
7850
|
+
annotation?: Record<string, string | number | boolean | {
|
7485
7851
|
type: string;
|
7486
7852
|
filename: string;
|
7487
7853
|
originalFilename: string;
|
@@ -7519,10 +7885,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
7519
7885
|
filename: string;
|
7520
7886
|
originalFilename: string;
|
7521
7887
|
}[] | undefined> | undefined;
|
7888
|
+
originalActionId?: string | undefined;
|
7889
|
+
registrationNumber?: string | undefined;
|
7522
7890
|
} | {
|
7523
7891
|
type: "DECLARE";
|
7524
7892
|
id: string;
|
7525
|
-
|
7893
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7894
|
+
createdAt: string;
|
7895
|
+
createdBy: string;
|
7896
|
+
declaration: Record<string, string | number | boolean | {
|
7526
7897
|
type: string;
|
7527
7898
|
filename: string;
|
7528
7899
|
originalFilename: string;
|
@@ -7560,10 +7931,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7560
7931
|
filename: string;
|
7561
7932
|
originalFilename: string;
|
7562
7933
|
}[] | undefined>;
|
7563
|
-
createdAt: string;
|
7564
|
-
createdBy: string;
|
7565
7934
|
createdAtLocation: string;
|
7566
|
-
|
7935
|
+
annotation?: Record<string, string | number | boolean | {
|
7567
7936
|
type: string;
|
7568
7937
|
filename: string;
|
7569
7938
|
originalFilename: string;
|
@@ -7601,10 +7970,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7601
7970
|
filename: string;
|
7602
7971
|
originalFilename: string;
|
7603
7972
|
}[] | undefined> | undefined;
|
7973
|
+
originalActionId?: string | undefined;
|
7604
7974
|
} | {
|
7605
7975
|
type: "VALIDATE";
|
7606
7976
|
id: string;
|
7607
|
-
|
7977
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7978
|
+
createdAt: string;
|
7979
|
+
createdBy: string;
|
7980
|
+
declaration: Record<string, string | number | boolean | {
|
7608
7981
|
type: string;
|
7609
7982
|
filename: string;
|
7610
7983
|
originalFilename: string;
|
@@ -7642,10 +8015,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7642
8015
|
filename: string;
|
7643
8016
|
originalFilename: string;
|
7644
8017
|
}[] | undefined>;
|
7645
|
-
createdAt: string;
|
7646
|
-
createdBy: string;
|
7647
8018
|
createdAtLocation: string;
|
7648
|
-
|
8019
|
+
annotation?: Record<string, string | number | boolean | {
|
7649
8020
|
type: string;
|
7650
8021
|
filename: string;
|
7651
8022
|
originalFilename: string;
|
@@ -7683,10 +8054,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7683
8054
|
filename: string;
|
7684
8055
|
originalFilename: string;
|
7685
8056
|
}[] | undefined> | undefined;
|
8057
|
+
originalActionId?: string | undefined;
|
7686
8058
|
} | {
|
7687
8059
|
type: "REJECT";
|
7688
8060
|
id: string;
|
7689
|
-
|
8061
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8062
|
+
createdAt: string;
|
8063
|
+
createdBy: string;
|
8064
|
+
declaration: Record<string, string | number | boolean | {
|
7690
8065
|
type: string;
|
7691
8066
|
filename: string;
|
7692
8067
|
originalFilename: string;
|
@@ -7724,10 +8099,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7724
8099
|
filename: string;
|
7725
8100
|
originalFilename: string;
|
7726
8101
|
}[] | undefined>;
|
7727
|
-
createdAt: string;
|
7728
|
-
createdBy: string;
|
7729
8102
|
createdAtLocation: string;
|
7730
|
-
|
8103
|
+
annotation?: Record<string, string | number | boolean | {
|
7731
8104
|
type: string;
|
7732
8105
|
filename: string;
|
7733
8106
|
originalFilename: string;
|
@@ -7765,10 +8138,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7765
8138
|
filename: string;
|
7766
8139
|
originalFilename: string;
|
7767
8140
|
}[] | undefined> | undefined;
|
8141
|
+
originalActionId?: string | undefined;
|
7768
8142
|
} | {
|
7769
8143
|
type: "MARKED_AS_DUPLICATE";
|
7770
8144
|
id: string;
|
7771
|
-
|
8145
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8146
|
+
createdAt: string;
|
8147
|
+
createdBy: string;
|
8148
|
+
declaration: Record<string, string | number | boolean | {
|
7772
8149
|
type: string;
|
7773
8150
|
filename: string;
|
7774
8151
|
originalFilename: string;
|
@@ -7806,10 +8183,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7806
8183
|
filename: string;
|
7807
8184
|
originalFilename: string;
|
7808
8185
|
}[] | undefined>;
|
7809
|
-
createdAt: string;
|
7810
|
-
createdBy: string;
|
7811
8186
|
createdAtLocation: string;
|
7812
|
-
|
8187
|
+
annotation?: Record<string, string | number | boolean | {
|
7813
8188
|
type: string;
|
7814
8189
|
filename: string;
|
7815
8190
|
originalFilename: string;
|
@@ -7847,10 +8222,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7847
8222
|
filename: string;
|
7848
8223
|
originalFilename: string;
|
7849
8224
|
}[] | undefined> | undefined;
|
8225
|
+
originalActionId?: string | undefined;
|
7850
8226
|
} | {
|
7851
8227
|
type: "ARCHIVE";
|
7852
8228
|
id: string;
|
7853
|
-
|
8229
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8230
|
+
createdAt: string;
|
8231
|
+
createdBy: string;
|
8232
|
+
declaration: Record<string, string | number | boolean | {
|
7854
8233
|
type: string;
|
7855
8234
|
filename: string;
|
7856
8235
|
originalFilename: string;
|
@@ -7888,10 +8267,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7888
8267
|
filename: string;
|
7889
8268
|
originalFilename: string;
|
7890
8269
|
}[] | undefined>;
|
7891
|
-
createdAt: string;
|
7892
|
-
createdBy: string;
|
7893
8270
|
createdAtLocation: string;
|
7894
|
-
|
8271
|
+
annotation?: Record<string, string | number | boolean | {
|
7895
8272
|
type: string;
|
7896
8273
|
filename: string;
|
7897
8274
|
originalFilename: string;
|
@@ -7929,10 +8306,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
7929
8306
|
filename: string;
|
7930
8307
|
originalFilename: string;
|
7931
8308
|
}[] | undefined> | undefined;
|
8309
|
+
originalActionId?: string | undefined;
|
7932
8310
|
} | {
|
7933
8311
|
type: "CREATE";
|
7934
8312
|
id: string;
|
7935
|
-
|
8313
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8314
|
+
createdAt: string;
|
8315
|
+
createdBy: string;
|
8316
|
+
declaration: Record<string, string | number | boolean | {
|
7936
8317
|
type: string;
|
7937
8318
|
filename: string;
|
7938
8319
|
originalFilename: string;
|
@@ -7970,10 +8351,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7970
8351
|
filename: string;
|
7971
8352
|
originalFilename: string;
|
7972
8353
|
}[] | undefined>;
|
7973
|
-
createdAt: string;
|
7974
|
-
createdBy: string;
|
7975
8354
|
createdAtLocation: string;
|
7976
|
-
|
8355
|
+
annotation?: Record<string, string | number | boolean | {
|
7977
8356
|
type: string;
|
7978
8357
|
filename: string;
|
7979
8358
|
originalFilename: string;
|
@@ -8011,10 +8390,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8011
8390
|
filename: string;
|
8012
8391
|
originalFilename: string;
|
8013
8392
|
}[] | undefined> | undefined;
|
8393
|
+
originalActionId?: string | undefined;
|
8014
8394
|
} | {
|
8015
8395
|
type: "NOTIFY";
|
8016
8396
|
id: string;
|
8017
|
-
|
8397
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8398
|
+
createdAt: string;
|
8399
|
+
createdBy: string;
|
8400
|
+
declaration: Record<string, string | number | boolean | {
|
8018
8401
|
type: string;
|
8019
8402
|
filename: string;
|
8020
8403
|
originalFilename: string;
|
@@ -8052,10 +8435,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8052
8435
|
filename: string;
|
8053
8436
|
originalFilename: string;
|
8054
8437
|
}[] | undefined>;
|
8055
|
-
createdAt: string;
|
8056
|
-
createdBy: string;
|
8057
8438
|
createdAtLocation: string;
|
8058
|
-
|
8439
|
+
annotation?: Record<string, string | number | boolean | {
|
8059
8440
|
type: string;
|
8060
8441
|
filename: string;
|
8061
8442
|
originalFilename: string;
|
@@ -8093,10 +8474,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8093
8474
|
filename: string;
|
8094
8475
|
originalFilename: string;
|
8095
8476
|
}[] | undefined> | undefined;
|
8477
|
+
originalActionId?: string | undefined;
|
8096
8478
|
} | {
|
8097
8479
|
type: "PRINT_CERTIFICATE";
|
8098
8480
|
id: string;
|
8099
|
-
|
8481
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8482
|
+
createdAt: string;
|
8483
|
+
createdBy: string;
|
8484
|
+
declaration: Record<string, string | number | boolean | {
|
8100
8485
|
type: string;
|
8101
8486
|
filename: string;
|
8102
8487
|
originalFilename: string;
|
@@ -8134,10 +8519,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8134
8519
|
filename: string;
|
8135
8520
|
originalFilename: string;
|
8136
8521
|
}[] | undefined>;
|
8137
|
-
createdAt: string;
|
8138
|
-
createdBy: string;
|
8139
8522
|
createdAtLocation: string;
|
8140
|
-
|
8523
|
+
annotation?: Record<string, string | number | boolean | {
|
8141
8524
|
type: string;
|
8142
8525
|
filename: string;
|
8143
8526
|
originalFilename: string;
|
@@ -8175,10 +8558,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8175
8558
|
filename: string;
|
8176
8559
|
originalFilename: string;
|
8177
8560
|
}[] | undefined> | undefined;
|
8561
|
+
originalActionId?: string | undefined;
|
8178
8562
|
} | {
|
8179
8563
|
type: "REQUEST_CORRECTION";
|
8180
8564
|
id: string;
|
8181
|
-
|
8565
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8566
|
+
createdAt: string;
|
8567
|
+
createdBy: string;
|
8568
|
+
declaration: Record<string, string | number | boolean | {
|
8182
8569
|
type: string;
|
8183
8570
|
filename: string;
|
8184
8571
|
originalFilename: string;
|
@@ -8216,10 +8603,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8216
8603
|
filename: string;
|
8217
8604
|
originalFilename: string;
|
8218
8605
|
}[] | undefined>;
|
8219
|
-
createdAt: string;
|
8220
|
-
createdBy: string;
|
8221
8606
|
createdAtLocation: string;
|
8222
|
-
|
8607
|
+
annotation?: Record<string, string | number | boolean | {
|
8223
8608
|
type: string;
|
8224
8609
|
filename: string;
|
8225
8610
|
originalFilename: string;
|
@@ -8257,10 +8642,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8257
8642
|
filename: string;
|
8258
8643
|
originalFilename: string;
|
8259
8644
|
}[] | undefined> | undefined;
|
8645
|
+
originalActionId?: string | undefined;
|
8260
8646
|
} | {
|
8261
8647
|
type: "APPROVE_CORRECTION";
|
8262
8648
|
id: string;
|
8263
|
-
|
8649
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8650
|
+
createdAt: string;
|
8651
|
+
createdBy: string;
|
8652
|
+
declaration: Record<string, string | number | boolean | {
|
8264
8653
|
type: string;
|
8265
8654
|
filename: string;
|
8266
8655
|
originalFilename: string;
|
@@ -8298,11 +8687,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8298
8687
|
filename: string;
|
8299
8688
|
originalFilename: string;
|
8300
8689
|
}[] | undefined>;
|
8301
|
-
createdAt: string;
|
8302
|
-
createdBy: string;
|
8303
8690
|
createdAtLocation: string;
|
8304
8691
|
requestId: string;
|
8305
|
-
|
8692
|
+
annotation?: Record<string, string | number | boolean | {
|
8306
8693
|
type: string;
|
8307
8694
|
filename: string;
|
8308
8695
|
originalFilename: string;
|
@@ -8340,10 +8727,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8340
8727
|
filename: string;
|
8341
8728
|
originalFilename: string;
|
8342
8729
|
}[] | undefined> | undefined;
|
8730
|
+
originalActionId?: string | undefined;
|
8343
8731
|
} | {
|
8344
8732
|
type: "REJECT_CORRECTION";
|
8345
8733
|
id: string;
|
8346
|
-
|
8734
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8735
|
+
createdAt: string;
|
8736
|
+
createdBy: string;
|
8737
|
+
declaration: Record<string, string | number | boolean | {
|
8347
8738
|
type: string;
|
8348
8739
|
filename: string;
|
8349
8740
|
originalFilename: string;
|
@@ -8381,11 +8772,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8381
8772
|
filename: string;
|
8382
8773
|
originalFilename: string;
|
8383
8774
|
}[] | undefined>;
|
8384
|
-
createdAt: string;
|
8385
|
-
createdBy: string;
|
8386
8775
|
createdAtLocation: string;
|
8387
8776
|
requestId: string;
|
8388
|
-
|
8777
|
+
annotation?: Record<string, string | number | boolean | {
|
8389
8778
|
type: string;
|
8390
8779
|
filename: string;
|
8391
8780
|
originalFilename: string;
|
@@ -8423,10 +8812,14 @@ export declare const EventDocument: z.ZodObject<{
|
|
8423
8812
|
filename: string;
|
8424
8813
|
originalFilename: string;
|
8425
8814
|
}[] | undefined> | undefined;
|
8815
|
+
originalActionId?: string | undefined;
|
8426
8816
|
} | {
|
8427
|
-
type: "
|
8817
|
+
type: "READ";
|
8428
8818
|
id: string;
|
8429
|
-
|
8819
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8820
|
+
createdAt: string;
|
8821
|
+
createdBy: string;
|
8822
|
+
declaration: Record<string, string | number | boolean | {
|
8430
8823
|
type: string;
|
8431
8824
|
filename: string;
|
8432
8825
|
originalFilename: string;
|
@@ -8464,10 +8857,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8464
8857
|
filename: string;
|
8465
8858
|
originalFilename: string;
|
8466
8859
|
}[] | undefined>;
|
8467
|
-
createdAt: string;
|
8468
|
-
createdBy: string;
|
8469
8860
|
createdAtLocation: string;
|
8470
|
-
|
8861
|
+
annotation?: Record<string, string | number | boolean | {
|
8471
8862
|
type: string;
|
8472
8863
|
filename: string;
|
8473
8864
|
originalFilename: string;
|
@@ -8505,7 +8896,15 @@ export declare const EventDocument: z.ZodObject<{
|
|
8505
8896
|
filename: string;
|
8506
8897
|
originalFilename: string;
|
8507
8898
|
}[] | undefined> | undefined;
|
8899
|
+
originalActionId?: string | undefined;
|
8900
|
+
} | {
|
8901
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
8902
|
+
id: string;
|
8903
|
+
status: "Rejected";
|
8904
|
+
createdAt: string;
|
8905
|
+
originalActionId?: string | undefined;
|
8508
8906
|
})[];
|
8907
|
+
trackingId: string;
|
8509
8908
|
}>;
|
8510
8909
|
export type EventDocument = z.infer<typeof EventDocument>;
|
8511
8910
|
//# sourceMappingURL=EventDocument.d.ts.map
|