@opencrvs/toolkit 1.8.1-rc.7e34683 → 1.8.1-rc.7f85c6f
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 +24 -404
- package/dist/commons/events/ActionDocument.d.ts +36 -659
- package/dist/commons/events/ActionInput.d.ts +36 -540
- package/dist/commons/events/Draft.d.ts +0 -44
- package/dist/commons/events/EventDocument.d.ts +26 -416
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +0 -4
- package/dist/events/index.js +11 -14
- package/package.json +1 -1
@@ -179,10 +179,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
179
179
|
start: string;
|
180
180
|
end: string;
|
181
181
|
} | null | undefined> | null | undefined;
|
182
|
-
actionDetails?: {
|
183
|
-
templateId?: string | undefined;
|
184
|
-
isImmediateCorrection?: boolean | undefined;
|
185
|
-
} | null | undefined;
|
186
182
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
187
183
|
} | {
|
188
184
|
type: "UNASSIGN";
|
@@ -285,10 +281,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
285
281
|
start: string;
|
286
282
|
end: string;
|
287
283
|
} | null | undefined> | null | undefined;
|
288
|
-
actionDetails?: {
|
289
|
-
templateId?: string | undefined;
|
290
|
-
isImmediateCorrection?: boolean | undefined;
|
291
|
-
} | null | undefined;
|
292
284
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
293
285
|
} | {
|
294
286
|
type: "REGISTER";
|
@@ -391,10 +383,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
391
383
|
start: string;
|
392
384
|
end: string;
|
393
385
|
} | null | undefined> | null | undefined;
|
394
|
-
actionDetails?: {
|
395
|
-
templateId?: string | undefined;
|
396
|
-
isImmediateCorrection?: boolean | undefined;
|
397
|
-
} | null | undefined;
|
398
386
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
399
387
|
registrationNumber?: string | undefined;
|
400
388
|
} | {
|
@@ -498,10 +486,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
498
486
|
start: string;
|
499
487
|
end: string;
|
500
488
|
} | null | undefined> | null | undefined;
|
501
|
-
actionDetails?: {
|
502
|
-
templateId?: string | undefined;
|
503
|
-
isImmediateCorrection?: boolean | undefined;
|
504
|
-
} | null | undefined;
|
505
489
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
506
490
|
} | {
|
507
491
|
type: "VALIDATE";
|
@@ -604,10 +588,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
604
588
|
start: string;
|
605
589
|
end: string;
|
606
590
|
} | null | undefined> | null | undefined;
|
607
|
-
actionDetails?: {
|
608
|
-
templateId?: string | undefined;
|
609
|
-
isImmediateCorrection?: boolean | undefined;
|
610
|
-
} | null | undefined;
|
611
591
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
612
592
|
} | {
|
613
593
|
type: "REJECT";
|
@@ -714,10 +694,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
714
694
|
start: string;
|
715
695
|
end: string;
|
716
696
|
} | null | undefined> | null | undefined;
|
717
|
-
actionDetails?: {
|
718
|
-
templateId?: string | undefined;
|
719
|
-
isImmediateCorrection?: boolean | undefined;
|
720
|
-
} | null | undefined;
|
721
697
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
722
698
|
} | {
|
723
699
|
type: "MARKED_AS_DUPLICATE";
|
@@ -820,10 +796,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
820
796
|
start: string;
|
821
797
|
end: string;
|
822
798
|
} | null | undefined> | null | undefined;
|
823
|
-
actionDetails?: {
|
824
|
-
templateId?: string | undefined;
|
825
|
-
isImmediateCorrection?: boolean | undefined;
|
826
|
-
} | null | undefined;
|
827
799
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
828
800
|
} | {
|
829
801
|
type: "ARCHIVE";
|
@@ -930,10 +902,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
930
902
|
start: string;
|
931
903
|
end: string;
|
932
904
|
} | null | undefined> | null | undefined;
|
933
|
-
actionDetails?: {
|
934
|
-
templateId?: string | undefined;
|
935
|
-
isImmediateCorrection?: boolean | undefined;
|
936
|
-
} | null | undefined;
|
937
905
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
938
906
|
} | {
|
939
907
|
type: "CREATE";
|
@@ -1036,10 +1004,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1036
1004
|
start: string;
|
1037
1005
|
end: string;
|
1038
1006
|
} | null | undefined> | null | undefined;
|
1039
|
-
actionDetails?: {
|
1040
|
-
templateId?: string | undefined;
|
1041
|
-
isImmediateCorrection?: boolean | undefined;
|
1042
|
-
} | null | undefined;
|
1043
1007
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1044
1008
|
} | {
|
1045
1009
|
type: "NOTIFY";
|
@@ -1142,10 +1106,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1142
1106
|
start: string;
|
1143
1107
|
end: string;
|
1144
1108
|
} | null | undefined> | null | undefined;
|
1145
|
-
actionDetails?: {
|
1146
|
-
templateId?: string | undefined;
|
1147
|
-
isImmediateCorrection?: boolean | undefined;
|
1148
|
-
} | null | undefined;
|
1149
1109
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1150
1110
|
} | {
|
1151
1111
|
type: "PRINT_CERTIFICATE";
|
@@ -1248,10 +1208,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1248
1208
|
start: string;
|
1249
1209
|
end: string;
|
1250
1210
|
} | null | undefined> | null | undefined;
|
1251
|
-
actionDetails?: {
|
1252
|
-
templateId?: string | undefined;
|
1253
|
-
isImmediateCorrection?: boolean | undefined;
|
1254
|
-
} | null | undefined;
|
1255
1211
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1256
1212
|
} | {
|
1257
1213
|
type: "REQUEST_CORRECTION";
|
@@ -1354,10 +1310,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1354
1310
|
start: string;
|
1355
1311
|
end: string;
|
1356
1312
|
} | null | undefined> | null | undefined;
|
1357
|
-
actionDetails?: {
|
1358
|
-
templateId?: string | undefined;
|
1359
|
-
isImmediateCorrection?: boolean | undefined;
|
1360
|
-
} | null | undefined;
|
1361
1313
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1362
1314
|
} | {
|
1363
1315
|
type: "APPROVE_CORRECTION";
|
@@ -1461,15 +1413,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1461
1413
|
start: string;
|
1462
1414
|
end: string;
|
1463
1415
|
} | null | undefined> | null | undefined;
|
1464
|
-
actionDetails?: {
|
1465
|
-
templateId?: string | undefined;
|
1466
|
-
isImmediateCorrection?: boolean | undefined;
|
1467
|
-
} | null | undefined;
|
1468
1416
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1469
1417
|
} | {
|
1470
1418
|
type: "REJECT_CORRECTION";
|
1471
1419
|
id: string & import("zod").BRAND<"UUID">;
|
1472
1420
|
status: "Rejected" | "Requested" | "Accepted";
|
1421
|
+
reason: {
|
1422
|
+
message: string;
|
1423
|
+
isDuplicate?: boolean | undefined;
|
1424
|
+
};
|
1473
1425
|
transactionId: string;
|
1474
1426
|
createdByUserType: "system" | "user";
|
1475
1427
|
createdAt: string;
|
@@ -1568,10 +1520,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1568
1520
|
start: string;
|
1569
1521
|
end: string;
|
1570
1522
|
} | null | undefined> | null | undefined;
|
1571
|
-
actionDetails?: {
|
1572
|
-
templateId?: string | undefined;
|
1573
|
-
isImmediateCorrection?: boolean | undefined;
|
1574
|
-
} | null | undefined;
|
1575
1523
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1576
1524
|
} | {
|
1577
1525
|
type: "READ";
|
@@ -1674,10 +1622,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1674
1622
|
start: string;
|
1675
1623
|
end: string;
|
1676
1624
|
} | null | undefined> | null | undefined;
|
1677
|
-
actionDetails?: {
|
1678
|
-
templateId?: string | undefined;
|
1679
|
-
isImmediateCorrection?: boolean | undefined;
|
1680
|
-
} | null | undefined;
|
1681
1625
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1682
1626
|
} | {
|
1683
1627
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -1690,10 +1634,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1690
1634
|
createdByRole: string;
|
1691
1635
|
createdBySignature?: string | null | undefined;
|
1692
1636
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1693
|
-
actionDetails?: {
|
1694
|
-
templateId?: string | undefined;
|
1695
|
-
isImmediateCorrection?: boolean | undefined;
|
1696
|
-
} | null | undefined;
|
1697
1637
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1698
1638
|
})[];
|
1699
1639
|
trackingId: string;
|
@@ -1809,10 +1749,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1809
1749
|
start: string;
|
1810
1750
|
end: string;
|
1811
1751
|
} | null | undefined> | null | undefined;
|
1812
|
-
actionDetails?: {
|
1813
|
-
templateId?: string | undefined;
|
1814
|
-
isImmediateCorrection?: boolean | undefined;
|
1815
|
-
} | null | undefined;
|
1816
1752
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1817
1753
|
} | {
|
1818
1754
|
type: "UNASSIGN";
|
@@ -1915,10 +1851,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1915
1851
|
start: string;
|
1916
1852
|
end: string;
|
1917
1853
|
} | null | undefined> | null | undefined;
|
1918
|
-
actionDetails?: {
|
1919
|
-
templateId?: string | undefined;
|
1920
|
-
isImmediateCorrection?: boolean | undefined;
|
1921
|
-
} | null | undefined;
|
1922
1854
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1923
1855
|
} | {
|
1924
1856
|
type: "REGISTER";
|
@@ -2021,10 +1953,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2021
1953
|
start: string;
|
2022
1954
|
end: string;
|
2023
1955
|
} | null | undefined> | null | undefined;
|
2024
|
-
actionDetails?: {
|
2025
|
-
templateId?: string | undefined;
|
2026
|
-
isImmediateCorrection?: boolean | undefined;
|
2027
|
-
} | null | undefined;
|
2028
1956
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2029
1957
|
registrationNumber?: string | undefined;
|
2030
1958
|
} | {
|
@@ -2128,10 +2056,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2128
2056
|
start: string;
|
2129
2057
|
end: string;
|
2130
2058
|
} | null | undefined> | null | undefined;
|
2131
|
-
actionDetails?: {
|
2132
|
-
templateId?: string | undefined;
|
2133
|
-
isImmediateCorrection?: boolean | undefined;
|
2134
|
-
} | null | undefined;
|
2135
2059
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2136
2060
|
} | {
|
2137
2061
|
type: "VALIDATE";
|
@@ -2234,10 +2158,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2234
2158
|
start: string;
|
2235
2159
|
end: string;
|
2236
2160
|
} | null | undefined> | null | undefined;
|
2237
|
-
actionDetails?: {
|
2238
|
-
templateId?: string | undefined;
|
2239
|
-
isImmediateCorrection?: boolean | undefined;
|
2240
|
-
} | null | undefined;
|
2241
2161
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2242
2162
|
} | {
|
2243
2163
|
type: "REJECT";
|
@@ -2344,10 +2264,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2344
2264
|
start: string;
|
2345
2265
|
end: string;
|
2346
2266
|
} | null | undefined> | null | undefined;
|
2347
|
-
actionDetails?: {
|
2348
|
-
templateId?: string | undefined;
|
2349
|
-
isImmediateCorrection?: boolean | undefined;
|
2350
|
-
} | null | undefined;
|
2351
2267
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2352
2268
|
} | {
|
2353
2269
|
type: "MARKED_AS_DUPLICATE";
|
@@ -2450,10 +2366,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2450
2366
|
start: string;
|
2451
2367
|
end: string;
|
2452
2368
|
} | null | undefined> | null | undefined;
|
2453
|
-
actionDetails?: {
|
2454
|
-
templateId?: string | undefined;
|
2455
|
-
isImmediateCorrection?: boolean | undefined;
|
2456
|
-
} | null | undefined;
|
2457
2369
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2458
2370
|
} | {
|
2459
2371
|
type: "ARCHIVE";
|
@@ -2560,10 +2472,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2560
2472
|
start: string;
|
2561
2473
|
end: string;
|
2562
2474
|
} | null | undefined> | null | undefined;
|
2563
|
-
actionDetails?: {
|
2564
|
-
templateId?: string | undefined;
|
2565
|
-
isImmediateCorrection?: boolean | undefined;
|
2566
|
-
} | null | undefined;
|
2567
2475
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2568
2476
|
} | {
|
2569
2477
|
type: "CREATE";
|
@@ -2666,10 +2574,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2666
2574
|
start: string;
|
2667
2575
|
end: string;
|
2668
2576
|
} | null | undefined> | null | undefined;
|
2669
|
-
actionDetails?: {
|
2670
|
-
templateId?: string | undefined;
|
2671
|
-
isImmediateCorrection?: boolean | undefined;
|
2672
|
-
} | null | undefined;
|
2673
2577
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2674
2578
|
} | {
|
2675
2579
|
type: "NOTIFY";
|
@@ -2772,10 +2676,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2772
2676
|
start: string;
|
2773
2677
|
end: string;
|
2774
2678
|
} | null | undefined> | null | undefined;
|
2775
|
-
actionDetails?: {
|
2776
|
-
templateId?: string | undefined;
|
2777
|
-
isImmediateCorrection?: boolean | undefined;
|
2778
|
-
} | null | undefined;
|
2779
2679
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2780
2680
|
} | {
|
2781
2681
|
type: "PRINT_CERTIFICATE";
|
@@ -2878,10 +2778,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2878
2778
|
start: string;
|
2879
2779
|
end: string;
|
2880
2780
|
} | null | undefined> | null | undefined;
|
2881
|
-
actionDetails?: {
|
2882
|
-
templateId?: string | undefined;
|
2883
|
-
isImmediateCorrection?: boolean | undefined;
|
2884
|
-
} | null | undefined;
|
2885
2781
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2886
2782
|
} | {
|
2887
2783
|
type: "REQUEST_CORRECTION";
|
@@ -2984,10 +2880,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2984
2880
|
start: string;
|
2985
2881
|
end: string;
|
2986
2882
|
} | null | undefined> | null | undefined;
|
2987
|
-
actionDetails?: {
|
2988
|
-
templateId?: string | undefined;
|
2989
|
-
isImmediateCorrection?: boolean | undefined;
|
2990
|
-
} | null | undefined;
|
2991
2883
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2992
2884
|
} | {
|
2993
2885
|
type: "APPROVE_CORRECTION";
|
@@ -3091,15 +2983,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3091
2983
|
start: string;
|
3092
2984
|
end: string;
|
3093
2985
|
} | null | undefined> | null | undefined;
|
3094
|
-
actionDetails?: {
|
3095
|
-
templateId?: string | undefined;
|
3096
|
-
isImmediateCorrection?: boolean | undefined;
|
3097
|
-
} | null | undefined;
|
3098
2986
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3099
2987
|
} | {
|
3100
2988
|
type: "REJECT_CORRECTION";
|
3101
2989
|
id: string & import("zod").BRAND<"UUID">;
|
3102
2990
|
status: "Rejected" | "Requested" | "Accepted";
|
2991
|
+
reason: {
|
2992
|
+
message: string;
|
2993
|
+
isDuplicate?: boolean | undefined;
|
2994
|
+
};
|
3103
2995
|
transactionId: string;
|
3104
2996
|
createdByUserType: "system" | "user";
|
3105
2997
|
createdAt: string;
|
@@ -3198,10 +3090,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3198
3090
|
start: string;
|
3199
3091
|
end: string;
|
3200
3092
|
} | null | undefined> | null | undefined;
|
3201
|
-
actionDetails?: {
|
3202
|
-
templateId?: string | undefined;
|
3203
|
-
isImmediateCorrection?: boolean | undefined;
|
3204
|
-
} | null | undefined;
|
3205
3093
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3206
3094
|
} | {
|
3207
3095
|
type: "READ";
|
@@ -3304,10 +3192,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3304
3192
|
start: string;
|
3305
3193
|
end: string;
|
3306
3194
|
} | null | undefined> | null | undefined;
|
3307
|
-
actionDetails?: {
|
3308
|
-
templateId?: string | undefined;
|
3309
|
-
isImmediateCorrection?: boolean | undefined;
|
3310
|
-
} | null | undefined;
|
3311
3195
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3312
3196
|
} | {
|
3313
3197
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -3320,10 +3204,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3320
3204
|
createdByRole: string;
|
3321
3205
|
createdBySignature?: string | null | undefined;
|
3322
3206
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3323
|
-
actionDetails?: {
|
3324
|
-
templateId?: string | undefined;
|
3325
|
-
isImmediateCorrection?: boolean | undefined;
|
3326
|
-
} | null | undefined;
|
3327
3207
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3328
3208
|
})[];
|
3329
3209
|
trackingId: string;
|
@@ -3467,10 +3347,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3467
3347
|
start: string;
|
3468
3348
|
end: string;
|
3469
3349
|
} | null | undefined> | null | undefined;
|
3470
|
-
actionDetails?: {
|
3471
|
-
templateId?: string | undefined;
|
3472
|
-
isImmediateCorrection?: boolean | undefined;
|
3473
|
-
} | null | undefined;
|
3474
3350
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3475
3351
|
};
|
3476
3352
|
}[];
|
@@ -3572,10 +3448,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3572
3448
|
start: string;
|
3573
3449
|
end: string;
|
3574
3450
|
} | null | undefined> | undefined;
|
3575
|
-
actionDetails?: {
|
3576
|
-
templateId?: string | undefined;
|
3577
|
-
isImmediateCorrection?: boolean | undefined;
|
3578
|
-
} | undefined;
|
3579
3451
|
originalActionId?: string | undefined;
|
3580
3452
|
keepAssignment?: boolean | undefined;
|
3581
3453
|
};
|
@@ -3684,10 +3556,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3684
3556
|
start: string;
|
3685
3557
|
end: string;
|
3686
3558
|
} | null | undefined> | null | undefined;
|
3687
|
-
actionDetails?: {
|
3688
|
-
templateId?: string | undefined;
|
3689
|
-
isImmediateCorrection?: boolean | undefined;
|
3690
|
-
} | null | undefined;
|
3691
3559
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3692
3560
|
};
|
3693
3561
|
};
|
@@ -4133,10 +4001,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4133
4001
|
start: string;
|
4134
4002
|
end: string;
|
4135
4003
|
} | null | undefined> | undefined;
|
4136
|
-
actionDetails?: {
|
4137
|
-
templateId?: string | undefined;
|
4138
|
-
isImmediateCorrection?: boolean | undefined;
|
4139
|
-
} | undefined;
|
4140
4004
|
originalActionId?: string | undefined;
|
4141
4005
|
keepAssignment?: boolean | undefined;
|
4142
4006
|
};
|
@@ -4247,10 +4111,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4247
4111
|
start: string;
|
4248
4112
|
end: string;
|
4249
4113
|
} | null | undefined> | null | undefined;
|
4250
|
-
actionDetails?: {
|
4251
|
-
templateId?: string | undefined;
|
4252
|
-
isImmediateCorrection?: boolean | undefined;
|
4253
|
-
} | null | undefined;
|
4254
4114
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4255
4115
|
} | {
|
4256
4116
|
type: "UNASSIGN";
|
@@ -4353,10 +4213,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4353
4213
|
start: string;
|
4354
4214
|
end: string;
|
4355
4215
|
} | null | undefined> | null | undefined;
|
4356
|
-
actionDetails?: {
|
4357
|
-
templateId?: string | undefined;
|
4358
|
-
isImmediateCorrection?: boolean | undefined;
|
4359
|
-
} | null | undefined;
|
4360
4216
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4361
4217
|
} | {
|
4362
4218
|
type: "REGISTER";
|
@@ -4459,10 +4315,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4459
4315
|
start: string;
|
4460
4316
|
end: string;
|
4461
4317
|
} | null | undefined> | null | undefined;
|
4462
|
-
actionDetails?: {
|
4463
|
-
templateId?: string | undefined;
|
4464
|
-
isImmediateCorrection?: boolean | undefined;
|
4465
|
-
} | null | undefined;
|
4466
4318
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4467
4319
|
registrationNumber?: string | undefined;
|
4468
4320
|
} | {
|
@@ -4566,10 +4418,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4566
4418
|
start: string;
|
4567
4419
|
end: string;
|
4568
4420
|
} | null | undefined> | null | undefined;
|
4569
|
-
actionDetails?: {
|
4570
|
-
templateId?: string | undefined;
|
4571
|
-
isImmediateCorrection?: boolean | undefined;
|
4572
|
-
} | null | undefined;
|
4573
4421
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4574
4422
|
} | {
|
4575
4423
|
type: "VALIDATE";
|
@@ -4672,10 +4520,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4672
4520
|
start: string;
|
4673
4521
|
end: string;
|
4674
4522
|
} | null | undefined> | null | undefined;
|
4675
|
-
actionDetails?: {
|
4676
|
-
templateId?: string | undefined;
|
4677
|
-
isImmediateCorrection?: boolean | undefined;
|
4678
|
-
} | null | undefined;
|
4679
4523
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4680
4524
|
} | {
|
4681
4525
|
type: "REJECT";
|
@@ -4782,10 +4626,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4782
4626
|
start: string;
|
4783
4627
|
end: string;
|
4784
4628
|
} | null | undefined> | null | undefined;
|
4785
|
-
actionDetails?: {
|
4786
|
-
templateId?: string | undefined;
|
4787
|
-
isImmediateCorrection?: boolean | undefined;
|
4788
|
-
} | null | undefined;
|
4789
4629
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4790
4630
|
} | {
|
4791
4631
|
type: "MARKED_AS_DUPLICATE";
|
@@ -4888,10 +4728,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4888
4728
|
start: string;
|
4889
4729
|
end: string;
|
4890
4730
|
} | null | undefined> | null | undefined;
|
4891
|
-
actionDetails?: {
|
4892
|
-
templateId?: string | undefined;
|
4893
|
-
isImmediateCorrection?: boolean | undefined;
|
4894
|
-
} | null | undefined;
|
4895
4731
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4896
4732
|
} | {
|
4897
4733
|
type: "ARCHIVE";
|
@@ -4998,10 +4834,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4998
4834
|
start: string;
|
4999
4835
|
end: string;
|
5000
4836
|
} | null | undefined> | null | undefined;
|
5001
|
-
actionDetails?: {
|
5002
|
-
templateId?: string | undefined;
|
5003
|
-
isImmediateCorrection?: boolean | undefined;
|
5004
|
-
} | null | undefined;
|
5005
4837
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5006
4838
|
} | {
|
5007
4839
|
type: "CREATE";
|
@@ -5104,10 +4936,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5104
4936
|
start: string;
|
5105
4937
|
end: string;
|
5106
4938
|
} | null | undefined> | null | undefined;
|
5107
|
-
actionDetails?: {
|
5108
|
-
templateId?: string | undefined;
|
5109
|
-
isImmediateCorrection?: boolean | undefined;
|
5110
|
-
} | null | undefined;
|
5111
4939
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5112
4940
|
} | {
|
5113
4941
|
type: "NOTIFY";
|
@@ -5210,10 +5038,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5210
5038
|
start: string;
|
5211
5039
|
end: string;
|
5212
5040
|
} | null | undefined> | null | undefined;
|
5213
|
-
actionDetails?: {
|
5214
|
-
templateId?: string | undefined;
|
5215
|
-
isImmediateCorrection?: boolean | undefined;
|
5216
|
-
} | null | undefined;
|
5217
5041
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5218
5042
|
} | {
|
5219
5043
|
type: "PRINT_CERTIFICATE";
|
@@ -5316,10 +5140,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5316
5140
|
start: string;
|
5317
5141
|
end: string;
|
5318
5142
|
} | null | undefined> | null | undefined;
|
5319
|
-
actionDetails?: {
|
5320
|
-
templateId?: string | undefined;
|
5321
|
-
isImmediateCorrection?: boolean | undefined;
|
5322
|
-
} | null | undefined;
|
5323
5143
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5324
5144
|
} | {
|
5325
5145
|
type: "REQUEST_CORRECTION";
|
@@ -5422,10 +5242,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5422
5242
|
start: string;
|
5423
5243
|
end: string;
|
5424
5244
|
} | null | undefined> | null | undefined;
|
5425
|
-
actionDetails?: {
|
5426
|
-
templateId?: string | undefined;
|
5427
|
-
isImmediateCorrection?: boolean | undefined;
|
5428
|
-
} | null | undefined;
|
5429
5245
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5430
5246
|
} | {
|
5431
5247
|
type: "APPROVE_CORRECTION";
|
@@ -5529,15 +5345,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5529
5345
|
start: string;
|
5530
5346
|
end: string;
|
5531
5347
|
} | null | undefined> | null | undefined;
|
5532
|
-
actionDetails?: {
|
5533
|
-
templateId?: string | undefined;
|
5534
|
-
isImmediateCorrection?: boolean | undefined;
|
5535
|
-
} | null | undefined;
|
5536
5348
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5537
5349
|
} | {
|
5538
5350
|
type: "REJECT_CORRECTION";
|
5539
5351
|
id: string & import("zod").BRAND<"UUID">;
|
5540
5352
|
status: "Rejected" | "Requested" | "Accepted";
|
5353
|
+
reason: {
|
5354
|
+
message: string;
|
5355
|
+
isDuplicate?: boolean | undefined;
|
5356
|
+
};
|
5541
5357
|
transactionId: string;
|
5542
5358
|
createdByUserType: "system" | "user";
|
5543
5359
|
createdAt: string;
|
@@ -5636,10 +5452,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5636
5452
|
start: string;
|
5637
5453
|
end: string;
|
5638
5454
|
} | null | undefined> | null | undefined;
|
5639
|
-
actionDetails?: {
|
5640
|
-
templateId?: string | undefined;
|
5641
|
-
isImmediateCorrection?: boolean | undefined;
|
5642
|
-
} | null | undefined;
|
5643
5455
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5644
5456
|
} | {
|
5645
5457
|
type: "READ";
|
@@ -5742,10 +5554,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5742
5554
|
start: string;
|
5743
5555
|
end: string;
|
5744
5556
|
} | null | undefined> | null | undefined;
|
5745
|
-
actionDetails?: {
|
5746
|
-
templateId?: string | undefined;
|
5747
|
-
isImmediateCorrection?: boolean | undefined;
|
5748
|
-
} | null | undefined;
|
5749
5557
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5750
5558
|
} | {
|
5751
5559
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -5758,10 +5566,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5758
5566
|
createdByRole: string;
|
5759
5567
|
createdBySignature?: string | null | undefined;
|
5760
5568
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5761
|
-
actionDetails?: {
|
5762
|
-
templateId?: string | undefined;
|
5763
|
-
isImmediateCorrection?: boolean | undefined;
|
5764
|
-
} | null | undefined;
|
5765
5569
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5766
5570
|
})[];
|
5767
5571
|
trackingId: string;
|
@@ -5863,10 +5667,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5863
5667
|
start: string;
|
5864
5668
|
end: string;
|
5865
5669
|
} | null | undefined> | undefined;
|
5866
|
-
actionDetails?: {
|
5867
|
-
templateId?: string | undefined;
|
5868
|
-
isImmediateCorrection?: boolean | undefined;
|
5869
|
-
} | undefined;
|
5870
5670
|
originalActionId?: string | undefined;
|
5871
5671
|
assignedTo?: null | undefined;
|
5872
5672
|
keepAssignment?: boolean | undefined;
|
@@ -5978,10 +5778,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5978
5778
|
start: string;
|
5979
5779
|
end: string;
|
5980
5780
|
} | null | undefined> | null | undefined;
|
5981
|
-
actionDetails?: {
|
5982
|
-
templateId?: string | undefined;
|
5983
|
-
isImmediateCorrection?: boolean | undefined;
|
5984
|
-
} | null | undefined;
|
5985
5781
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5986
5782
|
} | {
|
5987
5783
|
type: "UNASSIGN";
|
@@ -6084,10 +5880,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6084
5880
|
start: string;
|
6085
5881
|
end: string;
|
6086
5882
|
} | null | undefined> | null | undefined;
|
6087
|
-
actionDetails?: {
|
6088
|
-
templateId?: string | undefined;
|
6089
|
-
isImmediateCorrection?: boolean | undefined;
|
6090
|
-
} | null | undefined;
|
6091
5883
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6092
5884
|
} | {
|
6093
5885
|
type: "REGISTER";
|
@@ -6190,10 +5982,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6190
5982
|
start: string;
|
6191
5983
|
end: string;
|
6192
5984
|
} | null | undefined> | null | undefined;
|
6193
|
-
actionDetails?: {
|
6194
|
-
templateId?: string | undefined;
|
6195
|
-
isImmediateCorrection?: boolean | undefined;
|
6196
|
-
} | null | undefined;
|
6197
5985
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6198
5986
|
registrationNumber?: string | undefined;
|
6199
5987
|
} | {
|
@@ -6297,10 +6085,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6297
6085
|
start: string;
|
6298
6086
|
end: string;
|
6299
6087
|
} | null | undefined> | null | undefined;
|
6300
|
-
actionDetails?: {
|
6301
|
-
templateId?: string | undefined;
|
6302
|
-
isImmediateCorrection?: boolean | undefined;
|
6303
|
-
} | null | undefined;
|
6304
6088
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6305
6089
|
} | {
|
6306
6090
|
type: "VALIDATE";
|
@@ -6403,10 +6187,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6403
6187
|
start: string;
|
6404
6188
|
end: string;
|
6405
6189
|
} | null | undefined> | null | undefined;
|
6406
|
-
actionDetails?: {
|
6407
|
-
templateId?: string | undefined;
|
6408
|
-
isImmediateCorrection?: boolean | undefined;
|
6409
|
-
} | null | undefined;
|
6410
6190
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6411
6191
|
} | {
|
6412
6192
|
type: "REJECT";
|
@@ -6513,10 +6293,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6513
6293
|
start: string;
|
6514
6294
|
end: string;
|
6515
6295
|
} | null | undefined> | null | undefined;
|
6516
|
-
actionDetails?: {
|
6517
|
-
templateId?: string | undefined;
|
6518
|
-
isImmediateCorrection?: boolean | undefined;
|
6519
|
-
} | null | undefined;
|
6520
6296
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6521
6297
|
} | {
|
6522
6298
|
type: "MARKED_AS_DUPLICATE";
|
@@ -6619,10 +6395,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6619
6395
|
start: string;
|
6620
6396
|
end: string;
|
6621
6397
|
} | null | undefined> | null | undefined;
|
6622
|
-
actionDetails?: {
|
6623
|
-
templateId?: string | undefined;
|
6624
|
-
isImmediateCorrection?: boolean | undefined;
|
6625
|
-
} | null | undefined;
|
6626
6398
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6627
6399
|
} | {
|
6628
6400
|
type: "ARCHIVE";
|
@@ -6729,10 +6501,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6729
6501
|
start: string;
|
6730
6502
|
end: string;
|
6731
6503
|
} | null | undefined> | null | undefined;
|
6732
|
-
actionDetails?: {
|
6733
|
-
templateId?: string | undefined;
|
6734
|
-
isImmediateCorrection?: boolean | undefined;
|
6735
|
-
} | null | undefined;
|
6736
6504
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6737
6505
|
} | {
|
6738
6506
|
type: "CREATE";
|
@@ -6835,10 +6603,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6835
6603
|
start: string;
|
6836
6604
|
end: string;
|
6837
6605
|
} | null | undefined> | null | undefined;
|
6838
|
-
actionDetails?: {
|
6839
|
-
templateId?: string | undefined;
|
6840
|
-
isImmediateCorrection?: boolean | undefined;
|
6841
|
-
} | null | undefined;
|
6842
6606
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6843
6607
|
} | {
|
6844
6608
|
type: "NOTIFY";
|
@@ -6941,10 +6705,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6941
6705
|
start: string;
|
6942
6706
|
end: string;
|
6943
6707
|
} | null | undefined> | null | undefined;
|
6944
|
-
actionDetails?: {
|
6945
|
-
templateId?: string | undefined;
|
6946
|
-
isImmediateCorrection?: boolean | undefined;
|
6947
|
-
} | null | undefined;
|
6948
6708
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6949
6709
|
} | {
|
6950
6710
|
type: "PRINT_CERTIFICATE";
|
@@ -7047,10 +6807,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7047
6807
|
start: string;
|
7048
6808
|
end: string;
|
7049
6809
|
} | null | undefined> | null | undefined;
|
7050
|
-
actionDetails?: {
|
7051
|
-
templateId?: string | undefined;
|
7052
|
-
isImmediateCorrection?: boolean | undefined;
|
7053
|
-
} | null | undefined;
|
7054
6810
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7055
6811
|
} | {
|
7056
6812
|
type: "REQUEST_CORRECTION";
|
@@ -7153,10 +6909,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7153
6909
|
start: string;
|
7154
6910
|
end: string;
|
7155
6911
|
} | null | undefined> | null | undefined;
|
7156
|
-
actionDetails?: {
|
7157
|
-
templateId?: string | undefined;
|
7158
|
-
isImmediateCorrection?: boolean | undefined;
|
7159
|
-
} | null | undefined;
|
7160
6912
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7161
6913
|
} | {
|
7162
6914
|
type: "APPROVE_CORRECTION";
|
@@ -7260,15 +7012,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7260
7012
|
start: string;
|
7261
7013
|
end: string;
|
7262
7014
|
} | null | undefined> | null | undefined;
|
7263
|
-
actionDetails?: {
|
7264
|
-
templateId?: string | undefined;
|
7265
|
-
isImmediateCorrection?: boolean | undefined;
|
7266
|
-
} | null | undefined;
|
7267
7015
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7268
7016
|
} | {
|
7269
7017
|
type: "REJECT_CORRECTION";
|
7270
7018
|
id: string & import("zod").BRAND<"UUID">;
|
7271
7019
|
status: "Rejected" | "Requested" | "Accepted";
|
7020
|
+
reason: {
|
7021
|
+
message: string;
|
7022
|
+
isDuplicate?: boolean | undefined;
|
7023
|
+
};
|
7272
7024
|
transactionId: string;
|
7273
7025
|
createdByUserType: "system" | "user";
|
7274
7026
|
createdAt: string;
|
@@ -7367,10 +7119,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7367
7119
|
start: string;
|
7368
7120
|
end: string;
|
7369
7121
|
} | null | undefined> | null | undefined;
|
7370
|
-
actionDetails?: {
|
7371
|
-
templateId?: string | undefined;
|
7372
|
-
isImmediateCorrection?: boolean | undefined;
|
7373
|
-
} | null | undefined;
|
7374
7122
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7375
7123
|
} | {
|
7376
7124
|
type: "READ";
|
@@ -7473,10 +7221,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7473
7221
|
start: string;
|
7474
7222
|
end: string;
|
7475
7223
|
} | null | undefined> | null | undefined;
|
7476
|
-
actionDetails?: {
|
7477
|
-
templateId?: string | undefined;
|
7478
|
-
isImmediateCorrection?: boolean | undefined;
|
7479
|
-
} | null | undefined;
|
7480
7224
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7481
7225
|
} | {
|
7482
7226
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -7489,10 +7233,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7489
7233
|
createdByRole: string;
|
7490
7234
|
createdBySignature?: string | null | undefined;
|
7491
7235
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7492
|
-
actionDetails?: {
|
7493
|
-
templateId?: string | undefined;
|
7494
|
-
isImmediateCorrection?: boolean | undefined;
|
7495
|
-
} | null | undefined;
|
7496
7236
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7497
7237
|
})[];
|
7498
7238
|
trackingId: string;
|
@@ -7947,10 +7687,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7947
7687
|
start: string;
|
7948
7688
|
end: string;
|
7949
7689
|
} | null | undefined> | null | undefined;
|
7950
|
-
actionDetails?: {
|
7951
|
-
templateId?: string | undefined;
|
7952
|
-
isImmediateCorrection?: boolean | undefined;
|
7953
|
-
} | null | undefined;
|
7954
7690
|
originalActionId?: string | null | undefined;
|
7955
7691
|
} | {
|
7956
7692
|
type: "UNASSIGN";
|
@@ -8053,10 +7789,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8053
7789
|
start: string;
|
8054
7790
|
end: string;
|
8055
7791
|
} | null | undefined> | null | undefined;
|
8056
|
-
actionDetails?: {
|
8057
|
-
templateId?: string | undefined;
|
8058
|
-
isImmediateCorrection?: boolean | undefined;
|
8059
|
-
} | null | undefined;
|
8060
7792
|
originalActionId?: string | null | undefined;
|
8061
7793
|
} | {
|
8062
7794
|
type: "REGISTER";
|
@@ -8159,10 +7891,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8159
7891
|
start: string;
|
8160
7892
|
end: string;
|
8161
7893
|
} | null | undefined> | null | undefined;
|
8162
|
-
actionDetails?: {
|
8163
|
-
templateId?: string | undefined;
|
8164
|
-
isImmediateCorrection?: boolean | undefined;
|
8165
|
-
} | null | undefined;
|
8166
7894
|
originalActionId?: string | null | undefined;
|
8167
7895
|
registrationNumber?: string | undefined;
|
8168
7896
|
} | {
|
@@ -8266,10 +7994,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8266
7994
|
start: string;
|
8267
7995
|
end: string;
|
8268
7996
|
} | null | undefined> | null | undefined;
|
8269
|
-
actionDetails?: {
|
8270
|
-
templateId?: string | undefined;
|
8271
|
-
isImmediateCorrection?: boolean | undefined;
|
8272
|
-
} | null | undefined;
|
8273
7997
|
originalActionId?: string | null | undefined;
|
8274
7998
|
} | {
|
8275
7999
|
type: "VALIDATE";
|
@@ -8372,10 +8096,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8372
8096
|
start: string;
|
8373
8097
|
end: string;
|
8374
8098
|
} | null | undefined> | null | undefined;
|
8375
|
-
actionDetails?: {
|
8376
|
-
templateId?: string | undefined;
|
8377
|
-
isImmediateCorrection?: boolean | undefined;
|
8378
|
-
} | null | undefined;
|
8379
8099
|
originalActionId?: string | null | undefined;
|
8380
8100
|
} | {
|
8381
8101
|
type: "REJECT";
|
@@ -8482,10 +8202,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8482
8202
|
start: string;
|
8483
8203
|
end: string;
|
8484
8204
|
} | null | undefined> | null | undefined;
|
8485
|
-
actionDetails?: {
|
8486
|
-
templateId?: string | undefined;
|
8487
|
-
isImmediateCorrection?: boolean | undefined;
|
8488
|
-
} | null | undefined;
|
8489
8205
|
originalActionId?: string | null | undefined;
|
8490
8206
|
} | {
|
8491
8207
|
type: "MARKED_AS_DUPLICATE";
|
@@ -8588,10 +8304,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8588
8304
|
start: string;
|
8589
8305
|
end: string;
|
8590
8306
|
} | null | undefined> | null | undefined;
|
8591
|
-
actionDetails?: {
|
8592
|
-
templateId?: string | undefined;
|
8593
|
-
isImmediateCorrection?: boolean | undefined;
|
8594
|
-
} | null | undefined;
|
8595
8307
|
originalActionId?: string | null | undefined;
|
8596
8308
|
} | {
|
8597
8309
|
type: "ARCHIVE";
|
@@ -8698,10 +8410,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8698
8410
|
start: string;
|
8699
8411
|
end: string;
|
8700
8412
|
} | null | undefined> | null | undefined;
|
8701
|
-
actionDetails?: {
|
8702
|
-
templateId?: string | undefined;
|
8703
|
-
isImmediateCorrection?: boolean | undefined;
|
8704
|
-
} | null | undefined;
|
8705
8413
|
originalActionId?: string | null | undefined;
|
8706
8414
|
} | {
|
8707
8415
|
type: "CREATE";
|
@@ -8804,10 +8512,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8804
8512
|
start: string;
|
8805
8513
|
end: string;
|
8806
8514
|
} | null | undefined> | null | undefined;
|
8807
|
-
actionDetails?: {
|
8808
|
-
templateId?: string | undefined;
|
8809
|
-
isImmediateCorrection?: boolean | undefined;
|
8810
|
-
} | null | undefined;
|
8811
8515
|
originalActionId?: string | null | undefined;
|
8812
8516
|
} | {
|
8813
8517
|
type: "NOTIFY";
|
@@ -8910,10 +8614,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8910
8614
|
start: string;
|
8911
8615
|
end: string;
|
8912
8616
|
} | null | undefined> | null | undefined;
|
8913
|
-
actionDetails?: {
|
8914
|
-
templateId?: string | undefined;
|
8915
|
-
isImmediateCorrection?: boolean | undefined;
|
8916
|
-
} | null | undefined;
|
8917
8617
|
originalActionId?: string | null | undefined;
|
8918
8618
|
} | {
|
8919
8619
|
type: "PRINT_CERTIFICATE";
|
@@ -9016,10 +8716,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9016
8716
|
start: string;
|
9017
8717
|
end: string;
|
9018
8718
|
} | null | undefined> | null | undefined;
|
9019
|
-
actionDetails?: {
|
9020
|
-
templateId?: string | undefined;
|
9021
|
-
isImmediateCorrection?: boolean | undefined;
|
9022
|
-
} | null | undefined;
|
9023
8719
|
originalActionId?: string | null | undefined;
|
9024
8720
|
} | {
|
9025
8721
|
type: "REQUEST_CORRECTION";
|
@@ -9122,10 +8818,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9122
8818
|
start: string;
|
9123
8819
|
end: string;
|
9124
8820
|
} | null | undefined> | null | undefined;
|
9125
|
-
actionDetails?: {
|
9126
|
-
templateId?: string | undefined;
|
9127
|
-
isImmediateCorrection?: boolean | undefined;
|
9128
|
-
} | null | undefined;
|
9129
8821
|
originalActionId?: string | null | undefined;
|
9130
8822
|
} | {
|
9131
8823
|
type: "APPROVE_CORRECTION";
|
@@ -9229,15 +8921,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9229
8921
|
start: string;
|
9230
8922
|
end: string;
|
9231
8923
|
} | null | undefined> | null | undefined;
|
9232
|
-
actionDetails?: {
|
9233
|
-
templateId?: string | undefined;
|
9234
|
-
isImmediateCorrection?: boolean | undefined;
|
9235
|
-
} | null | undefined;
|
9236
8924
|
originalActionId?: string | null | undefined;
|
9237
8925
|
} | {
|
9238
8926
|
type: "REJECT_CORRECTION";
|
9239
8927
|
id: string;
|
9240
8928
|
status: "Rejected" | "Requested" | "Accepted";
|
8929
|
+
reason: {
|
8930
|
+
message: string;
|
8931
|
+
isDuplicate?: boolean | undefined;
|
8932
|
+
};
|
9241
8933
|
transactionId: string;
|
9242
8934
|
createdByUserType: "system" | "user";
|
9243
8935
|
createdAt: string;
|
@@ -9336,10 +9028,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9336
9028
|
start: string;
|
9337
9029
|
end: string;
|
9338
9030
|
} | null | undefined> | null | undefined;
|
9339
|
-
actionDetails?: {
|
9340
|
-
templateId?: string | undefined;
|
9341
|
-
isImmediateCorrection?: boolean | undefined;
|
9342
|
-
} | null | undefined;
|
9343
9031
|
originalActionId?: string | null | undefined;
|
9344
9032
|
} | {
|
9345
9033
|
type: "READ";
|
@@ -9442,10 +9130,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9442
9130
|
start: string;
|
9443
9131
|
end: string;
|
9444
9132
|
} | null | undefined> | null | undefined;
|
9445
|
-
actionDetails?: {
|
9446
|
-
templateId?: string | undefined;
|
9447
|
-
isImmediateCorrection?: boolean | undefined;
|
9448
|
-
} | null | undefined;
|
9449
9133
|
originalActionId?: string | null | undefined;
|
9450
9134
|
} | {
|
9451
9135
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -9458,10 +9142,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9458
9142
|
createdByRole: string;
|
9459
9143
|
createdBySignature?: string | null | undefined;
|
9460
9144
|
createdAtLocation?: string | null | undefined;
|
9461
|
-
actionDetails?: {
|
9462
|
-
templateId?: string | undefined;
|
9463
|
-
isImmediateCorrection?: boolean | undefined;
|
9464
|
-
} | null | undefined;
|
9465
9145
|
originalActionId?: string | null | undefined;
|
9466
9146
|
})[];
|
9467
9147
|
trackingId: string;
|
@@ -9573,10 +9253,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9573
9253
|
start: string;
|
9574
9254
|
end: string;
|
9575
9255
|
} | null | undefined> | null | undefined;
|
9576
|
-
actionDetails?: {
|
9577
|
-
templateId?: string | undefined;
|
9578
|
-
isImmediateCorrection?: boolean | undefined;
|
9579
|
-
} | null | undefined;
|
9580
9256
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9581
9257
|
} | {
|
9582
9258
|
type: "UNASSIGN";
|
@@ -9679,10 +9355,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9679
9355
|
start: string;
|
9680
9356
|
end: string;
|
9681
9357
|
} | null | undefined> | null | undefined;
|
9682
|
-
actionDetails?: {
|
9683
|
-
templateId?: string | undefined;
|
9684
|
-
isImmediateCorrection?: boolean | undefined;
|
9685
|
-
} | null | undefined;
|
9686
9358
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9687
9359
|
} | {
|
9688
9360
|
type: "REGISTER";
|
@@ -9785,10 +9457,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9785
9457
|
start: string;
|
9786
9458
|
end: string;
|
9787
9459
|
} | null | undefined> | null | undefined;
|
9788
|
-
actionDetails?: {
|
9789
|
-
templateId?: string | undefined;
|
9790
|
-
isImmediateCorrection?: boolean | undefined;
|
9791
|
-
} | null | undefined;
|
9792
9460
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9793
9461
|
registrationNumber?: string | undefined;
|
9794
9462
|
} | {
|
@@ -9892,10 +9560,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9892
9560
|
start: string;
|
9893
9561
|
end: string;
|
9894
9562
|
} | null | undefined> | null | undefined;
|
9895
|
-
actionDetails?: {
|
9896
|
-
templateId?: string | undefined;
|
9897
|
-
isImmediateCorrection?: boolean | undefined;
|
9898
|
-
} | null | undefined;
|
9899
9563
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9900
9564
|
} | {
|
9901
9565
|
type: "VALIDATE";
|
@@ -9998,10 +9662,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9998
9662
|
start: string;
|
9999
9663
|
end: string;
|
10000
9664
|
} | null | undefined> | null | undefined;
|
10001
|
-
actionDetails?: {
|
10002
|
-
templateId?: string | undefined;
|
10003
|
-
isImmediateCorrection?: boolean | undefined;
|
10004
|
-
} | null | undefined;
|
10005
9665
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10006
9666
|
} | {
|
10007
9667
|
type: "REJECT";
|
@@ -10108,10 +9768,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10108
9768
|
start: string;
|
10109
9769
|
end: string;
|
10110
9770
|
} | null | undefined> | null | undefined;
|
10111
|
-
actionDetails?: {
|
10112
|
-
templateId?: string | undefined;
|
10113
|
-
isImmediateCorrection?: boolean | undefined;
|
10114
|
-
} | null | undefined;
|
10115
9771
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10116
9772
|
} | {
|
10117
9773
|
type: "MARKED_AS_DUPLICATE";
|
@@ -10214,10 +9870,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10214
9870
|
start: string;
|
10215
9871
|
end: string;
|
10216
9872
|
} | null | undefined> | null | undefined;
|
10217
|
-
actionDetails?: {
|
10218
|
-
templateId?: string | undefined;
|
10219
|
-
isImmediateCorrection?: boolean | undefined;
|
10220
|
-
} | null | undefined;
|
10221
9873
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10222
9874
|
} | {
|
10223
9875
|
type: "ARCHIVE";
|
@@ -10324,10 +9976,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10324
9976
|
start: string;
|
10325
9977
|
end: string;
|
10326
9978
|
} | null | undefined> | null | undefined;
|
10327
|
-
actionDetails?: {
|
10328
|
-
templateId?: string | undefined;
|
10329
|
-
isImmediateCorrection?: boolean | undefined;
|
10330
|
-
} | null | undefined;
|
10331
9979
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10332
9980
|
} | {
|
10333
9981
|
type: "CREATE";
|
@@ -10430,10 +10078,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10430
10078
|
start: string;
|
10431
10079
|
end: string;
|
10432
10080
|
} | null | undefined> | null | undefined;
|
10433
|
-
actionDetails?: {
|
10434
|
-
templateId?: string | undefined;
|
10435
|
-
isImmediateCorrection?: boolean | undefined;
|
10436
|
-
} | null | undefined;
|
10437
10081
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10438
10082
|
} | {
|
10439
10083
|
type: "NOTIFY";
|
@@ -10536,10 +10180,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10536
10180
|
start: string;
|
10537
10181
|
end: string;
|
10538
10182
|
} | null | undefined> | null | undefined;
|
10539
|
-
actionDetails?: {
|
10540
|
-
templateId?: string | undefined;
|
10541
|
-
isImmediateCorrection?: boolean | undefined;
|
10542
|
-
} | null | undefined;
|
10543
10183
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10544
10184
|
} | {
|
10545
10185
|
type: "PRINT_CERTIFICATE";
|
@@ -10642,10 +10282,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10642
10282
|
start: string;
|
10643
10283
|
end: string;
|
10644
10284
|
} | null | undefined> | null | undefined;
|
10645
|
-
actionDetails?: {
|
10646
|
-
templateId?: string | undefined;
|
10647
|
-
isImmediateCorrection?: boolean | undefined;
|
10648
|
-
} | null | undefined;
|
10649
10285
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10650
10286
|
} | {
|
10651
10287
|
type: "REQUEST_CORRECTION";
|
@@ -10748,10 +10384,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10748
10384
|
start: string;
|
10749
10385
|
end: string;
|
10750
10386
|
} | null | undefined> | null | undefined;
|
10751
|
-
actionDetails?: {
|
10752
|
-
templateId?: string | undefined;
|
10753
|
-
isImmediateCorrection?: boolean | undefined;
|
10754
|
-
} | null | undefined;
|
10755
10387
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10756
10388
|
} | {
|
10757
10389
|
type: "APPROVE_CORRECTION";
|
@@ -10855,15 +10487,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10855
10487
|
start: string;
|
10856
10488
|
end: string;
|
10857
10489
|
} | null | undefined> | null | undefined;
|
10858
|
-
actionDetails?: {
|
10859
|
-
templateId?: string | undefined;
|
10860
|
-
isImmediateCorrection?: boolean | undefined;
|
10861
|
-
} | null | undefined;
|
10862
10490
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10863
10491
|
} | {
|
10864
10492
|
type: "REJECT_CORRECTION";
|
10865
10493
|
id: string & import("zod").BRAND<"UUID">;
|
10866
10494
|
status: "Rejected" | "Requested" | "Accepted";
|
10495
|
+
reason: {
|
10496
|
+
message: string;
|
10497
|
+
isDuplicate?: boolean | undefined;
|
10498
|
+
};
|
10867
10499
|
transactionId: string;
|
10868
10500
|
createdByUserType: "system" | "user";
|
10869
10501
|
createdAt: string;
|
@@ -10962,10 +10594,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10962
10594
|
start: string;
|
10963
10595
|
end: string;
|
10964
10596
|
} | null | undefined> | null | undefined;
|
10965
|
-
actionDetails?: {
|
10966
|
-
templateId?: string | undefined;
|
10967
|
-
isImmediateCorrection?: boolean | undefined;
|
10968
|
-
} | null | undefined;
|
10969
10597
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10970
10598
|
} | {
|
10971
10599
|
type: "READ";
|
@@ -11068,10 +10696,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11068
10696
|
start: string;
|
11069
10697
|
end: string;
|
11070
10698
|
} | null | undefined> | null | undefined;
|
11071
|
-
actionDetails?: {
|
11072
|
-
templateId?: string | undefined;
|
11073
|
-
isImmediateCorrection?: boolean | undefined;
|
11074
|
-
} | null | undefined;
|
11075
10699
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11076
10700
|
} | {
|
11077
10701
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -11084,10 +10708,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11084
10708
|
createdByRole: string;
|
11085
10709
|
createdBySignature?: string | null | undefined;
|
11086
10710
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11087
|
-
actionDetails?: {
|
11088
|
-
templateId?: string | undefined;
|
11089
|
-
isImmediateCorrection?: boolean | undefined;
|
11090
|
-
} | null | undefined;
|
11091
10711
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11092
10712
|
})[];
|
11093
10713
|
trackingId: string;
|