@opencrvs/toolkit 1.8.1-rc.5530ede → 1.8.1-rc.5c415ba
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 +432 -0
- package/dist/commons/conditionals/validate.d.ts +3 -2
- package/dist/commons/events/ActionDocument.d.ts +695 -0
- package/dist/commons/events/ActionInput.d.ts +576 -0
- package/dist/commons/events/Draft.d.ts +44 -0
- package/dist/commons/events/EventDocument.d.ts +442 -0
- package/dist/commons/events/EventIndex.d.ts +6 -0
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/event.d.ts +55 -1
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +4 -0
- package/dist/events/index.js +133 -34
- 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,11 +1461,19 @@ 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";
|
1473
|
+
reason: {
|
1474
|
+
message: string;
|
1475
|
+
isDuplicate?: boolean | undefined;
|
1476
|
+
};
|
1421
1477
|
transactionId: string;
|
1422
1478
|
createdByUserType: "system" | "user";
|
1423
1479
|
createdAt: string;
|
@@ -1516,6 +1572,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1516
1572
|
start: string;
|
1517
1573
|
end: string;
|
1518
1574
|
} | null | undefined> | null | undefined;
|
1575
|
+
actionDetails?: {
|
1576
|
+
templateId?: string | undefined;
|
1577
|
+
isImmediateCorrection?: boolean | undefined;
|
1578
|
+
} | null | undefined;
|
1519
1579
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1520
1580
|
} | {
|
1521
1581
|
type: "READ";
|
@@ -1618,6 +1678,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1618
1678
|
start: string;
|
1619
1679
|
end: string;
|
1620
1680
|
} | null | undefined> | null | undefined;
|
1681
|
+
actionDetails?: {
|
1682
|
+
templateId?: string | undefined;
|
1683
|
+
isImmediateCorrection?: boolean | undefined;
|
1684
|
+
} | null | undefined;
|
1621
1685
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1622
1686
|
} | {
|
1623
1687
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -1630,6 +1694,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1630
1694
|
createdByRole: string;
|
1631
1695
|
createdBySignature?: string | null | undefined;
|
1632
1696
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1697
|
+
actionDetails?: {
|
1698
|
+
templateId?: string | undefined;
|
1699
|
+
isImmediateCorrection?: boolean | undefined;
|
1700
|
+
} | null | undefined;
|
1633
1701
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1634
1702
|
})[];
|
1635
1703
|
trackingId: string;
|
@@ -1745,6 +1813,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1745
1813
|
start: string;
|
1746
1814
|
end: string;
|
1747
1815
|
} | null | undefined> | null | undefined;
|
1816
|
+
actionDetails?: {
|
1817
|
+
templateId?: string | undefined;
|
1818
|
+
isImmediateCorrection?: boolean | undefined;
|
1819
|
+
} | null | undefined;
|
1748
1820
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1749
1821
|
} | {
|
1750
1822
|
type: "UNASSIGN";
|
@@ -1847,6 +1919,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1847
1919
|
start: string;
|
1848
1920
|
end: string;
|
1849
1921
|
} | null | undefined> | null | undefined;
|
1922
|
+
actionDetails?: {
|
1923
|
+
templateId?: string | undefined;
|
1924
|
+
isImmediateCorrection?: boolean | undefined;
|
1925
|
+
} | null | undefined;
|
1850
1926
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1851
1927
|
} | {
|
1852
1928
|
type: "REGISTER";
|
@@ -1949,6 +2025,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1949
2025
|
start: string;
|
1950
2026
|
end: string;
|
1951
2027
|
} | null | undefined> | null | undefined;
|
2028
|
+
actionDetails?: {
|
2029
|
+
templateId?: string | undefined;
|
2030
|
+
isImmediateCorrection?: boolean | undefined;
|
2031
|
+
} | null | undefined;
|
1952
2032
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1953
2033
|
registrationNumber?: string | undefined;
|
1954
2034
|
} | {
|
@@ -2052,6 +2132,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2052
2132
|
start: string;
|
2053
2133
|
end: string;
|
2054
2134
|
} | null | undefined> | null | undefined;
|
2135
|
+
actionDetails?: {
|
2136
|
+
templateId?: string | undefined;
|
2137
|
+
isImmediateCorrection?: boolean | undefined;
|
2138
|
+
} | null | undefined;
|
2055
2139
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2056
2140
|
} | {
|
2057
2141
|
type: "VALIDATE";
|
@@ -2154,6 +2238,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2154
2238
|
start: string;
|
2155
2239
|
end: string;
|
2156
2240
|
} | null | undefined> | null | undefined;
|
2241
|
+
actionDetails?: {
|
2242
|
+
templateId?: string | undefined;
|
2243
|
+
isImmediateCorrection?: boolean | undefined;
|
2244
|
+
} | null | undefined;
|
2157
2245
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2158
2246
|
} | {
|
2159
2247
|
type: "REJECT";
|
@@ -2260,6 +2348,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2260
2348
|
start: string;
|
2261
2349
|
end: string;
|
2262
2350
|
} | null | undefined> | null | undefined;
|
2351
|
+
actionDetails?: {
|
2352
|
+
templateId?: string | undefined;
|
2353
|
+
isImmediateCorrection?: boolean | undefined;
|
2354
|
+
} | null | undefined;
|
2263
2355
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2264
2356
|
} | {
|
2265
2357
|
type: "MARKED_AS_DUPLICATE";
|
@@ -2362,6 +2454,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2362
2454
|
start: string;
|
2363
2455
|
end: string;
|
2364
2456
|
} | null | undefined> | null | undefined;
|
2457
|
+
actionDetails?: {
|
2458
|
+
templateId?: string | undefined;
|
2459
|
+
isImmediateCorrection?: boolean | undefined;
|
2460
|
+
} | null | undefined;
|
2365
2461
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2366
2462
|
} | {
|
2367
2463
|
type: "ARCHIVE";
|
@@ -2468,6 +2564,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2468
2564
|
start: string;
|
2469
2565
|
end: string;
|
2470
2566
|
} | null | undefined> | null | undefined;
|
2567
|
+
actionDetails?: {
|
2568
|
+
templateId?: string | undefined;
|
2569
|
+
isImmediateCorrection?: boolean | undefined;
|
2570
|
+
} | null | undefined;
|
2471
2571
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2472
2572
|
} | {
|
2473
2573
|
type: "CREATE";
|
@@ -2570,6 +2670,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2570
2670
|
start: string;
|
2571
2671
|
end: string;
|
2572
2672
|
} | null | undefined> | null | undefined;
|
2673
|
+
actionDetails?: {
|
2674
|
+
templateId?: string | undefined;
|
2675
|
+
isImmediateCorrection?: boolean | undefined;
|
2676
|
+
} | null | undefined;
|
2573
2677
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2574
2678
|
} | {
|
2575
2679
|
type: "NOTIFY";
|
@@ -2672,6 +2776,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2672
2776
|
start: string;
|
2673
2777
|
end: string;
|
2674
2778
|
} | null | undefined> | null | undefined;
|
2779
|
+
actionDetails?: {
|
2780
|
+
templateId?: string | undefined;
|
2781
|
+
isImmediateCorrection?: boolean | undefined;
|
2782
|
+
} | null | undefined;
|
2675
2783
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2676
2784
|
} | {
|
2677
2785
|
type: "PRINT_CERTIFICATE";
|
@@ -2774,6 +2882,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2774
2882
|
start: string;
|
2775
2883
|
end: string;
|
2776
2884
|
} | null | undefined> | null | undefined;
|
2885
|
+
actionDetails?: {
|
2886
|
+
templateId?: string | undefined;
|
2887
|
+
isImmediateCorrection?: boolean | undefined;
|
2888
|
+
} | null | undefined;
|
2777
2889
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2778
2890
|
} | {
|
2779
2891
|
type: "REQUEST_CORRECTION";
|
@@ -2876,6 +2988,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2876
2988
|
start: string;
|
2877
2989
|
end: string;
|
2878
2990
|
} | null | undefined> | null | undefined;
|
2991
|
+
actionDetails?: {
|
2992
|
+
templateId?: string | undefined;
|
2993
|
+
isImmediateCorrection?: boolean | undefined;
|
2994
|
+
} | null | undefined;
|
2879
2995
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2880
2996
|
} | {
|
2881
2997
|
type: "APPROVE_CORRECTION";
|
@@ -2979,11 +3095,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2979
3095
|
start: string;
|
2980
3096
|
end: string;
|
2981
3097
|
} | null | undefined> | null | undefined;
|
3098
|
+
actionDetails?: {
|
3099
|
+
templateId?: string | undefined;
|
3100
|
+
isImmediateCorrection?: boolean | undefined;
|
3101
|
+
} | null | undefined;
|
2982
3102
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2983
3103
|
} | {
|
2984
3104
|
type: "REJECT_CORRECTION";
|
2985
3105
|
id: string & import("zod").BRAND<"UUID">;
|
2986
3106
|
status: "Rejected" | "Requested" | "Accepted";
|
3107
|
+
reason: {
|
3108
|
+
message: string;
|
3109
|
+
isDuplicate?: boolean | undefined;
|
3110
|
+
};
|
2987
3111
|
transactionId: string;
|
2988
3112
|
createdByUserType: "system" | "user";
|
2989
3113
|
createdAt: string;
|
@@ -3082,6 +3206,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3082
3206
|
start: string;
|
3083
3207
|
end: string;
|
3084
3208
|
} | null | undefined> | null | undefined;
|
3209
|
+
actionDetails?: {
|
3210
|
+
templateId?: string | undefined;
|
3211
|
+
isImmediateCorrection?: boolean | undefined;
|
3212
|
+
} | null | undefined;
|
3085
3213
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3086
3214
|
} | {
|
3087
3215
|
type: "READ";
|
@@ -3184,6 +3312,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3184
3312
|
start: string;
|
3185
3313
|
end: string;
|
3186
3314
|
} | null | undefined> | null | undefined;
|
3315
|
+
actionDetails?: {
|
3316
|
+
templateId?: string | undefined;
|
3317
|
+
isImmediateCorrection?: boolean | undefined;
|
3318
|
+
} | null | undefined;
|
3187
3319
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3188
3320
|
} | {
|
3189
3321
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -3196,6 +3328,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3196
3328
|
createdByRole: string;
|
3197
3329
|
createdBySignature?: string | null | undefined;
|
3198
3330
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3331
|
+
actionDetails?: {
|
3332
|
+
templateId?: string | undefined;
|
3333
|
+
isImmediateCorrection?: boolean | undefined;
|
3334
|
+
} | null | undefined;
|
3199
3335
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3200
3336
|
})[];
|
3201
3337
|
trackingId: string;
|
@@ -3339,6 +3475,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3339
3475
|
start: string;
|
3340
3476
|
end: string;
|
3341
3477
|
} | null | undefined> | null | undefined;
|
3478
|
+
actionDetails?: {
|
3479
|
+
templateId?: string | undefined;
|
3480
|
+
isImmediateCorrection?: boolean | undefined;
|
3481
|
+
} | null | undefined;
|
3342
3482
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3343
3483
|
};
|
3344
3484
|
}[];
|
@@ -3440,6 +3580,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3440
3580
|
start: string;
|
3441
3581
|
end: string;
|
3442
3582
|
} | null | undefined> | undefined;
|
3583
|
+
actionDetails?: {
|
3584
|
+
templateId?: string | undefined;
|
3585
|
+
isImmediateCorrection?: boolean | undefined;
|
3586
|
+
} | undefined;
|
3443
3587
|
originalActionId?: string | undefined;
|
3444
3588
|
keepAssignment?: boolean | undefined;
|
3445
3589
|
};
|
@@ -3548,6 +3692,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3548
3692
|
start: string;
|
3549
3693
|
end: string;
|
3550
3694
|
} | null | undefined> | null | undefined;
|
3695
|
+
actionDetails?: {
|
3696
|
+
templateId?: string | undefined;
|
3697
|
+
isImmediateCorrection?: boolean | undefined;
|
3698
|
+
} | null | undefined;
|
3551
3699
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3552
3700
|
};
|
3553
3701
|
};
|
@@ -3993,6 +4141,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3993
4141
|
start: string;
|
3994
4142
|
end: string;
|
3995
4143
|
} | null | undefined> | undefined;
|
4144
|
+
actionDetails?: {
|
4145
|
+
templateId?: string | undefined;
|
4146
|
+
isImmediateCorrection?: boolean | undefined;
|
4147
|
+
} | undefined;
|
3996
4148
|
originalActionId?: string | undefined;
|
3997
4149
|
keepAssignment?: boolean | undefined;
|
3998
4150
|
};
|
@@ -4103,6 +4255,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4103
4255
|
start: string;
|
4104
4256
|
end: string;
|
4105
4257
|
} | null | undefined> | null | undefined;
|
4258
|
+
actionDetails?: {
|
4259
|
+
templateId?: string | undefined;
|
4260
|
+
isImmediateCorrection?: boolean | undefined;
|
4261
|
+
} | null | undefined;
|
4106
4262
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4107
4263
|
} | {
|
4108
4264
|
type: "UNASSIGN";
|
@@ -4205,6 +4361,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4205
4361
|
start: string;
|
4206
4362
|
end: string;
|
4207
4363
|
} | null | undefined> | null | undefined;
|
4364
|
+
actionDetails?: {
|
4365
|
+
templateId?: string | undefined;
|
4366
|
+
isImmediateCorrection?: boolean | undefined;
|
4367
|
+
} | null | undefined;
|
4208
4368
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4209
4369
|
} | {
|
4210
4370
|
type: "REGISTER";
|
@@ -4307,6 +4467,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4307
4467
|
start: string;
|
4308
4468
|
end: string;
|
4309
4469
|
} | null | undefined> | null | undefined;
|
4470
|
+
actionDetails?: {
|
4471
|
+
templateId?: string | undefined;
|
4472
|
+
isImmediateCorrection?: boolean | undefined;
|
4473
|
+
} | null | undefined;
|
4310
4474
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4311
4475
|
registrationNumber?: string | undefined;
|
4312
4476
|
} | {
|
@@ -4410,6 +4574,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4410
4574
|
start: string;
|
4411
4575
|
end: string;
|
4412
4576
|
} | null | undefined> | null | undefined;
|
4577
|
+
actionDetails?: {
|
4578
|
+
templateId?: string | undefined;
|
4579
|
+
isImmediateCorrection?: boolean | undefined;
|
4580
|
+
} | null | undefined;
|
4413
4581
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4414
4582
|
} | {
|
4415
4583
|
type: "VALIDATE";
|
@@ -4512,6 +4680,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4512
4680
|
start: string;
|
4513
4681
|
end: string;
|
4514
4682
|
} | null | undefined> | null | undefined;
|
4683
|
+
actionDetails?: {
|
4684
|
+
templateId?: string | undefined;
|
4685
|
+
isImmediateCorrection?: boolean | undefined;
|
4686
|
+
} | null | undefined;
|
4515
4687
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4516
4688
|
} | {
|
4517
4689
|
type: "REJECT";
|
@@ -4618,6 +4790,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4618
4790
|
start: string;
|
4619
4791
|
end: string;
|
4620
4792
|
} | null | undefined> | null | undefined;
|
4793
|
+
actionDetails?: {
|
4794
|
+
templateId?: string | undefined;
|
4795
|
+
isImmediateCorrection?: boolean | undefined;
|
4796
|
+
} | null | undefined;
|
4621
4797
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4622
4798
|
} | {
|
4623
4799
|
type: "MARKED_AS_DUPLICATE";
|
@@ -4720,6 +4896,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4720
4896
|
start: string;
|
4721
4897
|
end: string;
|
4722
4898
|
} | null | undefined> | null | undefined;
|
4899
|
+
actionDetails?: {
|
4900
|
+
templateId?: string | undefined;
|
4901
|
+
isImmediateCorrection?: boolean | undefined;
|
4902
|
+
} | null | undefined;
|
4723
4903
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4724
4904
|
} | {
|
4725
4905
|
type: "ARCHIVE";
|
@@ -4826,6 +5006,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4826
5006
|
start: string;
|
4827
5007
|
end: string;
|
4828
5008
|
} | null | undefined> | null | undefined;
|
5009
|
+
actionDetails?: {
|
5010
|
+
templateId?: string | undefined;
|
5011
|
+
isImmediateCorrection?: boolean | undefined;
|
5012
|
+
} | null | undefined;
|
4829
5013
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4830
5014
|
} | {
|
4831
5015
|
type: "CREATE";
|
@@ -4928,6 +5112,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4928
5112
|
start: string;
|
4929
5113
|
end: string;
|
4930
5114
|
} | null | undefined> | null | undefined;
|
5115
|
+
actionDetails?: {
|
5116
|
+
templateId?: string | undefined;
|
5117
|
+
isImmediateCorrection?: boolean | undefined;
|
5118
|
+
} | null | undefined;
|
4931
5119
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4932
5120
|
} | {
|
4933
5121
|
type: "NOTIFY";
|
@@ -5030,6 +5218,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5030
5218
|
start: string;
|
5031
5219
|
end: string;
|
5032
5220
|
} | null | undefined> | null | undefined;
|
5221
|
+
actionDetails?: {
|
5222
|
+
templateId?: string | undefined;
|
5223
|
+
isImmediateCorrection?: boolean | undefined;
|
5224
|
+
} | null | undefined;
|
5033
5225
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5034
5226
|
} | {
|
5035
5227
|
type: "PRINT_CERTIFICATE";
|
@@ -5132,6 +5324,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5132
5324
|
start: string;
|
5133
5325
|
end: string;
|
5134
5326
|
} | null | undefined> | null | undefined;
|
5327
|
+
actionDetails?: {
|
5328
|
+
templateId?: string | undefined;
|
5329
|
+
isImmediateCorrection?: boolean | undefined;
|
5330
|
+
} | null | undefined;
|
5135
5331
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5136
5332
|
} | {
|
5137
5333
|
type: "REQUEST_CORRECTION";
|
@@ -5234,6 +5430,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5234
5430
|
start: string;
|
5235
5431
|
end: string;
|
5236
5432
|
} | null | undefined> | null | undefined;
|
5433
|
+
actionDetails?: {
|
5434
|
+
templateId?: string | undefined;
|
5435
|
+
isImmediateCorrection?: boolean | undefined;
|
5436
|
+
} | null | undefined;
|
5237
5437
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5238
5438
|
} | {
|
5239
5439
|
type: "APPROVE_CORRECTION";
|
@@ -5337,11 +5537,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5337
5537
|
start: string;
|
5338
5538
|
end: string;
|
5339
5539
|
} | null | undefined> | null | undefined;
|
5540
|
+
actionDetails?: {
|
5541
|
+
templateId?: string | undefined;
|
5542
|
+
isImmediateCorrection?: boolean | undefined;
|
5543
|
+
} | null | undefined;
|
5340
5544
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5341
5545
|
} | {
|
5342
5546
|
type: "REJECT_CORRECTION";
|
5343
5547
|
id: string & import("zod").BRAND<"UUID">;
|
5344
5548
|
status: "Rejected" | "Requested" | "Accepted";
|
5549
|
+
reason: {
|
5550
|
+
message: string;
|
5551
|
+
isDuplicate?: boolean | undefined;
|
5552
|
+
};
|
5345
5553
|
transactionId: string;
|
5346
5554
|
createdByUserType: "system" | "user";
|
5347
5555
|
createdAt: string;
|
@@ -5440,6 +5648,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5440
5648
|
start: string;
|
5441
5649
|
end: string;
|
5442
5650
|
} | null | undefined> | null | undefined;
|
5651
|
+
actionDetails?: {
|
5652
|
+
templateId?: string | undefined;
|
5653
|
+
isImmediateCorrection?: boolean | undefined;
|
5654
|
+
} | null | undefined;
|
5443
5655
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5444
5656
|
} | {
|
5445
5657
|
type: "READ";
|
@@ -5542,6 +5754,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5542
5754
|
start: string;
|
5543
5755
|
end: string;
|
5544
5756
|
} | null | undefined> | null | undefined;
|
5757
|
+
actionDetails?: {
|
5758
|
+
templateId?: string | undefined;
|
5759
|
+
isImmediateCorrection?: boolean | undefined;
|
5760
|
+
} | null | undefined;
|
5545
5761
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5546
5762
|
} | {
|
5547
5763
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -5554,6 +5770,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5554
5770
|
createdByRole: string;
|
5555
5771
|
createdBySignature?: string | null | undefined;
|
5556
5772
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5773
|
+
actionDetails?: {
|
5774
|
+
templateId?: string | undefined;
|
5775
|
+
isImmediateCorrection?: boolean | undefined;
|
5776
|
+
} | null | undefined;
|
5557
5777
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5558
5778
|
})[];
|
5559
5779
|
trackingId: string;
|
@@ -5655,6 +5875,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5655
5875
|
start: string;
|
5656
5876
|
end: string;
|
5657
5877
|
} | null | undefined> | undefined;
|
5878
|
+
actionDetails?: {
|
5879
|
+
templateId?: string | undefined;
|
5880
|
+
isImmediateCorrection?: boolean | undefined;
|
5881
|
+
} | undefined;
|
5658
5882
|
originalActionId?: string | undefined;
|
5659
5883
|
assignedTo?: null | undefined;
|
5660
5884
|
keepAssignment?: boolean | undefined;
|
@@ -5766,6 +5990,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5766
5990
|
start: string;
|
5767
5991
|
end: string;
|
5768
5992
|
} | null | undefined> | null | undefined;
|
5993
|
+
actionDetails?: {
|
5994
|
+
templateId?: string | undefined;
|
5995
|
+
isImmediateCorrection?: boolean | undefined;
|
5996
|
+
} | null | undefined;
|
5769
5997
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5770
5998
|
} | {
|
5771
5999
|
type: "UNASSIGN";
|
@@ -5868,6 +6096,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5868
6096
|
start: string;
|
5869
6097
|
end: string;
|
5870
6098
|
} | null | undefined> | null | undefined;
|
6099
|
+
actionDetails?: {
|
6100
|
+
templateId?: string | undefined;
|
6101
|
+
isImmediateCorrection?: boolean | undefined;
|
6102
|
+
} | null | undefined;
|
5871
6103
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5872
6104
|
} | {
|
5873
6105
|
type: "REGISTER";
|
@@ -5970,6 +6202,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5970
6202
|
start: string;
|
5971
6203
|
end: string;
|
5972
6204
|
} | null | undefined> | null | undefined;
|
6205
|
+
actionDetails?: {
|
6206
|
+
templateId?: string | undefined;
|
6207
|
+
isImmediateCorrection?: boolean | undefined;
|
6208
|
+
} | null | undefined;
|
5973
6209
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5974
6210
|
registrationNumber?: string | undefined;
|
5975
6211
|
} | {
|
@@ -6073,6 +6309,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6073
6309
|
start: string;
|
6074
6310
|
end: string;
|
6075
6311
|
} | null | undefined> | null | undefined;
|
6312
|
+
actionDetails?: {
|
6313
|
+
templateId?: string | undefined;
|
6314
|
+
isImmediateCorrection?: boolean | undefined;
|
6315
|
+
} | null | undefined;
|
6076
6316
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6077
6317
|
} | {
|
6078
6318
|
type: "VALIDATE";
|
@@ -6175,6 +6415,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6175
6415
|
start: string;
|
6176
6416
|
end: string;
|
6177
6417
|
} | null | undefined> | null | undefined;
|
6418
|
+
actionDetails?: {
|
6419
|
+
templateId?: string | undefined;
|
6420
|
+
isImmediateCorrection?: boolean | undefined;
|
6421
|
+
} | null | undefined;
|
6178
6422
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6179
6423
|
} | {
|
6180
6424
|
type: "REJECT";
|
@@ -6281,6 +6525,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6281
6525
|
start: string;
|
6282
6526
|
end: string;
|
6283
6527
|
} | null | undefined> | null | undefined;
|
6528
|
+
actionDetails?: {
|
6529
|
+
templateId?: string | undefined;
|
6530
|
+
isImmediateCorrection?: boolean | undefined;
|
6531
|
+
} | null | undefined;
|
6284
6532
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6285
6533
|
} | {
|
6286
6534
|
type: "MARKED_AS_DUPLICATE";
|
@@ -6383,6 +6631,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6383
6631
|
start: string;
|
6384
6632
|
end: string;
|
6385
6633
|
} | null | undefined> | null | undefined;
|
6634
|
+
actionDetails?: {
|
6635
|
+
templateId?: string | undefined;
|
6636
|
+
isImmediateCorrection?: boolean | undefined;
|
6637
|
+
} | null | undefined;
|
6386
6638
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6387
6639
|
} | {
|
6388
6640
|
type: "ARCHIVE";
|
@@ -6489,6 +6741,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6489
6741
|
start: string;
|
6490
6742
|
end: string;
|
6491
6743
|
} | null | undefined> | null | undefined;
|
6744
|
+
actionDetails?: {
|
6745
|
+
templateId?: string | undefined;
|
6746
|
+
isImmediateCorrection?: boolean | undefined;
|
6747
|
+
} | null | undefined;
|
6492
6748
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6493
6749
|
} | {
|
6494
6750
|
type: "CREATE";
|
@@ -6591,6 +6847,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6591
6847
|
start: string;
|
6592
6848
|
end: string;
|
6593
6849
|
} | null | undefined> | null | undefined;
|
6850
|
+
actionDetails?: {
|
6851
|
+
templateId?: string | undefined;
|
6852
|
+
isImmediateCorrection?: boolean | undefined;
|
6853
|
+
} | null | undefined;
|
6594
6854
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6595
6855
|
} | {
|
6596
6856
|
type: "NOTIFY";
|
@@ -6693,6 +6953,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6693
6953
|
start: string;
|
6694
6954
|
end: string;
|
6695
6955
|
} | null | undefined> | null | undefined;
|
6956
|
+
actionDetails?: {
|
6957
|
+
templateId?: string | undefined;
|
6958
|
+
isImmediateCorrection?: boolean | undefined;
|
6959
|
+
} | null | undefined;
|
6696
6960
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6697
6961
|
} | {
|
6698
6962
|
type: "PRINT_CERTIFICATE";
|
@@ -6795,6 +7059,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6795
7059
|
start: string;
|
6796
7060
|
end: string;
|
6797
7061
|
} | null | undefined> | null | undefined;
|
7062
|
+
actionDetails?: {
|
7063
|
+
templateId?: string | undefined;
|
7064
|
+
isImmediateCorrection?: boolean | undefined;
|
7065
|
+
} | null | undefined;
|
6798
7066
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6799
7067
|
} | {
|
6800
7068
|
type: "REQUEST_CORRECTION";
|
@@ -6897,6 +7165,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6897
7165
|
start: string;
|
6898
7166
|
end: string;
|
6899
7167
|
} | null | undefined> | null | undefined;
|
7168
|
+
actionDetails?: {
|
7169
|
+
templateId?: string | undefined;
|
7170
|
+
isImmediateCorrection?: boolean | undefined;
|
7171
|
+
} | null | undefined;
|
6900
7172
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6901
7173
|
} | {
|
6902
7174
|
type: "APPROVE_CORRECTION";
|
@@ -7000,11 +7272,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7000
7272
|
start: string;
|
7001
7273
|
end: string;
|
7002
7274
|
} | null | undefined> | null | undefined;
|
7275
|
+
actionDetails?: {
|
7276
|
+
templateId?: string | undefined;
|
7277
|
+
isImmediateCorrection?: boolean | undefined;
|
7278
|
+
} | null | undefined;
|
7003
7279
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7004
7280
|
} | {
|
7005
7281
|
type: "REJECT_CORRECTION";
|
7006
7282
|
id: string & import("zod").BRAND<"UUID">;
|
7007
7283
|
status: "Rejected" | "Requested" | "Accepted";
|
7284
|
+
reason: {
|
7285
|
+
message: string;
|
7286
|
+
isDuplicate?: boolean | undefined;
|
7287
|
+
};
|
7008
7288
|
transactionId: string;
|
7009
7289
|
createdByUserType: "system" | "user";
|
7010
7290
|
createdAt: string;
|
@@ -7103,6 +7383,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7103
7383
|
start: string;
|
7104
7384
|
end: string;
|
7105
7385
|
} | null | undefined> | null | undefined;
|
7386
|
+
actionDetails?: {
|
7387
|
+
templateId?: string | undefined;
|
7388
|
+
isImmediateCorrection?: boolean | undefined;
|
7389
|
+
} | null | undefined;
|
7106
7390
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7107
7391
|
} | {
|
7108
7392
|
type: "READ";
|
@@ -7205,6 +7489,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7205
7489
|
start: string;
|
7206
7490
|
end: string;
|
7207
7491
|
} | null | undefined> | null | undefined;
|
7492
|
+
actionDetails?: {
|
7493
|
+
templateId?: string | undefined;
|
7494
|
+
isImmediateCorrection?: boolean | undefined;
|
7495
|
+
} | null | undefined;
|
7208
7496
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7209
7497
|
} | {
|
7210
7498
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -7217,6 +7505,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7217
7505
|
createdByRole: string;
|
7218
7506
|
createdBySignature?: string | null | undefined;
|
7219
7507
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7508
|
+
actionDetails?: {
|
7509
|
+
templateId?: string | undefined;
|
7510
|
+
isImmediateCorrection?: boolean | undefined;
|
7511
|
+
} | null | undefined;
|
7220
7512
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7221
7513
|
})[];
|
7222
7514
|
trackingId: string;
|
@@ -7465,6 +7757,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7465
7757
|
dateOfEvent?: string | null | undefined;
|
7466
7758
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7467
7759
|
updatedBy?: string | null | undefined;
|
7760
|
+
copiesPrintedForTemplate?: number | undefined;
|
7761
|
+
modifiedAt?: string | undefined;
|
7468
7762
|
}[];
|
7469
7763
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7470
7764
|
}>;
|
@@ -7560,6 +7854,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7560
7854
|
dateOfEvent?: string | null | undefined;
|
7561
7855
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7562
7856
|
updatedBy?: string | null | undefined;
|
7857
|
+
copiesPrintedForTemplate?: number | undefined;
|
7858
|
+
modifiedAt?: string | undefined;
|
7563
7859
|
}[];
|
7564
7860
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
7565
7861
|
}>;
|
@@ -7671,6 +7967,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7671
7967
|
start: string;
|
7672
7968
|
end: string;
|
7673
7969
|
} | null | undefined> | null | undefined;
|
7970
|
+
actionDetails?: {
|
7971
|
+
templateId?: string | undefined;
|
7972
|
+
isImmediateCorrection?: boolean | undefined;
|
7973
|
+
} | null | undefined;
|
7674
7974
|
originalActionId?: string | null | undefined;
|
7675
7975
|
} | {
|
7676
7976
|
type: "UNASSIGN";
|
@@ -7773,6 +8073,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7773
8073
|
start: string;
|
7774
8074
|
end: string;
|
7775
8075
|
} | null | undefined> | null | undefined;
|
8076
|
+
actionDetails?: {
|
8077
|
+
templateId?: string | undefined;
|
8078
|
+
isImmediateCorrection?: boolean | undefined;
|
8079
|
+
} | null | undefined;
|
7776
8080
|
originalActionId?: string | null | undefined;
|
7777
8081
|
} | {
|
7778
8082
|
type: "REGISTER";
|
@@ -7875,6 +8179,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7875
8179
|
start: string;
|
7876
8180
|
end: string;
|
7877
8181
|
} | null | undefined> | null | undefined;
|
8182
|
+
actionDetails?: {
|
8183
|
+
templateId?: string | undefined;
|
8184
|
+
isImmediateCorrection?: boolean | undefined;
|
8185
|
+
} | null | undefined;
|
7878
8186
|
originalActionId?: string | null | undefined;
|
7879
8187
|
registrationNumber?: string | undefined;
|
7880
8188
|
} | {
|
@@ -7978,6 +8286,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7978
8286
|
start: string;
|
7979
8287
|
end: string;
|
7980
8288
|
} | null | undefined> | null | undefined;
|
8289
|
+
actionDetails?: {
|
8290
|
+
templateId?: string | undefined;
|
8291
|
+
isImmediateCorrection?: boolean | undefined;
|
8292
|
+
} | null | undefined;
|
7981
8293
|
originalActionId?: string | null | undefined;
|
7982
8294
|
} | {
|
7983
8295
|
type: "VALIDATE";
|
@@ -8080,6 +8392,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8080
8392
|
start: string;
|
8081
8393
|
end: string;
|
8082
8394
|
} | null | undefined> | null | undefined;
|
8395
|
+
actionDetails?: {
|
8396
|
+
templateId?: string | undefined;
|
8397
|
+
isImmediateCorrection?: boolean | undefined;
|
8398
|
+
} | null | undefined;
|
8083
8399
|
originalActionId?: string | null | undefined;
|
8084
8400
|
} | {
|
8085
8401
|
type: "REJECT";
|
@@ -8186,6 +8502,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8186
8502
|
start: string;
|
8187
8503
|
end: string;
|
8188
8504
|
} | null | undefined> | null | undefined;
|
8505
|
+
actionDetails?: {
|
8506
|
+
templateId?: string | undefined;
|
8507
|
+
isImmediateCorrection?: boolean | undefined;
|
8508
|
+
} | null | undefined;
|
8189
8509
|
originalActionId?: string | null | undefined;
|
8190
8510
|
} | {
|
8191
8511
|
type: "MARKED_AS_DUPLICATE";
|
@@ -8288,6 +8608,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8288
8608
|
start: string;
|
8289
8609
|
end: string;
|
8290
8610
|
} | null | undefined> | null | undefined;
|
8611
|
+
actionDetails?: {
|
8612
|
+
templateId?: string | undefined;
|
8613
|
+
isImmediateCorrection?: boolean | undefined;
|
8614
|
+
} | null | undefined;
|
8291
8615
|
originalActionId?: string | null | undefined;
|
8292
8616
|
} | {
|
8293
8617
|
type: "ARCHIVE";
|
@@ -8394,6 +8718,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8394
8718
|
start: string;
|
8395
8719
|
end: string;
|
8396
8720
|
} | null | undefined> | null | undefined;
|
8721
|
+
actionDetails?: {
|
8722
|
+
templateId?: string | undefined;
|
8723
|
+
isImmediateCorrection?: boolean | undefined;
|
8724
|
+
} | null | undefined;
|
8397
8725
|
originalActionId?: string | null | undefined;
|
8398
8726
|
} | {
|
8399
8727
|
type: "CREATE";
|
@@ -8496,6 +8824,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8496
8824
|
start: string;
|
8497
8825
|
end: string;
|
8498
8826
|
} | null | undefined> | null | undefined;
|
8827
|
+
actionDetails?: {
|
8828
|
+
templateId?: string | undefined;
|
8829
|
+
isImmediateCorrection?: boolean | undefined;
|
8830
|
+
} | null | undefined;
|
8499
8831
|
originalActionId?: string | null | undefined;
|
8500
8832
|
} | {
|
8501
8833
|
type: "NOTIFY";
|
@@ -8598,6 +8930,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8598
8930
|
start: string;
|
8599
8931
|
end: string;
|
8600
8932
|
} | null | undefined> | null | undefined;
|
8933
|
+
actionDetails?: {
|
8934
|
+
templateId?: string | undefined;
|
8935
|
+
isImmediateCorrection?: boolean | undefined;
|
8936
|
+
} | null | undefined;
|
8601
8937
|
originalActionId?: string | null | undefined;
|
8602
8938
|
} | {
|
8603
8939
|
type: "PRINT_CERTIFICATE";
|
@@ -8700,6 +9036,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8700
9036
|
start: string;
|
8701
9037
|
end: string;
|
8702
9038
|
} | null | undefined> | null | undefined;
|
9039
|
+
actionDetails?: {
|
9040
|
+
templateId?: string | undefined;
|
9041
|
+
isImmediateCorrection?: boolean | undefined;
|
9042
|
+
} | null | undefined;
|
8703
9043
|
originalActionId?: string | null | undefined;
|
8704
9044
|
} | {
|
8705
9045
|
type: "REQUEST_CORRECTION";
|
@@ -8802,6 +9142,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8802
9142
|
start: string;
|
8803
9143
|
end: string;
|
8804
9144
|
} | null | undefined> | null | undefined;
|
9145
|
+
actionDetails?: {
|
9146
|
+
templateId?: string | undefined;
|
9147
|
+
isImmediateCorrection?: boolean | undefined;
|
9148
|
+
} | null | undefined;
|
8805
9149
|
originalActionId?: string | null | undefined;
|
8806
9150
|
} | {
|
8807
9151
|
type: "APPROVE_CORRECTION";
|
@@ -8905,11 +9249,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8905
9249
|
start: string;
|
8906
9250
|
end: string;
|
8907
9251
|
} | null | undefined> | null | undefined;
|
9252
|
+
actionDetails?: {
|
9253
|
+
templateId?: string | undefined;
|
9254
|
+
isImmediateCorrection?: boolean | undefined;
|
9255
|
+
} | null | undefined;
|
8908
9256
|
originalActionId?: string | null | undefined;
|
8909
9257
|
} | {
|
8910
9258
|
type: "REJECT_CORRECTION";
|
8911
9259
|
id: string;
|
8912
9260
|
status: "Rejected" | "Requested" | "Accepted";
|
9261
|
+
reason: {
|
9262
|
+
message: string;
|
9263
|
+
isDuplicate?: boolean | undefined;
|
9264
|
+
};
|
8913
9265
|
transactionId: string;
|
8914
9266
|
createdByUserType: "system" | "user";
|
8915
9267
|
createdAt: string;
|
@@ -9008,6 +9360,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9008
9360
|
start: string;
|
9009
9361
|
end: string;
|
9010
9362
|
} | null | undefined> | null | undefined;
|
9363
|
+
actionDetails?: {
|
9364
|
+
templateId?: string | undefined;
|
9365
|
+
isImmediateCorrection?: boolean | undefined;
|
9366
|
+
} | null | undefined;
|
9011
9367
|
originalActionId?: string | null | undefined;
|
9012
9368
|
} | {
|
9013
9369
|
type: "READ";
|
@@ -9110,6 +9466,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9110
9466
|
start: string;
|
9111
9467
|
end: string;
|
9112
9468
|
} | null | undefined> | null | undefined;
|
9469
|
+
actionDetails?: {
|
9470
|
+
templateId?: string | undefined;
|
9471
|
+
isImmediateCorrection?: boolean | undefined;
|
9472
|
+
} | null | undefined;
|
9113
9473
|
originalActionId?: string | null | undefined;
|
9114
9474
|
} | {
|
9115
9475
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -9122,6 +9482,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9122
9482
|
createdByRole: string;
|
9123
9483
|
createdBySignature?: string | null | undefined;
|
9124
9484
|
createdAtLocation?: string | null | undefined;
|
9485
|
+
actionDetails?: {
|
9486
|
+
templateId?: string | undefined;
|
9487
|
+
isImmediateCorrection?: boolean | undefined;
|
9488
|
+
} | null | undefined;
|
9125
9489
|
originalActionId?: string | null | undefined;
|
9126
9490
|
})[];
|
9127
9491
|
trackingId: string;
|
@@ -9233,6 +9597,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9233
9597
|
start: string;
|
9234
9598
|
end: string;
|
9235
9599
|
} | null | undefined> | null | undefined;
|
9600
|
+
actionDetails?: {
|
9601
|
+
templateId?: string | undefined;
|
9602
|
+
isImmediateCorrection?: boolean | undefined;
|
9603
|
+
} | null | undefined;
|
9236
9604
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9237
9605
|
} | {
|
9238
9606
|
type: "UNASSIGN";
|
@@ -9335,6 +9703,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9335
9703
|
start: string;
|
9336
9704
|
end: string;
|
9337
9705
|
} | null | undefined> | null | undefined;
|
9706
|
+
actionDetails?: {
|
9707
|
+
templateId?: string | undefined;
|
9708
|
+
isImmediateCorrection?: boolean | undefined;
|
9709
|
+
} | null | undefined;
|
9338
9710
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9339
9711
|
} | {
|
9340
9712
|
type: "REGISTER";
|
@@ -9437,6 +9809,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9437
9809
|
start: string;
|
9438
9810
|
end: string;
|
9439
9811
|
} | null | undefined> | null | undefined;
|
9812
|
+
actionDetails?: {
|
9813
|
+
templateId?: string | undefined;
|
9814
|
+
isImmediateCorrection?: boolean | undefined;
|
9815
|
+
} | null | undefined;
|
9440
9816
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9441
9817
|
registrationNumber?: string | undefined;
|
9442
9818
|
} | {
|
@@ -9540,6 +9916,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9540
9916
|
start: string;
|
9541
9917
|
end: string;
|
9542
9918
|
} | null | undefined> | null | undefined;
|
9919
|
+
actionDetails?: {
|
9920
|
+
templateId?: string | undefined;
|
9921
|
+
isImmediateCorrection?: boolean | undefined;
|
9922
|
+
} | null | undefined;
|
9543
9923
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9544
9924
|
} | {
|
9545
9925
|
type: "VALIDATE";
|
@@ -9642,6 +10022,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9642
10022
|
start: string;
|
9643
10023
|
end: string;
|
9644
10024
|
} | null | undefined> | null | undefined;
|
10025
|
+
actionDetails?: {
|
10026
|
+
templateId?: string | undefined;
|
10027
|
+
isImmediateCorrection?: boolean | undefined;
|
10028
|
+
} | null | undefined;
|
9645
10029
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9646
10030
|
} | {
|
9647
10031
|
type: "REJECT";
|
@@ -9748,6 +10132,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9748
10132
|
start: string;
|
9749
10133
|
end: string;
|
9750
10134
|
} | null | undefined> | null | undefined;
|
10135
|
+
actionDetails?: {
|
10136
|
+
templateId?: string | undefined;
|
10137
|
+
isImmediateCorrection?: boolean | undefined;
|
10138
|
+
} | null | undefined;
|
9751
10139
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9752
10140
|
} | {
|
9753
10141
|
type: "MARKED_AS_DUPLICATE";
|
@@ -9850,6 +10238,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9850
10238
|
start: string;
|
9851
10239
|
end: string;
|
9852
10240
|
} | null | undefined> | null | undefined;
|
10241
|
+
actionDetails?: {
|
10242
|
+
templateId?: string | undefined;
|
10243
|
+
isImmediateCorrection?: boolean | undefined;
|
10244
|
+
} | null | undefined;
|
9853
10245
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9854
10246
|
} | {
|
9855
10247
|
type: "ARCHIVE";
|
@@ -9956,6 +10348,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9956
10348
|
start: string;
|
9957
10349
|
end: string;
|
9958
10350
|
} | null | undefined> | null | undefined;
|
10351
|
+
actionDetails?: {
|
10352
|
+
templateId?: string | undefined;
|
10353
|
+
isImmediateCorrection?: boolean | undefined;
|
10354
|
+
} | null | undefined;
|
9959
10355
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9960
10356
|
} | {
|
9961
10357
|
type: "CREATE";
|
@@ -10058,6 +10454,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10058
10454
|
start: string;
|
10059
10455
|
end: string;
|
10060
10456
|
} | null | undefined> | null | undefined;
|
10457
|
+
actionDetails?: {
|
10458
|
+
templateId?: string | undefined;
|
10459
|
+
isImmediateCorrection?: boolean | undefined;
|
10460
|
+
} | null | undefined;
|
10061
10461
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10062
10462
|
} | {
|
10063
10463
|
type: "NOTIFY";
|
@@ -10160,6 +10560,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10160
10560
|
start: string;
|
10161
10561
|
end: string;
|
10162
10562
|
} | null | undefined> | null | undefined;
|
10563
|
+
actionDetails?: {
|
10564
|
+
templateId?: string | undefined;
|
10565
|
+
isImmediateCorrection?: boolean | undefined;
|
10566
|
+
} | null | undefined;
|
10163
10567
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10164
10568
|
} | {
|
10165
10569
|
type: "PRINT_CERTIFICATE";
|
@@ -10262,6 +10666,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10262
10666
|
start: string;
|
10263
10667
|
end: string;
|
10264
10668
|
} | null | undefined> | null | undefined;
|
10669
|
+
actionDetails?: {
|
10670
|
+
templateId?: string | undefined;
|
10671
|
+
isImmediateCorrection?: boolean | undefined;
|
10672
|
+
} | null | undefined;
|
10265
10673
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10266
10674
|
} | {
|
10267
10675
|
type: "REQUEST_CORRECTION";
|
@@ -10364,6 +10772,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10364
10772
|
start: string;
|
10365
10773
|
end: string;
|
10366
10774
|
} | null | undefined> | null | undefined;
|
10775
|
+
actionDetails?: {
|
10776
|
+
templateId?: string | undefined;
|
10777
|
+
isImmediateCorrection?: boolean | undefined;
|
10778
|
+
} | null | undefined;
|
10367
10779
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10368
10780
|
} | {
|
10369
10781
|
type: "APPROVE_CORRECTION";
|
@@ -10467,11 +10879,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10467
10879
|
start: string;
|
10468
10880
|
end: string;
|
10469
10881
|
} | null | undefined> | null | undefined;
|
10882
|
+
actionDetails?: {
|
10883
|
+
templateId?: string | undefined;
|
10884
|
+
isImmediateCorrection?: boolean | undefined;
|
10885
|
+
} | null | undefined;
|
10470
10886
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10471
10887
|
} | {
|
10472
10888
|
type: "REJECT_CORRECTION";
|
10473
10889
|
id: string & import("zod").BRAND<"UUID">;
|
10474
10890
|
status: "Rejected" | "Requested" | "Accepted";
|
10891
|
+
reason: {
|
10892
|
+
message: string;
|
10893
|
+
isDuplicate?: boolean | undefined;
|
10894
|
+
};
|
10475
10895
|
transactionId: string;
|
10476
10896
|
createdByUserType: "system" | "user";
|
10477
10897
|
createdAt: string;
|
@@ -10570,6 +10990,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10570
10990
|
start: string;
|
10571
10991
|
end: string;
|
10572
10992
|
} | null | undefined> | null | undefined;
|
10993
|
+
actionDetails?: {
|
10994
|
+
templateId?: string | undefined;
|
10995
|
+
isImmediateCorrection?: boolean | undefined;
|
10996
|
+
} | null | undefined;
|
10573
10997
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10574
10998
|
} | {
|
10575
10999
|
type: "READ";
|
@@ -10672,6 +11096,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10672
11096
|
start: string;
|
10673
11097
|
end: string;
|
10674
11098
|
} | null | undefined> | null | undefined;
|
11099
|
+
actionDetails?: {
|
11100
|
+
templateId?: string | undefined;
|
11101
|
+
isImmediateCorrection?: boolean | undefined;
|
11102
|
+
} | null | undefined;
|
10675
11103
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10676
11104
|
} | {
|
10677
11105
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -10684,6 +11112,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10684
11112
|
createdByRole: string;
|
10685
11113
|
createdBySignature?: string | null | undefined;
|
10686
11114
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11115
|
+
actionDetails?: {
|
11116
|
+
templateId?: string | undefined;
|
11117
|
+
isImmediateCorrection?: boolean | undefined;
|
11118
|
+
} | null | undefined;
|
10687
11119
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10688
11120
|
})[];
|
10689
11121
|
trackingId: string;
|