@opencrvs/toolkit 2.0.0-rc.d846143 → 2.0.0-rc.daa49cf
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 +39 -11
- package/dist/cli.js +1418 -149
- package/dist/commons/api/router.d.ts +69 -61
- package/dist/commons/application-config/index.d.ts +16 -4
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/locations.d.ts +17 -1
- package/dist/conditionals/index.js +35 -7
- package/dist/events/index.js +73 -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 +35 -7
- package/dist/scopes/index.d.ts +82 -10
- package/dist/scopes/index.js +41 -8
- package/opencrvs-toolkit-2.0.0-rc.daa49cf.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.d846143.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;
|
|
@@ -3991,7 +3991,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3991
3991
|
email?: string | undefined;
|
|
3992
3992
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
3993
3993
|
} | {
|
|
3994
|
-
id: string
|
|
3994
|
+
id: string & import("zod").$brand<"UUID">;
|
|
3995
3995
|
name: string;
|
|
3996
3996
|
type: "system";
|
|
3997
3997
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4018,6 +4018,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4018
4018
|
email?: string | undefined;
|
|
4019
4019
|
mobile?: string | undefined;
|
|
4020
4020
|
username?: undefined;
|
|
4021
|
+
password?: undefined;
|
|
4021
4022
|
signature?: {
|
|
4022
4023
|
path: string;
|
|
4023
4024
|
originalFilename: string;
|
|
@@ -4065,8 +4066,6 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4065
4066
|
type: string;
|
|
4066
4067
|
} | undefined;
|
|
4067
4068
|
status?: "active" | "deactivated" | undefined;
|
|
4068
|
-
} & {
|
|
4069
|
-
id: string;
|
|
4070
4069
|
};
|
|
4071
4070
|
output: {
|
|
4072
4071
|
id: string & import("zod").$brand<"UUID">;
|
|
@@ -4110,7 +4109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4110
4109
|
email?: string | undefined;
|
|
4111
4110
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4112
4111
|
} | {
|
|
4113
|
-
id: string
|
|
4112
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4114
4113
|
name: string;
|
|
4115
4114
|
type: "system";
|
|
4116
4115
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4154,7 +4153,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4154
4153
|
email?: string | undefined;
|
|
4155
4154
|
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4156
4155
|
} | {
|
|
4157
|
-
id: string
|
|
4156
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4158
4157
|
name: string;
|
|
4159
4158
|
type: "system";
|
|
4160
4159
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4209,7 +4208,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4209
4208
|
ctx: Partial<{
|
|
4210
4209
|
token: `Bearer ${string}`;
|
|
4211
4210
|
user: {
|
|
4212
|
-
id: string
|
|
4211
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4213
4212
|
type: "system";
|
|
4214
4213
|
signature?: undefined;
|
|
4215
4214
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4276,10 +4275,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4276
4275
|
changeAvatar: import("@trpc/server").TRPCMutationProcedure<{
|
|
4277
4276
|
input: {
|
|
4278
4277
|
userId: string;
|
|
4279
|
-
avatar:
|
|
4280
|
-
type: string;
|
|
4281
|
-
data: string;
|
|
4282
|
-
};
|
|
4278
|
+
avatar: string;
|
|
4283
4279
|
};
|
|
4284
4280
|
output: void;
|
|
4285
4281
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
@@ -4311,11 +4307,23 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4311
4307
|
output: void;
|
|
4312
4308
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4313
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
|
+
}>;
|
|
4314
4322
|
audit: import("@trpc/server").TRPCBuiltRouter<{
|
|
4315
4323
|
ctx: Partial<{
|
|
4316
4324
|
token: `Bearer ${string}`;
|
|
4317
4325
|
user: {
|
|
4318
|
-
id: string
|
|
4326
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4319
4327
|
type: "system";
|
|
4320
4328
|
signature?: undefined;
|
|
4321
4329
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4608,7 +4616,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4608
4616
|
ctx: Partial<{
|
|
4609
4617
|
token: `Bearer ${string}`;
|
|
4610
4618
|
user: {
|
|
4611
|
-
id: string
|
|
4619
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4612
4620
|
type: "system";
|
|
4613
4621
|
signature?: undefined;
|
|
4614
4622
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4681,7 +4689,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4681
4689
|
ctx: Partial<{
|
|
4682
4690
|
token: `Bearer ${string}`;
|
|
4683
4691
|
user: {
|
|
4684
|
-
id: string
|
|
4692
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4685
4693
|
type: "system";
|
|
4686
4694
|
signature?: undefined;
|
|
4687
4695
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4703,7 +4711,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4703
4711
|
ctx: Partial<{
|
|
4704
4712
|
token: `Bearer ${string}`;
|
|
4705
4713
|
user: {
|
|
4706
|
-
id: string
|
|
4714
|
+
id: string & import("zod").$brand<"UUID">;
|
|
4707
4715
|
type: "system";
|
|
4708
4716
|
signature?: undefined;
|
|
4709
4717
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -4766,7 +4774,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4766
4774
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4767
4775
|
type: "within";
|
|
4768
4776
|
location: string | {
|
|
4769
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4777
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4770
4778
|
$location?: string | undefined;
|
|
4771
4779
|
};
|
|
4772
4780
|
} | undefined;
|
|
@@ -4788,7 +4796,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4788
4796
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4789
4797
|
type: "within";
|
|
4790
4798
|
location: string | {
|
|
4791
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4799
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4792
4800
|
$location?: string | undefined;
|
|
4793
4801
|
};
|
|
4794
4802
|
} | undefined;
|
|
@@ -4803,47 +4811,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4803
4811
|
createdAtLocation?: {
|
|
4804
4812
|
type: "within";
|
|
4805
4813
|
location: string | {
|
|
4806
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4814
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4807
4815
|
$location?: string | undefined;
|
|
4808
4816
|
};
|
|
4809
4817
|
} | {
|
|
4810
4818
|
type: "exact";
|
|
4811
4819
|
term: string | {
|
|
4812
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4820
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4813
4821
|
$location?: string | undefined;
|
|
4814
4822
|
};
|
|
4815
4823
|
} | undefined;
|
|
4816
4824
|
updatedAtLocation?: {
|
|
4817
4825
|
type: "within";
|
|
4818
4826
|
location: string | {
|
|
4819
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4827
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4820
4828
|
$location?: string | undefined;
|
|
4821
4829
|
};
|
|
4822
4830
|
} | {
|
|
4823
4831
|
type: "exact";
|
|
4824
4832
|
term: string | {
|
|
4825
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4833
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4826
4834
|
$location?: string | undefined;
|
|
4827
4835
|
};
|
|
4828
4836
|
} | undefined;
|
|
4829
4837
|
updatedByUserRole?: {
|
|
4830
4838
|
type: "exact";
|
|
4831
4839
|
term: string | {
|
|
4832
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4840
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4833
4841
|
$location?: string | undefined;
|
|
4834
4842
|
};
|
|
4835
4843
|
} | undefined;
|
|
4836
4844
|
assignedTo?: {
|
|
4837
4845
|
type: "exact";
|
|
4838
4846
|
term: string | {
|
|
4839
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4847
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4840
4848
|
$location?: string | undefined;
|
|
4841
4849
|
};
|
|
4842
4850
|
} | undefined;
|
|
4843
4851
|
createdBy?: {
|
|
4844
4852
|
type: "exact";
|
|
4845
4853
|
term: string | {
|
|
4846
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4854
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4847
4855
|
$location?: string | undefined;
|
|
4848
4856
|
};
|
|
4849
4857
|
} | undefined;
|
|
@@ -4854,7 +4862,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4854
4862
|
updatedBy?: {
|
|
4855
4863
|
type: "exact";
|
|
4856
4864
|
term: string | {
|
|
4857
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4865
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4858
4866
|
$location?: string | undefined;
|
|
4859
4867
|
};
|
|
4860
4868
|
} | undefined;
|
|
@@ -4904,7 +4912,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4904
4912
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4905
4913
|
type: "within";
|
|
4906
4914
|
location: string | {
|
|
4907
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4915
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4908
4916
|
$location?: string | undefined;
|
|
4909
4917
|
};
|
|
4910
4918
|
} | undefined;
|
|
@@ -4926,7 +4934,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4926
4934
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4927
4935
|
type: "within";
|
|
4928
4936
|
location: string | {
|
|
4929
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4937
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4930
4938
|
$location?: string | undefined;
|
|
4931
4939
|
};
|
|
4932
4940
|
} | undefined;
|
|
@@ -4941,47 +4949,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4941
4949
|
createdAtLocation?: {
|
|
4942
4950
|
type: "within";
|
|
4943
4951
|
location: string | {
|
|
4944
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4952
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4945
4953
|
$location?: string | undefined;
|
|
4946
4954
|
};
|
|
4947
4955
|
} | {
|
|
4948
4956
|
type: "exact";
|
|
4949
4957
|
term: string | {
|
|
4950
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4958
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4951
4959
|
$location?: string | undefined;
|
|
4952
4960
|
};
|
|
4953
4961
|
} | undefined;
|
|
4954
4962
|
updatedAtLocation?: {
|
|
4955
4963
|
type: "within";
|
|
4956
4964
|
location: string | {
|
|
4957
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4965
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4958
4966
|
$location?: string | undefined;
|
|
4959
4967
|
};
|
|
4960
4968
|
} | {
|
|
4961
4969
|
type: "exact";
|
|
4962
4970
|
term: string | {
|
|
4963
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4971
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4964
4972
|
$location?: string | undefined;
|
|
4965
4973
|
};
|
|
4966
4974
|
} | undefined;
|
|
4967
4975
|
updatedByUserRole?: {
|
|
4968
4976
|
type: "exact";
|
|
4969
4977
|
term: string | {
|
|
4970
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4978
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4971
4979
|
$location?: string | undefined;
|
|
4972
4980
|
};
|
|
4973
4981
|
} | undefined;
|
|
4974
4982
|
assignedTo?: {
|
|
4975
4983
|
type: "exact";
|
|
4976
4984
|
term: string | {
|
|
4977
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4985
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4978
4986
|
$location?: string | undefined;
|
|
4979
4987
|
};
|
|
4980
4988
|
} | undefined;
|
|
4981
4989
|
createdBy?: {
|
|
4982
4990
|
type: "exact";
|
|
4983
4991
|
term: string | {
|
|
4984
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4992
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4985
4993
|
$location?: string | undefined;
|
|
4986
4994
|
};
|
|
4987
4995
|
} | undefined;
|
|
@@ -4992,7 +5000,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4992
5000
|
updatedBy?: {
|
|
4993
5001
|
type: "exact";
|
|
4994
5002
|
term: string | {
|
|
4995
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
5003
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "middlename" | "signature" | "avatar" | "primaryOfficeId";
|
|
4996
5004
|
$location?: string | undefined;
|
|
4997
5005
|
};
|
|
4998
5006
|
} | undefined;
|
|
@@ -5043,7 +5051,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5043
5051
|
ctx: Partial<{
|
|
5044
5052
|
token: `Bearer ${string}`;
|
|
5045
5053
|
user: {
|
|
5046
|
-
id: string
|
|
5054
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5047
5055
|
type: "system";
|
|
5048
5056
|
signature?: undefined;
|
|
5049
5057
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5091,7 +5099,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5091
5099
|
ctx: Partial<{
|
|
5092
5100
|
token: `Bearer ${string}`;
|
|
5093
5101
|
user: {
|
|
5094
|
-
id: string
|
|
5102
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5095
5103
|
type: "system";
|
|
5096
5104
|
signature?: undefined;
|
|
5097
5105
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5143,7 +5151,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5143
5151
|
scopes: string[];
|
|
5144
5152
|
status: string;
|
|
5145
5153
|
createdAt: string;
|
|
5146
|
-
createdBy: string
|
|
5154
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5147
5155
|
}[];
|
|
5148
5156
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5149
5157
|
}>;
|
|
@@ -5158,7 +5166,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5158
5166
|
status: string;
|
|
5159
5167
|
shaSecret: string | null;
|
|
5160
5168
|
createdAt: string;
|
|
5161
|
-
createdBy: string
|
|
5169
|
+
createdBy: string & import("zod").$brand<"UUID">;
|
|
5162
5170
|
};
|
|
5163
5171
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
5164
5172
|
}>;
|
|
@@ -5209,7 +5217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5209
5217
|
ctx: Partial<{
|
|
5210
5218
|
token: `Bearer ${string}`;
|
|
5211
5219
|
user: {
|
|
5212
|
-
id: string
|
|
5220
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5213
5221
|
type: "system";
|
|
5214
5222
|
signature?: undefined;
|
|
5215
5223
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -5244,7 +5252,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5244
5252
|
ctx: Partial<{
|
|
5245
5253
|
token: `Bearer ${string}`;
|
|
5246
5254
|
user: {
|
|
5247
|
-
id: string
|
|
5255
|
+
id: string & import("zod").$brand<"UUID">;
|
|
5248
5256
|
type: "system";
|
|
5249
5257
|
signature?: undefined;
|
|
5250
5258
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
@@ -24,8 +24,14 @@ export declare const ApplicationConfig: z.ZodObject<{
|
|
|
24
24
|
label: z.ZodObject<import("./events/TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
25
25
|
}, z.core.$strip>>;
|
|
26
26
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
27
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
28
|
-
|
|
27
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
28
|
+
email: "email";
|
|
29
|
+
sms: "sms";
|
|
30
|
+
}>;
|
|
31
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
32
|
+
email: "email";
|
|
33
|
+
sms: "sms";
|
|
34
|
+
}>;
|
|
29
35
|
SEARCH_DEFAULT_CRITERIA: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
30
36
|
NAME: "NAME";
|
|
31
37
|
EMAIL: "EMAIL";
|
|
@@ -46,8 +52,14 @@ export declare const BackgroundConfig: z.ZodObject<{
|
|
|
46
52
|
export declare const LoginConfig: z.ZodObject<{
|
|
47
53
|
COUNTRY: z.ZodString;
|
|
48
54
|
LANGUAGES: z.ZodArray<z.ZodString>;
|
|
49
|
-
USER_NOTIFICATION_DELIVERY_METHOD: z.
|
|
50
|
-
|
|
55
|
+
USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
56
|
+
email: "email";
|
|
57
|
+
sms: "sms";
|
|
58
|
+
}>;
|
|
59
|
+
INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
|
|
60
|
+
email: "email";
|
|
61
|
+
sms: "sms";
|
|
62
|
+
}>;
|
|
51
63
|
PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
|
|
52
64
|
LOGIN_BACKGROUND: z.ZodObject<{
|
|
53
65
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
@@ -87,16 +87,16 @@ export declare const user: typeof userSerializer & {
|
|
|
87
87
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
88
88
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
89
89
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
90
|
-
$option: "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
90
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
94
94
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
95
|
-
$option: "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
95
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
96
96
|
}) => {
|
|
97
97
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
98
98
|
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
99
|
-
$option: "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
99
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
};
|
|
@@ -1727,6 +1727,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1727
1727
|
"dashboard.view": "dashboard.view";
|
|
1728
1728
|
}>;
|
|
1729
1729
|
$option: z.ZodEnum<{
|
|
1730
|
+
role: "role";
|
|
1730
1731
|
event: "event";
|
|
1731
1732
|
placeOfEvent: "placeOfEvent";
|
|
1732
1733
|
declaredIn: "declaredIn";
|
|
@@ -1845,6 +1846,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1845
1846
|
"dashboard.view": "dashboard.view";
|
|
1846
1847
|
}>;
|
|
1847
1848
|
$option: z.ZodEnum<{
|
|
1849
|
+
role: "role";
|
|
1848
1850
|
event: "event";
|
|
1849
1851
|
placeOfEvent: "placeOfEvent";
|
|
1850
1852
|
declaredIn: "declaredIn";
|
|
@@ -2028,6 +2030,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2028
2030
|
"dashboard.view": "dashboard.view";
|
|
2029
2031
|
}>;
|
|
2030
2032
|
$option: z.ZodEnum<{
|
|
2033
|
+
role: "role";
|
|
2031
2034
|
event: "event";
|
|
2032
2035
|
placeOfEvent: "placeOfEvent";
|
|
2033
2036
|
declaredIn: "declaredIn";
|
|
@@ -2132,6 +2135,7 @@ declare const Office: z.ZodObject<{
|
|
|
2132
2135
|
"dashboard.view": "dashboard.view";
|
|
2133
2136
|
}>;
|
|
2134
2137
|
$option: z.ZodEnum<{
|
|
2138
|
+
role: "role";
|
|
2135
2139
|
event: "event";
|
|
2136
2140
|
placeOfEvent: "placeOfEvent";
|
|
2137
2141
|
declaredIn: "declaredIn";
|
|
@@ -2323,6 +2327,7 @@ declare const Address: z.ZodObject<{
|
|
|
2323
2327
|
"dashboard.view": "dashboard.view";
|
|
2324
2328
|
}>;
|
|
2325
2329
|
$option: z.ZodEnum<{
|
|
2330
|
+
role: "role";
|
|
2326
2331
|
event: "event";
|
|
2327
2332
|
placeOfEvent: "placeOfEvent";
|
|
2328
2333
|
declaredIn: "declaredIn";
|