@opencrvs/toolkit 1.8.0-rc.f876361 → 1.8.0-rc.f8a9481

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.
@@ -1,18 +1,18 @@
1
1
  export declare const appRouter: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2
2
  ctx: import("./middleware").Context;
3
- meta: object;
3
+ meta: import("trpc-to-openapi").OpenApiMeta;
4
4
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
5
5
  transformer: true;
6
6
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
7
7
  event: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
8
8
  ctx: import("./middleware").Context;
9
- meta: object;
9
+ meta: import("trpc-to-openapi").OpenApiMeta;
10
10
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
11
11
  transformer: true;
12
12
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
13
13
  config: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
14
14
  ctx: import("./middleware").Context;
15
- meta: object;
15
+ meta: import("trpc-to-openapi").OpenApiMeta;
16
16
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
17
17
  transformer: true;
18
18
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -249,19 +249,24 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
249
249
  label: import("../commons").TranslationConfig;
250
250
  emptyValueMessage?: import("../commons").TranslationConfig | undefined;
251
251
  };
252
- fields: {
252
+ fields: ({
253
+ fieldId: string;
254
+ conditionals?: {
255
+ type: "SHOW";
256
+ conditional: import("../commons").JSONSchema;
257
+ }[] | undefined;
258
+ emptyValueMessage?: import("../commons").TranslationConfig | undefined;
259
+ } | {
253
260
  id: string;
254
261
  value: import("../commons").TranslationConfig;
255
262
  label: import("../commons").TranslationConfig;
263
+ conditionals?: {
264
+ type: "SHOW";
265
+ conditional: import("../commons").JSONSchema;
266
+ }[] | undefined;
256
267
  emptyValueMessage?: import("../commons").TranslationConfig | undefined;
257
- }[];
268
+ })[];
258
269
  };
259
- workqueues: {
260
- id: string;
261
- filters: {
262
- status: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
263
- }[];
264
- }[];
265
270
  deduplication: {
266
271
  id: string;
267
272
  label: import("../commons").TranslationConfig;
@@ -289,12 +294,15 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
289
294
  id: string;
290
295
  createdAt: string;
291
296
  updatedAt: string;
297
+ updatedAtLocation: string;
292
298
  actions: ({
293
299
  type: "ASSIGN";
294
300
  id: string;
295
301
  status: "Rejected" | "Requested" | "Accepted";
302
+ transactionId: string;
296
303
  createdAt: string;
297
304
  createdBy: string;
305
+ createdByRole: string;
298
306
  declaration: Record<string, string | number | boolean | {
299
307
  type: string;
300
308
  filename: string;
@@ -378,8 +386,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
378
386
  type: "UNASSIGN";
379
387
  id: string;
380
388
  status: "Rejected" | "Requested" | "Accepted";
389
+ transactionId: string;
381
390
  createdAt: string;
382
391
  createdBy: string;
392
+ createdByRole: string;
383
393
  declaration: Record<string, string | number | boolean | {
384
394
  type: string;
385
395
  filename: string;
@@ -419,6 +429,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
419
429
  originalFilename: string;
420
430
  }[] | undefined>;
421
431
  createdAtLocation: string;
432
+ assignedTo: null;
422
433
  annotation?: Record<string, string | number | boolean | {
423
434
  type: string;
424
435
  filename: string;
@@ -462,8 +473,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
462
473
  type: "REGISTER";
463
474
  id: string;
464
475
  status: "Rejected" | "Requested" | "Accepted";
476
+ transactionId: string;
465
477
  createdAt: string;
466
478
  createdBy: string;
479
+ createdByRole: string;
467
480
  declaration: Record<string, string | number | boolean | {
468
481
  type: string;
469
482
  filename: string;
@@ -547,8 +560,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
547
560
  type: "DECLARE";
548
561
  id: string;
549
562
  status: "Rejected" | "Requested" | "Accepted";
563
+ transactionId: string;
550
564
  createdAt: string;
551
565
  createdBy: string;
566
+ createdByRole: string;
552
567
  declaration: Record<string, string | number | boolean | {
553
568
  type: string;
554
569
  filename: string;
@@ -631,8 +646,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
631
646
  type: "VALIDATE";
632
647
  id: string;
633
648
  status: "Rejected" | "Requested" | "Accepted";
649
+ transactionId: string;
634
650
  createdAt: string;
635
651
  createdBy: string;
652
+ createdByRole: string;
636
653
  declaration: Record<string, string | number | boolean | {
637
654
  type: string;
638
655
  filename: string;
@@ -715,8 +732,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
715
732
  type: "REJECT";
716
733
  id: string;
717
734
  status: "Rejected" | "Requested" | "Accepted";
735
+ transactionId: string;
718
736
  createdAt: string;
719
737
  createdBy: string;
738
+ createdByRole: string;
720
739
  declaration: Record<string, string | number | boolean | {
721
740
  type: string;
722
741
  filename: string;
@@ -799,8 +818,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
799
818
  type: "MARKED_AS_DUPLICATE";
800
819
  id: string;
801
820
  status: "Rejected" | "Requested" | "Accepted";
821
+ transactionId: string;
802
822
  createdAt: string;
803
823
  createdBy: string;
824
+ createdByRole: string;
804
825
  declaration: Record<string, string | number | boolean | {
805
826
  type: string;
806
827
  filename: string;
@@ -883,8 +904,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
883
904
  type: "ARCHIVE";
884
905
  id: string;
885
906
  status: "Rejected" | "Requested" | "Accepted";
907
+ transactionId: string;
886
908
  createdAt: string;
887
909
  createdBy: string;
910
+ createdByRole: string;
888
911
  declaration: Record<string, string | number | boolean | {
889
912
  type: string;
890
913
  filename: string;
@@ -967,8 +990,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
967
990
  type: "CREATE";
968
991
  id: string;
969
992
  status: "Rejected" | "Requested" | "Accepted";
993
+ transactionId: string;
970
994
  createdAt: string;
971
995
  createdBy: string;
996
+ createdByRole: string;
972
997
  declaration: Record<string, string | number | boolean | {
973
998
  type: string;
974
999
  filename: string;
@@ -1051,8 +1076,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1051
1076
  type: "NOTIFY";
1052
1077
  id: string;
1053
1078
  status: "Rejected" | "Requested" | "Accepted";
1079
+ transactionId: string;
1054
1080
  createdAt: string;
1055
1081
  createdBy: string;
1082
+ createdByRole: string;
1056
1083
  declaration: Record<string, string | number | boolean | {
1057
1084
  type: string;
1058
1085
  filename: string;
@@ -1135,8 +1162,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1135
1162
  type: "PRINT_CERTIFICATE";
1136
1163
  id: string;
1137
1164
  status: "Rejected" | "Requested" | "Accepted";
1165
+ transactionId: string;
1138
1166
  createdAt: string;
1139
1167
  createdBy: string;
1168
+ createdByRole: string;
1140
1169
  declaration: Record<string, string | number | boolean | {
1141
1170
  type: string;
1142
1171
  filename: string;
@@ -1219,8 +1248,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1219
1248
  type: "REQUEST_CORRECTION";
1220
1249
  id: string;
1221
1250
  status: "Rejected" | "Requested" | "Accepted";
1251
+ transactionId: string;
1222
1252
  createdAt: string;
1223
1253
  createdBy: string;
1254
+ createdByRole: string;
1224
1255
  declaration: Record<string, string | number | boolean | {
1225
1256
  type: string;
1226
1257
  filename: string;
@@ -1303,8 +1334,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1303
1334
  type: "APPROVE_CORRECTION";
1304
1335
  id: string;
1305
1336
  status: "Rejected" | "Requested" | "Accepted";
1337
+ transactionId: string;
1306
1338
  createdAt: string;
1307
1339
  createdBy: string;
1340
+ createdByRole: string;
1308
1341
  declaration: Record<string, string | number | boolean | {
1309
1342
  type: string;
1310
1343
  filename: string;
@@ -1388,8 +1421,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1388
1421
  type: "REJECT_CORRECTION";
1389
1422
  id: string;
1390
1423
  status: "Rejected" | "Requested" | "Accepted";
1424
+ transactionId: string;
1391
1425
  createdAt: string;
1392
1426
  createdBy: string;
1427
+ createdByRole: string;
1393
1428
  declaration: Record<string, string | number | boolean | {
1394
1429
  type: string;
1395
1430
  filename: string;
@@ -1473,8 +1508,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1473
1508
  type: "READ";
1474
1509
  id: string;
1475
1510
  status: "Rejected" | "Requested" | "Accepted";
1511
+ transactionId: string;
1476
1512
  createdAt: string;
1477
1513
  createdBy: string;
1514
+ createdByRole: string;
1478
1515
  declaration: Record<string, string | number | boolean | {
1479
1516
  type: string;
1480
1517
  filename: string;
@@ -1557,6 +1594,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1557
1594
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
1558
1595
  id: string;
1559
1596
  status: "Rejected";
1597
+ transactionId: string;
1560
1598
  createdAt: string;
1561
1599
  originalActionId?: string | undefined;
1562
1600
  })[];
@@ -1570,12 +1608,15 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1570
1608
  id: string;
1571
1609
  createdAt: string;
1572
1610
  updatedAt: string;
1611
+ updatedAtLocation: string;
1573
1612
  actions: ({
1574
1613
  type: "ASSIGN";
1575
1614
  id: string;
1576
1615
  status: "Rejected" | "Requested" | "Accepted";
1616
+ transactionId: string;
1577
1617
  createdAt: string;
1578
1618
  createdBy: string;
1619
+ createdByRole: string;
1579
1620
  declaration: Record<string, string | number | boolean | {
1580
1621
  type: string;
1581
1622
  filename: string;
@@ -1659,8 +1700,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1659
1700
  type: "UNASSIGN";
1660
1701
  id: string;
1661
1702
  status: "Rejected" | "Requested" | "Accepted";
1703
+ transactionId: string;
1662
1704
  createdAt: string;
1663
1705
  createdBy: string;
1706
+ createdByRole: string;
1664
1707
  declaration: Record<string, string | number | boolean | {
1665
1708
  type: string;
1666
1709
  filename: string;
@@ -1700,6 +1743,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1700
1743
  originalFilename: string;
1701
1744
  }[] | undefined>;
1702
1745
  createdAtLocation: string;
1746
+ assignedTo: null;
1703
1747
  annotation?: Record<string, string | number | boolean | {
1704
1748
  type: string;
1705
1749
  filename: string;
@@ -1743,8 +1787,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1743
1787
  type: "REGISTER";
1744
1788
  id: string;
1745
1789
  status: "Rejected" | "Requested" | "Accepted";
1790
+ transactionId: string;
1746
1791
  createdAt: string;
1747
1792
  createdBy: string;
1793
+ createdByRole: string;
1748
1794
  declaration: Record<string, string | number | boolean | {
1749
1795
  type: string;
1750
1796
  filename: string;
@@ -1828,8 +1874,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1828
1874
  type: "DECLARE";
1829
1875
  id: string;
1830
1876
  status: "Rejected" | "Requested" | "Accepted";
1877
+ transactionId: string;
1831
1878
  createdAt: string;
1832
1879
  createdBy: string;
1880
+ createdByRole: string;
1833
1881
  declaration: Record<string, string | number | boolean | {
1834
1882
  type: string;
1835
1883
  filename: string;
@@ -1912,8 +1960,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1912
1960
  type: "VALIDATE";
1913
1961
  id: string;
1914
1962
  status: "Rejected" | "Requested" | "Accepted";
1963
+ transactionId: string;
1915
1964
  createdAt: string;
1916
1965
  createdBy: string;
1966
+ createdByRole: string;
1917
1967
  declaration: Record<string, string | number | boolean | {
1918
1968
  type: string;
1919
1969
  filename: string;
@@ -1996,8 +2046,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
1996
2046
  type: "REJECT";
1997
2047
  id: string;
1998
2048
  status: "Rejected" | "Requested" | "Accepted";
2049
+ transactionId: string;
1999
2050
  createdAt: string;
2000
2051
  createdBy: string;
2052
+ createdByRole: string;
2001
2053
  declaration: Record<string, string | number | boolean | {
2002
2054
  type: string;
2003
2055
  filename: string;
@@ -2080,8 +2132,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2080
2132
  type: "MARKED_AS_DUPLICATE";
2081
2133
  id: string;
2082
2134
  status: "Rejected" | "Requested" | "Accepted";
2135
+ transactionId: string;
2083
2136
  createdAt: string;
2084
2137
  createdBy: string;
2138
+ createdByRole: string;
2085
2139
  declaration: Record<string, string | number | boolean | {
2086
2140
  type: string;
2087
2141
  filename: string;
@@ -2164,8 +2218,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2164
2218
  type: "ARCHIVE";
2165
2219
  id: string;
2166
2220
  status: "Rejected" | "Requested" | "Accepted";
2221
+ transactionId: string;
2167
2222
  createdAt: string;
2168
2223
  createdBy: string;
2224
+ createdByRole: string;
2169
2225
  declaration: Record<string, string | number | boolean | {
2170
2226
  type: string;
2171
2227
  filename: string;
@@ -2248,8 +2304,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2248
2304
  type: "CREATE";
2249
2305
  id: string;
2250
2306
  status: "Rejected" | "Requested" | "Accepted";
2307
+ transactionId: string;
2251
2308
  createdAt: string;
2252
2309
  createdBy: string;
2310
+ createdByRole: string;
2253
2311
  declaration: Record<string, string | number | boolean | {
2254
2312
  type: string;
2255
2313
  filename: string;
@@ -2332,8 +2390,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2332
2390
  type: "NOTIFY";
2333
2391
  id: string;
2334
2392
  status: "Rejected" | "Requested" | "Accepted";
2393
+ transactionId: string;
2335
2394
  createdAt: string;
2336
2395
  createdBy: string;
2396
+ createdByRole: string;
2337
2397
  declaration: Record<string, string | number | boolean | {
2338
2398
  type: string;
2339
2399
  filename: string;
@@ -2416,8 +2476,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2416
2476
  type: "PRINT_CERTIFICATE";
2417
2477
  id: string;
2418
2478
  status: "Rejected" | "Requested" | "Accepted";
2479
+ transactionId: string;
2419
2480
  createdAt: string;
2420
2481
  createdBy: string;
2482
+ createdByRole: string;
2421
2483
  declaration: Record<string, string | number | boolean | {
2422
2484
  type: string;
2423
2485
  filename: string;
@@ -2500,8 +2562,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2500
2562
  type: "REQUEST_CORRECTION";
2501
2563
  id: string;
2502
2564
  status: "Rejected" | "Requested" | "Accepted";
2565
+ transactionId: string;
2503
2566
  createdAt: string;
2504
2567
  createdBy: string;
2568
+ createdByRole: string;
2505
2569
  declaration: Record<string, string | number | boolean | {
2506
2570
  type: string;
2507
2571
  filename: string;
@@ -2584,8 +2648,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2584
2648
  type: "APPROVE_CORRECTION";
2585
2649
  id: string;
2586
2650
  status: "Rejected" | "Requested" | "Accepted";
2651
+ transactionId: string;
2587
2652
  createdAt: string;
2588
2653
  createdBy: string;
2654
+ createdByRole: string;
2589
2655
  declaration: Record<string, string | number | boolean | {
2590
2656
  type: string;
2591
2657
  filename: string;
@@ -2669,8 +2735,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2669
2735
  type: "REJECT_CORRECTION";
2670
2736
  id: string;
2671
2737
  status: "Rejected" | "Requested" | "Accepted";
2738
+ transactionId: string;
2672
2739
  createdAt: string;
2673
2740
  createdBy: string;
2741
+ createdByRole: string;
2674
2742
  declaration: Record<string, string | number | boolean | {
2675
2743
  type: string;
2676
2744
  filename: string;
@@ -2754,8 +2822,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2754
2822
  type: "READ";
2755
2823
  id: string;
2756
2824
  status: "Rejected" | "Requested" | "Accepted";
2825
+ transactionId: string;
2757
2826
  createdAt: string;
2758
2827
  createdBy: string;
2828
+ createdByRole: string;
2759
2829
  declaration: Record<string, string | number | boolean | {
2760
2830
  type: string;
2761
2831
  filename: string;
@@ -2838,6 +2908,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2838
2908
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
2839
2909
  id: string;
2840
2910
  status: "Rejected";
2911
+ transactionId: string;
2841
2912
  createdAt: string;
2842
2913
  originalActionId?: string | undefined;
2843
2914
  })[];
@@ -2854,7 +2925,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2854
2925
  }>;
2855
2926
  draft: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
2856
2927
  ctx: import("./middleware").Context;
2857
- meta: object;
2928
+ meta: import("trpc-to-openapi").OpenApiMeta;
2858
2929
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
2859
2930
  transformer: true;
2860
2931
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -2862,13 +2933,16 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2862
2933
  input: void;
2863
2934
  output: {
2864
2935
  id: string;
2936
+ transactionId: string;
2865
2937
  createdAt: string;
2866
2938
  eventId: string;
2867
- transactionId: string;
2868
2939
  action: {
2869
2940
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
2941
+ status: "Rejected" | "Requested" | "Accepted";
2942
+ transactionId: string;
2870
2943
  createdAt: string;
2871
2944
  createdBy: string;
2945
+ createdByRole: string;
2872
2946
  declaration: Record<string, string | number | boolean | {
2873
2947
  type: string;
2874
2948
  filename: string;
@@ -2953,7 +3027,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2953
3027
  create: import("@trpc/server").TRPCMutationProcedure<{
2954
3028
  input: {
2955
3029
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
2956
- declaration: Record<string, string | number | boolean | {
3030
+ transactionId: string;
3031
+ eventId: string;
3032
+ declaration?: Record<string, string | number | boolean | {
2957
3033
  type: string;
2958
3034
  filename: string;
2959
3035
  originalFilename: string;
@@ -2990,9 +3066,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
2990
3066
  option: string;
2991
3067
  filename: string;
2992
3068
  originalFilename: string;
2993
- }[] | undefined>;
2994
- eventId: string;
2995
- transactionId: string;
3069
+ }[] | undefined> | undefined;
2996
3070
  annotation?: Record<string, string | number | boolean | {
2997
3071
  type: string;
2998
3072
  filename: string;
@@ -3032,16 +3106,20 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3032
3106
  originalFilename: string;
3033
3107
  }[] | undefined> | undefined;
3034
3108
  originalActionId?: string | undefined;
3109
+ keepAssignment?: boolean | undefined;
3035
3110
  };
3036
3111
  output: {
3037
3112
  id: string;
3113
+ transactionId: string;
3038
3114
  createdAt: string;
3039
3115
  eventId: string;
3040
- transactionId: string;
3041
3116
  action: {
3042
3117
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
3118
+ status: "Rejected" | "Requested" | "Accepted";
3119
+ transactionId: string;
3043
3120
  createdAt: string;
3044
3121
  createdBy: string;
3122
+ createdByRole: string;
3045
3123
  declaration: Record<string, string | number | boolean | {
3046
3124
  type: string;
3047
3125
  filename: string;
@@ -3126,13 +3204,13 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3126
3204
  }>>;
3127
3205
  actions: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3128
3206
  ctx: import("./middleware").Context;
3129
- meta: object;
3207
+ meta: import("trpc-to-openapi").OpenApiMeta;
3130
3208
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3131
3209
  transformer: true;
3132
3210
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3133
3211
  notify: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3134
3212
  ctx: import("./middleware").Context;
3135
- meta: object;
3213
+ meta: import("trpc-to-openapi").OpenApiMeta;
3136
3214
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3137
3215
  transformer: true;
3138
3216
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3157,7 +3235,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3157
3235
  }>>;
3158
3236
  declare: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3159
3237
  ctx: import("./middleware").Context;
3160
- meta: object;
3238
+ meta: import("trpc-to-openapi").OpenApiMeta;
3161
3239
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3162
3240
  transformer: true;
3163
3241
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3182,7 +3260,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3182
3260
  }>>;
3183
3261
  validate: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3184
3262
  ctx: import("./middleware").Context;
3185
- meta: object;
3263
+ meta: import("trpc-to-openapi").OpenApiMeta;
3186
3264
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3187
3265
  transformer: true;
3188
3266
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3207,7 +3285,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3207
3285
  }>>;
3208
3286
  reject: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3209
3287
  ctx: import("./middleware").Context;
3210
- meta: object;
3288
+ meta: import("trpc-to-openapi").OpenApiMeta;
3211
3289
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3212
3290
  transformer: true;
3213
3291
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3232,7 +3310,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3232
3310
  }>>;
3233
3311
  archive: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3234
3312
  ctx: import("./middleware").Context;
3235
- meta: object;
3313
+ meta: import("trpc-to-openapi").OpenApiMeta;
3236
3314
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3237
3315
  transformer: true;
3238
3316
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3257,7 +3335,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3257
3335
  }>>;
3258
3336
  register: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3259
3337
  ctx: import("./middleware").Context;
3260
- meta: object;
3338
+ meta: import("trpc-to-openapi").OpenApiMeta;
3261
3339
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3262
3340
  transformer: true;
3263
3341
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3282,7 +3360,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3282
3360
  }>>;
3283
3361
  printCertificate: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3284
3362
  ctx: import("./middleware").Context;
3285
- meta: object;
3363
+ meta: import("trpc-to-openapi").OpenApiMeta;
3286
3364
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3287
3365
  transformer: true;
3288
3366
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
@@ -3305,15 +3383,19 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3305
3383
  output: import("../commons").EventDocument;
3306
3384
  }>;
3307
3385
  }>>;
3308
- correction: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3386
+ assignment: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
3309
3387
  ctx: import("./middleware").Context;
3310
- meta: object;
3388
+ meta: import("trpc-to-openapi").OpenApiMeta;
3311
3389
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
3312
3390
  transformer: true;
3313
3391
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
3314
- request: import("@trpc/server").TRPCMutationProcedure<{
3392
+ assign: import("@trpc/server").TRPCMutationProcedure<{
3315
3393
  input: {
3316
- declaration: Record<string, string | number | boolean | {
3394
+ transactionId: string;
3395
+ assignedTo: string;
3396
+ eventId: string;
3397
+ type?: "ASSIGN" | undefined;
3398
+ declaration?: Record<string, string | number | boolean | {
3317
3399
  type: string;
3318
3400
  filename: string;
3319
3401
  originalFilename: string;
@@ -3350,10 +3432,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3350
3432
  option: string;
3351
3433
  filename: string;
3352
3434
  originalFilename: string;
3353
- }[] | undefined>;
3354
- eventId: string;
3355
- transactionId: string;
3356
- type?: "REQUEST_CORRECTION" | undefined;
3435
+ }[] | undefined> | undefined;
3357
3436
  annotation?: Record<string, string | number | boolean | {
3358
3437
  type: string;
3359
3438
  filename: string;
@@ -3393,18 +3472,22 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3393
3472
  originalFilename: string;
3394
3473
  }[] | undefined> | undefined;
3395
3474
  originalActionId?: string | undefined;
3475
+ keepAssignment?: boolean | undefined;
3396
3476
  };
3397
3477
  output: {
3398
3478
  type: string;
3399
3479
  id: string;
3400
3480
  createdAt: string;
3401
3481
  updatedAt: string;
3482
+ updatedAtLocation: string;
3402
3483
  actions: ({
3403
3484
  type: "ASSIGN";
3404
3485
  id: string;
3405
3486
  status: "Rejected" | "Requested" | "Accepted";
3487
+ transactionId: string;
3406
3488
  createdAt: string;
3407
3489
  createdBy: string;
3490
+ createdByRole: string;
3408
3491
  declaration: Record<string, string | number | boolean | {
3409
3492
  type: string;
3410
3493
  filename: string;
@@ -3488,8 +3571,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3488
3571
  type: "UNASSIGN";
3489
3572
  id: string;
3490
3573
  status: "Rejected" | "Requested" | "Accepted";
3574
+ transactionId: string;
3491
3575
  createdAt: string;
3492
3576
  createdBy: string;
3577
+ createdByRole: string;
3493
3578
  declaration: Record<string, string | number | boolean | {
3494
3579
  type: string;
3495
3580
  filename: string;
@@ -3529,6 +3614,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3529
3614
  originalFilename: string;
3530
3615
  }[] | undefined>;
3531
3616
  createdAtLocation: string;
3617
+ assignedTo: null;
3532
3618
  annotation?: Record<string, string | number | boolean | {
3533
3619
  type: string;
3534
3620
  filename: string;
@@ -3572,8 +3658,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3572
3658
  type: "REGISTER";
3573
3659
  id: string;
3574
3660
  status: "Rejected" | "Requested" | "Accepted";
3661
+ transactionId: string;
3575
3662
  createdAt: string;
3576
3663
  createdBy: string;
3664
+ createdByRole: string;
3577
3665
  declaration: Record<string, string | number | boolean | {
3578
3666
  type: string;
3579
3667
  filename: string;
@@ -3657,8 +3745,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3657
3745
  type: "DECLARE";
3658
3746
  id: string;
3659
3747
  status: "Rejected" | "Requested" | "Accepted";
3748
+ transactionId: string;
3660
3749
  createdAt: string;
3661
3750
  createdBy: string;
3751
+ createdByRole: string;
3662
3752
  declaration: Record<string, string | number | boolean | {
3663
3753
  type: string;
3664
3754
  filename: string;
@@ -3741,8 +3831,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3741
3831
  type: "VALIDATE";
3742
3832
  id: string;
3743
3833
  status: "Rejected" | "Requested" | "Accepted";
3834
+ transactionId: string;
3744
3835
  createdAt: string;
3745
3836
  createdBy: string;
3837
+ createdByRole: string;
3746
3838
  declaration: Record<string, string | number | boolean | {
3747
3839
  type: string;
3748
3840
  filename: string;
@@ -3825,8 +3917,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3825
3917
  type: "REJECT";
3826
3918
  id: string;
3827
3919
  status: "Rejected" | "Requested" | "Accepted";
3920
+ transactionId: string;
3828
3921
  createdAt: string;
3829
3922
  createdBy: string;
3923
+ createdByRole: string;
3830
3924
  declaration: Record<string, string | number | boolean | {
3831
3925
  type: string;
3832
3926
  filename: string;
@@ -3909,8 +4003,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3909
4003
  type: "MARKED_AS_DUPLICATE";
3910
4004
  id: string;
3911
4005
  status: "Rejected" | "Requested" | "Accepted";
4006
+ transactionId: string;
3912
4007
  createdAt: string;
3913
4008
  createdBy: string;
4009
+ createdByRole: string;
3914
4010
  declaration: Record<string, string | number | boolean | {
3915
4011
  type: string;
3916
4012
  filename: string;
@@ -3993,8 +4089,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
3993
4089
  type: "ARCHIVE";
3994
4090
  id: string;
3995
4091
  status: "Rejected" | "Requested" | "Accepted";
4092
+ transactionId: string;
3996
4093
  createdAt: string;
3997
4094
  createdBy: string;
4095
+ createdByRole: string;
3998
4096
  declaration: Record<string, string | number | boolean | {
3999
4097
  type: string;
4000
4098
  filename: string;
@@ -4077,8 +4175,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4077
4175
  type: "CREATE";
4078
4176
  id: string;
4079
4177
  status: "Rejected" | "Requested" | "Accepted";
4178
+ transactionId: string;
4080
4179
  createdAt: string;
4081
4180
  createdBy: string;
4181
+ createdByRole: string;
4082
4182
  declaration: Record<string, string | number | boolean | {
4083
4183
  type: string;
4084
4184
  filename: string;
@@ -4161,8 +4261,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4161
4261
  type: "NOTIFY";
4162
4262
  id: string;
4163
4263
  status: "Rejected" | "Requested" | "Accepted";
4264
+ transactionId: string;
4164
4265
  createdAt: string;
4165
4266
  createdBy: string;
4267
+ createdByRole: string;
4166
4268
  declaration: Record<string, string | number | boolean | {
4167
4269
  type: string;
4168
4270
  filename: string;
@@ -4245,8 +4347,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4245
4347
  type: "PRINT_CERTIFICATE";
4246
4348
  id: string;
4247
4349
  status: "Rejected" | "Requested" | "Accepted";
4350
+ transactionId: string;
4248
4351
  createdAt: string;
4249
4352
  createdBy: string;
4353
+ createdByRole: string;
4250
4354
  declaration: Record<string, string | number | boolean | {
4251
4355
  type: string;
4252
4356
  filename: string;
@@ -4329,8 +4433,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4329
4433
  type: "REQUEST_CORRECTION";
4330
4434
  id: string;
4331
4435
  status: "Rejected" | "Requested" | "Accepted";
4436
+ transactionId: string;
4332
4437
  createdAt: string;
4333
4438
  createdBy: string;
4439
+ createdByRole: string;
4334
4440
  declaration: Record<string, string | number | boolean | {
4335
4441
  type: string;
4336
4442
  filename: string;
@@ -4413,8 +4519,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4413
4519
  type: "APPROVE_CORRECTION";
4414
4520
  id: string;
4415
4521
  status: "Rejected" | "Requested" | "Accepted";
4522
+ transactionId: string;
4416
4523
  createdAt: string;
4417
4524
  createdBy: string;
4525
+ createdByRole: string;
4418
4526
  declaration: Record<string, string | number | boolean | {
4419
4527
  type: string;
4420
4528
  filename: string;
@@ -4498,8 +4606,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4498
4606
  type: "REJECT_CORRECTION";
4499
4607
  id: string;
4500
4608
  status: "Rejected" | "Requested" | "Accepted";
4609
+ transactionId: string;
4501
4610
  createdAt: string;
4502
4611
  createdBy: string;
4612
+ createdByRole: string;
4503
4613
  declaration: Record<string, string | number | boolean | {
4504
4614
  type: string;
4505
4615
  filename: string;
@@ -4583,8 +4693,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4583
4693
  type: "READ";
4584
4694
  id: string;
4585
4695
  status: "Rejected" | "Requested" | "Accepted";
4696
+ transactionId: string;
4586
4697
  createdAt: string;
4587
4698
  createdBy: string;
4699
+ createdByRole: string;
4588
4700
  declaration: Record<string, string | number | boolean | {
4589
4701
  type: string;
4590
4702
  filename: string;
@@ -4667,15 +4779,19 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4667
4779
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
4668
4780
  id: string;
4669
4781
  status: "Rejected";
4782
+ transactionId: string;
4670
4783
  createdAt: string;
4671
4784
  originalActionId?: string | undefined;
4672
4785
  })[];
4673
4786
  trackingId: string;
4674
4787
  };
4675
4788
  }>;
4676
- approve: import("@trpc/server").TRPCMutationProcedure<{
4789
+ unassign: import("@trpc/server").TRPCMutationProcedure<{
4677
4790
  input: {
4678
- declaration: Record<string, string | number | boolean | {
4791
+ transactionId: string;
4792
+ eventId: string;
4793
+ type?: "UNASSIGN" | undefined;
4794
+ declaration?: Record<string, string | number | boolean | {
4679
4795
  type: string;
4680
4796
  filename: string;
4681
4797
  originalFilename: string;
@@ -4712,11 +4828,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4712
4828
  option: string;
4713
4829
  filename: string;
4714
4830
  originalFilename: string;
4715
- }[] | undefined>;
4716
- requestId: string;
4717
- eventId: string;
4718
- transactionId: string;
4719
- type?: "APPROVE_CORRECTION" | undefined;
4831
+ }[] | undefined> | undefined;
4720
4832
  annotation?: Record<string, string | number | boolean | {
4721
4833
  type: string;
4722
4834
  filename: string;
@@ -4756,18 +4868,23 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4756
4868
  originalFilename: string;
4757
4869
  }[] | undefined> | undefined;
4758
4870
  originalActionId?: string | undefined;
4871
+ assignedTo?: null | undefined;
4872
+ keepAssignment?: boolean | undefined;
4759
4873
  };
4760
4874
  output: {
4761
4875
  type: string;
4762
4876
  id: string;
4763
4877
  createdAt: string;
4764
4878
  updatedAt: string;
4879
+ updatedAtLocation: string;
4765
4880
  actions: ({
4766
4881
  type: "ASSIGN";
4767
4882
  id: string;
4768
4883
  status: "Rejected" | "Requested" | "Accepted";
4884
+ transactionId: string;
4769
4885
  createdAt: string;
4770
4886
  createdBy: string;
4887
+ createdByRole: string;
4771
4888
  declaration: Record<string, string | number | boolean | {
4772
4889
  type: string;
4773
4890
  filename: string;
@@ -4851,8 +4968,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4851
4968
  type: "UNASSIGN";
4852
4969
  id: string;
4853
4970
  status: "Rejected" | "Requested" | "Accepted";
4971
+ transactionId: string;
4854
4972
  createdAt: string;
4855
4973
  createdBy: string;
4974
+ createdByRole: string;
4856
4975
  declaration: Record<string, string | number | boolean | {
4857
4976
  type: string;
4858
4977
  filename: string;
@@ -4892,6 +5011,7 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4892
5011
  originalFilename: string;
4893
5012
  }[] | undefined>;
4894
5013
  createdAtLocation: string;
5014
+ assignedTo: null;
4895
5015
  annotation?: Record<string, string | number | boolean | {
4896
5016
  type: string;
4897
5017
  filename: string;
@@ -4935,8 +5055,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
4935
5055
  type: "REGISTER";
4936
5056
  id: string;
4937
5057
  status: "Rejected" | "Requested" | "Accepted";
5058
+ transactionId: string;
4938
5059
  createdAt: string;
4939
5060
  createdBy: string;
5061
+ createdByRole: string;
4940
5062
  declaration: Record<string, string | number | boolean | {
4941
5063
  type: string;
4942
5064
  filename: string;
@@ -5020,8 +5142,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5020
5142
  type: "DECLARE";
5021
5143
  id: string;
5022
5144
  status: "Rejected" | "Requested" | "Accepted";
5145
+ transactionId: string;
5023
5146
  createdAt: string;
5024
5147
  createdBy: string;
5148
+ createdByRole: string;
5025
5149
  declaration: Record<string, string | number | boolean | {
5026
5150
  type: string;
5027
5151
  filename: string;
@@ -5104,8 +5228,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5104
5228
  type: "VALIDATE";
5105
5229
  id: string;
5106
5230
  status: "Rejected" | "Requested" | "Accepted";
5231
+ transactionId: string;
5107
5232
  createdAt: string;
5108
5233
  createdBy: string;
5234
+ createdByRole: string;
5109
5235
  declaration: Record<string, string | number | boolean | {
5110
5236
  type: string;
5111
5237
  filename: string;
@@ -5188,8 +5314,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5188
5314
  type: "REJECT";
5189
5315
  id: string;
5190
5316
  status: "Rejected" | "Requested" | "Accepted";
5317
+ transactionId: string;
5191
5318
  createdAt: string;
5192
5319
  createdBy: string;
5320
+ createdByRole: string;
5193
5321
  declaration: Record<string, string | number | boolean | {
5194
5322
  type: string;
5195
5323
  filename: string;
@@ -5272,8 +5400,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5272
5400
  type: "MARKED_AS_DUPLICATE";
5273
5401
  id: string;
5274
5402
  status: "Rejected" | "Requested" | "Accepted";
5403
+ transactionId: string;
5275
5404
  createdAt: string;
5276
5405
  createdBy: string;
5406
+ createdByRole: string;
5277
5407
  declaration: Record<string, string | number | boolean | {
5278
5408
  type: string;
5279
5409
  filename: string;
@@ -5356,8 +5486,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5356
5486
  type: "ARCHIVE";
5357
5487
  id: string;
5358
5488
  status: "Rejected" | "Requested" | "Accepted";
5489
+ transactionId: string;
5359
5490
  createdAt: string;
5360
5491
  createdBy: string;
5492
+ createdByRole: string;
5361
5493
  declaration: Record<string, string | number | boolean | {
5362
5494
  type: string;
5363
5495
  filename: string;
@@ -5440,8 +5572,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5440
5572
  type: "CREATE";
5441
5573
  id: string;
5442
5574
  status: "Rejected" | "Requested" | "Accepted";
5575
+ transactionId: string;
5443
5576
  createdAt: string;
5444
5577
  createdBy: string;
5578
+ createdByRole: string;
5445
5579
  declaration: Record<string, string | number | boolean | {
5446
5580
  type: string;
5447
5581
  filename: string;
@@ -5524,8 +5658,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5524
5658
  type: "NOTIFY";
5525
5659
  id: string;
5526
5660
  status: "Rejected" | "Requested" | "Accepted";
5661
+ transactionId: string;
5527
5662
  createdAt: string;
5528
5663
  createdBy: string;
5664
+ createdByRole: string;
5529
5665
  declaration: Record<string, string | number | boolean | {
5530
5666
  type: string;
5531
5667
  filename: string;
@@ -5608,8 +5744,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5608
5744
  type: "PRINT_CERTIFICATE";
5609
5745
  id: string;
5610
5746
  status: "Rejected" | "Requested" | "Accepted";
5747
+ transactionId: string;
5611
5748
  createdAt: string;
5612
5749
  createdBy: string;
5750
+ createdByRole: string;
5613
5751
  declaration: Record<string, string | number | boolean | {
5614
5752
  type: string;
5615
5753
  filename: string;
@@ -5692,8 +5830,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5692
5830
  type: "REQUEST_CORRECTION";
5693
5831
  id: string;
5694
5832
  status: "Rejected" | "Requested" | "Accepted";
5833
+ transactionId: string;
5695
5834
  createdAt: string;
5696
5835
  createdBy: string;
5836
+ createdByRole: string;
5697
5837
  declaration: Record<string, string | number | boolean | {
5698
5838
  type: string;
5699
5839
  filename: string;
@@ -5776,8 +5916,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5776
5916
  type: "APPROVE_CORRECTION";
5777
5917
  id: string;
5778
5918
  status: "Rejected" | "Requested" | "Accepted";
5919
+ transactionId: string;
5779
5920
  createdAt: string;
5780
5921
  createdBy: string;
5922
+ createdByRole: string;
5781
5923
  declaration: Record<string, string | number | boolean | {
5782
5924
  type: string;
5783
5925
  filename: string;
@@ -5861,8 +6003,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5861
6003
  type: "REJECT_CORRECTION";
5862
6004
  id: string;
5863
6005
  status: "Rejected" | "Requested" | "Accepted";
6006
+ transactionId: string;
5864
6007
  createdAt: string;
5865
6008
  createdBy: string;
6009
+ createdByRole: string;
5866
6010
  declaration: Record<string, string | number | boolean | {
5867
6011
  type: string;
5868
6012
  filename: string;
@@ -5946,8 +6090,10 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
5946
6090
  type: "READ";
5947
6091
  id: string;
5948
6092
  status: "Rejected" | "Requested" | "Accepted";
6093
+ transactionId: string;
5949
6094
  createdAt: string;
5950
6095
  createdBy: string;
6096
+ createdByRole: string;
5951
6097
  declaration: Record<string, string | number | boolean | {
5952
6098
  type: string;
5953
6099
  filename: string;
@@ -6030,15 +6176,26 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
6030
6176
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
6031
6177
  id: string;
6032
6178
  status: "Rejected";
6179
+ transactionId: string;
6033
6180
  createdAt: string;
6034
6181
  originalActionId?: string | undefined;
6035
6182
  })[];
6036
6183
  trackingId: string;
6037
6184
  };
6038
6185
  }>;
6039
- reject: import("@trpc/server").TRPCMutationProcedure<{
6186
+ }>>;
6187
+ correction: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
6188
+ ctx: import("./middleware").Context;
6189
+ meta: import("trpc-to-openapi").OpenApiMeta;
6190
+ errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
6191
+ transformer: true;
6192
+ }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6193
+ request: import("@trpc/server").TRPCMutationProcedure<{
6040
6194
  input: {
6041
- declaration: Record<string, string | number | boolean | {
6195
+ transactionId: string;
6196
+ eventId: string;
6197
+ type?: "REQUEST_CORRECTION" | undefined;
6198
+ declaration?: Record<string, string | number | boolean | {
6042
6199
  type: string;
6043
6200
  filename: string;
6044
6201
  originalFilename: string;
@@ -6075,11 +6232,181 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
6075
6232
  option: string;
6076
6233
  filename: string;
6077
6234
  originalFilename: string;
6078
- }[] | undefined>;
6235
+ }[] | undefined> | undefined;
6236
+ annotation?: Record<string, string | number | boolean | {
6237
+ type: string;
6238
+ filename: string;
6239
+ originalFilename: string;
6240
+ } | {
6241
+ country: string;
6242
+ district: string;
6243
+ addressType: "DOMESTIC";
6244
+ province: string;
6245
+ urbanOrRural: "URBAN";
6246
+ number?: string | null | undefined;
6247
+ town?: string | null | undefined;
6248
+ residentialArea?: string | null | undefined;
6249
+ street?: string | null | undefined;
6250
+ zipCode?: string | null | undefined;
6251
+ } | {
6252
+ country: string;
6253
+ district: string;
6254
+ addressType: "DOMESTIC";
6255
+ province: string;
6256
+ urbanOrRural: "RURAL";
6257
+ village?: string | null | undefined;
6258
+ } | {
6259
+ country: string;
6260
+ state: string;
6261
+ addressType: "INTERNATIONAL";
6262
+ district2: string;
6263
+ cityOrTown?: string | null | undefined;
6264
+ addressLine1?: string | null | undefined;
6265
+ addressLine2?: string | null | undefined;
6266
+ addressLine3?: string | null | undefined;
6267
+ postcodeOrZip?: string | null | undefined;
6268
+ } | {
6269
+ type: string;
6270
+ option: string;
6271
+ filename: string;
6272
+ originalFilename: string;
6273
+ }[] | undefined> | undefined;
6274
+ originalActionId?: string | undefined;
6275
+ keepAssignment?: boolean | undefined;
6276
+ };
6277
+ output: any;
6278
+ }>;
6279
+ approve: import("@trpc/server").TRPCMutationProcedure<{
6280
+ input: {
6281
+ transactionId: string;
6079
6282
  requestId: string;
6080
6283
  eventId: string;
6284
+ type?: "APPROVE_CORRECTION" | undefined;
6285
+ declaration?: Record<string, string | number | boolean | {
6286
+ type: string;
6287
+ filename: string;
6288
+ originalFilename: string;
6289
+ } | {
6290
+ country: string;
6291
+ district: string;
6292
+ addressType: "DOMESTIC";
6293
+ province: string;
6294
+ urbanOrRural: "URBAN";
6295
+ number?: string | null | undefined;
6296
+ town?: string | null | undefined;
6297
+ residentialArea?: string | null | undefined;
6298
+ street?: string | null | undefined;
6299
+ zipCode?: string | null | undefined;
6300
+ } | {
6301
+ country: string;
6302
+ district: string;
6303
+ addressType: "DOMESTIC";
6304
+ province: string;
6305
+ urbanOrRural: "RURAL";
6306
+ village?: string | null | undefined;
6307
+ } | {
6308
+ country: string;
6309
+ state: string;
6310
+ addressType: "INTERNATIONAL";
6311
+ district2: string;
6312
+ cityOrTown?: string | null | undefined;
6313
+ addressLine1?: string | null | undefined;
6314
+ addressLine2?: string | null | undefined;
6315
+ addressLine3?: string | null | undefined;
6316
+ postcodeOrZip?: string | null | undefined;
6317
+ } | {
6318
+ type: string;
6319
+ option: string;
6320
+ filename: string;
6321
+ originalFilename: string;
6322
+ }[] | undefined> | undefined;
6323
+ annotation?: Record<string, string | number | boolean | {
6324
+ type: string;
6325
+ filename: string;
6326
+ originalFilename: string;
6327
+ } | {
6328
+ country: string;
6329
+ district: string;
6330
+ addressType: "DOMESTIC";
6331
+ province: string;
6332
+ urbanOrRural: "URBAN";
6333
+ number?: string | null | undefined;
6334
+ town?: string | null | undefined;
6335
+ residentialArea?: string | null | undefined;
6336
+ street?: string | null | undefined;
6337
+ zipCode?: string | null | undefined;
6338
+ } | {
6339
+ country: string;
6340
+ district: string;
6341
+ addressType: "DOMESTIC";
6342
+ province: string;
6343
+ urbanOrRural: "RURAL";
6344
+ village?: string | null | undefined;
6345
+ } | {
6346
+ country: string;
6347
+ state: string;
6348
+ addressType: "INTERNATIONAL";
6349
+ district2: string;
6350
+ cityOrTown?: string | null | undefined;
6351
+ addressLine1?: string | null | undefined;
6352
+ addressLine2?: string | null | undefined;
6353
+ addressLine3?: string | null | undefined;
6354
+ postcodeOrZip?: string | null | undefined;
6355
+ } | {
6356
+ type: string;
6357
+ option: string;
6358
+ filename: string;
6359
+ originalFilename: string;
6360
+ }[] | undefined> | undefined;
6361
+ originalActionId?: string | undefined;
6362
+ keepAssignment?: boolean | undefined;
6363
+ };
6364
+ output: any;
6365
+ }>;
6366
+ reject: import("@trpc/server").TRPCMutationProcedure<{
6367
+ input: {
6081
6368
  transactionId: string;
6369
+ requestId: string;
6370
+ eventId: string;
6082
6371
  type?: "REJECT_CORRECTION" | undefined;
6372
+ declaration?: Record<string, string | number | boolean | {
6373
+ type: string;
6374
+ filename: string;
6375
+ originalFilename: string;
6376
+ } | {
6377
+ country: string;
6378
+ district: string;
6379
+ addressType: "DOMESTIC";
6380
+ province: string;
6381
+ urbanOrRural: "URBAN";
6382
+ number?: string | null | undefined;
6383
+ town?: string | null | undefined;
6384
+ residentialArea?: string | null | undefined;
6385
+ street?: string | null | undefined;
6386
+ zipCode?: string | null | undefined;
6387
+ } | {
6388
+ country: string;
6389
+ district: string;
6390
+ addressType: "DOMESTIC";
6391
+ province: string;
6392
+ urbanOrRural: "RURAL";
6393
+ village?: string | null | undefined;
6394
+ } | {
6395
+ country: string;
6396
+ state: string;
6397
+ addressType: "INTERNATIONAL";
6398
+ district2: string;
6399
+ cityOrTown?: string | null | undefined;
6400
+ addressLine1?: string | null | undefined;
6401
+ addressLine2?: string | null | undefined;
6402
+ addressLine3?: string | null | undefined;
6403
+ postcodeOrZip?: string | null | undefined;
6404
+ } | {
6405
+ type: string;
6406
+ option: string;
6407
+ filename: string;
6408
+ originalFilename: string;
6409
+ }[] | undefined> | undefined;
6083
6410
  annotation?: Record<string, string | number | boolean | {
6084
6411
  type: string;
6085
6412
  filename: string;
@@ -6119,1285 +6446,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
6119
6446
  originalFilename: string;
6120
6447
  }[] | undefined> | undefined;
6121
6448
  originalActionId?: string | undefined;
6449
+ keepAssignment?: boolean | undefined;
6122
6450
  };
6123
- output: {
6124
- type: string;
6125
- id: string;
6126
- createdAt: string;
6127
- updatedAt: string;
6128
- actions: ({
6129
- type: "ASSIGN";
6130
- id: string;
6131
- status: "Rejected" | "Requested" | "Accepted";
6132
- createdAt: string;
6133
- createdBy: string;
6134
- declaration: Record<string, string | number | boolean | {
6135
- type: string;
6136
- filename: string;
6137
- originalFilename: string;
6138
- } | {
6139
- country: string;
6140
- district: string;
6141
- addressType: "DOMESTIC";
6142
- province: string;
6143
- urbanOrRural: "URBAN";
6144
- number?: string | null | undefined;
6145
- town?: string | null | undefined;
6146
- residentialArea?: string | null | undefined;
6147
- street?: string | null | undefined;
6148
- zipCode?: string | null | undefined;
6149
- } | {
6150
- country: string;
6151
- district: string;
6152
- addressType: "DOMESTIC";
6153
- province: string;
6154
- urbanOrRural: "RURAL";
6155
- village?: string | null | undefined;
6156
- } | {
6157
- country: string;
6158
- state: string;
6159
- addressType: "INTERNATIONAL";
6160
- district2: string;
6161
- cityOrTown?: string | null | undefined;
6162
- addressLine1?: string | null | undefined;
6163
- addressLine2?: string | null | undefined;
6164
- addressLine3?: string | null | undefined;
6165
- postcodeOrZip?: string | null | undefined;
6166
- } | {
6167
- type: string;
6168
- option: string;
6169
- filename: string;
6170
- originalFilename: string;
6171
- }[] | undefined>;
6172
- createdAtLocation: string;
6173
- assignedTo: string;
6174
- annotation?: Record<string, string | number | boolean | {
6175
- type: string;
6176
- filename: string;
6177
- originalFilename: string;
6178
- } | {
6179
- country: string;
6180
- district: string;
6181
- addressType: "DOMESTIC";
6182
- province: string;
6183
- urbanOrRural: "URBAN";
6184
- number?: string | null | undefined;
6185
- town?: string | null | undefined;
6186
- residentialArea?: string | null | undefined;
6187
- street?: string | null | undefined;
6188
- zipCode?: string | null | undefined;
6189
- } | {
6190
- country: string;
6191
- district: string;
6192
- addressType: "DOMESTIC";
6193
- province: string;
6194
- urbanOrRural: "RURAL";
6195
- village?: string | null | undefined;
6196
- } | {
6197
- country: string;
6198
- state: string;
6199
- addressType: "INTERNATIONAL";
6200
- district2: string;
6201
- cityOrTown?: string | null | undefined;
6202
- addressLine1?: string | null | undefined;
6203
- addressLine2?: string | null | undefined;
6204
- addressLine3?: string | null | undefined;
6205
- postcodeOrZip?: string | null | undefined;
6206
- } | {
6207
- type: string;
6208
- option: string;
6209
- filename: string;
6210
- originalFilename: string;
6211
- }[] | undefined> | undefined;
6212
- originalActionId?: string | undefined;
6213
- } | {
6214
- type: "UNASSIGN";
6215
- id: string;
6216
- status: "Rejected" | "Requested" | "Accepted";
6217
- createdAt: string;
6218
- createdBy: string;
6219
- declaration: Record<string, string | number | boolean | {
6220
- type: string;
6221
- filename: string;
6222
- originalFilename: string;
6223
- } | {
6224
- country: string;
6225
- district: string;
6226
- addressType: "DOMESTIC";
6227
- province: string;
6228
- urbanOrRural: "URBAN";
6229
- number?: string | null | undefined;
6230
- town?: string | null | undefined;
6231
- residentialArea?: string | null | undefined;
6232
- street?: string | null | undefined;
6233
- zipCode?: string | null | undefined;
6234
- } | {
6235
- country: string;
6236
- district: string;
6237
- addressType: "DOMESTIC";
6238
- province: string;
6239
- urbanOrRural: "RURAL";
6240
- village?: string | null | undefined;
6241
- } | {
6242
- country: string;
6243
- state: string;
6244
- addressType: "INTERNATIONAL";
6245
- district2: string;
6246
- cityOrTown?: string | null | undefined;
6247
- addressLine1?: string | null | undefined;
6248
- addressLine2?: string | null | undefined;
6249
- addressLine3?: string | null | undefined;
6250
- postcodeOrZip?: string | null | undefined;
6251
- } | {
6252
- type: string;
6253
- option: string;
6254
- filename: string;
6255
- originalFilename: string;
6256
- }[] | undefined>;
6257
- createdAtLocation: string;
6258
- annotation?: Record<string, string | number | boolean | {
6259
- type: string;
6260
- filename: string;
6261
- originalFilename: string;
6262
- } | {
6263
- country: string;
6264
- district: string;
6265
- addressType: "DOMESTIC";
6266
- province: string;
6267
- urbanOrRural: "URBAN";
6268
- number?: string | null | undefined;
6269
- town?: string | null | undefined;
6270
- residentialArea?: string | null | undefined;
6271
- street?: string | null | undefined;
6272
- zipCode?: string | null | undefined;
6273
- } | {
6274
- country: string;
6275
- district: string;
6276
- addressType: "DOMESTIC";
6277
- province: string;
6278
- urbanOrRural: "RURAL";
6279
- village?: string | null | undefined;
6280
- } | {
6281
- country: string;
6282
- state: string;
6283
- addressType: "INTERNATIONAL";
6284
- district2: string;
6285
- cityOrTown?: string | null | undefined;
6286
- addressLine1?: string | null | undefined;
6287
- addressLine2?: string | null | undefined;
6288
- addressLine3?: string | null | undefined;
6289
- postcodeOrZip?: string | null | undefined;
6290
- } | {
6291
- type: string;
6292
- option: string;
6293
- filename: string;
6294
- originalFilename: string;
6295
- }[] | undefined> | undefined;
6296
- originalActionId?: string | undefined;
6297
- } | {
6298
- type: "REGISTER";
6299
- id: string;
6300
- status: "Rejected" | "Requested" | "Accepted";
6301
- createdAt: string;
6302
- createdBy: string;
6303
- declaration: Record<string, string | number | boolean | {
6304
- type: string;
6305
- filename: string;
6306
- originalFilename: string;
6307
- } | {
6308
- country: string;
6309
- district: string;
6310
- addressType: "DOMESTIC";
6311
- province: string;
6312
- urbanOrRural: "URBAN";
6313
- number?: string | null | undefined;
6314
- town?: string | null | undefined;
6315
- residentialArea?: string | null | undefined;
6316
- street?: string | null | undefined;
6317
- zipCode?: string | null | undefined;
6318
- } | {
6319
- country: string;
6320
- district: string;
6321
- addressType: "DOMESTIC";
6322
- province: string;
6323
- urbanOrRural: "RURAL";
6324
- village?: string | null | undefined;
6325
- } | {
6326
- country: string;
6327
- state: string;
6328
- addressType: "INTERNATIONAL";
6329
- district2: string;
6330
- cityOrTown?: string | null | undefined;
6331
- addressLine1?: string | null | undefined;
6332
- addressLine2?: string | null | undefined;
6333
- addressLine3?: string | null | undefined;
6334
- postcodeOrZip?: string | null | undefined;
6335
- } | {
6336
- type: string;
6337
- option: string;
6338
- filename: string;
6339
- originalFilename: string;
6340
- }[] | undefined>;
6341
- createdAtLocation: string;
6342
- annotation?: Record<string, string | number | boolean | {
6343
- type: string;
6344
- filename: string;
6345
- originalFilename: string;
6346
- } | {
6347
- country: string;
6348
- district: string;
6349
- addressType: "DOMESTIC";
6350
- province: string;
6351
- urbanOrRural: "URBAN";
6352
- number?: string | null | undefined;
6353
- town?: string | null | undefined;
6354
- residentialArea?: string | null | undefined;
6355
- street?: string | null | undefined;
6356
- zipCode?: string | null | undefined;
6357
- } | {
6358
- country: string;
6359
- district: string;
6360
- addressType: "DOMESTIC";
6361
- province: string;
6362
- urbanOrRural: "RURAL";
6363
- village?: string | null | undefined;
6364
- } | {
6365
- country: string;
6366
- state: string;
6367
- addressType: "INTERNATIONAL";
6368
- district2: string;
6369
- cityOrTown?: string | null | undefined;
6370
- addressLine1?: string | null | undefined;
6371
- addressLine2?: string | null | undefined;
6372
- addressLine3?: string | null | undefined;
6373
- postcodeOrZip?: string | null | undefined;
6374
- } | {
6375
- type: string;
6376
- option: string;
6377
- filename: string;
6378
- originalFilename: string;
6379
- }[] | undefined> | undefined;
6380
- originalActionId?: string | undefined;
6381
- registrationNumber?: string | undefined;
6382
- } | {
6383
- type: "DECLARE";
6384
- id: string;
6385
- status: "Rejected" | "Requested" | "Accepted";
6386
- createdAt: string;
6387
- createdBy: string;
6388
- declaration: Record<string, string | number | boolean | {
6389
- type: string;
6390
- filename: string;
6391
- originalFilename: string;
6392
- } | {
6393
- country: string;
6394
- district: string;
6395
- addressType: "DOMESTIC";
6396
- province: string;
6397
- urbanOrRural: "URBAN";
6398
- number?: string | null | undefined;
6399
- town?: string | null | undefined;
6400
- residentialArea?: string | null | undefined;
6401
- street?: string | null | undefined;
6402
- zipCode?: string | null | undefined;
6403
- } | {
6404
- country: string;
6405
- district: string;
6406
- addressType: "DOMESTIC";
6407
- province: string;
6408
- urbanOrRural: "RURAL";
6409
- village?: string | null | undefined;
6410
- } | {
6411
- country: string;
6412
- state: string;
6413
- addressType: "INTERNATIONAL";
6414
- district2: string;
6415
- cityOrTown?: string | null | undefined;
6416
- addressLine1?: string | null | undefined;
6417
- addressLine2?: string | null | undefined;
6418
- addressLine3?: string | null | undefined;
6419
- postcodeOrZip?: string | null | undefined;
6420
- } | {
6421
- type: string;
6422
- option: string;
6423
- filename: string;
6424
- originalFilename: string;
6425
- }[] | undefined>;
6426
- createdAtLocation: string;
6427
- annotation?: Record<string, string | number | boolean | {
6428
- type: string;
6429
- filename: string;
6430
- originalFilename: string;
6431
- } | {
6432
- country: string;
6433
- district: string;
6434
- addressType: "DOMESTIC";
6435
- province: string;
6436
- urbanOrRural: "URBAN";
6437
- number?: string | null | undefined;
6438
- town?: string | null | undefined;
6439
- residentialArea?: string | null | undefined;
6440
- street?: string | null | undefined;
6441
- zipCode?: string | null | undefined;
6442
- } | {
6443
- country: string;
6444
- district: string;
6445
- addressType: "DOMESTIC";
6446
- province: string;
6447
- urbanOrRural: "RURAL";
6448
- village?: string | null | undefined;
6449
- } | {
6450
- country: string;
6451
- state: string;
6452
- addressType: "INTERNATIONAL";
6453
- district2: string;
6454
- cityOrTown?: string | null | undefined;
6455
- addressLine1?: string | null | undefined;
6456
- addressLine2?: string | null | undefined;
6457
- addressLine3?: string | null | undefined;
6458
- postcodeOrZip?: string | null | undefined;
6459
- } | {
6460
- type: string;
6461
- option: string;
6462
- filename: string;
6463
- originalFilename: string;
6464
- }[] | undefined> | undefined;
6465
- originalActionId?: string | undefined;
6466
- } | {
6467
- type: "VALIDATE";
6468
- id: string;
6469
- status: "Rejected" | "Requested" | "Accepted";
6470
- createdAt: string;
6471
- createdBy: string;
6472
- declaration: Record<string, string | number | boolean | {
6473
- type: string;
6474
- filename: string;
6475
- originalFilename: string;
6476
- } | {
6477
- country: string;
6478
- district: string;
6479
- addressType: "DOMESTIC";
6480
- province: string;
6481
- urbanOrRural: "URBAN";
6482
- number?: string | null | undefined;
6483
- town?: string | null | undefined;
6484
- residentialArea?: string | null | undefined;
6485
- street?: string | null | undefined;
6486
- zipCode?: string | null | undefined;
6487
- } | {
6488
- country: string;
6489
- district: string;
6490
- addressType: "DOMESTIC";
6491
- province: string;
6492
- urbanOrRural: "RURAL";
6493
- village?: string | null | undefined;
6494
- } | {
6495
- country: string;
6496
- state: string;
6497
- addressType: "INTERNATIONAL";
6498
- district2: string;
6499
- cityOrTown?: string | null | undefined;
6500
- addressLine1?: string | null | undefined;
6501
- addressLine2?: string | null | undefined;
6502
- addressLine3?: string | null | undefined;
6503
- postcodeOrZip?: string | null | undefined;
6504
- } | {
6505
- type: string;
6506
- option: string;
6507
- filename: string;
6508
- originalFilename: string;
6509
- }[] | undefined>;
6510
- createdAtLocation: string;
6511
- annotation?: Record<string, string | number | boolean | {
6512
- type: string;
6513
- filename: string;
6514
- originalFilename: string;
6515
- } | {
6516
- country: string;
6517
- district: string;
6518
- addressType: "DOMESTIC";
6519
- province: string;
6520
- urbanOrRural: "URBAN";
6521
- number?: string | null | undefined;
6522
- town?: string | null | undefined;
6523
- residentialArea?: string | null | undefined;
6524
- street?: string | null | undefined;
6525
- zipCode?: string | null | undefined;
6526
- } | {
6527
- country: string;
6528
- district: string;
6529
- addressType: "DOMESTIC";
6530
- province: string;
6531
- urbanOrRural: "RURAL";
6532
- village?: string | null | undefined;
6533
- } | {
6534
- country: string;
6535
- state: string;
6536
- addressType: "INTERNATIONAL";
6537
- district2: string;
6538
- cityOrTown?: string | null | undefined;
6539
- addressLine1?: string | null | undefined;
6540
- addressLine2?: string | null | undefined;
6541
- addressLine3?: string | null | undefined;
6542
- postcodeOrZip?: string | null | undefined;
6543
- } | {
6544
- type: string;
6545
- option: string;
6546
- filename: string;
6547
- originalFilename: string;
6548
- }[] | undefined> | undefined;
6549
- originalActionId?: string | undefined;
6550
- } | {
6551
- type: "REJECT";
6552
- id: string;
6553
- status: "Rejected" | "Requested" | "Accepted";
6554
- createdAt: string;
6555
- createdBy: string;
6556
- declaration: Record<string, string | number | boolean | {
6557
- type: string;
6558
- filename: string;
6559
- originalFilename: string;
6560
- } | {
6561
- country: string;
6562
- district: string;
6563
- addressType: "DOMESTIC";
6564
- province: string;
6565
- urbanOrRural: "URBAN";
6566
- number?: string | null | undefined;
6567
- town?: string | null | undefined;
6568
- residentialArea?: string | null | undefined;
6569
- street?: string | null | undefined;
6570
- zipCode?: string | null | undefined;
6571
- } | {
6572
- country: string;
6573
- district: string;
6574
- addressType: "DOMESTIC";
6575
- province: string;
6576
- urbanOrRural: "RURAL";
6577
- village?: string | null | undefined;
6578
- } | {
6579
- country: string;
6580
- state: string;
6581
- addressType: "INTERNATIONAL";
6582
- district2: string;
6583
- cityOrTown?: string | null | undefined;
6584
- addressLine1?: string | null | undefined;
6585
- addressLine2?: string | null | undefined;
6586
- addressLine3?: string | null | undefined;
6587
- postcodeOrZip?: string | null | undefined;
6588
- } | {
6589
- type: string;
6590
- option: string;
6591
- filename: string;
6592
- originalFilename: string;
6593
- }[] | undefined>;
6594
- createdAtLocation: string;
6595
- annotation?: Record<string, string | number | boolean | {
6596
- type: string;
6597
- filename: string;
6598
- originalFilename: string;
6599
- } | {
6600
- country: string;
6601
- district: string;
6602
- addressType: "DOMESTIC";
6603
- province: string;
6604
- urbanOrRural: "URBAN";
6605
- number?: string | null | undefined;
6606
- town?: string | null | undefined;
6607
- residentialArea?: string | null | undefined;
6608
- street?: string | null | undefined;
6609
- zipCode?: string | null | undefined;
6610
- } | {
6611
- country: string;
6612
- district: string;
6613
- addressType: "DOMESTIC";
6614
- province: string;
6615
- urbanOrRural: "RURAL";
6616
- village?: string | null | undefined;
6617
- } | {
6618
- country: string;
6619
- state: string;
6620
- addressType: "INTERNATIONAL";
6621
- district2: string;
6622
- cityOrTown?: string | null | undefined;
6623
- addressLine1?: string | null | undefined;
6624
- addressLine2?: string | null | undefined;
6625
- addressLine3?: string | null | undefined;
6626
- postcodeOrZip?: string | null | undefined;
6627
- } | {
6628
- type: string;
6629
- option: string;
6630
- filename: string;
6631
- originalFilename: string;
6632
- }[] | undefined> | undefined;
6633
- originalActionId?: string | undefined;
6634
- } | {
6635
- type: "MARKED_AS_DUPLICATE";
6636
- id: string;
6637
- status: "Rejected" | "Requested" | "Accepted";
6638
- createdAt: string;
6639
- createdBy: string;
6640
- declaration: Record<string, string | number | boolean | {
6641
- type: string;
6642
- filename: string;
6643
- originalFilename: string;
6644
- } | {
6645
- country: string;
6646
- district: string;
6647
- addressType: "DOMESTIC";
6648
- province: string;
6649
- urbanOrRural: "URBAN";
6650
- number?: string | null | undefined;
6651
- town?: string | null | undefined;
6652
- residentialArea?: string | null | undefined;
6653
- street?: string | null | undefined;
6654
- zipCode?: string | null | undefined;
6655
- } | {
6656
- country: string;
6657
- district: string;
6658
- addressType: "DOMESTIC";
6659
- province: string;
6660
- urbanOrRural: "RURAL";
6661
- village?: string | null | undefined;
6662
- } | {
6663
- country: string;
6664
- state: string;
6665
- addressType: "INTERNATIONAL";
6666
- district2: string;
6667
- cityOrTown?: string | null | undefined;
6668
- addressLine1?: string | null | undefined;
6669
- addressLine2?: string | null | undefined;
6670
- addressLine3?: string | null | undefined;
6671
- postcodeOrZip?: string | null | undefined;
6672
- } | {
6673
- type: string;
6674
- option: string;
6675
- filename: string;
6676
- originalFilename: string;
6677
- }[] | undefined>;
6678
- createdAtLocation: string;
6679
- annotation?: Record<string, string | number | boolean | {
6680
- type: string;
6681
- filename: string;
6682
- originalFilename: string;
6683
- } | {
6684
- country: string;
6685
- district: string;
6686
- addressType: "DOMESTIC";
6687
- province: string;
6688
- urbanOrRural: "URBAN";
6689
- number?: string | null | undefined;
6690
- town?: string | null | undefined;
6691
- residentialArea?: string | null | undefined;
6692
- street?: string | null | undefined;
6693
- zipCode?: string | null | undefined;
6694
- } | {
6695
- country: string;
6696
- district: string;
6697
- addressType: "DOMESTIC";
6698
- province: string;
6699
- urbanOrRural: "RURAL";
6700
- village?: string | null | undefined;
6701
- } | {
6702
- country: string;
6703
- state: string;
6704
- addressType: "INTERNATIONAL";
6705
- district2: string;
6706
- cityOrTown?: string | null | undefined;
6707
- addressLine1?: string | null | undefined;
6708
- addressLine2?: string | null | undefined;
6709
- addressLine3?: string | null | undefined;
6710
- postcodeOrZip?: string | null | undefined;
6711
- } | {
6712
- type: string;
6713
- option: string;
6714
- filename: string;
6715
- originalFilename: string;
6716
- }[] | undefined> | undefined;
6717
- originalActionId?: string | undefined;
6718
- } | {
6719
- type: "ARCHIVE";
6720
- id: string;
6721
- status: "Rejected" | "Requested" | "Accepted";
6722
- createdAt: string;
6723
- createdBy: string;
6724
- declaration: Record<string, string | number | boolean | {
6725
- type: string;
6726
- filename: string;
6727
- originalFilename: string;
6728
- } | {
6729
- country: string;
6730
- district: string;
6731
- addressType: "DOMESTIC";
6732
- province: string;
6733
- urbanOrRural: "URBAN";
6734
- number?: string | null | undefined;
6735
- town?: string | null | undefined;
6736
- residentialArea?: string | null | undefined;
6737
- street?: string | null | undefined;
6738
- zipCode?: string | null | undefined;
6739
- } | {
6740
- country: string;
6741
- district: string;
6742
- addressType: "DOMESTIC";
6743
- province: string;
6744
- urbanOrRural: "RURAL";
6745
- village?: string | null | undefined;
6746
- } | {
6747
- country: string;
6748
- state: string;
6749
- addressType: "INTERNATIONAL";
6750
- district2: string;
6751
- cityOrTown?: string | null | undefined;
6752
- addressLine1?: string | null | undefined;
6753
- addressLine2?: string | null | undefined;
6754
- addressLine3?: string | null | undefined;
6755
- postcodeOrZip?: string | null | undefined;
6756
- } | {
6757
- type: string;
6758
- option: string;
6759
- filename: string;
6760
- originalFilename: string;
6761
- }[] | undefined>;
6762
- createdAtLocation: string;
6763
- annotation?: Record<string, string | number | boolean | {
6764
- type: string;
6765
- filename: string;
6766
- originalFilename: string;
6767
- } | {
6768
- country: string;
6769
- district: string;
6770
- addressType: "DOMESTIC";
6771
- province: string;
6772
- urbanOrRural: "URBAN";
6773
- number?: string | null | undefined;
6774
- town?: string | null | undefined;
6775
- residentialArea?: string | null | undefined;
6776
- street?: string | null | undefined;
6777
- zipCode?: string | null | undefined;
6778
- } | {
6779
- country: string;
6780
- district: string;
6781
- addressType: "DOMESTIC";
6782
- province: string;
6783
- urbanOrRural: "RURAL";
6784
- village?: string | null | undefined;
6785
- } | {
6786
- country: string;
6787
- state: string;
6788
- addressType: "INTERNATIONAL";
6789
- district2: string;
6790
- cityOrTown?: string | null | undefined;
6791
- addressLine1?: string | null | undefined;
6792
- addressLine2?: string | null | undefined;
6793
- addressLine3?: string | null | undefined;
6794
- postcodeOrZip?: string | null | undefined;
6795
- } | {
6796
- type: string;
6797
- option: string;
6798
- filename: string;
6799
- originalFilename: string;
6800
- }[] | undefined> | undefined;
6801
- originalActionId?: string | undefined;
6802
- } | {
6803
- type: "CREATE";
6804
- id: string;
6805
- status: "Rejected" | "Requested" | "Accepted";
6806
- createdAt: string;
6807
- createdBy: string;
6808
- declaration: Record<string, string | number | boolean | {
6809
- type: string;
6810
- filename: string;
6811
- originalFilename: string;
6812
- } | {
6813
- country: string;
6814
- district: string;
6815
- addressType: "DOMESTIC";
6816
- province: string;
6817
- urbanOrRural: "URBAN";
6818
- number?: string | null | undefined;
6819
- town?: string | null | undefined;
6820
- residentialArea?: string | null | undefined;
6821
- street?: string | null | undefined;
6822
- zipCode?: string | null | undefined;
6823
- } | {
6824
- country: string;
6825
- district: string;
6826
- addressType: "DOMESTIC";
6827
- province: string;
6828
- urbanOrRural: "RURAL";
6829
- village?: string | null | undefined;
6830
- } | {
6831
- country: string;
6832
- state: string;
6833
- addressType: "INTERNATIONAL";
6834
- district2: string;
6835
- cityOrTown?: string | null | undefined;
6836
- addressLine1?: string | null | undefined;
6837
- addressLine2?: string | null | undefined;
6838
- addressLine3?: string | null | undefined;
6839
- postcodeOrZip?: string | null | undefined;
6840
- } | {
6841
- type: string;
6842
- option: string;
6843
- filename: string;
6844
- originalFilename: string;
6845
- }[] | undefined>;
6846
- createdAtLocation: string;
6847
- annotation?: Record<string, string | number | boolean | {
6848
- type: string;
6849
- filename: string;
6850
- originalFilename: string;
6851
- } | {
6852
- country: string;
6853
- district: string;
6854
- addressType: "DOMESTIC";
6855
- province: string;
6856
- urbanOrRural: "URBAN";
6857
- number?: string | null | undefined;
6858
- town?: string | null | undefined;
6859
- residentialArea?: string | null | undefined;
6860
- street?: string | null | undefined;
6861
- zipCode?: string | null | undefined;
6862
- } | {
6863
- country: string;
6864
- district: string;
6865
- addressType: "DOMESTIC";
6866
- province: string;
6867
- urbanOrRural: "RURAL";
6868
- village?: string | null | undefined;
6869
- } | {
6870
- country: string;
6871
- state: string;
6872
- addressType: "INTERNATIONAL";
6873
- district2: string;
6874
- cityOrTown?: string | null | undefined;
6875
- addressLine1?: string | null | undefined;
6876
- addressLine2?: string | null | undefined;
6877
- addressLine3?: string | null | undefined;
6878
- postcodeOrZip?: string | null | undefined;
6879
- } | {
6880
- type: string;
6881
- option: string;
6882
- filename: string;
6883
- originalFilename: string;
6884
- }[] | undefined> | undefined;
6885
- originalActionId?: string | undefined;
6886
- } | {
6887
- type: "NOTIFY";
6888
- id: string;
6889
- status: "Rejected" | "Requested" | "Accepted";
6890
- createdAt: string;
6891
- createdBy: string;
6892
- declaration: Record<string, string | number | boolean | {
6893
- type: string;
6894
- filename: string;
6895
- originalFilename: string;
6896
- } | {
6897
- country: string;
6898
- district: string;
6899
- addressType: "DOMESTIC";
6900
- province: string;
6901
- urbanOrRural: "URBAN";
6902
- number?: string | null | undefined;
6903
- town?: string | null | undefined;
6904
- residentialArea?: string | null | undefined;
6905
- street?: string | null | undefined;
6906
- zipCode?: string | null | undefined;
6907
- } | {
6908
- country: string;
6909
- district: string;
6910
- addressType: "DOMESTIC";
6911
- province: string;
6912
- urbanOrRural: "RURAL";
6913
- village?: string | null | undefined;
6914
- } | {
6915
- country: string;
6916
- state: string;
6917
- addressType: "INTERNATIONAL";
6918
- district2: string;
6919
- cityOrTown?: string | null | undefined;
6920
- addressLine1?: string | null | undefined;
6921
- addressLine2?: string | null | undefined;
6922
- addressLine3?: string | null | undefined;
6923
- postcodeOrZip?: string | null | undefined;
6924
- } | {
6925
- type: string;
6926
- option: string;
6927
- filename: string;
6928
- originalFilename: string;
6929
- }[] | undefined>;
6930
- createdAtLocation: string;
6931
- annotation?: Record<string, string | number | boolean | {
6932
- type: string;
6933
- filename: string;
6934
- originalFilename: string;
6935
- } | {
6936
- country: string;
6937
- district: string;
6938
- addressType: "DOMESTIC";
6939
- province: string;
6940
- urbanOrRural: "URBAN";
6941
- number?: string | null | undefined;
6942
- town?: string | null | undefined;
6943
- residentialArea?: string | null | undefined;
6944
- street?: string | null | undefined;
6945
- zipCode?: string | null | undefined;
6946
- } | {
6947
- country: string;
6948
- district: string;
6949
- addressType: "DOMESTIC";
6950
- province: string;
6951
- urbanOrRural: "RURAL";
6952
- village?: string | null | undefined;
6953
- } | {
6954
- country: string;
6955
- state: string;
6956
- addressType: "INTERNATIONAL";
6957
- district2: string;
6958
- cityOrTown?: string | null | undefined;
6959
- addressLine1?: string | null | undefined;
6960
- addressLine2?: string | null | undefined;
6961
- addressLine3?: string | null | undefined;
6962
- postcodeOrZip?: string | null | undefined;
6963
- } | {
6964
- type: string;
6965
- option: string;
6966
- filename: string;
6967
- originalFilename: string;
6968
- }[] | undefined> | undefined;
6969
- originalActionId?: string | undefined;
6970
- } | {
6971
- type: "PRINT_CERTIFICATE";
6972
- id: string;
6973
- status: "Rejected" | "Requested" | "Accepted";
6974
- createdAt: string;
6975
- createdBy: string;
6976
- declaration: Record<string, string | number | boolean | {
6977
- type: string;
6978
- filename: string;
6979
- originalFilename: string;
6980
- } | {
6981
- country: string;
6982
- district: string;
6983
- addressType: "DOMESTIC";
6984
- province: string;
6985
- urbanOrRural: "URBAN";
6986
- number?: string | null | undefined;
6987
- town?: string | null | undefined;
6988
- residentialArea?: string | null | undefined;
6989
- street?: string | null | undefined;
6990
- zipCode?: string | null | undefined;
6991
- } | {
6992
- country: string;
6993
- district: string;
6994
- addressType: "DOMESTIC";
6995
- province: string;
6996
- urbanOrRural: "RURAL";
6997
- village?: string | null | undefined;
6998
- } | {
6999
- country: string;
7000
- state: string;
7001
- addressType: "INTERNATIONAL";
7002
- district2: string;
7003
- cityOrTown?: string | null | undefined;
7004
- addressLine1?: string | null | undefined;
7005
- addressLine2?: string | null | undefined;
7006
- addressLine3?: string | null | undefined;
7007
- postcodeOrZip?: string | null | undefined;
7008
- } | {
7009
- type: string;
7010
- option: string;
7011
- filename: string;
7012
- originalFilename: string;
7013
- }[] | undefined>;
7014
- createdAtLocation: string;
7015
- annotation?: Record<string, string | number | boolean | {
7016
- type: string;
7017
- filename: string;
7018
- originalFilename: string;
7019
- } | {
7020
- country: string;
7021
- district: string;
7022
- addressType: "DOMESTIC";
7023
- province: string;
7024
- urbanOrRural: "URBAN";
7025
- number?: string | null | undefined;
7026
- town?: string | null | undefined;
7027
- residentialArea?: string | null | undefined;
7028
- street?: string | null | undefined;
7029
- zipCode?: string | null | undefined;
7030
- } | {
7031
- country: string;
7032
- district: string;
7033
- addressType: "DOMESTIC";
7034
- province: string;
7035
- urbanOrRural: "RURAL";
7036
- village?: string | null | undefined;
7037
- } | {
7038
- country: string;
7039
- state: string;
7040
- addressType: "INTERNATIONAL";
7041
- district2: string;
7042
- cityOrTown?: string | null | undefined;
7043
- addressLine1?: string | null | undefined;
7044
- addressLine2?: string | null | undefined;
7045
- addressLine3?: string | null | undefined;
7046
- postcodeOrZip?: string | null | undefined;
7047
- } | {
7048
- type: string;
7049
- option: string;
7050
- filename: string;
7051
- originalFilename: string;
7052
- }[] | undefined> | undefined;
7053
- originalActionId?: string | undefined;
7054
- } | {
7055
- type: "REQUEST_CORRECTION";
7056
- id: string;
7057
- status: "Rejected" | "Requested" | "Accepted";
7058
- createdAt: string;
7059
- createdBy: string;
7060
- declaration: Record<string, string | number | boolean | {
7061
- type: string;
7062
- filename: string;
7063
- originalFilename: string;
7064
- } | {
7065
- country: string;
7066
- district: string;
7067
- addressType: "DOMESTIC";
7068
- province: string;
7069
- urbanOrRural: "URBAN";
7070
- number?: string | null | undefined;
7071
- town?: string | null | undefined;
7072
- residentialArea?: string | null | undefined;
7073
- street?: string | null | undefined;
7074
- zipCode?: string | null | undefined;
7075
- } | {
7076
- country: string;
7077
- district: string;
7078
- addressType: "DOMESTIC";
7079
- province: string;
7080
- urbanOrRural: "RURAL";
7081
- village?: string | null | undefined;
7082
- } | {
7083
- country: string;
7084
- state: string;
7085
- addressType: "INTERNATIONAL";
7086
- district2: string;
7087
- cityOrTown?: string | null | undefined;
7088
- addressLine1?: string | null | undefined;
7089
- addressLine2?: string | null | undefined;
7090
- addressLine3?: string | null | undefined;
7091
- postcodeOrZip?: string | null | undefined;
7092
- } | {
7093
- type: string;
7094
- option: string;
7095
- filename: string;
7096
- originalFilename: string;
7097
- }[] | undefined>;
7098
- createdAtLocation: string;
7099
- annotation?: Record<string, string | number | boolean | {
7100
- type: string;
7101
- filename: string;
7102
- originalFilename: string;
7103
- } | {
7104
- country: string;
7105
- district: string;
7106
- addressType: "DOMESTIC";
7107
- province: string;
7108
- urbanOrRural: "URBAN";
7109
- number?: string | null | undefined;
7110
- town?: string | null | undefined;
7111
- residentialArea?: string | null | undefined;
7112
- street?: string | null | undefined;
7113
- zipCode?: string | null | undefined;
7114
- } | {
7115
- country: string;
7116
- district: string;
7117
- addressType: "DOMESTIC";
7118
- province: string;
7119
- urbanOrRural: "RURAL";
7120
- village?: string | null | undefined;
7121
- } | {
7122
- country: string;
7123
- state: string;
7124
- addressType: "INTERNATIONAL";
7125
- district2: string;
7126
- cityOrTown?: string | null | undefined;
7127
- addressLine1?: string | null | undefined;
7128
- addressLine2?: string | null | undefined;
7129
- addressLine3?: string | null | undefined;
7130
- postcodeOrZip?: string | null | undefined;
7131
- } | {
7132
- type: string;
7133
- option: string;
7134
- filename: string;
7135
- originalFilename: string;
7136
- }[] | undefined> | undefined;
7137
- originalActionId?: string | undefined;
7138
- } | {
7139
- type: "APPROVE_CORRECTION";
7140
- id: string;
7141
- status: "Rejected" | "Requested" | "Accepted";
7142
- createdAt: string;
7143
- createdBy: string;
7144
- declaration: Record<string, string | number | boolean | {
7145
- type: string;
7146
- filename: string;
7147
- originalFilename: string;
7148
- } | {
7149
- country: string;
7150
- district: string;
7151
- addressType: "DOMESTIC";
7152
- province: string;
7153
- urbanOrRural: "URBAN";
7154
- number?: string | null | undefined;
7155
- town?: string | null | undefined;
7156
- residentialArea?: string | null | undefined;
7157
- street?: string | null | undefined;
7158
- zipCode?: string | null | undefined;
7159
- } | {
7160
- country: string;
7161
- district: string;
7162
- addressType: "DOMESTIC";
7163
- province: string;
7164
- urbanOrRural: "RURAL";
7165
- village?: string | null | undefined;
7166
- } | {
7167
- country: string;
7168
- state: string;
7169
- addressType: "INTERNATIONAL";
7170
- district2: string;
7171
- cityOrTown?: string | null | undefined;
7172
- addressLine1?: string | null | undefined;
7173
- addressLine2?: string | null | undefined;
7174
- addressLine3?: string | null | undefined;
7175
- postcodeOrZip?: string | null | undefined;
7176
- } | {
7177
- type: string;
7178
- option: string;
7179
- filename: string;
7180
- originalFilename: string;
7181
- }[] | undefined>;
7182
- createdAtLocation: string;
7183
- requestId: string;
7184
- annotation?: Record<string, string | number | boolean | {
7185
- type: string;
7186
- filename: string;
7187
- originalFilename: string;
7188
- } | {
7189
- country: string;
7190
- district: string;
7191
- addressType: "DOMESTIC";
7192
- province: string;
7193
- urbanOrRural: "URBAN";
7194
- number?: string | null | undefined;
7195
- town?: string | null | undefined;
7196
- residentialArea?: string | null | undefined;
7197
- street?: string | null | undefined;
7198
- zipCode?: string | null | undefined;
7199
- } | {
7200
- country: string;
7201
- district: string;
7202
- addressType: "DOMESTIC";
7203
- province: string;
7204
- urbanOrRural: "RURAL";
7205
- village?: string | null | undefined;
7206
- } | {
7207
- country: string;
7208
- state: string;
7209
- addressType: "INTERNATIONAL";
7210
- district2: string;
7211
- cityOrTown?: string | null | undefined;
7212
- addressLine1?: string | null | undefined;
7213
- addressLine2?: string | null | undefined;
7214
- addressLine3?: string | null | undefined;
7215
- postcodeOrZip?: string | null | undefined;
7216
- } | {
7217
- type: string;
7218
- option: string;
7219
- filename: string;
7220
- originalFilename: string;
7221
- }[] | undefined> | undefined;
7222
- originalActionId?: string | undefined;
7223
- } | {
7224
- type: "REJECT_CORRECTION";
7225
- id: string;
7226
- status: "Rejected" | "Requested" | "Accepted";
7227
- createdAt: string;
7228
- createdBy: string;
7229
- declaration: Record<string, string | number | boolean | {
7230
- type: string;
7231
- filename: string;
7232
- originalFilename: string;
7233
- } | {
7234
- country: string;
7235
- district: string;
7236
- addressType: "DOMESTIC";
7237
- province: string;
7238
- urbanOrRural: "URBAN";
7239
- number?: string | null | undefined;
7240
- town?: string | null | undefined;
7241
- residentialArea?: string | null | undefined;
7242
- street?: string | null | undefined;
7243
- zipCode?: string | null | undefined;
7244
- } | {
7245
- country: string;
7246
- district: string;
7247
- addressType: "DOMESTIC";
7248
- province: string;
7249
- urbanOrRural: "RURAL";
7250
- village?: string | null | undefined;
7251
- } | {
7252
- country: string;
7253
- state: string;
7254
- addressType: "INTERNATIONAL";
7255
- district2: string;
7256
- cityOrTown?: string | null | undefined;
7257
- addressLine1?: string | null | undefined;
7258
- addressLine2?: string | null | undefined;
7259
- addressLine3?: string | null | undefined;
7260
- postcodeOrZip?: string | null | undefined;
7261
- } | {
7262
- type: string;
7263
- option: string;
7264
- filename: string;
7265
- originalFilename: string;
7266
- }[] | undefined>;
7267
- createdAtLocation: string;
7268
- requestId: string;
7269
- annotation?: Record<string, string | number | boolean | {
7270
- type: string;
7271
- filename: string;
7272
- originalFilename: string;
7273
- } | {
7274
- country: string;
7275
- district: string;
7276
- addressType: "DOMESTIC";
7277
- province: string;
7278
- urbanOrRural: "URBAN";
7279
- number?: string | null | undefined;
7280
- town?: string | null | undefined;
7281
- residentialArea?: string | null | undefined;
7282
- street?: string | null | undefined;
7283
- zipCode?: string | null | undefined;
7284
- } | {
7285
- country: string;
7286
- district: string;
7287
- addressType: "DOMESTIC";
7288
- province: string;
7289
- urbanOrRural: "RURAL";
7290
- village?: string | null | undefined;
7291
- } | {
7292
- country: string;
7293
- state: string;
7294
- addressType: "INTERNATIONAL";
7295
- district2: string;
7296
- cityOrTown?: string | null | undefined;
7297
- addressLine1?: string | null | undefined;
7298
- addressLine2?: string | null | undefined;
7299
- addressLine3?: string | null | undefined;
7300
- postcodeOrZip?: string | null | undefined;
7301
- } | {
7302
- type: string;
7303
- option: string;
7304
- filename: string;
7305
- originalFilename: string;
7306
- }[] | undefined> | undefined;
7307
- originalActionId?: string | undefined;
7308
- } | {
7309
- type: "READ";
7310
- id: string;
7311
- status: "Rejected" | "Requested" | "Accepted";
7312
- createdAt: string;
7313
- createdBy: string;
7314
- declaration: Record<string, string | number | boolean | {
7315
- type: string;
7316
- filename: string;
7317
- originalFilename: string;
7318
- } | {
7319
- country: string;
7320
- district: string;
7321
- addressType: "DOMESTIC";
7322
- province: string;
7323
- urbanOrRural: "URBAN";
7324
- number?: string | null | undefined;
7325
- town?: string | null | undefined;
7326
- residentialArea?: string | null | undefined;
7327
- street?: string | null | undefined;
7328
- zipCode?: string | null | undefined;
7329
- } | {
7330
- country: string;
7331
- district: string;
7332
- addressType: "DOMESTIC";
7333
- province: string;
7334
- urbanOrRural: "RURAL";
7335
- village?: string | null | undefined;
7336
- } | {
7337
- country: string;
7338
- state: string;
7339
- addressType: "INTERNATIONAL";
7340
- district2: string;
7341
- cityOrTown?: string | null | undefined;
7342
- addressLine1?: string | null | undefined;
7343
- addressLine2?: string | null | undefined;
7344
- addressLine3?: string | null | undefined;
7345
- postcodeOrZip?: string | null | undefined;
7346
- } | {
7347
- type: string;
7348
- option: string;
7349
- filename: string;
7350
- originalFilename: string;
7351
- }[] | undefined>;
7352
- createdAtLocation: string;
7353
- annotation?: Record<string, string | number | boolean | {
7354
- type: string;
7355
- filename: string;
7356
- originalFilename: string;
7357
- } | {
7358
- country: string;
7359
- district: string;
7360
- addressType: "DOMESTIC";
7361
- province: string;
7362
- urbanOrRural: "URBAN";
7363
- number?: string | null | undefined;
7364
- town?: string | null | undefined;
7365
- residentialArea?: string | null | undefined;
7366
- street?: string | null | undefined;
7367
- zipCode?: string | null | undefined;
7368
- } | {
7369
- country: string;
7370
- district: string;
7371
- addressType: "DOMESTIC";
7372
- province: string;
7373
- urbanOrRural: "RURAL";
7374
- village?: string | null | undefined;
7375
- } | {
7376
- country: string;
7377
- state: string;
7378
- addressType: "INTERNATIONAL";
7379
- district2: string;
7380
- cityOrTown?: string | null | undefined;
7381
- addressLine1?: string | null | undefined;
7382
- addressLine2?: string | null | undefined;
7383
- addressLine3?: string | null | undefined;
7384
- postcodeOrZip?: string | null | undefined;
7385
- } | {
7386
- type: string;
7387
- option: string;
7388
- filename: string;
7389
- originalFilename: string;
7390
- }[] | undefined> | undefined;
7391
- originalActionId?: string | undefined;
7392
- } | {
7393
- type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7394
- id: string;
7395
- status: "Rejected";
7396
- createdAt: string;
7397
- originalActionId?: string | undefined;
7398
- })[];
7399
- trackingId: string;
7400
- };
6451
+ output: any;
7401
6452
  }>;
7402
6453
  }>>;
7403
6454
  }>>;
@@ -7411,7 +6462,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
7411
6462
  createdBy: string;
7412
6463
  declaration: Record<string, any>;
7413
6464
  createdAtLocation: string;
6465
+ updatedAtLocation: string;
7414
6466
  trackingId: string;
6467
+ updatedByUserRole: string;
7415
6468
  modifiedAt: string;
7416
6469
  updatedBy: string;
7417
6470
  assignedTo?: string | null | undefined;
@@ -7430,7 +6483,9 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
7430
6483
  createdBy: string;
7431
6484
  declaration: Record<string, any>;
7432
6485
  createdAtLocation: string;
6486
+ updatedAtLocation: string;
7433
6487
  trackingId: string;
6488
+ updatedByUserRole: string;
7434
6489
  modifiedAt: string;
7435
6490
  updatedBy: string;
7436
6491
  assignedTo?: string | null | undefined;
@@ -7440,10 +6495,23 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
7440
6495
  }>>;
7441
6496
  user: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7442
6497
  ctx: import("./middleware").Context;
7443
- meta: object;
6498
+ meta: import("trpc-to-openapi").OpenApiMeta;
7444
6499
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7445
6500
  transformer: true;
7446
6501
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{
6502
+ get: import("@trpc/server").TRPCQueryProcedure<{
6503
+ input: string;
6504
+ output: {
6505
+ id: string;
6506
+ name: {
6507
+ use: string;
6508
+ given: string[];
6509
+ family: string;
6510
+ }[];
6511
+ role: string;
6512
+ signatureFilename: string | undefined;
6513
+ };
6514
+ }>;
7447
6515
  list: import("@trpc/server").TRPCQueryProcedure<{
7448
6516
  input: string[];
7449
6517
  output: {
@@ -7454,12 +6522,13 @@ export declare const appRouter: import("@trpc/server/unstable-core-do-not-import
7454
6522
  family: string;
7455
6523
  }[];
7456
6524
  role: string;
6525
+ signatureFilename: string | undefined;
7457
6526
  }[];
7458
6527
  }>;
7459
6528
  }>>;
7460
6529
  locations: import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{
7461
6530
  ctx: import("./middleware").Context;
7462
- meta: object;
6531
+ meta: import("trpc-to-openapi").OpenApiMeta;
7463
6532
  errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape;
7464
6533
  transformer: true;
7465
6534
  }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{