@opencrvs/toolkit 2.0.0-rc.5b9f149 → 2.0.0-rc.5ba2797
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 +17 -6
- package/dist/cli.js +3253 -47
- package/dist/commons/api/router.d.ts +122 -112
- 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 +10 -0
- 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 +172 -57
- 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 +97 -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.5ba2797.tgz +0 -0
- package/package.json +16 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.5b9f149.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
|
};
|
|
@@ -7465,14 +7473,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7465
7473
|
user: {
|
|
7466
7474
|
id: string & import("zod").$brand<"UUID">;
|
|
7467
7475
|
type: "system";
|
|
7468
|
-
signature?: undefined;
|
|
7469
7476
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7470
7477
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7478
|
+
signature?: undefined;
|
|
7471
7479
|
} | {
|
|
7472
7480
|
id: string & import("zod").$brand<"UUID">;
|
|
7473
|
-
type: "user";
|
|
7474
7481
|
role: string;
|
|
7475
7482
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7483
|
+
type: "user";
|
|
7476
7484
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7477
7485
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7478
7486
|
};
|
|
@@ -7579,7 +7587,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7579
7587
|
clientId: string;
|
|
7580
7588
|
clientType: "system" | "user";
|
|
7581
7589
|
createdAt: string;
|
|
7582
|
-
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";
|
|
7583
7591
|
requestData: {
|
|
7584
7592
|
eventId: string;
|
|
7585
7593
|
actionType: string;
|
|
@@ -7758,14 +7766,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7758
7766
|
user: {
|
|
7759
7767
|
id: string & import("zod").$brand<"UUID">;
|
|
7760
7768
|
type: "system";
|
|
7761
|
-
signature?: undefined;
|
|
7762
7769
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7763
7770
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7771
|
+
signature?: undefined;
|
|
7764
7772
|
} | {
|
|
7765
7773
|
id: string & import("zod").$brand<"UUID">;
|
|
7766
|
-
type: "user";
|
|
7767
7774
|
role: string;
|
|
7768
7775
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7776
|
+
type: "user";
|
|
7769
7777
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7770
7778
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7771
7779
|
};
|
|
@@ -7831,14 +7839,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7831
7839
|
user: {
|
|
7832
7840
|
id: string & import("zod").$brand<"UUID">;
|
|
7833
7841
|
type: "system";
|
|
7834
|
-
signature?: undefined;
|
|
7835
7842
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7836
7843
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7844
|
+
signature?: undefined;
|
|
7837
7845
|
} | {
|
|
7838
7846
|
id: string & import("zod").$brand<"UUID">;
|
|
7839
|
-
type: "user";
|
|
7840
7847
|
role: string;
|
|
7841
7848
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7849
|
+
type: "user";
|
|
7842
7850
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7843
7851
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7844
7852
|
};
|
|
@@ -7853,14 +7861,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7853
7861
|
user: {
|
|
7854
7862
|
id: string & import("zod").$brand<"UUID">;
|
|
7855
7863
|
type: "system";
|
|
7856
|
-
signature?: undefined;
|
|
7857
7864
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7858
7865
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
7866
|
+
signature?: undefined;
|
|
7859
7867
|
} | {
|
|
7860
7868
|
id: string & import("zod").$brand<"UUID">;
|
|
7861
|
-
type: "user";
|
|
7862
7869
|
role: string;
|
|
7863
7870
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
7871
|
+
type: "user";
|
|
7864
7872
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
7865
7873
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
7866
7874
|
};
|
|
@@ -7884,10 +7892,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7884
7892
|
eventType?: string | undefined;
|
|
7885
7893
|
status?: {
|
|
7886
7894
|
type: "anyOf";
|
|
7887
|
-
terms: ("
|
|
7895
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
7888
7896
|
} | {
|
|
7889
7897
|
type: "exact";
|
|
7890
|
-
term: "
|
|
7898
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
7891
7899
|
} | undefined;
|
|
7892
7900
|
createdAt?: {
|
|
7893
7901
|
type: "exact";
|
|
@@ -7898,7 +7906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7898
7906
|
lte: string;
|
|
7899
7907
|
} | {
|
|
7900
7908
|
type: "timePeriod";
|
|
7901
|
-
term: "
|
|
7909
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7902
7910
|
} | undefined;
|
|
7903
7911
|
updatedAt?: {
|
|
7904
7912
|
type: "exact";
|
|
@@ -7909,12 +7917,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7909
7917
|
lte: string;
|
|
7910
7918
|
} | {
|
|
7911
7919
|
type: "timePeriod";
|
|
7912
|
-
term: "
|
|
7920
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7913
7921
|
} | undefined;
|
|
7914
7922
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
7915
7923
|
type: "within";
|
|
7916
7924
|
location: string | {
|
|
7917
|
-
$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";
|
|
7918
7926
|
$location?: string | undefined;
|
|
7919
7927
|
};
|
|
7920
7928
|
} | undefined;
|
|
@@ -7931,12 +7939,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7931
7939
|
lte: string;
|
|
7932
7940
|
} | {
|
|
7933
7941
|
type: "timePeriod";
|
|
7934
|
-
term: "
|
|
7942
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
7935
7943
|
} | undefined;
|
|
7936
7944
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
7937
7945
|
type: "within";
|
|
7938
7946
|
location: string | {
|
|
7939
|
-
$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";
|
|
7940
7948
|
$location?: string | undefined;
|
|
7941
7949
|
};
|
|
7942
7950
|
} | undefined;
|
|
@@ -7951,47 +7959,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7951
7959
|
createdAtLocation?: {
|
|
7952
7960
|
type: "within";
|
|
7953
7961
|
location: string | {
|
|
7954
|
-
$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";
|
|
7955
7963
|
$location?: string | undefined;
|
|
7956
7964
|
};
|
|
7957
7965
|
} | {
|
|
7958
7966
|
type: "exact";
|
|
7959
7967
|
term: string | {
|
|
7960
|
-
$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";
|
|
7961
7969
|
$location?: string | undefined;
|
|
7962
7970
|
};
|
|
7963
7971
|
} | undefined;
|
|
7964
7972
|
updatedAtLocation?: {
|
|
7965
7973
|
type: "within";
|
|
7966
7974
|
location: string | {
|
|
7967
|
-
$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";
|
|
7968
7976
|
$location?: string | undefined;
|
|
7969
7977
|
};
|
|
7970
7978
|
} | {
|
|
7971
7979
|
type: "exact";
|
|
7972
7980
|
term: string | {
|
|
7973
|
-
$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";
|
|
7974
7982
|
$location?: string | undefined;
|
|
7975
7983
|
};
|
|
7976
7984
|
} | undefined;
|
|
7977
7985
|
updatedByUserRole?: {
|
|
7978
7986
|
type: "exact";
|
|
7979
7987
|
term: string | {
|
|
7980
|
-
$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";
|
|
7981
7989
|
$location?: string | undefined;
|
|
7982
7990
|
};
|
|
7983
7991
|
} | undefined;
|
|
7984
7992
|
assignedTo?: {
|
|
7985
7993
|
type: "exact";
|
|
7986
7994
|
term: string | {
|
|
7987
|
-
$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";
|
|
7988
7996
|
$location?: string | undefined;
|
|
7989
7997
|
};
|
|
7990
7998
|
} | undefined;
|
|
7991
7999
|
createdBy?: {
|
|
7992
8000
|
type: "exact";
|
|
7993
8001
|
term: string | {
|
|
7994
|
-
$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";
|
|
7995
8003
|
$location?: string | undefined;
|
|
7996
8004
|
};
|
|
7997
8005
|
} | undefined;
|
|
@@ -8002,7 +8010,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8002
8010
|
updatedBy?: {
|
|
8003
8011
|
type: "exact";
|
|
8004
8012
|
term: string | {
|
|
8005
|
-
$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";
|
|
8006
8014
|
$location?: string | undefined;
|
|
8007
8015
|
};
|
|
8008
8016
|
} | undefined;
|
|
@@ -8013,6 +8021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8013
8021
|
flags?: {
|
|
8014
8022
|
anyOf?: string[] | undefined;
|
|
8015
8023
|
noneOf?: string[] | undefined;
|
|
8024
|
+
allOf?: string[] | undefined;
|
|
8016
8025
|
} | undefined;
|
|
8017
8026
|
data?: unknown;
|
|
8018
8027
|
}[];
|
|
@@ -8022,10 +8031,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8022
8031
|
eventType?: string | undefined;
|
|
8023
8032
|
status?: {
|
|
8024
8033
|
type: "anyOf";
|
|
8025
|
-
terms: ("
|
|
8034
|
+
terms: ("ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED")[];
|
|
8026
8035
|
} | {
|
|
8027
8036
|
type: "exact";
|
|
8028
|
-
term: "
|
|
8037
|
+
term: "ARCHIVED" | "CREATED" | "DECLARED" | "NOTIFIED" | "REGISTERED";
|
|
8029
8038
|
} | undefined;
|
|
8030
8039
|
createdAt?: {
|
|
8031
8040
|
type: "exact";
|
|
@@ -8036,7 +8045,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8036
8045
|
lte: string;
|
|
8037
8046
|
} | {
|
|
8038
8047
|
type: "timePeriod";
|
|
8039
|
-
term: "
|
|
8048
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8040
8049
|
} | undefined;
|
|
8041
8050
|
updatedAt?: {
|
|
8042
8051
|
type: "exact";
|
|
@@ -8047,12 +8056,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8047
8056
|
lte: string;
|
|
8048
8057
|
} | {
|
|
8049
8058
|
type: "timePeriod";
|
|
8050
|
-
term: "
|
|
8059
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8051
8060
|
} | undefined;
|
|
8052
8061
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
8053
8062
|
type: "within";
|
|
8054
8063
|
location: string | {
|
|
8055
|
-
$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";
|
|
8056
8065
|
$location?: string | undefined;
|
|
8057
8066
|
};
|
|
8058
8067
|
} | undefined;
|
|
@@ -8069,12 +8078,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8069
8078
|
lte: string;
|
|
8070
8079
|
} | {
|
|
8071
8080
|
type: "timePeriod";
|
|
8072
|
-
term: "
|
|
8081
|
+
term: "last30Days" | "last365Days" | "last7Days" | "last90Days";
|
|
8073
8082
|
} | undefined;
|
|
8074
8083
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
8075
8084
|
type: "within";
|
|
8076
8085
|
location: string | {
|
|
8077
|
-
$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";
|
|
8078
8087
|
$location?: string | undefined;
|
|
8079
8088
|
};
|
|
8080
8089
|
} | undefined;
|
|
@@ -8089,47 +8098,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8089
8098
|
createdAtLocation?: {
|
|
8090
8099
|
type: "within";
|
|
8091
8100
|
location: string | {
|
|
8092
|
-
$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";
|
|
8093
8102
|
$location?: string | undefined;
|
|
8094
8103
|
};
|
|
8095
8104
|
} | {
|
|
8096
8105
|
type: "exact";
|
|
8097
8106
|
term: string | {
|
|
8098
|
-
$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";
|
|
8099
8108
|
$location?: string | undefined;
|
|
8100
8109
|
};
|
|
8101
8110
|
} | undefined;
|
|
8102
8111
|
updatedAtLocation?: {
|
|
8103
8112
|
type: "within";
|
|
8104
8113
|
location: string | {
|
|
8105
|
-
$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";
|
|
8106
8115
|
$location?: string | undefined;
|
|
8107
8116
|
};
|
|
8108
8117
|
} | {
|
|
8109
8118
|
type: "exact";
|
|
8110
8119
|
term: string | {
|
|
8111
|
-
$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";
|
|
8112
8121
|
$location?: string | undefined;
|
|
8113
8122
|
};
|
|
8114
8123
|
} | undefined;
|
|
8115
8124
|
updatedByUserRole?: {
|
|
8116
8125
|
type: "exact";
|
|
8117
8126
|
term: string | {
|
|
8118
|
-
$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";
|
|
8119
8128
|
$location?: string | undefined;
|
|
8120
8129
|
};
|
|
8121
8130
|
} | undefined;
|
|
8122
8131
|
assignedTo?: {
|
|
8123
8132
|
type: "exact";
|
|
8124
8133
|
term: string | {
|
|
8125
|
-
$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";
|
|
8126
8135
|
$location?: string | undefined;
|
|
8127
8136
|
};
|
|
8128
8137
|
} | undefined;
|
|
8129
8138
|
createdBy?: {
|
|
8130
8139
|
type: "exact";
|
|
8131
8140
|
term: string | {
|
|
8132
|
-
$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";
|
|
8133
8142
|
$location?: string | undefined;
|
|
8134
8143
|
};
|
|
8135
8144
|
} | undefined;
|
|
@@ -8140,7 +8149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8140
8149
|
updatedBy?: {
|
|
8141
8150
|
type: "exact";
|
|
8142
8151
|
term: string | {
|
|
8143
|
-
$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";
|
|
8144
8153
|
$location?: string | undefined;
|
|
8145
8154
|
};
|
|
8146
8155
|
} | undefined;
|
|
@@ -8151,6 +8160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8151
8160
|
flags?: {
|
|
8152
8161
|
anyOf?: string[] | undefined;
|
|
8153
8162
|
noneOf?: string[] | undefined;
|
|
8163
|
+
allOf?: string[] | undefined;
|
|
8154
8164
|
} | undefined;
|
|
8155
8165
|
data?: unknown;
|
|
8156
8166
|
}[];
|
|
@@ -8165,7 +8175,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8165
8175
|
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
8166
8176
|
};
|
|
8167
8177
|
}[];
|
|
8168
|
-
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";
|
|
8169
8179
|
action?: {
|
|
8170
8180
|
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
8171
8181
|
} | undefined;
|
|
@@ -8193,14 +8203,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8193
8203
|
user: {
|
|
8194
8204
|
id: string & import("zod").$brand<"UUID">;
|
|
8195
8205
|
type: "system";
|
|
8196
|
-
signature?: undefined;
|
|
8197
8206
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8198
8207
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8208
|
+
signature?: undefined;
|
|
8199
8209
|
} | {
|
|
8200
8210
|
id: string & import("zod").$brand<"UUID">;
|
|
8201
|
-
type: "user";
|
|
8202
8211
|
role: string;
|
|
8203
8212
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8213
|
+
type: "user";
|
|
8204
8214
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8205
8215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8206
8216
|
};
|
|
@@ -8241,14 +8251,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8241
8251
|
user: {
|
|
8242
8252
|
id: string & import("zod").$brand<"UUID">;
|
|
8243
8253
|
type: "system";
|
|
8244
|
-
signature?: undefined;
|
|
8245
8254
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8246
8255
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8256
|
+
signature?: undefined;
|
|
8247
8257
|
} | {
|
|
8248
8258
|
id: string & import("zod").$brand<"UUID">;
|
|
8249
|
-
type: "user";
|
|
8250
8259
|
role: string;
|
|
8251
8260
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8261
|
+
type: "user";
|
|
8252
8262
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8253
8263
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8254
8264
|
};
|
|
@@ -8359,14 +8369,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8359
8369
|
user: {
|
|
8360
8370
|
id: string & import("zod").$brand<"UUID">;
|
|
8361
8371
|
type: "system";
|
|
8362
|
-
signature?: undefined;
|
|
8363
8372
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8364
8373
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8374
|
+
signature?: undefined;
|
|
8365
8375
|
} | {
|
|
8366
8376
|
id: string & import("zod").$brand<"UUID">;
|
|
8367
|
-
type: "user";
|
|
8368
8377
|
role: string;
|
|
8369
8378
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8379
|
+
type: "user";
|
|
8370
8380
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8371
8381
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8372
8382
|
};
|
|
@@ -8394,14 +8404,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8394
8404
|
user: {
|
|
8395
8405
|
id: string & import("zod").$brand<"UUID">;
|
|
8396
8406
|
type: "system";
|
|
8397
|
-
signature?: undefined;
|
|
8398
8407
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8399
8408
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
8409
|
+
signature?: undefined;
|
|
8400
8410
|
} | {
|
|
8401
8411
|
id: string & import("zod").$brand<"UUID">;
|
|
8402
|
-
type: "user";
|
|
8403
8412
|
role: string;
|
|
8404
8413
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
8414
|
+
type: "user";
|
|
8405
8415
|
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
8406
8416
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
8407
8417
|
};
|