@opencrvs/toolkit 2.1.0-rc.e8dd933 → 2.1.0-rc.eb366a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application-config/index.js +201 -191
- package/dist/cli.js +48 -0
- package/dist/commons/api/router.d.ts +183 -147
- package/dist/commons/conditionals/conditionals.d.ts +37 -1589
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +21 -0
- package/dist/commons/events/ActionDocument.d.ts +7 -13
- package/dist/commons/events/ActionInput.d.ts +6 -0
- package/dist/commons/events/ActionStatus.d.ts +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +18 -0
- package/dist/commons/events/EventDocument.d.ts +2 -2
- package/dist/commons/events/EventIndex.d.ts +5 -24
- package/dist/commons/events/EventMetadata.d.ts +2 -1
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/Flag.d.ts +48 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +4 -4
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -5
- package/dist/commons/events/field.d.ts +34 -722
- package/dist/commons/events/test.utils.d.ts +3 -0
- package/dist/commons/events/utils.d.ts +3 -3
- package/dist/conditionals/index.js +303 -55
- package/dist/environment/derived-variables.d.ts +12 -0
- package/dist/environment/derived-variables.d.ts.map +1 -1
- package/dist/environment/derived-variables.js +14 -0
- package/dist/environment/logger.d.ts +12 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +7 -17
- package/dist/environment/setup-environment.js +14 -0
- package/dist/environment/swarm-to-k8s.js +7 -17
- package/dist/environment/update-workflows.js +7 -17
- package/dist/environment/users.js +7 -17
- package/dist/environment/utils.js +7 -17
- package/dist/events/index.js +3206 -3163
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +7 -17
- package/dist/migrations/v2.0/remove-hearth-migrations.js +7 -17
- package/dist/notification/index.js +1445 -880
- package/dist/scopes/index.d.ts +250 -0
- package/dist/scopes/index.js +304 -55
- package/dist/templates/charts-values/dependencies/values.yaml +3 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -0
- package/opencrvs-toolkit-2.1.0-rc.eb366a1.tgz +0 -0
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.e8dd933.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;
|
|
7
8
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8
9
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
-
signature?: undefined;
|
|
10
10
|
} | {
|
|
11
11
|
id: string & import("zod").$brand<"UUID">;
|
|
12
|
+
type: "user";
|
|
12
13
|
role: string;
|
|
13
14
|
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;
|
|
29
30
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
30
31
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
-
signature?: undefined;
|
|
32
32
|
} | {
|
|
33
33
|
id: string & import("zod").$brand<"UUID">;
|
|
34
|
+
type: "user";
|
|
34
35
|
role: string;
|
|
35
36
|
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;
|
|
51
52
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
52
53
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
-
signature?: undefined;
|
|
54
54
|
} | {
|
|
55
55
|
id: string & import("zod").$brand<"UUID">;
|
|
56
|
+
type: "user";
|
|
56
57
|
role: string;
|
|
57
58
|
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;
|
|
97
98
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
98
99
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
-
signature?: undefined;
|
|
100
100
|
} | {
|
|
101
101
|
id: string & import("zod").$brand<"UUID">;
|
|
102
|
+
type: "user";
|
|
102
103
|
role: string;
|
|
103
104
|
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
|
};
|
|
@@ -402,14 +402,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
402
402
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
403
403
|
status: "Requested" | "Accepted" | "Rejected";
|
|
404
404
|
type: "EDIT";
|
|
405
|
+
content: {
|
|
406
|
+
comment?: string | undefined;
|
|
407
|
+
};
|
|
405
408
|
createdByRole?: string | undefined;
|
|
406
409
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
407
410
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
408
411
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
409
412
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
410
|
-
content?: {
|
|
411
|
-
comment?: string | undefined;
|
|
412
|
-
} | undefined;
|
|
413
413
|
} | {
|
|
414
414
|
id: string & import("zod").$brand<"UUID">;
|
|
415
415
|
transactionId: string;
|
|
@@ -728,14 +728,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
728
728
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
729
729
|
status: "Requested" | "Accepted" | "Rejected";
|
|
730
730
|
type: "EDIT";
|
|
731
|
+
content: {
|
|
732
|
+
comment?: string | undefined;
|
|
733
|
+
};
|
|
731
734
|
createdByRole?: string | undefined;
|
|
732
735
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
733
736
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
734
737
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
735
738
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
736
|
-
content?: {
|
|
737
|
-
comment?: string | undefined;
|
|
738
|
-
} | undefined;
|
|
739
739
|
} | {
|
|
740
740
|
id: string & import("zod").$brand<"UUID">;
|
|
741
741
|
transactionId: string;
|
|
@@ -1053,14 +1053,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1053
1053
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1054
1054
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1055
1055
|
type: "EDIT";
|
|
1056
|
+
content: {
|
|
1057
|
+
comment?: string | undefined;
|
|
1058
|
+
};
|
|
1056
1059
|
createdByRole?: string | undefined;
|
|
1057
1060
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1058
1061
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1059
1062
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1060
1063
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1061
|
-
content?: {
|
|
1062
|
-
comment?: string | undefined;
|
|
1063
|
-
} | undefined;
|
|
1064
1064
|
} | {
|
|
1065
1065
|
id: string & import("zod").$brand<"UUID">;
|
|
1066
1066
|
transactionId: string;
|
|
@@ -1108,14 +1108,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1108
1108
|
user: {
|
|
1109
1109
|
id: string & import("zod").$brand<"UUID">;
|
|
1110
1110
|
type: "system";
|
|
1111
|
+
signature?: undefined;
|
|
1111
1112
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1112
1113
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1113
|
-
signature?: undefined;
|
|
1114
1114
|
} | {
|
|
1115
1115
|
id: string & import("zod").$brand<"UUID">;
|
|
1116
|
+
type: "user";
|
|
1116
1117
|
role: string;
|
|
1117
1118
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1118
|
-
type: "user";
|
|
1119
1119
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1120
1120
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1121
1121
|
};
|
|
@@ -1132,13 +1132,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1132
1132
|
transactionId: string;
|
|
1133
1133
|
createdAt: string;
|
|
1134
1134
|
action: {
|
|
1135
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1135
1136
|
transactionId: string;
|
|
1136
1137
|
createdByUserType: "system" | "user";
|
|
1137
1138
|
createdAt: string;
|
|
1138
1139
|
createdBy: string;
|
|
1139
1140
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1140
1141
|
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";
|
|
1142
1142
|
createdByRole?: string | undefined;
|
|
1143
1143
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1144
1144
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1149,17 +1149,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1149
1149
|
}>;
|
|
1150
1150
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1151
1151
|
input: {
|
|
1152
|
-
eventId: string;
|
|
1153
1152
|
transactionId: string;
|
|
1153
|
+
eventId: string;
|
|
1154
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";
|
|
1155
1155
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1156
|
+
createdAtLocation?: string | null | undefined;
|
|
1156
1157
|
declaration?: Record<string, unknown> | undefined;
|
|
1157
1158
|
annotation?: Record<string, unknown> | undefined;
|
|
1158
1159
|
originalActionId?: string | undefined;
|
|
1159
1160
|
keepAssignment?: boolean | undefined;
|
|
1160
1161
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1161
1162
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1162
|
-
createdAtLocation?: string | null | undefined;
|
|
1163
1163
|
};
|
|
1164
1164
|
output: {
|
|
1165
1165
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1167,13 +1167,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1167
1167
|
transactionId: string;
|
|
1168
1168
|
createdAt: string;
|
|
1169
1169
|
action: {
|
|
1170
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1170
1171
|
transactionId: string;
|
|
1171
1172
|
createdByUserType: "system" | "user";
|
|
1172
1173
|
createdAt: string;
|
|
1173
1174
|
createdBy: string;
|
|
1174
1175
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1175
1176
|
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";
|
|
1177
1177
|
createdByRole?: string | undefined;
|
|
1178
1178
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1179
1179
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1189,14 +1189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1189
1189
|
user: {
|
|
1190
1190
|
id: string & import("zod").$brand<"UUID">;
|
|
1191
1191
|
type: "system";
|
|
1192
|
+
signature?: undefined;
|
|
1192
1193
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1193
1194
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1194
|
-
signature?: undefined;
|
|
1195
1195
|
} | {
|
|
1196
1196
|
id: string & import("zod").$brand<"UUID">;
|
|
1197
|
+
type: "user";
|
|
1197
1198
|
role: string;
|
|
1198
1199
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1199
|
-
type: "user";
|
|
1200
1200
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1201
1201
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1202
1202
|
};
|
|
@@ -1211,14 +1211,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1211
1211
|
user: {
|
|
1212
1212
|
id: string & import("zod").$brand<"UUID">;
|
|
1213
1213
|
type: "system";
|
|
1214
|
+
signature?: undefined;
|
|
1214
1215
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1215
1216
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1216
|
-
signature?: undefined;
|
|
1217
1217
|
} | {
|
|
1218
1218
|
id: string & import("zod").$brand<"UUID">;
|
|
1219
|
+
type: "user";
|
|
1219
1220
|
role: string;
|
|
1220
1221
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1221
|
-
type: "user";
|
|
1222
1222
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1223
1223
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1224
1224
|
};
|
|
@@ -1482,6 +1482,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1482
1482
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
1483
1483
|
eventId: string;
|
|
1484
1484
|
transactionId: string;
|
|
1485
|
+
content: {
|
|
1486
|
+
comment?: string | undefined;
|
|
1487
|
+
};
|
|
1485
1488
|
declaration?: Record<string, unknown> | undefined;
|
|
1486
1489
|
annotation?: Record<string, unknown> | undefined;
|
|
1487
1490
|
originalActionId?: string | undefined;
|
|
@@ -1515,14 +1518,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1515
1518
|
user: {
|
|
1516
1519
|
id: string & import("zod").$brand<"UUID">;
|
|
1517
1520
|
type: "system";
|
|
1521
|
+
signature?: undefined;
|
|
1518
1522
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1519
1523
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1520
|
-
signature?: undefined;
|
|
1521
1524
|
} | {
|
|
1522
1525
|
id: string & import("zod").$brand<"UUID">;
|
|
1526
|
+
type: "user";
|
|
1523
1527
|
role: string;
|
|
1524
1528
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1525
|
-
type: "user";
|
|
1526
1529
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1527
1530
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1528
1531
|
};
|
|
@@ -1824,14 +1827,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1824
1827
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1825
1828
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1826
1829
|
type: "EDIT";
|
|
1830
|
+
content: {
|
|
1831
|
+
comment?: string | undefined;
|
|
1832
|
+
};
|
|
1827
1833
|
createdByRole?: string | undefined;
|
|
1828
1834
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1829
1835
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1830
1836
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
1831
1837
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1832
|
-
content?: {
|
|
1833
|
-
comment?: string | undefined;
|
|
1834
|
-
} | undefined;
|
|
1835
1838
|
} | {
|
|
1836
1839
|
id: string & import("zod").$brand<"UUID">;
|
|
1837
1840
|
transactionId: string;
|
|
@@ -1871,14 +1874,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1871
1874
|
user: {
|
|
1872
1875
|
id: string & import("zod").$brand<"UUID">;
|
|
1873
1876
|
type: "system";
|
|
1877
|
+
signature?: undefined;
|
|
1874
1878
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1875
1879
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1876
|
-
signature?: undefined;
|
|
1877
1880
|
} | {
|
|
1878
1881
|
id: string & import("zod").$brand<"UUID">;
|
|
1882
|
+
type: "user";
|
|
1879
1883
|
role: string;
|
|
1880
1884
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1881
|
-
type: "user";
|
|
1882
1885
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1883
1886
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1884
1887
|
};
|
|
@@ -2181,14 +2184,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2181
2184
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
2182
2185
|
status: "Requested" | "Accepted" | "Rejected";
|
|
2183
2186
|
type: "EDIT";
|
|
2187
|
+
content: {
|
|
2188
|
+
comment?: string | undefined;
|
|
2189
|
+
};
|
|
2184
2190
|
createdByRole?: string | undefined;
|
|
2185
2191
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2186
2192
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2187
2193
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
2188
2194
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2189
|
-
content?: {
|
|
2190
|
-
comment?: string | undefined;
|
|
2191
|
-
} | undefined;
|
|
2192
2195
|
} | {
|
|
2193
2196
|
id: string & import("zod").$brand<"UUID">;
|
|
2194
2197
|
transactionId: string;
|
|
@@ -2471,6 +2474,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2471
2474
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2472
2475
|
eventId: string;
|
|
2473
2476
|
transactionId: string;
|
|
2477
|
+
content: {
|
|
2478
|
+
comment?: string | undefined;
|
|
2479
|
+
};
|
|
2474
2480
|
declaration?: Record<string, unknown> | undefined;
|
|
2475
2481
|
annotation?: Record<string, unknown> | undefined;
|
|
2476
2482
|
originalActionId?: string | undefined;
|
|
@@ -2504,14 +2510,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2504
2510
|
user: {
|
|
2505
2511
|
id: string & import("zod").$brand<"UUID">;
|
|
2506
2512
|
type: "system";
|
|
2513
|
+
signature?: undefined;
|
|
2507
2514
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2508
2515
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2509
|
-
signature?: undefined;
|
|
2510
2516
|
} | {
|
|
2511
2517
|
id: string & import("zod").$brand<"UUID">;
|
|
2518
|
+
type: "user";
|
|
2512
2519
|
role: string;
|
|
2513
2520
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2514
|
-
type: "user";
|
|
2515
2521
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2516
2522
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2517
2523
|
};
|
|
@@ -2775,6 +2781,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2775
2781
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
2776
2782
|
eventId: string;
|
|
2777
2783
|
transactionId: string;
|
|
2784
|
+
content: {
|
|
2785
|
+
comment?: string | undefined;
|
|
2786
|
+
};
|
|
2778
2787
|
declaration?: Record<string, unknown> | undefined;
|
|
2779
2788
|
annotation?: Record<string, unknown> | undefined;
|
|
2780
2789
|
originalActionId?: string | undefined;
|
|
@@ -2808,14 +2817,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2808
2817
|
user: {
|
|
2809
2818
|
id: string & import("zod").$brand<"UUID">;
|
|
2810
2819
|
type: "system";
|
|
2820
|
+
signature?: undefined;
|
|
2811
2821
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2812
2822
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2813
|
-
signature?: undefined;
|
|
2814
2823
|
} | {
|
|
2815
2824
|
id: string & import("zod").$brand<"UUID">;
|
|
2825
|
+
type: "user";
|
|
2816
2826
|
role: string;
|
|
2817
2827
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2818
|
-
type: "user";
|
|
2819
2828
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2820
2829
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2821
2830
|
};
|
|
@@ -3079,6 +3088,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3079
3088
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3080
3089
|
eventId: string;
|
|
3081
3090
|
transactionId: string;
|
|
3091
|
+
content: {
|
|
3092
|
+
comment?: string | undefined;
|
|
3093
|
+
};
|
|
3082
3094
|
declaration?: Record<string, unknown> | undefined;
|
|
3083
3095
|
annotation?: Record<string, unknown> | undefined;
|
|
3084
3096
|
originalActionId?: string | undefined;
|
|
@@ -3112,14 +3124,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3112
3124
|
user: {
|
|
3113
3125
|
id: string & import("zod").$brand<"UUID">;
|
|
3114
3126
|
type: "system";
|
|
3127
|
+
signature?: undefined;
|
|
3115
3128
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3116
3129
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3117
|
-
signature?: undefined;
|
|
3118
3130
|
} | {
|
|
3119
3131
|
id: string & import("zod").$brand<"UUID">;
|
|
3132
|
+
type: "user";
|
|
3120
3133
|
role: string;
|
|
3121
3134
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3122
|
-
type: "user";
|
|
3123
3135
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3124
3136
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3125
3137
|
};
|
|
@@ -3383,6 +3395,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3383
3395
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3384
3396
|
eventId: string;
|
|
3385
3397
|
transactionId: string;
|
|
3398
|
+
content: {
|
|
3399
|
+
comment?: string | undefined;
|
|
3400
|
+
};
|
|
3386
3401
|
declaration?: Record<string, unknown> | undefined;
|
|
3387
3402
|
annotation?: Record<string, unknown> | undefined;
|
|
3388
3403
|
originalActionId?: string | undefined;
|
|
@@ -3416,14 +3431,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3416
3431
|
user: {
|
|
3417
3432
|
id: string & import("zod").$brand<"UUID">;
|
|
3418
3433
|
type: "system";
|
|
3434
|
+
signature?: undefined;
|
|
3419
3435
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3420
3436
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3421
|
-
signature?: undefined;
|
|
3422
3437
|
} | {
|
|
3423
3438
|
id: string & import("zod").$brand<"UUID">;
|
|
3439
|
+
type: "user";
|
|
3424
3440
|
role: string;
|
|
3425
3441
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3426
|
-
type: "user";
|
|
3427
3442
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3428
3443
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3429
3444
|
};
|
|
@@ -3687,6 +3702,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3687
3702
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3688
3703
|
eventId: string;
|
|
3689
3704
|
transactionId: string;
|
|
3705
|
+
content: {
|
|
3706
|
+
comment?: string | undefined;
|
|
3707
|
+
};
|
|
3690
3708
|
declaration?: Record<string, unknown> | undefined;
|
|
3691
3709
|
annotation?: Record<string, unknown> | undefined;
|
|
3692
3710
|
originalActionId?: string | undefined;
|
|
@@ -3720,14 +3738,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3720
3738
|
user: {
|
|
3721
3739
|
id: string & import("zod").$brand<"UUID">;
|
|
3722
3740
|
type: "system";
|
|
3741
|
+
signature?: undefined;
|
|
3723
3742
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3724
3743
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3725
|
-
signature?: undefined;
|
|
3726
3744
|
} | {
|
|
3727
3745
|
id: string & import("zod").$brand<"UUID">;
|
|
3746
|
+
type: "user";
|
|
3728
3747
|
role: string;
|
|
3729
3748
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3730
|
-
type: "user";
|
|
3731
3749
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3732
3750
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3733
3751
|
};
|
|
@@ -3991,6 +4009,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3991
4009
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
3992
4010
|
eventId: string;
|
|
3993
4011
|
transactionId: string;
|
|
4012
|
+
content: {
|
|
4013
|
+
comment?: string | undefined;
|
|
4014
|
+
};
|
|
3994
4015
|
declaration?: Record<string, unknown> | undefined;
|
|
3995
4016
|
annotation?: Record<string, unknown> | undefined;
|
|
3996
4017
|
originalActionId?: string | undefined;
|
|
@@ -4024,14 +4045,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4024
4045
|
user: {
|
|
4025
4046
|
id: string & import("zod").$brand<"UUID">;
|
|
4026
4047
|
type: "system";
|
|
4048
|
+
signature?: undefined;
|
|
4027
4049
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4028
4050
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4029
|
-
signature?: undefined;
|
|
4030
4051
|
} | {
|
|
4031
4052
|
id: string & import("zod").$brand<"UUID">;
|
|
4053
|
+
type: "user";
|
|
4032
4054
|
role: string;
|
|
4033
4055
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4034
|
-
type: "user";
|
|
4035
4056
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4036
4057
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4037
4058
|
};
|
|
@@ -4295,6 +4316,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4295
4316
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4296
4317
|
eventId: string;
|
|
4297
4318
|
transactionId: string;
|
|
4319
|
+
content: {
|
|
4320
|
+
comment?: string | undefined;
|
|
4321
|
+
};
|
|
4298
4322
|
declaration?: Record<string, unknown> | undefined;
|
|
4299
4323
|
annotation?: Record<string, unknown> | undefined;
|
|
4300
4324
|
originalActionId?: string | undefined;
|
|
@@ -4328,14 +4352,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4328
4352
|
user: {
|
|
4329
4353
|
id: string & import("zod").$brand<"UUID">;
|
|
4330
4354
|
type: "system";
|
|
4355
|
+
signature?: undefined;
|
|
4331
4356
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4332
4357
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4333
|
-
signature?: undefined;
|
|
4334
4358
|
} | {
|
|
4335
4359
|
id: string & import("zod").$brand<"UUID">;
|
|
4360
|
+
type: "user";
|
|
4336
4361
|
role: string;
|
|
4337
4362
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4338
|
-
type: "user";
|
|
4339
4363
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4340
4364
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4341
4365
|
};
|
|
@@ -4639,14 +4663,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4639
4663
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
4640
4664
|
status: "Requested" | "Accepted" | "Rejected";
|
|
4641
4665
|
type: "EDIT";
|
|
4666
|
+
content: {
|
|
4667
|
+
comment?: string | undefined;
|
|
4668
|
+
};
|
|
4642
4669
|
createdByRole?: string | undefined;
|
|
4643
4670
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4644
4671
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4645
4672
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
4646
4673
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4647
|
-
content?: {
|
|
4648
|
-
comment?: string | undefined;
|
|
4649
|
-
} | undefined;
|
|
4650
4674
|
} | {
|
|
4651
4675
|
id: string & import("zod").$brand<"UUID">;
|
|
4652
4676
|
transactionId: string;
|
|
@@ -4929,6 +4953,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4929
4953
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
4930
4954
|
eventId: string;
|
|
4931
4955
|
transactionId: string;
|
|
4956
|
+
content: {
|
|
4957
|
+
comment?: string | undefined;
|
|
4958
|
+
};
|
|
4932
4959
|
declaration?: Record<string, unknown> | undefined;
|
|
4933
4960
|
annotation?: Record<string, unknown> | undefined;
|
|
4934
4961
|
originalActionId?: string | undefined;
|
|
@@ -4962,14 +4989,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4962
4989
|
user: {
|
|
4963
4990
|
id: string & import("zod").$brand<"UUID">;
|
|
4964
4991
|
type: "system";
|
|
4992
|
+
signature?: undefined;
|
|
4965
4993
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4966
4994
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4967
|
-
signature?: undefined;
|
|
4968
4995
|
} | {
|
|
4969
4996
|
id: string & import("zod").$brand<"UUID">;
|
|
4997
|
+
type: "user";
|
|
4970
4998
|
role: string;
|
|
4971
4999
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4972
|
-
type: "user";
|
|
4973
5000
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4974
5001
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4975
5002
|
};
|
|
@@ -5273,14 +5300,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5273
5300
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5274
5301
|
status: "Requested" | "Accepted" | "Rejected";
|
|
5275
5302
|
type: "EDIT";
|
|
5303
|
+
content: {
|
|
5304
|
+
comment?: string | undefined;
|
|
5305
|
+
};
|
|
5276
5306
|
createdByRole?: string | undefined;
|
|
5277
5307
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5278
5308
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5279
5309
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5280
5310
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5281
|
-
content?: {
|
|
5282
|
-
comment?: string | undefined;
|
|
5283
|
-
} | undefined;
|
|
5284
5311
|
} | {
|
|
5285
5312
|
id: string & import("zod").$brand<"UUID">;
|
|
5286
5313
|
transactionId: string;
|
|
@@ -5608,14 +5635,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5608
5635
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
5609
5636
|
status: "Requested" | "Accepted" | "Rejected";
|
|
5610
5637
|
type: "EDIT";
|
|
5638
|
+
content: {
|
|
5639
|
+
comment?: string | undefined;
|
|
5640
|
+
};
|
|
5611
5641
|
createdByRole?: string | undefined;
|
|
5612
5642
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5613
5643
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5614
5644
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
5615
5645
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5616
|
-
content?: {
|
|
5617
|
-
comment?: string | undefined;
|
|
5618
|
-
} | undefined;
|
|
5619
5646
|
} | {
|
|
5620
5647
|
id: string & import("zod").$brand<"UUID">;
|
|
5621
5648
|
transactionId: string;
|
|
@@ -5655,14 +5682,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5655
5682
|
user: {
|
|
5656
5683
|
id: string & import("zod").$brand<"UUID">;
|
|
5657
5684
|
type: "system";
|
|
5685
|
+
signature?: undefined;
|
|
5658
5686
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5659
5687
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5660
|
-
signature?: undefined;
|
|
5661
5688
|
} | {
|
|
5662
5689
|
id: string & import("zod").$brand<"UUID">;
|
|
5690
|
+
type: "user";
|
|
5663
5691
|
role: string;
|
|
5664
5692
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5665
|
-
type: "user";
|
|
5666
5693
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5667
5694
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5668
5695
|
};
|
|
@@ -5677,14 +5704,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5677
5704
|
user: {
|
|
5678
5705
|
id: string & import("zod").$brand<"UUID">;
|
|
5679
5706
|
type: "system";
|
|
5707
|
+
signature?: undefined;
|
|
5680
5708
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5681
5709
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5682
|
-
signature?: undefined;
|
|
5683
5710
|
} | {
|
|
5684
5711
|
id: string & import("zod").$brand<"UUID">;
|
|
5712
|
+
type: "user";
|
|
5685
5713
|
role: string;
|
|
5686
5714
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5687
|
-
type: "user";
|
|
5688
5715
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5689
5716
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5690
5717
|
};
|
|
@@ -5948,6 +5975,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5948
5975
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
5949
5976
|
eventId: string;
|
|
5950
5977
|
transactionId: string;
|
|
5978
|
+
content: {
|
|
5979
|
+
comment?: string | undefined;
|
|
5980
|
+
};
|
|
5951
5981
|
declaration?: Record<string, unknown> | undefined;
|
|
5952
5982
|
annotation?: Record<string, unknown> | undefined;
|
|
5953
5983
|
originalActionId?: string | undefined;
|
|
@@ -5981,14 +6011,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5981
6011
|
user: {
|
|
5982
6012
|
id: string & import("zod").$brand<"UUID">;
|
|
5983
6013
|
type: "system";
|
|
6014
|
+
signature?: undefined;
|
|
5984
6015
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5985
6016
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5986
|
-
signature?: undefined;
|
|
5987
6017
|
} | {
|
|
5988
6018
|
id: string & import("zod").$brand<"UUID">;
|
|
6019
|
+
type: "user";
|
|
5989
6020
|
role: string;
|
|
5990
6021
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5991
|
-
type: "user";
|
|
5992
6022
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5993
6023
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5994
6024
|
};
|
|
@@ -6252,6 +6282,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6252
6282
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6253
6283
|
eventId: string;
|
|
6254
6284
|
transactionId: string;
|
|
6285
|
+
content: {
|
|
6286
|
+
comment?: string | undefined;
|
|
6287
|
+
};
|
|
6255
6288
|
declaration?: Record<string, unknown> | undefined;
|
|
6256
6289
|
annotation?: Record<string, unknown> | undefined;
|
|
6257
6290
|
originalActionId?: string | undefined;
|
|
@@ -6285,14 +6318,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6285
6318
|
user: {
|
|
6286
6319
|
id: string & import("zod").$brand<"UUID">;
|
|
6287
6320
|
type: "system";
|
|
6321
|
+
signature?: undefined;
|
|
6288
6322
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6289
6323
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6290
|
-
signature?: undefined;
|
|
6291
6324
|
} | {
|
|
6292
6325
|
id: string & import("zod").$brand<"UUID">;
|
|
6326
|
+
type: "user";
|
|
6293
6327
|
role: string;
|
|
6294
6328
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6295
|
-
type: "user";
|
|
6296
6329
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6297
6330
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6298
6331
|
};
|
|
@@ -6556,6 +6589,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6556
6589
|
}, "keepAssignmentIfAccepted" | "keepAssignmentIfRejected"> | Omit<{
|
|
6557
6590
|
eventId: string;
|
|
6558
6591
|
transactionId: string;
|
|
6592
|
+
content: {
|
|
6593
|
+
comment?: string | undefined;
|
|
6594
|
+
};
|
|
6559
6595
|
declaration?: Record<string, unknown> | undefined;
|
|
6560
6596
|
annotation?: Record<string, unknown> | undefined;
|
|
6561
6597
|
originalActionId?: string | undefined;
|
|
@@ -6590,14 +6626,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6590
6626
|
user: {
|
|
6591
6627
|
id: string & import("zod").$brand<"UUID">;
|
|
6592
6628
|
type: "system";
|
|
6629
|
+
signature?: undefined;
|
|
6593
6630
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6594
6631
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6595
|
-
signature?: undefined;
|
|
6596
6632
|
} | {
|
|
6597
6633
|
id: string & import("zod").$brand<"UUID">;
|
|
6634
|
+
type: "user";
|
|
6598
6635
|
role: string;
|
|
6599
6636
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6600
|
-
type: "user";
|
|
6601
6637
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6602
6638
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6603
6639
|
};
|
|
@@ -6903,14 +6939,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6903
6939
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
6904
6940
|
status: "Requested" | "Accepted" | "Rejected";
|
|
6905
6941
|
type: "EDIT";
|
|
6942
|
+
content: {
|
|
6943
|
+
comment?: string | undefined;
|
|
6944
|
+
};
|
|
6906
6945
|
createdByRole?: string | undefined;
|
|
6907
6946
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6908
6947
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6909
6948
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
6910
6949
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6911
|
-
content?: {
|
|
6912
|
-
comment?: string | undefined;
|
|
6913
|
-
} | undefined;
|
|
6914
6950
|
} | {
|
|
6915
6951
|
id: string & import("zod").$brand<"UUID">;
|
|
6916
6952
|
transactionId: string;
|
|
@@ -7237,14 +7273,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7237
7273
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
7238
7274
|
status: "Requested" | "Accepted" | "Rejected";
|
|
7239
7275
|
type: "EDIT";
|
|
7276
|
+
content: {
|
|
7277
|
+
comment?: string | undefined;
|
|
7278
|
+
};
|
|
7240
7279
|
createdByRole?: string | undefined;
|
|
7241
7280
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7242
7281
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7243
7282
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
7244
7283
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7245
|
-
content?: {
|
|
7246
|
-
comment?: string | undefined;
|
|
7247
|
-
} | undefined;
|
|
7248
7284
|
} | {
|
|
7249
7285
|
id: string & import("zod").$brand<"UUID">;
|
|
7250
7286
|
transactionId: string;
|
|
@@ -7290,7 +7326,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7290
7326
|
results: {
|
|
7291
7327
|
id: string & import("zod").$brand<"UUID">;
|
|
7292
7328
|
type: string;
|
|
7293
|
-
status: "
|
|
7329
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
7294
7330
|
legalStatuses: {
|
|
7295
7331
|
NOTIFIED?: {
|
|
7296
7332
|
createdAt: string;
|
|
@@ -7622,14 +7658,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7622
7658
|
declaration: Record<string, unknown>;
|
|
7623
7659
|
status: "Requested" | "Accepted" | "Rejected";
|
|
7624
7660
|
type: "EDIT";
|
|
7661
|
+
content: {
|
|
7662
|
+
comment?: string | undefined;
|
|
7663
|
+
};
|
|
7625
7664
|
createdByRole?: string | undefined;
|
|
7626
7665
|
createdBySignature?: string | null | undefined;
|
|
7627
7666
|
createdAtLocation?: string | null | undefined;
|
|
7628
7667
|
annotation?: Record<string, unknown> | null | undefined;
|
|
7629
7668
|
originalActionId?: string | null | undefined;
|
|
7630
|
-
content?: {
|
|
7631
|
-
comment?: string | undefined;
|
|
7632
|
-
} | undefined;
|
|
7633
7669
|
} | {
|
|
7634
7670
|
id: string;
|
|
7635
7671
|
transactionId: string;
|
|
@@ -7670,14 +7706,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7670
7706
|
user: {
|
|
7671
7707
|
id: string & import("zod").$brand<"UUID">;
|
|
7672
7708
|
type: "system";
|
|
7709
|
+
signature?: undefined;
|
|
7673
7710
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7674
7711
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7675
|
-
signature?: undefined;
|
|
7676
7712
|
} | {
|
|
7677
7713
|
id: string & import("zod").$brand<"UUID">;
|
|
7714
|
+
type: "user";
|
|
7678
7715
|
role: string;
|
|
7679
7716
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7680
|
-
type: "user";
|
|
7681
7717
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7682
7718
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7683
7719
|
};
|
|
@@ -7728,11 +7764,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7728
7764
|
};
|
|
7729
7765
|
role: string;
|
|
7730
7766
|
primaryOfficeId: string;
|
|
7731
|
-
|
|
7767
|
+
data?: Record<string, unknown> | undefined;
|
|
7732
7768
|
fullHonorificName?: string | undefined;
|
|
7733
|
-
|
|
7769
|
+
device?: string | undefined;
|
|
7734
7770
|
email?: string | undefined;
|
|
7735
|
-
|
|
7771
|
+
mobile?: string | undefined;
|
|
7736
7772
|
username?: undefined;
|
|
7737
7773
|
password?: undefined;
|
|
7738
7774
|
signature?: {
|
|
@@ -7765,17 +7801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7765
7801
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7766
7802
|
input: {
|
|
7767
7803
|
id: string;
|
|
7804
|
+
data?: Record<string, unknown> | undefined;
|
|
7768
7805
|
name?: {
|
|
7769
7806
|
firstname: string;
|
|
7770
7807
|
surname: string;
|
|
7771
7808
|
} | undefined;
|
|
7772
7809
|
role?: string | undefined;
|
|
7773
|
-
primaryOfficeId?: string | undefined;
|
|
7774
|
-
device?: string | undefined;
|
|
7775
7810
|
fullHonorificName?: string | undefined;
|
|
7776
|
-
|
|
7811
|
+
device?: string | undefined;
|
|
7812
|
+
primaryOfficeId?: string | undefined;
|
|
7777
7813
|
email?: string | undefined;
|
|
7778
|
-
|
|
7814
|
+
mobile?: string | undefined;
|
|
7779
7815
|
signature?: {
|
|
7780
7816
|
path: string;
|
|
7781
7817
|
originalFilename: string;
|
|
@@ -7808,20 +7844,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7808
7844
|
input: string[];
|
|
7809
7845
|
output: ({
|
|
7810
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7847
|
+
type: "user";
|
|
7811
7848
|
name: {
|
|
7812
7849
|
firstname: string;
|
|
7813
7850
|
surname: string;
|
|
7814
7851
|
};
|
|
7815
7852
|
role: string;
|
|
7816
7853
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7817
|
-
|
|
7854
|
+
fullHonorificName?: string | undefined;
|
|
7818
7855
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7819
7856
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7820
|
-
fullHonorificName?: string | undefined;
|
|
7821
7857
|
} | {
|
|
7822
7858
|
id: string & import("zod").$brand<"UUID">;
|
|
7823
|
-
name: string;
|
|
7824
7859
|
type: "system";
|
|
7860
|
+
name: string;
|
|
7825
7861
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7826
7862
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7827
7863
|
})[];
|
|
@@ -7841,21 +7877,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7841
7877
|
};
|
|
7842
7878
|
output: ({
|
|
7843
7879
|
id: string & import("zod").$brand<"UUID">;
|
|
7880
|
+
type: "user";
|
|
7844
7881
|
name: {
|
|
7845
7882
|
firstname: string;
|
|
7846
7883
|
surname: string;
|
|
7847
7884
|
};
|
|
7848
7885
|
role: string;
|
|
7849
7886
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7850
|
-
type: "user";
|
|
7851
7887
|
status: "active" | "pending" | "deactivated";
|
|
7888
|
+
fullHonorificName?: string | undefined;
|
|
7852
7889
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7853
7890
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7854
|
-
fullHonorificName?: string | undefined;
|
|
7855
7891
|
} | {
|
|
7856
7892
|
id: string & import("zod").$brand<"UUID">;
|
|
7857
|
-
name: string;
|
|
7858
7893
|
type: "system";
|
|
7894
|
+
name: string;
|
|
7859
7895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7860
7896
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7861
7897
|
status?: "active" | "pending" | "deactivated" | undefined;
|
|
@@ -7906,14 +7942,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7906
7942
|
user: {
|
|
7907
7943
|
id: string & import("zod").$brand<"UUID">;
|
|
7908
7944
|
type: "system";
|
|
7945
|
+
signature?: undefined;
|
|
7909
7946
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7910
7947
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7911
|
-
signature?: undefined;
|
|
7912
7948
|
} | {
|
|
7913
7949
|
id: string & import("zod").$brand<"UUID">;
|
|
7950
|
+
type: "user";
|
|
7914
7951
|
role: string;
|
|
7915
7952
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7916
|
-
type: "user";
|
|
7917
7953
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7918
7954
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7919
7955
|
};
|
|
@@ -8030,14 +8066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8030
8066
|
user: {
|
|
8031
8067
|
id: string & import("zod").$brand<"UUID">;
|
|
8032
8068
|
type: "system";
|
|
8069
|
+
signature?: undefined;
|
|
8033
8070
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8034
8071
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8035
|
-
signature?: undefined;
|
|
8036
8072
|
} | {
|
|
8037
8073
|
id: string & import("zod").$brand<"UUID">;
|
|
8074
|
+
type: "user";
|
|
8038
8075
|
role: string;
|
|
8039
8076
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8040
|
-
type: "user";
|
|
8041
8077
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8042
8078
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8043
8079
|
};
|
|
@@ -8144,7 +8180,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8144
8180
|
clientId: string;
|
|
8145
8181
|
clientType: "system" | "user";
|
|
8146
8182
|
createdAt: string;
|
|
8147
|
-
operation: "event.actions.
|
|
8183
|
+
operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.unarchive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
|
|
8148
8184
|
requestData: {
|
|
8149
8185
|
eventId: string;
|
|
8150
8186
|
actionType: string;
|
|
@@ -8323,14 +8359,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8323
8359
|
user: {
|
|
8324
8360
|
id: string & import("zod").$brand<"UUID">;
|
|
8325
8361
|
type: "system";
|
|
8362
|
+
signature?: undefined;
|
|
8326
8363
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8327
8364
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8328
|
-
signature?: undefined;
|
|
8329
8365
|
} | {
|
|
8330
8366
|
id: string & import("zod").$brand<"UUID">;
|
|
8367
|
+
type: "user";
|
|
8331
8368
|
role: string;
|
|
8332
8369
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8333
|
-
type: "user";
|
|
8334
8370
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8335
8371
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8336
8372
|
};
|
|
@@ -8396,14 +8432,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8396
8432
|
user: {
|
|
8397
8433
|
id: string & import("zod").$brand<"UUID">;
|
|
8398
8434
|
type: "system";
|
|
8435
|
+
signature?: undefined;
|
|
8399
8436
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8400
8437
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8401
|
-
signature?: undefined;
|
|
8402
8438
|
} | {
|
|
8403
8439
|
id: string & import("zod").$brand<"UUID">;
|
|
8440
|
+
type: "user";
|
|
8404
8441
|
role: string;
|
|
8405
8442
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8406
|
-
type: "user";
|
|
8407
8443
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8408
8444
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8409
8445
|
};
|
|
@@ -8418,14 +8454,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8418
8454
|
user: {
|
|
8419
8455
|
id: string & import("zod").$brand<"UUID">;
|
|
8420
8456
|
type: "system";
|
|
8457
|
+
signature?: undefined;
|
|
8421
8458
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8422
8459
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8423
|
-
signature?: undefined;
|
|
8424
8460
|
} | {
|
|
8425
8461
|
id: string & import("zod").$brand<"UUID">;
|
|
8462
|
+
type: "user";
|
|
8426
8463
|
role: string;
|
|
8427
8464
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8428
|
-
type: "user";
|
|
8429
8465
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8430
8466
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8431
8467
|
};
|
|
@@ -8449,10 +8485,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8449
8485
|
eventType?: string | undefined;
|
|
8450
8486
|
status?: {
|
|
8451
8487
|
type: "anyOf";
|
|
8452
|
-
terms: ("
|
|
8488
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
8453
8489
|
} | {
|
|
8454
8490
|
type: "exact";
|
|
8455
|
-
term: "
|
|
8491
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
8456
8492
|
} | undefined;
|
|
8457
8493
|
createdAt?: {
|
|
8458
8494
|
type: "exact";
|
|
@@ -8463,7 +8499,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8463
8499
|
lte: string;
|
|
8464
8500
|
} | {
|
|
8465
8501
|
type: "timePeriod";
|
|
8466
|
-
term: "
|
|
8502
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8467
8503
|
} | undefined;
|
|
8468
8504
|
updatedAt?: {
|
|
8469
8505
|
type: "exact";
|
|
@@ -8474,12 +8510,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8474
8510
|
lte: string;
|
|
8475
8511
|
} | {
|
|
8476
8512
|
type: "timePeriod";
|
|
8477
|
-
term: "
|
|
8513
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8478
8514
|
} | undefined;
|
|
8479
8515
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8480
8516
|
type: "within";
|
|
8481
8517
|
location: string | {
|
|
8482
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8518
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8483
8519
|
$location?: string | undefined;
|
|
8484
8520
|
};
|
|
8485
8521
|
} | undefined;
|
|
@@ -8496,12 +8532,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8496
8532
|
lte: string;
|
|
8497
8533
|
} | {
|
|
8498
8534
|
type: "timePeriod";
|
|
8499
|
-
term: "
|
|
8535
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8500
8536
|
} | undefined;
|
|
8501
8537
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8502
8538
|
type: "within";
|
|
8503
8539
|
location: string | {
|
|
8504
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8540
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8505
8541
|
$location?: string | undefined;
|
|
8506
8542
|
};
|
|
8507
8543
|
} | undefined;
|
|
@@ -8516,47 +8552,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8516
8552
|
createdAtLocation?: {
|
|
8517
8553
|
type: "within";
|
|
8518
8554
|
location: string | {
|
|
8519
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8555
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8520
8556
|
$location?: string | undefined;
|
|
8521
8557
|
};
|
|
8522
8558
|
} | {
|
|
8523
8559
|
type: "exact";
|
|
8524
8560
|
term: string | {
|
|
8525
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8561
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8526
8562
|
$location?: string | undefined;
|
|
8527
8563
|
};
|
|
8528
8564
|
} | undefined;
|
|
8529
8565
|
updatedAtLocation?: {
|
|
8530
8566
|
type: "within";
|
|
8531
8567
|
location: string | {
|
|
8532
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8568
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8533
8569
|
$location?: string | undefined;
|
|
8534
8570
|
};
|
|
8535
8571
|
} | {
|
|
8536
8572
|
type: "exact";
|
|
8537
8573
|
term: string | {
|
|
8538
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8574
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8539
8575
|
$location?: string | undefined;
|
|
8540
8576
|
};
|
|
8541
8577
|
} | undefined;
|
|
8542
8578
|
updatedByUserRole?: {
|
|
8543
8579
|
type: "exact";
|
|
8544
8580
|
term: string | {
|
|
8545
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8581
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8546
8582
|
$location?: string | undefined;
|
|
8547
8583
|
};
|
|
8548
8584
|
} | undefined;
|
|
8549
8585
|
assignedTo?: {
|
|
8550
8586
|
type: "exact";
|
|
8551
8587
|
term: string | {
|
|
8552
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8588
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8553
8589
|
$location?: string | undefined;
|
|
8554
8590
|
};
|
|
8555
8591
|
} | undefined;
|
|
8556
8592
|
createdBy?: {
|
|
8557
8593
|
type: "exact";
|
|
8558
8594
|
term: string | {
|
|
8559
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8595
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8560
8596
|
$location?: string | undefined;
|
|
8561
8597
|
};
|
|
8562
8598
|
} | undefined;
|
|
@@ -8567,7 +8603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8567
8603
|
updatedBy?: {
|
|
8568
8604
|
type: "exact";
|
|
8569
8605
|
term: string | {
|
|
8570
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8606
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8571
8607
|
$location?: string | undefined;
|
|
8572
8608
|
};
|
|
8573
8609
|
} | undefined;
|
|
@@ -8588,10 +8624,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8588
8624
|
eventType?: string | undefined;
|
|
8589
8625
|
status?: {
|
|
8590
8626
|
type: "anyOf";
|
|
8591
|
-
terms: ("
|
|
8627
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
8592
8628
|
} | {
|
|
8593
8629
|
type: "exact";
|
|
8594
|
-
term: "
|
|
8630
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
8595
8631
|
} | undefined;
|
|
8596
8632
|
createdAt?: {
|
|
8597
8633
|
type: "exact";
|
|
@@ -8602,7 +8638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8602
8638
|
lte: string;
|
|
8603
8639
|
} | {
|
|
8604
8640
|
type: "timePeriod";
|
|
8605
|
-
term: "
|
|
8641
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8606
8642
|
} | undefined;
|
|
8607
8643
|
updatedAt?: {
|
|
8608
8644
|
type: "exact";
|
|
@@ -8613,12 +8649,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8613
8649
|
lte: string;
|
|
8614
8650
|
} | {
|
|
8615
8651
|
type: "timePeriod";
|
|
8616
|
-
term: "
|
|
8652
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8617
8653
|
} | undefined;
|
|
8618
8654
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8619
8655
|
type: "within";
|
|
8620
8656
|
location: string | {
|
|
8621
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8657
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8622
8658
|
$location?: string | undefined;
|
|
8623
8659
|
};
|
|
8624
8660
|
} | undefined;
|
|
@@ -8635,12 +8671,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8635
8671
|
lte: string;
|
|
8636
8672
|
} | {
|
|
8637
8673
|
type: "timePeriod";
|
|
8638
|
-
term: "
|
|
8674
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
|
8639
8675
|
} | undefined;
|
|
8640
8676
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8641
8677
|
type: "within";
|
|
8642
8678
|
location: string | {
|
|
8643
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8679
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8644
8680
|
$location?: string | undefined;
|
|
8645
8681
|
};
|
|
8646
8682
|
} | undefined;
|
|
@@ -8655,47 +8691,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8655
8691
|
createdAtLocation?: {
|
|
8656
8692
|
type: "within";
|
|
8657
8693
|
location: string | {
|
|
8658
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8694
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8659
8695
|
$location?: string | undefined;
|
|
8660
8696
|
};
|
|
8661
8697
|
} | {
|
|
8662
8698
|
type: "exact";
|
|
8663
8699
|
term: string | {
|
|
8664
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8700
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8665
8701
|
$location?: string | undefined;
|
|
8666
8702
|
};
|
|
8667
8703
|
} | undefined;
|
|
8668
8704
|
updatedAtLocation?: {
|
|
8669
8705
|
type: "within";
|
|
8670
8706
|
location: string | {
|
|
8671
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8707
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8672
8708
|
$location?: string | undefined;
|
|
8673
8709
|
};
|
|
8674
8710
|
} | {
|
|
8675
8711
|
type: "exact";
|
|
8676
8712
|
term: string | {
|
|
8677
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8713
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8678
8714
|
$location?: string | undefined;
|
|
8679
8715
|
};
|
|
8680
8716
|
} | undefined;
|
|
8681
8717
|
updatedByUserRole?: {
|
|
8682
8718
|
type: "exact";
|
|
8683
8719
|
term: string | {
|
|
8684
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8720
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8685
8721
|
$location?: string | undefined;
|
|
8686
8722
|
};
|
|
8687
8723
|
} | undefined;
|
|
8688
8724
|
assignedTo?: {
|
|
8689
8725
|
type: "exact";
|
|
8690
8726
|
term: string | {
|
|
8691
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8727
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8692
8728
|
$location?: string | undefined;
|
|
8693
8729
|
};
|
|
8694
8730
|
} | undefined;
|
|
8695
8731
|
createdBy?: {
|
|
8696
8732
|
type: "exact";
|
|
8697
8733
|
term: string | {
|
|
8698
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8734
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8699
8735
|
$location?: string | undefined;
|
|
8700
8736
|
};
|
|
8701
8737
|
} | undefined;
|
|
@@ -8706,7 +8742,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8706
8742
|
updatedBy?: {
|
|
8707
8743
|
type: "exact";
|
|
8708
8744
|
term: string | {
|
|
8709
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8745
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
8710
8746
|
$location?: string | undefined;
|
|
8711
8747
|
};
|
|
8712
8748
|
} | undefined;
|
|
@@ -8732,7 +8768,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8732
8768
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8733
8769
|
};
|
|
8734
8770
|
}[];
|
|
8735
|
-
icon: "
|
|
8771
|
+
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
8736
8772
|
action?: {
|
|
8737
8773
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8738
8774
|
} | undefined;
|
|
@@ -8760,14 +8796,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8760
8796
|
user: {
|
|
8761
8797
|
id: string & import("zod").$brand<"UUID">;
|
|
8762
8798
|
type: "system";
|
|
8799
|
+
signature?: undefined;
|
|
8763
8800
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8764
8801
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8765
|
-
signature?: undefined;
|
|
8766
8802
|
} | {
|
|
8767
8803
|
id: string & import("zod").$brand<"UUID">;
|
|
8804
|
+
type: "user";
|
|
8768
8805
|
role: string;
|
|
8769
8806
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8770
|
-
type: "user";
|
|
8771
8807
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8772
8808
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8773
8809
|
};
|
|
@@ -8808,14 +8844,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8808
8844
|
user: {
|
|
8809
8845
|
id: string & import("zod").$brand<"UUID">;
|
|
8810
8846
|
type: "system";
|
|
8847
|
+
signature?: undefined;
|
|
8811
8848
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8812
8849
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8813
|
-
signature?: undefined;
|
|
8814
8850
|
} | {
|
|
8815
8851
|
id: string & import("zod").$brand<"UUID">;
|
|
8852
|
+
type: "user";
|
|
8816
8853
|
role: string;
|
|
8817
8854
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8818
|
-
type: "user";
|
|
8819
8855
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8820
8856
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8821
8857
|
};
|
|
@@ -8926,14 +8962,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8926
8962
|
user: {
|
|
8927
8963
|
id: string & import("zod").$brand<"UUID">;
|
|
8928
8964
|
type: "system";
|
|
8965
|
+
signature?: undefined;
|
|
8929
8966
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8930
8967
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8931
|
-
signature?: undefined;
|
|
8932
8968
|
} | {
|
|
8933
8969
|
id: string & import("zod").$brand<"UUID">;
|
|
8970
|
+
type: "user";
|
|
8934
8971
|
role: string;
|
|
8935
8972
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8936
|
-
type: "user";
|
|
8937
8973
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8938
8974
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8939
8975
|
};
|
|
@@ -8961,14 +8997,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8961
8997
|
user: {
|
|
8962
8998
|
id: string & import("zod").$brand<"UUID">;
|
|
8963
8999
|
type: "system";
|
|
9000
|
+
signature?: undefined;
|
|
8964
9001
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8965
9002
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8966
|
-
signature?: undefined;
|
|
8967
9003
|
} | {
|
|
8968
9004
|
id: string & import("zod").$brand<"UUID">;
|
|
9005
|
+
type: "user";
|
|
8969
9006
|
role: string;
|
|
8970
9007
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8971
|
-
type: "user";
|
|
8972
9008
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8973
9009
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8974
9010
|
};
|