@opencrvs/toolkit 2.1.0-rc.e773220 → 2.1.0-rc.eb366a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application-config/index.js +210 -187
- package/dist/commons/api/router.d.ts +613 -20
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +54 -0
- package/dist/commons/events/ActionDocument.d.ts +45 -7
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +18 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +22 -0
- package/dist/commons/events/EventIndex.d.ts +5 -24
- package/dist/commons/events/EventMetadata.d.ts +2 -1
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/Flag.d.ts +48 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +25 -7
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/test.utils.d.ts +9 -1
- package/dist/commons/events/utils.d.ts +23 -1
- package/dist/conditionals/index.js +305 -55
- package/dist/events/index.js +3261 -3141
- package/dist/notification/index.js +1481 -882
- package/dist/scopes/index.d.ts +257 -1
- package/dist/scopes/index.js +306 -55
- package/opencrvs-toolkit-2.1.0-rc.eb366a1.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.1.0-rc.e773220.tgz +0 -0
|
@@ -226,6 +226,20 @@ 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;
|
|
229
243
|
} | {
|
|
230
244
|
id: string & import("zod").$brand<"UUID">;
|
|
231
245
|
transactionId: string;
|
|
@@ -417,7 +431,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
417
431
|
createdByUserType: "system" | "user";
|
|
418
432
|
createdAt: string;
|
|
419
433
|
createdBy: string;
|
|
420
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
434
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
421
435
|
status: "Rejected";
|
|
422
436
|
createdByRole?: string | undefined;
|
|
423
437
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -538,6 +552,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
538
552
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
539
553
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
540
554
|
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;
|
|
541
569
|
} | {
|
|
542
570
|
id: string & import("zod").$brand<"UUID">;
|
|
543
571
|
transactionId: string;
|
|
@@ -729,7 +757,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
729
757
|
createdByUserType: "system" | "user";
|
|
730
758
|
createdAt: string;
|
|
731
759
|
createdBy: string;
|
|
732
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
760
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
733
761
|
status: "Rejected";
|
|
734
762
|
createdByRole?: string | undefined;
|
|
735
763
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -849,6 +877,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
849
877
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
850
878
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
851
879
|
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;
|
|
852
894
|
} | {
|
|
853
895
|
id: string & import("zod").$brand<"UUID">;
|
|
854
896
|
transactionId: string;
|
|
@@ -1040,7 +1082,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1040
1082
|
createdByUserType: "system" | "user";
|
|
1041
1083
|
createdAt: string;
|
|
1042
1084
|
createdBy: string;
|
|
1043
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1085
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1044
1086
|
status: "Rejected";
|
|
1045
1087
|
createdByRole?: string | undefined;
|
|
1046
1088
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1090,7 +1132,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1090
1132
|
transactionId: string;
|
|
1091
1133
|
createdAt: string;
|
|
1092
1134
|
action: {
|
|
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";
|
|
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";
|
|
1094
1136
|
transactionId: string;
|
|
1095
1137
|
createdByUserType: "system" | "user";
|
|
1096
1138
|
createdAt: string;
|
|
@@ -1109,7 +1151,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1109
1151
|
input: {
|
|
1110
1152
|
transactionId: string;
|
|
1111
1153
|
eventId: string;
|
|
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";
|
|
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";
|
|
1113
1155
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
1156
|
createdAtLocation?: string | null | undefined;
|
|
1115
1157
|
declaration?: Record<string, unknown> | undefined;
|
|
@@ -1125,7 +1167,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1125
1167
|
transactionId: string;
|
|
1126
1168
|
createdAt: string;
|
|
1127
1169
|
action: {
|
|
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";
|
|
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";
|
|
1129
1171
|
transactionId: string;
|
|
1130
1172
|
createdByUserType: "system" | "user";
|
|
1131
1173
|
createdAt: string;
|
|
@@ -1315,6 +1357,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1315
1357
|
waitFor?: boolean | undefined;
|
|
1316
1358
|
createdAtLocation?: string | null | undefined;
|
|
1317
1359
|
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;
|
|
1318
1372
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1319
1373
|
eventId: string;
|
|
1320
1374
|
transactionId: string;
|
|
@@ -1597,6 +1651,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1597
1651
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1598
1652
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1599
1653
|
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;
|
|
1600
1668
|
} | {
|
|
1601
1669
|
id: string & import("zod").$brand<"UUID">;
|
|
1602
1670
|
transactionId: string;
|
|
@@ -1788,7 +1856,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1788
1856
|
createdByUserType: "system" | "user";
|
|
1789
1857
|
createdAt: string;
|
|
1790
1858
|
createdBy: string;
|
|
1791
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1859
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
1792
1860
|
status: "Rejected";
|
|
1793
1861
|
createdByRole?: string | undefined;
|
|
1794
1862
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -1940,6 +2008,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1940
2008
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1941
2009
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1942
2010
|
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;
|
|
1943
2025
|
} | {
|
|
1944
2026
|
id: string & import("zod").$brand<"UUID">;
|
|
1945
2027
|
transactionId: string;
|
|
@@ -2131,7 +2213,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2131
2213
|
createdByUserType: "system" | "user";
|
|
2132
2214
|
createdAt: string;
|
|
2133
2215
|
createdBy: string;
|
|
2134
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2216
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
2135
2217
|
status: "Rejected";
|
|
2136
2218
|
createdByRole?: string | undefined;
|
|
2137
2219
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -2267,6 +2349,325 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2267
2349
|
waitFor?: boolean | undefined;
|
|
2268
2350
|
createdAtLocation?: string | null | undefined;
|
|
2269
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;
|
|
2523
|
+
};
|
|
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
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2533
|
+
}>;
|
|
2534
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
2535
|
+
input: (Omit<{
|
|
2536
|
+
eventId: string;
|
|
2537
|
+
transactionId: string;
|
|
2538
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2539
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2540
|
+
originalActionId?: string | undefined;
|
|
2541
|
+
keepAssignment?: boolean | undefined;
|
|
2542
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2543
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2544
|
+
waitFor?: boolean | undefined;
|
|
2545
|
+
type?: "CREATE" | undefined;
|
|
2546
|
+
createdAtLocation?: string | null | undefined;
|
|
2547
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2548
|
+
eventId: string;
|
|
2549
|
+
transactionId: string;
|
|
2550
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2551
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2552
|
+
originalActionId?: string | undefined;
|
|
2553
|
+
keepAssignment?: boolean | undefined;
|
|
2554
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2555
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2556
|
+
waitFor?: boolean | undefined;
|
|
2557
|
+
createdAtLocation?: string | null | undefined;
|
|
2558
|
+
type?: "REGISTER" | undefined;
|
|
2559
|
+
registrationNumber?: string | undefined;
|
|
2560
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2561
|
+
eventId: string;
|
|
2562
|
+
transactionId: string;
|
|
2563
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2564
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2565
|
+
originalActionId?: string | undefined;
|
|
2566
|
+
keepAssignment?: boolean | undefined;
|
|
2567
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2568
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2569
|
+
waitFor?: boolean | undefined;
|
|
2570
|
+
type?: "NOTIFY" | undefined;
|
|
2571
|
+
createdAtLocation?: string | null | undefined;
|
|
2572
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2573
|
+
eventId: string;
|
|
2574
|
+
transactionId: string;
|
|
2575
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2576
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2577
|
+
originalActionId?: string | undefined;
|
|
2578
|
+
keepAssignment?: boolean | undefined;
|
|
2579
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2580
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2581
|
+
waitFor?: boolean | undefined;
|
|
2582
|
+
createdAtLocation?: string | null | undefined;
|
|
2583
|
+
type?: "DECLARE" | undefined;
|
|
2584
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2585
|
+
eventId: string;
|
|
2586
|
+
transactionId: string;
|
|
2587
|
+
content: {
|
|
2588
|
+
reason: string;
|
|
2589
|
+
};
|
|
2590
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2591
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2592
|
+
originalActionId?: string | undefined;
|
|
2593
|
+
keepAssignment?: boolean | undefined;
|
|
2594
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2595
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2596
|
+
waitFor?: boolean | undefined;
|
|
2597
|
+
createdAtLocation?: string | null | undefined;
|
|
2598
|
+
type?: "REJECT" | undefined;
|
|
2599
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2600
|
+
eventId: string;
|
|
2601
|
+
transactionId: string;
|
|
2602
|
+
content: {
|
|
2603
|
+
duplicates: {
|
|
2604
|
+
id: string;
|
|
2605
|
+
trackingId: string;
|
|
2606
|
+
}[];
|
|
2607
|
+
};
|
|
2608
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2609
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2610
|
+
originalActionId?: string | undefined;
|
|
2611
|
+
keepAssignment?: boolean | undefined;
|
|
2612
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2613
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2614
|
+
waitFor?: boolean | undefined;
|
|
2615
|
+
createdAtLocation?: string | null | undefined;
|
|
2616
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
2617
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2618
|
+
eventId: string;
|
|
2619
|
+
transactionId: string;
|
|
2620
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2621
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2622
|
+
originalActionId?: string | undefined;
|
|
2623
|
+
keepAssignment?: boolean | undefined;
|
|
2624
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2625
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2626
|
+
waitFor?: boolean | undefined;
|
|
2627
|
+
createdAtLocation?: string | null | undefined;
|
|
2628
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2629
|
+
content?: {
|
|
2630
|
+
duplicateOf: string;
|
|
2631
|
+
} | undefined;
|
|
2632
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2633
|
+
eventId: string;
|
|
2634
|
+
transactionId: string;
|
|
2635
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2636
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2637
|
+
originalActionId?: string | undefined;
|
|
2638
|
+
keepAssignment?: boolean | undefined;
|
|
2639
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2640
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2641
|
+
waitFor?: boolean | undefined;
|
|
2642
|
+
createdAtLocation?: string | null | undefined;
|
|
2643
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
2644
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2645
|
+
eventId: string;
|
|
2646
|
+
transactionId: string;
|
|
2647
|
+
content: {
|
|
2648
|
+
reason: string;
|
|
2649
|
+
};
|
|
2650
|
+
declaration?: Record<string, unknown> | undefined;
|
|
2651
|
+
annotation?: Record<string, unknown> | undefined;
|
|
2652
|
+
originalActionId?: string | undefined;
|
|
2653
|
+
keepAssignment?: boolean | undefined;
|
|
2654
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
2655
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
2656
|
+
waitFor?: boolean | undefined;
|
|
2657
|
+
createdAtLocation?: string | null | undefined;
|
|
2658
|
+
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;
|
|
2270
2671
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2271
2672
|
eventId: string;
|
|
2272
2673
|
transactionId: string;
|
|
@@ -2410,7 +2811,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2410
2811
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2411
2812
|
}>;
|
|
2412
2813
|
}>>;
|
|
2413
|
-
|
|
2814
|
+
reject: import("@trpc/server").TRPCBuiltRouter<{
|
|
2414
2815
|
ctx: Partial<{
|
|
2415
2816
|
token: `Bearer ${string}`;
|
|
2416
2817
|
user: {
|
|
@@ -2562,6 +2963,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2562
2963
|
waitFor?: boolean | undefined;
|
|
2563
2964
|
createdAtLocation?: string | null | undefined;
|
|
2564
2965
|
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;
|
|
2565
2978
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2566
2979
|
eventId: string;
|
|
2567
2980
|
transactionId: string;
|
|
@@ -2705,7 +3118,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2705
3118
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
2706
3119
|
}>;
|
|
2707
3120
|
}>>;
|
|
2708
|
-
|
|
3121
|
+
archive: import("@trpc/server").TRPCBuiltRouter<{
|
|
2709
3122
|
ctx: Partial<{
|
|
2710
3123
|
token: `Bearer ${string}`;
|
|
2711
3124
|
user: {
|
|
@@ -2857,6 +3270,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2857
3270
|
waitFor?: boolean | undefined;
|
|
2858
3271
|
createdAtLocation?: string | null | undefined;
|
|
2859
3272
|
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;
|
|
2860
3285
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2861
3286
|
eventId: string;
|
|
2862
3287
|
transactionId: string;
|
|
@@ -3000,7 +3425,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3000
3425
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3001
3426
|
}>;
|
|
3002
3427
|
}>>;
|
|
3003
|
-
|
|
3428
|
+
unarchive: import("@trpc/server").TRPCBuiltRouter<{
|
|
3004
3429
|
ctx: Partial<{
|
|
3005
3430
|
token: `Bearer ${string}`;
|
|
3006
3431
|
user: {
|
|
@@ -3152,6 +3577,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3152
3577
|
waitFor?: boolean | undefined;
|
|
3153
3578
|
createdAtLocation?: string | null | undefined;
|
|
3154
3579
|
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;
|
|
3155
3592
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3156
3593
|
eventId: string;
|
|
3157
3594
|
transactionId: string;
|
|
@@ -3447,6 +3884,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3447
3884
|
waitFor?: boolean | undefined;
|
|
3448
3885
|
createdAtLocation?: string | null | undefined;
|
|
3449
3886
|
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;
|
|
3450
3899
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3451
3900
|
eventId: string;
|
|
3452
3901
|
transactionId: string;
|
|
@@ -3742,6 +4191,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3742
4191
|
waitFor?: boolean | undefined;
|
|
3743
4192
|
createdAtLocation?: string | null | undefined;
|
|
3744
4193
|
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;
|
|
3745
4206
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3746
4207
|
eventId: string;
|
|
3747
4208
|
transactionId: string;
|
|
@@ -4026,6 +4487,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4026
4487
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4027
4488
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4028
4489
|
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;
|
|
4029
4504
|
} | {
|
|
4030
4505
|
id: string & import("zod").$brand<"UUID">;
|
|
4031
4506
|
transactionId: string;
|
|
@@ -4217,7 +4692,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4217
4692
|
createdByUserType: "system" | "user";
|
|
4218
4693
|
createdAt: string;
|
|
4219
4694
|
createdBy: string;
|
|
4220
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4695
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4221
4696
|
status: "Rejected";
|
|
4222
4697
|
createdByRole?: string | undefined;
|
|
4223
4698
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4353,6 +4828,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4353
4828
|
waitFor?: boolean | undefined;
|
|
4354
4829
|
createdAtLocation?: string | null | undefined;
|
|
4355
4830
|
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;
|
|
4356
4843
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4357
4844
|
eventId: string;
|
|
4358
4845
|
transactionId: string;
|
|
@@ -4637,6 +5124,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4637
5124
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4638
5125
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4639
5126
|
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;
|
|
4640
5141
|
} | {
|
|
4641
5142
|
id: string & import("zod").$brand<"UUID">;
|
|
4642
5143
|
transactionId: string;
|
|
@@ -4828,7 +5329,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4828
5329
|
createdByUserType: "system" | "user";
|
|
4829
5330
|
createdAt: string;
|
|
4830
5331
|
createdBy: string;
|
|
4831
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5332
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
4832
5333
|
status: "Rejected";
|
|
4833
5334
|
createdByRole?: string | undefined;
|
|
4834
5335
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -4958,6 +5459,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4958
5459
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4959
5460
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4960
5461
|
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;
|
|
4961
5476
|
} | {
|
|
4962
5477
|
id: string & import("zod").$brand<"UUID">;
|
|
4963
5478
|
transactionId: string;
|
|
@@ -5149,7 +5664,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5149
5664
|
createdByUserType: "system" | "user";
|
|
5150
5665
|
createdAt: string;
|
|
5151
5666
|
createdBy: string;
|
|
5152
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5667
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
5153
5668
|
status: "Rejected";
|
|
5154
5669
|
createdByRole?: string | undefined;
|
|
5155
5670
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -5335,6 +5850,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5335
5850
|
waitFor?: boolean | undefined;
|
|
5336
5851
|
createdAtLocation?: string | null | undefined;
|
|
5337
5852
|
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;
|
|
5338
5865
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5339
5866
|
eventId: string;
|
|
5340
5867
|
transactionId: string;
|
|
@@ -5630,6 +6157,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5630
6157
|
waitFor?: boolean | undefined;
|
|
5631
6158
|
createdAtLocation?: string | null | undefined;
|
|
5632
6159
|
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;
|
|
5633
6172
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5634
6173
|
eventId: string;
|
|
5635
6174
|
transactionId: string;
|
|
@@ -5925,6 +6464,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5925
6464
|
waitFor?: boolean | undefined;
|
|
5926
6465
|
createdAtLocation?: string | null | undefined;
|
|
5927
6466
|
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;
|
|
5928
6479
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5929
6480
|
eventId: string;
|
|
5930
6481
|
transactionId: string;
|
|
@@ -6212,6 +6763,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6212
6763
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6213
6764
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6214
6765
|
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;
|
|
6215
6780
|
} | {
|
|
6216
6781
|
id: string & import("zod").$brand<"UUID">;
|
|
6217
6782
|
transactionId: string;
|
|
@@ -6403,7 +6968,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6403
6968
|
createdByUserType: "system" | "user";
|
|
6404
6969
|
createdAt: string;
|
|
6405
6970
|
createdBy: string;
|
|
6406
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6971
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6407
6972
|
status: "Rejected";
|
|
6408
6973
|
createdByRole?: string | undefined;
|
|
6409
6974
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6532,6 +7097,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6532
7097
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6533
7098
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6534
7099
|
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;
|
|
6535
7114
|
} | {
|
|
6536
7115
|
id: string & import("zod").$brand<"UUID">;
|
|
6537
7116
|
transactionId: string;
|
|
@@ -6723,7 +7302,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6723
7302
|
createdByUserType: "system" | "user";
|
|
6724
7303
|
createdAt: string;
|
|
6725
7304
|
createdBy: string;
|
|
6726
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7305
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
6727
7306
|
status: "Rejected";
|
|
6728
7307
|
createdByRole?: string | undefined;
|
|
6729
7308
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
@@ -6903,6 +7482,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6903
7482
|
createdAtLocation?: string | null | undefined;
|
|
6904
7483
|
annotation?: Record<string, unknown> | null | undefined;
|
|
6905
7484
|
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;
|
|
6906
7499
|
} | {
|
|
6907
7500
|
id: string;
|
|
6908
7501
|
transactionId: string;
|
|
@@ -7094,7 +7687,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7094
7687
|
createdByUserType: "system" | "user";
|
|
7095
7688
|
createdAt: string;
|
|
7096
7689
|
createdBy: string;
|
|
7097
|
-
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7690
|
+
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
7098
7691
|
status: "Rejected";
|
|
7099
7692
|
createdByRole?: string | undefined;
|
|
7100
7693
|
createdBySignature?: string | null | undefined;
|
|
@@ -7312,7 +7905,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7312
7905
|
count?: number | undefined;
|
|
7313
7906
|
timeStart?: string | undefined;
|
|
7314
7907
|
timeEnd?: string | undefined;
|
|
7315
|
-
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;
|
|
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;
|
|
7316
7909
|
};
|
|
7317
7910
|
output: {
|
|
7318
7911
|
results: {
|
|
@@ -7587,7 +8180,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7587
8180
|
clientId: string;
|
|
7588
8181
|
clientType: "system" | "user";
|
|
7589
8182
|
createdAt: string;
|
|
7590
|
-
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";
|
|
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";
|
|
7591
8184
|
requestData: {
|
|
7592
8185
|
eventId: string;
|
|
7593
8186
|
actionType: string;
|
|
@@ -8177,7 +8770,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8177
8770
|
}[];
|
|
8178
8771
|
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";
|
|
8179
8772
|
action?: {
|
|
8180
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8773
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8181
8774
|
} | undefined;
|
|
8182
8775
|
emptyMessage?: {
|
|
8183
8776
|
id: string;
|