@opencrvs/toolkit 2.0.0-rc.e0918cb → 2.0.0-rc.e0b2a80
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/create-countryconfig/index.js +73 -0
- package/create-countryconfig/package.json +11 -0
- package/dist/application-config/index.js +41 -11
- package/dist/cli.js +1661 -320
- package/dist/commons/api/router.d.ts +102 -91
- package/dist/commons/application-config/index.d.ts +16 -4
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/FieldConfig.d.ts +10 -0
- package/dist/commons/events/locations.d.ts +38 -1
- package/dist/commons/events/mocks.test.utils.d.ts +19 -0
- package/dist/commons/events/scopes.d.ts +24 -1
- package/dist/commons/notification/UserNotifications.d.ts +15 -0
- package/dist/conditionals/index.js +37 -7
- package/dist/events/index.js +131 -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 +63 -39
- 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 +1629 -317
- 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 +95 -7
- 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 +43 -7
- package/dist/scopes/index.d.ts +87 -10
- package/dist/scopes/index.js +43 -8
- package/opencrvs-toolkit-2.0.0-rc.e0b2a80.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.e0918cb.tgz +0 -0
|
@@ -2,7 +2,7 @@ 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;
|
|
@@ -24,7 +24,7 @@ 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;
|
|
@@ -46,7 +46,7 @@ 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;
|
|
@@ -92,7 +92,7 @@ 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;
|
|
@@ -1054,7 +1054,7 @@ 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;
|
|
@@ -1133,7 +1133,7 @@ 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;
|
|
@@ -1155,7 +1155,7 @@ 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;
|
|
@@ -1199,7 +1199,7 @@ 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;
|
|
@@ -1552,7 +1552,7 @@ 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;
|
|
@@ -1596,7 +1596,7 @@ 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;
|
|
@@ -1640,7 +1640,7 @@ 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;
|
|
@@ -1684,7 +1684,7 @@ 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;
|
|
@@ -1728,7 +1728,7 @@ 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;
|
|
@@ -1772,7 +1772,7 @@ 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;
|
|
@@ -2126,7 +2126,7 @@ 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;
|
|
@@ -2779,7 +2779,7 @@ 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;
|
|
@@ -2801,7 +2801,7 @@ 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;
|
|
@@ -2845,7 +2845,7 @@ 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;
|
|
@@ -2889,7 +2889,7 @@ 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;
|
|
@@ -2934,7 +2934,7 @@ 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;
|
|
@@ -3952,7 +3952,7 @@ 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;
|
|
@@ -3975,10 +3975,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3975
3975
|
output: {
|
|
3976
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,10 +4007,9 @@ 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
|
-
}[];
|
|
4010
|
+
firstname: string;
|
|
4011
|
+
surname: string;
|
|
4012
|
+
};
|
|
4015
4013
|
role: string;
|
|
4016
4014
|
primaryOfficeId: string;
|
|
4017
4015
|
data?: Record<string, unknown> | undefined;
|
|
@@ -4020,6 +4018,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4020
4018
|
email?: string | undefined;
|
|
4021
4019
|
mobile?: string | undefined;
|
|
4022
4020
|
username?: undefined;
|
|
4021
|
+
password?: undefined;
|
|
4023
4022
|
signature?: {
|
|
4024
4023
|
path: string;
|
|
4025
4024
|
originalFilename: string;
|
|
@@ -4029,10 +4028,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4029
4028
|
output: {
|
|
4030
4029
|
id: string & import("zod").$brand<"UUID">;
|
|
4031
4030
|
name: {
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
}[];
|
|
4031
|
+
firstname: string;
|
|
4032
|
+
surname: string;
|
|
4033
|
+
};
|
|
4036
4034
|
role: string;
|
|
4037
4035
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4038
4036
|
type: "user";
|
|
@@ -4053,10 +4051,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4053
4051
|
id: string;
|
|
4054
4052
|
data?: Record<string, unknown> | undefined;
|
|
4055
4053
|
name?: {
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
}[] | undefined;
|
|
4054
|
+
firstname: string;
|
|
4055
|
+
surname: string;
|
|
4056
|
+
} | undefined;
|
|
4060
4057
|
role?: string | undefined;
|
|
4061
4058
|
fullHonorificName?: string | undefined;
|
|
4062
4059
|
device?: string | undefined;
|
|
@@ -4069,16 +4066,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4069
4066
|
type: string;
|
|
4070
4067
|
} | undefined;
|
|
4071
4068
|
status?: "active" | "deactivated" | undefined;
|
|
4072
|
-
} & {
|
|
4073
|
-
id: string;
|
|
4074
4069
|
};
|
|
4075
4070
|
output: {
|
|
4076
4071
|
id: string & import("zod").$brand<"UUID">;
|
|
4077
4072
|
name: {
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
}[];
|
|
4073
|
+
firstname: string;
|
|
4074
|
+
surname: string;
|
|
4075
|
+
};
|
|
4082
4076
|
role: string;
|
|
4083
4077
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4084
4078
|
type: "user";
|
|
@@ -4099,10 +4093,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4099
4093
|
output: ({
|
|
4100
4094
|
id: string & import("zod").$brand<"UUID">;
|
|
4101
4095
|
name: {
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
}[];
|
|
4096
|
+
firstname: string;
|
|
4097
|
+
surname: string;
|
|
4098
|
+
};
|
|
4106
4099
|
role: string;
|
|
4107
4100
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4108
4101
|
type: "user";
|
|
@@ -4116,7 +4109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4116
4109
|
email?: string | undefined;
|
|
4117
4110
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4118
4111
|
} | {
|
|
4119
|
-
id: string
|
|
4112
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4120
4113
|
name: string;
|
|
4121
4114
|
type: "system";
|
|
4122
4115
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4144,10 +4137,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4144
4137
|
output: ({
|
|
4145
4138
|
id: string & import("zod").$brand<"UUID">;
|
|
4146
4139
|
name: {
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
}[];
|
|
4140
|
+
firstname: string;
|
|
4141
|
+
surname: string;
|
|
4142
|
+
};
|
|
4151
4143
|
role: string;
|
|
4152
4144
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4153
4145
|
type: "user";
|
|
@@ -4161,7 +4153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4161
4153
|
email?: string | undefined;
|
|
4162
4154
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4163
4155
|
} | {
|
|
4164
|
-
id: string
|
|
4156
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4165
4157
|
name: string;
|
|
4166
4158
|
type: "system";
|
|
4167
4159
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4216,7 +4208,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4216
4208
|
ctx: Partial<{
|
|
4217
4209
|
token: `Bearer ${string}`;
|
|
4218
4210
|
user: {
|
|
4219
|
-
id: string
|
|
4211
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4220
4212
|
type: "system";
|
|
4221
4213
|
signature?: undefined;
|
|
4222
4214
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4283,14 +4275,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4283
4275
|
changeAvatar: import("@trpc/server").TRPCMutationProcedure<{
|
|
4284
4276
|
input: {
|
|
4285
4277
|
userId: string;
|
|
4286
|
-
avatar:
|
|
4287
|
-
type: string;
|
|
4288
|
-
data: string;
|
|
4289
|
-
};
|
|
4278
|
+
avatar: string;
|
|
4290
4279
|
};
|
|
4291
4280
|
output: void;
|
|
4292
4281
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4293
4282
|
}>;
|
|
4283
|
+
resendInvite: import("@trpc/server").TRPCMutationProcedure<{
|
|
4284
|
+
input: string;
|
|
4285
|
+
output: void;
|
|
4286
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4287
|
+
}>;
|
|
4294
4288
|
activate: import("@trpc/server").TRPCMutationProcedure<{
|
|
4295
4289
|
input: {
|
|
4296
4290
|
userId: string;
|
|
@@ -4308,11 +4302,28 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4308
4302
|
output: void;
|
|
4309
4303
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4310
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;
|
|
@@ -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,7 +4616,7 @@ 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;
|
|
@@ -4678,7 +4689,7 @@ 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;
|
|
@@ -4700,7 +4711,7 @@ 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;
|
|
@@ -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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
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" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4993
5004
|
$location?: string | undefined;
|
|
4994
5005
|
};
|
|
4995
5006
|
} | undefined;
|
|
@@ -5040,7 +5051,7 @@ 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;
|
|
@@ -5088,7 +5099,7 @@ 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;
|
|
@@ -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,7 +5217,7 @@ 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;
|
|
@@ -5241,7 +5252,7 @@ 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;
|