@opencrvs/toolkit 2.0.0-rc.076ef94 → 2.0.0-rc.078e42f
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/cli.js +5108 -167
- package/dist/commons/api/router.d.ts +112 -112
- package/dist/commons/conditionals/conditionals.d.ts +1586 -34
- package/dist/commons/events/ActionConfig.d.ts +0 -176
- package/dist/commons/events/field.d.ts +722 -34
- 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 +7 -92
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +5144 -88
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/notification/index.js +3 -91
- package/opencrvs-toolkit-2.0.0-rc.078e42f.tgz +0 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
- package/dist/migrations/v2.1/index.d.ts +0 -6
- package/dist/migrations/v2.1/index.d.ts.map +0 -1
- package/dist/migrations/v2.1/index.js +0 -218
- package/opencrvs-toolkit-2.0.0-rc.076ef94.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
|
};
|
|
@@ -1066,14 +1066,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1066
1066
|
user: {
|
|
1067
1067
|
id: string & import("zod").$brand<"UUID">;
|
|
1068
1068
|
type: "system";
|
|
1069
|
-
signature?: undefined;
|
|
1070
1069
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1071
1070
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1071
|
+
signature?: undefined;
|
|
1072
1072
|
} | {
|
|
1073
1073
|
id: string & import("zod").$brand<"UUID">;
|
|
1074
|
-
type: "user";
|
|
1075
1074
|
role: string;
|
|
1076
1075
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1076
|
+
type: "user";
|
|
1077
1077
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1078
1078
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1079
1079
|
};
|
|
@@ -1090,13 +1090,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1090
1090
|
transactionId: string;
|
|
1091
1091
|
createdAt: string;
|
|
1092
1092
|
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
1093
|
transactionId: string;
|
|
1095
1094
|
createdByUserType: "system" | "user";
|
|
1096
1095
|
createdAt: string;
|
|
1097
1096
|
createdBy: string;
|
|
1098
1097
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1099
1098
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1099
|
+
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";
|
|
1100
1100
|
createdByRole?: string | undefined;
|
|
1101
1101
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1102
1102
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1107,17 +1107,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1107
1107
|
}>;
|
|
1108
1108
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
1109
1109
|
input: {
|
|
1110
|
-
transactionId: string;
|
|
1111
1110
|
eventId: string;
|
|
1111
|
+
transactionId: string;
|
|
1112
1112
|
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1113
1113
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1114
|
-
createdAtLocation?: string | null | undefined;
|
|
1115
1114
|
declaration?: Record<string, unknown> | undefined;
|
|
1116
1115
|
annotation?: Record<string, unknown> | undefined;
|
|
1117
1116
|
originalActionId?: string | undefined;
|
|
1118
1117
|
keepAssignment?: boolean | undefined;
|
|
1119
1118
|
keepAssignmentIfAccepted?: boolean | undefined;
|
|
1120
1119
|
keepAssignmentIfRejected?: boolean | undefined;
|
|
1120
|
+
createdAtLocation?: string | null | undefined;
|
|
1121
1121
|
};
|
|
1122
1122
|
output: {
|
|
1123
1123
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -1125,13 +1125,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1125
1125
|
transactionId: string;
|
|
1126
1126
|
createdAt: string;
|
|
1127
1127
|
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
1128
|
transactionId: string;
|
|
1130
1129
|
createdByUserType: "system" | "user";
|
|
1131
1130
|
createdAt: string;
|
|
1132
1131
|
createdBy: string;
|
|
1133
1132
|
declaration: Record<string, import("../commons").FieldUpdateValue>;
|
|
1134
1133
|
status: "Requested" | "Accepted" | "Rejected";
|
|
1134
|
+
type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
|
|
1135
1135
|
createdByRole?: string | undefined;
|
|
1136
1136
|
createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1137
1137
|
annotation?: Record<string, import("../commons").FieldUpdateValue> | null | undefined;
|
|
@@ -1147,14 +1147,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1147
1147
|
user: {
|
|
1148
1148
|
id: string & import("zod").$brand<"UUID">;
|
|
1149
1149
|
type: "system";
|
|
1150
|
-
signature?: undefined;
|
|
1151
1150
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1152
1151
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1152
|
+
signature?: undefined;
|
|
1153
1153
|
} | {
|
|
1154
1154
|
id: string & import("zod").$brand<"UUID">;
|
|
1155
|
-
type: "user";
|
|
1156
1155
|
role: string;
|
|
1157
1156
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1157
|
+
type: "user";
|
|
1158
1158
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1159
1159
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1160
1160
|
};
|
|
@@ -1169,14 +1169,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1169
1169
|
user: {
|
|
1170
1170
|
id: string & import("zod").$brand<"UUID">;
|
|
1171
1171
|
type: "system";
|
|
1172
|
-
signature?: undefined;
|
|
1173
1172
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1174
1173
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1174
|
+
signature?: undefined;
|
|
1175
1175
|
} | {
|
|
1176
1176
|
id: string & import("zod").$brand<"UUID">;
|
|
1177
|
-
type: "user";
|
|
1178
1177
|
role: string;
|
|
1179
1178
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1179
|
+
type: "user";
|
|
1180
1180
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1181
1181
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1182
1182
|
};
|
|
@@ -1464,14 +1464,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1464
1464
|
user: {
|
|
1465
1465
|
id: string & import("zod").$brand<"UUID">;
|
|
1466
1466
|
type: "system";
|
|
1467
|
-
signature?: undefined;
|
|
1468
1467
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1469
1468
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1469
|
+
signature?: undefined;
|
|
1470
1470
|
} | {
|
|
1471
1471
|
id: string & import("zod").$brand<"UUID">;
|
|
1472
|
-
type: "user";
|
|
1473
1472
|
role: string;
|
|
1474
1473
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1474
|
+
type: "user";
|
|
1475
1475
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1476
1476
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1477
1477
|
};
|
|
@@ -1806,14 +1806,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1806
1806
|
user: {
|
|
1807
1807
|
id: string & import("zod").$brand<"UUID">;
|
|
1808
1808
|
type: "system";
|
|
1809
|
-
signature?: undefined;
|
|
1810
1809
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1811
1810
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1811
|
+
signature?: undefined;
|
|
1812
1812
|
} | {
|
|
1813
1813
|
id: string & import("zod").$brand<"UUID">;
|
|
1814
|
-
type: "user";
|
|
1815
1814
|
role: string;
|
|
1816
1815
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1816
|
+
type: "user";
|
|
1817
1817
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1818
1818
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1819
1819
|
};
|
|
@@ -2416,14 +2416,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2416
2416
|
user: {
|
|
2417
2417
|
id: string & import("zod").$brand<"UUID">;
|
|
2418
2418
|
type: "system";
|
|
2419
|
-
signature?: undefined;
|
|
2420
2419
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2421
2420
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2421
|
+
signature?: undefined;
|
|
2422
2422
|
} | {
|
|
2423
2423
|
id: string & import("zod").$brand<"UUID">;
|
|
2424
|
-
type: "user";
|
|
2425
2424
|
role: string;
|
|
2426
2425
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2426
|
+
type: "user";
|
|
2427
2427
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2428
2428
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2429
2429
|
};
|
|
@@ -2711,14 +2711,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2711
2711
|
user: {
|
|
2712
2712
|
id: string & import("zod").$brand<"UUID">;
|
|
2713
2713
|
type: "system";
|
|
2714
|
-
signature?: undefined;
|
|
2715
2714
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2716
2715
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2716
|
+
signature?: undefined;
|
|
2717
2717
|
} | {
|
|
2718
2718
|
id: string & import("zod").$brand<"UUID">;
|
|
2719
|
-
type: "user";
|
|
2720
2719
|
role: string;
|
|
2721
2720
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2721
|
+
type: "user";
|
|
2722
2722
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2723
2723
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2724
2724
|
};
|
|
@@ -3006,14 +3006,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3006
3006
|
user: {
|
|
3007
3007
|
id: string & import("zod").$brand<"UUID">;
|
|
3008
3008
|
type: "system";
|
|
3009
|
-
signature?: undefined;
|
|
3010
3009
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3011
3010
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3011
|
+
signature?: undefined;
|
|
3012
3012
|
} | {
|
|
3013
3013
|
id: string & import("zod").$brand<"UUID">;
|
|
3014
|
-
type: "user";
|
|
3015
3014
|
role: string;
|
|
3016
3015
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3016
|
+
type: "user";
|
|
3017
3017
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3018
3018
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3019
3019
|
};
|
|
@@ -3301,14 +3301,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3301
3301
|
user: {
|
|
3302
3302
|
id: string & import("zod").$brand<"UUID">;
|
|
3303
3303
|
type: "system";
|
|
3304
|
-
signature?: undefined;
|
|
3305
3304
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3306
3305
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3306
|
+
signature?: undefined;
|
|
3307
3307
|
} | {
|
|
3308
3308
|
id: string & import("zod").$brand<"UUID">;
|
|
3309
|
-
type: "user";
|
|
3310
3309
|
role: string;
|
|
3311
3310
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3311
|
+
type: "user";
|
|
3312
3312
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3313
3313
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3314
3314
|
};
|
|
@@ -3596,14 +3596,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
3596
|
user: {
|
|
3597
3597
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3598
|
type: "system";
|
|
3599
|
-
signature?: undefined;
|
|
3600
3599
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3601
3600
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3601
|
+
signature?: undefined;
|
|
3602
3602
|
} | {
|
|
3603
3603
|
id: string & import("zod").$brand<"UUID">;
|
|
3604
|
-
type: "user";
|
|
3605
3604
|
role: string;
|
|
3606
3605
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3606
|
+
type: "user";
|
|
3607
3607
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3608
3608
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3609
3609
|
};
|
|
@@ -3891,14 +3891,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3891
3891
|
user: {
|
|
3892
3892
|
id: string & import("zod").$brand<"UUID">;
|
|
3893
3893
|
type: "system";
|
|
3894
|
-
signature?: undefined;
|
|
3895
3894
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3896
3895
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3896
|
+
signature?: undefined;
|
|
3897
3897
|
} | {
|
|
3898
3898
|
id: string & import("zod").$brand<"UUID">;
|
|
3899
|
-
type: "user";
|
|
3900
3899
|
role: string;
|
|
3901
3900
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3901
|
+
type: "user";
|
|
3902
3902
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3903
3903
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3904
3904
|
};
|
|
@@ -4502,14 +4502,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4502
4502
|
user: {
|
|
4503
4503
|
id: string & import("zod").$brand<"UUID">;
|
|
4504
4504
|
type: "system";
|
|
4505
|
-
signature?: undefined;
|
|
4506
4505
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4507
4506
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4507
|
+
signature?: undefined;
|
|
4508
4508
|
} | {
|
|
4509
4509
|
id: string & import("zod").$brand<"UUID">;
|
|
4510
|
-
type: "user";
|
|
4511
4510
|
role: string;
|
|
4512
4511
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4512
|
+
type: "user";
|
|
4513
4513
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4514
4514
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4515
4515
|
};
|
|
@@ -5167,14 +5167,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5167
5167
|
user: {
|
|
5168
5168
|
id: string & import("zod").$brand<"UUID">;
|
|
5169
5169
|
type: "system";
|
|
5170
|
-
signature?: undefined;
|
|
5171
5170
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5172
5171
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5172
|
+
signature?: undefined;
|
|
5173
5173
|
} | {
|
|
5174
5174
|
id: string & import("zod").$brand<"UUID">;
|
|
5175
|
-
type: "user";
|
|
5176
5175
|
role: string;
|
|
5177
5176
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5177
|
+
type: "user";
|
|
5178
5178
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5179
5179
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5180
5180
|
};
|
|
@@ -5189,14 +5189,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5189
5189
|
user: {
|
|
5190
5190
|
id: string & import("zod").$brand<"UUID">;
|
|
5191
5191
|
type: "system";
|
|
5192
|
-
signature?: undefined;
|
|
5193
5192
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5194
5193
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5194
|
+
signature?: undefined;
|
|
5195
5195
|
} | {
|
|
5196
5196
|
id: string & import("zod").$brand<"UUID">;
|
|
5197
|
-
type: "user";
|
|
5198
5197
|
role: string;
|
|
5199
5198
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5199
|
+
type: "user";
|
|
5200
5200
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5201
5201
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5202
5202
|
};
|
|
@@ -5484,14 +5484,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5484
5484
|
user: {
|
|
5485
5485
|
id: string & import("zod").$brand<"UUID">;
|
|
5486
5486
|
type: "system";
|
|
5487
|
-
signature?: undefined;
|
|
5488
5487
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5489
5488
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5489
|
+
signature?: undefined;
|
|
5490
5490
|
} | {
|
|
5491
5491
|
id: string & import("zod").$brand<"UUID">;
|
|
5492
|
-
type: "user";
|
|
5493
5492
|
role: string;
|
|
5494
5493
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5494
|
+
type: "user";
|
|
5495
5495
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5496
5496
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5497
5497
|
};
|
|
@@ -5779,14 +5779,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5779
5779
|
user: {
|
|
5780
5780
|
id: string & import("zod").$brand<"UUID">;
|
|
5781
5781
|
type: "system";
|
|
5782
|
-
signature?: undefined;
|
|
5783
5782
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5784
5783
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5784
|
+
signature?: undefined;
|
|
5785
5785
|
} | {
|
|
5786
5786
|
id: string & import("zod").$brand<"UUID">;
|
|
5787
|
-
type: "user";
|
|
5788
5787
|
role: string;
|
|
5789
5788
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5789
|
+
type: "user";
|
|
5790
5790
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5791
5791
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5792
5792
|
};
|
|
@@ -6075,14 +6075,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6075
6075
|
user: {
|
|
6076
6076
|
id: string & import("zod").$brand<"UUID">;
|
|
6077
6077
|
type: "system";
|
|
6078
|
-
signature?: undefined;
|
|
6079
6078
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6080
6079
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
6080
|
+
signature?: undefined;
|
|
6081
6081
|
} | {
|
|
6082
6082
|
id: string & import("zod").$brand<"UUID">;
|
|
6083
|
-
type: "user";
|
|
6084
6083
|
role: string;
|
|
6085
6084
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
6085
|
+
type: "user";
|
|
6086
6086
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
6087
6087
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6088
6088
|
};
|
|
@@ -6747,7 +6747,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6747
6747
|
results: {
|
|
6748
6748
|
id: string & import("zod").$brand<"UUID">;
|
|
6749
6749
|
type: string;
|
|
6750
|
-
status: "
|
|
6750
|
+
status: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
6751
6751
|
legalStatuses: {
|
|
6752
6752
|
NOTIFIED?: {
|
|
6753
6753
|
createdAt: string;
|
|
@@ -7113,14 +7113,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7113
7113
|
user: {
|
|
7114
7114
|
id: string & import("zod").$brand<"UUID">;
|
|
7115
7115
|
type: "system";
|
|
7116
|
-
signature?: undefined;
|
|
7117
7116
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7118
7117
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7118
|
+
signature?: undefined;
|
|
7119
7119
|
} | {
|
|
7120
7120
|
id: string & import("zod").$brand<"UUID">;
|
|
7121
|
-
type: "user";
|
|
7122
7121
|
role: string;
|
|
7123
7122
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7123
|
+
type: "user";
|
|
7124
7124
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7125
7125
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7126
7126
|
};
|
|
@@ -7171,11 +7171,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7171
7171
|
};
|
|
7172
7172
|
role: string;
|
|
7173
7173
|
primaryOfficeId: string;
|
|
7174
|
-
data?: Record<string, unknown> | undefined;
|
|
7175
|
-
fullHonorificName?: string | undefined;
|
|
7176
7174
|
device?: string | undefined;
|
|
7177
|
-
|
|
7175
|
+
fullHonorificName?: string | undefined;
|
|
7178
7176
|
mobile?: string | undefined;
|
|
7177
|
+
email?: string | undefined;
|
|
7178
|
+
data?: Record<string, unknown> | undefined;
|
|
7179
7179
|
username?: undefined;
|
|
7180
7180
|
password?: undefined;
|
|
7181
7181
|
signature?: {
|
|
@@ -7208,17 +7208,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7208
7208
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7209
7209
|
input: {
|
|
7210
7210
|
id: string;
|
|
7211
|
-
data?: Record<string, unknown> | undefined;
|
|
7212
7211
|
name?: {
|
|
7213
7212
|
firstname: string;
|
|
7214
7213
|
surname: string;
|
|
7215
7214
|
} | undefined;
|
|
7216
7215
|
role?: string | undefined;
|
|
7217
|
-
fullHonorificName?: string | undefined;
|
|
7218
|
-
device?: string | undefined;
|
|
7219
7216
|
primaryOfficeId?: string | undefined;
|
|
7220
|
-
|
|
7217
|
+
device?: string | undefined;
|
|
7218
|
+
fullHonorificName?: string | undefined;
|
|
7221
7219
|
mobile?: string | undefined;
|
|
7220
|
+
email?: string | undefined;
|
|
7221
|
+
data?: Record<string, unknown> | undefined;
|
|
7222
7222
|
signature?: {
|
|
7223
7223
|
path: string;
|
|
7224
7224
|
originalFilename: string;
|
|
@@ -7251,20 +7251,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7251
7251
|
input: string[];
|
|
7252
7252
|
output: ({
|
|
7253
7253
|
id: string & import("zod").$brand<"UUID">;
|
|
7254
|
-
type: "user";
|
|
7255
7254
|
name: {
|
|
7256
7255
|
firstname: string;
|
|
7257
7256
|
surname: string;
|
|
7258
7257
|
};
|
|
7259
7258
|
role: string;
|
|
7260
7259
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7261
|
-
|
|
7260
|
+
type: "user";
|
|
7262
7261
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7263
7262
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7263
|
+
fullHonorificName?: string | undefined;
|
|
7264
7264
|
} | {
|
|
7265
7265
|
id: string & import("zod").$brand<"UUID">;
|
|
7266
|
-
type: "system";
|
|
7267
7266
|
name: string;
|
|
7267
|
+
type: "system";
|
|
7268
7268
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7269
7269
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7270
7270
|
})[];
|
|
@@ -7284,21 +7284,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7284
7284
|
};
|
|
7285
7285
|
output: ({
|
|
7286
7286
|
id: string & import("zod").$brand<"UUID">;
|
|
7287
|
-
type: "user";
|
|
7288
7287
|
name: {
|
|
7289
7288
|
firstname: string;
|
|
7290
7289
|
surname: string;
|
|
7291
7290
|
};
|
|
7292
7291
|
role: string;
|
|
7293
7292
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7293
|
+
type: "user";
|
|
7294
7294
|
status: "active" | "pending" | "deactivated";
|
|
7295
|
-
fullHonorificName?: string | undefined;
|
|
7296
7295
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7297
7296
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7297
|
+
fullHonorificName?: string | undefined;
|
|
7298
7298
|
} | {
|
|
7299
7299
|
id: string & import("zod").$brand<"UUID">;
|
|
7300
|
-
type: "system";
|
|
7301
7300
|
name: string;
|
|
7301
|
+
type: "system";
|
|
7302
7302
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7303
7303
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7304
7304
|
status?: "active" | "pending" | "deactivated" | undefined;
|
|
@@ -7349,14 +7349,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7349
7349
|
user: {
|
|
7350
7350
|
id: string & import("zod").$brand<"UUID">;
|
|
7351
7351
|
type: "system";
|
|
7352
|
-
signature?: undefined;
|
|
7353
7352
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7354
7353
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7354
|
+
signature?: undefined;
|
|
7355
7355
|
} | {
|
|
7356
7356
|
id: string & import("zod").$brand<"UUID">;
|
|
7357
|
-
type: "user";
|
|
7358
7357
|
role: string;
|
|
7359
7358
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7359
|
+
type: "user";
|
|
7360
7360
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7361
7361
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7362
7362
|
};
|
|
@@ -7473,14 +7473,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7473
7473
|
user: {
|
|
7474
7474
|
id: string & import("zod").$brand<"UUID">;
|
|
7475
7475
|
type: "system";
|
|
7476
|
-
signature?: undefined;
|
|
7477
7476
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
7477
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
|
+
signature?: undefined;
|
|
7479
7479
|
} | {
|
|
7480
7480
|
id: string & import("zod").$brand<"UUID">;
|
|
7481
|
-
type: "user";
|
|
7482
7481
|
role: string;
|
|
7483
7482
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7483
|
+
type: "user";
|
|
7484
7484
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7485
7485
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7486
7486
|
};
|
|
@@ -7587,7 +7587,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7587
7587
|
clientId: string;
|
|
7588
7588
|
clientType: "system" | "user";
|
|
7589
7589
|
createdAt: string;
|
|
7590
|
-
operation: "event.actions.
|
|
7590
|
+
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.unassign.request" | "event.actions.validate.request";
|
|
7591
7591
|
requestData: {
|
|
7592
7592
|
eventId: string;
|
|
7593
7593
|
actionType: string;
|
|
@@ -7766,14 +7766,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7766
7766
|
user: {
|
|
7767
7767
|
id: string & import("zod").$brand<"UUID">;
|
|
7768
7768
|
type: "system";
|
|
7769
|
-
signature?: undefined;
|
|
7770
7769
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
7770
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
|
+
signature?: undefined;
|
|
7772
7772
|
} | {
|
|
7773
7773
|
id: string & import("zod").$brand<"UUID">;
|
|
7774
|
-
type: "user";
|
|
7775
7774
|
role: string;
|
|
7776
7775
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7776
|
+
type: "user";
|
|
7777
7777
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7778
7778
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7779
7779
|
};
|
|
@@ -7839,14 +7839,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7839
7839
|
user: {
|
|
7840
7840
|
id: string & import("zod").$brand<"UUID">;
|
|
7841
7841
|
type: "system";
|
|
7842
|
-
signature?: undefined;
|
|
7843
7842
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
7843
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
|
+
signature?: undefined;
|
|
7845
7845
|
} | {
|
|
7846
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7847
|
-
type: "user";
|
|
7848
7847
|
role: string;
|
|
7849
7848
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7849
|
+
type: "user";
|
|
7850
7850
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7851
7851
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7852
7852
|
};
|
|
@@ -7861,14 +7861,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7861
7861
|
user: {
|
|
7862
7862
|
id: string & import("zod").$brand<"UUID">;
|
|
7863
7863
|
type: "system";
|
|
7864
|
-
signature?: undefined;
|
|
7865
7864
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
7865
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
|
+
signature?: undefined;
|
|
7867
7867
|
} | {
|
|
7868
7868
|
id: string & import("zod").$brand<"UUID">;
|
|
7869
|
-
type: "user";
|
|
7870
7869
|
role: string;
|
|
7871
7870
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7871
|
+
type: "user";
|
|
7872
7872
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7873
7873
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7874
7874
|
};
|
|
@@ -7892,10 +7892,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7892
7892
|
eventType?: string | undefined;
|
|
7893
7893
|
status?: {
|
|
7894
7894
|
type: "anyOf";
|
|
7895
|
-
terms: ("
|
|
7895
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7896
7896
|
} | {
|
|
7897
7897
|
type: "exact";
|
|
7898
|
-
term: "
|
|
7898
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7899
7899
|
} | undefined;
|
|
7900
7900
|
createdAt?: {
|
|
7901
7901
|
type: "exact";
|
|
@@ -7906,7 +7906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7906
7906
|
lte: string;
|
|
7907
7907
|
} | {
|
|
7908
7908
|
type: "timePeriod";
|
|
7909
|
-
term: "
|
|
7909
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7910
7910
|
} | undefined;
|
|
7911
7911
|
updatedAt?: {
|
|
7912
7912
|
type: "exact";
|
|
@@ -7917,12 +7917,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7917
7917
|
lte: string;
|
|
7918
7918
|
} | {
|
|
7919
7919
|
type: "timePeriod";
|
|
7920
|
-
term: "
|
|
7920
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7921
7921
|
} | undefined;
|
|
7922
7922
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7923
7923
|
type: "within";
|
|
7924
7924
|
location: string | {
|
|
7925
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7925
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7926
7926
|
$location?: string | undefined;
|
|
7927
7927
|
};
|
|
7928
7928
|
} | undefined;
|
|
@@ -7939,12 +7939,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7939
7939
|
lte: string;
|
|
7940
7940
|
} | {
|
|
7941
7941
|
type: "timePeriod";
|
|
7942
|
-
term: "
|
|
7942
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7943
7943
|
} | undefined;
|
|
7944
7944
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7945
7945
|
type: "within";
|
|
7946
7946
|
location: string | {
|
|
7947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7947
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7948
7948
|
$location?: string | undefined;
|
|
7949
7949
|
};
|
|
7950
7950
|
} | undefined;
|
|
@@ -7959,47 +7959,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7959
7959
|
createdAtLocation?: {
|
|
7960
7960
|
type: "within";
|
|
7961
7961
|
location: string | {
|
|
7962
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7962
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7963
7963
|
$location?: string | undefined;
|
|
7964
7964
|
};
|
|
7965
7965
|
} | {
|
|
7966
7966
|
type: "exact";
|
|
7967
7967
|
term: string | {
|
|
7968
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7968
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7969
7969
|
$location?: string | undefined;
|
|
7970
7970
|
};
|
|
7971
7971
|
} | undefined;
|
|
7972
7972
|
updatedAtLocation?: {
|
|
7973
7973
|
type: "within";
|
|
7974
7974
|
location: string | {
|
|
7975
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7975
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7976
7976
|
$location?: string | undefined;
|
|
7977
7977
|
};
|
|
7978
7978
|
} | {
|
|
7979
7979
|
type: "exact";
|
|
7980
7980
|
term: string | {
|
|
7981
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7981
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7982
7982
|
$location?: string | undefined;
|
|
7983
7983
|
};
|
|
7984
7984
|
} | undefined;
|
|
7985
7985
|
updatedByUserRole?: {
|
|
7986
7986
|
type: "exact";
|
|
7987
7987
|
term: string | {
|
|
7988
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7988
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7989
7989
|
$location?: string | undefined;
|
|
7990
7990
|
};
|
|
7991
7991
|
} | undefined;
|
|
7992
7992
|
assignedTo?: {
|
|
7993
7993
|
type: "exact";
|
|
7994
7994
|
term: string | {
|
|
7995
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
7995
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
7996
7996
|
$location?: string | undefined;
|
|
7997
7997
|
};
|
|
7998
7998
|
} | undefined;
|
|
7999
7999
|
createdBy?: {
|
|
8000
8000
|
type: "exact";
|
|
8001
8001
|
term: string | {
|
|
8002
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8002
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8003
8003
|
$location?: string | undefined;
|
|
8004
8004
|
};
|
|
8005
8005
|
} | undefined;
|
|
@@ -8010,7 +8010,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8010
8010
|
updatedBy?: {
|
|
8011
8011
|
type: "exact";
|
|
8012
8012
|
term: string | {
|
|
8013
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8013
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8014
8014
|
$location?: string | undefined;
|
|
8015
8015
|
};
|
|
8016
8016
|
} | undefined;
|
|
@@ -8031,10 +8031,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8031
8031
|
eventType?: string | undefined;
|
|
8032
8032
|
status?: {
|
|
8033
8033
|
type: "anyOf";
|
|
8034
|
-
terms: ("
|
|
8034
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8035
8035
|
} | {
|
|
8036
8036
|
type: "exact";
|
|
8037
|
-
term: "
|
|
8037
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8038
8038
|
} | undefined;
|
|
8039
8039
|
createdAt?: {
|
|
8040
8040
|
type: "exact";
|
|
@@ -8045,7 +8045,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8045
8045
|
lte: string;
|
|
8046
8046
|
} | {
|
|
8047
8047
|
type: "timePeriod";
|
|
8048
|
-
term: "
|
|
8048
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8049
8049
|
} | undefined;
|
|
8050
8050
|
updatedAt?: {
|
|
8051
8051
|
type: "exact";
|
|
@@ -8056,12 +8056,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8056
8056
|
lte: string;
|
|
8057
8057
|
} | {
|
|
8058
8058
|
type: "timePeriod";
|
|
8059
|
-
term: "
|
|
8059
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8060
8060
|
} | undefined;
|
|
8061
8061
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8062
8062
|
type: "within";
|
|
8063
8063
|
location: string | {
|
|
8064
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8064
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8065
8065
|
$location?: string | undefined;
|
|
8066
8066
|
};
|
|
8067
8067
|
} | undefined;
|
|
@@ -8078,12 +8078,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8078
8078
|
lte: string;
|
|
8079
8079
|
} | {
|
|
8080
8080
|
type: "timePeriod";
|
|
8081
|
-
term: "
|
|
8081
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8082
8082
|
} | undefined;
|
|
8083
8083
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8084
8084
|
type: "within";
|
|
8085
8085
|
location: string | {
|
|
8086
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8086
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8087
8087
|
$location?: string | undefined;
|
|
8088
8088
|
};
|
|
8089
8089
|
} | undefined;
|
|
@@ -8098,47 +8098,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8098
8098
|
createdAtLocation?: {
|
|
8099
8099
|
type: "within";
|
|
8100
8100
|
location: string | {
|
|
8101
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8101
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8102
8102
|
$location?: string | undefined;
|
|
8103
8103
|
};
|
|
8104
8104
|
} | {
|
|
8105
8105
|
type: "exact";
|
|
8106
8106
|
term: string | {
|
|
8107
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8107
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8108
8108
|
$location?: string | undefined;
|
|
8109
8109
|
};
|
|
8110
8110
|
} | undefined;
|
|
8111
8111
|
updatedAtLocation?: {
|
|
8112
8112
|
type: "within";
|
|
8113
8113
|
location: string | {
|
|
8114
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8114
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8115
8115
|
$location?: string | undefined;
|
|
8116
8116
|
};
|
|
8117
8117
|
} | {
|
|
8118
8118
|
type: "exact";
|
|
8119
8119
|
term: string | {
|
|
8120
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8120
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8121
8121
|
$location?: string | undefined;
|
|
8122
8122
|
};
|
|
8123
8123
|
} | undefined;
|
|
8124
8124
|
updatedByUserRole?: {
|
|
8125
8125
|
type: "exact";
|
|
8126
8126
|
term: string | {
|
|
8127
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8127
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8128
8128
|
$location?: string | undefined;
|
|
8129
8129
|
};
|
|
8130
8130
|
} | undefined;
|
|
8131
8131
|
assignedTo?: {
|
|
8132
8132
|
type: "exact";
|
|
8133
8133
|
term: string | {
|
|
8134
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8134
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8135
8135
|
$location?: string | undefined;
|
|
8136
8136
|
};
|
|
8137
8137
|
} | undefined;
|
|
8138
8138
|
createdBy?: {
|
|
8139
8139
|
type: "exact";
|
|
8140
8140
|
term: string | {
|
|
8141
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8141
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8142
8142
|
$location?: string | undefined;
|
|
8143
8143
|
};
|
|
8144
8144
|
} | undefined;
|
|
@@ -8149,7 +8149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8149
8149
|
updatedBy?: {
|
|
8150
8150
|
type: "exact";
|
|
8151
8151
|
term: string | {
|
|
8152
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "
|
|
8152
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "avatar" | "signature";
|
|
8153
8153
|
$location?: string | undefined;
|
|
8154
8154
|
};
|
|
8155
8155
|
} | undefined;
|
|
@@ -8175,7 +8175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8175
8175
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8176
8176
|
};
|
|
8177
8177
|
}[];
|
|
8178
|
-
icon: "
|
|
8178
|
+
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
8179
|
action?: {
|
|
8180
8180
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8181
8181
|
} | undefined;
|
|
@@ -8203,14 +8203,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8203
8203
|
user: {
|
|
8204
8204
|
id: string & import("zod").$brand<"UUID">;
|
|
8205
8205
|
type: "system";
|
|
8206
|
-
signature?: undefined;
|
|
8207
8206
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
8207
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
|
+
signature?: undefined;
|
|
8209
8209
|
} | {
|
|
8210
8210
|
id: string & import("zod").$brand<"UUID">;
|
|
8211
|
-
type: "user";
|
|
8212
8211
|
role: string;
|
|
8213
8212
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8213
|
+
type: "user";
|
|
8214
8214
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8215
8215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8216
8216
|
};
|
|
@@ -8251,14 +8251,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8251
8251
|
user: {
|
|
8252
8252
|
id: string & import("zod").$brand<"UUID">;
|
|
8253
8253
|
type: "system";
|
|
8254
|
-
signature?: undefined;
|
|
8255
8254
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
8255
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
|
+
signature?: undefined;
|
|
8257
8257
|
} | {
|
|
8258
8258
|
id: string & import("zod").$brand<"UUID">;
|
|
8259
|
-
type: "user";
|
|
8260
8259
|
role: string;
|
|
8261
8260
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8261
|
+
type: "user";
|
|
8262
8262
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8263
8263
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8264
8264
|
};
|
|
@@ -8369,14 +8369,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8369
8369
|
user: {
|
|
8370
8370
|
id: string & import("zod").$brand<"UUID">;
|
|
8371
8371
|
type: "system";
|
|
8372
|
-
signature?: undefined;
|
|
8373
8372
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
8373
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
|
+
signature?: undefined;
|
|
8375
8375
|
} | {
|
|
8376
8376
|
id: string & import("zod").$brand<"UUID">;
|
|
8377
|
-
type: "user";
|
|
8378
8377
|
role: string;
|
|
8379
8378
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8379
|
+
type: "user";
|
|
8380
8380
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8381
8381
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8382
8382
|
};
|
|
@@ -8404,14 +8404,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8404
8404
|
user: {
|
|
8405
8405
|
id: string & import("zod").$brand<"UUID">;
|
|
8406
8406
|
type: "system";
|
|
8407
|
-
signature?: undefined;
|
|
8408
8407
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
8408
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
|
+
signature?: undefined;
|
|
8410
8410
|
} | {
|
|
8411
8411
|
id: string & import("zod").$brand<"UUID">;
|
|
8412
|
-
type: "user";
|
|
8413
8412
|
role: string;
|
|
8414
8413
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8414
|
+
type: "user";
|
|
8415
8415
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8416
8416
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8417
8417
|
};
|