@opencrvs/toolkit 2.0.0-rc.07776ed → 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/README.md +15 -0
- package/build.sh +3 -2
- package/dist/application-config/index.js +18 -6
- package/dist/cli.js +3253 -47
- package/dist/commons/api/router.d.ts +131 -116
- package/dist/commons/conditionals/conditionals.d.ts +1589 -37
- package/dist/commons/events/ActionConfig.d.ts +28 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +11 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/WorkqueueConfig.d.ts +39 -0
- package/dist/commons/events/field.d.ts +722 -34
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +9 -0
- package/dist/conditionals/index.js +10 -5
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +6 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +507 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +183 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +179 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +122 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +110 -0
- package/dist/events/index.js +177 -59
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +11 -6
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/notification/index.js +100 -8
- package/dist/scopes/index.d.ts +89 -1
- package/dist/scopes/index.js +10 -5
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.078e42f.tgz +0 -0
- package/package.json +16 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.07776ed.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,8 +6747,16 @@ 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
|
+
NOTIFIED?: {
|
|
6753
|
+
createdAt: string;
|
|
6754
|
+
createdBy: string;
|
|
6755
|
+
acceptedAt: string;
|
|
6756
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6757
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
6758
|
+
createdByRole?: string | undefined;
|
|
6759
|
+
} | null | undefined;
|
|
6752
6760
|
DECLARED?: {
|
|
6753
6761
|
createdAt: string;
|
|
6754
6762
|
createdBy: string;
|
|
@@ -7105,14 +7113,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7105
7113
|
user: {
|
|
7106
7114
|
id: string & import("zod").$brand<"UUID">;
|
|
7107
7115
|
type: "system";
|
|
7108
|
-
signature?: undefined;
|
|
7109
7116
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7110
7117
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7118
|
+
signature?: undefined;
|
|
7111
7119
|
} | {
|
|
7112
7120
|
id: string & import("zod").$brand<"UUID">;
|
|
7113
|
-
type: "user";
|
|
7114
7121
|
role: string;
|
|
7115
7122
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7123
|
+
type: "user";
|
|
7116
7124
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7117
7125
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7118
7126
|
};
|
|
@@ -7163,11 +7171,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7163
7171
|
};
|
|
7164
7172
|
role: string;
|
|
7165
7173
|
primaryOfficeId: string;
|
|
7166
|
-
data?: Record<string, unknown> | undefined;
|
|
7167
|
-
fullHonorificName?: string | undefined;
|
|
7168
7174
|
device?: string | undefined;
|
|
7169
|
-
|
|
7175
|
+
fullHonorificName?: string | undefined;
|
|
7170
7176
|
mobile?: string | undefined;
|
|
7177
|
+
email?: string | undefined;
|
|
7178
|
+
data?: Record<string, unknown> | undefined;
|
|
7171
7179
|
username?: undefined;
|
|
7172
7180
|
password?: undefined;
|
|
7173
7181
|
signature?: {
|
|
@@ -7200,17 +7208,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7200
7208
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
7201
7209
|
input: {
|
|
7202
7210
|
id: string;
|
|
7203
|
-
data?: Record<string, unknown> | undefined;
|
|
7204
7211
|
name?: {
|
|
7205
7212
|
firstname: string;
|
|
7206
7213
|
surname: string;
|
|
7207
7214
|
} | undefined;
|
|
7208
7215
|
role?: string | undefined;
|
|
7209
|
-
fullHonorificName?: string | undefined;
|
|
7210
|
-
device?: string | undefined;
|
|
7211
7216
|
primaryOfficeId?: string | undefined;
|
|
7212
|
-
|
|
7217
|
+
device?: string | undefined;
|
|
7218
|
+
fullHonorificName?: string | undefined;
|
|
7213
7219
|
mobile?: string | undefined;
|
|
7220
|
+
email?: string | undefined;
|
|
7221
|
+
data?: Record<string, unknown> | undefined;
|
|
7214
7222
|
signature?: {
|
|
7215
7223
|
path: string;
|
|
7216
7224
|
originalFilename: string;
|
|
@@ -7243,20 +7251,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7243
7251
|
input: string[];
|
|
7244
7252
|
output: ({
|
|
7245
7253
|
id: string & import("zod").$brand<"UUID">;
|
|
7246
|
-
type: "user";
|
|
7247
7254
|
name: {
|
|
7248
7255
|
firstname: string;
|
|
7249
7256
|
surname: string;
|
|
7250
7257
|
};
|
|
7251
7258
|
role: string;
|
|
7252
7259
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7253
|
-
|
|
7260
|
+
type: "user";
|
|
7254
7261
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7255
7262
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7263
|
+
fullHonorificName?: string | undefined;
|
|
7256
7264
|
} | {
|
|
7257
7265
|
id: string & import("zod").$brand<"UUID">;
|
|
7258
|
-
type: "system";
|
|
7259
7266
|
name: string;
|
|
7267
|
+
type: "system";
|
|
7260
7268
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7261
7269
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7262
7270
|
})[];
|
|
@@ -7276,21 +7284,21 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7276
7284
|
};
|
|
7277
7285
|
output: ({
|
|
7278
7286
|
id: string & import("zod").$brand<"UUID">;
|
|
7279
|
-
type: "user";
|
|
7280
7287
|
name: {
|
|
7281
7288
|
firstname: string;
|
|
7282
7289
|
surname: string;
|
|
7283
7290
|
};
|
|
7284
7291
|
role: string;
|
|
7285
7292
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7293
|
+
type: "user";
|
|
7286
7294
|
status: "active" | "pending" | "deactivated";
|
|
7287
|
-
fullHonorificName?: string | undefined;
|
|
7288
7295
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
7289
7296
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7297
|
+
fullHonorificName?: string | undefined;
|
|
7290
7298
|
} | {
|
|
7291
7299
|
id: string & import("zod").$brand<"UUID">;
|
|
7292
|
-
type: "system";
|
|
7293
7300
|
name: string;
|
|
7301
|
+
type: "system";
|
|
7294
7302
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7295
7303
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7296
7304
|
status?: "active" | "pending" | "deactivated" | undefined;
|
|
@@ -7341,14 +7349,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7341
7349
|
user: {
|
|
7342
7350
|
id: string & import("zod").$brand<"UUID">;
|
|
7343
7351
|
type: "system";
|
|
7344
|
-
signature?: undefined;
|
|
7345
7352
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7346
7353
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7354
|
+
signature?: undefined;
|
|
7347
7355
|
} | {
|
|
7348
7356
|
id: string & import("zod").$brand<"UUID">;
|
|
7349
|
-
type: "user";
|
|
7350
7357
|
role: string;
|
|
7351
7358
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7359
|
+
type: "user";
|
|
7352
7360
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7353
7361
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7354
7362
|
};
|
|
@@ -7374,12 +7382,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7374
7382
|
output: void;
|
|
7375
7383
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7376
7384
|
}>;
|
|
7377
|
-
|
|
7385
|
+
requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7378
7386
|
input: {
|
|
7379
|
-
notificationEvent: "change-email-address";
|
|
7380
7387
|
email: string;
|
|
7381
|
-
}
|
|
7382
|
-
|
|
7388
|
+
};
|
|
7389
|
+
output: {
|
|
7390
|
+
nonce: string;
|
|
7391
|
+
};
|
|
7392
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7393
|
+
}>;
|
|
7394
|
+
requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7395
|
+
input: {
|
|
7383
7396
|
phoneNumber: string;
|
|
7384
7397
|
};
|
|
7385
7398
|
output: {
|
|
@@ -7460,14 +7473,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7460
7473
|
user: {
|
|
7461
7474
|
id: string & import("zod").$brand<"UUID">;
|
|
7462
7475
|
type: "system";
|
|
7463
|
-
signature?: undefined;
|
|
7464
7476
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7465
7477
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
|
+
signature?: undefined;
|
|
7466
7479
|
} | {
|
|
7467
7480
|
id: string & import("zod").$brand<"UUID">;
|
|
7468
|
-
type: "user";
|
|
7469
7481
|
role: string;
|
|
7470
7482
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7483
|
+
type: "user";
|
|
7471
7484
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7472
7485
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7473
7486
|
};
|
|
@@ -7574,7 +7587,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7574
7587
|
clientId: string;
|
|
7575
7588
|
clientType: "system" | "user";
|
|
7576
7589
|
createdAt: string;
|
|
7577
|
-
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";
|
|
7578
7591
|
requestData: {
|
|
7579
7592
|
eventId: string;
|
|
7580
7593
|
actionType: string;
|
|
@@ -7753,14 +7766,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7753
7766
|
user: {
|
|
7754
7767
|
id: string & import("zod").$brand<"UUID">;
|
|
7755
7768
|
type: "system";
|
|
7756
|
-
signature?: undefined;
|
|
7757
7769
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7758
7770
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
|
+
signature?: undefined;
|
|
7759
7772
|
} | {
|
|
7760
7773
|
id: string & import("zod").$brand<"UUID">;
|
|
7761
|
-
type: "user";
|
|
7762
7774
|
role: string;
|
|
7763
7775
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7776
|
+
type: "user";
|
|
7764
7777
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7765
7778
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7766
7779
|
};
|
|
@@ -7826,14 +7839,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7826
7839
|
user: {
|
|
7827
7840
|
id: string & import("zod").$brand<"UUID">;
|
|
7828
7841
|
type: "system";
|
|
7829
|
-
signature?: undefined;
|
|
7830
7842
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7831
7843
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
|
+
signature?: undefined;
|
|
7832
7845
|
} | {
|
|
7833
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7834
|
-
type: "user";
|
|
7835
7847
|
role: string;
|
|
7836
7848
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7849
|
+
type: "user";
|
|
7837
7850
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7838
7851
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7839
7852
|
};
|
|
@@ -7848,14 +7861,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7848
7861
|
user: {
|
|
7849
7862
|
id: string & import("zod").$brand<"UUID">;
|
|
7850
7863
|
type: "system";
|
|
7851
|
-
signature?: undefined;
|
|
7852
7864
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7853
7865
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
|
+
signature?: undefined;
|
|
7854
7867
|
} | {
|
|
7855
7868
|
id: string & import("zod").$brand<"UUID">;
|
|
7856
|
-
type: "user";
|
|
7857
7869
|
role: string;
|
|
7858
7870
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7871
|
+
type: "user";
|
|
7859
7872
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7860
7873
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7861
7874
|
};
|
|
@@ -7879,10 +7892,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7879
7892
|
eventType?: string | undefined;
|
|
7880
7893
|
status?: {
|
|
7881
7894
|
type: "anyOf";
|
|
7882
|
-
terms: ("
|
|
7895
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7883
7896
|
} | {
|
|
7884
7897
|
type: "exact";
|
|
7885
|
-
term: "
|
|
7898
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7886
7899
|
} | undefined;
|
|
7887
7900
|
createdAt?: {
|
|
7888
7901
|
type: "exact";
|
|
@@ -7893,7 +7906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7893
7906
|
lte: string;
|
|
7894
7907
|
} | {
|
|
7895
7908
|
type: "timePeriod";
|
|
7896
|
-
term: "
|
|
7909
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7897
7910
|
} | undefined;
|
|
7898
7911
|
updatedAt?: {
|
|
7899
7912
|
type: "exact";
|
|
@@ -7904,12 +7917,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7904
7917
|
lte: string;
|
|
7905
7918
|
} | {
|
|
7906
7919
|
type: "timePeriod";
|
|
7907
|
-
term: "
|
|
7920
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7908
7921
|
} | undefined;
|
|
7909
7922
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7910
7923
|
type: "within";
|
|
7911
7924
|
location: string | {
|
|
7912
|
-
$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";
|
|
7913
7926
|
$location?: string | undefined;
|
|
7914
7927
|
};
|
|
7915
7928
|
} | undefined;
|
|
@@ -7926,12 +7939,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7926
7939
|
lte: string;
|
|
7927
7940
|
} | {
|
|
7928
7941
|
type: "timePeriod";
|
|
7929
|
-
term: "
|
|
7942
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7930
7943
|
} | undefined;
|
|
7931
7944
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7932
7945
|
type: "within";
|
|
7933
7946
|
location: string | {
|
|
7934
|
-
$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";
|
|
7935
7948
|
$location?: string | undefined;
|
|
7936
7949
|
};
|
|
7937
7950
|
} | undefined;
|
|
@@ -7946,47 +7959,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7946
7959
|
createdAtLocation?: {
|
|
7947
7960
|
type: "within";
|
|
7948
7961
|
location: string | {
|
|
7949
|
-
$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";
|
|
7950
7963
|
$location?: string | undefined;
|
|
7951
7964
|
};
|
|
7952
7965
|
} | {
|
|
7953
7966
|
type: "exact";
|
|
7954
7967
|
term: string | {
|
|
7955
|
-
$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";
|
|
7956
7969
|
$location?: string | undefined;
|
|
7957
7970
|
};
|
|
7958
7971
|
} | undefined;
|
|
7959
7972
|
updatedAtLocation?: {
|
|
7960
7973
|
type: "within";
|
|
7961
7974
|
location: string | {
|
|
7962
|
-
$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";
|
|
7963
7976
|
$location?: string | undefined;
|
|
7964
7977
|
};
|
|
7965
7978
|
} | {
|
|
7966
7979
|
type: "exact";
|
|
7967
7980
|
term: string | {
|
|
7968
|
-
$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";
|
|
7969
7982
|
$location?: string | undefined;
|
|
7970
7983
|
};
|
|
7971
7984
|
} | undefined;
|
|
7972
7985
|
updatedByUserRole?: {
|
|
7973
7986
|
type: "exact";
|
|
7974
7987
|
term: string | {
|
|
7975
|
-
$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";
|
|
7976
7989
|
$location?: string | undefined;
|
|
7977
7990
|
};
|
|
7978
7991
|
} | undefined;
|
|
7979
7992
|
assignedTo?: {
|
|
7980
7993
|
type: "exact";
|
|
7981
7994
|
term: string | {
|
|
7982
|
-
$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";
|
|
7983
7996
|
$location?: string | undefined;
|
|
7984
7997
|
};
|
|
7985
7998
|
} | undefined;
|
|
7986
7999
|
createdBy?: {
|
|
7987
8000
|
type: "exact";
|
|
7988
8001
|
term: string | {
|
|
7989
|
-
$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";
|
|
7990
8003
|
$location?: string | undefined;
|
|
7991
8004
|
};
|
|
7992
8005
|
} | undefined;
|
|
@@ -7997,7 +8010,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7997
8010
|
updatedBy?: {
|
|
7998
8011
|
type: "exact";
|
|
7999
8012
|
term: string | {
|
|
8000
|
-
$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";
|
|
8001
8014
|
$location?: string | undefined;
|
|
8002
8015
|
};
|
|
8003
8016
|
} | undefined;
|
|
@@ -8008,6 +8021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8008
8021
|
flags?: {
|
|
8009
8022
|
anyOf?: string[] | undefined;
|
|
8010
8023
|
noneOf?: string[] | undefined;
|
|
8024
|
+
allOf?: string[] | undefined;
|
|
8011
8025
|
} | undefined;
|
|
8012
8026
|
data?: unknown;
|
|
8013
8027
|
}[];
|
|
@@ -8017,10 +8031,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8017
8031
|
eventType?: string | undefined;
|
|
8018
8032
|
status?: {
|
|
8019
8033
|
type: "anyOf";
|
|
8020
|
-
terms: ("
|
|
8034
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8021
8035
|
} | {
|
|
8022
8036
|
type: "exact";
|
|
8023
|
-
term: "
|
|
8037
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8024
8038
|
} | undefined;
|
|
8025
8039
|
createdAt?: {
|
|
8026
8040
|
type: "exact";
|
|
@@ -8031,7 +8045,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8031
8045
|
lte: string;
|
|
8032
8046
|
} | {
|
|
8033
8047
|
type: "timePeriod";
|
|
8034
|
-
term: "
|
|
8048
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8035
8049
|
} | undefined;
|
|
8036
8050
|
updatedAt?: {
|
|
8037
8051
|
type: "exact";
|
|
@@ -8042,12 +8056,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8042
8056
|
lte: string;
|
|
8043
8057
|
} | {
|
|
8044
8058
|
type: "timePeriod";
|
|
8045
|
-
term: "
|
|
8059
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8046
8060
|
} | undefined;
|
|
8047
8061
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8048
8062
|
type: "within";
|
|
8049
8063
|
location: string | {
|
|
8050
|
-
$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";
|
|
8051
8065
|
$location?: string | undefined;
|
|
8052
8066
|
};
|
|
8053
8067
|
} | undefined;
|
|
@@ -8064,12 +8078,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8064
8078
|
lte: string;
|
|
8065
8079
|
} | {
|
|
8066
8080
|
type: "timePeriod";
|
|
8067
|
-
term: "
|
|
8081
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8068
8082
|
} | undefined;
|
|
8069
8083
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8070
8084
|
type: "within";
|
|
8071
8085
|
location: string | {
|
|
8072
|
-
$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";
|
|
8073
8087
|
$location?: string | undefined;
|
|
8074
8088
|
};
|
|
8075
8089
|
} | undefined;
|
|
@@ -8084,47 +8098,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8084
8098
|
createdAtLocation?: {
|
|
8085
8099
|
type: "within";
|
|
8086
8100
|
location: string | {
|
|
8087
|
-
$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";
|
|
8088
8102
|
$location?: string | undefined;
|
|
8089
8103
|
};
|
|
8090
8104
|
} | {
|
|
8091
8105
|
type: "exact";
|
|
8092
8106
|
term: string | {
|
|
8093
|
-
$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";
|
|
8094
8108
|
$location?: string | undefined;
|
|
8095
8109
|
};
|
|
8096
8110
|
} | undefined;
|
|
8097
8111
|
updatedAtLocation?: {
|
|
8098
8112
|
type: "within";
|
|
8099
8113
|
location: string | {
|
|
8100
|
-
$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";
|
|
8101
8115
|
$location?: string | undefined;
|
|
8102
8116
|
};
|
|
8103
8117
|
} | {
|
|
8104
8118
|
type: "exact";
|
|
8105
8119
|
term: string | {
|
|
8106
|
-
$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";
|
|
8107
8121
|
$location?: string | undefined;
|
|
8108
8122
|
};
|
|
8109
8123
|
} | undefined;
|
|
8110
8124
|
updatedByUserRole?: {
|
|
8111
8125
|
type: "exact";
|
|
8112
8126
|
term: string | {
|
|
8113
|
-
$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";
|
|
8114
8128
|
$location?: string | undefined;
|
|
8115
8129
|
};
|
|
8116
8130
|
} | undefined;
|
|
8117
8131
|
assignedTo?: {
|
|
8118
8132
|
type: "exact";
|
|
8119
8133
|
term: string | {
|
|
8120
|
-
$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";
|
|
8121
8135
|
$location?: string | undefined;
|
|
8122
8136
|
};
|
|
8123
8137
|
} | undefined;
|
|
8124
8138
|
createdBy?: {
|
|
8125
8139
|
type: "exact";
|
|
8126
8140
|
term: string | {
|
|
8127
|
-
$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";
|
|
8128
8142
|
$location?: string | undefined;
|
|
8129
8143
|
};
|
|
8130
8144
|
} | undefined;
|
|
@@ -8135,7 +8149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8135
8149
|
updatedBy?: {
|
|
8136
8150
|
type: "exact";
|
|
8137
8151
|
term: string | {
|
|
8138
|
-
$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";
|
|
8139
8153
|
$location?: string | undefined;
|
|
8140
8154
|
};
|
|
8141
8155
|
} | undefined;
|
|
@@ -8146,6 +8160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8146
8160
|
flags?: {
|
|
8147
8161
|
anyOf?: string[] | undefined;
|
|
8148
8162
|
noneOf?: string[] | undefined;
|
|
8163
|
+
allOf?: string[] | undefined;
|
|
8149
8164
|
} | undefined;
|
|
8150
8165
|
data?: unknown;
|
|
8151
8166
|
}[];
|
|
@@ -8160,7 +8175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8160
8175
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8161
8176
|
};
|
|
8162
8177
|
}[];
|
|
8163
|
-
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";
|
|
8164
8179
|
action?: {
|
|
8165
8180
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8166
8181
|
} | undefined;
|
|
@@ -8188,14 +8203,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8188
8203
|
user: {
|
|
8189
8204
|
id: string & import("zod").$brand<"UUID">;
|
|
8190
8205
|
type: "system";
|
|
8191
|
-
signature?: undefined;
|
|
8192
8206
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8193
8207
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
|
+
signature?: undefined;
|
|
8194
8209
|
} | {
|
|
8195
8210
|
id: string & import("zod").$brand<"UUID">;
|
|
8196
|
-
type: "user";
|
|
8197
8211
|
role: string;
|
|
8198
8212
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8213
|
+
type: "user";
|
|
8199
8214
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8200
8215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8201
8216
|
};
|
|
@@ -8236,14 +8251,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8236
8251
|
user: {
|
|
8237
8252
|
id: string & import("zod").$brand<"UUID">;
|
|
8238
8253
|
type: "system";
|
|
8239
|
-
signature?: undefined;
|
|
8240
8254
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8241
8255
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
|
+
signature?: undefined;
|
|
8242
8257
|
} | {
|
|
8243
8258
|
id: string & import("zod").$brand<"UUID">;
|
|
8244
|
-
type: "user";
|
|
8245
8259
|
role: string;
|
|
8246
8260
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8261
|
+
type: "user";
|
|
8247
8262
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8248
8263
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8249
8264
|
};
|
|
@@ -8354,14 +8369,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8354
8369
|
user: {
|
|
8355
8370
|
id: string & import("zod").$brand<"UUID">;
|
|
8356
8371
|
type: "system";
|
|
8357
|
-
signature?: undefined;
|
|
8358
8372
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8359
8373
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
|
+
signature?: undefined;
|
|
8360
8375
|
} | {
|
|
8361
8376
|
id: string & import("zod").$brand<"UUID">;
|
|
8362
|
-
type: "user";
|
|
8363
8377
|
role: string;
|
|
8364
8378
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8379
|
+
type: "user";
|
|
8365
8380
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8366
8381
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8367
8382
|
};
|
|
@@ -8389,14 +8404,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8389
8404
|
user: {
|
|
8390
8405
|
id: string & import("zod").$brand<"UUID">;
|
|
8391
8406
|
type: "system";
|
|
8392
|
-
signature?: undefined;
|
|
8393
8407
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8394
8408
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
|
+
signature?: undefined;
|
|
8395
8410
|
} | {
|
|
8396
8411
|
id: string & import("zod").$brand<"UUID">;
|
|
8397
|
-
type: "user";
|
|
8398
8412
|
role: string;
|
|
8399
8413
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8414
|
+
type: "user";
|
|
8400
8415
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8401
8416
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8402
8417
|
};
|