@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8e4107
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/dist/commons/api/router.d.ts +3159 -158
- package/dist/commons/conditionals/conditionals.d.ts +80 -8
- package/dist/commons/conditionals/validate.d.ts +14 -17
- package/dist/commons/events/ActionDocument.d.ts +212 -101
- package/dist/commons/events/ActionInput.d.ts +1109 -214
- package/dist/commons/events/ActionType.d.ts +5 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +107 -14
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +24 -12
- package/dist/commons/events/EventConfig.d.ts +132 -66
- package/dist/commons/events/EventDocument.d.ts +161 -76
- package/dist/commons/events/EventIndex.d.ts +746 -4
- package/dist/commons/events/EventMetadata.d.ts +6 -3
- package/dist/commons/events/FieldConfig.d.ts +208 -70
- package/dist/commons/events/PageConfig.d.ts +0 -24
- package/dist/commons/events/TemplateConfig.d.ts +5 -5
- package/dist/commons/events/defineConfig.d.ts +15 -11
- package/dist/commons/events/test.utils.d.ts +20 -112
- package/dist/commons/events/utils.d.ts +60 -54
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +180 -151
- package/dist/events/index.js +1325 -1103
- package/package.json +1 -1
@@ -61,7 +61,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
61
61
|
};
|
62
62
|
draft?: boolean | undefined;
|
63
63
|
} | {
|
64
|
-
type: "
|
64
|
+
type: "REJECT";
|
65
65
|
conditionals: ({
|
66
66
|
type: "SHOW";
|
67
67
|
conditional: import("../commons").JSONSchema;
|
@@ -70,13 +70,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
70
70
|
conditional: import("../commons").JSONSchema;
|
71
71
|
})[];
|
72
72
|
label: import("../commons").TranslationConfig;
|
73
|
-
review: {
|
74
|
-
title: import("../commons").TranslationConfig;
|
75
|
-
fields: import("../commons").Inferred[];
|
76
|
-
};
|
77
73
|
draft?: boolean | undefined;
|
78
74
|
} | {
|
79
|
-
type: "
|
75
|
+
type: "MARKED_AS_DUPLICATE";
|
80
76
|
conditionals: ({
|
81
77
|
type: "SHOW";
|
82
78
|
conditional: import("../commons").JSONSchema;
|
@@ -87,7 +83,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
87
83
|
label: import("../commons").TranslationConfig;
|
88
84
|
draft?: boolean | undefined;
|
89
85
|
} | {
|
90
|
-
type: "
|
86
|
+
type: "ARCHIVE";
|
91
87
|
conditionals: ({
|
92
88
|
type: "SHOW";
|
93
89
|
conditional: import("../commons").JSONSchema;
|
@@ -98,7 +94,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
98
94
|
label: import("../commons").TranslationConfig;
|
99
95
|
draft?: boolean | undefined;
|
100
96
|
} | {
|
101
|
-
type: "
|
97
|
+
type: "REGISTER";
|
102
98
|
conditionals: ({
|
103
99
|
type: "SHOW";
|
104
100
|
conditional: import("../commons").JSONSchema;
|
@@ -107,6 +103,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
107
103
|
conditional: import("../commons").JSONSchema;
|
108
104
|
})[];
|
109
105
|
label: import("../commons").TranslationConfig;
|
106
|
+
review: {
|
107
|
+
title: import("../commons").TranslationConfig;
|
108
|
+
fields: import("../commons").Inferred[];
|
109
|
+
};
|
110
110
|
draft?: boolean | undefined;
|
111
111
|
} | {
|
112
112
|
type: "DELETE";
|
@@ -270,10 +270,14 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
270
270
|
advancedSearch: {
|
271
271
|
title: import("../commons").TranslationConfig;
|
272
272
|
fields: {
|
273
|
-
|
274
|
-
config?: {
|
273
|
+
config: {
|
275
274
|
type: "FUZZY" | "EXACT" | "RANGE";
|
276
|
-
}
|
275
|
+
};
|
276
|
+
fieldId: string;
|
277
|
+
options?: {
|
278
|
+
value: string;
|
279
|
+
label: import("../commons").TranslationConfig;
|
280
|
+
}[] | undefined;
|
277
281
|
}[];
|
278
282
|
}[];
|
279
283
|
}[];
|
@@ -333,7 +337,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
333
337
|
filename: string;
|
334
338
|
originalFilename: string;
|
335
339
|
}[] | undefined>;
|
336
|
-
createdAtLocation: string;
|
337
340
|
assignedTo: string;
|
338
341
|
annotation?: Record<string, string | number | boolean | {
|
339
342
|
type: string;
|
@@ -373,6 +376,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
373
376
|
filename: string;
|
374
377
|
originalFilename: string;
|
375
378
|
}[] | undefined> | undefined;
|
379
|
+
createdAtLocation?: string | undefined;
|
380
|
+
updatedAtLocation?: string | undefined;
|
376
381
|
originalActionId?: string | undefined;
|
377
382
|
} | {
|
378
383
|
type: "UNASSIGN";
|
@@ -418,7 +423,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
418
423
|
filename: string;
|
419
424
|
originalFilename: string;
|
420
425
|
}[] | undefined>;
|
421
|
-
|
426
|
+
assignedTo: null;
|
422
427
|
annotation?: Record<string, string | number | boolean | {
|
423
428
|
type: string;
|
424
429
|
filename: string;
|
@@ -457,6 +462,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
457
462
|
filename: string;
|
458
463
|
originalFilename: string;
|
459
464
|
}[] | undefined> | undefined;
|
465
|
+
createdAtLocation?: string | undefined;
|
466
|
+
updatedAtLocation?: string | undefined;
|
460
467
|
originalActionId?: string | undefined;
|
461
468
|
} | {
|
462
469
|
type: "REGISTER";
|
@@ -502,7 +509,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
502
509
|
filename: string;
|
503
510
|
originalFilename: string;
|
504
511
|
}[] | undefined>;
|
505
|
-
createdAtLocation: string;
|
506
512
|
annotation?: Record<string, string | number | boolean | {
|
507
513
|
type: string;
|
508
514
|
filename: string;
|
@@ -541,6 +547,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
541
547
|
filename: string;
|
542
548
|
originalFilename: string;
|
543
549
|
}[] | undefined> | undefined;
|
550
|
+
createdAtLocation?: string | undefined;
|
551
|
+
updatedAtLocation?: string | undefined;
|
544
552
|
originalActionId?: string | undefined;
|
545
553
|
registrationNumber?: string | undefined;
|
546
554
|
} | {
|
@@ -587,7 +595,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
587
595
|
filename: string;
|
588
596
|
originalFilename: string;
|
589
597
|
}[] | undefined>;
|
590
|
-
createdAtLocation: string;
|
591
598
|
annotation?: Record<string, string | number | boolean | {
|
592
599
|
type: string;
|
593
600
|
filename: string;
|
@@ -626,6 +633,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
626
633
|
filename: string;
|
627
634
|
originalFilename: string;
|
628
635
|
}[] | undefined> | undefined;
|
636
|
+
createdAtLocation?: string | undefined;
|
637
|
+
updatedAtLocation?: string | undefined;
|
629
638
|
originalActionId?: string | undefined;
|
630
639
|
} | {
|
631
640
|
type: "VALIDATE";
|
@@ -671,7 +680,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
671
680
|
filename: string;
|
672
681
|
originalFilename: string;
|
673
682
|
}[] | undefined>;
|
674
|
-
createdAtLocation: string;
|
675
683
|
annotation?: Record<string, string | number | boolean | {
|
676
684
|
type: string;
|
677
685
|
filename: string;
|
@@ -710,6 +718,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
710
718
|
filename: string;
|
711
719
|
originalFilename: string;
|
712
720
|
}[] | undefined> | undefined;
|
721
|
+
createdAtLocation?: string | undefined;
|
722
|
+
updatedAtLocation?: string | undefined;
|
713
723
|
originalActionId?: string | undefined;
|
714
724
|
} | {
|
715
725
|
type: "REJECT";
|
@@ -755,7 +765,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
755
765
|
filename: string;
|
756
766
|
originalFilename: string;
|
757
767
|
}[] | undefined>;
|
758
|
-
createdAtLocation: string;
|
759
768
|
annotation?: Record<string, string | number | boolean | {
|
760
769
|
type: string;
|
761
770
|
filename: string;
|
@@ -794,6 +803,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
794
803
|
filename: string;
|
795
804
|
originalFilename: string;
|
796
805
|
}[] | undefined> | undefined;
|
806
|
+
createdAtLocation?: string | undefined;
|
807
|
+
updatedAtLocation?: string | undefined;
|
797
808
|
originalActionId?: string | undefined;
|
798
809
|
} | {
|
799
810
|
type: "MARKED_AS_DUPLICATE";
|
@@ -839,7 +850,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
839
850
|
filename: string;
|
840
851
|
originalFilename: string;
|
841
852
|
}[] | undefined>;
|
842
|
-
createdAtLocation: string;
|
843
853
|
annotation?: Record<string, string | number | boolean | {
|
844
854
|
type: string;
|
845
855
|
filename: string;
|
@@ -878,6 +888,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
878
888
|
filename: string;
|
879
889
|
originalFilename: string;
|
880
890
|
}[] | undefined> | undefined;
|
891
|
+
createdAtLocation?: string | undefined;
|
892
|
+
updatedAtLocation?: string | undefined;
|
881
893
|
originalActionId?: string | undefined;
|
882
894
|
} | {
|
883
895
|
type: "ARCHIVE";
|
@@ -923,7 +935,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
923
935
|
filename: string;
|
924
936
|
originalFilename: string;
|
925
937
|
}[] | undefined>;
|
926
|
-
createdAtLocation: string;
|
927
938
|
annotation?: Record<string, string | number | boolean | {
|
928
939
|
type: string;
|
929
940
|
filename: string;
|
@@ -962,6 +973,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
962
973
|
filename: string;
|
963
974
|
originalFilename: string;
|
964
975
|
}[] | undefined> | undefined;
|
976
|
+
createdAtLocation?: string | undefined;
|
977
|
+
updatedAtLocation?: string | undefined;
|
965
978
|
originalActionId?: string | undefined;
|
966
979
|
} | {
|
967
980
|
type: "CREATE";
|
@@ -1007,7 +1020,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1007
1020
|
filename: string;
|
1008
1021
|
originalFilename: string;
|
1009
1022
|
}[] | undefined>;
|
1010
|
-
createdAtLocation: string;
|
1011
1023
|
annotation?: Record<string, string | number | boolean | {
|
1012
1024
|
type: string;
|
1013
1025
|
filename: string;
|
@@ -1046,6 +1058,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1046
1058
|
filename: string;
|
1047
1059
|
originalFilename: string;
|
1048
1060
|
}[] | undefined> | undefined;
|
1061
|
+
createdAtLocation?: string | undefined;
|
1062
|
+
updatedAtLocation?: string | undefined;
|
1049
1063
|
originalActionId?: string | undefined;
|
1050
1064
|
} | {
|
1051
1065
|
type: "NOTIFY";
|
@@ -1091,7 +1105,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1091
1105
|
filename: string;
|
1092
1106
|
originalFilename: string;
|
1093
1107
|
}[] | undefined>;
|
1094
|
-
createdAtLocation: string;
|
1095
1108
|
annotation?: Record<string, string | number | boolean | {
|
1096
1109
|
type: string;
|
1097
1110
|
filename: string;
|
@@ -1130,6 +1143,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1130
1143
|
filename: string;
|
1131
1144
|
originalFilename: string;
|
1132
1145
|
}[] | undefined> | undefined;
|
1146
|
+
createdAtLocation?: string | undefined;
|
1147
|
+
updatedAtLocation?: string | undefined;
|
1133
1148
|
originalActionId?: string | undefined;
|
1134
1149
|
} | {
|
1135
1150
|
type: "PRINT_CERTIFICATE";
|
@@ -1175,7 +1190,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1175
1190
|
filename: string;
|
1176
1191
|
originalFilename: string;
|
1177
1192
|
}[] | undefined>;
|
1178
|
-
createdAtLocation: string;
|
1179
1193
|
annotation?: Record<string, string | number | boolean | {
|
1180
1194
|
type: string;
|
1181
1195
|
filename: string;
|
@@ -1214,6 +1228,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1214
1228
|
filename: string;
|
1215
1229
|
originalFilename: string;
|
1216
1230
|
}[] | undefined> | undefined;
|
1231
|
+
createdAtLocation?: string | undefined;
|
1232
|
+
updatedAtLocation?: string | undefined;
|
1217
1233
|
originalActionId?: string | undefined;
|
1218
1234
|
} | {
|
1219
1235
|
type: "REQUEST_CORRECTION";
|
@@ -1259,7 +1275,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1259
1275
|
filename: string;
|
1260
1276
|
originalFilename: string;
|
1261
1277
|
}[] | undefined>;
|
1262
|
-
createdAtLocation: string;
|
1263
1278
|
annotation?: Record<string, string | number | boolean | {
|
1264
1279
|
type: string;
|
1265
1280
|
filename: string;
|
@@ -1298,6 +1313,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1298
1313
|
filename: string;
|
1299
1314
|
originalFilename: string;
|
1300
1315
|
}[] | undefined> | undefined;
|
1316
|
+
createdAtLocation?: string | undefined;
|
1317
|
+
updatedAtLocation?: string | undefined;
|
1301
1318
|
originalActionId?: string | undefined;
|
1302
1319
|
} | {
|
1303
1320
|
type: "APPROVE_CORRECTION";
|
@@ -1343,7 +1360,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1343
1360
|
filename: string;
|
1344
1361
|
originalFilename: string;
|
1345
1362
|
}[] | undefined>;
|
1346
|
-
createdAtLocation: string;
|
1347
1363
|
requestId: string;
|
1348
1364
|
annotation?: Record<string, string | number | boolean | {
|
1349
1365
|
type: string;
|
@@ -1383,6 +1399,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1383
1399
|
filename: string;
|
1384
1400
|
originalFilename: string;
|
1385
1401
|
}[] | undefined> | undefined;
|
1402
|
+
createdAtLocation?: string | undefined;
|
1403
|
+
updatedAtLocation?: string | undefined;
|
1386
1404
|
originalActionId?: string | undefined;
|
1387
1405
|
} | {
|
1388
1406
|
type: "REJECT_CORRECTION";
|
@@ -1428,7 +1446,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1428
1446
|
filename: string;
|
1429
1447
|
originalFilename: string;
|
1430
1448
|
}[] | undefined>;
|
1431
|
-
createdAtLocation: string;
|
1432
1449
|
requestId: string;
|
1433
1450
|
annotation?: Record<string, string | number | boolean | {
|
1434
1451
|
type: string;
|
@@ -1468,6 +1485,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1468
1485
|
filename: string;
|
1469
1486
|
originalFilename: string;
|
1470
1487
|
}[] | undefined> | undefined;
|
1488
|
+
createdAtLocation?: string | undefined;
|
1489
|
+
updatedAtLocation?: string | undefined;
|
1471
1490
|
originalActionId?: string | undefined;
|
1472
1491
|
} | {
|
1473
1492
|
type: "READ";
|
@@ -1513,7 +1532,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1513
1532
|
filename: string;
|
1514
1533
|
originalFilename: string;
|
1515
1534
|
}[] | undefined>;
|
1516
|
-
createdAtLocation: string;
|
1517
1535
|
annotation?: Record<string, string | number | boolean | {
|
1518
1536
|
type: string;
|
1519
1537
|
filename: string;
|
@@ -1552,12 +1570,15 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1552
1570
|
filename: string;
|
1553
1571
|
originalFilename: string;
|
1554
1572
|
}[] | undefined> | undefined;
|
1573
|
+
createdAtLocation?: string | undefined;
|
1574
|
+
updatedAtLocation?: string | undefined;
|
1555
1575
|
originalActionId?: string | undefined;
|
1556
1576
|
} | {
|
1557
1577
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
1558
1578
|
id: string;
|
1559
1579
|
status: "Rejected";
|
1560
1580
|
createdAt: string;
|
1581
|
+
updatedAtLocation?: string | undefined;
|
1561
1582
|
originalActionId?: string | undefined;
|
1562
1583
|
})[];
|
1563
1584
|
trackingId: string;
|
@@ -1614,7 +1635,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1614
1635
|
filename: string;
|
1615
1636
|
originalFilename: string;
|
1616
1637
|
}[] | undefined>;
|
1617
|
-
createdAtLocation: string;
|
1618
1638
|
assignedTo: string;
|
1619
1639
|
annotation?: Record<string, string | number | boolean | {
|
1620
1640
|
type: string;
|
@@ -1654,6 +1674,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1654
1674
|
filename: string;
|
1655
1675
|
originalFilename: string;
|
1656
1676
|
}[] | undefined> | undefined;
|
1677
|
+
createdAtLocation?: string | undefined;
|
1678
|
+
updatedAtLocation?: string | undefined;
|
1657
1679
|
originalActionId?: string | undefined;
|
1658
1680
|
} | {
|
1659
1681
|
type: "UNASSIGN";
|
@@ -1699,7 +1721,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1699
1721
|
filename: string;
|
1700
1722
|
originalFilename: string;
|
1701
1723
|
}[] | undefined>;
|
1702
|
-
|
1724
|
+
assignedTo: null;
|
1703
1725
|
annotation?: Record<string, string | number | boolean | {
|
1704
1726
|
type: string;
|
1705
1727
|
filename: string;
|
@@ -1738,6 +1760,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1738
1760
|
filename: string;
|
1739
1761
|
originalFilename: string;
|
1740
1762
|
}[] | undefined> | undefined;
|
1763
|
+
createdAtLocation?: string | undefined;
|
1764
|
+
updatedAtLocation?: string | undefined;
|
1741
1765
|
originalActionId?: string | undefined;
|
1742
1766
|
} | {
|
1743
1767
|
type: "REGISTER";
|
@@ -1783,7 +1807,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1783
1807
|
filename: string;
|
1784
1808
|
originalFilename: string;
|
1785
1809
|
}[] | undefined>;
|
1786
|
-
createdAtLocation: string;
|
1787
1810
|
annotation?: Record<string, string | number | boolean | {
|
1788
1811
|
type: string;
|
1789
1812
|
filename: string;
|
@@ -1822,6 +1845,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1822
1845
|
filename: string;
|
1823
1846
|
originalFilename: string;
|
1824
1847
|
}[] | undefined> | undefined;
|
1848
|
+
createdAtLocation?: string | undefined;
|
1849
|
+
updatedAtLocation?: string | undefined;
|
1825
1850
|
originalActionId?: string | undefined;
|
1826
1851
|
registrationNumber?: string | undefined;
|
1827
1852
|
} | {
|
@@ -1868,7 +1893,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1868
1893
|
filename: string;
|
1869
1894
|
originalFilename: string;
|
1870
1895
|
}[] | undefined>;
|
1871
|
-
createdAtLocation: string;
|
1872
1896
|
annotation?: Record<string, string | number | boolean | {
|
1873
1897
|
type: string;
|
1874
1898
|
filename: string;
|
@@ -1907,6 +1931,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1907
1931
|
filename: string;
|
1908
1932
|
originalFilename: string;
|
1909
1933
|
}[] | undefined> | undefined;
|
1934
|
+
createdAtLocation?: string | undefined;
|
1935
|
+
updatedAtLocation?: string | undefined;
|
1910
1936
|
originalActionId?: string | undefined;
|
1911
1937
|
} | {
|
1912
1938
|
type: "VALIDATE";
|
@@ -1952,7 +1978,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1952
1978
|
filename: string;
|
1953
1979
|
originalFilename: string;
|
1954
1980
|
}[] | undefined>;
|
1955
|
-
createdAtLocation: string;
|
1956
1981
|
annotation?: Record<string, string | number | boolean | {
|
1957
1982
|
type: string;
|
1958
1983
|
filename: string;
|
@@ -1991,6 +2016,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
1991
2016
|
filename: string;
|
1992
2017
|
originalFilename: string;
|
1993
2018
|
}[] | undefined> | undefined;
|
2019
|
+
createdAtLocation?: string | undefined;
|
2020
|
+
updatedAtLocation?: string | undefined;
|
1994
2021
|
originalActionId?: string | undefined;
|
1995
2022
|
} | {
|
1996
2023
|
type: "REJECT";
|
@@ -2036,7 +2063,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2036
2063
|
filename: string;
|
2037
2064
|
originalFilename: string;
|
2038
2065
|
}[] | undefined>;
|
2039
|
-
createdAtLocation: string;
|
2040
2066
|
annotation?: Record<string, string | number | boolean | {
|
2041
2067
|
type: string;
|
2042
2068
|
filename: string;
|
@@ -2075,6 +2101,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2075
2101
|
filename: string;
|
2076
2102
|
originalFilename: string;
|
2077
2103
|
}[] | undefined> | undefined;
|
2104
|
+
createdAtLocation?: string | undefined;
|
2105
|
+
updatedAtLocation?: string | undefined;
|
2078
2106
|
originalActionId?: string | undefined;
|
2079
2107
|
} | {
|
2080
2108
|
type: "MARKED_AS_DUPLICATE";
|
@@ -2120,7 +2148,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2120
2148
|
filename: string;
|
2121
2149
|
originalFilename: string;
|
2122
2150
|
}[] | undefined>;
|
2123
|
-
createdAtLocation: string;
|
2124
2151
|
annotation?: Record<string, string | number | boolean | {
|
2125
2152
|
type: string;
|
2126
2153
|
filename: string;
|
@@ -2159,6 +2186,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2159
2186
|
filename: string;
|
2160
2187
|
originalFilename: string;
|
2161
2188
|
}[] | undefined> | undefined;
|
2189
|
+
createdAtLocation?: string | undefined;
|
2190
|
+
updatedAtLocation?: string | undefined;
|
2162
2191
|
originalActionId?: string | undefined;
|
2163
2192
|
} | {
|
2164
2193
|
type: "ARCHIVE";
|
@@ -2204,7 +2233,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2204
2233
|
filename: string;
|
2205
2234
|
originalFilename: string;
|
2206
2235
|
}[] | undefined>;
|
2207
|
-
createdAtLocation: string;
|
2208
2236
|
annotation?: Record<string, string | number | boolean | {
|
2209
2237
|
type: string;
|
2210
2238
|
filename: string;
|
@@ -2243,6 +2271,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2243
2271
|
filename: string;
|
2244
2272
|
originalFilename: string;
|
2245
2273
|
}[] | undefined> | undefined;
|
2274
|
+
createdAtLocation?: string | undefined;
|
2275
|
+
updatedAtLocation?: string | undefined;
|
2246
2276
|
originalActionId?: string | undefined;
|
2247
2277
|
} | {
|
2248
2278
|
type: "CREATE";
|
@@ -2288,7 +2318,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2288
2318
|
filename: string;
|
2289
2319
|
originalFilename: string;
|
2290
2320
|
}[] | undefined>;
|
2291
|
-
createdAtLocation: string;
|
2292
2321
|
annotation?: Record<string, string | number | boolean | {
|
2293
2322
|
type: string;
|
2294
2323
|
filename: string;
|
@@ -2327,6 +2356,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2327
2356
|
filename: string;
|
2328
2357
|
originalFilename: string;
|
2329
2358
|
}[] | undefined> | undefined;
|
2359
|
+
createdAtLocation?: string | undefined;
|
2360
|
+
updatedAtLocation?: string | undefined;
|
2330
2361
|
originalActionId?: string | undefined;
|
2331
2362
|
} | {
|
2332
2363
|
type: "NOTIFY";
|
@@ -2372,7 +2403,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2372
2403
|
filename: string;
|
2373
2404
|
originalFilename: string;
|
2374
2405
|
}[] | undefined>;
|
2375
|
-
createdAtLocation: string;
|
2376
2406
|
annotation?: Record<string, string | number | boolean | {
|
2377
2407
|
type: string;
|
2378
2408
|
filename: string;
|
@@ -2411,6 +2441,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2411
2441
|
filename: string;
|
2412
2442
|
originalFilename: string;
|
2413
2443
|
}[] | undefined> | undefined;
|
2444
|
+
createdAtLocation?: string | undefined;
|
2445
|
+
updatedAtLocation?: string | undefined;
|
2414
2446
|
originalActionId?: string | undefined;
|
2415
2447
|
} | {
|
2416
2448
|
type: "PRINT_CERTIFICATE";
|
@@ -2456,7 +2488,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2456
2488
|
filename: string;
|
2457
2489
|
originalFilename: string;
|
2458
2490
|
}[] | undefined>;
|
2459
|
-
createdAtLocation: string;
|
2460
2491
|
annotation?: Record<string, string | number | boolean | {
|
2461
2492
|
type: string;
|
2462
2493
|
filename: string;
|
@@ -2495,6 +2526,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2495
2526
|
filename: string;
|
2496
2527
|
originalFilename: string;
|
2497
2528
|
}[] | undefined> | undefined;
|
2529
|
+
createdAtLocation?: string | undefined;
|
2530
|
+
updatedAtLocation?: string | undefined;
|
2498
2531
|
originalActionId?: string | undefined;
|
2499
2532
|
} | {
|
2500
2533
|
type: "REQUEST_CORRECTION";
|
@@ -2540,7 +2573,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2540
2573
|
filename: string;
|
2541
2574
|
originalFilename: string;
|
2542
2575
|
}[] | undefined>;
|
2543
|
-
createdAtLocation: string;
|
2544
2576
|
annotation?: Record<string, string | number | boolean | {
|
2545
2577
|
type: string;
|
2546
2578
|
filename: string;
|
@@ -2579,6 +2611,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2579
2611
|
filename: string;
|
2580
2612
|
originalFilename: string;
|
2581
2613
|
}[] | undefined> | undefined;
|
2614
|
+
createdAtLocation?: string | undefined;
|
2615
|
+
updatedAtLocation?: string | undefined;
|
2582
2616
|
originalActionId?: string | undefined;
|
2583
2617
|
} | {
|
2584
2618
|
type: "APPROVE_CORRECTION";
|
@@ -2624,7 +2658,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2624
2658
|
filename: string;
|
2625
2659
|
originalFilename: string;
|
2626
2660
|
}[] | undefined>;
|
2627
|
-
createdAtLocation: string;
|
2628
2661
|
requestId: string;
|
2629
2662
|
annotation?: Record<string, string | number | boolean | {
|
2630
2663
|
type: string;
|
@@ -2664,6 +2697,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2664
2697
|
filename: string;
|
2665
2698
|
originalFilename: string;
|
2666
2699
|
}[] | undefined> | undefined;
|
2700
|
+
createdAtLocation?: string | undefined;
|
2701
|
+
updatedAtLocation?: string | undefined;
|
2667
2702
|
originalActionId?: string | undefined;
|
2668
2703
|
} | {
|
2669
2704
|
type: "REJECT_CORRECTION";
|
@@ -2709,7 +2744,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2709
2744
|
filename: string;
|
2710
2745
|
originalFilename: string;
|
2711
2746
|
}[] | undefined>;
|
2712
|
-
createdAtLocation: string;
|
2713
2747
|
requestId: string;
|
2714
2748
|
annotation?: Record<string, string | number | boolean | {
|
2715
2749
|
type: string;
|
@@ -2749,6 +2783,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2749
2783
|
filename: string;
|
2750
2784
|
originalFilename: string;
|
2751
2785
|
}[] | undefined> | undefined;
|
2786
|
+
createdAtLocation?: string | undefined;
|
2787
|
+
updatedAtLocation?: string | undefined;
|
2752
2788
|
originalActionId?: string | undefined;
|
2753
2789
|
} | {
|
2754
2790
|
type: "READ";
|
@@ -2794,7 +2830,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2794
2830
|
filename: string;
|
2795
2831
|
originalFilename: string;
|
2796
2832
|
}[] | undefined>;
|
2797
|
-
createdAtLocation: string;
|
2798
2833
|
annotation?: Record<string, string | number | boolean | {
|
2799
2834
|
type: string;
|
2800
2835
|
filename: string;
|
@@ -2833,12 +2868,15 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2833
2868
|
filename: string;
|
2834
2869
|
originalFilename: string;
|
2835
2870
|
}[] | undefined> | undefined;
|
2871
|
+
createdAtLocation?: string | undefined;
|
2872
|
+
updatedAtLocation?: string | undefined;
|
2836
2873
|
originalActionId?: string | undefined;
|
2837
2874
|
} | {
|
2838
2875
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
2839
2876
|
id: string;
|
2840
2877
|
status: "Rejected";
|
2841
2878
|
createdAt: string;
|
2879
|
+
updatedAtLocation?: string | undefined;
|
2842
2880
|
originalActionId?: string | undefined;
|
2843
2881
|
})[];
|
2844
2882
|
trackingId: string;
|
@@ -2867,6 +2905,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2867
2905
|
transactionId: string;
|
2868
2906
|
action: {
|
2869
2907
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
2908
|
+
status: "Rejected" | "Requested" | "Accepted";
|
2870
2909
|
createdAt: string;
|
2871
2910
|
createdBy: string;
|
2872
2911
|
declaration: Record<string, string | number | boolean | {
|
@@ -2907,7 +2946,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2907
2946
|
filename: string;
|
2908
2947
|
originalFilename: string;
|
2909
2948
|
}[] | undefined>;
|
2910
|
-
createdAtLocation: string;
|
2911
2949
|
annotation?: Record<string, string | number | boolean | {
|
2912
2950
|
type: string;
|
2913
2951
|
filename: string;
|
@@ -2946,6 +2984,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2946
2984
|
filename: string;
|
2947
2985
|
originalFilename: string;
|
2948
2986
|
}[] | undefined> | undefined;
|
2987
|
+
createdAtLocation?: string | undefined;
|
2988
|
+
updatedAtLocation?: string | undefined;
|
2949
2989
|
originalActionId?: string | undefined;
|
2950
2990
|
};
|
2951
2991
|
}[];
|
@@ -2953,7 +2993,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2953
2993
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
2954
2994
|
input: {
|
2955
2995
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
2956
|
-
|
2996
|
+
eventId: string;
|
2997
|
+
transactionId: string;
|
2998
|
+
declaration?: Record<string, string | number | boolean | {
|
2957
2999
|
type: string;
|
2958
3000
|
filename: string;
|
2959
3001
|
originalFilename: string;
|
@@ -2990,9 +3032,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
2990
3032
|
option: string;
|
2991
3033
|
filename: string;
|
2992
3034
|
originalFilename: string;
|
2993
|
-
}[] | undefined
|
2994
|
-
eventId: string;
|
2995
|
-
transactionId: string;
|
3035
|
+
}[] | undefined> | undefined;
|
2996
3036
|
annotation?: Record<string, string | number | boolean | {
|
2997
3037
|
type: string;
|
2998
3038
|
filename: string;
|
@@ -3032,6 +3072,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3032
3072
|
originalFilename: string;
|
3033
3073
|
}[] | undefined> | undefined;
|
3034
3074
|
originalActionId?: string | undefined;
|
3075
|
+
keepAssignment?: boolean | undefined;
|
3035
3076
|
};
|
3036
3077
|
output: {
|
3037
3078
|
id: string;
|
@@ -3040,6 +3081,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3040
3081
|
transactionId: string;
|
3041
3082
|
action: {
|
3042
3083
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
3084
|
+
status: "Rejected" | "Requested" | "Accepted";
|
3043
3085
|
createdAt: string;
|
3044
3086
|
createdBy: string;
|
3045
3087
|
declaration: Record<string, string | number | boolean | {
|
@@ -3080,7 +3122,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3080
3122
|
filename: string;
|
3081
3123
|
originalFilename: string;
|
3082
3124
|
}[] | undefined>;
|
3083
|
-
createdAtLocation: string;
|
3084
3125
|
annotation?: Record<string, string | number | boolean | {
|
3085
3126
|
type: string;
|
3086
3127
|
filename: string;
|
@@ -3119,6 +3160,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3119
3160
|
filename: string;
|
3120
3161
|
originalFilename: string;
|
3121
3162
|
}[] | undefined> | undefined;
|
3163
|
+
createdAtLocation?: string | undefined;
|
3164
|
+
updatedAtLocation?: string | undefined;
|
3122
3165
|
originalActionId?: string | undefined;
|
3123
3166
|
};
|
3124
3167
|
};
|
@@ -3305,15 +3348,19 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3305
3348
|
output: import("../commons").EventDocument;
|
3306
3349
|
}>;
|
3307
3350
|
}>>;
|
3308
|
-
|
3351
|
+
assignment: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
3309
3352
|
ctx: import("./middleware").Context;
|
3310
3353
|
meta: object;
|
3311
3354
|
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
3312
3355
|
transformer: true;
|
3313
3356
|
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
3314
|
-
|
3357
|
+
assign: import("@trpc/server").TRPCMutationProcedure<{
|
3315
3358
|
input: {
|
3316
|
-
|
3359
|
+
assignedTo: string;
|
3360
|
+
eventId: string;
|
3361
|
+
transactionId: string;
|
3362
|
+
type?: "ASSIGN" | undefined;
|
3363
|
+
declaration?: Record<string, string | number | boolean | {
|
3317
3364
|
type: string;
|
3318
3365
|
filename: string;
|
3319
3366
|
originalFilename: string;
|
@@ -3350,10 +3397,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3350
3397
|
option: string;
|
3351
3398
|
filename: string;
|
3352
3399
|
originalFilename: string;
|
3353
|
-
}[] | undefined
|
3354
|
-
eventId: string;
|
3355
|
-
transactionId: string;
|
3356
|
-
type?: "REQUEST_CORRECTION" | undefined;
|
3400
|
+
}[] | undefined> | undefined;
|
3357
3401
|
annotation?: Record<string, string | number | boolean | {
|
3358
3402
|
type: string;
|
3359
3403
|
filename: string;
|
@@ -3393,6 +3437,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3393
3437
|
originalFilename: string;
|
3394
3438
|
}[] | undefined> | undefined;
|
3395
3439
|
originalActionId?: string | undefined;
|
3440
|
+
keepAssignment?: boolean | undefined;
|
3396
3441
|
};
|
3397
3442
|
output: {
|
3398
3443
|
type: string;
|
@@ -3443,7 +3488,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3443
3488
|
filename: string;
|
3444
3489
|
originalFilename: string;
|
3445
3490
|
}[] | undefined>;
|
3446
|
-
createdAtLocation: string;
|
3447
3491
|
assignedTo: string;
|
3448
3492
|
annotation?: Record<string, string | number | boolean | {
|
3449
3493
|
type: string;
|
@@ -3483,6 +3527,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3483
3527
|
filename: string;
|
3484
3528
|
originalFilename: string;
|
3485
3529
|
}[] | undefined> | undefined;
|
3530
|
+
createdAtLocation?: string | undefined;
|
3531
|
+
updatedAtLocation?: string | undefined;
|
3486
3532
|
originalActionId?: string | undefined;
|
3487
3533
|
} | {
|
3488
3534
|
type: "UNASSIGN";
|
@@ -3528,7 +3574,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3528
3574
|
filename: string;
|
3529
3575
|
originalFilename: string;
|
3530
3576
|
}[] | undefined>;
|
3531
|
-
|
3577
|
+
assignedTo: null;
|
3532
3578
|
annotation?: Record<string, string | number | boolean | {
|
3533
3579
|
type: string;
|
3534
3580
|
filename: string;
|
@@ -3567,6 +3613,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3567
3613
|
filename: string;
|
3568
3614
|
originalFilename: string;
|
3569
3615
|
}[] | undefined> | undefined;
|
3616
|
+
createdAtLocation?: string | undefined;
|
3617
|
+
updatedAtLocation?: string | undefined;
|
3570
3618
|
originalActionId?: string | undefined;
|
3571
3619
|
} | {
|
3572
3620
|
type: "REGISTER";
|
@@ -3612,7 +3660,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3612
3660
|
filename: string;
|
3613
3661
|
originalFilename: string;
|
3614
3662
|
}[] | undefined>;
|
3615
|
-
createdAtLocation: string;
|
3616
3663
|
annotation?: Record<string, string | number | boolean | {
|
3617
3664
|
type: string;
|
3618
3665
|
filename: string;
|
@@ -3651,6 +3698,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3651
3698
|
filename: string;
|
3652
3699
|
originalFilename: string;
|
3653
3700
|
}[] | undefined> | undefined;
|
3701
|
+
createdAtLocation?: string | undefined;
|
3702
|
+
updatedAtLocation?: string | undefined;
|
3654
3703
|
originalActionId?: string | undefined;
|
3655
3704
|
registrationNumber?: string | undefined;
|
3656
3705
|
} | {
|
@@ -3697,7 +3746,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3697
3746
|
filename: string;
|
3698
3747
|
originalFilename: string;
|
3699
3748
|
}[] | undefined>;
|
3700
|
-
createdAtLocation: string;
|
3701
3749
|
annotation?: Record<string, string | number | boolean | {
|
3702
3750
|
type: string;
|
3703
3751
|
filename: string;
|
@@ -3736,6 +3784,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3736
3784
|
filename: string;
|
3737
3785
|
originalFilename: string;
|
3738
3786
|
}[] | undefined> | undefined;
|
3787
|
+
createdAtLocation?: string | undefined;
|
3788
|
+
updatedAtLocation?: string | undefined;
|
3739
3789
|
originalActionId?: string | undefined;
|
3740
3790
|
} | {
|
3741
3791
|
type: "VALIDATE";
|
@@ -3781,7 +3831,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3781
3831
|
filename: string;
|
3782
3832
|
originalFilename: string;
|
3783
3833
|
}[] | undefined>;
|
3784
|
-
createdAtLocation: string;
|
3785
3834
|
annotation?: Record<string, string | number | boolean | {
|
3786
3835
|
type: string;
|
3787
3836
|
filename: string;
|
@@ -3820,6 +3869,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3820
3869
|
filename: string;
|
3821
3870
|
originalFilename: string;
|
3822
3871
|
}[] | undefined> | undefined;
|
3872
|
+
createdAtLocation?: string | undefined;
|
3873
|
+
updatedAtLocation?: string | undefined;
|
3823
3874
|
originalActionId?: string | undefined;
|
3824
3875
|
} | {
|
3825
3876
|
type: "REJECT";
|
@@ -3865,7 +3916,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3865
3916
|
filename: string;
|
3866
3917
|
originalFilename: string;
|
3867
3918
|
}[] | undefined>;
|
3868
|
-
createdAtLocation: string;
|
3869
3919
|
annotation?: Record<string, string | number | boolean | {
|
3870
3920
|
type: string;
|
3871
3921
|
filename: string;
|
@@ -3904,6 +3954,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3904
3954
|
filename: string;
|
3905
3955
|
originalFilename: string;
|
3906
3956
|
}[] | undefined> | undefined;
|
3957
|
+
createdAtLocation?: string | undefined;
|
3958
|
+
updatedAtLocation?: string | undefined;
|
3907
3959
|
originalActionId?: string | undefined;
|
3908
3960
|
} | {
|
3909
3961
|
type: "MARKED_AS_DUPLICATE";
|
@@ -3949,7 +4001,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3949
4001
|
filename: string;
|
3950
4002
|
originalFilename: string;
|
3951
4003
|
}[] | undefined>;
|
3952
|
-
createdAtLocation: string;
|
3953
4004
|
annotation?: Record<string, string | number | boolean | {
|
3954
4005
|
type: string;
|
3955
4006
|
filename: string;
|
@@ -3988,6 +4039,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
3988
4039
|
filename: string;
|
3989
4040
|
originalFilename: string;
|
3990
4041
|
}[] | undefined> | undefined;
|
4042
|
+
createdAtLocation?: string | undefined;
|
4043
|
+
updatedAtLocation?: string | undefined;
|
3991
4044
|
originalActionId?: string | undefined;
|
3992
4045
|
} | {
|
3993
4046
|
type: "ARCHIVE";
|
@@ -4033,7 +4086,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4033
4086
|
filename: string;
|
4034
4087
|
originalFilename: string;
|
4035
4088
|
}[] | undefined>;
|
4036
|
-
createdAtLocation: string;
|
4037
4089
|
annotation?: Record<string, string | number | boolean | {
|
4038
4090
|
type: string;
|
4039
4091
|
filename: string;
|
@@ -4072,6 +4124,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4072
4124
|
filename: string;
|
4073
4125
|
originalFilename: string;
|
4074
4126
|
}[] | undefined> | undefined;
|
4127
|
+
createdAtLocation?: string | undefined;
|
4128
|
+
updatedAtLocation?: string | undefined;
|
4075
4129
|
originalActionId?: string | undefined;
|
4076
4130
|
} | {
|
4077
4131
|
type: "CREATE";
|
@@ -4117,7 +4171,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4117
4171
|
filename: string;
|
4118
4172
|
originalFilename: string;
|
4119
4173
|
}[] | undefined>;
|
4120
|
-
createdAtLocation: string;
|
4121
4174
|
annotation?: Record<string, string | number | boolean | {
|
4122
4175
|
type: string;
|
4123
4176
|
filename: string;
|
@@ -4156,6 +4209,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4156
4209
|
filename: string;
|
4157
4210
|
originalFilename: string;
|
4158
4211
|
}[] | undefined> | undefined;
|
4212
|
+
createdAtLocation?: string | undefined;
|
4213
|
+
updatedAtLocation?: string | undefined;
|
4159
4214
|
originalActionId?: string | undefined;
|
4160
4215
|
} | {
|
4161
4216
|
type: "NOTIFY";
|
@@ -4201,7 +4256,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4201
4256
|
filename: string;
|
4202
4257
|
originalFilename: string;
|
4203
4258
|
}[] | undefined>;
|
4204
|
-
createdAtLocation: string;
|
4205
4259
|
annotation?: Record<string, string | number | boolean | {
|
4206
4260
|
type: string;
|
4207
4261
|
filename: string;
|
@@ -4240,6 +4294,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4240
4294
|
filename: string;
|
4241
4295
|
originalFilename: string;
|
4242
4296
|
}[] | undefined> | undefined;
|
4297
|
+
createdAtLocation?: string | undefined;
|
4298
|
+
updatedAtLocation?: string | undefined;
|
4243
4299
|
originalActionId?: string | undefined;
|
4244
4300
|
} | {
|
4245
4301
|
type: "PRINT_CERTIFICATE";
|
@@ -4285,7 +4341,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4285
4341
|
filename: string;
|
4286
4342
|
originalFilename: string;
|
4287
4343
|
}[] | undefined>;
|
4288
|
-
createdAtLocation: string;
|
4289
4344
|
annotation?: Record<string, string | number | boolean | {
|
4290
4345
|
type: string;
|
4291
4346
|
filename: string;
|
@@ -4324,6 +4379,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4324
4379
|
filename: string;
|
4325
4380
|
originalFilename: string;
|
4326
4381
|
}[] | undefined> | undefined;
|
4382
|
+
createdAtLocation?: string | undefined;
|
4383
|
+
updatedAtLocation?: string | undefined;
|
4327
4384
|
originalActionId?: string | undefined;
|
4328
4385
|
} | {
|
4329
4386
|
type: "REQUEST_CORRECTION";
|
@@ -4369,7 +4426,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4369
4426
|
filename: string;
|
4370
4427
|
originalFilename: string;
|
4371
4428
|
}[] | undefined>;
|
4372
|
-
createdAtLocation: string;
|
4373
4429
|
annotation?: Record<string, string | number | boolean | {
|
4374
4430
|
type: string;
|
4375
4431
|
filename: string;
|
@@ -4408,6 +4464,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4408
4464
|
filename: string;
|
4409
4465
|
originalFilename: string;
|
4410
4466
|
}[] | undefined> | undefined;
|
4467
|
+
createdAtLocation?: string | undefined;
|
4468
|
+
updatedAtLocation?: string | undefined;
|
4411
4469
|
originalActionId?: string | undefined;
|
4412
4470
|
} | {
|
4413
4471
|
type: "APPROVE_CORRECTION";
|
@@ -4453,7 +4511,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4453
4511
|
filename: string;
|
4454
4512
|
originalFilename: string;
|
4455
4513
|
}[] | undefined>;
|
4456
|
-
createdAtLocation: string;
|
4457
4514
|
requestId: string;
|
4458
4515
|
annotation?: Record<string, string | number | boolean | {
|
4459
4516
|
type: string;
|
@@ -4493,6 +4550,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4493
4550
|
filename: string;
|
4494
4551
|
originalFilename: string;
|
4495
4552
|
}[] | undefined> | undefined;
|
4553
|
+
createdAtLocation?: string | undefined;
|
4554
|
+
updatedAtLocation?: string | undefined;
|
4496
4555
|
originalActionId?: string | undefined;
|
4497
4556
|
} | {
|
4498
4557
|
type: "REJECT_CORRECTION";
|
@@ -4538,7 +4597,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4538
4597
|
filename: string;
|
4539
4598
|
originalFilename: string;
|
4540
4599
|
}[] | undefined>;
|
4541
|
-
createdAtLocation: string;
|
4542
4600
|
requestId: string;
|
4543
4601
|
annotation?: Record<string, string | number | boolean | {
|
4544
4602
|
type: string;
|
@@ -4578,6 +4636,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4578
4636
|
filename: string;
|
4579
4637
|
originalFilename: string;
|
4580
4638
|
}[] | undefined> | undefined;
|
4639
|
+
createdAtLocation?: string | undefined;
|
4640
|
+
updatedAtLocation?: string | undefined;
|
4581
4641
|
originalActionId?: string | undefined;
|
4582
4642
|
} | {
|
4583
4643
|
type: "READ";
|
@@ -4623,7 +4683,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4623
4683
|
filename: string;
|
4624
4684
|
originalFilename: string;
|
4625
4685
|
}[] | undefined>;
|
4626
|
-
createdAtLocation: string;
|
4627
4686
|
annotation?: Record<string, string | number | boolean | {
|
4628
4687
|
type: string;
|
4629
4688
|
filename: string;
|
@@ -4662,20 +4721,26 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4662
4721
|
filename: string;
|
4663
4722
|
originalFilename: string;
|
4664
4723
|
}[] | undefined> | undefined;
|
4724
|
+
createdAtLocation?: string | undefined;
|
4725
|
+
updatedAtLocation?: string | undefined;
|
4665
4726
|
originalActionId?: string | undefined;
|
4666
4727
|
} | {
|
4667
4728
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
4668
4729
|
id: string;
|
4669
4730
|
status: "Rejected";
|
4670
4731
|
createdAt: string;
|
4732
|
+
updatedAtLocation?: string | undefined;
|
4671
4733
|
originalActionId?: string | undefined;
|
4672
4734
|
})[];
|
4673
4735
|
trackingId: string;
|
4674
4736
|
};
|
4675
4737
|
}>;
|
4676
|
-
|
4738
|
+
unassign: import("@trpc/server").TRPCMutationProcedure<{
|
4677
4739
|
input: {
|
4678
|
-
|
4740
|
+
eventId: string;
|
4741
|
+
transactionId: string;
|
4742
|
+
type?: "UNASSIGN" | undefined;
|
4743
|
+
declaration?: Record<string, string | number | boolean | {
|
4679
4744
|
type: string;
|
4680
4745
|
filename: string;
|
4681
4746
|
originalFilename: string;
|
@@ -4712,11 +4777,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4712
4777
|
option: string;
|
4713
4778
|
filename: string;
|
4714
4779
|
originalFilename: string;
|
4715
|
-
}[] | undefined
|
4716
|
-
requestId: string;
|
4717
|
-
eventId: string;
|
4718
|
-
transactionId: string;
|
4719
|
-
type?: "APPROVE_CORRECTION" | undefined;
|
4780
|
+
}[] | undefined> | undefined;
|
4720
4781
|
annotation?: Record<string, string | number | boolean | {
|
4721
4782
|
type: string;
|
4722
4783
|
filename: string;
|
@@ -4756,6 +4817,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4756
4817
|
originalFilename: string;
|
4757
4818
|
}[] | undefined> | undefined;
|
4758
4819
|
originalActionId?: string | undefined;
|
4820
|
+
assignedTo?: null | undefined;
|
4821
|
+
keepAssignment?: boolean | undefined;
|
4759
4822
|
};
|
4760
4823
|
output: {
|
4761
4824
|
type: string;
|
@@ -4806,7 +4869,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4806
4869
|
filename: string;
|
4807
4870
|
originalFilename: string;
|
4808
4871
|
}[] | undefined>;
|
4809
|
-
createdAtLocation: string;
|
4810
4872
|
assignedTo: string;
|
4811
4873
|
annotation?: Record<string, string | number | boolean | {
|
4812
4874
|
type: string;
|
@@ -4846,6 +4908,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4846
4908
|
filename: string;
|
4847
4909
|
originalFilename: string;
|
4848
4910
|
}[] | undefined> | undefined;
|
4911
|
+
createdAtLocation?: string | undefined;
|
4912
|
+
updatedAtLocation?: string | undefined;
|
4849
4913
|
originalActionId?: string | undefined;
|
4850
4914
|
} | {
|
4851
4915
|
type: "UNASSIGN";
|
@@ -4891,7 +4955,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4891
4955
|
filename: string;
|
4892
4956
|
originalFilename: string;
|
4893
4957
|
}[] | undefined>;
|
4894
|
-
|
4958
|
+
assignedTo: null;
|
4895
4959
|
annotation?: Record<string, string | number | boolean | {
|
4896
4960
|
type: string;
|
4897
4961
|
filename: string;
|
@@ -4930,6 +4994,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4930
4994
|
filename: string;
|
4931
4995
|
originalFilename: string;
|
4932
4996
|
}[] | undefined> | undefined;
|
4997
|
+
createdAtLocation?: string | undefined;
|
4998
|
+
updatedAtLocation?: string | undefined;
|
4933
4999
|
originalActionId?: string | undefined;
|
4934
5000
|
} | {
|
4935
5001
|
type: "REGISTER";
|
@@ -4975,7 +5041,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
4975
5041
|
filename: string;
|
4976
5042
|
originalFilename: string;
|
4977
5043
|
}[] | undefined>;
|
4978
|
-
createdAtLocation: string;
|
4979
5044
|
annotation?: Record<string, string | number | boolean | {
|
4980
5045
|
type: string;
|
4981
5046
|
filename: string;
|
@@ -5014,6 +5079,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5014
5079
|
filename: string;
|
5015
5080
|
originalFilename: string;
|
5016
5081
|
}[] | undefined> | undefined;
|
5082
|
+
createdAtLocation?: string | undefined;
|
5083
|
+
updatedAtLocation?: string | undefined;
|
5017
5084
|
originalActionId?: string | undefined;
|
5018
5085
|
registrationNumber?: string | undefined;
|
5019
5086
|
} | {
|
@@ -5060,7 +5127,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5060
5127
|
filename: string;
|
5061
5128
|
originalFilename: string;
|
5062
5129
|
}[] | undefined>;
|
5063
|
-
createdAtLocation: string;
|
5064
5130
|
annotation?: Record<string, string | number | boolean | {
|
5065
5131
|
type: string;
|
5066
5132
|
filename: string;
|
@@ -5099,6 +5165,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5099
5165
|
filename: string;
|
5100
5166
|
originalFilename: string;
|
5101
5167
|
}[] | undefined> | undefined;
|
5168
|
+
createdAtLocation?: string | undefined;
|
5169
|
+
updatedAtLocation?: string | undefined;
|
5102
5170
|
originalActionId?: string | undefined;
|
5103
5171
|
} | {
|
5104
5172
|
type: "VALIDATE";
|
@@ -5144,7 +5212,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5144
5212
|
filename: string;
|
5145
5213
|
originalFilename: string;
|
5146
5214
|
}[] | undefined>;
|
5147
|
-
createdAtLocation: string;
|
5148
5215
|
annotation?: Record<string, string | number | boolean | {
|
5149
5216
|
type: string;
|
5150
5217
|
filename: string;
|
@@ -5183,6 +5250,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5183
5250
|
filename: string;
|
5184
5251
|
originalFilename: string;
|
5185
5252
|
}[] | undefined> | undefined;
|
5253
|
+
createdAtLocation?: string | undefined;
|
5254
|
+
updatedAtLocation?: string | undefined;
|
5186
5255
|
originalActionId?: string | undefined;
|
5187
5256
|
} | {
|
5188
5257
|
type: "REJECT";
|
@@ -5228,7 +5297,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5228
5297
|
filename: string;
|
5229
5298
|
originalFilename: string;
|
5230
5299
|
}[] | undefined>;
|
5231
|
-
createdAtLocation: string;
|
5232
5300
|
annotation?: Record<string, string | number | boolean | {
|
5233
5301
|
type: string;
|
5234
5302
|
filename: string;
|
@@ -5267,6 +5335,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5267
5335
|
filename: string;
|
5268
5336
|
originalFilename: string;
|
5269
5337
|
}[] | undefined> | undefined;
|
5338
|
+
createdAtLocation?: string | undefined;
|
5339
|
+
updatedAtLocation?: string | undefined;
|
5270
5340
|
originalActionId?: string | undefined;
|
5271
5341
|
} | {
|
5272
5342
|
type: "MARKED_AS_DUPLICATE";
|
@@ -5312,7 +5382,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5312
5382
|
filename: string;
|
5313
5383
|
originalFilename: string;
|
5314
5384
|
}[] | undefined>;
|
5315
|
-
createdAtLocation: string;
|
5316
5385
|
annotation?: Record<string, string | number | boolean | {
|
5317
5386
|
type: string;
|
5318
5387
|
filename: string;
|
@@ -5351,6 +5420,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5351
5420
|
filename: string;
|
5352
5421
|
originalFilename: string;
|
5353
5422
|
}[] | undefined> | undefined;
|
5423
|
+
createdAtLocation?: string | undefined;
|
5424
|
+
updatedAtLocation?: string | undefined;
|
5354
5425
|
originalActionId?: string | undefined;
|
5355
5426
|
} | {
|
5356
5427
|
type: "ARCHIVE";
|
@@ -5396,7 +5467,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5396
5467
|
filename: string;
|
5397
5468
|
originalFilename: string;
|
5398
5469
|
}[] | undefined>;
|
5399
|
-
createdAtLocation: string;
|
5400
5470
|
annotation?: Record<string, string | number | boolean | {
|
5401
5471
|
type: string;
|
5402
5472
|
filename: string;
|
@@ -5435,6 +5505,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5435
5505
|
filename: string;
|
5436
5506
|
originalFilename: string;
|
5437
5507
|
}[] | undefined> | undefined;
|
5508
|
+
createdAtLocation?: string | undefined;
|
5509
|
+
updatedAtLocation?: string | undefined;
|
5438
5510
|
originalActionId?: string | undefined;
|
5439
5511
|
} | {
|
5440
5512
|
type: "CREATE";
|
@@ -5480,7 +5552,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5480
5552
|
filename: string;
|
5481
5553
|
originalFilename: string;
|
5482
5554
|
}[] | undefined>;
|
5483
|
-
createdAtLocation: string;
|
5484
5555
|
annotation?: Record<string, string | number | boolean | {
|
5485
5556
|
type: string;
|
5486
5557
|
filename: string;
|
@@ -5519,6 +5590,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5519
5590
|
filename: string;
|
5520
5591
|
originalFilename: string;
|
5521
5592
|
}[] | undefined> | undefined;
|
5593
|
+
createdAtLocation?: string | undefined;
|
5594
|
+
updatedAtLocation?: string | undefined;
|
5522
5595
|
originalActionId?: string | undefined;
|
5523
5596
|
} | {
|
5524
5597
|
type: "NOTIFY";
|
@@ -5564,7 +5637,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5564
5637
|
filename: string;
|
5565
5638
|
originalFilename: string;
|
5566
5639
|
}[] | undefined>;
|
5567
|
-
createdAtLocation: string;
|
5568
5640
|
annotation?: Record<string, string | number | boolean | {
|
5569
5641
|
type: string;
|
5570
5642
|
filename: string;
|
@@ -5603,6 +5675,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5603
5675
|
filename: string;
|
5604
5676
|
originalFilename: string;
|
5605
5677
|
}[] | undefined> | undefined;
|
5678
|
+
createdAtLocation?: string | undefined;
|
5679
|
+
updatedAtLocation?: string | undefined;
|
5606
5680
|
originalActionId?: string | undefined;
|
5607
5681
|
} | {
|
5608
5682
|
type: "PRINT_CERTIFICATE";
|
@@ -5648,7 +5722,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5648
5722
|
filename: string;
|
5649
5723
|
originalFilename: string;
|
5650
5724
|
}[] | undefined>;
|
5651
|
-
createdAtLocation: string;
|
5652
5725
|
annotation?: Record<string, string | number | boolean | {
|
5653
5726
|
type: string;
|
5654
5727
|
filename: string;
|
@@ -5687,6 +5760,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5687
5760
|
filename: string;
|
5688
5761
|
originalFilename: string;
|
5689
5762
|
}[] | undefined> | undefined;
|
5763
|
+
createdAtLocation?: string | undefined;
|
5764
|
+
updatedAtLocation?: string | undefined;
|
5690
5765
|
originalActionId?: string | undefined;
|
5691
5766
|
} | {
|
5692
5767
|
type: "REQUEST_CORRECTION";
|
@@ -5732,7 +5807,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5732
5807
|
filename: string;
|
5733
5808
|
originalFilename: string;
|
5734
5809
|
}[] | undefined>;
|
5735
|
-
createdAtLocation: string;
|
5736
5810
|
annotation?: Record<string, string | number | boolean | {
|
5737
5811
|
type: string;
|
5738
5812
|
filename: string;
|
@@ -5771,6 +5845,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5771
5845
|
filename: string;
|
5772
5846
|
originalFilename: string;
|
5773
5847
|
}[] | undefined> | undefined;
|
5848
|
+
createdAtLocation?: string | undefined;
|
5849
|
+
updatedAtLocation?: string | undefined;
|
5774
5850
|
originalActionId?: string | undefined;
|
5775
5851
|
} | {
|
5776
5852
|
type: "APPROVE_CORRECTION";
|
@@ -5816,7 +5892,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5816
5892
|
filename: string;
|
5817
5893
|
originalFilename: string;
|
5818
5894
|
}[] | undefined>;
|
5819
|
-
createdAtLocation: string;
|
5820
5895
|
requestId: string;
|
5821
5896
|
annotation?: Record<string, string | number | boolean | {
|
5822
5897
|
type: string;
|
@@ -5856,6 +5931,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5856
5931
|
filename: string;
|
5857
5932
|
originalFilename: string;
|
5858
5933
|
}[] | undefined> | undefined;
|
5934
|
+
createdAtLocation?: string | undefined;
|
5935
|
+
updatedAtLocation?: string | undefined;
|
5859
5936
|
originalActionId?: string | undefined;
|
5860
5937
|
} | {
|
5861
5938
|
type: "REJECT_CORRECTION";
|
@@ -5901,7 +5978,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5901
5978
|
filename: string;
|
5902
5979
|
originalFilename: string;
|
5903
5980
|
}[] | undefined>;
|
5904
|
-
createdAtLocation: string;
|
5905
5981
|
requestId: string;
|
5906
5982
|
annotation?: Record<string, string | number | boolean | {
|
5907
5983
|
type: string;
|
@@ -5941,6 +6017,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5941
6017
|
filename: string;
|
5942
6018
|
originalFilename: string;
|
5943
6019
|
}[] | undefined> | undefined;
|
6020
|
+
createdAtLocation?: string | undefined;
|
6021
|
+
updatedAtLocation?: string | undefined;
|
5944
6022
|
originalActionId?: string | undefined;
|
5945
6023
|
} | {
|
5946
6024
|
type: "READ";
|
@@ -5986,7 +6064,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
5986
6064
|
filename: string;
|
5987
6065
|
originalFilename: string;
|
5988
6066
|
}[] | undefined>;
|
5989
|
-
createdAtLocation: string;
|
5990
6067
|
annotation?: Record<string, string | number | boolean | {
|
5991
6068
|
type: string;
|
5992
6069
|
filename: string;
|
@@ -6025,20 +6102,33 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6025
6102
|
filename: string;
|
6026
6103
|
originalFilename: string;
|
6027
6104
|
}[] | undefined> | undefined;
|
6105
|
+
createdAtLocation?: string | undefined;
|
6106
|
+
updatedAtLocation?: string | undefined;
|
6028
6107
|
originalActionId?: string | undefined;
|
6029
6108
|
} | {
|
6030
6109
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6031
6110
|
id: string;
|
6032
6111
|
status: "Rejected";
|
6033
6112
|
createdAt: string;
|
6113
|
+
updatedAtLocation?: string | undefined;
|
6034
6114
|
originalActionId?: string | undefined;
|
6035
6115
|
})[];
|
6036
6116
|
trackingId: string;
|
6037
6117
|
};
|
6038
6118
|
}>;
|
6039
|
-
|
6119
|
+
}>>;
|
6120
|
+
correction: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
6121
|
+
ctx: import("./middleware").Context;
|
6122
|
+
meta: object;
|
6123
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
6124
|
+
transformer: true;
|
6125
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
6126
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
6040
6127
|
input: {
|
6041
|
-
|
6128
|
+
eventId: string;
|
6129
|
+
transactionId: string;
|
6130
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
6131
|
+
declaration?: Record<string, string | number | boolean | {
|
6042
6132
|
type: string;
|
6043
6133
|
filename: string;
|
6044
6134
|
originalFilename: string;
|
@@ -6075,11 +6165,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6075
6165
|
option: string;
|
6076
6166
|
filename: string;
|
6077
6167
|
originalFilename: string;
|
6078
|
-
}[] | undefined
|
6079
|
-
requestId: string;
|
6080
|
-
eventId: string;
|
6081
|
-
transactionId: string;
|
6082
|
-
type?: "REJECT_CORRECTION" | undefined;
|
6168
|
+
}[] | undefined> | undefined;
|
6083
6169
|
annotation?: Record<string, string | number | boolean | {
|
6084
6170
|
type: string;
|
6085
6171
|
filename: string;
|
@@ -6119,6 +6205,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6119
6205
|
originalFilename: string;
|
6120
6206
|
}[] | undefined> | undefined;
|
6121
6207
|
originalActionId?: string | undefined;
|
6208
|
+
keepAssignment?: boolean | undefined;
|
6122
6209
|
};
|
6123
6210
|
output: {
|
6124
6211
|
type: string;
|
@@ -6169,7 +6256,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6169
6256
|
filename: string;
|
6170
6257
|
originalFilename: string;
|
6171
6258
|
}[] | undefined>;
|
6172
|
-
createdAtLocation: string;
|
6173
6259
|
assignedTo: string;
|
6174
6260
|
annotation?: Record<string, string | number | boolean | {
|
6175
6261
|
type: string;
|
@@ -6209,6 +6295,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6209
6295
|
filename: string;
|
6210
6296
|
originalFilename: string;
|
6211
6297
|
}[] | undefined> | undefined;
|
6298
|
+
createdAtLocation?: string | undefined;
|
6299
|
+
updatedAtLocation?: string | undefined;
|
6212
6300
|
originalActionId?: string | undefined;
|
6213
6301
|
} | {
|
6214
6302
|
type: "UNASSIGN";
|
@@ -6254,7 +6342,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6254
6342
|
filename: string;
|
6255
6343
|
originalFilename: string;
|
6256
6344
|
}[] | undefined>;
|
6257
|
-
|
6345
|
+
assignedTo: null;
|
6258
6346
|
annotation?: Record<string, string | number | boolean | {
|
6259
6347
|
type: string;
|
6260
6348
|
filename: string;
|
@@ -6293,6 +6381,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6293
6381
|
filename: string;
|
6294
6382
|
originalFilename: string;
|
6295
6383
|
}[] | undefined> | undefined;
|
6384
|
+
createdAtLocation?: string | undefined;
|
6385
|
+
updatedAtLocation?: string | undefined;
|
6296
6386
|
originalActionId?: string | undefined;
|
6297
6387
|
} | {
|
6298
6388
|
type: "REGISTER";
|
@@ -6338,7 +6428,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6338
6428
|
filename: string;
|
6339
6429
|
originalFilename: string;
|
6340
6430
|
}[] | undefined>;
|
6341
|
-
createdAtLocation: string;
|
6342
6431
|
annotation?: Record<string, string | number | boolean | {
|
6343
6432
|
type: string;
|
6344
6433
|
filename: string;
|
@@ -6377,6 +6466,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6377
6466
|
filename: string;
|
6378
6467
|
originalFilename: string;
|
6379
6468
|
}[] | undefined> | undefined;
|
6469
|
+
createdAtLocation?: string | undefined;
|
6470
|
+
updatedAtLocation?: string | undefined;
|
6380
6471
|
originalActionId?: string | undefined;
|
6381
6472
|
registrationNumber?: string | undefined;
|
6382
6473
|
} | {
|
@@ -6423,7 +6514,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6423
6514
|
filename: string;
|
6424
6515
|
originalFilename: string;
|
6425
6516
|
}[] | undefined>;
|
6426
|
-
createdAtLocation: string;
|
6427
6517
|
annotation?: Record<string, string | number | boolean | {
|
6428
6518
|
type: string;
|
6429
6519
|
filename: string;
|
@@ -6462,6 +6552,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6462
6552
|
filename: string;
|
6463
6553
|
originalFilename: string;
|
6464
6554
|
}[] | undefined> | undefined;
|
6555
|
+
createdAtLocation?: string | undefined;
|
6556
|
+
updatedAtLocation?: string | undefined;
|
6465
6557
|
originalActionId?: string | undefined;
|
6466
6558
|
} | {
|
6467
6559
|
type: "VALIDATE";
|
@@ -6507,7 +6599,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6507
6599
|
filename: string;
|
6508
6600
|
originalFilename: string;
|
6509
6601
|
}[] | undefined>;
|
6510
|
-
createdAtLocation: string;
|
6511
6602
|
annotation?: Record<string, string | number | boolean | {
|
6512
6603
|
type: string;
|
6513
6604
|
filename: string;
|
@@ -6546,6 +6637,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6546
6637
|
filename: string;
|
6547
6638
|
originalFilename: string;
|
6548
6639
|
}[] | undefined> | undefined;
|
6640
|
+
createdAtLocation?: string | undefined;
|
6641
|
+
updatedAtLocation?: string | undefined;
|
6549
6642
|
originalActionId?: string | undefined;
|
6550
6643
|
} | {
|
6551
6644
|
type: "REJECT";
|
@@ -6591,7 +6684,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6591
6684
|
filename: string;
|
6592
6685
|
originalFilename: string;
|
6593
6686
|
}[] | undefined>;
|
6594
|
-
createdAtLocation: string;
|
6595
6687
|
annotation?: Record<string, string | number | boolean | {
|
6596
6688
|
type: string;
|
6597
6689
|
filename: string;
|
@@ -6630,6 +6722,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6630
6722
|
filename: string;
|
6631
6723
|
originalFilename: string;
|
6632
6724
|
}[] | undefined> | undefined;
|
6725
|
+
createdAtLocation?: string | undefined;
|
6726
|
+
updatedAtLocation?: string | undefined;
|
6633
6727
|
originalActionId?: string | undefined;
|
6634
6728
|
} | {
|
6635
6729
|
type: "MARKED_AS_DUPLICATE";
|
@@ -6675,7 +6769,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6675
6769
|
filename: string;
|
6676
6770
|
originalFilename: string;
|
6677
6771
|
}[] | undefined>;
|
6678
|
-
createdAtLocation: string;
|
6679
6772
|
annotation?: Record<string, string | number | boolean | {
|
6680
6773
|
type: string;
|
6681
6774
|
filename: string;
|
@@ -6714,6 +6807,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6714
6807
|
filename: string;
|
6715
6808
|
originalFilename: string;
|
6716
6809
|
}[] | undefined> | undefined;
|
6810
|
+
createdAtLocation?: string | undefined;
|
6811
|
+
updatedAtLocation?: string | undefined;
|
6717
6812
|
originalActionId?: string | undefined;
|
6718
6813
|
} | {
|
6719
6814
|
type: "ARCHIVE";
|
@@ -6759,7 +6854,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6759
6854
|
filename: string;
|
6760
6855
|
originalFilename: string;
|
6761
6856
|
}[] | undefined>;
|
6762
|
-
createdAtLocation: string;
|
6763
6857
|
annotation?: Record<string, string | number | boolean | {
|
6764
6858
|
type: string;
|
6765
6859
|
filename: string;
|
@@ -6798,6 +6892,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6798
6892
|
filename: string;
|
6799
6893
|
originalFilename: string;
|
6800
6894
|
}[] | undefined> | undefined;
|
6895
|
+
createdAtLocation?: string | undefined;
|
6896
|
+
updatedAtLocation?: string | undefined;
|
6801
6897
|
originalActionId?: string | undefined;
|
6802
6898
|
} | {
|
6803
6899
|
type: "CREATE";
|
@@ -6843,7 +6939,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6843
6939
|
filename: string;
|
6844
6940
|
originalFilename: string;
|
6845
6941
|
}[] | undefined>;
|
6846
|
-
createdAtLocation: string;
|
6847
6942
|
annotation?: Record<string, string | number | boolean | {
|
6848
6943
|
type: string;
|
6849
6944
|
filename: string;
|
@@ -6882,6 +6977,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6882
6977
|
filename: string;
|
6883
6978
|
originalFilename: string;
|
6884
6979
|
}[] | undefined> | undefined;
|
6980
|
+
createdAtLocation?: string | undefined;
|
6981
|
+
updatedAtLocation?: string | undefined;
|
6885
6982
|
originalActionId?: string | undefined;
|
6886
6983
|
} | {
|
6887
6984
|
type: "NOTIFY";
|
@@ -6927,7 +7024,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6927
7024
|
filename: string;
|
6928
7025
|
originalFilename: string;
|
6929
7026
|
}[] | undefined>;
|
6930
|
-
createdAtLocation: string;
|
6931
7027
|
annotation?: Record<string, string | number | boolean | {
|
6932
7028
|
type: string;
|
6933
7029
|
filename: string;
|
@@ -6966,6 +7062,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
6966
7062
|
filename: string;
|
6967
7063
|
originalFilename: string;
|
6968
7064
|
}[] | undefined> | undefined;
|
7065
|
+
createdAtLocation?: string | undefined;
|
7066
|
+
updatedAtLocation?: string | undefined;
|
6969
7067
|
originalActionId?: string | undefined;
|
6970
7068
|
} | {
|
6971
7069
|
type: "PRINT_CERTIFICATE";
|
@@ -7011,7 +7109,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7011
7109
|
filename: string;
|
7012
7110
|
originalFilename: string;
|
7013
7111
|
}[] | undefined>;
|
7014
|
-
createdAtLocation: string;
|
7015
7112
|
annotation?: Record<string, string | number | boolean | {
|
7016
7113
|
type: string;
|
7017
7114
|
filename: string;
|
@@ -7050,6 +7147,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7050
7147
|
filename: string;
|
7051
7148
|
originalFilename: string;
|
7052
7149
|
}[] | undefined> | undefined;
|
7150
|
+
createdAtLocation?: string | undefined;
|
7151
|
+
updatedAtLocation?: string | undefined;
|
7053
7152
|
originalActionId?: string | undefined;
|
7054
7153
|
} | {
|
7055
7154
|
type: "REQUEST_CORRECTION";
|
@@ -7095,7 +7194,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7095
7194
|
filename: string;
|
7096
7195
|
originalFilename: string;
|
7097
7196
|
}[] | undefined>;
|
7098
|
-
createdAtLocation: string;
|
7099
7197
|
annotation?: Record<string, string | number | boolean | {
|
7100
7198
|
type: string;
|
7101
7199
|
filename: string;
|
@@ -7134,6 +7232,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7134
7232
|
filename: string;
|
7135
7233
|
originalFilename: string;
|
7136
7234
|
}[] | undefined> | undefined;
|
7235
|
+
createdAtLocation?: string | undefined;
|
7236
|
+
updatedAtLocation?: string | undefined;
|
7137
7237
|
originalActionId?: string | undefined;
|
7138
7238
|
} | {
|
7139
7239
|
type: "APPROVE_CORRECTION";
|
@@ -7179,7 +7279,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7179
7279
|
filename: string;
|
7180
7280
|
originalFilename: string;
|
7181
7281
|
}[] | undefined>;
|
7182
|
-
createdAtLocation: string;
|
7183
7282
|
requestId: string;
|
7184
7283
|
annotation?: Record<string, string | number | boolean | {
|
7185
7284
|
type: string;
|
@@ -7219,6 +7318,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7219
7318
|
filename: string;
|
7220
7319
|
originalFilename: string;
|
7221
7320
|
}[] | undefined> | undefined;
|
7321
|
+
createdAtLocation?: string | undefined;
|
7322
|
+
updatedAtLocation?: string | undefined;
|
7222
7323
|
originalActionId?: string | undefined;
|
7223
7324
|
} | {
|
7224
7325
|
type: "REJECT_CORRECTION";
|
@@ -7264,7 +7365,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7264
7365
|
filename: string;
|
7265
7366
|
originalFilename: string;
|
7266
7367
|
}[] | undefined>;
|
7267
|
-
createdAtLocation: string;
|
7268
7368
|
requestId: string;
|
7269
7369
|
annotation?: Record<string, string | number | boolean | {
|
7270
7370
|
type: string;
|
@@ -7304,6 +7404,8 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7304
7404
|
filename: string;
|
7305
7405
|
originalFilename: string;
|
7306
7406
|
}[] | undefined> | undefined;
|
7407
|
+
createdAtLocation?: string | undefined;
|
7408
|
+
updatedAtLocation?: string | undefined;
|
7307
7409
|
originalActionId?: string | undefined;
|
7308
7410
|
} | {
|
7309
7411
|
type: "READ";
|
@@ -7349,7 +7451,6 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7349
7451
|
filename: string;
|
7350
7452
|
originalFilename: string;
|
7351
7453
|
}[] | undefined>;
|
7352
|
-
createdAtLocation: string;
|
7353
7454
|
annotation?: Record<string, string | number | boolean | {
|
7354
7455
|
type: string;
|
7355
7456
|
filename: string;
|
@@ -7388,62 +7489,2962 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
|
|
7388
7489
|
filename: string;
|
7389
7490
|
originalFilename: string;
|
7390
7491
|
}[] | undefined> | undefined;
|
7492
|
+
createdAtLocation?: string | undefined;
|
7493
|
+
updatedAtLocation?: string | undefined;
|
7391
7494
|
originalActionId?: string | undefined;
|
7392
7495
|
} | {
|
7393
7496
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7394
7497
|
id: string;
|
7395
7498
|
status: "Rejected";
|
7396
7499
|
createdAt: string;
|
7500
|
+
updatedAtLocation?: string | undefined;
|
7397
7501
|
originalActionId?: string | undefined;
|
7398
7502
|
})[];
|
7399
7503
|
trackingId: string;
|
7400
7504
|
};
|
7401
7505
|
}>;
|
7402
|
-
|
7403
|
-
|
7404
|
-
|
7405
|
-
|
7406
|
-
|
7407
|
-
|
7408
|
-
|
7409
|
-
|
7410
|
-
|
7411
|
-
|
7412
|
-
|
7413
|
-
|
7414
|
-
|
7415
|
-
|
7416
|
-
|
7417
|
-
|
7418
|
-
|
7419
|
-
|
7420
|
-
|
7421
|
-
|
7422
|
-
|
7423
|
-
|
7424
|
-
|
7425
|
-
|
7426
|
-
|
7427
|
-
|
7428
|
-
|
7429
|
-
|
7430
|
-
|
7431
|
-
|
7432
|
-
|
7433
|
-
|
7434
|
-
|
7435
|
-
|
7436
|
-
|
7437
|
-
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
|
7444
|
-
|
7445
|
-
|
7446
|
-
|
7506
|
+
approve: import("@trpc/server").TRPCMutationProcedure<{
|
7507
|
+
input: {
|
7508
|
+
requestId: string;
|
7509
|
+
eventId: string;
|
7510
|
+
transactionId: string;
|
7511
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
7512
|
+
declaration?: Record<string, string | number | boolean | {
|
7513
|
+
type: string;
|
7514
|
+
filename: string;
|
7515
|
+
originalFilename: string;
|
7516
|
+
} | {
|
7517
|
+
country: string;
|
7518
|
+
district: string;
|
7519
|
+
addressType: "DOMESTIC";
|
7520
|
+
province: string;
|
7521
|
+
urbanOrRural: "URBAN";
|
7522
|
+
number?: string | null | undefined;
|
7523
|
+
town?: string | null | undefined;
|
7524
|
+
residentialArea?: string | null | undefined;
|
7525
|
+
street?: string | null | undefined;
|
7526
|
+
zipCode?: string | null | undefined;
|
7527
|
+
} | {
|
7528
|
+
country: string;
|
7529
|
+
district: string;
|
7530
|
+
addressType: "DOMESTIC";
|
7531
|
+
province: string;
|
7532
|
+
urbanOrRural: "RURAL";
|
7533
|
+
village?: string | null | undefined;
|
7534
|
+
} | {
|
7535
|
+
country: string;
|
7536
|
+
state: string;
|
7537
|
+
addressType: "INTERNATIONAL";
|
7538
|
+
district2: string;
|
7539
|
+
cityOrTown?: string | null | undefined;
|
7540
|
+
addressLine1?: string | null | undefined;
|
7541
|
+
addressLine2?: string | null | undefined;
|
7542
|
+
addressLine3?: string | null | undefined;
|
7543
|
+
postcodeOrZip?: string | null | undefined;
|
7544
|
+
} | {
|
7545
|
+
type: string;
|
7546
|
+
option: string;
|
7547
|
+
filename: string;
|
7548
|
+
originalFilename: string;
|
7549
|
+
}[] | undefined> | undefined;
|
7550
|
+
annotation?: Record<string, string | number | boolean | {
|
7551
|
+
type: string;
|
7552
|
+
filename: string;
|
7553
|
+
originalFilename: string;
|
7554
|
+
} | {
|
7555
|
+
country: string;
|
7556
|
+
district: string;
|
7557
|
+
addressType: "DOMESTIC";
|
7558
|
+
province: string;
|
7559
|
+
urbanOrRural: "URBAN";
|
7560
|
+
number?: string | null | undefined;
|
7561
|
+
town?: string | null | undefined;
|
7562
|
+
residentialArea?: string | null | undefined;
|
7563
|
+
street?: string | null | undefined;
|
7564
|
+
zipCode?: string | null | undefined;
|
7565
|
+
} | {
|
7566
|
+
country: string;
|
7567
|
+
district: string;
|
7568
|
+
addressType: "DOMESTIC";
|
7569
|
+
province: string;
|
7570
|
+
urbanOrRural: "RURAL";
|
7571
|
+
village?: string | null | undefined;
|
7572
|
+
} | {
|
7573
|
+
country: string;
|
7574
|
+
state: string;
|
7575
|
+
addressType: "INTERNATIONAL";
|
7576
|
+
district2: string;
|
7577
|
+
cityOrTown?: string | null | undefined;
|
7578
|
+
addressLine1?: string | null | undefined;
|
7579
|
+
addressLine2?: string | null | undefined;
|
7580
|
+
addressLine3?: string | null | undefined;
|
7581
|
+
postcodeOrZip?: string | null | undefined;
|
7582
|
+
} | {
|
7583
|
+
type: string;
|
7584
|
+
option: string;
|
7585
|
+
filename: string;
|
7586
|
+
originalFilename: string;
|
7587
|
+
}[] | undefined> | undefined;
|
7588
|
+
originalActionId?: string | undefined;
|
7589
|
+
keepAssignment?: boolean | undefined;
|
7590
|
+
};
|
7591
|
+
output: {
|
7592
|
+
type: string;
|
7593
|
+
id: string;
|
7594
|
+
createdAt: string;
|
7595
|
+
updatedAt: string;
|
7596
|
+
actions: ({
|
7597
|
+
type: "ASSIGN";
|
7598
|
+
id: string;
|
7599
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7600
|
+
createdAt: string;
|
7601
|
+
createdBy: string;
|
7602
|
+
declaration: Record<string, string | number | boolean | {
|
7603
|
+
type: string;
|
7604
|
+
filename: string;
|
7605
|
+
originalFilename: string;
|
7606
|
+
} | {
|
7607
|
+
country: string;
|
7608
|
+
district: string;
|
7609
|
+
addressType: "DOMESTIC";
|
7610
|
+
province: string;
|
7611
|
+
urbanOrRural: "URBAN";
|
7612
|
+
number?: string | null | undefined;
|
7613
|
+
town?: string | null | undefined;
|
7614
|
+
residentialArea?: string | null | undefined;
|
7615
|
+
street?: string | null | undefined;
|
7616
|
+
zipCode?: string | null | undefined;
|
7617
|
+
} | {
|
7618
|
+
country: string;
|
7619
|
+
district: string;
|
7620
|
+
addressType: "DOMESTIC";
|
7621
|
+
province: string;
|
7622
|
+
urbanOrRural: "RURAL";
|
7623
|
+
village?: string | null | undefined;
|
7624
|
+
} | {
|
7625
|
+
country: string;
|
7626
|
+
state: string;
|
7627
|
+
addressType: "INTERNATIONAL";
|
7628
|
+
district2: string;
|
7629
|
+
cityOrTown?: string | null | undefined;
|
7630
|
+
addressLine1?: string | null | undefined;
|
7631
|
+
addressLine2?: string | null | undefined;
|
7632
|
+
addressLine3?: string | null | undefined;
|
7633
|
+
postcodeOrZip?: string | null | undefined;
|
7634
|
+
} | {
|
7635
|
+
type: string;
|
7636
|
+
option: string;
|
7637
|
+
filename: string;
|
7638
|
+
originalFilename: string;
|
7639
|
+
}[] | undefined>;
|
7640
|
+
assignedTo: string;
|
7641
|
+
annotation?: Record<string, string | number | boolean | {
|
7642
|
+
type: string;
|
7643
|
+
filename: string;
|
7644
|
+
originalFilename: string;
|
7645
|
+
} | {
|
7646
|
+
country: string;
|
7647
|
+
district: string;
|
7648
|
+
addressType: "DOMESTIC";
|
7649
|
+
province: string;
|
7650
|
+
urbanOrRural: "URBAN";
|
7651
|
+
number?: string | null | undefined;
|
7652
|
+
town?: string | null | undefined;
|
7653
|
+
residentialArea?: string | null | undefined;
|
7654
|
+
street?: string | null | undefined;
|
7655
|
+
zipCode?: string | null | undefined;
|
7656
|
+
} | {
|
7657
|
+
country: string;
|
7658
|
+
district: string;
|
7659
|
+
addressType: "DOMESTIC";
|
7660
|
+
province: string;
|
7661
|
+
urbanOrRural: "RURAL";
|
7662
|
+
village?: string | null | undefined;
|
7663
|
+
} | {
|
7664
|
+
country: string;
|
7665
|
+
state: string;
|
7666
|
+
addressType: "INTERNATIONAL";
|
7667
|
+
district2: string;
|
7668
|
+
cityOrTown?: string | null | undefined;
|
7669
|
+
addressLine1?: string | null | undefined;
|
7670
|
+
addressLine2?: string | null | undefined;
|
7671
|
+
addressLine3?: string | null | undefined;
|
7672
|
+
postcodeOrZip?: string | null | undefined;
|
7673
|
+
} | {
|
7674
|
+
type: string;
|
7675
|
+
option: string;
|
7676
|
+
filename: string;
|
7677
|
+
originalFilename: string;
|
7678
|
+
}[] | undefined> | undefined;
|
7679
|
+
createdAtLocation?: string | undefined;
|
7680
|
+
updatedAtLocation?: string | undefined;
|
7681
|
+
originalActionId?: string | undefined;
|
7682
|
+
} | {
|
7683
|
+
type: "UNASSIGN";
|
7684
|
+
id: string;
|
7685
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7686
|
+
createdAt: string;
|
7687
|
+
createdBy: string;
|
7688
|
+
declaration: Record<string, string | number | boolean | {
|
7689
|
+
type: string;
|
7690
|
+
filename: string;
|
7691
|
+
originalFilename: string;
|
7692
|
+
} | {
|
7693
|
+
country: string;
|
7694
|
+
district: string;
|
7695
|
+
addressType: "DOMESTIC";
|
7696
|
+
province: string;
|
7697
|
+
urbanOrRural: "URBAN";
|
7698
|
+
number?: string | null | undefined;
|
7699
|
+
town?: string | null | undefined;
|
7700
|
+
residentialArea?: string | null | undefined;
|
7701
|
+
street?: string | null | undefined;
|
7702
|
+
zipCode?: string | null | undefined;
|
7703
|
+
} | {
|
7704
|
+
country: string;
|
7705
|
+
district: string;
|
7706
|
+
addressType: "DOMESTIC";
|
7707
|
+
province: string;
|
7708
|
+
urbanOrRural: "RURAL";
|
7709
|
+
village?: string | null | undefined;
|
7710
|
+
} | {
|
7711
|
+
country: string;
|
7712
|
+
state: string;
|
7713
|
+
addressType: "INTERNATIONAL";
|
7714
|
+
district2: string;
|
7715
|
+
cityOrTown?: string | null | undefined;
|
7716
|
+
addressLine1?: string | null | undefined;
|
7717
|
+
addressLine2?: string | null | undefined;
|
7718
|
+
addressLine3?: string | null | undefined;
|
7719
|
+
postcodeOrZip?: string | null | undefined;
|
7720
|
+
} | {
|
7721
|
+
type: string;
|
7722
|
+
option: string;
|
7723
|
+
filename: string;
|
7724
|
+
originalFilename: string;
|
7725
|
+
}[] | undefined>;
|
7726
|
+
assignedTo: null;
|
7727
|
+
annotation?: Record<string, string | number | boolean | {
|
7728
|
+
type: string;
|
7729
|
+
filename: string;
|
7730
|
+
originalFilename: string;
|
7731
|
+
} | {
|
7732
|
+
country: string;
|
7733
|
+
district: string;
|
7734
|
+
addressType: "DOMESTIC";
|
7735
|
+
province: string;
|
7736
|
+
urbanOrRural: "URBAN";
|
7737
|
+
number?: string | null | undefined;
|
7738
|
+
town?: string | null | undefined;
|
7739
|
+
residentialArea?: string | null | undefined;
|
7740
|
+
street?: string | null | undefined;
|
7741
|
+
zipCode?: string | null | undefined;
|
7742
|
+
} | {
|
7743
|
+
country: string;
|
7744
|
+
district: string;
|
7745
|
+
addressType: "DOMESTIC";
|
7746
|
+
province: string;
|
7747
|
+
urbanOrRural: "RURAL";
|
7748
|
+
village?: string | null | undefined;
|
7749
|
+
} | {
|
7750
|
+
country: string;
|
7751
|
+
state: string;
|
7752
|
+
addressType: "INTERNATIONAL";
|
7753
|
+
district2: string;
|
7754
|
+
cityOrTown?: string | null | undefined;
|
7755
|
+
addressLine1?: string | null | undefined;
|
7756
|
+
addressLine2?: string | null | undefined;
|
7757
|
+
addressLine3?: string | null | undefined;
|
7758
|
+
postcodeOrZip?: string | null | undefined;
|
7759
|
+
} | {
|
7760
|
+
type: string;
|
7761
|
+
option: string;
|
7762
|
+
filename: string;
|
7763
|
+
originalFilename: string;
|
7764
|
+
}[] | undefined> | undefined;
|
7765
|
+
createdAtLocation?: string | undefined;
|
7766
|
+
updatedAtLocation?: string | undefined;
|
7767
|
+
originalActionId?: string | undefined;
|
7768
|
+
} | {
|
7769
|
+
type: "REGISTER";
|
7770
|
+
id: string;
|
7771
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7772
|
+
createdAt: string;
|
7773
|
+
createdBy: string;
|
7774
|
+
declaration: Record<string, string | number | boolean | {
|
7775
|
+
type: string;
|
7776
|
+
filename: string;
|
7777
|
+
originalFilename: string;
|
7778
|
+
} | {
|
7779
|
+
country: string;
|
7780
|
+
district: string;
|
7781
|
+
addressType: "DOMESTIC";
|
7782
|
+
province: string;
|
7783
|
+
urbanOrRural: "URBAN";
|
7784
|
+
number?: string | null | undefined;
|
7785
|
+
town?: string | null | undefined;
|
7786
|
+
residentialArea?: string | null | undefined;
|
7787
|
+
street?: string | null | undefined;
|
7788
|
+
zipCode?: string | null | undefined;
|
7789
|
+
} | {
|
7790
|
+
country: string;
|
7791
|
+
district: string;
|
7792
|
+
addressType: "DOMESTIC";
|
7793
|
+
province: string;
|
7794
|
+
urbanOrRural: "RURAL";
|
7795
|
+
village?: string | null | undefined;
|
7796
|
+
} | {
|
7797
|
+
country: string;
|
7798
|
+
state: string;
|
7799
|
+
addressType: "INTERNATIONAL";
|
7800
|
+
district2: string;
|
7801
|
+
cityOrTown?: string | null | undefined;
|
7802
|
+
addressLine1?: string | null | undefined;
|
7803
|
+
addressLine2?: string | null | undefined;
|
7804
|
+
addressLine3?: string | null | undefined;
|
7805
|
+
postcodeOrZip?: string | null | undefined;
|
7806
|
+
} | {
|
7807
|
+
type: string;
|
7808
|
+
option: string;
|
7809
|
+
filename: string;
|
7810
|
+
originalFilename: string;
|
7811
|
+
}[] | undefined>;
|
7812
|
+
annotation?: Record<string, string | number | boolean | {
|
7813
|
+
type: string;
|
7814
|
+
filename: string;
|
7815
|
+
originalFilename: string;
|
7816
|
+
} | {
|
7817
|
+
country: string;
|
7818
|
+
district: string;
|
7819
|
+
addressType: "DOMESTIC";
|
7820
|
+
province: string;
|
7821
|
+
urbanOrRural: "URBAN";
|
7822
|
+
number?: string | null | undefined;
|
7823
|
+
town?: string | null | undefined;
|
7824
|
+
residentialArea?: string | null | undefined;
|
7825
|
+
street?: string | null | undefined;
|
7826
|
+
zipCode?: string | null | undefined;
|
7827
|
+
} | {
|
7828
|
+
country: string;
|
7829
|
+
district: string;
|
7830
|
+
addressType: "DOMESTIC";
|
7831
|
+
province: string;
|
7832
|
+
urbanOrRural: "RURAL";
|
7833
|
+
village?: string | null | undefined;
|
7834
|
+
} | {
|
7835
|
+
country: string;
|
7836
|
+
state: string;
|
7837
|
+
addressType: "INTERNATIONAL";
|
7838
|
+
district2: string;
|
7839
|
+
cityOrTown?: string | null | undefined;
|
7840
|
+
addressLine1?: string | null | undefined;
|
7841
|
+
addressLine2?: string | null | undefined;
|
7842
|
+
addressLine3?: string | null | undefined;
|
7843
|
+
postcodeOrZip?: string | null | undefined;
|
7844
|
+
} | {
|
7845
|
+
type: string;
|
7846
|
+
option: string;
|
7847
|
+
filename: string;
|
7848
|
+
originalFilename: string;
|
7849
|
+
}[] | undefined> | undefined;
|
7850
|
+
createdAtLocation?: string | undefined;
|
7851
|
+
updatedAtLocation?: string | undefined;
|
7852
|
+
originalActionId?: string | undefined;
|
7853
|
+
registrationNumber?: string | undefined;
|
7854
|
+
} | {
|
7855
|
+
type: "DECLARE";
|
7856
|
+
id: string;
|
7857
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7858
|
+
createdAt: string;
|
7859
|
+
createdBy: string;
|
7860
|
+
declaration: Record<string, string | number | boolean | {
|
7861
|
+
type: string;
|
7862
|
+
filename: string;
|
7863
|
+
originalFilename: string;
|
7864
|
+
} | {
|
7865
|
+
country: string;
|
7866
|
+
district: string;
|
7867
|
+
addressType: "DOMESTIC";
|
7868
|
+
province: string;
|
7869
|
+
urbanOrRural: "URBAN";
|
7870
|
+
number?: string | null | undefined;
|
7871
|
+
town?: string | null | undefined;
|
7872
|
+
residentialArea?: string | null | undefined;
|
7873
|
+
street?: string | null | undefined;
|
7874
|
+
zipCode?: string | null | undefined;
|
7875
|
+
} | {
|
7876
|
+
country: string;
|
7877
|
+
district: string;
|
7878
|
+
addressType: "DOMESTIC";
|
7879
|
+
province: string;
|
7880
|
+
urbanOrRural: "RURAL";
|
7881
|
+
village?: string | null | undefined;
|
7882
|
+
} | {
|
7883
|
+
country: string;
|
7884
|
+
state: string;
|
7885
|
+
addressType: "INTERNATIONAL";
|
7886
|
+
district2: string;
|
7887
|
+
cityOrTown?: string | null | undefined;
|
7888
|
+
addressLine1?: string | null | undefined;
|
7889
|
+
addressLine2?: string | null | undefined;
|
7890
|
+
addressLine3?: string | null | undefined;
|
7891
|
+
postcodeOrZip?: string | null | undefined;
|
7892
|
+
} | {
|
7893
|
+
type: string;
|
7894
|
+
option: string;
|
7895
|
+
filename: string;
|
7896
|
+
originalFilename: string;
|
7897
|
+
}[] | undefined>;
|
7898
|
+
annotation?: Record<string, string | number | boolean | {
|
7899
|
+
type: string;
|
7900
|
+
filename: string;
|
7901
|
+
originalFilename: string;
|
7902
|
+
} | {
|
7903
|
+
country: string;
|
7904
|
+
district: string;
|
7905
|
+
addressType: "DOMESTIC";
|
7906
|
+
province: string;
|
7907
|
+
urbanOrRural: "URBAN";
|
7908
|
+
number?: string | null | undefined;
|
7909
|
+
town?: string | null | undefined;
|
7910
|
+
residentialArea?: string | null | undefined;
|
7911
|
+
street?: string | null | undefined;
|
7912
|
+
zipCode?: string | null | undefined;
|
7913
|
+
} | {
|
7914
|
+
country: string;
|
7915
|
+
district: string;
|
7916
|
+
addressType: "DOMESTIC";
|
7917
|
+
province: string;
|
7918
|
+
urbanOrRural: "RURAL";
|
7919
|
+
village?: string | null | undefined;
|
7920
|
+
} | {
|
7921
|
+
country: string;
|
7922
|
+
state: string;
|
7923
|
+
addressType: "INTERNATIONAL";
|
7924
|
+
district2: string;
|
7925
|
+
cityOrTown?: string | null | undefined;
|
7926
|
+
addressLine1?: string | null | undefined;
|
7927
|
+
addressLine2?: string | null | undefined;
|
7928
|
+
addressLine3?: string | null | undefined;
|
7929
|
+
postcodeOrZip?: string | null | undefined;
|
7930
|
+
} | {
|
7931
|
+
type: string;
|
7932
|
+
option: string;
|
7933
|
+
filename: string;
|
7934
|
+
originalFilename: string;
|
7935
|
+
}[] | undefined> | undefined;
|
7936
|
+
createdAtLocation?: string | undefined;
|
7937
|
+
updatedAtLocation?: string | undefined;
|
7938
|
+
originalActionId?: string | undefined;
|
7939
|
+
} | {
|
7940
|
+
type: "VALIDATE";
|
7941
|
+
id: string;
|
7942
|
+
status: "Rejected" | "Requested" | "Accepted";
|
7943
|
+
createdAt: string;
|
7944
|
+
createdBy: string;
|
7945
|
+
declaration: Record<string, string | number | boolean | {
|
7946
|
+
type: string;
|
7947
|
+
filename: string;
|
7948
|
+
originalFilename: string;
|
7949
|
+
} | {
|
7950
|
+
country: string;
|
7951
|
+
district: string;
|
7952
|
+
addressType: "DOMESTIC";
|
7953
|
+
province: string;
|
7954
|
+
urbanOrRural: "URBAN";
|
7955
|
+
number?: string | null | undefined;
|
7956
|
+
town?: string | null | undefined;
|
7957
|
+
residentialArea?: string | null | undefined;
|
7958
|
+
street?: string | null | undefined;
|
7959
|
+
zipCode?: string | null | undefined;
|
7960
|
+
} | {
|
7961
|
+
country: string;
|
7962
|
+
district: string;
|
7963
|
+
addressType: "DOMESTIC";
|
7964
|
+
province: string;
|
7965
|
+
urbanOrRural: "RURAL";
|
7966
|
+
village?: string | null | undefined;
|
7967
|
+
} | {
|
7968
|
+
country: string;
|
7969
|
+
state: string;
|
7970
|
+
addressType: "INTERNATIONAL";
|
7971
|
+
district2: string;
|
7972
|
+
cityOrTown?: string | null | undefined;
|
7973
|
+
addressLine1?: string | null | undefined;
|
7974
|
+
addressLine2?: string | null | undefined;
|
7975
|
+
addressLine3?: string | null | undefined;
|
7976
|
+
postcodeOrZip?: string | null | undefined;
|
7977
|
+
} | {
|
7978
|
+
type: string;
|
7979
|
+
option: string;
|
7980
|
+
filename: string;
|
7981
|
+
originalFilename: string;
|
7982
|
+
}[] | undefined>;
|
7983
|
+
annotation?: Record<string, string | number | boolean | {
|
7984
|
+
type: string;
|
7985
|
+
filename: string;
|
7986
|
+
originalFilename: string;
|
7987
|
+
} | {
|
7988
|
+
country: string;
|
7989
|
+
district: string;
|
7990
|
+
addressType: "DOMESTIC";
|
7991
|
+
province: string;
|
7992
|
+
urbanOrRural: "URBAN";
|
7993
|
+
number?: string | null | undefined;
|
7994
|
+
town?: string | null | undefined;
|
7995
|
+
residentialArea?: string | null | undefined;
|
7996
|
+
street?: string | null | undefined;
|
7997
|
+
zipCode?: string | null | undefined;
|
7998
|
+
} | {
|
7999
|
+
country: string;
|
8000
|
+
district: string;
|
8001
|
+
addressType: "DOMESTIC";
|
8002
|
+
province: string;
|
8003
|
+
urbanOrRural: "RURAL";
|
8004
|
+
village?: string | null | undefined;
|
8005
|
+
} | {
|
8006
|
+
country: string;
|
8007
|
+
state: string;
|
8008
|
+
addressType: "INTERNATIONAL";
|
8009
|
+
district2: string;
|
8010
|
+
cityOrTown?: string | null | undefined;
|
8011
|
+
addressLine1?: string | null | undefined;
|
8012
|
+
addressLine2?: string | null | undefined;
|
8013
|
+
addressLine3?: string | null | undefined;
|
8014
|
+
postcodeOrZip?: string | null | undefined;
|
8015
|
+
} | {
|
8016
|
+
type: string;
|
8017
|
+
option: string;
|
8018
|
+
filename: string;
|
8019
|
+
originalFilename: string;
|
8020
|
+
}[] | undefined> | undefined;
|
8021
|
+
createdAtLocation?: string | undefined;
|
8022
|
+
updatedAtLocation?: string | undefined;
|
8023
|
+
originalActionId?: string | undefined;
|
8024
|
+
} | {
|
8025
|
+
type: "REJECT";
|
8026
|
+
id: string;
|
8027
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8028
|
+
createdAt: string;
|
8029
|
+
createdBy: string;
|
8030
|
+
declaration: Record<string, string | number | boolean | {
|
8031
|
+
type: string;
|
8032
|
+
filename: string;
|
8033
|
+
originalFilename: string;
|
8034
|
+
} | {
|
8035
|
+
country: string;
|
8036
|
+
district: string;
|
8037
|
+
addressType: "DOMESTIC";
|
8038
|
+
province: string;
|
8039
|
+
urbanOrRural: "URBAN";
|
8040
|
+
number?: string | null | undefined;
|
8041
|
+
town?: string | null | undefined;
|
8042
|
+
residentialArea?: string | null | undefined;
|
8043
|
+
street?: string | null | undefined;
|
8044
|
+
zipCode?: string | null | undefined;
|
8045
|
+
} | {
|
8046
|
+
country: string;
|
8047
|
+
district: string;
|
8048
|
+
addressType: "DOMESTIC";
|
8049
|
+
province: string;
|
8050
|
+
urbanOrRural: "RURAL";
|
8051
|
+
village?: string | null | undefined;
|
8052
|
+
} | {
|
8053
|
+
country: string;
|
8054
|
+
state: string;
|
8055
|
+
addressType: "INTERNATIONAL";
|
8056
|
+
district2: string;
|
8057
|
+
cityOrTown?: string | null | undefined;
|
8058
|
+
addressLine1?: string | null | undefined;
|
8059
|
+
addressLine2?: string | null | undefined;
|
8060
|
+
addressLine3?: string | null | undefined;
|
8061
|
+
postcodeOrZip?: string | null | undefined;
|
8062
|
+
} | {
|
8063
|
+
type: string;
|
8064
|
+
option: string;
|
8065
|
+
filename: string;
|
8066
|
+
originalFilename: string;
|
8067
|
+
}[] | undefined>;
|
8068
|
+
annotation?: Record<string, string | number | boolean | {
|
8069
|
+
type: string;
|
8070
|
+
filename: string;
|
8071
|
+
originalFilename: string;
|
8072
|
+
} | {
|
8073
|
+
country: string;
|
8074
|
+
district: string;
|
8075
|
+
addressType: "DOMESTIC";
|
8076
|
+
province: string;
|
8077
|
+
urbanOrRural: "URBAN";
|
8078
|
+
number?: string | null | undefined;
|
8079
|
+
town?: string | null | undefined;
|
8080
|
+
residentialArea?: string | null | undefined;
|
8081
|
+
street?: string | null | undefined;
|
8082
|
+
zipCode?: string | null | undefined;
|
8083
|
+
} | {
|
8084
|
+
country: string;
|
8085
|
+
district: string;
|
8086
|
+
addressType: "DOMESTIC";
|
8087
|
+
province: string;
|
8088
|
+
urbanOrRural: "RURAL";
|
8089
|
+
village?: string | null | undefined;
|
8090
|
+
} | {
|
8091
|
+
country: string;
|
8092
|
+
state: string;
|
8093
|
+
addressType: "INTERNATIONAL";
|
8094
|
+
district2: string;
|
8095
|
+
cityOrTown?: string | null | undefined;
|
8096
|
+
addressLine1?: string | null | undefined;
|
8097
|
+
addressLine2?: string | null | undefined;
|
8098
|
+
addressLine3?: string | null | undefined;
|
8099
|
+
postcodeOrZip?: string | null | undefined;
|
8100
|
+
} | {
|
8101
|
+
type: string;
|
8102
|
+
option: string;
|
8103
|
+
filename: string;
|
8104
|
+
originalFilename: string;
|
8105
|
+
}[] | undefined> | undefined;
|
8106
|
+
createdAtLocation?: string | undefined;
|
8107
|
+
updatedAtLocation?: string | undefined;
|
8108
|
+
originalActionId?: string | undefined;
|
8109
|
+
} | {
|
8110
|
+
type: "MARKED_AS_DUPLICATE";
|
8111
|
+
id: string;
|
8112
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8113
|
+
createdAt: string;
|
8114
|
+
createdBy: string;
|
8115
|
+
declaration: Record<string, string | number | boolean | {
|
8116
|
+
type: string;
|
8117
|
+
filename: string;
|
8118
|
+
originalFilename: string;
|
8119
|
+
} | {
|
8120
|
+
country: string;
|
8121
|
+
district: string;
|
8122
|
+
addressType: "DOMESTIC";
|
8123
|
+
province: string;
|
8124
|
+
urbanOrRural: "URBAN";
|
8125
|
+
number?: string | null | undefined;
|
8126
|
+
town?: string | null | undefined;
|
8127
|
+
residentialArea?: string | null | undefined;
|
8128
|
+
street?: string | null | undefined;
|
8129
|
+
zipCode?: string | null | undefined;
|
8130
|
+
} | {
|
8131
|
+
country: string;
|
8132
|
+
district: string;
|
8133
|
+
addressType: "DOMESTIC";
|
8134
|
+
province: string;
|
8135
|
+
urbanOrRural: "RURAL";
|
8136
|
+
village?: string | null | undefined;
|
8137
|
+
} | {
|
8138
|
+
country: string;
|
8139
|
+
state: string;
|
8140
|
+
addressType: "INTERNATIONAL";
|
8141
|
+
district2: string;
|
8142
|
+
cityOrTown?: string | null | undefined;
|
8143
|
+
addressLine1?: string | null | undefined;
|
8144
|
+
addressLine2?: string | null | undefined;
|
8145
|
+
addressLine3?: string | null | undefined;
|
8146
|
+
postcodeOrZip?: string | null | undefined;
|
8147
|
+
} | {
|
8148
|
+
type: string;
|
8149
|
+
option: string;
|
8150
|
+
filename: string;
|
8151
|
+
originalFilename: string;
|
8152
|
+
}[] | undefined>;
|
8153
|
+
annotation?: Record<string, string | number | boolean | {
|
8154
|
+
type: string;
|
8155
|
+
filename: string;
|
8156
|
+
originalFilename: string;
|
8157
|
+
} | {
|
8158
|
+
country: string;
|
8159
|
+
district: string;
|
8160
|
+
addressType: "DOMESTIC";
|
8161
|
+
province: string;
|
8162
|
+
urbanOrRural: "URBAN";
|
8163
|
+
number?: string | null | undefined;
|
8164
|
+
town?: string | null | undefined;
|
8165
|
+
residentialArea?: string | null | undefined;
|
8166
|
+
street?: string | null | undefined;
|
8167
|
+
zipCode?: string | null | undefined;
|
8168
|
+
} | {
|
8169
|
+
country: string;
|
8170
|
+
district: string;
|
8171
|
+
addressType: "DOMESTIC";
|
8172
|
+
province: string;
|
8173
|
+
urbanOrRural: "RURAL";
|
8174
|
+
village?: string | null | undefined;
|
8175
|
+
} | {
|
8176
|
+
country: string;
|
8177
|
+
state: string;
|
8178
|
+
addressType: "INTERNATIONAL";
|
8179
|
+
district2: string;
|
8180
|
+
cityOrTown?: string | null | undefined;
|
8181
|
+
addressLine1?: string | null | undefined;
|
8182
|
+
addressLine2?: string | null | undefined;
|
8183
|
+
addressLine3?: string | null | undefined;
|
8184
|
+
postcodeOrZip?: string | null | undefined;
|
8185
|
+
} | {
|
8186
|
+
type: string;
|
8187
|
+
option: string;
|
8188
|
+
filename: string;
|
8189
|
+
originalFilename: string;
|
8190
|
+
}[] | undefined> | undefined;
|
8191
|
+
createdAtLocation?: string | undefined;
|
8192
|
+
updatedAtLocation?: string | undefined;
|
8193
|
+
originalActionId?: string | undefined;
|
8194
|
+
} | {
|
8195
|
+
type: "ARCHIVE";
|
8196
|
+
id: string;
|
8197
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8198
|
+
createdAt: string;
|
8199
|
+
createdBy: string;
|
8200
|
+
declaration: Record<string, string | number | boolean | {
|
8201
|
+
type: string;
|
8202
|
+
filename: string;
|
8203
|
+
originalFilename: string;
|
8204
|
+
} | {
|
8205
|
+
country: string;
|
8206
|
+
district: string;
|
8207
|
+
addressType: "DOMESTIC";
|
8208
|
+
province: string;
|
8209
|
+
urbanOrRural: "URBAN";
|
8210
|
+
number?: string | null | undefined;
|
8211
|
+
town?: string | null | undefined;
|
8212
|
+
residentialArea?: string | null | undefined;
|
8213
|
+
street?: string | null | undefined;
|
8214
|
+
zipCode?: string | null | undefined;
|
8215
|
+
} | {
|
8216
|
+
country: string;
|
8217
|
+
district: string;
|
8218
|
+
addressType: "DOMESTIC";
|
8219
|
+
province: string;
|
8220
|
+
urbanOrRural: "RURAL";
|
8221
|
+
village?: string | null | undefined;
|
8222
|
+
} | {
|
8223
|
+
country: string;
|
8224
|
+
state: string;
|
8225
|
+
addressType: "INTERNATIONAL";
|
8226
|
+
district2: string;
|
8227
|
+
cityOrTown?: string | null | undefined;
|
8228
|
+
addressLine1?: string | null | undefined;
|
8229
|
+
addressLine2?: string | null | undefined;
|
8230
|
+
addressLine3?: string | null | undefined;
|
8231
|
+
postcodeOrZip?: string | null | undefined;
|
8232
|
+
} | {
|
8233
|
+
type: string;
|
8234
|
+
option: string;
|
8235
|
+
filename: string;
|
8236
|
+
originalFilename: string;
|
8237
|
+
}[] | undefined>;
|
8238
|
+
annotation?: Record<string, string | number | boolean | {
|
8239
|
+
type: string;
|
8240
|
+
filename: string;
|
8241
|
+
originalFilename: string;
|
8242
|
+
} | {
|
8243
|
+
country: string;
|
8244
|
+
district: string;
|
8245
|
+
addressType: "DOMESTIC";
|
8246
|
+
province: string;
|
8247
|
+
urbanOrRural: "URBAN";
|
8248
|
+
number?: string | null | undefined;
|
8249
|
+
town?: string | null | undefined;
|
8250
|
+
residentialArea?: string | null | undefined;
|
8251
|
+
street?: string | null | undefined;
|
8252
|
+
zipCode?: string | null | undefined;
|
8253
|
+
} | {
|
8254
|
+
country: string;
|
8255
|
+
district: string;
|
8256
|
+
addressType: "DOMESTIC";
|
8257
|
+
province: string;
|
8258
|
+
urbanOrRural: "RURAL";
|
8259
|
+
village?: string | null | undefined;
|
8260
|
+
} | {
|
8261
|
+
country: string;
|
8262
|
+
state: string;
|
8263
|
+
addressType: "INTERNATIONAL";
|
8264
|
+
district2: string;
|
8265
|
+
cityOrTown?: string | null | undefined;
|
8266
|
+
addressLine1?: string | null | undefined;
|
8267
|
+
addressLine2?: string | null | undefined;
|
8268
|
+
addressLine3?: string | null | undefined;
|
8269
|
+
postcodeOrZip?: string | null | undefined;
|
8270
|
+
} | {
|
8271
|
+
type: string;
|
8272
|
+
option: string;
|
8273
|
+
filename: string;
|
8274
|
+
originalFilename: string;
|
8275
|
+
}[] | undefined> | undefined;
|
8276
|
+
createdAtLocation?: string | undefined;
|
8277
|
+
updatedAtLocation?: string | undefined;
|
8278
|
+
originalActionId?: string | undefined;
|
8279
|
+
} | {
|
8280
|
+
type: "CREATE";
|
8281
|
+
id: string;
|
8282
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8283
|
+
createdAt: string;
|
8284
|
+
createdBy: string;
|
8285
|
+
declaration: Record<string, string | number | boolean | {
|
8286
|
+
type: string;
|
8287
|
+
filename: string;
|
8288
|
+
originalFilename: string;
|
8289
|
+
} | {
|
8290
|
+
country: string;
|
8291
|
+
district: string;
|
8292
|
+
addressType: "DOMESTIC";
|
8293
|
+
province: string;
|
8294
|
+
urbanOrRural: "URBAN";
|
8295
|
+
number?: string | null | undefined;
|
8296
|
+
town?: string | null | undefined;
|
8297
|
+
residentialArea?: string | null | undefined;
|
8298
|
+
street?: string | null | undefined;
|
8299
|
+
zipCode?: string | null | undefined;
|
8300
|
+
} | {
|
8301
|
+
country: string;
|
8302
|
+
district: string;
|
8303
|
+
addressType: "DOMESTIC";
|
8304
|
+
province: string;
|
8305
|
+
urbanOrRural: "RURAL";
|
8306
|
+
village?: string | null | undefined;
|
8307
|
+
} | {
|
8308
|
+
country: string;
|
8309
|
+
state: string;
|
8310
|
+
addressType: "INTERNATIONAL";
|
8311
|
+
district2: string;
|
8312
|
+
cityOrTown?: string | null | undefined;
|
8313
|
+
addressLine1?: string | null | undefined;
|
8314
|
+
addressLine2?: string | null | undefined;
|
8315
|
+
addressLine3?: string | null | undefined;
|
8316
|
+
postcodeOrZip?: string | null | undefined;
|
8317
|
+
} | {
|
8318
|
+
type: string;
|
8319
|
+
option: string;
|
8320
|
+
filename: string;
|
8321
|
+
originalFilename: string;
|
8322
|
+
}[] | undefined>;
|
8323
|
+
annotation?: Record<string, string | number | boolean | {
|
8324
|
+
type: string;
|
8325
|
+
filename: string;
|
8326
|
+
originalFilename: string;
|
8327
|
+
} | {
|
8328
|
+
country: string;
|
8329
|
+
district: string;
|
8330
|
+
addressType: "DOMESTIC";
|
8331
|
+
province: string;
|
8332
|
+
urbanOrRural: "URBAN";
|
8333
|
+
number?: string | null | undefined;
|
8334
|
+
town?: string | null | undefined;
|
8335
|
+
residentialArea?: string | null | undefined;
|
8336
|
+
street?: string | null | undefined;
|
8337
|
+
zipCode?: string | null | undefined;
|
8338
|
+
} | {
|
8339
|
+
country: string;
|
8340
|
+
district: string;
|
8341
|
+
addressType: "DOMESTIC";
|
8342
|
+
province: string;
|
8343
|
+
urbanOrRural: "RURAL";
|
8344
|
+
village?: string | null | undefined;
|
8345
|
+
} | {
|
8346
|
+
country: string;
|
8347
|
+
state: string;
|
8348
|
+
addressType: "INTERNATIONAL";
|
8349
|
+
district2: string;
|
8350
|
+
cityOrTown?: string | null | undefined;
|
8351
|
+
addressLine1?: string | null | undefined;
|
8352
|
+
addressLine2?: string | null | undefined;
|
8353
|
+
addressLine3?: string | null | undefined;
|
8354
|
+
postcodeOrZip?: string | null | undefined;
|
8355
|
+
} | {
|
8356
|
+
type: string;
|
8357
|
+
option: string;
|
8358
|
+
filename: string;
|
8359
|
+
originalFilename: string;
|
8360
|
+
}[] | undefined> | undefined;
|
8361
|
+
createdAtLocation?: string | undefined;
|
8362
|
+
updatedAtLocation?: string | undefined;
|
8363
|
+
originalActionId?: string | undefined;
|
8364
|
+
} | {
|
8365
|
+
type: "NOTIFY";
|
8366
|
+
id: string;
|
8367
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8368
|
+
createdAt: string;
|
8369
|
+
createdBy: string;
|
8370
|
+
declaration: Record<string, string | number | boolean | {
|
8371
|
+
type: string;
|
8372
|
+
filename: string;
|
8373
|
+
originalFilename: string;
|
8374
|
+
} | {
|
8375
|
+
country: string;
|
8376
|
+
district: string;
|
8377
|
+
addressType: "DOMESTIC";
|
8378
|
+
province: string;
|
8379
|
+
urbanOrRural: "URBAN";
|
8380
|
+
number?: string | null | undefined;
|
8381
|
+
town?: string | null | undefined;
|
8382
|
+
residentialArea?: string | null | undefined;
|
8383
|
+
street?: string | null | undefined;
|
8384
|
+
zipCode?: string | null | undefined;
|
8385
|
+
} | {
|
8386
|
+
country: string;
|
8387
|
+
district: string;
|
8388
|
+
addressType: "DOMESTIC";
|
8389
|
+
province: string;
|
8390
|
+
urbanOrRural: "RURAL";
|
8391
|
+
village?: string | null | undefined;
|
8392
|
+
} | {
|
8393
|
+
country: string;
|
8394
|
+
state: string;
|
8395
|
+
addressType: "INTERNATIONAL";
|
8396
|
+
district2: string;
|
8397
|
+
cityOrTown?: string | null | undefined;
|
8398
|
+
addressLine1?: string | null | undefined;
|
8399
|
+
addressLine2?: string | null | undefined;
|
8400
|
+
addressLine3?: string | null | undefined;
|
8401
|
+
postcodeOrZip?: string | null | undefined;
|
8402
|
+
} | {
|
8403
|
+
type: string;
|
8404
|
+
option: string;
|
8405
|
+
filename: string;
|
8406
|
+
originalFilename: string;
|
8407
|
+
}[] | undefined>;
|
8408
|
+
annotation?: Record<string, string | number | boolean | {
|
8409
|
+
type: string;
|
8410
|
+
filename: string;
|
8411
|
+
originalFilename: string;
|
8412
|
+
} | {
|
8413
|
+
country: string;
|
8414
|
+
district: string;
|
8415
|
+
addressType: "DOMESTIC";
|
8416
|
+
province: string;
|
8417
|
+
urbanOrRural: "URBAN";
|
8418
|
+
number?: string | null | undefined;
|
8419
|
+
town?: string | null | undefined;
|
8420
|
+
residentialArea?: string | null | undefined;
|
8421
|
+
street?: string | null | undefined;
|
8422
|
+
zipCode?: string | null | undefined;
|
8423
|
+
} | {
|
8424
|
+
country: string;
|
8425
|
+
district: string;
|
8426
|
+
addressType: "DOMESTIC";
|
8427
|
+
province: string;
|
8428
|
+
urbanOrRural: "RURAL";
|
8429
|
+
village?: string | null | undefined;
|
8430
|
+
} | {
|
8431
|
+
country: string;
|
8432
|
+
state: string;
|
8433
|
+
addressType: "INTERNATIONAL";
|
8434
|
+
district2: string;
|
8435
|
+
cityOrTown?: string | null | undefined;
|
8436
|
+
addressLine1?: string | null | undefined;
|
8437
|
+
addressLine2?: string | null | undefined;
|
8438
|
+
addressLine3?: string | null | undefined;
|
8439
|
+
postcodeOrZip?: string | null | undefined;
|
8440
|
+
} | {
|
8441
|
+
type: string;
|
8442
|
+
option: string;
|
8443
|
+
filename: string;
|
8444
|
+
originalFilename: string;
|
8445
|
+
}[] | undefined> | undefined;
|
8446
|
+
createdAtLocation?: string | undefined;
|
8447
|
+
updatedAtLocation?: string | undefined;
|
8448
|
+
originalActionId?: string | undefined;
|
8449
|
+
} | {
|
8450
|
+
type: "PRINT_CERTIFICATE";
|
8451
|
+
id: string;
|
8452
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8453
|
+
createdAt: string;
|
8454
|
+
createdBy: string;
|
8455
|
+
declaration: Record<string, string | number | boolean | {
|
8456
|
+
type: string;
|
8457
|
+
filename: string;
|
8458
|
+
originalFilename: string;
|
8459
|
+
} | {
|
8460
|
+
country: string;
|
8461
|
+
district: string;
|
8462
|
+
addressType: "DOMESTIC";
|
8463
|
+
province: string;
|
8464
|
+
urbanOrRural: "URBAN";
|
8465
|
+
number?: string | null | undefined;
|
8466
|
+
town?: string | null | undefined;
|
8467
|
+
residentialArea?: string | null | undefined;
|
8468
|
+
street?: string | null | undefined;
|
8469
|
+
zipCode?: string | null | undefined;
|
8470
|
+
} | {
|
8471
|
+
country: string;
|
8472
|
+
district: string;
|
8473
|
+
addressType: "DOMESTIC";
|
8474
|
+
province: string;
|
8475
|
+
urbanOrRural: "RURAL";
|
8476
|
+
village?: string | null | undefined;
|
8477
|
+
} | {
|
8478
|
+
country: string;
|
8479
|
+
state: string;
|
8480
|
+
addressType: "INTERNATIONAL";
|
8481
|
+
district2: string;
|
8482
|
+
cityOrTown?: string | null | undefined;
|
8483
|
+
addressLine1?: string | null | undefined;
|
8484
|
+
addressLine2?: string | null | undefined;
|
8485
|
+
addressLine3?: string | null | undefined;
|
8486
|
+
postcodeOrZip?: string | null | undefined;
|
8487
|
+
} | {
|
8488
|
+
type: string;
|
8489
|
+
option: string;
|
8490
|
+
filename: string;
|
8491
|
+
originalFilename: string;
|
8492
|
+
}[] | undefined>;
|
8493
|
+
annotation?: Record<string, string | number | boolean | {
|
8494
|
+
type: string;
|
8495
|
+
filename: string;
|
8496
|
+
originalFilename: string;
|
8497
|
+
} | {
|
8498
|
+
country: string;
|
8499
|
+
district: string;
|
8500
|
+
addressType: "DOMESTIC";
|
8501
|
+
province: string;
|
8502
|
+
urbanOrRural: "URBAN";
|
8503
|
+
number?: string | null | undefined;
|
8504
|
+
town?: string | null | undefined;
|
8505
|
+
residentialArea?: string | null | undefined;
|
8506
|
+
street?: string | null | undefined;
|
8507
|
+
zipCode?: string | null | undefined;
|
8508
|
+
} | {
|
8509
|
+
country: string;
|
8510
|
+
district: string;
|
8511
|
+
addressType: "DOMESTIC";
|
8512
|
+
province: string;
|
8513
|
+
urbanOrRural: "RURAL";
|
8514
|
+
village?: string | null | undefined;
|
8515
|
+
} | {
|
8516
|
+
country: string;
|
8517
|
+
state: string;
|
8518
|
+
addressType: "INTERNATIONAL";
|
8519
|
+
district2: string;
|
8520
|
+
cityOrTown?: string | null | undefined;
|
8521
|
+
addressLine1?: string | null | undefined;
|
8522
|
+
addressLine2?: string | null | undefined;
|
8523
|
+
addressLine3?: string | null | undefined;
|
8524
|
+
postcodeOrZip?: string | null | undefined;
|
8525
|
+
} | {
|
8526
|
+
type: string;
|
8527
|
+
option: string;
|
8528
|
+
filename: string;
|
8529
|
+
originalFilename: string;
|
8530
|
+
}[] | undefined> | undefined;
|
8531
|
+
createdAtLocation?: string | undefined;
|
8532
|
+
updatedAtLocation?: string | undefined;
|
8533
|
+
originalActionId?: string | undefined;
|
8534
|
+
} | {
|
8535
|
+
type: "REQUEST_CORRECTION";
|
8536
|
+
id: string;
|
8537
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8538
|
+
createdAt: string;
|
8539
|
+
createdBy: string;
|
8540
|
+
declaration: Record<string, string | number | boolean | {
|
8541
|
+
type: string;
|
8542
|
+
filename: string;
|
8543
|
+
originalFilename: string;
|
8544
|
+
} | {
|
8545
|
+
country: string;
|
8546
|
+
district: string;
|
8547
|
+
addressType: "DOMESTIC";
|
8548
|
+
province: string;
|
8549
|
+
urbanOrRural: "URBAN";
|
8550
|
+
number?: string | null | undefined;
|
8551
|
+
town?: string | null | undefined;
|
8552
|
+
residentialArea?: string | null | undefined;
|
8553
|
+
street?: string | null | undefined;
|
8554
|
+
zipCode?: string | null | undefined;
|
8555
|
+
} | {
|
8556
|
+
country: string;
|
8557
|
+
district: string;
|
8558
|
+
addressType: "DOMESTIC";
|
8559
|
+
province: string;
|
8560
|
+
urbanOrRural: "RURAL";
|
8561
|
+
village?: string | null | undefined;
|
8562
|
+
} | {
|
8563
|
+
country: string;
|
8564
|
+
state: string;
|
8565
|
+
addressType: "INTERNATIONAL";
|
8566
|
+
district2: string;
|
8567
|
+
cityOrTown?: string | null | undefined;
|
8568
|
+
addressLine1?: string | null | undefined;
|
8569
|
+
addressLine2?: string | null | undefined;
|
8570
|
+
addressLine3?: string | null | undefined;
|
8571
|
+
postcodeOrZip?: string | null | undefined;
|
8572
|
+
} | {
|
8573
|
+
type: string;
|
8574
|
+
option: string;
|
8575
|
+
filename: string;
|
8576
|
+
originalFilename: string;
|
8577
|
+
}[] | undefined>;
|
8578
|
+
annotation?: Record<string, string | number | boolean | {
|
8579
|
+
type: string;
|
8580
|
+
filename: string;
|
8581
|
+
originalFilename: string;
|
8582
|
+
} | {
|
8583
|
+
country: string;
|
8584
|
+
district: string;
|
8585
|
+
addressType: "DOMESTIC";
|
8586
|
+
province: string;
|
8587
|
+
urbanOrRural: "URBAN";
|
8588
|
+
number?: string | null | undefined;
|
8589
|
+
town?: string | null | undefined;
|
8590
|
+
residentialArea?: string | null | undefined;
|
8591
|
+
street?: string | null | undefined;
|
8592
|
+
zipCode?: string | null | undefined;
|
8593
|
+
} | {
|
8594
|
+
country: string;
|
8595
|
+
district: string;
|
8596
|
+
addressType: "DOMESTIC";
|
8597
|
+
province: string;
|
8598
|
+
urbanOrRural: "RURAL";
|
8599
|
+
village?: string | null | undefined;
|
8600
|
+
} | {
|
8601
|
+
country: string;
|
8602
|
+
state: string;
|
8603
|
+
addressType: "INTERNATIONAL";
|
8604
|
+
district2: string;
|
8605
|
+
cityOrTown?: string | null | undefined;
|
8606
|
+
addressLine1?: string | null | undefined;
|
8607
|
+
addressLine2?: string | null | undefined;
|
8608
|
+
addressLine3?: string | null | undefined;
|
8609
|
+
postcodeOrZip?: string | null | undefined;
|
8610
|
+
} | {
|
8611
|
+
type: string;
|
8612
|
+
option: string;
|
8613
|
+
filename: string;
|
8614
|
+
originalFilename: string;
|
8615
|
+
}[] | undefined> | undefined;
|
8616
|
+
createdAtLocation?: string | undefined;
|
8617
|
+
updatedAtLocation?: string | undefined;
|
8618
|
+
originalActionId?: string | undefined;
|
8619
|
+
} | {
|
8620
|
+
type: "APPROVE_CORRECTION";
|
8621
|
+
id: string;
|
8622
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8623
|
+
createdAt: string;
|
8624
|
+
createdBy: string;
|
8625
|
+
declaration: Record<string, string | number | boolean | {
|
8626
|
+
type: string;
|
8627
|
+
filename: string;
|
8628
|
+
originalFilename: string;
|
8629
|
+
} | {
|
8630
|
+
country: string;
|
8631
|
+
district: string;
|
8632
|
+
addressType: "DOMESTIC";
|
8633
|
+
province: string;
|
8634
|
+
urbanOrRural: "URBAN";
|
8635
|
+
number?: string | null | undefined;
|
8636
|
+
town?: string | null | undefined;
|
8637
|
+
residentialArea?: string | null | undefined;
|
8638
|
+
street?: string | null | undefined;
|
8639
|
+
zipCode?: string | null | undefined;
|
8640
|
+
} | {
|
8641
|
+
country: string;
|
8642
|
+
district: string;
|
8643
|
+
addressType: "DOMESTIC";
|
8644
|
+
province: string;
|
8645
|
+
urbanOrRural: "RURAL";
|
8646
|
+
village?: string | null | undefined;
|
8647
|
+
} | {
|
8648
|
+
country: string;
|
8649
|
+
state: string;
|
8650
|
+
addressType: "INTERNATIONAL";
|
8651
|
+
district2: string;
|
8652
|
+
cityOrTown?: string | null | undefined;
|
8653
|
+
addressLine1?: string | null | undefined;
|
8654
|
+
addressLine2?: string | null | undefined;
|
8655
|
+
addressLine3?: string | null | undefined;
|
8656
|
+
postcodeOrZip?: string | null | undefined;
|
8657
|
+
} | {
|
8658
|
+
type: string;
|
8659
|
+
option: string;
|
8660
|
+
filename: string;
|
8661
|
+
originalFilename: string;
|
8662
|
+
}[] | undefined>;
|
8663
|
+
requestId: string;
|
8664
|
+
annotation?: Record<string, string | number | boolean | {
|
8665
|
+
type: string;
|
8666
|
+
filename: string;
|
8667
|
+
originalFilename: string;
|
8668
|
+
} | {
|
8669
|
+
country: string;
|
8670
|
+
district: string;
|
8671
|
+
addressType: "DOMESTIC";
|
8672
|
+
province: string;
|
8673
|
+
urbanOrRural: "URBAN";
|
8674
|
+
number?: string | null | undefined;
|
8675
|
+
town?: string | null | undefined;
|
8676
|
+
residentialArea?: string | null | undefined;
|
8677
|
+
street?: string | null | undefined;
|
8678
|
+
zipCode?: string | null | undefined;
|
8679
|
+
} | {
|
8680
|
+
country: string;
|
8681
|
+
district: string;
|
8682
|
+
addressType: "DOMESTIC";
|
8683
|
+
province: string;
|
8684
|
+
urbanOrRural: "RURAL";
|
8685
|
+
village?: string | null | undefined;
|
8686
|
+
} | {
|
8687
|
+
country: string;
|
8688
|
+
state: string;
|
8689
|
+
addressType: "INTERNATIONAL";
|
8690
|
+
district2: string;
|
8691
|
+
cityOrTown?: string | null | undefined;
|
8692
|
+
addressLine1?: string | null | undefined;
|
8693
|
+
addressLine2?: string | null | undefined;
|
8694
|
+
addressLine3?: string | null | undefined;
|
8695
|
+
postcodeOrZip?: string | null | undefined;
|
8696
|
+
} | {
|
8697
|
+
type: string;
|
8698
|
+
option: string;
|
8699
|
+
filename: string;
|
8700
|
+
originalFilename: string;
|
8701
|
+
}[] | undefined> | undefined;
|
8702
|
+
createdAtLocation?: string | undefined;
|
8703
|
+
updatedAtLocation?: string | undefined;
|
8704
|
+
originalActionId?: string | undefined;
|
8705
|
+
} | {
|
8706
|
+
type: "REJECT_CORRECTION";
|
8707
|
+
id: string;
|
8708
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8709
|
+
createdAt: string;
|
8710
|
+
createdBy: string;
|
8711
|
+
declaration: Record<string, string | number | boolean | {
|
8712
|
+
type: string;
|
8713
|
+
filename: string;
|
8714
|
+
originalFilename: string;
|
8715
|
+
} | {
|
8716
|
+
country: string;
|
8717
|
+
district: string;
|
8718
|
+
addressType: "DOMESTIC";
|
8719
|
+
province: string;
|
8720
|
+
urbanOrRural: "URBAN";
|
8721
|
+
number?: string | null | undefined;
|
8722
|
+
town?: string | null | undefined;
|
8723
|
+
residentialArea?: string | null | undefined;
|
8724
|
+
street?: string | null | undefined;
|
8725
|
+
zipCode?: string | null | undefined;
|
8726
|
+
} | {
|
8727
|
+
country: string;
|
8728
|
+
district: string;
|
8729
|
+
addressType: "DOMESTIC";
|
8730
|
+
province: string;
|
8731
|
+
urbanOrRural: "RURAL";
|
8732
|
+
village?: string | null | undefined;
|
8733
|
+
} | {
|
8734
|
+
country: string;
|
8735
|
+
state: string;
|
8736
|
+
addressType: "INTERNATIONAL";
|
8737
|
+
district2: string;
|
8738
|
+
cityOrTown?: string | null | undefined;
|
8739
|
+
addressLine1?: string | null | undefined;
|
8740
|
+
addressLine2?: string | null | undefined;
|
8741
|
+
addressLine3?: string | null | undefined;
|
8742
|
+
postcodeOrZip?: string | null | undefined;
|
8743
|
+
} | {
|
8744
|
+
type: string;
|
8745
|
+
option: string;
|
8746
|
+
filename: string;
|
8747
|
+
originalFilename: string;
|
8748
|
+
}[] | undefined>;
|
8749
|
+
requestId: string;
|
8750
|
+
annotation?: Record<string, string | number | boolean | {
|
8751
|
+
type: string;
|
8752
|
+
filename: string;
|
8753
|
+
originalFilename: string;
|
8754
|
+
} | {
|
8755
|
+
country: string;
|
8756
|
+
district: string;
|
8757
|
+
addressType: "DOMESTIC";
|
8758
|
+
province: string;
|
8759
|
+
urbanOrRural: "URBAN";
|
8760
|
+
number?: string | null | undefined;
|
8761
|
+
town?: string | null | undefined;
|
8762
|
+
residentialArea?: string | null | undefined;
|
8763
|
+
street?: string | null | undefined;
|
8764
|
+
zipCode?: string | null | undefined;
|
8765
|
+
} | {
|
8766
|
+
country: string;
|
8767
|
+
district: string;
|
8768
|
+
addressType: "DOMESTIC";
|
8769
|
+
province: string;
|
8770
|
+
urbanOrRural: "RURAL";
|
8771
|
+
village?: string | null | undefined;
|
8772
|
+
} | {
|
8773
|
+
country: string;
|
8774
|
+
state: string;
|
8775
|
+
addressType: "INTERNATIONAL";
|
8776
|
+
district2: string;
|
8777
|
+
cityOrTown?: string | null | undefined;
|
8778
|
+
addressLine1?: string | null | undefined;
|
8779
|
+
addressLine2?: string | null | undefined;
|
8780
|
+
addressLine3?: string | null | undefined;
|
8781
|
+
postcodeOrZip?: string | null | undefined;
|
8782
|
+
} | {
|
8783
|
+
type: string;
|
8784
|
+
option: string;
|
8785
|
+
filename: string;
|
8786
|
+
originalFilename: string;
|
8787
|
+
}[] | undefined> | undefined;
|
8788
|
+
createdAtLocation?: string | undefined;
|
8789
|
+
updatedAtLocation?: string | undefined;
|
8790
|
+
originalActionId?: string | undefined;
|
8791
|
+
} | {
|
8792
|
+
type: "READ";
|
8793
|
+
id: string;
|
8794
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8795
|
+
createdAt: string;
|
8796
|
+
createdBy: string;
|
8797
|
+
declaration: Record<string, string | number | boolean | {
|
8798
|
+
type: string;
|
8799
|
+
filename: string;
|
8800
|
+
originalFilename: string;
|
8801
|
+
} | {
|
8802
|
+
country: string;
|
8803
|
+
district: string;
|
8804
|
+
addressType: "DOMESTIC";
|
8805
|
+
province: string;
|
8806
|
+
urbanOrRural: "URBAN";
|
8807
|
+
number?: string | null | undefined;
|
8808
|
+
town?: string | null | undefined;
|
8809
|
+
residentialArea?: string | null | undefined;
|
8810
|
+
street?: string | null | undefined;
|
8811
|
+
zipCode?: string | null | undefined;
|
8812
|
+
} | {
|
8813
|
+
country: string;
|
8814
|
+
district: string;
|
8815
|
+
addressType: "DOMESTIC";
|
8816
|
+
province: string;
|
8817
|
+
urbanOrRural: "RURAL";
|
8818
|
+
village?: string | null | undefined;
|
8819
|
+
} | {
|
8820
|
+
country: string;
|
8821
|
+
state: string;
|
8822
|
+
addressType: "INTERNATIONAL";
|
8823
|
+
district2: string;
|
8824
|
+
cityOrTown?: string | null | undefined;
|
8825
|
+
addressLine1?: string | null | undefined;
|
8826
|
+
addressLine2?: string | null | undefined;
|
8827
|
+
addressLine3?: string | null | undefined;
|
8828
|
+
postcodeOrZip?: string | null | undefined;
|
8829
|
+
} | {
|
8830
|
+
type: string;
|
8831
|
+
option: string;
|
8832
|
+
filename: string;
|
8833
|
+
originalFilename: string;
|
8834
|
+
}[] | undefined>;
|
8835
|
+
annotation?: Record<string, string | number | boolean | {
|
8836
|
+
type: string;
|
8837
|
+
filename: string;
|
8838
|
+
originalFilename: string;
|
8839
|
+
} | {
|
8840
|
+
country: string;
|
8841
|
+
district: string;
|
8842
|
+
addressType: "DOMESTIC";
|
8843
|
+
province: string;
|
8844
|
+
urbanOrRural: "URBAN";
|
8845
|
+
number?: string | null | undefined;
|
8846
|
+
town?: string | null | undefined;
|
8847
|
+
residentialArea?: string | null | undefined;
|
8848
|
+
street?: string | null | undefined;
|
8849
|
+
zipCode?: string | null | undefined;
|
8850
|
+
} | {
|
8851
|
+
country: string;
|
8852
|
+
district: string;
|
8853
|
+
addressType: "DOMESTIC";
|
8854
|
+
province: string;
|
8855
|
+
urbanOrRural: "RURAL";
|
8856
|
+
village?: string | null | undefined;
|
8857
|
+
} | {
|
8858
|
+
country: string;
|
8859
|
+
state: string;
|
8860
|
+
addressType: "INTERNATIONAL";
|
8861
|
+
district2: string;
|
8862
|
+
cityOrTown?: string | null | undefined;
|
8863
|
+
addressLine1?: string | null | undefined;
|
8864
|
+
addressLine2?: string | null | undefined;
|
8865
|
+
addressLine3?: string | null | undefined;
|
8866
|
+
postcodeOrZip?: string | null | undefined;
|
8867
|
+
} | {
|
8868
|
+
type: string;
|
8869
|
+
option: string;
|
8870
|
+
filename: string;
|
8871
|
+
originalFilename: string;
|
8872
|
+
}[] | undefined> | undefined;
|
8873
|
+
createdAtLocation?: string | undefined;
|
8874
|
+
updatedAtLocation?: string | undefined;
|
8875
|
+
originalActionId?: string | undefined;
|
8876
|
+
} | {
|
8877
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
8878
|
+
id: string;
|
8879
|
+
status: "Rejected";
|
8880
|
+
createdAt: string;
|
8881
|
+
updatedAtLocation?: string | undefined;
|
8882
|
+
originalActionId?: string | undefined;
|
8883
|
+
})[];
|
8884
|
+
trackingId: string;
|
8885
|
+
};
|
8886
|
+
}>;
|
8887
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
8888
|
+
input: {
|
8889
|
+
requestId: string;
|
8890
|
+
eventId: string;
|
8891
|
+
transactionId: string;
|
8892
|
+
type?: "REJECT_CORRECTION" | undefined;
|
8893
|
+
declaration?: Record<string, string | number | boolean | {
|
8894
|
+
type: string;
|
8895
|
+
filename: string;
|
8896
|
+
originalFilename: string;
|
8897
|
+
} | {
|
8898
|
+
country: string;
|
8899
|
+
district: string;
|
8900
|
+
addressType: "DOMESTIC";
|
8901
|
+
province: string;
|
8902
|
+
urbanOrRural: "URBAN";
|
8903
|
+
number?: string | null | undefined;
|
8904
|
+
town?: string | null | undefined;
|
8905
|
+
residentialArea?: string | null | undefined;
|
8906
|
+
street?: string | null | undefined;
|
8907
|
+
zipCode?: string | null | undefined;
|
8908
|
+
} | {
|
8909
|
+
country: string;
|
8910
|
+
district: string;
|
8911
|
+
addressType: "DOMESTIC";
|
8912
|
+
province: string;
|
8913
|
+
urbanOrRural: "RURAL";
|
8914
|
+
village?: string | null | undefined;
|
8915
|
+
} | {
|
8916
|
+
country: string;
|
8917
|
+
state: string;
|
8918
|
+
addressType: "INTERNATIONAL";
|
8919
|
+
district2: string;
|
8920
|
+
cityOrTown?: string | null | undefined;
|
8921
|
+
addressLine1?: string | null | undefined;
|
8922
|
+
addressLine2?: string | null | undefined;
|
8923
|
+
addressLine3?: string | null | undefined;
|
8924
|
+
postcodeOrZip?: string | null | undefined;
|
8925
|
+
} | {
|
8926
|
+
type: string;
|
8927
|
+
option: string;
|
8928
|
+
filename: string;
|
8929
|
+
originalFilename: string;
|
8930
|
+
}[] | undefined> | undefined;
|
8931
|
+
annotation?: Record<string, string | number | boolean | {
|
8932
|
+
type: string;
|
8933
|
+
filename: string;
|
8934
|
+
originalFilename: string;
|
8935
|
+
} | {
|
8936
|
+
country: string;
|
8937
|
+
district: string;
|
8938
|
+
addressType: "DOMESTIC";
|
8939
|
+
province: string;
|
8940
|
+
urbanOrRural: "URBAN";
|
8941
|
+
number?: string | null | undefined;
|
8942
|
+
town?: string | null | undefined;
|
8943
|
+
residentialArea?: string | null | undefined;
|
8944
|
+
street?: string | null | undefined;
|
8945
|
+
zipCode?: string | null | undefined;
|
8946
|
+
} | {
|
8947
|
+
country: string;
|
8948
|
+
district: string;
|
8949
|
+
addressType: "DOMESTIC";
|
8950
|
+
province: string;
|
8951
|
+
urbanOrRural: "RURAL";
|
8952
|
+
village?: string | null | undefined;
|
8953
|
+
} | {
|
8954
|
+
country: string;
|
8955
|
+
state: string;
|
8956
|
+
addressType: "INTERNATIONAL";
|
8957
|
+
district2: string;
|
8958
|
+
cityOrTown?: string | null | undefined;
|
8959
|
+
addressLine1?: string | null | undefined;
|
8960
|
+
addressLine2?: string | null | undefined;
|
8961
|
+
addressLine3?: string | null | undefined;
|
8962
|
+
postcodeOrZip?: string | null | undefined;
|
8963
|
+
} | {
|
8964
|
+
type: string;
|
8965
|
+
option: string;
|
8966
|
+
filename: string;
|
8967
|
+
originalFilename: string;
|
8968
|
+
}[] | undefined> | undefined;
|
8969
|
+
originalActionId?: string | undefined;
|
8970
|
+
keepAssignment?: boolean | undefined;
|
8971
|
+
};
|
8972
|
+
output: {
|
8973
|
+
type: string;
|
8974
|
+
id: string;
|
8975
|
+
createdAt: string;
|
8976
|
+
updatedAt: string;
|
8977
|
+
actions: ({
|
8978
|
+
type: "ASSIGN";
|
8979
|
+
id: string;
|
8980
|
+
status: "Rejected" | "Requested" | "Accepted";
|
8981
|
+
createdAt: string;
|
8982
|
+
createdBy: string;
|
8983
|
+
declaration: Record<string, string | number | boolean | {
|
8984
|
+
type: string;
|
8985
|
+
filename: string;
|
8986
|
+
originalFilename: string;
|
8987
|
+
} | {
|
8988
|
+
country: string;
|
8989
|
+
district: string;
|
8990
|
+
addressType: "DOMESTIC";
|
8991
|
+
province: string;
|
8992
|
+
urbanOrRural: "URBAN";
|
8993
|
+
number?: string | null | undefined;
|
8994
|
+
town?: string | null | undefined;
|
8995
|
+
residentialArea?: string | null | undefined;
|
8996
|
+
street?: string | null | undefined;
|
8997
|
+
zipCode?: string | null | undefined;
|
8998
|
+
} | {
|
8999
|
+
country: string;
|
9000
|
+
district: string;
|
9001
|
+
addressType: "DOMESTIC";
|
9002
|
+
province: string;
|
9003
|
+
urbanOrRural: "RURAL";
|
9004
|
+
village?: string | null | undefined;
|
9005
|
+
} | {
|
9006
|
+
country: string;
|
9007
|
+
state: string;
|
9008
|
+
addressType: "INTERNATIONAL";
|
9009
|
+
district2: string;
|
9010
|
+
cityOrTown?: string | null | undefined;
|
9011
|
+
addressLine1?: string | null | undefined;
|
9012
|
+
addressLine2?: string | null | undefined;
|
9013
|
+
addressLine3?: string | null | undefined;
|
9014
|
+
postcodeOrZip?: string | null | undefined;
|
9015
|
+
} | {
|
9016
|
+
type: string;
|
9017
|
+
option: string;
|
9018
|
+
filename: string;
|
9019
|
+
originalFilename: string;
|
9020
|
+
}[] | undefined>;
|
9021
|
+
assignedTo: string;
|
9022
|
+
annotation?: Record<string, string | number | boolean | {
|
9023
|
+
type: string;
|
9024
|
+
filename: string;
|
9025
|
+
originalFilename: string;
|
9026
|
+
} | {
|
9027
|
+
country: string;
|
9028
|
+
district: string;
|
9029
|
+
addressType: "DOMESTIC";
|
9030
|
+
province: string;
|
9031
|
+
urbanOrRural: "URBAN";
|
9032
|
+
number?: string | null | undefined;
|
9033
|
+
town?: string | null | undefined;
|
9034
|
+
residentialArea?: string | null | undefined;
|
9035
|
+
street?: string | null | undefined;
|
9036
|
+
zipCode?: string | null | undefined;
|
9037
|
+
} | {
|
9038
|
+
country: string;
|
9039
|
+
district: string;
|
9040
|
+
addressType: "DOMESTIC";
|
9041
|
+
province: string;
|
9042
|
+
urbanOrRural: "RURAL";
|
9043
|
+
village?: string | null | undefined;
|
9044
|
+
} | {
|
9045
|
+
country: string;
|
9046
|
+
state: string;
|
9047
|
+
addressType: "INTERNATIONAL";
|
9048
|
+
district2: string;
|
9049
|
+
cityOrTown?: string | null | undefined;
|
9050
|
+
addressLine1?: string | null | undefined;
|
9051
|
+
addressLine2?: string | null | undefined;
|
9052
|
+
addressLine3?: string | null | undefined;
|
9053
|
+
postcodeOrZip?: string | null | undefined;
|
9054
|
+
} | {
|
9055
|
+
type: string;
|
9056
|
+
option: string;
|
9057
|
+
filename: string;
|
9058
|
+
originalFilename: string;
|
9059
|
+
}[] | undefined> | undefined;
|
9060
|
+
createdAtLocation?: string | undefined;
|
9061
|
+
updatedAtLocation?: string | undefined;
|
9062
|
+
originalActionId?: string | undefined;
|
9063
|
+
} | {
|
9064
|
+
type: "UNASSIGN";
|
9065
|
+
id: string;
|
9066
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9067
|
+
createdAt: string;
|
9068
|
+
createdBy: string;
|
9069
|
+
declaration: Record<string, string | number | boolean | {
|
9070
|
+
type: string;
|
9071
|
+
filename: string;
|
9072
|
+
originalFilename: string;
|
9073
|
+
} | {
|
9074
|
+
country: string;
|
9075
|
+
district: string;
|
9076
|
+
addressType: "DOMESTIC";
|
9077
|
+
province: string;
|
9078
|
+
urbanOrRural: "URBAN";
|
9079
|
+
number?: string | null | undefined;
|
9080
|
+
town?: string | null | undefined;
|
9081
|
+
residentialArea?: string | null | undefined;
|
9082
|
+
street?: string | null | undefined;
|
9083
|
+
zipCode?: string | null | undefined;
|
9084
|
+
} | {
|
9085
|
+
country: string;
|
9086
|
+
district: string;
|
9087
|
+
addressType: "DOMESTIC";
|
9088
|
+
province: string;
|
9089
|
+
urbanOrRural: "RURAL";
|
9090
|
+
village?: string | null | undefined;
|
9091
|
+
} | {
|
9092
|
+
country: string;
|
9093
|
+
state: string;
|
9094
|
+
addressType: "INTERNATIONAL";
|
9095
|
+
district2: string;
|
9096
|
+
cityOrTown?: string | null | undefined;
|
9097
|
+
addressLine1?: string | null | undefined;
|
9098
|
+
addressLine2?: string | null | undefined;
|
9099
|
+
addressLine3?: string | null | undefined;
|
9100
|
+
postcodeOrZip?: string | null | undefined;
|
9101
|
+
} | {
|
9102
|
+
type: string;
|
9103
|
+
option: string;
|
9104
|
+
filename: string;
|
9105
|
+
originalFilename: string;
|
9106
|
+
}[] | undefined>;
|
9107
|
+
assignedTo: null;
|
9108
|
+
annotation?: Record<string, string | number | boolean | {
|
9109
|
+
type: string;
|
9110
|
+
filename: string;
|
9111
|
+
originalFilename: string;
|
9112
|
+
} | {
|
9113
|
+
country: string;
|
9114
|
+
district: string;
|
9115
|
+
addressType: "DOMESTIC";
|
9116
|
+
province: string;
|
9117
|
+
urbanOrRural: "URBAN";
|
9118
|
+
number?: string | null | undefined;
|
9119
|
+
town?: string | null | undefined;
|
9120
|
+
residentialArea?: string | null | undefined;
|
9121
|
+
street?: string | null | undefined;
|
9122
|
+
zipCode?: string | null | undefined;
|
9123
|
+
} | {
|
9124
|
+
country: string;
|
9125
|
+
district: string;
|
9126
|
+
addressType: "DOMESTIC";
|
9127
|
+
province: string;
|
9128
|
+
urbanOrRural: "RURAL";
|
9129
|
+
village?: string | null | undefined;
|
9130
|
+
} | {
|
9131
|
+
country: string;
|
9132
|
+
state: string;
|
9133
|
+
addressType: "INTERNATIONAL";
|
9134
|
+
district2: string;
|
9135
|
+
cityOrTown?: string | null | undefined;
|
9136
|
+
addressLine1?: string | null | undefined;
|
9137
|
+
addressLine2?: string | null | undefined;
|
9138
|
+
addressLine3?: string | null | undefined;
|
9139
|
+
postcodeOrZip?: string | null | undefined;
|
9140
|
+
} | {
|
9141
|
+
type: string;
|
9142
|
+
option: string;
|
9143
|
+
filename: string;
|
9144
|
+
originalFilename: string;
|
9145
|
+
}[] | undefined> | undefined;
|
9146
|
+
createdAtLocation?: string | undefined;
|
9147
|
+
updatedAtLocation?: string | undefined;
|
9148
|
+
originalActionId?: string | undefined;
|
9149
|
+
} | {
|
9150
|
+
type: "REGISTER";
|
9151
|
+
id: string;
|
9152
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9153
|
+
createdAt: string;
|
9154
|
+
createdBy: string;
|
9155
|
+
declaration: Record<string, string | number | boolean | {
|
9156
|
+
type: string;
|
9157
|
+
filename: string;
|
9158
|
+
originalFilename: string;
|
9159
|
+
} | {
|
9160
|
+
country: string;
|
9161
|
+
district: string;
|
9162
|
+
addressType: "DOMESTIC";
|
9163
|
+
province: string;
|
9164
|
+
urbanOrRural: "URBAN";
|
9165
|
+
number?: string | null | undefined;
|
9166
|
+
town?: string | null | undefined;
|
9167
|
+
residentialArea?: string | null | undefined;
|
9168
|
+
street?: string | null | undefined;
|
9169
|
+
zipCode?: string | null | undefined;
|
9170
|
+
} | {
|
9171
|
+
country: string;
|
9172
|
+
district: string;
|
9173
|
+
addressType: "DOMESTIC";
|
9174
|
+
province: string;
|
9175
|
+
urbanOrRural: "RURAL";
|
9176
|
+
village?: string | null | undefined;
|
9177
|
+
} | {
|
9178
|
+
country: string;
|
9179
|
+
state: string;
|
9180
|
+
addressType: "INTERNATIONAL";
|
9181
|
+
district2: string;
|
9182
|
+
cityOrTown?: string | null | undefined;
|
9183
|
+
addressLine1?: string | null | undefined;
|
9184
|
+
addressLine2?: string | null | undefined;
|
9185
|
+
addressLine3?: string | null | undefined;
|
9186
|
+
postcodeOrZip?: string | null | undefined;
|
9187
|
+
} | {
|
9188
|
+
type: string;
|
9189
|
+
option: string;
|
9190
|
+
filename: string;
|
9191
|
+
originalFilename: string;
|
9192
|
+
}[] | undefined>;
|
9193
|
+
annotation?: Record<string, string | number | boolean | {
|
9194
|
+
type: string;
|
9195
|
+
filename: string;
|
9196
|
+
originalFilename: string;
|
9197
|
+
} | {
|
9198
|
+
country: string;
|
9199
|
+
district: string;
|
9200
|
+
addressType: "DOMESTIC";
|
9201
|
+
province: string;
|
9202
|
+
urbanOrRural: "URBAN";
|
9203
|
+
number?: string | null | undefined;
|
9204
|
+
town?: string | null | undefined;
|
9205
|
+
residentialArea?: string | null | undefined;
|
9206
|
+
street?: string | null | undefined;
|
9207
|
+
zipCode?: string | null | undefined;
|
9208
|
+
} | {
|
9209
|
+
country: string;
|
9210
|
+
district: string;
|
9211
|
+
addressType: "DOMESTIC";
|
9212
|
+
province: string;
|
9213
|
+
urbanOrRural: "RURAL";
|
9214
|
+
village?: string | null | undefined;
|
9215
|
+
} | {
|
9216
|
+
country: string;
|
9217
|
+
state: string;
|
9218
|
+
addressType: "INTERNATIONAL";
|
9219
|
+
district2: string;
|
9220
|
+
cityOrTown?: string | null | undefined;
|
9221
|
+
addressLine1?: string | null | undefined;
|
9222
|
+
addressLine2?: string | null | undefined;
|
9223
|
+
addressLine3?: string | null | undefined;
|
9224
|
+
postcodeOrZip?: string | null | undefined;
|
9225
|
+
} | {
|
9226
|
+
type: string;
|
9227
|
+
option: string;
|
9228
|
+
filename: string;
|
9229
|
+
originalFilename: string;
|
9230
|
+
}[] | undefined> | undefined;
|
9231
|
+
createdAtLocation?: string | undefined;
|
9232
|
+
updatedAtLocation?: string | undefined;
|
9233
|
+
originalActionId?: string | undefined;
|
9234
|
+
registrationNumber?: string | undefined;
|
9235
|
+
} | {
|
9236
|
+
type: "DECLARE";
|
9237
|
+
id: string;
|
9238
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9239
|
+
createdAt: string;
|
9240
|
+
createdBy: string;
|
9241
|
+
declaration: Record<string, string | number | boolean | {
|
9242
|
+
type: string;
|
9243
|
+
filename: string;
|
9244
|
+
originalFilename: string;
|
9245
|
+
} | {
|
9246
|
+
country: string;
|
9247
|
+
district: string;
|
9248
|
+
addressType: "DOMESTIC";
|
9249
|
+
province: string;
|
9250
|
+
urbanOrRural: "URBAN";
|
9251
|
+
number?: string | null | undefined;
|
9252
|
+
town?: string | null | undefined;
|
9253
|
+
residentialArea?: string | null | undefined;
|
9254
|
+
street?: string | null | undefined;
|
9255
|
+
zipCode?: string | null | undefined;
|
9256
|
+
} | {
|
9257
|
+
country: string;
|
9258
|
+
district: string;
|
9259
|
+
addressType: "DOMESTIC";
|
9260
|
+
province: string;
|
9261
|
+
urbanOrRural: "RURAL";
|
9262
|
+
village?: string | null | undefined;
|
9263
|
+
} | {
|
9264
|
+
country: string;
|
9265
|
+
state: string;
|
9266
|
+
addressType: "INTERNATIONAL";
|
9267
|
+
district2: string;
|
9268
|
+
cityOrTown?: string | null | undefined;
|
9269
|
+
addressLine1?: string | null | undefined;
|
9270
|
+
addressLine2?: string | null | undefined;
|
9271
|
+
addressLine3?: string | null | undefined;
|
9272
|
+
postcodeOrZip?: string | null | undefined;
|
9273
|
+
} | {
|
9274
|
+
type: string;
|
9275
|
+
option: string;
|
9276
|
+
filename: string;
|
9277
|
+
originalFilename: string;
|
9278
|
+
}[] | undefined>;
|
9279
|
+
annotation?: Record<string, string | number | boolean | {
|
9280
|
+
type: string;
|
9281
|
+
filename: string;
|
9282
|
+
originalFilename: string;
|
9283
|
+
} | {
|
9284
|
+
country: string;
|
9285
|
+
district: string;
|
9286
|
+
addressType: "DOMESTIC";
|
9287
|
+
province: string;
|
9288
|
+
urbanOrRural: "URBAN";
|
9289
|
+
number?: string | null | undefined;
|
9290
|
+
town?: string | null | undefined;
|
9291
|
+
residentialArea?: string | null | undefined;
|
9292
|
+
street?: string | null | undefined;
|
9293
|
+
zipCode?: string | null | undefined;
|
9294
|
+
} | {
|
9295
|
+
country: string;
|
9296
|
+
district: string;
|
9297
|
+
addressType: "DOMESTIC";
|
9298
|
+
province: string;
|
9299
|
+
urbanOrRural: "RURAL";
|
9300
|
+
village?: string | null | undefined;
|
9301
|
+
} | {
|
9302
|
+
country: string;
|
9303
|
+
state: string;
|
9304
|
+
addressType: "INTERNATIONAL";
|
9305
|
+
district2: string;
|
9306
|
+
cityOrTown?: string | null | undefined;
|
9307
|
+
addressLine1?: string | null | undefined;
|
9308
|
+
addressLine2?: string | null | undefined;
|
9309
|
+
addressLine3?: string | null | undefined;
|
9310
|
+
postcodeOrZip?: string | null | undefined;
|
9311
|
+
} | {
|
9312
|
+
type: string;
|
9313
|
+
option: string;
|
9314
|
+
filename: string;
|
9315
|
+
originalFilename: string;
|
9316
|
+
}[] | undefined> | undefined;
|
9317
|
+
createdAtLocation?: string | undefined;
|
9318
|
+
updatedAtLocation?: string | undefined;
|
9319
|
+
originalActionId?: string | undefined;
|
9320
|
+
} | {
|
9321
|
+
type: "VALIDATE";
|
9322
|
+
id: string;
|
9323
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9324
|
+
createdAt: string;
|
9325
|
+
createdBy: string;
|
9326
|
+
declaration: Record<string, string | number | boolean | {
|
9327
|
+
type: string;
|
9328
|
+
filename: string;
|
9329
|
+
originalFilename: string;
|
9330
|
+
} | {
|
9331
|
+
country: string;
|
9332
|
+
district: string;
|
9333
|
+
addressType: "DOMESTIC";
|
9334
|
+
province: string;
|
9335
|
+
urbanOrRural: "URBAN";
|
9336
|
+
number?: string | null | undefined;
|
9337
|
+
town?: string | null | undefined;
|
9338
|
+
residentialArea?: string | null | undefined;
|
9339
|
+
street?: string | null | undefined;
|
9340
|
+
zipCode?: string | null | undefined;
|
9341
|
+
} | {
|
9342
|
+
country: string;
|
9343
|
+
district: string;
|
9344
|
+
addressType: "DOMESTIC";
|
9345
|
+
province: string;
|
9346
|
+
urbanOrRural: "RURAL";
|
9347
|
+
village?: string | null | undefined;
|
9348
|
+
} | {
|
9349
|
+
country: string;
|
9350
|
+
state: string;
|
9351
|
+
addressType: "INTERNATIONAL";
|
9352
|
+
district2: string;
|
9353
|
+
cityOrTown?: string | null | undefined;
|
9354
|
+
addressLine1?: string | null | undefined;
|
9355
|
+
addressLine2?: string | null | undefined;
|
9356
|
+
addressLine3?: string | null | undefined;
|
9357
|
+
postcodeOrZip?: string | null | undefined;
|
9358
|
+
} | {
|
9359
|
+
type: string;
|
9360
|
+
option: string;
|
9361
|
+
filename: string;
|
9362
|
+
originalFilename: string;
|
9363
|
+
}[] | undefined>;
|
9364
|
+
annotation?: Record<string, string | number | boolean | {
|
9365
|
+
type: string;
|
9366
|
+
filename: string;
|
9367
|
+
originalFilename: string;
|
9368
|
+
} | {
|
9369
|
+
country: string;
|
9370
|
+
district: string;
|
9371
|
+
addressType: "DOMESTIC";
|
9372
|
+
province: string;
|
9373
|
+
urbanOrRural: "URBAN";
|
9374
|
+
number?: string | null | undefined;
|
9375
|
+
town?: string | null | undefined;
|
9376
|
+
residentialArea?: string | null | undefined;
|
9377
|
+
street?: string | null | undefined;
|
9378
|
+
zipCode?: string | null | undefined;
|
9379
|
+
} | {
|
9380
|
+
country: string;
|
9381
|
+
district: string;
|
9382
|
+
addressType: "DOMESTIC";
|
9383
|
+
province: string;
|
9384
|
+
urbanOrRural: "RURAL";
|
9385
|
+
village?: string | null | undefined;
|
9386
|
+
} | {
|
9387
|
+
country: string;
|
9388
|
+
state: string;
|
9389
|
+
addressType: "INTERNATIONAL";
|
9390
|
+
district2: string;
|
9391
|
+
cityOrTown?: string | null | undefined;
|
9392
|
+
addressLine1?: string | null | undefined;
|
9393
|
+
addressLine2?: string | null | undefined;
|
9394
|
+
addressLine3?: string | null | undefined;
|
9395
|
+
postcodeOrZip?: string | null | undefined;
|
9396
|
+
} | {
|
9397
|
+
type: string;
|
9398
|
+
option: string;
|
9399
|
+
filename: string;
|
9400
|
+
originalFilename: string;
|
9401
|
+
}[] | undefined> | undefined;
|
9402
|
+
createdAtLocation?: string | undefined;
|
9403
|
+
updatedAtLocation?: string | undefined;
|
9404
|
+
originalActionId?: string | undefined;
|
9405
|
+
} | {
|
9406
|
+
type: "REJECT";
|
9407
|
+
id: string;
|
9408
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9409
|
+
createdAt: string;
|
9410
|
+
createdBy: string;
|
9411
|
+
declaration: Record<string, string | number | boolean | {
|
9412
|
+
type: string;
|
9413
|
+
filename: string;
|
9414
|
+
originalFilename: string;
|
9415
|
+
} | {
|
9416
|
+
country: string;
|
9417
|
+
district: string;
|
9418
|
+
addressType: "DOMESTIC";
|
9419
|
+
province: string;
|
9420
|
+
urbanOrRural: "URBAN";
|
9421
|
+
number?: string | null | undefined;
|
9422
|
+
town?: string | null | undefined;
|
9423
|
+
residentialArea?: string | null | undefined;
|
9424
|
+
street?: string | null | undefined;
|
9425
|
+
zipCode?: string | null | undefined;
|
9426
|
+
} | {
|
9427
|
+
country: string;
|
9428
|
+
district: string;
|
9429
|
+
addressType: "DOMESTIC";
|
9430
|
+
province: string;
|
9431
|
+
urbanOrRural: "RURAL";
|
9432
|
+
village?: string | null | undefined;
|
9433
|
+
} | {
|
9434
|
+
country: string;
|
9435
|
+
state: string;
|
9436
|
+
addressType: "INTERNATIONAL";
|
9437
|
+
district2: string;
|
9438
|
+
cityOrTown?: string | null | undefined;
|
9439
|
+
addressLine1?: string | null | undefined;
|
9440
|
+
addressLine2?: string | null | undefined;
|
9441
|
+
addressLine3?: string | null | undefined;
|
9442
|
+
postcodeOrZip?: string | null | undefined;
|
9443
|
+
} | {
|
9444
|
+
type: string;
|
9445
|
+
option: string;
|
9446
|
+
filename: string;
|
9447
|
+
originalFilename: string;
|
9448
|
+
}[] | undefined>;
|
9449
|
+
annotation?: Record<string, string | number | boolean | {
|
9450
|
+
type: string;
|
9451
|
+
filename: string;
|
9452
|
+
originalFilename: string;
|
9453
|
+
} | {
|
9454
|
+
country: string;
|
9455
|
+
district: string;
|
9456
|
+
addressType: "DOMESTIC";
|
9457
|
+
province: string;
|
9458
|
+
urbanOrRural: "URBAN";
|
9459
|
+
number?: string | null | undefined;
|
9460
|
+
town?: string | null | undefined;
|
9461
|
+
residentialArea?: string | null | undefined;
|
9462
|
+
street?: string | null | undefined;
|
9463
|
+
zipCode?: string | null | undefined;
|
9464
|
+
} | {
|
9465
|
+
country: string;
|
9466
|
+
district: string;
|
9467
|
+
addressType: "DOMESTIC";
|
9468
|
+
province: string;
|
9469
|
+
urbanOrRural: "RURAL";
|
9470
|
+
village?: string | null | undefined;
|
9471
|
+
} | {
|
9472
|
+
country: string;
|
9473
|
+
state: string;
|
9474
|
+
addressType: "INTERNATIONAL";
|
9475
|
+
district2: string;
|
9476
|
+
cityOrTown?: string | null | undefined;
|
9477
|
+
addressLine1?: string | null | undefined;
|
9478
|
+
addressLine2?: string | null | undefined;
|
9479
|
+
addressLine3?: string | null | undefined;
|
9480
|
+
postcodeOrZip?: string | null | undefined;
|
9481
|
+
} | {
|
9482
|
+
type: string;
|
9483
|
+
option: string;
|
9484
|
+
filename: string;
|
9485
|
+
originalFilename: string;
|
9486
|
+
}[] | undefined> | undefined;
|
9487
|
+
createdAtLocation?: string | undefined;
|
9488
|
+
updatedAtLocation?: string | undefined;
|
9489
|
+
originalActionId?: string | undefined;
|
9490
|
+
} | {
|
9491
|
+
type: "MARKED_AS_DUPLICATE";
|
9492
|
+
id: string;
|
9493
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9494
|
+
createdAt: string;
|
9495
|
+
createdBy: string;
|
9496
|
+
declaration: Record<string, string | number | boolean | {
|
9497
|
+
type: string;
|
9498
|
+
filename: string;
|
9499
|
+
originalFilename: string;
|
9500
|
+
} | {
|
9501
|
+
country: string;
|
9502
|
+
district: string;
|
9503
|
+
addressType: "DOMESTIC";
|
9504
|
+
province: string;
|
9505
|
+
urbanOrRural: "URBAN";
|
9506
|
+
number?: string | null | undefined;
|
9507
|
+
town?: string | null | undefined;
|
9508
|
+
residentialArea?: string | null | undefined;
|
9509
|
+
street?: string | null | undefined;
|
9510
|
+
zipCode?: string | null | undefined;
|
9511
|
+
} | {
|
9512
|
+
country: string;
|
9513
|
+
district: string;
|
9514
|
+
addressType: "DOMESTIC";
|
9515
|
+
province: string;
|
9516
|
+
urbanOrRural: "RURAL";
|
9517
|
+
village?: string | null | undefined;
|
9518
|
+
} | {
|
9519
|
+
country: string;
|
9520
|
+
state: string;
|
9521
|
+
addressType: "INTERNATIONAL";
|
9522
|
+
district2: string;
|
9523
|
+
cityOrTown?: string | null | undefined;
|
9524
|
+
addressLine1?: string | null | undefined;
|
9525
|
+
addressLine2?: string | null | undefined;
|
9526
|
+
addressLine3?: string | null | undefined;
|
9527
|
+
postcodeOrZip?: string | null | undefined;
|
9528
|
+
} | {
|
9529
|
+
type: string;
|
9530
|
+
option: string;
|
9531
|
+
filename: string;
|
9532
|
+
originalFilename: string;
|
9533
|
+
}[] | undefined>;
|
9534
|
+
annotation?: Record<string, string | number | boolean | {
|
9535
|
+
type: string;
|
9536
|
+
filename: string;
|
9537
|
+
originalFilename: string;
|
9538
|
+
} | {
|
9539
|
+
country: string;
|
9540
|
+
district: string;
|
9541
|
+
addressType: "DOMESTIC";
|
9542
|
+
province: string;
|
9543
|
+
urbanOrRural: "URBAN";
|
9544
|
+
number?: string | null | undefined;
|
9545
|
+
town?: string | null | undefined;
|
9546
|
+
residentialArea?: string | null | undefined;
|
9547
|
+
street?: string | null | undefined;
|
9548
|
+
zipCode?: string | null | undefined;
|
9549
|
+
} | {
|
9550
|
+
country: string;
|
9551
|
+
district: string;
|
9552
|
+
addressType: "DOMESTIC";
|
9553
|
+
province: string;
|
9554
|
+
urbanOrRural: "RURAL";
|
9555
|
+
village?: string | null | undefined;
|
9556
|
+
} | {
|
9557
|
+
country: string;
|
9558
|
+
state: string;
|
9559
|
+
addressType: "INTERNATIONAL";
|
9560
|
+
district2: string;
|
9561
|
+
cityOrTown?: string | null | undefined;
|
9562
|
+
addressLine1?: string | null | undefined;
|
9563
|
+
addressLine2?: string | null | undefined;
|
9564
|
+
addressLine3?: string | null | undefined;
|
9565
|
+
postcodeOrZip?: string | null | undefined;
|
9566
|
+
} | {
|
9567
|
+
type: string;
|
9568
|
+
option: string;
|
9569
|
+
filename: string;
|
9570
|
+
originalFilename: string;
|
9571
|
+
}[] | undefined> | undefined;
|
9572
|
+
createdAtLocation?: string | undefined;
|
9573
|
+
updatedAtLocation?: string | undefined;
|
9574
|
+
originalActionId?: string | undefined;
|
9575
|
+
} | {
|
9576
|
+
type: "ARCHIVE";
|
9577
|
+
id: string;
|
9578
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9579
|
+
createdAt: string;
|
9580
|
+
createdBy: string;
|
9581
|
+
declaration: Record<string, string | number | boolean | {
|
9582
|
+
type: string;
|
9583
|
+
filename: string;
|
9584
|
+
originalFilename: string;
|
9585
|
+
} | {
|
9586
|
+
country: string;
|
9587
|
+
district: string;
|
9588
|
+
addressType: "DOMESTIC";
|
9589
|
+
province: string;
|
9590
|
+
urbanOrRural: "URBAN";
|
9591
|
+
number?: string | null | undefined;
|
9592
|
+
town?: string | null | undefined;
|
9593
|
+
residentialArea?: string | null | undefined;
|
9594
|
+
street?: string | null | undefined;
|
9595
|
+
zipCode?: string | null | undefined;
|
9596
|
+
} | {
|
9597
|
+
country: string;
|
9598
|
+
district: string;
|
9599
|
+
addressType: "DOMESTIC";
|
9600
|
+
province: string;
|
9601
|
+
urbanOrRural: "RURAL";
|
9602
|
+
village?: string | null | undefined;
|
9603
|
+
} | {
|
9604
|
+
country: string;
|
9605
|
+
state: string;
|
9606
|
+
addressType: "INTERNATIONAL";
|
9607
|
+
district2: string;
|
9608
|
+
cityOrTown?: string | null | undefined;
|
9609
|
+
addressLine1?: string | null | undefined;
|
9610
|
+
addressLine2?: string | null | undefined;
|
9611
|
+
addressLine3?: string | null | undefined;
|
9612
|
+
postcodeOrZip?: string | null | undefined;
|
9613
|
+
} | {
|
9614
|
+
type: string;
|
9615
|
+
option: string;
|
9616
|
+
filename: string;
|
9617
|
+
originalFilename: string;
|
9618
|
+
}[] | undefined>;
|
9619
|
+
annotation?: Record<string, string | number | boolean | {
|
9620
|
+
type: string;
|
9621
|
+
filename: string;
|
9622
|
+
originalFilename: string;
|
9623
|
+
} | {
|
9624
|
+
country: string;
|
9625
|
+
district: string;
|
9626
|
+
addressType: "DOMESTIC";
|
9627
|
+
province: string;
|
9628
|
+
urbanOrRural: "URBAN";
|
9629
|
+
number?: string | null | undefined;
|
9630
|
+
town?: string | null | undefined;
|
9631
|
+
residentialArea?: string | null | undefined;
|
9632
|
+
street?: string | null | undefined;
|
9633
|
+
zipCode?: string | null | undefined;
|
9634
|
+
} | {
|
9635
|
+
country: string;
|
9636
|
+
district: string;
|
9637
|
+
addressType: "DOMESTIC";
|
9638
|
+
province: string;
|
9639
|
+
urbanOrRural: "RURAL";
|
9640
|
+
village?: string | null | undefined;
|
9641
|
+
} | {
|
9642
|
+
country: string;
|
9643
|
+
state: string;
|
9644
|
+
addressType: "INTERNATIONAL";
|
9645
|
+
district2: string;
|
9646
|
+
cityOrTown?: string | null | undefined;
|
9647
|
+
addressLine1?: string | null | undefined;
|
9648
|
+
addressLine2?: string | null | undefined;
|
9649
|
+
addressLine3?: string | null | undefined;
|
9650
|
+
postcodeOrZip?: string | null | undefined;
|
9651
|
+
} | {
|
9652
|
+
type: string;
|
9653
|
+
option: string;
|
9654
|
+
filename: string;
|
9655
|
+
originalFilename: string;
|
9656
|
+
}[] | undefined> | undefined;
|
9657
|
+
createdAtLocation?: string | undefined;
|
9658
|
+
updatedAtLocation?: string | undefined;
|
9659
|
+
originalActionId?: string | undefined;
|
9660
|
+
} | {
|
9661
|
+
type: "CREATE";
|
9662
|
+
id: string;
|
9663
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9664
|
+
createdAt: string;
|
9665
|
+
createdBy: string;
|
9666
|
+
declaration: Record<string, string | number | boolean | {
|
9667
|
+
type: string;
|
9668
|
+
filename: string;
|
9669
|
+
originalFilename: string;
|
9670
|
+
} | {
|
9671
|
+
country: string;
|
9672
|
+
district: string;
|
9673
|
+
addressType: "DOMESTIC";
|
9674
|
+
province: string;
|
9675
|
+
urbanOrRural: "URBAN";
|
9676
|
+
number?: string | null | undefined;
|
9677
|
+
town?: string | null | undefined;
|
9678
|
+
residentialArea?: string | null | undefined;
|
9679
|
+
street?: string | null | undefined;
|
9680
|
+
zipCode?: string | null | undefined;
|
9681
|
+
} | {
|
9682
|
+
country: string;
|
9683
|
+
district: string;
|
9684
|
+
addressType: "DOMESTIC";
|
9685
|
+
province: string;
|
9686
|
+
urbanOrRural: "RURAL";
|
9687
|
+
village?: string | null | undefined;
|
9688
|
+
} | {
|
9689
|
+
country: string;
|
9690
|
+
state: string;
|
9691
|
+
addressType: "INTERNATIONAL";
|
9692
|
+
district2: string;
|
9693
|
+
cityOrTown?: string | null | undefined;
|
9694
|
+
addressLine1?: string | null | undefined;
|
9695
|
+
addressLine2?: string | null | undefined;
|
9696
|
+
addressLine3?: string | null | undefined;
|
9697
|
+
postcodeOrZip?: string | null | undefined;
|
9698
|
+
} | {
|
9699
|
+
type: string;
|
9700
|
+
option: string;
|
9701
|
+
filename: string;
|
9702
|
+
originalFilename: string;
|
9703
|
+
}[] | undefined>;
|
9704
|
+
annotation?: Record<string, string | number | boolean | {
|
9705
|
+
type: string;
|
9706
|
+
filename: string;
|
9707
|
+
originalFilename: string;
|
9708
|
+
} | {
|
9709
|
+
country: string;
|
9710
|
+
district: string;
|
9711
|
+
addressType: "DOMESTIC";
|
9712
|
+
province: string;
|
9713
|
+
urbanOrRural: "URBAN";
|
9714
|
+
number?: string | null | undefined;
|
9715
|
+
town?: string | null | undefined;
|
9716
|
+
residentialArea?: string | null | undefined;
|
9717
|
+
street?: string | null | undefined;
|
9718
|
+
zipCode?: string | null | undefined;
|
9719
|
+
} | {
|
9720
|
+
country: string;
|
9721
|
+
district: string;
|
9722
|
+
addressType: "DOMESTIC";
|
9723
|
+
province: string;
|
9724
|
+
urbanOrRural: "RURAL";
|
9725
|
+
village?: string | null | undefined;
|
9726
|
+
} | {
|
9727
|
+
country: string;
|
9728
|
+
state: string;
|
9729
|
+
addressType: "INTERNATIONAL";
|
9730
|
+
district2: string;
|
9731
|
+
cityOrTown?: string | null | undefined;
|
9732
|
+
addressLine1?: string | null | undefined;
|
9733
|
+
addressLine2?: string | null | undefined;
|
9734
|
+
addressLine3?: string | null | undefined;
|
9735
|
+
postcodeOrZip?: string | null | undefined;
|
9736
|
+
} | {
|
9737
|
+
type: string;
|
9738
|
+
option: string;
|
9739
|
+
filename: string;
|
9740
|
+
originalFilename: string;
|
9741
|
+
}[] | undefined> | undefined;
|
9742
|
+
createdAtLocation?: string | undefined;
|
9743
|
+
updatedAtLocation?: string | undefined;
|
9744
|
+
originalActionId?: string | undefined;
|
9745
|
+
} | {
|
9746
|
+
type: "NOTIFY";
|
9747
|
+
id: string;
|
9748
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9749
|
+
createdAt: string;
|
9750
|
+
createdBy: string;
|
9751
|
+
declaration: Record<string, string | number | boolean | {
|
9752
|
+
type: string;
|
9753
|
+
filename: string;
|
9754
|
+
originalFilename: string;
|
9755
|
+
} | {
|
9756
|
+
country: string;
|
9757
|
+
district: string;
|
9758
|
+
addressType: "DOMESTIC";
|
9759
|
+
province: string;
|
9760
|
+
urbanOrRural: "URBAN";
|
9761
|
+
number?: string | null | undefined;
|
9762
|
+
town?: string | null | undefined;
|
9763
|
+
residentialArea?: string | null | undefined;
|
9764
|
+
street?: string | null | undefined;
|
9765
|
+
zipCode?: string | null | undefined;
|
9766
|
+
} | {
|
9767
|
+
country: string;
|
9768
|
+
district: string;
|
9769
|
+
addressType: "DOMESTIC";
|
9770
|
+
province: string;
|
9771
|
+
urbanOrRural: "RURAL";
|
9772
|
+
village?: string | null | undefined;
|
9773
|
+
} | {
|
9774
|
+
country: string;
|
9775
|
+
state: string;
|
9776
|
+
addressType: "INTERNATIONAL";
|
9777
|
+
district2: string;
|
9778
|
+
cityOrTown?: string | null | undefined;
|
9779
|
+
addressLine1?: string | null | undefined;
|
9780
|
+
addressLine2?: string | null | undefined;
|
9781
|
+
addressLine3?: string | null | undefined;
|
9782
|
+
postcodeOrZip?: string | null | undefined;
|
9783
|
+
} | {
|
9784
|
+
type: string;
|
9785
|
+
option: string;
|
9786
|
+
filename: string;
|
9787
|
+
originalFilename: string;
|
9788
|
+
}[] | undefined>;
|
9789
|
+
annotation?: Record<string, string | number | boolean | {
|
9790
|
+
type: string;
|
9791
|
+
filename: string;
|
9792
|
+
originalFilename: string;
|
9793
|
+
} | {
|
9794
|
+
country: string;
|
9795
|
+
district: string;
|
9796
|
+
addressType: "DOMESTIC";
|
9797
|
+
province: string;
|
9798
|
+
urbanOrRural: "URBAN";
|
9799
|
+
number?: string | null | undefined;
|
9800
|
+
town?: string | null | undefined;
|
9801
|
+
residentialArea?: string | null | undefined;
|
9802
|
+
street?: string | null | undefined;
|
9803
|
+
zipCode?: string | null | undefined;
|
9804
|
+
} | {
|
9805
|
+
country: string;
|
9806
|
+
district: string;
|
9807
|
+
addressType: "DOMESTIC";
|
9808
|
+
province: string;
|
9809
|
+
urbanOrRural: "RURAL";
|
9810
|
+
village?: string | null | undefined;
|
9811
|
+
} | {
|
9812
|
+
country: string;
|
9813
|
+
state: string;
|
9814
|
+
addressType: "INTERNATIONAL";
|
9815
|
+
district2: string;
|
9816
|
+
cityOrTown?: string | null | undefined;
|
9817
|
+
addressLine1?: string | null | undefined;
|
9818
|
+
addressLine2?: string | null | undefined;
|
9819
|
+
addressLine3?: string | null | undefined;
|
9820
|
+
postcodeOrZip?: string | null | undefined;
|
9821
|
+
} | {
|
9822
|
+
type: string;
|
9823
|
+
option: string;
|
9824
|
+
filename: string;
|
9825
|
+
originalFilename: string;
|
9826
|
+
}[] | undefined> | undefined;
|
9827
|
+
createdAtLocation?: string | undefined;
|
9828
|
+
updatedAtLocation?: string | undefined;
|
9829
|
+
originalActionId?: string | undefined;
|
9830
|
+
} | {
|
9831
|
+
type: "PRINT_CERTIFICATE";
|
9832
|
+
id: string;
|
9833
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9834
|
+
createdAt: string;
|
9835
|
+
createdBy: string;
|
9836
|
+
declaration: Record<string, string | number | boolean | {
|
9837
|
+
type: string;
|
9838
|
+
filename: string;
|
9839
|
+
originalFilename: string;
|
9840
|
+
} | {
|
9841
|
+
country: string;
|
9842
|
+
district: string;
|
9843
|
+
addressType: "DOMESTIC";
|
9844
|
+
province: string;
|
9845
|
+
urbanOrRural: "URBAN";
|
9846
|
+
number?: string | null | undefined;
|
9847
|
+
town?: string | null | undefined;
|
9848
|
+
residentialArea?: string | null | undefined;
|
9849
|
+
street?: string | null | undefined;
|
9850
|
+
zipCode?: string | null | undefined;
|
9851
|
+
} | {
|
9852
|
+
country: string;
|
9853
|
+
district: string;
|
9854
|
+
addressType: "DOMESTIC";
|
9855
|
+
province: string;
|
9856
|
+
urbanOrRural: "RURAL";
|
9857
|
+
village?: string | null | undefined;
|
9858
|
+
} | {
|
9859
|
+
country: string;
|
9860
|
+
state: string;
|
9861
|
+
addressType: "INTERNATIONAL";
|
9862
|
+
district2: string;
|
9863
|
+
cityOrTown?: string | null | undefined;
|
9864
|
+
addressLine1?: string | null | undefined;
|
9865
|
+
addressLine2?: string | null | undefined;
|
9866
|
+
addressLine3?: string | null | undefined;
|
9867
|
+
postcodeOrZip?: string | null | undefined;
|
9868
|
+
} | {
|
9869
|
+
type: string;
|
9870
|
+
option: string;
|
9871
|
+
filename: string;
|
9872
|
+
originalFilename: string;
|
9873
|
+
}[] | undefined>;
|
9874
|
+
annotation?: Record<string, string | number | boolean | {
|
9875
|
+
type: string;
|
9876
|
+
filename: string;
|
9877
|
+
originalFilename: string;
|
9878
|
+
} | {
|
9879
|
+
country: string;
|
9880
|
+
district: string;
|
9881
|
+
addressType: "DOMESTIC";
|
9882
|
+
province: string;
|
9883
|
+
urbanOrRural: "URBAN";
|
9884
|
+
number?: string | null | undefined;
|
9885
|
+
town?: string | null | undefined;
|
9886
|
+
residentialArea?: string | null | undefined;
|
9887
|
+
street?: string | null | undefined;
|
9888
|
+
zipCode?: string | null | undefined;
|
9889
|
+
} | {
|
9890
|
+
country: string;
|
9891
|
+
district: string;
|
9892
|
+
addressType: "DOMESTIC";
|
9893
|
+
province: string;
|
9894
|
+
urbanOrRural: "RURAL";
|
9895
|
+
village?: string | null | undefined;
|
9896
|
+
} | {
|
9897
|
+
country: string;
|
9898
|
+
state: string;
|
9899
|
+
addressType: "INTERNATIONAL";
|
9900
|
+
district2: string;
|
9901
|
+
cityOrTown?: string | null | undefined;
|
9902
|
+
addressLine1?: string | null | undefined;
|
9903
|
+
addressLine2?: string | null | undefined;
|
9904
|
+
addressLine3?: string | null | undefined;
|
9905
|
+
postcodeOrZip?: string | null | undefined;
|
9906
|
+
} | {
|
9907
|
+
type: string;
|
9908
|
+
option: string;
|
9909
|
+
filename: string;
|
9910
|
+
originalFilename: string;
|
9911
|
+
}[] | undefined> | undefined;
|
9912
|
+
createdAtLocation?: string | undefined;
|
9913
|
+
updatedAtLocation?: string | undefined;
|
9914
|
+
originalActionId?: string | undefined;
|
9915
|
+
} | {
|
9916
|
+
type: "REQUEST_CORRECTION";
|
9917
|
+
id: string;
|
9918
|
+
status: "Rejected" | "Requested" | "Accepted";
|
9919
|
+
createdAt: string;
|
9920
|
+
createdBy: string;
|
9921
|
+
declaration: Record<string, string | number | boolean | {
|
9922
|
+
type: string;
|
9923
|
+
filename: string;
|
9924
|
+
originalFilename: string;
|
9925
|
+
} | {
|
9926
|
+
country: string;
|
9927
|
+
district: string;
|
9928
|
+
addressType: "DOMESTIC";
|
9929
|
+
province: string;
|
9930
|
+
urbanOrRural: "URBAN";
|
9931
|
+
number?: string | null | undefined;
|
9932
|
+
town?: string | null | undefined;
|
9933
|
+
residentialArea?: string | null | undefined;
|
9934
|
+
street?: string | null | undefined;
|
9935
|
+
zipCode?: string | null | undefined;
|
9936
|
+
} | {
|
9937
|
+
country: string;
|
9938
|
+
district: string;
|
9939
|
+
addressType: "DOMESTIC";
|
9940
|
+
province: string;
|
9941
|
+
urbanOrRural: "RURAL";
|
9942
|
+
village?: string | null | undefined;
|
9943
|
+
} | {
|
9944
|
+
country: string;
|
9945
|
+
state: string;
|
9946
|
+
addressType: "INTERNATIONAL";
|
9947
|
+
district2: string;
|
9948
|
+
cityOrTown?: string | null | undefined;
|
9949
|
+
addressLine1?: string | null | undefined;
|
9950
|
+
addressLine2?: string | null | undefined;
|
9951
|
+
addressLine3?: string | null | undefined;
|
9952
|
+
postcodeOrZip?: string | null | undefined;
|
9953
|
+
} | {
|
9954
|
+
type: string;
|
9955
|
+
option: string;
|
9956
|
+
filename: string;
|
9957
|
+
originalFilename: string;
|
9958
|
+
}[] | undefined>;
|
9959
|
+
annotation?: Record<string, string | number | boolean | {
|
9960
|
+
type: string;
|
9961
|
+
filename: string;
|
9962
|
+
originalFilename: string;
|
9963
|
+
} | {
|
9964
|
+
country: string;
|
9965
|
+
district: string;
|
9966
|
+
addressType: "DOMESTIC";
|
9967
|
+
province: string;
|
9968
|
+
urbanOrRural: "URBAN";
|
9969
|
+
number?: string | null | undefined;
|
9970
|
+
town?: string | null | undefined;
|
9971
|
+
residentialArea?: string | null | undefined;
|
9972
|
+
street?: string | null | undefined;
|
9973
|
+
zipCode?: string | null | undefined;
|
9974
|
+
} | {
|
9975
|
+
country: string;
|
9976
|
+
district: string;
|
9977
|
+
addressType: "DOMESTIC";
|
9978
|
+
province: string;
|
9979
|
+
urbanOrRural: "RURAL";
|
9980
|
+
village?: string | null | undefined;
|
9981
|
+
} | {
|
9982
|
+
country: string;
|
9983
|
+
state: string;
|
9984
|
+
addressType: "INTERNATIONAL";
|
9985
|
+
district2: string;
|
9986
|
+
cityOrTown?: string | null | undefined;
|
9987
|
+
addressLine1?: string | null | undefined;
|
9988
|
+
addressLine2?: string | null | undefined;
|
9989
|
+
addressLine3?: string | null | undefined;
|
9990
|
+
postcodeOrZip?: string | null | undefined;
|
9991
|
+
} | {
|
9992
|
+
type: string;
|
9993
|
+
option: string;
|
9994
|
+
filename: string;
|
9995
|
+
originalFilename: string;
|
9996
|
+
}[] | undefined> | undefined;
|
9997
|
+
createdAtLocation?: string | undefined;
|
9998
|
+
updatedAtLocation?: string | undefined;
|
9999
|
+
originalActionId?: string | undefined;
|
10000
|
+
} | {
|
10001
|
+
type: "APPROVE_CORRECTION";
|
10002
|
+
id: string;
|
10003
|
+
status: "Rejected" | "Requested" | "Accepted";
|
10004
|
+
createdAt: string;
|
10005
|
+
createdBy: string;
|
10006
|
+
declaration: Record<string, string | number | boolean | {
|
10007
|
+
type: string;
|
10008
|
+
filename: string;
|
10009
|
+
originalFilename: string;
|
10010
|
+
} | {
|
10011
|
+
country: string;
|
10012
|
+
district: string;
|
10013
|
+
addressType: "DOMESTIC";
|
10014
|
+
province: string;
|
10015
|
+
urbanOrRural: "URBAN";
|
10016
|
+
number?: string | null | undefined;
|
10017
|
+
town?: string | null | undefined;
|
10018
|
+
residentialArea?: string | null | undefined;
|
10019
|
+
street?: string | null | undefined;
|
10020
|
+
zipCode?: string | null | undefined;
|
10021
|
+
} | {
|
10022
|
+
country: string;
|
10023
|
+
district: string;
|
10024
|
+
addressType: "DOMESTIC";
|
10025
|
+
province: string;
|
10026
|
+
urbanOrRural: "RURAL";
|
10027
|
+
village?: string | null | undefined;
|
10028
|
+
} | {
|
10029
|
+
country: string;
|
10030
|
+
state: string;
|
10031
|
+
addressType: "INTERNATIONAL";
|
10032
|
+
district2: string;
|
10033
|
+
cityOrTown?: string | null | undefined;
|
10034
|
+
addressLine1?: string | null | undefined;
|
10035
|
+
addressLine2?: string | null | undefined;
|
10036
|
+
addressLine3?: string | null | undefined;
|
10037
|
+
postcodeOrZip?: string | null | undefined;
|
10038
|
+
} | {
|
10039
|
+
type: string;
|
10040
|
+
option: string;
|
10041
|
+
filename: string;
|
10042
|
+
originalFilename: string;
|
10043
|
+
}[] | undefined>;
|
10044
|
+
requestId: string;
|
10045
|
+
annotation?: Record<string, string | number | boolean | {
|
10046
|
+
type: string;
|
10047
|
+
filename: string;
|
10048
|
+
originalFilename: string;
|
10049
|
+
} | {
|
10050
|
+
country: string;
|
10051
|
+
district: string;
|
10052
|
+
addressType: "DOMESTIC";
|
10053
|
+
province: string;
|
10054
|
+
urbanOrRural: "URBAN";
|
10055
|
+
number?: string | null | undefined;
|
10056
|
+
town?: string | null | undefined;
|
10057
|
+
residentialArea?: string | null | undefined;
|
10058
|
+
street?: string | null | undefined;
|
10059
|
+
zipCode?: string | null | undefined;
|
10060
|
+
} | {
|
10061
|
+
country: string;
|
10062
|
+
district: string;
|
10063
|
+
addressType: "DOMESTIC";
|
10064
|
+
province: string;
|
10065
|
+
urbanOrRural: "RURAL";
|
10066
|
+
village?: string | null | undefined;
|
10067
|
+
} | {
|
10068
|
+
country: string;
|
10069
|
+
state: string;
|
10070
|
+
addressType: "INTERNATIONAL";
|
10071
|
+
district2: string;
|
10072
|
+
cityOrTown?: string | null | undefined;
|
10073
|
+
addressLine1?: string | null | undefined;
|
10074
|
+
addressLine2?: string | null | undefined;
|
10075
|
+
addressLine3?: string | null | undefined;
|
10076
|
+
postcodeOrZip?: string | null | undefined;
|
10077
|
+
} | {
|
10078
|
+
type: string;
|
10079
|
+
option: string;
|
10080
|
+
filename: string;
|
10081
|
+
originalFilename: string;
|
10082
|
+
}[] | undefined> | undefined;
|
10083
|
+
createdAtLocation?: string | undefined;
|
10084
|
+
updatedAtLocation?: string | undefined;
|
10085
|
+
originalActionId?: string | undefined;
|
10086
|
+
} | {
|
10087
|
+
type: "REJECT_CORRECTION";
|
10088
|
+
id: string;
|
10089
|
+
status: "Rejected" | "Requested" | "Accepted";
|
10090
|
+
createdAt: string;
|
10091
|
+
createdBy: string;
|
10092
|
+
declaration: Record<string, string | number | boolean | {
|
10093
|
+
type: string;
|
10094
|
+
filename: string;
|
10095
|
+
originalFilename: string;
|
10096
|
+
} | {
|
10097
|
+
country: string;
|
10098
|
+
district: string;
|
10099
|
+
addressType: "DOMESTIC";
|
10100
|
+
province: string;
|
10101
|
+
urbanOrRural: "URBAN";
|
10102
|
+
number?: string | null | undefined;
|
10103
|
+
town?: string | null | undefined;
|
10104
|
+
residentialArea?: string | null | undefined;
|
10105
|
+
street?: string | null | undefined;
|
10106
|
+
zipCode?: string | null | undefined;
|
10107
|
+
} | {
|
10108
|
+
country: string;
|
10109
|
+
district: string;
|
10110
|
+
addressType: "DOMESTIC";
|
10111
|
+
province: string;
|
10112
|
+
urbanOrRural: "RURAL";
|
10113
|
+
village?: string | null | undefined;
|
10114
|
+
} | {
|
10115
|
+
country: string;
|
10116
|
+
state: string;
|
10117
|
+
addressType: "INTERNATIONAL";
|
10118
|
+
district2: string;
|
10119
|
+
cityOrTown?: string | null | undefined;
|
10120
|
+
addressLine1?: string | null | undefined;
|
10121
|
+
addressLine2?: string | null | undefined;
|
10122
|
+
addressLine3?: string | null | undefined;
|
10123
|
+
postcodeOrZip?: string | null | undefined;
|
10124
|
+
} | {
|
10125
|
+
type: string;
|
10126
|
+
option: string;
|
10127
|
+
filename: string;
|
10128
|
+
originalFilename: string;
|
10129
|
+
}[] | undefined>;
|
10130
|
+
requestId: string;
|
10131
|
+
annotation?: Record<string, string | number | boolean | {
|
10132
|
+
type: string;
|
10133
|
+
filename: string;
|
10134
|
+
originalFilename: string;
|
10135
|
+
} | {
|
10136
|
+
country: string;
|
10137
|
+
district: string;
|
10138
|
+
addressType: "DOMESTIC";
|
10139
|
+
province: string;
|
10140
|
+
urbanOrRural: "URBAN";
|
10141
|
+
number?: string | null | undefined;
|
10142
|
+
town?: string | null | undefined;
|
10143
|
+
residentialArea?: string | null | undefined;
|
10144
|
+
street?: string | null | undefined;
|
10145
|
+
zipCode?: string | null | undefined;
|
10146
|
+
} | {
|
10147
|
+
country: string;
|
10148
|
+
district: string;
|
10149
|
+
addressType: "DOMESTIC";
|
10150
|
+
province: string;
|
10151
|
+
urbanOrRural: "RURAL";
|
10152
|
+
village?: string | null | undefined;
|
10153
|
+
} | {
|
10154
|
+
country: string;
|
10155
|
+
state: string;
|
10156
|
+
addressType: "INTERNATIONAL";
|
10157
|
+
district2: string;
|
10158
|
+
cityOrTown?: string | null | undefined;
|
10159
|
+
addressLine1?: string | null | undefined;
|
10160
|
+
addressLine2?: string | null | undefined;
|
10161
|
+
addressLine3?: string | null | undefined;
|
10162
|
+
postcodeOrZip?: string | null | undefined;
|
10163
|
+
} | {
|
10164
|
+
type: string;
|
10165
|
+
option: string;
|
10166
|
+
filename: string;
|
10167
|
+
originalFilename: string;
|
10168
|
+
}[] | undefined> | undefined;
|
10169
|
+
createdAtLocation?: string | undefined;
|
10170
|
+
updatedAtLocation?: string | undefined;
|
10171
|
+
originalActionId?: string | undefined;
|
10172
|
+
} | {
|
10173
|
+
type: "READ";
|
10174
|
+
id: string;
|
10175
|
+
status: "Rejected" | "Requested" | "Accepted";
|
10176
|
+
createdAt: string;
|
10177
|
+
createdBy: string;
|
10178
|
+
declaration: Record<string, string | number | boolean | {
|
10179
|
+
type: string;
|
10180
|
+
filename: string;
|
10181
|
+
originalFilename: string;
|
10182
|
+
} | {
|
10183
|
+
country: string;
|
10184
|
+
district: string;
|
10185
|
+
addressType: "DOMESTIC";
|
10186
|
+
province: string;
|
10187
|
+
urbanOrRural: "URBAN";
|
10188
|
+
number?: string | null | undefined;
|
10189
|
+
town?: string | null | undefined;
|
10190
|
+
residentialArea?: string | null | undefined;
|
10191
|
+
street?: string | null | undefined;
|
10192
|
+
zipCode?: string | null | undefined;
|
10193
|
+
} | {
|
10194
|
+
country: string;
|
10195
|
+
district: string;
|
10196
|
+
addressType: "DOMESTIC";
|
10197
|
+
province: string;
|
10198
|
+
urbanOrRural: "RURAL";
|
10199
|
+
village?: string | null | undefined;
|
10200
|
+
} | {
|
10201
|
+
country: string;
|
10202
|
+
state: string;
|
10203
|
+
addressType: "INTERNATIONAL";
|
10204
|
+
district2: string;
|
10205
|
+
cityOrTown?: string | null | undefined;
|
10206
|
+
addressLine1?: string | null | undefined;
|
10207
|
+
addressLine2?: string | null | undefined;
|
10208
|
+
addressLine3?: string | null | undefined;
|
10209
|
+
postcodeOrZip?: string | null | undefined;
|
10210
|
+
} | {
|
10211
|
+
type: string;
|
10212
|
+
option: string;
|
10213
|
+
filename: string;
|
10214
|
+
originalFilename: string;
|
10215
|
+
}[] | undefined>;
|
10216
|
+
annotation?: Record<string, string | number | boolean | {
|
10217
|
+
type: string;
|
10218
|
+
filename: string;
|
10219
|
+
originalFilename: string;
|
10220
|
+
} | {
|
10221
|
+
country: string;
|
10222
|
+
district: string;
|
10223
|
+
addressType: "DOMESTIC";
|
10224
|
+
province: string;
|
10225
|
+
urbanOrRural: "URBAN";
|
10226
|
+
number?: string | null | undefined;
|
10227
|
+
town?: string | null | undefined;
|
10228
|
+
residentialArea?: string | null | undefined;
|
10229
|
+
street?: string | null | undefined;
|
10230
|
+
zipCode?: string | null | undefined;
|
10231
|
+
} | {
|
10232
|
+
country: string;
|
10233
|
+
district: string;
|
10234
|
+
addressType: "DOMESTIC";
|
10235
|
+
province: string;
|
10236
|
+
urbanOrRural: "RURAL";
|
10237
|
+
village?: string | null | undefined;
|
10238
|
+
} | {
|
10239
|
+
country: string;
|
10240
|
+
state: string;
|
10241
|
+
addressType: "INTERNATIONAL";
|
10242
|
+
district2: string;
|
10243
|
+
cityOrTown?: string | null | undefined;
|
10244
|
+
addressLine1?: string | null | undefined;
|
10245
|
+
addressLine2?: string | null | undefined;
|
10246
|
+
addressLine3?: string | null | undefined;
|
10247
|
+
postcodeOrZip?: string | null | undefined;
|
10248
|
+
} | {
|
10249
|
+
type: string;
|
10250
|
+
option: string;
|
10251
|
+
filename: string;
|
10252
|
+
originalFilename: string;
|
10253
|
+
}[] | undefined> | undefined;
|
10254
|
+
createdAtLocation?: string | undefined;
|
10255
|
+
updatedAtLocation?: string | undefined;
|
10256
|
+
originalActionId?: string | undefined;
|
10257
|
+
} | {
|
10258
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
10259
|
+
id: string;
|
10260
|
+
status: "Rejected";
|
10261
|
+
createdAt: string;
|
10262
|
+
updatedAtLocation?: string | undefined;
|
10263
|
+
originalActionId?: string | undefined;
|
10264
|
+
})[];
|
10265
|
+
trackingId: string;
|
10266
|
+
};
|
10267
|
+
}>;
|
10268
|
+
}>>;
|
10269
|
+
}>>;
|
10270
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
10271
|
+
input: void;
|
10272
|
+
output: {
|
10273
|
+
type: string;
|
10274
|
+
id: string;
|
10275
|
+
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
10276
|
+
createdAt: string;
|
10277
|
+
createdBy: string;
|
10278
|
+
declaration: Record<string, any>;
|
10279
|
+
createdAtLocation: string;
|
10280
|
+
updatedAtLocation: string;
|
10281
|
+
updatedAt: string;
|
10282
|
+
trackingId: string;
|
10283
|
+
updatedBy: string;
|
10284
|
+
assignedTo?: string | null | undefined;
|
10285
|
+
registrationNumber?: string | null | undefined;
|
10286
|
+
}[];
|
10287
|
+
}>;
|
10288
|
+
search: import("@trpc/server").TRPCQueryProcedure<{
|
10289
|
+
input: {
|
10290
|
+
type?: "and" | undefined;
|
10291
|
+
status?: {
|
10292
|
+
type: "exact";
|
10293
|
+
term: string;
|
10294
|
+
} | {
|
10295
|
+
type: "anyOf";
|
10296
|
+
terms: string[];
|
10297
|
+
} | undefined;
|
10298
|
+
data?: any;
|
10299
|
+
createdAt?: {
|
10300
|
+
type: "exact";
|
10301
|
+
term: string;
|
10302
|
+
} | {
|
10303
|
+
type: "range";
|
10304
|
+
gte: string;
|
10305
|
+
lte: string;
|
10306
|
+
} | undefined;
|
10307
|
+
createdBy?: {
|
10308
|
+
type: "exact";
|
10309
|
+
term: string;
|
10310
|
+
} | undefined;
|
10311
|
+
updatedAtLocation?: {
|
10312
|
+
type: "exact";
|
10313
|
+
term: string;
|
10314
|
+
} | {
|
10315
|
+
type: "within";
|
10316
|
+
location: string;
|
10317
|
+
} | undefined;
|
10318
|
+
updatedAt?: {
|
10319
|
+
type: "exact";
|
10320
|
+
term: string;
|
10321
|
+
} | {
|
10322
|
+
type: "range";
|
10323
|
+
gte: string;
|
10324
|
+
lte: string;
|
10325
|
+
} | undefined;
|
10326
|
+
trackingId?: {
|
10327
|
+
type: "exact";
|
10328
|
+
term: string;
|
10329
|
+
} | undefined;
|
10330
|
+
updatedBy?: {
|
10331
|
+
type: "exact";
|
10332
|
+
term: string;
|
10333
|
+
} | undefined;
|
10334
|
+
eventType?: string | undefined;
|
10335
|
+
searchType?: {
|
10336
|
+
type: "exact";
|
10337
|
+
term: string;
|
10338
|
+
} | {
|
10339
|
+
type: "anyOf";
|
10340
|
+
terms: string[];
|
10341
|
+
} | undefined;
|
10342
|
+
createAtLocation?: {
|
10343
|
+
type: "exact";
|
10344
|
+
term: string;
|
10345
|
+
} | {
|
10346
|
+
type: "within";
|
10347
|
+
location: string;
|
10348
|
+
} | undefined;
|
10349
|
+
} | {
|
10350
|
+
type: "or";
|
10351
|
+
clauses: {
|
10352
|
+
type?: "and" | undefined;
|
10353
|
+
status?: {
|
10354
|
+
type: "exact";
|
10355
|
+
term: string;
|
10356
|
+
} | {
|
10357
|
+
type: "anyOf";
|
10358
|
+
terms: string[];
|
10359
|
+
} | undefined;
|
10360
|
+
data?: any;
|
10361
|
+
createdAt?: {
|
10362
|
+
type: "exact";
|
10363
|
+
term: string;
|
10364
|
+
} | {
|
10365
|
+
type: "range";
|
10366
|
+
gte: string;
|
10367
|
+
lte: string;
|
10368
|
+
} | undefined;
|
10369
|
+
createdBy?: {
|
10370
|
+
type: "exact";
|
10371
|
+
term: string;
|
10372
|
+
} | undefined;
|
10373
|
+
updatedAtLocation?: {
|
10374
|
+
type: "exact";
|
10375
|
+
term: string;
|
10376
|
+
} | {
|
10377
|
+
type: "within";
|
10378
|
+
location: string;
|
10379
|
+
} | undefined;
|
10380
|
+
updatedAt?: {
|
10381
|
+
type: "exact";
|
10382
|
+
term: string;
|
10383
|
+
} | {
|
10384
|
+
type: "range";
|
10385
|
+
gte: string;
|
10386
|
+
lte: string;
|
10387
|
+
} | undefined;
|
10388
|
+
trackingId?: {
|
10389
|
+
type: "exact";
|
10390
|
+
term: string;
|
10391
|
+
} | undefined;
|
10392
|
+
updatedBy?: {
|
10393
|
+
type: "exact";
|
10394
|
+
term: string;
|
10395
|
+
} | undefined;
|
10396
|
+
eventType?: string | undefined;
|
10397
|
+
searchType?: {
|
10398
|
+
type: "exact";
|
10399
|
+
term: string;
|
10400
|
+
} | {
|
10401
|
+
type: "anyOf";
|
10402
|
+
terms: string[];
|
10403
|
+
} | undefined;
|
10404
|
+
createAtLocation?: {
|
10405
|
+
type: "exact";
|
10406
|
+
term: string;
|
10407
|
+
} | {
|
10408
|
+
type: "within";
|
10409
|
+
location: string;
|
10410
|
+
} | undefined;
|
10411
|
+
}[];
|
10412
|
+
};
|
10413
|
+
output: {
|
10414
|
+
type: string;
|
10415
|
+
id: string;
|
10416
|
+
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
10417
|
+
createdAt: string;
|
10418
|
+
createdBy: string;
|
10419
|
+
declaration: Record<string, any>;
|
10420
|
+
createdAtLocation: string;
|
10421
|
+
updatedAtLocation: string;
|
10422
|
+
updatedAt: string;
|
10423
|
+
trackingId: string;
|
10424
|
+
updatedBy: string;
|
10425
|
+
assignedTo?: string | null | undefined;
|
10426
|
+
registrationNumber?: string | null | undefined;
|
10427
|
+
}[];
|
10428
|
+
}>;
|
10429
|
+
}>>;
|
10430
|
+
user: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
|
10431
|
+
ctx: import("./middleware").Context;
|
10432
|
+
meta: object;
|
10433
|
+
errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
|
10434
|
+
transformer: true;
|
10435
|
+
}, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
|
10436
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
10437
|
+
input: string;
|
10438
|
+
output: {
|
10439
|
+
id: string;
|
10440
|
+
name: {
|
10441
|
+
use: string;
|
10442
|
+
given: string[];
|
10443
|
+
family: string;
|
10444
|
+
}[];
|
10445
|
+
role: string;
|
10446
|
+
};
|
10447
|
+
}>;
|
7447
10448
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
7448
10449
|
input: string[];
|
7449
10450
|
output: {
|