@opencrvs/toolkit 1.9.12-rc.ba08187 → 1.9.12-rc.ba81d1a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.sh +8 -0
- package/dist/application-config/index.js +2045 -41
- package/dist/cli.d.ts +2 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +3633 -0
- package/dist/commons/api/router.d.ts +494 -268
- package/dist/commons/application-config/index.d.ts +13 -16
- package/dist/commons/conditionals/conditionals.d.ts +8 -8
- package/dist/commons/events/ActionDocument.d.ts +196 -196
- package/dist/commons/events/ActionInput.d.ts +113 -113
- package/dist/commons/events/ActionType.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/AuditLog.d.ts +345 -163
- package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
- package/dist/commons/events/CountryConfigQueryInput.d.ts +461 -190
- package/dist/commons/events/Draft.d.ts +9 -9
- package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
- package/dist/commons/events/EventConfig.d.ts +3 -1
- package/dist/commons/events/EventDocument.d.ts +80 -80
- package/dist/commons/events/EventIndex.d.ts +35 -27
- package/dist/commons/events/EventInput.d.ts +1 -1
- package/dist/commons/events/EventMetadata.d.ts +19 -19
- package/dist/commons/events/FieldConfig.d.ts +287 -71
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
- package/dist/commons/events/FieldValue.d.ts +54 -26
- package/dist/commons/events/PlainDate.d.ts +1 -1
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +7 -7
- package/dist/commons/events/WorkqueueConfig.d.ts +443 -199
- package/dist/commons/events/defineConfig.d.ts +0 -4
- package/dist/commons/events/locations.d.ts +4 -4
- package/dist/commons/events/scopes.d.ts +4 -3
- package/dist/commons/events/state/index.d.ts +2 -2
- package/dist/commons/events/state/utils.d.ts +1 -1
- package/dist/commons/events/test.utils.d.ts +2 -2
- package/dist/commons/events/utils.d.ts +3 -175
- package/dist/commons/notification/UserNotifications.d.ts +6 -1
- package/dist/conditionals/index.js +74 -359
- package/dist/events/index.js +1206 -1260
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
- package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
- package/dist/migrations/v2.0/create-events-index.js +326 -0
- package/dist/migrations/v2.0/index.d.ts +7 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +3572 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-scopes.js +282 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
- package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-api-paths.js +188 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
- package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
- package/dist/notification/index.js +1007 -1135
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.ba81d1a.tgz +0 -0
- package/package.json +11 -7
- package/tsconfig.json +3 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-1.9.12-rc.ba08187.tgz +0 -0
|
@@ -2,17 +2,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2
2
|
ctx: Partial<{
|
|
3
3
|
token: `Bearer ${string}`;
|
|
4
4
|
user: {
|
|
5
|
-
id: string
|
|
5
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
|
-
primaryOfficeId?: undefined;
|
|
8
7
|
signature?: undefined;
|
|
9
|
-
|
|
8
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
10
10
|
} | {
|
|
11
|
-
id: string
|
|
11
|
+
id: string & import("zod").$brand<"UUID">;
|
|
12
12
|
type: "user";
|
|
13
13
|
role: string;
|
|
14
14
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
15
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
15
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
16
16
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
17
17
|
};
|
|
18
18
|
}>;
|
|
@@ -24,17 +24,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24
24
|
ctx: Partial<{
|
|
25
25
|
token: `Bearer ${string}`;
|
|
26
26
|
user: {
|
|
27
|
-
id: string
|
|
27
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
|
-
primaryOfficeId?: undefined;
|
|
30
29
|
signature?: undefined;
|
|
31
|
-
|
|
30
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
32
32
|
} | {
|
|
33
|
-
id: string
|
|
33
|
+
id: string & import("zod").$brand<"UUID">;
|
|
34
34
|
type: "user";
|
|
35
35
|
role: string;
|
|
36
36
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
37
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
37
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
38
38
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>;
|
|
@@ -46,17 +46,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
ctx: Partial<{
|
|
47
47
|
token: `Bearer ${string}`;
|
|
48
48
|
user: {
|
|
49
|
-
id: string
|
|
49
|
+
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
|
-
primaryOfficeId?: undefined;
|
|
52
51
|
signature?: undefined;
|
|
53
|
-
|
|
52
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
54
54
|
} | {
|
|
55
|
-
id: string
|
|
55
|
+
id: string & import("zod").$brand<"UUID">;
|
|
56
56
|
type: "user";
|
|
57
57
|
role: string;
|
|
58
58
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
59
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
59
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
60
60
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
@@ -92,17 +92,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
92
92
|
ctx: Partial<{
|
|
93
93
|
token: `Bearer ${string}`;
|
|
94
94
|
user: {
|
|
95
|
-
id: string
|
|
95
|
+
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
|
-
primaryOfficeId?: undefined;
|
|
98
97
|
signature?: undefined;
|
|
99
|
-
|
|
98
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
100
100
|
} | {
|
|
101
|
-
id: string
|
|
101
|
+
id: string & import("zod").$brand<"UUID">;
|
|
102
102
|
type: "user";
|
|
103
103
|
role: string;
|
|
104
104
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
105
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
105
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
106
106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
107
107
|
};
|
|
108
108
|
}>;
|
|
@@ -1054,17 +1054,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1054
1054
|
ctx: Partial<{
|
|
1055
1055
|
token: `Bearer ${string}`;
|
|
1056
1056
|
user: {
|
|
1057
|
-
id: string
|
|
1057
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1058
1058
|
type: "system";
|
|
1059
|
-
primaryOfficeId?: undefined;
|
|
1060
1059
|
signature?: undefined;
|
|
1061
|
-
|
|
1060
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1061
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1062
1062
|
} | {
|
|
1063
|
-
id: string
|
|
1063
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1064
1064
|
type: "user";
|
|
1065
1065
|
role: string;
|
|
1066
1066
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1067
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1067
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1068
1068
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1069
1069
|
};
|
|
1070
1070
|
}>;
|
|
@@ -1133,17 +1133,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1133
1133
|
ctx: Partial<{
|
|
1134
1134
|
token: `Bearer ${string}`;
|
|
1135
1135
|
user: {
|
|
1136
|
-
id: string
|
|
1136
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1137
1137
|
type: "system";
|
|
1138
|
-
primaryOfficeId?: undefined;
|
|
1139
1138
|
signature?: undefined;
|
|
1140
|
-
|
|
1139
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1140
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1141
1141
|
} | {
|
|
1142
|
-
id: string
|
|
1142
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1143
1143
|
type: "user";
|
|
1144
1144
|
role: string;
|
|
1145
1145
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1146
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1146
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1147
1147
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1148
1148
|
};
|
|
1149
1149
|
}>;
|
|
@@ -1155,17 +1155,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1155
1155
|
ctx: Partial<{
|
|
1156
1156
|
token: `Bearer ${string}`;
|
|
1157
1157
|
user: {
|
|
1158
|
-
id: string
|
|
1158
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1159
1159
|
type: "system";
|
|
1160
|
-
primaryOfficeId?: undefined;
|
|
1161
1160
|
signature?: undefined;
|
|
1162
|
-
|
|
1161
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1162
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1163
1163
|
} | {
|
|
1164
|
-
id: string
|
|
1164
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1165
1165
|
type: "user";
|
|
1166
1166
|
role: string;
|
|
1167
1167
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1168
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1168
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1169
1169
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1170
1170
|
};
|
|
1171
1171
|
}>;
|
|
@@ -1199,17 +1199,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1199
1199
|
ctx: Partial<{
|
|
1200
1200
|
token: `Bearer ${string}`;
|
|
1201
1201
|
user: {
|
|
1202
|
-
id: string
|
|
1202
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1203
1203
|
type: "system";
|
|
1204
|
-
primaryOfficeId?: undefined;
|
|
1205
1204
|
signature?: undefined;
|
|
1206
|
-
|
|
1205
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1206
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1207
1207
|
} | {
|
|
1208
|
-
id: string
|
|
1208
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1209
1209
|
type: "user";
|
|
1210
1210
|
role: string;
|
|
1211
1211
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1212
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1212
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1213
1213
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1214
1214
|
};
|
|
1215
1215
|
}>;
|
|
@@ -1552,17 +1552,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1552
1552
|
ctx: Partial<{
|
|
1553
1553
|
token: `Bearer ${string}`;
|
|
1554
1554
|
user: {
|
|
1555
|
-
id: string
|
|
1555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1556
1556
|
type: "system";
|
|
1557
|
-
primaryOfficeId?: undefined;
|
|
1558
1557
|
signature?: undefined;
|
|
1559
|
-
|
|
1558
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1560
1560
|
} | {
|
|
1561
|
-
id: string
|
|
1561
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1562
1562
|
type: "user";
|
|
1563
1563
|
role: string;
|
|
1564
1564
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1565
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1565
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1566
1566
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
}>;
|
|
@@ -1596,17 +1596,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1596
1596
|
ctx: Partial<{
|
|
1597
1597
|
token: `Bearer ${string}`;
|
|
1598
1598
|
user: {
|
|
1599
|
-
id: string
|
|
1599
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1600
1600
|
type: "system";
|
|
1601
|
-
primaryOfficeId?: undefined;
|
|
1602
1601
|
signature?: undefined;
|
|
1603
|
-
|
|
1602
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1603
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1604
1604
|
} | {
|
|
1605
|
-
id: string
|
|
1605
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1606
1606
|
type: "user";
|
|
1607
1607
|
role: string;
|
|
1608
1608
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1609
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1609
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1610
1610
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1611
1611
|
};
|
|
1612
1612
|
}>;
|
|
@@ -1640,17 +1640,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1640
1640
|
ctx: Partial<{
|
|
1641
1641
|
token: `Bearer ${string}`;
|
|
1642
1642
|
user: {
|
|
1643
|
-
id: string
|
|
1643
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1644
1644
|
type: "system";
|
|
1645
|
-
primaryOfficeId?: undefined;
|
|
1646
1645
|
signature?: undefined;
|
|
1647
|
-
|
|
1646
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1647
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1648
1648
|
} | {
|
|
1649
|
-
id: string
|
|
1649
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1650
1650
|
type: "user";
|
|
1651
1651
|
role: string;
|
|
1652
1652
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1653
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1653
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1654
1654
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1655
1655
|
};
|
|
1656
1656
|
}>;
|
|
@@ -1684,17 +1684,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1684
1684
|
ctx: Partial<{
|
|
1685
1685
|
token: `Bearer ${string}`;
|
|
1686
1686
|
user: {
|
|
1687
|
-
id: string
|
|
1687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1688
1688
|
type: "system";
|
|
1689
|
-
primaryOfficeId?: undefined;
|
|
1690
1689
|
signature?: undefined;
|
|
1691
|
-
|
|
1690
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1691
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1692
1692
|
} | {
|
|
1693
|
-
id: string
|
|
1693
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1694
1694
|
type: "user";
|
|
1695
1695
|
role: string;
|
|
1696
1696
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1697
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1697
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1698
1698
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1699
1699
|
};
|
|
1700
1700
|
}>;
|
|
@@ -1728,17 +1728,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1728
1728
|
ctx: Partial<{
|
|
1729
1729
|
token: `Bearer ${string}`;
|
|
1730
1730
|
user: {
|
|
1731
|
-
id: string
|
|
1731
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1732
1732
|
type: "system";
|
|
1733
|
-
primaryOfficeId?: undefined;
|
|
1734
1733
|
signature?: undefined;
|
|
1735
|
-
|
|
1734
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1735
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1736
1736
|
} | {
|
|
1737
|
-
id: string
|
|
1737
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1738
1738
|
type: "user";
|
|
1739
1739
|
role: string;
|
|
1740
1740
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1741
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1741
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1742
1742
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1743
1743
|
};
|
|
1744
1744
|
}>;
|
|
@@ -1772,17 +1772,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1772
1772
|
ctx: Partial<{
|
|
1773
1773
|
token: `Bearer ${string}`;
|
|
1774
1774
|
user: {
|
|
1775
|
-
id: string
|
|
1775
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1776
1776
|
type: "system";
|
|
1777
|
-
primaryOfficeId?: undefined;
|
|
1778
1777
|
signature?: undefined;
|
|
1779
|
-
|
|
1778
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1779
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1780
1780
|
} | {
|
|
1781
|
-
id: string
|
|
1781
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1782
1782
|
type: "user";
|
|
1783
1783
|
role: string;
|
|
1784
1784
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1785
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1785
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1786
1786
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1787
1787
|
};
|
|
1788
1788
|
}>;
|
|
@@ -2126,17 +2126,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2126
2126
|
ctx: Partial<{
|
|
2127
2127
|
token: `Bearer ${string}`;
|
|
2128
2128
|
user: {
|
|
2129
|
-
id: string
|
|
2129
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2130
2130
|
type: "system";
|
|
2131
|
-
primaryOfficeId?: undefined;
|
|
2132
2131
|
signature?: undefined;
|
|
2133
|
-
|
|
2132
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2133
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2134
2134
|
} | {
|
|
2135
|
-
id: string
|
|
2135
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2136
2136
|
type: "user";
|
|
2137
2137
|
role: string;
|
|
2138
2138
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2139
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2139
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2140
2140
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2141
2141
|
};
|
|
2142
2142
|
}>;
|
|
@@ -2779,17 +2779,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2779
2779
|
ctx: Partial<{
|
|
2780
2780
|
token: `Bearer ${string}`;
|
|
2781
2781
|
user: {
|
|
2782
|
-
id: string
|
|
2782
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2783
2783
|
type: "system";
|
|
2784
|
-
primaryOfficeId?: undefined;
|
|
2785
2784
|
signature?: undefined;
|
|
2786
|
-
|
|
2785
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2786
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2787
2787
|
} | {
|
|
2788
|
-
id: string
|
|
2788
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2789
2789
|
type: "user";
|
|
2790
2790
|
role: string;
|
|
2791
2791
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2792
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2792
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2793
2793
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2794
2794
|
};
|
|
2795
2795
|
}>;
|
|
@@ -2801,17 +2801,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2801
2801
|
ctx: Partial<{
|
|
2802
2802
|
token: `Bearer ${string}`;
|
|
2803
2803
|
user: {
|
|
2804
|
-
id: string
|
|
2804
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2805
2805
|
type: "system";
|
|
2806
|
-
primaryOfficeId?: undefined;
|
|
2807
2806
|
signature?: undefined;
|
|
2808
|
-
|
|
2807
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2808
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2809
2809
|
} | {
|
|
2810
|
-
id: string
|
|
2810
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2811
2811
|
type: "user";
|
|
2812
2812
|
role: string;
|
|
2813
2813
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2814
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2814
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2815
2815
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2816
2816
|
};
|
|
2817
2817
|
}>;
|
|
@@ -2845,17 +2845,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2845
2845
|
ctx: Partial<{
|
|
2846
2846
|
token: `Bearer ${string}`;
|
|
2847
2847
|
user: {
|
|
2848
|
-
id: string
|
|
2848
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2849
2849
|
type: "system";
|
|
2850
|
-
primaryOfficeId?: undefined;
|
|
2851
2850
|
signature?: undefined;
|
|
2852
|
-
|
|
2851
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2853
2853
|
} | {
|
|
2854
|
-
id: string
|
|
2854
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2855
2855
|
type: "user";
|
|
2856
2856
|
role: string;
|
|
2857
2857
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2858
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2858
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2859
2859
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2860
2860
|
};
|
|
2861
2861
|
}>;
|
|
@@ -2889,17 +2889,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2889
2889
|
ctx: Partial<{
|
|
2890
2890
|
token: `Bearer ${string}`;
|
|
2891
2891
|
user: {
|
|
2892
|
-
id: string
|
|
2892
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2893
2893
|
type: "system";
|
|
2894
|
-
primaryOfficeId?: undefined;
|
|
2895
2894
|
signature?: undefined;
|
|
2896
|
-
|
|
2895
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2896
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2897
2897
|
} | {
|
|
2898
|
-
id: string
|
|
2898
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2899
2899
|
type: "user";
|
|
2900
2900
|
role: string;
|
|
2901
2901
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2902
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2902
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2903
2903
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2904
2904
|
};
|
|
2905
2905
|
}>;
|
|
@@ -2934,17 +2934,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2934
2934
|
ctx: Partial<{
|
|
2935
2935
|
token: `Bearer ${string}`;
|
|
2936
2936
|
user: {
|
|
2937
|
-
id: string
|
|
2937
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2938
2938
|
type: "system";
|
|
2939
|
-
primaryOfficeId?: undefined;
|
|
2940
2939
|
signature?: undefined;
|
|
2941
|
-
|
|
2940
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2941
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2942
2942
|
} | {
|
|
2943
|
-
id: string
|
|
2943
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2944
2944
|
type: "user";
|
|
2945
2945
|
role: string;
|
|
2946
2946
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2947
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2947
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2948
2948
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2949
2949
|
};
|
|
2950
2950
|
}>;
|
|
@@ -3596,7 +3596,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
3596
|
results: {
|
|
3597
3597
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3598
|
type: string;
|
|
3599
|
-
status: "
|
|
3599
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
3600
3600
|
legalStatuses: {
|
|
3601
3601
|
DECLARED?: {
|
|
3602
3602
|
createdAt: string;
|
|
@@ -3952,17 +3952,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3952
3952
|
ctx: Partial<{
|
|
3953
3953
|
token: `Bearer ${string}`;
|
|
3954
3954
|
user: {
|
|
3955
|
-
id: string
|
|
3955
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3956
3956
|
type: "system";
|
|
3957
|
-
primaryOfficeId?: undefined;
|
|
3958
3957
|
signature?: undefined;
|
|
3959
|
-
|
|
3958
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3959
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3960
3960
|
} | {
|
|
3961
|
-
id: string
|
|
3961
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3962
3962
|
type: "user";
|
|
3963
3963
|
role: string;
|
|
3964
3964
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3965
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3965
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3966
3966
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3967
3967
|
};
|
|
3968
3968
|
}>;
|
|
@@ -3973,7 +3973,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3973
3973
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3974
3974
|
input: string;
|
|
3975
3975
|
output: {
|
|
3976
|
-
id: string
|
|
3976
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3977
3977
|
name: {
|
|
3978
3978
|
use: string;
|
|
3979
3979
|
given: string[];
|
|
@@ -3984,18 +3984,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3984
3984
|
type: "user";
|
|
3985
3985
|
status: "active" | "pending" | "deactivated";
|
|
3986
3986
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3988
3988
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3989
3989
|
device?: string | undefined;
|
|
3990
3990
|
fullHonorificName?: string | undefined;
|
|
3991
3991
|
mobile?: string | undefined;
|
|
3992
3992
|
email?: string | undefined;
|
|
3993
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3993
3994
|
} | {
|
|
3994
|
-
id: string
|
|
3995
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3995
3996
|
name: string;
|
|
3996
3997
|
type: "system";
|
|
3997
|
-
primaryOfficeId?: undefined;
|
|
3998
|
-
administrativeAreaId?: undefined;
|
|
3998
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
4000
|
signature?: undefined;
|
|
4000
4001
|
avatar?: undefined;
|
|
4001
4002
|
fullHonorificName?: string | undefined;
|
|
@@ -4026,9 +4027,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4026
4027
|
originalFilename: string;
|
|
4027
4028
|
type: string;
|
|
4028
4029
|
} | undefined;
|
|
4030
|
+
data?: Record<string, unknown> | undefined;
|
|
4029
4031
|
};
|
|
4030
4032
|
output: {
|
|
4031
|
-
id: string
|
|
4033
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4032
4034
|
name: {
|
|
4033
4035
|
use: string;
|
|
4034
4036
|
given: string[];
|
|
@@ -4039,30 +4041,31 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4039
4041
|
type: "user";
|
|
4040
4042
|
status: "active" | "pending" | "deactivated";
|
|
4041
4043
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4042
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4044
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4043
4045
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4044
4046
|
device?: string | undefined;
|
|
4045
4047
|
fullHonorificName?: string | undefined;
|
|
4046
4048
|
mobile?: string | undefined;
|
|
4047
4049
|
email?: string | undefined;
|
|
4050
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4048
4051
|
};
|
|
4049
|
-
meta:
|
|
4052
|
+
meta: object;
|
|
4050
4053
|
}>;
|
|
4051
4054
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4052
4055
|
input: {
|
|
4053
|
-
name
|
|
4056
|
+
name?: {
|
|
4054
4057
|
use: string;
|
|
4055
4058
|
given: string[];
|
|
4056
4059
|
family: string;
|
|
4057
|
-
}[];
|
|
4058
|
-
email: string;
|
|
4059
|
-
role: string;
|
|
4060
|
-
primaryOfficeId: string;
|
|
4060
|
+
}[] | undefined;
|
|
4061
4061
|
username?: string | undefined;
|
|
4062
|
+
email?: string | undefined;
|
|
4062
4063
|
mobile?: string | undefined;
|
|
4063
4064
|
fullHonorificName?: string | undefined;
|
|
4064
4065
|
emailForNotification?: string | undefined;
|
|
4065
4066
|
password?: string | undefined;
|
|
4067
|
+
role?: string | undefined;
|
|
4068
|
+
primaryOfficeId?: string | undefined;
|
|
4066
4069
|
device?: string | undefined;
|
|
4067
4070
|
status?: "active" | "pending" | undefined;
|
|
4068
4071
|
signature?: {
|
|
@@ -4070,11 +4073,12 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4070
4073
|
originalFilename: string;
|
|
4071
4074
|
type: string;
|
|
4072
4075
|
} | undefined;
|
|
4076
|
+
data?: Record<string, unknown> | undefined;
|
|
4073
4077
|
} & {
|
|
4074
4078
|
id: string;
|
|
4075
4079
|
};
|
|
4076
4080
|
output: {
|
|
4077
|
-
id: string
|
|
4081
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4078
4082
|
name: {
|
|
4079
4083
|
use: string;
|
|
4080
4084
|
given: string[];
|
|
@@ -4085,19 +4089,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4085
4089
|
type: "user";
|
|
4086
4090
|
status: "active" | "pending" | "deactivated";
|
|
4087
4091
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4088
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4092
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4089
4093
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4090
4094
|
device?: string | undefined;
|
|
4091
4095
|
fullHonorificName?: string | undefined;
|
|
4092
4096
|
mobile?: string | undefined;
|
|
4093
4097
|
email?: string | undefined;
|
|
4098
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4094
4099
|
};
|
|
4095
4100
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4096
4101
|
}>;
|
|
4097
4102
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4098
4103
|
input: string[];
|
|
4099
4104
|
output: ({
|
|
4100
|
-
id: string
|
|
4105
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4101
4106
|
name: {
|
|
4102
4107
|
use: string;
|
|
4103
4108
|
given: string[];
|
|
@@ -4108,18 +4113,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4108
4113
|
type: "user";
|
|
4109
4114
|
status: "active" | "pending" | "deactivated";
|
|
4110
4115
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4116
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4112
4117
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4113
4118
|
device?: string | undefined;
|
|
4114
4119
|
fullHonorificName?: string | undefined;
|
|
4115
4120
|
mobile?: string | undefined;
|
|
4116
4121
|
email?: string | undefined;
|
|
4122
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4117
4123
|
} | {
|
|
4118
|
-
id: string
|
|
4124
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4119
4125
|
name: string;
|
|
4120
4126
|
type: "system";
|
|
4121
|
-
primaryOfficeId?: undefined;
|
|
4122
|
-
administrativeAreaId?: undefined;
|
|
4127
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4128
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
4129
|
signature?: undefined;
|
|
4124
4130
|
avatar?: undefined;
|
|
4125
4131
|
fullHonorificName?: string | undefined;
|
|
@@ -4135,12 +4141,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4135
4141
|
sortOrder: "desc" | "asc";
|
|
4136
4142
|
username?: string | undefined;
|
|
4137
4143
|
mobile?: string | undefined;
|
|
4144
|
+
email?: string | undefined;
|
|
4138
4145
|
status?: string | undefined;
|
|
4139
4146
|
primaryOfficeId?: string | undefined;
|
|
4140
|
-
|
|
4147
|
+
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4141
4148
|
};
|
|
4142
4149
|
output: ({
|
|
4143
|
-
id: string
|
|
4150
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4144
4151
|
name: {
|
|
4145
4152
|
use: string;
|
|
4146
4153
|
given: string[];
|
|
@@ -4151,25 +4158,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4151
4158
|
type: "user";
|
|
4152
4159
|
status: "active" | "pending" | "deactivated";
|
|
4153
4160
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4154
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4161
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4155
4162
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4156
4163
|
device?: string | undefined;
|
|
4157
4164
|
fullHonorificName?: string | undefined;
|
|
4158
4165
|
mobile?: string | undefined;
|
|
4159
4166
|
email?: string | undefined;
|
|
4167
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4160
4168
|
} | {
|
|
4161
|
-
id: string
|
|
4169
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4162
4170
|
name: string;
|
|
4163
4171
|
type: "system";
|
|
4164
|
-
primaryOfficeId?: undefined;
|
|
4165
|
-
administrativeAreaId?: undefined;
|
|
4172
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4173
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4166
4174
|
signature?: undefined;
|
|
4167
4175
|
avatar?: undefined;
|
|
4168
4176
|
fullHonorificName?: string | undefined;
|
|
4169
4177
|
legacyId?: string | undefined;
|
|
4170
4178
|
status?: undefined;
|
|
4171
4179
|
})[];
|
|
4172
|
-
meta:
|
|
4180
|
+
meta: object;
|
|
4173
4181
|
}>;
|
|
4174
4182
|
actions: import("@trpc/server").TRPCQueryProcedure<{
|
|
4175
4183
|
input: {
|
|
@@ -4183,25 +4191,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4183
4191
|
output: {
|
|
4184
4192
|
results: {
|
|
4185
4193
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
4194
|
+
createdBy: string;
|
|
4195
|
+
createdAt: string | null;
|
|
4196
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4186
4197
|
transactionId: string | null;
|
|
4187
4198
|
eventId: string & import("zod").$brand<"UUID">;
|
|
4188
4199
|
actionType: string;
|
|
4189
4200
|
declaration: Record<string, any>;
|
|
4190
4201
|
annotation: Record<string, any> | null;
|
|
4191
|
-
createdBy: string;
|
|
4192
4202
|
createdByRole: string | null;
|
|
4193
4203
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
4194
4204
|
createdBySignature: string | null;
|
|
4195
4205
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
-
|
|
4197
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4206
|
+
updatedAt: string | null;
|
|
4198
4207
|
assignedTo: string | null;
|
|
4199
4208
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
4200
4209
|
registrationNumber: string | null;
|
|
4201
4210
|
requestId: string | null;
|
|
4202
4211
|
content: Record<string, any> | null;
|
|
4203
4212
|
customActionType: string | null;
|
|
4204
|
-
updatedAt: string | null;
|
|
4205
4213
|
eventType: string | null;
|
|
4206
4214
|
trackingId: string | null;
|
|
4207
4215
|
}[];
|
|
@@ -4213,17 +4221,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4213
4221
|
ctx: Partial<{
|
|
4214
4222
|
token: `Bearer ${string}`;
|
|
4215
4223
|
user: {
|
|
4216
|
-
id: string
|
|
4224
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4217
4225
|
type: "system";
|
|
4218
|
-
primaryOfficeId?: undefined;
|
|
4219
4226
|
signature?: undefined;
|
|
4220
|
-
|
|
4227
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4228
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4221
4229
|
} | {
|
|
4222
|
-
id: string
|
|
4230
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4223
4231
|
type: "user";
|
|
4224
4232
|
role: string;
|
|
4225
4233
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4226
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4234
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4227
4235
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4228
4236
|
};
|
|
4229
4237
|
}>;
|
|
@@ -4235,14 +4243,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4235
4243
|
input: void;
|
|
4236
4244
|
output: {
|
|
4237
4245
|
id: string;
|
|
4238
|
-
scopes: string[];
|
|
4246
|
+
scopes: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4239
4247
|
}[];
|
|
4240
4248
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4241
4249
|
}>;
|
|
4242
4250
|
}>>;
|
|
4243
4251
|
changePassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4244
4252
|
input: {
|
|
4245
|
-
userId: string;
|
|
4246
4253
|
existingPassword: string;
|
|
4247
4254
|
password: string;
|
|
4248
4255
|
};
|
|
@@ -4290,7 +4297,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4290
4297
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4291
4298
|
}>;
|
|
4292
4299
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4293
|
-
input:
|
|
4300
|
+
input: {
|
|
4301
|
+
userId: string;
|
|
4302
|
+
password: string;
|
|
4303
|
+
securityQNAs: {
|
|
4304
|
+
questionKey: string;
|
|
4305
|
+
answer: string;
|
|
4306
|
+
}[];
|
|
4307
|
+
};
|
|
4294
4308
|
output: void;
|
|
4295
4309
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4296
4310
|
}>;
|
|
@@ -4298,17 +4312,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4298
4312
|
ctx: Partial<{
|
|
4299
4313
|
token: `Bearer ${string}`;
|
|
4300
4314
|
user: {
|
|
4301
|
-
id: string
|
|
4315
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4302
4316
|
type: "system";
|
|
4303
|
-
primaryOfficeId?: undefined;
|
|
4304
4317
|
signature?: undefined;
|
|
4305
|
-
|
|
4318
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4319
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4306
4320
|
} | {
|
|
4307
|
-
id: string
|
|
4321
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4308
4322
|
type: "user";
|
|
4309
4323
|
role: string;
|
|
4310
4324
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4311
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4325
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4312
4326
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4313
4327
|
};
|
|
4314
4328
|
}>;
|
|
@@ -4324,29 +4338,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4324
4338
|
role: string;
|
|
4325
4339
|
primaryOfficeId: string;
|
|
4326
4340
|
};
|
|
4327
|
-
responseSummary: Record<string, never>;
|
|
4328
4341
|
} | {
|
|
4329
|
-
operation: "user.deactivate";
|
|
4342
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4330
4343
|
requestData: {
|
|
4331
4344
|
subjectId: string;
|
|
4332
4345
|
reason: string;
|
|
4333
4346
|
comment?: string | undefined;
|
|
4334
4347
|
};
|
|
4335
|
-
responseSummary: Record<string, never>;
|
|
4336
4348
|
} | {
|
|
4337
|
-
operation: "user.
|
|
4349
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4338
4350
|
requestData: {
|
|
4339
4351
|
subjectId: string;
|
|
4340
|
-
reason: string;
|
|
4341
|
-
comment?: string | undefined;
|
|
4342
4352
|
};
|
|
4343
|
-
responseSummary: Record<string, never>;
|
|
4344
|
-
} | {
|
|
4345
|
-
operation: "user.edit_user";
|
|
4346
|
-
requestData: {
|
|
4347
|
-
subjectId: string;
|
|
4348
|
-
};
|
|
4349
|
-
responseSummary: Record<string, never>;
|
|
4350
4353
|
} | {
|
|
4351
4354
|
operation: "user.email_address_changed";
|
|
4352
4355
|
requestData: {
|
|
@@ -4355,36 +4358,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4355
4358
|
responseSummary: {
|
|
4356
4359
|
email: string;
|
|
4357
4360
|
};
|
|
4358
|
-
} | {
|
|
4359
|
-
operation: "user.logged_in";
|
|
4360
|
-
requestData: {
|
|
4361
|
-
subjectId: string;
|
|
4362
|
-
};
|
|
4363
|
-
responseSummary: Record<string, never>;
|
|
4364
|
-
} | {
|
|
4365
|
-
operation: "user.logged_out";
|
|
4366
|
-
requestData: {
|
|
4367
|
-
subjectId: string;
|
|
4368
|
-
};
|
|
4369
|
-
responseSummary: Record<string, never>;
|
|
4370
|
-
} | {
|
|
4371
|
-
operation: "user.password_changed";
|
|
4372
|
-
requestData: {
|
|
4373
|
-
subjectId: string;
|
|
4374
|
-
};
|
|
4375
|
-
responseSummary: Record<string, never>;
|
|
4376
|
-
} | {
|
|
4377
|
-
operation: "user.password_reset";
|
|
4378
|
-
requestData: {
|
|
4379
|
-
subjectId: string;
|
|
4380
|
-
};
|
|
4381
|
-
responseSummary: Record<string, never>;
|
|
4382
|
-
} | {
|
|
4383
|
-
operation: "user.password_reset_by_admin";
|
|
4384
|
-
requestData: {
|
|
4385
|
-
subjectId: string;
|
|
4386
|
-
};
|
|
4387
|
-
responseSummary: Record<string, never>;
|
|
4388
4361
|
} | {
|
|
4389
4362
|
operation: "user.phone_number_changed";
|
|
4390
4363
|
requestData: {
|
|
@@ -4393,18 +4366,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4393
4366
|
responseSummary: {
|
|
4394
4367
|
phoneNumber: string;
|
|
4395
4368
|
};
|
|
4396
|
-
} | {
|
|
4397
|
-
operation: "user.username_reminder";
|
|
4398
|
-
requestData: {
|
|
4399
|
-
subjectId: string;
|
|
4400
|
-
};
|
|
4401
|
-
responseSummary: Record<string, never>;
|
|
4402
|
-
} | {
|
|
4403
|
-
operation: "user.username_reminder_by_admin";
|
|
4404
|
-
requestData: {
|
|
4405
|
-
subjectId: string;
|
|
4406
|
-
};
|
|
4407
|
-
responseSummary: Record<string, never>;
|
|
4408
4369
|
};
|
|
4409
4370
|
output: void;
|
|
4410
4371
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4416,17 +4377,224 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4416
4377
|
count?: number | undefined;
|
|
4417
4378
|
timeStart?: string | undefined;
|
|
4418
4379
|
timeEnd?: string | undefined;
|
|
4380
|
+
excludeOperations?: string[] | undefined;
|
|
4419
4381
|
};
|
|
4420
4382
|
output: {
|
|
4421
|
-
results: {
|
|
4383
|
+
results: ({
|
|
4422
4384
|
id: string;
|
|
4423
4385
|
clientId: string;
|
|
4424
|
-
clientType:
|
|
4425
|
-
operation: string;
|
|
4426
|
-
requestData: Record<string, unknown> | null;
|
|
4427
|
-
responseSummary: Record<string, unknown> | null;
|
|
4386
|
+
clientType: "system" | "user";
|
|
4428
4387
|
createdAt: string;
|
|
4429
|
-
|
|
4388
|
+
operation: "event.create";
|
|
4389
|
+
requestData: {
|
|
4390
|
+
transactionId: string;
|
|
4391
|
+
type: string;
|
|
4392
|
+
createdAtLocation: string | null;
|
|
4393
|
+
};
|
|
4394
|
+
responseSummary: {
|
|
4395
|
+
eventId: string;
|
|
4396
|
+
trackingId: string;
|
|
4397
|
+
};
|
|
4398
|
+
} | {
|
|
4399
|
+
id: string;
|
|
4400
|
+
clientId: string;
|
|
4401
|
+
clientType: "system" | "user";
|
|
4402
|
+
createdAt: string;
|
|
4403
|
+
operation: "event.get";
|
|
4404
|
+
requestData: {
|
|
4405
|
+
eventId: string;
|
|
4406
|
+
};
|
|
4407
|
+
responseSummary: {
|
|
4408
|
+
eventType: string;
|
|
4409
|
+
trackingId: string;
|
|
4410
|
+
};
|
|
4411
|
+
} | {
|
|
4412
|
+
id: string;
|
|
4413
|
+
clientId: string;
|
|
4414
|
+
createdAt: string;
|
|
4415
|
+
operation: "event.search";
|
|
4416
|
+
clientType: "system";
|
|
4417
|
+
requestData: {
|
|
4418
|
+
query: Record<string, unknown> | null;
|
|
4419
|
+
limit: number | null;
|
|
4420
|
+
offset: number | null;
|
|
4421
|
+
};
|
|
4422
|
+
responseSummary: {
|
|
4423
|
+
total: number;
|
|
4424
|
+
eventIds: string[];
|
|
4425
|
+
};
|
|
4426
|
+
} | {
|
|
4427
|
+
id: string;
|
|
4428
|
+
clientId: string;
|
|
4429
|
+
clientType: "system" | "user";
|
|
4430
|
+
createdAt: string;
|
|
4431
|
+
operation: "event.actions.notify.request" | "event.actions.declare.request" | "event.actions.register.request" | "event.actions.reject.request" | "event.actions.validate.request" | "event.actions.edit.request" | "event.actions.assign.request" | "event.actions.unassign.request" | "event.actions.read.request" | "event.actions.archive.request" | "event.actions.reinstate.request" | "event.actions.print_certificate.request" | "event.actions.correction.request.request" | "event.actions.correction.approve.request" | "event.actions.correction.reject.request" | "event.actions.mark_as_duplicate.request" | "event.actions.mark_as_not_duplicate.request";
|
|
4432
|
+
requestData: {
|
|
4433
|
+
eventId: string;
|
|
4434
|
+
actionType: string;
|
|
4435
|
+
eventType: string;
|
|
4436
|
+
trackingId: string;
|
|
4437
|
+
transactionId: string;
|
|
4438
|
+
};
|
|
4439
|
+
} | {
|
|
4440
|
+
id: string;
|
|
4441
|
+
clientId: string;
|
|
4442
|
+
clientType: "system" | "user";
|
|
4443
|
+
createdAt: string;
|
|
4444
|
+
operation: "event.actions.custom.request";
|
|
4445
|
+
requestData: {
|
|
4446
|
+
eventId: string;
|
|
4447
|
+
actionType: "CUSTOM";
|
|
4448
|
+
customAction: string;
|
|
4449
|
+
eventType: string;
|
|
4450
|
+
trackingId: string;
|
|
4451
|
+
transactionId: string;
|
|
4452
|
+
};
|
|
4453
|
+
} | {
|
|
4454
|
+
id: string;
|
|
4455
|
+
clientId: string;
|
|
4456
|
+
clientType: "system" | "user";
|
|
4457
|
+
createdAt: string;
|
|
4458
|
+
operation: "integrations.create";
|
|
4459
|
+
requestData: {
|
|
4460
|
+
name: string;
|
|
4461
|
+
scopes: string[];
|
|
4462
|
+
};
|
|
4463
|
+
responseSummary: {
|
|
4464
|
+
clientId: string;
|
|
4465
|
+
};
|
|
4466
|
+
} | {
|
|
4467
|
+
id: string;
|
|
4468
|
+
clientId: string;
|
|
4469
|
+
clientType: "system" | "user";
|
|
4470
|
+
createdAt: string;
|
|
4471
|
+
operation: "integrations.refreshToken";
|
|
4472
|
+
requestData: {
|
|
4473
|
+
clientId: string;
|
|
4474
|
+
};
|
|
4475
|
+
responseSummary: {
|
|
4476
|
+
clientId: string;
|
|
4477
|
+
};
|
|
4478
|
+
} | {
|
|
4479
|
+
id: string;
|
|
4480
|
+
clientId: string;
|
|
4481
|
+
clientType: "system" | "user";
|
|
4482
|
+
createdAt: string;
|
|
4483
|
+
operation: "integrations.deactivate";
|
|
4484
|
+
requestData: {
|
|
4485
|
+
id: string;
|
|
4486
|
+
};
|
|
4487
|
+
responseSummary: {
|
|
4488
|
+
id: string;
|
|
4489
|
+
status: string;
|
|
4490
|
+
};
|
|
4491
|
+
} | {
|
|
4492
|
+
id: string;
|
|
4493
|
+
clientId: string;
|
|
4494
|
+
clientType: "system" | "user";
|
|
4495
|
+
createdAt: string;
|
|
4496
|
+
operation: "integrations.activate";
|
|
4497
|
+
requestData: {
|
|
4498
|
+
id: string;
|
|
4499
|
+
};
|
|
4500
|
+
responseSummary: {
|
|
4501
|
+
id: string;
|
|
4502
|
+
status: string;
|
|
4503
|
+
};
|
|
4504
|
+
} | {
|
|
4505
|
+
id: string;
|
|
4506
|
+
clientId: string;
|
|
4507
|
+
clientType: "system" | "user";
|
|
4508
|
+
createdAt: string;
|
|
4509
|
+
operation: "integrations.delete";
|
|
4510
|
+
requestData: {
|
|
4511
|
+
id: string;
|
|
4512
|
+
};
|
|
4513
|
+
responseSummary: {
|
|
4514
|
+
id: string;
|
|
4515
|
+
name: string;
|
|
4516
|
+
};
|
|
4517
|
+
} | {
|
|
4518
|
+
id: string;
|
|
4519
|
+
clientId: string;
|
|
4520
|
+
clientType: "system" | "user";
|
|
4521
|
+
createdAt: string;
|
|
4522
|
+
operation: "integrations.refreshSecret";
|
|
4523
|
+
requestData: {
|
|
4524
|
+
id: string;
|
|
4525
|
+
};
|
|
4526
|
+
responseSummary: {
|
|
4527
|
+
clientId: string;
|
|
4528
|
+
};
|
|
4529
|
+
} | {
|
|
4530
|
+
id: string;
|
|
4531
|
+
clientId: string;
|
|
4532
|
+
clientType: "system" | "user";
|
|
4533
|
+
createdAt: string;
|
|
4534
|
+
operation: "attachments.upload";
|
|
4535
|
+
requestData: {
|
|
4536
|
+
transactionId: string;
|
|
4537
|
+
path: string | null;
|
|
4538
|
+
};
|
|
4539
|
+
responseSummary: {
|
|
4540
|
+
fileUrl: string;
|
|
4541
|
+
};
|
|
4542
|
+
} | {
|
|
4543
|
+
id: string;
|
|
4544
|
+
clientId: string;
|
|
4545
|
+
clientType: "system" | "user";
|
|
4546
|
+
createdAt: string;
|
|
4547
|
+
operation: "user.create_user";
|
|
4548
|
+
requestData: {
|
|
4549
|
+
subjectId: string;
|
|
4550
|
+
role: string;
|
|
4551
|
+
primaryOfficeId: string;
|
|
4552
|
+
};
|
|
4553
|
+
} | {
|
|
4554
|
+
id: string;
|
|
4555
|
+
clientId: string;
|
|
4556
|
+
clientType: "system" | "user";
|
|
4557
|
+
createdAt: string;
|
|
4558
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4559
|
+
requestData: {
|
|
4560
|
+
subjectId: string;
|
|
4561
|
+
reason: string;
|
|
4562
|
+
comment?: string | undefined;
|
|
4563
|
+
};
|
|
4564
|
+
} | {
|
|
4565
|
+
id: string;
|
|
4566
|
+
clientId: string;
|
|
4567
|
+
clientType: "system" | "user";
|
|
4568
|
+
createdAt: string;
|
|
4569
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4570
|
+
requestData: {
|
|
4571
|
+
subjectId: string;
|
|
4572
|
+
};
|
|
4573
|
+
} | {
|
|
4574
|
+
id: string;
|
|
4575
|
+
clientId: string;
|
|
4576
|
+
clientType: "system" | "user";
|
|
4577
|
+
createdAt: string;
|
|
4578
|
+
operation: "user.email_address_changed";
|
|
4579
|
+
requestData: {
|
|
4580
|
+
subjectId: string;
|
|
4581
|
+
};
|
|
4582
|
+
responseSummary: {
|
|
4583
|
+
email: string;
|
|
4584
|
+
};
|
|
4585
|
+
} | {
|
|
4586
|
+
id: string;
|
|
4587
|
+
clientId: string;
|
|
4588
|
+
clientType: "system" | "user";
|
|
4589
|
+
createdAt: string;
|
|
4590
|
+
operation: "user.phone_number_changed";
|
|
4591
|
+
requestData: {
|
|
4592
|
+
subjectId: string;
|
|
4593
|
+
};
|
|
4594
|
+
responseSummary: {
|
|
4595
|
+
phoneNumber: string;
|
|
4596
|
+
};
|
|
4597
|
+
})[];
|
|
4430
4598
|
total: number;
|
|
4431
4599
|
};
|
|
4432
4600
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4437,17 +4605,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4437
4605
|
ctx: Partial<{
|
|
4438
4606
|
token: `Bearer ${string}`;
|
|
4439
4607
|
user: {
|
|
4440
|
-
id: string
|
|
4608
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4441
4609
|
type: "system";
|
|
4442
|
-
primaryOfficeId?: undefined;
|
|
4443
4610
|
signature?: undefined;
|
|
4444
|
-
|
|
4611
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4612
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4445
4613
|
} | {
|
|
4446
|
-
id: string
|
|
4614
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4447
4615
|
type: "user";
|
|
4448
4616
|
role: string;
|
|
4449
4617
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4450
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4618
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4451
4619
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4452
4620
|
};
|
|
4453
4621
|
}>;
|
|
@@ -4470,7 +4638,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4470
4638
|
locationType: string | null;
|
|
4471
4639
|
externalId?: string | null | undefined;
|
|
4472
4640
|
}[];
|
|
4473
|
-
meta:
|
|
4641
|
+
meta: object;
|
|
4474
4642
|
}>;
|
|
4475
4643
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
|
4476
4644
|
input: {
|
|
@@ -4482,7 +4650,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4482
4650
|
externalId?: string | null | undefined;
|
|
4483
4651
|
}[];
|
|
4484
4652
|
output: void;
|
|
4485
|
-
meta:
|
|
4653
|
+
meta: object;
|
|
4486
4654
|
}>;
|
|
4487
4655
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
4488
4656
|
input: {
|
|
@@ -4510,17 +4678,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4510
4678
|
ctx: Partial<{
|
|
4511
4679
|
token: `Bearer ${string}`;
|
|
4512
4680
|
user: {
|
|
4513
|
-
id: string
|
|
4681
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4514
4682
|
type: "system";
|
|
4515
|
-
primaryOfficeId?: undefined;
|
|
4516
4683
|
signature?: undefined;
|
|
4517
|
-
|
|
4684
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4685
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4518
4686
|
} | {
|
|
4519
|
-
id: string
|
|
4687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4520
4688
|
type: "user";
|
|
4521
4689
|
role: string;
|
|
4522
4690
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4523
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4691
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4524
4692
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4525
4693
|
};
|
|
4526
4694
|
}>;
|
|
@@ -4532,17 +4700,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4532
4700
|
ctx: Partial<{
|
|
4533
4701
|
token: `Bearer ${string}`;
|
|
4534
4702
|
user: {
|
|
4535
|
-
id: string
|
|
4703
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4536
4704
|
type: "system";
|
|
4537
|
-
primaryOfficeId?: undefined;
|
|
4538
4705
|
signature?: undefined;
|
|
4539
|
-
|
|
4706
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4707
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4540
4708
|
} | {
|
|
4541
|
-
id: string
|
|
4709
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4542
4710
|
type: "user";
|
|
4543
4711
|
role: string;
|
|
4544
4712
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4545
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4713
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4546
4714
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4547
4715
|
};
|
|
4548
4716
|
}>;
|
|
@@ -4565,10 +4733,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4565
4733
|
eventType?: string | undefined;
|
|
4566
4734
|
status?: {
|
|
4567
4735
|
type: "anyOf";
|
|
4568
|
-
terms: ("
|
|
4736
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4569
4737
|
} | {
|
|
4570
4738
|
type: "exact";
|
|
4571
|
-
term: "
|
|
4739
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4572
4740
|
} | undefined;
|
|
4573
4741
|
createdAt?: {
|
|
4574
4742
|
type: "exact";
|
|
@@ -4595,7 +4763,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4595
4763
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4596
4764
|
type: "within";
|
|
4597
4765
|
location: string | {
|
|
4598
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4766
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4599
4767
|
$location?: string | undefined;
|
|
4600
4768
|
};
|
|
4601
4769
|
} | undefined;
|
|
@@ -4617,7 +4785,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4617
4785
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4618
4786
|
type: "within";
|
|
4619
4787
|
location: string | {
|
|
4620
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4788
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4621
4789
|
$location?: string | undefined;
|
|
4622
4790
|
};
|
|
4623
4791
|
} | undefined;
|
|
@@ -4632,35 +4800,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4632
4800
|
createdAtLocation?: {
|
|
4633
4801
|
type: "within";
|
|
4634
4802
|
location: string | {
|
|
4635
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4803
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4804
|
+
$location?: string | undefined;
|
|
4805
|
+
};
|
|
4806
|
+
} | {
|
|
4807
|
+
type: "exact";
|
|
4808
|
+
term: string | {
|
|
4809
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4636
4810
|
$location?: string | undefined;
|
|
4637
4811
|
};
|
|
4638
4812
|
} | undefined;
|
|
4639
4813
|
updatedAtLocation?: {
|
|
4640
4814
|
type: "within";
|
|
4641
4815
|
location: string | {
|
|
4642
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4816
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4817
|
+
$location?: string | undefined;
|
|
4818
|
+
};
|
|
4819
|
+
} | {
|
|
4820
|
+
type: "exact";
|
|
4821
|
+
term: string | {
|
|
4822
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4643
4823
|
$location?: string | undefined;
|
|
4644
4824
|
};
|
|
4645
4825
|
} | undefined;
|
|
4646
4826
|
updatedByUserRole?: {
|
|
4647
4827
|
type: "exact";
|
|
4648
4828
|
term: string | {
|
|
4649
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4829
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4650
4830
|
$location?: string | undefined;
|
|
4651
4831
|
};
|
|
4652
4832
|
} | undefined;
|
|
4653
4833
|
assignedTo?: {
|
|
4654
4834
|
type: "exact";
|
|
4655
4835
|
term: string | {
|
|
4656
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4836
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4657
4837
|
$location?: string | undefined;
|
|
4658
4838
|
};
|
|
4659
4839
|
} | undefined;
|
|
4660
4840
|
createdBy?: {
|
|
4661
4841
|
type: "exact";
|
|
4662
4842
|
term: string | {
|
|
4663
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4843
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4664
4844
|
$location?: string | undefined;
|
|
4665
4845
|
};
|
|
4666
4846
|
} | undefined;
|
|
@@ -4671,7 +4851,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4851
|
updatedBy?: {
|
|
4672
4852
|
type: "exact";
|
|
4673
4853
|
term: string | {
|
|
4674
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4854
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4675
4855
|
$location?: string | undefined;
|
|
4676
4856
|
};
|
|
4677
4857
|
} | undefined;
|
|
@@ -4691,10 +4871,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4691
4871
|
eventType?: string | undefined;
|
|
4692
4872
|
status?: {
|
|
4693
4873
|
type: "anyOf";
|
|
4694
|
-
terms: ("
|
|
4874
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4695
4875
|
} | {
|
|
4696
4876
|
type: "exact";
|
|
4697
|
-
term: "
|
|
4877
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4698
4878
|
} | undefined;
|
|
4699
4879
|
createdAt?: {
|
|
4700
4880
|
type: "exact";
|
|
@@ -4721,7 +4901,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4901
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4722
4902
|
type: "within";
|
|
4723
4903
|
location: string | {
|
|
4724
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4904
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4725
4905
|
$location?: string | undefined;
|
|
4726
4906
|
};
|
|
4727
4907
|
} | undefined;
|
|
@@ -4743,7 +4923,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4743
4923
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4744
4924
|
type: "within";
|
|
4745
4925
|
location: string | {
|
|
4746
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4926
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4747
4927
|
$location?: string | undefined;
|
|
4748
4928
|
};
|
|
4749
4929
|
} | undefined;
|
|
@@ -4758,35 +4938,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4758
4938
|
createdAtLocation?: {
|
|
4759
4939
|
type: "within";
|
|
4760
4940
|
location: string | {
|
|
4761
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4941
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4942
|
+
$location?: string | undefined;
|
|
4943
|
+
};
|
|
4944
|
+
} | {
|
|
4945
|
+
type: "exact";
|
|
4946
|
+
term: string | {
|
|
4947
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4762
4948
|
$location?: string | undefined;
|
|
4763
4949
|
};
|
|
4764
4950
|
} | undefined;
|
|
4765
4951
|
updatedAtLocation?: {
|
|
4766
4952
|
type: "within";
|
|
4767
4953
|
location: string | {
|
|
4768
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4954
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4955
|
+
$location?: string | undefined;
|
|
4956
|
+
};
|
|
4957
|
+
} | {
|
|
4958
|
+
type: "exact";
|
|
4959
|
+
term: string | {
|
|
4960
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4769
4961
|
$location?: string | undefined;
|
|
4770
4962
|
};
|
|
4771
4963
|
} | undefined;
|
|
4772
4964
|
updatedByUserRole?: {
|
|
4773
4965
|
type: "exact";
|
|
4774
4966
|
term: string | {
|
|
4775
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4967
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4776
4968
|
$location?: string | undefined;
|
|
4777
4969
|
};
|
|
4778
4970
|
} | undefined;
|
|
4779
4971
|
assignedTo?: {
|
|
4780
4972
|
type: "exact";
|
|
4781
4973
|
term: string | {
|
|
4782
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4974
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4783
4975
|
$location?: string | undefined;
|
|
4784
4976
|
};
|
|
4785
4977
|
} | undefined;
|
|
4786
4978
|
createdBy?: {
|
|
4787
4979
|
type: "exact";
|
|
4788
4980
|
term: string | {
|
|
4789
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4981
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4790
4982
|
$location?: string | undefined;
|
|
4791
4983
|
};
|
|
4792
4984
|
} | undefined;
|
|
@@ -4797,7 +4989,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4797
4989
|
updatedBy?: {
|
|
4798
4990
|
type: "exact";
|
|
4799
4991
|
term: string | {
|
|
4800
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4992
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "signature" | "middlename" | "avatar";
|
|
4801
4993
|
$location?: string | undefined;
|
|
4802
4994
|
};
|
|
4803
4995
|
} | undefined;
|
|
@@ -4819,7 +5011,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
5011
|
description: string;
|
|
4820
5012
|
};
|
|
4821
5013
|
value: {
|
|
4822
|
-
$event: "id" | "createdBy" | "
|
|
5014
|
+
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
4823
5015
|
};
|
|
4824
5016
|
}[];
|
|
4825
5017
|
icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
@@ -4848,17 +5040,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4848
5040
|
ctx: Partial<{
|
|
4849
5041
|
token: `Bearer ${string}`;
|
|
4850
5042
|
user: {
|
|
4851
|
-
id: string
|
|
5043
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4852
5044
|
type: "system";
|
|
4853
|
-
primaryOfficeId?: undefined;
|
|
4854
5045
|
signature?: undefined;
|
|
4855
|
-
|
|
5046
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5047
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4856
5048
|
} | {
|
|
4857
|
-
id: string
|
|
5049
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4858
5050
|
type: "user";
|
|
4859
5051
|
role: string;
|
|
4860
5052
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4861
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5053
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4862
5054
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4863
5055
|
};
|
|
4864
5056
|
}>;
|
|
@@ -4889,24 +5081,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4889
5081
|
externalId?: string | null | undefined;
|
|
4890
5082
|
}[];
|
|
4891
5083
|
output: void;
|
|
4892
|
-
meta:
|
|
5084
|
+
meta: object;
|
|
4893
5085
|
}>;
|
|
4894
5086
|
}>>;
|
|
4895
5087
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
4896
5088
|
ctx: Partial<{
|
|
4897
5089
|
token: `Bearer ${string}`;
|
|
4898
5090
|
user: {
|
|
4899
|
-
id: string
|
|
5091
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4900
5092
|
type: "system";
|
|
4901
|
-
primaryOfficeId?: undefined;
|
|
4902
5093
|
signature?: undefined;
|
|
4903
|
-
|
|
5094
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5095
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4904
5096
|
} | {
|
|
4905
|
-
id: string
|
|
5097
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4906
5098
|
type: "user";
|
|
4907
5099
|
role: string;
|
|
4908
5100
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4909
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5101
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4910
5102
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4911
5103
|
};
|
|
4912
5104
|
}>;
|
|
@@ -4934,7 +5126,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
5126
|
output: {
|
|
4935
5127
|
id: string & import("zod").$brand<"UUID">;
|
|
4936
5128
|
status: string;
|
|
4937
|
-
scope: string[];
|
|
5129
|
+
scope: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4938
5130
|
};
|
|
4939
5131
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4940
5132
|
}>;
|
|
@@ -4948,7 +5140,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4948
5140
|
scopes: string[];
|
|
4949
5141
|
status: string;
|
|
4950
5142
|
createdAt: string;
|
|
4951
|
-
createdBy: string
|
|
5143
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
4952
5144
|
}[];
|
|
4953
5145
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4954
5146
|
}>;
|
|
@@ -4963,7 +5155,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4963
5155
|
status: string;
|
|
4964
5156
|
shaSecret: string | null;
|
|
4965
5157
|
createdAt: string;
|
|
4966
|
-
createdBy: string
|
|
5158
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
4967
5159
|
};
|
|
4968
5160
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4969
5161
|
}>;
|
|
@@ -5014,17 +5206,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5014
5206
|
ctx: Partial<{
|
|
5015
5207
|
token: `Bearer ${string}`;
|
|
5016
5208
|
user: {
|
|
5017
|
-
id: string
|
|
5209
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5018
5210
|
type: "system";
|
|
5019
|
-
primaryOfficeId?: undefined;
|
|
5020
5211
|
signature?: undefined;
|
|
5021
|
-
|
|
5212
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5213
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5022
5214
|
} | {
|
|
5023
|
-
id: string
|
|
5215
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5024
5216
|
type: "user";
|
|
5025
5217
|
role: string;
|
|
5026
5218
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5027
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5219
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5028
5220
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5029
5221
|
};
|
|
5030
5222
|
}>;
|
|
@@ -5045,6 +5237,40 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5045
5237
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5046
5238
|
}>;
|
|
5047
5239
|
}>>;
|
|
5240
|
+
announcement: import("@trpc/server").TRPCBuiltRouter<{
|
|
5241
|
+
ctx: Partial<{
|
|
5242
|
+
token: `Bearer ${string}`;
|
|
5243
|
+
user: {
|
|
5244
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5245
|
+
type: "system";
|
|
5246
|
+
signature?: undefined;
|
|
5247
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5248
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5249
|
+
} | {
|
|
5250
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5251
|
+
type: "user";
|
|
5252
|
+
role: string;
|
|
5253
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5254
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5255
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5256
|
+
};
|
|
5257
|
+
}>;
|
|
5258
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5259
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5260
|
+
transformer: true;
|
|
5261
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5262
|
+
broadcast: import("@trpc/server").TRPCMutationProcedure<{
|
|
5263
|
+
input: {
|
|
5264
|
+
subject: string;
|
|
5265
|
+
body: string;
|
|
5266
|
+
locale: string;
|
|
5267
|
+
};
|
|
5268
|
+
output: {
|
|
5269
|
+
success: boolean;
|
|
5270
|
+
};
|
|
5271
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5272
|
+
}>;
|
|
5273
|
+
}>>;
|
|
5048
5274
|
}>>;
|
|
5049
5275
|
/** @knipignore */
|
|
5050
5276
|
export type AppRouter = typeof appRouter;
|