@opencrvs/toolkit 2.1.0-rc.4bddaf2 → 2.1.0-rc.7d9a8f9
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/build.sh +2 -2
- package/dist/application-config/index.js +12 -0
- package/dist/cli.js +165 -5106
- package/dist/commons/api/router.d.ts +723 -130
- package/dist/commons/conditionals/conditionals.d.ts +1589 -37
- package/dist/commons/events/ActionConfig.d.ts +202 -0
- package/dist/commons/events/ActionDocument.d.ts +44 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +22 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +5 -2
- package/dist/commons/events/field.d.ts +722 -34
- 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 +15 -1
- package/dist/conditionals/index.js +2 -0
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.js +17 -7
- package/dist/events/index.js +166 -18
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5144
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +131 -11
- package/dist/scopes/index.d.ts +7 -1
- package/dist/scopes/index.js +2 -0
- package/opencrvs-toolkit-2.1.0-rc.7d9a8f9.tgz +0 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.4bddaf2.tgz +0 -0
|
@@ -4,14 +4,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4
4
|
user: {
|
|
5
5
|
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
|
-
signature?: undefined;
|
|
8
7
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
8
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
signature?: undefined;
|
|
10
10
|
} | {
|
|
11
11
|
id: string & import("zod").$brand<"UUID">;
|
|
12
|
-
type: "user";
|
|
13
12
|
role: string;
|
|
14
13
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
14
|
+
type: "user";
|
|
15
15
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
16
16
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
17
17
|
};
|
|
@@ -26,14 +26,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
user: {
|
|
27
27
|
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
|
-
signature?: undefined;
|
|
30
29
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
30
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
signature?: undefined;
|
|
32
32
|
} | {
|
|
33
33
|
id: string & import("zod").$brand<"UUID">;
|
|
34
|
-
type: "user";
|
|
35
34
|
role: string;
|
|
36
35
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
36
|
+
type: "user";
|
|
37
37
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
38
38
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
39
39
|
};
|
|
@@ -48,14 +48,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
user: {
|
|
49
49
|
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
|
-
signature?: undefined;
|
|
52
51
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
52
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
signature?: undefined;
|
|
54
54
|
} | {
|
|
55
55
|
id: string & import("zod").$brand<"UUID">;
|
|
56
|
-
type: "user";
|
|
57
56
|
role: string;
|
|
58
57
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
58
|
+
type: "user";
|
|
59
59
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
60
60
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
61
61
|
};
|
|
@@ -94,14 +94,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
user: {
|
|
95
95
|
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
|
-
signature?: undefined;
|
|
98
97
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
98
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
+
signature?: undefined;
|
|
100
100
|
} | {
|
|
101
101
|
id: string & import("zod").$brand<"UUID">;
|
|
102
|
-
type: "user";
|
|
103
102
|
role: string;
|
|
104
103
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
104
|
+
type: "user";
|
|
105
105
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
106
106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
107
107
|
};
|
|
@@ -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;
|
|
@@ -1066,14 +1108,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1066
1108
|
user: {
|
|
1067
1109
|
id: string & import("zod").$brand<"UUID">;
|
|
1068
1110
|
type: "system";
|
|
1069
|
-
signature?: undefined;
|
|
1070
1111
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1071
1112
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1113
|
+
signature?: undefined;
|
|
1072
1114
|
} | {
|
|
1073
1115
|
id: string & import("zod").$brand<"UUID">;
|
|
1074
|
-
type: "user";
|
|
1075
1116
|
role: string;
|
|
1076
1117
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1118
|
+
type: "user";
|
|
1077
1119
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1078
1120
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1079
1121
|
};
|
|
@@ -1090,13 +1132,13 @@ 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";
|
|
1094
1135
|
transactionId: string;
|
|
1095
1136
|
createdByUserType: "system" | "user";
|
|
1096
1137
|
createdAt: string;
|
|
1097
1138
|
createdBy: string;
|
|
1098
1139
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1099
1140
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1141
|
+
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";
|
|
1100
1142
|
createdByRole?: string | undefined;
|
|
1101
1143
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1102
1144
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1107,17 +1149,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1107
1149
|
}>;
|
|
1108
1150
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1109
1151
|
input: {
|
|
1110
|
-
transactionId: string;
|
|
1111
1152
|
eventId: string;
|
|
1112
|
-
|
|
1153
|
+
transactionId: 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";
|
|
1113
1155
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
|
-
createdAtLocation?: string | null | undefined;
|
|
1115
1156
|
declaration?: Record<string, unknown> | undefined;
|
|
1116
1157
|
annotation?: Record<string, unknown> | undefined;
|
|
1117
1158
|
originalActionId?: string | undefined;
|
|
1118
1159
|
keepAssignment?: boolean | undefined;
|
|
1119
1160
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1120
1161
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1162
|
+
createdAtLocation?: string | null | undefined;
|
|
1121
1163
|
};
|
|
1122
1164
|
output: {
|
|
1123
1165
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1125,13 +1167,13 @@ 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";
|
|
1129
1170
|
transactionId: string;
|
|
1130
1171
|
createdByUserType: "system" | "user";
|
|
1131
1172
|
createdAt: string;
|
|
1132
1173
|
createdBy: string;
|
|
1133
1174
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1134
1175
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1176
|
+
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";
|
|
1135
1177
|
createdByRole?: string | undefined;
|
|
1136
1178
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1137
1179
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1147,14 +1189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1147
1189
|
user: {
|
|
1148
1190
|
id: string & import("zod").$brand<"UUID">;
|
|
1149
1191
|
type: "system";
|
|
1150
|
-
signature?: undefined;
|
|
1151
1192
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1152
1193
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1194
|
+
signature?: undefined;
|
|
1153
1195
|
} | {
|
|
1154
1196
|
id: string & import("zod").$brand<"UUID">;
|
|
1155
|
-
type: "user";
|
|
1156
1197
|
role: string;
|
|
1157
1198
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1199
|
+
type: "user";
|
|
1158
1200
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1159
1201
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1160
1202
|
};
|
|
@@ -1169,14 +1211,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1169
1211
|
user: {
|
|
1170
1212
|
id: string & import("zod").$brand<"UUID">;
|
|
1171
1213
|
type: "system";
|
|
1172
|
-
signature?: undefined;
|
|
1173
1214
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1174
1215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1216
|
+
signature?: undefined;
|
|
1175
1217
|
} | {
|
|
1176
1218
|
id: string & import("zod").$brand<"UUID">;
|
|
1177
|
-
type: "user";
|
|
1178
1219
|
role: string;
|
|
1179
1220
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1221
|
+
type: "user";
|
|
1180
1222
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1181
1223
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1182
1224
|
};
|
|
@@ -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;
|
|
@@ -1464,14 +1518,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1464
1518
|
user: {
|
|
1465
1519
|
id: string & import("zod").$brand<"UUID">;
|
|
1466
1520
|
type: "system";
|
|
1467
|
-
signature?: undefined;
|
|
1468
1521
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1469
1522
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1523
|
+
signature?: undefined;
|
|
1470
1524
|
} | {
|
|
1471
1525
|
id: string & import("zod").$brand<"UUID">;
|
|
1472
|
-
type: "user";
|
|
1473
1526
|
role: string;
|
|
1474
1527
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1528
|
+
type: "user";
|
|
1475
1529
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1476
1530
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1477
1531
|
};
|
|
@@ -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;
|
|
@@ -1806,14 +1874,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
1874
|
user: {
|
|
1807
1875
|
id: string & import("zod").$brand<"UUID">;
|
|
1808
1876
|
type: "system";
|
|
1809
|
-
signature?: undefined;
|
|
1810
1877
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1811
1878
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1879
|
+
signature?: undefined;
|
|
1812
1880
|
} | {
|
|
1813
1881
|
id: string & import("zod").$brand<"UUID">;
|
|
1814
|
-
type: "user";
|
|
1815
1882
|
role: string;
|
|
1816
1883
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1884
|
+
type: "user";
|
|
1817
1885
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1818
1886
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
1887
|
};
|
|
@@ -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,18 @@ 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;
|
|
2270
2364
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2271
2365
|
eventId: string;
|
|
2272
2366
|
transactionId: string;
|
|
@@ -2416,14 +2510,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2416
2510
|
user: {
|
|
2417
2511
|
id: string & import("zod").$brand<"UUID">;
|
|
2418
2512
|
type: "system";
|
|
2419
|
-
signature?: undefined;
|
|
2420
2513
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2421
2514
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2515
|
+
signature?: undefined;
|
|
2422
2516
|
} | {
|
|
2423
2517
|
id: string & import("zod").$brand<"UUID">;
|
|
2424
|
-
type: "user";
|
|
2425
2518
|
role: string;
|
|
2426
2519
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2520
|
+
type: "user";
|
|
2427
2521
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2428
2522
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2429
2523
|
};
|
|
@@ -2562,6 +2656,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2562
2656
|
waitFor?: boolean | undefined;
|
|
2563
2657
|
createdAtLocation?: string | null | undefined;
|
|
2564
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;
|
|
2565
2671
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2566
2672
|
eventId: string;
|
|
2567
2673
|
transactionId: string;
|
|
@@ -2711,14 +2817,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2711
2817
|
user: {
|
|
2712
2818
|
id: string & import("zod").$brand<"UUID">;
|
|
2713
2819
|
type: "system";
|
|
2714
|
-
signature?: undefined;
|
|
2715
2820
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2716
2821
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2822
|
+
signature?: undefined;
|
|
2717
2823
|
} | {
|
|
2718
2824
|
id: string & import("zod").$brand<"UUID">;
|
|
2719
|
-
type: "user";
|
|
2720
2825
|
role: string;
|
|
2721
2826
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2827
|
+
type: "user";
|
|
2722
2828
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2723
2829
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2724
2830
|
};
|
|
@@ -2857,6 +2963,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2857
2963
|
waitFor?: boolean | undefined;
|
|
2858
2964
|
createdAtLocation?: string | null | undefined;
|
|
2859
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;
|
|
2860
2978
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2861
2979
|
eventId: string;
|
|
2862
2980
|
transactionId: string;
|
|
@@ -3006,14 +3124,321 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3006
3124
|
user: {
|
|
3007
3125
|
id: string & import("zod").$brand<"UUID">;
|
|
3008
3126
|
type: "system";
|
|
3009
|
-
signature?: undefined;
|
|
3010
3127
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3011
3128
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3129
|
+
signature?: undefined;
|
|
3012
3130
|
} | {
|
|
3013
3131
|
id: string & import("zod").$brand<"UUID">;
|
|
3132
|
+
role: string;
|
|
3133
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3014
3134
|
type: "user";
|
|
3135
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3136
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3137
|
+
};
|
|
3138
|
+
}>;
|
|
3139
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3140
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
3141
|
+
transformer: true;
|
|
3142
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3143
|
+
request: import("@trpc/server").TRPCMutationProcedure<{
|
|
3144
|
+
input: import("../commons").ActionInput;
|
|
3145
|
+
output: import("../commons").EventDocument;
|
|
3146
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3147
|
+
}>;
|
|
3148
|
+
accept: import("@trpc/server").TRPCMutationProcedure<{
|
|
3149
|
+
input: (Omit<{
|
|
3150
|
+
eventId: string;
|
|
3151
|
+
transactionId: string;
|
|
3152
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3153
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3154
|
+
originalActionId?: string | undefined;
|
|
3155
|
+
keepAssignment?: boolean | undefined;
|
|
3156
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3157
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3158
|
+
waitFor?: boolean | undefined;
|
|
3159
|
+
type?: "CREATE" | undefined;
|
|
3160
|
+
createdAtLocation?: string | null | undefined;
|
|
3161
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3162
|
+
eventId: string;
|
|
3163
|
+
transactionId: string;
|
|
3164
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3165
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3166
|
+
originalActionId?: string | undefined;
|
|
3167
|
+
keepAssignment?: boolean | undefined;
|
|
3168
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3169
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3170
|
+
waitFor?: boolean | undefined;
|
|
3171
|
+
createdAtLocation?: string | null | undefined;
|
|
3172
|
+
type?: "REGISTER" | undefined;
|
|
3173
|
+
registrationNumber?: string | undefined;
|
|
3174
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3175
|
+
eventId: string;
|
|
3176
|
+
transactionId: string;
|
|
3177
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3178
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3179
|
+
originalActionId?: string | undefined;
|
|
3180
|
+
keepAssignment?: boolean | undefined;
|
|
3181
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3182
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3183
|
+
waitFor?: boolean | undefined;
|
|
3184
|
+
type?: "NOTIFY" | undefined;
|
|
3185
|
+
createdAtLocation?: string | null | undefined;
|
|
3186
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3187
|
+
eventId: string;
|
|
3188
|
+
transactionId: string;
|
|
3189
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3190
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3191
|
+
originalActionId?: string | undefined;
|
|
3192
|
+
keepAssignment?: boolean | undefined;
|
|
3193
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3194
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3195
|
+
waitFor?: boolean | undefined;
|
|
3196
|
+
createdAtLocation?: string | null | undefined;
|
|
3197
|
+
type?: "DECLARE" | undefined;
|
|
3198
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3199
|
+
eventId: string;
|
|
3200
|
+
transactionId: string;
|
|
3201
|
+
content: {
|
|
3202
|
+
reason: string;
|
|
3203
|
+
};
|
|
3204
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3205
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3206
|
+
originalActionId?: string | undefined;
|
|
3207
|
+
keepAssignment?: boolean | undefined;
|
|
3208
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3209
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3210
|
+
waitFor?: boolean | undefined;
|
|
3211
|
+
createdAtLocation?: string | null | undefined;
|
|
3212
|
+
type?: "REJECT" | undefined;
|
|
3213
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3214
|
+
eventId: string;
|
|
3215
|
+
transactionId: string;
|
|
3216
|
+
content: {
|
|
3217
|
+
duplicates: {
|
|
3218
|
+
id: string;
|
|
3219
|
+
trackingId: string;
|
|
3220
|
+
}[];
|
|
3221
|
+
};
|
|
3222
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3223
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3224
|
+
originalActionId?: string | undefined;
|
|
3225
|
+
keepAssignment?: boolean | undefined;
|
|
3226
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3227
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3228
|
+
waitFor?: boolean | undefined;
|
|
3229
|
+
createdAtLocation?: string | null | undefined;
|
|
3230
|
+
type?: "DUPLICATE_DETECTED" | undefined;
|
|
3231
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3232
|
+
eventId: string;
|
|
3233
|
+
transactionId: string;
|
|
3234
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3235
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3236
|
+
originalActionId?: string | undefined;
|
|
3237
|
+
keepAssignment?: boolean | undefined;
|
|
3238
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3239
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3240
|
+
waitFor?: boolean | undefined;
|
|
3241
|
+
createdAtLocation?: string | null | undefined;
|
|
3242
|
+
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
3243
|
+
content?: {
|
|
3244
|
+
duplicateOf: string;
|
|
3245
|
+
} | undefined;
|
|
3246
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3247
|
+
eventId: string;
|
|
3248
|
+
transactionId: string;
|
|
3249
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3250
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3251
|
+
originalActionId?: string | undefined;
|
|
3252
|
+
keepAssignment?: boolean | undefined;
|
|
3253
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3254
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3255
|
+
waitFor?: boolean | undefined;
|
|
3256
|
+
createdAtLocation?: string | null | undefined;
|
|
3257
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3258
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3259
|
+
eventId: string;
|
|
3260
|
+
transactionId: string;
|
|
3261
|
+
content: {
|
|
3262
|
+
reason: string;
|
|
3263
|
+
};
|
|
3264
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3265
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3266
|
+
originalActionId?: string | undefined;
|
|
3267
|
+
keepAssignment?: boolean | undefined;
|
|
3268
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3269
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3270
|
+
waitFor?: boolean | undefined;
|
|
3271
|
+
createdAtLocation?: string | null | undefined;
|
|
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;
|
|
3285
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3286
|
+
eventId: string;
|
|
3287
|
+
transactionId: string;
|
|
3288
|
+
type: "ASSIGN";
|
|
3289
|
+
assignedTo: string;
|
|
3290
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3291
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3292
|
+
originalActionId?: string | undefined;
|
|
3293
|
+
keepAssignment?: boolean | undefined;
|
|
3294
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3295
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3296
|
+
waitFor?: boolean | undefined;
|
|
3297
|
+
createdAtLocation?: string | null | undefined;
|
|
3298
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3299
|
+
eventId: string;
|
|
3300
|
+
transactionId: string;
|
|
3301
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3302
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3303
|
+
originalActionId?: string | undefined;
|
|
3304
|
+
keepAssignment?: boolean | undefined;
|
|
3305
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3306
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3307
|
+
waitFor?: boolean | undefined;
|
|
3308
|
+
createdAtLocation?: string | null | undefined;
|
|
3309
|
+
type?: "UNASSIGN" | undefined;
|
|
3310
|
+
assignedTo?: null | undefined;
|
|
3311
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3312
|
+
eventId: string;
|
|
3313
|
+
transactionId: string;
|
|
3314
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3315
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3316
|
+
originalActionId?: string | undefined;
|
|
3317
|
+
keepAssignment?: boolean | undefined;
|
|
3318
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3319
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3320
|
+
waitFor?: boolean | undefined;
|
|
3321
|
+
createdAtLocation?: string | null | undefined;
|
|
3322
|
+
type?: "PRINT_CERTIFICATE" | undefined;
|
|
3323
|
+
content?: {
|
|
3324
|
+
templateId?: string | undefined;
|
|
3325
|
+
} | undefined;
|
|
3326
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3327
|
+
eventId: string;
|
|
3328
|
+
transactionId: string;
|
|
3329
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3330
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3331
|
+
originalActionId?: string | undefined;
|
|
3332
|
+
keepAssignment?: boolean | undefined;
|
|
3333
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3334
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3335
|
+
waitFor?: boolean | undefined;
|
|
3336
|
+
createdAtLocation?: string | null | undefined;
|
|
3337
|
+
type?: "REQUEST_CORRECTION" | undefined;
|
|
3338
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3339
|
+
eventId: string;
|
|
3340
|
+
transactionId: string;
|
|
3341
|
+
requestId: string;
|
|
3342
|
+
content: {
|
|
3343
|
+
reason: string;
|
|
3344
|
+
};
|
|
3345
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3346
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3347
|
+
originalActionId?: string | undefined;
|
|
3348
|
+
keepAssignment?: boolean | undefined;
|
|
3349
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3350
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3351
|
+
waitFor?: boolean | undefined;
|
|
3352
|
+
createdAtLocation?: string | null | undefined;
|
|
3353
|
+
type?: "REJECT_CORRECTION" | undefined;
|
|
3354
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3355
|
+
eventId: string;
|
|
3356
|
+
transactionId: string;
|
|
3357
|
+
requestId: string;
|
|
3358
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3359
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3360
|
+
originalActionId?: string | undefined;
|
|
3361
|
+
keepAssignment?: boolean | undefined;
|
|
3362
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3363
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3364
|
+
waitFor?: boolean | undefined;
|
|
3365
|
+
createdAtLocation?: string | null | undefined;
|
|
3366
|
+
type?: "APPROVE_CORRECTION" | undefined;
|
|
3367
|
+
content?: {
|
|
3368
|
+
immediateCorrection?: boolean | undefined;
|
|
3369
|
+
} | undefined;
|
|
3370
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3371
|
+
eventId: string;
|
|
3372
|
+
transactionId: string;
|
|
3373
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3374
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3375
|
+
originalActionId?: string | undefined;
|
|
3376
|
+
keepAssignment?: boolean | undefined;
|
|
3377
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3378
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3379
|
+
waitFor?: boolean | undefined;
|
|
3380
|
+
createdAtLocation?: string | null | undefined;
|
|
3381
|
+
type?: "READ" | undefined;
|
|
3382
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3383
|
+
eventId: string;
|
|
3384
|
+
transactionId: string;
|
|
3385
|
+
customActionType: string;
|
|
3386
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3387
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3388
|
+
originalActionId?: string | undefined;
|
|
3389
|
+
keepAssignment?: boolean | undefined;
|
|
3390
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3391
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3392
|
+
waitFor?: boolean | undefined;
|
|
3393
|
+
createdAtLocation?: string | null | undefined;
|
|
3394
|
+
type?: "CUSTOM" | undefined;
|
|
3395
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3396
|
+
eventId: string;
|
|
3397
|
+
transactionId: string;
|
|
3398
|
+
content: {
|
|
3399
|
+
comment?: string | undefined;
|
|
3400
|
+
};
|
|
3401
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3402
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3403
|
+
originalActionId?: string | undefined;
|
|
3404
|
+
keepAssignment?: boolean | undefined;
|
|
3405
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3406
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3407
|
+
waitFor?: boolean | undefined;
|
|
3408
|
+
createdAtLocation?: string | null | undefined;
|
|
3409
|
+
type?: "EDIT" | undefined;
|
|
3410
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected">) & {
|
|
3411
|
+
actionId: string;
|
|
3412
|
+
};
|
|
3413
|
+
output: import("../commons").EventDocument;
|
|
3414
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3415
|
+
}>;
|
|
3416
|
+
reject: import("@trpc/server").TRPCMutationProcedure<{
|
|
3417
|
+
input: import("zod").input<import("zod").ZodObject<{
|
|
3418
|
+
transactionId: import("zod").ZodString;
|
|
3419
|
+
eventId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3420
|
+
keepAssignment: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3421
|
+
waitFor: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
3422
|
+
actionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "UUID", "out">;
|
|
3423
|
+
}, import("zod/v4/core").$strip>>;
|
|
3424
|
+
output: import("../commons").EventDocument;
|
|
3425
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3426
|
+
}>;
|
|
3427
|
+
}>>;
|
|
3428
|
+
unarchive: import("@trpc/server").TRPCBuiltRouter<{
|
|
3429
|
+
ctx: Partial<{
|
|
3430
|
+
token: `Bearer ${string}`;
|
|
3431
|
+
user: {
|
|
3432
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3433
|
+
type: "system";
|
|
3434
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3435
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3436
|
+
signature?: undefined;
|
|
3437
|
+
} | {
|
|
3438
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3015
3439
|
role: string;
|
|
3016
3440
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3441
|
+
type: "user";
|
|
3017
3442
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3018
3443
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3019
3444
|
};
|
|
@@ -3136,13 +3561,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3136
3561
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3137
3562
|
waitFor?: boolean | undefined;
|
|
3138
3563
|
createdAtLocation?: string | null | undefined;
|
|
3139
|
-
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3564
|
+
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3565
|
+
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3566
|
+
eventId: string;
|
|
3567
|
+
transactionId: string;
|
|
3568
|
+
content: {
|
|
3569
|
+
reason: string;
|
|
3570
|
+
};
|
|
3571
|
+
declaration?: Record<string, unknown> | undefined;
|
|
3572
|
+
annotation?: Record<string, unknown> | undefined;
|
|
3573
|
+
originalActionId?: string | undefined;
|
|
3574
|
+
keepAssignment?: boolean | undefined;
|
|
3575
|
+
keepAssignmentIfAccepted?: boolean | undefined;
|
|
3576
|
+
keepAssignmentIfRejected?: boolean | undefined;
|
|
3577
|
+
waitFor?: boolean | undefined;
|
|
3578
|
+
createdAtLocation?: string | null | undefined;
|
|
3579
|
+
type?: "ARCHIVE" | undefined;
|
|
3140
3580
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3141
3581
|
eventId: string;
|
|
3142
3582
|
transactionId: string;
|
|
3143
|
-
content: {
|
|
3144
|
-
reason: string;
|
|
3145
|
-
};
|
|
3146
3583
|
declaration?: Record<string, unknown> | undefined;
|
|
3147
3584
|
annotation?: Record<string, unknown> | undefined;
|
|
3148
3585
|
originalActionId?: string | undefined;
|
|
@@ -3151,7 +3588,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3151
3588
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
3152
3589
|
waitFor?: boolean | undefined;
|
|
3153
3590
|
createdAtLocation?: string | null | undefined;
|
|
3154
|
-
type?: "
|
|
3591
|
+
type?: "UNARCHIVE" | undefined;
|
|
3155
3592
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3156
3593
|
eventId: string;
|
|
3157
3594
|
transactionId: string;
|
|
@@ -3301,14 +3738,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3301
3738
|
user: {
|
|
3302
3739
|
id: string & import("zod").$brand<"UUID">;
|
|
3303
3740
|
type: "system";
|
|
3304
|
-
signature?: undefined;
|
|
3305
3741
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3306
3742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3743
|
+
signature?: undefined;
|
|
3307
3744
|
} | {
|
|
3308
3745
|
id: string & import("zod").$brand<"UUID">;
|
|
3309
|
-
type: "user";
|
|
3310
3746
|
role: string;
|
|
3311
3747
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3748
|
+
type: "user";
|
|
3312
3749
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3313
3750
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3314
3751
|
};
|
|
@@ -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;
|
|
@@ -3596,14 +4045,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
4045
|
user: {
|
|
3597
4046
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
4047
|
type: "system";
|
|
3599
|
-
signature?: undefined;
|
|
3600
4048
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3601
4049
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4050
|
+
signature?: undefined;
|
|
3602
4051
|
} | {
|
|
3603
4052
|
id: string & import("zod").$brand<"UUID">;
|
|
3604
|
-
type: "user";
|
|
3605
4053
|
role: string;
|
|
3606
4054
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4055
|
+
type: "user";
|
|
3607
4056
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3608
4057
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3609
4058
|
};
|
|
@@ -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;
|
|
@@ -3891,14 +4352,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3891
4352
|
user: {
|
|
3892
4353
|
id: string & import("zod").$brand<"UUID">;
|
|
3893
4354
|
type: "system";
|
|
3894
|
-
signature?: undefined;
|
|
3895
4355
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3896
4356
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4357
|
+
signature?: undefined;
|
|
3897
4358
|
} | {
|
|
3898
4359
|
id: string & import("zod").$brand<"UUID">;
|
|
3899
|
-
type: "user";
|
|
3900
4360
|
role: string;
|
|
3901
4361
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4362
|
+
type: "user";
|
|
3902
4363
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3903
4364
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3904
4365
|
};
|
|
@@ -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;
|
|
@@ -4502,14 +4989,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4502
4989
|
user: {
|
|
4503
4990
|
id: string & import("zod").$brand<"UUID">;
|
|
4504
4991
|
type: "system";
|
|
4505
|
-
signature?: undefined;
|
|
4506
4992
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4507
4993
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4994
|
+
signature?: undefined;
|
|
4508
4995
|
} | {
|
|
4509
4996
|
id: string & import("zod").$brand<"UUID">;
|
|
4510
|
-
type: "user";
|
|
4511
4997
|
role: string;
|
|
4512
4998
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4999
|
+
type: "user";
|
|
4513
5000
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4514
5001
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4515
5002
|
};
|
|
@@ -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;
|
|
@@ -5167,14 +5682,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5167
5682
|
user: {
|
|
5168
5683
|
id: string & import("zod").$brand<"UUID">;
|
|
5169
5684
|
type: "system";
|
|
5170
|
-
signature?: undefined;
|
|
5171
5685
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5172
5686
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5687
|
+
signature?: undefined;
|
|
5173
5688
|
} | {
|
|
5174
5689
|
id: string & import("zod").$brand<"UUID">;
|
|
5175
|
-
type: "user";
|
|
5176
5690
|
role: string;
|
|
5177
5691
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5692
|
+
type: "user";
|
|
5178
5693
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5179
5694
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5180
5695
|
};
|
|
@@ -5189,14 +5704,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5189
5704
|
user: {
|
|
5190
5705
|
id: string & import("zod").$brand<"UUID">;
|
|
5191
5706
|
type: "system";
|
|
5192
|
-
signature?: undefined;
|
|
5193
5707
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5194
5708
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5709
|
+
signature?: undefined;
|
|
5195
5710
|
} | {
|
|
5196
5711
|
id: string & import("zod").$brand<"UUID">;
|
|
5197
|
-
type: "user";
|
|
5198
5712
|
role: string;
|
|
5199
5713
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5714
|
+
type: "user";
|
|
5200
5715
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5201
5716
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5202
5717
|
};
|
|
@@ -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;
|
|
@@ -5484,14 +6011,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5484
6011
|
user: {
|
|
5485
6012
|
id: string & import("zod").$brand<"UUID">;
|
|
5486
6013
|
type: "system";
|
|
5487
|
-
signature?: undefined;
|
|
5488
6014
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5489
6015
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6016
|
+
signature?: undefined;
|
|
5490
6017
|
} | {
|
|
5491
6018
|
id: string & import("zod").$brand<"UUID">;
|
|
5492
|
-
type: "user";
|
|
5493
6019
|
role: string;
|
|
5494
6020
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6021
|
+
type: "user";
|
|
5495
6022
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5496
6023
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5497
6024
|
};
|
|
@@ -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;
|
|
@@ -5779,14 +6318,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5779
6318
|
user: {
|
|
5780
6319
|
id: string & import("zod").$brand<"UUID">;
|
|
5781
6320
|
type: "system";
|
|
5782
|
-
signature?: undefined;
|
|
5783
6321
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5784
6322
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6323
|
+
signature?: undefined;
|
|
5785
6324
|
} | {
|
|
5786
6325
|
id: string & import("zod").$brand<"UUID">;
|
|
5787
|
-
type: "user";
|
|
5788
6326
|
role: string;
|
|
5789
6327
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6328
|
+
type: "user";
|
|
5790
6329
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5791
6330
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5792
6331
|
};
|
|
@@ -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;
|
|
@@ -6075,14 +6626,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6075
6626
|
user: {
|
|
6076
6627
|
id: string & import("zod").$brand<"UUID">;
|
|
6077
6628
|
type: "system";
|
|
6078
|
-
signature?: undefined;
|
|
6079
6629
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6080
6630
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6631
|
+
signature?: undefined;
|
|
6081
6632
|
} | {
|
|
6082
6633
|
id: string & import("zod").$brand<"UUID">;
|
|
6083
|
-
type: "user";
|
|
6084
6634
|
role: string;
|
|
6085
6635
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6636
|
+
type: "user";
|
|
6086
6637
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6087
6638
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6088
6639
|
};
|
|
@@ -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;
|
|
@@ -6747,7 +7326,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6747
7326
|
results: {
|
|
6748
7327
|
id: string & import("zod").$brand<"UUID">;
|
|
6749
7328
|
type: string;
|
|
6750
|
-
status: "
|
|
7329
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
6751
7330
|
legalStatuses: {
|
|
6752
7331
|
NOTIFIED?: {
|
|
6753
7332
|
createdAt: string;
|
|
@@ -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;
|
|
@@ -7113,14 +7706,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7113
7706
|
user: {
|
|
7114
7707
|
id: string & import("zod").$brand<"UUID">;
|
|
7115
7708
|
type: "system";
|
|
7116
|
-
signature?: undefined;
|
|
7117
7709
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7118
7710
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7711
|
+
signature?: undefined;
|
|
7119
7712
|
} | {
|
|
7120
7713
|
id: string & import("zod").$brand<"UUID">;
|
|
7121
|
-
type: "user";
|
|
7122
7714
|
role: string;
|
|
7123
7715
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7716
|
+
type: "user";
|
|
7124
7717
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7125
7718
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7126
7719
|
};
|
|
@@ -7171,11 +7764,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7171
7764
|
};
|
|
7172
7765
|
role: string;
|
|
7173
7766
|
primaryOfficeId: string;
|
|
7174
|
-
data?: Record<string, unknown> | undefined;
|
|
7175
|
-
fullHonorificName?: string | undefined;
|
|
7176
7767
|
device?: string | undefined;
|
|
7177
|
-
|
|
7768
|
+
fullHonorificName?: string | undefined;
|
|
7178
7769
|
mobile?: string | undefined;
|
|
7770
|
+
email?: string | undefined;
|
|
7771
|
+
data?: Record<string, unknown> | undefined;
|
|
7179
7772
|
username?: undefined;
|
|
7180
7773
|
password?: undefined;
|
|
7181
7774
|
signature?: {
|
|
@@ -7208,17 +7801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7208
7801
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7209
7802
|
input: {
|
|
7210
7803
|
id: string;
|
|
7211
|
-
data?: Record<string, unknown> | undefined;
|
|
7212
7804
|
name?: {
|
|
7213
7805
|
firstname: string;
|
|
7214
7806
|
surname: string;
|
|
7215
7807
|
} | undefined;
|
|
7216
7808
|
role?: string | undefined;
|
|
7217
|
-
fullHonorificName?: string | undefined;
|
|
7218
|
-
device?: string | undefined;
|
|
7219
7809
|
primaryOfficeId?: string | undefined;
|
|
7220
|
-
|
|
7810
|
+
device?: string | undefined;
|
|
7811
|
+
fullHonorificName?: string | undefined;
|
|
7221
7812
|
mobile?: string | undefined;
|
|
7813
|
+
email?: string | undefined;
|
|
7814
|
+
data?: Record<string, unknown> | undefined;
|
|
7222
7815
|
signature?: {
|
|
7223
7816
|
path: string;
|
|
7224
7817
|
originalFilename: string;
|
|
@@ -7251,20 +7844,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7251
7844
|
input: string[];
|
|
7252
7845
|
output: ({
|
|
7253
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7254
|
-
type: "user";
|
|
7255
7847
|
name: {
|
|
7256
7848
|
firstname: string;
|
|
7257
7849
|
surname: string;
|
|
7258
7850
|
};
|
|
7259
7851
|
role: string;
|
|
7260
7852
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7261
|
-
|
|
7853
|
+
type: "user";
|
|
7262
7854
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7263
7855
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7856
|
+
fullHonorificName?: string | undefined;
|
|
7264
7857
|
} | {
|
|
7265
7858
|
id: string & import("zod").$brand<"UUID">;
|
|
7266
|
-
type: "system";
|
|
7267
7859
|
name: string;
|
|
7860
|
+
type: "system";
|
|
7268
7861
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7269
7862
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7270
7863
|
})[];
|
|
@@ -7284,21 +7877,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7284
7877
|
};
|
|
7285
7878
|
output: ({
|
|
7286
7879
|
id: string & import("zod").$brand<"UUID">;
|
|
7287
|
-
type: "user";
|
|
7288
7880
|
name: {
|
|
7289
7881
|
firstname: string;
|
|
7290
7882
|
surname: string;
|
|
7291
7883
|
};
|
|
7292
7884
|
role: string;
|
|
7293
7885
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7886
|
+
type: "user";
|
|
7294
7887
|
status: "active" | "pending" | "deactivated";
|
|
7295
|
-
fullHonorificName?: string | undefined;
|
|
7296
7888
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7297
7889
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7890
|
+
fullHonorificName?: string | undefined;
|
|
7298
7891
|
} | {
|
|
7299
7892
|
id: string & import("zod").$brand<"UUID">;
|
|
7300
|
-
type: "system";
|
|
7301
7893
|
name: string;
|
|
7894
|
+
type: "system";
|
|
7302
7895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7303
7896
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7304
7897
|
status?: "active" | "pending" | "deactivated" | 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: {
|
|
@@ -7349,14 +7942,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7349
7942
|
user: {
|
|
7350
7943
|
id: string & import("zod").$brand<"UUID">;
|
|
7351
7944
|
type: "system";
|
|
7352
|
-
signature?: undefined;
|
|
7353
7945
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7354
7946
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7947
|
+
signature?: undefined;
|
|
7355
7948
|
} | {
|
|
7356
7949
|
id: string & import("zod").$brand<"UUID">;
|
|
7357
|
-
type: "user";
|
|
7358
7950
|
role: string;
|
|
7359
7951
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7952
|
+
type: "user";
|
|
7360
7953
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7361
7954
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7362
7955
|
};
|
|
@@ -7473,14 +8066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7473
8066
|
user: {
|
|
7474
8067
|
id: string & import("zod").$brand<"UUID">;
|
|
7475
8068
|
type: "system";
|
|
7476
|
-
signature?: undefined;
|
|
7477
8069
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
8070
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8071
|
+
signature?: undefined;
|
|
7479
8072
|
} | {
|
|
7480
8073
|
id: string & import("zod").$brand<"UUID">;
|
|
7481
|
-
type: "user";
|
|
7482
8074
|
role: string;
|
|
7483
8075
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8076
|
+
type: "user";
|
|
7484
8077
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7485
8078
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7486
8079
|
};
|
|
@@ -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.
|
|
8183
|
+
operation: "event.actions.archive.request" | "event.actions.assign.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.correction.request.request" | "event.actions.declare.request" | "event.actions.edit.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request" | "event.actions.notify.request" | "event.actions.print_certificate.request" | "event.actions.read.request" | "event.actions.register.request" | "event.actions.reinstate.request" | "event.actions.reject.request" | "event.actions.unarchive.request" | "event.actions.unassign.request" | "event.actions.validate.request";
|
|
7591
8184
|
requestData: {
|
|
7592
8185
|
eventId: string;
|
|
7593
8186
|
actionType: string;
|
|
@@ -7766,14 +8359,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7766
8359
|
user: {
|
|
7767
8360
|
id: string & import("zod").$brand<"UUID">;
|
|
7768
8361
|
type: "system";
|
|
7769
|
-
signature?: undefined;
|
|
7770
8362
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
8363
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8364
|
+
signature?: undefined;
|
|
7772
8365
|
} | {
|
|
7773
8366
|
id: string & import("zod").$brand<"UUID">;
|
|
7774
|
-
type: "user";
|
|
7775
8367
|
role: string;
|
|
7776
8368
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8369
|
+
type: "user";
|
|
7777
8370
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7778
8371
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7779
8372
|
};
|
|
@@ -7839,14 +8432,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7839
8432
|
user: {
|
|
7840
8433
|
id: string & import("zod").$brand<"UUID">;
|
|
7841
8434
|
type: "system";
|
|
7842
|
-
signature?: undefined;
|
|
7843
8435
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
8436
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8437
|
+
signature?: undefined;
|
|
7845
8438
|
} | {
|
|
7846
8439
|
id: string & import("zod").$brand<"UUID">;
|
|
7847
|
-
type: "user";
|
|
7848
8440
|
role: string;
|
|
7849
8441
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8442
|
+
type: "user";
|
|
7850
8443
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7851
8444
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7852
8445
|
};
|
|
@@ -7861,14 +8454,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7861
8454
|
user: {
|
|
7862
8455
|
id: string & import("zod").$brand<"UUID">;
|
|
7863
8456
|
type: "system";
|
|
7864
|
-
signature?: undefined;
|
|
7865
8457
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
8458
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8459
|
+
signature?: undefined;
|
|
7867
8460
|
} | {
|
|
7868
8461
|
id: string & import("zod").$brand<"UUID">;
|
|
7869
|
-
type: "user";
|
|
7870
8462
|
role: string;
|
|
7871
8463
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8464
|
+
type: "user";
|
|
7872
8465
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7873
8466
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7874
8467
|
};
|
|
@@ -7892,10 +8485,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7892
8485
|
eventType?: string | undefined;
|
|
7893
8486
|
status?: {
|
|
7894
8487
|
type: "anyOf";
|
|
7895
|
-
terms: ("
|
|
8488
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7896
8489
|
} | {
|
|
7897
8490
|
type: "exact";
|
|
7898
|
-
term: "
|
|
8491
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7899
8492
|
} | undefined;
|
|
7900
8493
|
createdAt?: {
|
|
7901
8494
|
type: "exact";
|
|
@@ -7906,7 +8499,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7906
8499
|
lte: string;
|
|
7907
8500
|
} | {
|
|
7908
8501
|
type: "timePeriod";
|
|
7909
|
-
term: "
|
|
8502
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7910
8503
|
} | undefined;
|
|
7911
8504
|
updatedAt?: {
|
|
7912
8505
|
type: "exact";
|
|
@@ -7917,12 +8510,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7917
8510
|
lte: string;
|
|
7918
8511
|
} | {
|
|
7919
8512
|
type: "timePeriod";
|
|
7920
|
-
term: "
|
|
8513
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7921
8514
|
} | undefined;
|
|
7922
8515
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7923
8516
|
type: "within";
|
|
7924
8517
|
location: string | {
|
|
7925
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8518
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7926
8519
|
$location?: string | undefined;
|
|
7927
8520
|
};
|
|
7928
8521
|
} | undefined;
|
|
@@ -7939,12 +8532,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7939
8532
|
lte: string;
|
|
7940
8533
|
} | {
|
|
7941
8534
|
type: "timePeriod";
|
|
7942
|
-
term: "
|
|
8535
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7943
8536
|
} | undefined;
|
|
7944
8537
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7945
8538
|
type: "within";
|
|
7946
8539
|
location: string | {
|
|
7947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8540
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7948
8541
|
$location?: string | undefined;
|
|
7949
8542
|
};
|
|
7950
8543
|
} | undefined;
|
|
@@ -7959,47 +8552,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7959
8552
|
createdAtLocation?: {
|
|
7960
8553
|
type: "within";
|
|
7961
8554
|
location: string | {
|
|
7962
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8555
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7963
8556
|
$location?: string | undefined;
|
|
7964
8557
|
};
|
|
7965
8558
|
} | {
|
|
7966
8559
|
type: "exact";
|
|
7967
8560
|
term: string | {
|
|
7968
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8561
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7969
8562
|
$location?: string | undefined;
|
|
7970
8563
|
};
|
|
7971
8564
|
} | undefined;
|
|
7972
8565
|
updatedAtLocation?: {
|
|
7973
8566
|
type: "within";
|
|
7974
8567
|
location: string | {
|
|
7975
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8568
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7976
8569
|
$location?: string | undefined;
|
|
7977
8570
|
};
|
|
7978
8571
|
} | {
|
|
7979
8572
|
type: "exact";
|
|
7980
8573
|
term: string | {
|
|
7981
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8574
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7982
8575
|
$location?: string | undefined;
|
|
7983
8576
|
};
|
|
7984
8577
|
} | undefined;
|
|
7985
8578
|
updatedByUserRole?: {
|
|
7986
8579
|
type: "exact";
|
|
7987
8580
|
term: string | {
|
|
7988
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8581
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7989
8582
|
$location?: string | undefined;
|
|
7990
8583
|
};
|
|
7991
8584
|
} | undefined;
|
|
7992
8585
|
assignedTo?: {
|
|
7993
8586
|
type: "exact";
|
|
7994
8587
|
term: string | {
|
|
7995
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8588
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7996
8589
|
$location?: string | undefined;
|
|
7997
8590
|
};
|
|
7998
8591
|
} | undefined;
|
|
7999
8592
|
createdBy?: {
|
|
8000
8593
|
type: "exact";
|
|
8001
8594
|
term: string | {
|
|
8002
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8595
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8003
8596
|
$location?: string | undefined;
|
|
8004
8597
|
};
|
|
8005
8598
|
} | undefined;
|
|
@@ -8010,7 +8603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8010
8603
|
updatedBy?: {
|
|
8011
8604
|
type: "exact";
|
|
8012
8605
|
term: string | {
|
|
8013
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8606
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8014
8607
|
$location?: string | undefined;
|
|
8015
8608
|
};
|
|
8016
8609
|
} | undefined;
|
|
@@ -8031,10 +8624,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8031
8624
|
eventType?: string | undefined;
|
|
8032
8625
|
status?: {
|
|
8033
8626
|
type: "anyOf";
|
|
8034
|
-
terms: ("
|
|
8627
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8035
8628
|
} | {
|
|
8036
8629
|
type: "exact";
|
|
8037
|
-
term: "
|
|
8630
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8038
8631
|
} | undefined;
|
|
8039
8632
|
createdAt?: {
|
|
8040
8633
|
type: "exact";
|
|
@@ -8045,7 +8638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8045
8638
|
lte: string;
|
|
8046
8639
|
} | {
|
|
8047
8640
|
type: "timePeriod";
|
|
8048
|
-
term: "
|
|
8641
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8049
8642
|
} | undefined;
|
|
8050
8643
|
updatedAt?: {
|
|
8051
8644
|
type: "exact";
|
|
@@ -8056,12 +8649,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8056
8649
|
lte: string;
|
|
8057
8650
|
} | {
|
|
8058
8651
|
type: "timePeriod";
|
|
8059
|
-
term: "
|
|
8652
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8060
8653
|
} | undefined;
|
|
8061
8654
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8062
8655
|
type: "within";
|
|
8063
8656
|
location: string | {
|
|
8064
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8657
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8065
8658
|
$location?: string | undefined;
|
|
8066
8659
|
};
|
|
8067
8660
|
} | undefined;
|
|
@@ -8078,12 +8671,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8078
8671
|
lte: string;
|
|
8079
8672
|
} | {
|
|
8080
8673
|
type: "timePeriod";
|
|
8081
|
-
term: "
|
|
8674
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8082
8675
|
} | undefined;
|
|
8083
8676
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8084
8677
|
type: "within";
|
|
8085
8678
|
location: string | {
|
|
8086
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8679
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8087
8680
|
$location?: string | undefined;
|
|
8088
8681
|
};
|
|
8089
8682
|
} | undefined;
|
|
@@ -8098,47 +8691,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8098
8691
|
createdAtLocation?: {
|
|
8099
8692
|
type: "within";
|
|
8100
8693
|
location: string | {
|
|
8101
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8694
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8102
8695
|
$location?: string | undefined;
|
|
8103
8696
|
};
|
|
8104
8697
|
} | {
|
|
8105
8698
|
type: "exact";
|
|
8106
8699
|
term: string | {
|
|
8107
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8700
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8108
8701
|
$location?: string | undefined;
|
|
8109
8702
|
};
|
|
8110
8703
|
} | undefined;
|
|
8111
8704
|
updatedAtLocation?: {
|
|
8112
8705
|
type: "within";
|
|
8113
8706
|
location: string | {
|
|
8114
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8707
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8115
8708
|
$location?: string | undefined;
|
|
8116
8709
|
};
|
|
8117
8710
|
} | {
|
|
8118
8711
|
type: "exact";
|
|
8119
8712
|
term: string | {
|
|
8120
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8713
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8121
8714
|
$location?: string | undefined;
|
|
8122
8715
|
};
|
|
8123
8716
|
} | undefined;
|
|
8124
8717
|
updatedByUserRole?: {
|
|
8125
8718
|
type: "exact";
|
|
8126
8719
|
term: string | {
|
|
8127
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8720
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8128
8721
|
$location?: string | undefined;
|
|
8129
8722
|
};
|
|
8130
8723
|
} | undefined;
|
|
8131
8724
|
assignedTo?: {
|
|
8132
8725
|
type: "exact";
|
|
8133
8726
|
term: string | {
|
|
8134
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8727
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8135
8728
|
$location?: string | undefined;
|
|
8136
8729
|
};
|
|
8137
8730
|
} | undefined;
|
|
8138
8731
|
createdBy?: {
|
|
8139
8732
|
type: "exact";
|
|
8140
8733
|
term: string | {
|
|
8141
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8734
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8142
8735
|
$location?: string | undefined;
|
|
8143
8736
|
};
|
|
8144
8737
|
} | undefined;
|
|
@@ -8149,7 +8742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8149
8742
|
updatedBy?: {
|
|
8150
8743
|
type: "exact";
|
|
8151
8744
|
term: string | {
|
|
8152
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8745
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8153
8746
|
$location?: string | undefined;
|
|
8154
8747
|
};
|
|
8155
8748
|
} | undefined;
|
|
@@ -8175,9 +8768,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8175
8768
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8176
8769
|
};
|
|
8177
8770
|
}[];
|
|
8178
|
-
icon: "
|
|
8771
|
+
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
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;
|
|
@@ -8203,14 +8796,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8203
8796
|
user: {
|
|
8204
8797
|
id: string & import("zod").$brand<"UUID">;
|
|
8205
8798
|
type: "system";
|
|
8206
|
-
signature?: undefined;
|
|
8207
8799
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
8800
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8801
|
+
signature?: undefined;
|
|
8209
8802
|
} | {
|
|
8210
8803
|
id: string & import("zod").$brand<"UUID">;
|
|
8211
|
-
type: "user";
|
|
8212
8804
|
role: string;
|
|
8213
8805
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8806
|
+
type: "user";
|
|
8214
8807
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8215
8808
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8216
8809
|
};
|
|
@@ -8251,14 +8844,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8251
8844
|
user: {
|
|
8252
8845
|
id: string & import("zod").$brand<"UUID">;
|
|
8253
8846
|
type: "system";
|
|
8254
|
-
signature?: undefined;
|
|
8255
8847
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
8848
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8849
|
+
signature?: undefined;
|
|
8257
8850
|
} | {
|
|
8258
8851
|
id: string & import("zod").$brand<"UUID">;
|
|
8259
|
-
type: "user";
|
|
8260
8852
|
role: string;
|
|
8261
8853
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8854
|
+
type: "user";
|
|
8262
8855
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8263
8856
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8264
8857
|
};
|
|
@@ -8369,14 +8962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8369
8962
|
user: {
|
|
8370
8963
|
id: string & import("zod").$brand<"UUID">;
|
|
8371
8964
|
type: "system";
|
|
8372
|
-
signature?: undefined;
|
|
8373
8965
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
8966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8967
|
+
signature?: undefined;
|
|
8375
8968
|
} | {
|
|
8376
8969
|
id: string & import("zod").$brand<"UUID">;
|
|
8377
|
-
type: "user";
|
|
8378
8970
|
role: string;
|
|
8379
8971
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8972
|
+
type: "user";
|
|
8380
8973
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8381
8974
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8382
8975
|
};
|
|
@@ -8404,14 +8997,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8404
8997
|
user: {
|
|
8405
8998
|
id: string & import("zod").$brand<"UUID">;
|
|
8406
8999
|
type: "system";
|
|
8407
|
-
signature?: undefined;
|
|
8408
9000
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
9001
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9002
|
+
signature?: undefined;
|
|
8410
9003
|
} | {
|
|
8411
9004
|
id: string & import("zod").$brand<"UUID">;
|
|
8412
|
-
type: "user";
|
|
8413
9005
|
role: string;
|
|
8414
9006
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
9007
|
+
type: "user";
|
|
8415
9008
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8416
9009
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8417
9010
|
};
|