@opencrvs/toolkit 1.9.12-rc.f5ca5e6 → 1.9.12-rc.f687751
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 +4841 -0
- package/dist/commons/api/router.d.ts +475 -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 +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 +347 -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 +21 -1
- package/dist/conditionals/index.js +74 -359
- package/dist/events/index.js +1207 -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 +404 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts +3 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.d.ts.map +1 -0
- package/dist/migrations/v2.0/add-resend-invite-notification.js +345 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +22 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
- package/dist/migrations/v2.0/checkout-upstream-files.js +147 -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 +828 -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 +158 -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 +325 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +3 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +77 -0
- package/dist/migrations/v2.0/index.d.ts +11 -0
- package/dist/migrations/v2.0/index.d.ts.map +1 -0
- package/dist/migrations/v2.0/index.js +4751 -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 +343 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +3 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -0
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +221 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts +3 -0
- package/dist/migrations/v2.0/migrate-application-config-url.d.ts.map +1 -0
- package/dist/migrations/v2.0/migrate-application-config-url.js +342 -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 +281 -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 +267 -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 +236 -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 +156 -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 +74 -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 +96 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts +3 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-fhir-url-helpers.js +163 -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 +77 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts +3 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-old-statistics-service.js +356 -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 +109 -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 +163 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts +3 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.d.ts.map +1 -0
- package/dist/migrations/v2.0/remove-unused-environment-variables.js +186 -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 +187 -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 +180 -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 +195 -0
- package/dist/migrations/v2.0/update-package-json.d.ts +3 -0
- package/dist/migrations/v2.0/update-package-json.d.ts.map +1 -0
- package/dist/migrations/v2.0/update-package-json.js +105 -0
- package/dist/notification/index.js +1013 -1135
- package/dist/scopes/index.d.ts +389 -152
- package/dist/scopes/index.js +128 -322
- package/opencrvs-toolkit-1.9.12-rc.f687751.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
|
}>;
|
|
@@ -1135,15 +1135,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1135
1135
|
user: {
|
|
1136
1136
|
id: string;
|
|
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
|
}>;
|
|
@@ -1157,15 +1157,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1157
1157
|
user: {
|
|
1158
1158
|
id: string;
|
|
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
|
}>;
|
|
@@ -1201,15 +1201,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1201
1201
|
user: {
|
|
1202
1202
|
id: string;
|
|
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
|
}>;
|
|
@@ -1554,15 +1554,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1554
1554
|
user: {
|
|
1555
1555
|
id: string;
|
|
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
|
}>;
|
|
@@ -1598,15 +1598,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1598
1598
|
user: {
|
|
1599
1599
|
id: string;
|
|
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
|
}>;
|
|
@@ -1642,15 +1642,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1642
1642
|
user: {
|
|
1643
1643
|
id: string;
|
|
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
|
}>;
|
|
@@ -1686,15 +1686,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1686
1686
|
user: {
|
|
1687
1687
|
id: string;
|
|
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
|
}>;
|
|
@@ -1730,15 +1730,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1730
1730
|
user: {
|
|
1731
1731
|
id: string;
|
|
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
|
}>;
|
|
@@ -1774,15 +1774,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1774
1774
|
user: {
|
|
1775
1775
|
id: string;
|
|
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
|
}>;
|
|
@@ -2128,15 +2128,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2128
2128
|
user: {
|
|
2129
2129
|
id: string;
|
|
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
|
}>;
|
|
@@ -2781,15 +2781,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2781
2781
|
user: {
|
|
2782
2782
|
id: string;
|
|
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
|
}>;
|
|
@@ -2803,15 +2803,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2803
2803
|
user: {
|
|
2804
2804
|
id: string;
|
|
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
|
}>;
|
|
@@ -2847,15 +2847,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2847
2847
|
user: {
|
|
2848
2848
|
id: string;
|
|
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
|
}>;
|
|
@@ -2891,15 +2891,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2891
2891
|
user: {
|
|
2892
2892
|
id: string;
|
|
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
|
}>;
|
|
@@ -2936,15 +2936,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2936
2936
|
user: {
|
|
2937
2937
|
id: string;
|
|
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;
|
|
@@ -3954,15 +3954,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3954
3954
|
user: {
|
|
3955
3955
|
id: string;
|
|
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
3995
|
id: string;
|
|
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;
|
|
@@ -4011,16 +4012,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4011
4012
|
given: string[];
|
|
4012
4013
|
family: string;
|
|
4013
4014
|
}[];
|
|
4014
|
-
email: string;
|
|
4015
4015
|
role: string;
|
|
4016
4016
|
primaryOfficeId: string;
|
|
4017
|
-
|
|
4018
|
-
mobile?: string | undefined;
|
|
4017
|
+
data?: Record<string, unknown> | undefined;
|
|
4019
4018
|
fullHonorificName?: string | undefined;
|
|
4020
|
-
emailForNotification?: string | undefined;
|
|
4021
|
-
password?: string | undefined;
|
|
4022
4019
|
device?: string | undefined;
|
|
4023
|
-
|
|
4020
|
+
email?: string | undefined;
|
|
4021
|
+
mobile?: string | undefined;
|
|
4022
|
+
username?: undefined;
|
|
4024
4023
|
signature?: {
|
|
4025
4024
|
path: string;
|
|
4026
4025
|
originalFilename: string;
|
|
@@ -4028,7 +4027,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4028
4027
|
} | undefined;
|
|
4029
4028
|
};
|
|
4030
4029
|
output: {
|
|
4031
|
-
id: string
|
|
4030
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4032
4031
|
name: {
|
|
4033
4032
|
use: string;
|
|
4034
4033
|
given: string[];
|
|
@@ -4039,42 +4038,42 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4039
4038
|
type: "user";
|
|
4040
4039
|
status: "active" | "pending" | "deactivated";
|
|
4041
4040
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4042
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4041
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4043
4042
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4044
4043
|
device?: string | undefined;
|
|
4045
4044
|
fullHonorificName?: string | undefined;
|
|
4046
4045
|
mobile?: string | undefined;
|
|
4047
4046
|
email?: string | undefined;
|
|
4047
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4048
4048
|
};
|
|
4049
4049
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4050
4050
|
}>;
|
|
4051
4051
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4052
4052
|
input: {
|
|
4053
|
-
|
|
4053
|
+
id: string;
|
|
4054
|
+
data?: Record<string, unknown> | undefined;
|
|
4055
|
+
name?: {
|
|
4054
4056
|
use: string;
|
|
4055
4057
|
given: string[];
|
|
4056
4058
|
family: string;
|
|
4057
|
-
}[];
|
|
4058
|
-
|
|
4059
|
-
role: string;
|
|
4060
|
-
primaryOfficeId: string;
|
|
4061
|
-
username?: string | undefined;
|
|
4062
|
-
mobile?: string | undefined;
|
|
4059
|
+
}[] | undefined;
|
|
4060
|
+
role?: string | undefined;
|
|
4063
4061
|
fullHonorificName?: string | undefined;
|
|
4064
|
-
emailForNotification?: string | undefined;
|
|
4065
|
-
password?: string | undefined;
|
|
4066
4062
|
device?: string | undefined;
|
|
4067
|
-
|
|
4063
|
+
primaryOfficeId?: string | undefined;
|
|
4064
|
+
email?: string | undefined;
|
|
4065
|
+
mobile?: string | undefined;
|
|
4068
4066
|
signature?: {
|
|
4069
4067
|
path: string;
|
|
4070
4068
|
originalFilename: string;
|
|
4071
4069
|
type: string;
|
|
4072
4070
|
} | undefined;
|
|
4071
|
+
status?: "active" | "deactivated" | undefined;
|
|
4073
4072
|
} & {
|
|
4074
4073
|
id: string;
|
|
4075
4074
|
};
|
|
4076
4075
|
output: {
|
|
4077
|
-
id: string
|
|
4076
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4078
4077
|
name: {
|
|
4079
4078
|
use: string;
|
|
4080
4079
|
given: string[];
|
|
@@ -4085,19 +4084,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4085
4084
|
type: "user";
|
|
4086
4085
|
status: "active" | "pending" | "deactivated";
|
|
4087
4086
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4088
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4087
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4089
4088
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4090
4089
|
device?: string | undefined;
|
|
4091
4090
|
fullHonorificName?: string | undefined;
|
|
4092
4091
|
mobile?: string | undefined;
|
|
4093
4092
|
email?: string | undefined;
|
|
4093
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4094
4094
|
};
|
|
4095
4095
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4096
4096
|
}>;
|
|
4097
4097
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4098
4098
|
input: string[];
|
|
4099
4099
|
output: ({
|
|
4100
|
-
id: string
|
|
4100
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4101
4101
|
name: {
|
|
4102
4102
|
use: string;
|
|
4103
4103
|
given: string[];
|
|
@@ -4108,18 +4108,19 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4108
4108
|
type: "user";
|
|
4109
4109
|
status: "active" | "pending" | "deactivated";
|
|
4110
4110
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4111
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4112
4112
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4113
4113
|
device?: string | undefined;
|
|
4114
4114
|
fullHonorificName?: string | undefined;
|
|
4115
4115
|
mobile?: string | undefined;
|
|
4116
4116
|
email?: string | undefined;
|
|
4117
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4117
4118
|
} | {
|
|
4118
4119
|
id: string;
|
|
4119
4120
|
name: string;
|
|
4120
4121
|
type: "system";
|
|
4121
|
-
primaryOfficeId?: undefined;
|
|
4122
|
-
administrativeAreaId?: undefined;
|
|
4122
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4123
4124
|
signature?: undefined;
|
|
4124
4125
|
avatar?: undefined;
|
|
4125
4126
|
fullHonorificName?: string | undefined;
|
|
@@ -4135,12 +4136,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4135
4136
|
sortOrder: "desc" | "asc";
|
|
4136
4137
|
username?: string | undefined;
|
|
4137
4138
|
mobile?: string | undefined;
|
|
4139
|
+
email?: string | undefined;
|
|
4138
4140
|
status?: string | undefined;
|
|
4139
4141
|
primaryOfficeId?: string | undefined;
|
|
4140
|
-
|
|
4142
|
+
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4141
4143
|
};
|
|
4142
4144
|
output: ({
|
|
4143
|
-
id: string
|
|
4145
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4144
4146
|
name: {
|
|
4145
4147
|
use: string;
|
|
4146
4148
|
given: string[];
|
|
@@ -4151,25 +4153,26 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4151
4153
|
type: "user";
|
|
4152
4154
|
status: "active" | "pending" | "deactivated";
|
|
4153
4155
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4154
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4156
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4155
4157
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4156
4158
|
device?: string | undefined;
|
|
4157
4159
|
fullHonorificName?: string | undefined;
|
|
4158
4160
|
mobile?: string | undefined;
|
|
4159
4161
|
email?: string | undefined;
|
|
4162
|
+
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4160
4163
|
} | {
|
|
4161
4164
|
id: string;
|
|
4162
4165
|
name: string;
|
|
4163
4166
|
type: "system";
|
|
4164
|
-
primaryOfficeId?: undefined;
|
|
4165
|
-
administrativeAreaId?: undefined;
|
|
4167
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4168
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4166
4169
|
signature?: undefined;
|
|
4167
4170
|
avatar?: undefined;
|
|
4168
4171
|
fullHonorificName?: string | undefined;
|
|
4169
4172
|
legacyId?: string | undefined;
|
|
4170
4173
|
status?: undefined;
|
|
4171
4174
|
})[];
|
|
4172
|
-
meta:
|
|
4175
|
+
meta: object;
|
|
4173
4176
|
}>;
|
|
4174
4177
|
actions: import("@trpc/server").TRPCQueryProcedure<{
|
|
4175
4178
|
input: {
|
|
@@ -4183,25 +4186,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4183
4186
|
output: {
|
|
4184
4187
|
results: {
|
|
4185
4188
|
id: (string & import("zod").$brand<"UUID">) | null;
|
|
4189
|
+
createdBy: string;
|
|
4190
|
+
createdAt: string | null;
|
|
4191
|
+
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4186
4192
|
transactionId: string | null;
|
|
4187
4193
|
eventId: string & import("zod").$brand<"UUID">;
|
|
4188
4194
|
actionType: string;
|
|
4189
4195
|
declaration: Record<string, any>;
|
|
4190
4196
|
annotation: Record<string, any> | null;
|
|
4191
|
-
createdBy: string;
|
|
4192
4197
|
createdByRole: string | null;
|
|
4193
4198
|
createdByUserType: import("../storage/postgres/events/schema/app/UserType").default;
|
|
4194
4199
|
createdBySignature: string | null;
|
|
4195
4200
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null;
|
|
4196
|
-
|
|
4197
|
-
status: import("../storage/postgres/events/schema/app/ActionStatus").default;
|
|
4201
|
+
updatedAt: string | null;
|
|
4198
4202
|
assignedTo: string | null;
|
|
4199
4203
|
originalActionId: (string & import("zod").$brand<"UUID">) | null;
|
|
4200
4204
|
registrationNumber: string | null;
|
|
4201
4205
|
requestId: string | null;
|
|
4202
4206
|
content: Record<string, any> | null;
|
|
4203
4207
|
customActionType: string | null;
|
|
4204
|
-
updatedAt: string | null;
|
|
4205
4208
|
eventType: string | null;
|
|
4206
4209
|
trackingId: string | null;
|
|
4207
4210
|
}[];
|
|
@@ -4215,15 +4218,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4215
4218
|
user: {
|
|
4216
4219
|
id: string;
|
|
4217
4220
|
type: "system";
|
|
4218
|
-
primaryOfficeId?: undefined;
|
|
4219
4221
|
signature?: undefined;
|
|
4220
|
-
|
|
4222
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4223
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4221
4224
|
} | {
|
|
4222
|
-
id: string
|
|
4225
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4223
4226
|
type: "user";
|
|
4224
4227
|
role: string;
|
|
4225
4228
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4226
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4229
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4227
4230
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4228
4231
|
};
|
|
4229
4232
|
}>;
|
|
@@ -4235,14 +4238,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4235
4238
|
input: void;
|
|
4236
4239
|
output: {
|
|
4237
4240
|
id: string;
|
|
4238
|
-
scopes: string[];
|
|
4241
|
+
scopes: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4239
4242
|
}[];
|
|
4240
4243
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4241
4244
|
}>;
|
|
4242
4245
|
}>>;
|
|
4243
4246
|
changePassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4244
4247
|
input: {
|
|
4245
|
-
userId: string;
|
|
4246
4248
|
existingPassword: string;
|
|
4247
4249
|
password: string;
|
|
4248
4250
|
};
|
|
@@ -4289,8 +4291,25 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4289
4291
|
output: void;
|
|
4290
4292
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4291
4293
|
}>;
|
|
4294
|
+
resendInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4295
|
+
input: string;
|
|
4296
|
+
output: void;
|
|
4297
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
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
|
+
};
|
|
4308
|
+
output: void;
|
|
4309
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4310
|
+
}>;
|
|
4311
|
+
sendUsernameReminder: import("@trpc/server").TRPCMutationProcedure<{
|
|
4312
|
+
input: string;
|
|
4294
4313
|
output: void;
|
|
4295
4314
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4296
4315
|
}>;
|
|
@@ -4300,15 +4319,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4300
4319
|
user: {
|
|
4301
4320
|
id: string;
|
|
4302
4321
|
type: "system";
|
|
4303
|
-
primaryOfficeId?: undefined;
|
|
4304
4322
|
signature?: undefined;
|
|
4305
|
-
|
|
4323
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4324
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4306
4325
|
} | {
|
|
4307
|
-
id: string
|
|
4326
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4308
4327
|
type: "user";
|
|
4309
4328
|
role: string;
|
|
4310
4329
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4311
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4330
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4312
4331
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4313
4332
|
};
|
|
4314
4333
|
}>;
|
|
@@ -4324,29 +4343,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4324
4343
|
role: string;
|
|
4325
4344
|
primaryOfficeId: string;
|
|
4326
4345
|
};
|
|
4327
|
-
responseSummary: Record<string, never>;
|
|
4328
4346
|
} | {
|
|
4329
|
-
operation: "user.deactivate";
|
|
4347
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4330
4348
|
requestData: {
|
|
4331
4349
|
subjectId: string;
|
|
4332
4350
|
reason: string;
|
|
4333
4351
|
comment?: string | undefined;
|
|
4334
4352
|
};
|
|
4335
|
-
responseSummary: Record<string, never>;
|
|
4336
4353
|
} | {
|
|
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";
|
|
4354
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4346
4355
|
requestData: {
|
|
4347
4356
|
subjectId: string;
|
|
4348
4357
|
};
|
|
4349
|
-
responseSummary: Record<string, never>;
|
|
4350
4358
|
} | {
|
|
4351
4359
|
operation: "user.email_address_changed";
|
|
4352
4360
|
requestData: {
|
|
@@ -4355,36 +4363,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4355
4363
|
responseSummary: {
|
|
4356
4364
|
email: string;
|
|
4357
4365
|
};
|
|
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
4366
|
} | {
|
|
4389
4367
|
operation: "user.phone_number_changed";
|
|
4390
4368
|
requestData: {
|
|
@@ -4393,18 +4371,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4393
4371
|
responseSummary: {
|
|
4394
4372
|
phoneNumber: string;
|
|
4395
4373
|
};
|
|
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
4374
|
};
|
|
4409
4375
|
output: void;
|
|
4410
4376
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4416,17 +4382,224 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4416
4382
|
count?: number | undefined;
|
|
4417
4383
|
timeStart?: string | undefined;
|
|
4418
4384
|
timeEnd?: string | undefined;
|
|
4385
|
+
excludeOperations?: string[] | undefined;
|
|
4419
4386
|
};
|
|
4420
4387
|
output: {
|
|
4421
|
-
results: {
|
|
4388
|
+
results: ({
|
|
4422
4389
|
id: string;
|
|
4423
4390
|
clientId: string;
|
|
4424
|
-
clientType:
|
|
4425
|
-
operation: string;
|
|
4426
|
-
requestData: Record<string, unknown> | null;
|
|
4427
|
-
responseSummary: Record<string, unknown> | null;
|
|
4391
|
+
clientType: "system" | "user";
|
|
4428
4392
|
createdAt: string;
|
|
4429
|
-
|
|
4393
|
+
operation: "event.create";
|
|
4394
|
+
requestData: {
|
|
4395
|
+
transactionId: string;
|
|
4396
|
+
type: string;
|
|
4397
|
+
createdAtLocation: string | null;
|
|
4398
|
+
};
|
|
4399
|
+
responseSummary: {
|
|
4400
|
+
eventId: string;
|
|
4401
|
+
trackingId: string;
|
|
4402
|
+
};
|
|
4403
|
+
} | {
|
|
4404
|
+
id: string;
|
|
4405
|
+
clientId: string;
|
|
4406
|
+
clientType: "system" | "user";
|
|
4407
|
+
createdAt: string;
|
|
4408
|
+
operation: "event.get";
|
|
4409
|
+
requestData: {
|
|
4410
|
+
eventId: string;
|
|
4411
|
+
};
|
|
4412
|
+
responseSummary: {
|
|
4413
|
+
eventType: string;
|
|
4414
|
+
trackingId: string;
|
|
4415
|
+
};
|
|
4416
|
+
} | {
|
|
4417
|
+
id: string;
|
|
4418
|
+
clientId: string;
|
|
4419
|
+
createdAt: string;
|
|
4420
|
+
operation: "event.search";
|
|
4421
|
+
clientType: "system";
|
|
4422
|
+
requestData: {
|
|
4423
|
+
query: Record<string, unknown> | null;
|
|
4424
|
+
limit: number | null;
|
|
4425
|
+
offset: number | null;
|
|
4426
|
+
};
|
|
4427
|
+
responseSummary: {
|
|
4428
|
+
total: number;
|
|
4429
|
+
eventIds: string[];
|
|
4430
|
+
};
|
|
4431
|
+
} | {
|
|
4432
|
+
id: string;
|
|
4433
|
+
clientId: string;
|
|
4434
|
+
clientType: "system" | "user";
|
|
4435
|
+
createdAt: string;
|
|
4436
|
+
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";
|
|
4437
|
+
requestData: {
|
|
4438
|
+
eventId: string;
|
|
4439
|
+
actionType: string;
|
|
4440
|
+
eventType: string;
|
|
4441
|
+
trackingId: string;
|
|
4442
|
+
transactionId: string;
|
|
4443
|
+
};
|
|
4444
|
+
} | {
|
|
4445
|
+
id: string;
|
|
4446
|
+
clientId: string;
|
|
4447
|
+
clientType: "system" | "user";
|
|
4448
|
+
createdAt: string;
|
|
4449
|
+
operation: "event.actions.custom.request";
|
|
4450
|
+
requestData: {
|
|
4451
|
+
eventId: string;
|
|
4452
|
+
actionType: "CUSTOM";
|
|
4453
|
+
customAction: string;
|
|
4454
|
+
eventType: string;
|
|
4455
|
+
trackingId: string;
|
|
4456
|
+
transactionId: string;
|
|
4457
|
+
};
|
|
4458
|
+
} | {
|
|
4459
|
+
id: string;
|
|
4460
|
+
clientId: string;
|
|
4461
|
+
clientType: "system" | "user";
|
|
4462
|
+
createdAt: string;
|
|
4463
|
+
operation: "integrations.create";
|
|
4464
|
+
requestData: {
|
|
4465
|
+
name: string;
|
|
4466
|
+
scopes: string[];
|
|
4467
|
+
};
|
|
4468
|
+
responseSummary: {
|
|
4469
|
+
clientId: string;
|
|
4470
|
+
};
|
|
4471
|
+
} | {
|
|
4472
|
+
id: string;
|
|
4473
|
+
clientId: string;
|
|
4474
|
+
clientType: "system" | "user";
|
|
4475
|
+
createdAt: string;
|
|
4476
|
+
operation: "integrations.refreshToken";
|
|
4477
|
+
requestData: {
|
|
4478
|
+
clientId: string;
|
|
4479
|
+
};
|
|
4480
|
+
responseSummary: {
|
|
4481
|
+
clientId: string;
|
|
4482
|
+
};
|
|
4483
|
+
} | {
|
|
4484
|
+
id: string;
|
|
4485
|
+
clientId: string;
|
|
4486
|
+
clientType: "system" | "user";
|
|
4487
|
+
createdAt: string;
|
|
4488
|
+
operation: "integrations.deactivate";
|
|
4489
|
+
requestData: {
|
|
4490
|
+
id: string;
|
|
4491
|
+
};
|
|
4492
|
+
responseSummary: {
|
|
4493
|
+
id: string;
|
|
4494
|
+
status: string;
|
|
4495
|
+
};
|
|
4496
|
+
} | {
|
|
4497
|
+
id: string;
|
|
4498
|
+
clientId: string;
|
|
4499
|
+
clientType: "system" | "user";
|
|
4500
|
+
createdAt: string;
|
|
4501
|
+
operation: "integrations.activate";
|
|
4502
|
+
requestData: {
|
|
4503
|
+
id: string;
|
|
4504
|
+
};
|
|
4505
|
+
responseSummary: {
|
|
4506
|
+
id: string;
|
|
4507
|
+
status: string;
|
|
4508
|
+
};
|
|
4509
|
+
} | {
|
|
4510
|
+
id: string;
|
|
4511
|
+
clientId: string;
|
|
4512
|
+
clientType: "system" | "user";
|
|
4513
|
+
createdAt: string;
|
|
4514
|
+
operation: "integrations.delete";
|
|
4515
|
+
requestData: {
|
|
4516
|
+
id: string;
|
|
4517
|
+
};
|
|
4518
|
+
responseSummary: {
|
|
4519
|
+
id: string;
|
|
4520
|
+
name: string;
|
|
4521
|
+
};
|
|
4522
|
+
} | {
|
|
4523
|
+
id: string;
|
|
4524
|
+
clientId: string;
|
|
4525
|
+
clientType: "system" | "user";
|
|
4526
|
+
createdAt: string;
|
|
4527
|
+
operation: "integrations.refreshSecret";
|
|
4528
|
+
requestData: {
|
|
4529
|
+
id: string;
|
|
4530
|
+
};
|
|
4531
|
+
responseSummary: {
|
|
4532
|
+
clientId: string;
|
|
4533
|
+
};
|
|
4534
|
+
} | {
|
|
4535
|
+
id: string;
|
|
4536
|
+
clientId: string;
|
|
4537
|
+
clientType: "system" | "user";
|
|
4538
|
+
createdAt: string;
|
|
4539
|
+
operation: "attachments.upload";
|
|
4540
|
+
requestData: {
|
|
4541
|
+
transactionId: string;
|
|
4542
|
+
path: string | null;
|
|
4543
|
+
};
|
|
4544
|
+
responseSummary: {
|
|
4545
|
+
fileUrl: string;
|
|
4546
|
+
};
|
|
4547
|
+
} | {
|
|
4548
|
+
id: string;
|
|
4549
|
+
clientId: string;
|
|
4550
|
+
clientType: "system" | "user";
|
|
4551
|
+
createdAt: string;
|
|
4552
|
+
operation: "user.create_user";
|
|
4553
|
+
requestData: {
|
|
4554
|
+
subjectId: string;
|
|
4555
|
+
role: string;
|
|
4556
|
+
primaryOfficeId: string;
|
|
4557
|
+
};
|
|
4558
|
+
} | {
|
|
4559
|
+
id: string;
|
|
4560
|
+
clientId: string;
|
|
4561
|
+
clientType: "system" | "user";
|
|
4562
|
+
createdAt: string;
|
|
4563
|
+
operation: "user.deactivate" | "user.reactivate";
|
|
4564
|
+
requestData: {
|
|
4565
|
+
subjectId: string;
|
|
4566
|
+
reason: string;
|
|
4567
|
+
comment?: string | undefined;
|
|
4568
|
+
};
|
|
4569
|
+
} | {
|
|
4570
|
+
id: string;
|
|
4571
|
+
clientId: string;
|
|
4572
|
+
clientType: "system" | "user";
|
|
4573
|
+
createdAt: string;
|
|
4574
|
+
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.resend_invite" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4575
|
+
requestData: {
|
|
4576
|
+
subjectId: string;
|
|
4577
|
+
};
|
|
4578
|
+
} | {
|
|
4579
|
+
id: string;
|
|
4580
|
+
clientId: string;
|
|
4581
|
+
clientType: "system" | "user";
|
|
4582
|
+
createdAt: string;
|
|
4583
|
+
operation: "user.email_address_changed";
|
|
4584
|
+
requestData: {
|
|
4585
|
+
subjectId: string;
|
|
4586
|
+
};
|
|
4587
|
+
responseSummary: {
|
|
4588
|
+
email: string;
|
|
4589
|
+
};
|
|
4590
|
+
} | {
|
|
4591
|
+
id: string;
|
|
4592
|
+
clientId: string;
|
|
4593
|
+
clientType: "system" | "user";
|
|
4594
|
+
createdAt: string;
|
|
4595
|
+
operation: "user.phone_number_changed";
|
|
4596
|
+
requestData: {
|
|
4597
|
+
subjectId: string;
|
|
4598
|
+
};
|
|
4599
|
+
responseSummary: {
|
|
4600
|
+
phoneNumber: string;
|
|
4601
|
+
};
|
|
4602
|
+
})[];
|
|
4430
4603
|
total: number;
|
|
4431
4604
|
};
|
|
4432
4605
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4439,15 +4612,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4439
4612
|
user: {
|
|
4440
4613
|
id: string;
|
|
4441
4614
|
type: "system";
|
|
4442
|
-
primaryOfficeId?: undefined;
|
|
4443
4615
|
signature?: undefined;
|
|
4444
|
-
|
|
4616
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4617
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4445
4618
|
} | {
|
|
4446
|
-
id: string
|
|
4619
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4447
4620
|
type: "user";
|
|
4448
4621
|
role: string;
|
|
4449
4622
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4450
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4623
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4451
4624
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4452
4625
|
};
|
|
4453
4626
|
}>;
|
|
@@ -4470,7 +4643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4470
4643
|
locationType: string | null;
|
|
4471
4644
|
externalId?: string | null | undefined;
|
|
4472
4645
|
}[];
|
|
4473
|
-
meta:
|
|
4646
|
+
meta: object;
|
|
4474
4647
|
}>;
|
|
4475
4648
|
set: import("@trpc/server").TRPCMutationProcedure<{
|
|
4476
4649
|
input: {
|
|
@@ -4482,7 +4655,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4482
4655
|
externalId?: string | null | undefined;
|
|
4483
4656
|
}[];
|
|
4484
4657
|
output: void;
|
|
4485
|
-
meta:
|
|
4658
|
+
meta: object;
|
|
4486
4659
|
}>;
|
|
4487
4660
|
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
4488
4661
|
input: {
|
|
@@ -4512,15 +4685,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4512
4685
|
user: {
|
|
4513
4686
|
id: string;
|
|
4514
4687
|
type: "system";
|
|
4515
|
-
primaryOfficeId?: undefined;
|
|
4516
4688
|
signature?: undefined;
|
|
4517
|
-
|
|
4689
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4690
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4518
4691
|
} | {
|
|
4519
|
-
id: string
|
|
4692
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4520
4693
|
type: "user";
|
|
4521
4694
|
role: string;
|
|
4522
4695
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4523
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4696
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4524
4697
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4525
4698
|
};
|
|
4526
4699
|
}>;
|
|
@@ -4534,15 +4707,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4534
4707
|
user: {
|
|
4535
4708
|
id: string;
|
|
4536
4709
|
type: "system";
|
|
4537
|
-
primaryOfficeId?: undefined;
|
|
4538
4710
|
signature?: undefined;
|
|
4539
|
-
|
|
4711
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4712
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4540
4713
|
} | {
|
|
4541
|
-
id: string
|
|
4714
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4542
4715
|
type: "user";
|
|
4543
4716
|
role: string;
|
|
4544
4717
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4545
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4718
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4546
4719
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4547
4720
|
};
|
|
4548
4721
|
}>;
|
|
@@ -4565,10 +4738,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4565
4738
|
eventType?: string | undefined;
|
|
4566
4739
|
status?: {
|
|
4567
4740
|
type: "anyOf";
|
|
4568
|
-
terms: ("
|
|
4741
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4569
4742
|
} | {
|
|
4570
4743
|
type: "exact";
|
|
4571
|
-
term: "
|
|
4744
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4572
4745
|
} | undefined;
|
|
4573
4746
|
createdAt?: {
|
|
4574
4747
|
type: "exact";
|
|
@@ -4595,7 +4768,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4595
4768
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4596
4769
|
type: "within";
|
|
4597
4770
|
location: string | {
|
|
4598
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4771
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4599
4772
|
$location?: string | undefined;
|
|
4600
4773
|
};
|
|
4601
4774
|
} | undefined;
|
|
@@ -4617,7 +4790,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4617
4790
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4618
4791
|
type: "within";
|
|
4619
4792
|
location: string | {
|
|
4620
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4793
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4621
4794
|
$location?: string | undefined;
|
|
4622
4795
|
};
|
|
4623
4796
|
} | undefined;
|
|
@@ -4632,35 +4805,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4632
4805
|
createdAtLocation?: {
|
|
4633
4806
|
type: "within";
|
|
4634
4807
|
location: string | {
|
|
4635
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4808
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4809
|
+
$location?: string | undefined;
|
|
4810
|
+
};
|
|
4811
|
+
} | {
|
|
4812
|
+
type: "exact";
|
|
4813
|
+
term: string | {
|
|
4814
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4636
4815
|
$location?: string | undefined;
|
|
4637
4816
|
};
|
|
4638
4817
|
} | undefined;
|
|
4639
4818
|
updatedAtLocation?: {
|
|
4640
4819
|
type: "within";
|
|
4641
4820
|
location: string | {
|
|
4642
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4821
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4822
|
+
$location?: string | undefined;
|
|
4823
|
+
};
|
|
4824
|
+
} | {
|
|
4825
|
+
type: "exact";
|
|
4826
|
+
term: string | {
|
|
4827
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4643
4828
|
$location?: string | undefined;
|
|
4644
4829
|
};
|
|
4645
4830
|
} | undefined;
|
|
4646
4831
|
updatedByUserRole?: {
|
|
4647
4832
|
type: "exact";
|
|
4648
4833
|
term: string | {
|
|
4649
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4834
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4650
4835
|
$location?: string | undefined;
|
|
4651
4836
|
};
|
|
4652
4837
|
} | undefined;
|
|
4653
4838
|
assignedTo?: {
|
|
4654
4839
|
type: "exact";
|
|
4655
4840
|
term: string | {
|
|
4656
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4841
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4657
4842
|
$location?: string | undefined;
|
|
4658
4843
|
};
|
|
4659
4844
|
} | undefined;
|
|
4660
4845
|
createdBy?: {
|
|
4661
4846
|
type: "exact";
|
|
4662
4847
|
term: string | {
|
|
4663
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4848
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4664
4849
|
$location?: string | undefined;
|
|
4665
4850
|
};
|
|
4666
4851
|
} | undefined;
|
|
@@ -4671,7 +4856,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4671
4856
|
updatedBy?: {
|
|
4672
4857
|
type: "exact";
|
|
4673
4858
|
term: string | {
|
|
4674
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4859
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4675
4860
|
$location?: string | undefined;
|
|
4676
4861
|
};
|
|
4677
4862
|
} | undefined;
|
|
@@ -4691,10 +4876,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4691
4876
|
eventType?: string | undefined;
|
|
4692
4877
|
status?: {
|
|
4693
4878
|
type: "anyOf";
|
|
4694
|
-
terms: ("
|
|
4879
|
+
terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
|
|
4695
4880
|
} | {
|
|
4696
4881
|
type: "exact";
|
|
4697
|
-
term: "
|
|
4882
|
+
term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
4698
4883
|
} | undefined;
|
|
4699
4884
|
createdAt?: {
|
|
4700
4885
|
type: "exact";
|
|
@@ -4721,7 +4906,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4721
4906
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4722
4907
|
type: "within";
|
|
4723
4908
|
location: string | {
|
|
4724
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4909
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4725
4910
|
$location?: string | undefined;
|
|
4726
4911
|
};
|
|
4727
4912
|
} | undefined;
|
|
@@ -4743,7 +4928,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4743
4928
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4744
4929
|
type: "within";
|
|
4745
4930
|
location: string | {
|
|
4746
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4931
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4747
4932
|
$location?: string | undefined;
|
|
4748
4933
|
};
|
|
4749
4934
|
} | undefined;
|
|
@@ -4758,35 +4943,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4758
4943
|
createdAtLocation?: {
|
|
4759
4944
|
type: "within";
|
|
4760
4945
|
location: string | {
|
|
4761
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4946
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4947
|
+
$location?: string | undefined;
|
|
4948
|
+
};
|
|
4949
|
+
} | {
|
|
4950
|
+
type: "exact";
|
|
4951
|
+
term: string | {
|
|
4952
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4762
4953
|
$location?: string | undefined;
|
|
4763
4954
|
};
|
|
4764
4955
|
} | undefined;
|
|
4765
4956
|
updatedAtLocation?: {
|
|
4766
4957
|
type: "within";
|
|
4767
4958
|
location: string | {
|
|
4768
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4959
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4960
|
+
$location?: string | undefined;
|
|
4961
|
+
};
|
|
4962
|
+
} | {
|
|
4963
|
+
type: "exact";
|
|
4964
|
+
term: string | {
|
|
4965
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4769
4966
|
$location?: string | undefined;
|
|
4770
4967
|
};
|
|
4771
4968
|
} | undefined;
|
|
4772
4969
|
updatedByUserRole?: {
|
|
4773
4970
|
type: "exact";
|
|
4774
4971
|
term: string | {
|
|
4775
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4972
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4776
4973
|
$location?: string | undefined;
|
|
4777
4974
|
};
|
|
4778
4975
|
} | undefined;
|
|
4779
4976
|
assignedTo?: {
|
|
4780
4977
|
type: "exact";
|
|
4781
4978
|
term: string | {
|
|
4782
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4979
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4783
4980
|
$location?: string | undefined;
|
|
4784
4981
|
};
|
|
4785
4982
|
} | undefined;
|
|
4786
4983
|
createdBy?: {
|
|
4787
4984
|
type: "exact";
|
|
4788
4985
|
term: string | {
|
|
4789
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4986
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4790
4987
|
$location?: string | undefined;
|
|
4791
4988
|
};
|
|
4792
4989
|
} | undefined;
|
|
@@ -4797,7 +4994,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4797
4994
|
updatedBy?: {
|
|
4798
4995
|
type: "exact";
|
|
4799
4996
|
term: string | {
|
|
4800
|
-
$userField: "id" | "name" | "firstname" | "surname" | "fullHonorificName" | "role" | "
|
|
4997
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4801
4998
|
$location?: string | undefined;
|
|
4802
4999
|
};
|
|
4803
5000
|
} | undefined;
|
|
@@ -4819,7 +5016,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4819
5016
|
description: string;
|
|
4820
5017
|
};
|
|
4821
5018
|
value: {
|
|
4822
|
-
$event: "id" | "createdBy" | "
|
|
5019
|
+
$event: "id" | "createdBy" | "createdAt" | "status" | "createdByUserType" | "createdAtLocation" | "updatedAt" | "assignedTo" | "trackingId" | "type" | "flags" | "dateOfEvent" | "placeOfEvent" | "title" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "outbox";
|
|
4823
5020
|
};
|
|
4824
5021
|
}[];
|
|
4825
5022
|
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 +5047,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4850
5047
|
user: {
|
|
4851
5048
|
id: string;
|
|
4852
5049
|
type: "system";
|
|
4853
|
-
primaryOfficeId?: undefined;
|
|
4854
5050
|
signature?: undefined;
|
|
4855
|
-
|
|
5051
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5052
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4856
5053
|
} | {
|
|
4857
|
-
id: string
|
|
5054
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4858
5055
|
type: "user";
|
|
4859
5056
|
role: string;
|
|
4860
5057
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4861
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5058
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4862
5059
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4863
5060
|
};
|
|
4864
5061
|
}>;
|
|
@@ -4889,7 +5086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4889
5086
|
externalId?: string | null | undefined;
|
|
4890
5087
|
}[];
|
|
4891
5088
|
output: void;
|
|
4892
|
-
meta:
|
|
5089
|
+
meta: object;
|
|
4893
5090
|
}>;
|
|
4894
5091
|
}>>;
|
|
4895
5092
|
integrations: import("@trpc/server").TRPCBuiltRouter<{
|
|
@@ -4898,15 +5095,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4898
5095
|
user: {
|
|
4899
5096
|
id: string;
|
|
4900
5097
|
type: "system";
|
|
4901
|
-
primaryOfficeId?: undefined;
|
|
4902
5098
|
signature?: undefined;
|
|
4903
|
-
|
|
5099
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5100
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4904
5101
|
} | {
|
|
4905
|
-
id: string
|
|
5102
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4906
5103
|
type: "user";
|
|
4907
5104
|
role: string;
|
|
4908
5105
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4909
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5106
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4910
5107
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4911
5108
|
};
|
|
4912
5109
|
}>;
|
|
@@ -4934,7 +5131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
5131
|
output: {
|
|
4935
5132
|
id: string & import("zod").$brand<"UUID">;
|
|
4936
5133
|
status: string;
|
|
4937
|
-
scope: string[];
|
|
5134
|
+
scope: (string & import("zod").$brand<"EncodedScope">)[];
|
|
4938
5135
|
};
|
|
4939
5136
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4940
5137
|
}>;
|
|
@@ -5016,15 +5213,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5016
5213
|
user: {
|
|
5017
5214
|
id: string;
|
|
5018
5215
|
type: "system";
|
|
5019
|
-
primaryOfficeId?: undefined;
|
|
5020
5216
|
signature?: undefined;
|
|
5021
|
-
|
|
5217
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5218
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5022
5219
|
} | {
|
|
5023
|
-
id: string
|
|
5220
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5024
5221
|
type: "user";
|
|
5025
5222
|
role: string;
|
|
5026
5223
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5027
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
5224
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5028
5225
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5029
5226
|
};
|
|
5030
5227
|
}>;
|
|
@@ -5045,6 +5242,40 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5045
5242
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5046
5243
|
}>;
|
|
5047
5244
|
}>>;
|
|
5245
|
+
announcement: import("@trpc/server").TRPCBuiltRouter<{
|
|
5246
|
+
ctx: Partial<{
|
|
5247
|
+
token: `Bearer ${string}`;
|
|
5248
|
+
user: {
|
|
5249
|
+
id: string;
|
|
5250
|
+
type: "system";
|
|
5251
|
+
signature?: undefined;
|
|
5252
|
+
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5253
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5254
|
+
} | {
|
|
5255
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5256
|
+
type: "user";
|
|
5257
|
+
role: string;
|
|
5258
|
+
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
5259
|
+
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
5260
|
+
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
5261
|
+
};
|
|
5262
|
+
}>;
|
|
5263
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5264
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
5265
|
+
transformer: true;
|
|
5266
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
5267
|
+
broadcast: import("@trpc/server").TRPCMutationProcedure<{
|
|
5268
|
+
input: {
|
|
5269
|
+
subject: string;
|
|
5270
|
+
body: string;
|
|
5271
|
+
locale: string;
|
|
5272
|
+
};
|
|
5273
|
+
output: {
|
|
5274
|
+
success: boolean;
|
|
5275
|
+
};
|
|
5276
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5277
|
+
}>;
|
|
5278
|
+
}>>;
|
|
5048
5279
|
}>>;
|
|
5049
5280
|
/** @knipignore */
|
|
5050
5281
|
export type AppRouter = typeof appRouter;
|