@opencrvs/toolkit 1.8.1-rc.bbbfede → 1.8.1-rc.facd84c
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 -408
- package/dist/commons/conditionals/validate.d.ts +2 -3
- 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/EventIndex.d.ts +0 -6
- package/dist/commons/events/EventMetadata.d.ts +0 -6
- package/dist/commons/events/event.d.ts +1 -55
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +0 -4
- package/dist/events/index.js +38 -129
- 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;
|
@@ -7741,8 +7481,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7741
7481
|
dateOfEvent?: string | null | undefined;
|
7742
7482
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7743
7483
|
updatedBy?: string | null | undefined;
|
7744
|
-
copiesPrintedForTemplate?: number | undefined;
|
7745
|
-
modifiedAt?: string | undefined;
|
7746
7484
|
}[];
|
7747
7485
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7748
7486
|
}>;
|
@@ -7838,8 +7576,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7838
7576
|
dateOfEvent?: string | null | undefined;
|
7839
7577
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7840
7578
|
updatedBy?: string | null | undefined;
|
7841
|
-
copiesPrintedForTemplate?: number | undefined;
|
7842
|
-
modifiedAt?: string | undefined;
|
7843
7579
|
}[];
|
7844
7580
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7845
7581
|
}>;
|
@@ -7951,10 +7687,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7951
7687
|
start: string;
|
7952
7688
|
end: string;
|
7953
7689
|
} | null | undefined> | null | undefined;
|
7954
|
-
actionDetails?: {
|
7955
|
-
templateId?: string | undefined;
|
7956
|
-
isImmediateCorrection?: boolean | undefined;
|
7957
|
-
} | null | undefined;
|
7958
7690
|
originalActionId?: string | null | undefined;
|
7959
7691
|
} | {
|
7960
7692
|
type: "UNASSIGN";
|
@@ -8057,10 +7789,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8057
7789
|
start: string;
|
8058
7790
|
end: string;
|
8059
7791
|
} | null | undefined> | null | undefined;
|
8060
|
-
actionDetails?: {
|
8061
|
-
templateId?: string | undefined;
|
8062
|
-
isImmediateCorrection?: boolean | undefined;
|
8063
|
-
} | null | undefined;
|
8064
7792
|
originalActionId?: string | null | undefined;
|
8065
7793
|
} | {
|
8066
7794
|
type: "REGISTER";
|
@@ -8163,10 +7891,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8163
7891
|
start: string;
|
8164
7892
|
end: string;
|
8165
7893
|
} | null | undefined> | null | undefined;
|
8166
|
-
actionDetails?: {
|
8167
|
-
templateId?: string | undefined;
|
8168
|
-
isImmediateCorrection?: boolean | undefined;
|
8169
|
-
} | null | undefined;
|
8170
7894
|
originalActionId?: string | null | undefined;
|
8171
7895
|
registrationNumber?: string | undefined;
|
8172
7896
|
} | {
|
@@ -8270,10 +7994,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8270
7994
|
start: string;
|
8271
7995
|
end: string;
|
8272
7996
|
} | null | undefined> | null | undefined;
|
8273
|
-
actionDetails?: {
|
8274
|
-
templateId?: string | undefined;
|
8275
|
-
isImmediateCorrection?: boolean | undefined;
|
8276
|
-
} | null | undefined;
|
8277
7997
|
originalActionId?: string | null | undefined;
|
8278
7998
|
} | {
|
8279
7999
|
type: "VALIDATE";
|
@@ -8376,10 +8096,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8376
8096
|
start: string;
|
8377
8097
|
end: string;
|
8378
8098
|
} | null | undefined> | null | undefined;
|
8379
|
-
actionDetails?: {
|
8380
|
-
templateId?: string | undefined;
|
8381
|
-
isImmediateCorrection?: boolean | undefined;
|
8382
|
-
} | null | undefined;
|
8383
8099
|
originalActionId?: string | null | undefined;
|
8384
8100
|
} | {
|
8385
8101
|
type: "REJECT";
|
@@ -8486,10 +8202,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8486
8202
|
start: string;
|
8487
8203
|
end: string;
|
8488
8204
|
} | null | undefined> | null | undefined;
|
8489
|
-
actionDetails?: {
|
8490
|
-
templateId?: string | undefined;
|
8491
|
-
isImmediateCorrection?: boolean | undefined;
|
8492
|
-
} | null | undefined;
|
8493
8205
|
originalActionId?: string | null | undefined;
|
8494
8206
|
} | {
|
8495
8207
|
type: "MARKED_AS_DUPLICATE";
|
@@ -8592,10 +8304,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8592
8304
|
start: string;
|
8593
8305
|
end: string;
|
8594
8306
|
} | null | undefined> | null | undefined;
|
8595
|
-
actionDetails?: {
|
8596
|
-
templateId?: string | undefined;
|
8597
|
-
isImmediateCorrection?: boolean | undefined;
|
8598
|
-
} | null | undefined;
|
8599
8307
|
originalActionId?: string | null | undefined;
|
8600
8308
|
} | {
|
8601
8309
|
type: "ARCHIVE";
|
@@ -8702,10 +8410,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8702
8410
|
start: string;
|
8703
8411
|
end: string;
|
8704
8412
|
} | null | undefined> | null | undefined;
|
8705
|
-
actionDetails?: {
|
8706
|
-
templateId?: string | undefined;
|
8707
|
-
isImmediateCorrection?: boolean | undefined;
|
8708
|
-
} | null | undefined;
|
8709
8413
|
originalActionId?: string | null | undefined;
|
8710
8414
|
} | {
|
8711
8415
|
type: "CREATE";
|
@@ -8808,10 +8512,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8808
8512
|
start: string;
|
8809
8513
|
end: string;
|
8810
8514
|
} | null | undefined> | null | undefined;
|
8811
|
-
actionDetails?: {
|
8812
|
-
templateId?: string | undefined;
|
8813
|
-
isImmediateCorrection?: boolean | undefined;
|
8814
|
-
} | null | undefined;
|
8815
8515
|
originalActionId?: string | null | undefined;
|
8816
8516
|
} | {
|
8817
8517
|
type: "NOTIFY";
|
@@ -8914,10 +8614,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8914
8614
|
start: string;
|
8915
8615
|
end: string;
|
8916
8616
|
} | null | undefined> | null | undefined;
|
8917
|
-
actionDetails?: {
|
8918
|
-
templateId?: string | undefined;
|
8919
|
-
isImmediateCorrection?: boolean | undefined;
|
8920
|
-
} | null | undefined;
|
8921
8617
|
originalActionId?: string | null | undefined;
|
8922
8618
|
} | {
|
8923
8619
|
type: "PRINT_CERTIFICATE";
|
@@ -9020,10 +8716,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9020
8716
|
start: string;
|
9021
8717
|
end: string;
|
9022
8718
|
} | null | undefined> | null | undefined;
|
9023
|
-
actionDetails?: {
|
9024
|
-
templateId?: string | undefined;
|
9025
|
-
isImmediateCorrection?: boolean | undefined;
|
9026
|
-
} | null | undefined;
|
9027
8719
|
originalActionId?: string | null | undefined;
|
9028
8720
|
} | {
|
9029
8721
|
type: "REQUEST_CORRECTION";
|
@@ -9126,10 +8818,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9126
8818
|
start: string;
|
9127
8819
|
end: string;
|
9128
8820
|
} | null | undefined> | null | undefined;
|
9129
|
-
actionDetails?: {
|
9130
|
-
templateId?: string | undefined;
|
9131
|
-
isImmediateCorrection?: boolean | undefined;
|
9132
|
-
} | null | undefined;
|
9133
8821
|
originalActionId?: string | null | undefined;
|
9134
8822
|
} | {
|
9135
8823
|
type: "APPROVE_CORRECTION";
|
@@ -9233,15 +8921,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9233
8921
|
start: string;
|
9234
8922
|
end: string;
|
9235
8923
|
} | null | undefined> | null | undefined;
|
9236
|
-
actionDetails?: {
|
9237
|
-
templateId?: string | undefined;
|
9238
|
-
isImmediateCorrection?: boolean | undefined;
|
9239
|
-
} | null | undefined;
|
9240
8924
|
originalActionId?: string | null | undefined;
|
9241
8925
|
} | {
|
9242
8926
|
type: "REJECT_CORRECTION";
|
9243
8927
|
id: string;
|
9244
8928
|
status: "Rejected" | "Requested" | "Accepted";
|
8929
|
+
reason: {
|
8930
|
+
message: string;
|
8931
|
+
isDuplicate?: boolean | undefined;
|
8932
|
+
};
|
9245
8933
|
transactionId: string;
|
9246
8934
|
createdByUserType: "system" | "user";
|
9247
8935
|
createdAt: string;
|
@@ -9340,10 +9028,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9340
9028
|
start: string;
|
9341
9029
|
end: string;
|
9342
9030
|
} | null | undefined> | null | undefined;
|
9343
|
-
actionDetails?: {
|
9344
|
-
templateId?: string | undefined;
|
9345
|
-
isImmediateCorrection?: boolean | undefined;
|
9346
|
-
} | null | undefined;
|
9347
9031
|
originalActionId?: string | null | undefined;
|
9348
9032
|
} | {
|
9349
9033
|
type: "READ";
|
@@ -9446,10 +9130,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9446
9130
|
start: string;
|
9447
9131
|
end: string;
|
9448
9132
|
} | null | undefined> | null | undefined;
|
9449
|
-
actionDetails?: {
|
9450
|
-
templateId?: string | undefined;
|
9451
|
-
isImmediateCorrection?: boolean | undefined;
|
9452
|
-
} | null | undefined;
|
9453
9133
|
originalActionId?: string | null | undefined;
|
9454
9134
|
} | {
|
9455
9135
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -9462,10 +9142,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9462
9142
|
createdByRole: string;
|
9463
9143
|
createdBySignature?: string | null | undefined;
|
9464
9144
|
createdAtLocation?: string | null | undefined;
|
9465
|
-
actionDetails?: {
|
9466
|
-
templateId?: string | undefined;
|
9467
|
-
isImmediateCorrection?: boolean | undefined;
|
9468
|
-
} | null | undefined;
|
9469
9145
|
originalActionId?: string | null | undefined;
|
9470
9146
|
})[];
|
9471
9147
|
trackingId: string;
|
@@ -9577,10 +9253,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9577
9253
|
start: string;
|
9578
9254
|
end: string;
|
9579
9255
|
} | null | undefined> | null | undefined;
|
9580
|
-
actionDetails?: {
|
9581
|
-
templateId?: string | undefined;
|
9582
|
-
isImmediateCorrection?: boolean | undefined;
|
9583
|
-
} | null | undefined;
|
9584
9256
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9585
9257
|
} | {
|
9586
9258
|
type: "UNASSIGN";
|
@@ -9683,10 +9355,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9683
9355
|
start: string;
|
9684
9356
|
end: string;
|
9685
9357
|
} | null | undefined> | null | undefined;
|
9686
|
-
actionDetails?: {
|
9687
|
-
templateId?: string | undefined;
|
9688
|
-
isImmediateCorrection?: boolean | undefined;
|
9689
|
-
} | null | undefined;
|
9690
9358
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9691
9359
|
} | {
|
9692
9360
|
type: "REGISTER";
|
@@ -9789,10 +9457,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9789
9457
|
start: string;
|
9790
9458
|
end: string;
|
9791
9459
|
} | null | undefined> | null | undefined;
|
9792
|
-
actionDetails?: {
|
9793
|
-
templateId?: string | undefined;
|
9794
|
-
isImmediateCorrection?: boolean | undefined;
|
9795
|
-
} | null | undefined;
|
9796
9460
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9797
9461
|
registrationNumber?: string | undefined;
|
9798
9462
|
} | {
|
@@ -9896,10 +9560,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9896
9560
|
start: string;
|
9897
9561
|
end: string;
|
9898
9562
|
} | null | undefined> | null | undefined;
|
9899
|
-
actionDetails?: {
|
9900
|
-
templateId?: string | undefined;
|
9901
|
-
isImmediateCorrection?: boolean | undefined;
|
9902
|
-
} | null | undefined;
|
9903
9563
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9904
9564
|
} | {
|
9905
9565
|
type: "VALIDATE";
|
@@ -10002,10 +9662,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10002
9662
|
start: string;
|
10003
9663
|
end: string;
|
10004
9664
|
} | null | undefined> | null | undefined;
|
10005
|
-
actionDetails?: {
|
10006
|
-
templateId?: string | undefined;
|
10007
|
-
isImmediateCorrection?: boolean | undefined;
|
10008
|
-
} | null | undefined;
|
10009
9665
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10010
9666
|
} | {
|
10011
9667
|
type: "REJECT";
|
@@ -10112,10 +9768,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10112
9768
|
start: string;
|
10113
9769
|
end: string;
|
10114
9770
|
} | null | undefined> | null | undefined;
|
10115
|
-
actionDetails?: {
|
10116
|
-
templateId?: string | undefined;
|
10117
|
-
isImmediateCorrection?: boolean | undefined;
|
10118
|
-
} | null | undefined;
|
10119
9771
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10120
9772
|
} | {
|
10121
9773
|
type: "MARKED_AS_DUPLICATE";
|
@@ -10218,10 +9870,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10218
9870
|
start: string;
|
10219
9871
|
end: string;
|
10220
9872
|
} | null | undefined> | null | undefined;
|
10221
|
-
actionDetails?: {
|
10222
|
-
templateId?: string | undefined;
|
10223
|
-
isImmediateCorrection?: boolean | undefined;
|
10224
|
-
} | null | undefined;
|
10225
9873
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10226
9874
|
} | {
|
10227
9875
|
type: "ARCHIVE";
|
@@ -10328,10 +9976,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10328
9976
|
start: string;
|
10329
9977
|
end: string;
|
10330
9978
|
} | null | undefined> | null | undefined;
|
10331
|
-
actionDetails?: {
|
10332
|
-
templateId?: string | undefined;
|
10333
|
-
isImmediateCorrection?: boolean | undefined;
|
10334
|
-
} | null | undefined;
|
10335
9979
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10336
9980
|
} | {
|
10337
9981
|
type: "CREATE";
|
@@ -10434,10 +10078,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10434
10078
|
start: string;
|
10435
10079
|
end: string;
|
10436
10080
|
} | null | undefined> | null | undefined;
|
10437
|
-
actionDetails?: {
|
10438
|
-
templateId?: string | undefined;
|
10439
|
-
isImmediateCorrection?: boolean | undefined;
|
10440
|
-
} | null | undefined;
|
10441
10081
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10442
10082
|
} | {
|
10443
10083
|
type: "NOTIFY";
|
@@ -10540,10 +10180,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10540
10180
|
start: string;
|
10541
10181
|
end: string;
|
10542
10182
|
} | null | undefined> | null | undefined;
|
10543
|
-
actionDetails?: {
|
10544
|
-
templateId?: string | undefined;
|
10545
|
-
isImmediateCorrection?: boolean | undefined;
|
10546
|
-
} | null | undefined;
|
10547
10183
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10548
10184
|
} | {
|
10549
10185
|
type: "PRINT_CERTIFICATE";
|
@@ -10646,10 +10282,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10646
10282
|
start: string;
|
10647
10283
|
end: string;
|
10648
10284
|
} | null | undefined> | null | undefined;
|
10649
|
-
actionDetails?: {
|
10650
|
-
templateId?: string | undefined;
|
10651
|
-
isImmediateCorrection?: boolean | undefined;
|
10652
|
-
} | null | undefined;
|
10653
10285
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10654
10286
|
} | {
|
10655
10287
|
type: "REQUEST_CORRECTION";
|
@@ -10752,10 +10384,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10752
10384
|
start: string;
|
10753
10385
|
end: string;
|
10754
10386
|
} | null | undefined> | null | undefined;
|
10755
|
-
actionDetails?: {
|
10756
|
-
templateId?: string | undefined;
|
10757
|
-
isImmediateCorrection?: boolean | undefined;
|
10758
|
-
} | null | undefined;
|
10759
10387
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10760
10388
|
} | {
|
10761
10389
|
type: "APPROVE_CORRECTION";
|
@@ -10859,15 +10487,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10859
10487
|
start: string;
|
10860
10488
|
end: string;
|
10861
10489
|
} | null | undefined> | null | undefined;
|
10862
|
-
actionDetails?: {
|
10863
|
-
templateId?: string | undefined;
|
10864
|
-
isImmediateCorrection?: boolean | undefined;
|
10865
|
-
} | null | undefined;
|
10866
10490
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10867
10491
|
} | {
|
10868
10492
|
type: "REJECT_CORRECTION";
|
10869
10493
|
id: string & import("zod").BRAND<"UUID">;
|
10870
10494
|
status: "Rejected" | "Requested" | "Accepted";
|
10495
|
+
reason: {
|
10496
|
+
message: string;
|
10497
|
+
isDuplicate?: boolean | undefined;
|
10498
|
+
};
|
10871
10499
|
transactionId: string;
|
10872
10500
|
createdByUserType: "system" | "user";
|
10873
10501
|
createdAt: string;
|
@@ -10966,10 +10594,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10966
10594
|
start: string;
|
10967
10595
|
end: string;
|
10968
10596
|
} | null | undefined> | null | undefined;
|
10969
|
-
actionDetails?: {
|
10970
|
-
templateId?: string | undefined;
|
10971
|
-
isImmediateCorrection?: boolean | undefined;
|
10972
|
-
} | null | undefined;
|
10973
10597
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10974
10598
|
} | {
|
10975
10599
|
type: "READ";
|
@@ -11072,10 +10696,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11072
10696
|
start: string;
|
11073
10697
|
end: string;
|
11074
10698
|
} | null | undefined> | null | undefined;
|
11075
|
-
actionDetails?: {
|
11076
|
-
templateId?: string | undefined;
|
11077
|
-
isImmediateCorrection?: boolean | undefined;
|
11078
|
-
} | null | undefined;
|
11079
10699
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11080
10700
|
} | {
|
11081
10701
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -11088,10 +10708,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11088
10708
|
createdByRole: string;
|
11089
10709
|
createdBySignature?: string | null | undefined;
|
11090
10710
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11091
|
-
actionDetails?: {
|
11092
|
-
templateId?: string | undefined;
|
11093
|
-
isImmediateCorrection?: boolean | undefined;
|
11094
|
-
} | null | undefined;
|
11095
10711
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11096
10712
|
})[];
|
11097
10713
|
trackingId: string;
|