@opencrvs/toolkit 2.0.0-rc.3edb4f4 → 2.0.0-rc.440bc51
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/dist/application-config/index.js +35 -7
- package/dist/cli.js +1418 -149
- package/dist/commons/api/router.d.ts +154 -143
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/locations.d.ts +17 -1
- package/dist/commons/notification/UserNotifications.d.ts +15 -0
- package/dist/conditionals/index.js +35 -7
- package/dist/events/index.js +74 -7
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +3 -4
- 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 +373 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +19 -0
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +17 -13
- package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +4 -5
- package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -1
- package/dist/migrations/v2.0/convert-paragraph-to-heading.js +4 -5
- package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -1
- package/dist/migrations/v2.0/create-events-index.js +1 -2
- 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 +8 -4
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +1386 -146
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +5 -6
- 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.map +1 -1
- package/dist/migrations/v2.0/migrate-scopes.js +6 -7
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +3 -4
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +3 -4
- package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-delete-actions.js +3 -4
- package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-demo-scope.js +2 -3
- package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-deprecated-imports.js +3 -4
- 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.map +1 -1
- package/dist/migrations/v2.0/remove-hearth-migrations.js +1 -2
- 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.map +1 -1
- package/dist/migrations/v2.0/remove-pending-certification-flag.js +3 -4
- package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -1
- package/dist/migrations/v2.0/remove-review-from-register-action.js +3 -4
- 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.map +1 -1
- package/dist/migrations/v2.0/rename-api-paths.js +3 -4
- package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -1
- package/dist/migrations/v2.0/rename-location-parent-id.js +3 -4
- package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -1
- package/dist/migrations/v2.0/simplify-analytics-precalculations.js +1 -2
- 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 +41 -7
- package/dist/scopes/index.d.ts +82 -10
- package/dist/scopes/index.js +41 -8
- package/opencrvs-toolkit-2.0.0-rc.440bc51.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.3edb4f4.tgz +0 -0
|
@@ -2,13 +2,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2
2
|
ctx: Partial<{
|
|
3
3
|
token: `Bearer ${string}`;
|
|
4
4
|
user: {
|
|
5
|
-
id: string
|
|
5
|
+
id: string & import("zod").$brand<"UUID">;
|
|
6
6
|
type: "system";
|
|
7
7
|
signature?: undefined;
|
|
8
8
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
9
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">;
|
|
@@ -24,13 +24,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
24
24
|
ctx: Partial<{
|
|
25
25
|
token: `Bearer ${string}`;
|
|
26
26
|
user: {
|
|
27
|
-
id: string
|
|
27
|
+
id: string & import("zod").$brand<"UUID">;
|
|
28
28
|
type: "system";
|
|
29
29
|
signature?: undefined;
|
|
30
30
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
31
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">;
|
|
@@ -46,13 +46,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
ctx: Partial<{
|
|
47
47
|
token: `Bearer ${string}`;
|
|
48
48
|
user: {
|
|
49
|
-
id: string
|
|
49
|
+
id: string & import("zod").$brand<"UUID">;
|
|
50
50
|
type: "system";
|
|
51
51
|
signature?: undefined;
|
|
52
52
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
53
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">;
|
|
@@ -92,13 +92,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
92
92
|
ctx: Partial<{
|
|
93
93
|
token: `Bearer ${string}`;
|
|
94
94
|
user: {
|
|
95
|
-
id: string
|
|
95
|
+
id: string & import("zod").$brand<"UUID">;
|
|
96
96
|
type: "system";
|
|
97
97
|
signature?: undefined;
|
|
98
98
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
99
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">;
|
|
@@ -1054,13 +1054,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1054
1054
|
ctx: Partial<{
|
|
1055
1055
|
token: `Bearer ${string}`;
|
|
1056
1056
|
user: {
|
|
1057
|
-
id: string
|
|
1057
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1058
1058
|
type: "system";
|
|
1059
1059
|
signature?: undefined;
|
|
1060
1060
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1061
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">;
|
|
@@ -1133,13 +1133,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1133
1133
|
ctx: Partial<{
|
|
1134
1134
|
token: `Bearer ${string}`;
|
|
1135
1135
|
user: {
|
|
1136
|
-
id: string
|
|
1136
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1137
1137
|
type: "system";
|
|
1138
1138
|
signature?: undefined;
|
|
1139
1139
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1140
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">;
|
|
@@ -1155,13 +1155,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1155
1155
|
ctx: Partial<{
|
|
1156
1156
|
token: `Bearer ${string}`;
|
|
1157
1157
|
user: {
|
|
1158
|
-
id: string
|
|
1158
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1159
1159
|
type: "system";
|
|
1160
1160
|
signature?: undefined;
|
|
1161
1161
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1162
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">;
|
|
@@ -1199,13 +1199,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1199
1199
|
ctx: Partial<{
|
|
1200
1200
|
token: `Bearer ${string}`;
|
|
1201
1201
|
user: {
|
|
1202
|
-
id: string
|
|
1202
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1203
1203
|
type: "system";
|
|
1204
1204
|
signature?: undefined;
|
|
1205
1205
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1206
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">;
|
|
@@ -1552,13 +1552,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1552
1552
|
ctx: Partial<{
|
|
1553
1553
|
token: `Bearer ${string}`;
|
|
1554
1554
|
user: {
|
|
1555
|
-
id: string
|
|
1555
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1556
1556
|
type: "system";
|
|
1557
1557
|
signature?: undefined;
|
|
1558
1558
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1559
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">;
|
|
@@ -1596,13 +1596,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1596
1596
|
ctx: Partial<{
|
|
1597
1597
|
token: `Bearer ${string}`;
|
|
1598
1598
|
user: {
|
|
1599
|
-
id: string
|
|
1599
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1600
1600
|
type: "system";
|
|
1601
1601
|
signature?: undefined;
|
|
1602
1602
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1603
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">;
|
|
@@ -1640,13 +1640,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1640
1640
|
ctx: Partial<{
|
|
1641
1641
|
token: `Bearer ${string}`;
|
|
1642
1642
|
user: {
|
|
1643
|
-
id: string
|
|
1643
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1644
1644
|
type: "system";
|
|
1645
1645
|
signature?: undefined;
|
|
1646
1646
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1647
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">;
|
|
@@ -1684,13 +1684,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1684
1684
|
ctx: Partial<{
|
|
1685
1685
|
token: `Bearer ${string}`;
|
|
1686
1686
|
user: {
|
|
1687
|
-
id: string
|
|
1687
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1688
1688
|
type: "system";
|
|
1689
1689
|
signature?: undefined;
|
|
1690
1690
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1691
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">;
|
|
@@ -1728,13 +1728,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1728
1728
|
ctx: Partial<{
|
|
1729
1729
|
token: `Bearer ${string}`;
|
|
1730
1730
|
user: {
|
|
1731
|
-
id: string
|
|
1731
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1732
1732
|
type: "system";
|
|
1733
1733
|
signature?: undefined;
|
|
1734
1734
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1735
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">;
|
|
@@ -1772,13 +1772,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1772
1772
|
ctx: Partial<{
|
|
1773
1773
|
token: `Bearer ${string}`;
|
|
1774
1774
|
user: {
|
|
1775
|
-
id: string
|
|
1775
|
+
id: string & import("zod").$brand<"UUID">;
|
|
1776
1776
|
type: "system";
|
|
1777
1777
|
signature?: undefined;
|
|
1778
1778
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
1779
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">;
|
|
@@ -2126,13 +2126,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2126
2126
|
ctx: Partial<{
|
|
2127
2127
|
token: `Bearer ${string}`;
|
|
2128
2128
|
user: {
|
|
2129
|
-
id: string
|
|
2129
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2130
2130
|
type: "system";
|
|
2131
2131
|
signature?: undefined;
|
|
2132
2132
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2133
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">;
|
|
@@ -2779,13 +2779,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2779
2779
|
ctx: Partial<{
|
|
2780
2780
|
token: `Bearer ${string}`;
|
|
2781
2781
|
user: {
|
|
2782
|
-
id: string
|
|
2782
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2783
2783
|
type: "system";
|
|
2784
2784
|
signature?: undefined;
|
|
2785
2785
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2786
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">;
|
|
@@ -2801,13 +2801,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2801
2801
|
ctx: Partial<{
|
|
2802
2802
|
token: `Bearer ${string}`;
|
|
2803
2803
|
user: {
|
|
2804
|
-
id: string
|
|
2804
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2805
2805
|
type: "system";
|
|
2806
2806
|
signature?: undefined;
|
|
2807
2807
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2808
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">;
|
|
@@ -2845,13 +2845,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2845
2845
|
ctx: Partial<{
|
|
2846
2846
|
token: `Bearer ${string}`;
|
|
2847
2847
|
user: {
|
|
2848
|
-
id: string
|
|
2848
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2849
2849
|
type: "system";
|
|
2850
2850
|
signature?: undefined;
|
|
2851
2851
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2852
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">;
|
|
@@ -2889,13 +2889,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2889
2889
|
ctx: Partial<{
|
|
2890
2890
|
token: `Bearer ${string}`;
|
|
2891
2891
|
user: {
|
|
2892
|
-
id: string
|
|
2892
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2893
2893
|
type: "system";
|
|
2894
2894
|
signature?: undefined;
|
|
2895
2895
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2896
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">;
|
|
@@ -2934,13 +2934,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2934
2934
|
ctx: Partial<{
|
|
2935
2935
|
token: `Bearer ${string}`;
|
|
2936
2936
|
user: {
|
|
2937
|
-
id: string
|
|
2937
|
+
id: string & import("zod").$brand<"UUID">;
|
|
2938
2938
|
type: "system";
|
|
2939
2939
|
signature?: undefined;
|
|
2940
2940
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
2941
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">;
|
|
@@ -3952,13 +3952,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3952
3952
|
ctx: Partial<{
|
|
3953
3953
|
token: `Bearer ${string}`;
|
|
3954
3954
|
user: {
|
|
3955
|
-
id: string
|
|
3955
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3956
3956
|
type: "system";
|
|
3957
3957
|
signature?: undefined;
|
|
3958
3958
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
3959
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">;
|
|
@@ -3973,12 +3973,11 @@ 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
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
}[];
|
|
3978
|
+
firstname: string;
|
|
3979
|
+
surname: string;
|
|
3980
|
+
};
|
|
3982
3981
|
role: string;
|
|
3983
3982
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
3984
3983
|
type: "user";
|
|
@@ -3992,7 +3991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3992
3991
|
email?: string | undefined;
|
|
3993
3992
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3994
3993
|
} | {
|
|
3995
|
-
id: string
|
|
3994
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3996
3995
|
name: string;
|
|
3997
3996
|
type: "system";
|
|
3998
3997
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4008,34 +4007,30 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4008
4007
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
4009
4008
|
input: {
|
|
4010
4009
|
name: {
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
}[];
|
|
4015
|
-
email: string;
|
|
4010
|
+
firstname: string;
|
|
4011
|
+
surname: string;
|
|
4012
|
+
};
|
|
4016
4013
|
role: string;
|
|
4017
4014
|
primaryOfficeId: string;
|
|
4018
|
-
|
|
4019
|
-
mobile?: string | undefined;
|
|
4015
|
+
data?: Record<string, unknown> | undefined;
|
|
4020
4016
|
fullHonorificName?: string | undefined;
|
|
4021
|
-
emailForNotification?: string | undefined;
|
|
4022
|
-
password?: string | undefined;
|
|
4023
4017
|
device?: string | undefined;
|
|
4024
|
-
|
|
4018
|
+
email?: string | undefined;
|
|
4019
|
+
mobile?: string | undefined;
|
|
4020
|
+
username?: undefined;
|
|
4021
|
+
password?: undefined;
|
|
4025
4022
|
signature?: {
|
|
4026
4023
|
path: string;
|
|
4027
4024
|
originalFilename: string;
|
|
4028
4025
|
type: string;
|
|
4029
4026
|
} | undefined;
|
|
4030
|
-
data?: Record<string, unknown> | undefined;
|
|
4031
4027
|
};
|
|
4032
4028
|
output: {
|
|
4033
|
-
id: string
|
|
4029
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4034
4030
|
name: {
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
}[];
|
|
4031
|
+
firstname: string;
|
|
4032
|
+
surname: string;
|
|
4033
|
+
};
|
|
4039
4034
|
role: string;
|
|
4040
4035
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4041
4036
|
type: "user";
|
|
@@ -4049,41 +4044,35 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4049
4044
|
email?: string | undefined;
|
|
4050
4045
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4051
4046
|
};
|
|
4052
|
-
meta:
|
|
4047
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4053
4048
|
}>;
|
|
4054
4049
|
update: import("@trpc/server").TRPCMutationProcedure<{
|
|
4055
4050
|
input: {
|
|
4051
|
+
id: string;
|
|
4052
|
+
data?: Record<string, unknown> | undefined;
|
|
4056
4053
|
name?: {
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
}[] | undefined;
|
|
4061
|
-
username?: string | undefined;
|
|
4062
|
-
email?: string | undefined;
|
|
4063
|
-
mobile?: string | undefined;
|
|
4064
|
-
fullHonorificName?: string | undefined;
|
|
4065
|
-
emailForNotification?: string | undefined;
|
|
4066
|
-
password?: string | undefined;
|
|
4054
|
+
firstname: string;
|
|
4055
|
+
surname: string;
|
|
4056
|
+
} | undefined;
|
|
4067
4057
|
role?: string | undefined;
|
|
4068
|
-
|
|
4058
|
+
fullHonorificName?: string | undefined;
|
|
4069
4059
|
device?: string | undefined;
|
|
4070
|
-
|
|
4060
|
+
primaryOfficeId?: string | undefined;
|
|
4061
|
+
email?: string | undefined;
|
|
4062
|
+
mobile?: string | undefined;
|
|
4071
4063
|
signature?: {
|
|
4072
4064
|
path: string;
|
|
4073
4065
|
originalFilename: string;
|
|
4074
4066
|
type: string;
|
|
4075
4067
|
} | undefined;
|
|
4076
|
-
|
|
4077
|
-
} & {
|
|
4078
|
-
id: string;
|
|
4068
|
+
status?: "active" | "deactivated" | undefined;
|
|
4079
4069
|
};
|
|
4080
4070
|
output: {
|
|
4081
|
-
id: string
|
|
4071
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4082
4072
|
name: {
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
}[];
|
|
4073
|
+
firstname: string;
|
|
4074
|
+
surname: string;
|
|
4075
|
+
};
|
|
4087
4076
|
role: string;
|
|
4088
4077
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4089
4078
|
type: "user";
|
|
@@ -4102,12 +4091,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4102
4091
|
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
4103
4092
|
input: string[];
|
|
4104
4093
|
output: ({
|
|
4105
|
-
id: string
|
|
4094
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4106
4095
|
name: {
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
}[];
|
|
4096
|
+
firstname: string;
|
|
4097
|
+
surname: string;
|
|
4098
|
+
};
|
|
4111
4099
|
role: string;
|
|
4112
4100
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4113
4101
|
type: "user";
|
|
@@ -4121,7 +4109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4121
4109
|
email?: string | undefined;
|
|
4122
4110
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4123
4111
|
} | {
|
|
4124
|
-
id: string
|
|
4112
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4125
4113
|
name: string;
|
|
4126
4114
|
type: "system";
|
|
4127
4115
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4147,12 +4135,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4147
4135
|
sortBy?: "createdAt" | "status" | "username" | "firstname" | "surname" | "role" | "email" | undefined;
|
|
4148
4136
|
};
|
|
4149
4137
|
output: ({
|
|
4150
|
-
id: string
|
|
4138
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4151
4139
|
name: {
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
}[];
|
|
4140
|
+
firstname: string;
|
|
4141
|
+
surname: string;
|
|
4142
|
+
};
|
|
4156
4143
|
role: string;
|
|
4157
4144
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4158
4145
|
type: "user";
|
|
@@ -4166,7 +4153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4166
4153
|
email?: string | undefined;
|
|
4167
4154
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4168
4155
|
} | {
|
|
4169
|
-
id: string
|
|
4156
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4170
4157
|
name: string;
|
|
4171
4158
|
type: "system";
|
|
4172
4159
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4221,13 +4208,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4221
4208
|
ctx: Partial<{
|
|
4222
4209
|
token: `Bearer ${string}`;
|
|
4223
4210
|
user: {
|
|
4224
|
-
id: string
|
|
4211
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4225
4212
|
type: "system";
|
|
4226
4213
|
signature?: undefined;
|
|
4227
4214
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4228
4215
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4229
4216
|
} | {
|
|
4230
|
-
id: string
|
|
4217
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4231
4218
|
type: "user";
|
|
4232
4219
|
role: string;
|
|
4233
4220
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4288,14 +4275,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4288
4275
|
changeAvatar: import("@trpc/server").TRPCMutationProcedure<{
|
|
4289
4276
|
input: {
|
|
4290
4277
|
userId: string;
|
|
4291
|
-
avatar:
|
|
4292
|
-
type: string;
|
|
4293
|
-
data: string;
|
|
4294
|
-
};
|
|
4278
|
+
avatar: string;
|
|
4295
4279
|
};
|
|
4296
4280
|
output: void;
|
|
4297
4281
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4298
4282
|
}>;
|
|
4283
|
+
resendInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4284
|
+
input: string;
|
|
4285
|
+
output: void;
|
|
4286
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4287
|
+
}>;
|
|
4299
4288
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4300
4289
|
input: {
|
|
4301
4290
|
userId: string;
|
|
@@ -4308,17 +4297,39 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4308
4297
|
output: void;
|
|
4309
4298
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4310
4299
|
}>;
|
|
4300
|
+
sendUsernameReminder: import("@trpc/server").TRPCMutationProcedure<{
|
|
4301
|
+
input: string;
|
|
4302
|
+
output: void;
|
|
4303
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4304
|
+
}>;
|
|
4305
|
+
sendResetPasswordInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4306
|
+
input: string;
|
|
4307
|
+
output: void;
|
|
4308
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4309
|
+
}>;
|
|
4310
|
+
verifyLoggedInUserPassword: import("@trpc/server").TRPCMutationProcedure<{
|
|
4311
|
+
input: {
|
|
4312
|
+
password: string;
|
|
4313
|
+
};
|
|
4314
|
+
output: {
|
|
4315
|
+
status: string;
|
|
4316
|
+
username: string;
|
|
4317
|
+
id: string;
|
|
4318
|
+
mobile?: string | undefined;
|
|
4319
|
+
};
|
|
4320
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4321
|
+
}>;
|
|
4311
4322
|
audit: import("@trpc/server").TRPCBuiltRouter<{
|
|
4312
4323
|
ctx: Partial<{
|
|
4313
4324
|
token: `Bearer ${string}`;
|
|
4314
4325
|
user: {
|
|
4315
|
-
id: string
|
|
4326
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4316
4327
|
type: "system";
|
|
4317
4328
|
signature?: undefined;
|
|
4318
4329
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4319
4330
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4320
4331
|
} | {
|
|
4321
|
-
id: string
|
|
4332
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4322
4333
|
type: "user";
|
|
4323
4334
|
role: string;
|
|
4324
4335
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4346,7 +4357,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4346
4357
|
comment?: string | undefined;
|
|
4347
4358
|
};
|
|
4348
4359
|
} | {
|
|
4349
|
-
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4360
|
+
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";
|
|
4350
4361
|
requestData: {
|
|
4351
4362
|
subjectId: string;
|
|
4352
4363
|
};
|
|
@@ -4566,7 +4577,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4566
4577
|
clientId: string;
|
|
4567
4578
|
clientType: "system" | "user";
|
|
4568
4579
|
createdAt: string;
|
|
4569
|
-
operation: "user.edit_user" | "user.logged_in" | "user.logged_out" | "user.password_changed" | "user.password_reset" | "user.password_reset_by_admin" | "user.username_reminder" | "user.username_reminder_by_admin";
|
|
4580
|
+
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";
|
|
4570
4581
|
requestData: {
|
|
4571
4582
|
subjectId: string;
|
|
4572
4583
|
};
|
|
@@ -4605,13 +4616,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4605
4616
|
ctx: Partial<{
|
|
4606
4617
|
token: `Bearer ${string}`;
|
|
4607
4618
|
user: {
|
|
4608
|
-
id: string
|
|
4619
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4609
4620
|
type: "system";
|
|
4610
4621
|
signature?: undefined;
|
|
4611
4622
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4612
4623
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4613
4624
|
} | {
|
|
4614
|
-
id: string
|
|
4625
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4615
4626
|
type: "user";
|
|
4616
4627
|
role: string;
|
|
4617
4628
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4678,13 +4689,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4678
4689
|
ctx: Partial<{
|
|
4679
4690
|
token: `Bearer ${string}`;
|
|
4680
4691
|
user: {
|
|
4681
|
-
id: string
|
|
4692
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4682
4693
|
type: "system";
|
|
4683
4694
|
signature?: undefined;
|
|
4684
4695
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4685
4696
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4686
4697
|
} | {
|
|
4687
|
-
id: string
|
|
4698
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4688
4699
|
type: "user";
|
|
4689
4700
|
role: string;
|
|
4690
4701
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4700,13 +4711,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4700
4711
|
ctx: Partial<{
|
|
4701
4712
|
token: `Bearer ${string}`;
|
|
4702
4713
|
user: {
|
|
4703
|
-
id: string
|
|
4714
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4704
4715
|
type: "system";
|
|
4705
4716
|
signature?: undefined;
|
|
4706
4717
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4707
4718
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4708
4719
|
} | {
|
|
4709
|
-
id: string
|
|
4720
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4710
4721
|
type: "user";
|
|
4711
4722
|
role: string;
|
|
4712
4723
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -4763,7 +4774,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4763
4774
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4764
4775
|
type: "within";
|
|
4765
4776
|
location: string | {
|
|
4766
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4777
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4767
4778
|
$location?: string | undefined;
|
|
4768
4779
|
};
|
|
4769
4780
|
} | undefined;
|
|
@@ -4785,7 +4796,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4785
4796
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4786
4797
|
type: "within";
|
|
4787
4798
|
location: string | {
|
|
4788
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4799
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4789
4800
|
$location?: string | undefined;
|
|
4790
4801
|
};
|
|
4791
4802
|
} | undefined;
|
|
@@ -4800,47 +4811,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4800
4811
|
createdAtLocation?: {
|
|
4801
4812
|
type: "within";
|
|
4802
4813
|
location: string | {
|
|
4803
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4814
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4804
4815
|
$location?: string | undefined;
|
|
4805
4816
|
};
|
|
4806
4817
|
} | {
|
|
4807
4818
|
type: "exact";
|
|
4808
4819
|
term: string | {
|
|
4809
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4820
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4810
4821
|
$location?: string | undefined;
|
|
4811
4822
|
};
|
|
4812
4823
|
} | undefined;
|
|
4813
4824
|
updatedAtLocation?: {
|
|
4814
4825
|
type: "within";
|
|
4815
4826
|
location: string | {
|
|
4816
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4827
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4817
4828
|
$location?: string | undefined;
|
|
4818
4829
|
};
|
|
4819
4830
|
} | {
|
|
4820
4831
|
type: "exact";
|
|
4821
4832
|
term: string | {
|
|
4822
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4833
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4823
4834
|
$location?: string | undefined;
|
|
4824
4835
|
};
|
|
4825
4836
|
} | undefined;
|
|
4826
4837
|
updatedByUserRole?: {
|
|
4827
4838
|
type: "exact";
|
|
4828
4839
|
term: string | {
|
|
4829
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4840
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4830
4841
|
$location?: string | undefined;
|
|
4831
4842
|
};
|
|
4832
4843
|
} | undefined;
|
|
4833
4844
|
assignedTo?: {
|
|
4834
4845
|
type: "exact";
|
|
4835
4846
|
term: string | {
|
|
4836
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4847
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4837
4848
|
$location?: string | undefined;
|
|
4838
4849
|
};
|
|
4839
4850
|
} | undefined;
|
|
4840
4851
|
createdBy?: {
|
|
4841
4852
|
type: "exact";
|
|
4842
4853
|
term: string | {
|
|
4843
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4854
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4844
4855
|
$location?: string | undefined;
|
|
4845
4856
|
};
|
|
4846
4857
|
} | undefined;
|
|
@@ -4851,7 +4862,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4851
4862
|
updatedBy?: {
|
|
4852
4863
|
type: "exact";
|
|
4853
4864
|
term: string | {
|
|
4854
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4865
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4855
4866
|
$location?: string | undefined;
|
|
4856
4867
|
};
|
|
4857
4868
|
} | undefined;
|
|
@@ -4901,7 +4912,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4901
4912
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4902
4913
|
type: "within";
|
|
4903
4914
|
location: string | {
|
|
4904
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4915
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4905
4916
|
$location?: string | undefined;
|
|
4906
4917
|
};
|
|
4907
4918
|
} | undefined;
|
|
@@ -4923,7 +4934,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4923
4934
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4924
4935
|
type: "within";
|
|
4925
4936
|
location: string | {
|
|
4926
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4937
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4927
4938
|
$location?: string | undefined;
|
|
4928
4939
|
};
|
|
4929
4940
|
} | undefined;
|
|
@@ -4938,47 +4949,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4938
4949
|
createdAtLocation?: {
|
|
4939
4950
|
type: "within";
|
|
4940
4951
|
location: string | {
|
|
4941
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4952
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4942
4953
|
$location?: string | undefined;
|
|
4943
4954
|
};
|
|
4944
4955
|
} | {
|
|
4945
4956
|
type: "exact";
|
|
4946
4957
|
term: string | {
|
|
4947
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4958
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4948
4959
|
$location?: string | undefined;
|
|
4949
4960
|
};
|
|
4950
4961
|
} | undefined;
|
|
4951
4962
|
updatedAtLocation?: {
|
|
4952
4963
|
type: "within";
|
|
4953
4964
|
location: string | {
|
|
4954
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4965
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4955
4966
|
$location?: string | undefined;
|
|
4956
4967
|
};
|
|
4957
4968
|
} | {
|
|
4958
4969
|
type: "exact";
|
|
4959
4970
|
term: string | {
|
|
4960
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4971
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4961
4972
|
$location?: string | undefined;
|
|
4962
4973
|
};
|
|
4963
4974
|
} | undefined;
|
|
4964
4975
|
updatedByUserRole?: {
|
|
4965
4976
|
type: "exact";
|
|
4966
4977
|
term: string | {
|
|
4967
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4978
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4968
4979
|
$location?: string | undefined;
|
|
4969
4980
|
};
|
|
4970
4981
|
} | undefined;
|
|
4971
4982
|
assignedTo?: {
|
|
4972
4983
|
type: "exact";
|
|
4973
4984
|
term: string | {
|
|
4974
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4985
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4975
4986
|
$location?: string | undefined;
|
|
4976
4987
|
};
|
|
4977
4988
|
} | undefined;
|
|
4978
4989
|
createdBy?: {
|
|
4979
4990
|
type: "exact";
|
|
4980
4991
|
term: string | {
|
|
4981
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4992
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4982
4993
|
$location?: string | undefined;
|
|
4983
4994
|
};
|
|
4984
4995
|
} | undefined;
|
|
@@ -4989,7 +5000,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4989
5000
|
updatedBy?: {
|
|
4990
5001
|
type: "exact";
|
|
4991
5002
|
term: string | {
|
|
4992
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
5003
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "avatar" | "signature" | "primaryOfficeId" | "middlename";
|
|
4993
5004
|
$location?: string | undefined;
|
|
4994
5005
|
};
|
|
4995
5006
|
} | undefined;
|
|
@@ -5040,13 +5051,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5040
5051
|
ctx: Partial<{
|
|
5041
5052
|
token: `Bearer ${string}`;
|
|
5042
5053
|
user: {
|
|
5043
|
-
id: string
|
|
5054
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5044
5055
|
type: "system";
|
|
5045
5056
|
signature?: undefined;
|
|
5046
5057
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5047
5058
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5048
5059
|
} | {
|
|
5049
|
-
id: string
|
|
5060
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5050
5061
|
type: "user";
|
|
5051
5062
|
role: string;
|
|
5052
5063
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5088,13 +5099,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5088
5099
|
ctx: Partial<{
|
|
5089
5100
|
token: `Bearer ${string}`;
|
|
5090
5101
|
user: {
|
|
5091
|
-
id: string
|
|
5102
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5092
5103
|
type: "system";
|
|
5093
5104
|
signature?: undefined;
|
|
5094
5105
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5095
5106
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5096
5107
|
} | {
|
|
5097
|
-
id: string
|
|
5108
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5098
5109
|
type: "user";
|
|
5099
5110
|
role: string;
|
|
5100
5111
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5140,7 +5151,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5140
5151
|
scopes: string[];
|
|
5141
5152
|
status: string;
|
|
5142
5153
|
createdAt: string;
|
|
5143
|
-
createdBy: string
|
|
5154
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5144
5155
|
}[];
|
|
5145
5156
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5146
5157
|
}>;
|
|
@@ -5155,7 +5166,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5155
5166
|
status: string;
|
|
5156
5167
|
shaSecret: string | null;
|
|
5157
5168
|
createdAt: string;
|
|
5158
|
-
createdBy: string
|
|
5169
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5159
5170
|
};
|
|
5160
5171
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5161
5172
|
}>;
|
|
@@ -5206,13 +5217,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5206
5217
|
ctx: Partial<{
|
|
5207
5218
|
token: `Bearer ${string}`;
|
|
5208
5219
|
user: {
|
|
5209
|
-
id: string
|
|
5220
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5210
5221
|
type: "system";
|
|
5211
5222
|
signature?: undefined;
|
|
5212
5223
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5213
5224
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5214
5225
|
} | {
|
|
5215
|
-
id: string
|
|
5226
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5216
5227
|
type: "user";
|
|
5217
5228
|
role: string;
|
|
5218
5229
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
@@ -5241,13 +5252,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5241
5252
|
ctx: Partial<{
|
|
5242
5253
|
token: `Bearer ${string}`;
|
|
5243
5254
|
user: {
|
|
5244
|
-
id: string
|
|
5255
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5245
5256
|
type: "system";
|
|
5246
5257
|
signature?: undefined;
|
|
5247
5258
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5248
5259
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
5249
5260
|
} | {
|
|
5250
|
-
id: string
|
|
5261
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5251
5262
|
type: "user";
|
|
5252
5263
|
role: string;
|
|
5253
5264
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|