@opencrvs/toolkit 2.0.0-rc.1498d58 → 2.0.0-rc.14dd6ca

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.
Files changed (40) hide show
  1. package/build.sh +2 -2
  2. package/dist/application-config/index.js +5 -27
  3. package/dist/cli.js +5103 -167
  4. package/dist/commons/api/router.d.ts +68 -669
  5. package/dist/commons/conditionals/conditionals.d.ts +6 -6
  6. package/dist/commons/events/ActionConfig.d.ts +0 -202
  7. package/dist/commons/events/ActionDocument.d.ts +0 -44
  8. package/dist/commons/events/ActionInput.d.ts +0 -26
  9. package/dist/commons/events/ActionType.d.ts +1 -6
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +0 -18
  11. package/dist/commons/events/AuditLog.d.ts +0 -2
  12. package/dist/commons/events/Draft.d.ts +0 -2
  13. package/dist/commons/events/EventConfig.d.ts +0 -2
  14. package/dist/commons/events/EventDocument.d.ts +0 -22
  15. package/dist/commons/events/EventIndex.d.ts +0 -11
  16. package/dist/commons/events/EventMetadata.d.ts +0 -26
  17. package/dist/commons/events/FieldConfig.d.ts +0 -15
  18. package/dist/commons/events/WorkqueueConfig.d.ts +2 -5
  19. package/dist/commons/events/locations.d.ts +0 -1
  20. package/dist/commons/events/scopes.d.ts +0 -1
  21. package/dist/commons/events/state/index.d.ts +0 -8
  22. package/dist/commons/events/state/utils.d.ts +0 -9
  23. package/dist/commons/events/test.utils.d.ts +1 -9
  24. package/dist/commons/events/utils.d.ts +1 -15
  25. package/dist/conditionals/index.js +5 -12
  26. package/dist/events/index.js +23 -204
  27. package/dist/migrations/v2.0/index.js +5139 -88
  28. package/dist/notification/index.js +16 -146
  29. package/dist/scopes/index.d.ts +2 -96
  30. package/dist/scopes/index.js +5 -12
  31. package/opencrvs-toolkit-2.0.0-rc.14dd6ca.tgz +0 -0
  32. package/package.json +1 -1
  33. package/tsconfig.tsbuildinfo +1 -1
  34. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
  35. package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
  36. package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
  37. package/dist/migrations/v2.1/index.d.ts +0 -6
  38. package/dist/migrations/v2.1/index.d.ts.map +0 -1
  39. package/dist/migrations/v2.1/index.js +0 -218
  40. package/opencrvs-toolkit-2.0.0-rc.1498d58.tgz +0 -0
@@ -226,20 +226,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
226
226
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
227
227
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
228
228
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
229
- } | {
230
- id: string & import("zod").$brand<"UUID">;
231
- transactionId: string;
232
- createdByUserType: "system" | "user";
233
- createdAt: string;
234
- createdBy: string;
235
- declaration: Record<string, import("../commons").FieldUpdateValue>;
236
- status: "Requested" | "Accepted" | "Rejected";
237
- type: "UNARCHIVE";
238
- createdByRole?: string | undefined;
239
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
240
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
241
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
242
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
243
229
  } | {
244
230
  id: string & import("zod").$brand<"UUID">;
245
231
  transactionId: string;
@@ -431,7 +417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
431
417
  createdByUserType: "system" | "user";
432
418
  createdAt: string;
433
419
  createdBy: string;
434
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
420
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
435
421
  status: "Rejected";
436
422
  createdByRole?: string | undefined;
437
423
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -552,20 +538,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
552
538
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
553
539
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
554
540
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
555
- } | {
556
- id: string & import("zod").$brand<"UUID">;
557
- transactionId: string;
558
- createdByUserType: "system" | "user";
559
- createdAt: string;
560
- createdBy: string;
561
- declaration: Record<string, import("../commons").FieldUpdateValue>;
562
- status: "Requested" | "Accepted" | "Rejected";
563
- type: "UNARCHIVE";
564
- createdByRole?: string | undefined;
565
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
566
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
567
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
568
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
569
541
  } | {
570
542
  id: string & import("zod").$brand<"UUID">;
571
543
  transactionId: string;
@@ -757,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
757
729
  createdByUserType: "system" | "user";
758
730
  createdAt: string;
759
731
  createdBy: string;
760
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
732
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
761
733
  status: "Rejected";
762
734
  createdByRole?: string | undefined;
763
735
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -877,20 +849,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
877
849
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
878
850
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
879
851
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
880
- } | {
881
- id: string & import("zod").$brand<"UUID">;
882
- transactionId: string;
883
- createdByUserType: "system" | "user";
884
- createdAt: string;
885
- createdBy: string;
886
- declaration: Record<string, import("../commons").FieldUpdateValue>;
887
- status: "Requested" | "Accepted" | "Rejected";
888
- type: "UNARCHIVE";
889
- createdByRole?: string | undefined;
890
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
891
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
892
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
893
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
894
852
  } | {
895
853
  id: string & import("zod").$brand<"UUID">;
896
854
  transactionId: string;
@@ -1082,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1082
1040
  createdByUserType: "system" | "user";
1083
1041
  createdAt: string;
1084
1042
  createdBy: string;
1085
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1043
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1086
1044
  status: "Rejected";
1087
1045
  createdByRole?: string | undefined;
1088
1046
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -1132,7 +1090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1132
1090
  transactionId: string;
1133
1091
  createdAt: string;
1134
1092
  action: {
1135
- type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1093
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1136
1094
  transactionId: string;
1137
1095
  createdByUserType: "system" | "user";
1138
1096
  createdAt: string;
@@ -1151,7 +1109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1151
1109
  input: {
1152
1110
  transactionId: string;
1153
1111
  eventId: string;
1154
- type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1112
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1155
1113
  status: "Requested" | "Accepted" | "Rejected";
1156
1114
  createdAtLocation?: string | null | undefined;
1157
1115
  declaration?: Record<string, unknown> | undefined;
@@ -1167,7 +1125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1167
1125
  transactionId: string;
1168
1126
  createdAt: string;
1169
1127
  action: {
1170
- type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1128
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1171
1129
  transactionId: string;
1172
1130
  createdByUserType: "system" | "user";
1173
1131
  createdAt: string;
@@ -1357,18 +1315,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1357
1315
  waitFor?: boolean | undefined;
1358
1316
  createdAtLocation?: string | null | undefined;
1359
1317
  type?: "ARCHIVE" | undefined;
1360
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1361
- eventId: string;
1362
- transactionId: string;
1363
- declaration?: Record<string, unknown> | undefined;
1364
- annotation?: Record<string, unknown> | undefined;
1365
- originalActionId?: string | undefined;
1366
- keepAssignment?: boolean | undefined;
1367
- keepAssignmentIfAccepted?: boolean | undefined;
1368
- keepAssignmentIfRejected?: boolean | undefined;
1369
- waitFor?: boolean | undefined;
1370
- createdAtLocation?: string | null | undefined;
1371
- type?: "UNARCHIVE" | undefined;
1372
1318
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
1373
1319
  eventId: string;
1374
1320
  transactionId: string;
@@ -1651,20 +1597,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1651
1597
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1652
1598
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1653
1599
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1654
- } | {
1655
- id: string & import("zod").$brand<"UUID">;
1656
- transactionId: string;
1657
- createdByUserType: "system" | "user";
1658
- createdAt: string;
1659
- createdBy: string;
1660
- declaration: Record<string, import("../commons").FieldUpdateValue>;
1661
- status: "Requested" | "Accepted" | "Rejected";
1662
- type: "UNARCHIVE";
1663
- createdByRole?: string | undefined;
1664
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
1665
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
1666
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
1667
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
1668
1600
  } | {
1669
1601
  id: string & import("zod").$brand<"UUID">;
1670
1602
  transactionId: string;
@@ -1856,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1856
1788
  createdByUserType: "system" | "user";
1857
1789
  createdAt: string;
1858
1790
  createdBy: string;
1859
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1791
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1860
1792
  status: "Rejected";
1861
1793
  createdByRole?: string | undefined;
1862
1794
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -2008,20 +1940,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2008
1940
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2009
1941
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2010
1942
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2011
- } | {
2012
- id: string & import("zod").$brand<"UUID">;
2013
- transactionId: string;
2014
- createdByUserType: "system" | "user";
2015
- createdAt: string;
2016
- createdBy: string;
2017
- declaration: Record<string, import("../commons").FieldUpdateValue>;
2018
- status: "Requested" | "Accepted" | "Rejected";
2019
- type: "UNARCHIVE";
2020
- createdByRole?: string | undefined;
2021
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2022
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2023
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2024
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2025
1943
  } | {
2026
1944
  id: string & import("zod").$brand<"UUID">;
2027
1945
  transactionId: string;
@@ -2172,363 +2090,56 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2172
2090
  type: "READ";
2173
2091
  createdByRole?: string | undefined;
2174
2092
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2175
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2176
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2177
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2178
- } | {
2179
- id: string & import("zod").$brand<"UUID">;
2180
- transactionId: string;
2181
- createdByUserType: "system" | "user";
2182
- createdAt: string;
2183
- createdBy: string;
2184
- declaration: Record<string, import("../commons").FieldUpdateValue>;
2185
- status: "Requested" | "Accepted" | "Rejected";
2186
- type: "EDIT";
2187
- content: {
2188
- comment?: string | undefined;
2189
- };
2190
- createdByRole?: string | undefined;
2191
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2192
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2193
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2194
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2195
- } | {
2196
- id: string & import("zod").$brand<"UUID">;
2197
- transactionId: string;
2198
- createdByUserType: "system" | "user";
2199
- createdAt: string;
2200
- createdBy: string;
2201
- declaration: Record<string, import("../commons").FieldUpdateValue>;
2202
- status: "Requested" | "Accepted" | "Rejected";
2203
- type: "CUSTOM";
2204
- customActionType: string;
2205
- createdByRole?: string | undefined;
2206
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2207
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2208
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2209
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2210
- } | {
2211
- id: string & import("zod").$brand<"UUID">;
2212
- transactionId: string;
2213
- createdByUserType: "system" | "user";
2214
- createdAt: string;
2215
- createdBy: string;
2216
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
2217
- status: "Rejected";
2218
- createdByRole?: string | undefined;
2219
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2220
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2221
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2222
- })[];
2223
- trackingId: string;
2224
- };
2225
- meta: import("trpc-to-openapi").OpenApiMeta;
2226
- }>;
2227
- accept: import("@trpc/server").TRPCMutationProcedure<{
2228
- input: (Omit<{
2229
- eventId: string;
2230
- transactionId: string;
2231
- declaration?: Record<string, unknown> | undefined;
2232
- annotation?: Record<string, unknown> | undefined;
2233
- originalActionId?: string | undefined;
2234
- keepAssignment?: boolean | undefined;
2235
- keepAssignmentIfAccepted?: boolean | undefined;
2236
- keepAssignmentIfRejected?: boolean | undefined;
2237
- waitFor?: boolean | undefined;
2238
- type?: "CREATE" | undefined;
2239
- createdAtLocation?: string | null | undefined;
2240
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2241
- eventId: string;
2242
- transactionId: string;
2243
- declaration?: Record<string, unknown> | undefined;
2244
- annotation?: Record<string, unknown> | undefined;
2245
- originalActionId?: string | undefined;
2246
- keepAssignment?: boolean | undefined;
2247
- keepAssignmentIfAccepted?: boolean | undefined;
2248
- keepAssignmentIfRejected?: boolean | undefined;
2249
- waitFor?: boolean | undefined;
2250
- createdAtLocation?: string | null | undefined;
2251
- type?: "REGISTER" | undefined;
2252
- registrationNumber?: string | undefined;
2253
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2254
- eventId: string;
2255
- transactionId: string;
2256
- declaration?: Record<string, unknown> | undefined;
2257
- annotation?: Record<string, unknown> | undefined;
2258
- originalActionId?: string | undefined;
2259
- keepAssignment?: boolean | undefined;
2260
- keepAssignmentIfAccepted?: boolean | undefined;
2261
- keepAssignmentIfRejected?: boolean | undefined;
2262
- waitFor?: boolean | undefined;
2263
- type?: "NOTIFY" | undefined;
2264
- createdAtLocation?: string | null | undefined;
2265
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2266
- eventId: string;
2267
- transactionId: string;
2268
- declaration?: Record<string, unknown> | undefined;
2269
- annotation?: Record<string, unknown> | undefined;
2270
- originalActionId?: string | undefined;
2271
- keepAssignment?: boolean | undefined;
2272
- keepAssignmentIfAccepted?: boolean | undefined;
2273
- keepAssignmentIfRejected?: boolean | undefined;
2274
- waitFor?: boolean | undefined;
2275
- createdAtLocation?: string | null | undefined;
2276
- type?: "DECLARE" | undefined;
2277
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2278
- eventId: string;
2279
- transactionId: string;
2280
- content: {
2281
- reason: string;
2282
- };
2283
- declaration?: Record<string, unknown> | undefined;
2284
- annotation?: Record<string, unknown> | undefined;
2285
- originalActionId?: string | undefined;
2286
- keepAssignment?: boolean | undefined;
2287
- keepAssignmentIfAccepted?: boolean | undefined;
2288
- keepAssignmentIfRejected?: boolean | undefined;
2289
- waitFor?: boolean | undefined;
2290
- createdAtLocation?: string | null | undefined;
2291
- type?: "REJECT" | undefined;
2292
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2293
- eventId: string;
2294
- transactionId: string;
2295
- content: {
2296
- duplicates: {
2297
- id: string;
2298
- trackingId: string;
2299
- }[];
2300
- };
2301
- declaration?: Record<string, unknown> | undefined;
2302
- annotation?: Record<string, unknown> | undefined;
2303
- originalActionId?: string | undefined;
2304
- keepAssignment?: boolean | undefined;
2305
- keepAssignmentIfAccepted?: boolean | undefined;
2306
- keepAssignmentIfRejected?: boolean | undefined;
2307
- waitFor?: boolean | undefined;
2308
- createdAtLocation?: string | null | undefined;
2309
- type?: "DUPLICATE_DETECTED" | undefined;
2310
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2311
- eventId: string;
2312
- transactionId: string;
2313
- declaration?: Record<string, unknown> | undefined;
2314
- annotation?: Record<string, unknown> | undefined;
2315
- originalActionId?: string | undefined;
2316
- keepAssignment?: boolean | undefined;
2317
- keepAssignmentIfAccepted?: boolean | undefined;
2318
- keepAssignmentIfRejected?: boolean | undefined;
2319
- waitFor?: boolean | undefined;
2320
- createdAtLocation?: string | null | undefined;
2321
- type?: "MARK_AS_DUPLICATE" | undefined;
2322
- content?: {
2323
- duplicateOf: string;
2324
- } | undefined;
2325
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2326
- eventId: string;
2327
- transactionId: string;
2328
- declaration?: Record<string, unknown> | undefined;
2329
- annotation?: Record<string, unknown> | undefined;
2330
- originalActionId?: string | undefined;
2331
- keepAssignment?: boolean | undefined;
2332
- keepAssignmentIfAccepted?: boolean | undefined;
2333
- keepAssignmentIfRejected?: boolean | undefined;
2334
- waitFor?: boolean | undefined;
2335
- createdAtLocation?: string | null | undefined;
2336
- type?: "MARK_AS_NOT_DUPLICATE" | undefined;
2337
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2338
- eventId: string;
2339
- transactionId: string;
2340
- content: {
2341
- reason: string;
2342
- };
2343
- declaration?: Record<string, unknown> | undefined;
2344
- annotation?: Record<string, unknown> | undefined;
2345
- originalActionId?: string | undefined;
2346
- keepAssignment?: boolean | undefined;
2347
- keepAssignmentIfAccepted?: boolean | undefined;
2348
- keepAssignmentIfRejected?: boolean | undefined;
2349
- waitFor?: boolean | undefined;
2350
- createdAtLocation?: string | null | undefined;
2351
- type?: "ARCHIVE" | undefined;
2352
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2353
- eventId: string;
2354
- transactionId: string;
2355
- declaration?: Record<string, unknown> | undefined;
2356
- annotation?: Record<string, unknown> | undefined;
2357
- originalActionId?: string | undefined;
2358
- keepAssignment?: boolean | undefined;
2359
- keepAssignmentIfAccepted?: boolean | undefined;
2360
- keepAssignmentIfRejected?: boolean | undefined;
2361
- waitFor?: boolean | undefined;
2362
- createdAtLocation?: string | null | undefined;
2363
- type?: "UNARCHIVE" | undefined;
2364
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2365
- eventId: string;
2366
- transactionId: string;
2367
- type: "ASSIGN";
2368
- assignedTo: string;
2369
- declaration?: Record<string, unknown> | undefined;
2370
- annotation?: Record<string, unknown> | undefined;
2371
- originalActionId?: string | undefined;
2372
- keepAssignment?: boolean | undefined;
2373
- keepAssignmentIfAccepted?: boolean | undefined;
2374
- keepAssignmentIfRejected?: boolean | undefined;
2375
- waitFor?: boolean | undefined;
2376
- createdAtLocation?: string | null | undefined;
2377
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2378
- eventId: string;
2379
- transactionId: string;
2380
- declaration?: Record<string, unknown> | undefined;
2381
- annotation?: Record<string, unknown> | undefined;
2382
- originalActionId?: string | undefined;
2383
- keepAssignment?: boolean | undefined;
2384
- keepAssignmentIfAccepted?: boolean | undefined;
2385
- keepAssignmentIfRejected?: boolean | undefined;
2386
- waitFor?: boolean | undefined;
2387
- createdAtLocation?: string | null | undefined;
2388
- type?: "UNASSIGN" | undefined;
2389
- assignedTo?: null | undefined;
2390
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2391
- eventId: string;
2392
- transactionId: string;
2393
- declaration?: Record<string, unknown> | undefined;
2394
- annotation?: Record<string, unknown> | undefined;
2395
- originalActionId?: string | undefined;
2396
- keepAssignment?: boolean | undefined;
2397
- keepAssignmentIfAccepted?: boolean | undefined;
2398
- keepAssignmentIfRejected?: boolean | undefined;
2399
- waitFor?: boolean | undefined;
2400
- createdAtLocation?: string | null | undefined;
2401
- type?: "PRINT_CERTIFICATE" | undefined;
2402
- content?: {
2403
- templateId?: string | undefined;
2404
- } | undefined;
2405
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2406
- eventId: string;
2407
- transactionId: string;
2408
- declaration?: Record<string, unknown> | undefined;
2409
- annotation?: Record<string, unknown> | undefined;
2410
- originalActionId?: string | undefined;
2411
- keepAssignment?: boolean | undefined;
2412
- keepAssignmentIfAccepted?: boolean | undefined;
2413
- keepAssignmentIfRejected?: boolean | undefined;
2414
- waitFor?: boolean | undefined;
2415
- createdAtLocation?: string | null | undefined;
2416
- type?: "REQUEST_CORRECTION" | undefined;
2417
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2418
- eventId: string;
2419
- transactionId: string;
2420
- requestId: string;
2421
- content: {
2422
- reason: string;
2423
- };
2424
- declaration?: Record<string, unknown> | undefined;
2425
- annotation?: Record<string, unknown> | undefined;
2426
- originalActionId?: string | undefined;
2427
- keepAssignment?: boolean | undefined;
2428
- keepAssignmentIfAccepted?: boolean | undefined;
2429
- keepAssignmentIfRejected?: boolean | undefined;
2430
- waitFor?: boolean | undefined;
2431
- createdAtLocation?: string | null | undefined;
2432
- type?: "REJECT_CORRECTION" | undefined;
2433
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2434
- eventId: string;
2435
- transactionId: string;
2436
- requestId: string;
2437
- declaration?: Record<string, unknown> | undefined;
2438
- annotation?: Record<string, unknown> | undefined;
2439
- originalActionId?: string | undefined;
2440
- keepAssignment?: boolean | undefined;
2441
- keepAssignmentIfAccepted?: boolean | undefined;
2442
- keepAssignmentIfRejected?: boolean | undefined;
2443
- waitFor?: boolean | undefined;
2444
- createdAtLocation?: string | null | undefined;
2445
- type?: "APPROVE_CORRECTION" | undefined;
2446
- content?: {
2447
- immediateCorrection?: boolean | undefined;
2448
- } | undefined;
2449
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2450
- eventId: string;
2451
- transactionId: string;
2452
- declaration?: Record<string, unknown> | undefined;
2453
- annotation?: Record<string, unknown> | undefined;
2454
- originalActionId?: string | undefined;
2455
- keepAssignment?: boolean | undefined;
2456
- keepAssignmentIfAccepted?: boolean | undefined;
2457
- keepAssignmentIfRejected?: boolean | undefined;
2458
- waitFor?: boolean | undefined;
2459
- createdAtLocation?: string | null | undefined;
2460
- type?: "READ" | undefined;
2461
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2462
- eventId: string;
2463
- transactionId: string;
2464
- customActionType: string;
2465
- declaration?: Record<string, unknown> | undefined;
2466
- annotation?: Record<string, unknown> | undefined;
2467
- originalActionId?: string | undefined;
2468
- keepAssignment?: boolean | undefined;
2469
- keepAssignmentIfAccepted?: boolean | undefined;
2470
- keepAssignmentIfRejected?: boolean | undefined;
2471
- waitFor?: boolean | undefined;
2472
- createdAtLocation?: string | null | undefined;
2473
- type?: "CUSTOM" | undefined;
2474
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2475
- eventId: string;
2476
- transactionId: string;
2477
- content: {
2478
- comment?: string | undefined;
2479
- };
2480
- declaration?: Record<string, unknown> | undefined;
2481
- annotation?: Record<string, unknown> | undefined;
2482
- originalActionId?: string | undefined;
2483
- keepAssignment?: boolean | undefined;
2484
- keepAssignmentIfAccepted?: boolean | undefined;
2485
- keepAssignmentIfRejected?: boolean | undefined;
2486
- waitFor?: boolean | undefined;
2487
- createdAtLocation?: string | null | undefined;
2488
- type?: "EDIT" | undefined;
2489
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
2490
- actionId: string;
2491
- };
2492
- output: import("../commons").EventDocument;
2493
- meta: import("trpc-to-openapi").OpenApiMeta;
2494
- }>;
2495
- reject: import("@trpc/server").TRPCMutationProcedure<{
2496
- input: import("zod").input<import("zod").ZodObject<{
2497
- transactionId: import("zod").ZodString;
2498
- eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
2499
- keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
2500
- waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
2501
- actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
2502
- }, import("zod/v4/core").$strip>>;
2503
- output: import("../commons").EventDocument;
2504
- meta: import("trpc-to-openapi").OpenApiMeta;
2505
- }>;
2506
- }>>;
2507
- edit: import("@trpc/server").TRPCBuiltRouter<{
2508
- ctx: Partial<{
2509
- token: `Bearer ${string}`;
2510
- user: {
2511
- id: string & import("zod").$brand<"UUID">;
2512
- type: "system";
2513
- signature?: undefined;
2514
- primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
2515
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
2516
- } | {
2517
- id: string & import("zod").$brand<"UUID">;
2518
- type: "user";
2519
- role: string;
2520
- primaryOfficeId: string & import("zod").$brand<"UUID">;
2521
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2522
- administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2093
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2094
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2095
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2096
+ } | {
2097
+ id: string & import("zod").$brand<"UUID">;
2098
+ transactionId: string;
2099
+ createdByUserType: "system" | "user";
2100
+ createdAt: string;
2101
+ createdBy: string;
2102
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
2103
+ status: "Requested" | "Accepted" | "Rejected";
2104
+ type: "EDIT";
2105
+ content: {
2106
+ comment?: string | undefined;
2107
+ };
2108
+ createdByRole?: string | undefined;
2109
+ createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2110
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2111
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2112
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2113
+ } | {
2114
+ id: string & import("zod").$brand<"UUID">;
2115
+ transactionId: string;
2116
+ createdByUserType: "system" | "user";
2117
+ createdAt: string;
2118
+ createdBy: string;
2119
+ declaration: Record<string, import("../commons").FieldUpdateValue>;
2120
+ status: "Requested" | "Accepted" | "Rejected";
2121
+ type: "CUSTOM";
2122
+ customActionType: string;
2123
+ createdByRole?: string | undefined;
2124
+ createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2125
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2126
+ annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
2127
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2128
+ } | {
2129
+ id: string & import("zod").$brand<"UUID">;
2130
+ transactionId: string;
2131
+ createdByUserType: "system" | "user";
2132
+ createdAt: string;
2133
+ createdBy: string;
2134
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
2135
+ status: "Rejected";
2136
+ createdByRole?: string | undefined;
2137
+ createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
2138
+ createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
2139
+ originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
2140
+ })[];
2141
+ trackingId: string;
2523
2142
  };
2524
- }>;
2525
- meta: import("trpc-to-openapi").OpenApiMeta;
2526
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
2527
- transformer: true;
2528
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
2529
- request: import("@trpc/server").TRPCMutationProcedure<{
2530
- input: import("../commons").ActionInput;
2531
- output: import("../commons").EventDocument;
2532
2143
  meta: import("trpc-to-openapi").OpenApiMeta;
2533
2144
  }>;
2534
2145
  accept: import("@trpc/server").TRPCMutationProcedure<{
@@ -2656,18 +2267,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2656
2267
  waitFor?: boolean | undefined;
2657
2268
  createdAtLocation?: string | null | undefined;
2658
2269
  type?: "ARCHIVE" | undefined;
2659
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2660
- eventId: string;
2661
- transactionId: string;
2662
- declaration?: Record<string, unknown> | undefined;
2663
- annotation?: Record<string, unknown> | undefined;
2664
- originalActionId?: string | undefined;
2665
- keepAssignment?: boolean | undefined;
2666
- keepAssignmentIfAccepted?: boolean | undefined;
2667
- keepAssignmentIfRejected?: boolean | undefined;
2668
- waitFor?: boolean | undefined;
2669
- createdAtLocation?: string | null | undefined;
2670
- type?: "UNARCHIVE" | undefined;
2671
2270
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2672
2271
  eventId: string;
2673
2272
  transactionId: string;
@@ -2811,7 +2410,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2811
2410
  meta: import("trpc-to-openapi").OpenApiMeta;
2812
2411
  }>;
2813
2412
  }>>;
2814
- reject: import("@trpc/server").TRPCBuiltRouter<{
2413
+ edit: import("@trpc/server").TRPCBuiltRouter<{
2815
2414
  ctx: Partial<{
2816
2415
  token: `Bearer ${string}`;
2817
2416
  user: {
@@ -2963,18 +2562,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2963
2562
  waitFor?: boolean | undefined;
2964
2563
  createdAtLocation?: string | null | undefined;
2965
2564
  type?: "ARCHIVE" | undefined;
2966
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2967
- eventId: string;
2968
- transactionId: string;
2969
- declaration?: Record<string, unknown> | undefined;
2970
- annotation?: Record<string, unknown> | undefined;
2971
- originalActionId?: string | undefined;
2972
- keepAssignment?: boolean | undefined;
2973
- keepAssignmentIfAccepted?: boolean | undefined;
2974
- keepAssignmentIfRejected?: boolean | undefined;
2975
- waitFor?: boolean | undefined;
2976
- createdAtLocation?: string | null | undefined;
2977
- type?: "UNARCHIVE" | undefined;
2978
2565
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
2979
2566
  eventId: string;
2980
2567
  transactionId: string;
@@ -3118,7 +2705,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3118
2705
  meta: import("trpc-to-openapi").OpenApiMeta;
3119
2706
  }>;
3120
2707
  }>>;
3121
- archive: import("@trpc/server").TRPCBuiltRouter<{
2708
+ reject: import("@trpc/server").TRPCBuiltRouter<{
3122
2709
  ctx: Partial<{
3123
2710
  token: `Bearer ${string}`;
3124
2711
  user: {
@@ -3270,18 +2857,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3270
2857
  waitFor?: boolean | undefined;
3271
2858
  createdAtLocation?: string | null | undefined;
3272
2859
  type?: "ARCHIVE" | undefined;
3273
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3274
- eventId: string;
3275
- transactionId: string;
3276
- declaration?: Record<string, unknown> | undefined;
3277
- annotation?: Record<string, unknown> | undefined;
3278
- originalActionId?: string | undefined;
3279
- keepAssignment?: boolean | undefined;
3280
- keepAssignmentIfAccepted?: boolean | undefined;
3281
- keepAssignmentIfRejected?: boolean | undefined;
3282
- waitFor?: boolean | undefined;
3283
- createdAtLocation?: string | null | undefined;
3284
- type?: "UNARCHIVE" | undefined;
3285
2860
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3286
2861
  eventId: string;
3287
2862
  transactionId: string;
@@ -3425,7 +3000,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3425
3000
  meta: import("trpc-to-openapi").OpenApiMeta;
3426
3001
  }>;
3427
3002
  }>>;
3428
- unarchive: import("@trpc/server").TRPCBuiltRouter<{
3003
+ archive: import("@trpc/server").TRPCBuiltRouter<{
3429
3004
  ctx: Partial<{
3430
3005
  token: `Bearer ${string}`;
3431
3006
  user: {
@@ -3577,18 +3152,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3577
3152
  waitFor?: boolean | undefined;
3578
3153
  createdAtLocation?: string | null | undefined;
3579
3154
  type?: "ARCHIVE" | undefined;
3580
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3581
- eventId: string;
3582
- transactionId: string;
3583
- declaration?: Record<string, unknown> | undefined;
3584
- annotation?: Record<string, unknown> | undefined;
3585
- originalActionId?: string | undefined;
3586
- keepAssignment?: boolean | undefined;
3587
- keepAssignmentIfAccepted?: boolean | undefined;
3588
- keepAssignmentIfRejected?: boolean | undefined;
3589
- waitFor?: boolean | undefined;
3590
- createdAtLocation?: string | null | undefined;
3591
- type?: "UNARCHIVE" | undefined;
3592
3155
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3593
3156
  eventId: string;
3594
3157
  transactionId: string;
@@ -3884,18 +3447,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3884
3447
  waitFor?: boolean | undefined;
3885
3448
  createdAtLocation?: string | null | undefined;
3886
3449
  type?: "ARCHIVE" | undefined;
3887
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3888
- eventId: string;
3889
- transactionId: string;
3890
- declaration?: Record<string, unknown> | undefined;
3891
- annotation?: Record<string, unknown> | undefined;
3892
- originalActionId?: string | undefined;
3893
- keepAssignment?: boolean | undefined;
3894
- keepAssignmentIfAccepted?: boolean | undefined;
3895
- keepAssignmentIfRejected?: boolean | undefined;
3896
- waitFor?: boolean | undefined;
3897
- createdAtLocation?: string | null | undefined;
3898
- type?: "UNARCHIVE" | undefined;
3899
3450
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
3900
3451
  eventId: string;
3901
3452
  transactionId: string;
@@ -4191,18 +3742,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4191
3742
  waitFor?: boolean | undefined;
4192
3743
  createdAtLocation?: string | null | undefined;
4193
3744
  type?: "ARCHIVE" | undefined;
4194
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4195
- eventId: string;
4196
- transactionId: string;
4197
- declaration?: Record<string, unknown> | undefined;
4198
- annotation?: Record<string, unknown> | undefined;
4199
- originalActionId?: string | undefined;
4200
- keepAssignment?: boolean | undefined;
4201
- keepAssignmentIfAccepted?: boolean | undefined;
4202
- keepAssignmentIfRejected?: boolean | undefined;
4203
- waitFor?: boolean | undefined;
4204
- createdAtLocation?: string | null | undefined;
4205
- type?: "UNARCHIVE" | undefined;
4206
3745
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4207
3746
  eventId: string;
4208
3747
  transactionId: string;
@@ -4487,20 +4026,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4487
4026
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
4488
4027
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
4489
4028
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4490
- } | {
4491
- id: string & import("zod").$brand<"UUID">;
4492
- transactionId: string;
4493
- createdByUserType: "system" | "user";
4494
- createdAt: string;
4495
- createdBy: string;
4496
- declaration: Record<string, import("../commons").FieldUpdateValue>;
4497
- status: "Requested" | "Accepted" | "Rejected";
4498
- type: "UNARCHIVE";
4499
- createdByRole?: string | undefined;
4500
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4501
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
4502
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
4503
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4504
4029
  } | {
4505
4030
  id: string & import("zod").$brand<"UUID">;
4506
4031
  transactionId: string;
@@ -4692,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4692
4217
  createdByUserType: "system" | "user";
4693
4218
  createdAt: string;
4694
4219
  createdBy: string;
4695
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4220
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4696
4221
  status: "Rejected";
4697
4222
  createdByRole?: string | undefined;
4698
4223
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -4828,18 +4353,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4828
4353
  waitFor?: boolean | undefined;
4829
4354
  createdAtLocation?: string | null | undefined;
4830
4355
  type?: "ARCHIVE" | undefined;
4831
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4832
- eventId: string;
4833
- transactionId: string;
4834
- declaration?: Record<string, unknown> | undefined;
4835
- annotation?: Record<string, unknown> | undefined;
4836
- originalActionId?: string | undefined;
4837
- keepAssignment?: boolean | undefined;
4838
- keepAssignmentIfAccepted?: boolean | undefined;
4839
- keepAssignmentIfRejected?: boolean | undefined;
4840
- waitFor?: boolean | undefined;
4841
- createdAtLocation?: string | null | undefined;
4842
- type?: "UNARCHIVE" | undefined;
4843
4356
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
4844
4357
  eventId: string;
4845
4358
  transactionId: string;
@@ -5124,20 +4637,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5124
4637
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5125
4638
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5126
4639
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5127
- } | {
5128
- id: string & import("zod").$brand<"UUID">;
5129
- transactionId: string;
5130
- createdByUserType: "system" | "user";
5131
- createdAt: string;
5132
- createdBy: string;
5133
- declaration: Record<string, import("../commons").FieldUpdateValue>;
5134
- status: "Requested" | "Accepted" | "Rejected";
5135
- type: "UNARCHIVE";
5136
- createdByRole?: string | undefined;
5137
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5138
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5139
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5140
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5141
4640
  } | {
5142
4641
  id: string & import("zod").$brand<"UUID">;
5143
4642
  transactionId: string;
@@ -5329,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5329
4828
  createdByUserType: "system" | "user";
5330
4829
  createdAt: string;
5331
4830
  createdBy: string;
5332
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4831
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
5333
4832
  status: "Rejected";
5334
4833
  createdByRole?: string | undefined;
5335
4834
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -5459,20 +4958,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5459
4958
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5460
4959
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5461
4960
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5462
- } | {
5463
- id: string & import("zod").$brand<"UUID">;
5464
- transactionId: string;
5465
- createdByUserType: "system" | "user";
5466
- createdAt: string;
5467
- createdBy: string;
5468
- declaration: Record<string, import("../commons").FieldUpdateValue>;
5469
- status: "Requested" | "Accepted" | "Rejected";
5470
- type: "UNARCHIVE";
5471
- createdByRole?: string | undefined;
5472
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
5473
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
5474
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
5475
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
5476
4961
  } | {
5477
4962
  id: string & import("zod").$brand<"UUID">;
5478
4963
  transactionId: string;
@@ -5664,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5664
5149
  createdByUserType: "system" | "user";
5665
5150
  createdAt: string;
5666
5151
  createdBy: string;
5667
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
5152
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
5668
5153
  status: "Rejected";
5669
5154
  createdByRole?: string | undefined;
5670
5155
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -5850,18 +5335,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5850
5335
  waitFor?: boolean | undefined;
5851
5336
  createdAtLocation?: string | null | undefined;
5852
5337
  type?: "ARCHIVE" | undefined;
5853
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5854
- eventId: string;
5855
- transactionId: string;
5856
- declaration?: Record<string, unknown> | undefined;
5857
- annotation?: Record<string, unknown> | undefined;
5858
- originalActionId?: string | undefined;
5859
- keepAssignment?: boolean | undefined;
5860
- keepAssignmentIfAccepted?: boolean | undefined;
5861
- keepAssignmentIfRejected?: boolean | undefined;
5862
- waitFor?: boolean | undefined;
5863
- createdAtLocation?: string | null | undefined;
5864
- type?: "UNARCHIVE" | undefined;
5865
5338
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
5866
5339
  eventId: string;
5867
5340
  transactionId: string;
@@ -6157,18 +5630,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6157
5630
  waitFor?: boolean | undefined;
6158
5631
  createdAtLocation?: string | null | undefined;
6159
5632
  type?: "ARCHIVE" | undefined;
6160
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6161
- eventId: string;
6162
- transactionId: string;
6163
- declaration?: Record<string, unknown> | undefined;
6164
- annotation?: Record<string, unknown> | undefined;
6165
- originalActionId?: string | undefined;
6166
- keepAssignment?: boolean | undefined;
6167
- keepAssignmentIfAccepted?: boolean | undefined;
6168
- keepAssignmentIfRejected?: boolean | undefined;
6169
- waitFor?: boolean | undefined;
6170
- createdAtLocation?: string | null | undefined;
6171
- type?: "UNARCHIVE" | undefined;
6172
5633
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6173
5634
  eventId: string;
6174
5635
  transactionId: string;
@@ -6464,18 +5925,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6464
5925
  waitFor?: boolean | undefined;
6465
5926
  createdAtLocation?: string | null | undefined;
6466
5927
  type?: "ARCHIVE" | undefined;
6467
- }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6468
- eventId: string;
6469
- transactionId: string;
6470
- declaration?: Record<string, unknown> | undefined;
6471
- annotation?: Record<string, unknown> | undefined;
6472
- originalActionId?: string | undefined;
6473
- keepAssignment?: boolean | undefined;
6474
- keepAssignmentIfAccepted?: boolean | undefined;
6475
- keepAssignmentIfRejected?: boolean | undefined;
6476
- waitFor?: boolean | undefined;
6477
- createdAtLocation?: string | null | undefined;
6478
- type?: "UNARCHIVE" | undefined;
6479
5928
  }, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
6480
5929
  eventId: string;
6481
5930
  transactionId: string;
@@ -6763,20 +6212,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6763
6212
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6764
6213
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
6765
6214
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6766
- } | {
6767
- id: string & import("zod").$brand<"UUID">;
6768
- transactionId: string;
6769
- createdByUserType: "system" | "user";
6770
- createdAt: string;
6771
- createdBy: string;
6772
- declaration: Record<string, import("../commons").FieldUpdateValue>;
6773
- status: "Requested" | "Accepted" | "Rejected";
6774
- type: "UNARCHIVE";
6775
- createdByRole?: string | undefined;
6776
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
6777
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
6778
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
6779
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
6780
6215
  } | {
6781
6216
  id: string & import("zod").$brand<"UUID">;
6782
6217
  transactionId: string;
@@ -6968,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6968
6403
  createdByUserType: "system" | "user";
6969
6404
  createdAt: string;
6970
6405
  createdBy: string;
6971
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6406
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6972
6407
  status: "Rejected";
6973
6408
  createdByRole?: string | undefined;
6974
6409
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -7097,20 +6532,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7097
6532
  createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
7098
6533
  annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
7099
6534
  originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7100
- } | {
7101
- id: string & import("zod").$brand<"UUID">;
7102
- transactionId: string;
7103
- createdByUserType: "system" | "user";
7104
- createdAt: string;
7105
- createdBy: string;
7106
- declaration: Record<string, import("../commons").FieldUpdateValue>;
7107
- status: "Requested" | "Accepted" | "Rejected";
7108
- type: "UNARCHIVE";
7109
- createdByRole?: string | undefined;
7110
- createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
7111
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
7112
- annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
7113
- originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
7114
6535
  } | {
7115
6536
  id: string & import("zod").$brand<"UUID">;
7116
6537
  transactionId: string;
@@ -7302,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7302
6723
  createdByUserType: "system" | "user";
7303
6724
  createdAt: string;
7304
6725
  createdBy: string;
7305
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6726
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
7306
6727
  status: "Rejected";
7307
6728
  createdByRole?: string | undefined;
7308
6729
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -7328,14 +6749,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7328
6749
  type: string;
7329
6750
  status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
7330
6751
  legalStatuses: {
7331
- NOTIFIED?: {
7332
- createdAt: string;
7333
- createdBy: string;
7334
- acceptedAt: string;
7335
- createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
7336
- createdByUserType?: "system" | "user" | null | undefined;
7337
- createdByRole?: string | undefined;
7338
- } | null | undefined;
7339
6752
  DECLARED?: {
7340
6753
  createdAt: string;
7341
6754
  createdBy: string;
@@ -7482,20 +6895,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7482
6895
  createdAtLocation?: string | null | undefined;
7483
6896
  annotation?: Record<string, unknown> | null | undefined;
7484
6897
  originalActionId?: string | null | undefined;
7485
- } | {
7486
- id: string;
7487
- transactionId: string;
7488
- createdByUserType: "system" | "user";
7489
- createdAt: string;
7490
- createdBy: string;
7491
- declaration: Record<string, unknown>;
7492
- status: "Requested" | "Accepted" | "Rejected";
7493
- type: "UNARCHIVE";
7494
- createdByRole?: string | undefined;
7495
- createdBySignature?: string | null | undefined;
7496
- createdAtLocation?: string | null | undefined;
7497
- annotation?: Record<string, unknown> | null | undefined;
7498
- originalActionId?: string | null | undefined;
7499
6898
  } | {
7500
6899
  id: string;
7501
6900
  transactionId: string;
@@ -7687,7 +7086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7687
7086
  createdByUserType: "system" | "user";
7688
7087
  createdAt: string;
7689
7088
  createdBy: string;
7690
- type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
7089
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
7691
7090
  status: "Rejected";
7692
7091
  createdByRole?: string | undefined;
7693
7092
  createdBySignature?: string | null | undefined;
@@ -7905,7 +7304,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7905
7304
  count?: number | undefined;
7906
7305
  timeStart?: string | undefined;
7907
7306
  timeEnd?: string | undefined;
7908
- actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
7307
+ actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
7909
7308
  };
7910
7309
  output: {
7911
7310
  results: {
@@ -8180,7 +7579,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8180
7579
  clientId: string;
8181
7580
  clientType: "system" | "user";
8182
7581
  createdAt: string;
8183
- operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.unarchive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
7582
+ operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
8184
7583
  requestData: {
8185
7584
  eventId: string;
8186
7585
  actionType: string;
@@ -8770,7 +8169,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
8770
8169
  }[];
8771
8170
  icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
8772
8171
  action?: {
8773
- type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
8172
+ type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
8774
8173
  } | undefined;
8775
8174
  emptyMessage?: {
8776
8175
  id: string;