@opencrvs/toolkit 1.8.1-rc.b849abb → 1.8.1-rc.bbbfede

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