@opencrvs/toolkit 1.9.12-rc.f5ca5e6 → 1.9.12-rc.f5d99e1
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 +2037 -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 +482 -244
- 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 +149 -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 +10 -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 +1190 -1251
- 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 +1020 -1155
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.f5d99e1.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.f5ca5e6.tgz +0 -0
|
@@ -4,15 +4,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4
4
|
user: {
|
|
5
5
|
id: string;
|
|
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
|
}>;
|
|
@@ -26,15 +26,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
26
26
|
user: {
|
|
27
27
|
id: string;
|
|
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
|
}>;
|
|
@@ -48,15 +48,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
48
48
|
user: {
|
|
49
49
|
id: string;
|
|
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
|
}>;
|
|
@@ -94,15 +94,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
94
94
|
user: {
|
|
95
95
|
id: string;
|
|
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
|
}>;
|
|
@@ -1056,15 +1056,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1056
1056
|
user: {
|
|
1057
1057
|
id: string;
|
|
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
|
}>;
|
|
@@ -1105,6 +1105,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1105
1105
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1106
|
originalActionId?: string | undefined;
|
|
1107
1107
|
keepAssignment?: boolean | undefined;
|
|
1108
|
+
waitFor?: boolean | undefined;
|
|
1108
1109
|
createdAtLocation?: string | null | undefined;
|
|
1109
1110
|
};
|
|
1110
1111
|
output: {
|
|
@@ -1135,15 +1136,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1135
1136
|
user: {
|
|
1136
1137
|
id: string;
|
|
1137
1138
|
type: "system";
|
|
1138
|
-
primaryOfficeId?: undefined;
|
|
1139
1139
|
signature?: undefined;
|
|
1140
|
-
|
|
1140
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1141
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1141
1142
|
} | {
|
|
1142
|
-
id: string
|
|
1143
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1143
1144
|
type: "user";
|
|
1144
1145
|
role: string;
|
|
1145
1146
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1146
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1147
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1147
1148
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1148
1149
|
};
|
|
1149
1150
|
}>;
|
|
@@ -1157,15 +1158,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1157
1158
|
user: {
|
|
1158
1159
|
id: string;
|
|
1159
1160
|
type: "system";
|
|
1160
|
-
primaryOfficeId?: undefined;
|
|
1161
1161
|
signature?: undefined;
|
|
1162
|
-
|
|
1162
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1163
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1163
1164
|
} | {
|
|
1164
|
-
id: string
|
|
1165
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1165
1166
|
type: "user";
|
|
1166
1167
|
role: string;
|
|
1167
1168
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1168
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1169
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1169
1170
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1170
1171
|
};
|
|
1171
1172
|
}>;
|
|
@@ -1201,15 +1202,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1201
1202
|
user: {
|
|
1202
1203
|
id: string;
|
|
1203
1204
|
type: "system";
|
|
1204
|
-
primaryOfficeId?: undefined;
|
|
1205
1205
|
signature?: undefined;
|
|
1206
|
-
|
|
1206
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1207
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1207
1208
|
} | {
|
|
1208
|
-
id: string
|
|
1209
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1209
1210
|
type: "user";
|
|
1210
1211
|
role: string;
|
|
1211
1212
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1212
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1213
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1213
1214
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1214
1215
|
};
|
|
1215
1216
|
}>;
|
|
@@ -1225,6 +1226,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1225
1226
|
annotation?: Record<string, unknown> | undefined;
|
|
1226
1227
|
originalActionId?: string | undefined;
|
|
1227
1228
|
keepAssignment?: boolean | undefined;
|
|
1229
|
+
waitFor?: boolean | undefined;
|
|
1228
1230
|
createdAtLocation?: string | null | undefined;
|
|
1229
1231
|
type?: "DECLARE" | undefined;
|
|
1230
1232
|
};
|
|
@@ -1554,15 +1556,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1554
1556
|
user: {
|
|
1555
1557
|
id: string;
|
|
1556
1558
|
type: "system";
|
|
1557
|
-
primaryOfficeId?: undefined;
|
|
1558
1559
|
signature?: undefined;
|
|
1559
|
-
|
|
1560
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1561
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1560
1562
|
} | {
|
|
1561
|
-
id: string
|
|
1563
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1562
1564
|
type: "user";
|
|
1563
1565
|
role: string;
|
|
1564
1566
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1565
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1567
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1566
1568
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1567
1569
|
};
|
|
1568
1570
|
}>;
|
|
@@ -1598,15 +1600,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1598
1600
|
user: {
|
|
1599
1601
|
id: string;
|
|
1600
1602
|
type: "system";
|
|
1601
|
-
primaryOfficeId?: undefined;
|
|
1602
1603
|
signature?: undefined;
|
|
1603
|
-
|
|
1604
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1605
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1604
1606
|
} | {
|
|
1605
|
-
id: string
|
|
1607
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1606
1608
|
type: "user";
|
|
1607
1609
|
role: string;
|
|
1608
1610
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1609
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1611
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1610
1612
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1611
1613
|
};
|
|
1612
1614
|
}>;
|
|
@@ -1642,15 +1644,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1642
1644
|
user: {
|
|
1643
1645
|
id: string;
|
|
1644
1646
|
type: "system";
|
|
1645
|
-
primaryOfficeId?: undefined;
|
|
1646
1647
|
signature?: undefined;
|
|
1647
|
-
|
|
1648
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1649
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1648
1650
|
} | {
|
|
1649
|
-
id: string
|
|
1651
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1650
1652
|
type: "user";
|
|
1651
1653
|
role: string;
|
|
1652
1654
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1653
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1655
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1654
1656
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1655
1657
|
};
|
|
1656
1658
|
}>;
|
|
@@ -1686,15 +1688,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1686
1688
|
user: {
|
|
1687
1689
|
id: string;
|
|
1688
1690
|
type: "system";
|
|
1689
|
-
primaryOfficeId?: undefined;
|
|
1690
1691
|
signature?: undefined;
|
|
1691
|
-
|
|
1692
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1693
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1692
1694
|
} | {
|
|
1693
|
-
id: string
|
|
1695
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1694
1696
|
type: "user";
|
|
1695
1697
|
role: string;
|
|
1696
1698
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1697
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1699
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1698
1700
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1699
1701
|
};
|
|
1700
1702
|
}>;
|
|
@@ -1730,15 +1732,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1730
1732
|
user: {
|
|
1731
1733
|
id: string;
|
|
1732
1734
|
type: "system";
|
|
1733
|
-
primaryOfficeId?: undefined;
|
|
1734
1735
|
signature?: undefined;
|
|
1735
|
-
|
|
1736
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1737
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1736
1738
|
} | {
|
|
1737
|
-
id: string
|
|
1739
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1738
1740
|
type: "user";
|
|
1739
1741
|
role: string;
|
|
1740
1742
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1741
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1743
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1742
1744
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1743
1745
|
};
|
|
1744
1746
|
}>;
|
|
@@ -1774,15 +1776,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
1776
|
user: {
|
|
1775
1777
|
id: string;
|
|
1776
1778
|
type: "system";
|
|
1777
|
-
primaryOfficeId?: undefined;
|
|
1778
1779
|
signature?: undefined;
|
|
1779
|
-
|
|
1780
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1781
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1780
1782
|
} | {
|
|
1781
|
-
id: string
|
|
1783
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1782
1784
|
type: "user";
|
|
1783
1785
|
role: string;
|
|
1784
1786
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
1785
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
1787
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
1786
1788
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
1787
1789
|
};
|
|
1788
1790
|
}>;
|
|
@@ -1799,6 +1801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1799
1801
|
annotation?: Record<string, unknown> | undefined;
|
|
1800
1802
|
originalActionId?: string | undefined;
|
|
1801
1803
|
keepAssignment?: boolean | undefined;
|
|
1804
|
+
waitFor?: boolean | undefined;
|
|
1802
1805
|
createdAtLocation?: string | null | undefined;
|
|
1803
1806
|
type?: "CUSTOM" | undefined;
|
|
1804
1807
|
};
|
|
@@ -2128,15 +2131,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2128
2131
|
user: {
|
|
2129
2132
|
id: string;
|
|
2130
2133
|
type: "system";
|
|
2131
|
-
primaryOfficeId?: undefined;
|
|
2132
2134
|
signature?: undefined;
|
|
2133
|
-
|
|
2135
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2136
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2134
2137
|
} | {
|
|
2135
|
-
id: string
|
|
2138
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2136
2139
|
type: "user";
|
|
2137
2140
|
role: string;
|
|
2138
2141
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2139
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2142
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2140
2143
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2141
2144
|
};
|
|
2142
2145
|
}>;
|
|
@@ -2154,6 +2157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2154
2157
|
annotation?: Record<string, unknown> | undefined;
|
|
2155
2158
|
originalActionId?: string | undefined;
|
|
2156
2159
|
keepAssignment?: boolean | undefined;
|
|
2160
|
+
waitFor?: boolean | undefined;
|
|
2157
2161
|
createdAtLocation?: string | null | undefined;
|
|
2158
2162
|
};
|
|
2159
2163
|
output: {
|
|
@@ -2467,6 +2471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2467
2471
|
annotation?: Record<string, unknown> | undefined;
|
|
2468
2472
|
originalActionId?: string | undefined;
|
|
2469
2473
|
keepAssignment?: boolean | undefined;
|
|
2474
|
+
waitFor?: boolean | undefined;
|
|
2470
2475
|
createdAtLocation?: string | null | undefined;
|
|
2471
2476
|
type?: "UNASSIGN" | undefined;
|
|
2472
2477
|
assignedTo?: null | undefined;
|
|
@@ -2781,15 +2786,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2781
2786
|
user: {
|
|
2782
2787
|
id: string;
|
|
2783
2788
|
type: "system";
|
|
2784
|
-
primaryOfficeId?: undefined;
|
|
2785
2789
|
signature?: undefined;
|
|
2786
|
-
|
|
2790
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2791
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2787
2792
|
} | {
|
|
2788
|
-
id: string
|
|
2793
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2789
2794
|
type: "user";
|
|
2790
2795
|
role: string;
|
|
2791
2796
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2792
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2797
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2793
2798
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2794
2799
|
};
|
|
2795
2800
|
}>;
|
|
@@ -2803,15 +2808,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2803
2808
|
user: {
|
|
2804
2809
|
id: string;
|
|
2805
2810
|
type: "system";
|
|
2806
|
-
primaryOfficeId?: undefined;
|
|
2807
2811
|
signature?: undefined;
|
|
2808
|
-
|
|
2812
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2813
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2809
2814
|
} | {
|
|
2810
|
-
id: string
|
|
2815
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2811
2816
|
type: "user";
|
|
2812
2817
|
role: string;
|
|
2813
2818
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2814
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2819
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2815
2820
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2816
2821
|
};
|
|
2817
2822
|
}>;
|
|
@@ -2847,15 +2852,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2847
2852
|
user: {
|
|
2848
2853
|
id: string;
|
|
2849
2854
|
type: "system";
|
|
2850
|
-
primaryOfficeId?: undefined;
|
|
2851
2855
|
signature?: undefined;
|
|
2852
|
-
|
|
2856
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2857
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2853
2858
|
} | {
|
|
2854
|
-
id: string
|
|
2859
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2855
2860
|
type: "user";
|
|
2856
2861
|
role: string;
|
|
2857
2862
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2858
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2863
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2859
2864
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2860
2865
|
};
|
|
2861
2866
|
}>;
|
|
@@ -2891,15 +2896,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
2896
|
user: {
|
|
2892
2897
|
id: string;
|
|
2893
2898
|
type: "system";
|
|
2894
|
-
primaryOfficeId?: undefined;
|
|
2895
2899
|
signature?: undefined;
|
|
2896
|
-
|
|
2900
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2901
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2897
2902
|
} | {
|
|
2898
|
-
id: string
|
|
2903
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2899
2904
|
type: "user";
|
|
2900
2905
|
role: string;
|
|
2901
2906
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2902
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2907
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2903
2908
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2904
2909
|
};
|
|
2905
2910
|
}>;
|
|
@@ -2936,15 +2941,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2936
2941
|
user: {
|
|
2937
2942
|
id: string;
|
|
2938
2943
|
type: "system";
|
|
2939
|
-
primaryOfficeId?: undefined;
|
|
2940
2944
|
signature?: undefined;
|
|
2941
|
-
|
|
2945
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2946
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2942
2947
|
} | {
|
|
2943
|
-
id: string
|
|
2948
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2944
2949
|
type: "user";
|
|
2945
2950
|
role: string;
|
|
2946
2951
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
2947
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
2952
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
2948
2953
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
2949
2954
|
};
|
|
2950
2955
|
}>;
|
|
@@ -2960,6 +2965,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2960
2965
|
annotation?: Record<string, unknown> | undefined;
|
|
2961
2966
|
originalActionId?: string | undefined;
|
|
2962
2967
|
keepAssignment?: boolean | undefined;
|
|
2968
|
+
waitFor?: boolean | undefined;
|
|
2963
2969
|
createdAtLocation?: string | null | undefined;
|
|
2964
2970
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2965
2971
|
content?: {
|
|
@@ -3277,6 +3283,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3277
3283
|
annotation?: Record<string, unknown> | undefined;
|
|
3278
3284
|
originalActionId?: string | undefined;
|
|
3279
3285
|
keepAssignment?: boolean | undefined;
|
|
3286
|
+
waitFor?: boolean | undefined;
|
|
3280
3287
|
createdAtLocation?: string | null | undefined;
|
|
3281
3288
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3282
3289
|
};
|
|
@@ -3596,7 +3603,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3596
3603
|
results: {
|
|
3597
3604
|
id: string & import("zod").$brand<"UUID">;
|
|
3598
3605
|
type: string;
|
|
3599
|
-
status: "
|
|
3606
|
+
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
3600
3607
|
legalStatuses: {
|
|
3601
3608
|
DECLARED?: {
|
|
3602
3609
|
createdAt: string;
|
|
@@ -3954,15 +3961,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3954
3961
|
user: {
|
|
3955
3962
|
id: string;
|
|
3956
3963
|
type: "system";
|
|
3957
|
-
primaryOfficeId?: undefined;
|
|
3958
3964
|
signature?: undefined;
|
|
3959
|
-
|
|
3965
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3966
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3960
3967
|
} | {
|
|
3961
|
-
id: string
|
|
3968
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3962
3969
|
type: "user";
|
|
3963
3970
|
role: string;
|
|
3964
3971
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3965
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3972
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3966
3973
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3967
3974
|
};
|
|
3968
3975
|
}>;
|
|
@@ -3973,7 +3980,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3973
3980
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3974
3981
|
input: string;
|
|
3975
3982
|
output: {
|
|
3976
|
-
id: string
|
|
3983
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3977
3984
|
name: {
|
|
3978
3985
|
use: string;
|
|
3979
3986
|
given: string[];
|
|
@@ -3984,18 +3991,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3984
3991
|
type: "user";
|
|
3985
3992
|
status: "active" | "pending" | "deactivated";
|
|
3986
3993
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3987
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
3994
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
3988
3995
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
3989
3996
|
device?: string | undefined;
|
|
3990
3997
|
fullHonorificName?: string | undefined;
|
|
3991
3998
|
mobile?: string | undefined;
|
|
3992
3999
|
email?: string | undefined;
|
|
4000
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3993
4001
|
} | {
|
|
3994
4002
|
id: string;
|
|
3995
4003
|
name: string;
|
|
3996
4004
|
type: "system";
|
|
3997
|
-
primaryOfficeId?: undefined;
|
|
3998
|
-
administrativeAreaId?: undefined;
|
|
4005
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4006
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3999
4007
|
signature?: undefined;
|
|
4000
4008
|
avatar?: undefined;
|
|
4001
4009
|
fullHonorificName?: string | undefined;
|
|
@@ -4011,16 +4019,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4011
4019
|
given: string[];
|
|
4012
4020
|
family: string;
|
|
4013
4021
|
}[];
|
|
4014
|
-
email: string;
|
|
4015
4022
|
role: string;
|
|
4016
4023
|
primaryOfficeId: string;
|
|
4017
|
-
|
|
4018
|
-
mobile?: string | undefined;
|
|
4024
|
+
data?: Record<string, unknown> | undefined;
|
|
4019
4025
|
fullHonorificName?: string | undefined;
|
|
4020
|
-
emailForNotification?: string | undefined;
|
|
4021
|
-
password?: string | undefined;
|
|
4022
4026
|
device?: string | undefined;
|
|
4023
|
-
|
|
4027
|
+
email?: string | undefined;
|
|
4028
|
+
mobile?: string | undefined;
|
|
4029
|
+
username?: undefined;
|
|
4024
4030
|
signature?: {
|
|
4025
4031
|
path: string;
|
|
4026
4032
|
originalFilename: string;
|
|
@@ -4028,7 +4034,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4028
4034
|
} | undefined;
|
|
4029
4035
|
};
|
|
4030
4036
|
output: {
|
|
4031
|
-
id: string
|
|
4037
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4032
4038
|
name: {
|
|
4033
4039
|
use: string;
|
|
4034
4040
|
given: string[];
|
|
@@ -4039,42 +4045,42 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4039
4045
|
type: "user";
|
|
4040
4046
|
status: "active" | "pending" | "deactivated";
|
|
4041
4047
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4042
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4048
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4043
4049
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4044
4050
|
device?: string | undefined;
|
|
4045
4051
|
fullHonorificName?: string | undefined;
|
|
4046
4052
|
mobile?: string | undefined;
|
|
4047
4053
|
email?: string | undefined;
|
|
4054
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4048
4055
|
};
|
|
4049
4056
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4050
4057
|
}>;
|
|
4051
4058
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4052
4059
|
input: {
|
|
4053
|
-
|
|
4060
|
+
id: string;
|
|
4061
|
+
data?: Record<string, unknown> | undefined;
|
|
4062
|
+
name?: {
|
|
4054
4063
|
use: string;
|
|
4055
4064
|
given: string[];
|
|
4056
4065
|
family: string;
|
|
4057
|
-
}[];
|
|
4058
|
-
|
|
4059
|
-
role: string;
|
|
4060
|
-
primaryOfficeId: string;
|
|
4061
|
-
username?: string | undefined;
|
|
4062
|
-
mobile?: string | undefined;
|
|
4066
|
+
}[] | undefined;
|
|
4067
|
+
role?: string | undefined;
|
|
4063
4068
|
fullHonorificName?: string | undefined;
|
|
4064
|
-
emailForNotification?: string | undefined;
|
|
4065
|
-
password?: string | undefined;
|
|
4066
4069
|
device?: string | undefined;
|
|
4067
|
-
|
|
4070
|
+
primaryOfficeId?: string | undefined;
|
|
4071
|
+
email?: string | undefined;
|
|
4072
|
+
mobile?: string | undefined;
|
|
4068
4073
|
signature?: {
|
|
4069
4074
|
path: string;
|
|
4070
4075
|
originalFilename: string;
|
|
4071
4076
|
type: string;
|
|
4072
4077
|
} | undefined;
|
|
4078
|
+
status?: "active" | "deactivated" | undefined;
|
|
4073
4079
|
} & {
|
|
4074
4080
|
id: string;
|
|
4075
4081
|
};
|
|
4076
4082
|
output: {
|
|
4077
|
-
id: string
|
|
4083
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4078
4084
|
name: {
|
|
4079
4085
|
use: string;
|
|
4080
4086
|
given: string[];
|
|
@@ -4085,19 +4091,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4085
4091
|
type: "user";
|
|
4086
4092
|
status: "active" | "pending" | "deactivated";
|
|
4087
4093
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4088
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4094
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4089
4095
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4090
4096
|
device?: string | undefined;
|
|
4091
4097
|
fullHonorificName?: string | undefined;
|
|
4092
4098
|
mobile?: string | undefined;
|
|
4093
4099
|
email?: string | undefined;
|
|
4100
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4094
4101
|
};
|
|
4095
4102
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4096
4103
|
}>;
|
|
4097
4104
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4098
4105
|
input: string[];
|
|
4099
4106
|
output: ({
|
|
4100
|
-
id: string
|
|
4107
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4101
4108
|
name: {
|
|
4102
4109
|
use: string;
|
|
4103
4110
|
given: string[];
|
|
@@ -4108,18 +4115,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4108
4115
|
type: "user";
|
|
4109
4116
|
status: "active" | "pending" | "deactivated";
|
|
4110
4117
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4118
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4112
4119
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4113
4120
|
device?: string | undefined;
|
|
4114
4121
|
fullHonorificName?: string | undefined;
|
|
4115
4122
|
mobile?: string | undefined;
|
|
4116
4123
|
email?: string | undefined;
|
|
4124
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4117
4125
|
} | {
|
|
4118
4126
|
id: string;
|
|
4119
4127
|
name: string;
|
|
4120
4128
|
type: "system";
|
|
4121
|
-
primaryOfficeId?: undefined;
|
|
4122
|
-
administrativeAreaId?: undefined;
|
|
4129
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4130
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
4131
|
signature?: undefined;
|
|
4124
4132
|
avatar?: undefined;
|
|
4125
4133
|
fullHonorificName?: string | undefined;
|
|
@@ -4135,12 +4143,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4135
4143
|
sortOrder: "desc" | "asc";
|
|
4136
4144
|
username?: string | undefined;
|
|
4137
4145
|
mobile?: string | undefined;
|
|
4146
|
+
email?: string | undefined;
|
|
4138
4147
|
status?: string | undefined;
|
|
4139
4148
|
primaryOfficeId?: string | undefined;
|
|
4140
|
-
|
|
4149
|
+
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4141
4150
|
};
|
|
4142
4151
|
output: ({
|
|
4143
|
-
id: string
|
|
4152
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4144
4153
|
name: {
|
|
4145
4154
|
use: string;
|
|
4146
4155
|
given: string[];
|
|
@@ -4151,25 +4160,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4151
4160
|
type: "user";
|
|
4152
4161
|
status: "active" | "pending" | "deactivated";
|
|
4153
4162
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4154
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4163
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4155
4164
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4156
4165
|
device?: string | undefined;
|
|
4157
4166
|
fullHonorificName?: string | undefined;
|
|
4158
4167
|
mobile?: string | undefined;
|
|
4159
4168
|
email?: string | undefined;
|
|
4169
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4160
4170
|
} | {
|
|
4161
4171
|
id: string;
|
|
4162
4172
|
name: string;
|
|
4163
4173
|
type: "system";
|
|
4164
|
-
primaryOfficeId?: undefined;
|
|
4165
|
-
administrativeAreaId?: undefined;
|
|
4174
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4175
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4166
4176
|
signature?: undefined;
|
|
4167
4177
|
avatar?: undefined;
|
|
4168
4178
|
fullHonorificName?: string | undefined;
|
|
4169
4179
|
legacyId?: string | undefined;
|
|
4170
4180
|
status?: undefined;
|
|
4171
4181
|
})[];
|
|
4172
|
-
meta:
|
|
4182
|
+
meta: object;
|
|
4173
4183
|
}>;
|
|
4174
4184
|
actions: import("@trpc/server").TRPCQueryProcedure<{
|
|
4175
4185
|
input: {
|
|
@@ -4183,25 +4193,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4183
4193
|
output: {
|
|
4184
4194
|
results: {
|
|
4185
4195
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
+
createdBy: string;
|
|
4197
|
+
createdAt: string | null;
|
|
4198
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4186
4199
|
transactionId: string | null;
|
|
4187
4200
|
eventId: string & import("zod").$brand<"UUID">;
|
|
4188
4201
|
actionType: string;
|
|
4189
4202
|
declaration: Record<string, any>;
|
|
4190
4203
|
annotation: Record<string, any> | null;
|
|
4191
|
-
createdBy: string;
|
|
4192
4204
|
createdByRole: string | null;
|
|
4193
4205
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
4194
4206
|
createdBySignature: string | null;
|
|
4195
4207
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
-
|
|
4197
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4208
|
+
updatedAt: string | null;
|
|
4198
4209
|
assignedTo: string | null;
|
|
4199
4210
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
4200
4211
|
registrationNumber: string | null;
|
|
4201
4212
|
requestId: string | null;
|
|
4202
4213
|
content: Record<string, any> | null;
|
|
4203
4214
|
customActionType: string | null;
|
|
4204
|
-
updatedAt: string | null;
|
|
4205
4215
|
eventType: string | null;
|
|
4206
4216
|
trackingId: string | null;
|
|
4207
4217
|
}[];
|
|
@@ -4215,15 +4225,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4225
|
user: {
|
|
4216
4226
|
id: string;
|
|
4217
4227
|
type: "system";
|
|
4218
|
-
primaryOfficeId?: undefined;
|
|
4219
4228
|
signature?: undefined;
|
|
4220
|
-
|
|
4229
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4230
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4221
4231
|
} | {
|
|
4222
|
-
id: string
|
|
4232
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4223
4233
|
type: "user";
|
|
4224
4234
|
role: string;
|
|
4225
4235
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4226
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4236
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4227
4237
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4228
4238
|
};
|
|
4229
4239
|
}>;
|
|
@@ -4235,14 +4245,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4235
4245
|
input: void;
|
|
4236
4246
|
output: {
|
|
4237
4247
|
id: string;
|
|
4238
|
-
scopes: string[];
|
|
4248
|
+
scopes: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4239
4249
|
}[];
|
|
4240
4250
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4241
4251
|
}>;
|
|
4242
4252
|
}>>;
|
|
4243
4253
|
changePassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4244
4254
|
input: {
|
|
4245
|
-
userId: string;
|
|
4246
4255
|
existingPassword: string;
|
|
4247
4256
|
password: string;
|
|
4248
4257
|
};
|
|
@@ -4290,7 +4299,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4290
4299
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4291
4300
|
}>;
|
|
4292
4301
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4293
|
-
input:
|
|
4302
|
+
input: {
|
|
4303
|
+
userId: string;
|
|
4304
|
+
password: string;
|
|
4305
|
+
securityQNAs: {
|
|
4306
|
+
questionKey: string;
|
|
4307
|
+
answer: string;
|
|
4308
|
+
}[];
|
|
4309
|
+
};
|
|
4310
|
+
output: void;
|
|
4311
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4312
|
+
}>;
|
|
4313
|
+
sendUsernameReminder: import("@trpc/server").TRPCMutationProcedure<{
|
|
4314
|
+
input: string;
|
|
4315
|
+
output: void;
|
|
4316
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4317
|
+
}>;
|
|
4318
|
+
sendResetPasswordInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4319
|
+
input: string;
|
|
4294
4320
|
output: void;
|
|
4295
4321
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4296
4322
|
}>;
|
|
@@ -4300,15 +4326,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4300
4326
|
user: {
|
|
4301
4327
|
id: string;
|
|
4302
4328
|
type: "system";
|
|
4303
|
-
primaryOfficeId?: undefined;
|
|
4304
4329
|
signature?: undefined;
|
|
4305
|
-
|
|
4330
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4331
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4306
4332
|
} | {
|
|
4307
|
-
id: string
|
|
4333
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4308
4334
|
type: "user";
|
|
4309
4335
|
role: string;
|
|
4310
4336
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4311
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4337
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4312
4338
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4313
4339
|
};
|
|
4314
4340
|
}>;
|
|
@@ -4324,29 +4350,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4324
4350
|
role: string;
|
|
4325
4351
|
primaryOfficeId: string;
|
|
4326
4352
|
};
|
|
4327
|
-
responseSummary: Record<string, never>;
|
|
4328
4353
|
} | {
|
|
4329
|
-
operation: "user.deactivate";
|
|
4354
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4330
4355
|
requestData: {
|
|
4331
4356
|
subjectId: string;
|
|
4332
4357
|
reason: string;
|
|
4333
4358
|
comment?: string | undefined;
|
|
4334
4359
|
};
|
|
4335
|
-
responseSummary: Record<string, never>;
|
|
4336
4360
|
} | {
|
|
4337
|
-
operation: "user.
|
|
4338
|
-
requestData: {
|
|
4339
|
-
subjectId: string;
|
|
4340
|
-
reason: string;
|
|
4341
|
-
comment?: string | undefined;
|
|
4342
|
-
};
|
|
4343
|
-
responseSummary: Record<string, never>;
|
|
4344
|
-
} | {
|
|
4345
|
-
operation: "user.edit_user";
|
|
4361
|
+
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";
|
|
4346
4362
|
requestData: {
|
|
4347
4363
|
subjectId: string;
|
|
4348
4364
|
};
|
|
4349
|
-
responseSummary: Record<string, never>;
|
|
4350
4365
|
} | {
|
|
4351
4366
|
operation: "user.email_address_changed";
|
|
4352
4367
|
requestData: {
|
|
@@ -4355,36 +4370,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4355
4370
|
responseSummary: {
|
|
4356
4371
|
email: string;
|
|
4357
4372
|
};
|
|
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
4373
|
} | {
|
|
4389
4374
|
operation: "user.phone_number_changed";
|
|
4390
4375
|
requestData: {
|
|
@@ -4393,18 +4378,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4393
4378
|
responseSummary: {
|
|
4394
4379
|
phoneNumber: string;
|
|
4395
4380
|
};
|
|
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
4381
|
};
|
|
4409
4382
|
output: void;
|
|
4410
4383
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4416,17 +4389,224 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4416
4389
|
count?: number | undefined;
|
|
4417
4390
|
timeStart?: string | undefined;
|
|
4418
4391
|
timeEnd?: string | undefined;
|
|
4392
|
+
excludeOperations?: string[] | undefined;
|
|
4419
4393
|
};
|
|
4420
4394
|
output: {
|
|
4421
|
-
results: {
|
|
4395
|
+
results: ({
|
|
4422
4396
|
id: string;
|
|
4423
4397
|
clientId: string;
|
|
4424
|
-
clientType:
|
|
4425
|
-
operation: string;
|
|
4426
|
-
requestData: Record<string, unknown> | null;
|
|
4427
|
-
responseSummary: Record<string, unknown> | null;
|
|
4398
|
+
clientType: "system" | "user";
|
|
4428
4399
|
createdAt: string;
|
|
4429
|
-
|
|
4400
|
+
operation: "event.create";
|
|
4401
|
+
requestData: {
|
|
4402
|
+
transactionId: string;
|
|
4403
|
+
type: string;
|
|
4404
|
+
createdAtLocation: string | null;
|
|
4405
|
+
};
|
|
4406
|
+
responseSummary: {
|
|
4407
|
+
eventId: string;
|
|
4408
|
+
trackingId: string;
|
|
4409
|
+
};
|
|
4410
|
+
} | {
|
|
4411
|
+
id: string;
|
|
4412
|
+
clientId: string;
|
|
4413
|
+
clientType: "system" | "user";
|
|
4414
|
+
createdAt: string;
|
|
4415
|
+
operation: "event.get";
|
|
4416
|
+
requestData: {
|
|
4417
|
+
eventId: string;
|
|
4418
|
+
};
|
|
4419
|
+
responseSummary: {
|
|
4420
|
+
eventType: string;
|
|
4421
|
+
trackingId: string;
|
|
4422
|
+
};
|
|
4423
|
+
} | {
|
|
4424
|
+
id: string;
|
|
4425
|
+
clientId: string;
|
|
4426
|
+
createdAt: string;
|
|
4427
|
+
operation: "event.search";
|
|
4428
|
+
clientType: "system";
|
|
4429
|
+
requestData: {
|
|
4430
|
+
query: Record<string, unknown> | null;
|
|
4431
|
+
limit: number | null;
|
|
4432
|
+
offset: number | null;
|
|
4433
|
+
};
|
|
4434
|
+
responseSummary: {
|
|
4435
|
+
total: number;
|
|
4436
|
+
eventIds: string[];
|
|
4437
|
+
};
|
|
4438
|
+
} | {
|
|
4439
|
+
id: string;
|
|
4440
|
+
clientId: string;
|
|
4441
|
+
clientType: "system" | "user";
|
|
4442
|
+
createdAt: string;
|
|
4443
|
+
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";
|
|
4444
|
+
requestData: {
|
|
4445
|
+
eventId: string;
|
|
4446
|
+
actionType: string;
|
|
4447
|
+
eventType: string;
|
|
4448
|
+
trackingId: string;
|
|
4449
|
+
transactionId: string;
|
|
4450
|
+
};
|
|
4451
|
+
} | {
|
|
4452
|
+
id: string;
|
|
4453
|
+
clientId: string;
|
|
4454
|
+
clientType: "system" | "user";
|
|
4455
|
+
createdAt: string;
|
|
4456
|
+
operation: "event.actions.custom.request";
|
|
4457
|
+
requestData: {
|
|
4458
|
+
eventId: string;
|
|
4459
|
+
actionType: "CUSTOM";
|
|
4460
|
+
customAction: string;
|
|
4461
|
+
eventType: string;
|
|
4462
|
+
trackingId: string;
|
|
4463
|
+
transactionId: string;
|
|
4464
|
+
};
|
|
4465
|
+
} | {
|
|
4466
|
+
id: string;
|
|
4467
|
+
clientId: string;
|
|
4468
|
+
clientType: "system" | "user";
|
|
4469
|
+
createdAt: string;
|
|
4470
|
+
operation: "integrations.create";
|
|
4471
|
+
requestData: {
|
|
4472
|
+
name: string;
|
|
4473
|
+
scopes: 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.refreshToken";
|
|
4484
|
+
requestData: {
|
|
4485
|
+
clientId: string;
|
|
4486
|
+
};
|
|
4487
|
+
responseSummary: {
|
|
4488
|
+
clientId: string;
|
|
4489
|
+
};
|
|
4490
|
+
} | {
|
|
4491
|
+
id: string;
|
|
4492
|
+
clientId: string;
|
|
4493
|
+
clientType: "system" | "user";
|
|
4494
|
+
createdAt: string;
|
|
4495
|
+
operation: "integrations.deactivate";
|
|
4496
|
+
requestData: {
|
|
4497
|
+
id: string;
|
|
4498
|
+
};
|
|
4499
|
+
responseSummary: {
|
|
4500
|
+
id: string;
|
|
4501
|
+
status: string;
|
|
4502
|
+
};
|
|
4503
|
+
} | {
|
|
4504
|
+
id: string;
|
|
4505
|
+
clientId: string;
|
|
4506
|
+
clientType: "system" | "user";
|
|
4507
|
+
createdAt: string;
|
|
4508
|
+
operation: "integrations.activate";
|
|
4509
|
+
requestData: {
|
|
4510
|
+
id: string;
|
|
4511
|
+
};
|
|
4512
|
+
responseSummary: {
|
|
4513
|
+
id: string;
|
|
4514
|
+
status: string;
|
|
4515
|
+
};
|
|
4516
|
+
} | {
|
|
4517
|
+
id: string;
|
|
4518
|
+
clientId: string;
|
|
4519
|
+
clientType: "system" | "user";
|
|
4520
|
+
createdAt: string;
|
|
4521
|
+
operation: "integrations.delete";
|
|
4522
|
+
requestData: {
|
|
4523
|
+
id: string;
|
|
4524
|
+
};
|
|
4525
|
+
responseSummary: {
|
|
4526
|
+
id: string;
|
|
4527
|
+
name: string;
|
|
4528
|
+
};
|
|
4529
|
+
} | {
|
|
4530
|
+
id: string;
|
|
4531
|
+
clientId: string;
|
|
4532
|
+
clientType: "system" | "user";
|
|
4533
|
+
createdAt: string;
|
|
4534
|
+
operation: "integrations.refreshSecret";
|
|
4535
|
+
requestData: {
|
|
4536
|
+
id: string;
|
|
4537
|
+
};
|
|
4538
|
+
responseSummary: {
|
|
4539
|
+
clientId: string;
|
|
4540
|
+
};
|
|
4541
|
+
} | {
|
|
4542
|
+
id: string;
|
|
4543
|
+
clientId: string;
|
|
4544
|
+
clientType: "system" | "user";
|
|
4545
|
+
createdAt: string;
|
|
4546
|
+
operation: "attachments.upload";
|
|
4547
|
+
requestData: {
|
|
4548
|
+
transactionId: string;
|
|
4549
|
+
path: string | null;
|
|
4550
|
+
};
|
|
4551
|
+
responseSummary: {
|
|
4552
|
+
fileUrl: string;
|
|
4553
|
+
};
|
|
4554
|
+
} | {
|
|
4555
|
+
id: string;
|
|
4556
|
+
clientId: string;
|
|
4557
|
+
clientType: "system" | "user";
|
|
4558
|
+
createdAt: string;
|
|
4559
|
+
operation: "user.create_user";
|
|
4560
|
+
requestData: {
|
|
4561
|
+
subjectId: string;
|
|
4562
|
+
role: string;
|
|
4563
|
+
primaryOfficeId: string;
|
|
4564
|
+
};
|
|
4565
|
+
} | {
|
|
4566
|
+
id: string;
|
|
4567
|
+
clientId: string;
|
|
4568
|
+
clientType: "system" | "user";
|
|
4569
|
+
createdAt: string;
|
|
4570
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4571
|
+
requestData: {
|
|
4572
|
+
subjectId: string;
|
|
4573
|
+
reason: string;
|
|
4574
|
+
comment?: string | undefined;
|
|
4575
|
+
};
|
|
4576
|
+
} | {
|
|
4577
|
+
id: string;
|
|
4578
|
+
clientId: string;
|
|
4579
|
+
clientType: "system" | "user";
|
|
4580
|
+
createdAt: string;
|
|
4581
|
+
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";
|
|
4582
|
+
requestData: {
|
|
4583
|
+
subjectId: string;
|
|
4584
|
+
};
|
|
4585
|
+
} | {
|
|
4586
|
+
id: string;
|
|
4587
|
+
clientId: string;
|
|
4588
|
+
clientType: "system" | "user";
|
|
4589
|
+
createdAt: string;
|
|
4590
|
+
operation: "user.email_address_changed";
|
|
4591
|
+
requestData: {
|
|
4592
|
+
subjectId: string;
|
|
4593
|
+
};
|
|
4594
|
+
responseSummary: {
|
|
4595
|
+
email: string;
|
|
4596
|
+
};
|
|
4597
|
+
} | {
|
|
4598
|
+
id: string;
|
|
4599
|
+
clientId: string;
|
|
4600
|
+
clientType: "system" | "user";
|
|
4601
|
+
createdAt: string;
|
|
4602
|
+
operation: "user.phone_number_changed";
|
|
4603
|
+
requestData: {
|
|
4604
|
+
subjectId: string;
|
|
4605
|
+
};
|
|
4606
|
+
responseSummary: {
|
|
4607
|
+
phoneNumber: string;
|
|
4608
|
+
};
|
|
4609
|
+
})[];
|
|
4430
4610
|
total: number;
|
|
4431
4611
|
};
|
|
4432
4612
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4439,15 +4619,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4439
4619
|
user: {
|
|
4440
4620
|
id: string;
|
|
4441
4621
|
type: "system";
|
|
4442
|
-
primaryOfficeId?: undefined;
|
|
4443
4622
|
signature?: undefined;
|
|
4444
|
-
|
|
4623
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4624
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4445
4625
|
} | {
|
|
4446
|
-
id: string
|
|
4626
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4447
4627
|
type: "user";
|
|
4448
4628
|
role: string;
|
|
4449
4629
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4450
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4630
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4451
4631
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4452
4632
|
};
|
|
4453
4633
|
}>;
|
|
@@ -4470,7 +4650,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4470
4650
|
locationType: string | null;
|
|
4471
4651
|
externalId?: string | null | undefined;
|
|
4472
4652
|
}[];
|
|
4473
|
-
meta:
|
|
4653
|
+
meta: object;
|
|
4474
4654
|
}>;
|
|
4475
4655
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
|
4476
4656
|
input: {
|
|
@@ -4482,7 +4662,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4482
4662
|
externalId?: string | null | undefined;
|
|
4483
4663
|
}[];
|
|
4484
4664
|
output: void;
|
|
4485
|
-
meta:
|
|
4665
|
+
meta: object;
|
|
4486
4666
|
}>;
|
|
4487
4667
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
4488
4668
|
input: {
|
|
@@ -4512,15 +4692,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4512
4692
|
user: {
|
|
4513
4693
|
id: string;
|
|
4514
4694
|
type: "system";
|
|
4515
|
-
primaryOfficeId?: undefined;
|
|
4516
4695
|
signature?: undefined;
|
|
4517
|
-
|
|
4696
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4697
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4518
4698
|
} | {
|
|
4519
|
-
id: string
|
|
4699
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4520
4700
|
type: "user";
|
|
4521
4701
|
role: string;
|
|
4522
4702
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4523
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4703
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4524
4704
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4525
4705
|
};
|
|
4526
4706
|
}>;
|
|
@@ -4534,15 +4714,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4534
4714
|
user: {
|
|
4535
4715
|
id: string;
|
|
4536
4716
|
type: "system";
|
|
4537
|
-
primaryOfficeId?: undefined;
|
|
4538
4717
|
signature?: undefined;
|
|
4539
|
-
|
|
4718
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4719
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4540
4720
|
} | {
|
|
4541
|
-
id: string
|
|
4721
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4542
4722
|
type: "user";
|
|
4543
4723
|
role: string;
|
|
4544
4724
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4545
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4725
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4546
4726
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4547
4727
|
};
|
|
4548
4728
|
}>;
|
|
@@ -4565,10 +4745,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4565
4745
|
eventType?: string | undefined;
|
|
4566
4746
|
status?: {
|
|
4567
4747
|
type: "anyOf";
|
|
4568
|
-
terms: ("
|
|
4748
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4569
4749
|
} | {
|
|
4570
4750
|
type: "exact";
|
|
4571
|
-
term: "
|
|
4751
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4572
4752
|
} | undefined;
|
|
4573
4753
|
createdAt?: {
|
|
4574
4754
|
type: "exact";
|
|
@@ -4595,7 +4775,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4595
4775
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4596
4776
|
type: "within";
|
|
4597
4777
|
location: string | {
|
|
4598
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4778
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4599
4779
|
$location?: string | undefined;
|
|
4600
4780
|
};
|
|
4601
4781
|
} | undefined;
|
|
@@ -4617,7 +4797,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4617
4797
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4618
4798
|
type: "within";
|
|
4619
4799
|
location: string | {
|
|
4620
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4800
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4621
4801
|
$location?: string | undefined;
|
|
4622
4802
|
};
|
|
4623
4803
|
} | undefined;
|
|
@@ -4632,35 +4812,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4632
4812
|
createdAtLocation?: {
|
|
4633
4813
|
type: "within";
|
|
4634
4814
|
location: string | {
|
|
4635
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4815
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4816
|
+
$location?: string | undefined;
|
|
4817
|
+
};
|
|
4818
|
+
} | {
|
|
4819
|
+
type: "exact";
|
|
4820
|
+
term: string | {
|
|
4821
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4636
4822
|
$location?: string | undefined;
|
|
4637
4823
|
};
|
|
4638
4824
|
} | undefined;
|
|
4639
4825
|
updatedAtLocation?: {
|
|
4640
4826
|
type: "within";
|
|
4641
4827
|
location: string | {
|
|
4642
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4828
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4829
|
+
$location?: string | undefined;
|
|
4830
|
+
};
|
|
4831
|
+
} | {
|
|
4832
|
+
type: "exact";
|
|
4833
|
+
term: string | {
|
|
4834
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4643
4835
|
$location?: string | undefined;
|
|
4644
4836
|
};
|
|
4645
4837
|
} | undefined;
|
|
4646
4838
|
updatedByUserRole?: {
|
|
4647
4839
|
type: "exact";
|
|
4648
4840
|
term: string | {
|
|
4649
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4841
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4650
4842
|
$location?: string | undefined;
|
|
4651
4843
|
};
|
|
4652
4844
|
} | undefined;
|
|
4653
4845
|
assignedTo?: {
|
|
4654
4846
|
type: "exact";
|
|
4655
4847
|
term: string | {
|
|
4656
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4848
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4657
4849
|
$location?: string | undefined;
|
|
4658
4850
|
};
|
|
4659
4851
|
} | undefined;
|
|
4660
4852
|
createdBy?: {
|
|
4661
4853
|
type: "exact";
|
|
4662
4854
|
term: string | {
|
|
4663
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4855
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4664
4856
|
$location?: string | undefined;
|
|
4665
4857
|
};
|
|
4666
4858
|
} | undefined;
|
|
@@ -4671,7 +4863,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4863
|
updatedBy?: {
|
|
4672
4864
|
type: "exact";
|
|
4673
4865
|
term: string | {
|
|
4674
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4866
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4675
4867
|
$location?: string | undefined;
|
|
4676
4868
|
};
|
|
4677
4869
|
} | undefined;
|
|
@@ -4691,10 +4883,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4691
4883
|
eventType?: string | undefined;
|
|
4692
4884
|
status?: {
|
|
4693
4885
|
type: "anyOf";
|
|
4694
|
-
terms: ("
|
|
4886
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4695
4887
|
} | {
|
|
4696
4888
|
type: "exact";
|
|
4697
|
-
term: "
|
|
4889
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4698
4890
|
} | undefined;
|
|
4699
4891
|
createdAt?: {
|
|
4700
4892
|
type: "exact";
|
|
@@ -4721,7 +4913,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4913
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4722
4914
|
type: "within";
|
|
4723
4915
|
location: string | {
|
|
4724
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4916
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4725
4917
|
$location?: string | undefined;
|
|
4726
4918
|
};
|
|
4727
4919
|
} | undefined;
|
|
@@ -4743,7 +4935,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4743
4935
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4744
4936
|
type: "within";
|
|
4745
4937
|
location: string | {
|
|
4746
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4938
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4747
4939
|
$location?: string | undefined;
|
|
4748
4940
|
};
|
|
4749
4941
|
} | undefined;
|
|
@@ -4758,35 +4950,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4758
4950
|
createdAtLocation?: {
|
|
4759
4951
|
type: "within";
|
|
4760
4952
|
location: string | {
|
|
4761
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4953
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4954
|
+
$location?: string | undefined;
|
|
4955
|
+
};
|
|
4956
|
+
} | {
|
|
4957
|
+
type: "exact";
|
|
4958
|
+
term: string | {
|
|
4959
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4762
4960
|
$location?: string | undefined;
|
|
4763
4961
|
};
|
|
4764
4962
|
} | undefined;
|
|
4765
4963
|
updatedAtLocation?: {
|
|
4766
4964
|
type: "within";
|
|
4767
4965
|
location: string | {
|
|
4768
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4966
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4967
|
+
$location?: string | undefined;
|
|
4968
|
+
};
|
|
4969
|
+
} | {
|
|
4970
|
+
type: "exact";
|
|
4971
|
+
term: string | {
|
|
4972
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4769
4973
|
$location?: string | undefined;
|
|
4770
4974
|
};
|
|
4771
4975
|
} | undefined;
|
|
4772
4976
|
updatedByUserRole?: {
|
|
4773
4977
|
type: "exact";
|
|
4774
4978
|
term: string | {
|
|
4775
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4979
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4776
4980
|
$location?: string | undefined;
|
|
4777
4981
|
};
|
|
4778
4982
|
} | undefined;
|
|
4779
4983
|
assignedTo?: {
|
|
4780
4984
|
type: "exact";
|
|
4781
4985
|
term: string | {
|
|
4782
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4986
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4783
4987
|
$location?: string | undefined;
|
|
4784
4988
|
};
|
|
4785
4989
|
} | undefined;
|
|
4786
4990
|
createdBy?: {
|
|
4787
4991
|
type: "exact";
|
|
4788
4992
|
term: string | {
|
|
4789
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4993
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4790
4994
|
$location?: string | undefined;
|
|
4791
4995
|
};
|
|
4792
4996
|
} | undefined;
|
|
@@ -4797,7 +5001,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4797
5001
|
updatedBy?: {
|
|
4798
5002
|
type: "exact";
|
|
4799
5003
|
term: string | {
|
|
4800
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
5004
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4801
5005
|
$location?: string | undefined;
|
|
4802
5006
|
};
|
|
4803
5007
|
} | undefined;
|
|
@@ -4819,7 +5023,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
5023
|
description: string;
|
|
4820
5024
|
};
|
|
4821
5025
|
value: {
|
|
4822
|
-
$event: "id" | "createdBy" | "
|
|
5026
|
+
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
4823
5027
|
};
|
|
4824
5028
|
}[];
|
|
4825
5029
|
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";
|
|
@@ -4850,15 +5054,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4850
5054
|
user: {
|
|
4851
5055
|
id: string;
|
|
4852
5056
|
type: "system";
|
|
4853
|
-
primaryOfficeId?: undefined;
|
|
4854
5057
|
signature?: undefined;
|
|
4855
|
-
|
|
5058
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5059
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4856
5060
|
} | {
|
|
4857
|
-
id: string
|
|
5061
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4858
5062
|
type: "user";
|
|
4859
5063
|
role: string;
|
|
4860
5064
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4861
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5065
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4862
5066
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4863
5067
|
};
|
|
4864
5068
|
}>;
|
|
@@ -4889,7 +5093,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4889
5093
|
externalId?: string | null | undefined;
|
|
4890
5094
|
}[];
|
|
4891
5095
|
output: void;
|
|
4892
|
-
meta:
|
|
5096
|
+
meta: object;
|
|
4893
5097
|
}>;
|
|
4894
5098
|
}>>;
|
|
4895
5099
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -4898,15 +5102,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4898
5102
|
user: {
|
|
4899
5103
|
id: string;
|
|
4900
5104
|
type: "system";
|
|
4901
|
-
primaryOfficeId?: undefined;
|
|
4902
5105
|
signature?: undefined;
|
|
4903
|
-
|
|
5106
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5107
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4904
5108
|
} | {
|
|
4905
|
-
id: string
|
|
5109
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4906
5110
|
type: "user";
|
|
4907
5111
|
role: string;
|
|
4908
5112
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4909
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5113
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4910
5114
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4911
5115
|
};
|
|
4912
5116
|
}>;
|
|
@@ -4934,7 +5138,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
5138
|
output: {
|
|
4935
5139
|
id: string & import("zod").$brand<"UUID">;
|
|
4936
5140
|
status: string;
|
|
4937
|
-
scope: string[];
|
|
5141
|
+
scope: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4938
5142
|
};
|
|
4939
5143
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4940
5144
|
}>;
|
|
@@ -5016,15 +5220,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5016
5220
|
user: {
|
|
5017
5221
|
id: string;
|
|
5018
5222
|
type: "system";
|
|
5019
|
-
primaryOfficeId?: undefined;
|
|
5020
5223
|
signature?: undefined;
|
|
5021
|
-
|
|
5224
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5225
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5022
5226
|
} | {
|
|
5023
|
-
id: string
|
|
5227
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5024
5228
|
type: "user";
|
|
5025
5229
|
role: string;
|
|
5026
5230
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5027
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5231
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5028
5232
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5029
5233
|
};
|
|
5030
5234
|
}>;
|
|
@@ -5045,6 +5249,40 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5045
5249
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5046
5250
|
}>;
|
|
5047
5251
|
}>>;
|
|
5252
|
+
announcement: import("@trpc/server").TRPCBuiltRouter<{
|
|
5253
|
+
ctx: Partial<{
|
|
5254
|
+
token: `Bearer ${string}`;
|
|
5255
|
+
user: {
|
|
5256
|
+
id: string;
|
|
5257
|
+
type: "system";
|
|
5258
|
+
signature?: undefined;
|
|
5259
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5260
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5261
|
+
} | {
|
|
5262
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5263
|
+
type: "user";
|
|
5264
|
+
role: string;
|
|
5265
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5266
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5267
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5268
|
+
};
|
|
5269
|
+
}>;
|
|
5270
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5271
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5272
|
+
transformer: true;
|
|
5273
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5274
|
+
broadcast: import("@trpc/server").TRPCMutationProcedure<{
|
|
5275
|
+
input: {
|
|
5276
|
+
subject: string;
|
|
5277
|
+
body: string;
|
|
5278
|
+
locale: string;
|
|
5279
|
+
};
|
|
5280
|
+
output: {
|
|
5281
|
+
success: boolean;
|
|
5282
|
+
};
|
|
5283
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5284
|
+
}>;
|
|
5285
|
+
}>>;
|
|
5048
5286
|
}>>;
|
|
5049
5287
|
/** @knipignore */
|
|
5050
5288
|
export type AppRouter = typeof appRouter;
|