@opencrvs/toolkit 1.8.1-rc.e32d7b8 → 1.8.1-rc.fa83f7b
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 +49 -410
- package/dist/commons/events/ActionDocument.d.ts +588 -675
- package/dist/commons/events/ActionInput.d.ts +58 -536
- package/dist/commons/events/AdvancedSearchConfig.d.ts +65 -47
- package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
- package/dist/commons/events/Draft.d.ts +0 -44
- package/dist/commons/events/EventConfig.d.ts +31 -31
- package/dist/commons/events/EventDocument.d.ts +43 -414
- package/dist/commons/events/EventIndex.d.ts +174 -52
- package/dist/commons/events/EventMetadata.d.ts +9 -9
- package/dist/commons/events/FieldConfig.d.ts +1 -8
- package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
- package/dist/commons/events/defineConfig.d.ts +3 -3
- package/dist/commons/events/event.d.ts +13 -5
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/test.utils.d.ts +5 -1
- package/dist/commons/events/utils.d.ts +4 -8
- package/dist/conditionals/index.js +2 -2
- package/dist/events/index.js +93 -73
- 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";
|
@@ -1201,6 +1161,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1201
1161
|
start: string;
|
1202
1162
|
end: string;
|
1203
1163
|
} | null | undefined>;
|
1164
|
+
content?: {
|
1165
|
+
templateId?: string | undefined;
|
1166
|
+
} | null | undefined;
|
1204
1167
|
createdBySignature?: string | null | undefined;
|
1205
1168
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1206
1169
|
annotation?: Record<string, string | number | boolean | {
|
@@ -1248,10 +1211,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1248
1211
|
start: string;
|
1249
1212
|
end: string;
|
1250
1213
|
} | null | undefined> | null | undefined;
|
1251
|
-
actionDetails?: {
|
1252
|
-
templateId?: string | undefined;
|
1253
|
-
isImmediateCorrection?: boolean | undefined;
|
1254
|
-
} | null | undefined;
|
1255
1214
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1256
1215
|
} | {
|
1257
1216
|
type: "REQUEST_CORRECTION";
|
@@ -1354,10 +1313,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1354
1313
|
start: string;
|
1355
1314
|
end: string;
|
1356
1315
|
} | null | undefined> | null | undefined;
|
1357
|
-
actionDetails?: {
|
1358
|
-
templateId?: string | undefined;
|
1359
|
-
isImmediateCorrection?: boolean | undefined;
|
1360
|
-
} | null | undefined;
|
1361
1316
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1362
1317
|
} | {
|
1363
1318
|
type: "APPROVE_CORRECTION";
|
@@ -1461,15 +1416,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1461
1416
|
start: string;
|
1462
1417
|
end: string;
|
1463
1418
|
} | null | undefined> | null | undefined;
|
1464
|
-
actionDetails?: {
|
1465
|
-
templateId?: string | undefined;
|
1466
|
-
isImmediateCorrection?: boolean | undefined;
|
1467
|
-
} | null | undefined;
|
1468
1419
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1469
1420
|
} | {
|
1470
1421
|
type: "REJECT_CORRECTION";
|
1471
1422
|
id: string & import("zod").BRAND<"UUID">;
|
1472
1423
|
status: "Rejected" | "Requested" | "Accepted";
|
1424
|
+
reason: {
|
1425
|
+
message: string;
|
1426
|
+
isDuplicate?: boolean | undefined;
|
1427
|
+
};
|
1473
1428
|
transactionId: string;
|
1474
1429
|
createdByUserType: "system" | "user";
|
1475
1430
|
createdAt: string;
|
@@ -1568,10 +1523,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1568
1523
|
start: string;
|
1569
1524
|
end: string;
|
1570
1525
|
} | null | undefined> | null | undefined;
|
1571
|
-
actionDetails?: {
|
1572
|
-
templateId?: string | undefined;
|
1573
|
-
isImmediateCorrection?: boolean | undefined;
|
1574
|
-
} | null | undefined;
|
1575
1526
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1576
1527
|
} | {
|
1577
1528
|
type: "READ";
|
@@ -1674,10 +1625,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1674
1625
|
start: string;
|
1675
1626
|
end: string;
|
1676
1627
|
} | null | undefined> | null | undefined;
|
1677
|
-
actionDetails?: {
|
1678
|
-
templateId?: string | undefined;
|
1679
|
-
isImmediateCorrection?: boolean | undefined;
|
1680
|
-
} | null | undefined;
|
1681
1628
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1682
1629
|
} | {
|
1683
1630
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -1690,10 +1637,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1690
1637
|
createdByRole: string;
|
1691
1638
|
createdBySignature?: string | null | undefined;
|
1692
1639
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1693
|
-
actionDetails?: {
|
1694
|
-
templateId?: string | undefined;
|
1695
|
-
isImmediateCorrection?: boolean | undefined;
|
1696
|
-
} | null | undefined;
|
1697
1640
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1698
1641
|
})[];
|
1699
1642
|
trackingId: string;
|
@@ -1809,10 +1752,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1809
1752
|
start: string;
|
1810
1753
|
end: string;
|
1811
1754
|
} | null | undefined> | null | undefined;
|
1812
|
-
actionDetails?: {
|
1813
|
-
templateId?: string | undefined;
|
1814
|
-
isImmediateCorrection?: boolean | undefined;
|
1815
|
-
} | null | undefined;
|
1816
1755
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1817
1756
|
} | {
|
1818
1757
|
type: "UNASSIGN";
|
@@ -1915,10 +1854,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
1915
1854
|
start: string;
|
1916
1855
|
end: string;
|
1917
1856
|
} | null | undefined> | null | undefined;
|
1918
|
-
actionDetails?: {
|
1919
|
-
templateId?: string | undefined;
|
1920
|
-
isImmediateCorrection?: boolean | undefined;
|
1921
|
-
} | null | undefined;
|
1922
1857
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
1923
1858
|
} | {
|
1924
1859
|
type: "REGISTER";
|
@@ -2021,10 +1956,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2021
1956
|
start: string;
|
2022
1957
|
end: string;
|
2023
1958
|
} | null | undefined> | null | undefined;
|
2024
|
-
actionDetails?: {
|
2025
|
-
templateId?: string | undefined;
|
2026
|
-
isImmediateCorrection?: boolean | undefined;
|
2027
|
-
} | null | undefined;
|
2028
1959
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2029
1960
|
registrationNumber?: string | undefined;
|
2030
1961
|
} | {
|
@@ -2128,10 +2059,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2128
2059
|
start: string;
|
2129
2060
|
end: string;
|
2130
2061
|
} | null | undefined> | null | undefined;
|
2131
|
-
actionDetails?: {
|
2132
|
-
templateId?: string | undefined;
|
2133
|
-
isImmediateCorrection?: boolean | undefined;
|
2134
|
-
} | null | undefined;
|
2135
2062
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2136
2063
|
} | {
|
2137
2064
|
type: "VALIDATE";
|
@@ -2234,10 +2161,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2234
2161
|
start: string;
|
2235
2162
|
end: string;
|
2236
2163
|
} | null | undefined> | null | undefined;
|
2237
|
-
actionDetails?: {
|
2238
|
-
templateId?: string | undefined;
|
2239
|
-
isImmediateCorrection?: boolean | undefined;
|
2240
|
-
} | null | undefined;
|
2241
2164
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2242
2165
|
} | {
|
2243
2166
|
type: "REJECT";
|
@@ -2344,10 +2267,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2344
2267
|
start: string;
|
2345
2268
|
end: string;
|
2346
2269
|
} | null | undefined> | null | undefined;
|
2347
|
-
actionDetails?: {
|
2348
|
-
templateId?: string | undefined;
|
2349
|
-
isImmediateCorrection?: boolean | undefined;
|
2350
|
-
} | null | undefined;
|
2351
2270
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2352
2271
|
} | {
|
2353
2272
|
type: "MARKED_AS_DUPLICATE";
|
@@ -2450,10 +2369,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2450
2369
|
start: string;
|
2451
2370
|
end: string;
|
2452
2371
|
} | null | undefined> | null | undefined;
|
2453
|
-
actionDetails?: {
|
2454
|
-
templateId?: string | undefined;
|
2455
|
-
isImmediateCorrection?: boolean | undefined;
|
2456
|
-
} | null | undefined;
|
2457
2372
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2458
2373
|
} | {
|
2459
2374
|
type: "ARCHIVE";
|
@@ -2560,10 +2475,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2560
2475
|
start: string;
|
2561
2476
|
end: string;
|
2562
2477
|
} | null | undefined> | null | undefined;
|
2563
|
-
actionDetails?: {
|
2564
|
-
templateId?: string | undefined;
|
2565
|
-
isImmediateCorrection?: boolean | undefined;
|
2566
|
-
} | null | undefined;
|
2567
2478
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2568
2479
|
} | {
|
2569
2480
|
type: "CREATE";
|
@@ -2666,10 +2577,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2666
2577
|
start: string;
|
2667
2578
|
end: string;
|
2668
2579
|
} | null | undefined> | null | undefined;
|
2669
|
-
actionDetails?: {
|
2670
|
-
templateId?: string | undefined;
|
2671
|
-
isImmediateCorrection?: boolean | undefined;
|
2672
|
-
} | null | undefined;
|
2673
2580
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2674
2581
|
} | {
|
2675
2582
|
type: "NOTIFY";
|
@@ -2772,10 +2679,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2772
2679
|
start: string;
|
2773
2680
|
end: string;
|
2774
2681
|
} | null | undefined> | null | undefined;
|
2775
|
-
actionDetails?: {
|
2776
|
-
templateId?: string | undefined;
|
2777
|
-
isImmediateCorrection?: boolean | undefined;
|
2778
|
-
} | null | undefined;
|
2779
2682
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2780
2683
|
} | {
|
2781
2684
|
type: "PRINT_CERTIFICATE";
|
@@ -2831,6 +2734,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2831
2734
|
start: string;
|
2832
2735
|
end: string;
|
2833
2736
|
} | null | undefined>;
|
2737
|
+
content?: {
|
2738
|
+
templateId?: string | undefined;
|
2739
|
+
} | null | undefined;
|
2834
2740
|
createdBySignature?: string | null | undefined;
|
2835
2741
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2836
2742
|
annotation?: Record<string, string | number | boolean | {
|
@@ -2878,10 +2784,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2878
2784
|
start: string;
|
2879
2785
|
end: string;
|
2880
2786
|
} | null | undefined> | null | undefined;
|
2881
|
-
actionDetails?: {
|
2882
|
-
templateId?: string | undefined;
|
2883
|
-
isImmediateCorrection?: boolean | undefined;
|
2884
|
-
} | null | undefined;
|
2885
2787
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2886
2788
|
} | {
|
2887
2789
|
type: "REQUEST_CORRECTION";
|
@@ -2984,10 +2886,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
2984
2886
|
start: string;
|
2985
2887
|
end: string;
|
2986
2888
|
} | null | undefined> | null | undefined;
|
2987
|
-
actionDetails?: {
|
2988
|
-
templateId?: string | undefined;
|
2989
|
-
isImmediateCorrection?: boolean | undefined;
|
2990
|
-
} | null | undefined;
|
2991
2889
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
2992
2890
|
} | {
|
2993
2891
|
type: "APPROVE_CORRECTION";
|
@@ -3091,15 +2989,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3091
2989
|
start: string;
|
3092
2990
|
end: string;
|
3093
2991
|
} | null | undefined> | null | undefined;
|
3094
|
-
actionDetails?: {
|
3095
|
-
templateId?: string | undefined;
|
3096
|
-
isImmediateCorrection?: boolean | undefined;
|
3097
|
-
} | null | undefined;
|
3098
2992
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3099
2993
|
} | {
|
3100
2994
|
type: "REJECT_CORRECTION";
|
3101
2995
|
id: string & import("zod").BRAND<"UUID">;
|
3102
2996
|
status: "Rejected" | "Requested" | "Accepted";
|
2997
|
+
reason: {
|
2998
|
+
message: string;
|
2999
|
+
isDuplicate?: boolean | undefined;
|
3000
|
+
};
|
3103
3001
|
transactionId: string;
|
3104
3002
|
createdByUserType: "system" | "user";
|
3105
3003
|
createdAt: string;
|
@@ -3198,10 +3096,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3198
3096
|
start: string;
|
3199
3097
|
end: string;
|
3200
3098
|
} | null | undefined> | null | undefined;
|
3201
|
-
actionDetails?: {
|
3202
|
-
templateId?: string | undefined;
|
3203
|
-
isImmediateCorrection?: boolean | undefined;
|
3204
|
-
} | null | undefined;
|
3205
3099
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3206
3100
|
} | {
|
3207
3101
|
type: "READ";
|
@@ -3304,10 +3198,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3304
3198
|
start: string;
|
3305
3199
|
end: string;
|
3306
3200
|
} | null | undefined> | null | undefined;
|
3307
|
-
actionDetails?: {
|
3308
|
-
templateId?: string | undefined;
|
3309
|
-
isImmediateCorrection?: boolean | undefined;
|
3310
|
-
} | null | undefined;
|
3311
3201
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3312
3202
|
} | {
|
3313
3203
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -3320,10 +3210,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3320
3210
|
createdByRole: string;
|
3321
3211
|
createdBySignature?: string | null | undefined;
|
3322
3212
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3323
|
-
actionDetails?: {
|
3324
|
-
templateId?: string | undefined;
|
3325
|
-
isImmediateCorrection?: boolean | undefined;
|
3326
|
-
} | null | undefined;
|
3327
3213
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3328
3214
|
})[];
|
3329
3215
|
trackingId: string;
|
@@ -3467,10 +3353,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3467
3353
|
start: string;
|
3468
3354
|
end: string;
|
3469
3355
|
} | null | undefined> | null | undefined;
|
3470
|
-
actionDetails?: {
|
3471
|
-
templateId?: string | undefined;
|
3472
|
-
isImmediateCorrection?: boolean | undefined;
|
3473
|
-
} | null | undefined;
|
3474
3356
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3475
3357
|
};
|
3476
3358
|
}[];
|
@@ -3572,10 +3454,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3572
3454
|
start: string;
|
3573
3455
|
end: string;
|
3574
3456
|
} | null | undefined> | undefined;
|
3575
|
-
actionDetails?: {
|
3576
|
-
templateId?: string | undefined;
|
3577
|
-
isImmediateCorrection?: boolean | undefined;
|
3578
|
-
} | undefined;
|
3579
3457
|
originalActionId?: string | undefined;
|
3580
3458
|
keepAssignment?: boolean | undefined;
|
3581
3459
|
};
|
@@ -3684,10 +3562,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3684
3562
|
start: string;
|
3685
3563
|
end: string;
|
3686
3564
|
} | null | undefined> | null | undefined;
|
3687
|
-
actionDetails?: {
|
3688
|
-
templateId?: string | undefined;
|
3689
|
-
isImmediateCorrection?: boolean | undefined;
|
3690
|
-
} | null | undefined;
|
3691
3565
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
3692
3566
|
};
|
3693
3567
|
};
|
@@ -4133,10 +4007,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4133
4007
|
start: string;
|
4134
4008
|
end: string;
|
4135
4009
|
} | null | undefined> | undefined;
|
4136
|
-
actionDetails?: {
|
4137
|
-
templateId?: string | undefined;
|
4138
|
-
isImmediateCorrection?: boolean | undefined;
|
4139
|
-
} | undefined;
|
4140
4010
|
originalActionId?: string | undefined;
|
4141
4011
|
keepAssignment?: boolean | undefined;
|
4142
4012
|
};
|
@@ -4247,10 +4117,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4247
4117
|
start: string;
|
4248
4118
|
end: string;
|
4249
4119
|
} | null | undefined> | null | undefined;
|
4250
|
-
actionDetails?: {
|
4251
|
-
templateId?: string | undefined;
|
4252
|
-
isImmediateCorrection?: boolean | undefined;
|
4253
|
-
} | null | undefined;
|
4254
4120
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4255
4121
|
} | {
|
4256
4122
|
type: "UNASSIGN";
|
@@ -4353,10 +4219,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4353
4219
|
start: string;
|
4354
4220
|
end: string;
|
4355
4221
|
} | null | undefined> | null | undefined;
|
4356
|
-
actionDetails?: {
|
4357
|
-
templateId?: string | undefined;
|
4358
|
-
isImmediateCorrection?: boolean | undefined;
|
4359
|
-
} | null | undefined;
|
4360
4222
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4361
4223
|
} | {
|
4362
4224
|
type: "REGISTER";
|
@@ -4459,10 +4321,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4459
4321
|
start: string;
|
4460
4322
|
end: string;
|
4461
4323
|
} | null | undefined> | null | undefined;
|
4462
|
-
actionDetails?: {
|
4463
|
-
templateId?: string | undefined;
|
4464
|
-
isImmediateCorrection?: boolean | undefined;
|
4465
|
-
} | null | undefined;
|
4466
4324
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4467
4325
|
registrationNumber?: string | undefined;
|
4468
4326
|
} | {
|
@@ -4566,10 +4424,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4566
4424
|
start: string;
|
4567
4425
|
end: string;
|
4568
4426
|
} | null | undefined> | null | undefined;
|
4569
|
-
actionDetails?: {
|
4570
|
-
templateId?: string | undefined;
|
4571
|
-
isImmediateCorrection?: boolean | undefined;
|
4572
|
-
} | null | undefined;
|
4573
4427
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4574
4428
|
} | {
|
4575
4429
|
type: "VALIDATE";
|
@@ -4672,10 +4526,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4672
4526
|
start: string;
|
4673
4527
|
end: string;
|
4674
4528
|
} | null | undefined> | null | undefined;
|
4675
|
-
actionDetails?: {
|
4676
|
-
templateId?: string | undefined;
|
4677
|
-
isImmediateCorrection?: boolean | undefined;
|
4678
|
-
} | null | undefined;
|
4679
4529
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4680
4530
|
} | {
|
4681
4531
|
type: "REJECT";
|
@@ -4782,10 +4632,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4782
4632
|
start: string;
|
4783
4633
|
end: string;
|
4784
4634
|
} | null | undefined> | null | undefined;
|
4785
|
-
actionDetails?: {
|
4786
|
-
templateId?: string | undefined;
|
4787
|
-
isImmediateCorrection?: boolean | undefined;
|
4788
|
-
} | null | undefined;
|
4789
4635
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4790
4636
|
} | {
|
4791
4637
|
type: "MARKED_AS_DUPLICATE";
|
@@ -4888,10 +4734,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4888
4734
|
start: string;
|
4889
4735
|
end: string;
|
4890
4736
|
} | null | undefined> | null | undefined;
|
4891
|
-
actionDetails?: {
|
4892
|
-
templateId?: string | undefined;
|
4893
|
-
isImmediateCorrection?: boolean | undefined;
|
4894
|
-
} | null | undefined;
|
4895
4737
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
4896
4738
|
} | {
|
4897
4739
|
type: "ARCHIVE";
|
@@ -4998,10 +4840,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
4998
4840
|
start: string;
|
4999
4841
|
end: string;
|
5000
4842
|
} | null | undefined> | null | undefined;
|
5001
|
-
actionDetails?: {
|
5002
|
-
templateId?: string | undefined;
|
5003
|
-
isImmediateCorrection?: boolean | undefined;
|
5004
|
-
} | null | undefined;
|
5005
4843
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5006
4844
|
} | {
|
5007
4845
|
type: "CREATE";
|
@@ -5104,10 +4942,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5104
4942
|
start: string;
|
5105
4943
|
end: string;
|
5106
4944
|
} | null | undefined> | null | undefined;
|
5107
|
-
actionDetails?: {
|
5108
|
-
templateId?: string | undefined;
|
5109
|
-
isImmediateCorrection?: boolean | undefined;
|
5110
|
-
} | null | undefined;
|
5111
4945
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5112
4946
|
} | {
|
5113
4947
|
type: "NOTIFY";
|
@@ -5210,10 +5044,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5210
5044
|
start: string;
|
5211
5045
|
end: string;
|
5212
5046
|
} | null | undefined> | null | undefined;
|
5213
|
-
actionDetails?: {
|
5214
|
-
templateId?: string | undefined;
|
5215
|
-
isImmediateCorrection?: boolean | undefined;
|
5216
|
-
} | null | undefined;
|
5217
5047
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5218
5048
|
} | {
|
5219
5049
|
type: "PRINT_CERTIFICATE";
|
@@ -5269,6 +5099,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5269
5099
|
start: string;
|
5270
5100
|
end: string;
|
5271
5101
|
} | null | undefined>;
|
5102
|
+
content?: {
|
5103
|
+
templateId?: string | undefined;
|
5104
|
+
} | null | undefined;
|
5272
5105
|
createdBySignature?: string | null | undefined;
|
5273
5106
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5274
5107
|
annotation?: Record<string, string | number | boolean | {
|
@@ -5316,10 +5149,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5316
5149
|
start: string;
|
5317
5150
|
end: string;
|
5318
5151
|
} | null | undefined> | null | undefined;
|
5319
|
-
actionDetails?: {
|
5320
|
-
templateId?: string | undefined;
|
5321
|
-
isImmediateCorrection?: boolean | undefined;
|
5322
|
-
} | null | undefined;
|
5323
5152
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5324
5153
|
} | {
|
5325
5154
|
type: "REQUEST_CORRECTION";
|
@@ -5422,10 +5251,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5422
5251
|
start: string;
|
5423
5252
|
end: string;
|
5424
5253
|
} | null | undefined> | null | undefined;
|
5425
|
-
actionDetails?: {
|
5426
|
-
templateId?: string | undefined;
|
5427
|
-
isImmediateCorrection?: boolean | undefined;
|
5428
|
-
} | null | undefined;
|
5429
5254
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5430
5255
|
} | {
|
5431
5256
|
type: "APPROVE_CORRECTION";
|
@@ -5529,15 +5354,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5529
5354
|
start: string;
|
5530
5355
|
end: string;
|
5531
5356
|
} | null | undefined> | null | undefined;
|
5532
|
-
actionDetails?: {
|
5533
|
-
templateId?: string | undefined;
|
5534
|
-
isImmediateCorrection?: boolean | undefined;
|
5535
|
-
} | null | undefined;
|
5536
5357
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5537
5358
|
} | {
|
5538
5359
|
type: "REJECT_CORRECTION";
|
5539
5360
|
id: string & import("zod").BRAND<"UUID">;
|
5540
5361
|
status: "Rejected" | "Requested" | "Accepted";
|
5362
|
+
reason: {
|
5363
|
+
message: string;
|
5364
|
+
isDuplicate?: boolean | undefined;
|
5365
|
+
};
|
5541
5366
|
transactionId: string;
|
5542
5367
|
createdByUserType: "system" | "user";
|
5543
5368
|
createdAt: string;
|
@@ -5636,10 +5461,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5636
5461
|
start: string;
|
5637
5462
|
end: string;
|
5638
5463
|
} | null | undefined> | null | undefined;
|
5639
|
-
actionDetails?: {
|
5640
|
-
templateId?: string | undefined;
|
5641
|
-
isImmediateCorrection?: boolean | undefined;
|
5642
|
-
} | null | undefined;
|
5643
5464
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5644
5465
|
} | {
|
5645
5466
|
type: "READ";
|
@@ -5742,10 +5563,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5742
5563
|
start: string;
|
5743
5564
|
end: string;
|
5744
5565
|
} | null | undefined> | null | undefined;
|
5745
|
-
actionDetails?: {
|
5746
|
-
templateId?: string | undefined;
|
5747
|
-
isImmediateCorrection?: boolean | undefined;
|
5748
|
-
} | null | undefined;
|
5749
5566
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5750
5567
|
} | {
|
5751
5568
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -5758,10 +5575,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5758
5575
|
createdByRole: string;
|
5759
5576
|
createdBySignature?: string | null | undefined;
|
5760
5577
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5761
|
-
actionDetails?: {
|
5762
|
-
templateId?: string | undefined;
|
5763
|
-
isImmediateCorrection?: boolean | undefined;
|
5764
|
-
} | null | undefined;
|
5765
5578
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5766
5579
|
})[];
|
5767
5580
|
trackingId: string;
|
@@ -5863,10 +5676,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5863
5676
|
start: string;
|
5864
5677
|
end: string;
|
5865
5678
|
} | null | undefined> | undefined;
|
5866
|
-
actionDetails?: {
|
5867
|
-
templateId?: string | undefined;
|
5868
|
-
isImmediateCorrection?: boolean | undefined;
|
5869
|
-
} | undefined;
|
5870
5679
|
originalActionId?: string | undefined;
|
5871
5680
|
assignedTo?: null | undefined;
|
5872
5681
|
keepAssignment?: boolean | undefined;
|
@@ -5978,10 +5787,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
5978
5787
|
start: string;
|
5979
5788
|
end: string;
|
5980
5789
|
} | null | undefined> | null | undefined;
|
5981
|
-
actionDetails?: {
|
5982
|
-
templateId?: string | undefined;
|
5983
|
-
isImmediateCorrection?: boolean | undefined;
|
5984
|
-
} | null | undefined;
|
5985
5790
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
5986
5791
|
} | {
|
5987
5792
|
type: "UNASSIGN";
|
@@ -6084,10 +5889,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6084
5889
|
start: string;
|
6085
5890
|
end: string;
|
6086
5891
|
} | null | undefined> | null | undefined;
|
6087
|
-
actionDetails?: {
|
6088
|
-
templateId?: string | undefined;
|
6089
|
-
isImmediateCorrection?: boolean | undefined;
|
6090
|
-
} | null | undefined;
|
6091
5892
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6092
5893
|
} | {
|
6093
5894
|
type: "REGISTER";
|
@@ -6190,10 +5991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6190
5991
|
start: string;
|
6191
5992
|
end: string;
|
6192
5993
|
} | null | undefined> | null | undefined;
|
6193
|
-
actionDetails?: {
|
6194
|
-
templateId?: string | undefined;
|
6195
|
-
isImmediateCorrection?: boolean | undefined;
|
6196
|
-
} | null | undefined;
|
6197
5994
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6198
5995
|
registrationNumber?: string | undefined;
|
6199
5996
|
} | {
|
@@ -6297,10 +6094,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6297
6094
|
start: string;
|
6298
6095
|
end: string;
|
6299
6096
|
} | null | undefined> | null | undefined;
|
6300
|
-
actionDetails?: {
|
6301
|
-
templateId?: string | undefined;
|
6302
|
-
isImmediateCorrection?: boolean | undefined;
|
6303
|
-
} | null | undefined;
|
6304
6097
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6305
6098
|
} | {
|
6306
6099
|
type: "VALIDATE";
|
@@ -6403,10 +6196,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6403
6196
|
start: string;
|
6404
6197
|
end: string;
|
6405
6198
|
} | null | undefined> | null | undefined;
|
6406
|
-
actionDetails?: {
|
6407
|
-
templateId?: string | undefined;
|
6408
|
-
isImmediateCorrection?: boolean | undefined;
|
6409
|
-
} | null | undefined;
|
6410
6199
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6411
6200
|
} | {
|
6412
6201
|
type: "REJECT";
|
@@ -6513,10 +6302,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6513
6302
|
start: string;
|
6514
6303
|
end: string;
|
6515
6304
|
} | null | undefined> | null | undefined;
|
6516
|
-
actionDetails?: {
|
6517
|
-
templateId?: string | undefined;
|
6518
|
-
isImmediateCorrection?: boolean | undefined;
|
6519
|
-
} | null | undefined;
|
6520
6305
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6521
6306
|
} | {
|
6522
6307
|
type: "MARKED_AS_DUPLICATE";
|
@@ -6619,10 +6404,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6619
6404
|
start: string;
|
6620
6405
|
end: string;
|
6621
6406
|
} | null | undefined> | null | undefined;
|
6622
|
-
actionDetails?: {
|
6623
|
-
templateId?: string | undefined;
|
6624
|
-
isImmediateCorrection?: boolean | undefined;
|
6625
|
-
} | null | undefined;
|
6626
6407
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6627
6408
|
} | {
|
6628
6409
|
type: "ARCHIVE";
|
@@ -6729,10 +6510,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6729
6510
|
start: string;
|
6730
6511
|
end: string;
|
6731
6512
|
} | null | undefined> | null | undefined;
|
6732
|
-
actionDetails?: {
|
6733
|
-
templateId?: string | undefined;
|
6734
|
-
isImmediateCorrection?: boolean | undefined;
|
6735
|
-
} | null | undefined;
|
6736
6513
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6737
6514
|
} | {
|
6738
6515
|
type: "CREATE";
|
@@ -6835,10 +6612,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6835
6612
|
start: string;
|
6836
6613
|
end: string;
|
6837
6614
|
} | null | undefined> | null | undefined;
|
6838
|
-
actionDetails?: {
|
6839
|
-
templateId?: string | undefined;
|
6840
|
-
isImmediateCorrection?: boolean | undefined;
|
6841
|
-
} | null | undefined;
|
6842
6615
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6843
6616
|
} | {
|
6844
6617
|
type: "NOTIFY";
|
@@ -6941,10 +6714,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
6941
6714
|
start: string;
|
6942
6715
|
end: string;
|
6943
6716
|
} | null | undefined> | null | undefined;
|
6944
|
-
actionDetails?: {
|
6945
|
-
templateId?: string | undefined;
|
6946
|
-
isImmediateCorrection?: boolean | undefined;
|
6947
|
-
} | null | undefined;
|
6948
6717
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6949
6718
|
} | {
|
6950
6719
|
type: "PRINT_CERTIFICATE";
|
@@ -7000,6 +6769,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7000
6769
|
start: string;
|
7001
6770
|
end: string;
|
7002
6771
|
} | null | undefined>;
|
6772
|
+
content?: {
|
6773
|
+
templateId?: string | undefined;
|
6774
|
+
} | null | undefined;
|
7003
6775
|
createdBySignature?: string | null | undefined;
|
7004
6776
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7005
6777
|
annotation?: Record<string, string | number | boolean | {
|
@@ -7047,10 +6819,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7047
6819
|
start: string;
|
7048
6820
|
end: string;
|
7049
6821
|
} | null | undefined> | null | undefined;
|
7050
|
-
actionDetails?: {
|
7051
|
-
templateId?: string | undefined;
|
7052
|
-
isImmediateCorrection?: boolean | undefined;
|
7053
|
-
} | null | undefined;
|
7054
6822
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7055
6823
|
} | {
|
7056
6824
|
type: "REQUEST_CORRECTION";
|
@@ -7153,10 +6921,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7153
6921
|
start: string;
|
7154
6922
|
end: string;
|
7155
6923
|
} | null | undefined> | null | undefined;
|
7156
|
-
actionDetails?: {
|
7157
|
-
templateId?: string | undefined;
|
7158
|
-
isImmediateCorrection?: boolean | undefined;
|
7159
|
-
} | null | undefined;
|
7160
6924
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7161
6925
|
} | {
|
7162
6926
|
type: "APPROVE_CORRECTION";
|
@@ -7260,15 +7024,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7260
7024
|
start: string;
|
7261
7025
|
end: string;
|
7262
7026
|
} | null | undefined> | null | undefined;
|
7263
|
-
actionDetails?: {
|
7264
|
-
templateId?: string | undefined;
|
7265
|
-
isImmediateCorrection?: boolean | undefined;
|
7266
|
-
} | null | undefined;
|
7267
7027
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7268
7028
|
} | {
|
7269
7029
|
type: "REJECT_CORRECTION";
|
7270
7030
|
id: string & import("zod").BRAND<"UUID">;
|
7271
7031
|
status: "Rejected" | "Requested" | "Accepted";
|
7032
|
+
reason: {
|
7033
|
+
message: string;
|
7034
|
+
isDuplicate?: boolean | undefined;
|
7035
|
+
};
|
7272
7036
|
transactionId: string;
|
7273
7037
|
createdByUserType: "system" | "user";
|
7274
7038
|
createdAt: string;
|
@@ -7367,10 +7131,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7367
7131
|
start: string;
|
7368
7132
|
end: string;
|
7369
7133
|
} | null | undefined> | null | undefined;
|
7370
|
-
actionDetails?: {
|
7371
|
-
templateId?: string | undefined;
|
7372
|
-
isImmediateCorrection?: boolean | undefined;
|
7373
|
-
} | null | undefined;
|
7374
7134
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7375
7135
|
} | {
|
7376
7136
|
type: "READ";
|
@@ -7473,10 +7233,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7473
7233
|
start: string;
|
7474
7234
|
end: string;
|
7475
7235
|
} | null | undefined> | null | undefined;
|
7476
|
-
actionDetails?: {
|
7477
|
-
templateId?: string | undefined;
|
7478
|
-
isImmediateCorrection?: boolean | undefined;
|
7479
|
-
} | null | undefined;
|
7480
7236
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7481
7237
|
} | {
|
7482
7238
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -7489,10 +7245,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7489
7245
|
createdByRole: string;
|
7490
7246
|
createdBySignature?: string | null | undefined;
|
7491
7247
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7492
|
-
actionDetails?: {
|
7493
|
-
templateId?: string | undefined;
|
7494
|
-
isImmediateCorrection?: boolean | undefined;
|
7495
|
-
} | null | undefined;
|
7496
7248
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
7497
7249
|
})[];
|
7498
7250
|
trackingId: string;
|
@@ -7657,7 +7409,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7657
7409
|
output: {
|
7658
7410
|
type: string;
|
7659
7411
|
id: string & import("zod").BRAND<"UUID">;
|
7660
|
-
status: "ARCHIVED" | "
|
7412
|
+
status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
7661
7413
|
createdAt: string;
|
7662
7414
|
createdBy: string;
|
7663
7415
|
declaration: Record<string, string | number | boolean | {
|
@@ -7752,7 +7504,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7752
7504
|
output: {
|
7753
7505
|
type: string;
|
7754
7506
|
id: string & import("zod").BRAND<"UUID">;
|
7755
|
-
status: "ARCHIVED" | "
|
7507
|
+
status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
7756
7508
|
createdAt: string;
|
7757
7509
|
createdBy: string;
|
7758
7510
|
declaration: Record<string, string | number | boolean | {
|
@@ -7947,10 +7699,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
7947
7699
|
start: string;
|
7948
7700
|
end: string;
|
7949
7701
|
} | null | undefined> | null | undefined;
|
7950
|
-
actionDetails?: {
|
7951
|
-
templateId?: string | undefined;
|
7952
|
-
isImmediateCorrection?: boolean | undefined;
|
7953
|
-
} | null | undefined;
|
7954
7702
|
originalActionId?: string | null | undefined;
|
7955
7703
|
} | {
|
7956
7704
|
type: "UNASSIGN";
|
@@ -8053,10 +7801,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8053
7801
|
start: string;
|
8054
7802
|
end: string;
|
8055
7803
|
} | null | undefined> | null | undefined;
|
8056
|
-
actionDetails?: {
|
8057
|
-
templateId?: string | undefined;
|
8058
|
-
isImmediateCorrection?: boolean | undefined;
|
8059
|
-
} | null | undefined;
|
8060
7804
|
originalActionId?: string | null | undefined;
|
8061
7805
|
} | {
|
8062
7806
|
type: "REGISTER";
|
@@ -8159,10 +7903,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8159
7903
|
start: string;
|
8160
7904
|
end: string;
|
8161
7905
|
} | null | undefined> | null | undefined;
|
8162
|
-
actionDetails?: {
|
8163
|
-
templateId?: string | undefined;
|
8164
|
-
isImmediateCorrection?: boolean | undefined;
|
8165
|
-
} | null | undefined;
|
8166
7906
|
originalActionId?: string | null | undefined;
|
8167
7907
|
registrationNumber?: string | undefined;
|
8168
7908
|
} | {
|
@@ -8266,10 +8006,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8266
8006
|
start: string;
|
8267
8007
|
end: string;
|
8268
8008
|
} | null | undefined> | null | undefined;
|
8269
|
-
actionDetails?: {
|
8270
|
-
templateId?: string | undefined;
|
8271
|
-
isImmediateCorrection?: boolean | undefined;
|
8272
|
-
} | null | undefined;
|
8273
8009
|
originalActionId?: string | null | undefined;
|
8274
8010
|
} | {
|
8275
8011
|
type: "VALIDATE";
|
@@ -8372,10 +8108,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8372
8108
|
start: string;
|
8373
8109
|
end: string;
|
8374
8110
|
} | null | undefined> | null | undefined;
|
8375
|
-
actionDetails?: {
|
8376
|
-
templateId?: string | undefined;
|
8377
|
-
isImmediateCorrection?: boolean | undefined;
|
8378
|
-
} | null | undefined;
|
8379
8111
|
originalActionId?: string | null | undefined;
|
8380
8112
|
} | {
|
8381
8113
|
type: "REJECT";
|
@@ -8482,10 +8214,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8482
8214
|
start: string;
|
8483
8215
|
end: string;
|
8484
8216
|
} | null | undefined> | null | undefined;
|
8485
|
-
actionDetails?: {
|
8486
|
-
templateId?: string | undefined;
|
8487
|
-
isImmediateCorrection?: boolean | undefined;
|
8488
|
-
} | null | undefined;
|
8489
8217
|
originalActionId?: string | null | undefined;
|
8490
8218
|
} | {
|
8491
8219
|
type: "MARKED_AS_DUPLICATE";
|
@@ -8588,10 +8316,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8588
8316
|
start: string;
|
8589
8317
|
end: string;
|
8590
8318
|
} | null | undefined> | null | undefined;
|
8591
|
-
actionDetails?: {
|
8592
|
-
templateId?: string | undefined;
|
8593
|
-
isImmediateCorrection?: boolean | undefined;
|
8594
|
-
} | null | undefined;
|
8595
8319
|
originalActionId?: string | null | undefined;
|
8596
8320
|
} | {
|
8597
8321
|
type: "ARCHIVE";
|
@@ -8698,10 +8422,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8698
8422
|
start: string;
|
8699
8423
|
end: string;
|
8700
8424
|
} | null | undefined> | null | undefined;
|
8701
|
-
actionDetails?: {
|
8702
|
-
templateId?: string | undefined;
|
8703
|
-
isImmediateCorrection?: boolean | undefined;
|
8704
|
-
} | null | undefined;
|
8705
8425
|
originalActionId?: string | null | undefined;
|
8706
8426
|
} | {
|
8707
8427
|
type: "CREATE";
|
@@ -8804,10 +8524,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8804
8524
|
start: string;
|
8805
8525
|
end: string;
|
8806
8526
|
} | null | undefined> | null | undefined;
|
8807
|
-
actionDetails?: {
|
8808
|
-
templateId?: string | undefined;
|
8809
|
-
isImmediateCorrection?: boolean | undefined;
|
8810
|
-
} | null | undefined;
|
8811
8527
|
originalActionId?: string | null | undefined;
|
8812
8528
|
} | {
|
8813
8529
|
type: "NOTIFY";
|
@@ -8910,10 +8626,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8910
8626
|
start: string;
|
8911
8627
|
end: string;
|
8912
8628
|
} | null | undefined> | null | undefined;
|
8913
|
-
actionDetails?: {
|
8914
|
-
templateId?: string | undefined;
|
8915
|
-
isImmediateCorrection?: boolean | undefined;
|
8916
|
-
} | null | undefined;
|
8917
8629
|
originalActionId?: string | null | undefined;
|
8918
8630
|
} | {
|
8919
8631
|
type: "PRINT_CERTIFICATE";
|
@@ -8969,6 +8681,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
8969
8681
|
start: string;
|
8970
8682
|
end: string;
|
8971
8683
|
} | null | undefined>;
|
8684
|
+
content?: {
|
8685
|
+
templateId?: string | undefined;
|
8686
|
+
} | null | undefined;
|
8972
8687
|
createdBySignature?: string | null | undefined;
|
8973
8688
|
createdAtLocation?: string | null | undefined;
|
8974
8689
|
annotation?: Record<string, string | number | boolean | {
|
@@ -9016,10 +8731,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9016
8731
|
start: string;
|
9017
8732
|
end: string;
|
9018
8733
|
} | null | undefined> | null | undefined;
|
9019
|
-
actionDetails?: {
|
9020
|
-
templateId?: string | undefined;
|
9021
|
-
isImmediateCorrection?: boolean | undefined;
|
9022
|
-
} | null | undefined;
|
9023
8734
|
originalActionId?: string | null | undefined;
|
9024
8735
|
} | {
|
9025
8736
|
type: "REQUEST_CORRECTION";
|
@@ -9122,10 +8833,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9122
8833
|
start: string;
|
9123
8834
|
end: string;
|
9124
8835
|
} | null | undefined> | null | undefined;
|
9125
|
-
actionDetails?: {
|
9126
|
-
templateId?: string | undefined;
|
9127
|
-
isImmediateCorrection?: boolean | undefined;
|
9128
|
-
} | null | undefined;
|
9129
8836
|
originalActionId?: string | null | undefined;
|
9130
8837
|
} | {
|
9131
8838
|
type: "APPROVE_CORRECTION";
|
@@ -9229,15 +8936,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9229
8936
|
start: string;
|
9230
8937
|
end: string;
|
9231
8938
|
} | null | undefined> | null | undefined;
|
9232
|
-
actionDetails?: {
|
9233
|
-
templateId?: string | undefined;
|
9234
|
-
isImmediateCorrection?: boolean | undefined;
|
9235
|
-
} | null | undefined;
|
9236
8939
|
originalActionId?: string | null | undefined;
|
9237
8940
|
} | {
|
9238
8941
|
type: "REJECT_CORRECTION";
|
9239
8942
|
id: string;
|
9240
8943
|
status: "Rejected" | "Requested" | "Accepted";
|
8944
|
+
reason: {
|
8945
|
+
message: string;
|
8946
|
+
isDuplicate?: boolean | undefined;
|
8947
|
+
};
|
9241
8948
|
transactionId: string;
|
9242
8949
|
createdByUserType: "system" | "user";
|
9243
8950
|
createdAt: string;
|
@@ -9336,10 +9043,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9336
9043
|
start: string;
|
9337
9044
|
end: string;
|
9338
9045
|
} | null | undefined> | null | undefined;
|
9339
|
-
actionDetails?: {
|
9340
|
-
templateId?: string | undefined;
|
9341
|
-
isImmediateCorrection?: boolean | undefined;
|
9342
|
-
} | null | undefined;
|
9343
9046
|
originalActionId?: string | null | undefined;
|
9344
9047
|
} | {
|
9345
9048
|
type: "READ";
|
@@ -9442,10 +9145,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9442
9145
|
start: string;
|
9443
9146
|
end: string;
|
9444
9147
|
} | null | undefined> | null | undefined;
|
9445
|
-
actionDetails?: {
|
9446
|
-
templateId?: string | undefined;
|
9447
|
-
isImmediateCorrection?: boolean | undefined;
|
9448
|
-
} | null | undefined;
|
9449
9148
|
originalActionId?: string | null | undefined;
|
9450
9149
|
} | {
|
9451
9150
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -9458,10 +9157,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9458
9157
|
createdByRole: string;
|
9459
9158
|
createdBySignature?: string | null | undefined;
|
9460
9159
|
createdAtLocation?: string | null | undefined;
|
9461
|
-
actionDetails?: {
|
9462
|
-
templateId?: string | undefined;
|
9463
|
-
isImmediateCorrection?: boolean | undefined;
|
9464
|
-
} | null | undefined;
|
9465
9160
|
originalActionId?: string | null | undefined;
|
9466
9161
|
})[];
|
9467
9162
|
trackingId: string;
|
@@ -9573,10 +9268,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9573
9268
|
start: string;
|
9574
9269
|
end: string;
|
9575
9270
|
} | null | undefined> | null | undefined;
|
9576
|
-
actionDetails?: {
|
9577
|
-
templateId?: string | undefined;
|
9578
|
-
isImmediateCorrection?: boolean | undefined;
|
9579
|
-
} | null | undefined;
|
9580
9271
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9581
9272
|
} | {
|
9582
9273
|
type: "UNASSIGN";
|
@@ -9679,10 +9370,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9679
9370
|
start: string;
|
9680
9371
|
end: string;
|
9681
9372
|
} | null | undefined> | null | undefined;
|
9682
|
-
actionDetails?: {
|
9683
|
-
templateId?: string | undefined;
|
9684
|
-
isImmediateCorrection?: boolean | undefined;
|
9685
|
-
} | null | undefined;
|
9686
9373
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9687
9374
|
} | {
|
9688
9375
|
type: "REGISTER";
|
@@ -9785,10 +9472,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9785
9472
|
start: string;
|
9786
9473
|
end: string;
|
9787
9474
|
} | null | undefined> | null | undefined;
|
9788
|
-
actionDetails?: {
|
9789
|
-
templateId?: string | undefined;
|
9790
|
-
isImmediateCorrection?: boolean | undefined;
|
9791
|
-
} | null | undefined;
|
9792
9475
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9793
9476
|
registrationNumber?: string | undefined;
|
9794
9477
|
} | {
|
@@ -9892,10 +9575,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9892
9575
|
start: string;
|
9893
9576
|
end: string;
|
9894
9577
|
} | null | undefined> | null | undefined;
|
9895
|
-
actionDetails?: {
|
9896
|
-
templateId?: string | undefined;
|
9897
|
-
isImmediateCorrection?: boolean | undefined;
|
9898
|
-
} | null | undefined;
|
9899
9578
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
9900
9579
|
} | {
|
9901
9580
|
type: "VALIDATE";
|
@@ -9998,10 +9677,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
9998
9677
|
start: string;
|
9999
9678
|
end: string;
|
10000
9679
|
} | null | undefined> | null | undefined;
|
10001
|
-
actionDetails?: {
|
10002
|
-
templateId?: string | undefined;
|
10003
|
-
isImmediateCorrection?: boolean | undefined;
|
10004
|
-
} | null | undefined;
|
10005
9680
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10006
9681
|
} | {
|
10007
9682
|
type: "REJECT";
|
@@ -10108,10 +9783,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10108
9783
|
start: string;
|
10109
9784
|
end: string;
|
10110
9785
|
} | null | undefined> | null | undefined;
|
10111
|
-
actionDetails?: {
|
10112
|
-
templateId?: string | undefined;
|
10113
|
-
isImmediateCorrection?: boolean | undefined;
|
10114
|
-
} | null | undefined;
|
10115
9786
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10116
9787
|
} | {
|
10117
9788
|
type: "MARKED_AS_DUPLICATE";
|
@@ -10214,10 +9885,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10214
9885
|
start: string;
|
10215
9886
|
end: string;
|
10216
9887
|
} | null | undefined> | null | undefined;
|
10217
|
-
actionDetails?: {
|
10218
|
-
templateId?: string | undefined;
|
10219
|
-
isImmediateCorrection?: boolean | undefined;
|
10220
|
-
} | null | undefined;
|
10221
9888
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10222
9889
|
} | {
|
10223
9890
|
type: "ARCHIVE";
|
@@ -10324,10 +9991,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10324
9991
|
start: string;
|
10325
9992
|
end: string;
|
10326
9993
|
} | null | undefined> | null | undefined;
|
10327
|
-
actionDetails?: {
|
10328
|
-
templateId?: string | undefined;
|
10329
|
-
isImmediateCorrection?: boolean | undefined;
|
10330
|
-
} | null | undefined;
|
10331
9994
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10332
9995
|
} | {
|
10333
9996
|
type: "CREATE";
|
@@ -10430,10 +10093,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10430
10093
|
start: string;
|
10431
10094
|
end: string;
|
10432
10095
|
} | null | undefined> | null | undefined;
|
10433
|
-
actionDetails?: {
|
10434
|
-
templateId?: string | undefined;
|
10435
|
-
isImmediateCorrection?: boolean | undefined;
|
10436
|
-
} | null | undefined;
|
10437
10096
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10438
10097
|
} | {
|
10439
10098
|
type: "NOTIFY";
|
@@ -10536,10 +10195,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10536
10195
|
start: string;
|
10537
10196
|
end: string;
|
10538
10197
|
} | null | undefined> | null | undefined;
|
10539
|
-
actionDetails?: {
|
10540
|
-
templateId?: string | undefined;
|
10541
|
-
isImmediateCorrection?: boolean | undefined;
|
10542
|
-
} | null | undefined;
|
10543
10198
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10544
10199
|
} | {
|
10545
10200
|
type: "PRINT_CERTIFICATE";
|
@@ -10595,6 +10250,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10595
10250
|
start: string;
|
10596
10251
|
end: string;
|
10597
10252
|
} | null | undefined>;
|
10253
|
+
content?: {
|
10254
|
+
templateId?: string | undefined;
|
10255
|
+
} | null | undefined;
|
10598
10256
|
createdBySignature?: string | null | undefined;
|
10599
10257
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10600
10258
|
annotation?: Record<string, string | number | boolean | {
|
@@ -10642,10 +10300,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10642
10300
|
start: string;
|
10643
10301
|
end: string;
|
10644
10302
|
} | null | undefined> | null | undefined;
|
10645
|
-
actionDetails?: {
|
10646
|
-
templateId?: string | undefined;
|
10647
|
-
isImmediateCorrection?: boolean | undefined;
|
10648
|
-
} | null | undefined;
|
10649
10303
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10650
10304
|
} | {
|
10651
10305
|
type: "REQUEST_CORRECTION";
|
@@ -10748,10 +10402,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10748
10402
|
start: string;
|
10749
10403
|
end: string;
|
10750
10404
|
} | null | undefined> | null | undefined;
|
10751
|
-
actionDetails?: {
|
10752
|
-
templateId?: string | undefined;
|
10753
|
-
isImmediateCorrection?: boolean | undefined;
|
10754
|
-
} | null | undefined;
|
10755
10405
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10756
10406
|
} | {
|
10757
10407
|
type: "APPROVE_CORRECTION";
|
@@ -10855,15 +10505,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10855
10505
|
start: string;
|
10856
10506
|
end: string;
|
10857
10507
|
} | null | undefined> | null | undefined;
|
10858
|
-
actionDetails?: {
|
10859
|
-
templateId?: string | undefined;
|
10860
|
-
isImmediateCorrection?: boolean | undefined;
|
10861
|
-
} | null | undefined;
|
10862
10508
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10863
10509
|
} | {
|
10864
10510
|
type: "REJECT_CORRECTION";
|
10865
10511
|
id: string & import("zod").BRAND<"UUID">;
|
10866
10512
|
status: "Rejected" | "Requested" | "Accepted";
|
10513
|
+
reason: {
|
10514
|
+
message: string;
|
10515
|
+
isDuplicate?: boolean | undefined;
|
10516
|
+
};
|
10867
10517
|
transactionId: string;
|
10868
10518
|
createdByUserType: "system" | "user";
|
10869
10519
|
createdAt: string;
|
@@ -10962,10 +10612,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
10962
10612
|
start: string;
|
10963
10613
|
end: string;
|
10964
10614
|
} | null | undefined> | null | undefined;
|
10965
|
-
actionDetails?: {
|
10966
|
-
templateId?: string | undefined;
|
10967
|
-
isImmediateCorrection?: boolean | undefined;
|
10968
|
-
} | null | undefined;
|
10969
10615
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
10970
10616
|
} | {
|
10971
10617
|
type: "READ";
|
@@ -11068,10 +10714,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11068
10714
|
start: string;
|
11069
10715
|
end: string;
|
11070
10716
|
} | null | undefined> | null | undefined;
|
11071
|
-
actionDetails?: {
|
11072
|
-
templateId?: string | undefined;
|
11073
|
-
isImmediateCorrection?: boolean | undefined;
|
11074
|
-
} | null | undefined;
|
11075
10717
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11076
10718
|
} | {
|
11077
10719
|
type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
|
@@ -11084,10 +10726,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11084
10726
|
createdByRole: string;
|
11085
10727
|
createdBySignature?: string | null | undefined;
|
11086
10728
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11087
|
-
actionDetails?: {
|
11088
|
-
templateId?: string | undefined;
|
11089
|
-
isImmediateCorrection?: boolean | undefined;
|
11090
|
-
} | null | undefined;
|
11091
10729
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
11092
10730
|
})[];
|
11093
10731
|
trackingId: string;
|
@@ -11240,10 +10878,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11240
10878
|
clauses: {
|
11241
10879
|
status?: {
|
11242
10880
|
type: "exact";
|
11243
|
-
term: "ARCHIVED" | "
|
10881
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
11244
10882
|
} | {
|
11245
10883
|
type: "anyOf";
|
11246
|
-
terms: ("ARCHIVED" | "
|
10884
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
11247
10885
|
} | undefined;
|
11248
10886
|
data?: any;
|
11249
10887
|
createdByUserType?: {
|
@@ -11349,10 +10987,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11349
10987
|
clauses: {
|
11350
10988
|
status?: {
|
11351
10989
|
type: "exact";
|
11352
|
-
term: "ARCHIVED" | "
|
10990
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
11353
10991
|
} | {
|
11354
10992
|
type: "anyOf";
|
11355
|
-
terms: ("ARCHIVED" | "
|
10993
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
11356
10994
|
} | undefined;
|
11357
10995
|
data?: any;
|
11358
10996
|
createdByUserType?: {
|
@@ -11462,6 +11100,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
11462
11100
|
label: import("../commons").TranslationConfig;
|
11463
11101
|
}[];
|
11464
11102
|
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Assigned" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
11103
|
+
emptyMessage?: import("../commons").TranslationConfig | undefined;
|
11465
11104
|
}[];
|
11466
11105
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
11467
11106
|
}>;
|