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